@xoxno/types 1.0.89 → 1.0.91
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-overall-stats.d.ts +1 -1
- package/dist/common/kusto/lending-overall-stats.js +2 -2
- package/dist/common/tokenPayent.d.ts +1 -1
- package/dist/common/tokenPayent.js +2 -2
- package/dist/cosmos-db/documents/activity/nft-activity.doc.d.ts +3 -3
- package/dist/cosmos-db/documents/activity/nft-activity.doc.js +6 -6
- package/dist/cosmos-db/documents/chat/chat-message.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/chat/user-block.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/chat/user-conversation.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/collection/collectionConfig.d.ts +1 -1
- package/dist/cosmos-db/documents/collection/collectionConfig.js +2 -2
- package/dist/cosmos-db/documents/collection/globalOffer.d.ts +4 -4
- package/dist/cosmos-db/documents/collection/globalOffer.js +1 -1
- package/dist/cosmos-db/documents/collection/mintProfile.d.ts +4 -4
- package/dist/cosmos-db/documents/collection/stats.d.ts +3 -3
- package/dist/cosmos-db/documents/collection/stats.js +4 -4
- package/dist/cosmos-db/documents/external-payment/external-payment.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/external-payment/external-payment.doc.js +2 -2
- package/dist/cosmos-db/documents/lending/lending-account-profile.d.ts +1 -1
- package/dist/cosmos-db/documents/lending/lending-account-profile.js +2 -2
- package/dist/cosmos-db/documents/lending/lending-emode-category-profile.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/lending/lending-emode-category-profile.doc.js +2 -2
- package/dist/cosmos-db/documents/lending/lending-market-profile.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/lending/lending-market-profile.doc.js +2 -2
- package/dist/cosmos-db/documents/lending/lending-nft-attributes.d.ts +1 -1
- package/dist/cosmos-db/documents/lending/lending-nft-attributes.js +2 -2
- package/dist/cosmos-db/documents/lending/lending-token-emode-profile.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/lending/lending-token-emode-profile.doc.js +2 -2
- package/dist/cosmos-db/documents/notification/notification.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/notification/notification.doc.js +2 -2
- package/dist/cosmos-db/documents/short/short-collection.doc.d.ts +7 -0
- package/dist/cosmos-db/documents/short/short-collection.doc.js +22 -0
- package/dist/cosmos-db/documents/short/short-creator.doc.d.ts +7 -0
- package/dist/cosmos-db/documents/short/short-creator.doc.js +14 -0
- package/dist/cosmos-db/documents/short/short-nft.doc.d.ts +7 -0
- package/dist/cosmos-db/documents/short/short-nft.doc.js +18 -0
- package/dist/cosmos-db/documents/short/short-voucher.doc.d.ts +7 -0
- package/dist/cosmos-db/documents/short/short-voucher.doc.js +14 -0
- package/dist/cosmos-db/documents/staking/staking-pool-doc.d.ts +4 -4
- package/dist/cosmos-db/documents/staking/staking-pool-doc.js +8 -8
- package/dist/cosmos-db/documents/ticketing/event-guest-doc.filter.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-invitation-doc.filter.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-profile-doc.filter.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-question-answer.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-question-answer.doc.js +2 -2
- package/dist/cosmos-db/documents/ticketing/event-question-validator.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-question-validator.js +9 -10
- package/dist/cosmos-db/documents/ticketing/event-referral-config-create.dto.d.ts +2 -2
- package/dist/cosmos-db/documents/ticketing/event-referral-config-create.dto.js +3 -2
- package/dist/cosmos-db/documents/ticketing/event-referral-config-filter.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-referral-config.doc.d.ts +3 -3
- package/dist/cosmos-db/documents/ticketing/event-referral-config.doc.js +5 -5
- package/dist/cosmos-db/documents/ticketing/event-referral-filter.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.d.ts +3 -3
- package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.js +3 -3
- package/dist/cosmos-db/documents/ticketing/event-voucher-create.dto.d.ts +2 -2
- package/dist/cosmos-db/documents/ticketing/event-voucher-filter.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/token/nft-details.doc.d.ts +3 -3
- package/dist/cosmos-db/documents/token/nft-details.doc.js +4 -4
- package/dist/cosmos-db/documents/token/nft-metadata-attributes.d.ts +1 -1
- package/dist/cosmos-db/documents/token/nft-metadata-attributes.js +3 -3
- package/dist/cosmos-db/documents/user/user-deposit.d.ts +1 -1
- package/dist/cosmos-db/documents/user/user-favorite.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/user/user-favorite.doc.js +2 -2
- package/dist/cosmos-db/documents/user/user-settings.doc.d.ts +1 -1
- package/dist/entities/airdrop/airdrop.dto.d.ts +1 -1
- package/dist/entities/notification-data/device-tag-storage.doc.d.ts +1 -1
- package/dist/entities/notification-data/mobile-device.doc.d.ts +1 -1
- package/dist/entities/notification-data/push-notification.doc.d.ts +1 -1
- package/dist/entities/staking-data/staking-explore.d.ts +2 -2
- package/dist/entities/staking-data/staking-explore.js +3 -2
- package/dist/entities/transactions/transaction-create.d.ts +1 -1
- package/dist/entities/transactions/transaction-create.js +2 -2
- package/dist/entities/transactions/transaction-process-status.d.ts +1 -1
- package/dist/entities/transactions/transaction-process-status.js +2 -2
- package/dist/entities/transactions/transaction-send-result.d.ts +1 -1
- package/dist/entities/transactions/transaction-send-result.js +2 -2
- package/dist/entities/web2user-data/web2user-wallet.d.ts +1 -1
- package/dist/index.d.ts +4 -0
- package/dist/index.js +4 -0
- package/dist/requests/bober-battle/analytics.d.ts +2 -2
- package/dist/requests/bober-battle/analytics.js +5 -5
- package/dist/requests/collection/collection-mint-profile.filter.d.ts +1 -1
- package/dist/requests/collection/collection-mint-profile.filter.js +1 -1
- package/dist/requests/collection/collection-offers.filter.d.ts +1 -1
- package/dist/requests/collection/collection-profile.filter.d.ts +1 -1
- package/dist/requests/collection/collection-profile.filter.js +11 -9
- package/dist/requests/lending/lending-market-profile.filter.d.ts +1 -1
- package/dist/requests/nft-activity-data/nft-activity-data.d.ts +5 -5
- package/dist/requests/nft-activity-data/user-stats.d.ts +2 -2
- package/dist/requests/nft-activity-data/user-stats.js +4 -3
- package/dist/requests/nft-data/nft-doc.filter.d.ts +1 -1
- package/dist/requests/nft-data/nft-doc.filter.js +11 -9
- package/dist/requests/nft-data/nft-offer-doc.filter.d.ts +1 -1
- package/package.json +1 -1
|
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.LendingOverallStats = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
class LendingOverallStats {
|
|
15
|
-
constructor(
|
|
16
|
-
Object.assign(this,
|
|
15
|
+
constructor(props) {
|
|
16
|
+
Object.assign(this, props);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
exports.LendingOverallStats = LendingOverallStats;
|
|
@@ -13,8 +13,8 @@ exports.EgldOrEsdtTokenPayment = void 0;
|
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
class EgldOrEsdtTokenPayment {
|
|
16
|
-
constructor(
|
|
17
|
-
Object.assign(this,
|
|
16
|
+
constructor(props) {
|
|
17
|
+
Object.assign(this, props);
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
exports.EgldOrEsdtTokenPayment = EgldOrEsdtTokenPayment;
|
|
@@ -14,18 +14,18 @@ declare class NftActivityDocBase {
|
|
|
14
14
|
id: string;
|
|
15
15
|
pk: string;
|
|
16
16
|
_ts: number;
|
|
17
|
-
constructor(
|
|
17
|
+
constructor(props?: Partial<NftActivityDoc>);
|
|
18
18
|
}
|
|
19
19
|
export declare class NftActivityDoc extends NftActivityDocBase {
|
|
20
20
|
from: string;
|
|
21
21
|
to: string;
|
|
22
22
|
activityData: NftActivityData;
|
|
23
|
-
constructor(
|
|
23
|
+
constructor(props?: Partial<NftActivityDoc>);
|
|
24
24
|
}
|
|
25
25
|
export declare class NftActivityDocHydrated extends NftActivityDocBase {
|
|
26
26
|
from: OwnerDto;
|
|
27
27
|
to: OwnerDto;
|
|
28
28
|
activityData: NftActivityDataHydrated;
|
|
29
|
-
constructor(
|
|
29
|
+
constructor(props?: Partial<NftActivityDoc>);
|
|
30
30
|
}
|
|
31
31
|
export {};
|
|
@@ -17,9 +17,9 @@ const event_source_enum_1 = require("../../../enums/event-source.enum");
|
|
|
17
17
|
const nft_activity_data_1 = require("../../../requests/nft-activity-data/nft-activity-data");
|
|
18
18
|
const nft_activity_type_enum_1 = require("../../../enums/nft-activity-type.enum");
|
|
19
19
|
class NftActivityDocBase {
|
|
20
|
-
constructor(
|
|
20
|
+
constructor(props) {
|
|
21
21
|
this.chain = common_enum_1.ActivityChain.MVX;
|
|
22
|
-
Object.assign(this,
|
|
22
|
+
Object.assign(this, props);
|
|
23
23
|
this.id = (0, uuid_1.v4)();
|
|
24
24
|
this.chain = this.chain || common_enum_1.ActivityChain.MVX;
|
|
25
25
|
}
|
|
@@ -99,8 +99,8 @@ __decorate([
|
|
|
99
99
|
__metadata("design:type", Number)
|
|
100
100
|
], NftActivityDocBase.prototype, "_ts", void 0);
|
|
101
101
|
class NftActivityDoc extends NftActivityDocBase {
|
|
102
|
-
constructor(
|
|
103
|
-
super(
|
|
102
|
+
constructor(props) {
|
|
103
|
+
super(props);
|
|
104
104
|
this.pk = this.activityData.collection;
|
|
105
105
|
}
|
|
106
106
|
}
|
|
@@ -126,8 +126,8 @@ __decorate([
|
|
|
126
126
|
__metadata("design:type", nft_activity_data_1.NftActivityData)
|
|
127
127
|
], NftActivityDoc.prototype, "activityData", void 0);
|
|
128
128
|
class NftActivityDocHydrated extends NftActivityDocBase {
|
|
129
|
-
constructor(
|
|
130
|
-
super(
|
|
129
|
+
constructor(props) {
|
|
130
|
+
super(props);
|
|
131
131
|
this.pk = this.activityData.collection;
|
|
132
132
|
}
|
|
133
133
|
}
|
|
@@ -36,7 +36,7 @@ declare class ChatMessageDocBase {
|
|
|
36
36
|
id: string;
|
|
37
37
|
ttl?: number;
|
|
38
38
|
_ts?: number;
|
|
39
|
-
constructor(props
|
|
39
|
+
constructor(props?: Partial<ChatMessageDoc>);
|
|
40
40
|
}
|
|
41
41
|
export declare class ChatMessageDoc extends ChatMessageDocBase {
|
|
42
42
|
sender: string;
|
|
@@ -12,7 +12,7 @@ declare class UserConversationDocBase {
|
|
|
12
12
|
id: string;
|
|
13
13
|
pk: string;
|
|
14
14
|
_ts: number;
|
|
15
|
-
constructor(props
|
|
15
|
+
constructor(props?: Partial<UserConversationDoc>);
|
|
16
16
|
}
|
|
17
17
|
export declare class UserConversationDoc extends UserConversationDocBase {
|
|
18
18
|
sender: string;
|
|
@@ -6,7 +6,7 @@ export declare class XoxnoMarketplaceScCollectionConfig {
|
|
|
6
6
|
maxRoyalties: number;
|
|
7
7
|
extraFees?: CollectionExtraFeesConfig;
|
|
8
8
|
adminAddress?: string;
|
|
9
|
-
constructor(
|
|
9
|
+
constructor(props?: Partial<CollectionExtraFeesConfig>);
|
|
10
10
|
}
|
|
11
11
|
export interface CollectionExtraFeesConfig {
|
|
12
12
|
amount: number;
|
|
@@ -2,13 +2,13 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.XoxnoMarketplaceScCollectionConfig = void 0;
|
|
4
4
|
class XoxnoMarketplaceScCollectionConfig {
|
|
5
|
-
constructor(
|
|
5
|
+
constructor(props) {
|
|
6
6
|
this.reversedCutFees = false;
|
|
7
7
|
this.reversedRoyalties = false;
|
|
8
8
|
this.customRoyalties = false;
|
|
9
9
|
this.minRoyalties = 0;
|
|
10
10
|
this.maxRoyalties = 0;
|
|
11
|
-
Object.assign(this,
|
|
11
|
+
Object.assign(this, props);
|
|
12
12
|
this.maxRoyalties = parseInt(this.maxRoyalties.toString()) / 100;
|
|
13
13
|
this.minRoyalties = parseInt(this.minRoyalties.toString()) / 100;
|
|
14
14
|
if (this.extraFees) {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
+
import { OwnerDto } from '../../../common/owner.dto';
|
|
2
|
+
import { CollectionDataType } from '../../../enums/collection.enum';
|
|
1
3
|
import { ActivityChain } from '../../../enums/common.enum';
|
|
4
|
+
import { ShortCollectionDoc } from '../short/short-collection.doc';
|
|
2
5
|
import { NftMetadataAttributes } from '../token/nft-metadata-attributes';
|
|
3
|
-
import { CollectionDataType } from '../../../enums/collection.enum';
|
|
4
|
-
import { CollectionProfileDoc } from './profile';
|
|
5
|
-
import { OwnerDto } from '../../../common/owner.dto';
|
|
6
6
|
declare class GlobalOfferDocBase {
|
|
7
7
|
dataType: CollectionDataType;
|
|
8
8
|
offerId: number;
|
|
@@ -32,6 +32,6 @@ export declare class GlobalOfferDocHydrated extends GlobalOfferDocBase {
|
|
|
32
32
|
owner: OwnerDto;
|
|
33
33
|
floorPrice: number;
|
|
34
34
|
floorPriceMargin: number;
|
|
35
|
-
collectionInfo:
|
|
35
|
+
collectionInfo: ShortCollectionDoc;
|
|
36
36
|
}
|
|
37
37
|
export {};
|
|
@@ -11,9 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.GlobalOfferDocHydrated = exports.GlobalOfferDoc = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const collection_enum_1 = require("../../../enums/collection.enum");
|
|
14
15
|
const common_enum_1 = require("../../../enums/common.enum");
|
|
15
16
|
const nft_metadata_attributes_1 = require("../token/nft-metadata-attributes");
|
|
16
|
-
const collection_enum_1 = require("../../../enums/collection.enum");
|
|
17
17
|
class GlobalOfferDocBase {
|
|
18
18
|
constructor(props) {
|
|
19
19
|
this.dataType = collection_enum_1.CollectionDataType.GlobalOffer;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { EgldOrEsdtTokenPayment } from '../../../common/tokenPayent';
|
|
2
2
|
import { CollectionDataType } from '../../../enums/collection.enum';
|
|
3
|
-
import { CollectionProfileDoc } from './profile';
|
|
4
|
-
import { CreatorProfileDoc } from '../user/user-creator-profile.doc';
|
|
5
3
|
import { MintStageDto } from '../../../requests/collection/creator-drop-info';
|
|
4
|
+
import { ShortCollectionDoc } from '../short/short-collection.doc';
|
|
5
|
+
import { ShortCreatorDoc } from '../short/short-creator.doc';
|
|
6
6
|
export declare class CollectionMintProfileDoc {
|
|
7
7
|
dataType: CollectionDataType;
|
|
8
8
|
collection: string;
|
|
@@ -37,8 +37,8 @@ export declare class CollectionMintProfileDoc {
|
|
|
37
37
|
constructor(props?: Partial<CollectionMintProfileDoc>);
|
|
38
38
|
}
|
|
39
39
|
export declare class CollectionMintProfileDocHydrated extends CollectionMintProfileDoc {
|
|
40
|
-
collectionInfo:
|
|
41
|
-
creatorInfo:
|
|
40
|
+
collectionInfo: ShortCollectionDoc;
|
|
41
|
+
creatorInfo: ShortCreatorDoc;
|
|
42
42
|
}
|
|
43
43
|
declare type CollectionMintProfileDocWithStages_base = Pick<CollectionMintProfileDocHydrated, "collectionSize" | "collectionInfo" | "contractAddress" | "collectionTag" | "nftTransferLimited" | "hasBotProtection" | "kycRequired" | "totalNftMinted" | "cid" | "mediaType" | "globalWalletLimit" | "creatorInfo" | "hasAttributes">;
|
|
44
44
|
export declare type CollectionMintProfileDocWithStages = CollectionMintProfileDocWithStages_base & {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ActivityChain } from '../../../enums/common.enum';
|
|
2
|
-
import {
|
|
2
|
+
import { ShortCollectionDoc } from '../short/short-collection.doc';
|
|
3
3
|
declare class TradingDataSummary {
|
|
4
4
|
volume: number;
|
|
5
5
|
volumeMargin: number;
|
|
@@ -41,7 +41,7 @@ export declare class CollectionStatsDoc {
|
|
|
41
41
|
constructor(props?: Partial<CollectionStatsDoc>);
|
|
42
42
|
}
|
|
43
43
|
export declare class CollectionStatsDocHydrated extends CollectionStatsDoc {
|
|
44
|
-
collectionInfo:
|
|
45
|
-
constructor(props
|
|
44
|
+
collectionInfo: ShortCollectionDoc;
|
|
45
|
+
constructor(props?: Partial<CollectionStatsDocHydrated>);
|
|
46
46
|
}
|
|
47
47
|
export {};
|
|
@@ -11,9 +11,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CollectionStatsDocHydrated = exports.CollectionStatsDoc = exports.TradingStatistics = exports.AllTimeHigh = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const common_enum_1 = require("../../../enums/common.enum");
|
|
15
14
|
const collection_enum_1 = require("../../../enums/collection.enum");
|
|
16
|
-
const
|
|
15
|
+
const common_enum_1 = require("../../../enums/common.enum");
|
|
16
|
+
const short_collection_doc_1 = require("../short/short-collection.doc");
|
|
17
17
|
class TradingDataSummary {
|
|
18
18
|
constructor() {
|
|
19
19
|
this.volume = 0;
|
|
@@ -286,7 +286,7 @@ __decorate([
|
|
|
286
286
|
(0, swagger_1.ApiProperty)({
|
|
287
287
|
description: 'Collection profile information',
|
|
288
288
|
required: false,
|
|
289
|
-
type:
|
|
289
|
+
type: short_collection_doc_1.ShortCollectionDoc,
|
|
290
290
|
}),
|
|
291
|
-
__metadata("design:type",
|
|
291
|
+
__metadata("design:type", short_collection_doc_1.ShortCollectionDoc)
|
|
292
292
|
], CollectionStatsDocHydrated.prototype, "collectionInfo", void 0);
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ExternalPayment = void 0;
|
|
4
4
|
class ExternalPayment {
|
|
5
|
-
constructor(
|
|
6
|
-
Object.assign(this,
|
|
5
|
+
constructor(props) {
|
|
6
|
+
Object.assign(this, props);
|
|
7
7
|
this.pk = this.address;
|
|
8
8
|
}
|
|
9
9
|
}
|
|
@@ -25,7 +25,7 @@ export declare class LendingAccountProfileDoc {
|
|
|
25
25
|
id: string;
|
|
26
26
|
pk: string;
|
|
27
27
|
_ts: number;
|
|
28
|
-
constructor(
|
|
28
|
+
constructor(props?: Partial<LendingAccountProfileDoc>);
|
|
29
29
|
}
|
|
30
30
|
export declare class LendingAccountProfile extends LendingAccountProfileDoc {
|
|
31
31
|
supplyAmount: string;
|
|
@@ -16,13 +16,13 @@ const lending_emode_category_profile_doc_1 = require("./lending-emode-category-p
|
|
|
16
16
|
const lending_market_profile_doc_1 = require("./lending-market-profile.doc");
|
|
17
17
|
const lending_enum_1 = require("../../../enums/lending.enum");
|
|
18
18
|
class LendingAccountProfileDoc {
|
|
19
|
-
constructor(
|
|
19
|
+
constructor(props) {
|
|
20
20
|
this.dataType = lending_data_type_enum_1.LendingDataType.ACCOUNT_PROFILE;
|
|
21
21
|
this.supplyAmountScaled = '0';
|
|
22
22
|
this.borrowAmountScaled = '0';
|
|
23
23
|
this.supplyIndex = 0;
|
|
24
24
|
this.borrowIndex = 0;
|
|
25
|
-
Object.assign(this,
|
|
25
|
+
Object.assign(this, props);
|
|
26
26
|
this.pk = this.dataType;
|
|
27
27
|
this.id = `${this.identifier}_${this.token}`;
|
|
28
28
|
}
|
|
@@ -9,7 +9,7 @@ export declare class LendingEModeCategoryProfileDoc {
|
|
|
9
9
|
id: string;
|
|
10
10
|
pk: string;
|
|
11
11
|
_ts?: number;
|
|
12
|
-
constructor(
|
|
12
|
+
constructor(props?: Partial<LendingEModeCategoryProfileDoc>);
|
|
13
13
|
}
|
|
14
14
|
declare type ShortLendingTokenEModeProfileDoc_base = Pick<LendingTokenEModeProfileDoc, "token" | "canBeCollateral" | "canBeBorrowed" | "eModeCategory">;
|
|
15
15
|
export declare type ShortLendingTokenEModeProfileDoc = ShortLendingTokenEModeProfileDoc_base ;
|
|
@@ -14,9 +14,9 @@ const swagger_1 = require("@nestjs/swagger");
|
|
|
14
14
|
const lending_data_type_enum_1 = require("../../../enums/lending-data-type.enum");
|
|
15
15
|
const lending_token_emode_profile_doc_1 = require("./lending-token-emode-profile.doc");
|
|
16
16
|
class LendingEModeCategoryProfileDoc {
|
|
17
|
-
constructor(
|
|
17
|
+
constructor(props) {
|
|
18
18
|
this.dataType = lending_data_type_enum_1.LendingDataType.EMODE_CATEGORY_PROFILE;
|
|
19
|
-
Object.assign(this,
|
|
19
|
+
Object.assign(this, props);
|
|
20
20
|
this.pk = this.dataType;
|
|
21
21
|
}
|
|
22
22
|
}
|
|
@@ -54,7 +54,7 @@ export declare class LendingMarketProfileDoc {
|
|
|
54
54
|
id: string;
|
|
55
55
|
pk: string;
|
|
56
56
|
_ts: number;
|
|
57
|
-
constructor(
|
|
57
|
+
constructor(props?: Partial<LendingMarketProfileDoc>);
|
|
58
58
|
}
|
|
59
59
|
export declare class LendingMarketParticipants {
|
|
60
60
|
count: number;
|
|
@@ -16,7 +16,7 @@ const owner_dto_1 = require("../../../common/owner.dto");
|
|
|
16
16
|
const lending_emode_category_profile_doc_1 = require("./lending-emode-category-profile.doc");
|
|
17
17
|
const cosmos_db_paginated_response_dto_1 = require("../../cosmos-db-paginated-response.dto");
|
|
18
18
|
class LendingMarketProfileDoc {
|
|
19
|
-
constructor(
|
|
19
|
+
constructor(props) {
|
|
20
20
|
this.rewardsReserve = '0';
|
|
21
21
|
this.rewardsReserveShort = 0;
|
|
22
22
|
this.reserves = '0';
|
|
@@ -40,7 +40,7 @@ class LendingMarketProfileDoc {
|
|
|
40
40
|
this.maxDebtUsdShort = 0;
|
|
41
41
|
this.debtCeiling = '0';
|
|
42
42
|
this.debtCeilingShort = 0;
|
|
43
|
-
Object.assign(this,
|
|
43
|
+
Object.assign(this, props);
|
|
44
44
|
this.pk = this.dataType;
|
|
45
45
|
this.id = `${this.token}_${this.dataType}`;
|
|
46
46
|
}
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.LendingNftAttributes = void 0;
|
|
4
4
|
class LendingNftAttributes {
|
|
5
|
-
constructor(
|
|
6
|
-
Object.assign(this,
|
|
5
|
+
constructor(props) {
|
|
6
|
+
Object.assign(this, props);
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
exports.LendingNftAttributes = LendingNftAttributes;
|
|
@@ -13,9 +13,9 @@ exports.LendingTokenEModeProfileDoc = void 0;
|
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const lending_data_type_enum_1 = require("../../../enums/lending-data-type.enum");
|
|
15
15
|
class LendingTokenEModeProfileDoc {
|
|
16
|
-
constructor(
|
|
16
|
+
constructor(props) {
|
|
17
17
|
this.dataType = lending_data_type_enum_1.LendingDataType.TOKEN_EMODE_PROFILE;
|
|
18
|
-
Object.assign(this,
|
|
18
|
+
Object.assign(this, props);
|
|
19
19
|
this.pk = this.dataType;
|
|
20
20
|
this.id = `${this.token}_${this.eModeCategory}_${this.dataType}`;
|
|
21
21
|
}
|
|
@@ -3,10 +3,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.NotificationDoc = void 0;
|
|
4
4
|
const notification_data_type_enum_1 = require("../../../enums/notification-data-type.enum");
|
|
5
5
|
class NotificationDoc {
|
|
6
|
-
constructor(
|
|
6
|
+
constructor(props) {
|
|
7
7
|
this.dataType = notification_data_type_enum_1.NotificationDataType.Notification;
|
|
8
8
|
this.isRead = false;
|
|
9
|
-
Object.assign(this,
|
|
9
|
+
Object.assign(this, props);
|
|
10
10
|
this.pk = this.owner;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CollectionProfileDoc } from '../collection/profile';
|
|
2
|
+
declare type ShortCollectionDoc_base = Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "banner" | "chain" | "pinnedAtDrops" | "collectionSize">;
|
|
3
|
+
export declare type ShortCollectionDoc = ShortCollectionDoc_base ;
|
|
4
|
+
declare const ShortCollectionDocNest_base: import("@nestjs/common").Type<Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "banner" | "chain" | "pinnedAtDrops" | "collectionSize">>;
|
|
5
|
+
export declare class ShortCollectionDocNest extends ShortCollectionDocNest_base {
|
|
6
|
+
}
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ShortCollectionDoc = void 0;
|
|
4
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
5
|
+
const profile_1 = require("../collection/profile");
|
|
6
|
+
class ShortCollectionDoc extends (0, swagger_1.PickType)(profile_1.CollectionProfileDoc, [
|
|
7
|
+
'name',
|
|
8
|
+
'isVerified',
|
|
9
|
+
'isVisible',
|
|
10
|
+
'profile',
|
|
11
|
+
'banner',
|
|
12
|
+
'description',
|
|
13
|
+
'chain',
|
|
14
|
+
'pinnedAtDrops',
|
|
15
|
+
'collectionSize',
|
|
16
|
+
'followCount',
|
|
17
|
+
'holdersCount',
|
|
18
|
+
]) {
|
|
19
|
+
}
|
|
20
|
+
exports.ShortCollectionDoc = ShortCollectionDoc;
|
|
21
|
+
|
|
22
|
+
exports.ShortCollectionDocNest = ShortCollectionDoc;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { CreatorProfileDoc } from '../user/user-creator-profile.doc';
|
|
2
|
+
declare type ShortCreatorDoc_base = Pick<CreatorProfileDoc, "name" | "profile" | "contractAddress">;
|
|
3
|
+
export declare type ShortCreatorDoc = ShortCreatorDoc_base ;
|
|
4
|
+
declare const ShortCreatorDocNest_base: import("@nestjs/common").Type<Pick<CreatorProfileDoc, "name" | "profile" | "contractAddress">>;
|
|
5
|
+
export declare class ShortCreatorDocNest extends ShortCreatorDocNest_base {
|
|
6
|
+
}
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ShortCreatorDoc = void 0;
|
|
4
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
5
|
+
const user_creator_profile_doc_1 = require("../user/user-creator-profile.doc");
|
|
6
|
+
class ShortCreatorDoc extends (0, swagger_1.PickType)(user_creator_profile_doc_1.CreatorProfileDoc, [
|
|
7
|
+
'name',
|
|
8
|
+
'contractAddress',
|
|
9
|
+
'profile',
|
|
10
|
+
]) {
|
|
11
|
+
}
|
|
12
|
+
exports.ShortCreatorDoc = ShortCreatorDoc;
|
|
13
|
+
|
|
14
|
+
exports.ShortCreatorDocNest = ShortCreatorDoc;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { NftDoc } from '../token/nft-details.doc';
|
|
2
|
+
declare type ShortNftDoc_base = Pick<NftDoc, "name" | "identifier" | "collection" | "url" | "wasProcessed" | "media" | "metadata">;
|
|
3
|
+
export declare type ShortNftDoc = ShortNftDoc_base ;
|
|
4
|
+
declare const ShortNftDocNest_base: import("@nestjs/common").Type<Pick<NftDoc, "name" | "identifier" | "collection" | "url" | "wasProcessed" | "media" | "metadata">>;
|
|
5
|
+
export declare class ShortNftDocNest extends ShortNftDocNest_base {
|
|
6
|
+
}
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ShortNftDoc = void 0;
|
|
4
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
5
|
+
const nft_details_doc_1 = require("../token/nft-details.doc");
|
|
6
|
+
class ShortNftDoc extends (0, swagger_1.PickType)(nft_details_doc_1.NftDoc, [
|
|
7
|
+
'identifier',
|
|
8
|
+
'collection',
|
|
9
|
+
'name',
|
|
10
|
+
'metadata',
|
|
11
|
+
'url',
|
|
12
|
+
'wasProcessed',
|
|
13
|
+
'media',
|
|
14
|
+
]) {
|
|
15
|
+
}
|
|
16
|
+
exports.ShortNftDoc = ShortNftDoc;
|
|
17
|
+
|
|
18
|
+
exports.ShortNftDocNest = ShortNftDoc;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { EventVoucherDoc } from '../ticketing/event-voucher.doc';
|
|
2
|
+
declare type ShortVoucherDoc_base = Pick<EventVoucherDoc, "type" | "amount" | "maxDiscountAmount">;
|
|
3
|
+
export declare type ShortVoucherDoc = ShortVoucherDoc_base ;
|
|
4
|
+
declare const ShortVoucherDocNest_base: import("@nestjs/common").Type<Pick<EventVoucherDoc, "type" | "amount" | "maxDiscountAmount">>;
|
|
5
|
+
export declare class ShortVoucherDocNest extends ShortVoucherDocNest_base {
|
|
6
|
+
}
|
|
7
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ShortVoucherDoc = void 0;
|
|
4
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
5
|
+
const event_voucher_doc_1 = require("../ticketing/event-voucher.doc");
|
|
6
|
+
class ShortVoucherDoc extends (0, swagger_1.PickType)(event_voucher_doc_1.EventVoucherDoc, [
|
|
7
|
+
'amount',
|
|
8
|
+
'type',
|
|
9
|
+
'maxDiscountAmount',
|
|
10
|
+
]) {
|
|
11
|
+
}
|
|
12
|
+
exports.ShortVoucherDoc = ShortVoucherDoc;
|
|
13
|
+
|
|
14
|
+
exports.ShortVoucherDocNest = ShortVoucherDoc;
|
|
@@ -29,7 +29,7 @@ export declare class StakingPoolDoc {
|
|
|
29
29
|
constructor(props?: Partial<StakingPoolDoc>);
|
|
30
30
|
}
|
|
31
31
|
export declare class XoxnoStakingReward {
|
|
32
|
-
constructor(
|
|
32
|
+
constructor(props?: Partial<XoxnoStakingReward>);
|
|
33
33
|
tokenIdentifier: string;
|
|
34
34
|
tokenNonce: number;
|
|
35
35
|
rewardBalance: string;
|
|
@@ -41,13 +41,13 @@ export declare class XoxnoStakingReward {
|
|
|
41
41
|
usdValue?: number;
|
|
42
42
|
}
|
|
43
43
|
export declare class XoxnoStakingRewardClaim {
|
|
44
|
-
constructor(
|
|
44
|
+
constructor(props?: Partial<XoxnoStakingRewardClaim>);
|
|
45
45
|
tokenIdentifier: string;
|
|
46
46
|
tokenNonce: number;
|
|
47
47
|
amount: string;
|
|
48
48
|
}
|
|
49
49
|
export declare class XoxnoStakingIssuingReward {
|
|
50
|
-
constructor(
|
|
50
|
+
constructor(props?: Partial<XoxnoStakingIssuingReward>);
|
|
51
51
|
tokenIdentifier: string;
|
|
52
52
|
tokenNonce: number;
|
|
53
53
|
amount: string;
|
|
@@ -84,7 +84,7 @@ export declare class StakingSummary {
|
|
|
84
84
|
daysLeft: number;
|
|
85
85
|
cutFee: number;
|
|
86
86
|
percentageFilled: number;
|
|
87
|
-
constructor(
|
|
87
|
+
constructor(props?: Partial<StakingSummary>);
|
|
88
88
|
}
|
|
89
89
|
export declare class StakingUserPoolNfts {
|
|
90
90
|
poolInfo: StakingSummary;
|
|
@@ -25,8 +25,8 @@ class StakingPoolDoc {
|
|
|
25
25
|
}
|
|
26
26
|
exports.StakingPoolDoc = StakingPoolDoc;
|
|
27
27
|
class XoxnoStakingReward {
|
|
28
|
-
constructor(
|
|
29
|
-
Object.assign(this,
|
|
28
|
+
constructor(props) {
|
|
29
|
+
Object.assign(this, props);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
exports.XoxnoStakingReward = XoxnoStakingReward;
|
|
@@ -92,20 +92,20 @@ __decorate([
|
|
|
92
92
|
__metadata("design:type", Number)
|
|
93
93
|
], XoxnoStakingReward.prototype, "usdValue", void 0);
|
|
94
94
|
class XoxnoStakingRewardClaim {
|
|
95
|
-
constructor(
|
|
96
|
-
Object.assign(this,
|
|
95
|
+
constructor(props) {
|
|
96
|
+
Object.assign(this, props);
|
|
97
97
|
}
|
|
98
98
|
}
|
|
99
99
|
exports.XoxnoStakingRewardClaim = XoxnoStakingRewardClaim;
|
|
100
100
|
class XoxnoStakingIssuingReward {
|
|
101
|
-
constructor(
|
|
102
|
-
Object.assign(this,
|
|
101
|
+
constructor(props) {
|
|
102
|
+
Object.assign(this, props);
|
|
103
103
|
}
|
|
104
104
|
}
|
|
105
105
|
exports.XoxnoStakingIssuingReward = XoxnoStakingIssuingReward;
|
|
106
106
|
class StakingSummary {
|
|
107
|
-
constructor(
|
|
108
|
-
Object.assign(this,
|
|
107
|
+
constructor(props) {
|
|
108
|
+
Object.assign(this, props);
|
|
109
109
|
}
|
|
110
110
|
}
|
|
111
111
|
exports.StakingSummary = StakingSummary;
|
|
@@ -21,6 +21,6 @@ export declare class EventGuestFilter extends CosmosDbGenericFilter<EventGuestDo
|
|
|
21
21
|
};
|
|
22
22
|
strictSelect?: boolean;
|
|
23
23
|
includeCount?: boolean;
|
|
24
|
-
constructor(props
|
|
24
|
+
constructor(props?: Partial<EventGuestFilter>);
|
|
25
25
|
private setPk;
|
|
26
26
|
}
|
|
@@ -27,6 +27,6 @@ export declare class EventInvitationFilter extends CosmosDbGenericFilter<EventIn
|
|
|
27
27
|
};
|
|
28
28
|
strictSelect?: boolean;
|
|
29
29
|
includeCount?: boolean;
|
|
30
|
-
constructor(props
|
|
30
|
+
constructor(props?: Partial<EventInvitationFilter>);
|
|
31
31
|
private setPk;
|
|
32
32
|
}
|
|
@@ -37,7 +37,7 @@ export declare class EventProfileFilter extends CosmosDbGenericFilter<EventProfi
|
|
|
37
37
|
guestSummary: boolean;
|
|
38
38
|
startsFrom: boolean;
|
|
39
39
|
};
|
|
40
|
-
constructor(props
|
|
40
|
+
constructor(props?: Partial<EventProfileFilter>);
|
|
41
41
|
private applySelectPropertyLogic;
|
|
42
42
|
private getDefaultProperties;
|
|
43
43
|
}
|