/** * Vonage Node - Version 1 * Discriminator: resource=sms, operation=send */ interface Credentials { vonageApi: CredentialReference; } export type VonageV1SmsSendParams = { resource: 'sms'; operation: 'send'; /** * The name or number the message should be sent from */ from?: string | Expression | PlaceholderValue; /** * The number that the message should be sent to. Numbers are specified in E.164 format. */ to?: string | Expression | PlaceholderValue; /** * The body of the message being sent */ message?: string | Expression | PlaceholderValue; /** * Additional Fields * @default {} */ additionalFields?: { /** An optional string used to identify separate accounts using the SMS endpoint for billing purposes. To use this feature, please email support@nexmo.com. */ 'account-ref'?: string | Expression | PlaceholderValue; /** The webhook endpoint the delivery receipt for this sms is sent to. This parameter overrides the webhook endpoint you set in Dashboard. */ callback?: string | Expression | PlaceholderValue; /** You can optionally include your own reference of up to 40 characters */ 'client-ref'?: string | Expression | PlaceholderValue; /** The Data Coding Scheme value of the message */ 'message-class'?: 0 | 1 | 2 | 3 | Expression; /** The value of the protocol identifier to use. Ensure that the value is aligned with udh. */ 'protocol-id'?: string | Expression | PlaceholderValue; /** Whether to receive a Delivery Receipt * @default false */ 'status-report-req'?: boolean | Expression; /** By default Nexmo attempt delivery for 72 hours * @default 4320 */ ttl?: number | Expression; }; }; export type VonageV1SmsSendOutput = { 'message-id'?: string; 'message-price'?: string; network?: string; 'remaining-balance'?: string; status?: string; to?: string; }; export type VonageV1SmsSendNode = { type: 'n8n-nodes-base.vonage'; version: 1; credentials?: Credentials; config: NodeConfig; output?: Items; };