@xoxno/types 1.0.153 → 1.0.157

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.
@@ -0,0 +1,11 @@
1
+ import { NftDocHydrated } from '../token/nft-details.doc';
2
+ import { NftSaleInfoHydrated } from '../token/nft-sale-info';
3
+ declare type ShortNftEventDoc_base = Pick<NftDocHydrated, "identifier">;
4
+ export declare type ShortNftEventDoc = ShortNftEventDoc_base & {
5
+ saleInfo?: Pick<NftSaleInfoHydrated, 'minBidShort' | 'paymentToken'>;
6
+ };
7
+ declare const ShortNftEventDocNest_base: import("@nestjs/common").Type<Pick<NftDocHydrated, "identifier">>;
8
+ export declare class ShortNftEventDocNest extends ShortNftEventDocNest_base {
9
+ saleInfo?: Pick<NftSaleInfoHydrated, 'minBidShort' | 'paymentToken'>;
10
+ }
11
+ export {};
@@ -0,0 +1,12 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ShortNftEventDoc = void 0;
4
+ const swagger_1 = require("@nestjs/swagger");
5
+ const nft_details_doc_1 = require("../token/nft-details.doc");
6
+ class ShortNftEventDoc extends (0, swagger_1.PickType)(nft_details_doc_1.NftDocHydrated, [
7
+ 'identifier',
8
+ ]) {
9
+ }
10
+ exports.ShortNftEventDoc = ShortNftEventDoc;
11
+
12
+ exports.ShortNftEventDocNest = ShortNftEventDoc;
@@ -1,6 +1,7 @@
1
1
  import { EventGuestStatus } from '../../../enums/event-guest-status.enum';
2
- import { TicketProfileSummary } from './event-ticket-profile.doc';
3
2
  import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
3
+ import { ShortNftEventDoc } from '../short/short-nft-event-doc';
4
+ import { TicketProfileSummary } from './event-ticket-profile.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: ShortNftEventDoc;
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,14 +9,14 @@ 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");
16
16
  const event_guest_status_enum_1 = require("../../../enums/event-guest-status.enum");
17
- const event_ticket_profile_doc_1 = require("./event-ticket-profile.doc");
18
17
  const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
19
18
  const cosmos_db_paginated_response_dto_1 = require("../../cosmos-db-paginated-response.dto");
19
+ const event_ticket_profile_doc_1 = require("./event-ticket-profile.doc");
20
20
  class EventGuestCheckIn {
21
21
  constructor() {
22
22
  this.isCheckIn = false;
@@ -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)
@@ -1,13 +1,12 @@
1
1
  import { EventInvitationStatus } from '../../../enums/event-invitation-status.enum';
2
- import { TicketProfileSummary } from './event-ticket-profile.doc';
3
- import { TicketsType } from './event-ticket-qr-type.enum';
4
2
  import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
3
+ import { TicketProfileSummary } from './event-ticket-profile.doc';
5
4
  export declare class EventInvitationDoc {
6
5
  dataType: TicketingDataType;
7
6
  eventId: string;
8
7
  name?: string;
9
8
  email?: string;
10
- tickets: TicketsType[] | TicketProfileSummary[];
9
+ tickets: TicketProfileSummary[];
11
10
  startTime: number;
12
11
  endTime: number;
13
12
  createdAt: number;
@@ -14,9 +14,9 @@ const swagger_1 = require("@nestjs/swagger");
14
14
  const class_validator_1 = require("class-validator");
15
15
  const uuid_1 = require("uuid");
16
16
  const event_invitation_status_enum_1 = require("../../../enums/event-invitation-status.enum");
17
- const event_ticket_profile_doc_1 = require("./event-ticket-profile.doc");
18
17
  const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
19
18
  const cosmos_db_paginated_response_dto_1 = require("../../cosmos-db-paginated-response.dto");
19
+ const event_ticket_profile_doc_1 = require("./event-ticket-profile.doc");
20
20
  class EventInvitationDoc {
21
21
  constructor(props) {
22
22
  this.dataType = ticketing_data_type_enum_1.TicketingDataType.INVITATION;
package/dist/index.d.ts CHANGED
@@ -48,6 +48,7 @@ export * from './cosmos-db/documents/short/short-collection-info.doc';
48
48
  export * from './cosmos-db/documents/short/short-collection.doc';
49
49
  export * from './cosmos-db/documents/short/short-creator.doc';
50
50
  export * from './cosmos-db/documents/short/short-nft-collection-info.doc';
51
+ export * from './cosmos-db/documents/short/short-nft-event-doc';
51
52
  export * from './cosmos-db/documents/short/short-nft.doc';
52
53
  export * from './cosmos-db/documents/short/short-voucher.doc';
53
54
  export * from './cosmos-db/documents/staking/staking-delegator-doc';
package/dist/index.js CHANGED
@@ -64,6 +64,7 @@ __exportStar(require("./cosmos-db/documents/short/short-collection-info.doc"), e
64
64
  __exportStar(require("./cosmos-db/documents/short/short-collection.doc"), exports);
65
65
  __exportStar(require("./cosmos-db/documents/short/short-creator.doc"), exports);
66
66
  __exportStar(require("./cosmos-db/documents/short/short-nft-collection-info.doc"), exports);
67
+ __exportStar(require("./cosmos-db/documents/short/short-nft-event-doc"), exports);
67
68
  __exportStar(require("./cosmos-db/documents/short/short-nft.doc"), exports);
68
69
  __exportStar(require("./cosmos-db/documents/short/short-voucher.doc"), exports);
69
70
  __exportStar(require("./cosmos-db/documents/staking/staking-delegator-doc"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.153",
3
+ "version": "1.0.157",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {