samva 0.45.1 → 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 (276) hide show
  1. package/AGENTS.md +7 -0
  2. package/README.md +25 -1
  3. package/dist/client/client/client.gen.d.ts +1 -1
  4. package/dist/client/client/index.d.ts +10 -10
  5. package/dist/client/client/types.gen.d.ts +4 -4
  6. package/dist/client/client/utils.gen.d.ts +2 -2
  7. package/dist/client/client.gen.d.ts +2 -2
  8. package/dist/client/core/bodySerializer.gen.d.ts +1 -1
  9. package/dist/client/core/serverSentEvents.gen.d.ts +1 -1
  10. package/dist/client/core/types.gen.d.ts +2 -2
  11. package/dist/client/core/utils.gen.d.ts +1 -1
  12. package/dist/client/sdk.gen.d.ts +439 -6
  13. package/dist/client/sdk.gen.js +1544 -229
  14. package/dist/client/types.gen.d.ts +8120 -5616
  15. package/dist/effect/accounts.d.ts +50 -0
  16. package/dist/effect/accounts.js +23 -0
  17. package/dist/effect/agents.d.ts +25 -16
  18. package/dist/effect/agents.js +3 -2
  19. package/dist/effect/analytics.d.ts +6 -6
  20. package/dist/effect/analytics.js +2 -1
  21. package/dist/effect/api-keys.d.ts +13 -13
  22. package/dist/effect/api-keys.js +2 -1
  23. package/dist/effect/approval-requests.d.ts +42 -0
  24. package/dist/effect/approval-requests.js +19 -0
  25. package/dist/effect/attachments.d.ts +4 -4
  26. package/dist/effect/attachments.js +2 -1
  27. package/dist/effect/brands.d.ts +7 -7
  28. package/dist/effect/brands.js +2 -1
  29. package/dist/effect/campaigns.d.ts +205 -205
  30. package/dist/effect/campaigns.js +2 -1
  31. package/dist/effect/categories.d.ts +3 -3
  32. package/dist/effect/client.d.ts +1 -1
  33. package/dist/effect/contact-groups.d.ts +18 -18
  34. package/dist/effect/contact-groups.js +2 -1
  35. package/dist/effect/contacts.d.ts +33 -33
  36. package/dist/effect/contacts.js +3 -2
  37. package/dist/effect/conversations.d.ts +17 -17
  38. package/dist/effect/conversations.js +2 -1
  39. package/dist/effect/custom-fields.d.ts +4 -4
  40. package/dist/effect/custom-fields.js +2 -1
  41. package/dist/effect/descriptors/accounts.d.ts +59 -0
  42. package/dist/effect/descriptors/accounts.js +57 -0
  43. package/dist/effect/descriptors/agents.d.ts +119 -0
  44. package/dist/effect/descriptors/agents.js +117 -0
  45. package/dist/effect/descriptors/analytics.d.ts +56 -0
  46. package/dist/effect/descriptors/analytics.js +48 -0
  47. package/dist/effect/descriptors/api-keys.d.ts +80 -0
  48. package/dist/effect/descriptors/api-keys.js +80 -0
  49. package/dist/effect/descriptors/approval-requests.d.ts +41 -0
  50. package/dist/effect/descriptors/approval-requests.js +43 -0
  51. package/dist/effect/descriptors/attachments.d.ts +41 -0
  52. package/dist/effect/descriptors/attachments.js +43 -0
  53. package/dist/effect/descriptors/brands.d.ts +60 -0
  54. package/dist/effect/descriptors/brands.js +60 -0
  55. package/dist/effect/descriptors/campaigns.d.ts +148 -0
  56. package/dist/effect/descriptors/campaigns.js +144 -0
  57. package/dist/effect/descriptors/contact-groups.d.ts +99 -0
  58. package/dist/effect/descriptors/contact-groups.js +97 -0
  59. package/dist/effect/descriptors/contacts.d.ts +226 -0
  60. package/dist/effect/descriptors/contacts.js +214 -0
  61. package/dist/effect/descriptors/conversations.d.ts +130 -0
  62. package/dist/effect/descriptors/conversations.js +130 -0
  63. package/dist/effect/descriptors/custom-fields.d.ts +40 -0
  64. package/dist/effect/descriptors/custom-fields.js +40 -0
  65. package/dist/effect/descriptors/email.d.ts +607 -0
  66. package/dist/effect/descriptors/email.js +561 -0
  67. package/dist/effect/descriptors/events.d.ts +20 -0
  68. package/dist/effect/descriptors/events.js +20 -0
  69. package/dist/effect/descriptors/extension-installations.d.ts +90 -0
  70. package/dist/effect/descriptors/extension-installations.js +90 -0
  71. package/dist/effect/descriptors/extensions.d.ts +50 -0
  72. package/dist/effect/descriptors/extensions.js +50 -0
  73. package/dist/effect/descriptors/feedback.d.ts +11 -0
  74. package/dist/effect/descriptors/feedback.js +11 -0
  75. package/dist/effect/descriptors/integrations-catalog.d.ts +29 -0
  76. package/dist/effect/descriptors/integrations-catalog.js +27 -0
  77. package/dist/effect/descriptors/integrations.d.ts +70 -0
  78. package/dist/effect/descriptors/integrations.js +70 -0
  79. package/dist/effect/descriptors/journeys.d.ts +140 -0
  80. package/dist/effect/descriptors/journeys.js +140 -0
  81. package/dist/effect/descriptors/mailboxes.d.ts +724 -0
  82. package/dist/effect/descriptors/mailboxes.js +728 -0
  83. package/dist/effect/descriptors/media.d.ts +51 -0
  84. package/dist/effect/descriptors/media.js +53 -0
  85. package/dist/effect/descriptors/messages.d.ts +99 -0
  86. package/dist/effect/descriptors/messages.js +97 -0
  87. package/dist/effect/descriptors/namespaces.d.ts +110 -0
  88. package/dist/effect/descriptors/namespaces.js +114 -0
  89. package/dist/effect/descriptors/newsletter-domains.d.ts +42 -0
  90. package/dist/effect/descriptors/newsletter-domains.js +46 -0
  91. package/dist/effect/descriptors/newsletter-issues.d.ts +112 -0
  92. package/dist/effect/descriptors/newsletter-issues.js +116 -0
  93. package/dist/effect/descriptors/newsletters.d.ts +51 -0
  94. package/dist/effect/descriptors/newsletters.js +53 -0
  95. package/dist/effect/descriptors/operations.d.ts +31 -0
  96. package/dist/effect/descriptors/operations.js +33 -0
  97. package/dist/effect/descriptors/organizations.d.ts +111 -0
  98. package/dist/effect/descriptors/organizations.js +93 -0
  99. package/dist/effect/descriptors/policies.d.ts +32 -0
  100. package/dist/effect/descriptors/policies.js +36 -0
  101. package/dist/effect/descriptors/scheduled-messages.d.ts +50 -0
  102. package/dist/effect/descriptors/scheduled-messages.js +50 -0
  103. package/dist/effect/descriptors/subscriptions.d.ts +11 -0
  104. package/dist/effect/descriptors/subscriptions.js +11 -0
  105. package/dist/effect/descriptors/template-registrations.d.ts +32 -0
  106. package/dist/effect/descriptors/template-registrations.js +36 -0
  107. package/dist/effect/descriptors/template-share-links.d.ts +52 -0
  108. package/dist/effect/descriptors/template-share-links.js +56 -0
  109. package/dist/effect/descriptors/templates.d.ts +365 -0
  110. package/dist/effect/descriptors/templates.js +355 -0
  111. package/dist/effect/descriptors/topic-forms.d.ts +52 -0
  112. package/dist/effect/descriptors/topic-forms.js +56 -0
  113. package/dist/effect/descriptors/topics.d.ts +89 -0
  114. package/dist/effect/descriptors/topics.js +87 -0
  115. package/dist/effect/descriptors/webhooks.d.ts +110 -0
  116. package/dist/effect/descriptors/webhooks.js +110 -0
  117. package/dist/effect/descriptors/whats-app-flows.d.ts +99 -0
  118. package/dist/effect/descriptors/whats-app-flows.js +97 -0
  119. package/dist/effect/descriptors/whats-app-setup-links.d.ts +40 -0
  120. package/dist/effect/descriptors/whats-app-setup-links.js +40 -0
  121. package/dist/effect/descriptors/whats-app.d.ts +116 -0
  122. package/dist/effect/descriptors/whats-app.js +108 -0
  123. package/dist/effect/descriptors/whoami.d.ts +11 -0
  124. package/dist/effect/descriptors/whoami.js +11 -0
  125. package/dist/effect/email.d.ts +78 -78
  126. package/dist/effect/email.js +2 -1
  127. package/dist/effect/errors.d.ts +2 -2
  128. package/dist/effect/events.d.ts +3 -3
  129. package/dist/effect/events.js +2 -1
  130. package/dist/effect/extension-installations.d.ts +11 -11
  131. package/dist/effect/extension-installations.js +2 -1
  132. package/dist/effect/extensions.d.ts +9 -9
  133. package/dist/effect/extensions.js +2 -1
  134. package/dist/effect/feedback.d.ts +2 -2
  135. package/dist/effect/feedback.js +2 -1
  136. package/dist/effect/generated/accounts.d.ts +1002 -0
  137. package/dist/effect/generated/accounts.js +198 -0
  138. package/dist/effect/generated/agents.d.ts +85 -1
  139. package/dist/effect/generated/agents.js +1 -0
  140. package/dist/effect/generated/analytics.d.ts +1 -1
  141. package/dist/effect/generated/api-keys.d.ts +1 -1
  142. package/dist/effect/generated/approval-requests.d.ts +777 -0
  143. package/dist/effect/generated/approval-requests.js +135 -0
  144. package/dist/effect/generated/attachments.d.ts +1 -1
  145. package/dist/effect/generated/brands.d.ts +1 -1
  146. package/dist/effect/generated/campaigns.d.ts +245 -245
  147. package/dist/effect/generated/campaigns.js +6 -6
  148. package/dist/effect/generated/contact-events.d.ts +4 -4
  149. package/dist/effect/generated/contact-groups.d.ts +1 -1
  150. package/dist/effect/generated/contacts.d.ts +49 -49
  151. package/dist/effect/generated/conversations.d.ts +21 -21
  152. package/dist/effect/generated/conversations.js +10 -10
  153. package/dist/effect/generated/custom-fields.d.ts +1 -1
  154. package/dist/effect/generated/email.d.ts +1 -1
  155. package/dist/effect/generated/events.d.ts +12 -12
  156. package/dist/effect/generated/events.js +1 -1
  157. package/dist/effect/generated/extension-installations.d.ts +1 -1
  158. package/dist/effect/generated/extensions.d.ts +1 -1
  159. package/dist/effect/generated/feedback.d.ts +1 -1
  160. package/dist/effect/generated/index.d.ts +88 -78
  161. package/dist/effect/generated/integrations-catalog.d.ts +671 -0
  162. package/dist/effect/generated/integrations-catalog.js +217 -0
  163. package/dist/effect/generated/integrations.d.ts +1401 -0
  164. package/dist/effect/generated/integrations.js +246 -0
  165. package/dist/effect/generated/journeys.d.ts +81 -81
  166. package/dist/effect/generated/mailboxes.d.ts +8157 -4241
  167. package/dist/effect/generated/mailboxes.js +677 -52
  168. package/dist/effect/generated/media.d.ts +1 -1
  169. package/dist/effect/generated/messages.d.ts +9 -9
  170. package/dist/effect/generated/messages.js +4 -4
  171. package/dist/effect/generated/namespaces.d.ts +1 -1
  172. package/dist/effect/generated/newsletter-domains.d.ts +1 -1
  173. package/dist/effect/generated/newsletter-issues.d.ts +1 -1
  174. package/dist/effect/generated/newsletters.d.ts +1 -1
  175. package/dist/effect/generated/operations.d.ts +1 -1
  176. package/dist/effect/generated/organizations.d.ts +1 -1
  177. package/dist/effect/generated/policies.d.ts +1 -1
  178. package/dist/effect/generated/scheduled-messages.d.ts +193 -193
  179. package/dist/effect/generated/scheduled-messages.js +17 -17
  180. package/dist/effect/generated/shared.d.ts +662 -512
  181. package/dist/effect/generated/shared.js +212 -179
  182. package/dist/effect/generated/subscriptions.d.ts +1 -1
  183. package/dist/effect/generated/template-registrations.d.ts +1 -1
  184. package/dist/effect/generated/template-share-links.d.ts +733 -0
  185. package/dist/effect/generated/template-share-links.js +165 -0
  186. package/dist/effect/generated/templates.d.ts +39 -22
  187. package/dist/effect/generated/templates.js +19 -16
  188. package/dist/effect/generated/topic-forms.d.ts +1 -1
  189. package/dist/effect/generated/topics.d.ts +1 -1
  190. package/dist/effect/generated/webhooks.d.ts +1 -1
  191. package/dist/effect/generated/whats-app-flows.d.ts +1 -1
  192. package/dist/effect/generated/whats-app-setup-links.d.ts +1 -1
  193. package/dist/effect/generated/whats-app.d.ts +1 -1
  194. package/dist/effect/generated/whoami.d.ts +1 -1
  195. package/dist/effect/generated-metadata.d.ts +248 -0
  196. package/dist/effect/generated-metadata.js +705 -555
  197. package/dist/effect/index.d.ts +47 -42
  198. package/dist/effect/index.js +6 -1
  199. package/dist/effect/integrations-catalog.d.ts +38 -0
  200. package/dist/effect/integrations-catalog.js +17 -0
  201. package/dist/effect/integrations.d.ts +165 -0
  202. package/dist/effect/integrations.js +25 -0
  203. package/dist/effect/internal/client.d.ts +3 -3
  204. package/dist/effect/internal/email-sender.d.ts +4 -4
  205. package/dist/effect/internal/mailbox-events.d.ts +2 -2
  206. package/dist/effect/internal/operation.d.ts +24 -5
  207. package/dist/effect/internal/operation.js +21 -21
  208. package/dist/effect/internal/send.d.ts +4 -4
  209. package/dist/effect/journeys.d.ts +20 -20
  210. package/dist/effect/journeys.js +2 -1
  211. package/dist/effect/mailboxes.d.ts +476 -294
  212. package/dist/effect/mailboxes.js +33 -2
  213. package/dist/effect/media.d.ts +5 -5
  214. package/dist/effect/media.js +2 -1
  215. package/dist/effect/messages.d.ts +17 -17
  216. package/dist/effect/messages.js +2 -1
  217. package/dist/effect/namespaces.d.ts +15 -15
  218. package/dist/effect/namespaces.js +2 -1
  219. package/dist/effect/newsletter-domains.d.ts +6 -6
  220. package/dist/effect/newsletter-domains.js +2 -1
  221. package/dist/effect/newsletter-issues.d.ts +11 -11
  222. package/dist/effect/newsletter-issues.js +2 -1
  223. package/dist/effect/newsletters.d.ts +5 -5
  224. package/dist/effect/newsletters.js +2 -1
  225. package/dist/effect/operations.d.ts +5 -5
  226. package/dist/effect/operations.js +2 -1
  227. package/dist/effect/organizations.d.ts +12 -12
  228. package/dist/effect/organizations.js +2 -1
  229. package/dist/effect/policies.d.ts +3 -3
  230. package/dist/effect/policies.js +2 -1
  231. package/dist/effect/scheduled-messages.d.ts +372 -372
  232. package/dist/effect/scheduled-messages.js +2 -1
  233. package/dist/effect/subscriptions.d.ts +1 -1
  234. package/dist/effect/subscriptions.js +2 -1
  235. package/dist/effect/template-registrations.d.ts +3 -3
  236. package/dist/effect/template-registrations.js +2 -1
  237. package/dist/effect/template-share-links.d.ts +18 -0
  238. package/dist/effect/template-share-links.js +21 -0
  239. package/dist/effect/templates.d.ts +49 -48
  240. package/dist/effect/templates.js +2 -1
  241. package/dist/effect/topic-forms.d.ts +5 -5
  242. package/dist/effect/topic-forms.js +2 -1
  243. package/dist/effect/topics.d.ts +11 -11
  244. package/dist/effect/topics.js +2 -1
  245. package/dist/effect/webhooks.d.ts +16 -16
  246. package/dist/effect/webhooks.js +2 -1
  247. package/dist/effect/whatsapp-flows.d.ts +10 -10
  248. package/dist/effect/whatsapp-flows.js +2 -1
  249. package/dist/effect/whatsapp-setup-links.d.ts +6 -6
  250. package/dist/effect/whatsapp-setup-links.js +2 -1
  251. package/dist/effect/whatsapp.d.ts +12 -12
  252. package/dist/effect/whatsapp.js +2 -1
  253. package/dist/effect/whoami.d.ts +1 -1
  254. package/dist/effect/whoami.js +2 -1
  255. package/dist/index.d.ts +1 -1
  256. package/dist/index.js +2 -2
  257. package/dist/mailbox/dispatch.d.ts +2 -2
  258. package/dist/mailbox/index.d.ts +4 -4
  259. package/dist/mailbox/test.d.ts +2 -2
  260. package/dist/mailbox/types.d.ts +2 -2
  261. package/dist/mailbox/webhook.d.ts +2 -2
  262. package/dist/package.js +1 -1
  263. package/dist/promises/client.d.ts +20 -10
  264. package/dist/promises/client.js +13 -3
  265. package/dist/promises/errors.gen.d.ts +23 -3
  266. package/dist/promises/errors.gen.js +54 -1
  267. package/dist/promises/index.d.ts +5 -5
  268. package/dist/promises/index.js +2 -2
  269. package/dist/promises/request.d.ts +2 -2
  270. package/dist/promises/request.js +1 -1
  271. package/dist/promises/types.gen.d.ts +1 -1
  272. package/dist/request-policy.d.ts +10 -2
  273. package/dist/request-policy.js +3 -5
  274. package/dist/service-map.d.ts +203 -0
  275. package/package.json +29 -9
  276. package/dist/service-map.js +0 -727
@@ -1,8 +1,19 @@
1
1
  export declare const preview: (input: {
2
2
  readonly content: {
3
- readonly channel: "sms";
4
- readonly sms: {
3
+ readonly channel: "email";
4
+ readonly email: {
5
+ readonly subject?: string | null | undefined;
6
+ readonly html?: string | null | undefined;
5
7
  readonly text?: string | null | undefined;
8
+ readonly attachments?: readonly {
9
+ readonly filename: string;
10
+ readonly content?: string | null | undefined;
11
+ readonly mediaId?: string | null | undefined;
12
+ readonly contentType: string;
13
+ readonly size: number;
14
+ }[] | null | undefined;
15
+ readonly publicationId?: string | undefined;
16
+ readonly inputContractId?: string | undefined;
6
17
  readonly templateId?: string | null | undefined;
7
18
  readonly templateSlug?: string | null | undefined;
8
19
  readonly templateData?: {
@@ -32,7 +43,32 @@ export declare const preview: (input: {
32
43
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
33
44
  } | null | undefined;
34
45
  } | null | undefined;
46
+ readonly locale?: string | undefined;
47
+ readonly timeZone?: string | undefined;
48
+ readonly inReplyToMessageId?: string | null | undefined;
49
+ readonly replyTo?: readonly string[] | null | undefined;
50
+ readonly topicId?: string | null | undefined;
51
+ readonly tracking?: {
52
+ readonly opens?: boolean | undefined;
53
+ readonly clicks?: boolean | undefined;
54
+ } | undefined;
55
+ readonly footer?: {
56
+ readonly enabled?: boolean | null | undefined;
57
+ } | undefined;
58
+ readonly headers?: {
59
+ readonly [x: string]: string | undefined;
60
+ } | null | undefined;
61
+ readonly preheader?: string | null | undefined;
35
62
  };
63
+ readonly issue?: {
64
+ readonly path: string;
65
+ readonly commit: string;
66
+ } | null | undefined;
67
+ readonly from?: {
68
+ readonly email: string;
69
+ readonly name?: string | null | undefined;
70
+ } | null | undefined;
71
+ readonly replyMailboxId?: string | null | undefined;
36
72
  readonly conversationId?: string | null | undefined;
37
73
  readonly metadata?: {
38
74
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -62,20 +98,9 @@ export declare const preview: (input: {
62
98
  } | null | undefined;
63
99
  } | null | undefined;
64
100
  } | {
65
- readonly channel: "email";
66
- readonly email: {
67
- readonly subject?: string | null | undefined;
68
- readonly html?: string | null | undefined;
101
+ readonly channel: "sms";
102
+ readonly sms: {
69
103
  readonly text?: string | null | undefined;
70
- readonly attachments?: readonly {
71
- readonly filename: string;
72
- readonly content?: string | null | undefined;
73
- readonly mediaId?: string | null | undefined;
74
- readonly contentType: string;
75
- readonly size: number;
76
- }[] | null | undefined;
77
- readonly publicationId?: string | undefined;
78
- readonly inputContractId?: string | undefined;
79
104
  readonly templateId?: string | null | undefined;
80
105
  readonly templateSlug?: string | null | undefined;
81
106
  readonly templateData?: {
@@ -105,32 +130,7 @@ export declare const preview: (input: {
105
130
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
106
131
  } | null | undefined;
107
132
  } | null | undefined;
108
- readonly locale?: string | undefined;
109
- readonly timeZone?: string | undefined;
110
- readonly inReplyToMessageId?: string | null | undefined;
111
- readonly replyTo?: readonly string[] | null | undefined;
112
- readonly topicId?: string | null | undefined;
113
- readonly tracking?: {
114
- readonly opens?: boolean | undefined;
115
- readonly clicks?: boolean | undefined;
116
- } | undefined;
117
- readonly footer?: {
118
- readonly enabled?: boolean | null | undefined;
119
- } | undefined;
120
- readonly headers?: {
121
- readonly [x: string]: string | undefined;
122
- } | null | undefined;
123
- readonly preheader?: string | null | undefined;
124
133
  };
125
- readonly issue?: {
126
- readonly path: string;
127
- readonly commit: string;
128
- } | null | undefined;
129
- readonly from?: {
130
- readonly email: string;
131
- readonly name?: string | null | undefined;
132
- } | null | undefined;
133
- readonly replyMailboxId?: string | null | undefined;
134
134
  readonly conversationId?: string | null | undefined;
135
135
  readonly metadata?: {
136
136
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -236,12 +236,23 @@ export declare const preview: (input: {
236
236
  readonly groupIds?: readonly string[] | null | undefined;
237
237
  };
238
238
  readonly contactId?: string | null | undefined;
239
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"campaignsPreview">;
239
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsPreview">;
240
240
  export declare const sendTest: (input: {
241
241
  readonly content: {
242
- readonly channel: "sms";
243
- readonly sms: {
242
+ readonly channel: "email";
243
+ readonly email: {
244
+ readonly subject?: string | null | undefined;
245
+ readonly html?: string | null | undefined;
244
246
  readonly text?: string | null | undefined;
247
+ readonly attachments?: readonly {
248
+ readonly filename: string;
249
+ readonly content?: string | null | undefined;
250
+ readonly mediaId?: string | null | undefined;
251
+ readonly contentType: string;
252
+ readonly size: number;
253
+ }[] | null | undefined;
254
+ readonly publicationId?: string | undefined;
255
+ readonly inputContractId?: string | undefined;
245
256
  readonly templateId?: string | null | undefined;
246
257
  readonly templateSlug?: string | null | undefined;
247
258
  readonly templateData?: {
@@ -271,7 +282,32 @@ export declare const sendTest: (input: {
271
282
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
272
283
  } | null | undefined;
273
284
  } | null | undefined;
285
+ readonly locale?: string | undefined;
286
+ readonly timeZone?: string | undefined;
287
+ readonly inReplyToMessageId?: string | null | undefined;
288
+ readonly replyTo?: readonly string[] | null | undefined;
289
+ readonly topicId?: string | null | undefined;
290
+ readonly tracking?: {
291
+ readonly opens?: boolean | undefined;
292
+ readonly clicks?: boolean | undefined;
293
+ } | undefined;
294
+ readonly footer?: {
295
+ readonly enabled?: boolean | null | undefined;
296
+ } | undefined;
297
+ readonly headers?: {
298
+ readonly [x: string]: string | undefined;
299
+ } | null | undefined;
300
+ readonly preheader?: string | null | undefined;
274
301
  };
302
+ readonly issue?: {
303
+ readonly path: string;
304
+ readonly commit: string;
305
+ } | null | undefined;
306
+ readonly from?: {
307
+ readonly email: string;
308
+ readonly name?: string | null | undefined;
309
+ } | null | undefined;
310
+ readonly replyMailboxId?: string | null | undefined;
275
311
  readonly conversationId?: string | null | undefined;
276
312
  readonly metadata?: {
277
313
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -301,20 +337,9 @@ export declare const sendTest: (input: {
301
337
  } | null | undefined;
302
338
  } | null | undefined;
303
339
  } | {
304
- readonly channel: "email";
305
- readonly email: {
306
- readonly subject?: string | null | undefined;
307
- readonly html?: string | null | undefined;
340
+ readonly channel: "sms";
341
+ readonly sms: {
308
342
  readonly text?: string | null | undefined;
309
- readonly attachments?: readonly {
310
- readonly filename: string;
311
- readonly content?: string | null | undefined;
312
- readonly mediaId?: string | null | undefined;
313
- readonly contentType: string;
314
- readonly size: number;
315
- }[] | null | undefined;
316
- readonly publicationId?: string | undefined;
317
- readonly inputContractId?: string | undefined;
318
343
  readonly templateId?: string | null | undefined;
319
344
  readonly templateSlug?: string | null | undefined;
320
345
  readonly templateData?: {
@@ -344,32 +369,7 @@ export declare const sendTest: (input: {
344
369
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
345
370
  } | null | undefined;
346
371
  } | null | undefined;
347
- readonly locale?: string | undefined;
348
- readonly timeZone?: string | undefined;
349
- readonly inReplyToMessageId?: string | null | undefined;
350
- readonly replyTo?: readonly string[] | null | undefined;
351
- readonly topicId?: string | null | undefined;
352
- readonly tracking?: {
353
- readonly opens?: boolean | undefined;
354
- readonly clicks?: boolean | undefined;
355
- } | undefined;
356
- readonly footer?: {
357
- readonly enabled?: boolean | null | undefined;
358
- } | undefined;
359
- readonly headers?: {
360
- readonly [x: string]: string | undefined;
361
- } | null | undefined;
362
- readonly preheader?: string | null | undefined;
363
372
  };
364
- readonly issue?: {
365
- readonly path: string;
366
- readonly commit: string;
367
- } | null | undefined;
368
- readonly from?: {
369
- readonly email: string;
370
- readonly name?: string | null | undefined;
371
- } | null | undefined;
372
- readonly replyMailboxId?: string | null | undefined;
373
373
  readonly conversationId?: string | null | undefined;
374
374
  readonly metadata?: {
375
375
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -475,14 +475,25 @@ export declare const sendTest: (input: {
475
475
  readonly groupIds?: readonly string[] | null | undefined;
476
476
  };
477
477
  readonly contactId?: string | null | undefined;
478
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"campaignsSendTest">;
478
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsSendTest">;
479
479
  export declare const create: (input: {
480
480
  readonly name: string;
481
481
  readonly channel: "email" | "sms" | "whatsapp";
482
482
  readonly content: {
483
- readonly channel: "sms";
484
- readonly sms: {
483
+ readonly channel: "email";
484
+ readonly email: {
485
+ readonly subject?: string | null | undefined;
486
+ readonly html?: string | null | undefined;
485
487
  readonly text?: string | null | undefined;
488
+ readonly attachments?: readonly {
489
+ readonly filename: string;
490
+ readonly content?: string | null | undefined;
491
+ readonly mediaId?: string | null | undefined;
492
+ readonly contentType: string;
493
+ readonly size: number;
494
+ }[] | null | undefined;
495
+ readonly publicationId?: string | undefined;
496
+ readonly inputContractId?: string | undefined;
486
497
  readonly templateId?: string | null | undefined;
487
498
  readonly templateSlug?: string | null | undefined;
488
499
  readonly templateData?: {
@@ -512,7 +523,32 @@ export declare const create: (input: {
512
523
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
513
524
  } | null | undefined;
514
525
  } | null | undefined;
526
+ readonly locale?: string | undefined;
527
+ readonly timeZone?: string | undefined;
528
+ readonly inReplyToMessageId?: string | null | undefined;
529
+ readonly replyTo?: readonly string[] | null | undefined;
530
+ readonly topicId?: string | null | undefined;
531
+ readonly tracking?: {
532
+ readonly opens?: boolean | undefined;
533
+ readonly clicks?: boolean | undefined;
534
+ } | undefined;
535
+ readonly footer?: {
536
+ readonly enabled?: boolean | null | undefined;
537
+ } | undefined;
538
+ readonly headers?: {
539
+ readonly [x: string]: string | undefined;
540
+ } | null | undefined;
541
+ readonly preheader?: string | null | undefined;
515
542
  };
543
+ readonly issue?: {
544
+ readonly path: string;
545
+ readonly commit: string;
546
+ } | null | undefined;
547
+ readonly from?: {
548
+ readonly email: string;
549
+ readonly name?: string | null | undefined;
550
+ } | null | undefined;
551
+ readonly replyMailboxId?: string | null | undefined;
516
552
  readonly conversationId?: string | null | undefined;
517
553
  readonly metadata?: {
518
554
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -542,20 +578,9 @@ export declare const create: (input: {
542
578
  } | null | undefined;
543
579
  } | null | undefined;
544
580
  } | {
545
- readonly channel: "email";
546
- readonly email: {
547
- readonly subject?: string | null | undefined;
548
- readonly html?: string | null | undefined;
581
+ readonly channel: "sms";
582
+ readonly sms: {
549
583
  readonly text?: string | null | undefined;
550
- readonly attachments?: readonly {
551
- readonly filename: string;
552
- readonly content?: string | null | undefined;
553
- readonly mediaId?: string | null | undefined;
554
- readonly contentType: string;
555
- readonly size: number;
556
- }[] | null | undefined;
557
- readonly publicationId?: string | undefined;
558
- readonly inputContractId?: string | undefined;
559
584
  readonly templateId?: string | null | undefined;
560
585
  readonly templateSlug?: string | null | undefined;
561
586
  readonly templateData?: {
@@ -585,32 +610,7 @@ export declare const create: (input: {
585
610
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
586
611
  } | null | undefined;
587
612
  } | null | undefined;
588
- readonly locale?: string | undefined;
589
- readonly timeZone?: string | undefined;
590
- readonly inReplyToMessageId?: string | null | undefined;
591
- readonly replyTo?: readonly string[] | null | undefined;
592
- readonly topicId?: string | null | undefined;
593
- readonly tracking?: {
594
- readonly opens?: boolean | undefined;
595
- readonly clicks?: boolean | undefined;
596
- } | undefined;
597
- readonly footer?: {
598
- readonly enabled?: boolean | null | undefined;
599
- } | undefined;
600
- readonly headers?: {
601
- readonly [x: string]: string | undefined;
602
- } | null | undefined;
603
- readonly preheader?: string | null | undefined;
604
613
  };
605
- readonly issue?: {
606
- readonly path: string;
607
- readonly commit: string;
608
- } | null | undefined;
609
- readonly from?: {
610
- readonly email: string;
611
- readonly name?: string | null | undefined;
612
- } | null | undefined;
613
- readonly replyMailboxId?: string | null | undefined;
614
614
  readonly conversationId?: string | null | undefined;
615
615
  readonly metadata?: {
616
616
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -718,12 +718,12 @@ export declare const create: (input: {
718
718
  readonly policy?: {
719
719
  readonly pageSize?: number | null | undefined;
720
720
  } | null | undefined;
721
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"campaignsCreate">;
721
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsCreate">;
722
722
  export declare const list: ((input?: {
723
723
  readonly status?: "archived" | "draft" | undefined;
724
724
  readonly limit?: number | null | undefined;
725
725
  readonly cursor?: string | undefined;
726
- } | undefined, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"campaignsList">) & {
726
+ } | undefined, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsList">) & {
727
727
  readonly pages: (input?: {
728
728
  readonly status?: "archived" | "draft" | undefined;
729
729
  readonly limit?: number | null | undefined;
@@ -751,7 +751,7 @@ export declare const list: ((input?: {
751
751
  readonly templateId?: (string & import("effect/Brand").Brand<"TemplateId">) | null;
752
752
  readonly templateSlug?: string | null;
753
753
  readonly templateData?: {
754
- readonly [x: string]: import("./generated").JsonValue;
754
+ readonly [x: string]: import("./generated/index.js").JsonValue;
755
755
  } | null;
756
756
  readonly locale?: string;
757
757
  readonly timeZone?: string;
@@ -781,7 +781,7 @@ export declare const list: ((input?: {
781
781
  readonly replyMailboxId?: (string & import("effect/Brand").Brand<"MailboxId">) | null;
782
782
  readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
783
783
  readonly metadata?: {
784
- readonly [x: string]: import("./generated").JsonValue;
784
+ readonly [x: string]: import("./generated/index.js").JsonValue;
785
785
  } | null;
786
786
  } | {
787
787
  readonly channel: "sms";
@@ -790,19 +790,19 @@ export declare const list: ((input?: {
790
790
  readonly templateId?: (string & import("effect/Brand").Brand<"TemplateId">) | null;
791
791
  readonly templateSlug?: string | null;
792
792
  readonly templateData?: {
793
- readonly [x: string]: import("./generated").JsonValue;
793
+ readonly [x: string]: import("./generated/index.js").JsonValue;
794
794
  } | null;
795
795
  };
796
796
  readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
797
797
  readonly metadata?: {
798
- readonly [x: string]: import("./generated").JsonValue;
798
+ readonly [x: string]: import("./generated/index.js").JsonValue;
799
799
  } | null;
800
800
  } | {
801
801
  readonly channel: "whatsapp";
802
802
  readonly whatsapp: {
803
803
  readonly template: string | (string & import("effect/Brand").Brand<"TemplateId">);
804
804
  readonly templateData?: {
805
- readonly [x: string]: import("./generated").JsonValue;
805
+ readonly [x: string]: import("./generated/index.js").JsonValue;
806
806
  };
807
807
  readonly bindings?: {
808
808
  readonly [x: string]: {
@@ -815,7 +815,7 @@ export declare const list: ((input?: {
815
815
  };
816
816
  readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
817
817
  readonly metadata?: {
818
- readonly [x: string]: import("./generated").JsonValue;
818
+ readonly [x: string]: import("./generated/index.js").JsonValue;
819
819
  } | null;
820
820
  };
821
821
  readonly audience: {
@@ -852,7 +852,7 @@ export declare const list: ((input?: {
852
852
  readonly series: readonly number[];
853
853
  }[];
854
854
  readonly nextCursor: string | null;
855
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
855
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
856
856
  readonly items: (input?: {
857
857
  readonly status?: "archived" | "draft" | undefined;
858
858
  readonly limit?: number | null | undefined;
@@ -879,7 +879,7 @@ export declare const list: ((input?: {
879
879
  readonly templateId?: (string & import("effect/Brand").Brand<"TemplateId">) | null;
880
880
  readonly templateSlug?: string | null;
881
881
  readonly templateData?: {
882
- readonly [x: string]: import("./generated").JsonValue;
882
+ readonly [x: string]: import("./generated/index.js").JsonValue;
883
883
  } | null;
884
884
  readonly locale?: string;
885
885
  readonly timeZone?: string;
@@ -909,7 +909,7 @@ export declare const list: ((input?: {
909
909
  readonly replyMailboxId?: (string & import("effect/Brand").Brand<"MailboxId">) | null;
910
910
  readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
911
911
  readonly metadata?: {
912
- readonly [x: string]: import("./generated").JsonValue;
912
+ readonly [x: string]: import("./generated/index.js").JsonValue;
913
913
  } | null;
914
914
  } | {
915
915
  readonly channel: "sms";
@@ -918,19 +918,19 @@ export declare const list: ((input?: {
918
918
  readonly templateId?: (string & import("effect/Brand").Brand<"TemplateId">) | null;
919
919
  readonly templateSlug?: string | null;
920
920
  readonly templateData?: {
921
- readonly [x: string]: import("./generated").JsonValue;
921
+ readonly [x: string]: import("./generated/index.js").JsonValue;
922
922
  } | null;
923
923
  };
924
924
  readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
925
925
  readonly metadata?: {
926
- readonly [x: string]: import("./generated").JsonValue;
926
+ readonly [x: string]: import("./generated/index.js").JsonValue;
927
927
  } | null;
928
928
  } | {
929
929
  readonly channel: "whatsapp";
930
930
  readonly whatsapp: {
931
931
  readonly template: string | (string & import("effect/Brand").Brand<"TemplateId">);
932
932
  readonly templateData?: {
933
- readonly [x: string]: import("./generated").JsonValue;
933
+ readonly [x: string]: import("./generated/index.js").JsonValue;
934
934
  };
935
935
  readonly bindings?: {
936
936
  readonly [x: string]: {
@@ -943,7 +943,7 @@ export declare const list: ((input?: {
943
943
  };
944
944
  readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
945
945
  readonly metadata?: {
946
- readonly [x: string]: import("./generated").JsonValue;
946
+ readonly [x: string]: import("./generated/index.js").JsonValue;
947
947
  } | null;
948
948
  };
949
949
  readonly audience: {
@@ -978,18 +978,29 @@ export declare const list: ((input?: {
978
978
  readonly createdAt: string;
979
979
  readonly updatedAt: string;
980
980
  readonly series: readonly number[];
981
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
981
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
982
982
  };
983
983
  export declare const get: (input: {
984
984
  readonly id: string;
985
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"campaignsGet">;
985
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsGet">;
986
986
  export declare const update: (input: {
987
987
  readonly id: string;
988
988
  readonly name?: string | null | undefined;
989
989
  readonly content?: {
990
- readonly channel: "sms";
991
- readonly sms: {
990
+ readonly channel: "email";
991
+ readonly email: {
992
+ readonly subject?: string | null | undefined;
993
+ readonly html?: string | null | undefined;
992
994
  readonly text?: string | null | undefined;
995
+ readonly attachments?: readonly {
996
+ readonly filename: string;
997
+ readonly content?: string | null | undefined;
998
+ readonly mediaId?: string | null | undefined;
999
+ readonly contentType: string;
1000
+ readonly size: number;
1001
+ }[] | null | undefined;
1002
+ readonly publicationId?: string | undefined;
1003
+ readonly inputContractId?: string | undefined;
993
1004
  readonly templateId?: string | null | undefined;
994
1005
  readonly templateSlug?: string | null | undefined;
995
1006
  readonly templateData?: {
@@ -1019,7 +1030,32 @@ export declare const update: (input: {
1019
1030
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
1020
1031
  } | null | undefined;
1021
1032
  } | null | undefined;
1033
+ readonly locale?: string | undefined;
1034
+ readonly timeZone?: string | undefined;
1035
+ readonly inReplyToMessageId?: string | null | undefined;
1036
+ readonly replyTo?: readonly string[] | null | undefined;
1037
+ readonly topicId?: string | null | undefined;
1038
+ readonly tracking?: {
1039
+ readonly opens?: boolean | undefined;
1040
+ readonly clicks?: boolean | undefined;
1041
+ } | undefined;
1042
+ readonly footer?: {
1043
+ readonly enabled?: boolean | null | undefined;
1044
+ } | undefined;
1045
+ readonly headers?: {
1046
+ readonly [x: string]: string | undefined;
1047
+ } | null | undefined;
1048
+ readonly preheader?: string | null | undefined;
1022
1049
  };
1050
+ readonly issue?: {
1051
+ readonly path: string;
1052
+ readonly commit: string;
1053
+ } | null | undefined;
1054
+ readonly from?: {
1055
+ readonly email: string;
1056
+ readonly name?: string | null | undefined;
1057
+ } | null | undefined;
1058
+ readonly replyMailboxId?: string | null | undefined;
1023
1059
  readonly conversationId?: string | null | undefined;
1024
1060
  readonly metadata?: {
1025
1061
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -1049,20 +1085,9 @@ export declare const update: (input: {
1049
1085
  } | null | undefined;
1050
1086
  } | null | undefined;
1051
1087
  } | {
1052
- readonly channel: "email";
1053
- readonly email: {
1054
- readonly subject?: string | null | undefined;
1055
- readonly html?: string | null | undefined;
1088
+ readonly channel: "sms";
1089
+ readonly sms: {
1056
1090
  readonly text?: string | null | undefined;
1057
- readonly attachments?: readonly {
1058
- readonly filename: string;
1059
- readonly content?: string | null | undefined;
1060
- readonly mediaId?: string | null | undefined;
1061
- readonly contentType: string;
1062
- readonly size: number;
1063
- }[] | null | undefined;
1064
- readonly publicationId?: string | undefined;
1065
- readonly inputContractId?: string | undefined;
1066
1091
  readonly templateId?: string | null | undefined;
1067
1092
  readonly templateSlug?: string | null | undefined;
1068
1093
  readonly templateData?: {
@@ -1092,32 +1117,7 @@ export declare const update: (input: {
1092
1117
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
1093
1118
  } | null | undefined;
1094
1119
  } | null | undefined;
1095
- readonly locale?: string | undefined;
1096
- readonly timeZone?: string | undefined;
1097
- readonly inReplyToMessageId?: string | null | undefined;
1098
- readonly replyTo?: readonly string[] | null | undefined;
1099
- readonly topicId?: string | null | undefined;
1100
- readonly tracking?: {
1101
- readonly opens?: boolean | undefined;
1102
- readonly clicks?: boolean | undefined;
1103
- } | undefined;
1104
- readonly footer?: {
1105
- readonly enabled?: boolean | null | undefined;
1106
- } | undefined;
1107
- readonly headers?: {
1108
- readonly [x: string]: string | undefined;
1109
- } | null | undefined;
1110
- readonly preheader?: string | null | undefined;
1111
1120
  };
1112
- readonly issue?: {
1113
- readonly path: string;
1114
- readonly commit: string;
1115
- } | null | undefined;
1116
- readonly from?: {
1117
- readonly email: string;
1118
- readonly name?: string | null | undefined;
1119
- } | null | undefined;
1120
- readonly replyMailboxId?: string | null | undefined;
1121
1121
  readonly conversationId?: string | null | undefined;
1122
1122
  readonly metadata?: {
1123
1123
  readonly [x: string]: string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | readonly (string | number | boolean | any | {
@@ -1225,20 +1225,20 @@ export declare const update: (input: {
1225
1225
  readonly policy?: {
1226
1226
  readonly pageSize?: number | null | undefined;
1227
1227
  } | null | undefined;
1228
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"campaignsUpdate">;
1228
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsUpdate">;
1229
1229
  export declare const archive: (input: {
1230
1230
  readonly id: string;
1231
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"campaignsArchive">;
1231
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsArchive">;
1232
1232
  export declare const scheduleRun: (input: {
1233
1233
  readonly id: string;
1234
1234
  readonly scheduledFor?: Date | null | undefined;
1235
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"campaignsScheduleRun">;
1235
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsScheduleRun">;
1236
1236
  export declare const listRuns: ((input: {
1237
1237
  readonly id: string;
1238
1238
  readonly status?: "cancelled" | "completed" | "dispatching" | "failed" | "paused" | "resolving" | "scheduled" | undefined;
1239
1239
  readonly limit?: number | null | undefined;
1240
1240
  readonly cursor?: string | undefined;
1241
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"campaignsListRuns">) & {
1241
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsListRuns">) & {
1242
1242
  readonly pages: (input: {
1243
1243
  readonly id: string;
1244
1244
  readonly status?: "cancelled" | "completed" | "dispatching" | "failed" | "paused" | "resolving" | "scheduled" | undefined;
@@ -1271,7 +1271,7 @@ export declare const listRuns: ((input: {
1271
1271
  readonly templateId?: (string & import("effect/Brand").Brand<"TemplateId">) | null;
1272
1272
  readonly templateSlug?: string | null;
1273
1273
  readonly templateData?: {
1274
- readonly [x: string]: import("./generated").JsonValue;
1274
+ readonly [x: string]: import("./generated/index.js").JsonValue;
1275
1275
  } | null;
1276
1276
  readonly locale?: string;
1277
1277
  readonly timeZone?: string;
@@ -1301,7 +1301,7 @@ export declare const listRuns: ((input: {
1301
1301
  readonly replyMailboxId?: (string & import("effect/Brand").Brand<"MailboxId">) | null;
1302
1302
  readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
1303
1303
  readonly metadata?: {
1304
- readonly [x: string]: import("./generated").JsonValue;
1304
+ readonly [x: string]: import("./generated/index.js").JsonValue;
1305
1305
  } | null;
1306
1306
  } | {
1307
1307
  readonly channel: "sms";
@@ -1310,19 +1310,19 @@ export declare const listRuns: ((input: {
1310
1310
  readonly templateId?: (string & import("effect/Brand").Brand<"TemplateId">) | null;
1311
1311
  readonly templateSlug?: string | null;
1312
1312
  readonly templateData?: {
1313
- readonly [x: string]: import("./generated").JsonValue;
1313
+ readonly [x: string]: import("./generated/index.js").JsonValue;
1314
1314
  } | null;
1315
1315
  };
1316
1316
  readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
1317
1317
  readonly metadata?: {
1318
- readonly [x: string]: import("./generated").JsonValue;
1318
+ readonly [x: string]: import("./generated/index.js").JsonValue;
1319
1319
  } | null;
1320
1320
  } | {
1321
1321
  readonly channel: "whatsapp";
1322
1322
  readonly whatsapp: {
1323
1323
  readonly template: string | (string & import("effect/Brand").Brand<"TemplateId">);
1324
1324
  readonly templateData?: {
1325
- readonly [x: string]: import("./generated").JsonValue;
1325
+ readonly [x: string]: import("./generated/index.js").JsonValue;
1326
1326
  };
1327
1327
  readonly bindings?: {
1328
1328
  readonly [x: string]: {
@@ -1335,7 +1335,7 @@ export declare const listRuns: ((input: {
1335
1335
  };
1336
1336
  readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
1337
1337
  readonly metadata?: {
1338
- readonly [x: string]: import("./generated").JsonValue;
1338
+ readonly [x: string]: import("./generated/index.js").JsonValue;
1339
1339
  } | null;
1340
1340
  };
1341
1341
  readonly audienceSnapshot: {
@@ -1371,7 +1371,7 @@ export declare const listRuns: ((input: {
1371
1371
  readonly updatedAt: string;
1372
1372
  }[];
1373
1373
  readonly nextCursor: string | null;
1374
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1374
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1375
1375
  readonly items: (input: {
1376
1376
  readonly id: string;
1377
1377
  readonly status?: "cancelled" | "completed" | "dispatching" | "failed" | "paused" | "resolving" | "scheduled" | undefined;
@@ -1403,7 +1403,7 @@ export declare const listRuns: ((input: {
1403
1403
  readonly templateId?: (string & import("effect/Brand").Brand<"TemplateId">) | null;
1404
1404
  readonly templateSlug?: string | null;
1405
1405
  readonly templateData?: {
1406
- readonly [x: string]: import("./generated").JsonValue;
1406
+ readonly [x: string]: import("./generated/index.js").JsonValue;
1407
1407
  } | null;
1408
1408
  readonly locale?: string;
1409
1409
  readonly timeZone?: string;
@@ -1433,7 +1433,7 @@ export declare const listRuns: ((input: {
1433
1433
  readonly replyMailboxId?: (string & import("effect/Brand").Brand<"MailboxId">) | null;
1434
1434
  readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
1435
1435
  readonly metadata?: {
1436
- readonly [x: string]: import("./generated").JsonValue;
1436
+ readonly [x: string]: import("./generated/index.js").JsonValue;
1437
1437
  } | null;
1438
1438
  } | {
1439
1439
  readonly channel: "sms";
@@ -1442,19 +1442,19 @@ export declare const listRuns: ((input: {
1442
1442
  readonly templateId?: (string & import("effect/Brand").Brand<"TemplateId">) | null;
1443
1443
  readonly templateSlug?: string | null;
1444
1444
  readonly templateData?: {
1445
- readonly [x: string]: import("./generated").JsonValue;
1445
+ readonly [x: string]: import("./generated/index.js").JsonValue;
1446
1446
  } | null;
1447
1447
  };
1448
1448
  readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
1449
1449
  readonly metadata?: {
1450
- readonly [x: string]: import("./generated").JsonValue;
1450
+ readonly [x: string]: import("./generated/index.js").JsonValue;
1451
1451
  } | null;
1452
1452
  } | {
1453
1453
  readonly channel: "whatsapp";
1454
1454
  readonly whatsapp: {
1455
1455
  readonly template: string | (string & import("effect/Brand").Brand<"TemplateId">);
1456
1456
  readonly templateData?: {
1457
- readonly [x: string]: import("./generated").JsonValue;
1457
+ readonly [x: string]: import("./generated/index.js").JsonValue;
1458
1458
  };
1459
1459
  readonly bindings?: {
1460
1460
  readonly [x: string]: {
@@ -1467,7 +1467,7 @@ export declare const listRuns: ((input: {
1467
1467
  };
1468
1468
  readonly conversationId?: (string & import("effect/Brand").Brand<"ConversationId">) | null;
1469
1469
  readonly metadata?: {
1470
- readonly [x: string]: import("./generated").JsonValue;
1470
+ readonly [x: string]: import("./generated/index.js").JsonValue;
1471
1471
  } | null;
1472
1472
  };
1473
1473
  readonly audienceSnapshot: {
@@ -1501,35 +1501,35 @@ export declare const listRuns: ((input: {
1501
1501
  readonly memberRole: string;
1502
1502
  readonly createdAt: string;
1503
1503
  readonly updatedAt: string;
1504
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1504
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1505
1505
  };
1506
1506
  export declare const getRun: (input: {
1507
1507
  readonly id: string;
1508
1508
  readonly runId: string;
1509
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"campaignsGetRun">;
1509
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsGetRun">;
1510
1510
  export declare const getRunReport: (input: {
1511
1511
  readonly id: string;
1512
1512
  readonly runId: string;
1513
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"campaignsGetRunReport">;
1513
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsGetRunReport">;
1514
1514
  export declare const pauseRun: (input: {
1515
1515
  readonly id: string;
1516
1516
  readonly runId: string;
1517
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"campaignsPauseRun">;
1517
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsPauseRun">;
1518
1518
  export declare const resumeRun: (input: {
1519
1519
  readonly id: string;
1520
1520
  readonly runId: string;
1521
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"campaignsResumeRun">;
1521
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsResumeRun">;
1522
1522
  export declare const cancelRun: (input: {
1523
1523
  readonly id: string;
1524
1524
  readonly runId: string;
1525
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"campaignsCancelRun">;
1525
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsCancelRun">;
1526
1526
  export declare const listRecipients: ((input: {
1527
1527
  readonly id: string;
1528
1528
  readonly runId: string;
1529
1529
  readonly status?: "dispatched" | "dispatching" | "failed" | "pending" | "skipped" | undefined;
1530
1530
  readonly limit?: number | null | undefined;
1531
1531
  readonly cursor?: string | undefined;
1532
- }, options?: import("./internal/operation").OperationOptions) => import("./internal/operation").OperationResult<"campaignsListRecipients">) & {
1532
+ }, options?: import("./internal/operation.js").OperationOptions) => import("./internal/operation.js").OperationResult<"campaignsListRecipients">) & {
1533
1533
  readonly pages: (input: {
1534
1534
  readonly id: string;
1535
1535
  readonly runId: string;
@@ -1549,7 +1549,7 @@ export declare const listRecipients: ((input: {
1549
1549
  readonly updatedAt: string;
1550
1550
  }[];
1551
1551
  readonly nextCursor: string | null;
1552
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1552
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1553
1553
  readonly items: (input: {
1554
1554
  readonly id: string;
1555
1555
  readonly runId: string;
@@ -1566,5 +1566,5 @@ export declare const listRecipients: ((input: {
1566
1566
  readonly skippedReason: "blocked" | "consent_required" | "inactive" | "missing_merge_field" | "no_identity" | "not_added" | "opted_out" | "run_cancelled" | "run_failed" | "suppressed" | "unreachable" | "unsubscribed" | null;
1567
1567
  readonly createdAt: string;
1568
1568
  readonly updatedAt: string;
1569
- }, import("./errors").ForbiddenError | import("./errors").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors").InternalError | import("./errors").MalformedRequestError | import("./errors").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors").UnauthorizedError | import("./errors").ValidationError, import("./client").Service>;
1569
+ }, import("./errors.js").ForbiddenError | import("./errors.js").GatewayTimeoutError | import("effect/http/HttpClientError").HttpClientError | import("./errors.js").InternalError | import("./errors.js").MalformedRequestError | import("./errors.js").ResourceNotFoundError | import("effect/Schema").SchemaError | import("./errors.js").UnauthorizedError | import("./errors.js").ValidationError, import("./client.js").Service>;
1570
1570
  };