rebilly-js-sdk 62.227.2 → 62.228.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 +2 -4
- package/dist/rebilly-js-sdk.d.cts +108 -35
- package/dist/rebilly-js-sdk.d.mts +108 -35
- package/dist/rebilly-js-sdk.d.ts +108 -35
- package/dist/rebilly-js-sdk.es.mjs +1 -1
- package/dist/rebilly-js-sdk.umd.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -23351,7 +23351,7 @@ export interface coreComponents {
|
|
|
23351
23351
|
amount: number;
|
|
23352
23352
|
}[];
|
|
23353
23353
|
/**
|
|
23354
|
-
*
|
|
23354
|
+
* Name that is used to identify the batch.
|
|
23355
23355
|
* This value is `null` if the batch has no name.
|
|
23356
23356
|
*/
|
|
23357
23357
|
name?: string | null;
|
|
@@ -27101,7 +27101,13 @@ export interface coreComponents {
|
|
|
27101
27101
|
};
|
|
27102
27102
|
/** Change customer subscription items. */
|
|
27103
27103
|
PostSubscriptionItemsChange: {
|
|
27104
|
-
/**
|
|
27104
|
+
/**
|
|
27105
|
+
* Effective time when changes are applied.
|
|
27106
|
+
* If this value is `auto` or `next-service-period`, a downgrade is scheduled for the next renewal,
|
|
27107
|
+
* and the quote `order.applyAt` value is `nextRenewal`.
|
|
27108
|
+
* If the order cannot take a scheduled change, for example a legacy order or an order in trial,
|
|
27109
|
+
* the downgrade is applied at the beginning of the next service period.
|
|
27110
|
+
*/
|
|
27105
27111
|
effectiveTime?: "now" | "next-service-period" | "auto";
|
|
27106
27112
|
/** Details of items in the subscription. */
|
|
27107
27113
|
items?: {
|
|
@@ -27196,8 +27202,25 @@ export interface coreComponents {
|
|
|
27196
27202
|
/**
|
|
27197
27203
|
* Date from which the renewal time for `reset` operations and proration calculations are made.
|
|
27198
27204
|
* If this field is omitted, this value defaults to the time of quote acceptance.
|
|
27205
|
+
* If `applyAt` is `nextRenewal`, this value is `null`.
|
|
27199
27206
|
*/
|
|
27200
27207
|
effectiveTime?: string | null;
|
|
27208
|
+
/**
|
|
27209
|
+
* Time when the new items are applied.
|
|
27210
|
+
*
|
|
27211
|
+
* - `now`: The items change when the quote is accepted.
|
|
27212
|
+
* `prorated`, `renewalPolicy` and `effectiveTime` apply.
|
|
27213
|
+
* - `nextRenewal`: The current items remain until the next renewal.
|
|
27214
|
+
* The new items are billed on the next renewal invoice.
|
|
27215
|
+
* `prorated`, `renewalPolicy` and `usageSettings` are ignored.
|
|
27216
|
+
* `effectiveTime` is `null`.
|
|
27217
|
+
* A later change of items replaces the pending change.
|
|
27218
|
+
* The pending change is locked when the next renewal invoice is issued.
|
|
27219
|
+
*
|
|
27220
|
+
* If the request `effectiveTime` is `auto` or `next-service-period` and the order can take a scheduled change,
|
|
27221
|
+
* a downgrade is scheduled for the next renewal.
|
|
27222
|
+
*/
|
|
27223
|
+
applyAt?: "now" | "nextRenewal";
|
|
27201
27224
|
/**
|
|
27202
27225
|
* Deprecated.
|
|
27203
27226
|
* Use the `retainTrialThenRecurring` value of `renewalPolicy` instead.
|
|
@@ -29739,22 +29762,22 @@ export interface coreComponents {
|
|
|
29739
29762
|
/**
|
|
29740
29763
|
* Fields for updating the payout request batch.
|
|
29741
29764
|
* At least one property must be present.
|
|
29742
|
-
* Do not set `name`, `description`, or `allocationOrder` to `null`.
|
|
29743
29765
|
*/
|
|
29744
29766
|
PatchPayoutRequestBatch: {
|
|
29745
29767
|
content: {
|
|
29746
29768
|
"application/json": {
|
|
29747
29769
|
/**
|
|
29748
|
-
*
|
|
29749
|
-
*
|
|
29750
|
-
*
|
|
29751
|
-
*
|
|
29770
|
+
* Name that is used to identify the batch.
|
|
29771
|
+
* To retain the current name, omit this property.
|
|
29772
|
+
* This value must be a string.
|
|
29773
|
+
* To remove the name, set this property to an empty string.
|
|
29752
29774
|
*/
|
|
29753
29775
|
name?: string;
|
|
29754
29776
|
/**
|
|
29755
29777
|
* Description of the batch.
|
|
29756
|
-
*
|
|
29757
|
-
*
|
|
29778
|
+
* To retain the current description, omit this property.
|
|
29779
|
+
* This value must be a string.
|
|
29780
|
+
* To remove the description, set this property to an empty string.
|
|
29758
29781
|
*/
|
|
29759
29782
|
description?: string;
|
|
29760
29783
|
/**
|
|
@@ -29762,8 +29785,8 @@ export interface coreComponents {
|
|
|
29762
29785
|
* When set, this field overrides the organization-level allocation order during batch auto-allocation.
|
|
29763
29786
|
* Must contain `selected-payment-instrument` exactly once.
|
|
29764
29787
|
* Valid values: `payment-card` (payment cards), `alternative-payment-methods` (catch-all for alternative payment methods), `selected-payment-instrument` (customer-requested instrument), or any payment method API name (for example, `paypal`, `Interac-eTransfer`).
|
|
29765
|
-
*
|
|
29766
|
-
*
|
|
29788
|
+
* To retain the current allocation order, omit this property.
|
|
29789
|
+
* This value must be an array.
|
|
29767
29790
|
*/
|
|
29768
29791
|
allocationOrder?: string[];
|
|
29769
29792
|
};
|
|
@@ -43988,7 +44011,7 @@ export interface operations {
|
|
|
43988
44011
|
| {
|
|
43989
44012
|
/** Array of payout request IDs to include in the batch. */
|
|
43990
44013
|
payoutRequestIds: string[];
|
|
43991
|
-
/**
|
|
44014
|
+
/** Name that is used to identify the batch. */
|
|
43992
44015
|
name?: string | null;
|
|
43993
44016
|
/** Optional description of the batch. */
|
|
43994
44017
|
description?: string | null;
|
|
@@ -44007,7 +44030,7 @@ export interface operations {
|
|
|
44007
44030
|
* If more than 1000 payout requests match the filter, only the oldest 1000 are included in the batch, sorted by creation time.
|
|
44008
44031
|
*/
|
|
44009
44032
|
filter: string;
|
|
44010
|
-
/**
|
|
44033
|
+
/** Name that is used to identify the batch. */
|
|
44011
44034
|
name?: string | null;
|
|
44012
44035
|
/** Optional description of the batch. */
|
|
44013
44036
|
description?: string | null;
|
|
@@ -45850,6 +45873,8 @@ export interface storefrontPaths {
|
|
|
45850
45873
|
/**
|
|
45851
45874
|
* Creates a quote for requested changes to items and quantities.
|
|
45852
45875
|
* This operation applies the requested changes to the subscription when the quote is accepted.
|
|
45876
|
+
* If `effectiveTime` is `auto` or `next-service-period`, a downgrade is scheduled for the next renewal.
|
|
45877
|
+
* The `order.applyAt` value of the quote indicates when the changes are applied.
|
|
45853
45878
|
*/
|
|
45854
45879
|
post: operations["StorefrontPostSubscriptionItemsChange"];
|
|
45855
45880
|
parameters: {
|
|
@@ -63553,7 +63578,7 @@ export interface storefrontComponents {
|
|
|
63553
63578
|
amount: number;
|
|
63554
63579
|
}[];
|
|
63555
63580
|
/**
|
|
63556
|
-
*
|
|
63581
|
+
* Name that is used to identify the batch.
|
|
63557
63582
|
* This value is `null` if the batch has no name.
|
|
63558
63583
|
*/
|
|
63559
63584
|
name?: string | null;
|
|
@@ -67303,7 +67328,13 @@ export interface storefrontComponents {
|
|
|
67303
67328
|
};
|
|
67304
67329
|
/** Change customer subscription items. */
|
|
67305
67330
|
PostSubscriptionItemsChange: {
|
|
67306
|
-
/**
|
|
67331
|
+
/**
|
|
67332
|
+
* Effective time when changes are applied.
|
|
67333
|
+
* If this value is `auto` or `next-service-period`, a downgrade is scheduled for the next renewal,
|
|
67334
|
+
* and the quote `order.applyAt` value is `nextRenewal`.
|
|
67335
|
+
* If the order cannot take a scheduled change, for example a legacy order or an order in trial,
|
|
67336
|
+
* the downgrade is applied at the beginning of the next service period.
|
|
67337
|
+
*/
|
|
67307
67338
|
effectiveTime?: "now" | "next-service-period" | "auto";
|
|
67308
67339
|
/** Details of items in the subscription. */
|
|
67309
67340
|
items?: {
|
|
@@ -67398,8 +67429,25 @@ export interface storefrontComponents {
|
|
|
67398
67429
|
/**
|
|
67399
67430
|
* Date from which the renewal time for `reset` operations and proration calculations are made.
|
|
67400
67431
|
* If this field is omitted, this value defaults to the time of quote acceptance.
|
|
67432
|
+
* If `applyAt` is `nextRenewal`, this value is `null`.
|
|
67401
67433
|
*/
|
|
67402
67434
|
effectiveTime?: string | null;
|
|
67435
|
+
/**
|
|
67436
|
+
* Time when the new items are applied.
|
|
67437
|
+
*
|
|
67438
|
+
* - `now`: The items change when the quote is accepted.
|
|
67439
|
+
* `prorated`, `renewalPolicy` and `effectiveTime` apply.
|
|
67440
|
+
* - `nextRenewal`: The current items remain until the next renewal.
|
|
67441
|
+
* The new items are billed on the next renewal invoice.
|
|
67442
|
+
* `prorated`, `renewalPolicy` and `usageSettings` are ignored.
|
|
67443
|
+
* `effectiveTime` is `null`.
|
|
67444
|
+
* A later change of items replaces the pending change.
|
|
67445
|
+
* The pending change is locked when the next renewal invoice is issued.
|
|
67446
|
+
*
|
|
67447
|
+
* If the request `effectiveTime` is `auto` or `next-service-period` and the order can take a scheduled change,
|
|
67448
|
+
* a downgrade is scheduled for the next renewal.
|
|
67449
|
+
*/
|
|
67450
|
+
applyAt?: "now" | "nextRenewal";
|
|
67403
67451
|
/**
|
|
67404
67452
|
* Deprecated.
|
|
67405
67453
|
* Use the `retainTrialThenRecurring` value of `renewalPolicy` instead.
|
|
@@ -69941,22 +69989,22 @@ export interface storefrontComponents {
|
|
|
69941
69989
|
/**
|
|
69942
69990
|
* Fields for updating the payout request batch.
|
|
69943
69991
|
* At least one property must be present.
|
|
69944
|
-
* Do not set `name`, `description`, or `allocationOrder` to `null`.
|
|
69945
69992
|
*/
|
|
69946
69993
|
PatchPayoutRequestBatch: {
|
|
69947
69994
|
content: {
|
|
69948
69995
|
"application/json": {
|
|
69949
69996
|
/**
|
|
69950
|
-
*
|
|
69951
|
-
*
|
|
69952
|
-
*
|
|
69953
|
-
*
|
|
69997
|
+
* Name that is used to identify the batch.
|
|
69998
|
+
* To retain the current name, omit this property.
|
|
69999
|
+
* This value must be a string.
|
|
70000
|
+
* To remove the name, set this property to an empty string.
|
|
69954
70001
|
*/
|
|
69955
70002
|
name?: string;
|
|
69956
70003
|
/**
|
|
69957
70004
|
* Description of the batch.
|
|
69958
|
-
*
|
|
69959
|
-
*
|
|
70005
|
+
* To retain the current description, omit this property.
|
|
70006
|
+
* This value must be a string.
|
|
70007
|
+
* To remove the description, set this property to an empty string.
|
|
69960
70008
|
*/
|
|
69961
70009
|
description?: string;
|
|
69962
70010
|
/**
|
|
@@ -69964,8 +70012,8 @@ export interface storefrontComponents {
|
|
|
69964
70012
|
* When set, this field overrides the organization-level allocation order during batch auto-allocation.
|
|
69965
70013
|
* Must contain `selected-payment-instrument` exactly once.
|
|
69966
70014
|
* Valid values: `payment-card` (payment cards), `alternative-payment-methods` (catch-all for alternative payment methods), `selected-payment-instrument` (customer-requested instrument), or any payment method API name (for example, `paypal`, `Interac-eTransfer`).
|
|
69967
|
-
*
|
|
69968
|
-
*
|
|
70015
|
+
* To retain the current allocation order, omit this property.
|
|
70016
|
+
* This value must be an array.
|
|
69969
70017
|
*/
|
|
69970
70018
|
allocationOrder?: string[];
|
|
69971
70019
|
};
|
|
@@ -72285,6 +72333,8 @@ export interface operations {
|
|
|
72285
72333
|
/**
|
|
72286
72334
|
* Creates a quote for requested changes to items and quantities.
|
|
72287
72335
|
* This operation applies the requested changes to the subscription when the quote is accepted.
|
|
72336
|
+
* If `effectiveTime` is `auto` or `next-service-period`, a downgrade is scheduled for the next renewal.
|
|
72337
|
+
* The `order.applyAt` value of the quote indicates when the changes are applied.
|
|
72288
72338
|
*/
|
|
72289
72339
|
StorefrontPostSubscriptionItemsChange: {
|
|
72290
72340
|
parameters: {
|
|
@@ -90978,7 +91028,7 @@ export interface reportsComponents {
|
|
|
90978
91028
|
amount: number;
|
|
90979
91029
|
}[];
|
|
90980
91030
|
/**
|
|
90981
|
-
*
|
|
91031
|
+
* Name that is used to identify the batch.
|
|
90982
91032
|
* This value is `null` if the batch has no name.
|
|
90983
91033
|
*/
|
|
90984
91034
|
name?: string | null;
|
|
@@ -94728,7 +94778,13 @@ export interface reportsComponents {
|
|
|
94728
94778
|
};
|
|
94729
94779
|
/** Change customer subscription items. */
|
|
94730
94780
|
PostSubscriptionItemsChange: {
|
|
94731
|
-
/**
|
|
94781
|
+
/**
|
|
94782
|
+
* Effective time when changes are applied.
|
|
94783
|
+
* If this value is `auto` or `next-service-period`, a downgrade is scheduled for the next renewal,
|
|
94784
|
+
* and the quote `order.applyAt` value is `nextRenewal`.
|
|
94785
|
+
* If the order cannot take a scheduled change, for example a legacy order or an order in trial,
|
|
94786
|
+
* the downgrade is applied at the beginning of the next service period.
|
|
94787
|
+
*/
|
|
94732
94788
|
effectiveTime?: "now" | "next-service-period" | "auto";
|
|
94733
94789
|
/** Details of items in the subscription. */
|
|
94734
94790
|
items?: {
|
|
@@ -94823,8 +94879,25 @@ export interface reportsComponents {
|
|
|
94823
94879
|
/**
|
|
94824
94880
|
* Date from which the renewal time for `reset` operations and proration calculations are made.
|
|
94825
94881
|
* If this field is omitted, this value defaults to the time of quote acceptance.
|
|
94882
|
+
* If `applyAt` is `nextRenewal`, this value is `null`.
|
|
94826
94883
|
*/
|
|
94827
94884
|
effectiveTime?: string | null;
|
|
94885
|
+
/**
|
|
94886
|
+
* Time when the new items are applied.
|
|
94887
|
+
*
|
|
94888
|
+
* - `now`: The items change when the quote is accepted.
|
|
94889
|
+
* `prorated`, `renewalPolicy` and `effectiveTime` apply.
|
|
94890
|
+
* - `nextRenewal`: The current items remain until the next renewal.
|
|
94891
|
+
* The new items are billed on the next renewal invoice.
|
|
94892
|
+
* `prorated`, `renewalPolicy` and `usageSettings` are ignored.
|
|
94893
|
+
* `effectiveTime` is `null`.
|
|
94894
|
+
* A later change of items replaces the pending change.
|
|
94895
|
+
* The pending change is locked when the next renewal invoice is issued.
|
|
94896
|
+
*
|
|
94897
|
+
* If the request `effectiveTime` is `auto` or `next-service-period` and the order can take a scheduled change,
|
|
94898
|
+
* a downgrade is scheduled for the next renewal.
|
|
94899
|
+
*/
|
|
94900
|
+
applyAt?: "now" | "nextRenewal";
|
|
94828
94901
|
/**
|
|
94829
94902
|
* Deprecated.
|
|
94830
94903
|
* Use the `retainTrialThenRecurring` value of `renewalPolicy` instead.
|
|
@@ -97366,22 +97439,22 @@ export interface reportsComponents {
|
|
|
97366
97439
|
/**
|
|
97367
97440
|
* Fields for updating the payout request batch.
|
|
97368
97441
|
* At least one property must be present.
|
|
97369
|
-
* Do not set `name`, `description`, or `allocationOrder` to `null`.
|
|
97370
97442
|
*/
|
|
97371
97443
|
PatchPayoutRequestBatch: {
|
|
97372
97444
|
content: {
|
|
97373
97445
|
"application/json": {
|
|
97374
97446
|
/**
|
|
97375
|
-
*
|
|
97376
|
-
*
|
|
97377
|
-
*
|
|
97378
|
-
*
|
|
97447
|
+
* Name that is used to identify the batch.
|
|
97448
|
+
* To retain the current name, omit this property.
|
|
97449
|
+
* This value must be a string.
|
|
97450
|
+
* To remove the name, set this property to an empty string.
|
|
97379
97451
|
*/
|
|
97380
97452
|
name?: string;
|
|
97381
97453
|
/**
|
|
97382
97454
|
* Description of the batch.
|
|
97383
|
-
*
|
|
97384
|
-
*
|
|
97455
|
+
* To retain the current description, omit this property.
|
|
97456
|
+
* This value must be a string.
|
|
97457
|
+
* To remove the description, set this property to an empty string.
|
|
97385
97458
|
*/
|
|
97386
97459
|
description?: string;
|
|
97387
97460
|
/**
|
|
@@ -97389,8 +97462,8 @@ export interface reportsComponents {
|
|
|
97389
97462
|
* When set, this field overrides the organization-level allocation order during batch auto-allocation.
|
|
97390
97463
|
* Must contain `selected-payment-instrument` exactly once.
|
|
97391
97464
|
* Valid values: `payment-card` (payment cards), `alternative-payment-methods` (catch-all for alternative payment methods), `selected-payment-instrument` (customer-requested instrument), or any payment method API name (for example, `paypal`, `Interac-eTransfer`).
|
|
97392
|
-
*
|
|
97393
|
-
*
|
|
97465
|
+
* To retain the current allocation order, omit this property.
|
|
97466
|
+
* This value must be an array.
|
|
97394
97467
|
*/
|
|
97395
97468
|
allocationOrder?: string[];
|
|
97396
97469
|
};
|
|
@@ -23351,7 +23351,7 @@ export interface coreComponents {
|
|
|
23351
23351
|
amount: number;
|
|
23352
23352
|
}[];
|
|
23353
23353
|
/**
|
|
23354
|
-
*
|
|
23354
|
+
* Name that is used to identify the batch.
|
|
23355
23355
|
* This value is `null` if the batch has no name.
|
|
23356
23356
|
*/
|
|
23357
23357
|
name?: string | null;
|
|
@@ -27101,7 +27101,13 @@ export interface coreComponents {
|
|
|
27101
27101
|
};
|
|
27102
27102
|
/** Change customer subscription items. */
|
|
27103
27103
|
PostSubscriptionItemsChange: {
|
|
27104
|
-
/**
|
|
27104
|
+
/**
|
|
27105
|
+
* Effective time when changes are applied.
|
|
27106
|
+
* If this value is `auto` or `next-service-period`, a downgrade is scheduled for the next renewal,
|
|
27107
|
+
* and the quote `order.applyAt` value is `nextRenewal`.
|
|
27108
|
+
* If the order cannot take a scheduled change, for example a legacy order or an order in trial,
|
|
27109
|
+
* the downgrade is applied at the beginning of the next service period.
|
|
27110
|
+
*/
|
|
27105
27111
|
effectiveTime?: "now" | "next-service-period" | "auto";
|
|
27106
27112
|
/** Details of items in the subscription. */
|
|
27107
27113
|
items?: {
|
|
@@ -27196,8 +27202,25 @@ export interface coreComponents {
|
|
|
27196
27202
|
/**
|
|
27197
27203
|
* Date from which the renewal time for `reset` operations and proration calculations are made.
|
|
27198
27204
|
* If this field is omitted, this value defaults to the time of quote acceptance.
|
|
27205
|
+
* If `applyAt` is `nextRenewal`, this value is `null`.
|
|
27199
27206
|
*/
|
|
27200
27207
|
effectiveTime?: string | null;
|
|
27208
|
+
/**
|
|
27209
|
+
* Time when the new items are applied.
|
|
27210
|
+
*
|
|
27211
|
+
* - `now`: The items change when the quote is accepted.
|
|
27212
|
+
* `prorated`, `renewalPolicy` and `effectiveTime` apply.
|
|
27213
|
+
* - `nextRenewal`: The current items remain until the next renewal.
|
|
27214
|
+
* The new items are billed on the next renewal invoice.
|
|
27215
|
+
* `prorated`, `renewalPolicy` and `usageSettings` are ignored.
|
|
27216
|
+
* `effectiveTime` is `null`.
|
|
27217
|
+
* A later change of items replaces the pending change.
|
|
27218
|
+
* The pending change is locked when the next renewal invoice is issued.
|
|
27219
|
+
*
|
|
27220
|
+
* If the request `effectiveTime` is `auto` or `next-service-period` and the order can take a scheduled change,
|
|
27221
|
+
* a downgrade is scheduled for the next renewal.
|
|
27222
|
+
*/
|
|
27223
|
+
applyAt?: "now" | "nextRenewal";
|
|
27201
27224
|
/**
|
|
27202
27225
|
* Deprecated.
|
|
27203
27226
|
* Use the `retainTrialThenRecurring` value of `renewalPolicy` instead.
|
|
@@ -29739,22 +29762,22 @@ export interface coreComponents {
|
|
|
29739
29762
|
/**
|
|
29740
29763
|
* Fields for updating the payout request batch.
|
|
29741
29764
|
* At least one property must be present.
|
|
29742
|
-
* Do not set `name`, `description`, or `allocationOrder` to `null`.
|
|
29743
29765
|
*/
|
|
29744
29766
|
PatchPayoutRequestBatch: {
|
|
29745
29767
|
content: {
|
|
29746
29768
|
"application/json": {
|
|
29747
29769
|
/**
|
|
29748
|
-
*
|
|
29749
|
-
*
|
|
29750
|
-
*
|
|
29751
|
-
*
|
|
29770
|
+
* Name that is used to identify the batch.
|
|
29771
|
+
* To retain the current name, omit this property.
|
|
29772
|
+
* This value must be a string.
|
|
29773
|
+
* To remove the name, set this property to an empty string.
|
|
29752
29774
|
*/
|
|
29753
29775
|
name?: string;
|
|
29754
29776
|
/**
|
|
29755
29777
|
* Description of the batch.
|
|
29756
|
-
*
|
|
29757
|
-
*
|
|
29778
|
+
* To retain the current description, omit this property.
|
|
29779
|
+
* This value must be a string.
|
|
29780
|
+
* To remove the description, set this property to an empty string.
|
|
29758
29781
|
*/
|
|
29759
29782
|
description?: string;
|
|
29760
29783
|
/**
|
|
@@ -29762,8 +29785,8 @@ export interface coreComponents {
|
|
|
29762
29785
|
* When set, this field overrides the organization-level allocation order during batch auto-allocation.
|
|
29763
29786
|
* Must contain `selected-payment-instrument` exactly once.
|
|
29764
29787
|
* Valid values: `payment-card` (payment cards), `alternative-payment-methods` (catch-all for alternative payment methods), `selected-payment-instrument` (customer-requested instrument), or any payment method API name (for example, `paypal`, `Interac-eTransfer`).
|
|
29765
|
-
*
|
|
29766
|
-
*
|
|
29788
|
+
* To retain the current allocation order, omit this property.
|
|
29789
|
+
* This value must be an array.
|
|
29767
29790
|
*/
|
|
29768
29791
|
allocationOrder?: string[];
|
|
29769
29792
|
};
|
|
@@ -43988,7 +44011,7 @@ export interface operations {
|
|
|
43988
44011
|
| {
|
|
43989
44012
|
/** Array of payout request IDs to include in the batch. */
|
|
43990
44013
|
payoutRequestIds: string[];
|
|
43991
|
-
/**
|
|
44014
|
+
/** Name that is used to identify the batch. */
|
|
43992
44015
|
name?: string | null;
|
|
43993
44016
|
/** Optional description of the batch. */
|
|
43994
44017
|
description?: string | null;
|
|
@@ -44007,7 +44030,7 @@ export interface operations {
|
|
|
44007
44030
|
* If more than 1000 payout requests match the filter, only the oldest 1000 are included in the batch, sorted by creation time.
|
|
44008
44031
|
*/
|
|
44009
44032
|
filter: string;
|
|
44010
|
-
/**
|
|
44033
|
+
/** Name that is used to identify the batch. */
|
|
44011
44034
|
name?: string | null;
|
|
44012
44035
|
/** Optional description of the batch. */
|
|
44013
44036
|
description?: string | null;
|
|
@@ -45850,6 +45873,8 @@ export interface storefrontPaths {
|
|
|
45850
45873
|
/**
|
|
45851
45874
|
* Creates a quote for requested changes to items and quantities.
|
|
45852
45875
|
* This operation applies the requested changes to the subscription when the quote is accepted.
|
|
45876
|
+
* If `effectiveTime` is `auto` or `next-service-period`, a downgrade is scheduled for the next renewal.
|
|
45877
|
+
* The `order.applyAt` value of the quote indicates when the changes are applied.
|
|
45853
45878
|
*/
|
|
45854
45879
|
post: operations["StorefrontPostSubscriptionItemsChange"];
|
|
45855
45880
|
parameters: {
|
|
@@ -63553,7 +63578,7 @@ export interface storefrontComponents {
|
|
|
63553
63578
|
amount: number;
|
|
63554
63579
|
}[];
|
|
63555
63580
|
/**
|
|
63556
|
-
*
|
|
63581
|
+
* Name that is used to identify the batch.
|
|
63557
63582
|
* This value is `null` if the batch has no name.
|
|
63558
63583
|
*/
|
|
63559
63584
|
name?: string | null;
|
|
@@ -67303,7 +67328,13 @@ export interface storefrontComponents {
|
|
|
67303
67328
|
};
|
|
67304
67329
|
/** Change customer subscription items. */
|
|
67305
67330
|
PostSubscriptionItemsChange: {
|
|
67306
|
-
/**
|
|
67331
|
+
/**
|
|
67332
|
+
* Effective time when changes are applied.
|
|
67333
|
+
* If this value is `auto` or `next-service-period`, a downgrade is scheduled for the next renewal,
|
|
67334
|
+
* and the quote `order.applyAt` value is `nextRenewal`.
|
|
67335
|
+
* If the order cannot take a scheduled change, for example a legacy order or an order in trial,
|
|
67336
|
+
* the downgrade is applied at the beginning of the next service period.
|
|
67337
|
+
*/
|
|
67307
67338
|
effectiveTime?: "now" | "next-service-period" | "auto";
|
|
67308
67339
|
/** Details of items in the subscription. */
|
|
67309
67340
|
items?: {
|
|
@@ -67398,8 +67429,25 @@ export interface storefrontComponents {
|
|
|
67398
67429
|
/**
|
|
67399
67430
|
* Date from which the renewal time for `reset` operations and proration calculations are made.
|
|
67400
67431
|
* If this field is omitted, this value defaults to the time of quote acceptance.
|
|
67432
|
+
* If `applyAt` is `nextRenewal`, this value is `null`.
|
|
67401
67433
|
*/
|
|
67402
67434
|
effectiveTime?: string | null;
|
|
67435
|
+
/**
|
|
67436
|
+
* Time when the new items are applied.
|
|
67437
|
+
*
|
|
67438
|
+
* - `now`: The items change when the quote is accepted.
|
|
67439
|
+
* `prorated`, `renewalPolicy` and `effectiveTime` apply.
|
|
67440
|
+
* - `nextRenewal`: The current items remain until the next renewal.
|
|
67441
|
+
* The new items are billed on the next renewal invoice.
|
|
67442
|
+
* `prorated`, `renewalPolicy` and `usageSettings` are ignored.
|
|
67443
|
+
* `effectiveTime` is `null`.
|
|
67444
|
+
* A later change of items replaces the pending change.
|
|
67445
|
+
* The pending change is locked when the next renewal invoice is issued.
|
|
67446
|
+
*
|
|
67447
|
+
* If the request `effectiveTime` is `auto` or `next-service-period` and the order can take a scheduled change,
|
|
67448
|
+
* a downgrade is scheduled for the next renewal.
|
|
67449
|
+
*/
|
|
67450
|
+
applyAt?: "now" | "nextRenewal";
|
|
67403
67451
|
/**
|
|
67404
67452
|
* Deprecated.
|
|
67405
67453
|
* Use the `retainTrialThenRecurring` value of `renewalPolicy` instead.
|
|
@@ -69941,22 +69989,22 @@ export interface storefrontComponents {
|
|
|
69941
69989
|
/**
|
|
69942
69990
|
* Fields for updating the payout request batch.
|
|
69943
69991
|
* At least one property must be present.
|
|
69944
|
-
* Do not set `name`, `description`, or `allocationOrder` to `null`.
|
|
69945
69992
|
*/
|
|
69946
69993
|
PatchPayoutRequestBatch: {
|
|
69947
69994
|
content: {
|
|
69948
69995
|
"application/json": {
|
|
69949
69996
|
/**
|
|
69950
|
-
*
|
|
69951
|
-
*
|
|
69952
|
-
*
|
|
69953
|
-
*
|
|
69997
|
+
* Name that is used to identify the batch.
|
|
69998
|
+
* To retain the current name, omit this property.
|
|
69999
|
+
* This value must be a string.
|
|
70000
|
+
* To remove the name, set this property to an empty string.
|
|
69954
70001
|
*/
|
|
69955
70002
|
name?: string;
|
|
69956
70003
|
/**
|
|
69957
70004
|
* Description of the batch.
|
|
69958
|
-
*
|
|
69959
|
-
*
|
|
70005
|
+
* To retain the current description, omit this property.
|
|
70006
|
+
* This value must be a string.
|
|
70007
|
+
* To remove the description, set this property to an empty string.
|
|
69960
70008
|
*/
|
|
69961
70009
|
description?: string;
|
|
69962
70010
|
/**
|
|
@@ -69964,8 +70012,8 @@ export interface storefrontComponents {
|
|
|
69964
70012
|
* When set, this field overrides the organization-level allocation order during batch auto-allocation.
|
|
69965
70013
|
* Must contain `selected-payment-instrument` exactly once.
|
|
69966
70014
|
* Valid values: `payment-card` (payment cards), `alternative-payment-methods` (catch-all for alternative payment methods), `selected-payment-instrument` (customer-requested instrument), or any payment method API name (for example, `paypal`, `Interac-eTransfer`).
|
|
69967
|
-
*
|
|
69968
|
-
*
|
|
70015
|
+
* To retain the current allocation order, omit this property.
|
|
70016
|
+
* This value must be an array.
|
|
69969
70017
|
*/
|
|
69970
70018
|
allocationOrder?: string[];
|
|
69971
70019
|
};
|
|
@@ -72285,6 +72333,8 @@ export interface operations {
|
|
|
72285
72333
|
/**
|
|
72286
72334
|
* Creates a quote for requested changes to items and quantities.
|
|
72287
72335
|
* This operation applies the requested changes to the subscription when the quote is accepted.
|
|
72336
|
+
* If `effectiveTime` is `auto` or `next-service-period`, a downgrade is scheduled for the next renewal.
|
|
72337
|
+
* The `order.applyAt` value of the quote indicates when the changes are applied.
|
|
72288
72338
|
*/
|
|
72289
72339
|
StorefrontPostSubscriptionItemsChange: {
|
|
72290
72340
|
parameters: {
|
|
@@ -90978,7 +91028,7 @@ export interface reportsComponents {
|
|
|
90978
91028
|
amount: number;
|
|
90979
91029
|
}[];
|
|
90980
91030
|
/**
|
|
90981
|
-
*
|
|
91031
|
+
* Name that is used to identify the batch.
|
|
90982
91032
|
* This value is `null` if the batch has no name.
|
|
90983
91033
|
*/
|
|
90984
91034
|
name?: string | null;
|
|
@@ -94728,7 +94778,13 @@ export interface reportsComponents {
|
|
|
94728
94778
|
};
|
|
94729
94779
|
/** Change customer subscription items. */
|
|
94730
94780
|
PostSubscriptionItemsChange: {
|
|
94731
|
-
/**
|
|
94781
|
+
/**
|
|
94782
|
+
* Effective time when changes are applied.
|
|
94783
|
+
* If this value is `auto` or `next-service-period`, a downgrade is scheduled for the next renewal,
|
|
94784
|
+
* and the quote `order.applyAt` value is `nextRenewal`.
|
|
94785
|
+
* If the order cannot take a scheduled change, for example a legacy order or an order in trial,
|
|
94786
|
+
* the downgrade is applied at the beginning of the next service period.
|
|
94787
|
+
*/
|
|
94732
94788
|
effectiveTime?: "now" | "next-service-period" | "auto";
|
|
94733
94789
|
/** Details of items in the subscription. */
|
|
94734
94790
|
items?: {
|
|
@@ -94823,8 +94879,25 @@ export interface reportsComponents {
|
|
|
94823
94879
|
/**
|
|
94824
94880
|
* Date from which the renewal time for `reset` operations and proration calculations are made.
|
|
94825
94881
|
* If this field is omitted, this value defaults to the time of quote acceptance.
|
|
94882
|
+
* If `applyAt` is `nextRenewal`, this value is `null`.
|
|
94826
94883
|
*/
|
|
94827
94884
|
effectiveTime?: string | null;
|
|
94885
|
+
/**
|
|
94886
|
+
* Time when the new items are applied.
|
|
94887
|
+
*
|
|
94888
|
+
* - `now`: The items change when the quote is accepted.
|
|
94889
|
+
* `prorated`, `renewalPolicy` and `effectiveTime` apply.
|
|
94890
|
+
* - `nextRenewal`: The current items remain until the next renewal.
|
|
94891
|
+
* The new items are billed on the next renewal invoice.
|
|
94892
|
+
* `prorated`, `renewalPolicy` and `usageSettings` are ignored.
|
|
94893
|
+
* `effectiveTime` is `null`.
|
|
94894
|
+
* A later change of items replaces the pending change.
|
|
94895
|
+
* The pending change is locked when the next renewal invoice is issued.
|
|
94896
|
+
*
|
|
94897
|
+
* If the request `effectiveTime` is `auto` or `next-service-period` and the order can take a scheduled change,
|
|
94898
|
+
* a downgrade is scheduled for the next renewal.
|
|
94899
|
+
*/
|
|
94900
|
+
applyAt?: "now" | "nextRenewal";
|
|
94828
94901
|
/**
|
|
94829
94902
|
* Deprecated.
|
|
94830
94903
|
* Use the `retainTrialThenRecurring` value of `renewalPolicy` instead.
|
|
@@ -97366,22 +97439,22 @@ export interface reportsComponents {
|
|
|
97366
97439
|
/**
|
|
97367
97440
|
* Fields for updating the payout request batch.
|
|
97368
97441
|
* At least one property must be present.
|
|
97369
|
-
* Do not set `name`, `description`, or `allocationOrder` to `null`.
|
|
97370
97442
|
*/
|
|
97371
97443
|
PatchPayoutRequestBatch: {
|
|
97372
97444
|
content: {
|
|
97373
97445
|
"application/json": {
|
|
97374
97446
|
/**
|
|
97375
|
-
*
|
|
97376
|
-
*
|
|
97377
|
-
*
|
|
97378
|
-
*
|
|
97447
|
+
* Name that is used to identify the batch.
|
|
97448
|
+
* To retain the current name, omit this property.
|
|
97449
|
+
* This value must be a string.
|
|
97450
|
+
* To remove the name, set this property to an empty string.
|
|
97379
97451
|
*/
|
|
97380
97452
|
name?: string;
|
|
97381
97453
|
/**
|
|
97382
97454
|
* Description of the batch.
|
|
97383
|
-
*
|
|
97384
|
-
*
|
|
97455
|
+
* To retain the current description, omit this property.
|
|
97456
|
+
* This value must be a string.
|
|
97457
|
+
* To remove the description, set this property to an empty string.
|
|
97385
97458
|
*/
|
|
97386
97459
|
description?: string;
|
|
97387
97460
|
/**
|
|
@@ -97389,8 +97462,8 @@ export interface reportsComponents {
|
|
|
97389
97462
|
* When set, this field overrides the organization-level allocation order during batch auto-allocation.
|
|
97390
97463
|
* Must contain `selected-payment-instrument` exactly once.
|
|
97391
97464
|
* Valid values: `payment-card` (payment cards), `alternative-payment-methods` (catch-all for alternative payment methods), `selected-payment-instrument` (customer-requested instrument), or any payment method API name (for example, `paypal`, `Interac-eTransfer`).
|
|
97392
|
-
*
|
|
97393
|
-
*
|
|
97465
|
+
* To retain the current allocation order, omit this property.
|
|
97466
|
+
* This value must be an array.
|
|
97394
97467
|
*/
|
|
97395
97468
|
allocationOrder?: string[];
|
|
97396
97469
|
};
|