@plutonlabs/sdk 0.0.12-beta → 0.0.14-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 (162) hide show
  1. package/dist/common/consts/index.d.ts.map +1 -1
  2. package/dist/common/consts/index.js.map +1 -1
  3. package/dist/common/enums/index.d.ts +2 -2
  4. package/dist/common/index.d.ts +4 -4
  5. package/dist/common/interfaces/IChain.d.ts +1 -1
  6. package/dist/common/utils/index.d.ts +2 -2
  7. package/dist/index.d.ts +8 -1
  8. package/dist/index.d.ts.map +1 -1
  9. package/dist/index.js +11 -0
  10. package/dist/index.js.map +1 -1
  11. package/dist/modules/chainsync/domain/dto/chain_transaction.dto.d.ts.map +1 -1
  12. package/dist/modules/chainsync/domain/dto/chain_transaction.dto.js.map +1 -1
  13. package/dist/modules/index.d.ts.map +1 -1
  14. package/dist/modules/index.js.map +1 -1
  15. package/dist/modules/network/domain/dto/index.d.ts.map +1 -1
  16. package/dist/modules/network/domain/dto/index.js.map +1 -1
  17. package/dist/modules/network/domain/dto/network.dto.d.ts +13 -1
  18. package/dist/modules/network/domain/dto/network.dto.d.ts.map +1 -1
  19. package/dist/modules/network/domain/dto/network.dto.js +8 -1
  20. package/dist/modules/network/domain/dto/network.dto.js.map +1 -1
  21. package/dist/modules/network/domain/dto/network_provider.dto.d.ts +1 -1
  22. package/dist/modules/network/domain/dto/network_provider.dto.d.ts.map +1 -1
  23. package/dist/modules/network/domain/dto/network_provider.dto.js.map +1 -1
  24. package/dist/modules/network/domain/dto/network_provider.update.dto.d.ts +20 -19
  25. package/dist/modules/network/domain/dto/network_provider.update.dto.d.ts.map +1 -1
  26. package/dist/modules/network/domain/dto/network_provider.update.dto.js +4 -15
  27. package/dist/modules/network/domain/dto/network_provider.update.dto.js.map +1 -1
  28. package/dist/modules/network/domain/dto/network_tokens_view.dto.d.ts +19 -7
  29. package/dist/modules/network/domain/dto/network_tokens_view.dto.d.ts.map +1 -1
  30. package/dist/modules/network/domain/dto/network_tokens_view.dto.js +4 -2
  31. package/dist/modules/network/domain/dto/network_tokens_view.dto.js.map +1 -1
  32. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.d.ts.map +1 -1
  33. package/dist/modules/quote/domain/dto/affiliate/claim_affiliate_signature_response.dto.js.map +1 -1
  34. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.d.ts.map +1 -1
  35. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_request.dto.js.map +1 -1
  36. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.d.ts +13 -13
  37. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.d.ts.map +1 -1
  38. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js +1 -1
  39. package/dist/modules/quote/domain/dto/affiliate/create_claim_affiliate_response.dto.js.map +1 -1
  40. package/dist/modules/quote/domain/dto/index.d.ts +3 -3
  41. package/dist/modules/quote/domain/dto/quote/index.d.ts +15 -16
  42. package/dist/modules/quote/domain/dto/quote/index.d.ts.map +1 -1
  43. package/dist/modules/quote/domain/dto/quote/index.js +0 -1
  44. package/dist/modules/quote/domain/dto/quote/index.js.map +1 -1
  45. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts +1 -6
  46. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts.map +1 -1
  47. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js +4 -8
  48. package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js.map +1 -1
  49. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.d.ts +18 -0
  50. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.d.ts.map +1 -0
  51. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.js +44 -0
  52. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.js.map +1 -0
  53. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts +1 -9
  54. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts.map +1 -1
  55. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js +2 -2
  56. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js.map +1 -1
  57. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts +2 -2
  58. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.d.ts.map +1 -1
  59. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js +3 -3
  60. package/dist/modules/quote/domain/dto/quote/quote_estimate_bridge_intent_request.dto.js.map +1 -1
  61. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.d.ts +0 -9
  62. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.d.ts.map +1 -1
  63. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.js +0 -57
  64. package/dist/modules/quote/domain/dto/quote/quote_intent_response.dto.js.map +1 -1
  65. package/dist/modules/quote/domain/dto/quote/quote_request.dto.d.ts +6 -1
  66. package/dist/modules/quote/domain/dto/quote/quote_request.dto.d.ts.map +1 -1
  67. package/dist/modules/quote/domain/dto/quote/quote_request.dto.js +5 -6
  68. package/dist/modules/quote/domain/dto/quote/quote_request.dto.js.map +1 -1
  69. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts +2 -1
  70. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts.map +1 -1
  71. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js +5 -8
  72. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js.map +1 -1
  73. package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts +13 -0
  74. package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts.map +1 -1
  75. package/dist/modules/quote/domain/dto/quote/quote_response.dto.js +13 -21
  76. package/dist/modules/quote/domain/dto/quote/quote_response.dto.js.map +1 -1
  77. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts +1 -0
  78. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts.map +1 -1
  79. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js +4 -7
  80. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js.map +1 -1
  81. package/dist/modules/quote/domain/dto/refund/index.d.ts +4 -4
  82. package/dist/modules/quote/domain/dto/refund/index.d.ts.map +1 -1
  83. package/dist/modules/quote/domain/dto/refund/index.js +2 -2
  84. package/dist/modules/quote/domain/dto/refund/index.js.map +1 -1
  85. package/dist/modules/quote/domain/dto/refund/{create_quote_refund_request.dto.d.ts → quote_refund_request.dto.d.ts} +3 -3
  86. package/dist/modules/quote/domain/dto/refund/quote_refund_request.dto.d.ts.map +1 -0
  87. package/dist/modules/quote/domain/dto/refund/{create_quote_refund_request.dto.js → quote_refund_request.dto.js} +9 -7
  88. package/dist/modules/quote/domain/dto/refund/quote_refund_request.dto.js.map +1 -0
  89. package/dist/modules/quote/domain/dto/refund/{create_quote_refund_response.dto.d.ts → quote_refund_response.dto.d.ts} +4 -4
  90. package/dist/modules/quote/domain/dto/refund/quote_refund_response.dto.d.ts.map +1 -0
  91. package/dist/modules/quote/domain/dto/refund/quote_refund_response.dto.js +37 -0
  92. package/dist/modules/quote/domain/dto/refund/quote_refund_response.dto.js.map +1 -0
  93. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.d.ts +1 -1
  94. package/dist/modules/quote/domain/dto/refund/quote_refund_signature_request.dto.js +1 -1
  95. package/dist/modules/quote/domain/index.d.ts +2 -2
  96. package/dist/modules/swap/domain/dto/index.d.ts +3 -3
  97. package/dist/modules/swap/domain/dto/index.d.ts.map +1 -1
  98. package/dist/modules/swap/domain/dto/index.js +3 -3
  99. package/dist/modules/swap/domain/dto/index.js.map +1 -1
  100. package/dist/modules/swap/domain/dto/{token_swap_output_estimate_response.dto.d.ts → swap_estimate_response.dto.d.ts} +2 -2
  101. package/dist/modules/swap/domain/dto/swap_estimate_response.dto.d.ts.map +1 -0
  102. package/dist/modules/swap/domain/dto/{token_swap_output_estimate_response.dto.js → swap_estimate_response.dto.js} +5 -5
  103. package/dist/modules/swap/domain/dto/swap_estimate_response.dto.js.map +1 -0
  104. package/dist/modules/swap/domain/dto/{token_swap_request.dto.d.ts → swap_request.dto.d.ts} +3 -3
  105. package/dist/modules/swap/domain/dto/swap_request.dto.d.ts.map +1 -0
  106. package/dist/modules/swap/domain/dto/{token_swap_request.dto.js → swap_request.dto.js} +7 -7
  107. package/dist/modules/swap/domain/dto/swap_request.dto.js.map +1 -0
  108. package/dist/modules/swap/domain/dto/{token_swap_response.dto.d.ts → swap_response.dto.d.ts} +2 -2
  109. package/dist/modules/swap/domain/dto/swap_response.dto.d.ts.map +1 -0
  110. package/dist/modules/swap/domain/dto/{token_swap_response.dto.js → swap_response.dto.js} +7 -7
  111. package/dist/modules/swap/domain/dto/swap_response.dto.js.map +1 -0
  112. package/dist/modules/swap/index.d.ts +1 -1
  113. package/dist/modules/token/domain/dto/index.d.ts +1 -1
  114. package/dist/modules/token/domain/dto/index.d.ts.map +1 -1
  115. package/dist/modules/token/domain/dto/index.js +1 -1
  116. package/dist/modules/token/domain/dto/index.js.map +1 -1
  117. package/dist/modules/token/domain/dto/token.dto.d.ts +15 -14
  118. package/dist/modules/token/domain/dto/token.dto.d.ts.map +1 -1
  119. package/dist/modules/token/domain/dto/token.dto.js +20 -11
  120. package/dist/modules/token/domain/dto/token.dto.js.map +1 -1
  121. package/dist/modules/token/domain/dto/token.find.dto.d.ts +29 -0
  122. package/dist/modules/token/domain/dto/token.find.dto.d.ts.map +1 -0
  123. package/dist/modules/token/domain/dto/{network_contract_find_token.dto.js → token.find.dto.js} +9 -10
  124. package/dist/modules/token/domain/dto/token.find.dto.js.map +1 -0
  125. package/dist/modules/token/domain/dto/token.update.dto.d.ts +27 -23
  126. package/dist/modules/token/domain/dto/token.update.dto.d.ts.map +1 -1
  127. package/dist/modules/token/domain/dto/token.update.dto.js +16 -18
  128. package/dist/modules/token/domain/dto/token.update.dto.js.map +1 -1
  129. package/dist/modules/token/domain/dto/token_find.dto.d.ts +29 -0
  130. package/dist/modules/token/domain/dto/token_find.dto.d.ts.map +1 -0
  131. package/dist/modules/token/domain/dto/token_find.dto.js +41 -0
  132. package/dist/modules/token/domain/dto/token_find.dto.js.map +1 -0
  133. package/dist/seed/networks_seed.json +86 -0
  134. package/dist/seed/pluton_contracts_seed.json +1302 -0
  135. package/dist/seed/tokens_seed.json +145 -0
  136. package/dist/seed-data/index.d.ts +1 -0
  137. package/dist/seed-data/index.d.ts.map +1 -0
  138. package/dist/seed-data/index.js +2 -0
  139. package/dist/seed-data/index.js.map +1 -0
  140. package/dist/seed-data/networks_seed.json +47 -0
  141. package/dist/seed-data/pluton_contracts_seed.json +1312 -0
  142. package/dist/seed-data/tokens_seed.json +119 -0
  143. package/package.json +4 -1
  144. package/Readme.md +0 -1
  145. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.d.ts +0 -31
  146. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.d.ts.map +0 -1
  147. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.js +0 -53
  148. package/dist/modules/quote/domain/dto/quote/quote_estimate_response.dto.js.map +0 -1
  149. package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.d.ts.map +0 -1
  150. package/dist/modules/quote/domain/dto/refund/create_quote_refund_request.dto.js.map +0 -1
  151. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.d.ts.map +0 -1
  152. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.js +0 -7
  153. package/dist/modules/quote/domain/dto/refund/create_quote_refund_response.dto.js.map +0 -1
  154. package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.d.ts.map +0 -1
  155. package/dist/modules/swap/domain/dto/token_swap_output_estimate_response.dto.js.map +0 -1
  156. package/dist/modules/swap/domain/dto/token_swap_request.dto.d.ts.map +0 -1
  157. package/dist/modules/swap/domain/dto/token_swap_request.dto.js.map +0 -1
  158. package/dist/modules/swap/domain/dto/token_swap_response.dto.d.ts.map +0 -1
  159. package/dist/modules/swap/domain/dto/token_swap_response.dto.js.map +0 -1
  160. package/dist/modules/token/domain/dto/network_contract_find_token.dto.d.ts +0 -29
  161. package/dist/modules/token/domain/dto/network_contract_find_token.dto.d.ts.map +0 -1
  162. package/dist/modules/token/domain/dto/network_contract_find_token.dto.js.map +0 -1
@@ -24,7 +24,6 @@ __exportStar(require("./quote_request_lifecycle.dto"), exports);
24
24
  __exportStar(require("./quote_request.dto"), exports);
25
25
  __exportStar(require("./quote_response_lifecycle.dto"), exports);
26
26
  __exportStar(require("./quote_response.dto"), exports);
27
- __exportStar(require("./quote_estimate_response.dto"), exports);
28
27
  __exportStar(require("./quote_selected_intents_request.dto"), exports);
29
28
  __exportStar(require("./quote_selected_intents_resposne.dto"), exports);
30
29
  __exportStar(require("./quote_set_transaction_request.dto"), exports);
@@ -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;AAE3D,6DAA2C;AAC3C,8DAA4C;AAE5C,gEAA8C;AAC9C,sDAAoC;AAEpC,iEAA+C;AAC/C,uDAAqC;AACrC,gEAA8C;AAE9C,uEAAqD;AACrD,wEAAsD;AAEtD,sEAAoD;AACpD,uEAAqD;AAErD,8CAA4B"}
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;AAE3D,6DAA2C;AAC3C,8DAA4C;AAE5C,gEAA8C;AAC9C,sDAAoC;AAEpC,iEAA+C;AAC/C,uDAAqC;AAErC,uEAAqD;AACrD,wEAAsD;AAEtD,sEAAoD;AACpD,uEAAqD;AAErD,8CAA4B"}
@@ -1,10 +1,5 @@
1
1
  import { IntentType } from '../../../../../common';
2
- export declare class BaseQuoteIntentRequestDto {
3
- /**
4
- * @example 'bridge'
5
- * @description id of request in contract on chain
6
- */
7
- plutonId?: string;
2
+ export declare class QuoteBaseIntentRequestDto {
8
3
  /**
9
4
  * @example 'bridge'
10
5
  * @description Type of intent request
@@ -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;IACpC;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;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;IACpC;;;OAGG;IAEH,UAAU,EAAE,UAAU,CAAC;CACxB"}
@@ -9,18 +9,14 @@ 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.BaseQuoteIntentRequestDto = void 0;
12
+ exports.QuoteBaseIntentRequestDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const common_1 = require("../../../../../common");
15
- class BaseQuoteIntentRequestDto {
15
+ class QuoteBaseIntentRequestDto {
16
16
  }
17
- exports.BaseQuoteIntentRequestDto = BaseQuoteIntentRequestDto;
18
- __decorate([
19
- (0, class_validator_1.IsString)(),
20
- __metadata("design:type", String)
21
- ], BaseQuoteIntentRequestDto.prototype, "plutonId", void 0);
17
+ exports.QuoteBaseIntentRequestDto = QuoteBaseIntentRequestDto;
22
18
  __decorate([
23
19
  (0, class_validator_1.IsNotEmpty)(),
24
20
  __metadata("design:type", String)
25
- ], BaseQuoteIntentRequestDto.prototype, "intentType", void 0);
21
+ ], QuoteBaseIntentRequestDto.prototype, "intentType", void 0);
26
22
  //# sourceMappingURL=quote_base_intent_request.dto.js.map
@@ -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,qDAAuD;AACvD,kDAAmD;AAEnD,MAAa,yBAAyB;CAcrC;AAdD,8DAcC;AARC;IADC,IAAA,0BAAQ,GAAE;;2DACO;AAOlB;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,qDAAuD;AACvD,kDAAmD;AAEnD,MAAa,yBAAyB;CAOrC;AAPD,8DAOC;AADC;IADC,IAAA,4BAAU,GAAE;;6DACU"}
@@ -0,0 +1,18 @@
1
+ import { SelectionStatus } from '@plutonlabs/sdk';
2
+ import { IntentType } from '@plutonlabs/sdk/dist/common';
3
+ export declare class QuoteBaseIntentResponseDto {
4
+ id?: string;
5
+ /**
6
+ * @description Type of intent request
7
+ * @example: IntentType.BRIDGE
8
+ */
9
+ intentType: IntentType;
10
+ /**
11
+ * @description: Unique identifier for the intent request related to the quote
12
+ * @example: 'a68d209f-46e3-4f0e-b013-94c3b5f4d7f2'
13
+ */
14
+ intentRequestId: string;
15
+ solverId?: string;
16
+ selectionStatus?: SelectionStatus;
17
+ }
18
+ //# sourceMappingURL=quote_base_intent_response.dto.d.ts.map
@@ -0,0 +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":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,iBAAiB,CAAC;AAClD,OAAO,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAGzD,qBAAa,0BAA0B;IAErC,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ;;;OAGG;IAGH,UAAU,EAAE,UAAU,CAAC;IAEvB;;;OAGG;IAGH,eAAe,EAAE,MAAM,CAAC;IAGxB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAGlB,eAAe,CAAC,EAAE,eAAe,CAAgC;CAClE"}
@@ -0,0 +1,44 @@
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.QuoteBaseIntentResponseDto = void 0;
13
+ const sdk_1 = require("@plutonlabs/sdk");
14
+ const common_1 = require("@plutonlabs/sdk/dist/common");
15
+ const class_validator_1 = require("class-validator");
16
+ class QuoteBaseIntentResponseDto {
17
+ constructor() {
18
+ this.selectionStatus = sdk_1.SelectionStatus.NOT_SELECTED;
19
+ }
20
+ }
21
+ exports.QuoteBaseIntentResponseDto = QuoteBaseIntentResponseDto;
22
+ __decorate([
23
+ (0, class_validator_1.IsUUID)(),
24
+ __metadata("design:type", String)
25
+ ], QuoteBaseIntentResponseDto.prototype, "id", void 0);
26
+ __decorate([
27
+ (0, class_validator_1.IsNotEmpty)(),
28
+ (0, class_validator_1.IsNotEmpty)(),
29
+ __metadata("design:type", String)
30
+ ], QuoteBaseIntentResponseDto.prototype, "intentType", void 0);
31
+ __decorate([
32
+ (0, class_validator_1.IsNotEmpty)(),
33
+ (0, class_validator_1.IsUUID)(),
34
+ __metadata("design:type", String)
35
+ ], QuoteBaseIntentResponseDto.prototype, "intentRequestId", void 0);
36
+ __decorate([
37
+ (0, class_validator_1.IsUUID)(),
38
+ __metadata("design:type", String)
39
+ ], QuoteBaseIntentResponseDto.prototype, "solverId", void 0);
40
+ __decorate([
41
+ (0, class_validator_1.IsNumber)(),
42
+ __metadata("design:type", Number)
43
+ ], QuoteBaseIntentResponseDto.prototype, "selectionStatus", void 0);
44
+ //# sourceMappingURL=quote_base_intent_response.dto.js.map
@@ -0,0 +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,yCAAkD;AAClD,wDAAyD;AACzD,qDAA+D;AAE/D,MAAa,0BAA0B;IAAvC;QAwBE,oBAAe,GAAqB,qBAAe,CAAC,YAAY,CAAC;IACnE,CAAC;CAAA;AAzBD,gEAyBC;AAvBC;IADC,IAAA,wBAAM,GAAE;;sDACG;AAQZ;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,4BAAU,GAAE;;8DACU;AAQvB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;;mEACe;AAGxB;IADC,IAAA,wBAAM,GAAE;;4DACS;AAGlB;IADC,IAAA,0BAAQ,GAAE;;mEACsD"}
@@ -1,17 +1,9 @@
1
- import { BaseQuoteIntentResponseDto } from './quote_intent_response.dto';
1
+ import { BaseQuoteIntentResponseDto } from '@plutonlabs/sdk';
2
2
  export declare class QuoteBridgeIntentResponseDto extends BaseQuoteIntentResponseDto {
3
3
  /**
4
4
  * @example '10000'
5
5
  * @description Solver response amount of destination token
6
6
  */
7
7
  amount: string;
8
- /**
9
- * @description Expiry date of initiation
10
- */
11
- initiationExpiry: Date;
12
- /**
13
- * @description Expiry date of redemption
14
- */
15
- redeemExpiry: Date;
16
8
  }
17
9
  //# sourceMappingURL=quote_bridge_intent_response.dto.d.ts.map
@@ -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,6BAA6B,CAAC;AAEzE,qBAAa,4BAA6B,SAAQ,0BAA0B;IAC1E;;;OAGG;IAGH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IACH,gBAAgB,EAAE,IAAI,CAAC;IAEvB;;OAEG;IACH,YAAY,EAAE,IAAI,CAAC;CACpB"}
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":"AAAA,OAAO,EAAE,0BAA0B,EAAE,MAAM,iBAAiB,CAAC;AAG7D,qBAAa,4BAA6B,SAAQ,0BAA0B;IAC1E;;;OAGG;IAGH,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -10,9 +10,9 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.QuoteBridgeIntentResponseDto = void 0;
13
+ const sdk_1 = require("@plutonlabs/sdk");
13
14
  const class_validator_1 = require("class-validator");
14
- const quote_intent_response_dto_1 = require("./quote_intent_response.dto");
15
- class QuoteBridgeIntentResponseDto extends quote_intent_response_dto_1.BaseQuoteIntentResponseDto {
15
+ class QuoteBridgeIntentResponseDto extends sdk_1.BaseQuoteIntentResponseDto {
16
16
  }
17
17
  exports.QuoteBridgeIntentResponseDto = QuoteBridgeIntentResponseDto;
18
18
  __decorate([
@@ -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,2EAAyE;AAEzE,MAAa,4BAA6B,SAAQ,sDAA0B;CAkB3E;AAlBD,oEAkBC;AAXC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACI"}
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,yCAA6D;AAC7D,qDAAuD;AAEvD,MAAa,4BAA6B,SAAQ,gCAA0B;CAQ3E;AARD,oEAQC;AADC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACI"}
@@ -1,5 +1,5 @@
1
- import { BaseQuoteIntentRequestDto } from './quote_base_intent_request.dto';
2
- import { CalcMode } from '../../../../../common';
1
+ import { BaseQuoteIntentRequestDto } from '@plutonlabs/sdk';
2
+ import { CalcMode } from '@plutonlabs/sdk/dist/common';
3
3
  export declare class QuoteEstimateBridgeIntentRequestDto extends BaseQuoteIntentRequestDto {
4
4
  /**
5
5
  * @example 1
@@ -1 +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;IAGH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IAGH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IAEH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IAGH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IAGH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;;OAGG;IAEH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;OAEG;IAGH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IAGH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAGH,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
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":"AAAA,OAAO,EAAE,yBAAyB,EAAE,MAAM,iBAAiB,CAAC;AAC5D,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAGvD,qBAAa,mCAAoC,SAAQ,yBAAyB;IAChF;;OAEG;IAGH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IAGH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IAEH,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B;;OAEG;IAGH,kBAAkB,EAAE,MAAM,CAAC;IAE3B;;OAEG;IAGH,mBAAmB,EAAE,MAAM,CAAC;IAE5B;;;OAGG;IAEH,uBAAuB,CAAC,EAAE,MAAM,CAAC;IAEjC;;OAEG;IAGH,MAAM,EAAE,MAAM,CAAC;IAEf;;OAEG;IAGH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;;OAGG;IAGH,QAAQ,EAAE,QAAQ,CAAC;CACpB"}
@@ -10,10 +10,10 @@ var __metadata = (this && this.__metadata) || function (k, v) {
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.QuoteEstimateBridgeIntentRequestDto = void 0;
13
+ const sdk_1 = require("@plutonlabs/sdk");
14
+ const common_1 = require("@plutonlabs/sdk/dist/common");
13
15
  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 {
16
+ class QuoteEstimateBridgeIntentRequestDto extends sdk_1.BaseQuoteIntentRequestDto {
17
17
  }
18
18
  exports.QuoteEstimateBridgeIntentRequestDto = QuoteEstimateBridgeIntentRequestDto;
19
19
  __decorate([
@@ -1 +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,qDAAiF;AACjF,mFAA4E;AAC5E,kDAAiD;AAEjD,MAAa,mCAAoC,SAAQ,yDAAyB;CAgEjF;AAhED,kFAgEC;AA1DC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0EACW;AAOtB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2EACY;AAOvB;IADC,IAAA,0BAAQ,GAAE;;+EACiB;AAO5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+EACgB;AAO3B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gFACiB;AAO5B;IADC,IAAA,0BAAQ,GAAE;;oFACsB;AAOjC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mEACI;AAOf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEACM;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEACQ"}
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,yCAA4D;AAC5D,wDAAuD;AACvD,qDAAiE;AAEjE,MAAa,mCAAoC,SAAQ,+BAAyB;CAgEjF;AAhED,kFAgEC;AA1DC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;0EACW;AAOtB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;2EACY;AAOvB;IADC,IAAA,0BAAQ,GAAE;;+EACiB;AAO5B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;+EACgB;AAO3B;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;gFACiB;AAO5B;IADC,IAAA,0BAAQ,GAAE;;oFACsB;AAOjC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;mEACI;AAOf;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEACM;AAQjB;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;qEACQ"}
@@ -1,13 +1,4 @@
1
1
  import { QuoteBridgeIntentResponseDto } from './quote_bridge_intent_response.dto';
2
- import { IntentType } from '../../../../../common';
3
- import { SelectionStatus } from '../../enums';
4
- export declare class BaseQuoteIntentResponseDto {
5
- id?: string;
6
- solverId: string;
7
- intentType: IntentType;
8
- selectionStatus?: SelectionStatus;
9
- intentRequestId: string;
10
- }
11
2
  export type QuoteIntentResponseDto = QuoteBridgeIntentResponseDto;
12
3
  export type CreateQuoteIntentResponseDto = QuoteIntentResponseDto & {
13
4
  quoteResponseId: string;
@@ -1 +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,UAAU,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,qBAAa,0BAA0B;IAIrC,EAAE,CAAC,EAAE,MAAM,CAAC;IAMZ,QAAQ,EAAE,MAAM,CAAC;IAKjB,UAAU,EAAE,UAAU,CAAC;IAMvB,eAAe,CAAC,EAAE,eAAe,CAAgC;IAMjE,eAAe,EAAE,MAAM,CAAC;CACzB;AAED,MAAM,MAAM,sBAAsB,GAC9B,4BAA4B,CAAC;AAEjC,MAAM,MAAM,4BAA4B,GAAG,sBAAsB,GAAG;IAClE,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC"}
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":"AAAA,OAAO,EAAE,4BAA4B,EAAE,MAAM,oCAAoC,CAAC;AAElF,MAAM,MAAM,sBAAsB,GAAG,4BAA4B,CAAC;AAElE,MAAM,MAAM,4BAA4B,GAAG,sBAAsB,GAAG;IAClE,eAAe,EAAE,MAAM,CAAC;CACzB,CAAC"}
@@ -1,60 +1,3 @@
1
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
2
  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
- constructor() {
18
- this.selectionStatus = enums_1.SelectionStatus.NOT_SELECTED;
19
- }
20
- }
21
- exports.BaseQuoteIntentResponseDto = BaseQuoteIntentResponseDto;
22
- __decorate([
23
- (0, class_validator_1.IsUUID)()
24
- // Unique identifier for the quote intent response
25
- // example: 'f9b7c46f-5f49-4bb6-9412-40bdb5563ef6'
26
- ,
27
- __metadata("design:type", String)
28
- ], BaseQuoteIntentResponseDto.prototype, "id", void 0);
29
- __decorate([
30
- (0, class_validator_1.IsNotEmpty)(),
31
- (0, class_validator_1.IsUUID)()
32
- // Unique identifier for the solver associated with the intent response
33
- // example: 'e5e7e948-e7f1-4824-80a7-650cc7ed3b29'
34
- ,
35
- __metadata("design:type", String)
36
- ], BaseQuoteIntentResponseDto.prototype, "solverId", void 0);
37
- __decorate([
38
- (0, class_validator_1.IsNotEmpty)()
39
- // Type of intent request
40
- // example: IntentType.BRIDGE
41
- ,
42
- __metadata("design:type", String)
43
- ], BaseQuoteIntentResponseDto.prototype, "intentType", void 0);
44
- __decorate([
45
- (0, class_validator_1.IsNotEmpty)(),
46
- (0, class_validator_1.IsNumber)()
47
- // Status of the selection, indicating whether it was successful or failed
48
- // example: 1
49
- ,
50
- __metadata("design:type", Number)
51
- ], BaseQuoteIntentResponseDto.prototype, "selectionStatus", void 0);
52
- __decorate([
53
- (0, class_validator_1.IsNotEmpty)(),
54
- (0, class_validator_1.IsUUID)()
55
- // Unique identifier for the intent request related to the quote
56
- // example: 'a68d209f-46e3-4f0e-b013-94c3b5f4d7f2'
57
- ,
58
- __metadata("design:type", String)
59
- ], BaseQuoteIntentResponseDto.prototype, "intentRequestId", void 0);
60
3
  //# sourceMappingURL=quote_intent_response.dto.js.map
@@ -1 +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;AAE/D,kDAAmD;AACnD,uCAA8C;AAE9C,MAAa,0BAA0B;IAAvC;QAqBE,oBAAe,GAAqB,uBAAe,CAAC,YAAY,CAAC;IAOnE,CAAC;CAAA;AA5BD,gEA4BC;AAxBC;IAHC,IAAA,wBAAM,GAAE;IACT,kDAAkD;IAClD,kDAAkD;;;sDACtC;AAMZ;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;;;mEACoD;AAMjE;IAJC,IAAA,4BAAU,GAAE;IACZ,IAAA,wBAAM,GAAE;IACT,gEAAgE;IAChE,kDAAkD;;;mEAC1B"}
1
+ {"version":3,"file":"quote_intent_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent_response.dto.ts"],"names":[],"mappings":""}
@@ -1,5 +1,10 @@
1
- import { QuoteIntentRequestType } from "./quote_intent_request.dto";
1
+ import { QuoteIntentRequestType } from './quote_intent_request.dto';
2
2
  export declare class QuoteRequestDto {
3
+ /**
4
+ * @example 'bridge'
5
+ * @description id of request in contract on chain
6
+ */
7
+ plutonId?: string;
3
8
  /**
4
9
  * @description "ids of the request"
5
10
  * @example [ { quoteRequestId: "3a87e4aa-0a5e-4b9a-b4cb-b35c5b65dff4" }, { id: "020c9c03-0dbd-40e4-aba8-761821782cb3" } ]
@@ -1 +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,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,qBAAa,eAAe;IAE1B;;;OAGG;IACH,cAAc,EAAE,sBAAsB,EAAE,CAAC;CAC1C"}
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,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AAEpE,qBAAa,eAAe;IAC1B;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IAEH,cAAc,EAAE,sBAAsB,EAAE,CAAC;CAC1C"}
@@ -15,12 +15,11 @@ class QuoteRequestDto {
15
15
  }
16
16
  exports.QuoteRequestDto = QuoteRequestDto;
17
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
- ,
18
+ (0, class_validator_1.IsString)(),
19
+ __metadata("design:type", String)
20
+ ], QuoteRequestDto.prototype, "plutonId", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsArray)(),
24
23
  __metadata("design:type", Array)
25
24
  ], QuoteRequestDto.prototype, "intentRequests", void 0);
26
25
  //# sourceMappingURL=quote_request.dto.js.map
@@ -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,qDAA6C;AAG7C,MAAa,eAAe;CAO3B;AAPD,0CAOC;AADC;IALC,IAAA,4BAAU,GAAE;IACb;;;OAGG;;;uDACsC"}
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,5 +1,6 @@
1
- import { QuoteRequestLifecycleStage, QuoteRequestLifecycleState, QuoteRequestLifecycleStatus } from "../../enums";
1
+ import { QuoteRequestLifecycleStage, QuoteRequestLifecycleState, QuoteRequestLifecycleStatus } from '@plutonlabs/sdk';
2
2
  export declare class QuoteRequestLifecycleDto {
3
+ constructor(partial: Partial<QuoteRequestLifecycleDto>);
3
4
  static from<T extends {
4
5
  id: string;
5
6
  quoteRequestId: string;
@@ -1 +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"}
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":"AAAA,OAAO,EACL,0BAA0B,EAC1B,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,iBAAiB,CAAC;AAEzB,qBAAa,wBAAwB;gBACvB,OAAO,EAAE,OAAO,CAAC,wBAAwB,CAAC;WAIxC,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;IAKnC,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"}
@@ -1,16 +1,13 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.QuoteRequestLifecycleDto = void 0;
4
- const common_1 = require("../../../../../common");
4
+ const common_1 = require("@plutonlabs/sdk/dist/common");
5
5
  class QuoteRequestLifecycleDto {
6
+ constructor(partial) {
7
+ Object.assign(this, partial);
8
+ }
6
9
  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;
10
+ const dto = new QuoteRequestLifecycleDto(obj);
14
11
  return dto;
15
12
  }
16
13
  static listFrom(objs) {
@@ -1 +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"}
1
+ {"version":3,"file":"quote_request_lifecycle.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.ts"],"names":[],"mappings":";;;AAKA,wDAAuD;AACvD,MAAa,wBAAwB;IACnC,YAAY,OAA0C;QACpD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,IAAI,CAShB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,wBAAwB,CAAC,GAAG,CAAC,CAAC;QAC9C,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;AAnED,4DAmEC"}
@@ -20,5 +20,18 @@ export declare class QuoteResponseDto {
20
20
  * ]
21
21
  */
22
22
  intentResponses: QuoteIntentResponseDto[];
23
+ /**
24
+ * @description Expiry date of initiation
25
+ */
26
+ initiationExpiry?: Date;
27
+ /**
28
+ * @description Expiry date of redemption
29
+ */
30
+ redeemExpiry?: Date;
31
+ /**
32
+ * @description The estimated fee for the transaction, calculated based on the native coin of the blockchain. The fee is typically expressed in the chain’s native currency, such as ETH for Ethereum, BTC for Bitcoin, etc.
33
+ * @example 5000000000000000 (for a fee estimate of 0.005 ETH)
34
+ */
35
+ feeEstimate: string;
23
36
  }
24
37
  //# sourceMappingURL=quote_response.dto.d.ts.map
@@ -1 +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"}
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;AAErE,qBAAa,gBAAgB;IAC3B;;;;;;;;;;;;;;;;;;OAkBG;IAEH,eAAe,EAAE,sBAAsB,EAAE,CAAC;IAE1C;;OAEG;IAEH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IAExB;;OAEG;IAEH,YAAY,CAAC,EAAE,IAAI,CAAC;IAEpB;;;OAGG;IAEH,WAAW,EAAE,MAAM,CAAC;CACrB"}
@@ -15,27 +15,19 @@ class QuoteResponseDto {
15
15
  }
16
16
  exports.QuoteResponseDto = QuoteResponseDto;
17
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.SWAP,
33
- * selectionStatus: 2,
34
- * intentRequestId: 'b10c7b1d-59c4-4a99-8452-fb69d9e6da1b',
35
- * }
36
- * ]
37
- */
38
- ,
18
+ (0, class_validator_1.IsArray)(),
39
19
  __metadata("design:type", Array)
40
20
  ], QuoteResponseDto.prototype, "intentResponses", void 0);
21
+ __decorate([
22
+ (0, class_validator_1.IsDate)(),
23
+ __metadata("design:type", Date)
24
+ ], QuoteResponseDto.prototype, "initiationExpiry", void 0);
25
+ __decorate([
26
+ (0, class_validator_1.IsDate)(),
27
+ __metadata("design:type", Date)
28
+ ], QuoteResponseDto.prototype, "redeemExpiry", void 0);
29
+ __decorate([
30
+ (0, class_validator_1.IsNotEmpty)(),
31
+ __metadata("design:type", String)
32
+ ], QuoteResponseDto.prototype, "feeEstimate", void 0);
41
33
  //# sourceMappingURL=quote_response.dto.js.map
@@ -1 +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"}
1
+ {"version":3,"file":"quote_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA8D;AAG9D,MAAa,gBAAgB;CAyC5B;AAzCD,4CAyCC;AApBC;IADC,IAAA,yBAAO,GAAE;;yDACgC;AAM1C;IADC,IAAA,wBAAM,GAAE;8BACU,IAAI;0DAAC;AAMxB;IADC,IAAA,wBAAM,GAAE;8BACM,IAAI;sDAAC;AAOpB;IADC,IAAA,4BAAU,GAAE;;qDACO"}
@@ -1,5 +1,6 @@
1
1
  import { QuoteResponseLifecycleStage, QuoteResponseLifecycleState, QuoteResponseLifecycleStatus } from '../../enums';
2
2
  export declare class QuoteResponseLifecycleDto {
3
+ constructor(partial: Partial<QuoteResponseLifecycleDto>);
3
4
  static from<T extends {
4
5
  id: string;
5
6
  quoteResponseId: string;
@@ -1 +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"}
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,EACL,2BAA2B,EAC3B,2BAA2B,EAC3B,4BAA4B,EAC7B,MAAM,aAAa,CAAC;AAGrB,qBAAa,yBAAyB;gBACxB,OAAO,EAAE,OAAO,CAAC,yBAAyB,CAAC;WAIzC,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;IAKpC,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"}
@@ -3,14 +3,11 @@ Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.QuoteResponseLifecycleDto = void 0;
4
4
  const common_1 = require("../../../../../common");
5
5
  class QuoteResponseLifecycleDto {
6
+ constructor(partial) {
7
+ Object.assign(this, partial);
8
+ }
6
9
  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;
10
+ const dto = new QuoteResponseLifecycleDto(obj);
14
11
  return dto;
15
12
  }
16
13
  static listFrom(objs) {
@@ -1 +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"}
1
+ {"version":3,"file":"quote_response_lifecycle.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.ts"],"names":[],"mappings":";;;AAKA,kDAAiD;AAEjD,MAAa,yBAAyB;IACpC,YAAY,OAA2C;QACrD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,IAAI,CAShB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,yBAAyB,CAAC,GAAG,CAAC,CAAC;QAC/C,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;AAnED,8DAmEC"}
@@ -1,5 +1,5 @@
1
- export * from "./quote_refund_signature_request.dto";
2
- export * from "./quote_refund_signature_response.dto";
3
- export * from "./create_quote_refund_request.dto";
4
- export * from "./create_quote_refund_response.dto";
1
+ export * from './quote_refund_signature_request.dto';
2
+ export * from './quote_refund_signature_response.dto';
3
+ export * from './quote_refund_request.dto';
4
+ export * from './quote_refund_response.dto';
5
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/refund/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,oCAAoC,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/refund/index.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AACtD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC"}
@@ -16,6 +16,6 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./quote_refund_signature_request.dto"), exports);
18
18
  __exportStar(require("./quote_refund_signature_response.dto"), exports);
19
- __exportStar(require("./create_quote_refund_request.dto"), exports);
20
- __exportStar(require("./create_quote_refund_response.dto"), exports);
19
+ __exportStar(require("./quote_refund_request.dto"), exports);
20
+ __exportStar(require("./quote_refund_response.dto"), exports);
21
21
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/refund/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAqD;AACrD,wEAAsD;AACtD,oEAAkD;AAClD,qEAAmD"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/refund/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uEAAqD;AACrD,wEAAsD;AACtD,6DAA2C;AAC3C,8DAA4C"}
@@ -1,9 +1,9 @@
1
- export declare class CreateUserRefundSignatureRequestDto {
1
+ export declare class RefundSignatureRequestDto {
2
2
  /**
3
3
  * @description The quote request ID that the user sent money for
4
4
  * @example '123e4567-e89b-12d3-a456-426614174000'
5
5
  */
6
- bridgeQuoteRequestId: string;
6
+ quoteRequestId: string;
7
7
  /**
8
8
  * @description The address of the user that should be refunded to
9
9
  * @example '0x112233445566778899abcdef'
@@ -15,4 +15,4 @@ export declare class CreateUserRefundSignatureRequestDto {
15
15
  */
16
16
  signature: string;
17
17
  }
18
- //# sourceMappingURL=create_quote_refund_request.dto.d.ts.map
18
+ //# sourceMappingURL=quote_refund_request.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_refund_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/refund/quote_refund_request.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,yBAAyB;IACpC;;;OAGG;IAGH,cAAc,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IAGH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IAGH,SAAS,EAAE,MAAM,CAAC;CACnB"}
@@ -9,22 +9,24 @@ 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.CreateUserRefundSignatureRequestDto = void 0;
12
+ exports.RefundSignatureRequestDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
- class CreateUserRefundSignatureRequestDto {
14
+ class RefundSignatureRequestDto {
15
15
  }
16
- exports.CreateUserRefundSignatureRequestDto = CreateUserRefundSignatureRequestDto;
16
+ exports.RefundSignatureRequestDto = RefundSignatureRequestDto;
17
17
  __decorate([
18
18
  (0, class_validator_1.IsNotEmpty)(),
19
19
  (0, class_validator_1.IsUUID)(),
20
20
  __metadata("design:type", String)
21
- ], CreateUserRefundSignatureRequestDto.prototype, "bridgeQuoteRequestId", void 0);
21
+ ], RefundSignatureRequestDto.prototype, "quoteRequestId", void 0);
22
22
  __decorate([
23
23
  (0, class_validator_1.IsNotEmpty)(),
24
+ (0, class_validator_1.IsString)(),
24
25
  __metadata("design:type", String)
25
- ], CreateUserRefundSignatureRequestDto.prototype, "address", void 0);
26
+ ], RefundSignatureRequestDto.prototype, "address", void 0);
26
27
  __decorate([
27
28
  (0, class_validator_1.IsNotEmpty)(),
29
+ (0, class_validator_1.IsString)(),
28
30
  __metadata("design:type", String)
29
- ], CreateUserRefundSignatureRequestDto.prototype, "signature", void 0);
30
- //# sourceMappingURL=create_quote_refund_request.dto.js.map
31
+ ], RefundSignatureRequestDto.prototype, "signature", void 0);
32
+ //# sourceMappingURL=quote_refund_request.dto.js.map