@xoxno/sdk-js 1.0.79 → 1.0.84
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/README.md +63 -0
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/dist/interactor.cjs.js +1 -1
- package/dist/interactor.esm.js +1 -1
- package/dist/sdk/swagger.d.ts +131 -1
- package/package.json +2 -2
package/dist/sdk/swagger.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { AirdropDtoHydrated, AnalyticsMarketplaceUniqueUsers, AnalyticsVolumeDto, AnsweredQuestionWithDetails, ArdaSwapResultDto, BageQRData, ChatMessageDocHydrated, ChatMessagePaginated, CheckLikeStatusResponseDto, CollectionHoldersDto, CollectionHoldersExportDto, CollectionMintProfileDocHydrated, CollectionMintProfileDocWithStages, CollectionMintProfileFilter, CollectionMintProfilePaginated, CollectionOffersFilter, CollectionOwnerDto, CollectionPinnedStatusDto, CollectionProfileDoc, CollectionProfileEditDto, CollectionProfileFilter, CollectionProfilePaginated, CollectionRanksDTO, CollectionStatsDocHydrated, CollectionStatsFilter, CollectionStatsPaginated, CreatorDetailsDto, CreatorMarketingNotificationDto, CreatorProfileDoc, CreatorProfileDto, CreatorProfileEditDto, DelegationDataOutput, DiscountCodeValidationResponse, EventAcceptInvitation, EventCheckInQR, EventClaimInvitationDto, EventCountGroupedByCountry, EventGuestApproveDto, EventGuestExport, EventGuestFilter, EventGuestProfile, EventGuestProfileQuery, EventGuestRegistrationDto, EventInvitation, EventInvitationCreateDto, EventInvitationDoc, EventInvitationFilter, EventInvitationQuery, EventNotificationDto, EventProfile, EventProfileCreateDto, EventProfileEditDto, EventProfileFilter, EventProfileQuery, EventQuestionCreateDto, EventQuestionDoc, EventQuestionEditDto, EventReferralConfigCreateDto, EventReferralConfigDoc, EventReferralConfigEditDto, EventReferralConfigFilter, EventReferralConfigPaginated, EventReferralCreateDto, EventReferralDoc, EventReferralEditDto, EventReferralFilter, EventReferralPaginated, EventRegistrationResponseDto, EventStageProfileCreateDto, EventStageProfileDoc, EventStageProfileEditDto, EventTicketProfileCreateDto, EventTicketProfileDoc, EventTicketProfileEditDto, EventUserRole, EventUserRoleCreateDto, EventUserRoleDoc, EventUserRoleEditDto, EventVoucherCreateDto, EventVoucherDoc, EventVoucherEditDto, EventVoucherFilter, EventVoucherQuery, FetchSwapRoutesResponseDto, FilterQueryDto, FloorPriceDto, FollowCollectionDto, GlobalAnalyticsOverviewResponseDto, GlobalConversationSummaryDto, GlobalOfferPaginated, GlobalSearchResourcesPaginated, InventorySummaryDtoHydrated, LendingAccountPnl, LendingAccountProfile, LendingAccountSummary, LendingEModeCategoryProfile, LendingIndexesDto, LendingMarketAnalyticsGraph, LendingMarketAverageGraph, LendingMarketProfile, LendingMarketProfileFilter, LendingMarketProfileQuery, LendingNftAttributes, LendingOverallStats, LendingPositionStatus, LendingTokenPriceDto, LikeNftDto, ListingsResponseDto, LoginAccessDto, LoginRequestDto, ManualCheckInDto, MobileDeviceDoc, MobileDeviceRegistrationDto, NativeWalletDto, NftActivityDocHydrated, NftActivityFilter, NftActivityPaginated, NftDocFilter, NftDocFull, NftDocHydrated, NftOfferDocFilter, NftOfferDocHydrated, NftOfferPaginated, NftPaginated, NotificationDoc, NotificationPaginated, NotificationPreferencesPostDto, NotificationSuccessResponseDto, OwnedCollectionsDto, OwnedServicesDto, PinnedCollectionDto, ProtocolAprType, ProviderDto, PublicOnly, PushNotificationCountResponse, PushNotificationDoc, PushNotificationResponse, RateType, SendChatMessageDto, SetEmailDto, SetPhoneDto, ShareholderDto, SignAcceptGlobalOfferDto, SignDataDto, SignMintDto, SignWithdrawDto, StakingCreatorDoc, StakingEditDto, StakingExploreDtoHydrated, StakingPoolDoc, StakingSummary, StakingUserPoolNfts, SuccessDto, SuccessWithMessageDto, SwitchWalletDto, TicketCalculationRequestDto, TicketPricesResponse, TicketValidationResult, TokenDataDocHydrated, TradesilvaniaSignature, TraitInfo, TransactionCostData, TransactionCreate, TransactionDetailed, TransactionProcessStatus, TransactionSendResult, UserAnalyticsDto, UserBillingDetails, UserBlockPaginated, UserConversationPaginated, UserFavoriteResponseDto, UserInfo, UserNetworkInfoDto, UserProfileDoc, UserProfileDto, UserProfileEditDto, UserSettingsDoc, UserStakingSummaryDto, UserStatsDto, UserTokenInventoryResponseDto, ValueFp, VerifyEmailDto, VolumeGraph, Web2UserDoc, Web2UserShardsDto, Web2WalletDto, WebSocketTokenDto, XoxnoInfo, XoxnoLiquidStatsDto } from '@xoxno/types';
|
|
1
|
+
import type { ActivePerpAssetCtx, ActiveSpotAssetCtx, AirdropDtoHydrated, AnalyticsMarketplaceUniqueUsers, AnalyticsVolumeDto, AnsweredQuestionWithDetails, ArdaSwapResultDto, BageQRData, BarDto, ChatMessageDocHydrated, ChatMessagePaginated, CheckLikeStatusResponseDto, CollectionHoldersDto, CollectionHoldersExportDto, CollectionMintProfileDocHydrated, CollectionMintProfileDocWithStages, CollectionMintProfileFilter, CollectionMintProfilePaginated, CollectionOffersFilter, CollectionOwnerDto, CollectionPinnedStatusDto, CollectionProfileDoc, CollectionProfileEditDto, CollectionProfileFilter, CollectionProfilePaginated, CollectionRanksDTO, CollectionStatsDocHydrated, CollectionStatsFilter, CollectionStatsPaginated, CreatorDetailsDto, CreatorMarketingNotificationDto, CreatorProfileDoc, CreatorProfileDto, CreatorProfileEditDto, DelegationDataOutput, DiscountCodeValidationResponse, EventAcceptInvitation, EventCheckInQR, EventClaimInvitationDto, EventCountGroupedByCountry, EventGuestApproveDto, EventGuestExport, EventGuestFilter, EventGuestProfile, EventGuestProfileQuery, EventGuestRegistrationDto, EventInvitation, EventInvitationCreateDto, EventInvitationDoc, EventInvitationFilter, EventInvitationQuery, EventNotificationDto, EventProfile, EventProfileCreateDto, EventProfileEditDto, EventProfileFilter, EventProfileQuery, EventQuestionCreateDto, EventQuestionDoc, EventQuestionEditDto, EventReferralConfigCreateDto, EventReferralConfigDoc, EventReferralConfigEditDto, EventReferralConfigFilter, EventReferralConfigPaginated, EventReferralCreateDto, EventReferralDoc, EventReferralEditDto, EventReferralFilter, EventReferralPaginated, EventRegistrationResponseDto, EventStageProfileCreateDto, EventStageProfileDoc, EventStageProfileEditDto, EventTicketProfileCreateDto, EventTicketProfileDoc, EventTicketProfileEditDto, EventUserRole, EventUserRoleCreateDto, EventUserRoleDoc, EventUserRoleEditDto, EventVoucherCreateDto, EventVoucherDoc, EventVoucherEditDto, EventVoucherFilter, EventVoucherQuery, FetchSwapRoutesResponseDto, FilterQueryDto, FloorPriceDto, FollowCollectionDto, GlobalAnalyticsOverviewResponseDto, GlobalConversationSummaryDto, GlobalOfferPaginated, GlobalSearchResourcesPaginated, InventorySummaryDtoHydrated, L2BookPerpResponseSingle, LendingAccountPnl, LendingAccountProfile, LendingAccountSummary, LendingEModeCategoryProfile, LendingIndexesDto, LendingMarketAnalyticsGraph, LendingMarketAverageGraph, LendingMarketProfile, LendingMarketProfileFilter, LendingMarketProfileQuery, LendingNftAttributes, LendingOverallStats, LendingPositionStatus, LendingTokenPriceDto, LikeNftDto, ListingsResponseDto, LoginAccessDto, LoginRequestDto, ManualCheckInDto, MobileDeviceDoc, MobileDeviceRegistrationDto, NativeWalletDto, NftActivityDocHydrated, NftActivityFilter, NftActivityPaginated, NftDocFilter, NftDocFull, NftDocHydrated, NftOfferDocFilter, NftOfferDocHydrated, NftOfferPaginated, NftPaginated, NotificationDoc, NotificationPaginated, NotificationPreferencesPostDto, NotificationSuccessResponseDto, OwnedCollectionsDto, OwnedServicesDto, PerpCoinExtended, PerpCoinExtendedSlim, PerpEvent, PerpLegalCheck, PerpOrderResponse, PerpSpotCoinExtended, PerpSpotCoinExtendedSlim, PinnedCollectionDto, ProtocolAprType, ProviderDto, PublicOnly, PushNotificationCountResponse, PushNotificationDoc, PushNotificationResponse, RateType, SendChatMessageDto, SetEmailDto, SetPhoneDto, ShareholderDto, SignAcceptGlobalOfferDto, SignDataDto, SignMintDto, SignWithdrawDto, StakingCreatorDoc, StakingEditDto, StakingExploreDtoHydrated, StakingPoolDoc, StakingSummary, StakingUserPoolNfts, SuccessDto, SuccessWithMessageDto, SwitchWalletDto, SymbolInfoDto, TicketCalculationRequestDto, TicketPricesResponse, TicketValidationResult, TokenDataDocHydrated, TradesilvaniaSignature, TradesPerpResponseSingle, TraitInfo, TransactionCostData, TransactionCreate, TransactionDetailed, TransactionProcessStatus, TransactionSendResult, UserAnalyticsDto, UserBillingDetails, UserBlockPaginated, UserConversationPaginated, UserFavoriteResponseDto, UserInfo, UserNetworkInfoDto, UserProfileDoc, UserProfileDto, UserProfileEditDto, UserSettingsDoc, UserStakingSummaryDto, UserStatsDto, UserTokenInventoryResponseDto, ValueFp, VerifyEmailDto, VolumeGraph, Web2UserDoc, Web2UserShardsDto, Web2WalletDto, WebSocketTokenDto, XoxnoInfo, XoxnoLiquidStatsDto } from '@xoxno/types';
|
|
2
2
|
import type { ActivityChain, KustoOrderDirection, LendingPositionOrderByColumn, OfferType, StakingStatus, TokenCategory, UserStatsOrderByColumn } from '@xoxno/types/enums';
|
|
3
3
|
export declare const endpoints: {
|
|
4
4
|
readonly '/user/:address/network-account': {
|
|
@@ -916,6 +916,14 @@ export declare const endpoints: {
|
|
|
916
916
|
readonly input: {};
|
|
917
917
|
readonly output: LendingNftAttributes[];
|
|
918
918
|
};
|
|
919
|
+
readonly '/lending/liquidate': {
|
|
920
|
+
readonly input: {};
|
|
921
|
+
readonly output: Record<string, number>;
|
|
922
|
+
};
|
|
923
|
+
readonly '/lending/sync-account-positions': {
|
|
924
|
+
readonly input: {};
|
|
925
|
+
readonly output: LendingNftAttributes[];
|
|
926
|
+
};
|
|
919
927
|
readonly '/lending/market/:token/price/egld': {
|
|
920
928
|
readonly input: {};
|
|
921
929
|
readonly output: LendingTokenPriceDto;
|
|
@@ -1079,6 +1087,128 @@ export declare const endpoints: {
|
|
|
1079
1087
|
readonly securityMode: "requiredAny";
|
|
1080
1088
|
};
|
|
1081
1089
|
};
|
|
1090
|
+
readonly '/perp/exchange/acceptTerms': {
|
|
1091
|
+
readonly input: {};
|
|
1092
|
+
readonly output: {};
|
|
1093
|
+
readonly POST: {
|
|
1094
|
+
readonly input: {};
|
|
1095
|
+
readonly output: SuccessDto;
|
|
1096
|
+
readonly body: {};
|
|
1097
|
+
readonly securityMode: "requiredAny";
|
|
1098
|
+
};
|
|
1099
|
+
};
|
|
1100
|
+
readonly '/perp/exchange/sendAsset': {
|
|
1101
|
+
readonly input: {};
|
|
1102
|
+
readonly output: {};
|
|
1103
|
+
readonly POST: {
|
|
1104
|
+
readonly input: {};
|
|
1105
|
+
readonly output: SuccessDto;
|
|
1106
|
+
readonly body: {};
|
|
1107
|
+
readonly securityMode: "requiredAny";
|
|
1108
|
+
};
|
|
1109
|
+
};
|
|
1110
|
+
readonly '/perp/exchange/sendExternalAsset': {
|
|
1111
|
+
readonly input: {};
|
|
1112
|
+
readonly output: {};
|
|
1113
|
+
readonly POST: {
|
|
1114
|
+
readonly input: {};
|
|
1115
|
+
readonly output: SuccessDto;
|
|
1116
|
+
readonly body: {};
|
|
1117
|
+
readonly securityMode: "requiredAny";
|
|
1118
|
+
};
|
|
1119
|
+
};
|
|
1120
|
+
readonly '/perp/exchange/deposit': {
|
|
1121
|
+
readonly input: {};
|
|
1122
|
+
readonly output: {};
|
|
1123
|
+
readonly POST: {
|
|
1124
|
+
readonly input: {};
|
|
1125
|
+
readonly output: SuccessDto;
|
|
1126
|
+
readonly body: {};
|
|
1127
|
+
readonly securityMode: "requiredAny";
|
|
1128
|
+
};
|
|
1129
|
+
};
|
|
1130
|
+
readonly '/perp/exchange/withdraw': {
|
|
1131
|
+
readonly input: {};
|
|
1132
|
+
readonly output: {};
|
|
1133
|
+
readonly POST: {
|
|
1134
|
+
readonly input: {};
|
|
1135
|
+
readonly output: SuccessDto;
|
|
1136
|
+
readonly body: {};
|
|
1137
|
+
readonly securityMode: "requiredAny";
|
|
1138
|
+
};
|
|
1139
|
+
};
|
|
1140
|
+
readonly '/perp/exchange/order': {
|
|
1141
|
+
readonly input: {};
|
|
1142
|
+
readonly output: {};
|
|
1143
|
+
readonly POST: {
|
|
1144
|
+
readonly input: {};
|
|
1145
|
+
readonly output: PerpOrderResponse;
|
|
1146
|
+
readonly body: {};
|
|
1147
|
+
readonly securityMode: "requiredAny";
|
|
1148
|
+
};
|
|
1149
|
+
};
|
|
1150
|
+
readonly '/tradingview/bars/:symbol': {
|
|
1151
|
+
readonly input: {};
|
|
1152
|
+
readonly output: BarDto[];
|
|
1153
|
+
};
|
|
1154
|
+
readonly '/tradingview/coin/:symbol': {
|
|
1155
|
+
readonly input: {};
|
|
1156
|
+
readonly output: SymbolInfoDto[];
|
|
1157
|
+
};
|
|
1158
|
+
readonly '/perp/coin/:symbol': {
|
|
1159
|
+
readonly input: {};
|
|
1160
|
+
readonly output: PerpCoinExtended[];
|
|
1161
|
+
};
|
|
1162
|
+
readonly '/perp/coin/spot/:symbol': {
|
|
1163
|
+
readonly input: {};
|
|
1164
|
+
readonly output: PerpSpotCoinExtended[];
|
|
1165
|
+
};
|
|
1166
|
+
readonly '/perp/coins': {
|
|
1167
|
+
readonly input: {};
|
|
1168
|
+
readonly output: PerpCoinExtendedSlim[];
|
|
1169
|
+
};
|
|
1170
|
+
readonly '/perp/legal-check/:address': {
|
|
1171
|
+
readonly input: {};
|
|
1172
|
+
readonly output: PerpLegalCheck;
|
|
1173
|
+
};
|
|
1174
|
+
readonly '/perp/coins/spot': {
|
|
1175
|
+
readonly input: {};
|
|
1176
|
+
readonly output: PerpSpotCoinExtendedSlim[];
|
|
1177
|
+
};
|
|
1178
|
+
readonly '/perp/orderbook/:symbol': {
|
|
1179
|
+
readonly input: {};
|
|
1180
|
+
readonly output: L2BookPerpResponseSingle[];
|
|
1181
|
+
};
|
|
1182
|
+
readonly '/perp/trades/:symbol': {
|
|
1183
|
+
readonly input: {};
|
|
1184
|
+
readonly output: TradesPerpResponseSingle[];
|
|
1185
|
+
};
|
|
1186
|
+
readonly '/perp/stats/spot/:symbol': {
|
|
1187
|
+
readonly input: {};
|
|
1188
|
+
readonly output: ActiveSpotAssetCtx[];
|
|
1189
|
+
};
|
|
1190
|
+
readonly '/perp/stats/:symbol': {
|
|
1191
|
+
readonly input: {};
|
|
1192
|
+
readonly output: ActivePerpAssetCtx[];
|
|
1193
|
+
};
|
|
1194
|
+
readonly '/perp/subscribe': {
|
|
1195
|
+
readonly input: {};
|
|
1196
|
+
readonly output: {};
|
|
1197
|
+
readonly POST: {
|
|
1198
|
+
readonly input: {};
|
|
1199
|
+
readonly output: SuccessDto;
|
|
1200
|
+
readonly body: PerpEvent;
|
|
1201
|
+
};
|
|
1202
|
+
};
|
|
1203
|
+
readonly '/perp/unsubscribe': {
|
|
1204
|
+
readonly input: {};
|
|
1205
|
+
readonly output: {};
|
|
1206
|
+
readonly POST: {
|
|
1207
|
+
readonly input: {};
|
|
1208
|
+
readonly output: SuccessDto;
|
|
1209
|
+
readonly body: PerpEvent;
|
|
1210
|
+
};
|
|
1211
|
+
};
|
|
1082
1212
|
readonly '/activity/query': {
|
|
1083
1213
|
readonly input: {
|
|
1084
1214
|
filter: PublicOnly<NftActivityFilter>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@xoxno/sdk-js",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.84",
|
|
4
4
|
"description": "The SDK to interact with the XOXNO Protocol!",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -104,6 +104,6 @@
|
|
|
104
104
|
"dependencies": {
|
|
105
105
|
"@multiversx/sdk-core": "^13.17.2",
|
|
106
106
|
"@multiversx/sdk-network-providers": "^2.9.3",
|
|
107
|
-
"@xoxno/types": "^1.0.
|
|
107
|
+
"@xoxno/types": "^1.0.366"
|
|
108
108
|
}
|
|
109
109
|
}
|