@squidcloud/local-backend 1.0.166 → 1.0.168
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 +1 -1
- package/dist/internal-common/src/code-executor.types.d.ts +0 -15
- package/dist/internal-common/src/code-executor.types.js +0 -3
- package/dist/internal-common/src/code-executor.types.js.map +0 -1
- package/dist/internal-common/src/local-dev.types.d.ts +0 -54
- package/dist/internal-common/src/local-dev.types.js +0 -11
- package/dist/internal-common/src/local-dev.types.js.map +0 -1
- package/dist/internal-common/src/public-types/ai-chatbot.public-context.d.ts +0 -13
- package/dist/internal-common/src/public-types/ai-chatbot.public-context.js +0 -20
- package/dist/internal-common/src/public-types/ai-chatbot.public-context.js.map +0 -1
- package/dist/internal-common/src/public-types/ai-chatbot.public-types.d.ts +0 -29
- package/dist/internal-common/src/public-types/ai-chatbot.public-types.js +0 -11
- package/dist/internal-common/src/public-types/ai-chatbot.public-types.js.map +0 -1
- package/dist/internal-common/src/public-types/api-call.public-context.d.ts +0 -13
- package/dist/internal-common/src/public-types/api-call.public-context.js +0 -17
- package/dist/internal-common/src/public-types/api-call.public-context.js.map +0 -1
- package/dist/internal-common/src/public-types/application.public-types.d.ts +0 -201
- package/dist/internal-common/src/public-types/application.public-types.js +0 -90
- package/dist/internal-common/src/public-types/application.public-types.js.map +0 -1
- package/dist/internal-common/src/public-types/bundle-api.public-types.d.ts +0 -55
- package/dist/internal-common/src/public-types/bundle-api.public-types.js +0 -3
- package/dist/internal-common/src/public-types/bundle-api.public-types.js.map +0 -1
- package/dist/internal-common/src/public-types/bundle-data.public-types.d.ts +0 -5
- package/dist/internal-common/src/public-types/bundle-data.public-types.js +0 -3
- package/dist/internal-common/src/public-types/bundle-data.public-types.js.map +0 -1
- package/dist/internal-common/src/public-types/communication.public-types.d.ts +0 -9
- package/dist/internal-common/src/public-types/communication.public-types.js +0 -6
- package/dist/internal-common/src/public-types/communication.public-types.js.map +0 -1
- package/dist/internal-common/src/public-types/context.public-types.d.ts +0 -24
- package/dist/internal-common/src/public-types/context.public-types.js +0 -3
- package/dist/internal-common/src/public-types/context.public-types.js.map +0 -1
- package/dist/internal-common/src/public-types/distributed-lock.public-context.d.ts +0 -4
- package/dist/internal-common/src/public-types/distributed-lock.public-context.js +0 -10
- package/dist/internal-common/src/public-types/distributed-lock.public-context.js.map +0 -1
- package/dist/internal-common/src/public-types/document.public-types.d.ts +0 -25
- package/dist/internal-common/src/public-types/document.public-types.js +0 -3
- package/dist/internal-common/src/public-types/document.public-types.js.map +0 -1
- package/dist/internal-common/src/public-types/graphql.public-context.d.ts +0 -7
- package/dist/internal-common/src/public-types/graphql.public-context.js +0 -13
- package/dist/internal-common/src/public-types/graphql.public-context.js.map +0 -1
- package/dist/internal-common/src/public-types/graphql.public-types.d.ts +0 -9
- package/dist/internal-common/src/public-types/graphql.public-types.js +0 -3
- package/dist/internal-common/src/public-types/graphql.public-types.js.map +0 -1
- package/dist/internal-common/src/public-types/integration.public-types.d.ts +0 -61
- package/dist/internal-common/src/public-types/integration.public-types.js +0 -68
- package/dist/internal-common/src/public-types/integration.public-types.js.map +0 -1
- package/dist/internal-common/src/public-types/integrations/ai_chatbot.types.d.ts +0 -32
- package/dist/internal-common/src/public-types/integrations/ai_chatbot.types.js +0 -3
- package/dist/internal-common/src/public-types/integrations/ai_chatbot.types.js.map +0 -1
- package/dist/internal-common/src/public-types/integrations/api.types.d.ts +0 -81
- package/dist/internal-common/src/public-types/integrations/api.types.js +0 -3
- package/dist/internal-common/src/public-types/integrations/api.types.js.map +0 -1
- package/dist/internal-common/src/public-types/integrations/auth.types.d.ts +0 -46
- package/dist/internal-common/src/public-types/integrations/auth.types.js +0 -3
- package/dist/internal-common/src/public-types/integrations/auth.types.js.map +0 -1
- package/dist/internal-common/src/public-types/integrations/database.types.d.ts +0 -206
- package/dist/internal-common/src/public-types/integrations/database.types.js +0 -3
- package/dist/internal-common/src/public-types/integrations/database.types.js.map +0 -1
- package/dist/internal-common/src/public-types/integrations/observability.types.d.ts +0 -24
- package/dist/internal-common/src/public-types/integrations/observability.types.js +0 -24
- package/dist/internal-common/src/public-types/integrations/observability.types.js.map +0 -1
- package/dist/internal-common/src/public-types/integrations/queue-types.d.ts +0 -40
- package/dist/internal-common/src/public-types/integrations/queue-types.js +0 -3
- package/dist/internal-common/src/public-types/integrations/queue-types.js.map +0 -1
- package/dist/internal-common/src/public-types/integrations/schemas.d.ts +0 -70
- package/dist/internal-common/src/public-types/integrations/schemas.js +0 -45
- package/dist/internal-common/src/public-types/integrations/schemas.js.map +0 -1
- package/dist/internal-common/src/public-types/mutation.public-context.d.ts +0 -13
- package/dist/internal-common/src/public-types/mutation.public-context.js +0 -27
- package/dist/internal-common/src/public-types/mutation.public-context.js.map +0 -1
- package/dist/internal-common/src/public-types/mutation.public-types.d.ts +0 -44
- package/dist/internal-common/src/public-types/mutation.public-types.js +0 -3
- package/dist/internal-common/src/public-types/mutation.public-types.js.map +0 -1
- package/dist/internal-common/src/public-types/native-query.public-context.d.ts +0 -7
- package/dist/internal-common/src/public-types/native-query.public-context.js +0 -12
- package/dist/internal-common/src/public-types/native-query.public-context.js.map +0 -1
- package/dist/internal-common/src/public-types/query.public-context.d.ts +0 -47
- package/dist/internal-common/src/public-types/query.public-context.js +0 -161
- package/dist/internal-common/src/public-types/query.public-context.js.map +0 -1
- package/dist/internal-common/src/public-types/query.public-types.d.ts +0 -56
- package/dist/internal-common/src/public-types/query.public-types.js +0 -8
- package/dist/internal-common/src/public-types/query.public-types.js.map +0 -1
- package/dist/internal-common/src/public-types/schema.public-types.d.ts +0 -22
- package/dist/internal-common/src/public-types/schema.public-types.js +0 -3
- package/dist/internal-common/src/public-types/schema.public-types.js.map +0 -1
- package/dist/internal-common/src/public-types/secret.public-types.d.ts +0 -13
- package/dist/internal-common/src/public-types/secret.public-types.js +0 -3
- package/dist/internal-common/src/public-types/secret.public-types.js.map +0 -1
- package/dist/internal-common/src/public-types/socket.public-types.d.ts +0 -5
- package/dist/internal-common/src/public-types/socket.public-types.js +0 -10
- package/dist/internal-common/src/public-types/socket.public-types.js.map +0 -1
- package/dist/internal-common/src/public-types/topic.public-context.d.ts +0 -10
- package/dist/internal-common/src/public-types/topic.public-context.js +0 -3
- package/dist/internal-common/src/public-types/topic.public-context.js.map +0 -1
- package/dist/internal-common/src/public-types/typescript.public-types.d.ts +0 -21
- package/dist/internal-common/src/public-types/typescript.public-types.js +0 -3
- package/dist/internal-common/src/public-types/typescript.public-types.js.map +0 -1
- package/dist/internal-common/src/types/ai-chatbot.types.d.ts +0 -99
- package/dist/internal-common/src/types/ai-chatbot.types.js +0 -21
- package/dist/internal-common/src/types/ai-chatbot.types.js.map +0 -1
- package/dist/internal-common/src/types/api.types.d.ts +0 -22
- package/dist/internal-common/src/types/api.types.js +0 -3
- package/dist/internal-common/src/types/api.types.js.map +0 -1
- package/dist/internal-common/src/types/backend-run.types.d.ts +0 -53
- package/dist/internal-common/src/types/backend-run.types.js +0 -30
- package/dist/internal-common/src/types/backend-run.types.js.map +0 -1
- package/dist/internal-common/src/types/bundle-data.types.d.ts +0 -82
- package/dist/internal-common/src/types/bundle-data.types.js +0 -3
- package/dist/internal-common/src/types/bundle-data.types.js.map +0 -1
- package/dist/internal-common/src/types/communication.types.d.ts +0 -13
- package/dist/internal-common/src/types/communication.types.js +0 -40
- package/dist/internal-common/src/types/communication.types.js.map +0 -1
- package/dist/internal-common/src/types/logger.types.d.ts +0 -21
- package/dist/internal-common/src/types/logger.types.js +0 -12
- package/dist/internal-common/src/types/logger.types.js.map +0 -1
- package/dist/internal-common/src/types/openapi-response.d.ts +0 -6
- package/dist/internal-common/src/types/openapi-response.js +0 -3
- package/dist/internal-common/src/types/openapi-response.js.map +0 -1
- package/dist/internal-common/src/types/openapi.types.d.ts +0 -26
- package/dist/internal-common/src/types/openapi.types.js +0 -3
- package/dist/internal-common/src/types/openapi.types.js.map +0 -1
- package/dist/internal-common/src/types/query.types.d.ts +0 -34
- package/dist/internal-common/src/types/query.types.js +0 -94
- package/dist/internal-common/src/types/query.types.js.map +0 -1
- package/dist/internal-common/src/types/secret.types.d.ts +0 -55
- package/dist/internal-common/src/types/secret.types.js +0 -6
- package/dist/internal-common/src/types/secret.types.js.map +0 -1
- package/dist/internal-common/src/types/security.types.d.ts +0 -22
- package/dist/internal-common/src/types/security.types.js +0 -3
- package/dist/internal-common/src/types/security.types.js.map +0 -1
- package/dist/internal-common/src/utils/backend-transforms.d.ts +0 -3
- package/dist/internal-common/src/utils/backend-transforms.js +0 -93
- package/dist/internal-common/src/utils/backend-transforms.js.map +0 -1
- package/dist/internal-common/src/utils/global.utils.d.ts +0 -11
- package/dist/internal-common/src/utils/global.utils.js +0 -51
- package/dist/internal-common/src/utils/global.utils.js.map +0 -1
- package/dist/internal-common/src/utils/http.d.ts +0 -2
- package/dist/internal-common/src/utils/http.js +0 -58
- package/dist/internal-common/src/utils/http.js.map +0 -1
- package/dist/internal-common/src/utils/serialization.d.ts +0 -5
- package/dist/internal-common/src/utils/serialization.js +0 -74
- package/dist/internal-common/src/utils/serialization.js.map +0 -1
- package/dist/internal-common/src/websocket.impl.d.ts +0 -21
- package/dist/internal-common/src/websocket.impl.js +0 -80
- package/dist/internal-common/src/websocket.impl.js.map +0 -1
- package/dist/local-backend/openapi-template.hbs +0 -1
- package/dist/local-backend/package.json +0 -54
- package/dist/local-backend/src/index.d.ts +0 -4
- package/dist/local-backend/src/index.js.map +0 -1
- package/dist/local-backend/src/local-backend-socket.service.d.ts +0 -22
- package/dist/local-backend/src/local-backend-socket.service.js +0 -213
- package/dist/local-backend/src/local-backend-socket.service.js.map +0 -1
- package/dist/local-backend/src/local-backend.app.d.ts +0 -2
- package/dist/local-backend/src/local-backend.app.js +0 -26
- package/dist/local-backend/src/local-backend.app.js.map +0 -1
- package/dist/local-backend/src/local-backend.controller.d.ts +0 -9
- package/dist/local-backend/src/local-backend.controller.js +0 -50
- package/dist/local-backend/src/local-backend.controller.js.map +0 -1
- package/dist/local-backend/src/local-backend.module.d.ts +0 -8
- package/dist/local-backend/src/local-backend.module.js +0 -54
- package/dist/local-backend/src/local-backend.module.js.map +0 -1
- package/dist/local-backend/src/local-backend.service.d.ts +0 -17
- package/dist/local-backend/src/local-backend.service.js +0 -180
- package/dist/local-backend/src/local-backend.service.js.map +0 -1
- package/dist/local-backend/src/utils/shell-runner.d.ts +0 -4
- package/dist/local-backend/src/utils/shell-runner.js +0 -28
- package/dist/local-backend/src/utils/shell-runner.js.map +0 -1
- package/dist/local-backend/tsoa.json +0 -15
- package/dist/tsconfig.build.tsbuildinfo +0 -1
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AppId, ClientId } from './communication.public-types';
|
|
2
|
-
export type AuthType = 'Bearer' | 'ApiKey';
|
|
3
|
-
export interface AuthWithBearer {
|
|
4
|
-
type: 'Bearer';
|
|
5
|
-
userId: string;
|
|
6
|
-
expiration: number;
|
|
7
|
-
attributes: Record<string, any>;
|
|
8
|
-
}
|
|
9
|
-
export interface AuthWithApiKey {
|
|
10
|
-
type: 'ApiKey';
|
|
11
|
-
apiKey: string;
|
|
12
|
-
}
|
|
13
|
-
export type Auth = AuthWithBearer | AuthWithApiKey;
|
|
14
|
-
export interface AuthToken {
|
|
15
|
-
type: AuthType;
|
|
16
|
-
token: string;
|
|
17
|
-
integrationId?: string;
|
|
18
|
-
}
|
|
19
|
-
export interface RunContext {
|
|
20
|
-
appId: AppId;
|
|
21
|
-
clientId?: ClientId;
|
|
22
|
-
sourceIp?: string;
|
|
23
|
-
headers?: Record<string, any>;
|
|
24
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"context.public-types.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/context.public-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.DistributedLockContext = void 0;
|
|
4
|
-
class DistributedLockContext {
|
|
5
|
-
constructor(mutex) {
|
|
6
|
-
this.mutex = mutex;
|
|
7
|
-
}
|
|
8
|
-
}
|
|
9
|
-
exports.DistributedLockContext = DistributedLockContext;
|
|
10
|
-
//# sourceMappingURL=distributed-lock.public-context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"distributed-lock.public-context.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/distributed-lock.public-context.ts"],"names":[],"mappings":";;;AACA,MAAa,sBAAsB;IAEjC,YAAqB,KAAa;QAAb,UAAK,GAAL,KAAK,CAAQ;IAAG,CAAC;CACvC;AAHD,wDAGC"}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { IntegrationId } from './communication.public-types';
|
|
2
|
-
export type PrimitiveFieldType = string | number | boolean | null | Date;
|
|
3
|
-
export type FieldType = PrimitiveFieldType | Array<FieldType> | {
|
|
4
|
-
[key: string]: FieldType;
|
|
5
|
-
};
|
|
6
|
-
export type FieldName<T = any> = string & keyof T;
|
|
7
|
-
export type DocId = string;
|
|
8
|
-
export type DocIdObj = Record<FieldName, any>;
|
|
9
|
-
export type CollectionName = string;
|
|
10
|
-
export type DocumentData = Record<FieldName, any | undefined>;
|
|
11
|
-
export type DocTimestamp = number;
|
|
12
|
-
export interface SquidDocument {
|
|
13
|
-
__docId__: DocId;
|
|
14
|
-
__ts__: DocTimestamp;
|
|
15
|
-
[fieldName: string]: FieldType | undefined;
|
|
16
|
-
}
|
|
17
|
-
export interface BeforeAndAfterDocs<T = SquidDocument> {
|
|
18
|
-
before: T | undefined;
|
|
19
|
-
after: T | undefined;
|
|
20
|
-
}
|
|
21
|
-
export interface SquidDocIdObj {
|
|
22
|
-
collectionName: CollectionName;
|
|
23
|
-
docId: DocId;
|
|
24
|
-
integrationId: IntegrationId;
|
|
25
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"document.public-types.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/document.public-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.GraphqlContext = void 0;
|
|
4
|
-
class GraphqlContext {
|
|
5
|
-
constructor(prototype) {
|
|
6
|
-
this.isGraphiQL = prototype.isGraphiQL;
|
|
7
|
-
this.query = prototype.query;
|
|
8
|
-
this.operationName = prototype.operationName;
|
|
9
|
-
this.variables = prototype.variables;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
exports.GraphqlContext = GraphqlContext;
|
|
13
|
-
//# sourceMappingURL=graphql.public-context.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graphql.public-context.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/graphql.public-context.ts"],"names":[],"mappings":";;;AACA,MAAa,cAAc;IASzB,YAAY,SAAyB;QACnC,IAAI,CAAC,UAAU,GAAG,SAAS,CAAC,UAAU,CAAC;QACvC,IAAI,CAAC,KAAK,GAAG,SAAS,CAAC,KAAK,CAAC;QAC7B,IAAI,CAAC,aAAa,GAAG,SAAS,CAAC,aAAa,CAAC;QAC7C,IAAI,CAAC,SAAS,GAAG,SAAS,CAAC,SAAS,CAAC;IACvC,CAAC;CACF;AAfD,wCAeC"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { type ExecutionResult, type IntrospectionQuery } from 'graphql';
|
|
2
|
-
export interface GraphQLRequest {
|
|
3
|
-
operationName?: string;
|
|
4
|
-
query?: string;
|
|
5
|
-
variables?: string | Record<string, any>;
|
|
6
|
-
}
|
|
7
|
-
export interface SecureGraphQLRequest extends GraphQLRequest {
|
|
8
|
-
isGraphiQL: boolean;
|
|
9
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"graphql.public-types.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/graphql.public-types.ts"],"names":[],"mappings":""}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
export declare enum IntegrationCategory {
|
|
2
|
-
'database' = "database",
|
|
3
|
-
'queue' = "queue",
|
|
4
|
-
'api' = "api",
|
|
5
|
-
'observability' = "observability",
|
|
6
|
-
'crm' = "crm",
|
|
7
|
-
'auth' = "auth",
|
|
8
|
-
'ai' = "ai"
|
|
9
|
-
}
|
|
10
|
-
export declare enum IntegrationType {
|
|
11
|
-
'built_in_db' = "built_in_db",
|
|
12
|
-
'mongo' = "mongo",
|
|
13
|
-
'mysql' = "mysql",
|
|
14
|
-
'mssql' = "mssql",
|
|
15
|
-
'postgres' = "postgres",
|
|
16
|
-
'cockroach' = "cockroach",
|
|
17
|
-
'api' = "api",
|
|
18
|
-
'graphql' = "graphql",
|
|
19
|
-
'snowflake' = "snowflake",
|
|
20
|
-
'datadog' = "datadog",
|
|
21
|
-
'newrelic' = "newrelic",
|
|
22
|
-
'auth0' = "auth0",
|
|
23
|
-
'jwt_rsa' = "jwt_rsa",
|
|
24
|
-
'jwt_hmac' = "jwt_hmac",
|
|
25
|
-
'ai_chatbot' = "ai_chatbot",
|
|
26
|
-
'cognito' = "cognito",
|
|
27
|
-
'okta' = "okta",
|
|
28
|
-
'descope' = "descope",
|
|
29
|
-
'kafka' = "kafka",
|
|
30
|
-
'confluent' = "confluent",
|
|
31
|
-
'built_in_queue' = "built_in_queue",
|
|
32
|
-
'algolia' = "algolia",
|
|
33
|
-
'elastic_observability' = "elastic_observability",
|
|
34
|
-
'elastic_search' = "elastic_search",
|
|
35
|
-
'elastic_enterprise_search' = "elastic_enterprise_search",
|
|
36
|
-
'sentry' = "sentry",
|
|
37
|
-
'sap_hana' = "sap_hana",
|
|
38
|
-
'salesforce_crm' = "salesforce_crm",
|
|
39
|
-
'documentdb' = "documentdb",
|
|
40
|
-
'dynamodb' = "dynamodb",
|
|
41
|
-
'cassandra' = "cassandra",
|
|
42
|
-
'clickhouse' = "clickhouse",
|
|
43
|
-
'alloydb' = "alloydb",
|
|
44
|
-
'spanner' = "spanner",
|
|
45
|
-
'db2' = "db2",
|
|
46
|
-
'mariadb' = "mariadb",
|
|
47
|
-
'oracledb' = "oracledb",
|
|
48
|
-
'redis' = "redis",
|
|
49
|
-
'xata' = "xata",
|
|
50
|
-
'azure_sql' = "azure_sql",
|
|
51
|
-
'azure_postgresql' = "azure_postgresql",
|
|
52
|
-
'azure_cosmosdb' = "azure_cosmosdb",
|
|
53
|
-
'firestore' = "firestore",
|
|
54
|
-
'bigquery' = "bigquery",
|
|
55
|
-
'cloudsql' = "cloudsql"
|
|
56
|
-
}
|
|
57
|
-
export declare enum IntegrationSchemaType {
|
|
58
|
-
'data' = "data",
|
|
59
|
-
'api' = "api",
|
|
60
|
-
'graphql' = "graphql"
|
|
61
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.IntegrationSchemaType = exports.IntegrationType = exports.IntegrationCategory = void 0;
|
|
4
|
-
var IntegrationCategory;
|
|
5
|
-
(function (IntegrationCategory) {
|
|
6
|
-
IntegrationCategory["database"] = "database";
|
|
7
|
-
IntegrationCategory["queue"] = "queue";
|
|
8
|
-
IntegrationCategory["api"] = "api";
|
|
9
|
-
IntegrationCategory["observability"] = "observability";
|
|
10
|
-
IntegrationCategory["crm"] = "crm";
|
|
11
|
-
IntegrationCategory["auth"] = "auth";
|
|
12
|
-
IntegrationCategory["ai"] = "ai";
|
|
13
|
-
})(IntegrationCategory || (exports.IntegrationCategory = IntegrationCategory = {}));
|
|
14
|
-
var IntegrationType;
|
|
15
|
-
(function (IntegrationType) {
|
|
16
|
-
IntegrationType["built_in_db"] = "built_in_db";
|
|
17
|
-
IntegrationType["mongo"] = "mongo";
|
|
18
|
-
IntegrationType["mysql"] = "mysql";
|
|
19
|
-
IntegrationType["mssql"] = "mssql";
|
|
20
|
-
IntegrationType["postgres"] = "postgres";
|
|
21
|
-
IntegrationType["cockroach"] = "cockroach";
|
|
22
|
-
IntegrationType["api"] = "api";
|
|
23
|
-
IntegrationType["graphql"] = "graphql";
|
|
24
|
-
IntegrationType["snowflake"] = "snowflake";
|
|
25
|
-
IntegrationType["datadog"] = "datadog";
|
|
26
|
-
IntegrationType["newrelic"] = "newrelic";
|
|
27
|
-
IntegrationType["auth0"] = "auth0";
|
|
28
|
-
IntegrationType["jwt_rsa"] = "jwt_rsa";
|
|
29
|
-
IntegrationType["jwt_hmac"] = "jwt_hmac";
|
|
30
|
-
IntegrationType["ai_chatbot"] = "ai_chatbot";
|
|
31
|
-
IntegrationType["cognito"] = "cognito";
|
|
32
|
-
IntegrationType["okta"] = "okta";
|
|
33
|
-
IntegrationType["descope"] = "descope";
|
|
34
|
-
IntegrationType["kafka"] = "kafka";
|
|
35
|
-
IntegrationType["confluent"] = "confluent";
|
|
36
|
-
IntegrationType["built_in_queue"] = "built_in_queue";
|
|
37
|
-
IntegrationType["algolia"] = "algolia";
|
|
38
|
-
IntegrationType["elastic_observability"] = "elastic_observability";
|
|
39
|
-
IntegrationType["elastic_search"] = "elastic_search";
|
|
40
|
-
IntegrationType["elastic_enterprise_search"] = "elastic_enterprise_search";
|
|
41
|
-
IntegrationType["sentry"] = "sentry";
|
|
42
|
-
IntegrationType["sap_hana"] = "sap_hana";
|
|
43
|
-
IntegrationType["salesforce_crm"] = "salesforce_crm";
|
|
44
|
-
IntegrationType["documentdb"] = "documentdb";
|
|
45
|
-
IntegrationType["dynamodb"] = "dynamodb";
|
|
46
|
-
IntegrationType["cassandra"] = "cassandra";
|
|
47
|
-
IntegrationType["clickhouse"] = "clickhouse";
|
|
48
|
-
IntegrationType["alloydb"] = "alloydb";
|
|
49
|
-
IntegrationType["spanner"] = "spanner";
|
|
50
|
-
IntegrationType["db2"] = "db2";
|
|
51
|
-
IntegrationType["mariadb"] = "mariadb";
|
|
52
|
-
IntegrationType["oracledb"] = "oracledb";
|
|
53
|
-
IntegrationType["redis"] = "redis";
|
|
54
|
-
IntegrationType["xata"] = "xata";
|
|
55
|
-
IntegrationType["azure_sql"] = "azure_sql";
|
|
56
|
-
IntegrationType["azure_postgresql"] = "azure_postgresql";
|
|
57
|
-
IntegrationType["azure_cosmosdb"] = "azure_cosmosdb";
|
|
58
|
-
IntegrationType["firestore"] = "firestore";
|
|
59
|
-
IntegrationType["bigquery"] = "bigquery";
|
|
60
|
-
IntegrationType["cloudsql"] = "cloudsql";
|
|
61
|
-
})(IntegrationType || (exports.IntegrationType = IntegrationType = {}));
|
|
62
|
-
var IntegrationSchemaType;
|
|
63
|
-
(function (IntegrationSchemaType) {
|
|
64
|
-
IntegrationSchemaType["data"] = "data";
|
|
65
|
-
IntegrationSchemaType["api"] = "api";
|
|
66
|
-
IntegrationSchemaType["graphql"] = "graphql";
|
|
67
|
-
})(IntegrationSchemaType || (exports.IntegrationSchemaType = IntegrationSchemaType = {}));
|
|
68
|
-
//# sourceMappingURL=integration.public-types.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"integration.public-types.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/integration.public-types.ts"],"names":[],"mappings":";;;AAAA,IAAY,mBAQX;AARD,WAAY,mBAAmB;IAC7B,4CAAuB,CAAA;IACvB,sCAAiB,CAAA;IACjB,kCAAa,CAAA;IACb,sDAAiC,CAAA;IACjC,kCAAa,CAAA;IACb,oCAAe,CAAA;IACf,gCAAW,CAAA;AACb,CAAC,EARW,mBAAmB,mCAAnB,mBAAmB,QAQ9B;AAED,IAAY,eA+CX;AA/CD,WAAY,eAAe;IACzB,8CAA6B,CAAA;IAC7B,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;IACjB,wCAAuB,CAAA;IACvB,0CAAyB,CAAA;IACzB,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,0CAAyB,CAAA;IACzB,sCAAqB,CAAA;IACrB,wCAAuB,CAAA;IACvB,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;IACrB,wCAAuB,CAAA;IACvB,4CAA2B,CAAA;IAC3B,sCAAqB,CAAA;IACrB,gCAAe,CAAA;IACf,sCAAqB,CAAA;IACrB,kCAAiB,CAAA;IACjB,0CAAyB,CAAA;IACzB,oDAAmC,CAAA;IAEnC,sCAAqB,CAAA;IACrB,kEAAiD,CAAA;IACjD,oDAAmC,CAAA;IACnC,0EAAyD,CAAA;IACzD,oCAAmB,CAAA;IACnB,wCAAuB,CAAA;IACvB,oDAAmC,CAAA;IACnC,4CAA2B,CAAA;IAC3B,wCAAuB,CAAA;IACvB,0CAAyB,CAAA;IACzB,4CAA2B,CAAA;IAC3B,sCAAqB,CAAA;IACrB,sCAAqB,CAAA;IACrB,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,wCAAuB,CAAA;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,0CAAyB,CAAA;IACzB,wDAAuC,CAAA;IACvC,oDAAmC,CAAA;IACnC,0CAAyB,CAAA;IACzB,wCAAuB,CAAA;IACvB,wCAAuB,CAAA;AACzB,CAAC,EA/CW,eAAe,+BAAf,eAAe,QA+C1B;AAED,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,sCAAe,CAAA;IACf,oCAAa,CAAA;IACb,4CAAqB,CAAA;AACvB,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { BaseIntegrationConfig } from './schemas';
|
|
2
|
-
import { AiModelName } from '../ai-chatbot.public-types';
|
|
3
|
-
import { IntegrationType } from '../integration.public-types';
|
|
4
|
-
import { IntegrationId } from '../communication.public-types';
|
|
5
|
-
export interface AiChatbotIntegrationConfig extends BaseIntegrationConfig {
|
|
6
|
-
type: IntegrationType.ai_chatbot;
|
|
7
|
-
configuration: AiChatbotConfiguration;
|
|
8
|
-
}
|
|
9
|
-
export type AiChatbotConfiguration = {
|
|
10
|
-
apiKey?: string;
|
|
11
|
-
};
|
|
12
|
-
export type AiChatbotProfileMetadata = {
|
|
13
|
-
modelName: AiModelName;
|
|
14
|
-
isPublic: boolean;
|
|
15
|
-
strictContext: boolean;
|
|
16
|
-
instructions: Record<string, string>;
|
|
17
|
-
};
|
|
18
|
-
export type AiChatbotContextMetadata = {
|
|
19
|
-
title: string;
|
|
20
|
-
text: string;
|
|
21
|
-
preview: boolean;
|
|
22
|
-
sizeBytes?: number;
|
|
23
|
-
};
|
|
24
|
-
export interface AiChatbotProfile extends AiChatbotProfileMetadata {
|
|
25
|
-
contexts: Record<string, AiChatbotContextMetadata>;
|
|
26
|
-
}
|
|
27
|
-
export interface AiChatbotProfiles {
|
|
28
|
-
profiles: Record<string, AiChatbotProfile>;
|
|
29
|
-
}
|
|
30
|
-
export interface GetAiChatbotProfilesRequest {
|
|
31
|
-
integrationId: IntegrationId;
|
|
32
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"ai_chatbot.types.js","sourceRoot":"","sources":["../../../../../../internal-common/src/public-types/integrations/ai_chatbot.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { BaseIntegrationConfig, BaseIntegrationSchema } from './schemas';
|
|
2
|
-
import { IntegrationSchemaType, IntegrationType } from '../integration.public-types';
|
|
3
|
-
import { IntrospectionQuery } from '../graphql.public-types';
|
|
4
|
-
import { FieldName } from '../document.public-types';
|
|
5
|
-
export type HttpMethod = 'post' | 'get' | 'delete' | 'patch' | 'put';
|
|
6
|
-
export type ApiEndpointId = string;
|
|
7
|
-
export type ApiParameterLocation = 'query' | 'body' | 'header' | 'path';
|
|
8
|
-
export type ApiResponseParameterLocation = 'header' | 'body';
|
|
9
|
-
export type ApiInjectionParameterLocation = 'header' | 'query';
|
|
10
|
-
export type FieldPath = string;
|
|
11
|
-
export type IntegrationApiEndpoints = Record<ApiEndpointId, ApiEndpoint>;
|
|
12
|
-
export interface IntegrationGraphQLSchema extends BaseIntegrationSchema {
|
|
13
|
-
type: IntegrationSchemaType.graphql;
|
|
14
|
-
introspection: IntrospectionQuery;
|
|
15
|
-
}
|
|
16
|
-
export interface IntegrationApiSchema extends BaseIntegrationSchema {
|
|
17
|
-
type: IntegrationSchemaType.api;
|
|
18
|
-
baseUrl: string;
|
|
19
|
-
endpoints: IntegrationApiEndpoints;
|
|
20
|
-
injectionSchema?: ApiInjectionSchema;
|
|
21
|
-
}
|
|
22
|
-
export interface ApiRequestField {
|
|
23
|
-
location: ApiParameterLocation;
|
|
24
|
-
}
|
|
25
|
-
export interface ApiResponseField {
|
|
26
|
-
location: ApiResponseParameterLocation;
|
|
27
|
-
path?: FieldPath;
|
|
28
|
-
}
|
|
29
|
-
export type ApiInjectionFieldType = 'secret' | 'regular';
|
|
30
|
-
export interface ApiInjectionField {
|
|
31
|
-
value: string;
|
|
32
|
-
type: ApiInjectionFieldType;
|
|
33
|
-
location: ApiInjectionParameterLocation;
|
|
34
|
-
}
|
|
35
|
-
export interface GraphQLConnectionOptions {
|
|
36
|
-
baseUrl: string;
|
|
37
|
-
injectionSchema?: ApiInjectionSchema;
|
|
38
|
-
}
|
|
39
|
-
export type ApiInjectionSchema = Record<FieldName, ApiInjectionField>;
|
|
40
|
-
export interface OpenApiDiscoveryOptions {
|
|
41
|
-
openApiSpecUrl: string;
|
|
42
|
-
}
|
|
43
|
-
export interface ApiEndpoint {
|
|
44
|
-
relativePath: string;
|
|
45
|
-
method: HttpMethod;
|
|
46
|
-
requestSchema?: Record<FieldName, ApiRequestField>;
|
|
47
|
-
responseSchema?: Record<FieldPath, ApiResponseField>;
|
|
48
|
-
injectionSchema?: ApiInjectionSchema;
|
|
49
|
-
}
|
|
50
|
-
export interface HttpApiIntegrationConfig extends BaseIntegrationConfig {
|
|
51
|
-
type: IntegrationType.api;
|
|
52
|
-
configuration?: {
|
|
53
|
-
discoveryOptions: OpenApiDiscoveryOptions;
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
export interface GraphQLIntegrationConfig extends BaseIntegrationConfig {
|
|
57
|
-
type: IntegrationType.graphql;
|
|
58
|
-
configuration: {
|
|
59
|
-
connectionOptions: GraphQLConnectionOptions;
|
|
60
|
-
};
|
|
61
|
-
}
|
|
62
|
-
export interface DiscoverGraphQLConnectionSchemaRequest {
|
|
63
|
-
integrationType: IntegrationType.graphql;
|
|
64
|
-
connectionOptions: GraphQLConnectionOptions;
|
|
65
|
-
}
|
|
66
|
-
export interface DiscoverOpenApiSchemaRequest {
|
|
67
|
-
integrationType: IntegrationType.api;
|
|
68
|
-
discoveryOptions: OpenApiDiscoveryOptions;
|
|
69
|
-
}
|
|
70
|
-
export interface TestGraphQLDataConnectionRequest {
|
|
71
|
-
type: IntegrationType.graphql;
|
|
72
|
-
configuration: {
|
|
73
|
-
connectionOptions: GraphQLConnectionOptions;
|
|
74
|
-
};
|
|
75
|
-
}
|
|
76
|
-
export interface DiscoverGraphQLConnectionSchemaResponse {
|
|
77
|
-
schema: IntegrationGraphQLSchema;
|
|
78
|
-
}
|
|
79
|
-
export interface DiscoverOpenApiSchemaResponse {
|
|
80
|
-
schema: IntegrationApiSchema;
|
|
81
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"api.types.js","sourceRoot":"","sources":["../../../../../../internal-common/src/public-types/integrations/api.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import { BaseIntegrationConfig } from './schemas';
|
|
2
|
-
import { IntegrationType } from '../integration.public-types';
|
|
3
|
-
export interface Auth0IntegrationConfig extends BaseIntegrationConfig {
|
|
4
|
-
type: IntegrationType.auth0;
|
|
5
|
-
configuration: {
|
|
6
|
-
domain: string;
|
|
7
|
-
clientId: string;
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
export interface CognitoIntegrationConfig extends BaseIntegrationConfig {
|
|
11
|
-
type: IntegrationType.cognito;
|
|
12
|
-
configuration: {
|
|
13
|
-
region: string;
|
|
14
|
-
userPoolId: string;
|
|
15
|
-
appClientId: string;
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
export interface OktaIntegrationConfig extends BaseIntegrationConfig {
|
|
19
|
-
type: IntegrationType.okta;
|
|
20
|
-
configuration: {
|
|
21
|
-
domain: string;
|
|
22
|
-
clientId: string;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
export interface JwtRsaIntegrationConfig extends BaseIntegrationConfig {
|
|
26
|
-
type: IntegrationType.jwt_rsa;
|
|
27
|
-
configuration: {
|
|
28
|
-
jwksUri: string;
|
|
29
|
-
validations?: {
|
|
30
|
-
aud?: string;
|
|
31
|
-
iss?: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
}
|
|
35
|
-
export interface JwtHmacIntegrationConfig extends BaseIntegrationConfig {
|
|
36
|
-
type: IntegrationType.jwt_hmac;
|
|
37
|
-
configuration: {
|
|
38
|
-
verifyUri?: string;
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
export interface DescopeIntegrationConfig extends BaseIntegrationConfig {
|
|
42
|
-
type: IntegrationType.descope;
|
|
43
|
-
configuration: {
|
|
44
|
-
projectId: string;
|
|
45
|
-
};
|
|
46
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"auth.types.js","sourceRoot":"","sources":["../../../../../../internal-common/src/public-types/integrations/auth.types.ts"],"names":[],"mappings":""}
|
|
@@ -1,206 +0,0 @@
|
|
|
1
|
-
import { BaseIntegrationConfig, BaseIntegrationSchema, DatabaseIntegrationType } from './schemas';
|
|
2
|
-
import { IntegrationSchemaType, IntegrationType } from '../integration.public-types';
|
|
3
|
-
import { CollectionName } from '../document.public-types';
|
|
4
|
-
import { CollectionSchema } from '../schema.public-types';
|
|
5
|
-
export interface MongoConnectionSecretOptions {
|
|
6
|
-
password?: string;
|
|
7
|
-
}
|
|
8
|
-
export interface MongoConnectionOptions {
|
|
9
|
-
secrets: MongoConnectionSecretOptions;
|
|
10
|
-
connectionString: string;
|
|
11
|
-
user?: string;
|
|
12
|
-
replicaSet?: string;
|
|
13
|
-
ssl?: {
|
|
14
|
-
certificateFile: string;
|
|
15
|
-
validate: boolean;
|
|
16
|
-
};
|
|
17
|
-
maxPoolSize?: number;
|
|
18
|
-
minPoolSize?: number;
|
|
19
|
-
socketTimeoutMS?: number;
|
|
20
|
-
serverSelectionTimeoutMS?: number;
|
|
21
|
-
keepAlive?: boolean;
|
|
22
|
-
directConnection?: boolean;
|
|
23
|
-
}
|
|
24
|
-
export interface MySqlConnectionSecretOptions {
|
|
25
|
-
password: string;
|
|
26
|
-
}
|
|
27
|
-
export interface BigQueryConnectionSecretOptions {
|
|
28
|
-
privateKey: string;
|
|
29
|
-
}
|
|
30
|
-
export interface OracleConnectionSecretOptions {
|
|
31
|
-
password: string;
|
|
32
|
-
}
|
|
33
|
-
export interface MssqlConnectionSecretOptions {
|
|
34
|
-
password: string;
|
|
35
|
-
}
|
|
36
|
-
export interface PostgresConnectionSecretOptions {
|
|
37
|
-
password: string;
|
|
38
|
-
sslCertificate?: string;
|
|
39
|
-
}
|
|
40
|
-
export interface MySqlConnectionOptions {
|
|
41
|
-
secrets: MySqlConnectionSecretOptions;
|
|
42
|
-
host: string;
|
|
43
|
-
user: string;
|
|
44
|
-
database: string;
|
|
45
|
-
connectionLimit?: number;
|
|
46
|
-
sslEnabled?: boolean;
|
|
47
|
-
}
|
|
48
|
-
export interface BigQueryConnectionOptions {
|
|
49
|
-
secrets: BigQueryConnectionSecretOptions;
|
|
50
|
-
projectId: string;
|
|
51
|
-
datasetId: string;
|
|
52
|
-
email: string;
|
|
53
|
-
}
|
|
54
|
-
export interface OracleConnectionOptions {
|
|
55
|
-
secrets: OracleConnectionSecretOptions;
|
|
56
|
-
host: string;
|
|
57
|
-
user: string;
|
|
58
|
-
database: string;
|
|
59
|
-
connectionLimit?: number;
|
|
60
|
-
}
|
|
61
|
-
export interface MssqlConnectionOptions {
|
|
62
|
-
secrets: MssqlConnectionSecretOptions;
|
|
63
|
-
host: string;
|
|
64
|
-
user: string;
|
|
65
|
-
schemas: string;
|
|
66
|
-
database: string;
|
|
67
|
-
connectionLimit?: number;
|
|
68
|
-
sslEnabled?: boolean;
|
|
69
|
-
}
|
|
70
|
-
export interface PostgresConnectionOptions {
|
|
71
|
-
host: string;
|
|
72
|
-
user: string;
|
|
73
|
-
database: string;
|
|
74
|
-
schema?: string;
|
|
75
|
-
sslEnabled?: boolean;
|
|
76
|
-
secrets: PostgresConnectionSecretOptions;
|
|
77
|
-
}
|
|
78
|
-
export interface SnowflakeConnectionSecretOptions {
|
|
79
|
-
password: string;
|
|
80
|
-
}
|
|
81
|
-
export interface SnowflakeConnectionOptions {
|
|
82
|
-
secrets: SnowflakeConnectionSecretOptions;
|
|
83
|
-
account: string;
|
|
84
|
-
username: string;
|
|
85
|
-
database: string;
|
|
86
|
-
schema: string;
|
|
87
|
-
warehouse: string;
|
|
88
|
-
role: string;
|
|
89
|
-
}
|
|
90
|
-
type TableName = string;
|
|
91
|
-
export interface IntegrationDataSchema extends BaseIntegrationSchema {
|
|
92
|
-
type: IntegrationSchemaType.data;
|
|
93
|
-
collections: Record<TableName, CollectionSchema>;
|
|
94
|
-
}
|
|
95
|
-
export interface BaseDatabaseIntegrationConfig extends BaseIntegrationConfig {
|
|
96
|
-
type: DatabaseIntegrationType;
|
|
97
|
-
}
|
|
98
|
-
export interface MySqlIntegrationConfiguration {
|
|
99
|
-
connectionOptions: MySqlConnectionOptions;
|
|
100
|
-
}
|
|
101
|
-
export interface BigQueryIntegrationConfiguration {
|
|
102
|
-
connectionOptions: BigQueryConnectionOptions;
|
|
103
|
-
}
|
|
104
|
-
export interface OracleIntegrationConfiguration {
|
|
105
|
-
connectionOptions: OracleConnectionOptions;
|
|
106
|
-
}
|
|
107
|
-
export interface MssqlIntegrationConfiguration {
|
|
108
|
-
connectionOptions: MssqlConnectionOptions;
|
|
109
|
-
}
|
|
110
|
-
export interface PostgresIntegrationConfiguration {
|
|
111
|
-
connectionOptions: PostgresConnectionOptions;
|
|
112
|
-
}
|
|
113
|
-
export interface MongoIntegrationConfiguration {
|
|
114
|
-
connectionOptions: MongoConnectionOptions;
|
|
115
|
-
}
|
|
116
|
-
export interface SnowflakeIntegrationConfiguration {
|
|
117
|
-
connectionOptions: SnowflakeConnectionOptions;
|
|
118
|
-
}
|
|
119
|
-
export interface MySqlIntegrationConfig extends BaseDatabaseIntegrationConfig {
|
|
120
|
-
type: IntegrationType.mysql;
|
|
121
|
-
configuration: MySqlIntegrationConfiguration;
|
|
122
|
-
}
|
|
123
|
-
export interface BigQueryIntegrationConfig extends BaseDatabaseIntegrationConfig {
|
|
124
|
-
type: IntegrationType.bigquery;
|
|
125
|
-
configuration: BigQueryIntegrationConfiguration;
|
|
126
|
-
}
|
|
127
|
-
export interface OracleIntegrationConfig extends BaseDatabaseIntegrationConfig {
|
|
128
|
-
type: IntegrationType.oracledb;
|
|
129
|
-
configuration: OracleIntegrationConfiguration;
|
|
130
|
-
}
|
|
131
|
-
export interface MssqlIntegrationConfig extends BaseDatabaseIntegrationConfig {
|
|
132
|
-
type: IntegrationType.mssql;
|
|
133
|
-
configuration: MssqlIntegrationConfiguration;
|
|
134
|
-
}
|
|
135
|
-
export interface BasePostgresIntegration extends BaseDatabaseIntegrationConfig {
|
|
136
|
-
type: IntegrationType.postgres | IntegrationType.cockroach;
|
|
137
|
-
configuration: PostgresIntegrationConfiguration;
|
|
138
|
-
}
|
|
139
|
-
export interface PostgresIntegrationConfig extends BasePostgresIntegration {
|
|
140
|
-
type: IntegrationType.postgres;
|
|
141
|
-
}
|
|
142
|
-
export interface CockroachIntegrationConfig extends BasePostgresIntegration {
|
|
143
|
-
type: IntegrationType.cockroach;
|
|
144
|
-
}
|
|
145
|
-
export interface InternalIntegrationConfig extends BaseDatabaseIntegrationConfig {
|
|
146
|
-
type: IntegrationType.built_in_db;
|
|
147
|
-
}
|
|
148
|
-
export interface MongoIntegrationConfig extends BaseDatabaseIntegrationConfig {
|
|
149
|
-
type: IntegrationType.mongo;
|
|
150
|
-
configuration: MongoIntegrationConfiguration;
|
|
151
|
-
}
|
|
152
|
-
export interface SnowflakeIntegrationConfig extends BaseDatabaseIntegrationConfig {
|
|
153
|
-
type: IntegrationType.snowflake;
|
|
154
|
-
configuration: SnowflakeIntegrationConfiguration;
|
|
155
|
-
}
|
|
156
|
-
export interface CollectionReadiness {
|
|
157
|
-
hasPermissions: boolean;
|
|
158
|
-
grantPermissionsCommands: string[];
|
|
159
|
-
replicationEnabled: boolean;
|
|
160
|
-
enableReplicationCommands: string[];
|
|
161
|
-
}
|
|
162
|
-
export interface DiscoverDataConnectionSchemaResponse {
|
|
163
|
-
schema: IntegrationDataSchema;
|
|
164
|
-
collectionReadiness: Record<CollectionName, CollectionReadiness>;
|
|
165
|
-
}
|
|
166
|
-
interface DiscoverMongoDataConnectionSchemaRequest {
|
|
167
|
-
integrationType: IntegrationType.mongo;
|
|
168
|
-
connectionOptions: MongoConnectionOptions;
|
|
169
|
-
}
|
|
170
|
-
interface DiscoverInternalDataConnectionSchemaRequest {
|
|
171
|
-
integrationType: IntegrationType.built_in_db;
|
|
172
|
-
}
|
|
173
|
-
interface DiscoverMysqlDataConnectionSchemaRequest {
|
|
174
|
-
integrationType: IntegrationType.mysql;
|
|
175
|
-
connectionOptions: MySqlConnectionOptions;
|
|
176
|
-
}
|
|
177
|
-
interface DiscoverBigQueryDataConnectionSchemaRequest {
|
|
178
|
-
integrationType: IntegrationType.bigquery;
|
|
179
|
-
connectionOptions: BigQueryConnectionOptions;
|
|
180
|
-
}
|
|
181
|
-
interface DiscoverOracleDataConnectionSchemaRequest {
|
|
182
|
-
integrationType: IntegrationType.oracledb;
|
|
183
|
-
connectionOptions: OracleConnectionOptions;
|
|
184
|
-
}
|
|
185
|
-
interface DiscoverMssqlDataConnectionSchemaRequest {
|
|
186
|
-
integrationType: IntegrationType.mssql;
|
|
187
|
-
connectionOptions: MssqlConnectionOptions;
|
|
188
|
-
}
|
|
189
|
-
interface DiscoverPostgresDataConnectionSchemaRequest {
|
|
190
|
-
integrationType: IntegrationType.postgres;
|
|
191
|
-
connectionOptions: PostgresConnectionOptions;
|
|
192
|
-
}
|
|
193
|
-
interface DiscoverSnowflakeDataConnectionSchemaRequest {
|
|
194
|
-
integrationType: IntegrationType.snowflake;
|
|
195
|
-
connectionOptions: SnowflakeConnectionOptions;
|
|
196
|
-
}
|
|
197
|
-
interface DiscoverCockroachDataConnectionSchemaRequest {
|
|
198
|
-
integrationType: IntegrationType.cockroach;
|
|
199
|
-
connectionOptions: PostgresConnectionOptions;
|
|
200
|
-
}
|
|
201
|
-
export interface TestDataConnectionResponse {
|
|
202
|
-
success: boolean;
|
|
203
|
-
errorMessage?: string;
|
|
204
|
-
}
|
|
205
|
-
export type DiscoverDataConnectionSchemaRequest = DiscoverMongoDataConnectionSchemaRequest | DiscoverInternalDataConnectionSchemaRequest | DiscoverMysqlDataConnectionSchemaRequest | DiscoverBigQueryDataConnectionSchemaRequest | DiscoverOracleDataConnectionSchemaRequest | DiscoverMssqlDataConnectionSchemaRequest | DiscoverCockroachDataConnectionSchemaRequest | DiscoverPostgresDataConnectionSchemaRequest | DiscoverSnowflakeDataConnectionSchemaRequest;
|
|
206
|
-
export {};
|