@xoxno/types 1.0.329 → 1.0.330

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.
@@ -25,6 +25,10 @@ export declare class RegistrationDetailsDto {
25
25
  hasCustomQuestions?: boolean;
26
26
  emailSender?: string;
27
27
  }
28
+ export declare class GeoPointDto {
29
+ type?: string;
30
+ coordinates?: number[];
31
+ }
28
32
  export declare class EventLocationDto {
29
33
  address?: string;
30
34
  placeId?: string;
@@ -36,10 +40,6 @@ export declare class EventLocationDto {
36
40
  city?: string;
37
41
  country?: string;
38
42
  }
39
- export declare class GeoPointDto {
40
- type?: string;
41
- coordinates?: number[];
42
- }
43
43
  declare type RegistrationDetailsCreateDto_base = Pick<RegistrationDetailsDto, "maxLimit" | "userLimit" | "visibility" | "requireKYC" | "requireName" | "requireEmail" | "requirePhoneNumber" | "isPublished" | "hasSideEvents" | "hasWaitlist" | "showGuestCount" | "refundable" | "nameWithNumber" | "botProtection">;
44
44
  export declare type RegistrationDetailsCreateDto = RegistrationDetailsCreateDto_base ;
45
45
  declare const RegistrationDetailsCreateDtoNest_base: import("@nestjs/common").Type<Pick<RegistrationDetailsDto, "maxLimit" | "userLimit" | "visibility" | "requireKYC" | "requireName" | "requireEmail" | "requirePhoneNumber" | "isPublished" | "hasSideEvents" | "hasWaitlist" | "showGuestCount" | "refundable" | "nameWithNumber" | "botProtection">>;
@@ -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.GeoPointDto = exports.EventLocationDto = exports.RegistrationDetailsDto = exports.EventSeoDto = void 0;
12
+ exports.EventProfileCreateDto = exports.EventLocationDto = exports.GeoPointDto = exports.RegistrationDetailsDto = exports.EventSeoDto = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const class_validator_1 = require("class-validator");
15
15
  const ticketing_visibility_enum_1 = require("../../../enums/ticketing-visibility.enum");
@@ -172,6 +172,23 @@ __decorate([
172
172
  (0, class_validator_1.IsOptional)(),
173
173
  __metadata("design:type", String)
174
174
  ], RegistrationDetailsDto.prototype, "emailSender", void 0);
175
+ class GeoPointDto {
176
+ }
177
+ exports.GeoPointDto = GeoPointDto;
178
+ __decorate([
179
+ (0, swagger_1.ApiProperty)({ required: false }),
180
+ (0, class_validator_1.IsString)(),
181
+ (0, class_validator_1.IsOptional)(),
182
+ __metadata("design:type", String)
183
+ ], GeoPointDto.prototype, "type", void 0);
184
+ __decorate([
185
+ (0, swagger_1.ApiProperty)({ required: false }),
186
+ (0, class_validator_1.IsArray)(),
187
+ (0, class_validator_1.IsNumber)({}, { each: true }),
188
+ (0, class_validator_1.IsOptional)(),
189
+ (0, class_validator_1.ArrayMaxSize)(2),
190
+ __metadata("design:type", Array)
191
+ ], GeoPointDto.prototype, "coordinates", void 0);
175
192
  class EventLocationDto {
176
193
  }
177
194
  exports.EventLocationDto = EventLocationDto;
@@ -250,23 +267,6 @@ __decorate([
250
267
  (0, class_validator_1.IsOptional)(),
251
268
  __metadata("design:type", String)
252
269
  ], EventLocationDto.prototype, "country", void 0);
253
- class GeoPointDto {
254
- }
255
- exports.GeoPointDto = GeoPointDto;
256
- __decorate([
257
- (0, swagger_1.ApiProperty)({ required: false }),
258
- (0, class_validator_1.IsString)(),
259
- (0, class_validator_1.IsOptional)(),
260
- __metadata("design:type", String)
261
- ], GeoPointDto.prototype, "type", void 0);
262
- __decorate([
263
- (0, swagger_1.ApiProperty)({ required: false }),
264
- (0, class_validator_1.IsArray)(),
265
- (0, class_validator_1.IsNumber)({}, { each: true }),
266
- (0, class_validator_1.IsOptional)(),
267
- (0, class_validator_1.ArrayMaxSize)(2),
268
- __metadata("design:type", Array)
269
- ], GeoPointDto.prototype, "coordinates", void 0);
270
270
  class RegistrationDetailsCreateDto extends (0, swagger_1.PickType)(RegistrationDetailsDto, [
271
271
  'visibility',
272
272
  'maxLimit',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.329",
3
+ "version": "1.0.330",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {