@xoxno/types 1.0.328 → 1.0.329

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.
@@ -30,11 +30,16 @@ export declare class EventLocationDto {
30
30
  placeId?: string;
31
31
  lat?: number;
32
32
  long?: number;
33
+ geo?: GeoPointDto;
33
34
  instructions?: string;
34
35
  onlineLink?: string;
35
36
  city?: string;
36
37
  country?: string;
37
38
  }
39
+ export declare class GeoPointDto {
40
+ type?: string;
41
+ coordinates?: number[];
42
+ }
38
43
  declare type RegistrationDetailsCreateDto_base = Pick<RegistrationDetailsDto, "maxLimit" | "userLimit" | "visibility" | "requireKYC" | "requireName" | "requireEmail" | "requirePhoneNumber" | "isPublished" | "hasSideEvents" | "hasWaitlist" | "showGuestCount" | "refundable" | "nameWithNumber" | "botProtection">;
39
44
  export declare type RegistrationDetailsCreateDto = RegistrationDetailsCreateDto_base ;
40
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.EventLocationDto = exports.RegistrationDetailsDto = exports.EventSeoDto = void 0;
12
+ exports.EventProfileCreateDto = exports.GeoPointDto = exports.EventLocationDto = 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");
@@ -214,6 +214,14 @@ __decorate([
214
214
  (0, class_validator_1.IsOptional)(),
215
215
  __metadata("design:type", Number)
216
216
  ], EventLocationDto.prototype, "long", void 0);
217
+ __decorate([
218
+ (0, swagger_1.ApiProperty)({ required: false }),
219
+ (0, class_validator_1.IsObject)(),
220
+ (0, class_validator_1.ValidateNested)(),
221
+ (0, class_validator_1.IsOptional)(),
222
+ (0, class_transformer_1.Type)(() => GeoPointDto),
223
+ __metadata("design:type", GeoPointDto)
224
+ ], EventLocationDto.prototype, "geo", void 0);
217
225
  __decorate([
218
226
  (0, swagger_1.ApiProperty)({ required: false }),
219
227
  (0, class_validator_1.IsString)(),
@@ -242,6 +250,23 @@ __decorate([
242
250
  (0, class_validator_1.IsOptional)(),
243
251
  __metadata("design:type", String)
244
252
  ], 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);
245
270
  class RegistrationDetailsCreateDto extends (0, swagger_1.PickType)(RegistrationDetailsDto, [
246
271
  'visibility',
247
272
  'maxLimit',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.328",
3
+ "version": "1.0.329",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {