/** * Microsoft Outlook Node - Version 2 * Discriminator: resource=contact, operation=create */ interface Credentials { microsoftOutlookOAuth2Api: CredentialReference; } /** Create a new calendar */ export type MicrosoftOutlookV2ContactCreateParams = { resource: 'contact'; operation: 'create'; /** * First Name */ givenName?: string | Expression | PlaceholderValue; /** * Last Name */ surname?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** The name of the contact's assistant */ assistantName?: string | Expression | PlaceholderValue; /** Birthday */ birthday?: string | Expression; /** Business Address * @default {"values":{"sity":"","street":"","postalCode":"","countryOrRegion":"","state":""}} */ businessAddress?: { /** Address */ values?: { /** City */ city?: string | Expression | PlaceholderValue; /** Country/Region */ countryOrRegion?: string | Expression | PlaceholderValue; /** Postal Code */ postalCode?: string | Expression | PlaceholderValue; /** State */ state?: string | Expression | PlaceholderValue; /** Street */ street?: string | Expression | PlaceholderValue; }; }; /** Business Home Page */ businessHomePage?: string | Expression | PlaceholderValue; /** Comma-separated list of business phone numbers */ businessPhones?: string | Expression | PlaceholderValue; /** Comma-separated list of categories associated with the contact */ categories?: string | Expression | PlaceholderValue; /** Comma-separated list of names of the contact's children */ children?: string | Expression | PlaceholderValue; /** Company Name */ companyName?: string | Expression | PlaceholderValue; /** Department */ department?: string | Expression | PlaceholderValue; /** Display Name */ displayName?: string | Expression | PlaceholderValue; /** Email Address * @default {} */ emailAddresses?: { /** Email */ values?: Array<{ /** Name */ name?: string | Expression | PlaceholderValue; /** Address */ address?: string | Expression | PlaceholderValue; }>; }; /** The name the contact is filed under */ fileAs?: string | Expression | PlaceholderValue; /** Home Address * @default {"values":{"sity":"","street":"","postalCode":"","countryOrRegion":"","state":""}} */ homeAddress?: { /** Address */ values?: { /** City */ city?: string | Expression | PlaceholderValue; /** Country/Region */ countryOrRegion?: string | Expression | PlaceholderValue; /** Postal Code */ postalCode?: string | Expression | PlaceholderValue; /** State */ state?: string | Expression | PlaceholderValue; /** Street */ street?: string | Expression | PlaceholderValue; }; }; /** Home Phones * @hint Multiple phones can be added separated by , */ homePhones?: string | Expression | PlaceholderValue; /** The contact's instant messaging (IM) addresses * @hint Multiple addresses can be added separated by , */ imAddresses?: string | Expression | PlaceholderValue; /** Initials */ initials?: string | Expression | PlaceholderValue; /** Job Title */ jobTitle?: string | Expression | PlaceholderValue; /** The name of the contact's manager */ manager?: string | Expression | PlaceholderValue; /** Middle Name */ middleName?: string | Expression | PlaceholderValue; /** Mobile Phone */ mobilePhone?: string | Expression | PlaceholderValue; /** Name * @displayOptions.show { /operation: ["update"] } */ givenName?: string | Expression | PlaceholderValue; /** Nickname */ nickName?: string | Expression | PlaceholderValue; /** Office Location */ officeLocation?: string | Expression | PlaceholderValue; /** Other Address * @default {"values":{"sity":"","street":"","postalCode":"","countryOrRegion":"","state":""}} */ otherAddress?: { /** Address */ values?: { /** City */ city?: string | Expression | PlaceholderValue; /** Country/Region */ countryOrRegion?: string | Expression | PlaceholderValue; /** Postal Code */ postalCode?: string | Expression | PlaceholderValue; /** State */ state?: string | Expression | PlaceholderValue; /** Street */ street?: string | Expression | PlaceholderValue; }; }; /** Personal Notes */ personalNotes?: string | Expression | PlaceholderValue; /** Profession */ profession?: string | Expression | PlaceholderValue; /** Spouse Name */ spouseName?: string | Expression | PlaceholderValue; /** Surname */ surname?: string | Expression | PlaceholderValue; /** Title */ title?: string | Expression | PlaceholderValue; }; }; export type MicrosoftOutlookV2ContactCreateOutput = { '@odata.context'?: string; '@odata.etag'?: string; businessPhones?: Array; changeKey?: string; createdDateTime?: string; displayName?: string; emailAddresses?: Array<{ address?: string; name?: string; }>; fileAs?: string; generation?: null; homePhones?: Array; id?: string; initials?: null; lastModifiedDateTime?: string; middleName?: null; nickName?: null; parentFolderId?: string; personalNotes?: string; profession?: null; spouseName?: null; yomiCompanyName?: null; yomiGivenName?: null; yomiSurname?: null; }; export type MicrosoftOutlookV2ContactCreateNode = { type: 'n8n-nodes-base.microsoftOutlook'; version: 2; credentials?: Credentials; config: NodeConfig; output?: Items; };