samva 0.46.0 → 0.47.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 (276) hide show
  1. package/AGENTS.md +13 -7
  2. package/README.md +107 -9
  3. package/dist/agent/index.d.ts +56 -0
  4. package/dist/agent/index.js +52 -0
  5. package/dist/agent/runtime.d.ts +3 -0
  6. package/dist/agent/runtime.js +74 -0
  7. package/dist/agent/test.d.ts +31 -0
  8. package/dist/agent/test.js +66 -0
  9. package/dist/agent/types.d.ts +123 -0
  10. package/dist/client/client/client.gen.d.ts +1 -1
  11. package/dist/client/client/index.d.ts +10 -10
  12. package/dist/client/client/types.gen.d.ts +4 -4
  13. package/dist/client/client/utils.gen.d.ts +2 -2
  14. package/dist/client/client.gen.d.ts +2 -2
  15. package/dist/client/core/bodySerializer.gen.d.ts +1 -1
  16. package/dist/client/core/serverSentEvents.gen.d.ts +1 -1
  17. package/dist/client/core/types.gen.d.ts +2 -2
  18. package/dist/client/core/utils.gen.d.ts +1 -1
  19. package/dist/client/sdk.gen.d.ts +41 -161
  20. package/dist/client/sdk.gen.js +1302 -1598
  21. package/dist/client/types.gen.d.ts +377 -966
  22. package/dist/effect/accounts.d.ts +6 -6
  23. package/dist/effect/accounts.js +2 -1
  24. package/dist/effect/agents.d.ts +355 -23
  25. package/dist/effect/agents.js +6 -3
  26. package/dist/effect/analytics.d.ts +6 -6
  27. package/dist/effect/analytics.js +2 -1
  28. package/dist/effect/api-keys.d.ts +13 -13
  29. package/dist/effect/api-keys.js +2 -1
  30. package/dist/effect/approval-requests.d.ts +4 -4
  31. package/dist/effect/approval-requests.js +2 -1
  32. package/dist/effect/attachments.d.ts +4 -4
  33. package/dist/effect/attachments.js +2 -1
  34. package/dist/effect/brands.d.ts +7 -7
  35. package/dist/effect/brands.js +2 -1
  36. package/dist/effect/campaigns.d.ts +205 -205
  37. package/dist/effect/campaigns.js +2 -1
  38. package/dist/effect/categories.d.ts +3 -3
  39. package/dist/effect/client.d.ts +1 -1
  40. package/dist/effect/contact-groups.d.ts +18 -18
  41. package/dist/effect/contact-groups.js +2 -1
  42. package/dist/effect/contacts.d.ts +41 -33
  43. package/dist/effect/contacts.js +8 -3
  44. package/dist/effect/conversations.d.ts +17 -17
  45. package/dist/effect/conversations.js +2 -1
  46. package/dist/effect/custom-fields.d.ts +4 -4
  47. package/dist/effect/custom-fields.js +2 -1
  48. package/dist/effect/descriptors/accounts.d.ts +59 -0
  49. package/dist/effect/descriptors/accounts.js +57 -0
  50. package/dist/effect/descriptors/agents.d.ts +129 -0
  51. package/dist/effect/descriptors/agents.js +127 -0
  52. package/dist/effect/descriptors/analytics.d.ts +56 -0
  53. package/dist/effect/descriptors/analytics.js +48 -0
  54. package/dist/effect/descriptors/api-keys.d.ts +80 -0
  55. package/dist/effect/descriptors/api-keys.js +80 -0
  56. package/dist/effect/descriptors/approval-requests.d.ts +41 -0
  57. package/dist/effect/descriptors/approval-requests.js +43 -0
  58. package/dist/effect/descriptors/attachments.d.ts +41 -0
  59. package/dist/effect/descriptors/attachments.js +43 -0
  60. package/dist/effect/descriptors/brands.d.ts +60 -0
  61. package/dist/effect/descriptors/brands.js +60 -0
  62. package/dist/effect/descriptors/campaigns.d.ts +148 -0
  63. package/dist/effect/descriptors/campaigns.js +144 -0
  64. package/dist/effect/descriptors/contact-groups.d.ts +99 -0
  65. package/dist/effect/descriptors/contact-groups.js +97 -0
  66. package/dist/effect/descriptors/contacts.d.ts +246 -0
  67. package/dist/effect/descriptors/contacts.js +234 -0
  68. package/dist/effect/descriptors/conversations.d.ts +130 -0
  69. package/dist/effect/descriptors/conversations.js +130 -0
  70. package/dist/effect/descriptors/custom-fields.d.ts +40 -0
  71. package/dist/effect/descriptors/custom-fields.js +40 -0
  72. package/dist/effect/descriptors/email.d.ts +607 -0
  73. package/dist/effect/descriptors/email.js +561 -0
  74. package/dist/effect/descriptors/events.d.ts +20 -0
  75. package/dist/effect/descriptors/events.js +20 -0
  76. package/dist/effect/descriptors/feedback.d.ts +11 -0
  77. package/dist/effect/descriptors/feedback.js +11 -0
  78. package/dist/effect/descriptors/integrations-catalog.d.ts +29 -0
  79. package/dist/effect/descriptors/integrations-catalog.js +27 -0
  80. package/dist/effect/descriptors/integrations.d.ts +70 -0
  81. package/dist/effect/descriptors/integrations.js +70 -0
  82. package/dist/effect/descriptors/journeys.d.ts +140 -0
  83. package/dist/effect/descriptors/journeys.js +140 -0
  84. package/dist/effect/descriptors/mailboxes.d.ts +724 -0
  85. package/dist/effect/descriptors/mailboxes.js +728 -0
  86. package/dist/effect/descriptors/media.d.ts +51 -0
  87. package/dist/effect/descriptors/media.js +53 -0
  88. package/dist/effect/descriptors/messages.d.ts +99 -0
  89. package/dist/effect/descriptors/messages.js +97 -0
  90. package/dist/effect/descriptors/namespaces.d.ts +110 -0
  91. package/dist/effect/descriptors/namespaces.js +114 -0
  92. package/dist/effect/descriptors/newsletter-domains.d.ts +42 -0
  93. package/dist/effect/descriptors/newsletter-domains.js +46 -0
  94. package/dist/effect/descriptors/newsletter-issues.d.ts +112 -0
  95. package/dist/effect/descriptors/newsletter-issues.js +116 -0
  96. package/dist/effect/descriptors/newsletters.d.ts +51 -0
  97. package/dist/effect/descriptors/newsletters.js +53 -0
  98. package/dist/effect/descriptors/operations.d.ts +31 -0
  99. package/dist/effect/descriptors/operations.js +33 -0
  100. package/dist/effect/descriptors/organizations.d.ts +111 -0
  101. package/dist/effect/descriptors/organizations.js +93 -0
  102. package/dist/effect/descriptors/policies.d.ts +32 -0
  103. package/dist/effect/descriptors/policies.js +36 -0
  104. package/dist/effect/descriptors/scheduled-messages.d.ts +50 -0
  105. package/dist/effect/descriptors/scheduled-messages.js +50 -0
  106. package/dist/effect/descriptors/subscriptions.d.ts +11 -0
  107. package/dist/effect/descriptors/subscriptions.js +11 -0
  108. package/dist/effect/descriptors/template-registrations.d.ts +32 -0
  109. package/dist/effect/descriptors/template-registrations.js +36 -0
  110. package/dist/effect/descriptors/template-share-links.d.ts +52 -0
  111. package/dist/effect/descriptors/template-share-links.js +56 -0
  112. package/dist/effect/descriptors/templates.d.ts +365 -0
  113. package/dist/effect/descriptors/templates.js +355 -0
  114. package/dist/effect/descriptors/topic-forms.d.ts +52 -0
  115. package/dist/effect/descriptors/topic-forms.js +56 -0
  116. package/dist/effect/descriptors/topics.d.ts +89 -0
  117. package/dist/effect/descriptors/topics.js +87 -0
  118. package/dist/effect/descriptors/webhooks.d.ts +110 -0
  119. package/dist/effect/descriptors/webhooks.js +110 -0
  120. package/dist/effect/descriptors/whats-app-flows.d.ts +99 -0
  121. package/dist/effect/descriptors/whats-app-flows.js +97 -0
  122. package/dist/effect/descriptors/whats-app-setup-links.d.ts +40 -0
  123. package/dist/effect/descriptors/whats-app-setup-links.js +40 -0
  124. package/dist/effect/descriptors/whats-app.d.ts +116 -0
  125. package/dist/effect/descriptors/whats-app.js +108 -0
  126. package/dist/effect/descriptors/whoami.d.ts +11 -0
  127. package/dist/effect/descriptors/whoami.js +11 -0
  128. package/dist/effect/email.d.ts +78 -78
  129. package/dist/effect/email.js +2 -1
  130. package/dist/effect/errors.d.ts +2 -2
  131. package/dist/effect/events.d.ts +3 -3
  132. package/dist/effect/events.js +2 -1
  133. package/dist/effect/feedback.d.ts +2 -2
  134. package/dist/effect/feedback.js +2 -1
  135. package/dist/effect/generated/accounts.d.ts +19 -9
  136. package/dist/effect/generated/accounts.js +1 -0
  137. package/dist/effect/generated/agents.d.ts +2967 -690
  138. package/dist/effect/generated/agents.js +54 -13
  139. package/dist/effect/generated/analytics.d.ts +1 -1
  140. package/dist/effect/generated/api-keys.d.ts +1 -1
  141. package/dist/effect/generated/approval-requests.d.ts +13 -13
  142. package/dist/effect/generated/attachments.d.ts +1 -1
  143. package/dist/effect/generated/brands.d.ts +1 -1
  144. package/dist/effect/generated/campaigns.d.ts +230 -230
  145. package/dist/effect/generated/contact-events.d.ts +4 -4
  146. package/dist/effect/generated/contact-groups.d.ts +1 -1
  147. package/dist/effect/generated/contacts.d.ts +907 -49
  148. package/dist/effect/generated/contacts.js +62 -3
  149. package/dist/effect/generated/conversations.d.ts +1 -1
  150. package/dist/effect/generated/custom-fields.d.ts +1 -1
  151. package/dist/effect/generated/email.d.ts +1 -1
  152. package/dist/effect/generated/events.d.ts +12 -12
  153. package/dist/effect/generated/feedback.d.ts +1 -1
  154. package/dist/effect/generated/index.d.ts +84 -88
  155. package/dist/effect/generated/integrations-catalog.d.ts +3 -3
  156. package/dist/effect/generated/integrations.d.ts +15 -15
  157. package/dist/effect/generated/journeys.d.ts +336 -96
  158. package/dist/effect/generated/journeys.js +3 -1
  159. package/dist/effect/generated/mailboxes.d.ts +93 -95
  160. package/dist/effect/generated/mailboxes.js +21 -25
  161. package/dist/effect/generated/media.d.ts +1 -1
  162. package/dist/effect/generated/messages.d.ts +1 -1
  163. package/dist/effect/generated/namespaces.d.ts +1 -1
  164. package/dist/effect/generated/newsletter-domains.d.ts +1 -1
  165. package/dist/effect/generated/newsletter-issues.d.ts +1 -1
  166. package/dist/effect/generated/newsletters.d.ts +1 -1
  167. package/dist/effect/generated/operations.d.ts +1 -1
  168. package/dist/effect/generated/organizations.d.ts +1 -1
  169. package/dist/effect/generated/policies.d.ts +1 -1
  170. package/dist/effect/generated/scheduled-messages.d.ts +147 -147
  171. package/dist/effect/generated/shared.d.ts +408 -102
  172. package/dist/effect/generated/shared.js +80 -36
  173. package/dist/effect/generated/subscriptions.d.ts +1 -1
  174. package/dist/effect/generated/template-registrations.d.ts +1 -4
  175. package/dist/effect/generated/template-registrations.js +2 -6
  176. package/dist/effect/generated/template-share-links.d.ts +1 -1
  177. package/dist/effect/generated/templates.d.ts +1 -1
  178. package/dist/effect/generated/topic-forms.d.ts +1 -1
  179. package/dist/effect/generated/topics.d.ts +1 -1
  180. package/dist/effect/generated/webhooks.d.ts +1 -1
  181. package/dist/effect/generated/whats-app-flows.d.ts +1 -1
  182. package/dist/effect/generated/whats-app-setup-links.d.ts +1 -1
  183. package/dist/effect/generated/whats-app.d.ts +1 -1
  184. package/dist/effect/generated/whoami.d.ts +1 -1
  185. package/dist/effect/generated-metadata.d.ts +18 -84
  186. package/dist/effect/generated-metadata.js +362 -415
  187. package/dist/effect/index.d.ts +45 -47
  188. package/dist/effect/index.js +1 -3
  189. package/dist/effect/integrations-catalog.d.ts +3 -3
  190. package/dist/effect/integrations-catalog.js +2 -1
  191. package/dist/effect/integrations.d.ts +11 -11
  192. package/dist/effect/integrations.js +2 -1
  193. package/dist/effect/internal/client.d.ts +3 -3
  194. package/dist/effect/internal/client.js +1 -1
  195. package/dist/effect/internal/email-sender.d.ts +4 -4
  196. package/dist/effect/internal/mailbox-events.d.ts +2 -2
  197. package/dist/effect/internal/operation.d.ts +24 -5
  198. package/dist/effect/internal/operation.js +25 -22
  199. package/dist/effect/internal/send.d.ts +4 -4
  200. package/dist/effect/journeys.d.ts +46 -22
  201. package/dist/effect/journeys.js +2 -1
  202. package/dist/effect/mailboxes.d.ts +163 -163
  203. package/dist/effect/mailboxes.js +2 -1
  204. package/dist/effect/media.d.ts +5 -5
  205. package/dist/effect/media.js +2 -1
  206. package/dist/effect/messages.d.ts +17 -17
  207. package/dist/effect/messages.js +2 -1
  208. package/dist/effect/namespaces.d.ts +15 -15
  209. package/dist/effect/namespaces.js +2 -1
  210. package/dist/effect/newsletter-domains.d.ts +6 -6
  211. package/dist/effect/newsletter-domains.js +2 -1
  212. package/dist/effect/newsletter-issues.d.ts +11 -11
  213. package/dist/effect/newsletter-issues.js +2 -1
  214. package/dist/effect/newsletters.d.ts +5 -5
  215. package/dist/effect/newsletters.js +2 -1
  216. package/dist/effect/operations.d.ts +5 -5
  217. package/dist/effect/operations.js +2 -1
  218. package/dist/effect/organizations.d.ts +12 -12
  219. package/dist/effect/organizations.js +2 -1
  220. package/dist/effect/policies.d.ts +3 -3
  221. package/dist/effect/policies.js +2 -1
  222. package/dist/effect/scheduled-messages.d.ts +371 -371
  223. package/dist/effect/scheduled-messages.js +2 -1
  224. package/dist/effect/subscriptions.d.ts +1 -1
  225. package/dist/effect/subscriptions.js +2 -1
  226. package/dist/effect/template-registrations.d.ts +3 -3
  227. package/dist/effect/template-registrations.js +2 -1
  228. package/dist/effect/template-share-links.d.ts +5 -5
  229. package/dist/effect/template-share-links.js +2 -1
  230. package/dist/effect/templates.d.ts +46 -46
  231. package/dist/effect/templates.js +2 -1
  232. package/dist/effect/topic-forms.d.ts +5 -5
  233. package/dist/effect/topic-forms.js +2 -1
  234. package/dist/effect/topics.d.ts +13 -13
  235. package/dist/effect/topics.js +2 -1
  236. package/dist/effect/webhooks.d.ts +16 -16
  237. package/dist/effect/webhooks.js +2 -1
  238. package/dist/effect/whatsapp-flows.d.ts +10 -10
  239. package/dist/effect/whatsapp-flows.js +2 -1
  240. package/dist/effect/whatsapp-setup-links.d.ts +6 -6
  241. package/dist/effect/whatsapp-setup-links.js +2 -1
  242. package/dist/effect/whatsapp.d.ts +12 -12
  243. package/dist/effect/whatsapp.js +2 -1
  244. package/dist/effect/whoami.d.ts +1 -1
  245. package/dist/effect/whoami.js +2 -1
  246. package/dist/index.d.ts +1 -1
  247. package/dist/package.js +1 -1
  248. package/dist/promises/client.d.ts +10 -14
  249. package/dist/promises/client.js +3 -7
  250. package/dist/promises/errors.gen.d.ts +1 -1
  251. package/dist/promises/index.d.ts +5 -5
  252. package/dist/promises/request.d.ts +2 -2
  253. package/dist/promises/request.js +1 -1
  254. package/dist/promises/types.gen.d.ts +1 -1
  255. package/dist/request-policy.d.ts +10 -2
  256. package/dist/request-policy.js +3 -5
  257. package/dist/service-map.d.ts +18 -75
  258. package/package.json +17 -29
  259. package/dist/effect/extension-installations.d.ts +0 -132
  260. package/dist/effect/extension-installations.js +0 -28
  261. package/dist/effect/extensions.d.ts +0 -102
  262. package/dist/effect/extensions.js +0 -20
  263. package/dist/effect/generated/extension-installations.d.ts +0 -2761
  264. package/dist/effect/generated/extension-installations.js +0 -405
  265. package/dist/effect/generated/extensions.d.ts +0 -1037
  266. package/dist/effect/generated/extensions.js +0 -214
  267. package/dist/mailbox/dispatch.d.ts +0 -10
  268. package/dist/mailbox/dispatch.js +0 -66
  269. package/dist/mailbox/index.d.ts +0 -17
  270. package/dist/mailbox/index.js +0 -30
  271. package/dist/mailbox/test.d.ts +0 -25
  272. package/dist/mailbox/test.js +0 -181
  273. package/dist/mailbox/types.d.ts +0 -221
  274. package/dist/mailbox/webhook.d.ts +0 -10
  275. package/dist/mailbox/webhook.js +0 -41
  276. package/dist/service-map.js +0 -830
@@ -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, ConflictError, ContactId, ConversationId, EmailAttachments, EmailBccRecipients, EmailCcRecipients, EmailCustomHeaders, EmailFooterOverride, EmailRecipients, EmailSender, EmailTrackingOverrideV1, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, IanaTimezone, InternalError, MalformedRequestError, MessageId, MessageMetadata, NamespaceId, RenderLocale, RenderTimeZone, ReplyToAddresses, ResourceNotFoundError, SenderNotReadyError, SmsContent, SmsDispatchContent, SmsRecipients, StoredEmailAttachments, StoredReplyToAddresses, TemplateData, TemplateId, TemplateInputContractId, TemplatePublicationId, TopicId, UnauthorizedError, ValidationError, WhatsAppContent, WhatsAppRecipients, __SamvaRuntimeAbsoluteInstant } from "./shared";
4
+ import { ApiKeySecurityMiddleware, ConflictError, ContactId, ConversationId, EmailAttachments, EmailBccRecipients, EmailCcRecipients, EmailCustomHeaders, EmailFooterOverride, EmailRecipients, EmailSender, EmailTrackingOverrideV1, ExternalServiceError, FlagDisabledError, ForbiddenError, FromAddressRequiredError, GatewayTimeoutError, IanaTimezone, InternalError, MalformedRequestError, MessageId, MessageMetadata, NamespaceId, RenderLocale, RenderTimeZone, ReplyToAddresses, ResourceNotFoundError, SenderNotReadyError, SmsContent, SmsDispatchContent, SmsRecipients, StoredEmailAttachments, StoredReplyToAddresses, TemplateData, TemplateId, TemplateInputContractId, TemplatePublicationId, TopicId, UnauthorizedError, ValidationError, WhatsAppContent, WhatsAppRecipients, __SamvaRuntimeAbsoluteInstant } from "./shared.js";
5
5
  export type ScheduledMessageId = string & EffectBrand.Brand<"ScheduledMessageId">;
6
6
  export declare const ScheduledMessageId: Schema.brand<Schema.String, "ScheduledMessageId">;
7
7
  export type SavedEmailRecipient = {
@@ -41,7 +41,7 @@ export type StoredSmsSendMessage = {
41
41
  };
42
42
  export declare const StoredSmsSendMessage: Schema.Struct<{
43
43
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
44
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
44
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
45
45
  readonly channel: Schema.Literal<"sms">;
46
46
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
47
47
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -54,7 +54,7 @@ export declare const StoredSmsSendMessage: Schema.Struct<{
54
54
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
55
55
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
56
56
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
57
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
57
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
58
58
  }>;
59
59
  }>;
60
60
  export type SmsDispatchSendMessagePayload = {
@@ -66,7 +66,7 @@ export type SmsDispatchSendMessagePayload = {
66
66
  };
67
67
  export declare const SmsDispatchSendMessagePayload: Schema.Struct<{
68
68
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
69
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
69
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
70
70
  readonly channel: Schema.Literal<"sms">;
71
71
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
72
72
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -79,7 +79,7 @@ export declare const SmsDispatchSendMessagePayload: Schema.Struct<{
79
79
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
80
80
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
81
81
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
82
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
82
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
83
83
  }>;
84
84
  }>;
85
85
  export type StoredEmailContent = {
@@ -116,7 +116,7 @@ export declare const StoredEmailContent: Schema.Struct<{
116
116
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
117
117
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
118
118
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
119
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
119
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
120
120
  readonly locale: Schema.optionalKey<Schema.String>;
121
121
  readonly timeZone: Schema.optionalKey<Schema.String>;
122
122
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -165,7 +165,7 @@ export declare const EmailDispatchContent: Schema.Struct<{
165
165
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
166
166
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
167
167
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
168
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
168
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
169
169
  readonly locale: Schema.optionalKey<Schema.String>;
170
170
  readonly timeZone: Schema.optionalKey<Schema.String>;
171
171
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -195,7 +195,7 @@ export type StoredEmailSendMessage = {
195
195
  };
196
196
  export declare const StoredEmailSendMessage: Schema.Struct<{
197
197
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
198
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
198
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
199
199
  readonly channel: Schema.Literal<"email">;
200
200
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
201
201
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -237,7 +237,7 @@ export declare const StoredEmailSendMessage: Schema.Struct<{
237
237
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
238
238
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
239
239
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
240
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
240
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
241
241
  readonly locale: Schema.optionalKey<Schema.String>;
242
242
  readonly timeZone: Schema.optionalKey<Schema.String>;
243
243
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -265,7 +265,7 @@ export type EmailDispatchSendMessagePayload = {
265
265
  };
266
266
  export declare const EmailDispatchSendMessagePayload: Schema.Struct<{
267
267
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
268
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
268
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
269
269
  readonly channel: Schema.Literal<"email">;
270
270
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
271
271
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -307,7 +307,7 @@ export declare const EmailDispatchSendMessagePayload: Schema.Struct<{
307
307
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
308
308
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
309
309
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
310
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
310
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
311
311
  readonly locale: Schema.optionalKey<Schema.String>;
312
312
  readonly timeZone: Schema.optionalKey<Schema.String>;
313
313
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -332,7 +332,7 @@ export type StoredWhatsAppSendMessage = {
332
332
  };
333
333
  export declare const StoredWhatsAppSendMessage: Schema.Struct<{
334
334
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
335
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
335
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
336
336
  readonly channel: Schema.Literal<"whatsapp">;
337
337
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
338
338
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -345,11 +345,11 @@ export declare const StoredWhatsAppSendMessage: Schema.Struct<{
345
345
  readonly text: Schema.String;
346
346
  }>, Schema.Struct<{
347
347
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
348
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
348
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
349
349
  readonly flowToken: Schema.optionalKey<Schema.String>;
350
350
  }>, Schema.Struct<{
351
351
  readonly templateSlug: Schema.String;
352
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
352
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
353
353
  readonly flowToken: Schema.optionalKey<Schema.String>;
354
354
  }>, Schema.Struct<{
355
355
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -484,7 +484,7 @@ export declare const StoredWhatsAppSendMessage: Schema.Struct<{
484
484
  readonly token: Schema.optionalKey<Schema.String>;
485
485
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
486
486
  readonly screen: Schema.optionalKey<Schema.String>;
487
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
487
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
488
488
  }>]>;
489
489
  }>, Schema.Struct<{
490
490
  readonly reaction: Schema.Struct<{
@@ -548,7 +548,7 @@ export type WhatsAppDispatchSendMessagePayload = {
548
548
  };
549
549
  export declare const WhatsAppDispatchSendMessagePayload: Schema.Struct<{
550
550
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
551
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
551
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
552
552
  readonly channel: Schema.Literal<"whatsapp">;
553
553
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
554
554
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -561,11 +561,11 @@ export declare const WhatsAppDispatchSendMessagePayload: Schema.Struct<{
561
561
  readonly text: Schema.String;
562
562
  }>, Schema.Struct<{
563
563
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
564
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
564
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
565
565
  readonly flowToken: Schema.optionalKey<Schema.String>;
566
566
  }>, Schema.Struct<{
567
567
  readonly templateSlug: Schema.String;
568
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
568
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
569
569
  readonly flowToken: Schema.optionalKey<Schema.String>;
570
570
  }>, Schema.Struct<{
571
571
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -700,7 +700,7 @@ export declare const WhatsAppDispatchSendMessagePayload: Schema.Struct<{
700
700
  readonly token: Schema.optionalKey<Schema.String>;
701
701
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
702
702
  readonly screen: Schema.optionalKey<Schema.String>;
703
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
703
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
704
704
  }>]>;
705
705
  }>, Schema.Struct<{
706
706
  readonly reaction: Schema.Struct<{
@@ -758,7 +758,7 @@ export declare const WhatsAppDispatchSendMessagePayload: Schema.Struct<{
758
758
  export type StoredSendMessagePayload = StoredEmailSendMessage | StoredSmsSendMessage | StoredWhatsAppSendMessage;
759
759
  export declare const StoredSendMessagePayload: Schema.Union<readonly [Schema.Struct<{
760
760
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
761
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
761
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
762
762
  readonly channel: Schema.Literal<"email">;
763
763
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
764
764
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -800,7 +800,7 @@ export declare const StoredSendMessagePayload: Schema.Union<readonly [Schema.Str
800
800
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
801
801
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
802
802
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
803
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
803
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
804
804
  readonly locale: Schema.optionalKey<Schema.String>;
805
805
  readonly timeZone: Schema.optionalKey<Schema.String>;
806
806
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -817,7 +817,7 @@ export declare const StoredSendMessagePayload: Schema.Union<readonly [Schema.Str
817
817
  }>;
818
818
  }>, Schema.Struct<{
819
819
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
820
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
820
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
821
821
  readonly channel: Schema.Literal<"sms">;
822
822
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
823
823
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -830,11 +830,11 @@ export declare const StoredSendMessagePayload: Schema.Union<readonly [Schema.Str
830
830
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
831
831
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
832
832
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
833
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
833
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
834
834
  }>;
835
835
  }>, Schema.Struct<{
836
836
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
837
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
837
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
838
838
  readonly channel: Schema.Literal<"whatsapp">;
839
839
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
840
840
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -847,11 +847,11 @@ export declare const StoredSendMessagePayload: Schema.Union<readonly [Schema.Str
847
847
  readonly text: Schema.String;
848
848
  }>, Schema.Struct<{
849
849
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
850
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
850
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
851
851
  readonly flowToken: Schema.optionalKey<Schema.String>;
852
852
  }>, Schema.Struct<{
853
853
  readonly templateSlug: Schema.String;
854
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
854
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
855
855
  readonly flowToken: Schema.optionalKey<Schema.String>;
856
856
  }>, Schema.Struct<{
857
857
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -986,7 +986,7 @@ export declare const StoredSendMessagePayload: Schema.Union<readonly [Schema.Str
986
986
  readonly token: Schema.optionalKey<Schema.String>;
987
987
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
988
988
  readonly screen: Schema.optionalKey<Schema.String>;
989
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
989
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
990
990
  }>]>;
991
991
  }>, Schema.Struct<{
992
992
  readonly reaction: Schema.Struct<{
@@ -1044,7 +1044,7 @@ export declare const StoredSendMessagePayload: Schema.Union<readonly [Schema.Str
1044
1044
  export type DispatchSendMessagePayload = EmailDispatchSendMessagePayload | SmsDispatchSendMessagePayload | WhatsAppDispatchSendMessagePayload;
1045
1045
  export declare const DispatchSendMessagePayload: Schema.Union<readonly [Schema.Struct<{
1046
1046
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
1047
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1047
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1048
1048
  readonly channel: Schema.Literal<"email">;
1049
1049
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
1050
1050
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -1086,7 +1086,7 @@ export declare const DispatchSendMessagePayload: Schema.Union<readonly [Schema.S
1086
1086
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
1087
1087
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
1088
1088
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1089
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1089
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1090
1090
  readonly locale: Schema.optionalKey<Schema.String>;
1091
1091
  readonly timeZone: Schema.optionalKey<Schema.String>;
1092
1092
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -1103,7 +1103,7 @@ export declare const DispatchSendMessagePayload: Schema.Union<readonly [Schema.S
1103
1103
  }>;
1104
1104
  }>, Schema.Struct<{
1105
1105
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
1106
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1106
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1107
1107
  readonly channel: Schema.Literal<"sms">;
1108
1108
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
1109
1109
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -1116,11 +1116,11 @@ export declare const DispatchSendMessagePayload: Schema.Union<readonly [Schema.S
1116
1116
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1117
1117
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
1118
1118
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1119
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1119
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1120
1120
  }>;
1121
1121
  }>, Schema.Struct<{
1122
1122
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
1123
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1123
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1124
1124
  readonly channel: Schema.Literal<"whatsapp">;
1125
1125
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
1126
1126
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -1133,11 +1133,11 @@ export declare const DispatchSendMessagePayload: Schema.Union<readonly [Schema.S
1133
1133
  readonly text: Schema.String;
1134
1134
  }>, Schema.Struct<{
1135
1135
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
1136
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
1136
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
1137
1137
  readonly flowToken: Schema.optionalKey<Schema.String>;
1138
1138
  }>, Schema.Struct<{
1139
1139
  readonly templateSlug: Schema.String;
1140
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
1140
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
1141
1141
  readonly flowToken: Schema.optionalKey<Schema.String>;
1142
1142
  }>, Schema.Struct<{
1143
1143
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -1272,7 +1272,7 @@ export declare const DispatchSendMessagePayload: Schema.Union<readonly [Schema.S
1272
1272
  readonly token: Schema.optionalKey<Schema.String>;
1273
1273
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
1274
1274
  readonly screen: Schema.optionalKey<Schema.String>;
1275
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
1275
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
1276
1276
  }>]>;
1277
1277
  }>, Schema.Struct<{
1278
1278
  readonly reaction: Schema.Struct<{
@@ -1353,7 +1353,7 @@ export declare const ScheduledMessage: Schema.Struct<{
1353
1353
  readonly timezone: Schema.String;
1354
1354
  readonly send: Schema.Union<readonly [Schema.Struct<{
1355
1355
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
1356
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1356
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1357
1357
  readonly channel: Schema.Literal<"email">;
1358
1358
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
1359
1359
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -1395,7 +1395,7 @@ export declare const ScheduledMessage: Schema.Struct<{
1395
1395
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
1396
1396
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
1397
1397
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1398
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1398
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1399
1399
  readonly locale: Schema.optionalKey<Schema.String>;
1400
1400
  readonly timeZone: Schema.optionalKey<Schema.String>;
1401
1401
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -1412,7 +1412,7 @@ export declare const ScheduledMessage: Schema.Struct<{
1412
1412
  }>;
1413
1413
  }>, Schema.Struct<{
1414
1414
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
1415
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1415
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1416
1416
  readonly channel: Schema.Literal<"sms">;
1417
1417
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
1418
1418
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -1425,11 +1425,11 @@ export declare const ScheduledMessage: Schema.Struct<{
1425
1425
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1426
1426
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
1427
1427
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1428
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1428
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1429
1429
  }>;
1430
1430
  }>, Schema.Struct<{
1431
1431
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
1432
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1432
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1433
1433
  readonly channel: Schema.Literal<"whatsapp">;
1434
1434
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
1435
1435
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -1442,11 +1442,11 @@ export declare const ScheduledMessage: Schema.Struct<{
1442
1442
  readonly text: Schema.String;
1443
1443
  }>, Schema.Struct<{
1444
1444
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
1445
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
1445
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
1446
1446
  readonly flowToken: Schema.optionalKey<Schema.String>;
1447
1447
  }>, Schema.Struct<{
1448
1448
  readonly templateSlug: Schema.String;
1449
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
1449
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
1450
1450
  readonly flowToken: Schema.optionalKey<Schema.String>;
1451
1451
  }>, Schema.Struct<{
1452
1452
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -1581,7 +1581,7 @@ export declare const ScheduledMessage: Schema.Struct<{
1581
1581
  readonly token: Schema.optionalKey<Schema.String>;
1582
1582
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
1583
1583
  readonly screen: Schema.optionalKey<Schema.String>;
1584
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
1584
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
1585
1585
  }>]>;
1586
1586
  }>, Schema.Struct<{
1587
1587
  readonly reaction: Schema.Struct<{
@@ -1660,7 +1660,7 @@ export declare const ScheduledMessagePage: Schema.Struct<{
1660
1660
  readonly timezone: Schema.String;
1661
1661
  readonly send: Schema.Union<readonly [Schema.Struct<{
1662
1662
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
1663
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1663
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1664
1664
  readonly channel: Schema.Literal<"email">;
1665
1665
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
1666
1666
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -1702,7 +1702,7 @@ export declare const ScheduledMessagePage: Schema.Struct<{
1702
1702
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
1703
1703
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
1704
1704
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1705
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1705
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1706
1706
  readonly locale: Schema.optionalKey<Schema.String>;
1707
1707
  readonly timeZone: Schema.optionalKey<Schema.String>;
1708
1708
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -1719,7 +1719,7 @@ export declare const ScheduledMessagePage: Schema.Struct<{
1719
1719
  }>;
1720
1720
  }>, Schema.Struct<{
1721
1721
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
1722
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1722
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1723
1723
  readonly channel: Schema.Literal<"sms">;
1724
1724
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
1725
1725
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -1732,11 +1732,11 @@ export declare const ScheduledMessagePage: Schema.Struct<{
1732
1732
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1733
1733
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
1734
1734
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
1735
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1735
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1736
1736
  }>;
1737
1737
  }>, Schema.Struct<{
1738
1738
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
1739
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1739
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1740
1740
  readonly channel: Schema.Literal<"whatsapp">;
1741
1741
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
1742
1742
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -1749,11 +1749,11 @@ export declare const ScheduledMessagePage: Schema.Struct<{
1749
1749
  readonly text: Schema.String;
1750
1750
  }>, Schema.Struct<{
1751
1751
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
1752
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
1752
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
1753
1753
  readonly flowToken: Schema.optionalKey<Schema.String>;
1754
1754
  }>, Schema.Struct<{
1755
1755
  readonly templateSlug: Schema.String;
1756
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
1756
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
1757
1757
  readonly flowToken: Schema.optionalKey<Schema.String>;
1758
1758
  }>, Schema.Struct<{
1759
1759
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -1888,7 +1888,7 @@ export declare const ScheduledMessagePage: Schema.Struct<{
1888
1888
  readonly token: Schema.optionalKey<Schema.String>;
1889
1889
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
1890
1890
  readonly screen: Schema.optionalKey<Schema.String>;
1891
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
1891
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
1892
1892
  }>]>;
1893
1893
  }>, Schema.Struct<{
1894
1894
  readonly reaction: Schema.Struct<{
@@ -1978,7 +1978,7 @@ export declare const ScheduledMessagesList200: Schema.Struct<{
1978
1978
  readonly timezone: Schema.String;
1979
1979
  readonly send: Schema.Union<readonly [Schema.Struct<{
1980
1980
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
1981
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1981
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
1982
1982
  readonly channel: Schema.Literal<"email">;
1983
1983
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
1984
1984
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -2020,7 +2020,7 @@ export declare const ScheduledMessagesList200: Schema.Struct<{
2020
2020
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
2021
2021
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
2022
2022
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2023
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2023
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2024
2024
  readonly locale: Schema.optionalKey<Schema.String>;
2025
2025
  readonly timeZone: Schema.optionalKey<Schema.String>;
2026
2026
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -2037,7 +2037,7 @@ export declare const ScheduledMessagesList200: Schema.Struct<{
2037
2037
  }>;
2038
2038
  }>, Schema.Struct<{
2039
2039
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
2040
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2040
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2041
2041
  readonly channel: Schema.Literal<"sms">;
2042
2042
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
2043
2043
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -2050,11 +2050,11 @@ export declare const ScheduledMessagesList200: Schema.Struct<{
2050
2050
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2051
2051
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
2052
2052
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2053
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2053
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2054
2054
  }>;
2055
2055
  }>, Schema.Struct<{
2056
2056
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
2057
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2057
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2058
2058
  readonly channel: Schema.Literal<"whatsapp">;
2059
2059
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
2060
2060
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -2067,11 +2067,11 @@ export declare const ScheduledMessagesList200: Schema.Struct<{
2067
2067
  readonly text: Schema.String;
2068
2068
  }>, Schema.Struct<{
2069
2069
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
2070
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
2070
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
2071
2071
  readonly flowToken: Schema.optionalKey<Schema.String>;
2072
2072
  }>, Schema.Struct<{
2073
2073
  readonly templateSlug: Schema.String;
2074
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
2074
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
2075
2075
  readonly flowToken: Schema.optionalKey<Schema.String>;
2076
2076
  }>, Schema.Struct<{
2077
2077
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -2206,7 +2206,7 @@ export declare const ScheduledMessagesList200: Schema.Struct<{
2206
2206
  readonly token: Schema.optionalKey<Schema.String>;
2207
2207
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
2208
2208
  readonly screen: Schema.optionalKey<Schema.String>;
2209
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
2209
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
2210
2210
  }>]>;
2211
2211
  }>, Schema.Struct<{
2212
2212
  readonly reaction: Schema.Struct<{
@@ -2303,7 +2303,7 @@ export declare const ScheduledMessagesCreateRequestJson: Schema.Struct<{
2303
2303
  readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
2304
2304
  readonly send: Schema.Union<readonly [Schema.Struct<{
2305
2305
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
2306
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2306
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2307
2307
  readonly channel: Schema.Literal<"email">;
2308
2308
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
2309
2309
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -2345,7 +2345,7 @@ export declare const ScheduledMessagesCreateRequestJson: Schema.Struct<{
2345
2345
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
2346
2346
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
2347
2347
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2348
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2348
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2349
2349
  readonly locale: Schema.optionalKey<Schema.String>;
2350
2350
  readonly timeZone: Schema.optionalKey<Schema.String>;
2351
2351
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -2362,7 +2362,7 @@ export declare const ScheduledMessagesCreateRequestJson: Schema.Struct<{
2362
2362
  }>;
2363
2363
  }>, Schema.Struct<{
2364
2364
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
2365
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2365
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2366
2366
  readonly channel: Schema.Literal<"sms">;
2367
2367
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
2368
2368
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -2375,11 +2375,11 @@ export declare const ScheduledMessagesCreateRequestJson: Schema.Struct<{
2375
2375
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2376
2376
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
2377
2377
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2378
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2378
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2379
2379
  }>;
2380
2380
  }>, Schema.Struct<{
2381
2381
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
2382
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2382
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2383
2383
  readonly channel: Schema.Literal<"whatsapp">;
2384
2384
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
2385
2385
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -2392,11 +2392,11 @@ export declare const ScheduledMessagesCreateRequestJson: Schema.Struct<{
2392
2392
  readonly text: Schema.String;
2393
2393
  }>, Schema.Struct<{
2394
2394
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
2395
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
2395
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
2396
2396
  readonly flowToken: Schema.optionalKey<Schema.String>;
2397
2397
  }>, Schema.Struct<{
2398
2398
  readonly templateSlug: Schema.String;
2399
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
2399
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
2400
2400
  readonly flowToken: Schema.optionalKey<Schema.String>;
2401
2401
  }>, Schema.Struct<{
2402
2402
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -2531,7 +2531,7 @@ export declare const ScheduledMessagesCreateRequestJson: Schema.Struct<{
2531
2531
  readonly token: Schema.optionalKey<Schema.String>;
2532
2532
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
2533
2533
  readonly screen: Schema.optionalKey<Schema.String>;
2534
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
2534
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
2535
2535
  }>]>;
2536
2536
  }>, Schema.Struct<{
2537
2537
  readonly reaction: Schema.Struct<{
@@ -2599,7 +2599,7 @@ export declare const ScheduledMessagesCreate201: Schema.Struct<{
2599
2599
  readonly timezone: Schema.String;
2600
2600
  readonly send: Schema.Union<readonly [Schema.Struct<{
2601
2601
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
2602
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2602
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2603
2603
  readonly channel: Schema.Literal<"email">;
2604
2604
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
2605
2605
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -2641,7 +2641,7 @@ export declare const ScheduledMessagesCreate201: Schema.Struct<{
2641
2641
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
2642
2642
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
2643
2643
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2644
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2644
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2645
2645
  readonly locale: Schema.optionalKey<Schema.String>;
2646
2646
  readonly timeZone: Schema.optionalKey<Schema.String>;
2647
2647
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -2658,7 +2658,7 @@ export declare const ScheduledMessagesCreate201: Schema.Struct<{
2658
2658
  }>;
2659
2659
  }>, Schema.Struct<{
2660
2660
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
2661
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2661
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2662
2662
  readonly channel: Schema.Literal<"sms">;
2663
2663
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
2664
2664
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -2671,11 +2671,11 @@ export declare const ScheduledMessagesCreate201: Schema.Struct<{
2671
2671
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2672
2672
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
2673
2673
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2674
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2674
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2675
2675
  }>;
2676
2676
  }>, Schema.Struct<{
2677
2677
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
2678
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2678
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2679
2679
  readonly channel: Schema.Literal<"whatsapp">;
2680
2680
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
2681
2681
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -2688,11 +2688,11 @@ export declare const ScheduledMessagesCreate201: Schema.Struct<{
2688
2688
  readonly text: Schema.String;
2689
2689
  }>, Schema.Struct<{
2690
2690
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
2691
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
2691
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
2692
2692
  readonly flowToken: Schema.optionalKey<Schema.String>;
2693
2693
  }>, Schema.Struct<{
2694
2694
  readonly templateSlug: Schema.String;
2695
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
2695
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
2696
2696
  readonly flowToken: Schema.optionalKey<Schema.String>;
2697
2697
  }>, Schema.Struct<{
2698
2698
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -2827,7 +2827,7 @@ export declare const ScheduledMessagesCreate201: Schema.Struct<{
2827
2827
  readonly token: Schema.optionalKey<Schema.String>;
2828
2828
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
2829
2829
  readonly screen: Schema.optionalKey<Schema.String>;
2830
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
2830
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
2831
2831
  }>]>;
2832
2832
  }>, Schema.Struct<{
2833
2833
  readonly reaction: Schema.Struct<{
@@ -2926,7 +2926,7 @@ export declare const ScheduledMessagesGet200: Schema.Struct<{
2926
2926
  readonly timezone: Schema.String;
2927
2927
  readonly send: Schema.Union<readonly [Schema.Struct<{
2928
2928
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
2929
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2929
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2930
2930
  readonly channel: Schema.Literal<"email">;
2931
2931
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
2932
2932
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -2968,7 +2968,7 @@ export declare const ScheduledMessagesGet200: Schema.Struct<{
2968
2968
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
2969
2969
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
2970
2970
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2971
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2971
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2972
2972
  readonly locale: Schema.optionalKey<Schema.String>;
2973
2973
  readonly timeZone: Schema.optionalKey<Schema.String>;
2974
2974
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -2985,7 +2985,7 @@ export declare const ScheduledMessagesGet200: Schema.Struct<{
2985
2985
  }>;
2986
2986
  }>, Schema.Struct<{
2987
2987
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
2988
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
2988
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
2989
2989
  readonly channel: Schema.Literal<"sms">;
2990
2990
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
2991
2991
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -2998,11 +2998,11 @@ export declare const ScheduledMessagesGet200: Schema.Struct<{
2998
2998
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
2999
2999
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
3000
3000
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3001
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3001
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3002
3002
  }>;
3003
3003
  }>, Schema.Struct<{
3004
3004
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
3005
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3005
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3006
3006
  readonly channel: Schema.Literal<"whatsapp">;
3007
3007
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
3008
3008
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -3015,11 +3015,11 @@ export declare const ScheduledMessagesGet200: Schema.Struct<{
3015
3015
  readonly text: Schema.String;
3016
3016
  }>, Schema.Struct<{
3017
3017
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
3018
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
3018
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
3019
3019
  readonly flowToken: Schema.optionalKey<Schema.String>;
3020
3020
  }>, Schema.Struct<{
3021
3021
  readonly templateSlug: Schema.String;
3022
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
3022
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
3023
3023
  readonly flowToken: Schema.optionalKey<Schema.String>;
3024
3024
  }>, Schema.Struct<{
3025
3025
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -3154,7 +3154,7 @@ export declare const ScheduledMessagesGet200: Schema.Struct<{
3154
3154
  readonly token: Schema.optionalKey<Schema.String>;
3155
3155
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
3156
3156
  readonly screen: Schema.optionalKey<Schema.String>;
3157
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
3157
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
3158
3158
  }>]>;
3159
3159
  }>, Schema.Struct<{
3160
3160
  readonly reaction: Schema.Struct<{
@@ -3254,7 +3254,7 @@ export declare const ScheduledMessagesCancel200: Schema.Struct<{
3254
3254
  readonly timezone: Schema.String;
3255
3255
  readonly send: Schema.Union<readonly [Schema.Struct<{
3256
3256
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
3257
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3257
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3258
3258
  readonly channel: Schema.Literal<"email">;
3259
3259
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
3260
3260
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -3296,7 +3296,7 @@ export declare const ScheduledMessagesCancel200: Schema.Struct<{
3296
3296
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
3297
3297
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
3298
3298
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3299
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3299
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3300
3300
  readonly locale: Schema.optionalKey<Schema.String>;
3301
3301
  readonly timeZone: Schema.optionalKey<Schema.String>;
3302
3302
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -3313,7 +3313,7 @@ export declare const ScheduledMessagesCancel200: Schema.Struct<{
3313
3313
  }>;
3314
3314
  }>, Schema.Struct<{
3315
3315
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
3316
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3316
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3317
3317
  readonly channel: Schema.Literal<"sms">;
3318
3318
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
3319
3319
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -3326,11 +3326,11 @@ export declare const ScheduledMessagesCancel200: Schema.Struct<{
3326
3326
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3327
3327
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
3328
3328
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3329
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3329
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3330
3330
  }>;
3331
3331
  }>, Schema.Struct<{
3332
3332
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
3333
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3333
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3334
3334
  readonly channel: Schema.Literal<"whatsapp">;
3335
3335
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
3336
3336
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -3343,11 +3343,11 @@ export declare const ScheduledMessagesCancel200: Schema.Struct<{
3343
3343
  readonly text: Schema.String;
3344
3344
  }>, Schema.Struct<{
3345
3345
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
3346
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
3346
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
3347
3347
  readonly flowToken: Schema.optionalKey<Schema.String>;
3348
3348
  }>, Schema.Struct<{
3349
3349
  readonly templateSlug: Schema.String;
3350
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
3350
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
3351
3351
  readonly flowToken: Schema.optionalKey<Schema.String>;
3352
3352
  }>, Schema.Struct<{
3353
3353
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -3482,7 +3482,7 @@ export declare const ScheduledMessagesCancel200: Schema.Struct<{
3482
3482
  readonly token: Schema.optionalKey<Schema.String>;
3483
3483
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
3484
3484
  readonly screen: Schema.optionalKey<Schema.String>;
3485
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
3485
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
3486
3486
  }>]>;
3487
3487
  }>, Schema.Struct<{
3488
3488
  readonly reaction: Schema.Struct<{
@@ -3592,7 +3592,7 @@ export declare const ScheduledMessagesResume200: Schema.Struct<{
3592
3592
  readonly timezone: Schema.String;
3593
3593
  readonly send: Schema.Union<readonly [Schema.Struct<{
3594
3594
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
3595
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3595
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3596
3596
  readonly channel: Schema.Literal<"email">;
3597
3597
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
3598
3598
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -3634,7 +3634,7 @@ export declare const ScheduledMessagesResume200: Schema.Struct<{
3634
3634
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
3635
3635
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
3636
3636
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3637
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3637
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3638
3638
  readonly locale: Schema.optionalKey<Schema.String>;
3639
3639
  readonly timeZone: Schema.optionalKey<Schema.String>;
3640
3640
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -3651,7 +3651,7 @@ export declare const ScheduledMessagesResume200: Schema.Struct<{
3651
3651
  }>;
3652
3652
  }>, Schema.Struct<{
3653
3653
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
3654
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3654
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3655
3655
  readonly channel: Schema.Literal<"sms">;
3656
3656
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
3657
3657
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -3664,11 +3664,11 @@ export declare const ScheduledMessagesResume200: Schema.Struct<{
3664
3664
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3665
3665
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
3666
3666
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3667
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3667
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3668
3668
  }>;
3669
3669
  }>, Schema.Struct<{
3670
3670
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
3671
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3671
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3672
3672
  readonly channel: Schema.Literal<"whatsapp">;
3673
3673
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
3674
3674
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -3681,11 +3681,11 @@ export declare const ScheduledMessagesResume200: Schema.Struct<{
3681
3681
  readonly text: Schema.String;
3682
3682
  }>, Schema.Struct<{
3683
3683
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
3684
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
3684
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
3685
3685
  readonly flowToken: Schema.optionalKey<Schema.String>;
3686
3686
  }>, Schema.Struct<{
3687
3687
  readonly templateSlug: Schema.String;
3688
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
3688
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
3689
3689
  readonly flowToken: Schema.optionalKey<Schema.String>;
3690
3690
  }>, Schema.Struct<{
3691
3691
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -3820,7 +3820,7 @@ export declare const ScheduledMessagesResume200: Schema.Struct<{
3820
3820
  readonly token: Schema.optionalKey<Schema.String>;
3821
3821
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
3822
3822
  readonly screen: Schema.optionalKey<Schema.String>;
3823
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
3823
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
3824
3824
  }>]>;
3825
3825
  }>, Schema.Struct<{
3826
3826
  readonly reaction: Schema.Struct<{
@@ -3918,7 +3918,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
3918
3918
  readonly timezone: Schema.String;
3919
3919
  readonly send: Schema.Union<readonly [Schema.Struct<{
3920
3920
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
3921
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3921
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3922
3922
  readonly channel: Schema.Literal<"email">;
3923
3923
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
3924
3924
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -3960,7 +3960,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
3960
3960
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
3961
3961
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
3962
3962
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3963
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3963
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3964
3964
  readonly locale: Schema.optionalKey<Schema.String>;
3965
3965
  readonly timeZone: Schema.optionalKey<Schema.String>;
3966
3966
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -3977,7 +3977,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
3977
3977
  }>;
3978
3978
  }>, Schema.Struct<{
3979
3979
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
3980
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3980
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3981
3981
  readonly channel: Schema.Literal<"sms">;
3982
3982
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
3983
3983
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -3990,11 +3990,11 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
3990
3990
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3991
3991
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
3992
3992
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3993
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3993
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3994
3994
  }>;
3995
3995
  }>, Schema.Struct<{
3996
3996
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
3997
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
3997
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
3998
3998
  readonly channel: Schema.Literal<"whatsapp">;
3999
3999
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
4000
4000
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -4007,11 +4007,11 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
4007
4007
  readonly text: Schema.String;
4008
4008
  }>, Schema.Struct<{
4009
4009
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
4010
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
4010
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
4011
4011
  readonly flowToken: Schema.optionalKey<Schema.String>;
4012
4012
  }>, Schema.Struct<{
4013
4013
  readonly templateSlug: Schema.String;
4014
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
4014
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
4015
4015
  readonly flowToken: Schema.optionalKey<Schema.String>;
4016
4016
  }>, Schema.Struct<{
4017
4017
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -4146,7 +4146,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
4146
4146
  readonly token: Schema.optionalKey<Schema.String>;
4147
4147
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
4148
4148
  readonly screen: Schema.optionalKey<Schema.String>;
4149
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
4149
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
4150
4150
  }>]>;
4151
4151
  }>, Schema.Struct<{
4152
4152
  readonly reaction: Schema.Struct<{
@@ -4336,7 +4336,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
4336
4336
  readonly namespaceId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>>;
4337
4337
  readonly send: Schema.Union<readonly [Schema.Struct<{
4338
4338
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
4339
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
4339
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
4340
4340
  readonly channel: Schema.Literal<"email">;
4341
4341
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
4342
4342
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -4378,7 +4378,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
4378
4378
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
4379
4379
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
4380
4380
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4381
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
4381
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
4382
4382
  readonly locale: Schema.optionalKey<Schema.String>;
4383
4383
  readonly timeZone: Schema.optionalKey<Schema.String>;
4384
4384
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -4395,7 +4395,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
4395
4395
  }>;
4396
4396
  }>, Schema.Struct<{
4397
4397
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
4398
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
4398
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
4399
4399
  readonly channel: Schema.Literal<"sms">;
4400
4400
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
4401
4401
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -4408,11 +4408,11 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
4408
4408
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4409
4409
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
4410
4410
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4411
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
4411
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
4412
4412
  }>;
4413
4413
  }>, Schema.Struct<{
4414
4414
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
4415
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
4415
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
4416
4416
  readonly channel: Schema.Literal<"whatsapp">;
4417
4417
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
4418
4418
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -4425,11 +4425,11 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
4425
4425
  readonly text: Schema.String;
4426
4426
  }>, Schema.Struct<{
4427
4427
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
4428
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
4428
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
4429
4429
  readonly flowToken: Schema.optionalKey<Schema.String>;
4430
4430
  }>, Schema.Struct<{
4431
4431
  readonly templateSlug: Schema.String;
4432
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
4432
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
4433
4433
  readonly flowToken: Schema.optionalKey<Schema.String>;
4434
4434
  }>, Schema.Struct<{
4435
4435
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -4564,7 +4564,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
4564
4564
  readonly token: Schema.optionalKey<Schema.String>;
4565
4565
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
4566
4566
  readonly screen: Schema.optionalKey<Schema.String>;
4567
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
4567
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
4568
4568
  }>]>;
4569
4569
  }>, Schema.Struct<{
4570
4570
  readonly reaction: Schema.Struct<{
@@ -4632,7 +4632,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
4632
4632
  readonly timezone: Schema.String;
4633
4633
  readonly send: Schema.Union<readonly [Schema.Struct<{
4634
4634
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
4635
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
4635
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
4636
4636
  readonly channel: Schema.Literal<"email">;
4637
4637
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
4638
4638
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -4674,7 +4674,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
4674
4674
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
4675
4675
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
4676
4676
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4677
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
4677
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
4678
4678
  readonly locale: Schema.optionalKey<Schema.String>;
4679
4679
  readonly timeZone: Schema.optionalKey<Schema.String>;
4680
4680
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -4691,7 +4691,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
4691
4691
  }>;
4692
4692
  }>, Schema.Struct<{
4693
4693
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
4694
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
4694
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
4695
4695
  readonly channel: Schema.Literal<"sms">;
4696
4696
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
4697
4697
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -4704,11 +4704,11 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
4704
4704
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4705
4705
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
4706
4706
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
4707
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
4707
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
4708
4708
  }>;
4709
4709
  }>, Schema.Struct<{
4710
4710
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
4711
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
4711
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
4712
4712
  readonly channel: Schema.Literal<"whatsapp">;
4713
4713
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
4714
4714
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -4721,11 +4721,11 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
4721
4721
  readonly text: Schema.String;
4722
4722
  }>, Schema.Struct<{
4723
4723
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
4724
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
4724
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
4725
4725
  readonly flowToken: Schema.optionalKey<Schema.String>;
4726
4726
  }>, Schema.Struct<{
4727
4727
  readonly templateSlug: Schema.String;
4728
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
4728
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
4729
4729
  readonly flowToken: Schema.optionalKey<Schema.String>;
4730
4730
  }>, Schema.Struct<{
4731
4731
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -4860,7 +4860,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
4860
4860
  readonly token: Schema.optionalKey<Schema.String>;
4861
4861
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
4862
4862
  readonly screen: Schema.optionalKey<Schema.String>;
4863
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
4863
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
4864
4864
  }>]>;
4865
4865
  }>, Schema.Struct<{
4866
4866
  readonly reaction: Schema.Struct<{
@@ -5055,7 +5055,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5055
5055
  readonly timezone: Schema.String;
5056
5056
  readonly send: Schema.Union<readonly [Schema.Struct<{
5057
5057
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
5058
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
5058
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
5059
5059
  readonly channel: Schema.Literal<"email">;
5060
5060
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
5061
5061
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -5097,7 +5097,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5097
5097
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
5098
5098
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
5099
5099
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5100
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
5100
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
5101
5101
  readonly locale: Schema.optionalKey<Schema.String>;
5102
5102
  readonly timeZone: Schema.optionalKey<Schema.String>;
5103
5103
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -5114,7 +5114,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5114
5114
  }>;
5115
5115
  }>, Schema.Struct<{
5116
5116
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
5117
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
5117
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
5118
5118
  readonly channel: Schema.Literal<"sms">;
5119
5119
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
5120
5120
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -5127,11 +5127,11 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5127
5127
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5128
5128
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
5129
5129
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5130
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
5130
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
5131
5131
  }>;
5132
5132
  }>, Schema.Struct<{
5133
5133
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
5134
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
5134
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
5135
5135
  readonly channel: Schema.Literal<"whatsapp">;
5136
5136
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
5137
5137
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -5144,11 +5144,11 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5144
5144
  readonly text: Schema.String;
5145
5145
  }>, Schema.Struct<{
5146
5146
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
5147
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
5147
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
5148
5148
  readonly flowToken: Schema.optionalKey<Schema.String>;
5149
5149
  }>, Schema.Struct<{
5150
5150
  readonly templateSlug: Schema.String;
5151
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
5151
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
5152
5152
  readonly flowToken: Schema.optionalKey<Schema.String>;
5153
5153
  }>, Schema.Struct<{
5154
5154
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -5283,7 +5283,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5283
5283
  readonly token: Schema.optionalKey<Schema.String>;
5284
5284
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
5285
5285
  readonly screen: Schema.optionalKey<Schema.String>;
5286
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
5286
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
5287
5287
  }>]>;
5288
5288
  }>, Schema.Struct<{
5289
5289
  readonly reaction: Schema.Struct<{
@@ -5462,7 +5462,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5462
5462
  readonly timezone: Schema.String;
5463
5463
  readonly send: Schema.Union<readonly [Schema.Struct<{
5464
5464
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
5465
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
5465
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
5466
5466
  readonly channel: Schema.Literal<"email">;
5467
5467
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
5468
5468
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -5504,7 +5504,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5504
5504
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
5505
5505
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
5506
5506
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5507
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
5507
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
5508
5508
  readonly locale: Schema.optionalKey<Schema.String>;
5509
5509
  readonly timeZone: Schema.optionalKey<Schema.String>;
5510
5510
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -5521,7 +5521,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5521
5521
  }>;
5522
5522
  }>, Schema.Struct<{
5523
5523
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
5524
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
5524
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
5525
5525
  readonly channel: Schema.Literal<"sms">;
5526
5526
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
5527
5527
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -5534,11 +5534,11 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5534
5534
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5535
5535
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
5536
5536
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5537
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
5537
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
5538
5538
  }>;
5539
5539
  }>, Schema.Struct<{
5540
5540
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
5541
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
5541
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
5542
5542
  readonly channel: Schema.Literal<"whatsapp">;
5543
5543
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
5544
5544
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -5551,11 +5551,11 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5551
5551
  readonly text: Schema.String;
5552
5552
  }>, Schema.Struct<{
5553
5553
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
5554
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
5554
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
5555
5555
  readonly flowToken: Schema.optionalKey<Schema.String>;
5556
5556
  }>, Schema.Struct<{
5557
5557
  readonly templateSlug: Schema.String;
5558
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
5558
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
5559
5559
  readonly flowToken: Schema.optionalKey<Schema.String>;
5560
5560
  }>, Schema.Struct<{
5561
5561
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -5690,7 +5690,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5690
5690
  readonly token: Schema.optionalKey<Schema.String>;
5691
5691
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
5692
5692
  readonly screen: Schema.optionalKey<Schema.String>;
5693
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
5693
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
5694
5694
  }>]>;
5695
5695
  }>, Schema.Struct<{
5696
5696
  readonly reaction: Schema.Struct<{
@@ -5852,7 +5852,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5852
5852
  readonly timezone: Schema.String;
5853
5853
  readonly send: Schema.Union<readonly [Schema.Struct<{
5854
5854
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
5855
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
5855
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
5856
5856
  readonly channel: Schema.Literal<"email">;
5857
5857
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
5858
5858
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -5894,7 +5894,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5894
5894
  readonly inputContractId: Schema.optionalKey<Schema.brand<Schema.String, "TemplateInputContractId">>;
5895
5895
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
5896
5896
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5897
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
5897
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
5898
5898
  readonly locale: Schema.optionalKey<Schema.String>;
5899
5899
  readonly timeZone: Schema.optionalKey<Schema.String>;
5900
5900
  readonly inReplyToMessageId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "MessageId">, Schema.Null]>>;
@@ -5911,7 +5911,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5911
5911
  }>;
5912
5912
  }>, Schema.Struct<{
5913
5913
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
5914
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
5914
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
5915
5915
  readonly channel: Schema.Literal<"sms">;
5916
5916
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
5917
5917
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -5924,11 +5924,11 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5924
5924
  readonly text: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5925
5925
  readonly templateId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "TemplateId">, Schema.Null]>>;
5926
5926
  readonly templateSlug: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
5927
- readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
5927
+ readonly templateData: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
5928
5928
  }>;
5929
5929
  }>, Schema.Struct<{
5930
5930
  readonly conversationId: Schema.optionalKey<Schema.Union<readonly [Schema.brand<Schema.String, "ConversationId">, Schema.Null]>>;
5931
- readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
5931
+ readonly metadata: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>>;
5932
5932
  readonly channel: Schema.Literal<"whatsapp">;
5933
5933
  readonly to: Schema.$Array<Schema.Union<readonly [Schema.Struct<{
5934
5934
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
@@ -5941,11 +5941,11 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
5941
5941
  readonly text: Schema.String;
5942
5942
  }>, Schema.Struct<{
5943
5943
  readonly templateId: Schema.brand<Schema.String, "TemplateId">;
5944
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
5944
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
5945
5945
  readonly flowToken: Schema.optionalKey<Schema.String>;
5946
5946
  }>, Schema.Struct<{
5947
5947
  readonly templateSlug: Schema.String;
5948
- readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
5948
+ readonly templateData: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
5949
5949
  readonly flowToken: Schema.optionalKey<Schema.String>;
5950
5950
  }>, Schema.Struct<{
5951
5951
  readonly media: Schema.Union<readonly [Schema.Union<readonly [Schema.Struct<{
@@ -6080,7 +6080,7 @@ declare const ScheduledMessagesGroup_base: HttpApiGroup.HttpApiGroup<"Scheduled
6080
6080
  readonly token: Schema.optionalKey<Schema.String>;
6081
6081
  readonly action: Schema.optionalKey<Schema.Union<readonly [Schema.Literal<"navigate">, Schema.Literal<"data_exchange">]>>;
6082
6082
  readonly screen: Schema.optionalKey<Schema.String>;
6083
- readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>>;
6083
+ readonly data: Schema.optionalKey<Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>>;
6084
6084
  }>]>;
6085
6085
  }>, Schema.Struct<{
6086
6086
  readonly reaction: Schema.Struct<{