@venturialstd/workflow 0.1.44 → 0.1.46

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (82) hide show
  1. package/dist/modules/index.d.ts +2 -0
  2. package/dist/modules/index.d.ts.map +1 -1
  3. package/dist/modules/index.js +9 -1
  4. package/dist/modules/index.js.map +1 -1
  5. package/dist/modules/twilio/actions/send-sms.action.d.ts.map +1 -1
  6. package/dist/modules/twilio/actions/send-sms.action.js.map +1 -1
  7. package/dist/modules/twilio/services/send-sms.service.d.ts.map +1 -1
  8. package/dist/modules/twilio/services/send-sms.service.js +4 -4
  9. package/dist/modules/twilio/services/send-sms.service.js.map +1 -1
  10. package/dist/modules/twilio/utils/template-options.util.d.ts.map +1 -1
  11. package/dist/modules/twilio/utils/template-options.util.js.map +1 -1
  12. package/dist/modules/validation/actions/check-array.action.d.ts +3 -0
  13. package/dist/modules/validation/actions/check-array.action.d.ts.map +1 -0
  14. package/dist/modules/validation/actions/check-array.action.js +127 -0
  15. package/dist/modules/validation/actions/check-array.action.js.map +1 -0
  16. package/dist/modules/validation/actions/check-property.action.d.ts +3 -0
  17. package/dist/modules/validation/actions/check-property.action.d.ts.map +1 -0
  18. package/dist/modules/validation/actions/check-property.action.js +138 -0
  19. package/dist/modules/validation/actions/check-property.action.js.map +1 -0
  20. package/dist/modules/validation/actions/index.d.ts +3 -0
  21. package/dist/modules/validation/actions/index.d.ts.map +1 -0
  22. package/dist/modules/validation/actions/index.js +19 -0
  23. package/dist/modules/validation/actions/index.js.map +1 -0
  24. package/dist/modules/validation/services/check-array.service.d.ts +5 -0
  25. package/dist/modules/validation/services/check-array.service.d.ts.map +1 -0
  26. package/dist/modules/validation/services/check-array.service.js +240 -0
  27. package/dist/modules/validation/services/check-array.service.js.map +1 -0
  28. package/dist/modules/validation/services/check-property.service.d.ts +5 -0
  29. package/dist/modules/validation/services/check-property.service.d.ts.map +1 -0
  30. package/dist/modules/validation/services/check-property.service.js +637 -0
  31. package/dist/modules/validation/services/check-property.service.js.map +1 -0
  32. package/dist/modules/validation/services/index.d.ts +3 -0
  33. package/dist/modules/validation/services/index.d.ts.map +1 -0
  34. package/dist/modules/validation/services/index.js +19 -0
  35. package/dist/modules/validation/services/index.js.map +1 -0
  36. package/dist/modules/validation/validation-nest.module.d.ts +3 -0
  37. package/dist/modules/validation/validation-nest.module.d.ts.map +1 -0
  38. package/dist/modules/validation/validation-nest.module.js +21 -0
  39. package/dist/modules/validation/validation-nest.module.js.map +1 -0
  40. package/dist/modules/validation/validation.module.d.ts +3 -0
  41. package/dist/modules/validation/validation.module.d.ts.map +1 -0
  42. package/dist/modules/validation/validation.module.js +14 -0
  43. package/dist/modules/validation/validation.module.js.map +1 -0
  44. package/dist/modules/vcard/actions/get-vcard.action.d.ts +3 -0
  45. package/dist/modules/vcard/actions/get-vcard.action.d.ts.map +1 -0
  46. package/dist/modules/vcard/actions/get-vcard.action.js +106 -0
  47. package/dist/modules/vcard/actions/get-vcard.action.js.map +1 -0
  48. package/dist/modules/vcard/actions/index.d.ts +2 -0
  49. package/dist/modules/vcard/actions/index.d.ts.map +1 -0
  50. package/dist/modules/vcard/actions/index.js +18 -0
  51. package/dist/modules/vcard/actions/index.js.map +1 -0
  52. package/dist/modules/vcard/controllers/index.d.ts +2 -0
  53. package/dist/modules/vcard/controllers/index.d.ts.map +1 -0
  54. package/dist/modules/vcard/controllers/index.js +18 -0
  55. package/dist/modules/vcard/controllers/index.js.map +1 -0
  56. package/dist/modules/vcard/controllers/vcard-test.controller.d.ts +17 -0
  57. package/dist/modules/vcard/controllers/vcard-test.controller.d.ts.map +1 -0
  58. package/dist/modules/vcard/controllers/vcard-test.controller.js +62 -0
  59. package/dist/modules/vcard/controllers/vcard-test.controller.js.map +1 -0
  60. package/dist/modules/vcard/services/get-vcard.service.d.ts +5 -0
  61. package/dist/modules/vcard/services/get-vcard.service.d.ts.map +1 -0
  62. package/dist/modules/vcard/services/get-vcard.service.js +189 -0
  63. package/dist/modules/vcard/services/get-vcard.service.js.map +1 -0
  64. package/dist/modules/vcard/services/index.d.ts +2 -0
  65. package/dist/modules/vcard/services/index.d.ts.map +1 -0
  66. package/dist/modules/vcard/services/index.js +18 -0
  67. package/dist/modules/vcard/services/index.js.map +1 -0
  68. package/dist/modules/vcard/vcard-nest.module.d.ts +3 -0
  69. package/dist/modules/vcard/vcard-nest.module.d.ts.map +1 -0
  70. package/dist/modules/vcard/vcard-nest.module.js +23 -0
  71. package/dist/modules/vcard/vcard-nest.module.js.map +1 -0
  72. package/dist/modules/vcard/vcard.module.d.ts +3 -0
  73. package/dist/modules/vcard/vcard.module.d.ts.map +1 -0
  74. package/dist/modules/vcard/vcard.module.js +14 -0
  75. package/dist/modules/vcard/vcard.module.js.map +1 -0
  76. package/dist/services/workflow-execution.service.d.ts.map +1 -1
  77. package/dist/services/workflow-execution.service.js +8 -2
  78. package/dist/services/workflow-execution.service.js.map +1 -1
  79. package/dist/workflow.module.d.ts.map +1 -1
  80. package/dist/workflow.module.js +6 -0
  81. package/dist/workflow.module.js.map +1 -1
  82. package/package.json +1 -1
@@ -0,0 +1,240 @@
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
+ let arrayPath = inputs.arrayPath;
43
+ const checkType = inputs.checkType || 'not_empty';
44
+ const expectedCount = inputs.expectedCount !== undefined ? Number(inputs.expectedCount) : undefined;
45
+ const itemValue = inputs.itemValue;
46
+ const itemProperty = inputs.itemProperty;
47
+ const itemPropertyValue = inputs.itemPropertyValue;
48
+ if (!arrayPath) {
49
+ return {
50
+ result: false,
51
+ count: 0,
52
+ message: 'Array path is required',
53
+ };
54
+ }
55
+ arrayPath = arrayPath.replace(/^\{\{/, '').replace(/\}\}$/, '').trim();
56
+ const arrayValue = getNestedProperty(context.previousOutputs || {}, arrayPath);
57
+ if (!Array.isArray(arrayValue)) {
58
+ return {
59
+ result: false,
60
+ count: 0,
61
+ message: `Property "${arrayPath}" is not an array`,
62
+ };
63
+ }
64
+ const count = arrayValue.length;
65
+ let result = false;
66
+ let message = '';
67
+ switch (checkType) {
68
+ case 'not_empty':
69
+ result = count > 0;
70
+ message = result
71
+ ? `Array "${arrayPath}" is not empty (${count} items)`
72
+ : `Array "${arrayPath}" is empty`;
73
+ break;
74
+ case 'empty':
75
+ result = count === 0;
76
+ message = result
77
+ ? `Array "${arrayPath}" is empty`
78
+ : `Array "${arrayPath}" is not empty (${count} items)`;
79
+ break;
80
+ case 'count_equals':
81
+ if (expectedCount === undefined) {
82
+ return {
83
+ result: false,
84
+ count,
85
+ message: 'Expected count is required for count_equals check',
86
+ };
87
+ }
88
+ result = count === expectedCount;
89
+ message = result
90
+ ? `Array "${arrayPath}" count (${count}) equals ${expectedCount}`
91
+ : `Array "${arrayPath}" count (${count}) does not equal ${expectedCount}`;
92
+ break;
93
+ case 'count_greater_than':
94
+ if (expectedCount === undefined) {
95
+ return {
96
+ result: false,
97
+ count,
98
+ message: 'Expected count is required for count_greater_than check',
99
+ };
100
+ }
101
+ result = count > expectedCount;
102
+ message = result
103
+ ? `Array "${arrayPath}" count (${count}) is greater than ${expectedCount}`
104
+ : `Array "${arrayPath}" count (${count}) is not greater than ${expectedCount}`;
105
+ break;
106
+ case 'count_less_than':
107
+ if (expectedCount === undefined) {
108
+ return {
109
+ result: false,
110
+ count,
111
+ message: 'Expected count is required for count_less_than check',
112
+ };
113
+ }
114
+ result = count < expectedCount;
115
+ message = result
116
+ ? `Array "${arrayPath}" count (${count}) is less than ${expectedCount}`
117
+ : `Array "${arrayPath}" count (${count}) is not less than ${expectedCount}`;
118
+ break;
119
+ case 'count_greater_or_equal':
120
+ if (expectedCount === undefined) {
121
+ return {
122
+ result: false,
123
+ count,
124
+ message: 'Expected count is required for count_greater_or_equal check',
125
+ };
126
+ }
127
+ result = count >= expectedCount;
128
+ message = result
129
+ ? `Array "${arrayPath}" count (${count}) is greater than or equal to ${expectedCount}`
130
+ : `Array "${arrayPath}" count (${count}) is less than ${expectedCount}`;
131
+ break;
132
+ case 'count_less_or_equal':
133
+ if (expectedCount === undefined) {
134
+ return {
135
+ result: false,
136
+ count,
137
+ message: 'Expected count is required for count_less_or_equal check',
138
+ };
139
+ }
140
+ result = count <= expectedCount;
141
+ message = result
142
+ ? `Array "${arrayPath}" count (${count}) is less than or equal to ${expectedCount}`
143
+ : `Array "${arrayPath}" count (${count}) is greater than ${expectedCount}`;
144
+ break;
145
+ case 'has_item':
146
+ if (itemValue === undefined) {
147
+ return {
148
+ result: false,
149
+ count,
150
+ message: 'Item value is required for has_item check',
151
+ };
152
+ }
153
+ result = arrayValue.some((item) => String(item) === String(itemValue));
154
+ message = result
155
+ ? `Array "${arrayPath}" contains item "${itemValue}"`
156
+ : `Array "${arrayPath}" does not contain item "${itemValue}"`;
157
+ break;
158
+ case 'has_item_with_property':
159
+ if (itemProperty === undefined || itemPropertyValue === undefined) {
160
+ return {
161
+ result: false,
162
+ count,
163
+ message: 'Item property and item property value are required for has_item_with_property check',
164
+ };
165
+ }
166
+ result = arrayValue.some((item) => {
167
+ if (!item || typeof item !== 'object') {
168
+ return false;
169
+ }
170
+ const propValue = getNestedProperty(item, itemProperty);
171
+ return String(propValue) === String(itemPropertyValue);
172
+ });
173
+ message = result
174
+ ? `Array "${arrayPath}" has item with "${itemProperty}" = "${itemPropertyValue}"`
175
+ : `Array "${arrayPath}" does not have item with "${itemProperty}" = "${itemPropertyValue}"`;
176
+ break;
177
+ case 'all_items_match':
178
+ if (itemProperty === undefined || itemPropertyValue === undefined) {
179
+ return {
180
+ result: false,
181
+ count,
182
+ message: 'Item property and item property value are required for all_items_match check',
183
+ };
184
+ }
185
+ if (count === 0) {
186
+ return {
187
+ result: false,
188
+ count,
189
+ message: 'Array is empty, cannot check if all items match',
190
+ };
191
+ }
192
+ result = arrayValue.every((item) => {
193
+ if (!item || typeof item !== 'object') {
194
+ return false;
195
+ }
196
+ const propValue = getNestedProperty(item, itemProperty);
197
+ return String(propValue) === String(itemPropertyValue);
198
+ });
199
+ message = result
200
+ ? `All items in array "${arrayPath}" have "${itemProperty}" = "${itemPropertyValue}"`
201
+ : `Not all items in array "${arrayPath}" have "${itemProperty}" = "${itemPropertyValue}"`;
202
+ break;
203
+ case 'any_item_matches':
204
+ if (itemProperty === undefined || itemPropertyValue === undefined) {
205
+ return {
206
+ result: false,
207
+ count,
208
+ message: 'Item property and item property value are required for any_item_matches check',
209
+ };
210
+ }
211
+ result = arrayValue.some((item) => {
212
+ if (!item || typeof item !== 'object') {
213
+ return false;
214
+ }
215
+ const propValue = getNestedProperty(item, itemProperty);
216
+ return String(propValue) === String(itemPropertyValue);
217
+ });
218
+ message = result
219
+ ? `At least one item in array "${arrayPath}" has "${itemProperty}" = "${itemPropertyValue}"`
220
+ : `No items in array "${arrayPath}" have "${itemProperty}" = "${itemPropertyValue}"`;
221
+ break;
222
+ default:
223
+ return {
224
+ result: false,
225
+ count,
226
+ message: `Unknown check type: ${checkType}`,
227
+ };
228
+ }
229
+ return {
230
+ result,
231
+ count,
232
+ message,
233
+ };
234
+ }
235
+ };
236
+ exports.CheckArrayService = CheckArrayService;
237
+ exports.CheckArrayService = CheckArrayService = __decorate([
238
+ (0, common_1.Injectable)()
239
+ ], CheckArrayService);
240
+ //# 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,MAAM,IAAI,IAAI,KAAK,EAAE,CAAC;QACzB,IAAI,OAAO,KAAK,IAAI,IAAI,OAAO,KAAK,SAAS,EAAE,CAAC;YAC9C,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,IAAI,OAAO,OAAO,KAAK,QAAQ,EAAE,CAAC;YAChC,OAAO,SAAS,CAAC;QACnB,CAAC;QACD,IAAI,KAAK,CAAC,OAAO,CAAC,OAAO,CAAC,EAAE,CAAC;YAC3B,MAAM,KAAK,GAAG,QAAQ,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC;YACjC,IAAI,KAAK,CA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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;AA1NY,8CAAiB;4BAAjB,iBAAiB;IAD7B,IAAA,mBAAU,GAAE;GACA,iBAAiB,CA0N7B"}
@@ -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,OAAO,EAAE,qBAAqB,GAC7B,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;CAknBpC"}