rebilly-js-sdk 62.249.0 → 62.249.2
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 +4 -2
- package/dist/rebilly-js-sdk.d.cts +348 -170
- package/dist/rebilly-js-sdk.d.mts +348 -170
- package/dist/rebilly-js-sdk.d.ts +348 -170
- package/dist/rebilly-js-sdk.es.mjs +1 -1
- package/dist/rebilly-js-sdk.umd.js +1 -1
- package/package.json +1 -1
- package/src/resources/experimental/location-resource.js +15 -0
|
@@ -2326,6 +2326,10 @@ declare namespace rebilly {
|
|
|
2326
2326
|
type GetCustomerSummaryMetricReportResponse = operations['GetCustomerSummaryMetricReport']['responses']['200']['content']['application/json']
|
|
2327
2327
|
type GetCustomerSummaryMetricReportResponsePromise = Promise<{fields: GetCustomerSummaryMetricReportResponse}>
|
|
2328
2328
|
|
|
2329
|
+
|
|
2330
|
+
type GetLocationResponse = operations['GetLocation']['responses']['200']['content']['application/json']
|
|
2331
|
+
type GetLocationResponsePromise = Promise<{fields: GetLocationResponse}>
|
|
2332
|
+
|
|
2329
2333
|
type GetDataExportCollectionRequest = operations['GetDataExportCollection']['parameters']["query"] & (operations['GetDataExportCollection']['parameters'] extends {path: {}} ? operations['GetDataExportCollection']['parameters']["path"] : {})
|
|
2330
2334
|
|
|
2331
2335
|
type GetDataExportCollectionResponse = operations['GetDataExportCollection']['responses']['200']['content']['application/json'][0]
|
|
@@ -2603,7 +2607,7 @@ export interface corePaths {
|
|
|
2603
2607
|
/**
|
|
2604
2608
|
* Attaches a file to one or multiple objects, such as: customer,
|
|
2605
2609
|
* dispute, transaction, order, plan, product, invoice, or timeline
|
|
2606
|
-
* comment.
|
|
2610
|
+
* comment. Use attachments to quickly find and use files
|
|
2607
2611
|
* related to specific entities.
|
|
2608
2612
|
*/
|
|
2609
2613
|
post: operations["PostAttachment"];
|
|
@@ -3111,7 +3115,7 @@ export interface corePaths {
|
|
|
3111
3115
|
get: operations["GetInvoice"];
|
|
3112
3116
|
/**
|
|
3113
3117
|
* Creates or updates (upserts) an invoice with a specified ID.
|
|
3114
|
-
*
|
|
3118
|
+
* If the specified ID is associated with an upcoming invoice, a conflict error is returned.
|
|
3115
3119
|
*/
|
|
3116
3120
|
put: operations["PutInvoice"];
|
|
3117
3121
|
parameters: {
|
|
@@ -3775,8 +3779,8 @@ export interface corePaths {
|
|
|
3775
3779
|
* This operation assigns the quote the `status` of `issued`,
|
|
3776
3780
|
* clears the `canceledTime` and `rejectedTime` fields,
|
|
3777
3781
|
* and resets the fulfilled acceptance conditions.
|
|
3778
|
-
* If the request omits `expirationTime
|
|
3779
|
-
*
|
|
3782
|
+
* If the request omits `expirationTime` and the current expiration time has not passed, the current expiration time is retained.
|
|
3783
|
+
* If the request omits `expirationTime` and the current expiration time has passed, the quote expires one month after it is reissued.
|
|
3780
3784
|
*
|
|
3781
3785
|
* This operation restores the voided quotation invoice to the `quotation` status,
|
|
3782
3786
|
* and recalculates the invoice from the current quote items and order.
|
|
@@ -4479,7 +4483,7 @@ export interface corePaths {
|
|
|
4479
4483
|
/**
|
|
4480
4484
|
* Creates a payment token which can be exchanged into a payment instrument.
|
|
4481
4485
|
* [FramePay](https://www.rebilly.com/docs/dev-docs/framepay) is the recommended way to create a payment token because it minimizes PCI DSS compliance.
|
|
4482
|
-
*
|
|
4486
|
+
* After a payment token is created, it can only be used once.
|
|
4483
4487
|
*
|
|
4484
4488
|
* A payment token expires upon first use or within 30 minutes of the token creation, whichever comes first.
|
|
4485
4489
|
*/
|
|
@@ -5574,7 +5578,7 @@ export interface corePaths {
|
|
|
5574
5578
|
* Splits a payout request that is in `pending`, `ready`, or `approved` status into two or more separate requests.
|
|
5575
5579
|
*
|
|
5576
5580
|
* Use this operation when the full amount cannot be processed due to amount restrictions, but a smaller amount can be processed.
|
|
5577
|
-
* For example, if a payout request for `$4,000` cannot be processed, but `$3,000` can be processed, split the request into two.
|
|
5581
|
+
* For example, if a payout request for `$4,000` cannot be processed, but `$3,000` can be processed, split the request into two. Approve and process `$3,000` instead of blocking the entire request.
|
|
5578
5582
|
*
|
|
5579
5583
|
* Provide an array of at least two amounts; one new payout request is created per amount.
|
|
5580
5584
|
* The sum of the amounts must equal the original payout request amount.
|
|
@@ -5638,8 +5642,8 @@ export interface corePaths {
|
|
|
5638
5642
|
* - `process`: Queues the given allocations for processing.
|
|
5639
5643
|
*
|
|
5640
5644
|
* Only allocations with status `pending` are processed.
|
|
5641
|
-
*
|
|
5642
|
-
*
|
|
5645
|
+
* If any allocation uses an inactive gateway account or a gateway account with payout instruction `none`,
|
|
5646
|
+
* the request is rejected and no allocations are queued.
|
|
5643
5647
|
* Poll the allocation status for the result.
|
|
5644
5648
|
* The operation completes before the response returns.
|
|
5645
5649
|
*/
|
|
@@ -6327,7 +6331,7 @@ export interface coreComponents {
|
|
|
6327
6331
|
provenance?: {
|
|
6328
6332
|
/** Specifies if the result is inherited from a previous AML check. */
|
|
6329
6333
|
inherited?: boolean;
|
|
6330
|
-
/** ID of the AML check from which the check
|
|
6334
|
+
/** ID of the AML check from which the result of this check is inherited. */
|
|
6331
6335
|
inheritedFromAmlCheckId?: string;
|
|
6332
6336
|
/** Scope of what is inherited from the source AML check. */
|
|
6333
6337
|
scope?: "status-only"[];
|
|
@@ -6924,7 +6928,7 @@ export interface coreComponents {
|
|
|
6924
6928
|
/**
|
|
6925
6929
|
* Provides "buy X get Y" promotions.
|
|
6926
6930
|
* These promotions incentivize new customers to buy and also reward existing customers.
|
|
6927
|
-
*
|
|
6931
|
+
* Use this restriction type to add discounted plans to an invoice when a certain quantity of other plans are purchased.
|
|
6928
6932
|
* For example, if a customer buys two or more books, they get one free bookmark.
|
|
6929
6933
|
*/
|
|
6930
6934
|
CouponRestrictionRestrictToBxgy: {
|
|
@@ -9963,7 +9967,7 @@ export interface coreComponents {
|
|
|
9963
9967
|
};
|
|
9964
9968
|
/**
|
|
9965
9969
|
* Allocation request settings.
|
|
9966
|
-
* Credit memo IDs are not accepted and are selected automatically
|
|
9970
|
+
* Credit memo IDs are not accepted and are selected automatically.
|
|
9967
9971
|
*/
|
|
9968
9972
|
InvoiceCreditMemoAllocationRequest: {
|
|
9969
9973
|
/**
|
|
@@ -12612,7 +12616,7 @@ export interface coreComponents {
|
|
|
12612
12616
|
/**
|
|
12613
12617
|
* When enabled, if no usage is reported during a service period,
|
|
12614
12618
|
* the plan bills the last known reported quantity from a previous period instead of zero.
|
|
12615
|
-
* This is suitable for hosted or persistent resources
|
|
12619
|
+
* This is suitable for hosted or persistent resources with usage that does not change every period.
|
|
12616
12620
|
* Only supported with `strategy`: `last`.
|
|
12617
12621
|
*/
|
|
12618
12622
|
sticky?: boolean;
|
|
@@ -12910,7 +12914,7 @@ export interface coreComponents {
|
|
|
12910
12914
|
* This limit is enforced only while the subscription is in its trial phase.
|
|
12911
12915
|
* When the reported usage reaches the configured trial limit, an event called 'trial-usage-limit-reached' is triggered.
|
|
12912
12916
|
* To notify the customer or restrict access to the service, a webhook and notification can be configured for this event.
|
|
12913
|
-
*
|
|
12917
|
+
* When the trial limit is reached, additional usage cannot be reported unless the trial ends.
|
|
12914
12918
|
*/
|
|
12915
12919
|
trialLimit?: number | null;
|
|
12916
12920
|
};
|
|
@@ -13210,7 +13214,7 @@ export interface coreComponents {
|
|
|
13210
13214
|
/**
|
|
13211
13215
|
* Time when the new items are applied.
|
|
13212
13216
|
*
|
|
13213
|
-
* - `now`: The items change
|
|
13217
|
+
* - `now`: The items change immediately.
|
|
13214
13218
|
* `prorated`, `renewalPolicy` and `effectiveTime` apply.
|
|
13215
13219
|
* - `nextRenewal`: The current items stay until the next renewal.
|
|
13216
13220
|
* The new items are billed on the next renewal invoice.
|
|
@@ -13230,7 +13234,7 @@ export interface coreComponents {
|
|
|
13230
13234
|
* Deprecated.
|
|
13231
13235
|
* Use the `retainTrialThenRecurring` value of `renewalPolicy` instead.
|
|
13232
13236
|
*
|
|
13233
|
-
* Specifies if the
|
|
13237
|
+
* Specifies if the active trial of the order is retained.
|
|
13234
13238
|
* This field is only applicable if `renewalPolicy` is set to the deprecated value `retain`, or omitted.
|
|
13235
13239
|
* If `renewalPolicy` is omitted and this field is `true`, `renewalPolicy` is set to `retainTrialThenRecurring`.
|
|
13236
13240
|
*/
|
|
@@ -13238,7 +13242,7 @@ export interface coreComponents {
|
|
|
13238
13242
|
/**
|
|
13239
13243
|
* Specifies if the quotation invoice must include interim items only.
|
|
13240
13244
|
* If this value is set to `false`, all upcoming items are included.
|
|
13241
|
-
*
|
|
13245
|
+
* If `applyAt` is set to `nextRenewal`, this value must be `true`.
|
|
13242
13246
|
* To bill the next period now, issue the upcoming invoice of the order.
|
|
13243
13247
|
*/
|
|
13244
13248
|
interimOnly?: boolean;
|
|
@@ -13624,8 +13628,8 @@ export interface coreComponents {
|
|
|
13624
13628
|
/**
|
|
13625
13629
|
* Date and time when the reissued quote expires.
|
|
13626
13630
|
* A new expiration time must be later than the current time.
|
|
13627
|
-
* If this field is `null` or omitted
|
|
13628
|
-
*
|
|
13631
|
+
* If this field is `null` or omitted and the current expiration time has not passed, the current expiration time is retained.
|
|
13632
|
+
* If this field is `null` or omitted and the current expiration time has passed, the quote expires one month after it is reissued.
|
|
13629
13633
|
*/
|
|
13630
13634
|
expirationTime?: string | null;
|
|
13631
13635
|
};
|
|
@@ -14013,7 +14017,7 @@ export interface coreComponents {
|
|
|
14013
14017
|
paymentInstrumentId?: string | null;
|
|
14014
14018
|
/**
|
|
14015
14019
|
* Billing status of the most recent invoice.
|
|
14016
|
-
* This value
|
|
14020
|
+
* This value is used to determine whether to change the service status of the service,
|
|
14017
14021
|
* such as suspending the service.
|
|
14018
14022
|
*/
|
|
14019
14023
|
billingStatus?:
|
|
@@ -14205,7 +14209,7 @@ export interface coreComponents {
|
|
|
14205
14209
|
status?: "pending" | "abandoned" | "completed" | "canceled";
|
|
14206
14210
|
/**
|
|
14207
14211
|
* Billing status of the most recent invoice.
|
|
14208
|
-
* This value
|
|
14212
|
+
* This value is used to determine whether to change the service status of the service,
|
|
14209
14213
|
* such as suspending the service.
|
|
14210
14214
|
*/
|
|
14211
14215
|
billingStatus?:
|
|
@@ -15053,7 +15057,7 @@ export interface coreComponents {
|
|
|
15053
15057
|
* The new items are billed on the next renewal invoice.
|
|
15054
15058
|
* `renewalPolicy`, `prorated`, and `effectiveTime` are not allowed.
|
|
15055
15059
|
* A later change for the same order supersedes the pending change.
|
|
15056
|
-
* The pending change is locked
|
|
15060
|
+
* The pending change is locked when the next renewal invoice is issued.
|
|
15057
15061
|
* To remove a pending change, use the `DELETE /order-changes/{id}` operation.
|
|
15058
15062
|
* The new items must differ from the current items.
|
|
15059
15063
|
* One-time sale items that are already on the order remain.
|
|
@@ -15088,7 +15092,7 @@ export interface coreComponents {
|
|
|
15088
15092
|
plan:
|
|
15089
15093
|
| coreComponents["schemas"]["OriginalPlan"]
|
|
15090
15094
|
| coreComponents["schemas"]["FlexiblePlan"];
|
|
15091
|
-
/** Number of units of the product on the
|
|
15095
|
+
/** Number of units of the product on the specified plan. */
|
|
15092
15096
|
quantity?: number;
|
|
15093
15097
|
usageLimits?: coreComponents["schemas"]["UsageLimits"] | null;
|
|
15094
15098
|
/** Specifies if this item is excluded from monthly recurring revenue calculations. */
|
|
@@ -15150,7 +15154,7 @@ export interface coreComponents {
|
|
|
15150
15154
|
| "sandbox-retention";
|
|
15151
15155
|
/** Description of the cancellation reason in free form. */
|
|
15152
15156
|
description?: string;
|
|
15153
|
-
/** Specifies if the customer gets a pro
|
|
15157
|
+
/** Specifies if the customer gets a pro rata credit for the time remaining between `churnTime` and order next renewal time. */
|
|
15154
15158
|
prorated?: boolean;
|
|
15155
15159
|
/** Status of the order cancellation. */
|
|
15156
15160
|
status?: "draft" | "confirmed" | "completed" | "revoked";
|
|
@@ -15243,7 +15247,7 @@ export interface coreComponents {
|
|
|
15243
15247
|
plan:
|
|
15244
15248
|
| coreComponents["schemas"]["OriginalPlan"]
|
|
15245
15249
|
| coreComponents["schemas"]["FlexiblePlan"];
|
|
15246
|
-
/** Number of units of the product on the
|
|
15250
|
+
/** Number of units of the product on the specified plan. */
|
|
15247
15251
|
quantity?: number;
|
|
15248
15252
|
usageLimits?: coreComponents["schemas"]["UsageLimits"];
|
|
15249
15253
|
}[];
|
|
@@ -15281,7 +15285,7 @@ export interface coreComponents {
|
|
|
15281
15285
|
* Deprecated.
|
|
15282
15286
|
* Use the `retainTrialThenRecurring` or `retainTrialOnly` value of `renewalPolicy` instead.
|
|
15283
15287
|
*
|
|
15284
|
-
* Specifies if the
|
|
15288
|
+
* Specifies if the active trial of the order is retained.
|
|
15285
15289
|
* This field is only applicable if `renewalPolicy` is set to the deprecated value `retain`.
|
|
15286
15290
|
*/
|
|
15287
15291
|
keepTrial?: boolean;
|
|
@@ -15340,7 +15344,7 @@ export interface coreComponents {
|
|
|
15340
15344
|
* Deprecated.
|
|
15341
15345
|
* Use the `retainTrialThenRecurring` or `retainTrialOnly` value of `renewalPolicy` instead.
|
|
15342
15346
|
*
|
|
15343
|
-
* Specifies if the
|
|
15347
|
+
* Specifies if the active trial of the order is retained.
|
|
15344
15348
|
* This field is only applicable if `renewalPolicy` is set to the deprecated value `retain`.
|
|
15345
15349
|
*/
|
|
15346
15350
|
keepTrial?: boolean;
|
|
@@ -15454,7 +15458,7 @@ export interface coreComponents {
|
|
|
15454
15458
|
| "sandbox-retention";
|
|
15455
15459
|
/** Description of the cancellation reason in free form. */
|
|
15456
15460
|
description?: string;
|
|
15457
|
-
/** Specifies if the customer gets a pro
|
|
15461
|
+
/** Specifies if the customer gets a pro rata credit for the time remaining between `churnTime` and subscription next renewal time. */
|
|
15458
15462
|
prorated?: boolean;
|
|
15459
15463
|
/** Status of the subscription order. */
|
|
15460
15464
|
status?: "draft" | "confirmed" | "completed" | "revoked";
|
|
@@ -15755,8 +15759,8 @@ export interface coreComponents {
|
|
|
15755
15759
|
/**
|
|
15756
15760
|
* Specifies whether partial usage should be accepted if the reported quantity exceeds the available limit.
|
|
15757
15761
|
*
|
|
15758
|
-
* When set to `true`, the
|
|
15759
|
-
* When set to `false
|
|
15762
|
+
* When set to `true`, the reported quantity is adjusted automatically to the maximum allowed limit, and the usage is reported.
|
|
15763
|
+
* When set to `false` and the reported quantity exceeds the limit, the request is rejected.
|
|
15760
15764
|
*/
|
|
15761
15765
|
acceptPartialQuantity?: boolean;
|
|
15762
15766
|
createdTime?: coreComponents["schemas"]["CreatedTime"];
|
|
@@ -16677,7 +16681,7 @@ export interface coreComponents {
|
|
|
16677
16681
|
slug: string;
|
|
16678
16682
|
/**
|
|
16679
16683
|
* Billing portal name.
|
|
16680
|
-
* This name is for internal use and
|
|
16684
|
+
* This name is for internal use, and is used to organize and differentiate billing portals.
|
|
16681
16685
|
* This value is not displayed to your customers.
|
|
16682
16686
|
*/
|
|
16683
16687
|
name: string;
|
|
@@ -17745,7 +17749,7 @@ export interface coreComponents {
|
|
|
17745
17749
|
_links?: coreComponents["schemas"]["SelfLink"];
|
|
17746
17750
|
};
|
|
17747
17751
|
/**
|
|
17748
|
-
* TaxJar integration
|
|
17752
|
+
* Use the TaxJar integration to calculate taxes and create transactions for the Sales Tax AutoFile feature in your TaxJar account.
|
|
17749
17753
|
* For more information, see [TaxJar integration](https://www.rebilly.com/docs/automations/tax-jar-integration/#taxjar-integration).
|
|
17750
17754
|
*/
|
|
17751
17755
|
TaxJarCredential: {
|
|
@@ -17771,7 +17775,7 @@ export interface coreComponents {
|
|
|
17771
17775
|
omitFromAddress?: boolean;
|
|
17772
17776
|
_links?: coreComponents["schemas"]["SelfLink"];
|
|
17773
17777
|
};
|
|
17774
|
-
/** Avalara integration
|
|
17778
|
+
/** Use the Avalara integration to calculate taxes and create transactions in your Avalara account. */
|
|
17775
17779
|
AvalaraCredential: {
|
|
17776
17780
|
/** ID of the credential. */
|
|
17777
17781
|
id?: string;
|
|
@@ -18023,7 +18027,7 @@ export interface coreComponents {
|
|
|
18023
18027
|
isVerified?: boolean;
|
|
18024
18028
|
/**
|
|
18025
18029
|
* Reason why the media domain cannot be verified,
|
|
18026
|
-
* or why a verified media domain fails
|
|
18030
|
+
* or why the hourly check of a verified media domain fails.
|
|
18027
18031
|
* A verified media domain keeps `isVerified` set to `true` while it fails the check.
|
|
18028
18032
|
* This value is `null` if verification is pending, or if the custom domain has no failure.
|
|
18029
18033
|
*/
|
|
@@ -19195,7 +19199,7 @@ export interface coreComponents {
|
|
|
19195
19199
|
enableMoto?: boolean;
|
|
19196
19200
|
/** Adyen risk profile. */
|
|
19197
19201
|
riskProfile?: string;
|
|
19198
|
-
/** Name of the transaction custom field that
|
|
19202
|
+
/** Name of the transaction custom field that contains the Level 2/3 data. */
|
|
19199
19203
|
levelTwoThreeDataCustomField?: string;
|
|
19200
19204
|
/** ID of the Digital Payment Application (DPA) for Mastercard Secure Card on File (SCOF). */
|
|
19201
19205
|
mastercardDpaId?: string;
|
|
@@ -19250,7 +19254,7 @@ export interface coreComponents {
|
|
|
19250
19254
|
};
|
|
19251
19255
|
/** Airwallex settings object. */
|
|
19252
19256
|
settings?: {
|
|
19253
|
-
/** Name of the transaction custom field that
|
|
19257
|
+
/** Name of the transaction custom field that contains the device ID. */
|
|
19254
19258
|
deviceIdCustomField?: string;
|
|
19255
19259
|
};
|
|
19256
19260
|
threeDSecureServer?: coreComponents["schemas"]["ThreeDSecureIO3dsServer"];
|
|
@@ -19471,7 +19475,7 @@ export interface coreComponents {
|
|
|
19471
19475
|
enableMoto?: boolean;
|
|
19472
19476
|
/** Sales tax amount as a decimal to send with level 2/3 data. */
|
|
19473
19477
|
salesTaxAmount?: number;
|
|
19474
|
-
/** Name of the transaction custom field that
|
|
19478
|
+
/** Name of the transaction custom field that contains the BlueSnap transaction metadata. */
|
|
19475
19479
|
metadataCustomField?: string;
|
|
19476
19480
|
};
|
|
19477
19481
|
threeDSecureServer?: coreComponents["schemas"]["ThreeDSecureIO3dsServer"];
|
|
@@ -19523,7 +19527,7 @@ export interface coreComponents {
|
|
|
19523
19527
|
payoutCurrency?: string;
|
|
19524
19528
|
/** Blockchain network to use for the payout. */
|
|
19525
19529
|
payoutNetwork?: string;
|
|
19526
|
-
/** Name of the customer custom field that
|
|
19530
|
+
/** Name of the customer custom field that contains payout destination tag for XRP. */
|
|
19527
19531
|
destinationTagCustomField?: string;
|
|
19528
19532
|
};
|
|
19529
19533
|
};
|
|
@@ -19723,12 +19727,12 @@ export interface coreComponents {
|
|
|
19723
19727
|
settings?: {
|
|
19724
19728
|
/** Specifies whether to mark pending payouts as 'waiting-gateway/unknown' instead of 'approved'. */
|
|
19725
19729
|
markAsWaitingGatewayOnPendingPayout?: boolean;
|
|
19726
|
-
/** Name of the website custom field that
|
|
19730
|
+
/** Name of the website custom field that contains the sub-entity ID. */
|
|
19727
19731
|
subEntityIdWebsiteCustomField?: string;
|
|
19728
19732
|
/**
|
|
19729
19733
|
* Checkout.com processing channel ID.
|
|
19730
|
-
* Checkout.com secret API key can be configured with a default processing channel ID.
|
|
19731
|
-
*
|
|
19734
|
+
* The Checkout.com secret API key can be configured with a default processing channel ID.
|
|
19735
|
+
* If the secret API key has no default processing channel ID, this value is required.
|
|
19732
19736
|
*/
|
|
19733
19737
|
processingChannelId?: string;
|
|
19734
19738
|
};
|
|
@@ -19950,7 +19954,7 @@ export interface coreComponents {
|
|
|
19950
19954
|
/** Specifies whether to create an installment plan and use it for payment. */
|
|
19951
19955
|
createInstallmentPlan?: boolean;
|
|
19952
19956
|
/**
|
|
19953
|
-
* Name of the transaction custom field that
|
|
19957
|
+
* Name of the transaction custom field that contains the customer document.
|
|
19954
19958
|
* Use this setting to skip the intermediate step of collecting the customer document for payment card transactions.
|
|
19955
19959
|
*/
|
|
19956
19960
|
customerDocumentCustomField?: string;
|
|
@@ -20835,7 +20839,7 @@ export interface coreComponents {
|
|
|
20835
20839
|
payoutCurrency?: string;
|
|
20836
20840
|
/** Blockchain network to use for the payout. */
|
|
20837
20841
|
payoutNetwork?: string;
|
|
20838
|
-
/** Name of the customer custom field that
|
|
20842
|
+
/** Name of the customer custom field that contains payout destination tag for XRP. */
|
|
20839
20843
|
destinationTagCustomField?: string;
|
|
20840
20844
|
};
|
|
20841
20845
|
};
|
|
@@ -20928,7 +20932,7 @@ export interface coreComponents {
|
|
|
20928
20932
|
payoutCurrency?: string;
|
|
20929
20933
|
/** Blockchain network to use for the payout. */
|
|
20930
20934
|
payoutNetwork?: string;
|
|
20931
|
-
/** Name of the customer custom field that
|
|
20935
|
+
/** Name of the customer custom field that contains payout destination tag for XRP. */
|
|
20932
20936
|
destinationTagCustomField?: string;
|
|
20933
20937
|
};
|
|
20934
20938
|
};
|
|
@@ -22043,7 +22047,7 @@ export interface coreComponents {
|
|
|
22043
22047
|
};
|
|
22044
22048
|
/** Splitit settings object. */
|
|
22045
22049
|
settings?: {
|
|
22046
|
-
/** Name of the transaction custom field that
|
|
22050
|
+
/** Name of the transaction custom field that contains the number of installments. */
|
|
22047
22051
|
numberOfInstallmentsCustomField?: string;
|
|
22048
22052
|
};
|
|
22049
22053
|
};
|
|
@@ -22203,7 +22207,7 @@ export interface coreComponents {
|
|
|
22203
22207
|
applicationFeePercentage?: number;
|
|
22204
22208
|
/** Specifies whether to include payment card network in the request to Stripe. */
|
|
22205
22209
|
includeCardNetwork?: boolean;
|
|
22206
|
-
/** Name of the transaction custom field that
|
|
22210
|
+
/** Name of the transaction custom field that contains the Radar Session ID. */
|
|
22207
22211
|
radarSessionCustomField?: string;
|
|
22208
22212
|
};
|
|
22209
22213
|
/** Stripe Integrated. */
|
|
@@ -22380,7 +22384,7 @@ export interface coreComponents {
|
|
|
22380
22384
|
};
|
|
22381
22385
|
/** Txn settings object. */
|
|
22382
22386
|
settings?: {
|
|
22383
|
-
/** Name of the customer custom field that
|
|
22387
|
+
/** Name of the customer custom field that contains payout destination tag for XRP. */
|
|
22384
22388
|
destinationTagCustomField?: string;
|
|
22385
22389
|
/** Cryptocurrency of the payout. */
|
|
22386
22390
|
payoutCurrency?: string;
|
|
@@ -24682,6 +24686,56 @@ export interface coreComponents {
|
|
|
24682
24686
|
/** Total amount of all disputed transactions. */
|
|
24683
24687
|
disputesAmount?: number;
|
|
24684
24688
|
};
|
|
24689
|
+
/** Approximate location of the IP address of the request. */
|
|
24690
|
+
Location: {
|
|
24691
|
+
/**
|
|
24692
|
+
* IP address of the request.
|
|
24693
|
+
* This value is `null` if the IP address is unknown.
|
|
24694
|
+
*/
|
|
24695
|
+
ip: string | null;
|
|
24696
|
+
/**
|
|
24697
|
+
* Country of the IP address in ISO 3166 alpha-2 format.
|
|
24698
|
+
* This value is `null` if the country is unknown.
|
|
24699
|
+
*/
|
|
24700
|
+
country: string | null;
|
|
24701
|
+
/**
|
|
24702
|
+
* Region of the IP address, such as a state or a province.
|
|
24703
|
+
* This value is `null` if the country or the region is unknown.
|
|
24704
|
+
*/
|
|
24705
|
+
region: string | null;
|
|
24706
|
+
/**
|
|
24707
|
+
* Currency of the country of the IP address in ISO 4217 format.
|
|
24708
|
+
* This value is `null` if the country is unknown.
|
|
24709
|
+
*/
|
|
24710
|
+
currency: string | null;
|
|
24711
|
+
/**
|
|
24712
|
+
* City of the IP address.
|
|
24713
|
+
* This value is `null` if the city is unknown.
|
|
24714
|
+
*/
|
|
24715
|
+
city: string | null;
|
|
24716
|
+
/**
|
|
24717
|
+
* Coordinates of the IP address.
|
|
24718
|
+
* This value is `null` if the coordinates are unknown.
|
|
24719
|
+
*/
|
|
24720
|
+
location: {
|
|
24721
|
+
/** Latitude of the IP address. */
|
|
24722
|
+
lat: number;
|
|
24723
|
+
/** Longitude of the IP address. */
|
|
24724
|
+
lng: number;
|
|
24725
|
+
} | null;
|
|
24726
|
+
/**
|
|
24727
|
+
* Postal code of the IP address.
|
|
24728
|
+
* This value is `null` if the postal code is unknown.
|
|
24729
|
+
*/
|
|
24730
|
+
zip: string | null;
|
|
24731
|
+
/**
|
|
24732
|
+
* Time zone of the IP address, such as `America/Los_Angeles`.
|
|
24733
|
+
* This value is `null` if the time zone is unknown.
|
|
24734
|
+
*/
|
|
24735
|
+
timezone: string | null;
|
|
24736
|
+
/** Current date and time. */
|
|
24737
|
+
time: coreComponents["schemas"]["ServerTimestamp"];
|
|
24738
|
+
};
|
|
24685
24739
|
DashboardTile: {
|
|
24686
24740
|
/**
|
|
24687
24741
|
* Metric displayed in the tile.
|
|
@@ -24717,13 +24771,13 @@ export interface coreComponents {
|
|
|
24717
24771
|
/**
|
|
24718
24772
|
* Date and time when the tile period starts.
|
|
24719
24773
|
* The value is resolved from the tile `dateRange`.
|
|
24720
|
-
* This value is `null` when
|
|
24774
|
+
* This value is `null` when `dateRange` is not set on the tile.
|
|
24721
24775
|
*/
|
|
24722
24776
|
periodStart?: string | null;
|
|
24723
24777
|
/**
|
|
24724
24778
|
* Date and time when the tile period ends.
|
|
24725
24779
|
* The value is resolved from the tile `dateRange`.
|
|
24726
|
-
* This value is `null` when
|
|
24780
|
+
* This value is `null` when `dateRange` is not set on the tile.
|
|
24727
24781
|
*/
|
|
24728
24782
|
periodEnd?: string | null;
|
|
24729
24783
|
};
|
|
@@ -27418,7 +27472,7 @@ export interface coreComponents {
|
|
|
27418
27472
|
orderType?: "subscription-order" | "one-time-order";
|
|
27419
27473
|
/**
|
|
27420
27474
|
* Billing status of the most recent invoice.
|
|
27421
|
-
* This value
|
|
27475
|
+
* This value is used to determine whether to change the service status of the service,
|
|
27422
27476
|
* such as suspending the service.
|
|
27423
27477
|
*/
|
|
27424
27478
|
billingStatus?:
|
|
@@ -27632,7 +27686,7 @@ export interface coreComponents {
|
|
|
27632
27686
|
orderType?: "subscription-order" | "one-time-order";
|
|
27633
27687
|
/**
|
|
27634
27688
|
* Billing status of the most recent invoice.
|
|
27635
|
-
* This value
|
|
27689
|
+
* This value is used to determine whether to change the service status of the service,
|
|
27636
27690
|
* such as suspending the service.
|
|
27637
27691
|
*/
|
|
27638
27692
|
billingStatus?:
|
|
@@ -27721,7 +27775,7 @@ export interface coreComponents {
|
|
|
27721
27775
|
items?: {
|
|
27722
27776
|
/** ID of the plan. */
|
|
27723
27777
|
planId: string;
|
|
27724
|
-
/** Number of units of the product on the
|
|
27778
|
+
/** Number of units of the product on the specified plan. */
|
|
27725
27779
|
quantity?: number;
|
|
27726
27780
|
/**
|
|
27727
27781
|
* Number of filled product units.
|
|
@@ -27833,7 +27887,7 @@ export interface coreComponents {
|
|
|
27833
27887
|
* Deprecated.
|
|
27834
27888
|
* Use the `retainTrialThenRecurring` value of `renewalPolicy` instead.
|
|
27835
27889
|
*
|
|
27836
|
-
* Specifies if the
|
|
27890
|
+
* Specifies if the active trial of the order is retained.
|
|
27837
27891
|
* This field is only applicable if `renewalPolicy` is set to the deprecated value `retain`.
|
|
27838
27892
|
*/
|
|
27839
27893
|
keepTrial?: boolean;
|
|
@@ -28041,7 +28095,7 @@ export interface coreComponents {
|
|
|
28041
28095
|
plan:
|
|
28042
28096
|
| coreComponents["schemas"]["OriginalPlan"]
|
|
28043
28097
|
| coreComponents["schemas"]["FlexiblePlan"];
|
|
28044
|
-
/** Number of units of the product on the
|
|
28098
|
+
/** Number of units of the product on the specified plan. */
|
|
28045
28099
|
quantity?: number;
|
|
28046
28100
|
usageLimits?: coreComponents["schemas"]["UsageLimits"] | null;
|
|
28047
28101
|
/** Specifies if this item is excluded from monthly recurring revenue calculations. */
|
|
@@ -28058,7 +28112,7 @@ export interface coreComponents {
|
|
|
28058
28112
|
items?: {
|
|
28059
28113
|
/** ID of the plan. */
|
|
28060
28114
|
planId: string;
|
|
28061
|
-
/** Number of units of the product on the
|
|
28115
|
+
/** Number of units of the product on the specified plan. */
|
|
28062
28116
|
quantity?: number;
|
|
28063
28117
|
usageLimits?: coreComponents["schemas"]["UsageLimits"] | null;
|
|
28064
28118
|
}[];
|
|
@@ -28561,7 +28615,7 @@ export interface coreComponents {
|
|
|
28561
28615
|
/**
|
|
28562
28616
|
* When enabled, if no usage is reported during a service period,
|
|
28563
28617
|
* the plan bills the last known reported quantity from a previous period instead of zero.
|
|
28564
|
-
* This is suitable for hosted or persistent resources
|
|
28618
|
+
* This is suitable for hosted or persistent resources with usage that does not change every period.
|
|
28565
28619
|
* Only supported with `strategy`: `last`.
|
|
28566
28620
|
*/
|
|
28567
28621
|
sticky?: boolean;
|
|
@@ -28995,7 +29049,7 @@ export interface coreComponents {
|
|
|
28995
29049
|
items: {
|
|
28996
29050
|
/** ID of the plan. */
|
|
28997
29051
|
planId: string;
|
|
28998
|
-
/** Number of units of the product on the
|
|
29052
|
+
/** Number of units of the product on the specified plan. */
|
|
28999
29053
|
quantity?: number;
|
|
29000
29054
|
/**
|
|
29001
29055
|
* Specifies the soft and hard usage limit thresholds for an item with a metered billing plan.
|
|
@@ -29049,7 +29103,7 @@ export interface coreComponents {
|
|
|
29049
29103
|
* This limit is enforced only while the subscription is in its trial phase.
|
|
29050
29104
|
* When the reported usage reaches the configured trial limit, an event called 'trial-usage-limit-reached' is triggered.
|
|
29051
29105
|
* To notify the customer or restrict access to the service, a webhook and notification can be configured for this event.
|
|
29052
|
-
*
|
|
29106
|
+
* When the trial limit is reached, additional usage cannot be reported unless the trial ends.
|
|
29053
29107
|
*/
|
|
29054
29108
|
trialLimit?: number | null;
|
|
29055
29109
|
} | null;
|
|
@@ -30560,7 +30614,7 @@ export interface coreComponents {
|
|
|
30560
30614
|
* This limit is enforced only while the subscription is in trial phase.
|
|
30561
30615
|
* When the reported usage reaches the configured trial limit, an event called 'trial-usage-limit-reached' is triggered.
|
|
30562
30616
|
* To notify the customer or restrict access to the service, a webhook and notification can be configured for this event.
|
|
30563
|
-
*
|
|
30617
|
+
* When the trial limit is reached, additional usage cannot be reported until the trial ends.
|
|
30564
30618
|
*/
|
|
30565
30619
|
trialLimit?: number | null;
|
|
30566
30620
|
} | null;
|
|
@@ -31842,7 +31896,7 @@ export interface coreComponents {
|
|
|
31842
31896
|
recordCount?: number;
|
|
31843
31897
|
/**
|
|
31844
31898
|
* Status of the data export.
|
|
31845
|
-
* This webhook is sent only when the data export
|
|
31899
|
+
* This webhook is sent only when the data export is `completed` or `failed`.
|
|
31846
31900
|
* This value is never `pending`, `queued`, or `processing`.
|
|
31847
31901
|
*/
|
|
31848
31902
|
status?: "completed" | "failed";
|
|
@@ -32191,7 +32245,7 @@ export interface operations {
|
|
|
32191
32245
|
/**
|
|
32192
32246
|
* Attaches a file to one or multiple objects, such as: customer,
|
|
32193
32247
|
* dispute, transaction, order, plan, product, invoice, or timeline
|
|
32194
|
-
* comment.
|
|
32248
|
+
* comment. Use attachments to quickly find and use files
|
|
32195
32249
|
* related to specific entities.
|
|
32196
32250
|
*/
|
|
32197
32251
|
PostAttachment: {
|
|
@@ -34400,7 +34454,7 @@ export interface operations {
|
|
|
34400
34454
|
};
|
|
34401
34455
|
/**
|
|
34402
34456
|
* Creates or updates (upserts) an invoice with a specified ID.
|
|
34403
|
-
*
|
|
34457
|
+
* If the specified ID is associated with an upcoming invoice, a conflict error is returned.
|
|
34404
34458
|
*/
|
|
34405
34459
|
PutInvoice: {
|
|
34406
34460
|
parameters: {
|
|
@@ -36962,8 +37016,8 @@ export interface operations {
|
|
|
36962
37016
|
* This operation assigns the quote the `status` of `issued`,
|
|
36963
37017
|
* clears the `canceledTime` and `rejectedTime` fields,
|
|
36964
37018
|
* and resets the fulfilled acceptance conditions.
|
|
36965
|
-
* If the request omits `expirationTime
|
|
36966
|
-
*
|
|
37019
|
+
* If the request omits `expirationTime` and the current expiration time has not passed, the current expiration time is retained.
|
|
37020
|
+
* If the request omits `expirationTime` and the current expiration time has passed, the quote expires one month after it is reissued.
|
|
36967
37021
|
*
|
|
36968
37022
|
* This operation restores the voided quotation invoice to the `quotation` status,
|
|
36969
37023
|
* and recalculates the invoice from the current quote items and order.
|
|
@@ -39902,7 +39956,7 @@ export interface operations {
|
|
|
39902
39956
|
/**
|
|
39903
39957
|
* Creates a payment token which can be exchanged into a payment instrument.
|
|
39904
39958
|
* [FramePay](https://www.rebilly.com/docs/dev-docs/framepay) is the recommended way to create a payment token because it minimizes PCI DSS compliance.
|
|
39905
|
-
*
|
|
39959
|
+
* After a payment token is created, it can only be used once.
|
|
39906
39960
|
*
|
|
39907
39961
|
* A payment token expires upon first use or within 30 minutes of the token creation, whichever comes first.
|
|
39908
39962
|
*/
|
|
@@ -44279,7 +44333,7 @@ export interface operations {
|
|
|
44279
44333
|
* Splits a payout request that is in `pending`, `ready`, or `approved` status into two or more separate requests.
|
|
44280
44334
|
*
|
|
44281
44335
|
* Use this operation when the full amount cannot be processed due to amount restrictions, but a smaller amount can be processed.
|
|
44282
|
-
* For example, if a payout request for `$4,000` cannot be processed, but `$3,000` can be processed, split the request into two.
|
|
44336
|
+
* For example, if a payout request for `$4,000` cannot be processed, but `$3,000` can be processed, split the request into two. Approve and process `$3,000` instead of blocking the entire request.
|
|
44283
44337
|
*
|
|
44284
44338
|
* Provide an array of at least two amounts; one new payout request is created per amount.
|
|
44285
44339
|
* The sum of the amounts must equal the original payout request amount.
|
|
@@ -44515,8 +44569,8 @@ export interface operations {
|
|
|
44515
44569
|
* - `process`: Queues the given allocations for processing.
|
|
44516
44570
|
*
|
|
44517
44571
|
* Only allocations with status `pending` are processed.
|
|
44518
|
-
*
|
|
44519
|
-
*
|
|
44572
|
+
* If any allocation uses an inactive gateway account or a gateway account with payout instruction `none`,
|
|
44573
|
+
* the request is rejected and no allocations are queued.
|
|
44520
44574
|
* Poll the allocation status for the result.
|
|
44521
44575
|
* The operation completes before the response returns.
|
|
44522
44576
|
*/
|
|
@@ -47253,7 +47307,7 @@ export interface storefrontComponents {
|
|
|
47253
47307
|
provenance?: {
|
|
47254
47308
|
/** Specifies if the result is inherited from a previous AML check. */
|
|
47255
47309
|
inherited?: boolean;
|
|
47256
|
-
/** ID of the AML check from which the check
|
|
47310
|
+
/** ID of the AML check from which the result of this check is inherited. */
|
|
47257
47311
|
inheritedFromAmlCheckId?: string;
|
|
47258
47312
|
/** Scope of what is inherited from the source AML check. */
|
|
47259
47313
|
scope?: "status-only"[];
|
|
@@ -47850,7 +47904,7 @@ export interface storefrontComponents {
|
|
|
47850
47904
|
/**
|
|
47851
47905
|
* Provides "buy X get Y" promotions.
|
|
47852
47906
|
* These promotions incentivize new customers to buy and also reward existing customers.
|
|
47853
|
-
*
|
|
47907
|
+
* Use this restriction type to add discounted plans to an invoice when a certain quantity of other plans are purchased.
|
|
47854
47908
|
* For example, if a customer buys two or more books, they get one free bookmark.
|
|
47855
47909
|
*/
|
|
47856
47910
|
CouponRestrictionRestrictToBxgy: {
|
|
@@ -50889,7 +50943,7 @@ export interface storefrontComponents {
|
|
|
50889
50943
|
};
|
|
50890
50944
|
/**
|
|
50891
50945
|
* Allocation request settings.
|
|
50892
|
-
* Credit memo IDs are not accepted and are selected automatically
|
|
50946
|
+
* Credit memo IDs are not accepted and are selected automatically.
|
|
50893
50947
|
*/
|
|
50894
50948
|
InvoiceCreditMemoAllocationRequest: {
|
|
50895
50949
|
/**
|
|
@@ -53538,7 +53592,7 @@ export interface storefrontComponents {
|
|
|
53538
53592
|
/**
|
|
53539
53593
|
* When enabled, if no usage is reported during a service period,
|
|
53540
53594
|
* the plan bills the last known reported quantity from a previous period instead of zero.
|
|
53541
|
-
* This is suitable for hosted or persistent resources
|
|
53595
|
+
* This is suitable for hosted or persistent resources with usage that does not change every period.
|
|
53542
53596
|
* Only supported with `strategy`: `last`.
|
|
53543
53597
|
*/
|
|
53544
53598
|
sticky?: boolean;
|
|
@@ -53836,7 +53890,7 @@ export interface storefrontComponents {
|
|
|
53836
53890
|
* This limit is enforced only while the subscription is in its trial phase.
|
|
53837
53891
|
* When the reported usage reaches the configured trial limit, an event called 'trial-usage-limit-reached' is triggered.
|
|
53838
53892
|
* To notify the customer or restrict access to the service, a webhook and notification can be configured for this event.
|
|
53839
|
-
*
|
|
53893
|
+
* When the trial limit is reached, additional usage cannot be reported unless the trial ends.
|
|
53840
53894
|
*/
|
|
53841
53895
|
trialLimit?: number | null;
|
|
53842
53896
|
};
|
|
@@ -54136,7 +54190,7 @@ export interface storefrontComponents {
|
|
|
54136
54190
|
/**
|
|
54137
54191
|
* Time when the new items are applied.
|
|
54138
54192
|
*
|
|
54139
|
-
* - `now`: The items change
|
|
54193
|
+
* - `now`: The items change immediately.
|
|
54140
54194
|
* `prorated`, `renewalPolicy` and `effectiveTime` apply.
|
|
54141
54195
|
* - `nextRenewal`: The current items stay until the next renewal.
|
|
54142
54196
|
* The new items are billed on the next renewal invoice.
|
|
@@ -54156,7 +54210,7 @@ export interface storefrontComponents {
|
|
|
54156
54210
|
* Deprecated.
|
|
54157
54211
|
* Use the `retainTrialThenRecurring` value of `renewalPolicy` instead.
|
|
54158
54212
|
*
|
|
54159
|
-
* Specifies if the
|
|
54213
|
+
* Specifies if the active trial of the order is retained.
|
|
54160
54214
|
* This field is only applicable if `renewalPolicy` is set to the deprecated value `retain`, or omitted.
|
|
54161
54215
|
* If `renewalPolicy` is omitted and this field is `true`, `renewalPolicy` is set to `retainTrialThenRecurring`.
|
|
54162
54216
|
*/
|
|
@@ -54164,7 +54218,7 @@ export interface storefrontComponents {
|
|
|
54164
54218
|
/**
|
|
54165
54219
|
* Specifies if the quotation invoice must include interim items only.
|
|
54166
54220
|
* If this value is set to `false`, all upcoming items are included.
|
|
54167
|
-
*
|
|
54221
|
+
* If `applyAt` is set to `nextRenewal`, this value must be `true`.
|
|
54168
54222
|
* To bill the next period now, issue the upcoming invoice of the order.
|
|
54169
54223
|
*/
|
|
54170
54224
|
interimOnly?: boolean;
|
|
@@ -54550,8 +54604,8 @@ export interface storefrontComponents {
|
|
|
54550
54604
|
/**
|
|
54551
54605
|
* Date and time when the reissued quote expires.
|
|
54552
54606
|
* A new expiration time must be later than the current time.
|
|
54553
|
-
* If this field is `null` or omitted
|
|
54554
|
-
*
|
|
54607
|
+
* If this field is `null` or omitted and the current expiration time has not passed, the current expiration time is retained.
|
|
54608
|
+
* If this field is `null` or omitted and the current expiration time has passed, the quote expires one month after it is reissued.
|
|
54555
54609
|
*/
|
|
54556
54610
|
expirationTime?: string | null;
|
|
54557
54611
|
};
|
|
@@ -54939,7 +54993,7 @@ export interface storefrontComponents {
|
|
|
54939
54993
|
paymentInstrumentId?: string | null;
|
|
54940
54994
|
/**
|
|
54941
54995
|
* Billing status of the most recent invoice.
|
|
54942
|
-
* This value
|
|
54996
|
+
* This value is used to determine whether to change the service status of the service,
|
|
54943
54997
|
* such as suspending the service.
|
|
54944
54998
|
*/
|
|
54945
54999
|
billingStatus?:
|
|
@@ -55131,7 +55185,7 @@ export interface storefrontComponents {
|
|
|
55131
55185
|
status?: "pending" | "abandoned" | "completed" | "canceled";
|
|
55132
55186
|
/**
|
|
55133
55187
|
* Billing status of the most recent invoice.
|
|
55134
|
-
* This value
|
|
55188
|
+
* This value is used to determine whether to change the service status of the service,
|
|
55135
55189
|
* such as suspending the service.
|
|
55136
55190
|
*/
|
|
55137
55191
|
billingStatus?:
|
|
@@ -55979,7 +56033,7 @@ export interface storefrontComponents {
|
|
|
55979
56033
|
* The new items are billed on the next renewal invoice.
|
|
55980
56034
|
* `renewalPolicy`, `prorated`, and `effectiveTime` are not allowed.
|
|
55981
56035
|
* A later change for the same order supersedes the pending change.
|
|
55982
|
-
* The pending change is locked
|
|
56036
|
+
* The pending change is locked when the next renewal invoice is issued.
|
|
55983
56037
|
* To remove a pending change, use the `DELETE /order-changes/{id}` operation.
|
|
55984
56038
|
* The new items must differ from the current items.
|
|
55985
56039
|
* One-time sale items that are already on the order remain.
|
|
@@ -56014,7 +56068,7 @@ export interface storefrontComponents {
|
|
|
56014
56068
|
plan:
|
|
56015
56069
|
| storefrontComponents["schemas"]["OriginalPlan"]
|
|
56016
56070
|
| storefrontComponents["schemas"]["FlexiblePlan"];
|
|
56017
|
-
/** Number of units of the product on the
|
|
56071
|
+
/** Number of units of the product on the specified plan. */
|
|
56018
56072
|
quantity?: number;
|
|
56019
56073
|
usageLimits?: storefrontComponents["schemas"]["UsageLimits"] | null;
|
|
56020
56074
|
/** Specifies if this item is excluded from monthly recurring revenue calculations. */
|
|
@@ -56076,7 +56130,7 @@ export interface storefrontComponents {
|
|
|
56076
56130
|
| "sandbox-retention";
|
|
56077
56131
|
/** Description of the cancellation reason in free form. */
|
|
56078
56132
|
description?: string;
|
|
56079
|
-
/** Specifies if the customer gets a pro
|
|
56133
|
+
/** Specifies if the customer gets a pro rata credit for the time remaining between `churnTime` and order next renewal time. */
|
|
56080
56134
|
prorated?: boolean;
|
|
56081
56135
|
/** Status of the order cancellation. */
|
|
56082
56136
|
status?: "draft" | "confirmed" | "completed" | "revoked";
|
|
@@ -56169,7 +56223,7 @@ export interface storefrontComponents {
|
|
|
56169
56223
|
plan:
|
|
56170
56224
|
| storefrontComponents["schemas"]["OriginalPlan"]
|
|
56171
56225
|
| storefrontComponents["schemas"]["FlexiblePlan"];
|
|
56172
|
-
/** Number of units of the product on the
|
|
56226
|
+
/** Number of units of the product on the specified plan. */
|
|
56173
56227
|
quantity?: number;
|
|
56174
56228
|
usageLimits?: storefrontComponents["schemas"]["UsageLimits"];
|
|
56175
56229
|
}[];
|
|
@@ -56207,7 +56261,7 @@ export interface storefrontComponents {
|
|
|
56207
56261
|
* Deprecated.
|
|
56208
56262
|
* Use the `retainTrialThenRecurring` or `retainTrialOnly` value of `renewalPolicy` instead.
|
|
56209
56263
|
*
|
|
56210
|
-
* Specifies if the
|
|
56264
|
+
* Specifies if the active trial of the order is retained.
|
|
56211
56265
|
* This field is only applicable if `renewalPolicy` is set to the deprecated value `retain`.
|
|
56212
56266
|
*/
|
|
56213
56267
|
keepTrial?: boolean;
|
|
@@ -56266,7 +56320,7 @@ export interface storefrontComponents {
|
|
|
56266
56320
|
* Deprecated.
|
|
56267
56321
|
* Use the `retainTrialThenRecurring` or `retainTrialOnly` value of `renewalPolicy` instead.
|
|
56268
56322
|
*
|
|
56269
|
-
* Specifies if the
|
|
56323
|
+
* Specifies if the active trial of the order is retained.
|
|
56270
56324
|
* This field is only applicable if `renewalPolicy` is set to the deprecated value `retain`.
|
|
56271
56325
|
*/
|
|
56272
56326
|
keepTrial?: boolean;
|
|
@@ -56380,7 +56434,7 @@ export interface storefrontComponents {
|
|
|
56380
56434
|
| "sandbox-retention";
|
|
56381
56435
|
/** Description of the cancellation reason in free form. */
|
|
56382
56436
|
description?: string;
|
|
56383
|
-
/** Specifies if the customer gets a pro
|
|
56437
|
+
/** Specifies if the customer gets a pro rata credit for the time remaining between `churnTime` and subscription next renewal time. */
|
|
56384
56438
|
prorated?: boolean;
|
|
56385
56439
|
/** Status of the subscription order. */
|
|
56386
56440
|
status?: "draft" | "confirmed" | "completed" | "revoked";
|
|
@@ -56681,8 +56735,8 @@ export interface storefrontComponents {
|
|
|
56681
56735
|
/**
|
|
56682
56736
|
* Specifies whether partial usage should be accepted if the reported quantity exceeds the available limit.
|
|
56683
56737
|
*
|
|
56684
|
-
* When set to `true`, the
|
|
56685
|
-
* When set to `false
|
|
56738
|
+
* When set to `true`, the reported quantity is adjusted automatically to the maximum allowed limit, and the usage is reported.
|
|
56739
|
+
* When set to `false` and the reported quantity exceeds the limit, the request is rejected.
|
|
56686
56740
|
*/
|
|
56687
56741
|
acceptPartialQuantity?: boolean;
|
|
56688
56742
|
createdTime?: storefrontComponents["schemas"]["CreatedTime"];
|
|
@@ -57603,7 +57657,7 @@ export interface storefrontComponents {
|
|
|
57603
57657
|
slug: string;
|
|
57604
57658
|
/**
|
|
57605
57659
|
* Billing portal name.
|
|
57606
|
-
* This name is for internal use and
|
|
57660
|
+
* This name is for internal use, and is used to organize and differentiate billing portals.
|
|
57607
57661
|
* This value is not displayed to your customers.
|
|
57608
57662
|
*/
|
|
57609
57663
|
name: string;
|
|
@@ -58671,7 +58725,7 @@ export interface storefrontComponents {
|
|
|
58671
58725
|
_links?: storefrontComponents["schemas"]["SelfLink"];
|
|
58672
58726
|
};
|
|
58673
58727
|
/**
|
|
58674
|
-
* TaxJar integration
|
|
58728
|
+
* Use the TaxJar integration to calculate taxes and create transactions for the Sales Tax AutoFile feature in your TaxJar account.
|
|
58675
58729
|
* For more information, see [TaxJar integration](https://www.rebilly.com/docs/automations/tax-jar-integration/#taxjar-integration).
|
|
58676
58730
|
*/
|
|
58677
58731
|
TaxJarCredential: {
|
|
@@ -58697,7 +58751,7 @@ export interface storefrontComponents {
|
|
|
58697
58751
|
omitFromAddress?: boolean;
|
|
58698
58752
|
_links?: storefrontComponents["schemas"]["SelfLink"];
|
|
58699
58753
|
};
|
|
58700
|
-
/** Avalara integration
|
|
58754
|
+
/** Use the Avalara integration to calculate taxes and create transactions in your Avalara account. */
|
|
58701
58755
|
AvalaraCredential: {
|
|
58702
58756
|
/** ID of the credential. */
|
|
58703
58757
|
id?: string;
|
|
@@ -58949,7 +59003,7 @@ export interface storefrontComponents {
|
|
|
58949
59003
|
isVerified?: boolean;
|
|
58950
59004
|
/**
|
|
58951
59005
|
* Reason why the media domain cannot be verified,
|
|
58952
|
-
* or why a verified media domain fails
|
|
59006
|
+
* or why the hourly check of a verified media domain fails.
|
|
58953
59007
|
* A verified media domain keeps `isVerified` set to `true` while it fails the check.
|
|
58954
59008
|
* This value is `null` if verification is pending, or if the custom domain has no failure.
|
|
58955
59009
|
*/
|
|
@@ -60121,7 +60175,7 @@ export interface storefrontComponents {
|
|
|
60121
60175
|
enableMoto?: boolean;
|
|
60122
60176
|
/** Adyen risk profile. */
|
|
60123
60177
|
riskProfile?: string;
|
|
60124
|
-
/** Name of the transaction custom field that
|
|
60178
|
+
/** Name of the transaction custom field that contains the Level 2/3 data. */
|
|
60125
60179
|
levelTwoThreeDataCustomField?: string;
|
|
60126
60180
|
/** ID of the Digital Payment Application (DPA) for Mastercard Secure Card on File (SCOF). */
|
|
60127
60181
|
mastercardDpaId?: string;
|
|
@@ -60176,7 +60230,7 @@ export interface storefrontComponents {
|
|
|
60176
60230
|
};
|
|
60177
60231
|
/** Airwallex settings object. */
|
|
60178
60232
|
settings?: {
|
|
60179
|
-
/** Name of the transaction custom field that
|
|
60233
|
+
/** Name of the transaction custom field that contains the device ID. */
|
|
60180
60234
|
deviceIdCustomField?: string;
|
|
60181
60235
|
};
|
|
60182
60236
|
threeDSecureServer?: storefrontComponents["schemas"]["ThreeDSecureIO3dsServer"];
|
|
@@ -60397,7 +60451,7 @@ export interface storefrontComponents {
|
|
|
60397
60451
|
enableMoto?: boolean;
|
|
60398
60452
|
/** Sales tax amount as a decimal to send with level 2/3 data. */
|
|
60399
60453
|
salesTaxAmount?: number;
|
|
60400
|
-
/** Name of the transaction custom field that
|
|
60454
|
+
/** Name of the transaction custom field that contains the BlueSnap transaction metadata. */
|
|
60401
60455
|
metadataCustomField?: string;
|
|
60402
60456
|
};
|
|
60403
60457
|
threeDSecureServer?: storefrontComponents["schemas"]["ThreeDSecureIO3dsServer"];
|
|
@@ -60449,7 +60503,7 @@ export interface storefrontComponents {
|
|
|
60449
60503
|
payoutCurrency?: string;
|
|
60450
60504
|
/** Blockchain network to use for the payout. */
|
|
60451
60505
|
payoutNetwork?: string;
|
|
60452
|
-
/** Name of the customer custom field that
|
|
60506
|
+
/** Name of the customer custom field that contains payout destination tag for XRP. */
|
|
60453
60507
|
destinationTagCustomField?: string;
|
|
60454
60508
|
};
|
|
60455
60509
|
};
|
|
@@ -60649,12 +60703,12 @@ export interface storefrontComponents {
|
|
|
60649
60703
|
settings?: {
|
|
60650
60704
|
/** Specifies whether to mark pending payouts as 'waiting-gateway/unknown' instead of 'approved'. */
|
|
60651
60705
|
markAsWaitingGatewayOnPendingPayout?: boolean;
|
|
60652
|
-
/** Name of the website custom field that
|
|
60706
|
+
/** Name of the website custom field that contains the sub-entity ID. */
|
|
60653
60707
|
subEntityIdWebsiteCustomField?: string;
|
|
60654
60708
|
/**
|
|
60655
60709
|
* Checkout.com processing channel ID.
|
|
60656
|
-
* Checkout.com secret API key can be configured with a default processing channel ID.
|
|
60657
|
-
*
|
|
60710
|
+
* The Checkout.com secret API key can be configured with a default processing channel ID.
|
|
60711
|
+
* If the secret API key has no default processing channel ID, this value is required.
|
|
60658
60712
|
*/
|
|
60659
60713
|
processingChannelId?: string;
|
|
60660
60714
|
};
|
|
@@ -60876,7 +60930,7 @@ export interface storefrontComponents {
|
|
|
60876
60930
|
/** Specifies whether to create an installment plan and use it for payment. */
|
|
60877
60931
|
createInstallmentPlan?: boolean;
|
|
60878
60932
|
/**
|
|
60879
|
-
* Name of the transaction custom field that
|
|
60933
|
+
* Name of the transaction custom field that contains the customer document.
|
|
60880
60934
|
* Use this setting to skip the intermediate step of collecting the customer document for payment card transactions.
|
|
60881
60935
|
*/
|
|
60882
60936
|
customerDocumentCustomField?: string;
|
|
@@ -61761,7 +61815,7 @@ export interface storefrontComponents {
|
|
|
61761
61815
|
payoutCurrency?: string;
|
|
61762
61816
|
/** Blockchain network to use for the payout. */
|
|
61763
61817
|
payoutNetwork?: string;
|
|
61764
|
-
/** Name of the customer custom field that
|
|
61818
|
+
/** Name of the customer custom field that contains payout destination tag for XRP. */
|
|
61765
61819
|
destinationTagCustomField?: string;
|
|
61766
61820
|
};
|
|
61767
61821
|
};
|
|
@@ -61854,7 +61908,7 @@ export interface storefrontComponents {
|
|
|
61854
61908
|
payoutCurrency?: string;
|
|
61855
61909
|
/** Blockchain network to use for the payout. */
|
|
61856
61910
|
payoutNetwork?: string;
|
|
61857
|
-
/** Name of the customer custom field that
|
|
61911
|
+
/** Name of the customer custom field that contains payout destination tag for XRP. */
|
|
61858
61912
|
destinationTagCustomField?: string;
|
|
61859
61913
|
};
|
|
61860
61914
|
};
|
|
@@ -62969,7 +63023,7 @@ export interface storefrontComponents {
|
|
|
62969
63023
|
};
|
|
62970
63024
|
/** Splitit settings object. */
|
|
62971
63025
|
settings?: {
|
|
62972
|
-
/** Name of the transaction custom field that
|
|
63026
|
+
/** Name of the transaction custom field that contains the number of installments. */
|
|
62973
63027
|
numberOfInstallmentsCustomField?: string;
|
|
62974
63028
|
};
|
|
62975
63029
|
};
|
|
@@ -63129,7 +63183,7 @@ export interface storefrontComponents {
|
|
|
63129
63183
|
applicationFeePercentage?: number;
|
|
63130
63184
|
/** Specifies whether to include payment card network in the request to Stripe. */
|
|
63131
63185
|
includeCardNetwork?: boolean;
|
|
63132
|
-
/** Name of the transaction custom field that
|
|
63186
|
+
/** Name of the transaction custom field that contains the Radar Session ID. */
|
|
63133
63187
|
radarSessionCustomField?: string;
|
|
63134
63188
|
};
|
|
63135
63189
|
/** Stripe Integrated. */
|
|
@@ -63306,7 +63360,7 @@ export interface storefrontComponents {
|
|
|
63306
63360
|
};
|
|
63307
63361
|
/** Txn settings object. */
|
|
63308
63362
|
settings?: {
|
|
63309
|
-
/** Name of the customer custom field that
|
|
63363
|
+
/** Name of the customer custom field that contains payout destination tag for XRP. */
|
|
63310
63364
|
destinationTagCustomField?: string;
|
|
63311
63365
|
/** Cryptocurrency of the payout. */
|
|
63312
63366
|
payoutCurrency?: string;
|
|
@@ -65608,6 +65662,56 @@ export interface storefrontComponents {
|
|
|
65608
65662
|
/** Total amount of all disputed transactions. */
|
|
65609
65663
|
disputesAmount?: number;
|
|
65610
65664
|
};
|
|
65665
|
+
/** Approximate location of the IP address of the request. */
|
|
65666
|
+
Location: {
|
|
65667
|
+
/**
|
|
65668
|
+
* IP address of the request.
|
|
65669
|
+
* This value is `null` if the IP address is unknown.
|
|
65670
|
+
*/
|
|
65671
|
+
ip: string | null;
|
|
65672
|
+
/**
|
|
65673
|
+
* Country of the IP address in ISO 3166 alpha-2 format.
|
|
65674
|
+
* This value is `null` if the country is unknown.
|
|
65675
|
+
*/
|
|
65676
|
+
country: string | null;
|
|
65677
|
+
/**
|
|
65678
|
+
* Region of the IP address, such as a state or a province.
|
|
65679
|
+
* This value is `null` if the country or the region is unknown.
|
|
65680
|
+
*/
|
|
65681
|
+
region: string | null;
|
|
65682
|
+
/**
|
|
65683
|
+
* Currency of the country of the IP address in ISO 4217 format.
|
|
65684
|
+
* This value is `null` if the country is unknown.
|
|
65685
|
+
*/
|
|
65686
|
+
currency: string | null;
|
|
65687
|
+
/**
|
|
65688
|
+
* City of the IP address.
|
|
65689
|
+
* This value is `null` if the city is unknown.
|
|
65690
|
+
*/
|
|
65691
|
+
city: string | null;
|
|
65692
|
+
/**
|
|
65693
|
+
* Coordinates of the IP address.
|
|
65694
|
+
* This value is `null` if the coordinates are unknown.
|
|
65695
|
+
*/
|
|
65696
|
+
location: {
|
|
65697
|
+
/** Latitude of the IP address. */
|
|
65698
|
+
lat: number;
|
|
65699
|
+
/** Longitude of the IP address. */
|
|
65700
|
+
lng: number;
|
|
65701
|
+
} | null;
|
|
65702
|
+
/**
|
|
65703
|
+
* Postal code of the IP address.
|
|
65704
|
+
* This value is `null` if the postal code is unknown.
|
|
65705
|
+
*/
|
|
65706
|
+
zip: string | null;
|
|
65707
|
+
/**
|
|
65708
|
+
* Time zone of the IP address, such as `America/Los_Angeles`.
|
|
65709
|
+
* This value is `null` if the time zone is unknown.
|
|
65710
|
+
*/
|
|
65711
|
+
timezone: string | null;
|
|
65712
|
+
/** Current date and time. */
|
|
65713
|
+
time: storefrontComponents["schemas"]["ServerTimestamp"];
|
|
65714
|
+
};
|
|
65611
65715
|
DashboardTile: {
|
|
65612
65716
|
/**
|
|
65613
65717
|
* Metric displayed in the tile.
|
|
@@ -65643,13 +65747,13 @@ export interface storefrontComponents {
|
|
|
65643
65747
|
/**
|
|
65644
65748
|
* Date and time when the tile period starts.
|
|
65645
65749
|
* The value is resolved from the tile `dateRange`.
|
|
65646
|
-
* This value is `null` when
|
|
65750
|
+
* This value is `null` when `dateRange` is not set on the tile.
|
|
65647
65751
|
*/
|
|
65648
65752
|
periodStart?: string | null;
|
|
65649
65753
|
/**
|
|
65650
65754
|
* Date and time when the tile period ends.
|
|
65651
65755
|
* The value is resolved from the tile `dateRange`.
|
|
65652
|
-
* This value is `null` when
|
|
65756
|
+
* This value is `null` when `dateRange` is not set on the tile.
|
|
65653
65757
|
*/
|
|
65654
65758
|
periodEnd?: string | null;
|
|
65655
65759
|
};
|
|
@@ -68344,7 +68448,7 @@ export interface storefrontComponents {
|
|
|
68344
68448
|
orderType?: "subscription-order" | "one-time-order";
|
|
68345
68449
|
/**
|
|
68346
68450
|
* Billing status of the most recent invoice.
|
|
68347
|
-
* This value
|
|
68451
|
+
* This value is used to determine whether to change the service status of the service,
|
|
68348
68452
|
* such as suspending the service.
|
|
68349
68453
|
*/
|
|
68350
68454
|
billingStatus?:
|
|
@@ -68558,7 +68662,7 @@ export interface storefrontComponents {
|
|
|
68558
68662
|
orderType?: "subscription-order" | "one-time-order";
|
|
68559
68663
|
/**
|
|
68560
68664
|
* Billing status of the most recent invoice.
|
|
68561
|
-
* This value
|
|
68665
|
+
* This value is used to determine whether to change the service status of the service,
|
|
68562
68666
|
* such as suspending the service.
|
|
68563
68667
|
*/
|
|
68564
68668
|
billingStatus?:
|
|
@@ -68647,7 +68751,7 @@ export interface storefrontComponents {
|
|
|
68647
68751
|
items?: {
|
|
68648
68752
|
/** ID of the plan. */
|
|
68649
68753
|
planId: string;
|
|
68650
|
-
/** Number of units of the product on the
|
|
68754
|
+
/** Number of units of the product on the specified plan. */
|
|
68651
68755
|
quantity?: number;
|
|
68652
68756
|
/**
|
|
68653
68757
|
* Number of filled product units.
|
|
@@ -68759,7 +68863,7 @@ export interface storefrontComponents {
|
|
|
68759
68863
|
* Deprecated.
|
|
68760
68864
|
* Use the `retainTrialThenRecurring` value of `renewalPolicy` instead.
|
|
68761
68865
|
*
|
|
68762
|
-
* Specifies if the
|
|
68866
|
+
* Specifies if the active trial of the order is retained.
|
|
68763
68867
|
* This field is only applicable if `renewalPolicy` is set to the deprecated value `retain`.
|
|
68764
68868
|
*/
|
|
68765
68869
|
keepTrial?: boolean;
|
|
@@ -68967,7 +69071,7 @@ export interface storefrontComponents {
|
|
|
68967
69071
|
plan:
|
|
68968
69072
|
| storefrontComponents["schemas"]["OriginalPlan"]
|
|
68969
69073
|
| storefrontComponents["schemas"]["FlexiblePlan"];
|
|
68970
|
-
/** Number of units of the product on the
|
|
69074
|
+
/** Number of units of the product on the specified plan. */
|
|
68971
69075
|
quantity?: number;
|
|
68972
69076
|
usageLimits?: storefrontComponents["schemas"]["UsageLimits"] | null;
|
|
68973
69077
|
/** Specifies if this item is excluded from monthly recurring revenue calculations. */
|
|
@@ -68984,7 +69088,7 @@ export interface storefrontComponents {
|
|
|
68984
69088
|
items?: {
|
|
68985
69089
|
/** ID of the plan. */
|
|
68986
69090
|
planId: string;
|
|
68987
|
-
/** Number of units of the product on the
|
|
69091
|
+
/** Number of units of the product on the specified plan. */
|
|
68988
69092
|
quantity?: number;
|
|
68989
69093
|
usageLimits?: storefrontComponents["schemas"]["UsageLimits"] | null;
|
|
68990
69094
|
}[];
|
|
@@ -69487,7 +69591,7 @@ export interface storefrontComponents {
|
|
|
69487
69591
|
/**
|
|
69488
69592
|
* When enabled, if no usage is reported during a service period,
|
|
69489
69593
|
* the plan bills the last known reported quantity from a previous period instead of zero.
|
|
69490
|
-
* This is suitable for hosted or persistent resources
|
|
69594
|
+
* This is suitable for hosted or persistent resources with usage that does not change every period.
|
|
69491
69595
|
* Only supported with `strategy`: `last`.
|
|
69492
69596
|
*/
|
|
69493
69597
|
sticky?: boolean;
|
|
@@ -69921,7 +70025,7 @@ export interface storefrontComponents {
|
|
|
69921
70025
|
items: {
|
|
69922
70026
|
/** ID of the plan. */
|
|
69923
70027
|
planId: string;
|
|
69924
|
-
/** Number of units of the product on the
|
|
70028
|
+
/** Number of units of the product on the specified plan. */
|
|
69925
70029
|
quantity?: number;
|
|
69926
70030
|
/**
|
|
69927
70031
|
* Specifies the soft and hard usage limit thresholds for an item with a metered billing plan.
|
|
@@ -69975,7 +70079,7 @@ export interface storefrontComponents {
|
|
|
69975
70079
|
* This limit is enforced only while the subscription is in its trial phase.
|
|
69976
70080
|
* When the reported usage reaches the configured trial limit, an event called 'trial-usage-limit-reached' is triggered.
|
|
69977
70081
|
* To notify the customer or restrict access to the service, a webhook and notification can be configured for this event.
|
|
69978
|
-
*
|
|
70082
|
+
* When the trial limit is reached, additional usage cannot be reported unless the trial ends.
|
|
69979
70083
|
*/
|
|
69980
70084
|
trialLimit?: number | null;
|
|
69981
70085
|
} | null;
|
|
@@ -71486,7 +71590,7 @@ export interface storefrontComponents {
|
|
|
71486
71590
|
* This limit is enforced only while the subscription is in trial phase.
|
|
71487
71591
|
* When the reported usage reaches the configured trial limit, an event called 'trial-usage-limit-reached' is triggered.
|
|
71488
71592
|
* To notify the customer or restrict access to the service, a webhook and notification can be configured for this event.
|
|
71489
|
-
*
|
|
71593
|
+
* When the trial limit is reached, additional usage cannot be reported until the trial ends.
|
|
71490
71594
|
*/
|
|
71491
71595
|
trialLimit?: number | null;
|
|
71492
71596
|
} | null;
|
|
@@ -72768,7 +72872,7 @@ export interface storefrontComponents {
|
|
|
72768
72872
|
recordCount?: number;
|
|
72769
72873
|
/**
|
|
72770
72874
|
* Status of the data export.
|
|
72771
|
-
* This webhook is sent only when the data export
|
|
72875
|
+
* This webhook is sent only when the data export is `completed` or `failed`.
|
|
72772
72876
|
* This value is never `pending`, `queued`, or `processing`.
|
|
72773
72877
|
*/
|
|
72774
72878
|
status?: "completed" | "failed";
|
|
@@ -73115,7 +73219,7 @@ export interface operations {
|
|
|
73115
73219
|
404: storefrontComponents["responses"]["NotFound"];
|
|
73116
73220
|
/**
|
|
73117
73221
|
* Promotion in `promotionId` does not apply to the deposit.
|
|
73118
|
-
*
|
|
73222
|
+
* The deposit amount, currency, and payment method are checked against the promotion rules before the deposit is charged.
|
|
73119
73223
|
* The customer is not charged.
|
|
73120
73224
|
*/
|
|
73121
73225
|
409: {
|
|
@@ -74762,6 +74866,10 @@ export interface reportsPaths {
|
|
|
74762
74866
|
};
|
|
74763
74867
|
};
|
|
74764
74868
|
};
|
|
74869
|
+
"/location": {
|
|
74870
|
+
/** Retrieves the approximate location and time zone of the IP address of the request. */
|
|
74871
|
+
get: operations["GetLocation"];
|
|
74872
|
+
};
|
|
74765
74873
|
"/data-exports": {
|
|
74766
74874
|
/** Retrieves a list of data export requests. */
|
|
74767
74875
|
get: operations["GetDataExportCollection"];
|
|
@@ -75237,7 +75345,7 @@ export interface reportsComponents {
|
|
|
75237
75345
|
provenance?: {
|
|
75238
75346
|
/** Specifies if the result is inherited from a previous AML check. */
|
|
75239
75347
|
inherited?: boolean;
|
|
75240
|
-
/** ID of the AML check from which the check
|
|
75348
|
+
/** ID of the AML check from which the result of this check is inherited. */
|
|
75241
75349
|
inheritedFromAmlCheckId?: string;
|
|
75242
75350
|
/** Scope of what is inherited from the source AML check. */
|
|
75243
75351
|
scope?: "status-only"[];
|
|
@@ -75834,7 +75942,7 @@ export interface reportsComponents {
|
|
|
75834
75942
|
/**
|
|
75835
75943
|
* Provides "buy X get Y" promotions.
|
|
75836
75944
|
* These promotions incentivize new customers to buy and also reward existing customers.
|
|
75837
|
-
*
|
|
75945
|
+
* Use this restriction type to add discounted plans to an invoice when a certain quantity of other plans are purchased.
|
|
75838
75946
|
* For example, if a customer buys two or more books, they get one free bookmark.
|
|
75839
75947
|
*/
|
|
75840
75948
|
CouponRestrictionRestrictToBxgy: {
|
|
@@ -78873,7 +78981,7 @@ export interface reportsComponents {
|
|
|
78873
78981
|
};
|
|
78874
78982
|
/**
|
|
78875
78983
|
* Allocation request settings.
|
|
78876
|
-
* Credit memo IDs are not accepted and are selected automatically
|
|
78984
|
+
* Credit memo IDs are not accepted and are selected automatically.
|
|
78877
78985
|
*/
|
|
78878
78986
|
InvoiceCreditMemoAllocationRequest: {
|
|
78879
78987
|
/**
|
|
@@ -81522,7 +81630,7 @@ export interface reportsComponents {
|
|
|
81522
81630
|
/**
|
|
81523
81631
|
* When enabled, if no usage is reported during a service period,
|
|
81524
81632
|
* the plan bills the last known reported quantity from a previous period instead of zero.
|
|
81525
|
-
* This is suitable for hosted or persistent resources
|
|
81633
|
+
* This is suitable for hosted or persistent resources with usage that does not change every period.
|
|
81526
81634
|
* Only supported with `strategy`: `last`.
|
|
81527
81635
|
*/
|
|
81528
81636
|
sticky?: boolean;
|
|
@@ -81820,7 +81928,7 @@ export interface reportsComponents {
|
|
|
81820
81928
|
* This limit is enforced only while the subscription is in its trial phase.
|
|
81821
81929
|
* When the reported usage reaches the configured trial limit, an event called 'trial-usage-limit-reached' is triggered.
|
|
81822
81930
|
* To notify the customer or restrict access to the service, a webhook and notification can be configured for this event.
|
|
81823
|
-
*
|
|
81931
|
+
* When the trial limit is reached, additional usage cannot be reported unless the trial ends.
|
|
81824
81932
|
*/
|
|
81825
81933
|
trialLimit?: number | null;
|
|
81826
81934
|
};
|
|
@@ -82120,7 +82228,7 @@ export interface reportsComponents {
|
|
|
82120
82228
|
/**
|
|
82121
82229
|
* Time when the new items are applied.
|
|
82122
82230
|
*
|
|
82123
|
-
* - `now`: The items change
|
|
82231
|
+
* - `now`: The items change immediately.
|
|
82124
82232
|
* `prorated`, `renewalPolicy` and `effectiveTime` apply.
|
|
82125
82233
|
* - `nextRenewal`: The current items stay until the next renewal.
|
|
82126
82234
|
* The new items are billed on the next renewal invoice.
|
|
@@ -82140,7 +82248,7 @@ export interface reportsComponents {
|
|
|
82140
82248
|
* Deprecated.
|
|
82141
82249
|
* Use the `retainTrialThenRecurring` value of `renewalPolicy` instead.
|
|
82142
82250
|
*
|
|
82143
|
-
* Specifies if the
|
|
82251
|
+
* Specifies if the active trial of the order is retained.
|
|
82144
82252
|
* This field is only applicable if `renewalPolicy` is set to the deprecated value `retain`, or omitted.
|
|
82145
82253
|
* If `renewalPolicy` is omitted and this field is `true`, `renewalPolicy` is set to `retainTrialThenRecurring`.
|
|
82146
82254
|
*/
|
|
@@ -82148,7 +82256,7 @@ export interface reportsComponents {
|
|
|
82148
82256
|
/**
|
|
82149
82257
|
* Specifies if the quotation invoice must include interim items only.
|
|
82150
82258
|
* If this value is set to `false`, all upcoming items are included.
|
|
82151
|
-
*
|
|
82259
|
+
* If `applyAt` is set to `nextRenewal`, this value must be `true`.
|
|
82152
82260
|
* To bill the next period now, issue the upcoming invoice of the order.
|
|
82153
82261
|
*/
|
|
82154
82262
|
interimOnly?: boolean;
|
|
@@ -82534,8 +82642,8 @@ export interface reportsComponents {
|
|
|
82534
82642
|
/**
|
|
82535
82643
|
* Date and time when the reissued quote expires.
|
|
82536
82644
|
* A new expiration time must be later than the current time.
|
|
82537
|
-
* If this field is `null` or omitted
|
|
82538
|
-
*
|
|
82645
|
+
* If this field is `null` or omitted and the current expiration time has not passed, the current expiration time is retained.
|
|
82646
|
+
* If this field is `null` or omitted and the current expiration time has passed, the quote expires one month after it is reissued.
|
|
82539
82647
|
*/
|
|
82540
82648
|
expirationTime?: string | null;
|
|
82541
82649
|
};
|
|
@@ -82923,7 +83031,7 @@ export interface reportsComponents {
|
|
|
82923
83031
|
paymentInstrumentId?: string | null;
|
|
82924
83032
|
/**
|
|
82925
83033
|
* Billing status of the most recent invoice.
|
|
82926
|
-
* This value
|
|
83034
|
+
* This value is used to determine whether to change the service status of the service,
|
|
82927
83035
|
* such as suspending the service.
|
|
82928
83036
|
*/
|
|
82929
83037
|
billingStatus?:
|
|
@@ -83115,7 +83223,7 @@ export interface reportsComponents {
|
|
|
83115
83223
|
status?: "pending" | "abandoned" | "completed" | "canceled";
|
|
83116
83224
|
/**
|
|
83117
83225
|
* Billing status of the most recent invoice.
|
|
83118
|
-
* This value
|
|
83226
|
+
* This value is used to determine whether to change the service status of the service,
|
|
83119
83227
|
* such as suspending the service.
|
|
83120
83228
|
*/
|
|
83121
83229
|
billingStatus?:
|
|
@@ -83963,7 +84071,7 @@ export interface reportsComponents {
|
|
|
83963
84071
|
* The new items are billed on the next renewal invoice.
|
|
83964
84072
|
* `renewalPolicy`, `prorated`, and `effectiveTime` are not allowed.
|
|
83965
84073
|
* A later change for the same order supersedes the pending change.
|
|
83966
|
-
* The pending change is locked
|
|
84074
|
+
* The pending change is locked when the next renewal invoice is issued.
|
|
83967
84075
|
* To remove a pending change, use the `DELETE /order-changes/{id}` operation.
|
|
83968
84076
|
* The new items must differ from the current items.
|
|
83969
84077
|
* One-time sale items that are already on the order remain.
|
|
@@ -83998,7 +84106,7 @@ export interface reportsComponents {
|
|
|
83998
84106
|
plan:
|
|
83999
84107
|
| reportsComponents["schemas"]["OriginalPlan"]
|
|
84000
84108
|
| reportsComponents["schemas"]["FlexiblePlan"];
|
|
84001
|
-
/** Number of units of the product on the
|
|
84109
|
+
/** Number of units of the product on the specified plan. */
|
|
84002
84110
|
quantity?: number;
|
|
84003
84111
|
usageLimits?: reportsComponents["schemas"]["UsageLimits"] | null;
|
|
84004
84112
|
/** Specifies if this item is excluded from monthly recurring revenue calculations. */
|
|
@@ -84060,7 +84168,7 @@ export interface reportsComponents {
|
|
|
84060
84168
|
| "sandbox-retention";
|
|
84061
84169
|
/** Description of the cancellation reason in free form. */
|
|
84062
84170
|
description?: string;
|
|
84063
|
-
/** Specifies if the customer gets a pro
|
|
84171
|
+
/** Specifies if the customer gets a pro rata credit for the time remaining between `churnTime` and order next renewal time. */
|
|
84064
84172
|
prorated?: boolean;
|
|
84065
84173
|
/** Status of the order cancellation. */
|
|
84066
84174
|
status?: "draft" | "confirmed" | "completed" | "revoked";
|
|
@@ -84153,7 +84261,7 @@ export interface reportsComponents {
|
|
|
84153
84261
|
plan:
|
|
84154
84262
|
| reportsComponents["schemas"]["OriginalPlan"]
|
|
84155
84263
|
| reportsComponents["schemas"]["FlexiblePlan"];
|
|
84156
|
-
/** Number of units of the product on the
|
|
84264
|
+
/** Number of units of the product on the specified plan. */
|
|
84157
84265
|
quantity?: number;
|
|
84158
84266
|
usageLimits?: reportsComponents["schemas"]["UsageLimits"];
|
|
84159
84267
|
}[];
|
|
@@ -84191,7 +84299,7 @@ export interface reportsComponents {
|
|
|
84191
84299
|
* Deprecated.
|
|
84192
84300
|
* Use the `retainTrialThenRecurring` or `retainTrialOnly` value of `renewalPolicy` instead.
|
|
84193
84301
|
*
|
|
84194
|
-
* Specifies if the
|
|
84302
|
+
* Specifies if the active trial of the order is retained.
|
|
84195
84303
|
* This field is only applicable if `renewalPolicy` is set to the deprecated value `retain`.
|
|
84196
84304
|
*/
|
|
84197
84305
|
keepTrial?: boolean;
|
|
@@ -84250,7 +84358,7 @@ export interface reportsComponents {
|
|
|
84250
84358
|
* Deprecated.
|
|
84251
84359
|
* Use the `retainTrialThenRecurring` or `retainTrialOnly` value of `renewalPolicy` instead.
|
|
84252
84360
|
*
|
|
84253
|
-
* Specifies if the
|
|
84361
|
+
* Specifies if the active trial of the order is retained.
|
|
84254
84362
|
* This field is only applicable if `renewalPolicy` is set to the deprecated value `retain`.
|
|
84255
84363
|
*/
|
|
84256
84364
|
keepTrial?: boolean;
|
|
@@ -84364,7 +84472,7 @@ export interface reportsComponents {
|
|
|
84364
84472
|
| "sandbox-retention";
|
|
84365
84473
|
/** Description of the cancellation reason in free form. */
|
|
84366
84474
|
description?: string;
|
|
84367
|
-
/** Specifies if the customer gets a pro
|
|
84475
|
+
/** Specifies if the customer gets a pro rata credit for the time remaining between `churnTime` and subscription next renewal time. */
|
|
84368
84476
|
prorated?: boolean;
|
|
84369
84477
|
/** Status of the subscription order. */
|
|
84370
84478
|
status?: "draft" | "confirmed" | "completed" | "revoked";
|
|
@@ -84665,8 +84773,8 @@ export interface reportsComponents {
|
|
|
84665
84773
|
/**
|
|
84666
84774
|
* Specifies whether partial usage should be accepted if the reported quantity exceeds the available limit.
|
|
84667
84775
|
*
|
|
84668
|
-
* When set to `true`, the
|
|
84669
|
-
* When set to `false
|
|
84776
|
+
* When set to `true`, the reported quantity is adjusted automatically to the maximum allowed limit, and the usage is reported.
|
|
84777
|
+
* When set to `false` and the reported quantity exceeds the limit, the request is rejected.
|
|
84670
84778
|
*/
|
|
84671
84779
|
acceptPartialQuantity?: boolean;
|
|
84672
84780
|
createdTime?: reportsComponents["schemas"]["CreatedTime"];
|
|
@@ -85587,7 +85695,7 @@ export interface reportsComponents {
|
|
|
85587
85695
|
slug: string;
|
|
85588
85696
|
/**
|
|
85589
85697
|
* Billing portal name.
|
|
85590
|
-
* This name is for internal use and
|
|
85698
|
+
* This name is for internal use, and is used to organize and differentiate billing portals.
|
|
85591
85699
|
* This value is not displayed to your customers.
|
|
85592
85700
|
*/
|
|
85593
85701
|
name: string;
|
|
@@ -86655,7 +86763,7 @@ export interface reportsComponents {
|
|
|
86655
86763
|
_links?: reportsComponents["schemas"]["SelfLink"];
|
|
86656
86764
|
};
|
|
86657
86765
|
/**
|
|
86658
|
-
* TaxJar integration
|
|
86766
|
+
* Use the TaxJar integration to calculate taxes and create transactions for the Sales Tax AutoFile feature in your TaxJar account.
|
|
86659
86767
|
* For more information, see [TaxJar integration](https://www.rebilly.com/docs/automations/tax-jar-integration/#taxjar-integration).
|
|
86660
86768
|
*/
|
|
86661
86769
|
TaxJarCredential: {
|
|
@@ -86681,7 +86789,7 @@ export interface reportsComponents {
|
|
|
86681
86789
|
omitFromAddress?: boolean;
|
|
86682
86790
|
_links?: reportsComponents["schemas"]["SelfLink"];
|
|
86683
86791
|
};
|
|
86684
|
-
/** Avalara integration
|
|
86792
|
+
/** Use the Avalara integration to calculate taxes and create transactions in your Avalara account. */
|
|
86685
86793
|
AvalaraCredential: {
|
|
86686
86794
|
/** ID of the credential. */
|
|
86687
86795
|
id?: string;
|
|
@@ -86933,7 +87041,7 @@ export interface reportsComponents {
|
|
|
86933
87041
|
isVerified?: boolean;
|
|
86934
87042
|
/**
|
|
86935
87043
|
* Reason why the media domain cannot be verified,
|
|
86936
|
-
* or why a verified media domain fails
|
|
87044
|
+
* or why the hourly check of a verified media domain fails.
|
|
86937
87045
|
* A verified media domain keeps `isVerified` set to `true` while it fails the check.
|
|
86938
87046
|
* This value is `null` if verification is pending, or if the custom domain has no failure.
|
|
86939
87047
|
*/
|
|
@@ -88105,7 +88213,7 @@ export interface reportsComponents {
|
|
|
88105
88213
|
enableMoto?: boolean;
|
|
88106
88214
|
/** Adyen risk profile. */
|
|
88107
88215
|
riskProfile?: string;
|
|
88108
|
-
/** Name of the transaction custom field that
|
|
88216
|
+
/** Name of the transaction custom field that contains the Level 2/3 data. */
|
|
88109
88217
|
levelTwoThreeDataCustomField?: string;
|
|
88110
88218
|
/** ID of the Digital Payment Application (DPA) for Mastercard Secure Card on File (SCOF). */
|
|
88111
88219
|
mastercardDpaId?: string;
|
|
@@ -88160,7 +88268,7 @@ export interface reportsComponents {
|
|
|
88160
88268
|
};
|
|
88161
88269
|
/** Airwallex settings object. */
|
|
88162
88270
|
settings?: {
|
|
88163
|
-
/** Name of the transaction custom field that
|
|
88271
|
+
/** Name of the transaction custom field that contains the device ID. */
|
|
88164
88272
|
deviceIdCustomField?: string;
|
|
88165
88273
|
};
|
|
88166
88274
|
threeDSecureServer?: reportsComponents["schemas"]["ThreeDSecureIO3dsServer"];
|
|
@@ -88381,7 +88489,7 @@ export interface reportsComponents {
|
|
|
88381
88489
|
enableMoto?: boolean;
|
|
88382
88490
|
/** Sales tax amount as a decimal to send with level 2/3 data. */
|
|
88383
88491
|
salesTaxAmount?: number;
|
|
88384
|
-
/** Name of the transaction custom field that
|
|
88492
|
+
/** Name of the transaction custom field that contains the BlueSnap transaction metadata. */
|
|
88385
88493
|
metadataCustomField?: string;
|
|
88386
88494
|
};
|
|
88387
88495
|
threeDSecureServer?: reportsComponents["schemas"]["ThreeDSecureIO3dsServer"];
|
|
@@ -88433,7 +88541,7 @@ export interface reportsComponents {
|
|
|
88433
88541
|
payoutCurrency?: string;
|
|
88434
88542
|
/** Blockchain network to use for the payout. */
|
|
88435
88543
|
payoutNetwork?: string;
|
|
88436
|
-
/** Name of the customer custom field that
|
|
88544
|
+
/** Name of the customer custom field that contains payout destination tag for XRP. */
|
|
88437
88545
|
destinationTagCustomField?: string;
|
|
88438
88546
|
};
|
|
88439
88547
|
};
|
|
@@ -88633,12 +88741,12 @@ export interface reportsComponents {
|
|
|
88633
88741
|
settings?: {
|
|
88634
88742
|
/** Specifies whether to mark pending payouts as 'waiting-gateway/unknown' instead of 'approved'. */
|
|
88635
88743
|
markAsWaitingGatewayOnPendingPayout?: boolean;
|
|
88636
|
-
/** Name of the website custom field that
|
|
88744
|
+
/** Name of the website custom field that contains the sub-entity ID. */
|
|
88637
88745
|
subEntityIdWebsiteCustomField?: string;
|
|
88638
88746
|
/**
|
|
88639
88747
|
* Checkout.com processing channel ID.
|
|
88640
|
-
* Checkout.com secret API key can be configured with a default processing channel ID.
|
|
88641
|
-
*
|
|
88748
|
+
* The Checkout.com secret API key can be configured with a default processing channel ID.
|
|
88749
|
+
* If the secret API key has no default processing channel ID, this value is required.
|
|
88642
88750
|
*/
|
|
88643
88751
|
processingChannelId?: string;
|
|
88644
88752
|
};
|
|
@@ -88860,7 +88968,7 @@ export interface reportsComponents {
|
|
|
88860
88968
|
/** Specifies whether to create an installment plan and use it for payment. */
|
|
88861
88969
|
createInstallmentPlan?: boolean;
|
|
88862
88970
|
/**
|
|
88863
|
-
* Name of the transaction custom field that
|
|
88971
|
+
* Name of the transaction custom field that contains the customer document.
|
|
88864
88972
|
* Use this setting to skip the intermediate step of collecting the customer document for payment card transactions.
|
|
88865
88973
|
*/
|
|
88866
88974
|
customerDocumentCustomField?: string;
|
|
@@ -89745,7 +89853,7 @@ export interface reportsComponents {
|
|
|
89745
89853
|
payoutCurrency?: string;
|
|
89746
89854
|
/** Blockchain network to use for the payout. */
|
|
89747
89855
|
payoutNetwork?: string;
|
|
89748
|
-
/** Name of the customer custom field that
|
|
89856
|
+
/** Name of the customer custom field that contains payout destination tag for XRP. */
|
|
89749
89857
|
destinationTagCustomField?: string;
|
|
89750
89858
|
};
|
|
89751
89859
|
};
|
|
@@ -89838,7 +89946,7 @@ export interface reportsComponents {
|
|
|
89838
89946
|
payoutCurrency?: string;
|
|
89839
89947
|
/** Blockchain network to use for the payout. */
|
|
89840
89948
|
payoutNetwork?: string;
|
|
89841
|
-
/** Name of the customer custom field that
|
|
89949
|
+
/** Name of the customer custom field that contains payout destination tag for XRP. */
|
|
89842
89950
|
destinationTagCustomField?: string;
|
|
89843
89951
|
};
|
|
89844
89952
|
};
|
|
@@ -90953,7 +91061,7 @@ export interface reportsComponents {
|
|
|
90953
91061
|
};
|
|
90954
91062
|
/** Splitit settings object. */
|
|
90955
91063
|
settings?: {
|
|
90956
|
-
/** Name of the transaction custom field that
|
|
91064
|
+
/** Name of the transaction custom field that contains the number of installments. */
|
|
90957
91065
|
numberOfInstallmentsCustomField?: string;
|
|
90958
91066
|
};
|
|
90959
91067
|
};
|
|
@@ -91113,7 +91221,7 @@ export interface reportsComponents {
|
|
|
91113
91221
|
applicationFeePercentage?: number;
|
|
91114
91222
|
/** Specifies whether to include payment card network in the request to Stripe. */
|
|
91115
91223
|
includeCardNetwork?: boolean;
|
|
91116
|
-
/** Name of the transaction custom field that
|
|
91224
|
+
/** Name of the transaction custom field that contains the Radar Session ID. */
|
|
91117
91225
|
radarSessionCustomField?: string;
|
|
91118
91226
|
};
|
|
91119
91227
|
/** Stripe Integrated. */
|
|
@@ -91290,7 +91398,7 @@ export interface reportsComponents {
|
|
|
91290
91398
|
};
|
|
91291
91399
|
/** Txn settings object. */
|
|
91292
91400
|
settings?: {
|
|
91293
|
-
/** Name of the customer custom field that
|
|
91401
|
+
/** Name of the customer custom field that contains payout destination tag for XRP. */
|
|
91294
91402
|
destinationTagCustomField?: string;
|
|
91295
91403
|
/** Cryptocurrency of the payout. */
|
|
91296
91404
|
payoutCurrency?: string;
|
|
@@ -93592,6 +93700,56 @@ export interface reportsComponents {
|
|
|
93592
93700
|
/** Total amount of all disputed transactions. */
|
|
93593
93701
|
disputesAmount?: number;
|
|
93594
93702
|
};
|
|
93703
|
+
/** Approximate location of the IP address of the request. */
|
|
93704
|
+
Location: {
|
|
93705
|
+
/**
|
|
93706
|
+
* IP address of the request.
|
|
93707
|
+
* This value is `null` if the IP address is unknown.
|
|
93708
|
+
*/
|
|
93709
|
+
ip: string | null;
|
|
93710
|
+
/**
|
|
93711
|
+
* Country of the IP address in ISO 3166 alpha-2 format.
|
|
93712
|
+
* This value is `null` if the country is unknown.
|
|
93713
|
+
*/
|
|
93714
|
+
country: string | null;
|
|
93715
|
+
/**
|
|
93716
|
+
* Region of the IP address, such as a state or a province.
|
|
93717
|
+
* This value is `null` if the country or the region is unknown.
|
|
93718
|
+
*/
|
|
93719
|
+
region: string | null;
|
|
93720
|
+
/**
|
|
93721
|
+
* Currency of the country of the IP address in ISO 4217 format.
|
|
93722
|
+
* This value is `null` if the country is unknown.
|
|
93723
|
+
*/
|
|
93724
|
+
currency: string | null;
|
|
93725
|
+
/**
|
|
93726
|
+
* City of the IP address.
|
|
93727
|
+
* This value is `null` if the city is unknown.
|
|
93728
|
+
*/
|
|
93729
|
+
city: string | null;
|
|
93730
|
+
/**
|
|
93731
|
+
* Coordinates of the IP address.
|
|
93732
|
+
* This value is `null` if the coordinates are unknown.
|
|
93733
|
+
*/
|
|
93734
|
+
location: {
|
|
93735
|
+
/** Latitude of the IP address. */
|
|
93736
|
+
lat: number;
|
|
93737
|
+
/** Longitude of the IP address. */
|
|
93738
|
+
lng: number;
|
|
93739
|
+
} | null;
|
|
93740
|
+
/**
|
|
93741
|
+
* Postal code of the IP address.
|
|
93742
|
+
* This value is `null` if the postal code is unknown.
|
|
93743
|
+
*/
|
|
93744
|
+
zip: string | null;
|
|
93745
|
+
/**
|
|
93746
|
+
* Time zone of the IP address, such as `America/Los_Angeles`.
|
|
93747
|
+
* This value is `null` if the time zone is unknown.
|
|
93748
|
+
*/
|
|
93749
|
+
timezone: string | null;
|
|
93750
|
+
/** Current date and time. */
|
|
93751
|
+
time: reportsComponents["schemas"]["ServerTimestamp"];
|
|
93752
|
+
};
|
|
93595
93753
|
DashboardTile: {
|
|
93596
93754
|
/**
|
|
93597
93755
|
* Metric displayed in the tile.
|
|
@@ -93627,13 +93785,13 @@ export interface reportsComponents {
|
|
|
93627
93785
|
/**
|
|
93628
93786
|
* Date and time when the tile period starts.
|
|
93629
93787
|
* The value is resolved from the tile `dateRange`.
|
|
93630
|
-
* This value is `null` when
|
|
93788
|
+
* This value is `null` when `dateRange` is not set on the tile.
|
|
93631
93789
|
*/
|
|
93632
93790
|
periodStart?: string | null;
|
|
93633
93791
|
/**
|
|
93634
93792
|
* Date and time when the tile period ends.
|
|
93635
93793
|
* The value is resolved from the tile `dateRange`.
|
|
93636
|
-
* This value is `null` when
|
|
93794
|
+
* This value is `null` when `dateRange` is not set on the tile.
|
|
93637
93795
|
*/
|
|
93638
93796
|
periodEnd?: string | null;
|
|
93639
93797
|
};
|
|
@@ -96328,7 +96486,7 @@ export interface reportsComponents {
|
|
|
96328
96486
|
orderType?: "subscription-order" | "one-time-order";
|
|
96329
96487
|
/**
|
|
96330
96488
|
* Billing status of the most recent invoice.
|
|
96331
|
-
* This value
|
|
96489
|
+
* This value is used to determine whether to change the service status of the service,
|
|
96332
96490
|
* such as suspending the service.
|
|
96333
96491
|
*/
|
|
96334
96492
|
billingStatus?:
|
|
@@ -96542,7 +96700,7 @@ export interface reportsComponents {
|
|
|
96542
96700
|
orderType?: "subscription-order" | "one-time-order";
|
|
96543
96701
|
/**
|
|
96544
96702
|
* Billing status of the most recent invoice.
|
|
96545
|
-
* This value
|
|
96703
|
+
* This value is used to determine whether to change the service status of the service,
|
|
96546
96704
|
* such as suspending the service.
|
|
96547
96705
|
*/
|
|
96548
96706
|
billingStatus?:
|
|
@@ -96631,7 +96789,7 @@ export interface reportsComponents {
|
|
|
96631
96789
|
items?: {
|
|
96632
96790
|
/** ID of the plan. */
|
|
96633
96791
|
planId: string;
|
|
96634
|
-
/** Number of units of the product on the
|
|
96792
|
+
/** Number of units of the product on the specified plan. */
|
|
96635
96793
|
quantity?: number;
|
|
96636
96794
|
/**
|
|
96637
96795
|
* Number of filled product units.
|
|
@@ -96743,7 +96901,7 @@ export interface reportsComponents {
|
|
|
96743
96901
|
* Deprecated.
|
|
96744
96902
|
* Use the `retainTrialThenRecurring` value of `renewalPolicy` instead.
|
|
96745
96903
|
*
|
|
96746
|
-
* Specifies if the
|
|
96904
|
+
* Specifies if the active trial of the order is retained.
|
|
96747
96905
|
* This field is only applicable if `renewalPolicy` is set to the deprecated value `retain`.
|
|
96748
96906
|
*/
|
|
96749
96907
|
keepTrial?: boolean;
|
|
@@ -96951,7 +97109,7 @@ export interface reportsComponents {
|
|
|
96951
97109
|
plan:
|
|
96952
97110
|
| reportsComponents["schemas"]["OriginalPlan"]
|
|
96953
97111
|
| reportsComponents["schemas"]["FlexiblePlan"];
|
|
96954
|
-
/** Number of units of the product on the
|
|
97112
|
+
/** Number of units of the product on the specified plan. */
|
|
96955
97113
|
quantity?: number;
|
|
96956
97114
|
usageLimits?: reportsComponents["schemas"]["UsageLimits"] | null;
|
|
96957
97115
|
/** Specifies if this item is excluded from monthly recurring revenue calculations. */
|
|
@@ -96968,7 +97126,7 @@ export interface reportsComponents {
|
|
|
96968
97126
|
items?: {
|
|
96969
97127
|
/** ID of the plan. */
|
|
96970
97128
|
planId: string;
|
|
96971
|
-
/** Number of units of the product on the
|
|
97129
|
+
/** Number of units of the product on the specified plan. */
|
|
96972
97130
|
quantity?: number;
|
|
96973
97131
|
usageLimits?: reportsComponents["schemas"]["UsageLimits"] | null;
|
|
96974
97132
|
}[];
|
|
@@ -97471,7 +97629,7 @@ export interface reportsComponents {
|
|
|
97471
97629
|
/**
|
|
97472
97630
|
* When enabled, if no usage is reported during a service period,
|
|
97473
97631
|
* the plan bills the last known reported quantity from a previous period instead of zero.
|
|
97474
|
-
* This is suitable for hosted or persistent resources
|
|
97632
|
+
* This is suitable for hosted or persistent resources with usage that does not change every period.
|
|
97475
97633
|
* Only supported with `strategy`: `last`.
|
|
97476
97634
|
*/
|
|
97477
97635
|
sticky?: boolean;
|
|
@@ -97905,7 +98063,7 @@ export interface reportsComponents {
|
|
|
97905
98063
|
items: {
|
|
97906
98064
|
/** ID of the plan. */
|
|
97907
98065
|
planId: string;
|
|
97908
|
-
/** Number of units of the product on the
|
|
98066
|
+
/** Number of units of the product on the specified plan. */
|
|
97909
98067
|
quantity?: number;
|
|
97910
98068
|
/**
|
|
97911
98069
|
* Specifies the soft and hard usage limit thresholds for an item with a metered billing plan.
|
|
@@ -97959,7 +98117,7 @@ export interface reportsComponents {
|
|
|
97959
98117
|
* This limit is enforced only while the subscription is in its trial phase.
|
|
97960
98118
|
* When the reported usage reaches the configured trial limit, an event called 'trial-usage-limit-reached' is triggered.
|
|
97961
98119
|
* To notify the customer or restrict access to the service, a webhook and notification can be configured for this event.
|
|
97962
|
-
*
|
|
98120
|
+
* When the trial limit is reached, additional usage cannot be reported unless the trial ends.
|
|
97963
98121
|
*/
|
|
97964
98122
|
trialLimit?: number | null;
|
|
97965
98123
|
} | null;
|
|
@@ -99470,7 +99628,7 @@ export interface reportsComponents {
|
|
|
99470
99628
|
* This limit is enforced only while the subscription is in trial phase.
|
|
99471
99629
|
* When the reported usage reaches the configured trial limit, an event called 'trial-usage-limit-reached' is triggered.
|
|
99472
99630
|
* To notify the customer or restrict access to the service, a webhook and notification can be configured for this event.
|
|
99473
|
-
*
|
|
99631
|
+
* When the trial limit is reached, additional usage cannot be reported until the trial ends.
|
|
99474
99632
|
*/
|
|
99475
99633
|
trialLimit?: number | null;
|
|
99476
99634
|
} | null;
|
|
@@ -100752,7 +100910,7 @@ export interface reportsComponents {
|
|
|
100752
100910
|
recordCount?: number;
|
|
100753
100911
|
/**
|
|
100754
100912
|
* Status of the data export.
|
|
100755
|
-
* This webhook is sent only when the data export
|
|
100913
|
+
* This webhook is sent only when the data export is `completed` or `failed`.
|
|
100756
100914
|
* This value is never `pending`, `queued`, or `processing`.
|
|
100757
100915
|
*/
|
|
100758
100916
|
status?: "completed" | "failed";
|
|
@@ -100865,6 +101023,17 @@ export interface operations {
|
|
|
100865
101023
|
403: reportsComponents["responses"]["Forbidden"];
|
|
100866
101024
|
};
|
|
100867
101025
|
};
|
|
101026
|
+
/** Retrieves the approximate location and time zone of the IP address of the request. */
|
|
101027
|
+
GetLocation: {
|
|
101028
|
+
responses: {
|
|
101029
|
+
/** Location retrieved. */
|
|
101030
|
+
200: {
|
|
101031
|
+
content: {
|
|
101032
|
+
"application/json": reportsComponents["schemas"]["Location"];
|
|
101033
|
+
};
|
|
101034
|
+
};
|
|
101035
|
+
};
|
|
101036
|
+
};
|
|
100868
101037
|
/** Retrieves a list of data export requests. */
|
|
100869
101038
|
GetDataExportCollection: {
|
|
100870
101039
|
parameters: {
|
|
@@ -104400,6 +104569,8 @@ declare module "rebilly-js-sdk" {
|
|
|
104400
104569
|
export type GetCustomerSummaryMetricReportRequest = rebilly.GetCustomerSummaryMetricReportRequest;
|
|
104401
104570
|
export type GetCustomerSummaryMetricReportResponse = rebilly.GetCustomerSummaryMetricReportResponse;
|
|
104402
104571
|
export type GetCustomerSummaryMetricReportResponsePromise = rebilly.GetCustomerSummaryMetricReportResponsePromise;
|
|
104572
|
+
export type GetLocationResponse = rebilly.GetLocationResponse;
|
|
104573
|
+
export type GetLocationResponsePromise = rebilly.GetLocationResponsePromise;
|
|
104403
104574
|
export type GetDataExportCollectionRequest = rebilly.GetDataExportCollectionRequest;
|
|
104404
104575
|
export type GetDataExportCollectionResponse = rebilly.GetDataExportCollectionResponse;
|
|
104405
104576
|
export type GetDataExportCollectionResponsePromise = rebilly.GetDataExportCollectionResponsePromise;
|
|
@@ -109798,6 +109969,13 @@ declare module "request-headers" {
|
|
|
109798
109969
|
let Accept: string;
|
|
109799
109970
|
}
|
|
109800
109971
|
}
|
|
109972
|
+
declare module "resources/experimental/location-resource" {
|
|
109973
|
+
export default function LocationResource({ apiHandler }: {
|
|
109974
|
+
apiHandler: any;
|
|
109975
|
+
}): {
|
|
109976
|
+
query(): rebilly.GetLocationResponsePromise;
|
|
109977
|
+
};
|
|
109978
|
+
}
|
|
109801
109979
|
|
|
109802
109980
|
/** @deprecated Import from "experimental/experimental-resources" instead. */
|
|
109803
109981
|
declare module "resources/experimental/experimental-resources" {
|