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