@wix/auto_sdk_ecom_delivery-solutions 1.0.16 → 1.0.18

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,4 @@
1
- import { d as GetDeliverySolutionsRequest$1, a as GetDeliverySolutionsResponse$1 } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-Dd0MZRrv.mjs';
1
+ import { d as GetDeliverySolutionsRequest$1, a as GetDeliverySolutionsResponse$1 } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-BwwK-TFr.mjs';
2
2
 
3
3
  interface GetDeliverySolutionsRequest {
4
4
  /**
@@ -333,18 +333,31 @@ interface DeliveryCost {
333
333
  * The shipping rate's price. Must align with the [currency's decimal separator](https://en.wikipedia.org/wiki/ISO_4217#Active_codes).
334
334
  * @format DECIMAL_VALUE
335
335
  * @decimalValue options { gte:0, lte:1000000000000000 }
336
+ * @deprecated
337
+ * @targetRemovalDate 2025-12-01
336
338
  */
337
339
  price?: string;
338
340
  /**
339
341
  * Currency of the shipping rate price as a 3-letter [ISO-4217 currency code](https://en.wikipedia.org/wiki/ISO_4217). Must align with the `currency` passed to the function under the `metadata` field.
340
342
  * @format CURRENCY
343
+ * @deprecated Currency of the shipping rate price as a 3-letter [ISO-4217 currency code](https://en.wikipedia.org/wiki/ISO_4217). Must align with the `currency` passed to the function under the `metadata` field.
344
+ * @targetRemovalDate 2025-12-01
341
345
  */
342
346
  currency?: string;
343
347
  /**
344
348
  * Additional costs. For example, a handling fee for packaging fragile items.
345
349
  * @maxSize 100
350
+ * @deprecated Additional costs. For example, a handling fee for packaging fragile items.
351
+ * @targetRemovalDate 2025-12-01
346
352
  */
347
353
  additionalCharges?: AdditionalCharge[];
354
+ /** The shipping rate's price. Must align with the [currency's decimal separator] */
355
+ deliveryPrice?: Price;
356
+ /**
357
+ * Additional costs. For example, a handling fee for packaging fragile items.
358
+ * @maxSize 100
359
+ */
360
+ additionalCosts?: AdditionalCost[];
348
361
  }
349
362
  interface AdditionalCharge {
350
363
  /** Additional charge type. */
@@ -366,6 +379,27 @@ declare enum ChargeType {
366
379
  }
367
380
  /** @enumType */
368
381
  type ChargeTypeWithLiterals = ChargeType | 'HANDLING_FEE';
382
+ interface Price {
383
+ /**
384
+ * Amount.
385
+ * @decimalValue options { gte:0, lte:1000000000000000 }
386
+ */
387
+ amount?: string;
388
+ /**
389
+ * Amount formatted with currency symbol.
390
+ * @readonly
391
+ */
392
+ formattedAmount?: string;
393
+ }
394
+ interface AdditionalCost {
395
+ /**
396
+ * Description of the additional charge. For example, `"Handling fee of $5 applied for gift wrapping"`.
397
+ * @maxLength 250
398
+ */
399
+ description?: string | null;
400
+ /** Delivery price of additional charge. For example, `12.5`. */
401
+ deliveryPrice?: Price;
402
+ }
369
403
  interface DeliveryAllocation {
370
404
  /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
371
405
  deliveryCarrier?: Carrier;
@@ -1,4 +1,4 @@
1
- import { d as GetDeliverySolutionsRequest$1, a as GetDeliverySolutionsResponse$1 } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-Dd0MZRrv.js';
1
+ import { d as GetDeliverySolutionsRequest$1, a as GetDeliverySolutionsResponse$1 } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-BwwK-TFr.js';
2
2
 
3
3
  interface GetDeliverySolutionsRequest {
4
4
  /**
@@ -333,18 +333,31 @@ interface DeliveryCost {
333
333
  * The shipping rate's price. Must align with the [currency's decimal separator](https://en.wikipedia.org/wiki/ISO_4217#Active_codes).
334
334
  * @format DECIMAL_VALUE
335
335
  * @decimalValue options { gte:0, lte:1000000000000000 }
336
+ * @deprecated
337
+ * @targetRemovalDate 2025-12-01
336
338
  */
337
339
  price?: string;
338
340
  /**
339
341
  * Currency of the shipping rate price as a 3-letter [ISO-4217 currency code](https://en.wikipedia.org/wiki/ISO_4217). Must align with the `currency` passed to the function under the `metadata` field.
340
342
  * @format CURRENCY
343
+ * @deprecated Currency of the shipping rate price as a 3-letter [ISO-4217 currency code](https://en.wikipedia.org/wiki/ISO_4217). Must align with the `currency` passed to the function under the `metadata` field.
344
+ * @targetRemovalDate 2025-12-01
341
345
  */
342
346
  currency?: string;
343
347
  /**
344
348
  * Additional costs. For example, a handling fee for packaging fragile items.
345
349
  * @maxSize 100
350
+ * @deprecated Additional costs. For example, a handling fee for packaging fragile items.
351
+ * @targetRemovalDate 2025-12-01
346
352
  */
347
353
  additionalCharges?: AdditionalCharge[];
354
+ /** The shipping rate's price. Must align with the [currency's decimal separator] */
355
+ deliveryPrice?: Price;
356
+ /**
357
+ * Additional costs. For example, a handling fee for packaging fragile items.
358
+ * @maxSize 100
359
+ */
360
+ additionalCosts?: AdditionalCost[];
348
361
  }
349
362
  interface AdditionalCharge {
350
363
  /** Additional charge type. */
@@ -366,6 +379,27 @@ declare enum ChargeType {
366
379
  }
367
380
  /** @enumType */
368
381
  type ChargeTypeWithLiterals = ChargeType | 'HANDLING_FEE';
382
+ interface Price {
383
+ /**
384
+ * Amount.
385
+ * @decimalValue options { gte:0, lte:1000000000000000 }
386
+ */
387
+ amount?: string;
388
+ /**
389
+ * Amount formatted with currency symbol.
390
+ * @readonly
391
+ */
392
+ formattedAmount?: string;
393
+ }
394
+ interface AdditionalCost {
395
+ /**
396
+ * Description of the additional charge. For example, `"Handling fee of $5 applied for gift wrapping"`.
397
+ * @maxLength 250
398
+ */
399
+ description?: string | null;
400
+ /** Delivery price of additional charge. For example, `12.5`. */
401
+ deliveryPrice?: Price;
402
+ }
369
403
  interface DeliveryAllocation {
370
404
  /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
371
405
  deliveryCarrier?: Carrier;
package/build/meta.d.mts CHANGED
@@ -1,4 +1,4 @@
1
- import { d as GetDeliverySolutionsRequest$1, a as GetDeliverySolutionsResponse$1 } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-Dd0MZRrv.mjs';
1
+ import { d as GetDeliverySolutionsRequest$1, a as GetDeliverySolutionsResponse$1 } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-BwwK-TFr.mjs';
2
2
 
3
3
  interface GetDeliverySolutionsRequest {
4
4
  /**
@@ -333,18 +333,31 @@ interface DeliveryCost {
333
333
  * The shipping rate's price. Must align with the [currency's decimal separator](https://en.wikipedia.org/wiki/ISO_4217#Active_codes).
334
334
  * @format DECIMAL_VALUE
335
335
  * @decimalValue options { gte:0, lte:1000000000000000 }
336
+ * @deprecated
337
+ * @targetRemovalDate 2025-12-01
336
338
  */
337
339
  price?: string;
338
340
  /**
339
341
  * Currency of the shipping rate price as a 3-letter [ISO-4217 currency code](https://en.wikipedia.org/wiki/ISO_4217). Must align with the `currency` passed to the function under the `metadata` field.
340
342
  * @format CURRENCY
343
+ * @deprecated Currency of the shipping rate price as a 3-letter [ISO-4217 currency code](https://en.wikipedia.org/wiki/ISO_4217). Must align with the `currency` passed to the function under the `metadata` field.
344
+ * @targetRemovalDate 2025-12-01
341
345
  */
342
346
  currency?: string;
343
347
  /**
344
348
  * Additional costs. For example, a handling fee for packaging fragile items.
345
349
  * @maxSize 100
350
+ * @deprecated Additional costs. For example, a handling fee for packaging fragile items.
351
+ * @targetRemovalDate 2025-12-01
346
352
  */
347
353
  additionalCharges?: AdditionalCharge[];
354
+ /** The shipping rate's price. Must align with the [currency's decimal separator] */
355
+ deliveryPrice?: Price;
356
+ /**
357
+ * Additional costs. For example, a handling fee for packaging fragile items.
358
+ * @maxSize 100
359
+ */
360
+ additionalCosts?: AdditionalCost[];
348
361
  }
349
362
  interface AdditionalCharge {
350
363
  /** Additional charge type. */
@@ -366,6 +379,27 @@ declare enum ChargeType {
366
379
  }
367
380
  /** @enumType */
368
381
  type ChargeTypeWithLiterals = ChargeType | 'HANDLING_FEE';
382
+ interface Price {
383
+ /**
384
+ * Amount.
385
+ * @decimalValue options { gte:0, lte:1000000000000000 }
386
+ */
387
+ amount?: string;
388
+ /**
389
+ * Amount formatted with currency symbol.
390
+ * @readonly
391
+ */
392
+ formattedAmount?: string;
393
+ }
394
+ interface AdditionalCost {
395
+ /**
396
+ * Description of the additional charge. For example, `"Handling fee of $5 applied for gift wrapping"`.
397
+ * @maxLength 250
398
+ */
399
+ description?: string | null;
400
+ /** Delivery price of additional charge. For example, `12.5`. */
401
+ deliveryPrice?: Price;
402
+ }
369
403
  interface DeliveryAllocation {
370
404
  /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
371
405
  deliveryCarrier?: Carrier;
package/build/meta.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { d as GetDeliverySolutionsRequest$1, a as GetDeliverySolutionsResponse$1 } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-Dd0MZRrv.js';
1
+ import { d as GetDeliverySolutionsRequest$1, a as GetDeliverySolutionsResponse$1 } from './gateways-ecom-v1-delivery-rates-gateway-delivery-solutions.universal-BwwK-TFr.js';
2
2
 
3
3
  interface GetDeliverySolutionsRequest {
4
4
  /**
@@ -333,18 +333,31 @@ interface DeliveryCost {
333
333
  * The shipping rate's price. Must align with the [currency's decimal separator](https://en.wikipedia.org/wiki/ISO_4217#Active_codes).
334
334
  * @format DECIMAL_VALUE
335
335
  * @decimalValue options { gte:0, lte:1000000000000000 }
336
+ * @deprecated
337
+ * @targetRemovalDate 2025-12-01
336
338
  */
337
339
  price?: string;
338
340
  /**
339
341
  * Currency of the shipping rate price as a 3-letter [ISO-4217 currency code](https://en.wikipedia.org/wiki/ISO_4217). Must align with the `currency` passed to the function under the `metadata` field.
340
342
  * @format CURRENCY
343
+ * @deprecated Currency of the shipping rate price as a 3-letter [ISO-4217 currency code](https://en.wikipedia.org/wiki/ISO_4217). Must align with the `currency` passed to the function under the `metadata` field.
344
+ * @targetRemovalDate 2025-12-01
341
345
  */
342
346
  currency?: string;
343
347
  /**
344
348
  * Additional costs. For example, a handling fee for packaging fragile items.
345
349
  * @maxSize 100
350
+ * @deprecated Additional costs. For example, a handling fee for packaging fragile items.
351
+ * @targetRemovalDate 2025-12-01
346
352
  */
347
353
  additionalCharges?: AdditionalCharge[];
354
+ /** The shipping rate's price. Must align with the [currency's decimal separator] */
355
+ deliveryPrice?: Price;
356
+ /**
357
+ * Additional costs. For example, a handling fee for packaging fragile items.
358
+ * @maxSize 100
359
+ */
360
+ additionalCosts?: AdditionalCost[];
348
361
  }
349
362
  interface AdditionalCharge {
350
363
  /** Additional charge type. */
@@ -366,6 +379,27 @@ declare enum ChargeType {
366
379
  }
367
380
  /** @enumType */
368
381
  type ChargeTypeWithLiterals = ChargeType | 'HANDLING_FEE';
382
+ interface Price {
383
+ /**
384
+ * Amount.
385
+ * @decimalValue options { gte:0, lte:1000000000000000 }
386
+ */
387
+ amount?: string;
388
+ /**
389
+ * Amount formatted with currency symbol.
390
+ * @readonly
391
+ */
392
+ formattedAmount?: string;
393
+ }
394
+ interface AdditionalCost {
395
+ /**
396
+ * Description of the additional charge. For example, `"Handling fee of $5 applied for gift wrapping"`.
397
+ * @maxLength 250
398
+ */
399
+ description?: string | null;
400
+ /** Delivery price of additional charge. For example, `12.5`. */
401
+ deliveryPrice?: Price;
402
+ }
369
403
  interface DeliveryAllocation {
370
404
  /** The delivery option's carrier details, could be multiple if the delivery option is a combination of multiple carriers */
371
405
  deliveryCarrier?: Carrier;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wix/auto_sdk_ecom_delivery-solutions",
3
- "version": "1.0.16",
3
+ "version": "1.0.18",
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": "15c3b546d0b4f6dd3c60db54d54cac6b0a168f8d7d729a5d0513e598"
52
+ "falconPackageHash": "1b411a770b9f05cbfbf6db8abae71f8633bcbfcf26cbc445ac9a1400"
53
53
  }