@venturialstd/workflow 0.1.43 → 0.1.45
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/index.d.ts +2 -0
- package/dist/modules/index.d.ts.map +1 -1
- package/dist/modules/index.js +9 -1
- package/dist/modules/index.js.map +1 -1
- package/dist/modules/twilio/actions/send-sms.action.d.ts.map +1 -1
- package/dist/modules/twilio/actions/send-sms.action.js.map +1 -1
- package/dist/modules/twilio/services/send-sms.service.d.ts.map +1 -1
- package/dist/modules/twilio/services/send-sms.service.js +4 -4
- package/dist/modules/twilio/services/send-sms.service.js.map +1 -1
- package/dist/modules/twilio/utils/template-options.util.d.ts.map +1 -1
- package/dist/modules/twilio/utils/template-options.util.js.map +1 -1
- package/dist/modules/validation/actions/check-array.action.d.ts +3 -0
- package/dist/modules/validation/actions/check-array.action.d.ts.map +1 -0
- package/dist/modules/validation/actions/check-array.action.js +137 -0
- package/dist/modules/validation/actions/check-array.action.js.map +1 -0
- package/dist/modules/validation/actions/check-property.action.d.ts +3 -0
- package/dist/modules/validation/actions/check-property.action.d.ts.map +1 -0
- package/dist/modules/validation/actions/check-property.action.js +148 -0
- package/dist/modules/validation/actions/check-property.action.js.map +1 -0
- package/dist/modules/validation/actions/index.d.ts +3 -0
- package/dist/modules/validation/actions/index.d.ts.map +1 -0
- package/dist/modules/validation/actions/index.js +19 -0
- package/dist/modules/validation/actions/index.js.map +1 -0
- package/dist/modules/validation/services/check-array.service.d.ts +5 -0
- package/dist/modules/validation/services/check-array.service.d.ts.map +1 -0
- package/dist/modules/validation/services/check-array.service.js +247 -0
- package/dist/modules/validation/services/check-array.service.js.map +1 -0
- package/dist/modules/validation/services/check-property.service.d.ts +5 -0
- package/dist/modules/validation/services/check-property.service.d.ts.map +1 -0
- package/dist/modules/validation/services/check-property.service.js +625 -0
- package/dist/modules/validation/services/check-property.service.js.map +1 -0
- package/dist/modules/validation/services/index.d.ts +3 -0
- package/dist/modules/validation/services/index.d.ts.map +1 -0
- package/dist/modules/validation/services/index.js +19 -0
- package/dist/modules/validation/services/index.js.map +1 -0
- package/dist/modules/validation/validation-nest.module.d.ts +3 -0
- package/dist/modules/validation/validation-nest.module.d.ts.map +1 -0
- package/dist/modules/validation/validation-nest.module.js +21 -0
- package/dist/modules/validation/validation-nest.module.js.map +1 -0
- package/dist/modules/validation/validation.module.d.ts +3 -0
- package/dist/modules/validation/validation.module.d.ts.map +1 -0
- package/dist/modules/validation/validation.module.js +14 -0
- package/dist/modules/validation/validation.module.js.map +1 -0
- package/dist/modules/vcard/actions/get-vcard.action.d.ts +3 -0
- package/dist/modules/vcard/actions/get-vcard.action.d.ts.map +1 -0
- package/dist/modules/vcard/actions/get-vcard.action.js +106 -0
- package/dist/modules/vcard/actions/get-vcard.action.js.map +1 -0
- package/dist/modules/vcard/actions/index.d.ts +2 -0
- package/dist/modules/vcard/actions/index.d.ts.map +1 -0
- package/dist/modules/vcard/actions/index.js +18 -0
- package/dist/modules/vcard/actions/index.js.map +1 -0
- package/dist/modules/vcard/controllers/index.d.ts +2 -0
- package/dist/modules/vcard/controllers/index.d.ts.map +1 -0
- package/dist/modules/vcard/controllers/index.js +18 -0
- package/dist/modules/vcard/controllers/index.js.map +1 -0
- package/dist/modules/vcard/controllers/vcard-test.controller.d.ts +17 -0
- package/dist/modules/vcard/controllers/vcard-test.controller.d.ts.map +1 -0
- package/dist/modules/vcard/controllers/vcard-test.controller.js +62 -0
- package/dist/modules/vcard/controllers/vcard-test.controller.js.map +1 -0
- package/dist/modules/vcard/services/get-vcard.service.d.ts +5 -0
- package/dist/modules/vcard/services/get-vcard.service.d.ts.map +1 -0
- package/dist/modules/vcard/services/get-vcard.service.js +188 -0
- package/dist/modules/vcard/services/get-vcard.service.js.map +1 -0
- package/dist/modules/vcard/services/index.d.ts +2 -0
- package/dist/modules/vcard/services/index.d.ts.map +1 -0
- package/dist/modules/vcard/services/index.js +18 -0
- package/dist/modules/vcard/services/index.js.map +1 -0
- package/dist/modules/vcard/vcard-nest.module.d.ts +3 -0
- package/dist/modules/vcard/vcard-nest.module.d.ts.map +1 -0
- package/dist/modules/vcard/vcard-nest.module.js +23 -0
- package/dist/modules/vcard/vcard-nest.module.js.map +1 -0
- package/dist/modules/vcard/vcard.module.d.ts +3 -0
- package/dist/modules/vcard/vcard.module.d.ts.map +1 -0
- package/dist/modules/vcard/vcard.module.js +14 -0
- package/dist/modules/vcard/vcard.module.js.map +1 -0
- package/dist/services/workflow-execution.service.d.ts.map +1 -1
- package/dist/services/workflow-execution.service.js +9 -3
- package/dist/services/workflow-execution.service.js.map +1 -1
- package/dist/workflow.module.d.ts.map +1 -1
- package/dist/workflow.module.js +6 -0
- package/dist/workflow.module.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,247 @@
|
|
|
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.CheckArrayService = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
function getNestedProperty(obj, path) {
|
|
12
|
+
if (!obj || typeof obj !== 'object') {
|
|
13
|
+
return undefined;
|
|
14
|
+
}
|
|
15
|
+
const parts = path
|
|
16
|
+
.replace(/\[(\d+)\]/g, '.$1')
|
|
17
|
+
.split('.')
|
|
18
|
+
.filter(Boolean);
|
|
19
|
+
let current = obj;
|
|
20
|
+
for (const part of parts) {
|
|
21
|
+
if (current === null || current === undefined) {
|
|
22
|
+
return undefined;
|
|
23
|
+
}
|
|
24
|
+
if (typeof current !== 'object') {
|
|
25
|
+
return undefined;
|
|
26
|
+
}
|
|
27
|
+
if (Array.isArray(current)) {
|
|
28
|
+
const index = parseInt(part, 10);
|
|
29
|
+
if (isNaN(index) || index < 0 || index >= current.length) {
|
|
30
|
+
return undefined;
|
|
31
|
+
}
|
|
32
|
+
current = current[index];
|
|
33
|
+
}
|
|
34
|
+
else {
|
|
35
|
+
current = current[part];
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
return current;
|
|
39
|
+
}
|
|
40
|
+
let CheckArrayService = class CheckArrayService {
|
|
41
|
+
async perform(inputs, _context) {
|
|
42
|
+
const data = inputs.data;
|
|
43
|
+
const arrayPath = inputs.arrayPath;
|
|
44
|
+
const checkType = inputs.checkType || 'not_empty';
|
|
45
|
+
const expectedCount = inputs.expectedCount !== undefined ? Number(inputs.expectedCount) : undefined;
|
|
46
|
+
const itemValue = inputs.itemValue;
|
|
47
|
+
const itemProperty = inputs.itemProperty;
|
|
48
|
+
const itemPropertyValue = inputs.itemPropertyValue;
|
|
49
|
+
if (!data) {
|
|
50
|
+
return {
|
|
51
|
+
result: false,
|
|
52
|
+
count: 0,
|
|
53
|
+
message: 'Data object is required',
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
if (!arrayPath) {
|
|
57
|
+
return {
|
|
58
|
+
result: false,
|
|
59
|
+
count: 0,
|
|
60
|
+
message: 'Array path is required',
|
|
61
|
+
};
|
|
62
|
+
}
|
|
63
|
+
const arrayValue = getNestedProperty(data, arrayPath);
|
|
64
|
+
if (!Array.isArray(arrayValue)) {
|
|
65
|
+
return {
|
|
66
|
+
result: false,
|
|
67
|
+
count: 0,
|
|
68
|
+
message: `Property "${arrayPath}" is not an array`,
|
|
69
|
+
};
|
|
70
|
+
}
|
|
71
|
+
const count = arrayValue.length;
|
|
72
|
+
let result = false;
|
|
73
|
+
let message = '';
|
|
74
|
+
switch (checkType) {
|
|
75
|
+
case 'not_empty':
|
|
76
|
+
result = count > 0;
|
|
77
|
+
message = result
|
|
78
|
+
? `Array "${arrayPath}" is not empty (${count} items)`
|
|
79
|
+
: `Array "${arrayPath}" is empty`;
|
|
80
|
+
break;
|
|
81
|
+
case 'empty':
|
|
82
|
+
result = count === 0;
|
|
83
|
+
message = result
|
|
84
|
+
? `Array "${arrayPath}" is empty`
|
|
85
|
+
: `Array "${arrayPath}" is not empty (${count} items)`;
|
|
86
|
+
break;
|
|
87
|
+
case 'count_equals':
|
|
88
|
+
if (expectedCount === undefined) {
|
|
89
|
+
return {
|
|
90
|
+
result: false,
|
|
91
|
+
count,
|
|
92
|
+
message: 'Expected count is required for count_equals check',
|
|
93
|
+
};
|
|
94
|
+
}
|
|
95
|
+
result = count === expectedCount;
|
|
96
|
+
message = result
|
|
97
|
+
? `Array "${arrayPath}" count (${count}) equals ${expectedCount}`
|
|
98
|
+
: `Array "${arrayPath}" count (${count}) does not equal ${expectedCount}`;
|
|
99
|
+
break;
|
|
100
|
+
case 'count_greater_than':
|
|
101
|
+
if (expectedCount === undefined) {
|
|
102
|
+
return {
|
|
103
|
+
result: false,
|
|
104
|
+
count,
|
|
105
|
+
message: 'Expected count is required for count_greater_than check',
|
|
106
|
+
};
|
|
107
|
+
}
|
|
108
|
+
result = count > expectedCount;
|
|
109
|
+
message = result
|
|
110
|
+
? `Array "${arrayPath}" count (${count}) is greater than ${expectedCount}`
|
|
111
|
+
: `Array "${arrayPath}" count (${count}) is not greater than ${expectedCount}`;
|
|
112
|
+
break;
|
|
113
|
+
case 'count_less_than':
|
|
114
|
+
if (expectedCount === undefined) {
|
|
115
|
+
return {
|
|
116
|
+
result: false,
|
|
117
|
+
count,
|
|
118
|
+
message: 'Expected count is required for count_less_than check',
|
|
119
|
+
};
|
|
120
|
+
}
|
|
121
|
+
result = count < expectedCount;
|
|
122
|
+
message = result
|
|
123
|
+
? `Array "${arrayPath}" count (${count}) is less than ${expectedCount}`
|
|
124
|
+
: `Array "${arrayPath}" count (${count}) is not less than ${expectedCount}`;
|
|
125
|
+
break;
|
|
126
|
+
case 'count_greater_or_equal':
|
|
127
|
+
if (expectedCount === undefined) {
|
|
128
|
+
return {
|
|
129
|
+
result: false,
|
|
130
|
+
count,
|
|
131
|
+
message: 'Expected count is required for count_greater_or_equal check',
|
|
132
|
+
};
|
|
133
|
+
}
|
|
134
|
+
result = count >= expectedCount;
|
|
135
|
+
message = result
|
|
136
|
+
? `Array "${arrayPath}" count (${count}) is greater than or equal to ${expectedCount}`
|
|
137
|
+
: `Array "${arrayPath}" count (${count}) is less than ${expectedCount}`;
|
|
138
|
+
break;
|
|
139
|
+
case 'count_less_or_equal':
|
|
140
|
+
if (expectedCount === undefined) {
|
|
141
|
+
return {
|
|
142
|
+
result: false,
|
|
143
|
+
count,
|
|
144
|
+
message: 'Expected count is required for count_less_or_equal check',
|
|
145
|
+
};
|
|
146
|
+
}
|
|
147
|
+
result = count <= expectedCount;
|
|
148
|
+
message = result
|
|
149
|
+
? `Array "${arrayPath}" count (${count}) is less than or equal to ${expectedCount}`
|
|
150
|
+
: `Array "${arrayPath}" count (${count}) is greater than ${expectedCount}`;
|
|
151
|
+
break;
|
|
152
|
+
case 'has_item':
|
|
153
|
+
if (itemValue === undefined) {
|
|
154
|
+
return {
|
|
155
|
+
result: false,
|
|
156
|
+
count,
|
|
157
|
+
message: 'Item value is required for has_item check',
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
result = arrayValue.some((item) => String(item) === String(itemValue));
|
|
161
|
+
message = result
|
|
162
|
+
? `Array "${arrayPath}" contains item "${itemValue}"`
|
|
163
|
+
: `Array "${arrayPath}" does not contain item "${itemValue}"`;
|
|
164
|
+
break;
|
|
165
|
+
case 'has_item_with_property':
|
|
166
|
+
if (itemProperty === undefined || itemPropertyValue === undefined) {
|
|
167
|
+
return {
|
|
168
|
+
result: false,
|
|
169
|
+
count,
|
|
170
|
+
message: 'Item property and item property value are required for has_item_with_property check',
|
|
171
|
+
};
|
|
172
|
+
}
|
|
173
|
+
result = arrayValue.some((item) => {
|
|
174
|
+
if (!item || typeof item !== 'object') {
|
|
175
|
+
return false;
|
|
176
|
+
}
|
|
177
|
+
const propValue = getNestedProperty(item, itemProperty);
|
|
178
|
+
return String(propValue) === String(itemPropertyValue);
|
|
179
|
+
});
|
|
180
|
+
message = result
|
|
181
|
+
? `Array "${arrayPath}" has item with "${itemProperty}" = "${itemPropertyValue}"`
|
|
182
|
+
: `Array "${arrayPath}" does not have item with "${itemProperty}" = "${itemPropertyValue}"`;
|
|
183
|
+
break;
|
|
184
|
+
case 'all_items_match':
|
|
185
|
+
if (itemProperty === undefined || itemPropertyValue === undefined) {
|
|
186
|
+
return {
|
|
187
|
+
result: false,
|
|
188
|
+
count,
|
|
189
|
+
message: 'Item property and item property value are required for all_items_match check',
|
|
190
|
+
};
|
|
191
|
+
}
|
|
192
|
+
if (count === 0) {
|
|
193
|
+
return {
|
|
194
|
+
result: false,
|
|
195
|
+
count,
|
|
196
|
+
message: 'Array is empty, cannot check if all items match',
|
|
197
|
+
};
|
|
198
|
+
}
|
|
199
|
+
result = arrayValue.every((item) => {
|
|
200
|
+
if (!item || typeof item !== 'object') {
|
|
201
|
+
return false;
|
|
202
|
+
}
|
|
203
|
+
const propValue = getNestedProperty(item, itemProperty);
|
|
204
|
+
return String(propValue) === String(itemPropertyValue);
|
|
205
|
+
});
|
|
206
|
+
message = result
|
|
207
|
+
? `All items in array "${arrayPath}" have "${itemProperty}" = "${itemPropertyValue}"`
|
|
208
|
+
: `Not all items in array "${arrayPath}" have "${itemProperty}" = "${itemPropertyValue}"`;
|
|
209
|
+
break;
|
|
210
|
+
case 'any_item_matches':
|
|
211
|
+
if (itemProperty === undefined || itemPropertyValue === undefined) {
|
|
212
|
+
return {
|
|
213
|
+
result: false,
|
|
214
|
+
count,
|
|
215
|
+
message: 'Item property and item property value are required for any_item_matches check',
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
result = arrayValue.some((item) => {
|
|
219
|
+
if (!item || typeof item !== 'object') {
|
|
220
|
+
return false;
|
|
221
|
+
}
|
|
222
|
+
const propValue = getNestedProperty(item, itemProperty);
|
|
223
|
+
return String(propValue) === String(itemPropertyValue);
|
|
224
|
+
});
|
|
225
|
+
message = result
|
|
226
|
+
? `At least one item in array "${arrayPath}" has "${itemProperty}" = "${itemPropertyValue}"`
|
|
227
|
+
: `No items in array "${arrayPath}" have "${itemProperty}" = "${itemPropertyValue}"`;
|
|
228
|
+
break;
|
|
229
|
+
default:
|
|
230
|
+
return {
|
|
231
|
+
result: false,
|
|
232
|
+
count,
|
|
233
|
+
message: `Unknown check type: ${checkType}`,
|
|
234
|
+
};
|
|
235
|
+
}
|
|
236
|
+
return {
|
|
237
|
+
result,
|
|
238
|
+
count,
|
|
239
|
+
message,
|
|
240
|
+
};
|
|
241
|
+
}
|
|
242
|
+
};
|
|
243
|
+
exports.CheckArrayService = CheckArrayService;
|
|
244
|
+
exports.CheckArrayService = CheckArrayService = __decorate([
|
|
245
|
+
(0, common_1.Injectable)()
|
|
246
|
+
], CheckArrayService);
|
|
247
|
+
//# sourceMappingURL=check-array.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-array.service.js","sourceRoot":"","sources":["../../../../src/modules/validation/services/check-array.service.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAA4C;AAO5C,SAAS,iBAAiB,CAAC,GAAY,EAAE,IAAY;IACnD,IAAI,CAAC,GAAG,IAAI,OAAO,GAAG,KAAK,QAAQ,EAAE,CAAC;QACpC,OAAO,SAAS,CAAC;IACnB,CAAC;IAED,MAAM,KAAK,GAAG,IAAI;SACf,OAAO,CAAC,YAAY,EAAE,KAAK,CAAC;SAC5B,KAAK,CAAC,GAAG,CAAC;SACV,MAAM,CAAC,OAAO,CAAC,CAAC;IAEnB,IAAI,OAAO,GAAY,GAAG,CAAC;IAC3B,KAAK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2B,SAAS,WAAW,YAAY,QAAQ,iBAAiB,GAAG,CAAC;gBAC5F,MAAM;YAER,KAAK,kBAAkB;gBACrB,IAAI,YAAY,KAAK,SAAS,IAAI,iBAAiB,KAAK,SAAS,EAAE,CAAC;oBAClE,OAAO;wBACL,MAAM,EAAE,KAAK;wBACb,KAAK;wBACL,OAAO,EAAE,+EAA+E;qBACzF,CAAC;gBACJ,CAAC;gBACD,MAAM,GAAG,UAAU,CAAC,IAAI,CAAC,CAAC,IAAI,EAAE,EAAE;oBAChC,IAAI,CAAC,IAAI,IAAI,OAAO,IAAI,KAAK,QAAQ,EAAE,CAAC;wBACtC,OAAO,KAAK,CAAC;oBACf,CAAC;oBACD,MAAM,SAAS,GAAG,iBAAiB,CAAC,IAAI,EAAE,YAAY,CAAC,CAAC;oBACxD,OAAO,MAAM,CAAC,SAAS,CAAC,KAAK,MAAM,CAAC,iBAAiB,CAAC,CAAC;gBACzD,CAAC,CAAC,CAAC;gBACH,OAAO,GAAG,MAAM;oBACd,CAAC,CAAC,+BAA+B,SAAS,UAAU,YAAY,QAAQ,iBAAiB,GAAG;oBAC5F,CAAC,CAAC,sBAAsB,SAAS,WAAW,YAAY,QAAQ,iBAAiB,GAAG,CAAC;gBACvF,MAAM;YAER;gBACE,OAAO;oBACL,MAAM,EAAE,KAAK;oBACb,KAAK;oBACL,OAAO,EAAE,uBAAuB,SAAS,EAAE;iBAC5C,CAAC;QACN,CAAC;QAED,OAAO;YACL,MAAM;YACN,KAAK;YACL,OAAO;SACR,CAAC;IACJ,CAAC;CACF,CAAA;AAhOY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,mBAAU,GAAE;GACA,iBAAiB,CAgO7B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IWorkflowActionService, WorkflowActionContext } from '../../types';
|
|
2
|
+
export declare class CheckPropertyService implements IWorkflowActionService {
|
|
3
|
+
perform(inputs: Record<string, unknown>, _context: WorkflowActionContext): Promise<Record<string, unknown>>;
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=check-property.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"check-property.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/validation/services/check-property.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AAsC5E,qBACa,oBAAqB,YAAW,sBAAsB;IAC3D,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;CAqmBpC"}
|