rebilly-js-sdk 62.158.2 → 62.159.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +6 -1
- package/dist/rebilly-js-sdk.d.cts +335 -36
- package/dist/rebilly-js-sdk.d.mts +335 -36
- package/dist/rebilly-js-sdk.d.ts +335 -36
- package/dist/rebilly-js-sdk.es.mjs +1 -1
- package/dist/rebilly-js-sdk.umd.js +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1 +1,6 @@
|
|
|
1
|
-
## [62.
|
|
1
|
+
## [62.159.0](https://github.com/Rebilly/rebilly/compare/rebilly-js-sdk-v62.158.3...rebilly-js-sdk-v62.159.0) (2026-08-14)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#24648](https://github.com/Rebilly/rebilly/issues/24648)) ([826a075](https://github.com/Rebilly/rebilly/commit/826a07539b844fcddd822a4c843575532a3e9c35))
|
|
@@ -3137,7 +3137,10 @@ export interface corePaths {
|
|
|
3137
3137
|
"/invoices/{id}": {
|
|
3138
3138
|
/** Retrieves an invoice with a specified ID. */
|
|
3139
3139
|
get: operations["GetInvoice"];
|
|
3140
|
-
/**
|
|
3140
|
+
/**
|
|
3141
|
+
* Creates or updates (upserts) an invoice with a specified ID.
|
|
3142
|
+
* Returns a conflict error if the specified ID belongs to an upcoming invoice.
|
|
3143
|
+
*/
|
|
3141
3144
|
put: operations["PutInvoice"];
|
|
3142
3145
|
parameters: {
|
|
3143
3146
|
path: {
|
|
@@ -13396,6 +13399,13 @@ export interface coreComponents {
|
|
|
13396
13399
|
* For examples, see [ISO.org](https://www.iso.org/obp/ui/#search/code/).
|
|
13397
13400
|
*/
|
|
13398
13401
|
Country: string;
|
|
13402
|
+
/**
|
|
13403
|
+
* ISO 3166 alpha-2 country code where the payment is processed.
|
|
13404
|
+
* This is often the location for settling the payment.
|
|
13405
|
+
* Consult with your Payment Service Provider (PSP) to determine the
|
|
13406
|
+
* appropriate country code.
|
|
13407
|
+
*/
|
|
13408
|
+
DigitalWalletCountry: coreComponents["schemas"]["Country"];
|
|
13399
13409
|
ApplePayFeature: {
|
|
13400
13410
|
/** Name of the feature. */
|
|
13401
13411
|
name?: "Apple Pay";
|
|
@@ -13405,7 +13415,7 @@ export interface coreComponents {
|
|
|
13405
13415
|
* Do not localize the name.
|
|
13406
13416
|
*/
|
|
13407
13417
|
displayName?: string;
|
|
13408
|
-
country?: coreComponents["schemas"]["
|
|
13418
|
+
country?: coreComponents["schemas"]["DigitalWalletCountry"];
|
|
13409
13419
|
};
|
|
13410
13420
|
GooglePayFeature: {
|
|
13411
13421
|
/** Name of the feature. */
|
|
@@ -13417,7 +13427,7 @@ export interface coreComponents {
|
|
|
13417
13427
|
* The fully qualified domain name.
|
|
13418
13428
|
*/
|
|
13419
13429
|
merchantOrigin?: string;
|
|
13420
|
-
country?: coreComponents["schemas"]["
|
|
13430
|
+
country?: coreComponents["schemas"]["DigitalWalletCountry"];
|
|
13421
13431
|
};
|
|
13422
13432
|
SamsungPayFeature: {
|
|
13423
13433
|
/** Name of the feature. */
|
|
@@ -18404,6 +18414,14 @@ export interface coreComponents {
|
|
|
18404
18414
|
| "covered-payout"
|
|
18405
18415
|
| "approved-payment"
|
|
18406
18416
|
| "none";
|
|
18417
|
+
/**
|
|
18418
|
+
* Payout limits for the gateway account applied during payout request auto-allocation.
|
|
18419
|
+
* These limits do not apply to manual allocations.
|
|
18420
|
+
*
|
|
18421
|
+
* This field is distinct from deposit and sale
|
|
18422
|
+
* [volume limits](https://www.rebilly.com/catalog/all/gateway-accounts/getgatewayaccountlimitcollection/).
|
|
18423
|
+
*/
|
|
18424
|
+
payoutLimits?: coreComponents["schemas"]["GatewayAccountPayoutLimits"] | null;
|
|
18407
18425
|
/**
|
|
18408
18426
|
* Email address template used in place of a customer's real email address when sending transaction data to a processor.
|
|
18409
18427
|
* Use `{{customerId}}` as a placeholder for the customer's ID.
|
|
@@ -21801,6 +21819,8 @@ export interface coreComponents {
|
|
|
21801
21819
|
merchantId: string;
|
|
21802
21820
|
/** API key for Viva basic authentication. */
|
|
21803
21821
|
apiKey: string;
|
|
21822
|
+
/** Key of the Viva IPN validation. */
|
|
21823
|
+
ipnKey: string;
|
|
21804
21824
|
};
|
|
21805
21825
|
/** Viva settings object. */
|
|
21806
21826
|
settings?: {
|
|
@@ -22100,7 +22120,7 @@ export interface coreComponents {
|
|
|
22100
22120
|
* Do not localize this name.
|
|
22101
22121
|
*/
|
|
22102
22122
|
displayName?: string | null;
|
|
22103
|
-
country?: coreComponents["schemas"]["
|
|
22123
|
+
country?: coreComponents["schemas"]["DigitalWalletCountry"];
|
|
22104
22124
|
};
|
|
22105
22125
|
/**
|
|
22106
22126
|
* Google Pay™ digital wallet configuration. If not using Google Pay™,
|
|
@@ -22116,9 +22136,40 @@ export interface coreComponents {
|
|
|
22116
22136
|
* This uses the fully qualified domain name.
|
|
22117
22137
|
*/
|
|
22118
22138
|
merchantOrigin?: string | null;
|
|
22119
|
-
country?: coreComponents["schemas"]["
|
|
22139
|
+
country?: coreComponents["schemas"]["DigitalWalletCountry"];
|
|
22120
22140
|
};
|
|
22121
22141
|
};
|
|
22142
|
+
/**
|
|
22143
|
+
* Payout method limits for payout request auto-allocation.
|
|
22144
|
+
* Limits apply to auto-allocation only.
|
|
22145
|
+
* Manual allocations are uncapped.
|
|
22146
|
+
*/
|
|
22147
|
+
GatewayAccountPayoutLimits: {
|
|
22148
|
+
/**
|
|
22149
|
+
* Maximum amount limit for single allocation.
|
|
22150
|
+
* At most one entry per each currency that this gateway account supports.
|
|
22151
|
+
*/
|
|
22152
|
+
maxPerTransaction?:
|
|
22153
|
+
| {
|
|
22154
|
+
/** Limit amount. */
|
|
22155
|
+
amount: number;
|
|
22156
|
+
currency: coreComponents["schemas"]["CurrencyCode"];
|
|
22157
|
+
}[]
|
|
22158
|
+
| null;
|
|
22159
|
+
/**
|
|
22160
|
+
* Maximum amount limit for a rolling period.
|
|
22161
|
+
* At most one entry per each currency that this gateway account supports.
|
|
22162
|
+
*/
|
|
22163
|
+
maxPerPeriod?:
|
|
22164
|
+
| {
|
|
22165
|
+
/** Limit amount. */
|
|
22166
|
+
amount: number;
|
|
22167
|
+
currency: coreComponents["schemas"]["CurrencyCode"];
|
|
22168
|
+
/** Rolling period for the amount limit. */
|
|
22169
|
+
period: "24-hours";
|
|
22170
|
+
}[]
|
|
22171
|
+
| null;
|
|
22172
|
+
};
|
|
22122
22173
|
ValidationErrorExtensions: {
|
|
22123
22174
|
/** Invalid field details. */
|
|
22124
22175
|
invalidFields?: {
|
|
@@ -22503,6 +22554,21 @@ export interface coreComponents {
|
|
|
22503
22554
|
/** List of email addresses to send notifications to. */
|
|
22504
22555
|
notificationEmailAddresses?: string[];
|
|
22505
22556
|
};
|
|
22557
|
+
/**
|
|
22558
|
+
* Settings for annual compliance screening of all active customers.
|
|
22559
|
+
* When enabled, a compliance screening report is generated for every active customer
|
|
22560
|
+
* on the configured month and day each year.
|
|
22561
|
+
*/
|
|
22562
|
+
annualComplianceScreening?: {
|
|
22563
|
+
/** Specifies whether annual compliance screening is enabled for the organization. */
|
|
22564
|
+
enabled?: boolean;
|
|
22565
|
+
/**
|
|
22566
|
+
* Month and day when annual compliance screening runs, in `MM-DD` format.
|
|
22567
|
+
* Required when `enabled` is `true`.
|
|
22568
|
+
* Valid calendar date only. Leap day `02-29` is not allowed.
|
|
22569
|
+
*/
|
|
22570
|
+
monthDay?: string | null;
|
|
22571
|
+
};
|
|
22506
22572
|
/**
|
|
22507
22573
|
* Default order for auto-allocation of payout requests.
|
|
22508
22574
|
* When set, this value is used when a payout request batch does not specify its own allocation order.
|
|
@@ -25062,17 +25128,36 @@ export interface coreComponents {
|
|
|
25062
25128
|
TimeSeriesTransaction: {
|
|
25063
25129
|
/** Time series data. */
|
|
25064
25130
|
data?: {
|
|
25065
|
-
/** Date in `YYYY-MM-DD` format
|
|
25131
|
+
/** Date in `YYYY-MM-DD` format. */
|
|
25066
25132
|
date?: string;
|
|
25067
|
-
/**
|
|
25133
|
+
/**
|
|
25134
|
+
* Aggregated value for all transactions for the day, in the unit specified by the `type` parameter:
|
|
25135
|
+
* - `count`: Total number of transactions.
|
|
25136
|
+
* - `amount`: Total amount of approved transactions in the merchant reporting currency.
|
|
25137
|
+
* - `approval-rate`: Ratio of approved transactions to all transactions.
|
|
25138
|
+
* - `incomplete-rate`: Ratio of incomplete transactions to all transactions.
|
|
25139
|
+
*
|
|
25140
|
+
* This value does not depend on the `subaggregate` parameter and is not the sum of the values in `subaggregates`.
|
|
25141
|
+
* Each transaction is included once, even if the `subaggregate` field contains multiple values for the transaction.
|
|
25142
|
+
* Transactions with no value for the `subaggregate` field are also included.
|
|
25143
|
+
*/
|
|
25068
25144
|
total?: number;
|
|
25069
|
-
/**
|
|
25145
|
+
/**
|
|
25146
|
+
* Breakdown by the `subaggregate` field for the day.
|
|
25147
|
+
* Each element contains one `subaggregate` value and its aggregated value.
|
|
25148
|
+
* Each `subaggregate` value found in the report has an element,
|
|
25149
|
+
* in the same order for each day.
|
|
25150
|
+
*/
|
|
25070
25151
|
subaggregates?: {
|
|
25071
|
-
/**
|
|
25152
|
+
/** One value of the `subaggregate` field, such as a website ID, a currency code, or a lead source. */
|
|
25072
25153
|
subaggregate?: string;
|
|
25073
|
-
/**
|
|
25154
|
+
/**
|
|
25155
|
+
* Aggregated value for transactions that have this `subaggregate` value,
|
|
25156
|
+
* in the same unit as `total`.
|
|
25157
|
+
* This value is `0` if no transactions have this `subaggregate` value.
|
|
25158
|
+
*/
|
|
25074
25159
|
value?: number;
|
|
25075
|
-
};
|
|
25160
|
+
}[];
|
|
25076
25161
|
}[];
|
|
25077
25162
|
};
|
|
25078
25163
|
ReportDisputeDelays: {
|
|
@@ -30199,6 +30284,18 @@ export interface coreComponents {
|
|
|
30199
30284
|
* This value is `null` if the export failed.
|
|
30200
30285
|
*/
|
|
30201
30286
|
fileId?: string | null;
|
|
30287
|
+
/**
|
|
30288
|
+
* Total number of records in the export, excluding the header row.
|
|
30289
|
+
* This value is `0` if the export failed.
|
|
30290
|
+
*/
|
|
30291
|
+
recordCount?: number;
|
|
30292
|
+
/**
|
|
30293
|
+
* Status of the data export.
|
|
30294
|
+
* This webhook is sent only when the data export reaches a terminal status.
|
|
30295
|
+
* This value is never `pending`, `queued`, or `processing`.
|
|
30296
|
+
*/
|
|
30297
|
+
status?: "completed" | "failed";
|
|
30298
|
+
failureReason?: coreComponents["schemas"]["DataExportFailureReason"];
|
|
30202
30299
|
/** Type of event that triggered the webhook. */
|
|
30203
30300
|
eventType?: "data-export-completed" | "data-export-failed";
|
|
30204
30301
|
/** Embedded objects related to the data export event. */
|
|
@@ -32799,7 +32896,10 @@ export interface operations {
|
|
|
32799
32896
|
404: coreComponents["responses"]["NotFound"];
|
|
32800
32897
|
};
|
|
32801
32898
|
};
|
|
32802
|
-
/**
|
|
32899
|
+
/**
|
|
32900
|
+
* Creates or updates (upserts) an invoice with a specified ID.
|
|
32901
|
+
* Returns a conflict error if the specified ID belongs to an upcoming invoice.
|
|
32902
|
+
*/
|
|
32803
32903
|
PutInvoice: {
|
|
32804
32904
|
parameters: {
|
|
32805
32905
|
path: {
|
|
@@ -32825,6 +32925,7 @@ export interface operations {
|
|
|
32825
32925
|
401: coreComponents["responses"]["Unauthorized"];
|
|
32826
32926
|
403: coreComponents["responses"]["Forbidden"];
|
|
32827
32927
|
404: coreComponents["responses"]["NotFound"];
|
|
32928
|
+
409: coreComponents["responses"]["Conflict"];
|
|
32828
32929
|
422: coreComponents["responses"]["ValidationError"];
|
|
32829
32930
|
429: coreComponents["responses"]["TooManyRequests"];
|
|
32830
32931
|
};
|
|
@@ -52434,6 +52535,13 @@ export interface storefrontComponents {
|
|
|
52434
52535
|
* For examples, see [ISO.org](https://www.iso.org/obp/ui/#search/code/).
|
|
52435
52536
|
*/
|
|
52436
52537
|
Country: string;
|
|
52538
|
+
/**
|
|
52539
|
+
* ISO 3166 alpha-2 country code where the payment is processed.
|
|
52540
|
+
* This is often the location for settling the payment.
|
|
52541
|
+
* Consult with your Payment Service Provider (PSP) to determine the
|
|
52542
|
+
* appropriate country code.
|
|
52543
|
+
*/
|
|
52544
|
+
DigitalWalletCountry: storefrontComponents["schemas"]["Country"];
|
|
52437
52545
|
ApplePayFeature: {
|
|
52438
52546
|
/** Name of the feature. */
|
|
52439
52547
|
name?: "Apple Pay";
|
|
@@ -52443,7 +52551,7 @@ export interface storefrontComponents {
|
|
|
52443
52551
|
* Do not localize the name.
|
|
52444
52552
|
*/
|
|
52445
52553
|
displayName?: string;
|
|
52446
|
-
country?: storefrontComponents["schemas"]["
|
|
52554
|
+
country?: storefrontComponents["schemas"]["DigitalWalletCountry"];
|
|
52447
52555
|
};
|
|
52448
52556
|
GooglePayFeature: {
|
|
52449
52557
|
/** Name of the feature. */
|
|
@@ -52455,7 +52563,7 @@ export interface storefrontComponents {
|
|
|
52455
52563
|
* The fully qualified domain name.
|
|
52456
52564
|
*/
|
|
52457
52565
|
merchantOrigin?: string;
|
|
52458
|
-
country?: storefrontComponents["schemas"]["
|
|
52566
|
+
country?: storefrontComponents["schemas"]["DigitalWalletCountry"];
|
|
52459
52567
|
};
|
|
52460
52568
|
SamsungPayFeature: {
|
|
52461
52569
|
/** Name of the feature. */
|
|
@@ -57442,6 +57550,14 @@ export interface storefrontComponents {
|
|
|
57442
57550
|
| "covered-payout"
|
|
57443
57551
|
| "approved-payment"
|
|
57444
57552
|
| "none";
|
|
57553
|
+
/**
|
|
57554
|
+
* Payout limits for the gateway account applied during payout request auto-allocation.
|
|
57555
|
+
* These limits do not apply to manual allocations.
|
|
57556
|
+
*
|
|
57557
|
+
* This field is distinct from deposit and sale
|
|
57558
|
+
* [volume limits](https://www.rebilly.com/catalog/all/gateway-accounts/getgatewayaccountlimitcollection/).
|
|
57559
|
+
*/
|
|
57560
|
+
payoutLimits?: storefrontComponents["schemas"]["GatewayAccountPayoutLimits"] | null;
|
|
57445
57561
|
/**
|
|
57446
57562
|
* Email address template used in place of a customer's real email address when sending transaction data to a processor.
|
|
57447
57563
|
* Use `{{customerId}}` as a placeholder for the customer's ID.
|
|
@@ -60839,6 +60955,8 @@ export interface storefrontComponents {
|
|
|
60839
60955
|
merchantId: string;
|
|
60840
60956
|
/** API key for Viva basic authentication. */
|
|
60841
60957
|
apiKey: string;
|
|
60958
|
+
/** Key of the Viva IPN validation. */
|
|
60959
|
+
ipnKey: string;
|
|
60842
60960
|
};
|
|
60843
60961
|
/** Viva settings object. */
|
|
60844
60962
|
settings?: {
|
|
@@ -61138,7 +61256,7 @@ export interface storefrontComponents {
|
|
|
61138
61256
|
* Do not localize this name.
|
|
61139
61257
|
*/
|
|
61140
61258
|
displayName?: string | null;
|
|
61141
|
-
country?: storefrontComponents["schemas"]["
|
|
61259
|
+
country?: storefrontComponents["schemas"]["DigitalWalletCountry"];
|
|
61142
61260
|
};
|
|
61143
61261
|
/**
|
|
61144
61262
|
* Google Pay™ digital wallet configuration. If not using Google Pay™,
|
|
@@ -61154,9 +61272,40 @@ export interface storefrontComponents {
|
|
|
61154
61272
|
* This uses the fully qualified domain name.
|
|
61155
61273
|
*/
|
|
61156
61274
|
merchantOrigin?: string | null;
|
|
61157
|
-
country?: storefrontComponents["schemas"]["
|
|
61275
|
+
country?: storefrontComponents["schemas"]["DigitalWalletCountry"];
|
|
61158
61276
|
};
|
|
61159
61277
|
};
|
|
61278
|
+
/**
|
|
61279
|
+
* Payout method limits for payout request auto-allocation.
|
|
61280
|
+
* Limits apply to auto-allocation only.
|
|
61281
|
+
* Manual allocations are uncapped.
|
|
61282
|
+
*/
|
|
61283
|
+
GatewayAccountPayoutLimits: {
|
|
61284
|
+
/**
|
|
61285
|
+
* Maximum amount limit for single allocation.
|
|
61286
|
+
* At most one entry per each currency that this gateway account supports.
|
|
61287
|
+
*/
|
|
61288
|
+
maxPerTransaction?:
|
|
61289
|
+
| {
|
|
61290
|
+
/** Limit amount. */
|
|
61291
|
+
amount: number;
|
|
61292
|
+
currency: storefrontComponents["schemas"]["CurrencyCode"];
|
|
61293
|
+
}[]
|
|
61294
|
+
| null;
|
|
61295
|
+
/**
|
|
61296
|
+
* Maximum amount limit for a rolling period.
|
|
61297
|
+
* At most one entry per each currency that this gateway account supports.
|
|
61298
|
+
*/
|
|
61299
|
+
maxPerPeriod?:
|
|
61300
|
+
| {
|
|
61301
|
+
/** Limit amount. */
|
|
61302
|
+
amount: number;
|
|
61303
|
+
currency: storefrontComponents["schemas"]["CurrencyCode"];
|
|
61304
|
+
/** Rolling period for the amount limit. */
|
|
61305
|
+
period: "24-hours";
|
|
61306
|
+
}[]
|
|
61307
|
+
| null;
|
|
61308
|
+
};
|
|
61160
61309
|
ValidationErrorExtensions: {
|
|
61161
61310
|
/** Invalid field details. */
|
|
61162
61311
|
invalidFields?: {
|
|
@@ -61541,6 +61690,21 @@ export interface storefrontComponents {
|
|
|
61541
61690
|
/** List of email addresses to send notifications to. */
|
|
61542
61691
|
notificationEmailAddresses?: string[];
|
|
61543
61692
|
};
|
|
61693
|
+
/**
|
|
61694
|
+
* Settings for annual compliance screening of all active customers.
|
|
61695
|
+
* When enabled, a compliance screening report is generated for every active customer
|
|
61696
|
+
* on the configured month and day each year.
|
|
61697
|
+
*/
|
|
61698
|
+
annualComplianceScreening?: {
|
|
61699
|
+
/** Specifies whether annual compliance screening is enabled for the organization. */
|
|
61700
|
+
enabled?: boolean;
|
|
61701
|
+
/**
|
|
61702
|
+
* Month and day when annual compliance screening runs, in `MM-DD` format.
|
|
61703
|
+
* Required when `enabled` is `true`.
|
|
61704
|
+
* Valid calendar date only. Leap day `02-29` is not allowed.
|
|
61705
|
+
*/
|
|
61706
|
+
monthDay?: string | null;
|
|
61707
|
+
};
|
|
61544
61708
|
/**
|
|
61545
61709
|
* Default order for auto-allocation of payout requests.
|
|
61546
61710
|
* When set, this value is used when a payout request batch does not specify its own allocation order.
|
|
@@ -64100,17 +64264,36 @@ export interface storefrontComponents {
|
|
|
64100
64264
|
TimeSeriesTransaction: {
|
|
64101
64265
|
/** Time series data. */
|
|
64102
64266
|
data?: {
|
|
64103
|
-
/** Date in `YYYY-MM-DD` format
|
|
64267
|
+
/** Date in `YYYY-MM-DD` format. */
|
|
64104
64268
|
date?: string;
|
|
64105
|
-
/**
|
|
64269
|
+
/**
|
|
64270
|
+
* Aggregated value for all transactions for the day, in the unit specified by the `type` parameter:
|
|
64271
|
+
* - `count`: Total number of transactions.
|
|
64272
|
+
* - `amount`: Total amount of approved transactions in the merchant reporting currency.
|
|
64273
|
+
* - `approval-rate`: Ratio of approved transactions to all transactions.
|
|
64274
|
+
* - `incomplete-rate`: Ratio of incomplete transactions to all transactions.
|
|
64275
|
+
*
|
|
64276
|
+
* This value does not depend on the `subaggregate` parameter and is not the sum of the values in `subaggregates`.
|
|
64277
|
+
* Each transaction is included once, even if the `subaggregate` field contains multiple values for the transaction.
|
|
64278
|
+
* Transactions with no value for the `subaggregate` field are also included.
|
|
64279
|
+
*/
|
|
64106
64280
|
total?: number;
|
|
64107
|
-
/**
|
|
64281
|
+
/**
|
|
64282
|
+
* Breakdown by the `subaggregate` field for the day.
|
|
64283
|
+
* Each element contains one `subaggregate` value and its aggregated value.
|
|
64284
|
+
* Each `subaggregate` value found in the report has an element,
|
|
64285
|
+
* in the same order for each day.
|
|
64286
|
+
*/
|
|
64108
64287
|
subaggregates?: {
|
|
64109
|
-
/**
|
|
64288
|
+
/** One value of the `subaggregate` field, such as a website ID, a currency code, or a lead source. */
|
|
64110
64289
|
subaggregate?: string;
|
|
64111
|
-
/**
|
|
64290
|
+
/**
|
|
64291
|
+
* Aggregated value for transactions that have this `subaggregate` value,
|
|
64292
|
+
* in the same unit as `total`.
|
|
64293
|
+
* This value is `0` if no transactions have this `subaggregate` value.
|
|
64294
|
+
*/
|
|
64112
64295
|
value?: number;
|
|
64113
|
-
};
|
|
64296
|
+
}[];
|
|
64114
64297
|
}[];
|
|
64115
64298
|
};
|
|
64116
64299
|
ReportDisputeDelays: {
|
|
@@ -69237,6 +69420,18 @@ export interface storefrontComponents {
|
|
|
69237
69420
|
* This value is `null` if the export failed.
|
|
69238
69421
|
*/
|
|
69239
69422
|
fileId?: string | null;
|
|
69423
|
+
/**
|
|
69424
|
+
* Total number of records in the export, excluding the header row.
|
|
69425
|
+
* This value is `0` if the export failed.
|
|
69426
|
+
*/
|
|
69427
|
+
recordCount?: number;
|
|
69428
|
+
/**
|
|
69429
|
+
* Status of the data export.
|
|
69430
|
+
* This webhook is sent only when the data export reaches a terminal status.
|
|
69431
|
+
* This value is never `pending`, `queued`, or `processing`.
|
|
69432
|
+
*/
|
|
69433
|
+
status?: "completed" | "failed";
|
|
69434
|
+
failureReason?: storefrontComponents["schemas"]["DataExportFailureReason"];
|
|
69240
69435
|
/** Type of event that triggered the webhook. */
|
|
69241
69436
|
eventType?: "data-export-completed" | "data-export-failed";
|
|
69242
69437
|
/** Embedded objects related to the data export event. */
|
|
@@ -71297,7 +71492,12 @@ export interface reportsPaths {
|
|
|
71297
71492
|
get: operations["GetTaxReport"];
|
|
71298
71493
|
};
|
|
71299
71494
|
"/reports/time-series-transaction": {
|
|
71300
|
-
/**
|
|
71495
|
+
/**
|
|
71496
|
+
* Retrieves a report of sale and capture transactions, with one row for each day of the period.
|
|
71497
|
+
* Each row holds an aggregation of every transaction of the day,
|
|
71498
|
+
* and a breakdown of that day by the `subaggregate` field.
|
|
71499
|
+
* Transactions occur on the day of the `processedTime` value.
|
|
71500
|
+
*/
|
|
71301
71501
|
get: operations["GetTimeSeriesTransactionReport"];
|
|
71302
71502
|
};
|
|
71303
71503
|
"/reports/transactions-time-dispute": {
|
|
@@ -78724,6 +78924,13 @@ export interface reportsComponents {
|
|
|
78724
78924
|
* For examples, see [ISO.org](https://www.iso.org/obp/ui/#search/code/).
|
|
78725
78925
|
*/
|
|
78726
78926
|
Country: string;
|
|
78927
|
+
/**
|
|
78928
|
+
* ISO 3166 alpha-2 country code where the payment is processed.
|
|
78929
|
+
* This is often the location for settling the payment.
|
|
78930
|
+
* Consult with your Payment Service Provider (PSP) to determine the
|
|
78931
|
+
* appropriate country code.
|
|
78932
|
+
*/
|
|
78933
|
+
DigitalWalletCountry: reportsComponents["schemas"]["Country"];
|
|
78727
78934
|
ApplePayFeature: {
|
|
78728
78935
|
/** Name of the feature. */
|
|
78729
78936
|
name?: "Apple Pay";
|
|
@@ -78733,7 +78940,7 @@ export interface reportsComponents {
|
|
|
78733
78940
|
* Do not localize the name.
|
|
78734
78941
|
*/
|
|
78735
78942
|
displayName?: string;
|
|
78736
|
-
country?: reportsComponents["schemas"]["
|
|
78943
|
+
country?: reportsComponents["schemas"]["DigitalWalletCountry"];
|
|
78737
78944
|
};
|
|
78738
78945
|
GooglePayFeature: {
|
|
78739
78946
|
/** Name of the feature. */
|
|
@@ -78745,7 +78952,7 @@ export interface reportsComponents {
|
|
|
78745
78952
|
* The fully qualified domain name.
|
|
78746
78953
|
*/
|
|
78747
78954
|
merchantOrigin?: string;
|
|
78748
|
-
country?: reportsComponents["schemas"]["
|
|
78955
|
+
country?: reportsComponents["schemas"]["DigitalWalletCountry"];
|
|
78749
78956
|
};
|
|
78750
78957
|
SamsungPayFeature: {
|
|
78751
78958
|
/** Name of the feature. */
|
|
@@ -83732,6 +83939,14 @@ export interface reportsComponents {
|
|
|
83732
83939
|
| "covered-payout"
|
|
83733
83940
|
| "approved-payment"
|
|
83734
83941
|
| "none";
|
|
83942
|
+
/**
|
|
83943
|
+
* Payout limits for the gateway account applied during payout request auto-allocation.
|
|
83944
|
+
* These limits do not apply to manual allocations.
|
|
83945
|
+
*
|
|
83946
|
+
* This field is distinct from deposit and sale
|
|
83947
|
+
* [volume limits](https://www.rebilly.com/catalog/all/gateway-accounts/getgatewayaccountlimitcollection/).
|
|
83948
|
+
*/
|
|
83949
|
+
payoutLimits?: reportsComponents["schemas"]["GatewayAccountPayoutLimits"] | null;
|
|
83735
83950
|
/**
|
|
83736
83951
|
* Email address template used in place of a customer's real email address when sending transaction data to a processor.
|
|
83737
83952
|
* Use `{{customerId}}` as a placeholder for the customer's ID.
|
|
@@ -87129,6 +87344,8 @@ export interface reportsComponents {
|
|
|
87129
87344
|
merchantId: string;
|
|
87130
87345
|
/** API key for Viva basic authentication. */
|
|
87131
87346
|
apiKey: string;
|
|
87347
|
+
/** Key of the Viva IPN validation. */
|
|
87348
|
+
ipnKey: string;
|
|
87132
87349
|
};
|
|
87133
87350
|
/** Viva settings object. */
|
|
87134
87351
|
settings?: {
|
|
@@ -87428,7 +87645,7 @@ export interface reportsComponents {
|
|
|
87428
87645
|
* Do not localize this name.
|
|
87429
87646
|
*/
|
|
87430
87647
|
displayName?: string | null;
|
|
87431
|
-
country?: reportsComponents["schemas"]["
|
|
87648
|
+
country?: reportsComponents["schemas"]["DigitalWalletCountry"];
|
|
87432
87649
|
};
|
|
87433
87650
|
/**
|
|
87434
87651
|
* Google Pay™ digital wallet configuration. If not using Google Pay™,
|
|
@@ -87444,9 +87661,40 @@ export interface reportsComponents {
|
|
|
87444
87661
|
* This uses the fully qualified domain name.
|
|
87445
87662
|
*/
|
|
87446
87663
|
merchantOrigin?: string | null;
|
|
87447
|
-
country?: reportsComponents["schemas"]["
|
|
87664
|
+
country?: reportsComponents["schemas"]["DigitalWalletCountry"];
|
|
87448
87665
|
};
|
|
87449
87666
|
};
|
|
87667
|
+
/**
|
|
87668
|
+
* Payout method limits for payout request auto-allocation.
|
|
87669
|
+
* Limits apply to auto-allocation only.
|
|
87670
|
+
* Manual allocations are uncapped.
|
|
87671
|
+
*/
|
|
87672
|
+
GatewayAccountPayoutLimits: {
|
|
87673
|
+
/**
|
|
87674
|
+
* Maximum amount limit for single allocation.
|
|
87675
|
+
* At most one entry per each currency that this gateway account supports.
|
|
87676
|
+
*/
|
|
87677
|
+
maxPerTransaction?:
|
|
87678
|
+
| {
|
|
87679
|
+
/** Limit amount. */
|
|
87680
|
+
amount: number;
|
|
87681
|
+
currency: reportsComponents["schemas"]["CurrencyCode"];
|
|
87682
|
+
}[]
|
|
87683
|
+
| null;
|
|
87684
|
+
/**
|
|
87685
|
+
* Maximum amount limit for a rolling period.
|
|
87686
|
+
* At most one entry per each currency that this gateway account supports.
|
|
87687
|
+
*/
|
|
87688
|
+
maxPerPeriod?:
|
|
87689
|
+
| {
|
|
87690
|
+
/** Limit amount. */
|
|
87691
|
+
amount: number;
|
|
87692
|
+
currency: reportsComponents["schemas"]["CurrencyCode"];
|
|
87693
|
+
/** Rolling period for the amount limit. */
|
|
87694
|
+
period: "24-hours";
|
|
87695
|
+
}[]
|
|
87696
|
+
| null;
|
|
87697
|
+
};
|
|
87450
87698
|
ValidationErrorExtensions: {
|
|
87451
87699
|
/** Invalid field details. */
|
|
87452
87700
|
invalidFields?: {
|
|
@@ -87831,6 +88079,21 @@ export interface reportsComponents {
|
|
|
87831
88079
|
/** List of email addresses to send notifications to. */
|
|
87832
88080
|
notificationEmailAddresses?: string[];
|
|
87833
88081
|
};
|
|
88082
|
+
/**
|
|
88083
|
+
* Settings for annual compliance screening of all active customers.
|
|
88084
|
+
* When enabled, a compliance screening report is generated for every active customer
|
|
88085
|
+
* on the configured month and day each year.
|
|
88086
|
+
*/
|
|
88087
|
+
annualComplianceScreening?: {
|
|
88088
|
+
/** Specifies whether annual compliance screening is enabled for the organization. */
|
|
88089
|
+
enabled?: boolean;
|
|
88090
|
+
/**
|
|
88091
|
+
* Month and day when annual compliance screening runs, in `MM-DD` format.
|
|
88092
|
+
* Required when `enabled` is `true`.
|
|
88093
|
+
* Valid calendar date only. Leap day `02-29` is not allowed.
|
|
88094
|
+
*/
|
|
88095
|
+
monthDay?: string | null;
|
|
88096
|
+
};
|
|
87834
88097
|
/**
|
|
87835
88098
|
* Default order for auto-allocation of payout requests.
|
|
87836
88099
|
* When set, this value is used when a payout request batch does not specify its own allocation order.
|
|
@@ -90390,17 +90653,36 @@ export interface reportsComponents {
|
|
|
90390
90653
|
TimeSeriesTransaction: {
|
|
90391
90654
|
/** Time series data. */
|
|
90392
90655
|
data?: {
|
|
90393
|
-
/** Date in `YYYY-MM-DD` format
|
|
90656
|
+
/** Date in `YYYY-MM-DD` format. */
|
|
90394
90657
|
date?: string;
|
|
90395
|
-
/**
|
|
90658
|
+
/**
|
|
90659
|
+
* Aggregated value for all transactions for the day, in the unit specified by the `type` parameter:
|
|
90660
|
+
* - `count`: Total number of transactions.
|
|
90661
|
+
* - `amount`: Total amount of approved transactions in the merchant reporting currency.
|
|
90662
|
+
* - `approval-rate`: Ratio of approved transactions to all transactions.
|
|
90663
|
+
* - `incomplete-rate`: Ratio of incomplete transactions to all transactions.
|
|
90664
|
+
*
|
|
90665
|
+
* This value does not depend on the `subaggregate` parameter and is not the sum of the values in `subaggregates`.
|
|
90666
|
+
* Each transaction is included once, even if the `subaggregate` field contains multiple values for the transaction.
|
|
90667
|
+
* Transactions with no value for the `subaggregate` field are also included.
|
|
90668
|
+
*/
|
|
90396
90669
|
total?: number;
|
|
90397
|
-
/**
|
|
90670
|
+
/**
|
|
90671
|
+
* Breakdown by the `subaggregate` field for the day.
|
|
90672
|
+
* Each element contains one `subaggregate` value and its aggregated value.
|
|
90673
|
+
* Each `subaggregate` value found in the report has an element,
|
|
90674
|
+
* in the same order for each day.
|
|
90675
|
+
*/
|
|
90398
90676
|
subaggregates?: {
|
|
90399
|
-
/**
|
|
90677
|
+
/** One value of the `subaggregate` field, such as a website ID, a currency code, or a lead source. */
|
|
90400
90678
|
subaggregate?: string;
|
|
90401
|
-
/**
|
|
90679
|
+
/**
|
|
90680
|
+
* Aggregated value for transactions that have this `subaggregate` value,
|
|
90681
|
+
* in the same unit as `total`.
|
|
90682
|
+
* This value is `0` if no transactions have this `subaggregate` value.
|
|
90683
|
+
*/
|
|
90402
90684
|
value?: number;
|
|
90403
|
-
};
|
|
90685
|
+
}[];
|
|
90404
90686
|
}[];
|
|
90405
90687
|
};
|
|
90406
90688
|
ReportDisputeDelays: {
|
|
@@ -95527,6 +95809,18 @@ export interface reportsComponents {
|
|
|
95527
95809
|
* This value is `null` if the export failed.
|
|
95528
95810
|
*/
|
|
95529
95811
|
fileId?: string | null;
|
|
95812
|
+
/**
|
|
95813
|
+
* Total number of records in the export, excluding the header row.
|
|
95814
|
+
* This value is `0` if the export failed.
|
|
95815
|
+
*/
|
|
95816
|
+
recordCount?: number;
|
|
95817
|
+
/**
|
|
95818
|
+
* Status of the data export.
|
|
95819
|
+
* This webhook is sent only when the data export reaches a terminal status.
|
|
95820
|
+
* This value is never `pending`, `queued`, or `processing`.
|
|
95821
|
+
*/
|
|
95822
|
+
status?: "completed" | "failed";
|
|
95823
|
+
failureReason?: reportsComponents["schemas"]["DataExportFailureReason"];
|
|
95530
95824
|
/** Type of event that triggered the webhook. */
|
|
95531
95825
|
eventType?: "data-export-completed" | "data-export-failed";
|
|
95532
95826
|
/** Embedded objects related to the data export event. */
|
|
@@ -97098,13 +97392,18 @@ export interface operations {
|
|
|
97098
97392
|
403: reportsComponents["responses"]["Forbidden"];
|
|
97099
97393
|
};
|
|
97100
97394
|
};
|
|
97101
|
-
/**
|
|
97395
|
+
/**
|
|
97396
|
+
* Retrieves a report of sale and capture transactions, with one row for each day of the period.
|
|
97397
|
+
* Each row holds an aggregation of every transaction of the day,
|
|
97398
|
+
* and a breakdown of that day by the `subaggregate` field.
|
|
97399
|
+
* Transactions occur on the day of the `processedTime` value.
|
|
97400
|
+
*/
|
|
97102
97401
|
GetTimeSeriesTransactionReport: {
|
|
97103
97402
|
parameters: {
|
|
97104
97403
|
query: {
|
|
97105
|
-
/**
|
|
97404
|
+
/** Aggregate the transactions of each day by count, sum of amounts, approval rate, or incomplete rate. */
|
|
97106
97405
|
type?: "count" | "amount" | "approval-rate" | "incomplete-rate";
|
|
97107
|
-
/**
|
|
97406
|
+
/** Group the transactions of each day by this field, one subaggregate for each value. */
|
|
97108
97407
|
subaggregate?:
|
|
97109
97408
|
| "website"
|
|
97110
97409
|
| "gateway-account"
|