@xoxno/types 1.0.102 → 1.0.104

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.
@@ -20,7 +20,7 @@ export declare class RegistrationDetailsDto {
20
20
  refundable: boolean;
21
21
  nameWithNumber: boolean;
22
22
  botProtection: boolean;
23
- allowCrypto?: boolean;
23
+ acceptCrypto?: boolean;
24
24
  soldCount?: number;
25
25
  hasCustomQuestions?: boolean;
26
26
  emailSender?: string;
@@ -132,7 +132,7 @@ __decorate([
132
132
  (0, class_validator_1.IsBoolean)(),
133
133
  (0, class_validator_1.IsOptional)(),
134
134
  __metadata("design:type", Boolean)
135
- ], RegistrationDetailsDto.prototype, "allowCrypto", void 0);
135
+ ], RegistrationDetailsDto.prototype, "acceptCrypto", void 0);
136
136
  __decorate([
137
137
  (0, swagger_1.ApiProperty)({
138
138
  type: 'integer',
@@ -50,7 +50,7 @@ export declare class EventStartPrice {
50
50
  currency: string;
51
51
  }
52
52
  export declare class EventProfile extends EventProfileDoc {
53
- creatorProfile?: CreatorProfileDoc;
53
+ creatorProfile: CreatorProfileDoc;
54
54
  guestSummary?: EventGuestSummary;
55
55
  startsFrom?: EventStartPrice;
56
56
  guestProfile?: EventGuestDoc;
@@ -304,7 +304,6 @@ __decorate([
304
304
  (0, swagger_1.ApiProperty)({
305
305
  description: 'Creator profile data including name, profile, and herotag.',
306
306
  type: () => user_creator_profile_doc_1.CreatorProfileDoc,
307
- required: false,
308
307
  }),
309
308
  __metadata("design:type", user_creator_profile_doc_1.CreatorProfileDoc)
310
309
  ], EventProfile.prototype, "creatorProfile", void 0);
@@ -2,9 +2,9 @@ import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
2
2
  export declare class EventTicketProfileDoc {
3
3
  dataType: TicketingDataType;
4
4
  eventId: string;
5
- name?: string;
6
- description?: string;
7
- profile?: string;
5
+ name: string;
6
+ description: string;
7
+ profile: string;
8
8
  royalties: number;
9
9
  badgeColor?: string;
10
10
  characteristics?: Record<string, string | number>;
@@ -45,21 +45,18 @@ __decorate([
45
45
  __decorate([
46
46
  (0, swagger_1.ApiProperty)({
47
47
  description: 'Name of the ticket type (e.g., General, VIP).',
48
- required: false,
49
48
  }),
50
49
  __metadata("design:type", String)
51
50
  ], EventTicketProfileDoc.prototype, "name", void 0);
52
51
  __decorate([
53
52
  (0, swagger_1.ApiProperty)({
54
53
  description: 'Description of the ticket type.',
55
- required: false,
56
54
  }),
57
55
  __metadata("design:type", String)
58
56
  ], EventTicketProfileDoc.prototype, "description", void 0);
59
57
  __decorate([
60
58
  (0, swagger_1.ApiProperty)({
61
59
  description: 'URL of the image that will be used as the NFT representing this ticket type.',
62
- required: false,
63
60
  }),
64
61
  __metadata("design:type", String)
65
62
  ], EventTicketProfileDoc.prototype, "profile", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.102",
3
+ "version": "1.0.104",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",