@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,45 @@
|
|
|
1
|
+
import { ActivityChain } from '../../../common/enums';
|
|
2
|
+
import { CollectionProfileDoc } from './profile';
|
|
3
|
+
declare class TradingDataSummary {
|
|
4
|
+
volume: number;
|
|
5
|
+
volumeMargin: number;
|
|
6
|
+
trades: number;
|
|
7
|
+
tradesMargin: number;
|
|
8
|
+
minPrice?: number;
|
|
9
|
+
maxPrice?: number;
|
|
10
|
+
averagePrice?: number;
|
|
11
|
+
}
|
|
12
|
+
export declare class AllTimeHigh {
|
|
13
|
+
price: number;
|
|
14
|
+
timestamp: number;
|
|
15
|
+
txHash: string;
|
|
16
|
+
identifier: string;
|
|
17
|
+
constructor(props?: Partial<AllTimeHigh>);
|
|
18
|
+
}
|
|
19
|
+
export declare class TradingStatistics {
|
|
20
|
+
totalVolume: number;
|
|
21
|
+
totalTrades: number;
|
|
22
|
+
averagePrice?: number;
|
|
23
|
+
allTimeHigh: AllTimeHigh;
|
|
24
|
+
day: TradingDataSummary;
|
|
25
|
+
week: TradingDataSummary;
|
|
26
|
+
month: TradingDataSummary;
|
|
27
|
+
quarter: TradingDataSummary;
|
|
28
|
+
halfYear: TradingDataSummary;
|
|
29
|
+
year: TradingDataSummary;
|
|
30
|
+
constructor(props?: Partial<TradingStatistics>);
|
|
31
|
+
}
|
|
32
|
+
export declare class CollectionStatsDoc {
|
|
33
|
+
dataType: string;
|
|
34
|
+
collection: string;
|
|
35
|
+
floorPrice?: number;
|
|
36
|
+
listedCount: number;
|
|
37
|
+
tradingStats: TradingStatistics;
|
|
38
|
+
chain: ActivityChain;
|
|
39
|
+
_ts: number;
|
|
40
|
+
id: string;
|
|
41
|
+
collectionInfo?: Partial<CollectionProfileDoc>;
|
|
42
|
+
constructor(props?: Partial<CollectionStatsDoc>);
|
|
43
|
+
}
|
|
44
|
+
export type CollectionStatsDocType = CollectionStatsDoc;
|
|
45
|
+
export {};
|
|
@@ -0,0 +1,286 @@
|
|
|
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.CollectionStatsDoc = exports.TradingStatistics = exports.AllTimeHigh = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const enums_1 = require("../../../common/enums");
|
|
15
|
+
const dataTypes_1 = require("./dataTypes");
|
|
16
|
+
const profile_1 = require("./profile");
|
|
17
|
+
class TradingDataSummary {
|
|
18
|
+
constructor() {
|
|
19
|
+
this.volume = 0;
|
|
20
|
+
this.volumeMargin = 0;
|
|
21
|
+
this.trades = 0;
|
|
22
|
+
this.tradesMargin = 0;
|
|
23
|
+
this.minPrice = 0;
|
|
24
|
+
this.maxPrice = 0;
|
|
25
|
+
this.averagePrice = 0;
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, swagger_1.ApiProperty)({
|
|
30
|
+
description: 'Trading volume',
|
|
31
|
+
example: 100.5,
|
|
32
|
+
}),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], TradingDataSummary.prototype, "volume", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, swagger_1.ApiProperty)({
|
|
37
|
+
description: 'Volume margin percentage',
|
|
38
|
+
example: 5.2,
|
|
39
|
+
}),
|
|
40
|
+
__metadata("design:type", Number)
|
|
41
|
+
], TradingDataSummary.prototype, "volumeMargin", void 0);
|
|
42
|
+
__decorate([
|
|
43
|
+
(0, swagger_1.ApiProperty)({
|
|
44
|
+
description: 'Number of trades',
|
|
45
|
+
example: 10,
|
|
46
|
+
}),
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], TradingDataSummary.prototype, "trades", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, swagger_1.ApiProperty)({
|
|
51
|
+
description: 'Trades margin percentage',
|
|
52
|
+
example: 3.1,
|
|
53
|
+
}),
|
|
54
|
+
__metadata("design:type", Number)
|
|
55
|
+
], TradingDataSummary.prototype, "tradesMargin", void 0);
|
|
56
|
+
__decorate([
|
|
57
|
+
(0, swagger_1.ApiProperty)({
|
|
58
|
+
description: 'Minimum price',
|
|
59
|
+
required: false,
|
|
60
|
+
example: 0.1,
|
|
61
|
+
}),
|
|
62
|
+
__metadata("design:type", Number)
|
|
63
|
+
], TradingDataSummary.prototype, "minPrice", void 0);
|
|
64
|
+
__decorate([
|
|
65
|
+
(0, swagger_1.ApiProperty)({
|
|
66
|
+
description: 'Maximum price',
|
|
67
|
+
required: false,
|
|
68
|
+
example: 100.0,
|
|
69
|
+
}),
|
|
70
|
+
__metadata("design:type", Number)
|
|
71
|
+
], TradingDataSummary.prototype, "maxPrice", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, swagger_1.ApiProperty)({
|
|
74
|
+
description: 'Average price',
|
|
75
|
+
required: false,
|
|
76
|
+
example: 20.5,
|
|
77
|
+
}),
|
|
78
|
+
__metadata("design:type", Number)
|
|
79
|
+
], TradingDataSummary.prototype, "averagePrice", void 0);
|
|
80
|
+
class AllTimeHigh {
|
|
81
|
+
constructor(props) {
|
|
82
|
+
this.price = 0;
|
|
83
|
+
this.timestamp = 0;
|
|
84
|
+
this.txHash = '';
|
|
85
|
+
this.identifier = '';
|
|
86
|
+
Object.assign(this, props);
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
exports.AllTimeHigh = AllTimeHigh;
|
|
90
|
+
__decorate([
|
|
91
|
+
(0, swagger_1.ApiProperty)({
|
|
92
|
+
description: 'All-time high price',
|
|
93
|
+
example: 150.0,
|
|
94
|
+
}),
|
|
95
|
+
__metadata("design:type", Number)
|
|
96
|
+
], AllTimeHigh.prototype, "price", void 0);
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, swagger_1.ApiProperty)({
|
|
99
|
+
description: 'Timestamp of all-time high',
|
|
100
|
+
example: 1640995200,
|
|
101
|
+
}),
|
|
102
|
+
__metadata("design:type", Number)
|
|
103
|
+
], AllTimeHigh.prototype, "timestamp", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, swagger_1.ApiProperty)({
|
|
106
|
+
description: 'Transaction hash of all-time high',
|
|
107
|
+
example: '0x123abc...',
|
|
108
|
+
}),
|
|
109
|
+
__metadata("design:type", String)
|
|
110
|
+
], AllTimeHigh.prototype, "txHash", void 0);
|
|
111
|
+
__decorate([
|
|
112
|
+
(0, swagger_1.ApiProperty)({
|
|
113
|
+
description: 'NFT identifier of all-time high',
|
|
114
|
+
example: 'COLLECTION-123456-01',
|
|
115
|
+
}),
|
|
116
|
+
__metadata("design:type", String)
|
|
117
|
+
], AllTimeHigh.prototype, "identifier", void 0);
|
|
118
|
+
class TradingStatistics {
|
|
119
|
+
constructor(props) {
|
|
120
|
+
this.totalVolume = 0;
|
|
121
|
+
this.totalTrades = 0;
|
|
122
|
+
this.averagePrice = 0;
|
|
123
|
+
this.allTimeHigh = new AllTimeHigh();
|
|
124
|
+
this.day = new TradingDataSummary();
|
|
125
|
+
this.week = new TradingDataSummary();
|
|
126
|
+
this.month = new TradingDataSummary();
|
|
127
|
+
this.quarter = new TradingDataSummary();
|
|
128
|
+
this.halfYear = new TradingDataSummary();
|
|
129
|
+
this.year = new TradingDataSummary();
|
|
130
|
+
Object.assign(this, props);
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
exports.TradingStatistics = TradingStatistics;
|
|
134
|
+
__decorate([
|
|
135
|
+
(0, swagger_1.ApiProperty)({
|
|
136
|
+
description: 'Total volume traded',
|
|
137
|
+
example: 1000.5,
|
|
138
|
+
}),
|
|
139
|
+
__metadata("design:type", Number)
|
|
140
|
+
], TradingStatistics.prototype, "totalVolume", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, swagger_1.ApiProperty)({
|
|
143
|
+
description: 'Total number of trades',
|
|
144
|
+
example: 50,
|
|
145
|
+
}),
|
|
146
|
+
__metadata("design:type", Number)
|
|
147
|
+
], TradingStatistics.prototype, "totalTrades", void 0);
|
|
148
|
+
__decorate([
|
|
149
|
+
(0, swagger_1.ApiProperty)({
|
|
150
|
+
description: 'Average price of trades',
|
|
151
|
+
required: false,
|
|
152
|
+
example: 20.1,
|
|
153
|
+
}),
|
|
154
|
+
__metadata("design:type", Number)
|
|
155
|
+
], TradingStatistics.prototype, "averagePrice", void 0);
|
|
156
|
+
__decorate([
|
|
157
|
+
(0, swagger_1.ApiProperty)({
|
|
158
|
+
description: 'All-time high statistics',
|
|
159
|
+
type: AllTimeHigh,
|
|
160
|
+
}),
|
|
161
|
+
__metadata("design:type", AllTimeHigh)
|
|
162
|
+
], TradingStatistics.prototype, "allTimeHigh", void 0);
|
|
163
|
+
__decorate([
|
|
164
|
+
(0, swagger_1.ApiProperty)({
|
|
165
|
+
description: 'Daily trading statistics',
|
|
166
|
+
type: TradingDataSummary,
|
|
167
|
+
}),
|
|
168
|
+
__metadata("design:type", TradingDataSummary)
|
|
169
|
+
], TradingStatistics.prototype, "day", void 0);
|
|
170
|
+
__decorate([
|
|
171
|
+
(0, swagger_1.ApiProperty)({
|
|
172
|
+
description: 'Weekly trading statistics',
|
|
173
|
+
type: TradingDataSummary,
|
|
174
|
+
}),
|
|
175
|
+
__metadata("design:type", TradingDataSummary)
|
|
176
|
+
], TradingStatistics.prototype, "week", void 0);
|
|
177
|
+
__decorate([
|
|
178
|
+
(0, swagger_1.ApiProperty)({
|
|
179
|
+
description: 'Monthly trading statistics',
|
|
180
|
+
type: TradingDataSummary,
|
|
181
|
+
}),
|
|
182
|
+
__metadata("design:type", TradingDataSummary)
|
|
183
|
+
], TradingStatistics.prototype, "month", void 0);
|
|
184
|
+
__decorate([
|
|
185
|
+
(0, swagger_1.ApiProperty)({
|
|
186
|
+
description: 'Quarterly trading statistics',
|
|
187
|
+
type: TradingDataSummary,
|
|
188
|
+
}),
|
|
189
|
+
__metadata("design:type", TradingDataSummary)
|
|
190
|
+
], TradingStatistics.prototype, "quarter", void 0);
|
|
191
|
+
__decorate([
|
|
192
|
+
(0, swagger_1.ApiProperty)({
|
|
193
|
+
description: 'Half-year trading statistics',
|
|
194
|
+
type: TradingDataSummary,
|
|
195
|
+
}),
|
|
196
|
+
__metadata("design:type", TradingDataSummary)
|
|
197
|
+
], TradingStatistics.prototype, "halfYear", void 0);
|
|
198
|
+
__decorate([
|
|
199
|
+
(0, swagger_1.ApiProperty)({
|
|
200
|
+
description: 'Yearly trading statistics',
|
|
201
|
+
type: TradingDataSummary,
|
|
202
|
+
}),
|
|
203
|
+
__metadata("design:type", TradingDataSummary)
|
|
204
|
+
], TradingStatistics.prototype, "year", void 0);
|
|
205
|
+
class CollectionStatsDoc {
|
|
206
|
+
constructor(props) {
|
|
207
|
+
this.dataType = dataTypes_1.CollectionDataType.CollectionStats;
|
|
208
|
+
this.floorPrice = 0;
|
|
209
|
+
this.listedCount = 0;
|
|
210
|
+
this.tradingStats = new TradingStatistics();
|
|
211
|
+
this.chain = enums_1.ActivityChain.MULTIVERSX;
|
|
212
|
+
if (!props?.collection) {
|
|
213
|
+
throw new Error('collection is required');
|
|
214
|
+
}
|
|
215
|
+
Object.assign(this, props);
|
|
216
|
+
this.collection = this.collection.replace(/::/g, '-');
|
|
217
|
+
this.id = `${this.collection}-${this.dataType}`;
|
|
218
|
+
}
|
|
219
|
+
}
|
|
220
|
+
exports.CollectionStatsDoc = CollectionStatsDoc;
|
|
221
|
+
__decorate([
|
|
222
|
+
(0, swagger_1.ApiProperty)({
|
|
223
|
+
description: 'Data type identifier for collection stats',
|
|
224
|
+
example: dataTypes_1.CollectionDataType.CollectionStats,
|
|
225
|
+
}),
|
|
226
|
+
__metadata("design:type", String)
|
|
227
|
+
], CollectionStatsDoc.prototype, "dataType", void 0);
|
|
228
|
+
__decorate([
|
|
229
|
+
(0, swagger_1.ApiProperty)({
|
|
230
|
+
description: 'Collection identifier',
|
|
231
|
+
example: 'COLLECTION-123456',
|
|
232
|
+
}),
|
|
233
|
+
__metadata("design:type", String)
|
|
234
|
+
], CollectionStatsDoc.prototype, "collection", void 0);
|
|
235
|
+
__decorate([
|
|
236
|
+
(0, swagger_1.ApiProperty)({
|
|
237
|
+
description: 'Floor price of the collection',
|
|
238
|
+
required: false,
|
|
239
|
+
example: 0.5,
|
|
240
|
+
}),
|
|
241
|
+
__metadata("design:type", Number)
|
|
242
|
+
], CollectionStatsDoc.prototype, "floorPrice", void 0);
|
|
243
|
+
__decorate([
|
|
244
|
+
(0, swagger_1.ApiProperty)({
|
|
245
|
+
description: 'Number of listed items',
|
|
246
|
+
example: 100,
|
|
247
|
+
}),
|
|
248
|
+
__metadata("design:type", Number)
|
|
249
|
+
], CollectionStatsDoc.prototype, "listedCount", void 0);
|
|
250
|
+
__decorate([
|
|
251
|
+
(0, swagger_1.ApiProperty)({
|
|
252
|
+
description: 'Trading statistics for the collection',
|
|
253
|
+
type: TradingStatistics,
|
|
254
|
+
}),
|
|
255
|
+
__metadata("design:type", TradingStatistics)
|
|
256
|
+
], CollectionStatsDoc.prototype, "tradingStats", void 0);
|
|
257
|
+
__decorate([
|
|
258
|
+
(0, swagger_1.ApiProperty)({
|
|
259
|
+
description: 'Blockchain chain',
|
|
260
|
+
enum: enums_1.ActivityChain,
|
|
261
|
+
example: enums_1.ActivityChain.MULTIVERSX,
|
|
262
|
+
}),
|
|
263
|
+
__metadata("design:type", String)
|
|
264
|
+
], CollectionStatsDoc.prototype, "chain", void 0);
|
|
265
|
+
__decorate([
|
|
266
|
+
(0, swagger_1.ApiProperty)({
|
|
267
|
+
description: 'Document timestamp',
|
|
268
|
+
example: 1640995200,
|
|
269
|
+
}),
|
|
270
|
+
__metadata("design:type", Number)
|
|
271
|
+
], CollectionStatsDoc.prototype, "_ts", void 0);
|
|
272
|
+
__decorate([
|
|
273
|
+
(0, swagger_1.ApiProperty)({
|
|
274
|
+
description: 'Unique document identifier',
|
|
275
|
+
example: 'COLLECTION-123456-CollectionStats',
|
|
276
|
+
}),
|
|
277
|
+
__metadata("design:type", String)
|
|
278
|
+
], CollectionStatsDoc.prototype, "id", void 0);
|
|
279
|
+
__decorate([
|
|
280
|
+
(0, swagger_1.ApiProperty)({
|
|
281
|
+
description: 'Collection profile information',
|
|
282
|
+
required: false,
|
|
283
|
+
type: (0, swagger_1.PartialType)(profile_1.CollectionProfileDoc),
|
|
284
|
+
}),
|
|
285
|
+
__metadata("design:type", Object)
|
|
286
|
+
], CollectionStatsDoc.prototype, "collectionInfo", void 0);
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { CollectionDataType } from './dataTypes';
|
|
2
|
+
export declare class CollectionVerificationDoc {
|
|
3
|
+
dataType: CollectionDataType;
|
|
4
|
+
collection: string;
|
|
5
|
+
isVerified: boolean;
|
|
6
|
+
isVisible: boolean;
|
|
7
|
+
lastActionAddress: string;
|
|
8
|
+
lastActionTimestamp: number;
|
|
9
|
+
id: string;
|
|
10
|
+
constructor(props?: Partial<CollectionVerificationDoc>);
|
|
11
|
+
}
|
|
@@ -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.CollectionVerificationDoc = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const dataTypes_1 = require("./dataTypes");
|
|
15
|
+
class CollectionVerificationDoc {
|
|
16
|
+
constructor(props) {
|
|
17
|
+
this.dataType = dataTypes_1.CollectionDataType.CollectionVerification;
|
|
18
|
+
Object.assign(this, props);
|
|
19
|
+
this.id = `${this.collection}-${this.dataType}`;
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
exports.CollectionVerificationDoc = CollectionVerificationDoc;
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, swagger_1.ApiProperty)({
|
|
25
|
+
description: 'Data type identifier for the collection verification',
|
|
26
|
+
enum: dataTypes_1.CollectionDataType,
|
|
27
|
+
example: dataTypes_1.CollectionDataType.CollectionVerification,
|
|
28
|
+
}),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], CollectionVerificationDoc.prototype, "dataType", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, swagger_1.ApiProperty)({
|
|
33
|
+
description: 'Collection identifier',
|
|
34
|
+
example: 'COLLECTION-123456',
|
|
35
|
+
}),
|
|
36
|
+
__metadata("design:type", String)
|
|
37
|
+
], CollectionVerificationDoc.prototype, "collection", void 0);
|
|
38
|
+
__decorate([
|
|
39
|
+
(0, swagger_1.ApiProperty)({
|
|
40
|
+
description: 'Whether the collection is verified',
|
|
41
|
+
example: true,
|
|
42
|
+
}),
|
|
43
|
+
__metadata("design:type", Boolean)
|
|
44
|
+
], CollectionVerificationDoc.prototype, "isVerified", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, swagger_1.ApiProperty)({
|
|
47
|
+
description: 'Whether the collection is visible to the public',
|
|
48
|
+
example: true,
|
|
49
|
+
}),
|
|
50
|
+
__metadata("design:type", Boolean)
|
|
51
|
+
], CollectionVerificationDoc.prototype, "isVisible", void 0);
|
|
52
|
+
__decorate([
|
|
53
|
+
(0, swagger_1.ApiProperty)({
|
|
54
|
+
description: 'Address of the last action performer',
|
|
55
|
+
example: 'erd1qqqqqqqqqqqqqpgqw0t0ef0jdpeva2v7qy7q7qjjfq6yq0wq0w0qjjfq6yq',
|
|
56
|
+
}),
|
|
57
|
+
__metadata("design:type", String)
|
|
58
|
+
], CollectionVerificationDoc.prototype, "lastActionAddress", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, swagger_1.ApiProperty)({
|
|
61
|
+
description: 'Timestamp of the last action (Unix timestamp)',
|
|
62
|
+
example: 1640995200,
|
|
63
|
+
}),
|
|
64
|
+
__metadata("design:type", Number)
|
|
65
|
+
], CollectionVerificationDoc.prototype, "lastActionTimestamp", void 0);
|
|
66
|
+
__decorate([
|
|
67
|
+
(0, swagger_1.ApiProperty)({
|
|
68
|
+
description: 'Unique identifier for the document',
|
|
69
|
+
example: 'COLLECTION-123456-collectionVerification',
|
|
70
|
+
}),
|
|
71
|
+
__metadata("design:type", String)
|
|
72
|
+
], CollectionVerificationDoc.prototype, "id", void 0);
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
interface PaymentInstruction {
|
|
2
|
+
currency: string;
|
|
3
|
+
amount: number;
|
|
4
|
+
price: number;
|
|
5
|
+
}
|
|
6
|
+
interface PaymentInfo {
|
|
7
|
+
payerId: number;
|
|
8
|
+
payMethod: string;
|
|
9
|
+
paymentInstructions: PaymentInstruction[];
|
|
10
|
+
channel?: string;
|
|
11
|
+
subChannel?: string;
|
|
12
|
+
}
|
|
13
|
+
export interface BinanceNotificationData {
|
|
14
|
+
merchantTradeNo: string;
|
|
15
|
+
productType: string;
|
|
16
|
+
productName: string;
|
|
17
|
+
transactTime: number;
|
|
18
|
+
tradeType: string;
|
|
19
|
+
totalFee: number;
|
|
20
|
+
currency: string;
|
|
21
|
+
transactionId?: string;
|
|
22
|
+
openUserId?: string;
|
|
23
|
+
passThroughInfo?: string;
|
|
24
|
+
commission: number;
|
|
25
|
+
paymentInfo?: PaymentInfo;
|
|
26
|
+
}
|
|
27
|
+
export interface BinanceRequestParameters {
|
|
28
|
+
bizType: BinanceBizType;
|
|
29
|
+
bizId: number;
|
|
30
|
+
bizIdStr: string;
|
|
31
|
+
bizStatus: BinanceBizStatus;
|
|
32
|
+
data: string;
|
|
33
|
+
childAttribute?: BinanceNotificationData;
|
|
34
|
+
}
|
|
35
|
+
export declare enum BinanceBizType {
|
|
36
|
+
PAY = "PAY",
|
|
37
|
+
REFUND = "REFUND",
|
|
38
|
+
PAYOUT = "PAYOUT",
|
|
39
|
+
PAY_REFUND = "PAY_REFUND",
|
|
40
|
+
BALANCE = "BALANCE"
|
|
41
|
+
}
|
|
42
|
+
export declare enum BinanceBizStatus {
|
|
43
|
+
PAY_SUCCESS = "PAY_SUCCESS",
|
|
44
|
+
PAY_CLOSED = "PAY_CLOSED"
|
|
45
|
+
}
|
|
46
|
+
export {};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BinanceBizStatus = exports.BinanceBizType = void 0;
|
|
4
|
+
var BinanceBizType;
|
|
5
|
+
(function (BinanceBizType) {
|
|
6
|
+
BinanceBizType["PAY"] = "PAY";
|
|
7
|
+
BinanceBizType["REFUND"] = "REFUND";
|
|
8
|
+
BinanceBizType["PAYOUT"] = "PAYOUT";
|
|
9
|
+
BinanceBizType["PAY_REFUND"] = "PAY_REFUND";
|
|
10
|
+
BinanceBizType["BALANCE"] = "BALANCE";
|
|
11
|
+
})(BinanceBizType || (exports.BinanceBizType = BinanceBizType = {}));
|
|
12
|
+
var BinanceBizStatus;
|
|
13
|
+
(function (BinanceBizStatus) {
|
|
14
|
+
BinanceBizStatus["PAY_SUCCESS"] = "PAY_SUCCESS";
|
|
15
|
+
BinanceBizStatus["PAY_CLOSED"] = "PAY_CLOSED";
|
|
16
|
+
})(BinanceBizStatus || (exports.BinanceBizStatus = BinanceBizStatus = {}));
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
export declare enum BinanceTerminalType {
|
|
2
|
+
APP = "APP",
|
|
3
|
+
WEB = "WEB",
|
|
4
|
+
WAP = "WAP",
|
|
5
|
+
MINI_PROGRAM = "MINI_PROGRAM",
|
|
6
|
+
OTHERS = "OTHERS"
|
|
7
|
+
}
|
|
8
|
+
export declare enum BinanceGoodsType {
|
|
9
|
+
TANGIBLE = "01",
|
|
10
|
+
VIRTUAL = "02"
|
|
11
|
+
}
|
|
12
|
+
export declare enum BinanceGoodsCategory {
|
|
13
|
+
ELECTRONICS_COMPUTERS = "0000",
|
|
14
|
+
BOOKS_MUSIC_MOVIES = "1000",
|
|
15
|
+
HOME_GARDEN_TOOLS = "2000",
|
|
16
|
+
CLOTHES_SHOES_BAGS = "3000",
|
|
17
|
+
TOYS_KIDS_BABY = "4000",
|
|
18
|
+
AUTOMOTIVE_ACCESSORIES = "5000",
|
|
19
|
+
GAME_RECHARGE = "6000",
|
|
20
|
+
ENTERTAINAMENT_COLLECTION = "7000",
|
|
21
|
+
JEWELRY = "8000",
|
|
22
|
+
DOMESTIC_SERVICE = "9000",
|
|
23
|
+
BEAUTY_CARE = "A000",
|
|
24
|
+
PHARMACY = "B000",
|
|
25
|
+
SPORTS_OUTDOORS = "C000",
|
|
26
|
+
FOOD_GROCERY_HEALTH_PRODUCTS = "D000",
|
|
27
|
+
PET_SUPPLIES = "E000",
|
|
28
|
+
INDUSTRY_SCIENCE = "F000",
|
|
29
|
+
OTHERS = "Z000"
|
|
30
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.BinanceGoodsCategory = exports.BinanceGoodsType = exports.BinanceTerminalType = void 0;
|
|
4
|
+
var BinanceTerminalType;
|
|
5
|
+
(function (BinanceTerminalType) {
|
|
6
|
+
BinanceTerminalType["APP"] = "APP";
|
|
7
|
+
BinanceTerminalType["WEB"] = "WEB";
|
|
8
|
+
BinanceTerminalType["WAP"] = "WAP";
|
|
9
|
+
BinanceTerminalType["MINI_PROGRAM"] = "MINI_PROGRAM";
|
|
10
|
+
BinanceTerminalType["OTHERS"] = "OTHERS";
|
|
11
|
+
})(BinanceTerminalType || (exports.BinanceTerminalType = BinanceTerminalType = {}));
|
|
12
|
+
var BinanceGoodsType;
|
|
13
|
+
(function (BinanceGoodsType) {
|
|
14
|
+
BinanceGoodsType["TANGIBLE"] = "01";
|
|
15
|
+
BinanceGoodsType["VIRTUAL"] = "02";
|
|
16
|
+
})(BinanceGoodsType || (exports.BinanceGoodsType = BinanceGoodsType = {}));
|
|
17
|
+
var BinanceGoodsCategory;
|
|
18
|
+
(function (BinanceGoodsCategory) {
|
|
19
|
+
BinanceGoodsCategory["ELECTRONICS_COMPUTERS"] = "0000";
|
|
20
|
+
BinanceGoodsCategory["BOOKS_MUSIC_MOVIES"] = "1000";
|
|
21
|
+
BinanceGoodsCategory["HOME_GARDEN_TOOLS"] = "2000";
|
|
22
|
+
BinanceGoodsCategory["CLOTHES_SHOES_BAGS"] = "3000";
|
|
23
|
+
BinanceGoodsCategory["TOYS_KIDS_BABY"] = "4000";
|
|
24
|
+
BinanceGoodsCategory["AUTOMOTIVE_ACCESSORIES"] = "5000";
|
|
25
|
+
BinanceGoodsCategory["GAME_RECHARGE"] = "6000";
|
|
26
|
+
BinanceGoodsCategory["ENTERTAINAMENT_COLLECTION"] = "7000";
|
|
27
|
+
BinanceGoodsCategory["JEWELRY"] = "8000";
|
|
28
|
+
BinanceGoodsCategory["DOMESTIC_SERVICE"] = "9000";
|
|
29
|
+
BinanceGoodsCategory["BEAUTY_CARE"] = "A000";
|
|
30
|
+
BinanceGoodsCategory["PHARMACY"] = "B000";
|
|
31
|
+
BinanceGoodsCategory["SPORTS_OUTDOORS"] = "C000";
|
|
32
|
+
BinanceGoodsCategory["FOOD_GROCERY_HEALTH_PRODUCTS"] = "D000";
|
|
33
|
+
BinanceGoodsCategory["PET_SUPPLIES"] = "E000";
|
|
34
|
+
BinanceGoodsCategory["INDUSTRY_SCIENCE"] = "F000";
|
|
35
|
+
BinanceGoodsCategory["OTHERS"] = "Z000";
|
|
36
|
+
})(BinanceGoodsCategory || (exports.BinanceGoodsCategory = BinanceGoodsCategory = {}));
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { PaymentProvider } from './payment-provider.enum';
|
|
2
|
+
import { PurchaseType } from './purchase-type.enum';
|
|
3
|
+
export declare class CallbackUrl {
|
|
4
|
+
success: string;
|
|
5
|
+
error: string;
|
|
6
|
+
successClose: string;
|
|
7
|
+
errorClose: string;
|
|
8
|
+
}
|
|
9
|
+
export declare class MarketplaceCustomData {
|
|
10
|
+
quantity: number;
|
|
11
|
+
auctionId: number;
|
|
12
|
+
}
|
|
13
|
+
export declare class LaunchpadCustomData {
|
|
14
|
+
quantity: number;
|
|
15
|
+
collectionTag: string;
|
|
16
|
+
stage: string;
|
|
17
|
+
mintSC: string;
|
|
18
|
+
}
|
|
19
|
+
export declare class TicketInfo {
|
|
20
|
+
ticketProfileId: string;
|
|
21
|
+
ticketStageId: string;
|
|
22
|
+
quantity: number;
|
|
23
|
+
price: number;
|
|
24
|
+
}
|
|
25
|
+
export declare class TwispayEventTicketCustomData {
|
|
26
|
+
eventId: string;
|
|
27
|
+
address: string;
|
|
28
|
+
contractAddress: string;
|
|
29
|
+
collectionId: string;
|
|
30
|
+
quantity: number;
|
|
31
|
+
tickets: TicketInfo[];
|
|
32
|
+
}
|
|
33
|
+
export declare class ExternalPaymentRequest {
|
|
34
|
+
address: string;
|
|
35
|
+
purchaseType: PurchaseType;
|
|
36
|
+
paymentProvider: PaymentProvider;
|
|
37
|
+
currency: string;
|
|
38
|
+
name: string;
|
|
39
|
+
images?: string[];
|
|
40
|
+
uiMode?: 'embedded' | 'custom';
|
|
41
|
+
callbackUrl: CallbackUrl;
|
|
42
|
+
customData: MarketplaceCustomData | LaunchpadCustomData | TwispayEventTicketCustomData;
|
|
43
|
+
description?: string;
|
|
44
|
+
amount?: number;
|
|
45
|
+
egldPrice?: number;
|
|
46
|
+
egldFiatPrice?: number;
|
|
47
|
+
collection?: string;
|
|
48
|
+
nftNonce?: number;
|
|
49
|
+
identifier?: string;
|
|
50
|
+
paymentProviderId?: string;
|
|
51
|
+
docId?: string;
|
|
52
|
+
}
|