@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,241 @@
|
|
|
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.CollectionMintProfileDoc = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const tokenPayent_1 = require("../../../common/tokenPayent");
|
|
15
|
+
const dataTypes_1 = require("./dataTypes");
|
|
16
|
+
class CollectionMintProfileDoc {
|
|
17
|
+
constructor(props) {
|
|
18
|
+
this.dataType = dataTypes_1.CollectionDataType.MintProfile;
|
|
19
|
+
this.prices = [];
|
|
20
|
+
this.isSoldOut = false;
|
|
21
|
+
Object.assign(this, props);
|
|
22
|
+
this.id = `${this.collection}-${this.dataType}`;
|
|
23
|
+
if (typeof this.tags === 'string') {
|
|
24
|
+
this.tags = this.tags.split(',');
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.CollectionMintProfileDoc = CollectionMintProfileDoc;
|
|
29
|
+
__decorate([
|
|
30
|
+
(0, swagger_1.ApiProperty)({
|
|
31
|
+
description: 'Data type identifier for the mint profile',
|
|
32
|
+
enum: dataTypes_1.CollectionDataType,
|
|
33
|
+
example: dataTypes_1.CollectionDataType.MintProfile,
|
|
34
|
+
}),
|
|
35
|
+
__metadata("design:type", String)
|
|
36
|
+
], CollectionMintProfileDoc.prototype, "dataType", void 0);
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, swagger_1.ApiProperty)({
|
|
39
|
+
description: 'Collection identifier',
|
|
40
|
+
example: 'COLLECTION-123456',
|
|
41
|
+
}),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], CollectionMintProfileDoc.prototype, "collection", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, swagger_1.ApiProperty)({
|
|
46
|
+
description: 'Creator tag/identifier',
|
|
47
|
+
example: 'creator123',
|
|
48
|
+
}),
|
|
49
|
+
__metadata("design:type", String)
|
|
50
|
+
], CollectionMintProfileDoc.prototype, "creatorTag", void 0);
|
|
51
|
+
__decorate([
|
|
52
|
+
(0, swagger_1.ApiProperty)({
|
|
53
|
+
description: 'Name of the collection creator',
|
|
54
|
+
example: 'John Doe',
|
|
55
|
+
}),
|
|
56
|
+
__metadata("design:type", String)
|
|
57
|
+
], CollectionMintProfileDoc.prototype, "creatorName", void 0);
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, swagger_1.ApiProperty)({
|
|
60
|
+
description: 'Smart contract address for minting',
|
|
61
|
+
example: 'erd1qqqqqqqqqqqqqpgqw0t0ef0jdpeva2v7qy7q7qjjfq6yq0wq0w0qjjfq6yq',
|
|
62
|
+
}),
|
|
63
|
+
__metadata("design:type", String)
|
|
64
|
+
], CollectionMintProfileDoc.prototype, "contractAddress", void 0);
|
|
65
|
+
__decorate([
|
|
66
|
+
(0, swagger_1.ApiProperty)({
|
|
67
|
+
description: 'Collection tag for identification',
|
|
68
|
+
example: 'MYNFT',
|
|
69
|
+
}),
|
|
70
|
+
__metadata("design:type", String)
|
|
71
|
+
], CollectionMintProfileDoc.prototype, "collectionTag", void 0);
|
|
72
|
+
__decorate([
|
|
73
|
+
(0, swagger_1.ApiProperty)({
|
|
74
|
+
description: 'IPFS CID for metadata',
|
|
75
|
+
example: 'QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco',
|
|
76
|
+
}),
|
|
77
|
+
__metadata("design:type", String)
|
|
78
|
+
], CollectionMintProfileDoc.prototype, "cid", void 0);
|
|
79
|
+
__decorate([
|
|
80
|
+
(0, swagger_1.ApiProperty)({
|
|
81
|
+
description: 'Media type of the NFT collection',
|
|
82
|
+
example: 'image/png',
|
|
83
|
+
}),
|
|
84
|
+
__metadata("design:type", String)
|
|
85
|
+
], CollectionMintProfileDoc.prototype, "mediaType", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, swagger_1.ApiProperty)({
|
|
88
|
+
description: 'Base name for NFTs in the collection',
|
|
89
|
+
example: 'My NFT Collection',
|
|
90
|
+
}),
|
|
91
|
+
__metadata("design:type", String)
|
|
92
|
+
], CollectionMintProfileDoc.prototype, "baseNftName", void 0);
|
|
93
|
+
__decorate([
|
|
94
|
+
(0, swagger_1.ApiProperty)({
|
|
95
|
+
description: 'Whether the collection has attributes/traits',
|
|
96
|
+
example: true,
|
|
97
|
+
}),
|
|
98
|
+
__metadata("design:type", Boolean)
|
|
99
|
+
], CollectionMintProfileDoc.prototype, "hasAttributes", void 0);
|
|
100
|
+
__decorate([
|
|
101
|
+
(0, swagger_1.ApiProperty)({
|
|
102
|
+
description: 'Whether the collection owner has been transferred',
|
|
103
|
+
example: false,
|
|
104
|
+
}),
|
|
105
|
+
__metadata("design:type", Boolean)
|
|
106
|
+
], CollectionMintProfileDoc.prototype, "ownerTransferred", void 0);
|
|
107
|
+
__decorate([
|
|
108
|
+
(0, swagger_1.ApiProperty)({
|
|
109
|
+
description: 'Total size of the collection',
|
|
110
|
+
example: 10000,
|
|
111
|
+
}),
|
|
112
|
+
__metadata("design:type", Number)
|
|
113
|
+
], CollectionMintProfileDoc.prototype, "collectionSize", void 0);
|
|
114
|
+
__decorate([
|
|
115
|
+
(0, swagger_1.ApiProperty)({
|
|
116
|
+
description: 'Total number of NFTs minted',
|
|
117
|
+
example: 5000,
|
|
118
|
+
}),
|
|
119
|
+
__metadata("design:type", Number)
|
|
120
|
+
], CollectionMintProfileDoc.prototype, "totalNftMinted", void 0);
|
|
121
|
+
__decorate([
|
|
122
|
+
(0, swagger_1.ApiProperty)({
|
|
123
|
+
description: 'Global wallet limit for minting',
|
|
124
|
+
example: 10,
|
|
125
|
+
}),
|
|
126
|
+
__metadata("design:type", Number)
|
|
127
|
+
], CollectionMintProfileDoc.prototype, "globalWalletLimit", void 0);
|
|
128
|
+
__decorate([
|
|
129
|
+
(0, swagger_1.ApiProperty)({
|
|
130
|
+
description: 'Royalties percentage (basis points)',
|
|
131
|
+
example: 500,
|
|
132
|
+
}),
|
|
133
|
+
__metadata("design:type", Number)
|
|
134
|
+
], CollectionMintProfileDoc.prototype, "royalties", void 0);
|
|
135
|
+
__decorate([
|
|
136
|
+
(0, swagger_1.ApiProperty)({
|
|
137
|
+
description: 'Whether this is an old version of the contract',
|
|
138
|
+
example: false,
|
|
139
|
+
}),
|
|
140
|
+
__metadata("design:type", Boolean)
|
|
141
|
+
], CollectionMintProfileDoc.prototype, "oldVersion", void 0);
|
|
142
|
+
__decorate([
|
|
143
|
+
(0, swagger_1.ApiProperty)({
|
|
144
|
+
description: 'Whether names are shuffled during minting',
|
|
145
|
+
example: true,
|
|
146
|
+
}),
|
|
147
|
+
__metadata("design:type", Boolean)
|
|
148
|
+
], CollectionMintProfileDoc.prototype, "nameShuffle", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
(0, swagger_1.ApiProperty)({
|
|
151
|
+
description: 'Whether NFT transfers are limited',
|
|
152
|
+
example: false,
|
|
153
|
+
}),
|
|
154
|
+
__metadata("design:type", Boolean)
|
|
155
|
+
], CollectionMintProfileDoc.prototype, "nftTransferLimited", void 0);
|
|
156
|
+
__decorate([
|
|
157
|
+
(0, swagger_1.ApiProperty)({
|
|
158
|
+
description: 'Whether public burning is allowed',
|
|
159
|
+
example: false,
|
|
160
|
+
required: false,
|
|
161
|
+
}),
|
|
162
|
+
__metadata("design:type", Boolean)
|
|
163
|
+
], CollectionMintProfileDoc.prototype, "allowsPublicBurn", void 0);
|
|
164
|
+
__decorate([
|
|
165
|
+
(0, swagger_1.ApiProperty)({
|
|
166
|
+
description: 'Whether KYC is required for minting',
|
|
167
|
+
example: false,
|
|
168
|
+
}),
|
|
169
|
+
__metadata("design:type", Boolean)
|
|
170
|
+
], CollectionMintProfileDoc.prototype, "kycRequired", void 0);
|
|
171
|
+
__decorate([
|
|
172
|
+
(0, swagger_1.ApiProperty)({
|
|
173
|
+
description: 'Whether refunds are allowed',
|
|
174
|
+
example: false,
|
|
175
|
+
}),
|
|
176
|
+
__metadata("design:type", Boolean)
|
|
177
|
+
], CollectionMintProfileDoc.prototype, "allowsRefund", void 0);
|
|
178
|
+
__decorate([
|
|
179
|
+
(0, swagger_1.ApiProperty)({
|
|
180
|
+
description: 'Whether bot protection is enabled',
|
|
181
|
+
example: true,
|
|
182
|
+
}),
|
|
183
|
+
__metadata("design:type", Boolean)
|
|
184
|
+
], CollectionMintProfileDoc.prototype, "hasBotProtection", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, swagger_1.ApiProperty)({
|
|
187
|
+
description: 'Whether the collection has reveal mechanics',
|
|
188
|
+
example: false,
|
|
189
|
+
}),
|
|
190
|
+
__metadata("design:type", Boolean)
|
|
191
|
+
], CollectionMintProfileDoc.prototype, "hasReveal", void 0);
|
|
192
|
+
__decorate([
|
|
193
|
+
(0, swagger_1.ApiProperty)({
|
|
194
|
+
description: 'Tags associated with the collection',
|
|
195
|
+
example: ['gaming', 'art', 'utility'],
|
|
196
|
+
}),
|
|
197
|
+
__metadata("design:type", Object)
|
|
198
|
+
], CollectionMintProfileDoc.prototype, "tags", void 0);
|
|
199
|
+
__decorate([
|
|
200
|
+
(0, swagger_1.ApiProperty)({
|
|
201
|
+
description: 'Minimum starting prices for each public stage',
|
|
202
|
+
type: [tokenPayent_1.EgldOrEsdtTokenPayment],
|
|
203
|
+
}),
|
|
204
|
+
__metadata("design:type", Array)
|
|
205
|
+
], CollectionMintProfileDoc.prototype, "prices", void 0);
|
|
206
|
+
__decorate([
|
|
207
|
+
(0, swagger_1.ApiProperty)({
|
|
208
|
+
description: 'Earliest start time of all public stages (Unix timestamp)',
|
|
209
|
+
example: 1640995200,
|
|
210
|
+
}),
|
|
211
|
+
__metadata("design:type", Number)
|
|
212
|
+
], CollectionMintProfileDoc.prototype, "startTime", void 0);
|
|
213
|
+
__decorate([
|
|
214
|
+
(0, swagger_1.ApiProperty)({
|
|
215
|
+
description: 'Latest end time of all public stages (Unix timestamp)',
|
|
216
|
+
example: 1641081600,
|
|
217
|
+
}),
|
|
218
|
+
__metadata("design:type", Number)
|
|
219
|
+
], CollectionMintProfileDoc.prototype, "endTime", void 0);
|
|
220
|
+
__decorate([
|
|
221
|
+
(0, swagger_1.ApiProperty)({
|
|
222
|
+
description: 'Whether the collection is sold out',
|
|
223
|
+
example: false,
|
|
224
|
+
}),
|
|
225
|
+
__metadata("design:type", Boolean)
|
|
226
|
+
], CollectionMintProfileDoc.prototype, "isSoldOut", void 0);
|
|
227
|
+
__decorate([
|
|
228
|
+
(0, swagger_1.ApiProperty)({
|
|
229
|
+
description: 'Unique identifier for the document',
|
|
230
|
+
example: 'COLLECTION-123456-mintProfile',
|
|
231
|
+
}),
|
|
232
|
+
__metadata("design:type", String)
|
|
233
|
+
], CollectionMintProfileDoc.prototype, "id", void 0);
|
|
234
|
+
__decorate([
|
|
235
|
+
(0, swagger_1.ApiProperty)({
|
|
236
|
+
description: 'Cosmos DB timestamp',
|
|
237
|
+
example: 1640995200,
|
|
238
|
+
required: false,
|
|
239
|
+
}),
|
|
240
|
+
__metadata("design:type", Number)
|
|
241
|
+
], CollectionMintProfileDoc.prototype, "_ts", void 0);
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EgldOrEsdtTokenPayment } from '../../../common/tokenPayent';
|
|
2
|
+
import { CollectionDataType } from './dataTypes';
|
|
3
|
+
export declare class CollectionMintStageDoc {
|
|
4
|
+
dataType: CollectionDataType;
|
|
5
|
+
collection: string;
|
|
6
|
+
contractAddress: string;
|
|
7
|
+
collectionTag: string;
|
|
8
|
+
name: string;
|
|
9
|
+
startTime: number;
|
|
10
|
+
endTime: number;
|
|
11
|
+
mintCount: number;
|
|
12
|
+
mintLimit: number;
|
|
13
|
+
mintEnabled: boolean;
|
|
14
|
+
isWhitelist: boolean;
|
|
15
|
+
walletLimit: number;
|
|
16
|
+
prices: EgldOrEsdtTokenPayment[];
|
|
17
|
+
id: string;
|
|
18
|
+
constructor(props?: Partial<CollectionMintStageDoc>);
|
|
19
|
+
}
|
|
20
|
+
export type CollectionMintStageDocType = CollectionMintStageDoc;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CollectionMintStageDoc = void 0;
|
|
4
|
+
const dataTypes_1 = require("./dataTypes");
|
|
5
|
+
class CollectionMintStageDoc {
|
|
6
|
+
constructor(props) {
|
|
7
|
+
this.dataType = dataTypes_1.CollectionDataType.MintStage;
|
|
8
|
+
this.prices = [];
|
|
9
|
+
Object.assign(this, props);
|
|
10
|
+
this.id = `${this.collection}-${this.name}-${this.dataType}`;
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
exports.CollectionMintStageDoc = CollectionMintStageDoc;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { EsdtTokenType, EsdtTokenSubType, ActivityChain } from '../../../common/enums';
|
|
2
|
+
import { SocialsDto } from '../../../common/socials';
|
|
3
|
+
import { CollectionStatistics } from '../../../common/statistics';
|
|
4
|
+
import { XoxnoMarketplaceScCollectionConfig } from './collectionConfig';
|
|
5
|
+
import { CollectionDataType } from './dataTypes';
|
|
6
|
+
export declare class Rule {
|
|
7
|
+
type: 'kiosk_lock_rule' | 'royalty_rule';
|
|
8
|
+
amount_bp?: number;
|
|
9
|
+
min_amount?: string;
|
|
10
|
+
}
|
|
11
|
+
export declare class TransferPolicy {
|
|
12
|
+
id: string;
|
|
13
|
+
type: string;
|
|
14
|
+
rules: Rule[];
|
|
15
|
+
is_origin_byte: boolean;
|
|
16
|
+
}
|
|
17
|
+
export declare class CollectionProfileDoc {
|
|
18
|
+
dataType: CollectionDataType;
|
|
19
|
+
collection: string;
|
|
20
|
+
originalCollection: string;
|
|
21
|
+
name: string;
|
|
22
|
+
description: string;
|
|
23
|
+
isVisible: boolean;
|
|
24
|
+
isVerified: boolean;
|
|
25
|
+
socials: SocialsDto;
|
|
26
|
+
type: EsdtTokenType;
|
|
27
|
+
subType?: EsdtTokenSubType;
|
|
28
|
+
profile: string;
|
|
29
|
+
banner: string;
|
|
30
|
+
statistics: CollectionStatistics;
|
|
31
|
+
chain: ActivityChain;
|
|
32
|
+
transferPolicies: TransferPolicy[];
|
|
33
|
+
owner: string;
|
|
34
|
+
creator: string;
|
|
35
|
+
isMintable: boolean;
|
|
36
|
+
hasStaking: boolean;
|
|
37
|
+
isEvent: boolean;
|
|
38
|
+
roles: Record<string, string[]>;
|
|
39
|
+
eventId?: string;
|
|
40
|
+
pinnedAtDrops?: number;
|
|
41
|
+
pinnedAt?: number;
|
|
42
|
+
customConfig?: XoxnoMarketplaceScCollectionConfig;
|
|
43
|
+
royalty?: number;
|
|
44
|
+
collectionSize?: number;
|
|
45
|
+
holdersCount?: number;
|
|
46
|
+
followCount?: number;
|
|
47
|
+
minSalePrice?: string;
|
|
48
|
+
id: string;
|
|
49
|
+
_ts: number;
|
|
50
|
+
constructor(props?: Partial<CollectionProfileDoc>);
|
|
51
|
+
}
|
|
52
|
+
export type CollectionProfileDocType = CollectionProfileDoc;
|
|
@@ -0,0 +1,330 @@
|
|
|
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.CollectionProfileDoc = exports.TransferPolicy = exports.Rule = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const enums_1 = require("../../../common/enums");
|
|
15
|
+
const socials_1 = require("../../../common/socials");
|
|
16
|
+
const statistics_1 = require("../../../common/statistics");
|
|
17
|
+
const collectionConfig_1 = require("./collectionConfig");
|
|
18
|
+
const dataTypes_1 = require("./dataTypes");
|
|
19
|
+
class Rule {
|
|
20
|
+
}
|
|
21
|
+
exports.Rule = Rule;
|
|
22
|
+
__decorate([
|
|
23
|
+
(0, swagger_1.ApiProperty)({ description: 'Rule type' }),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], Rule.prototype, "type", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, swagger_1.ApiProperty)({ description: 'Rule amount bp', required: false }),
|
|
28
|
+
__metadata("design:type", Number)
|
|
29
|
+
], Rule.prototype, "amount_bp", void 0);
|
|
30
|
+
__decorate([
|
|
31
|
+
(0, swagger_1.ApiProperty)({ description: 'Rule min amount', required: false }),
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], Rule.prototype, "min_amount", void 0);
|
|
34
|
+
class TransferPolicy {
|
|
35
|
+
}
|
|
36
|
+
exports.TransferPolicy = TransferPolicy;
|
|
37
|
+
__decorate([
|
|
38
|
+
(0, swagger_1.ApiProperty)({ description: 'Transfer policy id' }),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], TransferPolicy.prototype, "id", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, swagger_1.ApiProperty)({ description: 'Transfer policy type' }),
|
|
43
|
+
__metadata("design:type", String)
|
|
44
|
+
], TransferPolicy.prototype, "type", void 0);
|
|
45
|
+
__decorate([
|
|
46
|
+
(0, swagger_1.ApiProperty)({ description: 'Transfer policy rules' }),
|
|
47
|
+
__metadata("design:type", Array)
|
|
48
|
+
], TransferPolicy.prototype, "rules", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, swagger_1.ApiProperty)({ description: 'Transfer policy is origin byte' }),
|
|
51
|
+
__metadata("design:type", Boolean)
|
|
52
|
+
], TransferPolicy.prototype, "is_origin_byte", void 0);
|
|
53
|
+
class CollectionProfileDoc {
|
|
54
|
+
constructor(props) {
|
|
55
|
+
this.dataType = dataTypes_1.CollectionDataType.CollectionProfile;
|
|
56
|
+
this.collection = '';
|
|
57
|
+
this.originalCollection = '';
|
|
58
|
+
this.name = '';
|
|
59
|
+
this.description = '';
|
|
60
|
+
this.isVisible = true;
|
|
61
|
+
this.isVerified = false;
|
|
62
|
+
this.statistics = new statistics_1.StatisticsDto({
|
|
63
|
+
other: new statistics_1.StatisticsOtherDto({
|
|
64
|
+
followCount: 0,
|
|
65
|
+
nftCount: 0,
|
|
66
|
+
holdersCount: 0,
|
|
67
|
+
}),
|
|
68
|
+
});
|
|
69
|
+
this.chain = enums_1.ActivityChain.MULTIVERSX;
|
|
70
|
+
this.transferPolicies = [];
|
|
71
|
+
this.owner = '';
|
|
72
|
+
this.creator = '';
|
|
73
|
+
this.isMintable = false;
|
|
74
|
+
this.hasStaking = false;
|
|
75
|
+
this.isEvent = false;
|
|
76
|
+
this.roles = {};
|
|
77
|
+
this.collectionSize = 0;
|
|
78
|
+
this.holdersCount = 0;
|
|
79
|
+
this.followCount = 0;
|
|
80
|
+
this.id = '';
|
|
81
|
+
this._ts = 0;
|
|
82
|
+
Object.assign(this, props);
|
|
83
|
+
this.collection = this.collection.replace('::', '-');
|
|
84
|
+
this.id = `${this.collection}-${this.dataType}`;
|
|
85
|
+
if (this.transferPolicies?.length > 0) {
|
|
86
|
+
for (const policy of this.transferPolicies) {
|
|
87
|
+
this.royalty = policy.rules.find((rule) => rule.type === 'royalty_rule')?.amount_bp;
|
|
88
|
+
const minPrice = policy.rules.find((rule) => rule.type === 'royalty_rule')?.min_amount;
|
|
89
|
+
if (minPrice && minPrice !== '0') {
|
|
90
|
+
this.minSalePrice = minPrice;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
exports.CollectionProfileDoc = CollectionProfileDoc;
|
|
97
|
+
__decorate([
|
|
98
|
+
(0, swagger_1.ApiProperty)({
|
|
99
|
+
description: 'Data type identifier for the collection profile',
|
|
100
|
+
enum: dataTypes_1.CollectionDataType,
|
|
101
|
+
example: dataTypes_1.CollectionDataType.CollectionProfile,
|
|
102
|
+
}),
|
|
103
|
+
__metadata("design:type", String)
|
|
104
|
+
], CollectionProfileDoc.prototype, "dataType", void 0);
|
|
105
|
+
__decorate([
|
|
106
|
+
(0, swagger_1.ApiProperty)({
|
|
107
|
+
description: 'Collection identifier',
|
|
108
|
+
example: 'COLLECTION-123456',
|
|
109
|
+
}),
|
|
110
|
+
__metadata("design:type", String)
|
|
111
|
+
], CollectionProfileDoc.prototype, "collection", void 0);
|
|
112
|
+
__decorate([
|
|
113
|
+
(0, swagger_1.ApiProperty)({
|
|
114
|
+
description: 'Original collection identifier',
|
|
115
|
+
example: 'ORIGINAL-123456',
|
|
116
|
+
}),
|
|
117
|
+
__metadata("design:type", String)
|
|
118
|
+
], CollectionProfileDoc.prototype, "originalCollection", void 0);
|
|
119
|
+
__decorate([
|
|
120
|
+
(0, swagger_1.ApiProperty)({
|
|
121
|
+
description: 'Name of the collection',
|
|
122
|
+
example: 'My NFT Collection',
|
|
123
|
+
}),
|
|
124
|
+
__metadata("design:type", String)
|
|
125
|
+
], CollectionProfileDoc.prototype, "name", void 0);
|
|
126
|
+
__decorate([
|
|
127
|
+
(0, swagger_1.ApiProperty)({
|
|
128
|
+
description: 'Description of the collection',
|
|
129
|
+
example: 'A unique collection of digital artwork',
|
|
130
|
+
}),
|
|
131
|
+
__metadata("design:type", String)
|
|
132
|
+
], CollectionProfileDoc.prototype, "description", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, swagger_1.ApiProperty)({
|
|
135
|
+
description: 'Whether the collection is visible to the public',
|
|
136
|
+
example: true,
|
|
137
|
+
}),
|
|
138
|
+
__metadata("design:type", Boolean)
|
|
139
|
+
], CollectionProfileDoc.prototype, "isVisible", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
(0, swagger_1.ApiProperty)({
|
|
142
|
+
description: 'Whether the collection is verified',
|
|
143
|
+
example: false,
|
|
144
|
+
}),
|
|
145
|
+
__metadata("design:type", Boolean)
|
|
146
|
+
], CollectionProfileDoc.prototype, "isVerified", void 0);
|
|
147
|
+
__decorate([
|
|
148
|
+
(0, swagger_1.ApiProperty)({
|
|
149
|
+
description: 'Social media links for the collection',
|
|
150
|
+
type: socials_1.SocialsDto,
|
|
151
|
+
}),
|
|
152
|
+
__metadata("design:type", socials_1.SocialsDto)
|
|
153
|
+
], CollectionProfileDoc.prototype, "socials", void 0);
|
|
154
|
+
__decorate([
|
|
155
|
+
(0, swagger_1.ApiProperty)({
|
|
156
|
+
description: 'Token type',
|
|
157
|
+
enum: enums_1.EsdtTokenType,
|
|
158
|
+
example: enums_1.EsdtTokenType.NonFungibleESDT,
|
|
159
|
+
}),
|
|
160
|
+
__metadata("design:type", String)
|
|
161
|
+
], CollectionProfileDoc.prototype, "type", void 0);
|
|
162
|
+
__decorate([
|
|
163
|
+
(0, swagger_1.ApiProperty)({
|
|
164
|
+
description: 'Token subtype',
|
|
165
|
+
enum: enums_1.EsdtTokenSubType,
|
|
166
|
+
required: false,
|
|
167
|
+
example: enums_1.EsdtTokenSubType.NonFungibleESDTv2,
|
|
168
|
+
}),
|
|
169
|
+
__metadata("design:type", String)
|
|
170
|
+
], CollectionProfileDoc.prototype, "subType", void 0);
|
|
171
|
+
__decorate([
|
|
172
|
+
(0, swagger_1.ApiProperty)({
|
|
173
|
+
description: 'Profile image URL',
|
|
174
|
+
example: 'https://example.com/profile.jpg',
|
|
175
|
+
}),
|
|
176
|
+
__metadata("design:type", String)
|
|
177
|
+
], CollectionProfileDoc.prototype, "profile", void 0);
|
|
178
|
+
__decorate([
|
|
179
|
+
(0, swagger_1.ApiProperty)({
|
|
180
|
+
description: 'Banner image URL',
|
|
181
|
+
example: 'https://example.com/banner.jpg',
|
|
182
|
+
}),
|
|
183
|
+
__metadata("design:type", String)
|
|
184
|
+
], CollectionProfileDoc.prototype, "banner", void 0);
|
|
185
|
+
__decorate([
|
|
186
|
+
(0, swagger_1.ApiProperty)({
|
|
187
|
+
description: 'Collection statistics',
|
|
188
|
+
type: statistics_1.StatisticsDto,
|
|
189
|
+
}),
|
|
190
|
+
__metadata("design:type", Object)
|
|
191
|
+
], CollectionProfileDoc.prototype, "statistics", void 0);
|
|
192
|
+
__decorate([
|
|
193
|
+
(0, swagger_1.ApiProperty)({
|
|
194
|
+
description: 'Blockchain chain',
|
|
195
|
+
enum: enums_1.ActivityChain,
|
|
196
|
+
example: enums_1.ActivityChain.MULTIVERSX,
|
|
197
|
+
}),
|
|
198
|
+
__metadata("design:type", String)
|
|
199
|
+
], CollectionProfileDoc.prototype, "chain", void 0);
|
|
200
|
+
__decorate([
|
|
201
|
+
(0, swagger_1.ApiProperty)({
|
|
202
|
+
description: 'Transfer policies for the collection',
|
|
203
|
+
type: [TransferPolicy],
|
|
204
|
+
}),
|
|
205
|
+
__metadata("design:type", Array)
|
|
206
|
+
], CollectionProfileDoc.prototype, "transferPolicies", void 0);
|
|
207
|
+
__decorate([
|
|
208
|
+
(0, swagger_1.ApiProperty)({
|
|
209
|
+
description: 'Owner address of the collection',
|
|
210
|
+
example: 'erd1...',
|
|
211
|
+
}),
|
|
212
|
+
__metadata("design:type", String)
|
|
213
|
+
], CollectionProfileDoc.prototype, "owner", void 0);
|
|
214
|
+
__decorate([
|
|
215
|
+
(0, swagger_1.ApiProperty)({
|
|
216
|
+
description: 'Creator address of the collection',
|
|
217
|
+
example: 'erd1...',
|
|
218
|
+
}),
|
|
219
|
+
__metadata("design:type", String)
|
|
220
|
+
], CollectionProfileDoc.prototype, "creator", void 0);
|
|
221
|
+
__decorate([
|
|
222
|
+
(0, swagger_1.ApiProperty)({
|
|
223
|
+
description: 'Whether the collection is mintable',
|
|
224
|
+
example: false,
|
|
225
|
+
}),
|
|
226
|
+
__metadata("design:type", Boolean)
|
|
227
|
+
], CollectionProfileDoc.prototype, "isMintable", void 0);
|
|
228
|
+
__decorate([
|
|
229
|
+
(0, swagger_1.ApiProperty)({
|
|
230
|
+
description: 'Whether the collection has staking',
|
|
231
|
+
example: false,
|
|
232
|
+
}),
|
|
233
|
+
__metadata("design:type", Boolean)
|
|
234
|
+
], CollectionProfileDoc.prototype, "hasStaking", void 0);
|
|
235
|
+
__decorate([
|
|
236
|
+
(0, swagger_1.ApiProperty)({
|
|
237
|
+
description: 'Whether the collection is an event',
|
|
238
|
+
example: false,
|
|
239
|
+
}),
|
|
240
|
+
__metadata("design:type", Boolean)
|
|
241
|
+
], CollectionProfileDoc.prototype, "isEvent", void 0);
|
|
242
|
+
__decorate([
|
|
243
|
+
(0, swagger_1.ApiProperty)({
|
|
244
|
+
description: 'Roles associated with the collection',
|
|
245
|
+
type: 'object',
|
|
246
|
+
example: { ESDTRoleNFTCreate: ['erd1...'] },
|
|
247
|
+
}),
|
|
248
|
+
__metadata("design:type", Object)
|
|
249
|
+
], CollectionProfileDoc.prototype, "roles", void 0);
|
|
250
|
+
__decorate([
|
|
251
|
+
(0, swagger_1.ApiProperty)({
|
|
252
|
+
description: 'Event ID if this is an event collection',
|
|
253
|
+
required: false,
|
|
254
|
+
example: 'event-123',
|
|
255
|
+
}),
|
|
256
|
+
__metadata("design:type", String)
|
|
257
|
+
], CollectionProfileDoc.prototype, "eventId", void 0);
|
|
258
|
+
__decorate([
|
|
259
|
+
(0, swagger_1.ApiProperty)({
|
|
260
|
+
description: 'Timestamp when pinned at drops',
|
|
261
|
+
required: false,
|
|
262
|
+
example: 1640995200,
|
|
263
|
+
}),
|
|
264
|
+
__metadata("design:type", Number)
|
|
265
|
+
], CollectionProfileDoc.prototype, "pinnedAtDrops", void 0);
|
|
266
|
+
__decorate([
|
|
267
|
+
(0, swagger_1.ApiProperty)({
|
|
268
|
+
description: 'Timestamp when pinned',
|
|
269
|
+
required: false,
|
|
270
|
+
example: 1640995200,
|
|
271
|
+
}),
|
|
272
|
+
__metadata("design:type", Number)
|
|
273
|
+
], CollectionProfileDoc.prototype, "pinnedAt", void 0);
|
|
274
|
+
__decorate([
|
|
275
|
+
(0, swagger_1.ApiProperty)({
|
|
276
|
+
description: 'Custom configuration for the collection',
|
|
277
|
+
required: false,
|
|
278
|
+
type: collectionConfig_1.XoxnoMarketplaceScCollectionConfig,
|
|
279
|
+
}),
|
|
280
|
+
__metadata("design:type", collectionConfig_1.XoxnoMarketplaceScCollectionConfig)
|
|
281
|
+
], CollectionProfileDoc.prototype, "customConfig", void 0);
|
|
282
|
+
__decorate([
|
|
283
|
+
(0, swagger_1.ApiProperty)({
|
|
284
|
+
description: 'Royalty of the collection',
|
|
285
|
+
required: false,
|
|
286
|
+
}),
|
|
287
|
+
__metadata("design:type", Number)
|
|
288
|
+
], CollectionProfileDoc.prototype, "royalty", void 0);
|
|
289
|
+
__decorate([
|
|
290
|
+
(0, swagger_1.ApiProperty)({
|
|
291
|
+
description: 'Size of the collection, applied post processing',
|
|
292
|
+
required: false,
|
|
293
|
+
}),
|
|
294
|
+
__metadata("design:type", Number)
|
|
295
|
+
], CollectionProfileDoc.prototype, "collectionSize", void 0);
|
|
296
|
+
__decorate([
|
|
297
|
+
(0, swagger_1.ApiProperty)({
|
|
298
|
+
description: 'Holders count of the collection, applied post processing',
|
|
299
|
+
required: false,
|
|
300
|
+
}),
|
|
301
|
+
__metadata("design:type", Number)
|
|
302
|
+
], CollectionProfileDoc.prototype, "holdersCount", void 0);
|
|
303
|
+
__decorate([
|
|
304
|
+
(0, swagger_1.ApiProperty)({
|
|
305
|
+
description: 'Follow count of the collection, applied post processing',
|
|
306
|
+
required: false,
|
|
307
|
+
}),
|
|
308
|
+
__metadata("design:type", Number)
|
|
309
|
+
], CollectionProfileDoc.prototype, "followCount", void 0);
|
|
310
|
+
__decorate([
|
|
311
|
+
(0, swagger_1.ApiProperty)({
|
|
312
|
+
description: 'Minimum sale price of the collection',
|
|
313
|
+
required: false,
|
|
314
|
+
}),
|
|
315
|
+
__metadata("design:type", String)
|
|
316
|
+
], CollectionProfileDoc.prototype, "minSalePrice", void 0);
|
|
317
|
+
__decorate([
|
|
318
|
+
(0, swagger_1.ApiProperty)({
|
|
319
|
+
description: 'Unique identifier for the document',
|
|
320
|
+
example: 'COLLECTION-123456-CollectionProfile',
|
|
321
|
+
}),
|
|
322
|
+
__metadata("design:type", String)
|
|
323
|
+
], CollectionProfileDoc.prototype, "id", void 0);
|
|
324
|
+
__decorate([
|
|
325
|
+
(0, swagger_1.ApiProperty)({
|
|
326
|
+
description: 'Timestamp of the document',
|
|
327
|
+
example: 1640995200,
|
|
328
|
+
}),
|
|
329
|
+
__metadata("design:type", Number)
|
|
330
|
+
], CollectionProfileDoc.prototype, "_ts", void 0);
|