@sentdm/sentdm 0.39.0 → 0.40.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 (42) hide show
  1. package/CHANGELOG.md +8 -0
  2. package/client.d.mts +2 -0
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts +2 -0
  5. package/client.d.ts.map +1 -1
  6. package/client.js +2 -0
  7. package/client.js.map +1 -1
  8. package/client.mjs +2 -0
  9. package/client.mjs.map +1 -1
  10. package/package.json +1 -1
  11. package/resources/conversations.d.mts +71 -3
  12. package/resources/conversations.d.mts.map +1 -1
  13. package/resources/conversations.d.ts +71 -3
  14. package/resources/conversations.d.ts.map +1 -1
  15. package/resources/messages.d.mts +171 -14
  16. package/resources/messages.d.mts.map +1 -1
  17. package/resources/messages.d.ts +171 -14
  18. package/resources/messages.d.ts.map +1 -1
  19. package/resources/messages.js +21 -3
  20. package/resources/messages.js.map +1 -1
  21. package/resources/messages.mjs +21 -3
  22. package/resources/messages.mjs.map +1 -1
  23. package/resources/templates.d.mts +123 -1
  24. package/resources/templates.d.mts.map +1 -1
  25. package/resources/templates.d.ts +123 -1
  26. package/resources/templates.d.ts.map +1 -1
  27. package/resources/templates.js.map +1 -1
  28. package/resources/templates.mjs.map +1 -1
  29. package/resources/webhooks.d.mts +404 -24
  30. package/resources/webhooks.d.mts.map +1 -1
  31. package/resources/webhooks.d.ts +404 -24
  32. package/resources/webhooks.d.ts.map +1 -1
  33. package/src/client.ts +2 -0
  34. package/src/resources/conversations.ts +78 -3
  35. package/src/resources/messages.ts +182 -14
  36. package/src/resources/templates.ts +135 -1
  37. package/src/resources/webhooks.ts +441 -25
  38. package/src/version.ts +1 -1
  39. package/version.d.mts +1 -1
  40. package/version.d.ts +1 -1
  41. package/version.js +1 -1
  42. package/version.mjs +1 -1
@@ -248,7 +248,9 @@ export interface ChannelEventPayload {
248
248
  * The account whose market this is, named as on every other family. When an
249
249
  * organization receives an event for one of its sender profiles this is the
250
250
  * profile, so a reseller compares it with its own id and anything different is one
251
- * of its profiles.
251
+ * of its profiles. Matches customer_id on GET /v3/channels and the sender
252
+ * profile's id. Together with channel, country, and number_type, it identifies the
253
+ * market.
252
254
  */
253
255
  account_id?: string;
254
256
  /**
@@ -257,6 +259,26 @@ export interface ChannelEventPayload {
257
259
  * than a channel that can be provisioned.
258
260
  */
259
261
  channel?: string;
262
+ /**
263
+ * What a market has been given: the identity it registers under, its programme,
264
+ * and any documents attached.
265
+ *
266
+ * What it does not carry is what the market asks for. That is the subject of GET
267
+ * /v3/compliance/requirements, and it is the same answer for every caller — a
268
+ * description of what a compliance regime wants, not a record of one customer's
269
+ * progress through it. It was reported here as well for a while, which put the
270
+ * same array in six response shapes and left a caller deciding which of two
271
+ * sources to believe.
272
+ *
273
+ * Present on a list read for markets that register (carrying brand and campaign),
274
+ * but with documents absent — documents are not fetched for a list, because a
275
+ * catalog lookup and a document read per market would multiply across a page.
276
+ * Absent documents is distinct from an empty list: absent says they were not
277
+ * fetched; empty says the market has been given none. The parent object is null
278
+ * only when the market registers with nobody and compliance was not computed —
279
+ * nothing to show at all.
280
+ */
281
+ compliance?: ChannelEventPayload.Compliance | null;
260
282
  /**
261
283
  * The kind of sender the market uses, for example TEN_DLC, LOCAL, or ALPHANUMERIC.
262
284
  * Omitted when the subject has no sender type of its own.
@@ -302,6 +324,93 @@ export interface ChannelEventPayload {
302
324
  */
303
325
  updated_at?: string;
304
326
  }
327
+ export declare namespace ChannelEventPayload {
328
+ /**
329
+ * What a market has been given: the identity it registers under, its programme,
330
+ * and any documents attached.
331
+ *
332
+ * What it does not carry is what the market asks for. That is the subject of GET
333
+ * /v3/compliance/requirements, and it is the same answer for every caller — a
334
+ * description of what a compliance regime wants, not a record of one customer's
335
+ * progress through it. It was reported here as well for a while, which put the
336
+ * same array in six response shapes and left a caller deciding which of two
337
+ * sources to believe.
338
+ *
339
+ * Present on a list read for markets that register (carrying brand and campaign),
340
+ * but with documents absent — documents are not fetched for a list, because a
341
+ * catalog lookup and a document read per market would multiply across a page.
342
+ * Absent documents is distinct from an empty list: absent says they were not
343
+ * fetched; empty says the market has been given none. The parent object is null
344
+ * only when the market registers with nobody and compliance was not computed —
345
+ * nothing to show at all.
346
+ */
347
+ interface Compliance {
348
+ /**
349
+ * The identity this market registers under, with inherit saying whose it is.
350
+ *
351
+ * Reported here rather than on the profile because it belongs to the registration
352
+ * this market files, and only one market files one. It was a top-level block for a
353
+ * while, which put a per-registration value beside a list of markets and left a
354
+ * caller to work out which market it belonged to.
355
+ *
356
+ * Absent for a market that registers with nobody — such a market asks for no
357
+ * identity, so there is none to report. Absent and null mean different things:
358
+ * absent says this market does not ask, null would say it asks and nothing was
359
+ * supplied.
360
+ *
361
+ * Untyped, like the request side, because its members are declared by the market's
362
+ * own schema rather than by a C# class. A typed pair here would be a second
363
+ * definition of what a market wants, free to drift from the one that validates.
364
+ */
365
+ brand?: {
366
+ [key: string]: unknown;
367
+ } | null;
368
+ /**
369
+ * The programme this market registers, with inherit saying whose it is.
370
+ *
371
+ * One, not a list. TcrCampaigns permits several and an account built on the admin
372
+ * side may hold them, but this surface offers one — which is what lets the
373
+ * market's PATCH be an upsert rather than a collection with an addressable create
374
+ * behind it. An account holding several is reported as its first and refused on
375
+ * write, rather than half-edited.
376
+ *
377
+ * Carries no id. Nothing addresses a campaign, and an undeclared key would be
378
+ * refused if the caller sent this object back — which it is meant to be able to
379
+ * do.
380
+ */
381
+ campaign?: {
382
+ [key: string]: unknown;
383
+ } | null;
384
+ /**
385
+ * What has been supplied for this market.
386
+ *
387
+ * Files, not values — the declared halves above carry the values. A document
388
+ * cannot be a JSON value, so it is sent as multipart on the channel call and
389
+ * reported here as a reference.
390
+ *
391
+ * Absent on a list read, which fetches identity but does not compute compliance
392
+ * documents per market. Absent and empty mean different things: absent says the
393
+ * documents were not fetched; empty says the market has been given none.
394
+ */
395
+ documents?: Array<Compliance.Document> | null;
396
+ }
397
+ namespace Compliance {
398
+ /**
399
+ * A document a market asked for and has been given.
400
+ */
401
+ interface Document {
402
+ /**
403
+ * Identifier of the upload, for fetching it back through the documents endpoints.
404
+ */
405
+ document_id?: string | null;
406
+ file_name?: string | null;
407
+ /**
408
+ * The catalog's name for this document, matching the requirement it satisfies.
409
+ */
410
+ key?: string;
411
+ }
412
+ }
413
+ }
305
414
  /**
306
415
  * The envelope Sent POSTs to a subscribed webhook endpoint. Every event shares
307
416
  * this shape and varies only in Payload.
@@ -319,17 +428,25 @@ export interface ContactEvent {
319
428
  */
320
429
  field?: string;
321
430
  /**
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.
431
+ * Body of a contact.opt_in, contact.opt_out, contact.help or
432
+ * contact.custom_keyword event. Delivered when a contact signals a consent change,
433
+ * asks for help, or sends one of your own auto-reply keywords.
324
434
  *
325
435
  * These events state the signal outright, so you do not have to recognise keywords
326
436
  * in the text of a message.received event. They also cover cases that produce no
327
437
  * inbound message at all, such as a network handling an opt-out on your behalf.
328
438
  *
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.
439
+ * Two of the four change consent and two do not: contact.help and
440
+ * contact.custom_keyword report the state the contact already had. Read opt_out
441
+ * for the state and the envelope's event for what happened, rather than inferring
442
+ * one from the other.
443
+ *
444
+ * Fields are ordered identity → resulting state → provenance → join keys. The two
445
+ * parties are from and to. Note that the message family has not moved to those
446
+ * names yet — message.received still calls the same two parties inbound_number and
447
+ * outbound_number. Nothing here restates the envelope: which signal occurred is
448
+ * the envelope's event, and when it was emitted is its timestamp. Retries carry
449
+ * the same X-Webhook-Event-ID header, which is what to deduplicate on.
333
450
  */
334
451
  payload?: ContactEventPayload | null;
335
452
  /**
@@ -344,23 +461,32 @@ export interface ContactEvent {
344
461
  timestamp?: string;
345
462
  }
346
463
  /**
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.
464
+ * Body of a contact.opt_in, contact.opt_out, contact.help or
465
+ * contact.custom_keyword event. Delivered when a contact signals a consent change,
466
+ * asks for help, or sends one of your own auto-reply keywords.
349
467
  *
350
468
  * These events state the signal outright, so you do not have to recognise keywords
351
469
  * in the text of a message.received event. They also cover cases that produce no
352
470
  * inbound message at all, such as a network handling an opt-out on your behalf.
353
471
  *
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.
472
+ * Two of the four change consent and two do not: contact.help and
473
+ * contact.custom_keyword report the state the contact already had. Read opt_out
474
+ * for the state and the envelope's event for what happened, rather than inferring
475
+ * one from the other.
476
+ *
477
+ * Fields are ordered identity → resulting state → provenance → join keys. The two
478
+ * parties are from and to. Note that the message family has not moved to those
479
+ * names yet — message.received still calls the same two parties inbound_number and
480
+ * outbound_number. Nothing here restates the envelope: which signal occurred is
481
+ * the envelope's event, and when it was emitted is its timestamp. Retries carry
482
+ * the same X-Webhook-Event-ID header, which is what to deduplicate on.
358
483
  */
359
484
  export interface ContactEventPayload {
360
485
  /**
361
486
  * 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.
487
+ * own record. Same meaning as opt_out on the contact resource. On contact.help and
488
+ * contact.custom_keyword this reports the contact's existing state, which neither
489
+ * changes.
364
490
  *
365
491
  * Two signals from the same contact can arrive out of order, because each one is
366
492
  * queued on its own rather than against the contact. Compare the envelope's
@@ -381,16 +507,32 @@ export interface ContactEventPayload {
381
507
  * accounts.
382
508
  */
383
509
  account_id?: string;
510
+ /**
511
+ * The RCS agent the signal reached, when it reached one.
512
+ *
513
+ * Omitted entirely on channels that have no agent, rather than sent as null — an
514
+ * SMS or WhatsApp payload does not carry this key at all. On RCS it is the
515
+ * counterpart to To: a contact reaches an agent rather than a number, so exactly
516
+ * one of the two is populated and never both. If you run more than one agent, this
517
+ * is what tells you which of them the contact acted on.
518
+ */
519
+ agent_id?: string | null;
384
520
  /**
385
521
  * The channel the signal arrived on, for example sms or whatsapp.
386
522
  */
387
523
  channel?: string;
388
524
  /**
389
525
  * 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.
526
+ * or contact.custom_keyword from a number you have not messaged before — the
527
+ * contact is created if it does not exist yet, so this identifier is always
528
+ * resolvable against the contacts API.
392
529
  */
393
530
  contact_id?: string;
531
+ /**
532
+ * The contact's number, in E.164 format with the leading + — who raised the
533
+ * signal. The same party message.received publishes as inbound_number.
534
+ */
535
+ from?: string;
394
536
  /**
395
537
  * The inbound message that carried the signal, matching message_id on the
396
538
  * corresponding message.received event so the two can be joined.
@@ -403,16 +545,40 @@ export interface ContactEventPayload {
403
545
  */
404
546
  message_id?: string | null;
405
547
  /**
406
- * The contact's number in E.164 format. Same value as phone_number on the contact
407
- * resource.
548
+ * The auto-reply template whose keyword the contact matched, joinable against the
549
+ * templates API.
550
+ *
551
+ * This is what identifies which signal arrived on contact.custom_keyword: every
552
+ * custom template reports the same event name, so the event alone cannot tell your
553
+ * booking keyword from your opening-hours one. One template holds as many keywords
554
+ * as you configured, so this is steadier to switch on than text.
555
+ *
556
+ * Populated on the compliance sub-types too, where it names the template that
557
+ * replied. Sent as null when no template was involved — a network-reported opt-out
558
+ * matches no keyword. The field is always present, so read it and check for null.
408
559
  */
409
- phone_number?: string;
560
+ template_id?: string | null;
410
561
  /**
411
562
  * The text the contact sent, for example STOP or UNSUBSCRIBE. Sent as null when
412
563
  * the signal did not arrive as text. The field is always present, so read it and
413
564
  * check for null rather than checking whether the key exists.
414
565
  */
415
566
  text?: string | null;
567
+ /**
568
+ * The number of yours that received the signal, in E.164 format with the leading
569
+ * +. Tells a multi-number account which of its senders the contact acted on, which
570
+ * nothing else on this payload answers.
571
+ *
572
+ * This is your number, not the contact's. That is the opposite of what to means on
573
+ * POST /v3/messages, where it is the list of recipients you are sending to. Reply
574
+ * to From, not to this field, or the message goes back to yourself.
575
+ *
576
+ * Sent as null when the signal did not arrive at a number of yours — an RCS signal
577
+ * terminates at an agent rather than a number, and a provider-reported opt-out may
578
+ * name no receiving number at all. The field is always present, so read it and
579
+ * check for null rather than checking whether the key exists.
580
+ */
581
+ to?: string | null;
416
582
  }
417
583
  /**
418
584
  * Error information
@@ -583,6 +749,17 @@ export interface MessageEventPayload {
583
749
  * The recipient's number in E.164 format.
584
750
  */
585
751
  outbound_number?: string;
752
+ /**
753
+ * message.scheduled only: why the message is held, either because you scheduled it
754
+ * or because the recipient is inside a protected quiet-hours window. Omitted on
755
+ * every other event.
756
+ */
757
+ schedule_reason?: string | null;
758
+ /**
759
+ * message.scheduled only: when the held message will be released for delivery, in
760
+ * UTC (yyyy-MM-ddTHH:mm:ssZ). Omitted on every other event.
761
+ */
762
+ scheduled_at?: string | null;
586
763
  /**
587
764
  * The template the message was sent from, when it was sent from one.
588
765
  */
@@ -822,17 +999,220 @@ export interface WebhookListEventsResponse {
822
999
  error_message?: string | null;
823
1000
  /**
824
1001
  * 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.
1002
+ * the six webhook envelopes:
1003
+ *
1004
+ * message — an outbound message changed status. message with event:
1005
+ * message.received — someone replied to you. templates — a template was approved,
1006
+ * rejected, paused or similar. channel — one of your markets moved in provisioning
1007
+ * or compliance. contact — a consent signal: opt-in, opt-out or help. link — a
1008
+ * tracked short link was clicked or a hosted file downloaded, or one expired or
1009
+ * was revoked.
1010
+ *
1011
+ * Read field and event to tell which, the same way your endpoint does. The two
1012
+ * message envelopes are the reason that is two fields and not one: they share a
1013
+ * field and differ by event.
1014
+ *
1015
+ * Treat the list as open. It has grown twice — channel and then link — and a
1016
+ * handler that rejects an envelope it does not recognise will break on the next
1017
+ * addition rather than ignore it.
828
1018
  */
829
- event_data?: MessageEvent | InboundMessageEvent | TemplateEvent | ChannelEvent | ContactEvent;
1019
+ event_data?: MessageEvent | InboundMessageEvent | TemplateEvent | ChannelEvent | ContactEvent | WebhookListEventsResponse.SentDmServicesCommonServicesWebhooksContractsWebhookEventOfLinkWebhookPayload;
830
1020
  event_type?: string;
831
1021
  http_status_code?: number | null;
832
1022
  processing_completed_at?: string | null;
833
1023
  processing_started_at?: string | null;
834
1024
  response_body?: string | null;
835
1025
  }
1026
+ export declare namespace WebhookListEventsResponse {
1027
+ /**
1028
+ * The envelope Sent POSTs to a subscribed webhook endpoint. Every event shares
1029
+ * this shape and varies only in Payload.
1030
+ */
1031
+ interface SentDmServicesCommonServicesWebhooksContractsWebhookEventOfLinkWebhookPayload {
1032
+ /**
1033
+ * The specific event within the family, for example message.delivered,
1034
+ * message.received or contact.opt_out. Absent on events that have no subtype, so
1035
+ * treat it as optional.
1036
+ */
1037
+ event?: string | null;
1038
+ /**
1039
+ * The event family, for example message, templates or contact. Route on this
1040
+ * first, then on event for the specific change.
1041
+ */
1042
+ field?: string;
1043
+ /**
1044
+ * Body of a link event: something happened to a tracked link Sent published on the
1045
+ * customer's behalf. A link points either at a URL the customer supplied or at a
1046
+ * file Sent hosts for them; LinkKind says which. Delivered when an eligible
1047
+ * request is served, or when a published link reaches the end of its life.
1048
+ *
1049
+ * A click is a request, not a read receipt. link.clicked means the redirect was
1050
+ * served; link.downloaded means bytes went out. Neither proves a person saw
1051
+ * anything — messaging providers and link scanners fetch URLs on their own, which
1052
+ * is what TrafficClass exists to tell apart. Filter on it before reporting a
1053
+ * click-through rate; treat likely_human as a hint, never as delivery
1054
+ * confirmation.
1055
+ *
1056
+ * RecordId identifies the link; the X-Webhook-Event-ID header identifies the
1057
+ * delivery. One link is hit many times, so those are the two keys a subscriber
1058
+ * needs: group by the first, deduplicate on the second — exactly as on every other
1059
+ * family. The payload carries no event identifier of its own, for the same reason
1060
+ * none of the others do.
1061
+ *
1062
+ * Nothing here identifies the visitor. No IP address and no visitor token crosses
1063
+ * this boundary. Country, Device and Browser are coarse buckets derived at the
1064
+ * edge and are absent whenever the request did not supply enough to derive them.
1065
+ */
1066
+ payload?: SentDmServicesCommonServicesWebhooksContractsWebhookEventOfLinkWebhookPayload.Payload | null;
1067
+ /**
1068
+ * The event-specific body.
1069
+ */
1070
+ request_id?: string | null;
1071
+ /**
1072
+ * When Sent emitted the event, in UTC (yyyy-MM-ddTHH:mm:ssZ). This is the emission
1073
+ * time, not the time the underlying change happened. Use the timestamp inside the
1074
+ * payload for the latter.
1075
+ */
1076
+ timestamp?: string;
1077
+ }
1078
+ namespace SentDmServicesCommonServicesWebhooksContractsWebhookEventOfLinkWebhookPayload {
1079
+ /**
1080
+ * Body of a link event: something happened to a tracked link Sent published on the
1081
+ * customer's behalf. A link points either at a URL the customer supplied or at a
1082
+ * file Sent hosts for them; LinkKind says which. Delivered when an eligible
1083
+ * request is served, or when a published link reaches the end of its life.
1084
+ *
1085
+ * A click is a request, not a read receipt. link.clicked means the redirect was
1086
+ * served; link.downloaded means bytes went out. Neither proves a person saw
1087
+ * anything — messaging providers and link scanners fetch URLs on their own, which
1088
+ * is what TrafficClass exists to tell apart. Filter on it before reporting a
1089
+ * click-through rate; treat likely_human as a hint, never as delivery
1090
+ * confirmation.
1091
+ *
1092
+ * RecordId identifies the link; the X-Webhook-Event-ID header identifies the
1093
+ * delivery. One link is hit many times, so those are the two keys a subscriber
1094
+ * needs: group by the first, deduplicate on the second — exactly as on every other
1095
+ * family. The payload carries no event identifier of its own, for the same reason
1096
+ * none of the others do.
1097
+ *
1098
+ * Nothing here identifies the visitor. No IP address and no visitor token crosses
1099
+ * this boundary. Country, Device and Browser are coarse buckets derived at the
1100
+ * edge and are absent whenever the request did not supply enough to derive them.
1101
+ */
1102
+ interface Payload {
1103
+ /**
1104
+ * The link's public identifier — the eight-character code in the short URL, for
1105
+ * example A78B2BU0. Unique across both kinds, and never reused, so it is the
1106
+ * stable key to group one link's events by.
1107
+ */
1108
+ record_id: string;
1109
+ /**
1110
+ * Where the request appeared to come from, as an ISO 3166-1 alpha-2 code. Named
1111
+ * separately from the country on a channel event, which is a destination market
1112
+ * the customer registered for — this one is a property of a single visitor and is
1113
+ * absent when the edge could not resolve it.
1114
+ */
1115
+ access_country?: string | null;
1116
+ /**
1117
+ * How the request was served, when the edge recorded it. Free text describing the
1118
+ * outcome — show it to a human rather than branching on it.
1119
+ */
1120
+ access_outcome?: string | null;
1121
+ /**
1122
+ * The requesting browser family, for example chrome or safari, or unknown. Derived
1123
+ * from the user agent.
1124
+ */
1125
+ browser?: string | null;
1126
+ /**
1127
+ * How many bytes were served, for a file access. A ranged request reports the
1128
+ * bytes in that range, not the size of the file, so several accesses of one file
1129
+ * can each report a part.
1130
+ */
1131
+ bytes_served?: number | null;
1132
+ /**
1133
+ * The channel the message carrying this link went out on: sms, whatsapp, or rcs.
1134
+ */
1135
+ channel?: string | null;
1136
+ /**
1137
+ * The organization the link belongs to. Always the parent account, never a sender
1138
+ * profile — read SenderProfileId for that.
1139
+ *
1140
+ * This family publishes the owner as an explicit pair rather than the single
1141
+ * account_id the other families use. The pair says which organization and which
1142
+ * profile without the subscriber deriving either, which is the trade: one more key
1143
+ * against not having to know that account_id silently becomes the profile when one
1144
+ * exists.
1145
+ */
1146
+ customer_id?: string;
1147
+ /**
1148
+ * The requesting device class: mobile, tablet, desktop or unknown. Derived from
1149
+ * the user agent.
1150
+ */
1151
+ device?: string | null;
1152
+ /**
1153
+ * What the link points at: url for a destination the customer supplied, file for
1154
+ * media Sent hosts. Always present, and implied by the event — link.clicked is
1155
+ * always url and link.downloaded always file — but published as its own field so a
1156
+ * subscriber can branch on the kind without parsing the event name, the same
1157
+ * separation the channel family keeps between its event and its status.
1158
+ */
1159
+ link_kind?: string;
1160
+ /**
1161
+ * The message the link was published in.
1162
+ *
1163
+ * The event can arrive before the message is readable through GET /v3/messages: a
1164
+ * provider may fetch a link within milliseconds of the send, and nothing here
1165
+ * waits for the message row. Retry the read rather than treating an unknown id as
1166
+ * an error.
1167
+ */
1168
+ message_id?: string | null;
1169
+ /**
1170
+ * When the access or lifecycle change actually happened, in UTC
1171
+ * (yyyy-MM-ddTHH:mm:ssZ). The envelope's timestamp is when Sent emitted the event;
1172
+ * this is when the thing occurred, and the two differ by the ingest delay.
1173
+ */
1174
+ occurred_at?: string;
1175
+ /**
1176
+ * The caller-supplied label tying this link back to a position in the message, for
1177
+ * example body:0 for the first link in the body. Present when the link was created
1178
+ * with one.
1179
+ */
1180
+ reference_key?: string | null;
1181
+ /**
1182
+ * The host of the page that linked here, when the request supplied one. The host
1183
+ * only — never a full referring URL.
1184
+ */
1185
+ referrer_host?: string | null;
1186
+ /**
1187
+ * The HTTP method of the request that was served, for an access event. Omitted on
1188
+ * link.expired and link.revoked, which describe no request.
1189
+ */
1190
+ request_method?: string | null;
1191
+ /**
1192
+ * The sender profile that owns the link, or null when the organization owns it
1193
+ * directly. Always on the wire so a handler reads one shape rather than branching
1194
+ * on whether the key arrived.
1195
+ *
1196
+ * sender_profile_id, not profile_id: the API already publishes
1197
+ * messaging_profile_id and sending_phone_number_profile_id for provider-side
1198
+ * profiles, which are a different thing entirely. The unqualified name would read
1199
+ * as one of those.
1200
+ */
1201
+ sender_profile_id?: string | null;
1202
+ /**
1203
+ * The HTTP status Sent answered the request with: 302 for a link, 200 or 206 for a
1204
+ * file. Omitted on lifecycle events.
1205
+ */
1206
+ status_code?: number | null;
1207
+ /**
1208
+ * A coarse guess at what made the request: likely_human, provider (a messaging
1209
+ * platform prefetching the link), bot, or unknown. Derived from the user agent, so
1210
+ * it is a hint for filtering noise rather than a fact to bill or report on.
1211
+ */
1212
+ traffic_class?: string | null;
1213
+ }
1214
+ }
1215
+ }
836
1216
  /**
837
1217
  * Standard API response envelope for all v3 endpoints
838
1218
  */
@@ -1 +1 @@
1
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