@zavudev/sdk 0.17.0 → 0.18.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 (185) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/client.d.mts +11 -5
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +11 -5
  5. package/client.d.ts.map +1 -1
  6. package/client.js +7 -1
  7. package/client.js.map +1 -1
  8. package/client.mjs +7 -1
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/addresses.d.mts +104 -0
  12. package/resources/addresses.d.mts.map +1 -0
  13. package/resources/addresses.d.ts +104 -0
  14. package/resources/addresses.d.ts.map +1 -0
  15. package/resources/addresses.js +72 -0
  16. package/resources/addresses.js.map +1 -0
  17. package/resources/addresses.mjs +68 -0
  18. package/resources/addresses.mjs.map +1 -0
  19. package/resources/broadcasts/broadcasts.d.mts +23 -1
  20. package/resources/broadcasts/broadcasts.d.mts.map +1 -1
  21. package/resources/broadcasts/broadcasts.d.ts +23 -1
  22. package/resources/broadcasts/broadcasts.d.ts.map +1 -1
  23. package/resources/broadcasts/broadcasts.js +15 -0
  24. package/resources/broadcasts/broadcasts.js.map +1 -1
  25. package/resources/broadcasts/broadcasts.mjs +15 -0
  26. package/resources/broadcasts/broadcasts.mjs.map +1 -1
  27. package/resources/broadcasts/index.d.mts +1 -1
  28. package/resources/broadcasts/index.d.mts.map +1 -1
  29. package/resources/broadcasts/index.d.ts +1 -1
  30. package/resources/broadcasts/index.d.ts.map +1 -1
  31. package/resources/broadcasts/index.js.map +1 -1
  32. package/resources/broadcasts/index.mjs.map +1 -1
  33. package/resources/index.d.mts +5 -3
  34. package/resources/index.d.mts.map +1 -1
  35. package/resources/index.d.ts +5 -3
  36. package/resources/index.d.ts.map +1 -1
  37. package/resources/index.js +6 -2
  38. package/resources/index.js.map +1 -1
  39. package/resources/index.mjs +3 -1
  40. package/resources/index.mjs.map +1 -1
  41. package/resources/phone-numbers.d.mts +67 -1
  42. package/resources/phone-numbers.d.mts.map +1 -1
  43. package/resources/phone-numbers.d.ts +67 -1
  44. package/resources/phone-numbers.d.ts.map +1 -1
  45. package/resources/phone-numbers.js +15 -0
  46. package/resources/phone-numbers.js.map +1 -1
  47. package/resources/phone-numbers.mjs +15 -0
  48. package/resources/phone-numbers.mjs.map +1 -1
  49. package/resources/regulatory-documents.d.mts +114 -0
  50. package/resources/regulatory-documents.d.mts.map +1 -0
  51. package/resources/regulatory-documents.d.ts +114 -0
  52. package/resources/regulatory-documents.d.ts.map +1 -0
  53. package/resources/regulatory-documents.js +84 -0
  54. package/resources/regulatory-documents.js.map +1 -0
  55. package/resources/regulatory-documents.mjs +80 -0
  56. package/resources/regulatory-documents.mjs.map +1 -0
  57. package/resources/senders/agent/agent.d.mts +230 -0
  58. package/resources/senders/agent/agent.d.mts.map +1 -0
  59. package/resources/senders/agent/agent.d.ts +230 -0
  60. package/resources/senders/agent/agent.d.ts.map +1 -0
  61. package/resources/senders/agent/agent.js +105 -0
  62. package/resources/senders/agent/agent.js.map +1 -0
  63. package/resources/senders/agent/agent.mjs +100 -0
  64. package/resources/senders/agent/agent.mjs.map +1 -0
  65. package/resources/senders/agent/executions.d.mts +32 -0
  66. package/resources/senders/agent/executions.d.mts.map +1 -0
  67. package/resources/senders/agent/executions.d.ts +32 -0
  68. package/resources/senders/agent/executions.d.ts.map +1 -0
  69. package/resources/senders/agent/executions.js +27 -0
  70. package/resources/senders/agent/executions.js.map +1 -0
  71. package/resources/senders/agent/executions.mjs +23 -0
  72. package/resources/senders/agent/executions.mjs.map +1 -0
  73. package/resources/senders/agent/flows.d.mts +301 -0
  74. package/resources/senders/agent/flows.d.mts.map +1 -0
  75. package/resources/senders/agent/flows.d.ts +301 -0
  76. package/resources/senders/agent/flows.d.ts.map +1 -0
  77. package/resources/senders/agent/flows.js +135 -0
  78. package/resources/senders/agent/flows.js.map +1 -0
  79. package/resources/senders/agent/flows.mjs +131 -0
  80. package/resources/senders/agent/flows.mjs.map +1 -0
  81. package/resources/senders/agent/index.d.mts +6 -0
  82. package/resources/senders/agent/index.d.mts.map +1 -0
  83. package/resources/senders/agent/index.d.ts +6 -0
  84. package/resources/senders/agent/index.d.ts.map +1 -0
  85. package/resources/senders/agent/index.js +15 -0
  86. package/resources/senders/agent/index.js.map +1 -0
  87. package/resources/senders/agent/index.mjs +7 -0
  88. package/resources/senders/agent/index.mjs.map +1 -0
  89. package/resources/senders/agent/knowledge-bases/documents.d.mts +86 -0
  90. package/resources/senders/agent/knowledge-bases/documents.d.mts.map +1 -0
  91. package/resources/senders/agent/knowledge-bases/documents.d.ts +86 -0
  92. package/resources/senders/agent/knowledge-bases/documents.d.ts.map +1 -0
  93. package/resources/senders/agent/knowledge-bases/documents.js +70 -0
  94. package/resources/senders/agent/knowledge-bases/documents.js.map +1 -0
  95. package/resources/senders/agent/knowledge-bases/documents.mjs +66 -0
  96. package/resources/senders/agent/knowledge-bases/documents.mjs.map +1 -0
  97. package/resources/senders/agent/knowledge-bases/index.d.mts +3 -0
  98. package/resources/senders/agent/knowledge-bases/index.d.mts.map +1 -0
  99. package/resources/senders/agent/knowledge-bases/index.d.ts +3 -0
  100. package/resources/senders/agent/knowledge-bases/index.d.ts.map +1 -0
  101. package/resources/senders/agent/knowledge-bases/index.js +9 -0
  102. package/resources/senders/agent/knowledge-bases/index.js.map +1 -0
  103. package/resources/senders/agent/knowledge-bases/index.mjs +4 -0
  104. package/resources/senders/agent/knowledge-bases/index.mjs.map +1 -0
  105. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.mts +147 -0
  106. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.mts.map +1 -0
  107. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.ts +147 -0
  108. package/resources/senders/agent/knowledge-bases/knowledge-bases.d.ts.map +1 -0
  109. package/resources/senders/agent/knowledge-bases/knowledge-bases.js +106 -0
  110. package/resources/senders/agent/knowledge-bases/knowledge-bases.js.map +1 -0
  111. package/resources/senders/agent/knowledge-bases/knowledge-bases.mjs +101 -0
  112. package/resources/senders/agent/knowledge-bases/knowledge-bases.mjs.map +1 -0
  113. package/resources/senders/agent/knowledge-bases.d.mts +2 -0
  114. package/resources/senders/agent/knowledge-bases.d.mts.map +1 -0
  115. package/resources/senders/agent/knowledge-bases.d.ts +2 -0
  116. package/resources/senders/agent/knowledge-bases.d.ts.map +1 -0
  117. package/resources/senders/agent/knowledge-bases.js +6 -0
  118. package/resources/senders/agent/knowledge-bases.js.map +1 -0
  119. package/resources/senders/agent/knowledge-bases.mjs +3 -0
  120. package/resources/senders/agent/knowledge-bases.mjs.map +1 -0
  121. package/resources/senders/agent/tools.d.mts +242 -0
  122. package/resources/senders/agent/tools.d.mts.map +1 -0
  123. package/resources/senders/agent/tools.d.ts +242 -0
  124. package/resources/senders/agent/tools.d.ts.map +1 -0
  125. package/resources/senders/agent/tools.js +126 -0
  126. package/resources/senders/agent/tools.js.map +1 -0
  127. package/resources/senders/agent/tools.mjs +122 -0
  128. package/resources/senders/agent/tools.mjs.map +1 -0
  129. package/resources/senders/agent.d.mts +2 -0
  130. package/resources/senders/agent.d.mts.map +1 -0
  131. package/resources/senders/agent.d.ts +2 -0
  132. package/resources/senders/agent.d.ts.map +1 -0
  133. package/resources/senders/agent.js +6 -0
  134. package/resources/senders/agent.js.map +1 -0
  135. package/resources/senders/agent.mjs +3 -0
  136. package/resources/senders/agent.mjs.map +1 -0
  137. package/resources/senders/index.d.mts +3 -0
  138. package/resources/senders/index.d.mts.map +1 -0
  139. package/resources/senders/index.d.ts +3 -0
  140. package/resources/senders/index.d.ts.map +1 -0
  141. package/resources/senders/index.js +9 -0
  142. package/resources/senders/index.js.map +1 -0
  143. package/resources/senders/index.mjs +4 -0
  144. package/resources/senders/index.mjs.map +1 -0
  145. package/resources/senders/senders.d.mts +342 -0
  146. package/resources/senders/senders.d.mts.map +1 -0
  147. package/resources/senders/senders.d.ts +342 -0
  148. package/resources/senders/senders.d.ts.map +1 -0
  149. package/resources/senders/senders.js +150 -0
  150. package/resources/senders/senders.js.map +1 -0
  151. package/resources/senders/senders.mjs +145 -0
  152. package/resources/senders/senders.mjs.map +1 -0
  153. package/resources/senders.d.mts +1 -337
  154. package/resources/senders.d.mts.map +1 -1
  155. package/resources/senders.d.ts +1 -337
  156. package/resources/senders.d.ts.map +1 -1
  157. package/resources/senders.js +2 -138
  158. package/resources/senders.js.map +1 -1
  159. package/resources/senders.mjs +1 -136
  160. package/resources/senders.mjs.map +1 -1
  161. package/src/client.ts +79 -17
  162. package/src/resources/addresses.ts +160 -0
  163. package/src/resources/broadcasts/broadcasts.ts +33 -0
  164. package/src/resources/broadcasts/index.ts +2 -0
  165. package/src/resources/index.ts +29 -1
  166. package/src/resources/phone-numbers.ts +97 -0
  167. package/src/resources/regulatory-documents.ts +184 -0
  168. package/src/resources/senders/agent/agent.ts +417 -0
  169. package/src/resources/senders/agent/executions.ts +48 -0
  170. package/src/resources/senders/agent/flows.ts +409 -0
  171. package/src/resources/senders/agent/index.ts +60 -0
  172. package/src/resources/senders/agent/knowledge-bases/documents.ts +133 -0
  173. package/src/resources/senders/agent/knowledge-bases/index.ts +24 -0
  174. package/src/resources/senders/agent/knowledge-bases/knowledge-bases.ts +251 -0
  175. package/src/resources/senders/agent/knowledge-bases.ts +3 -0
  176. package/src/resources/senders/agent/tools.ts +334 -0
  177. package/src/resources/senders/agent.ts +3 -0
  178. package/src/resources/senders/index.ts +32 -0
  179. package/src/resources/senders/senders.ts +506 -0
  180. package/src/resources/senders.ts +1 -476
  181. package/src/version.ts +1 -1
  182. package/version.d.mts +1 -1
  183. package/version.d.ts +1 -1
  184. package/version.js +1 -1
  185. package/version.mjs +1 -1
@@ -0,0 +1,342 @@
1
+ import { APIResource } from "../../core/resource.mjs";
2
+ import * as AgentAPI from "./agent/agent.mjs";
3
+ import { Agent, AgentCreateParams, AgentExecution, AgentExecutionStatus, AgentProvider, AgentResource, AgentResponse, AgentStats, AgentUpdateParams } from "./agent/agent.mjs";
4
+ import { APIPromise } from "../../core/api-promise.mjs";
5
+ import { Cursor, type CursorParams, PagePromise } from "../../core/pagination.mjs";
6
+ import { RequestOptions } from "../../internal/request-options.mjs";
7
+ export declare class Senders extends APIResource {
8
+ agent: AgentAPI.AgentResource;
9
+ /**
10
+ * Create sender
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const sender = await client.senders.create({
15
+ * name: 'name',
16
+ * phoneNumber: 'phoneNumber',
17
+ * });
18
+ * ```
19
+ */
20
+ create(body: SenderCreateParams, options?: RequestOptions): APIPromise<Sender>;
21
+ /**
22
+ * Get sender
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * const sender = await client.senders.retrieve('senderId');
27
+ * ```
28
+ */
29
+ retrieve(senderID: string, options?: RequestOptions): APIPromise<Sender>;
30
+ /**
31
+ * Update sender
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const sender = await client.senders.update('senderId');
36
+ * ```
37
+ */
38
+ update(senderID: string, body: SenderUpdateParams, options?: RequestOptions): APIPromise<Sender>;
39
+ /**
40
+ * List senders
41
+ *
42
+ * @example
43
+ * ```ts
44
+ * // Automatically fetches more pages as needed.
45
+ * for await (const sender of client.senders.list()) {
46
+ * // ...
47
+ * }
48
+ * ```
49
+ */
50
+ list(query?: SenderListParams | null | undefined, options?: RequestOptions): PagePromise<SendersCursor, Sender>;
51
+ /**
52
+ * Delete sender
53
+ *
54
+ * @example
55
+ * ```ts
56
+ * await client.senders.delete('senderId');
57
+ * ```
58
+ */
59
+ delete(senderID: string, options?: RequestOptions): APIPromise<void>;
60
+ /**
61
+ * Get the WhatsApp Business profile for a sender. The sender must have a WhatsApp
62
+ * Business Account connected.
63
+ *
64
+ * @example
65
+ * ```ts
66
+ * const whatsappBusinessProfileResponse =
67
+ * await client.senders.getProfile('senderId');
68
+ * ```
69
+ */
70
+ getProfile(senderID: string, options?: RequestOptions): APIPromise<WhatsappBusinessProfileResponse>;
71
+ /**
72
+ * Regenerate the webhook secret for a sender. The old secret will be invalidated
73
+ * immediately.
74
+ *
75
+ * @example
76
+ * ```ts
77
+ * const webhookSecretResponse =
78
+ * await client.senders.regenerateWebhookSecret('senderId');
79
+ * ```
80
+ */
81
+ regenerateWebhookSecret(senderID: string, options?: RequestOptions): APIPromise<WebhookSecretResponse>;
82
+ /**
83
+ * Update the WhatsApp Business profile for a sender. The sender must have a
84
+ * WhatsApp Business Account connected.
85
+ *
86
+ * @example
87
+ * ```ts
88
+ * const response = await client.senders.updateProfile(
89
+ * 'senderId',
90
+ * {
91
+ * about: 'Succulent specialists!',
92
+ * description:
93
+ * 'We specialize in providing high-quality succulents.',
94
+ * email: 'contact@example.com',
95
+ * vertical: 'RETAIL',
96
+ * websites: ['https://www.example.com'],
97
+ * },
98
+ * );
99
+ * ```
100
+ */
101
+ updateProfile(senderID: string, body: SenderUpdateProfileParams, options?: RequestOptions): APIPromise<SenderUpdateProfileResponse>;
102
+ /**
103
+ * Upload a new profile picture for the WhatsApp Business profile. The image will
104
+ * be uploaded to Meta and set as the profile picture.
105
+ *
106
+ * @example
107
+ * ```ts
108
+ * const response = await client.senders.uploadProfilePicture(
109
+ * 'senderId',
110
+ * {
111
+ * imageUrl: 'https://example.com/profile.jpg',
112
+ * mimeType: 'image/jpeg',
113
+ * },
114
+ * );
115
+ * ```
116
+ */
117
+ uploadProfilePicture(senderID: string, body: SenderUploadProfilePictureParams, options?: RequestOptions): APIPromise<SenderUploadProfilePictureResponse>;
118
+ }
119
+ export type SendersCursor = Cursor<Sender>;
120
+ export interface Sender {
121
+ id: string;
122
+ name: string;
123
+ /**
124
+ * Phone number in E.164 format.
125
+ */
126
+ phoneNumber: string;
127
+ createdAt?: string;
128
+ /**
129
+ * Whether this sender is the project's default.
130
+ */
131
+ isDefault?: boolean;
132
+ updatedAt?: string;
133
+ /**
134
+ * Webhook configuration for the sender.
135
+ */
136
+ webhook?: SenderWebhook;
137
+ /**
138
+ * WhatsApp Business Account information. Only present if a WABA is connected.
139
+ */
140
+ whatsapp?: Sender.Whatsapp;
141
+ }
142
+ export declare namespace Sender {
143
+ /**
144
+ * WhatsApp Business Account information. Only present if a WABA is connected.
145
+ */
146
+ interface Whatsapp {
147
+ /**
148
+ * Display phone number.
149
+ */
150
+ displayPhoneNumber?: string;
151
+ /**
152
+ * Payment configuration status from Meta.
153
+ */
154
+ paymentStatus?: Whatsapp.PaymentStatus;
155
+ /**
156
+ * WhatsApp phone number ID from Meta.
157
+ */
158
+ phoneNumberId?: string;
159
+ }
160
+ namespace Whatsapp {
161
+ /**
162
+ * Payment configuration status from Meta.
163
+ */
164
+ interface PaymentStatus {
165
+ /**
166
+ * Whether template messages can be sent. Requires setupStatus=COMPLETE and
167
+ * methodStatus=VALID.
168
+ */
169
+ canSendTemplates?: boolean;
170
+ /**
171
+ * Payment method status (VALID, NONE, etc.).
172
+ */
173
+ methodStatus?: string;
174
+ /**
175
+ * Payment setup status (COMPLETE, NOT_STARTED, etc.).
176
+ */
177
+ setupStatus?: string;
178
+ }
179
+ }
180
+ }
181
+ /**
182
+ * Webhook configuration for the sender.
183
+ */
184
+ export interface SenderWebhook {
185
+ /**
186
+ * Whether the webhook is active.
187
+ */
188
+ active: boolean;
189
+ /**
190
+ * List of events the webhook is subscribed to.
191
+ */
192
+ events: Array<WebhookEvent>;
193
+ /**
194
+ * HTTPS URL that will receive webhook events.
195
+ */
196
+ url: string;
197
+ /**
198
+ * Webhook secret for signature verification. Only returned on create or
199
+ * regenerate.
200
+ */
201
+ secret?: string;
202
+ }
203
+ /**
204
+ * Type of event that triggers the webhook. Note: Reactions are delivered as
205
+ * message.inbound with messageType='reaction'.
206
+ */
207
+ export type WebhookEvent = 'message.queued' | 'message.sent' | 'message.delivered' | 'message.failed' | 'message.inbound' | 'message.unsupported' | 'conversation.new' | 'template.status_changed';
208
+ export interface WebhookSecretResponse {
209
+ /**
210
+ * The new webhook secret.
211
+ */
212
+ secret: string;
213
+ }
214
+ /**
215
+ * WhatsApp Business profile information.
216
+ */
217
+ export interface WhatsappBusinessProfile {
218
+ /**
219
+ * Short description of the business (max 139 characters).
220
+ */
221
+ about?: string;
222
+ /**
223
+ * Physical address of the business (max 256 characters).
224
+ */
225
+ address?: string;
226
+ /**
227
+ * Extended description of the business (max 512 characters).
228
+ */
229
+ description?: string;
230
+ /**
231
+ * Business email address.
232
+ */
233
+ email?: string;
234
+ /**
235
+ * URL of the business profile picture.
236
+ */
237
+ profilePictureUrl?: string;
238
+ /**
239
+ * Business category for WhatsApp Business profile.
240
+ */
241
+ vertical?: WhatsappBusinessProfileVertical;
242
+ /**
243
+ * Business website URLs (maximum 2).
244
+ */
245
+ websites?: Array<string>;
246
+ }
247
+ export interface WhatsappBusinessProfileResponse {
248
+ /**
249
+ * WhatsApp Business profile information.
250
+ */
251
+ profile: WhatsappBusinessProfile;
252
+ }
253
+ /**
254
+ * Business category for WhatsApp Business profile.
255
+ */
256
+ export type WhatsappBusinessProfileVertical = 'UNDEFINED' | 'OTHER' | 'AUTO' | 'BEAUTY' | 'APPAREL' | 'EDU' | 'ENTERTAIN' | 'EVENT_PLAN' | 'FINANCE' | 'GROCERY' | 'GOVT' | 'HOTEL' | 'HEALTH' | 'NONPROFIT' | 'PROF_SERVICES' | 'RETAIL' | 'TRAVEL' | 'RESTAURANT' | 'NOT_A_BIZ';
257
+ export interface SenderUpdateProfileResponse {
258
+ /**
259
+ * WhatsApp Business profile information.
260
+ */
261
+ profile: WhatsappBusinessProfile;
262
+ success: boolean;
263
+ }
264
+ export interface SenderUploadProfilePictureResponse {
265
+ /**
266
+ * WhatsApp Business profile information.
267
+ */
268
+ profile: WhatsappBusinessProfile;
269
+ success: boolean;
270
+ }
271
+ export interface SenderCreateParams {
272
+ name: string;
273
+ phoneNumber: string;
274
+ setAsDefault?: boolean;
275
+ /**
276
+ * Events to subscribe to.
277
+ */
278
+ webhookEvents?: Array<WebhookEvent>;
279
+ /**
280
+ * HTTPS URL for webhook events.
281
+ */
282
+ webhookUrl?: string;
283
+ }
284
+ export interface SenderUpdateParams {
285
+ name?: string;
286
+ setAsDefault?: boolean;
287
+ /**
288
+ * Whether the webhook is active.
289
+ */
290
+ webhookActive?: boolean;
291
+ /**
292
+ * Events to subscribe to.
293
+ */
294
+ webhookEvents?: Array<WebhookEvent>;
295
+ /**
296
+ * HTTPS URL for webhook events. Set to null to remove webhook.
297
+ */
298
+ webhookUrl?: string | null;
299
+ }
300
+ export interface SenderListParams extends CursorParams {
301
+ }
302
+ export interface SenderUpdateProfileParams {
303
+ /**
304
+ * Short description of the business (max 139 characters).
305
+ */
306
+ about?: string;
307
+ /**
308
+ * Physical address of the business (max 256 characters).
309
+ */
310
+ address?: string;
311
+ /**
312
+ * Extended description of the business (max 512 characters).
313
+ */
314
+ description?: string;
315
+ /**
316
+ * Business email address.
317
+ */
318
+ email?: string;
319
+ /**
320
+ * Business category for WhatsApp Business profile.
321
+ */
322
+ vertical?: WhatsappBusinessProfileVertical;
323
+ /**
324
+ * Business website URLs (maximum 2).
325
+ */
326
+ websites?: Array<string>;
327
+ }
328
+ export interface SenderUploadProfilePictureParams {
329
+ /**
330
+ * URL of the image to upload.
331
+ */
332
+ imageUrl: string;
333
+ /**
334
+ * MIME type of the image.
335
+ */
336
+ mimeType: 'image/jpeg' | 'image/png';
337
+ }
338
+ export declare namespace Senders {
339
+ export { type Sender as Sender, type SenderWebhook as SenderWebhook, type WebhookEvent as WebhookEvent, type WebhookSecretResponse as WebhookSecretResponse, type WhatsappBusinessProfile as WhatsappBusinessProfile, type WhatsappBusinessProfileResponse as WhatsappBusinessProfileResponse, type WhatsappBusinessProfileVertical as WhatsappBusinessProfileVertical, type SenderUpdateProfileResponse as SenderUpdateProfileResponse, type SenderUploadProfilePictureResponse as SenderUploadProfilePictureResponse, type SendersCursor as SendersCursor, type SenderCreateParams as SenderCreateParams, type SenderUpdateParams as SenderUpdateParams, type SenderListParams as SenderListParams, type SenderUpdateProfileParams as SenderUpdateProfileParams, type SenderUploadProfilePictureParams as SenderUploadProfilePictureParams, };
340
+ export { AgentResource as AgentResource, type Agent as Agent, type AgentExecution as AgentExecution, type AgentExecutionStatus as AgentExecutionStatus, type AgentProvider as AgentProvider, type AgentResponse as AgentResponse, type AgentStats as AgentStats, type AgentCreateParams as AgentCreateParams, type AgentUpdateParams as AgentUpdateParams, };
341
+ }
342
+ //# sourceMappingURL=senders.d.mts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"senders.d.mts","sourceRoot":"","sources":["../../src/resources/senders/senders.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,QAAQ;OACb,EACL,KAAK,EACL,iBAAiB,EACjB,cAAc,EACd,oBAAoB,EACpB,aAAa,EACb,aAAa,EACb,aAAa,EACb,UAAU,EACV,iBAAiB,EAClB;OACM,EAAE,UAAU,EAAE;OACd,EAAE,MAAM,EAAE,KAAK,YAAY,EAAE,WAAW,EAAE;OAE1C,EAAE,cAAc,EAAE;AAGzB,qBAAa,OAAQ,SAAQ,WAAW;IACtC,KAAK,EAAE,QAAQ,CAAC,aAAa,CAA4C;IAEzE;;;;;;;;;;OAUG;IACH,MAAM,CAAC,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAI9E;;;;;;;OAOG;IACH,QAAQ,CAAC,QAAQ,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAIxE;;;;;;;OAOG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM,EAAE,IAAI,EAAE,kBAAkB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,MAAM,CAAC;IAIhG;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,gBAAgB,GAAG,IAAI,GAAG,SAAc,EAC/C,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,aAAa,EAAE,MAAM,CAAC;IAIrC;;;;;;;OAOG;IACH,MAAM,CAAC,QAAQ,EAAE,MAAM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
+ import * as AgentAPI from "./agent/agent.js";
3
+ import { Agent, AgentCreateParams, AgentExecution, AgentExecutionStatus, AgentProvider, AgentResource, AgentResponse, AgentStats, AgentUpdateParams } from "./agent/agent.js";
4
+ import { APIPromise } from "../../core/api-promise.js";
5
+ import { Cursor, type CursorParams, PagePromise } from "../../core/pagination.js";
6
+ import { RequestOptions } from "../../internal/request-options.js";
7
+ export declare class Senders extends APIResource {
8
+ agent: AgentAPI.AgentResource;
9
+ /**
10
+ * Create sender
11
+ *
12
+ * @example
13
+ * ```ts
14
+ * const sender = await client.senders.create({
15
+ * name: 'name',
16
+ * phoneNumber: 'phoneNumber',
17
+ * });
18
+ * ```
19
+ */
20
+ create(body: SenderCreateParams, options?: RequestOptions): APIPromise<Sender>;
21
+ /**
22
+ * Get sender
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * const sender = await client.senders.retrieve('senderId');
27
+ * ```
28
+ */
29
+ retrieve(senderID: string, options?: RequestOptions): APIPromise<Sender>;
30
+ /**
31
+ * Update sender
32
+ *
33
+ * @example
34
+ * ```ts
35
+ * const sender = await client.senders.update('senderId');
36
+ * ```
37
+ */
38
+ update(senderID: string, body: SenderUpdateParams, options?: RequestOptions): APIPromise<Sender>;
39
+ /**
40
+ * List senders
41
+ *
42
+ * @example
43
+ * ```ts
44
+ * // Automatically fetches more pages as needed.
45
+ * for await (const sender of client.senders.list()) {
46
+ * // ...
47
+ * }
48
+ * ```
49
+ */
50
+ list(query?: SenderListParams | null | undefined, options?: RequestOptions): PagePromise<SendersCursor, Sender>;
51
+ /**
52
+ * Delete sender
53
+ *
54
+ * @example
55
+ * ```ts
56
+ * await client.senders.delete('senderId');
57
+ * ```
58
+ */
59
+ delete(senderID: string, options?: RequestOptions): APIPromise<void>;
60
+ /**
61
+ * Get the WhatsApp Business profile for a sender. The sender must have a WhatsApp
62
+ * Business Account connected.
63
+ *
64
+ * @example
65
+ * ```ts
66
+ * const whatsappBusinessProfileResponse =
67
+ * await client.senders.getProfile('senderId');
68
+ * ```
69
+ */
70
+ getProfile(senderID: string, options?: RequestOptions): APIPromise<WhatsappBusinessProfileResponse>;
71
+ /**
72
+ * Regenerate the webhook secret for a sender. The old secret will be invalidated
73
+ * immediately.
74
+ *
75
+ * @example
76
+ * ```ts
77
+ * const webhookSecretResponse =
78
+ * await client.senders.regenerateWebhookSecret('senderId');
79
+ * ```
80
+ */
81
+ regenerateWebhookSecret(senderID: string, options?: RequestOptions): APIPromise<WebhookSecretResponse>;
82
+ /**
83
+ * Update the WhatsApp Business profile for a sender. The sender must have a
84
+ * WhatsApp Business Account connected.
85
+ *
86
+ * @example
87
+ * ```ts
88
+ * const response = await client.senders.updateProfile(
89
+ * 'senderId',
90
+ * {
91
+ * about: 'Succulent specialists!',
92
+ * description:
93
+ * 'We specialize in providing high-quality succulents.',
94
+ * email: 'contact@example.com',
95
+ * vertical: 'RETAIL',
96
+ * websites: ['https://www.example.com'],
97
+ * },
98
+ * );
99
+ * ```
100
+ */
101
+ updateProfile(senderID: string, body: SenderUpdateProfileParams, options?: RequestOptions): APIPromise<SenderUpdateProfileResponse>;
102
+ /**
103
+ * Upload a new profile picture for the WhatsApp Business profile. The image will
104
+ * be uploaded to Meta and set as the profile picture.
105
+ *
106
+ * @example
107
+ * ```ts
108
+ * const response = await client.senders.uploadProfilePicture(
109
+ * 'senderId',
110
+ * {
111
+ * imageUrl: 'https://example.com/profile.jpg',
112
+ * mimeType: 'image/jpeg',
113
+ * },
114
+ * );
115
+ * ```
116
+ */
117
+ uploadProfilePicture(senderID: string, body: SenderUploadProfilePictureParams, options?: RequestOptions): APIPromise<SenderUploadProfilePictureResponse>;
118
+ }
119
+ export type SendersCursor = Cursor<Sender>;
120
+ export interface Sender {
121
+ id: string;
122
+ name: string;
123
+ /**
124
+ * Phone number in E.164 format.
125
+ */
126
+ phoneNumber: string;
127
+ createdAt?: string;
128
+ /**
129
+ * Whether this sender is the project's default.
130
+ */
131
+ isDefault?: boolean;
132
+ updatedAt?: string;
133
+ /**
134
+ * Webhook configuration for the sender.
135
+ */
136
+ webhook?: SenderWebhook;
137
+ /**
138
+ * WhatsApp Business Account information. Only present if a WABA is connected.
139
+ */
140
+ whatsapp?: Sender.Whatsapp;
141
+ }
142
+ export declare namespace Sender {
143
+ /**
144
+ * WhatsApp Business Account information. Only present if a WABA is connected.
145
+ */
146
+ interface Whatsapp {
147
+ /**
148
+ * Display phone number.
149
+ */
150
+ displayPhoneNumber?: string;
151
+ /**
152
+ * Payment configuration status from Meta.
153
+ */
154
+ paymentStatus?: Whatsapp.PaymentStatus;
155
+ /**
156
+ * WhatsApp phone number ID from Meta.
157
+ */
158
+ phoneNumberId?: string;
159
+ }
160
+ namespace Whatsapp {
161
+ /**
162
+ * Payment configuration status from Meta.
163
+ */
164
+ interface PaymentStatus {
165
+ /**
166
+ * Whether template messages can be sent. Requires setupStatus=COMPLETE and
167
+ * methodStatus=VALID.
168
+ */
169
+ canSendTemplates?: boolean;
170
+ /**
171
+ * Payment method status (VALID, NONE, etc.).
172
+ */
173
+ methodStatus?: string;
174
+ /**
175
+ * Payment setup status (COMPLETE, NOT_STARTED, etc.).
176
+ */
177
+ setupStatus?: string;
178
+ }
179
+ }
180
+ }
181
+ /**
182
+ * Webhook configuration for the sender.
183
+ */
184
+ export interface SenderWebhook {
185
+ /**
186
+ * Whether the webhook is active.
187
+ */
188
+ active: boolean;
189
+ /**
190
+ * List of events the webhook is subscribed to.
191
+ */
192
+ events: Array<WebhookEvent>;
193
+ /**
194
+ * HTTPS URL that will receive webhook events.
195
+ */
196
+ url: string;
197
+ /**
198
+ * Webhook secret for signature verification. Only returned on create or
199
+ * regenerate.
200
+ */
201
+ secret?: string;
202
+ }
203
+ /**
204
+ * Type of event that triggers the webhook. Note: Reactions are delivered as
205
+ * message.inbound with messageType='reaction'.
206
+ */
207
+ export type WebhookEvent = 'message.queued' | 'message.sent' | 'message.delivered' | 'message.failed' | 'message.inbound' | 'message.unsupported' | 'conversation.new' | 'template.status_changed';
208
+ export interface WebhookSecretResponse {
209
+ /**
210
+ * The new webhook secret.
211
+ */
212
+ secret: string;
213
+ }
214
+ /**
215
+ * WhatsApp Business profile information.
216
+ */
217
+ export interface WhatsappBusinessProfile {
218
+ /**
219
+ * Short description of the business (max 139 characters).
220
+ */
221
+ about?: string;
222
+ /**
223
+ * Physical address of the business (max 256 characters).
224
+ */
225
+ address?: string;
226
+ /**
227
+ * Extended description of the business (max 512 characters).
228
+ */
229
+ description?: string;
230
+ /**
231
+ * Business email address.
232
+ */
233
+ email?: string;
234
+ /**
235
+ * URL of the business profile picture.
236
+ */
237
+ profilePictureUrl?: string;
238
+ /**
239
+ * Business category for WhatsApp Business profile.
240
+ */
241
+ vertical?: WhatsappBusinessProfileVertical;
242
+ /**
243
+ * Business website URLs (maximum 2).
244
+ */
245
+ websites?: Array<string>;
246
+ }
247
+ export interface WhatsappBusinessProfileResponse {
248
+ /**
249
+ * WhatsApp Business profile information.
250
+ */
251
+ profile: WhatsappBusinessProfile;
252
+ }
253
+ /**
254
+ * Business category for WhatsApp Business profile.
255
+ */
256
+ export type WhatsappBusinessProfileVertical = 'UNDEFINED' | 'OTHER' | 'AUTO' | 'BEAUTY' | 'APPAREL' | 'EDU' | 'ENTERTAIN' | 'EVENT_PLAN' | 'FINANCE' | 'GROCERY' | 'GOVT' | 'HOTEL' | 'HEALTH' | 'NONPROFIT' | 'PROF_SERVICES' | 'RETAIL' | 'TRAVEL' | 'RESTAURANT' | 'NOT_A_BIZ';
257
+ export interface SenderUpdateProfileResponse {
258
+ /**
259
+ * WhatsApp Business profile information.
260
+ */
261
+ profile: WhatsappBusinessProfile;
262
+ success: boolean;
263
+ }
264
+ export interface SenderUploadProfilePictureResponse {
265
+ /**
266
+ * WhatsApp Business profile information.
267
+ */
268
+ profile: WhatsappBusinessProfile;
269
+ success: boolean;
270
+ }
271
+ export interface SenderCreateParams {
272
+ name: string;
273
+ phoneNumber: string;
274
+ setAsDefault?: boolean;
275
+ /**
276
+ * Events to subscribe to.
277
+ */
278
+ webhookEvents?: Array<WebhookEvent>;
279
+ /**
280
+ * HTTPS URL for webhook events.
281
+ */
282
+ webhookUrl?: string;
283
+ }
284
+ export interface SenderUpdateParams {
285
+ name?: string;
286
+ setAsDefault?: boolean;
287
+ /**
288
+ * Whether the webhook is active.
289
+ */
290
+ webhookActive?: boolean;
291
+ /**
292
+ * Events to subscribe to.
293
+ */
294
+ webhookEvents?: Array<WebhookEvent>;
295
+ /**
296
+ * HTTPS URL for webhook events. Set to null to remove webhook.
297
+ */
298
+ webhookUrl?: string | null;
299
+ }
300
+ export interface SenderListParams extends CursorParams {
301
+ }
302
+ export interface SenderUpdateProfileParams {
303
+ /**
304
+ * Short description of the business (max 139 characters).
305
+ */
306
+ about?: string;
307
+ /**
308
+ * Physical address of the business (max 256 characters).
309
+ */
310
+ address?: string;
311
+ /**
312
+ * Extended description of the business (max 512 characters).
313
+ */
314
+ description?: string;
315
+ /**
316
+ * Business email address.
317
+ */
318
+ email?: string;
319
+ /**
320
+ * Business category for WhatsApp Business profile.
321
+ */
322
+ vertical?: WhatsappBusinessProfileVertical;
323
+ /**
324
+ * Business website URLs (maximum 2).
325
+ */
326
+ websites?: Array<string>;
327
+ }
328
+ export interface SenderUploadProfilePictureParams {
329
+ /**
330
+ * URL of the image to upload.
331
+ */
332
+ imageUrl: string;
333
+ /**
334
+ * MIME type of the image.
335
+ */
336
+ mimeType: 'image/jpeg' | 'image/png';
337
+ }
338
+ export declare namespace Senders {
339
+ export { type Sender as Sender, type SenderWebhook as SenderWebhook, type WebhookEvent as WebhookEvent, type WebhookSecretResponse as WebhookSecretResponse, type WhatsappBusinessProfile as WhatsappBusinessProfile, type WhatsappBusinessProfileResponse as WhatsappBusinessProfileResponse, type WhatsappBusinessProfileVertical as WhatsappBusinessProfileVertical, type SenderUpdateProfileResponse as SenderUpdateProfileResponse, type SenderUploadProfilePictureResponse as SenderUploadProfilePictureResponse, type SendersCursor as SendersCursor, type SenderCreateParams as SenderCreateParams, type SenderUpdateParams as SenderUpdateParams, type SenderListParams as SenderListParams, type SenderUpdateProfileParams as SenderUpdateProfileParams, type SenderUploadProfilePictureParams as SenderUploadProfilePictureParams, };
340
+ export { AgentResource as AgentResource, type Agent as Agent, type AgentExecution as AgentExecution, type AgentExecutionStatus as AgentExecutionStatus, type AgentProvider as AgentProvider, type AgentResponse as AgentResponse, type AgentStats as AgentStats, type AgentCreateParams as AgentCreateParams, type AgentUpdateParams as AgentUpdateParams, };
341
+ }
342
+ //# sourceMappingURL=senders.d.ts.map