@xoxno/types 1.0.85 → 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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-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.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.doc.d.ts +1 -1
- 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 +2 -1
- package/dist/cosmos-db/documents/ticketing/event-voucher-create.dto.js +3 -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/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 +1 -1
- 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 +61 -50
- package/dist/index.js +61 -50
- 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/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/token-inventory.d.ts +1 -1
- package/dist/utils/types.d.ts +1 -1
- package/package.json +1 -1
- 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
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.DeviceTagStorageDoc = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const notification_data_type_enum_1 = require("../../
|
|
14
|
+
const notification_data_type_enum_1 = require("../../enums/notification-data-type.enum");
|
|
15
15
|
class DeviceTagStorageDoc {
|
|
16
16
|
constructor(props) {
|
|
17
17
|
this.dataType = notification_data_type_enum_1.NotificationDataType.DeviceTagStorage;
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.DeviceNotificationSettingsUpdateDto = exports.MobileDeviceRegistrationDto = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const
|
|
15
|
+
const mobile_device_enum_1 = require("../../enums/mobile-device.enum");
|
|
16
16
|
class MobileDeviceRegistrationDto {
|
|
17
17
|
}
|
|
18
18
|
exports.MobileDeviceRegistrationDto = MobileDeviceRegistrationDto;
|
|
@@ -27,11 +27,11 @@ __decorate([
|
|
|
27
27
|
__decorate([
|
|
28
28
|
(0, swagger_1.ApiProperty)({
|
|
29
29
|
description: 'Device platform',
|
|
30
|
-
enum:
|
|
30
|
+
enum: mobile_device_enum_1.DevicePlatform,
|
|
31
31
|
enumName: 'DevicePlatform',
|
|
32
|
-
example:
|
|
32
|
+
example: mobile_device_enum_1.DevicePlatform.IOS,
|
|
33
33
|
}),
|
|
34
|
-
(0, class_validator_1.IsEnum)(
|
|
34
|
+
(0, class_validator_1.IsEnum)(mobile_device_enum_1.DevicePlatform),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
36
|
], MobileDeviceRegistrationDto.prototype, "platform", void 0);
|
|
37
37
|
__decorate([
|
|
@@ -9,14 +9,10 @@ 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.MobileDeviceDoc =
|
|
12
|
+
exports.MobileDeviceDoc = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const
|
|
15
|
-
|
|
16
|
-
(function (DevicePlatform) {
|
|
17
|
-
DevicePlatform["IOS"] = "ios";
|
|
18
|
-
DevicePlatform["ANDROID"] = "android";
|
|
19
|
-
})(DevicePlatform || (exports.DevicePlatform = DevicePlatform = {}));
|
|
14
|
+
const mobile_device_enum_1 = require("../../enums/mobile-device.enum");
|
|
15
|
+
const notification_data_type_enum_1 = require("../../enums/notification-data-type.enum");
|
|
20
16
|
class MobileDeviceDoc {
|
|
21
17
|
constructor(props) {
|
|
22
18
|
this.dataType = notification_data_type_enum_1.NotificationDataType.MobileDevice;
|
|
@@ -44,7 +40,7 @@ __decorate([
|
|
|
44
40
|
], MobileDeviceDoc.prototype, "installationId", void 0);
|
|
45
41
|
__decorate([
|
|
46
42
|
(0, swagger_1.ApiProperty)({
|
|
47
|
-
enum: DevicePlatform,
|
|
43
|
+
enum: mobile_device_enum_1.DevicePlatform,
|
|
48
44
|
enumName: 'DevicePlatform',
|
|
49
45
|
description: 'Mobile platform (iOS or Android)',
|
|
50
46
|
}),
|
|
@@ -1,12 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
OPEN_EVENT = "open_event",
|
|
3
|
-
OPEN_PROFILE = "open_profile",
|
|
4
|
-
OPEN_NOTIFICATIONS = "open_notifications",
|
|
5
|
-
OPEN_TICKETS = "open_tickets",
|
|
6
|
-
OPEN_WALLET = "open_wallet",
|
|
7
|
-
OPEN_MARKETPLACE = "open_marketplace",
|
|
8
|
-
NO_ACTION = "no_action"
|
|
9
|
-
}
|
|
1
|
+
import { NotificationAction } from '../../enums/notification-template.enum';
|
|
10
2
|
export declare class NotificationMetadata {
|
|
11
3
|
action: NotificationAction;
|
|
12
4
|
eventId?: string;
|
|
@@ -9,24 +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.NotificationTemplateBuilder = exports.NotificationTemplate = exports.NotificationMetadata =
|
|
12
|
+
exports.NotificationTemplateBuilder = exports.NotificationTemplate = exports.NotificationMetadata = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
|
|
15
|
-
(function (NotificationAction) {
|
|
16
|
-
NotificationAction["OPEN_EVENT"] = "open_event";
|
|
17
|
-
NotificationAction["OPEN_PROFILE"] = "open_profile";
|
|
18
|
-
NotificationAction["OPEN_NOTIFICATIONS"] = "open_notifications";
|
|
19
|
-
NotificationAction["OPEN_TICKETS"] = "open_tickets";
|
|
20
|
-
NotificationAction["OPEN_WALLET"] = "open_wallet";
|
|
21
|
-
NotificationAction["OPEN_MARKETPLACE"] = "open_marketplace";
|
|
22
|
-
NotificationAction["NO_ACTION"] = "no_action";
|
|
23
|
-
})(NotificationAction || (exports.NotificationAction = NotificationAction = {}));
|
|
14
|
+
const notification_template_enum_1 = require("../../enums/notification-template.enum");
|
|
24
15
|
class NotificationMetadata {
|
|
25
16
|
}
|
|
26
17
|
exports.NotificationMetadata = NotificationMetadata;
|
|
27
18
|
__decorate([
|
|
28
19
|
(0, swagger_1.ApiProperty)({
|
|
29
|
-
enum: NotificationAction,
|
|
20
|
+
enum: notification_template_enum_1.NotificationAction,
|
|
30
21
|
enumName: 'NotificationAction',
|
|
31
22
|
description: 'Action to perform when notification is tapped',
|
|
32
23
|
}),
|
|
@@ -113,7 +104,7 @@ class NotificationTemplateBuilder {
|
|
|
113
104
|
sound: 'default',
|
|
114
105
|
badge: 1,
|
|
115
106
|
metadata: {
|
|
116
|
-
action: NotificationAction.OPEN_EVENT,
|
|
107
|
+
action: notification_template_enum_1.NotificationAction.OPEN_EVENT,
|
|
117
108
|
eventId,
|
|
118
109
|
deepLink: `xoxno://event/${eventId}`,
|
|
119
110
|
},
|
|
@@ -126,7 +117,7 @@ class NotificationTemplateBuilder {
|
|
|
126
117
|
imageUrl: eventProfile,
|
|
127
118
|
sound: 'default',
|
|
128
119
|
metadata: {
|
|
129
|
-
action: NotificationAction.OPEN_EVENT,
|
|
120
|
+
action: notification_template_enum_1.NotificationAction.OPEN_EVENT,
|
|
130
121
|
eventId,
|
|
131
122
|
deepLink: `xoxno://events/${eventId}`,
|
|
132
123
|
},
|
|
@@ -141,7 +132,7 @@ class NotificationTemplateBuilder {
|
|
|
141
132
|
sound: 'default',
|
|
142
133
|
badge: 1,
|
|
143
134
|
metadata: {
|
|
144
|
-
action: NotificationAction.OPEN_EVENT,
|
|
135
|
+
action: notification_template_enum_1.NotificationAction.OPEN_EVENT,
|
|
145
136
|
eventId,
|
|
146
137
|
deepLink: `xoxno://events/${eventId}`,
|
|
147
138
|
},
|
|
@@ -154,7 +145,7 @@ class NotificationTemplateBuilder {
|
|
|
154
145
|
imageUrl: creatorProfile,
|
|
155
146
|
sound: 'default',
|
|
156
147
|
metadata: {
|
|
157
|
-
action: NotificationAction.OPEN_PROFILE,
|
|
148
|
+
action: notification_template_enum_1.NotificationAction.OPEN_PROFILE,
|
|
158
149
|
userAddress: creatorAddress,
|
|
159
150
|
deepLink: `xoxno://profile/${creatorAddress}`,
|
|
160
151
|
},
|
|
@@ -168,7 +159,7 @@ class NotificationTemplateBuilder {
|
|
|
168
159
|
sound: 'default',
|
|
169
160
|
badge: 1,
|
|
170
161
|
metadata: {
|
|
171
|
-
action: NotificationAction.OPEN_MARKETPLACE,
|
|
162
|
+
action: notification_template_enum_1.NotificationAction.OPEN_MARKETPLACE,
|
|
172
163
|
collectionId,
|
|
173
164
|
nftId,
|
|
174
165
|
deepLink: `xoxno://nft/${collectionId}/${nftId}`,
|
|
@@ -183,7 +174,7 @@ class NotificationTemplateBuilder {
|
|
|
183
174
|
sound: 'default',
|
|
184
175
|
badge: 1,
|
|
185
176
|
metadata: {
|
|
186
|
-
action: NotificationAction.OPEN_MARKETPLACE,
|
|
177
|
+
action: notification_template_enum_1.NotificationAction.OPEN_MARKETPLACE,
|
|
187
178
|
collectionId,
|
|
188
179
|
nftId,
|
|
189
180
|
deepLink: `xoxno://nft/${collectionId}/${nftId}`,
|
|
@@ -197,7 +188,7 @@ class NotificationTemplateBuilder {
|
|
|
197
188
|
imageUrl,
|
|
198
189
|
sound: 'default',
|
|
199
190
|
metadata: {
|
|
200
|
-
action: NotificationAction.NO_ACTION,
|
|
191
|
+
action: notification_template_enum_1.NotificationAction.NO_ACTION,
|
|
201
192
|
...metadata,
|
|
202
193
|
},
|
|
203
194
|
};
|
|
@@ -1,21 +1,5 @@
|
|
|
1
|
+
import { PushNotificationType, PushNotificationStatus } from '../../enums/push-notification.enum';
|
|
1
2
|
import { NotificationMetadata } from './notification-template';
|
|
2
|
-
export declare enum PushNotificationType {
|
|
3
|
-
EVENT_APPROVED = "eventApproved",
|
|
4
|
-
EVENT_UPDATE = "eventUpdate",
|
|
5
|
-
EVENT_REMINDER = "eventReminder",
|
|
6
|
-
EVENT_CHECK_IN = "eventCheckIn",
|
|
7
|
-
EVENT_MARKETING = "eventMarketing",
|
|
8
|
-
NFT_SOLD = "nftSold",
|
|
9
|
-
OFFER_RECEIVED = "offerReceived",
|
|
10
|
-
USER_SPECIFIC = "userSpecific",
|
|
11
|
-
BROADCAST = "broadcast"
|
|
12
|
-
}
|
|
13
|
-
export declare enum PushNotificationStatus {
|
|
14
|
-
SENT = "sent",
|
|
15
|
-
DELIVERED = "delivered",
|
|
16
|
-
FAILED = "failed",
|
|
17
|
-
PENDING = "pending"
|
|
18
|
-
}
|
|
19
3
|
declare class PushNotificationEventDto {
|
|
20
4
|
eventId?: string;
|
|
21
5
|
eventTitle?: string;
|
|
@@ -9,30 +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.PushNotificationCountResponse = exports.PushNotificationResponse = exports.PushNotificationDoc =
|
|
12
|
+
exports.PushNotificationCountResponse = exports.PushNotificationResponse = exports.PushNotificationDoc = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const uuid_1 = require("uuid");
|
|
15
|
+
const notification_data_type_enum_1 = require("../../enums/notification-data-type.enum");
|
|
16
|
+
const push_notification_enum_1 = require("../../enums/push-notification.enum");
|
|
15
17
|
const notification_template_1 = require("./notification-template");
|
|
16
|
-
const notification_data_type_enum_1 = require("../../cosmos-db/documents/notification/notification-data-type.enum");
|
|
17
|
-
var PushNotificationType;
|
|
18
|
-
(function (PushNotificationType) {
|
|
19
|
-
PushNotificationType["EVENT_APPROVED"] = "eventApproved";
|
|
20
|
-
PushNotificationType["EVENT_UPDATE"] = "eventUpdate";
|
|
21
|
-
PushNotificationType["EVENT_REMINDER"] = "eventReminder";
|
|
22
|
-
PushNotificationType["EVENT_CHECK_IN"] = "eventCheckIn";
|
|
23
|
-
PushNotificationType["EVENT_MARKETING"] = "eventMarketing";
|
|
24
|
-
PushNotificationType["NFT_SOLD"] = "nftSold";
|
|
25
|
-
PushNotificationType["OFFER_RECEIVED"] = "offerReceived";
|
|
26
|
-
PushNotificationType["USER_SPECIFIC"] = "userSpecific";
|
|
27
|
-
PushNotificationType["BROADCAST"] = "broadcast";
|
|
28
|
-
})(PushNotificationType || (exports.PushNotificationType = PushNotificationType = {}));
|
|
29
|
-
var PushNotificationStatus;
|
|
30
|
-
(function (PushNotificationStatus) {
|
|
31
|
-
PushNotificationStatus["SENT"] = "sent";
|
|
32
|
-
PushNotificationStatus["DELIVERED"] = "delivered";
|
|
33
|
-
PushNotificationStatus["FAILED"] = "failed";
|
|
34
|
-
PushNotificationStatus["PENDING"] = "pending";
|
|
35
|
-
})(PushNotificationStatus || (exports.PushNotificationStatus = PushNotificationStatus = {}));
|
|
36
18
|
class PushNotificationEventDto {
|
|
37
19
|
}
|
|
38
20
|
__decorate([
|
|
@@ -59,7 +41,7 @@ class PushNotificationTargetingDto {
|
|
|
59
41
|
}
|
|
60
42
|
__decorate([
|
|
61
43
|
(0, swagger_1.ApiProperty)({
|
|
62
|
-
enum: PushNotificationType,
|
|
44
|
+
enum: push_notification_enum_1.PushNotificationType,
|
|
63
45
|
enumName: 'PushNotificationType',
|
|
64
46
|
}),
|
|
65
47
|
__metadata("design:type", String)
|
|
@@ -83,7 +65,7 @@ __decorate([
|
|
|
83
65
|
class PushNotificationDoc {
|
|
84
66
|
constructor(props) {
|
|
85
67
|
this.dataType = notification_data_type_enum_1.NotificationDataType.PushNotification;
|
|
86
|
-
this.status = PushNotificationStatus.PENDING;
|
|
68
|
+
this.status = push_notification_enum_1.PushNotificationStatus.PENDING;
|
|
87
69
|
this.isRead = false;
|
|
88
70
|
Object.assign(this, props);
|
|
89
71
|
this.id = (0, uuid_1.v4)();
|
|
@@ -110,14 +92,14 @@ __decorate([
|
|
|
110
92
|
], PushNotificationDoc.prototype, "imageUrl", void 0);
|
|
111
93
|
__decorate([
|
|
112
94
|
(0, swagger_1.ApiProperty)({
|
|
113
|
-
enum: PushNotificationType,
|
|
95
|
+
enum: push_notification_enum_1.PushNotificationType,
|
|
114
96
|
enumName: 'PushNotificationType',
|
|
115
97
|
}),
|
|
116
98
|
__metadata("design:type", String)
|
|
117
99
|
], PushNotificationDoc.prototype, "notificationType", void 0);
|
|
118
100
|
__decorate([
|
|
119
101
|
(0, swagger_1.ApiProperty)({
|
|
120
|
-
enum: PushNotificationStatus,
|
|
102
|
+
enum: push_notification_enum_1.PushNotificationStatus,
|
|
121
103
|
enumName: 'PushNotificationStatus',
|
|
122
104
|
}),
|
|
123
105
|
__metadata("design:type", String)
|
|
@@ -1,9 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
CRITICAL = 1,// Never remove (user identity, preferences)
|
|
3
|
-
HIGH = 2,// Recent/active events, main creators
|
|
4
|
-
MEDIUM = 3,// Older events, less active creators
|
|
5
|
-
LOW = 4
|
|
6
|
-
}
|
|
1
|
+
import { TagPriority, TagCategory } from '../../enums/tag-priority.enum';
|
|
7
2
|
export interface PrioritizedTag {
|
|
8
3
|
tag: string;
|
|
9
4
|
priority: TagPriority;
|
|
@@ -11,15 +6,6 @@ export interface PrioritizedTag {
|
|
|
11
6
|
createdAt: number;
|
|
12
7
|
category: TagCategory;
|
|
13
8
|
}
|
|
14
|
-
export declare enum TagCategory {
|
|
15
|
-
USER_IDENTITY = "user_identity",// user:, addr:, chain:
|
|
16
|
-
PREFERENCES = "preferences",// pref:
|
|
17
|
-
ACTIVE_EVENT = "active_event",// event: (current/upcoming)
|
|
18
|
-
PAST_EVENT = "past_event",// event: (completed)
|
|
19
|
-
ACTIVE_CREATOR = "active_creator",// creator: (recent activity)
|
|
20
|
-
INACTIVE_CREATOR = "inactive_creator",// creator: (old)
|
|
21
|
-
EVENT_STATUS = "event_status"
|
|
22
|
-
}
|
|
23
9
|
export declare class TagManager {
|
|
24
10
|
private static readonly MAX_TAGS;
|
|
25
11
|
static prioritizeTags(tags: PrioritizedTag[]): PrioritizedTag[];
|
|
@@ -1,23 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TagManager =
|
|
4
|
-
|
|
5
|
-
(function (TagPriority) {
|
|
6
|
-
TagPriority[TagPriority["CRITICAL"] = 1] = "CRITICAL";
|
|
7
|
-
TagPriority[TagPriority["HIGH"] = 2] = "HIGH";
|
|
8
|
-
TagPriority[TagPriority["MEDIUM"] = 3] = "MEDIUM";
|
|
9
|
-
TagPriority[TagPriority["LOW"] = 4] = "LOW";
|
|
10
|
-
})(TagPriority || (exports.TagPriority = TagPriority = {}));
|
|
11
|
-
var TagCategory;
|
|
12
|
-
(function (TagCategory) {
|
|
13
|
-
TagCategory["USER_IDENTITY"] = "user_identity";
|
|
14
|
-
TagCategory["PREFERENCES"] = "preferences";
|
|
15
|
-
TagCategory["ACTIVE_EVENT"] = "active_event";
|
|
16
|
-
TagCategory["PAST_EVENT"] = "past_event";
|
|
17
|
-
TagCategory["ACTIVE_CREATOR"] = "active_creator";
|
|
18
|
-
TagCategory["INACTIVE_CREATOR"] = "inactive_creator";
|
|
19
|
-
TagCategory["EVENT_STATUS"] = "event_status";
|
|
20
|
-
})(TagCategory || (exports.TagCategory = TagCategory = {}));
|
|
3
|
+
exports.TagManager = void 0;
|
|
4
|
+
const tag_priority_enum_1 = require("../../enums/tag-priority.enum");
|
|
21
5
|
class TagManager {
|
|
22
6
|
static prioritizeTags(tags) {
|
|
23
7
|
return tags.sort((a, b) => {
|
|
@@ -45,16 +29,16 @@ class TagManager {
|
|
|
45
29
|
tag.startsWith('chain:')) {
|
|
46
30
|
return {
|
|
47
31
|
tag,
|
|
48
|
-
priority: TagPriority.CRITICAL,
|
|
49
|
-
category: TagCategory.USER_IDENTITY,
|
|
32
|
+
priority: tag_priority_enum_1.TagPriority.CRITICAL,
|
|
33
|
+
category: tag_priority_enum_1.TagCategory.USER_IDENTITY,
|
|
50
34
|
createdAt: now,
|
|
51
35
|
};
|
|
52
36
|
}
|
|
53
37
|
if (tag.startsWith('pref:')) {
|
|
54
38
|
return {
|
|
55
39
|
tag,
|
|
56
|
-
priority: TagPriority.CRITICAL,
|
|
57
|
-
category: TagCategory.PREFERENCES,
|
|
40
|
+
priority: tag_priority_enum_1.TagPriority.CRITICAL,
|
|
41
|
+
category: tag_priority_enum_1.TagCategory.PREFERENCES,
|
|
58
42
|
createdAt: now,
|
|
59
43
|
};
|
|
60
44
|
}
|
|
@@ -62,32 +46,32 @@ class TagManager {
|
|
|
62
46
|
// TODO: Check if event is active/upcoming vs past
|
|
63
47
|
return {
|
|
64
48
|
tag,
|
|
65
|
-
priority: TagPriority.HIGH, // Assume active for now
|
|
66
|
-
category: TagCategory.ACTIVE_EVENT,
|
|
49
|
+
priority: tag_priority_enum_1.TagPriority.HIGH, // Assume active for now
|
|
50
|
+
category: tag_priority_enum_1.TagCategory.ACTIVE_EVENT,
|
|
67
51
|
createdAt: now,
|
|
68
52
|
};
|
|
69
53
|
}
|
|
70
54
|
if (tag.startsWith('creator:')) {
|
|
71
55
|
return {
|
|
72
56
|
tag,
|
|
73
|
-
priority: TagPriority.MEDIUM,
|
|
74
|
-
category: TagCategory.ACTIVE_CREATOR,
|
|
57
|
+
priority: tag_priority_enum_1.TagPriority.MEDIUM,
|
|
58
|
+
category: tag_priority_enum_1.TagCategory.ACTIVE_CREATOR,
|
|
75
59
|
createdAt: now,
|
|
76
60
|
};
|
|
77
61
|
}
|
|
78
62
|
if (tag.startsWith('status:')) {
|
|
79
63
|
return {
|
|
80
64
|
tag,
|
|
81
|
-
priority: TagPriority.LOW, // Status tags are least important
|
|
82
|
-
category: TagCategory.EVENT_STATUS,
|
|
65
|
+
priority: tag_priority_enum_1.TagPriority.LOW, // Status tags are least important
|
|
66
|
+
category: tag_priority_enum_1.TagCategory.EVENT_STATUS,
|
|
83
67
|
createdAt: now,
|
|
84
68
|
};
|
|
85
69
|
}
|
|
86
70
|
// Default for unknown tag patterns
|
|
87
71
|
return {
|
|
88
72
|
tag,
|
|
89
|
-
priority: TagPriority.MEDIUM,
|
|
90
|
-
category: TagCategory.ACTIVE_EVENT,
|
|
73
|
+
priority: tag_priority_enum_1.TagPriority.MEDIUM,
|
|
74
|
+
category: tag_priority_enum_1.TagCategory.ACTIVE_EVENT,
|
|
91
75
|
createdAt: now,
|
|
92
76
|
};
|
|
93
77
|
});
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { MetadataDto } from '../../requests/collection/listings';
|
|
2
2
|
import { NftMedia } from '../../cosmos-db/documents/token/nft-details.doc';
|
|
3
3
|
import { StatisticsDto } from '../../common/statistics';
|
|
4
|
-
import { ActivityChain } from '../../common
|
|
4
|
+
import { ActivityChain } from '../../enums/common.enum';
|
|
5
5
|
declare class CollectionDto {
|
|
6
6
|
collection: string;
|
|
7
7
|
name: string;
|
|
@@ -16,7 +16,7 @@ const class_validator_1 = require("class-validator");
|
|
|
16
16
|
const listings_1 = require("../../requests/collection/listings");
|
|
17
17
|
const nft_details_doc_1 = require("../../cosmos-db/documents/token/nft-details.doc");
|
|
18
18
|
const statistics_1 = require("../../common/statistics");
|
|
19
|
-
const
|
|
19
|
+
const common_enum_1 = require("../../enums/common.enum");
|
|
20
20
|
class CollectionDto {
|
|
21
21
|
}
|
|
22
22
|
__decorate([
|
|
@@ -54,7 +54,7 @@ __decorate([
|
|
|
54
54
|
__metadata("design:type", Number)
|
|
55
55
|
], CollectionDto.prototype, "floorPrice", void 0);
|
|
56
56
|
__decorate([
|
|
57
|
-
(0, swagger_1.ApiProperty)({ enum:
|
|
57
|
+
(0, swagger_1.ApiProperty)({ enum: common_enum_1.ActivityChain, required: false }),
|
|
58
58
|
__metadata("design:type", String)
|
|
59
59
|
], CollectionDto.prototype, "chain", void 0);
|
|
60
60
|
class UserDto {
|
|
@@ -89,7 +89,7 @@ __decorate([
|
|
|
89
89
|
__metadata("design:type", String)
|
|
90
90
|
], UserDto.prototype, "addressTrimmed", void 0);
|
|
91
91
|
__decorate([
|
|
92
|
-
(0, swagger_1.ApiProperty)({ enum:
|
|
92
|
+
(0, swagger_1.ApiProperty)({ enum: common_enum_1.ActivityChain, required: false }),
|
|
93
93
|
__metadata("design:type", String)
|
|
94
94
|
], UserDto.prototype, "chain", void 0);
|
|
95
95
|
class CreatorDto {
|
|
@@ -137,7 +137,7 @@ __decorate([
|
|
|
137
137
|
__metadata("design:type", String)
|
|
138
138
|
], CreatorDto.prototype, "profile", void 0);
|
|
139
139
|
__decorate([
|
|
140
|
-
(0, swagger_1.ApiProperty)({ enum:
|
|
140
|
+
(0, swagger_1.ApiProperty)({ enum: common_enum_1.ActivityChain, required: false }),
|
|
141
141
|
__metadata("design:type", String)
|
|
142
142
|
], CreatorDto.prototype, "chain", void 0);
|
|
143
143
|
class NftDto {
|
|
@@ -177,7 +177,7 @@ __decorate([
|
|
|
177
177
|
__metadata("design:type", listings_1.MetadataDto)
|
|
178
178
|
], NftDto.prototype, "metadata", void 0);
|
|
179
179
|
__decorate([
|
|
180
|
-
(0, swagger_1.ApiProperty)({ enum:
|
|
180
|
+
(0, swagger_1.ApiProperty)({ enum: common_enum_1.ActivityChain, required: false }),
|
|
181
181
|
__metadata("design:type", String)
|
|
182
182
|
], NftDto.prototype, "chain", void 0);
|
|
183
183
|
class GlobalSearchResourcesDto {
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.StakingCreatorDoc = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const staking_data_type_enum_1 = require("
|
|
14
|
+
const staking_data_type_enum_1 = require("../../enums/staking-data-type.enum");
|
|
15
15
|
class StakingCreatorDoc {
|
|
16
16
|
constructor(props) {
|
|
17
17
|
this.dataType = staking_data_type_enum_1.StakingDataType.Creator;
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.TransactionProcessStatus = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const
|
|
15
|
+
const transaction_status_enum_1 = require("../../enums/transaction-status.enum");
|
|
16
16
|
class TransactionProcessStatus {
|
|
17
17
|
constructor(init) {
|
|
18
18
|
this.reason = '';
|
|
@@ -28,9 +28,9 @@ __decorate([
|
|
|
28
28
|
__decorate([
|
|
29
29
|
(0, swagger_1.ApiProperty)({
|
|
30
30
|
description: 'The status of the transaction',
|
|
31
|
-
enum:
|
|
31
|
+
enum: transaction_status_enum_1.TransactionStatus,
|
|
32
32
|
enumName: 'TransactionStatus',
|
|
33
33
|
}),
|
|
34
|
-
(0, class_validator_1.IsEnum)(
|
|
34
|
+
(0, class_validator_1.IsEnum)(transaction_status_enum_1.TransactionStatus),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
36
|
], TransactionProcessStatus.prototype, "status", void 0);
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.BatchTransactionResponse = exports.TransactionSendResult = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const
|
|
15
|
+
const transaction_status_enum_1 = require("../../enums/transaction-status.enum");
|
|
16
16
|
class TransactionSendResult {
|
|
17
17
|
constructor(init) {
|
|
18
18
|
this.receiver = '';
|
|
@@ -46,10 +46,10 @@ __decorate([
|
|
|
46
46
|
__decorate([
|
|
47
47
|
(0, swagger_1.ApiProperty)({
|
|
48
48
|
description: 'The status of the transaction',
|
|
49
|
-
enum:
|
|
49
|
+
enum: transaction_status_enum_1.TransactionStatus,
|
|
50
50
|
enumName: 'TransactionStatus',
|
|
51
51
|
}),
|
|
52
|
-
(0, class_validator_1.IsEnum)(
|
|
52
|
+
(0, class_validator_1.IsEnum)(transaction_status_enum_1.TransactionStatus),
|
|
53
53
|
__metadata("design:type", String)
|
|
54
54
|
], TransactionSendResult.prototype, "status", void 0);
|
|
55
55
|
__decorate([
|
|
@@ -12,7 +12,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Web2UserAccountDto = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const linked_account_type_enum_1 = require("
|
|
15
|
+
const linked_account_type_enum_1 = require("../../enums/linked-account-type.enum");
|
|
16
16
|
class Web2UserAccountDto {
|
|
17
17
|
}
|
|
18
18
|
exports.Web2UserAccountDto = Web2UserAccountDto;
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.Web2UserAccount = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const linked_account_type_enum_1 = require("
|
|
14
|
+
const linked_account_type_enum_1 = require("../../enums/linked-account-type.enum");
|
|
15
15
|
class Web2UserAccount {
|
|
16
16
|
constructor(props) {
|
|
17
17
|
Object.assign(this, props);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LinkedAccountType } from '
|
|
2
|
-
import { WalletClientType } from '
|
|
1
|
+
import { LinkedAccountType } from '../../enums/linked-account-type.enum';
|
|
2
|
+
import { WalletClientType } from '../../enums/wallet-client-type.enum';
|
|
3
3
|
export declare class Web2UserWallet {
|
|
4
4
|
type: LinkedAccountType.WALLET;
|
|
5
5
|
address: string;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LinkedAccountType } from '
|
|
2
|
-
import { WalletClientType } from '
|
|
1
|
+
import { LinkedAccountType } from '../../enums/linked-account-type.enum';
|
|
2
|
+
import { WalletClientType } from '../../enums/wallet-client-type.enum';
|
|
3
3
|
export declare class Web2WalletDto {
|
|
4
4
|
type: LinkedAccountType;
|
|
5
5
|
address: string;
|
|
@@ -12,8 +12,8 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.Web2WalletDto = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const class_validator_1 = require("class-validator");
|
|
15
|
-
const linked_account_type_enum_1 = require("
|
|
16
|
-
const wallet_client_type_enum_1 = require("
|
|
15
|
+
const linked_account_type_enum_1 = require("../../enums/linked-account-type.enum");
|
|
16
|
+
const wallet_client_type_enum_1 = require("../../enums/wallet-client-type.enum");
|
|
17
17
|
class Web2WalletDto {
|
|
18
18
|
}
|
|
19
19
|
exports.Web2WalletDto = Web2WalletDto;
|
|
@@ -13,8 +13,8 @@ exports.Web2UserWallet = 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 linked_account_type_enum_1 = require("
|
|
17
|
-
const wallet_client_type_enum_1 = require("
|
|
16
|
+
const linked_account_type_enum_1 = require("../../enums/linked-account-type.enum");
|
|
17
|
+
const wallet_client_type_enum_1 = require("../../enums/wallet-client-type.enum");
|
|
18
18
|
class Web2UserWallet {
|
|
19
19
|
constructor(props) {
|
|
20
20
|
Object.assign(this, props);
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
export interface ProviderLiquidStaking {
|
|
2
|
+
APR: number;
|
|
3
|
+
totalStaked: number;
|
|
4
|
+
}
|
|
5
|
+
export declare class ProviderDto {
|
|
6
|
+
address: string;
|
|
7
|
+
profile?: string;
|
|
8
|
+
name?: string;
|
|
9
|
+
delegationCap?: number;
|
|
10
|
+
nodes?: number;
|
|
11
|
+
apr?: number;
|
|
12
|
+
identity?: string;
|
|
13
|
+
totalStaked: number;
|
|
14
|
+
protocolStakedAmount: number;
|
|
15
|
+
}
|