@nicefer/types 1.0.109 → 1.0.111

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.
@@ -33,5 +33,6 @@ export interface DeliveryMethod {
33
33
  name: string;
34
34
  desc: string;
35
35
  inBusinessDays: number;
36
- price: number;
36
+ deliveryFeeInUSD: number;
37
+ deliveryFeeInHNL: number;
37
38
  }
@@ -1,3 +1,4 @@
1
+ import { DeliveryMethod } from "./bag";
1
2
  import { Country, Region } from "./countries";
2
3
  export interface WarehouseInDB {
3
4
  id?: string;
@@ -18,11 +19,12 @@ export interface WarehouseInDB {
18
19
  createdAt: string;
19
20
  }
20
21
  /**
21
- * Tiempo de entrega en días hábiles de un país a otro.
22
+ * Tiempo de entrega en días hábiles de un país a otro
22
23
  */
23
24
  export interface WarehouseDeliveryTime {
24
- countryId: string;
25
+ countryId: Country['id'];
25
26
  countryName: string;
26
- inBusinessDays: number;
27
- deliveryFee: number;
27
+ deliveryMethods: {
28
+ [deliveryMethodId in DeliveryMethod['id']]: DeliveryMethod;
29
+ };
28
30
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nicefer/types",
3
- "version": "1.0.109",
3
+ "version": "1.0.111",
4
4
  "description": "Tipos compartidos para Nicefer",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",