rebilly-js-sdk 62.230.1 → 62.232.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
- ## 62.230.1 (2026-10-21)
1
+ ## 62.232.0 (2026-10-22)
2
2
 
3
3
  This was a version bump only for rebilly-js-sdk to align it with other projects, there were no code changes.
@@ -13799,7 +13799,11 @@ export interface coreComponents {
13799
13799
  canceledTime?: string | null;
13800
13800
  /** Specifies who initiated the cancellation. */
13801
13801
  canceledBy?: ("merchant" | "customer" | "rebilly") | null;
13802
- /** Category of the cancellation. */
13802
+ /**
13803
+ * Category of the cancellation.
13804
+ *
13805
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
13806
+ */
13803
13807
  cancelCategory?:
13804
13808
  | (
13805
13809
  | "billing-failure"
@@ -13815,6 +13819,7 @@ export interface coreComponents {
13815
13819
  | "never-started"
13816
13820
  | "switched-plan"
13817
13821
  | "organization-deactivated"
13822
+ | "sandbox-retention"
13818
13823
  | "other"
13819
13824
  )
13820
13825
  | null;
@@ -14451,7 +14456,11 @@ export interface coreComponents {
14451
14456
  cancellationTime?: string | null;
14452
14457
  /** Specifies who initiated the cancellation. */
14453
14458
  canceledBy?: ("merchant" | "customer" | "rebilly") | null;
14454
- /** Category of the cancellation. */
14459
+ /**
14460
+ * Category of the cancellation.
14461
+ *
14462
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
14463
+ */
14455
14464
  cancelCategory?:
14456
14465
  | (
14457
14466
  | "billing-failure"
@@ -14465,6 +14474,9 @@ export interface coreComponents {
14465
14474
  | "too-expensive"
14466
14475
  | "never-started"
14467
14476
  | "switched-plan"
14477
+ | "organization-deactivated"
14478
+ | "delinquency"
14479
+ | "sandbox-retention"
14468
14480
  | "other"
14469
14481
  )
14470
14482
  | null;
@@ -14765,7 +14777,12 @@ export interface coreComponents {
14765
14777
  appliedInvoiceId?: string | null;
14766
14778
  /** Specifies who initiated the cancellation. */
14767
14779
  canceledBy?: "merchant" | "customer" | "rebilly";
14768
- /** Reason for the cancellation. */
14780
+ /**
14781
+ * Reason for the cancellation.
14782
+ *
14783
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
14784
+ * If a request includes it, a validation error is returned.
14785
+ */
14769
14786
  reason?:
14770
14787
  | "did-not-use"
14771
14788
  | "did-not-want"
@@ -14776,7 +14793,10 @@ export interface coreComponents {
14776
14793
  | "contract-expired"
14777
14794
  | "too-expensive"
14778
14795
  | "other"
14779
- | "billing-failure";
14796
+ | "billing-failure"
14797
+ | "delinquency"
14798
+ | "organization-deactivated"
14799
+ | "sandbox-retention";
14780
14800
  /** Description of the cancellation reason in free form. */
14781
14801
  description?: string;
14782
14802
  /** Specifies if the customer gets a pro-rata credit for the time remaining between `churnTime` and order next renewal time. */
@@ -15061,7 +15081,12 @@ export interface coreComponents {
15061
15081
  appliedInvoiceId?: string | null;
15062
15082
  /** Specifies who initiated the cancellation. */
15063
15083
  canceledBy?: "merchant" | "customer" | "rebilly";
15064
- /** Reason for the cancellation. */
15084
+ /**
15085
+ * Reason for the cancellation.
15086
+ *
15087
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
15088
+ * If a request includes it, a validation error is returned.
15089
+ */
15065
15090
  reason?:
15066
15091
  | "did-not-use"
15067
15092
  | "did-not-want"
@@ -15072,7 +15097,10 @@ export interface coreComponents {
15072
15097
  | "contract-expired"
15073
15098
  | "too-expensive"
15074
15099
  | "other"
15075
- | "billing-failure";
15100
+ | "billing-failure"
15101
+ | "delinquency"
15102
+ | "organization-deactivated"
15103
+ | "sandbox-retention";
15076
15104
  /** Description of the cancellation reason in free form. */
15077
15105
  description?: string;
15078
15106
  /** Specifies if the customer gets a pro-rata credit for the time remaining between `churnTime` and subscription next renewal time. */
@@ -18692,6 +18720,8 @@ export interface coreComponents {
18692
18720
  account?: string;
18693
18721
  /** Two-letter ISO 3166 alpha-2 code of the merchant's country. */
18694
18722
  merchantCountry?: string;
18723
+ /** Funding type of the payment card for this commission rate. */
18724
+ cardType?: "credit" | "debit";
18695
18725
  /** Account type of the split payment. */
18696
18726
  type?: "BalanceAccount" | "Commission" | "Remainder" | "PaymentFee";
18697
18727
  }[];
@@ -26997,7 +27027,11 @@ export interface coreComponents {
26997
27027
  canceledTime?: string;
26998
27028
  /** Specifies who initiated the cancellation. */
26999
27029
  canceledBy?: "merchant" | "customer" | "rebilly";
27000
- /** Category of the cancellation. */
27030
+ /**
27031
+ * Category of the cancellation.
27032
+ *
27033
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
27034
+ */
27001
27035
  cancelCategory?:
27002
27036
  | "billing-failure"
27003
27037
  | "delinquency"
@@ -27012,6 +27046,7 @@ export interface coreComponents {
27012
27046
  | "never-started"
27013
27047
  | "switched-plan"
27014
27048
  | "organization-deactivated"
27049
+ | "sandbox-retention"
27015
27050
  | "other";
27016
27051
  /** Description of the cancellation reason in free form. */
27017
27052
  cancelDescription?: string;
@@ -54044,7 +54079,11 @@ export interface storefrontComponents {
54044
54079
  canceledTime?: string | null;
54045
54080
  /** Specifies who initiated the cancellation. */
54046
54081
  canceledBy?: ("merchant" | "customer" | "rebilly") | null;
54047
- /** Category of the cancellation. */
54082
+ /**
54083
+ * Category of the cancellation.
54084
+ *
54085
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
54086
+ */
54048
54087
  cancelCategory?:
54049
54088
  | (
54050
54089
  | "billing-failure"
@@ -54060,6 +54099,7 @@ export interface storefrontComponents {
54060
54099
  | "never-started"
54061
54100
  | "switched-plan"
54062
54101
  | "organization-deactivated"
54102
+ | "sandbox-retention"
54063
54103
  | "other"
54064
54104
  )
54065
54105
  | null;
@@ -54696,7 +54736,11 @@ export interface storefrontComponents {
54696
54736
  cancellationTime?: string | null;
54697
54737
  /** Specifies who initiated the cancellation. */
54698
54738
  canceledBy?: ("merchant" | "customer" | "rebilly") | null;
54699
- /** Category of the cancellation. */
54739
+ /**
54740
+ * Category of the cancellation.
54741
+ *
54742
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
54743
+ */
54700
54744
  cancelCategory?:
54701
54745
  | (
54702
54746
  | "billing-failure"
@@ -54710,6 +54754,9 @@ export interface storefrontComponents {
54710
54754
  | "too-expensive"
54711
54755
  | "never-started"
54712
54756
  | "switched-plan"
54757
+ | "organization-deactivated"
54758
+ | "delinquency"
54759
+ | "sandbox-retention"
54713
54760
  | "other"
54714
54761
  )
54715
54762
  | null;
@@ -55010,7 +55057,12 @@ export interface storefrontComponents {
55010
55057
  appliedInvoiceId?: string | null;
55011
55058
  /** Specifies who initiated the cancellation. */
55012
55059
  canceledBy?: "merchant" | "customer" | "rebilly";
55013
- /** Reason for the cancellation. */
55060
+ /**
55061
+ * Reason for the cancellation.
55062
+ *
55063
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
55064
+ * If a request includes it, a validation error is returned.
55065
+ */
55014
55066
  reason?:
55015
55067
  | "did-not-use"
55016
55068
  | "did-not-want"
@@ -55021,7 +55073,10 @@ export interface storefrontComponents {
55021
55073
  | "contract-expired"
55022
55074
  | "too-expensive"
55023
55075
  | "other"
55024
- | "billing-failure";
55076
+ | "billing-failure"
55077
+ | "delinquency"
55078
+ | "organization-deactivated"
55079
+ | "sandbox-retention";
55025
55080
  /** Description of the cancellation reason in free form. */
55026
55081
  description?: string;
55027
55082
  /** Specifies if the customer gets a pro-rata credit for the time remaining between `churnTime` and order next renewal time. */
@@ -55306,7 +55361,12 @@ export interface storefrontComponents {
55306
55361
  appliedInvoiceId?: string | null;
55307
55362
  /** Specifies who initiated the cancellation. */
55308
55363
  canceledBy?: "merchant" | "customer" | "rebilly";
55309
- /** Reason for the cancellation. */
55364
+ /**
55365
+ * Reason for the cancellation.
55366
+ *
55367
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
55368
+ * If a request includes it, a validation error is returned.
55369
+ */
55310
55370
  reason?:
55311
55371
  | "did-not-use"
55312
55372
  | "did-not-want"
@@ -55317,7 +55377,10 @@ export interface storefrontComponents {
55317
55377
  | "contract-expired"
55318
55378
  | "too-expensive"
55319
55379
  | "other"
55320
- | "billing-failure";
55380
+ | "billing-failure"
55381
+ | "delinquency"
55382
+ | "organization-deactivated"
55383
+ | "sandbox-retention";
55321
55384
  /** Description of the cancellation reason in free form. */
55322
55385
  description?: string;
55323
55386
  /** Specifies if the customer gets a pro-rata credit for the time remaining between `churnTime` and subscription next renewal time. */
@@ -58937,6 +59000,8 @@ export interface storefrontComponents {
58937
59000
  account?: string;
58938
59001
  /** Two-letter ISO 3166 alpha-2 code of the merchant's country. */
58939
59002
  merchantCountry?: string;
59003
+ /** Funding type of the payment card for this commission rate. */
59004
+ cardType?: "credit" | "debit";
58940
59005
  /** Account type of the split payment. */
58941
59006
  type?: "BalanceAccount" | "Commission" | "Remainder" | "PaymentFee";
58942
59007
  }[];
@@ -67242,7 +67307,11 @@ export interface storefrontComponents {
67242
67307
  canceledTime?: string;
67243
67308
  /** Specifies who initiated the cancellation. */
67244
67309
  canceledBy?: "merchant" | "customer" | "rebilly";
67245
- /** Category of the cancellation. */
67310
+ /**
67311
+ * Category of the cancellation.
67312
+ *
67313
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
67314
+ */
67246
67315
  cancelCategory?:
67247
67316
  | "billing-failure"
67248
67317
  | "delinquency"
@@ -67257,6 +67326,7 @@ export interface storefrontComponents {
67257
67326
  | "never-started"
67258
67327
  | "switched-plan"
67259
67328
  | "organization-deactivated"
67329
+ | "sandbox-retention"
67260
67330
  | "other";
67261
67331
  /** Description of the cancellation reason in free form. */
67262
67332
  cancelDescription?: string;
@@ -81517,7 +81587,11 @@ export interface reportsComponents {
81517
81587
  canceledTime?: string | null;
81518
81588
  /** Specifies who initiated the cancellation. */
81519
81589
  canceledBy?: ("merchant" | "customer" | "rebilly") | null;
81520
- /** Category of the cancellation. */
81590
+ /**
81591
+ * Category of the cancellation.
81592
+ *
81593
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
81594
+ */
81521
81595
  cancelCategory?:
81522
81596
  | (
81523
81597
  | "billing-failure"
@@ -81533,6 +81607,7 @@ export interface reportsComponents {
81533
81607
  | "never-started"
81534
81608
  | "switched-plan"
81535
81609
  | "organization-deactivated"
81610
+ | "sandbox-retention"
81536
81611
  | "other"
81537
81612
  )
81538
81613
  | null;
@@ -82169,7 +82244,11 @@ export interface reportsComponents {
82169
82244
  cancellationTime?: string | null;
82170
82245
  /** Specifies who initiated the cancellation. */
82171
82246
  canceledBy?: ("merchant" | "customer" | "rebilly") | null;
82172
- /** Category of the cancellation. */
82247
+ /**
82248
+ * Category of the cancellation.
82249
+ *
82250
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
82251
+ */
82173
82252
  cancelCategory?:
82174
82253
  | (
82175
82254
  | "billing-failure"
@@ -82183,6 +82262,9 @@ export interface reportsComponents {
82183
82262
  | "too-expensive"
82184
82263
  | "never-started"
82185
82264
  | "switched-plan"
82265
+ | "organization-deactivated"
82266
+ | "delinquency"
82267
+ | "sandbox-retention"
82186
82268
  | "other"
82187
82269
  )
82188
82270
  | null;
@@ -82483,7 +82565,12 @@ export interface reportsComponents {
82483
82565
  appliedInvoiceId?: string | null;
82484
82566
  /** Specifies who initiated the cancellation. */
82485
82567
  canceledBy?: "merchant" | "customer" | "rebilly";
82486
- /** Reason for the cancellation. */
82568
+ /**
82569
+ * Reason for the cancellation.
82570
+ *
82571
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
82572
+ * If a request includes it, a validation error is returned.
82573
+ */
82487
82574
  reason?:
82488
82575
  | "did-not-use"
82489
82576
  | "did-not-want"
@@ -82494,7 +82581,10 @@ export interface reportsComponents {
82494
82581
  | "contract-expired"
82495
82582
  | "too-expensive"
82496
82583
  | "other"
82497
- | "billing-failure";
82584
+ | "billing-failure"
82585
+ | "delinquency"
82586
+ | "organization-deactivated"
82587
+ | "sandbox-retention";
82498
82588
  /** Description of the cancellation reason in free form. */
82499
82589
  description?: string;
82500
82590
  /** Specifies if the customer gets a pro-rata credit for the time remaining between `churnTime` and order next renewal time. */
@@ -82779,7 +82869,12 @@ export interface reportsComponents {
82779
82869
  appliedInvoiceId?: string | null;
82780
82870
  /** Specifies who initiated the cancellation. */
82781
82871
  canceledBy?: "merchant" | "customer" | "rebilly";
82782
- /** Reason for the cancellation. */
82872
+ /**
82873
+ * Reason for the cancellation.
82874
+ *
82875
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
82876
+ * If a request includes it, a validation error is returned.
82877
+ */
82783
82878
  reason?:
82784
82879
  | "did-not-use"
82785
82880
  | "did-not-want"
@@ -82790,7 +82885,10 @@ export interface reportsComponents {
82790
82885
  | "contract-expired"
82791
82886
  | "too-expensive"
82792
82887
  | "other"
82793
- | "billing-failure";
82888
+ | "billing-failure"
82889
+ | "delinquency"
82890
+ | "organization-deactivated"
82891
+ | "sandbox-retention";
82794
82892
  /** Description of the cancellation reason in free form. */
82795
82893
  description?: string;
82796
82894
  /** Specifies if the customer gets a pro-rata credit for the time remaining between `churnTime` and subscription next renewal time. */
@@ -86410,6 +86508,8 @@ export interface reportsComponents {
86410
86508
  account?: string;
86411
86509
  /** Two-letter ISO 3166 alpha-2 code of the merchant's country. */
86412
86510
  merchantCountry?: string;
86511
+ /** Funding type of the payment card for this commission rate. */
86512
+ cardType?: "credit" | "debit";
86413
86513
  /** Account type of the split payment. */
86414
86514
  type?: "BalanceAccount" | "Commission" | "Remainder" | "PaymentFee";
86415
86515
  }[];
@@ -94715,7 +94815,11 @@ export interface reportsComponents {
94715
94815
  canceledTime?: string;
94716
94816
  /** Specifies who initiated the cancellation. */
94717
94817
  canceledBy?: "merchant" | "customer" | "rebilly";
94718
- /** Category of the cancellation. */
94818
+ /**
94819
+ * Category of the cancellation.
94820
+ *
94821
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
94822
+ */
94719
94823
  cancelCategory?:
94720
94824
  | "billing-failure"
94721
94825
  | "delinquency"
@@ -94730,6 +94834,7 @@ export interface reportsComponents {
94730
94834
  | "never-started"
94731
94835
  | "switched-plan"
94732
94836
  | "organization-deactivated"
94837
+ | "sandbox-retention"
94733
94838
  | "other";
94734
94839
  /** Description of the cancellation reason in free form. */
94735
94840
  cancelDescription?: string;