rebilly-js-sdk 62.231.0 → 62.233.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.231.0 (2026-10-22)
1
+ ## 62.233.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.
@@ -5590,7 +5590,8 @@ export interface corePaths {
5590
5590
  *
5591
5591
  * The `type` field specifies the action:
5592
5592
  * - `approve`: Approves payout requests in the `ready` status.
5593
- * - `block`: Blocks payout requests that are not blocked and can be blocked in their current status.
5593
+ * - `block`: Blocks payout requests that can be blocked in their current status.
5594
+ * If `overwriteExisting` is `true`, already blocked payout requests receive the new block reason.
5594
5595
  * - `unblock`: Removes the block from blocked payout requests.
5595
5596
  * - `auto-allocate`: Creates allocations automatically for payout requests that can be allocated.
5596
5597
  * - `process`: Queues pending allocations of the payout requests in the batch for processing.
@@ -13799,7 +13800,11 @@ export interface coreComponents {
13799
13800
  canceledTime?: string | null;
13800
13801
  /** Specifies who initiated the cancellation. */
13801
13802
  canceledBy?: ("merchant" | "customer" | "rebilly") | null;
13802
- /** Category of the cancellation. */
13803
+ /**
13804
+ * Category of the cancellation.
13805
+ *
13806
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
13807
+ */
13803
13808
  cancelCategory?:
13804
13809
  | (
13805
13810
  | "billing-failure"
@@ -13815,6 +13820,7 @@ export interface coreComponents {
13815
13820
  | "never-started"
13816
13821
  | "switched-plan"
13817
13822
  | "organization-deactivated"
13823
+ | "sandbox-retention"
13818
13824
  | "other"
13819
13825
  )
13820
13826
  | null;
@@ -14451,7 +14457,11 @@ export interface coreComponents {
14451
14457
  cancellationTime?: string | null;
14452
14458
  /** Specifies who initiated the cancellation. */
14453
14459
  canceledBy?: ("merchant" | "customer" | "rebilly") | null;
14454
- /** Category of the cancellation. */
14460
+ /**
14461
+ * Category of the cancellation.
14462
+ *
14463
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
14464
+ */
14455
14465
  cancelCategory?:
14456
14466
  | (
14457
14467
  | "billing-failure"
@@ -14465,6 +14475,9 @@ export interface coreComponents {
14465
14475
  | "too-expensive"
14466
14476
  | "never-started"
14467
14477
  | "switched-plan"
14478
+ | "organization-deactivated"
14479
+ | "delinquency"
14480
+ | "sandbox-retention"
14468
14481
  | "other"
14469
14482
  )
14470
14483
  | null;
@@ -14765,7 +14778,12 @@ export interface coreComponents {
14765
14778
  appliedInvoiceId?: string | null;
14766
14779
  /** Specifies who initiated the cancellation. */
14767
14780
  canceledBy?: "merchant" | "customer" | "rebilly";
14768
- /** Reason for the cancellation. */
14781
+ /**
14782
+ * Reason for the cancellation.
14783
+ *
14784
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
14785
+ * If a request includes it, a validation error is returned.
14786
+ */
14769
14787
  reason?:
14770
14788
  | "did-not-use"
14771
14789
  | "did-not-want"
@@ -14776,7 +14794,10 @@ export interface coreComponents {
14776
14794
  | "contract-expired"
14777
14795
  | "too-expensive"
14778
14796
  | "other"
14779
- | "billing-failure";
14797
+ | "billing-failure"
14798
+ | "delinquency"
14799
+ | "organization-deactivated"
14800
+ | "sandbox-retention";
14780
14801
  /** Description of the cancellation reason in free form. */
14781
14802
  description?: string;
14782
14803
  /** Specifies if the customer gets a pro-rata credit for the time remaining between `churnTime` and order next renewal time. */
@@ -15061,7 +15082,12 @@ export interface coreComponents {
15061
15082
  appliedInvoiceId?: string | null;
15062
15083
  /** Specifies who initiated the cancellation. */
15063
15084
  canceledBy?: "merchant" | "customer" | "rebilly";
15064
- /** Reason for the cancellation. */
15085
+ /**
15086
+ * Reason for the cancellation.
15087
+ *
15088
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
15089
+ * If a request includes it, a validation error is returned.
15090
+ */
15065
15091
  reason?:
15066
15092
  | "did-not-use"
15067
15093
  | "did-not-want"
@@ -15072,7 +15098,10 @@ export interface coreComponents {
15072
15098
  | "contract-expired"
15073
15099
  | "too-expensive"
15074
15100
  | "other"
15075
- | "billing-failure";
15101
+ | "billing-failure"
15102
+ | "delinquency"
15103
+ | "organization-deactivated"
15104
+ | "sandbox-retention";
15076
15105
  /** Description of the cancellation reason in free form. */
15077
15106
  description?: string;
15078
15107
  /** Specifies if the customer gets a pro-rata credit for the time remaining between `churnTime` and subscription next renewal time. */
@@ -23219,6 +23248,8 @@ export interface coreComponents {
23219
23248
  reason: coreComponents["schemas"]["PayoutRequestBlockReason"];
23220
23249
  /** Additional description for blocking the payout requests in the batch. */
23221
23250
  description?: string | null;
23251
+ /** Specifies if already blocked payout requests in the batch receive the new block reason. */
23252
+ overwriteExisting?: boolean;
23222
23253
  };
23223
23254
  UnblockPayoutRequestBatchOperation: {
23224
23255
  /** Type of operation that removes the block from payout requests in the batch. */
@@ -26999,7 +27030,11 @@ export interface coreComponents {
26999
27030
  canceledTime?: string;
27000
27031
  /** Specifies who initiated the cancellation. */
27001
27032
  canceledBy?: "merchant" | "customer" | "rebilly";
27002
- /** Category of the cancellation. */
27033
+ /**
27034
+ * Category of the cancellation.
27035
+ *
27036
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
27037
+ */
27003
27038
  cancelCategory?:
27004
27039
  | "billing-failure"
27005
27040
  | "delinquency"
@@ -27014,6 +27049,7 @@ export interface coreComponents {
27014
27049
  | "never-started"
27015
27050
  | "switched-plan"
27016
27051
  | "organization-deactivated"
27052
+ | "sandbox-retention"
27017
27053
  | "other";
27018
27054
  /** Description of the cancellation reason in free form. */
27019
27055
  cancelDescription?: string;
@@ -43821,7 +43857,8 @@ export interface operations {
43821
43857
  *
43822
43858
  * The `type` field specifies the action:
43823
43859
  * - `approve`: Approves payout requests in the `ready` status.
43824
- * - `block`: Blocks payout requests that are not blocked and can be blocked in their current status.
43860
+ * - `block`: Blocks payout requests that can be blocked in their current status.
43861
+ * If `overwriteExisting` is `true`, already blocked payout requests receive the new block reason.
43825
43862
  * - `unblock`: Removes the block from blocked payout requests.
43826
43863
  * - `auto-allocate`: Creates allocations automatically for payout requests that can be allocated.
43827
43864
  * - `process`: Queues pending allocations of the payout requests in the batch for processing.
@@ -54046,7 +54083,11 @@ export interface storefrontComponents {
54046
54083
  canceledTime?: string | null;
54047
54084
  /** Specifies who initiated the cancellation. */
54048
54085
  canceledBy?: ("merchant" | "customer" | "rebilly") | null;
54049
- /** Category of the cancellation. */
54086
+ /**
54087
+ * Category of the cancellation.
54088
+ *
54089
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
54090
+ */
54050
54091
  cancelCategory?:
54051
54092
  | (
54052
54093
  | "billing-failure"
@@ -54062,6 +54103,7 @@ export interface storefrontComponents {
54062
54103
  | "never-started"
54063
54104
  | "switched-plan"
54064
54105
  | "organization-deactivated"
54106
+ | "sandbox-retention"
54065
54107
  | "other"
54066
54108
  )
54067
54109
  | null;
@@ -54698,7 +54740,11 @@ export interface storefrontComponents {
54698
54740
  cancellationTime?: string | null;
54699
54741
  /** Specifies who initiated the cancellation. */
54700
54742
  canceledBy?: ("merchant" | "customer" | "rebilly") | null;
54701
- /** Category of the cancellation. */
54743
+ /**
54744
+ * Category of the cancellation.
54745
+ *
54746
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
54747
+ */
54702
54748
  cancelCategory?:
54703
54749
  | (
54704
54750
  | "billing-failure"
@@ -54712,6 +54758,9 @@ export interface storefrontComponents {
54712
54758
  | "too-expensive"
54713
54759
  | "never-started"
54714
54760
  | "switched-plan"
54761
+ | "organization-deactivated"
54762
+ | "delinquency"
54763
+ | "sandbox-retention"
54715
54764
  | "other"
54716
54765
  )
54717
54766
  | null;
@@ -55012,7 +55061,12 @@ export interface storefrontComponents {
55012
55061
  appliedInvoiceId?: string | null;
55013
55062
  /** Specifies who initiated the cancellation. */
55014
55063
  canceledBy?: "merchant" | "customer" | "rebilly";
55015
- /** Reason for the cancellation. */
55064
+ /**
55065
+ * Reason for the cancellation.
55066
+ *
55067
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
55068
+ * If a request includes it, a validation error is returned.
55069
+ */
55016
55070
  reason?:
55017
55071
  | "did-not-use"
55018
55072
  | "did-not-want"
@@ -55023,7 +55077,10 @@ export interface storefrontComponents {
55023
55077
  | "contract-expired"
55024
55078
  | "too-expensive"
55025
55079
  | "other"
55026
- | "billing-failure";
55080
+ | "billing-failure"
55081
+ | "delinquency"
55082
+ | "organization-deactivated"
55083
+ | "sandbox-retention";
55027
55084
  /** Description of the cancellation reason in free form. */
55028
55085
  description?: string;
55029
55086
  /** Specifies if the customer gets a pro-rata credit for the time remaining between `churnTime` and order next renewal time. */
@@ -55308,7 +55365,12 @@ export interface storefrontComponents {
55308
55365
  appliedInvoiceId?: string | null;
55309
55366
  /** Specifies who initiated the cancellation. */
55310
55367
  canceledBy?: "merchant" | "customer" | "rebilly";
55311
- /** Reason for the cancellation. */
55368
+ /**
55369
+ * Reason for the cancellation.
55370
+ *
55371
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
55372
+ * If a request includes it, a validation error is returned.
55373
+ */
55312
55374
  reason?:
55313
55375
  | "did-not-use"
55314
55376
  | "did-not-want"
@@ -55319,7 +55381,10 @@ export interface storefrontComponents {
55319
55381
  | "contract-expired"
55320
55382
  | "too-expensive"
55321
55383
  | "other"
55322
- | "billing-failure";
55384
+ | "billing-failure"
55385
+ | "delinquency"
55386
+ | "organization-deactivated"
55387
+ | "sandbox-retention";
55323
55388
  /** Description of the cancellation reason in free form. */
55324
55389
  description?: string;
55325
55390
  /** Specifies if the customer gets a pro-rata credit for the time remaining between `churnTime` and subscription next renewal time. */
@@ -63466,6 +63531,8 @@ export interface storefrontComponents {
63466
63531
  reason: storefrontComponents["schemas"]["PayoutRequestBlockReason"];
63467
63532
  /** Additional description for blocking the payout requests in the batch. */
63468
63533
  description?: string | null;
63534
+ /** Specifies if already blocked payout requests in the batch receive the new block reason. */
63535
+ overwriteExisting?: boolean;
63469
63536
  };
63470
63537
  UnblockPayoutRequestBatchOperation: {
63471
63538
  /** Type of operation that removes the block from payout requests in the batch. */
@@ -67246,7 +67313,11 @@ export interface storefrontComponents {
67246
67313
  canceledTime?: string;
67247
67314
  /** Specifies who initiated the cancellation. */
67248
67315
  canceledBy?: "merchant" | "customer" | "rebilly";
67249
- /** Category of the cancellation. */
67316
+ /**
67317
+ * Category of the cancellation.
67318
+ *
67319
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
67320
+ */
67250
67321
  cancelCategory?:
67251
67322
  | "billing-failure"
67252
67323
  | "delinquency"
@@ -67261,6 +67332,7 @@ export interface storefrontComponents {
67261
67332
  | "never-started"
67262
67333
  | "switched-plan"
67263
67334
  | "organization-deactivated"
67335
+ | "sandbox-retention"
67264
67336
  | "other";
67265
67337
  /** Description of the cancellation reason in free form. */
67266
67338
  cancelDescription?: string;
@@ -81521,7 +81593,11 @@ export interface reportsComponents {
81521
81593
  canceledTime?: string | null;
81522
81594
  /** Specifies who initiated the cancellation. */
81523
81595
  canceledBy?: ("merchant" | "customer" | "rebilly") | null;
81524
- /** Category of the cancellation. */
81596
+ /**
81597
+ * Category of the cancellation.
81598
+ *
81599
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
81600
+ */
81525
81601
  cancelCategory?:
81526
81602
  | (
81527
81603
  | "billing-failure"
@@ -81537,6 +81613,7 @@ export interface reportsComponents {
81537
81613
  | "never-started"
81538
81614
  | "switched-plan"
81539
81615
  | "organization-deactivated"
81616
+ | "sandbox-retention"
81540
81617
  | "other"
81541
81618
  )
81542
81619
  | null;
@@ -82173,7 +82250,11 @@ export interface reportsComponents {
82173
82250
  cancellationTime?: string | null;
82174
82251
  /** Specifies who initiated the cancellation. */
82175
82252
  canceledBy?: ("merchant" | "customer" | "rebilly") | null;
82176
- /** Category of the cancellation. */
82253
+ /**
82254
+ * Category of the cancellation.
82255
+ *
82256
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
82257
+ */
82177
82258
  cancelCategory?:
82178
82259
  | (
82179
82260
  | "billing-failure"
@@ -82187,6 +82268,9 @@ export interface reportsComponents {
82187
82268
  | "too-expensive"
82188
82269
  | "never-started"
82189
82270
  | "switched-plan"
82271
+ | "organization-deactivated"
82272
+ | "delinquency"
82273
+ | "sandbox-retention"
82190
82274
  | "other"
82191
82275
  )
82192
82276
  | null;
@@ -82487,7 +82571,12 @@ export interface reportsComponents {
82487
82571
  appliedInvoiceId?: string | null;
82488
82572
  /** Specifies who initiated the cancellation. */
82489
82573
  canceledBy?: "merchant" | "customer" | "rebilly";
82490
- /** Reason for the cancellation. */
82574
+ /**
82575
+ * Reason for the cancellation.
82576
+ *
82577
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
82578
+ * If a request includes it, a validation error is returned.
82579
+ */
82491
82580
  reason?:
82492
82581
  | "did-not-use"
82493
82582
  | "did-not-want"
@@ -82498,7 +82587,10 @@ export interface reportsComponents {
82498
82587
  | "contract-expired"
82499
82588
  | "too-expensive"
82500
82589
  | "other"
82501
- | "billing-failure";
82590
+ | "billing-failure"
82591
+ | "delinquency"
82592
+ | "organization-deactivated"
82593
+ | "sandbox-retention";
82502
82594
  /** Description of the cancellation reason in free form. */
82503
82595
  description?: string;
82504
82596
  /** Specifies if the customer gets a pro-rata credit for the time remaining between `churnTime` and order next renewal time. */
@@ -82783,7 +82875,12 @@ export interface reportsComponents {
82783
82875
  appliedInvoiceId?: string | null;
82784
82876
  /** Specifies who initiated the cancellation. */
82785
82877
  canceledBy?: "merchant" | "customer" | "rebilly";
82786
- /** Reason for the cancellation. */
82878
+ /**
82879
+ * Reason for the cancellation.
82880
+ *
82881
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
82882
+ * If a request includes it, a validation error is returned.
82883
+ */
82787
82884
  reason?:
82788
82885
  | "did-not-use"
82789
82886
  | "did-not-want"
@@ -82794,7 +82891,10 @@ export interface reportsComponents {
82794
82891
  | "contract-expired"
82795
82892
  | "too-expensive"
82796
82893
  | "other"
82797
- | "billing-failure";
82894
+ | "billing-failure"
82895
+ | "delinquency"
82896
+ | "organization-deactivated"
82897
+ | "sandbox-retention";
82798
82898
  /** Description of the cancellation reason in free form. */
82799
82899
  description?: string;
82800
82900
  /** Specifies if the customer gets a pro-rata credit for the time remaining between `churnTime` and subscription next renewal time. */
@@ -90941,6 +91041,8 @@ export interface reportsComponents {
90941
91041
  reason: reportsComponents["schemas"]["PayoutRequestBlockReason"];
90942
91042
  /** Additional description for blocking the payout requests in the batch. */
90943
91043
  description?: string | null;
91044
+ /** Specifies if already blocked payout requests in the batch receive the new block reason. */
91045
+ overwriteExisting?: boolean;
90944
91046
  };
90945
91047
  UnblockPayoutRequestBatchOperation: {
90946
91048
  /** Type of operation that removes the block from payout requests in the batch. */
@@ -94721,7 +94823,11 @@ export interface reportsComponents {
94721
94823
  canceledTime?: string;
94722
94824
  /** Specifies who initiated the cancellation. */
94723
94825
  canceledBy?: "merchant" | "customer" | "rebilly";
94724
- /** Category of the cancellation. */
94826
+ /**
94827
+ * Category of the cancellation.
94828
+ *
94829
+ * The `sandbox-retention` value is set only in the sandbox environment when a recurring order is canceled 90 days after creation.
94830
+ */
94725
94831
  cancelCategory?:
94726
94832
  | "billing-failure"
94727
94833
  | "delinquency"
@@ -94736,6 +94842,7 @@ export interface reportsComponents {
94736
94842
  | "never-started"
94737
94843
  | "switched-plan"
94738
94844
  | "organization-deactivated"
94845
+ | "sandbox-retention"
94739
94846
  | "other";
94740
94847
  /** Description of the cancellation reason in free form. */
94741
94848
  cancelDescription?: string;