samva 0.52.0 → 0.54.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client/sdk.gen.d.ts +55 -18
- package/dist/client/sdk.gen.js +165 -45
- package/dist/client/types.gen.d.ts +313 -21
- package/dist/effect/brands.d.ts +8 -1
- package/dist/effect/descriptors/brands.d.ts +4 -4
- package/dist/effect/descriptors/brands.js +4 -4
- package/dist/effect/descriptors/email.d.ts +21 -1
- package/dist/effect/descriptors/email.js +21 -1
- package/dist/effect/email.d.ts +12 -0
- package/dist/effect/email.js +5 -1
- package/dist/effect/events.d.ts +16 -0
- package/dist/effect/generated/api-keys.js +2 -2
- package/dist/effect/generated/brands.d.ts +78 -8
- package/dist/effect/generated/brands.js +21 -12
- package/dist/effect/generated/email.d.ts +473 -2
- package/dist/effect/generated/email.js +106 -7
- package/dist/effect/generated/events.d.ts +48 -0
- package/dist/effect/generated/events.js +1 -1
- package/dist/effect/generated/journeys.d.ts +1173 -55
- package/dist/effect/generated/journeys.js +10 -4
- package/dist/effect/generated/logs.d.ts +12 -0
- package/dist/effect/generated/mailboxes.d.ts +8 -0
- package/dist/effect/generated/mailboxes.js +2 -1
- package/dist/effect/generated/messages.d.ts +16 -0
- package/dist/effect/generated/messages.js +7 -1
- package/dist/effect/generated/scheduled-messages.d.ts +36 -0
- package/dist/effect/generated/shared.d.ts +438 -15
- package/dist/effect/generated/shared.js +59 -13
- package/dist/effect/generated/templates.d.ts +34 -1
- package/dist/effect/generated/templates.js +18 -3
- package/dist/effect/generated/whats-app-flows.d.ts +23 -5
- package/dist/effect/generated/whats-app-flows.js +9 -7
- package/dist/effect/generated-metadata.d.ts +12 -0
- package/dist/effect/generated-metadata.js +2 -0
- package/dist/effect/journeys.d.ts +76 -0
- package/dist/effect/mailboxes.d.ts +2 -0
- package/dist/effect/scheduled-messages.d.ts +66 -0
- package/dist/effect/templates.d.ts +1 -0
- package/dist/effect/whatsapp-flows.d.ts +30 -0
- package/dist/package.js +1 -1
- package/dist/promises/types.gen.d.ts +1 -1
- package/dist/service-map.d.ts +15 -5
- package/package.json +2 -2
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type * as EffectBrand from "effect/Brand";
|
|
2
2
|
import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
|
|
3
3
|
import * as Schema from "effect/Schema";
|
|
4
|
-
import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactId, ForbiddenError, GatewayTimeoutError, InternalError, JourneyDefinition, JourneyId, JourneyName, JourneyNodeId, JourneyStatus, JsonObject, MalformedRequestError, MessageId, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
|
|
4
|
+
import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactId, ForbiddenError, GatewayTimeoutError, InternalError, JourneyDefinition, JourneyId, JourneyName, JourneyNodeId, JourneyStatus, JsonObject, MalformedRequestError, MessageId, NamespaceId, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
|
|
5
5
|
export type JourneyRunStatus = "active" | "paused" | "exited" | "failed";
|
|
6
6
|
export declare const JourneyRunStatus: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"exited">, Schema.Literal<"failed">]>;
|
|
7
7
|
export type JourneyRunId = string & EffectBrand.Brand<"JourneyRunId">;
|
|
@@ -42,6 +42,7 @@ export declare const DeleteJourneyResponse: Schema.Struct<{
|
|
|
42
42
|
}>;
|
|
43
43
|
export type JourneyListItem = {
|
|
44
44
|
readonly id: JourneyId;
|
|
45
|
+
readonly namespaceId?: NamespaceId | null;
|
|
45
46
|
readonly name: string;
|
|
46
47
|
readonly status: JourneyStatus;
|
|
47
48
|
readonly publishedVersion: number | null;
|
|
@@ -51,6 +52,7 @@ export type JourneyListItem = {
|
|
|
51
52
|
};
|
|
52
53
|
export declare const JourneyListItem: Schema.Struct<{
|
|
53
54
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
55
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
54
56
|
readonly name: Schema.String;
|
|
55
57
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
56
58
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
@@ -90,6 +92,7 @@ export declare const JourneyRunStep: Schema.Struct<{
|
|
|
90
92
|
}>;
|
|
91
93
|
export type JourneyRun = {
|
|
92
94
|
readonly id: JourneyRunId;
|
|
95
|
+
readonly namespaceId?: NamespaceId | null;
|
|
93
96
|
readonly journeyId: JourneyId;
|
|
94
97
|
readonly version: number;
|
|
95
98
|
readonly contactId: ContactId;
|
|
@@ -105,6 +108,7 @@ export type JourneyRun = {
|
|
|
105
108
|
};
|
|
106
109
|
export declare const JourneyRun: Schema.Struct<{
|
|
107
110
|
readonly id: Schema.brand<Schema.String, "JourneyRunId">;
|
|
111
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
108
112
|
readonly journeyId: Schema.brand<Schema.String, "JourneyId">;
|
|
109
113
|
readonly version: Schema.Finite;
|
|
110
114
|
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
@@ -129,6 +133,7 @@ export type JourneyPage = {
|
|
|
129
133
|
export declare const JourneyPage: Schema.Struct<{
|
|
130
134
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
131
135
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
136
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
132
137
|
readonly name: Schema.String;
|
|
133
138
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
134
139
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
@@ -161,6 +166,7 @@ export declare const JourneyStats: Schema.Struct<{
|
|
|
161
166
|
}>;
|
|
162
167
|
export type JourneyRunDetail = {
|
|
163
168
|
readonly id: JourneyRunId;
|
|
169
|
+
readonly namespaceId?: NamespaceId | null;
|
|
164
170
|
readonly journeyId: JourneyId;
|
|
165
171
|
readonly version: number;
|
|
166
172
|
readonly contactId: ContactId;
|
|
@@ -177,6 +183,7 @@ export type JourneyRunDetail = {
|
|
|
177
183
|
};
|
|
178
184
|
export declare const JourneyRunDetail: Schema.Struct<{
|
|
179
185
|
readonly id: Schema.brand<Schema.String, "JourneyRunId">;
|
|
186
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
180
187
|
readonly journeyId: Schema.brand<Schema.String, "JourneyId">;
|
|
181
188
|
readonly version: Schema.Finite;
|
|
182
189
|
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
@@ -211,6 +218,7 @@ export type JourneyRunPage = {
|
|
|
211
218
|
export declare const JourneyRunPage: Schema.Struct<{
|
|
212
219
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
213
220
|
readonly id: Schema.brand<Schema.String, "JourneyRunId">;
|
|
221
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
214
222
|
readonly journeyId: Schema.brand<Schema.String, "JourneyId">;
|
|
215
223
|
readonly version: Schema.Finite;
|
|
216
224
|
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
@@ -232,6 +240,7 @@ export declare const JourneyRunPage: Schema.Struct<{
|
|
|
232
240
|
}>;
|
|
233
241
|
export type Journey = {
|
|
234
242
|
readonly id: JourneyId;
|
|
243
|
+
readonly namespaceId?: NamespaceId | null;
|
|
235
244
|
readonly name: string;
|
|
236
245
|
readonly status: JourneyStatus;
|
|
237
246
|
readonly revision: string;
|
|
@@ -243,6 +252,7 @@ export type Journey = {
|
|
|
243
252
|
};
|
|
244
253
|
export declare const Journey: Schema.Struct<{
|
|
245
254
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
255
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
246
256
|
readonly name: Schema.String;
|
|
247
257
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
248
258
|
readonly revision: Schema.String;
|
|
@@ -266,7 +276,13 @@ export declare const Journey: Schema.Struct<{
|
|
|
266
276
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
267
277
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
268
278
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
279
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
280
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
281
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
282
|
+
}>>;
|
|
283
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
269
284
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
285
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
270
286
|
}>;
|
|
271
287
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
272
288
|
readonly nodeId: Schema.String;
|
|
@@ -287,6 +303,7 @@ export declare const Journey: Schema.Struct<{
|
|
|
287
303
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
288
304
|
}>>;
|
|
289
305
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
306
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
290
307
|
}>;
|
|
291
308
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
292
309
|
readonly nodeId: Schema.String;
|
|
@@ -303,6 +320,10 @@ export declare const Journey: Schema.Struct<{
|
|
|
303
320
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
304
321
|
readonly config: Schema.Struct<{
|
|
305
322
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
323
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
324
|
+
readonly eventProperty: Schema.String;
|
|
325
|
+
readonly entryProperty: Schema.String;
|
|
326
|
+
}>>;
|
|
306
327
|
readonly timeoutSeconds: Schema.Finite;
|
|
307
328
|
}>;
|
|
308
329
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -357,6 +378,21 @@ export declare const Journey: Schema.Struct<{
|
|
|
357
378
|
readonly type: Schema.Literal<"event">;
|
|
358
379
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
359
380
|
readonly occurred: Schema.Boolean;
|
|
381
|
+
}>, Schema.Struct<{
|
|
382
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
383
|
+
readonly property: Schema.String;
|
|
384
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
385
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
386
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
387
|
+
}>, Schema.Struct<{
|
|
388
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
389
|
+
readonly value: Schema.Finite;
|
|
390
|
+
}>, Schema.Struct<{
|
|
391
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
392
|
+
readonly value: Schema.String;
|
|
393
|
+
}>, Schema.Struct<{
|
|
394
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
395
|
+
}>]>;
|
|
360
396
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
361
397
|
readonly type: Schema.Literal<"tag">;
|
|
362
398
|
readonly tag: Schema.String;
|
|
@@ -395,6 +431,21 @@ export declare const Journey: Schema.Struct<{
|
|
|
395
431
|
readonly type: Schema.Literal<"event">;
|
|
396
432
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
397
433
|
readonly occurred: Schema.Boolean;
|
|
434
|
+
}>, Schema.Struct<{
|
|
435
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
436
|
+
readonly property: Schema.String;
|
|
437
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
438
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
439
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
440
|
+
}>, Schema.Struct<{
|
|
441
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
442
|
+
readonly value: Schema.Finite;
|
|
443
|
+
}>, Schema.Struct<{
|
|
444
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
445
|
+
readonly value: Schema.String;
|
|
446
|
+
}>, Schema.Struct<{
|
|
447
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
448
|
+
}>]>;
|
|
398
449
|
}>]>]>;
|
|
399
450
|
}>>;
|
|
400
451
|
}>>;
|
|
@@ -411,6 +462,7 @@ export declare const Journey: Schema.Struct<{
|
|
|
411
462
|
readonly type: Schema.Literal<"webhook">;
|
|
412
463
|
readonly config: Schema.Struct<{
|
|
413
464
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
465
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
414
466
|
}>;
|
|
415
467
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
416
468
|
readonly nodeId: Schema.String;
|
|
@@ -424,10 +476,13 @@ export declare const Journey: Schema.Struct<{
|
|
|
424
476
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
425
477
|
}>>;
|
|
426
478
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
427
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
479
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
428
480
|
readonly type: Schema.Literal<"shopify_order">;
|
|
429
481
|
readonly shop: Schema.String;
|
|
430
|
-
}
|
|
482
|
+
}>, Schema.Struct<{
|
|
483
|
+
readonly type: Schema.Literal<"event_property">;
|
|
484
|
+
readonly property: Schema.String;
|
|
485
|
+
}>]>>;
|
|
431
486
|
}>;
|
|
432
487
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
433
488
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -463,7 +518,13 @@ export declare const JourneyVersion: Schema.Struct<{
|
|
|
463
518
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
464
519
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
465
520
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
521
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
522
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
523
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
524
|
+
}>>;
|
|
525
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
466
526
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
527
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
467
528
|
}>;
|
|
468
529
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
469
530
|
readonly nodeId: Schema.String;
|
|
@@ -484,6 +545,7 @@ export declare const JourneyVersion: Schema.Struct<{
|
|
|
484
545
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
485
546
|
}>>;
|
|
486
547
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
548
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
487
549
|
}>;
|
|
488
550
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
489
551
|
readonly nodeId: Schema.String;
|
|
@@ -500,6 +562,10 @@ export declare const JourneyVersion: Schema.Struct<{
|
|
|
500
562
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
501
563
|
readonly config: Schema.Struct<{
|
|
502
564
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
565
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
566
|
+
readonly eventProperty: Schema.String;
|
|
567
|
+
readonly entryProperty: Schema.String;
|
|
568
|
+
}>>;
|
|
503
569
|
readonly timeoutSeconds: Schema.Finite;
|
|
504
570
|
}>;
|
|
505
571
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -554,6 +620,21 @@ export declare const JourneyVersion: Schema.Struct<{
|
|
|
554
620
|
readonly type: Schema.Literal<"event">;
|
|
555
621
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
556
622
|
readonly occurred: Schema.Boolean;
|
|
623
|
+
}>, Schema.Struct<{
|
|
624
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
625
|
+
readonly property: Schema.String;
|
|
626
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
627
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
628
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
629
|
+
}>, Schema.Struct<{
|
|
630
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
631
|
+
readonly value: Schema.Finite;
|
|
632
|
+
}>, Schema.Struct<{
|
|
633
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
634
|
+
readonly value: Schema.String;
|
|
635
|
+
}>, Schema.Struct<{
|
|
636
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
637
|
+
}>]>;
|
|
557
638
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
558
639
|
readonly type: Schema.Literal<"tag">;
|
|
559
640
|
readonly tag: Schema.String;
|
|
@@ -592,6 +673,21 @@ export declare const JourneyVersion: Schema.Struct<{
|
|
|
592
673
|
readonly type: Schema.Literal<"event">;
|
|
593
674
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
594
675
|
readonly occurred: Schema.Boolean;
|
|
676
|
+
}>, Schema.Struct<{
|
|
677
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
678
|
+
readonly property: Schema.String;
|
|
679
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
680
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
681
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
682
|
+
}>, Schema.Struct<{
|
|
683
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
684
|
+
readonly value: Schema.Finite;
|
|
685
|
+
}>, Schema.Struct<{
|
|
686
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
687
|
+
readonly value: Schema.String;
|
|
688
|
+
}>, Schema.Struct<{
|
|
689
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
690
|
+
}>]>;
|
|
595
691
|
}>]>]>;
|
|
596
692
|
}>>;
|
|
597
693
|
}>>;
|
|
@@ -608,6 +704,7 @@ export declare const JourneyVersion: Schema.Struct<{
|
|
|
608
704
|
readonly type: Schema.Literal<"webhook">;
|
|
609
705
|
readonly config: Schema.Struct<{
|
|
610
706
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
707
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
611
708
|
}>;
|
|
612
709
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
613
710
|
readonly nodeId: Schema.String;
|
|
@@ -621,19 +718,24 @@ export declare const JourneyVersion: Schema.Struct<{
|
|
|
621
718
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
622
719
|
}>>;
|
|
623
720
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
624
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
721
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
625
722
|
readonly type: Schema.Literal<"shopify_order">;
|
|
626
723
|
readonly shop: Schema.String;
|
|
627
|
-
}
|
|
724
|
+
}>, Schema.Struct<{
|
|
725
|
+
readonly type: Schema.Literal<"event_property">;
|
|
726
|
+
readonly property: Schema.String;
|
|
727
|
+
}>]>>;
|
|
628
728
|
}>;
|
|
629
729
|
readonly publishedAt: Schema.String;
|
|
630
730
|
}>;
|
|
631
731
|
export type JourneysListQuery = {
|
|
732
|
+
readonly namespaceId?: NamespaceId;
|
|
632
733
|
readonly status?: JourneyStatus;
|
|
633
734
|
readonly limit?: number | null;
|
|
634
735
|
readonly cursor?: string;
|
|
635
736
|
};
|
|
636
737
|
export declare const JourneysListQuery: Schema.Struct<{
|
|
738
|
+
readonly namespaceId: Schema.optionalKey<Schema.brand<Schema.String, "NamespaceId">>;
|
|
637
739
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>>;
|
|
638
740
|
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
639
741
|
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
@@ -642,6 +744,7 @@ export type JourneysList200 = JourneyPage;
|
|
|
642
744
|
export declare const JourneysList200: Schema.Struct<{
|
|
643
745
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
644
746
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
747
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
645
748
|
readonly name: Schema.String;
|
|
646
749
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
647
750
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
@@ -665,10 +768,12 @@ export type JourneysList504 = GatewayTimeoutError;
|
|
|
665
768
|
export declare const JourneysList504: typeof GatewayTimeoutError;
|
|
666
769
|
export type JourneysCreateRequestJson = {
|
|
667
770
|
readonly name: JourneyName;
|
|
771
|
+
readonly namespaceId?: NamespaceId;
|
|
668
772
|
readonly definition: JourneyDefinition;
|
|
669
773
|
};
|
|
670
774
|
export declare const JourneysCreateRequestJson: Schema.Struct<{
|
|
671
775
|
readonly name: Schema.String;
|
|
776
|
+
readonly namespaceId: Schema.optionalKey<Schema.brand<Schema.String, "NamespaceId">>;
|
|
672
777
|
readonly definition: Schema.Struct<{
|
|
673
778
|
readonly trigger: Schema.Union<readonly [Schema.Struct<{
|
|
674
779
|
readonly type: Schema.Literal<"event">;
|
|
@@ -689,7 +794,13 @@ export declare const JourneysCreateRequestJson: Schema.Struct<{
|
|
|
689
794
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
690
795
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
691
796
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
797
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
798
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
799
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
800
|
+
}>>;
|
|
801
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
692
802
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
803
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
693
804
|
}>;
|
|
694
805
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
695
806
|
readonly nodeId: Schema.String;
|
|
@@ -710,6 +821,7 @@ export declare const JourneysCreateRequestJson: Schema.Struct<{
|
|
|
710
821
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
711
822
|
}>>;
|
|
712
823
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
824
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
713
825
|
}>;
|
|
714
826
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
715
827
|
readonly nodeId: Schema.String;
|
|
@@ -726,6 +838,10 @@ export declare const JourneysCreateRequestJson: Schema.Struct<{
|
|
|
726
838
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
727
839
|
readonly config: Schema.Struct<{
|
|
728
840
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
841
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
842
|
+
readonly eventProperty: Schema.String;
|
|
843
|
+
readonly entryProperty: Schema.String;
|
|
844
|
+
}>>;
|
|
729
845
|
readonly timeoutSeconds: Schema.Finite;
|
|
730
846
|
}>;
|
|
731
847
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -780,6 +896,21 @@ export declare const JourneysCreateRequestJson: Schema.Struct<{
|
|
|
780
896
|
readonly type: Schema.Literal<"event">;
|
|
781
897
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
782
898
|
readonly occurred: Schema.Boolean;
|
|
899
|
+
}>, Schema.Struct<{
|
|
900
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
901
|
+
readonly property: Schema.String;
|
|
902
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
903
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
904
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
905
|
+
}>, Schema.Struct<{
|
|
906
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
907
|
+
readonly value: Schema.Finite;
|
|
908
|
+
}>, Schema.Struct<{
|
|
909
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
910
|
+
readonly value: Schema.String;
|
|
911
|
+
}>, Schema.Struct<{
|
|
912
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
913
|
+
}>]>;
|
|
783
914
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
784
915
|
readonly type: Schema.Literal<"tag">;
|
|
785
916
|
readonly tag: Schema.String;
|
|
@@ -818,6 +949,21 @@ export declare const JourneysCreateRequestJson: Schema.Struct<{
|
|
|
818
949
|
readonly type: Schema.Literal<"event">;
|
|
819
950
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
820
951
|
readonly occurred: Schema.Boolean;
|
|
952
|
+
}>, Schema.Struct<{
|
|
953
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
954
|
+
readonly property: Schema.String;
|
|
955
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
956
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
957
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
958
|
+
}>, Schema.Struct<{
|
|
959
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
960
|
+
readonly value: Schema.Finite;
|
|
961
|
+
}>, Schema.Struct<{
|
|
962
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
963
|
+
readonly value: Schema.String;
|
|
964
|
+
}>, Schema.Struct<{
|
|
965
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
966
|
+
}>]>;
|
|
821
967
|
}>]>]>;
|
|
822
968
|
}>>;
|
|
823
969
|
}>>;
|
|
@@ -834,6 +980,7 @@ export declare const JourneysCreateRequestJson: Schema.Struct<{
|
|
|
834
980
|
readonly type: Schema.Literal<"webhook">;
|
|
835
981
|
readonly config: Schema.Struct<{
|
|
836
982
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
983
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
837
984
|
}>;
|
|
838
985
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
839
986
|
readonly nodeId: Schema.String;
|
|
@@ -847,15 +994,19 @@ export declare const JourneysCreateRequestJson: Schema.Struct<{
|
|
|
847
994
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
848
995
|
}>>;
|
|
849
996
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
850
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
997
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
851
998
|
readonly type: Schema.Literal<"shopify_order">;
|
|
852
999
|
readonly shop: Schema.String;
|
|
853
|
-
}
|
|
1000
|
+
}>, Schema.Struct<{
|
|
1001
|
+
readonly type: Schema.Literal<"event_property">;
|
|
1002
|
+
readonly property: Schema.String;
|
|
1003
|
+
}>]>>;
|
|
854
1004
|
}>;
|
|
855
1005
|
}>;
|
|
856
1006
|
export type JourneysCreate201 = Journey;
|
|
857
1007
|
export declare const JourneysCreate201: Schema.Struct<{
|
|
858
1008
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
1009
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
859
1010
|
readonly name: Schema.String;
|
|
860
1011
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
861
1012
|
readonly revision: Schema.String;
|
|
@@ -879,7 +1030,13 @@ export declare const JourneysCreate201: Schema.Struct<{
|
|
|
879
1030
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
880
1031
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
881
1032
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
1033
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
1034
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
1035
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
1036
|
+
}>>;
|
|
1037
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
882
1038
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
1039
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
883
1040
|
}>;
|
|
884
1041
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
885
1042
|
readonly nodeId: Schema.String;
|
|
@@ -900,6 +1057,7 @@ export declare const JourneysCreate201: Schema.Struct<{
|
|
|
900
1057
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
901
1058
|
}>>;
|
|
902
1059
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1060
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
903
1061
|
}>;
|
|
904
1062
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
905
1063
|
readonly nodeId: Schema.String;
|
|
@@ -916,6 +1074,10 @@ export declare const JourneysCreate201: Schema.Struct<{
|
|
|
916
1074
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
917
1075
|
readonly config: Schema.Struct<{
|
|
918
1076
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1077
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
1078
|
+
readonly eventProperty: Schema.String;
|
|
1079
|
+
readonly entryProperty: Schema.String;
|
|
1080
|
+
}>>;
|
|
919
1081
|
readonly timeoutSeconds: Schema.Finite;
|
|
920
1082
|
}>;
|
|
921
1083
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -970,6 +1132,21 @@ export declare const JourneysCreate201: Schema.Struct<{
|
|
|
970
1132
|
readonly type: Schema.Literal<"event">;
|
|
971
1133
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
972
1134
|
readonly occurred: Schema.Boolean;
|
|
1135
|
+
}>, Schema.Struct<{
|
|
1136
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
1137
|
+
readonly property: Schema.String;
|
|
1138
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
1139
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
1140
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
1141
|
+
}>, Schema.Struct<{
|
|
1142
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
1143
|
+
readonly value: Schema.Finite;
|
|
1144
|
+
}>, Schema.Struct<{
|
|
1145
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
1146
|
+
readonly value: Schema.String;
|
|
1147
|
+
}>, Schema.Struct<{
|
|
1148
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
1149
|
+
}>]>;
|
|
973
1150
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
974
1151
|
readonly type: Schema.Literal<"tag">;
|
|
975
1152
|
readonly tag: Schema.String;
|
|
@@ -1008,6 +1185,21 @@ export declare const JourneysCreate201: Schema.Struct<{
|
|
|
1008
1185
|
readonly type: Schema.Literal<"event">;
|
|
1009
1186
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1010
1187
|
readonly occurred: Schema.Boolean;
|
|
1188
|
+
}>, Schema.Struct<{
|
|
1189
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
1190
|
+
readonly property: Schema.String;
|
|
1191
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
1192
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
1193
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
1194
|
+
}>, Schema.Struct<{
|
|
1195
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
1196
|
+
readonly value: Schema.Finite;
|
|
1197
|
+
}>, Schema.Struct<{
|
|
1198
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
1199
|
+
readonly value: Schema.String;
|
|
1200
|
+
}>, Schema.Struct<{
|
|
1201
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
1202
|
+
}>]>;
|
|
1011
1203
|
}>]>]>;
|
|
1012
1204
|
}>>;
|
|
1013
1205
|
}>>;
|
|
@@ -1024,6 +1216,7 @@ export declare const JourneysCreate201: Schema.Struct<{
|
|
|
1024
1216
|
readonly type: Schema.Literal<"webhook">;
|
|
1025
1217
|
readonly config: Schema.Struct<{
|
|
1026
1218
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
1219
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1027
1220
|
}>;
|
|
1028
1221
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
1029
1222
|
readonly nodeId: Schema.String;
|
|
@@ -1037,10 +1230,13 @@ export declare const JourneysCreate201: Schema.Struct<{
|
|
|
1037
1230
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1038
1231
|
}>>;
|
|
1039
1232
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
1040
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
1233
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1041
1234
|
readonly type: Schema.Literal<"shopify_order">;
|
|
1042
1235
|
readonly shop: Schema.String;
|
|
1043
|
-
}
|
|
1236
|
+
}>, Schema.Struct<{
|
|
1237
|
+
readonly type: Schema.Literal<"event_property">;
|
|
1238
|
+
readonly property: Schema.String;
|
|
1239
|
+
}>]>>;
|
|
1044
1240
|
}>;
|
|
1045
1241
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
1046
1242
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1076,6 +1272,7 @@ export declare const JourneysGetPathParams: Schema.Struct<{
|
|
|
1076
1272
|
export type JourneysGet200 = Journey;
|
|
1077
1273
|
export declare const JourneysGet200: Schema.Struct<{
|
|
1078
1274
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
1275
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
1079
1276
|
readonly name: Schema.String;
|
|
1080
1277
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
1081
1278
|
readonly revision: Schema.String;
|
|
@@ -1099,7 +1296,13 @@ export declare const JourneysGet200: Schema.Struct<{
|
|
|
1099
1296
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
1100
1297
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
1101
1298
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
1299
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
1300
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
1301
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
1302
|
+
}>>;
|
|
1303
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
1102
1304
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
1305
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1103
1306
|
}>;
|
|
1104
1307
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
1105
1308
|
readonly nodeId: Schema.String;
|
|
@@ -1120,6 +1323,7 @@ export declare const JourneysGet200: Schema.Struct<{
|
|
|
1120
1323
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
1121
1324
|
}>>;
|
|
1122
1325
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1326
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
1123
1327
|
}>;
|
|
1124
1328
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
1125
1329
|
readonly nodeId: Schema.String;
|
|
@@ -1136,6 +1340,10 @@ export declare const JourneysGet200: Schema.Struct<{
|
|
|
1136
1340
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
1137
1341
|
readonly config: Schema.Struct<{
|
|
1138
1342
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1343
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
1344
|
+
readonly eventProperty: Schema.String;
|
|
1345
|
+
readonly entryProperty: Schema.String;
|
|
1346
|
+
}>>;
|
|
1139
1347
|
readonly timeoutSeconds: Schema.Finite;
|
|
1140
1348
|
}>;
|
|
1141
1349
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -1190,6 +1398,21 @@ export declare const JourneysGet200: Schema.Struct<{
|
|
|
1190
1398
|
readonly type: Schema.Literal<"event">;
|
|
1191
1399
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1192
1400
|
readonly occurred: Schema.Boolean;
|
|
1401
|
+
}>, Schema.Struct<{
|
|
1402
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
1403
|
+
readonly property: Schema.String;
|
|
1404
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
1405
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
1406
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
1407
|
+
}>, Schema.Struct<{
|
|
1408
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
1409
|
+
readonly value: Schema.Finite;
|
|
1410
|
+
}>, Schema.Struct<{
|
|
1411
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
1412
|
+
readonly value: Schema.String;
|
|
1413
|
+
}>, Schema.Struct<{
|
|
1414
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
1415
|
+
}>]>;
|
|
1193
1416
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
1194
1417
|
readonly type: Schema.Literal<"tag">;
|
|
1195
1418
|
readonly tag: Schema.String;
|
|
@@ -1228,6 +1451,21 @@ export declare const JourneysGet200: Schema.Struct<{
|
|
|
1228
1451
|
readonly type: Schema.Literal<"event">;
|
|
1229
1452
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1230
1453
|
readonly occurred: Schema.Boolean;
|
|
1454
|
+
}>, Schema.Struct<{
|
|
1455
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
1456
|
+
readonly property: Schema.String;
|
|
1457
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
1458
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
1459
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
1460
|
+
}>, Schema.Struct<{
|
|
1461
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
1462
|
+
readonly value: Schema.Finite;
|
|
1463
|
+
}>, Schema.Struct<{
|
|
1464
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
1465
|
+
readonly value: Schema.String;
|
|
1466
|
+
}>, Schema.Struct<{
|
|
1467
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
1468
|
+
}>]>;
|
|
1231
1469
|
}>]>]>;
|
|
1232
1470
|
}>>;
|
|
1233
1471
|
}>>;
|
|
@@ -1244,6 +1482,7 @@ export declare const JourneysGet200: Schema.Struct<{
|
|
|
1244
1482
|
readonly type: Schema.Literal<"webhook">;
|
|
1245
1483
|
readonly config: Schema.Struct<{
|
|
1246
1484
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
1485
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1247
1486
|
}>;
|
|
1248
1487
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
1249
1488
|
readonly nodeId: Schema.String;
|
|
@@ -1257,10 +1496,13 @@ export declare const JourneysGet200: Schema.Struct<{
|
|
|
1257
1496
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1258
1497
|
}>>;
|
|
1259
1498
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
1260
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
1499
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1261
1500
|
readonly type: Schema.Literal<"shopify_order">;
|
|
1262
1501
|
readonly shop: Schema.String;
|
|
1263
|
-
}
|
|
1502
|
+
}>, Schema.Struct<{
|
|
1503
|
+
readonly type: Schema.Literal<"event_property">;
|
|
1504
|
+
readonly property: Schema.String;
|
|
1505
|
+
}>]>>;
|
|
1264
1506
|
}>;
|
|
1265
1507
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
1266
1508
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1323,6 +1565,7 @@ export declare const JourneysUpdateRequestJson: Schema.Struct<{
|
|
|
1323
1565
|
export type JourneysUpdate200 = Journey;
|
|
1324
1566
|
export declare const JourneysUpdate200: Schema.Struct<{
|
|
1325
1567
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
1568
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
1326
1569
|
readonly name: Schema.String;
|
|
1327
1570
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
1328
1571
|
readonly revision: Schema.String;
|
|
@@ -1346,7 +1589,13 @@ export declare const JourneysUpdate200: Schema.Struct<{
|
|
|
1346
1589
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
1347
1590
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
1348
1591
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
1592
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
1593
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
1594
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
1595
|
+
}>>;
|
|
1596
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
1349
1597
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
1598
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1350
1599
|
}>;
|
|
1351
1600
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
1352
1601
|
readonly nodeId: Schema.String;
|
|
@@ -1367,6 +1616,7 @@ export declare const JourneysUpdate200: Schema.Struct<{
|
|
|
1367
1616
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
1368
1617
|
}>>;
|
|
1369
1618
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1619
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
1370
1620
|
}>;
|
|
1371
1621
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
1372
1622
|
readonly nodeId: Schema.String;
|
|
@@ -1383,6 +1633,10 @@ export declare const JourneysUpdate200: Schema.Struct<{
|
|
|
1383
1633
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
1384
1634
|
readonly config: Schema.Struct<{
|
|
1385
1635
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1636
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
1637
|
+
readonly eventProperty: Schema.String;
|
|
1638
|
+
readonly entryProperty: Schema.String;
|
|
1639
|
+
}>>;
|
|
1386
1640
|
readonly timeoutSeconds: Schema.Finite;
|
|
1387
1641
|
}>;
|
|
1388
1642
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -1437,6 +1691,21 @@ export declare const JourneysUpdate200: Schema.Struct<{
|
|
|
1437
1691
|
readonly type: Schema.Literal<"event">;
|
|
1438
1692
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1439
1693
|
readonly occurred: Schema.Boolean;
|
|
1694
|
+
}>, Schema.Struct<{
|
|
1695
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
1696
|
+
readonly property: Schema.String;
|
|
1697
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
1698
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
1699
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
1700
|
+
}>, Schema.Struct<{
|
|
1701
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
1702
|
+
readonly value: Schema.Finite;
|
|
1703
|
+
}>, Schema.Struct<{
|
|
1704
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
1705
|
+
readonly value: Schema.String;
|
|
1706
|
+
}>, Schema.Struct<{
|
|
1707
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
1708
|
+
}>]>;
|
|
1440
1709
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
1441
1710
|
readonly type: Schema.Literal<"tag">;
|
|
1442
1711
|
readonly tag: Schema.String;
|
|
@@ -1475,6 +1744,21 @@ export declare const JourneysUpdate200: Schema.Struct<{
|
|
|
1475
1744
|
readonly type: Schema.Literal<"event">;
|
|
1476
1745
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1477
1746
|
readonly occurred: Schema.Boolean;
|
|
1747
|
+
}>, Schema.Struct<{
|
|
1748
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
1749
|
+
readonly property: Schema.String;
|
|
1750
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
1751
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
1752
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
1753
|
+
}>, Schema.Struct<{
|
|
1754
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
1755
|
+
readonly value: Schema.Finite;
|
|
1756
|
+
}>, Schema.Struct<{
|
|
1757
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
1758
|
+
readonly value: Schema.String;
|
|
1759
|
+
}>, Schema.Struct<{
|
|
1760
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
1761
|
+
}>]>;
|
|
1478
1762
|
}>]>]>;
|
|
1479
1763
|
}>>;
|
|
1480
1764
|
}>>;
|
|
@@ -1491,6 +1775,7 @@ export declare const JourneysUpdate200: Schema.Struct<{
|
|
|
1491
1775
|
readonly type: Schema.Literal<"webhook">;
|
|
1492
1776
|
readonly config: Schema.Struct<{
|
|
1493
1777
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
1778
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1494
1779
|
}>;
|
|
1495
1780
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
1496
1781
|
readonly nodeId: Schema.String;
|
|
@@ -1504,10 +1789,13 @@ export declare const JourneysUpdate200: Schema.Struct<{
|
|
|
1504
1789
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1505
1790
|
}>>;
|
|
1506
1791
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
1507
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
1792
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1508
1793
|
readonly type: Schema.Literal<"shopify_order">;
|
|
1509
1794
|
readonly shop: Schema.String;
|
|
1510
|
-
}
|
|
1795
|
+
}>, Schema.Struct<{
|
|
1796
|
+
readonly type: Schema.Literal<"event_property">;
|
|
1797
|
+
readonly property: Schema.String;
|
|
1798
|
+
}>]>>;
|
|
1511
1799
|
}>;
|
|
1512
1800
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
1513
1801
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1537,6 +1825,7 @@ export declare const JourneysArchivePathParams: Schema.Struct<{
|
|
|
1537
1825
|
export type JourneysArchive200 = Journey;
|
|
1538
1826
|
export declare const JourneysArchive200: Schema.Struct<{
|
|
1539
1827
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
1828
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
1540
1829
|
readonly name: Schema.String;
|
|
1541
1830
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
1542
1831
|
readonly revision: Schema.String;
|
|
@@ -1560,7 +1849,13 @@ export declare const JourneysArchive200: Schema.Struct<{
|
|
|
1560
1849
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
1561
1850
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
1562
1851
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
1852
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
1853
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
1854
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
1855
|
+
}>>;
|
|
1856
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
1563
1857
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
1858
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1564
1859
|
}>;
|
|
1565
1860
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
1566
1861
|
readonly nodeId: Schema.String;
|
|
@@ -1581,6 +1876,7 @@ export declare const JourneysArchive200: Schema.Struct<{
|
|
|
1581
1876
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
1582
1877
|
}>>;
|
|
1583
1878
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1879
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
1584
1880
|
}>;
|
|
1585
1881
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
1586
1882
|
readonly nodeId: Schema.String;
|
|
@@ -1597,6 +1893,10 @@ export declare const JourneysArchive200: Schema.Struct<{
|
|
|
1597
1893
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
1598
1894
|
readonly config: Schema.Struct<{
|
|
1599
1895
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1896
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
1897
|
+
readonly eventProperty: Schema.String;
|
|
1898
|
+
readonly entryProperty: Schema.String;
|
|
1899
|
+
}>>;
|
|
1600
1900
|
readonly timeoutSeconds: Schema.Finite;
|
|
1601
1901
|
}>;
|
|
1602
1902
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -1651,6 +1951,21 @@ export declare const JourneysArchive200: Schema.Struct<{
|
|
|
1651
1951
|
readonly type: Schema.Literal<"event">;
|
|
1652
1952
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1653
1953
|
readonly occurred: Schema.Boolean;
|
|
1954
|
+
}>, Schema.Struct<{
|
|
1955
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
1956
|
+
readonly property: Schema.String;
|
|
1957
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
1958
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
1959
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
1960
|
+
}>, Schema.Struct<{
|
|
1961
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
1962
|
+
readonly value: Schema.Finite;
|
|
1963
|
+
}>, Schema.Struct<{
|
|
1964
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
1965
|
+
readonly value: Schema.String;
|
|
1966
|
+
}>, Schema.Struct<{
|
|
1967
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
1968
|
+
}>]>;
|
|
1654
1969
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
1655
1970
|
readonly type: Schema.Literal<"tag">;
|
|
1656
1971
|
readonly tag: Schema.String;
|
|
@@ -1689,6 +2004,21 @@ export declare const JourneysArchive200: Schema.Struct<{
|
|
|
1689
2004
|
readonly type: Schema.Literal<"event">;
|
|
1690
2005
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1691
2006
|
readonly occurred: Schema.Boolean;
|
|
2007
|
+
}>, Schema.Struct<{
|
|
2008
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
2009
|
+
readonly property: Schema.String;
|
|
2010
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
2011
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
2012
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
2013
|
+
}>, Schema.Struct<{
|
|
2014
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
2015
|
+
readonly value: Schema.Finite;
|
|
2016
|
+
}>, Schema.Struct<{
|
|
2017
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
2018
|
+
readonly value: Schema.String;
|
|
2019
|
+
}>, Schema.Struct<{
|
|
2020
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
2021
|
+
}>]>;
|
|
1692
2022
|
}>]>]>;
|
|
1693
2023
|
}>>;
|
|
1694
2024
|
}>>;
|
|
@@ -1705,6 +2035,7 @@ export declare const JourneysArchive200: Schema.Struct<{
|
|
|
1705
2035
|
readonly type: Schema.Literal<"webhook">;
|
|
1706
2036
|
readonly config: Schema.Struct<{
|
|
1707
2037
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
2038
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1708
2039
|
}>;
|
|
1709
2040
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
1710
2041
|
readonly nodeId: Schema.String;
|
|
@@ -1718,10 +2049,13 @@ export declare const JourneysArchive200: Schema.Struct<{
|
|
|
1718
2049
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1719
2050
|
}>>;
|
|
1720
2051
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
1721
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
2052
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1722
2053
|
readonly type: Schema.Literal<"shopify_order">;
|
|
1723
2054
|
readonly shop: Schema.String;
|
|
1724
|
-
}
|
|
2055
|
+
}>, Schema.Struct<{
|
|
2056
|
+
readonly type: Schema.Literal<"event_property">;
|
|
2057
|
+
readonly property: Schema.String;
|
|
2058
|
+
}>]>>;
|
|
1725
2059
|
}>;
|
|
1726
2060
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
1727
2061
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -1776,7 +2110,13 @@ export declare const JourneysReplaceDraftRequestJson: Schema.Struct<{
|
|
|
1776
2110
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
1777
2111
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
1778
2112
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
2113
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
2114
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
2115
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
2116
|
+
}>>;
|
|
2117
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
1779
2118
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
2119
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1780
2120
|
}>;
|
|
1781
2121
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
1782
2122
|
readonly nodeId: Schema.String;
|
|
@@ -1797,6 +2137,7 @@ export declare const JourneysReplaceDraftRequestJson: Schema.Struct<{
|
|
|
1797
2137
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
1798
2138
|
}>>;
|
|
1799
2139
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
2140
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
1800
2141
|
}>;
|
|
1801
2142
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
1802
2143
|
readonly nodeId: Schema.String;
|
|
@@ -1813,6 +2154,10 @@ export declare const JourneysReplaceDraftRequestJson: Schema.Struct<{
|
|
|
1813
2154
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
1814
2155
|
readonly config: Schema.Struct<{
|
|
1815
2156
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2157
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
2158
|
+
readonly eventProperty: Schema.String;
|
|
2159
|
+
readonly entryProperty: Schema.String;
|
|
2160
|
+
}>>;
|
|
1816
2161
|
readonly timeoutSeconds: Schema.Finite;
|
|
1817
2162
|
}>;
|
|
1818
2163
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -1867,6 +2212,21 @@ export declare const JourneysReplaceDraftRequestJson: Schema.Struct<{
|
|
|
1867
2212
|
readonly type: Schema.Literal<"event">;
|
|
1868
2213
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1869
2214
|
readonly occurred: Schema.Boolean;
|
|
2215
|
+
}>, Schema.Struct<{
|
|
2216
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
2217
|
+
readonly property: Schema.String;
|
|
2218
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
2219
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
2220
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
2221
|
+
}>, Schema.Struct<{
|
|
2222
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
2223
|
+
readonly value: Schema.Finite;
|
|
2224
|
+
}>, Schema.Struct<{
|
|
2225
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
2226
|
+
readonly value: Schema.String;
|
|
2227
|
+
}>, Schema.Struct<{
|
|
2228
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
2229
|
+
}>]>;
|
|
1870
2230
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
1871
2231
|
readonly type: Schema.Literal<"tag">;
|
|
1872
2232
|
readonly tag: Schema.String;
|
|
@@ -1905,6 +2265,21 @@ export declare const JourneysReplaceDraftRequestJson: Schema.Struct<{
|
|
|
1905
2265
|
readonly type: Schema.Literal<"event">;
|
|
1906
2266
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1907
2267
|
readonly occurred: Schema.Boolean;
|
|
2268
|
+
}>, Schema.Struct<{
|
|
2269
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
2270
|
+
readonly property: Schema.String;
|
|
2271
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
2272
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
2273
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
2274
|
+
}>, Schema.Struct<{
|
|
2275
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
2276
|
+
readonly value: Schema.Finite;
|
|
2277
|
+
}>, Schema.Struct<{
|
|
2278
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
2279
|
+
readonly value: Schema.String;
|
|
2280
|
+
}>, Schema.Struct<{
|
|
2281
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
2282
|
+
}>]>;
|
|
1908
2283
|
}>]>]>;
|
|
1909
2284
|
}>>;
|
|
1910
2285
|
}>>;
|
|
@@ -1921,6 +2296,7 @@ export declare const JourneysReplaceDraftRequestJson: Schema.Struct<{
|
|
|
1921
2296
|
readonly type: Schema.Literal<"webhook">;
|
|
1922
2297
|
readonly config: Schema.Struct<{
|
|
1923
2298
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
2299
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1924
2300
|
}>;
|
|
1925
2301
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
1926
2302
|
readonly nodeId: Schema.String;
|
|
@@ -1934,15 +2310,19 @@ export declare const JourneysReplaceDraftRequestJson: Schema.Struct<{
|
|
|
1934
2310
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
1935
2311
|
}>>;
|
|
1936
2312
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
1937
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
2313
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
1938
2314
|
readonly type: Schema.Literal<"shopify_order">;
|
|
1939
2315
|
readonly shop: Schema.String;
|
|
1940
|
-
}
|
|
2316
|
+
}>, Schema.Struct<{
|
|
2317
|
+
readonly type: Schema.Literal<"event_property">;
|
|
2318
|
+
readonly property: Schema.String;
|
|
2319
|
+
}>]>>;
|
|
1941
2320
|
}>;
|
|
1942
2321
|
}>;
|
|
1943
2322
|
export type JourneysReplaceDraft200 = Journey;
|
|
1944
2323
|
export declare const JourneysReplaceDraft200: Schema.Struct<{
|
|
1945
2324
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
2325
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
1946
2326
|
readonly name: Schema.String;
|
|
1947
2327
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
1948
2328
|
readonly revision: Schema.String;
|
|
@@ -1966,7 +2346,13 @@ export declare const JourneysReplaceDraft200: Schema.Struct<{
|
|
|
1966
2346
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
1967
2347
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
1968
2348
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
2349
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
2350
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
2351
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
2352
|
+
}>>;
|
|
2353
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
1969
2354
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
2355
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
1970
2356
|
}>;
|
|
1971
2357
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
1972
2358
|
readonly nodeId: Schema.String;
|
|
@@ -1987,6 +2373,7 @@ export declare const JourneysReplaceDraft200: Schema.Struct<{
|
|
|
1987
2373
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
1988
2374
|
}>>;
|
|
1989
2375
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
2376
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
1990
2377
|
}>;
|
|
1991
2378
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
1992
2379
|
readonly nodeId: Schema.String;
|
|
@@ -2003,6 +2390,10 @@ export declare const JourneysReplaceDraft200: Schema.Struct<{
|
|
|
2003
2390
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
2004
2391
|
readonly config: Schema.Struct<{
|
|
2005
2392
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2393
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
2394
|
+
readonly eventProperty: Schema.String;
|
|
2395
|
+
readonly entryProperty: Schema.String;
|
|
2396
|
+
}>>;
|
|
2006
2397
|
readonly timeoutSeconds: Schema.Finite;
|
|
2007
2398
|
}>;
|
|
2008
2399
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -2057,6 +2448,21 @@ export declare const JourneysReplaceDraft200: Schema.Struct<{
|
|
|
2057
2448
|
readonly type: Schema.Literal<"event">;
|
|
2058
2449
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2059
2450
|
readonly occurred: Schema.Boolean;
|
|
2451
|
+
}>, Schema.Struct<{
|
|
2452
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
2453
|
+
readonly property: Schema.String;
|
|
2454
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
2455
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
2456
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
2457
|
+
}>, Schema.Struct<{
|
|
2458
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
2459
|
+
readonly value: Schema.Finite;
|
|
2460
|
+
}>, Schema.Struct<{
|
|
2461
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
2462
|
+
readonly value: Schema.String;
|
|
2463
|
+
}>, Schema.Struct<{
|
|
2464
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
2465
|
+
}>]>;
|
|
2060
2466
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
2061
2467
|
readonly type: Schema.Literal<"tag">;
|
|
2062
2468
|
readonly tag: Schema.String;
|
|
@@ -2095,6 +2501,21 @@ export declare const JourneysReplaceDraft200: Schema.Struct<{
|
|
|
2095
2501
|
readonly type: Schema.Literal<"event">;
|
|
2096
2502
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2097
2503
|
readonly occurred: Schema.Boolean;
|
|
2504
|
+
}>, Schema.Struct<{
|
|
2505
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
2506
|
+
readonly property: Schema.String;
|
|
2507
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
2508
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
2509
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
2510
|
+
}>, Schema.Struct<{
|
|
2511
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
2512
|
+
readonly value: Schema.Finite;
|
|
2513
|
+
}>, Schema.Struct<{
|
|
2514
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
2515
|
+
readonly value: Schema.String;
|
|
2516
|
+
}>, Schema.Struct<{
|
|
2517
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
2518
|
+
}>]>;
|
|
2098
2519
|
}>]>]>;
|
|
2099
2520
|
}>>;
|
|
2100
2521
|
}>>;
|
|
@@ -2111,6 +2532,7 @@ export declare const JourneysReplaceDraft200: Schema.Struct<{
|
|
|
2111
2532
|
readonly type: Schema.Literal<"webhook">;
|
|
2112
2533
|
readonly config: Schema.Struct<{
|
|
2113
2534
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
2535
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
2114
2536
|
}>;
|
|
2115
2537
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
2116
2538
|
readonly nodeId: Schema.String;
|
|
@@ -2124,10 +2546,13 @@ export declare const JourneysReplaceDraft200: Schema.Struct<{
|
|
|
2124
2546
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2125
2547
|
}>>;
|
|
2126
2548
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
2127
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
2549
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2128
2550
|
readonly type: Schema.Literal<"shopify_order">;
|
|
2129
2551
|
readonly shop: Schema.String;
|
|
2130
|
-
}
|
|
2552
|
+
}>, Schema.Struct<{
|
|
2553
|
+
readonly type: Schema.Literal<"event_property">;
|
|
2554
|
+
readonly property: Schema.String;
|
|
2555
|
+
}>]>>;
|
|
2131
2556
|
}>;
|
|
2132
2557
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
2133
2558
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2163,6 +2588,7 @@ export declare const JourneysPausePathParams: Schema.Struct<{
|
|
|
2163
2588
|
export type JourneysPause200 = Journey;
|
|
2164
2589
|
export declare const JourneysPause200: Schema.Struct<{
|
|
2165
2590
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
2591
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
2166
2592
|
readonly name: Schema.String;
|
|
2167
2593
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
2168
2594
|
readonly revision: Schema.String;
|
|
@@ -2186,7 +2612,13 @@ export declare const JourneysPause200: Schema.Struct<{
|
|
|
2186
2612
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
2187
2613
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
2188
2614
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
2615
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
2616
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
2617
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
2618
|
+
}>>;
|
|
2619
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
2189
2620
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
2621
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
2190
2622
|
}>;
|
|
2191
2623
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
2192
2624
|
readonly nodeId: Schema.String;
|
|
@@ -2207,6 +2639,7 @@ export declare const JourneysPause200: Schema.Struct<{
|
|
|
2207
2639
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
2208
2640
|
}>>;
|
|
2209
2641
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
2642
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
2210
2643
|
}>;
|
|
2211
2644
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
2212
2645
|
readonly nodeId: Schema.String;
|
|
@@ -2223,6 +2656,10 @@ export declare const JourneysPause200: Schema.Struct<{
|
|
|
2223
2656
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
2224
2657
|
readonly config: Schema.Struct<{
|
|
2225
2658
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2659
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
2660
|
+
readonly eventProperty: Schema.String;
|
|
2661
|
+
readonly entryProperty: Schema.String;
|
|
2662
|
+
}>>;
|
|
2226
2663
|
readonly timeoutSeconds: Schema.Finite;
|
|
2227
2664
|
}>;
|
|
2228
2665
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -2277,6 +2714,21 @@ export declare const JourneysPause200: Schema.Struct<{
|
|
|
2277
2714
|
readonly type: Schema.Literal<"event">;
|
|
2278
2715
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2279
2716
|
readonly occurred: Schema.Boolean;
|
|
2717
|
+
}>, Schema.Struct<{
|
|
2718
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
2719
|
+
readonly property: Schema.String;
|
|
2720
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
2721
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
2722
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
2723
|
+
}>, Schema.Struct<{
|
|
2724
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
2725
|
+
readonly value: Schema.Finite;
|
|
2726
|
+
}>, Schema.Struct<{
|
|
2727
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
2728
|
+
readonly value: Schema.String;
|
|
2729
|
+
}>, Schema.Struct<{
|
|
2730
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
2731
|
+
}>]>;
|
|
2280
2732
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
2281
2733
|
readonly type: Schema.Literal<"tag">;
|
|
2282
2734
|
readonly tag: Schema.String;
|
|
@@ -2315,6 +2767,21 @@ export declare const JourneysPause200: Schema.Struct<{
|
|
|
2315
2767
|
readonly type: Schema.Literal<"event">;
|
|
2316
2768
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2317
2769
|
readonly occurred: Schema.Boolean;
|
|
2770
|
+
}>, Schema.Struct<{
|
|
2771
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
2772
|
+
readonly property: Schema.String;
|
|
2773
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
2774
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
2775
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
2776
|
+
}>, Schema.Struct<{
|
|
2777
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
2778
|
+
readonly value: Schema.Finite;
|
|
2779
|
+
}>, Schema.Struct<{
|
|
2780
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
2781
|
+
readonly value: Schema.String;
|
|
2782
|
+
}>, Schema.Struct<{
|
|
2783
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
2784
|
+
}>]>;
|
|
2318
2785
|
}>]>]>;
|
|
2319
2786
|
}>>;
|
|
2320
2787
|
}>>;
|
|
@@ -2331,6 +2798,7 @@ export declare const JourneysPause200: Schema.Struct<{
|
|
|
2331
2798
|
readonly type: Schema.Literal<"webhook">;
|
|
2332
2799
|
readonly config: Schema.Struct<{
|
|
2333
2800
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
2801
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
2334
2802
|
}>;
|
|
2335
2803
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
2336
2804
|
readonly nodeId: Schema.String;
|
|
@@ -2344,10 +2812,13 @@ export declare const JourneysPause200: Schema.Struct<{
|
|
|
2344
2812
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2345
2813
|
}>>;
|
|
2346
2814
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
2347
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
2815
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2348
2816
|
readonly type: Schema.Literal<"shopify_order">;
|
|
2349
2817
|
readonly shop: Schema.String;
|
|
2350
|
-
}
|
|
2818
|
+
}>, Schema.Struct<{
|
|
2819
|
+
readonly type: Schema.Literal<"event_property">;
|
|
2820
|
+
readonly property: Schema.String;
|
|
2821
|
+
}>]>>;
|
|
2351
2822
|
}>;
|
|
2352
2823
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
2353
2824
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2385,6 +2856,7 @@ export declare const JourneysPublishRequestJson: Schema.Struct<{
|
|
|
2385
2856
|
export type JourneysPublish200 = Journey;
|
|
2386
2857
|
export declare const JourneysPublish200: Schema.Struct<{
|
|
2387
2858
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
2859
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
2388
2860
|
readonly name: Schema.String;
|
|
2389
2861
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
2390
2862
|
readonly revision: Schema.String;
|
|
@@ -2408,7 +2880,13 @@ export declare const JourneysPublish200: Schema.Struct<{
|
|
|
2408
2880
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
2409
2881
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
2410
2882
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
2883
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
2884
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
2885
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
2886
|
+
}>>;
|
|
2887
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
2411
2888
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
2889
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
2412
2890
|
}>;
|
|
2413
2891
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
2414
2892
|
readonly nodeId: Schema.String;
|
|
@@ -2429,6 +2907,7 @@ export declare const JourneysPublish200: Schema.Struct<{
|
|
|
2429
2907
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
2430
2908
|
}>>;
|
|
2431
2909
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
2910
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
2432
2911
|
}>;
|
|
2433
2912
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
2434
2913
|
readonly nodeId: Schema.String;
|
|
@@ -2445,6 +2924,10 @@ export declare const JourneysPublish200: Schema.Struct<{
|
|
|
2445
2924
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
2446
2925
|
readonly config: Schema.Struct<{
|
|
2447
2926
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2927
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
2928
|
+
readonly eventProperty: Schema.String;
|
|
2929
|
+
readonly entryProperty: Schema.String;
|
|
2930
|
+
}>>;
|
|
2448
2931
|
readonly timeoutSeconds: Schema.Finite;
|
|
2449
2932
|
}>;
|
|
2450
2933
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -2499,6 +2982,21 @@ export declare const JourneysPublish200: Schema.Struct<{
|
|
|
2499
2982
|
readonly type: Schema.Literal<"event">;
|
|
2500
2983
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2501
2984
|
readonly occurred: Schema.Boolean;
|
|
2985
|
+
}>, Schema.Struct<{
|
|
2986
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
2987
|
+
readonly property: Schema.String;
|
|
2988
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
2989
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
2990
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
2991
|
+
}>, Schema.Struct<{
|
|
2992
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
2993
|
+
readonly value: Schema.Finite;
|
|
2994
|
+
}>, Schema.Struct<{
|
|
2995
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
2996
|
+
readonly value: Schema.String;
|
|
2997
|
+
}>, Schema.Struct<{
|
|
2998
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
2999
|
+
}>]>;
|
|
2502
3000
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
2503
3001
|
readonly type: Schema.Literal<"tag">;
|
|
2504
3002
|
readonly tag: Schema.String;
|
|
@@ -2537,6 +3035,21 @@ export declare const JourneysPublish200: Schema.Struct<{
|
|
|
2537
3035
|
readonly type: Schema.Literal<"event">;
|
|
2538
3036
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2539
3037
|
readonly occurred: Schema.Boolean;
|
|
3038
|
+
}>, Schema.Struct<{
|
|
3039
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
3040
|
+
readonly property: Schema.String;
|
|
3041
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
3042
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
3043
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
3044
|
+
}>, Schema.Struct<{
|
|
3045
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
3046
|
+
readonly value: Schema.Finite;
|
|
3047
|
+
}>, Schema.Struct<{
|
|
3048
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
3049
|
+
readonly value: Schema.String;
|
|
3050
|
+
}>, Schema.Struct<{
|
|
3051
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
3052
|
+
}>]>;
|
|
2540
3053
|
}>]>]>;
|
|
2541
3054
|
}>>;
|
|
2542
3055
|
}>>;
|
|
@@ -2553,6 +3066,7 @@ export declare const JourneysPublish200: Schema.Struct<{
|
|
|
2553
3066
|
readonly type: Schema.Literal<"webhook">;
|
|
2554
3067
|
readonly config: Schema.Struct<{
|
|
2555
3068
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
3069
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
2556
3070
|
}>;
|
|
2557
3071
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
2558
3072
|
readonly nodeId: Schema.String;
|
|
@@ -2566,10 +3080,13 @@ export declare const JourneysPublish200: Schema.Struct<{
|
|
|
2566
3080
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2567
3081
|
}>>;
|
|
2568
3082
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
2569
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
3083
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2570
3084
|
readonly type: Schema.Literal<"shopify_order">;
|
|
2571
3085
|
readonly shop: Schema.String;
|
|
2572
|
-
}
|
|
3086
|
+
}>, Schema.Struct<{
|
|
3087
|
+
readonly type: Schema.Literal<"event_property">;
|
|
3088
|
+
readonly property: Schema.String;
|
|
3089
|
+
}>]>>;
|
|
2573
3090
|
}>;
|
|
2574
3091
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
2575
3092
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2605,6 +3122,7 @@ export declare const JourneysResumePathParams: Schema.Struct<{
|
|
|
2605
3122
|
export type JourneysResume200 = Journey;
|
|
2606
3123
|
export declare const JourneysResume200: Schema.Struct<{
|
|
2607
3124
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
3125
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
2608
3126
|
readonly name: Schema.String;
|
|
2609
3127
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
2610
3128
|
readonly revision: Schema.String;
|
|
@@ -2628,7 +3146,13 @@ export declare const JourneysResume200: Schema.Struct<{
|
|
|
2628
3146
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
2629
3147
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
2630
3148
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
3149
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
3150
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
3151
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
3152
|
+
}>>;
|
|
3153
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
2631
3154
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
3155
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
2632
3156
|
}>;
|
|
2633
3157
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
2634
3158
|
readonly nodeId: Schema.String;
|
|
@@ -2649,6 +3173,7 @@ export declare const JourneysResume200: Schema.Struct<{
|
|
|
2649
3173
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
2650
3174
|
}>>;
|
|
2651
3175
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
3176
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
2652
3177
|
}>;
|
|
2653
3178
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
2654
3179
|
readonly nodeId: Schema.String;
|
|
@@ -2665,6 +3190,10 @@ export declare const JourneysResume200: Schema.Struct<{
|
|
|
2665
3190
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
2666
3191
|
readonly config: Schema.Struct<{
|
|
2667
3192
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
3193
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
3194
|
+
readonly eventProperty: Schema.String;
|
|
3195
|
+
readonly entryProperty: Schema.String;
|
|
3196
|
+
}>>;
|
|
2668
3197
|
readonly timeoutSeconds: Schema.Finite;
|
|
2669
3198
|
}>;
|
|
2670
3199
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -2719,6 +3248,21 @@ export declare const JourneysResume200: Schema.Struct<{
|
|
|
2719
3248
|
readonly type: Schema.Literal<"event">;
|
|
2720
3249
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2721
3250
|
readonly occurred: Schema.Boolean;
|
|
3251
|
+
}>, Schema.Struct<{
|
|
3252
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
3253
|
+
readonly property: Schema.String;
|
|
3254
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
3255
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
3256
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
3257
|
+
}>, Schema.Struct<{
|
|
3258
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
3259
|
+
readonly value: Schema.Finite;
|
|
3260
|
+
}>, Schema.Struct<{
|
|
3261
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
3262
|
+
readonly value: Schema.String;
|
|
3263
|
+
}>, Schema.Struct<{
|
|
3264
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
3265
|
+
}>]>;
|
|
2722
3266
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
2723
3267
|
readonly type: Schema.Literal<"tag">;
|
|
2724
3268
|
readonly tag: Schema.String;
|
|
@@ -2757,6 +3301,21 @@ export declare const JourneysResume200: Schema.Struct<{
|
|
|
2757
3301
|
readonly type: Schema.Literal<"event">;
|
|
2758
3302
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2759
3303
|
readonly occurred: Schema.Boolean;
|
|
3304
|
+
}>, Schema.Struct<{
|
|
3305
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
3306
|
+
readonly property: Schema.String;
|
|
3307
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
3308
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
3309
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
3310
|
+
}>, Schema.Struct<{
|
|
3311
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
3312
|
+
readonly value: Schema.Finite;
|
|
3313
|
+
}>, Schema.Struct<{
|
|
3314
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
3315
|
+
readonly value: Schema.String;
|
|
3316
|
+
}>, Schema.Struct<{
|
|
3317
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
3318
|
+
}>]>;
|
|
2760
3319
|
}>]>]>;
|
|
2761
3320
|
}>>;
|
|
2762
3321
|
}>>;
|
|
@@ -2773,6 +3332,7 @@ export declare const JourneysResume200: Schema.Struct<{
|
|
|
2773
3332
|
readonly type: Schema.Literal<"webhook">;
|
|
2774
3333
|
readonly config: Schema.Struct<{
|
|
2775
3334
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
3335
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
2776
3336
|
}>;
|
|
2777
3337
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
2778
3338
|
readonly nodeId: Schema.String;
|
|
@@ -2786,10 +3346,13 @@ export declare const JourneysResume200: Schema.Struct<{
|
|
|
2786
3346
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
2787
3347
|
}>>;
|
|
2788
3348
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
2789
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
3349
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
2790
3350
|
readonly type: Schema.Literal<"shopify_order">;
|
|
2791
3351
|
readonly shop: Schema.String;
|
|
2792
|
-
}
|
|
3352
|
+
}>, Schema.Struct<{
|
|
3353
|
+
readonly type: Schema.Literal<"event_property">;
|
|
3354
|
+
readonly property: Schema.String;
|
|
3355
|
+
}>]>>;
|
|
2793
3356
|
}>;
|
|
2794
3357
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
2795
3358
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -2838,6 +3401,7 @@ export type JourneysListRuns200 = JourneyRunPage;
|
|
|
2838
3401
|
export declare const JourneysListRuns200: Schema.Struct<{
|
|
2839
3402
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
2840
3403
|
readonly id: Schema.brand<Schema.String, "JourneyRunId">;
|
|
3404
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
2841
3405
|
readonly journeyId: Schema.brand<Schema.String, "JourneyId">;
|
|
2842
3406
|
readonly version: Schema.Finite;
|
|
2843
3407
|
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
@@ -2882,6 +3446,7 @@ export declare const JourneysGetRunPathParams: Schema.Struct<{
|
|
|
2882
3446
|
export type JourneysGetRun200 = JourneyRunDetail;
|
|
2883
3447
|
export declare const JourneysGetRun200: Schema.Struct<{
|
|
2884
3448
|
readonly id: Schema.brand<Schema.String, "JourneyRunId">;
|
|
3449
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
2885
3450
|
readonly journeyId: Schema.brand<Schema.String, "JourneyId">;
|
|
2886
3451
|
readonly version: Schema.Finite;
|
|
2887
3452
|
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
@@ -2997,7 +3562,13 @@ export declare const JourneysGetVersion200: Schema.Struct<{
|
|
|
2997
3562
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
2998
3563
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
2999
3564
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
3565
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
3566
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
3567
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
3568
|
+
}>>;
|
|
3569
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
3000
3570
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
3571
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
3001
3572
|
}>;
|
|
3002
3573
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
3003
3574
|
readonly nodeId: Schema.String;
|
|
@@ -3018,6 +3589,7 @@ export declare const JourneysGetVersion200: Schema.Struct<{
|
|
|
3018
3589
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
3019
3590
|
}>>;
|
|
3020
3591
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
3592
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
3021
3593
|
}>;
|
|
3022
3594
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
3023
3595
|
readonly nodeId: Schema.String;
|
|
@@ -3034,6 +3606,10 @@ export declare const JourneysGetVersion200: Schema.Struct<{
|
|
|
3034
3606
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
3035
3607
|
readonly config: Schema.Struct<{
|
|
3036
3608
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
3609
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
3610
|
+
readonly eventProperty: Schema.String;
|
|
3611
|
+
readonly entryProperty: Schema.String;
|
|
3612
|
+
}>>;
|
|
3037
3613
|
readonly timeoutSeconds: Schema.Finite;
|
|
3038
3614
|
}>;
|
|
3039
3615
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -3088,6 +3664,21 @@ export declare const JourneysGetVersion200: Schema.Struct<{
|
|
|
3088
3664
|
readonly type: Schema.Literal<"event">;
|
|
3089
3665
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
3090
3666
|
readonly occurred: Schema.Boolean;
|
|
3667
|
+
}>, Schema.Struct<{
|
|
3668
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
3669
|
+
readonly property: Schema.String;
|
|
3670
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
3671
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
3672
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
3673
|
+
}>, Schema.Struct<{
|
|
3674
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
3675
|
+
readonly value: Schema.Finite;
|
|
3676
|
+
}>, Schema.Struct<{
|
|
3677
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
3678
|
+
readonly value: Schema.String;
|
|
3679
|
+
}>, Schema.Struct<{
|
|
3680
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
3681
|
+
}>]>;
|
|
3091
3682
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
3092
3683
|
readonly type: Schema.Literal<"tag">;
|
|
3093
3684
|
readonly tag: Schema.String;
|
|
@@ -3126,6 +3717,21 @@ export declare const JourneysGetVersion200: Schema.Struct<{
|
|
|
3126
3717
|
readonly type: Schema.Literal<"event">;
|
|
3127
3718
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
3128
3719
|
readonly occurred: Schema.Boolean;
|
|
3720
|
+
}>, Schema.Struct<{
|
|
3721
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
3722
|
+
readonly property: Schema.String;
|
|
3723
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
3724
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
3725
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
3726
|
+
}>, Schema.Struct<{
|
|
3727
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
3728
|
+
readonly value: Schema.Finite;
|
|
3729
|
+
}>, Schema.Struct<{
|
|
3730
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
3731
|
+
readonly value: Schema.String;
|
|
3732
|
+
}>, Schema.Struct<{
|
|
3733
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
3734
|
+
}>]>;
|
|
3129
3735
|
}>]>]>;
|
|
3130
3736
|
}>>;
|
|
3131
3737
|
}>>;
|
|
@@ -3142,6 +3748,7 @@ export declare const JourneysGetVersion200: Schema.Struct<{
|
|
|
3142
3748
|
readonly type: Schema.Literal<"webhook">;
|
|
3143
3749
|
readonly config: Schema.Struct<{
|
|
3144
3750
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
3751
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
3145
3752
|
}>;
|
|
3146
3753
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
3147
3754
|
readonly nodeId: Schema.String;
|
|
@@ -3155,10 +3762,13 @@ export declare const JourneysGetVersion200: Schema.Struct<{
|
|
|
3155
3762
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
3156
3763
|
}>>;
|
|
3157
3764
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
3158
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
3765
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3159
3766
|
readonly type: Schema.Literal<"shopify_order">;
|
|
3160
3767
|
readonly shop: Schema.String;
|
|
3161
|
-
}
|
|
3768
|
+
}>, Schema.Struct<{
|
|
3769
|
+
readonly type: Schema.Literal<"event_property">;
|
|
3770
|
+
readonly property: Schema.String;
|
|
3771
|
+
}>]>>;
|
|
3162
3772
|
}>;
|
|
3163
3773
|
readonly publishedAt: Schema.String;
|
|
3164
3774
|
}>;
|
|
@@ -3180,6 +3790,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3180
3790
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
3181
3791
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
3182
3792
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
3793
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
3183
3794
|
readonly name: Schema.String;
|
|
3184
3795
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
3185
3796
|
readonly revision: Schema.String;
|
|
@@ -3203,7 +3814,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3203
3814
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
3204
3815
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
3205
3816
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
3817
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
3818
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
3819
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
3820
|
+
}>>;
|
|
3821
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
3206
3822
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
3823
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
3207
3824
|
}>;
|
|
3208
3825
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
3209
3826
|
readonly nodeId: Schema.String;
|
|
@@ -3224,6 +3841,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3224
3841
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
3225
3842
|
}>>;
|
|
3226
3843
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
3844
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
3227
3845
|
}>;
|
|
3228
3846
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
3229
3847
|
readonly nodeId: Schema.String;
|
|
@@ -3240,6 +3858,10 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3240
3858
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
3241
3859
|
readonly config: Schema.Struct<{
|
|
3242
3860
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
3861
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
3862
|
+
readonly eventProperty: Schema.String;
|
|
3863
|
+
readonly entryProperty: Schema.String;
|
|
3864
|
+
}>>;
|
|
3243
3865
|
readonly timeoutSeconds: Schema.Finite;
|
|
3244
3866
|
}>;
|
|
3245
3867
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -3294,6 +3916,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3294
3916
|
readonly type: Schema.Literal<"event">;
|
|
3295
3917
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
3296
3918
|
readonly occurred: Schema.Boolean;
|
|
3919
|
+
}>, Schema.Struct<{
|
|
3920
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
3921
|
+
readonly property: Schema.String;
|
|
3922
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
3923
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
3924
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
3925
|
+
}>, Schema.Struct<{
|
|
3926
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
3927
|
+
readonly value: Schema.Finite;
|
|
3928
|
+
}>, Schema.Struct<{
|
|
3929
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
3930
|
+
readonly value: Schema.String;
|
|
3931
|
+
}>, Schema.Struct<{
|
|
3932
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
3933
|
+
}>]>;
|
|
3297
3934
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
3298
3935
|
readonly type: Schema.Literal<"tag">;
|
|
3299
3936
|
readonly tag: Schema.String;
|
|
@@ -3332,6 +3969,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3332
3969
|
readonly type: Schema.Literal<"event">;
|
|
3333
3970
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
3334
3971
|
readonly occurred: Schema.Boolean;
|
|
3972
|
+
}>, Schema.Struct<{
|
|
3973
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
3974
|
+
readonly property: Schema.String;
|
|
3975
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
3976
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
3977
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
3978
|
+
}>, Schema.Struct<{
|
|
3979
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
3980
|
+
readonly value: Schema.Finite;
|
|
3981
|
+
}>, Schema.Struct<{
|
|
3982
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
3983
|
+
readonly value: Schema.String;
|
|
3984
|
+
}>, Schema.Struct<{
|
|
3985
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
3986
|
+
}>]>;
|
|
3335
3987
|
}>]>]>;
|
|
3336
3988
|
}>>;
|
|
3337
3989
|
}>>;
|
|
@@ -3348,6 +4000,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3348
4000
|
readonly type: Schema.Literal<"webhook">;
|
|
3349
4001
|
readonly config: Schema.Struct<{
|
|
3350
4002
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
4003
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
3351
4004
|
}>;
|
|
3352
4005
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
3353
4006
|
readonly nodeId: Schema.String;
|
|
@@ -3361,10 +4014,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3361
4014
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
3362
4015
|
}>>;
|
|
3363
4016
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
3364
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
4017
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3365
4018
|
readonly type: Schema.Literal<"shopify_order">;
|
|
3366
4019
|
readonly shop: Schema.String;
|
|
3367
|
-
}
|
|
4020
|
+
}>, Schema.Struct<{
|
|
4021
|
+
readonly type: Schema.Literal<"event_property">;
|
|
4022
|
+
readonly property: Schema.String;
|
|
4023
|
+
}>]>>;
|
|
3368
4024
|
}>;
|
|
3369
4025
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
3370
4026
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -3492,6 +4148,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3492
4148
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
3493
4149
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"journeysCreate", "POST", "/v1/journeys", never, never, Schema.toCodecJson<Schema.Struct<{
|
|
3494
4150
|
readonly name: Schema.String;
|
|
4151
|
+
readonly namespaceId: Schema.optionalKey<Schema.brand<Schema.String, "NamespaceId">>;
|
|
3495
4152
|
readonly definition: Schema.Struct<{
|
|
3496
4153
|
readonly trigger: Schema.Union<readonly [Schema.Struct<{
|
|
3497
4154
|
readonly type: Schema.Literal<"event">;
|
|
@@ -3512,7 +4169,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3512
4169
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
3513
4170
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
3514
4171
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
4172
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
4173
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
4174
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
4175
|
+
}>>;
|
|
4176
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
3515
4177
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
4178
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
3516
4179
|
}>;
|
|
3517
4180
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
3518
4181
|
readonly nodeId: Schema.String;
|
|
@@ -3533,6 +4196,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3533
4196
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
3534
4197
|
}>>;
|
|
3535
4198
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
4199
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
3536
4200
|
}>;
|
|
3537
4201
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
3538
4202
|
readonly nodeId: Schema.String;
|
|
@@ -3549,6 +4213,10 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3549
4213
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
3550
4214
|
readonly config: Schema.Struct<{
|
|
3551
4215
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
4216
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
4217
|
+
readonly eventProperty: Schema.String;
|
|
4218
|
+
readonly entryProperty: Schema.String;
|
|
4219
|
+
}>>;
|
|
3552
4220
|
readonly timeoutSeconds: Schema.Finite;
|
|
3553
4221
|
}>;
|
|
3554
4222
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -3603,6 +4271,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3603
4271
|
readonly type: Schema.Literal<"event">;
|
|
3604
4272
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
3605
4273
|
readonly occurred: Schema.Boolean;
|
|
4274
|
+
}>, Schema.Struct<{
|
|
4275
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
4276
|
+
readonly property: Schema.String;
|
|
4277
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
4278
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
4279
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
4280
|
+
}>, Schema.Struct<{
|
|
4281
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
4282
|
+
readonly value: Schema.Finite;
|
|
4283
|
+
}>, Schema.Struct<{
|
|
4284
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
4285
|
+
readonly value: Schema.String;
|
|
4286
|
+
}>, Schema.Struct<{
|
|
4287
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
4288
|
+
}>]>;
|
|
3606
4289
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
3607
4290
|
readonly type: Schema.Literal<"tag">;
|
|
3608
4291
|
readonly tag: Schema.String;
|
|
@@ -3641,6 +4324,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3641
4324
|
readonly type: Schema.Literal<"event">;
|
|
3642
4325
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
3643
4326
|
readonly occurred: Schema.Boolean;
|
|
4327
|
+
}>, Schema.Struct<{
|
|
4328
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
4329
|
+
readonly property: Schema.String;
|
|
4330
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
4331
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
4332
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
4333
|
+
}>, Schema.Struct<{
|
|
4334
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
4335
|
+
readonly value: Schema.Finite;
|
|
4336
|
+
}>, Schema.Struct<{
|
|
4337
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
4338
|
+
readonly value: Schema.String;
|
|
4339
|
+
}>, Schema.Struct<{
|
|
4340
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
4341
|
+
}>]>;
|
|
3644
4342
|
}>]>]>;
|
|
3645
4343
|
}>>;
|
|
3646
4344
|
}>>;
|
|
@@ -3657,6 +4355,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3657
4355
|
readonly type: Schema.Literal<"webhook">;
|
|
3658
4356
|
readonly config: Schema.Struct<{
|
|
3659
4357
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
4358
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
3660
4359
|
}>;
|
|
3661
4360
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
3662
4361
|
readonly nodeId: Schema.String;
|
|
@@ -3670,13 +4369,17 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3670
4369
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
3671
4370
|
}>>;
|
|
3672
4371
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
3673
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
4372
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3674
4373
|
readonly type: Schema.Literal<"shopify_order">;
|
|
3675
4374
|
readonly shop: Schema.String;
|
|
3676
|
-
}
|
|
4375
|
+
}>, Schema.Struct<{
|
|
4376
|
+
readonly type: Schema.Literal<"event_property">;
|
|
4377
|
+
readonly property: Schema.String;
|
|
4378
|
+
}>]>>;
|
|
3677
4379
|
}>;
|
|
3678
4380
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
3679
4381
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
4382
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
3680
4383
|
readonly name: Schema.String;
|
|
3681
4384
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
3682
4385
|
readonly revision: Schema.String;
|
|
@@ -3700,7 +4403,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3700
4403
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
3701
4404
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
3702
4405
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
4406
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
4407
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
4408
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
4409
|
+
}>>;
|
|
4410
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
3703
4411
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
4412
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
3704
4413
|
}>;
|
|
3705
4414
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
3706
4415
|
readonly nodeId: Schema.String;
|
|
@@ -3721,6 +4430,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3721
4430
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
3722
4431
|
}>>;
|
|
3723
4432
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
4433
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
3724
4434
|
}>;
|
|
3725
4435
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
3726
4436
|
readonly nodeId: Schema.String;
|
|
@@ -3737,6 +4447,10 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3737
4447
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
3738
4448
|
readonly config: Schema.Struct<{
|
|
3739
4449
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
4450
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
4451
|
+
readonly eventProperty: Schema.String;
|
|
4452
|
+
readonly entryProperty: Schema.String;
|
|
4453
|
+
}>>;
|
|
3740
4454
|
readonly timeoutSeconds: Schema.Finite;
|
|
3741
4455
|
}>;
|
|
3742
4456
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -3791,6 +4505,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3791
4505
|
readonly type: Schema.Literal<"event">;
|
|
3792
4506
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
3793
4507
|
readonly occurred: Schema.Boolean;
|
|
4508
|
+
}>, Schema.Struct<{
|
|
4509
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
4510
|
+
readonly property: Schema.String;
|
|
4511
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
4512
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
4513
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
4514
|
+
}>, Schema.Struct<{
|
|
4515
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
4516
|
+
readonly value: Schema.Finite;
|
|
4517
|
+
}>, Schema.Struct<{
|
|
4518
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
4519
|
+
readonly value: Schema.String;
|
|
4520
|
+
}>, Schema.Struct<{
|
|
4521
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
4522
|
+
}>]>;
|
|
3794
4523
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
3795
4524
|
readonly type: Schema.Literal<"tag">;
|
|
3796
4525
|
readonly tag: Schema.String;
|
|
@@ -3829,6 +4558,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3829
4558
|
readonly type: Schema.Literal<"event">;
|
|
3830
4559
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
3831
4560
|
readonly occurred: Schema.Boolean;
|
|
4561
|
+
}>, Schema.Struct<{
|
|
4562
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
4563
|
+
readonly property: Schema.String;
|
|
4564
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
4565
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
4566
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
4567
|
+
}>, Schema.Struct<{
|
|
4568
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
4569
|
+
readonly value: Schema.Finite;
|
|
4570
|
+
}>, Schema.Struct<{
|
|
4571
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
4572
|
+
readonly value: Schema.String;
|
|
4573
|
+
}>, Schema.Struct<{
|
|
4574
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
4575
|
+
}>]>;
|
|
3832
4576
|
}>]>]>;
|
|
3833
4577
|
}>>;
|
|
3834
4578
|
}>>;
|
|
@@ -3845,6 +4589,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3845
4589
|
readonly type: Schema.Literal<"webhook">;
|
|
3846
4590
|
readonly config: Schema.Struct<{
|
|
3847
4591
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
4592
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
3848
4593
|
}>;
|
|
3849
4594
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
3850
4595
|
readonly nodeId: Schema.String;
|
|
@@ -3858,10 +4603,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
3858
4603
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
3859
4604
|
}>>;
|
|
3860
4605
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
3861
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
4606
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
3862
4607
|
readonly type: Schema.Literal<"shopify_order">;
|
|
3863
4608
|
readonly shop: Schema.String;
|
|
3864
|
-
}
|
|
4609
|
+
}>, Schema.Struct<{
|
|
4610
|
+
readonly type: Schema.Literal<"event_property">;
|
|
4611
|
+
readonly property: Schema.String;
|
|
4612
|
+
}>]>>;
|
|
3865
4613
|
}>;
|
|
3866
4614
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
3867
4615
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -4027,6 +4775,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4027
4775
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
4028
4776
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
4029
4777
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
4778
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
4030
4779
|
readonly name: Schema.String;
|
|
4031
4780
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
4032
4781
|
readonly revision: Schema.String;
|
|
@@ -4050,7 +4799,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4050
4799
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
4051
4800
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
4052
4801
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
4802
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
4803
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
4804
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
4805
|
+
}>>;
|
|
4806
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
4053
4807
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
4808
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
4054
4809
|
}>;
|
|
4055
4810
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
4056
4811
|
readonly nodeId: Schema.String;
|
|
@@ -4071,6 +4826,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4071
4826
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
4072
4827
|
}>>;
|
|
4073
4828
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
4829
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
4074
4830
|
}>;
|
|
4075
4831
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
4076
4832
|
readonly nodeId: Schema.String;
|
|
@@ -4087,6 +4843,10 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4087
4843
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
4088
4844
|
readonly config: Schema.Struct<{
|
|
4089
4845
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
4846
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
4847
|
+
readonly eventProperty: Schema.String;
|
|
4848
|
+
readonly entryProperty: Schema.String;
|
|
4849
|
+
}>>;
|
|
4090
4850
|
readonly timeoutSeconds: Schema.Finite;
|
|
4091
4851
|
}>;
|
|
4092
4852
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -4123,8 +4883,27 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4123
4883
|
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
4124
4884
|
}>]>;
|
|
4125
4885
|
}>, Schema.Struct<{
|
|
4126
|
-
readonly type: Schema.Literal<"custom_field">;
|
|
4127
|
-
readonly key: Schema.String;
|
|
4886
|
+
readonly type: Schema.Literal<"custom_field">;
|
|
4887
|
+
readonly key: Schema.String;
|
|
4888
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
4889
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
4890
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
4891
|
+
}>, Schema.Struct<{
|
|
4892
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
4893
|
+
readonly value: Schema.Finite;
|
|
4894
|
+
}>, Schema.Struct<{
|
|
4895
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
4896
|
+
readonly value: Schema.String;
|
|
4897
|
+
}>, Schema.Struct<{
|
|
4898
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
4899
|
+
}>]>;
|
|
4900
|
+
}>, Schema.Struct<{
|
|
4901
|
+
readonly type: Schema.Literal<"event">;
|
|
4902
|
+
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
4903
|
+
readonly occurred: Schema.Boolean;
|
|
4904
|
+
}>, Schema.Struct<{
|
|
4905
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
4906
|
+
readonly property: Schema.String;
|
|
4128
4907
|
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
4129
4908
|
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
4130
4909
|
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
@@ -4137,10 +4916,6 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4137
4916
|
}>, Schema.Struct<{
|
|
4138
4917
|
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
4139
4918
|
}>]>;
|
|
4140
|
-
}>, Schema.Struct<{
|
|
4141
|
-
readonly type: Schema.Literal<"event">;
|
|
4142
|
-
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
4143
|
-
readonly occurred: Schema.Boolean;
|
|
4144
4919
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
4145
4920
|
readonly type: Schema.Literal<"tag">;
|
|
4146
4921
|
readonly tag: Schema.String;
|
|
@@ -4179,6 +4954,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4179
4954
|
readonly type: Schema.Literal<"event">;
|
|
4180
4955
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
4181
4956
|
readonly occurred: Schema.Boolean;
|
|
4957
|
+
}>, Schema.Struct<{
|
|
4958
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
4959
|
+
readonly property: Schema.String;
|
|
4960
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
4961
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
4962
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
4963
|
+
}>, Schema.Struct<{
|
|
4964
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
4965
|
+
readonly value: Schema.Finite;
|
|
4966
|
+
}>, Schema.Struct<{
|
|
4967
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
4968
|
+
readonly value: Schema.String;
|
|
4969
|
+
}>, Schema.Struct<{
|
|
4970
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
4971
|
+
}>]>;
|
|
4182
4972
|
}>]>]>;
|
|
4183
4973
|
}>>;
|
|
4184
4974
|
}>>;
|
|
@@ -4195,6 +4985,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4195
4985
|
readonly type: Schema.Literal<"webhook">;
|
|
4196
4986
|
readonly config: Schema.Struct<{
|
|
4197
4987
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
4988
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
4198
4989
|
}>;
|
|
4199
4990
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
4200
4991
|
readonly nodeId: Schema.String;
|
|
@@ -4208,10 +4999,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4208
4999
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
4209
5000
|
}>>;
|
|
4210
5001
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
4211
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
5002
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4212
5003
|
readonly type: Schema.Literal<"shopify_order">;
|
|
4213
5004
|
readonly shop: Schema.String;
|
|
4214
|
-
}
|
|
5005
|
+
}>, Schema.Struct<{
|
|
5006
|
+
readonly type: Schema.Literal<"event_property">;
|
|
5007
|
+
readonly property: Schema.String;
|
|
5008
|
+
}>]>>;
|
|
4215
5009
|
}>;
|
|
4216
5010
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
4217
5011
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -4322,6 +5116,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4322
5116
|
readonly runId: Schema.brand<Schema.String, "JourneyRunId">;
|
|
4323
5117
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
4324
5118
|
readonly id: Schema.brand<Schema.String, "JourneyRunId">;
|
|
5119
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
4325
5120
|
readonly journeyId: Schema.brand<Schema.String, "JourneyId">;
|
|
4326
5121
|
readonly version: Schema.Finite;
|
|
4327
5122
|
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
@@ -4474,7 +5269,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4474
5269
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
4475
5270
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
4476
5271
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
5272
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
5273
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
5274
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
5275
|
+
}>>;
|
|
5276
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
4477
5277
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
5278
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
4478
5279
|
}>;
|
|
4479
5280
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
4480
5281
|
readonly nodeId: Schema.String;
|
|
@@ -4495,6 +5296,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4495
5296
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
4496
5297
|
}>>;
|
|
4497
5298
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
5299
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
4498
5300
|
}>;
|
|
4499
5301
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
4500
5302
|
readonly nodeId: Schema.String;
|
|
@@ -4511,6 +5313,10 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4511
5313
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
4512
5314
|
readonly config: Schema.Struct<{
|
|
4513
5315
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
5316
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
5317
|
+
readonly eventProperty: Schema.String;
|
|
5318
|
+
readonly entryProperty: Schema.String;
|
|
5319
|
+
}>>;
|
|
4514
5320
|
readonly timeoutSeconds: Schema.Finite;
|
|
4515
5321
|
}>;
|
|
4516
5322
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -4565,6 +5371,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4565
5371
|
readonly type: Schema.Literal<"event">;
|
|
4566
5372
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
4567
5373
|
readonly occurred: Schema.Boolean;
|
|
5374
|
+
}>, Schema.Struct<{
|
|
5375
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
5376
|
+
readonly property: Schema.String;
|
|
5377
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
5378
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
5379
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
5380
|
+
}>, Schema.Struct<{
|
|
5381
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
5382
|
+
readonly value: Schema.Finite;
|
|
5383
|
+
}>, Schema.Struct<{
|
|
5384
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
5385
|
+
readonly value: Schema.String;
|
|
5386
|
+
}>, Schema.Struct<{
|
|
5387
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
5388
|
+
}>]>;
|
|
4568
5389
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
4569
5390
|
readonly type: Schema.Literal<"tag">;
|
|
4570
5391
|
readonly tag: Schema.String;
|
|
@@ -4603,6 +5424,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4603
5424
|
readonly type: Schema.Literal<"event">;
|
|
4604
5425
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
4605
5426
|
readonly occurred: Schema.Boolean;
|
|
5427
|
+
}>, Schema.Struct<{
|
|
5428
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
5429
|
+
readonly property: Schema.String;
|
|
5430
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
5431
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
5432
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
5433
|
+
}>, Schema.Struct<{
|
|
5434
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
5435
|
+
readonly value: Schema.Finite;
|
|
5436
|
+
}>, Schema.Struct<{
|
|
5437
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
5438
|
+
readonly value: Schema.String;
|
|
5439
|
+
}>, Schema.Struct<{
|
|
5440
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
5441
|
+
}>]>;
|
|
4606
5442
|
}>]>]>;
|
|
4607
5443
|
}>>;
|
|
4608
5444
|
}>>;
|
|
@@ -4619,6 +5455,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4619
5455
|
readonly type: Schema.Literal<"webhook">;
|
|
4620
5456
|
readonly config: Schema.Struct<{
|
|
4621
5457
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
5458
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
4622
5459
|
}>;
|
|
4623
5460
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
4624
5461
|
readonly nodeId: Schema.String;
|
|
@@ -4632,10 +5469,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4632
5469
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
4633
5470
|
}>>;
|
|
4634
5471
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
4635
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
5472
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
4636
5473
|
readonly type: Schema.Literal<"shopify_order">;
|
|
4637
5474
|
readonly shop: Schema.String;
|
|
4638
|
-
}
|
|
5475
|
+
}>, Schema.Struct<{
|
|
5476
|
+
readonly type: Schema.Literal<"event_property">;
|
|
5477
|
+
readonly property: Schema.String;
|
|
5478
|
+
}>]>>;
|
|
4639
5479
|
}>;
|
|
4640
5480
|
readonly publishedAt: Schema.String;
|
|
4641
5481
|
}>>, Schema.toCodecJson<Schema.decodeTo<Schema.declareConstructor<ForbiddenError, {
|
|
@@ -4739,12 +5579,14 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4739
5579
|
readonly message: Schema.String;
|
|
4740
5580
|
readonly fields: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.$Array<Schema.String>>, Schema.Null]>>;
|
|
4741
5581
|
}>, never, never> | typeof InternalError>, ApiKeySecurityMiddleware, never> | HttpApiEndpoint.HttpApiEndpoint<"journeysList", "GET", "/v1/journeys", never, Schema.toCodecStringTree<Schema.Struct<{
|
|
5582
|
+
readonly namespaceId: Schema.optionalKey<Schema.brand<Schema.String, "NamespaceId">>;
|
|
4742
5583
|
readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>>;
|
|
4743
5584
|
readonly limit: Schema.optionalKey<Schema.Union<readonly [Schema.Finite, Schema.Null]>>;
|
|
4744
5585
|
readonly cursor: Schema.optionalKey<Schema.String>;
|
|
4745
5586
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
4746
5587
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
4747
5588
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
5589
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
4748
5590
|
readonly name: Schema.String;
|
|
4749
5591
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
4750
5592
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
@@ -4843,6 +5685,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4843
5685
|
}>>, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
4844
5686
|
readonly items: Schema.$Array<Schema.Struct<{
|
|
4845
5687
|
readonly id: Schema.brand<Schema.String, "JourneyRunId">;
|
|
5688
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
4846
5689
|
readonly journeyId: Schema.brand<Schema.String, "JourneyId">;
|
|
4847
5690
|
readonly version: Schema.Finite;
|
|
4848
5691
|
readonly contactId: Schema.brand<Schema.String, "ContactId">;
|
|
@@ -4965,6 +5808,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4965
5808
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
4966
5809
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
4967
5810
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
5811
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
4968
5812
|
readonly name: Schema.String;
|
|
4969
5813
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
4970
5814
|
readonly revision: Schema.String;
|
|
@@ -4988,7 +5832,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
4988
5832
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
4989
5833
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
4990
5834
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
5835
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
5836
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
5837
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
5838
|
+
}>>;
|
|
5839
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
4991
5840
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
5841
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
4992
5842
|
}>;
|
|
4993
5843
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
4994
5844
|
readonly nodeId: Schema.String;
|
|
@@ -5009,6 +5859,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5009
5859
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
5010
5860
|
}>>;
|
|
5011
5861
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
5862
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
5012
5863
|
}>;
|
|
5013
5864
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
5014
5865
|
readonly nodeId: Schema.String;
|
|
@@ -5025,6 +5876,10 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5025
5876
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
5026
5877
|
readonly config: Schema.Struct<{
|
|
5027
5878
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
5879
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
5880
|
+
readonly eventProperty: Schema.String;
|
|
5881
|
+
readonly entryProperty: Schema.String;
|
|
5882
|
+
}>>;
|
|
5028
5883
|
readonly timeoutSeconds: Schema.Finite;
|
|
5029
5884
|
}>;
|
|
5030
5885
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -5079,6 +5934,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5079
5934
|
readonly type: Schema.Literal<"event">;
|
|
5080
5935
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
5081
5936
|
readonly occurred: Schema.Boolean;
|
|
5937
|
+
}>, Schema.Struct<{
|
|
5938
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
5939
|
+
readonly property: Schema.String;
|
|
5940
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
5941
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
5942
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
5943
|
+
}>, Schema.Struct<{
|
|
5944
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
5945
|
+
readonly value: Schema.Finite;
|
|
5946
|
+
}>, Schema.Struct<{
|
|
5947
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
5948
|
+
readonly value: Schema.String;
|
|
5949
|
+
}>, Schema.Struct<{
|
|
5950
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
5951
|
+
}>]>;
|
|
5082
5952
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
5083
5953
|
readonly type: Schema.Literal<"tag">;
|
|
5084
5954
|
readonly tag: Schema.String;
|
|
@@ -5117,6 +5987,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5117
5987
|
readonly type: Schema.Literal<"event">;
|
|
5118
5988
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
5119
5989
|
readonly occurred: Schema.Boolean;
|
|
5990
|
+
}>, Schema.Struct<{
|
|
5991
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
5992
|
+
readonly property: Schema.String;
|
|
5993
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
5994
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
5995
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
5996
|
+
}>, Schema.Struct<{
|
|
5997
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
5998
|
+
readonly value: Schema.Finite;
|
|
5999
|
+
}>, Schema.Struct<{
|
|
6000
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
6001
|
+
readonly value: Schema.String;
|
|
6002
|
+
}>, Schema.Struct<{
|
|
6003
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
6004
|
+
}>]>;
|
|
5120
6005
|
}>]>]>;
|
|
5121
6006
|
}>>;
|
|
5122
6007
|
}>>;
|
|
@@ -5133,6 +6018,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5133
6018
|
readonly type: Schema.Literal<"webhook">;
|
|
5134
6019
|
readonly config: Schema.Struct<{
|
|
5135
6020
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
6021
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
5136
6022
|
}>;
|
|
5137
6023
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
5138
6024
|
readonly nodeId: Schema.String;
|
|
@@ -5146,10 +6032,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5146
6032
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
5147
6033
|
}>>;
|
|
5148
6034
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
5149
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
6035
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
5150
6036
|
readonly type: Schema.Literal<"shopify_order">;
|
|
5151
6037
|
readonly shop: Schema.String;
|
|
5152
|
-
}
|
|
6038
|
+
}>, Schema.Struct<{
|
|
6039
|
+
readonly type: Schema.Literal<"event_property">;
|
|
6040
|
+
readonly property: Schema.String;
|
|
6041
|
+
}>]>>;
|
|
5153
6042
|
}>;
|
|
5154
6043
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
5155
6044
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -5281,6 +6170,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5281
6170
|
readonly revision: Schema.String;
|
|
5282
6171
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
5283
6172
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
6173
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
5284
6174
|
readonly name: Schema.String;
|
|
5285
6175
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
5286
6176
|
readonly revision: Schema.String;
|
|
@@ -5304,7 +6194,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5304
6194
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
5305
6195
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
5306
6196
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
6197
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
6198
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
6199
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
6200
|
+
}>>;
|
|
6201
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
5307
6202
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
6203
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
5308
6204
|
}>;
|
|
5309
6205
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
5310
6206
|
readonly nodeId: Schema.String;
|
|
@@ -5325,6 +6221,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5325
6221
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
5326
6222
|
}>>;
|
|
5327
6223
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
6224
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
5328
6225
|
}>;
|
|
5329
6226
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
5330
6227
|
readonly nodeId: Schema.String;
|
|
@@ -5341,6 +6238,10 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5341
6238
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
5342
6239
|
readonly config: Schema.Struct<{
|
|
5343
6240
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
6241
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
6242
|
+
readonly eventProperty: Schema.String;
|
|
6243
|
+
readonly entryProperty: Schema.String;
|
|
6244
|
+
}>>;
|
|
5344
6245
|
readonly timeoutSeconds: Schema.Finite;
|
|
5345
6246
|
}>;
|
|
5346
6247
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -5395,6 +6296,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5395
6296
|
readonly type: Schema.Literal<"event">;
|
|
5396
6297
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
5397
6298
|
readonly occurred: Schema.Boolean;
|
|
6299
|
+
}>, Schema.Struct<{
|
|
6300
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
6301
|
+
readonly property: Schema.String;
|
|
6302
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
6303
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
6304
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
6305
|
+
}>, Schema.Struct<{
|
|
6306
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
6307
|
+
readonly value: Schema.Finite;
|
|
6308
|
+
}>, Schema.Struct<{
|
|
6309
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
6310
|
+
readonly value: Schema.String;
|
|
6311
|
+
}>, Schema.Struct<{
|
|
6312
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
6313
|
+
}>]>;
|
|
5398
6314
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
5399
6315
|
readonly type: Schema.Literal<"tag">;
|
|
5400
6316
|
readonly tag: Schema.String;
|
|
@@ -5433,6 +6349,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5433
6349
|
readonly type: Schema.Literal<"event">;
|
|
5434
6350
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
5435
6351
|
readonly occurred: Schema.Boolean;
|
|
6352
|
+
}>, Schema.Struct<{
|
|
6353
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
6354
|
+
readonly property: Schema.String;
|
|
6355
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
6356
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
6357
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
6358
|
+
}>, Schema.Struct<{
|
|
6359
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
6360
|
+
readonly value: Schema.Finite;
|
|
6361
|
+
}>, Schema.Struct<{
|
|
6362
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
6363
|
+
readonly value: Schema.String;
|
|
6364
|
+
}>, Schema.Struct<{
|
|
6365
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
6366
|
+
}>]>;
|
|
5436
6367
|
}>]>]>;
|
|
5437
6368
|
}>>;
|
|
5438
6369
|
}>>;
|
|
@@ -5449,6 +6380,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5449
6380
|
readonly type: Schema.Literal<"webhook">;
|
|
5450
6381
|
readonly config: Schema.Struct<{
|
|
5451
6382
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
6383
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
5452
6384
|
}>;
|
|
5453
6385
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
5454
6386
|
readonly nodeId: Schema.String;
|
|
@@ -5462,10 +6394,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5462
6394
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
5463
6395
|
}>>;
|
|
5464
6396
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
5465
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
6397
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
5466
6398
|
readonly type: Schema.Literal<"shopify_order">;
|
|
5467
6399
|
readonly shop: Schema.String;
|
|
5468
|
-
}
|
|
6400
|
+
}>, Schema.Struct<{
|
|
6401
|
+
readonly type: Schema.Literal<"event_property">;
|
|
6402
|
+
readonly property: Schema.String;
|
|
6403
|
+
}>]>>;
|
|
5469
6404
|
}>;
|
|
5470
6405
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
5471
6406
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -5776,7 +6711,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5776
6711
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
5777
6712
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
5778
6713
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
6714
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
6715
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
6716
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
6717
|
+
}>>;
|
|
6718
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
5779
6719
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
6720
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
5780
6721
|
}>;
|
|
5781
6722
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
5782
6723
|
readonly nodeId: Schema.String;
|
|
@@ -5797,6 +6738,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5797
6738
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
5798
6739
|
}>>;
|
|
5799
6740
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
6741
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
5800
6742
|
}>;
|
|
5801
6743
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
5802
6744
|
readonly nodeId: Schema.String;
|
|
@@ -5813,6 +6755,10 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5813
6755
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
5814
6756
|
readonly config: Schema.Struct<{
|
|
5815
6757
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
6758
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
6759
|
+
readonly eventProperty: Schema.String;
|
|
6760
|
+
readonly entryProperty: Schema.String;
|
|
6761
|
+
}>>;
|
|
5816
6762
|
readonly timeoutSeconds: Schema.Finite;
|
|
5817
6763
|
}>;
|
|
5818
6764
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -5867,6 +6813,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5867
6813
|
readonly type: Schema.Literal<"event">;
|
|
5868
6814
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
5869
6815
|
readonly occurred: Schema.Boolean;
|
|
6816
|
+
}>, Schema.Struct<{
|
|
6817
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
6818
|
+
readonly property: Schema.String;
|
|
6819
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
6820
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
6821
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
6822
|
+
}>, Schema.Struct<{
|
|
6823
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
6824
|
+
readonly value: Schema.Finite;
|
|
6825
|
+
}>, Schema.Struct<{
|
|
6826
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
6827
|
+
readonly value: Schema.String;
|
|
6828
|
+
}>, Schema.Struct<{
|
|
6829
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
6830
|
+
}>]>;
|
|
5870
6831
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
5871
6832
|
readonly type: Schema.Literal<"tag">;
|
|
5872
6833
|
readonly tag: Schema.String;
|
|
@@ -5905,6 +6866,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5905
6866
|
readonly type: Schema.Literal<"event">;
|
|
5906
6867
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
5907
6868
|
readonly occurred: Schema.Boolean;
|
|
6869
|
+
}>, Schema.Struct<{
|
|
6870
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
6871
|
+
readonly property: Schema.String;
|
|
6872
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
6873
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
6874
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
6875
|
+
}>, Schema.Struct<{
|
|
6876
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
6877
|
+
readonly value: Schema.Finite;
|
|
6878
|
+
}>, Schema.Struct<{
|
|
6879
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
6880
|
+
readonly value: Schema.String;
|
|
6881
|
+
}>, Schema.Struct<{
|
|
6882
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
6883
|
+
}>]>;
|
|
5908
6884
|
}>]>]>;
|
|
5909
6885
|
}>>;
|
|
5910
6886
|
}>>;
|
|
@@ -5921,6 +6897,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5921
6897
|
readonly type: Schema.Literal<"webhook">;
|
|
5922
6898
|
readonly config: Schema.Struct<{
|
|
5923
6899
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
6900
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
5924
6901
|
}>;
|
|
5925
6902
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
5926
6903
|
readonly nodeId: Schema.String;
|
|
@@ -5934,13 +6911,17 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5934
6911
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
5935
6912
|
}>>;
|
|
5936
6913
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
5937
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
6914
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
5938
6915
|
readonly type: Schema.Literal<"shopify_order">;
|
|
5939
6916
|
readonly shop: Schema.String;
|
|
5940
|
-
}
|
|
6917
|
+
}>, Schema.Struct<{
|
|
6918
|
+
readonly type: Schema.Literal<"event_property">;
|
|
6919
|
+
readonly property: Schema.String;
|
|
6920
|
+
}>]>>;
|
|
5941
6921
|
}>;
|
|
5942
6922
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
5943
6923
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
6924
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
5944
6925
|
readonly name: Schema.String;
|
|
5945
6926
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
5946
6927
|
readonly revision: Schema.String;
|
|
@@ -5964,7 +6945,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5964
6945
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
5965
6946
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
5966
6947
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
6948
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
6949
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
6950
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
6951
|
+
}>>;
|
|
6952
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
5967
6953
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
6954
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
5968
6955
|
}>;
|
|
5969
6956
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
5970
6957
|
readonly nodeId: Schema.String;
|
|
@@ -5985,6 +6972,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
5985
6972
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
5986
6973
|
}>>;
|
|
5987
6974
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
6975
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
5988
6976
|
}>;
|
|
5989
6977
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
5990
6978
|
readonly nodeId: Schema.String;
|
|
@@ -6001,6 +6989,10 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6001
6989
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
6002
6990
|
readonly config: Schema.Struct<{
|
|
6003
6991
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
6992
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
6993
|
+
readonly eventProperty: Schema.String;
|
|
6994
|
+
readonly entryProperty: Schema.String;
|
|
6995
|
+
}>>;
|
|
6004
6996
|
readonly timeoutSeconds: Schema.Finite;
|
|
6005
6997
|
}>;
|
|
6006
6998
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -6055,6 +7047,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6055
7047
|
readonly type: Schema.Literal<"event">;
|
|
6056
7048
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
6057
7049
|
readonly occurred: Schema.Boolean;
|
|
7050
|
+
}>, Schema.Struct<{
|
|
7051
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
7052
|
+
readonly property: Schema.String;
|
|
7053
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
7054
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
7055
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
7056
|
+
}>, Schema.Struct<{
|
|
7057
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
7058
|
+
readonly value: Schema.Finite;
|
|
7059
|
+
}>, Schema.Struct<{
|
|
7060
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
7061
|
+
readonly value: Schema.String;
|
|
7062
|
+
}>, Schema.Struct<{
|
|
7063
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
7064
|
+
}>]>;
|
|
6058
7065
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
6059
7066
|
readonly type: Schema.Literal<"tag">;
|
|
6060
7067
|
readonly tag: Schema.String;
|
|
@@ -6093,6 +7100,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6093
7100
|
readonly type: Schema.Literal<"event">;
|
|
6094
7101
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
6095
7102
|
readonly occurred: Schema.Boolean;
|
|
7103
|
+
}>, Schema.Struct<{
|
|
7104
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
7105
|
+
readonly property: Schema.String;
|
|
7106
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
7107
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
7108
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
7109
|
+
}>, Schema.Struct<{
|
|
7110
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
7111
|
+
readonly value: Schema.Finite;
|
|
7112
|
+
}>, Schema.Struct<{
|
|
7113
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
7114
|
+
readonly value: Schema.String;
|
|
7115
|
+
}>, Schema.Struct<{
|
|
7116
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
7117
|
+
}>]>;
|
|
6096
7118
|
}>]>]>;
|
|
6097
7119
|
}>>;
|
|
6098
7120
|
}>>;
|
|
@@ -6109,6 +7131,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6109
7131
|
readonly type: Schema.Literal<"webhook">;
|
|
6110
7132
|
readonly config: Schema.Struct<{
|
|
6111
7133
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
7134
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
6112
7135
|
}>;
|
|
6113
7136
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
6114
7137
|
readonly nodeId: Schema.String;
|
|
@@ -6122,10 +7145,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6122
7145
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
6123
7146
|
}>>;
|
|
6124
7147
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
6125
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
7148
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
6126
7149
|
readonly type: Schema.Literal<"shopify_order">;
|
|
6127
7150
|
readonly shop: Schema.String;
|
|
6128
|
-
}
|
|
7151
|
+
}>, Schema.Struct<{
|
|
7152
|
+
readonly type: Schema.Literal<"event_property">;
|
|
7153
|
+
readonly property: Schema.String;
|
|
7154
|
+
}>]>>;
|
|
6129
7155
|
}>;
|
|
6130
7156
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
6131
7157
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -6291,6 +7317,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6291
7317
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
6292
7318
|
}>>, never, never, never, Schema.toCodecJson<Schema.Struct<{
|
|
6293
7319
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
7320
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
6294
7321
|
readonly name: Schema.String;
|
|
6295
7322
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
6296
7323
|
readonly revision: Schema.String;
|
|
@@ -6314,7 +7341,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6314
7341
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
6315
7342
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
6316
7343
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
7344
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
7345
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
7346
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
7347
|
+
}>>;
|
|
7348
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
6317
7349
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
7350
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
6318
7351
|
}>;
|
|
6319
7352
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
6320
7353
|
readonly nodeId: Schema.String;
|
|
@@ -6335,6 +7368,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6335
7368
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
6336
7369
|
}>>;
|
|
6337
7370
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
7371
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
6338
7372
|
}>;
|
|
6339
7373
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
6340
7374
|
readonly nodeId: Schema.String;
|
|
@@ -6351,6 +7385,10 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6351
7385
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
6352
7386
|
readonly config: Schema.Struct<{
|
|
6353
7387
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
7388
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
7389
|
+
readonly eventProperty: Schema.String;
|
|
7390
|
+
readonly entryProperty: Schema.String;
|
|
7391
|
+
}>>;
|
|
6354
7392
|
readonly timeoutSeconds: Schema.Finite;
|
|
6355
7393
|
}>;
|
|
6356
7394
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -6405,6 +7443,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6405
7443
|
readonly type: Schema.Literal<"event">;
|
|
6406
7444
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
6407
7445
|
readonly occurred: Schema.Boolean;
|
|
7446
|
+
}>, Schema.Struct<{
|
|
7447
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
7448
|
+
readonly property: Schema.String;
|
|
7449
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
7450
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
7451
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
7452
|
+
}>, Schema.Struct<{
|
|
7453
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
7454
|
+
readonly value: Schema.Finite;
|
|
7455
|
+
}>, Schema.Struct<{
|
|
7456
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
7457
|
+
readonly value: Schema.String;
|
|
7458
|
+
}>, Schema.Struct<{
|
|
7459
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
7460
|
+
}>]>;
|
|
6408
7461
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
6409
7462
|
readonly type: Schema.Literal<"tag">;
|
|
6410
7463
|
readonly tag: Schema.String;
|
|
@@ -6443,6 +7496,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6443
7496
|
readonly type: Schema.Literal<"event">;
|
|
6444
7497
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
6445
7498
|
readonly occurred: Schema.Boolean;
|
|
7499
|
+
}>, Schema.Struct<{
|
|
7500
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
7501
|
+
readonly property: Schema.String;
|
|
7502
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
7503
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
7504
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
7505
|
+
}>, Schema.Struct<{
|
|
7506
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
7507
|
+
readonly value: Schema.Finite;
|
|
7508
|
+
}>, Schema.Struct<{
|
|
7509
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
7510
|
+
readonly value: Schema.String;
|
|
7511
|
+
}>, Schema.Struct<{
|
|
7512
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
7513
|
+
}>]>;
|
|
6446
7514
|
}>]>]>;
|
|
6447
7515
|
}>>;
|
|
6448
7516
|
}>>;
|
|
@@ -6459,6 +7527,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6459
7527
|
readonly type: Schema.Literal<"webhook">;
|
|
6460
7528
|
readonly config: Schema.Struct<{
|
|
6461
7529
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
7530
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
6462
7531
|
}>;
|
|
6463
7532
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
6464
7533
|
readonly nodeId: Schema.String;
|
|
@@ -6472,10 +7541,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6472
7541
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
6473
7542
|
}>>;
|
|
6474
7543
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
6475
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
7544
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
6476
7545
|
readonly type: Schema.Literal<"shopify_order">;
|
|
6477
7546
|
readonly shop: Schema.String;
|
|
6478
|
-
}
|
|
7547
|
+
}>, Schema.Struct<{
|
|
7548
|
+
readonly type: Schema.Literal<"event_property">;
|
|
7549
|
+
readonly property: Schema.String;
|
|
7550
|
+
}>]>>;
|
|
6479
7551
|
}>;
|
|
6480
7552
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
6481
7553
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|
|
@@ -6761,6 +7833,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6761
7833
|
readonly name: Schema.String;
|
|
6762
7834
|
}>>, never, Schema.toCodecJson<Schema.Struct<{
|
|
6763
7835
|
readonly id: Schema.brand<Schema.String, "JourneyId">;
|
|
7836
|
+
readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
|
|
6764
7837
|
readonly name: Schema.String;
|
|
6765
7838
|
readonly status: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
|
|
6766
7839
|
readonly revision: Schema.String;
|
|
@@ -6784,7 +7857,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6784
7857
|
readonly template: Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.String]>;
|
|
6785
7858
|
readonly publicationId: Schema.optionalKey<Schema.brand<Schema.String, "TemplatePublicationId">>;
|
|
6786
7859
|
readonly senderId: Schema.optionalKey<Schema.brand<Schema.String, "EmailSenderId">>;
|
|
7860
|
+
readonly tracking: Schema.optionalKey<Schema.Struct<{
|
|
7861
|
+
readonly opens: Schema.optionalKey<Schema.Boolean>;
|
|
7862
|
+
readonly clicks: Schema.optionalKey<Schema.Boolean>;
|
|
7863
|
+
}>>;
|
|
7864
|
+
readonly topicName: Schema.optionalKey<Schema.String>;
|
|
6787
7865
|
readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
7866
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
6788
7867
|
}>;
|
|
6789
7868
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
6790
7869
|
readonly nodeId: Schema.String;
|
|
@@ -6805,6 +7884,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6805
7884
|
readonly templateChannelVariantId: Schema.brand<Schema.String, "TemplateChannelVariantId">;
|
|
6806
7885
|
}>>;
|
|
6807
7886
|
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
7887
|
+
readonly flowActionDataBinding: Schema.optionalKey<Schema.String>;
|
|
6808
7888
|
}>;
|
|
6809
7889
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
6810
7890
|
readonly nodeId: Schema.String;
|
|
@@ -6821,6 +7901,10 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6821
7901
|
readonly type: Schema.Literal<"wait_for_event">;
|
|
6822
7902
|
readonly config: Schema.Struct<{
|
|
6823
7903
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
7904
|
+
readonly correlation: Schema.optionalKey<Schema.Struct<{
|
|
7905
|
+
readonly eventProperty: Schema.String;
|
|
7906
|
+
readonly entryProperty: Schema.String;
|
|
7907
|
+
}>>;
|
|
6824
7908
|
readonly timeoutSeconds: Schema.Finite;
|
|
6825
7909
|
}>;
|
|
6826
7910
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
@@ -6875,6 +7959,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6875
7959
|
readonly type: Schema.Literal<"event">;
|
|
6876
7960
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
6877
7961
|
readonly occurred: Schema.Boolean;
|
|
7962
|
+
}>, Schema.Struct<{
|
|
7963
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
7964
|
+
readonly property: Schema.String;
|
|
7965
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
7966
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
7967
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
7968
|
+
}>, Schema.Struct<{
|
|
7969
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
7970
|
+
readonly value: Schema.Finite;
|
|
7971
|
+
}>, Schema.Struct<{
|
|
7972
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
7973
|
+
readonly value: Schema.String;
|
|
7974
|
+
}>, Schema.Struct<{
|
|
7975
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
7976
|
+
}>]>;
|
|
6878
7977
|
}>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
|
|
6879
7978
|
readonly type: Schema.Literal<"tag">;
|
|
6880
7979
|
readonly tag: Schema.String;
|
|
@@ -6913,6 +8012,21 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6913
8012
|
readonly type: Schema.Literal<"event">;
|
|
6914
8013
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
6915
8014
|
readonly occurred: Schema.Boolean;
|
|
8015
|
+
}>, Schema.Struct<{
|
|
8016
|
+
readonly type: Schema.Literal<"entry_event_property">;
|
|
8017
|
+
readonly property: Schema.String;
|
|
8018
|
+
readonly comparison: Schema.Union<readonly [Schema.Struct<{
|
|
8019
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"eq">, Schema.Literal<"neq">]>;
|
|
8020
|
+
readonly value: Schema.Union<readonly [Schema.String, Schema.Finite, Schema.Boolean, Schema.Null]>;
|
|
8021
|
+
}>, Schema.Struct<{
|
|
8022
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"gt">, Schema.Literal<"gte">, Schema.Literal<"lt">, Schema.Literal<"lte">]>;
|
|
8023
|
+
readonly value: Schema.Finite;
|
|
8024
|
+
}>, Schema.Struct<{
|
|
8025
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"contains">, Schema.Literal<"not_contains">, Schema.Literal<"starts_with">, Schema.Literal<"ends_with">]>;
|
|
8026
|
+
readonly value: Schema.String;
|
|
8027
|
+
}>, Schema.Struct<{
|
|
8028
|
+
readonly operator: Schema.Union<readonly [Schema.Literal<"exists">, Schema.Literal<"not_exists">]>;
|
|
8029
|
+
}>]>;
|
|
6916
8030
|
}>]>]>;
|
|
6917
8031
|
}>>;
|
|
6918
8032
|
}>>;
|
|
@@ -6929,6 +8043,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6929
8043
|
readonly type: Schema.Literal<"webhook">;
|
|
6930
8044
|
readonly config: Schema.Struct<{
|
|
6931
8045
|
readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
|
|
8046
|
+
readonly eventBindings: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
|
|
6932
8047
|
}>;
|
|
6933
8048
|
readonly next: Schema.Tuple<readonly [Schema.Struct<{
|
|
6934
8049
|
readonly nodeId: Schema.String;
|
|
@@ -6942,10 +8057,13 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
|
|
|
6942
8057
|
readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">, Schema.Literal<"contact.connection_completed">]>]>;
|
|
6943
8058
|
}>>;
|
|
6944
8059
|
readonly reentry: Schema.optionalKey<Schema.Boolean>;
|
|
6945
|
-
readonly enrollment: Schema.optionalKey<Schema.Struct<{
|
|
8060
|
+
readonly enrollment: Schema.optionalKey<Schema.Union<readonly [Schema.Struct<{
|
|
6946
8061
|
readonly type: Schema.Literal<"shopify_order">;
|
|
6947
8062
|
readonly shop: Schema.String;
|
|
6948
|
-
}
|
|
8063
|
+
}>, Schema.Struct<{
|
|
8064
|
+
readonly type: Schema.Literal<"event_property">;
|
|
8065
|
+
readonly property: Schema.String;
|
|
8066
|
+
}>]>>;
|
|
6949
8067
|
}>;
|
|
6950
8068
|
readonly publishedVersion: Schema.Union<readonly [Schema.Finite, Schema.Null]>;
|
|
6951
8069
|
readonly publishedAt: Schema.Union<readonly [Schema.String, Schema.Null]>;
|