@activepieces/shared 0.10.116 → 0.10.118
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/package.json +4 -3
- package/src/index.d.ts +26 -22
- package/src/index.js +26 -59
- package/src/index.js.map +1 -1
- package/src/lib/ai/index.d.ts +23 -0
- package/src/lib/ai/index.js +16 -0
- package/src/lib/ai/index.js.map +1 -0
- package/src/lib/analytics/index.d.ts +56 -0
- package/src/lib/analytics/index.js +35 -0
- package/src/lib/analytics/index.js.map +1 -0
- package/src/lib/app-connection/app-connection.d.ts +0 -10
- package/src/lib/app-connection/app-connection.js +1 -13
- package/src/lib/app-connection/app-connection.js.map +1 -1
- package/src/lib/app-connection/dto/upsert-app-connection-request.d.ts +24 -24
- package/src/lib/app-connection/dto/upsert-app-connection-request.js +29 -34
- package/src/lib/app-connection/dto/upsert-app-connection-request.js.map +1 -1
- package/src/lib/authentication/model/principal.d.ts +1 -0
- package/src/lib/chat/index.d.ts +9 -0
- package/src/lib/chat/index.js +12 -0
- package/src/lib/chat/index.js.map +1 -0
- package/src/lib/common/activepieces-error.d.ts +19 -7
- package/src/lib/common/activepieces-error.js +3 -0
- package/src/lib/common/activepieces-error.js.map +1 -1
- package/src/lib/common/base-model.d.ts +2 -1
- package/src/lib/common/base-model.js +7 -1
- package/src/lib/common/base-model.js.map +1 -1
- package/src/lib/common/index.d.ts +1 -0
- package/src/lib/common/index.js +1 -0
- package/src/lib/common/index.js.map +1 -1
- package/src/lib/common/multipart-file.d.ts +11 -0
- package/src/lib/common/multipart-file.js +14 -0
- package/src/lib/common/multipart-file.js.map +1 -0
- package/src/lib/common/security/permission.d.ts +3 -1
- package/src/lib/common/security/permission.js +2 -0
- package/src/lib/common/security/permission.js.map +1 -1
- package/src/lib/common/telemetry.d.ts +9 -2
- package/src/lib/common/telemetry.js +2 -0
- package/src/lib/common/telemetry.js.map +1 -1
- package/src/lib/common/utils/assertions.d.ts +1 -0
- package/src/lib/common/utils/assertions.js +7 -1
- package/src/lib/common/utils/assertions.js.map +1 -1
- package/src/lib/common/utils/object-utils.d.ts +1 -0
- package/src/lib/common/utils/object-utils.js +12 -1
- package/src/lib/common/utils/object-utils.js.map +1 -1
- package/src/lib/common/utils/utils.d.ts +7 -0
- package/src/lib/common/utils/utils.js +32 -1
- package/src/lib/common/utils/utils.js.map +1 -1
- package/src/lib/copilot/index.d.ts +17 -1
- package/src/lib/copilot/index.js +15 -1
- package/src/lib/copilot/index.js.map +1 -1
- package/src/lib/engine/engine-operation.d.ts +1 -0
- package/src/lib/engine/engine-operation.js.map +1 -1
- package/src/lib/engine/index.d.ts +5 -1
- package/src/lib/engine/index.js +7 -1
- package/src/lib/engine/index.js.map +1 -1
- package/src/lib/file/index.d.ts +36 -3
- package/src/lib/file/index.js +21 -4
- package/src/lib/file/index.js.map +1 -1
- package/src/lib/flag/flag.d.ts +5 -3
- package/src/lib/flag/flag.js +5 -3
- package/src/lib/flag/flag.js.map +1 -1
- package/src/lib/flow-run/dto/list-flow-runs-request.d.ts +3 -6
- package/src/lib/flow-run/dto/list-flow-runs-request.js +2 -3
- package/src/lib/flow-run/dto/list-flow-runs-request.js.map +1 -1
- package/src/lib/flow-run/execution/flow-execution.d.ts +1 -0
- package/src/lib/flow-run/execution/flow-execution.js +7 -4
- package/src/lib/flow-run/execution/flow-execution.js.map +1 -1
- package/src/lib/flow-run/flow-run.d.ts +1 -1
- package/src/lib/flow-run/flow-run.js +1 -1
- package/src/lib/flow-run/flow-run.js.map +1 -1
- package/src/lib/flows/actions/action.d.ts +95 -31
- package/src/lib/flows/actions/action.js +73 -40
- package/src/lib/flows/actions/action.js.map +1 -1
- package/src/lib/flows/dto/flow-template-request.d.ts +7 -3
- package/src/lib/flows/dto/flow-template-request.js +4 -1
- package/src/lib/flows/dto/flow-template-request.js.map +1 -1
- package/src/lib/flows/flow-helper.d.ts +14 -5
- package/src/lib/flows/flow-helper.js +15 -7
- package/src/lib/flows/flow-helper.js.map +1 -1
- package/src/lib/flows/flow-operations.d.ts +36 -20
- package/src/lib/flows/flow-version.d.ts +3 -2
- package/src/lib/flows/flow.d.ts +11 -11
- package/src/lib/flows/folders/folder-requests.d.ts +8 -2
- package/src/lib/flows/folders/folder-requests.js +7 -2
- package/src/lib/flows/folders/folder-requests.js.map +1 -1
- package/src/lib/flows/step-file/step-file.d.ts +15 -25
- package/src/lib/flows/step-file/step-file.js +4 -9
- package/src/lib/flows/step-file/step-file.js.map +1 -1
- package/src/lib/flows/triggers/trigger.d.ts +3 -3
- package/src/lib/flows/triggers/trigger.js +1 -1
- package/src/lib/flows/triggers/trigger.js.map +1 -1
- package/src/lib/invitations/index.d.ts +15 -11
- package/src/lib/invitations/index.js +15 -8
- package/src/lib/invitations/index.js.map +1 -1
- package/src/lib/license-keys/index.d.ts +1 -1
- package/src/lib/license-keys/index.js +1 -1
- package/src/lib/license-keys/index.js.map +1 -1
- package/src/lib/pieces/dto/piece-requests.d.ts +7 -3
- package/src/lib/pieces/dto/piece-requests.js +18 -8
- package/src/lib/pieces/dto/piece-requests.js.map +1 -1
- package/src/lib/pieces/piece.d.ts +1 -2
- package/src/lib/pieces/piece.js +0 -1
- package/src/lib/pieces/piece.js.map +1 -1
- package/src/lib/platform/platform.model.d.ts +12 -12
- package/src/lib/platform/platform.model.js +1 -1
- package/src/lib/platform/platform.model.js.map +1 -1
- package/src/lib/project/project.d.ts +11 -1
- package/src/lib/project/project.js +8 -2
- package/src/lib/project/project.js.map +1 -1
- package/src/lib/store-entry/store-entry.js +1 -1
- package/src/lib/store-entry/store-entry.js.map +1 -1
- package/src/lib/tag/index.d.ts +0 -1
- package/src/lib/tag/index.js +0 -1
- package/src/lib/tag/index.js.map +1 -1
- package/src/lib/user/user-dto.d.ts +2 -1
- package/src/lib/user/user.d.ts +1 -0
- package/src/lib/user/user.js +1 -1
- package/src/lib/user/user.js.map +1 -1
- package/src/lib/websocket/index.d.ts +4 -1
- package/src/lib/websocket/index.js +3 -0
- package/src/lib/websocket/index.js.map +1 -1
- package/src/lib/workers/index.d.ts +2 -2
- package/src/lib/engine/code-sandbox-type.d.ts +0 -4
- package/src/lib/engine/code-sandbox-type.js +0 -9
- package/src/lib/engine/code-sandbox-type.js.map +0 -1
- package/src/lib/file/file-compression.d.ts +0 -4
- package/src/lib/file/file-compression.js +0 -9
- package/src/lib/file/file-compression.js.map +0 -1
- package/src/lib/file/file-type.d.ts +0 -6
- package/src/lib/file/file-type.js +0 -11
- package/src/lib/file/file-type.js.map +0 -1
- package/src/lib/file/file.d.ts +0 -19
- package/src/lib/file/file.js +0 -9
- package/src/lib/file/file.js.map +0 -1
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@activepieces/shared",
|
|
3
|
-
"version": "0.10.
|
|
3
|
+
"version": "0.10.118",
|
|
4
4
|
"type": "commonjs",
|
|
5
5
|
"dependencies": {
|
|
6
|
-
"@sinclair/typebox": "0.
|
|
6
|
+
"@sinclair/typebox": "0.32.35",
|
|
7
|
+
"deepmerge": "4.3.1",
|
|
7
8
|
"nanoid": "3.3.6",
|
|
8
9
|
"semver": "7.6.0",
|
|
9
|
-
"tslib": "
|
|
10
|
+
"tslib": "2.6.2"
|
|
10
11
|
},
|
|
11
12
|
"main": "./src/index.js"
|
|
12
13
|
}
|
package/src/index.d.ts
CHANGED
|
@@ -13,30 +13,31 @@ export * from './lib/flow-run/execution/step-output';
|
|
|
13
13
|
export * from './lib/flows/flow-operations';
|
|
14
14
|
export * from './lib/flows/step-run';
|
|
15
15
|
export * from './lib/flow-run/execution/execution-output';
|
|
16
|
-
export
|
|
16
|
+
export * from './lib/flow-run/execution/step-output';
|
|
17
17
|
export * from './lib/pieces';
|
|
18
18
|
export * from './lib/store-entry/dto/store-entry-request';
|
|
19
19
|
export * from './lib/webhook';
|
|
20
20
|
export * from './lib/flows/dto/count-flows-request';
|
|
21
|
-
export
|
|
21
|
+
export * from './lib/code/dto/code-request';
|
|
22
22
|
export * from './lib/authentication/dto/authentication-response';
|
|
23
|
-
export
|
|
24
|
-
export
|
|
23
|
+
export * from './lib/authentication/dto/sign-up-request';
|
|
24
|
+
export * from './lib/authentication/dto/sign-in-request';
|
|
25
25
|
export * from './lib/authentication/model/principal-type';
|
|
26
|
-
export
|
|
26
|
+
export * from './lib/authentication/model/principal';
|
|
27
|
+
export * from './lib/analytics';
|
|
27
28
|
export * from './lib/flows/actions/action';
|
|
28
|
-
export
|
|
29
|
+
export * from './lib/store-entry/store-entry';
|
|
29
30
|
export * from './lib/user';
|
|
30
|
-
export
|
|
31
|
-
export
|
|
32
|
-
export
|
|
33
|
-
export
|
|
31
|
+
export * from './lib/flow-run/test-flow-run-request';
|
|
32
|
+
export * from './lib/flows/triggers/trigger';
|
|
33
|
+
export * from './lib/flows/flow-version';
|
|
34
|
+
export * from './lib/flows/flow';
|
|
34
35
|
export * from './lib/file';
|
|
35
36
|
export * from './lib/flows/flow-helper';
|
|
36
|
-
export
|
|
37
|
+
export * from './lib/flow-run/flow-run';
|
|
37
38
|
export * from './lib/flows/dto/create-flow-request';
|
|
38
|
-
export
|
|
39
|
-
export
|
|
39
|
+
export * from './lib/common/seek-page';
|
|
40
|
+
export * from './lib/common/id-generator';
|
|
40
41
|
export * from './lib/flows/trigger-events/trigger-events-dto';
|
|
41
42
|
export * from './lib/flows/trigger-events/trigger-event';
|
|
42
43
|
export * from './lib/flows/sample-data';
|
|
@@ -47,22 +48,25 @@ export * from './lib/flows/dto/flow-template-request';
|
|
|
47
48
|
export * from './lib/flows';
|
|
48
49
|
export * from './lib/flows/dto/list-flows-request';
|
|
49
50
|
export * from './lib/project';
|
|
50
|
-
export
|
|
51
|
+
export * from './lib/forms';
|
|
51
52
|
export * from './lib/platform';
|
|
52
|
-
export
|
|
53
|
+
export * from './lib/flow-run/execution/flow-execution';
|
|
53
54
|
export * from './lib/tag';
|
|
54
55
|
export * from './lib/websocket';
|
|
55
|
-
export
|
|
56
|
-
export
|
|
57
|
-
export
|
|
58
|
-
export
|
|
59
|
-
export
|
|
56
|
+
export * from './lib/copilot';
|
|
57
|
+
export * from './lib/flow-run/execution/flow-execution';
|
|
58
|
+
export * from './lib/flow-run/execution/flow-execution';
|
|
59
|
+
export * from './lib/flow-run/execution/flow-execution';
|
|
60
|
+
export * from './lib/flow-run/execution/flow-execution';
|
|
60
61
|
export * from './lib/federated-authn';
|
|
61
|
-
export
|
|
62
|
-
export
|
|
62
|
+
export * from './lib/store-entry/store-entry';
|
|
63
|
+
export * from './lib/flow-run/test-flow-run-request';
|
|
63
64
|
export * from './lib/flows/dto/flow-template-request';
|
|
64
65
|
export * from './lib/support-url';
|
|
65
66
|
export * from './lib/license-keys';
|
|
66
67
|
export * from './lib/invitations';
|
|
67
68
|
export * from './lib/workers';
|
|
69
|
+
export * from './lib/ai';
|
|
70
|
+
export * from './lib/chat';
|
|
71
|
+
export * from './lib/license-keys';
|
|
68
72
|
export * from './lib/flow-run/execution/flow-execution';
|
package/src/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.RetryFlowRequestBody = exports.STORE_KEY_MAX_LENGTH = exports.WebhookPauseMetadata = exports.PauseMetadata = exports.DelayPauseMetadata = exports.FlowRunResponse = exports.FlowRunStatus = exports.PauseType = exports.StopResponse = exports.FlowError = exports.GenerateCodeResponse = exports.GenerateCodeRequest = exports.isFlowStateTerminal = exports.FileResponseInterface = exports.secureApId = exports.ApId = exports.apId = exports.SeekPage = exports.FlowRetryStrategy = exports.RunEnvironment = exports.FlowRun = exports.Flow = exports.FlowVersionMetadata = exports.FlowVersionState = exports.FlowVersion = exports.AUTHENTICATION_PROPERTY_NAME = exports.TriggerType = exports.PieceTrigger = exports.PieceTriggerSettings = exports.EmptyTrigger = exports.Trigger = exports.TestFlowRunRequestBody = exports.STORE_VALUE_MAX_SIZE = exports.SignInRequest = exports.SignUpRequest = exports.ExecuteCodeRequest = exports.StepOutputStatus = void 0;
|
|
4
3
|
const tslib_1 = require("tslib");
|
|
5
4
|
tslib_1.__exportStar(require("./lib/flows/actions/action"), exports);
|
|
6
5
|
tslib_1.__exportStar(require("./lib/app-connection/app-connection"), exports);
|
|
@@ -17,52 +16,31 @@ tslib_1.__exportStar(require("./lib/flow-run/execution/step-output"), exports);
|
|
|
17
16
|
tslib_1.__exportStar(require("./lib/flows/flow-operations"), exports);
|
|
18
17
|
tslib_1.__exportStar(require("./lib/flows/step-run"), exports);
|
|
19
18
|
tslib_1.__exportStar(require("./lib/flow-run/execution/execution-output"), exports);
|
|
20
|
-
|
|
21
|
-
Object.defineProperty(exports, "StepOutputStatus", { enumerable: true, get: function () { return step_output_1.StepOutputStatus; } });
|
|
19
|
+
tslib_1.__exportStar(require("./lib/flow-run/execution/step-output"), exports);
|
|
22
20
|
tslib_1.__exportStar(require("./lib/pieces"), exports);
|
|
23
21
|
tslib_1.__exportStar(require("./lib/store-entry/dto/store-entry-request"), exports);
|
|
24
22
|
tslib_1.__exportStar(require("./lib/webhook"), exports);
|
|
25
23
|
tslib_1.__exportStar(require("./lib/flows/dto/count-flows-request"), exports);
|
|
26
|
-
|
|
27
|
-
Object.defineProperty(exports, "ExecuteCodeRequest", { enumerable: true, get: function () { return code_request_1.ExecuteCodeRequest; } });
|
|
24
|
+
tslib_1.__exportStar(require("./lib/code/dto/code-request"), exports);
|
|
28
25
|
tslib_1.__exportStar(require("./lib/authentication/dto/authentication-response"), exports);
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
var sign_in_request_1 = require("./lib/authentication/dto/sign-in-request");
|
|
32
|
-
Object.defineProperty(exports, "SignInRequest", { enumerable: true, get: function () { return sign_in_request_1.SignInRequest; } });
|
|
26
|
+
tslib_1.__exportStar(require("./lib/authentication/dto/sign-up-request"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./lib/authentication/dto/sign-in-request"), exports);
|
|
33
28
|
tslib_1.__exportStar(require("./lib/authentication/model/principal-type"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./lib/authentication/model/principal"), exports);
|
|
30
|
+
tslib_1.__exportStar(require("./lib/analytics"), exports);
|
|
34
31
|
tslib_1.__exportStar(require("./lib/flows/actions/action"), exports);
|
|
35
|
-
|
|
36
|
-
Object.defineProperty(exports, "STORE_VALUE_MAX_SIZE", { enumerable: true, get: function () { return store_entry_1.STORE_VALUE_MAX_SIZE; } });
|
|
32
|
+
tslib_1.__exportStar(require("./lib/store-entry/store-entry"), exports);
|
|
37
33
|
tslib_1.__exportStar(require("./lib/user"), exports);
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
Object.defineProperty(exports, "EmptyTrigger", { enumerable: true, get: function () { return trigger_1.EmptyTrigger; } });
|
|
43
|
-
Object.defineProperty(exports, "PieceTriggerSettings", { enumerable: true, get: function () { return trigger_1.PieceTriggerSettings; } });
|
|
44
|
-
Object.defineProperty(exports, "PieceTrigger", { enumerable: true, get: function () { return trigger_1.PieceTrigger; } });
|
|
45
|
-
Object.defineProperty(exports, "TriggerType", { enumerable: true, get: function () { return trigger_1.TriggerType; } });
|
|
46
|
-
Object.defineProperty(exports, "AUTHENTICATION_PROPERTY_NAME", { enumerable: true, get: function () { return trigger_1.AUTHENTICATION_PROPERTY_NAME; } });
|
|
47
|
-
var flow_version_1 = require("./lib/flows/flow-version");
|
|
48
|
-
Object.defineProperty(exports, "FlowVersion", { enumerable: true, get: function () { return flow_version_1.FlowVersion; } });
|
|
49
|
-
Object.defineProperty(exports, "FlowVersionState", { enumerable: true, get: function () { return flow_version_1.FlowVersionState; } });
|
|
50
|
-
Object.defineProperty(exports, "FlowVersionMetadata", { enumerable: true, get: function () { return flow_version_1.FlowVersionMetadata; } });
|
|
51
|
-
var flow_1 = require("./lib/flows/flow");
|
|
52
|
-
Object.defineProperty(exports, "Flow", { enumerable: true, get: function () { return flow_1.Flow; } });
|
|
34
|
+
tslib_1.__exportStar(require("./lib/flow-run/test-flow-run-request"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./lib/flows/triggers/trigger"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./lib/flows/flow-version"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./lib/flows/flow"), exports);
|
|
53
38
|
tslib_1.__exportStar(require("./lib/file"), exports);
|
|
54
39
|
tslib_1.__exportStar(require("./lib/flows/flow-helper"), exports);
|
|
55
|
-
|
|
56
|
-
Object.defineProperty(exports, "FlowRun", { enumerable: true, get: function () { return flow_run_1.FlowRun; } });
|
|
57
|
-
Object.defineProperty(exports, "RunEnvironment", { enumerable: true, get: function () { return flow_run_1.RunEnvironment; } });
|
|
58
|
-
Object.defineProperty(exports, "FlowRetryStrategy", { enumerable: true, get: function () { return flow_run_1.FlowRetryStrategy; } });
|
|
40
|
+
tslib_1.__exportStar(require("./lib/flow-run/flow-run"), exports);
|
|
59
41
|
tslib_1.__exportStar(require("./lib/flows/dto/create-flow-request"), exports);
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
var id_generator_1 = require("./lib/common/id-generator");
|
|
63
|
-
Object.defineProperty(exports, "apId", { enumerable: true, get: function () { return id_generator_1.apId; } });
|
|
64
|
-
Object.defineProperty(exports, "ApId", { enumerable: true, get: function () { return id_generator_1.ApId; } });
|
|
65
|
-
Object.defineProperty(exports, "secureApId", { enumerable: true, get: function () { return id_generator_1.secureApId; } });
|
|
42
|
+
tslib_1.__exportStar(require("./lib/common/seek-page"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./lib/common/id-generator"), exports);
|
|
66
44
|
tslib_1.__exportStar(require("./lib/flows/trigger-events/trigger-events-dto"), exports);
|
|
67
45
|
tslib_1.__exportStar(require("./lib/flows/trigger-events/trigger-event"), exports);
|
|
68
46
|
tslib_1.__exportStar(require("./lib/flows/sample-data"), exports);
|
|
@@ -73,40 +51,29 @@ tslib_1.__exportStar(require("./lib/flows/dto/flow-template-request"), exports);
|
|
|
73
51
|
tslib_1.__exportStar(require("./lib/flows"), exports);
|
|
74
52
|
tslib_1.__exportStar(require("./lib/flows/dto/list-flows-request"), exports);
|
|
75
53
|
tslib_1.__exportStar(require("./lib/project"), exports);
|
|
76
|
-
|
|
77
|
-
Object.defineProperty(exports, "FileResponseInterface", { enumerable: true, get: function () { return forms_1.FileResponseInterface; } });
|
|
54
|
+
tslib_1.__exportStar(require("./lib/forms"), exports);
|
|
78
55
|
tslib_1.__exportStar(require("./lib/platform"), exports);
|
|
79
|
-
|
|
80
|
-
Object.defineProperty(exports, "isFlowStateTerminal", { enumerable: true, get: function () { return flow_execution_1.isFlowStateTerminal; } });
|
|
56
|
+
tslib_1.__exportStar(require("./lib/flow-run/execution/flow-execution"), exports);
|
|
81
57
|
tslib_1.__exportStar(require("./lib/tag"), exports);
|
|
82
58
|
tslib_1.__exportStar(require("./lib/websocket"), exports);
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
var flow_execution_3 = require("./lib/flow-run/execution/flow-execution");
|
|
89
|
-
Object.defineProperty(exports, "StopResponse", { enumerable: true, get: function () { return flow_execution_3.StopResponse; } });
|
|
90
|
-
var flow_execution_4 = require("./lib/flow-run/execution/flow-execution");
|
|
91
|
-
Object.defineProperty(exports, "PauseType", { enumerable: true, get: function () { return flow_execution_4.PauseType; } });
|
|
92
|
-
Object.defineProperty(exports, "FlowRunStatus", { enumerable: true, get: function () { return flow_execution_4.FlowRunStatus; } });
|
|
93
|
-
Object.defineProperty(exports, "FlowRunResponse", { enumerable: true, get: function () { return flow_execution_4.FlowRunResponse; } });
|
|
94
|
-
var flow_execution_5 = require("./lib/flow-run/execution/flow-execution");
|
|
95
|
-
Object.defineProperty(exports, "DelayPauseMetadata", { enumerable: true, get: function () { return flow_execution_5.DelayPauseMetadata; } });
|
|
96
|
-
Object.defineProperty(exports, "PauseMetadata", { enumerable: true, get: function () { return flow_execution_5.PauseMetadata; } });
|
|
97
|
-
Object.defineProperty(exports, "WebhookPauseMetadata", { enumerable: true, get: function () { return flow_execution_5.WebhookPauseMetadata; } });
|
|
59
|
+
tslib_1.__exportStar(require("./lib/copilot"), exports);
|
|
60
|
+
tslib_1.__exportStar(require("./lib/flow-run/execution/flow-execution"), exports);
|
|
61
|
+
tslib_1.__exportStar(require("./lib/flow-run/execution/flow-execution"), exports);
|
|
62
|
+
tslib_1.__exportStar(require("./lib/flow-run/execution/flow-execution"), exports);
|
|
63
|
+
tslib_1.__exportStar(require("./lib/flow-run/execution/flow-execution"), exports);
|
|
98
64
|
tslib_1.__exportStar(require("./lib/federated-authn"), exports);
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
var test_flow_run_request_2 = require("./lib/flow-run/test-flow-run-request");
|
|
102
|
-
Object.defineProperty(exports, "RetryFlowRequestBody", { enumerable: true, get: function () { return test_flow_run_request_2.RetryFlowRequestBody; } });
|
|
65
|
+
tslib_1.__exportStar(require("./lib/store-entry/store-entry"), exports);
|
|
66
|
+
tslib_1.__exportStar(require("./lib/flow-run/test-flow-run-request"), exports);
|
|
103
67
|
tslib_1.__exportStar(require("./lib/flows/dto/flow-template-request"), exports);
|
|
104
68
|
tslib_1.__exportStar(require("./lib/support-url"), exports);
|
|
105
69
|
tslib_1.__exportStar(require("./lib/license-keys"), exports);
|
|
106
70
|
tslib_1.__exportStar(require("./lib/invitations"), exports);
|
|
107
71
|
tslib_1.__exportStar(require("./lib/workers"), exports);
|
|
72
|
+
tslib_1.__exportStar(require("./lib/ai"), exports);
|
|
73
|
+
tslib_1.__exportStar(require("./lib/chat"), exports);
|
|
108
74
|
// Look at https://github.com/sinclairzx81/typebox/issues/350
|
|
109
75
|
const system_1 = require("@sinclair/typebox/system");
|
|
76
|
+
tslib_1.__exportStar(require("./lib/license-keys"), exports);
|
|
110
77
|
tslib_1.__exportStar(require("./lib/flow-run/execution/flow-execution"), exports);
|
|
111
78
|
system_1.TypeSystemPolicy.ExactOptionalPropertyTypes = false;
|
|
112
79
|
//# sourceMappingURL=index.js.map
|
package/src/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/shared/src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../packages/shared/src/index.ts"],"names":[],"mappings":";;;AAAA,qEAA0C;AAC1C,8EAAmD;AACnD,+FAAoE;AACpE,iGAAsE;AACtE,uDAA4B;AAC5B,0EAA+C;AAC/C,iEAAsC;AACtC,uDAA4B;AAC5B,0DAA+B;AAC/B,oFAAyD;AACzD,oFAAyD;AACzD,+EAAoD;AACpD,sEAA2C;AAC3C,+DAAoC;AACpC,oFAAyD;AACzD,+EAAoD;AACpD,uDAA4B;AAC5B,oFAAyD;AACzD,wDAA6B;AAC7B,8EAAmD;AACnD,sEAA2C;AAC3C,2FAAgE;AAChE,mFAAwD;AACxD,mFAAwD;AACxD,oFAAyD;AACzD,+EAAoD;AACpD,0DAA+B;AAC/B,qEAA0C;AAC1C,wEAA6C;AAC7C,qDAA0B;AAC1B,+EAAoD;AACpD,uEAA4C;AAC5C,mEAAwC;AACxC,2DAAgC;AAChC,qDAA0B;AAC1B,kEAAuC;AACvC,kEAAuC;AACvC,8EAAmD;AACnD,iEAAsC;AACtC,oEAAyC;AACzC,wFAA6D;AAC7D,mFAAwD;AACxD,kEAAuC;AACvC,kEAAuC;AACvC,qEAA0C;AAC1C,8EAAmD;AACnD,gFAAqD;AACrD,sDAA2B;AAC3B,6EAAkD;AAClD,wDAA6B;AAC7B,sDAA2B;AAC3B,yDAA8B;AAC9B,kFAAuD;AACvD,oDAAyB;AACzB,0DAA+B;AAC/B,wDAA6B;AAC7B,kFAAuD;AACvD,kFAAuD;AACvD,kFAAuD;AACvD,kFAAuD;AACvD,gEAAqC;AACrC,wEAA6C;AAC7C,+EAAoD;AACpD,gFAAqD;AACrD,4DAAiC;AACjC,6DAAkC;AAClC,4DAAiC;AACjC,wDAA6B;AAC7B,mDAAwB;AACxB,qDAA0B;AAE1B,6DAA6D;AAC7D,qDAA2D;AAC3D,6DAAkC;AAClC,kFAAuD;AACvD,yBAAgB,CAAC,0BAA0B,GAAG,KAAK,CAAA"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { Static } from '@sinclair/typebox';
|
|
2
|
+
export declare const AiProviderConfig: import("@sinclair/typebox").TObject<{
|
|
3
|
+
config: import("@sinclair/typebox").TObject<{
|
|
4
|
+
defaultHeaders: import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>;
|
|
5
|
+
}>;
|
|
6
|
+
baseUrl: import("@sinclair/typebox").TString;
|
|
7
|
+
provider: import("@sinclair/typebox").TString;
|
|
8
|
+
platformId: import("@sinclair/typebox").TString;
|
|
9
|
+
id: import("@sinclair/typebox").TString;
|
|
10
|
+
created: import("@sinclair/typebox").TString;
|
|
11
|
+
updated: import("@sinclair/typebox").TString;
|
|
12
|
+
}>;
|
|
13
|
+
export type AiProviderConfig = Static<typeof AiProviderConfig>;
|
|
14
|
+
export declare const AiProviderWithoutSensitiveData: import("@sinclair/typebox").TObject<{
|
|
15
|
+
id: import("@sinclair/typebox").TString;
|
|
16
|
+
platformId: import("@sinclair/typebox").TString;
|
|
17
|
+
created: import("@sinclair/typebox").TString;
|
|
18
|
+
updated: import("@sinclair/typebox").TString;
|
|
19
|
+
baseUrl: import("@sinclair/typebox").TString;
|
|
20
|
+
provider: import("@sinclair/typebox").TString;
|
|
21
|
+
config: import("@sinclair/typebox").TObject<{}>;
|
|
22
|
+
}>;
|
|
23
|
+
export type AiProviderWithoutSensitiveData = Static<typeof AiProviderWithoutSensitiveData>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AiProviderWithoutSensitiveData = exports.AiProviderConfig = void 0;
|
|
4
|
+
const typebox_1 = require("@sinclair/typebox");
|
|
5
|
+
const common_1 = require("../common");
|
|
6
|
+
exports.AiProviderConfig = typebox_1.Type.Object(Object.assign(Object.assign({}, common_1.BaseModelSchema), { config: typebox_1.Type.Object({
|
|
7
|
+
defaultHeaders: typebox_1.Type.Record(typebox_1.Type.String(), typebox_1.Type.String()),
|
|
8
|
+
}), baseUrl: typebox_1.Type.String({
|
|
9
|
+
pattern: '^https?://.+$',
|
|
10
|
+
}), provider: typebox_1.Type.String({ minLength: 1 }), platformId: typebox_1.Type.String() }));
|
|
11
|
+
exports.AiProviderWithoutSensitiveData = typebox_1.Type.Composite([typebox_1.Type.Omit(exports.AiProviderConfig, ['config']),
|
|
12
|
+
typebox_1.Type.Object({
|
|
13
|
+
config: typebox_1.Type.Object({}),
|
|
14
|
+
}),
|
|
15
|
+
]);
|
|
16
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/ai/index.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAChD,sCAA2C;AAG9B,QAAA,gBAAgB,GAAG,cAAI,CAAC,MAAM,iCACpC,wBAAe,KAClB,MAAM,EAAE,cAAI,CAAC,MAAM,CAAC;QAChB,cAAc,EAAE,cAAI,CAAC,MAAM,CAAC,cAAI,CAAC,MAAM,EAAE,EAAE,cAAI,CAAC,MAAM,EAAE,CAAC;KAC5D,CAAC,EACF,OAAO,EAAE,cAAI,CAAC,MAAM,CAAC;QACjB,OAAO,EAAE,eAAe;KAC3B,CAAC,EACF,QAAQ,EAAE,cAAI,CAAC,MAAM,CAAC,EAAE,SAAS,EAAE,CAAC,EAAE,CAAC,EACvC,UAAU,EAAE,cAAI,CAAC,MAAM,EAAE,IAC3B,CAAA;AAIW,QAAA,8BAA8B,GAAG,cAAI,CAAC,SAAS,CAAC,CAAC,cAAI,CAAC,IAAI,CAAC,wBAAgB,EAAE,CAAC,QAAQ,CAAC,CAAC;IACjG,cAAI,CAAC,MAAM,CAAC;QACR,MAAM,EAAE,cAAI,CAAC,MAAM,CAAC,EACnB,CAAC;KACL,CAAC;CACL,CAAC,CAAA"}
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import { Static } from '@sinclair/typebox';
|
|
2
|
+
export declare const AnalyticsPieceReportItem: import("@sinclair/typebox").TObject<{
|
|
3
|
+
name: import("@sinclair/typebox").TString;
|
|
4
|
+
displayName: import("@sinclair/typebox").TString;
|
|
5
|
+
logoUrl: import("@sinclair/typebox").TString;
|
|
6
|
+
usageCount: import("@sinclair/typebox").TNumber;
|
|
7
|
+
}>;
|
|
8
|
+
export type AnalyticsPieceReportItem = Static<typeof AnalyticsPieceReportItem>;
|
|
9
|
+
export declare const AnalyticsPieceReport: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
10
|
+
name: import("@sinclair/typebox").TString;
|
|
11
|
+
displayName: import("@sinclair/typebox").TString;
|
|
12
|
+
logoUrl: import("@sinclair/typebox").TString;
|
|
13
|
+
usageCount: import("@sinclair/typebox").TNumber;
|
|
14
|
+
}>>;
|
|
15
|
+
export type AnalyticsPieceReport = Static<typeof AnalyticsPieceReport>;
|
|
16
|
+
export declare const AnalyticsProjectReportItem: import("@sinclair/typebox").TObject<{
|
|
17
|
+
id: import("@sinclair/typebox").TString;
|
|
18
|
+
displayName: import("@sinclair/typebox").TString;
|
|
19
|
+
activeFlows: import("@sinclair/typebox").TNumber;
|
|
20
|
+
totalFlows: import("@sinclair/typebox").TNumber;
|
|
21
|
+
}>;
|
|
22
|
+
export type AnalyticsProjectReportItem = Static<typeof AnalyticsProjectReportItem>;
|
|
23
|
+
export declare const AnalyticsProjectReport: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
24
|
+
id: import("@sinclair/typebox").TString;
|
|
25
|
+
displayName: import("@sinclair/typebox").TString;
|
|
26
|
+
activeFlows: import("@sinclair/typebox").TNumber;
|
|
27
|
+
totalFlows: import("@sinclair/typebox").TNumber;
|
|
28
|
+
}>>;
|
|
29
|
+
export type AnalyticsProjectReport = Static<typeof AnalyticsProjectReport>;
|
|
30
|
+
export declare const AnalyticsReportResponse: import("@sinclair/typebox").TObject<{
|
|
31
|
+
totalFlows: import("@sinclair/typebox").TNumber;
|
|
32
|
+
activeFlows: import("@sinclair/typebox").TNumber;
|
|
33
|
+
totalUsers: import("@sinclair/typebox").TNumber;
|
|
34
|
+
activeUsers: import("@sinclair/typebox").TNumber;
|
|
35
|
+
totalProjects: import("@sinclair/typebox").TNumber;
|
|
36
|
+
activeProjects: import("@sinclair/typebox").TNumber;
|
|
37
|
+
uniquePiecesUsed: import("@sinclair/typebox").TNumber;
|
|
38
|
+
activeFlowsWithAI: import("@sinclair/typebox").TNumber;
|
|
39
|
+
topPieces: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
40
|
+
name: import("@sinclair/typebox").TString;
|
|
41
|
+
displayName: import("@sinclair/typebox").TString;
|
|
42
|
+
logoUrl: import("@sinclair/typebox").TString;
|
|
43
|
+
usageCount: import("@sinclair/typebox").TNumber;
|
|
44
|
+
}>>;
|
|
45
|
+
tasksUsage: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
46
|
+
day: import("@sinclair/typebox").TString;
|
|
47
|
+
totalTasks: import("@sinclair/typebox").TNumber;
|
|
48
|
+
}>>;
|
|
49
|
+
topProjects: import("@sinclair/typebox").TArray<import("@sinclair/typebox").TObject<{
|
|
50
|
+
id: import("@sinclair/typebox").TString;
|
|
51
|
+
displayName: import("@sinclair/typebox").TString;
|
|
52
|
+
activeFlows: import("@sinclair/typebox").TNumber;
|
|
53
|
+
totalFlows: import("@sinclair/typebox").TNumber;
|
|
54
|
+
}>>;
|
|
55
|
+
}>;
|
|
56
|
+
export type AnalyticsReportResponse = Static<typeof AnalyticsReportResponse>;
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.AnalyticsReportResponse = exports.AnalyticsProjectReport = exports.AnalyticsProjectReportItem = exports.AnalyticsPieceReport = exports.AnalyticsPieceReportItem = void 0;
|
|
4
|
+
const typebox_1 = require("@sinclair/typebox");
|
|
5
|
+
exports.AnalyticsPieceReportItem = typebox_1.Type.Object({
|
|
6
|
+
name: typebox_1.Type.String(),
|
|
7
|
+
displayName: typebox_1.Type.String(),
|
|
8
|
+
logoUrl: typebox_1.Type.String(),
|
|
9
|
+
usageCount: typebox_1.Type.Number(),
|
|
10
|
+
});
|
|
11
|
+
exports.AnalyticsPieceReport = typebox_1.Type.Array(exports.AnalyticsPieceReportItem);
|
|
12
|
+
exports.AnalyticsProjectReportItem = typebox_1.Type.Object({
|
|
13
|
+
id: typebox_1.Type.String(),
|
|
14
|
+
displayName: typebox_1.Type.String(),
|
|
15
|
+
activeFlows: typebox_1.Type.Number(),
|
|
16
|
+
totalFlows: typebox_1.Type.Number(),
|
|
17
|
+
});
|
|
18
|
+
exports.AnalyticsProjectReport = typebox_1.Type.Array(exports.AnalyticsProjectReportItem);
|
|
19
|
+
exports.AnalyticsReportResponse = typebox_1.Type.Object({
|
|
20
|
+
totalFlows: typebox_1.Type.Number(),
|
|
21
|
+
activeFlows: typebox_1.Type.Number(),
|
|
22
|
+
totalUsers: typebox_1.Type.Number(),
|
|
23
|
+
activeUsers: typebox_1.Type.Number(),
|
|
24
|
+
totalProjects: typebox_1.Type.Number(),
|
|
25
|
+
activeProjects: typebox_1.Type.Number(),
|
|
26
|
+
uniquePiecesUsed: typebox_1.Type.Number(),
|
|
27
|
+
activeFlowsWithAI: typebox_1.Type.Number(),
|
|
28
|
+
topPieces: exports.AnalyticsPieceReport,
|
|
29
|
+
tasksUsage: typebox_1.Type.Array(typebox_1.Type.Object({
|
|
30
|
+
day: typebox_1.Type.String(),
|
|
31
|
+
totalTasks: typebox_1.Type.Number(),
|
|
32
|
+
})),
|
|
33
|
+
topProjects: exports.AnalyticsProjectReport,
|
|
34
|
+
});
|
|
35
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/analytics/index.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAGnC,QAAA,wBAAwB,GAAG,cAAI,CAAC,MAAM,CAAC;IAChD,IAAI,EAAE,cAAI,CAAC,MAAM,EAAE;IACnB,WAAW,EAAE,cAAI,CAAC,MAAM,EAAE;IAC1B,OAAO,EAAE,cAAI,CAAC,MAAM,EAAE;IACtB,UAAU,EAAE,cAAI,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAA;AAGW,QAAA,oBAAoB,GAAG,cAAI,CAAC,KAAK,CAAC,gCAAwB,CAAC,CAAA;AAG3D,QAAA,0BAA0B,GAAG,cAAI,CAAC,MAAM,CAAC;IAClD,EAAE,EAAE,cAAI,CAAC,MAAM,EAAE;IACjB,WAAW,EAAE,cAAI,CAAC,MAAM,EAAE;IAC1B,WAAW,EAAE,cAAI,CAAC,MAAM,EAAE;IAC1B,UAAU,EAAE,cAAI,CAAC,MAAM,EAAE;CAC5B,CAAC,CAAA;AAGW,QAAA,sBAAsB,GAAG,cAAI,CAAC,KAAK,CAAC,kCAA0B,CAAC,CAAA;AAG/D,QAAA,uBAAuB,GAAG,cAAI,CAAC,MAAM,CAAC;IAC/C,UAAU,EAAE,cAAI,CAAC,MAAM,EAAE;IACzB,WAAW,EAAE,cAAI,CAAC,MAAM,EAAE;IAC1B,UAAU,EAAE,cAAI,CAAC,MAAM,EAAE;IACzB,WAAW,EAAE,cAAI,CAAC,MAAM,EAAE;IAC1B,aAAa,EAAE,cAAI,CAAC,MAAM,EAAE;IAC5B,cAAc,EAAE,cAAI,CAAC,MAAM,EAAE;IAC7B,gBAAgB,EAAE,cAAI,CAAC,MAAM,EAAE;IAC/B,iBAAiB,EAAE,cAAI,CAAC,MAAM,EAAE;IAChC,SAAS,EAAE,4BAAoB;IAC/B,UAAU,EAAE,cAAI,CAAC,KAAK,CAAC,cAAI,CAAC,MAAM,CAAC;QAC/B,GAAG,EAAE,cAAI,CAAC,MAAM,EAAE;QAClB,UAAU,EAAE,cAAI,CAAC,MAAM,EAAE;KAC5B,CAAC,CAAC;IACH,WAAW,EAAE,8BAAsB;CACtC,CAAC,CAAA"}
|
|
@@ -79,16 +79,6 @@ export declare const AppConnectionWithoutSensitiveData: import("@sinclair/typebo
|
|
|
79
79
|
created: import("@sinclair/typebox").TString;
|
|
80
80
|
updated: import("@sinclair/typebox").TString;
|
|
81
81
|
}>;
|
|
82
|
-
export declare const connectionNameRegex = "[A-Za-z0-9_\\-@\\+\\.]*";
|
|
83
82
|
export type AppConnectionWithoutSensitiveData = Static<typeof AppConnectionWithoutSensitiveData> & {
|
|
84
83
|
__brand: 'AppConnectionWithoutSensitiveData';
|
|
85
84
|
};
|
|
86
|
-
export declare const ValidateConnectionNameResponse: import("@sinclair/typebox").TObject<{
|
|
87
|
-
isValid: import("@sinclair/typebox").TBoolean;
|
|
88
|
-
error: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
89
|
-
}>;
|
|
90
|
-
export type ValidateConnectionNameResponse = Static<typeof ValidateConnectionNameResponse>;
|
|
91
|
-
export declare const ValidateConnectionNameRequestBody: import("@sinclair/typebox").TObject<{
|
|
92
|
-
connectionName: import("@sinclair/typebox").TString;
|
|
93
|
-
}>;
|
|
94
|
-
export type ValidateConnectionNameRequestBody = Static<typeof ValidateConnectionNameRequestBody>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.AppConnectionWithoutSensitiveData = exports.AppConnectionType = exports.AppConnectionStatus = void 0;
|
|
4
4
|
const typebox_1 = require("@sinclair/typebox");
|
|
5
5
|
const base_model_1 = require("../common/base-model");
|
|
6
6
|
const id_generator_1 = require("../common/id-generator");
|
|
@@ -21,16 +21,4 @@ var AppConnectionType;
|
|
|
21
21
|
exports.AppConnectionWithoutSensitiveData = typebox_1.Type.Object(Object.assign(Object.assign({}, base_model_1.BaseModelSchema), { name: typebox_1.Type.String(), type: typebox_1.Type.Enum(AppConnectionType), pieceName: typebox_1.Type.String(), projectId: id_generator_1.ApId, status: typebox_1.Type.Enum(AppConnectionStatus) }), {
|
|
22
22
|
description: 'App connection is a connection to an external app.',
|
|
23
23
|
});
|
|
24
|
-
exports.connectionNameRegex = '[A-Za-z0-9_\\-@\\+\\.]*';
|
|
25
|
-
exports.ValidateConnectionNameResponse = typebox_1.Type.Object({
|
|
26
|
-
isValid: typebox_1.Type.Boolean(),
|
|
27
|
-
error: typebox_1.Type.Optional(typebox_1.Type.String()),
|
|
28
|
-
}, {
|
|
29
|
-
description: 'Response for validating connection name',
|
|
30
|
-
});
|
|
31
|
-
exports.ValidateConnectionNameRequestBody = typebox_1.Type.Object({
|
|
32
|
-
connectionName: typebox_1.Type.String(),
|
|
33
|
-
}, {
|
|
34
|
-
description: 'Request for validating connection name',
|
|
35
|
-
});
|
|
36
24
|
//# sourceMappingURL=app-connection.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app-connection.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/app-connection/app-connection.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAChD,qDAAiE;AACjE,yDAA6C;AAM7C,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,wCAAiB,CAAA;IACjB,sCAAe,CAAA;AACnB,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B;AAED,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IACzB,sCAAiB,CAAA;IACjB,wDAAmC,CAAA;IACnC,kDAA6B,CAAA;IAC7B,gDAA2B,CAAA;IAC3B,8CAAyB,CAAA;IACzB,gDAA2B,CAAA;AAC/B,CAAC,EAPW,iBAAiB,iCAAjB,iBAAiB,QAO5B;AAwEY,QAAA,iCAAiC,GAAG,cAAI,CAAC,MAAM,iCACrD,4BAAe,KAClB,IAAI,EAAE,cAAI,CAAC,MAAM,EAAE,EACnB,IAAI,EAAE,cAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAClC,SAAS,EAAE,cAAI,CAAC,MAAM,EAAE,EACxB,SAAS,EAAE,mBAAI,EACf,MAAM,EAAE,cAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,KACvC;IACC,WAAW,EAAE,oDAAoD;CACpE,CAAC,CAAA
|
|
1
|
+
{"version":3,"file":"app-connection.js","sourceRoot":"","sources":["../../../../../../packages/shared/src/lib/app-connection/app-connection.ts"],"names":[],"mappings":";;;AAAA,+CAAgD;AAChD,qDAAiE;AACjE,yDAA6C;AAM7C,IAAY,mBAGX;AAHD,WAAY,mBAAmB;IAC3B,wCAAiB,CAAA;IACjB,sCAAe,CAAA;AACnB,CAAC,EAHW,mBAAmB,mCAAnB,mBAAmB,QAG9B;AAED,IAAY,iBAOX;AAPD,WAAY,iBAAiB;IACzB,sCAAiB,CAAA;IACjB,wDAAmC,CAAA;IACnC,kDAA6B,CAAA;IAC7B,gDAA2B,CAAA;IAC3B,8CAAyB,CAAA;IACzB,gDAA2B,CAAA;AAC/B,CAAC,EAPW,iBAAiB,iCAAjB,iBAAiB,QAO5B;AAwEY,QAAA,iCAAiC,GAAG,cAAI,CAAC,MAAM,iCACrD,4BAAe,KAClB,IAAI,EAAE,cAAI,CAAC,MAAM,EAAE,EACnB,IAAI,EAAE,cAAI,CAAC,IAAI,CAAC,iBAAiB,CAAC,EAClC,SAAS,EAAE,cAAI,CAAC,MAAM,EAAE,EACxB,SAAS,EAAE,mBAAI,EACf,MAAM,EAAE,cAAI,CAAC,IAAI,CAAC,mBAAmB,CAAC,KACvC;IACC,WAAW,EAAE,oDAAoD;CACpE,CAAC,CAAA"}
|
|
@@ -18,14 +18,14 @@ export declare const UpsertCustomAuthRequest: import("@sinclair/typebox").TObjec
|
|
|
18
18
|
export declare const UpsertPlatformOAuth2Request: import("@sinclair/typebox").TObject<{
|
|
19
19
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.PLATFORM_OAUTH2>;
|
|
20
20
|
value: import("@sinclair/typebox").TObject<{
|
|
21
|
+
props: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
|
|
22
|
+
type: import("@sinclair/typebox").TLiteral<AppConnectionType.PLATFORM_OAUTH2>;
|
|
23
|
+
redirect_url: import("@sinclair/typebox").TString;
|
|
21
24
|
client_id: import("@sinclair/typebox").TString;
|
|
22
|
-
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
|
|
23
25
|
code: import("@sinclair/typebox").TString;
|
|
24
26
|
code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
25
|
-
props: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
|
|
26
27
|
scope: import("@sinclair/typebox").TString;
|
|
27
|
-
|
|
28
|
-
redirect_url: import("@sinclair/typebox").TString;
|
|
28
|
+
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
|
|
29
29
|
}>;
|
|
30
30
|
name: import("@sinclair/typebox").TString;
|
|
31
31
|
pieceName: import("@sinclair/typebox").TString;
|
|
@@ -34,13 +34,13 @@ export declare const UpsertPlatformOAuth2Request: import("@sinclair/typebox").TO
|
|
|
34
34
|
export declare const UpsertCloudOAuth2Request: import("@sinclair/typebox").TObject<{
|
|
35
35
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.CLOUD_OAUTH2>;
|
|
36
36
|
value: import("@sinclair/typebox").TObject<{
|
|
37
|
-
client_id: import("@sinclair/typebox").TString;
|
|
38
|
-
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
|
|
39
|
-
code: import("@sinclair/typebox").TString;
|
|
40
|
-
code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
41
37
|
props: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
|
|
42
38
|
scope: import("@sinclair/typebox").TString;
|
|
43
39
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.CLOUD_OAUTH2>;
|
|
40
|
+
client_id: import("@sinclair/typebox").TString;
|
|
41
|
+
code: import("@sinclair/typebox").TString;
|
|
42
|
+
code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
43
|
+
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
|
|
44
44
|
}>;
|
|
45
45
|
name: import("@sinclair/typebox").TString;
|
|
46
46
|
pieceName: import("@sinclair/typebox").TString;
|
|
@@ -59,16 +59,16 @@ export declare const UpsertSecretTextRequest: import("@sinclair/typebox").TObjec
|
|
|
59
59
|
export declare const UpsertOAuth2Request: import("@sinclair/typebox").TObject<{
|
|
60
60
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.OAUTH2>;
|
|
61
61
|
value: import("@sinclair/typebox").TObject<{
|
|
62
|
-
client_id: import("@sinclair/typebox").TString;
|
|
63
62
|
client_secret: import("@sinclair/typebox").TString;
|
|
64
63
|
grant_type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2GrantType>>;
|
|
65
64
|
props: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>>;
|
|
66
|
-
scope: import("@sinclair/typebox").TString;
|
|
67
|
-
code: import("@sinclair/typebox").TString;
|
|
68
65
|
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
|
|
69
|
-
code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
70
66
|
redirect_url: import("@sinclair/typebox").TString;
|
|
71
67
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.OAUTH2>;
|
|
68
|
+
client_id: import("@sinclair/typebox").TString;
|
|
69
|
+
code: import("@sinclair/typebox").TString;
|
|
70
|
+
code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
71
|
+
scope: import("@sinclair/typebox").TString;
|
|
72
72
|
}>;
|
|
73
73
|
name: import("@sinclair/typebox").TString;
|
|
74
74
|
pieceName: import("@sinclair/typebox").TString;
|
|
@@ -97,16 +97,16 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
97
97
|
}>, import("@sinclair/typebox").TObject<{
|
|
98
98
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.OAUTH2>;
|
|
99
99
|
value: import("@sinclair/typebox").TObject<{
|
|
100
|
-
client_id: import("@sinclair/typebox").TString;
|
|
101
100
|
client_secret: import("@sinclair/typebox").TString;
|
|
102
101
|
grant_type: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2GrantType>>;
|
|
103
102
|
props: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TAny>>;
|
|
104
|
-
scope: import("@sinclair/typebox").TString;
|
|
105
|
-
code: import("@sinclair/typebox").TString;
|
|
106
103
|
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
|
|
107
|
-
code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
108
104
|
redirect_url: import("@sinclair/typebox").TString;
|
|
109
105
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.OAUTH2>;
|
|
106
|
+
client_id: import("@sinclair/typebox").TString;
|
|
107
|
+
code: import("@sinclair/typebox").TString;
|
|
108
|
+
code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
109
|
+
scope: import("@sinclair/typebox").TString;
|
|
110
110
|
}>;
|
|
111
111
|
name: import("@sinclair/typebox").TString;
|
|
112
112
|
pieceName: import("@sinclair/typebox").TString;
|
|
@@ -114,13 +114,13 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
114
114
|
}>, import("@sinclair/typebox").TObject<{
|
|
115
115
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.CLOUD_OAUTH2>;
|
|
116
116
|
value: import("@sinclair/typebox").TObject<{
|
|
117
|
-
client_id: import("@sinclair/typebox").TString;
|
|
118
|
-
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
|
|
119
|
-
code: import("@sinclair/typebox").TString;
|
|
120
|
-
code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
121
117
|
props: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
|
|
122
118
|
scope: import("@sinclair/typebox").TString;
|
|
123
119
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.CLOUD_OAUTH2>;
|
|
120
|
+
client_id: import("@sinclair/typebox").TString;
|
|
121
|
+
code: import("@sinclair/typebox").TString;
|
|
122
|
+
code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
123
|
+
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
|
|
124
124
|
}>;
|
|
125
125
|
name: import("@sinclair/typebox").TString;
|
|
126
126
|
pieceName: import("@sinclair/typebox").TString;
|
|
@@ -128,14 +128,14 @@ export declare const UpsertAppConnectionRequestBody: import("@sinclair/typebox")
|
|
|
128
128
|
}>, import("@sinclair/typebox").TObject<{
|
|
129
129
|
type: import("@sinclair/typebox").TLiteral<AppConnectionType.PLATFORM_OAUTH2>;
|
|
130
130
|
value: import("@sinclair/typebox").TObject<{
|
|
131
|
+
props: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
|
|
132
|
+
type: import("@sinclair/typebox").TLiteral<AppConnectionType.PLATFORM_OAUTH2>;
|
|
133
|
+
redirect_url: import("@sinclair/typebox").TString;
|
|
131
134
|
client_id: import("@sinclair/typebox").TString;
|
|
132
|
-
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
|
|
133
135
|
code: import("@sinclair/typebox").TString;
|
|
134
136
|
code_challenge: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TString>;
|
|
135
|
-
props: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TRecord<import("@sinclair/typebox").TString, import("@sinclair/typebox").TString>>;
|
|
136
137
|
scope: import("@sinclair/typebox").TString;
|
|
137
|
-
|
|
138
|
-
redirect_url: import("@sinclair/typebox").TString;
|
|
138
|
+
authorization_method: import("@sinclair/typebox").TOptional<import("@sinclair/typebox").TEnum<typeof OAuth2AuthorizationMethod>>;
|
|
139
139
|
}>;
|
|
140
140
|
name: import("@sinclair/typebox").TString;
|
|
141
141
|
pieceName: import("@sinclair/typebox").TString;
|