@sentdm/sentdm 0.37.0 → 0.39.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 (88) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/README.md +31 -0
  3. package/client.d.mts +22 -8
  4. package/client.d.mts.map +1 -1
  5. package/client.d.ts +22 -8
  6. package/client.d.ts.map +1 -1
  7. package/client.js +10 -0
  8. package/client.js.map +1 -1
  9. package/client.mjs +10 -0
  10. package/client.mjs.map +1 -1
  11. package/core/pagination.d.mts +164 -0
  12. package/core/pagination.d.mts.map +1 -0
  13. package/core/pagination.d.ts +164 -0
  14. package/core/pagination.d.ts.map +1 -0
  15. package/core/pagination.js +212 -0
  16. package/core/pagination.js.map +1 -0
  17. package/core/pagination.mjs +202 -0
  18. package/core/pagination.mjs.map +1 -0
  19. package/index.d.mts +1 -0
  20. package/index.d.mts.map +1 -1
  21. package/index.d.ts +1 -0
  22. package/index.d.ts.map +1 -1
  23. package/index.js +3 -1
  24. package/index.js.map +1 -1
  25. package/index.mjs +1 -0
  26. package/index.mjs.map +1 -1
  27. package/internal/tslib.js +17 -17
  28. package/package.json +11 -1
  29. package/pagination.d.mts +3 -0
  30. package/pagination.d.mts.map +1 -0
  31. package/pagination.d.ts +3 -0
  32. package/pagination.d.ts.map +1 -0
  33. package/pagination.js +6 -0
  34. package/pagination.js.map +1 -0
  35. package/pagination.mjs +3 -0
  36. package/pagination.mjs.map +1 -0
  37. package/resources/contacts.d.mts +9 -52
  38. package/resources/contacts.d.mts.map +1 -1
  39. package/resources/contacts.d.ts +9 -52
  40. package/resources/contacts.d.ts.map +1 -1
  41. package/resources/contacts.js +8 -7
  42. package/resources/contacts.js.map +1 -1
  43. package/resources/contacts.mjs +8 -7
  44. package/resources/contacts.mjs.map +1 -1
  45. package/resources/conversations.d.mts +17 -32
  46. package/resources/conversations.d.mts.map +1 -1
  47. package/resources/conversations.d.ts +17 -32
  48. package/resources/conversations.d.ts.map +1 -1
  49. package/resources/conversations.js +17 -16
  50. package/resources/conversations.js.map +1 -1
  51. package/resources/conversations.mjs +17 -16
  52. package/resources/conversations.mjs.map +1 -1
  53. package/resources/index.d.mts +4 -4
  54. package/resources/index.d.mts.map +1 -1
  55. package/resources/index.d.ts +4 -4
  56. package/resources/index.d.ts.map +1 -1
  57. package/resources/index.js.map +1 -1
  58. package/resources/index.mjs.map +1 -1
  59. package/resources/templates.d.mts +162 -65
  60. package/resources/templates.d.mts.map +1 -1
  61. package/resources/templates.d.ts +162 -65
  62. package/resources/templates.d.ts.map +1 -1
  63. package/resources/templates.js +36 -9
  64. package/resources/templates.js.map +1 -1
  65. package/resources/templates.mjs +36 -9
  66. package/resources/templates.mjs.map +1 -1
  67. package/resources/webhooks.d.mts +340 -134
  68. package/resources/webhooks.d.mts.map +1 -1
  69. package/resources/webhooks.d.ts +340 -134
  70. package/resources/webhooks.d.ts.map +1 -1
  71. package/resources/webhooks.js +16 -13
  72. package/resources/webhooks.js.map +1 -1
  73. package/resources/webhooks.mjs +16 -13
  74. package/resources/webhooks.mjs.map +1 -1
  75. package/src/client.ts +80 -6
  76. package/src/core/pagination.ts +428 -0
  77. package/src/index.ts +1 -0
  78. package/src/pagination.ts +2 -0
  79. package/src/resources/contacts.ts +15 -62
  80. package/src/resources/conversations.ts +36 -48
  81. package/src/resources/index.ts +9 -3
  82. package/src/resources/templates.ts +169 -75
  83. package/src/resources/webhooks.ts +404 -163
  84. package/src/version.ts +1 -1
  85. package/version.d.mts +1 -1
  86. package/version.d.ts +1 -1
  87. package/version.js +1 -1
  88. package/version.mjs +1 -1
@@ -1,6 +1,7 @@
1
1
  import { APIResource } from "../core/resource.js";
2
2
  import * as WebhooksAPI from "./webhooks.js";
3
3
  import { APIPromise } from "../core/api-promise.js";
4
+ import { PagePromise, WebhookEventsPage, type WebhookEventsPageParams, WebhooksPage, type WebhooksPageParams } from "../core/pagination.js";
4
5
  import { RequestOptions } from "../internal/request-options.js";
5
6
  /**
6
7
  * Delivery reports and inbound messages, pushed to you.
@@ -46,13 +47,13 @@ export declare class Webhooks extends APIResource {
46
47
  *
47
48
  * @example
48
49
  * ```ts
49
- * const webhooks = await client.webhooks.list({
50
- * page: 0,
51
- * page_size: 0,
52
- * });
50
+ * // Automatically fetches more pages as needed.
51
+ * for await (const webhookResponse of client.webhooks.list()) {
52
+ * // ...
53
+ * }
53
54
  * ```
54
55
  */
55
- list(params: WebhookListParams, options?: RequestOptions): APIPromise<WebhookListResponse>;
56
+ list(params?: WebhookListParams | null | undefined, options?: RequestOptions): PagePromise<WebhookResponsesWebhooksPage, WebhookResponse>;
56
57
  /**
57
58
  * Deletes a webhook for the authenticated customer.
58
59
  *
@@ -78,13 +79,15 @@ export declare class Webhooks extends APIResource {
78
79
  *
79
80
  * @example
80
81
  * ```ts
81
- * const response = await client.webhooks.listEvents(
82
+ * // Automatically fetches more pages as needed.
83
+ * for await (const webhookListEventsResponse of client.webhooks.listEvents(
82
84
  * 'd4f5a6b7-c8d9-4e0f-a1b2-c3d4e5f6a7b8',
83
- * { page: 0, page_size: 0 },
84
- * );
85
+ * )) {
86
+ * // ...
87
+ * }
85
88
  * ```
86
89
  */
87
- listEvents(id: string, params: WebhookListEventsParams, options?: RequestOptions): APIPromise<WebhookListEventsResponse>;
90
+ listEvents(id: string, params?: WebhookListEventsParams | null | undefined, options?: RequestOptions): PagePromise<WebhookListEventsResponsesWebhookEventsPage, WebhookListEventsResponse>;
88
91
  /**
89
92
  * Generates a new signing secret for the specified webhook. The old secret is
90
93
  * immediately invalidated.
@@ -121,6 +124,8 @@ export declare class Webhooks extends APIResource {
121
124
  */
122
125
  toggleStatus(id: string, params: WebhookToggleStatusParams, options?: RequestOptions): APIPromise<APIResponseWebhook>;
123
126
  }
127
+ export type WebhookResponsesWebhooksPage = WebhooksPage<WebhookResponse>;
128
+ export type WebhookListEventsResponsesWebhookEventsPage = WebhookEventsPage<WebhookListEventsResponse>;
124
129
  /**
125
130
  * Request and response metadata
126
131
  */
@@ -159,6 +164,256 @@ export interface APIResponseWebhook {
159
164
  */
160
165
  success?: boolean;
161
166
  }
167
+ /**
168
+ * The envelope Sent POSTs to a subscribed webhook endpoint. Every event shares
169
+ * this shape and varies only in Payload.
170
+ */
171
+ export interface ChannelEvent {
172
+ /**
173
+ * The specific event within the family, for example message.delivered,
174
+ * message.received or contact.opt_out. Absent on events that have no subtype, so
175
+ * treat it as optional.
176
+ */
177
+ event?: string | null;
178
+ /**
179
+ * The event family, for example message, templates or contact. Route on this
180
+ * first, then on event for the specific change.
181
+ */
182
+ field?: string;
183
+ /**
184
+ * Body of a channel event: where one of the customer's channels stands in
185
+ * provisioning and compliance. Delivered when a milestone moves — a registration
186
+ * filed, a verdict returned, a resubmission asked for, a sender gone live — so a
187
+ * customer's own onboarding UI does not have to poll GET /v3/channels.
188
+ *
189
+ * The subject is one item, never the account. A customer's "SMS channel" has no
190
+ * status; a market does. Country, NumberType and SenderValue name which one, so a
191
+ * customer terminating only to Kosovo never receives an event about US 10DLC.
192
+ *
193
+ * Status is the stable half of the contract. It is the same four-value set GET
194
+ * /v3/channels publishes, computed through the same code, so an event and a read
195
+ * of the same market cannot disagree. A subscriber that reads nothing but the
196
+ * status and the subject fields is a correct subscriber. The sub-type on the
197
+ * envelope names the specific milestone and is additive — that vocabulary comes
198
+ * from registries and carriers, which are parties Sent does not control.
199
+ *
200
+ * Status means provisioning and compliance are complete, not that a send will
201
+ * succeed right now. An account can be suspended, or a destination blocked by a
202
+ * routing rule, without either showing up here. Those are separate surfaces and
203
+ * deliberately not modelled on this payload.
204
+ */
205
+ payload?: ChannelEventPayload | null;
206
+ /**
207
+ * The event-specific body.
208
+ */
209
+ request_id?: string | null;
210
+ /**
211
+ * When Sent emitted the event, in UTC (yyyy-MM-ddTHH:mm:ssZ). This is the emission
212
+ * time, not the time the underlying change happened. Use the timestamp inside the
213
+ * payload for the latter.
214
+ */
215
+ timestamp?: string;
216
+ }
217
+ /**
218
+ * Body of a channel event: where one of the customer's channels stands in
219
+ * provisioning and compliance. Delivered when a milestone moves — a registration
220
+ * filed, a verdict returned, a resubmission asked for, a sender gone live — so a
221
+ * customer's own onboarding UI does not have to poll GET /v3/channels.
222
+ *
223
+ * The subject is one item, never the account. A customer's "SMS channel" has no
224
+ * status; a market does. Country, NumberType and SenderValue name which one, so a
225
+ * customer terminating only to Kosovo never receives an event about US 10DLC.
226
+ *
227
+ * Status is the stable half of the contract. It is the same four-value set GET
228
+ * /v3/channels publishes, computed through the same code, so an event and a read
229
+ * of the same market cannot disagree. A subscriber that reads nothing but the
230
+ * status and the subject fields is a correct subscriber. The sub-type on the
231
+ * envelope names the specific milestone and is additive — that vocabulary comes
232
+ * from registries and carriers, which are parties Sent does not control.
233
+ *
234
+ * Status means provisioning and compliance are complete, not that a send will
235
+ * succeed right now. An account can be suspended, or a destination blocked by a
236
+ * routing rule, without either showing up here. Those are separate surfaces and
237
+ * deliberately not modelled on this payload.
238
+ */
239
+ export interface ChannelEventPayload {
240
+ /**
241
+ * The market's destination country as an ISO 3166-1 alpha-2 code, for example XK.
242
+ * Always present, and the property that identifies this payload among the
243
+ * delivered envelopes — see DeliveredWebhookEvents. Every event in this family
244
+ * reports one market, and a market has a country.
245
+ */
246
+ country: string;
247
+ /**
248
+ * The account whose market this is, named as on every other family. When an
249
+ * organization receives an event for one of its sender profiles this is the
250
+ * profile, so a reseller compares it with its own id and anything different is one
251
+ * of its profiles.
252
+ */
253
+ account_id?: string;
254
+ /**
255
+ * The channel this market belongs to: sms, whatsapp, or rcs. Never sent — that
256
+ * value belongs to message events, where it names the smart-routing brand rather
257
+ * than a channel that can be provisioned.
258
+ */
259
+ channel?: string;
260
+ /**
261
+ * The kind of sender the market uses, for example TEN_DLC, LOCAL, or ALPHANUMERIC.
262
+ * Omitted when the subject has no sender type of its own.
263
+ */
264
+ number_type?: string | null;
265
+ /**
266
+ * Why the market reached this state, when a reason was given — a correction
267
+ * explained, or a campaign lapse. Free text, passed through from the registry or
268
+ * carrier that wrote it, so treat it as a message to show a human rather than a
269
+ * value to branch on.
270
+ */
271
+ reason?: string | null;
272
+ /**
273
+ * The sender itself — a number in E.164, or an alphanumeric sender ID.
274
+ *
275
+ * Always present, and null until a sender exists. The key is on every delivery so
276
+ * a subscriber reads one shape rather than branching on whether the field arrived
277
+ * — the same choice template_id makes on the message payload.
278
+ *
279
+ * It can carry a value at any point in the lifecycle, not only once the market is
280
+ * live: a number ordered and not yet active at the carrier is already known during
281
+ * PROVISIONING, and an alphanumeric sender the customer chose themselves is known
282
+ * before anything is filed. It is null while the market is still waiting on a
283
+ * number, which for a US 10DLC registration is every event up to
284
+ * channel.activated.
285
+ */
286
+ sender_value?: string | null;
287
+ /**
288
+ * Where the market stands: PENDING_REVIEW, ACTION_NEEDED, PROVISIONING, ACTIVE or
289
+ * INACTIVE. PENDING_REVIEW means a registry or a carrier holds it and the wait is
290
+ * theirs; ACTION_NEEDED means it is yours; PROVISIONING means the verdict is in
291
+ * and Sent is acquiring the sender; INACTIVE means it had a working sender and no
292
+ * longer does.
293
+ *
294
+ * Each event name is the transition into one of these, but the two are separate
295
+ * fields and may legitimately differ. A resubmission filed against a market whose
296
+ * sender is already live is channel.submitted carrying ACTIVE: a correction is
297
+ * with the registry and the sender keeps working. Read both.
298
+ */
299
+ status?: string;
300
+ /**
301
+ * When the transition happened, in UTC (yyyy-MM-ddTHH:mm:ssZ).
302
+ */
303
+ updated_at?: string;
304
+ }
305
+ /**
306
+ * The envelope Sent POSTs to a subscribed webhook endpoint. Every event shares
307
+ * this shape and varies only in Payload.
308
+ */
309
+ export interface ContactEvent {
310
+ /**
311
+ * The specific event within the family, for example message.delivered,
312
+ * message.received or contact.opt_out. Absent on events that have no subtype, so
313
+ * treat it as optional.
314
+ */
315
+ event?: string | null;
316
+ /**
317
+ * The event family, for example message, templates or contact. Route on this
318
+ * first, then on event for the specific change.
319
+ */
320
+ field?: string;
321
+ /**
322
+ * Body of a contact.opt_in, contact.opt_out or contact.help event. Delivered when
323
+ * a contact signals a consent change or asks for help.
324
+ *
325
+ * These events state the signal outright, so you do not have to recognise keywords
326
+ * in the text of a message.received event. They also cover cases that produce no
327
+ * inbound message at all, such as a network handling an opt-out on your behalf.
328
+ *
329
+ * Fields are ordered identity → resulting state → provenance → join key. Nothing
330
+ * here restates the envelope: which of the three signals occurred is the
331
+ * envelope's event, and when it was emitted is its timestamp. Retries carry the
332
+ * same X-Webhook-Event-ID header, which is what to deduplicate on.
333
+ */
334
+ payload?: ContactEventPayload | null;
335
+ /**
336
+ * The event-specific body.
337
+ */
338
+ request_id?: string | null;
339
+ /**
340
+ * When Sent emitted the event, in UTC (yyyy-MM-ddTHH:mm:ssZ). This is the emission
341
+ * time, not the time the underlying change happened. Use the timestamp inside the
342
+ * payload for the latter.
343
+ */
344
+ timestamp?: string;
345
+ }
346
+ /**
347
+ * Body of a contact.opt_in, contact.opt_out or contact.help event. Delivered when
348
+ * a contact signals a consent change or asks for help.
349
+ *
350
+ * These events state the signal outright, so you do not have to recognise keywords
351
+ * in the text of a message.received event. They also cover cases that produce no
352
+ * inbound message at all, such as a network handling an opt-out on your behalf.
353
+ *
354
+ * Fields are ordered identity → resulting state → provenance → join key. Nothing
355
+ * here restates the envelope: which of the three signals occurred is the
356
+ * envelope's event, and when it was emitted is its timestamp. Retries carry the
357
+ * same X-Webhook-Event-ID header, which is what to deduplicate on.
358
+ */
359
+ export interface ContactEventPayload {
360
+ /**
361
+ * Whether the contact is opted out after this signal — the state to write to your
362
+ * own record. Same meaning as opt_out on the contact resource. On contact.help
363
+ * this reports the contact's existing state, which help does not change.
364
+ *
365
+ * Two signals from the same contact can arrive out of order, because each one is
366
+ * queued on its own rather than against the contact. Compare the envelope's
367
+ * timestamp before you overwrite a newer state with an older one. That timestamp
368
+ * is second-precision, so treat two signals stamped in the same second as
369
+ * unordered and read the contact resource to settle them.
370
+ */
371
+ opt_out: boolean;
372
+ /**
373
+ * How the signal reached us. INBOUND_KEYWORD means the contact sent a message
374
+ * whose text matched one of the keywords; PROVIDER_SIGNAL means the network
375
+ * reported it. A provider signal usually carries no message_id or text, so read
376
+ * both for null rather than inferring them from this field.
377
+ */
378
+ source: string;
379
+ /**
380
+ * The account the contact belongs to. Present so one endpoint can serve several
381
+ * accounts.
382
+ */
383
+ account_id?: string;
384
+ /**
385
+ * The channel the signal arrived on, for example sms or whatsapp.
386
+ */
387
+ channel?: string;
388
+ /**
389
+ * The contact who raised the signal. Always populated, including for contact.help
390
+ * from a number you have not messaged before — the contact is created if it does
391
+ * not exist yet, so this identifier is always resolvable against the contacts API.
392
+ */
393
+ contact_id?: string;
394
+ /**
395
+ * The inbound message that carried the signal, matching message_id on the
396
+ * corresponding message.received event so the two can be joined.
397
+ *
398
+ * Sent as null when the signal did not arrive as a message — for example when a
399
+ * network processed an opt-out on your behalf — and also when the message belongs
400
+ * to a different account than this event, which can happen on a shared WhatsApp
401
+ * number. The field is always present, so read it and check for null rather than
402
+ * checking whether the key exists.
403
+ */
404
+ message_id?: string | null;
405
+ /**
406
+ * The contact's number in E.164 format. Same value as phone_number on the contact
407
+ * resource.
408
+ */
409
+ phone_number?: string;
410
+ /**
411
+ * The text the contact sent, for example STOP or UNSUBSCRIBE. Sent as null when
412
+ * the signal did not arrive as text. The field is always present, so read it and
413
+ * check for null rather than checking whether the key exists.
414
+ */
415
+ text?: string | null;
416
+ }
162
417
  /**
163
418
  * Error information
164
419
  */
@@ -188,14 +443,14 @@ export interface ErrorDetail {
188
443
  */
189
444
  export interface InboundMessageEvent {
190
445
  /**
191
- * The specific event within the family, for example message.delivered or
192
- * message.received. Absent on events that have no subtype, so treat it as
193
- * optional.
446
+ * The specific event within the family, for example message.delivered,
447
+ * message.received or contact.opt_out. Absent on events that have no subtype, so
448
+ * treat it as optional.
194
449
  */
195
450
  event?: string | null;
196
451
  /**
197
- * The event family, for example message or templates. Route on this first, then on
198
- * event for the specific change.
452
+ * The event family, for example message, templates or contact. Route on this
453
+ * first, then on event for the specific change.
199
454
  */
200
455
  field?: string;
201
456
  /**
@@ -203,6 +458,10 @@ export interface InboundMessageEvent {
203
458
  * numbers.
204
459
  */
205
460
  payload?: InboundMessageEventPayload | null;
461
+ /**
462
+ * The event-specific body.
463
+ */
464
+ request_id?: string | null;
206
465
  /**
207
466
  * When Sent emitted the event, in UTC (yyyy-MM-ddTHH:mm:ssZ). This is the emission
208
467
  * time, not the time the underlying change happened. Use the timestamp inside the
@@ -257,14 +516,14 @@ export interface InboundMessageEventPayload {
257
516
  */
258
517
  export interface MessageEvent {
259
518
  /**
260
- * The specific event within the family, for example message.delivered or
261
- * message.received. Absent on events that have no subtype, so treat it as
262
- * optional.
519
+ * The specific event within the family, for example message.delivered,
520
+ * message.received or contact.opt_out. Absent on events that have no subtype, so
521
+ * treat it as optional.
263
522
  */
264
523
  event?: string | null;
265
524
  /**
266
- * The event family, for example message or templates. Route on this first, then on
267
- * event for the specific change.
525
+ * The event family, for example message, templates or contact. Route on this
526
+ * first, then on event for the specific change.
268
527
  */
269
528
  field?: string;
270
529
  /**
@@ -273,6 +532,10 @@ export interface MessageEvent {
273
532
  * status.
274
533
  */
275
534
  payload?: MessageEventPayload | null;
535
+ /**
536
+ * The event-specific body.
537
+ */
538
+ request_id?: string | null;
276
539
  /**
277
540
  * When Sent emitted the event, in UTC (yyyy-MM-ddTHH:mm:ssZ). This is the emission
278
541
  * time, not the time the underlying change happened. Use the timestamp inside the
@@ -300,6 +563,12 @@ export interface MessageEventPayload {
300
563
  * The agent attributed to the send, when the send was attributed to one.
301
564
  */
302
565
  agent_id?: string | null;
566
+ /**
567
+ * The rendered message body, as plain text. Sent as null when we aren't asserting
568
+ * a body for this event. The field is always present, so read it and check for
569
+ * null rather than checking whether the key exists. Truncated to 3072 characters.
570
+ */
571
+ body?: string | null;
303
572
  /**
304
573
  * The channel the message went out on, for example sms or whatsapp. A message that
305
574
  * falls back to another channel reports the channel actually used.
@@ -385,14 +654,14 @@ export declare namespace PaginationMeta {
385
654
  */
386
655
  export interface TemplateEvent {
387
656
  /**
388
- * The specific event within the family, for example message.delivered or
389
- * message.received. Absent on events that have no subtype, so treat it as
390
- * optional.
657
+ * The specific event within the family, for example message.delivered,
658
+ * message.received or contact.opt_out. Absent on events that have no subtype, so
659
+ * treat it as optional.
391
660
  */
392
661
  event?: string | null;
393
662
  /**
394
- * The event family, for example message or templates. Route on this first, then on
395
- * event for the specific change.
663
+ * The event family, for example message, templates or contact. Route on this
664
+ * first, then on event for the specific change.
396
665
  */
397
666
  field?: string;
398
667
  /**
@@ -400,6 +669,10 @@ export interface TemplateEvent {
400
669
  * changes, so you can react without polling.
401
670
  */
402
671
  payload?: TemplateEventPayload | null;
672
+ /**
673
+ * The event-specific body.
674
+ */
675
+ request_id?: string | null;
403
676
  /**
404
677
  * When Sent emitted the event, in UTC (yyyy-MM-ddTHH:mm:ssZ). This is the emission
405
678
  * time, not the time the underlying change happened. Use the timestamp inside the
@@ -425,14 +698,37 @@ export interface TemplateEventPayload {
425
698
  * The account the template belongs to.
426
699
  */
427
700
  account_id?: string;
701
+ /**
702
+ * Which consent keyword this template answers, when it is one of Sent's
703
+ * auto-replies: OPT_IN, OPT_OUT, HELP, or OTHER for a customer-defined keyword.
704
+ *
705
+ * Omitted for an ordinary template, so its presence is the answer to "is this an
706
+ * auto-reply". Sent creates the three compliance auto-replies at signup and they
707
+ * go through review like any other template, so their events arrive mixed in with
708
+ * the customer's own with nothing else to tell them apart.
709
+ *
710
+ * Named for the reader rather than after Template.OptAction, which it is mapped
711
+ * from. The MCP tool result deliberately keeps OptAction, OptKeywords and IsOpt:
712
+ * it mirrors the internal shape on purpose and publishes the keywords too, so
713
+ * renaming one of the three there would leave a surface half in each vocabulary.
714
+ * Two names for one concept, each consistent within its own surface, chosen over a
715
+ * rename that breaks MCP clients silently.
716
+ */
717
+ auto_reply_action?: string | null;
428
718
  /**
429
719
  * The template's category, for example UTILITY, MARKETING, or AUTHENTICATION.
430
720
  */
431
721
  category?: string;
432
722
  /**
433
- * The channel the template applies to.
723
+ * The channel leg this decision is about, for example whatsapp, sms, or rcs. A
724
+ * template is reviewed per channel and the legs come back independently, so each
725
+ * one reports separately.
726
+ *
727
+ * Omitted when the decision applies to the template as a whole rather than to one
728
+ * leg. That event is the broader news: a template-wide rejection blocks every
729
+ * channel, whatever the individual legs say.
434
730
  */
435
- channel?: string;
731
+ channel?: string | null;
436
732
  /**
437
733
  * The template's language code, for example en_US.
438
734
  */
@@ -482,42 +778,6 @@ export interface WebhookResponse {
482
778
  timeout_seconds?: number;
483
779
  updated_at?: string | null;
484
780
  }
485
- /**
486
- * Standard API response envelope for all v3 endpoints
487
- */
488
- export interface WebhookListResponse {
489
- /**
490
- * A paginated list of webhooks.
491
- */
492
- data?: WebhookListResponse.Data | null;
493
- /**
494
- * Error information
495
- */
496
- error?: ErrorDetail | null;
497
- /**
498
- * Request and response metadata
499
- */
500
- meta?: APIMeta;
501
- /**
502
- * Indicates whether the request was successful
503
- */
504
- success?: boolean;
505
- }
506
- export declare namespace WebhookListResponse {
507
- /**
508
- * A paginated list of webhooks.
509
- */
510
- interface Data {
511
- /**
512
- * Pagination metadata for list responses
513
- */
514
- pagination?: WebhooksAPI.PaginationMeta;
515
- /**
516
- * The webhooks on this page.
517
- */
518
- webhooks?: Array<WebhooksAPI.WebhookResponse>;
519
- }
520
- }
521
781
  /**
522
782
  * Standard API response envelope for all v3 endpoints
523
783
  */
@@ -554,62 +814,24 @@ export declare namespace WebhookListEventTypesResponse {
554
814
  pagination?: WebhooksAPI.PaginationMeta;
555
815
  }
556
816
  }
557
- /**
558
- * Standard API response envelope for all v3 endpoints
559
- */
560
817
  export interface WebhookListEventsResponse {
818
+ id?: string;
819
+ created_at?: string;
820
+ delivery_attempts?: number;
821
+ delivery_status?: string;
822
+ error_message?: string | null;
561
823
  /**
562
- * A paginated list of webhook delivery records.
563
- */
564
- data?: WebhookListEventsResponse.Data | null;
565
- /**
566
- * Error information
567
- */
568
- error?: ErrorDetail | null;
569
- /**
570
- * Request and response metadata
571
- */
572
- meta?: APIMeta;
573
- /**
574
- * Indicates whether the request was successful
575
- */
576
- success?: boolean;
577
- }
578
- export declare namespace WebhookListEventsResponse {
579
- /**
580
- * A paginated list of webhook delivery records.
824
+ * The exact event body that was delivered, or attempted, for this record. One of
825
+ * the four webhook envelopes: a message status change, an inbound message, a
826
+ * template status change, or a contact consent signal. Read field and event to
827
+ * tell which, the same way your endpoint does.
581
828
  */
582
- interface Data {
583
- /**
584
- * The events on this page.
585
- */
586
- events?: Array<Data.Event>;
587
- /**
588
- * Pagination metadata for list responses
589
- */
590
- pagination?: WebhooksAPI.PaginationMeta;
591
- }
592
- namespace Data {
593
- interface Event {
594
- id?: string;
595
- created_at?: string;
596
- delivery_attempts?: number;
597
- delivery_status?: string;
598
- error_message?: string | null;
599
- /**
600
- * The exact event body that was delivered, or attempted, for this record. One of
601
- * the three webhook envelopes: a message status change, an inbound message, or a
602
- * template status change. Read field and event to tell which, the same way your
603
- * endpoint does.
604
- */
605
- event_data?: WebhooksAPI.MessageEvent | WebhooksAPI.InboundMessageEvent | WebhooksAPI.TemplateEvent;
606
- event_type?: string;
607
- http_status_code?: number | null;
608
- processing_completed_at?: string | null;
609
- processing_started_at?: string | null;
610
- response_body?: string | null;
611
- }
612
- }
829
+ event_data?: MessageEvent | InboundMessageEvent | TemplateEvent | ChannelEvent | ContactEvent;
830
+ event_type?: string;
831
+ http_status_code?: number | null;
832
+ processing_completed_at?: string | null;
833
+ processing_started_at?: string | null;
834
+ response_body?: string | null;
613
835
  }
614
836
  /**
615
837
  * Standard API response envelope for all v3 endpoints
@@ -767,15 +989,7 @@ export interface WebhookUpdateParams {
767
989
  */
768
990
  'x-profile-id'?: string;
769
991
  }
770
- export interface WebhookListParams {
771
- /**
772
- * Query param
773
- */
774
- page: number;
775
- /**
776
- * Query param
777
- */
778
- page_size: number;
992
+ export interface WebhookListParams extends WebhooksPageParams {
779
993
  /**
780
994
  * Query param
781
995
  */
@@ -805,15 +1019,7 @@ export interface WebhookListEventTypesParams {
805
1019
  */
806
1020
  'x-profile-id'?: string;
807
1021
  }
808
- export interface WebhookListEventsParams {
809
- /**
810
- * Query param
811
- */
812
- page: number;
813
- /**
814
- * Query param
815
- */
816
- page_size: number;
1022
+ export interface WebhookListEventsParams extends WebhookEventsPageParams {
817
1023
  /**
818
1024
  * Query param
819
1025
  */
@@ -891,6 +1097,6 @@ export interface WebhookToggleStatusParams {
891
1097
  'x-profile-id'?: string;
892
1098
  }
893
1099
  export declare namespace Webhooks {
894
- export { type APIMeta as APIMeta, type APIResponseWebhook as APIResponseWebhook, type ErrorDetail as ErrorDetail, type InboundMessageEvent as InboundMessageEvent, type InboundMessageEventPayload as InboundMessageEventPayload, type MessageEvent as MessageEvent, type MessageEventPayload as MessageEventPayload, type MutationRequest as MutationRequest, type PaginationMeta as PaginationMeta, type TemplateEvent as TemplateEvent, type TemplateEventPayload as TemplateEventPayload, type WebhookEventType as WebhookEventType, type WebhookResponse as WebhookResponse, type WebhookListResponse as WebhookListResponse, type WebhookListEventTypesResponse as WebhookListEventTypesResponse, type WebhookListEventsResponse as WebhookListEventsResponse, type WebhookRotateSecretResponse as WebhookRotateSecretResponse, type WebhookTestResponse as WebhookTestResponse, type WebhookCreateParams as WebhookCreateParams, type WebhookRetrieveParams as WebhookRetrieveParams, type WebhookUpdateParams as WebhookUpdateParams, type WebhookListParams as WebhookListParams, type WebhookDeleteParams as WebhookDeleteParams, type WebhookListEventTypesParams as WebhookListEventTypesParams, type WebhookListEventsParams as WebhookListEventsParams, type WebhookRotateSecretParams as WebhookRotateSecretParams, type WebhookTestParams as WebhookTestParams, type WebhookToggleStatusParams as WebhookToggleStatusParams, };
1100
+ export { type APIMeta as APIMeta, type APIResponseWebhook as APIResponseWebhook, type ChannelEvent as ChannelEvent, type ChannelEventPayload as ChannelEventPayload, type ContactEvent as ContactEvent, type ContactEventPayload as ContactEventPayload, type ErrorDetail as ErrorDetail, type InboundMessageEvent as InboundMessageEvent, type InboundMessageEventPayload as InboundMessageEventPayload, type MessageEvent as MessageEvent, type MessageEventPayload as MessageEventPayload, type MutationRequest as MutationRequest, type PaginationMeta as PaginationMeta, type TemplateEvent as TemplateEvent, type TemplateEventPayload as TemplateEventPayload, type WebhookEventType as WebhookEventType, type WebhookResponse as WebhookResponse, type WebhookListEventTypesResponse as WebhookListEventTypesResponse, type WebhookListEventsResponse as WebhookListEventsResponse, type WebhookRotateSecretResponse as WebhookRotateSecretResponse, type WebhookTestResponse as WebhookTestResponse, type WebhookResponsesWebhooksPage as WebhookResponsesWebhooksPage, type WebhookListEventsResponsesWebhookEventsPage as WebhookListEventsResponsesWebhookEventsPage, type WebhookCreateParams as WebhookCreateParams, type WebhookRetrieveParams as WebhookRetrieveParams, type WebhookUpdateParams as WebhookUpdateParams, type WebhookListParams as WebhookListParams, type WebhookDeleteParams as WebhookDeleteParams, type WebhookListEventTypesParams as WebhookListEventTypesParams, type WebhookListEventsParams as WebhookListEventsParams, type WebhookRotateSecretParams as WebhookRotateSecretParams, type WebhookTestParams as WebhookTestParams, type WebhookToggleStatusParams as WebhookToggleStatusParams, };
895
1101
  }
896
1102
  //# sourceMappingURL=webhooks.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"webhooks.d.ts","sourceRoot":"","sources":["../src/resources/webhooks.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,4BAAyB;AAC/C,OAAO,KAAK,WAAW,sBAAmB;AAC1C,OAAO,EAAE,UAAU,EAAE,+BAA4B;AAEjD,OAAO,EAAE,cAAc,EAAE,uCAAoC;AAG7D;;;;;;GAMG;AACH,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;OAOG;IACH,MAAM,CAAC,MAAM,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,kBAAkB,CAAC;IAe7F;;;;;;;;;OASG;IACH,QAAQ,CACN,EAAE,EAAE,MAAM,EACV,MAAM,GAAE,qBAAqB,GAAG,IAAI,GAAG,SAAc,EACrD,OAAO,CA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