@xoxno/sdk-js 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.
@@ -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,10 @@ 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
+ };
919
923
  readonly '/lending/market/:token/price/egld': {
920
924
  readonly input: {};
921
925
  readonly output: LendingTokenPriceDto;
@@ -1079,6 +1083,128 @@ export declare const endpoints: {
1079
1083
  readonly securityMode: "requiredAny";
1080
1084
  };
1081
1085
  };
1086
+ readonly '/perp/exchange/acceptTerms': {
1087
+ readonly input: {};
1088
+ readonly output: {};
1089
+ readonly POST: {
1090
+ readonly input: {};
1091
+ readonly output: SuccessDto;
1092
+ readonly body: {};
1093
+ readonly securityMode: "requiredAny";
1094
+ };
1095
+ };
1096
+ readonly '/perp/exchange/sendAsset': {
1097
+ readonly input: {};
1098
+ readonly output: {};
1099
+ readonly POST: {
1100
+ readonly input: {};
1101
+ readonly output: SuccessDto;
1102
+ readonly body: {};
1103
+ readonly securityMode: "requiredAny";
1104
+ };
1105
+ };
1106
+ readonly '/perp/exchange/sendExternalAsset': {
1107
+ readonly input: {};
1108
+ readonly output: {};
1109
+ readonly POST: {
1110
+ readonly input: {};
1111
+ readonly output: SuccessDto;
1112
+ readonly body: {};
1113
+ readonly securityMode: "requiredAny";
1114
+ };
1115
+ };
1116
+ readonly '/perp/exchange/deposit': {
1117
+ readonly input: {};
1118
+ readonly output: {};
1119
+ readonly POST: {
1120
+ readonly input: {};
1121
+ readonly output: SuccessDto;
1122
+ readonly body: {};
1123
+ readonly securityMode: "requiredAny";
1124
+ };
1125
+ };
1126
+ readonly '/perp/exchange/withdraw': {
1127
+ readonly input: {};
1128
+ readonly output: {};
1129
+ readonly POST: {
1130
+ readonly input: {};
1131
+ readonly output: SuccessDto;
1132
+ readonly body: {};
1133
+ readonly securityMode: "requiredAny";
1134
+ };
1135
+ };
1136
+ readonly '/perp/exchange/order': {
1137
+ readonly input: {};
1138
+ readonly output: {};
1139
+ readonly POST: {
1140
+ readonly input: {};
1141
+ readonly output: PerpOrderResponse;
1142
+ readonly body: {};
1143
+ readonly securityMode: "requiredAny";
1144
+ };
1145
+ };
1146
+ readonly '/tradingview/bars/:symbol': {
1147
+ readonly input: {};
1148
+ readonly output: BarDto[];
1149
+ };
1150
+ readonly '/tradingview/coin/:symbol': {
1151
+ readonly input: {};
1152
+ readonly output: SymbolInfoDto[];
1153
+ };
1154
+ readonly '/perp/coin/:symbol': {
1155
+ readonly input: {};
1156
+ readonly output: PerpCoinExtended[];
1157
+ };
1158
+ readonly '/perp/coin/spot/:symbol': {
1159
+ readonly input: {};
1160
+ readonly output: PerpSpotCoinExtended[];
1161
+ };
1162
+ readonly '/perp/coins': {
1163
+ readonly input: {};
1164
+ readonly output: PerpCoinExtendedSlim[];
1165
+ };
1166
+ readonly '/perp/legal-check/:address': {
1167
+ readonly input: {};
1168
+ readonly output: PerpLegalCheck;
1169
+ };
1170
+ readonly '/perp/coins/spot': {
1171
+ readonly input: {};
1172
+ readonly output: PerpSpotCoinExtendedSlim[];
1173
+ };
1174
+ readonly '/perp/orderbook/:symbol': {
1175
+ readonly input: {};
1176
+ readonly output: L2BookPerpResponseSingle[];
1177
+ };
1178
+ readonly '/perp/trades/:symbol': {
1179
+ readonly input: {};
1180
+ readonly output: TradesPerpResponseSingle[];
1181
+ };
1182
+ readonly '/perp/stats/spot/:symbol': {
1183
+ readonly input: {};
1184
+ readonly output: ActiveSpotAssetCtx[];
1185
+ };
1186
+ readonly '/perp/stats/:symbol': {
1187
+ readonly input: {};
1188
+ readonly output: ActivePerpAssetCtx[];
1189
+ };
1190
+ readonly '/perp/subscribe': {
1191
+ readonly input: {};
1192
+ readonly output: {};
1193
+ readonly POST: {
1194
+ readonly input: {};
1195
+ readonly output: SuccessDto;
1196
+ readonly body: PerpEvent;
1197
+ };
1198
+ };
1199
+ readonly '/perp/unsubscribe': {
1200
+ readonly input: {};
1201
+ readonly output: {};
1202
+ readonly POST: {
1203
+ readonly input: {};
1204
+ readonly output: SuccessDto;
1205
+ readonly body: PerpEvent;
1206
+ };
1207
+ };
1082
1208
  readonly '/activity/query': {
1083
1209
  readonly input: {
1084
1210
  filter: PublicOnly<NftActivityFilter>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/sdk-js",
3
- "version": "1.0.79",
3
+ "version": "1.0.81",
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.263"
107
+ "@xoxno/types": "^1.0.366"
108
108
  }
109
109
  }