samva 0.54.0 → 0.55.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 (146) hide show
  1. package/AGENTS.md +1 -1
  2. package/README.md +1 -0
  3. package/dist/_virtual/_rolldown/runtime.js +4 -4
  4. package/dist/agent/index.js +1 -1
  5. package/dist/client/client/client.gen.js +1 -2
  6. package/dist/client/client/utils.gen.js +1 -1
  7. package/dist/client/client.gen.js +1 -1
  8. package/dist/client/sdk.gen.d.ts +57 -3
  9. package/dist/client/sdk.gen.js +184 -8
  10. package/dist/client/types.gen.d.ts +420 -1
  11. package/dist/client-attribution.js +1 -1
  12. package/dist/effect/agents.js +1 -1
  13. package/dist/effect/analytics.js +1 -1
  14. package/dist/effect/api-keys.js +1 -1
  15. package/dist/effect/approval-requests.js +1 -1
  16. package/dist/effect/attachments.js +1 -1
  17. package/dist/effect/brands.js +2 -2
  18. package/dist/effect/campaigns.d.ts +66 -56
  19. package/dist/effect/campaigns.js +1 -1
  20. package/dist/effect/categories.js +6 -6
  21. package/dist/effect/contact-groups.js +1 -1
  22. package/dist/effect/contacts.js +1 -1
  23. package/dist/effect/conversations.js +1 -1
  24. package/dist/effect/custom-fields.js +1 -1
  25. package/dist/effect/descriptors/phone-numbers.d.ts +49 -0
  26. package/dist/effect/descriptors/phone-numbers.js +47 -0
  27. package/dist/effect/descriptors/topics.d.ts +1 -1
  28. package/dist/effect/descriptors/topics.js +1 -1
  29. package/dist/effect/email.js +1 -1
  30. package/dist/effect/errors.d.ts +1 -1
  31. package/dist/effect/errors.js +2 -2
  32. package/dist/effect/events.js +2 -2
  33. package/dist/effect/feedback.js +2 -2
  34. package/dist/effect/generated/accounts.d.ts +12 -1
  35. package/dist/effect/generated/accounts.js +2 -1
  36. package/dist/effect/generated/agents.js +7 -7
  37. package/dist/effect/generated/analytics.js +16 -16
  38. package/dist/effect/generated/api-keys.js +5 -5
  39. package/dist/effect/generated/approval-requests.js +1 -1
  40. package/dist/effect/generated/attachments.js +4 -4
  41. package/dist/effect/generated/brands.js +1 -1
  42. package/dist/effect/generated/campaigns.d.ts +17 -1
  43. package/dist/effect/generated/campaigns.js +15 -14
  44. package/dist/effect/generated/contact-events.js +1 -1
  45. package/dist/effect/generated/contact-groups.js +12 -12
  46. package/dist/effect/generated/contacts.js +50 -50
  47. package/dist/effect/generated/conversations.js +7 -7
  48. package/dist/effect/generated/custom-fields.js +6 -6
  49. package/dist/effect/generated/email.js +48 -48
  50. package/dist/effect/generated/events.js +5 -5
  51. package/dist/effect/generated/feedback.js +1 -1
  52. package/dist/effect/generated/index.d.ts +3 -1
  53. package/dist/effect/generated/integrations-catalog.d.ts +16 -0
  54. package/dist/effect/generated/integrations-catalog.js +10 -6
  55. package/dist/effect/generated/integrations.js +5 -5
  56. package/dist/effect/generated/journeys.d.ts +38 -1
  57. package/dist/effect/generated/journeys.js +16 -14
  58. package/dist/effect/generated/logs.js +2 -2
  59. package/dist/effect/generated/mailboxes.d.ts +41 -3
  60. package/dist/effect/generated/mailboxes.js +48 -50
  61. package/dist/effect/generated/media.js +1 -1
  62. package/dist/effect/generated/messages.js +5 -5
  63. package/dist/effect/generated/namespaces.d.ts +9 -9
  64. package/dist/effect/generated/namespaces.js +1 -1
  65. package/dist/effect/generated/newsletter-domains.js +1 -1
  66. package/dist/effect/generated/newsletter-issues.js +69 -69
  67. package/dist/effect/generated/newsletters.js +1 -1
  68. package/dist/effect/generated/operations.js +1 -1
  69. package/dist/effect/generated/organizations.d.ts +3 -0
  70. package/dist/effect/generated/organizations.js +2 -1
  71. package/dist/effect/generated/phone-numbers.d.ts +817 -0
  72. package/dist/effect/generated/phone-numbers.js +230 -0
  73. package/dist/effect/generated/policies.js +2 -2
  74. package/dist/effect/generated/scheduled-messages.js +1 -1
  75. package/dist/effect/generated/shared.d.ts +31 -10
  76. package/dist/effect/generated/shared.js +34 -13
  77. package/dist/effect/generated/subscriptions.js +1 -1
  78. package/dist/effect/generated/template-registrations.js +1 -1
  79. package/dist/effect/generated/template-share-links.js +9 -9
  80. package/dist/effect/generated/templates.js +119 -119
  81. package/dist/effect/generated/topic-forms.js +1 -1
  82. package/dist/effect/generated/topics.d.ts +10 -0
  83. package/dist/effect/generated/topics.js +20 -13
  84. package/dist/effect/generated/webhooks.js +18 -18
  85. package/dist/effect/generated/whats-app-flows.js +5 -5
  86. package/dist/effect/generated/whats-app-setup-links.js +1 -1
  87. package/dist/effect/generated/whats-app.d.ts +75 -0
  88. package/dist/effect/generated/whats-app.js +43 -18
  89. package/dist/effect/generated/whoami.js +1 -1
  90. package/dist/effect/generated-metadata.d.ts +35 -1
  91. package/dist/effect/generated-metadata.js +173 -146
  92. package/dist/effect/index.d.ts +1 -0
  93. package/dist/effect/index.js +6 -5
  94. package/dist/effect/integrations-catalog.js +1 -1
  95. package/dist/effect/integrations.js +1 -1
  96. package/dist/effect/internal/client.js +6 -6
  97. package/dist/effect/internal/email-sender.js +3 -3
  98. package/dist/effect/internal/log-events.js +2 -2
  99. package/dist/effect/internal/mailbox-events.js +1 -1
  100. package/dist/effect/internal/operation.js +2 -2
  101. package/dist/effect/internal/send.js +4 -4
  102. package/dist/effect/journeys.d.ts +10 -0
  103. package/dist/effect/journeys.js +1 -1
  104. package/dist/effect/logs.js +1 -1
  105. package/dist/effect/mailboxes.d.ts +191 -191
  106. package/dist/effect/mailboxes.js +3 -3
  107. package/dist/effect/media.js +2 -2
  108. package/dist/effect/messages.js +2 -2
  109. package/dist/effect/namespaces.d.ts +2 -2
  110. package/dist/effect/namespaces.js +1 -1
  111. package/dist/effect/newsletter-domains.js +1 -1
  112. package/dist/effect/newsletter-issues.js +1 -1
  113. package/dist/effect/newsletters.js +1 -1
  114. package/dist/effect/operations.js +1 -1
  115. package/dist/effect/organizations.js +1 -1
  116. package/dist/effect/phone-numbers.d.ts +22 -0
  117. package/dist/effect/phone-numbers.js +21 -0
  118. package/dist/effect/policies.js +1 -1
  119. package/dist/effect/retry.js +3 -3
  120. package/dist/effect/scheduled-messages.d.ts +350 -350
  121. package/dist/effect/scheduled-messages.js +1 -1
  122. package/dist/effect/subscriptions.js +1 -1
  123. package/dist/effect/template-registrations.js +1 -1
  124. package/dist/effect/template-share-links.js +1 -1
  125. package/dist/effect/templates.js +2 -2
  126. package/dist/effect/topic-forms.js +1 -1
  127. package/dist/effect/topics.d.ts +70 -2
  128. package/dist/effect/topics.js +1 -1
  129. package/dist/effect/webhooks.js +2 -2
  130. package/dist/effect/whatsapp-flows.js +1 -1
  131. package/dist/effect/whatsapp-setup-links.js +1 -1
  132. package/dist/effect/whatsapp.d.ts +10 -0
  133. package/dist/effect/whatsapp.js +1 -1
  134. package/dist/effect/whoami.js +1 -1
  135. package/dist/index.js +2 -2
  136. package/dist/package.json.js +5 -0
  137. package/dist/promises/client.d.ts +3 -1
  138. package/dist/promises/client.js +7 -5
  139. package/dist/promises/errors.gen.d.ts +16 -2
  140. package/dist/promises/errors.gen.js +48 -11
  141. package/dist/promises/index.js +3 -3
  142. package/dist/promises/types.gen.d.ts +1 -1
  143. package/dist/request-policy.js +1 -1
  144. package/dist/service-map.d.ts +25 -0
  145. package/package.json +9 -5
  146. package/dist/package.js +0 -5
@@ -1,7 +1,7 @@
1
1
  import type * as EffectBrand from "effect/Brand";
2
2
  import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
3
3
  import * as Schema from "effect/Schema";
4
- import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactId, ForbiddenError, GatewayTimeoutError, InternalError, JourneyDefinition, JourneyId, JourneyName, JourneyNodeId, JourneyStatus, JsonObject, MalformedRequestError, MessageId, NamespaceId, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
4
+ import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactId, ContactReferenceSummary, ForbiddenError, GatewayTimeoutError, InternalError, JourneyDefinition, JourneyId, JourneyName, JourneyNodeId, JourneyStatus, JsonObject, MalformedRequestError, MessageId, NamespaceId, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
5
5
  export type JourneyRunStatus = "active" | "paused" | "exited" | "failed";
6
6
  export declare const JourneyRunStatus: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"exited">, Schema.Literal<"failed">]>;
7
7
  export type JourneyRunId = string & EffectBrand.Brand<"JourneyRunId">;
@@ -96,6 +96,7 @@ export type JourneyRun = {
96
96
  readonly journeyId: JourneyId;
97
97
  readonly version: number;
98
98
  readonly contactId: ContactId;
99
+ readonly contact: ContactReferenceSummary | null;
99
100
  readonly status: JourneyRunStatus;
100
101
  readonly exitReason: JourneyRunExitReason | null;
101
102
  readonly failureReason: string | null;
@@ -112,6 +113,11 @@ export declare const JourneyRun: Schema.Struct<{
112
113
  readonly journeyId: Schema.brand<Schema.String, "JourneyId">;
113
114
  readonly version: Schema.Finite;
114
115
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
116
+ readonly contact: Schema.Union<readonly [Schema.Struct<{
117
+ readonly id: Schema.brand<Schema.String, "ContactId">;
118
+ readonly name: Schema.String;
119
+ readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
120
+ }>, Schema.Null]>;
115
121
  readonly status: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"exited">, Schema.Literal<"failed">]>;
116
122
  readonly exitReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"completed">, Schema.Literal<"goal">, Schema.Literal<"archived">, Schema.Literal<"merged">]>, Schema.Null]>;
117
123
  readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -170,6 +176,7 @@ export type JourneyRunDetail = {
170
176
  readonly journeyId: JourneyId;
171
177
  readonly version: number;
172
178
  readonly contactId: ContactId;
179
+ readonly contact: ContactReferenceSummary | null;
173
180
  readonly status: JourneyRunStatus;
174
181
  readonly exitReason: JourneyRunExitReason | null;
175
182
  readonly failureReason: string | null;
@@ -187,6 +194,11 @@ export declare const JourneyRunDetail: Schema.Struct<{
187
194
  readonly journeyId: Schema.brand<Schema.String, "JourneyId">;
188
195
  readonly version: Schema.Finite;
189
196
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
197
+ readonly contact: Schema.Union<readonly [Schema.Struct<{
198
+ readonly id: Schema.brand<Schema.String, "ContactId">;
199
+ readonly name: Schema.String;
200
+ readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
201
+ }>, Schema.Null]>;
190
202
  readonly status: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"exited">, Schema.Literal<"failed">]>;
191
203
  readonly exitReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"completed">, Schema.Literal<"goal">, Schema.Literal<"archived">, Schema.Literal<"merged">]>, Schema.Null]>;
192
204
  readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -222,6 +234,11 @@ export declare const JourneyRunPage: Schema.Struct<{
222
234
  readonly journeyId: Schema.brand<Schema.String, "JourneyId">;
223
235
  readonly version: Schema.Finite;
224
236
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
237
+ readonly contact: Schema.Union<readonly [Schema.Struct<{
238
+ readonly id: Schema.brand<Schema.String, "ContactId">;
239
+ readonly name: Schema.String;
240
+ readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
241
+ }>, Schema.Null]>;
225
242
  readonly status: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"exited">, Schema.Literal<"failed">]>;
226
243
  readonly exitReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"completed">, Schema.Literal<"goal">, Schema.Literal<"archived">, Schema.Literal<"merged">]>, Schema.Null]>;
227
244
  readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -3405,6 +3422,11 @@ export declare const JourneysListRuns200: Schema.Struct<{
3405
3422
  readonly journeyId: Schema.brand<Schema.String, "JourneyId">;
3406
3423
  readonly version: Schema.Finite;
3407
3424
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
3425
+ readonly contact: Schema.Union<readonly [Schema.Struct<{
3426
+ readonly id: Schema.brand<Schema.String, "ContactId">;
3427
+ readonly name: Schema.String;
3428
+ readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
3429
+ }>, Schema.Null]>;
3408
3430
  readonly status: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"exited">, Schema.Literal<"failed">]>;
3409
3431
  readonly exitReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"completed">, Schema.Literal<"goal">, Schema.Literal<"archived">, Schema.Literal<"merged">]>, Schema.Null]>;
3410
3432
  readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -3450,6 +3472,11 @@ export declare const JourneysGetRun200: Schema.Struct<{
3450
3472
  readonly journeyId: Schema.brand<Schema.String, "JourneyId">;
3451
3473
  readonly version: Schema.Finite;
3452
3474
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
3475
+ readonly contact: Schema.Union<readonly [Schema.Struct<{
3476
+ readonly id: Schema.brand<Schema.String, "ContactId">;
3477
+ readonly name: Schema.String;
3478
+ readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
3479
+ }>, Schema.Null]>;
3453
3480
  readonly status: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"exited">, Schema.Literal<"failed">]>;
3454
3481
  readonly exitReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"completed">, Schema.Literal<"goal">, Schema.Literal<"archived">, Schema.Literal<"merged">]>, Schema.Null]>;
3455
3482
  readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -5120,6 +5147,11 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
5120
5147
  readonly journeyId: Schema.brand<Schema.String, "JourneyId">;
5121
5148
  readonly version: Schema.Finite;
5122
5149
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
5150
+ readonly contact: Schema.Union<readonly [Schema.Struct<{
5151
+ readonly id: Schema.brand<Schema.String, "ContactId">;
5152
+ readonly name: Schema.String;
5153
+ readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
5154
+ }>, Schema.Null]>;
5123
5155
  readonly status: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"exited">, Schema.Literal<"failed">]>;
5124
5156
  readonly exitReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"completed">, Schema.Literal<"goal">, Schema.Literal<"archived">, Schema.Literal<"merged">]>, Schema.Null]>;
5125
5157
  readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -5689,6 +5721,11 @@ declare const JourneysGroup_base: HttpApiGroup.HttpApiGroup<"Journeys", HttpApiE
5689
5721
  readonly journeyId: Schema.brand<Schema.String, "JourneyId">;
5690
5722
  readonly version: Schema.Finite;
5691
5723
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
5724
+ readonly contact: Schema.Union<readonly [Schema.Struct<{
5725
+ readonly id: Schema.brand<Schema.String, "ContactId">;
5726
+ readonly name: Schema.String;
5727
+ readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
5728
+ }>, Schema.Null]>;
5692
5729
  readonly status: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"exited">, Schema.Literal<"failed">]>;
5693
5730
  readonly exitReason: Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"completed">, Schema.Literal<"goal">, Schema.Literal<"archived">, Schema.Literal<"merged">]>, Schema.Null]>;
5694
5731
  readonly failureReason: Schema.Union<readonly [Schema.String, Schema.Null]>;
@@ -1,6 +1,6 @@
1
- import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactId, ForbiddenError, GatewayTimeoutError, InternalError, JourneyDefinition, JourneyId, JourneyName, JourneyNodeId, JourneyStatus, JsonObject, MalformedRequestError, MessageId, NamespaceId, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
2
1
  import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
3
2
  import * as Schema from "effect/Schema";
3
+ import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactId, ContactReferenceSummary, ForbiddenError, GatewayTimeoutError, InternalError, JourneyDefinition, JourneyId, JourneyName, JourneyNodeId, JourneyStatus, JsonObject, MalformedRequestError, MessageId, NamespaceId, PaymentRequiredError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
4
4
  // src/effect/generated/journeys.ts
5
5
  const JourneyRunStatus = /* @__PURE__ */ (() => Schema.Union([
6
6
  Schema.Literal("active"),
@@ -28,10 +28,10 @@ const JourneyRunStepOutcome = /* @__PURE__ */ (() => Schema.Union([
28
28
  Schema.Literal("failed")
29
29
  ]).annotate({ identifier: "JourneyRunStepOutcome" }))();
30
30
  const JourneyRunCounts = /* @__PURE__ */ (() => Schema.Struct({
31
- active: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
32
- paused: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
33
- exited: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
34
- failed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
31
+ active: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-0x1fffffffffffff).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
32
+ paused: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-0x1fffffffffffff).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
33
+ exited: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-0x1fffffffffffff).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
34
+ failed: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-0x1fffffffffffff).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
35
35
  }).annotate({ identifier: "JourneyRunCounts" }))();
36
36
  const JourneyRunTrigger = /* @__PURE__ */ (() => Schema.Struct({
37
37
  eventId: Schema.String,
@@ -47,15 +47,15 @@ const JourneyListItem = /* @__PURE__ */ (() => Schema.Struct({
47
47
  namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null])),
48
48
  name: Schema.String,
49
49
  status: JourneyStatus,
50
- publishedVersion: Schema.Union([Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })), Schema.Null]),
50
+ publishedVersion: Schema.Union([Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-0x1fffffffffffff).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })), Schema.Null]),
51
51
  publishedAt: Schema.Union([Schema.String, Schema.Null]),
52
52
  createdAt: Schema.String,
53
53
  updatedAt: Schema.String
54
54
  }).annotate({ identifier: "JourneyListItem" }))();
55
55
  const JourneyNodeStats = /* @__PURE__ */ (() => Schema.Struct({
56
56
  nodeId: JourneyNodeId,
57
- current: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
58
- entered: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" }))
57
+ current: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-0x1fffffffffffff).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
58
+ entered: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-0x1fffffffffffff).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" }))
59
59
  }).annotate({ identifier: "JourneyNodeStats" }))();
60
60
  const JourneyRunStep = /* @__PURE__ */ (() => Schema.Struct({
61
61
  nodeId: JourneyNodeId,
@@ -71,8 +71,9 @@ const JourneyRun = /* @__PURE__ */ (() => Schema.Struct({
71
71
  id: JourneyRunId,
72
72
  namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null])),
73
73
  journeyId: JourneyId,
74
- version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
74
+ version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-0x1fffffffffffff).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
75
75
  contactId: ContactId,
76
+ contact: Schema.Union([ContactReferenceSummary, Schema.Null]),
76
77
  status: JourneyRunStatus,
77
78
  exitReason: Schema.Union([JourneyRunExitReason, Schema.Null]),
78
79
  failureReason: Schema.Union([Schema.String, Schema.Null]),
@@ -89,7 +90,7 @@ const JourneyPage = /* @__PURE__ */ (() => Schema.Struct({
89
90
  }).annotate({ identifier: "JourneyPage" }))();
90
91
  const JourneyStats = /* @__PURE__ */ (() => Schema.Struct({
91
92
  journeyId: JourneyId,
92
- version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
93
+ version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-0x1fffffffffffff).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
93
94
  runs: JourneyRunCounts,
94
95
  nodes: Schema.Array(JourneyNodeStats)
95
96
  }).annotate({ identifier: "JourneyStats" }))();
@@ -97,8 +98,9 @@ const JourneyRunDetail = /* @__PURE__ */ (() => Schema.Struct({
97
98
  id: JourneyRunId,
98
99
  namespaceId: Schema.optionalKey(Schema.Union([NamespaceId, Schema.Null])),
99
100
  journeyId: JourneyId,
100
- version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
101
+ version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-0x1fffffffffffff).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
101
102
  contactId: ContactId,
103
+ contact: Schema.Union([ContactReferenceSummary, Schema.Null]),
102
104
  status: JourneyRunStatus,
103
105
  exitReason: Schema.Union([JourneyRunExitReason, Schema.Null]),
104
106
  failureReason: Schema.Union([Schema.String, Schema.Null]),
@@ -121,14 +123,14 @@ const Journey = /* @__PURE__ */ (() => Schema.Struct({
121
123
  status: JourneyStatus,
122
124
  revision: Schema.String,
123
125
  draft: JourneyDefinition,
124
- publishedVersion: Schema.Union([Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })), Schema.Null]),
126
+ publishedVersion: Schema.Union([Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-0x1fffffffffffff).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })), Schema.Null]),
125
127
  publishedAt: Schema.Union([Schema.String, Schema.Null]),
126
128
  createdAt: Schema.String,
127
129
  updatedAt: Schema.String
128
130
  }).annotate({ identifier: "Journey" }))();
129
131
  const JourneyVersion = /* @__PURE__ */ (() => Schema.Struct({
130
132
  journeyId: JourneyId,
131
- version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-9007199254740991).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
133
+ version: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(-0x1fffffffffffff).annotate({ expected: "a value greater than or equal to -9007199254740991" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
132
134
  definition: JourneyDefinition,
133
135
  publishedAt: Schema.String
134
136
  }).annotate({ identifier: "JourneyVersion" }))();
@@ -279,7 +281,7 @@ const JourneysGetRun422 = ValidationError;
279
281
  const JourneysGetRun500 = InternalError;
280
282
  const JourneysGetRun504 = GatewayTimeoutError;
281
283
  const JourneysStatsPathParams = /* @__PURE__ */ (() => Schema.Struct({ id: JourneyId }))();
282
- const JourneysStatsQuery = /* @__PURE__ */ (() => Schema.Struct({ version: Schema.optionalKey(Schema.Union([Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])) }))();
284
+ const JourneysStatsQuery = /* @__PURE__ */ (() => Schema.Struct({ version: Schema.optionalKey(Schema.Union([Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })).check(Schema.isGreaterThan(0).annotate({ expected: "a value greater than 0" })), Schema.Null])) }))();
283
285
  const JourneysStats200 = JourneyStats;
284
286
  const JourneysStats400 = MalformedRequestError;
285
287
  const JourneysStats401 = UnauthorizedError;
@@ -1,7 +1,7 @@
1
1
  import { AbsoluteInstant } from "../runtime.js";
2
- import { ApiKeyId, ApiKeySecurityMiddleware, DeliveryErrorDetails, ForbiddenError, GatewayTimeoutError, InternalError, MailboxId, MalformedRequestError, MessageContent, MessageId, ResourceNotFoundError, SubmissionClient, UnauthorizedError, UserId, ValidationError } from "./shared.js";
3
2
  import { HttpApiEndpoint, HttpApiGroup, HttpApiSchema, OpenApi } from "effect/http-api";
4
3
  import * as Schema from "effect/Schema";
4
+ import { ApiKeyId, ApiKeySecurityMiddleware, DeliveryErrorDetails, ForbiddenError, GatewayTimeoutError, InternalError, MailboxId, MalformedRequestError, MessageContent, MessageId, ResourceNotFoundError, SubmissionClient, UnauthorizedError, UserId, ValidationError } from "./shared.js";
5
5
  // src/effect/generated/logs.ts
6
6
  const LogSender = /* @__PURE__ */ (() => Schema.Struct({
7
7
  address: Schema.String,
@@ -219,7 +219,7 @@ const MessageLogDetail = /* @__PURE__ */ (() => Schema.Struct({
219
219
  id: Schema.String,
220
220
  address: Schema.String
221
221
  })),
222
- recipientCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(9007199254740991).annotate({ expected: "a value less than or equal to 9007199254740991" })),
222
+ recipientCount: Schema.Finite.check(Schema.isInt().annotate({ expected: "an integer" })).check(Schema.isGreaterThanOrEqualTo(0).annotate({ expected: "a value greater than or equal to 0" })).check(Schema.isLessThanOrEqualTo(0x1fffffffffffff).annotate({ expected: "a value less than or equal to 9007199254740991" })),
223
223
  from: Schema.Union([LogSender, Schema.Null]),
224
224
  submission: Schema.Union([LogSubmission, Schema.Null]),
225
225
  subject: Schema.Union([Schema.String, Schema.Null]),
@@ -1,13 +1,11 @@
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, AttachmentId, BillingProviderError, CampaignId, CampaignRunId, ConflictError, ConversationId, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, EmailAttachment, FlagDisabledError, ForbiddenError, GatewayTimeoutError, IntegrationId, InternalError, JsonObject, JsonValue, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch, MailboxSendConflictError, MailboxSendOutcome, MailboxSendReceipt, MailboxSendRefusedError, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MalformedRequestError, MediaId, MessageId, NamespaceId, OnboardingReviewRequiredError, PaymentRequiredError, PolicyDecider, PolicyDecisionId, PolicyEffect, PolicyRequirement, PolicyReviewRound, PolicySubject, RateLimitedError, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ResourceNotFoundError, SendMailboxChatPayload, SendMailboxEmailPayload, SenderNotReadyError, SkippedRecipient, SuccessResponse, TemplateChannelVariantId, TemplateId, UnauthorizedError, UserId, ValidationError, WhatsAppBusinessAccountId, WhatsAppServiceWindowClosedError, __SamvaRuntimeSensitiveString } from "./shared.js";
4
+ import { ApiKeySecurityMiddleware, AttachmentId, BillingProviderError, CampaignId, CampaignRunId, ConflictError, ConversationId, CreateMailboxChatDraftPayload, CreateMailboxEmailDraftPayload, CreateMailboxEndpointPayload, EmailAttachment, FlagDisabledError, ForbiddenError, GatewayTimeoutError, IntegrationId, InternalError, JsonObject, JsonValue, MailboxActionDecision, MailboxActionId, MailboxChannel, MailboxDraftId, MailboxEndpointId, MailboxGrantRole, MailboxId, MailboxLabelId, MailboxMetadata, MailboxMetadataPatch, MailboxSendConflictError, MailboxSendOutcome, MailboxSendReceipt, MailboxSendRefusedError, MailboxThreadFolder, MailboxThreadId, MailboxThreadPriority, MalformedRequestError, MediaId, MessageId, NamespaceId, OnboardingReviewRequiredError, PaymentRequiredError, PolicyDecider, PolicyDecisionId, PolicyEffect, PolicyRequirement, PolicyReviewRound, PolicySubject, RateLimitedError, ReplyMailboxChatPayload, ReplyMailboxEmailPayload, ResourceNotFoundError, SendMailboxChatPayload, SendMailboxEmailPayload, SenderNotReadyError, SkippedRecipient, SmsPhoneNumberId, SuccessResponse, TemplateChannelVariantId, TemplateId, UnauthorizedError, UserId, ValidationError, WhatsAppBusinessAccountId, WhatsAppServiceWindowClosedError, __SamvaRuntimeSensitiveString } from "./shared.js";
5
5
  export type MailboxKind = "personal" | "shared";
6
6
  export declare const MailboxKind: Schema.Union<readonly [Schema.Literal<"personal">, Schema.Literal<"shared">]>;
7
7
  export type MailboxStatus = "active" | "paused";
8
8
  export declare const MailboxStatus: Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">]>;
9
- export type SmsPhoneNumberId = string & EffectBrand.Brand<"SmsPhoneNumberId">;
10
- export declare const SmsPhoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
11
9
  export type MailboxActionResolution = {
12
10
  readonly outcome: "approved" | "denied" | "cancelled";
13
11
  readonly actor: {
@@ -392,6 +390,7 @@ export type MailboxWhatsAppEndpoint = {
392
390
  readonly displayName: string | null;
393
391
  readonly default: boolean;
394
392
  readonly channel: "whatsapp";
393
+ readonly addressDisplay: string;
395
394
  readonly businessAccountId: WhatsAppBusinessAccountId;
396
395
  };
397
396
  export declare const MailboxWhatsAppEndpoint: Schema.Struct<{
@@ -400,6 +399,7 @@ export declare const MailboxWhatsAppEndpoint: Schema.Struct<{
400
399
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
401
400
  readonly default: Schema.Boolean;
402
401
  readonly channel: Schema.Literal<"whatsapp">;
402
+ readonly addressDisplay: Schema.String;
403
403
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
404
404
  }>;
405
405
  export type MailboxWhatsAppEndpointBinding = {
@@ -450,6 +450,7 @@ export type MailboxSmsEndpoint = {
450
450
  readonly displayName: string | null;
451
451
  readonly default: boolean;
452
452
  readonly channel: "sms";
453
+ readonly addressDisplay: string;
453
454
  readonly phoneNumberId: SmsPhoneNumberId;
454
455
  };
455
456
  export declare const MailboxSmsEndpoint: Schema.Struct<{
@@ -458,6 +459,7 @@ export declare const MailboxSmsEndpoint: Schema.Struct<{
458
459
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
459
460
  readonly default: Schema.Boolean;
460
461
  readonly channel: Schema.Literal<"sms">;
462
+ readonly addressDisplay: Schema.String;
461
463
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
462
464
  }>;
463
465
  export type MailboxSmsEndpointBinding = {
@@ -1429,6 +1431,7 @@ export declare const MailboxEndpoint: Schema.Union<readonly [Schema.Struct<{
1429
1431
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
1430
1432
  readonly default: Schema.Boolean;
1431
1433
  readonly channel: Schema.Literal<"whatsapp">;
1434
+ readonly addressDisplay: Schema.String;
1432
1435
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
1433
1436
  }>, Schema.Struct<{
1434
1437
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -1436,6 +1439,7 @@ export declare const MailboxEndpoint: Schema.Union<readonly [Schema.Struct<{
1436
1439
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
1437
1440
  readonly default: Schema.Boolean;
1438
1441
  readonly channel: Schema.Literal<"sms">;
1442
+ readonly addressDisplay: Schema.String;
1439
1443
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
1440
1444
  }>]>;
1441
1445
  export type MailboxChatSendIntent = {
@@ -2154,6 +2158,7 @@ export declare const Mailbox: Schema.Struct<{
2154
2158
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
2155
2159
  readonly default: Schema.Boolean;
2156
2160
  readonly channel: Schema.Literal<"whatsapp">;
2161
+ readonly addressDisplay: Schema.String;
2157
2162
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
2158
2163
  }>, Schema.Struct<{
2159
2164
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -2161,6 +2166,7 @@ export declare const Mailbox: Schema.Struct<{
2161
2166
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
2162
2167
  readonly default: Schema.Boolean;
2163
2168
  readonly channel: Schema.Literal<"sms">;
2169
+ readonly addressDisplay: Schema.String;
2164
2170
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
2165
2171
  }>]>>;
2166
2172
  readonly updatedAt: Schema.String;
@@ -3982,6 +3988,7 @@ export declare const MailboxesCreate201: Schema.Struct<{
3982
3988
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
3983
3989
  readonly default: Schema.Boolean;
3984
3990
  readonly channel: Schema.Literal<"whatsapp">;
3991
+ readonly addressDisplay: Schema.String;
3985
3992
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
3986
3993
  }>, Schema.Struct<{
3987
3994
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -3989,6 +3996,7 @@ export declare const MailboxesCreate201: Schema.Struct<{
3989
3996
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
3990
3997
  readonly default: Schema.Boolean;
3991
3998
  readonly channel: Schema.Literal<"sms">;
3999
+ readonly addressDisplay: Schema.String;
3992
4000
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
3993
4001
  }>]>>;
3994
4002
  readonly updatedAt: Schema.String;
@@ -4048,6 +4056,7 @@ export declare const MailboxesGet200: Schema.Struct<{
4048
4056
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
4049
4057
  readonly default: Schema.Boolean;
4050
4058
  readonly channel: Schema.Literal<"whatsapp">;
4059
+ readonly addressDisplay: Schema.String;
4051
4060
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
4052
4061
  }>, Schema.Struct<{
4053
4062
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -4055,6 +4064,7 @@ export declare const MailboxesGet200: Schema.Struct<{
4055
4064
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
4056
4065
  readonly default: Schema.Boolean;
4057
4066
  readonly channel: Schema.Literal<"sms">;
4067
+ readonly addressDisplay: Schema.String;
4058
4068
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
4059
4069
  }>]>>;
4060
4070
  readonly updatedAt: Schema.String;
@@ -4142,6 +4152,7 @@ export declare const MailboxesUpdate200: Schema.Struct<{
4142
4152
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
4143
4153
  readonly default: Schema.Boolean;
4144
4154
  readonly channel: Schema.Literal<"whatsapp">;
4155
+ readonly addressDisplay: Schema.String;
4145
4156
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
4146
4157
  }>, Schema.Struct<{
4147
4158
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -4149,6 +4160,7 @@ export declare const MailboxesUpdate200: Schema.Struct<{
4149
4160
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
4150
4161
  readonly default: Schema.Boolean;
4151
4162
  readonly channel: Schema.Literal<"sms">;
4163
+ readonly addressDisplay: Schema.String;
4152
4164
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
4153
4165
  }>]>>;
4154
4166
  readonly updatedAt: Schema.String;
@@ -6920,6 +6932,7 @@ export declare const MailboxesCreateEndpoint201: Schema.Struct<{
6920
6932
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
6921
6933
  readonly default: Schema.Boolean;
6922
6934
  readonly channel: Schema.Literal<"whatsapp">;
6935
+ readonly addressDisplay: Schema.String;
6923
6936
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
6924
6937
  }>, Schema.Struct<{
6925
6938
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -6927,6 +6940,7 @@ export declare const MailboxesCreateEndpoint201: Schema.Struct<{
6927
6940
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
6928
6941
  readonly default: Schema.Boolean;
6929
6942
  readonly channel: Schema.Literal<"sms">;
6943
+ readonly addressDisplay: Schema.String;
6930
6944
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
6931
6945
  }>]>>;
6932
6946
  readonly updatedAt: Schema.String;
@@ -6984,6 +6998,7 @@ export declare const MailboxesRemoveEndpoint200: Schema.Struct<{
6984
6998
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
6985
6999
  readonly default: Schema.Boolean;
6986
7000
  readonly channel: Schema.Literal<"whatsapp">;
7001
+ readonly addressDisplay: Schema.String;
6987
7002
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
6988
7003
  }>, Schema.Struct<{
6989
7004
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -6991,6 +7006,7 @@ export declare const MailboxesRemoveEndpoint200: Schema.Struct<{
6991
7006
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
6992
7007
  readonly default: Schema.Boolean;
6993
7008
  readonly channel: Schema.Literal<"sms">;
7009
+ readonly addressDisplay: Schema.String;
6994
7010
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
6995
7011
  }>]>>;
6996
7012
  readonly updatedAt: Schema.String;
@@ -7054,6 +7070,7 @@ export declare const MailboxesUpdateEndpoint200: Schema.Struct<{
7054
7070
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
7055
7071
  readonly default: Schema.Boolean;
7056
7072
  readonly channel: Schema.Literal<"whatsapp">;
7073
+ readonly addressDisplay: Schema.String;
7057
7074
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
7058
7075
  }>, Schema.Struct<{
7059
7076
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -7061,6 +7078,7 @@ export declare const MailboxesUpdateEndpoint200: Schema.Struct<{
7061
7078
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
7062
7079
  readonly default: Schema.Boolean;
7063
7080
  readonly channel: Schema.Literal<"sms">;
7081
+ readonly addressDisplay: Schema.String;
7064
7082
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
7065
7083
  }>]>>;
7066
7084
  readonly updatedAt: Schema.String;
@@ -8955,6 +8973,7 @@ export declare const MailboxesPause200: Schema.Struct<{
8955
8973
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
8956
8974
  readonly default: Schema.Boolean;
8957
8975
  readonly channel: Schema.Literal<"whatsapp">;
8976
+ readonly addressDisplay: Schema.String;
8958
8977
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
8959
8978
  }>, Schema.Struct<{
8960
8979
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -8962,6 +8981,7 @@ export declare const MailboxesPause200: Schema.Struct<{
8962
8981
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
8963
8982
  readonly default: Schema.Boolean;
8964
8983
  readonly channel: Schema.Literal<"sms">;
8984
+ readonly addressDisplay: Schema.String;
8965
8985
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
8966
8986
  }>]>>;
8967
8987
  readonly updatedAt: Schema.String;
@@ -9015,6 +9035,7 @@ export declare const MailboxesResume200: Schema.Struct<{
9015
9035
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
9016
9036
  readonly default: Schema.Boolean;
9017
9037
  readonly channel: Schema.Literal<"whatsapp">;
9038
+ readonly addressDisplay: Schema.String;
9018
9039
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
9019
9040
  }>, Schema.Struct<{
9020
9041
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -9022,6 +9043,7 @@ export declare const MailboxesResume200: Schema.Struct<{
9022
9043
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
9023
9044
  readonly default: Schema.Boolean;
9024
9045
  readonly channel: Schema.Literal<"sms">;
9046
+ readonly addressDisplay: Schema.String;
9025
9047
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
9026
9048
  }>]>>;
9027
9049
  readonly updatedAt: Schema.String;
@@ -12320,6 +12342,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
12320
12342
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
12321
12343
  readonly default: Schema.Boolean;
12322
12344
  readonly channel: Schema.Literal<"whatsapp">;
12345
+ readonly addressDisplay: Schema.String;
12323
12346
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
12324
12347
  }>, Schema.Struct<{
12325
12348
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -12327,6 +12350,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
12327
12350
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
12328
12351
  readonly default: Schema.Boolean;
12329
12352
  readonly channel: Schema.Literal<"sms">;
12353
+ readonly addressDisplay: Schema.String;
12330
12354
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
12331
12355
  }>]>>;
12332
12356
  readonly updatedAt: Schema.String;
@@ -12671,6 +12695,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
12671
12695
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
12672
12696
  readonly default: Schema.Boolean;
12673
12697
  readonly channel: Schema.Literal<"whatsapp">;
12698
+ readonly addressDisplay: Schema.String;
12674
12699
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
12675
12700
  }>, Schema.Struct<{
12676
12701
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -12678,6 +12703,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
12678
12703
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
12679
12704
  readonly default: Schema.Boolean;
12680
12705
  readonly channel: Schema.Literal<"sms">;
12706
+ readonly addressDisplay: Schema.String;
12681
12707
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
12682
12708
  }>]>>;
12683
12709
  readonly updatedAt: Schema.String;
@@ -15361,6 +15387,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
15361
15387
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
15362
15388
  readonly default: Schema.Boolean;
15363
15389
  readonly channel: Schema.Literal<"whatsapp">;
15390
+ readonly addressDisplay: Schema.String;
15364
15391
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
15365
15392
  }>, Schema.Struct<{
15366
15393
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -15368,6 +15395,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
15368
15395
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
15369
15396
  readonly default: Schema.Boolean;
15370
15397
  readonly channel: Schema.Literal<"sms">;
15398
+ readonly addressDisplay: Schema.String;
15371
15399
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
15372
15400
  }>]>>;
15373
15401
  readonly updatedAt: Schema.String;
@@ -19610,6 +19638,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
19610
19638
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
19611
19639
  readonly default: Schema.Boolean;
19612
19640
  readonly channel: Schema.Literal<"whatsapp">;
19641
+ readonly addressDisplay: Schema.String;
19613
19642
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
19614
19643
  }>, Schema.Struct<{
19615
19644
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -19617,6 +19646,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
19617
19646
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
19618
19647
  readonly default: Schema.Boolean;
19619
19648
  readonly channel: Schema.Literal<"sms">;
19649
+ readonly addressDisplay: Schema.String;
19620
19650
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
19621
19651
  }>]>>;
19622
19652
  readonly updatedAt: Schema.String;
@@ -19867,6 +19897,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
19867
19897
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
19868
19898
  readonly default: Schema.Boolean;
19869
19899
  readonly channel: Schema.Literal<"whatsapp">;
19900
+ readonly addressDisplay: Schema.String;
19870
19901
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
19871
19902
  }>, Schema.Struct<{
19872
19903
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -19874,6 +19905,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
19874
19905
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
19875
19906
  readonly default: Schema.Boolean;
19876
19907
  readonly channel: Schema.Literal<"sms">;
19908
+ readonly addressDisplay: Schema.String;
19877
19909
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
19878
19910
  }>]>>;
19879
19911
  readonly updatedAt: Schema.String;
@@ -21081,6 +21113,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
21081
21113
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
21082
21114
  readonly default: Schema.Boolean;
21083
21115
  readonly channel: Schema.Literal<"whatsapp">;
21116
+ readonly addressDisplay: Schema.String;
21084
21117
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
21085
21118
  }>, Schema.Struct<{
21086
21119
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -21088,6 +21121,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
21088
21121
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
21089
21122
  readonly default: Schema.Boolean;
21090
21123
  readonly channel: Schema.Literal<"sms">;
21124
+ readonly addressDisplay: Schema.String;
21091
21125
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
21092
21126
  }>]>>;
21093
21127
  readonly updatedAt: Schema.String;
@@ -23418,6 +23452,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
23418
23452
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
23419
23453
  readonly default: Schema.Boolean;
23420
23454
  readonly channel: Schema.Literal<"whatsapp">;
23455
+ readonly addressDisplay: Schema.String;
23421
23456
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
23422
23457
  }>, Schema.Struct<{
23423
23458
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -23425,6 +23460,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
23425
23460
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
23426
23461
  readonly default: Schema.Boolean;
23427
23462
  readonly channel: Schema.Literal<"sms">;
23463
+ readonly addressDisplay: Schema.String;
23428
23464
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
23429
23465
  }>]>>;
23430
23466
  readonly updatedAt: Schema.String;
@@ -23738,6 +23774,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
23738
23774
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
23739
23775
  readonly default: Schema.Boolean;
23740
23776
  readonly channel: Schema.Literal<"whatsapp">;
23777
+ readonly addressDisplay: Schema.String;
23741
23778
  readonly businessAccountId: Schema.brand<Schema.String, "WhatsAppBusinessAccountId">;
23742
23779
  }>, Schema.Struct<{
23743
23780
  readonly id: Schema.brand<Schema.String, "MailboxEndpointId">;
@@ -23745,6 +23782,7 @@ declare const MailboxesGroup_base: HttpApiGroup.HttpApiGroup<"Mailboxes", HttpAp
23745
23782
  readonly displayName: Schema.Union<readonly [Schema.String, Schema.Null]>;
23746
23783
  readonly default: Schema.Boolean;
23747
23784
  readonly channel: Schema.Literal<"sms">;
23785
+ readonly addressDisplay: Schema.String;
23748
23786
  readonly phoneNumberId: Schema.brand<Schema.String, "SmsPhoneNumberId">;
23749
23787
  }>]>>;
23750
23788
  readonly updatedAt: Schema.String;