@xoxno/types 1.0.153 → 1.0.154

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.
@@ -1,6 +1,7 @@
1
1
  import { EventGuestStatus } from '../../../enums/event-guest-status.enum';
2
2
  import { TicketProfileSummary } from './event-ticket-profile.doc';
3
3
  import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
4
+ import { ShortNftDoc } from '../short/short-nft.doc';
4
5
  export declare class EventGuestCheckIn {
5
6
  ticketId: string;
6
7
  ticketProfile?: TicketProfileSummary;
@@ -12,6 +13,9 @@ export declare class EventGuestCheckIn {
12
13
  quantity?: number;
13
14
  transactionId?: string;
14
15
  }
16
+ export declare class EventGuestCheckInHydrated extends EventGuestCheckIn {
17
+ nft: ShortNftDoc;
18
+ }
15
19
  declare class EventGuestRegistration {
16
20
  email?: string;
17
21
  name?: string;
@@ -33,7 +37,7 @@ export declare class EventGuestDoc {
33
37
  dataType: TicketingDataType;
34
38
  wallet: string;
35
39
  eventId: string;
36
- ticket: Record<string, EventGuestCheckIn>;
40
+ ticket: Record<string, EventGuestCheckInHydrated>;
37
41
  questionnaireFilled: boolean;
38
42
  registration?: EventGuestRegistration;
39
43
  billing?: EventGuestBilling;
@@ -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.EventGuestExport = exports.EventGuestProfileQuery = exports.EventGuestProfile = exports.EventGuestDoc = exports.EventGuestCheckIn = void 0;
12
+ exports.EventGuestExport = exports.EventGuestProfileQuery = exports.EventGuestProfile = exports.EventGuestDoc = exports.EventGuestCheckInHydrated = exports.EventGuestCheckIn = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const class_validator_1 = require("class-validator");
15
15
  const uuid_1 = require("uuid");
@@ -105,6 +105,9 @@ __decorate([
105
105
  }),
106
106
  __metadata("design:type", String)
107
107
  ], EventGuestCheckIn.prototype, "transactionId", void 0);
108
+ class EventGuestCheckInHydrated extends EventGuestCheckIn {
109
+ }
110
+ exports.EventGuestCheckInHydrated = EventGuestCheckInHydrated;
108
111
  class EventGuestRegistration {
109
112
  }
110
113
  __decorate([
@@ -250,7 +253,7 @@ __decorate([
250
253
  },
251
254
  type: 'object',
252
255
  additionalProperties: {
253
- $ref: (0, swagger_1.getSchemaPath)(EventGuestCheckIn),
256
+ $ref: (0, swagger_1.getSchemaPath)(EventGuestCheckInHydrated),
254
257
  },
255
258
  }),
256
259
  __metadata("design:type", Object)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.153",
3
+ "version": "1.0.154",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {