@xoxno/types 1.0.36 → 1.0.38

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.
@@ -14,6 +14,7 @@ exports.createCosmosPaginatedResponse = createCosmosPaginatedResponse;
14
14
  const swagger_1 = require("@nestjs/swagger");
15
15
  class CosmosPaginatedResponse {
16
16
  constructor(resources, count, hasMoreResults) {
17
+ this.hasMoreResults = false;
17
18
  this.resources = [];
18
19
  this.resources = resources;
19
20
  this.count = count;
@@ -2,7 +2,8 @@ import { ActivityChain } from '../../../common/enums';
2
2
  import { NftActivityEventSource } from '../../../requests/nft-activity-data/event-source.enum';
3
3
  import { NftActivityData } from '../../../requests/nft-activity-data/nft-activity-data';
4
4
  import { NftActivityType } from '../../../requests/nft-activity-data/nft-activity-type.enum';
5
- export declare class NftActivityDoc {
5
+ import { OwnerDto } from '../../../common/owner.dto';
6
+ declare class NftActivityDocBase {
6
7
  timestamp: number;
7
8
  txHash: string;
8
9
  eventIdentifier: string;
@@ -10,11 +11,18 @@ export declare class NftActivityDoc {
10
11
  chain: ActivityChain;
11
12
  source: NftActivityEventSource;
12
13
  activityType: NftActivityType;
13
- from: string;
14
- to: string;
15
14
  activityData: NftActivityData;
16
15
  id: string;
17
16
  pk: string;
18
17
  _ts: number;
19
18
  constructor(data: Partial<NftActivityDoc>);
20
19
  }
20
+ export declare class NftActivityDoc extends NftActivityDocBase {
21
+ from: string;
22
+ to: string;
23
+ }
24
+ export declare class NftActivityDocHydrated extends NftActivityDocBase {
25
+ from: OwnerDto;
26
+ to: OwnerDto;
27
+ }
28
+ export {};
@@ -9,13 +9,14 @@ 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.NftActivityDoc = void 0;
12
+ exports.NftActivityDocHydrated = exports.NftActivityDoc = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const enums_1 = require("../../../common/enums");
15
15
  const uuid_1 = require("uuid");
16
16
  const event_source_enum_1 = require("../../../requests/nft-activity-data/event-source.enum");
17
+ const nft_activity_data_1 = require("../../../requests/nft-activity-data/nft-activity-data");
17
18
  const nft_activity_type_enum_1 = require("../../../requests/nft-activity-data/nft-activity-type.enum");
18
- class NftActivityDoc {
19
+ class NftActivityDocBase {
19
20
  constructor(data) {
20
21
  this.chain = enums_1.ActivityChain.MVX;
21
22
  Object.assign(this, data);
@@ -24,28 +25,27 @@ class NftActivityDoc {
24
25
  this.chain = this.chain || enums_1.ActivityChain.MVX;
25
26
  }
26
27
  }
27
- exports.NftActivityDoc = NftActivityDoc;
28
28
  __decorate([
29
29
  (0, swagger_1.ApiProperty)({
30
30
  example: 1640995200,
31
31
  description: 'Unix timestamp when the activity occurred',
32
32
  }),
33
33
  __metadata("design:type", Number)
34
- ], NftActivityDoc.prototype, "timestamp", void 0);
34
+ ], NftActivityDocBase.prototype, "timestamp", void 0);
35
35
  __decorate([
36
36
  (0, swagger_1.ApiProperty)({
37
37
  example: '0x1234567890abcdef1234567890abcdef1234567890abcdef1234567890abcdef',
38
38
  description: 'Transaction hash on the blockchain',
39
39
  }),
40
40
  __metadata("design:type", String)
41
- ], NftActivityDoc.prototype, "txHash", void 0);
41
+ ], NftActivityDocBase.prototype, "txHash", void 0);
42
42
  __decorate([
43
43
  (0, swagger_1.ApiProperty)({
44
44
  example: 'trade',
45
45
  description: 'Event identifier from the blockchain',
46
46
  }),
47
47
  __metadata("design:type", String)
48
- ], NftActivityDoc.prototype, "eventIdentifier", void 0);
48
+ ], NftActivityDocBase.prototype, "eventIdentifier", void 0);
49
49
  __decorate([
50
50
  (0, swagger_1.ApiProperty)({
51
51
  example: 1,
@@ -53,7 +53,7 @@ __decorate([
53
53
  required: false,
54
54
  }),
55
55
  __metadata("design:type", Number)
56
- ], NftActivityDoc.prototype, "eventOrder", void 0);
56
+ ], NftActivityDocBase.prototype, "eventOrder", void 0);
57
57
  __decorate([
58
58
  (0, swagger_1.ApiProperty)({
59
59
  example: enums_1.ActivityChain.MVX,
@@ -61,7 +61,7 @@ __decorate([
61
61
  description: 'Blockchain network where the activity occurred',
62
62
  }),
63
63
  __metadata("design:type", String)
64
- ], NftActivityDoc.prototype, "chain", void 0);
64
+ ], NftActivityDocBase.prototype, "chain", void 0);
65
65
  __decorate([
66
66
  (0, swagger_1.ApiProperty)({
67
67
  example: event_source_enum_1.NftActivityEventSource.XOXNO_MARKETPLACE,
@@ -69,7 +69,7 @@ __decorate([
69
69
  description: 'Source platform or marketplace of the activity',
70
70
  }),
71
71
  __metadata("design:type", String)
72
- ], NftActivityDoc.prototype, "source", void 0);
72
+ ], NftActivityDocBase.prototype, "source", void 0);
73
73
  __decorate([
74
74
  (0, swagger_1.ApiProperty)({
75
75
  example: nft_activity_type_enum_1.NftActivityType.TRADE,
@@ -77,45 +77,51 @@ __decorate([
77
77
  description: 'Type of NFT activity performed',
78
78
  }),
79
79
  __metadata("design:type", String)
80
- ], NftActivityDoc.prototype, "activityType", void 0);
81
- __decorate([
82
- (0, swagger_1.ApiProperty)({
83
- example: 'erd1qqqqqqqqqqqqqpgqw0t0ef0jdpeva2v7qy7q7qjjfq6yq0wq0w0qjjfq6yq',
84
- description: 'Address of the user who initiated the activity or seller in case of trades',
85
- }),
86
- __metadata("design:type", String)
87
- ], NftActivityDoc.prototype, "from", void 0);
88
- __decorate([
89
- (0, swagger_1.ApiProperty)({
90
- example: 'erd1qqqqqqqqqqqqqpgqw0t0ef0jdpeva2v7qy7q7qjjfq6yq0wq0w0qjjfq6yq',
91
- description: 'Address used in case of trades; buyer or receiver',
92
- }),
93
- __metadata("design:type", String)
94
- ], NftActivityDoc.prototype, "to", void 0);
80
+ ], NftActivityDocBase.prototype, "activityType", void 0);
95
81
  __decorate([
96
82
  (0, swagger_1.ApiProperty)({
97
83
  description: 'Activity data containing details about the NFT transaction or built-in operation',
98
84
  }),
99
- __metadata("design:type", Object)
100
- ], NftActivityDoc.prototype, "activityData", void 0);
85
+ __metadata("design:type", nft_activity_data_1.NftActivityData)
86
+ ], NftActivityDocBase.prototype, "activityData", void 0);
101
87
  __decorate([
102
88
  (0, swagger_1.ApiProperty)({
103
89
  example: 'abc123-def456-ghi789',
104
90
  description: 'Unique identifier for the activity document',
105
91
  }),
106
92
  __metadata("design:type", String)
107
- ], NftActivityDoc.prototype, "id", void 0);
93
+ ], NftActivityDocBase.prototype, "id", void 0);
108
94
  __decorate([
109
95
  (0, swagger_1.ApiProperty)({
110
96
  example: 'COLLECTION-1234',
111
97
  description: 'Partition key for the document (collection identifier)',
112
98
  }),
113
99
  __metadata("design:type", String)
114
- ], NftActivityDoc.prototype, "pk", void 0);
100
+ ], NftActivityDocBase.prototype, "pk", void 0);
115
101
  __decorate([
116
102
  (0, swagger_1.ApiProperty)({
117
103
  example: 1640995200,
118
104
  description: 'Cosmos DB timestamp for document versioning',
119
105
  }),
120
106
  __metadata("design:type", Number)
121
- ], NftActivityDoc.prototype, "_ts", void 0);
107
+ ], NftActivityDocBase.prototype, "_ts", void 0);
108
+ class NftActivityDoc extends NftActivityDocBase {
109
+ }
110
+ exports.NftActivityDoc = NftActivityDoc;
111
+ __decorate([
112
+ (0, swagger_1.ApiProperty)({
113
+ example: 'erd1qqqqqqqqqqqqqpgqw0t0ef0jdpeva2v7qy7q7qjjfq6yq0wq0w0qjjfq6yq',
114
+ description: 'Address of the user who initiated the activity or seller in case of trades',
115
+ }),
116
+ __metadata("design:type", String)
117
+ ], NftActivityDoc.prototype, "from", void 0);
118
+ __decorate([
119
+ (0, swagger_1.ApiProperty)({
120
+ example: 'erd1qqqqqqqqqqqqqpgqw0t0ef0jdpeva2v7qy7q7qjjfq6yq0wq0w0qjjfq6yq',
121
+ description: 'Address used in case of trades; buyer or receiver',
122
+ }),
123
+ __metadata("design:type", String)
124
+ ], NftActivityDoc.prototype, "to", void 0);
125
+ class NftActivityDocHydrated extends NftActivityDocBase {
126
+ }
127
+ exports.NftActivityDocHydrated = NftActivityDocHydrated;
@@ -97,6 +97,9 @@ __decorate([
97
97
  __metadata("design:type", Number)
98
98
  ], ChatConversationDto.prototype, "unreadCount", void 0);
99
99
  class FetchChatConversationsSummaryDto {
100
+ constructor() {
101
+ this.hasMoreResults = false;
102
+ }
100
103
  }
101
104
  exports.FetchChatConversationsSummaryDto = FetchChatConversationsSummaryDto;
102
105
  __decorate([
@@ -144,6 +144,9 @@ __decorate([
144
144
  __metadata("design:type", String)
145
145
  ], ChatMessageDto.prototype, "chatName", void 0);
146
146
  class FetchChatMessagesDto {
147
+ constructor() {
148
+ this.hasMoreResults = false;
149
+ }
147
150
  }
148
151
  exports.FetchChatMessagesDto = FetchChatMessagesDto;
149
152
  __decorate([
@@ -25,10 +25,9 @@ export declare class NftOfferDoc {
25
25
  _ts: number;
26
26
  constructor(props?: Partial<NftOfferDoc>);
27
27
  }
28
- export declare class NftOfferProps extends NftOfferDoc {
29
- constructor(props?: Partial<NftOfferDoc>);
30
- usdValue?: number;
31
- floorPriceMargin?: number;
32
- floorPrice?: number;
33
- nftInfo?: Partial<NftProps>;
28
+ export declare class NftOfferDocHydrated extends NftOfferDoc {
29
+ usdValue: number;
30
+ floorPriceMargin: number;
31
+ floorPrice: number;
32
+ nftInfo: Partial<NftProps>;
34
33
  }
@@ -9,7 +9,7 @@ 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.NftOfferProps = exports.NftOfferDoc = void 0;
12
+ exports.NftOfferDocHydrated = exports.NftOfferDoc = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const enums_1 = require("../../../common/enums");
15
15
  const nft_details_doc_1 = require("./nft-details.doc");
@@ -180,41 +180,34 @@ __decorate([
180
180
  }),
181
181
  __metadata("design:type", Number)
182
182
  ], NftOfferDoc.prototype, "_ts", void 0);
183
- class NftOfferProps extends NftOfferDoc {
184
- constructor(props) {
185
- super(props);
186
- }
183
+ class NftOfferDocHydrated extends NftOfferDoc {
187
184
  }
188
- exports.NftOfferProps = NftOfferProps;
185
+ exports.NftOfferDocHydrated = NftOfferDocHydrated;
189
186
  __decorate([
190
187
  (0, swagger_1.ApiProperty)({
191
188
  example: 150.75,
192
189
  description: 'USD value of the offer',
193
- required: false,
194
190
  }),
195
191
  __metadata("design:type", Number)
196
- ], NftOfferProps.prototype, "usdValue", void 0);
192
+ ], NftOfferDocHydrated.prototype, "usdValue", void 0);
197
193
  __decorate([
198
194
  (0, swagger_1.ApiProperty)({
199
195
  example: 0.15,
200
196
  description: 'Margin compared to floor price as percentage',
201
- required: false,
202
197
  }),
203
198
  __metadata("design:type", Number)
204
- ], NftOfferProps.prototype, "floorPriceMargin", void 0);
199
+ ], NftOfferDocHydrated.prototype, "floorPriceMargin", void 0);
205
200
  __decorate([
206
201
  (0, swagger_1.ApiProperty)({
207
202
  example: 1.25,
208
203
  description: 'Current floor price of the collection',
209
- required: false,
210
204
  }),
211
205
  __metadata("design:type", Number)
212
- ], NftOfferProps.prototype, "floorPrice", void 0);
206
+ ], NftOfferDocHydrated.prototype, "floorPrice", void 0);
213
207
  __decorate([
214
208
  (0, swagger_1.ApiProperty)({
215
209
  type: () => nft_details_doc_1.NftProps,
216
210
  description: 'NFT information related to the offer',
217
- required: false,
218
211
  }),
219
212
  __metadata("design:type", Object)
220
- ], NftOfferProps.prototype, "nftInfo", void 0);
213
+ ], NftOfferDocHydrated.prototype, "nftInfo", void 0);
@@ -199,6 +199,9 @@ __decorate([
199
199
  __metadata("design:type", Array)
200
200
  ], GlobalSearchResourcesDto.prototype, "nft", void 0);
201
201
  class GlobalSearchResponseDto {
202
+ constructor() {
203
+ this.hasMoreResults = false;
204
+ }
202
205
  }
203
206
  exports.GlobalSearchResponseDto = GlobalSearchResponseDto;
204
207
  __decorate([
@@ -83,6 +83,9 @@ __decorate([
83
83
  __metadata("design:type", CreatorInfoDto)
84
84
  ], DropResourceDto.prototype, "creatorInfo", void 0);
85
85
  class DropsQueryDto {
86
+ constructor() {
87
+ this.hasMoreResults = false;
88
+ }
86
89
  }
87
90
  exports.DropsQueryDto = DropsQueryDto;
88
91
  __decorate([
@@ -1,6 +1,3 @@
1
- import { CollectionInfoDto } from './collection-info.dto';
2
- import { NftDoc } from '../../cosmos-db/documents/token/nft-details.doc';
3
- import { XoxnoAuctionTypeString } from '../../entities/xoxno-marketplace-sc/xoxno-auction-type.enum';
4
1
  import { NftActivityData } from '../nft-activity-data/nft-activity-data';
5
2
  import { ActivityChain } from '../../common/enums';
6
3
  declare class FromToDto {
@@ -8,29 +5,6 @@ declare class FromToDto {
8
5
  profile: string;
9
6
  username: string;
10
7
  }
11
- declare class ActivityDataDto implements NftActivityData {
12
- collection: string;
13
- identifier?: string;
14
- price: number;
15
- paymentToken: string;
16
- quantity: number;
17
- scId: number;
18
- usdValue: number;
19
- egldValue: number;
20
- auctionType?: XoxnoAuctionTypeString;
21
- deadline?: number;
22
- originalPayment?: {
23
- paymentToken: string;
24
- price: number;
25
- };
26
- nftInfo?: Partial<NftDoc>;
27
- collectionInfo: CollectionInfoDto;
28
- originalTokenAmount?: string;
29
- originalTokenAmountShort?: number;
30
- originalTokenEgldValue?: number;
31
- originalTokenUsdValue?: number;
32
- originalTokenIdentifier?: string;
33
- }
34
8
  export declare class ActivityBodyDto {
35
9
  txHash: string;
36
10
  eventIdentifier: string;
@@ -39,7 +13,7 @@ export declare class ActivityBodyDto {
39
13
  source: string;
40
14
  from: FromToDto;
41
15
  to: FromToDto;
42
- activityData: ActivityDataDto;
16
+ activityData: NftActivityData;
43
17
  chain: ActivityChain;
44
18
  }
45
19
  export declare class ActivityHistoryDto {
@@ -12,9 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.ActivityHistoryDto = exports.ActivityBodyDto = void 0;
13
13
  // DTO Type
14
14
  const swagger_1 = require("@nestjs/swagger");
15
- const collection_info_dto_1 = require("./collection-info.dto");
16
15
  const nft_details_doc_1 = require("../../cosmos-db/documents/token/nft-details.doc");
17
- const xoxno_auction_type_enum_1 = require("../../entities/xoxno-marketplace-sc/xoxno-auction-type.enum");
16
+ const nft_activity_data_1 = require("../nft-activity-data/nft-activity-data");
18
17
  const enums_1 = require("../../common/enums");
19
18
  class FromToDto {
20
19
  }
@@ -47,52 +46,6 @@ __decorate([
47
46
  (0, swagger_1.ApiProperty)({ example: { rarity: { rank: 2606 } } }),
48
47
  __metadata("design:type", Object)
49
48
  ], NftInfoDto.prototype, "metadata", void 0);
50
- class ActivityDataDto {
51
- }
52
- __decorate([
53
- (0, swagger_1.ApiProperty)({ example: 'EBMC-8a2d40' }),
54
- __metadata("design:type", String)
55
- ], ActivityDataDto.prototype, "collection", void 0);
56
- __decorate([
57
- (0, swagger_1.ApiProperty)({ example: 'EBMC-8a2d40-0ad0', required: false }),
58
- __metadata("design:type", String)
59
- ], ActivityDataDto.prototype, "identifier", void 0);
60
- __decorate([
61
- (0, swagger_1.ApiProperty)({ example: 0.05 }),
62
- __metadata("design:type", Number)
63
- ], ActivityDataDto.prototype, "price", void 0);
64
- __decorate([
65
- (0, swagger_1.ApiProperty)({ example: 'EGLD' }),
66
- __metadata("design:type", String)
67
- ], ActivityDataDto.prototype, "paymentToken", void 0);
68
- __decorate([
69
- (0, swagger_1.ApiProperty)({ example: 1 }),
70
- __metadata("design:type", Number)
71
- ], ActivityDataDto.prototype, "quantity", void 0);
72
- __decorate([
73
- (0, swagger_1.ApiProperty)({ example: 489392 }),
74
- __metadata("design:type", Number)
75
- ], ActivityDataDto.prototype, "scId", void 0);
76
- __decorate([
77
- (0, swagger_1.ApiProperty)({ example: 1.6446 }),
78
- __metadata("design:type", Number)
79
- ], ActivityDataDto.prototype, "usdValue", void 0);
80
- __decorate([
81
- (0, swagger_1.ApiProperty)({ example: 0.05 }),
82
- __metadata("design:type", Number)
83
- ], ActivityDataDto.prototype, "egldValue", void 0);
84
- __decorate([
85
- (0, swagger_1.ApiProperty)({ example: 'Nft', required: false }),
86
- __metadata("design:type", String)
87
- ], ActivityDataDto.prototype, "auctionType", void 0);
88
- __decorate([
89
- (0, swagger_1.ApiProperty)({ type: NftInfoDto, required: false }),
90
- __metadata("design:type", Object)
91
- ], ActivityDataDto.prototype, "nftInfo", void 0);
92
- __decorate([
93
- (0, swagger_1.ApiProperty)({ type: collection_info_dto_1.CollectionInfoDto }),
94
- __metadata("design:type", collection_info_dto_1.CollectionInfoDto)
95
- ], ActivityDataDto.prototype, "collectionInfo", void 0);
96
49
  class ActivityBodyDto {
97
50
  constructor() {
98
51
  this.chain = enums_1.ActivityChain.MVX;
@@ -130,8 +83,8 @@ __decorate([
130
83
  __metadata("design:type", FromToDto)
131
84
  ], ActivityBodyDto.prototype, "to", void 0);
132
85
  __decorate([
133
- (0, swagger_1.ApiProperty)({ type: ActivityDataDto }),
134
- __metadata("design:type", ActivityDataDto)
86
+ (0, swagger_1.ApiProperty)({ type: nft_activity_data_1.NftActivityData }),
87
+ __metadata("design:type", nft_activity_data_1.NftActivityData)
135
88
  ], ActivityBodyDto.prototype, "activityData", void 0);
136
89
  __decorate([
137
90
  (0, swagger_1.ApiProperty)({
@@ -142,6 +95,9 @@ __decorate([
142
95
  __metadata("design:type", String)
143
96
  ], ActivityBodyDto.prototype, "chain", void 0);
144
97
  class ActivityHistoryDto {
98
+ constructor() {
99
+ this.hasMoreResults = false;
100
+ }
145
101
  }
146
102
  exports.ActivityHistoryDto = ActivityHistoryDto;
147
103
  __decorate([
@@ -1,7 +1,7 @@
1
1
  import { OwnerDto } from '../../common/owner.dto';
2
2
  import { NftOfferDoc } from '../../cosmos-db/documents/token/nft-offer.doc';
3
3
  import { NftMetadataAttributes } from '../../cosmos-db/documents/token/nft-metadata-attributes';
4
- declare const GlobalOfferDto_base: import("@nestjs/common").Type<Pick<NftOfferDoc, "timestamp" | "paymentToken" | "paymentTokenNonce" | "quantity" | "marketplace" | "collection" | "offerId" | "price" | "priceShort" | "isActive">>;
4
+ declare const GlobalOfferDto_base: import("@nestjs/common").Type<Pick<NftOfferDoc, "timestamp" | "collection" | "paymentToken" | "paymentTokenNonce" | "quantity" | "marketplace" | "price" | "offerId" | "priceShort" | "isActive">>;
5
5
  export declare class GlobalOfferDto extends GlobalOfferDto_base {
6
6
  attributes: NftMetadataAttributes[];
7
7
  owner: OwnerDto;
@@ -46,6 +46,9 @@ __decorate([
46
46
  __metadata("design:type", Number)
47
47
  ], GlobalOfferDto.prototype, "usdValue", void 0);
48
48
  class GlobalOffersDto {
49
+ constructor() {
50
+ this.hasMoreResults = false;
51
+ }
49
52
  }
50
53
  exports.GlobalOffersDto = GlobalOffersDto;
51
54
  __decorate([
@@ -14,6 +14,9 @@ exports.ExploreCollectionsStatisticsDto = void 0;
14
14
  const swagger_1 = require("@nestjs/swagger");
15
15
  const collection_stats_1 = require("./collection-stats");
16
16
  class ExploreCollectionsStatisticsDto {
17
+ constructor() {
18
+ this.hasMoreResults = false;
19
+ }
17
20
  }
18
21
  exports.ExploreCollectionsStatisticsDto = ExploreCollectionsStatisticsDto;
19
22
  __decorate([
@@ -1,6 +1,7 @@
1
+ import { CollectionProfileDoc } from '../../cosmos-db/documents/collection/profile';
1
2
  import { NftDoc } from '../../cosmos-db/documents/token/nft-details.doc';
2
3
  import { XoxnoAuctionTypeString } from '../../entities/xoxno-marketplace-sc/xoxno-auction-type.enum';
3
- export interface NftActivityData {
4
+ export declare class NftActivityData {
4
5
  collection: string;
5
6
  identifier?: string;
6
7
  price: number;
@@ -16,11 +17,13 @@ export interface NftActivityData {
16
17
  price: number;
17
18
  };
18
19
  nftInfo?: Partial<NftDoc>;
20
+ collectionInfo?: Partial<CollectionProfileDoc>;
19
21
  originalTokenAmount?: string;
20
22
  originalTokenAmountShort?: number;
21
23
  originalTokenEgldValue?: number;
22
24
  originalTokenUsdValue?: number;
23
25
  originalTokenIdentifier?: string;
26
+ constructor(props: Partial<NftActivityData>);
24
27
  }
25
28
  export interface NftMvxBuiltIn {
26
29
  collection: string;
@@ -1,2 +1,9 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.NftActivityData = void 0;
4
+ class NftActivityData {
5
+ constructor(props) {
6
+ Object.assign(this, props);
7
+ }
8
+ }
9
+ exports.NftActivityData = NftActivityData;
@@ -3,7 +3,7 @@ import { CosmosDbGenericFilter, RangeFilter } from '../../cosmos-db/cosmos-db-ge
3
3
  import { ActivityBodyDto } from '../collection/query-activity';
4
4
  import { NftActivityEventSource } from './event-source.enum';
5
5
  import { NftActivityType } from './nft-activity-type.enum';
6
- export declare class ActivityDataDto {
6
+ declare class ActivityDataDto {
7
7
  collection?: string[];
8
8
  identifier?: string[];
9
9
  }
@@ -38,3 +38,4 @@ export declare class NftActivityFilter extends CosmosDbGenericFilter<ActivityBod
38
38
  constructor(props?: Partial<NftActivityFilter>);
39
39
  private setPk;
40
40
  }
41
+ export {};
@@ -9,7 +9,7 @@ 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.NftActivityFilter = exports.NftActivityFilterCriteriaDto = exports.ActivityDataDto = void 0;
12
+ exports.NftActivityFilter = exports.NftActivityFilterCriteriaDto = void 0;
13
13
  const swagger_1 = require("@nestjs/swagger");
14
14
  const enums_1 = require("../../common/enums");
15
15
  const cosmos_db_generic_filter_1 = require("../../cosmos-db/cosmos-db-generic-filter");
@@ -17,7 +17,6 @@ const event_source_enum_1 = require("./event-source.enum");
17
17
  const nft_activity_type_enum_1 = require("./nft-activity-type.enum");
18
18
  class ActivityDataDto {
19
19
  }
20
- exports.ActivityDataDto = ActivityDataDto;
21
20
  __decorate([
22
21
  (0, swagger_1.ApiProperty)({
23
22
  required: false,
@@ -84,6 +84,9 @@ __decorate([
84
84
  __metadata("design:type", nft_details_doc_1.NftProps)
85
85
  ], OfferDto.prototype, "nftInfo", void 0);
86
86
  class GetSingleNftOfferResponseDto {
87
+ constructor() {
88
+ this.hasMoreResults = false;
89
+ }
87
90
  }
88
91
  exports.GetSingleNftOfferResponseDto = GetSingleNftOfferResponseDto;
89
92
  __decorate([
@@ -88,6 +88,9 @@ __decorate([
88
88
  __metadata("design:type", Object)
89
89
  ], OfferDto.prototype, "nftInfo", void 0);
90
90
  class GetUserOffersResponseDto {
91
+ constructor() {
92
+ this.hasMoreResults = false;
93
+ }
91
94
  }
92
95
  exports.GetUserOffersResponseDto = GetUserOffersResponseDto;
93
96
  __decorate([
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/types",
3
- "version": "1.0.36",
3
+ "version": "1.0.38",
4
4
  "description": "Shared types and utilities for XOXNO API.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",