n8n-nodes-base
Version:
Base nodes of n8n
89 lines (85 loc) • 2.24 kB
text/typescript
/**
* SyncroMSP Node - Version 1
* Discriminator: resource=customer, operation=create
*/
interface Credentials {
syncroMspApi: CredentialReference;
}
/** Create new customer */
export type SyncroMspV1CustomerCreateParams = {
resource: 'customer';
operation: 'create';
/**
* Email
*/
email?: string | Expression<string> | PlaceholderValue;
/**
* Additional Fields
* @default {}
*/
additionalFields?: {
/** Address
* @default {}
*/
address?: {
/** Address Fields
*/
addressFields?: {
/** Line 1
*/
address?: string | Expression<string> | PlaceholderValue;
/** Line 2
*/
address2?: string | Expression<string> | PlaceholderValue;
/** City
*/
city?: string | Expression<string> | PlaceholderValue;
/** State
*/
state?: string | Expression<string> | PlaceholderValue;
/** ZIP
*/
zip?: string | Expression<string> | PlaceholderValue;
};
};
/** Business Name
*/
businessName?: string | Expression<string> | PlaceholderValue;
/** First Name
*/
firstName?: string | Expression<string> | PlaceholderValue;
/** Get SMS
* @default false
*/
getSms?: boolean | Expression<boolean>;
/** Invoice Emails
*/
invoiceCcEmails?: string | Expression<string> | PlaceholderValue;
/** Last Name
*/
lastname?: string | Expression<string> | PlaceholderValue;
/** No Email
* @default false
*/
noEmail?: boolean | Expression<boolean>;
/** Notes
*/
notes?: string | Expression<string> | PlaceholderValue;
/** Notification Email
* @displayOptions.show { noEmail: [false] }
*/
notificationEmail?: string | Expression<string> | PlaceholderValue;
/** Phone
*/
phone?: string | Expression<string> | PlaceholderValue;
/** Source from which customer is referred to the platform like Linkedin, Google, Customer name etc
*/
referredBy?: string | Expression<string> | PlaceholderValue;
};
};
export type SyncroMspV1CustomerCreateNode = {
type: 'n8n-nodes-base.syncroMsp';
version: 1;
credentials?: Credentials;
config: NodeConfig<SyncroMspV1CustomerCreateParams>;
};