@xoxno/types 1.0.224 → 1.0.226
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-invitation-create.dto.d.ts +3 -3
- package/dist/cosmos-db/documents/ticketing/event-invitation-create.dto.js +3 -3
- package/dist/cosmos-db/documents/ticketing/event-invitation.doc.d.ts +1 -2
- 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 +3 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.d.ts +1 -5
- package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.js +2 -21
- package/dist/cosmos-db/documents/ticketing/manual-check-in.dto.d.ts +2 -2
- package/dist/cosmos-db/documents/ticketing/manual-check-in.dto.js +3 -3
- package/package.json +1 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { EventInvitationDoc } from './event-invitation.doc';
|
|
2
|
-
import {
|
|
2
|
+
import { TicketProfileSummary } from './event-ticket-profile.doc';
|
|
3
3
|
declare type EventInvitationCreateDto_base = Pick<EventInvitationDoc, "name" | "startTime" | "endTime" | "email">;
|
|
4
4
|
export declare type EventInvitationCreateDto = EventInvitationCreateDto_base & {
|
|
5
|
-
tickets:
|
|
5
|
+
tickets: TicketProfileSummary[];
|
|
6
6
|
};
|
|
7
7
|
declare const EventInvitationCreateDtoNest_base: import("@nestjs/common").Type<Pick<EventInvitationDoc, "name" | "startTime" | "endTime" | "email">>;
|
|
8
8
|
export declare class EventInvitationCreateDtoNest extends EventInvitationCreateDtoNest_base {
|
|
9
|
-
tickets:
|
|
9
|
+
tickets: TicketProfileSummary[];
|
|
10
10
|
}
|
|
11
11
|
export {};
|
|
@@ -14,7 +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
|
-
const
|
|
17
|
+
const event_ticket_profile_doc_1 = require("./event-ticket-profile.doc");
|
|
18
18
|
class EventInvitationCreateDto extends (0, swagger_1.PickType)(event_invitation_doc_1.EventInvitationDoc, [
|
|
19
19
|
'name',
|
|
20
20
|
'email',
|
|
@@ -28,11 +28,11 @@ class EventInvitationCreateDto extends (0, swagger_1.PickType)(event_invitation_
|
|
|
28
28
|
}
|
|
29
29
|
exports.EventInvitationCreateDto = EventInvitationCreateDto;
|
|
30
30
|
__decorate([
|
|
31
|
-
(0, swagger_1.ApiProperty)({ type: () =>
|
|
31
|
+
(0, swagger_1.ApiProperty)({ type: () => event_ticket_profile_doc_1.TicketProfileSummary, isArray: true }),
|
|
32
32
|
(0, class_validator_1.IsArray)(),
|
|
33
33
|
(0, class_validator_1.ArrayMaxSize)(100),
|
|
34
34
|
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
35
|
-
(0, class_transformer_1.Type)(() =>
|
|
35
|
+
(0, class_transformer_1.Type)(() => event_ticket_profile_doc_1.TicketProfileSummary),
|
|
36
36
|
__metadata("design:type", Array)
|
|
37
37
|
], EventInvitationCreateDto.prototype, "tickets", void 0);
|
|
38
38
|
|
|
@@ -1,14 +1,13 @@
|
|
|
1
1
|
import { EventInvitationStatus } from '../../../enums/event-invitation-status.enum';
|
|
2
2
|
import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
|
|
3
3
|
import { TicketProfileSummary } from './event-ticket-profile.doc';
|
|
4
|
-
import { TicketsType } from './event-ticket-qr-type.enum';
|
|
5
4
|
export declare class EventInvitationDoc {
|
|
6
5
|
dataType: TicketingDataType;
|
|
7
6
|
eventId: string;
|
|
8
7
|
name?: string;
|
|
9
8
|
email?: string;
|
|
10
9
|
phone?: string;
|
|
11
|
-
tickets:
|
|
10
|
+
tickets: TicketProfileSummary[];
|
|
12
11
|
startTime: number;
|
|
13
12
|
endTime: number;
|
|
14
13
|
createdAt: number;
|
|
@@ -2,8 +2,8 @@ import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
|
|
|
2
2
|
export declare class EventTicketProfileDoc {
|
|
3
3
|
dataType: TicketingDataType;
|
|
4
4
|
eventId: string;
|
|
5
|
-
name
|
|
6
|
-
description
|
|
5
|
+
name?: string;
|
|
6
|
+
description?: string;
|
|
7
7
|
profile: string;
|
|
8
8
|
royalties: number;
|
|
9
9
|
badgeColor?: string;
|
|
@@ -47,6 +47,7 @@ __decorate([
|
|
|
47
47
|
__decorate([
|
|
48
48
|
(0, swagger_1.ApiProperty)({
|
|
49
49
|
description: 'Name of the ticket type (e.g., General, VIP).',
|
|
50
|
+
required: false,
|
|
50
51
|
}),
|
|
51
52
|
(0, class_validator_1.Length)(3, 30),
|
|
52
53
|
(0, class_validator_1.IsString)(),
|
|
@@ -55,6 +56,7 @@ __decorate([
|
|
|
55
56
|
__decorate([
|
|
56
57
|
(0, swagger_1.ApiProperty)({
|
|
57
58
|
description: 'Description of the ticket type.',
|
|
59
|
+
required: false,
|
|
58
60
|
}),
|
|
59
61
|
(0, class_validator_1.Length)(3, 300),
|
|
60
62
|
(0, class_validator_1.IsString)(),
|
|
@@ -63,6 +65,7 @@ __decorate([
|
|
|
63
65
|
__decorate([
|
|
64
66
|
(0, swagger_1.ApiProperty)({
|
|
65
67
|
description: 'URL of the image that will be used as the NFT representing this ticket type.',
|
|
68
|
+
required: false,
|
|
66
69
|
}),
|
|
67
70
|
(0, class_validator_1.IsString)(),
|
|
68
71
|
__metadata("design:type", String)
|
|
@@ -23,13 +23,9 @@ export declare class QRBody {
|
|
|
23
23
|
type: EventTicketQrType;
|
|
24
24
|
data: string;
|
|
25
25
|
}
|
|
26
|
-
export declare class TicketsType {
|
|
27
|
-
ticketId: string;
|
|
28
|
-
quantity: number;
|
|
29
|
-
}
|
|
30
26
|
export declare class EventCheckInQR {
|
|
31
27
|
qr: QRBody;
|
|
32
|
-
tickets?:
|
|
28
|
+
tickets?: TicketProfileSummary[];
|
|
33
29
|
}
|
|
34
30
|
export declare class BadgeDecryptedData {
|
|
35
31
|
address: string;
|
|
@@ -9,7 +9,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.BadgeDecryptedData = exports.EventCheckInQR = exports.
|
|
12
|
+
exports.BadgeDecryptedData = exports.EventCheckInQR = exports.QRBody = exports.TicketValidationResult = exports.TicketSelection = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const event_scan_status_enum_1 = require("../../../enums/event-scan-status.enum");
|
|
@@ -129,25 +129,6 @@ __decorate([
|
|
|
129
129
|
(0, swagger_1.ApiProperty)({ description: 'Encrypted QR data' }),
|
|
130
130
|
__metadata("design:type", String)
|
|
131
131
|
], QRBody.prototype, "data", void 0);
|
|
132
|
-
class TicketsType {
|
|
133
|
-
}
|
|
134
|
-
exports.TicketsType = TicketsType;
|
|
135
|
-
__decorate([
|
|
136
|
-
(0, swagger_1.ApiProperty)({
|
|
137
|
-
description: 'Ticket Profile ID',
|
|
138
|
-
type: String,
|
|
139
|
-
}),
|
|
140
|
-
(0, class_validator_1.IsString)(),
|
|
141
|
-
__metadata("design:type", String)
|
|
142
|
-
], TicketsType.prototype, "ticketId", void 0);
|
|
143
|
-
__decorate([
|
|
144
|
-
(0, swagger_1.ApiProperty)({
|
|
145
|
-
description: 'Ticket Profile quantity',
|
|
146
|
-
type: 'integer',
|
|
147
|
-
}),
|
|
148
|
-
(0, class_validator_1.IsNumber)(),
|
|
149
|
-
__metadata("design:type", Number)
|
|
150
|
-
], TicketsType.prototype, "quantity", void 0);
|
|
151
132
|
class EventCheckInQR {
|
|
152
133
|
}
|
|
153
134
|
exports.EventCheckInQR = EventCheckInQR;
|
|
@@ -159,7 +140,7 @@ __decorate([
|
|
|
159
140
|
__decorate([
|
|
160
141
|
(0, swagger_1.ApiProperty)({
|
|
161
142
|
description: 'Selected Tickets',
|
|
162
|
-
type:
|
|
143
|
+
type: event_ticket_profile_doc_1.TicketProfileSummary,
|
|
163
144
|
isArray: true,
|
|
164
145
|
required: false,
|
|
165
146
|
}),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { TicketProfileSummary } from './event-ticket-profile.doc';
|
|
2
2
|
export declare class ManualCheckInDto {
|
|
3
3
|
invitationIdOrAddress: string;
|
|
4
|
-
selectedTickets?:
|
|
4
|
+
selectedTickets?: TicketProfileSummary[];
|
|
5
5
|
}
|
|
@@ -13,7 +13,7 @@ exports.ManualCheckInDto = void 0;
|
|
|
13
13
|
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
|
-
const
|
|
16
|
+
const event_ticket_profile_doc_1 = require("./event-ticket-profile.doc");
|
|
17
17
|
class ManualCheckInDto {
|
|
18
18
|
}
|
|
19
19
|
exports.ManualCheckInDto = ManualCheckInDto;
|
|
@@ -27,12 +27,12 @@ __decorate([
|
|
|
27
27
|
__decorate([
|
|
28
28
|
(0, swagger_1.ApiProperty)({
|
|
29
29
|
description: 'Selected tickets for check-in (optional)',
|
|
30
|
-
type: () => [
|
|
30
|
+
type: () => [event_ticket_profile_doc_1.TicketProfileSummary],
|
|
31
31
|
required: false,
|
|
32
32
|
}),
|
|
33
33
|
(0, class_validator_1.IsOptional)(),
|
|
34
34
|
(0, class_validator_1.IsArray)(),
|
|
35
35
|
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
36
|
-
(0, class_transformer_1.Type)(() =>
|
|
36
|
+
(0, class_transformer_1.Type)(() => event_ticket_profile_doc_1.TicketProfileSummary),
|
|
37
37
|
__metadata("design:type", Array)
|
|
38
38
|
], ManualCheckInDto.prototype, "selectedTickets", void 0);
|