samva 0.45.1 → 0.46.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 (65) hide show
  1. package/AGENTS.md +7 -0
  2. package/README.md +24 -0
  3. package/dist/client/sdk.gen.d.ts +438 -5
  4. package/dist/client/sdk.gen.js +1544 -229
  5. package/dist/client/types.gen.d.ts +8120 -5616
  6. package/dist/effect/accounts.d.ts +50 -0
  7. package/dist/effect/accounts.js +22 -0
  8. package/dist/effect/agents.d.ts +9 -0
  9. package/dist/effect/agents.js +1 -1
  10. package/dist/effect/approval-requests.d.ts +42 -0
  11. package/dist/effect/approval-requests.js +18 -0
  12. package/dist/effect/campaigns.d.ts +160 -160
  13. package/dist/effect/generated/accounts.d.ts +1002 -0
  14. package/dist/effect/generated/accounts.js +198 -0
  15. package/dist/effect/generated/agents.d.ts +84 -0
  16. package/dist/effect/generated/agents.js +1 -0
  17. package/dist/effect/generated/approval-requests.d.ts +777 -0
  18. package/dist/effect/generated/approval-requests.js +135 -0
  19. package/dist/effect/generated/campaigns.d.ts +17 -17
  20. package/dist/effect/generated/campaigns.js +6 -6
  21. package/dist/effect/generated/conversations.d.ts +20 -20
  22. package/dist/effect/generated/conversations.js +10 -10
  23. package/dist/effect/generated/events.js +1 -1
  24. package/dist/effect/generated/index.d.ts +11 -1
  25. package/dist/effect/generated/integrations-catalog.d.ts +671 -0
  26. package/dist/effect/generated/integrations-catalog.js +217 -0
  27. package/dist/effect/generated/integrations.d.ts +1401 -0
  28. package/dist/effect/generated/integrations.js +246 -0
  29. package/dist/effect/generated/mailboxes.d.ts +8157 -4241
  30. package/dist/effect/generated/mailboxes.js +677 -52
  31. package/dist/effect/generated/messages.d.ts +8 -8
  32. package/dist/effect/generated/messages.js +4 -4
  33. package/dist/effect/generated/scheduled-messages.d.ts +50 -50
  34. package/dist/effect/generated/scheduled-messages.js +17 -17
  35. package/dist/effect/generated/shared.d.ts +661 -511
  36. package/dist/effect/generated/shared.js +212 -179
  37. package/dist/effect/generated/template-share-links.d.ts +733 -0
  38. package/dist/effect/generated/template-share-links.js +165 -0
  39. package/dist/effect/generated/templates.d.ts +39 -22
  40. package/dist/effect/generated/templates.js +19 -16
  41. package/dist/effect/generated-metadata.d.ts +248 -0
  42. package/dist/effect/generated-metadata.js +705 -555
  43. package/dist/effect/index.d.ts +5 -0
  44. package/dist/effect/index.js +6 -1
  45. package/dist/effect/integrations-catalog.d.ts +38 -0
  46. package/dist/effect/integrations-catalog.js +16 -0
  47. package/dist/effect/integrations.d.ts +165 -0
  48. package/dist/effect/integrations.js +24 -0
  49. package/dist/effect/mailboxes.d.ts +373 -191
  50. package/dist/effect/mailboxes.js +31 -1
  51. package/dist/effect/scheduled-messages.d.ts +350 -350
  52. package/dist/effect/template-share-links.d.ts +18 -0
  53. package/dist/effect/template-share-links.js +20 -0
  54. package/dist/effect/templates.d.ts +4 -3
  55. package/dist/index.js +2 -2
  56. package/dist/package.js +1 -1
  57. package/dist/promises/client.d.ts +11 -1
  58. package/dist/promises/client.js +13 -3
  59. package/dist/promises/errors.gen.d.ts +22 -2
  60. package/dist/promises/errors.gen.js +54 -1
  61. package/dist/promises/index.js +2 -2
  62. package/dist/promises/types.gen.d.ts +1 -1
  63. package/dist/service-map.d.ts +203 -0
  64. package/dist/service-map.js +103 -0
  65. package/package.json +22 -2
@@ -3,19 +3,19 @@ import { HttpApiMiddleware, HttpApiSecurity } from "effect/http-api";
3
3
  import * as Schema from "effect/Schema";
4
4
  // src/effect/generated/shared.ts
5
5
  const JsonValue = Schema.suspend(() => __recursive_JsonValue);
6
- const NamespaceId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^ns_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
7
- expected: "a string matching the RegExp ^ns_[0-9a-hjkmnp-tv-z]{16,24}$",
8
- identifier: "NamespaceId"
9
- })).pipe(Schema.brand("NamespaceId")))();
10
- const AgentId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^agt_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
11
- expected: "a string matching the RegExp ^agt_[0-9a-hjkmnp-tv-z]{16,24}$",
12
- identifier: "AgentId"
13
- })).pipe(Schema.brand("AgentId")))();
14
- const AgentSetupJob = /* @__PURE__ */ (() => Schema.Union([
15
- Schema.Literal("support"),
16
- Schema.Literal("store"),
17
- Schema.Literal("booking")
18
- ]).annotate({ identifier: "AgentSetupJob" }))();
6
+ const IntegrationKey = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9][a-z0-9_-]{0,63}$", "u")).annotate({
7
+ expected: "a string matching the RegExp ^[a-z0-9][a-z0-9_-]{0,63}$",
8
+ identifier: "IntegrationKey"
9
+ })))();
10
+ const JsonObject = /* @__PURE__ */ (() => Schema.Record(Schema.String, JsonValue).annotate({ identifier: "JsonObject" }))();
11
+ const IntegrationAccountId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^intgacct_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
12
+ expected: "a string matching the RegExp ^intgacct_[0-9a-hjkmnp-tv-z]{16,24}$",
13
+ identifier: "IntegrationAccountId"
14
+ })).pipe(Schema.brand("IntegrationAccountId")))();
15
+ const UserId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^user_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
16
+ expected: "a string matching the RegExp ^user_[0-9a-hjkmnp-tv-z]{16,24}$",
17
+ identifier: "UserId"
18
+ })).pipe(Schema.brand("UserId")))();
19
19
  var MalformedRequestError = class extends Schema.TaggedError()("MalformedRequestError", Schema.Struct({
20
20
  message: Schema.String,
21
21
  fields: Schema.Record(Schema.String, Schema.Array(Schema.String))
@@ -31,6 +31,40 @@ var GatewayTimeoutError = class extends Schema.TaggedError()("GatewayTimeoutErro
31
31
  message: Schema.String,
32
32
  retryAfterSeconds: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" }))
33
33
  })) {};
34
+ var ResourceNotFoundError = class extends Schema.TaggedError()("ResourceNotFoundError", Schema.Struct({
35
+ resource: Schema.String,
36
+ id: Schema.String,
37
+ message: Schema.String
38
+ })) {};
39
+ const IntegrationReturnTo = /* @__PURE__ */ (() => Schema.String.annotate({ description: "A dashboard path starting with a single slash, such as /dashboard/acme/agents." }).check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(new globalThis.RegExp("^\\/(?![/\\\\])[\\x21-\\x7e]*$", "u")).annotate({
40
+ expected: "a string matching the RegExp ^\\/(?![/\\\\])[\\x21-\\x7e]*$",
41
+ identifier: "IntegrationReturnTo"
42
+ })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })))();
43
+ const OrganizationId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^org_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
44
+ expected: "a string matching the RegExp ^org_[0-9a-hjkmnp-tv-z]{16,24}$",
45
+ identifier: "OrganizationId"
46
+ })).pipe(Schema.brand("OrganizationId")))();
47
+ const IntegrationId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^intg_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
48
+ expected: "a string matching the RegExp ^intg_[0-9a-hjkmnp-tv-z]{16,24}$",
49
+ identifier: "IntegrationId"
50
+ })).pipe(Schema.brand("IntegrationId")))();
51
+ const ContactId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^contact_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
52
+ expected: "a string matching the RegExp ^contact_[0-9a-hjkmnp-tv-z]{16,24}$",
53
+ identifier: "ContactId"
54
+ })).pipe(Schema.brand("ContactId")))();
55
+ const NamespaceId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^ns_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
56
+ expected: "a string matching the RegExp ^ns_[0-9a-hjkmnp-tv-z]{16,24}$",
57
+ identifier: "NamespaceId"
58
+ })).pipe(Schema.brand("NamespaceId")))();
59
+ const AgentId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^agt_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
60
+ expected: "a string matching the RegExp ^agt_[0-9a-hjkmnp-tv-z]{16,24}$",
61
+ identifier: "AgentId"
62
+ })).pipe(Schema.brand("AgentId")))();
63
+ const AgentSetupJob = /* @__PURE__ */ (() => Schema.Union([
64
+ Schema.Literal("support"),
65
+ Schema.Literal("store"),
66
+ Schema.Literal("booking")
67
+ ]).annotate({ identifier: "AgentSetupJob" }))();
34
68
  const AgentName = /* @__PURE__ */ (() => Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isPattern(new globalThis.RegExp("^\\S[\\s\\S]*\\S$|^\\S$|^$", "u")).annotate({
35
69
  expected: "a string matching the RegExp ^\\S[\\s\\S]*\\S$|^\\S$|^$",
36
70
  identifier: "AgentName"
@@ -43,10 +77,6 @@ const MailboxEndpointId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPa
43
77
  expected: "a string matching the RegExp ^mbxep_[0-9a-hjkmnp-tv-z]{16,24}$",
44
78
  identifier: "MailboxEndpointId"
45
79
  })).pipe(Schema.brand("MailboxEndpointId")))();
46
- const IntegrationId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^intg_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
47
- expected: "a string matching the RegExp ^intg_[0-9a-hjkmnp-tv-z]{16,24}$",
48
- identifier: "IntegrationId"
49
- })).pipe(Schema.brand("IntegrationId")))();
50
80
  const AgentToolScope = /* @__PURE__ */ (() => Schema.Union([
51
81
  Schema.Struct({ kind: Schema.Literal("all") }),
52
82
  Schema.Struct({ kind: Schema.Literal("readOnly") }),
@@ -55,6 +85,10 @@ const AgentToolScope = /* @__PURE__ */ (() => Schema.Union([
55
85
  names: Schema.Array(Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z][a-z0-9_.]{0,63}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z][a-z0-9_.]{0,63}$" }))).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))
56
86
  })
57
87
  ]).annotate({ identifier: "AgentToolScope" }))();
88
+ const TemplateId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^tmpl_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
89
+ expected: "a string matching the RegExp ^tmpl_[0-9a-hjkmnp-tv-z]{16,24}$",
90
+ identifier: "TemplateId"
91
+ })).pipe(Schema.brand("TemplateId")))();
58
92
  const PolicyEffect = /* @__PURE__ */ (() => Schema.Union([
59
93
  Schema.Literal("read"),
60
94
  Schema.Literal("write"),
@@ -64,10 +98,6 @@ const ApiKeyId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new
64
98
  expected: "a string matching the RegExp ^key_[0-9a-hjkmnp-tv-z]{16,24}$",
65
99
  identifier: "ApiKeyId"
66
100
  })).pipe(Schema.brand("ApiKeyId")))();
67
- const UserId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^user_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
68
- expected: "a string matching the RegExp ^user_[0-9a-hjkmnp-tv-z]{16,24}$",
69
- identifier: "UserId"
70
- })).pipe(Schema.brand("UserId")))();
71
101
  const ExtensionInstallationId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^exti_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
72
102
  expected: "a string matching the RegExp ^exti_[0-9a-hjkmnp-tv-z]{16,24}$",
73
103
  identifier: "ExtensionInstallationId"
@@ -109,11 +139,6 @@ var PaymentRequiredError = class extends Schema.TaggedError()("PaymentRequiredEr
109
139
  currentUsage: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })),
110
140
  limit: Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" }))
111
141
  })) {};
112
- var ResourceNotFoundError = class extends Schema.TaggedError()("ResourceNotFoundError", Schema.Struct({
113
- resource: Schema.String,
114
- id: Schema.String,
115
- message: Schema.String
116
- })) {};
117
142
  const MonthlySpendCapDollars = /* @__PURE__ */ (() => Schema.Finite.check(Schema.isFinite().annotate({ expected: "a finite number" })).check(Schema.isGreaterThanOrEqualTo(.01).annotate({ expected: "a value greater than or equal to 0.01" })).check(Schema.isLessThanOrEqualTo(1e5).annotate({
118
143
  expected: "a value less than or equal to 100000",
119
144
  identifier: "MonthlySpendCapDollars"
@@ -160,10 +185,6 @@ const AttachmentId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern
160
185
  expected: "a string matching the RegExp ^att_[0-9a-hjkmnp-tv-z]{16,24}$",
161
186
  identifier: "AttachmentId"
162
187
  })).pipe(Schema.brand("AttachmentId")))();
163
- const OrganizationId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^org_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
164
- expected: "a string matching the RegExp ^org_[0-9a-hjkmnp-tv-z]{16,24}$",
165
- identifier: "OrganizationId"
166
- })).pipe(Schema.brand("OrganizationId")))();
167
188
  const BrandAssets = /* @__PURE__ */ (() => Schema.Struct({
168
189
  logoUrl: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(new globalThis.RegExp("^https:\\/\\/[^\\s]+$", "u")).annotate({ expected: "a string matching the RegExp ^https:\\/\\/[^\\s]+$" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })), Schema.Null])),
169
190
  logoDarkUrl: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(2048).annotate({ expected: "a string with at most 2048 code points" })).check(Schema.isPattern(new globalThis.RegExp("^https:\\/\\/[^\\s]+$", "u")).annotate({ expected: "a string matching the RegExp ^https:\\/\\/[^\\s]+$" })).check(Schema.isMaxLength(2048).annotate({ expected: "a value with a length of at most 2048" })), Schema.Null])),
@@ -197,11 +218,6 @@ const TemplateInputContractId = /* @__PURE__ */ (() => Schema.String.check(Schem
197
218
  expected: "a string matching the RegExp ^tcon_[0-9a-hjkmnp-tv-z]{16,24}$",
198
219
  identifier: "TemplateInputContractId"
199
220
  })).pipe(Schema.brand("TemplateInputContractId")))();
200
- const TemplateId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^tmpl_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
201
- expected: "a string matching the RegExp ^tmpl_[0-9a-hjkmnp-tv-z]{16,24}$",
202
- identifier: "TemplateId"
203
- })).pipe(Schema.brand("TemplateId")))();
204
- const JsonObject = /* @__PURE__ */ (() => Schema.Record(Schema.String, JsonValue).annotate({ identifier: "JsonObject" }))();
205
221
  const RenderLocale = /* @__PURE__ */ (() => Schema.String.check(Schema.isMaxCodePoints(64).annotate({
206
222
  expected: "a string with at most 64 code points",
207
223
  identifier: "RenderLocale"
@@ -250,10 +266,6 @@ const WhatsAppBusinessAccountId = /* @__PURE__ */ (() => Schema.String.check(Sch
250
266
  expected: "a string matching the RegExp ^waba_[0-9a-hjkmnp-tv-z]{16,24}$",
251
267
  identifier: "WhatsAppBusinessAccountId"
252
268
  })).pipe(Schema.brand("WhatsAppBusinessAccountId")))();
253
- const ContactId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^contact_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
254
- expected: "a string matching the RegExp ^contact_[0-9a-hjkmnp-tv-z]{16,24}$",
255
- identifier: "ContactId"
256
- })).pipe(Schema.brand("ContactId")))();
257
269
  const ContactGroupId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^cgrp_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
258
270
  expected: "a string matching the RegExp ^cgrp_[0-9a-hjkmnp-tv-z]{16,24}$",
259
271
  identifier: "ContactGroupId"
@@ -408,6 +420,16 @@ const FeedbackContext = /* @__PURE__ */ (() => Schema.Struct({
408
420
  operation: Schema.optionalKey(Schema.Union([Schema.String.annotate({ description: "The operation the report is about, as an SDK method, MCP tool, CLI command, or `METHOD /path` (for example `POST /v1/messages`)." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })), Schema.Null])),
409
421
  resourceId: Schema.optionalKey(Schema.Union([Schema.String.annotate({ description: "The id of the resource involved, such as a message or domain id." }).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })), Schema.Null]))
410
422
  }).annotate({ identifier: "FeedbackContext" }))();
423
+ const IntegrationStatus = /* @__PURE__ */ (() => Schema.Union([
424
+ Schema.Literal("pending"),
425
+ Schema.Literal("connected"),
426
+ Schema.Literal("needsReconnect")
427
+ ]).annotate({ identifier: "IntegrationStatus" }))();
428
+ const AnswerWithoutApproval = /* @__PURE__ */ (() => Schema.Boolean.annotate({ identifier: "AnswerWithoutApproval" }))();
429
+ const IntegrationTool = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z][a-z0-9_.]{0,63}$", "u")).annotate({
430
+ expected: "a string matching the RegExp ^[a-z][a-z0-9_.]{0,63}$",
431
+ identifier: "IntegrationTool"
432
+ })))();
411
433
  const JourneyId = /* @__PURE__ */ (() => Schema.String.check(Schema.isPattern(new globalThis.RegExp("^jrny_[0-9a-hjkmnp-tv-z]{16,24}$", "u")).annotate({
412
434
  expected: "a string matching the RegExp ^jrny_[0-9a-hjkmnp-tv-z]{16,24}$",
413
435
  identifier: "JourneyId"
@@ -419,7 +441,7 @@ const JourneyName = /* @__PURE__ */ (() => Schema.String.check(Schema.isMinLengt
419
441
  const JourneyCustomEventName = /* @__PURE__ */ (() => Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({
420
442
  expected: "a string with at most 255 code points",
421
443
  identifier: "JourneyCustomEventName"
422
- })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })).check(Schema.isPattern(new globalThis.RegExp("^(?!(?:[Cc][Oo][Nn][Tt][Aa][Cc][Tt]|[Ss][Aa][Mm][Vv][Aa])\\.)[A-Za-z][A-Za-z0-9_.-]*$")).annotate({ expected: "a string matching the RegExp ^(?!(?:[Cc][Oo][Nn][Tt][Aa][Cc][Tt]|[Ss][Aa][Mm][Vv][Aa])\\.)[A-Za-z][A-Za-z0-9_.-]*$" })))();
444
+ })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })).check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z][A-Za-z0-9_.-]*$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z][A-Za-z0-9_.-]*$" })).check(Schema.isPattern(new globalThis.RegExp("^(?!(?:[Cc][Oo][Nn][Tt][Aa][Cc][Tt]|[Ss][Aa][Mm][Vv][Aa])\\.)[A-Za-z][A-Za-z0-9_.-]*$")).annotate({ expected: "a string matching the RegExp ^(?!(?:[Cc][Oo][Nn][Tt][Aa][Cc][Tt]|[Ss][Aa][Mm][Vv][Aa])\\.)[A-Za-z][A-Za-z0-9_.-]*$" })))();
423
445
  const JourneyContactCreatedTrigger = /* @__PURE__ */ (() => Schema.Struct({ type: Schema.Literal("contact.created") }).annotate({ identifier: "JourneyContactCreatedTrigger" }))();
424
446
  const JourneyTagAddedTrigger = /* @__PURE__ */ (() => Schema.Struct({
425
447
  type: Schema.Literal("contact.tag_added"),
@@ -761,6 +783,11 @@ const PolicyVersion = /* @__PURE__ */ (() => Schema.Finite.check(Schema.isInt().
761
783
  expected: "a value less than or equal to 9007199254740991",
762
784
  identifier: "PolicyVersion"
763
785
  })))();
786
+ var SlugTaken = class extends Schema.TaggedError()("SlugTaken", Schema.Struct({
787
+ slug: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9-]{3,60}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9-]{3,60}$" })),
788
+ suggestion: Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9-]{3,60}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9-]{3,60}$" })),
789
+ message: Schema.String
790
+ })) {};
764
791
  const TemplateTrackingDefault = /* @__PURE__ */ (() => Schema.Struct({
765
792
  opens: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null])),
766
793
  clicks: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]))
@@ -772,6 +799,7 @@ var TemplateInUseError = class extends Schema.TaggedError()("TemplateInUseError"
772
799
  id: Schema.String
773
800
  }))
774
801
  })) {};
802
+ var ShareLinkUnavailable = class extends Schema.TaggedError()("ShareLinkUnavailable", Schema.Struct({ message: Schema.String })) {};
775
803
  const TemplateFromDefaultInput = /* @__PURE__ */ (() => Schema.Struct({
776
804
  email: Schema.String,
777
805
  name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null]))
@@ -808,8 +836,61 @@ var WhatsAppSetupLinkUnavailableError = class extends Schema.TaggedError()("What
808
836
  message: Schema.String
809
837
  })) {};
810
838
  const TestWebhookPayload = /* @__PURE__ */ (() => Schema.Struct({ data: Schema.optionalKey(Schema.Union([Schema.Record(Schema.String, JsonValue), Schema.Null])) }).annotate({ identifier: "TestWebhookPayload" }))();
839
+ const TemplateData = /* @__PURE__ */ (() => Schema.Union([JsonObject, Schema.Null]).annotate({ identifier: "TemplateData" }))();
840
+ const SmsTemplateData = /* @__PURE__ */ (() => Schema.Union([JsonObject, Schema.Null]).annotate({ identifier: "SmsTemplateData" }))();
841
+ const ContactConsent = /* @__PURE__ */ (() => Schema.Struct({
842
+ status: Schema.Union([Schema.Literal("opted_in"), Schema.Literal("opted_out")]),
843
+ source: Schema.String,
844
+ capturedAt: Schema.String,
845
+ proof: Schema.Union([JsonObject, Schema.Null])
846
+ }).annotate({ identifier: "ContactConsent" }))();
847
+ const JourneyWebhookConfig = /* @__PURE__ */ (() => Schema.Struct({ data: Schema.optionalKey(JsonObject) }).annotate({ identifier: "JourneyWebhookConfig" }))();
848
+ const AccountLinks = /* @__PURE__ */ (() => Schema.Record(Schema.String, IntegrationAccountId).annotate({ identifier: "AccountLinks" }))();
849
+ const ContactEvent = /* @__PURE__ */ (() => Schema.Struct({
850
+ id: Schema.String,
851
+ contactId: ContactId,
852
+ name: Schema.String,
853
+ source: Schema.Union([Schema.Literal("api"), Schema.Literal("samva")]),
854
+ properties: JsonObject,
855
+ occurredAt: Schema.String,
856
+ recordedAt: Schema.String
857
+ }).annotate({ identifier: "ContactEvent" }))();
858
+ const ContactEventReference = /* @__PURE__ */ (() => Schema.Union([
859
+ Schema.Struct({
860
+ id: ContactId,
861
+ externalId: Schema.optionalKey(Schema.Never),
862
+ email: Schema.optionalKey(Schema.Never)
863
+ }),
864
+ Schema.Struct({
865
+ externalId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
866
+ id: Schema.optionalKey(Schema.Never),
867
+ email: Schema.optionalKey(Schema.Never)
868
+ }),
869
+ Schema.Struct({
870
+ email: Schema.String,
871
+ id: Schema.optionalKey(Schema.Never),
872
+ externalId: Schema.optionalKey(Schema.Never)
873
+ })
874
+ ]).annotate({ identifier: "ContactEventReference" }))();
875
+ const EmailRecipient = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({ contactId: ContactId }), Schema.Struct({
876
+ email: Schema.String,
877
+ name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null])),
878
+ displayName: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null]))
879
+ })]).annotate({ identifier: "EmailRecipient" }))();
880
+ const SmsRecipient = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({ contactId: ContactId }), Schema.Struct({
881
+ phone: Schema.String,
882
+ name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null])),
883
+ displayName: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null]))
884
+ })]).annotate({ identifier: "SmsRecipient" }))();
885
+ const WhatsAppRecipient = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({ contactId: ContactId }), Schema.Struct({
886
+ phone: Schema.String,
887
+ name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null])),
888
+ displayName: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null]))
889
+ })]).annotate({ identifier: "WhatsAppRecipient" }))();
890
+ const TopicContactById = /* @__PURE__ */ (() => Schema.Struct({ contactId: ContactId }).annotate({ identifier: "TopicContactById" }))();
811
891
  const CreateTemplatePayload = /* @__PURE__ */ (() => Schema.Struct({
812
- name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })),
892
+ name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })), Schema.Null]).annotate({ description: "Required for a named or gallery project. Omit when copying a share link with shareLinkSlug." })),
893
+ shareLinkSlug: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9-]{3,60}$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9-]{3,60}$" })), Schema.Null]).annotate({ description: "Copy every exported entry into the current organization, or open its existing copy. When supplied, this is the only payload field. The project's name and brand come from the starter snapshot." })),
813
894
  projectName: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(200).annotate({ expected: "a string with at most 200 code points" })).check(Schema.isMaxLength(200).annotate({ expected: "a value with a length of at most 200" })), Schema.Null])),
814
895
  slug: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })), Schema.Null])),
815
896
  galleryTemplateId: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(128).annotate({ expected: "a string with at most 128 code points" })).check(Schema.isMaxLength(128).annotate({ expected: "a value with a length of at most 128" })), Schema.Null])),
@@ -829,8 +910,22 @@ const CreateTemplatePayload = /* @__PURE__ */ (() => Schema.Struct({
829
910
  }).annotate({ identifier: "CreateTemplatePayload" }))();
830
911
  const AgentIntegrationGrant = /* @__PURE__ */ (() => Schema.Struct({
831
912
  integrationId: IntegrationId,
913
+ subject: Schema.optionalKey(Schema.Union([Schema.Literal("org"), Schema.Literal("contact")])),
832
914
  tools: AgentToolScope
833
915
  }).annotate({ identifier: "AgentIntegrationGrant" }))();
916
+ const SendMailboxChatPayload = /* @__PURE__ */ (() => Schema.Struct({
917
+ channel: Schema.Union([Schema.Literal("whatsapp"), Schema.Literal("sms")]),
918
+ to: Schema.String,
919
+ text: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null])),
920
+ templateId: Schema.optionalKey(Schema.Union([TemplateId, Schema.Null])),
921
+ templateData: Schema.optionalKey(Schema.Union([JsonObject, Schema.Null]))
922
+ }).annotate({ identifier: "SendMailboxChatPayload" }))();
923
+ const ReplyMailboxChatPayload = /* @__PURE__ */ (() => Schema.Struct({
924
+ channel: Schema.Union([Schema.Literal("whatsapp"), Schema.Literal("sms")]),
925
+ text: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null])),
926
+ templateId: Schema.optionalKey(Schema.Union([TemplateId, Schema.Null])),
927
+ templateData: Schema.optionalKey(Schema.Union([JsonObject, Schema.Null]))
928
+ }).annotate({ identifier: "ReplyMailboxChatPayload" }))();
834
929
  const PolicySubject = /* @__PURE__ */ (() => Schema.Union([
835
930
  Schema.Struct({
836
931
  kind: Schema.Literal("agent"),
@@ -1045,28 +1140,6 @@ const WhatsAppDocumentHeaderUpload = /* @__PURE__ */ (() => Schema.Struct({
1045
1140
  filename: Schema.optionalKey(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })).check(Schema.isPattern(new globalThis.RegExp("\\S")).annotate({ expected: "a string matching the RegExp \\S" }))),
1046
1141
  mediaId: MediaId
1047
1142
  }).annotate({ identifier: "WhatsAppDocumentHeaderUpload" }))();
1048
- const TemplateData = /* @__PURE__ */ (() => Schema.Union([JsonObject, Schema.Null]).annotate({ identifier: "TemplateData" }))();
1049
- const SmsTemplateData = /* @__PURE__ */ (() => Schema.Union([JsonObject, Schema.Null]).annotate({ identifier: "SmsTemplateData" }))();
1050
- const ContactConsent = /* @__PURE__ */ (() => Schema.Struct({
1051
- status: Schema.Union([Schema.Literal("opted_in"), Schema.Literal("opted_out")]),
1052
- source: Schema.String,
1053
- capturedAt: Schema.String,
1054
- proof: Schema.Union([JsonObject, Schema.Null])
1055
- }).annotate({ identifier: "ContactConsent" }))();
1056
- const JourneyWebhookConfig = /* @__PURE__ */ (() => Schema.Struct({ data: Schema.optionalKey(JsonObject) }).annotate({ identifier: "JourneyWebhookConfig" }))();
1057
- const SendMailboxChatPayload = /* @__PURE__ */ (() => Schema.Struct({
1058
- channel: Schema.Union([Schema.Literal("whatsapp"), Schema.Literal("sms")]),
1059
- to: Schema.String,
1060
- text: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null])),
1061
- templateId: Schema.optionalKey(Schema.Union([TemplateId, Schema.Null])),
1062
- templateData: Schema.optionalKey(Schema.Union([JsonObject, Schema.Null]))
1063
- }).annotate({ identifier: "SendMailboxChatPayload" }))();
1064
- const ReplyMailboxChatPayload = /* @__PURE__ */ (() => Schema.Struct({
1065
- channel: Schema.Union([Schema.Literal("whatsapp"), Schema.Literal("sms")]),
1066
- text: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })), Schema.Null])),
1067
- templateId: Schema.optionalKey(Schema.Union([TemplateId, Schema.Null])),
1068
- templateData: Schema.optionalKey(Schema.Union([JsonObject, Schema.Null]))
1069
- }).annotate({ identifier: "ReplyMailboxChatPayload" }))();
1070
1143
  const SkippedRecipient = /* @__PURE__ */ (() => Schema.Struct({
1071
1144
  address: Schema.String,
1072
1145
  reason: Schema.Union([
@@ -1080,48 +1153,6 @@ const SkippedRecipient = /* @__PURE__ */ (() => Schema.Struct({
1080
1153
  }).annotate({ identifier: "SkippedRecipient" }))();
1081
1154
  const CampaignConversationRef = /* @__PURE__ */ (() => Schema.Union([ConversationId, Schema.Null]).annotate({ identifier: "CampaignConversationRef" }))();
1082
1155
  const WhatsAppTemplateBinding = /* @__PURE__ */ (() => Schema.Union([WhatsAppTemplateContactBinding, WhatsAppTemplateCustomFieldBinding]).annotate({ identifier: "WhatsAppTemplateBinding" }))();
1083
- const ContactEvent = /* @__PURE__ */ (() => Schema.Struct({
1084
- id: Schema.String,
1085
- contactId: ContactId,
1086
- name: Schema.String,
1087
- source: Schema.Union([Schema.Literal("api"), Schema.Literal("samva")]),
1088
- properties: JsonObject,
1089
- occurredAt: Schema.String,
1090
- recordedAt: Schema.String
1091
- }).annotate({ identifier: "ContactEvent" }))();
1092
- const ContactEventReference = /* @__PURE__ */ (() => Schema.Union([
1093
- Schema.Struct({
1094
- id: ContactId,
1095
- externalId: Schema.optionalKey(Schema.Never),
1096
- email: Schema.optionalKey(Schema.Never)
1097
- }),
1098
- Schema.Struct({
1099
- externalId: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })),
1100
- id: Schema.optionalKey(Schema.Never),
1101
- email: Schema.optionalKey(Schema.Never)
1102
- }),
1103
- Schema.Struct({
1104
- email: Schema.String,
1105
- id: Schema.optionalKey(Schema.Never),
1106
- externalId: Schema.optionalKey(Schema.Never)
1107
- })
1108
- ]).annotate({ identifier: "ContactEventReference" }))();
1109
- const EmailRecipient = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({ contactId: ContactId }), Schema.Struct({
1110
- email: Schema.String,
1111
- name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null])),
1112
- displayName: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null]))
1113
- })]).annotate({ identifier: "EmailRecipient" }))();
1114
- const SmsRecipient = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({ contactId: ContactId }), Schema.Struct({
1115
- phone: Schema.String,
1116
- name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null])),
1117
- displayName: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null]))
1118
- })]).annotate({ identifier: "SmsRecipient" }))();
1119
- const WhatsAppRecipient = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({ contactId: ContactId }), Schema.Struct({
1120
- phone: Schema.String,
1121
- name: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null])),
1122
- displayName: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isMaxCodePoints(120).annotate({ expected: "a string with at most 120 code points" })).check(Schema.isMaxLength(120).annotate({ expected: "a value with a length of at most 120" })), Schema.Null]))
1123
- })]).annotate({ identifier: "WhatsAppRecipient" }))();
1124
- const TopicContactById = /* @__PURE__ */ (() => Schema.Struct({ contactId: ContactId }).annotate({ identifier: "TopicContactById" }))();
1125
1156
  const CampaignAudience = /* @__PURE__ */ (() => Schema.Struct({
1126
1157
  topicId: TopicId,
1127
1158
  includeTags: Schema.optionalKey(Schema.Union([Schema.Array(Schema.String), Schema.Null])),
@@ -1401,6 +1432,56 @@ const UpdateTemplatePayload = /* @__PURE__ */ (() => Schema.Struct({ data: Schem
1401
1432
  trackingDefault: Schema.optionalKey(Schema.Union([TemplateTrackingDefault, Schema.Null]).annotate({ description: "Engagement tracking for sends of this template: `opens` and `clicks`, each inherited from the domain and organization defaults when omitted. A send request's own `tracking` still wins. Null clears the template's default." })),
1402
1433
  shared: Schema.optionalKey(Schema.Union([Schema.Boolean, Schema.Null]).annotate({ description: "Share the template's project with every namespace, or stop sharing it. Applies to every entry in the project. Only an organization-level project is shared." }))
1403
1434
  }) }).annotate({ identifier: "UpdateTemplatePayload" }))();
1435
+ const SmsContent = /* @__PURE__ */ (() => Schema.Struct({
1436
+ text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
1437
+ templateId: Schema.optionalKey(Schema.Union([TemplateId, Schema.Null])),
1438
+ templateSlug: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })), Schema.Null])),
1439
+ templateData: Schema.optionalKey(SmsTemplateData)
1440
+ }).annotate({ identifier: "SmsContent" }))();
1441
+ const SmsDispatchContent = /* @__PURE__ */ (() => Schema.Struct({
1442
+ text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
1443
+ templateId: Schema.optionalKey(Schema.Union([TemplateId, Schema.Null])),
1444
+ templateSlug: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })), Schema.Null])),
1445
+ templateData: Schema.optionalKey(SmsTemplateData)
1446
+ }).annotate({ identifier: "SmsDispatchContent" }))();
1447
+ const ContactIdentityChannel = /* @__PURE__ */ (() => Schema.Struct({
1448
+ channel: Schema.Union([
1449
+ Schema.Literal("sms"),
1450
+ Schema.Literal("whatsapp"),
1451
+ Schema.Literal("email")
1452
+ ]),
1453
+ reachability: Schema.Union([
1454
+ Schema.Literal("unknown"),
1455
+ Schema.Literal("reachable"),
1456
+ Schema.Literal("unreachable")
1457
+ ]),
1458
+ consent: Schema.Union([ContactConsent, Schema.Null])
1459
+ }).annotate({ identifier: "ContactIdentityChannel" }))();
1460
+ const CreateEventPayload = /* @__PURE__ */ (() => Schema.Struct({
1461
+ contact: ContactEventReference,
1462
+ name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })).check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z][A-Za-z0-9_.-]*$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z][A-Za-z0-9_.-]*$" })).check(Schema.isPattern(new globalThis.RegExp("^(?!(?:[Cc][Oo][Nn][Tt][Aa][Cc][Tt]|[Ss][Aa][Mm][Vv][Aa])\\.)[A-Za-z][A-Za-z0-9_.-]*$")).annotate({ expected: "a string matching the RegExp ^(?!(?:[Cc][Oo][Nn][Tt][Aa][Cc][Tt]|[Ss][Aa][Mm][Vv][Aa])\\.)[A-Za-z][A-Za-z0-9_.-]*$" })),
1463
+ properties: Schema.optionalKey(Schema.Union([JsonObject, Schema.Null])),
1464
+ occurredAt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
1465
+ }).annotate({ identifier: "CreateEventPayload" }))();
1466
+ const EmailRecipients = /* @__PURE__ */ (() => Schema.Array(EmailRecipient).check(Schema.isMinLength(1).annotate({
1467
+ expected: "a value with a length of at least 1",
1468
+ identifier: "EmailRecipients"
1469
+ })))();
1470
+ const EmailCcRecipients = /* @__PURE__ */ (() => Schema.Union([Schema.Array(EmailRecipient), Schema.Null]).annotate({ identifier: "EmailCcRecipients" }))();
1471
+ const EmailBccRecipients = /* @__PURE__ */ (() => Schema.Union([Schema.Array(EmailRecipient), Schema.Null]).annotate({ identifier: "EmailBccRecipients" }))();
1472
+ const SmsRecipients = /* @__PURE__ */ (() => Schema.Array(SmsRecipient).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxLength(1).annotate({
1473
+ expected: "a value with a length of at most 1",
1474
+ identifier: "SmsRecipients"
1475
+ })))();
1476
+ const WhatsAppRecipients = /* @__PURE__ */ (() => Schema.Array(WhatsAppRecipient).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxLength(1).annotate({
1477
+ expected: "a value with a length of at most 1",
1478
+ identifier: "WhatsAppRecipients"
1479
+ })))();
1480
+ const TopicContactRef = /* @__PURE__ */ (() => Schema.Union([
1481
+ TopicContactById,
1482
+ TopicContactByEmail,
1483
+ TopicContactByPhone
1484
+ ]).annotate({ identifier: "TopicContactRef" }))();
1404
1485
  const PolicyRuleMatch = /* @__PURE__ */ (() => Schema.Struct({
1405
1486
  kind: Schema.optionalKey(Schema.Union([Schema.Union([
1406
1487
  Schema.Literal("send"),
@@ -1495,60 +1576,10 @@ const WhatsAppSticker = /* @__PURE__ */ (() => Schema.Union([WhatsAppStickerLink
1495
1576
  const WhatsAppImageHeader = /* @__PURE__ */ (() => Schema.Union([WhatsAppImageHeaderLink, WhatsAppImageHeaderUpload]).annotate({ identifier: "WhatsAppImageHeader" }))();
1496
1577
  const WhatsAppVideoHeader = /* @__PURE__ */ (() => Schema.Union([WhatsAppVideoHeaderLink, WhatsAppVideoHeaderUpload]).annotate({ identifier: "WhatsAppVideoHeader" }))();
1497
1578
  const WhatsAppDocumentHeader = /* @__PURE__ */ (() => Schema.Union([WhatsAppDocumentHeaderLink, WhatsAppDocumentHeaderUpload]).annotate({ identifier: "WhatsAppDocumentHeader" }))();
1498
- const SmsContent = /* @__PURE__ */ (() => Schema.Struct({
1499
- text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
1500
- templateId: Schema.optionalKey(Schema.Union([TemplateId, Schema.Null])),
1501
- templateSlug: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })), Schema.Null])),
1502
- templateData: Schema.optionalKey(SmsTemplateData)
1503
- }).annotate({ identifier: "SmsContent" }))();
1504
- const SmsDispatchContent = /* @__PURE__ */ (() => Schema.Struct({
1505
- text: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
1506
- templateId: Schema.optionalKey(Schema.Union([TemplateId, Schema.Null])),
1507
- templateSlug: Schema.optionalKey(Schema.Union([Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" })), Schema.Null])),
1508
- templateData: Schema.optionalKey(SmsTemplateData)
1509
- }).annotate({ identifier: "SmsDispatchContent" }))();
1510
- const ContactIdentityChannel = /* @__PURE__ */ (() => Schema.Struct({
1511
- channel: Schema.Union([
1512
- Schema.Literal("sms"),
1513
- Schema.Literal("whatsapp"),
1514
- Schema.Literal("email")
1515
- ]),
1516
- reachability: Schema.Union([
1517
- Schema.Literal("unknown"),
1518
- Schema.Literal("reachable"),
1519
- Schema.Literal("unreachable")
1520
- ]),
1521
- consent: Schema.Union([ContactConsent, Schema.Null])
1522
- }).annotate({ identifier: "ContactIdentityChannel" }))();
1523
1579
  const WhatsAppTemplateBindings = /* @__PURE__ */ (() => Schema.Record(Schema.String, WhatsAppTemplateBinding).annotate({ description: "Template parameters filled per recipient: parameter name to the contact field it reads." }).check(Schema.isPropertyNames(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" }))).annotate({
1524
1580
  expected: "an object with property names matching the schema",
1525
1581
  identifier: "WhatsAppTemplateBindings"
1526
1582
  })))();
1527
- const CreateEventPayload = /* @__PURE__ */ (() => Schema.Struct({
1528
- contact: ContactEventReference,
1529
- name: Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })).check(Schema.isPattern(new globalThis.RegExp("^(?!(?:[Cc][Oo][Nn][Tt][Aa][Cc][Tt]|[Ss][Aa][Mm][Vv][Aa])\\.)[A-Za-z][A-Za-z0-9_.-]*$")).annotate({ expected: "a string matching the RegExp ^(?!(?:[Cc][Oo][Nn][Tt][Aa][Cc][Tt]|[Ss][Aa][Mm][Vv][Aa])\\.)[A-Za-z][A-Za-z0-9_.-]*$" })),
1530
- properties: Schema.optionalKey(Schema.Union([JsonObject, Schema.Null])),
1531
- occurredAt: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null]))
1532
- }).annotate({ identifier: "CreateEventPayload" }))();
1533
- const EmailRecipients = /* @__PURE__ */ (() => Schema.Array(EmailRecipient).check(Schema.isMinLength(1).annotate({
1534
- expected: "a value with a length of at least 1",
1535
- identifier: "EmailRecipients"
1536
- })))();
1537
- const EmailCcRecipients = /* @__PURE__ */ (() => Schema.Union([Schema.Array(EmailRecipient), Schema.Null]).annotate({ identifier: "EmailCcRecipients" }))();
1538
- const EmailBccRecipients = /* @__PURE__ */ (() => Schema.Union([Schema.Array(EmailRecipient), Schema.Null]).annotate({ identifier: "EmailBccRecipients" }))();
1539
- const SmsRecipients = /* @__PURE__ */ (() => Schema.Array(SmsRecipient).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxLength(1).annotate({
1540
- expected: "a value with a length of at most 1",
1541
- identifier: "SmsRecipients"
1542
- })))();
1543
- const WhatsAppRecipients = /* @__PURE__ */ (() => Schema.Array(WhatsAppRecipient).check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxLength(1).annotate({
1544
- expected: "a value with a length of at most 1",
1545
- identifier: "WhatsAppRecipients"
1546
- })))();
1547
- const TopicContactRef = /* @__PURE__ */ (() => Schema.Union([
1548
- TopicContactById,
1549
- TopicContactByEmail,
1550
- TopicContactByPhone
1551
- ]).annotate({ identifier: "TopicContactRef" }))();
1552
1583
  const MessagePage = /* @__PURE__ */ (() => Schema.Struct({
1553
1584
  items: Schema.Array(MessageSummary),
1554
1585
  nextCursor: Schema.Union([Schema.String, Schema.Null])
@@ -1651,6 +1682,29 @@ const OperationAccepted = /* @__PURE__ */ (() => Schema.Struct({
1651
1682
  resource: OperationResourceLink
1652
1683
  })
1653
1684
  }).annotate({ identifier: "OperationAccepted" }))();
1685
+ const SmsCampaignContentInput = /* @__PURE__ */ (() => Schema.Struct({
1686
+ channel: Schema.Literal("sms"),
1687
+ sms: SmsDispatchContent,
1688
+ conversationId: Schema.optionalKey(CampaignConversationRef),
1689
+ metadata: Schema.optionalKey(CampaignContentMetadata)
1690
+ }).annotate({ identifier: "SmsCampaignContentInput" }))();
1691
+ const ContactIdentity = /* @__PURE__ */ (() => Schema.Struct({
1692
+ id: ContactIdentityId,
1693
+ type: Schema.Union([Schema.Literal("email"), Schema.Literal("phone")]),
1694
+ identifier: Schema.String,
1695
+ verified: Schema.Boolean,
1696
+ channels: Schema.Array(ContactIdentityChannel)
1697
+ }).annotate({ identifier: "ContactIdentity" }))();
1698
+ const SmsSendMessagePayload = /* @__PURE__ */ (() => Schema.Struct({
1699
+ conversationId: Schema.optionalKey(Schema.Union([ConversationId, Schema.Null])),
1700
+ metadata: Schema.optionalKey(MessageMetadata),
1701
+ channel: Schema.Literal("sms"),
1702
+ to: SmsRecipients,
1703
+ sms: SmsContent
1704
+ }).annotate({
1705
+ description: "The payload is accepted by the contract today and the endpoint answers 403 until the channel launches for your organization.",
1706
+ identifier: "SmsSendMessagePayload"
1707
+ }))();
1654
1708
  const PolicyRule = /* @__PURE__ */ (() => Schema.Union([Schema.Struct({
1655
1709
  match: PolicyRuleMatch,
1656
1710
  note: Schema.optionalKey(Schema.Union([Schema.String, Schema.Null])),
@@ -1714,35 +1768,12 @@ const WhatsAppInteractiveHeader = /* @__PURE__ */ (() => Schema.Union([
1714
1768
  WhatsAppVideoHeader,
1715
1769
  WhatsAppDocumentHeader
1716
1770
  ]).annotate({ identifier: "WhatsAppInteractiveHeader" }))();
1717
- const SmsCampaignContentInput = /* @__PURE__ */ (() => Schema.Struct({
1718
- channel: Schema.Literal("sms"),
1719
- sms: SmsDispatchContent,
1720
- conversationId: Schema.optionalKey(CampaignConversationRef),
1721
- metadata: Schema.optionalKey(CampaignContentMetadata)
1722
- }).annotate({ identifier: "SmsCampaignContentInput" }))();
1723
- const ContactIdentity = /* @__PURE__ */ (() => Schema.Struct({
1724
- id: ContactIdentityId,
1725
- type: Schema.Union([Schema.Literal("email"), Schema.Literal("phone")]),
1726
- identifier: Schema.String,
1727
- verified: Schema.Boolean,
1728
- channels: Schema.Array(ContactIdentityChannel)
1729
- }).annotate({ identifier: "ContactIdentity" }))();
1730
1771
  const WhatsAppTemplateDispatch = /* @__PURE__ */ (() => Schema.Struct({
1731
1772
  template: Schema.Union([TemplateId, Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" }))]),
1732
1773
  templateData: Schema.optionalKey(WhatsAppTemplateDispatchData),
1733
1774
  bindings: Schema.optionalKey(WhatsAppTemplateBindings),
1734
1775
  businessAccountId: Schema.optionalKey(WhatsAppBusinessAccountId)
1735
1776
  }).annotate({ identifier: "WhatsAppTemplateDispatch" }))();
1736
- const SmsSendMessagePayload = /* @__PURE__ */ (() => Schema.Struct({
1737
- conversationId: Schema.optionalKey(Schema.Union([ConversationId, Schema.Null])),
1738
- metadata: Schema.optionalKey(MessageMetadata),
1739
- channel: Schema.Literal("sms"),
1740
- to: SmsRecipients,
1741
- sms: SmsContent
1742
- }).annotate({
1743
- description: "The payload is accepted by the contract today and the endpoint answers 403 until the channel launches for your organization.",
1744
- identifier: "SmsSendMessagePayload"
1745
- }))();
1746
1777
  const JourneyWaitForEventNode = /* @__PURE__ */ (() => Schema.Struct({
1747
1778
  type: Schema.Literal("wait_for_event"),
1748
1779
  config: JourneyWaitForEventConfig,
@@ -1828,6 +1859,8 @@ const AgentDefinition = /* @__PURE__ */ (() => Schema.Struct({
1828
1859
  knowledgeSourceIds: Schema.optionalKey(Schema.Array(KnowledgeSourceId).check(Schema.isMaxLength(25).annotate({ expected: "a value with a length of at most 25" }))),
1829
1860
  endpointIds: Schema.Array(MailboxEndpointId).check(Schema.isMaxLength(20).annotate({ expected: "a value with a length of at most 20" })),
1830
1861
  integrations: Schema.Array(AgentIntegrationGrant).check(Schema.isMaxLength(20).annotate({ expected: "a value with a length of at most 20" })),
1862
+ eventTriggers: Schema.optionalKey(Schema.Array(Schema.String.check(Schema.isMinLength(1).annotate({ expected: "a value with a length of at least 1" })).check(Schema.isMaxCodePoints(255).annotate({ expected: "a string with at most 255 code points" })).check(Schema.isPattern(new globalThis.RegExp("^[A-Za-z][A-Za-z0-9_.-]*$", "u")).annotate({ expected: "a string matching the RegExp ^[A-Za-z][A-Za-z0-9_.-]*$" })).check(Schema.isMaxLength(255).annotate({ expected: "a value with a length of at most 255" })))),
1863
+ followUpTemplate: Schema.optionalKey(Schema.Union([TemplateId, Schema.String.check(Schema.isPattern(new globalThis.RegExp("^[a-z0-9]+(?:-[a-z0-9]+)*$", "u")).annotate({ expected: "a string matching the RegExp ^[a-z0-9]+(?:-[a-z0-9]+)*$" }))])),
1831
1864
  policy: PolicyConfiguration,
1832
1865
  model: AgentModelChoice,
1833
1866
  reasoning: AgentReasoning,
@@ -1908,6 +1941,6 @@ const ApiKeySecurity = HttpApiSecurity.apiKey({
1908
1941
  in: "header"
1909
1942
  });
1910
1943
  var ApiKeySecurityMiddleware = class extends HttpApiMiddleware.Service()("apiKey security", { security: { apiKey: ApiKeySecurity } }) {};
1911
- export { AgentDefinition, AgentId, AgentIntegrationGrant, AgentModel, AgentModelChoice, AgentName, AgentReasoning, AgentSetupJob, AgentToolScope, AnalyticsQueryError, ApiKeyAccess, ApiKeyId, ApiKeyMailboxAccess, ApiKeyResourceAccess, ApiKeySecurity, ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, BrandAddress, BrandAddressRequiredError, BrandAssets, BrandFooter, BrandSocialLink, CampaignAudience, CampaignContentInput, CampaignContentMetadata, CampaignConversationRef, CampaignEmailInput, CampaignFooterRequiredError, CampaignFromInput, CampaignId, CampaignLatestRun, CampaignReplyMailbox, CampaignRunId, CatalogModelId, ClockTime, ConflictError, ContactConsent, ContactEvent, ContactEventReference, ContactGroupId, ContactId, ContactIdentity, ContactIdentityChannel, ContactIdentityId, ConversationId, CreateBrand, CreateEventPayload, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, CreateTemplatePayload, CreateWebhookPayload, CredentialsError, DeliveryUnavailableError, EmailAttachment, EmailAttachments, EmailBccRecipients, EmailCampaignContentInput, EmailCcRecipients, EmailChannelError, EmailContent, EmailCustomHeaders, EmailDomainId, EmailFooterOverride, EmailRecipient, EmailRecipients, EmailSendMessagePayload, EmailSender, EmailSenderId, EmailTrackingOverrideV1, ExtensionId, ExtensionInstallationId, ExtensionVersionId, ExtensionVersionRef, ExternalServiceError, FeedbackContext, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, IanaTimezone, IntegrationId, InternalError, JourneyBranchEdge, JourneyBranchNode, JourneyComparison, JourneyCondition, JourneyContactCreatedTrigger, JourneyContactProperty, JourneyCustomEventName, JourneyCustomEventTrigger, JourneyCustomFieldPredicate, JourneyDefinition, JourneyEmptyConfig, JourneyEqualityComparison, JourneyEventName, JourneyEventPredicate, JourneyExitNode, JourneyGoal, JourneyGroupJoinedTrigger, JourneyId, JourneyName, JourneyNextEdge, JourneyNode, JourneyNodeId, JourneyNumericComparison, JourneyPredicate, JourneyPresenceComparison, JourneyPropertyPredicate, JourneySendEmailConfig, JourneySendEmailNode, JourneyStringComparison, JourneyTagAddedTrigger, JourneyTagPredicate, JourneyTrigger, JourneyUpdateTagsConfig, JourneyUpdateTagsNode, JourneyWaitConfig, JourneyWaitEventEdge, JourneyWaitForEventConfig, JourneyWaitForEventNode, JourneyWaitNode, JourneyWebhookConfig, JourneyWebhookNode, JsonObject, JsonValue, KnowledgeSourceId, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch, MailboxSendConflictError, MailboxSendError, MailboxSendOutcome, MailboxSendReceipt, MailboxSendRefusedError, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MalformedRequestError, MediaId, MessageDeliveryId, MessageId, MessageMetadata, MessagePage, MessageSummary, MonthlySpendCapDollars, NamespaceId, NamespaceMetadata, NamespacePortalLinkMetadata, NamespaceResourceType, NewsletterId, OnboardingReviewRequiredError, Operation, OperationAccepted, OperationId, OperationResource, OperationResourceLink, OrganizationId, PaymentRequiredError, PolicyConfiguration, PolicyDecider, PolicyDecisionId, PolicyEffect, PolicyRequirement, PolicyReviewRound, PolicyRule, PolicyRuleMatch, PolicySubject, PolicyVersion, RateLimitedError, RenderLocale, RenderTimeZone, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ReplyToAddresses, ResourceNotFoundError, SendFeedback, SendMailboxChatPayload, SendMailboxEmailPayload, SenderNotReadyError, SendsSeries, ServiceUnavailableError, SkippedRecipient, SmsCampaignContentInput, SmsContent, SmsDispatchContent, SmsRecipient, SmsRecipients, SmsSendMessagePayload, SmsTemplateData, StoredEmailAttachments, StoredReplyToAddresses, SuccessResponse, TemplateData, TemplateFromDefaultInput, TemplateId, TemplateInUseError, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplateSourceError, TemplateTrackingDefault, TestWebhookPayload, TimeZone, TopicContactByEmail, TopicContactById, TopicContactByPhone, TopicContactRef, TopicId, UnauthorizedError, UpdateBrand, UpdateTemplatePayload, UpdateWebhookPayload, UserId, ValidationError, WebhookEndpointId, Weekday, WhatsAppAudio, WhatsAppAudioLink, WhatsAppAudioUpload, WhatsAppBusinessAccountId, WhatsAppButtonsMessage, WhatsAppCampaignContentInput, WhatsAppChannelError, WhatsAppContactCard, WhatsAppContactsContent, WhatsAppContent, WhatsAppCtaUrlMessage, WhatsAppDocument, WhatsAppDocumentHeader, WhatsAppDocumentHeaderLink, WhatsAppDocumentHeaderUpload, WhatsAppDocumentLink, WhatsAppDocumentUpload, WhatsAppFlowId, WhatsAppFlowMessage, WhatsAppFlowVersionId, WhatsAppImage, WhatsAppImageHeader, WhatsAppImageHeaderLink, WhatsAppImageHeaderUpload, WhatsAppImageLink, WhatsAppImageUpload, WhatsAppInteractive, WhatsAppInteractiveContent, WhatsAppInteractiveHeader, WhatsAppJourneySendNode, WhatsAppListMessage, WhatsAppListRow, WhatsAppListSection, WhatsAppLocation, WhatsAppLocationContent, WhatsAppMediaContent, WhatsAppOutboundMedia, WhatsAppReaction, WhatsAppReactionContent, WhatsAppRecipient, WhatsAppRecipients, WhatsAppReplyButton, WhatsAppSendMessagePayload, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkMetadata, WhatsAppSetupLinkRedirectUrl, WhatsAppSetupLinkUnavailableError, WhatsAppSticker, WhatsAppStickerLink, WhatsAppStickerUpload, WhatsAppTemplateBinding, WhatsAppTemplateBindings, WhatsAppTemplateContactBinding, WhatsAppTemplateCustomFieldBinding, WhatsAppTemplateData, WhatsAppTemplateDispatch, WhatsAppTemplateDispatchData, WhatsAppTemplateIdContent, WhatsAppTemplateSlugContent, WhatsAppTextContent, WhatsAppTextHeader, WhatsAppVideo, WhatsAppVideoHeader, WhatsAppVideoHeaderLink, WhatsAppVideoHeaderUpload, WhatsAppVideoLink, WhatsAppVideoUpload, WorkingHours, WorkingHoursRange, AbsoluteInstant as __SamvaRuntimeAbsoluteInstant, NonEmptySensitiveString as __SamvaRuntimeNonEmptySensitiveString, SensitiveString as __SamvaRuntimeSensitiveString };
1944
+ export { AccountLinks, AgentDefinition, AgentId, AgentIntegrationGrant, AgentModel, AgentModelChoice, AgentName, AgentReasoning, AgentSetupJob, AgentToolScope, AnalyticsQueryError, AnswerWithoutApproval, ApiKeyAccess, ApiKeyId, ApiKeyMailboxAccess, ApiKeyResourceAccess, ApiKeySecurity, ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, BrandAddress, BrandAddressRequiredError, BrandAssets, BrandFooter, BrandSocialLink, CampaignAudience, CampaignContentInput, CampaignContentMetadata, CampaignConversationRef, CampaignEmailInput, CampaignFooterRequiredError, CampaignFromInput, CampaignId, CampaignLatestRun, CampaignReplyMailbox, CampaignRunId, CatalogModelId, ClockTime, ConflictError, ContactConsent, ContactEvent, ContactEventReference, ContactGroupId, ContactId, ContactIdentity, ContactIdentityChannel, ContactIdentityId, ConversationId, CreateBrand, CreateEventPayload, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, CreateTemplatePayload, CreateWebhookPayload, CredentialsError, DeliveryUnavailableError, EmailAttachment, EmailAttachments, EmailBccRecipients, EmailCampaignContentInput, EmailCcRecipients, EmailChannelError, EmailContent, EmailCustomHeaders, EmailDomainId, EmailFooterOverride, EmailRecipient, EmailRecipients, EmailSendMessagePayload, EmailSender, EmailSenderId, EmailTrackingOverrideV1, ExtensionId, ExtensionInstallationId, ExtensionVersionId, ExtensionVersionRef, ExternalServiceError, FeedbackContext, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, IanaTimezone, IntegrationAccountId, IntegrationId, IntegrationKey, IntegrationReturnTo, IntegrationStatus, IntegrationTool, InternalError, JourneyBranchEdge, JourneyBranchNode, JourneyComparison, JourneyCondition, JourneyContactCreatedTrigger, JourneyContactProperty, JourneyCustomEventName, JourneyCustomEventTrigger, JourneyCustomFieldPredicate, JourneyDefinition, JourneyEmptyConfig, JourneyEqualityComparison, JourneyEventName, JourneyEventPredicate, JourneyExitNode, JourneyGoal, JourneyGroupJoinedTrigger, JourneyId, JourneyName, JourneyNextEdge, JourneyNode, JourneyNodeId, JourneyNumericComparison, JourneyPredicate, JourneyPresenceComparison, JourneyPropertyPredicate, JourneySendEmailConfig, JourneySendEmailNode, JourneyStringComparison, JourneyTagAddedTrigger, JourneyTagPredicate, JourneyTrigger, JourneyUpdateTagsConfig, JourneyUpdateTagsNode, JourneyWaitConfig, JourneyWaitEventEdge, JourneyWaitForEventConfig, JourneyWaitForEventNode, JourneyWaitNode, JourneyWebhookConfig, JourneyWebhookNode, JsonObject, JsonValue, KnowledgeSourceId, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch, MailboxSendConflictError, MailboxSendError, MailboxSendOutcome, MailboxSendReceipt, MailboxSendRefusedError, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MalformedRequestError, MediaId, MessageDeliveryId, MessageId, MessageMetadata, MessagePage, MessageSummary, MonthlySpendCapDollars, NamespaceId, NamespaceMetadata, NamespacePortalLinkMetadata, NamespaceResourceType, NewsletterId, OnboardingReviewRequiredError, Operation, OperationAccepted, OperationId, OperationResource, OperationResourceLink, OrganizationId, PaymentRequiredError, PolicyConfiguration, PolicyDecider, PolicyDecisionId, PolicyEffect, PolicyRequirement, PolicyReviewRound, PolicyRule, PolicyRuleMatch, PolicySubject, PolicyVersion, RateLimitedError, RenderLocale, RenderTimeZone, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ReplyToAddresses, ResourceNotFoundError, SendFeedback, SendMailboxChatPayload, SendMailboxEmailPayload, SenderNotReadyError, SendsSeries, ServiceUnavailableError, ShareLinkUnavailable, SkippedRecipient, SlugTaken, SmsCampaignContentInput, SmsContent, SmsDispatchContent, SmsRecipient, SmsRecipients, SmsSendMessagePayload, SmsTemplateData, StoredEmailAttachments, StoredReplyToAddresses, SuccessResponse, TemplateData, TemplateFromDefaultInput, TemplateId, TemplateInUseError, TemplateInputContractId, TemplateProjectId, TemplatePublicationId, TemplateSourceError, TemplateTrackingDefault, TestWebhookPayload, TimeZone, TopicContactByEmail, TopicContactById, TopicContactByPhone, TopicContactRef, TopicId, UnauthorizedError, UpdateBrand, UpdateTemplatePayload, UpdateWebhookPayload, UserId, ValidationError, WebhookEndpointId, Weekday, WhatsAppAudio, WhatsAppAudioLink, WhatsAppAudioUpload, WhatsAppBusinessAccountId, WhatsAppButtonsMessage, WhatsAppCampaignContentInput, WhatsAppChannelError, WhatsAppContactCard, WhatsAppContactsContent, WhatsAppContent, WhatsAppCtaUrlMessage, WhatsAppDocument, WhatsAppDocumentHeader, WhatsAppDocumentHeaderLink, WhatsAppDocumentHeaderUpload, WhatsAppDocumentLink, WhatsAppDocumentUpload, WhatsAppFlowId, WhatsAppFlowMessage, WhatsAppFlowVersionId, WhatsAppImage, WhatsAppImageHeader, WhatsAppImageHeaderLink, WhatsAppImageHeaderUpload, WhatsAppImageLink, WhatsAppImageUpload, WhatsAppInteractive, WhatsAppInteractiveContent, WhatsAppInteractiveHeader, WhatsAppJourneySendNode, WhatsAppListMessage, WhatsAppListRow, WhatsAppListSection, WhatsAppLocation, WhatsAppLocationContent, WhatsAppMediaContent, WhatsAppOutboundMedia, WhatsAppReaction, WhatsAppReactionContent, WhatsAppRecipient, WhatsAppRecipients, WhatsAppReplyButton, WhatsAppSendMessagePayload, WhatsAppServiceWindowClosedError, WhatsAppSetupLinkMetadata, WhatsAppSetupLinkRedirectUrl, WhatsAppSetupLinkUnavailableError, WhatsAppSticker, WhatsAppStickerLink, WhatsAppStickerUpload, WhatsAppTemplateBinding, WhatsAppTemplateBindings, WhatsAppTemplateContactBinding, WhatsAppTemplateCustomFieldBinding, WhatsAppTemplateData, WhatsAppTemplateDispatch, WhatsAppTemplateDispatchData, WhatsAppTemplateIdContent, WhatsAppTemplateSlugContent, WhatsAppTextContent, WhatsAppTextHeader, WhatsAppVideo, WhatsAppVideoHeader, WhatsAppVideoHeaderLink, WhatsAppVideoHeaderUpload, WhatsAppVideoLink, WhatsAppVideoUpload, WorkingHours, WorkingHoursRange, AbsoluteInstant as __SamvaRuntimeAbsoluteInstant, NonEmptySensitiveString as __SamvaRuntimeNonEmptySensitiveString, SensitiveString as __SamvaRuntimeSensitiveString };
1912
1945
 
1913
1946
  //# sourceMappingURL=shared.js.map