@xoxno/types 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cache/keys.d.ts +642 -0
- package/dist/cache/keys.js +654 -0
- package/dist/cache/ttl.d.ts +13 -0
- package/dist/cache/ttl.js +16 -0
- package/dist/common/enums.d.ts +52 -0
- package/dist/common/enums.js +61 -0
- package/dist/common/kusto/kusto-db.enum.d.ts +7 -0
- package/dist/common/kusto/kusto-db.enum.js +12 -0
- package/dist/common/kusto/lending-market-analytics.d.ts +19 -0
- package/dist/common/kusto/lending-market-analytics.js +171 -0
- package/dist/common/kusto/lending-overall-stats.d.ts +11 -0
- package/dist/common/kusto/lending-overall-stats.js +72 -0
- package/dist/common/kusto/lending-position-status.d.ts +10 -0
- package/dist/common/kusto/lending-position-status.js +63 -0
- package/dist/common/kusto/order-by-column.enum.d.ts +8 -0
- package/dist/common/kusto/order-by-column.enum.js +13 -0
- package/dist/common/kusto/order-direction.enum.d.ts +4 -0
- package/dist/common/kusto/order-direction.enum.js +8 -0
- package/dist/common/kusto/trading-stats.d.ts +28 -0
- package/dist/common/kusto/trading-stats.js +35 -0
- package/dist/common/kusto/user-trading-summary.d.ts +20 -0
- package/dist/common/kusto/user-trading-summary.js +6 -0
- package/dist/common/kusto/volume-graph.d.ts +16 -0
- package/dist/common/kusto/volume-graph.js +57 -0
- package/dist/common/kusto/wallet-stats.d.ts +36 -0
- package/dist/common/kusto/wallet-stats.js +66 -0
- package/dist/common/owner.dto.d.ts +14 -0
- package/dist/common/owner.dto.js +37 -0
- package/dist/common/socials.d.ts +11 -0
- package/dist/common/socials.js +53 -0
- package/dist/common/statistics.d.ts +11 -0
- package/dist/common/statistics.js +49 -0
- package/dist/common/tokenPayent.d.ts +9 -0
- package/dist/common/tokenPayent.js +50 -0
- package/dist/cosmos-db/cosmos-db-container.enum.d.ts +13 -0
- package/dist/cosmos-db/cosmos-db-container.enum.js +17 -0
- package/dist/cosmos-db/cosmos-db-generic-filter.d.ts +16 -0
- package/dist/cosmos-db/cosmos-db-generic-filter.js +72 -0
- package/dist/cosmos-db/cosmos-db-paginated-response.dto.d.ts +13 -0
- package/dist/cosmos-db/cosmos-db-paginated-response.dto.js +62 -0
- package/dist/cosmos-db/cosmos-db-query.d.ts +81 -0
- package/dist/cosmos-db/cosmos-db-query.js +435 -0
- package/dist/cosmos-db/documents/activity/chain-activity.enum.d.ts +4 -0
- package/dist/cosmos-db/documents/activity/chain-activity.enum.js +5 -0
- package/dist/cosmos-db/documents/activity/event-source.enum.d.ts +15 -0
- package/dist/cosmos-db/documents/activity/event-source.enum.js +19 -0
- package/dist/cosmos-db/documents/activity/nft-activity-data.d.ts +22 -0
- package/dist/cosmos-db/documents/activity/nft-activity-data.js +2 -0
- package/dist/cosmos-db/documents/activity/nft-activity-type.enum.d.ts +28 -0
- package/dist/cosmos-db/documents/activity/nft-activity-type.enum.js +36 -0
- package/dist/cosmos-db/documents/activity/nft-activity.doc.d.ts +20 -0
- package/dist/cosmos-db/documents/activity/nft-activity.doc.js +121 -0
- package/dist/cosmos-db/documents/chat/block-user.dto.d.ts +3 -0
- package/dist/cosmos-db/documents/chat/block-user.dto.js +20 -0
- package/dist/cosmos-db/documents/chat/blocked-user.dto.d.ts +14 -0
- package/dist/cosmos-db/documents/chat/blocked-user.dto.js +57 -0
- package/dist/cosmos-db/documents/chat/chat-conversation.d.ts +39 -0
- package/dist/cosmos-db/documents/chat/chat-conversation.js +109 -0
- package/dist/cosmos-db/documents/chat/chat-data-type.enum.d.ts +6 -0
- package/dist/cosmos-db/documents/chat/chat-data-type.enum.js +10 -0
- package/dist/cosmos-db/documents/chat/chat-message-content-type.enum.d.ts +6 -0
- package/dist/cosmos-db/documents/chat/chat-message-content-type.enum.js +10 -0
- package/dist/cosmos-db/documents/chat/chat-message-content.dto.d.ts +6 -0
- package/dist/cosmos-db/documents/chat/chat-message-content.dto.js +42 -0
- package/dist/cosmos-db/documents/chat/chat-message-reply.dto.d.ts +7 -0
- package/dist/cosmos-db/documents/chat/chat-message-reply.dto.js +41 -0
- package/dist/cosmos-db/documents/chat/chat-message.doc.d.ts +44 -0
- package/dist/cosmos-db/documents/chat/chat-message.doc.js +17 -0
- package/dist/cosmos-db/documents/chat/chat-message.dto.d.ts +47 -0
- package/dist/cosmos-db/documents/chat/chat-message.dto.js +160 -0
- package/dist/cosmos-db/documents/chat/global-conversation-summary.dto.d.ts +10 -0
- package/dist/cosmos-db/documents/chat/global-conversation-summary.dto.js +38 -0
- package/dist/cosmos-db/documents/chat/group-chat-profile.doc.d.ts +13 -0
- package/dist/cosmos-db/documents/chat/group-chat-profile.doc.js +14 -0
- package/dist/cosmos-db/documents/chat/user-block.doc.d.ts +10 -0
- package/dist/cosmos-db/documents/chat/user-block.doc.js +14 -0
- package/dist/cosmos-db/documents/chat/user-conversation.doc.d.ts +16 -0
- package/dist/cosmos-db/documents/chat/user-conversation.doc.js +13 -0
- package/dist/cosmos-db/documents/collection/collectionConfig.d.ts +15 -0
- package/dist/cosmos-db/documents/collection/collectionConfig.js +19 -0
- package/dist/cosmos-db/documents/collection/dataTypes.d.ts +8 -0
- package/dist/cosmos-db/documents/collection/dataTypes.js +12 -0
- package/dist/cosmos-db/documents/collection/globalOffer.d.ts +27 -0
- package/dist/cosmos-db/documents/collection/globalOffer.js +174 -0
- package/dist/cosmos-db/documents/collection/mintProfile.d.ts +36 -0
- package/dist/cosmos-db/documents/collection/mintProfile.js +241 -0
- package/dist/cosmos-db/documents/collection/mintStage.d.ts +20 -0
- package/dist/cosmos-db/documents/collection/mintStage.js +13 -0
- package/dist/cosmos-db/documents/collection/profile.d.ts +52 -0
- package/dist/cosmos-db/documents/collection/profile.js +330 -0
- package/dist/cosmos-db/documents/collection/stats.d.ts +45 -0
- package/dist/cosmos-db/documents/collection/stats.js +286 -0
- package/dist/cosmos-db/documents/collection/verification.d.ts +11 -0
- package/dist/cosmos-db/documents/collection/verification.js +72 -0
- package/dist/cosmos-db/documents/external-payment/binance-hook.d.ts +46 -0
- package/dist/cosmos-db/documents/external-payment/binance-hook.js +16 -0
- package/dist/cosmos-db/documents/external-payment/binance-request.d.ts +30 -0
- package/dist/cosmos-db/documents/external-payment/binance-request.js +36 -0
- package/dist/cosmos-db/documents/external-payment/external-payment-request.d.ts +52 -0
- package/dist/cosmos-db/documents/external-payment/external-payment-request.js +236 -0
- package/dist/cosmos-db/documents/external-payment/external-payment-status.enum.d.ts +18 -0
- package/dist/cosmos-db/documents/external-payment/external-payment-status.enum.js +22 -0
- package/dist/cosmos-db/documents/external-payment/external-payment.doc.d.ts +42 -0
- package/dist/cosmos-db/documents/external-payment/external-payment.doc.js +10 -0
- package/dist/cosmos-db/documents/external-payment/payment-provider.enum.d.ts +6 -0
- package/dist/cosmos-db/documents/external-payment/payment-provider.enum.js +10 -0
- package/dist/cosmos-db/documents/external-payment/purchase-type.enum.d.ts +14 -0
- package/dist/cosmos-db/documents/external-payment/purchase-type.enum.js +18 -0
- package/dist/cosmos-db/documents/external-payment/stripe-charge-event.d.ts +126 -0
- package/dist/cosmos-db/documents/external-payment/stripe-charge-event.js +2 -0
- package/dist/cosmos-db/documents/external-payment/twispay-cart.d.ts +13 -0
- package/dist/cosmos-db/documents/external-payment/twispay-cart.js +8 -0
- package/dist/cosmos-db/documents/external-payment/twispay-customer.d.ts +14 -0
- package/dist/cosmos-db/documents/external-payment/twispay-customer.js +2 -0
- package/dist/cosmos-db/documents/external-payment/twispay-payment-form.d.ts +15 -0
- package/dist/cosmos-db/documents/external-payment/twispay-payment-form.js +2 -0
- package/dist/cosmos-db/documents/external-payment/twispay-transaction.d.ts +50 -0
- package/dist/cosmos-db/documents/external-payment/twispay-transaction.js +48 -0
- package/dist/cosmos-db/documents/lending/lending-account-profile.d.ts +35 -0
- package/dist/cosmos-db/documents/lending/lending-account-profile.js +258 -0
- package/dist/cosmos-db/documents/lending/lending-data-type.enum.d.ts +6 -0
- package/dist/cosmos-db/documents/lending/lending-data-type.enum.js +10 -0
- package/dist/cosmos-db/documents/lending/lending-emode-category-profile.doc.d.ts +20 -0
- package/dist/cosmos-db/documents/lending/lending-emode-category-profile.doc.js +66 -0
- package/dist/cosmos-db/documents/lending/lending-market-profile.doc.d.ts +82 -0
- package/dist/cosmos-db/documents/lending/lending-market-profile.doc.js +372 -0
- package/dist/cosmos-db/documents/lending/lending-nft-attributes.d.ts +16 -0
- package/dist/cosmos-db/documents/lending/lending-nft-attributes.js +17 -0
- package/dist/cosmos-db/documents/lending/lending-position-type.enum.d.ts +5 -0
- package/dist/cosmos-db/documents/lending/lending-position-type.enum.js +9 -0
- package/dist/cosmos-db/documents/lending/lending-token-emode-profile.doc.d.ts +13 -0
- package/dist/cosmos-db/documents/lending/lending-token-emode-profile.doc.js +59 -0
- package/dist/cosmos-db/documents/notification/notification-asset-type.enum.d.ts +4 -0
- package/dist/cosmos-db/documents/notification/notification-asset-type.enum.js +8 -0
- package/dist/cosmos-db/documents/notification/notification-data-type.enum.d.ts +3 -0
- package/dist/cosmos-db/documents/notification/notification-data-type.enum.js +7 -0
- package/dist/cosmos-db/documents/notification/notification.doc.d.ts +35 -0
- package/dist/cosmos-db/documents/notification/notification.doc.js +13 -0
- package/dist/cosmos-db/documents/staking/staking-creator.d.ts +11 -0
- package/dist/cosmos-db/documents/staking/staking-creator.js +13 -0
- package/dist/cosmos-db/documents/staking/staking-data-type.enum.d.ts +5 -0
- package/dist/cosmos-db/documents/staking/staking-data-type.enum.js +9 -0
- package/dist/cosmos-db/documents/staking/staking-delegator-doc.d.ts +15 -0
- package/dist/cosmos-db/documents/staking/staking-delegator-doc.js +15 -0
- package/dist/cosmos-db/documents/staking/staking-issuing-type-string.enum.d.ts +5 -0
- package/dist/cosmos-db/documents/staking/staking-issuing-type-string.enum.js +9 -0
- package/dist/cosmos-db/documents/staking/staking-pool-doc.d.ts +93 -0
- package/dist/cosmos-db/documents/staking/staking-pool-doc.js +265 -0
- package/dist/cosmos-db/documents/staking/staking-pool-type-string.enum.d.ts +6 -0
- package/dist/cosmos-db/documents/staking/staking-pool-type-string.enum.js +10 -0
- package/dist/cosmos-db/documents/ticketing/discount-code-validation-response.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/discount-code-validation-response.js +38 -0
- package/dist/cosmos-db/documents/ticketing/entities/discount-code-validation-response.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/entities/discount-code-validation-response.js +38 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-category.enum.d.ts +90 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-category.enum.js +99 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-approve.dto.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-approve.dto.js +32 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-doc.filter.d.ts +25 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-doc.filter.js +91 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-registration.dto.d.ts +23 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-registration.dto.js +196 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-status.enum.d.ts +10 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest-status.enum.js +14 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest.doc.d.ts +64 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-guest.doc.js +387 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-create.dto.d.ts +12 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-create.dto.js +74 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-doc.filter.d.ts +31 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-doc.filter.js +99 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-status.enum.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation-status.enum.js +10 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation.doc.d.ts +32 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-invitation.doc.js +206 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-location.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-location.js +68 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-create.dto.d.ts +47 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-create.dto.js +269 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-doc.filter.d.ts +41 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-doc.filter.js +129 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-edit.dto.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile-edit.dto.js +108 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile.doc.d.ts +93 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-profile.doc.js +544 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-answer-type.enum.d.ts +9 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-answer-type.enum.js +13 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-answer.doc.d.ts +23 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-answer.doc.js +127 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-create.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-create.dto.js +61 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-edit.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-edit.dto.js +65 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-validator.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question-validator.js +32 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question.doc.d.ts +15 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-question.doc.js +87 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-create.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-create.dto.js +58 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-edit.dto.d.ts +5 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-edit.dto.js +8 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-filter.doc.d.ts +23 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-filter.doc.js +116 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-query.doc.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config-query.doc.js +38 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config.doc.d.ts +27 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-config.doc.js +148 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-create.dto.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-create.dto.js +31 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-edit.dto.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-edit.dto.js +36 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-filter.doc.d.ts +31 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-filter.doc.js +161 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-query.doc.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-query.doc.js +38 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-usage.doc.d.ts +16 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral-usage.doc.js +100 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral.doc.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-referral.doc.js +92 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-scan-status.enum.d.ts +24 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-scan-status.enum.js +46 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile-create.dto.d.ts +13 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile-create.dto.js +109 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile-edit.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile-edit.dto.js +48 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile.doc.d.ts +21 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-stage-profile.doc.js +168 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile-create.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile-create.dto.js +74 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile-edit.dto.d.ts +7 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile-edit.dto.js +31 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile.doc.d.ts +25 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-profile.doc.js +166 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-qr-type.enum.d.ts +43 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-ticket-qr-type.enum.js +201 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-user-role-create.dto.d.ts +9 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-user-role-create.dto.js +69 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-user-role.doc.d.ts +25 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-user-role.doc.js +130 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-user-roles.enum.d.ts +15 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-user-roles.enum.js +20 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-create.dto.d.ts +15 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-create.dto.js +116 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-edit.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-edit.dto.js +48 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-filter.doc.d.ts +33 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher-filter.doc.js +173 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher.doc.d.ts +33 -0
- package/dist/cosmos-db/documents/ticketing/entities/event-voucher.doc.js +189 -0
- package/dist/cosmos-db/documents/ticketing/entities/manual-check-in.dto.d.ts +5 -0
- package/dist/cosmos-db/documents/ticketing/entities/manual-check-in.dto.js +38 -0
- package/dist/cosmos-db/documents/ticketing/entities/ticket-calculation-request.dto.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/entities/ticket-calculation-request.dto.js +38 -0
- package/dist/cosmos-db/documents/ticketing/entities/ticket-prices-response.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/entities/ticket-prices-response.js +74 -0
- package/dist/cosmos-db/documents/ticketing/entities/ticketing-data-type.enum.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/entities/ticketing-data-type.enum.js +18 -0
- package/dist/cosmos-db/documents/ticketing/event-category.enum.d.ts +90 -0
- package/dist/cosmos-db/documents/ticketing/event-category.enum.js +99 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-approve.dto.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-approve.dto.js +33 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-doc.filter.d.ts +25 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-doc.filter.js +91 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-registration.dto.d.ts +28 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-registration.dto.js +217 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-status.enum.d.ts +10 -0
- package/dist/cosmos-db/documents/ticketing/event-guest-status.enum.js +14 -0
- package/dist/cosmos-db/documents/ticketing/event-guest.doc.d.ts +71 -0
- package/dist/cosmos-db/documents/ticketing/event-guest.doc.js +395 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation-create.dto.d.ts +12 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation-create.dto.js +74 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation-doc.filter.d.ts +31 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation-doc.filter.js +99 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation-status.enum.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation-status.enum.js +10 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation.doc.d.ts +38 -0
- package/dist/cosmos-db/documents/ticketing/event-invitation.doc.js +206 -0
- package/dist/cosmos-db/documents/ticketing/event-location.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/event-location.js +68 -0
- package/dist/cosmos-db/documents/ticketing/event-profile-create.dto.d.ts +47 -0
- package/dist/cosmos-db/documents/ticketing/event-profile-create.dto.js +269 -0
- package/dist/cosmos-db/documents/ticketing/event-profile-doc.filter.d.ts +42 -0
- package/dist/cosmos-db/documents/ticketing/event-profile-doc.filter.js +130 -0
- package/dist/cosmos-db/documents/ticketing/event-profile-edit.dto.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/event-profile-edit.dto.js +108 -0
- package/dist/cosmos-db/documents/ticketing/event-profile.doc.d.ts +104 -0
- package/dist/cosmos-db/documents/ticketing/event-profile.doc.js +541 -0
- package/dist/cosmos-db/documents/ticketing/event-question-answer-type.enum.d.ts +9 -0
- package/dist/cosmos-db/documents/ticketing/event-question-answer-type.enum.js +13 -0
- package/dist/cosmos-db/documents/ticketing/event-question-answer.doc.d.ts +23 -0
- package/dist/cosmos-db/documents/ticketing/event-question-answer.doc.js +127 -0
- package/dist/cosmos-db/documents/ticketing/event-question-create.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/event-question-create.dto.js +61 -0
- package/dist/cosmos-db/documents/ticketing/event-question-edit.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/event-question-edit.dto.js +66 -0
- package/dist/cosmos-db/documents/ticketing/event-question-validator.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/event-question-validator.js +33 -0
- package/dist/cosmos-db/documents/ticketing/event-question.doc.d.ts +15 -0
- package/dist/cosmos-db/documents/ticketing/event-question.doc.js +88 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-create.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-create.dto.js +58 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-edit.dto.d.ts +5 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-edit.dto.js +8 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-filter.doc.d.ts +23 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-filter.doc.js +116 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-query.doc.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config-query.doc.js +38 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config.doc.d.ts +27 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-config.doc.js +149 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-create.dto.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-create.dto.js +31 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-edit.dto.d.ts +4 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-edit.dto.js +36 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-filter.doc.d.ts +31 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-filter.doc.js +162 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-query.doc.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-query.doc.js +41 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-usage.doc.d.ts +16 -0
- package/dist/cosmos-db/documents/ticketing/event-referral-usage.doc.js +100 -0
- package/dist/cosmos-db/documents/ticketing/event-referral.doc.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/event-referral.doc.js +92 -0
- package/dist/cosmos-db/documents/ticketing/event-scan-status.enum.d.ts +24 -0
- package/dist/cosmos-db/documents/ticketing/event-scan-status.enum.js +46 -0
- package/dist/cosmos-db/documents/ticketing/event-stage-profile-create.dto.d.ts +13 -0
- package/dist/cosmos-db/documents/ticketing/event-stage-profile-create.dto.js +109 -0
- package/dist/cosmos-db/documents/ticketing/event-stage-profile-edit.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/event-stage-profile-edit.dto.js +48 -0
- package/dist/cosmos-db/documents/ticketing/event-stage-profile.doc.d.ts +21 -0
- package/dist/cosmos-db/documents/ticketing/event-stage-profile.doc.js +168 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile-create.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile-create.dto.js +74 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile-edit.dto.d.ts +7 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile-edit.dto.js +31 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile.doc.d.ts +25 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-profile.doc.js +164 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.d.ts +43 -0
- package/dist/cosmos-db/documents/ticketing/event-ticket-qr-type.enum.js +202 -0
- package/dist/cosmos-db/documents/ticketing/event-user-role-create.dto.d.ts +9 -0
- package/dist/cosmos-db/documents/ticketing/event-user-role-create.dto.js +69 -0
- package/dist/cosmos-db/documents/ticketing/event-user-role.doc.d.ts +25 -0
- package/dist/cosmos-db/documents/ticketing/event-user-role.doc.js +131 -0
- package/dist/cosmos-db/documents/ticketing/event-user-roles.enum.d.ts +15 -0
- package/dist/cosmos-db/documents/ticketing/event-user-roles.enum.js +20 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher-create.dto.d.ts +15 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher-create.dto.js +117 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher-edit.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher-edit.dto.js +48 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher-filter.doc.d.ts +33 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher-filter.doc.js +167 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher.doc.d.ts +39 -0
- package/dist/cosmos-db/documents/ticketing/event-voucher.doc.js +191 -0
- package/dist/cosmos-db/documents/ticketing/manual-check-in.dto.d.ts +5 -0
- package/dist/cosmos-db/documents/ticketing/manual-check-in.dto.js +38 -0
- package/dist/cosmos-db/documents/ticketing/ticket-calculation-request.dto.d.ts +6 -0
- package/dist/cosmos-db/documents/ticketing/ticket-calculation-request.dto.js +41 -0
- package/dist/cosmos-db/documents/ticketing/ticket-prices-response.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/ticket-prices-response.js +74 -0
- package/dist/cosmos-db/documents/ticketing/ticketing-data-type.enum.d.ts +14 -0
- package/dist/cosmos-db/documents/ticketing/ticketing-data-type.enum.js +18 -0
- package/dist/cosmos-db/documents/token/nft-details.doc.d.ts +79 -0
- package/dist/cosmos-db/documents/token/nft-details.doc.js +436 -0
- package/dist/cosmos-db/documents/token/nft-extra-attributes.type.d.ts +3 -0
- package/dist/cosmos-db/documents/token/nft-extra-attributes.type.js +7 -0
- package/dist/cosmos-db/documents/token/nft-extra-metadata.doc.d.ts +11 -0
- package/dist/cosmos-db/documents/token/nft-extra-metadata.doc.js +12 -0
- package/dist/cosmos-db/documents/token/nft-metadata-attributes.d.ts +6 -0
- package/dist/cosmos-db/documents/token/nft-metadata-attributes.js +28 -0
- package/dist/cosmos-db/documents/token/nft-metadata.d.ts +13 -0
- package/dist/cosmos-db/documents/token/nft-metadata.js +62 -0
- package/dist/cosmos-db/documents/token/nft-offer.doc.d.ts +34 -0
- package/dist/cosmos-db/documents/token/nft-offer.doc.js +220 -0
- package/dist/cosmos-db/documents/token/nft-sale-info.d.ts +23 -0
- package/dist/cosmos-db/documents/token/nft-sale-info.js +109 -0
- package/dist/cosmos-db/documents/token/sft-owner-doc.d.ts +13 -0
- package/dist/cosmos-db/documents/token/sft-owner-doc.js +18 -0
- package/dist/cosmos-db/documents/token/token-data.enum.d.ts +8 -0
- package/dist/cosmos-db/documents/token/token-data.enum.js +12 -0
- package/dist/cosmos-db/documents/token-data/nft-details.doc.d.ts +56 -0
- package/dist/cosmos-db/documents/token-data/nft-details.doc.js +31 -0
- package/dist/cosmos-db/documents/user/account-on-network.d.ts +21 -0
- package/dist/cosmos-db/documents/user/account-on-network.js +36 -0
- package/dist/cosmos-db/documents/user/notification-preferences.dto.d.ts +8 -0
- package/dist/cosmos-db/documents/user/notification-preferences.dto.js +73 -0
- package/dist/cosmos-db/documents/user/user-creator-profile.doc.d.ts +18 -0
- package/dist/cosmos-db/documents/user/user-creator-profile.doc.js +105 -0
- package/dist/cosmos-db/documents/user/user-data.type.d.ts +6 -0
- package/dist/cosmos-db/documents/user/user-data.type.js +10 -0
- package/dist/cosmos-db/documents/user/user-deposit.d.ts +9 -0
- package/dist/cosmos-db/documents/user/user-deposit.js +54 -0
- package/dist/cosmos-db/documents/user/user-favorite-type.enum.d.ts +5 -0
- package/dist/cosmos-db/documents/user/user-favorite-type.enum.js +9 -0
- package/dist/cosmos-db/documents/user/user-favorite.doc.d.ts +18 -0
- package/dist/cosmos-db/documents/user/user-favorite.doc.js +56 -0
- package/dist/cosmos-db/documents/user/user-profile.doc.d.ts +25 -0
- package/dist/cosmos-db/documents/user/user-profile.doc.js +133 -0
- package/dist/cosmos-db/documents/user/user-settings.doc.d.ts +63 -0
- package/dist/cosmos-db/documents/user/user-settings.doc.js +267 -0
- package/dist/index.d.ts +273 -0
- package/dist/index.js +300 -0
- package/dist/redis/keys.d.ts +11 -0
- package/dist/redis/keys.js +12 -0
- package/dist/redis/ttl.d.ts +10 -0
- package/dist/redis/ttl.js +11 -0
- package/dist/requests/aggregator/ar-da-swap-result.dto.d.ts +9 -0
- package/dist/requests/aggregator/ar-da-swap-result.dto.js +80 -0
- package/dist/requests/aggregator/swap.d.ts +65 -0
- package/dist/requests/aggregator/swap.js +240 -0
- package/dist/requests/chat/azure-ws-event-name.enum.d.ts +5 -0
- package/dist/requests/chat/azure-ws-event-name.enum.js +9 -0
- package/dist/requests/chat/azure-ws-hub-name.enum.d.ts +4 -0
- package/dist/requests/chat/azure-ws-hub-name.enum.js +8 -0
- package/dist/requests/chat/chat-token.d.ts +3 -0
- package/dist/requests/chat/chat-token.js +22 -0
- package/dist/requests/collection/attributes.d.ts +22 -0
- package/dist/requests/collection/attributes.js +80 -0
- package/dist/requests/collection/collection-attributes-fp.d.ts +12 -0
- package/dist/requests/collection/collection-attributes-fp.js +2 -0
- package/dist/requests/collection/collection-attributes-map.d.ts +24 -0
- package/dist/requests/collection/collection-attributes-map.js +6 -0
- package/dist/requests/collection/collection-holders.d.ts +25 -0
- package/dist/requests/collection/collection-holders.js +35 -0
- package/dist/requests/collection/collection-info.dto.d.ts +6 -0
- package/dist/requests/collection/collection-info.dto.js +33 -0
- package/dist/requests/collection/collection-mint-profile.filter.d.ts +19 -0
- package/dist/requests/collection/collection-mint-profile.filter.js +40 -0
- package/dist/requests/collection/collection-mint-stage.doc.d.ts +19 -0
- package/dist/requests/collection/collection-mint-stage.doc.js +12 -0
- package/dist/requests/collection/collection-offers.filter.d.ts +28 -0
- package/dist/requests/collection/collection-offers.filter.js +99 -0
- package/dist/requests/collection/collection-owner.dto.d.ts +3 -0
- package/dist/requests/collection/collection-owner.dto.js +24 -0
- package/dist/requests/collection/collection-pinned-status.dto.d.ts +4 -0
- package/dist/requests/collection/collection-pinned-status.dto.js +30 -0
- package/dist/requests/collection/collection-profile.filter.d.ts +18 -0
- package/dist/requests/collection/collection-profile.filter.js +28 -0
- package/dist/requests/collection/collection-stats.d.ts +3 -0
- package/dist/requests/collection/collection-stats.filter.d.ts +22 -0
- package/dist/requests/collection/collection-stats.filter.js +98 -0
- package/dist/requests/collection/collection-stats.js +8 -0
- package/dist/requests/collection/collections.d.ts +7 -0
- package/dist/requests/collection/collections.js +16 -0
- package/dist/requests/collection/creator-details.dto.d.ts +12 -0
- package/dist/requests/collection/creator-details.dto.js +34 -0
- package/dist/requests/collection/creator-drop-info.d.ts +48 -0
- package/dist/requests/collection/creator-drop-info.js +189 -0
- package/dist/requests/collection/drops-query.d.ts +27 -0
- package/dist/requests/collection/drops-query.js +98 -0
- package/dist/requests/collection/floor.d.ts +5 -0
- package/dist/requests/collection/floor.js +28 -0
- package/dist/requests/collection/globalOfferSign.d.ts +4 -0
- package/dist/requests/collection/globalOfferSign.js +38 -0
- package/dist/requests/collection/holders.dto.d.ts +36 -0
- package/dist/requests/collection/holders.dto.js +96 -0
- package/dist/requests/collection/listings.d.ts +32 -0
- package/dist/requests/collection/listings.js +101 -0
- package/dist/requests/collection/pinned-collections.d.ts +10 -0
- package/dist/requests/collection/pinned-collections.js +56 -0
- package/dist/requests/collection/query-activity.d.ts +41 -0
- package/dist/requests/collection/query-activity.js +140 -0
- package/dist/requests/collection/query-global-offers.d.ts +15 -0
- package/dist/requests/collection/query-global-offers.js +57 -0
- package/dist/requests/collection/ranks.d.ts +5 -0
- package/dist/requests/collection/ranks.js +28 -0
- package/dist/requests/collection/stats-query.d.ts +5 -0
- package/dist/requests/collection/stats-query.js +26 -0
- package/dist/requests/lending/lending-market-profile.filter.d.ts +43 -0
- package/dist/requests/lending/lending-market-profile.filter.js +156 -0
- package/dist/requests/nft-activity-data/analytics-overview.d.ts +24 -0
- package/dist/requests/nft-activity-data/analytics-overview.js +151 -0
- package/dist/requests/nft-activity-data/analytics-volume.d.ts +13 -0
- package/dist/requests/nft-activity-data/analytics-volume.js +58 -0
- package/dist/requests/nft-activity-data/bober-battle-activity.enum.d.ts +69 -0
- package/dist/requests/nft-activity-data/bober-battle-activity.enum.js +16 -0
- package/dist/requests/nft-activity-data/event-source.enum.d.ts +15 -0
- package/dist/requests/nft-activity-data/event-source.enum.js +19 -0
- package/dist/requests/nft-activity-data/marketplace-activity.enum.d.ts +20 -0
- package/dist/requests/nft-activity-data/marketplace-activity.enum.js +24 -0
- package/dist/requests/nft-activity-data/nft-activity-data.d.ts +21 -0
- package/dist/requests/nft-activity-data/nft-activity-data.js +2 -0
- package/dist/requests/nft-activity-data/nft-activity-type.enum.d.ts +28 -0
- package/dist/requests/nft-activity-data/nft-activity-type.enum.js +36 -0
- package/dist/requests/nft-activity-data/nft-activity.filter.d.ts +39 -0
- package/dist/requests/nft-activity-data/nft-activity.filter.js +143 -0
- package/dist/requests/nft-activity-data/user-analytics.dto.d.ts +21 -0
- package/dist/requests/nft-activity-data/user-analytics.dto.js +72 -0
- package/dist/requests/nft-activity-data/user-stats.d.ts +53 -0
- package/dist/requests/nft-activity-data/user-stats.js +247 -0
- package/dist/requests/nft-activity-data/xoxno-egld-ls-activity.enum.d.ts +10 -0
- package/dist/requests/nft-activity-data/xoxno-egld-ls-activity.enum.js +14 -0
- package/dist/requests/nft-activity-data/xoxno-ls-activity.enum.d.ts +5 -0
- package/dist/requests/nft-activity-data/xoxno-ls-activity.enum.js +9 -0
- package/dist/requests/nft-data/inventory-summary.d.ts +12 -0
- package/dist/requests/nft-data/inventory-summary.js +67 -0
- package/dist/requests/nft-data/like-nft.dto.d.ts +5 -0
- package/dist/requests/nft-data/like-nft.dto.js +32 -0
- package/dist/requests/nft-data/nft-doc.filter.d.ts +65 -0
- package/dist/requests/nft-data/nft-doc.filter.js +211 -0
- package/dist/requests/nft-data/nft-extra-attributes.type.d.ts +3 -0
- package/dist/requests/nft-data/nft-extra-attributes.type.js +7 -0
- package/dist/requests/nft-data/nft-offer-doc.filter.d.ts +24 -0
- package/dist/requests/nft-data/nft-offer-doc.filter.js +97 -0
- package/dist/requests/nft-data/nft-offers.d.ts +26 -0
- package/dist/requests/nft-data/nft-offers.js +96 -0
- package/dist/requests/nft-data/sign-data.dto.d.ts +4 -0
- package/dist/requests/nft-data/sign-data.dto.js +24 -0
- package/dist/requests/nft-data/sign-mintdto.d.ts +4 -0
- package/dist/requests/nft-data/sign-mintdto.js +33 -0
- package/dist/requests/nft-data/sign-withdraw.dto.d.ts +3 -0
- package/dist/requests/nft-data/sign-withdraw.dto.js +29 -0
- package/dist/requests/nft-data/user-offers.d.ts +40 -0
- package/dist/requests/nft-data/user-offers.js +186 -0
- package/dist/requests/user-data/creator-profile.dto.d.ts +8 -0
- package/dist/requests/user-data/creator-profile.dto.js +28 -0
- package/dist/requests/user-data/edit-creator-profile.dto.d.ts +6 -0
- package/dist/requests/user-data/edit-creator-profile.dto.js +46 -0
- package/dist/requests/user-data/edit-user-profile.dto.d.ts +6 -0
- package/dist/requests/user-data/edit-user-profile.dto.js +44 -0
- package/dist/requests/user-data/follow-collection.dto.d.ts +4 -0
- package/dist/requests/user-data/follow-collection.dto.js +31 -0
- package/dist/requests/user-data/follow-user.dto.d.ts +4 -0
- package/dist/requests/user-data/follow-user.dto.js +30 -0
- package/dist/requests/user-data/is-favorite.d.ts +3 -0
- package/dist/requests/user-data/is-favorite.js +20 -0
- package/dist/requests/user-data/login-access.dto.d.ts +4 -0
- package/dist/requests/user-data/login-access.dto.js +30 -0
- package/dist/requests/user-data/me-profile.d.ts +16 -0
- package/dist/requests/user-data/me-profile.js +55 -0
- package/dist/requests/user-data/set-email.dto.d.ts +4 -0
- package/dist/requests/user-data/set-email.dto.js +34 -0
- package/dist/requests/user-data/set-phone.dto.d.ts +4 -0
- package/dist/requests/user-data/set-phone.dto.js +34 -0
- package/dist/requests/user-data/token-inventory.d.ts +43 -0
- package/dist/requests/user-data/token-inventory.js +143 -0
- package/dist/requests/user-data/tradesilvania.dto.d.ts +3 -0
- package/dist/requests/user-data/tradesilvania.dto.js +23 -0
- package/dist/requests/user-data/user-network.d.ts +22 -0
- package/dist/requests/user-data/user-network.js +98 -0
- package/dist/requests/user-data/verify-email.dto.d.ts +3 -0
- package/dist/requests/user-data/verify-email.dto.js +28 -0
- package/dist/types/common.d.ts +12 -0
- package/dist/types/common.js +12 -0
- package/dist/utils/generic.d.ts +1 -0
- package/dist/utils/generic.js +6 -0
- package/package.json +54 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.TwispayTransactionRefundReason = exports.TwispayTransactionStatus = exports.TwispayIntervalType = exports.TwispayCardTransactionMode = exports.TwispayTransactionType = void 0;
|
|
4
|
+
// cardTransactionMode: TwispayCardTransactionMode;
|
|
5
|
+
// backUrl: string; // used to redirect the customers back to the merchant’s site; we also post an encrypted transaction result to this URL
|
|
6
|
+
// cardId?: number; //id of a previously used card for this customer
|
|
7
|
+
// invoiceEmail?: string; //an alternative email address to send invoice to
|
|
8
|
+
// 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 = {}));
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import { LendingEModeCategoryProfileDoc } from './lending-emode-category-profile.doc';
|
|
2
|
+
import { LendingMarketProfile } from './lending-market-profile.doc';
|
|
3
|
+
import { PositionMode } from './lending-nft-attributes';
|
|
4
|
+
export declare class LendingAccountProfileDoc {
|
|
5
|
+
dataType: string;
|
|
6
|
+
identifier: string;
|
|
7
|
+
nonce: number;
|
|
8
|
+
token: string;
|
|
9
|
+
supplyAmountScaled: string;
|
|
10
|
+
borrowAmountScaled: string;
|
|
11
|
+
supplyIndex: number;
|
|
12
|
+
borrowIndex: number;
|
|
13
|
+
entryLiquidationThreshold: string;
|
|
14
|
+
entryLiquidationBonus: string;
|
|
15
|
+
entryLiquidationFee: string;
|
|
16
|
+
entryLtv: string;
|
|
17
|
+
isolated?: boolean;
|
|
18
|
+
positionMode: PositionMode;
|
|
19
|
+
eModeCategory?: string;
|
|
20
|
+
address: string;
|
|
21
|
+
leverageInitialSupply?: number;
|
|
22
|
+
leverageInitialSupplyPrice?: number;
|
|
23
|
+
leverageInitialBorrow?: number;
|
|
24
|
+
leverageInitialBorrowPrice?: number;
|
|
25
|
+
id: string;
|
|
26
|
+
pk: string;
|
|
27
|
+
_ts: number;
|
|
28
|
+
constructor(init?: Partial<LendingAccountProfileDoc>);
|
|
29
|
+
}
|
|
30
|
+
export declare class LendingAccountProfile extends LendingAccountProfileDoc {
|
|
31
|
+
supplyAmount: string;
|
|
32
|
+
borrowAmount: string;
|
|
33
|
+
eModeCategoryProfile?: LendingEModeCategoryProfileDoc;
|
|
34
|
+
marketProfile?: Pick<LendingMarketProfile, 'token' | 'name' | 'supplyApy' | 'borrowApy' | 'decimals' | 'siloed' | 'reserves' | 'supplyCap' | 'borrowCap' | 'supplyAmount' | 'ltv' | 'liquidationBonus' | 'oraclePrice' | 'rewardsReserve' | 'timestamp' | 'maxDebtUsd' | 'debtCeiling' | 'isolated' | 'supplyIndex' | 'borrowIndex' | 'supplyAmountScaled' | 'borrowAmountScaled' | 'canBeCollateral' | 'canBeBorrowed' | 'canBorrowInIsolation' | 'extraApy' | 'flashLoanFee' | 'utilizationRate' | 'borrowAmount' | 'optimalUsageRate' | 'slopeRate1' | 'slopeRate2' | 'slopeRate3' | 'midUsageRate' | 'baseRate' | 'maxBorrowRate' | 'reserveFactor'>;
|
|
35
|
+
}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.LendingAccountProfile = exports.LendingAccountProfileDoc = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const lending_data_type_enum_1 = require("./lending-data-type.enum");
|
|
15
|
+
const lending_emode_category_profile_doc_1 = require("./lending-emode-category-profile.doc");
|
|
16
|
+
const lending_market_profile_doc_1 = require("./lending-market-profile.doc");
|
|
17
|
+
const lending_nft_attributes_1 = require("./lending-nft-attributes");
|
|
18
|
+
class LendingAccountProfileDoc {
|
|
19
|
+
constructor(init) {
|
|
20
|
+
this.dataType = lending_data_type_enum_1.LendingDataType.ACCOUNT_PROFILE;
|
|
21
|
+
this.supplyAmountScaled = '0';
|
|
22
|
+
this.borrowAmountScaled = '0';
|
|
23
|
+
this.supplyIndex = 0;
|
|
24
|
+
this.borrowIndex = 0;
|
|
25
|
+
Object.assign(this, init);
|
|
26
|
+
this.pk = this.dataType;
|
|
27
|
+
this.id = `${this.identifier}_${this.token}`;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
exports.LendingAccountProfileDoc = LendingAccountProfileDoc;
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, swagger_1.ApiProperty)({
|
|
33
|
+
enum: lending_data_type_enum_1.LendingDataType,
|
|
34
|
+
enumName: 'LendingDataType',
|
|
35
|
+
example: lending_data_type_enum_1.LendingDataType.ACCOUNT_PROFILE,
|
|
36
|
+
}),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], LendingAccountProfileDoc.prototype, "dataType", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, swagger_1.ApiProperty)({
|
|
41
|
+
description: 'Unique identifier for the lending account',
|
|
42
|
+
example: 'account123',
|
|
43
|
+
}),
|
|
44
|
+
__metadata("design:type", String)
|
|
45
|
+
], LendingAccountProfileDoc.prototype, "identifier", void 0);
|
|
46
|
+
__decorate([
|
|
47
|
+
(0, swagger_1.ApiProperty)({
|
|
48
|
+
description: 'A unique number to ensure uniqueness of the identifier',
|
|
49
|
+
example: 1,
|
|
50
|
+
}),
|
|
51
|
+
__metadata("design:type", Number)
|
|
52
|
+
], LendingAccountProfileDoc.prototype, "nonce", void 0);
|
|
53
|
+
__decorate([
|
|
54
|
+
(0, swagger_1.ApiProperty)({
|
|
55
|
+
description: 'The token associated with the lending account',
|
|
56
|
+
example: 'EGLD',
|
|
57
|
+
}),
|
|
58
|
+
__metadata("design:type", String)
|
|
59
|
+
], LendingAccountProfileDoc.prototype, "token", void 0);
|
|
60
|
+
__decorate([
|
|
61
|
+
(0, swagger_1.ApiProperty)({
|
|
62
|
+
description: 'The amount supplied in the lending account',
|
|
63
|
+
example: '1000',
|
|
64
|
+
}),
|
|
65
|
+
__metadata("design:type", Object)
|
|
66
|
+
], LendingAccountProfileDoc.prototype, "supplyAmountScaled", void 0);
|
|
67
|
+
__decorate([
|
|
68
|
+
(0, swagger_1.ApiProperty)({
|
|
69
|
+
description: 'The amount borrowed from the lending account',
|
|
70
|
+
example: '500',
|
|
71
|
+
}),
|
|
72
|
+
__metadata("design:type", Object)
|
|
73
|
+
], LendingAccountProfileDoc.prototype, "borrowAmountScaled", void 0);
|
|
74
|
+
__decorate([
|
|
75
|
+
(0, swagger_1.ApiProperty)({
|
|
76
|
+
description: 'Supply index',
|
|
77
|
+
example: 0,
|
|
78
|
+
}),
|
|
79
|
+
__metadata("design:type", Object)
|
|
80
|
+
], LendingAccountProfileDoc.prototype, "supplyIndex", void 0);
|
|
81
|
+
__decorate([
|
|
82
|
+
(0, swagger_1.ApiProperty)({
|
|
83
|
+
description: 'Borrow index',
|
|
84
|
+
example: 0,
|
|
85
|
+
}),
|
|
86
|
+
__metadata("design:type", Object)
|
|
87
|
+
], LendingAccountProfileDoc.prototype, "borrowIndex", void 0);
|
|
88
|
+
__decorate([
|
|
89
|
+
(0, swagger_1.ApiProperty)({
|
|
90
|
+
description: 'Entry liquidation threshold',
|
|
91
|
+
example: '780000000000000000000',
|
|
92
|
+
}),
|
|
93
|
+
__metadata("design:type", String)
|
|
94
|
+
], LendingAccountProfileDoc.prototype, "entryLiquidationThreshold", void 0);
|
|
95
|
+
__decorate([
|
|
96
|
+
(0, swagger_1.ApiProperty)({
|
|
97
|
+
description: 'Entry liquidation bonus',
|
|
98
|
+
example: '800000000000000000000',
|
|
99
|
+
}),
|
|
100
|
+
__metadata("design:type", String)
|
|
101
|
+
], LendingAccountProfileDoc.prototype, "entryLiquidationBonus", void 0);
|
|
102
|
+
__decorate([
|
|
103
|
+
(0, swagger_1.ApiProperty)({
|
|
104
|
+
description: 'Entry liquidation fee',
|
|
105
|
+
example: '100000000000000000000',
|
|
106
|
+
}),
|
|
107
|
+
__metadata("design:type", String)
|
|
108
|
+
], LendingAccountProfileDoc.prototype, "entryLiquidationFee", void 0);
|
|
109
|
+
__decorate([
|
|
110
|
+
(0, swagger_1.ApiProperty)({
|
|
111
|
+
description: 'Entry loan to value',
|
|
112
|
+
example: '650000000000000000000',
|
|
113
|
+
}),
|
|
114
|
+
__metadata("design:type", String)
|
|
115
|
+
], LendingAccountProfileDoc.prototype, "entryLtv", void 0);
|
|
116
|
+
__decorate([
|
|
117
|
+
(0, swagger_1.ApiProperty)({
|
|
118
|
+
description: 'Indicates if the asset is isolated',
|
|
119
|
+
example: false,
|
|
120
|
+
required: false,
|
|
121
|
+
}),
|
|
122
|
+
__metadata("design:type", Boolean)
|
|
123
|
+
], LendingAccountProfileDoc.prototype, "isolated", void 0);
|
|
124
|
+
__decorate([
|
|
125
|
+
(0, swagger_1.ApiProperty)({
|
|
126
|
+
description: 'Position mode',
|
|
127
|
+
example: lending_nft_attributes_1.PositionMode.Normal,
|
|
128
|
+
enum: lending_nft_attributes_1.PositionMode,
|
|
129
|
+
enumName: 'PositionMode',
|
|
130
|
+
}),
|
|
131
|
+
__metadata("design:type", String)
|
|
132
|
+
], LendingAccountProfileDoc.prototype, "positionMode", void 0);
|
|
133
|
+
__decorate([
|
|
134
|
+
(0, swagger_1.ApiProperty)({
|
|
135
|
+
description: 'eMode category',
|
|
136
|
+
example: '1',
|
|
137
|
+
required: false,
|
|
138
|
+
}),
|
|
139
|
+
__metadata("design:type", String)
|
|
140
|
+
], LendingAccountProfileDoc.prototype, "eModeCategory", void 0);
|
|
141
|
+
__decorate([
|
|
142
|
+
(0, swagger_1.ApiProperty)({
|
|
143
|
+
description: 'Address of the lending account',
|
|
144
|
+
example: 'erd123',
|
|
145
|
+
}),
|
|
146
|
+
__metadata("design:type", String)
|
|
147
|
+
], LendingAccountProfileDoc.prototype, "address", void 0);
|
|
148
|
+
__decorate([
|
|
149
|
+
(0, swagger_1.ApiProperty)({
|
|
150
|
+
description: 'Initial strategy values',
|
|
151
|
+
example: {
|
|
152
|
+
leverageInitialSupply: '1000',
|
|
153
|
+
leverageInitialSupplyPrice: '1000',
|
|
154
|
+
},
|
|
155
|
+
required: false,
|
|
156
|
+
}),
|
|
157
|
+
__metadata("design:type", Number)
|
|
158
|
+
], LendingAccountProfileDoc.prototype, "leverageInitialSupply", void 0);
|
|
159
|
+
__decorate([
|
|
160
|
+
(0, swagger_1.ApiProperty)({
|
|
161
|
+
description: 'Initial strategy values',
|
|
162
|
+
example: {
|
|
163
|
+
leverageInitialSupply: '1000',
|
|
164
|
+
leverageInitialSupplyPrice: '1000',
|
|
165
|
+
},
|
|
166
|
+
required: false,
|
|
167
|
+
}),
|
|
168
|
+
__metadata("design:type", Number)
|
|
169
|
+
], LendingAccountProfileDoc.prototype, "leverageInitialSupplyPrice", void 0);
|
|
170
|
+
__decorate([
|
|
171
|
+
(0, swagger_1.ApiProperty)({
|
|
172
|
+
description: 'Initial strategy values',
|
|
173
|
+
example: {
|
|
174
|
+
leverageInitialBorrow: '1000',
|
|
175
|
+
leverageInitialBorrowPrice: '1000',
|
|
176
|
+
},
|
|
177
|
+
required: false,
|
|
178
|
+
}),
|
|
179
|
+
__metadata("design:type", Number)
|
|
180
|
+
], LendingAccountProfileDoc.prototype, "leverageInitialBorrow", void 0);
|
|
181
|
+
__decorate([
|
|
182
|
+
(0, swagger_1.ApiProperty)({
|
|
183
|
+
description: 'Initial strategy values',
|
|
184
|
+
example: {
|
|
185
|
+
leverageInitialBorrow: '1000',
|
|
186
|
+
leverageInitialBorrowPrice: '1000',
|
|
187
|
+
},
|
|
188
|
+
required: false,
|
|
189
|
+
}),
|
|
190
|
+
__metadata("design:type", Number)
|
|
191
|
+
], LendingAccountProfileDoc.prototype, "leverageInitialBorrowPrice", void 0);
|
|
192
|
+
class LendingAccountProfile extends LendingAccountProfileDoc {
|
|
193
|
+
}
|
|
194
|
+
exports.LendingAccountProfile = LendingAccountProfile;
|
|
195
|
+
__decorate([
|
|
196
|
+
(0, swagger_1.ApiProperty)({
|
|
197
|
+
description: 'The amount supplied in the lending account',
|
|
198
|
+
example: '1000',
|
|
199
|
+
}),
|
|
200
|
+
__metadata("design:type", String)
|
|
201
|
+
], LendingAccountProfile.prototype, "supplyAmount", void 0);
|
|
202
|
+
__decorate([
|
|
203
|
+
(0, swagger_1.ApiProperty)({
|
|
204
|
+
description: 'The amount borrowed from the lending account',
|
|
205
|
+
example: '500',
|
|
206
|
+
}),
|
|
207
|
+
__metadata("design:type", String)
|
|
208
|
+
], LendingAccountProfile.prototype, "borrowAmount", void 0);
|
|
209
|
+
__decorate([
|
|
210
|
+
(0, swagger_1.ApiProperty)({
|
|
211
|
+
description: 'EMode profile',
|
|
212
|
+
required: false,
|
|
213
|
+
}),
|
|
214
|
+
__metadata("design:type", lending_emode_category_profile_doc_1.LendingEModeCategoryProfileDoc)
|
|
215
|
+
], LendingAccountProfile.prototype, "eModeCategoryProfile", void 0);
|
|
216
|
+
__decorate([
|
|
217
|
+
(0, swagger_1.ApiProperty)({
|
|
218
|
+
description: 'Lending market partial profile',
|
|
219
|
+
required: false,
|
|
220
|
+
type: (0, swagger_1.PickType)(lending_market_profile_doc_1.LendingMarketProfile, [
|
|
221
|
+
'token',
|
|
222
|
+
'name',
|
|
223
|
+
'supplyApy',
|
|
224
|
+
'borrowApy',
|
|
225
|
+
'decimals',
|
|
226
|
+
'reserves',
|
|
227
|
+
'supplyCap',
|
|
228
|
+
'borrowCap',
|
|
229
|
+
'supplyAmount',
|
|
230
|
+
'siloed',
|
|
231
|
+
'supplyIndex',
|
|
232
|
+
'borrowIndex',
|
|
233
|
+
'rewardsReserve',
|
|
234
|
+
'maxDebtUsd',
|
|
235
|
+
'debtCeiling',
|
|
236
|
+
'isolated',
|
|
237
|
+
'canBeCollateral',
|
|
238
|
+
'timestamp',
|
|
239
|
+
'canBeBorrowed',
|
|
240
|
+
'canBorrowInIsolation',
|
|
241
|
+
'extraApy',
|
|
242
|
+
'flashLoanFee',
|
|
243
|
+
'utilizationRate',
|
|
244
|
+
'borrowAmount',
|
|
245
|
+
'borrowAmountScaled',
|
|
246
|
+
'supplyAmountScaled',
|
|
247
|
+
'optimalUsageRate',
|
|
248
|
+
'slopeRate1',
|
|
249
|
+
'slopeRate2',
|
|
250
|
+
'slopeRate3',
|
|
251
|
+
'midUsageRate',
|
|
252
|
+
'baseRate',
|
|
253
|
+
'maxBorrowRate',
|
|
254
|
+
'reserveFactor',
|
|
255
|
+
]),
|
|
256
|
+
}),
|
|
257
|
+
__metadata("design:type", Object)
|
|
258
|
+
], LendingAccountProfile.prototype, "marketProfile", void 0);
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.LendingDataType = void 0;
|
|
4
|
+
var LendingDataType;
|
|
5
|
+
(function (LendingDataType) {
|
|
6
|
+
LendingDataType["MARKET_PROFILE"] = "marketProfile";
|
|
7
|
+
LendingDataType["ACCOUNT_PROFILE"] = "accountProfile";
|
|
8
|
+
LendingDataType["EMODE_CATEGORY_PROFILE"] = "emodeCategoryProfile";
|
|
9
|
+
LendingDataType["TOKEN_EMODE_PROFILE"] = "tokenEmodeProfile";
|
|
10
|
+
})(LendingDataType || (exports.LendingDataType = LendingDataType = {}));
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { LendingDataType } from './lending-data-type.enum';
|
|
2
|
+
import { LendingTokenEModeProfileDoc } from './lending-token-emode-profile.doc';
|
|
3
|
+
export declare class LendingEModeCategoryProfileDoc {
|
|
4
|
+
dataType: LendingDataType;
|
|
5
|
+
ltv: string;
|
|
6
|
+
liquidationThreshold: string;
|
|
7
|
+
liquidationBonus: string;
|
|
8
|
+
isDeprecated: boolean;
|
|
9
|
+
id: string;
|
|
10
|
+
pk: string;
|
|
11
|
+
_ts?: number;
|
|
12
|
+
constructor(init?: Partial<LendingEModeCategoryProfileDoc>);
|
|
13
|
+
}
|
|
14
|
+
declare const ShortLendingTokenEModeProfileDoc_base: import("@nestjs/common").Type<Pick<LendingTokenEModeProfileDoc, "token" | "canBeCollateral" | "canBeBorrowed" | "eModeCategory">>;
|
|
15
|
+
export declare class ShortLendingTokenEModeProfileDoc extends ShortLendingTokenEModeProfileDoc_base {
|
|
16
|
+
}
|
|
17
|
+
export declare class LendingEModeCategoryProfile extends LendingEModeCategoryProfileDoc {
|
|
18
|
+
eModeTokenProfiles: Pick<LendingTokenEModeProfileDoc, 'token' | 'canBeBorrowed' | 'canBeCollateral' | 'eModeCategory'>[];
|
|
19
|
+
}
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
|
7
|
+
};
|
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.LendingEModeCategoryProfile = exports.ShortLendingTokenEModeProfileDoc = exports.LendingEModeCategoryProfileDoc = void 0;
|
|
13
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
14
|
+
const lending_data_type_enum_1 = require("./lending-data-type.enum");
|
|
15
|
+
const lending_token_emode_profile_doc_1 = require("./lending-token-emode-profile.doc");
|
|
16
|
+
class LendingEModeCategoryProfileDoc {
|
|
17
|
+
constructor(init) {
|
|
18
|
+
this.dataType = lending_data_type_enum_1.LendingDataType.EMODE_CATEGORY_PROFILE;
|
|
19
|
+
Object.assign(this, init);
|
|
20
|
+
this.pk = this.dataType;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
exports.LendingEModeCategoryProfileDoc = LendingEModeCategoryProfileDoc;
|
|
24
|
+
__decorate([
|
|
25
|
+
(0, swagger_1.ApiProperty)({
|
|
26
|
+
enum: lending_data_type_enum_1.LendingDataType,
|
|
27
|
+
enumName: 'LendingDataType',
|
|
28
|
+
example: lending_data_type_enum_1.LendingDataType.EMODE_CATEGORY_PROFILE,
|
|
29
|
+
}),
|
|
30
|
+
__metadata("design:type", Object)
|
|
31
|
+
], LendingEModeCategoryProfileDoc.prototype, "dataType", void 0);
|
|
32
|
+
__decorate([
|
|
33
|
+
(0, swagger_1.ApiProperty)({ description: 'Loan-to-value ratio', example: 0.75 }),
|
|
34
|
+
__metadata("design:type", String)
|
|
35
|
+
], LendingEModeCategoryProfileDoc.prototype, "ltv", void 0);
|
|
36
|
+
__decorate([
|
|
37
|
+
(0, swagger_1.ApiProperty)({ description: 'Liquidation threshold', example: 0.85 }),
|
|
38
|
+
__metadata("design:type", String)
|
|
39
|
+
], LendingEModeCategoryProfileDoc.prototype, "liquidationThreshold", void 0);
|
|
40
|
+
__decorate([
|
|
41
|
+
(0, swagger_1.ApiProperty)({ description: 'Liquidation bonus', example: 0.1 }),
|
|
42
|
+
__metadata("design:type", String)
|
|
43
|
+
], LendingEModeCategoryProfileDoc.prototype, "liquidationBonus", void 0);
|
|
44
|
+
__decorate([
|
|
45
|
+
(0, swagger_1.ApiProperty)({ description: 'Is eMode deprecated', example: false }),
|
|
46
|
+
__metadata("design:type", Boolean)
|
|
47
|
+
], LendingEModeCategoryProfileDoc.prototype, "isDeprecated", void 0);
|
|
48
|
+
__decorate([
|
|
49
|
+
(0, swagger_1.ApiProperty)({ description: 'EMode category', example: '1' }),
|
|
50
|
+
__metadata("design:type", String)
|
|
51
|
+
], LendingEModeCategoryProfileDoc.prototype, "id", void 0);
|
|
52
|
+
class ShortLendingTokenEModeProfileDoc extends (0, swagger_1.PickType)(lending_token_emode_profile_doc_1.LendingTokenEModeProfileDoc, ['token', 'canBeBorrowed', 'canBeCollateral', 'eModeCategory']) {
|
|
53
|
+
}
|
|
54
|
+
exports.ShortLendingTokenEModeProfileDoc = ShortLendingTokenEModeProfileDoc;
|
|
55
|
+
class LendingEModeCategoryProfile extends LendingEModeCategoryProfileDoc {
|
|
56
|
+
}
|
|
57
|
+
exports.LendingEModeCategoryProfile = LendingEModeCategoryProfile;
|
|
58
|
+
__decorate([
|
|
59
|
+
(0, swagger_1.ApiProperty)({
|
|
60
|
+
description: 'EMode profiles',
|
|
61
|
+
isArray: true,
|
|
62
|
+
type: ShortLendingTokenEModeProfileDoc,
|
|
63
|
+
required: true,
|
|
64
|
+
}),
|
|
65
|
+
__metadata("design:type", Array)
|
|
66
|
+
], LendingEModeCategoryProfile.prototype, "eModeTokenProfiles", void 0);
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { OwnerDto } from '../../../common/owner.dto';
|
|
2
|
+
import { LendingEModeCategoryProfileDoc } from './lending-emode-category-profile.doc';
|
|
3
|
+
export declare class LendingMarketProfileDoc {
|
|
4
|
+
dataType: string;
|
|
5
|
+
token: string;
|
|
6
|
+
name: string;
|
|
7
|
+
decimals: number;
|
|
8
|
+
address: string;
|
|
9
|
+
baseRate: string;
|
|
10
|
+
maxBorrowRate: string;
|
|
11
|
+
slopeRate1: string;
|
|
12
|
+
slopeRate2: string;
|
|
13
|
+
slopeRate3: string;
|
|
14
|
+
midUsageRate: string;
|
|
15
|
+
optimalUsageRate: string;
|
|
16
|
+
reserveFactor: string;
|
|
17
|
+
liquidationFee: string;
|
|
18
|
+
ltv: string;
|
|
19
|
+
liquidationBonus: string;
|
|
20
|
+
liquidationThreshold: string;
|
|
21
|
+
rewardsReserve: string;
|
|
22
|
+
rewardsReserveShort: number;
|
|
23
|
+
reserves: string;
|
|
24
|
+
reservesShort: number;
|
|
25
|
+
supplyAmount: string;
|
|
26
|
+
supplyAmountScaled: string;
|
|
27
|
+
borrowAmount: string;
|
|
28
|
+
supplyAmountShort: number;
|
|
29
|
+
borrowAmountShort: number;
|
|
30
|
+
borrowAmountScaled: string;
|
|
31
|
+
supplyCap: string;
|
|
32
|
+
borrowCap: string;
|
|
33
|
+
supplyCapShort: number;
|
|
34
|
+
borrowCapShort: number;
|
|
35
|
+
supplyIndex: string;
|
|
36
|
+
borrowIndex: string;
|
|
37
|
+
timestamp: number;
|
|
38
|
+
borrowApy: number;
|
|
39
|
+
supplyApy: number;
|
|
40
|
+
utilizationRate: number;
|
|
41
|
+
canBeCollateral: boolean;
|
|
42
|
+
canBeBorrowed: boolean;
|
|
43
|
+
eMode: boolean;
|
|
44
|
+
eModeCategories: string[];
|
|
45
|
+
isolated: boolean;
|
|
46
|
+
maxDebtUsd: string;
|
|
47
|
+
maxDebtUsdShort: number;
|
|
48
|
+
debtCeiling?: string;
|
|
49
|
+
debtCeilingShort?: number;
|
|
50
|
+
siloed: boolean;
|
|
51
|
+
flashLoan: boolean;
|
|
52
|
+
flashLoanFee: string;
|
|
53
|
+
canBorrowInIsolation: boolean;
|
|
54
|
+
id: string;
|
|
55
|
+
pk: string;
|
|
56
|
+
_ts: number;
|
|
57
|
+
constructor(init?: Partial<LendingMarketProfileDoc>);
|
|
58
|
+
}
|
|
59
|
+
export declare class LendingMarketParticipants {
|
|
60
|
+
count: number;
|
|
61
|
+
wallets: OwnerDto[];
|
|
62
|
+
}
|
|
63
|
+
export declare class MarketExtraApy {
|
|
64
|
+
nativeApy?: number;
|
|
65
|
+
feesApr?: number;
|
|
66
|
+
}
|
|
67
|
+
export declare class LendingMarketProfile extends LendingMarketProfileDoc {
|
|
68
|
+
eModeCategoryProfiles: LendingEModeCategoryProfileDoc[];
|
|
69
|
+
oraclePrice: string;
|
|
70
|
+
participants: LendingMarketParticipants;
|
|
71
|
+
extraApy?: MarketExtraApy;
|
|
72
|
+
}
|
|
73
|
+
declare const LendingMarketProfileQuery_base: {
|
|
74
|
+
new (resources: LendingMarketProfile[], count: number | null, hasMoreResults: boolean): {
|
|
75
|
+
resources: LendingMarketProfile[];
|
|
76
|
+
count: number | null;
|
|
77
|
+
hasMoreResults: boolean;
|
|
78
|
+
};
|
|
79
|
+
};
|
|
80
|
+
export declare class LendingMarketProfileQuery extends LendingMarketProfileQuery_base {
|
|
81
|
+
}
|
|
82
|
+
export {};
|