@xoxno/types 1.0.84 → 1.0.87
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 +1 -1
- package/dist/common/kusto/wallet-stats.d.ts +1 -1
- package/dist/common/kusto/wallet-stats.js +2 -2
- package/dist/cosmos-db/documents/activity/nft-activity.doc.d.ts +3 -3
- package/dist/cosmos-db/documents/activity/nft-activity.doc.js +7 -7
- package/dist/cosmos-db/documents/chat/chat-message-content.dto.js +1 -1
- package/dist/cosmos-db/documents/chat/chat-message.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/chat/chat-message.doc.js +1 -1
- package/dist/cosmos-db/documents/chat/group-chat-profile.doc.js +1 -1
- package/dist/cosmos-db/documents/chat/user-block.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/chat/user-block.doc.js +1 -1
- package/dist/cosmos-db/documents/chat/user-conversation.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/chat/user-conversation.doc.js +1 -1
- package/dist/cosmos-db/documents/collection/globalOffer.d.ts +2 -2
- package/dist/cosmos-db/documents/collection/globalOffer.js +8 -8
- package/dist/cosmos-db/documents/collection/mintProfile.d.ts +10 -3
- package/dist/cosmos-db/documents/collection/mintProfile.js +4 -4
- package/dist/cosmos-db/documents/collection/profile.d.ts +2 -2
- package/dist/cosmos-db/documents/collection/profile.js +12 -12
- package/dist/cosmos-db/documents/collection/stats.d.ts +1 -1
- package/dist/cosmos-db/documents/collection/stats.js +7 -7
- package/dist/cosmos-db/documents/collection/verification.d.ts +1 -1
- package/dist/cosmos-db/documents/collection/verification.js +4 -4
- package/dist/cosmos-db/documents/external-payment/binance-hook.d.ts +1 -11
- package/dist/cosmos-db/documents/external-payment/binance-hook.js +0 -14
- package/dist/cosmos-db/documents/external-payment/external-payment-request.d.ts +2 -2
- package/dist/cosmos-db/documents/external-payment/external-payment-request.js +2 -2
- package/dist/cosmos-db/documents/external-payment/external-payment.doc.d.ts +3 -3
- package/dist/cosmos-db/documents/external-payment/twispay-cart.d.ts +1 -4
- package/dist/cosmos-db/documents/external-payment/twispay-cart.js +0 -6
- package/dist/cosmos-db/documents/external-payment/twispay-payment-form.d.ts +1 -1
- package/dist/cosmos-db/documents/external-payment/twispay-transaction.d.ts +1 -35
- package/dist/cosmos-db/documents/external-payment/twispay-transaction.js +0 -41
- package/dist/cosmos-db/documents/lending/lending-account-profile.d.ts +1 -1
- package/dist/cosmos-db/documents/lending/lending-account-profile.js +4 -4
- package/dist/cosmos-db/documents/lending/lending-emode-category-profile.doc.d.ts +5 -3
- package/dist/cosmos-db/documents/lending/lending-emode-category-profile.doc.js +1 -1
- package/dist/cosmos-db/documents/lending/lending-market-profile.doc.js +1 -1
- package/dist/cosmos-db/documents/lending/lending-nft-attributes.d.ts +1 -7
- package/dist/cosmos-db/documents/lending/lending-nft-attributes.js +1 -9
- package/dist/cosmos-db/documents/lending/lending-token-emode-profile.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/lending/lending-token-emode-profile.doc.js +1 -1
- package/dist/cosmos-db/documents/notification/notification.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/notification/notification.doc.js +1 -1
- package/dist/cosmos-db/documents/staking/staking-delegator-doc.d.ts +1 -1
- package/dist/cosmos-db/documents/staking/staking-delegator-doc.js +1 -1
- package/dist/cosmos-db/documents/staking/staking-pool-doc.d.ts +3 -3
- package/dist/cosmos-db/documents/staking/staking-pool-doc.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-guest-doc.filter.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-guest-doc.filter.js +2 -2
- package/dist/cosmos-db/documents/ticketing/event-guest.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/ticketing/event-guest.doc.js +2 -2
- package/dist/cosmos-db/documents/ticketing/event-invitation-doc.filter.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-invitation-doc.filter.js +2 -2
- package/dist/cosmos-db/documents/ticketing/event-invitation.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/ticketing/event-invitation.doc.js +2 -2
- package/dist/cosmos-db/documents/ticketing/event-profile-create.dto.d.ts +2 -5
- package/dist/cosmos-db/documents/ticketing/event-profile-create.dto.js +5 -9
- package/dist/cosmos-db/documents/ticketing/event-profile-doc.filter.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-profile-edit.dto.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-profile-edit.dto.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-profile.doc.d.ts +5 -5
- package/dist/cosmos-db/documents/ticketing/event-profile.doc.js +7 -7
- package/dist/cosmos-db/documents/ticketing/event-question-answer.doc.d.ts +5 -3
- package/dist/cosmos-db/documents/ticketing/event-question-answer.doc.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-question-create.dto.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-question-create.dto.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-question-edit.dto.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-question-edit.dto.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-question-validator.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-question.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/ticketing/event-question.doc.js +2 -2
- package/dist/cosmos-db/documents/ticketing/event-referral-config-create.dto.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-referral-config-create.dto.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-referral-config-edit.dto.d.ts +4 -2
- package/dist/cosmos-db/documents/ticketing/event-referral-config-filter.doc.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-referral-config.doc.d.ts +1 -5
- package/dist/cosmos-db/documents/ticketing/event-referral-config.doc.js +4 -8
- package/dist/cosmos-db/documents/ticketing/event-referral-filter.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-referral-filter.doc.js +2 -2
- package/dist/cosmos-db/documents/ticketing/event-referral-usage.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-referral-usage.doc.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-referral.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-referral.doc.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-registration.dto.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-registration.dto.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-stage-profile-edit.dto.d.ts +8 -2
- package/dist/cosmos-db/documents/ticketing/event-stage-profile.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-stage-profile.doc.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile-edit.dto.d.ts +7 -2
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile.doc.d.ts +8 -3
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile.doc.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.d.ts +2 -7
- package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.js +6 -12
- package/dist/cosmos-db/documents/ticketing/event-user-role-create.dto.d.ts +1 -1
- package/dist/cosmos-db/documents/ticketing/event-user-role-create.dto.js +1 -1
- package/dist/cosmos-db/documents/ticketing/event-user-role.doc.d.ts +2 -5
- package/dist/cosmos-db/documents/ticketing/event-user-role.doc.js +5 -9
- package/dist/cosmos-db/documents/ticketing/event-voucher-create.dto.d.ts +17 -3
- package/dist/cosmos-db/documents/ticketing/event-voucher-create.dto.js +3 -2
- package/dist/cosmos-db/documents/ticketing/event-voucher-edit.dto.d.ts +8 -2
- package/dist/cosmos-db/documents/ticketing/event-voucher-filter.doc.d.ts +2 -1
- package/dist/cosmos-db/documents/ticketing/event-voucher-filter.doc.js +4 -4
- package/dist/cosmos-db/documents/ticketing/event-voucher.doc.d.ts +2 -5
- package/dist/cosmos-db/documents/ticketing/event-voucher.doc.js +4 -8
- package/dist/cosmos-db/documents/token/nft-details.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/token/nft-details.doc.js +7 -7
- package/dist/cosmos-db/documents/token/nft-extra-metadata.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/token/nft-extra-metadata.doc.js +1 -1
- package/dist/cosmos-db/documents/token/nft-offer.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/token/nft-offer.doc.js +5 -5
- package/dist/cosmos-db/documents/token/nft-sale-info.d.ts +1 -1
- package/dist/cosmos-db/documents/token/nft-sale-info.js +4 -4
- package/dist/cosmos-db/documents/token/sft-owner-doc.js +4 -4
- package/dist/cosmos-db/documents/user/user-creator-profile.doc.d.ts +1 -1
- package/dist/cosmos-db/documents/user/user-creator-profile.doc.js +3 -3
- package/dist/cosmos-db/documents/user/user-favorite.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/user/user-favorite.doc.js +3 -3
- package/dist/cosmos-db/documents/user/user-profile.doc.d.ts +2 -2
- package/dist/cosmos-db/documents/user/user-profile.doc.js +6 -6
- package/dist/cosmos-db/documents/user/user-settings.doc.d.ts +1 -9
- package/dist/cosmos-db/documents/user/user-settings.doc.js +3 -12
- package/dist/entities/bober-battle/game-type.d.ts +1 -1
- package/dist/entities/notification-data/device-tag-storage.doc.js +1 -1
- package/dist/entities/notification-data/mobile-device-registration.dto.d.ts +1 -1
- package/dist/entities/notification-data/mobile-device-registration.dto.js +4 -4
- package/dist/entities/notification-data/mobile-device.doc.d.ts +1 -4
- package/dist/entities/notification-data/mobile-device.doc.js +4 -8
- package/dist/entities/notification-data/notification-template.d.ts +1 -9
- package/dist/entities/notification-data/notification-template.js +10 -19
- package/dist/entities/notification-data/push-notification.doc.d.ts +1 -17
- package/dist/entities/notification-data/push-notification.doc.js +7 -25
- package/dist/entities/notification-data/tag-priority.d.ts +1 -15
- package/dist/entities/notification-data/tag-priority.js +14 -30
- package/dist/entities/search-data/collection-data-search.type.d.ts +1 -1
- package/dist/entities/search-data/filter-query.dto.d.ts +1 -1
- package/dist/entities/search-data/search.dto.d.ts +1 -1
- package/dist/entities/search-data/search.dto.js +5 -5
- package/dist/entities/staking-data/staking-creator.doc.d.ts +1 -1
- package/dist/entities/staking-data/staking-creator.doc.js +1 -1
- package/dist/entities/staking-data/staking-summary.dto.d.ts +4 -2
- package/dist/entities/token-data/metrics.d.ts +4 -0
- package/dist/entities/transactions/transaction-process-status.d.ts +1 -1
- package/dist/entities/transactions/transaction-process-status.js +3 -3
- package/dist/entities/transactions/transaction-send-result.d.ts +5 -3
- package/dist/entities/transactions/transaction-send-result.js +3 -3
- package/dist/entities/web2user-data/web2user-account.d.ts +1 -1
- package/dist/entities/web2user-data/web2user-account.dto.d.ts +1 -1
- package/dist/entities/web2user-data/web2user-account.dto.js +1 -1
- package/dist/entities/web2user-data/web2user-account.js +1 -1
- package/dist/entities/web2user-data/web2user-wallet.d.ts +2 -2
- package/dist/entities/web2user-data/web2user-wallet.dto.d.ts +2 -2
- package/dist/entities/web2user-data/web2user-wallet.dto.js +2 -2
- package/dist/entities/web2user-data/web2user-wallet.js +2 -2
- package/dist/entities/xoxno-liquid-egld-sc/provider.dto.d.ts +15 -0
- package/dist/entities/xoxno-liquid-egld-sc/{xoxno-egld-liquid-sc-event-name.enum.js → provider.dto.js} +1 -11
- package/dist/{cosmos-db/documents/external-payment/binance-request.d.ts → enums/binance.enum.d.ts} +11 -0
- package/dist/{cosmos-db/documents/external-payment/binance-request.js → enums/binance.enum.js} +14 -1
- package/dist/enums/bober-battle-activity.enum.js +16 -0
- package/dist/enums/event-referral-config.doc.d.ts +4 -0
- package/dist/enums/event-referral-config.doc.js +8 -0
- package/dist/enums/event-user-role.doc.d.ts +4 -0
- package/dist/enums/event-user-role.doc.js +8 -0
- package/dist/enums/external-payment-status.enum.d.ts +12 -0
- package/dist/{cosmos-db/documents/external-payment → enums}/external-payment-status.enum.js +6 -11
- package/dist/{entities/token-data → enums}/fiat-tokens.enum.d.ts +0 -4
- package/dist/{common/kusto → enums}/kusto-db.enum.d.ts +4 -0
- package/dist/{common/kusto → enums}/kusto-db.enum.js +6 -1
- package/dist/enums/lending.enum.d.ts +7 -0
- package/dist/enums/lending.enum.js +11 -0
- package/dist/enums/mobile-device.enum.d.ts +4 -0
- package/dist/enums/mobile-device.enum.js +8 -0
- package/dist/enums/notification-template.enum.d.ts +9 -0
- package/dist/enums/notification-template.enum.js +13 -0
- package/dist/enums/purchase-type.enum.d.ts +6 -0
- package/dist/{cosmos-db/documents/external-payment → enums}/purchase-type.enum.js +0 -8
- package/dist/enums/push-notification.enum.d.ts +17 -0
- package/dist/enums/push-notification.enum.js +22 -0
- package/dist/enums/tag-priority.enum.d.ts +15 -0
- package/dist/enums/tag-priority.enum.js +20 -0
- package/dist/enums/ticketing-visibility.enum.d.ts +10 -0
- package/dist/enums/ticketing-visibility.enum.js +15 -0
- package/dist/enums/twispay.enum.d.ts +35 -0
- package/dist/enums/twispay.enum.js +43 -0
- package/dist/enums/user-settings.enum.d.ts +8 -0
- package/dist/enums/user-settings.enum.js +12 -0
- package/dist/enums/voucher-type.enum.d.ts +4 -0
- package/dist/enums/voucher-type.enum.js +8 -0
- package/dist/{entities/xoxno-liquid-egld-sc/xoxno-egld-liquid-sc-event-name.enum.d.ts → enums/xoxno-egld-liquid-sc.enum.d.ts} +0 -15
- package/dist/enums/xoxno-egld-liquid-sc.enum.js +13 -0
- package/dist/index.d.ts +266 -5545
- package/dist/index.js +61 -50
- package/dist/requests/collection/collection-info.dto.d.ts +6 -2
- package/dist/requests/collection/collection-mint-profile.filter.d.ts +2 -2
- package/dist/requests/collection/collection-mint-profile.filter.js +4 -4
- package/dist/requests/collection/collection-offers.filter.d.ts +1 -1
- package/dist/requests/collection/collection-offers.filter.js +4 -4
- package/dist/requests/collection/collection-profile.filter.d.ts +2 -2
- package/dist/requests/collection/collection-profile.filter.js +4 -4
- package/dist/requests/collection/collection-stats.filter.d.ts +2 -2
- package/dist/requests/collection/collection-stats.filter.js +6 -6
- package/dist/requests/collection/collections.d.ts +4 -2
- package/dist/requests/lending/lending-market-profile.filter.js +1 -1
- package/dist/requests/nft-activity-data/nft-activity-data.d.ts +1 -1
- package/dist/requests/nft-activity-data/nft-activity.filter.d.ts +3 -3
- package/dist/requests/nft-activity-data/nft-activity.filter.js +4 -4
- package/dist/requests/nft-data/nft-doc.filter.d.ts +2 -2
- package/dist/requests/nft-data/nft-doc.filter.js +3 -3
- package/dist/requests/nft-data/nft-offer-doc.filter.js +1 -1
- package/dist/requests/user-data/creator-profile.dto.d.ts +4 -2
- package/dist/requests/user-data/me-profile.d.ts +4 -2
- package/dist/requests/user-data/token-inventory.d.ts +1 -1
- package/dist/utils/types.d.ts +1 -1
- package/package.json +2 -2
- package/dist/common/kusto/order-direction.enum.d.ts +0 -4
- package/dist/common/kusto/order-direction.enum.js +0 -8
- package/dist/cosmos-db/documents/external-payment/external-payment-status.enum.d.ts +0 -18
- package/dist/cosmos-db/documents/external-payment/purchase-type.enum.d.ts +0 -14
- package/dist/requests/nft-activity-data/bober-battle-activity.enum.js +0 -85
- /package/dist/{entities/auth → enums}/auth-strategy.enum.d.ts +0 -0
- /package/dist/{entities/auth → enums}/auth-strategy.enum.js +0 -0
- /package/dist/{requests/chat → enums}/azure-ws-event-name.enum.d.ts +0 -0
- /package/dist/{requests/chat → enums}/azure-ws-event-name.enum.js +0 -0
- /package/dist/{requests/chat → enums}/azure-ws-hub-name.enum.d.ts +0 -0
- /package/dist/{requests/chat → enums}/azure-ws-hub-name.enum.js +0 -0
- /package/dist/{requests/nft-activity-data → enums}/bober-battle-activity.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/chat → enums}/chat-data-type.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/chat → enums}/chat-data-type.enum.js +0 -0
- /package/dist/{cosmos-db/documents/chat → enums}/chat-message-content-type.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/chat → enums}/chat-message-content-type.enum.js +0 -0
- /package/dist/{cosmos-db/documents/collection/dataTypes.d.ts → enums/collection.enum.d.ts} +0 -0
- /package/dist/{cosmos-db/documents/collection/dataTypes.js → enums/collection.enum.js} +0 -0
- /package/dist/{common/enums.d.ts → enums/common.enum.d.ts} +0 -0
- /package/dist/{common/enums.js → enums/common.enum.js} +0 -0
- /package/dist/{cosmos-db → enums}/cosmos-db-container.enum.d.ts +0 -0
- /package/dist/{cosmos-db → enums}/cosmos-db-container.enum.js +0 -0
- /package/dist/{cosmos-db/documents/ticketing → enums}/event-category.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/ticketing → enums}/event-category.enum.js +0 -0
- /package/dist/{cosmos-db/documents/ticketing → enums}/event-guest-status.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/ticketing → enums}/event-guest-status.enum.js +0 -0
- /package/dist/{cosmos-db/documents/ticketing → enums}/event-invitation-status.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/ticketing → enums}/event-invitation-status.enum.js +0 -0
- /package/dist/{cosmos-db/documents/ticketing → enums}/event-question-answer-type.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/ticketing → enums}/event-question-answer-type.enum.js +0 -0
- /package/dist/{cosmos-db/documents/ticketing → enums}/event-scan-status.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/ticketing → enums}/event-scan-status.enum.js +0 -0
- /package/dist/{requests/nft-activity-data → enums}/event-source.enum.d.ts +0 -0
- /package/dist/{requests/nft-activity-data → enums}/event-source.enum.js +0 -0
- /package/dist/{cosmos-db/documents/ticketing → enums}/event-user-roles.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/ticketing → enums}/event-user-roles.enum.js +0 -0
- /package/dist/{entities/token-data → enums}/fiat-tokens.enum.js +0 -0
- /package/dist/{cosmos-db/documents/lending → enums}/lending-data-type.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/lending → enums}/lending-data-type.enum.js +0 -0
- /package/dist/{cosmos-db/documents/lending → enums}/lending-position-type.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/lending → enums}/lending-position-type.enum.js +0 -0
- /package/dist/{entities/web2user-data → enums}/linked-account-type.enum.d.ts +0 -0
- /package/dist/{entities/web2user-data → enums}/linked-account-type.enum.js +0 -0
- /package/dist/{requests/nft-activity-data → enums}/marketplace-activity.enum.d.ts +0 -0
- /package/dist/{requests/nft-activity-data → enums}/marketplace-activity.enum.js +0 -0
- /package/dist/{requests/nft-activity-data → enums}/nft-activity-type.enum.d.ts +0 -0
- /package/dist/{requests/nft-activity-data → enums}/nft-activity-type.enum.js +0 -0
- /package/dist/{requests/nft-data/nft-extra-attributes.type.d.ts → enums/nft-extra-attributes.enum.d.ts} +0 -0
- /package/dist/{requests/nft-data/nft-extra-attributes.type.js → enums/nft-extra-attributes.enum.js} +0 -0
- /package/dist/{cosmos-db/documents/notification → enums}/notification-asset-type.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/notification → enums}/notification-asset-type.enum.js +0 -0
- /package/dist/{cosmos-db/documents/notification → enums}/notification-data-type.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/notification → enums}/notification-data-type.enum.js +0 -0
- /package/dist/{requests/nft-data/offers.d.ts → enums/offers.enum.d.ts} +0 -0
- /package/dist/{requests/nft-data/offers.js → enums/offers.enum.js} +0 -0
- /package/dist/{common/kusto → enums}/order-by-column.enum.d.ts +0 -0
- /package/dist/{common/kusto → enums}/order-by-column.enum.js +0 -0
- /package/dist/{cosmos-db/documents/external-payment → enums}/payment-provider.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/external-payment → enums}/payment-provider.enum.js +0 -0
- /package/dist/{entities/auth → enums}/role.enum.d.ts +0 -0
- /package/dist/{entities/auth → enums}/role.enum.js +0 -0
- /package/dist/{entities/search-data → enums}/search-index-name.enum.d.ts +0 -0
- /package/dist/{entities/search-data → enums}/search-index-name.enum.js +0 -0
- /package/dist/{entities/staking-data → enums}/staking-data-type.enum.d.ts +0 -0
- /package/dist/{entities/staking-data → enums}/staking-data-type.enum.js +0 -0
- /package/dist/{entities/staking-data → enums}/staking-issuing-type-string.enum.d.ts +0 -0
- /package/dist/{entities/staking-data → enums}/staking-issuing-type-string.enum.js +0 -0
- /package/dist/{entities/staking-data → enums}/staking-pool-type-string.enum.d.ts +0 -0
- /package/dist/{entities/staking-data → enums}/staking-pool-type-string.enum.js +0 -0
- /package/dist/{entities/staking-data → enums}/staking-status-string.enum.d.ts +0 -0
- /package/dist/{entities/staking-data → enums}/staking-status-string.enum.js +0 -0
- /package/dist/{cosmos-db/documents/ticketing → enums}/ticketing-data-type.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/ticketing → enums}/ticketing-data-type.enum.js +0 -0
- /package/dist/{entities/token-data → enums}/token-category.enum.d.ts +0 -0
- /package/dist/{entities/token-data → enums}/token-category.enum.js +0 -0
- /package/dist/{cosmos-db/documents/token → enums}/token-data.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/token → enums}/token-data.enum.js +0 -0
- /package/dist/{entities/transactions/transaction.status.d.ts → enums/transaction-status.enum.d.ts} +0 -0
- /package/dist/{entities/transactions/transaction.status.js → enums/transaction-status.enum.js} +0 -0
- /package/dist/{cosmos-db/documents/user/user-data.type.d.ts → enums/user-data-type.enum.d.ts} +0 -0
- /package/dist/{cosmos-db/documents/user/user-data.type.js → enums/user-data-type.enum.js} +0 -0
- /package/dist/{cosmos-db/documents/user → enums}/user-favorite-type.enum.d.ts +0 -0
- /package/dist/{cosmos-db/documents/user → enums}/user-favorite-type.enum.js +0 -0
- /package/dist/{entities/web2user-data → enums}/wallet-client-type.enum.d.ts +0 -0
- /package/dist/{entities/web2user-data → enums}/wallet-client-type.enum.js +0 -0
- /package/dist/{entities/xoxno-marketplace-sc → enums}/xoxno-auction-type.enum.d.ts +0 -0
- /package/dist/{entities/xoxno-marketplace-sc → enums}/xoxno-auction-type.enum.js +0 -0
- /package/dist/{requests/nft-activity-data → enums}/xoxno-egld-ls-activity.enum.d.ts +0 -0
- /package/dist/{requests/nft-activity-data → enums}/xoxno-egld-ls-activity.enum.js +0 -0
- /package/dist/{requests/nft-activity-data → enums}/xoxno-ls-activity.enum.d.ts +0 -0
- /package/dist/{requests/nft-activity-data → enums}/xoxno-ls-activity.enum.js +0 -0
|
@@ -13,8 +13,8 @@ exports.EventReferralFilter = exports.EventReferralFilterCriteriaDto = void 0;
|
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
|
-
const event_referral_config_doc_1 = require("
|
|
17
|
-
const ticketing_data_type_enum_1 = require("
|
|
16
|
+
const event_referral_config_doc_1 = require("../../../enums/event-referral-config.doc");
|
|
17
|
+
const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
|
|
18
18
|
const cosmos_db_generic_filter_1 = require("../../cosmos-db-generic-filter");
|
|
19
19
|
class EventReferralFilterCriteriaDto {
|
|
20
20
|
}
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.EventReferralUsageDoc = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const uuid_1 = require("uuid");
|
|
15
|
-
const ticketing_data_type_enum_1 = require("
|
|
15
|
+
const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
|
|
16
16
|
class EventReferralUsageDoc {
|
|
17
17
|
constructor(props) {
|
|
18
18
|
this.dataType = ticketing_data_type_enum_1.TicketingDataType.REFERRAL_USAGE;
|
|
@@ -13,7 +13,7 @@ exports.EventReferralDoc = void 0;
|
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const uuid_1 = require("uuid");
|
|
16
|
-
const ticketing_data_type_enum_1 = require("
|
|
16
|
+
const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
|
|
17
17
|
class EventReferralDoc {
|
|
18
18
|
constructor(props) {
|
|
19
19
|
this.dataType = ticketing_data_type_enum_1.TicketingDataType.REFERRAL_CODE;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventGuestDoc } from './event-guest.doc';
|
|
2
|
-
import { PaymentProvider } from '
|
|
2
|
+
import { PaymentProvider } from '../../../enums/payment-provider.enum';
|
|
3
3
|
declare class TwispayPaymentFormData {
|
|
4
4
|
base64JsonRequest: string;
|
|
5
5
|
base64Checksum: PromiseLike<ArrayBuffer>;
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.EventRegistrationResponseDto = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const event_guest_doc_1 = require("./event-guest.doc");
|
|
15
|
-
const payment_provider_enum_1 = require("
|
|
15
|
+
const payment_provider_enum_1 = require("../../../enums/payment-provider.enum");
|
|
16
16
|
class TwispayPaymentFormData {
|
|
17
17
|
}
|
|
18
18
|
__decorate([
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { EventStageProfileCreateDto } from './event-stage-profile-create.dto';
|
|
2
|
-
declare
|
|
3
|
-
export declare
|
|
2
|
+
declare type EventStageProfileEditDto_base = Pick<EventStageProfileCreateDto, "isWhitelist" | "prices" | "maxLimit" | "userLimit" | "isEnabled" | "requiredApproval">;
|
|
3
|
+
export declare type EventStageProfileEditDto = EventStageProfileEditDto_base & {
|
|
4
|
+
name: string;
|
|
5
|
+
startTime: number;
|
|
6
|
+
endTime: number;
|
|
7
|
+
};
|
|
8
|
+
declare const EventStageProfileEditDtoNest_base: import("@nestjs/common").Type<Pick<EventStageProfileCreateDto, "isWhitelist" | "prices" | "maxLimit" | "userLimit" | "isEnabled" | "requiredApproval">>;
|
|
9
|
+
export declare class EventStageProfileEditDtoNest extends EventStageProfileEditDtoNest_base {
|
|
4
10
|
name: string;
|
|
5
11
|
startTime: number;
|
|
6
12
|
endTime: number;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TicketingDataType } from '
|
|
1
|
+
import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
|
|
2
2
|
import { EgldOrEsdtTokenPayment } from '../../../common/tokenPayent';
|
|
3
3
|
export declare class EventStageProfileDoc {
|
|
4
4
|
dataType: TicketingDataType;
|
|
@@ -13,7 +13,7 @@ exports.EventStageProfileDoc = void 0;
|
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const uuid_1 = require("uuid");
|
|
16
|
-
const ticketing_data_type_enum_1 = require("
|
|
16
|
+
const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
|
|
17
17
|
const tokenPayent_1 = require("../../../common/tokenPayent");
|
|
18
18
|
class EventStageProfileDoc {
|
|
19
19
|
constructor(props) {
|
|
@@ -1,6 +1,11 @@
|
|
|
1
1
|
import { EventTicketProfileCreateDto } from './event-ticket-profile-create.dto';
|
|
2
|
-
declare
|
|
3
|
-
export declare
|
|
2
|
+
declare type EventTicketProfileEditDto_base = Pick<EventTicketProfileCreateDto, "description" | "royalties" | "badgeColor" | "maxLimit" | "userLimit">;
|
|
3
|
+
export declare type EventTicketProfileEditDto = EventTicketProfileEditDto_base & {
|
|
4
|
+
name: string;
|
|
5
|
+
characteristics: Record<string, string | number>;
|
|
6
|
+
};
|
|
7
|
+
declare const EventTicketProfileEditDtoNest_base: import("@nestjs/common").Type<Pick<EventTicketProfileCreateDto, "description" | "royalties" | "badgeColor" | "maxLimit" | "userLimit">>;
|
|
8
|
+
export declare class EventTicketProfileEditDtoNest extends EventTicketProfileEditDtoNest_base {
|
|
4
9
|
name: string;
|
|
5
10
|
characteristics: Record<string, string | number>;
|
|
6
11
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { TicketingDataType } from '
|
|
1
|
+
import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
|
|
2
2
|
export declare class EventTicketProfileDoc {
|
|
3
3
|
dataType: TicketingDataType;
|
|
4
4
|
eventId: string;
|
|
@@ -17,8 +17,13 @@ export declare class EventTicketProfileDoc {
|
|
|
17
17
|
_ts: number;
|
|
18
18
|
constructor(props?: Partial<EventTicketProfileDoc>);
|
|
19
19
|
}
|
|
20
|
-
declare
|
|
21
|
-
export declare
|
|
20
|
+
declare type TicketProfileSummary_base = Pick<EventTicketProfileDoc, "description" | "name" | "profile" | "badgeColor" | "characteristics">;
|
|
21
|
+
export declare type TicketProfileSummary = TicketProfileSummary_base & {
|
|
22
|
+
ticketId?: string;
|
|
23
|
+
quantity?: number;
|
|
24
|
+
};
|
|
25
|
+
declare const TicketProfileSummaryNest_base: import("@nestjs/common").Type<Pick<EventTicketProfileDoc, "description" | "name" | "profile" | "badgeColor" | "characteristics">>;
|
|
26
|
+
export declare class TicketProfileSummaryNest extends TicketProfileSummaryNest_base {
|
|
22
27
|
ticketId?: string;
|
|
23
28
|
quantity?: number;
|
|
24
29
|
}
|
|
@@ -13,7 +13,7 @@ exports.TicketProfileSummary = exports.EventTicketProfileDoc = void 0;
|
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const uuid_1 = require("uuid");
|
|
16
|
-
const ticketing_data_type_enum_1 = require("
|
|
16
|
+
const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
|
|
17
17
|
class EventTicketProfileDoc {
|
|
18
18
|
constructor(props) {
|
|
19
19
|
this.dataType = ticketing_data_type_enum_1.TicketingDataType.EVENT_TICKET_PROFILE;
|
|
@@ -1,14 +1,9 @@
|
|
|
1
1
|
import { EventGuestProfile } from './event-guest.doc';
|
|
2
2
|
import { EventInvitation } from './event-invitation.doc';
|
|
3
|
-
import { EventScanStatus, EventScanMessage } from '
|
|
3
|
+
import { EventScanStatus, EventScanMessage } from '../../../enums/event-scan-status.enum';
|
|
4
4
|
import { TicketProfileSummary } from './event-ticket-profile.doc';
|
|
5
5
|
import { NftDocHydrated } from '../token/nft-details.doc';
|
|
6
|
-
|
|
7
|
-
BADGE = "badge",
|
|
8
|
-
OFFLINE = "offline",
|
|
9
|
-
GOOGLE = "google",
|
|
10
|
-
MANUAL = "manual"
|
|
11
|
-
}
|
|
6
|
+
import { EventTicketQrType } from '../../../enums/ticketing-visibility.enum';
|
|
12
7
|
export declare class TicketSelection {
|
|
13
8
|
identifier: string;
|
|
14
9
|
ticketId: string;
|
|
@@ -9,21 +9,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.BadgeDecryptedData = exports.EventCheckInQR = exports.TicketsType = exports.QRBody = exports.TicketValidationResult = exports.TicketSelection =
|
|
12
|
+
exports.BadgeDecryptedData = exports.EventCheckInQR = exports.TicketsType = exports.QRBody = exports.TicketValidationResult = exports.TicketSelection = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const event_guest_doc_1 = require("./event-guest.doc");
|
|
16
16
|
const event_invitation_doc_1 = require("./event-invitation.doc");
|
|
17
|
-
const event_scan_status_enum_1 = require("
|
|
17
|
+
const event_scan_status_enum_1 = require("../../../enums/event-scan-status.enum");
|
|
18
18
|
const event_ticket_profile_doc_1 = require("./event-ticket-profile.doc");
|
|
19
19
|
const nft_details_doc_1 = require("../token/nft-details.doc");
|
|
20
|
-
|
|
21
|
-
(function (EventTicketQrType) {
|
|
22
|
-
EventTicketQrType["BADGE"] = "badge";
|
|
23
|
-
EventTicketQrType["OFFLINE"] = "offline";
|
|
24
|
-
EventTicketQrType["GOOGLE"] = "google";
|
|
25
|
-
EventTicketQrType["MANUAL"] = "manual";
|
|
26
|
-
})(EventTicketQrType || (exports.EventTicketQrType = EventTicketQrType = {}));
|
|
20
|
+
const ticketing_visibility_enum_1 = require("../../../enums/ticketing-visibility.enum");
|
|
27
21
|
class TicketSelection {
|
|
28
22
|
}
|
|
29
23
|
exports.TicketSelection = TicketSelection;
|
|
@@ -73,7 +67,7 @@ __decorate([
|
|
|
73
67
|
__decorate([
|
|
74
68
|
(0, swagger_1.ApiProperty)({
|
|
75
69
|
description: 'QR Code type',
|
|
76
|
-
enum: EventTicketQrType,
|
|
70
|
+
enum: ticketing_visibility_enum_1.EventTicketQrType,
|
|
77
71
|
enumName: 'EventTicketQrType',
|
|
78
72
|
}),
|
|
79
73
|
__metadata("design:type", String)
|
|
@@ -124,10 +118,10 @@ exports.QRBody = QRBody;
|
|
|
124
118
|
__decorate([
|
|
125
119
|
(0, swagger_1.ApiProperty)({
|
|
126
120
|
description: 'QR Type',
|
|
127
|
-
enum: EventTicketQrType,
|
|
121
|
+
enum: ticketing_visibility_enum_1.EventTicketQrType,
|
|
128
122
|
enumName: 'EventTicketQrType',
|
|
129
123
|
}),
|
|
130
|
-
(0, class_validator_1.IsEnum)(EventTicketQrType),
|
|
124
|
+
(0, class_validator_1.IsEnum)(ticketing_visibility_enum_1.EventTicketQrType),
|
|
131
125
|
__metadata("design:type", String)
|
|
132
126
|
], QRBody.prototype, "type", void 0);
|
|
133
127
|
__decorate([
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.EventUserRoleCreateDto = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const event_user_roles_enum_1 = require("
|
|
15
|
+
const event_user_roles_enum_1 = require("../../../enums/event-user-roles.enum");
|
|
16
16
|
class EventUserRoleCreateDto {
|
|
17
17
|
}
|
|
18
18
|
exports.EventUserRoleCreateDto = EventUserRoleCreateDto;
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
ACTIVE = "active",
|
|
4
|
-
PENDING = "pending"
|
|
5
|
-
}
|
|
1
|
+
import { RoleStatus } from '../../../enums/event-user-role.doc';
|
|
2
|
+
import { EventUserRoles, EventUserRolePermission } from '../../../enums/event-user-roles.enum';
|
|
6
3
|
export declare class EventUserRoleDoc {
|
|
7
4
|
dataType: string;
|
|
8
5
|
eventId?: string;
|
|
@@ -9,17 +9,13 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.EventUserRole = exports.EventUserRoleDoc =
|
|
12
|
+
exports.EventUserRole = exports.EventUserRoleDoc = void 0;
|
|
13
13
|
const sdk_nestjs_common_1 = require("@multiversx/sdk-nestjs-common");
|
|
14
14
|
const swagger_1 = require("@nestjs/swagger");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
|
-
const
|
|
17
|
-
const
|
|
18
|
-
|
|
19
|
-
(function (RoleStatus) {
|
|
20
|
-
RoleStatus["ACTIVE"] = "active";
|
|
21
|
-
RoleStatus["PENDING"] = "pending";
|
|
22
|
-
})(RoleStatus || (exports.RoleStatus = RoleStatus = {}));
|
|
16
|
+
const event_user_role_doc_1 = require("../../../enums/event-user-role.doc");
|
|
17
|
+
const event_user_roles_enum_1 = require("../../../enums/event-user-roles.enum");
|
|
18
|
+
const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
|
|
23
19
|
class EventUserRoleDoc {
|
|
24
20
|
constructor(props) {
|
|
25
21
|
this.dataType = ticketing_data_type_enum_1.TicketingDataType.USER_ROLE;
|
|
@@ -104,7 +100,7 @@ __decorate([
|
|
|
104
100
|
__decorate([
|
|
105
101
|
(0, swagger_1.ApiProperty)({
|
|
106
102
|
description: 'Status of the user role.',
|
|
107
|
-
enum: RoleStatus,
|
|
103
|
+
enum: event_user_role_doc_1.RoleStatus,
|
|
108
104
|
enumName: 'RoleStatus',
|
|
109
105
|
required: false,
|
|
110
106
|
}),
|
|
@@ -1,6 +1,20 @@
|
|
|
1
|
-
import { EventVoucherDoc
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
import { EventVoucherDoc } from './event-voucher.doc';
|
|
2
|
+
import { VoucherType } from '../../../enums/voucher-type.enum';
|
|
3
|
+
declare type EventVoucherCreateDto_base = Partial<Omit<EventVoucherDoc, "id" | "dataType" | "createdAt" | "usedCount" | "createdBy">>;
|
|
4
|
+
export declare type EventVoucherCreateDto = EventVoucherCreateDto_base & {
|
|
5
|
+
code?: string;
|
|
6
|
+
type: VoucherType;
|
|
7
|
+
amount: number;
|
|
8
|
+
maxDiscountAmount?: number;
|
|
9
|
+
maxUses: number;
|
|
10
|
+
maxUsesPerUser: number;
|
|
11
|
+
eventId: string;
|
|
12
|
+
startDate?: number;
|
|
13
|
+
endDate?: number;
|
|
14
|
+
isActive?: boolean;
|
|
15
|
+
};
|
|
16
|
+
declare const EventVoucherCreateDtoNest_base: import("@nestjs/common").Type<Partial<Omit<EventVoucherDoc, "id" | "dataType" | "createdAt" | "usedCount" | "createdBy">>>;
|
|
17
|
+
export declare class EventVoucherCreateDtoNest extends EventVoucherCreateDtoNest_base {
|
|
4
18
|
code?: string;
|
|
5
19
|
type: VoucherType;
|
|
6
20
|
amount: number;
|
|
@@ -13,6 +13,7 @@ exports.EventVoucherCreateDto = void 0;
|
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
15
|
const event_voucher_doc_1 = require("./event-voucher.doc");
|
|
16
|
+
const voucher_type_enum_1 = require("../../../enums/voucher-type.enum");
|
|
16
17
|
class EventVoucherCreateDto extends (0, swagger_1.PartialType)((0, swagger_1.OmitType)(event_voucher_doc_1.EventVoucherDoc, [
|
|
17
18
|
'id',
|
|
18
19
|
'dataType',
|
|
@@ -31,10 +32,10 @@ __decorate([
|
|
|
31
32
|
__decorate([
|
|
32
33
|
(0, swagger_1.ApiProperty)({
|
|
33
34
|
description: 'Type of discount provided by the voucher.',
|
|
34
|
-
enum:
|
|
35
|
+
enum: voucher_type_enum_1.VoucherType,
|
|
35
36
|
enumName: 'VoucherType',
|
|
36
37
|
}),
|
|
37
|
-
(0, class_validator_1.IsEnum)(
|
|
38
|
+
(0, class_validator_1.IsEnum)(voucher_type_enum_1.VoucherType),
|
|
38
39
|
__metadata("design:type", String)
|
|
39
40
|
], EventVoucherCreateDto.prototype, "type", void 0);
|
|
40
41
|
__decorate([
|
|
@@ -1,6 +1,12 @@
|
|
|
1
1
|
import { EventVoucherCreateDto } from './event-voucher-create.dto';
|
|
2
|
-
declare
|
|
3
|
-
export declare
|
|
2
|
+
declare type EventVoucherEditDto_base = Partial<Omit<EventVoucherCreateDto, "eventId" | "code">>;
|
|
3
|
+
export declare type EventVoucherEditDto = EventVoucherEditDto_base & {
|
|
4
|
+
isActive?: boolean;
|
|
5
|
+
startDate?: number;
|
|
6
|
+
endDate?: number;
|
|
7
|
+
};
|
|
8
|
+
declare const EventVoucherEditDtoNest_base: import("@nestjs/common").Type<Partial<Omit<EventVoucherCreateDto, "eventId" | "code">>>;
|
|
9
|
+
export declare class EventVoucherEditDtoNest extends EventVoucherEditDtoNest_base {
|
|
4
10
|
isActive?: boolean;
|
|
5
11
|
startDate?: number;
|
|
6
12
|
endDate?: number;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { EventVoucherDoc
|
|
1
|
+
import { EventVoucherDoc } from './event-voucher.doc';
|
|
2
2
|
import { CosmosDbGenericFilter, RangeFilter } from '../../cosmos-db-generic-filter';
|
|
3
|
+
import { VoucherType } from '../../../enums/voucher-type.enum';
|
|
3
4
|
export declare class EventVoucherFilterCriteriaDto {
|
|
4
5
|
searchText?: string;
|
|
5
6
|
code?: string[];
|
|
@@ -13,9 +13,9 @@ exports.EventVoucherFilter = exports.EventVoucherFilterCriteriaDto = void 0;
|
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_transformer_1 = require("class-transformer");
|
|
15
15
|
const class_validator_1 = require("class-validator");
|
|
16
|
-
const
|
|
17
|
-
const ticketing_data_type_enum_1 = require("./ticketing-data-type.enum");
|
|
16
|
+
const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
|
|
18
17
|
const cosmos_db_generic_filter_1 = require("../../cosmos-db-generic-filter");
|
|
18
|
+
const voucher_type_enum_1 = require("../../../enums/voucher-type.enum");
|
|
19
19
|
class EventVoucherFilterCriteriaDto {
|
|
20
20
|
}
|
|
21
21
|
exports.EventVoucherFilterCriteriaDto = EventVoucherFilterCriteriaDto;
|
|
@@ -46,13 +46,13 @@ __decorate([
|
|
|
46
46
|
required: false,
|
|
47
47
|
type: String,
|
|
48
48
|
isArray: true,
|
|
49
|
-
enum:
|
|
49
|
+
enum: voucher_type_enum_1.VoucherType,
|
|
50
50
|
enumName: 'VoucherType',
|
|
51
51
|
description: 'Filter by type of discount (fixed or percentage).',
|
|
52
52
|
}),
|
|
53
53
|
(0, class_validator_1.IsOptional)(),
|
|
54
54
|
(0, class_validator_1.IsArray)(),
|
|
55
|
-
(0, class_validator_1.IsEnum)(
|
|
55
|
+
(0, class_validator_1.IsEnum)(voucher_type_enum_1.VoucherType, { each: true }),
|
|
56
56
|
__metadata("design:type", Array)
|
|
57
57
|
], EventVoucherFilterCriteriaDto.prototype, "type", void 0);
|
|
58
58
|
__decorate([
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
import { TicketingDataType } from '
|
|
2
|
-
|
|
3
|
-
FIXED = "fixed",
|
|
4
|
-
PERCENTAGE = "percentage"
|
|
5
|
-
}
|
|
1
|
+
import { TicketingDataType } from '../../../enums/ticketing-data-type.enum';
|
|
2
|
+
import { VoucherType } from '../../../enums/voucher-type.enum';
|
|
6
3
|
export declare class EventVoucherDoc {
|
|
7
4
|
dataType: TicketingDataType;
|
|
8
5
|
id: string;
|
|
@@ -9,16 +9,12 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
-
exports.EventVoucherQuery = exports.EventVoucherDoc =
|
|
12
|
+
exports.EventVoucherQuery = exports.EventVoucherDoc = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const ticketing_data_type_enum_1 = require("
|
|
15
|
+
const ticketing_data_type_enum_1 = require("../../../enums/ticketing-data-type.enum");
|
|
16
16
|
const cosmos_db_paginated_response_dto_1 = require("../../cosmos-db-paginated-response.dto");
|
|
17
|
-
|
|
18
|
-
(function (VoucherType) {
|
|
19
|
-
VoucherType["FIXED"] = "fixed";
|
|
20
|
-
VoucherType["PERCENTAGE"] = "percentage";
|
|
21
|
-
})(VoucherType || (exports.VoucherType = VoucherType = {}));
|
|
17
|
+
const voucher_type_enum_1 = require("../../../enums/voucher-type.enum");
|
|
22
18
|
class EventVoucherDoc {
|
|
23
19
|
constructor(props) {
|
|
24
20
|
this.dataType = ticketing_data_type_enum_1.TicketingDataType.VOUCHER;
|
|
@@ -54,7 +50,7 @@ __decorate([
|
|
|
54
50
|
__decorate([
|
|
55
51
|
(0, swagger_1.ApiProperty)({
|
|
56
52
|
description: 'Type of discount provided by the voucher.',
|
|
57
|
-
enum: VoucherType,
|
|
53
|
+
enum: voucher_type_enum_1.VoucherType,
|
|
58
54
|
enumName: 'VoucherType',
|
|
59
55
|
}),
|
|
60
56
|
__metadata("design:type", String)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { TokenDataType } from '
|
|
1
|
+
import { TokenDataType } from '../../../enums/token-data.enum';
|
|
2
2
|
import { NftMetadata } from './nft-metadata';
|
|
3
3
|
import { NftSaleInfo, NftSaleInfoHydrated } from './nft-sale-info';
|
|
4
|
-
import { ActivityChain, EsdtTokenSubType, EsdtTokenType } from '../../../common
|
|
4
|
+
import { ActivityChain, EsdtTokenSubType, EsdtTokenType } from '../../../enums/common.enum';
|
|
5
5
|
import { CollectionProfileDoc } from '../collection/profile';
|
|
6
6
|
import { OwnerDto } from '../../../common/owner.dto';
|
|
7
7
|
export declare class NFTEventData {
|
|
@@ -10,10 +10,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
10
10
|
};
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.NftDocHydrated = exports.ExtraProperties = exports.NftDoc = exports.NftMedia = exports.NFTEventData = void 0;
|
|
13
|
-
const token_data_enum_1 = require("
|
|
13
|
+
const token_data_enum_1 = require("../../../enums/token-data.enum");
|
|
14
14
|
const nft_metadata_1 = require("./nft-metadata");
|
|
15
15
|
const nft_sale_info_1 = require("./nft-sale-info");
|
|
16
|
-
const
|
|
16
|
+
const common_enum_1 = require("../../../enums/common.enum");
|
|
17
17
|
const swagger_1 = require("@nestjs/swagger");
|
|
18
18
|
const profile_1 = require("../collection/profile");
|
|
19
19
|
const owner_dto_1 = require("../../../common/owner.dto");
|
|
@@ -86,11 +86,11 @@ class NftDocBase {
|
|
|
86
86
|
this.wasProcessed = false;
|
|
87
87
|
this.metadata = { attributes: [] };
|
|
88
88
|
this.isTicket = false;
|
|
89
|
-
this.chain =
|
|
89
|
+
this.chain = common_enum_1.ActivityChain.MVX;
|
|
90
90
|
this.onSale = false;
|
|
91
91
|
Object.assign(this, props);
|
|
92
92
|
this.id = this.identifier;
|
|
93
|
-
if (this.type ===
|
|
93
|
+
if (this.type === common_enum_1.EsdtTokenType.NonFungibleESDT) {
|
|
94
94
|
this.supply = 1;
|
|
95
95
|
this.supplyLong = '1';
|
|
96
96
|
}
|
|
@@ -140,7 +140,7 @@ __decorate([
|
|
|
140
140
|
], NftDocBase.prototype, "nonce", void 0);
|
|
141
141
|
__decorate([
|
|
142
142
|
(0, swagger_1.ApiProperty)({
|
|
143
|
-
enum:
|
|
143
|
+
enum: common_enum_1.EsdtTokenType,
|
|
144
144
|
enumName: 'EsdtTokenType',
|
|
145
145
|
required: true,
|
|
146
146
|
description: 'The type of the NFT',
|
|
@@ -149,7 +149,7 @@ __decorate([
|
|
|
149
149
|
], NftDocBase.prototype, "type", void 0);
|
|
150
150
|
__decorate([
|
|
151
151
|
(0, swagger_1.ApiProperty)({
|
|
152
|
-
enum:
|
|
152
|
+
enum: common_enum_1.EsdtTokenSubType,
|
|
153
153
|
enumName: 'EsdtTokenSubType',
|
|
154
154
|
required: false,
|
|
155
155
|
description: 'The sub-type of the NFT',
|
|
@@ -261,7 +261,7 @@ __decorate([
|
|
|
261
261
|
], NftDocBase.prototype, "eventData", void 0);
|
|
262
262
|
__decorate([
|
|
263
263
|
(0, swagger_1.ApiProperty)({
|
|
264
|
-
enum:
|
|
264
|
+
enum: common_enum_1.ActivityChain,
|
|
265
265
|
enumName: 'ActivityChain',
|
|
266
266
|
required: true,
|
|
267
267
|
description: 'The chain of the NFT',
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { NftExtraAttributesType } from '../../../
|
|
2
|
-
import { TokenDataType } from '
|
|
1
|
+
import { NftExtraAttributesType } from '../../../enums/nft-extra-attributes.enum';
|
|
2
|
+
import { TokenDataType } from '../../../enums/token-data.enum';
|
|
3
3
|
export declare class NftExtraMetadata {
|
|
4
4
|
dataType: TokenDataType;
|
|
5
5
|
identifier: string;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.NftExtraMetadata = void 0;
|
|
4
|
-
const token_data_enum_1 = require("
|
|
4
|
+
const token_data_enum_1 = require("../../../enums/token-data.enum");
|
|
5
5
|
class NftExtraMetadata {
|
|
6
6
|
constructor(props) {
|
|
7
7
|
this.dataType = token_data_enum_1.TokenDataType.NftExtraMetadata;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ActivityChain } from '../../../common
|
|
1
|
+
import { ActivityChain } from '../../../enums/common.enum';
|
|
2
2
|
import { NftDocHydrated } from './nft-details.doc';
|
|
3
|
-
import { TokenDataType } from '
|
|
3
|
+
import { TokenDataType } from '../../../enums/token-data.enum';
|
|
4
4
|
import { OwnerDto } from '../../../common/owner.dto';
|
|
5
5
|
declare class NftOfferDocBase {
|
|
6
6
|
dataType: TokenDataType;
|
|
@@ -11,15 +11,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.NftOfferDocHydrated = exports.NftOfferDoc = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const
|
|
14
|
+
const common_enum_1 = require("../../../enums/common.enum");
|
|
15
15
|
const nft_details_doc_1 = require("./nft-details.doc");
|
|
16
|
-
const token_data_enum_1 = require("
|
|
16
|
+
const token_data_enum_1 = require("../../../enums/token-data.enum");
|
|
17
17
|
const owner_dto_1 = require("../../../common/owner.dto");
|
|
18
18
|
class NftOfferDocBase {
|
|
19
19
|
constructor(props) {
|
|
20
20
|
this.dataType = token_data_enum_1.TokenDataType.Offer;
|
|
21
21
|
this.isActive = true;
|
|
22
|
-
this.chain =
|
|
22
|
+
this.chain = common_enum_1.ActivityChain.MVX;
|
|
23
23
|
Object.assign(this, props);
|
|
24
24
|
this.id = `${this.identifier}-${this.offerId}-${this.marketplace}-${this.dataType}`;
|
|
25
25
|
if (!this.timestamp) {
|
|
@@ -153,8 +153,8 @@ __decorate([
|
|
|
153
153
|
], NftOfferDocBase.prototype, "isActive", void 0);
|
|
154
154
|
__decorate([
|
|
155
155
|
(0, swagger_1.ApiProperty)({
|
|
156
|
-
example:
|
|
157
|
-
enum:
|
|
156
|
+
example: common_enum_1.ActivityChain.MVX,
|
|
157
|
+
enum: common_enum_1.ActivityChain,
|
|
158
158
|
description: 'Blockchain network of the offer',
|
|
159
159
|
}),
|
|
160
160
|
__metadata("design:type", String)
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OwnerDto } from '../../../common/owner.dto';
|
|
2
|
-
import { XoxnoAuctionTypeString } from '../../../
|
|
2
|
+
import { XoxnoAuctionTypeString } from '../../../enums/xoxno-auction-type.enum';
|
|
3
3
|
declare class NftSaleInfoBase {
|
|
4
4
|
auctionId: number;
|
|
5
5
|
seller: string;
|
|
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.NftSaleInfoHydrated = exports.NftSaleInfo = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const owner_dto_1 = require("../../../common/owner.dto");
|
|
15
|
-
const
|
|
16
|
-
const xoxno_auction_type_enum_1 = require("../../../
|
|
15
|
+
const common_enum_1 = require("../../../enums/common.enum");
|
|
16
|
+
const xoxno_auction_type_enum_1 = require("../../../enums/xoxno-auction-type.enum");
|
|
17
17
|
class NftSaleInfoBase {
|
|
18
18
|
}
|
|
19
19
|
__decorate([
|
|
@@ -86,8 +86,8 @@ __decorate([
|
|
|
86
86
|
], NftSaleInfoBase.prototype, "quantity", void 0);
|
|
87
87
|
__decorate([
|
|
88
88
|
(0, swagger_1.ApiProperty)({
|
|
89
|
-
enum:
|
|
90
|
-
example:
|
|
89
|
+
enum: common_enum_1.MarketplacesOnSaleNames,
|
|
90
|
+
example: common_enum_1.MarketplacesOnSaleNames.XOXNO_MARKETPLACE,
|
|
91
91
|
enumName: 'MarketplacesOnSaleNames',
|
|
92
92
|
}),
|
|
93
93
|
__metadata("design:type", String)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.SftOwnerDoc = void 0;
|
|
4
|
-
const
|
|
5
|
-
const token_data_enum_1 = require("
|
|
4
|
+
const common_enum_1 = require("../../../enums/common.enum");
|
|
5
|
+
const token_data_enum_1 = require("../../../enums/token-data.enum");
|
|
6
6
|
class SftOwnerDoc {
|
|
7
7
|
constructor(props) {
|
|
8
8
|
this.dataType = token_data_enum_1.TokenDataType.SftOwner;
|
|
9
9
|
this.onSale = false;
|
|
10
|
-
if (props?.type !=
|
|
11
|
-
props?.type !=
|
|
10
|
+
if (props?.type != common_enum_1.EsdtTokenType.SemiFungibleESDT &&
|
|
11
|
+
props?.type != common_enum_1.EsdtTokenType.MetaESDT) {
|
|
12
12
|
throw new Error(`invalid type [${props?.type}] for sft owner doc`);
|
|
13
13
|
}
|
|
14
14
|
Object.assign(this, props);
|