@wix/auto_sdk_ecom_delivery-solutions 1.0.20 → 1.0.22
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/build/cjs/index.d.ts +5 -3
- package/build/cjs/index.js.map +1 -1
- package/build/cjs/{gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-BwwK-TFr.d.ts → index.typings.d.ts} +51 -4
- package/build/cjs/index.typings.js +254 -0
- package/build/cjs/index.typings.js.map +1 -0
- package/build/cjs/meta.d.ts +16 -4
- package/build/es/index.d.mts +5 -3
- package/build/es/index.mjs.map +1 -1
- package/build/es/{gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-BwwK-TFr.d.mts → index.typings.d.mts} +51 -4
- package/build/es/index.typings.mjs +223 -0
- package/build/es/index.typings.mjs.map +1 -0
- package/build/es/meta.d.mts +16 -4
- package/build/internal/cjs/index.d.ts +5 -3
- package/build/internal/cjs/index.js.map +1 -1
- package/build/internal/cjs/{gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-BwwK-TFr.d.ts → index.typings.d.ts} +51 -4
- package/build/internal/cjs/index.typings.js +254 -0
- package/build/internal/cjs/index.typings.js.map +1 -0
- package/build/internal/cjs/meta.d.ts +16 -4
- package/build/internal/es/index.d.mts +5 -3
- package/build/internal/es/index.mjs.map +1 -1
- package/build/internal/es/{gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-BwwK-TFr.d.mts → index.typings.d.mts} +51 -4
- package/build/internal/es/index.typings.mjs +223 -0
- package/build/internal/es/index.typings.mjs.map +1 -0
- package/build/internal/es/meta.d.mts +16 -4
- package/package.json +2 -2
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { GetDeliverySolutionsRequest as GetDeliverySolutionsRequest$1, GetDeliverySolutionsResponse as GetDeliverySolutionsResponse$1 } from './index.typings.mjs';
|
|
2
|
+
import '@wix/sdk-types';
|
|
2
3
|
|
|
3
4
|
interface GetDeliverySolutionsRequest {
|
|
4
5
|
/**
|
|
@@ -352,7 +353,7 @@ interface DeliveryCost {
|
|
|
352
353
|
*/
|
|
353
354
|
additionalCharges?: AdditionalCharge[];
|
|
354
355
|
/** The shipping rate's price. Must align with the [currency's decimal separator] */
|
|
355
|
-
deliveryPrice?:
|
|
356
|
+
deliveryPrice?: MultiCurrencyPrice;
|
|
356
357
|
/**
|
|
357
358
|
* Additional costs. For example, a handling fee for packaging fragile items.
|
|
358
359
|
* @maxSize 100
|
|
@@ -379,17 +380,28 @@ declare enum ChargeType {
|
|
|
379
380
|
}
|
|
380
381
|
/** @enumType */
|
|
381
382
|
type ChargeTypeWithLiterals = ChargeType | 'HANDLING_FEE';
|
|
382
|
-
interface
|
|
383
|
+
interface MultiCurrencyPrice {
|
|
383
384
|
/**
|
|
384
385
|
* Amount.
|
|
385
386
|
* @decimalValue options { gte:0, lte:1000000000000000 }
|
|
386
387
|
*/
|
|
387
388
|
amount?: string;
|
|
389
|
+
/**
|
|
390
|
+
* Converted amount.
|
|
391
|
+
* @readonly
|
|
392
|
+
* @decimalValue options { gte:0, lte:1000000000000000 }
|
|
393
|
+
*/
|
|
394
|
+
convertedAmount?: string;
|
|
388
395
|
/**
|
|
389
396
|
* Amount formatted with currency symbol.
|
|
390
397
|
* @readonly
|
|
391
398
|
*/
|
|
392
399
|
formattedAmount?: string;
|
|
400
|
+
/**
|
|
401
|
+
* Converted amount formatted with currency symbol.
|
|
402
|
+
* @readonly
|
|
403
|
+
*/
|
|
404
|
+
formattedConvertedAmount?: string;
|
|
393
405
|
}
|
|
394
406
|
interface AdditionalCost {
|
|
395
407
|
/**
|
|
@@ -398,7 +410,7 @@ interface AdditionalCost {
|
|
|
398
410
|
*/
|
|
399
411
|
description?: string | null;
|
|
400
412
|
/** Delivery price of additional charge. For example, `12.5`. */
|
|
401
|
-
deliveryPrice?:
|
|
413
|
+
deliveryPrice?: MultiCurrencyPrice;
|
|
402
414
|
}
|
|
403
415
|
interface DeliveryAllocation {
|
|
404
416
|
/** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wix/auto_sdk_ecom_delivery-solutions",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.22",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"registry": "https://registry.npmjs.org/",
|
|
6
6
|
"access": "public"
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"fqdn": "wix.gateways.ecom.v1.delivery_rates_gateway"
|
|
50
50
|
}
|
|
51
51
|
},
|
|
52
|
-
"falconPackageHash": "
|
|
52
|
+
"falconPackageHash": "26f495ea41001d51a98e303398aa0bef8ee7d62152db97d7d3e26065"
|
|
53
53
|
}
|