rebilly-js-sdk 62.163.0 → 62.165.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 +2 -2
- package/dist/rebilly-js-sdk.d.cts +243 -5
- package/dist/rebilly-js-sdk.d.mts +243 -5
- package/dist/rebilly-js-sdk.d.ts +243 -5
- 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,6 +1,6 @@
|
|
|
1
|
-
## [62.
|
|
1
|
+
## [62.165.0](https://github.com/Rebilly/rebilly/compare/rebilly-js-sdk-v62.164.0...rebilly-js-sdk-v62.165.0) (2026-09-11)
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
### Features
|
|
5
5
|
|
|
6
|
-
* **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#
|
|
6
|
+
* **api-metadata, rebilly-js-sdk:** Update resources based on latest api definitions ([#25803](https://github.com/Rebilly/rebilly/issues/25803)) ([7cabfd9](https://github.com/Rebilly/rebilly/commit/7cabfd9c2a6b8f5efc44b88fa0ab57468cc8cc62))
|
|
@@ -16370,6 +16370,54 @@ export interface coreComponents {
|
|
|
16370
16370
|
*/
|
|
16371
16371
|
status?: "draft" | "archived";
|
|
16372
16372
|
};
|
|
16373
|
+
/**
|
|
16374
|
+
* Flat-rate coin pricing that multiplies the full paid amount in minor units by `coinsPerFiatMinor`.
|
|
16375
|
+
* For example, if `coinsPerFiatMinor` is `10`,
|
|
16376
|
+
* a `$10.00` deposit credits `10,000` coins and a `$10.01` deposit credits `10,010` coins.
|
|
16377
|
+
*/
|
|
16378
|
+
CoinPricingFlatRate: {
|
|
16379
|
+
/** Flat-rate formula for converting the paid fiat amount into coins. */
|
|
16380
|
+
formula: "flat-rate";
|
|
16381
|
+
/**
|
|
16382
|
+
* Number of coins credited for each minor unit of the paid currency.
|
|
16383
|
+
* For example, a value of `10` means 10 coins for each US cent.
|
|
16384
|
+
*/
|
|
16385
|
+
coinsPerFiatMinor: number;
|
|
16386
|
+
};
|
|
16387
|
+
/** Amount range and coin rate for volume pricing. */
|
|
16388
|
+
CoinPricingVolumeBracket: {
|
|
16389
|
+
/**
|
|
16390
|
+
* Number of coins credited for each minor unit of the paid currency when the paid amount falls in this range.
|
|
16391
|
+
* For example, a value of `10` means 10 coins for each US cent.
|
|
16392
|
+
*/
|
|
16393
|
+
coinsPerFiatMinor: number;
|
|
16394
|
+
/**
|
|
16395
|
+
* Highest paid amount in this range, in major units of the currency for the deposit request.
|
|
16396
|
+
* This value is inclusive and must be exact at that currency scale for the deposit amount strategy.
|
|
16397
|
+
* A `null` value means this range has no upper limit.
|
|
16398
|
+
*/
|
|
16399
|
+
maxAmount?: number | null;
|
|
16400
|
+
};
|
|
16401
|
+
/**
|
|
16402
|
+
* Volume-based coin pricing that multiplies the full paid amount in minor units by `coinsPerFiatMinor` from the matching bracket.
|
|
16403
|
+
* For example, if `coinsPerFiatMinor` is `10` for amounts up to `$10.00` and `12` for amounts from `$10.01` through `$50.00`,
|
|
16404
|
+
* a `$10.00` deposit credits `10,000` coins and a `$10.01` deposit credits `12,012` coins.
|
|
16405
|
+
*/
|
|
16406
|
+
CoinPricingVolume: {
|
|
16407
|
+
/** Volume-based formula for converting the paid fiat amount into coins. */
|
|
16408
|
+
formula: "volume";
|
|
16409
|
+
/**
|
|
16410
|
+
* Amount ranges that define the coin rate for a paid amount.
|
|
16411
|
+
* The first range matches amounts less than or equal to `maxAmount`.
|
|
16412
|
+
* Each subsequent range matches amounts greater than the previous `maxAmount` and less than or equal to the current `maxAmount`.
|
|
16413
|
+
* A final range with a `null` `maxAmount` has no upper limit.
|
|
16414
|
+
*/
|
|
16415
|
+
brackets: coreComponents["schemas"]["CoinPricingVolumeBracket"][];
|
|
16416
|
+
};
|
|
16417
|
+
/** Formula for calculating the number of coins to credit to the coin balance based on a paid amount in fiat currency. */
|
|
16418
|
+
CoinPricing:
|
|
16419
|
+
| coreComponents["schemas"]["CoinPricingFlatRate"]
|
|
16420
|
+
| coreComponents["schemas"]["CoinPricingVolume"];
|
|
16373
16421
|
DepositRequest: {
|
|
16374
16422
|
/** ID of the deposit request. */
|
|
16375
16423
|
id?: string;
|
|
@@ -16393,8 +16441,14 @@ export interface coreComponents {
|
|
|
16393
16441
|
/**
|
|
16394
16442
|
* Specifies if the deposit is a coin purchase that credits the coin balance instead of the cash balance.
|
|
16395
16443
|
* Determined by the deposit amount strategy that is applied to the deposit request.
|
|
16444
|
+
* Use the `coinPricing` field instead.
|
|
16396
16445
|
*/
|
|
16397
16446
|
coinPurchase?: boolean;
|
|
16447
|
+
/**
|
|
16448
|
+
* Formula copied from the deposit amount strategy when the deposit request is created.
|
|
16449
|
+
* A `null` value means the deposit credits the cash balance instead of the coin balance.
|
|
16450
|
+
*/
|
|
16451
|
+
coinPricing?: coreComponents["schemas"]["CoinPricing"] | null;
|
|
16398
16452
|
currency: coreComponents["schemas"]["CurrencyCode"];
|
|
16399
16453
|
/**
|
|
16400
16454
|
* List of available deposit amounts.
|
|
@@ -16765,8 +16819,21 @@ export interface coreComponents {
|
|
|
16765
16819
|
priority?: number;
|
|
16766
16820
|
/** Specifies if the deposit amount strategy is active. */
|
|
16767
16821
|
isActive?: boolean;
|
|
16768
|
-
/**
|
|
16822
|
+
/**
|
|
16823
|
+
* Specifies if deposits created from this strategy are coin purchases that credit the coin balance instead of the cash balance.
|
|
16824
|
+
* Use the `coinPricing` field instead.
|
|
16825
|
+
*/
|
|
16769
16826
|
coinPurchase?: boolean;
|
|
16827
|
+
/**
|
|
16828
|
+
* Formula that converts the paid fiat amount into coins credited to the coin balance.
|
|
16829
|
+
* A `null` value means deposits created from this strategy credit the cash balance.
|
|
16830
|
+
* If both `coinPricing` and `coinPurchase` are provided, `coinPricing` takes precedence.
|
|
16831
|
+
* Setting a `coinPricing` object requires the Replay add-on.
|
|
16832
|
+
* For `volume`, every configured deposit amount must match a bracket,
|
|
16833
|
+
* and the last bracket has a `null` `maxAmount` when `customAmount` has a value or `adjustBaseToLastDeposit` is `true`.
|
|
16834
|
+
* For deposit amount strategies with `coinPurchase: true` and no `coinPricing`, responses include default flat-rate pricing with `coinsPerFiatMinor: 10`.
|
|
16835
|
+
*/
|
|
16836
|
+
coinPricing?: coreComponents["schemas"]["CoinPricing"] | null;
|
|
16770
16837
|
createdTime?: coreComponents["schemas"]["CreatedTime"];
|
|
16771
16838
|
updatedTime?: coreComponents["schemas"]["UpdatedTime"];
|
|
16772
16839
|
_links?: coreComponents["schemas"]["SelfLink"];
|
|
@@ -25545,8 +25612,14 @@ export interface coreComponents {
|
|
|
25545
25612
|
/**
|
|
25546
25613
|
* Specifies if the deposit is a coin purchase that credits the coin balance instead of the cash balance.
|
|
25547
25614
|
* Determined by the deposit amount strategy that is applied to the deposit request.
|
|
25615
|
+
* Use the `coinPricing` field instead.
|
|
25548
25616
|
*/
|
|
25549
25617
|
coinPurchase: boolean;
|
|
25618
|
+
/**
|
|
25619
|
+
* Formula copied from the deposit amount strategy when the deposit request is created.
|
|
25620
|
+
* A `null` value means the deposit credits the cash balance instead of the coin balance.
|
|
25621
|
+
*/
|
|
25622
|
+
coinPricing: coreComponents["schemas"]["CoinPricing"] | null;
|
|
25550
25623
|
/** ID of the last deposit request that is made for this cashier. */
|
|
25551
25624
|
lastDepositRequestId?: string;
|
|
25552
25625
|
createdTime?: coreComponents["schemas"]["CreatedTime"];
|
|
@@ -28372,6 +28445,12 @@ export interface coreComponents {
|
|
|
28372
28445
|
* For more information, see [Obtain an organization ID](https://www.rebilly.com/docs/settings/organizations-and-websites/#obtain-your-organization-id-and-website-id).
|
|
28373
28446
|
*/
|
|
28374
28447
|
organizationId: string;
|
|
28448
|
+
/**
|
|
28449
|
+
* Limit the number of invoices to return.
|
|
28450
|
+
* Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
|
|
28451
|
+
* Cap values greater than `100` at `100`.
|
|
28452
|
+
*/
|
|
28453
|
+
invoiceCollectionLimit: number;
|
|
28375
28454
|
/** Type of response media. */
|
|
28376
28455
|
mediaTypeJsonPdf: "application/json" | "application/pdf";
|
|
28377
28456
|
/**
|
|
@@ -33053,10 +33132,11 @@ export interface operations {
|
|
|
33053
33132
|
*/
|
|
33054
33133
|
sort?: coreComponents["parameters"]["collectionSort"];
|
|
33055
33134
|
/**
|
|
33056
|
-
* Limit the number of
|
|
33135
|
+
* Limit the number of invoices to return.
|
|
33057
33136
|
* Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
|
|
33137
|
+
* Cap values greater than `100` at `100`.
|
|
33058
33138
|
*/
|
|
33059
|
-
limit?: coreComponents["parameters"]["
|
|
33139
|
+
limit?: coreComponents["parameters"]["invoiceCollectionLimit"];
|
|
33060
33140
|
/** Specifies the starting point within the collection of items to be returned. */
|
|
33061
33141
|
offset?: coreComponents["parameters"]["collectionOffset"];
|
|
33062
33142
|
/** Use this field to perform a partial search of text fields. */
|
|
@@ -55969,6 +56049,54 @@ export interface storefrontComponents {
|
|
|
55969
56049
|
*/
|
|
55970
56050
|
status?: "draft" | "archived";
|
|
55971
56051
|
};
|
|
56052
|
+
/**
|
|
56053
|
+
* Flat-rate coin pricing that multiplies the full paid amount in minor units by `coinsPerFiatMinor`.
|
|
56054
|
+
* For example, if `coinsPerFiatMinor` is `10`,
|
|
56055
|
+
* a `$10.00` deposit credits `10,000` coins and a `$10.01` deposit credits `10,010` coins.
|
|
56056
|
+
*/
|
|
56057
|
+
CoinPricingFlatRate: {
|
|
56058
|
+
/** Flat-rate formula for converting the paid fiat amount into coins. */
|
|
56059
|
+
formula: "flat-rate";
|
|
56060
|
+
/**
|
|
56061
|
+
* Number of coins credited for each minor unit of the paid currency.
|
|
56062
|
+
* For example, a value of `10` means 10 coins for each US cent.
|
|
56063
|
+
*/
|
|
56064
|
+
coinsPerFiatMinor: number;
|
|
56065
|
+
};
|
|
56066
|
+
/** Amount range and coin rate for volume pricing. */
|
|
56067
|
+
CoinPricingVolumeBracket: {
|
|
56068
|
+
/**
|
|
56069
|
+
* Number of coins credited for each minor unit of the paid currency when the paid amount falls in this range.
|
|
56070
|
+
* For example, a value of `10` means 10 coins for each US cent.
|
|
56071
|
+
*/
|
|
56072
|
+
coinsPerFiatMinor: number;
|
|
56073
|
+
/**
|
|
56074
|
+
* Highest paid amount in this range, in major units of the currency for the deposit request.
|
|
56075
|
+
* This value is inclusive and must be exact at that currency scale for the deposit amount strategy.
|
|
56076
|
+
* A `null` value means this range has no upper limit.
|
|
56077
|
+
*/
|
|
56078
|
+
maxAmount?: number | null;
|
|
56079
|
+
};
|
|
56080
|
+
/**
|
|
56081
|
+
* Volume-based coin pricing that multiplies the full paid amount in minor units by `coinsPerFiatMinor` from the matching bracket.
|
|
56082
|
+
* For example, if `coinsPerFiatMinor` is `10` for amounts up to `$10.00` and `12` for amounts from `$10.01` through `$50.00`,
|
|
56083
|
+
* a `$10.00` deposit credits `10,000` coins and a `$10.01` deposit credits `12,012` coins.
|
|
56084
|
+
*/
|
|
56085
|
+
CoinPricingVolume: {
|
|
56086
|
+
/** Volume-based formula for converting the paid fiat amount into coins. */
|
|
56087
|
+
formula: "volume";
|
|
56088
|
+
/**
|
|
56089
|
+
* Amount ranges that define the coin rate for a paid amount.
|
|
56090
|
+
* The first range matches amounts less than or equal to `maxAmount`.
|
|
56091
|
+
* Each subsequent range matches amounts greater than the previous `maxAmount` and less than or equal to the current `maxAmount`.
|
|
56092
|
+
* A final range with a `null` `maxAmount` has no upper limit.
|
|
56093
|
+
*/
|
|
56094
|
+
brackets: storefrontComponents["schemas"]["CoinPricingVolumeBracket"][];
|
|
56095
|
+
};
|
|
56096
|
+
/** Formula for calculating the number of coins to credit to the coin balance based on a paid amount in fiat currency. */
|
|
56097
|
+
CoinPricing:
|
|
56098
|
+
| storefrontComponents["schemas"]["CoinPricingFlatRate"]
|
|
56099
|
+
| storefrontComponents["schemas"]["CoinPricingVolume"];
|
|
55972
56100
|
DepositRequest: {
|
|
55973
56101
|
/** ID of the deposit request. */
|
|
55974
56102
|
id?: string;
|
|
@@ -55992,8 +56120,14 @@ export interface storefrontComponents {
|
|
|
55992
56120
|
/**
|
|
55993
56121
|
* Specifies if the deposit is a coin purchase that credits the coin balance instead of the cash balance.
|
|
55994
56122
|
* Determined by the deposit amount strategy that is applied to the deposit request.
|
|
56123
|
+
* Use the `coinPricing` field instead.
|
|
55995
56124
|
*/
|
|
55996
56125
|
coinPurchase?: boolean;
|
|
56126
|
+
/**
|
|
56127
|
+
* Formula copied from the deposit amount strategy when the deposit request is created.
|
|
56128
|
+
* A `null` value means the deposit credits the cash balance instead of the coin balance.
|
|
56129
|
+
*/
|
|
56130
|
+
coinPricing?: storefrontComponents["schemas"]["CoinPricing"] | null;
|
|
55997
56131
|
currency: storefrontComponents["schemas"]["CurrencyCode"];
|
|
55998
56132
|
/**
|
|
55999
56133
|
* List of available deposit amounts.
|
|
@@ -56364,8 +56498,21 @@ export interface storefrontComponents {
|
|
|
56364
56498
|
priority?: number;
|
|
56365
56499
|
/** Specifies if the deposit amount strategy is active. */
|
|
56366
56500
|
isActive?: boolean;
|
|
56367
|
-
/**
|
|
56501
|
+
/**
|
|
56502
|
+
* Specifies if deposits created from this strategy are coin purchases that credit the coin balance instead of the cash balance.
|
|
56503
|
+
* Use the `coinPricing` field instead.
|
|
56504
|
+
*/
|
|
56368
56505
|
coinPurchase?: boolean;
|
|
56506
|
+
/**
|
|
56507
|
+
* Formula that converts the paid fiat amount into coins credited to the coin balance.
|
|
56508
|
+
* A `null` value means deposits created from this strategy credit the cash balance.
|
|
56509
|
+
* If both `coinPricing` and `coinPurchase` are provided, `coinPricing` takes precedence.
|
|
56510
|
+
* Setting a `coinPricing` object requires the Replay add-on.
|
|
56511
|
+
* For `volume`, every configured deposit amount must match a bracket,
|
|
56512
|
+
* and the last bracket has a `null` `maxAmount` when `customAmount` has a value or `adjustBaseToLastDeposit` is `true`.
|
|
56513
|
+
* For deposit amount strategies with `coinPurchase: true` and no `coinPricing`, responses include default flat-rate pricing with `coinsPerFiatMinor: 10`.
|
|
56514
|
+
*/
|
|
56515
|
+
coinPricing?: storefrontComponents["schemas"]["CoinPricing"] | null;
|
|
56369
56516
|
createdTime?: storefrontComponents["schemas"]["CreatedTime"];
|
|
56370
56517
|
updatedTime?: storefrontComponents["schemas"]["UpdatedTime"];
|
|
56371
56518
|
_links?: storefrontComponents["schemas"]["SelfLink"];
|
|
@@ -65144,8 +65291,14 @@ export interface storefrontComponents {
|
|
|
65144
65291
|
/**
|
|
65145
65292
|
* Specifies if the deposit is a coin purchase that credits the coin balance instead of the cash balance.
|
|
65146
65293
|
* Determined by the deposit amount strategy that is applied to the deposit request.
|
|
65294
|
+
* Use the `coinPricing` field instead.
|
|
65147
65295
|
*/
|
|
65148
65296
|
coinPurchase: boolean;
|
|
65297
|
+
/**
|
|
65298
|
+
* Formula copied from the deposit amount strategy when the deposit request is created.
|
|
65299
|
+
* A `null` value means the deposit credits the cash balance instead of the coin balance.
|
|
65300
|
+
*/
|
|
65301
|
+
coinPricing: storefrontComponents["schemas"]["CoinPricing"] | null;
|
|
65149
65302
|
/** ID of the last deposit request that is made for this cashier. */
|
|
65150
65303
|
lastDepositRequestId?: string;
|
|
65151
65304
|
createdTime?: storefrontComponents["schemas"]["CreatedTime"];
|
|
@@ -67971,6 +68124,12 @@ export interface storefrontComponents {
|
|
|
67971
68124
|
* For more information, see [Obtain an organization ID](https://www.rebilly.com/docs/settings/organizations-and-websites/#obtain-your-organization-id-and-website-id).
|
|
67972
68125
|
*/
|
|
67973
68126
|
organizationId: string;
|
|
68127
|
+
/**
|
|
68128
|
+
* Limit the number of invoices to return.
|
|
68129
|
+
* Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
|
|
68130
|
+
* Cap values greater than `100` at `100`.
|
|
68131
|
+
*/
|
|
68132
|
+
invoiceCollectionLimit: number;
|
|
67974
68133
|
/** Type of response media. */
|
|
67975
68134
|
mediaTypeJsonPdf: "application/json" | "application/pdf";
|
|
67976
68135
|
/**
|
|
@@ -82599,6 +82758,54 @@ export interface reportsComponents {
|
|
|
82599
82758
|
*/
|
|
82600
82759
|
status?: "draft" | "archived";
|
|
82601
82760
|
};
|
|
82761
|
+
/**
|
|
82762
|
+
* Flat-rate coin pricing that multiplies the full paid amount in minor units by `coinsPerFiatMinor`.
|
|
82763
|
+
* For example, if `coinsPerFiatMinor` is `10`,
|
|
82764
|
+
* a `$10.00` deposit credits `10,000` coins and a `$10.01` deposit credits `10,010` coins.
|
|
82765
|
+
*/
|
|
82766
|
+
CoinPricingFlatRate: {
|
|
82767
|
+
/** Flat-rate formula for converting the paid fiat amount into coins. */
|
|
82768
|
+
formula: "flat-rate";
|
|
82769
|
+
/**
|
|
82770
|
+
* Number of coins credited for each minor unit of the paid currency.
|
|
82771
|
+
* For example, a value of `10` means 10 coins for each US cent.
|
|
82772
|
+
*/
|
|
82773
|
+
coinsPerFiatMinor: number;
|
|
82774
|
+
};
|
|
82775
|
+
/** Amount range and coin rate for volume pricing. */
|
|
82776
|
+
CoinPricingVolumeBracket: {
|
|
82777
|
+
/**
|
|
82778
|
+
* Number of coins credited for each minor unit of the paid currency when the paid amount falls in this range.
|
|
82779
|
+
* For example, a value of `10` means 10 coins for each US cent.
|
|
82780
|
+
*/
|
|
82781
|
+
coinsPerFiatMinor: number;
|
|
82782
|
+
/**
|
|
82783
|
+
* Highest paid amount in this range, in major units of the currency for the deposit request.
|
|
82784
|
+
* This value is inclusive and must be exact at that currency scale for the deposit amount strategy.
|
|
82785
|
+
* A `null` value means this range has no upper limit.
|
|
82786
|
+
*/
|
|
82787
|
+
maxAmount?: number | null;
|
|
82788
|
+
};
|
|
82789
|
+
/**
|
|
82790
|
+
* Volume-based coin pricing that multiplies the full paid amount in minor units by `coinsPerFiatMinor` from the matching bracket.
|
|
82791
|
+
* For example, if `coinsPerFiatMinor` is `10` for amounts up to `$10.00` and `12` for amounts from `$10.01` through `$50.00`,
|
|
82792
|
+
* a `$10.00` deposit credits `10,000` coins and a `$10.01` deposit credits `12,012` coins.
|
|
82793
|
+
*/
|
|
82794
|
+
CoinPricingVolume: {
|
|
82795
|
+
/** Volume-based formula for converting the paid fiat amount into coins. */
|
|
82796
|
+
formula: "volume";
|
|
82797
|
+
/**
|
|
82798
|
+
* Amount ranges that define the coin rate for a paid amount.
|
|
82799
|
+
* The first range matches amounts less than or equal to `maxAmount`.
|
|
82800
|
+
* Each subsequent range matches amounts greater than the previous `maxAmount` and less than or equal to the current `maxAmount`.
|
|
82801
|
+
* A final range with a `null` `maxAmount` has no upper limit.
|
|
82802
|
+
*/
|
|
82803
|
+
brackets: reportsComponents["schemas"]["CoinPricingVolumeBracket"][];
|
|
82804
|
+
};
|
|
82805
|
+
/** Formula for calculating the number of coins to credit to the coin balance based on a paid amount in fiat currency. */
|
|
82806
|
+
CoinPricing:
|
|
82807
|
+
| reportsComponents["schemas"]["CoinPricingFlatRate"]
|
|
82808
|
+
| reportsComponents["schemas"]["CoinPricingVolume"];
|
|
82602
82809
|
DepositRequest: {
|
|
82603
82810
|
/** ID of the deposit request. */
|
|
82604
82811
|
id?: string;
|
|
@@ -82622,8 +82829,14 @@ export interface reportsComponents {
|
|
|
82622
82829
|
/**
|
|
82623
82830
|
* Specifies if the deposit is a coin purchase that credits the coin balance instead of the cash balance.
|
|
82624
82831
|
* Determined by the deposit amount strategy that is applied to the deposit request.
|
|
82832
|
+
* Use the `coinPricing` field instead.
|
|
82625
82833
|
*/
|
|
82626
82834
|
coinPurchase?: boolean;
|
|
82835
|
+
/**
|
|
82836
|
+
* Formula copied from the deposit amount strategy when the deposit request is created.
|
|
82837
|
+
* A `null` value means the deposit credits the cash balance instead of the coin balance.
|
|
82838
|
+
*/
|
|
82839
|
+
coinPricing?: reportsComponents["schemas"]["CoinPricing"] | null;
|
|
82627
82840
|
currency: reportsComponents["schemas"]["CurrencyCode"];
|
|
82628
82841
|
/**
|
|
82629
82842
|
* List of available deposit amounts.
|
|
@@ -82994,8 +83207,21 @@ export interface reportsComponents {
|
|
|
82994
83207
|
priority?: number;
|
|
82995
83208
|
/** Specifies if the deposit amount strategy is active. */
|
|
82996
83209
|
isActive?: boolean;
|
|
82997
|
-
/**
|
|
83210
|
+
/**
|
|
83211
|
+
* Specifies if deposits created from this strategy are coin purchases that credit the coin balance instead of the cash balance.
|
|
83212
|
+
* Use the `coinPricing` field instead.
|
|
83213
|
+
*/
|
|
82998
83214
|
coinPurchase?: boolean;
|
|
83215
|
+
/**
|
|
83216
|
+
* Formula that converts the paid fiat amount into coins credited to the coin balance.
|
|
83217
|
+
* A `null` value means deposits created from this strategy credit the cash balance.
|
|
83218
|
+
* If both `coinPricing` and `coinPurchase` are provided, `coinPricing` takes precedence.
|
|
83219
|
+
* Setting a `coinPricing` object requires the Replay add-on.
|
|
83220
|
+
* For `volume`, every configured deposit amount must match a bracket,
|
|
83221
|
+
* and the last bracket has a `null` `maxAmount` when `customAmount` has a value or `adjustBaseToLastDeposit` is `true`.
|
|
83222
|
+
* For deposit amount strategies with `coinPurchase: true` and no `coinPricing`, responses include default flat-rate pricing with `coinsPerFiatMinor: 10`.
|
|
83223
|
+
*/
|
|
83224
|
+
coinPricing?: reportsComponents["schemas"]["CoinPricing"] | null;
|
|
82999
83225
|
createdTime?: reportsComponents["schemas"]["CreatedTime"];
|
|
83000
83226
|
updatedTime?: reportsComponents["schemas"]["UpdatedTime"];
|
|
83001
83227
|
_links?: reportsComponents["schemas"]["SelfLink"];
|
|
@@ -91774,8 +92000,14 @@ export interface reportsComponents {
|
|
|
91774
92000
|
/**
|
|
91775
92001
|
* Specifies if the deposit is a coin purchase that credits the coin balance instead of the cash balance.
|
|
91776
92002
|
* Determined by the deposit amount strategy that is applied to the deposit request.
|
|
92003
|
+
* Use the `coinPricing` field instead.
|
|
91777
92004
|
*/
|
|
91778
92005
|
coinPurchase: boolean;
|
|
92006
|
+
/**
|
|
92007
|
+
* Formula copied from the deposit amount strategy when the deposit request is created.
|
|
92008
|
+
* A `null` value means the deposit credits the cash balance instead of the coin balance.
|
|
92009
|
+
*/
|
|
92010
|
+
coinPricing: reportsComponents["schemas"]["CoinPricing"] | null;
|
|
91779
92011
|
/** ID of the last deposit request that is made for this cashier. */
|
|
91780
92012
|
lastDepositRequestId?: string;
|
|
91781
92013
|
createdTime?: reportsComponents["schemas"]["CreatedTime"];
|
|
@@ -94601,6 +94833,12 @@ export interface reportsComponents {
|
|
|
94601
94833
|
* For more information, see [Obtain an organization ID](https://www.rebilly.com/docs/settings/organizations-and-websites/#obtain-your-organization-id-and-website-id).
|
|
94602
94834
|
*/
|
|
94603
94835
|
organizationId: string;
|
|
94836
|
+
/**
|
|
94837
|
+
* Limit the number of invoices to return.
|
|
94838
|
+
* Use `0` to return an empty collection and still receive the count of matching items in `Pagination-Total`.
|
|
94839
|
+
* Cap values greater than `100` at `100`.
|
|
94840
|
+
*/
|
|
94841
|
+
invoiceCollectionLimit: number;
|
|
94604
94842
|
/** Type of response media. */
|
|
94605
94843
|
mediaTypeJsonPdf: "application/json" | "application/pdf";
|
|
94606
94844
|
/**
|