@xoxno/types 1.0.109 → 1.0.110
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.
|
@@ -35,12 +35,28 @@ export declare class EventLocationDto {
|
|
|
35
35
|
city?: string;
|
|
36
36
|
country?: string;
|
|
37
37
|
}
|
|
38
|
+
export declare class RegistrationDetailsCreateDto {
|
|
39
|
+
visibility: Visibility;
|
|
40
|
+
maxLimit: number;
|
|
41
|
+
userLimit: number;
|
|
42
|
+
requireKYC: boolean;
|
|
43
|
+
requireName: boolean;
|
|
44
|
+
requireEmail: boolean;
|
|
45
|
+
requirePhoneNumber: boolean;
|
|
46
|
+
isPublished: boolean;
|
|
47
|
+
hasSideEvents: boolean;
|
|
48
|
+
hasWaitlist: boolean;
|
|
49
|
+
showGuestCount: boolean;
|
|
50
|
+
refundable: boolean;
|
|
51
|
+
nameWithNumber: boolean;
|
|
52
|
+
botProtection: boolean;
|
|
53
|
+
}
|
|
38
54
|
export declare class EventProfileCreateDto {
|
|
39
55
|
title: string;
|
|
40
56
|
startTime: number;
|
|
41
57
|
endTime: number;
|
|
42
58
|
location: EventLocationDto;
|
|
43
|
-
registration:
|
|
59
|
+
registration: RegistrationDetailsCreateDto;
|
|
44
60
|
isVirtualEvent: boolean;
|
|
45
61
|
seo?: EventSeoDto;
|
|
46
62
|
category: EventCategory;
|
|
@@ -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.EventProfileCreateDto = exports.EventLocationDto = exports.RegistrationDetailsDto = exports.EventSeoDto = void 0;
|
|
12
|
+
exports.EventProfileCreateDto = exports.RegistrationDetailsCreateDto = exports.EventLocationDto = exports.RegistrationDetailsDto = exports.EventSeoDto = 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");
|
|
@@ -230,6 +230,91 @@ __decorate([
|
|
|
230
230
|
(0, class_validator_1.Length)(3, 100),
|
|
231
231
|
__metadata("design:type", String)
|
|
232
232
|
], EventLocationDto.prototype, "country", void 0);
|
|
233
|
+
class RegistrationDetailsCreateDto {
|
|
234
|
+
}
|
|
235
|
+
exports.RegistrationDetailsCreateDto = RegistrationDetailsCreateDto;
|
|
236
|
+
__decorate([
|
|
237
|
+
(0, swagger_1.ApiProperty)({
|
|
238
|
+
enum: ticketing_visibility_enum_1.Visibility,
|
|
239
|
+
enumName: 'Visibility',
|
|
240
|
+
}),
|
|
241
|
+
(0, class_validator_1.IsEnum)(ticketing_visibility_enum_1.Visibility),
|
|
242
|
+
__metadata("design:type", String)
|
|
243
|
+
], RegistrationDetailsCreateDto.prototype, "visibility", void 0);
|
|
244
|
+
__decorate([
|
|
245
|
+
(0, swagger_1.ApiProperty)({
|
|
246
|
+
type: 'integer',
|
|
247
|
+
description: 'Maximum registrations allowed',
|
|
248
|
+
}),
|
|
249
|
+
(0, class_validator_1.IsInt)(),
|
|
250
|
+
__metadata("design:type", Number)
|
|
251
|
+
], RegistrationDetailsCreateDto.prototype, "maxLimit", void 0);
|
|
252
|
+
__decorate([
|
|
253
|
+
(0, swagger_1.ApiProperty)({
|
|
254
|
+
type: 'integer',
|
|
255
|
+
description: 'Maximum registrations per user',
|
|
256
|
+
}),
|
|
257
|
+
(0, class_validator_1.IsInt)(),
|
|
258
|
+
__metadata("design:type", Number)
|
|
259
|
+
], RegistrationDetailsCreateDto.prototype, "userLimit", void 0);
|
|
260
|
+
__decorate([
|
|
261
|
+
(0, swagger_1.ApiProperty)(),
|
|
262
|
+
(0, class_validator_1.IsBoolean)(),
|
|
263
|
+
__metadata("design:type", Boolean)
|
|
264
|
+
], RegistrationDetailsCreateDto.prototype, "requireKYC", void 0);
|
|
265
|
+
__decorate([
|
|
266
|
+
(0, swagger_1.ApiProperty)(),
|
|
267
|
+
(0, class_validator_1.IsBoolean)(),
|
|
268
|
+
__metadata("design:type", Boolean)
|
|
269
|
+
], RegistrationDetailsCreateDto.prototype, "requireName", void 0);
|
|
270
|
+
__decorate([
|
|
271
|
+
(0, swagger_1.ApiProperty)(),
|
|
272
|
+
(0, class_validator_1.IsBoolean)(),
|
|
273
|
+
__metadata("design:type", Boolean)
|
|
274
|
+
], RegistrationDetailsCreateDto.prototype, "requireEmail", void 0);
|
|
275
|
+
__decorate([
|
|
276
|
+
(0, swagger_1.ApiProperty)(),
|
|
277
|
+
(0, class_validator_1.IsBoolean)(),
|
|
278
|
+
__metadata("design:type", Boolean)
|
|
279
|
+
], RegistrationDetailsCreateDto.prototype, "requirePhoneNumber", void 0);
|
|
280
|
+
__decorate([
|
|
281
|
+
(0, swagger_1.ApiProperty)(),
|
|
282
|
+
(0, class_validator_1.IsBoolean)(),
|
|
283
|
+
(0, class_validator_1.IsOptional)(),
|
|
284
|
+
__metadata("design:type", Boolean)
|
|
285
|
+
], RegistrationDetailsCreateDto.prototype, "isPublished", void 0);
|
|
286
|
+
__decorate([
|
|
287
|
+
(0, swagger_1.ApiProperty)(),
|
|
288
|
+
(0, class_validator_1.IsBoolean)(),
|
|
289
|
+
__metadata("design:type", Boolean)
|
|
290
|
+
], RegistrationDetailsCreateDto.prototype, "hasSideEvents", void 0);
|
|
291
|
+
__decorate([
|
|
292
|
+
(0, swagger_1.ApiProperty)(),
|
|
293
|
+
(0, class_validator_1.IsOptional)(),
|
|
294
|
+
(0, class_validator_1.IsBoolean)(),
|
|
295
|
+
__metadata("design:type", Boolean)
|
|
296
|
+
], RegistrationDetailsCreateDto.prototype, "hasWaitlist", void 0);
|
|
297
|
+
__decorate([
|
|
298
|
+
(0, swagger_1.ApiProperty)(),
|
|
299
|
+
(0, class_validator_1.IsOptional)(),
|
|
300
|
+
(0, class_validator_1.IsBoolean)(),
|
|
301
|
+
__metadata("design:type", Boolean)
|
|
302
|
+
], RegistrationDetailsCreateDto.prototype, "showGuestCount", void 0);
|
|
303
|
+
__decorate([
|
|
304
|
+
(0, swagger_1.ApiProperty)(),
|
|
305
|
+
(0, class_validator_1.IsBoolean)(),
|
|
306
|
+
__metadata("design:type", Boolean)
|
|
307
|
+
], RegistrationDetailsCreateDto.prototype, "refundable", void 0);
|
|
308
|
+
__decorate([
|
|
309
|
+
(0, swagger_1.ApiProperty)(),
|
|
310
|
+
(0, class_validator_1.IsBoolean)(),
|
|
311
|
+
__metadata("design:type", Boolean)
|
|
312
|
+
], RegistrationDetailsCreateDto.prototype, "nameWithNumber", void 0);
|
|
313
|
+
__decorate([
|
|
314
|
+
(0, swagger_1.ApiProperty)(),
|
|
315
|
+
(0, class_validator_1.IsBoolean)(),
|
|
316
|
+
__metadata("design:type", Boolean)
|
|
317
|
+
], RegistrationDetailsCreateDto.prototype, "botProtection", void 0);
|
|
233
318
|
class EventProfileCreateDto {
|
|
234
319
|
}
|
|
235
320
|
exports.EventProfileCreateDto = EventProfileCreateDto;
|
|
@@ -258,11 +343,11 @@ __decorate([
|
|
|
258
343
|
__metadata("design:type", EventLocationDto)
|
|
259
344
|
], EventProfileCreateDto.prototype, "location", void 0);
|
|
260
345
|
__decorate([
|
|
261
|
-
(0, swagger_1.ApiProperty)({ type:
|
|
346
|
+
(0, swagger_1.ApiProperty)({ type: RegistrationDetailsCreateDto }),
|
|
262
347
|
(0, class_validator_1.IsObject)(),
|
|
263
348
|
(0, class_validator_1.ValidateNested)(),
|
|
264
|
-
(0, class_transformer_1.Type)(() =>
|
|
265
|
-
__metadata("design:type",
|
|
349
|
+
(0, class_transformer_1.Type)(() => RegistrationDetailsCreateDto),
|
|
350
|
+
__metadata("design:type", RegistrationDetailsCreateDto)
|
|
266
351
|
], EventProfileCreateDto.prototype, "registration", void 0);
|
|
267
352
|
__decorate([
|
|
268
353
|
(0, swagger_1.ApiProperty)(),
|