mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
fix: Set '@typescript-eslint/return-await' rule to 'always' for node code (no-changelog) (#8363)
Co-authored-by: कारतोफ्फेलस्क्रिप्ट™ <aditya@netroy.in>
This commit is contained in:
@@ -62,49 +62,49 @@ export class MicrosoftDynamicsCrm implements INodeType {
|
||||
methods = {
|
||||
loadOptions: {
|
||||
async getAccountCategories(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
return getPicklistOptions.call(this, 'account', 'accountcategorycode');
|
||||
return await getPicklistOptions.call(this, 'account', 'accountcategorycode');
|
||||
},
|
||||
async getAccountRatingCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
return getPicklistOptions.call(this, 'account', 'accountratingcode');
|
||||
return await getPicklistOptions.call(this, 'account', 'accountratingcode');
|
||||
},
|
||||
async getAddressTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
return getPicklistOptions.call(this, 'account', 'address1_addresstypecode');
|
||||
return await getPicklistOptions.call(this, 'account', 'address1_addresstypecode');
|
||||
},
|
||||
async getBusinessTypes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
return getPicklistOptions.call(this, 'account', 'businesstypecode');
|
||||
return await getPicklistOptions.call(this, 'account', 'businesstypecode');
|
||||
},
|
||||
async getCustomerSizeCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
return getPicklistOptions.call(this, 'account', 'customersizecode');
|
||||
return await getPicklistOptions.call(this, 'account', 'customersizecode');
|
||||
},
|
||||
async getCustomerTypeCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
return getPicklistOptions.call(this, 'account', 'customertypecode');
|
||||
return await getPicklistOptions.call(this, 'account', 'customertypecode');
|
||||
},
|
||||
async getIndustryCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
return getPicklistOptions.call(this, 'account', 'industrycode');
|
||||
return await getPicklistOptions.call(this, 'account', 'industrycode');
|
||||
},
|
||||
async getPaymentTermsCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
return getPicklistOptions.call(this, 'account', 'paymenttermscode');
|
||||
return await getPicklistOptions.call(this, 'account', 'paymenttermscode');
|
||||
},
|
||||
async getPreferredAppointmentDayCodes(
|
||||
this: ILoadOptionsFunctions,
|
||||
): Promise<INodePropertyOptions[]> {
|
||||
return getPicklistOptions.call(this, 'account', 'preferredappointmentdaycode');
|
||||
return await getPicklistOptions.call(this, 'account', 'preferredappointmentdaycode');
|
||||
},
|
||||
async getPreferredAppointmentTimeCodes(
|
||||
this: ILoadOptionsFunctions,
|
||||
): Promise<INodePropertyOptions[]> {
|
||||
return getPicklistOptions.call(this, 'account', 'preferredappointmenttimecode');
|
||||
return await getPicklistOptions.call(this, 'account', 'preferredappointmenttimecode');
|
||||
},
|
||||
async getPreferredContactMethodCodes(
|
||||
this: ILoadOptionsFunctions,
|
||||
): Promise<INodePropertyOptions[]> {
|
||||
return getPicklistOptions.call(this, 'account', 'preferredcontactmethodcode');
|
||||
return await getPicklistOptions.call(this, 'account', 'preferredcontactmethodcode');
|
||||
},
|
||||
async getShippingMethodCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
return getPicklistOptions.call(this, 'account', 'shippingmethodcode');
|
||||
return await getPicklistOptions.call(this, 'account', 'shippingmethodcode');
|
||||
},
|
||||
async getTerritoryCodes(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
return getPicklistOptions.call(this, 'account', 'territorycode');
|
||||
return await getPicklistOptions.call(this, 'account', 'territorycode');
|
||||
},
|
||||
async getAccountFields(this: ILoadOptionsFunctions): Promise<INodePropertyOptions[]> {
|
||||
const fields = await getEntityFields.call(this, 'account');
|
||||
|
||||
Reference in New Issue
Block a user