@delopay/sdk 0.48.0 → 0.49.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/dist/{chunk-SX46W7E4.js → chunk-ABYAZHZC.js} +2 -1
- package/dist/{chunk-SX46W7E4.js.map → chunk-ABYAZHZC.js.map} +1 -1
- package/dist/index.cjs +1 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +7 -0
- package/dist/index.d.ts +7 -0
- package/dist/index.js +1 -1
- package/dist/internal.cjs +1 -0
- package/dist/internal.cjs.map +1 -1
- package/dist/internal.js +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -4670,6 +4670,13 @@ interface FeeRuleConditions {
|
|
|
4670
4670
|
connector?: Connector;
|
|
4671
4671
|
currency?: Currency;
|
|
4672
4672
|
cardNetwork?: string;
|
|
4673
|
+
/**
|
|
4674
|
+
* Customer billing-address country. Must be the exact backend `Country` enum
|
|
4675
|
+
* variant (PascalCase full name, e.g. `Germany`/`UnitedStatesOfAmerica`), not
|
|
4676
|
+
* an ISO code — the engine lowers `billing_country` via case-sensitive
|
|
4677
|
+
* `from_str`.
|
|
4678
|
+
*/
|
|
4679
|
+
billingCountry?: string;
|
|
4673
4680
|
/** `amount == n` (minor units). */
|
|
4674
4681
|
amountEquals?: number;
|
|
4675
4682
|
/** `amount > n` (minor units). */
|
package/dist/index.d.ts
CHANGED
|
@@ -4670,6 +4670,13 @@ interface FeeRuleConditions {
|
|
|
4670
4670
|
connector?: Connector;
|
|
4671
4671
|
currency?: Currency;
|
|
4672
4672
|
cardNetwork?: string;
|
|
4673
|
+
/**
|
|
4674
|
+
* Customer billing-address country. Must be the exact backend `Country` enum
|
|
4675
|
+
* variant (PascalCase full name, e.g. `Germany`/`UnitedStatesOfAmerica`), not
|
|
4676
|
+
* an ISO code — the engine lowers `billing_country` via case-sensitive
|
|
4677
|
+
* `from_str`.
|
|
4678
|
+
*/
|
|
4679
|
+
billingCountry?: string;
|
|
4673
4680
|
/** `amount == n` (minor units). */
|
|
4674
4681
|
amountEquals?: number;
|
|
4675
4682
|
/** `amount > n` (minor units). */
|
package/dist/index.js
CHANGED
package/dist/internal.cjs
CHANGED
|
@@ -3309,6 +3309,7 @@ function buildConditions(when = {}, raw = []) {
|
|
|
3309
3309
|
if (when.connector != null) out.push(enumCondition("connector", when.connector));
|
|
3310
3310
|
if (when.currency != null) out.push(enumCondition("currency", when.currency));
|
|
3311
3311
|
if (when.cardNetwork != null) out.push(enumCondition("card_network", when.cardNetwork));
|
|
3312
|
+
if (when.billingCountry != null) out.push(enumCondition("billing_country", when.billingCountry));
|
|
3312
3313
|
if (when.amountEquals != null) out.push(numberCondition("amount", "equal", when.amountEquals));
|
|
3313
3314
|
if (when.amountGreaterThan != null) {
|
|
3314
3315
|
out.push(numberCondition("amount", "greater_than", when.amountGreaterThan));
|