From 3c9fe0d5d67e505c2e03073ce6d7599b6c0c8033 Mon Sep 17 00:00:00 2001 From: Joe Ayoub <45374896+joe-ayoub-segment@users.noreply.github.com> Date: Mon, 20 Jan 2025 12:51:19 +0000 Subject: [PATCH] [12 Destinations] Audience Destination support for computation_class = journey_step (#2691) * adding additional computation_class choice to support Journeys * spelling correction * submitting types --- .../destinations/aws-s3/syncAudienceToCSV/generated-types.ts | 2 +- .../src/destinations/aws-s3/syncAudienceToCSV/index.ts | 4 ++-- .../destinations/courier/audienceToList/generated-types.ts | 2 +- .../src/destinations/courier/audienceToList/index.ts | 4 ++-- .../dynamic-yield-audiences/syncAudience/generated-types.ts | 2 +- .../dynamic-yield-audiences/syncAudience/index.ts | 4 ++-- .../src/destinations/kevel/syncAudience/generated-types.ts | 2 +- .../src/destinations/kevel/syncAudience/index.ts | 4 ++-- .../launchdarkly-audiences/syncAudience/generated-types.ts | 2 +- .../destinations/launchdarkly-audiences/syncAudience/index.ts | 4 ++-- .../syncAudience/generated-types.ts | 2 +- .../syncAudience/index.ts | 4 ++-- .../destinations/postscript/syncAudiences/generated-types.ts | 2 +- .../src/destinations/postscript/syncAudiences/index.ts | 4 ++-- .../reddit-audiences/syncAudience/generated-types.ts | 2 +- .../src/destinations/reddit-audiences/syncAudience/index.ts | 4 ++-- .../destinations/responsys/sendAudience/generated-types.ts | 2 +- .../src/destinations/responsys/sendAudience/index.ts | 4 ++-- .../destinations/sendgrid-audiences/syncAudience/fields.ts | 4 ++-- .../sendgrid-audiences/syncAudience/generated-types.ts | 2 +- .../taboola-actions/syncAudience/generated-types.ts | 2 +- .../src/destinations/taboola-actions/syncAudience/index.ts | 4 ++-- .../yahoo-audiences/updateSegment/generated-types.ts | 2 +- .../src/destinations/yahoo-audiences/updateSegment/index.ts | 4 ++-- 24 files changed, 36 insertions(+), 36 deletions(-) diff --git a/packages/destination-actions/src/destinations/aws-s3/syncAudienceToCSV/generated-types.ts b/packages/destination-actions/src/destinations/aws-s3/syncAudienceToCSV/generated-types.ts index f4d1d27799..527f33cbe9 100644 --- a/packages/destination-actions/src/destinations/aws-s3/syncAudienceToCSV/generated-types.ts +++ b/packages/destination-actions/src/destinations/aws-s3/syncAudienceToCSV/generated-types.ts @@ -109,7 +109,7 @@ export interface Payload { */ batch_size?: number /** - * Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' will be dropped before the perform() fuction call. + * Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call. */ computation_class: string } diff --git a/packages/destination-actions/src/destinations/aws-s3/syncAudienceToCSV/index.ts b/packages/destination-actions/src/destinations/aws-s3/syncAudienceToCSV/index.ts index 8ad3f28f81..1430c5744b 100644 --- a/packages/destination-actions/src/destinations/aws-s3/syncAudienceToCSV/index.ts +++ b/packages/destination-actions/src/destinations/aws-s3/syncAudienceToCSV/index.ts @@ -210,12 +210,12 @@ const action: ActionDefinition = { computation_class: { label: 'Segment Audience Computation Class', description: - "Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' will be dropped before the perform() fuction call.", + "Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call.", type: 'string', required: true, unsafe_hidden: true, default: { '@path': '$.context.personas.computation_class' }, - choices: [{ label: 'Audience', value: 'audience' }] + choices: [{ label: 'Audience', value: 'audience' },{ label: 'journey_step', value: 'journey_step' }] } }, diff --git a/packages/destination-actions/src/destinations/courier/audienceToList/generated-types.ts b/packages/destination-actions/src/destinations/courier/audienceToList/generated-types.ts index 51b30b8b6f..4f80e49359 100644 --- a/packages/destination-actions/src/destinations/courier/audienceToList/generated-types.ts +++ b/packages/destination-actions/src/destinations/courier/audienceToList/generated-types.ts @@ -10,7 +10,7 @@ export interface Payload { */ segment_audience_key: string /** - * Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'. + * Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call. */ segment_computation_action: string /** diff --git a/packages/destination-actions/src/destinations/courier/audienceToList/index.ts b/packages/destination-actions/src/destinations/courier/audienceToList/index.ts index 2962e66fb5..af9a892b24 100644 --- a/packages/destination-actions/src/destinations/courier/audienceToList/index.ts +++ b/packages/destination-actions/src/destinations/courier/audienceToList/index.ts @@ -36,14 +36,14 @@ const action: ActionDefinition = { segment_computation_action: { label: 'Segment Computation Action', description: - "Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'.", + "Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call.", type: 'string', unsafe_hidden: true, required: true, default: { '@path': '$.context.personas.computation_class' }, - choices: [{ label: 'audience', value: 'audience' }] + choices: [{ label: 'audience', value: 'audience' },{ label: 'journey_step', value: 'journey_step' }] }, segment_user_id: { label: 'Segment User ID', diff --git a/packages/destination-actions/src/destinations/dynamic-yield-audiences/syncAudience/generated-types.ts b/packages/destination-actions/src/destinations/dynamic-yield-audiences/syncAudience/generated-types.ts index 205822b20c..bc1501ef52 100644 --- a/packages/destination-actions/src/destinations/dynamic-yield-audiences/syncAudience/generated-types.ts +++ b/packages/destination-actions/src/destinations/dynamic-yield-audiences/syncAudience/generated-types.ts @@ -24,7 +24,7 @@ export interface Payload { [k: string]: unknown } /** - * Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'. + * Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call. */ segment_computation_action: string /** diff --git a/packages/destination-actions/src/destinations/dynamic-yield-audiences/syncAudience/index.ts b/packages/destination-actions/src/destinations/dynamic-yield-audiences/syncAudience/index.ts index fb1fec0605..a68b57d32c 100644 --- a/packages/destination-actions/src/destinations/dynamic-yield-audiences/syncAudience/index.ts +++ b/packages/destination-actions/src/destinations/dynamic-yield-audiences/syncAudience/index.ts @@ -65,14 +65,14 @@ const action: ActionDefinition = { segment_computation_action: { label: 'Segment Computation Action', description: - "Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'.", + "Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call.", type: 'string', unsafe_hidden: true, required: true, default: { '@path': '$.context.personas.computation_class' }, - choices: [{ label: 'audience', value: 'audience' }] + choices: [{ label: 'audience', value: 'audience' },{ label: 'journey_step', value: 'journey_step' }] }, email: { label: 'Email', diff --git a/packages/destination-actions/src/destinations/kevel/syncAudience/generated-types.ts b/packages/destination-actions/src/destinations/kevel/syncAudience/generated-types.ts index 4277d10241..2c80bf7398 100644 --- a/packages/destination-actions/src/destinations/kevel/syncAudience/generated-types.ts +++ b/packages/destination-actions/src/destinations/kevel/syncAudience/generated-types.ts @@ -6,7 +6,7 @@ export interface Payload { */ segment_computation_key: string /** - * Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'. + * Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call. */ segment_computation_action: string /** diff --git a/packages/destination-actions/src/destinations/kevel/syncAudience/index.ts b/packages/destination-actions/src/destinations/kevel/syncAudience/index.ts index 29f3b8ef0b..cee9d4ae1c 100644 --- a/packages/destination-actions/src/destinations/kevel/syncAudience/index.ts +++ b/packages/destination-actions/src/destinations/kevel/syncAudience/index.ts @@ -21,14 +21,14 @@ const action: ActionDefinition = { segment_computation_action: { label: 'Segment Computation Action', description: - "Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'.", + "Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call.", type: 'string', unsafe_hidden: true, required: true, default: { '@path': '$.context.personas.computation_class' }, - choices: [{ label: 'audience', value: 'audience' }] + choices: [{ label: 'audience', value: 'audience' },{ label: 'journey_step', value: 'journey_step' }] }, segment_user_id: { label: 'User ID', diff --git a/packages/destination-actions/src/destinations/launchdarkly-audiences/syncAudience/generated-types.ts b/packages/destination-actions/src/destinations/launchdarkly-audiences/syncAudience/generated-types.ts index 2cc64c90d7..02184f87ae 100644 --- a/packages/destination-actions/src/destinations/launchdarkly-audiences/syncAudience/generated-types.ts +++ b/packages/destination-actions/src/destinations/launchdarkly-audiences/syncAudience/generated-types.ts @@ -10,7 +10,7 @@ export interface Payload { */ segment_audience_key: string /** - * Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'. + * Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call. */ segment_computation_action: string /** diff --git a/packages/destination-actions/src/destinations/launchdarkly-audiences/syncAudience/index.ts b/packages/destination-actions/src/destinations/launchdarkly-audiences/syncAudience/index.ts index ba8e88d780..08350f8c52 100644 --- a/packages/destination-actions/src/destinations/launchdarkly-audiences/syncAudience/index.ts +++ b/packages/destination-actions/src/destinations/launchdarkly-audiences/syncAudience/index.ts @@ -33,14 +33,14 @@ const action: ActionDefinition = { segment_computation_action: { label: 'Segment Computation Action', description: - "Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'.", + "Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call.", type: 'string', unsafe_hidden: true, required: true, default: { '@path': '$.context.personas.computation_class' }, - choices: [{ label: 'audience', value: 'audience' }] + choices: [{ label: 'audience', value: 'audience' },{ label: 'journey_step', value: 'journey_step' }] }, context_kind: { label: 'Context kind', diff --git a/packages/destination-actions/src/destinations/optimizely-advanced-audience-targeting/syncAudience/generated-types.ts b/packages/destination-actions/src/destinations/optimizely-advanced-audience-targeting/syncAudience/generated-types.ts index c17334fc43..f0c2e478ac 100644 --- a/packages/destination-actions/src/destinations/optimizely-advanced-audience-targeting/syncAudience/generated-types.ts +++ b/packages/destination-actions/src/destinations/optimizely-advanced-audience-targeting/syncAudience/generated-types.ts @@ -6,7 +6,7 @@ export interface Payload { */ custom_audience_name: string /** - * Segment computation class used to determine payload is for an Audience + * Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call. */ segment_computation_action: string /** diff --git a/packages/destination-actions/src/destinations/optimizely-advanced-audience-targeting/syncAudience/index.ts b/packages/destination-actions/src/destinations/optimizely-advanced-audience-targeting/syncAudience/index.ts index 5727529a0b..ee64c8184b 100644 --- a/packages/destination-actions/src/destinations/optimizely-advanced-audience-targeting/syncAudience/index.ts +++ b/packages/destination-actions/src/destinations/optimizely-advanced-audience-targeting/syncAudience/index.ts @@ -20,14 +20,14 @@ const action: ActionDefinition = { }, segment_computation_action: { label: 'Segment Computation Action', - description: 'Segment computation class used to determine payload is for an Audience', + description: "Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call.", type: 'string', unsafe_hidden: true, required: true, default: { '@path': '$.context.personas.computation_class' }, - choices: [{ label: 'Audience', value: 'audience' }] + choices: [{ label: 'Audience', value: 'audience' },{ label: 'journey_step', value: 'journey_step' }] }, segment_computation_id: { label: 'Segment Computation ID', diff --git a/packages/destination-actions/src/destinations/postscript/syncAudiences/generated-types.ts b/packages/destination-actions/src/destinations/postscript/syncAudiences/generated-types.ts index 35b3f652de..5a6494a4d1 100644 --- a/packages/destination-actions/src/destinations/postscript/syncAudiences/generated-types.ts +++ b/packages/destination-actions/src/destinations/postscript/syncAudiences/generated-types.ts @@ -10,7 +10,7 @@ export interface Payload { */ segment_audience_key: string /** - * Segment computation class used to determine if input event is from an Engage Audience. Value must be = 'audience'. + * Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call. */ segment_computation_action: string /** diff --git a/packages/destination-actions/src/destinations/postscript/syncAudiences/index.ts b/packages/destination-actions/src/destinations/postscript/syncAudiences/index.ts index 15e1056a00..d2a5df4e6c 100644 --- a/packages/destination-actions/src/destinations/postscript/syncAudiences/index.ts +++ b/packages/destination-actions/src/destinations/postscript/syncAudiences/index.ts @@ -32,14 +32,14 @@ const action: ActionDefinition = { segment_computation_action: { label: 'Segment Computation Action', description: - "Segment computation class used to determine if input event is from an Engage Audience. Value must be = 'audience'.", + "Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call.", type: 'string', unsafe_hidden: true, default: { '@path': '$.context.personas.computation_class' }, required: true, - choices: [{ value: 'audience', label: 'audience' }] + choices: [{ value: 'audience', label: 'audience' },{ label: 'journey_step', value: 'journey_step' }] }, email: { label: 'Email address', diff --git a/packages/destination-actions/src/destinations/reddit-audiences/syncAudience/generated-types.ts b/packages/destination-actions/src/destinations/reddit-audiences/syncAudience/generated-types.ts index 9001f79f30..908900e186 100644 --- a/packages/destination-actions/src/destinations/reddit-audiences/syncAudience/generated-types.ts +++ b/packages/destination-actions/src/destinations/reddit-audiences/syncAudience/generated-types.ts @@ -2,7 +2,7 @@ export interface Payload { /** - * Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'. + * Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call. */ segment_computation_action: string /** diff --git a/packages/destination-actions/src/destinations/reddit-audiences/syncAudience/index.ts b/packages/destination-actions/src/destinations/reddit-audiences/syncAudience/index.ts index 269351629c..52bd4fd6ca 100644 --- a/packages/destination-actions/src/destinations/reddit-audiences/syncAudience/index.ts +++ b/packages/destination-actions/src/destinations/reddit-audiences/syncAudience/index.ts @@ -11,14 +11,14 @@ const action: ActionDefinition = { segment_computation_action: { label: 'Segment Computation Action', description: - "Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'.", + "Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call.", type: 'string', unsafe_hidden: true, required: true, default: { '@path': '$.context.personas.computation_class' }, - choices: [{ label: 'audience', value: 'audience' }] + choices: [{ label: 'audience', value: 'audience' },{ label: 'journey_step', value: 'journey_step' }] }, computation_key: { label: 'Audience Computation Key', diff --git a/packages/destination-actions/src/destinations/responsys/sendAudience/generated-types.ts b/packages/destination-actions/src/destinations/responsys/sendAudience/generated-types.ts index 0190224487..c2d667ec87 100644 --- a/packages/destination-actions/src/destinations/responsys/sendAudience/generated-types.ts +++ b/packages/destination-actions/src/destinations/responsys/sendAudience/generated-types.ts @@ -26,7 +26,7 @@ export interface Payload { [k: string]: unknown } /** - * Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' will be dropped before the perform() fuction call. + * Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call. */ computation_class: string /** diff --git a/packages/destination-actions/src/destinations/responsys/sendAudience/index.ts b/packages/destination-actions/src/destinations/responsys/sendAudience/index.ts index 95a60a3de5..2fcea3aced 100644 --- a/packages/destination-actions/src/destinations/responsys/sendAudience/index.ts +++ b/packages/destination-actions/src/destinations/responsys/sendAudience/index.ts @@ -68,12 +68,12 @@ const action: ActionDefinition = { computation_class: { label: 'Segment Audience Computation Class', description: - "Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' will be dropped before the perform() fuction call.", + "Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call.", type: 'string', required: true, unsafe_hidden: true, default: { '@path': '$.context.personas.computation_class' }, - choices: [{ label: 'Audience', value: 'audience' }] + choices: [{ label: 'Audience', value: 'audience' },{ label: 'journey_step', value: 'journey_step' }] }, enable_batching: use_responsys_async_api, batch_size: batch_size, diff --git a/packages/destination-actions/src/destinations/sendgrid-audiences/syncAudience/fields.ts b/packages/destination-actions/src/destinations/sendgrid-audiences/syncAudience/fields.ts index c2eb83551c..91bbf0894b 100644 --- a/packages/destination-actions/src/destinations/sendgrid-audiences/syncAudience/fields.ts +++ b/packages/destination-actions/src/destinations/sendgrid-audiences/syncAudience/fields.ts @@ -5,14 +5,14 @@ export const fields: Record = { segment_computation_action: { label: 'Segment Computation Class', description: - "Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'.", + "Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call.", type: 'string', unsafe_hidden: true, required: true, default: { '@path': '$.context.personas.computation_class' }, - choices: [{ label: 'audience', value: 'audience' }] + choices: [{ label: 'audience', value: 'audience' },{ label: 'journey_step', value: 'journey_step' }] }, external_audience_id: { type: 'string', diff --git a/packages/destination-actions/src/destinations/sendgrid-audiences/syncAudience/generated-types.ts b/packages/destination-actions/src/destinations/sendgrid-audiences/syncAudience/generated-types.ts index 4a12d98c5a..c82b748906 100644 --- a/packages/destination-actions/src/destinations/sendgrid-audiences/syncAudience/generated-types.ts +++ b/packages/destination-actions/src/destinations/sendgrid-audiences/syncAudience/generated-types.ts @@ -2,7 +2,7 @@ export interface Payload { /** - * Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'. + * Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call. */ segment_computation_action: string /** diff --git a/packages/destination-actions/src/destinations/taboola-actions/syncAudience/generated-types.ts b/packages/destination-actions/src/destinations/taboola-actions/syncAudience/generated-types.ts index a5b8c15b8d..5857585f96 100644 --- a/packages/destination-actions/src/destinations/taboola-actions/syncAudience/generated-types.ts +++ b/packages/destination-actions/src/destinations/taboola-actions/syncAudience/generated-types.ts @@ -10,7 +10,7 @@ export interface Payload { */ segment_computation_key: string /** - * Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'. + * Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call. */ segment_computation_action: string /** diff --git a/packages/destination-actions/src/destinations/taboola-actions/syncAudience/index.ts b/packages/destination-actions/src/destinations/taboola-actions/syncAudience/index.ts index 5049cc7edd..6d9a526e4b 100644 --- a/packages/destination-actions/src/destinations/taboola-actions/syncAudience/index.ts +++ b/packages/destination-actions/src/destinations/taboola-actions/syncAudience/index.ts @@ -32,14 +32,14 @@ const action: ActionDefinition = { segment_computation_action: { label: 'Segment Computation Action', description: - "Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'.", + "Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call.", type: 'string', unsafe_hidden: true, required: true, default: { '@path': '$.context.personas.computation_class' }, - choices: [{ label: 'audience', value: 'audience' }] + choices: [{ label: 'audience', value: 'audience' },{ label: 'journey_step', value: 'journey_step' }] }, user_email: { label: 'Email address', diff --git a/packages/destination-actions/src/destinations/yahoo-audiences/updateSegment/generated-types.ts b/packages/destination-actions/src/destinations/yahoo-audiences/updateSegment/generated-types.ts index 0dfcce07d5..2c0ae6dc89 100644 --- a/packages/destination-actions/src/destinations/yahoo-audiences/updateSegment/generated-types.ts +++ b/packages/destination-actions/src/destinations/yahoo-audiences/updateSegment/generated-types.ts @@ -16,7 +16,7 @@ export interface Payload { [k: string]: unknown } /** - * Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'. + * Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call. */ segment_computation_action: string /** diff --git a/packages/destination-actions/src/destinations/yahoo-audiences/updateSegment/index.ts b/packages/destination-actions/src/destinations/yahoo-audiences/updateSegment/index.ts index 2fe5c71f23..e692045a7a 100644 --- a/packages/destination-actions/src/destinations/yahoo-audiences/updateSegment/index.ts +++ b/packages/destination-actions/src/destinations/yahoo-audiences/updateSegment/index.ts @@ -47,14 +47,14 @@ const action: ActionDefinition = { segment_computation_action: { label: 'Segment Computation Action', description: - "Segment computation class used to determine if input event is from an Engage Audience'. Value must be = 'audience'.", + "Hidden field used to verify that the payload is generated by an Audience. Payloads not containing computation_class = 'audience' or 'journey_step' will be dropped before the perform() fuction call.", type: 'string', unsafe_hidden: true, required: true, default: { '@path': '$.context.personas.computation_class' }, - choices: [{ label: 'audience', value: 'audience' }] + choices: [{ label: 'audience', value: 'audience' },{ label: 'journey_step', value: 'journey_step' }] }, phone: { label: 'User Phone',