@xoxno/types 1.0.191 → 1.0.193

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.
@@ -1,20 +1,18 @@
1
+ declare class UserTradingSummaryMin {
2
+ price: number;
3
+ txHash: string;
4
+ timestamp: number;
5
+ identifier: string;
6
+ }
7
+ declare class UserTradingSummaryPrice {
8
+ price: number;
9
+ }
1
10
  export declare class UserTradingSummary {
2
11
  count: number;
3
12
  volume: number;
4
- min: {
5
- price: number;
6
- txHash: string;
7
- timestamp: number;
8
- identifier: string;
9
- };
10
- max: {
11
- price: number;
12
- txHash: string;
13
- timestamp: number;
14
- identifier: string;
15
- };
16
- avg: {
17
- price: number;
18
- };
13
+ min: UserTradingSummaryMin;
14
+ max: UserTradingSummaryMin;
15
+ avg: UserTradingSummaryPrice;
19
16
  }
20
17
  export type TradingSummaryActivityType = 'Purchase' | 'Sale';
18
+ export {};
@@ -1,6 +1,60 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.UserTradingSummary = void 0;
13
+ const swagger_1 = require("@nestjs/swagger");
14
+ class UserTradingSummaryMin {
15
+ }
16
+ __decorate([
17
+ (0, swagger_1.ApiProperty)(),
18
+ __metadata("design:type", Number)
19
+ ], UserTradingSummaryMin.prototype, "price", void 0);
20
+ __decorate([
21
+ (0, swagger_1.ApiProperty)(),
22
+ __metadata("design:type", String)
23
+ ], UserTradingSummaryMin.prototype, "txHash", void 0);
24
+ __decorate([
25
+ (0, swagger_1.ApiProperty)(),
26
+ __metadata("design:type", Number)
27
+ ], UserTradingSummaryMin.prototype, "timestamp", void 0);
28
+ __decorate([
29
+ (0, swagger_1.ApiProperty)(),
30
+ __metadata("design:type", String)
31
+ ], UserTradingSummaryMin.prototype, "identifier", void 0);
32
+ class UserTradingSummaryPrice {
33
+ }
34
+ __decorate([
35
+ (0, swagger_1.ApiProperty)(),
36
+ __metadata("design:type", Number)
37
+ ], UserTradingSummaryPrice.prototype, "price", void 0);
4
38
  class UserTradingSummary {
5
39
  }
6
40
  exports.UserTradingSummary = UserTradingSummary;
41
+ __decorate([
42
+ (0, swagger_1.ApiProperty)(),
43
+ __metadata("design:type", Number)
44
+ ], UserTradingSummary.prototype, "count", void 0);
45
+ __decorate([
46
+ (0, swagger_1.ApiProperty)(),
47
+ __metadata("design:type", Number)
48
+ ], UserTradingSummary.prototype, "volume", void 0);
49
+ __decorate([
50
+ (0, swagger_1.ApiProperty)(),
51
+ __metadata("design:type", UserTradingSummaryMin)
52
+ ], UserTradingSummary.prototype, "min", void 0);
53
+ __decorate([
54
+ (0, swagger_1.ApiProperty)(),
55
+ __metadata("design:type", UserTradingSummaryMin)
56
+ ], UserTradingSummary.prototype, "max", void 0);
57
+ __decorate([
58
+ (0, swagger_1.ApiProperty)(),
59
+ __metadata("design:type", UserTradingSummaryPrice)
60
+ ], UserTradingSummary.prototype, "avg", void 0);
@@ -15,6 +15,38 @@ const class_validator_1 = require("class-validator");
15
15
  class VolumeGraph {
16
16
  }
17
17
  exports.VolumeGraph = VolumeGraph;
18
+ __decorate([
19
+ (0, swagger_1.ApiProperty)(),
20
+ __metadata("design:type", String)
21
+ ], VolumeGraph.prototype, "marketplace", void 0);
22
+ __decorate([
23
+ (0, swagger_1.ApiProperty)(),
24
+ __metadata("design:type", Array)
25
+ ], VolumeGraph.prototype, "timestamp", void 0);
26
+ __decorate([
27
+ (0, swagger_1.ApiProperty)(),
28
+ __metadata("design:type", Array)
29
+ ], VolumeGraph.prototype, "totalEgldVolume", void 0);
30
+ __decorate([
31
+ (0, swagger_1.ApiProperty)(),
32
+ __metadata("design:type", Array)
33
+ ], VolumeGraph.prototype, "totalUsdVolume", void 0);
34
+ __decorate([
35
+ (0, swagger_1.ApiProperty)(),
36
+ __metadata("design:type", Array)
37
+ ], VolumeGraph.prototype, "totalTrades", void 0);
38
+ __decorate([
39
+ (0, swagger_1.ApiProperty)(),
40
+ __metadata("design:type", Array)
41
+ ], VolumeGraph.prototype, "floorPrice", void 0);
42
+ __decorate([
43
+ (0, swagger_1.ApiProperty)(),
44
+ __metadata("design:type", Array)
45
+ ], VolumeGraph.prototype, "athPrice", void 0);
46
+ __decorate([
47
+ (0, swagger_1.ApiProperty)(),
48
+ __metadata("design:type", Array)
49
+ ], VolumeGraph.prototype, "avgPrice", void 0);
18
50
  class AnalyticsMarketplaceUniqueUsers {
19
51
  }
20
52
  exports.AnalyticsMarketplaceUniqueUsers = AnalyticsMarketplaceUniqueUsers;
@@ -1,5 +1,5 @@
1
1
  import { ActivityChain } from '../../enums/common.enum';
2
- export interface PriceData {
2
+ export declare class PriceData {
3
3
  price: number;
4
4
  usdValue: number;
5
5
  timestamp: number;
@@ -1,7 +1,40 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.WalletTradingStats = void 0;
12
+ exports.WalletTradingStats = exports.PriceData = void 0;
13
+ const swagger_1 = require("@nestjs/swagger");
4
14
  const common_enum_1 = require("../../enums/common.enum");
15
+ class PriceData {
16
+ }
17
+ exports.PriceData = PriceData;
18
+ __decorate([
19
+ (0, swagger_1.ApiProperty)(),
20
+ __metadata("design:type", Number)
21
+ ], PriceData.prototype, "price", void 0);
22
+ __decorate([
23
+ (0, swagger_1.ApiProperty)(),
24
+ __metadata("design:type", Number)
25
+ ], PriceData.prototype, "usdValue", void 0);
26
+ __decorate([
27
+ (0, swagger_1.ApiProperty)(),
28
+ __metadata("design:type", Number)
29
+ ], PriceData.prototype, "timestamp", void 0);
30
+ __decorate([
31
+ (0, swagger_1.ApiProperty)(),
32
+ __metadata("design:type", String)
33
+ ], PriceData.prototype, "identifier", void 0);
34
+ __decorate([
35
+ (0, swagger_1.ApiProperty)(),
36
+ __metadata("design:type", String)
37
+ ], PriceData.prototype, "txHash", void 0);
5
38
  class WalletTradingStats {
6
39
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
7
40
  constructor(data) {
@@ -65,3 +98,99 @@ class WalletTradingStats {
65
98
  }
66
99
  }
67
100
  exports.WalletTradingStats = WalletTradingStats;
101
+ __decorate([
102
+ (0, swagger_1.ApiProperty)(),
103
+ __metadata("design:type", String)
104
+ ], WalletTradingStats.prototype, "wallet", void 0);
105
+ __decorate([
106
+ (0, swagger_1.ApiProperty)(),
107
+ __metadata("design:type", Number)
108
+ ], WalletTradingStats.prototype, "totalVolume", void 0);
109
+ __decorate([
110
+ (0, swagger_1.ApiProperty)(),
111
+ __metadata("design:type", Number)
112
+ ], WalletTradingStats.prototype, "totalTrades", void 0);
113
+ __decorate([
114
+ (0, swagger_1.ApiProperty)(),
115
+ __metadata("design:type", Number)
116
+ ], WalletTradingStats.prototype, "totalCollections", void 0);
117
+ __decorate([
118
+ (0, swagger_1.ApiProperty)(),
119
+ __metadata("design:type", Number)
120
+ ], WalletTradingStats.prototype, "totalNfts", void 0);
121
+ __decorate([
122
+ (0, swagger_1.ApiProperty)(),
123
+ __metadata("design:type", Number)
124
+ ], WalletTradingStats.prototype, "totalPartners", void 0);
125
+ __decorate([
126
+ (0, swagger_1.ApiProperty)(),
127
+ __metadata("design:type", Number)
128
+ ], WalletTradingStats.prototype, "buyerVolume", void 0);
129
+ __decorate([
130
+ (0, swagger_1.ApiProperty)(),
131
+ __metadata("design:type", Number)
132
+ ], WalletTradingStats.prototype, "buyerTrades", void 0);
133
+ __decorate([
134
+ (0, swagger_1.ApiProperty)(),
135
+ __metadata("design:type", Number)
136
+ ], WalletTradingStats.prototype, "buyerNfts", void 0);
137
+ __decorate([
138
+ (0, swagger_1.ApiProperty)(),
139
+ __metadata("design:type", Number)
140
+ ], WalletTradingStats.prototype, "buyerCollections", void 0);
141
+ __decorate([
142
+ (0, swagger_1.ApiProperty)(),
143
+ __metadata("design:type", Number)
144
+ ], WalletTradingStats.prototype, "buyerPartners", void 0);
145
+ __decorate([
146
+ (0, swagger_1.ApiProperty)(),
147
+ __metadata("design:type", Number)
148
+ ], WalletTradingStats.prototype, "buyerMaxPrice", void 0);
149
+ __decorate([
150
+ (0, swagger_1.ApiProperty)(),
151
+ __metadata("design:type", Number)
152
+ ], WalletTradingStats.prototype, "buyerMinPrice", void 0);
153
+ __decorate([
154
+ (0, swagger_1.ApiProperty)(),
155
+ __metadata("design:type", Object)
156
+ ], WalletTradingStats.prototype, "buyerMaxPriceData", void 0);
157
+ __decorate([
158
+ (0, swagger_1.ApiProperty)(),
159
+ __metadata("design:type", Object)
160
+ ], WalletTradingStats.prototype, "buyerMinPriceData", void 0);
161
+ __decorate([
162
+ (0, swagger_1.ApiProperty)(),
163
+ __metadata("design:type", Number)
164
+ ], WalletTradingStats.prototype, "sellerTrades", void 0);
165
+ __decorate([
166
+ (0, swagger_1.ApiProperty)(),
167
+ __metadata("design:type", Number)
168
+ ], WalletTradingStats.prototype, "sellerNfts", void 0);
169
+ __decorate([
170
+ (0, swagger_1.ApiProperty)(),
171
+ __metadata("design:type", Number)
172
+ ], WalletTradingStats.prototype, "sellerCollections", void 0);
173
+ __decorate([
174
+ (0, swagger_1.ApiProperty)(),
175
+ __metadata("design:type", Number)
176
+ ], WalletTradingStats.prototype, "sellerPartners", void 0);
177
+ __decorate([
178
+ (0, swagger_1.ApiProperty)(),
179
+ __metadata("design:type", Number)
180
+ ], WalletTradingStats.prototype, "sellerMaxPrice", void 0);
181
+ __decorate([
182
+ (0, swagger_1.ApiProperty)(),
183
+ __metadata("design:type", Number)
184
+ ], WalletTradingStats.prototype, "sellerMinPrice", void 0);
185
+ __decorate([
186
+ (0, swagger_1.ApiProperty)(),
187
+ __metadata("design:type", Object)
188
+ ], WalletTradingStats.prototype, "sellerMaxPriceData", void 0);
189
+ __decorate([
190
+ (0, swagger_1.ApiProperty)(),
191
+ __metadata("design:type", Object)
192
+ ], WalletTradingStats.prototype, "sellerMinPriceData", void 0);
193
+ __decorate([
194
+ (0, swagger_1.ApiProperty)(),
195
+ __metadata("design:type", String)
196
+ ], WalletTradingStats.prototype, "chain", void 0);
@@ -26,9 +26,37 @@ __decorate([
26
26
  (0, swagger_1.ApiProperty)({ example: 128123.25 }),
27
27
  __metadata("design:type", Number)
28
28
  ], StatisticsTradeDataDto.prototype, "totalEgldVolume", void 0);
29
+ __decorate([
30
+ (0, swagger_1.ApiProperty)(),
31
+ __metadata("design:type", Number)
32
+ ], StatisticsTradeDataDto.prototype, "averageEgldPrice", void 0);
33
+ __decorate([
34
+ (0, swagger_1.ApiProperty)(),
35
+ __metadata("design:type", Number)
36
+ ], StatisticsTradeDataDto.prototype, "athEgldPrice", void 0);
37
+ __decorate([
38
+ (0, swagger_1.ApiProperty)(),
39
+ __metadata("design:type", String)
40
+ ], StatisticsTradeDataDto.prototype, "athTxHash", void 0);
41
+ __decorate([
42
+ (0, swagger_1.ApiProperty)(),
43
+ __metadata("design:type", Number)
44
+ ], StatisticsTradeDataDto.prototype, "totalTrades", void 0);
29
45
  class StatisticsMintDataDto {
30
46
  }
31
47
  exports.StatisticsMintDataDto = StatisticsMintDataDto;
48
+ __decorate([
49
+ (0, swagger_1.ApiProperty)(),
50
+ __metadata("design:type", Number)
51
+ ], StatisticsMintDataDto.prototype, "totalMintEgldVolume", void 0);
52
+ __decorate([
53
+ (0, swagger_1.ApiProperty)(),
54
+ __metadata("design:type", Number)
55
+ ], StatisticsMintDataDto.prototype, "weekMintEgldVolume", void 0);
56
+ __decorate([
57
+ (0, swagger_1.ApiProperty)(),
58
+ __metadata("design:type", Number)
59
+ ], StatisticsMintDataDto.prototype, "dayMintEgldVolume", void 0);
32
60
  class StatisticsOtherDto {
33
61
  constructor(props) {
34
62
  Object.assign(this, props);
@@ -1,9 +1,3 @@
1
- export declare class CosmosPaginatedResponse<T> {
2
- count: number | null;
3
- hasMoreResults: boolean;
4
- resources: T[];
5
- constructor(resources: T[], count: number | null, hasMoreResults: boolean);
6
- }
7
1
  export declare class CosmosPaginatedSingleResponse<T> {
8
2
  count: number | null;
9
3
  hasMoreResults: boolean;
@@ -17,3 +11,10 @@ export declare function createCosmosPaginatedResponse<T>(type: new () => T): {
17
11
  hasMoreResults: boolean;
18
12
  };
19
13
  };
14
+ export declare function createCosmosPaginatedSingleResponse<T>(type: new () => T): {
15
+ new (resources: T, count: number | null, hasMoreResults: boolean): {
16
+ resources: T;
17
+ count: number | null;
18
+ hasMoreResults: boolean;
19
+ };
20
+ };
@@ -9,8 +9,9 @@ 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.CosmosPaginatedSingleResponse = exports.CosmosPaginatedResponse = void 0;
12
+ exports.CosmosPaginatedSingleResponse = void 0;
13
13
  exports.createCosmosPaginatedResponse = createCosmosPaginatedResponse;
14
+ exports.createCosmosPaginatedSingleResponse = createCosmosPaginatedSingleResponse;
14
15
  const swagger_1 = require("@nestjs/swagger");
15
16
  class CosmosPaginatedResponse {
16
17
  constructor(resources, count, hasMoreResults) {
@@ -21,7 +22,6 @@ class CosmosPaginatedResponse {
21
22
  this.hasMoreResults = hasMoreResults;
22
23
  }
23
24
  }
24
- exports.CosmosPaginatedResponse = CosmosPaginatedResponse;
25
25
  __decorate([
26
26
  (0, swagger_1.ApiProperty)({
27
27
  description: 'Total number of documents',
@@ -91,3 +91,15 @@ function createCosmosPaginatedResponse(type) {
91
91
  ], PaginatedResponse.prototype, "resources", void 0);
92
92
  return PaginatedResponse;
93
93
  }
94
+ function createCosmosPaginatedSingleResponse(type) {
95
+ class PaginatedResponse extends CosmosPaginatedSingleResponse {
96
+ }
97
+ __decorate([
98
+ (0, swagger_1.ApiProperty)({
99
+ description: 'List of documents',
100
+ type,
101
+ }),
102
+ __metadata("design:type", Object)
103
+ ], PaginatedResponse.prototype, "resources", void 0);
104
+ return PaginatedResponse;
105
+ }
@@ -15,6 +15,7 @@ const common_enum_1 = require("../../../enums/common.enum");
15
15
  const event_source_enum_1 = require("../../../enums/event-source.enum");
16
16
  const nft_activity_data_1 = require("../../../requests/nft-activity-data/nft-activity-data");
17
17
  const nft_activity_type_enum_1 = require("../../../enums/nft-activity-type.enum");
18
+ const owner_dto_1 = require("../../../common/owner.dto");
18
19
  class NftActivityDocBase {
19
20
  constructor(props) {
20
21
  this.chain = common_enum_1.ActivityChain.MVX;
@@ -131,3 +132,15 @@ class NftActivityDocHydrated extends NftActivityDocBase {
131
132
  }
132
133
  }
133
134
  exports.NftActivityDocHydrated = NftActivityDocHydrated;
135
+ __decorate([
136
+ (0, swagger_1.ApiProperty)(),
137
+ __metadata("design:type", owner_dto_1.OwnerDto)
138
+ ], NftActivityDocHydrated.prototype, "from", void 0);
139
+ __decorate([
140
+ (0, swagger_1.ApiProperty)(),
141
+ __metadata("design:type", owner_dto_1.OwnerDto)
142
+ ], NftActivityDocHydrated.prototype, "to", void 0);
143
+ __decorate([
144
+ (0, swagger_1.ApiProperty)(),
145
+ __metadata("design:type", nft_activity_data_1.NftActivityDataHydrated)
146
+ ], NftActivityDocHydrated.prototype, "activityData", void 0);
@@ -12,6 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ChatMessageDocHydrated = exports.ChatMessageDoc = exports.MessageDto = void 0;
13
13
  const uuid_1 = require("uuid");
14
14
  const swagger_1 = require("@nestjs/swagger");
15
+ const owner_dto_1 = require("../../../common/owner.dto");
15
16
  const chat_data_type_enum_1 = require("../../../enums/chat-data-type.enum");
16
17
  const chat_message_content_dto_1 = require("./chat-message-content.dto");
17
18
  class MessageDto {
@@ -29,6 +30,14 @@ __decorate([
29
30
  (0, swagger_1.ApiProperty)({ example: 1720468991 }),
30
31
  __metadata("design:type", Number)
31
32
  ], MessageDto.prototype, "timestamp", void 0);
33
+ __decorate([
34
+ (0, swagger_1.ApiProperty)(),
35
+ __metadata("design:type", String)
36
+ ], MessageDto.prototype, "sender", void 0);
37
+ __decorate([
38
+ (0, swagger_1.ApiProperty)(),
39
+ __metadata("design:type", Array)
40
+ ], MessageDto.prototype, "isDeletedFor", void 0);
32
41
  class ChatMessageDocBase {
33
42
  constructor(props) {
34
43
  this.dataType = chat_data_type_enum_1.ChatDataType.MESSAGE;
@@ -40,9 +49,57 @@ class ChatMessageDocBase {
40
49
  }
41
50
  }
42
51
  }
52
+ __decorate([
53
+ (0, swagger_1.ApiProperty)(),
54
+ __metadata("design:type", Object)
55
+ ], ChatMessageDocBase.prototype, "dataType", void 0);
56
+ __decorate([
57
+ (0, swagger_1.ApiProperty)(),
58
+ __metadata("design:type", String)
59
+ ], ChatMessageDocBase.prototype, "chatId", void 0);
60
+ __decorate([
61
+ (0, swagger_1.ApiProperty)(),
62
+ __metadata("design:type", Boolean)
63
+ ], ChatMessageDocBase.prototype, "isGroupChat", void 0);
64
+ __decorate([
65
+ (0, swagger_1.ApiProperty)(),
66
+ __metadata("design:type", MessageDto)
67
+ ], ChatMessageDocBase.prototype, "message", void 0);
68
+ __decorate([
69
+ (0, swagger_1.ApiProperty)(),
70
+ __metadata("design:type", String)
71
+ ], ChatMessageDocBase.prototype, "pk", void 0);
72
+ __decorate([
73
+ (0, swagger_1.ApiProperty)(),
74
+ __metadata("design:type", String)
75
+ ], ChatMessageDocBase.prototype, "id", void 0);
76
+ __decorate([
77
+ (0, swagger_1.ApiProperty)(),
78
+ __metadata("design:type", Number)
79
+ ], ChatMessageDocBase.prototype, "ttl", void 0);
80
+ __decorate([
81
+ (0, swagger_1.ApiProperty)(),
82
+ __metadata("design:type", Number)
83
+ ], ChatMessageDocBase.prototype, "_ts", void 0);
43
84
  class ChatMessageDoc extends ChatMessageDocBase {
44
85
  }
45
86
  exports.ChatMessageDoc = ChatMessageDoc;
87
+ __decorate([
88
+ (0, swagger_1.ApiProperty)(),
89
+ __metadata("design:type", String)
90
+ ], ChatMessageDoc.prototype, "sender", void 0);
91
+ __decorate([
92
+ (0, swagger_1.ApiProperty)(),
93
+ __metadata("design:type", String)
94
+ ], ChatMessageDoc.prototype, "receiver", void 0);
46
95
  class ChatMessageDocHydrated extends ChatMessageDocBase {
47
96
  }
48
97
  exports.ChatMessageDocHydrated = ChatMessageDocHydrated;
98
+ __decorate([
99
+ (0, swagger_1.ApiProperty)(),
100
+ __metadata("design:type", owner_dto_1.OwnerDto)
101
+ ], ChatMessageDocHydrated.prototype, "sender", void 0);
102
+ __decorate([
103
+ (0, swagger_1.ApiProperty)(),
104
+ __metadata("design:type", owner_dto_1.OwnerDto)
105
+ ], ChatMessageDocHydrated.prototype, "receiver", void 0);
@@ -1,6 +1,16 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.ChatReadDto = void 0;
13
+ const swagger_1 = require("@nestjs/swagger");
4
14
  const chat_data_type_enum_1 = require("../../../enums/chat-data-type.enum");
5
15
  class ChatReadDto {
6
16
  constructor() {
@@ -8,3 +18,19 @@ class ChatReadDto {
8
18
  }
9
19
  }
10
20
  exports.ChatReadDto = ChatReadDto;
21
+ __decorate([
22
+ (0, swagger_1.ApiProperty)(),
23
+ __metadata("design:type", Object)
24
+ ], ChatReadDto.prototype, "dataType", void 0);
25
+ __decorate([
26
+ (0, swagger_1.ApiProperty)(),
27
+ __metadata("design:type", String)
28
+ ], ChatReadDto.prototype, "chatId", void 0);
29
+ __decorate([
30
+ (0, swagger_1.ApiProperty)(),
31
+ __metadata("design:type", Number)
32
+ ], ChatReadDto.prototype, "lastRead", void 0);
33
+ __decorate([
34
+ (0, swagger_1.ApiProperty)(),
35
+ __metadata("design:type", String)
36
+ ], ChatReadDto.prototype, "reader", void 0);
@@ -1,9 +1,9 @@
1
1
  import { CollectionProfileDoc } from '../collection/profile';
2
- declare type ShortCollectionInfoDoc_base = Pick<CollectionProfileDoc, "description" | "profile" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "socials" | "banner" | "chain" | "owner" | "collectionSize">;
2
+ declare type ShortCollectionInfoDoc_base = Pick<CollectionProfileDoc, "description" | "profile" | "chain" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "socials" | "banner" | "owner" | "collectionSize">;
3
3
  export declare type ShortCollectionInfoDoc = ShortCollectionInfoDoc_base & {
4
4
  volume: number;
5
5
  };
6
- declare const ShortCollectionInfoDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "socials" | "banner" | "chain" | "owner" | "collectionSize">>;
6
+ declare const ShortCollectionInfoDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "chain" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "socials" | "banner" | "owner" | "collectionSize">>;
7
7
  export declare class ShortCollectionInfoDocNest extends ShortCollectionInfoDocNest_base {
8
8
  volume: number;
9
9
  }
@@ -1,7 +1,7 @@
1
1
  import { CollectionProfileDoc } from '../collection/profile';
2
- declare type ShortCollectionDoc_base = Pick<CollectionProfileDoc, "description" | "profile" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "chain" | "collectionSize">;
2
+ declare type ShortCollectionDoc_base = Pick<CollectionProfileDoc, "description" | "profile" | "chain" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "collectionSize">;
3
3
  export declare type ShortCollectionDoc = ShortCollectionDoc_base ;
4
- declare const ShortCollectionDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "chain" | "collectionSize">>;
4
+ declare const ShortCollectionDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "chain" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "collectionSize">>;
5
5
  export declare class ShortCollectionDocNest extends ShortCollectionDocNest_base {
6
6
  }
7
7
  export {};
@@ -1,7 +1,7 @@
1
1
  import { CollectionProfileDoc } from '../collection/profile';
2
- declare type ShortNftCollectionInfoDoc_base = Pick<CollectionProfileDoc, "description" | "profile" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "banner" | "chain" | "roles" | "customConfig" | "collectionSize">;
2
+ declare type ShortNftCollectionInfoDoc_base = Pick<CollectionProfileDoc, "description" | "profile" | "chain" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "banner" | "roles" | "customConfig" | "collectionSize">;
3
3
  export declare type ShortNftCollectionInfoDoc = ShortNftCollectionInfoDoc_base ;
4
- declare const ShortNftCollectionInfoDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "banner" | "chain" | "roles" | "customConfig" | "collectionSize">>;
4
+ declare const ShortNftCollectionInfoDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "chain" | "followCount" | "holdersCount" | "name" | "isVisible" | "isVerified" | "banner" | "roles" | "customConfig" | "collectionSize">>;
5
5
  export declare class ShortNftCollectionInfoDocNest extends ShortNftCollectionInfoDocNest_base {
6
6
  }
7
7
  export {};
@@ -1,6 +1,5 @@
1
1
  import { OwnerDto } from '../common/owner.dto';
2
2
  import { GlobalSearchResourcesDto } from '../entities/search-data/search.dto';
3
- import { CosmosPaginatedResponse, CosmosPaginatedSingleResponse } from './cosmos-db-paginated-response.dto';
4
3
  import { NftActivityDocHydrated } from './documents/activity/nft-activity.doc';
5
4
  import { ChatMessageDocHydrated } from './documents/chat/chat-message.doc';
6
5
  import { UserBlockDocHydrated } from './documents/chat/user-block.doc';
@@ -14,32 +13,131 @@ import { EventReferralConfigDoc } from './documents/ticketing/event-referral-con
14
13
  import { EventReferralDoc } from './documents/ticketing/event-referral.doc';
15
14
  import { NftDocHydrated } from './documents/token/nft-details.doc';
16
15
  import { NftOfferDocHydrated } from './documents/token/nft-offer.doc';
17
- export declare class EventReferralConfigPaginated extends CosmosPaginatedResponse<EventReferralConfigDoc> {
16
+ declare const EventReferralConfigPaginated_base: {
17
+ new (resources: EventReferralConfigDoc[], count: number | null, hasMoreResults: boolean): {
18
+ resources: EventReferralConfigDoc[];
19
+ count: number | null;
20
+ hasMoreResults: boolean;
21
+ };
22
+ };
23
+ export declare class EventReferralConfigPaginated extends EventReferralConfigPaginated_base {
18
24
  }
19
- export declare class EventReferralPaginated extends CosmosPaginatedResponse<EventReferralDoc> {
25
+ declare const EventReferralPaginated_base: {
26
+ new (resources: EventReferralDoc[], count: number | null, hasMoreResults: boolean): {
27
+ resources: EventReferralDoc[];
28
+ count: number | null;
29
+ hasMoreResults: boolean;
30
+ };
31
+ };
32
+ export declare class EventReferralPaginated extends EventReferralPaginated_base {
20
33
  }
21
- export declare class GlobalSearchResourcesPaginated extends CosmosPaginatedSingleResponse<GlobalSearchResourcesDto> {
34
+ declare const GlobalSearchResourcesPaginated_base: {
35
+ new (resources: GlobalSearchResourcesDto, count: number | null, hasMoreResults: boolean): {
36
+ resources: GlobalSearchResourcesDto;
37
+ count: number | null;
38
+ hasMoreResults: boolean;
39
+ };
40
+ };
41
+ export declare class GlobalSearchResourcesPaginated extends GlobalSearchResourcesPaginated_base {
22
42
  }
23
- export declare class NotificationPaginated extends CosmosPaginatedResponse<NotificationDoc> {
43
+ declare const NotificationPaginated_base: {
44
+ new (resources: NotificationDoc[], count: number | null, hasMoreResults: boolean): {
45
+ resources: NotificationDoc[];
46
+ count: number | null;
47
+ hasMoreResults: boolean;
48
+ };
49
+ };
50
+ export declare class NotificationPaginated extends NotificationPaginated_base {
24
51
  }
25
- export declare class UserBlockPaginated extends CosmosPaginatedResponse<UserBlockDocHydrated> {
52
+ declare const UserBlockPaginated_base: {
53
+ new (resources: UserBlockDocHydrated[], count: number | null, hasMoreResults: boolean): {
54
+ resources: UserBlockDocHydrated[];
55
+ count: number | null;
56
+ hasMoreResults: boolean;
57
+ };
58
+ };
59
+ export declare class UserBlockPaginated extends UserBlockPaginated_base {
26
60
  }
27
- export declare class UserConversationPaginated extends CosmosPaginatedResponse<UserConversationDocHydrated> {
61
+ declare const UserConversationPaginated_base: {
62
+ new (resources: UserConversationDocHydrated[], count: number | null, hasMoreResults: boolean): {
63
+ resources: UserConversationDocHydrated[];
64
+ count: number | null;
65
+ hasMoreResults: boolean;
66
+ };
67
+ };
68
+ export declare class UserConversationPaginated extends UserConversationPaginated_base {
28
69
  }
29
- export declare class ChatMessagePaginated extends CosmosPaginatedResponse<ChatMessageDocHydrated> {
70
+ declare const ChatMessagePaginated_base: {
71
+ new (resources: ChatMessageDocHydrated[], count: number | null, hasMoreResults: boolean): {
72
+ resources: ChatMessageDocHydrated[];
73
+ count: number | null;
74
+ hasMoreResults: boolean;
75
+ };
76
+ };
77
+ export declare class ChatMessagePaginated extends ChatMessagePaginated_base {
30
78
  receiver: OwnerDto;
31
79
  }
32
- export declare class NftActivityPaginated extends CosmosPaginatedResponse<NftActivityDocHydrated> {
80
+ declare const NftActivityPaginated_base: {
81
+ new (resources: NftActivityDocHydrated[], count: number | null, hasMoreResults: boolean): {
82
+ resources: NftActivityDocHydrated[];
83
+ count: number | null;
84
+ hasMoreResults: boolean;
85
+ };
86
+ };
87
+ export declare class NftActivityPaginated extends NftActivityPaginated_base {
33
88
  }
34
- export declare class NftPaginated extends CosmosPaginatedResponse<NftDocHydrated> {
89
+ declare const NftPaginated_base: {
90
+ new (resources: NftDocHydrated[], count: number | null, hasMoreResults: boolean): {
91
+ resources: NftDocHydrated[];
92
+ count: number | null;
93
+ hasMoreResults: boolean;
94
+ };
95
+ };
96
+ export declare class NftPaginated extends NftPaginated_base {
35
97
  }
36
- export declare class CollectionProfilePaginated extends CosmosPaginatedResponse<CollectionProfileDoc> {
98
+ declare const CollectionProfilePaginated_base: {
99
+ new (resources: CollectionProfileDoc[], count: number | null, hasMoreResults: boolean): {
100
+ resources: CollectionProfileDoc[];
101
+ count: number | null;
102
+ hasMoreResults: boolean;
103
+ };
104
+ };
105
+ export declare class CollectionProfilePaginated extends CollectionProfilePaginated_base {
37
106
  }
38
- export declare class CollectionMintProfilePaginated extends CosmosPaginatedResponse<CollectionMintProfileDocHydrated> {
107
+ declare const CollectionMintProfilePaginated_base: {
108
+ new (resources: CollectionMintProfileDocHydrated[], count: number | null, hasMoreResults: boolean): {
109
+ resources: CollectionMintProfileDocHydrated[];
110
+ count: number | null;
111
+ hasMoreResults: boolean;
112
+ };
113
+ };
114
+ export declare class CollectionMintProfilePaginated extends CollectionMintProfilePaginated_base {
39
115
  }
40
- export declare class GlobalOfferPaginated extends CosmosPaginatedResponse<GlobalOfferDocHydrated> {
116
+ declare const GlobalOfferPaginated_base: {
117
+ new (resources: GlobalOfferDocHydrated[], count: number | null, hasMoreResults: boolean): {
118
+ resources: GlobalOfferDocHydrated[];
119
+ count: number | null;
120
+ hasMoreResults: boolean;
121
+ };
122
+ };
123
+ export declare class GlobalOfferPaginated extends GlobalOfferPaginated_base {
41
124
  }
42
- export declare class CollectionStatsPaginated extends CosmosPaginatedResponse<CollectionStatsDocHydrated> {
125
+ declare const CollectionStatsPaginated_base: {
126
+ new (resources: CollectionStatsDocHydrated[], count: number | null, hasMoreResults: boolean): {
127
+ resources: CollectionStatsDocHydrated[];
128
+ count: number | null;
129
+ hasMoreResults: boolean;
130
+ };
131
+ };
132
+ export declare class CollectionStatsPaginated extends CollectionStatsPaginated_base {
43
133
  }
44
- export declare class NftOfferPaginated extends CosmosPaginatedResponse<NftOfferDocHydrated> {
134
+ declare const NftOfferPaginated_base: {
135
+ new (resources: NftOfferDocHydrated[], count: number | null, hasMoreResults: boolean): {
136
+ resources: NftOfferDocHydrated[];
137
+ count: number | null;
138
+ hasMoreResults: boolean;
139
+ };
140
+ };
141
+ export declare class NftOfferPaginated extends NftOfferPaginated_base {
45
142
  }
143
+ export {};
@@ -1,46 +1,75 @@
1
1
  "use strict";
2
+ var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
3
+ var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
4
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
5
+ else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
6
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
7
+ };
8
+ var __metadata = (this && this.__metadata) || function (k, v) {
9
+ if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
10
+ };
2
11
  Object.defineProperty(exports, "__esModule", { value: true });
3
12
  exports.NftOfferPaginated = exports.CollectionStatsPaginated = exports.GlobalOfferPaginated = exports.CollectionMintProfilePaginated = exports.CollectionProfilePaginated = exports.NftPaginated = exports.NftActivityPaginated = exports.ChatMessagePaginated = exports.UserConversationPaginated = exports.UserBlockPaginated = exports.NotificationPaginated = exports.GlobalSearchResourcesPaginated = exports.EventReferralPaginated = exports.EventReferralConfigPaginated = void 0;
13
+ const swagger_1 = require("@nestjs/swagger");
14
+ const owner_dto_1 = require("../common/owner.dto");
15
+ const search_dto_1 = require("../entities/search-data/search.dto");
4
16
  const cosmos_db_paginated_response_dto_1 = require("./cosmos-db-paginated-response.dto");
5
- class EventReferralConfigPaginated extends cosmos_db_paginated_response_dto_1.CosmosPaginatedResponse {
17
+ const nft_activity_doc_1 = require("./documents/activity/nft-activity.doc");
18
+ const chat_message_doc_1 = require("./documents/chat/chat-message.doc");
19
+ const user_block_doc_1 = require("./documents/chat/user-block.doc");
20
+ const user_conversation_doc_1 = require("./documents/chat/user-conversation.doc");
21
+ const globalOffer_1 = require("./documents/collection/globalOffer");
22
+ const mintProfile_1 = require("./documents/collection/mintProfile");
23
+ const profile_1 = require("./documents/collection/profile");
24
+ const stats_1 = require("./documents/collection/stats");
25
+ const notification_doc_1 = require("./documents/notification/notification.doc");
26
+ const event_referral_config_doc_1 = require("./documents/ticketing/event-referral-config.doc");
27
+ const event_referral_doc_1 = require("./documents/ticketing/event-referral.doc");
28
+ const nft_details_doc_1 = require("./documents/token/nft-details.doc");
29
+ const nft_offer_doc_1 = require("./documents/token/nft-offer.doc");
30
+ class EventReferralConfigPaginated extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(event_referral_config_doc_1.EventReferralConfigDoc) {
6
31
  }
7
32
  exports.EventReferralConfigPaginated = EventReferralConfigPaginated;
8
- class EventReferralPaginated extends cosmos_db_paginated_response_dto_1.CosmosPaginatedResponse {
33
+ class EventReferralPaginated extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(event_referral_doc_1.EventReferralDoc) {
9
34
  }
10
35
  exports.EventReferralPaginated = EventReferralPaginated;
11
- class GlobalSearchResourcesPaginated extends cosmos_db_paginated_response_dto_1.CosmosPaginatedSingleResponse {
36
+ class GlobalSearchResourcesPaginated extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedSingleResponse)(search_dto_1.GlobalSearchResourcesDto) {
12
37
  }
13
38
  exports.GlobalSearchResourcesPaginated = GlobalSearchResourcesPaginated;
14
- class NotificationPaginated extends cosmos_db_paginated_response_dto_1.CosmosPaginatedResponse {
39
+ class NotificationPaginated extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(notification_doc_1.NotificationDoc) {
15
40
  }
16
41
  exports.NotificationPaginated = NotificationPaginated;
17
- class UserBlockPaginated extends cosmos_db_paginated_response_dto_1.CosmosPaginatedResponse {
42
+ class UserBlockPaginated extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(user_block_doc_1.UserBlockDocHydrated) {
18
43
  }
19
44
  exports.UserBlockPaginated = UserBlockPaginated;
20
- class UserConversationPaginated extends cosmos_db_paginated_response_dto_1.CosmosPaginatedResponse {
45
+ class UserConversationPaginated extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(user_conversation_doc_1.UserConversationDocHydrated) {
21
46
  }
22
47
  exports.UserConversationPaginated = UserConversationPaginated;
23
- class ChatMessagePaginated extends cosmos_db_paginated_response_dto_1.CosmosPaginatedResponse {
48
+ class ChatMessagePaginated extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(chat_message_doc_1.ChatMessageDocHydrated) {
24
49
  }
25
50
  exports.ChatMessagePaginated = ChatMessagePaginated;
26
- class NftActivityPaginated extends cosmos_db_paginated_response_dto_1.CosmosPaginatedResponse {
51
+ __decorate([
52
+ (0, swagger_1.ApiProperty)(),
53
+ __metadata("design:type", owner_dto_1.OwnerDto)
54
+ ], ChatMessagePaginated.prototype, "receiver", void 0);
55
+ class NftActivityPaginated extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(nft_activity_doc_1.NftActivityDocHydrated) {
27
56
  }
28
57
  exports.NftActivityPaginated = NftActivityPaginated;
29
- class NftPaginated extends cosmos_db_paginated_response_dto_1.CosmosPaginatedResponse {
58
+ class NftPaginated extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(nft_details_doc_1.NftDocHydrated) {
30
59
  }
31
60
  exports.NftPaginated = NftPaginated;
32
- class CollectionProfilePaginated extends cosmos_db_paginated_response_dto_1.CosmosPaginatedResponse {
61
+ class CollectionProfilePaginated extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(profile_1.CollectionProfileDoc) {
33
62
  }
34
63
  exports.CollectionProfilePaginated = CollectionProfilePaginated;
35
- class CollectionMintProfilePaginated extends cosmos_db_paginated_response_dto_1.CosmosPaginatedResponse {
64
+ class CollectionMintProfilePaginated extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(mintProfile_1.CollectionMintProfileDocHydrated) {
36
65
  }
37
66
  exports.CollectionMintProfilePaginated = CollectionMintProfilePaginated;
38
- class GlobalOfferPaginated extends cosmos_db_paginated_response_dto_1.CosmosPaginatedResponse {
67
+ class GlobalOfferPaginated extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(globalOffer_1.GlobalOfferDocHydrated) {
39
68
  }
40
69
  exports.GlobalOfferPaginated = GlobalOfferPaginated;
41
- class CollectionStatsPaginated extends cosmos_db_paginated_response_dto_1.CosmosPaginatedResponse {
70
+ class CollectionStatsPaginated extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(stats_1.CollectionStatsDocHydrated) {
42
71
  }
43
72
  exports.CollectionStatsPaginated = CollectionStatsPaginated;
44
- class NftOfferPaginated extends cosmos_db_paginated_response_dto_1.CosmosPaginatedResponse {
73
+ class NftOfferPaginated extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(nft_offer_doc_1.NftOfferDocHydrated) {
45
74
  }
46
75
  exports.NftOfferPaginated = NftOfferPaginated;
@@ -18,6 +18,34 @@ class TokenDataDocBase {
18
18
  Object.assign(this, props);
19
19
  }
20
20
  }
21
+ __decorate([
22
+ (0, swagger_1.ApiProperty)(),
23
+ __metadata("design:type", String)
24
+ ], TokenDataDocBase.prototype, "identifier", void 0);
25
+ __decorate([
26
+ (0, swagger_1.ApiProperty)(),
27
+ __metadata("design:type", Number)
28
+ ], TokenDataDocBase.prototype, "decimals", void 0);
29
+ __decorate([
30
+ (0, swagger_1.ApiProperty)(),
31
+ __metadata("design:type", String)
32
+ ], TokenDataDocBase.prototype, "ticker", void 0);
33
+ __decorate([
34
+ (0, swagger_1.ApiProperty)(),
35
+ __metadata("design:type", String)
36
+ ], TokenDataDocBase.prototype, "name", void 0);
37
+ __decorate([
38
+ (0, swagger_1.ApiProperty)(),
39
+ __metadata("design:type", String)
40
+ ], TokenDataDocBase.prototype, "svgUrl", void 0);
41
+ __decorate([
42
+ (0, swagger_1.ApiProperty)(),
43
+ __metadata("design:type", String)
44
+ ], TokenDataDocBase.prototype, "pngUrl", void 0);
45
+ __decorate([
46
+ (0, swagger_1.ApiProperty)(),
47
+ __metadata("design:type", String)
48
+ ], TokenDataDocBase.prototype, "chain", void 0);
21
49
  class TokenDataDoc extends TokenDataDocBase {
22
50
  constructor(props) {
23
51
  super(props);
@@ -27,6 +55,30 @@ class TokenDataDoc extends TokenDataDocBase {
27
55
  }
28
56
  }
29
57
  exports.TokenDataDoc = TokenDataDoc;
58
+ __decorate([
59
+ (0, swagger_1.ApiProperty)(),
60
+ __metadata("design:type", String)
61
+ ], TokenDataDoc.prototype, "id", void 0);
62
+ __decorate([
63
+ (0, swagger_1.ApiProperty)(),
64
+ __metadata("design:type", String)
65
+ ], TokenDataDoc.prototype, "collection", void 0);
66
+ __decorate([
67
+ (0, swagger_1.ApiProperty)(),
68
+ __metadata("design:type", Object)
69
+ ], TokenDataDoc.prototype, "dataType", void 0);
70
+ __decorate([
71
+ (0, swagger_1.ApiProperty)(),
72
+ __metadata("design:type", String)
73
+ ], TokenDataDoc.prototype, "type", void 0);
74
+ __decorate([
75
+ (0, swagger_1.ApiProperty)(),
76
+ __metadata("design:type", Array)
77
+ ], TokenDataDoc.prototype, "category", void 0);
78
+ __decorate([
79
+ (0, swagger_1.ApiProperty)(),
80
+ __metadata("design:type", Number)
81
+ ], TokenDataDoc.prototype, "_ts", void 0);
30
82
  class TokenDataDocHydrated extends TokenDataDoc {
31
83
  }
32
84
  exports.TokenDataDocHydrated = TokenDataDocHydrated;
@@ -41,6 +93,22 @@ __decorate([
41
93
  class SuiCoinObjectDto {
42
94
  }
43
95
  exports.SuiCoinObjectDto = SuiCoinObjectDto;
96
+ __decorate([
97
+ (0, swagger_1.ApiProperty)(),
98
+ __metadata("design:type", String)
99
+ ], SuiCoinObjectDto.prototype, "objectId", void 0);
100
+ __decorate([
101
+ (0, swagger_1.ApiProperty)(),
102
+ __metadata("design:type", String)
103
+ ], SuiCoinObjectDto.prototype, "balance", void 0);
104
+ __decorate([
105
+ (0, swagger_1.ApiProperty)(),
106
+ __metadata("design:type", String)
107
+ ], SuiCoinObjectDto.prototype, "digest", void 0);
108
+ __decorate([
109
+ (0, swagger_1.ApiProperty)(),
110
+ __metadata("design:type", String)
111
+ ], SuiCoinObjectDto.prototype, "version", void 0);
44
112
  class TokenDataDocWithBalance extends TokenDataDocBase {
45
113
  }
46
114
  exports.TokenDataDocWithBalance = TokenDataDocWithBalance;
@@ -76,3 +144,7 @@ __decorate([
76
144
  (0, swagger_1.ApiProperty)({ example: 83.21 }),
77
145
  __metadata("design:type", Number)
78
146
  ], TokenDataDocWithBalance.prototype, "weight", void 0);
147
+ __decorate([
148
+ (0, swagger_1.ApiProperty)(),
149
+ __metadata("design:type", Array)
150
+ ], TokenDataDocWithBalance.prototype, "objects", void 0);
@@ -1,7 +1,7 @@
1
1
  import { CollectionProfileDoc } from '../../cosmos-db/documents/collection/profile';
2
- declare type PinnedCollectionDto_base = Pick<CollectionProfileDoc, "description" | "profile" | "collection" | "name" | "isVerified" | "banner" | "chain" | "creator" | "isMintable">;
2
+ declare type PinnedCollectionDto_base = Pick<CollectionProfileDoc, "description" | "profile" | "chain" | "collection" | "name" | "isVerified" | "banner" | "creator" | "isMintable">;
3
3
  export declare type PinnedCollectionDto = PinnedCollectionDto_base ;
4
- declare const PinnedCollectionDtoNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "collection" | "name" | "isVerified" | "banner" | "chain" | "creator" | "isMintable">>;
4
+ declare const PinnedCollectionDtoNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "profile" | "chain" | "collection" | "name" | "isVerified" | "banner" | "creator" | "isMintable">>;
5
5
  export declare class PinnedCollectionDtoNest extends PinnedCollectionDtoNest_base {
6
6
  }
7
7
  export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.191",
3
+ "version": "1.0.193",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "exports": {
6
6
  ".": {