@xoxno/types 1.0.79 → 1.0.81
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/index.d.ts
CHANGED
|
@@ -1463,6 +1463,10 @@ declare class CreatorProfileDoc {
|
|
|
1463
1463
|
declare type CollectionInfoDto_base = Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "socials" | "banner" | "owner" | "collectionSize">;
|
|
1464
1464
|
declare type CollectionInfoDto = CollectionInfoDto_base & {
|
|
1465
1465
|
volume: number;
|
|
1466
|
+
};
|
|
1467
|
+
declare const CollectionInfoDtoNest_base: _nestjs_common.Type<Pick<CollectionProfileDoc, "description" | "name" | "profile" | "followCount" | "holdersCount" | "isVisible" | "isVerified" | "socials" | "banner" | "owner" | "collectionSize">>;
|
|
1468
|
+
export declare class CollectionInfoDtoNest extends CollectionInfoDtoNest_base {
|
|
1469
|
+
volume: number;
|
|
1466
1470
|
}
|
|
1467
1471
|
|
|
1468
1472
|
declare class MintStageDto {
|
|
@@ -1483,6 +1487,7 @@ declare class MintStageDto {
|
|
|
1483
1487
|
_ts: number;
|
|
1484
1488
|
walletLimitReached: boolean;
|
|
1485
1489
|
maxBuyable: number | null;
|
|
1490
|
+
constructor(props?: Partial<MintStageDto>);
|
|
1486
1491
|
}
|
|
1487
1492
|
declare class CreatorInfoDto {
|
|
1488
1493
|
name: string;
|
|
@@ -1493,6 +1498,7 @@ declare class CreatorInfoDto {
|
|
|
1493
1498
|
banner: string;
|
|
1494
1499
|
joinedDate: number;
|
|
1495
1500
|
creatorTag: string;
|
|
1501
|
+
socials?: SocialsDto;
|
|
1496
1502
|
}
|
|
1497
1503
|
declare class DropInfoDto {
|
|
1498
1504
|
collection: string;
|
|
@@ -1555,6 +1561,13 @@ declare type CollectionMintProfileDocWithStages = CollectionMintProfileDocWithSt
|
|
|
1555
1561
|
isExcludedFromMint: boolean;
|
|
1556
1562
|
userMintsGlobal: number;
|
|
1557
1563
|
mintStages: MintStageDto[];
|
|
1564
|
+
};
|
|
1565
|
+
declare const CollectionMintProfileDocWithStagesNest_base: _nestjs_common.Type<Pick<CollectionMintProfileDocHydrated, "collectionSize" | "collectionInfo" | "contractAddress" | "collectionTag" | "nftTransferLimited" | "hasBotProtection" | "kycRequired" | "totalNftMinted" | "cid" | "mediaType" | "globalWalletLimit" | "creatorInfo" | "hasAttributes">>;
|
|
1566
|
+
export declare class CollectionMintProfileDocWithStagesNest extends CollectionMintProfileDocWithStagesNest_base {
|
|
1567
|
+
collection: string;
|
|
1568
|
+
isExcludedFromMint: boolean;
|
|
1569
|
+
userMintsGlobal: number;
|
|
1570
|
+
mintStages: MintStageDto[];
|
|
1558
1571
|
}
|
|
1559
1572
|
|
|
1560
1573
|
declare class TradingDataSummary {
|
|
@@ -2071,7 +2084,10 @@ declare class LendingEModeCategoryProfileDoc {
|
|
|
2071
2084
|
constructor(init?: Partial<LendingEModeCategoryProfileDoc>);
|
|
2072
2085
|
}
|
|
2073
2086
|
declare type ShortLendingTokenEModeProfileDoc_base = Pick<LendingTokenEModeProfileDoc, "token" | "canBeCollateral" | "canBeBorrowed" | "eModeCategory">;
|
|
2074
|
-
declare type ShortLendingTokenEModeProfileDoc = ShortLendingTokenEModeProfileDoc_base
|
|
2087
|
+
declare type ShortLendingTokenEModeProfileDoc = ShortLendingTokenEModeProfileDoc_base ;
|
|
2088
|
+
declare const ShortLendingTokenEModeProfileDocNest_base: _nestjs_common.Type<Pick<LendingTokenEModeProfileDoc, "token" | "canBeCollateral" | "canBeBorrowed" | "eModeCategory">>;
|
|
2089
|
+
export declare class ShortLendingTokenEModeProfileDocNest extends ShortLendingTokenEModeProfileDocNest_base {
|
|
2090
|
+
}
|
|
2075
2091
|
declare class LendingEModeCategoryProfile extends LendingEModeCategoryProfileDoc {
|
|
2076
2092
|
eModeTokenProfiles: Pick<LendingTokenEModeProfileDoc, 'token' | 'canBeBorrowed' | 'canBeCollateral' | 'eModeCategory'>[];
|
|
2077
2093
|
}
|
|
@@ -2553,6 +2569,11 @@ declare type TicketProfileSummary_base = Pick<EventTicketProfileDoc, "descriptio
|
|
|
2553
2569
|
declare type TicketProfileSummary = TicketProfileSummary_base & {
|
|
2554
2570
|
ticketId?: string;
|
|
2555
2571
|
quantity?: number;
|
|
2572
|
+
};
|
|
2573
|
+
declare const TicketProfileSummaryNest_base: _nestjs_common.Type<Pick<EventTicketProfileDoc, "description" | "name" | "profile" | "badgeColor" | "characteristics">>;
|
|
2574
|
+
export declare class TicketProfileSummaryNest extends TicketProfileSummaryNest_base {
|
|
2575
|
+
ticketId?: string;
|
|
2576
|
+
quantity?: number;
|
|
2556
2577
|
}
|
|
2557
2578
|
|
|
2558
2579
|
declare class EventGuestCheckIn {
|
|
@@ -2685,7 +2706,10 @@ declare class EventGuestAnswerDoc {
|
|
|
2685
2706
|
static create(data: Omit<EventGuestAnswerDoc, 'id' | 'dataType' | 'createdAt' | 'pk'>): EventGuestAnswerDoc;
|
|
2686
2707
|
}
|
|
2687
2708
|
declare type EventQuestionAnswerDto_base = Pick<EventGuestAnswerDoc, "questionId" | "answer">;
|
|
2688
|
-
declare type EventQuestionAnswerDto = EventQuestionAnswerDto_base
|
|
2709
|
+
declare type EventQuestionAnswerDto = EventQuestionAnswerDto_base ;
|
|
2710
|
+
declare const EventQuestionAnswerDtoNest_base: _nestjs_common.Type<Pick<EventGuestAnswerDoc, "questionId" | "answer">>;
|
|
2711
|
+
export declare class EventQuestionAnswerDtoNest extends EventQuestionAnswerDtoNest_base {
|
|
2712
|
+
}
|
|
2689
2713
|
declare class AnsweredQuestionWithDetails {
|
|
2690
2714
|
answer?: EventGuestAnswerDoc;
|
|
2691
2715
|
question?: EventQuestionDoc;
|
|
@@ -3205,7 +3229,10 @@ declare class EventReferralConfigCreateDto {
|
|
|
3205
3229
|
}
|
|
3206
3230
|
|
|
3207
3231
|
declare type EventReferralConfigEditDto_base = Partial<EventReferralConfigCreateDto>;
|
|
3208
|
-
declare type EventReferralConfigEditDto = EventReferralConfigEditDto_base
|
|
3232
|
+
declare type EventReferralConfigEditDto = EventReferralConfigEditDto_base ;
|
|
3233
|
+
declare const EventReferralConfigEditDtoNest_base: _nestjs_common.Type<Partial<EventReferralConfigCreateDto>>;
|
|
3234
|
+
export declare class EventReferralConfigEditDtoNest extends EventReferralConfigEditDtoNest_base {
|
|
3235
|
+
}
|
|
3209
3236
|
|
|
3210
3237
|
declare class EventReferralConfigFilterCriteriaDto {
|
|
3211
3238
|
searchText?: string;
|
|
@@ -3340,6 +3367,12 @@ declare type EventStageProfileEditDto = EventStageProfileEditDto_base & {
|
|
|
3340
3367
|
name: string;
|
|
3341
3368
|
startTime: number;
|
|
3342
3369
|
endTime: number;
|
|
3370
|
+
};
|
|
3371
|
+
declare const EventStageProfileEditDtoNest_base: _nestjs_common.Type<Pick<EventStageProfileCreateDto, "isWhitelist" | "prices" | "maxLimit" | "userLimit" | "isEnabled" | "requiredApproval">>;
|
|
3372
|
+
export declare class EventStageProfileEditDtoNest extends EventStageProfileEditDtoNest_base {
|
|
3373
|
+
name: string;
|
|
3374
|
+
startTime: number;
|
|
3375
|
+
endTime: number;
|
|
3343
3376
|
}
|
|
3344
3377
|
|
|
3345
3378
|
declare class EventStageProfileDoc {
|
|
@@ -3375,6 +3408,11 @@ declare type EventTicketProfileEditDto_base = Pick<EventTicketProfileCreateDto,
|
|
|
3375
3408
|
declare type EventTicketProfileEditDto = EventTicketProfileEditDto_base & {
|
|
3376
3409
|
name: string;
|
|
3377
3410
|
characteristics: Record<string, string | number>;
|
|
3411
|
+
};
|
|
3412
|
+
declare const EventTicketProfileEditDtoNest_base: _nestjs_common.Type<Pick<EventTicketProfileCreateDto, "description" | "royalties" | "badgeColor" | "maxLimit" | "userLimit">>;
|
|
3413
|
+
export declare class EventTicketProfileEditDtoNest extends EventTicketProfileEditDtoNest_base {
|
|
3414
|
+
name: string;
|
|
3415
|
+
characteristics: Record<string, string | number>;
|
|
3378
3416
|
}
|
|
3379
3417
|
|
|
3380
3418
|
declare class EventUserRoleCreateDto {
|
|
@@ -3398,6 +3436,19 @@ declare type EventVoucherCreateDto = EventVoucherCreateDto_base & {
|
|
|
3398
3436
|
startDate?: number;
|
|
3399
3437
|
endDate?: number;
|
|
3400
3438
|
isActive?: boolean;
|
|
3439
|
+
};
|
|
3440
|
+
declare const EventVoucherCreateDtoNest_base: _nestjs_common.Type<Partial<Omit<EventVoucherDoc, "id" | "dataType" | "createdAt" | "usedCount" | "createdBy">>>;
|
|
3441
|
+
export declare class EventVoucherCreateDtoNest extends EventVoucherCreateDtoNest_base {
|
|
3442
|
+
code?: string;
|
|
3443
|
+
type: VoucherType;
|
|
3444
|
+
amount: number;
|
|
3445
|
+
maxDiscountAmount?: number;
|
|
3446
|
+
maxUses: number;
|
|
3447
|
+
maxUsesPerUser: number;
|
|
3448
|
+
eventId: string;
|
|
3449
|
+
startDate?: number;
|
|
3450
|
+
endDate?: number;
|
|
3451
|
+
isActive?: boolean;
|
|
3401
3452
|
}
|
|
3402
3453
|
|
|
3403
3454
|
declare type EventVoucherEditDto_base = Partial<Omit<EventVoucherCreateDto, "eventId" | "code">>;
|
|
@@ -3405,6 +3456,12 @@ declare type EventVoucherEditDto = EventVoucherEditDto_base & {
|
|
|
3405
3456
|
isActive?: boolean;
|
|
3406
3457
|
startDate?: number;
|
|
3407
3458
|
endDate?: number;
|
|
3459
|
+
};
|
|
3460
|
+
declare const EventVoucherEditDtoNest_base: _nestjs_common.Type<Partial<Omit<EventVoucherCreateDto, "eventId" | "code">>>;
|
|
3461
|
+
export declare class EventVoucherEditDtoNest extends EventVoucherEditDtoNest_base {
|
|
3462
|
+
isActive?: boolean;
|
|
3463
|
+
startDate?: number;
|
|
3464
|
+
endDate?: number;
|
|
3408
3465
|
}
|
|
3409
3466
|
|
|
3410
3467
|
declare class EventVoucherFilterCriteriaDto {
|
|
@@ -4306,7 +4363,10 @@ declare enum StakingStatus {
|
|
|
4306
4363
|
}
|
|
4307
4364
|
|
|
4308
4365
|
declare type StakingPostDTO_base = Pick<StakingSummary, "description" | "name">;
|
|
4309
|
-
declare type StakingPostDTO = StakingPostDTO_base
|
|
4366
|
+
declare type StakingPostDTO = StakingPostDTO_base ;
|
|
4367
|
+
declare const StakingPostDTONest_base: _nestjs_common.Type<Pick<StakingSummary, "description" | "name">>;
|
|
4368
|
+
export declare class StakingPostDTONest extends StakingPostDTONest_base {
|
|
4369
|
+
}
|
|
4310
4370
|
|
|
4311
4371
|
declare class UserStakingSummaryDto {
|
|
4312
4372
|
collection: string;
|
|
@@ -4482,7 +4542,10 @@ declare class TransactionSendResult {
|
|
|
4482
4542
|
txHash: string;
|
|
4483
4543
|
}
|
|
4484
4544
|
declare type BatchTransactionResponse_base = Pick<TransactionSendResult, "txHash" | "status">;
|
|
4485
|
-
declare type BatchTransactionResponse = BatchTransactionResponse_base
|
|
4545
|
+
declare type BatchTransactionResponse = BatchTransactionResponse_base ;
|
|
4546
|
+
declare const BatchTransactionResponseNest_base: _nestjs_common.Type<Pick<TransactionSendResult, "txHash" | "status">>;
|
|
4547
|
+
export declare class BatchTransactionResponseNest extends BatchTransactionResponseNest_base {
|
|
4548
|
+
}
|
|
4486
4549
|
|
|
4487
4550
|
declare enum LinkedAccountType {
|
|
4488
4551
|
WALLET = "wallet",
|
|
@@ -4900,7 +4963,10 @@ declare class CollectionStatsDto extends CollectionStatsDoc {
|
|
|
4900
4963
|
}
|
|
4901
4964
|
|
|
4902
4965
|
declare type CollectionProfileUpdateDto_base = Pick<CollectionProfileDoc, "description" | "profile" | "socials">;
|
|
4903
|
-
declare type CollectionProfileUpdateDto = CollectionProfileUpdateDto_base
|
|
4966
|
+
declare type CollectionProfileUpdateDto = CollectionProfileUpdateDto_base ;
|
|
4967
|
+
declare const CollectionProfileUpdateDtoNest_base: _nestjs_common.Type<Pick<CollectionProfileDoc, "description" | "profile" | "socials">>;
|
|
4968
|
+
export declare class CollectionProfileUpdateDtoNest extends CollectionProfileUpdateDtoNest_base {
|
|
4969
|
+
}
|
|
4904
4970
|
|
|
4905
4971
|
declare class MintingListingDto extends CollectionMintProfileDoc {
|
|
4906
4972
|
collectionInfo: CollectionInfoDto;
|
|
@@ -5330,7 +5396,10 @@ declare class CreatorProfileDto extends CreatorProfileDoc {
|
|
|
5330
5396
|
followCount: number;
|
|
5331
5397
|
}
|
|
5332
5398
|
declare type CreatorUpdateProfileDTO_base = Pick<CreatorProfileDto, "description" | "profile" | "socials">;
|
|
5333
|
-
declare type CreatorUpdateProfileDTO = CreatorUpdateProfileDTO_base
|
|
5399
|
+
declare type CreatorUpdateProfileDTO = CreatorUpdateProfileDTO_base ;
|
|
5400
|
+
declare const CreatorUpdateProfileDTONest_base: _nestjs_common.Type<Pick<CreatorProfileDto, "description" | "profile" | "socials">>;
|
|
5401
|
+
export declare class CreatorUpdateProfileDTONest extends CreatorUpdateProfileDTONest_base {
|
|
5402
|
+
}
|
|
5334
5403
|
|
|
5335
5404
|
declare class EditUserCreatorProfileDto {
|
|
5336
5405
|
description?: string;
|
|
@@ -5374,7 +5443,10 @@ declare class UserProfileDto extends UserProfileDoc {
|
|
|
5374
5443
|
userSettings: UserSettingsDto;
|
|
5375
5444
|
}
|
|
5376
5445
|
declare type UserUpdateDTO_base = Pick<UserProfileDto, "description" | "profile" | "socials">;
|
|
5377
|
-
declare type UserUpdateDTO = UserUpdateDTO_base
|
|
5446
|
+
declare type UserUpdateDTO = UserUpdateDTO_base ;
|
|
5447
|
+
declare const UserUpdateDTONest_base: _nestjs_common.Type<Pick<UserProfileDto, "description" | "profile" | "socials">>;
|
|
5448
|
+
export declare class UserUpdateDTONest extends UserUpdateDTONest_base {
|
|
5449
|
+
}
|
|
5378
5450
|
|
|
5379
5451
|
declare class SetEmailDto {
|
|
5380
5452
|
readonly enabled: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { CollectionInfoDto } from './collection-info.dto';
|
|
2
2
|
import { EgldOrEsdtTokenPayment } from '../../common/tokenPayent';
|
|
3
|
+
import { SocialsDto } from '../../common/socials';
|
|
3
4
|
export declare class MintStageDto {
|
|
4
5
|
dataType: string;
|
|
5
6
|
collection: string;
|
|
@@ -18,6 +19,7 @@ export declare class MintStageDto {
|
|
|
18
19
|
_ts: number;
|
|
19
20
|
walletLimitReached: boolean;
|
|
20
21
|
maxBuyable: number | null;
|
|
22
|
+
constructor(props?: Partial<MintStageDto>);
|
|
21
23
|
}
|
|
22
24
|
export declare class CreatorInfoDto {
|
|
23
25
|
name: string;
|
|
@@ -28,6 +30,7 @@ export declare class CreatorInfoDto {
|
|
|
28
30
|
banner: string;
|
|
29
31
|
joinedDate: number;
|
|
30
32
|
creatorTag: string;
|
|
33
|
+
socials?: SocialsDto;
|
|
31
34
|
}
|
|
32
35
|
export declare class DropInfoDto {
|
|
33
36
|
collection: string;
|
|
@@ -14,7 +14,11 @@ exports.DropInfoDto = exports.CreatorInfoDto = exports.MintStageDto = void 0;
|
|
|
14
14
|
const swagger_1 = require("@nestjs/swagger");
|
|
15
15
|
const collection_info_dto_1 = require("./collection-info.dto");
|
|
16
16
|
const tokenPayent_1 = require("../../common/tokenPayent");
|
|
17
|
+
const socials_1 = require("../../common/socials");
|
|
17
18
|
class MintStageDto {
|
|
19
|
+
constructor(props) {
|
|
20
|
+
Object.assign(this, props);
|
|
21
|
+
}
|
|
18
22
|
}
|
|
19
23
|
exports.MintStageDto = MintStageDto;
|
|
20
24
|
__decorate([
|
|
@@ -128,6 +132,10 @@ __decorate([
|
|
|
128
132
|
(0, swagger_1.ApiProperty)({ example: 'MiceCityClub' }),
|
|
129
133
|
__metadata("design:type", String)
|
|
130
134
|
], CreatorInfoDto.prototype, "creatorTag", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
(0, swagger_1.ApiProperty)({ description: 'Creator social media links', required: false }),
|
|
137
|
+
__metadata("design:type", socials_1.SocialsDto)
|
|
138
|
+
], CreatorInfoDto.prototype, "socials", void 0);
|
|
131
139
|
class DropInfoDto {
|
|
132
140
|
}
|
|
133
141
|
exports.DropInfoDto = DropInfoDto;
|