@rebilly/api 0.16.0 → 0.16.2

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/CHANGELOG.md CHANGED
@@ -1,3 +1,3 @@
1
- ## 0.16.0 (2026-11-02)
1
+ ## 0.16.2 (2026-11-02)
2
2
 
3
3
  This was a version bump only for rebilly-api to align it with other projects, there were no code changes.
@@ -520,8 +520,8 @@ export type Forbidden = unknown & {
520
520
  */
521
521
  error?: string;
522
522
  /**
523
- * ID of the organization that does not allow the IP address of the request.
524
- * This property is present only if `error` is `ip_not_allowed`.
523
+ * ID of the organization that requires MFA or does not allow the IP address of the request.
524
+ * This property is present only if `error` is `mfa_required` or `ip_not_allowed`.
525
525
  * The organization is the organization of the request or another organization that the request acts on.
526
526
  */
527
527
  organizationId?: OrganizationId;
@@ -4192,8 +4192,12 @@ export type Invoice = {
4192
4192
  /**
4193
4193
  * Date and time when the related order is considered delinquent, and is canceled.
4194
4194
  * If this value is `null`, no delinquency time is configured.
4195
- * If the `dueTime` of the order becomes greater than the `delinquencyTime` value,
4196
- * the `delinquencyTime` value becomes equal to `dueTime`.
4195
+ * When the invoice `dueTime` is changed to a later date and time, `delinquencyTime` increases by the same amount.
4196
+ * If `dueTime` is changed to an earlier date and time or `delinquencyTime` is `null`, `delinquencyTime` remains unchanged.
4197
+ * Changing `dueTime` to an earlier date and time increases the gap between `dueTime` and `delinquencyTime`.
4198
+ * This wider gap is preserved if `dueTime` subsequently changes to a later date and time.
4199
+ * If the request also specifies `delinquencyTime`, the specified value takes precedence.
4200
+ * If `delinquencyTime` is earlier than the invoice `dueTime`, it is set to the same value as `dueTime`.
4197
4201
  *
4198
4202
  * If an invoice is not related to an order, this field can only be `null`.
4199
4203
  * @format date-time
@@ -7802,8 +7806,9 @@ export type Product = {
7802
7806
  */
7803
7807
  requiresShipping?: boolean;
7804
7808
  /**
7805
- * Product options such as color, size, and so forth.
7806
- * Product option values are defined in plans.
7809
+ * Names of product options.
7810
+ * A product option is a property that distinguishes the pricing plans of a product.
7811
+ * The value of each product option is specified in the `productOptions` field of each pricing plan.
7807
7812
  * For more information, see [Plans](https://www.rebilly.com/docs/dev-docs/api/plans/).
7808
7813
  */
7809
7814
  options?: string[];
@@ -451,8 +451,8 @@ export type Forbidden = unknown & {
451
451
  */
452
452
  error?: string;
453
453
  /**
454
- * ID of the organization that does not allow the IP address of the request.
455
- * This property is present only if `error` is `ip_not_allowed`.
454
+ * ID of the organization that requires MFA or does not allow the IP address of the request.
455
+ * This property is present only if `error` is `mfa_required` or `ip_not_allowed`.
456
456
  * The organization is the organization of the request or another organization that the request acts on.
457
457
  */
458
458
  organizationId?: OrganizationId;
@@ -6347,8 +6347,9 @@ export type StorefrontProduct = {
6347
6347
  */
6348
6348
  requiresShipping?: boolean;
6349
6349
  /**
6350
- * Product options such as color, size, and so forth.
6351
- * Product option values are defined in plans.
6350
+ * Names of product options.
6351
+ * A product option is a property that distinguishes the pricing plans of a product.
6352
+ * The value of each product option is specified in the `productOptions` field of each pricing plan.
6352
6353
  * For more information, see [Plans](https://www.rebilly.com/docs/dev-docs/api/plans/).
6353
6354
  */
6354
6355
  options?: string[];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/api",
3
- "version": "0.16.0",
3
+ "version": "0.16.2",
4
4
  "description": "Rebilly Core and Storefront API clients generated from the OpenAPI definitions",
5
5
  "type": "module",
6
6
  "sideEffects": false,