@xoxno/types 1.0.179 → 1.0.181

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.
@@ -11,6 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.SocialsDto = void 0;
13
13
  const decorators_1 = require("@nestjs/swagger/dist/decorators");
14
+ const class_validator_1 = require("class-validator");
14
15
  class SocialsDto {
15
16
  constructor(props) {
16
17
  Object.assign(this, props);
@@ -19,6 +20,8 @@ class SocialsDto {
19
20
  exports.SocialsDto = SocialsDto;
20
21
  __decorate([
21
22
  (0, decorators_1.ApiProperty)({ example: 'https://twitter.com/example', required: false }),
23
+ (0, class_validator_1.IsString)(),
24
+ (0, class_validator_1.IsOptional)(),
22
25
  __metadata("design:type", String)
23
26
  ], SocialsDto.prototype, "twitter", void 0);
24
27
  __decorate([
@@ -26,14 +29,20 @@ __decorate([
26
29
  example: 'https://instagram.com/example',
27
30
  required: false,
28
31
  }),
32
+ (0, class_validator_1.IsString)(),
33
+ (0, class_validator_1.IsOptional)(),
29
34
  __metadata("design:type", String)
30
35
  ], SocialsDto.prototype, "instagram", void 0);
31
36
  __decorate([
32
37
  (0, decorators_1.ApiProperty)({ example: 'https://example.com', required: false }),
38
+ (0, class_validator_1.IsString)(),
39
+ (0, class_validator_1.IsOptional)(),
33
40
  __metadata("design:type", String)
34
41
  ], SocialsDto.prototype, "website", void 0);
35
42
  __decorate([
36
43
  (0, decorators_1.ApiProperty)({ example: 'https://t.me/example', required: false }),
44
+ (0, class_validator_1.IsString)(),
45
+ (0, class_validator_1.IsOptional)(),
37
46
  __metadata("design:type", String)
38
47
  ], SocialsDto.prototype, "telegram", void 0);
39
48
  __decorate([
@@ -41,13 +50,19 @@ __decorate([
41
50
  example: 'https://discord.com/invite/example',
42
51
  required: false,
43
52
  }),
53
+ (0, class_validator_1.IsString)(),
54
+ (0, class_validator_1.IsOptional)(),
44
55
  __metadata("design:type", String)
45
56
  ], SocialsDto.prototype, "discord", void 0);
46
57
  __decorate([
47
58
  (0, decorators_1.ApiProperty)({ example: '', required: false }),
59
+ (0, class_validator_1.IsString)(),
60
+ (0, class_validator_1.IsOptional)(),
48
61
  __metadata("design:type", String)
49
62
  ], SocialsDto.prototype, "facebook", void 0);
50
63
  __decorate([
51
64
  (0, decorators_1.ApiProperty)({ example: '', required: false }),
65
+ (0, class_validator_1.IsString)(),
66
+ (0, class_validator_1.IsOptional)(),
52
67
  __metadata("design:type", String)
53
68
  ], SocialsDto.prototype, "youtube", void 0);
@@ -32,7 +32,7 @@ __decorate([
32
32
  (0, class_validator_1.IsOptional)(),
33
33
  (0, class_validator_1.ValidateNested)(),
34
34
  (0, class_transformer_1.Type)(() => chat_message_reply_dto_1.ChatMessageReplyDto),
35
- (0, class_validator_1.IsNotEmptyObject)(),
35
+ (0, class_validator_1.IsObject)(),
36
36
  (0, swagger_1.ApiProperty)({
37
37
  description: 'Message reply to user',
38
38
  type: () => chat_message_reply_dto_1.ChatMessageReplyDto,
@@ -25,7 +25,7 @@ __decorate([
25
25
  __decorate([
26
26
  (0, class_validator_1.ValidateNested)(),
27
27
  (0, class_transformer_1.Type)(() => chat_message_content_dto_1.ChatMessageContentDto),
28
- (0, class_validator_1.IsNotEmptyObject)(),
28
+ (0, class_validator_1.IsObject)(),
29
29
  (0, swagger_1.ApiProperty)({
30
30
  description: 'Message value',
31
31
  type: () => ChatMessageReplyDto,
@@ -25,7 +25,7 @@ __decorate([
25
25
  __decorate([
26
26
  (0, class_validator_1.ValidateNested)(),
27
27
  (0, class_transformer_1.Type)(() => chat_message_content_dto_1.ChatMessageContentDto),
28
- (0, class_validator_1.IsNotEmptyObject)(),
28
+ (0, class_validator_1.IsObject)(),
29
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);
@@ -57,10 +57,9 @@ class CollectionProfileDoc {
57
57
  this.dataType = collection_enum_1.CollectionDataType.CollectionProfile;
58
58
  this.collection = '';
59
59
  this.originalCollection = '';
60
- this.name = '';
61
- this.description = '';
62
60
  this.isVisible = true;
63
61
  this.isVerified = false;
62
+ this.socials = new socials_1.SocialsDto();
64
63
  this.statistics = new statistics_1.StatisticsDto({
65
64
  other: new statistics_1.StatisticsOtherDto({
66
65
  followCount: 0,
@@ -157,6 +156,7 @@ __decorate([
157
156
  }),
158
157
  (0, class_validator_1.ValidateNested)(),
159
158
  (0, class_transformer_1.Type)(() => socials_1.SocialsDto),
159
+ (0, class_validator_1.IsObject)(),
160
160
  (0, class_validator_1.IsOptional)(),
161
161
  __metadata("design:type", socials_1.SocialsDto)
162
162
  ], CollectionProfileDoc.prototype, "socials", void 0);
@@ -166,6 +166,7 @@ __decorate([
166
166
  __decorate([
167
167
  (0, swagger_1.ApiProperty)(),
168
168
  (0, class_validator_1.ValidateNested)(),
169
+ (0, class_validator_1.IsObject)(),
169
170
  (0, class_transformer_1.Type)(() => CallbackUrl),
170
171
  __metadata("design:type", CallbackUrl)
171
172
  ], ExternalPaymentRequest.prototype, "callbackUrl", void 0);
@@ -179,6 +180,7 @@ __decorate([
179
180
  }),
180
181
  (0, class_validator_1.ValidateNested)(),
181
182
  (0, class_transformer_1.Type)(() => Object),
183
+ (0, class_validator_1.IsObject)(),
182
184
  __metadata("design:type", Object)
183
185
  ], ExternalPaymentRequest.prototype, "customData", void 0);
184
186
  __decorate([
@@ -1,5 +1,5 @@
1
- import { EventQuestionAnswerDto } from './event-question-answer.doc';
2
1
  import { CallbackUrl } from '../external-payment/external-payment-request';
2
+ import { EventQuestionAnswerDto } from './event-question-answer.doc';
3
3
  export declare class TicketSelectionDto {
4
4
  ticketProfileId: string;
5
5
  ticketStageId: string;
@@ -13,8 +13,8 @@ exports.EventGuestRegistrationDto = exports.TicketSelectionDto = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const class_transformer_1 = require("class-transformer");
15
15
  const class_validator_1 = require("class-validator");
16
- const event_question_answer_doc_1 = require("./event-question-answer.doc");
17
16
  const external_payment_request_1 = require("../external-payment/external-payment-request");
17
+ const event_question_answer_doc_1 = require("./event-question-answer.doc");
18
18
  class TicketSelectionDto {
19
19
  }
20
20
  exports.TicketSelectionDto = TicketSelectionDto;
@@ -24,7 +24,6 @@ __decorate([
24
24
  type: String,
25
25
  }),
26
26
  (0, class_validator_1.IsUUID)(),
27
- (0, class_validator_1.IsNotEmpty)(),
28
27
  __metadata("design:type", String)
29
28
  ], TicketSelectionDto.prototype, "ticketProfileId", void 0);
30
29
  __decorate([
@@ -33,7 +32,6 @@ __decorate([
33
32
  type: String,
34
33
  }),
35
34
  (0, class_validator_1.IsUUID)(),
36
- (0, class_validator_1.IsNotEmpty)(),
37
35
  __metadata("design:type", String)
38
36
  ], TicketSelectionDto.prototype, "ticketStageId", void 0);
39
37
  __decorate([
@@ -42,7 +40,6 @@ __decorate([
42
40
  minimum: 1,
43
41
  type: 'integer',
44
42
  }),
45
- (0, class_validator_1.IsNotEmpty)(),
46
43
  (0, class_validator_1.IsInt)(),
47
44
  __metadata("design:type", Number)
48
45
  ], TicketSelectionDto.prototype, "quantity", void 0);
@@ -107,7 +104,6 @@ __decorate([
107
104
  type: String,
108
105
  required: false,
109
106
  }),
110
- (0, class_validator_1.IsNotEmpty)(),
111
107
  (0, class_validator_1.IsString)(),
112
108
  (0, class_validator_1.IsOptional)(),
113
109
  __metadata("design:type", String)
@@ -187,9 +183,10 @@ __decorate([
187
183
  (0, swagger_1.ApiProperty)({
188
184
  description: 'Callback URL',
189
185
  required: false,
190
- type: external_payment_request_1.CallbackUrl,
186
+ type: () => external_payment_request_1.CallbackUrl,
191
187
  }),
192
188
  (0, class_validator_1.IsOptional)(),
193
189
  (0, class_validator_1.IsObject)(),
190
+ (0, class_transformer_1.Type)(() => external_payment_request_1.CallbackUrl),
194
191
  __metadata("design:type", external_payment_request_1.CallbackUrl)
195
192
  ], EventGuestRegistrationDto.prototype, "callbackUrl", void 0);
@@ -90,6 +90,7 @@ __decorate([
90
90
  example: [{ ticketId: 'VIP123', quantity: 2 }],
91
91
  }),
92
92
  (0, class_transformer_1.Type)(() => event_ticket_profile_doc_1.TicketProfileSummary),
93
+ (0, class_validator_1.IsArray)(),
93
94
  (0, class_validator_1.ValidateNested)({ each: true }),
94
95
  __metadata("design:type", Array)
95
96
  ], EventInvitationDoc.prototype, "tickets", void 0);
@@ -44,7 +44,6 @@ __decorate([
44
44
  ], EventQuestionDoc.prototype, "eventId", void 0);
45
45
  __decorate([
46
46
  (0, swagger_1.ApiProperty)({ description: 'The actual question text.' }),
47
- (0, class_validator_1.IsNotEmpty)(),
48
47
  (0, class_validator_1.IsString)(),
49
48
  __metadata("design:type", String)
50
49
  ], EventQuestionDoc.prototype, "title", void 0);
@@ -107,6 +107,7 @@ __decorate([
107
107
  }),
108
108
  (0, class_validator_1.IsOptional)(),
109
109
  (0, class_validator_1.ValidateNested)(),
110
+ (0, class_validator_1.IsObject)(),
110
111
  (0, class_transformer_1.Type)(() => short_voucher_doc_1.ShortVoucherDoc),
111
112
  __metadata("design:type", short_voucher_doc_1.ShortVoucherDoc)
112
113
  ], EventReferralConfigDoc.prototype, "appliedVoucher", void 0);
@@ -118,6 +119,7 @@ __decorate([
118
119
  }),
119
120
  (0, class_validator_1.IsOptional)(),
120
121
  (0, class_validator_1.ValidateNested)(),
122
+ (0, class_validator_1.IsObject)(),
121
123
  (0, class_transformer_1.Type)(() => RewardDetails),
122
124
  __metadata("design:type", RewardDetails)
123
125
  ], EventReferralConfigDoc.prototype, "rewardDetails", void 0);
@@ -1,5 +1,5 @@
1
- import { ActivityChain } from '../../../enums/common.enum';
2
1
  import { SocialsDto } from '../../../common/socials';
2
+ import { ActivityChain } from '../../../enums/common.enum';
3
3
  import { UserDataType } from '../../../enums/user-data-type.enum';
4
4
  import { UserDeposit } from './user-deposit';
5
5
  export declare class UserProfileDoc {
@@ -11,10 +11,12 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.UserProfileDoc = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
- const common_enum_1 = require("../../../enums/common.enum");
15
14
  const socials_1 = require("../../../common/socials");
15
+ const common_enum_1 = require("../../../enums/common.enum");
16
16
  const user_data_type_enum_1 = require("../../../enums/user-data-type.enum");
17
17
  const user_deposit_1 = require("./user-deposit");
18
+ const class_transformer_1 = require("class-transformer");
19
+ const class_validator_1 = require("class-validator");
18
20
  class UserProfileDoc {
19
21
  constructor(props) {
20
22
  this.dataType = user_data_type_enum_1.UserDataType.UserProfile;
@@ -58,7 +60,14 @@ __decorate([
58
60
  __metadata("design:type", Boolean)
59
61
  ], UserProfileDoc.prototype, "isVerified", void 0);
60
62
  __decorate([
61
- (0, swagger_1.ApiProperty)({ type: socials_1.SocialsDto, description: 'User social media links' }),
63
+ (0, swagger_1.ApiProperty)({
64
+ description: 'Social media links for the user',
65
+ type: () => socials_1.SocialsDto,
66
+ }),
67
+ (0, class_validator_1.ValidateNested)(),
68
+ (0, class_transformer_1.Type)(() => socials_1.SocialsDto),
69
+ (0, class_validator_1.IsObject)(),
70
+ (0, class_validator_1.IsOptional)(),
62
71
  __metadata("design:type", socials_1.SocialsDto)
63
72
  ], UserProfileDoc.prototype, "socials", void 0);
64
73
  __decorate([
@@ -22,14 +22,12 @@ exports.LoginRequestDto = LoginRequestDto;
22
22
  __decorate([
23
23
  (0, swagger_1.ApiProperty)({ description: 'The address of the user', required: false }),
24
24
  (0, class_validator_1.IsString)(),
25
- (0, class_validator_1.IsNotEmpty)(),
26
25
  (0, class_validator_1.IsOptional)(),
27
26
  __metadata("design:type", String)
28
27
  ], LoginRequestDto.prototype, "address", void 0);
29
28
  __decorate([
30
29
  (0, swagger_1.ApiProperty)({ description: 'The login token' }),
31
30
  (0, class_validator_1.IsString)(),
32
- (0, class_validator_1.IsNotEmpty)(),
33
31
  __metadata("design:type", String)
34
32
  ], LoginRequestDto.prototype, "loginToken", void 0);
35
33
  __decorate([
@@ -38,7 +36,6 @@ __decorate([
38
36
  required: false,
39
37
  }),
40
38
  (0, class_validator_1.IsString)(),
41
- (0, class_validator_1.IsNotEmpty)(),
42
39
  (0, class_validator_1.IsOptional)(),
43
40
  __metadata("design:type", String)
44
41
  ], LoginRequestDto.prototype, "signature", void 0);
@@ -56,7 +53,6 @@ __decorate([
56
53
  ], LoginRequestDto.prototype, "data", void 0);
57
54
  __decorate([
58
55
  (0, class_validator_1.IsEnum)(login_request_service_enum_1.LoginRequestService),
59
- (0, class_validator_1.IsNotEmpty)(),
60
56
  (0, class_validator_1.IsOptional)(),
61
57
  __metadata("design:type", String)
62
58
  ], LoginRequestDto.prototype, "service", void 0);
@@ -38,7 +38,7 @@ __decorate([
38
38
  }),
39
39
  (0, class_validator_1.ValidateNested)(),
40
40
  (0, class_transformer_1.Type)(() => web2user_wallet_dto_1.Web2WalletDto),
41
- (0, class_validator_1.IsNotEmptyObject)(),
41
+ (0, class_validator_1.IsObject)(),
42
42
  __metadata("design:type", web2user_wallet_dto_1.Web2WalletDto)
43
43
  ], NativeWalletDto.prototype, "wallet", void 0);
44
44
  __decorate([
@@ -64,6 +64,7 @@ __decorate([
64
64
  }),
65
65
  (0, class_validator_1.IsOptional)(),
66
66
  (0, class_transformer_1.Type)(() => web2user_wallet_1.Web2UserWallet),
67
+ (0, class_validator_1.IsObject)(),
67
68
  (0, class_validator_1.ValidateNested)(),
68
69
  __metadata("design:type", web2user_wallet_1.Web2UserWallet)
69
70
  ], Web2UserDoc.prototype, "wallet", void 0);
@@ -80,6 +81,7 @@ __decorate([
80
81
  }),
81
82
  (0, class_validator_1.IsOptional)(),
82
83
  (0, class_validator_1.ValidateNested)(),
84
+ (0, class_validator_1.IsObject)(),
83
85
  (0, class_transformer_1.Type)(() => web2user_account_1.Web2UserAccount),
84
86
  __metadata("design:type", web2user_account_1.Web2UserAccount)
85
87
  ], Web2UserDoc.prototype, "google", void 0);
@@ -91,6 +93,7 @@ __decorate([
91
93
  }),
92
94
  (0, class_validator_1.IsOptional)(),
93
95
  (0, class_validator_1.ValidateNested)(),
96
+ (0, class_validator_1.IsObject)(),
94
97
  (0, class_transformer_1.Type)(() => web2user_account_1.Web2UserAccount),
95
98
  __metadata("design:type", web2user_account_1.Web2UserAccount)
96
99
  ], Web2UserDoc.prototype, "apple", void 0);
package/dist/index.d.ts CHANGED
@@ -162,7 +162,7 @@ export * from './entities/web2user-data/web2user-wallet.dto';
162
162
  export * from './entities/web2user-data/web2user-wallet';
163
163
  export * from './entities/web2user-data/web2user.doc';
164
164
  export * from './entities/xoxno-liquid-egld-sc/provider.dto';
165
- export * from './requests/aggregator/ar-da-swap-result.dto';
165
+ export * from './requests/aggregator/arda-swap-result.dto';
166
166
  export * from './requests/aggregator/swap';
167
167
  export * from './requests/bober-battle/analytics';
168
168
  export * from './requests/chat/chat-token';
package/dist/index.js CHANGED
@@ -244,7 +244,7 @@ __exportStar(require("./enums/xoxno-auction-type.enum"), exports);
244
244
  __exportStar(require("./enums/xoxno-egld-liquid-sc.enum"), exports);
245
245
  __exportStar(require("./enums/xoxno-egld-ls-activity.enum"), exports);
246
246
  __exportStar(require("./enums/xoxno-ls-activity.enum"), exports);
247
- __exportStar(require("./requests/aggregator/ar-da-swap-result.dto"), exports);
247
+ __exportStar(require("./requests/aggregator/arda-swap-result.dto"), exports);
248
248
  __exportStar(require("./requests/aggregator/swap"), exports);
249
249
  __exportStar(require("./requests/bober-battle/analytics"), exports);
250
250
  __exportStar(require("./requests/chat/chat-token"), exports);
@@ -20,7 +20,6 @@ __decorate([
20
20
  description: 'The input token identifier',
21
21
  example: 'WEGLD-d7c6b3',
22
22
  }),
23
- (0, class_validator_1.IsNotEmpty)(),
24
23
  (0, class_validator_1.IsString)(),
25
24
  __metadata("design:type", String)
26
25
  ], ArdaSwapResultDto.prototype, "tokenIn", void 0);
@@ -29,7 +28,6 @@ __decorate([
29
28
  description: 'The amount of input token in its raw form (with decimals)',
30
29
  example: '1000000000000000000',
31
30
  }),
32
- (0, class_validator_1.IsNotEmpty)(),
33
31
  (0, class_validator_1.IsString)(),
34
32
  __metadata("design:type", String)
35
33
  ], ArdaSwapResultDto.prototype, "amountIn", void 0);
@@ -38,7 +36,6 @@ __decorate([
38
36
  description: 'The amount of input token in human-readable form (without decimals)',
39
37
  example: '1.0',
40
38
  }),
41
- (0, class_validator_1.IsNotEmpty)(),
42
39
  (0, class_validator_1.IsString)(),
43
40
  __metadata("design:type", String)
44
41
  ], ArdaSwapResultDto.prototype, "amountInShort", void 0);
@@ -47,7 +44,6 @@ __decorate([
47
44
  description: 'The output token identifier',
48
45
  example: 'USDC-c76f1f',
49
46
  }),
50
- (0, class_validator_1.IsNotEmpty)(),
51
47
  (0, class_validator_1.IsString)(),
52
48
  __metadata("design:type", String)
53
49
  ], ArdaSwapResultDto.prototype, "tokenOut", void 0);
@@ -56,7 +52,6 @@ __decorate([
56
52
  description: 'The amount of output token in its raw form (with decimals)',
57
53
  example: '1000000000',
58
54
  }),
59
- (0, class_validator_1.IsNotEmpty)(),
60
55
  (0, class_validator_1.IsString)(),
61
56
  __metadata("design:type", String)
62
57
  ], ArdaSwapResultDto.prototype, "amountOut", void 0);
@@ -65,7 +60,6 @@ __decorate([
65
60
  description: 'The amount of output token in human-readable form (without decimals)',
66
61
  example: '1.0',
67
62
  }),
68
- (0, class_validator_1.IsNotEmpty)(),
69
63
  (0, class_validator_1.IsString)(),
70
64
  __metadata("design:type", String)
71
65
  ], ArdaSwapResultDto.prototype, "amountOutShort", void 0);
@@ -74,7 +68,6 @@ __decorate([
74
68
  description: 'The encoded arguments for the smart contract call',
75
69
  example: '0x1234567890abcdef',
76
70
  }),
77
- (0, class_validator_1.IsNotEmpty)(),
78
71
  (0, class_validator_1.IsString)(),
79
72
  __metadata("design:type", String)
80
73
  ], ArdaSwapResultDto.prototype, "argument", void 0);
@@ -83,7 +76,6 @@ __decorate([
83
76
  description: 'The gas limit required for the transaction',
84
77
  example: 10000000,
85
78
  }),
86
- (0, class_validator_1.IsNotEmpty)(),
87
79
  (0, class_validator_1.IsNumber)(),
88
80
  __metadata("design:type", Number)
89
81
  ], ArdaSwapResultDto.prototype, "gasLimit", void 0);
@@ -95,6 +95,7 @@ __decorate([
95
95
  required: false,
96
96
  }),
97
97
  (0, class_validator_1.ValidateNested)(),
98
+ (0, class_validator_1.IsObject)(),
98
99
  (0, class_transformer_1.Type)(() => short_nft_doc_1.ShortNftDoc),
99
100
  __metadata("design:type", short_nft_doc_1.ShortNftDoc)
100
101
  ], PriceDataDto.prototype, "nftInfo", void 0);
@@ -107,6 +108,7 @@ __decorate([
107
108
  description: 'User wallet information',
108
109
  }),
109
110
  (0, class_validator_1.ValidateNested)(),
111
+ (0, class_validator_1.IsObject)(),
110
112
  (0, class_transformer_1.Type)(() => WalletDto),
111
113
  __metadata("design:type", WalletDto)
112
114
  ], UserStatsDto.prototype, "wallet", void 0);
@@ -166,6 +168,7 @@ __decorate([
166
168
  description: 'Buyer maximum price data',
167
169
  }),
168
170
  (0, class_validator_1.ValidateNested)(),
171
+ (0, class_validator_1.IsObject)(),
169
172
  (0, class_transformer_1.Type)(() => PriceDataDto),
170
173
  __metadata("design:type", PriceDataDto)
171
174
  ], UserStatsDto.prototype, "buyerMaxPriceData", void 0);
@@ -175,6 +178,7 @@ __decorate([
175
178
  description: 'Buyer minimum price data',
176
179
  }),
177
180
  (0, class_validator_1.ValidateNested)(),
181
+ (0, class_validator_1.IsObject)(),
178
182
  (0, class_transformer_1.Type)(() => PriceDataDto),
179
183
  __metadata("design:type", PriceDataDto)
180
184
  ], UserStatsDto.prototype, "buyerMinPriceData", void 0);
@@ -209,6 +213,7 @@ __decorate([
209
213
  description: 'Seller maximum price data',
210
214
  }),
211
215
  (0, class_validator_1.ValidateNested)(),
216
+ (0, class_validator_1.IsObject)(),
212
217
  (0, class_transformer_1.Type)(() => PriceDataDto),
213
218
  __metadata("design:type", PriceDataDto)
214
219
  ], UserStatsDto.prototype, "sellerMaxPriceData", void 0);
@@ -218,6 +223,7 @@ __decorate([
218
223
  description: 'Seller minimum price data',
219
224
  }),
220
225
  (0, class_validator_1.ValidateNested)(),
226
+ (0, class_validator_1.IsObject)(),
221
227
  (0, class_transformer_1.Type)(() => PriceDataDto),
222
228
  __metadata("design:type", PriceDataDto)
223
229
  ], UserStatsDto.prototype, "sellerMinPriceData", void 0);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.179",
3
+ "version": "1.0.181",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {