@plutonlabs/sdk 0.0.30-beta → 0.0.33-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 (98) hide show
  1. package/dist/modules/chainsync/domain/dto/swap/swap_response.dto.d.ts +1 -1
  2. package/dist/modules/chainsync/domain/dto/swap/swap_response.dto.d.ts.map +1 -1
  3. package/dist/modules/chainsync/domain/dto/swap/swap_response.dto.js +7 -0
  4. package/dist/modules/chainsync/domain/dto/swap/swap_response.dto.js.map +1 -1
  5. package/dist/modules/quote/domain/dto/quote/index.d.ts +2 -2
  6. package/dist/modules/quote/domain/dto/quote/index.d.ts.map +1 -1
  7. package/dist/modules/quote/domain/dto/quote/index.js +2 -2
  8. package/dist/modules/quote/domain/dto/quote/index.js.map +1 -1
  9. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.d.ts +21 -0
  10. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.d.ts.map +1 -1
  11. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.js +8 -1
  12. package/dist/modules/quote/domain/dto/quote/quote_base_intent_response.dto.js.map +1 -1
  13. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts +23 -0
  14. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.d.ts.map +1 -1
  15. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js +11 -0
  16. package/dist/modules/quote/domain/dto/quote/quote_bridge_intent_response.dto.js.map +1 -1
  17. package/dist/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.d.ts +51 -0
  18. package/dist/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.d.ts.map +1 -0
  19. package/dist/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.js +18 -0
  20. package/dist/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.js.map +1 -0
  21. package/dist/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.d.ts +51 -0
  22. package/dist/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.d.ts.map +1 -0
  23. package/dist/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.js +18 -0
  24. package/dist/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.js.map +1 -0
  25. package/dist/modules/quote/domain/dto/quote/quote_request.dto.d.ts.map +1 -1
  26. package/dist/modules/quote/domain/dto/quote/quote_request.dto.js.map +1 -1
  27. package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts +20 -5
  28. package/dist/modules/quote/domain/dto/quote/quote_response.dto.d.ts.map +1 -1
  29. package/dist/modules/quote/domain/dto/quote/quote_response.dto.js +25 -7
  30. package/dist/modules/quote/domain/dto/quote/quote_response.dto.js.map +1 -1
  31. package/dist/modules/quote/domain/enums/index.d.ts +4 -4
  32. package/dist/modules/quote/domain/enums/index.d.ts.map +1 -1
  33. package/dist/modules/quote/domain/enums/index.js +4 -4
  34. package/dist/modules/quote/domain/enums/index.js.map +1 -1
  35. package/dist/modules/quote/domain/enums/quote_intent_request_action.enum.d.ts +17 -0
  36. package/dist/modules/quote/domain/enums/quote_intent_request_action.enum.d.ts.map +1 -0
  37. package/dist/modules/quote/domain/enums/quote_intent_request_action.enum.js +21 -0
  38. package/dist/modules/quote/domain/enums/quote_intent_request_action.enum.js.map +1 -0
  39. package/dist/modules/quote/domain/enums/{quote_request_lifecycle.enum.d.ts → quote_intent_request_lifecycle.enum.d.ts} +4 -4
  40. package/dist/modules/quote/domain/enums/quote_intent_request_lifecycle.enum.d.ts.map +1 -0
  41. package/dist/modules/quote/domain/enums/quote_intent_request_lifecycle.enum.js +40 -0
  42. package/dist/modules/quote/domain/enums/quote_intent_request_lifecycle.enum.js.map +1 -0
  43. package/dist/modules/quote/domain/enums/quote_intent_response_action.enum.d.ts +12 -0
  44. package/dist/modules/quote/domain/enums/quote_intent_response_action.enum.d.ts.map +1 -0
  45. package/dist/modules/quote/domain/enums/quote_intent_response_action.enum.js +16 -0
  46. package/dist/modules/quote/domain/enums/quote_intent_response_action.enum.js.map +1 -0
  47. package/dist/modules/quote/domain/enums/{quote_response_lifecycle.enum.d.ts → quote_intent_response_lifecycle.enum.d.ts} +4 -4
  48. package/dist/modules/quote/domain/enums/quote_intent_response_lifecycle.enum.d.ts.map +1 -0
  49. package/dist/modules/quote/domain/enums/quote_intent_response_lifecycle.enum.js +35 -0
  50. package/dist/modules/quote/domain/enums/quote_intent_response_lifecycle.enum.js.map +1 -0
  51. package/dist/seed/pluton_contracts_seed.json +4 -216
  52. package/package.json +28 -28
  53. package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.d.ts +0 -22
  54. package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.d.ts.map +0 -1
  55. package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.js +0 -41
  56. package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.js.map +0 -1
  57. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts +0 -51
  58. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.d.ts.map +0 -1
  59. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js +0 -18
  60. package/dist/modules/quote/domain/dto/quote/quote_request_lifecycle.dto.js.map +0 -1
  61. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts +0 -51
  62. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.d.ts.map +0 -1
  63. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js +0 -18
  64. package/dist/modules/quote/domain/dto/quote/quote_response_lifecycle.dto.js.map +0 -1
  65. package/dist/modules/quote/domain/enums/quote_request_action.enum.d.ts +0 -16
  66. package/dist/modules/quote/domain/enums/quote_request_action.enum.d.ts.map +0 -1
  67. package/dist/modules/quote/domain/enums/quote_request_action.enum.js +0 -20
  68. package/dist/modules/quote/domain/enums/quote_request_action.enum.js.map +0 -1
  69. package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.d.ts.map +0 -1
  70. package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.js +0 -40
  71. package/dist/modules/quote/domain/enums/quote_request_lifecycle.enum.js.map +0 -1
  72. package/dist/modules/quote/domain/enums/quote_response_action.enum.d.ts +0 -12
  73. package/dist/modules/quote/domain/enums/quote_response_action.enum.d.ts.map +0 -1
  74. package/dist/modules/quote/domain/enums/quote_response_action.enum.js +0 -16
  75. package/dist/modules/quote/domain/enums/quote_response_action.enum.js.map +0 -1
  76. package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.d.ts.map +0 -1
  77. package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.js +0 -35
  78. package/dist/modules/quote/domain/enums/quote_response_lifecycle.enum.js.map +0 -1
  79. package/dist/modules/swap/domain/dto/index.d.ts +0 -3
  80. package/dist/modules/swap/domain/dto/index.d.ts.map +0 -1
  81. package/dist/modules/swap/domain/dto/index.js +0 -19
  82. package/dist/modules/swap/domain/dto/index.js.map +0 -1
  83. package/dist/modules/swap/domain/dto/swap_request.dto.d.ts +0 -29
  84. package/dist/modules/swap/domain/dto/swap_request.dto.d.ts.map +0 -1
  85. package/dist/modules/swap/domain/dto/swap_request.dto.js +0 -37
  86. package/dist/modules/swap/domain/dto/swap_request.dto.js.map +0 -1
  87. package/dist/modules/swap/domain/dto/swap_response.dto.d.ts +0 -23
  88. package/dist/modules/swap/domain/dto/swap_response.dto.d.ts.map +0 -1
  89. package/dist/modules/swap/domain/dto/swap_response.dto.js +0 -35
  90. package/dist/modules/swap/domain/dto/swap_response.dto.js.map +0 -1
  91. package/dist/modules/swap/domain/index.d.ts +0 -2
  92. package/dist/modules/swap/domain/index.d.ts.map +0 -1
  93. package/dist/modules/swap/domain/index.js +0 -18
  94. package/dist/modules/swap/domain/index.js.map +0 -1
  95. package/dist/modules/swap/index.d.ts +0 -2
  96. package/dist/modules/swap/index.d.ts.map +0 -1
  97. package/dist/modules/swap/index.js +0 -18
  98. package/dist/modules/swap/index.js.map +0 -1
@@ -3,7 +3,7 @@ export declare class SwapCalldataResponsetDto {
3
3
  * @description The transaction data for the token swap
4
4
  * @example '0xabcdef...'
5
5
  */
6
- transactionData: string;
6
+ transactionData?: string;
7
7
  /**
8
8
  * @description The value of the transaction for the swap
9
9
  * @example '1000'
@@ -1 +1 @@
1
- {"version":3,"file":"swap_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/chainsync/domain/dto/swap/swap_response.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,wBAAwB;IACnC;;;OAGG;IAGH,eAAe,EAAE,MAAM,CAAC;IAExB;;;OAGG;IAGH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IAGH,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,qBAAa,wBAAwB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb"}
1
+ {"version":3,"file":"swap_response.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/chainsync/domain/dto/swap/swap_response.dto.ts"],"names":[],"mappings":"AAEA,qBAAa,wBAAwB;IACnC;;;OAGG;IAGH,eAAe,CAAC,EAAE,MAAM,CAAQ;IAEhC;;;OAGG;IAGH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IAGH,mBAAmB,EAAE,MAAM,CAAC;CAC7B;AAED,qBAAa,wBAAwB;IACnC,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,MAAM,CAAC;IACf,GAAG,EAAE,MAAM,CAAC;CACb"}
@@ -12,6 +12,13 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.SwapEstimateResponsetDto = exports.SwapCalldataResponsetDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  class SwapCalldataResponsetDto {
15
+ constructor() {
16
+ /**
17
+ * @description The transaction data for the token swap
18
+ * @example '0xabcdef...'
19
+ */
20
+ this.transactionData = "0x";
21
+ }
15
22
  }
16
23
  exports.SwapCalldataResponsetDto = SwapCalldataResponsetDto;
17
24
  __decorate([
@@ -1 +1 @@
1
- {"version":3,"file":"swap_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/chainsync/domain/dto/swap/swap_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,wBAAwB;CAwBpC;AAxBD,4DAwBC;AAjBC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACW;AAQxB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACY;AAQzB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qEACe;AAG9B,MAAa,wBAAwB;CAIpC;AAJD,4DAIC"}
1
+ {"version":3,"file":"swap_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/chainsync/domain/dto/swap/swap_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAuD;AAEvD,MAAa,wBAAwB;IAArC;QACE;;;WAGG;QAGH,oBAAe,GAAY,IAAI,CAAC;IAiBlC,CAAC;CAAA;AAxBD,4DAwBC;AAjBC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;iEACmB;AAQhC;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;kEACY;AAQzB;IAFC,IAAA,0BAAQ,GAAE;IACV,IAAA,4BAAU,GAAE;;qEACe;AAG9B,MAAa,wBAAwB;CAIpC;AAJD,4DAIC"}
@@ -5,9 +5,9 @@ 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_request_lifecycle.dto';
8
+ export * from './quote_intent_request_lifecycle.dto';
9
9
  export * from './quote_request.dto';
10
- export * from './quote_response_lifecycle.dto';
10
+ export * from './quote_intent_response_lifecycle.dto';
11
11
  export * from './quote_response.dto';
12
12
  export * from './quote_selected_intents_request.dto';
13
13
  export * from './quote_selected_intents_resposne.dto';
@@ -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,+BAA+B,CAAC;AAC9C,cAAc,qBAAqB,CAAC;AAEpC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AAErC,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AAErD,cAAc,aAAa,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,sCAAsC,CAAC;AACrD,cAAc,qBAAqB,CAAC;AAEpC,cAAc,uCAAuC,CAAC;AACtD,cAAc,sBAAsB,CAAC;AAErC,cAAc,sCAAsC,CAAC;AACrD,cAAc,uCAAuC,CAAC;AAEtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,sCAAsC,CAAC;AAErD,cAAc,aAAa,CAAC"}
@@ -21,9 +21,9 @@ __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_request_lifecycle.dto"), exports);
24
+ __exportStar(require("./quote_intent_request_lifecycle.dto"), exports);
25
25
  __exportStar(require("./quote_request.dto"), exports);
26
- __exportStar(require("./quote_response_lifecycle.dto"), exports);
26
+ __exportStar(require("./quote_intent_response_lifecycle.dto"), exports);
27
27
  __exportStar(require("./quote_response.dto"), exports);
28
28
  __exportStar(require("./quote_selected_intents_request.dto"), exports);
29
29
  __exportStar(require("./quote_selected_intents_resposne.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;AAC3D,2GAAyF;AAEzF,6DAA2C;AAC3C,8DAA4C;AAE5C,gEAA8C;AAC9C,sDAAoC;AAEpC,iEAA+C;AAC/C,uDAAqC;AAErC,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;AAC3D,2GAAyF;AAEzF,6DAA2C;AAC3C,8DAA4C;AAE5C,uEAAqD;AACrD,sDAAoC;AAEpC,wEAAsD;AACtD,uDAAqC;AAErC,uEAAqD;AACrD,wEAAsD;AAEtD,sEAAoD;AACpD,uEAAqD;AAErD,8CAA4B"}
@@ -1,6 +1,27 @@
1
1
  import { IntentType } from '../../../../../common';
2
2
  import { SelectionStatus } from '../../enums';
3
3
  export declare class QuoteBaseIntentResponseDto {
4
+ constructor(partial: Partial<QuoteBaseIntentResponseDto>);
5
+ static from<T extends {
6
+ id?: string;
7
+ intentType: IntentType;
8
+ intentRequestId: string;
9
+ initiationExpiry?: Date;
10
+ redeemExpiry?: Date;
11
+ solverId?: string;
12
+ selectionStatus?: SelectionStatus;
13
+ amount: string;
14
+ }>(obj: T): QuoteBaseIntentResponseDto;
15
+ static listFrom<T extends {
16
+ id?: string;
17
+ intentType: IntentType;
18
+ intentRequestId: string;
19
+ initiationExpiry?: Date;
20
+ redeemExpiry?: Date;
21
+ solverId?: string;
22
+ selectionStatus?: SelectionStatus;
23
+ amount: string;
24
+ }>(objs: T[]): QuoteBaseIntentResponseDto[];
4
25
  id?: string;
5
26
  /**
6
27
  * @description Type of intent request
@@ -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,EAAE,MAAM,uBAAuB,CAAC;AACnD,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,qBAAa,0BAA0B;IAErC,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;CAClE"}
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,aAAa,CAAC;AAE9C,qBAAa,0BAA0B;gBACzB,OAAO,EAAE,OAAO,CAAC,0BAA0B,CAAC;WAI1C,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,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,CAAC,EAAE,MAAM,CAAC;QACZ,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;CAClE"}
@@ -14,8 +14,15 @@ const class_validator_1 = require("class-validator");
14
14
  const common_1 = require("../../../../../common");
15
15
  const enums_1 = require("../../enums");
16
16
  class QuoteBaseIntentResponseDto {
17
- constructor() {
17
+ constructor(partial) {
18
18
  this.selectionStatus = enums_1.SelectionStatus.NOT_SELECTED;
19
+ Object.assign(this, partial);
20
+ }
21
+ static from(obj) {
22
+ return new QuoteBaseIntentResponseDto(obj);
23
+ }
24
+ static listFrom(objs) {
25
+ return (0, common_1.makeList)(objs, QuoteBaseIntentResponseDto.from);
19
26
  }
20
27
  }
21
28
  exports.QuoteBaseIntentResponseDto = QuoteBaseIntentResponseDto;
@@ -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,kDAAmD;AACnD,uCAA8C;AAE9C,MAAa,0BAA0B;IAAvC;QAwCE,oBAAe,GAAqB,uBAAe,CAAC,YAAY,CAAC;IACnE,CAAC;CAAA;AAzCD,gEAyCC;AAvCC;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
+ {"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,uCAA8C;AAE9C,MAAa,0BAA0B;IACrC,YAAY,OAA4C;QAyExD,oBAAe,GAAqB,uBAAe,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;CA0CF;AA3ED,gEA2EC;AAvCC;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,5 +1,28 @@
1
1
  import { QuoteBaseIntentResponseDto } from './quote_base_intent_response.dto';
2
+ import { IntentType } from '../../../../../common';
3
+ import { SelectionStatus } from '../../enums';
2
4
  export declare class QuoteBridgeIntentResponseDto extends QuoteBaseIntentResponseDto {
5
+ constructor(partial: Partial<QuoteBridgeIntentResponseDto>);
6
+ static from<T extends {
7
+ id?: string;
8
+ intentType: IntentType;
9
+ intentRequestId: string;
10
+ initiationExpiry?: Date;
11
+ redeemExpiry?: Date;
12
+ solverId?: string;
13
+ selectionStatus?: SelectionStatus;
14
+ amount: string;
15
+ }>(obj: T): QuoteBridgeIntentResponseDto;
16
+ static listFrom<T extends {
17
+ id?: string;
18
+ intentType: IntentType;
19
+ intentRequestId: string;
20
+ initiationExpiry?: Date;
21
+ redeemExpiry?: Date;
22
+ solverId?: string;
23
+ selectionStatus?: SelectionStatus;
24
+ amount: string;
25
+ }>(objs: T[]): QuoteBridgeIntentResponseDto[];
3
26
  /**
4
27
  * @example '10000'
5
28
  * @description Solver response amount of destination token
@@ -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;AAE9E,qBAAa,4BAA6B,SAAQ,0BAA0B;IAC1E;;;OAGG;IAGH,MAAM,EAAE,MAAM,CAAC;CAChB"}
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;AAC9E,OAAO,EAAE,UAAU,EAAY,MAAM,uBAAuB,CAAC;AAC7D,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAE9C,qBAAa,4BAA6B,SAAQ,0BAA0B;gBAE9D,OAAO,EAAE,OAAO,CAAC,4BAA4B,CAAC;WAK5C,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,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,4BAA4B;IAIvC,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,EAAE,CAAC,EAAE,MAAM,CAAC;QACZ,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,4BAA4B,EAAE;IAI5C;;;OAGG;IAGH,MAAM,EAAE,MAAM,CAAC;CAChB"}
@@ -12,7 +12,18 @@ Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.QuoteBridgeIntentResponseDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
14
  const quote_base_intent_response_dto_1 = require("./quote_base_intent_response.dto");
15
+ const common_1 = require("../../../../../common");
15
16
  class QuoteBridgeIntentResponseDto extends quote_base_intent_response_dto_1.QuoteBaseIntentResponseDto {
17
+ constructor(partial) {
18
+ super(partial);
19
+ Object.assign(this, partial);
20
+ }
21
+ static from(obj) {
22
+ return new QuoteBridgeIntentResponseDto(obj);
23
+ }
24
+ static listFrom(objs) {
25
+ return (0, common_1.makeList)(objs, QuoteBridgeIntentResponseDto.from);
26
+ }
16
27
  }
17
28
  exports.QuoteBridgeIntentResponseDto = QuoteBridgeIntentResponseDto;
18
29
  __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,qFAA8E;AAE9E,MAAa,4BAA6B,SAAQ,2DAA0B;CAQ3E;AARD,oEAQC;AADC;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,qDAAuD;AACvD,qFAA8E;AAC9E,kDAA6D;AAG7D,MAAa,4BAA6B,SAAQ,2DAA0B;IAE1E,YAAY,OAA8C;QACxD,KAAK,CAAC,OAAO,CAAC,CAAA;QACd,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,IAAI,CAWhB,GAAM;QACN,OAAO,IAAI,4BAA4B,CAAC,GAAG,CAAC,CAAC;IAC/C,CAAC;IAED,MAAM,CAAC,QAAQ,CAWb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,4BAA4B,CAAC,IAAI,CAAC,CAAC;IAC3D,CAAC;CASF;AA5CD,oEA4CC;AADC;IAFC,IAAA,4BAAU,GAAE;IACZ,IAAA,0BAAQ,GAAE;;4DACI"}
@@ -0,0 +1,51 @@
1
+ import { QuoteIntentRequestLifecycleStage, QuoteIntentRequestLifecycleState, QuoteIntentRequestLifecycleStatus } from '../../enums';
2
+ export declare class QuoteIntentRequestLifecycleDto {
3
+ constructor(partial: Partial<QuoteIntentRequestLifecycleDto>);
4
+ static from<T extends {
5
+ id: string;
6
+ ownerId: string;
7
+ stage: QuoteIntentRequestLifecycleStage;
8
+ state: QuoteIntentRequestLifecycleState;
9
+ status: QuoteIntentRequestLifecycleStatus;
10
+ metadata?: Record<string, any>;
11
+ }>(obj: T): QuoteIntentRequestLifecycleDto;
12
+ static listFrom<T extends {
13
+ id: string;
14
+ ownerId: string;
15
+ stage: QuoteIntentRequestLifecycleStage;
16
+ state: QuoteIntentRequestLifecycleState;
17
+ status: QuoteIntentRequestLifecycleStatus;
18
+ metadata?: Record<string, any>;
19
+ }>(objs: T[]): QuoteIntentRequestLifecycleDto[];
20
+ /**
21
+ * @description The unique identifier for the quote request lifecycle
22
+ * @example '1a2b3c4d'
23
+ */
24
+ id: string;
25
+ /**
26
+ * @description The unique identifier for the quote request
27
+ * @example '5f6g7h8i'
28
+ */
29
+ ownerId: string;
30
+ /**
31
+ * @description The stage of the quote request lifecycle
32
+ * @example 'initial'
33
+ */
34
+ stage: QuoteIntentRequestLifecycleStage;
35
+ /**
36
+ * @description The state of the quote request lifecycle
37
+ * @example 'pending'
38
+ */
39
+ state: QuoteIntentRequestLifecycleState;
40
+ /**
41
+ * @description The status of the quote request lifecycle
42
+ * @example 'active'
43
+ */
44
+ status: QuoteIntentRequestLifecycleStatus;
45
+ /**
46
+ * @description Optional metadata related to the lifecycle
47
+ * @example { "key": "value" }
48
+ */
49
+ metadata?: Record<string, any>;
50
+ }
51
+ //# sourceMappingURL=quote_intent_request_lifecycle.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_intent_request_lifecycle.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.ts"],"names":[],"mappings":"AACA,OAAO,EACL,gCAAgC,EAChC,gCAAgC,EAChC,iCAAiC,EAClC,MAAM,aAAa,CAAC;AACrB,qBAAa,8BAA8B;gBAC7B,OAAO,EAAE,OAAO,CAAC,8BAA8B,CAAC;WAI9C,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,gCAAgC,CAAC;QACxC,KAAK,EAAE,gCAAgC,CAAC;QACxC,MAAM,EAAE,iCAAiC,CAAC;QAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAChC,EACD,GAAG,EAAE,CAAC,GAAG,8BAA8B;IAKzC,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,gCAAgC,CAAC;QACxC,KAAK,EAAE,gCAAgC,CAAC;QACxC,MAAM,EAAE,iCAAiC,CAAC;QAC1C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAChC,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,8BAA8B,EAAE;IAI9C;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,KAAK,EAAE,gCAAgC,CAAC;IAExC;;;OAGG;IACH,KAAK,EAAE,gCAAgC,CAAC;IAExC;;;OAGG;IACH,MAAM,EAAE,iCAAiC,CAAC;IAE1C;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QuoteIntentRequestLifecycleDto = void 0;
4
+ const common_1 = require("../../../../../common");
5
+ class QuoteIntentRequestLifecycleDto {
6
+ constructor(partial) {
7
+ Object.assign(this, partial);
8
+ }
9
+ static from(obj) {
10
+ const dto = new QuoteIntentRequestLifecycleDto(obj);
11
+ return dto;
12
+ }
13
+ static listFrom(objs) {
14
+ return (0, common_1.makeList)(objs, QuoteIntentRequestLifecycleDto.from);
15
+ }
16
+ }
17
+ exports.QuoteIntentRequestLifecycleDto = QuoteIntentRequestLifecycleDto;
18
+ //# sourceMappingURL=quote_intent_request_lifecycle.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_intent_request_lifecycle.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.ts"],"names":[],"mappings":";;;AAAA,kDAAiD;AAMjD,MAAa,8BAA8B;IACzC,YAAY,OAAgD;QAC1D,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,IAAI,CAShB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,8BAA8B,CAAC,GAAG,CAAC,CAAC;QACpD,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,QAAQ,CASb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,8BAA8B,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC;CAqCF;AAnED,wEAmEC"}
@@ -0,0 +1,51 @@
1
+ import { QuoteIntentResponseLifecycleStage, QuoteIntentResponseLifecycleState, QuoteIntentResponseLifecycleStatus } from '../../enums';
2
+ export declare class QuoteIntentResponseLifecycleDto {
3
+ constructor(partial: Partial<QuoteIntentResponseLifecycleDto>);
4
+ static from<T extends {
5
+ id: string;
6
+ ownerId: string;
7
+ stage: QuoteIntentResponseLifecycleStage;
8
+ state: QuoteIntentResponseLifecycleState;
9
+ status: QuoteIntentResponseLifecycleStatus;
10
+ metadata?: Record<string, any>;
11
+ }>(obj: T): QuoteIntentResponseLifecycleDto;
12
+ static listFrom<T extends {
13
+ id: string;
14
+ ownerId: string;
15
+ stage: QuoteIntentResponseLifecycleStage;
16
+ state: QuoteIntentResponseLifecycleState;
17
+ status: QuoteIntentResponseLifecycleStatus;
18
+ metadata?: Record<string, any>;
19
+ }>(objs: T[]): QuoteIntentResponseLifecycleDto[];
20
+ /**
21
+ * @description Unique identifier for the quote response lifecycle
22
+ * @example '1a2b3c4d'
23
+ */
24
+ id: string;
25
+ /**
26
+ * @description Unique identifier for the quote response
27
+ * @example '5f6g7h8i'
28
+ */
29
+ ownerId: string;
30
+ /**
31
+ * @description The stage of the quote response lifecycle
32
+ * @example 'initial'
33
+ */
34
+ stage: QuoteIntentResponseLifecycleStage;
35
+ /**
36
+ * @description The state of the quote response lifecycle
37
+ * @example 'pending'
38
+ */
39
+ state: QuoteIntentResponseLifecycleState;
40
+ /**
41
+ * @description The status of the quote response lifecycle
42
+ * @example 'active'
43
+ */
44
+ status: QuoteIntentResponseLifecycleStatus;
45
+ /**
46
+ * @description Optional metadata related to the lifecycle
47
+ * @example { "key": "value" }
48
+ */
49
+ metadata?: Record<string, any>;
50
+ }
51
+ //# sourceMappingURL=quote_intent_response_lifecycle.dto.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_intent_response_lifecycle.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,iCAAiC,EACjC,iCAAiC,EACjC,kCAAkC,EACnC,MAAM,aAAa,CAAC;AAGrB,qBAAa,+BAA+B;gBAC9B,OAAO,EAAE,OAAO,CAAC,+BAA+B,CAAC;WAI/C,IAAI,CAChB,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,iCAAiC,CAAC;QACzC,KAAK,EAAE,iCAAiC,CAAC;QACzC,MAAM,EAAE,kCAAkC,CAAC;QAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAChC,EACD,GAAG,EAAE,CAAC,GAAG,+BAA+B;IAK1C,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,EAAE,EAAE,MAAM,CAAC;QACX,OAAO,EAAE,MAAM,CAAC;QAChB,KAAK,EAAE,iCAAiC,CAAC;QACzC,KAAK,EAAE,iCAAiC,CAAC;QACzC,MAAM,EAAE,kCAAkC,CAAC;QAC3C,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;KAChC,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,+BAA+B,EAAE;IAI/C;;;OAGG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;OAGG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;OAGG;IACH,KAAK,EAAE,iCAAiC,CAAC;IAEzC;;;OAGG;IACH,KAAK,EAAE,iCAAiC,CAAC;IAEzC;;;OAGG;IACH,MAAM,EAAE,kCAAkC,CAAC;IAE3C;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAC;CAChC"}
@@ -0,0 +1,18 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QuoteIntentResponseLifecycleDto = void 0;
4
+ const common_1 = require("../../../../../common");
5
+ class QuoteIntentResponseLifecycleDto {
6
+ constructor(partial) {
7
+ Object.assign(this, partial);
8
+ }
9
+ static from(obj) {
10
+ const dto = new QuoteIntentResponseLifecycleDto(obj);
11
+ return dto;
12
+ }
13
+ static listFrom(objs) {
14
+ return (0, common_1.makeList)(objs, QuoteIntentResponseLifecycleDto.from);
15
+ }
16
+ }
17
+ exports.QuoteIntentResponseLifecycleDto = QuoteIntentResponseLifecycleDto;
18
+ //# sourceMappingURL=quote_intent_response_lifecycle.dto.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_intent_response_lifecycle.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.ts"],"names":[],"mappings":";;;AAKA,kDAAiD;AAEjD,MAAa,+BAA+B;IAC1C,YAAY,OAAiD;QAC3D,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;IAEM,MAAM,CAAC,IAAI,CAShB,GAAM;QACN,MAAM,GAAG,GAAG,IAAI,+BAA+B,CAAC,GAAG,CAAC,CAAC;QACrD,OAAO,GAAG,CAAC;IACb,CAAC;IAED,MAAM,CAAC,QAAQ,CASb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,+BAA+B,CAAC,IAAI,CAAC,CAAC;IAC9D,CAAC;CAqCF;AAnED,0EAmEC"}
@@ -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;IAC1B;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IAEH,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;IAE1B;;;OAGG;IAEH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB;;;OAGG;IAEH,cAAc,EAAE,sBAAsB,EAAE,CAAC;CAC1C"}
@@ -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,qDAAoD;AAGpD,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;CAe3B;AAfD,0CAeC;AARC;IADC,IAAA,0BAAQ,GAAE;;iDACO;AAOlB;IADC,IAAA,yBAAO,GAAE;;uDAC+B"}
@@ -1,5 +1,20 @@
1
1
  import { QuoteIntentResponseDto } from './quote_intent_response.dto';
2
2
  export declare class QuoteResponseDto {
3
+ constructor(partial: Partial<QuoteResponseDto>);
4
+ static from<T extends {
5
+ intentResponses: QuoteIntentResponseDto[];
6
+ initiationExpiry?: Date;
7
+ redeemExpiry?: Date;
8
+ feeEstimate?: string;
9
+ quoteRequestId?: string;
10
+ }>(obj: T): QuoteResponseDto;
11
+ static listFrom<T extends {
12
+ intentResponses: QuoteIntentResponseDto[];
13
+ initiationExpiry?: Date;
14
+ redeemExpiry?: Date;
15
+ feeEstimate?: string;
16
+ quoteRequestId?: string;
17
+ }>(objs: T[]): QuoteResponseDto[];
3
18
  /**
4
19
  * @description An array of intent responses that correspond to the quote. Each response contains details of the quote intent.
5
20
  * @example [
@@ -20,6 +35,11 @@ export declare class QuoteResponseDto {
20
35
  * ]
21
36
  */
22
37
  intentResponses: QuoteIntentResponseDto[];
38
+ /**
39
+ * @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.
40
+ * @example 5000000000000000 (for a fee estimate of 0.005 ETH)
41
+ */
42
+ feeEstimate?: string;
23
43
  /**
24
44
  * @description Expiry date of initiation
25
45
  */
@@ -28,11 +48,6 @@ export declare class QuoteResponseDto {
28
48
  * @description Expiry date of redemption
29
49
  */
30
50
  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;
36
51
  quoteRequestId?: string;
37
52
  }
38
53
  //# 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;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,CAAC,EAAE,MAAM,CAAC;IAGrB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
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;AAIrE,qBAAa,gBAAgB;gBACf,OAAO,EAAE,OAAO,CAAC,gBAAgB,CAAC;WAehC,IAAI,CAChB,CAAC,SAAS;QACR,eAAe,EAAE,sBAAsB,EAAE,CAAC;QAC1C,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,EACD,GAAG,EAAE,CAAC,GAAG,gBAAgB;IAI3B,MAAM,CAAC,QAAQ,CACb,CAAC,SAAS;QACR,eAAe,EAAE,sBAAsB,EAAE,CAAC;QAC1C,gBAAgB,CAAC,EAAE,IAAI,CAAC;QACxB,YAAY,CAAC,EAAE,IAAI,CAAC;QACpB,WAAW,CAAC,EAAE,MAAM,CAAC;QACrB,cAAc,CAAC,EAAE,MAAM,CAAC;KACzB,EACD,IAAI,EAAE,CAAC,EAAE,GAAG,gBAAgB,EAAE;IAIhC;;;;;;;;;;;;;;;;;;OAkBG;IACH,eAAe,EAAE,sBAAsB,EAAE,CAAC;IAE1C;;;OAGG;IAEH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IAEH,gBAAgB,CAAC,EAAE,IAAI,CAAC;IAExB;;OAEG;IAEH,YAAY,CAAC,EAAE,IAAI,CAAC;IAGpB,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB"}
@@ -11,13 +11,35 @@ var __metadata = (this && this.__metadata) || function (k, v) {
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
12
  exports.QuoteResponseDto = void 0;
13
13
  const class_validator_1 = require("class-validator");
14
+ const common_1 = require("../../../../../common");
15
+ const quote_bridge_intent_response_dto_1 = require("./quote_bridge_intent_response.dto");
14
16
  class QuoteResponseDto {
17
+ constructor(partial) {
18
+ Object.assign(this, partial);
19
+ if (partial.intentResponses && partial.intentResponses.length > 0) {
20
+ for (let i = 0; i < partial.intentResponses.length; i++) {
21
+ this.intentResponses = [];
22
+ if (partial.intentResponses[i] instanceof quote_bridge_intent_response_dto_1.QuoteBridgeIntentResponseDto) {
23
+ this.intentResponses[i] = new quote_bridge_intent_response_dto_1.QuoteBridgeIntentResponseDto(partial.intentResponses[i]);
24
+ }
25
+ }
26
+ }
27
+ else {
28
+ this.intentResponses = [];
29
+ }
30
+ }
31
+ static from(obj) {
32
+ return new QuoteResponseDto(obj);
33
+ }
34
+ static listFrom(objs) {
35
+ return (0, common_1.makeList)(objs, QuoteResponseDto.from);
36
+ }
15
37
  }
16
38
  exports.QuoteResponseDto = QuoteResponseDto;
17
39
  __decorate([
18
- (0, class_validator_1.IsArray)(),
19
- __metadata("design:type", Array)
20
- ], QuoteResponseDto.prototype, "intentResponses", void 0);
40
+ (0, class_validator_1.IsString)(),
41
+ __metadata("design:type", String)
42
+ ], QuoteResponseDto.prototype, "feeEstimate", void 0);
21
43
  __decorate([
22
44
  (0, class_validator_1.IsDate)(),
23
45
  __metadata("design:type", Date)
@@ -26,10 +48,6 @@ __decorate([
26
48
  (0, class_validator_1.IsDate)(),
27
49
  __metadata("design:type", Date)
28
50
  ], QuoteResponseDto.prototype, "redeemExpiry", void 0);
29
- __decorate([
30
- (0, class_validator_1.IsString)(),
31
- __metadata("design:type", String)
32
- ], QuoteResponseDto.prototype, "feeEstimate", void 0);
33
51
  __decorate([
34
52
  (0, class_validator_1.IsUUID)(),
35
53
  __metadata("design:type", String)
@@ -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,qDAAgF;AAGhF,MAAa,gBAAgB;CA4C5B;AA5CD,4CA4CC;AAvBC;IADC,IAAA,yBAAO,GAAE;;yDACgC;AAM1C;IADC,IAAA,wBAAM,GAAE;8BACU,IAAI;0DAAC;AAMxB;IADC,IAAA,wBAAM,GAAE;8BACM,IAAI;sDAAC;AAOpB;IADC,IAAA,0BAAQ,GAAE;;qDACU;AAGrB;IADC,IAAA,wBAAM,GAAE;;wDACe"}
1
+ {"version":3,"file":"quote_response.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_response.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAAgF;AAEhF,kDAAiD;AACjD,yFAAkF;AAElF,MAAa,gBAAgB;IAC3B,YAAY,OAAkC;QAC5C,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;QAE7B,IAAI,OAAO,CAAC,eAAe,IAAI,OAAO,CAAC,eAAe,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC;YAClE,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,OAAO,CAAC,eAAe,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;gBACxD,IAAI,CAAC,eAAe,GAAG,EAAE,CAAA;gBACzB,IAAI,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,YAAY,+DAA4B,EAAE,CAAC;oBACvE,IAAI,CAAC,eAAe,CAAC,CAAC,CAAC,GAAG,IAAI,+DAA4B,CAAC,OAAO,CAAC,eAAe,CAAC,CAAC,CAAC,CAAC,CAAA;gBACxF,CAAC;YACH,CAAC;QACH,CAAC;aAAM,CAAC;YACN,IAAI,CAAC,eAAe,GAAG,EAAE,CAAA;QAC3B,CAAC;IACH,CAAC;IAEM,MAAM,CAAC,IAAI,CAQhB,GAAM;QACN,OAAO,IAAI,gBAAgB,CAAC,GAAG,CAAC,CAAC;IACnC,CAAC;IAED,MAAM,CAAC,QAAQ,CAQb,IAAS;QACT,OAAO,IAAA,iBAAQ,EAAC,IAAI,EAAE,gBAAgB,CAAC,IAAI,CAAC,CAAC;IAC/C,CAAC;CA4CF;AAlFD,4CAkFC;AAhBC;IADC,IAAA,0BAAQ,GAAE;;qDACU;AAMrB;IADC,IAAA,wBAAM,GAAE;8BACU,IAAI;0DAAC;AAMxB;IADC,IAAA,wBAAM,GAAE;8BACM,IAAI;sDAAC;AAGpB;IADC,IAAA,wBAAM,GAAE;;wDACe"}
@@ -1,9 +1,9 @@
1
1
  export * from './quote_affiliate_action.enum';
2
2
  export * from './quote_affiliate_lifecycle.enum';
3
3
  export * from './quote_intent_type.enum';
4
- export * from './quote_request_action.enum';
5
- export * from './quote_request_lifecycle.enum';
6
- export * from './quote_response_action.enum';
7
- export * from './quote_response_lifecycle.enum';
4
+ export * from './quote_intent_request_action.enum';
5
+ export * from './quote_intent_request_lifecycle.enum';
6
+ export * from './quote_intent_response_action.enum';
7
+ export * from './quote_intent_response_lifecycle.enum';
8
8
  export * from './selection_status.enum';
9
9
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,iCAAiC,CAAC;AAChD,cAAc,yBAAyB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,kCAAkC,CAAC;AACjD,cAAc,0BAA0B,CAAC;AACzC,cAAc,oCAAoC,CAAC;AACnD,cAAc,uCAAuC,CAAC;AACtD,cAAc,qCAAqC,CAAC;AACpD,cAAc,wCAAwC,CAAC;AACvD,cAAc,yBAAyB,CAAC"}
@@ -17,9 +17,9 @@ Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./quote_affiliate_action.enum"), exports);
18
18
  __exportStar(require("./quote_affiliate_lifecycle.enum"), exports);
19
19
  __exportStar(require("./quote_intent_type.enum"), exports);
20
- __exportStar(require("./quote_request_action.enum"), exports);
21
- __exportStar(require("./quote_request_lifecycle.enum"), exports);
22
- __exportStar(require("./quote_response_action.enum"), exports);
23
- __exportStar(require("./quote_response_lifecycle.enum"), exports);
20
+ __exportStar(require("./quote_intent_request_action.enum"), exports);
21
+ __exportStar(require("./quote_intent_request_lifecycle.enum"), exports);
22
+ __exportStar(require("./quote_intent_response_action.enum"), exports);
23
+ __exportStar(require("./quote_intent_response_lifecycle.enum"), exports);
24
24
  __exportStar(require("./selection_status.enum"), exports);
25
25
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,mEAAiD;AACjD,2DAAyC;AACzC,8DAA4C;AAC5C,iEAA+C;AAC/C,+DAA6C;AAC7C,kEAAgD;AAChD,0DAAwC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,gEAA8C;AAC9C,mEAAiD;AACjD,2DAAyC;AACzC,qEAAmD;AACnD,wEAAsD;AACtD,sEAAoD;AACpD,yEAAuD;AACvD,0DAAwC"}
@@ -0,0 +1,17 @@
1
+ export declare enum QuoteIntentRequestLifecycleActionType {
2
+ NONE = 1,
3
+ QUOTE_INTENT_REQUEST_CREATE = 2,
4
+ QUOTE_INTENT_REQUEST_ANSWERED = 3,
5
+ QUOTE_INTENT_REQUEST_NOT_ANSWERED = 4,
6
+ QUOTE_INTENT_REQUEST_SOLVER_SELECTION = 5,
7
+ QUOTE_INTENT_REQUEST_INITIATED_TRANSACTION = 6,
8
+ QUOTE_INTENT_REQUEST_TRANSACTION_INITIATION_EXPIRED = 7,
9
+ QUOTE_INTENT_REQUEST_TRANSACTION_CONFIRMED = 8,
10
+ QUOTE_INTENT_REQUEST_TRANSACTION_NOT_CONFIRMED = 9,
11
+ QUOTE_INTENT_REQUEST_SOLVING = 10,
12
+ QUOTE_INTENT_REQUEST_SOLVING_TIMED_OUT = 11,
13
+ QUOTE_INTENT_REQUEST_REFUND_SIGNATURE = 12,
14
+ QUOTE_INTENT_REQUEST_SOLVED = 13,
15
+ QUOTE_INTENT_REQUEST_REFUNDED = 14
16
+ }
17
+ //# sourceMappingURL=quote_intent_request_action.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_intent_request_action.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_intent_request_action.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,qCAAqC;IAC/C,IAAI,IAAI;IACR,2BAA2B,IAAA;IAC3B,6BAA6B,IAAA;IAC7B,iCAAiC,IAAA;IACjC,qCAAqC,IAAA;IACrC,0CAA0C,IAAA;IAC1C,mDAAmD,IAAA;IACnD,0CAA0C,IAAA;IAC1C,8CAA8C,IAAA;IAC9C,4BAA4B,KAAA;IAC5B,sCAAsC,KAAA;IACtC,qCAAqC,KAAA;IACrC,2BAA2B,KAAA;IAC3B,6BAA6B,KAAA;CAC9B"}
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QuoteIntentRequestLifecycleActionType = void 0;
4
+ var QuoteIntentRequestLifecycleActionType;
5
+ (function (QuoteIntentRequestLifecycleActionType) {
6
+ QuoteIntentRequestLifecycleActionType[QuoteIntentRequestLifecycleActionType["NONE"] = 1] = "NONE";
7
+ QuoteIntentRequestLifecycleActionType[QuoteIntentRequestLifecycleActionType["QUOTE_INTENT_REQUEST_CREATE"] = 2] = "QUOTE_INTENT_REQUEST_CREATE";
8
+ QuoteIntentRequestLifecycleActionType[QuoteIntentRequestLifecycleActionType["QUOTE_INTENT_REQUEST_ANSWERED"] = 3] = "QUOTE_INTENT_REQUEST_ANSWERED";
9
+ QuoteIntentRequestLifecycleActionType[QuoteIntentRequestLifecycleActionType["QUOTE_INTENT_REQUEST_NOT_ANSWERED"] = 4] = "QUOTE_INTENT_REQUEST_NOT_ANSWERED";
10
+ QuoteIntentRequestLifecycleActionType[QuoteIntentRequestLifecycleActionType["QUOTE_INTENT_REQUEST_SOLVER_SELECTION"] = 5] = "QUOTE_INTENT_REQUEST_SOLVER_SELECTION";
11
+ QuoteIntentRequestLifecycleActionType[QuoteIntentRequestLifecycleActionType["QUOTE_INTENT_REQUEST_INITIATED_TRANSACTION"] = 6] = "QUOTE_INTENT_REQUEST_INITIATED_TRANSACTION";
12
+ QuoteIntentRequestLifecycleActionType[QuoteIntentRequestLifecycleActionType["QUOTE_INTENT_REQUEST_TRANSACTION_INITIATION_EXPIRED"] = 7] = "QUOTE_INTENT_REQUEST_TRANSACTION_INITIATION_EXPIRED";
13
+ QuoteIntentRequestLifecycleActionType[QuoteIntentRequestLifecycleActionType["QUOTE_INTENT_REQUEST_TRANSACTION_CONFIRMED"] = 8] = "QUOTE_INTENT_REQUEST_TRANSACTION_CONFIRMED";
14
+ QuoteIntentRequestLifecycleActionType[QuoteIntentRequestLifecycleActionType["QUOTE_INTENT_REQUEST_TRANSACTION_NOT_CONFIRMED"] = 9] = "QUOTE_INTENT_REQUEST_TRANSACTION_NOT_CONFIRMED";
15
+ QuoteIntentRequestLifecycleActionType[QuoteIntentRequestLifecycleActionType["QUOTE_INTENT_REQUEST_SOLVING"] = 10] = "QUOTE_INTENT_REQUEST_SOLVING";
16
+ QuoteIntentRequestLifecycleActionType[QuoteIntentRequestLifecycleActionType["QUOTE_INTENT_REQUEST_SOLVING_TIMED_OUT"] = 11] = "QUOTE_INTENT_REQUEST_SOLVING_TIMED_OUT";
17
+ QuoteIntentRequestLifecycleActionType[QuoteIntentRequestLifecycleActionType["QUOTE_INTENT_REQUEST_REFUND_SIGNATURE"] = 12] = "QUOTE_INTENT_REQUEST_REFUND_SIGNATURE";
18
+ QuoteIntentRequestLifecycleActionType[QuoteIntentRequestLifecycleActionType["QUOTE_INTENT_REQUEST_SOLVED"] = 13] = "QUOTE_INTENT_REQUEST_SOLVED";
19
+ QuoteIntentRequestLifecycleActionType[QuoteIntentRequestLifecycleActionType["QUOTE_INTENT_REQUEST_REFUNDED"] = 14] = "QUOTE_INTENT_REQUEST_REFUNDED";
20
+ })(QuoteIntentRequestLifecycleActionType || (exports.QuoteIntentRequestLifecycleActionType = QuoteIntentRequestLifecycleActionType = {}));
21
+ //# sourceMappingURL=quote_intent_request_action.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_intent_request_action.enum.js","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_intent_request_action.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,qCAeX;AAfD,WAAY,qCAAqC;IAC/C,iGAAQ,CAAA;IACR,+IAA2B,CAAA;IAC3B,mJAA6B,CAAA;IAC7B,2JAAiC,CAAA;IACjC,mKAAqC,CAAA;IACrC,6KAA0C,CAAA;IAC1C,+LAAmD,CAAA;IACnD,6KAA0C,CAAA;IAC1C,qLAA8C,CAAA;IAC9C,kJAA4B,CAAA;IAC5B,sKAAsC,CAAA;IACtC,oKAAqC,CAAA;IACrC,gJAA2B,CAAA;IAC3B,oJAA6B,CAAA;AAC/B,CAAC,EAfW,qCAAqC,qDAArC,qCAAqC,QAehD"}
@@ -1,10 +1,10 @@
1
- export declare enum QuoteRequestLifecycleStage {
1
+ export declare enum QuoteIntentRequestLifecycleStage {
2
2
  NONE = 1,
3
3
  ENTRANCE = 2,
4
4
  RETENTION = 3,
5
5
  TERMINATION = 4
6
6
  }
7
- export declare enum QuoteRequestLifecycleState {
7
+ export declare enum QuoteIntentRequestLifecycleState {
8
8
  NONE = 1,
9
9
  CREATION = 2,
10
10
  ESTIMATED = 3,// => success transition of creation
@@ -20,7 +20,7 @@ export declare enum QuoteRequestLifecycleState {
20
20
  SOLVED = 13,// => success transition of solving
21
21
  REFUNDED = 14
22
22
  }
23
- export declare enum QuoteRequestLifecycleStatus {
23
+ export declare enum QuoteIntentRequestLifecycleStatus {
24
24
  NONE = 1,
25
25
  SUCCESS = 2,
26
26
  PENDING = 3,
@@ -28,4 +28,4 @@ export declare enum QuoteRequestLifecycleStatus {
28
28
  FAILURE = 5,
29
29
  IN_PROGRESS = 6
30
30
  }
31
- //# sourceMappingURL=quote_request_lifecycle.enum.d.ts.map
31
+ //# sourceMappingURL=quote_intent_request_lifecycle.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_intent_request_lifecycle.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_intent_request_lifecycle.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,gCAAgC;IAC1C,IAAI,IAAI;IACR,QAAQ,IAAA;IACR,SAAS,IAAA;IACT,WAAW,IAAA;CACZ;AAED,oBAAY,gCAAgC;IAE1C,IAAI,IAAI;IACR,QAAQ,IAAA;IACR,SAAS,IAAA,CAAE,oCAAoC;IAC/C,iBAAiB,IAAA,CAAE,qCAAqC;IACxD,YAAY,IAAA,CAAE,oCAAoC;IAGlD,YAAY,IAAA,CAAE,8OAA8O;IAC5P,OAAO,IAAA,CAAE,4CAA4C;IACrD,iBAAiB,IAAA,CAAE,mCAAmC;IACtD,gBAAgB,IAAA,CAAE,4CAA4C;IAG9D,aAAa,KAAA,CAAE,oCAAoC;IACnD,kBAAkB,KAAA,CAAE,6CAA6C;IACjE,gBAAgB,KAAA,CAAE,wCAAwC;IAC1D,MAAM,KAAA,CAAE,mCAAmC;IAC3C,QAAQ,KAAA;CACT;AAED,oBAAY,iCAAiC;IAC3C,IAAI,IAAI;IACR,OAAO,IAAA;IACP,OAAO,IAAA;IACP,OAAO,IAAA;IACP,OAAO,IAAA;IACP,WAAW,IAAA;CACZ"}