From 0836b6a507662bb423b64b2440b16ec67d2f725f Mon Sep 17 00:00:00 2001 From: Joe Ayoub <45374896+joe-ayoub-segment@users.noreply.github.com> Date: Tue, 9 Jul 2024 17:50:16 +0200 Subject: [PATCH] adding missing descriptions so push can be done (#2157) --- .../src/destinations/angler-ai/index.ts | 1 + .../angler-ai/saveOrder/generated-types.ts | 12 ++++++++++++ .../src/destinations/angler-ai/saveOrder/index.ts | 8 ++++---- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/packages/destination-actions/src/destinations/angler-ai/index.ts b/packages/destination-actions/src/destinations/angler-ai/index.ts index 21709a17a1..85af31c0be 100644 --- a/packages/destination-actions/src/destinations/angler-ai/index.ts +++ b/packages/destination-actions/src/destinations/angler-ai/index.ts @@ -25,6 +25,7 @@ export type AuthResponseType = { const destination: DestinationDefinition = { name: 'Angler AI', slug: 'actions-angler-ai', + description: 'Send analytics events to Angler AI.', mode: 'cloud', authentication: { diff --git a/packages/destination-actions/src/destinations/angler-ai/saveOrder/generated-types.ts b/packages/destination-actions/src/destinations/angler-ai/saveOrder/generated-types.ts index 37d2be3cf6..43d55bba6b 100644 --- a/packages/destination-actions/src/destinations/angler-ai/saveOrder/generated-types.ts +++ b/packages/destination-actions/src/destinations/angler-ai/saveOrder/generated-types.ts @@ -131,7 +131,13 @@ export interface Payload { */ user_agent?: string } + /** + * Confirmed + */ confirmed?: boolean + /** + * Contact Email + */ contact_email?: string /** * The autogenerated date and time (ISO 8601 format) when the order was created. @@ -239,6 +245,9 @@ export interface Payload { * The URL for the page where the buyer landed when they entered the shop. */ landing_site?: string + /** + * Landing Site Ref + */ landing_site_ref?: string /** * The order name. @@ -260,6 +269,9 @@ export interface Payload { * How the payment was processed. */ processing_method?: string + /** + * Reference + */ reference?: string /** * The website where the customer clicked a link to the shop. diff --git a/packages/destination-actions/src/destinations/angler-ai/saveOrder/index.ts b/packages/destination-actions/src/destinations/angler-ai/saveOrder/index.ts index 8aa8594063..0251cf88c3 100644 --- a/packages/destination-actions/src/destinations/angler-ai/saveOrder/index.ts +++ b/packages/destination-actions/src/destinations/angler-ai/saveOrder/index.ts @@ -73,7 +73,7 @@ const action: ActionDefinition = { confirmed: { type: 'boolean', label: 'Confirmed', - description: '', + description: 'Confirmed', default: { '@path': '$.properties.confirmed' } @@ -81,7 +81,7 @@ const action: ActionDefinition = { contact_email: { type: 'string', label: 'Contact Email', - description: '', + description: 'Contact Email', default: { '@if': { exists: { '@path': '$.properties.contact_email' }, @@ -316,7 +316,7 @@ const action: ActionDefinition = { landing_site_ref: { type: 'string', label: 'Landing Site Ref', - description: '', + description: 'Landing Site Ref', default: { '@path': '$.properties.landing_site_ref' } @@ -365,7 +365,7 @@ const action: ActionDefinition = { reference: { type: 'string', label: 'Reference', - description: '', + description: 'Reference', default: { '@path': '$.properties.reference' }