wsp-contracts 1.0.12 → 1.0.14

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,6 +33,7 @@ export interface LineItemDiscountDTO {
33
33
  [key: string]: unknown;
34
34
  }
35
35
  export interface LineItemDTO {
36
+ uuid: string;
36
37
  sku: string;
37
38
  code: string;
38
39
  name: string;
@@ -86,16 +87,16 @@ export interface CreateAndPayPurchaseDTO {
86
87
  purchase: PurchaseDTO;
87
88
  payments: PurchasePaymentDTO[];
88
89
  }
89
- export interface PurchaseRefundItem {
90
+ export interface PurchaseRefundItemDTO {
90
91
  uuid: string;
91
92
  wasted: boolean;
92
93
  qty: number;
93
94
  }
94
- export interface PurchaseRefundInfo {
95
+ export interface PurchaseRefundInfoDTO {
95
96
  purchaseUuid: string;
96
- items: PurchaseRefundItem[];
97
+ items: PurchaseRefundItemDTO[];
97
98
  }
98
- export interface PurchaseRefund {
99
- purchase: PurchaseRefundInfo;
99
+ export interface PurchaseRefundDTO {
100
+ purchase: PurchaseRefundInfoDTO;
100
101
  payments: PurchasePaymentDTO[];
101
102
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wsp-contracts",
3
- "version": "1.0.12",
3
+ "version": "1.0.14",
4
4
  "description": "DTOs y event-schemas compartidos entre microservicios de WonaSports. Solo tipos (declarations).",
5
5
  "license": "MIT",
6
6
  "files": [