samva 0.47.0 → 0.49.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.
Files changed (90) hide show
  1. package/dist/agent/index.d.ts +1 -0
  2. package/dist/agent/index.js +2 -1
  3. package/dist/agent/runtime.js +26 -5
  4. package/dist/agent/types.d.ts +27 -0
  5. package/dist/client/sdk.gen.d.ts +234 -34
  6. package/dist/client/sdk.gen.js +574 -60
  7. package/dist/client/types.gen.d.ts +1363 -164
  8. package/dist/effect/accounts.d.ts +6 -6
  9. package/dist/effect/agents.d.ts +13 -13
  10. package/dist/effect/analytics.d.ts +6 -6
  11. package/dist/effect/api-keys.d.ts +13 -11
  12. package/dist/effect/approval-requests.d.ts +4 -4
  13. package/dist/effect/attachments.d.ts +4 -4
  14. package/dist/effect/brands.d.ts +6 -6
  15. package/dist/effect/campaigns.d.ts +15 -15
  16. package/dist/effect/contact-groups.d.ts +10 -10
  17. package/dist/effect/contacts.d.ts +25 -25
  18. package/dist/effect/conversations.d.ts +13 -13
  19. package/dist/effect/custom-fields.d.ts +4 -4
  20. package/dist/effect/descriptors/integrations-catalog.d.ts +134 -0
  21. package/dist/effect/descriptors/integrations-catalog.js +122 -0
  22. package/dist/effect/descriptors/mailboxes.d.ts +32 -12
  23. package/dist/effect/descriptors/mailboxes.js +32 -12
  24. package/dist/effect/email.d.ts +61 -61
  25. package/dist/effect/events.d.ts +2 -2
  26. package/dist/effect/feedback.d.ts +1 -1
  27. package/dist/effect/generated/accounts.d.ts +1 -3
  28. package/dist/effect/generated/accounts.js +2 -7
  29. package/dist/effect/generated/api-keys.d.ts +30 -15
  30. package/dist/effect/generated/api-keys.js +2 -0
  31. package/dist/effect/generated/attachments.js +1 -1
  32. package/dist/effect/generated/integrations-catalog.d.ts +2702 -1
  33. package/dist/effect/generated/integrations-catalog.js +578 -3
  34. package/dist/effect/generated/journeys.d.ts +105 -107
  35. package/dist/effect/generated/journeys.js +6 -12
  36. package/dist/effect/generated/mailboxes.d.ts +752 -463
  37. package/dist/effect/generated/mailboxes.js +163 -98
  38. package/dist/effect/generated/messages.d.ts +109 -4
  39. package/dist/effect/generated/messages.js +41 -8
  40. package/dist/effect/generated/shared.d.ts +255 -59
  41. package/dist/effect/generated/shared.js +64 -18
  42. package/dist/effect/generated/template-registrations.d.ts +53 -4
  43. package/dist/effect/generated/template-registrations.js +13 -5
  44. package/dist/effect/generated/templates.d.ts +77 -15
  45. package/dist/effect/generated/templates.js +26 -17
  46. package/dist/effect/generated/webhooks.d.ts +19 -19
  47. package/dist/effect/generated/webhooks.js +8 -8
  48. package/dist/effect/generated/whoami.d.ts +4 -4
  49. package/dist/effect/generated-metadata.d.ts +114 -18
  50. package/dist/effect/generated-metadata.js +362 -340
  51. package/dist/effect/integrations-catalog.d.ts +228 -3
  52. package/dist/effect/integrations-catalog.js +29 -1
  53. package/dist/effect/integrations.d.ts +7 -7
  54. package/dist/effect/internal/client.d.ts +7 -3
  55. package/dist/effect/internal/operation.d.ts +10 -6
  56. package/dist/effect/internal/operation.js +3 -3
  57. package/dist/effect/journeys.d.ts +14 -14
  58. package/dist/effect/mailboxes.d.ts +117 -91
  59. package/dist/effect/mailboxes.js +11 -7
  60. package/dist/effect/media.d.ts +5 -5
  61. package/dist/effect/messages.d.ts +9 -9
  62. package/dist/effect/namespaces.d.ts +11 -11
  63. package/dist/effect/newsletter-domains.d.ts +4 -4
  64. package/dist/effect/newsletter-issues.d.ts +11 -11
  65. package/dist/effect/newsletters.d.ts +5 -5
  66. package/dist/effect/operations.d.ts +3 -3
  67. package/dist/effect/organizations.d.ts +12 -12
  68. package/dist/effect/policies.d.ts +3 -3
  69. package/dist/effect/retry.js +1 -1
  70. package/dist/effect/scheduled-messages.d.ts +5 -5
  71. package/dist/effect/subscriptions.d.ts +1 -1
  72. package/dist/effect/template-registrations.d.ts +9 -3
  73. package/dist/effect/template-share-links.d.ts +5 -5
  74. package/dist/effect/templates.d.ts +46 -37
  75. package/dist/effect/topic-forms.d.ts +5 -5
  76. package/dist/effect/topics.d.ts +9 -9
  77. package/dist/effect/webhooks.d.ts +15 -15
  78. package/dist/effect/whatsapp-flows.d.ts +10 -10
  79. package/dist/effect/whatsapp-setup-links.d.ts +4 -4
  80. package/dist/effect/whatsapp.d.ts +12 -12
  81. package/dist/effect/whoami.d.ts +1 -1
  82. package/dist/inline-attachments.d.ts +0 -5
  83. package/dist/mailbox-events.d.ts +1 -5
  84. package/dist/mailbox-events.js +2 -2
  85. package/dist/package.js +1 -1
  86. package/dist/promises/client.d.ts +4 -4
  87. package/dist/promises/client.js +8 -4
  88. package/dist/promises/types.gen.d.ts +1 -1
  89. package/dist/service-map.d.ts +83 -9
  90. package/package.json +2 -2
@@ -1,9 +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, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, JourneyDefinition, JourneyId, JourneyName, JourneyNodeId, JsonObject, MalformedRequestError, MessageId, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
5
- export type JourneyStatus = "draft" | "active" | "paused" | "archived";
6
- export declare const JourneyStatus: Schema.Union<readonly [Schema.Literal<"draft">, Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"archived">]>;
4
+ import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactId, FlagDisabledError, ForbiddenError, GatewayTimeoutError, InternalError, JourneyDefinition, JourneyId, JourneyName, JourneyNodeId, JourneyStatus, JsonObject, MalformedRequestError, MessageId, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
7
5
  export type JourneyRunStatus = "active" | "paused" | "exited" | "failed";
8
6
  export declare const JourneyRunStatus: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"exited">, Schema.Literal<"failed">]>;
9
7
  export type JourneyRunId = string & EffectBrand.Brand<"JourneyRunId">;
@@ -34,6 +32,14 @@ export declare const JourneyRunTrigger: Schema.Struct<{
34
32
  readonly eventName: Schema.String;
35
33
  readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
36
34
  }>;
35
+ export type DeleteJourneyResponse = {
36
+ readonly id: JourneyId;
37
+ readonly deleted: true;
38
+ };
39
+ export declare const DeleteJourneyResponse: Schema.Struct<{
40
+ readonly id: Schema.brand<Schema.String, "JourneyId">;
41
+ readonly deleted: Schema.Literal<true>;
42
+ }>;
37
43
  export type JourneyListItem = {
38
44
  readonly id: JourneyId;
39
45
  readonly name: string;
@@ -52,14 +58,6 @@ export declare const JourneyListItem: Schema.Struct<{
52
58
  readonly createdAt: Schema.String;
53
59
  readonly updatedAt: Schema.String;
54
60
  }>;
55
- export type DeleteJourneyResponse = {
56
- readonly id: JourneyId;
57
- readonly deleted: true;
58
- };
59
- export declare const DeleteJourneyResponse: Schema.Struct<{
60
- readonly id: Schema.brand<Schema.String, "JourneyId">;
61
- readonly deleted: Schema.Literal<true>;
62
- }>;
63
61
  export type JourneyNodeStats = {
64
62
  readonly nodeId: JourneyNodeId;
65
63
  readonly current: number;
@@ -304,7 +302,7 @@ export declare const Journey: Schema.Struct<{
304
302
  }>, Schema.Struct<{
305
303
  readonly type: Schema.Literal<"wait_for_event">;
306
304
  readonly config: Schema.Struct<{
307
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
305
+ 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">]>]>;
308
306
  readonly timeoutSeconds: Schema.Finite;
309
307
  }>;
310
308
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -357,7 +355,7 @@ export declare const Journey: Schema.Struct<{
357
355
  }>]>;
358
356
  }>, Schema.Struct<{
359
357
  readonly type: Schema.Literal<"event">;
360
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
358
+ 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">]>]>;
361
359
  readonly occurred: Schema.Boolean;
362
360
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
363
361
  readonly type: Schema.Literal<"tag">;
@@ -395,7 +393,7 @@ export declare const Journey: Schema.Struct<{
395
393
  }>]>;
396
394
  }>, Schema.Struct<{
397
395
  readonly type: Schema.Literal<"event">;
398
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
396
+ 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">]>]>;
399
397
  readonly occurred: Schema.Boolean;
400
398
  }>]>]>;
401
399
  }>>;
@@ -423,7 +421,7 @@ export declare const Journey: Schema.Struct<{
423
421
  readonly next: Schema.Tuple<readonly []>;
424
422
  }>]>>;
425
423
  readonly goal: Schema.optionalKey<Schema.Struct<{
426
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
424
+ 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">]>]>;
427
425
  }>>;
428
426
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
429
427
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -501,7 +499,7 @@ export declare const JourneyVersion: Schema.Struct<{
501
499
  }>, Schema.Struct<{
502
500
  readonly type: Schema.Literal<"wait_for_event">;
503
501
  readonly config: Schema.Struct<{
504
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
502
+ 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">]>]>;
505
503
  readonly timeoutSeconds: Schema.Finite;
506
504
  }>;
507
505
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -554,7 +552,7 @@ export declare const JourneyVersion: Schema.Struct<{
554
552
  }>]>;
555
553
  }>, Schema.Struct<{
556
554
  readonly type: Schema.Literal<"event">;
557
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
555
+ 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">]>]>;
558
556
  readonly occurred: Schema.Boolean;
559
557
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
560
558
  readonly type: Schema.Literal<"tag">;
@@ -592,7 +590,7 @@ export declare const JourneyVersion: Schema.Struct<{
592
590
  }>]>;
593
591
  }>, Schema.Struct<{
594
592
  readonly type: Schema.Literal<"event">;
595
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
593
+ 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">]>]>;
596
594
  readonly occurred: Schema.Boolean;
597
595
  }>]>]>;
598
596
  }>>;
@@ -620,7 +618,7 @@ export declare const JourneyVersion: Schema.Struct<{
620
618
  readonly next: Schema.Tuple<readonly []>;
621
619
  }>]>>;
622
620
  readonly goal: Schema.optionalKey<Schema.Struct<{
623
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
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">]>]>;
624
622
  }>>;
625
623
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
626
624
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -727,7 +725,7 @@ export declare const JourneysCreateRequestJson: Schema.Struct<{
727
725
  }>, Schema.Struct<{
728
726
  readonly type: Schema.Literal<"wait_for_event">;
729
727
  readonly config: Schema.Struct<{
730
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
728
+ 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">]>]>;
731
729
  readonly timeoutSeconds: Schema.Finite;
732
730
  }>;
733
731
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -780,7 +778,7 @@ export declare const JourneysCreateRequestJson: Schema.Struct<{
780
778
  }>]>;
781
779
  }>, Schema.Struct<{
782
780
  readonly type: Schema.Literal<"event">;
783
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
781
+ 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">]>]>;
784
782
  readonly occurred: Schema.Boolean;
785
783
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
786
784
  readonly type: Schema.Literal<"tag">;
@@ -818,7 +816,7 @@ export declare const JourneysCreateRequestJson: Schema.Struct<{
818
816
  }>]>;
819
817
  }>, Schema.Struct<{
820
818
  readonly type: Schema.Literal<"event">;
821
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
819
+ 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">]>]>;
822
820
  readonly occurred: Schema.Boolean;
823
821
  }>]>]>;
824
822
  }>>;
@@ -846,7 +844,7 @@ export declare const JourneysCreateRequestJson: Schema.Struct<{
846
844
  readonly next: Schema.Tuple<readonly []>;
847
845
  }>]>>;
848
846
  readonly goal: Schema.optionalKey<Schema.Struct<{
849
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
847
+ 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">]>]>;
850
848
  }>>;
851
849
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
852
850
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -917,7 +915,7 @@ export declare const JourneysCreate201: Schema.Struct<{
917
915
  }>, Schema.Struct<{
918
916
  readonly type: Schema.Literal<"wait_for_event">;
919
917
  readonly config: Schema.Struct<{
920
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
918
+ 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">]>]>;
921
919
  readonly timeoutSeconds: Schema.Finite;
922
920
  }>;
923
921
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -970,7 +968,7 @@ export declare const JourneysCreate201: Schema.Struct<{
970
968
  }>]>;
971
969
  }>, Schema.Struct<{
972
970
  readonly type: Schema.Literal<"event">;
973
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
971
+ 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">]>]>;
974
972
  readonly occurred: Schema.Boolean;
975
973
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
976
974
  readonly type: Schema.Literal<"tag">;
@@ -1008,7 +1006,7 @@ export declare const JourneysCreate201: Schema.Struct<{
1008
1006
  }>]>;
1009
1007
  }>, Schema.Struct<{
1010
1008
  readonly type: Schema.Literal<"event">;
1011
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1009
+ 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">]>]>;
1012
1010
  readonly occurred: Schema.Boolean;
1013
1011
  }>]>]>;
1014
1012
  }>>;
@@ -1036,7 +1034,7 @@ export declare const JourneysCreate201: Schema.Struct<{
1036
1034
  readonly next: Schema.Tuple<readonly []>;
1037
1035
  }>]>>;
1038
1036
  readonly goal: Schema.optionalKey<Schema.Struct<{
1039
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1037
+ 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">]>]>;
1040
1038
  }>>;
1041
1039
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
1042
1040
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -1137,7 +1135,7 @@ export declare const JourneysGet200: Schema.Struct<{
1137
1135
  }>, Schema.Struct<{
1138
1136
  readonly type: Schema.Literal<"wait_for_event">;
1139
1137
  readonly config: Schema.Struct<{
1140
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1138
+ 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">]>]>;
1141
1139
  readonly timeoutSeconds: Schema.Finite;
1142
1140
  }>;
1143
1141
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -1190,7 +1188,7 @@ export declare const JourneysGet200: Schema.Struct<{
1190
1188
  }>]>;
1191
1189
  }>, Schema.Struct<{
1192
1190
  readonly type: Schema.Literal<"event">;
1193
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1191
+ 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">]>]>;
1194
1192
  readonly occurred: Schema.Boolean;
1195
1193
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
1196
1194
  readonly type: Schema.Literal<"tag">;
@@ -1228,7 +1226,7 @@ export declare const JourneysGet200: Schema.Struct<{
1228
1226
  }>]>;
1229
1227
  }>, Schema.Struct<{
1230
1228
  readonly type: Schema.Literal<"event">;
1231
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1229
+ 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">]>]>;
1232
1230
  readonly occurred: Schema.Boolean;
1233
1231
  }>]>]>;
1234
1232
  }>>;
@@ -1256,7 +1254,7 @@ export declare const JourneysGet200: Schema.Struct<{
1256
1254
  readonly next: Schema.Tuple<readonly []>;
1257
1255
  }>]>>;
1258
1256
  readonly goal: Schema.optionalKey<Schema.Struct<{
1259
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1257
+ 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">]>]>;
1260
1258
  }>>;
1261
1259
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
1262
1260
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -1384,7 +1382,7 @@ export declare const JourneysUpdate200: Schema.Struct<{
1384
1382
  }>, Schema.Struct<{
1385
1383
  readonly type: Schema.Literal<"wait_for_event">;
1386
1384
  readonly config: Schema.Struct<{
1387
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1385
+ 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">]>]>;
1388
1386
  readonly timeoutSeconds: Schema.Finite;
1389
1387
  }>;
1390
1388
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -1437,7 +1435,7 @@ export declare const JourneysUpdate200: Schema.Struct<{
1437
1435
  }>]>;
1438
1436
  }>, Schema.Struct<{
1439
1437
  readonly type: Schema.Literal<"event">;
1440
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1438
+ 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">]>]>;
1441
1439
  readonly occurred: Schema.Boolean;
1442
1440
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
1443
1441
  readonly type: Schema.Literal<"tag">;
@@ -1475,7 +1473,7 @@ export declare const JourneysUpdate200: Schema.Struct<{
1475
1473
  }>]>;
1476
1474
  }>, Schema.Struct<{
1477
1475
  readonly type: Schema.Literal<"event">;
1478
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1476
+ 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">]>]>;
1479
1477
  readonly occurred: Schema.Boolean;
1480
1478
  }>]>]>;
1481
1479
  }>>;
@@ -1503,7 +1501,7 @@ export declare const JourneysUpdate200: Schema.Struct<{
1503
1501
  readonly next: Schema.Tuple<readonly []>;
1504
1502
  }>]>>;
1505
1503
  readonly goal: Schema.optionalKey<Schema.Struct<{
1506
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1504
+ 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">]>]>;
1507
1505
  }>>;
1508
1506
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
1509
1507
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -1598,7 +1596,7 @@ export declare const JourneysArchive200: Schema.Struct<{
1598
1596
  }>, Schema.Struct<{
1599
1597
  readonly type: Schema.Literal<"wait_for_event">;
1600
1598
  readonly config: Schema.Struct<{
1601
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1599
+ 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">]>]>;
1602
1600
  readonly timeoutSeconds: Schema.Finite;
1603
1601
  }>;
1604
1602
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -1651,7 +1649,7 @@ export declare const JourneysArchive200: Schema.Struct<{
1651
1649
  }>]>;
1652
1650
  }>, Schema.Struct<{
1653
1651
  readonly type: Schema.Literal<"event">;
1654
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1652
+ 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">]>]>;
1655
1653
  readonly occurred: Schema.Boolean;
1656
1654
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
1657
1655
  readonly type: Schema.Literal<"tag">;
@@ -1689,7 +1687,7 @@ export declare const JourneysArchive200: Schema.Struct<{
1689
1687
  }>]>;
1690
1688
  }>, Schema.Struct<{
1691
1689
  readonly type: Schema.Literal<"event">;
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">]>]>;
1690
+ 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">]>]>;
1693
1691
  readonly occurred: Schema.Boolean;
1694
1692
  }>]>]>;
1695
1693
  }>>;
@@ -1717,7 +1715,7 @@ export declare const JourneysArchive200: Schema.Struct<{
1717
1715
  readonly next: Schema.Tuple<readonly []>;
1718
1716
  }>]>>;
1719
1717
  readonly goal: Schema.optionalKey<Schema.Struct<{
1720
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1718
+ 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">]>]>;
1721
1719
  }>>;
1722
1720
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
1723
1721
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -1814,7 +1812,7 @@ export declare const JourneysReplaceDraftRequestJson: Schema.Struct<{
1814
1812
  }>, Schema.Struct<{
1815
1813
  readonly type: Schema.Literal<"wait_for_event">;
1816
1814
  readonly config: Schema.Struct<{
1817
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1815
+ 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">]>]>;
1818
1816
  readonly timeoutSeconds: Schema.Finite;
1819
1817
  }>;
1820
1818
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -1867,7 +1865,7 @@ export declare const JourneysReplaceDraftRequestJson: Schema.Struct<{
1867
1865
  }>]>;
1868
1866
  }>, Schema.Struct<{
1869
1867
  readonly type: Schema.Literal<"event">;
1870
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1868
+ 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">]>]>;
1871
1869
  readonly occurred: Schema.Boolean;
1872
1870
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
1873
1871
  readonly type: Schema.Literal<"tag">;
@@ -1905,7 +1903,7 @@ export declare const JourneysReplaceDraftRequestJson: Schema.Struct<{
1905
1903
  }>]>;
1906
1904
  }>, Schema.Struct<{
1907
1905
  readonly type: Schema.Literal<"event">;
1908
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1906
+ 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">]>]>;
1909
1907
  readonly occurred: Schema.Boolean;
1910
1908
  }>]>]>;
1911
1909
  }>>;
@@ -1933,7 +1931,7 @@ export declare const JourneysReplaceDraftRequestJson: Schema.Struct<{
1933
1931
  readonly next: Schema.Tuple<readonly []>;
1934
1932
  }>]>>;
1935
1933
  readonly goal: Schema.optionalKey<Schema.Struct<{
1936
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
1934
+ 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">]>]>;
1937
1935
  }>>;
1938
1936
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
1939
1937
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -2004,7 +2002,7 @@ export declare const JourneysReplaceDraft200: Schema.Struct<{
2004
2002
  }>, Schema.Struct<{
2005
2003
  readonly type: Schema.Literal<"wait_for_event">;
2006
2004
  readonly config: Schema.Struct<{
2007
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
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">]>]>;
2008
2006
  readonly timeoutSeconds: Schema.Finite;
2009
2007
  }>;
2010
2008
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -2057,7 +2055,7 @@ export declare const JourneysReplaceDraft200: Schema.Struct<{
2057
2055
  }>]>;
2058
2056
  }>, Schema.Struct<{
2059
2057
  readonly type: Schema.Literal<"event">;
2060
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
2058
+ 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">]>]>;
2061
2059
  readonly occurred: Schema.Boolean;
2062
2060
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
2063
2061
  readonly type: Schema.Literal<"tag">;
@@ -2095,7 +2093,7 @@ export declare const JourneysReplaceDraft200: Schema.Struct<{
2095
2093
  }>]>;
2096
2094
  }>, Schema.Struct<{
2097
2095
  readonly type: Schema.Literal<"event">;
2098
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
2096
+ 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">]>]>;
2099
2097
  readonly occurred: Schema.Boolean;
2100
2098
  }>]>]>;
2101
2099
  }>>;
@@ -2123,7 +2121,7 @@ export declare const JourneysReplaceDraft200: Schema.Struct<{
2123
2121
  readonly next: Schema.Tuple<readonly []>;
2124
2122
  }>]>>;
2125
2123
  readonly goal: Schema.optionalKey<Schema.Struct<{
2126
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
2124
+ 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">]>]>;
2127
2125
  }>>;
2128
2126
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
2129
2127
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -2224,7 +2222,7 @@ export declare const JourneysPause200: Schema.Struct<{
2224
2222
  }>, Schema.Struct<{
2225
2223
  readonly type: Schema.Literal<"wait_for_event">;
2226
2224
  readonly config: Schema.Struct<{
2227
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
2225
+ 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">]>]>;
2228
2226
  readonly timeoutSeconds: Schema.Finite;
2229
2227
  }>;
2230
2228
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -2277,7 +2275,7 @@ export declare const JourneysPause200: Schema.Struct<{
2277
2275
  }>]>;
2278
2276
  }>, Schema.Struct<{
2279
2277
  readonly type: Schema.Literal<"event">;
2280
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
2278
+ 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">]>]>;
2281
2279
  readonly occurred: Schema.Boolean;
2282
2280
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
2283
2281
  readonly type: Schema.Literal<"tag">;
@@ -2315,7 +2313,7 @@ export declare const JourneysPause200: Schema.Struct<{
2315
2313
  }>]>;
2316
2314
  }>, Schema.Struct<{
2317
2315
  readonly type: Schema.Literal<"event">;
2318
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
2316
+ 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">]>]>;
2319
2317
  readonly occurred: Schema.Boolean;
2320
2318
  }>]>]>;
2321
2319
  }>>;
@@ -2343,7 +2341,7 @@ export declare const JourneysPause200: Schema.Struct<{
2343
2341
  readonly next: Schema.Tuple<readonly []>;
2344
2342
  }>]>>;
2345
2343
  readonly goal: Schema.optionalKey<Schema.Struct<{
2346
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
2344
+ 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">]>]>;
2347
2345
  }>>;
2348
2346
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
2349
2347
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -2446,7 +2444,7 @@ export declare const JourneysPublish200: Schema.Struct<{
2446
2444
  }>, Schema.Struct<{
2447
2445
  readonly type: Schema.Literal<"wait_for_event">;
2448
2446
  readonly config: Schema.Struct<{
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">]>]>;
2447
+ 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">]>]>;
2450
2448
  readonly timeoutSeconds: Schema.Finite;
2451
2449
  }>;
2452
2450
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -2499,7 +2497,7 @@ export declare const JourneysPublish200: Schema.Struct<{
2499
2497
  }>]>;
2500
2498
  }>, Schema.Struct<{
2501
2499
  readonly type: Schema.Literal<"event">;
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">]>]>;
2500
+ 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">]>]>;
2503
2501
  readonly occurred: Schema.Boolean;
2504
2502
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
2505
2503
  readonly type: Schema.Literal<"tag">;
@@ -2537,7 +2535,7 @@ export declare const JourneysPublish200: Schema.Struct<{
2537
2535
  }>]>;
2538
2536
  }>, Schema.Struct<{
2539
2537
  readonly type: Schema.Literal<"event">;
2540
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
2538
+ 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">]>]>;
2541
2539
  readonly occurred: Schema.Boolean;
2542
2540
  }>]>]>;
2543
2541
  }>>;
@@ -2565,7 +2563,7 @@ export declare const JourneysPublish200: Schema.Struct<{
2565
2563
  readonly next: Schema.Tuple<readonly []>;
2566
2564
  }>]>>;
2567
2565
  readonly goal: Schema.optionalKey<Schema.Struct<{
2568
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
2566
+ 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">]>]>;
2569
2567
  }>>;
2570
2568
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
2571
2569
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -2666,7 +2664,7 @@ export declare const JourneysResume200: Schema.Struct<{
2666
2664
  }>, Schema.Struct<{
2667
2665
  readonly type: Schema.Literal<"wait_for_event">;
2668
2666
  readonly config: Schema.Struct<{
2669
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
2667
+ 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">]>]>;
2670
2668
  readonly timeoutSeconds: Schema.Finite;
2671
2669
  }>;
2672
2670
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -2719,7 +2717,7 @@ export declare const JourneysResume200: Schema.Struct<{
2719
2717
  }>]>;
2720
2718
  }>, Schema.Struct<{
2721
2719
  readonly type: Schema.Literal<"event">;
2722
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
2720
+ 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">]>]>;
2723
2721
  readonly occurred: Schema.Boolean;
2724
2722
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
2725
2723
  readonly type: Schema.Literal<"tag">;
@@ -2757,7 +2755,7 @@ export declare const JourneysResume200: Schema.Struct<{
2757
2755
  }>]>;
2758
2756
  }>, Schema.Struct<{
2759
2757
  readonly type: Schema.Literal<"event">;
2760
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
2758
+ 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">]>]>;
2761
2759
  readonly occurred: Schema.Boolean;
2762
2760
  }>]>]>;
2763
2761
  }>>;
@@ -2785,7 +2783,7 @@ export declare const JourneysResume200: Schema.Struct<{
2785
2783
  readonly next: Schema.Tuple<readonly []>;
2786
2784
  }>]>>;
2787
2785
  readonly goal: Schema.optionalKey<Schema.Struct<{
2788
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
2786
+ 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">]>]>;
2789
2787
  }>>;
2790
2788
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
2791
2789
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -3035,7 +3033,7 @@ export declare const JourneysGetVersion200: Schema.Struct<{
3035
3033
  }>, Schema.Struct<{
3036
3034
  readonly type: Schema.Literal<"wait_for_event">;
3037
3035
  readonly config: Schema.Struct<{
3038
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
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">]>]>;
3039
3037
  readonly timeoutSeconds: Schema.Finite;
3040
3038
  }>;
3041
3039
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -3088,7 +3086,7 @@ export declare const JourneysGetVersion200: Schema.Struct<{
3088
3086
  }>]>;
3089
3087
  }>, Schema.Struct<{
3090
3088
  readonly type: Schema.Literal<"event">;
3091
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
3089
+ 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">]>]>;
3092
3090
  readonly occurred: Schema.Boolean;
3093
3091
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
3094
3092
  readonly type: Schema.Literal<"tag">;
@@ -3126,7 +3124,7 @@ export declare const JourneysGetVersion200: Schema.Struct<{
3126
3124
  }>]>;
3127
3125
  }>, Schema.Struct<{
3128
3126
  readonly type: Schema.Literal<"event">;
3129
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
3127
+ 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">]>]>;
3130
3128
  readonly occurred: Schema.Boolean;
3131
3129
  }>]>]>;
3132
3130
  }>>;
@@ -3154,7 +3152,7 @@ export declare const JourneysGetVersion200: Schema.Struct<{
3154
3152
  readonly next: Schema.Tuple<readonly []>;
3155
3153
  }>]>>;
3156
3154
  readonly goal: Schema.optionalKey<Schema.Struct<{
3157
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
3155
+ 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">]>]>;
3158
3156
  }>>;
3159
3157
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
3160
3158
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -3241,7 +3239,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
3241
3239
  }>, Schema.Struct<{
3242
3240
  readonly type: Schema.Literal<"wait_for_event">;
3243
3241
  readonly config: Schema.Struct<{
3244
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
3242
+ 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">]>]>;
3245
3243
  readonly timeoutSeconds: Schema.Finite;
3246
3244
  }>;
3247
3245
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -3294,7 +3292,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
3294
3292
  }>]>;
3295
3293
  }>, Schema.Struct<{
3296
3294
  readonly type: Schema.Literal<"event">;
3297
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
3295
+ 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">]>]>;
3298
3296
  readonly occurred: Schema.Boolean;
3299
3297
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
3300
3298
  readonly type: Schema.Literal<"tag">;
@@ -3332,7 +3330,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
3332
3330
  }>]>;
3333
3331
  }>, Schema.Struct<{
3334
3332
  readonly type: Schema.Literal<"event">;
3335
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
3333
+ 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">]>]>;
3336
3334
  readonly occurred: Schema.Boolean;
3337
3335
  }>]>]>;
3338
3336
  }>>;
@@ -3360,7 +3358,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
3360
3358
  readonly next: Schema.Tuple<readonly []>;
3361
3359
  }>]>>;
3362
3360
  readonly goal: Schema.optionalKey<Schema.Struct<{
3363
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
3361
+ 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">]>]>;
3364
3362
  }>>;
3365
3363
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
3366
3364
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -3550,7 +3548,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
3550
3548
  }>, Schema.Struct<{
3551
3549
  readonly type: Schema.Literal<"wait_for_event">;
3552
3550
  readonly config: Schema.Struct<{
3553
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
3551
+ 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">]>]>;
3554
3552
  readonly timeoutSeconds: Schema.Finite;
3555
3553
  }>;
3556
3554
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -3603,7 +3601,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
3603
3601
  }>]>;
3604
3602
  }>, Schema.Struct<{
3605
3603
  readonly type: Schema.Literal<"event">;
3606
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
3604
+ 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">]>]>;
3607
3605
  readonly occurred: Schema.Boolean;
3608
3606
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
3609
3607
  readonly type: Schema.Literal<"tag">;
@@ -3641,7 +3639,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
3641
3639
  }>]>;
3642
3640
  }>, Schema.Struct<{
3643
3641
  readonly type: Schema.Literal<"event">;
3644
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
3642
+ 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">]>]>;
3645
3643
  readonly occurred: Schema.Boolean;
3646
3644
  }>]>]>;
3647
3645
  }>>;
@@ -3669,7 +3667,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
3669
3667
  readonly next: Schema.Tuple<readonly []>;
3670
3668
  }>]>>;
3671
3669
  readonly goal: Schema.optionalKey<Schema.Struct<{
3672
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
3670
+ 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">]>]>;
3673
3671
  }>>;
3674
3672
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
3675
3673
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -3738,7 +3736,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
3738
3736
  }>, Schema.Struct<{
3739
3737
  readonly type: Schema.Literal<"wait_for_event">;
3740
3738
  readonly config: Schema.Struct<{
3741
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
3739
+ 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">]>]>;
3742
3740
  readonly timeoutSeconds: Schema.Finite;
3743
3741
  }>;
3744
3742
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -3791,7 +3789,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
3791
3789
  }>]>;
3792
3790
  }>, Schema.Struct<{
3793
3791
  readonly type: Schema.Literal<"event">;
3794
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
3792
+ 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">]>]>;
3795
3793
  readonly occurred: Schema.Boolean;
3796
3794
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
3797
3795
  readonly type: Schema.Literal<"tag">;
@@ -3829,7 +3827,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
3829
3827
  }>]>;
3830
3828
  }>, Schema.Struct<{
3831
3829
  readonly type: Schema.Literal<"event">;
3832
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
3830
+ 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">]>]>;
3833
3831
  readonly occurred: Schema.Boolean;
3834
3832
  }>]>]>;
3835
3833
  }>>;
@@ -3857,7 +3855,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
3857
3855
  readonly next: Schema.Tuple<readonly []>;
3858
3856
  }>]>>;
3859
3857
  readonly goal: Schema.optionalKey<Schema.Struct<{
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">]>]>;
3858
+ 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
3859
  }>>;
3862
3860
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
3863
3861
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -4076,7 +4074,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
4076
4074
  }>, Schema.Struct<{
4077
4075
  readonly type: Schema.Literal<"wait_for_event">;
4078
4076
  readonly config: Schema.Struct<{
4079
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
4077
+ 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">]>]>;
4080
4078
  readonly timeoutSeconds: Schema.Finite;
4081
4079
  }>;
4082
4080
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -4129,7 +4127,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
4129
4127
  }>]>;
4130
4128
  }>, Schema.Struct<{
4131
4129
  readonly type: Schema.Literal<"event">;
4132
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
4130
+ 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">]>]>;
4133
4131
  readonly occurred: Schema.Boolean;
4134
4132
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
4135
4133
  readonly type: Schema.Literal<"tag">;
@@ -4167,7 +4165,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
4167
4165
  }>]>;
4168
4166
  }>, Schema.Struct<{
4169
4167
  readonly type: Schema.Literal<"event">;
4170
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
4168
+ 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">]>]>;
4171
4169
  readonly occurred: Schema.Boolean;
4172
4170
  }>]>]>;
4173
4171
  }>>;
@@ -4195,7 +4193,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
4195
4193
  readonly next: Schema.Tuple<readonly []>;
4196
4194
  }>]>>;
4197
4195
  readonly goal: Schema.optionalKey<Schema.Struct<{
4198
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
4196
+ 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">]>]>;
4199
4197
  }>>;
4200
4198
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
4201
4199
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -4500,7 +4498,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
4500
4498
  }>, Schema.Struct<{
4501
4499
  readonly type: Schema.Literal<"wait_for_event">;
4502
4500
  readonly config: Schema.Struct<{
4503
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
4501
+ 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">]>]>;
4504
4502
  readonly timeoutSeconds: Schema.Finite;
4505
4503
  }>;
4506
4504
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -4553,7 +4551,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
4553
4551
  }>]>;
4554
4552
  }>, Schema.Struct<{
4555
4553
  readonly type: Schema.Literal<"event">;
4556
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
4554
+ 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">]>]>;
4557
4555
  readonly occurred: Schema.Boolean;
4558
4556
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
4559
4557
  readonly type: Schema.Literal<"tag">;
@@ -4591,7 +4589,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
4591
4589
  }>]>;
4592
4590
  }>, Schema.Struct<{
4593
4591
  readonly type: Schema.Literal<"event">;
4594
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
4592
+ 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">]>]>;
4595
4593
  readonly occurred: Schema.Boolean;
4596
4594
  }>]>]>;
4597
4595
  }>>;
@@ -4619,7 +4617,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
4619
4617
  readonly next: Schema.Tuple<readonly []>;
4620
4618
  }>]>>;
4621
4619
  readonly goal: Schema.optionalKey<Schema.Struct<{
4622
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
4620
+ 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">]>]>;
4623
4621
  }>>;
4624
4622
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
4625
4623
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -5014,7 +5012,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
5014
5012
  }>, Schema.Struct<{
5015
5013
  readonly type: Schema.Literal<"wait_for_event">;
5016
5014
  readonly config: Schema.Struct<{
5017
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
5015
+ 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">]>]>;
5018
5016
  readonly timeoutSeconds: Schema.Finite;
5019
5017
  }>;
5020
5018
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -5067,7 +5065,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
5067
5065
  }>]>;
5068
5066
  }>, Schema.Struct<{
5069
5067
  readonly type: Schema.Literal<"event">;
5070
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
5068
+ 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">]>]>;
5071
5069
  readonly occurred: Schema.Boolean;
5072
5070
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
5073
5071
  readonly type: Schema.Literal<"tag">;
@@ -5105,7 +5103,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
5105
5103
  }>]>;
5106
5104
  }>, Schema.Struct<{
5107
5105
  readonly type: Schema.Literal<"event">;
5108
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
5106
+ 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">]>]>;
5109
5107
  readonly occurred: Schema.Boolean;
5110
5108
  }>]>]>;
5111
5109
  }>>;
@@ -5133,7 +5131,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
5133
5131
  readonly next: Schema.Tuple<readonly []>;
5134
5132
  }>]>>;
5135
5133
  readonly goal: Schema.optionalKey<Schema.Struct<{
5136
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
5134
+ 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">]>]>;
5137
5135
  }>>;
5138
5136
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
5139
5137
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -5330,7 +5328,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
5330
5328
  }>, Schema.Struct<{
5331
5329
  readonly type: Schema.Literal<"wait_for_event">;
5332
5330
  readonly config: Schema.Struct<{
5333
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
5331
+ 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">]>]>;
5334
5332
  readonly timeoutSeconds: Schema.Finite;
5335
5333
  }>;
5336
5334
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -5383,7 +5381,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
5383
5381
  }>]>;
5384
5382
  }>, Schema.Struct<{
5385
5383
  readonly type: Schema.Literal<"event">;
5386
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
5384
+ 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">]>]>;
5387
5385
  readonly occurred: Schema.Boolean;
5388
5386
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
5389
5387
  readonly type: Schema.Literal<"tag">;
@@ -5421,7 +5419,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
5421
5419
  }>]>;
5422
5420
  }>, Schema.Struct<{
5423
5421
  readonly type: Schema.Literal<"event">;
5424
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
5422
+ 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">]>]>;
5425
5423
  readonly occurred: Schema.Boolean;
5426
5424
  }>]>]>;
5427
5425
  }>>;
@@ -5449,7 +5447,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
5449
5447
  readonly next: Schema.Tuple<readonly []>;
5450
5448
  }>]>>;
5451
5449
  readonly goal: Schema.optionalKey<Schema.Struct<{
5452
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
5450
+ 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">]>]>;
5453
5451
  }>>;
5454
5452
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
5455
5453
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -5790,7 +5788,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
5790
5788
  }>, Schema.Struct<{
5791
5789
  readonly type: Schema.Literal<"wait_for_event">;
5792
5790
  readonly config: Schema.Struct<{
5793
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
5791
+ 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">]>]>;
5794
5792
  readonly timeoutSeconds: Schema.Finite;
5795
5793
  }>;
5796
5794
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -5843,7 +5841,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
5843
5841
  }>]>;
5844
5842
  }>, Schema.Struct<{
5845
5843
  readonly type: Schema.Literal<"event">;
5846
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
5844
+ 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">]>]>;
5847
5845
  readonly occurred: Schema.Boolean;
5848
5846
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
5849
5847
  readonly type: Schema.Literal<"tag">;
@@ -5881,7 +5879,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
5881
5879
  }>]>;
5882
5880
  }>, Schema.Struct<{
5883
5881
  readonly type: Schema.Literal<"event">;
5884
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
5882
+ 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">]>]>;
5885
5883
  readonly occurred: Schema.Boolean;
5886
5884
  }>]>]>;
5887
5885
  }>>;
@@ -5909,7 +5907,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
5909
5907
  readonly next: Schema.Tuple<readonly []>;
5910
5908
  }>]>>;
5911
5909
  readonly goal: Schema.optionalKey<Schema.Struct<{
5912
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
5910
+ 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">]>]>;
5913
5911
  }>>;
5914
5912
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
5915
5913
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -5978,7 +5976,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
5978
5976
  }>, Schema.Struct<{
5979
5977
  readonly type: Schema.Literal<"wait_for_event">;
5980
5978
  readonly config: Schema.Struct<{
5981
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
5979
+ 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">]>]>;
5982
5980
  readonly timeoutSeconds: Schema.Finite;
5983
5981
  }>;
5984
5982
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -6031,7 +6029,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
6031
6029
  }>]>;
6032
6030
  }>, Schema.Struct<{
6033
6031
  readonly type: Schema.Literal<"event">;
6034
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
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">]>]>;
6035
6033
  readonly occurred: Schema.Boolean;
6036
6034
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
6037
6035
  readonly type: Schema.Literal<"tag">;
@@ -6069,7 +6067,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
6069
6067
  }>]>;
6070
6068
  }>, Schema.Struct<{
6071
6069
  readonly type: Schema.Literal<"event">;
6072
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
6070
+ 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">]>]>;
6073
6071
  readonly occurred: Schema.Boolean;
6074
6072
  }>]>]>;
6075
6073
  }>>;
@@ -6097,7 +6095,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
6097
6095
  readonly next: Schema.Tuple<readonly []>;
6098
6096
  }>]>>;
6099
6097
  readonly goal: Schema.optionalKey<Schema.Struct<{
6100
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
6098
+ 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">]>]>;
6101
6099
  }>>;
6102
6100
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
6103
6101
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -6316,7 +6314,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
6316
6314
  }>, Schema.Struct<{
6317
6315
  readonly type: Schema.Literal<"wait_for_event">;
6318
6316
  readonly config: Schema.Struct<{
6319
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
6317
+ 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">]>]>;
6320
6318
  readonly timeoutSeconds: Schema.Finite;
6321
6319
  }>;
6322
6320
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -6369,7 +6367,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
6369
6367
  }>]>;
6370
6368
  }>, Schema.Struct<{
6371
6369
  readonly type: Schema.Literal<"event">;
6372
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
6370
+ 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">]>]>;
6373
6371
  readonly occurred: Schema.Boolean;
6374
6372
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
6375
6373
  readonly type: Schema.Literal<"tag">;
@@ -6407,7 +6405,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
6407
6405
  }>]>;
6408
6406
  }>, Schema.Struct<{
6409
6407
  readonly type: Schema.Literal<"event">;
6410
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
6408
+ 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">]>]>;
6411
6409
  readonly occurred: Schema.Boolean;
6412
6410
  }>]>]>;
6413
6411
  }>>;
@@ -6435,7 +6433,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
6435
6433
  readonly next: Schema.Tuple<readonly []>;
6436
6434
  }>]>>;
6437
6435
  readonly goal: Schema.optionalKey<Schema.Struct<{
6438
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
6436
+ 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">]>]>;
6439
6437
  }>>;
6440
6438
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
6441
6439
  readonly enrollment: Schema.optionalKey<Schema.Struct<{
@@ -6774,7 +6772,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
6774
6772
  }>, Schema.Struct<{
6775
6773
  readonly type: Schema.Literal<"wait_for_event">;
6776
6774
  readonly config: Schema.Struct<{
6777
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
6775
+ 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">]>]>;
6778
6776
  readonly timeoutSeconds: Schema.Finite;
6779
6777
  }>;
6780
6778
  readonly next: Schema.Tuple<readonly [Schema.Struct<{
@@ -6827,7 +6825,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
6827
6825
  }>]>;
6828
6826
  }>, Schema.Struct<{
6829
6827
  readonly type: Schema.Literal<"event">;
6830
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
6828
+ 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">]>]>;
6831
6829
  readonly occurred: Schema.Boolean;
6832
6830
  }>]>]>, readonly [Schema.Union<readonly [Schema.Struct<{
6833
6831
  readonly type: Schema.Literal<"tag">;
@@ -6865,7 +6863,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
6865
6863
  }>]>;
6866
6864
  }>, Schema.Struct<{
6867
6865
  readonly type: Schema.Literal<"event">;
6868
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
6866
+ 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">]>]>;
6869
6867
  readonly occurred: Schema.Boolean;
6870
6868
  }>]>]>;
6871
6869
  }>>;
@@ -6893,7 +6891,7 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
6893
6891
  readonly next: Schema.Tuple<readonly []>;
6894
6892
  }>]>>;
6895
6893
  readonly goal: Schema.optionalKey<Schema.Struct<{
6896
- readonly eventName: Schema.Union<readonly [Schema.String, Schema.Union<readonly [Schema.Literal<"contact.created">, Schema.Literal<"contact.tag_added">, Schema.Literal<"contact.joined_group">]>]>;
6894
+ 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">]>]>;
6897
6895
  }>>;
6898
6896
  readonly reentry: Schema.optionalKey<Schema.Boolean>;
6899
6897
  readonly enrollment: Schema.optionalKey<Schema.Struct<{