@pedro.araujo/ml-architecture-shared 0.1.61 → 0.1.63

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,3 +1,4 @@
1
+ import { AuctionItemStatus } from "../auction-item-status/auction-item-status-response.dto.js";
1
2
  import { AuctionItemUserRole } from "../auction-item-user/auction-item-user-role.enum.js";
2
3
  import { ItemFinancialEventType } from "../item-financial-event/item-financial-event-type.enum.js";
3
4
  import { PaymentType } from "../item-financial-event/payment-type.enum.js";
@@ -14,6 +15,7 @@ export interface GetAuctionItemsRequestDTO extends PaginationRequestDTO {
14
15
  financialEventTypes?: ItemFinancialEventType[];
15
16
  financialPaymentTypes?: PaymentType[];
16
17
  financialOccurredAt?: string[];
18
+ status?: AuctionItemStatus[];
17
19
  search?: string;
18
20
  }
19
21
  //# sourceMappingURL=get-auction-items-request.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-auction-items-request.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item/get-auction-items-request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAE,MAAM,qDAAqD,CAAC;AAC1F,OAAO,EAAE,sBAAsB,EAAE,MAAM,2DAA2D,CAAC;AACnG,OAAO,EAAE,WAAW,EAAE,MAAM,8CAA8C,CAAC;AAC3E,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,oBAAoB,EAAE,MAAM,mCAAmC,CAAC;AAEzE,MAAM,WAAW,yBAA0B,SAAQ,oBAAoB;IACnE,KAAK,EAAE,mBAAmB,EAAE,CAAC;IAC7B,KAAK,CAAC,EAAE,oBAAoB,CAAC;IAC7B,aAAa,CAAC,EAAE,MAAM,EAAE,CAAC;IAEzB,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,YAAY,CAAC,EAAE,MAAM,EAAE,CAAC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1 @@
1
- {"version":3,"file":"get-auction-items-request.schema.d.ts","sourceRoot":"","sources":["../../src/auction-item/get-auction-items-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAO/E,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAsB1E,CAAC"}
1
+ {"version":3,"file":"get-auction-items-request.schema.d.ts","sourceRoot":"","sources":["../../src/auction-item/get-auction-items-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,yBAAyB,EAAE,MAAM,oCAAoC,CAAC;AAQ/E,eAAO,MAAM,4BAA4B,EAAE,CAAC,CAAC,OAAO,CAAC,yBAAyB,CAwB1E,CAAC"}
@@ -4,6 +4,7 @@ import { AuctionItemUserRole } from "../auction-item-user/auction-item-user-role
4
4
  import { AuctionItemOrderType } from "./auction-item-order-type.enum.js";
5
5
  import { ItemFinancialEventType } from "../item-financial-event/item-financial-event-type.enum.js";
6
6
  import { PaymentType } from "../item-financial-event/payment-type.enum.js";
7
+ import { AuctionItemStatus } from "../auction-item-status/auction-item-status-response.dto.js";
7
8
  export const GetAuctionItemsRequestSchema = PaginationRequestSchema.extend({
8
9
  roles: z
9
10
  .enum(AuctionItemUserRole)
@@ -19,5 +20,6 @@ export const GetAuctionItemsRequestSchema = PaginationRequestSchema.extend({
19
20
  financialEventTypes: z.enum(ItemFinancialEventType).array().optional(),
20
21
  financialPaymentTypes: z.enum(PaymentType).array().optional(),
21
22
  financialOccurredAt: z.array(z.iso.datetime()).length(2).optional(),
23
+ status: z.enum(AuctionItemStatus).array().optional(),
22
24
  search: z.string().min(1).optional(),
23
25
  });
@@ -0,0 +1,4 @@
1
+ export interface PreviewAuctionItemRequestDTO {
2
+ url: string;
3
+ }
4
+ //# sourceMappingURL=preview-auction-item-request.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preview-auction-item-request.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item/preview-auction-item-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,4BAA4B;IAC3C,GAAG,EAAE,MAAM,CAAC;CACb"}
@@ -0,0 +1,4 @@
1
+ import { z } from "zod";
2
+ import { PreviewAuctionItemRequestDTO } from "./preview-auction-item-request.dto.js";
3
+ export declare const PreviewAuctionItemSchema: z.ZodType<PreviewAuctionItemRequestDTO>;
4
+ //# sourceMappingURL=preview-auction-item-request.schema.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preview-auction-item-request.schema.d.ts","sourceRoot":"","sources":["../../src/auction-item/preview-auction-item-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,4BAA4B,EAAE,MAAM,uCAAuC,CAAC;AAErF,eAAO,MAAM,wBAAwB,EAAE,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAGzE,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { z } from "zod";
2
+ export const PreviewAuctionItemSchema = z.object({
3
+ url: z.url(),
4
+ });
package/dist/index.d.ts CHANGED
@@ -11,6 +11,8 @@ export * from "./auction-item/get-auction-agenda-request.schema.js";
11
11
  export * from "./auction-item/get-auction-items-request.dto.js";
12
12
  export * from "./auction-item/get-auction-items-request.schema.js";
13
13
  export * from "./auction-item/get-auction-items-response.dto.js";
14
+ export * from "./auction-item/preview-auction-item-request.dto.js";
15
+ export * from "./auction-item/preview-auction-item-request.schema.js";
14
16
  export * from "./auction-item-status/auction-item-status-response.dto.js";
15
17
  export * from "./auction-item-type/auction-item-type-response.dto.js";
16
18
  export * from "./auction-item-user/add-auction-item-users-request.dto.js";
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC;AACzD,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CAAC;AACnD,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AACnD,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,kDAAkD,CAAC;AACjE,cAAc,qDAAqD,CAAC;AACpE,cAAc,iCAAiC,CAAC;AAChD,cAAc,oCAAoC,CAAC;AAEnD,cAAc,mEAAmE,CAAC;AAClF,cAAc,sEAAsE,CAAC;AACrF,cAAc,mEAAmE,CAAC;AAClF,cAAc,sEAAsE,CAAC;AACrF,cAAc,6DAA6D,CAAC;AAC5E,cAAc,0DAA0D,CAAC;AACzE,cAAc,6CAA6C,CAAC;AAE5D,cAAc,yEAAyE,CAAC;AAExF,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gDAAgD,CAAC;AAC/D,cAAc,2DAA2D,CAAC;AAC1E,cAAc,8DAA8D,CAAC;AAC7E,cAAc,uCAAuC,CAAC;AACtD,cAAc,6CAA6C,CAAC;AAC5D,cAAc,gDAAgD,CAAC;AAE/D,cAAc,iDAAiD,CAAC;AAEhE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,wCAAwC,CAAC;AACvD,cAAc,yCAAyC,CAAC;AAExD,cAAc,+DAA+D,CAAC;AAE9E,cAAc,6BAA6B,CAAC;AAC5C,cAAc,4BAA4B,CAAC"}
package/dist/index.js CHANGED
@@ -11,6 +11,8 @@ export * from "./auction-item/get-auction-agenda-request.schema.js";
11
11
  export * from "./auction-item/get-auction-items-request.dto.js";
12
12
  export * from "./auction-item/get-auction-items-request.schema.js";
13
13
  export * from "./auction-item/get-auction-items-response.dto.js";
14
+ export * from "./auction-item/preview-auction-item-request.dto.js";
15
+ export * from "./auction-item/preview-auction-item-request.schema.js";
14
16
  export * from "./auction-item-status/auction-item-status-response.dto.js";
15
17
  export * from "./auction-item-type/auction-item-type-response.dto.js";
16
18
  export * from "./auction-item-user/add-auction-item-users-request.dto.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pedro.araujo/ml-architecture-shared",
3
- "version": "0.1.61",
3
+ "version": "0.1.63",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "main": "dist/index.js",