@getlatedev/node 0.2.1118 → 0.2.1119

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.
package/dist/index.d.mts CHANGED
@@ -8689,7 +8689,10 @@ type ImessageSenderLifecycle = {
8689
8689
  * imessage:// deep link that opens Messages on this sender with a prefilled text. Share it so contacts message you first (Apple only lets a sender reach contacts who wrote to it first); null until the handle is assigned.
8690
8690
  */
8691
8691
  optInLink?: (string) | null;
8692
- status?: 'ordering' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
8692
+ /**
8693
+ * `awaiting_payment`: the first-month charge is still being confirmed by the card; the number is ordered automatically once it is paid (usually under 5 minutes), or the order fails with `failureReason` when the card declines or nothing confirms within 30 minutes.
8694
+ */
8695
+ status?: 'ordering' | 'awaiting_payment' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
8693
8696
  /**
8694
8697
  * Monthly price billed while the sender is active
8695
8698
  */
@@ -8706,7 +8709,10 @@ type ImessageSenderLifecycle = {
8706
8709
  };
8707
8710
  type kind = 'phone' | 'email';
8708
8711
  type region = 'US' | 'GB';
8709
- type status21 = 'ordering' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
8712
+ /**
8713
+ * `awaiting_payment`: the first-month charge is still being confirmed by the card; the number is ordered automatically once it is paid (usually under 5 minutes), or the order fails with `failureReason` when the card declines or nothing confirms within 30 minutes.
8714
+ */
8715
+ type status21 = 'ordering' | 'awaiting_payment' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
8710
8716
  /**
8711
8717
  * Attachment snapshot inside an edit-history entry.
8712
8718
  */
package/dist/index.d.ts CHANGED
@@ -8689,7 +8689,10 @@ type ImessageSenderLifecycle = {
8689
8689
  * imessage:// deep link that opens Messages on this sender with a prefilled text. Share it so contacts message you first (Apple only lets a sender reach contacts who wrote to it first); null until the handle is assigned.
8690
8690
  */
8691
8691
  optInLink?: (string) | null;
8692
- status?: 'ordering' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
8692
+ /**
8693
+ * `awaiting_payment`: the first-month charge is still being confirmed by the card; the number is ordered automatically once it is paid (usually under 5 minutes), or the order fails with `failureReason` when the card declines or nothing confirms within 30 minutes.
8694
+ */
8695
+ status?: 'ordering' | 'awaiting_payment' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
8693
8696
  /**
8694
8697
  * Monthly price billed while the sender is active
8695
8698
  */
@@ -8706,7 +8709,10 @@ type ImessageSenderLifecycle = {
8706
8709
  };
8707
8710
  type kind = 'phone' | 'email';
8708
8711
  type region = 'US' | 'GB';
8709
- type status21 = 'ordering' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
8712
+ /**
8713
+ * `awaiting_payment`: the first-month charge is still being confirmed by the card; the number is ordered automatically once it is paid (usually under 5 minutes), or the order fails with `failureReason` when the card declines or nothing confirms within 30 minutes.
8714
+ */
8715
+ type status21 = 'ordering' | 'awaiting_payment' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
8710
8716
  /**
8711
8717
  * Attachment snapshot inside an edit-history entry.
8712
8718
  */
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.1118",
39
+ version: "0.2.1119",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.1118",
8
+ version: "0.2.1119",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1118",
3
+ "version": "0.2.1119",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -5700,7 +5700,9 @@ export const listImessageSenderOrders = <ThrowOnError extends boolean = false>(o
5700
5700
  * GET /v1/imessage/senders/{senderId} or subscribe to the
5701
5701
  * account.connected webhook. Billing starts at activation (monthly per
5702
5702
  * sender, no proration); when the account spend threshold is below the
5703
- * sender price, the first month is charged before the number is bought. Requires usage-based billing and a valid
5703
+ * sender price, the first month is charged before the number is bought; when the card's
5704
+ * answer takes longer than this request, the order is returned as `status: awaiting_payment`
5705
+ * and the number is ordered automatically once it is paid (usually under 5 minutes). Requires usage-based billing and a valid
5704
5706
  * payment method. Pass purchaseIntentId to make retries idempotent —
5705
5707
  * the provider-side order is never retried automatically. Ordered phone
5706
5708
  * senders include SMS/RCS fallback with call forwarding and the ability
@@ -6995,7 +6995,10 @@ export type ImessageSenderLifecycle = {
6995
6995
  * imessage:// deep link that opens Messages on this sender with a prefilled text. Share it so contacts message you first (Apple only lets a sender reach contacts who wrote to it first); null until the handle is assigned.
6996
6996
  */
6997
6997
  optInLink?: (string) | null;
6998
- status?: 'ordering' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
6998
+ /**
6999
+ * `awaiting_payment`: the first-month charge is still being confirmed by the card; the number is ordered automatically once it is paid (usually under 5 minutes), or the order fails with `failureReason` when the card declines or nothing confirms within 30 minutes.
7000
+ */
7001
+ status?: 'ordering' | 'awaiting_payment' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
6999
7002
  /**
7000
7003
  * Monthly price billed while the sender is active
7001
7004
  */
@@ -7015,7 +7018,10 @@ export type kind = 'phone' | 'email';
7015
7018
 
7016
7019
  export type region = 'US' | 'GB';
7017
7020
 
7018
- export type status21 = 'ordering' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
7021
+ /**
7022
+ * `awaiting_payment`: the first-month charge is still being confirmed by the card; the number is ordered automatically once it is paid (usually under 5 minutes), or the order fails with `failureReason` when the card declines or nothing confirms within 30 minutes.
7023
+ */
7024
+ export type status21 = 'ordering' | 'awaiting_payment' | 'activating' | 'active' | 'suspended' | 'canceled' | 'failed';
7019
7025
 
7020
7026
  /**
7021
7027
  * Attachment snapshot inside an edit-history entry.