@plutonlabs/sdk 0.0.44-beta → 0.0.46-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/dist/common/enums/index.d.ts +1 -1
- package/dist/common/enums/index.d.ts.map +1 -1
- package/dist/common/enums/index.js +1 -1
- package/dist/common/enums/index.js.map +1 -1
- package/dist/common/index.d.ts +0 -1
- package/dist/common/index.d.ts.map +1 -1
- package/dist/common/index.js +0 -1
- package/dist/common/index.js.map +1 -1
- package/dist/index.d.ts +0 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +0 -10
- package/dist/index.js.map +1 -1
- package/dist/modules/chainsync/domain/dto/chain_transaction.dto.d.ts +27 -27
- package/dist/modules/chainsync/domain/dto/chain_transaction.dto.d.ts.map +1 -1
- package/dist/modules/chainsync/domain/dto/chain_transaction.dto.js +7 -0
- package/dist/modules/chainsync/domain/dto/chain_transaction.dto.js.map +1 -1
- package/dist/modules/chainsync/domain/dto/index.d.ts +0 -1
- package/dist/modules/chainsync/domain/dto/index.d.ts.map +1 -1
- package/dist/modules/chainsync/domain/dto/index.js +0 -1
- package/dist/modules/chainsync/domain/dto/index.js.map +1 -1
- package/dist/modules/index.d.ts +1 -0
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/index.js +1 -0
- package/dist/modules/index.js.map +1 -1
- package/dist/modules/network/domain/dto/index.d.ts +0 -2
- package/dist/modules/network/domain/dto/index.d.ts.map +1 -1
- package/dist/modules/network/domain/dto/index.js +0 -2
- package/dist/modules/network/domain/dto/index.js.map +1 -1
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.js +2 -2
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.js +2 -2
- package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.js +2 -2
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js +2 -2
- package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/index.d.ts +2 -3
- package/dist/modules/quote/domain/dto/quote/index.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/index.js +2 -3
- package/dist/modules/quote/domain/dto/quote/index.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.d.ts +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.js +2 -2
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_intent_solve_done.dto.d.ts +9 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_solve_done.dto.d.ts.map +1 -0
- package/dist/modules/{chainsync/domain/dto/swap/swap_request.dto.js → quote/domain/dto/quote/quote_intent_solve_done.dto.js} +8 -24
- package/dist/modules/quote/domain/dto/quote/quote_intent_solve_done.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_solve_start.dto.d.ts +4 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_solve_start.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_solve_start.dto.js +21 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_solve_start.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto copy.d.ts +11 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto copy.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto copy.js +7 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto copy.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.d.ts +3 -4
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.js +1 -4
- package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.d.ts +0 -3
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.js +1 -8
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_set_transaction_response.dto.js.map +1 -1
- package/dist/modules/quote/domain/enums/index.d.ts +0 -6
- package/dist/modules/quote/domain/enums/index.d.ts.map +1 -1
- package/dist/modules/quote/domain/enums/index.js +0 -6
- package/dist/modules/quote/domain/enums/index.js.map +1 -1
- package/dist/modules/swap/domain/dto/index.d.ts +3 -0
- package/dist/modules/swap/domain/dto/index.d.ts.map +1 -0
- package/dist/modules/swap/domain/dto/index.js +19 -0
- package/dist/modules/swap/domain/dto/index.js.map +1 -0
- package/dist/modules/{chainsync/domain/dto/swap/swap_response.dto.d.ts → swap/domain/dto/swap_calldata.dto.d.ts} +13 -13
- package/dist/modules/swap/domain/dto/swap_calldata.dto.d.ts.map +1 -0
- package/dist/modules/{chainsync/domain/dto/swap/swap_response.dto.js → swap/domain/dto/swap_calldata.dto.js} +19 -15
- package/dist/modules/swap/domain/dto/swap_calldata.dto.js.map +1 -0
- package/dist/modules/swap/domain/dto/swap_estimate.dto.d.ts +13 -0
- package/dist/modules/swap/domain/dto/swap_estimate.dto.d.ts.map +1 -0
- package/dist/modules/swap/domain/dto/swap_estimate.dto.js +55 -0
- package/dist/modules/swap/domain/dto/swap_estimate.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/{chainsync/domain/dto/swap → swap/domain}/index.js +1 -2
- 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 +0 -1
- package/dist/modules/token/domain/dto/index.d.ts.map +1 -1
- package/dist/modules/token/domain/dto/index.js +0 -1
- package/dist/modules/token/domain/dto/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/modules/chainsync/domain/dto/swap/index.d.ts +0 -3
- package/dist/modules/chainsync/domain/dto/swap/index.d.ts.map +0 -1
- package/dist/modules/chainsync/domain/dto/swap/index.js.map +0 -1
- package/dist/modules/chainsync/domain/dto/swap/swap_request.dto.d.ts +0 -30
- package/dist/modules/chainsync/domain/dto/swap/swap_request.dto.d.ts.map +0 -1
- package/dist/modules/chainsync/domain/dto/swap/swap_request.dto.js.map +0 -1
- package/dist/modules/chainsync/domain/dto/swap/swap_response.dto.d.ts.map +0 -1
- package/dist/modules/chainsync/domain/dto/swap/swap_response.dto.js.map +0 -1
- package/dist/modules/quote/domain/dto/quote/quote.dto.d.ts +0 -9
- package/dist/modules/quote/domain/dto/quote/quote.dto.d.ts.map +0 -1
- package/dist/modules/quote/domain/dto/quote/quote.dto.js +0 -7
- package/dist/modules/quote/domain/dto/quote/quote.dto.js.map +0 -1
- package/dist/modules/quote/domain/dto/quote/quote_intent.dto.d.ts +0 -7
- package/dist/modules/quote/domain/dto/quote/quote_intent.dto.d.ts.map +0 -1
- package/dist/modules/quote/domain/dto/quote/quote_intent.dto.js +0 -7
- package/dist/modules/quote/domain/dto/quote/quote_intent.dto.js.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/common/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,mBAAmB,CAAC;AAClC,cAAc,oBAAoB,CAAC"}
|
@@ -15,7 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./calc_mode.enum"), exports);
|
18
|
-
__exportStar(require("./intent_type.enum"), exports);
|
19
18
|
__exportStar(require("./coin_type.enum"), exports);
|
20
19
|
__exportStar(require("./chain_type.enum"), exports);
|
20
|
+
__exportStar(require("./intent_type.enum"), exports);
|
21
21
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/common/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC;AACjC,mDAAiC;AACjC,oDAAkC;AAClC,qDAAmC"}
|
package/dist/common/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
package/dist/common/index.js
CHANGED
@@ -15,6 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./enums"), exports);
|
18
|
-
__exportStar(require("./enums"), exports);
|
19
18
|
__exportStar(require("./utils"), exports);
|
20
19
|
//# sourceMappingURL=index.js.map
|
package/dist/common/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,0CAAwB
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/common/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAwB;AACxB,0CAAwB"}
|
package/dist/index.d.ts
CHANGED
@@ -1,7 +1,3 @@
|
|
1
|
-
import NETWORKS from './seed/networks_seed.json';
|
2
|
-
import TOKENS from './seed/tokens_seed.json';
|
3
|
-
import PLUTON_CONTRACTS from './seed/pluton_contracts_seed.json';
|
4
|
-
export { NETWORKS, TOKENS, PLUTON_CONTRACTS };
|
5
1
|
export * from './common';
|
6
2
|
export * from './modules';
|
7
3
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,WAAW,CAAC"}
|
package/dist/index.js
CHANGED
@@ -13,17 +13,7 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
|
|
13
13
|
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
15
15
|
};
|
16
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
17
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
18
|
-
};
|
19
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
20
|
-
exports.PLUTON_CONTRACTS = exports.TOKENS = exports.NETWORKS = void 0;
|
21
|
-
const networks_seed_json_1 = __importDefault(require("./seed/networks_seed.json"));
|
22
|
-
exports.NETWORKS = networks_seed_json_1.default;
|
23
|
-
const tokens_seed_json_1 = __importDefault(require("./seed/tokens_seed.json"));
|
24
|
-
exports.TOKENS = tokens_seed_json_1.default;
|
25
|
-
const pluton_contracts_seed_json_1 = __importDefault(require("./seed/pluton_contracts_seed.json"));
|
26
|
-
exports.PLUTON_CONTRACTS = pluton_contracts_seed_json_1.default;
|
27
17
|
__exportStar(require("./common"), exports);
|
28
18
|
__exportStar(require("./modules"), exports);
|
29
19
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,4CAA0B"}
|
@@ -3,18 +3,18 @@ export declare class ChainTransactionDto {
|
|
3
3
|
id?: string;
|
4
4
|
quoteIntentRequestId?: string;
|
5
5
|
quoteIntentResponseId?: string;
|
6
|
-
blockNumber
|
7
|
-
blockHash
|
6
|
+
blockNumber: number;
|
7
|
+
blockHash: string;
|
8
8
|
hash: string;
|
9
|
-
from
|
10
|
-
to
|
9
|
+
from: string;
|
10
|
+
to: string;
|
11
11
|
index?: number;
|
12
|
-
type
|
13
|
-
gasLimit
|
14
|
-
gasPrice
|
12
|
+
type: number;
|
13
|
+
gasLimit: string;
|
14
|
+
gasPrice: string;
|
15
15
|
maxFeePerGas?: string;
|
16
|
-
data
|
17
|
-
value
|
16
|
+
data: string;
|
17
|
+
value: string;
|
18
18
|
chainId?: number;
|
19
19
|
signature?: string;
|
20
20
|
confirmation?: boolean;
|
@@ -23,18 +23,18 @@ export declare class ChainTransactionDto {
|
|
23
23
|
id?: string;
|
24
24
|
quoteIntentRequestId?: string;
|
25
25
|
quoteIntentResponseId?: string;
|
26
|
-
blockNumber
|
27
|
-
blockHash
|
26
|
+
blockNumber: number;
|
27
|
+
blockHash: string;
|
28
28
|
hash: string;
|
29
|
-
from
|
30
|
-
to
|
29
|
+
from: string;
|
30
|
+
to: string;
|
31
31
|
index?: number;
|
32
|
-
type
|
33
|
-
gasLimit
|
34
|
-
gasPrice
|
32
|
+
type: number;
|
33
|
+
gasLimit: string;
|
34
|
+
gasPrice: string;
|
35
35
|
maxFeePerGas?: string;
|
36
|
-
data
|
37
|
-
value
|
36
|
+
data: string;
|
37
|
+
value: string;
|
38
38
|
chainId?: number;
|
39
39
|
signature?: string;
|
40
40
|
confirmation?: boolean;
|
@@ -58,12 +58,12 @@ export declare class ChainTransactionDto {
|
|
58
58
|
* Block number where the transaction was mined
|
59
59
|
* @example 123456
|
60
60
|
*/
|
61
|
-
blockNumber
|
61
|
+
blockNumber: number;
|
62
62
|
/**
|
63
63
|
* Block hash
|
64
64
|
* @example '0xabcdef1234567890...'
|
65
65
|
*/
|
66
|
-
blockHash
|
66
|
+
blockHash: string;
|
67
67
|
/**
|
68
68
|
* Transaction hash
|
69
69
|
* @example '0xabcdef1234567890...'
|
@@ -73,12 +73,12 @@ export declare class ChainTransactionDto {
|
|
73
73
|
* Sender address
|
74
74
|
* @example '0xabc123...'
|
75
75
|
*/
|
76
|
-
from
|
76
|
+
from: string;
|
77
77
|
/**
|
78
78
|
* Receiver address
|
79
79
|
* @example '0xabc123...'
|
80
80
|
*/
|
81
|
-
to
|
81
|
+
to: string;
|
82
82
|
/**
|
83
83
|
* Transaction index
|
84
84
|
* @example 0
|
@@ -88,17 +88,17 @@ export declare class ChainTransactionDto {
|
|
88
88
|
* Transaction type
|
89
89
|
* @example 1
|
90
90
|
*/
|
91
|
-
type
|
91
|
+
type: number;
|
92
92
|
/**
|
93
93
|
* Gas limit as string
|
94
94
|
* @example '21000'
|
95
95
|
*/
|
96
|
-
gasLimit
|
96
|
+
gasLimit: string;
|
97
97
|
/**
|
98
98
|
* Gas price as string
|
99
99
|
* @example '20000000000'
|
100
100
|
*/
|
101
|
-
gasPrice
|
101
|
+
gasPrice: string;
|
102
102
|
/**
|
103
103
|
* Max fee per gas as string
|
104
104
|
* @example '25000000000'
|
@@ -108,12 +108,12 @@ export declare class ChainTransactionDto {
|
|
108
108
|
* Transaction data
|
109
109
|
* @example '0xdata'
|
110
110
|
*/
|
111
|
-
data
|
111
|
+
data: string;
|
112
112
|
/**
|
113
113
|
* Transaction value as string
|
114
114
|
* @example '1000000000000000000'
|
115
115
|
*/
|
116
|
-
value
|
116
|
+
value: string;
|
117
117
|
/**
|
118
118
|
* Chain ID as number
|
119
119
|
* @example 1
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"chain_transaction.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/chain_transaction.dto.ts"],"names":[],"mappings":"
|
1
|
+
{"version":3,"file":"chain_transaction.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/chain_transaction.dto.ts"],"names":[],"mappings":"AAGA,qBAAa,mBAAmB;WAChB,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;QAC/B,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,OAAO,CAAC;KACxB,EACD,EAAE,EAAE,CAAC,GAAG,mBAAmB;IAuB7B,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,oBAAoB,CAAC,EAAE,MAAM,CAAC;QAC9B,qBAAqB,CAAC,EAAE,MAAM,CAAC;QAC/B,WAAW,EAAE,MAAM,CAAC;QACpB,SAAS,EAAE,MAAM,CAAC;QAClB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,EAAE,MAAM,CAAC;QACb,QAAQ,EAAE,MAAM,CAAC;QACjB,QAAQ,EAAE,MAAM,CAAC;QACjB,YAAY,CAAC,EAAE,MAAM,CAAC;QACtB,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,EAAE,MAAM,CAAC;QACd,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,YAAY,CAAC,EAAE,OAAO,CAAC;KACxB,EACD,QAAQ,EAAE,CAAC,EAAE,GAAG,mBAAmB,EAAE;IAIvC;;;OAGG;IAEH,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IAEH,oBAAoB,CAAC,EAAE,MAAM,CAAC;IAE9B;;;OAGG;IAEH,qBAAqB,CAAC,EAAE,MAAM,CAAC;IAE/B;;;OAGG;IAEH,WAAW,EAAE,MAAM,CAAC;IAEpB;;;OAGG;IAEH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IAEH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IAEH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IAEH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IAEH,KAAK,CAAC,EAAE,MAAM,CAAC;IAEf;;;OAGG;IAEH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IAEH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAEH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAEH,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtB;;;OAGG;IAEH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IAEH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IAEH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAEH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IAEH,YAAY,CAAC,EAAE,OAAO,CAAS;CAChC"}
|
@@ -13,6 +13,13 @@ exports.ChainTransactionDto = void 0;
|
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
14
|
const list_1 = require("../../../../common/utils/list");
|
15
15
|
class ChainTransactionDto {
|
16
|
+
constructor() {
|
17
|
+
/**
|
18
|
+
* Confirmation Status of Transaction
|
19
|
+
* @example false
|
20
|
+
*/
|
21
|
+
this.confirmation = false;
|
22
|
+
}
|
16
23
|
static from(tx) {
|
17
24
|
const dto = new ChainTransactionDto();
|
18
25
|
dto.id = tx.id;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"chain_transaction.dto.js","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/chain_transaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,
|
1
|
+
{"version":3,"file":"chain_transaction.dto.js","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/chain_transaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAwE;AACxE,wDAAyD;AAEzD,MAAa,mBAAmB;IAAhC;QA6LE;;;WAGG;QAEH,iBAAY,GAAa,KAAK,CAAC;IACjC,CAAC;IAlMQ,MAAM,CAAC,IAAI,CAqBhB,EAAK;QACL,MAAM,GAAG,GAAG,IAAI,mBAAmB,EAAE,CAAC;QACtC,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;QACf,GAAG,CAAC,oBAAoB,GAAG,EAAE,CAAC,oBAAoB,CAAC;QACnD,GAAG,CAAC,qBAAqB,GAAG,EAAE,CAAC,qBAAqB,CAAC;QACrD,GAAG,CAAC,WAAW,GAAG,EAAE,CAAC,WAAW,CAAC;QACjC,GAAG,CAAC,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC;QAC7B,GAAG,CAAC,IAAI,GAAG,EAAE,CAAC,IAAI,CAAC;QACnB,GAAG,CAAC,IAAI,GAAG,EAAE,CAAC,IAAI,CAAC;QACnB,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;QACf,GAAG,CAAC,KAAK,GAAG,EAAE,CAAC,KAAK,CAAC;QACrB,GAAG,CAAC,IAAI,GAAG,EAAE,CAAC,IAAI,CAAC;QACnB,GAAG,CAAC,QAAQ,GAAG,EAAE,CAAC,QAAQ,CAAC;QAC3B,GAAG,CAAC,QAAQ,GAAG,EAAE,CAAC,QAAQ,CAAC;QAC3B,GAAG,CAAC,YAAY,GAAG,EAAE,CAAC,YAAY,CAAC;QACnC,GAAG,CAAC,IAAI,GAAG,EAAE,CAAC,IAAI,CAAC;QACnB,GAAG,CAAC,KAAK,GAAG,EAAE,CAAC,KAAK,CAAC;QACrB,GAAG,CAAC,OAAO,GAAG,EAAE,CAAC,OAAO,CAAC;QACzB,GAAG,CAAC,SAAS,GAAG,EAAE,CAAC,SAAS,CAAC;QAC7B,GAAG,CAAC,YAAY,GAAG,EAAE,CAAC,YAAY,CAAC;QACnC,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,QAAQ,CAqBb,QAAa;QACb,OAAO,IAAA,eAAQ,EAAC,QAAQ,EAAE,mBAAmB,CAAC,IAAI,CAAC,CAAC;IACtD,CAAC;CA+HF;AAnMD,kDAmMC;AAxHC;IADC,IAAA,wBAAM,GAAE;;+CACG;AAOZ;IADC,IAAA,wBAAM,GAAE;;iEACqB;AAO9B;IADC,IAAA,wBAAM,GAAE;;kEACsB;AAO/B;IADC,IAAA,0BAAQ,GAAE;;wDACS;AAOpB;IADC,IAAA,0BAAQ,GAAE;;sDACO;AAOlB;IADC,IAAA,0BAAQ,GAAE;;iDACE;AAOb;IADC,IAAA,0BAAQ,GAAE;;iDACE;AAOb;IADC,IAAA,0BAAQ,GAAE;;+CACA;AAOX;IADC,IAAA,0BAAQ,GAAE;;kDACI;AAOf;IADC,IAAA,0BAAQ,GAAE;;iDACE;AAOb;IADC,IAAA,0BAAQ,GAAE;;qDACM;AAOjB;IADC,IAAA,0BAAQ,GAAE;;qDACM;AAOjB;IADC,IAAA,0BAAQ,GAAE;;yDACW;AAOtB;IADC,IAAA,0BAAQ,GAAE;;iDACE;AAOb;IADC,IAAA,0BAAQ,GAAE;;kDACG;AAOd;IADC,IAAA,0BAAQ,GAAE;;oDACM;AAOjB;IADC,IAAA,0BAAQ,GAAE;;sDACQ;AAOnB;IADC,IAAA,2BAAS,GAAE;;yDACmB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,sBAAsB,CAAC
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,mCAAmC,CAAC;AAClD,cAAc,sBAAsB,CAAC"}
|
@@ -18,5 +18,4 @@ __exportStar(require("./chain_contract.dto"), exports);
|
|
18
18
|
__exportStar(require("./chain_transaction.dto"), exports);
|
19
19
|
__exportStar(require("./chain_transaction_event_log.dto"), exports);
|
20
20
|
__exportStar(require("./pluton_request.dto"), exports);
|
21
|
-
__exportStar(require("./swap"), exports);
|
22
21
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,0DAAwC;AACxC,oEAAkD;AAClD,uDAAqC
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,0DAAwC;AACxC,oEAAkD;AAClD,uDAAqC"}
|
package/dist/modules/index.d.ts
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,WAAW,CAAC;AAC1B,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC"}
|
package/dist/modules/index.js
CHANGED
@@ -17,5 +17,6 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./chainsync"), exports);
|
18
18
|
__exportStar(require("./network"), exports);
|
19
19
|
__exportStar(require("./quote"), exports);
|
20
|
+
__exportStar(require("./swap"), exports);
|
20
21
|
__exportStar(require("./token"), exports);
|
21
22
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,4CAA0B;AAC1B,0CAAwB;AACxB,0CAAwB"}
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/modules/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,4CAA0B;AAC1B,0CAAwB;AACxB,yCAAuB;AACvB,0CAAwB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/network/domain/dto/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC"}
|
@@ -15,8 +15,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
15
15
|
};
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
17
17
|
__exportStar(require("./network.dto"), exports);
|
18
|
-
__exportStar(require("./network.update.dto"), exports);
|
19
18
|
__exportStar(require("./network_provider.dto"), exports);
|
20
|
-
__exportStar(require("./network_provider.update.dto"), exports);
|
21
19
|
__exportStar(require("./network_tokens_view.dto"), exports);
|
22
20
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/network/domain/dto/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gDAA8B;AAC9B,yDAAuC;AACvC,4DAA0C"}
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.ClaimAffiliateRequestDto = void 0;
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
|
-
const
|
14
|
+
const common_1 = require("../../../../../common");
|
15
15
|
class ClaimAffiliateRequestDto {
|
16
16
|
static from(obj) {
|
17
17
|
const dto = new ClaimAffiliateRequestDto();
|
@@ -20,7 +20,7 @@ class ClaimAffiliateRequestDto {
|
|
20
20
|
return dto;
|
21
21
|
}
|
22
22
|
static listFrom(objs) {
|
23
|
-
return (0,
|
23
|
+
return (0, common_1.makeList)(objs, ClaimAffiliateRequestDto.from);
|
24
24
|
}
|
25
25
|
}
|
26
26
|
exports.ClaimAffiliateRequestDto = ClaimAffiliateRequestDto;
|
package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"claim_affiliate_signature_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,
|
1
|
+
{"version":3,"file":"claim_affiliate_signature_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/affiliate/claim_affiliate_signature_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AACrD,kDAAiD;AAEjD,MAAa,wBAAwB;IAC5B,MAAM,CAAC,IAAI,CAKhB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,wBAAwB,EAAE,CAAC;QAC3C,GAAG,CAAC,oBAAoB,GAAG,GAAG,CAAC,oBAAoB,CAAC;QACpD,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QAC1B,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,QAAQ,CAKb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,wBAAwB,CAAC,IAAI,CAAC,CAAC;IACvD,CAAC;CAeF;AAnCD,4DAmCC;AARC;IADC,IAAA,wBAAM,GAAE;;sEACoB;AAO7B;IADC,IAAA,4BAAU,GAAE;;yDACG"}
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.ClaimAffiliateResponseDto = void 0;
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
|
-
const
|
14
|
+
const common_1 = require("../../../../../common");
|
15
15
|
class ClaimAffiliateResponseDto {
|
16
16
|
/**
|
17
17
|
* @description Maps an object with a message to ClaimAffiliateResponseDto
|
@@ -29,7 +29,7 @@ class ClaimAffiliateResponseDto {
|
|
29
29
|
* @returns ClaimAffiliateResponseDto[]
|
30
30
|
*/
|
31
31
|
static listFrom(objs) {
|
32
|
-
return (0,
|
32
|
+
return (0, common_1.makeList)(objs, ClaimAffiliateResponseDto.from);
|
33
33
|
}
|
34
34
|
}
|
35
35
|
exports.ClaimAffiliateResponseDto = ClaimAffiliateResponseDto;
|
package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.js.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"claim_affiliate_signature_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,
|
1
|
+
{"version":3,"file":"claim_affiliate_signature_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,kDAAiD;AAEjD,MAAa,yBAAyB;IACpC;;;;OAIG;IACI,MAAM,CAAC,IAAI,CAChB,GAAM;QAEN,MAAM,GAAG,GAAG,IAAI,yBAAyB,EAAE,CAAC;QAC5C,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QAC1B,OAAO,GAAG,CAAC;IACb,CAAC;IAED;;;;OAIG;IACH,MAAM,CAAC,QAAQ,CACb,IAAS;QAET,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,yBAAyB,CAAC,IAAI,CAAC,CAAC;IACxD,CAAC;CAQF;AA/BD,8DA+BC;AADC;IADC,IAAA,4BAAU,GAAE;;0DACG"}
|
@@ -11,7 +11,7 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
12
|
exports.CreateClaimAffiliateRequestDto = void 0;
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
|
-
const
|
14
|
+
const common_1 = require("../../../../../common");
|
15
15
|
class CreateClaimAffiliateRequestDto {
|
16
16
|
static from(obj) {
|
17
17
|
const dto = new CreateClaimAffiliateRequestDto();
|
@@ -21,7 +21,7 @@ class CreateClaimAffiliateRequestDto {
|
|
21
21
|
return dto;
|
22
22
|
}
|
23
23
|
static listFrom(objs) {
|
24
|
-
return (0,
|
24
|
+
return (0, common_1.makeList)(objs, CreateClaimAffiliateRequestDto.from);
|
25
25
|
}
|
26
26
|
}
|
27
27
|
exports.CreateClaimAffiliateRequestDto = CreateClaimAffiliateRequestDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create_claim_affiliate_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AACnD,
|
1
|
+
{"version":3,"file":"create_claim_affiliate_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAmD;AACnD,kDAAiD;AAEjD,MAAa,8BAA8B;IAClC,MAAM,CAAC,IAAI,CAMhB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,8BAA8B,EAAE,CAAC;QACjD,GAAG,CAAC,oBAAoB,GAAG,GAAG,CAAC,oBAAoB,CAAC;QACpD,GAAG,CAAC,gBAAgB,GAAG,GAAG,CAAC,gBAAgB,CAAC;QAC5C,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QAC1B,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,QAAQ,CAMb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,8BAA8B,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC;CAsBF;AA7CD,wEA6CC;AAfC;IADC,IAAA,wBAAM,GAAE;;4EACoB;AAO7B;IADC,IAAA,0BAAQ,GAAE;;wEACc;AAOzB;IADC,IAAA,0BAAQ,GAAE;;+DACK"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
"use strict";
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.CreateClaimAffiliateResponseDto = void 0;
|
4
|
-
const
|
4
|
+
const common_1 = require("../../../../../common");
|
5
5
|
class CreateClaimAffiliateResponseDto {
|
6
6
|
static from(obj) {
|
7
7
|
const dto = new CreateClaimAffiliateResponseDto();
|
@@ -12,7 +12,7 @@ class CreateClaimAffiliateResponseDto {
|
|
12
12
|
return dto;
|
13
13
|
}
|
14
14
|
static listFrom(objs) {
|
15
|
-
return (0,
|
15
|
+
return (0, common_1.makeList)(objs, CreateClaimAffiliateResponseDto.from);
|
16
16
|
}
|
17
17
|
}
|
18
18
|
exports.CreateClaimAffiliateResponseDto = CreateClaimAffiliateResponseDto;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"create_claim_affiliate_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.ts"],"names":[],"mappings":";;;AAAA,
|
1
|
+
{"version":3,"file":"create_claim_affiliate_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.ts"],"names":[],"mappings":";;;AAAA,kDAAiD;AAEjD,MAAa,+BAA+B;IACnC,MAAM,CAAC,IAAI,CAOhB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,+BAA+B,EAAE,CAAC;QAClD,GAAG,CAAC,SAAS,GAAG,GAAG,CAAC,SAAS,CAAC;QAC9B,GAAG,CAAC,QAAQ,GAAG,GAAG,CAAC,QAAQ,CAAC;QAC5B,GAAG,CAAC,OAAO,GAAG,GAAG,CAAC,OAAO,CAAC;QAC1B,GAAG,CAAC,YAAY,GAAG,GAAG,CAAC,YAAY,CAAC;QACpC,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,QAAQ,CAOb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,+BAA+B,CAAC,IAAI,CAAC,CAAC;IAC9D,CAAC;CAyBF;AAnDD,0EAmDC"}
|
@@ -5,13 +5,12 @@ export * from './quote_estimate_bridge_intent_request.dto';
|
|
5
5
|
export * from './quote_estimate_with_source_base_token_solver_bridge_intent_request.dto';
|
6
6
|
export * from './quote_intent_request.dto';
|
7
7
|
export * from './quote_intent_response.dto';
|
8
|
-
export * from './quote_intent_request_lifecycle.dto';
|
9
8
|
export * from './quote_request.dto';
|
10
|
-
export * from './quote_intent_response_lifecycle.dto';
|
11
9
|
export * from './quote_response.dto';
|
10
|
+
export * from './quote_intent_solve_start.dto';
|
11
|
+
export * from './quote_intent_solve_done.dto';
|
12
12
|
export * from './quote_selected_intents_request.dto';
|
13
13
|
export * from './quote_selected_intents_resposne.dto';
|
14
14
|
export * from './quote_set_transaction_request.dto';
|
15
15
|
export * from './quote_set_transaction_response.dto';
|
16
|
-
export * from './quote.dto';
|
17
16
|
//# sourceMappingURL=index.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAEhD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AAEnD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0EAA0E,CAAC;AAEzF,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/index.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC;AAEhD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC;AAEnD,cAAc,4CAA4C,CAAC;AAC3D,cAAc,0EAA0E,CAAC;AAEzF,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAE5C,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AAErC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,+BAA+B,CAAC;AAE9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC"}
|
@@ -21,13 +21,12 @@ __exportStar(require("./quote_estimate_bridge_intent_request.dto"), exports);
|
|
21
21
|
__exportStar(require("./quote_estimate_with_source_base_token_solver_bridge_intent_request.dto"), exports);
|
22
22
|
__exportStar(require("./quote_intent_request.dto"), exports);
|
23
23
|
__exportStar(require("./quote_intent_response.dto"), exports);
|
24
|
-
__exportStar(require("./quote_intent_request_lifecycle.dto"), exports);
|
25
24
|
__exportStar(require("./quote_request.dto"), exports);
|
26
|
-
__exportStar(require("./quote_intent_response_lifecycle.dto"), exports);
|
27
25
|
__exportStar(require("./quote_response.dto"), exports);
|
26
|
+
__exportStar(require("./quote_intent_solve_start.dto"), exports);
|
27
|
+
__exportStar(require("./quote_intent_solve_done.dto"), exports);
|
28
28
|
__exportStar(require("./quote_selected_intents_request.dto"), exports);
|
29
29
|
__exportStar(require("./quote_selected_intents_resposne.dto"), exports);
|
30
30
|
__exportStar(require("./quote_set_transaction_request.dto"), exports);
|
31
31
|
__exportStar(require("./quote_set_transaction_response.dto"), exports);
|
32
|
-
__exportStar(require("./quote.dto"), exports);
|
33
32
|
//# sourceMappingURL=index.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAEhD,oEAAkD;AAClD,qEAAmD;AAEnD,6EAA2D;AAC3D,2GAAyF;AAEzF,6DAA2C;AAC3C,8DAA4C;AAE5C,
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kEAAgD;AAEhD,oEAAkD;AAClD,qEAAmD;AAEnD,6EAA2D;AAC3D,2GAAyF;AAEzF,6DAA2C;AAC3C,8DAA4C;AAE5C,sDAAoC;AACpC,uDAAqC;AAErC,iEAA+C;AAC/C,gEAA8C;AAE9C,uEAAqD;AACrD,wEAAsD;AAEtD,sEAAoD;AACpD,uEAAqD"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { IntentType } from '../../../../../common';
|
2
|
-
import { SelectionStatus } from '../../enums';
|
2
|
+
import { SelectionStatus } from '../../enums/selection_status.enum';
|
3
3
|
export declare class QuoteBaseIntentResponseDto {
|
4
4
|
constructor(partial: Partial<{
|
5
5
|
id: string;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_base_intent_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAY,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,
|
1
|
+
{"version":3,"file":"quote_base_intent_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAY,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,mCAAmC,CAAC;AAEpE,qBAAa,0BAA0B;gBAEnC,OAAO,EAAE,OAAO,CAAC;QACf,EAAE,EAAE,MAAM,CAAC;QACX,UAAU,EAAE,UAAU,CAAC;QACvB,eAAe,EAAE,MAAM,CAAC;QACxB,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,eAAe,CAAC,EAAE,eAAe,CAAC;QAClC,MAAM,EAAE,MAAM,CAAC;KAChB,CAAC;WAKU,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,UAAU,EAAE,UAAU,CAAC;QACvB,eAAe,EAAE,MAAM,CAAC;QACxB,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,eAAe,CAAC,EAAE,eAAe,CAAC;QAClC,MAAM,EAAE,MAAM,CAAC;KAChB,EACD,GAAG,EAAE,CAAC,GAAG,0BAA0B;IAIrC,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,UAAU,EAAE,UAAU,CAAC;QACvB,eAAe,EAAE,MAAM,CAAC;QACxB,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB,eAAe,CAAC,EAAE,eAAe,CAAC;QAClC,MAAM,EAAE,MAAM,CAAC;KAChB,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,0BAA0B,EAAE;IAK1C,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IAGH,UAAU,EAAE,UAAU,CAAC;IAEvB;;OAEG;IAEH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IAExB;;OAEG;IAEH,YAAY,CAAC,EAAE,IAAI,CAAC;IAEpB;;;OAGG;IAGH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,eAAe,CAAC,EAAE,eAAe,CAAgC;IAEjE;;;OAGG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB"}
|
@@ -12,10 +12,10 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
12
|
exports.QuoteBaseIntentResponseDto = void 0;
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
14
|
const common_1 = require("../../../../../common");
|
15
|
-
const
|
15
|
+
const selection_status_enum_1 = require("../../enums/selection_status.enum");
|
16
16
|
class QuoteBaseIntentResponseDto {
|
17
17
|
constructor(partial) {
|
18
|
-
this.selectionStatus =
|
18
|
+
this.selectionStatus = selection_status_enum_1.SelectionStatus.NOT_SELECTED;
|
19
19
|
Object.assign(this, partial);
|
20
20
|
}
|
21
21
|
static from(obj) {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_base_intent_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,kDAA6D;AAC7D,
|
1
|
+
{"version":3,"file":"quote_base_intent_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuE;AACvE,kDAA6D;AAC7D,6EAAoE;AAEpE,MAAa,0BAA0B;IACrC,YACE,OASE;QA0EJ,oBAAe,GAAqB,uCAAe,CAAC,YAAY,CAAC;QAxE/D,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,IAAI,CAWhB,GAAM;QACN,OAAO,IAAI,0BAA0B,CAAC,GAAG,CAAC,CAAC;IAC7C,CAAC;IAED,MAAM,CAAC,QAAQ,CAWb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,0BAA0B,CAAC,IAAI,CAAC,CAAC;IACzD,CAAC;CAgDF;AA5FD,gEA4FC;AA7CC;IADC,IAAA,wBAAM,GAAE;;sDACG;AAQZ;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;;8DACU;AAMvB;IADC,IAAA,wBAAM,GAAE;8BACU,IAAI;oEAAC;AAMxB;IADC,IAAA,wBAAM,GAAE;8BACM,IAAI;gEAAC;AAQpB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;mEACe;AAOxB;IADC,IAAA,wBAAM,GAAE;;4DACS;AAGlB;IADC,IAAA,0BAAQ,GAAE;;mEACsD"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_bridge_intent_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;
|
1
|
+
{"version":3,"file":"quote_bridge_intent_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,kCAAkC,CAAC;AAG9E,qBAAa,4BAA6B,SAAQ,0BAA0B;gBAExE,OAAO,KAAA;WAgBK,IAAI,CAWhB,MAAM,EACN,GAAG,EAAE,MAAM,GAAG,4BAA4B;IAI5C,MAAM,CAAC,QAAQ,CAWb,MAAM,EACN,IAAI,EAAE,MAAM,EAAE,GAAG,4BAA4B,EAAE;IAIjD;;;OAGG;IAGH,MAAM,EAAE,MAAM,CAAC;CAChB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_bridge_intent_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,qFAA8E;AAC9E,
|
1
|
+
{"version":3,"file":"quote_bridge_intent_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AACvD,qFAA8E;AAC9E,kDAAiD;AAEjD,MAAa,4BAA6B,SAAQ,2DAA0B;IAC1E,YACE,OAAO;IACP,YAAY;IACZ,iBAAiB;IACjB,4BAA4B;IAC5B,6BAA6B;IAC7B,6BAA6B;IAC7B,yBAAyB;IACzB,uBAAuB;IACvB,uCAAuC;IACvC,oBAAoB;IACpB,KAAK;;QAEL,KAAK,CAAC,OAAO,CAAC,CAAC;QACf,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,IAAI,CAYhB,GAAW;QACX,OAAO,IAAI,4BAA4B,CAAC,GAAG,CAAC,CAAC;IAC/C,CAAC;IAED,MAAM,CAAC,QAAQ,CAYb,IAAc;QACd,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,4BAA4B,CAAC,IAAI,CAAC,CAAC;IAC3D,CAAC;CASF;AAzDD,oEAyDC;AADC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACI"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"quote_intent_solve_done.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent_solve_done.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,oBAAoB;IAE/B,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IAEH,eAAe,EAAE,MAAM,CAAC;CACzB"}
|
@@ -9,33 +9,17 @@ var __metadata = (this && this.__metadata) || function (k, v) {
|
|
9
9
|
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
10
|
};
|
11
11
|
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.
|
12
|
+
exports.QuoteIntentSolveDone = void 0;
|
13
13
|
const class_validator_1 = require("class-validator");
|
14
|
-
class
|
14
|
+
class QuoteIntentSolveDone {
|
15
15
|
}
|
16
|
-
exports.
|
16
|
+
exports.QuoteIntentSolveDone = QuoteIntentSolveDone;
|
17
17
|
__decorate([
|
18
|
-
(0, class_validator_1.
|
19
|
-
(
|
20
|
-
|
21
|
-
], SwapTokenDto.prototype, "coinType", void 0);
|
18
|
+
(0, class_validator_1.IsUUID)(),
|
19
|
+
__metadata("design:type", String)
|
20
|
+
], QuoteIntentSolveDone.prototype, "intentRequestId", void 0);
|
22
21
|
__decorate([
|
23
22
|
(0, class_validator_1.IsNotEmpty)(),
|
24
|
-
(0, class_validator_1.IsNumber)(),
|
25
|
-
__metadata("design:type", Number)
|
26
|
-
], SwapTokenDto.prototype, "chainId", void 0);
|
27
|
-
__decorate([
|
28
|
-
(0, class_validator_1.IsString)(),
|
29
|
-
__metadata("design:type", Object)
|
30
|
-
], SwapTokenDto.prototype, "address", void 0);
|
31
|
-
__decorate([
|
32
|
-
(0, class_validator_1.IsString)(),
|
33
23
|
__metadata("design:type", String)
|
34
|
-
],
|
35
|
-
|
36
|
-
}
|
37
|
-
exports.SwapEstimateRequestDto = SwapEstimateRequestDto;
|
38
|
-
class SwapCalldataRequestDto extends SwapEstimateRequestDto {
|
39
|
-
}
|
40
|
-
exports.SwapCalldataRequestDto = SwapCalldataRequestDto;
|
41
|
-
//# sourceMappingURL=swap_request.dto.js.map
|
24
|
+
], QuoteIntentSolveDone.prototype, "transactionHash", void 0);
|
25
|
+
//# sourceMappingURL=quote_intent_solve_done.dto.js.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"quote_intent_solve_done.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent_solve_done.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AAErD,MAAa,oBAAoB;CAUhC;AAVD,oDAUC;AARC;IADC,IAAA,wBAAM,GAAE;;6DACe;AAOxB;IADC,IAAA,4BAAU,GAAE;;6DACW"}
|