@squidcloud/local-backend 1.0.159 → 1.0.161
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/internal-common/src/code-executor.types.d.ts +15 -0
- package/dist/internal-common/src/code-executor.types.js +3 -0
- package/dist/internal-common/src/code-executor.types.js.map +1 -0
- package/dist/internal-common/src/local-dev.types.d.ts +54 -0
- package/dist/internal-common/src/local-dev.types.js +11 -0
- package/dist/internal-common/src/local-dev.types.js.map +1 -0
- package/dist/internal-common/src/public-types/ai-chatbot.public-types.d.ts +27 -0
- package/dist/internal-common/src/public-types/ai-chatbot.public-types.js +11 -0
- package/dist/internal-common/src/public-types/ai-chatbot.public-types.js.map +1 -0
- package/dist/internal-common/src/public-types/application.public-types.d.ts +201 -0
- package/dist/internal-common/src/public-types/application.public-types.js +90 -0
- package/dist/internal-common/src/public-types/application.public-types.js.map +1 -0
- package/dist/internal-common/src/public-types/bundle-api.public-types.d.ts +55 -0
- package/dist/internal-common/src/public-types/bundle-api.public-types.js +3 -0
- package/dist/internal-common/src/public-types/bundle-api.public-types.js.map +1 -0
- package/dist/internal-common/src/public-types/bundle-data.public-types.d.ts +5 -0
- package/dist/internal-common/src/public-types/bundle-data.public-types.js +3 -0
- package/dist/internal-common/src/public-types/bundle-data.public-types.js.map +1 -0
- package/dist/internal-common/src/public-types/communication.public-types.d.ts +9 -0
- package/dist/internal-common/src/public-types/communication.public-types.js +6 -0
- package/dist/internal-common/src/public-types/communication.public-types.js.map +1 -0
- package/dist/internal-common/src/public-types/context.public-types.d.ts +24 -0
- package/dist/internal-common/src/public-types/context.public-types.js +3 -0
- package/dist/internal-common/src/public-types/context.public-types.js.map +1 -0
- package/dist/internal-common/src/public-types/document.public-types.d.ts +25 -0
- package/dist/internal-common/src/public-types/document.public-types.js +3 -0
- package/dist/internal-common/src/public-types/document.public-types.js.map +1 -0
- package/dist/internal-common/src/public-types/graphql.public-types.d.ts +9 -0
- package/dist/internal-common/src/public-types/graphql.public-types.js +3 -0
- package/dist/internal-common/src/public-types/graphql.public-types.js.map +1 -0
- package/dist/internal-common/src/public-types/integration.public-types.d.ts +62 -0
- package/dist/internal-common/src/public-types/integration.public-types.js +69 -0
- package/dist/internal-common/src/public-types/integration.public-types.js.map +1 -0
- package/dist/internal-common/src/public-types/integrations/ai_chatbot.types.d.ts +32 -0
- package/dist/internal-common/src/public-types/integrations/ai_chatbot.types.js +3 -0
- package/dist/internal-common/src/public-types/integrations/ai_chatbot.types.js.map +1 -0
- package/dist/internal-common/src/public-types/integrations/api.types.d.ts +81 -0
- package/dist/internal-common/src/public-types/integrations/api.types.js +3 -0
- package/dist/internal-common/src/public-types/integrations/api.types.js.map +1 -0
- package/dist/internal-common/src/public-types/integrations/auth.types.d.ts +46 -0
- package/dist/internal-common/src/public-types/integrations/auth.types.js +3 -0
- package/dist/internal-common/src/public-types/integrations/auth.types.js.map +1 -0
- package/dist/internal-common/src/public-types/integrations/database.types.d.ts +275 -0
- package/dist/internal-common/src/public-types/integrations/database.types.js +3 -0
- package/dist/internal-common/src/public-types/integrations/database.types.js.map +1 -0
- package/dist/internal-common/src/public-types/integrations/observability.types.d.ts +24 -0
- package/dist/internal-common/src/public-types/integrations/observability.types.js +24 -0
- package/dist/internal-common/src/public-types/integrations/observability.types.js.map +1 -0
- package/dist/internal-common/src/public-types/integrations/queue-types.d.ts +40 -0
- package/dist/internal-common/src/public-types/integrations/queue-types.js +3 -0
- package/dist/internal-common/src/public-types/integrations/queue-types.js.map +1 -0
- package/dist/internal-common/src/public-types/integrations/schemas.d.ts +79 -0
- package/dist/internal-common/src/public-types/integrations/schemas.js +48 -0
- package/dist/internal-common/src/public-types/integrations/schemas.js.map +1 -0
- package/dist/internal-common/src/public-types/mutation.public-context.d.ts +13 -0
- package/dist/internal-common/src/public-types/mutation.public-context.js +27 -0
- package/dist/internal-common/src/public-types/mutation.public-context.js.map +1 -0
- package/dist/internal-common/src/public-types/mutation.public-types.d.ts +44 -0
- package/dist/internal-common/src/public-types/mutation.public-types.js +3 -0
- package/dist/internal-common/src/public-types/mutation.public-types.js.map +1 -0
- package/dist/internal-common/src/public-types/query.public-context.d.ts +47 -0
- package/dist/internal-common/src/public-types/query.public-context.js +161 -0
- package/dist/internal-common/src/public-types/query.public-context.js.map +1 -0
- package/dist/internal-common/src/public-types/query.public-types.d.ts +56 -0
- package/dist/internal-common/src/public-types/query.public-types.js +8 -0
- package/dist/internal-common/src/public-types/query.public-types.js.map +1 -0
- package/dist/internal-common/src/public-types/schema.public-types.d.ts +22 -0
- package/dist/internal-common/src/public-types/schema.public-types.js +3 -0
- package/dist/internal-common/src/public-types/schema.public-types.js.map +1 -0
- package/dist/internal-common/src/public-types/secret.public-types.d.ts +13 -0
- package/dist/internal-common/src/public-types/secret.public-types.js +3 -0
- package/dist/internal-common/src/public-types/secret.public-types.js.map +1 -0
- package/dist/internal-common/src/public-types/socket.public-types.d.ts +5 -0
- package/dist/internal-common/src/public-types/socket.public-types.js +10 -0
- package/dist/internal-common/src/public-types/socket.public-types.js.map +1 -0
- package/dist/internal-common/src/public-types/topic.public-context.d.ts +10 -0
- package/dist/internal-common/src/public-types/topic.public-context.js +3 -0
- package/dist/internal-common/src/public-types/topic.public-context.js.map +1 -0
- package/dist/internal-common/src/public-types/typescript.public-types.d.ts +21 -0
- package/dist/internal-common/src/public-types/typescript.public-types.js +3 -0
- package/dist/internal-common/src/public-types/typescript.public-types.js.map +1 -0
- package/dist/internal-common/src/types/ai-chatbot.context.d.ts +13 -0
- package/dist/internal-common/src/types/ai-chatbot.context.js +20 -0
- package/dist/internal-common/src/types/ai-chatbot.context.js.map +1 -0
- package/dist/internal-common/src/types/ai-chatbot.types.d.ts +101 -0
- package/dist/internal-common/src/types/ai-chatbot.types.js +21 -0
- package/dist/internal-common/src/types/ai-chatbot.types.js.map +1 -0
- package/dist/internal-common/src/types/api-call.context.d.ts +13 -0
- package/dist/internal-common/src/types/api-call.context.js +17 -0
- package/dist/internal-common/src/types/api-call.context.js.map +1 -0
- package/dist/internal-common/src/types/api.types.d.ts +22 -0
- package/dist/internal-common/src/types/api.types.js +3 -0
- package/dist/internal-common/src/types/api.types.js.map +1 -0
- package/dist/internal-common/src/types/backend-run.types.d.ts +53 -0
- package/dist/internal-common/src/types/backend-run.types.js +30 -0
- package/dist/internal-common/src/types/backend-run.types.js.map +1 -0
- package/dist/internal-common/src/types/bundle-data.types.d.ts +82 -0
- package/dist/internal-common/src/types/bundle-data.types.js +3 -0
- package/dist/internal-common/src/types/bundle-data.types.js.map +1 -0
- package/dist/internal-common/src/types/communication.types.d.ts +13 -0
- package/dist/internal-common/src/types/communication.types.js +40 -0
- package/dist/internal-common/src/types/communication.types.js.map +1 -0
- package/dist/internal-common/src/types/distributed-lock.context.d.ts +4 -0
- package/dist/internal-common/src/types/distributed-lock.context.js +10 -0
- package/dist/internal-common/src/types/distributed-lock.context.js.map +1 -0
- package/dist/internal-common/src/types/graphql.context.d.ts +14 -0
- package/dist/internal-common/src/types/graphql.context.js +13 -0
- package/dist/internal-common/src/types/graphql.context.js.map +1 -0
- package/dist/internal-common/src/types/logger.types.d.ts +21 -0
- package/dist/internal-common/src/types/logger.types.js +12 -0
- package/dist/internal-common/src/types/logger.types.js.map +1 -0
- package/dist/internal-common/src/types/native-query.context.d.ts +7 -0
- package/dist/internal-common/src/types/native-query.context.js +12 -0
- package/dist/internal-common/src/types/native-query.context.js.map +1 -0
- package/dist/internal-common/src/types/openapi-response.d.ts +6 -0
- package/dist/internal-common/src/types/openapi-response.js +3 -0
- package/dist/internal-common/src/types/openapi-response.js.map +1 -0
- package/dist/internal-common/src/types/openapi.types.d.ts +26 -0
- package/dist/internal-common/src/types/openapi.types.js +3 -0
- package/dist/internal-common/src/types/openapi.types.js.map +1 -0
- package/dist/internal-common/src/types/query.types.d.ts +34 -0
- package/dist/internal-common/src/types/query.types.js +94 -0
- package/dist/internal-common/src/types/query.types.js.map +1 -0
- package/dist/internal-common/src/types/secret.types.d.ts +55 -0
- package/dist/internal-common/src/types/secret.types.js +6 -0
- package/dist/internal-common/src/types/secret.types.js.map +1 -0
- package/dist/internal-common/src/types/security.types.d.ts +22 -0
- package/dist/internal-common/src/types/security.types.js +3 -0
- package/dist/internal-common/src/types/security.types.js.map +1 -0
- package/dist/internal-common/src/utils/backend-transforms.d.ts +3 -0
- package/dist/internal-common/src/utils/backend-transforms.js +93 -0
- package/dist/internal-common/src/utils/backend-transforms.js.map +1 -0
- package/dist/internal-common/src/utils/global.utils.d.ts +11 -0
- package/dist/internal-common/src/utils/global.utils.js +51 -0
- package/dist/internal-common/src/utils/global.utils.js.map +1 -0
- package/dist/internal-common/src/utils/http.d.ts +2 -0
- package/dist/internal-common/src/utils/http.js +57 -0
- package/dist/internal-common/src/utils/http.js.map +1 -0
- package/dist/internal-common/src/utils/serialization.d.ts +5 -0
- package/dist/internal-common/src/utils/serialization.js +74 -0
- package/dist/internal-common/src/utils/serialization.js.map +1 -0
- package/dist/internal-common/src/websocket.impl.d.ts +21 -0
- package/dist/internal-common/src/websocket.impl.js +80 -0
- package/dist/internal-common/src/websocket.impl.js.map +1 -0
- package/dist/local-backend/openapi-template.hbs +1 -0
- package/dist/local-backend/package.json +54 -0
- package/dist/local-backend/src/index.d.ts +4 -0
- package/dist/local-backend/src/index.js.map +1 -0
- package/dist/local-backend/src/local-backend-socket.service.d.ts +22 -0
- package/dist/local-backend/src/local-backend-socket.service.js +213 -0
- package/dist/local-backend/src/local-backend-socket.service.js.map +1 -0
- package/dist/local-backend/src/local-backend.app.d.ts +2 -0
- package/dist/local-backend/src/local-backend.app.js +26 -0
- package/dist/local-backend/src/local-backend.app.js.map +1 -0
- package/dist/local-backend/src/local-backend.controller.d.ts +9 -0
- package/dist/local-backend/src/local-backend.controller.js +50 -0
- package/dist/local-backend/src/local-backend.controller.js.map +1 -0
- package/dist/local-backend/src/local-backend.module.d.ts +8 -0
- package/dist/local-backend/src/local-backend.module.js +54 -0
- package/dist/local-backend/src/local-backend.module.js.map +1 -0
- package/dist/local-backend/src/local-backend.service.d.ts +17 -0
- package/dist/local-backend/src/local-backend.service.js +180 -0
- package/dist/local-backend/src/local-backend.service.js.map +1 -0
- package/dist/local-backend/src/utils/shell-runner.d.ts +4 -0
- package/dist/local-backend/src/utils/shell-runner.js +28 -0
- package/dist/local-backend/src/utils/shell-runner.js.map +1 -0
- package/dist/local-backend/tsoa.json +15 -0
- package/dist/tsconfig.build.tsbuildinfo +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
'pinot' = "pinot",
|
|
49
|
+
'redis' = "redis",
|
|
50
|
+
'xata' = "xata",
|
|
51
|
+
'azure_sql' = "azure_sql",
|
|
52
|
+
'azure_postgresql' = "azure_postgresql",
|
|
53
|
+
'azure_cosmosdb' = "azure_cosmosdb",
|
|
54
|
+
'firestore' = "firestore",
|
|
55
|
+
'bigquery' = "bigquery",
|
|
56
|
+
'cloudsql' = "cloudsql"
|
|
57
|
+
}
|
|
58
|
+
export declare enum IntegrationSchemaType {
|
|
59
|
+
'data' = "data",
|
|
60
|
+
'api' = "api",
|
|
61
|
+
'graphql' = "graphql"
|
|
62
|
+
}
|
|
@@ -0,0 +1,69 @@
|
|
|
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["pinot"] = "pinot";
|
|
54
|
+
IntegrationType["redis"] = "redis";
|
|
55
|
+
IntegrationType["xata"] = "xata";
|
|
56
|
+
IntegrationType["azure_sql"] = "azure_sql";
|
|
57
|
+
IntegrationType["azure_postgresql"] = "azure_postgresql";
|
|
58
|
+
IntegrationType["azure_cosmosdb"] = "azure_cosmosdb";
|
|
59
|
+
IntegrationType["firestore"] = "firestore";
|
|
60
|
+
IntegrationType["bigquery"] = "bigquery";
|
|
61
|
+
IntegrationType["cloudsql"] = "cloudsql";
|
|
62
|
+
})(IntegrationType || (exports.IntegrationType = IntegrationType = {}));
|
|
63
|
+
var IntegrationSchemaType;
|
|
64
|
+
(function (IntegrationSchemaType) {
|
|
65
|
+
IntegrationSchemaType["data"] = "data";
|
|
66
|
+
IntegrationSchemaType["api"] = "api";
|
|
67
|
+
IntegrationSchemaType["graphql"] = "graphql";
|
|
68
|
+
})(IntegrationSchemaType || (exports.IntegrationSchemaType = IntegrationSchemaType = {}));
|
|
69
|
+
//# sourceMappingURL=integration.public-types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
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,eAgDX;AAhDD,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,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,EAhDW,eAAe,+BAAf,eAAe,QAgD1B;AAED,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,sCAAe,CAAA;IACf,oCAAa,CAAA;IACb,4CAAqB,CAAA;AACvB,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC"}
|
|
@@ -0,0 +1,32 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ai_chatbot.types.js","sourceRoot":"","sources":["../../../../../../internal-common/src/public-types/integrations/ai_chatbot.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,81 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"api.types.js","sourceRoot":"","sources":["../../../../../../internal-common/src/public-types/integrations/api.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,46 @@
|
|
|
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
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.types.js","sourceRoot":"","sources":["../../../../../../internal-common/src/public-types/integrations/auth.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,275 @@
|
|
|
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 PinotConnectionSecretOptions {
|
|
34
|
+
password?: string;
|
|
35
|
+
}
|
|
36
|
+
export interface MssqlConnectionSecretOptions {
|
|
37
|
+
password: string;
|
|
38
|
+
}
|
|
39
|
+
export interface PostgresConnectionSecretOptions {
|
|
40
|
+
password: string;
|
|
41
|
+
sslCertificate?: string;
|
|
42
|
+
}
|
|
43
|
+
export interface MySqlConnectionOptions {
|
|
44
|
+
secrets: MySqlConnectionSecretOptions;
|
|
45
|
+
host: string;
|
|
46
|
+
user: string;
|
|
47
|
+
database: string;
|
|
48
|
+
connectionLimit?: number;
|
|
49
|
+
sslEnabled?: boolean;
|
|
50
|
+
}
|
|
51
|
+
export interface BigQueryConnectionOptions {
|
|
52
|
+
secrets: BigQueryConnectionSecretOptions;
|
|
53
|
+
projectId: string;
|
|
54
|
+
datasetId: string;
|
|
55
|
+
email: string;
|
|
56
|
+
}
|
|
57
|
+
export interface OracleConnectionOptions {
|
|
58
|
+
secrets: OracleConnectionSecretOptions;
|
|
59
|
+
host: string;
|
|
60
|
+
user: string;
|
|
61
|
+
database: string;
|
|
62
|
+
connectionLimit?: number;
|
|
63
|
+
}
|
|
64
|
+
export interface PinotConnectionOptions {
|
|
65
|
+
secrets: PinotConnectionSecretOptions;
|
|
66
|
+
brokerUrl: string;
|
|
67
|
+
controllerUrl: string;
|
|
68
|
+
user?: string;
|
|
69
|
+
connectionLimit?: number;
|
|
70
|
+
}
|
|
71
|
+
export interface MssqlConnectionOptions {
|
|
72
|
+
secrets: MssqlConnectionSecretOptions;
|
|
73
|
+
host: string;
|
|
74
|
+
user: string;
|
|
75
|
+
schemas: string;
|
|
76
|
+
database: string;
|
|
77
|
+
connectionLimit?: number;
|
|
78
|
+
sslEnabled?: boolean;
|
|
79
|
+
}
|
|
80
|
+
export interface PostgresConnectionOptions {
|
|
81
|
+
host: string;
|
|
82
|
+
user: string;
|
|
83
|
+
database: string;
|
|
84
|
+
schema?: string;
|
|
85
|
+
sslEnabled?: boolean;
|
|
86
|
+
secrets: PostgresConnectionSecretOptions;
|
|
87
|
+
}
|
|
88
|
+
export interface SnowflakeConnectionSecretOptions {
|
|
89
|
+
password: string;
|
|
90
|
+
}
|
|
91
|
+
export interface SnowflakeConnectionOptions {
|
|
92
|
+
secrets: SnowflakeConnectionSecretOptions;
|
|
93
|
+
account: string;
|
|
94
|
+
username: string;
|
|
95
|
+
database: string;
|
|
96
|
+
schema: string;
|
|
97
|
+
warehouse: string;
|
|
98
|
+
role: string;
|
|
99
|
+
}
|
|
100
|
+
type TableName = string;
|
|
101
|
+
export interface IntegrationDataSchema extends BaseIntegrationSchema {
|
|
102
|
+
type: IntegrationSchemaType.data;
|
|
103
|
+
collections: Record<TableName, CollectionSchema>;
|
|
104
|
+
}
|
|
105
|
+
export interface BaseDatabaseIntegrationConfig extends BaseIntegrationConfig {
|
|
106
|
+
type: DatabaseIntegrationType;
|
|
107
|
+
supportsExternalChanges: boolean;
|
|
108
|
+
}
|
|
109
|
+
export interface MySqlIntegrationConfiguration {
|
|
110
|
+
connectionOptions: MySqlConnectionOptions;
|
|
111
|
+
}
|
|
112
|
+
export interface BigQueryIntegrationConfiguration {
|
|
113
|
+
connectionOptions: BigQueryConnectionOptions;
|
|
114
|
+
}
|
|
115
|
+
export interface OracleIntegrationConfiguration {
|
|
116
|
+
connectionOptions: OracleConnectionOptions;
|
|
117
|
+
}
|
|
118
|
+
export interface PinotIntegrationConfiguration {
|
|
119
|
+
connectionOptions: PinotConnectionOptions;
|
|
120
|
+
}
|
|
121
|
+
export interface MssqlIntegrationConfiguration {
|
|
122
|
+
connectionOptions: MssqlConnectionOptions;
|
|
123
|
+
}
|
|
124
|
+
export interface PostgresIntegrationConfiguration {
|
|
125
|
+
connectionOptions: PostgresConnectionOptions;
|
|
126
|
+
}
|
|
127
|
+
export interface MongoIntegrationConfiguration {
|
|
128
|
+
connectionOptions: MongoConnectionOptions;
|
|
129
|
+
}
|
|
130
|
+
export interface SnowflakeIntegrationConfiguration {
|
|
131
|
+
connectionOptions: SnowflakeConnectionOptions;
|
|
132
|
+
}
|
|
133
|
+
export interface MySqlIntegrationConfig extends BaseDatabaseIntegrationConfig {
|
|
134
|
+
type: IntegrationType.mysql;
|
|
135
|
+
configuration: MySqlIntegrationConfiguration;
|
|
136
|
+
}
|
|
137
|
+
export interface BigQueryIntegrationConfig extends BaseDatabaseIntegrationConfig {
|
|
138
|
+
type: IntegrationType.bigquery;
|
|
139
|
+
configuration: BigQueryIntegrationConfiguration;
|
|
140
|
+
}
|
|
141
|
+
export interface OracleIntegrationConfig extends BaseDatabaseIntegrationConfig {
|
|
142
|
+
type: IntegrationType.oracledb;
|
|
143
|
+
configuration: OracleIntegrationConfiguration;
|
|
144
|
+
}
|
|
145
|
+
export interface PinotIntegrationConfig extends BaseDatabaseIntegrationConfig {
|
|
146
|
+
type: IntegrationType.pinot;
|
|
147
|
+
configuration: PinotIntegrationConfiguration;
|
|
148
|
+
}
|
|
149
|
+
export interface MssqlIntegrationConfig extends BaseDatabaseIntegrationConfig {
|
|
150
|
+
type: IntegrationType.mssql;
|
|
151
|
+
configuration: MssqlIntegrationConfiguration;
|
|
152
|
+
}
|
|
153
|
+
export interface BasePostgresIntegration extends BaseDatabaseIntegrationConfig {
|
|
154
|
+
type: IntegrationType.postgres | IntegrationType.cockroach;
|
|
155
|
+
configuration: PostgresIntegrationConfiguration;
|
|
156
|
+
}
|
|
157
|
+
export interface PostgresIntegrationConfig extends BasePostgresIntegration {
|
|
158
|
+
type: IntegrationType.postgres;
|
|
159
|
+
}
|
|
160
|
+
export interface CockroachIntegrationConfig extends BasePostgresIntegration {
|
|
161
|
+
type: IntegrationType.cockroach;
|
|
162
|
+
supportsExternalChanges: false;
|
|
163
|
+
}
|
|
164
|
+
export interface InternalIntegrationConfig extends BaseDatabaseIntegrationConfig {
|
|
165
|
+
type: IntegrationType.built_in_db;
|
|
166
|
+
}
|
|
167
|
+
export interface MongoIntegrationConfig extends BaseDatabaseIntegrationConfig {
|
|
168
|
+
type: IntegrationType.mongo;
|
|
169
|
+
configuration: MongoIntegrationConfiguration;
|
|
170
|
+
}
|
|
171
|
+
export interface SnowflakeIntegrationConfig extends BaseDatabaseIntegrationConfig {
|
|
172
|
+
type: IntegrationType.snowflake;
|
|
173
|
+
configuration: SnowflakeIntegrationConfiguration;
|
|
174
|
+
supportsExternalChanges: false;
|
|
175
|
+
}
|
|
176
|
+
interface TestMongoDataConnectionRequest {
|
|
177
|
+
type: IntegrationType.mongo;
|
|
178
|
+
configuration: {
|
|
179
|
+
connectionOptions: MongoConnectionOptions;
|
|
180
|
+
};
|
|
181
|
+
}
|
|
182
|
+
interface TestMysqlDataConnectionRequest {
|
|
183
|
+
type: IntegrationType.mysql;
|
|
184
|
+
configuration: {
|
|
185
|
+
connectionOptions: MySqlConnectionOptions;
|
|
186
|
+
};
|
|
187
|
+
}
|
|
188
|
+
interface TestBigQueryDataConnectionRequest {
|
|
189
|
+
type: IntegrationType.bigquery;
|
|
190
|
+
configuration: {
|
|
191
|
+
connectionOptions: BigQueryConnectionOptions;
|
|
192
|
+
};
|
|
193
|
+
}
|
|
194
|
+
interface TestOracleDataConnectionRequest {
|
|
195
|
+
type: IntegrationType.oracledb;
|
|
196
|
+
configuration: {
|
|
197
|
+
connectionOptions: OracleConnectionOptions;
|
|
198
|
+
};
|
|
199
|
+
}
|
|
200
|
+
interface TestMssqlDataConnectionRequest {
|
|
201
|
+
type: IntegrationType.mssql;
|
|
202
|
+
configuration: {
|
|
203
|
+
connectionOptions: MssqlConnectionOptions;
|
|
204
|
+
};
|
|
205
|
+
}
|
|
206
|
+
interface TestPostgresDataConnectionRequest {
|
|
207
|
+
type: IntegrationType.postgres;
|
|
208
|
+
configuration: {
|
|
209
|
+
connectionOptions: PostgresConnectionOptions;
|
|
210
|
+
};
|
|
211
|
+
}
|
|
212
|
+
interface TestSnowflakeDataConnectionRequest {
|
|
213
|
+
type: IntegrationType.snowflake;
|
|
214
|
+
configuration: {
|
|
215
|
+
connectionOptions: SnowflakeConnectionOptions;
|
|
216
|
+
};
|
|
217
|
+
}
|
|
218
|
+
interface TestCockroachDataConnectionRequest {
|
|
219
|
+
type: IntegrationType.cockroach;
|
|
220
|
+
configuration: {
|
|
221
|
+
connectionOptions: PostgresConnectionOptions;
|
|
222
|
+
};
|
|
223
|
+
}
|
|
224
|
+
export type TestDataConnectionRequest = TestMongoDataConnectionRequest | TestMysqlDataConnectionRequest | TestBigQueryDataConnectionRequest | TestOracleDataConnectionRequest | TestMssqlDataConnectionRequest | TestCockroachDataConnectionRequest | TestPostgresDataConnectionRequest | TestSnowflakeDataConnectionRequest;
|
|
225
|
+
export interface CollectionReadiness {
|
|
226
|
+
hasPermissions: boolean;
|
|
227
|
+
grantPermissionsCommands: string[];
|
|
228
|
+
replicationEnabled: boolean;
|
|
229
|
+
enableReplicationCommands: string[];
|
|
230
|
+
}
|
|
231
|
+
export interface DiscoverDataConnectionSchemaResponse {
|
|
232
|
+
schema: IntegrationDataSchema;
|
|
233
|
+
collectionReadiness: Record<CollectionName, CollectionReadiness>;
|
|
234
|
+
}
|
|
235
|
+
interface DiscoverMongoDataConnectionSchemaRequest {
|
|
236
|
+
integrationType: IntegrationType.mongo;
|
|
237
|
+
connectionOptions: MongoConnectionOptions;
|
|
238
|
+
}
|
|
239
|
+
interface DiscoverInternalDataConnectionSchemaRequest {
|
|
240
|
+
integrationType: IntegrationType.built_in_db;
|
|
241
|
+
}
|
|
242
|
+
interface DiscoverMysqlDataConnectionSchemaRequest {
|
|
243
|
+
integrationType: IntegrationType.mysql;
|
|
244
|
+
connectionOptions: MySqlConnectionOptions;
|
|
245
|
+
}
|
|
246
|
+
interface DiscoverBigQueryDataConnectionSchemaRequest {
|
|
247
|
+
integrationType: IntegrationType.bigquery;
|
|
248
|
+
connectionOptions: BigQueryConnectionOptions;
|
|
249
|
+
}
|
|
250
|
+
interface DiscoverOracleDataConnectionSchemaRequest {
|
|
251
|
+
integrationType: IntegrationType.oracledb;
|
|
252
|
+
connectionOptions: OracleConnectionOptions;
|
|
253
|
+
}
|
|
254
|
+
interface DiscoverMssqlDataConnectionSchemaRequest {
|
|
255
|
+
integrationType: IntegrationType.mssql;
|
|
256
|
+
connectionOptions: MssqlConnectionOptions;
|
|
257
|
+
}
|
|
258
|
+
interface DiscoverPostgresDataConnectionSchemaRequest {
|
|
259
|
+
integrationType: IntegrationType.postgres;
|
|
260
|
+
connectionOptions: PostgresConnectionOptions;
|
|
261
|
+
}
|
|
262
|
+
interface DiscoverSnowflakeDataConnectionSchemaRequest {
|
|
263
|
+
integrationType: IntegrationType.snowflake;
|
|
264
|
+
connectionOptions: SnowflakeConnectionOptions;
|
|
265
|
+
}
|
|
266
|
+
interface DiscoverCockroachDataConnectionSchemaRequest {
|
|
267
|
+
integrationType: IntegrationType.cockroach;
|
|
268
|
+
connectionOptions: PostgresConnectionOptions;
|
|
269
|
+
}
|
|
270
|
+
export interface TestDataConnectionResponse {
|
|
271
|
+
success: boolean;
|
|
272
|
+
errorMessage?: string;
|
|
273
|
+
}
|
|
274
|
+
export type DiscoverDataConnectionSchemaRequest = DiscoverMongoDataConnectionSchemaRequest | DiscoverInternalDataConnectionSchemaRequest | DiscoverMysqlDataConnectionSchemaRequest | DiscoverBigQueryDataConnectionSchemaRequest | DiscoverOracleDataConnectionSchemaRequest | DiscoverMssqlDataConnectionSchemaRequest | DiscoverCockroachDataConnectionSchemaRequest | DiscoverPostgresDataConnectionSchemaRequest | DiscoverSnowflakeDataConnectionSchemaRequest;
|
|
275
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"database.types.js","sourceRoot":"","sources":["../../../../../../internal-common/src/public-types/integrations/database.types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { BaseIntegrationConfig } from './schemas';
|
|
2
|
+
import { IntegrationType } from '../integration.public-types';
|
|
3
|
+
export interface DatadogIntegrationConfig extends BaseIntegrationConfig {
|
|
4
|
+
type: IntegrationType.datadog;
|
|
5
|
+
configuration: DatadogIntegrationConfiguration;
|
|
6
|
+
}
|
|
7
|
+
export interface DatadogIntegrationConfiguration {
|
|
8
|
+
apiKey: string;
|
|
9
|
+
appKey: string;
|
|
10
|
+
datadogRegion: DatadogRegion;
|
|
11
|
+
}
|
|
12
|
+
export type DatadogRegion = 'us1' | 'us3' | 'us5' | 'eu1' | 'us1-fed' | 'ap1';
|
|
13
|
+
export interface NewRelicIntegrationConfig extends BaseIntegrationConfig {
|
|
14
|
+
type: IntegrationType.newrelic;
|
|
15
|
+
configuration: NewRelicIntegrationConfiguration;
|
|
16
|
+
}
|
|
17
|
+
export declare const datadogRegionMap: Record<DatadogRegion, string>;
|
|
18
|
+
export declare const datadogLogsUrlMap: Record<DatadogRegion, string>;
|
|
19
|
+
export type NewRelicRegion = 'worldwide' | 'eu';
|
|
20
|
+
export interface NewRelicIntegrationConfiguration {
|
|
21
|
+
apiKey: string;
|
|
22
|
+
newRelicRegion: NewRelicRegion;
|
|
23
|
+
}
|
|
24
|
+
export declare const newRelicRegionMap: Record<NewRelicRegion, string>;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.newRelicRegionMap = exports.datadogLogsUrlMap = exports.datadogRegionMap = void 0;
|
|
4
|
+
exports.datadogRegionMap = {
|
|
5
|
+
us1: 'US1 - East',
|
|
6
|
+
us3: 'US3 - West',
|
|
7
|
+
us5: 'US5 - Central',
|
|
8
|
+
eu1: 'EU1 - Europe',
|
|
9
|
+
ap1: 'AP1 - Asia',
|
|
10
|
+
'us1-fed': 'US1-FED (FedRamp)',
|
|
11
|
+
};
|
|
12
|
+
exports.datadogLogsUrlMap = {
|
|
13
|
+
us1: 'https://http-intake.logs.datadoghq.com',
|
|
14
|
+
us3: 'https://http-intake.logs.us3.datadoghq.com',
|
|
15
|
+
us5: 'https://http-intake.logs.us5.datadoghq.com',
|
|
16
|
+
eu1: 'https://http-intake.logs.datadoghq.eu',
|
|
17
|
+
ap1: 'https://http-intake.logs.ap1.datadoghq.com',
|
|
18
|
+
'us1-fed': 'https://http-intake.logs.ddog-gov.com',
|
|
19
|
+
};
|
|
20
|
+
exports.newRelicRegionMap = {
|
|
21
|
+
worldwide: 'Worldwide',
|
|
22
|
+
eu: 'Europe',
|
|
23
|
+
};
|
|
24
|
+
//# sourceMappingURL=observability.types.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"observability.types.js","sourceRoot":"","sources":["../../../../../../internal-common/src/public-types/integrations/observability.types.ts"],"names":[],"mappings":";;;AAqBa,QAAA,gBAAgB,GAAkC;IAC7D,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,YAAY;IACjB,GAAG,EAAE,eAAe;IACpB,GAAG,EAAE,cAAc;IACnB,GAAG,EAAE,YAAY;IACjB,SAAS,EAAE,mBAAmB;CAC/B,CAAC;AAEW,QAAA,iBAAiB,GAAkC;IAC9D,GAAG,EAAE,wCAAwC;IAC7C,GAAG,EAAE,4CAA4C;IACjD,GAAG,EAAE,4CAA4C;IACjD,GAAG,EAAE,uCAAuC;IAC5C,GAAG,EAAE,4CAA4C;IACjD,SAAS,EAAE,uCAAuC;CACnD,CAAC;AASW,QAAA,iBAAiB,GAAmC;IAC/D,SAAS,EAAE,WAAW;IACtB,EAAE,EAAE,QAAQ;CACb,CAAC"}
|