@xoxno/types 1.0.198 → 1.0.200
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/cosmos-db/documents/ticketing/event-guest.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-guest.doc.js +1 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation-create.dto.d.ts +3 -6
- package/dist/cosmos-db/documents/ticketing/event-invitation-create.dto.js +3 -14
- package/dist/cosmos-db/documents/ticketing/event-stage-profile.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/ticketing/event-stage-profile.doc.js +2 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile.doc.js +2 -0
- package/package.json +1 -1
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { EventInvitationDoc } from './event-invitation.doc';
|
|
2
|
-
|
|
3
|
-
ticketId: string;
|
|
4
|
-
quantity: number;
|
|
5
|
-
}
|
|
2
|
+
import { TicketsType } from './event-ticket-qr-type.enum';
|
|
6
3
|
declare type EventInvitationCreateDto_base = Pick<EventInvitationDoc, "name" | "startTime" | "endTime" | "email">;
|
|
7
4
|
export declare type EventInvitationCreateDto = EventInvitationCreateDto_base & {
|
|
8
|
-
tickets:
|
|
5
|
+
tickets: TicketsType[];
|
|
9
6
|
};
|
|
10
7
|
declare const EventInvitationCreateDtoNest_base: import("@nestjs/common").Type<Pick<EventInvitationDoc, "name" | "startTime" | "endTime" | "email">>;
|
|
11
8
|
export declare class EventInvitationCreateDtoNest extends EventInvitationCreateDtoNest_base {
|
|
12
|
-
tickets:
|
|
9
|
+
tickets: TicketsType[];
|
|
13
10
|
}
|
|
14
11
|
export {};
|
|
@@ -14,18 +14,7 @@ const swagger_1 = require("@nestjs/swagger");
|
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
16
|
const event_invitation_doc_1 = require("./event-invitation.doc");
|
|
17
|
-
|
|
18
|
-
}
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, swagger_1.ApiProperty)({ type: 'string' }),
|
|
21
|
-
(0, class_validator_1.IsUUID)(),
|
|
22
|
-
__metadata("design:type", String)
|
|
23
|
-
], Ticket.prototype, "ticketId", void 0);
|
|
24
|
-
__decorate([
|
|
25
|
-
(0, swagger_1.ApiProperty)({ type: 'integer' }),
|
|
26
|
-
(0, class_validator_1.IsNumber)(),
|
|
27
|
-
__metadata("design:type", Number)
|
|
28
|
-
], Ticket.prototype, "quantity", void 0);
|
|
17
|
+
const event_ticket_qr_type_enum_1 = require("./event-ticket-qr-type.enum");
|
|
29
18
|
class EventInvitationCreateDto extends (0, swagger_1.PickType)(event_invitation_doc_1.EventInvitationDoc, [
|
|
30
19
|
'name',
|
|
31
20
|
'email',
|
|
@@ -39,11 +28,11 @@ class EventInvitationCreateDto extends (0, swagger_1.PickType)(event_invitation_
|
|
|
39
28
|
}
|
|
40
29
|
exports.EventInvitationCreateDto = EventInvitationCreateDto;
|
|
41
30
|
__decorate([
|
|
42
|
-
(0, swagger_1.ApiProperty)({ type: () =>
|
|
31
|
+
(0, swagger_1.ApiProperty)({ type: () => event_ticket_qr_type_enum_1.TicketsType, isArray: true }),
|
|
43
32
|
(0, class_validator_1.IsArray)(),
|
|
44
33
|
(0, class_validator_1.ArrayMaxSize)(100),
|
|
45
34
|
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
46
|
-
(0, class_transformer_1.Type)(() =>
|
|
35
|
+
(0, class_transformer_1.Type)(() => event_ticket_qr_type_enum_1.TicketsType),
|
|
47
36
|
__metadata("design:type", Array)
|
|
48
37
|
], EventInvitationCreateDto.prototype, "tickets", void 0);
|
|
49
38
|
|
|
@@ -177,11 +177,13 @@ __decorate([
|
|
|
177
177
|
(0, swagger_1.ApiProperty)({
|
|
178
178
|
description: 'Partition key for Cosmos DB document.',
|
|
179
179
|
type: String,
|
|
180
|
+
required: false,
|
|
180
181
|
}),
|
|
181
182
|
__metadata("design:type", String)
|
|
182
183
|
], EventStageProfileDoc.prototype, "pk", void 0);
|
|
183
184
|
__decorate([
|
|
184
185
|
(0, swagger_1.ApiProperty)({
|
|
186
|
+
required: false,
|
|
185
187
|
description: 'Timestamp for document in Cosmos DB.',
|
|
186
188
|
type: 'integer',
|
|
187
189
|
}),
|
|
@@ -13,8 +13,8 @@ export declare class EventTicketProfileDoc {
|
|
|
13
13
|
soldCount: number;
|
|
14
14
|
createdAt: number;
|
|
15
15
|
id: string;
|
|
16
|
-
pk
|
|
17
|
-
_ts
|
|
16
|
+
pk?: string;
|
|
17
|
+
_ts?: number;
|
|
18
18
|
constructor(props?: Partial<EventTicketProfileDoc>);
|
|
19
19
|
}
|
|
20
20
|
declare type TicketProfileSummary_base = Pick<EventTicketProfileDoc, "description" | "profile" | "name" | "badgeColor" | "characteristics">;
|
|
@@ -148,6 +148,7 @@ __decorate([
|
|
|
148
148
|
(0, swagger_1.ApiProperty)({
|
|
149
149
|
description: 'Partition key for Cosmos DB document.',
|
|
150
150
|
type: String,
|
|
151
|
+
required: false,
|
|
151
152
|
}),
|
|
152
153
|
__metadata("design:type", String)
|
|
153
154
|
], EventTicketProfileDoc.prototype, "pk", void 0);
|
|
@@ -155,6 +156,7 @@ __decorate([
|
|
|
155
156
|
(0, swagger_1.ApiProperty)({
|
|
156
157
|
description: 'Timestamp for document in Cosmos DB.',
|
|
157
158
|
type: 'integer',
|
|
159
|
+
required: false,
|
|
158
160
|
}),
|
|
159
161
|
__metadata("design:type", Number)
|
|
160
162
|
], EventTicketProfileDoc.prototype, "_ts", void 0);
|