@xoxno/types 1.0.246 → 1.0.248
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.
- package/dist/common/kusto/lending-market-analytics.d.ts +5 -0
- package/dist/common/kusto/lending-market-analytics.js +35 -0
- package/dist/cosmos-db/documents/user/user-settings.doc.js +22 -15
- package/dist/entities/token-data/token-data.doc.js +2 -2
- package/dist/entities/transactions/transaction-log.js +1 -1
- package/dist/entities/transactions/transaction-operation.js +1 -1
- package/dist/entities/transactions/transaction-send-result.js +2 -2
- package/dist/entities/transactions/transaction.js +8 -8
- package/dist/entities/web2user-data/web2user-wallet.dto.js +1 -1
- package/dist/requests/bober-battle/analytics.js +16 -16
- package/dist/requests/collection/collection-attributes-map.js +3 -3
- package/dist/requests/collection/collection-offers.filter.js +6 -1
- package/dist/requests/collection/globalOfferSign.js +1 -1
- package/dist/requests/nft-activity-data/nft-activity-data.js +3 -3
- package/dist/requests/nft-data/nft-doc.filter.js +1 -1
- package/dist/requests/nft-data/sign-mintdto.js +1 -1
- package/dist/requests/nft-data/sign-withdraw.dto.js +1 -1
- package/package.json +1 -1
|
@@ -16,4 +16,9 @@ export declare class LendingMarketAnalyticsGraph {
|
|
|
16
16
|
minBorrowAmount: number[];
|
|
17
17
|
maxBorrowAmount: number[];
|
|
18
18
|
avgBorrowAmount: number[];
|
|
19
|
+
twapSupplyApy: number;
|
|
20
|
+
twapBorrowApy: number;
|
|
21
|
+
twapUtilizationRate: number;
|
|
22
|
+
twapSupplyAmount: number;
|
|
23
|
+
twapBorrowAmount: number;
|
|
19
24
|
}
|
|
@@ -169,3 +169,38 @@ __decorate([
|
|
|
169
169
|
}),
|
|
170
170
|
__metadata("design:type", Array)
|
|
171
171
|
], LendingMarketAnalyticsGraph.prototype, "avgBorrowAmount", void 0);
|
|
172
|
+
__decorate([
|
|
173
|
+
(0, swagger_1.ApiProperty)({
|
|
174
|
+
description: 'TWAP supply APY for each the time range',
|
|
175
|
+
example: 1.2,
|
|
176
|
+
}),
|
|
177
|
+
__metadata("design:type", Number)
|
|
178
|
+
], LendingMarketAnalyticsGraph.prototype, "twapSupplyApy", void 0);
|
|
179
|
+
__decorate([
|
|
180
|
+
(0, swagger_1.ApiProperty)({
|
|
181
|
+
description: 'TWAP borrow APY for each the time range',
|
|
182
|
+
example: 1.2,
|
|
183
|
+
}),
|
|
184
|
+
__metadata("design:type", Number)
|
|
185
|
+
], LendingMarketAnalyticsGraph.prototype, "twapBorrowApy", void 0);
|
|
186
|
+
__decorate([
|
|
187
|
+
(0, swagger_1.ApiProperty)({
|
|
188
|
+
description: 'TWAP utilization rate for each the time range',
|
|
189
|
+
example: 1.2,
|
|
190
|
+
}),
|
|
191
|
+
__metadata("design:type", Number)
|
|
192
|
+
], LendingMarketAnalyticsGraph.prototype, "twapUtilizationRate", void 0);
|
|
193
|
+
__decorate([
|
|
194
|
+
(0, swagger_1.ApiProperty)({
|
|
195
|
+
description: 'TWAP supply amount for each the time range',
|
|
196
|
+
example: 1.2,
|
|
197
|
+
}),
|
|
198
|
+
__metadata("design:type", Number)
|
|
199
|
+
], LendingMarketAnalyticsGraph.prototype, "twapSupplyAmount", void 0);
|
|
200
|
+
__decorate([
|
|
201
|
+
(0, swagger_1.ApiProperty)({
|
|
202
|
+
description: 'TWAP borrow amount for each the time range',
|
|
203
|
+
example: 1.2,
|
|
204
|
+
}),
|
|
205
|
+
__metadata("design:type", Number)
|
|
206
|
+
], LendingMarketAnalyticsGraph.prototype, "twapBorrowAmount", void 0);
|
|
@@ -195,27 +195,27 @@ class UserEmailNotificationSettings {
|
|
|
195
195
|
}
|
|
196
196
|
exports.UserEmailNotificationSettings = UserEmailNotificationSettings;
|
|
197
197
|
__decorate([
|
|
198
|
-
(0, swagger_1.ApiProperty)({ description: 'Email notifications enabled' }),
|
|
198
|
+
(0, swagger_1.ApiProperty)({ description: 'Email notifications enabled', type: Boolean }),
|
|
199
199
|
__metadata("design:type", Object)
|
|
200
200
|
], UserEmailNotificationSettings.prototype, "enabled", void 0);
|
|
201
201
|
__decorate([
|
|
202
|
-
(0, swagger_1.ApiProperty)({ description: 'Email address' }),
|
|
202
|
+
(0, swagger_1.ApiProperty)({ description: 'Email address', type: String }),
|
|
203
203
|
__metadata("design:type", Object)
|
|
204
204
|
], UserEmailNotificationSettings.prototype, "emailAddress", void 0);
|
|
205
205
|
__decorate([
|
|
206
|
-
(0, swagger_1.ApiProperty)({ description: 'Email verification pending' }),
|
|
206
|
+
(0, swagger_1.ApiProperty)({ description: 'Email verification pending', type: Boolean }),
|
|
207
207
|
__metadata("design:type", Object)
|
|
208
208
|
], UserEmailNotificationSettings.prototype, "isEmailVerificationPending", void 0);
|
|
209
209
|
__decorate([
|
|
210
|
-
(0, swagger_1.ApiProperty)({ description: 'Email verified' }),
|
|
210
|
+
(0, swagger_1.ApiProperty)({ description: 'Email verified', type: Boolean }),
|
|
211
211
|
__metadata("design:type", Object)
|
|
212
212
|
], UserEmailNotificationSettings.prototype, "isEmailVerified", void 0);
|
|
213
213
|
__decorate([
|
|
214
|
-
(0, swagger_1.ApiProperty)({ description: 'Web2 user' }),
|
|
214
|
+
(0, swagger_1.ApiProperty)({ description: 'Web2 user', type: Boolean }),
|
|
215
215
|
__metadata("design:type", Object)
|
|
216
216
|
], UserEmailNotificationSettings.prototype, "isWeb2User", void 0);
|
|
217
217
|
__decorate([
|
|
218
|
-
(0, swagger_1.ApiProperty)({ description: 'Timestamp', required: false }),
|
|
218
|
+
(0, swagger_1.ApiProperty)({ description: 'Timestamp', required: false, type: 'integer' }),
|
|
219
219
|
__metadata("design:type", Number)
|
|
220
220
|
], UserEmailNotificationSettings.prototype, "timestamp", void 0);
|
|
221
221
|
class UserPhoneNotificationSettings {
|
|
@@ -229,23 +229,23 @@ class UserPhoneNotificationSettings {
|
|
|
229
229
|
}
|
|
230
230
|
exports.UserPhoneNotificationSettings = UserPhoneNotificationSettings;
|
|
231
231
|
__decorate([
|
|
232
|
-
(0, swagger_1.ApiProperty)({ description: 'Phone notifications enabled' }),
|
|
232
|
+
(0, swagger_1.ApiProperty)({ description: 'Phone notifications enabled', type: Boolean }),
|
|
233
233
|
__metadata("design:type", Object)
|
|
234
234
|
], UserPhoneNotificationSettings.prototype, "enabled", void 0);
|
|
235
235
|
__decorate([
|
|
236
|
-
(0, swagger_1.ApiProperty)({ description: 'Phone number' }),
|
|
236
|
+
(0, swagger_1.ApiProperty)({ description: 'Phone number', type: String }),
|
|
237
237
|
__metadata("design:type", Object)
|
|
238
238
|
], UserPhoneNotificationSettings.prototype, "phoneNumber", void 0);
|
|
239
239
|
__decorate([
|
|
240
|
-
(0, swagger_1.ApiProperty)({ description: 'Phone verification pending' }),
|
|
240
|
+
(0, swagger_1.ApiProperty)({ description: 'Phone verification pending', type: Boolean }),
|
|
241
241
|
__metadata("design:type", Object)
|
|
242
242
|
], UserPhoneNotificationSettings.prototype, "isPhoneVerificationPending", void 0);
|
|
243
243
|
__decorate([
|
|
244
|
-
(0, swagger_1.ApiProperty)({ description: 'Phone verified' }),
|
|
244
|
+
(0, swagger_1.ApiProperty)({ description: 'Phone verified', type: Boolean }),
|
|
245
245
|
__metadata("design:type", Object)
|
|
246
246
|
], UserPhoneNotificationSettings.prototype, "isPhoneVerified", void 0);
|
|
247
247
|
__decorate([
|
|
248
|
-
(0, swagger_1.ApiProperty)({ description: 'Timestamp', required: false }),
|
|
248
|
+
(0, swagger_1.ApiProperty)({ description: 'Timestamp', required: false, type: 'integer' }),
|
|
249
249
|
__metadata("design:type", Number)
|
|
250
250
|
], UserPhoneNotificationSettings.prototype, "timestamp", void 0);
|
|
251
251
|
class UserSettingsDoc {
|
|
@@ -263,19 +263,26 @@ __decorate([
|
|
|
263
263
|
__metadata("design:type", String)
|
|
264
264
|
], UserSettingsDoc.prototype, "dataType", void 0);
|
|
265
265
|
__decorate([
|
|
266
|
-
(0, swagger_1.ApiProperty)({ description: 'User address' }),
|
|
266
|
+
(0, swagger_1.ApiProperty)({ description: 'User address', type: String }),
|
|
267
267
|
__metadata("design:type", String)
|
|
268
268
|
], UserSettingsDoc.prototype, "address", void 0);
|
|
269
269
|
__decorate([
|
|
270
|
-
(0, swagger_1.ApiProperty)({ description: 'User name', required: false }),
|
|
270
|
+
(0, swagger_1.ApiProperty)({ description: 'User name', required: false, type: String }),
|
|
271
271
|
__metadata("design:type", String)
|
|
272
272
|
], UserSettingsDoc.prototype, "name", void 0);
|
|
273
273
|
__decorate([
|
|
274
|
-
(0, swagger_1.ApiProperty)({
|
|
274
|
+
(0, swagger_1.ApiProperty)({
|
|
275
|
+
description: 'User billing details',
|
|
276
|
+
required: false,
|
|
277
|
+
type: UserBillingDetails,
|
|
278
|
+
}),
|
|
275
279
|
__metadata("design:type", UserBillingDetails)
|
|
276
280
|
], UserSettingsDoc.prototype, "billingDetails", void 0);
|
|
277
281
|
__decorate([
|
|
278
|
-
(0, swagger_1.ApiProperty)({
|
|
282
|
+
(0, swagger_1.ApiProperty)({
|
|
283
|
+
description: 'Email notification settings',
|
|
284
|
+
type: UserEmailNotificationSettings,
|
|
285
|
+
}),
|
|
279
286
|
__metadata("design:type", UserEmailNotificationSettings)
|
|
280
287
|
], UserSettingsDoc.prototype, "emailNotifications", void 0);
|
|
281
288
|
__decorate([
|
|
@@ -28,7 +28,7 @@ __decorate([
|
|
|
28
28
|
], TokenDataDocBase.prototype, "identifier", void 0);
|
|
29
29
|
__decorate([
|
|
30
30
|
(0, swagger_1.ApiProperty)({
|
|
31
|
-
type:
|
|
31
|
+
type: 'integer',
|
|
32
32
|
description: 'Number of decimal places for the token',
|
|
33
33
|
example: 18,
|
|
34
34
|
}),
|
|
@@ -124,7 +124,7 @@ __decorate([
|
|
|
124
124
|
], TokenDataDoc.prototype, "category", void 0);
|
|
125
125
|
__decorate([
|
|
126
126
|
(0, swagger_1.ApiProperty)({
|
|
127
|
-
type:
|
|
127
|
+
type: 'integer',
|
|
128
128
|
description: 'Cosmos DB timestamp for document versioning',
|
|
129
129
|
}),
|
|
130
130
|
__metadata("design:type", Number)
|
|
@@ -49,7 +49,7 @@ __decorate([
|
|
|
49
49
|
(0, swagger_1.ApiProperty)({
|
|
50
50
|
description: 'The Unix timestamp when the log was created',
|
|
51
51
|
example: 1672531200,
|
|
52
|
-
type:
|
|
52
|
+
type: 'integer',
|
|
53
53
|
}),
|
|
54
54
|
__metadata("design:type", Object)
|
|
55
55
|
], TransactionLog.prototype, "timestamp", void 0);
|
|
@@ -112,7 +112,7 @@ __decorate([
|
|
|
112
112
|
(0, swagger_1.ApiPropertyOptional)({
|
|
113
113
|
description: 'The number of decimals for the token',
|
|
114
114
|
example: 18,
|
|
115
|
-
type:
|
|
115
|
+
type: 'integer',
|
|
116
116
|
}),
|
|
117
117
|
__metadata("design:type", Number)
|
|
118
118
|
], TransactionOperation.prototype, "decimals", void 0);
|
|
@@ -29,7 +29,7 @@ __decorate([
|
|
|
29
29
|
__metadata("design:type", Object)
|
|
30
30
|
], TransactionSendResult.prototype, "receiver", void 0);
|
|
31
31
|
__decorate([
|
|
32
|
-
(0, swagger_1.ApiProperty)({ description: 'The shard of the receiver', type:
|
|
32
|
+
(0, swagger_1.ApiProperty)({ description: 'The shard of the receiver', type: 'integer' }),
|
|
33
33
|
(0, class_validator_1.IsNumber)(),
|
|
34
34
|
__metadata("design:type", Object)
|
|
35
35
|
], TransactionSendResult.prototype, "receiverShard", void 0);
|
|
@@ -39,7 +39,7 @@ __decorate([
|
|
|
39
39
|
__metadata("design:type", Object)
|
|
40
40
|
], TransactionSendResult.prototype, "sender", void 0);
|
|
41
41
|
__decorate([
|
|
42
|
-
(0, swagger_1.ApiProperty)({ description: 'The shard of the sender', type:
|
|
42
|
+
(0, swagger_1.ApiProperty)({ description: 'The shard of the sender', type: 'integer' }),
|
|
43
43
|
(0, class_validator_1.IsNumber)(),
|
|
44
44
|
__metadata("design:type", Object)
|
|
45
45
|
], TransactionSendResult.prototype, "senderShard", void 0);
|
|
@@ -59,7 +59,7 @@ __decorate([
|
|
|
59
59
|
(0, swagger_1.ApiPropertyOptional)({
|
|
60
60
|
description: 'The maximum amount of gas units allocated for the transaction',
|
|
61
61
|
example: 50000,
|
|
62
|
-
type:
|
|
62
|
+
type: 'integer',
|
|
63
63
|
}),
|
|
64
64
|
__metadata("design:type", Object)
|
|
65
65
|
], Transaction.prototype, "gasLimit", void 0);
|
|
@@ -67,7 +67,7 @@ __decorate([
|
|
|
67
67
|
(0, swagger_1.ApiPropertyOptional)({
|
|
68
68
|
description: 'The price per gas unit for the transaction',
|
|
69
69
|
example: 1000000000,
|
|
70
|
-
type:
|
|
70
|
+
type: 'integer',
|
|
71
71
|
}),
|
|
72
72
|
__metadata("design:type", Object)
|
|
73
73
|
], Transaction.prototype, "gasPrice", void 0);
|
|
@@ -75,7 +75,7 @@ __decorate([
|
|
|
75
75
|
(0, swagger_1.ApiPropertyOptional)({
|
|
76
76
|
description: 'The actual amount of gas units consumed by the transaction',
|
|
77
77
|
example: 25000,
|
|
78
|
-
type:
|
|
78
|
+
type: 'integer',
|
|
79
79
|
}),
|
|
80
80
|
__metadata("design:type", Object)
|
|
81
81
|
], Transaction.prototype, "gasUsed", void 0);
|
|
@@ -91,7 +91,7 @@ __decorate([
|
|
|
91
91
|
(0, swagger_1.ApiPropertyOptional)({
|
|
92
92
|
description: 'The sequence number of the transaction for the sender',
|
|
93
93
|
example: 42,
|
|
94
|
-
type:
|
|
94
|
+
type: 'integer',
|
|
95
95
|
}),
|
|
96
96
|
__metadata("design:type", Object)
|
|
97
97
|
], Transaction.prototype, "nonce", void 0);
|
|
@@ -107,7 +107,7 @@ __decorate([
|
|
|
107
107
|
(0, swagger_1.ApiProperty)({
|
|
108
108
|
description: 'The shard ID of the receiver address',
|
|
109
109
|
example: 1,
|
|
110
|
-
type:
|
|
110
|
+
type: 'integer',
|
|
111
111
|
}),
|
|
112
112
|
__metadata("design:type", Object)
|
|
113
113
|
], Transaction.prototype, "receiverShard", void 0);
|
|
@@ -115,7 +115,7 @@ __decorate([
|
|
|
115
115
|
(0, swagger_1.ApiPropertyOptional)({
|
|
116
116
|
description: 'The blockchain round when the transaction was processed',
|
|
117
117
|
example: 1234567,
|
|
118
|
-
type:
|
|
118
|
+
type: 'integer',
|
|
119
119
|
}),
|
|
120
120
|
__metadata("design:type", Object)
|
|
121
121
|
], Transaction.prototype, "round", void 0);
|
|
@@ -131,7 +131,7 @@ __decorate([
|
|
|
131
131
|
(0, swagger_1.ApiProperty)({
|
|
132
132
|
description: 'The shard ID of the sender address',
|
|
133
133
|
example: 0,
|
|
134
|
-
type:
|
|
134
|
+
type: 'integer',
|
|
135
135
|
}),
|
|
136
136
|
__metadata("design:type", Object)
|
|
137
137
|
], Transaction.prototype, "senderShard", void 0);
|
|
@@ -171,7 +171,7 @@ __decorate([
|
|
|
171
171
|
(0, swagger_1.ApiProperty)({
|
|
172
172
|
description: 'The Unix timestamp when the transaction was processed',
|
|
173
173
|
example: 1672531200,
|
|
174
|
-
type:
|
|
174
|
+
type: 'integer',
|
|
175
175
|
}),
|
|
176
176
|
__metadata("design:type", Object)
|
|
177
177
|
], Transaction.prototype, "timestamp", void 0);
|
|
@@ -21,7 +21,7 @@ __decorate([
|
|
|
21
21
|
(0, swagger_1.ApiProperty)({
|
|
22
22
|
description: 'Total number of games created by the user',
|
|
23
23
|
example: 25,
|
|
24
|
-
type:
|
|
24
|
+
type: 'integer',
|
|
25
25
|
}),
|
|
26
26
|
__metadata("design:type", Number)
|
|
27
27
|
], BoberBattleLeaderboardDto.prototype, "GamesCreated", void 0);
|
|
@@ -29,7 +29,7 @@ __decorate([
|
|
|
29
29
|
(0, swagger_1.ApiProperty)({
|
|
30
30
|
description: 'Number of games created where user chose heads',
|
|
31
31
|
example: 15,
|
|
32
|
-
type:
|
|
32
|
+
type: 'integer',
|
|
33
33
|
}),
|
|
34
34
|
__metadata("design:type", Number)
|
|
35
35
|
], BoberBattleLeaderboardDto.prototype, "GamesCreatedHead", void 0);
|
|
@@ -37,7 +37,7 @@ __decorate([
|
|
|
37
37
|
(0, swagger_1.ApiProperty)({
|
|
38
38
|
description: 'Number of games created where user chose tails',
|
|
39
39
|
example: 10,
|
|
40
|
-
type:
|
|
40
|
+
type: 'integer',
|
|
41
41
|
}),
|
|
42
42
|
__metadata("design:type", Number)
|
|
43
43
|
], BoberBattleLeaderboardDto.prototype, "GamesCreatedTail", void 0);
|
|
@@ -45,7 +45,7 @@ __decorate([
|
|
|
45
45
|
(0, swagger_1.ApiProperty)({
|
|
46
46
|
description: 'Total number of games joined by the user',
|
|
47
47
|
example: 30,
|
|
48
|
-
type:
|
|
48
|
+
type: 'integer',
|
|
49
49
|
}),
|
|
50
50
|
__metadata("design:type", Number)
|
|
51
51
|
], BoberBattleLeaderboardDto.prototype, "GamesJoined", void 0);
|
|
@@ -53,7 +53,7 @@ __decorate([
|
|
|
53
53
|
(0, swagger_1.ApiProperty)({
|
|
54
54
|
description: 'Number of games joined where user chose heads',
|
|
55
55
|
example: 18,
|
|
56
|
-
type:
|
|
56
|
+
type: 'integer',
|
|
57
57
|
}),
|
|
58
58
|
__metadata("design:type", Number)
|
|
59
59
|
], BoberBattleLeaderboardDto.prototype, "GamesJoinedHead", void 0);
|
|
@@ -61,7 +61,7 @@ __decorate([
|
|
|
61
61
|
(0, swagger_1.ApiProperty)({
|
|
62
62
|
description: 'Number of games joined where user chose tails',
|
|
63
63
|
example: 12,
|
|
64
|
-
type:
|
|
64
|
+
type: 'integer',
|
|
65
65
|
}),
|
|
66
66
|
__metadata("design:type", Number)
|
|
67
67
|
], BoberBattleLeaderboardDto.prototype, "GamesJoinedTail", void 0);
|
|
@@ -69,7 +69,7 @@ __decorate([
|
|
|
69
69
|
(0, swagger_1.ApiProperty)({
|
|
70
70
|
description: 'Total number of games participated in',
|
|
71
71
|
example: 55,
|
|
72
|
-
type:
|
|
72
|
+
type: 'integer',
|
|
73
73
|
}),
|
|
74
74
|
__metadata("design:type", Number)
|
|
75
75
|
], BoberBattleLeaderboardDto.prototype, "TotalGames", void 0);
|
|
@@ -124,7 +124,7 @@ __decorate([
|
|
|
124
124
|
(0, swagger_1.ApiProperty)({
|
|
125
125
|
description: 'Number of created games that were won',
|
|
126
126
|
example: 12,
|
|
127
|
-
type:
|
|
127
|
+
type: 'integer',
|
|
128
128
|
}),
|
|
129
129
|
__metadata("design:type", Number)
|
|
130
130
|
], BoberBattleUserDto.prototype, "GamesCreatedWon", void 0);
|
|
@@ -132,7 +132,7 @@ __decorate([
|
|
|
132
132
|
(0, swagger_1.ApiProperty)({
|
|
133
133
|
description: 'Number of joined games that were won',
|
|
134
134
|
example: 18,
|
|
135
|
-
type:
|
|
135
|
+
type: 'integer',
|
|
136
136
|
}),
|
|
137
137
|
__metadata("design:type", Number)
|
|
138
138
|
], BoberBattleUserDto.prototype, "GamesJoinedWon", void 0);
|
|
@@ -140,7 +140,7 @@ __decorate([
|
|
|
140
140
|
(0, swagger_1.ApiProperty)({
|
|
141
141
|
description: 'Games won when choosing heads',
|
|
142
142
|
example: 15,
|
|
143
|
-
type:
|
|
143
|
+
type: 'integer',
|
|
144
144
|
}),
|
|
145
145
|
__metadata("design:type", Number)
|
|
146
146
|
], BoberBattleUserDto.prototype, "GamesWonAsHead", void 0);
|
|
@@ -148,7 +148,7 @@ __decorate([
|
|
|
148
148
|
(0, swagger_1.ApiProperty)({
|
|
149
149
|
description: 'Games lost when choosing heads',
|
|
150
150
|
example: 8,
|
|
151
|
-
type:
|
|
151
|
+
type: 'integer',
|
|
152
152
|
}),
|
|
153
153
|
__metadata("design:type", Number)
|
|
154
154
|
], BoberBattleUserDto.prototype, "GamesLostAsHead", void 0);
|
|
@@ -156,7 +156,7 @@ __decorate([
|
|
|
156
156
|
(0, swagger_1.ApiProperty)({
|
|
157
157
|
description: 'Games won when choosing tails',
|
|
158
158
|
example: 13,
|
|
159
|
-
type:
|
|
159
|
+
type: 'integer',
|
|
160
160
|
}),
|
|
161
161
|
__metadata("design:type", Number)
|
|
162
162
|
], BoberBattleUserDto.prototype, "GamesWonAsTail", void 0);
|
|
@@ -164,7 +164,7 @@ __decorate([
|
|
|
164
164
|
(0, swagger_1.ApiProperty)({
|
|
165
165
|
description: 'Games lost when choosing tails',
|
|
166
166
|
example: 7,
|
|
167
|
-
type:
|
|
167
|
+
type: 'integer',
|
|
168
168
|
}),
|
|
169
169
|
__metadata("design:type", Number)
|
|
170
170
|
], BoberBattleUserDto.prototype, "GamesLostAsTail", void 0);
|
|
@@ -172,7 +172,7 @@ __decorate([
|
|
|
172
172
|
(0, swagger_1.ApiProperty)({
|
|
173
173
|
description: 'Total games won',
|
|
174
174
|
example: 30,
|
|
175
|
-
type:
|
|
175
|
+
type: 'integer',
|
|
176
176
|
}),
|
|
177
177
|
__metadata("design:type", Number)
|
|
178
178
|
], BoberBattleUserDto.prototype, "GamesWon", void 0);
|
|
@@ -180,7 +180,7 @@ __decorate([
|
|
|
180
180
|
(0, swagger_1.ApiProperty)({
|
|
181
181
|
description: 'Total games lost',
|
|
182
182
|
example: 25,
|
|
183
|
-
type:
|
|
183
|
+
type: 'integer',
|
|
184
184
|
}),
|
|
185
185
|
__metadata("design:type", Number)
|
|
186
186
|
], BoberBattleUserDto.prototype, "GamesLost", void 0);
|
|
@@ -188,7 +188,7 @@ __decorate([
|
|
|
188
188
|
(0, swagger_1.ApiProperty)({
|
|
189
189
|
description: 'Win rate percentage',
|
|
190
190
|
example: 54.55,
|
|
191
|
-
type:
|
|
191
|
+
type: 'integer',
|
|
192
192
|
minimum: 0,
|
|
193
193
|
maximum: 100,
|
|
194
194
|
}),
|
|
@@ -26,7 +26,7 @@ __decorate([
|
|
|
26
26
|
(0, swagger_1.ApiPropertyOptional)({
|
|
27
27
|
description: 'Number of items with this trait currently on sale',
|
|
28
28
|
example: 12,
|
|
29
|
-
type:
|
|
29
|
+
type: 'integer',
|
|
30
30
|
}),
|
|
31
31
|
__metadata("design:type", Number)
|
|
32
32
|
], TraitInfo.prototype, "onSaleCount", void 0);
|
|
@@ -69,7 +69,7 @@ __decorate([
|
|
|
69
69
|
(0, swagger_1.ApiProperty)({
|
|
70
70
|
description: 'Number of times this specific trait value appears (legacy spelling)',
|
|
71
71
|
example: 50,
|
|
72
|
-
type:
|
|
72
|
+
type: 'integer',
|
|
73
73
|
required: true,
|
|
74
74
|
}),
|
|
75
75
|
__metadata("design:type", Number)
|
|
@@ -118,7 +118,7 @@ __decorate([
|
|
|
118
118
|
(0, swagger_1.ApiPropertyOptional)({
|
|
119
119
|
description: 'Number of items in this category currently on sale',
|
|
120
120
|
example: 25,
|
|
121
|
-
type:
|
|
121
|
+
type: 'integer',
|
|
122
122
|
}),
|
|
123
123
|
__metadata("design:type", Number)
|
|
124
124
|
], ValueFp.prototype, "onSaleCount", void 0);
|
|
@@ -36,7 +36,12 @@ __decorate([
|
|
|
36
36
|
__metadata("design:type", Array)
|
|
37
37
|
], CollectionOffersFilterCriteriaDto.prototype, "collection", void 0);
|
|
38
38
|
__decorate([
|
|
39
|
-
(0, swagger_1.ApiProperty)({
|
|
39
|
+
(0, swagger_1.ApiProperty)({
|
|
40
|
+
required: false,
|
|
41
|
+
type: 'integer',
|
|
42
|
+
isArray: true,
|
|
43
|
+
example: [123],
|
|
44
|
+
}),
|
|
40
45
|
__metadata("design:type", Array)
|
|
41
46
|
], CollectionOffersFilterCriteriaDto.prototype, "offerId", void 0);
|
|
42
47
|
__decorate([
|
|
@@ -17,7 +17,7 @@ class SignAcceptGlobalOfferDto {
|
|
|
17
17
|
exports.SignAcceptGlobalOfferDto = SignAcceptGlobalOfferDto;
|
|
18
18
|
__decorate([
|
|
19
19
|
(0, swagger_1.ApiProperty)({
|
|
20
|
-
type:
|
|
20
|
+
type: 'integer',
|
|
21
21
|
example: 1233,
|
|
22
22
|
description: 'The offer ID that has to be removed',
|
|
23
23
|
}),
|
|
@@ -59,7 +59,7 @@ __decorate([
|
|
|
59
59
|
(0, swagger_1.ApiProperty)({
|
|
60
60
|
description: 'The quantity of NFTs involved in this activity',
|
|
61
61
|
example: 1,
|
|
62
|
-
type:
|
|
62
|
+
type: 'integer',
|
|
63
63
|
required: true,
|
|
64
64
|
minimum: 1,
|
|
65
65
|
}),
|
|
@@ -69,7 +69,7 @@ __decorate([
|
|
|
69
69
|
(0, swagger_1.ApiProperty)({
|
|
70
70
|
description: 'The smart contract ID',
|
|
71
71
|
example: 3,
|
|
72
|
-
type:
|
|
72
|
+
type: 'integer',
|
|
73
73
|
required: true,
|
|
74
74
|
}),
|
|
75
75
|
__metadata("design:type", Number)
|
|
@@ -104,7 +104,7 @@ __decorate([
|
|
|
104
104
|
(0, swagger_1.ApiPropertyOptional)({
|
|
105
105
|
description: 'The deadline timestamp (available for offerCreate & auctions)',
|
|
106
106
|
example: 1709218759,
|
|
107
|
-
type:
|
|
107
|
+
type: 'integer',
|
|
108
108
|
}),
|
|
109
109
|
__metadata("design:type", Number)
|
|
110
110
|
], NftActivityData.prototype, "deadline", void 0);
|
|
@@ -59,7 +59,7 @@ __decorate([
|
|
|
59
59
|
__metadata("design:type", Array)
|
|
60
60
|
], NftDocFilterCriteriaDto.prototype, "collection", void 0);
|
|
61
61
|
__decorate([
|
|
62
|
-
(0, swagger_1.ApiProperty)({ required: false, type:
|
|
62
|
+
(0, swagger_1.ApiProperty)({ required: false, type: 'integer', isArray: true }),
|
|
63
63
|
__metadata("design:type", Array)
|
|
64
64
|
], NftDocFilterCriteriaDto.prototype, "nonce", void 0);
|
|
65
65
|
__decorate([
|