@pedro.araujo/ml-architecture-shared 0.1.49 → 0.1.50

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.
package/dist/index.d.ts CHANGED
@@ -34,8 +34,10 @@ export * from "./bid/update-bid-request.dto.js";
34
34
  export * from "./bid/update-bid-request.schema.js";
35
35
  export * from "./item-financial-event/create-item-financial-event-request.dto.js";
36
36
  export * from "./item-financial-event/create-item-financial-event-request.schema.js";
37
+ export * from "./item-financial-event/item-financial-event-response.dto.js";
37
38
  export * from "./item-financial-event/item-financial-event-type.enum.js";
38
39
  export * from "./item-financial-event/payment-type.enum.js";
40
+ export * from "./item-financial-installment/item-financial-installment-response.dto.js";
39
41
  export * from "./item-note/create-item-note-request.dto.js";
40
42
  export * from "./item-note/create-item-note-request.schema.js";
41
43
  export * from "./item-note/delete-item-note-request.dto.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC;AACzD,cAAc,gDAAgD,CAAC;AAC/D,cAAc,kDAAkD,CAAC;AACjE,cAAc,qDAAqD,CAAC;AACpE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8CAA8C,CAAC;AAC7D,cAAc,mDAAmD,CAAC;AAClE,cAAc,sDAAsD,CAAC;AACrE,cAAc,iDAAiD,CAAC;AAChE,cAAc,oDAAoD,CAAC;AACnE,cAAc,kDAAkD,CAAC;AAEjE,cAAc,2DAA2D,CAAC;AAE1E,cAAc,uDAAuD,CAAC;AAEtE,cAAc,2DAA2D,CAAC;AAC1E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,uDAAuD,CAAC;AACtE,cAAc,oDAAoD,CAAC;AACnE,cAAc,sDAAsD,CAAC;AACrE,cAAc,6DAA6D,CAAC;AAC5E,cAAc,gEAAgE,CAAC;AAE/E,cAAc,mDAAmD,CAAC;AAElE,cAAc,iEAAiE,CAAC;AAEhF,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@ -34,8 +34,10 @@ export * from "./bid/update-bid-request.dto.js";
34
34
  export * from "./bid/update-bid-request.schema.js";
35
35
  export * from "./item-financial-event/create-item-financial-event-request.dto.js";
36
36
  export * from "./item-financial-event/create-item-financial-event-request.schema.js";
37
+ export * from "./item-financial-event/item-financial-event-response.dto.js";
37
38
  export * from "./item-financial-event/item-financial-event-type.enum.js";
38
39
  export * from "./item-financial-event/payment-type.enum.js";
40
+ export * from "./item-financial-installment/item-financial-installment-response.dto.js";
39
41
  export * from "./item-note/create-item-note-request.dto.js";
40
42
  export * from "./item-note/create-item-note-request.schema.js";
41
43
  export * from "./item-note/delete-item-note-request.dto.js";
@@ -0,0 +1,19 @@
1
+ import { UserResponseDTO } from "../user/user-response.dto.js";
2
+ import { ItemFinancialInstallmentResponseDTO } from "../item-financial-installment/item-financial-installment-response.dto.js";
3
+ import { ItemFinancialEventType } from "./item-financial-event-type.enum.js";
4
+ import { PaymentType } from "./payment-type.enum.js";
5
+ export interface ItemFinancialEventResponseDTO {
6
+ id: number;
7
+ type: ItemFinancialEventType;
8
+ createdByUser: UserResponseDTO;
9
+ counterpartyUser?: UserResponseDTO;
10
+ occurredAt: string;
11
+ note: string;
12
+ totalAmount: number;
13
+ paymentType: PaymentType;
14
+ downPayment?: number;
15
+ installments: ItemFinancialInstallmentResponseDTO[];
16
+ createdAt: string;
17
+ updatedAt?: string;
18
+ }
19
+ //# sourceMappingURL=item-financial-event-response.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"item-financial-event-response.dto.d.ts","sourceRoot":"","sources":["../../src/item-financial-event/item-financial-event-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,mCAAmC,EAAE,MAAM,0EAA0E,CAAC;AAC/H,OAAO,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AAC7E,OAAO,EAAE,WAAW,EAAE,MAAM,wBAAwB,CAAC;AAErD,MAAM,WAAW,6BAA6B;IAC5C,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,sBAAsB,CAAC;IAE7B,aAAa,EAAE,eAAe,CAAC;IAC/B,gBAAgB,CAAC,EAAE,eAAe,CAAC;IAEnC,UAAU,EAAE,MAAM,CAAC;IACnB,IAAI,EAAE,MAAM,CAAC;IAEb,WAAW,EAAE,MAAM,CAAC;IACpB,WAAW,EAAE,WAAW,CAAC;IACzB,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,YAAY,EAAE,mCAAmC,EAAE,CAAC;IAEpD,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,8 @@
1
+ export interface ItemFinancialInstallmentResponseDTO {
2
+ id: number;
3
+ sequence: number;
4
+ dueDate: string;
5
+ amount: number;
6
+ paidAt?: string;
7
+ }
8
+ //# sourceMappingURL=item-financial-installment-response.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"item-financial-installment-response.dto.d.ts","sourceRoot":"","sources":["../../src/item-financial-installment/item-financial-installment-response.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mCAAmC;IAClD,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pedro.araujo/ml-architecture-shared",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",