@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,544 @@
|
|
|
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
|
+
var _a;
|
|
12
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
13
|
+
exports.BageQRData = exports.GetMyEventsQuery = exports.MyEvents = exports.EventProfileQuery = exports.EventProfile = exports.EventStartPrice = exports.EventProfileDoc = exports.EventGuestSummary = exports.EventGuestProfileSummary = exports.PremiumType = exports.RegistrationType = void 0;
|
|
14
|
+
const crypto_1 = require("crypto");
|
|
15
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
16
|
+
const types_1 = require("@xoxno/types");
|
|
17
|
+
const class_validator_1 = require("class-validator");
|
|
18
|
+
const uuid_1 = require("uuid");
|
|
19
|
+
const static_config_1 = require("src/common/api-config/static-config");
|
|
20
|
+
const cosmos_db_paginated_response_dto_1 = require("src/common/cosmos-db/entities/cosmos-db-paginated-response.dto");
|
|
21
|
+
const event_category_enum_1 = require("./event-category.enum");
|
|
22
|
+
const event_guest_status_enum_1 = require("./event-guest-status.enum");
|
|
23
|
+
const event_guest_doc_1 = require("./event-guest.doc");
|
|
24
|
+
const event_profile_create_dto_1 = require("./event-profile-create.dto");
|
|
25
|
+
const event_ticket_qr_type_enum_1 = require("./event-ticket-qr-type.enum");
|
|
26
|
+
const event_user_role_doc_1 = require("./event-user-role.doc");
|
|
27
|
+
const ticketing_data_type_enum_1 = require("./ticketing-data-type.enum");
|
|
28
|
+
class RegistrationType {
|
|
29
|
+
}
|
|
30
|
+
exports.RegistrationType = RegistrationType;
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, swagger_1.ApiProperty)({
|
|
33
|
+
enum: event_profile_create_dto_1.Visibility,
|
|
34
|
+
required: true,
|
|
35
|
+
description: 'Visibility of the event registration',
|
|
36
|
+
enumName: 'Visibility',
|
|
37
|
+
}),
|
|
38
|
+
(0, class_validator_1.IsEnum)(event_profile_create_dto_1.Visibility),
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], RegistrationType.prototype, "visibility", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, swagger_1.ApiProperty)({
|
|
43
|
+
type: 'integer',
|
|
44
|
+
required: true,
|
|
45
|
+
description: 'Maximum number of registrations allowed',
|
|
46
|
+
}),
|
|
47
|
+
(0, class_validator_1.IsInt)(),
|
|
48
|
+
__metadata("design:type", Number)
|
|
49
|
+
], RegistrationType.prototype, "maxLimit", void 0);
|
|
50
|
+
__decorate([
|
|
51
|
+
(0, swagger_1.ApiProperty)({
|
|
52
|
+
type: 'integer',
|
|
53
|
+
required: true,
|
|
54
|
+
description: 'Maximum number of registrations allowed per user',
|
|
55
|
+
}),
|
|
56
|
+
(0, class_validator_1.IsInt)(),
|
|
57
|
+
__metadata("design:type", Number)
|
|
58
|
+
], RegistrationType.prototype, "userLimit", void 0);
|
|
59
|
+
__decorate([
|
|
60
|
+
(0, swagger_1.ApiProperty)({
|
|
61
|
+
type: 'integer',
|
|
62
|
+
required: false,
|
|
63
|
+
description: 'Current number of tickets sold',
|
|
64
|
+
}),
|
|
65
|
+
(0, class_validator_1.IsInt)(),
|
|
66
|
+
__metadata("design:type", Number)
|
|
67
|
+
], RegistrationType.prototype, "soldCount", void 0);
|
|
68
|
+
__decorate([
|
|
69
|
+
(0, swagger_1.ApiProperty)({
|
|
70
|
+
type: 'boolean',
|
|
71
|
+
required: true,
|
|
72
|
+
description: 'Whether the event has side events',
|
|
73
|
+
}),
|
|
74
|
+
(0, class_validator_1.IsBoolean)(),
|
|
75
|
+
__metadata("design:type", Boolean)
|
|
76
|
+
], RegistrationType.prototype, "hasSideEvents", void 0);
|
|
77
|
+
__decorate([
|
|
78
|
+
(0, swagger_1.ApiProperty)({
|
|
79
|
+
type: 'boolean',
|
|
80
|
+
required: false,
|
|
81
|
+
description: 'Whether to show the guest count',
|
|
82
|
+
}),
|
|
83
|
+
(0, class_validator_1.IsBoolean)(),
|
|
84
|
+
__metadata("design:type", Boolean)
|
|
85
|
+
], RegistrationType.prototype, "showGuestCount", void 0);
|
|
86
|
+
__decorate([
|
|
87
|
+
(0, swagger_1.ApiProperty)({
|
|
88
|
+
type: 'boolean',
|
|
89
|
+
required: true,
|
|
90
|
+
description: 'Whether KYC is required for registration',
|
|
91
|
+
}),
|
|
92
|
+
(0, class_validator_1.IsBoolean)(),
|
|
93
|
+
__metadata("design:type", Boolean)
|
|
94
|
+
], RegistrationType.prototype, "requireKYC", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, swagger_1.ApiProperty)({
|
|
97
|
+
type: 'boolean',
|
|
98
|
+
required: true,
|
|
99
|
+
description: 'Whether the event is refundable',
|
|
100
|
+
}),
|
|
101
|
+
(0, class_validator_1.IsBoolean)(),
|
|
102
|
+
__metadata("design:type", Boolean)
|
|
103
|
+
], RegistrationType.prototype, "refundable", void 0);
|
|
104
|
+
__decorate([
|
|
105
|
+
(0, swagger_1.ApiProperty)({
|
|
106
|
+
type: 'boolean',
|
|
107
|
+
required: true,
|
|
108
|
+
description: 'Whether to show name with number',
|
|
109
|
+
}),
|
|
110
|
+
(0, class_validator_1.IsBoolean)(),
|
|
111
|
+
__metadata("design:type", Boolean)
|
|
112
|
+
], RegistrationType.prototype, "nameWithNumber", void 0);
|
|
113
|
+
__decorate([
|
|
114
|
+
(0, swagger_1.ApiProperty)({
|
|
115
|
+
type: 'boolean',
|
|
116
|
+
required: true,
|
|
117
|
+
description: 'Whether bot protection is enabled',
|
|
118
|
+
}),
|
|
119
|
+
(0, class_validator_1.IsBoolean)(),
|
|
120
|
+
__metadata("design:type", Boolean)
|
|
121
|
+
], RegistrationType.prototype, "botProtection", void 0);
|
|
122
|
+
__decorate([
|
|
123
|
+
(0, swagger_1.ApiProperty)({
|
|
124
|
+
type: 'boolean',
|
|
125
|
+
required: true,
|
|
126
|
+
description: 'Whether the event is published',
|
|
127
|
+
}),
|
|
128
|
+
(0, class_validator_1.IsBoolean)(),
|
|
129
|
+
__metadata("design:type", Boolean)
|
|
130
|
+
], RegistrationType.prototype, "isPublished", void 0);
|
|
131
|
+
__decorate([
|
|
132
|
+
(0, swagger_1.ApiProperty)({
|
|
133
|
+
type: Boolean,
|
|
134
|
+
required: false,
|
|
135
|
+
description: 'Whether the event has a waitlist',
|
|
136
|
+
}),
|
|
137
|
+
(0, class_validator_1.IsBoolean)(),
|
|
138
|
+
__metadata("design:type", Boolean)
|
|
139
|
+
], RegistrationType.prototype, "hasWaitlist", void 0);
|
|
140
|
+
__decorate([
|
|
141
|
+
(0, swagger_1.ApiProperty)({
|
|
142
|
+
type: Boolean,
|
|
143
|
+
required: true,
|
|
144
|
+
description: 'Whether name is required for registration',
|
|
145
|
+
}),
|
|
146
|
+
(0, class_validator_1.IsBoolean)(),
|
|
147
|
+
__metadata("design:type", Boolean)
|
|
148
|
+
], RegistrationType.prototype, "requireName", void 0);
|
|
149
|
+
__decorate([
|
|
150
|
+
(0, swagger_1.ApiProperty)({
|
|
151
|
+
type: Boolean,
|
|
152
|
+
required: true,
|
|
153
|
+
description: 'Whether email is required for registration',
|
|
154
|
+
}),
|
|
155
|
+
(0, class_validator_1.IsBoolean)(),
|
|
156
|
+
__metadata("design:type", Boolean)
|
|
157
|
+
], RegistrationType.prototype, "requireEmail", void 0);
|
|
158
|
+
__decorate([
|
|
159
|
+
(0, swagger_1.ApiProperty)({
|
|
160
|
+
type: Boolean,
|
|
161
|
+
required: true,
|
|
162
|
+
description: 'Whether phone number is required for registration',
|
|
163
|
+
}),
|
|
164
|
+
(0, class_validator_1.IsBoolean)(),
|
|
165
|
+
__metadata("design:type", Boolean)
|
|
166
|
+
], RegistrationType.prototype, "requirePhoneNumber", void 0);
|
|
167
|
+
__decorate([
|
|
168
|
+
(0, swagger_1.ApiProperty)({
|
|
169
|
+
type: Boolean,
|
|
170
|
+
required: false,
|
|
171
|
+
description: 'Whether the event has custom questions',
|
|
172
|
+
}),
|
|
173
|
+
(0, class_validator_1.IsBoolean)(),
|
|
174
|
+
__metadata("design:type", Boolean)
|
|
175
|
+
], RegistrationType.prototype, "hasCustomQuestions", void 0);
|
|
176
|
+
__decorate([
|
|
177
|
+
(0, swagger_1.ApiProperty)({
|
|
178
|
+
type: String,
|
|
179
|
+
required: false,
|
|
180
|
+
description: 'Email sender for notifications',
|
|
181
|
+
}),
|
|
182
|
+
(0, class_validator_1.IsString)(),
|
|
183
|
+
__metadata("design:type", String)
|
|
184
|
+
], RegistrationType.prototype, "emailSender", void 0);
|
|
185
|
+
class PremiumType {
|
|
186
|
+
}
|
|
187
|
+
exports.PremiumType = PremiumType;
|
|
188
|
+
__decorate([
|
|
189
|
+
(0, swagger_1.ApiProperty)({
|
|
190
|
+
type: Boolean,
|
|
191
|
+
required: true,
|
|
192
|
+
description: 'Whether the event is searchable',
|
|
193
|
+
}),
|
|
194
|
+
(0, class_validator_1.IsBoolean)(),
|
|
195
|
+
__metadata("design:type", Boolean)
|
|
196
|
+
], PremiumType.prototype, "searchable", void 0);
|
|
197
|
+
class EventGuestProfileSummary {
|
|
198
|
+
}
|
|
199
|
+
exports.EventGuestProfileSummary = EventGuestProfileSummary;
|
|
200
|
+
__decorate([
|
|
201
|
+
(0, swagger_1.ApiProperty)({
|
|
202
|
+
description: 'The address of the guest.',
|
|
203
|
+
example: 'erd1234',
|
|
204
|
+
}),
|
|
205
|
+
__metadata("design:type", String)
|
|
206
|
+
], EventGuestProfileSummary.prototype, "address", void 0);
|
|
207
|
+
__decorate([
|
|
208
|
+
(0, swagger_1.ApiProperty)({
|
|
209
|
+
description: 'The profile URL of the guest.',
|
|
210
|
+
example: 'https://example.com/profile.png',
|
|
211
|
+
}),
|
|
212
|
+
__metadata("design:type", String)
|
|
213
|
+
], EventGuestProfileSummary.prototype, "profile", void 0);
|
|
214
|
+
__decorate([
|
|
215
|
+
(0, swagger_1.ApiProperty)({
|
|
216
|
+
description: 'The name of the guest.',
|
|
217
|
+
example: 'John Doe',
|
|
218
|
+
required: false,
|
|
219
|
+
}),
|
|
220
|
+
__metadata("design:type", String)
|
|
221
|
+
], EventGuestProfileSummary.prototype, "name", void 0);
|
|
222
|
+
__decorate([
|
|
223
|
+
(0, swagger_1.ApiProperty)({
|
|
224
|
+
description: 'The herotag of the guest.',
|
|
225
|
+
example: 'john-doe',
|
|
226
|
+
required: false,
|
|
227
|
+
}),
|
|
228
|
+
__metadata("design:type", String)
|
|
229
|
+
], EventGuestProfileSummary.prototype, "herotag", void 0);
|
|
230
|
+
class EventGuestSummary {
|
|
231
|
+
}
|
|
232
|
+
exports.EventGuestSummary = EventGuestSummary;
|
|
233
|
+
__decorate([
|
|
234
|
+
(0, swagger_1.ApiProperty)({
|
|
235
|
+
description: 'Total number of guests.',
|
|
236
|
+
example: 100,
|
|
237
|
+
type: 'integer',
|
|
238
|
+
}),
|
|
239
|
+
(0, class_validator_1.IsInt)(),
|
|
240
|
+
__metadata("design:type", Number)
|
|
241
|
+
], EventGuestSummary.prototype, "count", void 0);
|
|
242
|
+
__decorate([
|
|
243
|
+
(0, swagger_1.ApiProperty)({
|
|
244
|
+
description: 'List of guests with their address, profile, name, and herotag.',
|
|
245
|
+
type: EventGuestProfileSummary,
|
|
246
|
+
isArray: true,
|
|
247
|
+
}),
|
|
248
|
+
__metadata("design:type", Array)
|
|
249
|
+
], EventGuestSummary.prototype, "guests", void 0);
|
|
250
|
+
class EventProfileDoc {
|
|
251
|
+
constructor(props) {
|
|
252
|
+
this.dataType = ticketing_data_type_enum_1.TicketingDataType.EVENT_PROFILE;
|
|
253
|
+
this.createdAt = Math.floor(Date.now() / 1000);
|
|
254
|
+
this.profile = static_config_1.StaticConfig.getDefaultProfilePicture();
|
|
255
|
+
this.premium = {
|
|
256
|
+
searchable: false,
|
|
257
|
+
};
|
|
258
|
+
this.id = (0, uuid_1.v4)();
|
|
259
|
+
Object.assign(this, props);
|
|
260
|
+
// Set the partition key to the data type for now
|
|
261
|
+
this.pk = this.dataType;
|
|
262
|
+
this.premium.searchable = true;
|
|
263
|
+
if (!this.slug) {
|
|
264
|
+
this.slug = this.generateRandomSlug();
|
|
265
|
+
}
|
|
266
|
+
}
|
|
267
|
+
generateRandomSlug(length = 8) {
|
|
268
|
+
const CHARACTERS = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';
|
|
269
|
+
const CHARACTERS_LENGTH = CHARACTERS.length;
|
|
270
|
+
const randomValues = (0, crypto_1.randomBytes)(length);
|
|
271
|
+
let result = '';
|
|
272
|
+
for (let i = 0; i < length; i++) {
|
|
273
|
+
result += CHARACTERS.charAt(randomValues[i] % CHARACTERS_LENGTH);
|
|
274
|
+
}
|
|
275
|
+
return result.toLowerCase();
|
|
276
|
+
}
|
|
277
|
+
}
|
|
278
|
+
exports.EventProfileDoc = EventProfileDoc;
|
|
279
|
+
__decorate([
|
|
280
|
+
(0, swagger_1.ApiProperty)({
|
|
281
|
+
description: 'The type of user data.',
|
|
282
|
+
enum: ticketing_data_type_enum_1.TicketingDataType,
|
|
283
|
+
enumName: 'TicketingDataType',
|
|
284
|
+
default: ticketing_data_type_enum_1.TicketingDataType.EVENT_PROFILE,
|
|
285
|
+
}),
|
|
286
|
+
__metadata("design:type", String)
|
|
287
|
+
], EventProfileDoc.prototype, "dataType", void 0);
|
|
288
|
+
__decorate([
|
|
289
|
+
(0, swagger_1.ApiProperty)({
|
|
290
|
+
description: 'The time the event was created as a Unix timestamp in seconds.',
|
|
291
|
+
type: 'integer',
|
|
292
|
+
}),
|
|
293
|
+
(0, class_validator_1.IsInt)(),
|
|
294
|
+
__metadata("design:type", Number)
|
|
295
|
+
], EventProfileDoc.prototype, "createdAt", void 0);
|
|
296
|
+
__decorate([
|
|
297
|
+
(0, swagger_1.ApiProperty)({
|
|
298
|
+
description: 'Wallet address of the creator of the event.',
|
|
299
|
+
}),
|
|
300
|
+
__metadata("design:type", String)
|
|
301
|
+
], EventProfileDoc.prototype, "creatorAddress", void 0);
|
|
302
|
+
__decorate([
|
|
303
|
+
(0, swagger_1.ApiProperty)({ description: 'Title of the event.' }),
|
|
304
|
+
__metadata("design:type", String)
|
|
305
|
+
], EventProfileDoc.prototype, "title", void 0);
|
|
306
|
+
__decorate([
|
|
307
|
+
(0, swagger_1.ApiProperty)({
|
|
308
|
+
description: 'Start time of the event as a Unix timestamp in seconds.',
|
|
309
|
+
type: 'integer',
|
|
310
|
+
}),
|
|
311
|
+
(0, class_validator_1.IsInt)(),
|
|
312
|
+
__metadata("design:type", Number)
|
|
313
|
+
], EventProfileDoc.prototype, "startTime", void 0);
|
|
314
|
+
__decorate([
|
|
315
|
+
(0, swagger_1.ApiProperty)({
|
|
316
|
+
description: 'End time of the event as a Unix timestamp in seconds.',
|
|
317
|
+
required: true,
|
|
318
|
+
type: 'integer',
|
|
319
|
+
}),
|
|
320
|
+
(0, class_validator_1.IsInt)(),
|
|
321
|
+
__metadata("design:type", Number)
|
|
322
|
+
], EventProfileDoc.prototype, "endTime", void 0);
|
|
323
|
+
__decorate([
|
|
324
|
+
(0, swagger_1.ApiProperty)({
|
|
325
|
+
description: 'URL to the markdown file in Azure storage containing the event description.',
|
|
326
|
+
default: static_config_1.StaticConfig.getDefaultEventDescription(),
|
|
327
|
+
required: false,
|
|
328
|
+
}),
|
|
329
|
+
__metadata("design:type", String)
|
|
330
|
+
], EventProfileDoc.prototype, "descriptionUrl", void 0);
|
|
331
|
+
__decorate([
|
|
332
|
+
(0, swagger_1.ApiProperty)({
|
|
333
|
+
type: event_profile_create_dto_1.EventLocationDto,
|
|
334
|
+
description: 'Location details including geo points, address, and optional instructions.',
|
|
335
|
+
}),
|
|
336
|
+
__metadata("design:type", event_profile_create_dto_1.EventLocationDto)
|
|
337
|
+
], EventProfileDoc.prototype, "location", void 0);
|
|
338
|
+
__decorate([
|
|
339
|
+
(0, swagger_1.ApiProperty)({
|
|
340
|
+
description: 'Define if the event happens in real life or virtual on Zoom/Meet',
|
|
341
|
+
type: 'boolean',
|
|
342
|
+
}),
|
|
343
|
+
(0, class_validator_1.IsBoolean)(),
|
|
344
|
+
__metadata("design:type", Boolean)
|
|
345
|
+
], EventProfileDoc.prototype, "isVirtualEvent", void 0);
|
|
346
|
+
__decorate([
|
|
347
|
+
(0, swagger_1.ApiProperty)({ description: 'Unique slug for the event URL.' }),
|
|
348
|
+
__metadata("design:type", String)
|
|
349
|
+
], EventProfileDoc.prototype, "slug", void 0);
|
|
350
|
+
__decorate([
|
|
351
|
+
(0, swagger_1.ApiProperty)({
|
|
352
|
+
description: 'URL to the profile image in Azure storage.',
|
|
353
|
+
default: static_config_1.StaticConfig.getDefaultProfilePicture(),
|
|
354
|
+
}),
|
|
355
|
+
__metadata("design:type", String)
|
|
356
|
+
], EventProfileDoc.prototype, "profile", void 0);
|
|
357
|
+
__decorate([
|
|
358
|
+
(0, swagger_1.ApiProperty)({
|
|
359
|
+
description: 'Category of the event.',
|
|
360
|
+
enum: event_category_enum_1.EventCategory,
|
|
361
|
+
enumName: 'EventCategory',
|
|
362
|
+
}),
|
|
363
|
+
__metadata("design:type", String)
|
|
364
|
+
], EventProfileDoc.prototype, "category", void 0);
|
|
365
|
+
__decorate([
|
|
366
|
+
(0, swagger_1.ApiProperty)({
|
|
367
|
+
description: 'Subcategory of the event.',
|
|
368
|
+
enum: event_category_enum_1.EventSubCategory,
|
|
369
|
+
enumName: 'EventSubCategory',
|
|
370
|
+
required: false,
|
|
371
|
+
}),
|
|
372
|
+
__metadata("design:type", String)
|
|
373
|
+
], EventProfileDoc.prototype, "subCategory", void 0);
|
|
374
|
+
__decorate([
|
|
375
|
+
(0, swagger_1.ApiProperty)({
|
|
376
|
+
description: 'URL to the background image in Azure storage, optional.',
|
|
377
|
+
required: false,
|
|
378
|
+
}),
|
|
379
|
+
__metadata("design:type", String)
|
|
380
|
+
], EventProfileDoc.prototype, "background", void 0);
|
|
381
|
+
__decorate([
|
|
382
|
+
(0, swagger_1.ApiProperty)({
|
|
383
|
+
description: 'Registration details such as visibility, max capacity, and ticket limits.',
|
|
384
|
+
type: () => RegistrationType,
|
|
385
|
+
}),
|
|
386
|
+
__metadata("design:type", RegistrationType)
|
|
387
|
+
], EventProfileDoc.prototype, "registration", void 0);
|
|
388
|
+
__decorate([
|
|
389
|
+
(0, swagger_1.ApiProperty)({
|
|
390
|
+
description: 'Event premium features',
|
|
391
|
+
type: () => PremiumType,
|
|
392
|
+
}),
|
|
393
|
+
__metadata("design:type", PremiumType)
|
|
394
|
+
], EventProfileDoc.prototype, "premium", void 0);
|
|
395
|
+
__decorate([
|
|
396
|
+
(0, swagger_1.ApiProperty)({
|
|
397
|
+
description: 'The address of the contract that manages the event.',
|
|
398
|
+
required: false,
|
|
399
|
+
}),
|
|
400
|
+
__metadata("design:type", String)
|
|
401
|
+
], EventProfileDoc.prototype, "contractAddress", void 0);
|
|
402
|
+
__decorate([
|
|
403
|
+
(0, swagger_1.ApiProperty)({
|
|
404
|
+
description: 'The NFT collection the event is associated with.',
|
|
405
|
+
required: false,
|
|
406
|
+
}),
|
|
407
|
+
__metadata("design:type", String)
|
|
408
|
+
], EventProfileDoc.prototype, "collection", void 0);
|
|
409
|
+
__decorate([
|
|
410
|
+
(0, swagger_1.ApiProperty)({
|
|
411
|
+
type: event_profile_create_dto_1.EventSeoDto,
|
|
412
|
+
example: {},
|
|
413
|
+
required: false,
|
|
414
|
+
description: 'SEO-related information such as short description, tags, and alternative title.',
|
|
415
|
+
}),
|
|
416
|
+
__metadata("design:type", event_profile_create_dto_1.EventSeoDto)
|
|
417
|
+
], EventProfileDoc.prototype, "seo", void 0);
|
|
418
|
+
__decorate([
|
|
419
|
+
(0, swagger_1.ApiProperty)({
|
|
420
|
+
description: 'Automatically generated unique identifier for the event.',
|
|
421
|
+
}),
|
|
422
|
+
__metadata("design:type", String)
|
|
423
|
+
], EventProfileDoc.prototype, "id", void 0);
|
|
424
|
+
__decorate([
|
|
425
|
+
(0, swagger_1.ApiProperty)({
|
|
426
|
+
description: 'Permissions for the event.',
|
|
427
|
+
required: false,
|
|
428
|
+
type: () => event_user_role_doc_1.EventUserRoleDoc,
|
|
429
|
+
}),
|
|
430
|
+
__metadata("design:type", Object)
|
|
431
|
+
], EventProfileDoc.prototype, "eventPermissions", void 0);
|
|
432
|
+
__decorate([
|
|
433
|
+
(0, class_validator_1.IsInt)(),
|
|
434
|
+
__metadata("design:type", Number)
|
|
435
|
+
], EventProfileDoc.prototype, "_ts", void 0);
|
|
436
|
+
// Define a class for the startsFrom object
|
|
437
|
+
class EventStartPrice {
|
|
438
|
+
}
|
|
439
|
+
exports.EventStartPrice = EventStartPrice;
|
|
440
|
+
__decorate([
|
|
441
|
+
(0, swagger_1.ApiProperty)({
|
|
442
|
+
type: 'number',
|
|
443
|
+
description: 'Starting price of the event ticket.',
|
|
444
|
+
}),
|
|
445
|
+
(0, class_validator_1.IsNumber)(),
|
|
446
|
+
__metadata("design:type", Number)
|
|
447
|
+
], EventStartPrice.prototype, "price", void 0);
|
|
448
|
+
__decorate([
|
|
449
|
+
(0, swagger_1.ApiProperty)({
|
|
450
|
+
type: 'string',
|
|
451
|
+
description: 'Currency of the price.',
|
|
452
|
+
example: 'USD',
|
|
453
|
+
}),
|
|
454
|
+
(0, class_validator_1.IsString)(),
|
|
455
|
+
__metadata("design:type", String)
|
|
456
|
+
], EventStartPrice.prototype, "currency", void 0);
|
|
457
|
+
class EventProfile extends EventProfileDoc {
|
|
458
|
+
}
|
|
459
|
+
exports.EventProfile = EventProfile;
|
|
460
|
+
__decorate([
|
|
461
|
+
(0, swagger_1.ApiProperty)({
|
|
462
|
+
description: 'Creator profile data including name, profile, and herotag.',
|
|
463
|
+
type: () => types_1.CreatorProfileDoc,
|
|
464
|
+
required: false,
|
|
465
|
+
}),
|
|
466
|
+
__metadata("design:type", typeof (_a = typeof types_1.CreatorProfileDoc !== "undefined" && types_1.CreatorProfileDoc) === "function" ? _a : Object)
|
|
467
|
+
], EventProfile.prototype, "creatorProfile", void 0);
|
|
468
|
+
__decorate([
|
|
469
|
+
(0, swagger_1.ApiProperty)({
|
|
470
|
+
description: 'Summary of the guests attending the event.',
|
|
471
|
+
required: false,
|
|
472
|
+
type: () => EventGuestSummary,
|
|
473
|
+
}),
|
|
474
|
+
__metadata("design:type", EventGuestSummary)
|
|
475
|
+
], EventProfile.prototype, "guestSummary", void 0);
|
|
476
|
+
__decorate([
|
|
477
|
+
(0, swagger_1.ApiProperty)({
|
|
478
|
+
description: 'The starting price of the event, if applicable.',
|
|
479
|
+
required: false,
|
|
480
|
+
type: () => EventStartPrice, // Use the new class here
|
|
481
|
+
}),
|
|
482
|
+
__metadata("design:type", EventStartPrice)
|
|
483
|
+
], EventProfile.prototype, "startsFrom", void 0);
|
|
484
|
+
__decorate([
|
|
485
|
+
(0, swagger_1.ApiProperty)({
|
|
486
|
+
description: 'The guest profile of the user.',
|
|
487
|
+
required: false,
|
|
488
|
+
type: () => event_guest_doc_1.EventGuestDoc,
|
|
489
|
+
}),
|
|
490
|
+
__metadata("design:type", event_guest_doc_1.EventGuestDoc)
|
|
491
|
+
], EventProfile.prototype, "guestProfile", void 0);
|
|
492
|
+
class EventProfileQuery extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(EventProfile) {
|
|
493
|
+
}
|
|
494
|
+
exports.EventProfileQuery = EventProfileQuery;
|
|
495
|
+
class MyEvents {
|
|
496
|
+
}
|
|
497
|
+
exports.MyEvents = MyEvents;
|
|
498
|
+
__decorate([
|
|
499
|
+
(0, swagger_1.ApiProperty)({
|
|
500
|
+
description: 'The number of tickets the user has for the event.',
|
|
501
|
+
example: 1,
|
|
502
|
+
type: 'integer',
|
|
503
|
+
}),
|
|
504
|
+
(0, class_validator_1.IsInt)(),
|
|
505
|
+
__metadata("design:type", Number)
|
|
506
|
+
], MyEvents.prototype, "ticketCount", void 0);
|
|
507
|
+
__decorate([
|
|
508
|
+
(0, swagger_1.ApiProperty)({
|
|
509
|
+
description: 'The status of the user for the event.',
|
|
510
|
+
type: String,
|
|
511
|
+
enum: event_guest_status_enum_1.EventGuestStatus,
|
|
512
|
+
enumName: 'EventGuestStatus',
|
|
513
|
+
}),
|
|
514
|
+
__metadata("design:type", String)
|
|
515
|
+
], MyEvents.prototype, "status", void 0);
|
|
516
|
+
__decorate([
|
|
517
|
+
(0, swagger_1.ApiProperty)({
|
|
518
|
+
description: 'The event profile.',
|
|
519
|
+
type: () => EventProfile,
|
|
520
|
+
}),
|
|
521
|
+
__metadata("design:type", EventProfile)
|
|
522
|
+
], MyEvents.prototype, "eventProfile", void 0);
|
|
523
|
+
class GetMyEventsQuery extends (0, cosmos_db_paginated_response_dto_1.createCosmosPaginatedResponse)(MyEvents) {
|
|
524
|
+
}
|
|
525
|
+
exports.GetMyEventsQuery = GetMyEventsQuery;
|
|
526
|
+
class BageQRData {
|
|
527
|
+
}
|
|
528
|
+
exports.BageQRData = BageQRData;
|
|
529
|
+
__decorate([
|
|
530
|
+
(0, swagger_1.ApiProperty)({
|
|
531
|
+
description: 'The type of the QR code.',
|
|
532
|
+
example: 'badge',
|
|
533
|
+
enum: event_ticket_qr_type_enum_1.EventTicketQrType,
|
|
534
|
+
enumName: 'EventTicketQrType',
|
|
535
|
+
}),
|
|
536
|
+
__metadata("design:type", String)
|
|
537
|
+
], BageQRData.prototype, "type", void 0);
|
|
538
|
+
__decorate([
|
|
539
|
+
(0, swagger_1.ApiProperty)({
|
|
540
|
+
description: 'The data of the QR code.',
|
|
541
|
+
example: 'base64',
|
|
542
|
+
}),
|
|
543
|
+
__metadata("design:type", String)
|
|
544
|
+
], BageQRData.prototype, "data", void 0);
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.EventQuestionAnswerType = void 0;
|
|
4
|
+
var EventQuestionAnswerType;
|
|
5
|
+
(function (EventQuestionAnswerType) {
|
|
6
|
+
EventQuestionAnswerType["TEXT"] = "text";
|
|
7
|
+
EventQuestionAnswerType["TEXTAREA"] = "textarea";
|
|
8
|
+
EventQuestionAnswerType["RADIO"] = "radio";
|
|
9
|
+
EventQuestionAnswerType["DROPDOWN"] = "dropdown";
|
|
10
|
+
EventQuestionAnswerType["CHECKBOX"] = "checkbox";
|
|
11
|
+
EventQuestionAnswerType["TIME"] = "time";
|
|
12
|
+
EventQuestionAnswerType["DATE"] = "date";
|
|
13
|
+
})(EventQuestionAnswerType || (exports.EventQuestionAnswerType = EventQuestionAnswerType = {}));
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { EventQuestionDoc } from './event-question.doc';
|
|
2
|
+
import { TicketingDataType } from './ticketing-data-type.enum';
|
|
3
|
+
export declare class EventGuestAnswerDoc {
|
|
4
|
+
dataType: TicketingDataType;
|
|
5
|
+
id: string;
|
|
6
|
+
wallet: string;
|
|
7
|
+
questionId: string;
|
|
8
|
+
eventId: string;
|
|
9
|
+
answer: string | string[];
|
|
10
|
+
createdAt: number;
|
|
11
|
+
ttl?: number;
|
|
12
|
+
pk: string;
|
|
13
|
+
constructor(partial: Partial<EventGuestAnswerDoc>);
|
|
14
|
+
static create(data: Omit<EventGuestAnswerDoc, 'id' | 'dataType' | 'createdAt' | 'pk'>): EventGuestAnswerDoc;
|
|
15
|
+
}
|
|
16
|
+
declare const EventQuestionAnswerDto_base: import("@nestjs/common").Type<Pick<EventGuestAnswerDoc, "questionId" | "answer">>;
|
|
17
|
+
export declare class EventQuestionAnswerDto extends EventQuestionAnswerDto_base {
|
|
18
|
+
}
|
|
19
|
+
export declare class AnsweredQuestionWithDetails {
|
|
20
|
+
answer?: EventGuestAnswerDoc;
|
|
21
|
+
question?: EventQuestionDoc;
|
|
22
|
+
}
|
|
23
|
+
export {};
|