@zernio/node 0.2.998 → 0.2.999

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.
@@ -6251,6 +6251,31 @@ export type ImessageAudienceContact = {
6251
6251
  } | null;
6252
6252
  };
6253
6253
 
6254
+ export type ImessageSandboxContact = {
6255
+ id?: string;
6256
+ /**
6257
+ * Phone (E.164) or lowercase Apple ID email
6258
+ */
6259
+ handle?: string;
6260
+ status?: 'pending' | 'active';
6261
+ /**
6262
+ * Send this from the handle to the sandbox line to activate it
6263
+ */
6264
+ joinText?: string;
6265
+ /**
6266
+ * Opens Messages on the sandbox line with joinText prefilled
6267
+ */
6268
+ joinLink?: string;
6269
+ activatedAt?: (string) | null;
6270
+ /**
6271
+ * Replies are allowed for 24 hours after this
6272
+ */
6273
+ lastInboundAt?: (string) | null;
6274
+ createdAt?: string;
6275
+ };
6276
+
6277
+ export type status19 = 'pending' | 'active';
6278
+
6254
6279
  /**
6255
6280
  * An iMessage sender registered as an account on a profile.
6256
6281
  */
@@ -6318,7 +6343,7 @@ export type kind = 'phone' | 'email';
6318
6343
 
6319
6344
  export type region = 'US' | 'GB';
6320
6345
 
6321
- export type status19 = 'ordering' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
6346
+ export type status20 = 'ordering' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
6322
6347
 
6323
6348
  /**
6324
6349
  * Attachment snapshot inside an edit-history entry.
@@ -6390,7 +6415,7 @@ export type InboxWebhookConversation = {
6390
6415
  contactId?: string;
6391
6416
  };
6392
6417
 
6393
- export type status20 = 'active' | 'archived';
6418
+ export type status21 = 'active' | 'archived';
6394
6419
 
6395
6420
  /**
6396
6421
  * The conversation object included in conversation lifecycle webhook payloads (conversation.started, conversation.control_changed).
@@ -8107,7 +8132,7 @@ export type OwnedPhoneNumber = {
8107
8132
  }>;
8108
8133
  };
8109
8134
 
8110
- export type status21 = 'pending_payment' | 'pending_regulatory' | 'regulatory_declined' | 'provisioning' | 'verifying' | 'active' | 'suspended' | 'releasing' | 'released';
8135
+ export type status22 = 'pending_payment' | 'pending_regulatory' | 'regulatory_declined' | 'provisioning' | 'verifying' | 'active' | 'suspended' | 'releasing' | 'released';
8111
8136
 
8112
8137
  export type metaVerificationStatus = 'pending' | 'code_requested' | 'verified' | 'expired';
8113
8138
 
@@ -8237,7 +8262,7 @@ export type PlatformAnalytics = {
8237
8262
  errorMessage?: (string) | null;
8238
8263
  };
8239
8264
 
8240
- export type status22 = 'published' | 'failed';
8265
+ export type status23 = 'published' | 'failed';
8241
8266
 
8242
8267
  /**
8243
8268
  * Sync state of analytics for this platform
@@ -8637,7 +8662,7 @@ export type Product = {
8637
8662
  publishedAt?: (string) | null;
8638
8663
  };
8639
8664
 
8640
- export type status23 = 'active' | 'draft' | 'archived';
8665
+ export type status24 = 'active' | 'draft' | 'archived';
8641
8666
 
8642
8667
  export type ProductImage = {
8643
8668
  url?: string;
@@ -8844,7 +8869,7 @@ export type RcsAgent = {
8844
8869
  createdAt?: string;
8845
8870
  };
8846
8871
 
8847
- export type status24 = 'requested' | 'changes_requested' | 'brand_vetting' | 'agent_review' | 'testing' | 'launch_review' | 'launching' | 'live' | 'rejected' | 'deactivated';
8872
+ export type status25 = 'requested' | 'changes_requested' | 'brand_vetting' | 'agent_review' | 'testing' | 'launch_review' | 'launching' | 'live' | 'rejected' | 'deactivated';
8848
8873
 
8849
8874
  export type useCase = 'MULTI_USE' | 'PROMOTIONAL' | 'TRANSACTIONAL' | 'OTP';
8850
8875
 
@@ -8896,7 +8921,7 @@ export type RcsBrand = RcsBrandInput & {
8896
8921
  /**
8897
8922
  * draft = not filed yet (still editable).
8898
8923
  */
8899
- export type status25 = 'draft' | 'vetting' | 'verified' | 'rejected';
8924
+ export type status26 = 'draft' | 'vetting' | 'verified' | 'rejected';
8900
8925
 
8901
8926
  export type RcsBrandInput = {
8902
8927
  displayName: string;
@@ -8983,7 +9008,7 @@ export type RcsCarrierApproval = {
8983
9008
 
8984
9009
  export type scope2 = 'carrier' | 'hub' | 'bot';
8985
9010
 
8986
- export type status26 = 'PENDING' | 'SUBMITTED' | 'APPROVED' | 'REJECTED';
9011
+ export type status27 = 'PENDING' | 'SUBMITTED' | 'APPROVED' | 'REJECTED';
8987
9012
 
8988
9013
  /**
8989
9014
  * Message content. `suggestions` (max 11) render as chips under the message.
@@ -10482,7 +10507,7 @@ export type UploadTokenResponse = {
10482
10507
  status?: 'pending' | 'completed' | 'expired';
10483
10508
  };
10484
10509
 
10485
- export type status27 = 'pending' | 'completed' | 'expired';
10510
+ export type status28 = 'pending' | 'completed' | 'expired';
10486
10511
 
10487
10512
  export type UploadTokenStatusResponse = {
10488
10513
  token?: string;
@@ -10981,7 +11006,7 @@ export type Verification = {
10981
11006
  resend?: boolean;
10982
11007
  };
10983
11008
 
10984
- export type status28 = 'pending' | 'approved' | 'expired' | 'max_attempts_reached' | 'canceled' | 'delivery_failed';
11009
+ export type status29 = 'pending' | 'approved' | 'expired' | 'max_attempts_reached' | 'canceled' | 'delivery_failed';
10985
11010
 
10986
11011
  export type channel4 = 'sms';
10987
11012
 
@@ -11130,7 +11155,7 @@ export type WebhookLog = {
11130
11155
  /**
11131
11156
  * Delivery outcome
11132
11157
  */
11133
- export type status29 = 'success' | 'failed';
11158
+ export type status30 = 'success' | 'failed';
11134
11159
 
11135
11160
  /**
11136
11161
  * Webhook payload for `account.ads.initial_sync_completed` events.
@@ -11242,7 +11267,7 @@ export type event = 'account.ads.initial_sync_completed';
11242
11267
  /**
11243
11268
  * Overall outcome of the initial sync.
11244
11269
  */
11245
- export type status30 = 'success' | 'failure';
11270
+ export type status31 = 'success' | 'failure';
11246
11271
 
11247
11272
  /**
11248
11273
  * Stable category for UX branching. New values may be added; existing ones are
@@ -13313,7 +13338,7 @@ export type event25 = 'post.platform.published' | 'post.platform.failed' | 'post
13313
13338
  /**
13314
13339
  * Terminal status this event fires on. Matches the event suffix.
13315
13340
  */
13316
- export type status31 = 'published' | 'failed' | 'deleted';
13341
+ export type status32 = 'published' | 'failed' | 'deleted';
13317
13342
 
13318
13343
  /**
13319
13344
  * Webhook payload for reaction received events (WhatsApp, Telegram, Slack, Instagram, Facebook Messenger, TikTok)
@@ -13579,7 +13604,7 @@ export type platform16 = 'whatsapp';
13579
13604
  /**
13580
13605
  * Normalized from Meta's `decision` (REJECTED -> DECLINED, DEFERRED -> PENDING_REVIEW; the review is still open on DEFERRED, not a rejection).
13581
13606
  */
13582
- export type status32 = 'APPROVED' | 'DECLINED' | 'PENDING_REVIEW';
13607
+ export type status33 = 'APPROVED' | 'DECLINED' | 'PENDING_REVIEW';
13583
13608
 
13584
13609
  /**
13585
13610
  * Webhook payload for the `whatsapp.template.category_updated` event.
@@ -13728,7 +13753,7 @@ export type event33 = 'whatsapp.template.status_updated';
13728
13753
  * request before the template is actually removed.
13729
13754
  *
13730
13755
  */
13731
- export type status33 = 'APPROVED' | 'REJECTED' | 'PENDING' | 'PAUSED' | 'DISABLED' | 'IN_APPEAL' | 'PENDING_DELETION';
13756
+ export type status34 = 'APPROVED' | 'REJECTED' | 'PENDING' | 'PAUSED' | 'DISABLED' | 'IN_APPEAL' | 'PENDING_DELETION';
13732
13757
 
13733
13758
  export type WhatsAppBodyComponent = {
13734
13759
  type: 'body';
@@ -13876,14 +13901,6 @@ export type WhatsAppSandboxSession = {
13876
13901
  createdAt?: (string) | null;
13877
13902
  };
13878
13903
 
13879
- /**
13880
- * `pending` until the phone replies to the activation template, then
13881
- * `active`. Expired sessions are pruned by TTL and never appear in
13882
- * list responses.
13883
- *
13884
- */
13885
- export type status34 = 'pending' | 'active';
13886
-
13887
13904
  export type WhatsAppTemplateButton = {
13888
13905
  type: 'quick_reply' | 'url' | 'phone_number' | 'otp' | 'copy_code' | 'flow' | 'mpm' | 'catalog';
13889
13906
  /**
@@ -29595,6 +29612,56 @@ export type ListImessageAudienceError = (ErrorResponse | {
29595
29612
  error?: string;
29596
29613
  });
29597
29614
 
29615
+ export type ListImessageSandboxContactsResponse = ({
29616
+ sandbox?: {
29617
+ /**
29618
+ * Use as accountId to reply from the sandbox line
29619
+ */
29620
+ accountId?: string;
29621
+ /**
29622
+ * The sandbox line to message
29623
+ */
29624
+ handle?: string;
29625
+ contactLimit?: number;
29626
+ };
29627
+ contacts?: Array<ImessageSandboxContact>;
29628
+ });
29629
+
29630
+ export type ListImessageSandboxContactsError = ({
29631
+ error?: string;
29632
+ } | unknown);
29633
+
29634
+ export type AddImessageSandboxContactData = {
29635
+ body: {
29636
+ /**
29637
+ * Phone in international format (+15551234567) or an Apple ID email
29638
+ */
29639
+ handle: string;
29640
+ };
29641
+ };
29642
+
29643
+ export type AddImessageSandboxContactResponse = ({
29644
+ contact?: ImessageSandboxContact;
29645
+ });
29646
+
29647
+ export type AddImessageSandboxContactError = (ErrorResponse | {
29648
+ error?: string;
29649
+ } | unknown);
29650
+
29651
+ export type RemoveImessageSandboxContactData = {
29652
+ path: {
29653
+ contactId: string;
29654
+ };
29655
+ };
29656
+
29657
+ export type RemoveImessageSandboxContactResponse = ({
29658
+ success?: boolean;
29659
+ });
29660
+
29661
+ export type RemoveImessageSandboxContactError = (ErrorResponse | {
29662
+ error?: string;
29663
+ } | unknown);
29664
+
29598
29665
  export type SetImessageSubscriptionData = {
29599
29666
  body: {
29600
29667
  accountId: string;