@xoxno/types 1.0.1 → 1.0.3
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 +0 -1
- package/dist/index.js +0 -1
- package/package.json +2 -2
- package/dist/cosmos-db/documents/activity/chain-activity.enum.d.ts +0 -4
- package/dist/cosmos-db/documents/activity/chain-activity.enum.js +0 -5
- package/dist/cosmos-db/documents/ticketing/entities/discount-code-validation-response.d.ts +0 -6
- package/dist/cosmos-db/documents/ticketing/entities/discount-code-validation-response.js +0 -38
- package/dist/cosmos-db/documents/ticketing/entities/event-category.enum.d.ts +0 -90
- package/dist/cosmos-db/documents/ticketing/entities/event-category.enum.js +0 -99
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-approve.dto.d.ts +0 -4
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-approve.dto.js +0 -32
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-doc.filter.d.ts +0 -25
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-doc.filter.js +0 -91
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-registration.dto.d.ts +0 -23
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-registration.dto.js +0 -196
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-status.enum.d.ts +0 -10
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-status.enum.js +0 -14
- package/dist/cosmos-db/documents/ticketing/entities/event-guest.doc.d.ts +0 -64
- package/dist/cosmos-db/documents/ticketing/entities/event-guest.doc.js +0 -387
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-create.dto.d.ts +0 -12
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-create.dto.js +0 -74
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-doc.filter.d.ts +0 -31
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-doc.filter.js +0 -99
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-status.enum.d.ts +0 -6
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-status.enum.js +0 -10
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation.doc.d.ts +0 -32
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation.doc.js +0 -206
- package/dist/cosmos-db/documents/ticketing/entities/event-location.d.ts +0 -14
- package/dist/cosmos-db/documents/ticketing/entities/event-location.js +0 -68
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-create.dto.d.ts +0 -47
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-create.dto.js +0 -269
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-doc.filter.d.ts +0 -41
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-doc.filter.js +0 -129
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-edit.dto.d.ts +0 -14
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-edit.dto.js +0 -108
- package/dist/cosmos-db/documents/ticketing/entities/event-profile.doc.d.ts +0 -93
- package/dist/cosmos-db/documents/ticketing/entities/event-profile.doc.js +0 -544
- package/dist/cosmos-db/documents/ticketing/entities/event-question-answer-type.enum.d.ts +0 -9
- package/dist/cosmos-db/documents/ticketing/entities/event-question-answer-type.enum.js +0 -13
- package/dist/cosmos-db/documents/ticketing/entities/event-question-answer.doc.d.ts +0 -23
- package/dist/cosmos-db/documents/ticketing/entities/event-question-answer.doc.js +0 -127
- package/dist/cosmos-db/documents/ticketing/entities/event-question-create.dto.d.ts +0 -8
- package/dist/cosmos-db/documents/ticketing/entities/event-question-create.dto.js +0 -61
- package/dist/cosmos-db/documents/ticketing/entities/event-question-edit.dto.d.ts +0 -8
- package/dist/cosmos-db/documents/ticketing/entities/event-question-edit.dto.js +0 -65
- package/dist/cosmos-db/documents/ticketing/entities/event-question-validator.d.ts +0 -4
- package/dist/cosmos-db/documents/ticketing/entities/event-question-validator.js +0 -32
- package/dist/cosmos-db/documents/ticketing/entities/event-question.doc.d.ts +0 -15
- package/dist/cosmos-db/documents/ticketing/entities/event-question.doc.js +0 -87
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-create.dto.d.ts +0 -8
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-create.dto.js +0 -58
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-edit.dto.d.ts +0 -5
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-edit.dto.js +0 -8
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-filter.doc.d.ts +0 -23
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-filter.doc.js +0 -116
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-query.doc.d.ts +0 -6
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-query.doc.js +0 -38
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config.doc.d.ts +0 -27
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config.doc.js +0 -148
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-create.dto.d.ts +0 -4
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-create.dto.js +0 -31
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-edit.dto.d.ts +0 -4
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-edit.dto.js +0 -36
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-filter.doc.d.ts +0 -31
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-filter.doc.js +0 -161
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-query.doc.d.ts +0 -6
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-query.doc.js +0 -38
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-usage.doc.d.ts +0 -16
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-usage.doc.js +0 -100
- package/dist/cosmos-db/documents/ticketing/entities/event-referral.doc.d.ts +0 -14
- package/dist/cosmos-db/documents/ticketing/entities/event-referral.doc.js +0 -92
- package/dist/cosmos-db/documents/ticketing/entities/event-scan-status.enum.d.ts +0 -24
- package/dist/cosmos-db/documents/ticketing/entities/event-scan-status.enum.js +0 -46
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile-create.dto.d.ts +0 -13
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile-create.dto.js +0 -109
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile-edit.dto.d.ts +0 -8
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile-edit.dto.js +0 -48
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile.doc.d.ts +0 -21
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile.doc.js +0 -168
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile-create.dto.d.ts +0 -8
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile-create.dto.js +0 -74
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile-edit.dto.d.ts +0 -7
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile-edit.dto.js +0 -31
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile.doc.d.ts +0 -25
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile.doc.js +0 -166
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-qr-type.enum.d.ts +0 -43
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-qr-type.enum.js +0 -201
- package/dist/cosmos-db/documents/ticketing/entities/event-user-role-create.dto.d.ts +0 -9
- package/dist/cosmos-db/documents/ticketing/entities/event-user-role-create.dto.js +0 -69
- package/dist/cosmos-db/documents/ticketing/entities/event-user-role.doc.d.ts +0 -25
- package/dist/cosmos-db/documents/ticketing/entities/event-user-role.doc.js +0 -130
- package/dist/cosmos-db/documents/ticketing/entities/event-user-roles.enum.d.ts +0 -15
- package/dist/cosmos-db/documents/ticketing/entities/event-user-roles.enum.js +0 -20
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-create.dto.d.ts +0 -15
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-create.dto.js +0 -116
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-edit.dto.d.ts +0 -8
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-edit.dto.js +0 -48
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-filter.doc.d.ts +0 -33
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-filter.doc.js +0 -173
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher.doc.d.ts +0 -33
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher.doc.js +0 -189
- package/dist/cosmos-db/documents/ticketing/entities/manual-check-in.dto.d.ts +0 -5
- package/dist/cosmos-db/documents/ticketing/entities/manual-check-in.dto.js +0 -38
- package/dist/cosmos-db/documents/ticketing/entities/ticket-calculation-request.dto.d.ts +0 -6
- package/dist/cosmos-db/documents/ticketing/entities/ticket-calculation-request.dto.js +0 -38
- package/dist/cosmos-db/documents/ticketing/entities/ticket-prices-response.d.ts +0 -14
- package/dist/cosmos-db/documents/ticketing/entities/ticket-prices-response.js +0 -74
- package/dist/cosmos-db/documents/ticketing/entities/ticketing-data-type.enum.d.ts +0 -14
- package/dist/cosmos-db/documents/ticketing/entities/ticketing-data-type.enum.js +0 -18
- package/dist/cosmos-db/documents/token-data/nft-details.doc.d.ts +0 -56
- package/dist/cosmos-db/documents/token-data/nft-details.doc.js +0 -31
- package/dist/cosmos-db/documents/user/account-on-network.d.ts +0 -21
- package/dist/cosmos-db/documents/user/account-on-network.js +0 -36
- package/dist/redis/keys.d.ts +0 -11
- package/dist/redis/keys.js +0 -12
- package/dist/redis/ttl.d.ts +0 -10
- package/dist/redis/ttl.js +0 -11
- package/dist/requests/collection/collection-mint-stage.doc.d.ts +0 -19
- package/dist/requests/collection/collection-mint-stage.doc.js +0 -12
- package/dist/types/common.d.ts +0 -12
- package/dist/types/common.js +0 -12
|
@@ -1,269 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.EventProfileCreateDto = exports.EventLocationDto = exports.RegistrationDetailsDto = exports.EventSeoDto = exports.Visibility = void 0;
|
|
13
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const class_validator_1 = require("class-validator");
|
|
16
|
-
const event_category_enum_1 = require("./event-category.enum");
|
|
17
|
-
var Visibility;
|
|
18
|
-
(function (Visibility) {
|
|
19
|
-
Visibility["PUBLIC"] = "public";
|
|
20
|
-
Visibility["PRIVATE"] = "private";
|
|
21
|
-
})(Visibility || (exports.Visibility = Visibility = {}));
|
|
22
|
-
class EventSeoDto {
|
|
23
|
-
}
|
|
24
|
-
exports.EventSeoDto = EventSeoDto;
|
|
25
|
-
__decorate([
|
|
26
|
-
(0, swagger_1.ApiProperty)({ example: 'This is a description', required: false }),
|
|
27
|
-
(0, class_validator_1.MaxLength)(160, {
|
|
28
|
-
message: 'Description is too long. Maximum length is 160 characters.',
|
|
29
|
-
}),
|
|
30
|
-
(0, class_validator_1.IsString)(),
|
|
31
|
-
(0, class_validator_1.IsOptional)(),
|
|
32
|
-
__metadata("design:type", String)
|
|
33
|
-
], EventSeoDto.prototype, "description", void 0);
|
|
34
|
-
__decorate([
|
|
35
|
-
(0, swagger_1.ApiProperty)({ example: ['tag1', 'tag2'], required: false }),
|
|
36
|
-
(0, class_validator_1.IsArray)(),
|
|
37
|
-
(0, class_validator_1.IsString)({ each: true }),
|
|
38
|
-
(0, class_validator_1.ArrayMaxSize)(5),
|
|
39
|
-
(0, class_validator_1.IsOptional)(),
|
|
40
|
-
__metadata("design:type", Array)
|
|
41
|
-
], EventSeoDto.prototype, "tags", void 0);
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, swagger_1.ApiProperty)({ example: 'Alternative Title', required: false }),
|
|
44
|
-
(0, class_validator_1.IsString)(),
|
|
45
|
-
(0, class_validator_1.Length)(3, 30),
|
|
46
|
-
(0, class_validator_1.IsOptional)(),
|
|
47
|
-
__metadata("design:type", String)
|
|
48
|
-
], EventSeoDto.prototype, "alternativeTitle", void 0);
|
|
49
|
-
class RegistrationDetailsDto {
|
|
50
|
-
}
|
|
51
|
-
exports.RegistrationDetailsDto = RegistrationDetailsDto;
|
|
52
|
-
__decorate([
|
|
53
|
-
(0, swagger_1.ApiProperty)({
|
|
54
|
-
enum: Visibility,
|
|
55
|
-
enumName: 'Visibility',
|
|
56
|
-
}),
|
|
57
|
-
(0, class_validator_1.IsEnum)(Visibility),
|
|
58
|
-
__metadata("design:type", String)
|
|
59
|
-
], RegistrationDetailsDto.prototype, "visibility", void 0);
|
|
60
|
-
__decorate([
|
|
61
|
-
(0, swagger_1.ApiProperty)({
|
|
62
|
-
type: 'integer',
|
|
63
|
-
description: 'Maximum registrations allowed',
|
|
64
|
-
}),
|
|
65
|
-
(0, class_validator_1.IsInt)(),
|
|
66
|
-
__metadata("design:type", Number)
|
|
67
|
-
], RegistrationDetailsDto.prototype, "maxLimit", void 0);
|
|
68
|
-
__decorate([
|
|
69
|
-
(0, swagger_1.ApiProperty)({
|
|
70
|
-
type: 'integer',
|
|
71
|
-
description: 'Maximum registrations per user',
|
|
72
|
-
}),
|
|
73
|
-
(0, class_validator_1.IsInt)(),
|
|
74
|
-
__metadata("design:type", Number)
|
|
75
|
-
], RegistrationDetailsDto.prototype, "userLimit", void 0);
|
|
76
|
-
__decorate([
|
|
77
|
-
(0, swagger_1.ApiProperty)(),
|
|
78
|
-
(0, class_validator_1.IsBoolean)(),
|
|
79
|
-
__metadata("design:type", Boolean)
|
|
80
|
-
], RegistrationDetailsDto.prototype, "requireKYC", void 0);
|
|
81
|
-
__decorate([
|
|
82
|
-
(0, swagger_1.ApiProperty)(),
|
|
83
|
-
(0, class_validator_1.IsBoolean)(),
|
|
84
|
-
__metadata("design:type", Boolean)
|
|
85
|
-
], RegistrationDetailsDto.prototype, "requireName", void 0);
|
|
86
|
-
__decorate([
|
|
87
|
-
(0, swagger_1.ApiProperty)(),
|
|
88
|
-
(0, class_validator_1.IsBoolean)(),
|
|
89
|
-
__metadata("design:type", Boolean)
|
|
90
|
-
], RegistrationDetailsDto.prototype, "requireEmail", void 0);
|
|
91
|
-
__decorate([
|
|
92
|
-
(0, swagger_1.ApiProperty)(),
|
|
93
|
-
(0, class_validator_1.IsBoolean)(),
|
|
94
|
-
__metadata("design:type", Boolean)
|
|
95
|
-
], RegistrationDetailsDto.prototype, "requirePhoneNumber", void 0);
|
|
96
|
-
__decorate([
|
|
97
|
-
(0, swagger_1.ApiProperty)(),
|
|
98
|
-
(0, class_validator_1.IsBoolean)(),
|
|
99
|
-
(0, class_validator_1.IsOptional)(),
|
|
100
|
-
__metadata("design:type", Boolean)
|
|
101
|
-
], RegistrationDetailsDto.prototype, "isPublished", void 0);
|
|
102
|
-
__decorate([
|
|
103
|
-
(0, swagger_1.ApiProperty)(),
|
|
104
|
-
(0, class_validator_1.IsBoolean)(),
|
|
105
|
-
__metadata("design:type", Boolean)
|
|
106
|
-
], RegistrationDetailsDto.prototype, "hasSideEvents", void 0);
|
|
107
|
-
__decorate([
|
|
108
|
-
(0, swagger_1.ApiProperty)(),
|
|
109
|
-
(0, class_validator_1.IsOptional)(),
|
|
110
|
-
(0, class_validator_1.IsBoolean)(),
|
|
111
|
-
__metadata("design:type", Boolean)
|
|
112
|
-
], RegistrationDetailsDto.prototype, "hasWaitlist", void 0);
|
|
113
|
-
__decorate([
|
|
114
|
-
(0, swagger_1.ApiProperty)(),
|
|
115
|
-
(0, class_validator_1.IsOptional)(),
|
|
116
|
-
(0, class_validator_1.IsBoolean)(),
|
|
117
|
-
__metadata("design:type", Boolean)
|
|
118
|
-
], RegistrationDetailsDto.prototype, "showGuestCount", void 0);
|
|
119
|
-
__decorate([
|
|
120
|
-
(0, swagger_1.ApiProperty)(),
|
|
121
|
-
(0, class_validator_1.IsBoolean)(),
|
|
122
|
-
__metadata("design:type", Boolean)
|
|
123
|
-
], RegistrationDetailsDto.prototype, "refundable", void 0);
|
|
124
|
-
__decorate([
|
|
125
|
-
(0, swagger_1.ApiProperty)(),
|
|
126
|
-
(0, class_validator_1.IsBoolean)(),
|
|
127
|
-
__metadata("design:type", Boolean)
|
|
128
|
-
], RegistrationDetailsDto.prototype, "nameWithNumber", void 0);
|
|
129
|
-
__decorate([
|
|
130
|
-
(0, swagger_1.ApiProperty)(),
|
|
131
|
-
(0, class_validator_1.IsBoolean)(),
|
|
132
|
-
__metadata("design:type", Boolean)
|
|
133
|
-
], RegistrationDetailsDto.prototype, "botProtection", void 0);
|
|
134
|
-
class EventLocationDto {
|
|
135
|
-
}
|
|
136
|
-
exports.EventLocationDto = EventLocationDto;
|
|
137
|
-
__decorate([
|
|
138
|
-
(0, swagger_1.ApiProperty)({ required: false }),
|
|
139
|
-
(0, class_validator_1.IsString)(),
|
|
140
|
-
(0, class_validator_1.IsOptional)(),
|
|
141
|
-
(0, class_validator_1.Length)(3, 300),
|
|
142
|
-
__metadata("design:type", String)
|
|
143
|
-
], EventLocationDto.prototype, "address", void 0);
|
|
144
|
-
__decorate([
|
|
145
|
-
(0, swagger_1.ApiProperty)({ required: false }),
|
|
146
|
-
(0, class_validator_1.IsString)(),
|
|
147
|
-
(0, class_validator_1.IsOptional)(),
|
|
148
|
-
__metadata("design:type", String)
|
|
149
|
-
], EventLocationDto.prototype, "placeId", void 0);
|
|
150
|
-
__decorate([
|
|
151
|
-
(0, swagger_1.ApiProperty)({
|
|
152
|
-
minimum: -90,
|
|
153
|
-
maximum: 90,
|
|
154
|
-
required: false,
|
|
155
|
-
description: 'Latitude must be between -90 and 90',
|
|
156
|
-
}),
|
|
157
|
-
(0, class_validator_1.IsOptional)(),
|
|
158
|
-
(0, class_validator_1.IsNumber)(),
|
|
159
|
-
(0, class_validator_1.Min)(-90, { message: 'Latitude must be at least -90' }),
|
|
160
|
-
(0, class_validator_1.Max)(90, { message: 'Latitude must be at most 90' }),
|
|
161
|
-
__metadata("design:type", Number)
|
|
162
|
-
], EventLocationDto.prototype, "lat", void 0);
|
|
163
|
-
__decorate([
|
|
164
|
-
(0, swagger_1.ApiProperty)({
|
|
165
|
-
minimum: -180,
|
|
166
|
-
maximum: 180,
|
|
167
|
-
required: false,
|
|
168
|
-
description: 'Longitude must be between -180 and 180',
|
|
169
|
-
}),
|
|
170
|
-
(0, class_validator_1.IsOptional)(),
|
|
171
|
-
(0, class_validator_1.IsNumber)(),
|
|
172
|
-
(0, class_validator_1.Min)(-180, { message: 'Longitude must be at least -180' }),
|
|
173
|
-
(0, class_validator_1.Max)(180, { message: 'Longitude must be at most 180' }),
|
|
174
|
-
__metadata("design:type", Number)
|
|
175
|
-
], EventLocationDto.prototype, "long", void 0);
|
|
176
|
-
__decorate([
|
|
177
|
-
(0, swagger_1.ApiProperty)({ required: false }),
|
|
178
|
-
(0, class_validator_1.IsString)(),
|
|
179
|
-
(0, class_validator_1.IsOptional)(),
|
|
180
|
-
(0, class_validator_1.Length)(3, 100),
|
|
181
|
-
__metadata("design:type", String)
|
|
182
|
-
], EventLocationDto.prototype, "instructions", void 0);
|
|
183
|
-
__decorate([
|
|
184
|
-
(0, swagger_1.ApiProperty)({ required: false }),
|
|
185
|
-
(0, class_validator_1.IsString)(),
|
|
186
|
-
(0, class_validator_1.IsOptional)(),
|
|
187
|
-
(0, class_validator_1.Length)(3, 100),
|
|
188
|
-
__metadata("design:type", String)
|
|
189
|
-
], EventLocationDto.prototype, "onlineLink", void 0);
|
|
190
|
-
__decorate([
|
|
191
|
-
(0, swagger_1.ApiProperty)({ required: false }),
|
|
192
|
-
(0, class_validator_1.IsString)(),
|
|
193
|
-
(0, class_validator_1.IsOptional)(),
|
|
194
|
-
(0, class_validator_1.Length)(3, 100),
|
|
195
|
-
__metadata("design:type", String)
|
|
196
|
-
], EventLocationDto.prototype, "city", void 0);
|
|
197
|
-
__decorate([
|
|
198
|
-
(0, swagger_1.ApiProperty)({ required: false }),
|
|
199
|
-
(0, class_validator_1.IsString)(),
|
|
200
|
-
(0, class_validator_1.IsOptional)(),
|
|
201
|
-
(0, class_validator_1.Length)(3, 100),
|
|
202
|
-
__metadata("design:type", String)
|
|
203
|
-
], EventLocationDto.prototype, "country", void 0);
|
|
204
|
-
class EventProfileCreateDto {
|
|
205
|
-
}
|
|
206
|
-
exports.EventProfileCreateDto = EventProfileCreateDto;
|
|
207
|
-
__decorate([
|
|
208
|
-
(0, swagger_1.ApiProperty)(),
|
|
209
|
-
(0, class_validator_1.IsString)(),
|
|
210
|
-
(0, class_validator_1.Length)(3, 30),
|
|
211
|
-
__metadata("design:type", String)
|
|
212
|
-
], EventProfileCreateDto.prototype, "title", void 0);
|
|
213
|
-
__decorate([
|
|
214
|
-
(0, swagger_1.ApiProperty)({ minimum: Math.floor(Date.now() / 1000), type: 'integer' }),
|
|
215
|
-
(0, class_validator_1.IsInt)(),
|
|
216
|
-
(0, class_validator_1.Min)(Math.floor(Date.now() / 1000)),
|
|
217
|
-
__metadata("design:type", Number)
|
|
218
|
-
], EventProfileCreateDto.prototype, "startTime", void 0);
|
|
219
|
-
__decorate([
|
|
220
|
-
(0, swagger_1.ApiProperty)({ type: 'integer' }),
|
|
221
|
-
(0, class_validator_1.IsInt)(),
|
|
222
|
-
__metadata("design:type", Number)
|
|
223
|
-
], EventProfileCreateDto.prototype, "endTime", void 0);
|
|
224
|
-
__decorate([
|
|
225
|
-
(0, swagger_1.ApiProperty)({ type: EventLocationDto }),
|
|
226
|
-
(0, class_validator_1.IsObject)(),
|
|
227
|
-
(0, class_validator_1.ValidateNested)(),
|
|
228
|
-
(0, class_transformer_1.Type)(() => EventLocationDto),
|
|
229
|
-
__metadata("design:type", EventLocationDto)
|
|
230
|
-
], EventProfileCreateDto.prototype, "location", void 0);
|
|
231
|
-
__decorate([
|
|
232
|
-
(0, swagger_1.ApiProperty)({ type: RegistrationDetailsDto }),
|
|
233
|
-
(0, class_validator_1.IsObject)(),
|
|
234
|
-
(0, class_validator_1.ValidateNested)(),
|
|
235
|
-
(0, class_transformer_1.Type)(() => RegistrationDetailsDto),
|
|
236
|
-
__metadata("design:type", RegistrationDetailsDto)
|
|
237
|
-
], EventProfileCreateDto.prototype, "registration", void 0);
|
|
238
|
-
__decorate([
|
|
239
|
-
(0, swagger_1.ApiProperty)(),
|
|
240
|
-
(0, class_validator_1.IsBoolean)(),
|
|
241
|
-
__metadata("design:type", Boolean)
|
|
242
|
-
], EventProfileCreateDto.prototype, "isVirtualEvent", void 0);
|
|
243
|
-
__decorate([
|
|
244
|
-
(0, swagger_1.ApiProperty)({ type: EventSeoDto, required: false }),
|
|
245
|
-
(0, class_validator_1.IsObject)(),
|
|
246
|
-
(0, class_validator_1.ValidateNested)(),
|
|
247
|
-
(0, class_transformer_1.Type)(() => EventSeoDto),
|
|
248
|
-
(0, class_validator_1.IsOptional)(),
|
|
249
|
-
__metadata("design:type", EventSeoDto)
|
|
250
|
-
], EventProfileCreateDto.prototype, "seo", void 0);
|
|
251
|
-
__decorate([
|
|
252
|
-
(0, swagger_1.ApiProperty)({
|
|
253
|
-
enum: event_category_enum_1.EventCategory,
|
|
254
|
-
enumName: 'EventCategory',
|
|
255
|
-
}),
|
|
256
|
-
(0, class_validator_1.IsEnum)(event_category_enum_1.EventCategory),
|
|
257
|
-
__metadata("design:type", String)
|
|
258
|
-
], EventProfileCreateDto.prototype, "category", void 0);
|
|
259
|
-
__decorate([
|
|
260
|
-
(0, swagger_1.ApiProperty)({
|
|
261
|
-
required: false,
|
|
262
|
-
enum: event_category_enum_1.EventSubCategory,
|
|
263
|
-
enumName: 'EventSubCategory',
|
|
264
|
-
}),
|
|
265
|
-
(0, class_validator_1.IsString)(),
|
|
266
|
-
(0, class_validator_1.IsOptional)(),
|
|
267
|
-
(0, class_validator_1.IsEnum)(event_category_enum_1.EventSubCategory),
|
|
268
|
-
__metadata("design:type", String)
|
|
269
|
-
], EventProfileCreateDto.prototype, "subCategory", void 0);
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { CosmosDbGenericFilter, RangeFilter } from 'src/common/cosmos-db/entities/cosmos-db-generic-filter';
|
|
2
|
-
export declare class EventProfileFilterCriteriaDto {
|
|
3
|
-
searchText?: string;
|
|
4
|
-
area?: string[];
|
|
5
|
-
range?: RangeFilter[];
|
|
6
|
-
category?: string[];
|
|
7
|
-
subCategory?: string[];
|
|
8
|
-
}
|
|
9
|
-
export declare class EventExtraProperties {
|
|
10
|
-
creatorProfile?: boolean;
|
|
11
|
-
guestSummary?: boolean;
|
|
12
|
-
startsFrom?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare class EventProfileFilter extends CosmosDbGenericFilter {
|
|
15
|
-
filters: {
|
|
16
|
-
searchText?: string;
|
|
17
|
-
area?: string[];
|
|
18
|
-
id?: string[];
|
|
19
|
-
category?: string[];
|
|
20
|
-
subCategory?: string[];
|
|
21
|
-
range?: RangeFilter[];
|
|
22
|
-
registration?: {
|
|
23
|
-
visibility?: string;
|
|
24
|
-
isPublished?: boolean;
|
|
25
|
-
};
|
|
26
|
-
premium?: {
|
|
27
|
-
searchable?: boolean;
|
|
28
|
-
};
|
|
29
|
-
pk?: string;
|
|
30
|
-
};
|
|
31
|
-
strictSelect?: boolean;
|
|
32
|
-
includeCount?: boolean;
|
|
33
|
-
extraProperties?: {
|
|
34
|
-
creatorProfile: boolean;
|
|
35
|
-
guestSummary: boolean;
|
|
36
|
-
startsFrom: boolean;
|
|
37
|
-
};
|
|
38
|
-
constructor(props: Partial<EventProfileFilter>);
|
|
39
|
-
private applySelectPropertyLogic;
|
|
40
|
-
private getDefaultProperties;
|
|
41
|
-
}
|
|
@@ -1,129 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.EventProfileFilter = exports.EventExtraProperties = exports.EventProfileFilterCriteriaDto = void 0;
|
|
13
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const cosmos_db_generic_filter_1 = require("src/common/cosmos-db/entities/cosmos-db-generic-filter");
|
|
15
|
-
const ticketing_data_type_enum_1 = require("./ticketing-data-type.enum");
|
|
16
|
-
class EventProfileFilterCriteriaDto {
|
|
17
|
-
}
|
|
18
|
-
exports.EventProfileFilterCriteriaDto = EventProfileFilterCriteriaDto;
|
|
19
|
-
__decorate([
|
|
20
|
-
(0, swagger_1.ApiProperty)({ required: false, type: String }),
|
|
21
|
-
__metadata("design:type", String)
|
|
22
|
-
], EventProfileFilterCriteriaDto.prototype, "searchText", void 0);
|
|
23
|
-
__decorate([
|
|
24
|
-
(0, swagger_1.ApiProperty)({ required: false, type: String, isArray: true }),
|
|
25
|
-
__metadata("design:type", Array)
|
|
26
|
-
], EventProfileFilterCriteriaDto.prototype, "area", void 0);
|
|
27
|
-
__decorate([
|
|
28
|
-
(0, swagger_1.ApiProperty)({ required: false, type: cosmos_db_generic_filter_1.RangeFilter, isArray: true }),
|
|
29
|
-
__metadata("design:type", Array)
|
|
30
|
-
], EventProfileFilterCriteriaDto.prototype, "range", void 0);
|
|
31
|
-
__decorate([
|
|
32
|
-
(0, swagger_1.ApiProperty)({ required: false, type: String, isArray: true }),
|
|
33
|
-
__metadata("design:type", Array)
|
|
34
|
-
], EventProfileFilterCriteriaDto.prototype, "category", void 0);
|
|
35
|
-
__decorate([
|
|
36
|
-
(0, swagger_1.ApiProperty)({ required: false, type: String, isArray: true }),
|
|
37
|
-
__metadata("design:type", Array)
|
|
38
|
-
], EventProfileFilterCriteriaDto.prototype, "subCategory", void 0);
|
|
39
|
-
class EventExtraProperties {
|
|
40
|
-
}
|
|
41
|
-
exports.EventExtraProperties = EventExtraProperties;
|
|
42
|
-
__decorate([
|
|
43
|
-
(0, swagger_1.ApiProperty)({ required: false, type: 'boolean' }),
|
|
44
|
-
__metadata("design:type", Boolean)
|
|
45
|
-
], EventExtraProperties.prototype, "creatorProfile", void 0);
|
|
46
|
-
__decorate([
|
|
47
|
-
(0, swagger_1.ApiProperty)({ required: false, type: 'boolean' }),
|
|
48
|
-
__metadata("design:type", Boolean)
|
|
49
|
-
], EventExtraProperties.prototype, "guestSummary", void 0);
|
|
50
|
-
__decorate([
|
|
51
|
-
(0, swagger_1.ApiProperty)({ required: false, type: 'boolean' }),
|
|
52
|
-
__metadata("design:type", Boolean)
|
|
53
|
-
], EventExtraProperties.prototype, "startsFrom", void 0);
|
|
54
|
-
class EventProfileFilter extends cosmos_db_generic_filter_1.CosmosDbGenericFilter {
|
|
55
|
-
constructor(props) {
|
|
56
|
-
super(props);
|
|
57
|
-
this.filters = {
|
|
58
|
-
pk: ticketing_data_type_enum_1.TicketingDataType.EVENT_PROFILE,
|
|
59
|
-
registration: {
|
|
60
|
-
visibility: 'public',
|
|
61
|
-
isPublished: true,
|
|
62
|
-
},
|
|
63
|
-
premium: {
|
|
64
|
-
searchable: true,
|
|
65
|
-
},
|
|
66
|
-
};
|
|
67
|
-
this.strictSelect = false;
|
|
68
|
-
this.includeCount = false;
|
|
69
|
-
this.extraProperties = {
|
|
70
|
-
creatorProfile: true,
|
|
71
|
-
guestSummary: true,
|
|
72
|
-
startsFrom: true,
|
|
73
|
-
};
|
|
74
|
-
this.filters = {
|
|
75
|
-
...this.filters,
|
|
76
|
-
...props?.filters,
|
|
77
|
-
};
|
|
78
|
-
// Assign other properties
|
|
79
|
-
const { filters, ...otherProps } = props;
|
|
80
|
-
Object.assign(this, otherProps);
|
|
81
|
-
this.applySelectPropertyLogic(props);
|
|
82
|
-
}
|
|
83
|
-
applySelectPropertyLogic(props) {
|
|
84
|
-
if (Array.isArray(this.select)) {
|
|
85
|
-
const defaultProperties = this.getDefaultProperties();
|
|
86
|
-
this.select = this.select.concat(defaultProperties);
|
|
87
|
-
}
|
|
88
|
-
if (this.strictSelect) {
|
|
89
|
-
this.select = props.select;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
getDefaultProperties() {
|
|
93
|
-
return [
|
|
94
|
-
'dataType',
|
|
95
|
-
'collection',
|
|
96
|
-
'title',
|
|
97
|
-
'startTime',
|
|
98
|
-
'endTime',
|
|
99
|
-
'isVirtualEvent',
|
|
100
|
-
'type',
|
|
101
|
-
'location',
|
|
102
|
-
'profile',
|
|
103
|
-
'descriptionUrl',
|
|
104
|
-
'id',
|
|
105
|
-
'slug',
|
|
106
|
-
'background',
|
|
107
|
-
'creatorAddress',
|
|
108
|
-
];
|
|
109
|
-
}
|
|
110
|
-
}
|
|
111
|
-
exports.EventProfileFilter = EventProfileFilter;
|
|
112
|
-
__decorate([
|
|
113
|
-
(0, swagger_1.ApiProperty)({
|
|
114
|
-
type: EventProfileFilterCriteriaDto,
|
|
115
|
-
}),
|
|
116
|
-
__metadata("design:type", Object)
|
|
117
|
-
], EventProfileFilter.prototype, "filters", void 0);
|
|
118
|
-
__decorate([
|
|
119
|
-
(0, swagger_1.ApiProperty)({ required: false, type: 'boolean', default: false }),
|
|
120
|
-
__metadata("design:type", Boolean)
|
|
121
|
-
], EventProfileFilter.prototype, "strictSelect", void 0);
|
|
122
|
-
__decorate([
|
|
123
|
-
(0, swagger_1.ApiProperty)({ required: false, type: 'boolean', default: false }),
|
|
124
|
-
__metadata("design:type", Boolean)
|
|
125
|
-
], EventProfileFilter.prototype, "includeCount", void 0);
|
|
126
|
-
__decorate([
|
|
127
|
-
(0, swagger_1.ApiProperty)({ required: false, type: EventExtraProperties, default: false }),
|
|
128
|
-
__metadata("design:type", Object)
|
|
129
|
-
], EventProfileFilter.prototype, "extraProperties", void 0);
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { EventCategory } from './event-category.enum';
|
|
2
|
-
import { EventLocationDto, EventSeoDto, RegistrationDetailsDto } from './event-profile-create.dto';
|
|
3
|
-
export declare class EventProfileEditDto {
|
|
4
|
-
title?: string;
|
|
5
|
-
startTime?: number;
|
|
6
|
-
endTime?: number;
|
|
7
|
-
location?: EventLocationDto;
|
|
8
|
-
isVirtualEvent?: boolean;
|
|
9
|
-
registration?: RegistrationDetailsDto;
|
|
10
|
-
slug?: string;
|
|
11
|
-
seo?: EventSeoDto;
|
|
12
|
-
category?: EventCategory;
|
|
13
|
-
subCategory?: string;
|
|
14
|
-
}
|
|
@@ -1,108 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
-
};
|
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
-
};
|
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.EventProfileEditDto = void 0;
|
|
13
|
-
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const class_transformer_1 = require("class-transformer");
|
|
15
|
-
const class_validator_1 = require("class-validator");
|
|
16
|
-
const event_category_enum_1 = require("./event-category.enum");
|
|
17
|
-
const event_profile_create_dto_1 = require("./event-profile-create.dto");
|
|
18
|
-
class EventProfileEditDto {
|
|
19
|
-
}
|
|
20
|
-
exports.EventProfileEditDto = EventProfileEditDto;
|
|
21
|
-
__decorate([
|
|
22
|
-
(0, swagger_1.ApiProperty)({ example: 'Event Title', type: String, required: false }),
|
|
23
|
-
(0, class_validator_1.IsString)(),
|
|
24
|
-
(0, class_validator_1.Length)(3, 30),
|
|
25
|
-
(0, class_validator_1.IsOptional)(),
|
|
26
|
-
__metadata("design:type", String)
|
|
27
|
-
], EventProfileEditDto.prototype, "title", void 0);
|
|
28
|
-
__decorate([
|
|
29
|
-
(0, swagger_1.ApiProperty)({
|
|
30
|
-
example: Math.floor(Date.now() / 1000),
|
|
31
|
-
type: 'integer',
|
|
32
|
-
required: false,
|
|
33
|
-
}),
|
|
34
|
-
(0, class_validator_1.IsInt)(),
|
|
35
|
-
(0, class_validator_1.IsOptional)(),
|
|
36
|
-
__metadata("design:type", Number)
|
|
37
|
-
], EventProfileEditDto.prototype, "startTime", void 0);
|
|
38
|
-
__decorate([
|
|
39
|
-
(0, swagger_1.ApiProperty)({
|
|
40
|
-
example: Math.floor(Date.now() / 1000),
|
|
41
|
-
type: 'integer',
|
|
42
|
-
required: false,
|
|
43
|
-
}),
|
|
44
|
-
(0, class_validator_1.IsInt)(),
|
|
45
|
-
(0, class_validator_1.IsOptional)(),
|
|
46
|
-
__metadata("design:type", Number)
|
|
47
|
-
], EventProfileEditDto.prototype, "endTime", void 0);
|
|
48
|
-
__decorate([
|
|
49
|
-
(0, swagger_1.ApiProperty)({ type: event_profile_create_dto_1.EventLocationDto, required: false }),
|
|
50
|
-
(0, class_validator_1.IsObject)(),
|
|
51
|
-
(0, class_validator_1.ValidateNested)(),
|
|
52
|
-
(0, class_transformer_1.Type)(() => event_profile_create_dto_1.EventLocationDto),
|
|
53
|
-
(0, class_validator_1.IsOptional)(),
|
|
54
|
-
__metadata("design:type", event_profile_create_dto_1.EventLocationDto)
|
|
55
|
-
], EventProfileEditDto.prototype, "location", void 0);
|
|
56
|
-
__decorate([
|
|
57
|
-
(0, swagger_1.ApiProperty)({ type: 'boolean', example: false, required: false }),
|
|
58
|
-
(0, class_validator_1.IsOptional)(),
|
|
59
|
-
(0, class_validator_1.IsBoolean)(),
|
|
60
|
-
__metadata("design:type", Boolean)
|
|
61
|
-
], EventProfileEditDto.prototype, "isVirtualEvent", void 0);
|
|
62
|
-
__decorate([
|
|
63
|
-
(0, swagger_1.ApiProperty)({ type: event_profile_create_dto_1.RegistrationDetailsDto, example: {}, required: false }),
|
|
64
|
-
(0, class_validator_1.IsObject)(),
|
|
65
|
-
(0, class_validator_1.IsOptional)(),
|
|
66
|
-
(0, class_validator_1.ValidateNested)(),
|
|
67
|
-
(0, class_transformer_1.Type)(() => event_profile_create_dto_1.RegistrationDetailsDto),
|
|
68
|
-
__metadata("design:type", event_profile_create_dto_1.RegistrationDetailsDto)
|
|
69
|
-
], EventProfileEditDto.prototype, "registration", void 0);
|
|
70
|
-
__decorate([
|
|
71
|
-
(0, swagger_1.ApiProperty)({ example: 'my-awesome-event', type: String, required: false }),
|
|
72
|
-
(0, class_validator_1.IsString)(),
|
|
73
|
-
(0, class_validator_1.Matches)(/^[a-z0-9-]+$/, {
|
|
74
|
-
message: 'Slug can only contain lowercase letters, numbers, and hyphens',
|
|
75
|
-
}),
|
|
76
|
-
(0, class_validator_1.Length)(3, 20),
|
|
77
|
-
(0, class_validator_1.IsOptional)(),
|
|
78
|
-
__metadata("design:type", String)
|
|
79
|
-
], EventProfileEditDto.prototype, "slug", void 0);
|
|
80
|
-
__decorate([
|
|
81
|
-
(0, swagger_1.ApiProperty)({ type: event_profile_create_dto_1.EventSeoDto, example: {}, required: false }),
|
|
82
|
-
(0, class_validator_1.IsObject)(),
|
|
83
|
-
(0, class_validator_1.ValidateNested)(),
|
|
84
|
-
(0, class_transformer_1.Type)(() => event_profile_create_dto_1.EventSeoDto),
|
|
85
|
-
(0, class_validator_1.IsOptional)(),
|
|
86
|
-
__metadata("design:type", event_profile_create_dto_1.EventSeoDto)
|
|
87
|
-
], EventProfileEditDto.prototype, "seo", void 0);
|
|
88
|
-
__decorate([
|
|
89
|
-
(0, swagger_1.ApiProperty)({
|
|
90
|
-
enum: event_category_enum_1.EventCategory,
|
|
91
|
-
enumName: 'EventCategory',
|
|
92
|
-
required: false,
|
|
93
|
-
}),
|
|
94
|
-
(0, class_validator_1.IsEnum)(event_category_enum_1.EventCategory),
|
|
95
|
-
(0, class_validator_1.IsOptional)(),
|
|
96
|
-
__metadata("design:type", String)
|
|
97
|
-
], EventProfileEditDto.prototype, "category", void 0);
|
|
98
|
-
__decorate([
|
|
99
|
-
(0, swagger_1.ApiProperty)({
|
|
100
|
-
enum: event_category_enum_1.EventSubCategory,
|
|
101
|
-
enumName: 'EventSubCategory',
|
|
102
|
-
required: false,
|
|
103
|
-
}),
|
|
104
|
-
(0, class_validator_1.IsString)(),
|
|
105
|
-
(0, class_validator_1.IsOptional)(),
|
|
106
|
-
(0, class_validator_1.IsEnum)(event_category_enum_1.EventSubCategory),
|
|
107
|
-
__metadata("design:type", String)
|
|
108
|
-
], EventProfileEditDto.prototype, "subCategory", void 0);
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import { CreatorProfileDoc } from '@xoxno/types';
|
|
2
|
-
import { EventCategory } from './event-category.enum';
|
|
3
|
-
import { EventGuestStatus } from './event-guest-status.enum';
|
|
4
|
-
import { EventGuestDoc } from './event-guest.doc';
|
|
5
|
-
import { EventLocationDto, EventSeoDto, Visibility } from './event-profile-create.dto';
|
|
6
|
-
import { EventTicketQrType } from './event-ticket-qr-type.enum';
|
|
7
|
-
import { EventUserRoleDoc } from './event-user-role.doc';
|
|
8
|
-
import { TicketingDataType } from './ticketing-data-type.enum';
|
|
9
|
-
export declare class RegistrationType {
|
|
10
|
-
visibility: Visibility;
|
|
11
|
-
maxLimit: number;
|
|
12
|
-
userLimit: number;
|
|
13
|
-
soldCount?: number;
|
|
14
|
-
hasSideEvents: boolean;
|
|
15
|
-
showGuestCount?: boolean;
|
|
16
|
-
requireKYC: boolean;
|
|
17
|
-
refundable: boolean;
|
|
18
|
-
nameWithNumber: boolean;
|
|
19
|
-
botProtection: boolean;
|
|
20
|
-
isPublished: boolean;
|
|
21
|
-
hasWaitlist?: boolean;
|
|
22
|
-
requireName: boolean;
|
|
23
|
-
requireEmail: boolean;
|
|
24
|
-
requirePhoneNumber: boolean;
|
|
25
|
-
hasCustomQuestions?: boolean;
|
|
26
|
-
emailSender?: string;
|
|
27
|
-
}
|
|
28
|
-
export declare class PremiumType {
|
|
29
|
-
searchable: boolean;
|
|
30
|
-
}
|
|
31
|
-
export declare class EventGuestProfileSummary {
|
|
32
|
-
address: string;
|
|
33
|
-
profile: string;
|
|
34
|
-
name?: string;
|
|
35
|
-
herotag?: string;
|
|
36
|
-
}
|
|
37
|
-
export declare class EventGuestSummary {
|
|
38
|
-
count: number;
|
|
39
|
-
guests: EventGuestProfileSummary[];
|
|
40
|
-
}
|
|
41
|
-
export declare class EventProfileDoc {
|
|
42
|
-
dataType: TicketingDataType;
|
|
43
|
-
createdAt: number;
|
|
44
|
-
creatorAddress: string;
|
|
45
|
-
title: string;
|
|
46
|
-
startTime: number;
|
|
47
|
-
endTime: number;
|
|
48
|
-
descriptionUrl?: string;
|
|
49
|
-
location: EventLocationDto;
|
|
50
|
-
isVirtualEvent: boolean;
|
|
51
|
-
slug: string;
|
|
52
|
-
profile: string;
|
|
53
|
-
category: EventCategory;
|
|
54
|
-
subCategory?: string;
|
|
55
|
-
background?: string;
|
|
56
|
-
registration: RegistrationType;
|
|
57
|
-
premium: PremiumType;
|
|
58
|
-
contractAddress?: string;
|
|
59
|
-
collection?: string;
|
|
60
|
-
seo?: EventSeoDto;
|
|
61
|
-
id: string;
|
|
62
|
-
eventPermissions?: Pick<EventUserRoleDoc, 'role' | 'permissions' | 'endTime'>;
|
|
63
|
-
pk: string;
|
|
64
|
-
_ts: number;
|
|
65
|
-
constructor(props?: Partial<EventProfileDoc>);
|
|
66
|
-
private generateRandomSlug;
|
|
67
|
-
}
|
|
68
|
-
export declare class EventStartPrice {
|
|
69
|
-
price: number;
|
|
70
|
-
currency: string;
|
|
71
|
-
}
|
|
72
|
-
export declare class EventProfile extends EventProfileDoc {
|
|
73
|
-
creatorProfile?: CreatorProfileDoc;
|
|
74
|
-
guestSummary?: EventGuestSummary;
|
|
75
|
-
startsFrom?: EventStartPrice;
|
|
76
|
-
guestProfile?: EventGuestDoc;
|
|
77
|
-
}
|
|
78
|
-
declare const EventProfileQuery_base: any;
|
|
79
|
-
export declare class EventProfileQuery extends EventProfileQuery_base {
|
|
80
|
-
}
|
|
81
|
-
export declare class MyEvents {
|
|
82
|
-
ticketCount: number;
|
|
83
|
-
status: EventGuestStatus;
|
|
84
|
-
eventProfile: EventProfile;
|
|
85
|
-
}
|
|
86
|
-
declare const GetMyEventsQuery_base: any;
|
|
87
|
-
export declare class GetMyEventsQuery extends GetMyEventsQuery_base {
|
|
88
|
-
}
|
|
89
|
-
export declare class BageQRData {
|
|
90
|
-
type: EventTicketQrType;
|
|
91
|
-
data: string;
|
|
92
|
-
}
|
|
93
|
-
export {};
|