@plutonlabs/sdk 0.0.30-beta → 0.0.32-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 (38) hide show
  1. package/dist/modules/quote/domain/dto/quote/index.d.ts +2 -2
  2. package/dist/modules/quote/domain/dto/quote/index.d.ts.map +1 -1
  3. package/dist/modules/quote/domain/dto/quote/index.js +2 -2
  4. package/dist/modules/quote/domain/dto/quote/index.js.map +1 -1
  5. package/dist/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.d.ts +51 -0
  6. package/dist/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.d.ts.map +1 -0
  7. package/dist/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.js +18 -0
  8. package/dist/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.js.map +1 -0
  9. package/dist/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.d.ts +51 -0
  10. package/dist/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.d.ts.map +1 -0
  11. package/dist/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.js +18 -0
  12. package/dist/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.js.map +1 -0
  13. package/dist/modules/quote/domain/enums/index.d.ts +4 -4
  14. package/dist/modules/quote/domain/enums/index.d.ts.map +1 -1
  15. package/dist/modules/quote/domain/enums/index.js +4 -4
  16. package/dist/modules/quote/domain/enums/index.js.map +1 -1
  17. package/dist/modules/quote/domain/enums/quote_intent_request_action.enum.d.ts +17 -0
  18. package/dist/modules/quote/domain/enums/quote_intent_request_action.enum.d.ts.map +1 -0
  19. package/dist/modules/quote/domain/enums/quote_intent_request_action.enum.js +21 -0
  20. package/dist/modules/quote/domain/enums/quote_intent_request_action.enum.js.map +1 -0
  21. package/dist/modules/quote/domain/enums/quote_intent_request_lifecycle.enum.d.ts +31 -0
  22. package/dist/modules/quote/domain/enums/quote_intent_request_lifecycle.enum.d.ts.map +1 -0
  23. package/dist/modules/quote/domain/enums/quote_intent_request_lifecycle.enum.js +40 -0
  24. package/dist/modules/quote/domain/enums/quote_intent_request_lifecycle.enum.js.map +1 -0
  25. package/dist/modules/quote/domain/enums/quote_intent_response_action.enum.d.ts +12 -0
  26. package/dist/modules/quote/domain/enums/quote_intent_response_action.enum.d.ts.map +1 -0
  27. package/dist/modules/quote/domain/enums/quote_intent_response_action.enum.js +16 -0
  28. package/dist/modules/quote/domain/enums/quote_intent_response_action.enum.js.map +1 -0
  29. package/dist/modules/quote/domain/enums/quote_intent_response_lifecycle.enum.d.ts +26 -0
  30. package/dist/modules/quote/domain/enums/quote_intent_response_lifecycle.enum.d.ts.map +1 -0
  31. package/dist/modules/quote/domain/enums/quote_intent_response_lifecycle.enum.js +35 -0
  32. package/dist/modules/quote/domain/enums/quote_intent_response_lifecycle.enum.js.map +1 -0
  33. package/dist/modules/quote/domain/enums/quote_request_action.enum.d.ts +16 -15
  34. package/dist/modules/quote/domain/enums/quote_request_action.enum.d.ts.map +1 -1
  35. package/dist/modules/quote/domain/enums/quote_request_action.enum.js +20 -19
  36. package/dist/modules/quote/domain/enums/quote_request_action.enum.js.map +1 -1
  37. package/dist/seed/pluton_contracts_seed.json +4 -216
  38. package/package.json +1 -1
@@ -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"}
@@ -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
+ quoteIntentRequestId: 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
+ quoteIntentRequestId: 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
+ quoteIntentRequestId: 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,oBAAoB,EAAE,MAAM,CAAC;QAC7B,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,oBAAoB,EAAE,MAAM,CAAC;QAC7B,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,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;;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
+ quoteIntentResponseId: 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
+ quoteIntentResponseId: 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
+ quoteIntentResponseId: 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,qBAAqB,EAAE,MAAM,CAAC;QAC9B,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,qBAAqB,EAAE,MAAM,CAAC;QAC9B,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,qBAAqB,EAAE,MAAM,CAAC;IAE9B;;;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,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"}
@@ -0,0 +1,31 @@
1
+ export declare enum QuoteIntentRequestLifecycleStage {
2
+ NONE = 1,
3
+ ENTRANCE = 2,
4
+ RETENTION = 3,
5
+ TERMINATION = 4
6
+ }
7
+ export declare enum QuoteIntentRequestLifecycleState {
8
+ NONE = 1,
9
+ CREATION = 2,
10
+ ESTIMATED = 3,// => success transition of creation
11
+ RESPONSE_SELECTED = 4,// => success transition of ESTIMATED
12
+ TX_INITIATED = 5,// => pending transition of answered
13
+ TX_CONFIRMED = 6,// => success transition of tx_initiated, in this state we will move response quote to another state INIT_SOLVING and notify solver if solver responded we will success transition request to solving if not will keep trying to notify solver
14
+ SOLVING = 7,// => in_progress transition of tx_confirmed
15
+ SOLVING_TIMED_OUT = 8,// => expired transition of solving
16
+ REFUND_SIGNATURE = 9,// => pending transition of solving_timedout
17
+ NO_ESTIMATION = 10,// => failure transition of creation
18
+ INITIATION_EXPIRED = 11,// => expired transition of RESPONSE_SELECTED
19
+ TX_NOT_CONFIRMED = 12,// => failure transition of tx_initiated
20
+ SOLVED = 13,// => success transition of solving
21
+ REFUNDED = 14
22
+ }
23
+ export declare enum QuoteIntentRequestLifecycleStatus {
24
+ NONE = 1,
25
+ SUCCESS = 2,
26
+ PENDING = 3,
27
+ EXPIRED = 4,
28
+ FAILURE = 5,
29
+ IN_PROGRESS = 6
30
+ }
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"}
@@ -0,0 +1,40 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QuoteIntentRequestLifecycleStatus = exports.QuoteIntentRequestLifecycleState = exports.QuoteIntentRequestLifecycleStage = void 0;
4
+ var QuoteIntentRequestLifecycleStage;
5
+ (function (QuoteIntentRequestLifecycleStage) {
6
+ QuoteIntentRequestLifecycleStage[QuoteIntentRequestLifecycleStage["NONE"] = 1] = "NONE";
7
+ QuoteIntentRequestLifecycleStage[QuoteIntentRequestLifecycleStage["ENTRANCE"] = 2] = "ENTRANCE";
8
+ QuoteIntentRequestLifecycleStage[QuoteIntentRequestLifecycleStage["RETENTION"] = 3] = "RETENTION";
9
+ QuoteIntentRequestLifecycleStage[QuoteIntentRequestLifecycleStage["TERMINATION"] = 4] = "TERMINATION";
10
+ })(QuoteIntentRequestLifecycleStage || (exports.QuoteIntentRequestLifecycleStage = QuoteIntentRequestLifecycleStage = {}));
11
+ var QuoteIntentRequestLifecycleState;
12
+ (function (QuoteIntentRequestLifecycleState) {
13
+ // entrance stage
14
+ QuoteIntentRequestLifecycleState[QuoteIntentRequestLifecycleState["NONE"] = 1] = "NONE";
15
+ QuoteIntentRequestLifecycleState[QuoteIntentRequestLifecycleState["CREATION"] = 2] = "CREATION";
16
+ QuoteIntentRequestLifecycleState[QuoteIntentRequestLifecycleState["ESTIMATED"] = 3] = "ESTIMATED";
17
+ QuoteIntentRequestLifecycleState[QuoteIntentRequestLifecycleState["RESPONSE_SELECTED"] = 4] = "RESPONSE_SELECTED";
18
+ QuoteIntentRequestLifecycleState[QuoteIntentRequestLifecycleState["TX_INITIATED"] = 5] = "TX_INITIATED";
19
+ // retention stage
20
+ QuoteIntentRequestLifecycleState[QuoteIntentRequestLifecycleState["TX_CONFIRMED"] = 6] = "TX_CONFIRMED";
21
+ QuoteIntentRequestLifecycleState[QuoteIntentRequestLifecycleState["SOLVING"] = 7] = "SOLVING";
22
+ QuoteIntentRequestLifecycleState[QuoteIntentRequestLifecycleState["SOLVING_TIMED_OUT"] = 8] = "SOLVING_TIMED_OUT";
23
+ QuoteIntentRequestLifecycleState[QuoteIntentRequestLifecycleState["REFUND_SIGNATURE"] = 9] = "REFUND_SIGNATURE";
24
+ // termination stage
25
+ QuoteIntentRequestLifecycleState[QuoteIntentRequestLifecycleState["NO_ESTIMATION"] = 10] = "NO_ESTIMATION";
26
+ QuoteIntentRequestLifecycleState[QuoteIntentRequestLifecycleState["INITIATION_EXPIRED"] = 11] = "INITIATION_EXPIRED";
27
+ QuoteIntentRequestLifecycleState[QuoteIntentRequestLifecycleState["TX_NOT_CONFIRMED"] = 12] = "TX_NOT_CONFIRMED";
28
+ QuoteIntentRequestLifecycleState[QuoteIntentRequestLifecycleState["SOLVED"] = 13] = "SOLVED";
29
+ QuoteIntentRequestLifecycleState[QuoteIntentRequestLifecycleState["REFUNDED"] = 14] = "REFUNDED";
30
+ })(QuoteIntentRequestLifecycleState || (exports.QuoteIntentRequestLifecycleState = QuoteIntentRequestLifecycleState = {}));
31
+ var QuoteIntentRequestLifecycleStatus;
32
+ (function (QuoteIntentRequestLifecycleStatus) {
33
+ QuoteIntentRequestLifecycleStatus[QuoteIntentRequestLifecycleStatus["NONE"] = 1] = "NONE";
34
+ QuoteIntentRequestLifecycleStatus[QuoteIntentRequestLifecycleStatus["SUCCESS"] = 2] = "SUCCESS";
35
+ QuoteIntentRequestLifecycleStatus[QuoteIntentRequestLifecycleStatus["PENDING"] = 3] = "PENDING";
36
+ QuoteIntentRequestLifecycleStatus[QuoteIntentRequestLifecycleStatus["EXPIRED"] = 4] = "EXPIRED";
37
+ QuoteIntentRequestLifecycleStatus[QuoteIntentRequestLifecycleStatus["FAILURE"] = 5] = "FAILURE";
38
+ QuoteIntentRequestLifecycleStatus[QuoteIntentRequestLifecycleStatus["IN_PROGRESS"] = 6] = "IN_PROGRESS";
39
+ })(QuoteIntentRequestLifecycleStatus || (exports.QuoteIntentRequestLifecycleStatus = QuoteIntentRequestLifecycleStatus = {}));
40
+ //# sourceMappingURL=quote_intent_request_lifecycle.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_intent_request_lifecycle.enum.js","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_intent_request_lifecycle.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,gCAKX;AALD,WAAY,gCAAgC;IAC1C,uFAAQ,CAAA;IACR,+FAAQ,CAAA;IACR,iGAAS,CAAA;IACT,qGAAW,CAAA;AACb,CAAC,EALW,gCAAgC,gDAAhC,gCAAgC,QAK3C;AAED,IAAY,gCAoBX;AApBD,WAAY,gCAAgC;IAC1C,iBAAiB;IACjB,uFAAQ,CAAA;IACR,+FAAQ,CAAA;IACR,iGAAS,CAAA;IACT,iHAAiB,CAAA;IACjB,uGAAY,CAAA;IAEZ,kBAAkB;IAClB,uGAAY,CAAA;IACZ,6FAAO,CAAA;IACP,iHAAiB,CAAA;IACjB,+GAAgB,CAAA;IAEhB,oBAAoB;IACpB,0GAAa,CAAA;IACb,oHAAkB,CAAA;IAClB,gHAAgB,CAAA;IAChB,4FAAM,CAAA;IACN,gGAAQ,CAAA;AACV,CAAC,EApBW,gCAAgC,gDAAhC,gCAAgC,QAoB3C;AAED,IAAY,iCAOX;AAPD,WAAY,iCAAiC;IAC3C,yFAAQ,CAAA;IACR,+FAAO,CAAA;IACP,+FAAO,CAAA;IACP,+FAAO,CAAA;IACP,+FAAO,CAAA;IACP,uGAAW,CAAA;AACb,CAAC,EAPW,iCAAiC,iDAAjC,iCAAiC,QAO5C"}
@@ -0,0 +1,12 @@
1
+ export declare enum QuoteIntentResponseLifecycleActionType {
2
+ NONE = 1,
3
+ QUOTE_INTENT_RESPONSE_CREATE = 2,
4
+ QUOTE_INTENT_RESPONSE_NOT_SELECTED = 3,
5
+ QUOTE_INTENT_RESPONSE_SELECTED = 4,
6
+ QUOTE_INTENT_RESPONSE_REQUEST_CANCELED = 5,
7
+ QUOTE_INTENT_RESPONSE_INITIATE_SOLVING = 6,
8
+ QUOTE_INTENT_RESPONSE_SOLVE_VALIDATION = 7,
9
+ QUOTE_INTENT_RESPONSE_FULFILLED = 8,
10
+ QUOTE_INTENT_RESPONSE_TIMED_OUT = 9
11
+ }
12
+ //# sourceMappingURL=quote_intent_response_action.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_intent_response_action.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_intent_response_action.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,sCAAsC;IAChD,IAAI,IAAI;IACR,4BAA4B,IAAA;IAC5B,kCAAkC,IAAA;IAClC,8BAA8B,IAAA;IAC9B,sCAAsC,IAAA;IACtC,sCAAsC,IAAA;IACtC,sCAAsC,IAAA;IACtC,+BAA+B,IAAA;IAC/B,+BAA+B,IAAA;CAChC"}
@@ -0,0 +1,16 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QuoteIntentResponseLifecycleActionType = void 0;
4
+ var QuoteIntentResponseLifecycleActionType;
5
+ (function (QuoteIntentResponseLifecycleActionType) {
6
+ QuoteIntentResponseLifecycleActionType[QuoteIntentResponseLifecycleActionType["NONE"] = 1] = "NONE";
7
+ QuoteIntentResponseLifecycleActionType[QuoteIntentResponseLifecycleActionType["QUOTE_INTENT_RESPONSE_CREATE"] = 2] = "QUOTE_INTENT_RESPONSE_CREATE";
8
+ QuoteIntentResponseLifecycleActionType[QuoteIntentResponseLifecycleActionType["QUOTE_INTENT_RESPONSE_NOT_SELECTED"] = 3] = "QUOTE_INTENT_RESPONSE_NOT_SELECTED";
9
+ QuoteIntentResponseLifecycleActionType[QuoteIntentResponseLifecycleActionType["QUOTE_INTENT_RESPONSE_SELECTED"] = 4] = "QUOTE_INTENT_RESPONSE_SELECTED";
10
+ QuoteIntentResponseLifecycleActionType[QuoteIntentResponseLifecycleActionType["QUOTE_INTENT_RESPONSE_REQUEST_CANCELED"] = 5] = "QUOTE_INTENT_RESPONSE_REQUEST_CANCELED";
11
+ QuoteIntentResponseLifecycleActionType[QuoteIntentResponseLifecycleActionType["QUOTE_INTENT_RESPONSE_INITIATE_SOLVING"] = 6] = "QUOTE_INTENT_RESPONSE_INITIATE_SOLVING";
12
+ QuoteIntentResponseLifecycleActionType[QuoteIntentResponseLifecycleActionType["QUOTE_INTENT_RESPONSE_SOLVE_VALIDATION"] = 7] = "QUOTE_INTENT_RESPONSE_SOLVE_VALIDATION";
13
+ QuoteIntentResponseLifecycleActionType[QuoteIntentResponseLifecycleActionType["QUOTE_INTENT_RESPONSE_FULFILLED"] = 8] = "QUOTE_INTENT_RESPONSE_FULFILLED";
14
+ QuoteIntentResponseLifecycleActionType[QuoteIntentResponseLifecycleActionType["QUOTE_INTENT_RESPONSE_TIMED_OUT"] = 9] = "QUOTE_INTENT_RESPONSE_TIMED_OUT";
15
+ })(QuoteIntentResponseLifecycleActionType || (exports.QuoteIntentResponseLifecycleActionType = QuoteIntentResponseLifecycleActionType = {}));
16
+ //# sourceMappingURL=quote_intent_response_action.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_intent_response_action.enum.js","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_intent_response_action.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,sCAUX;AAVD,WAAY,sCAAsC;IAChD,mGAAQ,CAAA;IACR,mJAA4B,CAAA;IAC5B,+JAAkC,CAAA;IAClC,uJAA8B,CAAA;IAC9B,uKAAsC,CAAA;IACtC,uKAAsC,CAAA;IACtC,uKAAsC,CAAA;IACtC,yJAA+B,CAAA;IAC/B,yJAA+B,CAAA;AACjC,CAAC,EAVW,sCAAsC,sDAAtC,sCAAsC,QAUjD"}
@@ -0,0 +1,26 @@
1
+ export declare enum QuoteIntentResponseLifecycleStage {
2
+ NONE = 1,
3
+ ENTRANCE = 2,
4
+ RETENTION = 3,
5
+ TERMINATION = 4
6
+ }
7
+ export declare enum QuoteIntentResponseLifecycleState {
8
+ NONE = 1,
9
+ CREATION = 2,
10
+ SELECTED = 3,// => success transition of solve creation
11
+ INITIATE_SOLVING = 4,// => in_progress transition of solve selected
12
+ SOLVE_STUDING = 5,// => pending transition of initiate solving
13
+ NOT_SELECTED = 6,// => failure transition of creation
14
+ REQUEST_CANCELED = 7,// => failure transition of selected
15
+ FULFILLED = 8,// => success transition of solve studing
16
+ TIMED_OUT = 9
17
+ }
18
+ export declare enum QuoteIntentResponseLifecycleStatus {
19
+ NONE = 1,
20
+ SUCCESS = 2,
21
+ PENDING = 3,
22
+ EXPIRED = 4,
23
+ FAILURE = 5,
24
+ IN_PROGRESS = 6
25
+ }
26
+ //# sourceMappingURL=quote_intent_response_lifecycle.enum.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_intent_response_lifecycle.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_intent_response_lifecycle.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,iCAAiC;IAC3C,IAAI,IAAI;IACR,QAAQ,IAAA;IACR,SAAS,IAAA;IACT,WAAW,IAAA;CACZ;AAED,oBAAY,iCAAiC;IAE3C,IAAI,IAAI;IACR,QAAQ,IAAA;IACR,QAAQ,IAAA,CAAE,0CAA0C;IAGpD,gBAAgB,IAAA,CAAE,8CAA8C;IAChE,aAAa,IAAA,CAAE,4CAA4C;IAG3D,YAAY,IAAA,CAAE,oCAAoC;IAClD,gBAAgB,IAAA,CAAE,oCAAoC;IACtD,SAAS,IAAA,CAAE,yCAAyC;IACpD,SAAS,IAAA;CACV;AAED,oBAAY,kCAAkC;IAC5C,IAAI,IAAI;IACR,OAAO,IAAA;IACP,OAAO,IAAA;IACP,OAAO,IAAA;IACP,OAAO,IAAA;IACP,WAAW,IAAA;CACZ"}
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QuoteIntentResponseLifecycleStatus = exports.QuoteIntentResponseLifecycleState = exports.QuoteIntentResponseLifecycleStage = void 0;
4
+ var QuoteIntentResponseLifecycleStage;
5
+ (function (QuoteIntentResponseLifecycleStage) {
6
+ QuoteIntentResponseLifecycleStage[QuoteIntentResponseLifecycleStage["NONE"] = 1] = "NONE";
7
+ QuoteIntentResponseLifecycleStage[QuoteIntentResponseLifecycleStage["ENTRANCE"] = 2] = "ENTRANCE";
8
+ QuoteIntentResponseLifecycleStage[QuoteIntentResponseLifecycleStage["RETENTION"] = 3] = "RETENTION";
9
+ QuoteIntentResponseLifecycleStage[QuoteIntentResponseLifecycleStage["TERMINATION"] = 4] = "TERMINATION";
10
+ })(QuoteIntentResponseLifecycleStage || (exports.QuoteIntentResponseLifecycleStage = QuoteIntentResponseLifecycleStage = {}));
11
+ var QuoteIntentResponseLifecycleState;
12
+ (function (QuoteIntentResponseLifecycleState) {
13
+ // entrance stage
14
+ QuoteIntentResponseLifecycleState[QuoteIntentResponseLifecycleState["NONE"] = 1] = "NONE";
15
+ QuoteIntentResponseLifecycleState[QuoteIntentResponseLifecycleState["CREATION"] = 2] = "CREATION";
16
+ QuoteIntentResponseLifecycleState[QuoteIntentResponseLifecycleState["SELECTED"] = 3] = "SELECTED";
17
+ // retention stage
18
+ QuoteIntentResponseLifecycleState[QuoteIntentResponseLifecycleState["INITIATE_SOLVING"] = 4] = "INITIATE_SOLVING";
19
+ QuoteIntentResponseLifecycleState[QuoteIntentResponseLifecycleState["SOLVE_STUDING"] = 5] = "SOLVE_STUDING";
20
+ // termination stage
21
+ QuoteIntentResponseLifecycleState[QuoteIntentResponseLifecycleState["NOT_SELECTED"] = 6] = "NOT_SELECTED";
22
+ QuoteIntentResponseLifecycleState[QuoteIntentResponseLifecycleState["REQUEST_CANCELED"] = 7] = "REQUEST_CANCELED";
23
+ QuoteIntentResponseLifecycleState[QuoteIntentResponseLifecycleState["FULFILLED"] = 8] = "FULFILLED";
24
+ QuoteIntentResponseLifecycleState[QuoteIntentResponseLifecycleState["TIMED_OUT"] = 9] = "TIMED_OUT";
25
+ })(QuoteIntentResponseLifecycleState || (exports.QuoteIntentResponseLifecycleState = QuoteIntentResponseLifecycleState = {}));
26
+ var QuoteIntentResponseLifecycleStatus;
27
+ (function (QuoteIntentResponseLifecycleStatus) {
28
+ QuoteIntentResponseLifecycleStatus[QuoteIntentResponseLifecycleStatus["NONE"] = 1] = "NONE";
29
+ QuoteIntentResponseLifecycleStatus[QuoteIntentResponseLifecycleStatus["SUCCESS"] = 2] = "SUCCESS";
30
+ QuoteIntentResponseLifecycleStatus[QuoteIntentResponseLifecycleStatus["PENDING"] = 3] = "PENDING";
31
+ QuoteIntentResponseLifecycleStatus[QuoteIntentResponseLifecycleStatus["EXPIRED"] = 4] = "EXPIRED";
32
+ QuoteIntentResponseLifecycleStatus[QuoteIntentResponseLifecycleStatus["FAILURE"] = 5] = "FAILURE";
33
+ QuoteIntentResponseLifecycleStatus[QuoteIntentResponseLifecycleStatus["IN_PROGRESS"] = 6] = "IN_PROGRESS";
34
+ })(QuoteIntentResponseLifecycleStatus || (exports.QuoteIntentResponseLifecycleStatus = QuoteIntentResponseLifecycleStatus = {}));
35
+ //# sourceMappingURL=quote_intent_response_lifecycle.enum.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"quote_intent_response_lifecycle.enum.js","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_intent_response_lifecycle.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,iCAKX;AALD,WAAY,iCAAiC;IAC3C,yFAAQ,CAAA;IACR,iGAAQ,CAAA;IACR,mGAAS,CAAA;IACT,uGAAW,CAAA;AACb,CAAC,EALW,iCAAiC,iDAAjC,iCAAiC,QAK5C;AAED,IAAY,iCAeX;AAfD,WAAY,iCAAiC;IAC3C,iBAAiB;IACjB,yFAAQ,CAAA;IACR,iGAAQ,CAAA;IACR,iGAAQ,CAAA;IAER,kBAAkB;IAClB,iHAAgB,CAAA;IAChB,2GAAa,CAAA;IAEb,oBAAoB;IACpB,yGAAY,CAAA;IACZ,iHAAgB,CAAA;IAChB,mGAAS,CAAA;IACT,mGAAS,CAAA;AACX,CAAC,EAfW,iCAAiC,iDAAjC,iCAAiC,QAe5C;AAED,IAAY,kCAOX;AAPD,WAAY,kCAAkC;IAC5C,2FAAQ,CAAA;IACR,iGAAO,CAAA;IACP,iGAAO,CAAA;IACP,iGAAO,CAAA;IACP,iGAAO,CAAA;IACP,yGAAW,CAAA;AACb,CAAC,EAPW,kCAAkC,kDAAlC,kCAAkC,QAO7C"}
@@ -1,16 +1,17 @@
1
- export declare enum QuoteRequestLifecycleActionType {
2
- NONE = 1,
3
- QUOTE_REQUEST_CREATE = 2,
4
- QUOTE_REQUEST_ANSWERED = 3,
5
- QUOTE_REQUEST_NOT_ANSWERED = 4,
6
- QUOTE_REQUEST_INITIATED_TRANSACTION = 5,
7
- QUOTE_REQUEST_TRANSACTION_INITIATION_EXPIRED = 6,
8
- QUOTE_REQUEST_TRANSACTION_CONFIRMED = 7,
9
- QUOTE_REQUEST_TRANSACTION_NOT_CONFIRMED = 8,
10
- QUOTE_REQUEST_SOLVING = 9,
11
- QUOTE_REQUEST_SOLVING_TIMED_OUT = 10,
12
- QUOTE_REQUEST_REFUND_SIGNATURE = 11,
13
- QUOTE_REQUEST_SOLVED = 12,
14
- QUOTE_REQUEST_REFUNDED = 13
15
- }
1
+ export declare enum QuoteRequestLifecycleActionType {
2
+ NONE = 1,
3
+ QUOTE_REQUEST_CREATE = 2,
4
+ QUOTE_REQUEST_ANSWERED = 3,
5
+ QUOTE_REQUEST_NOT_ANSWERED = 4,
6
+ QUOTE_REQUEST_SOLVER_SELECTION = 5,
7
+ QUOTE_REQUEST_INITIATED_TRANSACTION = 6,
8
+ QUOTE_REQUEST_TRANSACTION_INITIATION_EXPIRED = 7,
9
+ QUOTE_REQUEST_TRANSACTION_CONFIRMED = 8,
10
+ QUOTE_REQUEST_TRANSACTION_NOT_CONFIRMED = 9,
11
+ QUOTE_REQUEST_SOLVING = 10,
12
+ QUOTE_REQUEST_SOLVING_TIMED_OUT = 11,
13
+ QUOTE_REQUEST_REFUND_SIGNATURE = 12,
14
+ QUOTE_REQUEST_SOLVED = 13,
15
+ QUOTE_REQUEST_REFUNDED = 14
16
+ }
16
17
  //# sourceMappingURL=quote_request_action.enum.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_request_action.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_request_action.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,+BAA+B;IACzC,IAAI,IAAI;IACR,oBAAoB,IAAA;IACpB,sBAAsB,IAAA;IACtB,0BAA0B,IAAA;IAC1B,mCAAmC,IAAA;IACnC,4CAA4C,IAAA;IAC5C,mCAAmC,IAAA;IACnC,uCAAuC,IAAA;IACvC,qBAAqB,IAAA;IACrB,+BAA+B,KAAA;IAC/B,8BAA8B,KAAA;IAC9B,oBAAoB,KAAA;IACpB,sBAAsB,KAAA;CACvB"}
1
+ {"version":3,"file":"quote_request_action.enum.d.ts","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_request_action.enum.ts"],"names":[],"mappings":"AAAA,oBAAY,+BAA+B;IACzC,IAAI,IAAI;IACR,oBAAoB,IAAA;IACpB,sBAAsB,IAAA;IACtB,0BAA0B,IAAA;IAC1B,8BAA8B,IAAA;IAC9B,mCAAmC,IAAA;IACnC,4CAA4C,IAAA;IAC5C,mCAAmC,IAAA;IACnC,uCAAuC,IAAA;IACvC,qBAAqB,KAAA;IACrB,+BAA+B,KAAA;IAC/B,8BAA8B,KAAA;IAC9B,oBAAoB,KAAA;IACpB,sBAAsB,KAAA;CACvB"}
@@ -1,20 +1,21 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.QuoteRequestLifecycleActionType = void 0;
4
- var QuoteRequestLifecycleActionType;
5
- (function (QuoteRequestLifecycleActionType) {
6
- QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["NONE"] = 1] = "NONE";
7
- QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_CREATE"] = 2] = "QUOTE_REQUEST_CREATE";
8
- QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_ANSWERED"] = 3] = "QUOTE_REQUEST_ANSWERED";
9
- QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_NOT_ANSWERED"] = 4] = "QUOTE_REQUEST_NOT_ANSWERED";
10
- QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_INITIATED_TRANSACTION"] = 5] = "QUOTE_REQUEST_INITIATED_TRANSACTION";
11
- QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_TRANSACTION_INITIATION_EXPIRED"] = 6] = "QUOTE_REQUEST_TRANSACTION_INITIATION_EXPIRED";
12
- QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_TRANSACTION_CONFIRMED"] = 7] = "QUOTE_REQUEST_TRANSACTION_CONFIRMED";
13
- QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_TRANSACTION_NOT_CONFIRMED"] = 8] = "QUOTE_REQUEST_TRANSACTION_NOT_CONFIRMED";
14
- QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_SOLVING"] = 9] = "QUOTE_REQUEST_SOLVING";
15
- QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_SOLVING_TIMED_OUT"] = 10] = "QUOTE_REQUEST_SOLVING_TIMED_OUT";
16
- QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_REFUND_SIGNATURE"] = 11] = "QUOTE_REQUEST_REFUND_SIGNATURE";
17
- QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_SOLVED"] = 12] = "QUOTE_REQUEST_SOLVED";
18
- QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_REFUNDED"] = 13] = "QUOTE_REQUEST_REFUNDED";
19
- })(QuoteRequestLifecycleActionType || (exports.QuoteRequestLifecycleActionType = QuoteRequestLifecycleActionType = {}));
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.QuoteRequestLifecycleActionType = void 0;
4
+ var QuoteRequestLifecycleActionType;
5
+ (function (QuoteRequestLifecycleActionType) {
6
+ QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["NONE"] = 1] = "NONE";
7
+ QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_CREATE"] = 2] = "QUOTE_REQUEST_CREATE";
8
+ QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_ANSWERED"] = 3] = "QUOTE_REQUEST_ANSWERED";
9
+ QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_NOT_ANSWERED"] = 4] = "QUOTE_REQUEST_NOT_ANSWERED";
10
+ QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_SOLVER_SELECTION"] = 5] = "QUOTE_REQUEST_SOLVER_SELECTION";
11
+ QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_INITIATED_TRANSACTION"] = 6] = "QUOTE_REQUEST_INITIATED_TRANSACTION";
12
+ QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_TRANSACTION_INITIATION_EXPIRED"] = 7] = "QUOTE_REQUEST_TRANSACTION_INITIATION_EXPIRED";
13
+ QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_TRANSACTION_CONFIRMED"] = 8] = "QUOTE_REQUEST_TRANSACTION_CONFIRMED";
14
+ QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_TRANSACTION_NOT_CONFIRMED"] = 9] = "QUOTE_REQUEST_TRANSACTION_NOT_CONFIRMED";
15
+ QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_SOLVING"] = 10] = "QUOTE_REQUEST_SOLVING";
16
+ QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_SOLVING_TIMED_OUT"] = 11] = "QUOTE_REQUEST_SOLVING_TIMED_OUT";
17
+ QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_REFUND_SIGNATURE"] = 12] = "QUOTE_REQUEST_REFUND_SIGNATURE";
18
+ QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_SOLVED"] = 13] = "QUOTE_REQUEST_SOLVED";
19
+ QuoteRequestLifecycleActionType[QuoteRequestLifecycleActionType["QUOTE_REQUEST_REFUNDED"] = 14] = "QUOTE_REQUEST_REFUNDED";
20
+ })(QuoteRequestLifecycleActionType || (exports.QuoteRequestLifecycleActionType = QuoteRequestLifecycleActionType = {}));
20
21
  //# sourceMappingURL=quote_request_action.enum.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"quote_request_action.enum.js","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_request_action.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,+BAcX;AAdD,WAAY,+BAA+B;IACzC,qFAAQ,CAAA;IACR,qHAAoB,CAAA;IACpB,yHAAsB,CAAA;IACtB,iIAA0B,CAAA;IAC1B,mJAAmC,CAAA;IACnC,qKAA4C,CAAA;IAC5C,mJAAmC,CAAA;IACnC,2JAAuC,CAAA;IACvC,uHAAqB,CAAA;IACrB,4IAA+B,CAAA;IAC/B,0IAA8B,CAAA;IAC9B,sHAAoB,CAAA;IACpB,0HAAsB,CAAA;AACxB,CAAC,EAdW,+BAA+B,+CAA/B,+BAA+B,QAc1C"}
1
+ {"version":3,"file":"quote_request_action.enum.js","sourceRoot":"","sources":["../../../../../src/modules/quote/domain/enums/quote_request_action.enum.ts"],"names":[],"mappings":";;;AAAA,IAAY,+BAeX;AAfD,WAAY,+BAA+B;IACzC,qFAAQ,CAAA;IACR,qHAAoB,CAAA;IACpB,yHAAsB,CAAA;IACtB,iIAA0B,CAAA;IAC1B,yIAA8B,CAAA;IAC9B,mJAAmC,CAAA;IACnC,qKAA4C,CAAA;IAC5C,mJAAmC,CAAA;IACnC,2JAAuC,CAAA;IACvC,wHAAqB,CAAA;IACrB,4IAA+B,CAAA;IAC/B,0IAA8B,CAAA;IAC9B,sHAAoB,CAAA;IACpB,0HAAsB,CAAA;AACxB,CAAC,EAfW,+BAA+B,+CAA/B,+BAA+B,QAe1C"}
@@ -539,114 +539,8 @@
539
539
  ]
540
540
  },
541
541
  "proxy": {
542
- "address": "0x9498873819b83C144cC7cF824493Ab1dCa29ab3F",
543
- "abi": [
544
- {
545
- "type": "constructor",
546
- "inputs": [
547
- {
548
- "name": "_rangoDiamondAddress",
549
- "type": "address",
550
- "internalType": "address"
551
- },
552
- {
553
- "name": "_plutonContractAddress",
554
- "type": "address",
555
- "internalType": "address"
556
- },
557
- {
558
- "name": "_baseTokenAddress",
559
- "type": "address",
560
- "internalType": "address"
561
- }
562
- ],
563
- "stateMutability": "nonpayable"
564
- },
565
- {
566
- "type": "function",
567
- "name": "baseTokenAddress",
568
- "inputs": [],
569
- "outputs": [
570
- { "name": "", "type": "address", "internalType": "address" }
571
- ],
572
- "stateMutability": "view"
573
- },
574
- {
575
- "type": "function",
576
- "name": "plutonContract",
577
- "inputs": [],
578
- "outputs": [
579
- {
580
- "name": "",
581
- "type": "address",
582
- "internalType": "contract PlutonContract"
583
- }
584
- ],
585
- "stateMutability": "view"
586
- },
587
- {
588
- "type": "function",
589
- "name": "rangoDiamondAddress",
590
- "inputs": [],
591
- "outputs": [
592
- { "name": "", "type": "address", "internalType": "address" }
593
- ],
594
- "stateMutability": "view"
595
- },
596
- {
597
- "type": "function",
598
- "name": "swapAndpluton",
599
- "inputs": [
600
- {
601
- "name": "plutonRequest",
602
- "type": "tuple",
603
- "internalType": "struct IPlutonMiddleware.PlutonRequest",
604
- "components": [
605
- { "name": "id", "type": "bytes", "internalType": "bytes" },
606
- {
607
- "name": "user",
608
- "type": "address",
609
- "internalType": "address"
610
- },
611
- {
612
- "name": "initiationExpiry",
613
- "type": "uint256",
614
- "internalType": "uint256"
615
- },
616
- {
617
- "name": "orderDataType",
618
- "type": "bytes32",
619
- "internalType": "bytes32"
620
- },
621
- {
622
- "name": "orderData",
623
- "type": "bytes",
624
- "internalType": "bytes"
625
- }
626
- ]
627
- },
628
- {
629
- "name": "swapCallData",
630
- "type": "bytes",
631
- "internalType": "bytes"
632
- },
633
- {
634
- "name": "srcTokenAddress",
635
- "type": "address",
636
- "internalType": "address"
637
- },
638
- { "name": "amountIn", "type": "uint256", "internalType": "uint256" }
639
- ],
640
- "outputs": [],
641
- "stateMutability": "payable"
642
- },
643
- { "type": "error", "name": "RangoSwapFailed", "inputs": [] },
644
- {
645
- "type": "error",
646
- "name": "ReentrancyGuardReentrantCall",
647
- "inputs": []
648
- }
649
- ]
542
+ "address": "0x8bC1Aff4D3de49bD9B710c31638d82E502CF4C68",
543
+ "abi": [{ "type": "constructor", "inputs": [{ "name": "_rangoDiamondAddress", "type": "address", "internalType": "address" }, { "name": "_plutonContractAddress", "type": "address", "internalType": "address" }, { "name": "_baseTokenAddress", "type": "address", "internalType": "address" }], "stateMutability": "nonpayable" }, { "type": "function", "name": "baseTokenAddress", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" }, { "type": "function", "name": "plutonContract", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract PlutonContract" }], "stateMutability": "view" }, { "type": "function", "name": "rangoDiamondAddress", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" }, { "type": "function", "name": "swapAndpluton", "inputs": [{ "name": "plutonRequest", "type": "tuple", "internalType": "struct IPlutonMiddleware.PlutonRequest", "components": [{ "name": "id", "type": "bytes", "internalType": "bytes" }, { "name": "user", "type": "address", "internalType": "address" }, { "name": "initiationExpiry", "type": "uint256", "internalType": "uint256" }, { "name": "orderDataType", "type": "bytes32", "internalType": "bytes32" }, { "name": "orderData", "type": "bytes", "internalType": "bytes" }] }, { "name": "srcTokenAddress", "type": "address", "internalType": "address" }, { "name": "amountIn", "type": "uint256", "internalType": "uint256" }, { "name": "swapCallData", "type": "bytes", "internalType": "bytes" }], "outputs": [], "stateMutability": "payable" }, { "type": "error", "name": "RangoSwapFailed", "inputs": [] }, { "type": "error", "name": "ReentrancyGuardReentrantCall", "inputs": [] }]
650
544
  }
651
545
  },
652
546
  {
@@ -1189,114 +1083,8 @@
1189
1083
  ]
1190
1084
  },
1191
1085
  "proxy": {
1192
- "address": "0x94f91bAee51b99689F23b822c1A5003EF2C4B8fe",
1193
- "abi": [
1194
- {
1195
- "type": "constructor",
1196
- "inputs": [
1197
- {
1198
- "name": "_rangoDiamondAddress",
1199
- "type": "address",
1200
- "internalType": "address"
1201
- },
1202
- {
1203
- "name": "_plutonContractAddress",
1204
- "type": "address",
1205
- "internalType": "address"
1206
- },
1207
- {
1208
- "name": "_baseTokenAddress",
1209
- "type": "address",
1210
- "internalType": "address"
1211
- }
1212
- ],
1213
- "stateMutability": "nonpayable"
1214
- },
1215
- {
1216
- "type": "function",
1217
- "name": "baseTokenAddress",
1218
- "inputs": [],
1219
- "outputs": [
1220
- { "name": "", "type": "address", "internalType": "address" }
1221
- ],
1222
- "stateMutability": "view"
1223
- },
1224
- {
1225
- "type": "function",
1226
- "name": "plutonContract",
1227
- "inputs": [],
1228
- "outputs": [
1229
- {
1230
- "name": "",
1231
- "type": "address",
1232
- "internalType": "contract PlutonContract"
1233
- }
1234
- ],
1235
- "stateMutability": "view"
1236
- },
1237
- {
1238
- "type": "function",
1239
- "name": "rangoDiamondAddress",
1240
- "inputs": [],
1241
- "outputs": [
1242
- { "name": "", "type": "address", "internalType": "address" }
1243
- ],
1244
- "stateMutability": "view"
1245
- },
1246
- {
1247
- "type": "function",
1248
- "name": "swapAndpluton",
1249
- "inputs": [
1250
- {
1251
- "name": "plutonRequest",
1252
- "type": "tuple",
1253
- "internalType": "struct IPlutonMiddleware.PlutonRequest",
1254
- "components": [
1255
- { "name": "id", "type": "bytes", "internalType": "bytes" },
1256
- {
1257
- "name": "user",
1258
- "type": "address",
1259
- "internalType": "address"
1260
- },
1261
- {
1262
- "name": "initiationExpiry",
1263
- "type": "uint256",
1264
- "internalType": "uint256"
1265
- },
1266
- {
1267
- "name": "orderDataType",
1268
- "type": "bytes32",
1269
- "internalType": "bytes32"
1270
- },
1271
- {
1272
- "name": "orderData",
1273
- "type": "bytes",
1274
- "internalType": "bytes"
1275
- }
1276
- ]
1277
- },
1278
- {
1279
- "name": "swapCallData",
1280
- "type": "bytes",
1281
- "internalType": "bytes"
1282
- },
1283
- {
1284
- "name": "srcTokenAddress",
1285
- "type": "address",
1286
- "internalType": "address"
1287
- },
1288
- { "name": "amountIn", "type": "uint256", "internalType": "uint256" }
1289
- ],
1290
- "outputs": [],
1291
- "stateMutability": "payable"
1292
- },
1293
- { "type": "error", "name": "RangoSwapFailed", "inputs": [] },
1294
- {
1295
- "type": "error",
1296
- "name": "ReentrancyGuardReentrantCall",
1297
- "inputs": []
1298
- }
1299
- ]
1086
+ "address": "0x9498873819b83C144cC7cF824493Ab1dCa29ab3F",
1087
+ "abi": [{ "type": "constructor", "inputs": [{ "name": "_rangoDiamondAddress", "type": "address", "internalType": "address" }, { "name": "_plutonContractAddress", "type": "address", "internalType": "address" }, { "name": "_baseTokenAddress", "type": "address", "internalType": "address" }], "stateMutability": "nonpayable" }, { "type": "function", "name": "baseTokenAddress", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" }, { "type": "function", "name": "plutonContract", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "contract PlutonContract" }], "stateMutability": "view" }, { "type": "function", "name": "rangoDiamondAddress", "inputs": [], "outputs": [{ "name": "", "type": "address", "internalType": "address" }], "stateMutability": "view" }, { "type": "function", "name": "swapAndpluton", "inputs": [{ "name": "plutonRequest", "type": "tuple", "internalType": "struct IPlutonMiddleware.PlutonRequest", "components": [{ "name": "id", "type": "bytes", "internalType": "bytes" }, { "name": "user", "type": "address", "internalType": "address" }, { "name": "initiationExpiry", "type": "uint256", "internalType": "uint256" }, { "name": "orderDataType", "type": "bytes32", "internalType": "bytes32" }, { "name": "orderData", "type": "bytes", "internalType": "bytes" }] }, { "name": "srcTokenAddress", "type": "address", "internalType": "address" }, { "name": "amountIn", "type": "uint256", "internalType": "uint256" }, { "name": "swapCallData", "type": "bytes", "internalType": "bytes" }], "outputs": [], "stateMutability": "payable" }, { "type": "error", "name": "RangoSwapFailed", "inputs": [] }, { "type": "error", "name": "ReentrancyGuardReentrantCall", "inputs": [] }]
1300
1088
  }
1301
1089
  }
1302
1090
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plutonlabs/sdk",
3
- "version": "0.0.30-beta",
3
+ "version": "0.0.32-beta",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": [