samva 0.46.0 → 0.47.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (276) hide show
  1. package/AGENTS.md +13 -7
  2. package/README.md +107 -9
  3. package/dist/agent/index.d.ts +56 -0
  4. package/dist/agent/index.js +52 -0
  5. package/dist/agent/runtime.d.ts +3 -0
  6. package/dist/agent/runtime.js +74 -0
  7. package/dist/agent/test.d.ts +31 -0
  8. package/dist/agent/test.js +66 -0
  9. package/dist/agent/types.d.ts +123 -0
  10. package/dist/client/client/client.gen.d.ts +1 -1
  11. package/dist/client/client/index.d.ts +10 -10
  12. package/dist/client/client/types.gen.d.ts +4 -4
  13. package/dist/client/client/utils.gen.d.ts +2 -2
  14. package/dist/client/client.gen.d.ts +2 -2
  15. package/dist/client/core/bodySerializer.gen.d.ts +1 -1
  16. package/dist/client/core/serverSentEvents.gen.d.ts +1 -1
  17. package/dist/client/core/types.gen.d.ts +2 -2
  18. package/dist/client/core/utils.gen.d.ts +1 -1
  19. package/dist/client/sdk.gen.d.ts +41 -161
  20. package/dist/client/sdk.gen.js +1302 -1598
  21. package/dist/client/types.gen.d.ts +377 -966
  22. package/dist/effect/accounts.d.ts +6 -6
  23. package/dist/effect/accounts.js +2 -1
  24. package/dist/effect/agents.d.ts +355 -23
  25. package/dist/effect/agents.js +6 -3
  26. package/dist/effect/analytics.d.ts +6 -6
  27. package/dist/effect/analytics.js +2 -1
  28. package/dist/effect/api-keys.d.ts +13 -13
  29. package/dist/effect/api-keys.js +2 -1
  30. package/dist/effect/approval-requests.d.ts +4 -4
  31. package/dist/effect/approval-requests.js +2 -1
  32. package/dist/effect/attachments.d.ts +4 -4
  33. package/dist/effect/attachments.js +2 -1
  34. package/dist/effect/brands.d.ts +7 -7
  35. package/dist/effect/brands.js +2 -1
  36. package/dist/effect/campaigns.d.ts +205 -205
  37. package/dist/effect/campaigns.js +2 -1
  38. package/dist/effect/categories.d.ts +3 -3
  39. package/dist/effect/client.d.ts +1 -1
  40. package/dist/effect/contact-groups.d.ts +18 -18
  41. package/dist/effect/contact-groups.js +2 -1
  42. package/dist/effect/contacts.d.ts +41 -33
  43. package/dist/effect/contacts.js +8 -3
  44. package/dist/effect/conversations.d.ts +17 -17
  45. package/dist/effect/conversations.js +2 -1
  46. package/dist/effect/custom-fields.d.ts +4 -4
  47. package/dist/effect/custom-fields.js +2 -1
  48. package/dist/effect/descriptors/accounts.d.ts +59 -0
  49. package/dist/effect/descriptors/accounts.js +57 -0
  50. package/dist/effect/descriptors/agents.d.ts +129 -0
  51. package/dist/effect/descriptors/agents.js +127 -0
  52. package/dist/effect/descriptors/analytics.d.ts +56 -0
  53. package/dist/effect/descriptors/analytics.js +48 -0
  54. package/dist/effect/descriptors/api-keys.d.ts +80 -0
  55. package/dist/effect/descriptors/api-keys.js +80 -0
  56. package/dist/effect/descriptors/approval-requests.d.ts +41 -0
  57. package/dist/effect/descriptors/approval-requests.js +43 -0
  58. package/dist/effect/descriptors/attachments.d.ts +41 -0
  59. package/dist/effect/descriptors/attachments.js +43 -0
  60. package/dist/effect/descriptors/brands.d.ts +60 -0
  61. package/dist/effect/descriptors/brands.js +60 -0
  62. package/dist/effect/descriptors/campaigns.d.ts +148 -0
  63. package/dist/effect/descriptors/campaigns.js +144 -0
  64. package/dist/effect/descriptors/contact-groups.d.ts +99 -0
  65. package/dist/effect/descriptors/contact-groups.js +97 -0
  66. package/dist/effect/descriptors/contacts.d.ts +246 -0
  67. package/dist/effect/descriptors/contacts.js +234 -0
  68. package/dist/effect/descriptors/conversations.d.ts +130 -0
  69. package/dist/effect/descriptors/conversations.js +130 -0
  70. package/dist/effect/descriptors/custom-fields.d.ts +40 -0
  71. package/dist/effect/descriptors/custom-fields.js +40 -0
  72. package/dist/effect/descriptors/email.d.ts +607 -0
  73. package/dist/effect/descriptors/email.js +561 -0
  74. package/dist/effect/descriptors/events.d.ts +20 -0
  75. package/dist/effect/descriptors/events.js +20 -0
  76. package/dist/effect/descriptors/feedback.d.ts +11 -0
  77. package/dist/effect/descriptors/feedback.js +11 -0
  78. package/dist/effect/descriptors/integrations-catalog.d.ts +29 -0
  79. package/dist/effect/descriptors/integrations-catalog.js +27 -0
  80. package/dist/effect/descriptors/integrations.d.ts +70 -0
  81. package/dist/effect/descriptors/integrations.js +70 -0
  82. package/dist/effect/descriptors/journeys.d.ts +140 -0
  83. package/dist/effect/descriptors/journeys.js +140 -0
  84. package/dist/effect/descriptors/mailboxes.d.ts +724 -0
  85. package/dist/effect/descriptors/mailboxes.js +728 -0
  86. package/dist/effect/descriptors/media.d.ts +51 -0
  87. package/dist/effect/descriptors/media.js +53 -0
  88. package/dist/effect/descriptors/messages.d.ts +99 -0
  89. package/dist/effect/descriptors/messages.js +97 -0
  90. package/dist/effect/descriptors/namespaces.d.ts +110 -0
  91. package/dist/effect/descriptors/namespaces.js +114 -0
  92. package/dist/effect/descriptors/newsletter-domains.d.ts +42 -0
  93. package/dist/effect/descriptors/newsletter-domains.js +46 -0
  94. package/dist/effect/descriptors/newsletter-issues.d.ts +112 -0
  95. package/dist/effect/descriptors/newsletter-issues.js +116 -0
  96. package/dist/effect/descriptors/newsletters.d.ts +51 -0
  97. package/dist/effect/descriptors/newsletters.js +53 -0
  98. package/dist/effect/descriptors/operations.d.ts +31 -0
  99. package/dist/effect/descriptors/operations.js +33 -0
  100. package/dist/effect/descriptors/organizations.d.ts +111 -0
  101. package/dist/effect/descriptors/organizations.js +93 -0
  102. package/dist/effect/descriptors/policies.d.ts +32 -0
  103. package/dist/effect/descriptors/policies.js +36 -0
  104. package/dist/effect/descriptors/scheduled-messages.d.ts +50 -0
  105. package/dist/effect/descriptors/scheduled-messages.js +50 -0
  106. package/dist/effect/descriptors/subscriptions.d.ts +11 -0
  107. package/dist/effect/descriptors/subscriptions.js +11 -0
  108. package/dist/effect/descriptors/template-registrations.d.ts +32 -0
  109. package/dist/effect/descriptors/template-registrations.js +36 -0
  110. package/dist/effect/descriptors/template-share-links.d.ts +52 -0
  111. package/dist/effect/descriptors/template-share-links.js +56 -0
  112. package/dist/effect/descriptors/templates.d.ts +365 -0
  113. package/dist/effect/descriptors/templates.js +355 -0
  114. package/dist/effect/descriptors/topic-forms.d.ts +52 -0
  115. package/dist/effect/descriptors/topic-forms.js +56 -0
  116. package/dist/effect/descriptors/topics.d.ts +89 -0
  117. package/dist/effect/descriptors/topics.js +87 -0
  118. package/dist/effect/descriptors/webhooks.d.ts +110 -0
  119. package/dist/effect/descriptors/webhooks.js +110 -0
  120. package/dist/effect/descriptors/whats-app-flows.d.ts +99 -0
  121. package/dist/effect/descriptors/whats-app-flows.js +97 -0
  122. package/dist/effect/descriptors/whats-app-setup-links.d.ts +40 -0
  123. package/dist/effect/descriptors/whats-app-setup-links.js +40 -0
  124. package/dist/effect/descriptors/whats-app.d.ts +116 -0
  125. package/dist/effect/descriptors/whats-app.js +108 -0
  126. package/dist/effect/descriptors/whoami.d.ts +11 -0
  127. package/dist/effect/descriptors/whoami.js +11 -0
  128. package/dist/effect/email.d.ts +78 -78
  129. package/dist/effect/email.js +2 -1
  130. package/dist/effect/errors.d.ts +2 -2
  131. package/dist/effect/events.d.ts +3 -3
  132. package/dist/effect/events.js +2 -1
  133. package/dist/effect/feedback.d.ts +2 -2
  134. package/dist/effect/feedback.js +2 -1
  135. package/dist/effect/generated/accounts.d.ts +19 -9
  136. package/dist/effect/generated/accounts.js +1 -0
  137. package/dist/effect/generated/agents.d.ts +2967 -690
  138. package/dist/effect/generated/agents.js +54 -13
  139. package/dist/effect/generated/analytics.d.ts +1 -1
  140. package/dist/effect/generated/api-keys.d.ts +1 -1
  141. package/dist/effect/generated/approval-requests.d.ts +13 -13
  142. package/dist/effect/generated/attachments.d.ts +1 -1
  143. package/dist/effect/generated/brands.d.ts +1 -1
  144. package/dist/effect/generated/campaigns.d.ts +230 -230
  145. package/dist/effect/generated/contact-events.d.ts +4 -4
  146. package/dist/effect/generated/contact-groups.d.ts +1 -1
  147. package/dist/effect/generated/contacts.d.ts +907 -49
  148. package/dist/effect/generated/contacts.js +62 -3
  149. package/dist/effect/generated/conversations.d.ts +1 -1
  150. package/dist/effect/generated/custom-fields.d.ts +1 -1
  151. package/dist/effect/generated/email.d.ts +1 -1
  152. package/dist/effect/generated/events.d.ts +12 -12
  153. package/dist/effect/generated/feedback.d.ts +1 -1
  154. package/dist/effect/generated/index.d.ts +84 -88
  155. package/dist/effect/generated/integrations-catalog.d.ts +3 -3
  156. package/dist/effect/generated/integrations.d.ts +15 -15
  157. package/dist/effect/generated/journeys.d.ts +336 -96
  158. package/dist/effect/generated/journeys.js +3 -1
  159. package/dist/effect/generated/mailboxes.d.ts +93 -95
  160. package/dist/effect/generated/mailboxes.js +21 -25
  161. package/dist/effect/generated/media.d.ts +1 -1
  162. package/dist/effect/generated/messages.d.ts +1 -1
  163. package/dist/effect/generated/namespaces.d.ts +1 -1
  164. package/dist/effect/generated/newsletter-domains.d.ts +1 -1
  165. package/dist/effect/generated/newsletter-issues.d.ts +1 -1
  166. package/dist/effect/generated/newsletters.d.ts +1 -1
  167. package/dist/effect/generated/operations.d.ts +1 -1
  168. package/dist/effect/generated/organizations.d.ts +1 -1
  169. package/dist/effect/generated/policies.d.ts +1 -1
  170. package/dist/effect/generated/scheduled-messages.d.ts +147 -147
  171. package/dist/effect/generated/shared.d.ts +408 -102
  172. package/dist/effect/generated/shared.js +80 -36
  173. package/dist/effect/generated/subscriptions.d.ts +1 -1
  174. package/dist/effect/generated/template-registrations.d.ts +1 -4
  175. package/dist/effect/generated/template-registrations.js +2 -6
  176. package/dist/effect/generated/template-share-links.d.ts +1 -1
  177. package/dist/effect/generated/templates.d.ts +1 -1
  178. package/dist/effect/generated/topic-forms.d.ts +1 -1
  179. package/dist/effect/generated/topics.d.ts +1 -1
  180. package/dist/effect/generated/webhooks.d.ts +1 -1
  181. package/dist/effect/generated/whats-app-flows.d.ts +1 -1
  182. package/dist/effect/generated/whats-app-setup-links.d.ts +1 -1
  183. package/dist/effect/generated/whats-app.d.ts +1 -1
  184. package/dist/effect/generated/whoami.d.ts +1 -1
  185. package/dist/effect/generated-metadata.d.ts +18 -84
  186. package/dist/effect/generated-metadata.js +362 -415
  187. package/dist/effect/index.d.ts +45 -47
  188. package/dist/effect/index.js +1 -3
  189. package/dist/effect/integrations-catalog.d.ts +3 -3
  190. package/dist/effect/integrations-catalog.js +2 -1
  191. package/dist/effect/integrations.d.ts +11 -11
  192. package/dist/effect/integrations.js +2 -1
  193. package/dist/effect/internal/client.d.ts +3 -3
  194. package/dist/effect/internal/client.js +1 -1
  195. package/dist/effect/internal/email-sender.d.ts +4 -4
  196. package/dist/effect/internal/mailbox-events.d.ts +2 -2
  197. package/dist/effect/internal/operation.d.ts +24 -5
  198. package/dist/effect/internal/operation.js +25 -22
  199. package/dist/effect/internal/send.d.ts +4 -4
  200. package/dist/effect/journeys.d.ts +46 -22
  201. package/dist/effect/journeys.js +2 -1
  202. package/dist/effect/mailboxes.d.ts +163 -163
  203. package/dist/effect/mailboxes.js +2 -1
  204. package/dist/effect/media.d.ts +5 -5
  205. package/dist/effect/media.js +2 -1
  206. package/dist/effect/messages.d.ts +17 -17
  207. package/dist/effect/messages.js +2 -1
  208. package/dist/effect/namespaces.d.ts +15 -15
  209. package/dist/effect/namespaces.js +2 -1
  210. package/dist/effect/newsletter-domains.d.ts +6 -6
  211. package/dist/effect/newsletter-domains.js +2 -1
  212. package/dist/effect/newsletter-issues.d.ts +11 -11
  213. package/dist/effect/newsletter-issues.js +2 -1
  214. package/dist/effect/newsletters.d.ts +5 -5
  215. package/dist/effect/newsletters.js +2 -1
  216. package/dist/effect/operations.d.ts +5 -5
  217. package/dist/effect/operations.js +2 -1
  218. package/dist/effect/organizations.d.ts +12 -12
  219. package/dist/effect/organizations.js +2 -1
  220. package/dist/effect/policies.d.ts +3 -3
  221. package/dist/effect/policies.js +2 -1
  222. package/dist/effect/scheduled-messages.d.ts +371 -371
  223. package/dist/effect/scheduled-messages.js +2 -1
  224. package/dist/effect/subscriptions.d.ts +1 -1
  225. package/dist/effect/subscriptions.js +2 -1
  226. package/dist/effect/template-registrations.d.ts +3 -3
  227. package/dist/effect/template-registrations.js +2 -1
  228. package/dist/effect/template-share-links.d.ts +5 -5
  229. package/dist/effect/template-share-links.js +2 -1
  230. package/dist/effect/templates.d.ts +46 -46
  231. package/dist/effect/templates.js +2 -1
  232. package/dist/effect/topic-forms.d.ts +5 -5
  233. package/dist/effect/topic-forms.js +2 -1
  234. package/dist/effect/topics.d.ts +13 -13
  235. package/dist/effect/topics.js +2 -1
  236. package/dist/effect/webhooks.d.ts +16 -16
  237. package/dist/effect/webhooks.js +2 -1
  238. package/dist/effect/whatsapp-flows.d.ts +10 -10
  239. package/dist/effect/whatsapp-flows.js +2 -1
  240. package/dist/effect/whatsapp-setup-links.d.ts +6 -6
  241. package/dist/effect/whatsapp-setup-links.js +2 -1
  242. package/dist/effect/whatsapp.d.ts +12 -12
  243. package/dist/effect/whatsapp.js +2 -1
  244. package/dist/effect/whoami.d.ts +1 -1
  245. package/dist/effect/whoami.js +2 -1
  246. package/dist/index.d.ts +1 -1
  247. package/dist/package.js +1 -1
  248. package/dist/promises/client.d.ts +10 -14
  249. package/dist/promises/client.js +3 -7
  250. package/dist/promises/errors.gen.d.ts +1 -1
  251. package/dist/promises/index.d.ts +5 -5
  252. package/dist/promises/request.d.ts +2 -2
  253. package/dist/promises/request.js +1 -1
  254. package/dist/promises/types.gen.d.ts +1 -1
  255. package/dist/request-policy.d.ts +10 -2
  256. package/dist/request-policy.js +3 -5
  257. package/dist/service-map.d.ts +18 -75
  258. package/package.json +17 -29
  259. package/dist/effect/extension-installations.d.ts +0 -132
  260. package/dist/effect/extension-installations.js +0 -28
  261. package/dist/effect/extensions.d.ts +0 -102
  262. package/dist/effect/extensions.js +0 -20
  263. package/dist/effect/generated/extension-installations.d.ts +0 -2761
  264. package/dist/effect/generated/extension-installations.js +0 -405
  265. package/dist/effect/generated/extensions.d.ts +0 -1037
  266. package/dist/effect/generated/extensions.js +0 -214
  267. package/dist/mailbox/dispatch.d.ts +0 -10
  268. package/dist/mailbox/dispatch.js +0 -66
  269. package/dist/mailbox/index.d.ts +0 -17
  270. package/dist/mailbox/index.js +0 -30
  271. package/dist/mailbox/test.d.ts +0 -25
  272. package/dist/mailbox/test.js +0 -181
  273. package/dist/mailbox/types.d.ts +0 -221
  274. package/dist/mailbox/webhook.d.ts +0 -10
  275. package/dist/mailbox/webhook.js +0 -41
  276. package/dist/service-map.js +0 -830
@@ -1,19 +1,8 @@
1
1
  export declare const preview: (input: {
2
2
  readonly content: {
3
- readonly channel: "email";
4
- readonly email: {
5
- readonly subject?: string | null | undefined;
6
- readonly html?: string | null | undefined;
3
+ readonly channel: "sms";
4
+ readonly sms: {
7
5
  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;
17
6
  readonly templateId?: string | null | undefined;
18
7
  readonly templateSlug?: string | null | undefined;
19
8
  readonly templateData?: {
@@ -43,32 +32,7 @@ export declare const preview: (input: {
43
32
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
44
33
  } | null | undefined;
45
34
  } | 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;
62
35
  };
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;
72
36
  readonly conversationId?: string | null | undefined;
73
37
  readonly metadata?: {
74
38
  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 | {
@@ -98,9 +62,20 @@ export declare const preview: (input: {
98
62
  } | null | undefined;
99
63
  } | null | undefined;
100
64
  } | {
101
- readonly channel: "sms";
102
- readonly sms: {
65
+ readonly channel: "email";
66
+ readonly email: {
67
+ readonly subject?: string | null | undefined;
68
+ readonly html?: string | null | undefined;
103
69
  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;
104
79
  readonly templateId?: string | null | undefined;
105
80
  readonly templateSlug?: string | null | undefined;
106
81
  readonly templateData?: {
@@ -130,7 +105,32 @@ export declare const preview: (input: {
130
105
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
131
106
  } | null | undefined;
132
107
  } | 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;
133
124
  };
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,23 +236,12 @@ 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: "email";
243
- readonly email: {
244
- readonly subject?: string | null | undefined;
245
- readonly html?: string | null | undefined;
242
+ readonly channel: "sms";
243
+ readonly sms: {
246
244
  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;
256
245
  readonly templateId?: string | null | undefined;
257
246
  readonly templateSlug?: string | null | undefined;
258
247
  readonly templateData?: {
@@ -282,32 +271,7 @@ export declare const sendTest: (input: {
282
271
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
283
272
  } | null | undefined;
284
273
  } | 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;
301
274
  };
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;
311
275
  readonly conversationId?: string | null | undefined;
312
276
  readonly metadata?: {
313
277
  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 | {
@@ -337,9 +301,20 @@ export declare const sendTest: (input: {
337
301
  } | null | undefined;
338
302
  } | null | undefined;
339
303
  } | {
340
- readonly channel: "sms";
341
- readonly sms: {
304
+ readonly channel: "email";
305
+ readonly email: {
306
+ readonly subject?: string | null | undefined;
307
+ readonly html?: string | null | undefined;
342
308
  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;
343
318
  readonly templateId?: string | null | undefined;
344
319
  readonly templateSlug?: string | null | undefined;
345
320
  readonly templateData?: {
@@ -369,7 +344,32 @@ export declare const sendTest: (input: {
369
344
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
370
345
  } | null | undefined;
371
346
  } | 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;
372
363
  };
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,25 +475,14 @@ 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: "email";
484
- readonly email: {
485
- readonly subject?: string | null | undefined;
486
- readonly html?: string | null | undefined;
483
+ readonly channel: "sms";
484
+ readonly sms: {
487
485
  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;
497
486
  readonly templateId?: string | null | undefined;
498
487
  readonly templateSlug?: string | null | undefined;
499
488
  readonly templateData?: {
@@ -523,32 +512,7 @@ export declare const create: (input: {
523
512
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
524
513
  } | null | undefined;
525
514
  } | 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;
542
515
  };
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;
552
516
  readonly conversationId?: string | null | undefined;
553
517
  readonly metadata?: {
554
518
  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 | {
@@ -578,9 +542,20 @@ export declare const create: (input: {
578
542
  } | null | undefined;
579
543
  } | null | undefined;
580
544
  } | {
581
- readonly channel: "sms";
582
- readonly sms: {
545
+ readonly channel: "email";
546
+ readonly email: {
547
+ readonly subject?: string | null | undefined;
548
+ readonly html?: string | null | undefined;
583
549
  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;
584
559
  readonly templateId?: string | null | undefined;
585
560
  readonly templateSlug?: string | null | undefined;
586
561
  readonly templateData?: {
@@ -610,7 +585,32 @@ export declare const create: (input: {
610
585
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
611
586
  } | null | undefined;
612
587
  } | 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;
613
604
  };
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,29 +978,18 @@ 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: "email";
991
- readonly email: {
992
- readonly subject?: string | null | undefined;
993
- readonly html?: string | null | undefined;
990
+ readonly channel: "sms";
991
+ readonly sms: {
994
992
  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;
1004
993
  readonly templateId?: string | null | undefined;
1005
994
  readonly templateSlug?: string | null | undefined;
1006
995
  readonly templateData?: {
@@ -1030,32 +1019,7 @@ export declare const update: (input: {
1030
1019
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
1031
1020
  } | null | undefined;
1032
1021
  } | 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;
1049
1022
  };
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;
1059
1023
  readonly conversationId?: string | null | undefined;
1060
1024
  readonly metadata?: {
1061
1025
  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 | {
@@ -1085,9 +1049,20 @@ export declare const update: (input: {
1085
1049
  } | null | undefined;
1086
1050
  } | null | undefined;
1087
1051
  } | {
1088
- readonly channel: "sms";
1089
- readonly sms: {
1052
+ readonly channel: "email";
1053
+ readonly email: {
1054
+ readonly subject?: string | null | undefined;
1055
+ readonly html?: string | null | undefined;
1090
1056
  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;
1091
1066
  readonly templateId?: string | null | undefined;
1092
1067
  readonly templateSlug?: string | null | undefined;
1093
1068
  readonly templateData?: {
@@ -1117,7 +1092,32 @@ export declare const update: (input: {
1117
1092
  readonly [x: string]: string | number | boolean | any | any | null | undefined;
1118
1093
  } | null | undefined;
1119
1094
  } | 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;
1120
1111
  };
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
  };