@awell-health/awell-extensions 2.1.88 → 2.1.89
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/extensions/documo/actions/getDocumentInfo/config.d.ts +90 -0
- package/dist/extensions/documo/actions/getDocumentInfo/config.js +88 -0
- package/dist/extensions/documo/actions/getDocumentInfo/config.js.map +1 -0
- package/dist/extensions/documo/actions/getDocumentInfo/getDocumentInfo.d.ts +4 -0
- package/dist/extensions/documo/actions/getDocumentInfo/getDocumentInfo.js +76 -0
- package/dist/extensions/documo/actions/getDocumentInfo/getDocumentInfo.js.map +1 -0
- package/dist/extensions/documo/actions/index.d.ts +25 -0
- package/dist/extensions/documo/actions/index.js +8 -0
- package/dist/extensions/documo/actions/index.js.map +1 -0
- package/dist/extensions/documo/index.js +2 -1
- package/dist/extensions/documo/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
import { FieldType } from '@awell-health/extensions-core';
|
|
3
|
+
export declare const fields: {
|
|
4
|
+
workspaceId: {
|
|
5
|
+
id: string;
|
|
6
|
+
label: string;
|
|
7
|
+
type: FieldType.STRING;
|
|
8
|
+
required: true;
|
|
9
|
+
description: string;
|
|
10
|
+
};
|
|
11
|
+
documentId: {
|
|
12
|
+
id: string;
|
|
13
|
+
label: string;
|
|
14
|
+
type: FieldType.STRING;
|
|
15
|
+
required: true;
|
|
16
|
+
description: string;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export declare const dataPoints: {
|
|
20
|
+
id: {
|
|
21
|
+
key: string;
|
|
22
|
+
valueType: "string";
|
|
23
|
+
};
|
|
24
|
+
name: {
|
|
25
|
+
key: string;
|
|
26
|
+
valueType: "string";
|
|
27
|
+
};
|
|
28
|
+
workspaceId: {
|
|
29
|
+
key: string;
|
|
30
|
+
valueType: "string";
|
|
31
|
+
};
|
|
32
|
+
createdAt: {
|
|
33
|
+
key: string;
|
|
34
|
+
valueType: "date";
|
|
35
|
+
};
|
|
36
|
+
addedAt: {
|
|
37
|
+
key: string;
|
|
38
|
+
valueType: "date";
|
|
39
|
+
};
|
|
40
|
+
isUploading: {
|
|
41
|
+
key: string;
|
|
42
|
+
valueType: "boolean";
|
|
43
|
+
};
|
|
44
|
+
pagesCount: {
|
|
45
|
+
key: string;
|
|
46
|
+
valueType: "number";
|
|
47
|
+
};
|
|
48
|
+
from: {
|
|
49
|
+
key: string;
|
|
50
|
+
valueType: "string";
|
|
51
|
+
};
|
|
52
|
+
to: {
|
|
53
|
+
key: string;
|
|
54
|
+
valueType: "string";
|
|
55
|
+
};
|
|
56
|
+
sourceType: {
|
|
57
|
+
key: string;
|
|
58
|
+
valueType: "string";
|
|
59
|
+
};
|
|
60
|
+
sourceId: {
|
|
61
|
+
key: string;
|
|
62
|
+
valueType: "string";
|
|
63
|
+
};
|
|
64
|
+
statusName: {
|
|
65
|
+
key: string;
|
|
66
|
+
valueType: "string";
|
|
67
|
+
};
|
|
68
|
+
typeName: {
|
|
69
|
+
key: string;
|
|
70
|
+
valueType: "string";
|
|
71
|
+
};
|
|
72
|
+
workspaceName: {
|
|
73
|
+
key: string;
|
|
74
|
+
valueType: "string";
|
|
75
|
+
};
|
|
76
|
+
documentResponse: {
|
|
77
|
+
key: string;
|
|
78
|
+
valueType: "json";
|
|
79
|
+
};
|
|
80
|
+
};
|
|
81
|
+
export declare const FieldsSchema: z.ZodObject<{
|
|
82
|
+
workspaceId: z.ZodString;
|
|
83
|
+
documentId: z.ZodString;
|
|
84
|
+
}, "strip", z.ZodTypeAny, {
|
|
85
|
+
workspaceId: string;
|
|
86
|
+
documentId: string;
|
|
87
|
+
}, {
|
|
88
|
+
workspaceId: string;
|
|
89
|
+
documentId: string;
|
|
90
|
+
}>;
|
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.FieldsSchema = exports.dataPoints = exports.fields = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const extensions_core_1 = require("@awell-health/extensions-core");
|
|
6
|
+
exports.fields = {
|
|
7
|
+
workspaceId: {
|
|
8
|
+
id: 'workspaceId',
|
|
9
|
+
label: 'Workspace ID',
|
|
10
|
+
type: extensions_core_1.FieldType.STRING,
|
|
11
|
+
required: true,
|
|
12
|
+
description: 'Unique identifier (UUID) of the workspace the document belongs to.',
|
|
13
|
+
},
|
|
14
|
+
documentId: {
|
|
15
|
+
id: 'documentId',
|
|
16
|
+
label: 'Document ID',
|
|
17
|
+
type: extensions_core_1.FieldType.STRING,
|
|
18
|
+
required: true,
|
|
19
|
+
description: 'Unique identifier (UUID) of the document to retrieve.',
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
exports.dataPoints = {
|
|
23
|
+
id: {
|
|
24
|
+
key: 'id',
|
|
25
|
+
valueType: 'string',
|
|
26
|
+
},
|
|
27
|
+
name: {
|
|
28
|
+
key: 'name',
|
|
29
|
+
valueType: 'string',
|
|
30
|
+
},
|
|
31
|
+
workspaceId: {
|
|
32
|
+
key: 'workspaceId',
|
|
33
|
+
valueType: 'string',
|
|
34
|
+
},
|
|
35
|
+
createdAt: {
|
|
36
|
+
key: 'createdAt',
|
|
37
|
+
valueType: 'date',
|
|
38
|
+
},
|
|
39
|
+
addedAt: {
|
|
40
|
+
key: 'addedAt',
|
|
41
|
+
valueType: 'date',
|
|
42
|
+
},
|
|
43
|
+
isUploading: {
|
|
44
|
+
key: 'isUploading',
|
|
45
|
+
valueType: 'boolean',
|
|
46
|
+
},
|
|
47
|
+
pagesCount: {
|
|
48
|
+
key: 'pagesCount',
|
|
49
|
+
valueType: 'number',
|
|
50
|
+
},
|
|
51
|
+
from: {
|
|
52
|
+
key: 'from',
|
|
53
|
+
valueType: 'string',
|
|
54
|
+
},
|
|
55
|
+
to: {
|
|
56
|
+
key: 'to',
|
|
57
|
+
valueType: 'string',
|
|
58
|
+
},
|
|
59
|
+
sourceType: {
|
|
60
|
+
key: 'sourceType',
|
|
61
|
+
valueType: 'string',
|
|
62
|
+
},
|
|
63
|
+
sourceId: {
|
|
64
|
+
key: 'sourceId',
|
|
65
|
+
valueType: 'string',
|
|
66
|
+
},
|
|
67
|
+
statusName: {
|
|
68
|
+
key: 'statusName',
|
|
69
|
+
valueType: 'string',
|
|
70
|
+
},
|
|
71
|
+
typeName: {
|
|
72
|
+
key: 'typeName',
|
|
73
|
+
valueType: 'string',
|
|
74
|
+
},
|
|
75
|
+
workspaceName: {
|
|
76
|
+
key: 'workspaceName',
|
|
77
|
+
valueType: 'string',
|
|
78
|
+
},
|
|
79
|
+
documentResponse: {
|
|
80
|
+
key: 'documentResponse',
|
|
81
|
+
valueType: 'json',
|
|
82
|
+
},
|
|
83
|
+
};
|
|
84
|
+
exports.FieldsSchema = zod_1.z.object({
|
|
85
|
+
workspaceId: zod_1.z.string().min(1),
|
|
86
|
+
documentId: zod_1.z.string().min(1),
|
|
87
|
+
});
|
|
88
|
+
//# sourceMappingURL=config.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../../../../../extensions/documo/actions/getDocumentInfo/config.ts"],"names":[],"mappings":";;;AAAA,6BAAuB;AAEvB,mEAIsC;AAEzB,QAAA,MAAM,GAAG;IACpB,WAAW,EAAE;QACX,EAAE,EAAE,aAAa;QACjB,KAAK,EAAE,cAAc;QACrB,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;QACd,WAAW,EACT,oEAAoE;KACvE;IACD,UAAU,EAAE;QACV,EAAE,EAAE,YAAY;QAChB,KAAK,EAAE,aAAa;QACpB,IAAI,EAAE,2BAAS,CAAC,MAAM;QACtB,QAAQ,EAAE,IAAI;QACd,WAAW,EACT,uDAAuD;KAC1D;CACe,CAAA;AAEL,QAAA,UAAU,GAAG;IACxB,EAAE,EAAE;QACF,GAAG,EAAE,IAA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CAC9B,CAAC,CAAA"}
|
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getDocumentInfo = void 0;
|
|
4
|
+
const zod_1 = require("zod");
|
|
5
|
+
const extensions_core_1 = require("@awell-health/extensions-core");
|
|
6
|
+
const config_1 = require("./config");
|
|
7
|
+
const DOCUMO_API_BASE = 'https://api.documo.com';
|
|
8
|
+
const SettingsSchema = zod_1.z.object({
|
|
9
|
+
apiKey: zod_1.z.string().min(1),
|
|
10
|
+
});
|
|
11
|
+
exports.getDocumentInfo = {
|
|
12
|
+
key: 'getDocumentInfo',
|
|
13
|
+
title: 'Get Document Info',
|
|
14
|
+
description: 'Retrieve metadata about a specific document in a Documo workspace.',
|
|
15
|
+
category: extensions_core_1.Category.DOCUMENT_MANAGEMENT,
|
|
16
|
+
fields: config_1.fields,
|
|
17
|
+
dataPoints: config_1.dataPoints,
|
|
18
|
+
previewable: true,
|
|
19
|
+
onEvent: async ({ payload, onComplete, onError }) => {
|
|
20
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
21
|
+
const { fields: { workspaceId, documentId }, settings: { apiKey }, } = (0, extensions_core_1.validate)({
|
|
22
|
+
schema: zod_1.z.object({
|
|
23
|
+
fields: config_1.FieldsSchema,
|
|
24
|
+
settings: SettingsSchema,
|
|
25
|
+
}),
|
|
26
|
+
payload,
|
|
27
|
+
});
|
|
28
|
+
const url = `${DOCUMO_API_BASE}/ws/v2/workspaces/${encodeURIComponent(workspaceId)}/documents/${encodeURIComponent(documentId)}`;
|
|
29
|
+
const response = await fetch(url, {
|
|
30
|
+
method: 'GET',
|
|
31
|
+
headers: {
|
|
32
|
+
Authorization: apiKey,
|
|
33
|
+
'Content-Type': 'application/json',
|
|
34
|
+
},
|
|
35
|
+
});
|
|
36
|
+
if (!response.ok) {
|
|
37
|
+
const errorBody = await response.text();
|
|
38
|
+
await onError({
|
|
39
|
+
events: [
|
|
40
|
+
{
|
|
41
|
+
date: new Date().toISOString(),
|
|
42
|
+
text: {
|
|
43
|
+
en: `Documo API error (${response.status}): ${errorBody}`,
|
|
44
|
+
},
|
|
45
|
+
error: {
|
|
46
|
+
category: 'SERVER_ERROR',
|
|
47
|
+
message: `Documo API returned ${response.status}: ${errorBody}`,
|
|
48
|
+
},
|
|
49
|
+
},
|
|
50
|
+
],
|
|
51
|
+
});
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
const data = await response.json();
|
|
55
|
+
await onComplete({
|
|
56
|
+
data_points: {
|
|
57
|
+
id: data.id,
|
|
58
|
+
name: data.name,
|
|
59
|
+
workspaceId: data.workspaceId,
|
|
60
|
+
createdAt: data.createdAt,
|
|
61
|
+
addedAt: data.addedAt,
|
|
62
|
+
isUploading: String(data.isUploading),
|
|
63
|
+
pagesCount: data.pagesCount != null ? String(data.pagesCount) : '',
|
|
64
|
+
from: (_a = data.from) !== null && _a !== void 0 ? _a : '',
|
|
65
|
+
to: (_b = data.to) !== null && _b !== void 0 ? _b : '',
|
|
66
|
+
sourceType: data.sourceType,
|
|
67
|
+
sourceId: (_c = data.sourceId) !== null && _c !== void 0 ? _c : '',
|
|
68
|
+
statusName: (_e = (_d = data.status) === null || _d === void 0 ? void 0 : _d.name) !== null && _e !== void 0 ? _e : '',
|
|
69
|
+
typeName: (_g = (_f = data.type) === null || _f === void 0 ? void 0 : _f.name) !== null && _g !== void 0 ? _g : '',
|
|
70
|
+
workspaceName: (_j = (_h = data.workspace) === null || _h === void 0 ? void 0 : _h.name) !== null && _j !== void 0 ? _j : '',
|
|
71
|
+
documentResponse: JSON.stringify(data),
|
|
72
|
+
},
|
|
73
|
+
});
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
//# sourceMappingURL=getDocumentInfo.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getDocumentInfo.js","sourceRoot":"","sources":["../../../../../extensions/documo/actions/getDocumentInf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SAAS,0CAAE,IAAI,mCAAI,EAAE;gBACzC,gBAAgB,EAAE,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC;aACvC;SACF,CAAC,CAAA;IACJ,CAAC;CACF,CAAA"}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export declare const actions: {
|
|
2
|
+
getDocumentInfo: import("@awell-health/extensions-core").Action<{
|
|
3
|
+
workspaceId: {
|
|
4
|
+
id: string;
|
|
5
|
+
label: string;
|
|
6
|
+
type: import("@awell-health/extensions-core").FieldType.STRING;
|
|
7
|
+
required: true;
|
|
8
|
+
description: string;
|
|
9
|
+
};
|
|
10
|
+
documentId: {
|
|
11
|
+
id: string;
|
|
12
|
+
label: string;
|
|
13
|
+
type: import("@awell-health/extensions-core").FieldType.STRING;
|
|
14
|
+
required: true;
|
|
15
|
+
description: string;
|
|
16
|
+
};
|
|
17
|
+
}, {
|
|
18
|
+
apiKey: {
|
|
19
|
+
key: string;
|
|
20
|
+
label: string;
|
|
21
|
+
obfuscated: true;
|
|
22
|
+
description: string;
|
|
23
|
+
};
|
|
24
|
+
}, "id" | "name" | "from" | "to" | "typeName" | "createdAt" | "workspaceId" | "addedAt" | "isUploading" | "pagesCount" | "sourceType" | "sourceId" | "statusName" | "workspaceName" | "documentResponse">;
|
|
25
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.actions = void 0;
|
|
4
|
+
const getDocumentInfo_1 = require("./getDocumentInfo/getDocumentInfo");
|
|
5
|
+
exports.actions = {
|
|
6
|
+
getDocumentInfo: getDocumentInfo_1.getDocumentInfo,
|
|
7
|
+
};
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../extensions/documo/actions/index.ts"],"names":[],"mappings":";;;AAAA,uEAAmE;AAEtD,QAAA,OAAO,GAAG;IACrB,eAAe,EAAf,iCAAe;CAChB,CAAA"}
|
|
@@ -4,6 +4,7 @@ exports.Documo = void 0;
|
|
|
4
4
|
const webhooks_1 = require("./webhooks");
|
|
5
5
|
const settings_1 = require("./settings");
|
|
6
6
|
const extensions_core_1 = require("@awell-health/extensions-core");
|
|
7
|
+
const actions_1 = require("./actions");
|
|
7
8
|
exports.Documo = {
|
|
8
9
|
key: 'documo',
|
|
9
10
|
title: 'Documo',
|
|
@@ -14,7 +15,7 @@ exports.Documo = {
|
|
|
14
15
|
authorType: extensions_core_1.AuthorType.AWELL,
|
|
15
16
|
},
|
|
16
17
|
settings: settings_1.settings,
|
|
17
|
-
actions:
|
|
18
|
+
actions: actions_1.actions,
|
|
18
19
|
webhooks: webhooks_1.webhooks,
|
|
19
20
|
};
|
|
20
21
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../extensions/documo/index.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AAErC,yCAAqC;AACrC,mEAAoE;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../extensions/documo/index.ts"],"names":[],"mappings":";;;AAAA,yCAAqC;AAErC,yCAAqC;AACrC,mEAAoE;AACpE,uCAAmC;AAEtB,QAAA,MAAM,GAAc;IAC/B,GAAG,EAAE,QAAQ;IACb,KAAK,EAAE,QAAQ;IACf,WAAW,EAAE,4BAA4B;IACzC,QAAQ,EACN,kGAAkG;IACpG,QAAQ,EAAE,0BAAQ,CAAC,IAAI;IACvB,MAAM,EAAE;QACN,UAAU,EAAE,4BAAU,CAAC,KAAK;KAC7B;IACD,QAAQ,EAAR,mBAAQ;IACR,OAAO,EAAP,iBAAO;IACP,QAAQ,EAAR,mBAAQ;CACT,CAAA"}
|