@plutonlabs/sdk 0.0.1-beta
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/README.md +1 -0
- package/Readme.md +0 -0
- package/dist/common/consts/globalConst.d.ts +12 -0
- package/dist/common/consts/globalConst.d.ts.map +1 -0
- package/dist/common/consts/globalConst.js +15 -0
- package/dist/common/consts/globalConst.js.map +1 -0
- package/dist/common/enums/calc_mode.enum.d.ts +8 -0
- package/dist/common/enums/calc_mode.enum.d.ts.map +1 -0
- package/dist/common/enums/calc_mode.enum.js +32 -0
- package/dist/common/enums/calc_mode.enum.js.map +1 -0
- package/dist/common/enums/index.d.ts +3 -0
- package/dist/common/enums/index.d.ts.map +1 -0
- package/dist/common/enums/index.js +19 -0
- package/dist/common/enums/index.js.map +1 -0
- package/dist/common/enums/intent_type.enum.d.ts +6 -0
- package/dist/common/enums/intent_type.enum.d.ts.map +1 -0
- package/dist/common/enums/intent_type.enum.js +10 -0
- package/dist/common/enums/intent_type.enum.js.map +1 -0
- package/dist/common/index.d.ts +3 -0
- package/dist/common/index.d.ts.map +1 -0
- package/dist/common/index.js +19 -0
- package/dist/common/index.js.map +1 -0
- package/dist/common/interfaces/IChain.d.ts +20 -0
- package/dist/common/interfaces/IChain.d.ts.map +1 -0
- package/dist/common/interfaces/IChain.js +3 -0
- package/dist/common/interfaces/IChain.js.map +1 -0
- package/dist/common/interfaces/ILog.d.ts +8 -0
- package/dist/common/interfaces/ILog.d.ts.map +1 -0
- package/dist/common/interfaces/ILog.js +3 -0
- package/dist/common/interfaces/ILog.js.map +1 -0
- package/dist/common/utils/bignumber.column.transformer.d.ts +6 -0
- package/dist/common/utils/bignumber.column.transformer.d.ts.map +1 -0
- package/dist/common/utils/bignumber.column.transformer.js +17 -0
- package/dist/common/utils/bignumber.column.transformer.js.map +1 -0
- package/dist/common/utils/index.d.ts +3 -0
- package/dist/common/utils/index.d.ts.map +1 -0
- package/dist/common/utils/index.js +19 -0
- package/dist/common/utils/index.js.map +1 -0
- package/dist/common/utils/list.d.ts +3 -0
- package/dist/common/utils/list.d.ts.map +1 -0
- package/dist/common/utils/list.js +25 -0
- package/dist/common/utils/list.js.map +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +18 -0
- package/dist/index.js.map +1 -0
- package/dist/modules/chainsync/domain/dto/chain_contract.dto.d.ts +35 -0
- package/dist/modules/chainsync/domain/dto/chain_contract.dto.d.ts.map +1 -0
- package/dist/modules/chainsync/domain/dto/chain_contract.dto.js +44 -0
- package/dist/modules/chainsync/domain/dto/chain_contract.dto.js.map +1 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction.dto.d.ts +131 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction.dto.d.ts.map +1 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction.dto.js +133 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction.dto.js.map +1 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction_event_log.dto.d.ts +43 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction_event_log.dto.d.ts.map +1 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction_event_log.dto.js +51 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction_event_log.dto.js.map +1 -0
- package/dist/modules/chainsync/domain/dto/index.d.ts +5 -0
- package/dist/modules/chainsync/domain/dto/index.d.ts.map +1 -0
- package/dist/modules/chainsync/domain/dto/index.js +21 -0
- package/dist/modules/chainsync/domain/dto/index.js.map +1 -0
- package/dist/modules/chainsync/domain/dto/pluton_request.dto.d.ts +10 -0
- package/dist/modules/chainsync/domain/dto/pluton_request.dto.d.ts.map +1 -0
- package/dist/modules/chainsync/domain/dto/pluton_request.dto.js +54 -0
- package/dist/modules/chainsync/domain/dto/pluton_request.dto.js.map +1 -0
- package/dist/modules/chainsync/domain/index.d.ts +2 -0
- package/dist/modules/chainsync/domain/index.d.ts.map +1 -0
- package/dist/modules/chainsync/domain/index.js +18 -0
- package/dist/modules/chainsync/domain/index.js.map +1 -0
- package/dist/modules/chainsync/index.d.ts +2 -0
- package/dist/modules/chainsync/index.d.ts.map +1 -0
- package/dist/modules/chainsync/index.js +18 -0
- package/dist/modules/chainsync/index.js.map +1 -0
- package/dist/modules/index.d.ts +6 -0
- package/dist/modules/index.d.ts.map +1 -0
- package/dist/modules/index.js +22 -0
- package/dist/modules/index.js.map +1 -0
- package/dist/modules/network/domain/dto/index.d.ts +5 -0
- package/dist/modules/network/domain/dto/index.d.ts.map +1 -0
- package/dist/modules/network/domain/dto/index.js +21 -0
- package/dist/modules/network/domain/dto/index.js.map +1 -0
- package/dist/modules/network/domain/dto/network.dto.d.ts +50 -0
- package/dist/modules/network/domain/dto/network.dto.d.ts.map +1 -0
- package/dist/modules/network/domain/dto/network.dto.js +66 -0
- package/dist/modules/network/domain/dto/network.dto.js.map +1 -0
- package/dist/modules/network/domain/dto/network.update.dto.d.ts +66 -0
- package/dist/modules/network/domain/dto/network.update.dto.d.ts.map +1 -0
- package/dist/modules/network/domain/dto/network.update.dto.js +87 -0
- package/dist/modules/network/domain/dto/network.update.dto.js.map +1 -0
- package/dist/modules/network/domain/dto/network_provider.dto.d.ts +42 -0
- package/dist/modules/network/domain/dto/network_provider.dto.d.ts.map +1 -0
- package/dist/modules/network/domain/dto/network_provider.dto.js +53 -0
- package/dist/modules/network/domain/dto/network_provider.dto.js.map +1 -0
- package/dist/modules/network/domain/dto/network_provider.update.dto.d.ts +45 -0
- package/dist/modules/network/domain/dto/network_provider.update.dto.d.ts.map +1 -0
- package/dist/modules/network/domain/dto/network_provider.update.dto.js +58 -0
- package/dist/modules/network/domain/dto/network_provider.update.dto.js.map +1 -0
- package/dist/modules/network/domain/enums/chain_type.enum.d.ts +8 -0
- package/dist/modules/network/domain/enums/chain_type.enum.d.ts.map +1 -0
- package/dist/modules/network/domain/enums/chain_type.enum.js +25 -0
- package/dist/modules/network/domain/enums/chain_type.enum.js.map +1 -0
- package/dist/modules/network/domain/enums/coin_type.enum.d.ts +8 -0
- package/dist/modules/network/domain/enums/coin_type.enum.d.ts.map +1 -0
- package/dist/modules/network/domain/enums/coin_type.enum.js +12 -0
- package/dist/modules/network/domain/enums/coin_type.enum.js.map +1 -0
- package/dist/modules/network/domain/enums/index.d.ts +4 -0
- package/dist/modules/network/domain/enums/index.d.ts.map +1 -0
- package/dist/modules/network/domain/enums/index.js +20 -0
- package/dist/modules/network/domain/enums/index.js.map +1 -0
- package/dist/modules/network/domain/enums/provider_protocol_type.enum.d.ts +7 -0
- package/dist/modules/network/domain/enums/provider_protocol_type.enum.d.ts.map +1 -0
- package/dist/modules/network/domain/enums/provider_protocol_type.enum.js +11 -0
- package/dist/modules/network/domain/enums/provider_protocol_type.enum.js.map +1 -0
- package/dist/modules/network/domain/index.d.ts +3 -0
- package/dist/modules/network/domain/index.d.ts.map +1 -0
- package/dist/modules/network/domain/index.js +19 -0
- package/dist/modules/network/domain/index.js.map +1 -0
- package/dist/modules/network/index.d.ts +2 -0
- package/dist/modules/network/index.d.ts.map +1 -0
- package/dist/modules/network/index.js +18 -0
- package/dist/modules/network/index.js.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.d.ts +21 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.js +35 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.d.ts +24 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.js +40 -0
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.d.ts +28 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.js +40 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.d.ts +35 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js +19 -0
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/index.d.ts +5 -0
- package/dist/modules/quote/domain/dto/affiliate/index.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/affiliate/index.js +21 -0
- package/dist/modules/quote/domain/dto/affiliate/index.js.map +1 -0
- package/dist/modules/quote/domain/dto/index.d.ts +4 -0
- package/dist/modules/quote/domain/dto/index.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/index.js +20 -0
- package/dist/modules/quote/domain/dto/index.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/index.d.ts +16 -0
- package/dist/modules/quote/domain/dto/quote/index.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/index.js +32 -0
- package/dist/modules/quote/domain/dto/quote/index.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote.dto.d.ts +9 -0
- package/dist/modules/quote/domain/dto/quote/quote.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote.dto.js +21 -0
- package/dist/modules/quote/domain/dto/quote/quote.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts +14 -0
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js +27 -0
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.d.ts +14 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.js +28 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts +17 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js +22 -0
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts +44 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js +47 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_response.dto.d.ts +8 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_response.dto.js +22 -0
- package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent.dto.d.ts +4 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent.dto.js +3 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.d.ts +10 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.js +3 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.d.ts +16 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.js +57 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_request.dto.d.ts +9 -0
- package/dist/modules/quote/domain/dto/quote/quote_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_request.dto.js +26 -0
- package/dist/modules/quote/domain/dto/quote/quote_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts +50 -0
- package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js +21 -0
- package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts +24 -0
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.js +41 -0
- package/dist/modules/quote/domain/dto/quote/quote_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts +50 -0
- package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js +21 -0
- package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.d.ts +14 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.js +31 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.d.ts +3 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.js +7 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.d.ts +8 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.js +21 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.d.ts +8 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.js +21 -0
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.d.ts +18 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.js +30 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.d.ts +23 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.js +7 -0
- package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/refund/index.d.ts +5 -0
- package/dist/modules/quote/domain/dto/refund/index.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/refund/index.js +21 -0
- package/dist/modules/quote/domain/dto/refund/index.js.map +1 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.d.ts +13 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.js +26 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_response.dto.d.ts +8 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_response.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_response.dto.js +21 -0
- package/dist/modules/quote/domain/dto/refund/quote_refund_signature_response.dto.js.map +1 -0
- package/dist/modules/quote/domain/enums/index.d.ts +9 -0
- package/dist/modules/quote/domain/enums/index.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/index.js +25 -0
- package/dist/modules/quote/domain/enums/index.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_action.enum.d.ts +4 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_action.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_action.enum.js +8 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_action.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_lifecycle.enum.d.ts +15 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_lifecycle.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_lifecycle.enum.js +22 -0
- package/dist/modules/quote/domain/enums/quote_affiliate_lifecycle.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_intent_type.enum.d.ts +4 -0
- package/dist/modules/quote/domain/enums/quote_intent_type.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_intent_type.enum.js +8 -0
- package/dist/modules/quote/domain/enums/quote_intent_type.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_request_action.enum.d.ts +16 -0
- package/dist/modules/quote/domain/enums/quote_request_action.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_request_action.enum.js +20 -0
- package/dist/modules/quote/domain/enums/quote_request_action.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.d.ts +31 -0
- package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.js +40 -0
- package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_response_action.enum.d.ts +12 -0
- package/dist/modules/quote/domain/enums/quote_response_action.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_response_action.enum.js +16 -0
- package/dist/modules/quote/domain/enums/quote_response_action.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.d.ts +26 -0
- package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.js +35 -0
- package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/selection_status.enum.d.ts +5 -0
- package/dist/modules/quote/domain/enums/selection_status.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/selection_status.enum.js +9 -0
- package/dist/modules/quote/domain/enums/selection_status.enum.js.map +1 -0
- package/dist/modules/quote/domain/index.d.ts +3 -0
- package/dist/modules/quote/domain/index.d.ts.map +1 -0
- package/dist/modules/quote/domain/index.js +19 -0
- package/dist/modules/quote/domain/index.js.map +1 -0
- package/dist/modules/quote/index.d.ts +2 -0
- package/dist/modules/quote/index.d.ts.map +1 -0
- package/dist/modules/quote/index.js +18 -0
- package/dist/modules/quote/index.js.map +1 -0
- package/dist/modules/swap/domain/dto/index.d.ts +4 -0
- package/dist/modules/swap/domain/dto/index.d.ts.map +1 -0
- package/dist/modules/swap/domain/dto/index.js +20 -0
- package/dist/modules/swap/domain/dto/index.js.map +1 -0
- package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.d.ts +9 -0
- package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.d.ts.map +1 -0
- package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.js +25 -0
- package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.js.map +1 -0
- package/dist/modules/swap/domain/dto/token_swap_request.dto.d.ts +18 -0
- package/dist/modules/swap/domain/dto/token_swap_request.dto.d.ts.map +1 -0
- package/dist/modules/swap/domain/dto/token_swap_request.dto.js +31 -0
- package/dist/modules/swap/domain/dto/token_swap_request.dto.js.map +1 -0
- package/dist/modules/swap/domain/dto/token_swap_response.dto.d.ts +18 -0
- package/dist/modules/swap/domain/dto/token_swap_response.dto.d.ts.map +1 -0
- package/dist/modules/swap/domain/dto/token_swap_response.dto.js +32 -0
- package/dist/modules/swap/domain/dto/token_swap_response.dto.js.map +1 -0
- package/dist/modules/swap/domain/index.d.ts +2 -0
- package/dist/modules/swap/domain/index.d.ts.map +1 -0
- package/dist/modules/swap/domain/index.js +18 -0
- package/dist/modules/swap/domain/index.js.map +1 -0
- package/dist/modules/swap/index.d.ts +2 -0
- package/dist/modules/swap/index.d.ts.map +1 -0
- package/dist/modules/swap/index.js +18 -0
- package/dist/modules/swap/index.js.map +1 -0
- package/dist/modules/token/domain/dto/index.d.ts +4 -0
- package/dist/modules/token/domain/dto/index.d.ts.map +1 -0
- package/dist/modules/token/domain/dto/index.js +20 -0
- package/dist/modules/token/domain/dto/index.js.map +1 -0
- package/dist/modules/token/domain/dto/network_contract_find_token.dto.d.ts +27 -0
- package/dist/modules/token/domain/dto/network_contract_find_token.dto.d.ts.map +1 -0
- package/dist/modules/token/domain/dto/network_contract_find_token.dto.js +46 -0
- package/dist/modules/token/domain/dto/network_contract_find_token.dto.js.map +1 -0
- package/dist/modules/token/domain/dto/token.dto.d.ts +59 -0
- package/dist/modules/token/domain/dto/token.dto.d.ts.map +1 -0
- package/dist/modules/token/domain/dto/token.dto.js +70 -0
- package/dist/modules/token/domain/dto/token.dto.js.map +1 -0
- package/dist/modules/token/domain/dto/token.update.dto.d.ts +66 -0
- package/dist/modules/token/domain/dto/token.update.dto.d.ts.map +1 -0
- package/dist/modules/token/domain/dto/token.update.dto.js +75 -0
- package/dist/modules/token/domain/dto/token.update.dto.js.map +1 -0
- package/dist/modules/token/domain/index.d.ts +2 -0
- package/dist/modules/token/domain/index.d.ts.map +1 -0
- package/dist/modules/token/domain/index.js +18 -0
- package/dist/modules/token/domain/index.js.map +1 -0
- package/dist/modules/token/index.d.ts +2 -0
- package/dist/modules/token/index.d.ts.map +1 -0
- package/dist/modules/token/index.js +18 -0
- package/dist/modules/token/index.js.map +1 -0
- package/package.json +22 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { BaseQuoteIntentRequestDto } from './quote_base_intent_request.dto';
|
|
2
|
+
import { CalcMode } from '../../../../../common';
|
|
3
|
+
export declare class QuoteEstimateBridgeIntentRequestDto extends BaseQuoteIntentRequestDto {
|
|
4
|
+
/**
|
|
5
|
+
* @example 1
|
|
6
|
+
*/
|
|
7
|
+
sourceChainId: number;
|
|
8
|
+
/**
|
|
9
|
+
* @example 60
|
|
10
|
+
*/
|
|
11
|
+
sourceCoinType: number;
|
|
12
|
+
/**
|
|
13
|
+
* @example '0xb44146014eD5f7001Ec9b03153950f4129ec7296'
|
|
14
|
+
* @description address of token contract on source chain, empty if native token
|
|
15
|
+
*/
|
|
16
|
+
sourceTokenAddress: string | null;
|
|
17
|
+
/**
|
|
18
|
+
* @example 1333
|
|
19
|
+
*/
|
|
20
|
+
destinationChainId: number;
|
|
21
|
+
/**
|
|
22
|
+
* @example 60
|
|
23
|
+
*/
|
|
24
|
+
destinationCoinType: number;
|
|
25
|
+
/**
|
|
26
|
+
* @example '0xb44146014eD5f7001Ec9b03153950f4129ec7296'
|
|
27
|
+
* @description address of token contract on destination chain, empty if native token
|
|
28
|
+
*/
|
|
29
|
+
destinationTokenAddress: string | null;
|
|
30
|
+
/**
|
|
31
|
+
* @example '1000'
|
|
32
|
+
*/
|
|
33
|
+
amount: string;
|
|
34
|
+
/**
|
|
35
|
+
* @example '0.5'
|
|
36
|
+
*/
|
|
37
|
+
slippage: number;
|
|
38
|
+
/**
|
|
39
|
+
* @example 'exact_in'
|
|
40
|
+
* @description Type of bridge request of the quote
|
|
41
|
+
*/
|
|
42
|
+
calcMode: CalcMode;
|
|
43
|
+
}
|
|
44
|
+
//# sourceMappingURL=quote_estimate_bridge_intent_request.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_estimate_bridge_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,yBAAyB,EAAE,MAAM,iCAAiC,CAAC;AAC5E,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,qBAAa,mCAAoC,SAAQ,yBAAyB;IAChF;;OAEG;IAEH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IAEH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC;;OAEG;IAEH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IAEH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;;OAGG;IACH,uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvC;;OAEG;IAEH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IAEH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAEH,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.QuoteEstimateBridgeIntentRequestDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const quote_base_intent_request_dto_1 = require("./quote_base_intent_request.dto");
|
|
15
|
+
const common_1 = require("../../../../../common");
|
|
16
|
+
class QuoteEstimateBridgeIntentRequestDto extends quote_base_intent_request_dto_1.BaseQuoteIntentRequestDto {
|
|
17
|
+
}
|
|
18
|
+
exports.QuoteEstimateBridgeIntentRequestDto = QuoteEstimateBridgeIntentRequestDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
21
|
+
__metadata("design:type", Number)
|
|
22
|
+
], QuoteEstimateBridgeIntentRequestDto.prototype, "sourceChainId", void 0);
|
|
23
|
+
__decorate([
|
|
24
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
25
|
+
__metadata("design:type", Number)
|
|
26
|
+
], QuoteEstimateBridgeIntentRequestDto.prototype, "sourceCoinType", void 0);
|
|
27
|
+
__decorate([
|
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
29
|
+
__metadata("design:type", Number)
|
|
30
|
+
], QuoteEstimateBridgeIntentRequestDto.prototype, "destinationChainId", void 0);
|
|
31
|
+
__decorate([
|
|
32
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
33
|
+
__metadata("design:type", Number)
|
|
34
|
+
], QuoteEstimateBridgeIntentRequestDto.prototype, "destinationCoinType", void 0);
|
|
35
|
+
__decorate([
|
|
36
|
+
(0, class_validator_1.IsNumberString)(),
|
|
37
|
+
__metadata("design:type", String)
|
|
38
|
+
], QuoteEstimateBridgeIntentRequestDto.prototype, "amount", void 0);
|
|
39
|
+
__decorate([
|
|
40
|
+
(0, class_validator_1.IsNumberString)(),
|
|
41
|
+
__metadata("design:type", Number)
|
|
42
|
+
], QuoteEstimateBridgeIntentRequestDto.prototype, "slippage", void 0);
|
|
43
|
+
__decorate([
|
|
44
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
45
|
+
__metadata("design:type", String)
|
|
46
|
+
], QuoteEstimateBridgeIntentRequestDto.prototype, "calcMode", void 0);
|
|
47
|
+
//# sourceMappingURL=quote_estimate_bridge_intent_request.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_estimate_bridge_intent_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6D;AAC7D,mFAA4E;AAC5E,kDAAiD;AAEjD,MAAa,mCAAoC,SAAQ,yDAAyB;CAuDjF;AAvDD,kFAuDC;AAlDC;IADC,IAAA,4BAAU,GAAE;;0EACS;AAMtB;IADC,IAAA,4BAAU,GAAE;;2EACU;AAYvB;IADC,IAAA,4BAAU,GAAE;;+EACc;AAM3B;IADC,IAAA,4BAAU,GAAE;;gFACe;AAY5B;IADC,IAAA,gCAAc,GAAE;;mEACF;AAMf;IADC,IAAA,gCAAc,GAAE;;qEACA;AAOjB;IADC,IAAA,4BAAU,GAAE;;qEACM"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { BaseQuoteIntentResponseDto } from './quote_intent_response.dto';
|
|
2
|
+
export declare class QuoteEstimateBridgeIntentResponseDto extends BaseQuoteIntentResponseDto {
|
|
3
|
+
/**
|
|
4
|
+
* @example '1000'
|
|
5
|
+
*/
|
|
6
|
+
amount: string;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=quote_estimate_bridge_intent_response.dto.d.ts.map
|
package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_response.dto.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_estimate_bridge_intent_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAEzE,qBAAa,oCAAqC,SAAQ,0BAA0B;IAClF;;OAEG;IAEH,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
|
@@ -0,0 +1,22 @@
|
|
|
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.QuoteEstimateBridgeIntentResponseDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const quote_intent_response_dto_1 = require("./quote_intent_response.dto");
|
|
15
|
+
class QuoteEstimateBridgeIntentResponseDto extends quote_intent_response_dto_1.BaseQuoteIntentResponseDto {
|
|
16
|
+
}
|
|
17
|
+
exports.QuoteEstimateBridgeIntentResponseDto = QuoteEstimateBridgeIntentResponseDto;
|
|
18
|
+
__decorate([
|
|
19
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
20
|
+
__metadata("design:type", String)
|
|
21
|
+
], QuoteEstimateBridgeIntentResponseDto.prototype, "amount", void 0);
|
|
22
|
+
//# sourceMappingURL=quote_estimate_bridge_intent_response.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_estimate_bridge_intent_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,2EAAyE;AAEzE,MAAa,oCAAqC,SAAQ,sDAA0B;CAMnF;AAND,oFAMC;AADC;IADC,IAAA,4BAAU,GAAE;;oEACE"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_intent.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAErE,MAAM,MAAM,eAAe,GAAG,sBAAsB,GAAG,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_intent.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent.dto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { QuoteBridgeIntentRequestDto } from './quote_bridge_intent_request.dto';
|
|
2
|
+
import { QuoteEstimateBridgeIntentRequestDto } from './quote_estimate_bridge_intent_request.dto';
|
|
3
|
+
export type QuoteIntentRequestType = QuoteBridgeIntentRequestDto | QuoteEstimateBridgeIntentRequestDto;
|
|
4
|
+
export type CreateQuoteIntentRequestDto = QuoteIntentRequestType & {
|
|
5
|
+
quoteRequestId: string;
|
|
6
|
+
};
|
|
7
|
+
export type SolverQuoteIntentRequestDto = QuoteIntentRequestType & {
|
|
8
|
+
id: string;
|
|
9
|
+
};
|
|
10
|
+
//# sourceMappingURL=quote_intent_request.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent_request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,MAAM,mCAAmC,CAAC;AAChF,OAAO,EAAE,mCAAmC,EAAE,MAAM,4CAA4C,CAAC;AAEjG,MAAM,MAAM,sBAAsB,GAC9B,2BAA2B,GAC3B,mCAAmC,CAAC;AAExC,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,GAAG;IACjE,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,GAAG;IACjE,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_intent_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent_request.dto.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { QuoteBridgeIntentResponseDto } from './quote_bridge_intent_response.dto';
|
|
2
|
+
import { QuoteEstimateBridgeIntentResponseDto } from './quote_estimate_bridge_intent_response.dto';
|
|
3
|
+
import { IntentType } from '../../../../../common';
|
|
4
|
+
import { SelectionStatus } from '../../enums';
|
|
5
|
+
export declare class BaseQuoteIntentResponseDto {
|
|
6
|
+
id: string;
|
|
7
|
+
solverId: string;
|
|
8
|
+
intentType: IntentType;
|
|
9
|
+
selectionStatus: SelectionStatus;
|
|
10
|
+
intentRequestId: string;
|
|
11
|
+
}
|
|
12
|
+
export type QuoteIntentResponseDto = QuoteBridgeIntentResponseDto | QuoteEstimateBridgeIntentResponseDto;
|
|
13
|
+
export type CreateQuoteIntentResponseDto = QuoteIntentResponseDto & {
|
|
14
|
+
quoteResponseId: string;
|
|
15
|
+
};
|
|
16
|
+
//# sourceMappingURL=quote_intent_response.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_intent_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAClF,OAAO,EAAE,oCAAoC,EAAE,MAAM,6CAA6C,CAAC;AACnG,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,qBAAa,0BAA0B;IAIrC,EAAE,EAAE,MAAM,CAAC;IAMX,QAAQ,EAAE,MAAM,CAAC;IAKjB,UAAU,EAAE,UAAU,CAAC;IAMvB,eAAe,EAAE,eAAe,CAAC;IAMjC,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,MAAM,sBAAsB,GAC9B,4BAA4B,GAC5B,oCAAoC,CAAC;AAEzC,MAAM,MAAM,4BAA4B,GAAG,sBAAsB,GAAG;IAClE,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
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.BaseQuoteIntentResponseDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
const common_1 = require("../../../../../common");
|
|
15
|
+
const enums_1 = require("../../enums");
|
|
16
|
+
class BaseQuoteIntentResponseDto {
|
|
17
|
+
}
|
|
18
|
+
exports.BaseQuoteIntentResponseDto = BaseQuoteIntentResponseDto;
|
|
19
|
+
__decorate([
|
|
20
|
+
(0, class_validator_1.IsUUID)()
|
|
21
|
+
// Unique identifier for the quote intent response
|
|
22
|
+
// example: 'f9b7c46f-5f49-4bb6-9412-40bdb5563ef6'
|
|
23
|
+
,
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], BaseQuoteIntentResponseDto.prototype, "id", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
+
(0, class_validator_1.IsUUID)()
|
|
29
|
+
// Unique identifier for the solver associated with the intent response
|
|
30
|
+
// example: 'e5e7e948-e7f1-4824-80a7-650cc7ed3b29'
|
|
31
|
+
,
|
|
32
|
+
__metadata("design:type", String)
|
|
33
|
+
], BaseQuoteIntentResponseDto.prototype, "solverId", void 0);
|
|
34
|
+
__decorate([
|
|
35
|
+
(0, class_validator_1.IsNotEmpty)()
|
|
36
|
+
// Type of intent request
|
|
37
|
+
// example: IntentType.BRIDGE
|
|
38
|
+
,
|
|
39
|
+
__metadata("design:type", String)
|
|
40
|
+
], BaseQuoteIntentResponseDto.prototype, "intentType", void 0);
|
|
41
|
+
__decorate([
|
|
42
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
43
|
+
(0, class_validator_1.IsNumber)()
|
|
44
|
+
// Status of the selection, indicating whether it was successful or failed
|
|
45
|
+
// example: 1
|
|
46
|
+
,
|
|
47
|
+
__metadata("design:type", Number)
|
|
48
|
+
], BaseQuoteIntentResponseDto.prototype, "selectionStatus", void 0);
|
|
49
|
+
__decorate([
|
|
50
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
51
|
+
(0, class_validator_1.IsUUID)()
|
|
52
|
+
// Unique identifier for the intent request related to the quote
|
|
53
|
+
// example: 'a68d209f-46e3-4f0e-b013-94c3b5f4d7f2'
|
|
54
|
+
,
|
|
55
|
+
__metadata("design:type", String)
|
|
56
|
+
], BaseQuoteIntentResponseDto.prototype, "intentRequestId", void 0);
|
|
57
|
+
//# sourceMappingURL=quote_intent_response.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_intent_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAG/D,kDAAmD;AACnD,uCAA8C;AAE9C,MAAa,0BAA0B;CA4BtC;AA5BD,gEA4BC;AAxBC;IAHC,IAAA,wBAAM,GAAE;IACT,kDAAkD;IAClD,kDAAkD;;;sDACvC;AAMX;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACT,uEAAuE;IACvE,kDAAkD;;;4DACjC;AAKjB;IAHC,IAAA,4BAAU,GAAE;IACb,yBAAyB;IACzB,6BAA6B;;;8DACN;AAMvB;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;IACX,0EAA0E;IAC1E,aAAa;;;mEACoB;AAMjC;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACT,gEAAgE;IAChE,kDAAkD;;;mEAC1B"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { QuoteIntentRequestType } from './quote_intent_request.dto';
|
|
2
|
+
export declare class QuoteRequestDto {
|
|
3
|
+
/**
|
|
4
|
+
* @description "ids of the request"
|
|
5
|
+
* @example [ { quoteRequestId: "3a87e4aa-0a5e-4b9a-b4cb-b35c5b65dff4" }, { id: "020c9c03-0dbd-40e4-aba8-761821782cb3" } ]
|
|
6
|
+
*/
|
|
7
|
+
intentRequests: QuoteIntentRequestType[];
|
|
8
|
+
}
|
|
9
|
+
//# sourceMappingURL=quote_request.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAA+B,sBAAsB,EAA+B,MAAM,4BAA4B,CAAC;AAE9H,qBAAa,eAAe;IAE1B;;;OAGG;IACH,cAAc,EAAE,sBAAsB,EAAE,CAAC;CAC1C"}
|
|
@@ -0,0 +1,26 @@
|
|
|
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.QuoteRequestDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class QuoteRequestDto {
|
|
15
|
+
}
|
|
16
|
+
exports.QuoteRequestDto = QuoteRequestDto;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)()
|
|
19
|
+
/**
|
|
20
|
+
* @description "ids of the request"
|
|
21
|
+
* @example [ { quoteRequestId: "3a87e4aa-0a5e-4b9a-b4cb-b35c5b65dff4" }, { id: "020c9c03-0dbd-40e4-aba8-761821782cb3" } ]
|
|
22
|
+
*/
|
|
23
|
+
,
|
|
24
|
+
__metadata("design:type", Array)
|
|
25
|
+
], QuoteRequestDto.prototype, "intentRequests", void 0);
|
|
26
|
+
//# sourceMappingURL=quote_request.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAG7C,MAAa,eAAe;CAO3B;AAPD,0CAOC;AADC;IALC,IAAA,4BAAU,GAAE;IACb;;;OAGG;;;uDACsC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { QuoteRequestLifecycleStage, QuoteRequestLifecycleState, QuoteRequestLifecycleStatus } from "../../enums";
|
|
2
|
+
export declare class QuoteRequestLifecycleDto {
|
|
3
|
+
static from<T extends {
|
|
4
|
+
id: string;
|
|
5
|
+
quoteRequestId: string;
|
|
6
|
+
stage: QuoteRequestLifecycleStage;
|
|
7
|
+
state: QuoteRequestLifecycleState;
|
|
8
|
+
status: QuoteRequestLifecycleStatus;
|
|
9
|
+
metadata?: Record<string, any>;
|
|
10
|
+
}>(obj: T): QuoteRequestLifecycleDto;
|
|
11
|
+
static listFrom<T extends {
|
|
12
|
+
id: string;
|
|
13
|
+
quoteRequestId: string;
|
|
14
|
+
stage: QuoteRequestLifecycleStage;
|
|
15
|
+
state: QuoteRequestLifecycleState;
|
|
16
|
+
status: QuoteRequestLifecycleStatus;
|
|
17
|
+
metadata?: Record<string, any>;
|
|
18
|
+
}>(objs: T[]): QuoteRequestLifecycleDto[];
|
|
19
|
+
/**
|
|
20
|
+
* @description The unique identifier for the quote request lifecycle
|
|
21
|
+
* @example '1a2b3c4d'
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* @description The unique identifier for the quote request
|
|
26
|
+
* @example '5f6g7h8i'
|
|
27
|
+
*/
|
|
28
|
+
quoteRequestId: string;
|
|
29
|
+
/**
|
|
30
|
+
* @description The stage of the quote request lifecycle
|
|
31
|
+
* @example 'initial'
|
|
32
|
+
*/
|
|
33
|
+
stage: QuoteRequestLifecycleStage;
|
|
34
|
+
/**
|
|
35
|
+
* @description The state of the quote request lifecycle
|
|
36
|
+
* @example 'pending'
|
|
37
|
+
*/
|
|
38
|
+
state: QuoteRequestLifecycleState;
|
|
39
|
+
/**
|
|
40
|
+
* @description The status of the quote request lifecycle
|
|
41
|
+
* @example 'active'
|
|
42
|
+
*/
|
|
43
|
+
status: QuoteRequestLifecycleStatus;
|
|
44
|
+
/**
|
|
45
|
+
* @description Optional metadata related to the lifecycle
|
|
46
|
+
* @example { "key": "value" }
|
|
47
|
+
*/
|
|
48
|
+
metadata?: Record<string, any>;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=quote_request_lifecycle.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_request_lifecycle.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.ts"],"names":[],"mappings":"AACA,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,aAAa,CAAC;AAErB,qBAAa,wBAAwB;WACrB,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,cAAc,EAAE,MAAM,CAAC;QACvB,KAAK,EAAE,0BAA0B,CAAC;QAClC,KAAK,EAAE,0BAA0B,CAAC;QAClC,MAAM,EAAE,2BAA2B,CAAC;QACpC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAChC,EACD,GAAG,EAAE,CAAC,GAAG,wBAAwB;IAWnC,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,cAAc,EAAE,MAAM,CAAC;QACvB,KAAK,EAAE,0BAA0B,CAAC;QAClC,KAAK,EAAE,0BAA0B,CAAC;QAClC,MAAM,EAAE,2BAA2B,CAAC;QACpC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAChC,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,wBAAwB,EAAE;IAIxC;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,KAAK,EAAE,0BAA0B,CAAC;IAElC;;;OAGG;IACH,KAAK,EAAE,0BAA0B,CAAC;IAElC;;;OAGG;IACH,MAAM,EAAE,2BAA2B,CAAC;IAEpC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QuoteRequestLifecycleDto = void 0;
|
|
4
|
+
const common_1 = require("../../../../../common");
|
|
5
|
+
class QuoteRequestLifecycleDto {
|
|
6
|
+
static from(obj) {
|
|
7
|
+
const dto = new QuoteRequestLifecycleDto();
|
|
8
|
+
dto.id = obj.id;
|
|
9
|
+
dto.quoteRequestId = obj.quoteRequestId;
|
|
10
|
+
dto.stage = obj.stage;
|
|
11
|
+
dto.state = obj.state;
|
|
12
|
+
dto.status = obj.status;
|
|
13
|
+
dto.metadata = obj.metadata;
|
|
14
|
+
return dto;
|
|
15
|
+
}
|
|
16
|
+
static listFrom(objs) {
|
|
17
|
+
return (0, common_1.makeList)(objs, QuoteRequestLifecycleDto.from);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.QuoteRequestLifecycleDto = QuoteRequestLifecycleDto;
|
|
21
|
+
//# sourceMappingURL=quote_request_lifecycle.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_request_lifecycle.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.ts"],"names":[],"mappings":";;;AAAA,kDAAiD;AAOjD,MAAa,wBAAwB;IAC5B,MAAM,CAAC,IAAI,CAShB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,wBAAwB,EAAE,CAAC;QAC3C,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,EAAE,CAAC;QAChB,GAAG,CAAC,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC;QACxC,GAAG,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACtB,GAAG,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACtB,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QACxB,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC5B,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,QAAQ,CASb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;CAqCF;AArED,4DAqEC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { QuoteIntentResponseDto } from './quote_intent_response.dto';
|
|
2
|
+
export declare class QuoteResponseDto {
|
|
3
|
+
/**
|
|
4
|
+
* @description An array of intent responses that correspond to the quote. Each response contains details of the quote intent.
|
|
5
|
+
* @example [
|
|
6
|
+
* {
|
|
7
|
+
* id: 'f9b7c46f-5f49-4bb6-9412-40bdb5563ef6',
|
|
8
|
+
* solverId: 'e5e7e948-e7f1-4824-80a7-650cc7ed3b29',
|
|
9
|
+
* intentType: IntentType.BRIDGE,
|
|
10
|
+
* selectionStatus: 1,
|
|
11
|
+
* intentRequestId: 'a68d209f-46e3-4f0e-b013-94c3b5f4d7f2',
|
|
12
|
+
* },
|
|
13
|
+
* {
|
|
14
|
+
* id: 'd30c9a60-9f72-42d3-b7ae-4a2fa05f5b8a',
|
|
15
|
+
* solverId: '14b8e6f8-6076-4ab9-93e8-dfe27d697f91',
|
|
16
|
+
* intentType: IntentType.BRIDGE_ESTIMATE,
|
|
17
|
+
* selectionStatus: 2,
|
|
18
|
+
* intentRequestId: 'b10c7b1d-59c4-4a99-8452-fb69d9e6da1b',
|
|
19
|
+
* }
|
|
20
|
+
* ]
|
|
21
|
+
*/
|
|
22
|
+
intentResponses: QuoteIntentResponseDto[];
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=quote_response.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,sBAAsB,EAAE,MAAM,6BAA6B,CAAC;AAGrE,qBAAa,gBAAgB;IAE3B;;;;;;;;;;;;;;;;;;OAkBG;IACH,eAAe,EAAE,sBAAsB,EAAE,CAAC;CAC3C"}
|
|
@@ -0,0 +1,41 @@
|
|
|
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.QuoteResponseDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class QuoteResponseDto {
|
|
15
|
+
}
|
|
16
|
+
exports.QuoteResponseDto = QuoteResponseDto;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsNotEmpty)()
|
|
19
|
+
/**
|
|
20
|
+
* @description An array of intent responses that correspond to the quote. Each response contains details of the quote intent.
|
|
21
|
+
* @example [
|
|
22
|
+
* {
|
|
23
|
+
* id: 'f9b7c46f-5f49-4bb6-9412-40bdb5563ef6',
|
|
24
|
+
* solverId: 'e5e7e948-e7f1-4824-80a7-650cc7ed3b29',
|
|
25
|
+
* intentType: IntentType.BRIDGE,
|
|
26
|
+
* selectionStatus: 1,
|
|
27
|
+
* intentRequestId: 'a68d209f-46e3-4f0e-b013-94c3b5f4d7f2',
|
|
28
|
+
* },
|
|
29
|
+
* {
|
|
30
|
+
* id: 'd30c9a60-9f72-42d3-b7ae-4a2fa05f5b8a',
|
|
31
|
+
* solverId: '14b8e6f8-6076-4ab9-93e8-dfe27d697f91',
|
|
32
|
+
* intentType: IntentType.BRIDGE_ESTIMATE,
|
|
33
|
+
* selectionStatus: 2,
|
|
34
|
+
* intentRequestId: 'b10c7b1d-59c4-4a99-8452-fb69d9e6da1b',
|
|
35
|
+
* }
|
|
36
|
+
* ]
|
|
37
|
+
*/
|
|
38
|
+
,
|
|
39
|
+
__metadata("design:type", Array)
|
|
40
|
+
], QuoteResponseDto.prototype, "intentResponses", void 0);
|
|
41
|
+
//# sourceMappingURL=quote_response.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAI7C,MAAa,gBAAgB;CAsB5B;AAtBD,4CAsBC;AADC;IApBC,IAAA,4BAAU,GAAE;IACb;;;;;;;;;;;;;;;;;;OAkBG;;;yDACuC"}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import { QuoteResponseLifecycleStage, QuoteResponseLifecycleState, QuoteResponseLifecycleStatus } from '../../enums';
|
|
2
|
+
export declare class QuoteResponseLifecycleDto {
|
|
3
|
+
static from<T extends {
|
|
4
|
+
id: string;
|
|
5
|
+
quoteResponseId: string;
|
|
6
|
+
stage: QuoteResponseLifecycleStage;
|
|
7
|
+
state: QuoteResponseLifecycleState;
|
|
8
|
+
status: QuoteResponseLifecycleStatus;
|
|
9
|
+
metadata?: Record<string, any>;
|
|
10
|
+
}>(obj: T): QuoteResponseLifecycleDto;
|
|
11
|
+
static listFrom<T extends {
|
|
12
|
+
id: string;
|
|
13
|
+
quoteResponseId: string;
|
|
14
|
+
stage: QuoteResponseLifecycleStage;
|
|
15
|
+
state: QuoteResponseLifecycleState;
|
|
16
|
+
status: QuoteResponseLifecycleStatus;
|
|
17
|
+
metadata?: Record<string, any>;
|
|
18
|
+
}>(objs: T[]): QuoteResponseLifecycleDto[];
|
|
19
|
+
/**
|
|
20
|
+
* @description Unique identifier for the quote response lifecycle
|
|
21
|
+
* @example '1a2b3c4d'
|
|
22
|
+
*/
|
|
23
|
+
id: string;
|
|
24
|
+
/**
|
|
25
|
+
* @description Unique identifier for the quote response
|
|
26
|
+
* @example '5f6g7h8i'
|
|
27
|
+
*/
|
|
28
|
+
quoteResponseId: string;
|
|
29
|
+
/**
|
|
30
|
+
* @description The stage of the quote response lifecycle
|
|
31
|
+
* @example 'initial'
|
|
32
|
+
*/
|
|
33
|
+
stage: QuoteResponseLifecycleStage;
|
|
34
|
+
/**
|
|
35
|
+
* @description The state of the quote response lifecycle
|
|
36
|
+
* @example 'pending'
|
|
37
|
+
*/
|
|
38
|
+
state: QuoteResponseLifecycleState;
|
|
39
|
+
/**
|
|
40
|
+
* @description The status of the quote response lifecycle
|
|
41
|
+
* @example 'active'
|
|
42
|
+
*/
|
|
43
|
+
status: QuoteResponseLifecycleStatus;
|
|
44
|
+
/**
|
|
45
|
+
* @description Optional metadata related to the lifecycle
|
|
46
|
+
* @example { "key": "value" }
|
|
47
|
+
*/
|
|
48
|
+
metadata?: Record<string, any>;
|
|
49
|
+
}
|
|
50
|
+
//# sourceMappingURL=quote_response_lifecycle.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_response_lifecycle.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,2BAA2B,EAAE,2BAA2B,EAAE,4BAA4B,EAAE,MAAM,aAAa,CAAC;AAGrH,qBAAa,yBAAyB;WACtB,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,eAAe,EAAE,MAAM,CAAC;QACxB,KAAK,EAAE,2BAA2B,CAAC;QACnC,KAAK,EAAE,2BAA2B,CAAC;QACnC,MAAM,EAAE,4BAA4B,CAAC;QACrC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAChC,EACD,GAAG,EAAE,CAAC,GAAG,yBAAyB;IAWpC,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,eAAe,EAAE,MAAM,CAAC;QACxB,KAAK,EAAE,2BAA2B,CAAC;QACnC,KAAK,EAAE,2BAA2B,CAAC;QACnC,MAAM,EAAE,4BAA4B,CAAC;QACrC,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAChC,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,yBAAyB,EAAE;IAIzC;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IACH,KAAK,EAAE,2BAA2B,CAAC;IAEnC;;;OAGG;IACH,KAAK,EAAE,2BAA2B,CAAC;IAEnC;;;OAGG;IACH,MAAM,EAAE,4BAA4B,CAAC;IAErC;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC"}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.QuoteResponseLifecycleDto = void 0;
|
|
4
|
+
const common_1 = require("../../../../../common");
|
|
5
|
+
class QuoteResponseLifecycleDto {
|
|
6
|
+
static from(obj) {
|
|
7
|
+
const dto = new QuoteResponseLifecycleDto();
|
|
8
|
+
dto.id = obj.id;
|
|
9
|
+
dto.quoteResponseId = obj.quoteResponseId;
|
|
10
|
+
dto.stage = obj.stage;
|
|
11
|
+
dto.state = obj.state;
|
|
12
|
+
dto.status = obj.status;
|
|
13
|
+
dto.metadata = obj.metadata;
|
|
14
|
+
return dto;
|
|
15
|
+
}
|
|
16
|
+
static listFrom(objs) {
|
|
17
|
+
return (0, common_1.makeList)(objs, QuoteResponseLifecycleDto.from);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
exports.QuoteResponseLifecycleDto = QuoteResponseLifecycleDto;
|
|
21
|
+
//# sourceMappingURL=quote_response_lifecycle.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_response_lifecycle.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.ts"],"names":[],"mappings":";;;AACA,kDAAiD;AAEjD,MAAa,yBAAyB;IAC7B,MAAM,CAAC,IAAI,CAShB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,yBAAyB,EAAE,CAAC;QAC5C,GAAG,CAAC,EAAE,GAAG,GAAG,CAAC,EAAE,CAAC;QAChB,GAAG,CAAC,eAAe,GAAG,GAAG,CAAC,eAAe,CAAC;QAC1C,GAAG,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACtB,GAAG,CAAC,KAAK,GAAG,GAAG,CAAC,KAAK,CAAC;QACtB,GAAG,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;QACxB,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC5B,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,QAAQ,CASb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACxD,CAAC;CAqCF;AArED,8DAqEC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare class QuoteSelectedIntentsRequestDto {
|
|
2
|
+
id: string;
|
|
3
|
+
/**
|
|
4
|
+
* @description User source wallet address
|
|
5
|
+
* @example '0x8767865786576'
|
|
6
|
+
*/
|
|
7
|
+
sourceWalletAddress: string;
|
|
8
|
+
/**
|
|
9
|
+
* @description User destination wallet address
|
|
10
|
+
* @example '0x8767865786576'
|
|
11
|
+
*/
|
|
12
|
+
destinationWalletAddress: string;
|
|
13
|
+
}
|
|
14
|
+
//# sourceMappingURL=quote_selected_intents_request.dto.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_selected_intents_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,8BAA8B;IAEzC,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IAGH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;;OAGG;IAGH,wBAAwB,EAAE,MAAM,CAAC;CAClC"}
|
|
@@ -0,0 +1,31 @@
|
|
|
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.QuoteSelectedIntentsRequestDto = void 0;
|
|
13
|
+
const class_validator_1 = require("class-validator");
|
|
14
|
+
class QuoteSelectedIntentsRequestDto {
|
|
15
|
+
}
|
|
16
|
+
exports.QuoteSelectedIntentsRequestDto = QuoteSelectedIntentsRequestDto;
|
|
17
|
+
__decorate([
|
|
18
|
+
(0, class_validator_1.IsUUID)(),
|
|
19
|
+
__metadata("design:type", String)
|
|
20
|
+
], QuoteSelectedIntentsRequestDto.prototype, "id", void 0);
|
|
21
|
+
__decorate([
|
|
22
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
23
|
+
(0, class_validator_1.IsString)(),
|
|
24
|
+
__metadata("design:type", String)
|
|
25
|
+
], QuoteSelectedIntentsRequestDto.prototype, "sourceWalletAddress", void 0);
|
|
26
|
+
__decorate([
|
|
27
|
+
(0, class_validator_1.IsNotEmpty)(),
|
|
28
|
+
(0, class_validator_1.IsString)(),
|
|
29
|
+
__metadata("design:type", String)
|
|
30
|
+
], QuoteSelectedIntentsRequestDto.prototype, "destinationWalletAddress", void 0);
|
|
31
|
+
//# sourceMappingURL=quote_selected_intents_request.dto.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_selected_intents_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA+D;AAE/D,MAAa,8BAA8B;CAmB1C;AAnBD,wEAmBC;AAjBC;IADC,IAAA,wBAAM,GAAE;;0DACE;AAQX;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2EACiB;AAQ5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gFACsB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"quote_selected_intents_resposne.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,+BAA+B;CAK3C"}
|