@squidcloud/local-backend 1.0.148 → 1.0.151
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/common/src/ai-assistant.types.d.ts +50 -50
- package/dist/common/src/ai-assistant.types.js +2 -2
- package/dist/common/src/ai-chatbot.context.d.ts +13 -13
- package/dist/common/src/ai-chatbot.context.js +19 -19
- package/dist/common/src/ai-chatbot.schemas.d.ts +18 -18
- package/dist/common/src/ai-chatbot.schemas.js +21 -21
- package/dist/common/src/ai-chatbot.types.d.ts +125 -123
- package/dist/common/src/ai-chatbot.types.js +18 -18
- package/dist/common/src/api-call.context.d.ts +13 -13
- package/dist/common/src/api-call.context.js +16 -16
- package/dist/common/src/api.types.d.ts +22 -22
- package/dist/common/src/api.types.js +2 -2
- package/dist/common/src/application.schemas.d.ts +1648 -1648
- package/dist/common/src/application.schemas.js +948 -948
- package/dist/common/src/application.types.d.ts +193 -193
- package/dist/common/src/application.types.js +89 -89
- package/dist/common/src/application.types.js.map +1 -1
- package/dist/common/src/backend-function.schemas.d.ts +3 -3
- package/dist/common/src/backend-function.schemas.js +11 -11
- package/dist/common/src/backend-function.types.d.ts +4 -4
- package/dist/common/src/backend-function.types.js +2 -2
- package/dist/common/src/backend-run.types.d.ts +54 -54
- package/dist/common/src/backend-run.types.js +92 -95
- package/dist/common/src/backend-run.types.js.map +1 -1
- package/dist/common/src/bundle-api.types.d.ts +65 -69
- package/dist/common/src/bundle-api.types.js +2 -2
- package/dist/common/src/bundle-data.types.d.ts +69 -74
- package/dist/common/src/bundle-data.types.js +2 -2
- package/dist/common/src/communication.types.d.ts +20 -19
- package/dist/common/src/communication.types.js +41 -40
- package/dist/common/src/communication.types.js.map +1 -1
- package/dist/common/src/context.types.d.ts +24 -24
- package/dist/common/src/context.types.js +2 -2
- package/dist/common/src/distributed-lock.context.d.ts +4 -4
- package/dist/common/src/distributed-lock.context.js +9 -9
- package/dist/common/src/document.types.d.ts +32 -32
- package/dist/common/src/document.types.js +50 -50
- package/dist/common/src/graphql.context.d.ts +14 -14
- package/dist/common/src/graphql.context.js +12 -12
- package/dist/common/src/graphql.types.d.ts +11 -11
- package/dist/common/src/graphql.types.js +34 -34
- package/dist/common/src/heartbeat.types.d.ts +4 -4
- package/dist/common/src/heartbeat.types.js +16 -16
- package/dist/common/src/http-status.enum.d.ts +50 -50
- package/dist/common/src/http-status.enum.js +54 -54
- package/dist/common/src/http-status.enum.js.map +1 -1
- package/dist/common/src/index.d.ts +54 -57
- package/dist/common/src/index.js +70 -73
- package/dist/common/src/index.js.map +1 -1
- package/dist/common/src/integrations/ai_chatbot.types.d.ts +31 -31
- package/dist/common/src/integrations/ai_chatbot.types.js +2 -2
- package/dist/common/src/integrations/api.types.d.ts +80 -80
- package/dist/common/src/integrations/api.types.js +2 -2
- package/dist/common/src/integrations/auth.types.d.ts +39 -39
- package/dist/common/src/integrations/auth.types.js +2 -2
- package/dist/common/src/integrations/database.types.d.ts +274 -274
- package/dist/common/src/integrations/database.types.js +2 -2
- package/dist/common/src/integrations/index.d.ts +134 -134
- package/dist/common/src/integrations/index.js +119 -119
- package/dist/common/src/integrations/index.js.map +1 -1
- package/dist/common/src/integrations/observability.types.d.ts +23 -23
- package/dist/common/src/integrations/observability.types.js +23 -23
- package/dist/common/src/logger.types.d.ts +21 -21
- package/dist/common/src/logger.types.js +11 -11
- package/dist/common/src/logger.types.js.map +1 -1
- package/dist/common/src/metrics.types.d.ts +73 -73
- package/dist/common/src/metrics.types.js +11 -11
- package/dist/common/src/mutation.context.d.ts +13 -13
- package/dist/common/src/mutation.context.js +26 -26
- package/dist/common/src/mutation.schemas.d.ts +5 -5
- package/dist/common/src/mutation.schemas.js +114 -114
- package/dist/common/src/mutation.types.d.ts +63 -63
- package/dist/common/src/mutation.types.js +142 -142
- package/dist/common/src/native-query.context.d.ts +7 -7
- package/dist/common/src/native-query.context.js +11 -11
- package/dist/common/src/native-query.types.d.ts +16 -16
- package/dist/common/src/native-query.types.js +2 -2
- package/dist/common/src/query/base-query-builder.d.ts +38 -38
- package/dist/common/src/query/base-query-builder.js +39 -39
- package/dist/common/src/query/index.d.ts +4 -4
- package/dist/common/src/query/index.js +20 -20
- package/dist/common/src/query/pagination.d.ts +46 -46
- package/dist/common/src/query/pagination.js +211 -211
- package/dist/common/src/query/query-context.d.ts +47 -47
- package/dist/common/src/query/query-context.js +159 -159
- package/dist/common/src/query/serialized-query.types.d.ts +24 -24
- package/dist/common/src/query/serialized-query.types.js +2 -2
- package/dist/common/src/query.types.d.ts +86 -86
- package/dist/common/src/query.types.js +97 -97
- package/dist/common/src/regions.d.ts +21 -21
- package/dist/common/src/regions.js +46 -46
- package/dist/common/src/schema/schema.types.d.ts +30 -30
- package/dist/common/src/schema/schema.types.js +173 -173
- package/dist/common/src/secret.schemas.d.ts +4 -4
- package/dist/common/src/secret.schemas.js +17 -17
- package/dist/common/src/secret.types.d.ts +68 -68
- package/dist/common/src/secret.types.js +5 -5
- package/dist/common/src/security.types.d.ts +3 -3
- package/dist/common/src/security.types.js +2 -2
- package/dist/common/src/socket.schemas.d.ts +3 -3
- package/dist/common/src/socket.schemas.js +57 -57
- package/dist/common/src/socket.types.d.ts +126 -126
- package/dist/common/src/socket.types.js +9 -9
- package/dist/common/src/socket.types.js.map +1 -1
- package/dist/common/src/time-units.d.ts +11 -11
- package/dist/common/src/time-units.js +14 -14
- package/dist/common/src/trigger.types.d.ts +15 -15
- package/dist/common/src/trigger.types.js +2 -2
- package/dist/common/src/types.d.ts +21 -21
- package/dist/common/src/types.js +2 -2
- package/dist/common/src/utils/array.d.ts +8 -8
- package/dist/common/src/utils/array.js +54 -54
- package/dist/common/src/utils/assert.d.ts +3 -3
- package/dist/common/src/utils/assert.js +14 -14
- package/dist/common/src/utils/error.d.ts +4 -4
- package/dist/common/src/utils/error.js +10 -10
- package/dist/common/src/utils/global.utils.d.ts +11 -11
- package/dist/common/src/utils/global.utils.js +50 -50
- package/dist/common/src/utils/http.d.ts +2 -2
- package/dist/common/src/utils/http.js +51 -51
- package/dist/common/src/utils/id.d.ts +2 -2
- package/dist/common/src/utils/id.js +21 -21
- package/dist/common/src/utils/lock.manager.d.ts +9 -9
- package/dist/common/src/utils/lock.manager.js +39 -39
- package/dist/common/src/utils/object.d.ts +5 -5
- package/dist/common/src/utils/object.js +75 -75
- package/dist/common/src/utils/serialization.d.ts +5 -5
- package/dist/common/src/utils/serialization.js +73 -73
- package/dist/common/src/utils/transforms.d.ts +18 -18
- package/dist/common/src/utils/transforms.js +104 -104
- package/dist/common/src/utils/url.d.ts +1 -1
- package/dist/common/src/utils/url.js +15 -15
- package/dist/common/src/utils/validation.d.ts +17 -17
- package/dist/common/src/utils/validation.js +199 -199
- package/dist/common/src/webhook-response.d.ts +6 -6
- package/dist/common/src/webhook-response.js +2 -2
- package/dist/common/src/websocket.impl.d.ts +21 -21
- package/dist/common/src/websocket.impl.js +79 -79
- package/dist/internal-common/src/code-executor.types.d.ts +13 -13
- package/dist/internal-common/src/code-executor.types.js +2 -2
- package/dist/internal-common/src/local-dev.types.d.ts +35 -35
- package/dist/internal-common/src/local-dev.types.js +2 -2
- package/dist/local-backend/package.json +48 -48
- package/dist/local-backend/src/index.d.ts +4 -4
- package/dist/local-backend/src/index.js +26 -26
- package/dist/local-backend/src/local-backend-socket.service.d.ts +18 -18
- package/dist/local-backend/src/local-backend-socket.service.js +107 -108
- package/dist/local-backend/src/local-backend-socket.service.js.map +1 -1
- package/dist/local-backend/src/local-backend.app.d.ts +2 -2
- package/dist/local-backend/src/local-backend.app.js +19 -19
- package/dist/local-backend/src/local-backend.controller.d.ts +8 -8
- package/dist/local-backend/src/local-backend.controller.js +48 -49
- package/dist/local-backend/src/local-backend.controller.js.map +1 -1
- package/dist/local-backend/src/local-backend.module.d.ts +8 -8
- package/dist/local-backend/src/local-backend.module.js +51 -53
- package/dist/local-backend/src/local-backend.module.js.map +1 -1
- package/dist/local-backend/src/local-backend.service.d.ts +15 -15
- package/dist/local-backend/src/local-backend.service.js +173 -176
- package/dist/local-backend/src/local-backend.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/dist/common/src/named-query.context.d.ts +0 -4
- package/dist/common/src/named-query.context.js +0 -10
- package/dist/common/src/named-query.context.js.map +0 -1
- package/dist/common/src/named-query.schemas.d.ts +0 -3
- package/dist/common/src/named-query.schemas.js +0 -14
- package/dist/common/src/named-query.schemas.js.map +0 -1
- package/dist/common/src/named-query.types.d.ts +0 -8
- package/dist/common/src/named-query.types.js +0 -3
- package/dist/common/src/named-query.types.js.map +0 -1
- package/dist/internal-common/src/utils/logger-utils.d.ts +0 -3
- package/dist/internal-common/src/utils/logger-utils.js +0 -29
- package/dist/internal-common/src/utils/logger-utils.js.map +0 -1
|
@@ -1,134 +1,134 @@
|
|
|
1
|
-
export * from './ai_chatbot.types';
|
|
2
|
-
export * from './api.types';
|
|
3
|
-
export * from './auth.types';
|
|
4
|
-
export * from './database.types';
|
|
5
|
-
export * from './observability.types';
|
|
6
|
-
import { IntegrationId } from '../communication.types';
|
|
7
|
-
import { AiChatbotIntegrationConfig } from './ai_chatbot.types';
|
|
8
|
-
import { GraphQLIntegrationConfig, HttpApiIntegrationConfig, IntegrationApiSchema, IntegrationGraphQLSchema, TestGraphQLDataConnectionRequest } from './api.types';
|
|
9
|
-
import { Auth0IntegrationConfig, CognitoIntegrationConfig, JwtHmacIntegrationConfig, JwtRsaIntegrationConfig, OktaIntegrationConfig } from './auth.types';
|
|
10
|
-
import { BaseDatabaseIntegrationConfig, BigQueryIntegrationConfig, CockroachIntegrationConfig, IntegrationDataSchema, InternalIntegrationConfig, MongoIntegrationConfig, MssqlIntegrationConfig, MySqlIntegrationConfig, OracleIntegrationConfig, PinotIntegrationConfig, PostgresIntegrationConfig, SnowflakeIntegrationConfig, TestDataConnectionRequest } from './database.types';
|
|
11
|
-
import { DatadogIntegrationConfig, NewRelicIntegrationConfig } from './observability.types';
|
|
12
|
-
export declare enum IntegrationCategory {
|
|
13
|
-
'database' = "database",
|
|
14
|
-
'api' = "api",
|
|
15
|
-
'observability' = "observability",
|
|
16
|
-
'crm' = "crm",
|
|
17
|
-
'auth' = "auth",
|
|
18
|
-
'ai' = "ai"
|
|
19
|
-
}
|
|
20
|
-
export declare enum IntegrationType {
|
|
21
|
-
'built_in_db' = "built_in_db",
|
|
22
|
-
'mongo' = "mongo",
|
|
23
|
-
'mysql' = "mysql",
|
|
24
|
-
'mssql' = "mssql",
|
|
25
|
-
'postgres' = "postgres",
|
|
26
|
-
'cockroach' = "cockroach",
|
|
27
|
-
'api' = "api",
|
|
28
|
-
'graphql' = "graphql",
|
|
29
|
-
'snowflake' = "snowflake",
|
|
30
|
-
'datadog' = "datadog",
|
|
31
|
-
'newrelic' = "newrelic",
|
|
32
|
-
'auth0' = "auth0",
|
|
33
|
-
'jwt_rsa' = "jwt_rsa",
|
|
34
|
-
'jwt_hmac' = "jwt_hmac",
|
|
35
|
-
'ai_chatbot' = "ai_chatbot",
|
|
36
|
-
'cognito' = "cognito",
|
|
37
|
-
'okta' = "okta",
|
|
38
|
-
'algolia' = "algolia",
|
|
39
|
-
'elastic_observability' = "elastic_observability",
|
|
40
|
-
'elastic_search' = "elastic_search",
|
|
41
|
-
'elastic_enterprise_search' = "elastic_enterprise_search",
|
|
42
|
-
'sentry' = "sentry",
|
|
43
|
-
'sap_hana' = "sap_hana",
|
|
44
|
-
'salesforce_crm' = "salesforce_crm",
|
|
45
|
-
'documentdb' = "documentdb",
|
|
46
|
-
'dynamodb' = "dynamodb",
|
|
47
|
-
'cassandra' = "cassandra",
|
|
48
|
-
'clickhouse' = "clickhouse",
|
|
49
|
-
'alloydb' = "alloydb",
|
|
50
|
-
'spanner' = "spanner",
|
|
51
|
-
'db2' = "db2",
|
|
52
|
-
'mariadb' = "mariadb",
|
|
53
|
-
'oracledb' = "oracledb",
|
|
54
|
-
'pinot' = "pinot",
|
|
55
|
-
'redis' = "redis",
|
|
56
|
-
'xata' = "xata",
|
|
57
|
-
'azure_sql' = "azure_sql",
|
|
58
|
-
'azure_postgresql' = "azure_postgresql",
|
|
59
|
-
'azure_cosmosdb' = "azure_cosmosdb",
|
|
60
|
-
'firestore' = "firestore",
|
|
61
|
-
'bigquery' = "bigquery",
|
|
62
|
-
'cloudsql' = "cloudsql"
|
|
63
|
-
}
|
|
64
|
-
export declare enum IntegrationSchemaType {
|
|
65
|
-
'data' = "data",
|
|
66
|
-
'api' = "api",
|
|
67
|
-
'graphql' = "graphql"
|
|
68
|
-
}
|
|
69
|
-
export interface IntegrationConfigTypes {
|
|
70
|
-
[IntegrationType.built_in_db]: InternalIntegrationConfig;
|
|
71
|
-
[IntegrationType.mongo]: MongoIntegrationConfig;
|
|
72
|
-
[IntegrationType.mysql]: MySqlIntegrationConfig;
|
|
73
|
-
[IntegrationType.bigquery]: BigQueryIntegrationConfig;
|
|
74
|
-
[IntegrationType.oracledb]: OracleIntegrationConfig;
|
|
75
|
-
[IntegrationType.pinot]: PinotIntegrationConfig;
|
|
76
|
-
[IntegrationType.mssql]: MssqlIntegrationConfig;
|
|
77
|
-
[IntegrationType.postgres]: PostgresIntegrationConfig;
|
|
78
|
-
[IntegrationType.cockroach]: CockroachIntegrationConfig;
|
|
79
|
-
[IntegrationType.snowflake]: SnowflakeIntegrationConfig;
|
|
80
|
-
[IntegrationType.api]: HttpApiIntegrationConfig;
|
|
81
|
-
[IntegrationType.graphql]: GraphQLIntegrationConfig;
|
|
82
|
-
[IntegrationType.datadog]: DatadogIntegrationConfig;
|
|
83
|
-
[IntegrationType.newrelic]: NewRelicIntegrationConfig;
|
|
84
|
-
[IntegrationType.auth0]: Auth0IntegrationConfig;
|
|
85
|
-
[IntegrationType.jwt_rsa]: JwtRsaIntegrationConfig;
|
|
86
|
-
[IntegrationType.jwt_hmac]: JwtHmacIntegrationConfig;
|
|
87
|
-
[IntegrationType.ai_chatbot]: AiChatbotIntegrationConfig;
|
|
88
|
-
[IntegrationType.cognito]: CognitoIntegrationConfig;
|
|
89
|
-
[IntegrationType.okta]: OktaIntegrationConfig;
|
|
90
|
-
}
|
|
91
|
-
export interface IntegrationSchemaTypes {
|
|
92
|
-
[IntegrationType.built_in_db]: IntegrationDataSchema;
|
|
93
|
-
[IntegrationType.mongo]: IntegrationDataSchema;
|
|
94
|
-
[IntegrationType.mysql]: IntegrationDataSchema;
|
|
95
|
-
[IntegrationType.oracledb]: IntegrationDataSchema;
|
|
96
|
-
[IntegrationType.bigquery]: IntegrationDataSchema;
|
|
97
|
-
[IntegrationType.pinot]: IntegrationDataSchema;
|
|
98
|
-
[IntegrationType.mssql]: IntegrationDataSchema;
|
|
99
|
-
[IntegrationType.postgres]: IntegrationDataSchema;
|
|
100
|
-
[IntegrationType.cockroach]: IntegrationDataSchema;
|
|
101
|
-
[IntegrationType.snowflake]: IntegrationDataSchema;
|
|
102
|
-
[IntegrationType.api]: IntegrationApiSchema;
|
|
103
|
-
[IntegrationType.graphql]: IntegrationGraphQLSchema;
|
|
104
|
-
}
|
|
105
|
-
export type IntegrationTypeWithConfig = keyof IntegrationConfigTypes;
|
|
106
|
-
export type IntegrationSchemaKeys = keyof IntegrationSchemaTypes;
|
|
107
|
-
export type IntegrationConfig = IntegrationConfigTypes[IntegrationTypeWithConfig];
|
|
108
|
-
export type IntegrationSchema = IntegrationSchemaTypes[IntegrationSchemaKeys];
|
|
109
|
-
export declare const DatabaseIntegrationTypes: readonly [IntegrationType.built_in_db, IntegrationType.mongo, IntegrationType.mysql, IntegrationType.bigquery, IntegrationType.mssql, IntegrationType.postgres, IntegrationType.cockroach, IntegrationType.snowflake, IntegrationType.oracledb, IntegrationType.pinot];
|
|
110
|
-
export type DatabaseIntegrationType = (typeof DatabaseIntegrationTypes)[number];
|
|
111
|
-
export type DatabaseIntegrationConfig = IntegrationConfigTypes[DatabaseIntegrationType];
|
|
112
|
-
export declare const ApiIntegrationTypes: readonly [IntegrationType.api, IntegrationType.graphql];
|
|
113
|
-
export declare const ObservabilityIntegrationTypes: readonly [IntegrationType.datadog, IntegrationType.newrelic];
|
|
114
|
-
export declare const AuthIntegrationTypes: readonly [IntegrationType.auth0, IntegrationType.jwt_rsa, IntegrationType.jwt_hmac, IntegrationType.cognito, IntegrationType.okta];
|
|
115
|
-
export type ApiIntegrationType = (typeof ApiIntegrationTypes)[number];
|
|
116
|
-
export type ApiIntegrationConfig = IntegrationConfigTypes[ApiIntegrationType];
|
|
117
|
-
export type ObservabilityIntegrationType = (typeof ObservabilityIntegrationTypes)[number];
|
|
118
|
-
export type ObservabilityIntegrationConfig = IntegrationConfigTypes[ObservabilityIntegrationType];
|
|
119
|
-
export type AuthIntegrationType = (typeof AuthIntegrationTypes)[number];
|
|
120
|
-
export type AuthIntegrationConfig = IntegrationConfigTypes[AuthIntegrationType];
|
|
121
|
-
export declare function isDataIntegrationType(type: unknown): type is DatabaseIntegrationType;
|
|
122
|
-
export declare function isDataIntegration(integration: any): integration is BaseDatabaseIntegrationConfig;
|
|
123
|
-
export declare function isAuthIntegrationType(type: IntegrationType): type is AuthIntegrationType;
|
|
124
|
-
export declare function isAuthIntegration(integration: any): integration is AuthIntegrationConfig;
|
|
125
|
-
export interface BaseIntegrationConfig {
|
|
126
|
-
id: IntegrationId;
|
|
127
|
-
type: IntegrationTypeWithConfig;
|
|
128
|
-
creationDate: Date;
|
|
129
|
-
updateDate: Date;
|
|
130
|
-
}
|
|
131
|
-
export interface BaseIntegrationSchema {
|
|
132
|
-
type: IntegrationSchemaType;
|
|
133
|
-
}
|
|
134
|
-
export type TestConnectionRequest = TestDataConnectionRequest | TestGraphQLDataConnectionRequest;
|
|
1
|
+
export * from './ai_chatbot.types';
|
|
2
|
+
export * from './api.types';
|
|
3
|
+
export * from './auth.types';
|
|
4
|
+
export * from './database.types';
|
|
5
|
+
export * from './observability.types';
|
|
6
|
+
import { IntegrationId } from '../communication.types';
|
|
7
|
+
import { AiChatbotIntegrationConfig } from './ai_chatbot.types';
|
|
8
|
+
import { GraphQLIntegrationConfig, HttpApiIntegrationConfig, IntegrationApiSchema, IntegrationGraphQLSchema, TestGraphQLDataConnectionRequest } from './api.types';
|
|
9
|
+
import { Auth0IntegrationConfig, CognitoIntegrationConfig, JwtHmacIntegrationConfig, JwtRsaIntegrationConfig, OktaIntegrationConfig } from './auth.types';
|
|
10
|
+
import { BaseDatabaseIntegrationConfig, BigQueryIntegrationConfig, CockroachIntegrationConfig, IntegrationDataSchema, InternalIntegrationConfig, MongoIntegrationConfig, MssqlIntegrationConfig, MySqlIntegrationConfig, OracleIntegrationConfig, PinotIntegrationConfig, PostgresIntegrationConfig, SnowflakeIntegrationConfig, TestDataConnectionRequest } from './database.types';
|
|
11
|
+
import { DatadogIntegrationConfig, NewRelicIntegrationConfig } from './observability.types';
|
|
12
|
+
export declare enum IntegrationCategory {
|
|
13
|
+
'database' = "database",
|
|
14
|
+
'api' = "api",
|
|
15
|
+
'observability' = "observability",
|
|
16
|
+
'crm' = "crm",
|
|
17
|
+
'auth' = "auth",
|
|
18
|
+
'ai' = "ai"
|
|
19
|
+
}
|
|
20
|
+
export declare enum IntegrationType {
|
|
21
|
+
'built_in_db' = "built_in_db",
|
|
22
|
+
'mongo' = "mongo",
|
|
23
|
+
'mysql' = "mysql",
|
|
24
|
+
'mssql' = "mssql",
|
|
25
|
+
'postgres' = "postgres",
|
|
26
|
+
'cockroach' = "cockroach",
|
|
27
|
+
'api' = "api",
|
|
28
|
+
'graphql' = "graphql",
|
|
29
|
+
'snowflake' = "snowflake",
|
|
30
|
+
'datadog' = "datadog",
|
|
31
|
+
'newrelic' = "newrelic",
|
|
32
|
+
'auth0' = "auth0",
|
|
33
|
+
'jwt_rsa' = "jwt_rsa",
|
|
34
|
+
'jwt_hmac' = "jwt_hmac",
|
|
35
|
+
'ai_chatbot' = "ai_chatbot",
|
|
36
|
+
'cognito' = "cognito",
|
|
37
|
+
'okta' = "okta",
|
|
38
|
+
'algolia' = "algolia",
|
|
39
|
+
'elastic_observability' = "elastic_observability",
|
|
40
|
+
'elastic_search' = "elastic_search",
|
|
41
|
+
'elastic_enterprise_search' = "elastic_enterprise_search",
|
|
42
|
+
'sentry' = "sentry",
|
|
43
|
+
'sap_hana' = "sap_hana",
|
|
44
|
+
'salesforce_crm' = "salesforce_crm",
|
|
45
|
+
'documentdb' = "documentdb",
|
|
46
|
+
'dynamodb' = "dynamodb",
|
|
47
|
+
'cassandra' = "cassandra",
|
|
48
|
+
'clickhouse' = "clickhouse",
|
|
49
|
+
'alloydb' = "alloydb",
|
|
50
|
+
'spanner' = "spanner",
|
|
51
|
+
'db2' = "db2",
|
|
52
|
+
'mariadb' = "mariadb",
|
|
53
|
+
'oracledb' = "oracledb",
|
|
54
|
+
'pinot' = "pinot",
|
|
55
|
+
'redis' = "redis",
|
|
56
|
+
'xata' = "xata",
|
|
57
|
+
'azure_sql' = "azure_sql",
|
|
58
|
+
'azure_postgresql' = "azure_postgresql",
|
|
59
|
+
'azure_cosmosdb' = "azure_cosmosdb",
|
|
60
|
+
'firestore' = "firestore",
|
|
61
|
+
'bigquery' = "bigquery",
|
|
62
|
+
'cloudsql' = "cloudsql"
|
|
63
|
+
}
|
|
64
|
+
export declare enum IntegrationSchemaType {
|
|
65
|
+
'data' = "data",
|
|
66
|
+
'api' = "api",
|
|
67
|
+
'graphql' = "graphql"
|
|
68
|
+
}
|
|
69
|
+
export interface IntegrationConfigTypes {
|
|
70
|
+
[IntegrationType.built_in_db]: InternalIntegrationConfig;
|
|
71
|
+
[IntegrationType.mongo]: MongoIntegrationConfig;
|
|
72
|
+
[IntegrationType.mysql]: MySqlIntegrationConfig;
|
|
73
|
+
[IntegrationType.bigquery]: BigQueryIntegrationConfig;
|
|
74
|
+
[IntegrationType.oracledb]: OracleIntegrationConfig;
|
|
75
|
+
[IntegrationType.pinot]: PinotIntegrationConfig;
|
|
76
|
+
[IntegrationType.mssql]: MssqlIntegrationConfig;
|
|
77
|
+
[IntegrationType.postgres]: PostgresIntegrationConfig;
|
|
78
|
+
[IntegrationType.cockroach]: CockroachIntegrationConfig;
|
|
79
|
+
[IntegrationType.snowflake]: SnowflakeIntegrationConfig;
|
|
80
|
+
[IntegrationType.api]: HttpApiIntegrationConfig;
|
|
81
|
+
[IntegrationType.graphql]: GraphQLIntegrationConfig;
|
|
82
|
+
[IntegrationType.datadog]: DatadogIntegrationConfig;
|
|
83
|
+
[IntegrationType.newrelic]: NewRelicIntegrationConfig;
|
|
84
|
+
[IntegrationType.auth0]: Auth0IntegrationConfig;
|
|
85
|
+
[IntegrationType.jwt_rsa]: JwtRsaIntegrationConfig;
|
|
86
|
+
[IntegrationType.jwt_hmac]: JwtHmacIntegrationConfig;
|
|
87
|
+
[IntegrationType.ai_chatbot]: AiChatbotIntegrationConfig;
|
|
88
|
+
[IntegrationType.cognito]: CognitoIntegrationConfig;
|
|
89
|
+
[IntegrationType.okta]: OktaIntegrationConfig;
|
|
90
|
+
}
|
|
91
|
+
export interface IntegrationSchemaTypes {
|
|
92
|
+
[IntegrationType.built_in_db]: IntegrationDataSchema;
|
|
93
|
+
[IntegrationType.mongo]: IntegrationDataSchema;
|
|
94
|
+
[IntegrationType.mysql]: IntegrationDataSchema;
|
|
95
|
+
[IntegrationType.oracledb]: IntegrationDataSchema;
|
|
96
|
+
[IntegrationType.bigquery]: IntegrationDataSchema;
|
|
97
|
+
[IntegrationType.pinot]: IntegrationDataSchema;
|
|
98
|
+
[IntegrationType.mssql]: IntegrationDataSchema;
|
|
99
|
+
[IntegrationType.postgres]: IntegrationDataSchema;
|
|
100
|
+
[IntegrationType.cockroach]: IntegrationDataSchema;
|
|
101
|
+
[IntegrationType.snowflake]: IntegrationDataSchema;
|
|
102
|
+
[IntegrationType.api]: IntegrationApiSchema;
|
|
103
|
+
[IntegrationType.graphql]: IntegrationGraphQLSchema;
|
|
104
|
+
}
|
|
105
|
+
export type IntegrationTypeWithConfig = keyof IntegrationConfigTypes;
|
|
106
|
+
export type IntegrationSchemaKeys = keyof IntegrationSchemaTypes;
|
|
107
|
+
export type IntegrationConfig = IntegrationConfigTypes[IntegrationTypeWithConfig];
|
|
108
|
+
export type IntegrationSchema = IntegrationSchemaTypes[IntegrationSchemaKeys];
|
|
109
|
+
export declare const DatabaseIntegrationTypes: readonly [IntegrationType.built_in_db, IntegrationType.mongo, IntegrationType.mysql, IntegrationType.bigquery, IntegrationType.mssql, IntegrationType.postgres, IntegrationType.cockroach, IntegrationType.snowflake, IntegrationType.oracledb, IntegrationType.pinot];
|
|
110
|
+
export type DatabaseIntegrationType = (typeof DatabaseIntegrationTypes)[number];
|
|
111
|
+
export type DatabaseIntegrationConfig = IntegrationConfigTypes[DatabaseIntegrationType];
|
|
112
|
+
export declare const ApiIntegrationTypes: readonly [IntegrationType.api, IntegrationType.graphql];
|
|
113
|
+
export declare const ObservabilityIntegrationTypes: readonly [IntegrationType.datadog, IntegrationType.newrelic];
|
|
114
|
+
export declare const AuthIntegrationTypes: readonly [IntegrationType.auth0, IntegrationType.jwt_rsa, IntegrationType.jwt_hmac, IntegrationType.cognito, IntegrationType.okta];
|
|
115
|
+
export type ApiIntegrationType = (typeof ApiIntegrationTypes)[number];
|
|
116
|
+
export type ApiIntegrationConfig = IntegrationConfigTypes[ApiIntegrationType];
|
|
117
|
+
export type ObservabilityIntegrationType = (typeof ObservabilityIntegrationTypes)[number];
|
|
118
|
+
export type ObservabilityIntegrationConfig = IntegrationConfigTypes[ObservabilityIntegrationType];
|
|
119
|
+
export type AuthIntegrationType = (typeof AuthIntegrationTypes)[number];
|
|
120
|
+
export type AuthIntegrationConfig = IntegrationConfigTypes[AuthIntegrationType];
|
|
121
|
+
export declare function isDataIntegrationType(type: unknown): type is DatabaseIntegrationType;
|
|
122
|
+
export declare function isDataIntegration(integration: any): integration is BaseDatabaseIntegrationConfig;
|
|
123
|
+
export declare function isAuthIntegrationType(type: IntegrationType): type is AuthIntegrationType;
|
|
124
|
+
export declare function isAuthIntegration(integration: any): integration is AuthIntegrationConfig;
|
|
125
|
+
export interface BaseIntegrationConfig {
|
|
126
|
+
id: IntegrationId;
|
|
127
|
+
type: IntegrationTypeWithConfig;
|
|
128
|
+
creationDate: Date;
|
|
129
|
+
updateDate: Date;
|
|
130
|
+
}
|
|
131
|
+
export interface BaseIntegrationSchema {
|
|
132
|
+
type: IntegrationSchemaType;
|
|
133
|
+
}
|
|
134
|
+
export type TestConnectionRequest = TestDataConnectionRequest | TestGraphQLDataConnectionRequest;
|
|
@@ -1,120 +1,120 @@
|
|
|
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
|
-
exports.isAuthIntegration = exports.isAuthIntegrationType = exports.isDataIntegration = exports.isDataIntegrationType = exports.AuthIntegrationTypes = exports.ObservabilityIntegrationTypes = exports.ApiIntegrationTypes = exports.DatabaseIntegrationTypes = exports.IntegrationSchemaType = exports.IntegrationType = exports.IntegrationCategory = void 0;
|
|
18
|
-
__exportStar(require("./ai_chatbot.types"), exports);
|
|
19
|
-
__exportStar(require("./api.types"), exports);
|
|
20
|
-
__exportStar(require("./auth.types"), exports);
|
|
21
|
-
__exportStar(require("./database.types"), exports);
|
|
22
|
-
__exportStar(require("./observability.types"), exports);
|
|
23
|
-
var IntegrationCategory;
|
|
24
|
-
(function (IntegrationCategory) {
|
|
25
|
-
IntegrationCategory["database"] = "database";
|
|
26
|
-
IntegrationCategory["api"] = "api";
|
|
27
|
-
IntegrationCategory["observability"] = "observability";
|
|
28
|
-
IntegrationCategory["crm"] = "crm";
|
|
29
|
-
IntegrationCategory["auth"] = "auth";
|
|
30
|
-
IntegrationCategory["ai"] = "ai";
|
|
31
|
-
})(IntegrationCategory
|
|
32
|
-
var IntegrationType;
|
|
33
|
-
(function (IntegrationType) {
|
|
34
|
-
IntegrationType["built_in_db"] = "built_in_db";
|
|
35
|
-
IntegrationType["mongo"] = "mongo";
|
|
36
|
-
IntegrationType["mysql"] = "mysql";
|
|
37
|
-
IntegrationType["mssql"] = "mssql";
|
|
38
|
-
IntegrationType["postgres"] = "postgres";
|
|
39
|
-
IntegrationType["cockroach"] = "cockroach";
|
|
40
|
-
IntegrationType["api"] = "api";
|
|
41
|
-
IntegrationType["graphql"] = "graphql";
|
|
42
|
-
IntegrationType["snowflake"] = "snowflake";
|
|
43
|
-
IntegrationType["datadog"] = "datadog";
|
|
44
|
-
IntegrationType["newrelic"] = "newrelic";
|
|
45
|
-
IntegrationType["auth0"] = "auth0";
|
|
46
|
-
IntegrationType["jwt_rsa"] = "jwt_rsa";
|
|
47
|
-
IntegrationType["jwt_hmac"] = "jwt_hmac";
|
|
48
|
-
IntegrationType["ai_chatbot"] = "ai_chatbot";
|
|
49
|
-
IntegrationType["cognito"] = "cognito";
|
|
50
|
-
IntegrationType["okta"] = "okta";
|
|
51
|
-
IntegrationType["algolia"] = "algolia";
|
|
52
|
-
IntegrationType["elastic_observability"] = "elastic_observability";
|
|
53
|
-
IntegrationType["elastic_search"] = "elastic_search";
|
|
54
|
-
IntegrationType["elastic_enterprise_search"] = "elastic_enterprise_search";
|
|
55
|
-
IntegrationType["sentry"] = "sentry";
|
|
56
|
-
IntegrationType["sap_hana"] = "sap_hana";
|
|
57
|
-
IntegrationType["salesforce_crm"] = "salesforce_crm";
|
|
58
|
-
IntegrationType["documentdb"] = "documentdb";
|
|
59
|
-
IntegrationType["dynamodb"] = "dynamodb";
|
|
60
|
-
IntegrationType["cassandra"] = "cassandra";
|
|
61
|
-
IntegrationType["clickhouse"] = "clickhouse";
|
|
62
|
-
IntegrationType["alloydb"] = "alloydb";
|
|
63
|
-
IntegrationType["spanner"] = "spanner";
|
|
64
|
-
IntegrationType["db2"] = "db2";
|
|
65
|
-
IntegrationType["mariadb"] = "mariadb";
|
|
66
|
-
IntegrationType["oracledb"] = "oracledb";
|
|
67
|
-
IntegrationType["pinot"] = "pinot";
|
|
68
|
-
IntegrationType["redis"] = "redis";
|
|
69
|
-
IntegrationType["xata"] = "xata";
|
|
70
|
-
IntegrationType["azure_sql"] = "azure_sql";
|
|
71
|
-
IntegrationType["azure_postgresql"] = "azure_postgresql";
|
|
72
|
-
IntegrationType["azure_cosmosdb"] = "azure_cosmosdb";
|
|
73
|
-
IntegrationType["firestore"] = "firestore";
|
|
74
|
-
IntegrationType["bigquery"] = "bigquery";
|
|
75
|
-
IntegrationType["cloudsql"] = "cloudsql";
|
|
76
|
-
})(IntegrationType
|
|
77
|
-
var IntegrationSchemaType;
|
|
78
|
-
(function (IntegrationSchemaType) {
|
|
79
|
-
IntegrationSchemaType["data"] = "data";
|
|
80
|
-
IntegrationSchemaType["api"] = "api";
|
|
81
|
-
IntegrationSchemaType["graphql"] = "graphql";
|
|
82
|
-
})(IntegrationSchemaType
|
|
83
|
-
exports.DatabaseIntegrationTypes = [
|
|
84
|
-
IntegrationType.built_in_db,
|
|
85
|
-
IntegrationType.mongo,
|
|
86
|
-
IntegrationType.mysql,
|
|
87
|
-
IntegrationType.bigquery,
|
|
88
|
-
IntegrationType.mssql,
|
|
89
|
-
IntegrationType.postgres,
|
|
90
|
-
IntegrationType.cockroach,
|
|
91
|
-
IntegrationType.snowflake,
|
|
92
|
-
IntegrationType.oracledb,
|
|
93
|
-
IntegrationType.pinot,
|
|
94
|
-
];
|
|
95
|
-
exports.ApiIntegrationTypes = [IntegrationType.api, IntegrationType.graphql];
|
|
96
|
-
exports.ObservabilityIntegrationTypes = [IntegrationType.datadog, IntegrationType.newrelic];
|
|
97
|
-
exports.AuthIntegrationTypes = [
|
|
98
|
-
IntegrationType.auth0,
|
|
99
|
-
IntegrationType.jwt_rsa,
|
|
100
|
-
IntegrationType.jwt_hmac,
|
|
101
|
-
IntegrationType.cognito,
|
|
102
|
-
IntegrationType.okta,
|
|
103
|
-
];
|
|
104
|
-
function isDataIntegrationType(type) {
|
|
105
|
-
return exports.DatabaseIntegrationTypes.includes(type);
|
|
106
|
-
}
|
|
107
|
-
exports.isDataIntegrationType = isDataIntegrationType;
|
|
108
|
-
function isDataIntegration(integration) {
|
|
109
|
-
return isDataIntegrationType(integration.type);
|
|
110
|
-
}
|
|
111
|
-
exports.isDataIntegration = isDataIntegration;
|
|
112
|
-
function isAuthIntegrationType(type) {
|
|
113
|
-
return exports.AuthIntegrationTypes.includes(type);
|
|
114
|
-
}
|
|
115
|
-
exports.isAuthIntegrationType = isAuthIntegrationType;
|
|
116
|
-
function isAuthIntegration(integration) {
|
|
117
|
-
return isAuthIntegrationType(integration.type);
|
|
118
|
-
}
|
|
119
|
-
exports.isAuthIntegration = isAuthIntegration;
|
|
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
|
+
exports.isAuthIntegration = exports.isAuthIntegrationType = exports.isDataIntegration = exports.isDataIntegrationType = exports.AuthIntegrationTypes = exports.ObservabilityIntegrationTypes = exports.ApiIntegrationTypes = exports.DatabaseIntegrationTypes = exports.IntegrationSchemaType = exports.IntegrationType = exports.IntegrationCategory = void 0;
|
|
18
|
+
__exportStar(require("./ai_chatbot.types"), exports);
|
|
19
|
+
__exportStar(require("./api.types"), exports);
|
|
20
|
+
__exportStar(require("./auth.types"), exports);
|
|
21
|
+
__exportStar(require("./database.types"), exports);
|
|
22
|
+
__exportStar(require("./observability.types"), exports);
|
|
23
|
+
var IntegrationCategory;
|
|
24
|
+
(function (IntegrationCategory) {
|
|
25
|
+
IntegrationCategory["database"] = "database";
|
|
26
|
+
IntegrationCategory["api"] = "api";
|
|
27
|
+
IntegrationCategory["observability"] = "observability";
|
|
28
|
+
IntegrationCategory["crm"] = "crm";
|
|
29
|
+
IntegrationCategory["auth"] = "auth";
|
|
30
|
+
IntegrationCategory["ai"] = "ai";
|
|
31
|
+
})(IntegrationCategory || (exports.IntegrationCategory = IntegrationCategory = {}));
|
|
32
|
+
var IntegrationType;
|
|
33
|
+
(function (IntegrationType) {
|
|
34
|
+
IntegrationType["built_in_db"] = "built_in_db";
|
|
35
|
+
IntegrationType["mongo"] = "mongo";
|
|
36
|
+
IntegrationType["mysql"] = "mysql";
|
|
37
|
+
IntegrationType["mssql"] = "mssql";
|
|
38
|
+
IntegrationType["postgres"] = "postgres";
|
|
39
|
+
IntegrationType["cockroach"] = "cockroach";
|
|
40
|
+
IntegrationType["api"] = "api";
|
|
41
|
+
IntegrationType["graphql"] = "graphql";
|
|
42
|
+
IntegrationType["snowflake"] = "snowflake";
|
|
43
|
+
IntegrationType["datadog"] = "datadog";
|
|
44
|
+
IntegrationType["newrelic"] = "newrelic";
|
|
45
|
+
IntegrationType["auth0"] = "auth0";
|
|
46
|
+
IntegrationType["jwt_rsa"] = "jwt_rsa";
|
|
47
|
+
IntegrationType["jwt_hmac"] = "jwt_hmac";
|
|
48
|
+
IntegrationType["ai_chatbot"] = "ai_chatbot";
|
|
49
|
+
IntegrationType["cognito"] = "cognito";
|
|
50
|
+
IntegrationType["okta"] = "okta";
|
|
51
|
+
IntegrationType["algolia"] = "algolia";
|
|
52
|
+
IntegrationType["elastic_observability"] = "elastic_observability";
|
|
53
|
+
IntegrationType["elastic_search"] = "elastic_search";
|
|
54
|
+
IntegrationType["elastic_enterprise_search"] = "elastic_enterprise_search";
|
|
55
|
+
IntegrationType["sentry"] = "sentry";
|
|
56
|
+
IntegrationType["sap_hana"] = "sap_hana";
|
|
57
|
+
IntegrationType["salesforce_crm"] = "salesforce_crm";
|
|
58
|
+
IntegrationType["documentdb"] = "documentdb";
|
|
59
|
+
IntegrationType["dynamodb"] = "dynamodb";
|
|
60
|
+
IntegrationType["cassandra"] = "cassandra";
|
|
61
|
+
IntegrationType["clickhouse"] = "clickhouse";
|
|
62
|
+
IntegrationType["alloydb"] = "alloydb";
|
|
63
|
+
IntegrationType["spanner"] = "spanner";
|
|
64
|
+
IntegrationType["db2"] = "db2";
|
|
65
|
+
IntegrationType["mariadb"] = "mariadb";
|
|
66
|
+
IntegrationType["oracledb"] = "oracledb";
|
|
67
|
+
IntegrationType["pinot"] = "pinot";
|
|
68
|
+
IntegrationType["redis"] = "redis";
|
|
69
|
+
IntegrationType["xata"] = "xata";
|
|
70
|
+
IntegrationType["azure_sql"] = "azure_sql";
|
|
71
|
+
IntegrationType["azure_postgresql"] = "azure_postgresql";
|
|
72
|
+
IntegrationType["azure_cosmosdb"] = "azure_cosmosdb";
|
|
73
|
+
IntegrationType["firestore"] = "firestore";
|
|
74
|
+
IntegrationType["bigquery"] = "bigquery";
|
|
75
|
+
IntegrationType["cloudsql"] = "cloudsql";
|
|
76
|
+
})(IntegrationType || (exports.IntegrationType = IntegrationType = {}));
|
|
77
|
+
var IntegrationSchemaType;
|
|
78
|
+
(function (IntegrationSchemaType) {
|
|
79
|
+
IntegrationSchemaType["data"] = "data";
|
|
80
|
+
IntegrationSchemaType["api"] = "api";
|
|
81
|
+
IntegrationSchemaType["graphql"] = "graphql";
|
|
82
|
+
})(IntegrationSchemaType || (exports.IntegrationSchemaType = IntegrationSchemaType = {}));
|
|
83
|
+
exports.DatabaseIntegrationTypes = [
|
|
84
|
+
IntegrationType.built_in_db,
|
|
85
|
+
IntegrationType.mongo,
|
|
86
|
+
IntegrationType.mysql,
|
|
87
|
+
IntegrationType.bigquery,
|
|
88
|
+
IntegrationType.mssql,
|
|
89
|
+
IntegrationType.postgres,
|
|
90
|
+
IntegrationType.cockroach,
|
|
91
|
+
IntegrationType.snowflake,
|
|
92
|
+
IntegrationType.oracledb,
|
|
93
|
+
IntegrationType.pinot,
|
|
94
|
+
];
|
|
95
|
+
exports.ApiIntegrationTypes = [IntegrationType.api, IntegrationType.graphql];
|
|
96
|
+
exports.ObservabilityIntegrationTypes = [IntegrationType.datadog, IntegrationType.newrelic];
|
|
97
|
+
exports.AuthIntegrationTypes = [
|
|
98
|
+
IntegrationType.auth0,
|
|
99
|
+
IntegrationType.jwt_rsa,
|
|
100
|
+
IntegrationType.jwt_hmac,
|
|
101
|
+
IntegrationType.cognito,
|
|
102
|
+
IntegrationType.okta,
|
|
103
|
+
];
|
|
104
|
+
function isDataIntegrationType(type) {
|
|
105
|
+
return exports.DatabaseIntegrationTypes.includes(type);
|
|
106
|
+
}
|
|
107
|
+
exports.isDataIntegrationType = isDataIntegrationType;
|
|
108
|
+
function isDataIntegration(integration) {
|
|
109
|
+
return isDataIntegrationType(integration.type);
|
|
110
|
+
}
|
|
111
|
+
exports.isDataIntegration = isDataIntegration;
|
|
112
|
+
function isAuthIntegrationType(type) {
|
|
113
|
+
return exports.AuthIntegrationTypes.includes(type);
|
|
114
|
+
}
|
|
115
|
+
exports.isAuthIntegrationType = isAuthIntegrationType;
|
|
116
|
+
function isAuthIntegration(integration) {
|
|
117
|
+
return isAuthIntegrationType(integration.type);
|
|
118
|
+
}
|
|
119
|
+
exports.isAuthIntegration = isAuthIntegration;
|
|
120
120
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../common/src/integrations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,qDAAmC;AACnC,8CAA4B;AAC5B,+CAA6B;AAC7B,mDAAiC;AACjC,wDAAsC;AAmCtC,IAAY,mBAOX;AAPD,WAAY,mBAAmB;IAC7B,4CAAuB,CAAA;IACvB,kCAAa,CAAA;IACb,sDAAiC,CAAA;IACjC,kCAAa,CAAA;IACb,oCAAe,CAAA;IACf,gCAAW,CAAA;AACb,CAAC,EAPW,mBAAmB,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../common/src/integrations/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
import { BaseIntegrationConfig, IntegrationType } from './index';
|
|
2
|
-
export interface DatadogIntegrationConfig extends BaseIntegrationConfig {
|
|
3
|
-
type: IntegrationType.datadog;
|
|
4
|
-
configuration: DatadogIntegrationConfiguration;
|
|
5
|
-
}
|
|
6
|
-
export interface DatadogIntegrationConfiguration {
|
|
7
|
-
apiKey: string;
|
|
8
|
-
appKey: string;
|
|
9
|
-
datadogRegion: DatadogRegion;
|
|
10
|
-
}
|
|
11
|
-
export type DatadogRegion = 'us1' | 'us3' | 'us5' | 'eu1' | 'us1-fed' | 'ap1';
|
|
12
|
-
export interface NewRelicIntegrationConfig extends BaseIntegrationConfig {
|
|
13
|
-
type: IntegrationType.newrelic;
|
|
14
|
-
configuration: NewRelicIntegrationConfiguration;
|
|
15
|
-
}
|
|
16
|
-
export declare const datadogRegionMap: Record<DatadogRegion, string>;
|
|
17
|
-
export declare const datadogLogsUrlMap: Record<DatadogRegion, string>;
|
|
18
|
-
export type NewRelicRegion = 'worldwide' | 'eu';
|
|
19
|
-
export interface NewRelicIntegrationConfiguration {
|
|
20
|
-
apiKey: string;
|
|
21
|
-
newRelicRegion: NewRelicRegion;
|
|
22
|
-
}
|
|
23
|
-
export declare const newRelicRegionMap: Record<NewRelicRegion, string>;
|
|
1
|
+
import { BaseIntegrationConfig, IntegrationType } from './index';
|
|
2
|
+
export interface DatadogIntegrationConfig extends BaseIntegrationConfig {
|
|
3
|
+
type: IntegrationType.datadog;
|
|
4
|
+
configuration: DatadogIntegrationConfiguration;
|
|
5
|
+
}
|
|
6
|
+
export interface DatadogIntegrationConfiguration {
|
|
7
|
+
apiKey: string;
|
|
8
|
+
appKey: string;
|
|
9
|
+
datadogRegion: DatadogRegion;
|
|
10
|
+
}
|
|
11
|
+
export type DatadogRegion = 'us1' | 'us3' | 'us5' | 'eu1' | 'us1-fed' | 'ap1';
|
|
12
|
+
export interface NewRelicIntegrationConfig extends BaseIntegrationConfig {
|
|
13
|
+
type: IntegrationType.newrelic;
|
|
14
|
+
configuration: NewRelicIntegrationConfiguration;
|
|
15
|
+
}
|
|
16
|
+
export declare const datadogRegionMap: Record<DatadogRegion, string>;
|
|
17
|
+
export declare const datadogLogsUrlMap: Record<DatadogRegion, string>;
|
|
18
|
+
export type NewRelicRegion = 'worldwide' | 'eu';
|
|
19
|
+
export interface NewRelicIntegrationConfiguration {
|
|
20
|
+
apiKey: string;
|
|
21
|
+
newRelicRegion: NewRelicRegion;
|
|
22
|
+
}
|
|
23
|
+
export declare const newRelicRegionMap: Record<NewRelicRegion, string>;
|
|
@@ -1,24 +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
|
-
};
|
|
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
24
|
//# sourceMappingURL=observability.types.js.map
|