@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.
- 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 +127 -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 +138 -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 +240 -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 +637 -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 +189 -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 +8 -2
- 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 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/validation/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,0BAA0B,CAAC;AACzC,cAAc,uBAAuB,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./check-property.service"), exports);
|
|
18
|
+
__exportStar(require("./check-array.service"), exports);
|
|
19
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/validation/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,2DAAyC;AACzC,wDAAsC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation-nest.module.d.ts","sourceRoot":"","sources":["../../../src/modules/validation/validation-nest.module.ts"],"names":[],"mappings":"AAIA,qBAIa,oBAAoB;CAAG"}
|
|
@@ -0,0 +1,21 @@
|
|
|
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.ValidationNestModule = void 0;
|
|
10
|
+
const common_1 = require("@nestjs/common");
|
|
11
|
+
const services_1 = require("./services");
|
|
12
|
+
let ValidationNestModule = class ValidationNestModule {
|
|
13
|
+
};
|
|
14
|
+
exports.ValidationNestModule = ValidationNestModule;
|
|
15
|
+
exports.ValidationNestModule = ValidationNestModule = __decorate([
|
|
16
|
+
(0, common_1.Module)({
|
|
17
|
+
providers: [services_1.CheckPropertyService, services_1.CheckArrayService],
|
|
18
|
+
exports: [services_1.CheckPropertyService, services_1.CheckArrayService],
|
|
19
|
+
})
|
|
20
|
+
], ValidationNestModule);
|
|
21
|
+
//# sourceMappingURL=validation-nest.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation-nest.module.js","sourceRoot":"","sources":["../../../src/modules/validation/validation-nest.module.ts"],"names":[],"mappings":";;;;;;;;;AAAA,2CAAwC;AAExC,yCAAqE;AAM9D,IAAM,oBAAoB,GAA1B,MAAM,oBAAoB;CAAG,CAAA;AAAvB,oDAAoB;+BAApB,oBAAoB;IAJhC,IAAA,eAAM,EAAC;QACN,SAAS,EAAE,CAAC,+BAAoB,EAAE,4BAAiB,CAAC;QACpD,OAAO,EAAE,CAAC,+BAAoB,EAAE,4BAAiB,CAAC;KACnD,CAAC;GACW,oBAAoB,CAAG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation.module.d.ts","sourceRoot":"","sources":["../../../src/modules/validation/validation.module.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,wBAAwB,EAAE,MAAM,UAAU,CAAC;AAGpD,eAAO,MAAM,gBAAgB,EAAE,wBAQ9B,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.validationModule = void 0;
|
|
4
|
+
const actions_1 = require("./actions");
|
|
5
|
+
exports.validationModule = {
|
|
6
|
+
key: 'validation',
|
|
7
|
+
name: 'Validation',
|
|
8
|
+
description: 'Validate and check properties and arrays in data structures',
|
|
9
|
+
icon: '✓',
|
|
10
|
+
version: '1.0.0',
|
|
11
|
+
actions: [actions_1.checkPropertyAction, actions_1.checkArrayAction],
|
|
12
|
+
triggers: [],
|
|
13
|
+
};
|
|
14
|
+
//# sourceMappingURL=validation.module.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"validation.module.js","sourceRoot":"","sources":["../../../src/modules/validation/validation.module.ts"],"names":[],"mappings":";;;AACA,uCAAkE;AAErD,QAAA,gBAAgB,GAA6B;IACxD,GAAG,EAAE,YAAY;IACjB,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,6DAA6D;IAC1E,IAAI,EAAE,GAAG;IACT,OAAO,EAAE,OAAO;IAChB,OAAO,EAAE,CAAC,6BAAmB,EAAE,0BAAgB,CAAC;IAChD,QAAQ,EAAE,EAAE;CACb,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-vcard.action.d.ts","sourceRoot":"","sources":["../../../../src/modules/vcard/actions/get-vcard.action.ts"],"names":[],"mappings":"AAAA,OAAO,EAIL,qBAAqB,EACtB,MAAM,aAAa,CAAC;AAGrB,eAAO,MAAM,cAAc,EAAE,qBAmG5B,CAAC"}
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getVCardAction = void 0;
|
|
4
|
+
const types_1 = require("../../types");
|
|
5
|
+
const get_vcard_service_1 = require("../services/get-vcard.service");
|
|
6
|
+
exports.getVCardAction = {
|
|
7
|
+
key: 'get-vcard',
|
|
8
|
+
name: 'Get vCard Details',
|
|
9
|
+
description: 'Fetch and parse vCard (contact) information from a URL',
|
|
10
|
+
category: types_1.NODE_CATEGORY.ACTION,
|
|
11
|
+
icon: '📇',
|
|
12
|
+
serviceClass: get_vcard_service_1.GetVCardService,
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
id: 'url',
|
|
16
|
+
name: 'vCard URL',
|
|
17
|
+
description: 'The URL to fetch the vCard file from',
|
|
18
|
+
type: types_1.FIELD_TYPE.URL,
|
|
19
|
+
validation: {
|
|
20
|
+
required: true,
|
|
21
|
+
},
|
|
22
|
+
placeholder: 'https://example.com/contact.vcf',
|
|
23
|
+
},
|
|
24
|
+
],
|
|
25
|
+
outputs: [
|
|
26
|
+
{
|
|
27
|
+
id: 'success',
|
|
28
|
+
name: 'Success',
|
|
29
|
+
description: 'Whether the vCard was fetched and parsed successfully',
|
|
30
|
+
type: types_1.FIELD_TYPE.BOOLEAN,
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
id: 'fullName',
|
|
34
|
+
name: 'Full Name',
|
|
35
|
+
description: 'Full name (FN field)',
|
|
36
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
id: 'firstName',
|
|
40
|
+
name: 'First Name',
|
|
41
|
+
description: 'First name from N field',
|
|
42
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
id: 'lastName',
|
|
46
|
+
name: 'Last Name',
|
|
47
|
+
description: 'Last name from N field',
|
|
48
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
id: 'organization',
|
|
52
|
+
name: 'Organization',
|
|
53
|
+
description: 'Organization name',
|
|
54
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
id: 'title',
|
|
58
|
+
name: 'Title',
|
|
59
|
+
description: 'Job title',
|
|
60
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
id: 'phones',
|
|
64
|
+
name: 'Phone Numbers',
|
|
65
|
+
description: 'Array of phone numbers with types',
|
|
66
|
+
type: types_1.FIELD_TYPE.JSON,
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
id: 'emails',
|
|
70
|
+
name: 'Email Addresses',
|
|
71
|
+
description: 'Array of email addresses with types',
|
|
72
|
+
type: types_1.FIELD_TYPE.JSON,
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
id: 'addresses',
|
|
76
|
+
name: 'Addresses',
|
|
77
|
+
description: 'Array of addresses with types',
|
|
78
|
+
type: types_1.FIELD_TYPE.JSON,
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
id: 'url',
|
|
82
|
+
name: 'URL',
|
|
83
|
+
description: 'Website URL',
|
|
84
|
+
type: types_1.FIELD_TYPE.URL,
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
id: 'note',
|
|
88
|
+
name: 'Note',
|
|
89
|
+
description: 'Additional notes',
|
|
90
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
id: 'photo',
|
|
94
|
+
name: 'Photo',
|
|
95
|
+
description: 'Photo URL or data',
|
|
96
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
id: 'raw',
|
|
100
|
+
name: 'Raw vCard',
|
|
101
|
+
description: 'Raw vCard text content',
|
|
102
|
+
type: types_1.FIELD_TYPE.STRING,
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
};
|
|
106
|
+
//# sourceMappingURL=get-vcard.action.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-vcard.action.js","sourceRoot":"","sources":["../../../../src/modules/vcard/actions/get-vcard.action.ts"],"names":[],"mappings":";;;AAAA,uCAKqB;AACrB,qEAAgE;AAEnD,QAAA,cAAc,GAA0B;IACnD,GAAG,EAAE,WAAW;IAChB,IAAI,EAAE,mBAAmB;IACzB,WAAW,EAAE,wDAAwD;IACrE,QAAQ,EAAE,qBAAa,CAAC,MAAM;IAC9B,IAAI,EAAE,IAAI;IACV,YAAY,EAAE,mCAAqE;IACnF,MAAM,EAAE;QACN;YACE,EAAE,EAAE,KAAK;YACT,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,sCAAsC;YACnD,IAAI,EAAE,kBAAU,CAAC,GAAG;YACpB,UAAU,EAAE;gBACV,QAAQ,EAAE,IAAI;aACf;YACD,WAAW,EAAE,iCAAiC;SAC/C;KACF;IACD,OAAO,EAAE;QACP;YACE,EAAE,EAAE,SAAS;YACb,IAAI,EAAE,S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AkB;YAC/B,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,OAAO;YACX,IAAI,EAAE,OAAO;YACb,WAAW,EAAE,mBAAmB;YAChC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;QACD;YACE,EAAE,EAAE,KAAK;YACT,IAAI,EAAE,WAAW;YACjB,WAAW,EAAE,wBAAwB;YACrC,IAAI,EAAE,kBAAU,CAAC,MAAM;SACxB;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/vcard/actions/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./get-vcard.action"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/vcard/actions/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,qDAAmC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/vcard/controllers/index.ts"],"names":[],"mappings":"AAAA,cAAc,yBAAyB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./vcard-test.controller"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/vcard/controllers/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0DAAwC"}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { GetVCardService } from '../services/get-vcard.service';
|
|
2
|
+
export declare class VCardTestController {
|
|
3
|
+
private readonly getVCardService;
|
|
4
|
+
constructor(getVCardService: GetVCardService);
|
|
5
|
+
testGetVCard(body: {
|
|
6
|
+
url: string;
|
|
7
|
+
}): Promise<{
|
|
8
|
+
success: boolean;
|
|
9
|
+
data: Record<string, unknown>;
|
|
10
|
+
error?: undefined;
|
|
11
|
+
} | {
|
|
12
|
+
success: boolean;
|
|
13
|
+
error: string;
|
|
14
|
+
data?: undefined;
|
|
15
|
+
}>;
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=vcard-test.controller.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vcard-test.controller.d.ts","sourceRoot":"","sources":["../../../../src/modules/vcard/controllers/vcard-test.controller.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,qBAEa,mBAAmB;IAClB,OAAO,CAAC,QAAQ,CAAC,eAAe;gBAAf,eAAe,EAAE,eAAe;IAMvD,YAAY,CAAS,IAAI,EAAE;QAAE,GAAG,EAAE,MAAM,CAAA;KAAE;;;;;;;;;CAuBjD"}
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
var __param = (this && this.__param) || function (paramIndex, decorator) {
|
|
12
|
+
return function (target, key) { decorator(target, key, paramIndex); }
|
|
13
|
+
};
|
|
14
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
15
|
+
exports.VCardTestController = void 0;
|
|
16
|
+
const common_1 = require("@nestjs/common");
|
|
17
|
+
const swagger_1 = require("@nestjs/swagger");
|
|
18
|
+
const get_vcard_service_1 = require("../services/get-vcard.service");
|
|
19
|
+
let VCardTestController = class VCardTestController {
|
|
20
|
+
getVCardService;
|
|
21
|
+
constructor(getVCardService) {
|
|
22
|
+
this.getVCardService = getVCardService;
|
|
23
|
+
}
|
|
24
|
+
async testGetVCard(body) {
|
|
25
|
+
try {
|
|
26
|
+
const result = await this.getVCardService.perform({ url: body.url }, {
|
|
27
|
+
workflowId: undefined,
|
|
28
|
+
executionId: undefined,
|
|
29
|
+
credentials: undefined,
|
|
30
|
+
context: undefined,
|
|
31
|
+
previousOutputs: undefined,
|
|
32
|
+
});
|
|
33
|
+
return {
|
|
34
|
+
success: true,
|
|
35
|
+
data: result,
|
|
36
|
+
};
|
|
37
|
+
}
|
|
38
|
+
catch (error) {
|
|
39
|
+
return {
|
|
40
|
+
success: false,
|
|
41
|
+
error: error instanceof Error ? error.message : 'Unknown error',
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
exports.VCardTestController = VCardTestController;
|
|
47
|
+
__decorate([
|
|
48
|
+
(0, common_1.Post)('test'),
|
|
49
|
+
(0, swagger_1.ApiOperation)({ summary: 'Test vCard fetching and parsing from URL' }),
|
|
50
|
+
(0, swagger_1.ApiResponse)({ status: 200, description: 'vCard data parsed successfully' }),
|
|
51
|
+
(0, swagger_1.ApiResponse)({ status: 400, description: 'Invalid request or URL' }),
|
|
52
|
+
__param(0, (0, common_1.Body)()),
|
|
53
|
+
__metadata("design:type", Function),
|
|
54
|
+
__metadata("design:paramtypes", [Object]),
|
|
55
|
+
__metadata("design:returntype", Promise)
|
|
56
|
+
], VCardTestController.prototype, "testGetVCard", null);
|
|
57
|
+
exports.VCardTestController = VCardTestController = __decorate([
|
|
58
|
+
(0, swagger_1.ApiTags)('workflow/vcard'),
|
|
59
|
+
(0, common_1.Controller)('workflow/vcard'),
|
|
60
|
+
__metadata("design:paramtypes", [get_vcard_service_1.GetVCardService])
|
|
61
|
+
], VCardTestController);
|
|
62
|
+
//# sourceMappingURL=vcard-test.controller.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vcard-test.controller.js","sourceRoot":"","sources":["../../../../src/modules/vcard/controllers/vcard-test.controller.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;AAAA,2CAAwD;AACxD,6CAAqE;AAErE,qEAAgE;AAIzD,IAAM,mBAAmB,GAAzB,MAAM,mBAAmB;IACD;IAA7B,YAA6B,eAAgC;QAAhC,oBAAe,GAAf,eAAe,CAAiB;IAAG,CAAC;IAM3D,AAAN,KAAK,CAAC,YAAY,CAAS,IAAqB;QAC9C,IAAI,CAAC;YACH,MAAM,MAAM,GAAG,MAAM,IAAI,CAAC,eAAe,CAAC,OAAO,CAC/C,EAAE,GAAG,EAAE,IAAI,CAAC,GAAG,EAAE,EACjB;gBACE,UAAU,EAAE,SAAS;gBACrB,WAAW,EAAE,SAAS;gBACtB,WAAW,EAAE,SAAS;gBACtB,OAAO,EAAE,SAAS;gBAClB,eAAe,EAAE,SAAS;aAC3B,CACF,CAAC;YACF,OAAO;gBACL,OAAO,EAAE,IAAI;gBACb,IAAI,EAAE,MAAM;aACb,CAAC;QACJ,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACf,OAAO;gBACL,OAAO,EAAE,KAAK;gBACd,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe;aAChE,CAAC;QACJ,CAAC;IACH,CAAC;CACF,CAAA;AA9BY,kDAAmB;AAOxB;IAJL,IAAA,aAAI,EAAC,MAAM,CAAC;IACZ,IAAA,sBAAY,EAAC,EAAE,OAAO,EAAE,0CAA0C,EAAE,CAAC;IACrE,IAAA,qBAAW,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,WAAW,EAAE,gCAAgC,EAAE,CAAC;IAC3E,IAAA,qBAAW,EAAC,EAAE,MAAM,EAAE,GAAG,EAAE,WAAW,EAAE,wBAAwB,EAAE,CAAC;IAChD,WAAA,IAAA,aAAI,GAAE,CAAA;;;;uDAsBzB;8BA7BU,mBAAmB;IAF/B,IAAA,iBAAO,EAAC,gBAAgB,CAAC;IACzB,IAAA,mBAAU,EAAC,gBAAgB,CAAC;qCAEmB,mCAAe;GADlD,mBAAmB,CA8B/B"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { IWorkflowActionService, WorkflowActionContext } from '../../types';
|
|
2
|
+
export declare class GetVCardService implements IWorkflowActionService {
|
|
3
|
+
perform(inputs: Record<string, unknown>, _context: WorkflowActionContext): Promise<Record<string, unknown>>;
|
|
4
|
+
}
|
|
5
|
+
//# sourceMappingURL=get-vcard.service.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-vcard.service.d.ts","sourceRoot":"","sources":["../../../../src/modules/vcard/services/get-vcard.service.ts"],"names":[],"mappings":"AAGA,OAAO,EAAE,sBAAsB,EAAE,qBAAqB,EAAE,MAAM,aAAa,CAAC;AA2J5E,qBACa,eAAgB,YAAW,sBAAsB;IACtD,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;CAqEpC"}
|
|
@@ -0,0 +1,189 @@
|
|
|
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 __importDefault = (this && this.__importDefault) || function (mod) {
|
|
9
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.GetVCardService = void 0;
|
|
13
|
+
const common_1 = require("@nestjs/common");
|
|
14
|
+
const axios_1 = __importDefault(require("axios"));
|
|
15
|
+
function parseVCard(vCardText) {
|
|
16
|
+
const result = {
|
|
17
|
+
phones: [],
|
|
18
|
+
emails: [],
|
|
19
|
+
addresses: [],
|
|
20
|
+
};
|
|
21
|
+
const lines = [];
|
|
22
|
+
let currentLine = '';
|
|
23
|
+
for (const line of vCardText.split(/\r?\n/)) {
|
|
24
|
+
if (line.startsWith(' ') || line.startsWith('\t')) {
|
|
25
|
+
currentLine += line.substring(1);
|
|
26
|
+
}
|
|
27
|
+
else {
|
|
28
|
+
if (currentLine) {
|
|
29
|
+
lines.push(currentLine);
|
|
30
|
+
}
|
|
31
|
+
currentLine = line;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
if (currentLine) {
|
|
35
|
+
lines.push(currentLine);
|
|
36
|
+
}
|
|
37
|
+
for (const line of lines) {
|
|
38
|
+
if (!line.trim() || line.startsWith('BEGIN:') || line.startsWith('END:')) {
|
|
39
|
+
continue;
|
|
40
|
+
}
|
|
41
|
+
const colonIndex = line.indexOf(':');
|
|
42
|
+
if (colonIndex === -1)
|
|
43
|
+
continue;
|
|
44
|
+
const property = line.substring(0, colonIndex).toUpperCase();
|
|
45
|
+
const value = line.substring(colonIndex + 1);
|
|
46
|
+
const parts = property.split(';');
|
|
47
|
+
const propName = parts[0];
|
|
48
|
+
const params = {};
|
|
49
|
+
for (let i = 1; i < parts.length; i++) {
|
|
50
|
+
const param = parts[i];
|
|
51
|
+
const eqIndex = param.indexOf('=');
|
|
52
|
+
if (eqIndex !== -1) {
|
|
53
|
+
const key = param.substring(0, eqIndex).toUpperCase();
|
|
54
|
+
const val = param.substring(eqIndex + 1);
|
|
55
|
+
params[key] = val;
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
const decodedValue = value
|
|
59
|
+
.replace(/\\n/g, '\n')
|
|
60
|
+
.replace(/\\,/g, ',')
|
|
61
|
+
.replace(/\\;/g, ';')
|
|
62
|
+
.replace(/\\\\/g, '\\');
|
|
63
|
+
switch (propName) {
|
|
64
|
+
case 'FN':
|
|
65
|
+
result.fullName = decodedValue;
|
|
66
|
+
break;
|
|
67
|
+
case 'N': {
|
|
68
|
+
const nameParts = decodedValue.split(';');
|
|
69
|
+
if (nameParts.length >= 2) {
|
|
70
|
+
result.lastName = nameParts[0] || undefined;
|
|
71
|
+
result.firstName = nameParts[1] || undefined;
|
|
72
|
+
}
|
|
73
|
+
break;
|
|
74
|
+
}
|
|
75
|
+
case 'ORG':
|
|
76
|
+
result.organization = decodedValue;
|
|
77
|
+
break;
|
|
78
|
+
case 'TITLE':
|
|
79
|
+
result.title = decodedValue;
|
|
80
|
+
break;
|
|
81
|
+
case 'TEL':
|
|
82
|
+
if (result.phones) {
|
|
83
|
+
result.phones.push({
|
|
84
|
+
type: params.TYPE?.toLowerCase() || undefined,
|
|
85
|
+
number: decodedValue.replace(/[^0-9+]/g, ''),
|
|
86
|
+
});
|
|
87
|
+
}
|
|
88
|
+
break;
|
|
89
|
+
case 'EMAIL':
|
|
90
|
+
if (result.emails) {
|
|
91
|
+
result.emails.push({
|
|
92
|
+
type: params.TYPE?.toLowerCase() || undefined,
|
|
93
|
+
email: decodedValue,
|
|
94
|
+
});
|
|
95
|
+
}
|
|
96
|
+
break;
|
|
97
|
+
case 'ADR':
|
|
98
|
+
if (result.addresses) {
|
|
99
|
+
const addrParts = decodedValue.split(';');
|
|
100
|
+
result.addresses.push({
|
|
101
|
+
type: params.TYPE?.toLowerCase() || undefined,
|
|
102
|
+
street: addrParts[3] || undefined,
|
|
103
|
+
city: addrParts[4] || undefined,
|
|
104
|
+
state: addrParts[5] || undefined,
|
|
105
|
+
postalCode: addrParts[6] || undefined,
|
|
106
|
+
country: addrParts[7] || undefined,
|
|
107
|
+
});
|
|
108
|
+
}
|
|
109
|
+
break;
|
|
110
|
+
case 'URL':
|
|
111
|
+
result.url = decodedValue;
|
|
112
|
+
break;
|
|
113
|
+
case 'NOTE':
|
|
114
|
+
result.note = decodedValue;
|
|
115
|
+
break;
|
|
116
|
+
case 'PHOTO':
|
|
117
|
+
result.photo = decodedValue;
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
return result;
|
|
122
|
+
}
|
|
123
|
+
let GetVCardService = class GetVCardService {
|
|
124
|
+
async perform(inputs, _context) {
|
|
125
|
+
const url = inputs.url;
|
|
126
|
+
if (!url) {
|
|
127
|
+
throw new Error('URL is required');
|
|
128
|
+
}
|
|
129
|
+
try {
|
|
130
|
+
new URL(url);
|
|
131
|
+
}
|
|
132
|
+
catch {
|
|
133
|
+
throw new Error('Invalid URL format');
|
|
134
|
+
}
|
|
135
|
+
let vCardText;
|
|
136
|
+
try {
|
|
137
|
+
const response = await axios_1.default.get(url, {
|
|
138
|
+
headers: {
|
|
139
|
+
'User-Agent': 'Venturial-Workflow/1.0',
|
|
140
|
+
},
|
|
141
|
+
responseType: 'text',
|
|
142
|
+
});
|
|
143
|
+
if (response.status !== 200) {
|
|
144
|
+
throw new Error(`Failed to fetch vCard: HTTP ${response.status}`);
|
|
145
|
+
}
|
|
146
|
+
vCardText = response.data;
|
|
147
|
+
}
|
|
148
|
+
catch (error) {
|
|
149
|
+
if (axios_1.default.isAxiosError(error)) {
|
|
150
|
+
throw new Error(`Error fetching vCard: ${error.response?.status ? `HTTP ${error.response.status}` : error.message}`);
|
|
151
|
+
}
|
|
152
|
+
if (error instanceof Error) {
|
|
153
|
+
throw new Error(`Error fetching vCard: ${error.message}`);
|
|
154
|
+
}
|
|
155
|
+
throw new Error('Unknown error while fetching vCard');
|
|
156
|
+
}
|
|
157
|
+
let vCardData;
|
|
158
|
+
try {
|
|
159
|
+
vCardData = parseVCard(vCardText);
|
|
160
|
+
vCardData.raw = vCardText;
|
|
161
|
+
}
|
|
162
|
+
catch (error) {
|
|
163
|
+
if (error instanceof Error) {
|
|
164
|
+
throw new Error(`Error parsing vCard: ${error.message}`);
|
|
165
|
+
}
|
|
166
|
+
throw new Error('Unknown error while parsing vCard');
|
|
167
|
+
}
|
|
168
|
+
return {
|
|
169
|
+
success: true,
|
|
170
|
+
fullName: vCardData.fullName || null,
|
|
171
|
+
firstName: vCardData.firstName || null,
|
|
172
|
+
lastName: vCardData.lastName || null,
|
|
173
|
+
organization: vCardData.organization || null,
|
|
174
|
+
title: vCardData.title || null,
|
|
175
|
+
phones: vCardData.phones || [],
|
|
176
|
+
emails: vCardData.emails || [],
|
|
177
|
+
addresses: vCardData.addresses || [],
|
|
178
|
+
url: vCardData.url || null,
|
|
179
|
+
note: vCardData.note || null,
|
|
180
|
+
photo: vCardData.photo || null,
|
|
181
|
+
raw: vCardData.raw || null,
|
|
182
|
+
};
|
|
183
|
+
}
|
|
184
|
+
};
|
|
185
|
+
exports.GetVCardService = GetVCardService;
|
|
186
|
+
exports.GetVCardService = GetVCardService = __decorate([
|
|
187
|
+
(0, common_1.Injectable)()
|
|
188
|
+
], GetVCardService);
|
|
189
|
+
//# sourceMappingURL=get-vcard.service.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"get-vcard.service.js","sourceRoot":"","sources":["../../../../src/modules/vcard/services/get-vcard.service.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAA4C;AAC5C,kDAA0B;AAiC1B,SAAS,UAAU,CAAC,SAAiB;IACnC,MAAM,MAAM,GAAc;QACxB,MAAM,EAAE,EAAE;QACV,MAAM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AAC,KAAK,IAAI,IAAI;YAC9B,GAAG,EAAE,SAAS,CAAC,GAAG,IAAI,IAAI;SAC3B,CAAC;IACJ,CAAC;CACF,CAAA;AAzEY,0CAAe;0BAAf,eAAe;IAD3B,IAAA,mBAAU,GAAE;GACA,eAAe,CAyE3B"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/modules/vcard/services/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./get-vcard.service"), exports);
|
|
18
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/modules/vcard/services/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,sDAAoC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"vcard-nest.module.d.ts","sourceRoot":"","sources":["../../../src/modules/vcard/vcard-nest.module.ts"],"names":[],"mappings":"AAKA,qBAKa,eAAe;CAAG"}
|