@plutonlabs/sdk 0.0.24-beta → 0.0.26-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.
Files changed (29) hide show
  1. package/dist/modules/chainsync/domain/dto/chain_transaction.dto.d.ts +30 -28
  2. package/dist/modules/chainsync/domain/dto/chain_transaction.dto.d.ts.map +1 -1
  3. package/dist/modules/chainsync/domain/dto/chain_transaction.dto.js +9 -27
  4. package/dist/modules/chainsync/domain/dto/chain_transaction.dto.js.map +1 -1
  5. package/dist/modules/chainsync/domain/dto/pluton_request.dto.d.ts +1 -2
  6. package/dist/modules/chainsync/domain/dto/pluton_request.dto.d.ts.map +1 -1
  7. package/dist/modules/chainsync/domain/dto/pluton_request.dto.js +1 -7
  8. package/dist/modules/chainsync/domain/dto/pluton_request.dto.js.map +1 -1
  9. package/dist/modules/chainsync/domain/dto/swap/swap_request.dto.d.ts +2 -1
  10. package/dist/modules/chainsync/domain/dto/swap/swap_request.dto.d.ts.map +1 -1
  11. package/dist/modules/chainsync/domain/dto/swap/swap_request.dto.js +5 -1
  12. package/dist/modules/chainsync/domain/dto/swap/swap_request.dto.js.map +1 -1
  13. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts.map +1 -1
  14. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js.map +1 -1
  15. package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.d.ts +3 -0
  16. package/dist/modules/quote/domain/dto/quote/quote_intent_request.dto.d.ts.map +1 -1
  17. package/dist/modules/quote/domain/dto/quote/quote_request.dto.js.map +1 -1
  18. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.d.ts +13 -0
  19. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.d.ts.map +1 -1
  20. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.js +31 -1
  21. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_request.dto.js.map +1 -1
  22. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.d.ts +1 -8
  23. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.d.ts.map +1 -1
  24. package/dist/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.js.map +1 -1
  25. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.d.ts +3 -0
  26. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.d.ts.map +1 -1
  27. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.js +8 -1
  28. package/dist/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.js.map +1 -1
  29. package/package.json +1 -1
@@ -1,57 +1,59 @@
1
1
  export declare class ChainTransactionDto {
2
2
  static from<T extends {
3
- id: string;
4
- quoteRequestId: string;
5
- quoteResponseId: string;
3
+ id?: string;
4
+ quoteIntentRequestId?: string;
5
+ quoteIntentResponseId?: string;
6
6
  blockNumber?: number;
7
7
  blockHash?: string;
8
8
  hash: string;
9
- from: string;
10
- to: string;
9
+ from?: string;
10
+ to?: string;
11
11
  index?: number;
12
12
  type?: number;
13
- gasLimit: string;
14
- gasPrice: string;
13
+ gasLimit?: string;
14
+ gasPrice?: string;
15
15
  maxFeePerGas?: string;
16
- data: string;
17
- value: string;
16
+ data?: string;
17
+ value?: string;
18
18
  chainId?: number;
19
19
  signature?: string;
20
+ confirmation?: boolean;
20
21
  }>(tx: T): ChainTransactionDto;
21
22
  static listFrom<T extends {
22
- id: string;
23
- quoteRequestId: string;
24
- quoteResponseId: string;
23
+ id?: string;
24
+ quoteIntentRequestId?: string;
25
+ quoteIntentResponseId?: string;
25
26
  blockNumber?: number;
26
27
  blockHash?: string;
27
28
  hash: string;
28
- from: string;
29
- to: string;
29
+ from?: string;
30
+ to?: string;
30
31
  index?: number;
31
32
  type?: number;
32
- gasLimit: string;
33
- gasPrice: string;
33
+ gasLimit?: string;
34
+ gasPrice?: string;
34
35
  maxFeePerGas?: string;
35
- data: string;
36
- value: string;
36
+ data?: string;
37
+ value?: string;
37
38
  chainId?: number;
38
39
  signature?: string;
40
+ confirmation?: boolean;
39
41
  }>(entities: T[]): ChainTransactionDto[];
40
42
  /**
41
43
  * Unique identifier of the transaction
42
44
  * @example '12345'
43
45
  */
44
- id: string;
46
+ id?: string;
45
47
  /**
46
48
  * UUID of the request quote
47
49
  * @example 'a1b2c3d4-e5f6-7890-1234-56789abcdef0'
48
50
  */
49
- quoteRequestId: string;
51
+ quoteIntentRequestId?: string;
50
52
  /**
51
53
  * UUID of the response quote
52
54
  * @example 'f0e1d2c3-b4a5-6789-0123-456789abcdef'
53
55
  */
54
- quoteResponseId: string;
56
+ quoteIntentResponseId?: string;
55
57
  /**
56
58
  * Block number where the transaction was mined
57
59
  * @example 123456
@@ -71,12 +73,12 @@ export declare class ChainTransactionDto {
71
73
  * Sender address
72
74
  * @example '0xabc123...'
73
75
  */
74
- from: string;
76
+ from?: string;
75
77
  /**
76
78
  * Receiver address
77
79
  * @example '0xabc123...'
78
80
  */
79
- to: string;
81
+ to?: string;
80
82
  /**
81
83
  * Transaction index
82
84
  * @example 0
@@ -91,12 +93,12 @@ export declare class ChainTransactionDto {
91
93
  * Gas limit as string
92
94
  * @example '21000'
93
95
  */
94
- gasLimit: string;
96
+ gasLimit?: string;
95
97
  /**
96
98
  * Gas price as string
97
99
  * @example '20000000000'
98
100
  */
99
- gasPrice: string;
101
+ gasPrice?: string;
100
102
  /**
101
103
  * Max fee per gas as string
102
104
  * @example '25000000000'
@@ -106,12 +108,12 @@ export declare class ChainTransactionDto {
106
108
  * Transaction data
107
109
  * @example '0xdata'
108
110
  */
109
- data: string;
111
+ data?: string;
110
112
  /**
111
113
  * Transaction value as string
112
114
  * @example '1000000000000000000'
113
115
  */
114
- value: string;
116
+ value?: string;
115
117
  /**
116
118
  * Chain ID as number
117
119
  * @example 1
@@ -126,6 +128,6 @@ export declare class ChainTransactionDto {
126
128
  * Confirmation Status of Transaction
127
129
  * @example false
128
130
  */
129
- confirmation: boolean;
131
+ confirmation?: boolean;
130
132
  }
131
133
  //# sourceMappingURL=chain_transaction.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"chain_transaction.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/chain_transaction.dto.ts"],"names":[],"mappings":"AAUA,qBAAa,mBAAmB;WAChB,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,cAAc,EAAE,MAAM,CAAC;QACvB,eAAe,EAAE,MAAM,CAAC;QACxB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,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;KACpB,EACD,EAAE,EAAE,CAAC,GAAG,mBAAmB;IAsB7B,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,cAAc,EAAE,MAAM,CAAC;QACvB,eAAe,EAAE,MAAM,CAAC;QACxB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,SAAS,CAAC,EAAE,MAAM,CAAC;QACnB,IAAI,EAAE,MAAM,CAAC;QACb,IAAI,EAAE,MAAM,CAAC;QACb,EAAE,EAAE,MAAM,CAAC;QACX,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,QAAQ,EAAE,MAAM,CAAC;QACjB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-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
- }
23
16
  static from(tx) {
24
17
  const dto = new ChainTransactionDto();
25
18
  dto.id = tx.id;
26
- dto.quoteRequestId = tx.quoteRequestId;
27
- dto.quoteResponseId = tx.quoteResponseId;
19
+ dto.quoteIntentRequestId = tx.quoteIntentRequestId;
20
+ dto.quoteIntentResponseId = tx.quoteIntentResponseId;
28
21
  dto.blockNumber = tx.blockNumber;
29
22
  dto.blockHash = tx.blockHash;
30
23
  dto.hash = tx.hash;
@@ -39,6 +32,7 @@ class ChainTransactionDto {
39
32
  dto.value = tx.value;
40
33
  dto.chainId = tx.chainId;
41
34
  dto.signature = tx.signature;
35
+ dto.confirmation = tx.confirmation;
42
36
  return dto;
43
37
  }
44
38
  static listFrom(entities) {
@@ -47,82 +41,70 @@ class ChainTransactionDto {
47
41
  }
48
42
  exports.ChainTransactionDto = ChainTransactionDto;
49
43
  __decorate([
50
- (0, class_validator_1.IsNotEmpty)(),
51
44
  (0, class_validator_1.IsUUID)(),
52
45
  __metadata("design:type", String)
53
- ], ChainTransactionDto.prototype, "quoteRequestId", void 0);
46
+ ], ChainTransactionDto.prototype, "id", void 0);
47
+ __decorate([
48
+ (0, class_validator_1.IsUUID)(),
49
+ __metadata("design:type", String)
50
+ ], ChainTransactionDto.prototype, "quoteIntentRequestId", void 0);
54
51
  __decorate([
55
- (0, class_validator_1.IsNotEmpty)(),
56
52
  (0, class_validator_1.IsUUID)(),
57
53
  __metadata("design:type", String)
58
- ], ChainTransactionDto.prototype, "quoteResponseId", void 0);
54
+ ], ChainTransactionDto.prototype, "quoteIntentResponseId", void 0);
59
55
  __decorate([
60
- (0, class_validator_1.IsOptional)(),
61
56
  (0, class_validator_1.IsNumber)(),
62
57
  __metadata("design:type", Number)
63
58
  ], ChainTransactionDto.prototype, "blockNumber", void 0);
64
59
  __decorate([
65
- (0, class_validator_1.IsOptional)(),
66
60
  (0, class_validator_1.IsString)(),
67
61
  __metadata("design:type", String)
68
62
  ], ChainTransactionDto.prototype, "blockHash", void 0);
69
63
  __decorate([
70
- (0, class_validator_1.IsNotEmpty)(),
71
64
  (0, class_validator_1.IsString)(),
72
65
  __metadata("design:type", String)
73
66
  ], ChainTransactionDto.prototype, "hash", void 0);
74
67
  __decorate([
75
- (0, class_validator_1.IsNotEmpty)(),
76
68
  (0, class_validator_1.IsString)(),
77
69
  __metadata("design:type", String)
78
70
  ], ChainTransactionDto.prototype, "from", void 0);
79
71
  __decorate([
80
- (0, class_validator_1.IsNotEmpty)(),
81
72
  (0, class_validator_1.IsString)(),
82
73
  __metadata("design:type", String)
83
74
  ], ChainTransactionDto.prototype, "to", void 0);
84
75
  __decorate([
85
- (0, class_validator_1.IsOptional)(),
86
76
  (0, class_validator_1.IsNumber)(),
87
77
  __metadata("design:type", Number)
88
78
  ], ChainTransactionDto.prototype, "index", void 0);
89
79
  __decorate([
90
- (0, class_validator_1.IsOptional)(),
91
80
  (0, class_validator_1.IsNumber)(),
92
81
  __metadata("design:type", Number)
93
82
  ], ChainTransactionDto.prototype, "type", void 0);
94
83
  __decorate([
95
- (0, class_validator_1.IsNotEmpty)(),
96
84
  (0, class_validator_1.IsString)(),
97
85
  __metadata("design:type", String)
98
86
  ], ChainTransactionDto.prototype, "gasLimit", void 0);
99
87
  __decorate([
100
- (0, class_validator_1.IsNotEmpty)(),
101
88
  (0, class_validator_1.IsString)(),
102
89
  __metadata("design:type", String)
103
90
  ], ChainTransactionDto.prototype, "gasPrice", void 0);
104
91
  __decorate([
105
- (0, class_validator_1.IsOptional)(),
106
92
  (0, class_validator_1.IsString)(),
107
93
  __metadata("design:type", String)
108
94
  ], ChainTransactionDto.prototype, "maxFeePerGas", void 0);
109
95
  __decorate([
110
- (0, class_validator_1.IsNotEmpty)(),
111
96
  (0, class_validator_1.IsString)(),
112
97
  __metadata("design:type", String)
113
98
  ], ChainTransactionDto.prototype, "data", void 0);
114
99
  __decorate([
115
- (0, class_validator_1.IsNotEmpty)(),
116
100
  (0, class_validator_1.IsString)(),
117
101
  __metadata("design:type", String)
118
102
  ], ChainTransactionDto.prototype, "value", void 0);
119
103
  __decorate([
120
- (0, class_validator_1.IsOptional)(),
121
104
  (0, class_validator_1.IsString)(),
122
105
  __metadata("design:type", Number)
123
106
  ], ChainTransactionDto.prototype, "chainId", void 0);
124
107
  __decorate([
125
- (0, class_validator_1.IsOptional)(),
126
108
  (0, class_validator_1.IsString)(),
127
109
  __metadata("design:type", String)
128
110
  ], ChainTransactionDto.prototype, "signature", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"chain_transaction.dto.js","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/chain_transaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,wDAAyD;AAEzD,MAAa,mBAAmB;IAAhC;QAyME;;;WAGG;QAEH,iBAAY,GAAY,KAAK,CAAC;IAChC,CAAC;IA9MQ,MAAM,CAAC,IAAI,CAoBhB,EAAK;QACL,MAAM,GAAG,GAAG,IAAI,mBAAmB,EAAE,CAAC;QACtC,GAAG,CAAC,EAAE,GAAG,EAAE,CAAC,EAAE,CAAC;QACf,GAAG,CAAC,cAAc,GAAG,EAAE,CAAC,cAAc,CAAC;QACvC,GAAG,CAAC,eAAe,GAAG,EAAE,CAAC,eAAe,CAAC;QACzC,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,G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U,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACO;AAQlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qDACO;AAQlB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;yDACW;AAQtB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;iDACG;AAQd;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;kDACI;AAQf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;oDACM;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;sDACQ;AAOnB;IADC,IAAA,2BAAS,GAAE;;yDACkB"}
1
+ {"version":3,"file":"chain_transaction.dto.js","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/chain_transaction.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAOyB;AACzB,wDAAyD;AAEzD,MAAa,mBAAmB;IACvB,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;QAC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;IADC,IAAA,0BAAQ,GAAE;;kDACI;AAOf;IADC,IAAA,0BAAQ,GAAE;;oDACM;AAOjB;IADC,IAAA,0BAAQ,GAAE;;sDACQ;AAOnB;IADC,IAAA,2BAAS,GAAE;;yDACW"}
@@ -1,9 +1,8 @@
1
- import BigNumber from 'bignumber.js';
2
1
  export declare class PlutonRequestDto {
3
2
  id: string;
4
3
  user: string;
5
4
  tokenInAddress: string;
6
- initiationExpiry: BigNumber;
5
+ initiationExpiry: string;
7
6
  orderDataType: string;
8
7
  orderData: string;
9
8
  }
@@ -1 +1 @@
1
- {"version":3,"file":"pluton_request.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/pluton_request.dto.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,cAAc,CAAC;AAIrC,qBAAa,gBAAgB;IAG3B,EAAE,EAAE,MAAM,CAAC;IAIX,IAAI,EAAE,MAAM,CAAC;IAIb,cAAc,EAAE,MAAM,CAAC;IAKvB,gBAAgB,EAAE,SAAS,CAAC;IAK5B,aAAa,EAAE,MAAM,CAAC;IAItB,SAAS,EAAE,MAAM,CAAC;CACnB"}
1
+ {"version":3,"file":"pluton_request.dto.d.ts","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/pluton_request.dto.ts"],"names":[],"mappings":"AAIA,qBAAa,gBAAgB;IAG3B,EAAE,EAAE,MAAM,CAAC;IAIX,IAAI,EAAE,MAAM,CAAC;IAIb,cAAc,EAAE,MAAM,CAAC;IAKvB,gBAAgB,EAAE,MAAM,CAAC;IAKzB,aAAa,EAAE,MAAM,CAAC;IAItB,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -8,13 +8,8 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
8
8
  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
- var __importDefault = (this && this.__importDefault) || function (mod) {
12
- return (mod && mod.__esModule) ? mod : { "default": mod };
13
- };
14
11
  Object.defineProperty(exports, "__esModule", { value: true });
15
12
  exports.PlutonRequestDto = void 0;
16
- const bignumber_js_1 = __importDefault(require("bignumber.js"));
17
- const class_transformer_1 = require("class-transformer");
18
13
  const class_validator_1 = require("class-validator");
19
14
  class PlutonRequestDto {
20
15
  }
@@ -35,10 +30,9 @@ __decorate([
35
30
  __metadata("design:type", String)
36
31
  ], PlutonRequestDto.prototype, "tokenInAddress", void 0);
37
32
  __decorate([
38
- (0, class_transformer_1.Transform)(({ value }) => value.toString()),
39
33
  (0, class_validator_1.IsString)(),
40
34
  (0, class_validator_1.IsNotEmpty)(),
41
- __metadata("design:type", bignumber_js_1.default)
35
+ __metadata("design:type", String)
42
36
  ], PlutonRequestDto.prototype, "initiationExpiry", void 0);
43
37
  __decorate([
44
38
  (0, class_validator_1.IsString)(),
@@ -1 +1 @@
1
- {"version":3,"file":"pluton_request.dto.js","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/pluton_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,gEAAqC;AACrC,yDAA8C;AAC9C,qDAA0E;AAE1E,MAAa,gBAAgB;CA0B5B;AA1BD,4CA0BC;AAvBC;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;4CACF;AAIX;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACA;AAIb;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACU;AAKvB;IAHC,IAAA,6BAAS,EAAC,CAAC,EAAE,KAAK,EAAE,EAAE,EAAE,CAAC,KAAK,CAAC,QAAQ,EAAE,CAAC;IAC1C,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;8BACK,sBAAS;0DAAC;AAK5B;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,EAAE,CAAC;IACb,IAAA,4BAAU,GAAE;;uDACS;AAItB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACK"}
1
+ {"version":3,"file":"pluton_request.dto.js","sourceRoot":"","sources":["../../../../../src/modules/chainsync/domain/dto/pluton_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,qDAA0E;AAE1E,MAAa,gBAAgB;CA0B5B;AA1BD,4CA0BC;AAvBC;IAFC,IAAA,wBAAM,GAAE;IACR,IAAA,4BAAU,GAAE;;4CACF;AAIX;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;8CACA;AAIb;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;wDACU;AAKvB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;0DACY;AAKzB;IAHC,IAAA,0BAAQ,GAAE;IACV,IAAA,2BAAS,EAAC,EAAE,CAAC;IACb,IAAA,4BAAU,GAAE;;uDACS;AAItB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;mDACK"}
@@ -14,7 +14,8 @@ export declare class SwapTokenDto {
14
14
  * @description The address of the contract for the swap
15
15
  * @example '0x1234567890abcdef'
16
16
  */
17
- address: string;
17
+ address: string | null;
18
+ symbol?: string;
18
19
  }
19
20
  export declare class SwapEstimateRequestDto {
20
21
  srcToken: SwapTokenDto;
@@ -1 +1 @@
1
- {"version":3,"file":"swap_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/chainsync/domain/dto/swap/swap_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,qBAAa,YAAY;IACvB;;;OAGG;IAGH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAGH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IAEH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,sBAAsB;IACjC,QAAQ,EAAE,YAAY,CAAC;IAEvB,QAAQ,EAAE,YAAY,CAAC;IAEvB,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,qBAAa,sBAAuB,SAAQ,sBAAsB;IAChE,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
1
+ {"version":3,"file":"swap_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/chainsync/domain/dto/swap/swap_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAEjD,qBAAa,YAAY;IACvB;;;OAGG;IAGH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAGH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IAEH,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAGvB,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED,qBAAa,sBAAsB;IACjC,QAAQ,EAAE,YAAY,CAAC;IAEvB,QAAQ,EAAE,YAAY,CAAC;IAEvB,MAAM,EAAE,MAAM,CAAC;IAEf,QAAQ,EAAE,QAAQ,CAAC;CACpB;AAED,qBAAa,sBAAuB,SAAQ,sBAAsB;IAChE,gBAAgB,EAAE,MAAM,CAAC;IACzB,gBAAgB,EAAE,MAAM,CAAC;CAC1B"}
@@ -26,8 +26,12 @@ __decorate([
26
26
  ], SwapTokenDto.prototype, "chainId", void 0);
27
27
  __decorate([
28
28
  (0, class_validator_1.IsString)(),
29
- __metadata("design:type", String)
29
+ __metadata("design:type", Object)
30
30
  ], SwapTokenDto.prototype, "address", void 0);
31
+ __decorate([
32
+ (0, class_validator_1.IsString)(),
33
+ __metadata("design:type", String)
34
+ ], SwapTokenDto.prototype, "symbol", void 0);
31
35
  class SwapEstimateRequestDto {
32
36
  }
33
37
  exports.SwapEstimateRequestDto = SwapEstimateRequestDto;
@@ -1 +1 @@
1
- {"version":3,"file":"swap_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/chainsync/domain/dto/swap/swap_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAGjE,MAAa,YAAY;CAuBxB;AAvBD,oCAuBC;AAhBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACM;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACK;AAOhB;IADC,IAAA,0BAAQ,GAAE;;6CACK;AAGlB,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AAED,MAAa,sBAAuB,SAAQ,sBAAsB;CAGjE;AAHD,wDAGC"}
1
+ {"version":3,"file":"swap_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/chainsync/domain/dto/swap/swap_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAiE;AAGjE,MAAa,YAAY;CA0BxB;AA1BD,oCA0BC;AAnBC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8CACM;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6CACK;AAOhB;IADC,IAAA,0BAAQ,GAAE;;6CACY;AAGvB;IADC,IAAA,0BAAQ,GAAE;;4CACK;AAGlB,MAAa,sBAAsB;CAQlC;AARD,wDAQC;AAED,MAAa,sBAAuB,SAAQ,sBAAsB;CAGjE;AAHD,wDAGC"}
@@ -1 +1 @@
1
- {"version":3,"file":"quote_base_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,qBAAa,yBAAyB;gBACxB,OAAO,EAAE,OAAO,CAAC,yBAAyB,CAAC;IAGvD;;;OAGG;IAEH,UAAU,EAAE,UAAU,CAAC;CACxB"}
1
+ {"version":3,"file":"quote_base_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,qBAAa,yBAAyB;gBACxB,OAAO,EAAE,OAAO,CAAC,yBAAyB,CAAC;IAIvD;;;OAGG;IAEH,UAAU,EAAE,UAAU,CAAC;CACxB"}
@@ -1 +1 @@
1
- {"version":3,"file":"quote_base_intent_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,kDAAmD;AAEnD,MAAa,yBAAyB;IACpC,YAAY,OAA2C;QACrD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;CAOF;AAVD,8DAUC;AADC;IADC,IAAA,4BAAU,GAAE;;6DACU"}
1
+ {"version":3,"file":"quote_base_intent_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,kDAAmD;AAEnD,MAAa,yBAAyB;IACpC,YAAY,OAA2C;QACrD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;CAQF;AAXD,8DAWC;AADC;IADC,IAAA,4BAAU,GAAE;;6DACU"}
@@ -2,6 +2,9 @@ import { QuoteBridgeIntentRequestDto } from './quote_bridge_intent_request.dto';
2
2
  import { QuoteEstimateBridgeIntentRequestDto } from './quote_estimate_bridge_intent_request.dto';
3
3
  import { QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto } from './quote_estimate_with_source_base_token_solver_bridge_intent_request.dto';
4
4
  export type QuoteIntentRequestType = QuoteEstimateBridgeIntentRequestDto | QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto | QuoteBridgeIntentRequestDto;
5
+ export type UpdateQuoteIntentRequestDto = QuoteIntentRequestType & {
6
+ id: string;
7
+ };
5
8
  export type CreateQuoteIntentRequestDto = QuoteIntentRequestType & {
6
9
  quoteRequestId: string;
7
10
  };
@@ -1 +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;AACjG,OAAO,EAAE,sDAAsD,EAAE,MAAM,0EAA0E,CAAC;AAElJ,MAAM,MAAM,sBAAsB,GAC9B,mCAAmC,GACnC,sDAAsD,GACtD,2BAA2B,CAAC;AAEhC,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,GAAG;IACjE,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAC7C,sDAAsD,GAAG;IACvD,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
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;AACjG,OAAO,EAAE,sDAAsD,EAAE,MAAM,0EAA0E,CAAC;AAElJ,MAAM,MAAM,sBAAsB,GAC9B,mCAAmC,GACnC,sDAAsD,GACtD,2BAA2B,CAAC;AAEhC,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,GAAG;IACjE,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC;AAEF,MAAM,MAAM,2BAA2B,GAAG,sBAAsB,GAAG;IACjE,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,mCAAmC,GAC7C,sDAAsD,GAAG;IACvD,EAAE,EAAE,MAAM,CAAC;CACZ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"quote_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgE;AAGhE,MAAa,eAAe;CAc3B;AAdD,0CAcC;AARC;IADC,IAAA,0BAAQ,GAAE;;iDACO;AAOlB;IADC,IAAA,yBAAO,GAAE;;uDAC+B"}
1
+ {"version":3,"file":"quote_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAoD;AAGpD,MAAa,eAAe;CAc3B;AAdD,0CAcC;AARC;IADC,IAAA,0BAAQ,GAAE;;iDACO;AAOlB;IADC,IAAA,yBAAO,GAAE;;uDAC+B"}
@@ -11,7 +11,20 @@ export declare class QuoteSelectedIntentsRequestDto {
11
11
  */
12
12
  destinationWalletAddress: string;
13
13
  }
14
+ export declare class EventQuoteSelectedIntentDto {
15
+ id: string;
16
+ solverId: string;
17
+ /**
18
+ * @description User destination wallet address
19
+ * @example '0x8767865786576'
20
+ */
21
+ destinationWalletAddress: string;
22
+ }
23
+ export declare class EventQuoteSelectedIntentResponseDto {
24
+ id: string;
25
+ }
14
26
  export declare class SolverQuoteSelectedIntentDto {
27
+ constructor(partial: Partial<SolverQuoteSelectedIntentDto>);
15
28
  id: string;
16
29
  /**
17
30
  * @description User destination wallet address
@@ -1 +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;AAGD,qBAAa,4BAA4B;IAEvC,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IAGH,wBAAwB,EAAE,MAAM,CAAC;CAClC"}
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;AAED,qBAAa,2BAA2B;IAGtC,EAAE,EAAE,MAAM,CAAC;IAIX,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAGH,wBAAwB,EAAE,MAAM,CAAC;CAClC;AAED,qBAAa,mCAAmC;IAG9C,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,qBAAa,4BAA4B;gBAC3B,OAAO,EAAE,OAAO,CAAC,4BAA4B,CAAC;IAM1D,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IAGH,wBAAwB,EAAE,MAAM,CAAC;CAClC"}
@@ -9,7 +9,7 @@ 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.SolverQuoteSelectedIntentDto = exports.QuoteSelectedIntentsRequestDto = void 0;
12
+ exports.SolverQuoteSelectedIntentDto = exports.EventQuoteSelectedIntentResponseDto = exports.EventQuoteSelectedIntentDto = exports.QuoteSelectedIntentsRequestDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  class QuoteSelectedIntentsRequestDto {
15
15
  }
@@ -28,10 +28,40 @@ __decorate([
28
28
  (0, class_validator_1.IsString)(),
29
29
  __metadata("design:type", String)
30
30
  ], QuoteSelectedIntentsRequestDto.prototype, "destinationWalletAddress", void 0);
31
+ class EventQuoteSelectedIntentDto {
32
+ }
33
+ exports.EventQuoteSelectedIntentDto = EventQuoteSelectedIntentDto;
34
+ __decorate([
35
+ (0, class_validator_1.IsNotEmpty)(),
36
+ (0, class_validator_1.IsUUID)(),
37
+ __metadata("design:type", String)
38
+ ], EventQuoteSelectedIntentDto.prototype, "id", void 0);
39
+ __decorate([
40
+ (0, class_validator_1.IsNotEmpty)(),
41
+ (0, class_validator_1.IsUUID)(),
42
+ __metadata("design:type", String)
43
+ ], EventQuoteSelectedIntentDto.prototype, "solverId", void 0);
44
+ __decorate([
45
+ (0, class_validator_1.IsNotEmpty)(),
46
+ (0, class_validator_1.IsString)(),
47
+ __metadata("design:type", String)
48
+ ], EventQuoteSelectedIntentDto.prototype, "destinationWalletAddress", void 0);
49
+ class EventQuoteSelectedIntentResponseDto {
50
+ }
51
+ exports.EventQuoteSelectedIntentResponseDto = EventQuoteSelectedIntentResponseDto;
52
+ __decorate([
53
+ (0, class_validator_1.IsNotEmpty)(),
54
+ (0, class_validator_1.IsUUID)(),
55
+ __metadata("design:type", String)
56
+ ], EventQuoteSelectedIntentResponseDto.prototype, "id", void 0);
31
57
  class SolverQuoteSelectedIntentDto {
58
+ constructor(partial) {
59
+ Object.assign(this, partial);
60
+ }
32
61
  }
33
62
  exports.SolverQuoteSelectedIntentDto = SolverQuoteSelectedIntentDto;
34
63
  __decorate([
64
+ (0, class_validator_1.IsNotEmpty)(),
35
65
  (0, class_validator_1.IsUUID)(),
36
66
  __metadata("design:type", String)
37
67
  ], SolverQuoteSelectedIntentDto.prototype, "id", void 0);
@@ -1 +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;AAInC,MAAa,4BAA4B;CAWxC;AAXD,oEAWC;AATC;IADC,IAAA,wBAAM,GAAE;;wDACE;AAQX;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8EACsB"}
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;AAGnC,MAAa,2BAA2B;CAgBvC;AAhBD,kEAgBC;AAbC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;uDACE;AAIX;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;6DACQ;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;6EACsB;AAGnC,MAAa,mCAAmC;CAI/C;AAJD,kFAIC;AADC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;+DACE;AAGb,MAAa,4BAA4B;IACvC,YAAY,OAA8C;QACxD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;CAaF;AAhBD,oEAgBC;AATC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;wDACE;AAQX;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;8EACsB"}
@@ -7,13 +7,6 @@ export declare class QuoteSelectedIntentsResponseDto {
7
7
  transaction: EvmTransaction;
8
8
  }
9
9
  export declare class EvmTransaction {
10
- approve: {
11
- to: string;
12
- data: TransactionRequest;
13
- };
14
- pluton: {
15
- to: string;
16
- data: TransactionRequest;
17
- };
10
+ pluton: TransactionRequest;
18
11
  }
19
12
  //# sourceMappingURL=quote_selected_intents_resposne.dto.d.ts.map
@@ -1 +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":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAE5C,qBAAa,+BAA+B;IAC1C;;;OAGG;IAEH,WAAW,EAAE,cAAc,CAAC;CAC7B;AAED,qBAAa,cAAc;IACzB,OAAO,EAAE;QACP,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,kBAAkB,CAAC;KAC1B,CAAC;IAEF,MAAM,EAAE;QACN,EAAE,EAAE,MAAM,CAAC;QACX,IAAI,EAAE,kBAAkB,CAAC;KAC1B,CAAC;CACH"}
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":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,QAAQ,CAAC;AAE5C,qBAAa,+BAA+B;IAC1C;;;OAGG;IAEH,WAAW,EAAE,cAAc,CAAC;CAC7B;AAED,qBAAa,cAAc;IACzB,MAAM,EAAE,kBAAkB,CAAC;CAC5B"}
@@ -1 +1 @@
1
- {"version":3,"file":"quote_selected_intents_resposne.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.ts"],"names":[],"mappings":";;;AAGA,MAAa,+BAA+B;CAO3C;AAPD,0EAOC;AAED,MAAa,cAAc;CAU1B;AAVD,wCAUC"}
1
+ {"version":3,"file":"quote_selected_intents_resposne.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_selected_intents_resposne.dto.ts"],"names":[],"mappings":";;;AAEA,MAAa,+BAA+B;CAO3C;AAPD,0EAOC;AAED,MAAa,cAAc;CAE1B;AAFD,wCAEC"}
@@ -6,4 +6,7 @@ export declare class QuoteSetTransactionRequestDto {
6
6
  */
7
7
  transactionHash: string;
8
8
  }
9
+ export declare class SolverBeginSolveDto {
10
+ id: string;
11
+ }
9
12
  //# sourceMappingURL=quote_set_transaction_request.dto.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_set_transaction_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,6BAA6B;IAExC,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IAEH,eAAe,EAAE,MAAM,CAAC;CACzB"}
1
+ {"version":3,"file":"quote_set_transaction_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,6BAA6B;IAExC,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IAEH,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,qBAAa,mBAAmB;IAE9B,EAAE,EAAE,MAAM,CAAC;CACZ"}
@@ -9,7 +9,7 @@ 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.QuoteSetTransactionRequestDto = void 0;
12
+ exports.SolverBeginSolveDto = exports.QuoteSetTransactionRequestDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  class QuoteSetTransactionRequestDto {
15
15
  }
@@ -22,4 +22,11 @@ __decorate([
22
22
  (0, class_validator_1.IsNotEmpty)(),
23
23
  __metadata("design:type", String)
24
24
  ], QuoteSetTransactionRequestDto.prototype, "transactionHash", void 0);
25
+ class SolverBeginSolveDto {
26
+ }
27
+ exports.SolverBeginSolveDto = SolverBeginSolveDto;
28
+ __decorate([
29
+ (0, class_validator_1.IsUUID)(),
30
+ __metadata("design:type", String)
31
+ ], SolverBeginSolveDto.prototype, "id", void 0);
25
32
  //# sourceMappingURL=quote_set_transaction_request.dto.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_set_transaction_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AAErD,MAAa,6BAA6B;CAUzC;AAVD,sEAUC;AARC;IADC,IAAA,wBAAM,GAAE;;yDACE;AAOX;IADC,IAAA,4BAAU,GAAE;;sEACW"}
1
+ {"version":3,"file":"quote_set_transaction_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_set_transaction_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAqD;AAErD,MAAa,6BAA6B;CAUzC;AAVD,sEAUC;AARC;IADC,IAAA,wBAAM,GAAE;;yDACE;AAOX;IADC,IAAA,4BAAU,GAAE;;sEACW;AAG1B,MAAa,mBAAmB;CAG/B;AAHD,kDAGC;AADC;IADC,IAAA,wBAAM,GAAE;;+CACE"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plutonlabs/sdk",
3
- "version": "0.0.24-beta",
3
+ "version": "0.0.26-beta",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [