/** * Google Business Profile Node - Version 1 * Discriminator: resource=post, operation=create */ interface Credentials { googleBusinessProfileOAuth2Api: CredentialReference; } /** Create a new post on Google Business Profile */ export type GoogleBusinessProfileV1PostCreateParams = { resource: 'post'; operation: 'create'; /** * The Google Business Profile account * @default {"mode":"list","value":""} */ account?: { __rl: true; mode: 'list' | 'name'; value: string; cachedResultName?: string }; /** * The specific location or business associated with the account * @default {"mode":"list","value":""} */ location?: { __rl: true; mode: 'list' | 'name'; value: string; cachedResultName?: string }; /** * The type of post to create (standard, event, offer, or alert) * @default STANDARD */ postType?: 'STANDARD' | 'EVENT' | 'OFFER' | 'ALERT' | Expression; /** * The main text of the post */ summary?: string | Expression | PlaceholderValue; /** * E.g. Sales this week. * @displayOptions.show { postType: ["EVENT"] } */ title?: string | Expression | PlaceholderValue; /** * The start date and time of the event * @displayOptions.show { postType: ["EVENT"] } */ startDateTime?: string | Expression; /** * The end date and time of the event * @displayOptions.show { postType: ["EVENT"] } */ endDateTime?: string | Expression; /** * The start date of the offer * @displayOptions.show { postType: ["OFFER"] } */ startDate?: string | Expression | PlaceholderValue; /** * The end date of the offer * @displayOptions.show { postType: ["OFFER"] } */ endDate?: string | Expression | PlaceholderValue; /** * The sub-type of the alert * @displayOptions.show { postType: ["ALERT"] } * @default COVID_19 */ alertType?: 'COVID_19' | Expression; /** * Options * @default {} */ additionalOptions?: { /** The language code of the post content. <a href="https://cloud.google.com/translate/docs/languages" target="_blank">More info</a>. */ languageCode?: string | Expression | PlaceholderValue; /** The type of call to action * @displayOptions.show { /postType: ["STANDARD", "EVENT", "ALERT"] } * @default ACTION_TYPE_UNSPECIFIED */ callToActionType?: 'ACTION_TYPE_UNSPECIFIED' | 'BOOK' | 'CALL' | 'LEARN_MORE' | 'ORDER' | 'SHOP' | 'SIGN_UP' | Expression; /** The URL that users are sent to when clicking through the promotion * @displayOptions.show { /postType: ["STANDARD", "EVENT", "ALERT"] } */ url?: string | Expression | PlaceholderValue; /** The coupon code for the offer * @displayOptions.show { /postType: ["OFFER"] } */ couponCode?: string | Expression | PlaceholderValue; /** Link to redeem the offer * @displayOptions.show { /postType: ["OFFER"] } */ redeemOnlineUrl?: string | Expression | PlaceholderValue; /** The terms and conditions of the offer * @displayOptions.show { /postType: ["OFFER"] } */ termsConditions?: string | Expression | PlaceholderValue; }; requestOptions?: { /** Batching * @default {"batch":{}} */ batching?: { /** Batching */ batch?: { /** Input will be split in batches to throttle requests. -1 for disabled. 0 will be treated as 1. * @default 50 */ batchSize?: number | Expression; /** Time (in milliseconds) between each batch of requests. 0 for disabled. * @default 1000 */ batchInterval?: number | Expression; }; }; /** Whether to accept the response even if SSL certificate validation is not possible * @default false */ allowUnauthorizedCerts?: boolean; /** HTTP proxy to use. If authentication is required it can be defined as follow: http://username:password@myproxy:3128 */ proxy?: string | Expression | PlaceholderValue; /** Time in ms to wait for the server to send response headers (and start the response body) before aborting the request * @default 10000 */ timeout?: number | Expression; }; }; export type GoogleBusinessProfileV1PostCreateNode = { type: 'n8n-nodes-base.googleBusinessProfile'; version: 1; credentials?: Credentials; config: NodeConfig; };