samva 0.46.0 → 0.46.1

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 (251) hide show
  1. package/README.md +1 -1
  2. package/dist/client/client/client.gen.d.ts +1 -1
  3. package/dist/client/client/index.d.ts +10 -10
  4. package/dist/client/client/types.gen.d.ts +4 -4
  5. package/dist/client/client/utils.gen.d.ts +2 -2
  6. package/dist/client/client.gen.d.ts +2 -2
  7. package/dist/client/core/bodySerializer.gen.d.ts +1 -1
  8. package/dist/client/core/serverSentEvents.gen.d.ts +1 -1
  9. package/dist/client/core/types.gen.d.ts +2 -2
  10. package/dist/client/core/utils.gen.d.ts +1 -1
  11. package/dist/client/sdk.gen.d.ts +2 -2
  12. package/dist/effect/accounts.d.ts +6 -6
  13. package/dist/effect/accounts.js +2 -1
  14. package/dist/effect/agents.d.ts +16 -16
  15. package/dist/effect/agents.js +2 -1
  16. package/dist/effect/analytics.d.ts +6 -6
  17. package/dist/effect/analytics.js +2 -1
  18. package/dist/effect/api-keys.d.ts +13 -13
  19. package/dist/effect/api-keys.js +2 -1
  20. package/dist/effect/approval-requests.d.ts +4 -4
  21. package/dist/effect/approval-requests.js +2 -1
  22. package/dist/effect/attachments.d.ts +4 -4
  23. package/dist/effect/attachments.js +2 -1
  24. package/dist/effect/brands.d.ts +7 -7
  25. package/dist/effect/brands.js +2 -1
  26. package/dist/effect/campaigns.d.ts +45 -45
  27. package/dist/effect/campaigns.js +2 -1
  28. package/dist/effect/categories.d.ts +3 -3
  29. package/dist/effect/client.d.ts +1 -1
  30. package/dist/effect/contact-groups.d.ts +18 -18
  31. package/dist/effect/contact-groups.js +2 -1
  32. package/dist/effect/contacts.d.ts +33 -33
  33. package/dist/effect/contacts.js +3 -2
  34. package/dist/effect/conversations.d.ts +17 -17
  35. package/dist/effect/conversations.js +2 -1
  36. package/dist/effect/custom-fields.d.ts +4 -4
  37. package/dist/effect/custom-fields.js +2 -1
  38. package/dist/effect/descriptors/accounts.d.ts +59 -0
  39. package/dist/effect/descriptors/accounts.js +57 -0
  40. package/dist/effect/descriptors/agents.d.ts +119 -0
  41. package/dist/effect/descriptors/agents.js +117 -0
  42. package/dist/effect/descriptors/analytics.d.ts +56 -0
  43. package/dist/effect/descriptors/analytics.js +48 -0
  44. package/dist/effect/descriptors/api-keys.d.ts +80 -0
  45. package/dist/effect/descriptors/api-keys.js +80 -0
  46. package/dist/effect/descriptors/approval-requests.d.ts +41 -0
  47. package/dist/effect/descriptors/approval-requests.js +43 -0
  48. package/dist/effect/descriptors/attachments.d.ts +41 -0
  49. package/dist/effect/descriptors/attachments.js +43 -0
  50. package/dist/effect/descriptors/brands.d.ts +60 -0
  51. package/dist/effect/descriptors/brands.js +60 -0
  52. package/dist/effect/descriptors/campaigns.d.ts +148 -0
  53. package/dist/effect/descriptors/campaigns.js +144 -0
  54. package/dist/effect/descriptors/contact-groups.d.ts +99 -0
  55. package/dist/effect/descriptors/contact-groups.js +97 -0
  56. package/dist/effect/descriptors/contacts.d.ts +226 -0
  57. package/dist/effect/descriptors/contacts.js +214 -0
  58. package/dist/effect/descriptors/conversations.d.ts +130 -0
  59. package/dist/effect/descriptors/conversations.js +130 -0
  60. package/dist/effect/descriptors/custom-fields.d.ts +40 -0
  61. package/dist/effect/descriptors/custom-fields.js +40 -0
  62. package/dist/effect/descriptors/email.d.ts +607 -0
  63. package/dist/effect/descriptors/email.js +561 -0
  64. package/dist/effect/descriptors/events.d.ts +20 -0
  65. package/dist/effect/descriptors/events.js +20 -0
  66. package/dist/effect/descriptors/extension-installations.d.ts +90 -0
  67. package/dist/effect/descriptors/extension-installations.js +90 -0
  68. package/dist/effect/descriptors/extensions.d.ts +50 -0
  69. package/dist/effect/descriptors/extensions.js +50 -0
  70. package/dist/effect/descriptors/feedback.d.ts +11 -0
  71. package/dist/effect/descriptors/feedback.js +11 -0
  72. package/dist/effect/descriptors/integrations-catalog.d.ts +29 -0
  73. package/dist/effect/descriptors/integrations-catalog.js +27 -0
  74. package/dist/effect/descriptors/integrations.d.ts +70 -0
  75. package/dist/effect/descriptors/integrations.js +70 -0
  76. package/dist/effect/descriptors/journeys.d.ts +140 -0
  77. package/dist/effect/descriptors/journeys.js +140 -0
  78. package/dist/effect/descriptors/mailboxes.d.ts +724 -0
  79. package/dist/effect/descriptors/mailboxes.js +728 -0
  80. package/dist/effect/descriptors/media.d.ts +51 -0
  81. package/dist/effect/descriptors/media.js +53 -0
  82. package/dist/effect/descriptors/messages.d.ts +99 -0
  83. package/dist/effect/descriptors/messages.js +97 -0
  84. package/dist/effect/descriptors/namespaces.d.ts +110 -0
  85. package/dist/effect/descriptors/namespaces.js +114 -0
  86. package/dist/effect/descriptors/newsletter-domains.d.ts +42 -0
  87. package/dist/effect/descriptors/newsletter-domains.js +46 -0
  88. package/dist/effect/descriptors/newsletter-issues.d.ts +112 -0
  89. package/dist/effect/descriptors/newsletter-issues.js +116 -0
  90. package/dist/effect/descriptors/newsletters.d.ts +51 -0
  91. package/dist/effect/descriptors/newsletters.js +53 -0
  92. package/dist/effect/descriptors/operations.d.ts +31 -0
  93. package/dist/effect/descriptors/operations.js +33 -0
  94. package/dist/effect/descriptors/organizations.d.ts +111 -0
  95. package/dist/effect/descriptors/organizations.js +93 -0
  96. package/dist/effect/descriptors/policies.d.ts +32 -0
  97. package/dist/effect/descriptors/policies.js +36 -0
  98. package/dist/effect/descriptors/scheduled-messages.d.ts +50 -0
  99. package/dist/effect/descriptors/scheduled-messages.js +50 -0
  100. package/dist/effect/descriptors/subscriptions.d.ts +11 -0
  101. package/dist/effect/descriptors/subscriptions.js +11 -0
  102. package/dist/effect/descriptors/template-registrations.d.ts +32 -0
  103. package/dist/effect/descriptors/template-registrations.js +36 -0
  104. package/dist/effect/descriptors/template-share-links.d.ts +52 -0
  105. package/dist/effect/descriptors/template-share-links.js +56 -0
  106. package/dist/effect/descriptors/templates.d.ts +365 -0
  107. package/dist/effect/descriptors/templates.js +355 -0
  108. package/dist/effect/descriptors/topic-forms.d.ts +52 -0
  109. package/dist/effect/descriptors/topic-forms.js +56 -0
  110. package/dist/effect/descriptors/topics.d.ts +89 -0
  111. package/dist/effect/descriptors/topics.js +87 -0
  112. package/dist/effect/descriptors/webhooks.d.ts +110 -0
  113. package/dist/effect/descriptors/webhooks.js +110 -0
  114. package/dist/effect/descriptors/whats-app-flows.d.ts +99 -0
  115. package/dist/effect/descriptors/whats-app-flows.js +97 -0
  116. package/dist/effect/descriptors/whats-app-setup-links.d.ts +40 -0
  117. package/dist/effect/descriptors/whats-app-setup-links.js +40 -0
  118. package/dist/effect/descriptors/whats-app.d.ts +116 -0
  119. package/dist/effect/descriptors/whats-app.js +108 -0
  120. package/dist/effect/descriptors/whoami.d.ts +11 -0
  121. package/dist/effect/descriptors/whoami.js +11 -0
  122. package/dist/effect/email.d.ts +78 -78
  123. package/dist/effect/email.js +2 -1
  124. package/dist/effect/errors.d.ts +2 -2
  125. package/dist/effect/events.d.ts +3 -3
  126. package/dist/effect/events.js +2 -1
  127. package/dist/effect/extension-installations.d.ts +11 -11
  128. package/dist/effect/extension-installations.js +2 -1
  129. package/dist/effect/extensions.d.ts +9 -9
  130. package/dist/effect/extensions.js +2 -1
  131. package/dist/effect/feedback.d.ts +2 -2
  132. package/dist/effect/feedback.js +2 -1
  133. package/dist/effect/generated/accounts.d.ts +9 -9
  134. package/dist/effect/generated/agents.d.ts +1 -1
  135. package/dist/effect/generated/analytics.d.ts +1 -1
  136. package/dist/effect/generated/api-keys.d.ts +1 -1
  137. package/dist/effect/generated/approval-requests.d.ts +13 -13
  138. package/dist/effect/generated/attachments.d.ts +1 -1
  139. package/dist/effect/generated/brands.d.ts +1 -1
  140. package/dist/effect/generated/campaigns.d.ts +230 -230
  141. package/dist/effect/generated/contact-events.d.ts +4 -4
  142. package/dist/effect/generated/contact-groups.d.ts +1 -1
  143. package/dist/effect/generated/contacts.d.ts +49 -49
  144. package/dist/effect/generated/conversations.d.ts +1 -1
  145. package/dist/effect/generated/custom-fields.d.ts +1 -1
  146. package/dist/effect/generated/email.d.ts +1 -1
  147. package/dist/effect/generated/events.d.ts +12 -12
  148. package/dist/effect/generated/extension-installations.d.ts +1 -1
  149. package/dist/effect/generated/extensions.d.ts +1 -1
  150. package/dist/effect/generated/feedback.d.ts +1 -1
  151. package/dist/effect/generated/index.d.ts +87 -87
  152. package/dist/effect/generated/integrations-catalog.d.ts +3 -3
  153. package/dist/effect/generated/integrations.d.ts +15 -15
  154. package/dist/effect/generated/journeys.d.ts +81 -81
  155. package/dist/effect/generated/mailboxes.d.ts +1 -1
  156. package/dist/effect/generated/media.d.ts +1 -1
  157. package/dist/effect/generated/messages.d.ts +1 -1
  158. package/dist/effect/generated/namespaces.d.ts +1 -1
  159. package/dist/effect/generated/newsletter-domains.d.ts +1 -1
  160. package/dist/effect/generated/newsletter-issues.d.ts +1 -1
  161. package/dist/effect/generated/newsletters.d.ts +1 -1
  162. package/dist/effect/generated/operations.d.ts +1 -1
  163. package/dist/effect/generated/organizations.d.ts +1 -1
  164. package/dist/effect/generated/policies.d.ts +1 -1
  165. package/dist/effect/generated/scheduled-messages.d.ts +147 -147
  166. package/dist/effect/generated/shared.d.ts +1 -1
  167. package/dist/effect/generated/subscriptions.d.ts +1 -1
  168. package/dist/effect/generated/template-registrations.d.ts +1 -1
  169. package/dist/effect/generated/template-share-links.d.ts +1 -1
  170. package/dist/effect/generated/templates.d.ts +1 -1
  171. package/dist/effect/generated/topic-forms.d.ts +1 -1
  172. package/dist/effect/generated/topics.d.ts +1 -1
  173. package/dist/effect/generated/webhooks.d.ts +1 -1
  174. package/dist/effect/generated/whats-app-flows.d.ts +1 -1
  175. package/dist/effect/generated/whats-app-setup-links.d.ts +1 -1
  176. package/dist/effect/generated/whats-app.d.ts +1 -1
  177. package/dist/effect/generated/whoami.d.ts +1 -1
  178. package/dist/effect/index.d.ts +47 -47
  179. package/dist/effect/integrations-catalog.d.ts +3 -3
  180. package/dist/effect/integrations-catalog.js +2 -1
  181. package/dist/effect/integrations.d.ts +11 -11
  182. package/dist/effect/integrations.js +2 -1
  183. package/dist/effect/internal/client.d.ts +3 -3
  184. package/dist/effect/internal/email-sender.d.ts +4 -4
  185. package/dist/effect/internal/mailbox-events.d.ts +2 -2
  186. package/dist/effect/internal/operation.d.ts +24 -5
  187. package/dist/effect/internal/operation.js +21 -21
  188. package/dist/effect/internal/send.d.ts +4 -4
  189. package/dist/effect/journeys.d.ts +20 -20
  190. package/dist/effect/journeys.js +2 -1
  191. package/dist/effect/mailboxes.d.ts +123 -123
  192. package/dist/effect/mailboxes.js +2 -1
  193. package/dist/effect/media.d.ts +5 -5
  194. package/dist/effect/media.js +2 -1
  195. package/dist/effect/messages.d.ts +17 -17
  196. package/dist/effect/messages.js +2 -1
  197. package/dist/effect/namespaces.d.ts +15 -15
  198. package/dist/effect/namespaces.js +2 -1
  199. package/dist/effect/newsletter-domains.d.ts +6 -6
  200. package/dist/effect/newsletter-domains.js +2 -1
  201. package/dist/effect/newsletter-issues.d.ts +11 -11
  202. package/dist/effect/newsletter-issues.js +2 -1
  203. package/dist/effect/newsletters.d.ts +5 -5
  204. package/dist/effect/newsletters.js +2 -1
  205. package/dist/effect/operations.d.ts +5 -5
  206. package/dist/effect/operations.js +2 -1
  207. package/dist/effect/organizations.d.ts +12 -12
  208. package/dist/effect/organizations.js +2 -1
  209. package/dist/effect/policies.d.ts +3 -3
  210. package/dist/effect/policies.js +2 -1
  211. package/dist/effect/scheduled-messages.d.ts +23 -23
  212. package/dist/effect/scheduled-messages.js +2 -1
  213. package/dist/effect/subscriptions.d.ts +1 -1
  214. package/dist/effect/subscriptions.js +2 -1
  215. package/dist/effect/template-registrations.d.ts +3 -3
  216. package/dist/effect/template-registrations.js +2 -1
  217. package/dist/effect/template-share-links.d.ts +5 -5
  218. package/dist/effect/template-share-links.js +2 -1
  219. package/dist/effect/templates.d.ts +46 -46
  220. package/dist/effect/templates.js +2 -1
  221. package/dist/effect/topic-forms.d.ts +5 -5
  222. package/dist/effect/topic-forms.js +2 -1
  223. package/dist/effect/topics.d.ts +11 -11
  224. package/dist/effect/topics.js +2 -1
  225. package/dist/effect/webhooks.d.ts +16 -16
  226. package/dist/effect/webhooks.js +2 -1
  227. package/dist/effect/whatsapp-flows.d.ts +10 -10
  228. package/dist/effect/whatsapp-flows.js +2 -1
  229. package/dist/effect/whatsapp-setup-links.d.ts +6 -6
  230. package/dist/effect/whatsapp-setup-links.js +2 -1
  231. package/dist/effect/whatsapp.d.ts +12 -12
  232. package/dist/effect/whatsapp.js +2 -1
  233. package/dist/effect/whoami.d.ts +1 -1
  234. package/dist/effect/whoami.js +2 -1
  235. package/dist/index.d.ts +1 -1
  236. package/dist/mailbox/dispatch.d.ts +2 -2
  237. package/dist/mailbox/index.d.ts +4 -4
  238. package/dist/mailbox/test.d.ts +2 -2
  239. package/dist/mailbox/types.d.ts +2 -2
  240. package/dist/mailbox/webhook.d.ts +2 -2
  241. package/dist/package.js +1 -1
  242. package/dist/promises/client.d.ts +10 -10
  243. package/dist/promises/errors.gen.d.ts +1 -1
  244. package/dist/promises/index.d.ts +5 -5
  245. package/dist/promises/request.d.ts +2 -2
  246. package/dist/promises/request.js +1 -1
  247. package/dist/promises/types.gen.d.ts +1 -1
  248. package/dist/request-policy.d.ts +10 -2
  249. package/dist/request-policy.js +3 -5
  250. package/package.json +9 -9
  251. package/dist/service-map.js +0 -830
@@ -1,6 +1,6 @@
1
1
  import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
2
2
  import * as Schema from "effect/Schema";
3
- import { ApiKeySecurityMiddleware, ContactEvent, ContactId, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared";
3
+ import { ApiKeySecurityMiddleware, ContactEvent, ContactId, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
4
4
  export type ContactEventPage = {
5
5
  readonly items: ReadonlyArray<ContactEvent>;
6
6
  readonly nextCursor: string | null;
@@ -11,7 +11,7 @@ export declare const ContactEventPage: Schema.Struct<{
11
11
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
12
12
  readonly name: Schema.String;
13
13
  readonly source: Schema.Union<readonly [Schema.Literal<"api">, Schema.Literal<"samva">]>;
14
- readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
14
+ readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
15
15
  readonly occurredAt: Schema.String;
16
16
  readonly recordedAt: Schema.String;
17
17
  }>>;
@@ -38,7 +38,7 @@ export declare const ContactEventsListEvents200: Schema.Struct<{
38
38
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
39
39
  readonly name: Schema.String;
40
40
  readonly source: Schema.Union<readonly [Schema.Literal<"api">, Schema.Literal<"samva">]>;
41
- readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
41
+ readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
42
42
  readonly occurredAt: Schema.String;
43
43
  readonly recordedAt: Schema.String;
44
44
  }>>;
@@ -69,7 +69,7 @@ declare const ContactEventsGroup_base: HttpApiGroup.HttpApiGroup<"Contact events
69
69
  readonly contactId: Schema.brand<Schema.String, "ContactId">;
70
70
  readonly name: Schema.String;
71
71
  readonly source: Schema.Union<readonly [Schema.Literal<"api">, Schema.Literal<"samva">]>;
72
- readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>;
72
+ readonly properties: Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>;
73
73
  readonly occurredAt: Schema.String;
74
74
  readonly recordedAt: Schema.String;
75
75
  }>>;
@@ -1,6 +1,6 @@
1
1
  import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
2
2
  import * as Schema from "effect/Schema";
3
- import { ApiKeySecurityMiddleware, ContactGroupId, ContactId, ContactIdentity, ForbiddenError, GatewayTimeoutError, InternalError, JsonValue, MalformedRequestError, OrganizationId, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared";
3
+ import { ApiKeySecurityMiddleware, ContactGroupId, ContactId, ContactIdentity, ForbiddenError, GatewayTimeoutError, InternalError, JsonValue, MalformedRequestError, OrganizationId, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
4
4
  export type ContactGroupPage = {
5
5
  readonly items: ReadonlyArray<{
6
6
  readonly id: ContactGroupId;
@@ -1,7 +1,7 @@
1
1
  import type * as EffectBrand from "effect/Brand";
2
2
  import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
3
3
  import * as Schema from "effect/Schema";
4
- import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactGroupId, ContactId, ContactIdentity, ContactIdentityId, ConversationId, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, MalformedRequestError, MessageId, NamespaceId, PaymentRequiredError, ResourceNotFoundError, TopicId, UnauthorizedError, ValidationError } from "./shared";
4
+ import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, ContactGroupId, ContactId, ContactIdentity, ContactIdentityId, ConversationId, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, MalformedRequestError, MessageId, NamespaceId, PaymentRequiredError, ResourceNotFoundError, TopicId, UnauthorizedError, ValidationError } from "./shared.js";
5
5
  export type ContactCustomFields = {
6
6
  readonly [x: string]: string | number | boolean | null;
7
7
  };
@@ -346,7 +346,7 @@ export declare const Contact: Schema.Struct<{
346
346
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
347
347
  readonly source: Schema.String;
348
348
  readonly capturedAt: Schema.String;
349
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
349
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
350
350
  }>, Schema.Null]>;
351
351
  }>>;
352
352
  }>>;
@@ -379,7 +379,7 @@ export declare const Contact: Schema.Struct<{
379
379
  }>, Schema.Null]>>;
380
380
  }>, Schema.Null]>;
381
381
  readonly tags: Schema.$Array<Schema.String>;
382
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
382
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
383
383
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
384
384
  readonly first: Schema.Struct<{
385
385
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -560,7 +560,7 @@ export declare const ContactsCreateRequestJson: Schema.Struct<{
560
560
  readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"blocked">, Schema.Literal<"archived">]>, Schema.Null]>>;
561
561
  readonly statusReason: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
562
562
  readonly externalId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
563
- 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]>>;
563
+ 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]>>;
564
564
  }>;
565
565
  export type ContactsCreate201 = Contact;
566
566
  export declare const ContactsCreate201: Schema.Struct<{
@@ -584,7 +584,7 @@ export declare const ContactsCreate201: Schema.Struct<{
584
584
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
585
585
  readonly source: Schema.String;
586
586
  readonly capturedAt: Schema.String;
587
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
587
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
588
588
  }>, Schema.Null]>;
589
589
  }>>;
590
590
  }>>;
@@ -617,7 +617,7 @@ export declare const ContactsCreate201: Schema.Struct<{
617
617
  }>, Schema.Null]>>;
618
618
  }>, Schema.Null]>;
619
619
  readonly tags: Schema.$Array<Schema.String>;
620
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
620
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
621
621
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
622
622
  readonly first: Schema.Struct<{
623
623
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -732,7 +732,7 @@ export declare const ContactsGet200: Schema.Struct<{
732
732
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
733
733
  readonly source: Schema.String;
734
734
  readonly capturedAt: Schema.String;
735
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
735
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
736
736
  }>, Schema.Null]>;
737
737
  }>>;
738
738
  }>>;
@@ -765,7 +765,7 @@ export declare const ContactsGet200: Schema.Struct<{
765
765
  }>, Schema.Null]>>;
766
766
  }>, Schema.Null]>;
767
767
  readonly tags: Schema.$Array<Schema.String>;
768
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
768
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
769
769
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
770
770
  readonly first: Schema.Struct<{
771
771
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -925,7 +925,7 @@ export declare const ContactsUpdateRequestJson: Schema.Struct<{
925
925
  readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"blocked">, Schema.Literal<"archived">]>, Schema.Null]>>;
926
926
  readonly statusReason: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
927
927
  readonly externalId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
928
- 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]>>;
928
+ 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]>>;
929
929
  }>;
930
930
  export type ContactsUpdate200 = Contact;
931
931
  export declare const ContactsUpdate200: Schema.Struct<{
@@ -949,7 +949,7 @@ export declare const ContactsUpdate200: Schema.Struct<{
949
949
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
950
950
  readonly source: Schema.String;
951
951
  readonly capturedAt: Schema.String;
952
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
952
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
953
953
  }>, Schema.Null]>;
954
954
  }>>;
955
955
  }>>;
@@ -982,7 +982,7 @@ export declare const ContactsUpdate200: Schema.Struct<{
982
982
  }>, Schema.Null]>>;
983
983
  }>, Schema.Null]>;
984
984
  readonly tags: Schema.$Array<Schema.String>;
985
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
985
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
986
986
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
987
987
  readonly first: Schema.Struct<{
988
988
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -1227,7 +1227,7 @@ export declare const ContactsAddIdentity200: Schema.Struct<{
1227
1227
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
1228
1228
  readonly source: Schema.String;
1229
1229
  readonly capturedAt: Schema.String;
1230
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
1230
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
1231
1231
  }>, Schema.Null]>;
1232
1232
  }>>;
1233
1233
  }>>;
@@ -1260,7 +1260,7 @@ export declare const ContactsAddIdentity200: Schema.Struct<{
1260
1260
  }>, Schema.Null]>>;
1261
1261
  }>, Schema.Null]>;
1262
1262
  readonly tags: Schema.$Array<Schema.String>;
1263
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
1263
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
1264
1264
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
1265
1265
  readonly first: Schema.Struct<{
1266
1266
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -1373,7 +1373,7 @@ export declare const ContactsRemoveIdentity200: Schema.Struct<{
1373
1373
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
1374
1374
  readonly source: Schema.String;
1375
1375
  readonly capturedAt: Schema.String;
1376
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
1376
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
1377
1377
  }>, Schema.Null]>;
1378
1378
  }>>;
1379
1379
  }>>;
@@ -1406,7 +1406,7 @@ export declare const ContactsRemoveIdentity200: Schema.Struct<{
1406
1406
  }>, Schema.Null]>>;
1407
1407
  }>, Schema.Null]>;
1408
1408
  readonly tags: Schema.$Array<Schema.String>;
1409
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
1409
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
1410
1410
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
1411
1411
  readonly first: Schema.Struct<{
1412
1412
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -1507,7 +1507,7 @@ export declare const ContactsSetConsentRequestJson: Schema.Struct<{
1507
1507
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
1508
1508
  readonly source: Schema.String;
1509
1509
  readonly capturedAt: Schema.String;
1510
- readonly proof: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
1510
+ readonly proof: 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]>>;
1511
1511
  }>;
1512
1512
  export type ContactsSetConsent200 = Contact;
1513
1513
  export declare const ContactsSetConsent200: Schema.Struct<{
@@ -1531,7 +1531,7 @@ export declare const ContactsSetConsent200: Schema.Struct<{
1531
1531
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
1532
1532
  readonly source: Schema.String;
1533
1533
  readonly capturedAt: Schema.String;
1534
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
1534
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
1535
1535
  }>, Schema.Null]>;
1536
1536
  }>>;
1537
1537
  }>>;
@@ -1564,7 +1564,7 @@ export declare const ContactsSetConsent200: Schema.Struct<{
1564
1564
  }>, Schema.Null]>>;
1565
1565
  }>, Schema.Null]>;
1566
1566
  readonly tags: Schema.$Array<Schema.String>;
1567
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
1567
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
1568
1568
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
1569
1569
  readonly first: Schema.Struct<{
1570
1570
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -1679,7 +1679,7 @@ export declare const ContactsAddTags200: Schema.Struct<{
1679
1679
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
1680
1680
  readonly source: Schema.String;
1681
1681
  readonly capturedAt: Schema.String;
1682
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
1682
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
1683
1683
  }>, Schema.Null]>;
1684
1684
  }>>;
1685
1685
  }>>;
@@ -1712,7 +1712,7 @@ export declare const ContactsAddTags200: Schema.Struct<{
1712
1712
  }>, Schema.Null]>>;
1713
1713
  }>, Schema.Null]>;
1714
1714
  readonly tags: Schema.$Array<Schema.String>;
1715
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
1715
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
1716
1716
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
1717
1717
  readonly first: Schema.Struct<{
1718
1718
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -1827,7 +1827,7 @@ export declare const ContactsRemoveTags200: Schema.Struct<{
1827
1827
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
1828
1828
  readonly source: Schema.String;
1829
1829
  readonly capturedAt: Schema.String;
1830
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
1830
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
1831
1831
  }>, Schema.Null]>;
1832
1832
  }>>;
1833
1833
  }>>;
@@ -1860,7 +1860,7 @@ export declare const ContactsRemoveTags200: Schema.Struct<{
1860
1860
  }>, Schema.Null]>>;
1861
1861
  }>, Schema.Null]>;
1862
1862
  readonly tags: Schema.$Array<Schema.String>;
1863
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
1863
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
1864
1864
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
1865
1865
  readonly first: Schema.Struct<{
1866
1866
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -2099,7 +2099,7 @@ export declare const ContactsFind200: Schema.Union<readonly [Schema.Struct<{
2099
2099
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
2100
2100
  readonly source: Schema.String;
2101
2101
  readonly capturedAt: Schema.String;
2102
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
2102
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
2103
2103
  }>, Schema.Null]>;
2104
2104
  }>>;
2105
2105
  }>>;
@@ -2132,7 +2132,7 @@ export declare const ContactsFind200: Schema.Union<readonly [Schema.Struct<{
2132
2132
  }>, Schema.Null]>>;
2133
2133
  }>, Schema.Null]>;
2134
2134
  readonly tags: Schema.$Array<Schema.String>;
2135
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
2135
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
2136
2136
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
2137
2137
  readonly first: Schema.Struct<{
2138
2138
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -2291,7 +2291,7 @@ export declare const ContactsFindOrCreate200: Schema.Struct<{
2291
2291
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
2292
2292
  readonly source: Schema.String;
2293
2293
  readonly capturedAt: Schema.String;
2294
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
2294
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
2295
2295
  }>, Schema.Null]>;
2296
2296
  }>>;
2297
2297
  }>>;
@@ -2324,7 +2324,7 @@ export declare const ContactsFindOrCreate200: Schema.Struct<{
2324
2324
  }>, Schema.Null]>>;
2325
2325
  }>, Schema.Null]>;
2326
2326
  readonly tags: Schema.$Array<Schema.String>;
2327
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
2327
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
2328
2328
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
2329
2329
  readonly first: Schema.Struct<{
2330
2330
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -2794,7 +2794,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
2794
2794
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
2795
2795
  readonly source: Schema.String;
2796
2796
  readonly capturedAt: Schema.String;
2797
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
2797
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
2798
2798
  }>, Schema.Null]>;
2799
2799
  }>>;
2800
2800
  }>>;
@@ -2827,7 +2827,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
2827
2827
  }>, Schema.Null]>>;
2828
2828
  }>, Schema.Null]>;
2829
2829
  readonly tags: Schema.$Array<Schema.String>;
2830
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
2830
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
2831
2831
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
2832
2832
  readonly first: Schema.Struct<{
2833
2833
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -3038,7 +3038,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
3038
3038
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
3039
3039
  readonly source: Schema.String;
3040
3040
  readonly capturedAt: Schema.String;
3041
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
3041
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
3042
3042
  }>, Schema.Null]>;
3043
3043
  }>>;
3044
3044
  }>>;
@@ -3071,7 +3071,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
3071
3071
  }>, Schema.Null]>>;
3072
3072
  }>, Schema.Null]>;
3073
3073
  readonly tags: Schema.$Array<Schema.String>;
3074
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
3074
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
3075
3075
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
3076
3076
  readonly first: Schema.Struct<{
3077
3077
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -3585,7 +3585,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
3585
3585
  readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"blocked">, Schema.Literal<"archived">]>, Schema.Null]>>;
3586
3586
  readonly statusReason: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3587
3587
  readonly externalId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
3588
- 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]>>;
3588
+ 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]>>;
3589
3589
  }>>, never, Schema.toCodecJson<Schema.Struct<{
3590
3590
  readonly id: Schema.brand<Schema.String, "ContactId">;
3591
3591
  readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
@@ -3607,7 +3607,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
3607
3607
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
3608
3608
  readonly source: Schema.String;
3609
3609
  readonly capturedAt: Schema.String;
3610
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
3610
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
3611
3611
  }>, Schema.Null]>;
3612
3612
  }>>;
3613
3613
  }>>;
@@ -3640,7 +3640,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
3640
3640
  }>, Schema.Null]>>;
3641
3641
  }>, Schema.Null]>;
3642
3642
  readonly tags: Schema.$Array<Schema.String>;
3643
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
3643
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
3644
3644
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
3645
3645
  readonly first: Schema.Struct<{
3646
3646
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -3980,7 +3980,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
3980
3980
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
3981
3981
  readonly source: Schema.String;
3982
3982
  readonly capturedAt: Schema.String;
3983
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
3983
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
3984
3984
  }>, Schema.Null]>;
3985
3985
  }>>;
3986
3986
  }>>;
@@ -4013,7 +4013,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
4013
4013
  }>, Schema.Null]>>;
4014
4014
  }>, Schema.Null]>;
4015
4015
  readonly tags: Schema.$Array<Schema.String>;
4016
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
4016
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
4017
4017
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
4018
4018
  readonly first: Schema.Struct<{
4019
4019
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -4258,7 +4258,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
4258
4258
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
4259
4259
  readonly source: Schema.String;
4260
4260
  readonly capturedAt: Schema.String;
4261
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
4261
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
4262
4262
  }>, Schema.Null]>;
4263
4263
  }>>;
4264
4264
  }>>;
@@ -4291,7 +4291,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
4291
4291
  }>, Schema.Null]>>;
4292
4292
  }>, Schema.Null]>;
4293
4293
  readonly tags: Schema.$Array<Schema.String>;
4294
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
4294
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
4295
4295
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
4296
4296
  readonly first: Schema.Struct<{
4297
4297
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -4538,7 +4538,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
4538
4538
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
4539
4539
  readonly source: Schema.String;
4540
4540
  readonly capturedAt: Schema.String;
4541
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
4541
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
4542
4542
  }>, Schema.Null]>;
4543
4543
  }>>;
4544
4544
  }>>;
@@ -4571,7 +4571,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
4571
4571
  }>, Schema.Null]>>;
4572
4572
  }>, Schema.Null]>;
4573
4573
  readonly tags: Schema.$Array<Schema.String>;
4574
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
4574
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
4575
4575
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
4576
4576
  readonly first: Schema.Struct<{
4577
4577
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -5610,7 +5610,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
5610
5610
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
5611
5611
  readonly source: Schema.String;
5612
5612
  readonly capturedAt: Schema.String;
5613
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
5613
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
5614
5614
  }>, Schema.Null]>;
5615
5615
  }>>;
5616
5616
  }>>;
@@ -5643,7 +5643,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
5643
5643
  }>, Schema.Null]>>;
5644
5644
  }>, Schema.Null]>;
5645
5645
  readonly tags: Schema.$Array<Schema.String>;
5646
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
5646
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
5647
5647
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
5648
5648
  readonly first: Schema.Struct<{
5649
5649
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -5834,7 +5834,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
5834
5834
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
5835
5835
  readonly source: Schema.String;
5836
5836
  readonly capturedAt: Schema.String;
5837
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
5837
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
5838
5838
  }>, Schema.Null]>;
5839
5839
  }>>;
5840
5840
  }>>;
@@ -5867,7 +5867,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
5867
5867
  }>, Schema.Null]>>;
5868
5868
  }>, Schema.Null]>;
5869
5869
  readonly tags: Schema.$Array<Schema.String>;
5870
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
5870
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
5871
5871
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
5872
5872
  readonly first: Schema.Struct<{
5873
5873
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -6041,7 +6041,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
6041
6041
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
6042
6042
  readonly source: Schema.String;
6043
6043
  readonly capturedAt: Schema.String;
6044
- readonly proof: Schema.optionalKey<Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>>;
6044
+ readonly proof: 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]>>;
6045
6045
  }>>, never, Schema.toCodecJson<Schema.Struct<{
6046
6046
  readonly id: Schema.brand<Schema.String, "ContactId">;
6047
6047
  readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
@@ -6063,7 +6063,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
6063
6063
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
6064
6064
  readonly source: Schema.String;
6065
6065
  readonly capturedAt: Schema.String;
6066
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
6066
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
6067
6067
  }>, Schema.Null]>;
6068
6068
  }>>;
6069
6069
  }>>;
@@ -6096,7 +6096,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
6096
6096
  }>, Schema.Null]>>;
6097
6097
  }>, Schema.Null]>;
6098
6098
  readonly tags: Schema.$Array<Schema.String>;
6099
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
6099
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
6100
6100
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
6101
6101
  readonly first: Schema.Struct<{
6102
6102
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -6517,7 +6517,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
6517
6517
  readonly status: Schema.optionalKey<Schema.Union<readonly [Schema.Union<readonly [Schema.Literal<"active">, Schema.Literal<"paused">, Schema.Literal<"blocked">, Schema.Literal<"archived">]>, Schema.Null]>>;
6518
6518
  readonly statusReason: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
6519
6519
  readonly externalId: Schema.optionalKey<Schema.Union<readonly [Schema.String, Schema.Null]>>;
6520
- 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]>>;
6520
+ 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]>>;
6521
6521
  }>>, never, Schema.toCodecJson<Schema.Struct<{
6522
6522
  readonly id: Schema.brand<Schema.String, "ContactId">;
6523
6523
  readonly namespaceId: Schema.Union<readonly [Schema.brand<Schema.String, "NamespaceId">, Schema.Null]>;
@@ -6539,7 +6539,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
6539
6539
  readonly status: Schema.Union<readonly [Schema.Literal<"opted_in">, Schema.Literal<"opted_out">]>;
6540
6540
  readonly source: Schema.String;
6541
6541
  readonly capturedAt: Schema.String;
6542
- readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
6542
+ readonly proof: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
6543
6543
  }>, Schema.Null]>;
6544
6544
  }>>;
6545
6545
  }>>;
@@ -6572,7 +6572,7 @@ declare const ContactsGroup_base: HttpApiGroup.HttpApiGroup<"Contacts", HttpApiE
6572
6572
  }>, Schema.Null]>>;
6573
6573
  }>, Schema.Null]>;
6574
6574
  readonly tags: Schema.$Array<Schema.String>;
6575
- readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared").JsonValue, import("./shared").JsonValue, never, never>>>, Schema.Null]>;
6575
+ readonly metadata: Schema.Union<readonly [Schema.$Record<Schema.String, Schema.suspend<Schema.Codec<import("./shared.js").JsonValue, import("./shared.js").JsonValue, never, never>>>, Schema.Null]>;
6576
6576
  readonly importProvenance: Schema.Union<readonly [Schema.Struct<{
6577
6577
  readonly first: Schema.Struct<{
6578
6578
  readonly jobId: Schema.brand<Schema.String, "ContactImportJobId">;
@@ -1,6 +1,6 @@
1
1
  import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
2
2
  import * as Schema from "effect/Schema";
3
- import { ApiKeySecurityMiddleware, ConflictError, ContactId, ConversationId, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, JsonValue, MailboxId, MalformedRequestError, MessagePage, NamespaceId, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared";
3
+ import { ApiKeySecurityMiddleware, ConflictError, ContactId, ConversationId, ForbiddenError, GatewayTimeoutError, InternalError, JsonObject, JsonValue, MailboxId, MalformedRequestError, MessagePage, NamespaceId, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
4
4
  export type UnknownRecord = {
5
5
  readonly [x: string]: JsonValue;
6
6
  };
@@ -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, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, OrganizationId, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared";
4
+ import { ApiKeySecurityMiddleware, ConflictError, ForbiddenError, GatewayTimeoutError, InternalError, MalformedRequestError, OrganizationId, ResourceNotFoundError, UnauthorizedError, ValidationError } from "./shared.js";
5
5
  export type CustomFieldDefinitionId = string & EffectBrand.Brand<"CustomFieldDefinitionId">;
6
6
  export declare const CustomFieldDefinitionId: Schema.brand<Schema.String, "CustomFieldDefinitionId">;
7
7
  export type CustomFieldList = {
@@ -1,7 +1,7 @@
1
1
  import type * as EffectBrand from "effect/Brand";
2
2
  import { HttpApiEndpoint, HttpApiGroup } from "effect/http-api";
3
3
  import * as Schema from "effect/Schema";
4
- import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, EmailChannelError, EmailDomainId, EmailSenderId, ExternalServiceError, ForbiddenError, GatewayTimeoutError, InternalError, JsonValue, MailboxId, MalformedRequestError, MediaId, MessageId, NamespaceId, OperationId, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SendsSeries, TopicId, UnauthorizedError, ValidationError, WebhookEndpointId } from "./shared";
4
+ import { ApiKeySecurityMiddleware, BillingProviderError, ConflictError, EmailChannelError, EmailDomainId, EmailSenderId, ExternalServiceError, ForbiddenError, GatewayTimeoutError, InternalError, JsonValue, MailboxId, MalformedRequestError, MediaId, MessageId, NamespaceId, OperationId, PaymentRequiredError, RateLimitedError, ResourceNotFoundError, SendsSeries, TopicId, UnauthorizedError, ValidationError, WebhookEndpointId } from "./shared.js";
5
5
  export type BlockedEmailId = string & EffectBrand.Brand<"BlockedEmailId">;
6
6
  export declare const BlockedEmailId: Schema.brand<Schema.String, "BlockedEmailId">;
7
7
  export type SuccessResult = {