@xoxno/types 1.0.120 → 1.0.122
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/chat/chat-read.dto.d.ts +1 -1
- package/dist/cosmos-db/documents/chat/chat-read.dto.js +4 -0
- package/dist/cosmos-db/documents/chat/group-chat-profile.doc.d.ts +2 -1
- package/dist/cosmos-db/documents/collection/stats.d.ts +2 -1
- package/dist/cosmos-db/documents/collection/stats.js +1 -1
- package/dist/cosmos-db/documents/lending/lending-account-profile.d.ts +2 -1
- package/dist/cosmos-db/documents/lending/lending-account-profile.js +1 -1
- package/dist/cosmos-db/documents/lending/lending-market-profile.doc.d.ts +2 -1
- package/dist/cosmos-db/documents/lending/lending-market-profile.doc.js +2 -1
- package/dist/cosmos-db/documents/notification/notification.doc.d.ts +2 -1
- package/dist/cosmos-db/documents/ticketing/event-user-role.doc.d.ts +2 -1
- package/dist/cosmos-db/documents/ticketing/event-user-role.doc.js +1 -1
- package/dist/cosmos-db/documents/token/sft-owner-doc.d.ts +2 -1
- package/dist/entities/notification-data/device-tag-storage.doc.d.ts +2 -1
- package/dist/entities/notification-data/device-tag-storage.doc.js +1 -1
- package/dist/entities/notification-data/mobile-device.doc.d.ts +2 -1
- package/dist/entities/notification-data/mobile-device.doc.js +1 -1
- package/dist/entities/notification-data/push-notification.doc.d.ts +2 -1
- package/dist/entities/notification-data/push-notification.doc.js +1 -1
- package/dist/entities/token-data/token-data.doc.d.ts +3 -1
- package/dist/entities/token-data/token-data.doc.js +5 -2
- package/dist/requests/collection/creator-drop-info.d.ts +2 -1
- package/dist/requests/collection/creator-drop-info.js +3 -1
- package/package.json +1 -1
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ChatReadDto = void 0;
|
|
4
|
+
const chat_data_type_enum_1 = require("../../../enums/chat-data-type.enum");
|
|
4
5
|
class ChatReadDto {
|
|
6
|
+
constructor() {
|
|
7
|
+
this.dataType = chat_data_type_enum_1.ChatDataType.READ;
|
|
8
|
+
}
|
|
5
9
|
}
|
|
6
10
|
exports.ChatReadDto = ChatReadDto;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CollectionDataType } from '../../../enums/collection.enum';
|
|
1
2
|
import { ActivityChain } from '../../../enums/common.enum';
|
|
2
3
|
import { ShortCollectionInfoDoc } from '../short/short-collection-info.doc';
|
|
3
4
|
declare class TradingDataSummary {
|
|
@@ -30,7 +31,7 @@ export declare class TradingStatistics {
|
|
|
30
31
|
constructor(props?: Partial<TradingStatistics>);
|
|
31
32
|
}
|
|
32
33
|
export declare class CollectionStatsDoc {
|
|
33
|
-
dataType:
|
|
34
|
+
dataType: CollectionDataType;
|
|
34
35
|
collection: string;
|
|
35
36
|
floorPrice?: number;
|
|
36
37
|
listedCount: number;
|
|
@@ -223,7 +223,7 @@ __decorate([
|
|
|
223
223
|
description: 'Data type identifier for collection stats',
|
|
224
224
|
example: collection_enum_1.CollectionDataType.CollectionStats,
|
|
225
225
|
}),
|
|
226
|
-
__metadata("design:type",
|
|
226
|
+
__metadata("design:type", Object)
|
|
227
227
|
], CollectionStatsDoc.prototype, "dataType", void 0);
|
|
228
228
|
__decorate([
|
|
229
229
|
(0, swagger_1.ApiProperty)({
|
|
@@ -1,8 +1,9 @@
|
|
|
1
|
+
import { LendingDataType } from '../../../enums/lending-data-type.enum';
|
|
1
2
|
import { LendingEModeCategoryProfileDoc } from './lending-emode-category-profile.doc';
|
|
2
3
|
import { LendingMarketProfile } from './lending-market-profile.doc';
|
|
3
4
|
import { PositionMode } from '../../../enums/lending.enum';
|
|
4
5
|
export declare class LendingAccountProfileDoc {
|
|
5
|
-
dataType:
|
|
6
|
+
dataType: LendingDataType;
|
|
6
7
|
identifier: string;
|
|
7
8
|
nonce: number;
|
|
8
9
|
token: string;
|
|
@@ -34,7 +34,7 @@ __decorate([
|
|
|
34
34
|
enumName: 'LendingDataType',
|
|
35
35
|
example: lending_data_type_enum_1.LendingDataType.ACCOUNT_PROFILE,
|
|
36
36
|
}),
|
|
37
|
-
__metadata("design:type",
|
|
37
|
+
__metadata("design:type", Object)
|
|
38
38
|
], LendingAccountProfileDoc.prototype, "dataType", void 0);
|
|
39
39
|
__decorate([
|
|
40
40
|
(0, swagger_1.ApiProperty)({
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { LendingDataType } from '../../../enums/lending-data-type.enum';
|
|
1
2
|
import { OwnerDto } from '../../../common/owner.dto';
|
|
2
3
|
import { LendingEModeCategoryProfileDoc } from './lending-emode-category-profile.doc';
|
|
3
4
|
export declare class LendingMarketProfileDoc {
|
|
4
|
-
dataType:
|
|
5
|
+
dataType: LendingDataType;
|
|
5
6
|
token: string;
|
|
6
7
|
name: string;
|
|
7
8
|
decimals: number;
|
|
@@ -17,6 +17,7 @@ const lending_emode_category_profile_doc_1 = require("./lending-emode-category-p
|
|
|
17
17
|
const cosmos_db_paginated_response_dto_1 = require("../../cosmos-db-paginated-response.dto");
|
|
18
18
|
class LendingMarketProfileDoc {
|
|
19
19
|
constructor(props) {
|
|
20
|
+
this.dataType = lending_data_type_enum_1.LendingDataType.MARKET_PROFILE;
|
|
20
21
|
this.rewardsReserve = '0';
|
|
21
22
|
this.rewardsReserveShort = 0;
|
|
22
23
|
this.reserves = '0';
|
|
@@ -52,7 +53,7 @@ __decorate([
|
|
|
52
53
|
enumName: 'LendingDataType',
|
|
53
54
|
example: lending_data_type_enum_1.LendingDataType.MARKET_PROFILE,
|
|
54
55
|
}),
|
|
55
|
-
__metadata("design:type",
|
|
56
|
+
__metadata("design:type", Object)
|
|
56
57
|
], LendingMarketProfileDoc.prototype, "dataType", void 0);
|
|
57
58
|
__decorate([
|
|
58
59
|
(0, swagger_1.ApiProperty)({
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
+
import { NotificationDataType } from '../../../enums/notification-data-type.enum';
|
|
1
2
|
import { NotificationAssetType } from '../../../enums/notification-asset-type.enum';
|
|
2
3
|
import { MarketplaceActivity } from '../../../enums/marketplace-activity.enum';
|
|
3
4
|
export declare class NotificationDoc {
|
|
4
|
-
dataType:
|
|
5
|
+
dataType: NotificationDataType;
|
|
5
6
|
txHash: string;
|
|
6
7
|
source: string;
|
|
7
8
|
activityType: MarketplaceActivity;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { RoleStatus } from '../../../enums/event-user-role.doc';
|
|
2
2
|
import { EventUserRoles, EventUserRolePermission } from '../../../enums/event-user-roles.enum';
|
|
3
|
+
import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
|
|
3
4
|
export declare class EventUserRoleDoc {
|
|
4
|
-
dataType:
|
|
5
|
+
dataType: TicketingDataType;
|
|
5
6
|
eventId?: string;
|
|
6
7
|
wallet?: string;
|
|
7
8
|
name: string;
|
|
@@ -33,7 +33,7 @@ __decorate([
|
|
|
33
33
|
enum: ticketing_data_type_enum_1.TicketingDataType,
|
|
34
34
|
enumName: 'TicketingDataType',
|
|
35
35
|
}),
|
|
36
|
-
__metadata("design:type",
|
|
36
|
+
__metadata("design:type", Object)
|
|
37
37
|
], EventUserRoleDoc.prototype, "dataType", void 0);
|
|
38
38
|
__decorate([
|
|
39
39
|
(0, swagger_1.ApiProperty)({
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { PrioritizedTag } from './tag-priority';
|
|
2
|
+
import { NotificationDataType } from '../../enums/notification-data-type.enum';
|
|
2
3
|
export declare class DeviceTagStorageDoc {
|
|
3
|
-
dataType:
|
|
4
|
+
dataType: NotificationDataType;
|
|
4
5
|
installationId: string;
|
|
5
6
|
web2UserId: string;
|
|
6
7
|
allTags: PrioritizedTag[];
|
|
@@ -25,7 +25,7 @@ class DeviceTagStorageDoc {
|
|
|
25
25
|
exports.DeviceTagStorageDoc = DeviceTagStorageDoc;
|
|
26
26
|
__decorate([
|
|
27
27
|
(0, swagger_1.ApiProperty)(),
|
|
28
|
-
__metadata("design:type",
|
|
28
|
+
__metadata("design:type", Object)
|
|
29
29
|
], DeviceTagStorageDoc.prototype, "dataType", void 0);
|
|
30
30
|
__decorate([
|
|
31
31
|
(0, swagger_1.ApiProperty)(),
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DevicePlatform } from '../../enums/mobile-device.enum';
|
|
2
|
+
import { NotificationDataType } from '../../enums/notification-data-type.enum';
|
|
2
3
|
export declare class MobileDeviceDoc {
|
|
3
|
-
dataType:
|
|
4
|
+
dataType: NotificationDataType;
|
|
4
5
|
deviceUUID: string;
|
|
5
6
|
installationId: string;
|
|
6
7
|
platform: DevicePlatform;
|
|
@@ -28,7 +28,7 @@ class MobileDeviceDoc {
|
|
|
28
28
|
exports.MobileDeviceDoc = MobileDeviceDoc;
|
|
29
29
|
__decorate([
|
|
30
30
|
(0, swagger_1.ApiProperty)({ description: 'Document type identifier' }),
|
|
31
|
-
__metadata("design:type",
|
|
31
|
+
__metadata("design:type", Object)
|
|
32
32
|
], MobileDeviceDoc.prototype, "dataType", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
(0, swagger_1.ApiProperty)({ description: 'Unique device identifier' }),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { NotificationDataType } from '../../enums/notification-data-type.enum';
|
|
1
2
|
import { PushNotificationType, PushNotificationStatus } from '../../enums/push-notification.enum';
|
|
2
3
|
import { NotificationMetadata } from './notification-template';
|
|
3
4
|
declare class PushNotificationEventDto {
|
|
@@ -15,7 +16,7 @@ declare class PushNotificationTargetingDto {
|
|
|
15
16
|
recipientCount?: number;
|
|
16
17
|
}
|
|
17
18
|
export declare class PushNotificationDoc {
|
|
18
|
-
dataType:
|
|
19
|
+
dataType: NotificationDataType;
|
|
19
20
|
title: string;
|
|
20
21
|
message: string;
|
|
21
22
|
imageUrl?: string;
|
|
@@ -76,7 +76,7 @@ class PushNotificationDoc {
|
|
|
76
76
|
exports.PushNotificationDoc = PushNotificationDoc;
|
|
77
77
|
__decorate([
|
|
78
78
|
(0, swagger_1.ApiProperty)(),
|
|
79
|
-
__metadata("design:type",
|
|
79
|
+
__metadata("design:type", Object)
|
|
80
80
|
], PushNotificationDoc.prototype, "dataType", void 0);
|
|
81
81
|
__decorate([
|
|
82
82
|
(0, swagger_1.ApiProperty)(),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TokenDataType } from '../../enums';
|
|
1
2
|
declare class TokenDataDocBase {
|
|
2
3
|
identifier: string;
|
|
3
4
|
decimals: number;
|
|
@@ -10,10 +11,11 @@ declare class TokenDataDocBase {
|
|
|
10
11
|
export declare class TokenDataDoc extends TokenDataDocBase {
|
|
11
12
|
id: string;
|
|
12
13
|
collection: string;
|
|
13
|
-
dataType:
|
|
14
|
+
dataType: TokenDataType;
|
|
14
15
|
type: string;
|
|
15
16
|
category: string[];
|
|
16
17
|
_ts: number;
|
|
18
|
+
constructor(props?: Partial<TokenDataDoc>);
|
|
17
19
|
}
|
|
18
20
|
export declare class TokenDataDocHydrated extends TokenDataDoc {
|
|
19
21
|
usdPrice: number;
|
|
@@ -11,15 +11,18 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.TokenDataDocWithBalance = exports.SuiCoinObjectDto = exports.TokenDataDocHydrated = exports.TokenDataDoc = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const enums_1 = require("../../enums");
|
|
14
15
|
class TokenDataDocBase {
|
|
15
16
|
constructor(props) {
|
|
16
17
|
Object.assign(this, props);
|
|
17
18
|
}
|
|
18
19
|
}
|
|
19
20
|
class TokenDataDoc extends TokenDataDocBase {
|
|
20
|
-
constructor() {
|
|
21
|
-
super(
|
|
21
|
+
constructor(props) {
|
|
22
|
+
super(props);
|
|
23
|
+
this.dataType = enums_1.TokenDataType.FungibleTokenInfo;
|
|
22
24
|
this.category = ['userInventory'];
|
|
25
|
+
Object.assign(this, props);
|
|
23
26
|
}
|
|
24
27
|
}
|
|
25
28
|
exports.TokenDataDoc = TokenDataDoc;
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { ShortCollectionInfoDoc } from '../../cosmos-db/documents/short/short-collection-info.doc';
|
|
2
2
|
import { EgldOrEsdtTokenPayment } from '../../common/tokenPayent';
|
|
3
3
|
import { SocialsDto } from '../../common/socials';
|
|
4
|
+
import { CollectionDataType } from '../../enums';
|
|
4
5
|
export declare class MintStageDto {
|
|
5
|
-
dataType:
|
|
6
|
+
dataType: CollectionDataType;
|
|
6
7
|
collection: string;
|
|
7
8
|
contractAddress: string;
|
|
8
9
|
collectionTag: string;
|
|
@@ -15,15 +15,17 @@ const swagger_1 = require("@nestjs/swagger");
|
|
|
15
15
|
const short_collection_info_doc_1 = require("../../cosmos-db/documents/short/short-collection-info.doc");
|
|
16
16
|
const tokenPayent_1 = require("../../common/tokenPayent");
|
|
17
17
|
const socials_1 = require("../../common/socials");
|
|
18
|
+
const enums_1 = require("../../enums");
|
|
18
19
|
class MintStageDto {
|
|
19
20
|
constructor(props) {
|
|
21
|
+
this.dataType = enums_1.CollectionDataType.MintStage;
|
|
20
22
|
Object.assign(this, props);
|
|
21
23
|
}
|
|
22
24
|
}
|
|
23
25
|
exports.MintStageDto = MintStageDto;
|
|
24
26
|
__decorate([
|
|
25
27
|
(0, swagger_1.ApiProperty)({ example: 'mintStage' }),
|
|
26
|
-
__metadata("design:type",
|
|
28
|
+
__metadata("design:type", Object)
|
|
27
29
|
], MintStageDto.prototype, "dataType", void 0);
|
|
28
30
|
__decorate([
|
|
29
31
|
(0, swagger_1.ApiProperty)({ example: 'MICE-a0c447' }),
|