@plutonlabs/sdk 0.0.29-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.
- package/dist/modules/quote/domain/dto/quote/index.d.ts +2 -2
- package/dist/modules/quote/domain/dto/quote/index.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/index.js +2 -2
- package/dist/modules/quote/domain/dto/quote/index.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts +5 -0
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.d.ts.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_base_intent_request.dto.js.map +1 -1
- package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.d.ts +21 -21
- package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.js +40 -40
- package/dist/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.d.ts +51 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.js +18 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_request_lifecycle.dto.js.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.d.ts +51 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.d.ts.map +1 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.js +18 -0
- package/dist/modules/quote/domain/dto/quote/quote_intent_response_lifecycle.dto.js.map +1 -0
- package/dist/modules/quote/domain/enums/index.d.ts +4 -4
- package/dist/modules/quote/domain/enums/index.d.ts.map +1 -1
- package/dist/modules/quote/domain/enums/index.js +4 -4
- package/dist/modules/quote/domain/enums/index.js.map +1 -1
- package/dist/modules/quote/domain/enums/quote_intent_request_action.enum.d.ts +17 -0
- package/dist/modules/quote/domain/enums/quote_intent_request_action.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_intent_request_action.enum.js +21 -0
- package/dist/modules/quote/domain/enums/quote_intent_request_action.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_intent_request_lifecycle.enum.d.ts +31 -0
- package/dist/modules/quote/domain/enums/quote_intent_request_lifecycle.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_intent_request_lifecycle.enum.js +40 -0
- package/dist/modules/quote/domain/enums/quote_intent_request_lifecycle.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_intent_response_action.enum.d.ts +12 -0
- package/dist/modules/quote/domain/enums/quote_intent_response_action.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_intent_response_action.enum.js +16 -0
- package/dist/modules/quote/domain/enums/quote_intent_response_action.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_intent_response_lifecycle.enum.d.ts +26 -0
- package/dist/modules/quote/domain/enums/quote_intent_response_lifecycle.enum.d.ts.map +1 -0
- package/dist/modules/quote/domain/enums/quote_intent_response_lifecycle.enum.js +35 -0
- package/dist/modules/quote/domain/enums/quote_intent_response_lifecycle.enum.js.map +1 -0
- package/dist/modules/quote/domain/enums/quote_request_action.enum.d.ts +16 -15
- package/dist/modules/quote/domain/enums/quote_request_action.enum.d.ts.map +1 -1
- package/dist/modules/quote/domain/enums/quote_request_action.enum.js +20 -19
- package/dist/modules/quote/domain/enums/quote_request_action.enum.js.map +1 -1
- package/dist/modules/swap/domain/dto/swap_request.dto.d.ts +28 -28
- package/dist/modules/swap/domain/dto/swap_request.dto.js +36 -36
- package/dist/modules/swap/domain/dto/swap_response.dto.d.ts +22 -22
- package/dist/modules/swap/domain/dto/swap_response.dto.js +34 -34
- package/dist/seed/pluton_contracts_seed.json +4 -216
- package/package.json +28 -28
@@ -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 './
|
8
|
+
export * from './quote_intent_request_lifecycle.dto';
|
9
9
|
export * from './quote_request.dto';
|
10
|
-
export * from './
|
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
|
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("./
|
24
|
+
__exportStar(require("./quote_intent_request_lifecycle.dto"), exports);
|
25
25
|
__exportStar(require("./quote_request.dto"), exports);
|
26
|
-
__exportStar(require("./
|
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,
|
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"}
|
@@ -6,5 +6,10 @@ export declare class QuoteBaseIntentRequestDto {
|
|
6
6
|
* @description Type of intent request
|
7
7
|
*/
|
8
8
|
intentType: IntentType;
|
9
|
+
/**
|
10
|
+
* @example '10000'
|
11
|
+
* @description Estimated gas used
|
12
|
+
*/
|
13
|
+
estimateGas: string;
|
9
14
|
}
|
10
15
|
//# sourceMappingURL=quote_base_intent_request.dto.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_base_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,qBAAa,yBAAyB;gBACxB,OAAO,EAAE,OAAO,CAAC,yBAAyB,CAAC;IAIvD;;;OAGG;IAEH,UAAU,EAAE,UAAU,CAAC;
|
1
|
+
{"version":3,"file":"quote_base_intent_request.dto.d.ts","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_request.dto.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,uBAAuB,CAAC;AAEnD,qBAAa,yBAAyB;gBACxB,OAAO,EAAE,OAAO,CAAC,yBAAyB,CAAC;IAIvD;;;OAGG;IAEH,UAAU,EAAE,UAAU,CAAC;IAEvB;;;OAGG;IACH,WAAW,EAAE,MAAM,CAAC;CACrB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"quote_base_intent_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,kDAAmD;AAEnD,MAAa,yBAAyB;IACpC,YAAY,OAA2C;QACrD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;
|
1
|
+
{"version":3,"file":"quote_base_intent_request.dto.js","sourceRoot":"","sources":["../../../../../../src/modules/quote/domain/dto/quote/quote_base_intent_request.dto.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,qDAA6C;AAC7C,kDAAmD;AAEnD,MAAa,yBAAyB;IACpC,YAAY,OAA2C;QACrD,MAAM,CAAC,MAAM,CAAC,IAAI,EAAE,OAAO,CAAC,CAAC;IAC/B,CAAC;CAcF;AAjBD,8DAiBC;AAPC;IADC,IAAA,4BAAU,GAAE;;6DACU"}
|
package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.d.ts
CHANGED
@@ -1,22 +1,22 @@
|
|
1
|
-
import { QuoteEstimateBridgeIntentRequestDto } from './quote_estimate_bridge_intent_request.dto';
|
2
|
-
export declare class QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto extends QuoteEstimateBridgeIntentRequestDto {
|
3
|
-
constructor(partial: Partial<QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto>);
|
4
|
-
/**
|
5
|
-
* @example 1
|
6
|
-
*/
|
7
|
-
sourceBaseTokenChainId: number;
|
8
|
-
/**
|
9
|
-
* @example 60
|
10
|
-
*/
|
11
|
-
sourceBaseTokenCoinType: number;
|
12
|
-
/**
|
13
|
-
* @example '0xb44146014eD5f7001Ec9b03153950f4129ec7296'
|
14
|
-
* @description address of token contract on source chain, empty if native token
|
15
|
-
*/
|
16
|
-
sourceBaseTokenAddress: string;
|
17
|
-
/**
|
18
|
-
* @example '1000'
|
19
|
-
*/
|
20
|
-
sourceBaseTokenAmount: string;
|
21
|
-
}
|
1
|
+
import { QuoteEstimateBridgeIntentRequestDto } from './quote_estimate_bridge_intent_request.dto';
|
2
|
+
export declare class QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto extends QuoteEstimateBridgeIntentRequestDto {
|
3
|
+
constructor(partial: Partial<QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto>);
|
4
|
+
/**
|
5
|
+
* @example 1
|
6
|
+
*/
|
7
|
+
sourceBaseTokenChainId: number;
|
8
|
+
/**
|
9
|
+
* @example 60
|
10
|
+
*/
|
11
|
+
sourceBaseTokenCoinType: number;
|
12
|
+
/**
|
13
|
+
* @example '0xb44146014eD5f7001Ec9b03153950f4129ec7296'
|
14
|
+
* @description address of token contract on source chain, empty if native token
|
15
|
+
*/
|
16
|
+
sourceBaseTokenAddress: string;
|
17
|
+
/**
|
18
|
+
* @example '1000'
|
19
|
+
*/
|
20
|
+
sourceBaseTokenAmount: string;
|
21
|
+
}
|
22
22
|
//# sourceMappingURL=quote_estimate_solver_bridge_intent_request.dto.d.ts.map
|
package/dist/modules/quote/domain/dto/quote/quote_estimate_solver_bridge_intent_request.dto.js
CHANGED
@@ -1,41 +1,41 @@
|
|
1
|
-
"use strict";
|
2
|
-
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
-
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
-
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
-
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
-
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
-
};
|
8
|
-
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
-
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
-
};
|
11
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
-
exports.QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto = void 0;
|
13
|
-
const class_validator_1 = require("class-validator");
|
14
|
-
const quote_estimate_bridge_intent_request_dto_1 = require("./quote_estimate_bridge_intent_request.dto");
|
15
|
-
class QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto extends quote_estimate_bridge_intent_request_dto_1.QuoteEstimateBridgeIntentRequestDto {
|
16
|
-
constructor(partial) {
|
17
|
-
super(partial);
|
18
|
-
Object.assign(this, partial);
|
19
|
-
}
|
20
|
-
}
|
21
|
-
exports.QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto = QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto;
|
22
|
-
__decorate([
|
23
|
-
(0, class_validator_1.IsNotEmpty)(),
|
24
|
-
(0, class_validator_1.IsNumber)(),
|
25
|
-
__metadata("design:type", Number)
|
26
|
-
], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenChainId", void 0);
|
27
|
-
__decorate([
|
28
|
-
(0, class_validator_1.IsNotEmpty)(),
|
29
|
-
(0, class_validator_1.IsNumber)(),
|
30
|
-
__metadata("design:type", Number)
|
31
|
-
], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenCoinType", void 0);
|
32
|
-
__decorate([
|
33
|
-
(0, class_validator_1.IsString)(),
|
34
|
-
__metadata("design:type", String)
|
35
|
-
], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenAddress", void 0);
|
36
|
-
__decorate([
|
37
|
-
(0, class_validator_1.IsNotEmpty)(),
|
38
|
-
(0, class_validator_1.IsNumber)(),
|
39
|
-
__metadata("design:type", String)
|
40
|
-
], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenAmount", void 0);
|
1
|
+
"use strict";
|
2
|
+
var __decorate = (this && this.__decorate) || function (decorators, target, key, desc) {
|
3
|
+
var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
|
4
|
+
if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
|
5
|
+
else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
|
6
|
+
return c > 3 && r && Object.defineProperty(target, key, r), r;
|
7
|
+
};
|
8
|
+
var __metadata = (this && this.__metadata) || function (k, v) {
|
9
|
+
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
|
10
|
+
};
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
12
|
+
exports.QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto = void 0;
|
13
|
+
const class_validator_1 = require("class-validator");
|
14
|
+
const quote_estimate_bridge_intent_request_dto_1 = require("./quote_estimate_bridge_intent_request.dto");
|
15
|
+
class QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto extends quote_estimate_bridge_intent_request_dto_1.QuoteEstimateBridgeIntentRequestDto {
|
16
|
+
constructor(partial) {
|
17
|
+
super(partial);
|
18
|
+
Object.assign(this, partial);
|
19
|
+
}
|
20
|
+
}
|
21
|
+
exports.QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto = QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto;
|
22
|
+
__decorate([
|
23
|
+
(0, class_validator_1.IsNotEmpty)(),
|
24
|
+
(0, class_validator_1.IsNumber)(),
|
25
|
+
__metadata("design:type", Number)
|
26
|
+
], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenChainId", void 0);
|
27
|
+
__decorate([
|
28
|
+
(0, class_validator_1.IsNotEmpty)(),
|
29
|
+
(0, class_validator_1.IsNumber)(),
|
30
|
+
__metadata("design:type", Number)
|
31
|
+
], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenCoinType", void 0);
|
32
|
+
__decorate([
|
33
|
+
(0, class_validator_1.IsString)(),
|
34
|
+
__metadata("design:type", String)
|
35
|
+
], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenAddress", void 0);
|
36
|
+
__decorate([
|
37
|
+
(0, class_validator_1.IsNotEmpty)(),
|
38
|
+
(0, class_validator_1.IsNumber)(),
|
39
|
+
__metadata("design:type", String)
|
40
|
+
], QuoteEstimateWithSourceBaseTokenBridgeIntentRequestDto.prototype, "sourceBaseTokenAmount", void 0);
|
41
41
|
//# sourceMappingURL=quote_estimate_solver_bridge_intent_request.dto.js.map
|
@@ -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 './
|
5
|
-
export * from './
|
6
|
-
export * from './
|
7
|
-
export * from './
|
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,
|
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("./
|
21
|
-
__exportStar(require("./
|
22
|
-
__exportStar(require("./
|
23
|
-
__exportStar(require("./
|
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,
|
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"}
|