@rebilly/api 0.12.1 → 0.13.1
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 +1 -1
- package/dist/core-client.schemas.d.ts +34 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -4472,6 +4472,10 @@ export type CreditMemo = {
|
|
|
4472
4472
|
*/
|
|
4473
4473
|
amount?: number;
|
|
4474
4474
|
readonly currency?: CurrencyCode;
|
|
4475
|
+
/**
|
|
4476
|
+
* Resolution status of the transaction allocation.
|
|
4477
|
+
*/
|
|
4478
|
+
readonly status?: "pending" | "approved";
|
|
4475
4479
|
createdTime?: CreatedTime;
|
|
4476
4480
|
updatedTime?: UpdatedTime;
|
|
4477
4481
|
}[];
|
|
@@ -4644,6 +4648,10 @@ export type PatchCreditMemoRequest = {
|
|
|
4644
4648
|
*/
|
|
4645
4649
|
amount?: number;
|
|
4646
4650
|
readonly currency?: CurrencyCode;
|
|
4651
|
+
/**
|
|
4652
|
+
* Resolution status of the transaction allocation.
|
|
4653
|
+
*/
|
|
4654
|
+
readonly status?: "pending" | "approved";
|
|
4647
4655
|
createdTime?: CreatedTime;
|
|
4648
4656
|
updatedTime?: UpdatedTime;
|
|
4649
4657
|
}[];
|
|
@@ -9326,6 +9334,30 @@ export type SubscriptionOrOneTimeSaleItem = {
|
|
|
9326
9334
|
product?: Record<string, unknown>;
|
|
9327
9335
|
};
|
|
9328
9336
|
};
|
|
9337
|
+
/**
|
|
9338
|
+
* Sandbox recurring order retention.
|
|
9339
|
+
* In the sandbox environment, a recurring order is canceled 90 days after it is created or on the start date of the policy,
|
|
9340
|
+
* whichever is later, unless the order is retained or the organization is excluded from the policy.
|
|
9341
|
+
* This property is returned in the sandbox environment only, for recurring orders.
|
|
9342
|
+
* In the live environment, if the request includes this property with a value, a validation error is returned.
|
|
9343
|
+
* A `null` value in a request does not update the property.
|
|
9344
|
+
*/
|
|
9345
|
+
export type SandboxRetention = {
|
|
9346
|
+
/**
|
|
9347
|
+
* Date and time of the automatic cancellation of the order: 90 days after the order is created or the start date of the policy,
|
|
9348
|
+
* whichever is later.
|
|
9349
|
+
* This value is `null` when the organization is excluded from the policy,
|
|
9350
|
+
* and for an order that can no longer bill, such as a churned or abandoned order.
|
|
9351
|
+
* @format date-time
|
|
9352
|
+
*/
|
|
9353
|
+
readonly autoCancelTime?: string | null;
|
|
9354
|
+
/**
|
|
9355
|
+
* Specifies if the order is retained and not canceled on its `autoCancelTime`.
|
|
9356
|
+
* An organization retains up to 50 recurring orders.
|
|
9357
|
+
* If the request omits `sandboxRetention`, this value is not updated.
|
|
9358
|
+
*/
|
|
9359
|
+
excluded: boolean;
|
|
9360
|
+
} | null;
|
|
9329
9361
|
export type Subscription = {
|
|
9330
9362
|
/**
|
|
9331
9363
|
* ID of the order.
|
|
@@ -9610,6 +9642,7 @@ export type Subscription = {
|
|
|
9610
9642
|
* Purchase order number displayed on the issued invoices.
|
|
9611
9643
|
*/
|
|
9612
9644
|
poNumber?: string | null;
|
|
9645
|
+
sandboxRetention?: SandboxRetention;
|
|
9613
9646
|
/**
|
|
9614
9647
|
* Shipping settings of the order.
|
|
9615
9648
|
* Changes to shipping apply to the upcoming invoice and to invoices created after the change.
|
|
@@ -10400,6 +10433,7 @@ export type RecurringOrder = {
|
|
|
10400
10433
|
* Purchase order number that is displayed on the issued invoices.
|
|
10401
10434
|
*/
|
|
10402
10435
|
poNumber?: string | null;
|
|
10436
|
+
sandboxRetention?: SandboxRetention;
|
|
10403
10437
|
/**
|
|
10404
10438
|
* Notes for the customer that are displayed on the order invoice.
|
|
10405
10439
|
*/
|