@venturialstd/workflow 0.1.75 β 0.1.77
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/conditional/actions/index.d.ts +1 -0
- package/dist/modules/conditional/actions/index.d.ts.map +1 -1
- package/dist/modules/conditional/actions/index.js +1 -0
- package/dist/modules/conditional/actions/index.js.map +1 -1
- package/dist/modules/conditional/actions/map-value.action.d.ts +3 -0
- package/dist/modules/conditional/actions/map-value.action.d.ts.map +1 -0
- package/dist/modules/conditional/actions/map-value.action.js +82 -0
- package/dist/modules/conditional/actions/map-value.action.js.map +1 -0
- package/dist/modules/conditional/conditional-nest.module.d.ts.map +1 -1
- package/dist/modules/conditional/conditional-nest.module.js +12 -2
- package/dist/modules/conditional/conditional-nest.module.js.map +1 -1
- package/dist/modules/conditional/conditional.module.js +1 -1
- package/dist/modules/conditional/conditional.module.js.map +1 -1
- package/dist/modules/conditional/services/index.d.ts +1 -0
- package/dist/modules/conditional/services/index.d.ts.map +1 -1
- package/dist/modules/conditional/services/index.js +1 -0
- package/dist/modules/conditional/services/index.js.map +1 -1
- package/dist/modules/conditional/services/map-value.service.d.ts +5 -0
- package/dist/modules/conditional/services/map-value.service.d.ts.map +1 -0
- package/dist/modules/conditional/services/map-value.service.js +108 -0
- package/dist/modules/conditional/services/map-value.service.js.map +1 -0
- package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.d.ts +3 -0
- package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.d.ts.map +1 -0
- package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.js +80 -0
- package/dist/modules/fintech/actions/get-currency-by-type-and-code.action.js.map +1 -0
- package/dist/modules/fintech/actions/index.d.ts +1 -0
- package/dist/modules/fintech/actions/index.d.ts.map +1 -1
- package/dist/modules/fintech/actions/index.js +1 -0
- package/dist/modules/fintech/actions/index.js.map +1 -1
- package/dist/modules/fintech/actions/process-remittance-step.action.d.ts.map +1 -1
- package/dist/modules/fintech/actions/process-remittance-step.action.js.map +1 -1
- package/dist/modules/fintech/fintech-nest.module.d.ts.map +1 -1
- package/dist/modules/fintech/fintech-nest.module.js +2 -0
- package/dist/modules/fintech/fintech-nest.module.js.map +1 -1
- package/dist/modules/fintech/fintech.module.d.ts.map +1 -1
- package/dist/modules/fintech/fintech.module.js +1 -0
- package/dist/modules/fintech/fintech.module.js.map +1 -1
- package/dist/modules/fintech/services/get-currency-by-type-and-code.service.d.ts +8 -0
- package/dist/modules/fintech/services/get-currency-by-type-and-code.service.d.ts.map +1 -0
- package/dist/modules/fintech/services/get-currency-by-type-and-code.service.js +47 -0
- package/dist/modules/fintech/services/get-currency-by-type-and-code.service.js.map +1 -0
- package/dist/modules/fintech/services/index.d.ts +1 -0
- package/dist/modules/fintech/services/index.d.ts.map +1 -1
- package/dist/modules/fintech/services/index.js +1 -0
- package/dist/modules/fintech/services/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/conditional/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/conditional/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC;AAC5C,cAAc,oBAAoB,CAAC"}
|
|
@@ -15,4 +15,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./evaluate-condition.action"), exports);
|
|
18
|
+
__exportStar(require("./map-value.action"), exports);
|
|
18
19
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/conditional/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/conditional/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8DAA4C;AAC5C,qDAAmC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map-value.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/conditional/actions/map-value.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6B,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAG/E,eAAO,MAAM,cAAc,EAAE,qBA2E5B,CAAC"}
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.mapValueAction = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const map_value_service_1 = require("../services/map-value.service");
|
|
6
|
+
exports.mapValueAction = {
|
|
7
|
+
key: 'map-value',
|
|
8
|
+
name: 'Map Value',
|
|
9
|
+
description: 'Map an input value to a specific output value based on conditions',
|
|
10
|
+
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
+
icon: 'πΊοΈ',
|
|
12
|
+
serviceClass: map_value_service_1.MapValueService,
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
id: 'inputValue',
|
|
16
|
+
name: 'Input Value',
|
|
17
|
+
description: 'The value to map (can be a variable reference)',
|
|
18
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
+
validation: {
|
|
20
|
+
required: true,
|
|
21
|
+
},
|
|
22
|
+
placeholder: 'Enter value or {{variable}}',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
id: 'mappings',
|
|
26
|
+
name: 'Value Mappings',
|
|
27
|
+
description: 'Array of mapping rules (condition, value, mappedValue)',
|
|
28
|
+
type: types_1.FIELD_TYPE.ARRAY,
|
|
29
|
+
validation: {
|
|
30
|
+
required: true,
|
|
31
|
+
},
|
|
32
|
+
defaultValue: [],
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
id: 'defaultValue',
|
|
36
|
+
name: 'Default Value',
|
|
37
|
+
description: 'Value to return if no mapping matches',
|
|
38
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
39
|
+
validation: {
|
|
40
|
+
required: false,
|
|
41
|
+
},
|
|
42
|
+
placeholder: 'Default value if no match',
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: 'caseSensitive',
|
|
46
|
+
name: 'Case Sensitive',
|
|
47
|
+
description: 'Whether string comparisons should be case sensitive',
|
|
48
|
+
type: types_1.FIELD_TYPE.BOOLEAN,
|
|
49
|
+
validation: {
|
|
50
|
+
required: false,
|
|
51
|
+
},
|
|
52
|
+
defaultValue: false,
|
|
53
|
+
},
|
|
54
|
+
],
|
|
55
|
+
outputs: [
|
|
56
|
+
{
|
|
57
|
+
id: 'mappedValue',
|
|
58
|
+
name: 'Mapped Value',
|
|
59
|
+
description: 'The resulting mapped value',
|
|
60
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: 'matched',
|
|
64
|
+
name: 'Matched',
|
|
65
|
+
description: 'Whether a mapping was found',
|
|
66
|
+
type: types_1.FIELD_TYPE.BOOLEAN,
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
id: 'originalValue',
|
|
70
|
+
name: 'Original Value',
|
|
71
|
+
description: 'The original input value',
|
|
72
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: 'matchedCondition',
|
|
76
|
+
name: 'Matched Condition',
|
|
77
|
+
description: 'The condition that matched',
|
|
78
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
};
|
|
82
|
+
//# sourceMappingURL=map-value.action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map-value.action.js","sourceRoot":"","sources":["../../../../src/mod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ACb,IAAI,EAAE,SAAS;YACf,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,kBAAU,CAAC,OAAO;SACzB;QACD;YACE,EAAE,EAAE,eAAe;YACnB,IAAI,EAAE,gBAAgB;YACtB,WAAW,EAAE,0BAA0B;YACvC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,kBAAkB;YACtB,IAAI,EAAE,mBAAmB;YACzB,WAAW,EAAE,4BAA4B;YACzC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditional-nest.module.d.ts","sourceRoot":"","sources":["../../../src/modules/conditional/conditional-nest.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"conditional-nest.module.d.ts","sourceRoot":"","sources":["../../../src/modules/conditional/conditional-nest.module.ts"],"names":[],"mappings":"AASA,qBAca,qBAAqB;CAAG"}
|
|
@@ -14,8 +14,18 @@ let ConditionalNestModule = class ConditionalNestModule {
|
|
|
14
14
|
exports.ConditionalNestModule = ConditionalNestModule;
|
|
15
15
|
exports.ConditionalNestModule = ConditionalNestModule = __decorate([
|
|
16
16
|
(0, common_1.Module)({
|
|
17
|
-
providers: [
|
|
18
|
-
|
|
17
|
+
providers: [
|
|
18
|
+
services_1.EvaluateConditionService,
|
|
19
|
+
services_1.ConditionMetService,
|
|
20
|
+
services_1.ConditionNotMetService,
|
|
21
|
+
services_1.MapValueService,
|
|
22
|
+
],
|
|
23
|
+
exports: [
|
|
24
|
+
services_1.EvaluateConditionService,
|
|
25
|
+
services_1.ConditionMetService,
|
|
26
|
+
services_1.ConditionNotMetService,
|
|
27
|
+
services_1.MapValueService,
|
|
28
|
+
],
|
|
19
29
|
})
|
|
20
30
|
], ConditionalNestModule);
|
|
21
31
|
//# sourceMappingURL=conditional-nest.module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditional-nest.module.js","sourceRoot":"","sources":["../../../src/modules/conditional/conditional-nest.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AAExC,
|
|
1
|
+
{"version":3,"file":"conditional-nest.module.js","sourceRoot":"","sources":["../../../src/modules/conditional/conditional-nest.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AAExC,yCAKoB;AAgBb,IAAM,qBAAqB,GAA3B,MAAM,qBAAqB;CAAG,CAAA;AAAxB,sDAAqB;gCAArB,qBAAqB;IAdjC,IAAA,eAAM,EAAC;QACN,SAAS,EAAE;YACT,mCAAwB;YACxB,8BAAmB;YACnB,iCAAsB;YACtB,0BAAe;SAChB;QACD,OAAO,EAAE;YACP,mCAAwB;YACxB,8BAAmB;YACnB,iCAAsB;YACtB,0BAAe;SAChB;KACF,CAAC;GACW,qBAAqB,CAAG"}
|
|
@@ -11,7 +11,7 @@ exports.conditionalModule = {
|
|
|
11
11
|
icon: 'π',
|
|
12
12
|
version: '1.0.0',
|
|
13
13
|
credentialFields: credentials_1.conditionalCredentials,
|
|
14
|
-
actions: [actions_1.evaluateConditionAction],
|
|
14
|
+
actions: [actions_1.evaluateConditionAction, actions_1.mapValueAction],
|
|
15
15
|
triggers: [triggers_1.conditionMetTrigger, triggers_1.conditionNotMetTrigger],
|
|
16
16
|
};
|
|
17
17
|
//# sourceMappingURL=conditional.module.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"conditional.module.js","sourceRoot":"","sources":["../../../src/modules/conditional/conditional.module.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"conditional.module.js","sourceRoot":"","sources":["../../../src/modules/conditional/conditional.module.ts"],"names":[],"mappings":";;;AACA,uCAAoE;AACpE,+CAAuD;AACvD,yCAAyE;AAE5D,QAAA,iBAAiB,GAA6B;IACzD,GAAG,EAAE,aAAa;IAClB,IAAI,EAAE,aAAa;IACnB,WAAW,EAAE,qCAAqC;IAClD,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,OAAO;IAChB,gBAAgB,EAAE,oCAAsB;IACxC,OAAO,EAAE,CAAC,iCAAuB,EAAE,wBAAc,CAAC;IAClD,QAAQ,EAAE,CAAC,8BAAmB,EAAE,iCAAsB,CAAC;CACxD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/conditional/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/conditional/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,qBAAqB,CAAC"}
|
|
@@ -17,4 +17,5 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
17
17
|
__exportStar(require("./condition-met.service"), exports);
|
|
18
18
|
__exportStar(require("./condition-not-met.service"), exports);
|
|
19
19
|
__exportStar(require("./evaluate-condition.service"), exports);
|
|
20
|
+
__exportStar(require("./map-value.service"), exports);
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/conditional/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,8DAA4C;AAC5C,+DAA6C"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/conditional/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC;AACxC,8DAA4C;AAC5C,+DAA6C;AAC7C,sDAAoC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IWorkflowActionService, WorkflowActionContext } from '../../types';
|
|
2
|
+
export declare class MapValueService implements IWorkflowActionService {
|
|
3
|
+
perform(inputs: Record<string, unknown>, context: WorkflowActionContext): Promise<Record<string, unknown>>;
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=map-value.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map-value.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/conditional/services/map-value.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAwF5E,qBACa,eAAgB,YAAW,sBAAsB;IACtD,OAAO,CACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CA8CpC"}
|
|
@@ -0,0 +1,108 @@
|
|
|
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
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
9
|
+
exports.MapValueService = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
function resolveVariableReference(value, context) {
|
|
12
|
+
if (!value)
|
|
13
|
+
return value;
|
|
14
|
+
let resolvedValue = value.trim();
|
|
15
|
+
if (resolvedValue.startsWith('{{') && resolvedValue.endsWith('}}')) {
|
|
16
|
+
resolvedValue = resolvedValue.slice(2, -2).trim();
|
|
17
|
+
const parts = resolvedValue.split('.');
|
|
18
|
+
let result = context.previousOutputs;
|
|
19
|
+
for (const part of parts) {
|
|
20
|
+
if (result && typeof result === 'object' && part in result) {
|
|
21
|
+
result = result[part];
|
|
22
|
+
}
|
|
23
|
+
else {
|
|
24
|
+
return value;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
return String(result);
|
|
28
|
+
}
|
|
29
|
+
return value;
|
|
30
|
+
}
|
|
31
|
+
function evaluateCondition(inputValue, condition, compareValue, caseSensitive) {
|
|
32
|
+
const normalizedInput = caseSensitive ? inputValue : inputValue.toLowerCase();
|
|
33
|
+
const normalizedCompare = caseSensitive ? compareValue : compareValue.toLowerCase();
|
|
34
|
+
switch (condition) {
|
|
35
|
+
case 'equals':
|
|
36
|
+
return normalizedInput === normalizedCompare;
|
|
37
|
+
case 'not_equals':
|
|
38
|
+
return normalizedInput !== normalizedCompare;
|
|
39
|
+
case 'contains':
|
|
40
|
+
return normalizedInput.includes(normalizedCompare);
|
|
41
|
+
case 'not_contains':
|
|
42
|
+
return !normalizedInput.includes(normalizedCompare);
|
|
43
|
+
case 'starts_with':
|
|
44
|
+
return normalizedInput.startsWith(normalizedCompare);
|
|
45
|
+
case 'ends_with':
|
|
46
|
+
return normalizedInput.endsWith(normalizedCompare);
|
|
47
|
+
case 'greater_than':
|
|
48
|
+
return Number(inputValue) > Number(compareValue);
|
|
49
|
+
case 'less_than':
|
|
50
|
+
return Number(inputValue) < Number(compareValue);
|
|
51
|
+
case 'greater_than_or_equal':
|
|
52
|
+
return Number(inputValue) >= Number(compareValue);
|
|
53
|
+
case 'less_than_or_equal':
|
|
54
|
+
return Number(inputValue) <= Number(compareValue);
|
|
55
|
+
case 'regex':
|
|
56
|
+
try {
|
|
57
|
+
const regex = new RegExp(compareValue, caseSensitive ? '' : 'i');
|
|
58
|
+
return regex.test(inputValue);
|
|
59
|
+
}
|
|
60
|
+
catch (error) {
|
|
61
|
+
console.error('Invalid regex pattern:', compareValue, error);
|
|
62
|
+
return false;
|
|
63
|
+
}
|
|
64
|
+
case 'is_empty':
|
|
65
|
+
return !inputValue || inputValue.trim() === '';
|
|
66
|
+
case 'is_not_empty':
|
|
67
|
+
return !!inputValue && inputValue.trim() !== '';
|
|
68
|
+
default:
|
|
69
|
+
return false;
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
let MapValueService = class MapValueService {
|
|
73
|
+
async perform(inputs, context) {
|
|
74
|
+
let inputValue = inputs.inputValue;
|
|
75
|
+
if (!inputValue) {
|
|
76
|
+
inputValue = '';
|
|
77
|
+
}
|
|
78
|
+
const resolvedInput = resolveVariableReference(inputValue, context);
|
|
79
|
+
const mappings = inputs.mappings || [];
|
|
80
|
+
const defaultValue = inputs.defaultValue || '';
|
|
81
|
+
const caseSensitive = inputs.caseSensitive ?? false;
|
|
82
|
+
for (const mapping of mappings) {
|
|
83
|
+
const condition = mapping.condition || 'equals';
|
|
84
|
+
const compareValue = mapping.value || '';
|
|
85
|
+
const mappedValue = mapping.mappedValue || '';
|
|
86
|
+
const matches = evaluateCondition(resolvedInput, condition, compareValue, caseSensitive);
|
|
87
|
+
if (matches) {
|
|
88
|
+
return {
|
|
89
|
+
mappedValue,
|
|
90
|
+
matched: true,
|
|
91
|
+
originalValue: resolvedInput,
|
|
92
|
+
matchedCondition: condition,
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
return {
|
|
97
|
+
mappedValue: defaultValue,
|
|
98
|
+
matched: false,
|
|
99
|
+
originalValue: resolvedInput,
|
|
100
|
+
matchedCondition: null,
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
};
|
|
104
|
+
exports.MapValueService = MapValueService;
|
|
105
|
+
exports.MapValueService = MapValueService = __decorate([
|
|
106
|
+
(0, common_1.Injectable)()
|
|
107
|
+
], MapValueService);
|
|
108
|
+
//# sourceMappingURL=map-value.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"map-value.service.js","sourceRoot":"","sources":["../../../../src/modules/conditional/services/map-value.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA4C;AAO5C,SAAS,wBAAwB,CAAC,KAAa,EAAE,OAA8B;IAC7E,IAAI,CAAC,KAAK;QAAE,OAAO,KAAK,CAAC;IAGzB,IAAI,aAAa,GAAG,KAAK,CAAC,IAAI,EAAE,CAAC;IACjC,IAAI,aAAa,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,aAAa,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,CAAC;QACnE,aAAa,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,IAAI,EAAE,CAAC;QAGlD,MAAM,KAAK,GAAG,aAAa,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC;QACvC,IAAI,MAAM,GAAY,OAAO,CAAC,eAAe,CAAC;QAE9C,KAAK,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;YACzB,IAAI,MAAM,IAAI,OAAO,MAAM,KAAK,QAAQ,IAAI,IAAI,IAAI,MAAM,EAAE,CAAC;gBAC3D,MAAM,GAAI,MAAkC,CAAC,IAAI,CAAC,CAAC;YACrD,CAAC;iBAAM,CAAC;gBACN,OAAO,KAAK,CAAC;YACf,CAAC;QACH,CAAC;QAED,OAAO,MAAM,CAAC,MAAM,CAAC,CAAC;IACxB,CAAC;IAED,OAAO,KAAK,CAAC;AACf,CAAC;AAKD,SAAS,iBAAiB,CACxB,UAAkB,EAClB,SAAiB,EACjB,YAAoB,EACpB,aAAsB;IAGtB,MAAM,eAAe,GAAG,aAAa,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,UAAU,CAAC,WAAW,EAAE,CAAC;IAC9E,MAAM,iBAAiB,GAAG,aAAa,CAAC,CAAC,CAAC,YAAY,CAAC,CAAC,CAAC,YAAY,CAAC,WAAW,EAAE,CAAC;IAEpF,QAAQ,SAAS,EAAE,CAAC;QAClB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ACvB,CAAC;IACJ,CAAC;CACF,CAAA;AAlDY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,mBAAU,GAAE;GACA,eAAe,CAkD3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-currency-by-type-and-code.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/get-currency-by-type-and-code.action.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,8BAA8B,EAAE,qBA2E5C,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getCurrencyByTypeAndCodeAction = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const get_currency_by_type_and_code_service_1 = require("../services/get-currency-by-type-and-code.service");
|
|
6
|
+
exports.getCurrencyByTypeAndCodeAction = {
|
|
7
|
+
key: 'get-currency-by-type-and-code',
|
|
8
|
+
name: 'Get Currency by Type and Code',
|
|
9
|
+
description: 'Retrieve a currency by its type (fiat/crypto) and code',
|
|
10
|
+
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
+
icon: 'π±',
|
|
12
|
+
serviceClass: get_currency_by_type_and_code_service_1.GetCurrencyByTypeAndCodeService,
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
id: 'type',
|
|
16
|
+
name: 'Currency Type',
|
|
17
|
+
description: 'Type of currency (fiat or crypto)',
|
|
18
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
19
|
+
validation: {
|
|
20
|
+
required: true,
|
|
21
|
+
},
|
|
22
|
+
placeholder: 'fiat',
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
id: 'code',
|
|
26
|
+
name: 'Currency Code',
|
|
27
|
+
description: 'Currency code (e.g., USD, EUR, BTC)',
|
|
28
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
29
|
+
validation: {
|
|
30
|
+
required: true,
|
|
31
|
+
},
|
|
32
|
+
placeholder: 'USD',
|
|
33
|
+
},
|
|
34
|
+
],
|
|
35
|
+
outputs: [
|
|
36
|
+
{
|
|
37
|
+
id: 'id',
|
|
38
|
+
name: 'Currency ID',
|
|
39
|
+
description: 'The ID of the retrieved currency',
|
|
40
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
id: 'code',
|
|
44
|
+
name: 'Currency Code',
|
|
45
|
+
description: 'The code of the retrieved currency',
|
|
46
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
id: 'name',
|
|
50
|
+
name: 'Currency Name',
|
|
51
|
+
description: 'The name of the retrieved currency',
|
|
52
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
id: 'symbol',
|
|
56
|
+
name: 'Currency Symbol',
|
|
57
|
+
description: 'The symbol of the retrieved currency',
|
|
58
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
id: 'type',
|
|
62
|
+
name: 'Currency Type',
|
|
63
|
+
description: 'The type of the retrieved currency (fiat/crypto)',
|
|
64
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
id: 'isActive',
|
|
68
|
+
name: 'Is Active',
|
|
69
|
+
description: 'Whether the currency is active',
|
|
70
|
+
type: types_1.FIELD_TYPE.BOOLEAN,
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
id: 'exchangeRateToUSD',
|
|
74
|
+
name: 'Exchange Rate to USD',
|
|
75
|
+
description: 'Exchange rate relative to USD',
|
|
76
|
+
type: types_1.FIELD_TYPE.NUMBER,
|
|
77
|
+
},
|
|
78
|
+
],
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=get-currency-by-type-and-code.action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-currency-by-type-and-code.action.js","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/get-currency-by-type-and-code.action.ts"],"names":[],"mappings":";;;AAEA,uCAKqB;AACrB,6GAAoG;AAEvF,QAAA,8BAA8B,GAA0B;IACnE,GAAG,EAAE,+BAA+B;IACpC,IAAI,EAAE,+BAA+B;IACrC,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,uEAEa;IAC3B,MAAM,EAAE;QACN;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,mCAAmC;YAChD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,MAAM;SACpB;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,KAAK;SACnB;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,IAAI;YACR,IAAI,EAAE,aAAa;YACnB,WAAW,EAAE,kCAAkC;YAC/C,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,oCAAoC;YACjD,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,iBAAiB;YACvB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,kDAAkD;YAC/D,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,UAAU;YACd,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,gCAAgC;YAC7C,IAAI,EAAE,kBAAU,CAAC,OAAO;SACzB;QACD;YACE,EAAE,EAAE,mBAAmB;YACvB,IAAI,EAAE,sBAAsB;YAC5B,WAAW,EAAE,+BAA+B;YAC5C,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
|
|
@@ -9,6 +9,7 @@ export * from './get-account.action';
|
|
|
9
9
|
export * from './get-accounts-by-user.action';
|
|
10
10
|
export * from './get-balance.action';
|
|
11
11
|
export * from './get-beneficiary.action';
|
|
12
|
+
export * from './get-currency-by-type-and-code.action';
|
|
12
13
|
export * from './get-operation.action';
|
|
13
14
|
export * from './get-remittance-by-external-tx-id.action';
|
|
14
15
|
export * from './get-remittance-by-id.action';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wCAAwC,CAAC;AACvD,cAAc,wBAAwB,CAAC;AACvC,cAAc,2CAA2C,CAAC;AAC1D,cAAc,+BAA+B,CAAC;AAC9C,cAAc,sCAAsC,CAAC;AACrD,cAAc,0BAA0B,CAAC;AACzC,cAAc,kCAAkC,CAAC;AACjD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,kCAAkC,CAAC"}
|
|
@@ -25,6 +25,7 @@ __exportStar(require("./get-account.action"), exports);
|
|
|
25
25
|
__exportStar(require("./get-accounts-by-user.action"), exports);
|
|
26
26
|
__exportStar(require("./get-balance.action"), exports);
|
|
27
27
|
__exportStar(require("./get-beneficiary.action"), exports);
|
|
28
|
+
__exportStar(require("./get-currency-by-type-and-code.action"), exports);
|
|
28
29
|
__exportStar(require("./get-operation.action"), exports);
|
|
29
30
|
__exportStar(require("./get-remittance-by-external-tx-id.action"), exports);
|
|
30
31
|
__exportStar(require("./get-remittance-by-id.action"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,+DAA6C;AAC7C,0DAAwC;AACxC,8DAA4C;AAC5C,4DAA0C;AAC1C,6DAA2C;AAC3C,8DAA4C;AAC5C,uDAAqC;AACrC,gEAA8C;AAC9C,uDAAqC;AACrC,2DAAyC;AACzC,yDAAuC;AACvC,4EAA0D;AAC1D,gEAA8C;AAC9C,uEAAqD;AACrD,2DAAyC;AACzC,mEAAiD;AACjD,4DAA0C;AAC1C,iEAA+C;AAC/C,mEAAiD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,+DAA6C;AAC7C,0DAAwC;AACxC,8DAA4C;AAC5C,4DAA0C;AAC1C,6DAA2C;AAC3C,8DAA4C;AAC5C,uDAAqC;AACrC,gEAA8C;AAC9C,uDAAqC;AACrC,2DAAyC;AACzC,yEAAuD;AACvD,yDAAuC;AACvC,4EAA0D;AAC1D,gEAA8C;AAC9C,uEAAqD;AACrD,2DAAyC;AACzC,mEAAiD;AACjD,4DAA0C;AAC1C,iEAA+C;AAC/C,mEAAiD"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-remittance-step.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/process-remittance-step.action.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,2BAA2B,EAAE,
|
|
1
|
+
{"version":3,"file":"process-remittance-step.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/process-remittance-step.action.ts"],"names":[],"mappings":"AAEA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,2BAA2B,EAAE,qBA+GzC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"process-remittance-step.action.js","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/process-remittance-step.action.ts"],"names":[],"mappings":";;;AAAA,mDAAuD;AAEvD,uCAKqB;AACrB,iGAA2F;AAE9E,QAAA,2BAA2B,GAA0B;IAChE,GAAG,EAAE,yBAAyB;IAC9B,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE,6EAA6E;IAC1F,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,GAAG;IACT,YAAY,EAAE,
|
|
1
|
+
{"version":3,"file":"process-remittance-step.action.js","sourceRoot":"","sources":["../../../../src/modules/fintech/actions/process-remittance-step.action.ts"],"names":[],"mappings":";;;AAAA,mDAAuD;AAEvD,uCAKqB;AACrB,iGAA2F;AAE9E,QAAA,2BAA2B,GAA0B;IAChE,GAAG,EAAE,yBAAyB;IAC9B,IAAI,EAAE,yBAAyB;IAC/B,WAAW,EAAE,6EAA6E;IAC1F,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,GAAG;IACT,YAAY,EAAE,8DAAkF;IAChG,MAAM,EAAE;QACN;YACE,EAAE,EAAE,cAAc;YAClB,IAAI,EAAE,eAAe;YACrB,WAAW,EAAE,qCAAqC;YAClD,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;gBACd,SAAS,EAAE,CAAC;aACb;YACD,WAAW,EAAE,iBAAiB;SAC/B;QACD;YACE,EAAE,EAAE,MAAM;YACV,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,uBAAuB;YACpC,IAAI,EAAE,kBAAU,CAAC,MAAM;YACvB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,MAAM,CAAC,MAAM,CAAC,wBAAc,CAAC;aACpC;YACD,OAAO,EAAE;gBACP,EAAE,KAAK,EAAE,UAAU,EAAE,KAAK,EAAE,wBAAc,CAAC,QAAQ,EAAE;gBACrD,EAAE,KAA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BAAmB;YAChC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,iBAAiB;YACrB,IAAI,EAAE,kBAAkB;YACxB,WAAW,EAAE,6BAA6B;YAC1C,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,QAAQ;YACZ,IAAI,EAAE,QAAQ;YACd,WAAW,EAAE,2BAA2B;YACxC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,aAAa;YACjB,IAAI,EAAE,cAAc;YACpB,WAAW,EAAE,2CAA2C;YACxD,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fintech-nest.module.d.ts","sourceRoot":"","sources":["../../../src/modules/fintech/fintech-nest.module.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"fintech-nest.module.d.ts","sourceRoot":"","sources":["../../../src/modules/fintech/fintech-nest.module.ts"],"names":[],"mappings":"AA4BA,qBAmDa,iBAAiB;CAAG"}
|
|
@@ -32,6 +32,7 @@ exports.FintechNestModule = FintechNestModule = __decorate([
|
|
|
32
32
|
services_1.GetTransactionService,
|
|
33
33
|
services_1.CreateBeneficiaryService,
|
|
34
34
|
services_1.GetBeneficiaryService,
|
|
35
|
+
services_1.GetCurrencyByTypeAndCodeService,
|
|
35
36
|
services_1.CreateRemittanceService,
|
|
36
37
|
services_1.GetRemittanceByIdService,
|
|
37
38
|
services_1.GetRemittanceByReferenceService,
|
|
@@ -55,6 +56,7 @@ exports.FintechNestModule = FintechNestModule = __decorate([
|
|
|
55
56
|
services_1.GetTransactionService,
|
|
56
57
|
services_1.CreateBeneficiaryService,
|
|
57
58
|
services_1.GetBeneficiaryService,
|
|
59
|
+
services_1.GetCurrencyByTypeAndCodeService,
|
|
58
60
|
services_1.CreateRemittanceService,
|
|
59
61
|
services_1.GetRemittanceByIdService,
|
|
60
62
|
services_1.GetRemittanceByReferenceService,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fintech-nest.module.js","sourceRoot":"","sources":["../../../src/modules/fintech/fintech-nest.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,mDAAsD;AAEtD,iCAA4C;AAC5C,
|
|
1
|
+
{"version":3,"file":"fintech-nest.module.js","sourceRoot":"","sources":["../../../src/modules/fintech/fintech-nest.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AACxC,mDAAsD;AAEtD,iCAA4C;AAC5C,yCAsBoB;AAqDb,IAAM,iBAAiB,GAAvB,MAAM,iBAAiB;CAAG,CAAA;AAApB,8CAAiB;4BAAjB,iBAAiB;IAnD7B,IAAA,eAAM,EAAC;QACN,OAAO,EAAE,CAAC,uBAAa,CAAC;QACxB,SAAS,EAAE;YACT,+BAAoB;YACpB,4BAAiB;YACjB,mCAAwB;YACxB,qCAA0B;YAC1B,4BAAiB;YACjB,4BAAiB;YACjB,iCAAsB;YACtB,iCAAsB;YACtB,8BAAmB;YACnB,uCAA4B;YAC5B,mCAAwB;YACxB,gCAAqB;YACrB,mCAAwB;YACxB,gCAAqB;YACrB,0CAA+B;YAC/B,kCAAuB;YACvB,mCAAwB;YACxB,0CAA+B;YAC/B,6CAAkC;YAClC,uCAA4B;YAC5B,oCAAyB;YACzB,yBAAkB;SACnB;QACD,OAAO,EAAE;YACP,+BAAoB;YACpB,4BAAiB;YACjB,mCAAwB;YACxB,qCAA0B;YAC1B,4BAAiB;YACjB,4BAAiB;YACjB,iCAAsB;YACtB,iCAAsB;YACtB,8BAAmB;YACnB,uCAA4B;YAC5B,mCAAwB;YACxB,gCAAqB;YACrB,mCAAwB;YACxB,gCAAqB;YACrB,0CAA+B;YAC/B,kCAAuB;YACvB,mCAAwB;YACxB,0CAA+B;YAC/B,6CAAkC;YAClC,uCAA4B;YAC5B,oCAAyB;YACzB,yBAAkB;SACnB;KACF,CAAC;GACW,iBAAiB,CAAG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fintech.module.d.ts","sourceRoot":"","sources":["../../../src/modules/fintech/fintech.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,wBAAwB,EAAE,MAAM,UAAU,CAAC;
|
|
1
|
+
{"version":3,"file":"fintech.module.d.ts","sourceRoot":"","sources":["../../../src/modules/fintech/fintech.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkC,wBAAwB,EAAE,MAAM,UAAU,CAAC;AA2BpF,eAAO,MAAM,aAAa,EAAE,wBA0C3B,CAAC"}
|
|
@@ -27,6 +27,7 @@ exports.fintechModule = {
|
|
|
27
27
|
actions_1.getTransactionAction,
|
|
28
28
|
actions_1.createBeneficiaryAction,
|
|
29
29
|
actions_1.getBeneficiaryAction,
|
|
30
|
+
actions_1.getCurrencyByTypeAndCodeAction,
|
|
30
31
|
actions_1.createRemittanceAction,
|
|
31
32
|
actions_1.getRemittanceByIdAction,
|
|
32
33
|
actions_1.getRemittanceByReferenceAction,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fintech.module.js","sourceRoot":"","sources":["../../../src/modules/fintech/fintech.module.ts"],"names":[],"mappings":";;;AACA,
|
|
1
|
+
{"version":3,"file":"fintech.module.js","sourceRoot":"","sources":["../../../src/modules/fintech/fintech.module.ts"],"names":[],"mappings":";;;AACA,uCAsBmB;AACnB,sEAAiE;AACjE,+CAAmD;AAEtC,QAAA,aAAa,GAA6B;IACrD,GAAG,EAAE,SAAS;IACd,IAAI,EAAE,SAAS;IACf,WAAW,EACT,6GAA6G;IAC/G,IAAI,EAAE,IAAI;IACV,OAAO,EAAE,OAAO;IAChB,gBAAgB,EAAE,gCAAkB;IACpC,gBAAgB,EAAE,yCAEiB;IACnC,OAAO,EAAE;QAEP,6BAAmB;QACnB,0BAAgB;QAChB,iCAAuB;QACvB,mCAAyB;QAEzB,0BAAgB;QAChB,0BAAgB;QAChB,+BAAqB;QAErB,+BAAqB;QACrB,4BAAkB;QAClB,qCAA2B;QAE3B,iCAAuB;QACvB,8BAAoB;QAEpB,iCAAuB;QACvB,8BAAoB;QAEpB,wCAA8B;QAE9B,gCAAsB;QACtB,iCAAuB;QACvB,wCAA8B;QAC9B,2CAAiC;QACjC,qCAA2B;QAC3B,kCAAwB;KACzB;IACD,QAAQ,EAAE,EAAE;CACb,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CurrencyService } from '@venturialstd/fintech';
|
|
2
|
+
import { IWorkflowActionService, WorkflowActionContext } from '../../types';
|
|
3
|
+
export declare class GetCurrencyByTypeAndCodeService implements IWorkflowActionService {
|
|
4
|
+
private readonly currencyService;
|
|
5
|
+
constructor(currencyService: CurrencyService);
|
|
6
|
+
perform(inputs: Record<string, unknown>, _context: WorkflowActionContext): Promise<Record<string, unknown>>;
|
|
7
|
+
}
|
|
8
|
+
//# sourceMappingURL=get-currency-by-type-and-code.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-currency-by-type-and-code.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/fintech/services/get-currency-by-type-and-code.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAiB,MAAM,uBAAuB,CAAC;AAEvE,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAE5E,qBACa,+BAAgC,YAAW,sBAAsB;IAChE,OAAO,CAAC,QAAQ,CAAC,eAAe;gBAAf,eAAe,EAAE,eAAe;IAEvD,OAAO,CACX,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,EAC/B,QAAQ,EAAE,qBAAqB,GAC9B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAyBpC"}
|
|
@@ -0,0 +1,47 @@
|
|
|
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.GetCurrencyByTypeAndCodeService = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const fintech_1 = require("@venturialstd/fintech");
|
|
15
|
+
let GetCurrencyByTypeAndCodeService = class GetCurrencyByTypeAndCodeService {
|
|
16
|
+
currencyService;
|
|
17
|
+
constructor(currencyService) {
|
|
18
|
+
this.currencyService = currencyService;
|
|
19
|
+
}
|
|
20
|
+
async perform(inputs, _context) {
|
|
21
|
+
const type = inputs.type;
|
|
22
|
+
const code = inputs.code;
|
|
23
|
+
if (!type) {
|
|
24
|
+
throw new Error('Currency type is required');
|
|
25
|
+
}
|
|
26
|
+
if (!code) {
|
|
27
|
+
throw new Error('Currency code is required');
|
|
28
|
+
}
|
|
29
|
+
const currency = await this.currencyService.getCurrencyByTypeAndCode(type, code);
|
|
30
|
+
return {
|
|
31
|
+
id: currency.id,
|
|
32
|
+
code: currency.code,
|
|
33
|
+
name: currency.name,
|
|
34
|
+
symbol: currency.symbol,
|
|
35
|
+
type: currency.type,
|
|
36
|
+
isActive: currency.isActive,
|
|
37
|
+
decimalPlaces: currency.decimalPlaces,
|
|
38
|
+
exchangeRateToUSD: currency.exchangeRateToUSD,
|
|
39
|
+
};
|
|
40
|
+
}
|
|
41
|
+
};
|
|
42
|
+
exports.GetCurrencyByTypeAndCodeService = GetCurrencyByTypeAndCodeService;
|
|
43
|
+
exports.GetCurrencyByTypeAndCodeService = GetCurrencyByTypeAndCodeService = __decorate([
|
|
44
|
+
(0, common_1.Injectable)(),
|
|
45
|
+
__metadata("design:paramtypes", [fintech_1.CurrencyService])
|
|
46
|
+
], GetCurrencyByTypeAndCodeService);
|
|
47
|
+
//# sourceMappingURL=get-currency-by-type-and-code.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-currency-by-type-and-code.service.js","sourceRoot":"","sources":["../../../../src/modules/fintech/services/get-currency-by-type-and-code.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,mDAAuE;AAKhE,IAAM,+BAA+B,GAArC,MAAM,+BAA+B;IACb;IAA7B,YAA6B,eAAgC;QAAhC,oBAAe,GAAf,eAAe,CAAiB;IAAG,CAAC;IAEjE,KAAK,CAAC,OAAO,CACX,MAA+B,EAC/B,QAA+B;QAE/B,MAAM,IAAI,GAAG,MAAM,CAAC,IAAqB,CAAC;QAC1C,MAAM,IAAI,GAAG,MAAM,CAAC,IAAc,CAAC;QAEnC,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QAED,IAAI,CAAC,IAAI,EAAE,CAAC;YACV,MAAM,IAAI,KAAK,CAAC,2BAA2B,CAAC,CAAC;QAC/C,CAAC;QAED,MAAM,QAAQ,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,wBAAwB,CAAC,IAAI,EAAE,IAAI,CAAC,CAAC;QAEjF,OAAO;YACL,EAAE,EAAE,QAAQ,CAAC,EAAE;YACf,IAAI,EAAE,QAAQ,CAAC,IAAI;YACnB,IAAI,EAAE,QAAQ,CAAC,IAAI;YACnB,MAAM,EAAE,QAAQ,CAAC,MAAM;YACvB,IAAI,EAAE,QAAQ,CAAC,IAAI;YACnB,QAAQ,EAAE,QAAQ,CAAC,QAAQ;YAC3B,aAAa,EAAE,QAAQ,CAAC,aAAa;YACrC,iBAAiB,EAAE,QAAQ,CAAC,iBAAiB;SAC9C,CAAC;IACJ,CAAC;CACF,CAAA;AA/BY,0EAA+B;0CAA/B,+BAA+B;IAD3C,IAAA,mBAAU,GAAE;qCAEmC,yBAAe;GADlD,+BAA+B,CA+B3C"}
|
|
@@ -9,6 +9,7 @@ export * from './get-account.service';
|
|
|
9
9
|
export * from './get-accounts-by-user.service';
|
|
10
10
|
export * from './get-balance.service';
|
|
11
11
|
export * from './get-beneficiary.service';
|
|
12
|
+
export * from './get-currency-by-type-and-code.service';
|
|
12
13
|
export * from './get-operation.service';
|
|
13
14
|
export * from './get-remittance-by-external-tx-id.service';
|
|
14
15
|
export * from './get-remittance-by-id.service';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/fintech/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yBAAyB,CAAC;AACxC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/fintech/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,0BAA0B,CAAC;AACzC,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,uBAAuB,CAAC;AACtC,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc,yBAAyB,CAAC;AACxC,cAAc,4CAA4C,CAAC;AAC3D,cAAc,gCAAgC,CAAC;AAC/C,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,mCAAmC,CAAC"}
|
|
@@ -25,6 +25,7 @@ __exportStar(require("./get-account.service"), exports);
|
|
|
25
25
|
__exportStar(require("./get-accounts-by-user.service"), exports);
|
|
26
26
|
__exportStar(require("./get-balance.service"), exports);
|
|
27
27
|
__exportStar(require("./get-beneficiary.service"), exports);
|
|
28
|
+
__exportStar(require("./get-currency-by-type-and-code.service"), exports);
|
|
28
29
|
__exportStar(require("./get-operation.service"), exports);
|
|
29
30
|
__exportStar(require("./get-remittance-by-external-tx-id.service"), exports);
|
|
30
31
|
__exportStar(require("./get-remittance-by-id.service"), exports);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/fintech/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,gEAA8C;AAC9C,2DAAyC;AACzC,+DAA6C;AAC7C,6DAA2C;AAC3C,8DAA4C;AAC5C,+DAA6C;AAC7C,wDAAsC;AACtC,iEAA+C;AAC/C,wDAAsC;AACtC,4DAA0C;AAC1C,0DAAwC;AACxC,6EAA2D;AAC3D,iEAA+C;AAC/C,wEAAsD;AACtD,4DAA0C;AAC1C,oEAAkD;AAClD,6DAA2C;AAC3C,kEAAgD;AAChD,oEAAkD"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/fintech/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,wDAAsC;AACtC,gEAA8C;AAC9C,2DAAyC;AACzC,+DAA6C;AAC7C,6DAA2C;AAC3C,8DAA4C;AAC5C,+DAA6C;AAC7C,wDAAsC;AACtC,iEAA+C;AAC/C,wDAAsC;AACtC,4DAA0C;AAC1C,0EAAwD;AACxD,0DAAwC;AACxC,6EAA2D;AAC3D,iEAA+C;AAC/C,wEAAsD;AACtD,4DAA0C;AAC1C,oEAAkD;AAClD,6DAA2C;AAC3C,kEAAgD;AAChD,oEAAkD"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@venturialstd/workflow",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.77",
|
|
4
4
|
"description": "Workflow Module for Venturial",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -76,7 +76,7 @@
|
|
|
76
76
|
"@nestjs/typeorm": "^11.0.0",
|
|
77
77
|
"@venturialstd/circle": "^0.0.3",
|
|
78
78
|
"@venturialstd/core": "^1.0.16",
|
|
79
|
-
"@venturialstd/fintech": "^0.0.
|
|
79
|
+
"@venturialstd/fintech": "^0.0.5",
|
|
80
80
|
"@venturialstd/kira": "^0.0.1",
|
|
81
81
|
"@venturialstd/toolbox": "^0.0.1",
|
|
82
82
|
"@venturialstd/twilio": "^0.0.4",
|