wsp-contracts 1.0.24 → 1.0.25

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.
@@ -119,13 +119,15 @@ export interface RefundDTO {
119
119
  buyerName: string;
120
120
  purchaseCode: string;
121
121
  status: string;
122
- items: LineItemDTO[];
123
122
  refundedItems: LineItemDTO[];
124
123
  amount: number;
125
124
  finishDate: string;
126
125
  createdAt: string;
127
126
  }
127
+ export interface BuffetRefundDTO extends RefundDTO {
128
+ items: LineItemDTO[];
129
+ }
128
130
  export interface BuffetOperationDTO {
129
131
  type: 'PURCHASE' | 'REFUND';
130
- data: PurchaseDTO | RefundDTO;
132
+ data: PurchaseDTO | BuffetRefundDTO;
131
133
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "wsp-contracts",
3
- "version": "1.0.24",
3
+ "version": "1.0.25",
4
4
  "description": "DTOs y event-schemas compartidos entre microservicios de WonaSports. Solo tipos (declarations).",
5
5
  "license": "MIT",
6
6
  "files": [