late-sdk 0.0.1320 → 0.0.1321

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c71450269e1d831a0c4b4d88a753b91a5b7f030e6d250dc5d6d979d9b115e7ed
4
- data.tar.gz: d52c6f1284cdaf1b77a3ff0788a0f50ab7edf992ad8c779798bf6807e3fef7b3
3
+ metadata.gz: 2039fb55710ee3b225caaae57b3c82587792bc74f1b67d93445f0f4b163d2e05
4
+ data.tar.gz: 9e5d0c223a14d09b003b63835ed87a14caa29e97614ecdadb8d465ca6e4f528e
5
5
  SHA512:
6
- metadata.gz: bd12ccd3a2d8b47428cc85d0646efea7068aa9a183745d647bab0fee80059ef8d82a34b50d39f650e873dbcec4ddf528a77b7b27e5ebb59a2ab35722ea2ff158
7
- data.tar.gz: c5d32a09abbc0ec20789583db647606163c07c6dc50f2068de0c0e1123d003533aec547dd434dc03bddc612a3cffa72cd95dcc167896c496711688bae6ec00a3
6
+ metadata.gz: 48655f64ade6e813ce9bde76b8283bdde365864ad63ff83886db7f73250738ada76afed5f646c3cbcda159828724c88f328ebf07b96b68e98422ed92f6e4f74c
7
+ data.tar.gz: 531408965964ef72c7df3842864f373c189ed26ee8a793b4291e47b70b1c5a29b8f54cbb88f4c408f6987932ade1d9151f38c1575cd581383acf1da224dfbae6
data/docs/IMessageApi.md CHANGED
@@ -874,7 +874,7 @@ This endpoint does not need any parameter.
874
874
 
875
875
  Order a new iMessage sender
876
876
 
877
- Orders a NEW dedicated iMessage sender from the delivery provider (compare with POST /v1/imessage/senders, which registers a sender you already own). Activation is asynchronous (minutes to a few hours): the response is 202 with the lifecycle object; poll GET /v1/imessage/senders/{senderId} or subscribe to the account.connected webhook. Billing starts at activation (monthly per sender, no proration); when the account spend threshold is below the sender price, the first month is charged before the number is bought. Requires usage-based billing and a valid payment method. Pass purchaseIntentId to make retries idempotent — the provider-side order is never retried automatically. Ordered phone senders include SMS/RCS fallback with call forwarding and the ability to message contacts who have not written first (sending intervals still apply).
877
+ Orders a NEW dedicated iMessage sender from the delivery provider (compare with POST /v1/imessage/senders, which registers a sender you already own). Activation is asynchronous (minutes to a few hours): the response is 202 with the lifecycle object; poll GET /v1/imessage/senders/{senderId} or subscribe to the account.connected webhook. Billing starts at activation (monthly per sender, no proration); when the account spend threshold is below the sender price, the first month is charged before the number is bought; when the card's answer takes longer than this request, the order is returned as `status: awaiting_payment` and the number is ordered automatically once it is paid (usually under 5 minutes). Requires usage-based billing and a valid payment method. Pass purchaseIntentId to make retries idempotent — the provider-side order is never retried automatically. Ordered phone senders include SMS/RCS fallback with call forwarding and the ability to message contacts who have not written first (sending intervals still apply).
878
878
 
879
879
  ### Examples
880
880
 
@@ -9,7 +9,7 @@
9
9
  | **region** | **String** | | [optional] |
10
10
  | **handle** | **String** | The sender handle once activation assigns it | [optional] |
11
11
  | **opt_in_link** | **String** | 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. | [optional] |
12
- | **status** | **String** | | [optional] |
12
+ | **status** | **String** | `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. | [optional] |
13
13
  | **price_cents** | **Integer** | Monthly price billed while the sender is active | [optional] |
14
14
  | **provider** | **String** | | [optional] |
15
15
  | **profile_id** | **String** | | [optional] |
@@ -830,7 +830,7 @@ module Zernio
830
830
  end
831
831
 
832
832
  # Order a new iMessage sender
833
- # Orders a NEW dedicated iMessage sender from the delivery provider (compare with POST /v1/imessage/senders, which registers a sender you already own). Activation is asynchronous (minutes to a few hours): the response is 202 with the lifecycle object; poll GET /v1/imessage/senders/{senderId} or subscribe to the account.connected webhook. Billing starts at activation (monthly per sender, no proration); when the account spend threshold is below the sender price, the first month is charged before the number is bought. Requires usage-based billing and a valid payment method. Pass purchaseIntentId to make retries idempotent — the provider-side order is never retried automatically. Ordered phone senders include SMS/RCS fallback with call forwarding and the ability to message contacts who have not written first (sending intervals still apply).
833
+ # Orders a NEW dedicated iMessage sender from the delivery provider (compare with POST /v1/imessage/senders, which registers a sender you already own). Activation is asynchronous (minutes to a few hours): the response is 202 with the lifecycle object; poll GET /v1/imessage/senders/{senderId} or subscribe to the account.connected webhook. Billing starts at activation (monthly per sender, no proration); when the account spend threshold is below the sender price, the first month is charged before the number is bought; when the card's answer takes longer than this request, the order is returned as `status: awaiting_payment` and the number is ordered automatically once it is paid (usually under 5 minutes). Requires usage-based billing and a valid payment method. Pass purchaseIntentId to make retries idempotent — the provider-side order is never retried automatically. Ordered phone senders include SMS/RCS fallback with call forwarding and the ability to message contacts who have not written first (sending intervals still apply).
834
834
  # @param order_imessage_sender_request [OrderImessageSenderRequest]
835
835
  # @param [Hash] opts the optional parameters
836
836
  # @return [OrderImessageSender202Response]
@@ -840,7 +840,7 @@ module Zernio
840
840
  end
841
841
 
842
842
  # Order a new iMessage sender
843
- # Orders a NEW dedicated iMessage sender from the delivery provider (compare with POST /v1/imessage/senders, which registers a sender you already own). Activation is asynchronous (minutes to a few hours): the response is 202 with the lifecycle object; poll GET /v1/imessage/senders/{senderId} or subscribe to the account.connected webhook. Billing starts at activation (monthly per sender, no proration); when the account spend threshold is below the sender price, the first month is charged before the number is bought. Requires usage-based billing and a valid payment method. Pass purchaseIntentId to make retries idempotent — the provider-side order is never retried automatically. Ordered phone senders include SMS/RCS fallback with call forwarding and the ability to message contacts who have not written first (sending intervals still apply).
843
+ # Orders a NEW dedicated iMessage sender from the delivery provider (compare with POST /v1/imessage/senders, which registers a sender you already own). Activation is asynchronous (minutes to a few hours): the response is 202 with the lifecycle object; poll GET /v1/imessage/senders/{senderId} or subscribe to the account.connected webhook. Billing starts at activation (monthly per sender, no proration); when the account spend threshold is below the sender price, the first month is charged before the number is bought; when the card's answer takes longer than this request, the order is returned as `status: awaiting_payment` and the number is ordered automatically once it is paid (usually under 5 minutes). Requires usage-based billing and a valid payment method. Pass purchaseIntentId to make retries idempotent — the provider-side order is never retried automatically. Ordered phone senders include SMS/RCS fallback with call forwarding and the ability to message contacts who have not written first (sending intervals still apply).
844
844
  # @param order_imessage_sender_request [OrderImessageSenderRequest]
845
845
  # @param [Hash] opts the optional parameters
846
846
  # @return [Array<(OrderImessageSender202Response, Integer, Hash)>] OrderImessageSender202Response data, response status code and response headers
@@ -28,6 +28,7 @@ module Zernio
28
28
  # 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.
29
29
  attr_accessor :opt_in_link
30
30
 
31
+ # `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.
31
32
  attr_accessor :status
32
33
 
33
34
  # Monthly price billed while the sender is active
@@ -213,7 +214,7 @@ module Zernio
213
214
  return false unless kind_validator.valid?(@kind)
214
215
  region_validator = EnumAttributeValidator.new('String', ["US", "GB"])
215
216
  return false unless region_validator.valid?(@region)
216
- status_validator = EnumAttributeValidator.new('String', ["ordering", "activating", "active", "suspended", "canceled", "failed"])
217
+ status_validator = EnumAttributeValidator.new('String', ["ordering", "awaiting_payment", "activating", "active", "suspended", "canceled", "failed"])
217
218
  return false unless status_validator.valid?(@status)
218
219
  true
219
220
  end
@@ -241,7 +242,7 @@ module Zernio
241
242
  # Custom attribute writer method checking allowed values (enum).
242
243
  # @param [Object] status Object to be assigned
243
244
  def status=(status)
244
- validator = EnumAttributeValidator.new('String', ["ordering", "activating", "active", "suspended", "canceled", "failed"])
245
+ validator = EnumAttributeValidator.new('String', ["ordering", "awaiting_payment", "activating", "active", "suspended", "canceled", "failed"])
245
246
  unless validator.valid?(status)
246
247
  fail ArgumentError, "invalid value for \"status\", must be one of #{validator.allowable_values}."
247
248
  end
@@ -11,5 +11,5 @@ Generator version: 7.19.0
11
11
  =end
12
12
 
13
13
  module Zernio
14
- VERSION = '0.0.1320'
14
+ VERSION = '0.0.1321'
15
15
  end