@xoxno/types 1.0.1
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/cache/keys.d.ts +642 -0
- package/dist/cache/keys.js +654 -0
- package/dist/cache/ttl.d.ts +13 -0
- package/dist/cache/ttl.js +16 -0
- package/dist/common/enums.d.ts +52 -0
- package/dist/common/enums.js +61 -0
- package/dist/common/kusto/kusto-db.enum.d.ts +7 -0
- package/dist/common/kusto/kusto-db.enum.js +12 -0
- package/dist/common/kusto/lending-market-analytics.d.ts +19 -0
- package/dist/common/kusto/lending-market-analytics.js +171 -0
- package/dist/common/kusto/lending-overall-stats.d.ts +11 -0
- package/dist/common/kusto/lending-overall-stats.js +72 -0
- package/dist/common/kusto/lending-position-status.d.ts +10 -0
- package/dist/common/kusto/lending-position-status.js +63 -0
- package/dist/common/kusto/order-by-column.enum.d.ts +8 -0
- package/dist/common/kusto/order-by-column.enum.js +13 -0
- package/dist/common/kusto/order-direction.enum.d.ts +4 -0
- package/dist/common/kusto/order-direction.enum.js +8 -0
- package/dist/common/kusto/trading-stats.d.ts +28 -0
- package/dist/common/kusto/trading-stats.js +35 -0
- package/dist/common/kusto/user-trading-summary.d.ts +20 -0
- package/dist/common/kusto/user-trading-summary.js +6 -0
- package/dist/common/kusto/volume-graph.d.ts +16 -0
- package/dist/common/kusto/volume-graph.js +57 -0
- package/dist/common/kusto/wallet-stats.d.ts +36 -0
- package/dist/common/kusto/wallet-stats.js +66 -0
- package/dist/common/owner.dto.d.ts +14 -0
- package/dist/common/owner.dto.js +37 -0
- package/dist/common/socials.d.ts +11 -0
- package/dist/common/socials.js +53 -0
- package/dist/common/statistics.d.ts +11 -0
- package/dist/common/statistics.js +49 -0
- package/dist/common/tokenPayent.d.ts +9 -0
- package/dist/common/tokenPayent.js +50 -0
- package/dist/cosmos-db/cosmos-db-container.enum.d.ts +13 -0
- package/dist/cosmos-db/cosmos-db-container.enum.js +17 -0
- package/dist/cosmos-db/cosmos-db-generic-filter.d.ts +16 -0
- package/dist/cosmos-db/cosmos-db-generic-filter.js +72 -0
- package/dist/cosmos-db/cosmos-db-paginated-response.dto.d.ts +13 -0
- package/dist/cosmos-db/cosmos-db-paginated-response.dto.js +62 -0
- package/dist/cosmos-db/cosmos-db-query.d.ts +81 -0
- package/dist/cosmos-db/cosmos-db-query.js +435 -0
- package/dist/cosmos-db/documents/activity/chain-activity.enum.d.ts +4 -0
- package/dist/cosmos-db/documents/activity/chain-activity.enum.js +5 -0
- package/dist/cosmos-db/documents/activity/event-source.enum.d.ts +15 -0
- package/dist/cosmos-db/documents/activity/event-source.enum.js +19 -0
- package/dist/cosmos-db/documents/activity/nft-activity-data.d.ts +22 -0
- package/dist/cosmos-db/documents/activity/nft-activity-data.js +2 -0
- package/dist/cosmos-db/documents/activity/nft-activity-type.enum.d.ts +28 -0
- package/dist/cosmos-db/documents/activity/nft-activity-type.enum.js +36 -0
- package/dist/cosmos-db/documents/activity/nft-activity.doc.d.ts +20 -0
- package/dist/cosmos-db/documents/activity/nft-activity.doc.js +121 -0
- package/dist/cosmos-db/documents/chat/block-user.dto.d.ts +3 -0
- package/dist/cosmos-db/documents/chat/block-user.dto.js +20 -0
- package/dist/cosmos-db/documents/chat/blocked-user.dto.d.ts +14 -0
- package/dist/cosmos-db/documents/chat/blocked-user.dto.js +57 -0
- package/dist/cosmos-db/documents/chat/chat-conversation.d.ts +39 -0
- package/dist/cosmos-db/documents/chat/chat-conversation.js +109 -0
- package/dist/cosmos-db/documents/chat/chat-data-type.enum.d.ts +6 -0
- package/dist/cosmos-db/documents/chat/chat-data-type.enum.js +10 -0
- package/dist/cosmos-db/documents/chat/chat-message-content-type.enum.d.ts +6 -0
- package/dist/cosmos-db/documents/chat/chat-message-content-type.enum.js +10 -0
- package/dist/cosmos-db/documents/chat/chat-message-content.dto.d.ts +6 -0
- package/dist/cosmos-db/documents/chat/chat-message-content.dto.js +42 -0
- package/dist/cosmos-db/documents/chat/chat-message-reply.dto.d.ts +7 -0
- package/dist/cosmos-db/documents/chat/chat-message-reply.dto.js +41 -0
- package/dist/cosmos-db/documents/chat/chat-message.doc.d.ts +44 -0
- package/dist/cosmos-db/documents/chat/chat-message.doc.js +17 -0
- package/dist/cosmos-db/documents/chat/chat-message.dto.d.ts +47 -0
- package/dist/cosmos-db/documents/chat/chat-message.dto.js +160 -0
- package/dist/cosmos-db/documents/chat/global-conversation-summary.dto.d.ts +10 -0
- package/dist/cosmos-db/documents/chat/global-conversation-summary.dto.js +38 -0
- package/dist/cosmos-db/documents/chat/group-chat-profile.doc.d.ts +13 -0
- package/dist/cosmos-db/documents/chat/group-chat-profile.doc.js +14 -0
- package/dist/cosmos-db/documents/chat/user-block.doc.d.ts +10 -0
- package/dist/cosmos-db/documents/chat/user-block.doc.js +14 -0
- package/dist/cosmos-db/documents/chat/user-conversation.doc.d.ts +16 -0
- package/dist/cosmos-db/documents/chat/user-conversation.doc.js +13 -0
- package/dist/cosmos-db/documents/collection/collectionConfig.d.ts +15 -0
- package/dist/cosmos-db/documents/collection/collectionConfig.js +19 -0
- package/dist/cosmos-db/documents/collection/dataTypes.d.ts +8 -0
- package/dist/cosmos-db/documents/collection/dataTypes.js +12 -0
- package/dist/cosmos-db/documents/collection/globalOffer.d.ts +27 -0
- package/dist/cosmos-db/documents/collection/globalOffer.js +174 -0
- package/dist/cosmos-db/documents/collection/mintProfile.d.ts +36 -0
- package/dist/cosmos-db/documents/collection/mintProfile.js +241 -0
- package/dist/cosmos-db/documents/collection/mintStage.d.ts +20 -0
- package/dist/cosmos-db/documents/collection/mintStage.js +13 -0
- package/dist/cosmos-db/documents/collection/profile.d.ts +52 -0
- package/dist/cosmos-db/documents/collection/profile.js +330 -0
- package/dist/cosmos-db/documents/collection/stats.d.ts +45 -0
- package/dist/cosmos-db/documents/collection/stats.js +286 -0
- package/dist/cosmos-db/documents/collection/verification.d.ts +11 -0
- package/dist/cosmos-db/documents/collection/verification.js +72 -0
- package/dist/cosmos-db/documents/external-payment/binance-hook.d.ts +46 -0
- package/dist/cosmos-db/documents/external-payment/binance-hook.js +16 -0
- package/dist/cosmos-db/documents/external-payment/binance-request.d.ts +30 -0
- package/dist/cosmos-db/documents/external-payment/binance-request.js +36 -0
- package/dist/cosmos-db/documents/external-payment/external-payment-request.d.ts +52 -0
- package/dist/cosmos-db/documents/external-payment/external-payment-request.js +236 -0
- package/dist/cosmos-db/documents/external-payment/external-payment-status.enum.d.ts +18 -0
- package/dist/cosmos-db/documents/external-payment/external-payment-status.enum.js +22 -0
- package/dist/cosmos-db/documents/external-payment/external-payment.doc.d.ts +42 -0
- package/dist/cosmos-db/documents/external-payment/external-payment.doc.js +10 -0
- package/dist/cosmos-db/documents/external-payment/payment-provider.enum.d.ts +6 -0
- package/dist/cosmos-db/documents/external-payment/payment-provider.enum.js +10 -0
- package/dist/cosmos-db/documents/external-payment/purchase-type.enum.d.ts +14 -0
- package/dist/cosmos-db/documents/external-payment/purchase-type.enum.js +18 -0
- package/dist/cosmos-db/documents/external-payment/stripe-charge-event.d.ts +126 -0
- package/dist/cosmos-db/documents/external-payment/stripe-charge-event.js +2 -0
- package/dist/cosmos-db/documents/external-payment/twispay-cart.d.ts +13 -0
- package/dist/cosmos-db/documents/external-payment/twispay-cart.js +8 -0
- package/dist/cosmos-db/documents/external-payment/twispay-customer.d.ts +14 -0
- package/dist/cosmos-db/documents/external-payment/twispay-customer.js +2 -0
- package/dist/cosmos-db/documents/external-payment/twispay-payment-form.d.ts +15 -0
- package/dist/cosmos-db/documents/external-payment/twispay-payment-form.js +2 -0
- package/dist/cosmos-db/documents/external-payment/twispay-transaction.d.ts +50 -0
- package/dist/cosmos-db/documents/external-payment/twispay-transaction.js +48 -0
- package/dist/cosmos-db/documents/lending/lending-account-profile.d.ts +35 -0
- package/dist/cosmos-db/documents/lending/lending-account-profile.js +258 -0
- package/dist/cosmos-db/documents/lending/lending-data-type.enum.d.ts +6 -0
- package/dist/cosmos-db/documents/lending/lending-data-type.enum.js +10 -0
- package/dist/cosmos-db/documents/lending/lending-emode-category-profile.doc.d.ts +20 -0
- package/dist/cosmos-db/documents/lending/lending-emode-category-profile.doc.js +66 -0
- package/dist/cosmos-db/documents/lending/lending-market-profile.doc.d.ts +82 -0
- package/dist/cosmos-db/documents/lending/lending-market-profile.doc.js +372 -0
- package/dist/cosmos-db/documents/lending/lending-nft-attributes.d.ts +16 -0
- package/dist/cosmos-db/documents/lending/lending-nft-attributes.js +17 -0
- package/dist/cosmos-db/documents/lending/lending-position-type.enum.d.ts +5 -0
- package/dist/cosmos-db/documents/lending/lending-position-type.enum.js +9 -0
- package/dist/cosmos-db/documents/lending/lending-token-emode-profile.doc.d.ts +13 -0
- package/dist/cosmos-db/documents/lending/lending-token-emode-profile.doc.js +59 -0
- package/dist/cosmos-db/documents/notification/notification-asset-type.enum.d.ts +4 -0
- package/dist/cosmos-db/documents/notification/notification-asset-type.enum.js +8 -0
- package/dist/cosmos-db/documents/notification/notification-data-type.enum.d.ts +3 -0
- package/dist/cosmos-db/documents/notification/notification-data-type.enum.js +7 -0
- package/dist/cosmos-db/documents/notification/notification.doc.d.ts +35 -0
- package/dist/cosmos-db/documents/notification/notification.doc.js +13 -0
- package/dist/cosmos-db/documents/staking/staking-creator.d.ts +11 -0
- package/dist/cosmos-db/documents/staking/staking-creator.js +13 -0
- package/dist/cosmos-db/documents/staking/staking-data-type.enum.d.ts +5 -0
- package/dist/cosmos-db/documents/staking/staking-data-type.enum.js +9 -0
- package/dist/cosmos-db/documents/staking/staking-delegator-doc.d.ts +15 -0
- package/dist/cosmos-db/documents/staking/staking-delegator-doc.js +15 -0
- package/dist/cosmos-db/documents/staking/staking-issuing-type-string.enum.d.ts +5 -0
- package/dist/cosmos-db/documents/staking/staking-issuing-type-string.enum.js +9 -0
- package/dist/cosmos-db/documents/staking/staking-pool-doc.d.ts +93 -0
- package/dist/cosmos-db/documents/staking/staking-pool-doc.js +265 -0
- package/dist/cosmos-db/documents/staking/staking-pool-type-string.enum.d.ts +6 -0
- package/dist/cosmos-db/documents/staking/staking-pool-type-string.enum.js +10 -0
- package/dist/cosmos-db/documents/ticketing/discount-code-validation-response.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/discount-code-validation-response.js +38 -0
- package/dist/cosmos-db/documents/ticketing/entities/discount-code-validation-response.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/entities/discount-code-validation-response.js +38 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-category.enum.d.ts +90 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-category.enum.js +99 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-approve.dto.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-approve.dto.js +32 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-doc.filter.d.ts +25 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-doc.filter.js +91 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-registration.dto.d.ts +23 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-registration.dto.js +196 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-status.enum.d.ts +10 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-status.enum.js +14 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest.doc.d.ts +64 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest.doc.js +387 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-create.dto.d.ts +12 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-create.dto.js +74 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-doc.filter.d.ts +31 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-doc.filter.js +99 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-status.enum.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-status.enum.js +10 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation.doc.d.ts +32 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation.doc.js +206 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-location.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-location.js +68 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-create.dto.d.ts +47 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-create.dto.js +269 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-doc.filter.d.ts +41 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-doc.filter.js +129 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-edit.dto.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-edit.dto.js +108 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile.doc.d.ts +93 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile.doc.js +544 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-answer-type.enum.d.ts +9 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-answer-type.enum.js +13 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-answer.doc.d.ts +23 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-answer.doc.js +127 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-create.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-create.dto.js +61 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-edit.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-edit.dto.js +65 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-validator.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-validator.js +32 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question.doc.d.ts +15 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question.doc.js +87 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-create.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-create.dto.js +58 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-edit.dto.d.ts +5 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-edit.dto.js +8 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-filter.doc.d.ts +23 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-filter.doc.js +116 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-query.doc.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-query.doc.js +38 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config.doc.d.ts +27 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config.doc.js +148 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-create.dto.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-create.dto.js +31 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-edit.dto.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-edit.dto.js +36 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-filter.doc.d.ts +31 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-filter.doc.js +161 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-query.doc.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-query.doc.js +38 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-usage.doc.d.ts +16 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-usage.doc.js +100 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral.doc.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral.doc.js +92 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-scan-status.enum.d.ts +24 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-scan-status.enum.js +46 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile-create.dto.d.ts +13 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile-create.dto.js +109 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile-edit.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile-edit.dto.js +48 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile.doc.d.ts +21 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile.doc.js +168 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile-create.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile-create.dto.js +74 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile-edit.dto.d.ts +7 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile-edit.dto.js +31 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile.doc.d.ts +25 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile.doc.js +166 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-qr-type.enum.d.ts +43 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-qr-type.enum.js +201 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-user-role-create.dto.d.ts +9 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-user-role-create.dto.js +69 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-user-role.doc.d.ts +25 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-user-role.doc.js +130 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-user-roles.enum.d.ts +15 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-user-roles.enum.js +20 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-create.dto.d.ts +15 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-create.dto.js +116 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-edit.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-edit.dto.js +48 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-filter.doc.d.ts +33 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-filter.doc.js +173 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher.doc.d.ts +33 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher.doc.js +189 -0
- package/dist/cosmos-db/documents/ticketing/entities/manual-check-in.dto.d.ts +5 -0
- package/dist/cosmos-db/documents/ticketing/entities/manual-check-in.dto.js +38 -0
- package/dist/cosmos-db/documents/ticketing/entities/ticket-calculation-request.dto.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/entities/ticket-calculation-request.dto.js +38 -0
- package/dist/cosmos-db/documents/ticketing/entities/ticket-prices-response.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/entities/ticket-prices-response.js +74 -0
- package/dist/cosmos-db/documents/ticketing/entities/ticketing-data-type.enum.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/entities/ticketing-data-type.enum.js +18 -0
- package/dist/cosmos-db/documents/ticketing/event-category.enum.d.ts +90 -0
- package/dist/cosmos-db/documents/ticketing/event-category.enum.js +99 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-approve.dto.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-approve.dto.js +33 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-doc.filter.d.ts +25 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-doc.filter.js +91 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-registration.dto.d.ts +28 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-registration.dto.js +217 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-status.enum.d.ts +10 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-status.enum.js +14 -0
- package/dist/cosmos-db/documents/ticketing/event-guest.doc.d.ts +71 -0
- package/dist/cosmos-db/documents/ticketing/event-guest.doc.js +395 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation-create.dto.d.ts +12 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation-create.dto.js +74 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation-doc.filter.d.ts +31 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation-doc.filter.js +99 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation-status.enum.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation-status.enum.js +10 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation.doc.d.ts +38 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation.doc.js +206 -0
- package/dist/cosmos-db/documents/ticketing/event-location.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/event-location.js +68 -0
- package/dist/cosmos-db/documents/ticketing/event-profile-create.dto.d.ts +47 -0
- package/dist/cosmos-db/documents/ticketing/event-profile-create.dto.js +269 -0
- package/dist/cosmos-db/documents/ticketing/event-profile-doc.filter.d.ts +42 -0
- package/dist/cosmos-db/documents/ticketing/event-profile-doc.filter.js +130 -0
- package/dist/cosmos-db/documents/ticketing/event-profile-edit.dto.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/event-profile-edit.dto.js +108 -0
- package/dist/cosmos-db/documents/ticketing/event-profile.doc.d.ts +104 -0
- package/dist/cosmos-db/documents/ticketing/event-profile.doc.js +541 -0
- package/dist/cosmos-db/documents/ticketing/event-question-answer-type.enum.d.ts +9 -0
- package/dist/cosmos-db/documents/ticketing/event-question-answer-type.enum.js +13 -0
- package/dist/cosmos-db/documents/ticketing/event-question-answer.doc.d.ts +23 -0
- package/dist/cosmos-db/documents/ticketing/event-question-answer.doc.js +127 -0
- package/dist/cosmos-db/documents/ticketing/event-question-create.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/event-question-create.dto.js +61 -0
- package/dist/cosmos-db/documents/ticketing/event-question-edit.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/event-question-edit.dto.js +66 -0
- package/dist/cosmos-db/documents/ticketing/event-question-validator.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/event-question-validator.js +33 -0
- package/dist/cosmos-db/documents/ticketing/event-question.doc.d.ts +15 -0
- package/dist/cosmos-db/documents/ticketing/event-question.doc.js +88 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-create.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-create.dto.js +58 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-edit.dto.d.ts +5 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-edit.dto.js +8 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-filter.doc.d.ts +23 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-filter.doc.js +116 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-query.doc.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-query.doc.js +38 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config.doc.d.ts +27 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config.doc.js +149 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-create.dto.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-create.dto.js +31 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-edit.dto.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-edit.dto.js +36 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-filter.doc.d.ts +31 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-filter.doc.js +162 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-query.doc.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-query.doc.js +41 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-usage.doc.d.ts +16 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-usage.doc.js +100 -0
- package/dist/cosmos-db/documents/ticketing/event-referral.doc.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/event-referral.doc.js +92 -0
- package/dist/cosmos-db/documents/ticketing/event-scan-status.enum.d.ts +24 -0
- package/dist/cosmos-db/documents/ticketing/event-scan-status.enum.js +46 -0
- package/dist/cosmos-db/documents/ticketing/event-stage-profile-create.dto.d.ts +13 -0
- package/dist/cosmos-db/documents/ticketing/event-stage-profile-create.dto.js +109 -0
- package/dist/cosmos-db/documents/ticketing/event-stage-profile-edit.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/event-stage-profile-edit.dto.js +48 -0
- package/dist/cosmos-db/documents/ticketing/event-stage-profile.doc.d.ts +21 -0
- package/dist/cosmos-db/documents/ticketing/event-stage-profile.doc.js +168 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile-create.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile-create.dto.js +74 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile-edit.dto.d.ts +7 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile-edit.dto.js +31 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile.doc.d.ts +25 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile.doc.js +164 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.d.ts +43 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.js +202 -0
- package/dist/cosmos-db/documents/ticketing/event-user-role-create.dto.d.ts +9 -0
- package/dist/cosmos-db/documents/ticketing/event-user-role-create.dto.js +69 -0
- package/dist/cosmos-db/documents/ticketing/event-user-role.doc.d.ts +25 -0
- package/dist/cosmos-db/documents/ticketing/event-user-role.doc.js +131 -0
- package/dist/cosmos-db/documents/ticketing/event-user-roles.enum.d.ts +15 -0
- package/dist/cosmos-db/documents/ticketing/event-user-roles.enum.js +20 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher-create.dto.d.ts +15 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher-create.dto.js +117 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher-edit.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher-edit.dto.js +48 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher-filter.doc.d.ts +33 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher-filter.doc.js +167 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher.doc.d.ts +39 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher.doc.js +191 -0
- package/dist/cosmos-db/documents/ticketing/manual-check-in.dto.d.ts +5 -0
- package/dist/cosmos-db/documents/ticketing/manual-check-in.dto.js +38 -0
- package/dist/cosmos-db/documents/ticketing/ticket-calculation-request.dto.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/ticket-calculation-request.dto.js +41 -0
- package/dist/cosmos-db/documents/ticketing/ticket-prices-response.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/ticket-prices-response.js +74 -0
- package/dist/cosmos-db/documents/ticketing/ticketing-data-type.enum.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/ticketing-data-type.enum.js +18 -0
- package/dist/cosmos-db/documents/token/nft-details.doc.d.ts +79 -0
- package/dist/cosmos-db/documents/token/nft-details.doc.js +436 -0
- package/dist/cosmos-db/documents/token/nft-extra-attributes.type.d.ts +3 -0
- package/dist/cosmos-db/documents/token/nft-extra-attributes.type.js +7 -0
- package/dist/cosmos-db/documents/token/nft-extra-metadata.doc.d.ts +11 -0
- package/dist/cosmos-db/documents/token/nft-extra-metadata.doc.js +12 -0
- package/dist/cosmos-db/documents/token/nft-metadata-attributes.d.ts +6 -0
- package/dist/cosmos-db/documents/token/nft-metadata-attributes.js +28 -0
- package/dist/cosmos-db/documents/token/nft-metadata.d.ts +13 -0
- package/dist/cosmos-db/documents/token/nft-metadata.js +62 -0
- package/dist/cosmos-db/documents/token/nft-offer.doc.d.ts +34 -0
- package/dist/cosmos-db/documents/token/nft-offer.doc.js +220 -0
- package/dist/cosmos-db/documents/token/nft-sale-info.d.ts +23 -0
- package/dist/cosmos-db/documents/token/nft-sale-info.js +109 -0
- package/dist/cosmos-db/documents/token/sft-owner-doc.d.ts +13 -0
- package/dist/cosmos-db/documents/token/sft-owner-doc.js +18 -0
- package/dist/cosmos-db/documents/token/token-data.enum.d.ts +8 -0
- package/dist/cosmos-db/documents/token/token-data.enum.js +12 -0
- package/dist/cosmos-db/documents/token-data/nft-details.doc.d.ts +56 -0
- package/dist/cosmos-db/documents/token-data/nft-details.doc.js +31 -0
- package/dist/cosmos-db/documents/user/account-on-network.d.ts +21 -0
- package/dist/cosmos-db/documents/user/account-on-network.js +36 -0
- package/dist/cosmos-db/documents/user/notification-preferences.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/user/notification-preferences.dto.js +73 -0
- package/dist/cosmos-db/documents/user/user-creator-profile.doc.d.ts +18 -0
- package/dist/cosmos-db/documents/user/user-creator-profile.doc.js +105 -0
- package/dist/cosmos-db/documents/user/user-data.type.d.ts +6 -0
- package/dist/cosmos-db/documents/user/user-data.type.js +10 -0
- package/dist/cosmos-db/documents/user/user-deposit.d.ts +9 -0
- package/dist/cosmos-db/documents/user/user-deposit.js +54 -0
- package/dist/cosmos-db/documents/user/user-favorite-type.enum.d.ts +5 -0
- package/dist/cosmos-db/documents/user/user-favorite-type.enum.js +9 -0
- package/dist/cosmos-db/documents/user/user-favorite.doc.d.ts +18 -0
- package/dist/cosmos-db/documents/user/user-favorite.doc.js +56 -0
- package/dist/cosmos-db/documents/user/user-profile.doc.d.ts +25 -0
- package/dist/cosmos-db/documents/user/user-profile.doc.js +133 -0
- package/dist/cosmos-db/documents/user/user-settings.doc.d.ts +63 -0
- package/dist/cosmos-db/documents/user/user-settings.doc.js +267 -0
- package/dist/index.d.ts +273 -0
- package/dist/index.js +300 -0
- package/dist/redis/keys.d.ts +11 -0
- package/dist/redis/keys.js +12 -0
- package/dist/redis/ttl.d.ts +10 -0
- package/dist/redis/ttl.js +11 -0
- package/dist/requests/aggregator/ar-da-swap-result.dto.d.ts +9 -0
- package/dist/requests/aggregator/ar-da-swap-result.dto.js +80 -0
- package/dist/requests/aggregator/swap.d.ts +65 -0
- package/dist/requests/aggregator/swap.js +240 -0
- package/dist/requests/chat/azure-ws-event-name.enum.d.ts +5 -0
- package/dist/requests/chat/azure-ws-event-name.enum.js +9 -0
- package/dist/requests/chat/azure-ws-hub-name.enum.d.ts +4 -0
- package/dist/requests/chat/azure-ws-hub-name.enum.js +8 -0
- package/dist/requests/chat/chat-token.d.ts +3 -0
- package/dist/requests/chat/chat-token.js +22 -0
- package/dist/requests/collection/attributes.d.ts +22 -0
- package/dist/requests/collection/attributes.js +80 -0
- package/dist/requests/collection/collection-attributes-fp.d.ts +12 -0
- package/dist/requests/collection/collection-attributes-fp.js +2 -0
- package/dist/requests/collection/collection-attributes-map.d.ts +24 -0
- package/dist/requests/collection/collection-attributes-map.js +6 -0
- package/dist/requests/collection/collection-holders.d.ts +25 -0
- package/dist/requests/collection/collection-holders.js +35 -0
- package/dist/requests/collection/collection-info.dto.d.ts +6 -0
- package/dist/requests/collection/collection-info.dto.js +33 -0
- package/dist/requests/collection/collection-mint-profile.filter.d.ts +19 -0
- package/dist/requests/collection/collection-mint-profile.filter.js +40 -0
- package/dist/requests/collection/collection-mint-stage.doc.d.ts +19 -0
- package/dist/requests/collection/collection-mint-stage.doc.js +12 -0
- package/dist/requests/collection/collection-offers.filter.d.ts +28 -0
- package/dist/requests/collection/collection-offers.filter.js +99 -0
- package/dist/requests/collection/collection-owner.dto.d.ts +3 -0
- package/dist/requests/collection/collection-owner.dto.js +24 -0
- package/dist/requests/collection/collection-pinned-status.dto.d.ts +4 -0
- package/dist/requests/collection/collection-pinned-status.dto.js +30 -0
- package/dist/requests/collection/collection-profile.filter.d.ts +18 -0
- package/dist/requests/collection/collection-profile.filter.js +28 -0
- package/dist/requests/collection/collection-stats.d.ts +3 -0
- package/dist/requests/collection/collection-stats.filter.d.ts +22 -0
- package/dist/requests/collection/collection-stats.filter.js +98 -0
- package/dist/requests/collection/collection-stats.js +8 -0
- package/dist/requests/collection/collections.d.ts +7 -0
- package/dist/requests/collection/collections.js +16 -0
- package/dist/requests/collection/creator-details.dto.d.ts +12 -0
- package/dist/requests/collection/creator-details.dto.js +34 -0
- package/dist/requests/collection/creator-drop-info.d.ts +48 -0
- package/dist/requests/collection/creator-drop-info.js +189 -0
- package/dist/requests/collection/drops-query.d.ts +27 -0
- package/dist/requests/collection/drops-query.js +98 -0
- package/dist/requests/collection/floor.d.ts +5 -0
- package/dist/requests/collection/floor.js +28 -0
- package/dist/requests/collection/globalOfferSign.d.ts +4 -0
- package/dist/requests/collection/globalOfferSign.js +38 -0
- package/dist/requests/collection/holders.dto.d.ts +36 -0
- package/dist/requests/collection/holders.dto.js +96 -0
- package/dist/requests/collection/listings.d.ts +32 -0
- package/dist/requests/collection/listings.js +101 -0
- package/dist/requests/collection/pinned-collections.d.ts +10 -0
- package/dist/requests/collection/pinned-collections.js +56 -0
- package/dist/requests/collection/query-activity.d.ts +41 -0
- package/dist/requests/collection/query-activity.js +140 -0
- package/dist/requests/collection/query-global-offers.d.ts +15 -0
- package/dist/requests/collection/query-global-offers.js +57 -0
- package/dist/requests/collection/ranks.d.ts +5 -0
- package/dist/requests/collection/ranks.js +28 -0
- package/dist/requests/collection/stats-query.d.ts +5 -0
- package/dist/requests/collection/stats-query.js +26 -0
- package/dist/requests/lending/lending-market-profile.filter.d.ts +43 -0
- package/dist/requests/lending/lending-market-profile.filter.js +156 -0
- package/dist/requests/nft-activity-data/analytics-overview.d.ts +24 -0
- package/dist/requests/nft-activity-data/analytics-overview.js +151 -0
- package/dist/requests/nft-activity-data/analytics-volume.d.ts +13 -0
- package/dist/requests/nft-activity-data/analytics-volume.js +58 -0
- package/dist/requests/nft-activity-data/bober-battle-activity.enum.d.ts +69 -0
- package/dist/requests/nft-activity-data/bober-battle-activity.enum.js +16 -0
- package/dist/requests/nft-activity-data/event-source.enum.d.ts +15 -0
- package/dist/requests/nft-activity-data/event-source.enum.js +19 -0
- package/dist/requests/nft-activity-data/marketplace-activity.enum.d.ts +20 -0
- package/dist/requests/nft-activity-data/marketplace-activity.enum.js +24 -0
- package/dist/requests/nft-activity-data/nft-activity-data.d.ts +21 -0
- package/dist/requests/nft-activity-data/nft-activity-data.js +2 -0
- package/dist/requests/nft-activity-data/nft-activity-type.enum.d.ts +28 -0
- package/dist/requests/nft-activity-data/nft-activity-type.enum.js +36 -0
- package/dist/requests/nft-activity-data/nft-activity.filter.d.ts +39 -0
- package/dist/requests/nft-activity-data/nft-activity.filter.js +143 -0
- package/dist/requests/nft-activity-data/user-analytics.dto.d.ts +21 -0
- package/dist/requests/nft-activity-data/user-analytics.dto.js +72 -0
- package/dist/requests/nft-activity-data/user-stats.d.ts +53 -0
- package/dist/requests/nft-activity-data/user-stats.js +247 -0
- package/dist/requests/nft-activity-data/xoxno-egld-ls-activity.enum.d.ts +10 -0
- package/dist/requests/nft-activity-data/xoxno-egld-ls-activity.enum.js +14 -0
- package/dist/requests/nft-activity-data/xoxno-ls-activity.enum.d.ts +5 -0
- package/dist/requests/nft-activity-data/xoxno-ls-activity.enum.js +9 -0
- package/dist/requests/nft-data/inventory-summary.d.ts +12 -0
- package/dist/requests/nft-data/inventory-summary.js +67 -0
- package/dist/requests/nft-data/like-nft.dto.d.ts +5 -0
- package/dist/requests/nft-data/like-nft.dto.js +32 -0
- package/dist/requests/nft-data/nft-doc.filter.d.ts +65 -0
- package/dist/requests/nft-data/nft-doc.filter.js +211 -0
- package/dist/requests/nft-data/nft-extra-attributes.type.d.ts +3 -0
- package/dist/requests/nft-data/nft-extra-attributes.type.js +7 -0
- package/dist/requests/nft-data/nft-offer-doc.filter.d.ts +24 -0
- package/dist/requests/nft-data/nft-offer-doc.filter.js +97 -0
- package/dist/requests/nft-data/nft-offers.d.ts +26 -0
- package/dist/requests/nft-data/nft-offers.js +96 -0
- package/dist/requests/nft-data/sign-data.dto.d.ts +4 -0
- package/dist/requests/nft-data/sign-data.dto.js +24 -0
- package/dist/requests/nft-data/sign-mintdto.d.ts +4 -0
- package/dist/requests/nft-data/sign-mintdto.js +33 -0
- package/dist/requests/nft-data/sign-withdraw.dto.d.ts +3 -0
- package/dist/requests/nft-data/sign-withdraw.dto.js +29 -0
- package/dist/requests/nft-data/user-offers.d.ts +40 -0
- package/dist/requests/nft-data/user-offers.js +186 -0
- package/dist/requests/user-data/creator-profile.dto.d.ts +8 -0
- package/dist/requests/user-data/creator-profile.dto.js +28 -0
- package/dist/requests/user-data/edit-creator-profile.dto.d.ts +6 -0
- package/dist/requests/user-data/edit-creator-profile.dto.js +46 -0
- package/dist/requests/user-data/edit-user-profile.dto.d.ts +6 -0
- package/dist/requests/user-data/edit-user-profile.dto.js +44 -0
- package/dist/requests/user-data/follow-collection.dto.d.ts +4 -0
- package/dist/requests/user-data/follow-collection.dto.js +31 -0
- package/dist/requests/user-data/follow-user.dto.d.ts +4 -0
- package/dist/requests/user-data/follow-user.dto.js +30 -0
- package/dist/requests/user-data/is-favorite.d.ts +3 -0
- package/dist/requests/user-data/is-favorite.js +20 -0
- package/dist/requests/user-data/login-access.dto.d.ts +4 -0
- package/dist/requests/user-data/login-access.dto.js +30 -0
- package/dist/requests/user-data/me-profile.d.ts +16 -0
- package/dist/requests/user-data/me-profile.js +55 -0
- package/dist/requests/user-data/set-email.dto.d.ts +4 -0
- package/dist/requests/user-data/set-email.dto.js +34 -0
- package/dist/requests/user-data/set-phone.dto.d.ts +4 -0
- package/dist/requests/user-data/set-phone.dto.js +34 -0
- package/dist/requests/user-data/token-inventory.d.ts +43 -0
- package/dist/requests/user-data/token-inventory.js +143 -0
- package/dist/requests/user-data/tradesilvania.dto.d.ts +3 -0
- package/dist/requests/user-data/tradesilvania.dto.js +23 -0
- package/dist/requests/user-data/user-network.d.ts +22 -0
- package/dist/requests/user-data/user-network.js +98 -0
- package/dist/requests/user-data/verify-email.dto.d.ts +3 -0
- package/dist/requests/user-data/verify-email.dto.js +28 -0
- package/dist/types/common.d.ts +12 -0
- package/dist/types/common.js +12 -0
- package/dist/utils/generic.d.ts +1 -0
- package/dist/utils/generic.js +6 -0
- package/package.json +54 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare class TransactionDetailsDto {
|
|
2
|
+
price: number;
|
|
3
|
+
txHash: string;
|
|
4
|
+
timestamp: number;
|
|
5
|
+
identifier: string;
|
|
6
|
+
}
|
|
7
|
+
declare class AveragePriceDto {
|
|
8
|
+
price: number;
|
|
9
|
+
}
|
|
10
|
+
declare class AnalyticsDto {
|
|
11
|
+
count: number;
|
|
12
|
+
volume: number;
|
|
13
|
+
min: TransactionDetailsDto;
|
|
14
|
+
max: TransactionDetailsDto;
|
|
15
|
+
avg: AveragePriceDto;
|
|
16
|
+
}
|
|
17
|
+
export declare class UserAnalyticsDto {
|
|
18
|
+
Purchase: AnalyticsDto;
|
|
19
|
+
Sale: AnalyticsDto;
|
|
20
|
+
}
|
|
21
|
+
export {};
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.UserAnalyticsDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
class TransactionDetailsDto {
|
|
15
|
+
}
|
|
16
|
+
__decorate([
|
|
17
|
+
(0, swagger_1.ApiProperty)({ example: 0 }),
|
|
18
|
+
__metadata("design:type", Number)
|
|
19
|
+
], TransactionDetailsDto.prototype, "price", void 0);
|
|
20
|
+
__decorate([
|
|
21
|
+
(0, swagger_1.ApiProperty)({
|
|
22
|
+
example: '7bb66ddd5682070b42c6d4a77acc2920ad21680ad73a75a2a531dfed888c6bed',
|
|
23
|
+
}),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], TransactionDetailsDto.prototype, "txHash", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, swagger_1.ApiProperty)({ example: 1642719714 }),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], TransactionDetailsDto.prototype, "timestamp", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, swagger_1.ApiProperty)({ example: 'BANANA-e955fd-05a0' }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], TransactionDetailsDto.prototype, "identifier", void 0);
|
|
34
|
+
class AveragePriceDto {
|
|
35
|
+
}
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, swagger_1.ApiProperty)({ example: 0.225 }),
|
|
38
|
+
__metadata("design:type", Number)
|
|
39
|
+
], AveragePriceDto.prototype, "price", void 0);
|
|
40
|
+
class AnalyticsDto {
|
|
41
|
+
}
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, swagger_1.ApiProperty)({ example: 141 }),
|
|
44
|
+
__metadata("design:type", Number)
|
|
45
|
+
], AnalyticsDto.prototype, "count", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, swagger_1.ApiProperty)({ example: 31.758 }),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], AnalyticsDto.prototype, "volume", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, swagger_1.ApiProperty)({ type: TransactionDetailsDto }),
|
|
52
|
+
__metadata("design:type", TransactionDetailsDto)
|
|
53
|
+
], AnalyticsDto.prototype, "min", void 0);
|
|
54
|
+
__decorate([
|
|
55
|
+
(0, swagger_1.ApiProperty)({ type: TransactionDetailsDto }),
|
|
56
|
+
__metadata("design:type", TransactionDetailsDto)
|
|
57
|
+
], AnalyticsDto.prototype, "max", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, swagger_1.ApiProperty)({ type: AveragePriceDto }),
|
|
60
|
+
__metadata("design:type", AveragePriceDto)
|
|
61
|
+
], AnalyticsDto.prototype, "avg", void 0);
|
|
62
|
+
class UserAnalyticsDto {
|
|
63
|
+
}
|
|
64
|
+
exports.UserAnalyticsDto = UserAnalyticsDto;
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, swagger_1.ApiProperty)({ type: AnalyticsDto }),
|
|
67
|
+
__metadata("design:type", AnalyticsDto)
|
|
68
|
+
], UserAnalyticsDto.prototype, "Purchase", void 0);
|
|
69
|
+
__decorate([
|
|
70
|
+
(0, swagger_1.ApiProperty)({ type: AnalyticsDto }),
|
|
71
|
+
__metadata("design:type", AnalyticsDto)
|
|
72
|
+
], UserAnalyticsDto.prototype, "Sale", void 0);
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
declare class WalletDto {
|
|
2
|
+
address: string;
|
|
3
|
+
profile: string;
|
|
4
|
+
username: string;
|
|
5
|
+
isVerified: boolean;
|
|
6
|
+
isCreator: boolean;
|
|
7
|
+
owned: number;
|
|
8
|
+
listed: number;
|
|
9
|
+
followCount: number;
|
|
10
|
+
}
|
|
11
|
+
declare class NftInfoDto {
|
|
12
|
+
identifier: string;
|
|
13
|
+
collection: string;
|
|
14
|
+
name: string;
|
|
15
|
+
metadata: Record<string, any>;
|
|
16
|
+
url: string;
|
|
17
|
+
wasProcessed: boolean;
|
|
18
|
+
media: Record<string, any>;
|
|
19
|
+
}
|
|
20
|
+
declare class PriceDataDto {
|
|
21
|
+
price: number;
|
|
22
|
+
timestamp: number;
|
|
23
|
+
identifier: string;
|
|
24
|
+
txHash: string;
|
|
25
|
+
usdValue: number;
|
|
26
|
+
nftInfo: NftInfoDto;
|
|
27
|
+
}
|
|
28
|
+
declare class UserStatsDto {
|
|
29
|
+
wallet: WalletDto;
|
|
30
|
+
totalVolume: number;
|
|
31
|
+
totalTrades: number;
|
|
32
|
+
totalCollections: number;
|
|
33
|
+
totalNfts: number;
|
|
34
|
+
totalPartners: number;
|
|
35
|
+
buyerVolume: number;
|
|
36
|
+
buyerTrades: number;
|
|
37
|
+
buyerNfts: number;
|
|
38
|
+
buyerCollections: number;
|
|
39
|
+
buyerPartners: number;
|
|
40
|
+
buyerMaxPriceData: PriceDataDto;
|
|
41
|
+
buyerMinPriceData: PriceDataDto;
|
|
42
|
+
sellerVolume: number;
|
|
43
|
+
sellerTrades: number;
|
|
44
|
+
sellerNfts: number;
|
|
45
|
+
sellerCollections: number;
|
|
46
|
+
sellerPartners: number;
|
|
47
|
+
sellerMaxPriceData: PriceDataDto;
|
|
48
|
+
sellerMinPriceData: PriceDataDto;
|
|
49
|
+
}
|
|
50
|
+
export declare class GetUsersStatsResponseDto {
|
|
51
|
+
usersStats: UserStatsDto[];
|
|
52
|
+
}
|
|
53
|
+
export {};
|
|
@@ -0,0 +1,247 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GetUsersStatsResponseDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_transformer_1 = require("class-transformer");
|
|
15
|
+
const class_validator_1 = require("class-validator");
|
|
16
|
+
class WalletDto {
|
|
17
|
+
}
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, swagger_1.ApiProperty)({ description: 'User wallet address' }),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], WalletDto.prototype, "address", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, swagger_1.ApiProperty)({ description: 'User profile picture URL' }),
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], WalletDto.prototype, "profile", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, swagger_1.ApiProperty)({ description: 'Username' }),
|
|
30
|
+
(0, class_validator_1.IsString)(),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], WalletDto.prototype, "username", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, swagger_1.ApiProperty)({ description: 'Verification status of the user' }),
|
|
35
|
+
(0, class_validator_1.IsBoolean)(),
|
|
36
|
+
__metadata("design:type", Boolean)
|
|
37
|
+
], WalletDto.prototype, "isVerified", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, swagger_1.ApiProperty)({ description: 'Creator status of the user' }),
|
|
40
|
+
(0, class_validator_1.IsBoolean)(),
|
|
41
|
+
__metadata("design:type", Boolean)
|
|
42
|
+
], WalletDto.prototype, "isCreator", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, swagger_1.ApiProperty)({ description: 'Number of NFTs owned by the user' }),
|
|
45
|
+
(0, class_validator_1.IsNumber)(),
|
|
46
|
+
__metadata("design:type", Number)
|
|
47
|
+
], WalletDto.prototype, "owned", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, swagger_1.ApiProperty)({ description: 'Number of NFTs listed by the user' }),
|
|
50
|
+
(0, class_validator_1.IsNumber)(),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], WalletDto.prototype, "listed", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, swagger_1.ApiProperty)({ description: 'Number of followers' }),
|
|
55
|
+
(0, class_validator_1.IsNumber)(),
|
|
56
|
+
__metadata("design:type", Number)
|
|
57
|
+
], WalletDto.prototype, "followCount", void 0);
|
|
58
|
+
class NftInfoDto {
|
|
59
|
+
}
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, swagger_1.ApiProperty)({ description: 'NFT identifier' }),
|
|
62
|
+
(0, class_validator_1.IsString)(),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], NftInfoDto.prototype, "identifier", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, swagger_1.ApiProperty)({ description: 'NFT collection' }),
|
|
67
|
+
(0, class_validator_1.IsString)(),
|
|
68
|
+
__metadata("design:type", String)
|
|
69
|
+
], NftInfoDto.prototype, "collection", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, swagger_1.ApiProperty)({ description: 'NFT name' }),
|
|
72
|
+
(0, class_validator_1.IsString)(),
|
|
73
|
+
__metadata("design:type", String)
|
|
74
|
+
], NftInfoDto.prototype, "name", void 0);
|
|
75
|
+
__decorate([
|
|
76
|
+
(0, swagger_1.ApiProperty)({ description: 'NFT metadata' }),
|
|
77
|
+
(0, class_validator_1.IsObject)(),
|
|
78
|
+
__metadata("design:type", Object)
|
|
79
|
+
], NftInfoDto.prototype, "metadata", void 0);
|
|
80
|
+
__decorate([
|
|
81
|
+
(0, swagger_1.ApiProperty)({ description: 'NFT URL' }),
|
|
82
|
+
(0, class_validator_1.IsString)(),
|
|
83
|
+
__metadata("design:type", String)
|
|
84
|
+
], NftInfoDto.prototype, "url", void 0);
|
|
85
|
+
__decorate([
|
|
86
|
+
(0, swagger_1.ApiProperty)({ description: 'Whether the NFT was processed' }),
|
|
87
|
+
(0, class_validator_1.IsBoolean)(),
|
|
88
|
+
__metadata("design:type", Boolean)
|
|
89
|
+
], NftInfoDto.prototype, "wasProcessed", void 0);
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, swagger_1.ApiProperty)({ description: 'NFT media information' }),
|
|
92
|
+
(0, class_validator_1.IsObject)(),
|
|
93
|
+
__metadata("design:type", Object)
|
|
94
|
+
], NftInfoDto.prototype, "media", void 0);
|
|
95
|
+
class PriceDataDto {
|
|
96
|
+
}
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, swagger_1.ApiProperty)({ description: 'Price of the NFT' }),
|
|
99
|
+
(0, class_validator_1.IsNumber)(),
|
|
100
|
+
__metadata("design:type", Number)
|
|
101
|
+
], PriceDataDto.prototype, "price", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, swagger_1.ApiProperty)({ description: 'Timestamp of the transaction' }),
|
|
104
|
+
(0, class_validator_1.IsNumber)(),
|
|
105
|
+
__metadata("design:type", Number)
|
|
106
|
+
], PriceDataDto.prototype, "timestamp", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, swagger_1.ApiProperty)({ description: 'NFT identifier' }),
|
|
109
|
+
(0, class_validator_1.IsString)(),
|
|
110
|
+
__metadata("design:type", String)
|
|
111
|
+
], PriceDataDto.prototype, "identifier", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, swagger_1.ApiProperty)({ description: 'Transaction hash' }),
|
|
114
|
+
(0, class_validator_1.IsString)(),
|
|
115
|
+
__metadata("design:type", String)
|
|
116
|
+
], PriceDataDto.prototype, "txHash", void 0);
|
|
117
|
+
__decorate([
|
|
118
|
+
(0, swagger_1.ApiProperty)({ description: 'USD value of the transaction' }),
|
|
119
|
+
(0, class_validator_1.IsNumber)(),
|
|
120
|
+
__metadata("design:type", Number)
|
|
121
|
+
], PriceDataDto.prototype, "usdValue", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, swagger_1.ApiProperty)({ type: NftInfoDto, description: 'NFT information' }),
|
|
124
|
+
(0, class_validator_1.ValidateNested)(),
|
|
125
|
+
(0, class_transformer_1.Type)(() => NftInfoDto),
|
|
126
|
+
__metadata("design:type", NftInfoDto)
|
|
127
|
+
], PriceDataDto.prototype, "nftInfo", void 0);
|
|
128
|
+
class UserStatsDto {
|
|
129
|
+
}
|
|
130
|
+
__decorate([
|
|
131
|
+
(0, swagger_1.ApiProperty)({ type: WalletDto, description: 'User wallet information' }),
|
|
132
|
+
(0, class_validator_1.ValidateNested)(),
|
|
133
|
+
(0, class_transformer_1.Type)(() => WalletDto),
|
|
134
|
+
__metadata("design:type", WalletDto)
|
|
135
|
+
], UserStatsDto.prototype, "wallet", void 0);
|
|
136
|
+
__decorate([
|
|
137
|
+
(0, swagger_1.ApiProperty)({ description: 'Total trading volume' }),
|
|
138
|
+
(0, class_validator_1.IsNumber)(),
|
|
139
|
+
__metadata("design:type", Number)
|
|
140
|
+
], UserStatsDto.prototype, "totalVolume", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, swagger_1.ApiProperty)({ description: 'Total number of trades' }),
|
|
143
|
+
(0, class_validator_1.IsNumber)(),
|
|
144
|
+
__metadata("design:type", Number)
|
|
145
|
+
], UserStatsDto.prototype, "totalTrades", void 0);
|
|
146
|
+
__decorate([
|
|
147
|
+
(0, swagger_1.ApiProperty)({ description: 'Total number of collections' }),
|
|
148
|
+
(0, class_validator_1.IsNumber)(),
|
|
149
|
+
__metadata("design:type", Number)
|
|
150
|
+
], UserStatsDto.prototype, "totalCollections", void 0);
|
|
151
|
+
__decorate([
|
|
152
|
+
(0, swagger_1.ApiProperty)({ description: 'Total number of NFTs' }),
|
|
153
|
+
(0, class_validator_1.IsNumber)(),
|
|
154
|
+
__metadata("design:type", Number)
|
|
155
|
+
], UserStatsDto.prototype, "totalNfts", void 0);
|
|
156
|
+
__decorate([
|
|
157
|
+
(0, swagger_1.ApiProperty)({ description: 'Total number of partners' }),
|
|
158
|
+
(0, class_validator_1.IsNumber)(),
|
|
159
|
+
__metadata("design:type", Number)
|
|
160
|
+
], UserStatsDto.prototype, "totalPartners", void 0);
|
|
161
|
+
__decorate([
|
|
162
|
+
(0, swagger_1.ApiProperty)({ description: 'Buyer volume' }),
|
|
163
|
+
(0, class_validator_1.IsNumber)(),
|
|
164
|
+
__metadata("design:type", Number)
|
|
165
|
+
], UserStatsDto.prototype, "buyerVolume", void 0);
|
|
166
|
+
__decorate([
|
|
167
|
+
(0, swagger_1.ApiProperty)({ description: 'Buyer trades' }),
|
|
168
|
+
(0, class_validator_1.IsNumber)(),
|
|
169
|
+
__metadata("design:type", Number)
|
|
170
|
+
], UserStatsDto.prototype, "buyerTrades", void 0);
|
|
171
|
+
__decorate([
|
|
172
|
+
(0, swagger_1.ApiProperty)({ description: 'Buyer NFTs' }),
|
|
173
|
+
(0, class_validator_1.IsNumber)(),
|
|
174
|
+
__metadata("design:type", Number)
|
|
175
|
+
], UserStatsDto.prototype, "buyerNfts", void 0);
|
|
176
|
+
__decorate([
|
|
177
|
+
(0, swagger_1.ApiProperty)({ description: 'Buyer collections' }),
|
|
178
|
+
(0, class_validator_1.IsNumber)(),
|
|
179
|
+
__metadata("design:type", Number)
|
|
180
|
+
], UserStatsDto.prototype, "buyerCollections", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, swagger_1.ApiProperty)({ description: 'Buyer partners' }),
|
|
183
|
+
(0, class_validator_1.IsNumber)(),
|
|
184
|
+
__metadata("design:type", Number)
|
|
185
|
+
], UserStatsDto.prototype, "buyerPartners", void 0);
|
|
186
|
+
__decorate([
|
|
187
|
+
(0, swagger_1.ApiProperty)({ type: PriceDataDto, description: 'Buyer maximum price data' }),
|
|
188
|
+
(0, class_validator_1.ValidateNested)(),
|
|
189
|
+
(0, class_transformer_1.Type)(() => PriceDataDto),
|
|
190
|
+
__metadata("design:type", PriceDataDto)
|
|
191
|
+
], UserStatsDto.prototype, "buyerMaxPriceData", void 0);
|
|
192
|
+
__decorate([
|
|
193
|
+
(0, swagger_1.ApiProperty)({ type: PriceDataDto, description: 'Buyer minimum price data' }),
|
|
194
|
+
(0, class_validator_1.ValidateNested)(),
|
|
195
|
+
(0, class_transformer_1.Type)(() => PriceDataDto),
|
|
196
|
+
__metadata("design:type", PriceDataDto)
|
|
197
|
+
], UserStatsDto.prototype, "buyerMinPriceData", void 0);
|
|
198
|
+
__decorate([
|
|
199
|
+
(0, swagger_1.ApiProperty)({ description: 'Seller volume' }),
|
|
200
|
+
(0, class_validator_1.IsNumber)(),
|
|
201
|
+
__metadata("design:type", Number)
|
|
202
|
+
], UserStatsDto.prototype, "sellerVolume", void 0);
|
|
203
|
+
__decorate([
|
|
204
|
+
(0, swagger_1.ApiProperty)({ description: 'Seller trades' }),
|
|
205
|
+
(0, class_validator_1.IsNumber)(),
|
|
206
|
+
__metadata("design:type", Number)
|
|
207
|
+
], UserStatsDto.prototype, "sellerTrades", void 0);
|
|
208
|
+
__decorate([
|
|
209
|
+
(0, swagger_1.ApiProperty)({ description: 'Seller NFTs' }),
|
|
210
|
+
(0, class_validator_1.IsNumber)(),
|
|
211
|
+
__metadata("design:type", Number)
|
|
212
|
+
], UserStatsDto.prototype, "sellerNfts", void 0);
|
|
213
|
+
__decorate([
|
|
214
|
+
(0, swagger_1.ApiProperty)({ description: 'Seller collections' }),
|
|
215
|
+
(0, class_validator_1.IsNumber)(),
|
|
216
|
+
__metadata("design:type", Number)
|
|
217
|
+
], UserStatsDto.prototype, "sellerCollections", void 0);
|
|
218
|
+
__decorate([
|
|
219
|
+
(0, swagger_1.ApiProperty)({ description: 'Seller partners' }),
|
|
220
|
+
(0, class_validator_1.IsNumber)(),
|
|
221
|
+
__metadata("design:type", Number)
|
|
222
|
+
], UserStatsDto.prototype, "sellerPartners", void 0);
|
|
223
|
+
__decorate([
|
|
224
|
+
(0, swagger_1.ApiProperty)({ type: PriceDataDto, description: 'Seller maximum price data' }),
|
|
225
|
+
(0, class_validator_1.ValidateNested)(),
|
|
226
|
+
(0, class_transformer_1.Type)(() => PriceDataDto),
|
|
227
|
+
__metadata("design:type", PriceDataDto)
|
|
228
|
+
], UserStatsDto.prototype, "sellerMaxPriceData", void 0);
|
|
229
|
+
__decorate([
|
|
230
|
+
(0, swagger_1.ApiProperty)({ type: PriceDataDto, description: 'Seller minimum price data' }),
|
|
231
|
+
(0, class_validator_1.ValidateNested)(),
|
|
232
|
+
(0, class_transformer_1.Type)(() => PriceDataDto),
|
|
233
|
+
__metadata("design:type", PriceDataDto)
|
|
234
|
+
], UserStatsDto.prototype, "sellerMinPriceData", void 0);
|
|
235
|
+
class GetUsersStatsResponseDto {
|
|
236
|
+
}
|
|
237
|
+
exports.GetUsersStatsResponseDto = GetUsersStatsResponseDto;
|
|
238
|
+
__decorate([
|
|
239
|
+
(0, swagger_1.ApiProperty)({
|
|
240
|
+
type: UserStatsDto,
|
|
241
|
+
isArray: true,
|
|
242
|
+
description: 'List of user stats',
|
|
243
|
+
}),
|
|
244
|
+
(0, class_validator_1.ValidateNested)({ each: true }),
|
|
245
|
+
(0, class_transformer_1.Type)(() => UserStatsDto),
|
|
246
|
+
__metadata("design:type", Array)
|
|
247
|
+
], GetUsersStatsResponseDto.prototype, "usersStats", void 0);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
export declare enum XoxnoEgldLsActivity {
|
|
2
|
+
ADD_LIQUIDITY = "addLiquidity",
|
|
3
|
+
REMOVE_LIQUIDITY = "removeLiquidity",
|
|
4
|
+
DELEGATE_REWARDS = "delegateRewards",
|
|
5
|
+
WITHDRAW_PENDING = "withdrawPending",
|
|
6
|
+
CLAIM_REWARDS = "claimRewards",
|
|
7
|
+
PROTOCOL_REVENUE = "protocolRevenue",
|
|
8
|
+
GENERAL_LIQUIDITY_EVENT = "generalLiquidityEvent",
|
|
9
|
+
ADD_REWARDS = "addRewards"
|
|
10
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.XoxnoEgldLsActivity = void 0;
|
|
4
|
+
var XoxnoEgldLsActivity;
|
|
5
|
+
(function (XoxnoEgldLsActivity) {
|
|
6
|
+
XoxnoEgldLsActivity["ADD_LIQUIDITY"] = "addLiquidity";
|
|
7
|
+
XoxnoEgldLsActivity["REMOVE_LIQUIDITY"] = "removeLiquidity";
|
|
8
|
+
XoxnoEgldLsActivity["DELEGATE_REWARDS"] = "delegateRewards";
|
|
9
|
+
XoxnoEgldLsActivity["WITHDRAW_PENDING"] = "withdrawPending";
|
|
10
|
+
XoxnoEgldLsActivity["CLAIM_REWARDS"] = "claimRewards";
|
|
11
|
+
XoxnoEgldLsActivity["PROTOCOL_REVENUE"] = "protocolRevenue";
|
|
12
|
+
XoxnoEgldLsActivity["GENERAL_LIQUIDITY_EVENT"] = "generalLiquidityEvent";
|
|
13
|
+
XoxnoEgldLsActivity["ADD_REWARDS"] = "addRewards";
|
|
14
|
+
})(XoxnoEgldLsActivity || (exports.XoxnoEgldLsActivity = XoxnoEgldLsActivity = {}));
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.XoxnoLsActivity = void 0;
|
|
4
|
+
var XoxnoLsActivity;
|
|
5
|
+
(function (XoxnoLsActivity) {
|
|
6
|
+
XoxnoLsActivity["ADD_LIQUIDITY"] = "addLiquidity";
|
|
7
|
+
XoxnoLsActivity["REMOVE_LIQUIDITY"] = "removeLiquidity";
|
|
8
|
+
XoxnoLsActivity["ADD_REWARDS"] = "addRewards";
|
|
9
|
+
})(XoxnoLsActivity || (exports.XoxnoLsActivity = XoxnoLsActivity = {}));
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare class InventorySummaryDto {
|
|
2
|
+
collection: string;
|
|
3
|
+
inventoryCount: number;
|
|
4
|
+
listedCount: number;
|
|
5
|
+
stakedCount: number;
|
|
6
|
+
floorPrice: number;
|
|
7
|
+
name: string;
|
|
8
|
+
isVerified: boolean;
|
|
9
|
+
isVisible: boolean;
|
|
10
|
+
profile: string;
|
|
11
|
+
value: number;
|
|
12
|
+
}
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.InventorySummaryDto = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class InventorySummaryDto {
|
|
16
|
+
}
|
|
17
|
+
exports.InventorySummaryDto = InventorySummaryDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, swagger_1.ApiProperty)({ description: 'Collection identifier' }),
|
|
20
|
+
(0, class_validator_1.IsString)(),
|
|
21
|
+
__metadata("design:type", String)
|
|
22
|
+
], InventorySummaryDto.prototype, "collection", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, swagger_1.ApiProperty)({ description: 'Number of NFTs in inventory' }),
|
|
25
|
+
(0, class_validator_1.IsNumber)(),
|
|
26
|
+
__metadata("design:type", Number)
|
|
27
|
+
], InventorySummaryDto.prototype, "inventoryCount", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, swagger_1.ApiProperty)({ description: 'Number of listed NFTs' }),
|
|
30
|
+
(0, class_validator_1.IsNumber)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], InventorySummaryDto.prototype, "listedCount", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, swagger_1.ApiProperty)({ description: 'Number of staked NFTs' }),
|
|
35
|
+
(0, class_validator_1.IsNumber)(),
|
|
36
|
+
__metadata("design:type", Number)
|
|
37
|
+
], InventorySummaryDto.prototype, "stakedCount", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, swagger_1.ApiProperty)({ description: 'Floor price of the collection' }),
|
|
40
|
+
(0, class_validator_1.IsNumber)(),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], InventorySummaryDto.prototype, "floorPrice", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, swagger_1.ApiProperty)({ description: 'Name of the collection' }),
|
|
45
|
+
(0, class_validator_1.IsString)(),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], InventorySummaryDto.prototype, "name", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, swagger_1.ApiProperty)({ description: 'Verification status of the collection' }),
|
|
50
|
+
(0, class_validator_1.IsBoolean)(),
|
|
51
|
+
__metadata("design:type", Boolean)
|
|
52
|
+
], InventorySummaryDto.prototype, "isVerified", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, swagger_1.ApiProperty)({ description: 'Visibility status of the collection' }),
|
|
55
|
+
(0, class_validator_1.IsBoolean)(),
|
|
56
|
+
__metadata("design:type", Boolean)
|
|
57
|
+
], InventorySummaryDto.prototype, "isVisible", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, swagger_1.ApiProperty)({ description: 'Profile picture URL of the collection' }),
|
|
60
|
+
(0, class_validator_1.IsUrl)(),
|
|
61
|
+
__metadata("design:type", String)
|
|
62
|
+
], InventorySummaryDto.prototype, "profile", void 0);
|
|
63
|
+
__decorate([
|
|
64
|
+
(0, swagger_1.ApiProperty)({ description: 'Value of the collection' }),
|
|
65
|
+
(0, class_validator_1.IsNumber)(),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], InventorySummaryDto.prototype, "value", void 0);
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.LikeNftDto = void 0;
|
|
13
|
+
// file: dtos/like-nft.dto.ts
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
class LikeNftDto {
|
|
16
|
+
}
|
|
17
|
+
exports.LikeNftDto = LikeNftDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, swagger_1.ApiProperty)({ description: 'Is favorite flag', example: true }),
|
|
20
|
+
__metadata("design:type", Boolean)
|
|
21
|
+
], LikeNftDto.prototype, "isFavorite", void 0);
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, swagger_1.ApiProperty)({
|
|
24
|
+
description: 'Collection identifier',
|
|
25
|
+
example: 'EAPES-8f3c1f',
|
|
26
|
+
}),
|
|
27
|
+
__metadata("design:type", String)
|
|
28
|
+
], LikeNftDto.prototype, "collection", void 0);
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, swagger_1.ApiProperty)({ description: 'NFT identifier', example: 'EAPES-8f3c1f-1047' }),
|
|
31
|
+
__metadata("design:type", String)
|
|
32
|
+
], LikeNftDto.prototype, "identifier", void 0);
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import { ActivityChain } from '../../common/enums';
|
|
2
|
+
import { NftMetadataAttributes } from '../../cosmos-db/documents/token/nft-metadata-attributes';
|
|
3
|
+
import { CosmosDbGenericFilter, RangeFilter } from '../../cosmos-db/cosmos-db-generic-filter';
|
|
4
|
+
export declare class SaleInfoFilterDto {
|
|
5
|
+
seller?: string[];
|
|
6
|
+
paymentToken?: string[];
|
|
7
|
+
marketplace?: string[];
|
|
8
|
+
auctionType?: string[];
|
|
9
|
+
}
|
|
10
|
+
export declare class MetadataAttributesDto {
|
|
11
|
+
attributes?: NftMetadataAttributes[];
|
|
12
|
+
}
|
|
13
|
+
export declare class NftDocFilterCriteriaDto {
|
|
14
|
+
dataType?: string[];
|
|
15
|
+
identifier?: string[];
|
|
16
|
+
collection?: string[];
|
|
17
|
+
nonce?: number[];
|
|
18
|
+
type?: string[];
|
|
19
|
+
onSale?: boolean;
|
|
20
|
+
owner?: string[];
|
|
21
|
+
currentOwner?: string[];
|
|
22
|
+
saleInfo?: SaleInfoFilterDto;
|
|
23
|
+
range?: RangeFilter[];
|
|
24
|
+
metadata?: MetadataAttributesDto;
|
|
25
|
+
wasProcessed?: boolean;
|
|
26
|
+
cp_staked?: boolean;
|
|
27
|
+
activeAuction?: boolean;
|
|
28
|
+
verifiedOnly?: boolean;
|
|
29
|
+
sftOriginalDoc?: boolean;
|
|
30
|
+
}
|
|
31
|
+
export declare class NftDocFilter extends CosmosDbGenericFilter {
|
|
32
|
+
filters: {
|
|
33
|
+
dataType?: string[];
|
|
34
|
+
identifier?: string[];
|
|
35
|
+
collection?: string[];
|
|
36
|
+
chain?: ActivityChain[];
|
|
37
|
+
nonce?: number[];
|
|
38
|
+
type?: string[];
|
|
39
|
+
onSale?: boolean;
|
|
40
|
+
owner?: string[];
|
|
41
|
+
currentOwner?: string[];
|
|
42
|
+
saleInfo?: {
|
|
43
|
+
seller?: string[];
|
|
44
|
+
paymentToken?: string[];
|
|
45
|
+
marketplace?: string[];
|
|
46
|
+
auctionType?: string[];
|
|
47
|
+
};
|
|
48
|
+
range?: RangeFilter[];
|
|
49
|
+
metadata?: {
|
|
50
|
+
attributes?: NftMetadataAttributes[];
|
|
51
|
+
};
|
|
52
|
+
wasProcessed?: boolean;
|
|
53
|
+
cp_staked?: boolean;
|
|
54
|
+
activeAuction?: boolean;
|
|
55
|
+
verifiedOnly?: boolean;
|
|
56
|
+
sftOriginalDoc?: boolean;
|
|
57
|
+
};
|
|
58
|
+
strictSelect?: boolean;
|
|
59
|
+
includeCount?: boolean;
|
|
60
|
+
applyNftExtraDetails?: boolean;
|
|
61
|
+
constructor(props: Partial<NftDocFilter>);
|
|
62
|
+
private setPk;
|
|
63
|
+
private applySelectPropertyLogic;
|
|
64
|
+
private getDefaultProperties;
|
|
65
|
+
}
|