@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,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StakingIssuingTypeString = void 0;
|
|
4
|
+
var StakingIssuingTypeString;
|
|
5
|
+
(function (StakingIssuingTypeString) {
|
|
6
|
+
StakingIssuingTypeString["None"] = "None";
|
|
7
|
+
StakingIssuingTypeString["Fixed"] = "Fixed";
|
|
8
|
+
StakingIssuingTypeString["Dynamic"] = "Dynamic";
|
|
9
|
+
})(StakingIssuingTypeString || (exports.StakingIssuingTypeString = StakingIssuingTypeString = {}));
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { StakingIssuingTypeString } from './staking-issuing-type-string.enum';
|
|
2
|
+
import { StakingPoolTypeString } from './staking-pool-type-string.enum';
|
|
3
|
+
import { StakingDataType } from './staking-data-type.enum';
|
|
4
|
+
import { NftProps } from '../token/nft-details.doc';
|
|
5
|
+
export declare class StakingPoolDoc {
|
|
6
|
+
dataType: StakingDataType;
|
|
7
|
+
poolId: number;
|
|
8
|
+
poolType: StakingPoolTypeString;
|
|
9
|
+
stakingEnabled: boolean;
|
|
10
|
+
whitelistEnabled: boolean;
|
|
11
|
+
matchPairEnabled: boolean;
|
|
12
|
+
maxStakePerWallet: number;
|
|
13
|
+
maxStakePerPool: number;
|
|
14
|
+
issuingType: StakingIssuingTypeString;
|
|
15
|
+
issuingDeadline: number;
|
|
16
|
+
issuingStart: number;
|
|
17
|
+
unboundPeriod: number;
|
|
18
|
+
collection: string[];
|
|
19
|
+
reward: XoxnoStakingReward[];
|
|
20
|
+
cutFee: number;
|
|
21
|
+
owner: string;
|
|
22
|
+
name?: string;
|
|
23
|
+
profile?: string;
|
|
24
|
+
totalWhitelisted?: number;
|
|
25
|
+
delegatorCount?: number;
|
|
26
|
+
poolStakedCount?: number;
|
|
27
|
+
pk?: string;
|
|
28
|
+
id?: string;
|
|
29
|
+
constructor(props?: Partial<StakingPoolDoc>);
|
|
30
|
+
}
|
|
31
|
+
export declare class XoxnoStakingReward {
|
|
32
|
+
constructor(init?: Partial<XoxnoStakingReward>);
|
|
33
|
+
tokenIdentifier: string;
|
|
34
|
+
tokenNonce: number;
|
|
35
|
+
rewardBalance: string;
|
|
36
|
+
shareRewardBalance: string;
|
|
37
|
+
rewardPerEpoch: string;
|
|
38
|
+
rewardPerEpochShort?: number;
|
|
39
|
+
rewardPerDayPerNft?: number;
|
|
40
|
+
rewardBalanceShort?: number;
|
|
41
|
+
usdValue?: number;
|
|
42
|
+
}
|
|
43
|
+
export declare class XoxnoStakingRewardClaim {
|
|
44
|
+
constructor(init?: Partial<XoxnoStakingRewardClaim>);
|
|
45
|
+
tokenIdentifier: string;
|
|
46
|
+
tokenNonce: number;
|
|
47
|
+
amount: string;
|
|
48
|
+
}
|
|
49
|
+
export declare class XoxnoStakingIssuingReward {
|
|
50
|
+
constructor(init?: Partial<XoxnoStakingIssuingReward>);
|
|
51
|
+
tokenIdentifier: string;
|
|
52
|
+
tokenNonce: number;
|
|
53
|
+
amount: string;
|
|
54
|
+
rewardBalance: string;
|
|
55
|
+
shareRewardBalance: string;
|
|
56
|
+
rewardPerEpoch: string;
|
|
57
|
+
}
|
|
58
|
+
export declare class StakingSummary {
|
|
59
|
+
poolId: number;
|
|
60
|
+
name: string;
|
|
61
|
+
description?: string;
|
|
62
|
+
stakingEnabled: boolean;
|
|
63
|
+
profile: string;
|
|
64
|
+
collection: string[];
|
|
65
|
+
poolStakedCount: number;
|
|
66
|
+
userStakedCount: number;
|
|
67
|
+
delegatorCount: number;
|
|
68
|
+
rewardDuration: number;
|
|
69
|
+
poolReward: XoxnoStakingReward[];
|
|
70
|
+
userReward: XoxnoStakingReward[];
|
|
71
|
+
poolType: string;
|
|
72
|
+
issuingType: string;
|
|
73
|
+
unBoundPeriod: number;
|
|
74
|
+
hasUnboundPeriod: boolean;
|
|
75
|
+
userUnboundCount: number;
|
|
76
|
+
maxPoolLimit: number;
|
|
77
|
+
hasMaxWalletLimit: boolean;
|
|
78
|
+
maxWalletLimit: number;
|
|
79
|
+
startEpoch: number;
|
|
80
|
+
endEpoch: number;
|
|
81
|
+
owner: string;
|
|
82
|
+
currentEpoch: number;
|
|
83
|
+
isActive: boolean;
|
|
84
|
+
daysLeft: number;
|
|
85
|
+
cutFee: number;
|
|
86
|
+
percentageFilled: number;
|
|
87
|
+
constructor(init?: Partial<StakingSummary>);
|
|
88
|
+
}
|
|
89
|
+
export declare class StakingUserPoolNfts {
|
|
90
|
+
poolInfo: StakingSummary;
|
|
91
|
+
nftDocs: NftProps[];
|
|
92
|
+
count: number;
|
|
93
|
+
}
|
|
@@ -0,0 +1,265 @@
|
|
|
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.StakingUserPoolNfts = exports.StakingSummary = exports.XoxnoStakingIssuingReward = exports.XoxnoStakingRewardClaim = exports.XoxnoStakingReward = exports.StakingPoolDoc = void 0;
|
|
13
|
+
const staking_data_type_enum_1 = require("./staking-data-type.enum");
|
|
14
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
15
|
+
const nft_details_doc_1 = require("../token/nft-details.doc");
|
|
16
|
+
class StakingPoolDoc {
|
|
17
|
+
constructor(props) {
|
|
18
|
+
this.dataType = staking_data_type_enum_1.StakingDataType.Pool;
|
|
19
|
+
this.delegatorCount = 0;
|
|
20
|
+
this.poolStakedCount = 0;
|
|
21
|
+
Object.assign(this, props);
|
|
22
|
+
this.id = this.poolId.toString();
|
|
23
|
+
this.pk = this.poolId.toString();
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
exports.StakingPoolDoc = StakingPoolDoc;
|
|
27
|
+
class XoxnoStakingReward {
|
|
28
|
+
constructor(init) {
|
|
29
|
+
Object.assign(this, init);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
exports.XoxnoStakingReward = XoxnoStakingReward;
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, swagger_1.ApiProperty)({ description: 'Token identifier', example: 'RARE-99e8b0' }),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], XoxnoStakingReward.prototype, "tokenIdentifier", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, swagger_1.ApiProperty)({ description: 'Token nonce', example: 0 }),
|
|
39
|
+
__metadata("design:type", Number)
|
|
40
|
+
], XoxnoStakingReward.prototype, "tokenNonce", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, swagger_1.ApiProperty)({
|
|
43
|
+
description: 'Reward balance',
|
|
44
|
+
example: '322605500000000000000000',
|
|
45
|
+
}),
|
|
46
|
+
__metadata("design:type", String)
|
|
47
|
+
], XoxnoStakingReward.prototype, "rewardBalance", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, swagger_1.ApiProperty)({
|
|
50
|
+
description: 'Share reward balance',
|
|
51
|
+
example: '322605500000000000000000',
|
|
52
|
+
}),
|
|
53
|
+
__metadata("design:type", String)
|
|
54
|
+
], XoxnoStakingReward.prototype, "shareRewardBalance", void 0);
|
|
55
|
+
__decorate([
|
|
56
|
+
(0, swagger_1.ApiProperty)({
|
|
57
|
+
description: 'Reward per epoch',
|
|
58
|
+
example: '322605500000000000000000',
|
|
59
|
+
}),
|
|
60
|
+
__metadata("design:type", String)
|
|
61
|
+
], XoxnoStakingReward.prototype, "rewardPerEpoch", void 0);
|
|
62
|
+
__decorate([
|
|
63
|
+
(0, swagger_1.ApiProperty)({
|
|
64
|
+
description: 'Reward per epoch short',
|
|
65
|
+
example: 322605.5,
|
|
66
|
+
required: false,
|
|
67
|
+
}),
|
|
68
|
+
__metadata("design:type", Number)
|
|
69
|
+
], XoxnoStakingReward.prototype, "rewardPerEpochShort", void 0);
|
|
70
|
+
__decorate([
|
|
71
|
+
(0, swagger_1.ApiProperty)({
|
|
72
|
+
description: 'Reward per day per NFT',
|
|
73
|
+
example: 1,
|
|
74
|
+
required: false,
|
|
75
|
+
}),
|
|
76
|
+
__metadata("design:type", Number)
|
|
77
|
+
], XoxnoStakingReward.prototype, "rewardPerDayPerNft", void 0);
|
|
78
|
+
__decorate([
|
|
79
|
+
(0, swagger_1.ApiProperty)({
|
|
80
|
+
description: 'Reward balance short',
|
|
81
|
+
example: 322605.5,
|
|
82
|
+
required: false,
|
|
83
|
+
}),
|
|
84
|
+
__metadata("design:type", Number)
|
|
85
|
+
], XoxnoStakingReward.prototype, "rewardBalanceShort", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, swagger_1.ApiProperty)({
|
|
88
|
+
description: 'USD value',
|
|
89
|
+
example: 27.64023234925034,
|
|
90
|
+
required: false,
|
|
91
|
+
}),
|
|
92
|
+
__metadata("design:type", Number)
|
|
93
|
+
], XoxnoStakingReward.prototype, "usdValue", void 0);
|
|
94
|
+
class XoxnoStakingRewardClaim {
|
|
95
|
+
constructor(init) {
|
|
96
|
+
Object.assign(this, init);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
exports.XoxnoStakingRewardClaim = XoxnoStakingRewardClaim;
|
|
100
|
+
class XoxnoStakingIssuingReward {
|
|
101
|
+
constructor(init) {
|
|
102
|
+
Object.assign(this, init);
|
|
103
|
+
}
|
|
104
|
+
}
|
|
105
|
+
exports.XoxnoStakingIssuingReward = XoxnoStakingIssuingReward;
|
|
106
|
+
class StakingSummary {
|
|
107
|
+
constructor(init) {
|
|
108
|
+
Object.assign(this, init);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
exports.StakingSummary = StakingSummary;
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, swagger_1.ApiProperty)({ description: 'Pool ID', example: 3 }),
|
|
114
|
+
__metadata("design:type", Number)
|
|
115
|
+
], StakingSummary.prototype, "poolId", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, swagger_1.ApiProperty)({ description: 'Pool name', example: 'SRB - MiceCity' }),
|
|
118
|
+
__metadata("design:type", String)
|
|
119
|
+
], StakingSummary.prototype, "name", void 0);
|
|
120
|
+
__decorate([
|
|
121
|
+
(0, swagger_1.ApiProperty)({
|
|
122
|
+
description: 'Pool description',
|
|
123
|
+
example: 'The largest staking pool',
|
|
124
|
+
required: false,
|
|
125
|
+
}),
|
|
126
|
+
__metadata("design:type", String)
|
|
127
|
+
], StakingSummary.prototype, "description", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, swagger_1.ApiProperty)({ description: 'Staking enabled', example: true }),
|
|
130
|
+
__metadata("design:type", Boolean)
|
|
131
|
+
], StakingSummary.prototype, "stakingEnabled", void 0);
|
|
132
|
+
__decorate([
|
|
133
|
+
(0, swagger_1.ApiProperty)({
|
|
134
|
+
description: 'Profile picture URL',
|
|
135
|
+
example: 'https://media.xoxno.com/stakingpools/3/stakingPoolPicture_3.webp?_ts=1716838395',
|
|
136
|
+
}),
|
|
137
|
+
__metadata("design:type", String)
|
|
138
|
+
], StakingSummary.prototype, "profile", void 0);
|
|
139
|
+
__decorate([
|
|
140
|
+
(0, swagger_1.ApiProperty)({
|
|
141
|
+
description: 'Collection identifiers',
|
|
142
|
+
type: String,
|
|
143
|
+
isArray: true,
|
|
144
|
+
example: ['MICE-a0c447', 'SRB-61daf7'],
|
|
145
|
+
}),
|
|
146
|
+
__metadata("design:type", Array)
|
|
147
|
+
], StakingSummary.prototype, "collection", void 0);
|
|
148
|
+
__decorate([
|
|
149
|
+
(0, swagger_1.ApiProperty)({ description: 'Pool staked count', example: 5895 }),
|
|
150
|
+
__metadata("design:type", Number)
|
|
151
|
+
], StakingSummary.prototype, "poolStakedCount", void 0);
|
|
152
|
+
__decorate([
|
|
153
|
+
(0, swagger_1.ApiProperty)({ description: 'User staked count', example: 0 }),
|
|
154
|
+
__metadata("design:type", Number)
|
|
155
|
+
], StakingSummary.prototype, "userStakedCount", void 0);
|
|
156
|
+
__decorate([
|
|
157
|
+
(0, swagger_1.ApiProperty)({ description: 'Delegator count', example: 267 }),
|
|
158
|
+
__metadata("design:type", Number)
|
|
159
|
+
], StakingSummary.prototype, "delegatorCount", void 0);
|
|
160
|
+
__decorate([
|
|
161
|
+
(0, swagger_1.ApiProperty)({ description: 'Reward duration in days', example: 63 }),
|
|
162
|
+
__metadata("design:type", Number)
|
|
163
|
+
], StakingSummary.prototype, "rewardDuration", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
(0, swagger_1.ApiProperty)({
|
|
166
|
+
description: 'Pool reward details',
|
|
167
|
+
type: XoxnoStakingReward,
|
|
168
|
+
isArray: true,
|
|
169
|
+
}),
|
|
170
|
+
__metadata("design:type", Array)
|
|
171
|
+
], StakingSummary.prototype, "poolReward", void 0);
|
|
172
|
+
__decorate([
|
|
173
|
+
(0, swagger_1.ApiProperty)({
|
|
174
|
+
description: 'User reward details',
|
|
175
|
+
type: XoxnoStakingReward,
|
|
176
|
+
isArray: true,
|
|
177
|
+
}),
|
|
178
|
+
__metadata("design:type", Array)
|
|
179
|
+
], StakingSummary.prototype, "userReward", void 0);
|
|
180
|
+
__decorate([
|
|
181
|
+
(0, swagger_1.ApiProperty)({ description: 'Pool type', example: 'Duo' }),
|
|
182
|
+
__metadata("design:type", String)
|
|
183
|
+
], StakingSummary.prototype, "poolType", void 0);
|
|
184
|
+
__decorate([
|
|
185
|
+
(0, swagger_1.ApiProperty)({ description: 'Issuing type', example: 'Fixed' }),
|
|
186
|
+
__metadata("design:type", String)
|
|
187
|
+
], StakingSummary.prototype, "issuingType", void 0);
|
|
188
|
+
__decorate([
|
|
189
|
+
(0, swagger_1.ApiProperty)({ description: 'Unbound period in days', example: 0 }),
|
|
190
|
+
__metadata("design:type", Number)
|
|
191
|
+
], StakingSummary.prototype, "unBoundPeriod", void 0);
|
|
192
|
+
__decorate([
|
|
193
|
+
(0, swagger_1.ApiProperty)({ description: 'Has unbound period', example: false }),
|
|
194
|
+
__metadata("design:type", Boolean)
|
|
195
|
+
], StakingSummary.prototype, "hasUnboundPeriod", void 0);
|
|
196
|
+
__decorate([
|
|
197
|
+
(0, swagger_1.ApiProperty)({ description: 'Unbound count', example: 4 }),
|
|
198
|
+
__metadata("design:type", Number)
|
|
199
|
+
], StakingSummary.prototype, "userUnboundCount", void 0);
|
|
200
|
+
__decorate([
|
|
201
|
+
(0, swagger_1.ApiProperty)({ description: 'Max pool limit', example: 16000 }),
|
|
202
|
+
__metadata("design:type", Number)
|
|
203
|
+
], StakingSummary.prototype, "maxPoolLimit", void 0);
|
|
204
|
+
__decorate([
|
|
205
|
+
(0, swagger_1.ApiProperty)({ description: 'Has max wallet limit', example: true }),
|
|
206
|
+
__metadata("design:type", Boolean)
|
|
207
|
+
], StakingSummary.prototype, "hasMaxWalletLimit", void 0);
|
|
208
|
+
__decorate([
|
|
209
|
+
(0, swagger_1.ApiProperty)({ description: 'Max wallet limit', example: 8000 }),
|
|
210
|
+
__metadata("design:type", Number)
|
|
211
|
+
], StakingSummary.prototype, "maxWalletLimit", void 0);
|
|
212
|
+
__decorate([
|
|
213
|
+
(0, swagger_1.ApiProperty)({ description: 'Start epoch', example: 1381 }),
|
|
214
|
+
__metadata("design:type", Number)
|
|
215
|
+
], StakingSummary.prototype, "startEpoch", void 0);
|
|
216
|
+
__decorate([
|
|
217
|
+
(0, swagger_1.ApiProperty)({ description: 'End epoch', example: 1444 }),
|
|
218
|
+
__metadata("design:type", Number)
|
|
219
|
+
], StakingSummary.prototype, "endEpoch", void 0);
|
|
220
|
+
__decorate([
|
|
221
|
+
(0, swagger_1.ApiProperty)({
|
|
222
|
+
description: 'Pool owner address',
|
|
223
|
+
example: 'erd13sj3r6xuh708nhv6t5tqquznwcve4nhaghwdz9lac0zpmw0qe0hqysg4w6',
|
|
224
|
+
}),
|
|
225
|
+
__metadata("design:type", String)
|
|
226
|
+
], StakingSummary.prototype, "owner", void 0);
|
|
227
|
+
__decorate([
|
|
228
|
+
(0, swagger_1.ApiProperty)({ description: 'Current epoch', example: 1442 }),
|
|
229
|
+
__metadata("design:type", Number)
|
|
230
|
+
], StakingSummary.prototype, "currentEpoch", void 0);
|
|
231
|
+
__decorate([
|
|
232
|
+
(0, swagger_1.ApiProperty)({ description: 'Is active flag', example: true }),
|
|
233
|
+
__metadata("design:type", Boolean)
|
|
234
|
+
], StakingSummary.prototype, "isActive", void 0);
|
|
235
|
+
__decorate([
|
|
236
|
+
(0, swagger_1.ApiProperty)({ description: 'Days left for staking', example: 2 }),
|
|
237
|
+
__metadata("design:type", Number)
|
|
238
|
+
], StakingSummary.prototype, "daysLeft", void 0);
|
|
239
|
+
__decorate([
|
|
240
|
+
(0, swagger_1.ApiProperty)({ description: 'Cut fee percentage', example: 0 }),
|
|
241
|
+
__metadata("design:type", Number)
|
|
242
|
+
], StakingSummary.prototype, "cutFee", void 0);
|
|
243
|
+
__decorate([
|
|
244
|
+
(0, swagger_1.ApiProperty)({ description: 'Percentage filled', example: 36.84375 }),
|
|
245
|
+
__metadata("design:type", Number)
|
|
246
|
+
], StakingSummary.prototype, "percentageFilled", void 0);
|
|
247
|
+
class StakingUserPoolNfts {
|
|
248
|
+
constructor() {
|
|
249
|
+
this.nftDocs = [];
|
|
250
|
+
this.count = 0;
|
|
251
|
+
}
|
|
252
|
+
}
|
|
253
|
+
exports.StakingUserPoolNfts = StakingUserPoolNfts;
|
|
254
|
+
__decorate([
|
|
255
|
+
(0, swagger_1.ApiProperty)({ type: StakingSummary }),
|
|
256
|
+
__metadata("design:type", StakingSummary)
|
|
257
|
+
], StakingUserPoolNfts.prototype, "poolInfo", void 0);
|
|
258
|
+
__decorate([
|
|
259
|
+
(0, swagger_1.ApiProperty)({ type: nft_details_doc_1.NftProps, isArray: true }),
|
|
260
|
+
__metadata("design:type", Array)
|
|
261
|
+
], StakingUserPoolNfts.prototype, "nftDocs", void 0);
|
|
262
|
+
__decorate([
|
|
263
|
+
(0, swagger_1.ApiProperty)({ example: 12, type: Number }),
|
|
264
|
+
__metadata("design:type", Number)
|
|
265
|
+
], StakingUserPoolNfts.prototype, "count", void 0);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.StakingPoolTypeString = void 0;
|
|
4
|
+
var StakingPoolTypeString;
|
|
5
|
+
(function (StakingPoolTypeString) {
|
|
6
|
+
StakingPoolTypeString["None"] = "None";
|
|
7
|
+
StakingPoolTypeString["Single"] = "Single";
|
|
8
|
+
StakingPoolTypeString["Perk"] = "Perk";
|
|
9
|
+
StakingPoolTypeString["Duo"] = "Duo";
|
|
10
|
+
})(StakingPoolTypeString || (exports.StakingPoolTypeString = StakingPoolTypeString = {}));
|
|
@@ -0,0 +1,38 @@
|
|
|
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.DiscountCodeValidationResponse = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class DiscountCodeValidationResponse {
|
|
16
|
+
}
|
|
17
|
+
exports.DiscountCodeValidationResponse = DiscountCodeValidationResponse;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, swagger_1.ApiProperty)({ type: Boolean }),
|
|
20
|
+
(0, class_validator_1.IsBoolean)(),
|
|
21
|
+
__metadata("design:type", Boolean)
|
|
22
|
+
], DiscountCodeValidationResponse.prototype, "isValid", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], DiscountCodeValidationResponse.prototype, "discountType", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, swagger_1.ApiProperty)({ type: Number }),
|
|
30
|
+
(0, class_validator_1.IsNumber)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], DiscountCodeValidationResponse.prototype, "discountAmount", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, swagger_1.ApiProperty)({ type: Number, required: false }),
|
|
35
|
+
(0, class_validator_1.IsNumber)(),
|
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], DiscountCodeValidationResponse.prototype, "discountMaxAmount", void 0);
|
|
@@ -0,0 +1,38 @@
|
|
|
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.DiscountCodeValidationResponse = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const class_validator_1 = require("class-validator");
|
|
15
|
+
class DiscountCodeValidationResponse {
|
|
16
|
+
}
|
|
17
|
+
exports.DiscountCodeValidationResponse = DiscountCodeValidationResponse;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, swagger_1.ApiProperty)({ type: Boolean }),
|
|
20
|
+
(0, class_validator_1.IsBoolean)(),
|
|
21
|
+
__metadata("design:type", Boolean)
|
|
22
|
+
], DiscountCodeValidationResponse.prototype, "isValid", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, swagger_1.ApiProperty)({ type: String }),
|
|
25
|
+
(0, class_validator_1.IsString)(),
|
|
26
|
+
__metadata("design:type", String)
|
|
27
|
+
], DiscountCodeValidationResponse.prototype, "discountType", void 0);
|
|
28
|
+
__decorate([
|
|
29
|
+
(0, swagger_1.ApiProperty)({ type: Number }),
|
|
30
|
+
(0, class_validator_1.IsNumber)(),
|
|
31
|
+
__metadata("design:type", Number)
|
|
32
|
+
], DiscountCodeValidationResponse.prototype, "discountAmount", void 0);
|
|
33
|
+
__decorate([
|
|
34
|
+
(0, swagger_1.ApiProperty)({ type: Number }),
|
|
35
|
+
(0, class_validator_1.IsNumber)(),
|
|
36
|
+
(0, class_validator_1.IsOptional)(),
|
|
37
|
+
__metadata("design:type", Number)
|
|
38
|
+
], DiscountCodeValidationResponse.prototype, "discountMaxAmount", void 0);
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
export declare enum EventCategory {
|
|
2
|
+
FESTIVAL = "festival",
|
|
3
|
+
CONFERENCE = "conference",
|
|
4
|
+
NETWORKING = "networking",
|
|
5
|
+
MEETUP = "meetup",
|
|
6
|
+
WEB3 = "web3",
|
|
7
|
+
ENTERTAINMENT = "entertainment"
|
|
8
|
+
}
|
|
9
|
+
export declare enum FestivalSubCategory {
|
|
10
|
+
MUSIC = "music",
|
|
11
|
+
ARTS_AND_CULTURE = "arts-and-culture",
|
|
12
|
+
FOOD_AND_DRINK = "food-and-drink",
|
|
13
|
+
LIFESTYLE_AND_WELLNESS = "lifestyle-and-wellness",
|
|
14
|
+
LOCAL_AND_COMMUNITY = "local-and-community"
|
|
15
|
+
}
|
|
16
|
+
export declare enum ConferenceSubCategory {
|
|
17
|
+
TECHNOLOGY_AND_INNOVATION = "technology-and-innovation",
|
|
18
|
+
BUSINESS_AND_FINANCE = "business-and-finance",
|
|
19
|
+
HEALTHCARE_AND_SCIENCE = "healthcare-and-science",
|
|
20
|
+
EDUCATION_AND_LEARNING = "education-and-learning",
|
|
21
|
+
MARKETING_AND_MEDIA = "marketing-and-media"
|
|
22
|
+
}
|
|
23
|
+
export declare enum NetworkingSubCategory {
|
|
24
|
+
INDUSTRY_SPECIFIC = "industry-specific",
|
|
25
|
+
CAREER_DEVELOPMENT = "career-development",
|
|
26
|
+
INVESTOR_AND_STARTUPS = "investor-and-startups",
|
|
27
|
+
SOCIAL_IMPACT = "social-impact",
|
|
28
|
+
PERSONAL_DEVELOPMENT = "personal-development"
|
|
29
|
+
}
|
|
30
|
+
export declare enum MeetupSubCategory {
|
|
31
|
+
HOBBIES_AND_INTERESTS = "hobbies-and-interests",
|
|
32
|
+
PROFESSIONAL_GROUPS = "professional-groups",
|
|
33
|
+
SOCIAL_GATHERING = "social-gathering",
|
|
34
|
+
EDUCATION_AND_SKILLS = "education-and-skills",
|
|
35
|
+
FAMILY_AND_KIDS = "family-and-kids"
|
|
36
|
+
}
|
|
37
|
+
export declare enum Web3SubCategory {
|
|
38
|
+
BLOCKCHAIN_AND_CRYPTOCURRENCY = "blockchain-and-cryptocurrency",
|
|
39
|
+
METAVERSE_AND_VR = "metaverse-and-vr",
|
|
40
|
+
DEFI_AND_FINANCE = "defi-and-finance",
|
|
41
|
+
DAO_AND_GOVERNANCE = "dao-and-governance",
|
|
42
|
+
WEB3_STARTUPS = "web3-startups"
|
|
43
|
+
}
|
|
44
|
+
export declare enum EntertainmentSubCategory {
|
|
45
|
+
LIVE_MUSIC = "live-music",
|
|
46
|
+
COMEDY_SHOWS = "comedy-shows",
|
|
47
|
+
THEATRE_AND_PERFORMANCE = "theatre-and-performance",
|
|
48
|
+
MOVIES = "movies",
|
|
49
|
+
NIGHTLIFE_AND_CLUBBING = "nightlife-and-clubbing"
|
|
50
|
+
}
|
|
51
|
+
export declare enum EventSubCategory {
|
|
52
|
+
MUSIC = "music",
|
|
53
|
+
ARTS_AND_CULTURE = "arts-and-culture",
|
|
54
|
+
FOOD_AND_DRINK = "food-and-drink",
|
|
55
|
+
LIFESTYLE_AND_WELLNESS = "lifestyle-and-wellness",
|
|
56
|
+
LOCAL_AND_COMMUNITY = "local-and-community",
|
|
57
|
+
TECHNOLOGY_AND_INNOVATION = "technology-and-innovation",
|
|
58
|
+
BUSINESS_AND_FINANCE = "business-and-finance",
|
|
59
|
+
HEALTHCARE_AND_SCIENCE = "healthcare-and-science",
|
|
60
|
+
EDUCATION_AND_LEARNING = "education-and-learning",
|
|
61
|
+
MARKETING_AND_MEDIA = "marketing-and-media",
|
|
62
|
+
INDUSTRY_SPECIFIC = "industry-specific",
|
|
63
|
+
CAREER_DEVELOPMENT = "career-development",
|
|
64
|
+
INVESTOR_AND_STARTUPS = "investor-and-startups",
|
|
65
|
+
SOCIAL_IMPACT = "social-impact",
|
|
66
|
+
PERSONAL_DEVELOPMENT = "personal-development",
|
|
67
|
+
HOBBIES_AND_INTERESTS = "hobbies-and-interests",
|
|
68
|
+
PROFESSIONAL_GROUPS = "professional-groups",
|
|
69
|
+
SOCIAL_GATHERING = "social-gathering",
|
|
70
|
+
EDUCATION_AND_SKILLS = "education-and-skills",
|
|
71
|
+
FAMILY_AND_KIDS = "family-and-kids",
|
|
72
|
+
BLOCKCHAIN_AND_CRYPTOCURRENCY = "blockchain-and-cryptocurrency",
|
|
73
|
+
METAVERSE_AND_VR = "metaverse-and-vr",
|
|
74
|
+
DEFI_AND_FINANCE = "defi-and-finance",
|
|
75
|
+
DAO_AND_GOVERNANCE = "dao-and-governance",
|
|
76
|
+
WEB3_STARTUPS = "web3-startups",
|
|
77
|
+
LIVE_MUSIC = "live-music",
|
|
78
|
+
COMEDY_SHOWS = "comedy-shows",
|
|
79
|
+
THEATRE_AND_PERFORMANCE = "theatre-and-performance",
|
|
80
|
+
MOVIES = "movies",
|
|
81
|
+
NIGHTLIFE_AND_CLUBBING = "nightlife-and-clubbing"
|
|
82
|
+
}
|
|
83
|
+
export interface CategorySubcategoryMap {
|
|
84
|
+
[EventCategory.FESTIVAL]: FestivalSubCategory;
|
|
85
|
+
[EventCategory.CONFERENCE]: ConferenceSubCategory;
|
|
86
|
+
[EventCategory.NETWORKING]: NetworkingSubCategory;
|
|
87
|
+
[EventCategory.MEETUP]: MeetupSubCategory;
|
|
88
|
+
[EventCategory.WEB3]: Web3SubCategory;
|
|
89
|
+
[EventCategory.ENTERTAINMENT]: EntertainmentSubCategory;
|
|
90
|
+
}
|
|
@@ -0,0 +1,99 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EventSubCategory = exports.EntertainmentSubCategory = exports.Web3SubCategory = exports.MeetupSubCategory = exports.NetworkingSubCategory = exports.ConferenceSubCategory = exports.FestivalSubCategory = exports.EventCategory = void 0;
|
|
4
|
+
var EventCategory;
|
|
5
|
+
(function (EventCategory) {
|
|
6
|
+
EventCategory["FESTIVAL"] = "festival";
|
|
7
|
+
EventCategory["CONFERENCE"] = "conference";
|
|
8
|
+
EventCategory["NETWORKING"] = "networking";
|
|
9
|
+
EventCategory["MEETUP"] = "meetup";
|
|
10
|
+
EventCategory["WEB3"] = "web3";
|
|
11
|
+
EventCategory["ENTERTAINMENT"] = "entertainment";
|
|
12
|
+
})(EventCategory || (exports.EventCategory = EventCategory = {}));
|
|
13
|
+
var FestivalSubCategory;
|
|
14
|
+
(function (FestivalSubCategory) {
|
|
15
|
+
FestivalSubCategory["MUSIC"] = "music";
|
|
16
|
+
FestivalSubCategory["ARTS_AND_CULTURE"] = "arts-and-culture";
|
|
17
|
+
FestivalSubCategory["FOOD_AND_DRINK"] = "food-and-drink";
|
|
18
|
+
FestivalSubCategory["LIFESTYLE_AND_WELLNESS"] = "lifestyle-and-wellness";
|
|
19
|
+
FestivalSubCategory["LOCAL_AND_COMMUNITY"] = "local-and-community";
|
|
20
|
+
})(FestivalSubCategory || (exports.FestivalSubCategory = FestivalSubCategory = {}));
|
|
21
|
+
var ConferenceSubCategory;
|
|
22
|
+
(function (ConferenceSubCategory) {
|
|
23
|
+
ConferenceSubCategory["TECHNOLOGY_AND_INNOVATION"] = "technology-and-innovation";
|
|
24
|
+
ConferenceSubCategory["BUSINESS_AND_FINANCE"] = "business-and-finance";
|
|
25
|
+
ConferenceSubCategory["HEALTHCARE_AND_SCIENCE"] = "healthcare-and-science";
|
|
26
|
+
ConferenceSubCategory["EDUCATION_AND_LEARNING"] = "education-and-learning";
|
|
27
|
+
ConferenceSubCategory["MARKETING_AND_MEDIA"] = "marketing-and-media";
|
|
28
|
+
})(ConferenceSubCategory || (exports.ConferenceSubCategory = ConferenceSubCategory = {}));
|
|
29
|
+
var NetworkingSubCategory;
|
|
30
|
+
(function (NetworkingSubCategory) {
|
|
31
|
+
NetworkingSubCategory["INDUSTRY_SPECIFIC"] = "industry-specific";
|
|
32
|
+
NetworkingSubCategory["CAREER_DEVELOPMENT"] = "career-development";
|
|
33
|
+
NetworkingSubCategory["INVESTOR_AND_STARTUPS"] = "investor-and-startups";
|
|
34
|
+
NetworkingSubCategory["SOCIAL_IMPACT"] = "social-impact";
|
|
35
|
+
NetworkingSubCategory["PERSONAL_DEVELOPMENT"] = "personal-development";
|
|
36
|
+
})(NetworkingSubCategory || (exports.NetworkingSubCategory = NetworkingSubCategory = {}));
|
|
37
|
+
var MeetupSubCategory;
|
|
38
|
+
(function (MeetupSubCategory) {
|
|
39
|
+
MeetupSubCategory["HOBBIES_AND_INTERESTS"] = "hobbies-and-interests";
|
|
40
|
+
MeetupSubCategory["PROFESSIONAL_GROUPS"] = "professional-groups";
|
|
41
|
+
MeetupSubCategory["SOCIAL_GATHERING"] = "social-gathering";
|
|
42
|
+
MeetupSubCategory["EDUCATION_AND_SKILLS"] = "education-and-skills";
|
|
43
|
+
MeetupSubCategory["FAMILY_AND_KIDS"] = "family-and-kids";
|
|
44
|
+
})(MeetupSubCategory || (exports.MeetupSubCategory = MeetupSubCategory = {}));
|
|
45
|
+
var Web3SubCategory;
|
|
46
|
+
(function (Web3SubCategory) {
|
|
47
|
+
Web3SubCategory["BLOCKCHAIN_AND_CRYPTOCURRENCY"] = "blockchain-and-cryptocurrency";
|
|
48
|
+
Web3SubCategory["METAVERSE_AND_VR"] = "metaverse-and-vr";
|
|
49
|
+
Web3SubCategory["DEFI_AND_FINANCE"] = "defi-and-finance";
|
|
50
|
+
Web3SubCategory["DAO_AND_GOVERNANCE"] = "dao-and-governance";
|
|
51
|
+
Web3SubCategory["WEB3_STARTUPS"] = "web3-startups";
|
|
52
|
+
})(Web3SubCategory || (exports.Web3SubCategory = Web3SubCategory = {}));
|
|
53
|
+
var EntertainmentSubCategory;
|
|
54
|
+
(function (EntertainmentSubCategory) {
|
|
55
|
+
EntertainmentSubCategory["LIVE_MUSIC"] = "live-music";
|
|
56
|
+
EntertainmentSubCategory["COMEDY_SHOWS"] = "comedy-shows";
|
|
57
|
+
EntertainmentSubCategory["THEATRE_AND_PERFORMANCE"] = "theatre-and-performance";
|
|
58
|
+
EntertainmentSubCategory["MOVIES"] = "movies";
|
|
59
|
+
EntertainmentSubCategory["NIGHTLIFE_AND_CLUBBING"] = "nightlife-and-clubbing";
|
|
60
|
+
})(EntertainmentSubCategory || (exports.EntertainmentSubCategory = EntertainmentSubCategory = {}));
|
|
61
|
+
var EventSubCategory;
|
|
62
|
+
(function (EventSubCategory) {
|
|
63
|
+
// Festival subcategories
|
|
64
|
+
EventSubCategory["MUSIC"] = "music";
|
|
65
|
+
EventSubCategory["ARTS_AND_CULTURE"] = "arts-and-culture";
|
|
66
|
+
EventSubCategory["FOOD_AND_DRINK"] = "food-and-drink";
|
|
67
|
+
EventSubCategory["LIFESTYLE_AND_WELLNESS"] = "lifestyle-and-wellness";
|
|
68
|
+
EventSubCategory["LOCAL_AND_COMMUNITY"] = "local-and-community";
|
|
69
|
+
// Conference subcategories
|
|
70
|
+
EventSubCategory["TECHNOLOGY_AND_INNOVATION"] = "technology-and-innovation";
|
|
71
|
+
EventSubCategory["BUSINESS_AND_FINANCE"] = "business-and-finance";
|
|
72
|
+
EventSubCategory["HEALTHCARE_AND_SCIENCE"] = "healthcare-and-science";
|
|
73
|
+
EventSubCategory["EDUCATION_AND_LEARNING"] = "education-and-learning";
|
|
74
|
+
EventSubCategory["MARKETING_AND_MEDIA"] = "marketing-and-media";
|
|
75
|
+
// Networking subcategories
|
|
76
|
+
EventSubCategory["INDUSTRY_SPECIFIC"] = "industry-specific";
|
|
77
|
+
EventSubCategory["CAREER_DEVELOPMENT"] = "career-development";
|
|
78
|
+
EventSubCategory["INVESTOR_AND_STARTUPS"] = "investor-and-startups";
|
|
79
|
+
EventSubCategory["SOCIAL_IMPACT"] = "social-impact";
|
|
80
|
+
EventSubCategory["PERSONAL_DEVELOPMENT"] = "personal-development";
|
|
81
|
+
// Meetup subcategories
|
|
82
|
+
EventSubCategory["HOBBIES_AND_INTERESTS"] = "hobbies-and-interests";
|
|
83
|
+
EventSubCategory["PROFESSIONAL_GROUPS"] = "professional-groups";
|
|
84
|
+
EventSubCategory["SOCIAL_GATHERING"] = "social-gathering";
|
|
85
|
+
EventSubCategory["EDUCATION_AND_SKILLS"] = "education-and-skills";
|
|
86
|
+
EventSubCategory["FAMILY_AND_KIDS"] = "family-and-kids";
|
|
87
|
+
// Web3 subcategories
|
|
88
|
+
EventSubCategory["BLOCKCHAIN_AND_CRYPTOCURRENCY"] = "blockchain-and-cryptocurrency";
|
|
89
|
+
EventSubCategory["METAVERSE_AND_VR"] = "metaverse-and-vr";
|
|
90
|
+
EventSubCategory["DEFI_AND_FINANCE"] = "defi-and-finance";
|
|
91
|
+
EventSubCategory["DAO_AND_GOVERNANCE"] = "dao-and-governance";
|
|
92
|
+
EventSubCategory["WEB3_STARTUPS"] = "web3-startups";
|
|
93
|
+
// Entertainment subcategories
|
|
94
|
+
EventSubCategory["LIVE_MUSIC"] = "live-music";
|
|
95
|
+
EventSubCategory["COMEDY_SHOWS"] = "comedy-shows";
|
|
96
|
+
EventSubCategory["THEATRE_AND_PERFORMANCE"] = "theatre-and-performance";
|
|
97
|
+
EventSubCategory["MOVIES"] = "movies";
|
|
98
|
+
EventSubCategory["NIGHTLIFE_AND_CLUBBING"] = "nightlife-and-clubbing";
|
|
99
|
+
})(EventSubCategory || (exports.EventSubCategory = EventSubCategory = {}));
|