@pedro.araujo/ml-architecture-shared 0.1.113 → 0.1.115
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/auction-item/auction-item-financial-summary-response.interface.d.ts +6 -2
- package/dist/auction-item/auction-item-financial-summary-response.interface.d.ts.map +1 -1
- package/dist/auction-item/auction-item-response.dto.d.ts +0 -6
- package/dist/auction-item/auction-item-response.dto.d.ts.map +1 -1
- package/dist/auction-item/auction-item-with-financial-summary-response.dto.d.ts +7 -0
- package/dist/auction-item/auction-item-with-financial-summary-response.dto.d.ts.map +1 -0
- package/dist/auction-item/create-auction-item.schema.d.ts.map +1 -1
- package/dist/auction-item/create-auction-item.schema.js +9 -8
- package/dist/auction-item/update-auction-item.dto.d.ts +0 -1
- package/dist/auction-item/update-auction-item.dto.d.ts.map +1 -1
- package/dist/auction-item/update-auction-item.schema.d.ts.map +1 -1
- package/dist/auction-item/update-auction-item.schema.js +5 -5
- package/dist/auction-item-participation/auction-item-participation-response.dto.d.ts +19 -0
- package/dist/auction-item-participation/auction-item-participation-response.dto.d.ts.map +1 -0
- package/dist/auction-item-participation/auction-participation-status.enum.d.ts +6 -0
- package/dist/auction-item-participation/auction-participation-status.enum.d.ts.map +1 -0
- package/dist/auction-item-participation/auction-participation-status.enum.js +6 -0
- package/dist/auction-item-participation/auction-participation-type.enum.d.ts +5 -0
- package/dist/auction-item-participation/auction-participation-type.enum.d.ts.map +1 -0
- package/dist/auction-item-participation/auction-participation-type.enum.js +5 -0
- package/dist/auction-item-user/get-auction-item-users-request.dto.d.ts +2 -0
- package/dist/auction-item-user/get-auction-item-users-request.dto.d.ts.map +1 -1
- package/dist/auction-item-user/get-auction-item-users-request.schema.d.ts.map +1 -1
- package/dist/auction-item-user/get-auction-item-users-request.schema.js +2 -0
- package/dist/financial-account/financial-account-response.dto.d.ts +5 -0
- package/dist/financial-account/financial-account-response.dto.d.ts.map +1 -0
- package/dist/financial-account/financial-account-response.dto.js +1 -0
- package/dist/financial-account/update-financial-account-request.dto.d.ts +4 -0
- package/dist/financial-account/update-financial-account-request.dto.d.ts.map +1 -0
- package/dist/financial-account/update-financial-account-request.dto.js +1 -0
- package/dist/financial-account/update-financial-account-request.schema.d.ts +4 -0
- package/dist/financial-account/update-financial-account-request.schema.d.ts.map +1 -0
- package/dist/financial-account/update-financial-account-request.schema.js +4 -0
- package/dist/index.d.ts +13 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +13 -0
- package/dist/item-financial-event/item-financial-event-type.enum.d.ts +2 -1
- package/dist/item-financial-event/item-financial-event-type.enum.d.ts.map +1 -1
- package/dist/item-financial-event/item-financial-event-type.enum.js +1 -0
- package/dist/item-financial-movement/movement-direction.enum.d.ts +5 -0
- package/dist/item-financial-movement/movement-direction.enum.d.ts.map +1 -0
- package/dist/item-financial-movement/movement-direction.enum.js +5 -0
- package/dist/item-financial-movement/update-item-financial-movement-request.dto.d.ts +8 -0
- package/dist/item-financial-movement/update-item-financial-movement-request.dto.d.ts.map +1 -0
- package/dist/item-financial-movement/update-item-financial-movement-request.dto.js +1 -0
- package/dist/item-financial-movement/update-item-financial-movement-request.schema.d.ts +4 -0
- package/dist/item-financial-movement/update-item-financial-movement-request.schema.d.ts.map +1 -0
- package/dist/item-financial-movement/update-item-financial-movement-request.schema.js +8 -0
- package/dist/subscription/billing-cycle.type.d.ts +5 -0
- package/dist/subscription/billing-cycle.type.d.ts.map +1 -0
- package/dist/subscription/billing-cycle.type.js +5 -0
- package/dist/subscription/create-subscription-request.dto.d.ts +6 -0
- package/dist/subscription/create-subscription-request.dto.d.ts.map +1 -0
- package/dist/subscription/create-subscription-request.dto.js +1 -0
- package/dist/subscription/create-subscription-request.schema.d.ts +4 -0
- package/dist/subscription/create-subscription-request.schema.d.ts.map +1 -0
- package/dist/subscription/create-subscription-request.schema.js +6 -0
- package/dist/user/current-user-response.dto.d.ts +10 -0
- package/dist/user/current-user-response.dto.d.ts.map +1 -1
- package/dist/utils/nullable-money-schema.d.ts +3 -0
- package/dist/utils/nullable-money-schema.d.ts.map +1 -0
- package/dist/utils/nullable-money-schema.js +10 -0
- package/package.json +1 -1
- package/dist/auction-item/get-auction-items-response.dto.d.ts +0 -35
- package/dist/auction-item/get-auction-items-response.dto.d.ts.map +0 -1
- package/dist/auction-item-user/get-auction-item-user-request.dto.d.ts +0 -7
- package/dist/auction-item-user/get-auction-item-user-request.dto.d.ts.map +0 -1
- package/dist/auction-item-user/get-auction-item-user-request.schema.d.ts +0 -4
- package/dist/auction-item-user/get-auction-item-user-request.schema.d.ts.map +0 -1
- package/dist/auction-item-user/get-auction-item-user-request.schema.js +0 -7
- /package/dist/auction-item/{get-auction-items-response.dto.js → auction-item-with-financial-summary-response.dto.js} +0 -0
- /package/dist/{auction-item-user/get-auction-item-user-request.dto.js → auction-item-participation/auction-item-participation-response.dto.js} +0 -0
|
@@ -1,8 +1,12 @@
|
|
|
1
1
|
export interface AuctionItemFinancialSummaryResponseDTO {
|
|
2
|
-
|
|
2
|
+
saleAmount: number;
|
|
3
3
|
totalIncome: number;
|
|
4
4
|
totalExpenses: number;
|
|
5
|
-
|
|
5
|
+
acquisitionAmount: number;
|
|
6
|
+
totalShareReceived: number;
|
|
7
|
+
totalSharePaid: number;
|
|
8
|
+
saleDate: string;
|
|
9
|
+
acquisitionDate: string;
|
|
6
10
|
auctioneerAppraisalValue: number;
|
|
7
11
|
marketAppraisalValue: number;
|
|
8
12
|
minimumBidAmount: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auction-item-financial-summary-response.interface.d.ts","sourceRoot":"","sources":["../../src/auction-item/auction-item-financial-summary-response.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sCAAsC;IACrD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,
|
|
1
|
+
{"version":3,"file":"auction-item-financial-summary-response.interface.d.ts","sourceRoot":"","sources":["../../src/auction-item/auction-item-financial-summary-response.interface.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,sCAAsC;IACrD,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,aAAa,EAAE,MAAM,CAAC;IACtB,iBAAiB,EAAE,MAAM,CAAC;IAC1B,kBAAkB,EAAE,MAAM,CAAC;IAC3B,cAAc,EAAE,MAAM,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,eAAe,EAAE,MAAM,CAAC;IACxB,wBAAwB,EAAE,MAAM,CAAC;IACjC,oBAAoB,EAAE,MAAM,CAAC;IAC7B,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;IACzB,eAAe,EAAE,MAAM,CAAC;IACxB,yBAAyB,EAAE,MAAM,CAAC;IAClC,YAAY,EAAE,MAAM,CAAC;IACrB,sBAAsB,EAAE,MAAM,CAAC;CAChC"}
|
|
@@ -1,13 +1,10 @@
|
|
|
1
1
|
import { AuctionItemCloneResponseDTO } from "../auction-item-clone/auction-item-clone-response.dto.js";
|
|
2
2
|
import { AuctionItemStatus } from "../auction-item-status/auction-item-status-response.dto.js";
|
|
3
3
|
import { AuctionItemTypeResponseDTO } from "../auction-item-type/auction-item-type-response.dto.js";
|
|
4
|
-
import { AuctionItemUserResponseDTO } from "../auction-item-user/auction-item-user-response.dto.js";
|
|
5
4
|
import { AuctionSessionResponseDTO } from "../auction-session/auction-session-response.dto.js";
|
|
6
5
|
import { AuctionSourceResponseDTO } from "../auction-source/auction-source-response.dto.js";
|
|
7
6
|
import { AuctionTypeResponseDTO } from "../auction-type/auction-type-response.dto.js";
|
|
8
|
-
import { ItemFinancialEventResponseDTO } from "../item-financial-event/item-financial-event-response.dto.js";
|
|
9
7
|
import { ResponsibleAuthorityResponseDTO } from "../responsible-authority/responsible-authority-response.dto.js";
|
|
10
|
-
import { AuctionItemFinancialSummaryResponseDTO } from "./auction-item-financial-summary-response.interface.js";
|
|
11
8
|
export interface AuctionItemResponseDTO {
|
|
12
9
|
id: number;
|
|
13
10
|
title: string;
|
|
@@ -15,7 +12,6 @@ export interface AuctionItemResponseDTO {
|
|
|
15
12
|
itemType: AuctionItemTypeResponseDTO;
|
|
16
13
|
auctionType: AuctionTypeResponseDTO;
|
|
17
14
|
status: AuctionItemStatus;
|
|
18
|
-
users: AuctionItemUserResponseDTO[];
|
|
19
15
|
sessions: AuctionSessionResponseDTO[];
|
|
20
16
|
jurisdiction?: string;
|
|
21
17
|
auctioneerAppraisalValue?: number;
|
|
@@ -26,8 +22,6 @@ export interface AuctionItemResponseDTO {
|
|
|
26
22
|
photoUrl?: string;
|
|
27
23
|
auctionSource?: AuctionSourceResponseDTO;
|
|
28
24
|
authority?: ResponsibleAuthorityResponseDTO;
|
|
29
|
-
financialEvents?: ItemFinancialEventResponseDTO[];
|
|
30
|
-
financialSummary?: AuctionItemFinancialSummaryResponseDTO;
|
|
31
25
|
alreadyCloned?: boolean;
|
|
32
26
|
auctionItemClone?: AuctionItemCloneResponseDTO;
|
|
33
27
|
rootItemId?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"auction-item-response.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item/auction-item-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4DAA4D,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;
|
|
1
|
+
{"version":3,"file":"auction-item-response.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item/auction-item-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,0DAA0D,CAAC;AACvG,OAAO,EAAE,iBAAiB,EAAE,MAAM,4DAA4D,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AAEpG,OAAO,EAAE,yBAAyB,EAAE,MAAM,oDAAoD,CAAC;AAC/F,OAAO,EAAE,wBAAwB,EAAE,MAAM,kDAAkD,CAAC;AAC5F,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AAEtF,OAAO,EAAE,+BAA+B,EAAE,MAAM,gEAAgE,CAAC;AAGjH,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IAEpB,QAAQ,EAAE,0BAA0B,CAAC;IACrC,WAAW,EAAE,sBAAsB,CAAC;IACpC,MAAM,EAAE,iBAAiB,CAAC;IAE1B,QAAQ,EAAE,yBAAyB,EAAE,CAAC;IAEtC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB,wBAAwB,CAAC,EAAE,MAAM,CAAC;IAClC,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,aAAa,CAAC,EAAE,wBAAwB,CAAC;IACzC,SAAS,CAAC,EAAE,+BAA+B,CAAC;IAE5C,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,gBAAgB,CAAC,EAAE,2BAA2B,CAAC;IAC/C,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { AuctionItemFinancialSummaryResponseDTO } from "./auction-item-financial-summary-response.interface.js";
|
|
2
|
+
import { AuctionItemResponseDTO } from "./auction-item-response.dto.js";
|
|
3
|
+
export interface AuctionItemWithFinancialSummaryResponseDTO {
|
|
4
|
+
item: AuctionItemResponseDTO;
|
|
5
|
+
financialSummary: AuctionItemFinancialSummaryResponseDTO;
|
|
6
|
+
}
|
|
7
|
+
//# sourceMappingURL=auction-item-with-financial-summary-response.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auction-item-with-financial-summary-response.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item/auction-item-with-financial-summary-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sCAAsC,EAAE,MAAM,wDAAwD,CAAC;AAChH,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AAExE,MAAM,WAAW,0CAA0C;IACzD,IAAI,EAAE,sBAAsB,CAAC;IAC7B,gBAAgB,EAAE,sCAAsC,CAAC;CAC1D"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"create-auction-item.schema.d.ts","sourceRoot":"","sources":["../../src/auction-item/create-auction-item.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"create-auction-item.schema.d.ts","sourceRoot":"","sources":["../../src/auction-item/create-auction-item.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAIzE,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAsDhE,CAAC"}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { CreateAuctionSessionRequestSchema } from "../auction-session/create-auction-session-request.schema.js";
|
|
3
|
+
import { NullableMoneySchema } from "../utils/nullable-money-schema.js";
|
|
3
4
|
export const CreateAuctionItemSchema = z.object({
|
|
4
5
|
title: z.string().min(2).max(255),
|
|
5
6
|
auctionLink: z.url().max(2048),
|
|
6
|
-
itemTypeId: z.number().int().positive(),
|
|
7
|
-
auctionTypeId: z.number().int().positive(),
|
|
8
|
-
authorityId: z.number().int().nullable(),
|
|
9
|
-
auctionSourceId: z.number().int().nullable(),
|
|
7
|
+
itemTypeId: z.coerce.number().int().positive(),
|
|
8
|
+
auctionTypeId: z.coerce.number().int().positive(),
|
|
9
|
+
authorityId: z.coerce.number().int().nullable(),
|
|
10
|
+
auctionSourceId: z.coerce.number().int().nullable(),
|
|
10
11
|
sessions: z
|
|
11
12
|
.array(CreateAuctionSessionRequestSchema)
|
|
12
13
|
.length(4)
|
|
@@ -39,10 +40,10 @@ export const CreateAuctionItemSchema = z.object({
|
|
|
39
40
|
}
|
|
40
41
|
}),
|
|
41
42
|
jurisdiction: z.string().max(100).nullable(),
|
|
42
|
-
auctioneerAppraisalValue:
|
|
43
|
-
marketAppraisalValue:
|
|
44
|
-
minimumBidAmount:
|
|
45
|
-
highestBidAmount:
|
|
43
|
+
auctioneerAppraisalValue: NullableMoneySchema,
|
|
44
|
+
marketAppraisalValue: NullableMoneySchema,
|
|
45
|
+
minimumBidAmount: NullableMoneySchema,
|
|
46
|
+
highestBidAmount: NullableMoneySchema,
|
|
46
47
|
notes: z.string().max(2000).nullable(),
|
|
47
48
|
photoUrl: z.url().max(2048).nullable(),
|
|
48
49
|
collaboratorsEmails: z.array(z.email()).max(10).nullable(),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-auction-item.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item/update-auction-item.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,0DAA0D,CAAC;AAE1G,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,EAAE,8BAA8B,EAAE,CAAC;IAE3C,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;
|
|
1
|
+
{"version":3,"file":"update-auction-item.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item/update-auction-item.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8BAA8B,EAAE,MAAM,0DAA0D,CAAC;AAE1G,MAAM,WAAW,oBAAoB;IACnC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IAEpB,UAAU,EAAE,MAAM,CAAC;IACnB,aAAa,EAAE,MAAM,CAAC;IACtB,WAAW,EAAE,MAAM,GAAG,IAAI,CAAC;IAC3B,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAC/B,QAAQ,EAAE,8BAA8B,EAAE,CAAC;IAE3C,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B,wBAAwB,EAAE,MAAM,GAAG,IAAI,CAAC;IACxC,oBAAoB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEpC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEhC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IACrB,QAAQ,EAAE,MAAM,GAAG,IAAI,CAAC;CACzB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"update-auction-item.schema.d.ts","sourceRoot":"","sources":["../../src/auction-item/update-auction-item.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;
|
|
1
|
+
{"version":3,"file":"update-auction-item.schema.d.ts","sourceRoot":"","sources":["../../src/auction-item/update-auction-item.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAIpE,eAAO,MAAM,uBAAuB,EAAE,CAAC,CAAC,OAAO,CAAC,oBAAoB,CAqDhE,CAAC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { UpdateAuctionSessionRequestSchema } from "../auction-session/update-auction-session-request.schema.js";
|
|
3
|
+
import { NullableMoneySchema } from "../utils/nullable-money-schema.js";
|
|
3
4
|
export const UpdateAuctionItemSchema = z.object({
|
|
4
5
|
title: z.string().min(2).max(255),
|
|
5
6
|
auctionLink: z.url().max(2048),
|
|
@@ -39,11 +40,10 @@ export const UpdateAuctionItemSchema = z.object({
|
|
|
39
40
|
}
|
|
40
41
|
}),
|
|
41
42
|
jurisdiction: z.string().max(100).nullable(),
|
|
42
|
-
auctioneerAppraisalValue:
|
|
43
|
-
marketAppraisalValue:
|
|
44
|
-
minimumBidAmount:
|
|
45
|
-
highestBidAmount:
|
|
43
|
+
auctioneerAppraisalValue: NullableMoneySchema,
|
|
44
|
+
marketAppraisalValue: NullableMoneySchema,
|
|
45
|
+
minimumBidAmount: NullableMoneySchema,
|
|
46
|
+
highestBidAmount: NullableMoneySchema,
|
|
46
47
|
notes: z.string().max(2000).nullable(),
|
|
47
48
|
photoUrl: z.url().max(2048).nullable(),
|
|
48
|
-
collaboratorsEmails: z.array(z.email()).max(10).nullable(),
|
|
49
49
|
});
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { UserResponseDTO } from "../user/user-response.dto.js";
|
|
2
|
+
import { AuctionParticipationStatus } from "./auction-participation-status.enum.js";
|
|
3
|
+
import { AuctionParticipationType } from "./auction-participation-type.enum.js";
|
|
4
|
+
export interface AuctionItemParticipationResponseDTO {
|
|
5
|
+
id: number;
|
|
6
|
+
auctionItemId: number;
|
|
7
|
+
user: UserResponseDTO;
|
|
8
|
+
percentage: number;
|
|
9
|
+
entryAmount: number;
|
|
10
|
+
installments: number | null;
|
|
11
|
+
totalCommitted: number;
|
|
12
|
+
type: AuctionParticipationType;
|
|
13
|
+
status: AuctionParticipationStatus;
|
|
14
|
+
acceptedAt: Date | null;
|
|
15
|
+
rejectedAt: Date | null;
|
|
16
|
+
createdAt: Date;
|
|
17
|
+
updatedAt: Date | null;
|
|
18
|
+
}
|
|
19
|
+
//# sourceMappingURL=auction-item-participation-response.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auction-item-participation-response.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item-participation/auction-item-participation-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,8BAA8B,CAAC;AAC/D,OAAO,EAAE,0BAA0B,EAAE,MAAM,wCAAwC,CAAC;AACpF,OAAO,EAAE,wBAAwB,EAAE,MAAM,sCAAsC,CAAC;AAEhF,MAAM,WAAW,mCAAmC;IAClD,EAAE,EAAE,MAAM,CAAC;IACX,aAAa,EAAE,MAAM,CAAC;IACtB,IAAI,EAAE,eAAe,CAAC;IACtB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,EAAE,MAAM,CAAC;IACpB,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,cAAc,EAAE,MAAM,CAAC;IACvB,IAAI,EAAE,wBAAwB,CAAC;IAC/B,MAAM,EAAE,0BAA0B,CAAC;IACnC,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,UAAU,EAAE,IAAI,GAAG,IAAI,CAAC;IACxB,SAAS,EAAE,IAAI,CAAC;IAChB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auction-participation-status.enum.d.ts","sourceRoot":"","sources":["../../src/auction-item-participation/auction-participation-status.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,0BAA0B;IACpC,OAAO,YAAY;IACnB,QAAQ,aAAa;IACrB,QAAQ,aAAa;CACtB"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export var AuctionParticipationStatus;
|
|
2
|
+
(function (AuctionParticipationStatus) {
|
|
3
|
+
AuctionParticipationStatus["INVITED"] = "INVITED";
|
|
4
|
+
AuctionParticipationStatus["ACCEPTED"] = "ACCEPTED";
|
|
5
|
+
AuctionParticipationStatus["REJECTED"] = "REJECTED";
|
|
6
|
+
})(AuctionParticipationStatus || (AuctionParticipationStatus = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auction-participation-type.enum.d.ts","sourceRoot":"","sources":["../../src/auction-item-participation/auction-participation-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,wBAAwB;IAClC,WAAW,gBAAgB;IAC3B,IAAI,SAAS;CACd"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { PaginationRequestDTO } from "../pagination/pagination-request.dto.js";
|
|
2
2
|
import { AuctionItemUserRole } from "./auction-item-user-role.enum.js";
|
|
3
|
+
import { AuctionItemUserStatus } from "./auction-item-user-status.enum.js";
|
|
3
4
|
export interface GetAuctionItemUsersRequestDTO extends PaginationRequestDTO {
|
|
4
5
|
auctionItemId: number;
|
|
5
6
|
roles?: AuctionItemUserRole[];
|
|
7
|
+
status?: AuctionItemUserStatus;
|
|
6
8
|
}
|
|
7
9
|
//# sourceMappingURL=get-auction-item-users-request.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-auction-item-users-request.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item-user/get-auction-item-users-request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;
|
|
1
|
+
{"version":3,"file":"get-auction-item-users-request.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item-user/get-auction-item-users-request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AACvE,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAE3E,MAAM,WAAW,6BAA8B,SAAQ,oBAAoB;IACzE,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,mBAAmB,EAAE,CAAC;IAC9B,MAAM,CAAC,EAAE,qBAAqB,CAAC;CAChC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"get-auction-item-users-request.schema.d.ts","sourceRoot":"","sources":["../../src/auction-item-user/get-auction-item-users-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;
|
|
1
|
+
{"version":3,"file":"get-auction-item-users-request.schema.d.ts","sourceRoot":"","sources":["../../src/auction-item-user/get-auction-item-users-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,6BAA6B,EAAE,MAAM,yCAAyC,CAAC;AAKxF,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CAAC,6BAA6B,CAKlF,CAAC"}
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
import { PaginationRequestSchema } from "../pagination/pagination-request.schema.js";
|
|
3
3
|
import { AuctionItemUserRole } from "./auction-item-user-role.enum.js";
|
|
4
|
+
import { AuctionItemUserStatus } from "./auction-item-user-status.enum.js";
|
|
4
5
|
export const GetAuctionItemUsersRequestSchema = PaginationRequestSchema.extend({
|
|
5
6
|
auctionItemId: z.number().int().positive(),
|
|
6
7
|
roles: z.enum(AuctionItemUserRole).array().optional(),
|
|
8
|
+
status: z.enum(AuctionItemUserStatus).optional(),
|
|
7
9
|
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"financial-account-response.dto.d.ts","sourceRoot":"","sources":["../../src/financial-account/financial-account-response.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,2BAA2B;IAC1C,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-financial-account-request.dto.d.ts","sourceRoot":"","sources":["../../src/financial-account/update-financial-account-request.dto.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,gCAAgC;IAC/C,cAAc,EAAE,MAAM,CAAC;CACxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import z from "zod";
|
|
2
|
+
import { UpdateFinancialAccountRequestDTO } from "./update-financial-account-request.dto.js";
|
|
3
|
+
export declare const UpdateFinancialAccountRequestSchema: z.ZodType<UpdateFinancialAccountRequestDTO>;
|
|
4
|
+
//# sourceMappingURL=update-financial-account-request.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-financial-account-request.schema.d.ts","sourceRoot":"","sources":["../../src/financial-account/update-financial-account-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,gCAAgC,EAAE,MAAM,2CAA2C,CAAC;AAE7F,eAAO,MAAM,mCAAmC,EAAE,CAAC,CAAC,OAAO,CAAC,gCAAgC,CAGxF,CAAC"}
|
package/dist/index.d.ts
CHANGED
|
@@ -23,11 +23,15 @@ export * from "./auction-item-comment/get-auction-item-comments-request.dto.js";
|
|
|
23
23
|
export * from "./auction-item-comment/get-auction-item-comments-request.schema.js";
|
|
24
24
|
export * from "./auction-item-comment/update-auction-item-comment-request.dto.js";
|
|
25
25
|
export * from "./auction-item-comment/update-auction-item-comment-request.schema.js";
|
|
26
|
+
export * from "./auction-item-participation/auction-item-participation-response.dto.js";
|
|
27
|
+
export * from "./auction-item-participation/auction-participation-status.enum.js";
|
|
28
|
+
export * from "./auction-item-participation/auction-participation-type.enum.js";
|
|
26
29
|
export * from "./auction-item/get-auction-agenda-request.dto.js";
|
|
27
30
|
export * from "./auction-item/get-auction-agenda-request.schema.js";
|
|
28
31
|
export * from "./auction-item/get-auction-items-request.dto.js";
|
|
29
32
|
export * from "./auction-item/get-auction-items-request.schema.js";
|
|
30
33
|
export * from "./auction-item/auction-item-response.dto.js";
|
|
34
|
+
export * from "./auction-item/auction-item-with-financial-summary-response.dto.js";
|
|
31
35
|
export * from "./auction-item/preview-auction-item-request.dto.js";
|
|
32
36
|
export * from "./auction-item/preview-auction-item-request.schema.js";
|
|
33
37
|
export * from "./auction-item-status/auction-item-status-response.dto.js";
|
|
@@ -63,6 +67,9 @@ export * from "./counterparty/get-counterparties-request.schema.js";
|
|
|
63
67
|
export * from "./counterparty/update-counterparty-request.dto.js";
|
|
64
68
|
export * from "./counterparty/update-counterparty.schema.js";
|
|
65
69
|
export * from "./counterparty-type/counterparty-type.js";
|
|
70
|
+
export * from "./financial-account/financial-account-response.dto.js";
|
|
71
|
+
export * from "./financial-account/update-financial-account-request.dto.js";
|
|
72
|
+
export * from "./financial-account/update-financial-account-request.schema.js";
|
|
66
73
|
export * from "./bid/bid-response.dto.js";
|
|
67
74
|
export * from "./bid/create-bid-request.dto.js";
|
|
68
75
|
export * from "./bid/create-bid-request.schema.js";
|
|
@@ -116,6 +123,9 @@ export * from "./item-financial-movement/get-item-financial-movement-with-event-
|
|
|
116
123
|
export * from "./item-financial-movement/get-item-financial-movement-with-event-request.dto.js";
|
|
117
124
|
export * from "./item-financial-movement/get-item-financial-movement-with-event-response.dto.js";
|
|
118
125
|
export * from "./item-financial-movement/item-financial-movement-response.dto.js";
|
|
126
|
+
export * from "./item-financial-movement/movement-direction.enum.js";
|
|
127
|
+
export * from "./item-financial-movement/update-item-financial-movement-request.dto.js";
|
|
128
|
+
export * from "./item-financial-movement/update-item-financial-movement-request.schema.js";
|
|
119
129
|
export * from "./item-note/create-item-note-request.dto.js";
|
|
120
130
|
export * from "./item-note/create-item-note-request.schema.js";
|
|
121
131
|
export * from "./item-note/delete-item-note-request.dto.js";
|
|
@@ -132,6 +142,9 @@ export * from "./pagination/pagination-request.schema.js";
|
|
|
132
142
|
export * from "./pagination/pagination-request.dto.js";
|
|
133
143
|
export * from "./pagination/pagination-response.dto.js";
|
|
134
144
|
export * from "./responsible-authority/responsible-authority-response.dto.js";
|
|
145
|
+
export * from "./subscription/billing-cycle.type.js";
|
|
146
|
+
export * from "./subscription/create-subscription-request.dto.js";
|
|
147
|
+
export * from "./subscription/create-subscription-request.schema.js";
|
|
135
148
|
export * from "./user/current-user-response.dto.js";
|
|
136
149
|
export * from "./user/user-response.dto.js";
|
|
137
150
|
export * from "./user/user-status.enum.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,oCAAoC,CAAC;AAEnD,cAAc,qEAAqE,CAAC;AACpF,cAAc,gDAAgD,CAAC;AAC/D,cAAc,iDAAiD,CAAC;AAChE,cAAc,2CAA2C,CAAC;AAC1D,cAAc,8CAA8C,CAAC;AAE7D,cAAc,+DAA+D,CAAC;AAC9E,cAAc,kEAAkE,CAAC;AAEjF,cAAc,2CAA2C,CAAC;AA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;AAChG,cAAc,8EAA8E,CAAC;AAC7F,cAAc,wEAAwE,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -23,11 +23,15 @@ export * from "./auction-item-comment/get-auction-item-comments-request.dto.js";
|
|
|
23
23
|
export * from "./auction-item-comment/get-auction-item-comments-request.schema.js";
|
|
24
24
|
export * from "./auction-item-comment/update-auction-item-comment-request.dto.js";
|
|
25
25
|
export * from "./auction-item-comment/update-auction-item-comment-request.schema.js";
|
|
26
|
+
export * from "./auction-item-participation/auction-item-participation-response.dto.js";
|
|
27
|
+
export * from "./auction-item-participation/auction-participation-status.enum.js";
|
|
28
|
+
export * from "./auction-item-participation/auction-participation-type.enum.js";
|
|
26
29
|
export * from "./auction-item/get-auction-agenda-request.dto.js";
|
|
27
30
|
export * from "./auction-item/get-auction-agenda-request.schema.js";
|
|
28
31
|
export * from "./auction-item/get-auction-items-request.dto.js";
|
|
29
32
|
export * from "./auction-item/get-auction-items-request.schema.js";
|
|
30
33
|
export * from "./auction-item/auction-item-response.dto.js";
|
|
34
|
+
export * from "./auction-item/auction-item-with-financial-summary-response.dto.js";
|
|
31
35
|
export * from "./auction-item/preview-auction-item-request.dto.js";
|
|
32
36
|
export * from "./auction-item/preview-auction-item-request.schema.js";
|
|
33
37
|
export * from "./auction-item-status/auction-item-status-response.dto.js";
|
|
@@ -63,6 +67,9 @@ export * from "./counterparty/get-counterparties-request.schema.js";
|
|
|
63
67
|
export * from "./counterparty/update-counterparty-request.dto.js";
|
|
64
68
|
export * from "./counterparty/update-counterparty.schema.js";
|
|
65
69
|
export * from "./counterparty-type/counterparty-type.js";
|
|
70
|
+
export * from "./financial-account/financial-account-response.dto.js";
|
|
71
|
+
export * from "./financial-account/update-financial-account-request.dto.js";
|
|
72
|
+
export * from "./financial-account/update-financial-account-request.schema.js";
|
|
66
73
|
export * from "./bid/bid-response.dto.js";
|
|
67
74
|
export * from "./bid/create-bid-request.dto.js";
|
|
68
75
|
export * from "./bid/create-bid-request.schema.js";
|
|
@@ -116,6 +123,9 @@ export * from "./item-financial-movement/get-item-financial-movement-with-event-
|
|
|
116
123
|
export * from "./item-financial-movement/get-item-financial-movement-with-event-request.dto.js";
|
|
117
124
|
export * from "./item-financial-movement/get-item-financial-movement-with-event-response.dto.js";
|
|
118
125
|
export * from "./item-financial-movement/item-financial-movement-response.dto.js";
|
|
126
|
+
export * from "./item-financial-movement/movement-direction.enum.js";
|
|
127
|
+
export * from "./item-financial-movement/update-item-financial-movement-request.dto.js";
|
|
128
|
+
export * from "./item-financial-movement/update-item-financial-movement-request.schema.js";
|
|
119
129
|
export * from "./item-note/create-item-note-request.dto.js";
|
|
120
130
|
export * from "./item-note/create-item-note-request.schema.js";
|
|
121
131
|
export * from "./item-note/delete-item-note-request.dto.js";
|
|
@@ -132,6 +142,9 @@ export * from "./pagination/pagination-request.schema.js";
|
|
|
132
142
|
export * from "./pagination/pagination-request.dto.js";
|
|
133
143
|
export * from "./pagination/pagination-response.dto.js";
|
|
134
144
|
export * from "./responsible-authority/responsible-authority-response.dto.js";
|
|
145
|
+
export * from "./subscription/billing-cycle.type.js";
|
|
146
|
+
export * from "./subscription/create-subscription-request.dto.js";
|
|
147
|
+
export * from "./subscription/create-subscription-request.schema.js";
|
|
135
148
|
export * from "./user/current-user-response.dto.js";
|
|
136
149
|
export * from "./user/user-response.dto.js";
|
|
137
150
|
export * from "./user/user-status.enum.js";
|
|
@@ -2,6 +2,7 @@ export declare enum ItemFinancialEventType {
|
|
|
2
2
|
AUCTION_ACQUISITION = "auction_acquisition",
|
|
3
3
|
SALE = "sale",
|
|
4
4
|
EXPENSE = "expense",
|
|
5
|
-
INCOME = "income"
|
|
5
|
+
INCOME = "income",
|
|
6
|
+
SHARE_SETTLEMENT = "share_settlement"
|
|
6
7
|
}
|
|
7
8
|
//# sourceMappingURL=item-financial-event-type.enum.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"item-financial-event-type.enum.d.ts","sourceRoot":"","sources":["../../src/item-financial-event/item-financial-event-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB;IAChC,mBAAmB,wBAAwB;IAC3C,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,MAAM,WAAW;
|
|
1
|
+
{"version":3,"file":"item-financial-event-type.enum.d.ts","sourceRoot":"","sources":["../../src/item-financial-event/item-financial-event-type.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,sBAAsB;IAChC,mBAAmB,wBAAwB;IAC3C,IAAI,SAAS;IACb,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,gBAAgB,qBAAqB;CACtC"}
|
|
@@ -4,4 +4,5 @@ export var ItemFinancialEventType;
|
|
|
4
4
|
ItemFinancialEventType["SALE"] = "sale";
|
|
5
5
|
ItemFinancialEventType["EXPENSE"] = "expense";
|
|
6
6
|
ItemFinancialEventType["INCOME"] = "income";
|
|
7
|
+
ItemFinancialEventType["SHARE_SETTLEMENT"] = "share_settlement";
|
|
7
8
|
})(ItemFinancialEventType || (ItemFinancialEventType = {}));
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"movement-direction.enum.d.ts","sourceRoot":"","sources":["../../src/item-financial-movement/movement-direction.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,iBAAiB;IAC3B,EAAE,OAAO;IACT,GAAG,QAAQ;CACZ"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { MovementDirection } from "./movement-direction.enum.js";
|
|
2
|
+
export interface UpdateItemFinancialMovementRequestDTO {
|
|
3
|
+
dueDate?: Date;
|
|
4
|
+
amount?: number;
|
|
5
|
+
direction?: MovementDirection;
|
|
6
|
+
paidAt?: Date | null;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=update-item-financial-movement-request.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-item-financial-movement-request.dto.d.ts","sourceRoot":"","sources":["../../src/item-financial-movement/update-item-financial-movement-request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,8BAA8B,CAAC;AAEjE,MAAM,WAAW,qCAAqC;IACpD,OAAO,CAAC,EAAE,IAAI,CAAC;IACf,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE,iBAAiB,CAAC;IAC9B,MAAM,CAAC,EAAE,IAAI,GAAG,IAAI,CAAC;CACtB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import z from "zod";
|
|
2
|
+
import { UpdateItemFinancialMovementRequestDTO } from "./update-item-financial-movement-request.dto.js";
|
|
3
|
+
export declare const UpdateItemFinancialMovementSchema: z.ZodType<UpdateItemFinancialMovementRequestDTO>;
|
|
4
|
+
//# sourceMappingURL=update-item-financial-movement-request.schema.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"update-item-financial-movement-request.schema.d.ts","sourceRoot":"","sources":["../../src/item-financial-movement/update-item-financial-movement-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,OAAO,EAAE,qCAAqC,EAAE,MAAM,iDAAiD,CAAC;AAExG,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CAAC,qCAAqC,CAM3F,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import z from "zod";
|
|
2
|
+
import { MovementDirection } from "./movement-direction.enum.js";
|
|
3
|
+
export const UpdateItemFinancialMovementSchema = z.object({
|
|
4
|
+
dueDate: z.coerce.date().optional(),
|
|
5
|
+
amount: z.number().positive().optional(),
|
|
6
|
+
direction: z.enum(MovementDirection).optional(),
|
|
7
|
+
paidAt: z.coerce.date().nullable().optional(),
|
|
8
|
+
});
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"billing-cycle.type.d.ts","sourceRoot":"","sources":["../../src/subscription/billing-cycle.type.ts"],"names":[],"mappings":"AAAA,oBAAY,YAAY;IACtB,OAAO,YAAY;IACnB,MAAM,WAAW;CAClB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-subscription-request.dto.d.ts","sourceRoot":"","sources":["../../src/subscription/create-subscription-request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,yBAAyB,CAAC;AAEvD,MAAM,WAAW,4BAA4B;IAC3C,MAAM,EAAE,MAAM,CAAC;IACf,YAAY,EAAE,YAAY,CAAC;CAC5B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"create-subscription-request.schema.d.ts","sourceRoot":"","sources":["../../src/subscription/create-subscription-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AACpB,OAAO,EAAE,4BAA4B,EAAE,MAAM,sCAAsC,CAAC;AAGpF,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAIhF,CAAC"}
|
|
@@ -1,8 +1,18 @@
|
|
|
1
|
+
import { BillingCycle } from "../subscription/billing-cycle.type.js";
|
|
1
2
|
import { UserResponseDTO } from "./user-response.dto.js";
|
|
2
3
|
export interface CurrentUserResponseDTO {
|
|
3
4
|
user: UserResponseDTO;
|
|
4
5
|
metadata: {
|
|
5
6
|
pendingAuctionItemInvitesCount: number;
|
|
7
|
+
activeSubscription: {
|
|
8
|
+
id: number;
|
|
9
|
+
planId: number;
|
|
10
|
+
planName: string;
|
|
11
|
+
billingCycle: BillingCycle;
|
|
12
|
+
startedAt: Date | null;
|
|
13
|
+
expiresAt: Date | null;
|
|
14
|
+
cancelAtPeriodEnd: boolean;
|
|
15
|
+
} | null;
|
|
6
16
|
};
|
|
7
17
|
}
|
|
8
18
|
//# sourceMappingURL=current-user-response.dto.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"current-user-response.dto.d.ts","sourceRoot":"","sources":["../../src/user/current-user-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,EAAE;QACR,8BAA8B,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"current-user-response.dto.d.ts","sourceRoot":"","sources":["../../src/user/current-user-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AACrE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;AAEzD,MAAM,WAAW,sBAAsB;IACrC,IAAI,EAAE,eAAe,CAAC;IACtB,QAAQ,EAAE;QACR,8BAA8B,EAAE,MAAM,CAAC;QACvC,kBAAkB,EAAE;YAClB,EAAE,EAAE,MAAM,CAAC;YACX,MAAM,EAAE,MAAM,CAAC;YACf,QAAQ,EAAE,MAAM,CAAC;YACjB,YAAY,EAAE,YAAY,CAAC;YAC3B,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;YACvB,SAAS,EAAE,IAAI,GAAG,IAAI,CAAC;YACvB,iBAAiB,EAAE,OAAO,CAAC;SAC5B,GAAG,IAAI,CAAC;KACV,CAAA;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nullable-money-schema.d.ts","sourceRoot":"","sources":["../../src/utils/nullable-money-schema.ts"],"names":[],"mappings":"AAAA,OAAO,CAAC,MAAM,KAAK,CAAC;AAEpB,eAAO,MAAM,mBAAmB,2EAU/B,CAAC"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import z from "zod";
|
|
2
|
+
export const NullableMoneySchema = z.preprocess((value) => {
|
|
3
|
+
if (value === '' || value == null)
|
|
4
|
+
return null;
|
|
5
|
+
if (typeof value === 'string') {
|
|
6
|
+
const normalized = value.replace(',', '.').trim();
|
|
7
|
+
return normalized === '' ? null : Number(normalized);
|
|
8
|
+
}
|
|
9
|
+
return value;
|
|
10
|
+
}, z.number().min(0).nullable());
|
package/package.json
CHANGED
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import { AuctionItemStatus } from "../auction-item-status/auction-item-status-response.dto.js";
|
|
2
|
-
import { AuctionItemTypeResponseDTO } from "../auction-item-type/auction-item-type-response.dto.js";
|
|
3
|
-
import { AuctionItemUserResponseDTO } from "../auction-item-user/auction-item-user-response.dto.js";
|
|
4
|
-
import { AuctionSessionResponseDTO } from "../auction-session/auction-session-response.dto.js";
|
|
5
|
-
import { AuctionSourceResponseDTO } from "../auction-source/auction-source-response.dto.js";
|
|
6
|
-
import { AuctionTypeResponseDTO } from "../auction-type/auction-type-response.dto.js";
|
|
7
|
-
import { ItemFinancialEventResponseDTO } from "../item-financial-event/item-financial-event-response.dto.js";
|
|
8
|
-
import { ResponsibleAuthorityResponseDTO } from "../responsible-authority/responsible-authority-response.dto.js";
|
|
9
|
-
import { UserSummaryResponseDto } from "../user/user-summary-response.dto.js";
|
|
10
|
-
import { AuctionItemFinancialSummaryResponseDTO } from "./auction-item-financial-summary-response.interface.js";
|
|
11
|
-
export interface AuctionItemResponseDTO {
|
|
12
|
-
id: number;
|
|
13
|
-
title: string;
|
|
14
|
-
auctionLink: string;
|
|
15
|
-
itemType: AuctionItemTypeResponseDTO;
|
|
16
|
-
auctionType: AuctionTypeResponseDTO;
|
|
17
|
-
status: AuctionItemStatus;
|
|
18
|
-
users: AuctionItemUserResponseDTO[];
|
|
19
|
-
sessions: AuctionSessionResponseDTO[];
|
|
20
|
-
jurisdiction?: string;
|
|
21
|
-
appraisalValue?: number;
|
|
22
|
-
minimumBidAmount?: number;
|
|
23
|
-
highestBidAmount?: number;
|
|
24
|
-
notes?: string;
|
|
25
|
-
photoUrl?: string;
|
|
26
|
-
auctionSource?: AuctionSourceResponseDTO;
|
|
27
|
-
authority?: ResponsibleAuthorityResponseDTO;
|
|
28
|
-
financialEvents?: ItemFinancialEventResponseDTO[];
|
|
29
|
-
financialSummary?: AuctionItemFinancialSummaryResponseDTO;
|
|
30
|
-
alreadyCloned?: boolean;
|
|
31
|
-
sharedBy?: UserSummaryResponseDto;
|
|
32
|
-
createdAt: string;
|
|
33
|
-
updatedAt?: string;
|
|
34
|
-
}
|
|
35
|
-
//# sourceMappingURL=get-auction-items-response.dto.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-auction-items-response.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item/get-auction-items-response.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,4DAA4D,CAAC;AAC/F,OAAO,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AACpG,OAAO,EAAE,0BAA0B,EAAE,MAAM,wDAAwD,CAAC;AACpG,OAAO,EAAE,yBAAyB,EAAE,MAAM,oDAAoD,CAAC;AAC/F,OAAO,EAAE,wBAAwB,EAAE,MAAM,kDAAkD,CAAC;AAC5F,OAAO,EAAE,sBAAsB,EAAE,MAAM,8CAA8C,CAAC;AACtF,OAAO,EAAE,6BAA6B,EAAE,MAAM,8DAA8D,CAAC;AAC7G,OAAO,EAAE,+BAA+B,EAAE,MAAM,gEAAgE,CAAC;AACjH,OAAO,EAAE,sBAAsB,EAAE,MAAM,sCAAsC,CAAC;AAC9E,OAAO,EAAE,sCAAsC,EAAE,MAAM,wDAAwD,CAAC;AAEhH,MAAM,WAAW,sBAAsB;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,MAAM,CAAC;IAEpB,QAAQ,EAAE,0BAA0B,CAAC;IACrC,WAAW,EAAE,sBAAsB,CAAC;IACpC,MAAM,EAAE,iBAAiB,CAAC;IAE1B,KAAK,EAAE,0BAA0B,EAAE,CAAC;IACpC,QAAQ,EAAE,yBAAyB,EAAE,CAAC;IAEtC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAE1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,aAAa,CAAC,EAAE,wBAAwB,CAAC;IACzC,SAAS,CAAC,EAAE,+BAA+B,CAAC;IAC5C,eAAe,CAAC,EAAE,6BAA6B,EAAE,CAAC;IAClD,gBAAgB,CAAC,EAAE,sCAAsC,CAAC;IAE1D,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,QAAQ,CAAC,EAAE,sBAAsB,CAAC;IAElC,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { PaginationRequestDTO } from "../pagination/pagination-request.dto.js";
|
|
2
|
-
import { AuctionItemUserRole } from "./auction-item-user-role.enum.js";
|
|
3
|
-
export interface GetAuctionItemUserRequestDTO extends PaginationRequestDTO {
|
|
4
|
-
auctionItemId: number;
|
|
5
|
-
roles?: AuctionItemUserRole[];
|
|
6
|
-
}
|
|
7
|
-
//# sourceMappingURL=get-auction-item-user-request.dto.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-auction-item-user-request.dto.d.ts","sourceRoot":"","sources":["../../src/auction-item-user/get-auction-item-user-request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,yCAAyC,CAAC;AAC/E,OAAO,EAAE,mBAAmB,EAAE,MAAM,kCAAkC,CAAC;AAEvE,MAAM,WAAW,4BAA6B,SAAQ,oBAAoB;IACxE,aAAa,EAAE,MAAM,CAAC;IACtB,KAAK,CAAC,EAAE,mBAAmB,EAAE,CAAC;CAC/B"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { GetAuctionItemUserRequestDTO } from "./get-auction-item-users-request.dto.js";
|
|
3
|
-
export declare const GetAuctionItemUserRequestSchema: z.ZodType<GetAuctionItemUserRequestDTO>;
|
|
4
|
-
//# sourceMappingURL=get-auction-item-user-request.schema.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"get-auction-item-user-request.schema.d.ts","sourceRoot":"","sources":["../../src/auction-item-user/get-auction-item-user-request.schema.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,4BAA4B,EAAE,MAAM,wCAAwC,CAAC;AAItF,eAAO,MAAM,+BAA+B,EAAE,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAIhF,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { z } from "zod";
|
|
2
|
-
import { PaginationRequestSchema } from "../pagination/pagination-request.schema.js";
|
|
3
|
-
import { AuctionItemUserRole } from "./auction-item-user-role.enum.js";
|
|
4
|
-
export const GetAuctionItemUserRequestSchema = PaginationRequestSchema.extend({
|
|
5
|
-
auctionItemId: z.number().int().positive(),
|
|
6
|
-
roles: z.enum(AuctionItemUserRole).array().optional(),
|
|
7
|
-
});
|
|
File without changes
|