rebilly-js-sdk 62.196.2 → 62.198.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.196.2 (2026-10-02)
1
+ ## 62.198.0 (2026-10-02)
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.
@@ -3986,13 +3986,22 @@ export interface corePaths {
3986
3986
  * Creates an order.
3987
3987
  *
3988
3988
  * To create or update an order with a specified ID, use the [Upsert an order](../PutSubscription) operation.
3989
+ *
3990
+ * Organizations that use the current order model cannot create legacy orders, and this operation returns a validation error for them.
3991
+ * To create an order with the current order model, use the [Create an order](../PostOrder) operation.
3989
3992
  */
3990
3993
  post: operations["PostSubscription"];
3991
3994
  };
3992
3995
  "/subscriptions/{id}": {
3993
3996
  /** Retrieves an order with a specified ID. */
3994
3997
  get: operations["GetSubscription"];
3995
- /** Creates or updates (upserts) an order with a specified ID. */
3998
+ /**
3999
+ * Creates or updates (upserts) an order with a specified ID.
4000
+ *
4001
+ * Organizations that use the current order model cannot create legacy orders.
4002
+ * For these organizations, this operation only updates an existing order, and returns a validation error when the order does not exist.
4003
+ * To create an order with the current order model, use the [Create an order](../PostOrder) operation.
4004
+ */
3996
4005
  put: operations["PutSubscription"];
3997
4006
  /** Deletes a pending order with a specified ID. */
3998
4007
  delete: operations["DeleteSubscription"];
@@ -12691,7 +12700,12 @@ export interface coreComponents {
12691
12700
  * If this value is `null`, the quote acceptance time is used.
12692
12701
  */
12693
12702
  startTime?: string | null;
12694
- /** Specifies if the order is a legacy order. */
12703
+ /**
12704
+ * Specifies if the order is a legacy order.
12705
+ * If omitted when the quote is created, the value follows the order model that is used by the organization: `false` for the current order model and `true` for the legacy order model.
12706
+ * If omitted when the quote is updated, the value does not change.
12707
+ * Organizations that use the current order model cannot set this value to `true`.
12708
+ */
12695
12709
  isLegacy?: boolean;
12696
12710
  };
12697
12711
  /** Preview of the quote invoice. */
@@ -17643,6 +17657,10 @@ export interface coreComponents {
17643
17657
  | "invoice-partially-refunded"
17644
17658
  | "invoice-past-due"
17645
17659
  | "invoice-past-due-reminder"
17660
+ | "invoice-past-due-reminder-15-days"
17661
+ | "invoice-past-due-reminder-30-days"
17662
+ | "invoice-past-due-reminder-60-days"
17663
+ | "invoice-past-due-reminder-90-days"
17646
17664
  | "invoice-refunded"
17647
17665
  | "invoice-revenue-recognized"
17648
17666
  | "invoice-tax-calculation-failed"
@@ -23351,6 +23369,10 @@ export interface coreComponents {
23351
23369
  | "invoice-partially-refunded"
23352
23370
  | "invoice-past-due"
23353
23371
  | "invoice-past-due-reminder"
23372
+ | "invoice-past-due-reminder-15-days"
23373
+ | "invoice-past-due-reminder-30-days"
23374
+ | "invoice-past-due-reminder-60-days"
23375
+ | "invoice-past-due-reminder-90-days"
23354
23376
  | "invoice-refunded"
23355
23377
  | "invoice-reissued"
23356
23378
  | "invoice-tax-calculation-failed"
@@ -27842,7 +27864,12 @@ export interface coreComponents {
27842
27864
  * If this value is `null`, the quote acceptance time is used.
27843
27865
  */
27844
27866
  startTime?: string | null;
27845
- /** Specifies if the order is a legacy order. */
27867
+ /**
27868
+ * Specifies if the order is a legacy order.
27869
+ * If omitted when the quote is created, the value follows the order model that is used by the organization: `false` for the current order model and `true` for the legacy order model.
27870
+ * If omitted when the quote is updated, the value does not change.
27871
+ * Organizations that use the current order model cannot set this value to `true`.
27872
+ */
27846
27873
  isLegacy?: boolean;
27847
27874
  };
27848
27875
  /** Preview of the quote invoice. */
@@ -30100,6 +30127,32 @@ export interface coreComponents {
30100
30127
  };
30101
30128
  };
30102
30129
  };
30130
+ /** Payload of the invoice past due reminder webhook event. */
30131
+ InvoicePastDueReminderWebhook: {
30132
+ content: {
30133
+ "application/json": {
30134
+ /** ID of the invoice. */
30135
+ invoiceId?: string;
30136
+ /** Type of event that triggered the webhook. */
30137
+ eventType?:
30138
+ | "invoice-past-due-reminder-15-days"
30139
+ | "invoice-past-due-reminder-30-days"
30140
+ | "invoice-past-due-reminder-60-days"
30141
+ | "invoice-past-due-reminder-90-days";
30142
+ /** Embedded objects related to the invoice event. */
30143
+ _embedded?: {
30144
+ invoice?: coreComponents["schemas"]["Invoice"];
30145
+ };
30146
+ /** Links to related resources. */
30147
+ _links?: {
30148
+ /** URL of the link. */
30149
+ href?: string;
30150
+ /** Relationship type of the link. */
30151
+ rel?: "invoice";
30152
+ }[];
30153
+ };
30154
+ };
30155
+ };
30103
30156
  /** Payload of KYC document-related webhook event. */
30104
30157
  KycDocumentWebhook: {
30105
30158
  content: {
@@ -36937,6 +36990,9 @@ export interface operations {
36937
36990
  * Creates an order.
36938
36991
  *
36939
36992
  * To create or update an order with a specified ID, use the [Upsert an order](../PutSubscription) operation.
36993
+ *
36994
+ * Organizations that use the current order model cannot create legacy orders, and this operation returns a validation error for them.
36995
+ * To create an order with the current order model, use the [Create an order](../PostOrder) operation.
36940
36996
  */
36941
36997
  PostSubscription: {
36942
36998
  parameters: {
@@ -37020,7 +37076,13 @@ export interface operations {
37020
37076
  404: coreComponents["responses"]["NotFound"];
37021
37077
  };
37022
37078
  };
37023
- /** Creates or updates (upserts) an order with a specified ID. */
37079
+ /**
37080
+ * Creates or updates (upserts) an order with a specified ID.
37081
+ *
37082
+ * Organizations that use the current order model cannot create legacy orders.
37083
+ * For these organizations, this operation only updates an existing order, and returns a validation error when the order does not exist.
37084
+ * To create an order with the current order model, use the [Create an order](../PostOrder) operation.
37085
+ */
37024
37086
  PutSubscription: {
37025
37087
  parameters: {
37026
37088
  path: {
@@ -45740,7 +45802,11 @@ export interface storefrontPaths {
45740
45802
  post: operations["StorefrontPostRegister"];
45741
45803
  };
45742
45804
  "/subscriptions": {
45743
- /** Creates a subscription order in a billing portal. */
45805
+ /**
45806
+ * Creates a subscription order in a billing portal.
45807
+ *
45808
+ * Organizations that use the current order model cannot create legacy orders, and this operation returns a validation error for them.
45809
+ */
45744
45810
  post: operations["StorefrontPostSubscription"];
45745
45811
  };
45746
45812
  "/transactions": {
@@ -52464,7 +52530,12 @@ export interface storefrontComponents {
52464
52530
  * If this value is `null`, the quote acceptance time is used.
52465
52531
  */
52466
52532
  startTime?: string | null;
52467
- /** Specifies if the order is a legacy order. */
52533
+ /**
52534
+ * Specifies if the order is a legacy order.
52535
+ * If omitted when the quote is created, the value follows the order model that is used by the organization: `false` for the current order model and `true` for the legacy order model.
52536
+ * If omitted when the quote is updated, the value does not change.
52537
+ * Organizations that use the current order model cannot set this value to `true`.
52538
+ */
52468
52539
  isLegacy?: boolean;
52469
52540
  };
52470
52541
  /** Preview of the quote invoice. */
@@ -57416,6 +57487,10 @@ export interface storefrontComponents {
57416
57487
  | "invoice-partially-refunded"
57417
57488
  | "invoice-past-due"
57418
57489
  | "invoice-past-due-reminder"
57490
+ | "invoice-past-due-reminder-15-days"
57491
+ | "invoice-past-due-reminder-30-days"
57492
+ | "invoice-past-due-reminder-60-days"
57493
+ | "invoice-past-due-reminder-90-days"
57419
57494
  | "invoice-refunded"
57420
57495
  | "invoice-revenue-recognized"
57421
57496
  | "invoice-tax-calculation-failed"
@@ -63124,6 +63199,10 @@ export interface storefrontComponents {
63124
63199
  | "invoice-partially-refunded"
63125
63200
  | "invoice-past-due"
63126
63201
  | "invoice-past-due-reminder"
63202
+ | "invoice-past-due-reminder-15-days"
63203
+ | "invoice-past-due-reminder-30-days"
63204
+ | "invoice-past-due-reminder-60-days"
63205
+ | "invoice-past-due-reminder-90-days"
63127
63206
  | "invoice-refunded"
63128
63207
  | "invoice-reissued"
63129
63208
  | "invoice-tax-calculation-failed"
@@ -67615,7 +67694,12 @@ export interface storefrontComponents {
67615
67694
  * If this value is `null`, the quote acceptance time is used.
67616
67695
  */
67617
67696
  startTime?: string | null;
67618
- /** Specifies if the order is a legacy order. */
67697
+ /**
67698
+ * Specifies if the order is a legacy order.
67699
+ * If omitted when the quote is created, the value follows the order model that is used by the organization: `false` for the current order model and `true` for the legacy order model.
67700
+ * If omitted when the quote is updated, the value does not change.
67701
+ * Organizations that use the current order model cannot set this value to `true`.
67702
+ */
67619
67703
  isLegacy?: boolean;
67620
67704
  };
67621
67705
  /** Preview of the quote invoice. */
@@ -69873,6 +69957,32 @@ export interface storefrontComponents {
69873
69957
  };
69874
69958
  };
69875
69959
  };
69960
+ /** Payload of the invoice past due reminder webhook event. */
69961
+ InvoicePastDueReminderWebhook: {
69962
+ content: {
69963
+ "application/json": {
69964
+ /** ID of the invoice. */
69965
+ invoiceId?: string;
69966
+ /** Type of event that triggered the webhook. */
69967
+ eventType?:
69968
+ | "invoice-past-due-reminder-15-days"
69969
+ | "invoice-past-due-reminder-30-days"
69970
+ | "invoice-past-due-reminder-60-days"
69971
+ | "invoice-past-due-reminder-90-days";
69972
+ /** Embedded objects related to the invoice event. */
69973
+ _embedded?: {
69974
+ invoice?: storefrontComponents["schemas"]["Invoice"];
69975
+ };
69976
+ /** Links to related resources. */
69977
+ _links?: {
69978
+ /** URL of the link. */
69979
+ href?: string;
69980
+ /** Relationship type of the link. */
69981
+ rel?: "invoice";
69982
+ }[];
69983
+ };
69984
+ };
69985
+ };
69876
69986
  /** Payload of KYC document-related webhook event. */
69877
69987
  KycDocumentWebhook: {
69878
69988
  content: {
@@ -72069,7 +72179,11 @@ export interface operations {
72069
72179
  };
72070
72180
  requestBody: storefrontComponents["requestBodies"]["PostRegister"];
72071
72181
  };
72072
- /** Creates a subscription order in a billing portal. */
72182
+ /**
72183
+ * Creates a subscription order in a billing portal.
72184
+ *
72185
+ * Organizations that use the current order model cannot create legacy orders, and this operation returns a validation error for them.
72186
+ */
72073
72187
  StorefrontPostSubscription: {
72074
72188
  responses: {
72075
72189
  /** Subscription created. */
@@ -79179,7 +79293,12 @@ export interface reportsComponents {
79179
79293
  * If this value is `null`, the quote acceptance time is used.
79180
79294
  */
79181
79295
  startTime?: string | null;
79182
- /** Specifies if the order is a legacy order. */
79296
+ /**
79297
+ * Specifies if the order is a legacy order.
79298
+ * If omitted when the quote is created, the value follows the order model that is used by the organization: `false` for the current order model and `true` for the legacy order model.
79299
+ * If omitted when the quote is updated, the value does not change.
79300
+ * Organizations that use the current order model cannot set this value to `true`.
79301
+ */
79183
79302
  isLegacy?: boolean;
79184
79303
  };
79185
79304
  /** Preview of the quote invoice. */
@@ -84131,6 +84250,10 @@ export interface reportsComponents {
84131
84250
  | "invoice-partially-refunded"
84132
84251
  | "invoice-past-due"
84133
84252
  | "invoice-past-due-reminder"
84253
+ | "invoice-past-due-reminder-15-days"
84254
+ | "invoice-past-due-reminder-30-days"
84255
+ | "invoice-past-due-reminder-60-days"
84256
+ | "invoice-past-due-reminder-90-days"
84134
84257
  | "invoice-refunded"
84135
84258
  | "invoice-revenue-recognized"
84136
84259
  | "invoice-tax-calculation-failed"
@@ -89839,6 +89962,10 @@ export interface reportsComponents {
89839
89962
  | "invoice-partially-refunded"
89840
89963
  | "invoice-past-due"
89841
89964
  | "invoice-past-due-reminder"
89965
+ | "invoice-past-due-reminder-15-days"
89966
+ | "invoice-past-due-reminder-30-days"
89967
+ | "invoice-past-due-reminder-60-days"
89968
+ | "invoice-past-due-reminder-90-days"
89842
89969
  | "invoice-refunded"
89843
89970
  | "invoice-reissued"
89844
89971
  | "invoice-tax-calculation-failed"
@@ -94330,7 +94457,12 @@ export interface reportsComponents {
94330
94457
  * If this value is `null`, the quote acceptance time is used.
94331
94458
  */
94332
94459
  startTime?: string | null;
94333
- /** Specifies if the order is a legacy order. */
94460
+ /**
94461
+ * Specifies if the order is a legacy order.
94462
+ * If omitted when the quote is created, the value follows the order model that is used by the organization: `false` for the current order model and `true` for the legacy order model.
94463
+ * If omitted when the quote is updated, the value does not change.
94464
+ * Organizations that use the current order model cannot set this value to `true`.
94465
+ */
94334
94466
  isLegacy?: boolean;
94335
94467
  };
94336
94468
  /** Preview of the quote invoice. */
@@ -96588,6 +96720,32 @@ export interface reportsComponents {
96588
96720
  };
96589
96721
  };
96590
96722
  };
96723
+ /** Payload of the invoice past due reminder webhook event. */
96724
+ InvoicePastDueReminderWebhook: {
96725
+ content: {
96726
+ "application/json": {
96727
+ /** ID of the invoice. */
96728
+ invoiceId?: string;
96729
+ /** Type of event that triggered the webhook. */
96730
+ eventType?:
96731
+ | "invoice-past-due-reminder-15-days"
96732
+ | "invoice-past-due-reminder-30-days"
96733
+ | "invoice-past-due-reminder-60-days"
96734
+ | "invoice-past-due-reminder-90-days";
96735
+ /** Embedded objects related to the invoice event. */
96736
+ _embedded?: {
96737
+ invoice?: reportsComponents["schemas"]["Invoice"];
96738
+ };
96739
+ /** Links to related resources. */
96740
+ _links?: {
96741
+ /** URL of the link. */
96742
+ href?: string;
96743
+ /** Relationship type of the link. */
96744
+ rel?: "invoice";
96745
+ }[];
96746
+ };
96747
+ };
96748
+ };
96591
96749
  /** Payload of KYC document-related webhook event. */
96592
96750
  KycDocumentWebhook: {
96593
96751
  content: {
@@ -3986,13 +3986,22 @@ export interface corePaths {
3986
3986
  * Creates an order.
3987
3987
  *
3988
3988
  * To create or update an order with a specified ID, use the [Upsert an order](../PutSubscription) operation.
3989
+ *
3990
+ * Organizations that use the current order model cannot create legacy orders, and this operation returns a validation error for them.
3991
+ * To create an order with the current order model, use the [Create an order](../PostOrder) operation.
3989
3992
  */
3990
3993
  post: operations["PostSubscription"];
3991
3994
  };
3992
3995
  "/subscriptions/{id}": {
3993
3996
  /** Retrieves an order with a specified ID. */
3994
3997
  get: operations["GetSubscription"];
3995
- /** Creates or updates (upserts) an order with a specified ID. */
3998
+ /**
3999
+ * Creates or updates (upserts) an order with a specified ID.
4000
+ *
4001
+ * Organizations that use the current order model cannot create legacy orders.
4002
+ * For these organizations, this operation only updates an existing order, and returns a validation error when the order does not exist.
4003
+ * To create an order with the current order model, use the [Create an order](../PostOrder) operation.
4004
+ */
3996
4005
  put: operations["PutSubscription"];
3997
4006
  /** Deletes a pending order with a specified ID. */
3998
4007
  delete: operations["DeleteSubscription"];
@@ -12691,7 +12700,12 @@ export interface coreComponents {
12691
12700
  * If this value is `null`, the quote acceptance time is used.
12692
12701
  */
12693
12702
  startTime?: string | null;
12694
- /** Specifies if the order is a legacy order. */
12703
+ /**
12704
+ * Specifies if the order is a legacy order.
12705
+ * If omitted when the quote is created, the value follows the order model that is used by the organization: `false` for the current order model and `true` for the legacy order model.
12706
+ * If omitted when the quote is updated, the value does not change.
12707
+ * Organizations that use the current order model cannot set this value to `true`.
12708
+ */
12695
12709
  isLegacy?: boolean;
12696
12710
  };
12697
12711
  /** Preview of the quote invoice. */
@@ -17643,6 +17657,10 @@ export interface coreComponents {
17643
17657
  | "invoice-partially-refunded"
17644
17658
  | "invoice-past-due"
17645
17659
  | "invoice-past-due-reminder"
17660
+ | "invoice-past-due-reminder-15-days"
17661
+ | "invoice-past-due-reminder-30-days"
17662
+ | "invoice-past-due-reminder-60-days"
17663
+ | "invoice-past-due-reminder-90-days"
17646
17664
  | "invoice-refunded"
17647
17665
  | "invoice-revenue-recognized"
17648
17666
  | "invoice-tax-calculation-failed"
@@ -23351,6 +23369,10 @@ export interface coreComponents {
23351
23369
  | "invoice-partially-refunded"
23352
23370
  | "invoice-past-due"
23353
23371
  | "invoice-past-due-reminder"
23372
+ | "invoice-past-due-reminder-15-days"
23373
+ | "invoice-past-due-reminder-30-days"
23374
+ | "invoice-past-due-reminder-60-days"
23375
+ | "invoice-past-due-reminder-90-days"
23354
23376
  | "invoice-refunded"
23355
23377
  | "invoice-reissued"
23356
23378
  | "invoice-tax-calculation-failed"
@@ -27842,7 +27864,12 @@ export interface coreComponents {
27842
27864
  * If this value is `null`, the quote acceptance time is used.
27843
27865
  */
27844
27866
  startTime?: string | null;
27845
- /** Specifies if the order is a legacy order. */
27867
+ /**
27868
+ * Specifies if the order is a legacy order.
27869
+ * If omitted when the quote is created, the value follows the order model that is used by the organization: `false` for the current order model and `true` for the legacy order model.
27870
+ * If omitted when the quote is updated, the value does not change.
27871
+ * Organizations that use the current order model cannot set this value to `true`.
27872
+ */
27846
27873
  isLegacy?: boolean;
27847
27874
  };
27848
27875
  /** Preview of the quote invoice. */
@@ -30100,6 +30127,32 @@ export interface coreComponents {
30100
30127
  };
30101
30128
  };
30102
30129
  };
30130
+ /** Payload of the invoice past due reminder webhook event. */
30131
+ InvoicePastDueReminderWebhook: {
30132
+ content: {
30133
+ "application/json": {
30134
+ /** ID of the invoice. */
30135
+ invoiceId?: string;
30136
+ /** Type of event that triggered the webhook. */
30137
+ eventType?:
30138
+ | "invoice-past-due-reminder-15-days"
30139
+ | "invoice-past-due-reminder-30-days"
30140
+ | "invoice-past-due-reminder-60-days"
30141
+ | "invoice-past-due-reminder-90-days";
30142
+ /** Embedded objects related to the invoice event. */
30143
+ _embedded?: {
30144
+ invoice?: coreComponents["schemas"]["Invoice"];
30145
+ };
30146
+ /** Links to related resources. */
30147
+ _links?: {
30148
+ /** URL of the link. */
30149
+ href?: string;
30150
+ /** Relationship type of the link. */
30151
+ rel?: "invoice";
30152
+ }[];
30153
+ };
30154
+ };
30155
+ };
30103
30156
  /** Payload of KYC document-related webhook event. */
30104
30157
  KycDocumentWebhook: {
30105
30158
  content: {
@@ -36937,6 +36990,9 @@ export interface operations {
36937
36990
  * Creates an order.
36938
36991
  *
36939
36992
  * To create or update an order with a specified ID, use the [Upsert an order](../PutSubscription) operation.
36993
+ *
36994
+ * Organizations that use the current order model cannot create legacy orders, and this operation returns a validation error for them.
36995
+ * To create an order with the current order model, use the [Create an order](../PostOrder) operation.
36940
36996
  */
36941
36997
  PostSubscription: {
36942
36998
  parameters: {
@@ -37020,7 +37076,13 @@ export interface operations {
37020
37076
  404: coreComponents["responses"]["NotFound"];
37021
37077
  };
37022
37078
  };
37023
- /** Creates or updates (upserts) an order with a specified ID. */
37079
+ /**
37080
+ * Creates or updates (upserts) an order with a specified ID.
37081
+ *
37082
+ * Organizations that use the current order model cannot create legacy orders.
37083
+ * For these organizations, this operation only updates an existing order, and returns a validation error when the order does not exist.
37084
+ * To create an order with the current order model, use the [Create an order](../PostOrder) operation.
37085
+ */
37024
37086
  PutSubscription: {
37025
37087
  parameters: {
37026
37088
  path: {
@@ -45740,7 +45802,11 @@ export interface storefrontPaths {
45740
45802
  post: operations["StorefrontPostRegister"];
45741
45803
  };
45742
45804
  "/subscriptions": {
45743
- /** Creates a subscription order in a billing portal. */
45805
+ /**
45806
+ * Creates a subscription order in a billing portal.
45807
+ *
45808
+ * Organizations that use the current order model cannot create legacy orders, and this operation returns a validation error for them.
45809
+ */
45744
45810
  post: operations["StorefrontPostSubscription"];
45745
45811
  };
45746
45812
  "/transactions": {
@@ -52464,7 +52530,12 @@ export interface storefrontComponents {
52464
52530
  * If this value is `null`, the quote acceptance time is used.
52465
52531
  */
52466
52532
  startTime?: string | null;
52467
- /** Specifies if the order is a legacy order. */
52533
+ /**
52534
+ * Specifies if the order is a legacy order.
52535
+ * If omitted when the quote is created, the value follows the order model that is used by the organization: `false` for the current order model and `true` for the legacy order model.
52536
+ * If omitted when the quote is updated, the value does not change.
52537
+ * Organizations that use the current order model cannot set this value to `true`.
52538
+ */
52468
52539
  isLegacy?: boolean;
52469
52540
  };
52470
52541
  /** Preview of the quote invoice. */
@@ -57416,6 +57487,10 @@ export interface storefrontComponents {
57416
57487
  | "invoice-partially-refunded"
57417
57488
  | "invoice-past-due"
57418
57489
  | "invoice-past-due-reminder"
57490
+ | "invoice-past-due-reminder-15-days"
57491
+ | "invoice-past-due-reminder-30-days"
57492
+ | "invoice-past-due-reminder-60-days"
57493
+ | "invoice-past-due-reminder-90-days"
57419
57494
  | "invoice-refunded"
57420
57495
  | "invoice-revenue-recognized"
57421
57496
  | "invoice-tax-calculation-failed"
@@ -63124,6 +63199,10 @@ export interface storefrontComponents {
63124
63199
  | "invoice-partially-refunded"
63125
63200
  | "invoice-past-due"
63126
63201
  | "invoice-past-due-reminder"
63202
+ | "invoice-past-due-reminder-15-days"
63203
+ | "invoice-past-due-reminder-30-days"
63204
+ | "invoice-past-due-reminder-60-days"
63205
+ | "invoice-past-due-reminder-90-days"
63127
63206
  | "invoice-refunded"
63128
63207
  | "invoice-reissued"
63129
63208
  | "invoice-tax-calculation-failed"
@@ -67615,7 +67694,12 @@ export interface storefrontComponents {
67615
67694
  * If this value is `null`, the quote acceptance time is used.
67616
67695
  */
67617
67696
  startTime?: string | null;
67618
- /** Specifies if the order is a legacy order. */
67697
+ /**
67698
+ * Specifies if the order is a legacy order.
67699
+ * If omitted when the quote is created, the value follows the order model that is used by the organization: `false` for the current order model and `true` for the legacy order model.
67700
+ * If omitted when the quote is updated, the value does not change.
67701
+ * Organizations that use the current order model cannot set this value to `true`.
67702
+ */
67619
67703
  isLegacy?: boolean;
67620
67704
  };
67621
67705
  /** Preview of the quote invoice. */
@@ -69873,6 +69957,32 @@ export interface storefrontComponents {
69873
69957
  };
69874
69958
  };
69875
69959
  };
69960
+ /** Payload of the invoice past due reminder webhook event. */
69961
+ InvoicePastDueReminderWebhook: {
69962
+ content: {
69963
+ "application/json": {
69964
+ /** ID of the invoice. */
69965
+ invoiceId?: string;
69966
+ /** Type of event that triggered the webhook. */
69967
+ eventType?:
69968
+ | "invoice-past-due-reminder-15-days"
69969
+ | "invoice-past-due-reminder-30-days"
69970
+ | "invoice-past-due-reminder-60-days"
69971
+ | "invoice-past-due-reminder-90-days";
69972
+ /** Embedded objects related to the invoice event. */
69973
+ _embedded?: {
69974
+ invoice?: storefrontComponents["schemas"]["Invoice"];
69975
+ };
69976
+ /** Links to related resources. */
69977
+ _links?: {
69978
+ /** URL of the link. */
69979
+ href?: string;
69980
+ /** Relationship type of the link. */
69981
+ rel?: "invoice";
69982
+ }[];
69983
+ };
69984
+ };
69985
+ };
69876
69986
  /** Payload of KYC document-related webhook event. */
69877
69987
  KycDocumentWebhook: {
69878
69988
  content: {
@@ -72069,7 +72179,11 @@ export interface operations {
72069
72179
  };
72070
72180
  requestBody: storefrontComponents["requestBodies"]["PostRegister"];
72071
72181
  };
72072
- /** Creates a subscription order in a billing portal. */
72182
+ /**
72183
+ * Creates a subscription order in a billing portal.
72184
+ *
72185
+ * Organizations that use the current order model cannot create legacy orders, and this operation returns a validation error for them.
72186
+ */
72073
72187
  StorefrontPostSubscription: {
72074
72188
  responses: {
72075
72189
  /** Subscription created. */
@@ -79179,7 +79293,12 @@ export interface reportsComponents {
79179
79293
  * If this value is `null`, the quote acceptance time is used.
79180
79294
  */
79181
79295
  startTime?: string | null;
79182
- /** Specifies if the order is a legacy order. */
79296
+ /**
79297
+ * Specifies if the order is a legacy order.
79298
+ * If omitted when the quote is created, the value follows the order model that is used by the organization: `false` for the current order model and `true` for the legacy order model.
79299
+ * If omitted when the quote is updated, the value does not change.
79300
+ * Organizations that use the current order model cannot set this value to `true`.
79301
+ */
79183
79302
  isLegacy?: boolean;
79184
79303
  };
79185
79304
  /** Preview of the quote invoice. */
@@ -84131,6 +84250,10 @@ export interface reportsComponents {
84131
84250
  | "invoice-partially-refunded"
84132
84251
  | "invoice-past-due"
84133
84252
  | "invoice-past-due-reminder"
84253
+ | "invoice-past-due-reminder-15-days"
84254
+ | "invoice-past-due-reminder-30-days"
84255
+ | "invoice-past-due-reminder-60-days"
84256
+ | "invoice-past-due-reminder-90-days"
84134
84257
  | "invoice-refunded"
84135
84258
  | "invoice-revenue-recognized"
84136
84259
  | "invoice-tax-calculation-failed"
@@ -89839,6 +89962,10 @@ export interface reportsComponents {
89839
89962
  | "invoice-partially-refunded"
89840
89963
  | "invoice-past-due"
89841
89964
  | "invoice-past-due-reminder"
89965
+ | "invoice-past-due-reminder-15-days"
89966
+ | "invoice-past-due-reminder-30-days"
89967
+ | "invoice-past-due-reminder-60-days"
89968
+ | "invoice-past-due-reminder-90-days"
89842
89969
  | "invoice-refunded"
89843
89970
  | "invoice-reissued"
89844
89971
  | "invoice-tax-calculation-failed"
@@ -94330,7 +94457,12 @@ export interface reportsComponents {
94330
94457
  * If this value is `null`, the quote acceptance time is used.
94331
94458
  */
94332
94459
  startTime?: string | null;
94333
- /** Specifies if the order is a legacy order. */
94460
+ /**
94461
+ * Specifies if the order is a legacy order.
94462
+ * If omitted when the quote is created, the value follows the order model that is used by the organization: `false` for the current order model and `true` for the legacy order model.
94463
+ * If omitted when the quote is updated, the value does not change.
94464
+ * Organizations that use the current order model cannot set this value to `true`.
94465
+ */
94334
94466
  isLegacy?: boolean;
94335
94467
  };
94336
94468
  /** Preview of the quote invoice. */
@@ -96588,6 +96720,32 @@ export interface reportsComponents {
96588
96720
  };
96589
96721
  };
96590
96722
  };
96723
+ /** Payload of the invoice past due reminder webhook event. */
96724
+ InvoicePastDueReminderWebhook: {
96725
+ content: {
96726
+ "application/json": {
96727
+ /** ID of the invoice. */
96728
+ invoiceId?: string;
96729
+ /** Type of event that triggered the webhook. */
96730
+ eventType?:
96731
+ | "invoice-past-due-reminder-15-days"
96732
+ | "invoice-past-due-reminder-30-days"
96733
+ | "invoice-past-due-reminder-60-days"
96734
+ | "invoice-past-due-reminder-90-days";
96735
+ /** Embedded objects related to the invoice event. */
96736
+ _embedded?: {
96737
+ invoice?: reportsComponents["schemas"]["Invoice"];
96738
+ };
96739
+ /** Links to related resources. */
96740
+ _links?: {
96741
+ /** URL of the link. */
96742
+ href?: string;
96743
+ /** Relationship type of the link. */
96744
+ rel?: "invoice";
96745
+ }[];
96746
+ };
96747
+ };
96748
+ };
96591
96749
  /** Payload of KYC document-related webhook event. */
96592
96750
  KycDocumentWebhook: {
96593
96751
  content: {