@xoxno/sdk-js 1.0.130 → 1.0.131

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 { PublicOnly, RateType, LoginAccessDto, LoginRequestDto, UserNetworkInfoDto, UserTokenInventoryResponseDto, UserProfileDoc, UserProfileEditDto, UserProfileDto, UserSettingsDoc, NotificationPreferencesPostDto, SetEmailDto, SetPhoneDto, UserBillingDetails, VerifyEmailDto, TradesilvaniaSignature, SuccessDto, CreatorProfileDto, CreatorProfileDoc, CreatorProfileEditDto, CollectionStatsFilter, CollectionStatsPaginated, CheckLikeStatusResponseDto, UserFavoriteResponseDto, TokenDataDocHydrated, XoxnoInfo, XoxnoLiquidStatsDto, AnalyticsMarketplaceUniqueUsers, ProtocolAprType, ProviderDto, DelegationDataOutput, LendingMarketProfile, LendingMarketProfileFilter, LendingMarketProfileQuery, LendingAccountProfile, LendingIndexesDto, LendingAccountPnl, LendingAccountSummary, LendingEModeCategoryProfile, LendingMarketAnalyticsGraph, LendingMarketAverageGraph, LendingPositionStatus, LendingOverallStats, NftDocFilter, NftPaginated, LikeNftDto, InventorySummaryDtoHydrated, NftOfferPaginated, NftOfferDocFilter, NftOfferDocHydrated, ValueFp, TraitInfo, CollectionRanksDTO, ListingsResponseDto, NftDocHydrated, SignDataDto, SignWithdrawDto, SignAcceptGlobalOfferDto, SignMintDto, NftDocFull, CollectionProfileDoc, CollectionProfileEditDto, FloorPriceDto, PinnedCollectionDto, CollectionMintProfileDocHydrated, CollectionPinnedStatusDto, FollowCollectionDto, CollectionProfileFilter, CollectionProfilePaginated, CollectionMintProfileFilter, CollectionMintProfilePaginated, CollectionMintProfileDocWithStages, CollectionHoldersDto, CollectionHoldersExportDto, CollectionOwnerDto, CollectionStatsDocHydrated, CollectionOffersFilter, GlobalOfferPaginated, CreatorDetailsDto, ShareholderDto, StakingSummary, StakingPoolDoc, StakingEditDto, OwnedCollectionsDto, UserStakingSummaryDto, StakingCreatorDoc, StakingUserPoolNfts, StakingExploreDtoHydrated, OwnedServicesDto, FilterQueryDto, GlobalSearchResourcesPaginated, LendingNftAttributes, LendingTokenPriceDto, NotificationPaginated, PushNotificationCountResponse, NotificationDoc, MobileDeviceDoc, MobileDeviceRegistrationDto, PushNotificationResponse, PushNotificationDoc, NotificationSuccessResponseDto, EventNotificationDto, CreatorMarketingNotificationDto, StellarChallengeResponseDto, Web2UserDoc, SuccessWithMessageDto, NativeWalletDto, SwitchWalletDto, Web2WalletDto, Web2UserShardsDto, NftActivityFilter, NftActivityPaginated, NftActivityDocHydrated, VolumeGraph, AnalyticsVolumeDto, UserAnalyticsDto, GlobalAnalyticsOverviewResponseDto, UserStatsDto, AirdropDtoHydrated, TransactionDetailed, TransactionProcessStatus, TransactionCostData, TransactionCreate, TransactionSendResult, PerpOrderResponse, BarDto, SymbolInfoDto, PerpCoinExtended, PerpSpotCoinExtended, PerpCoinExtendedSlim, PerpLegalCheck, PerpSpotCoinExtendedSlim, L2BookPerpResponseSingle, TradesPerpResponseSingle, ActiveSpotAssetCtx, ActivePerpAssetCtx, PerpEvent, ChatMessageDocHydrated, SendChatMessageDto, UserConversationPaginated, ChatMessagePaginated, GlobalConversationSummaryDto, UserBlockPaginated, WebSocketTokenDto, UserInfo, EventProfile, EventProfileCreateDto, EventProfileEditDto, EventProfileFilter, EventProfileQuery, EventRegistrationResponseDto, EventGuestRegistrationDto, EventTicketProfileDoc, EventTicketProfileCreateDto, EventTicketProfileEditDto, EventStageProfileDoc, EventStageProfileCreateDto, EventStageProfileEditDto, TicketPricesResponse, TicketCalculationRequestDto, DiscountCodeValidationResponse, EventInvitationDoc, EventInvitationCreateDto, EventInvitationFilter, EventInvitationQuery, EventInvitation, EventAcceptInvitation, EventClaimInvitationDto, EventVoucherFilter, EventVoucherQuery, EventQuestionDoc, EventQuestionCreateDto, EventQuestionEditDto, EventGuestFilter, EventGuestProfileQuery, EventGuestProfile, EventGuestExport, EventUserRole, EventUserRoleCreateDto, EventUserRoleEditDto, EventUserRoleDoc, BageQRData, TicketValidationResult, EventCheckInQR, EventVoucherDoc, EventVoucherCreateDto, EventVoucherEditDto, ManualCheckInDto, AnsweredQuestionWithDetails, EventGuestApproveDto, EventCountGroupedByCountry, EventReferralConfigDoc, EventReferralConfigCreateDto, EventReferralConfigEditDto, EventReferralConfigFilter, EventReferralConfigPaginated, EventReferralDoc, EventReferralCreateDto, EventReferralEditDto, EventReferralFilter, EventReferralPaginated, SoroswapQuoteResponseDto } from '@xoxno/types';
1
+ import type { PublicOnly, RateType, LoginAccessDto, LoginRequestDto, UserNetworkInfoDto, UserTokenInventoryResponseDto, UserProfileDoc, UserProfileEditDto, UserProfileDto, UserSettingsDoc, NotificationPreferencesPostDto, SetEmailDto, SetPhoneDto, UserBillingDetails, VerifyEmailDto, TradesilvaniaSignature, SuccessDto, CreatorProfileDto, CreatorProfileDoc, CreatorProfileEditDto, CollectionStatsFilter, CollectionStatsPaginated, CheckLikeStatusResponseDto, UserFavoriteResponseDto, TokenDataDocHydrated, XoxnoInfo, XoxnoLiquidStatsDto, AnalyticsMarketplaceUniqueUsers, ProtocolAprType, ProviderDto, DelegationDataOutput, LendingMarketProfile, LendingMarketProfileFilter, LendingMarketProfileQuery, LendingGovernanceProposalFilter, LendingGovernanceProposalQuery, LendingGovernanceProposalDoc, LendingAccountProfile, LendingIndexesDto, LendingAccountPnl, LendingAccountSummary, LendingEModeCategoryProfile, LendingMarketAnalyticsGraph, LendingMarketAverageGraph, LendingPositionStatus, LendingOverallStats, NftDocFilter, NftPaginated, LikeNftDto, InventorySummaryDtoHydrated, NftOfferPaginated, NftOfferDocFilter, NftOfferDocHydrated, ValueFp, TraitInfo, CollectionRanksDTO, ListingsResponseDto, NftDocHydrated, SignDataDto, SignWithdrawDto, SignAcceptGlobalOfferDto, SignMintDto, NftDocFull, CollectionProfileDoc, CollectionProfileEditDto, FloorPriceDto, PinnedCollectionDto, CollectionMintProfileDocHydrated, CollectionPinnedStatusDto, FollowCollectionDto, CollectionProfileFilter, CollectionProfilePaginated, CollectionMintProfileFilter, CollectionMintProfilePaginated, CollectionMintProfileDocWithStages, CollectionHoldersDto, CollectionHoldersExportDto, CollectionOwnerDto, CollectionStatsDocHydrated, CollectionOffersFilter, GlobalOfferPaginated, CreatorDetailsDto, ShareholderDto, StakingSummary, StakingPoolDoc, StakingEditDto, OwnedCollectionsDto, UserStakingSummaryDto, StakingCreatorDoc, StakingUserPoolNfts, StakingExploreDtoHydrated, OwnedServicesDto, FilterQueryDto, GlobalSearchResourcesPaginated, LendingNftAttributes, LendingTokenPriceDto, NotificationPaginated, PushNotificationCountResponse, NotificationDoc, MobileDeviceDoc, MobileDeviceRegistrationDto, PushNotificationResponse, PushNotificationDoc, NotificationSuccessResponseDto, EventNotificationDto, CreatorMarketingNotificationDto, StellarChallengeResponseDto, Web2UserDoc, SuccessWithMessageDto, NativeWalletDto, SwitchWalletDto, Web2WalletDto, Web2UserShardsDto, NftActivityFilter, NftActivityPaginated, NftActivityDocHydrated, VolumeGraph, AnalyticsVolumeDto, UserAnalyticsDto, GlobalAnalyticsOverviewResponseDto, UserStatsDto, AirdropDtoHydrated, TransactionDetailed, TransactionProcessStatus, TransactionCostData, TransactionCreate, TransactionSendResult, ChatMessageDocHydrated, SendChatMessageDto, UserConversationPaginated, ChatMessagePaginated, GlobalConversationSummaryDto, UserBlockPaginated, WebSocketTokenDto, UserInfo, EventProfile, EventProfileCreateDto, EventProfileEditDto, EventProfileFilter, EventProfileQuery, EventRegistrationResponseDto, EventGuestRegistrationDto, EventTicketProfileDoc, EventTicketProfileCreateDto, EventTicketProfileEditDto, EventStageProfileDoc, EventStageProfileCreateDto, EventStageProfileEditDto, TicketPricesResponse, TicketCalculationRequestDto, DiscountCodeValidationResponse, EventInvitationDoc, EventInvitationCreateDto, EventInvitationFilter, EventInvitationQuery, EventInvitation, EventAcceptInvitation, EventClaimInvitationDto, EventVoucherFilter, EventVoucherQuery, EventQuestionDoc, EventQuestionCreateDto, EventQuestionEditDto, EventGuestFilter, EventGuestProfileQuery, EventGuestProfile, EventGuestExport, EventUserRole, EventUserRoleCreateDto, EventUserRoleEditDto, EventUserRoleDoc, BageQRData, TicketValidationResult, EventCheckInQR, EventVoucherDoc, EventVoucherCreateDto, EventVoucherEditDto, ManualCheckInDto, AnsweredQuestionWithDetails, EventGuestApproveDto, EventCountGroupedByCountry, EventReferralConfigDoc, EventReferralConfigCreateDto, EventReferralConfigEditDto, EventReferralConfigFilter, EventReferralConfigPaginated, EventReferralDoc, EventReferralCreateDto, EventReferralEditDto, EventReferralFilter, EventReferralPaginated, SoroswapQuoteResponseDto, PerpOrderResponse, BarDto, SymbolInfoDto, PerpCoinExtended, PerpSpotCoinExtended, PerpCoinExtendedSlim, PerpLegalCheck, PerpSpotCoinExtendedSlim, L2BookPerpResponseSingle, TradesPerpResponseSingle, ActiveSpotAssetCtx, ActivePerpAssetCtx, PerpEvent } from '@xoxno/types';
2
2
  import type { ActivityChain, TokenCategory, LendingPositionOrderByColumn, KustoOrderDirection, OfferType, StakingStatus, UserStatsOrderByColumn } from '@xoxno/types/enums';
3
3
  export declare const endpoints: {
4
4
  readonly "/liquid/xoxno/rate": {
@@ -369,6 +369,16 @@ export declare const endpoints: {
369
369
  };
370
370
  readonly output: LendingMarketProfileQuery;
371
371
  };
372
+ readonly "/lending/governance/proposals": {
373
+ readonly input: {
374
+ filter: PublicOnly<LendingGovernanceProposalFilter>;
375
+ };
376
+ readonly output: LendingGovernanceProposalQuery;
377
+ };
378
+ readonly "/lending/governance/proposal/:id": {
379
+ readonly input: {};
380
+ readonly output: LendingGovernanceProposalDoc;
381
+ };
372
382
  readonly "/user/lending/:address": {
373
383
  readonly input: {
374
384
  token?: string;
@@ -376,7 +386,9 @@ export declare const endpoints: {
376
386
  readonly output: LendingAccountProfile[];
377
387
  };
378
388
  readonly "/lending/market/indexes": {
379
- readonly input: {};
389
+ readonly input: {
390
+ chain?: ActivityChain[];
391
+ };
380
392
  readonly output: Record<string, LendingIndexesDto>;
381
393
  };
382
394
  readonly "/user/lending/position/:identifier": {
@@ -1135,6 +1147,16 @@ export declare const endpoints: {
1135
1147
  };
1136
1148
  readonly output: AnalyticsVolumeDto[];
1137
1149
  };
1150
+ readonly "/collections/analytics/volume": {
1151
+ readonly input: {
1152
+ collections: string;
1153
+ startTime?: string;
1154
+ endTime?: string;
1155
+ bin?: string;
1156
+ chain: ActivityChain[];
1157
+ };
1158
+ readonly output: Record<string, AnalyticsVolumeDto[]>;
1159
+ };
1138
1160
  readonly "/user/:address/analytics/volume": {
1139
1161
  readonly input: {};
1140
1162
  readonly output: UserAnalyticsDto;
@@ -1206,128 +1228,6 @@ export declare const endpoints: {
1206
1228
  readonly body: TransactionCreate[];
1207
1229
  };
1208
1230
  };
1209
- readonly "/perp/exchange/acceptTerms": {
1210
- readonly input: {};
1211
- readonly output: {};
1212
- readonly POST: {
1213
- readonly input: {};
1214
- readonly output: SuccessDto;
1215
- readonly body: {};
1216
- readonly securityMode: "requiredAny";
1217
- };
1218
- };
1219
- readonly "/perp/exchange/sendAsset": {
1220
- readonly input: {};
1221
- readonly output: {};
1222
- readonly POST: {
1223
- readonly input: {};
1224
- readonly output: SuccessDto;
1225
- readonly body: {};
1226
- readonly securityMode: "requiredAny";
1227
- };
1228
- };
1229
- readonly "/perp/exchange/sendExternalAsset": {
1230
- readonly input: {};
1231
- readonly output: {};
1232
- readonly POST: {
1233
- readonly input: {};
1234
- readonly output: SuccessDto;
1235
- readonly body: {};
1236
- readonly securityMode: "requiredAny";
1237
- };
1238
- };
1239
- readonly "/perp/exchange/deposit": {
1240
- readonly input: {};
1241
- readonly output: {};
1242
- readonly POST: {
1243
- readonly input: {};
1244
- readonly output: SuccessDto;
1245
- readonly body: {};
1246
- readonly securityMode: "requiredAny";
1247
- };
1248
- };
1249
- readonly "/perp/exchange/withdraw": {
1250
- readonly input: {};
1251
- readonly output: {};
1252
- readonly POST: {
1253
- readonly input: {};
1254
- readonly output: SuccessDto;
1255
- readonly body: {};
1256
- readonly securityMode: "requiredAny";
1257
- };
1258
- };
1259
- readonly "/perp/exchange/order": {
1260
- readonly input: {};
1261
- readonly output: {};
1262
- readonly POST: {
1263
- readonly input: {};
1264
- readonly output: PerpOrderResponse;
1265
- readonly body: {};
1266
- readonly securityMode: "requiredAny";
1267
- };
1268
- };
1269
- readonly "/tradingview/bars/:symbol": {
1270
- readonly input: {};
1271
- readonly output: BarDto[];
1272
- };
1273
- readonly "/tradingview/coin/:symbol": {
1274
- readonly input: {};
1275
- readonly output: SymbolInfoDto[];
1276
- };
1277
- readonly "/perp/coin/:symbol": {
1278
- readonly input: {};
1279
- readonly output: PerpCoinExtended[];
1280
- };
1281
- readonly "/perp/coin/spot/:symbol": {
1282
- readonly input: {};
1283
- readonly output: PerpSpotCoinExtended[];
1284
- };
1285
- readonly "/perp/coins": {
1286
- readonly input: {};
1287
- readonly output: PerpCoinExtendedSlim[];
1288
- };
1289
- readonly "/perp/legal-check/:address": {
1290
- readonly input: {};
1291
- readonly output: PerpLegalCheck;
1292
- };
1293
- readonly "/perp/coins/spot": {
1294
- readonly input: {};
1295
- readonly output: PerpSpotCoinExtendedSlim[];
1296
- };
1297
- readonly "/perp/orderbook/:symbol": {
1298
- readonly input: {};
1299
- readonly output: L2BookPerpResponseSingle[];
1300
- };
1301
- readonly "/perp/trades/:symbol": {
1302
- readonly input: {};
1303
- readonly output: TradesPerpResponseSingle[];
1304
- };
1305
- readonly "/perp/stats/spot/:symbol": {
1306
- readonly input: {};
1307
- readonly output: ActiveSpotAssetCtx[];
1308
- };
1309
- readonly "/perp/stats/:symbol": {
1310
- readonly input: {};
1311
- readonly output: ActivePerpAssetCtx[];
1312
- };
1313
- readonly "/perp/subscribe": {
1314
- readonly input: {};
1315
- readonly output: {};
1316
- readonly POST: {
1317
- readonly input: {};
1318
- readonly output: SuccessDto;
1319
- readonly body: PerpEvent;
1320
- };
1321
- };
1322
- readonly "/perp/unsubscribe": {
1323
- readonly input: {};
1324
- readonly output: {};
1325
- readonly POST: {
1326
- readonly input: {};
1327
- readonly output: SuccessDto;
1328
- readonly body: PerpEvent;
1329
- };
1330
- };
1331
1231
  readonly "/user/chat/message": {
1332
1232
  readonly input: {};
1333
1233
  readonly output: {};
@@ -1942,4 +1842,126 @@ export declare const endpoints: {
1942
1842
  };
1943
1843
  readonly output: SoroswapQuoteResponseDto;
1944
1844
  };
1845
+ readonly "/perp/exchange/acceptTerms": {
1846
+ readonly input: {};
1847
+ readonly output: {};
1848
+ readonly POST: {
1849
+ readonly input: {};
1850
+ readonly output: SuccessDto;
1851
+ readonly body: {};
1852
+ readonly securityMode: "requiredAny";
1853
+ };
1854
+ };
1855
+ readonly "/perp/exchange/sendAsset": {
1856
+ readonly input: {};
1857
+ readonly output: {};
1858
+ readonly POST: {
1859
+ readonly input: {};
1860
+ readonly output: SuccessDto;
1861
+ readonly body: {};
1862
+ readonly securityMode: "requiredAny";
1863
+ };
1864
+ };
1865
+ readonly "/perp/exchange/sendExternalAsset": {
1866
+ readonly input: {};
1867
+ readonly output: {};
1868
+ readonly POST: {
1869
+ readonly input: {};
1870
+ readonly output: SuccessDto;
1871
+ readonly body: {};
1872
+ readonly securityMode: "requiredAny";
1873
+ };
1874
+ };
1875
+ readonly "/perp/exchange/deposit": {
1876
+ readonly input: {};
1877
+ readonly output: {};
1878
+ readonly POST: {
1879
+ readonly input: {};
1880
+ readonly output: SuccessDto;
1881
+ readonly body: {};
1882
+ readonly securityMode: "requiredAny";
1883
+ };
1884
+ };
1885
+ readonly "/perp/exchange/withdraw": {
1886
+ readonly input: {};
1887
+ readonly output: {};
1888
+ readonly POST: {
1889
+ readonly input: {};
1890
+ readonly output: SuccessDto;
1891
+ readonly body: {};
1892
+ readonly securityMode: "requiredAny";
1893
+ };
1894
+ };
1895
+ readonly "/perp/exchange/order": {
1896
+ readonly input: {};
1897
+ readonly output: {};
1898
+ readonly POST: {
1899
+ readonly input: {};
1900
+ readonly output: PerpOrderResponse;
1901
+ readonly body: {};
1902
+ readonly securityMode: "requiredAny";
1903
+ };
1904
+ };
1905
+ readonly "/tradingview/bars/:symbol": {
1906
+ readonly input: {};
1907
+ readonly output: BarDto[];
1908
+ };
1909
+ readonly "/tradingview/coin/:symbol": {
1910
+ readonly input: {};
1911
+ readonly output: SymbolInfoDto[];
1912
+ };
1913
+ readonly "/perp/coin/:symbol": {
1914
+ readonly input: {};
1915
+ readonly output: PerpCoinExtended[];
1916
+ };
1917
+ readonly "/perp/coin/spot/:symbol": {
1918
+ readonly input: {};
1919
+ readonly output: PerpSpotCoinExtended[];
1920
+ };
1921
+ readonly "/perp/coins": {
1922
+ readonly input: {};
1923
+ readonly output: PerpCoinExtendedSlim[];
1924
+ };
1925
+ readonly "/perp/legal-check/:address": {
1926
+ readonly input: {};
1927
+ readonly output: PerpLegalCheck;
1928
+ };
1929
+ readonly "/perp/coins/spot": {
1930
+ readonly input: {};
1931
+ readonly output: PerpSpotCoinExtendedSlim[];
1932
+ };
1933
+ readonly "/perp/orderbook/:symbol": {
1934
+ readonly input: {};
1935
+ readonly output: L2BookPerpResponseSingle[];
1936
+ };
1937
+ readonly "/perp/trades/:symbol": {
1938
+ readonly input: {};
1939
+ readonly output: TradesPerpResponseSingle[];
1940
+ };
1941
+ readonly "/perp/stats/spot/:symbol": {
1942
+ readonly input: {};
1943
+ readonly output: ActiveSpotAssetCtx[];
1944
+ };
1945
+ readonly "/perp/stats/:symbol": {
1946
+ readonly input: {};
1947
+ readonly output: ActivePerpAssetCtx[];
1948
+ };
1949
+ readonly "/perp/subscribe": {
1950
+ readonly input: {};
1951
+ readonly output: {};
1952
+ readonly POST: {
1953
+ readonly input: {};
1954
+ readonly output: SuccessDto;
1955
+ readonly body: PerpEvent;
1956
+ };
1957
+ };
1958
+ readonly "/perp/unsubscribe": {
1959
+ readonly input: {};
1960
+ readonly output: {};
1961
+ readonly POST: {
1962
+ readonly input: {};
1963
+ readonly output: SuccessDto;
1964
+ readonly body: PerpEvent;
1965
+ };
1966
+ };
1945
1967
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/sdk-js",
3
- "version": "1.0.130",
3
+ "version": "1.0.131",
4
4
  "description": "The SDK to interact with the XOXNO Protocol!",
5
5
  "type": "module",
6
6
  "exports": {
@@ -104,7 +104,7 @@
104
104
  "dependencies": {
105
105
  "@multiversx/sdk-core": "^15.3.2",
106
106
  "@multiversx/sdk-network-providers": "^2.9.3",
107
- "@xoxno/types": "1.0.412"
107
+ "@xoxno/types": "1.0.414"
108
108
  },
109
109
  "peerDependencies": {
110
110
  "@stellar/stellar-sdk": "^15.0.0"