@xoxno/types 1.0.198 → 1.0.199

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.
@@ -47,7 +47,7 @@ export declare class EventGuestDoc {
47
47
  metadata?: Record<string, unknown>;
48
48
  id?: string;
49
49
  pk?: string;
50
- _ts: number;
50
+ _ts?: number;
51
51
  ttl?: number;
52
52
  constructor(props?: Partial<EventGuestDoc>);
53
53
  }
@@ -349,6 +349,7 @@ __decorate([
349
349
  (0, swagger_1.ApiProperty)({
350
350
  description: 'Timestamp for document in Cosmos DB.',
351
351
  type: 'integer',
352
+ required: false,
352
353
  }),
353
354
  __metadata("design:type", Number)
354
355
  ], EventGuestDoc.prototype, "_ts", void 0);
@@ -15,7 +15,7 @@ export declare class EventStageProfileDoc {
15
15
  prices: EgldOrEsdtTokenPayment[];
16
16
  soldCount: number;
17
17
  id: string;
18
- pk: string;
19
- _ts: number;
18
+ pk?: string;
19
+ _ts?: number;
20
20
  constructor(props?: Partial<EventStageProfileDoc>);
21
21
  }
@@ -177,11 +177,13 @@ __decorate([
177
177
  (0, swagger_1.ApiProperty)({
178
178
  description: 'Partition key for Cosmos DB document.',
179
179
  type: String,
180
+ required: false,
180
181
  }),
181
182
  __metadata("design:type", String)
182
183
  ], EventStageProfileDoc.prototype, "pk", void 0);
183
184
  __decorate([
184
185
  (0, swagger_1.ApiProperty)({
186
+ required: false,
185
187
  description: 'Timestamp for document in Cosmos DB.',
186
188
  type: 'integer',
187
189
  }),
@@ -13,8 +13,8 @@ export declare class EventTicketProfileDoc {
13
13
  soldCount: number;
14
14
  createdAt: number;
15
15
  id: string;
16
- pk: string;
17
- _ts: number;
16
+ pk?: string;
17
+ _ts?: number;
18
18
  constructor(props?: Partial<EventTicketProfileDoc>);
19
19
  }
20
20
  declare type TicketProfileSummary_base = Pick<EventTicketProfileDoc, "description" | "profile" | "name" | "badgeColor" | "characteristics">;
@@ -148,6 +148,7 @@ __decorate([
148
148
  (0, swagger_1.ApiProperty)({
149
149
  description: 'Partition key for Cosmos DB document.',
150
150
  type: String,
151
+ required: false,
151
152
  }),
152
153
  __metadata("design:type", String)
153
154
  ], EventTicketProfileDoc.prototype, "pk", void 0);
@@ -155,6 +156,7 @@ __decorate([
155
156
  (0, swagger_1.ApiProperty)({
156
157
  description: 'Timestamp for document in Cosmos DB.',
157
158
  type: 'integer',
159
+ required: false,
158
160
  }),
159
161
  __metadata("design:type", Number)
160
162
  ], EventTicketProfileDoc.prototype, "_ts", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.198",
3
+ "version": "1.0.199",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {