@xoxno/sdk-js 1.0.4 → 1.0.7

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.
@@ -10,8 +10,10 @@ type CollectParams<S extends string> = S extends `${string}:${infer P}/${infer R
10
10
  [K in P]: string;
11
11
  } : object;
12
12
  type RequireAtLeastOne<T> = {
13
- [K in keyof T]: Required<Pick<T, K>> & Partial<Omit<T, K>>;
14
- }[keyof T];
13
+ [K in keyof T]-?: {
14
+ [P in K]-?: T[P];
15
+ } & Omit<T, K>;
16
+ }[keyof T] & T;
15
17
  type BodyBag<VB, Defined extends boolean> = Defined extends true ? IsEmptyObj<VB> extends true ? {
16
18
  body?: never;
17
19
  } : {
@@ -1,4 +1,4 @@
1
- import type { ActivityChain, AirdropDto, AnalyticsMarketplaceUniqueUsers, AnalyticsVolumeDto, AnalyticsVolumeResponseDto, AnsweredQuestionWithDetails, BageQRData, BatchTransactionResponse, ChatMessageDocHydrated, ChatMessagePaginated, CheckLikeStatusResponseDto, CollectionHoldersDto, CollectionMintProfileDocHydrated, CollectionMintProfileDocWithStages, CollectionMintProfileFilter, CollectionMintProfilePaginated, CollectionOffersFilter, CollectionOwnerDto, CollectionPinnedStatusDto, CollectionProfileDoc, CollectionProfileFilter, CollectionProfilePaginated, CollectionRanksDTO, CollectionStatsDto, CollectionStatsFilter, CollectionStatsPaginated, CreatorDetailsDto, CreatorMarketingNotificationDto, CreatorProfileDto, DiscountCodeValidationResponse, DropInfoDto, EditUserCreatorProfileDto, EditUserProfileDto, EventCheckInQR, 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, EventVoucherCreateDto, EventVoucherDoc, EventVoucherEditDto, EventVoucherFilter, EventVoucherQuery, FetchSwapRoutesResponseDto, FilterQueryDto, FloorPriceDto, FollowCollectionDto, GlobalAnalyticsOverviewResponseDto, GlobalConversationSummaryDto, GlobalOfferPaginated, GlobalSearchResourcesPaginated, IMetrics, InventorySummaryDto, KustoOrderDirection, LendingAccountProfile, LendingEModeCategoryProfile, LendingIndexesDto, LendingMarketAnalyticsGraph, LendingMarketProfile, LendingMarketProfileFilter, LendingMarketProfileQuery, LendingOverallStats, LendingPositionOrderByColumn, LendingPositionStatus, LendingTokenPriceDto, LikeNftDto, ListingsResponseDto, LoginAccessDto, LoginRequestDto, ManualCheckInDto, MobileDeviceDoc, MobileDeviceRegistrationDto, NativeWalletDto, NftActivityDocHydrated, NftActivityFilter, NftActivityPaginated, NftDoc, NftDocFilter, NftHydrated, NftOfferDoc, NftOfferDocFilter, NftOfferPaginated, NftPaginated, NotificationDoc, NotificationPaginated, NotificationPreferencesPostDto, NotificationSuccessResponseDto, OwnedCollectionsDto, OwnedServicesDto, PinnedCollectionDto, ProtocolAprType, ProviderDto, PublicOnly, PushNotificationCountResponse, PushNotificationDoc, PushNotificationResponse, RateType, SendChatMessageDto, SetEmailDto, SetPhoneDto, SignAcceptGlobalOfferDto, SignDataDto, SignMintDto, SignWithdrawDto, StakingCreatorDoc, StakingExploreDto, StakingPostDTO, StakingSummary, StakingUserPoolNfts, SuccessDto, SuccessWithMessageDto, SwitchWalletDto, TicketCalculationRequestDto, TicketPricesResponse, TicketValidationResult, TokenCategory, TokenDocDto, TradesilvaniaSignature, TraitInfo, TransactionCreate, TransactionProcessStatus, TransactionSendResult, UserAnalyticsDto, UserBillingDetails, UserBlockPaginated, UserConversationPaginated, UserFavoriteResponseDto, UserNetworkInfoDto, UserProfileDto, UserSettingsDoc, UserStakingSummaryDto, UserStatsDto, UserStatsOrderByColumn, UserTokenInventoryResponseDto, ValueFp, VerifyEmailDto, Web2UserDoc, Web2UserShardsDto, Web2WalletDto, WebSocketTokenDto, XoxnoInfo, XoxnoLiquidStatsDto } from '@xoxno/types';
1
+ import type { ActivityChain, AirdropDto, AnalyticsMarketplaceUniqueUsers, AnalyticsVolumeDto, AnsweredQuestionWithDetails, BageQRData, BatchTransactionResponse, ChatMessageDocHydrated, ChatMessagePaginated, CheckLikeStatusResponseDto, CollectionHoldersDto, CollectionMintProfileDocHydrated, CollectionMintProfileDocWithStages, CollectionMintProfileFilter, CollectionMintProfilePaginated, CollectionOffersFilter, CollectionOwnerDto, CollectionPinnedStatusDto, CollectionProfileDoc, CollectionProfileFilter, CollectionProfilePaginated, CollectionRanksDTO, CollectionStatsDto, CollectionStatsFilter, CollectionStatsPaginated, CreatorDetailsDto, CreatorMarketingNotificationDto, CreatorProfileDto, DiscountCodeValidationResponse, DropInfoDto, EditUserCreatorProfileDto, EditUserProfileDto, EventCheckInQR, 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, EventVoucherDoc, EventVoucherFilter, EventVoucherQuery, FetchSwapRoutesResponseDto, FilterQueryDto, FloorPriceDto, FollowCollectionDto, GlobalAnalyticsOverviewResponseDto, GlobalConversationSummaryDto, GlobalOfferPaginated, GlobalSearchResourcesPaginated, IMetrics, InventorySummaryDto, KustoOrderDirection, LendingAccountProfile, LendingEModeCategoryProfile, LendingIndexesDto, LendingMarketAnalyticsGraph, LendingMarketProfile, LendingMarketProfileFilter, LendingMarketProfileQuery, LendingOverallStats, LendingPositionOrderByColumn, LendingPositionStatus, LendingTokenPriceDto, LikeNftDto, ListingsResponseDto, LoginAccessDto, LoginRequestDto, ManualCheckInDto, MobileDeviceDoc, MobileDeviceRegistrationDto, NativeWalletDto, NftActivityDocHydrated, NftActivityFilter, NftActivityPaginated, NftDoc, NftDocFilter, NftDocHydrated, NftOfferDoc, NftOfferDocFilter, NftOfferPaginated, NftPaginated, NotificationDoc, NotificationPaginated, NotificationPreferencesPostDto, NotificationSuccessResponseDto, OwnedCollectionsDto, OwnedServicesDto, PinnedCollectionDto, ProtocolAprType, ProviderDto, PublicOnly, PushNotificationCountResponse, PushNotificationDoc, PushNotificationResponse, RateType, SendChatMessageDto, SetEmailDto, SetPhoneDto, SignAcceptGlobalOfferDto, SignDataDto, SignMintDto, SignWithdrawDto, StakingCreatorDoc, StakingExploreDto, StakingPostDTO, StakingSummary, StakingUserPoolNfts, SuccessDto, SuccessWithMessageDto, SwitchWalletDto, TicketCalculationRequestDto, TicketPricesResponse, TicketValidationResult, TokenCategory, TokenDocDto, TradesilvaniaSignature, TraitInfo, TransactionCreate, TransactionProcessStatus, TransactionSendResult, UserAnalyticsDto, UserBillingDetails, UserBlockPaginated, UserConversationPaginated, UserFavoriteResponseDto, UserNetworkInfoDto, UserProfileDto, UserSettingsDoc, UserStakingSummaryDto, UserStatsDto, UserStatsOrderByColumn, UserTokenInventoryResponseDto, ValueFp, VerifyEmailDto, VolumeGraph, Web2UserDoc, Web2UserShardsDto, Web2WalletDto, WebSocketTokenDto, XoxnoInfo, XoxnoLiquidStatsDto } from '@xoxno/types';
2
2
  export declare const endpoints: {
3
3
  readonly '/user/login': {
4
4
  readonly input: {};
@@ -524,7 +524,7 @@ export declare const endpoints: {
524
524
  readonly input: {
525
525
  chain: ActivityChain[];
526
526
  };
527
- readonly output: NftHydrated[];
527
+ readonly output: NftDocHydrated[];
528
528
  };
529
529
  readonly '/nft/sign-withdraw': {
530
530
  readonly input: {};
@@ -558,7 +558,7 @@ export declare const endpoints: {
558
558
  };
559
559
  readonly '/nft/:identifier': {
560
560
  readonly input: {};
561
- readonly output: NftHydrated;
561
+ readonly output: NftDocHydrated;
562
562
  };
563
563
  readonly '/collection/:collection/profile': {
564
564
  readonly input: {};
@@ -1048,7 +1048,7 @@ export declare const endpoints: {
1048
1048
  bin?: string;
1049
1049
  chain: ActivityChain[];
1050
1050
  };
1051
- readonly output: AnalyticsVolumeResponseDto;
1051
+ readonly output: VolumeGraph[];
1052
1052
  };
1053
1053
  readonly '/collection/:collection/analytics/volume': {
1054
1054
  readonly input: {
@@ -1463,7 +1463,7 @@ export declare const endpoints: {
1463
1463
  readonly output: EventUserRole[];
1464
1464
  readonly POST: {
1465
1465
  readonly input: {};
1466
- readonly output: EventUserRole[];
1466
+ readonly output: EventUserRole;
1467
1467
  readonly body: EventUserRoleCreateDto;
1468
1468
  readonly securityMode: "requiredAny";
1469
1469
  };
@@ -1552,7 +1552,7 @@ export declare const endpoints: {
1552
1552
  readonly POST: {
1553
1553
  readonly input: {};
1554
1554
  readonly output: EventVoucherDoc;
1555
- readonly body: EventVoucherCreateDto;
1555
+ readonly body: {};
1556
1556
  readonly securityMode: "requiredAny";
1557
1557
  };
1558
1558
  };
@@ -1562,7 +1562,7 @@ export declare const endpoints: {
1562
1562
  readonly PATCH: {
1563
1563
  readonly input: {};
1564
1564
  readonly output: EventVoucherDoc;
1565
- readonly body: EventVoucherEditDto;
1565
+ readonly body: {};
1566
1566
  readonly securityMode: "requiredAny";
1567
1567
  };
1568
1568
  readonly DELETE: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xoxno/sdk-js",
3
- "version": "1.0.4",
3
+ "version": "1.0.7",
4
4
  "description": "The SDK to interact with the XOXNO Protocol!",
5
5
  "type": "module",
6
6
  "exports": {
@@ -101,6 +101,6 @@
101
101
  "dependencies": {
102
102
  "@multiversx/sdk-core": "^13.17.2",
103
103
  "@multiversx/sdk-network-providers": "^2.9.3",
104
- "@xoxno/types": "^1.0.72"
104
+ "@xoxno/types": "^1.0.87"
105
105
  }
106
106
  }