@qelos/global-types 4.1.1 → 4.2.1
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/ai-models.ts +301 -0
- package/dist/ai-models.d.ts +32 -0
- package/dist/ai-models.js +279 -0
- package/dist/ai-models.js.map +1 -0
- package/dist/app-configuration-metadata.d.ts +18 -0
- package/dist/app-configuration-metadata.js +3 -0
- package/dist/app-configuration-metadata.js.map +1 -0
- package/dist/auth-configuration-metadata.d.ts +41 -0
- package/dist/auth-configuration-metadata.js +3 -0
- package/dist/auth-configuration-metadata.js.map +1 -0
- package/dist/blueprint.d.ts +74 -0
- package/dist/blueprint.js +33 -0
- package/dist/blueprint.js.map +1 -0
- package/dist/event-subscriber.d.ts +6 -0
- package/dist/event-subscriber.js +3 -0
- package/dist/event-subscriber.js.map +1 -0
- package/dist/index.d.ts +23 -0
- package/dist/index.js +40 -0
- package/dist/index.js.map +1 -0
- package/dist/injectable.d.ts +6 -0
- package/dist/injectable.js +3 -0
- package/dist/injectable.js.map +1 -0
- package/dist/integration-source-status.d.ts +20 -0
- package/dist/integration-source-status.js +21 -0
- package/dist/integration-source-status.js.map +1 -0
- package/dist/integration-sources.d.ts +351 -0
- package/dist/integration-sources.js +141 -0
- package/dist/integration-sources.js.map +1 -0
- package/dist/integration-targets.d.ts +58 -0
- package/dist/integration-targets.js +3 -0
- package/dist/integration-targets.js.map +1 -0
- package/dist/integration.d.ts +39 -0
- package/dist/integration.js +12 -0
- package/dist/integration.js.map +1 -0
- package/dist/mcp-configuration-metadata.d.ts +19 -0
- package/dist/mcp-configuration-metadata.js +14 -0
- package/dist/mcp-configuration-metadata.js.map +1 -0
- package/dist/mcp-endpoint.d.ts +5 -0
- package/dist/mcp-endpoint.js +13 -0
- package/dist/mcp-endpoint.js.map +1 -0
- package/dist/micro-frontend.d.ts +43 -0
- package/dist/micro-frontend.js +3 -0
- package/dist/micro-frontend.js.map +1 -0
- package/dist/navbar-group.d.ts +7 -0
- package/dist/navbar-group.js +3 -0
- package/dist/navbar-group.js.map +1 -0
- package/dist/no-code-components.d.ts +34 -0
- package/dist/no-code-components.js +3 -0
- package/dist/no-code-components.js.map +1 -0
- package/dist/payment-event-resolution.d.ts +31 -0
- package/dist/payment-event-resolution.js +302 -0
- package/dist/payment-event-resolution.js.map +1 -0
- package/dist/payments.d.ts +165 -0
- package/dist/payments.js +3 -0
- package/dist/payments.js.map +1 -0
- package/dist/plugin-crud.d.ts +11 -0
- package/dist/plugin-crud.js +3 -0
- package/dist/plugin-crud.js.map +1 -0
- package/dist/plugin.d.ts +30 -0
- package/dist/plugin.js +3 -0
- package/dist/plugin.js.map +1 -0
- package/dist/qelos-integrator.d.ts +112 -0
- package/dist/qelos-integrator.js +14 -0
- package/dist/qelos-integrator.js.map +1 -0
- package/dist/query-filters.d.ts +7 -0
- package/dist/query-filters.js +3 -0
- package/dist/query-filters.js.map +1 -0
- package/dist/screen-requirement.d.ts +22 -0
- package/dist/screen-requirement.js +3 -0
- package/dist/screen-requirement.js.map +1 -0
- package/dist/workspace-configuration-metadata.d.ts +17 -0
- package/dist/workspace-configuration-metadata.js +3 -0
- package/dist/workspace-configuration-metadata.js.map +1 -0
- package/index.ts +5 -0
- package/integration-source-status.ts +38 -0
- package/integration-sources.ts +11 -0
- package/integration.ts +1 -0
- package/mcp-configuration-metadata.ts +33 -0
- package/mcp-endpoint.ts +12 -0
- package/package.json +11 -5
- package/payment-event-resolution.ts +388 -0
- package/payments.ts +34 -0
- package/tsconfig.json +17 -0
- package/LICENSE +0 -20
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth-configuration-metadata.js","sourceRoot":"","sources":["../auth-configuration-metadata.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export declare enum EntityIdentifierMechanism {
|
|
2
|
+
OBJECT_ID = "objectid",
|
|
3
|
+
GUID = "guid"
|
|
4
|
+
}
|
|
5
|
+
export declare enum BlueprintPropertyType {
|
|
6
|
+
STRING = "string",
|
|
7
|
+
NUMBER = "number",
|
|
8
|
+
BOOLEAN = "boolean",
|
|
9
|
+
DATE = "date",
|
|
10
|
+
DATETIME = "datetime",
|
|
11
|
+
TIME = "time",
|
|
12
|
+
OBJECT = "object",
|
|
13
|
+
FILE = "file"
|
|
14
|
+
}
|
|
15
|
+
export declare enum PermissionScope {
|
|
16
|
+
USER = "user",
|
|
17
|
+
WORKSPACE = "workspace",
|
|
18
|
+
TENANT = "tenant"
|
|
19
|
+
}
|
|
20
|
+
export declare enum CRUDOperation {
|
|
21
|
+
CREATE = "create",
|
|
22
|
+
READ = "read",
|
|
23
|
+
UPDATE = "update",
|
|
24
|
+
DELETE = "delete"
|
|
25
|
+
}
|
|
26
|
+
export interface IPermissionsDescriptor {
|
|
27
|
+
scope: PermissionScope;
|
|
28
|
+
operation: CRUDOperation;
|
|
29
|
+
guest: boolean;
|
|
30
|
+
roleBased: string[];
|
|
31
|
+
workspaceRoleBased: string[];
|
|
32
|
+
workspaceLabelsBased: string[];
|
|
33
|
+
}
|
|
34
|
+
export interface IBlueprintPropertyDescriptor {
|
|
35
|
+
title: string;
|
|
36
|
+
type: BlueprintPropertyType;
|
|
37
|
+
description: string;
|
|
38
|
+
required: boolean;
|
|
39
|
+
enum?: string[];
|
|
40
|
+
multi?: boolean;
|
|
41
|
+
min?: number;
|
|
42
|
+
max?: number;
|
|
43
|
+
schema?: any;
|
|
44
|
+
}
|
|
45
|
+
export interface IBlueprintLimitation {
|
|
46
|
+
scope: PermissionScope;
|
|
47
|
+
workspaceLabels: string[];
|
|
48
|
+
roles: string[];
|
|
49
|
+
properties?: string[];
|
|
50
|
+
value: number;
|
|
51
|
+
}
|
|
52
|
+
export interface IBlueprint {
|
|
53
|
+
tenant: string;
|
|
54
|
+
identifier: string;
|
|
55
|
+
name: string;
|
|
56
|
+
description?: string;
|
|
57
|
+
entityIdentifierMechanism: EntityIdentifierMechanism;
|
|
58
|
+
permissions: Array<Partial<IPermissionsDescriptor>>;
|
|
59
|
+
permissionScope: PermissionScope;
|
|
60
|
+
properties: Record<string, IBlueprintPropertyDescriptor>;
|
|
61
|
+
updateMapping: Record<string, string>;
|
|
62
|
+
relations: {
|
|
63
|
+
key: string;
|
|
64
|
+
target: string;
|
|
65
|
+
}[];
|
|
66
|
+
limitations?: Array<IBlueprintLimitation>;
|
|
67
|
+
dispatchers: {
|
|
68
|
+
create: boolean;
|
|
69
|
+
update: boolean;
|
|
70
|
+
delete: boolean;
|
|
71
|
+
};
|
|
72
|
+
created: Date;
|
|
73
|
+
updated: Date;
|
|
74
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CRUDOperation = exports.PermissionScope = exports.BlueprintPropertyType = exports.EntityIdentifierMechanism = void 0;
|
|
4
|
+
var EntityIdentifierMechanism;
|
|
5
|
+
(function (EntityIdentifierMechanism) {
|
|
6
|
+
EntityIdentifierMechanism["OBJECT_ID"] = "objectid";
|
|
7
|
+
EntityIdentifierMechanism["GUID"] = "guid";
|
|
8
|
+
})(EntityIdentifierMechanism || (exports.EntityIdentifierMechanism = EntityIdentifierMechanism = {}));
|
|
9
|
+
var BlueprintPropertyType;
|
|
10
|
+
(function (BlueprintPropertyType) {
|
|
11
|
+
BlueprintPropertyType["STRING"] = "string";
|
|
12
|
+
BlueprintPropertyType["NUMBER"] = "number";
|
|
13
|
+
BlueprintPropertyType["BOOLEAN"] = "boolean";
|
|
14
|
+
BlueprintPropertyType["DATE"] = "date";
|
|
15
|
+
BlueprintPropertyType["DATETIME"] = "datetime";
|
|
16
|
+
BlueprintPropertyType["TIME"] = "time";
|
|
17
|
+
BlueprintPropertyType["OBJECT"] = "object";
|
|
18
|
+
BlueprintPropertyType["FILE"] = "file";
|
|
19
|
+
})(BlueprintPropertyType || (exports.BlueprintPropertyType = BlueprintPropertyType = {}));
|
|
20
|
+
var PermissionScope;
|
|
21
|
+
(function (PermissionScope) {
|
|
22
|
+
PermissionScope["USER"] = "user";
|
|
23
|
+
PermissionScope["WORKSPACE"] = "workspace";
|
|
24
|
+
PermissionScope["TENANT"] = "tenant";
|
|
25
|
+
})(PermissionScope || (exports.PermissionScope = PermissionScope = {}));
|
|
26
|
+
var CRUDOperation;
|
|
27
|
+
(function (CRUDOperation) {
|
|
28
|
+
CRUDOperation["CREATE"] = "create";
|
|
29
|
+
CRUDOperation["READ"] = "read";
|
|
30
|
+
CRUDOperation["UPDATE"] = "update";
|
|
31
|
+
CRUDOperation["DELETE"] = "delete";
|
|
32
|
+
})(CRUDOperation || (exports.CRUDOperation = CRUDOperation = {}));
|
|
33
|
+
//# sourceMappingURL=blueprint.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"blueprint.js","sourceRoot":"","sources":["../blueprint.ts"],"names":[],"mappings":";;;AAAA,IAAY,yBAGX;AAHD,WAAY,yBAAyB;IACnC,mDAAsB,CAAA;IACtB,0CAAa,CAAA;AACf,CAAC,EAHW,yBAAyB,yCAAzB,yBAAyB,QAGpC;AAED,IAAY,qBASX;AATD,WAAY,qBAAqB;IAC/B,0CAAiB,CAAA;IACjB,0CAAiB,CAAA;IACjB,4CAAmB,CAAA;IACnB,sCAAa,CAAA;IACb,8CAAqB,CAAA;IACrB,sCAAa,CAAA;IACb,0CAAiB,CAAA;IACjB,sCAAa,CAAA;AACf,CAAC,EATW,qBAAqB,qCAArB,qBAAqB,QAShC;AAED,IAAY,eAIX;AAJD,WAAY,eAAe;IACzB,gCAAa,CAAA;IACb,0CAAuB,CAAA;IACvB,oCAAiB,CAAA;AACnB,CAAC,EAJW,eAAe,+BAAf,eAAe,QAI1B;AAED,IAAY,aAKX;AALD,WAAY,aAAa;IACvB,kCAAiB,CAAA;IACjB,8BAAa,CAAA;IACb,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;AACnB,CAAC,EALW,aAAa,6BAAb,aAAa,QAKxB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"event-subscriber.js","sourceRoot":"","sources":["../event-subscriber.ts"],"names":[],"mappings":""}
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export * from './blueprint';
|
|
2
|
+
export * from './injectable';
|
|
3
|
+
export * from './event-subscriber';
|
|
4
|
+
export * from './plugin';
|
|
5
|
+
export * from './micro-frontend';
|
|
6
|
+
export * from './screen-requirement';
|
|
7
|
+
export * from './navbar-group';
|
|
8
|
+
export * from './plugin-crud';
|
|
9
|
+
export * from './query-filters';
|
|
10
|
+
export * from './workspace-configuration-metadata';
|
|
11
|
+
export * from './auth-configuration-metadata';
|
|
12
|
+
export * from './app-configuration-metadata';
|
|
13
|
+
export * from './mcp-configuration-metadata';
|
|
14
|
+
export * from './mcp-endpoint';
|
|
15
|
+
export * from './ai-models';
|
|
16
|
+
export * from './integration-sources';
|
|
17
|
+
export * from './integration-source-status';
|
|
18
|
+
export * from './integration';
|
|
19
|
+
export * from './integration-targets';
|
|
20
|
+
export * from './no-code-components';
|
|
21
|
+
export * from './payments';
|
|
22
|
+
export * from './payment-event-resolution';
|
|
23
|
+
export * from './qelos-integrator';
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,40 @@
|
|
|
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("./blueprint"), exports);
|
|
18
|
+
__exportStar(require("./injectable"), exports);
|
|
19
|
+
__exportStar(require("./event-subscriber"), exports);
|
|
20
|
+
__exportStar(require("./plugin"), exports);
|
|
21
|
+
__exportStar(require("./micro-frontend"), exports);
|
|
22
|
+
__exportStar(require("./screen-requirement"), exports);
|
|
23
|
+
__exportStar(require("./navbar-group"), exports);
|
|
24
|
+
__exportStar(require("./plugin-crud"), exports);
|
|
25
|
+
__exportStar(require("./query-filters"), exports);
|
|
26
|
+
__exportStar(require("./workspace-configuration-metadata"), exports);
|
|
27
|
+
__exportStar(require("./auth-configuration-metadata"), exports);
|
|
28
|
+
__exportStar(require("./app-configuration-metadata"), exports);
|
|
29
|
+
__exportStar(require("./mcp-configuration-metadata"), exports);
|
|
30
|
+
__exportStar(require("./mcp-endpoint"), exports);
|
|
31
|
+
__exportStar(require("./ai-models"), exports);
|
|
32
|
+
__exportStar(require("./integration-sources"), exports);
|
|
33
|
+
__exportStar(require("./integration-source-status"), exports);
|
|
34
|
+
__exportStar(require("./integration"), exports);
|
|
35
|
+
__exportStar(require("./integration-targets"), exports);
|
|
36
|
+
__exportStar(require("./no-code-components"), exports);
|
|
37
|
+
__exportStar(require("./payments"), exports);
|
|
38
|
+
__exportStar(require("./payment-event-resolution"), exports);
|
|
39
|
+
__exportStar(require("./qelos-integrator"), exports);
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,8CAA2B;AAC3B,+CAA4B;AAC5B,qDAAkC;AAClC,2CAAwB;AACxB,mDAAgC;AAChC,uDAAoC;AACpC,iDAA8B;AAC9B,gDAA6B;AAC7B,kDAA+B;AAC/B,qEAAkD;AAClD,gEAA6C;AAC7C,+DAA4C;AAC5C,+DAA4C;AAC5C,iDAA8B;AAC9B,8CAA2B;AAC3B,wDAAqC;AACrC,8DAA2C;AAC3C,gDAA6B;AAC7B,wDAAqC;AACrC,uDAAqC;AACrC,6CAA2B;AAC3B,6DAA2C;AAC3C,qDAAmC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"injectable.js","sourceRoot":"","sources":["../injectable.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { IntegrationSourceKind } from './integration-sources';
|
|
2
|
+
export type IntegrationSourceStatusKind = 'connected' | 'failed' | 'unsupported';
|
|
3
|
+
/** Payload for draft status checks while creating or editing a connection. */
|
|
4
|
+
export interface IIntegrationSourceStatusRequest {
|
|
5
|
+
kind: IntegrationSourceKind;
|
|
6
|
+
metadata: Record<string, unknown>;
|
|
7
|
+
authentication?: Record<string, unknown>;
|
|
8
|
+
}
|
|
9
|
+
/** Result of a read-only integration source connection check. */
|
|
10
|
+
export interface IIntegrationSourceStatusResult {
|
|
11
|
+
status: IntegrationSourceStatusKind;
|
|
12
|
+
message: string;
|
|
13
|
+
kind: IntegrationSourceKind;
|
|
14
|
+
checkedAt: string;
|
|
15
|
+
/** Safe provider snippets (no secrets). */
|
|
16
|
+
details?: Record<string, unknown>;
|
|
17
|
+
}
|
|
18
|
+
export declare const PAYMENT_INTEGRATION_SOURCE_KINDS: IntegrationSourceKind[];
|
|
19
|
+
/** Integration source kinds with a real, implemented connection status check. */
|
|
20
|
+
export declare const STATUS_CHECK_SUPPORTED_INTEGRATION_SOURCE_KINDS: IntegrationSourceKind[];
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.STATUS_CHECK_SUPPORTED_INTEGRATION_SOURCE_KINDS = exports.PAYMENT_INTEGRATION_SOURCE_KINDS = void 0;
|
|
4
|
+
const integration_sources_1 = require("./integration-sources");
|
|
5
|
+
exports.PAYMENT_INTEGRATION_SOURCE_KINDS = [
|
|
6
|
+
integration_sources_1.IntegrationSourceKind.Sumit,
|
|
7
|
+
integration_sources_1.IntegrationSourceKind.PayPal,
|
|
8
|
+
integration_sources_1.IntegrationSourceKind.Paddle,
|
|
9
|
+
integration_sources_1.IntegrationSourceKind.DodoPayments,
|
|
10
|
+
];
|
|
11
|
+
/** Integration source kinds with a real, implemented connection status check. */
|
|
12
|
+
exports.STATUS_CHECK_SUPPORTED_INTEGRATION_SOURCE_KINDS = [
|
|
13
|
+
...exports.PAYMENT_INTEGRATION_SOURCE_KINDS,
|
|
14
|
+
integration_sources_1.IntegrationSourceKind.Http,
|
|
15
|
+
integration_sources_1.IntegrationSourceKind.OpenAI,
|
|
16
|
+
integration_sources_1.IntegrationSourceKind.Qelos,
|
|
17
|
+
integration_sources_1.IntegrationSourceKind.Email,
|
|
18
|
+
integration_sources_1.IntegrationSourceKind.AWS,
|
|
19
|
+
integration_sources_1.IntegrationSourceKind.Cloudflare,
|
|
20
|
+
];
|
|
21
|
+
//# sourceMappingURL=integration-source-status.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"integration-source-status.js","sourceRoot":"","sources":["../integration-source-status.ts"],"names":[],"mappings":";;;AAAA,+DAA8D;AAqBjD,QAAA,gCAAgC,GAA4B;IACvE,2CAAqB,CAAC,KAAK;IAC3B,2CAAqB,CAAC,MAAM;IAC5B,2CAAqB,CAAC,MAAM;IAC5B,2CAAqB,CAAC,YAAY;CACnC,CAAC;AAEF,iFAAiF;AACpE,QAAA,+CAA+C,GAA4B;IACtF,GAAG,wCAAgC;IACnC,2CAAqB,CAAC,IAAI;IAC1B,2CAAqB,CAAC,MAAM;IAC5B,2CAAqB,CAAC,KAAK;IAC3B,2CAAqB,CAAC,KAAK;IAC3B,2CAAqB,CAAC,GAAG;IACzB,2CAAqB,CAAC,UAAU;CACjC,CAAC"}
|
|
@@ -0,0 +1,351 @@
|
|
|
1
|
+
export declare enum IntegrationSourceKind {
|
|
2
|
+
Qelos = "qelos",
|
|
3
|
+
OpenAI = "openai",
|
|
4
|
+
Email = "email",
|
|
5
|
+
N8n = "n8n",
|
|
6
|
+
Supabase = "supabase",
|
|
7
|
+
LinkedIn = "linkedin",
|
|
8
|
+
Http = "http",
|
|
9
|
+
ClaudeAi = "claudeai",
|
|
10
|
+
Facebook = "facebook",
|
|
11
|
+
Google = "google",
|
|
12
|
+
GitHub = "github",
|
|
13
|
+
Gemini = "gemini",
|
|
14
|
+
Sumit = "sumit",
|
|
15
|
+
PayPal = "paypal",
|
|
16
|
+
Paddle = "paddle",
|
|
17
|
+
DodoPayments = "dodopayments",
|
|
18
|
+
AWS = "aws",
|
|
19
|
+
Cloudflare = "cloudflare"
|
|
20
|
+
}
|
|
21
|
+
export interface IIntegrationSource {
|
|
22
|
+
_id?: string;
|
|
23
|
+
tenant: string;
|
|
24
|
+
plugin?: string;
|
|
25
|
+
user: string;
|
|
26
|
+
authentication: any;
|
|
27
|
+
metadata: any;
|
|
28
|
+
name: string;
|
|
29
|
+
labels: string[];
|
|
30
|
+
kind: IntegrationSourceKind;
|
|
31
|
+
created: Date;
|
|
32
|
+
}
|
|
33
|
+
export declare enum HttpTargetOperation {
|
|
34
|
+
makeRequest = "makeRequest"
|
|
35
|
+
}
|
|
36
|
+
export declare enum QelosTriggerOperation {
|
|
37
|
+
webhook = "webhook",
|
|
38
|
+
apiWebhook = "apiWebhook",
|
|
39
|
+
chatCompletion = "chatCompletion",
|
|
40
|
+
mcpTool = "mcpTool"
|
|
41
|
+
}
|
|
42
|
+
export declare enum QelosTargetOperation {
|
|
43
|
+
webhook = "webhook",
|
|
44
|
+
createBlueprintEntity = "createBlueprintEntity",
|
|
45
|
+
createUser = "createUser",
|
|
46
|
+
updateUser = "updateUser",
|
|
47
|
+
setUserRoles = "setUserRoles",
|
|
48
|
+
setWorkspaceLabels = "setWorkspaceLabels",
|
|
49
|
+
updateBlueprintEntity = "updateBlueprintEntity",
|
|
50
|
+
chatCompletion = "chatCompletion"
|
|
51
|
+
}
|
|
52
|
+
export declare enum OpenAITriggerOperation {
|
|
53
|
+
functionCalling = "functionCalling"
|
|
54
|
+
}
|
|
55
|
+
export declare const OpenAITargetOperation: {
|
|
56
|
+
readonly chatCompletion: "chatCompletion";
|
|
57
|
+
readonly uploadContentToStorage: "uploadContentToStorage";
|
|
58
|
+
readonly clearStorageFiles: "clearStorageFiles";
|
|
59
|
+
};
|
|
60
|
+
export declare const EmailTargetOperation: {
|
|
61
|
+
readonly sendEmail: "sendEmail";
|
|
62
|
+
};
|
|
63
|
+
export declare const ClaudeAITargetOperation: {
|
|
64
|
+
readonly chatCompletion: "chatCompletion";
|
|
65
|
+
};
|
|
66
|
+
export declare const SumitTargetOperation: {
|
|
67
|
+
createCustomer: string;
|
|
68
|
+
setPaymentDetails: string;
|
|
69
|
+
listPaymentMethods: string;
|
|
70
|
+
createPaymentMethod: string;
|
|
71
|
+
getPaymentMethod: string;
|
|
72
|
+
updatePaymentMethod: string;
|
|
73
|
+
deletePaymentMethod: string;
|
|
74
|
+
listPayments: string;
|
|
75
|
+
createPayment: string;
|
|
76
|
+
getPayment: string;
|
|
77
|
+
updatePayment: string;
|
|
78
|
+
listRecurringPayments: string;
|
|
79
|
+
beginCheckoutRedirect: string;
|
|
80
|
+
createRecurringPayment: string;
|
|
81
|
+
getRecurringPayment: string;
|
|
82
|
+
updateRecurringPayment: string;
|
|
83
|
+
deleteRecurringPayment: string;
|
|
84
|
+
};
|
|
85
|
+
export declare const PayPalTargetOperation: {
|
|
86
|
+
readonly createOrder: "createOrder";
|
|
87
|
+
readonly captureOrder: "captureOrder";
|
|
88
|
+
readonly refundPayment: "refundPayment";
|
|
89
|
+
readonly createProduct: "createProduct";
|
|
90
|
+
readonly createSubscription: "createSubscription";
|
|
91
|
+
readonly listTransactions: "listTransactions";
|
|
92
|
+
};
|
|
93
|
+
export declare const PaddleTargetOperation: {
|
|
94
|
+
readonly createProduct: "createProduct";
|
|
95
|
+
readonly listProducts: "listProducts";
|
|
96
|
+
readonly createPrice: "createPrice";
|
|
97
|
+
readonly listPrices: "listPrices";
|
|
98
|
+
readonly createSubscription: "createSubscription";
|
|
99
|
+
readonly getSubscription: "getSubscription";
|
|
100
|
+
readonly listSubscriptions: "listSubscriptions";
|
|
101
|
+
readonly cancelSubscription: "cancelSubscription";
|
|
102
|
+
readonly listTransactions: "listTransactions";
|
|
103
|
+
readonly getTransaction: "getTransaction";
|
|
104
|
+
readonly createCustomer: "createCustomer";
|
|
105
|
+
readonly listCustomers: "listCustomers";
|
|
106
|
+
};
|
|
107
|
+
export declare const DodoPaymentsTargetOperation: {
|
|
108
|
+
readonly createPayment: "createPayment";
|
|
109
|
+
readonly getPayment: "getPayment";
|
|
110
|
+
readonly listPayments: "listPayments";
|
|
111
|
+
readonly createSubscription: "createSubscription";
|
|
112
|
+
readonly getSubscription: "getSubscription";
|
|
113
|
+
readonly updateSubscription: "updateSubscription";
|
|
114
|
+
readonly cancelSubscription: "cancelSubscription";
|
|
115
|
+
readonly listSubscriptions: "listSubscriptions";
|
|
116
|
+
readonly createProduct: "createProduct";
|
|
117
|
+
readonly getProduct: "getProduct";
|
|
118
|
+
readonly listProducts: "listProducts";
|
|
119
|
+
readonly createCustomer: "createCustomer";
|
|
120
|
+
readonly getCustomer: "getCustomer";
|
|
121
|
+
readonly listCustomers: "listCustomers";
|
|
122
|
+
};
|
|
123
|
+
export declare const AWSTargetOperation: {
|
|
124
|
+
readonly callFunction: "callFunction";
|
|
125
|
+
readonly getFunction: "getFunction";
|
|
126
|
+
readonly createFunction: "createFunction";
|
|
127
|
+
readonly listFunctions: "listFunctions";
|
|
128
|
+
readonly updateFunction: "updateFunction";
|
|
129
|
+
};
|
|
130
|
+
export declare const CloudflareTargetOperation: {
|
|
131
|
+
readonly callFunction: "callFunction";
|
|
132
|
+
readonly getFunction: "getFunction";
|
|
133
|
+
readonly createFunction: "createFunction";
|
|
134
|
+
readonly listFunctions: "listFunctions";
|
|
135
|
+
readonly updateFunction: "updateFunction";
|
|
136
|
+
};
|
|
137
|
+
export interface IAWSSource extends IIntegrationSource {
|
|
138
|
+
_id?: string;
|
|
139
|
+
kind: IntegrationSourceKind.AWS;
|
|
140
|
+
authentication: {
|
|
141
|
+
secretAccessKey: string;
|
|
142
|
+
};
|
|
143
|
+
metadata: {
|
|
144
|
+
region: string;
|
|
145
|
+
accessKeyId: string;
|
|
146
|
+
};
|
|
147
|
+
}
|
|
148
|
+
export interface ICloudflareSource extends IIntegrationSource {
|
|
149
|
+
_id?: string;
|
|
150
|
+
kind: IntegrationSourceKind.Cloudflare;
|
|
151
|
+
authentication: {
|
|
152
|
+
apiToken: string;
|
|
153
|
+
};
|
|
154
|
+
metadata: {
|
|
155
|
+
accountId: string;
|
|
156
|
+
workersDevSubdomain: string;
|
|
157
|
+
};
|
|
158
|
+
}
|
|
159
|
+
export interface ILinkedInSource extends IIntegrationSource {
|
|
160
|
+
_id?: string;
|
|
161
|
+
kind: IntegrationSourceKind.LinkedIn;
|
|
162
|
+
authentication: {
|
|
163
|
+
clientSecret?: string;
|
|
164
|
+
};
|
|
165
|
+
metadata: {
|
|
166
|
+
clientId: string;
|
|
167
|
+
scope: string;
|
|
168
|
+
};
|
|
169
|
+
}
|
|
170
|
+
export interface ISumitSource extends IIntegrationSource {
|
|
171
|
+
_id?: string;
|
|
172
|
+
kind: IntegrationSourceKind.Sumit;
|
|
173
|
+
authentication: {
|
|
174
|
+
apiKey: string;
|
|
175
|
+
};
|
|
176
|
+
metadata: {
|
|
177
|
+
companyId: string;
|
|
178
|
+
};
|
|
179
|
+
}
|
|
180
|
+
export interface IPayPalSource extends IIntegrationSource {
|
|
181
|
+
_id?: string;
|
|
182
|
+
kind: IntegrationSourceKind.PayPal;
|
|
183
|
+
authentication: {
|
|
184
|
+
clientSecret: string;
|
|
185
|
+
};
|
|
186
|
+
metadata: {
|
|
187
|
+
clientId: string;
|
|
188
|
+
environment: 'sandbox' | 'live';
|
|
189
|
+
};
|
|
190
|
+
}
|
|
191
|
+
export interface IPaddleSource extends IIntegrationSource {
|
|
192
|
+
_id?: string;
|
|
193
|
+
kind: IntegrationSourceKind.Paddle;
|
|
194
|
+
authentication: {
|
|
195
|
+
apiKey: string;
|
|
196
|
+
};
|
|
197
|
+
metadata: {
|
|
198
|
+
environment: 'sandbox' | 'live';
|
|
199
|
+
};
|
|
200
|
+
}
|
|
201
|
+
export interface IDodoPaymentsSource extends IIntegrationSource {
|
|
202
|
+
_id?: string;
|
|
203
|
+
kind: IntegrationSourceKind.DodoPayments;
|
|
204
|
+
authentication: {
|
|
205
|
+
apiKey: string;
|
|
206
|
+
};
|
|
207
|
+
metadata: {
|
|
208
|
+
environment: 'test' | 'live';
|
|
209
|
+
};
|
|
210
|
+
}
|
|
211
|
+
export interface IQelosSource extends IIntegrationSource {
|
|
212
|
+
_id?: string;
|
|
213
|
+
kind: IntegrationSourceKind.Qelos;
|
|
214
|
+
authentication: {
|
|
215
|
+
password: string;
|
|
216
|
+
};
|
|
217
|
+
metadata: {
|
|
218
|
+
url: string;
|
|
219
|
+
username: string;
|
|
220
|
+
};
|
|
221
|
+
}
|
|
222
|
+
export interface ISupabaseSource extends IIntegrationSource {
|
|
223
|
+
_id?: string;
|
|
224
|
+
kind: IntegrationSourceKind.Supabase;
|
|
225
|
+
metadata: {
|
|
226
|
+
url: string;
|
|
227
|
+
};
|
|
228
|
+
}
|
|
229
|
+
export interface IOpenAISource extends IIntegrationSource {
|
|
230
|
+
_id?: string;
|
|
231
|
+
kind: IntegrationSourceKind.OpenAI;
|
|
232
|
+
authentication: {
|
|
233
|
+
token: string;
|
|
234
|
+
};
|
|
235
|
+
metadata: {
|
|
236
|
+
/** OpenAI organization id (optional). */
|
|
237
|
+
organizationId?: string;
|
|
238
|
+
/**
|
|
239
|
+
* Custom base URL for OpenAI-compatible APIs. When omitted, the OpenAI client uses the default (api.openai.com).
|
|
240
|
+
*/
|
|
241
|
+
apiUrl?: string;
|
|
242
|
+
defaultModel?: string | null;
|
|
243
|
+
defaultTemperature?: number;
|
|
244
|
+
defaultTopP?: number;
|
|
245
|
+
defaultFrequencyPenalty?: number;
|
|
246
|
+
defaultPresencePenalty?: number;
|
|
247
|
+
defaultMaxTokens?: number;
|
|
248
|
+
defaultResponseFormat?: string;
|
|
249
|
+
};
|
|
250
|
+
}
|
|
251
|
+
export interface IClaudeAiSource extends IIntegrationSource {
|
|
252
|
+
_id?: string;
|
|
253
|
+
kind: IntegrationSourceKind.ClaudeAi;
|
|
254
|
+
authentication: {
|
|
255
|
+
token: string;
|
|
256
|
+
};
|
|
257
|
+
metadata: {
|
|
258
|
+
/** Custom API base URL when using a proxy or compatible endpoint. */
|
|
259
|
+
apiUrl?: string;
|
|
260
|
+
defaultModel?: string | null;
|
|
261
|
+
initialMessages?: {
|
|
262
|
+
role: string;
|
|
263
|
+
content: string;
|
|
264
|
+
}[];
|
|
265
|
+
};
|
|
266
|
+
}
|
|
267
|
+
export interface IGeminiSource extends IIntegrationSource {
|
|
268
|
+
_id?: string;
|
|
269
|
+
kind: IntegrationSourceKind.Gemini;
|
|
270
|
+
authentication: {
|
|
271
|
+
token: string;
|
|
272
|
+
};
|
|
273
|
+
metadata: {
|
|
274
|
+
/**
|
|
275
|
+
* Custom API base URL when using a proxy or compatible endpoint. When omitted, the Gemini client uses the default Google endpoint.
|
|
276
|
+
*/
|
|
277
|
+
apiUrl?: string;
|
|
278
|
+
defaultModel?: string | null;
|
|
279
|
+
initialMessages?: {
|
|
280
|
+
role: string;
|
|
281
|
+
content: string;
|
|
282
|
+
}[];
|
|
283
|
+
};
|
|
284
|
+
}
|
|
285
|
+
export interface IN8nSource extends IIntegrationSource {
|
|
286
|
+
_id?: string;
|
|
287
|
+
kind: IntegrationSourceKind.N8n;
|
|
288
|
+
metadata: {
|
|
289
|
+
url: string;
|
|
290
|
+
};
|
|
291
|
+
}
|
|
292
|
+
export interface IEmailSource extends IIntegrationSource {
|
|
293
|
+
_id?: string;
|
|
294
|
+
kind: IntegrationSourceKind.Email;
|
|
295
|
+
authentication: {
|
|
296
|
+
password: string;
|
|
297
|
+
};
|
|
298
|
+
metadata: {
|
|
299
|
+
username: string;
|
|
300
|
+
email: string;
|
|
301
|
+
pop3: string;
|
|
302
|
+
smtp: string;
|
|
303
|
+
senderName: string;
|
|
304
|
+
};
|
|
305
|
+
}
|
|
306
|
+
export interface IFacebookSource extends IIntegrationSource {
|
|
307
|
+
_id?: string;
|
|
308
|
+
kind: IntegrationSourceKind.Facebook;
|
|
309
|
+
authentication: {
|
|
310
|
+
clientSecret: string;
|
|
311
|
+
};
|
|
312
|
+
metadata: {
|
|
313
|
+
clientId: string;
|
|
314
|
+
scope: string;
|
|
315
|
+
};
|
|
316
|
+
}
|
|
317
|
+
export interface IHttpSource extends IIntegrationSource {
|
|
318
|
+
_id?: string;
|
|
319
|
+
kind: IntegrationSourceKind.Http;
|
|
320
|
+
authentication: {
|
|
321
|
+
securedHeaders: Record<string, string>;
|
|
322
|
+
};
|
|
323
|
+
metadata: {
|
|
324
|
+
baseUrl: string;
|
|
325
|
+
headers: Record<string, string>;
|
|
326
|
+
method: string;
|
|
327
|
+
query: Record<string, string>;
|
|
328
|
+
};
|
|
329
|
+
}
|
|
330
|
+
export interface IGoogleSource extends IIntegrationSource {
|
|
331
|
+
_id?: string;
|
|
332
|
+
kind: IntegrationSourceKind.Google;
|
|
333
|
+
authentication: {
|
|
334
|
+
clientSecret: string;
|
|
335
|
+
};
|
|
336
|
+
metadata: {
|
|
337
|
+
clientId: string;
|
|
338
|
+
scope: string;
|
|
339
|
+
};
|
|
340
|
+
}
|
|
341
|
+
export interface IGithubSource extends IIntegrationSource {
|
|
342
|
+
_id?: string;
|
|
343
|
+
kind: IntegrationSourceKind.GitHub;
|
|
344
|
+
authentication: {
|
|
345
|
+
clientSecret: string;
|
|
346
|
+
};
|
|
347
|
+
metadata: {
|
|
348
|
+
clientId: string;
|
|
349
|
+
scope: string;
|
|
350
|
+
};
|
|
351
|
+
}
|