@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
package/dist/cache/keys.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.WalletTradingStats = void 0;
|
|
4
|
-
const
|
|
4
|
+
const common_enum_1 = require("../../enums/common.enum");
|
|
5
5
|
class WalletTradingStats {
|
|
6
6
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
7
7
|
constructor(data) {
|
|
@@ -61,7 +61,7 @@ class WalletTradingStats {
|
|
|
61
61
|
usdValue: data.SellerMinPriceData?.UsdValue ?? null,
|
|
62
62
|
}
|
|
63
63
|
: null;
|
|
64
|
-
this.chain = data.chain ??
|
|
64
|
+
this.chain = data.chain ?? common_enum_1.ActivityChain.MVX;
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
67
|
exports.WalletTradingStats = WalletTradingStats;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { ActivityChain } from '../../../common
|
|
2
|
-
import { NftActivityEventSource } from '../../../
|
|
1
|
+
import { ActivityChain } from '../../../enums/common.enum';
|
|
2
|
+
import { NftActivityEventSource } from '../../../enums/event-source.enum';
|
|
3
3
|
import { NftActivityData, NftActivityDataHydrated } from '../../../requests/nft-activity-data/nft-activity-data';
|
|
4
|
-
import { NftActivityType } from '../../../
|
|
4
|
+
import { NftActivityType } from '../../../enums/nft-activity-type.enum';
|
|
5
5
|
import { OwnerDto } from '../../../common/owner.dto';
|
|
6
6
|
declare class NftActivityDocBase {
|
|
7
7
|
timestamp: number;
|
|
@@ -11,17 +11,17 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.NftActivityDocHydrated = exports.NftActivityDoc = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const
|
|
14
|
+
const common_enum_1 = require("../../../enums/common.enum");
|
|
15
15
|
const uuid_1 = require("uuid");
|
|
16
|
-
const event_source_enum_1 = require("../../../
|
|
16
|
+
const event_source_enum_1 = require("../../../enums/event-source.enum");
|
|
17
17
|
const nft_activity_data_1 = require("../../../requests/nft-activity-data/nft-activity-data");
|
|
18
|
-
const nft_activity_type_enum_1 = require("../../../
|
|
18
|
+
const nft_activity_type_enum_1 = require("../../../enums/nft-activity-type.enum");
|
|
19
19
|
class NftActivityDocBase {
|
|
20
20
|
constructor(data) {
|
|
21
|
-
this.chain =
|
|
21
|
+
this.chain = common_enum_1.ActivityChain.MVX;
|
|
22
22
|
Object.assign(this, data);
|
|
23
23
|
this.id = (0, uuid_1.v4)();
|
|
24
|
-
this.chain = this.chain ||
|
|
24
|
+
this.chain = this.chain || common_enum_1.ActivityChain.MVX;
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
__decorate([
|
|
@@ -55,8 +55,8 @@ __decorate([
|
|
|
55
55
|
], NftActivityDocBase.prototype, "eventOrder", void 0);
|
|
56
56
|
__decorate([
|
|
57
57
|
(0, swagger_1.ApiProperty)({
|
|
58
|
-
example:
|
|
59
|
-
enum:
|
|
58
|
+
example: common_enum_1.ActivityChain.MVX,
|
|
59
|
+
enum: common_enum_1.ActivityChain,
|
|
60
60
|
description: 'Blockchain network where the activity occurred',
|
|
61
61
|
}),
|
|
62
62
|
__metadata("design:type", String)
|
|
@@ -13,7 +13,7 @@ exports.ChatMessageContentDto = 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 chat_message_content_type_enum_1 = require("
|
|
16
|
+
const chat_message_content_type_enum_1 = require("../../../enums/chat-message-content-type.enum");
|
|
17
17
|
const chat_message_reply_dto_1 = require("./chat-message-reply.dto");
|
|
18
18
|
class ChatMessageContentDto {
|
|
19
19
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { ChatDataType } from '
|
|
2
|
-
import { ChatMessageContentType } from '
|
|
1
|
+
import { ChatDataType } from '../../../enums/chat-data-type.enum';
|
|
2
|
+
import { ChatMessageContentType } from '../../../enums/chat-message-content-type.enum';
|
|
3
3
|
import { OwnerDto } from '../../../common/owner.dto';
|
|
4
4
|
declare class MessageContentReplyToDto {
|
|
5
5
|
type: string;
|
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.ChatMessageDocHydrated = exports.ChatMessageDoc = exports.MessageDto = void 0;
|
|
13
13
|
const uuid_1 = require("uuid");
|
|
14
|
-
const chat_data_type_enum_1 = require("
|
|
14
|
+
const chat_data_type_enum_1 = require("../../../enums/chat-data-type.enum");
|
|
15
15
|
const owner_dto_1 = require("../../../common/owner.dto");
|
|
16
16
|
const swagger_1 = require("@nestjs/swagger");
|
|
17
17
|
class MessageContentReplyToDto {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.GroupChatProfileDoc = void 0;
|
|
4
|
-
const chat_data_type_enum_1 = require("
|
|
4
|
+
const chat_data_type_enum_1 = require("../../../enums/chat-data-type.enum");
|
|
5
5
|
class GroupChatProfileDoc {
|
|
6
6
|
constructor(props) {
|
|
7
7
|
this.dataType = chat_data_type_enum_1.ChatDataType.GROUP_CHAT_PROFILE;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UserBlockDocHydrated = exports.UserBlockDoc = void 0;
|
|
4
|
-
const chat_data_type_enum_1 = require("
|
|
4
|
+
const chat_data_type_enum_1 = require("../../../enums/chat-data-type.enum");
|
|
5
5
|
class UserBlockDocBase {
|
|
6
6
|
constructor(props) {
|
|
7
7
|
this.dataType = chat_data_type_enum_1.ChatDataType.BLOCKED_USER;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OwnerDto } from '../../../common/owner.dto';
|
|
2
|
-
import { ChatDataType } from '
|
|
2
|
+
import { ChatDataType } from '../../../enums/chat-data-type.enum';
|
|
3
3
|
import { MessageDto } from './chat-message.doc';
|
|
4
4
|
declare class UserConversationDocBase {
|
|
5
5
|
dataType: ChatDataType;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.UserConversationDocHydrated = exports.UserConversationDoc = void 0;
|
|
4
|
-
const chat_data_type_enum_1 = require("
|
|
4
|
+
const chat_data_type_enum_1 = require("../../../enums/chat-data-type.enum");
|
|
5
5
|
class UserConversationDocBase {
|
|
6
6
|
constructor(props) {
|
|
7
7
|
this.dataType = chat_data_type_enum_1.ChatDataType.CONVERSATION;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ActivityChain } from '../../../common
|
|
1
|
+
import { ActivityChain } from '../../../enums/common.enum';
|
|
2
2
|
import { NftMetadataAttributes } from '../token/nft-metadata-attributes';
|
|
3
|
-
import { CollectionDataType } from '
|
|
3
|
+
import { CollectionDataType } from '../../../enums/collection.enum';
|
|
4
4
|
import { CollectionProfileDoc } from './profile';
|
|
5
5
|
import { OwnerDto } from '../../../common/owner.dto';
|
|
6
6
|
declare class GlobalOfferDocBase {
|
|
@@ -11,15 +11,15 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.GlobalOfferDocHydrated = exports.GlobalOfferDoc = 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_metadata_attributes_1 = require("../token/nft-metadata-attributes");
|
|
16
|
-
const
|
|
16
|
+
const collection_enum_1 = require("../../../enums/collection.enum");
|
|
17
17
|
class GlobalOfferDocBase {
|
|
18
18
|
constructor(props) {
|
|
19
|
-
this.dataType =
|
|
19
|
+
this.dataType = collection_enum_1.CollectionDataType.GlobalOffer;
|
|
20
20
|
this.attributes = [];
|
|
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.collection}-${this.offerId}-${this.marketplace}-${this.dataType}`;
|
|
25
25
|
}
|
|
@@ -27,8 +27,8 @@ class GlobalOfferDocBase {
|
|
|
27
27
|
__decorate([
|
|
28
28
|
(0, swagger_1.ApiProperty)({
|
|
29
29
|
description: 'Data type identifier for the global offer',
|
|
30
|
-
enum:
|
|
31
|
-
example:
|
|
30
|
+
enum: collection_enum_1.CollectionDataType,
|
|
31
|
+
example: collection_enum_1.CollectionDataType.GlobalOffer,
|
|
32
32
|
}),
|
|
33
33
|
__metadata("design:type", String)
|
|
34
34
|
], GlobalOfferDocBase.prototype, "dataType", void 0);
|
|
@@ -128,8 +128,8 @@ __decorate([
|
|
|
128
128
|
__decorate([
|
|
129
129
|
(0, swagger_1.ApiProperty)({
|
|
130
130
|
description: 'Blockchain chain',
|
|
131
|
-
enum:
|
|
132
|
-
example:
|
|
131
|
+
enum: common_enum_1.ActivityChain,
|
|
132
|
+
example: common_enum_1.ActivityChain.MVX,
|
|
133
133
|
}),
|
|
134
134
|
__metadata("design:type", String)
|
|
135
135
|
], GlobalOfferDocBase.prototype, "chain", void 0);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EgldOrEsdtTokenPayment } from '../../../common/tokenPayent';
|
|
2
|
-
import { CollectionDataType } from '
|
|
2
|
+
import { CollectionDataType } from '../../../enums/collection.enum';
|
|
3
3
|
import { CollectionProfileDoc } from './profile';
|
|
4
4
|
import { CreatorProfileDoc } from '../user/user-creator-profile.doc';
|
|
5
5
|
import { MintStageDto } from '../../../requests/collection/creator-drop-info';
|
|
@@ -12,10 +12,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
12
12
|
exports.CollectionMintProfileDocWithStages = exports.CollectionMintProfileDocHydrated = exports.CollectionMintProfileDoc = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
14
|
const tokenPayent_1 = require("../../../common/tokenPayent");
|
|
15
|
-
const
|
|
15
|
+
const collection_enum_1 = require("../../../enums/collection.enum");
|
|
16
16
|
class CollectionMintProfileDoc {
|
|
17
17
|
constructor(props) {
|
|
18
|
-
this.dataType =
|
|
18
|
+
this.dataType = collection_enum_1.CollectionDataType.MintProfile;
|
|
19
19
|
this.prices = [];
|
|
20
20
|
this.isSoldOut = false;
|
|
21
21
|
Object.assign(this, props);
|
|
@@ -29,8 +29,8 @@ exports.CollectionMintProfileDoc = CollectionMintProfileDoc;
|
|
|
29
29
|
__decorate([
|
|
30
30
|
(0, swagger_1.ApiProperty)({
|
|
31
31
|
description: 'Data type identifier for the mint profile',
|
|
32
|
-
enum:
|
|
33
|
-
example:
|
|
32
|
+
enum: collection_enum_1.CollectionDataType,
|
|
33
|
+
example: collection_enum_1.CollectionDataType.MintProfile,
|
|
34
34
|
}),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
36
|
], CollectionMintProfileDoc.prototype, "dataType", void 0);
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { EsdtTokenType, EsdtTokenSubType, ActivityChain } from '../../../common
|
|
1
|
+
import { EsdtTokenType, EsdtTokenSubType, ActivityChain } from '../../../enums/common.enum';
|
|
2
2
|
import { SocialsDto } from '../../../common/socials';
|
|
3
3
|
import { StatisticsDto } from '../../../common/statistics';
|
|
4
4
|
import { XoxnoMarketplaceScCollectionConfig } from './collectionConfig';
|
|
5
|
-
import { CollectionDataType } from '
|
|
5
|
+
import { CollectionDataType } from '../../../enums/collection.enum';
|
|
6
6
|
export declare class Rule {
|
|
7
7
|
type: 'kiosk_lock_rule' | 'royalty_rule';
|
|
8
8
|
amount_bp?: number;
|
|
@@ -11,11 +11,11 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CollectionProfileDoc = exports.TransferPolicy = exports.Rule = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const
|
|
14
|
+
const common_enum_1 = require("../../../enums/common.enum");
|
|
15
15
|
const socials_1 = require("../../../common/socials");
|
|
16
16
|
const statistics_1 = require("../../../common/statistics");
|
|
17
17
|
const collectionConfig_1 = require("./collectionConfig");
|
|
18
|
-
const
|
|
18
|
+
const collection_enum_1 = require("../../../enums/collection.enum");
|
|
19
19
|
class Rule {
|
|
20
20
|
}
|
|
21
21
|
exports.Rule = Rule;
|
|
@@ -52,7 +52,7 @@ __decorate([
|
|
|
52
52
|
], TransferPolicy.prototype, "is_origin_byte", void 0);
|
|
53
53
|
class CollectionProfileDoc {
|
|
54
54
|
constructor(props) {
|
|
55
|
-
this.dataType =
|
|
55
|
+
this.dataType = collection_enum_1.CollectionDataType.CollectionProfile;
|
|
56
56
|
this.collection = '';
|
|
57
57
|
this.originalCollection = '';
|
|
58
58
|
this.name = '';
|
|
@@ -66,7 +66,7 @@ class CollectionProfileDoc {
|
|
|
66
66
|
holdersCount: 0,
|
|
67
67
|
}),
|
|
68
68
|
});
|
|
69
|
-
this.chain =
|
|
69
|
+
this.chain = common_enum_1.ActivityChain.MVX;
|
|
70
70
|
this.transferPolicies = [];
|
|
71
71
|
this.owner = '';
|
|
72
72
|
this.creator = '';
|
|
@@ -95,8 +95,8 @@ exports.CollectionProfileDoc = CollectionProfileDoc;
|
|
|
95
95
|
__decorate([
|
|
96
96
|
(0, swagger_1.ApiProperty)({
|
|
97
97
|
description: 'Data type identifier for the collection profile',
|
|
98
|
-
enum:
|
|
99
|
-
example:
|
|
98
|
+
enum: collection_enum_1.CollectionDataType,
|
|
99
|
+
example: collection_enum_1.CollectionDataType.CollectionProfile,
|
|
100
100
|
}),
|
|
101
101
|
__metadata("design:type", String)
|
|
102
102
|
], CollectionProfileDoc.prototype, "dataType", void 0);
|
|
@@ -152,17 +152,17 @@ __decorate([
|
|
|
152
152
|
__decorate([
|
|
153
153
|
(0, swagger_1.ApiProperty)({
|
|
154
154
|
description: 'Token type',
|
|
155
|
-
enum:
|
|
156
|
-
example:
|
|
155
|
+
enum: common_enum_1.EsdtTokenType,
|
|
156
|
+
example: common_enum_1.EsdtTokenType.NonFungibleESDT,
|
|
157
157
|
}),
|
|
158
158
|
__metadata("design:type", String)
|
|
159
159
|
], CollectionProfileDoc.prototype, "type", void 0);
|
|
160
160
|
__decorate([
|
|
161
161
|
(0, swagger_1.ApiProperty)({
|
|
162
162
|
description: 'Token subtype',
|
|
163
|
-
enum:
|
|
163
|
+
enum: common_enum_1.EsdtTokenSubType,
|
|
164
164
|
required: false,
|
|
165
|
-
example:
|
|
165
|
+
example: common_enum_1.EsdtTokenSubType.NonFungibleESDTv2,
|
|
166
166
|
}),
|
|
167
167
|
__metadata("design:type", String)
|
|
168
168
|
], CollectionProfileDoc.prototype, "subType", void 0);
|
|
@@ -190,8 +190,8 @@ __decorate([
|
|
|
190
190
|
__decorate([
|
|
191
191
|
(0, swagger_1.ApiProperty)({
|
|
192
192
|
description: 'Blockchain chain',
|
|
193
|
-
enum:
|
|
194
|
-
example:
|
|
193
|
+
enum: common_enum_1.ActivityChain,
|
|
194
|
+
example: common_enum_1.ActivityChain.MVX,
|
|
195
195
|
}),
|
|
196
196
|
__metadata("design:type", String)
|
|
197
197
|
], CollectionProfileDoc.prototype, "chain", void 0);
|
|
@@ -11,8 +11,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CollectionStatsDocHydrated = exports.CollectionStatsDoc = exports.TradingStatistics = exports.AllTimeHigh = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const
|
|
15
|
-
const
|
|
14
|
+
const common_enum_1 = require("../../../enums/common.enum");
|
|
15
|
+
const collection_enum_1 = require("../../../enums/collection.enum");
|
|
16
16
|
const profile_1 = require("./profile");
|
|
17
17
|
class TradingDataSummary {
|
|
18
18
|
constructor() {
|
|
@@ -204,11 +204,11 @@ __decorate([
|
|
|
204
204
|
], TradingStatistics.prototype, "year", void 0);
|
|
205
205
|
class CollectionStatsDoc {
|
|
206
206
|
constructor(props) {
|
|
207
|
-
this.dataType =
|
|
207
|
+
this.dataType = collection_enum_1.CollectionDataType.CollectionStats;
|
|
208
208
|
this.floorPrice = 0;
|
|
209
209
|
this.listedCount = 0;
|
|
210
210
|
this.tradingStats = new TradingStatistics();
|
|
211
|
-
this.chain =
|
|
211
|
+
this.chain = common_enum_1.ActivityChain.MVX;
|
|
212
212
|
if (!props?.collection) {
|
|
213
213
|
throw new Error('collection is required');
|
|
214
214
|
}
|
|
@@ -221,7 +221,7 @@ exports.CollectionStatsDoc = CollectionStatsDoc;
|
|
|
221
221
|
__decorate([
|
|
222
222
|
(0, swagger_1.ApiProperty)({
|
|
223
223
|
description: 'Data type identifier for collection stats',
|
|
224
|
-
example:
|
|
224
|
+
example: collection_enum_1.CollectionDataType.CollectionStats,
|
|
225
225
|
}),
|
|
226
226
|
__metadata("design:type", String)
|
|
227
227
|
], CollectionStatsDoc.prototype, "dataType", void 0);
|
|
@@ -257,8 +257,8 @@ __decorate([
|
|
|
257
257
|
__decorate([
|
|
258
258
|
(0, swagger_1.ApiProperty)({
|
|
259
259
|
description: 'Blockchain chain',
|
|
260
|
-
enum:
|
|
261
|
-
example:
|
|
260
|
+
enum: common_enum_1.ActivityChain,
|
|
261
|
+
example: common_enum_1.ActivityChain.MVX,
|
|
262
262
|
}),
|
|
263
263
|
__metadata("design:type", String)
|
|
264
264
|
], CollectionStatsDoc.prototype, "chain", void 0);
|
|
@@ -11,10 +11,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.CollectionVerificationDoc = void 0;
|
|
13
13
|
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
-
const
|
|
14
|
+
const collection_enum_1 = require("../../../enums/collection.enum");
|
|
15
15
|
class CollectionVerificationDoc {
|
|
16
16
|
constructor(props) {
|
|
17
|
-
this.dataType =
|
|
17
|
+
this.dataType = collection_enum_1.CollectionDataType.CollectionVerification;
|
|
18
18
|
Object.assign(this, props);
|
|
19
19
|
this.id = `${this.collection}-${this.dataType}`;
|
|
20
20
|
}
|
|
@@ -23,8 +23,8 @@ exports.CollectionVerificationDoc = CollectionVerificationDoc;
|
|
|
23
23
|
__decorate([
|
|
24
24
|
(0, swagger_1.ApiProperty)({
|
|
25
25
|
description: 'Data type identifier for the collection verification',
|
|
26
|
-
enum:
|
|
27
|
-
example:
|
|
26
|
+
enum: collection_enum_1.CollectionDataType,
|
|
27
|
+
example: collection_enum_1.CollectionDataType.CollectionVerification,
|
|
28
28
|
}),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
30
|
], CollectionVerificationDoc.prototype, "dataType", void 0);
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { BinanceBizStatus, BinanceBizType } from '../../../enums/binance.enum';
|
|
1
2
|
interface PaymentInstruction {
|
|
2
3
|
currency: string;
|
|
3
4
|
amount: number;
|
|
@@ -32,15 +33,4 @@ export interface BinanceRequestParameters {
|
|
|
32
33
|
data: string;
|
|
33
34
|
childAttribute?: BinanceNotificationData;
|
|
34
35
|
}
|
|
35
|
-
export declare enum BinanceBizType {
|
|
36
|
-
PAY = "PAY",
|
|
37
|
-
REFUND = "REFUND",
|
|
38
|
-
PAYOUT = "PAYOUT",
|
|
39
|
-
PAY_REFUND = "PAY_REFUND",
|
|
40
|
-
BALANCE = "BALANCE"
|
|
41
|
-
}
|
|
42
|
-
export declare enum BinanceBizStatus {
|
|
43
|
-
PAY_SUCCESS = "PAY_SUCCESS",
|
|
44
|
-
PAY_CLOSED = "PAY_CLOSED"
|
|
45
|
-
}
|
|
46
36
|
export {};
|
|
@@ -1,16 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.BinanceBizStatus = exports.BinanceBizType = void 0;
|
|
4
|
-
var BinanceBizType;
|
|
5
|
-
(function (BinanceBizType) {
|
|
6
|
-
BinanceBizType["PAY"] = "PAY";
|
|
7
|
-
BinanceBizType["REFUND"] = "REFUND";
|
|
8
|
-
BinanceBizType["PAYOUT"] = "PAYOUT";
|
|
9
|
-
BinanceBizType["PAY_REFUND"] = "PAY_REFUND";
|
|
10
|
-
BinanceBizType["BALANCE"] = "BALANCE";
|
|
11
|
-
})(BinanceBizType || (exports.BinanceBizType = BinanceBizType = {}));
|
|
12
|
-
var BinanceBizStatus;
|
|
13
|
-
(function (BinanceBizStatus) {
|
|
14
|
-
BinanceBizStatus["PAY_SUCCESS"] = "PAY_SUCCESS";
|
|
15
|
-
BinanceBizStatus["PAY_CLOSED"] = "PAY_CLOSED";
|
|
16
|
-
})(BinanceBizStatus || (exports.BinanceBizStatus = BinanceBizStatus = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { PaymentProvider } from '
|
|
2
|
-
import { PurchaseType } from '
|
|
1
|
+
import { PaymentProvider } from '../../../enums/payment-provider.enum';
|
|
2
|
+
import { PurchaseType } from '../../../enums/purchase-type.enum';
|
|
3
3
|
export declare class CallbackUrl {
|
|
4
4
|
success: string;
|
|
5
5
|
error: string;
|
|
@@ -13,8 +13,8 @@ exports.ExternalPaymentRequest = exports.TwispayEventTicketCustomData = exports.
|
|
|
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 payment_provider_enum_1 = require("
|
|
17
|
-
const purchase_type_enum_1 = require("
|
|
16
|
+
const payment_provider_enum_1 = require("../../../enums/payment-provider.enum");
|
|
17
|
+
const purchase_type_enum_1 = require("../../../enums/purchase-type.enum");
|
|
18
18
|
class CallbackUrl {
|
|
19
19
|
}
|
|
20
20
|
exports.CallbackUrl = CallbackUrl;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { LaunchpadCustomData, MarketplaceCustomData, TwispayEventTicketCustomData } from './external-payment-request';
|
|
2
|
-
import { ExternalPaymentInternalStatus } from '
|
|
3
|
-
import { PaymentProvider } from '
|
|
4
|
-
import { PurchaseType } from '
|
|
2
|
+
import { ExternalPaymentInternalStatus } from '../../../enums/external-payment-status.enum';
|
|
3
|
+
import { PaymentProvider } from '../../../enums/payment-provider.enum';
|
|
4
|
+
import { PurchaseType } from '../../../enums/purchase-type.enum';
|
|
5
5
|
export declare class ExternalPayment {
|
|
6
6
|
internalStatus: ExternalPaymentInternalStatus;
|
|
7
7
|
address: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { ItemType } from '../../../enums/external-payment-status.enum';
|
|
1
2
|
export interface TwispayCartItems {
|
|
2
3
|
item: string;
|
|
3
4
|
unitPrice: string;
|
|
@@ -7,7 +8,3 @@ export interface TwispayCartItems {
|
|
|
7
8
|
vatPercent?: number;
|
|
8
9
|
itemDescription: string;
|
|
9
10
|
}
|
|
10
|
-
export declare enum ItemType {
|
|
11
|
-
physical = "physical",
|
|
12
|
-
digital = "digital"
|
|
13
|
-
}
|
|
@@ -1,8 +1,2 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ItemType = void 0;
|
|
4
|
-
var ItemType;
|
|
5
|
-
(function (ItemType) {
|
|
6
|
-
ItemType["physical"] = "physical";
|
|
7
|
-
ItemType["digital"] = "digital";
|
|
8
|
-
})(ItemType || (exports.ItemType = ItemType = {}));
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import { TwispayTransactionStatus } from '../../../enums/twispay.enum';
|
|
1
2
|
import { ExternalPaymentRequest } from './external-payment-request';
|
|
2
|
-
import { TwispayTransactionStatus } from './twispay-transaction';
|
|
3
3
|
export interface TwispayCallBackData {
|
|
4
4
|
transactionStatus: TwispayTransactionStatus;
|
|
5
5
|
orderId: string;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { TwispayTransactionType, TwispayIntervalType } from '../../../enums/twispay.enum';
|
|
1
2
|
import { TwispayCartItems } from './twispay-cart';
|
|
2
3
|
export interface TwispayOrderDetails {
|
|
3
4
|
amount: number;
|
|
@@ -13,38 +14,3 @@ export interface TwispayOrderDetails {
|
|
|
13
14
|
firstBillDate?: string;
|
|
14
15
|
items?: TwispayCartItems[];
|
|
15
16
|
}
|
|
16
|
-
export declare enum TwispayTransactionType {
|
|
17
|
-
purchase = "purchase",
|
|
18
|
-
recurring = "recurring",
|
|
19
|
-
managed = "managed",
|
|
20
|
-
credit = "credit"
|
|
21
|
-
}
|
|
22
|
-
export declare enum TwispayCardTransactionMode {
|
|
23
|
-
auth = "auth",//only reserve the requested amount
|
|
24
|
-
authAndCapture = "authAndCapture",//also sends a settlement request
|
|
25
|
-
credit = "credit"
|
|
26
|
-
}
|
|
27
|
-
export declare enum TwispayIntervalType {
|
|
28
|
-
day = "day",
|
|
29
|
-
month = "month"
|
|
30
|
-
}
|
|
31
|
-
export declare enum TwispayTransactionStatus {
|
|
32
|
-
completeOk = "complete-ok",//complete, successful transaction
|
|
33
|
-
cancelOk = "cancel-ok",
|
|
34
|
-
refundOk = "refund-ok",
|
|
35
|
-
voidOk = "void-ok",//using refund on AUTH only transaction
|
|
36
|
-
chargeBack = "charge-back",
|
|
37
|
-
completeFailed = "complete-failed",//declined transaction, can be declined if there is a long period of time passed. usually capture has to be made within 7days
|
|
38
|
-
inProgress = "in-progress",//only the AUTH was made and it was successfully authorized - could be first status
|
|
39
|
-
pending3d = "3d-pending"
|
|
40
|
-
}
|
|
41
|
-
export declare enum TwispayTransactionRefundReason {
|
|
42
|
-
fraudConfirm = "fraud-confirm",
|
|
43
|
-
highlySuspicious = "highly-suspicious",
|
|
44
|
-
duplicatedTransaction = "duplicated-transaction",
|
|
45
|
-
customerDemand = "customer-demand",
|
|
46
|
-
testTransaction = "test-transaction",
|
|
47
|
-
completeFailed = "complete-failed",
|
|
48
|
-
cardExpired = "card-expired",
|
|
49
|
-
itemSoltOut = "The item is sold already"
|
|
50
|
-
}
|
|
@@ -1,48 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.TwispayTransactionRefundReason = exports.TwispayTransactionStatus = exports.TwispayIntervalType = exports.TwispayCardTransactionMode = exports.TwispayTransactionType = void 0;
|
|
4
3
|
// cardTransactionMode: TwispayCardTransactionMode;
|
|
5
4
|
// backUrl: string; // used to redirect the customers back to the merchant’s site; we also post an encrypted transaction result to this URL
|
|
6
5
|
// cardId?: number; //id of a previously used card for this customer
|
|
7
6
|
// invoiceEmail?: string; //an alternative email address to send invoice to
|
|
8
7
|
// custom?: string[]; //associative array of string values
|
|
9
|
-
var TwispayTransactionType;
|
|
10
|
-
(function (TwispayTransactionType) {
|
|
11
|
-
TwispayTransactionType["purchase"] = "purchase";
|
|
12
|
-
TwispayTransactionType["recurring"] = "recurring";
|
|
13
|
-
TwispayTransactionType["managed"] = "managed";
|
|
14
|
-
TwispayTransactionType["credit"] = "credit";
|
|
15
|
-
})(TwispayTransactionType || (exports.TwispayTransactionType = TwispayTransactionType = {}));
|
|
16
|
-
var TwispayCardTransactionMode;
|
|
17
|
-
(function (TwispayCardTransactionMode) {
|
|
18
|
-
TwispayCardTransactionMode["auth"] = "auth";
|
|
19
|
-
TwispayCardTransactionMode["authAndCapture"] = "authAndCapture";
|
|
20
|
-
TwispayCardTransactionMode["credit"] = "credit";
|
|
21
|
-
})(TwispayCardTransactionMode || (exports.TwispayCardTransactionMode = TwispayCardTransactionMode = {}));
|
|
22
|
-
var TwispayIntervalType;
|
|
23
|
-
(function (TwispayIntervalType) {
|
|
24
|
-
TwispayIntervalType["day"] = "day";
|
|
25
|
-
TwispayIntervalType["month"] = "month";
|
|
26
|
-
})(TwispayIntervalType || (exports.TwispayIntervalType = TwispayIntervalType = {}));
|
|
27
|
-
var TwispayTransactionStatus;
|
|
28
|
-
(function (TwispayTransactionStatus) {
|
|
29
|
-
TwispayTransactionStatus["completeOk"] = "complete-ok";
|
|
30
|
-
TwispayTransactionStatus["cancelOk"] = "cancel-ok";
|
|
31
|
-
TwispayTransactionStatus["refundOk"] = "refund-ok";
|
|
32
|
-
TwispayTransactionStatus["voidOk"] = "void-ok";
|
|
33
|
-
TwispayTransactionStatus["chargeBack"] = "charge-back";
|
|
34
|
-
TwispayTransactionStatus["completeFailed"] = "complete-failed";
|
|
35
|
-
TwispayTransactionStatus["inProgress"] = "in-progress";
|
|
36
|
-
TwispayTransactionStatus["pending3d"] = "3d-pending";
|
|
37
|
-
})(TwispayTransactionStatus || (exports.TwispayTransactionStatus = TwispayTransactionStatus = {}));
|
|
38
|
-
var TwispayTransactionRefundReason;
|
|
39
|
-
(function (TwispayTransactionRefundReason) {
|
|
40
|
-
TwispayTransactionRefundReason["fraudConfirm"] = "fraud-confirm";
|
|
41
|
-
TwispayTransactionRefundReason["highlySuspicious"] = "highly-suspicious";
|
|
42
|
-
TwispayTransactionRefundReason["duplicatedTransaction"] = "duplicated-transaction";
|
|
43
|
-
TwispayTransactionRefundReason["customerDemand"] = "customer-demand";
|
|
44
|
-
TwispayTransactionRefundReason["testTransaction"] = "test-transaction";
|
|
45
|
-
TwispayTransactionRefundReason["completeFailed"] = "complete-failed";
|
|
46
|
-
TwispayTransactionRefundReason["cardExpired"] = "card-expired";
|
|
47
|
-
TwispayTransactionRefundReason["itemSoltOut"] = "The item is sold already";
|
|
48
|
-
})(TwispayTransactionRefundReason || (exports.TwispayTransactionRefundReason = TwispayTransactionRefundReason = {}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { LendingEModeCategoryProfileDoc } from './lending-emode-category-profile.doc';
|
|
2
2
|
import { LendingMarketProfile } from './lending-market-profile.doc';
|
|
3
|
-
import { PositionMode } from '
|
|
3
|
+
import { PositionMode } from '../../../enums/lending.enum';
|
|
4
4
|
export declare class LendingAccountProfileDoc {
|
|
5
5
|
dataType: string;
|
|
6
6
|
identifier: string;
|