@rebilly/api 0.3.1 → 0.5.0

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.3.1 (2026-10-22)
1
+ ## 0.5.0 (2026-10-22)
2
2
 
3
3
  This was a version bump only for rebilly-api to align it with other projects, there were no code changes.
@@ -9608,8 +9608,10 @@ export type Subscription = {
9608
9608
  readonly canceledBy?: ("merchant" | "customer" | "rebilly") | null;
9609
9609
  /**
9610
9610
  * Category of the cancellation.
9611
+ *
9612
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
9611
9613
  */
9612
- readonly cancelCategory?: ("billing-failure" | "delinquency" | "did-not-use" | "did-not-want" | "missing-features" | "bugs-or-problems" | "do-not-remember" | "risk-warning" | "contract-expired" | "too-expensive" | "never-started" | "switched-plan" | "organization-deactivated" | "other") | null;
9614
+ readonly cancelCategory?: ("billing-failure" | "delinquency" | "did-not-use" | "did-not-want" | "missing-features" | "bugs-or-problems" | "do-not-remember" | "risk-warning" | "contract-expired" | "too-expensive" | "never-started" | "switched-plan" | "organization-deactivated" | "sandbox-retention" | "other") | null;
9613
9615
  /**
9614
9616
  * Description of the cancellation reason in free form.
9615
9617
  * @maxLength 255
@@ -10487,8 +10489,10 @@ export type RecurringOrder = {
10487
10489
  readonly canceledBy?: ("merchant" | "customer" | "rebilly") | null;
10488
10490
  /**
10489
10491
  * Category of the cancellation.
10492
+ *
10493
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
10490
10494
  */
10491
- readonly cancelCategory?: ("billing-failure" | "did-not-use" | "did-not-want" | "missing-features" | "bugs-or-problems" | "do-not-remember" | "risk-warning" | "contract-expired" | "too-expensive" | "never-started" | "switched-plan" | "other") | null;
10495
+ readonly cancelCategory?: ("billing-failure" | "did-not-use" | "did-not-want" | "missing-features" | "bugs-or-problems" | "do-not-remember" | "risk-warning" | "contract-expired" | "too-expensive" | "never-started" | "switched-plan" | "organization-deactivated" | "delinquency" | "sandbox-retention" | "other") | null;
10492
10496
  /**
10493
10497
  * Description of the cancellation reason in free form.
10494
10498
  * @maxLength 255
@@ -10890,8 +10894,11 @@ export type OrderCancellation = {
10890
10894
  canceledBy?: "merchant" | "customer" | "rebilly";
10891
10895
  /**
10892
10896
  * Reason for the cancellation.
10897
+ *
10898
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
10899
+ * If a request includes it, a validation error is returned.
10893
10900
  */
10894
- reason?: "did-not-use" | "did-not-want" | "missing-features" | "bugs-or-problems" | "do-not-remember" | "risk-warning" | "contract-expired" | "too-expensive" | "other" | "billing-failure";
10901
+ reason?: "did-not-use" | "did-not-want" | "missing-features" | "bugs-or-problems" | "do-not-remember" | "risk-warning" | "contract-expired" | "too-expensive" | "other" | "billing-failure" | "delinquency" | "organization-deactivated" | "sandbox-retention";
10895
10902
  /**
10896
10903
  * Description of the cancellation reason in free form.
10897
10904
  * @maxLength 255
@@ -11266,8 +11273,11 @@ export type SubscriptionCancellation = {
11266
11273
  canceledBy?: "merchant" | "customer" | "rebilly";
11267
11274
  /**
11268
11275
  * Reason for the cancellation.
11276
+ *
11277
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
11278
+ * If a request includes it, a validation error is returned.
11269
11279
  */
11270
- reason?: "did-not-use" | "did-not-want" | "missing-features" | "bugs-or-problems" | "do-not-remember" | "risk-warning" | "contract-expired" | "too-expensive" | "other" | "billing-failure";
11280
+ reason?: "did-not-use" | "did-not-want" | "missing-features" | "bugs-or-problems" | "do-not-remember" | "risk-warning" | "contract-expired" | "too-expensive" | "other" | "billing-failure" | "delinquency" | "organization-deactivated" | "sandbox-retention";
11271
11281
  /**
11272
11282
  * Description of the cancellation reason in free form.
11273
11283
  * @maxLength 255
@@ -18064,6 +18074,10 @@ export type Adyen = GatewayAccount & {
18064
18074
  * Two-letter ISO 3166 alpha-2 code of the merchant's country.
18065
18075
  */
18066
18076
  merchantCountry?: string;
18077
+ /**
18078
+ * Funding type of the payment card for this commission rate.
18079
+ */
18080
+ cardType?: "credit" | "debit";
18067
18081
  /**
18068
18082
  * Account type of the split payment.
18069
18083
  */
@@ -4684,8 +4684,10 @@ export type StorefrontSubscription = {
4684
4684
  readonly canceledBy?: "merchant" | "customer" | "rebilly";
4685
4685
  /**
4686
4686
  * Category of the cancellation.
4687
+ *
4688
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
4687
4689
  */
4688
- readonly cancelCategory?: "billing-failure" | "delinquency" | "did-not-use" | "did-not-want" | "missing-features" | "bugs-or-problems" | "do-not-remember" | "risk-warning" | "contract-expired" | "too-expensive" | "never-started" | "switched-plan" | "organization-deactivated" | "other";
4690
+ readonly cancelCategory?: "billing-failure" | "delinquency" | "did-not-use" | "did-not-want" | "missing-features" | "bugs-or-problems" | "do-not-remember" | "risk-warning" | "contract-expired" | "too-expensive" | "never-started" | "switched-plan" | "organization-deactivated" | "sandbox-retention" | "other";
4689
4691
  /**
4690
4692
  * Description of the cancellation reason in free form.
4691
4693
  * @maxLength 255
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebilly/api",
3
- "version": "0.3.1",
3
+ "version": "0.5.0",
4
4
  "description": "Rebilly Core and Storefront API clients generated from the OpenAPI definitions",
5
5
  "type": "module",
6
6
  "sideEffects": false,