@xoxno/types 1.0.196 → 1.0.198

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.
@@ -136,7 +136,10 @@ __decorate([
136
136
  __metadata("design:type", Boolean)
137
137
  ], RegistrationDetailsDto.prototype, "botProtection", void 0);
138
138
  __decorate([
139
- (0, swagger_1.ApiProperty)(),
139
+ (0, swagger_1.ApiProperty)({
140
+ required: false,
141
+ description: 'Whether the event accepts crypto',
142
+ }),
140
143
  (0, class_validator_1.IsBoolean)(),
141
144
  (0, class_validator_1.IsOptional)(),
142
145
  __metadata("design:type", Boolean)
@@ -41,8 +41,8 @@ export declare class EventProfileDoc {
41
41
  seo?: EventSeoDto;
42
42
  id: string;
43
43
  eventPermissions?: Pick<EventUserRoleDoc, 'role' | 'permissions' | 'endTime'>;
44
- pk: string;
45
- _ts: number;
44
+ pk?: string;
45
+ _ts?: number;
46
46
  constructor(props?: Partial<EventProfileDoc>);
47
47
  }
48
48
  export declare class EventStartPrice {
@@ -293,6 +293,7 @@ __decorate([
293
293
  __decorate([
294
294
  (0, swagger_1.ApiProperty)({
295
295
  description: 'Automatically generated unique identifier for the event.',
296
+ required: true,
296
297
  }),
297
298
  __metadata("design:type", String)
298
299
  ], EventProfileDoc.prototype, "id", void 0);
@@ -310,6 +311,7 @@ __decorate([
310
311
  (0, swagger_1.ApiProperty)({
311
312
  description: 'Partition key for Cosmos DB document.',
312
313
  type: String,
314
+ required: false,
313
315
  }),
314
316
  __metadata("design:type", String)
315
317
  ], EventProfileDoc.prototype, "pk", void 0);
@@ -317,6 +319,7 @@ __decorate([
317
319
  (0, swagger_1.ApiProperty)({
318
320
  description: 'Timestamp for document in Cosmos DB.',
319
321
  type: 'integer',
322
+ required: false,
320
323
  }),
321
324
  __metadata("design:type", Number)
322
325
  ], EventProfileDoc.prototype, "_ts", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.196",
3
+ "version": "1.0.198",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {