@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.
@@ -1,4 +1,5 @@
1
- import { d as GetDeliverySolutionsRequest$1, a as GetDeliverySolutionsResponse$1 } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-BwwK-TFr.mjs';
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?: Price;
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 Price {
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?: Price;
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.20",
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": "0fcf5939e210d5b0179b1efef005a1c273c49995c5b9478b6e3198fe"
52
+ "falconPackageHash": "26f495ea41001d51a98e303398aa0bef8ee7d62152db97d7d3e26065"
53
53
  }