@xoxno/types 1.0.166 → 1.0.167

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.
@@ -35,7 +35,7 @@ __decorate([
35
35
  (0, class_validator_1.IsNotEmptyObject)(),
36
36
  (0, swagger_1.ApiProperty)({
37
37
  description: 'Message reply to user',
38
- type: chat_message_reply_dto_1.ChatMessageReplyDto,
38
+ type: () => chat_message_reply_dto_1.ChatMessageReplyDto,
39
39
  required: false,
40
40
  }),
41
41
  __metadata("design:type", chat_message_reply_dto_1.ChatMessageReplyDto)
@@ -26,7 +26,10 @@ __decorate([
26
26
  (0, class_validator_1.ValidateNested)(),
27
27
  (0, class_transformer_1.Type)(() => chat_message_content_dto_1.ChatMessageContentDto),
28
28
  (0, class_validator_1.IsNotEmptyObject)(),
29
- (0, swagger_1.ApiProperty)({ description: 'Message value', type: ChatMessageReplyDto }),
29
+ (0, swagger_1.ApiProperty)({
30
+ description: 'Message value',
31
+ type: () => ChatMessageReplyDto,
32
+ }),
30
33
  __metadata("design:type", chat_message_content_dto_1.ChatMessageContentDto)
31
34
  ], ChatMessageReplyDto.prototype, "content", void 0);
32
35
  __decorate([
@@ -26,7 +26,7 @@ __decorate([
26
26
  (0, class_validator_1.ValidateNested)(),
27
27
  (0, class_transformer_1.Type)(() => chat_message_content_dto_1.ChatMessageContentDto),
28
28
  (0, class_validator_1.IsNotEmptyObject)(),
29
- (0, swagger_1.ApiProperty)({ required: true, type: chat_message_content_dto_1.ChatMessageContentDto }),
29
+ (0, swagger_1.ApiProperty)({ required: true, type: () => chat_message_content_dto_1.ChatMessageContentDto }),
30
30
  __metadata("design:type", chat_message_content_dto_1.ChatMessageContentDto)
31
31
  ], SendChatMessageDto.prototype, "content", void 0);
32
32
  __decorate([
@@ -151,7 +151,7 @@ __decorate([
151
151
  __decorate([
152
152
  (0, swagger_1.ApiProperty)({
153
153
  description: 'Social media links for the collection',
154
- type: socials_1.SocialsDto,
154
+ type: () => socials_1.SocialsDto,
155
155
  }),
156
156
  (0, class_validator_1.ValidateNested)(),
157
157
  (0, class_transformer_1.Type)(() => socials_1.SocialsDto),
@@ -126,7 +126,7 @@ __decorate([
126
126
  __decorate([
127
127
  (0, swagger_1.ApiProperty)({
128
128
  description: 'Selected tickets',
129
- type: [TicketSelectionDto],
129
+ type: () => [TicketSelectionDto],
130
130
  required: false,
131
131
  }),
132
132
  (0, class_validator_1.IsArray)(),
@@ -174,7 +174,7 @@ __decorate([
174
174
  (0, swagger_1.ApiProperty)({
175
175
  description: 'Answers to custom questions',
176
176
  required: false,
177
- type: event_question_answer_doc_1.EventQuestionAnswerDto,
177
+ type: () => event_question_answer_doc_1.EventQuestionAnswerDto,
178
178
  isArray: true,
179
179
  }),
180
180
  (0, class_validator_1.IsOptional)(),
@@ -39,7 +39,7 @@ class EventInvitationCreateDto extends (0, swagger_1.PickType)(event_invitation_
39
39
  }
40
40
  exports.EventInvitationCreateDto = EventInvitationCreateDto;
41
41
  __decorate([
42
- (0, swagger_1.ApiProperty)({ type: Ticket, isArray: true }),
42
+ (0, swagger_1.ApiProperty)({ type: () => Ticket, isArray: true }),
43
43
  (0, class_validator_1.IsArray)(),
44
44
  (0, class_validator_1.ArrayMaxSize)(100),
45
45
  (0, class_validator_1.ValidateNested)({ each: true }),
@@ -84,7 +84,7 @@ __decorate([
84
84
  __decorate([
85
85
  (0, swagger_1.ApiProperty)({
86
86
  description: 'List of ticket types with their IDs and quantities.',
87
- type: event_ticket_profile_doc_1.TicketProfileSummary,
87
+ type: () => event_ticket_profile_doc_1.TicketProfileSummary,
88
88
  isArray: true,
89
89
  example: [{ ticketId: 'VIP123', quantity: 2 }],
90
90
  }),
@@ -14,6 +14,7 @@ const crypto_1 = require("crypto");
14
14
  const swagger_1 = require("@nestjs/swagger");
15
15
  const class_validator_1 = require("class-validator");
16
16
  const uuid_1 = require("uuid");
17
+ const class_transformer_1 = require("class-transformer");
17
18
  const event_category_enum_1 = require("../../../enums/event-category.enum");
18
19
  const event_guest_status_enum_1 = require("../../../enums/event-guest-status.enum");
19
20
  const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
@@ -23,10 +24,6 @@ const user_creator_profile_doc_1 = require("../user/user-creator-profile.doc");
23
24
  const event_guest_doc_1 = require("./event-guest.doc");
24
25
  const event_profile_create_dto_1 = require("./event-profile-create.dto");
25
26
  const event_user_role_doc_1 = require("./event-user-role.doc");
26
- const class_transformer_1 = require("class-transformer");
27
- /* export class RegistrationType {
28
-
29
- } */
30
27
  class PremiumType {
31
28
  }
32
29
  exports.PremiumType = PremiumType;
@@ -177,7 +174,7 @@ __decorate([
177
174
  ], EventProfileDoc.prototype, "descriptionUrl", void 0);
178
175
  __decorate([
179
176
  (0, swagger_1.ApiProperty)({
180
- type: event_profile_create_dto_1.EventLocationDto,
177
+ type: () => event_profile_create_dto_1.EventLocationDto,
181
178
  description: 'Location details including geo points, address, and optional instructions.',
182
179
  }),
183
180
  (0, class_validator_1.IsObject)(),
@@ -237,7 +234,7 @@ __decorate([
237
234
  }),
238
235
  (0, class_validator_1.IsObject)(),
239
236
  (0, class_validator_1.ValidateNested)(),
240
- (0, class_transformer_1.Type)(() => event_profile_create_dto_1.RegistrationDetailsCreateDto),
237
+ (0, class_transformer_1.Type)(() => event_profile_create_dto_1.RegistrationDetailsDto),
241
238
  __metadata("design:type", event_profile_create_dto_1.RegistrationDetailsDto)
242
239
  ], EventProfileDoc.prototype, "registration", void 0);
243
240
  __decorate([
@@ -263,7 +260,7 @@ __decorate([
263
260
  ], EventProfileDoc.prototype, "collection", void 0);
264
261
  __decorate([
265
262
  (0, swagger_1.ApiProperty)({
266
- type: event_profile_create_dto_1.EventSeoDto,
263
+ type: () => event_profile_create_dto_1.EventSeoDto,
267
264
  example: {},
268
265
  required: false,
269
266
  description: 'SEO-related information such as short description, tags, and alternative title.',
@@ -61,7 +61,7 @@ __decorate([
61
61
  __decorate([
62
62
  (0, swagger_1.ApiProperty)({
63
63
  required: false,
64
- type: cosmos_db_generic_filter_1.RangeFilter,
64
+ type: () => cosmos_db_generic_filter_1.RangeFilter,
65
65
  isArray: true,
66
66
  description: 'Filter referrals within a range of dates.',
67
67
  }),
@@ -102,7 +102,7 @@ __decorate([
102
102
  __decorate([
103
103
  (0, swagger_1.ApiProperty)({
104
104
  description: 'Indicates if a voucher should be automatically applied as a discount when this referral code is used.',
105
- type: short_voucher_doc_1.ShortVoucherDoc,
105
+ type: () => short_voucher_doc_1.ShortVoucherDoc,
106
106
  required: false,
107
107
  }),
108
108
  (0, class_validator_1.IsOptional)(),
@@ -114,7 +114,7 @@ __decorate([
114
114
  (0, swagger_1.ApiProperty)({
115
115
  required: false,
116
116
  description: 'Details about the reward issued to the referral owner after a certain number of successful referrals or revenue thresholds.',
117
- type: RewardDetails,
117
+ type: () => RewardDetails,
118
118
  }),
119
119
  (0, class_validator_1.IsOptional)(),
120
120
  (0, class_validator_1.ValidateNested)(),
@@ -107,7 +107,7 @@ __decorate([
107
107
  __decorate([
108
108
  (0, swagger_1.ApiProperty)({
109
109
  required: false,
110
- type: cosmos_db_generic_filter_1.RangeFilter,
110
+ type: () => cosmos_db_generic_filter_1.RangeFilter,
111
111
  isArray: true,
112
112
  description: 'Filter referrals within a range of dates.',
113
113
  }),
@@ -145,7 +145,7 @@ __decorate([
145
145
  (0, swagger_1.ApiProperty)({
146
146
  description: 'Price of the ticket during this stage, can override base price.',
147
147
  required: true,
148
- type: [tokenPayent_1.EgldOrEsdtTokenPayment],
148
+ type: () => [tokenPayent_1.EgldOrEsdtTokenPayment],
149
149
  }),
150
150
  (0, class_validator_1.IsArray)(),
151
151
  (0, class_validator_1.ValidateNested)({ each: true }),
@@ -118,7 +118,7 @@ __decorate([
118
118
  __decorate([
119
119
  (0, swagger_1.ApiProperty)({
120
120
  required: false,
121
- type: cosmos_db_generic_filter_1.RangeFilter,
121
+ type: () => cosmos_db_generic_filter_1.RangeFilter,
122
122
  isArray: true,
123
123
  description: 'Filter vouchers within a range of dates.',
124
124
  }),
@@ -27,7 +27,7 @@ __decorate([
27
27
  __decorate([
28
28
  (0, swagger_1.ApiProperty)({
29
29
  description: 'Selected tickets for check-in (optional)',
30
- type: [event_ticket_qr_type_enum_1.TicketsType],
30
+ type: () => [event_ticket_qr_type_enum_1.TicketsType],
31
31
  required: false,
32
32
  }),
33
33
  (0, class_validator_1.IsOptional)(),
@@ -33,7 +33,7 @@ __decorate([
33
33
  __metadata("design:type", Object)
34
34
  ], TicketCalculationRequestDto.prototype, "discountCode", void 0);
35
35
  __decorate([
36
- (0, swagger_1.ApiProperty)({ type: [event_guest_registration_dto_1.TicketSelectionDto] }),
36
+ (0, swagger_1.ApiProperty)({ type: () => [event_guest_registration_dto_1.TicketSelectionDto] }),
37
37
  (0, class_validator_1.IsArray)(),
38
38
  (0, class_validator_1.ValidateNested)({ each: true }),
39
39
  (0, class_transformer_1.Type)(() => event_guest_registration_dto_1.TicketSelectionDto),
@@ -65,7 +65,7 @@ __decorate([
65
65
  __metadata("design:type", String)
66
66
  ], TicketPricesResponse.prototype, "currency", void 0);
67
67
  __decorate([
68
- (0, swagger_1.ApiProperty)({ type: [StagePrice] }),
68
+ (0, swagger_1.ApiProperty)({ type: () => [StagePrice] }),
69
69
  (0, class_validator_1.IsArray)(),
70
70
  (0, class_validator_1.ValidateNested)({ each: true }),
71
71
  (0, class_transformer_1.Type)(() => StagePrice),
@@ -35,7 +35,7 @@ __decorate([
35
35
  ], Web2UserDoc.prototype, "id", void 0);
36
36
  __decorate([
37
37
  (0, swagger_1.ApiProperty)({
38
- type: [Object],
38
+ type: () => [Object],
39
39
  description: 'Array of linked accounts (Web2UserWallet or Web2UserAccount)',
40
40
  }),
41
41
  (0, class_validator_1.IsArray)(),
@@ -90,7 +90,7 @@ __decorate([
90
90
  ], PriceDataDto.prototype, "usdValue", void 0);
91
91
  __decorate([
92
92
  (0, swagger_1.ApiProperty)({
93
- type: short_nft_doc_1.ShortNftDoc,
93
+ type: () => short_nft_doc_1.ShortNftDoc,
94
94
  description: 'NFT information',
95
95
  required: false,
96
96
  }),
@@ -102,7 +102,10 @@ class UserStatsDto {
102
102
  }
103
103
  exports.UserStatsDto = UserStatsDto;
104
104
  __decorate([
105
- (0, swagger_1.ApiProperty)({ type: WalletDto, description: 'User wallet information' }),
105
+ (0, swagger_1.ApiProperty)({
106
+ type: () => WalletDto,
107
+ description: 'User wallet information',
108
+ }),
106
109
  (0, class_validator_1.ValidateNested)(),
107
110
  (0, class_transformer_1.Type)(() => WalletDto),
108
111
  __metadata("design:type", WalletDto)
@@ -158,13 +161,19 @@ __decorate([
158
161
  __metadata("design:type", Number)
159
162
  ], UserStatsDto.prototype, "buyerPartners", void 0);
160
163
  __decorate([
161
- (0, swagger_1.ApiProperty)({ type: PriceDataDto, description: 'Buyer maximum price data' }),
164
+ (0, swagger_1.ApiProperty)({
165
+ type: () => PriceDataDto,
166
+ description: 'Buyer maximum price data',
167
+ }),
162
168
  (0, class_validator_1.ValidateNested)(),
163
169
  (0, class_transformer_1.Type)(() => PriceDataDto),
164
170
  __metadata("design:type", PriceDataDto)
165
171
  ], UserStatsDto.prototype, "buyerMaxPriceData", void 0);
166
172
  __decorate([
167
- (0, swagger_1.ApiProperty)({ type: PriceDataDto, description: 'Buyer minimum price data' }),
173
+ (0, swagger_1.ApiProperty)({
174
+ type: () => PriceDataDto,
175
+ description: 'Buyer minimum price data',
176
+ }),
168
177
  (0, class_validator_1.ValidateNested)(),
169
178
  (0, class_transformer_1.Type)(() => PriceDataDto),
170
179
  __metadata("design:type", PriceDataDto)
@@ -195,13 +204,19 @@ __decorate([
195
204
  __metadata("design:type", Number)
196
205
  ], UserStatsDto.prototype, "sellerPartners", void 0);
197
206
  __decorate([
198
- (0, swagger_1.ApiProperty)({ type: PriceDataDto, description: 'Seller maximum price data' }),
207
+ (0, swagger_1.ApiProperty)({
208
+ type: () => PriceDataDto,
209
+ description: 'Seller maximum price data',
210
+ }),
199
211
  (0, class_validator_1.ValidateNested)(),
200
212
  (0, class_transformer_1.Type)(() => PriceDataDto),
201
213
  __metadata("design:type", PriceDataDto)
202
214
  ], UserStatsDto.prototype, "sellerMaxPriceData", void 0);
203
215
  __decorate([
204
- (0, swagger_1.ApiProperty)({ type: PriceDataDto, description: 'Seller minimum price data' }),
216
+ (0, swagger_1.ApiProperty)({
217
+ type: () => PriceDataDto,
218
+ description: 'Seller minimum price data',
219
+ }),
205
220
  (0, class_validator_1.ValidateNested)(),
206
221
  (0, class_transformer_1.Type)(() => PriceDataDto),
207
222
  __metadata("design:type", PriceDataDto)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.166",
3
+ "version": "1.0.167",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {