@xoxno/types 1.0.74 → 1.0.76
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/cosmos-db/documents/collection/globalOffer.d.ts +1 -1
- package/dist/cosmos-db/documents/staking/staking-pool-doc.d.ts +2 -2
- package/dist/cosmos-db/documents/staking/staking-pool-doc.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.d.ts +2 -2
- package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.js +1 -1
- package/dist/cosmos-db/documents/token/nft-details.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/token/nft-details.doc.js +13 -13
- package/dist/cosmos-db/documents/token/nft-offer.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/token/nft-offer.doc.js +2 -2
- package/dist/cosmos-db/paginated-responses.d.ts +2 -2
- package/dist/requests/nft-activity-data/nft-activity-data.d.ts +3 -3
- package/dist/requests/nft-data/nft-doc.filter.d.ts +4 -4
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { NftDocHydrated } from '../token/nft-details.doc';
|
|
2
2
|
import { StakingDataType } from '../../../entities/staking-data/staking-data-type.enum';
|
|
3
3
|
import { StakingIssuingTypeString } from '../../../entities/staking-data/staking-issuing-type-string.enum';
|
|
4
4
|
import { StakingPoolTypeString } from '../../../entities/staking-data/staking-pool-type-string.enum';
|
|
@@ -88,6 +88,6 @@ export declare class StakingSummary {
|
|
|
88
88
|
}
|
|
89
89
|
export declare class StakingUserPoolNfts {
|
|
90
90
|
poolInfo: StakingSummary;
|
|
91
|
-
nftDocs:
|
|
91
|
+
nftDocs: NftDocHydrated[];
|
|
92
92
|
count: number;
|
|
93
93
|
}
|
|
@@ -256,7 +256,7 @@ __decorate([
|
|
|
256
256
|
__metadata("design:type", StakingSummary)
|
|
257
257
|
], StakingUserPoolNfts.prototype, "poolInfo", void 0);
|
|
258
258
|
__decorate([
|
|
259
|
-
(0, swagger_1.ApiProperty)({ type: nft_details_doc_1.
|
|
259
|
+
(0, swagger_1.ApiProperty)({ type: nft_details_doc_1.NftDocHydrated, isArray: true }),
|
|
260
260
|
__metadata("design:type", Array)
|
|
261
261
|
], StakingUserPoolNfts.prototype, "nftDocs", void 0);
|
|
262
262
|
__decorate([
|
|
@@ -2,7 +2,7 @@ import { EventGuestProfile } from './event-guest.doc';
|
|
|
2
2
|
import { EventInvitation } from './event-invitation.doc';
|
|
3
3
|
import { EventScanStatus, EventScanMessage } from './event-scan-status.enum';
|
|
4
4
|
import { TicketProfileSummary } from './event-ticket-profile.doc';
|
|
5
|
-
import {
|
|
5
|
+
import { NftDocHydrated } from '../token/nft-details.doc';
|
|
6
6
|
export declare enum EventTicketQrType {
|
|
7
7
|
BADGE = "badge",
|
|
8
8
|
OFFLINE = "offline",
|
|
@@ -21,7 +21,7 @@ export declare class TicketValidationResult {
|
|
|
21
21
|
message: EventScanMessage;
|
|
22
22
|
guest?: EventGuestProfile;
|
|
23
23
|
invitation?: EventInvitation;
|
|
24
|
-
nfts?:
|
|
24
|
+
nfts?: NftDocHydrated[];
|
|
25
25
|
availableTickets?: TicketSelection[];
|
|
26
26
|
}
|
|
27
27
|
export declare class QRBody {
|
|
@@ -105,7 +105,7 @@ __decorate([
|
|
|
105
105
|
__decorate([
|
|
106
106
|
(0, swagger_1.ApiProperty)({
|
|
107
107
|
description: 'NFTs used for check in, if any',
|
|
108
|
-
type: [nft_details_doc_1.
|
|
108
|
+
type: [nft_details_doc_1.NftDocHydrated],
|
|
109
109
|
required: false,
|
|
110
110
|
}),
|
|
111
111
|
__metadata("design:type", Array)
|
|
@@ -62,7 +62,7 @@ export declare class ExtraProperties {
|
|
|
62
62
|
currentEpoch?: number;
|
|
63
63
|
level?: number;
|
|
64
64
|
}
|
|
65
|
-
export declare class
|
|
65
|
+
export declare class NftDocHydrated extends NftDocBase {
|
|
66
66
|
creator?: OwnerDto;
|
|
67
67
|
currentOwner?: OwnerDto;
|
|
68
68
|
owner?: OwnerDto;
|
|
@@ -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.
|
|
12
|
+
exports.NftDocHydrated = exports.ExtraProperties = exports.NftDoc = exports.NftMedia = exports.NFTEventData = void 0;
|
|
13
13
|
const token_data_enum_1 = require("./token-data.enum");
|
|
14
14
|
const nft_metadata_1 = require("./nft-metadata");
|
|
15
15
|
const nft_sale_info_1 = require("./nft-sale-info");
|
|
@@ -360,9 +360,9 @@ __decorate([
|
|
|
360
360
|
}),
|
|
361
361
|
__metadata("design:type", Number)
|
|
362
362
|
], ExtraProperties.prototype, "level", void 0);
|
|
363
|
-
class
|
|
363
|
+
class NftDocHydrated extends NftDocBase {
|
|
364
364
|
}
|
|
365
|
-
exports.
|
|
365
|
+
exports.NftDocHydrated = NftDocHydrated;
|
|
366
366
|
__decorate([
|
|
367
367
|
(0, swagger_1.ApiProperty)({
|
|
368
368
|
type: owner_dto_1.OwnerDto,
|
|
@@ -370,7 +370,7 @@ __decorate([
|
|
|
370
370
|
description: 'The creator of the NFT',
|
|
371
371
|
}),
|
|
372
372
|
__metadata("design:type", owner_dto_1.OwnerDto)
|
|
373
|
-
],
|
|
373
|
+
], NftDocHydrated.prototype, "creator", void 0);
|
|
374
374
|
__decorate([
|
|
375
375
|
(0, swagger_1.ApiProperty)({
|
|
376
376
|
type: owner_dto_1.OwnerDto,
|
|
@@ -378,7 +378,7 @@ __decorate([
|
|
|
378
378
|
description: 'The current owner of the NFT',
|
|
379
379
|
}),
|
|
380
380
|
__metadata("design:type", owner_dto_1.OwnerDto)
|
|
381
|
-
],
|
|
381
|
+
], NftDocHydrated.prototype, "currentOwner", void 0);
|
|
382
382
|
__decorate([
|
|
383
383
|
(0, swagger_1.ApiProperty)({
|
|
384
384
|
type: owner_dto_1.OwnerDto,
|
|
@@ -386,7 +386,7 @@ __decorate([
|
|
|
386
386
|
description: 'The owner of the NFT',
|
|
387
387
|
}),
|
|
388
388
|
__metadata("design:type", owner_dto_1.OwnerDto)
|
|
389
|
-
],
|
|
389
|
+
], NftDocHydrated.prototype, "owner", void 0);
|
|
390
390
|
__decorate([
|
|
391
391
|
(0, swagger_1.ApiProperty)({
|
|
392
392
|
type: nft_sale_info_1.NftSaleInfoHydrated,
|
|
@@ -394,14 +394,14 @@ __decorate([
|
|
|
394
394
|
description: 'The sale info of the NFT',
|
|
395
395
|
}),
|
|
396
396
|
__metadata("design:type", nft_sale_info_1.NftSaleInfoHydrated)
|
|
397
|
-
],
|
|
397
|
+
], NftDocHydrated.prototype, "saleInfo", void 0);
|
|
398
398
|
__decorate([
|
|
399
399
|
(0, swagger_1.ApiProperty)({
|
|
400
400
|
type: profile_1.CollectionProfileDoc,
|
|
401
401
|
description: 'The extra information about the collection of this specific NFT',
|
|
402
402
|
}),
|
|
403
403
|
__metadata("design:type", profile_1.CollectionProfileDoc)
|
|
404
|
-
],
|
|
404
|
+
], NftDocHydrated.prototype, "collectionInfo", void 0);
|
|
405
405
|
__decorate([
|
|
406
406
|
(0, swagger_1.ApiProperty)({
|
|
407
407
|
type: Number,
|
|
@@ -409,7 +409,7 @@ __decorate([
|
|
|
409
409
|
description: 'Balance owned by the user',
|
|
410
410
|
}),
|
|
411
411
|
__metadata("design:type", Number)
|
|
412
|
-
],
|
|
412
|
+
], NftDocHydrated.prototype, "balance", void 0);
|
|
413
413
|
__decorate([
|
|
414
414
|
(0, swagger_1.ApiProperty)({
|
|
415
415
|
type: String,
|
|
@@ -417,7 +417,7 @@ __decorate([
|
|
|
417
417
|
description: 'Balance owned by the user as long string',
|
|
418
418
|
}),
|
|
419
419
|
__metadata("design:type", String)
|
|
420
|
-
],
|
|
420
|
+
], NftDocHydrated.prototype, "balanceLong", void 0);
|
|
421
421
|
__decorate([
|
|
422
422
|
(0, swagger_1.ApiProperty)({
|
|
423
423
|
type: Number,
|
|
@@ -425,7 +425,7 @@ __decorate([
|
|
|
425
425
|
description: 'Left days until the staked NFT can be claimed back',
|
|
426
426
|
}),
|
|
427
427
|
__metadata("design:type", Number)
|
|
428
|
-
],
|
|
428
|
+
], NftDocHydrated.prototype, "unboundDaysLeft", void 0);
|
|
429
429
|
__decorate([
|
|
430
430
|
(0, swagger_1.ApiProperty)({
|
|
431
431
|
type: Number,
|
|
@@ -433,7 +433,7 @@ __decorate([
|
|
|
433
433
|
description: 'The epoch day when the NFT will be available for claiming',
|
|
434
434
|
}),
|
|
435
435
|
__metadata("design:type", Number)
|
|
436
|
-
],
|
|
436
|
+
], NftDocHydrated.prototype, "unboundEpoch", void 0);
|
|
437
437
|
__decorate([
|
|
438
438
|
(0, swagger_1.ApiProperty)({
|
|
439
439
|
type: ExtraProperties,
|
|
@@ -441,4 +441,4 @@ __decorate([
|
|
|
441
441
|
description: 'Extra props for the specific NFT',
|
|
442
442
|
}),
|
|
443
443
|
__metadata("design:type", ExtraProperties)
|
|
444
|
-
],
|
|
444
|
+
], NftDocHydrated.prototype, "extraProperties", void 0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ActivityChain } from '../../../common/enums';
|
|
2
|
-
import {
|
|
2
|
+
import { NftDocHydrated } from './nft-details.doc';
|
|
3
3
|
import { TokenDataType } from './token-data.enum';
|
|
4
4
|
import { OwnerDto } from '../../../common/owner.dto';
|
|
5
5
|
declare class NftOfferDocBase {
|
|
@@ -33,6 +33,6 @@ export declare class NftOfferDocHydrated extends NftOfferDocBase {
|
|
|
33
33
|
usdValue: number;
|
|
34
34
|
floorPriceMargin: number;
|
|
35
35
|
floorPrice: number;
|
|
36
|
-
nftInfo:
|
|
36
|
+
nftInfo: NftDocHydrated;
|
|
37
37
|
}
|
|
38
38
|
export {};
|
|
@@ -216,8 +216,8 @@ __decorate([
|
|
|
216
216
|
], NftOfferDocHydrated.prototype, "floorPrice", void 0);
|
|
217
217
|
__decorate([
|
|
218
218
|
(0, swagger_1.ApiProperty)({
|
|
219
|
-
type: () => nft_details_doc_1.
|
|
219
|
+
type: () => nft_details_doc_1.NftDocHydrated,
|
|
220
220
|
description: 'NFT information related to the offer',
|
|
221
221
|
}),
|
|
222
|
-
__metadata("design:type",
|
|
222
|
+
__metadata("design:type", nft_details_doc_1.NftDocHydrated)
|
|
223
223
|
], NftOfferDocHydrated.prototype, "nftInfo", void 0);
|
|
@@ -12,7 +12,7 @@ import { CollectionStatsDocHydrated } from './documents/collection/stats';
|
|
|
12
12
|
import { NotificationDoc } from './documents/notification/notification.doc';
|
|
13
13
|
import { EventReferralConfigDoc } from './documents/ticketing/event-referral-config.doc';
|
|
14
14
|
import { EventReferralDoc } from './documents/ticketing/event-referral.doc';
|
|
15
|
-
import {
|
|
15
|
+
import { NftDocHydrated } from './documents/token/nft-details.doc';
|
|
16
16
|
import { NftOfferDocHydrated } from './documents/token/nft-offer.doc';
|
|
17
17
|
export declare class EventReferralConfigPaginated extends CosmosPaginatedResponse<EventReferralConfigDoc> {
|
|
18
18
|
}
|
|
@@ -31,7 +31,7 @@ export declare class ChatMessagePaginated extends CosmosPaginatedResponse<ChatMe
|
|
|
31
31
|
}
|
|
32
32
|
export declare class NftActivityPaginated extends CosmosPaginatedResponse<NftActivityDocHydrated> {
|
|
33
33
|
}
|
|
34
|
-
export declare class NftPaginated extends CosmosPaginatedResponse<
|
|
34
|
+
export declare class NftPaginated extends CosmosPaginatedResponse<NftDocHydrated> {
|
|
35
35
|
}
|
|
36
36
|
export declare class CollectionProfilePaginated extends CosmosPaginatedResponse<CollectionProfileDoc> {
|
|
37
37
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CollectionProfileDoc } from '../../cosmos-db/documents/collection/profile';
|
|
2
|
-
import {
|
|
2
|
+
import { NftDocHydrated } from '../../cosmos-db/documents/token/nft-details.doc';
|
|
3
3
|
import { XoxnoAuctionTypeString } from '../../entities/xoxno-marketplace-sc/xoxno-auction-type.enum';
|
|
4
4
|
export declare class NftActivityData {
|
|
5
5
|
collection: string;
|
|
@@ -24,8 +24,8 @@ export declare class NftActivityData {
|
|
|
24
24
|
constructor(props: Partial<NftActivityData>);
|
|
25
25
|
}
|
|
26
26
|
export declare class NftActivityDataHydrated extends NftActivityData {
|
|
27
|
-
nftInfo:
|
|
28
|
-
collectionInfo: CollectionProfileDoc
|
|
27
|
+
nftInfo: Partial<NftDocHydrated>;
|
|
28
|
+
collectionInfo: Partial<CollectionProfileDoc>;
|
|
29
29
|
}
|
|
30
30
|
export interface NftMvxBuiltIn {
|
|
31
31
|
collection: string;
|
|
@@ -2,7 +2,7 @@ import { ActivityChain } from '../../common/enums';
|
|
|
2
2
|
import { NftMetadataAttributes } from '../../cosmos-db/documents/token/nft-metadata-attributes';
|
|
3
3
|
import { CosmosDbGenericFilter, RangeFilter } from '../../cosmos-db/cosmos-db-generic-filter';
|
|
4
4
|
import { XoxnoAuctionTypeString } from '../../entities/xoxno-marketplace-sc/xoxno-auction-type.enum';
|
|
5
|
-
import {
|
|
5
|
+
import { NftDocHydrated } from '../../cosmos-db/documents/token/nft-details.doc';
|
|
6
6
|
export declare class SaleInfoFilterDto {
|
|
7
7
|
seller?: string[];
|
|
8
8
|
paymentToken?: string[];
|
|
@@ -22,7 +22,7 @@ export declare class NftDocFilterCriteriaDto {
|
|
|
22
22
|
owner?: string[];
|
|
23
23
|
currentOwner?: string[];
|
|
24
24
|
saleInfo?: SaleInfoFilterDto;
|
|
25
|
-
range?: RangeFilter<
|
|
25
|
+
range?: RangeFilter<NftDocHydrated>[];
|
|
26
26
|
metadata?: MetadataAttributesDto;
|
|
27
27
|
wasProcessed?: boolean;
|
|
28
28
|
cp_staked?: boolean;
|
|
@@ -30,7 +30,7 @@ export declare class NftDocFilterCriteriaDto {
|
|
|
30
30
|
verifiedOnly?: boolean;
|
|
31
31
|
sftOriginalDoc?: boolean;
|
|
32
32
|
}
|
|
33
|
-
export declare class NftDocFilter extends CosmosDbGenericFilter<
|
|
33
|
+
export declare class NftDocFilter extends CosmosDbGenericFilter<NftDocHydrated> {
|
|
34
34
|
filters: {
|
|
35
35
|
dataType?: string[];
|
|
36
36
|
identifier?: string[];
|
|
@@ -47,7 +47,7 @@ export declare class NftDocFilter extends CosmosDbGenericFilter<NftHydrated> {
|
|
|
47
47
|
marketplace?: string[];
|
|
48
48
|
auctionType?: XoxnoAuctionTypeString[];
|
|
49
49
|
};
|
|
50
|
-
range?: RangeFilter<
|
|
50
|
+
range?: RangeFilter<NftDocHydrated>[];
|
|
51
51
|
metadata?: {
|
|
52
52
|
attributes?: NftMetadataAttributes[];
|
|
53
53
|
};
|