@squidcloud/local-backend 1.0.67 → 1.0.69
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.context.d.ts +13 -13
- package/dist/common/src/ai-assistant.context.js +19 -19
- package/dist/common/src/ai-assistant.schemas.d.ts +243 -243
- package/dist/common/src/ai-assistant.schemas.js +210 -210
- package/dist/common/src/ai-assistant.types.d.ts +85 -90
- package/dist/common/src/ai-assistant.types.js +11 -11
- package/dist/common/src/ai-assistant.types.js.map +1 -1
- 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 +23 -23
- package/dist/common/src/api.types.js +2 -2
- package/dist/common/src/application.schemas.d.ts +1312 -1312
- package/dist/common/src/application.schemas.js +860 -860
- package/dist/common/src/application.types.d.ts +186 -186
- package/dist/common/src/application.types.js +89 -89
- package/dist/common/src/backend-function.schemas.d.ts +3 -3
- package/dist/common/src/backend-function.schemas.js +12 -12
- package/dist/common/src/backend-function.types.d.ts +6 -6
- 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 +96 -96
- package/dist/common/src/bundle-api.types.d.ts +63 -63
- package/dist/common/src/bundle-api.types.js +2 -2
- package/dist/common/src/bundle-data.types.d.ts +59 -59
- package/dist/common/src/bundle-data.types.js +2 -2
- package/dist/common/src/communication.types.d.ts +18 -18
- package/dist/common/src/communication.types.js +40 -40
- 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 +5 -5
- package/dist/common/src/distributed-lock.context.js +10 -10
- 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/index.d.ts +55 -55
- package/dist/common/src/index.js +71 -71
- package/dist/common/src/integrations/ai_assistant.types.d.ts +26 -24
- package/dist/common/src/integrations/ai_assistant.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 +231 -231
- package/dist/common/src/integrations/database.types.js +2 -2
- package/dist/common/src/integrations/index.d.ts +126 -124
- package/dist/common/src/integrations/index.js +113 -111
- 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/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/named-query.context.d.ts +4 -4
- package/dist/common/src/named-query.context.js +9 -9
- package/dist/common/src/named-query.schemas.d.ts +3 -3
- package/dist/common/src/named-query.schemas.js +13 -13
- package/dist/common/src/named-query.types.d.ts +8 -8
- package/dist/common/src/named-query.types.js +2 -2
- package/dist/common/src/query/base-query-builder.d.ts +37 -37
- package/dist/common/src/query/base-query-builder.js +36 -36
- 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 +42 -42
- package/dist/common/src/query/pagination.js +164 -164
- 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 +153 -153
- 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 +172 -172
- package/dist/common/src/secret.schemas.d.ts +6 -6
- package/dist/common/src/secret.schemas.js +38 -38
- package/dist/common/src/secret.types.d.ts +49 -49
- 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 +58 -58
- package/dist/common/src/socket.types.d.ts +112 -112
- package/dist/common/src/socket.types.js +2 -2
- package/dist/common/src/time-units.d.ts +5 -5
- package/dist/common/src/time-units.js +8 -8
- 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 +8 -8
- package/dist/common/src/utils/assert.js +49 -49
- 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 -10
- package/dist/common/src/utils/global.utils.js +50 -46
- package/dist/common/src/utils/global.utils.js.map +1 -1
- package/dist/common/src/utils/http.d.ts +2 -2
- package/dist/common/src/utils/http.js +41 -41
- 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/nullish.d.ts +2 -2
- package/dist/common/src/utils/nullish.js +11 -11
- 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 +6 -6
- package/dist/common/src/utils/serialization.js +77 -77
- package/dist/common/src/utils/transforms.d.ts +18 -18
- package/dist/common/src/utils/transforms.js +92 -92
- 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 +209 -209
- 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 +76 -76
- package/dist/internal-common/src/async-queue.d.ts +4 -4
- package/dist/internal-common/src/async-queue.js +17 -17
- 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/dao.types.d.ts +46 -46
- package/dist/internal-common/src/dao.types.js +2 -2
- package/dist/internal-common/src/environment/environment.types.d.ts +74 -74
- package/dist/internal-common/src/environment/environment.types.js +2 -2
- package/dist/internal-common/src/environment/index.d.ts +6 -6
- package/dist/internal-common/src/environment/index.js +27 -27
- package/dist/internal-common/src/environment/local.environment.d.ts +2 -2
- package/dist/internal-common/src/environment/local.environment.js +62 -62
- package/dist/internal-common/src/filters/custom-exception.filter.d.ts +6 -6
- package/dist/internal-common/src/filters/custom-exception.filter.js +44 -44
- package/dist/internal-common/src/index.d.ts +14 -14
- package/dist/internal-common/src/index.js +32 -32
- package/dist/internal-common/src/interceptors/body.interceptor.d.ts +5 -5
- package/dist/internal-common/src/interceptors/body.interceptor.js +24 -24
- package/dist/internal-common/src/kafka/kafka.manager.d.ts +22 -22
- package/dist/internal-common/src/kafka/kafka.manager.js +129 -129
- package/dist/internal-common/src/kafka/kafka.types.d.ts +17 -17
- package/dist/internal-common/src/kafka/kafka.types.js +2 -2
- package/dist/internal-common/src/kafka-observability-publisher.d.ts +11 -11
- package/dist/internal-common/src/kafka-observability-publisher.js +20 -20
- 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/internal-common/src/observability-publisher.d.ts +9 -9
- package/dist/internal-common/src/observability-publisher.js +58 -58
- package/dist/internal-common/src/observability.types.d.ts +17 -17
- package/dist/internal-common/src/observability.types.js +2 -2
- package/dist/internal-common/src/shutdown.manager.d.ts +20 -20
- package/dist/internal-common/src/shutdown.manager.js +75 -75
- package/dist/internal-common/src/utils.d.ts +5 -5
- package/dist/internal-common/src/utils.js +29 -29
- package/dist/local-backend/src/index.d.ts +4 -4
- package/dist/local-backend/src/index.js +20 -20
- package/dist/local-backend/src/local-backend-socket.service.d.ts +19 -19
- package/dist/local-backend/src/local-backend-socket.service.js +110 -110
- 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 +49 -49
- package/dist/local-backend/src/local-backend.module.d.ts +8 -8
- package/dist/local-backend/src/local-backend.module.js +53 -53
- package/dist/local-backend/src/local-backend.service.d.ts +15 -15
- package/dist/local-backend/src/local-backend.service.js +170 -165
- package/dist/local-backend/src/local-backend.service.js.map +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/package.json +1 -1
|
@@ -1,124 +1,126 @@
|
|
|
1
|
-
export * from './ai_assistant.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 { AiAssistantIntegrationConfig } from './ai_assistant.types';
|
|
8
|
-
import { GraphQLIntegrationConfig, HttpApiIntegrationConfig, IntegrationApiSchema, IntegrationGraphQLSchema, TestGraphQLDataConnectionRequest } from './api.types';
|
|
9
|
-
import { Auth0IntegrationConfig, CognitoIntegrationConfig, JwtHmacIntegrationConfig, JwtRsaIntegrationConfig, OktaIntegrationConfig } from './auth.types';
|
|
10
|
-
import { BaseDatabaseIntegrationConfig, CockroachIntegrationConfig, IntegrationDataSchema, InternalIntegrationConfig, MongoIntegrationConfig, MssqlIntegrationConfig, MySqlIntegrationConfig, OracleIntegrationConfig, 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_assistant' = "ai_assistant",
|
|
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
|
-
'redis' = "redis",
|
|
55
|
-
'xata' = "xata",
|
|
56
|
-
'azure_sql' = "azure_sql"
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
'
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
[IntegrationType.
|
|
67
|
-
[IntegrationType.
|
|
68
|
-
[IntegrationType.
|
|
69
|
-
[IntegrationType.
|
|
70
|
-
[IntegrationType.
|
|
71
|
-
[IntegrationType.
|
|
72
|
-
[IntegrationType.
|
|
73
|
-
[IntegrationType.
|
|
74
|
-
[IntegrationType.
|
|
75
|
-
[IntegrationType.
|
|
76
|
-
[IntegrationType.
|
|
77
|
-
[IntegrationType.
|
|
78
|
-
[IntegrationType.
|
|
79
|
-
[IntegrationType.
|
|
80
|
-
[IntegrationType.
|
|
81
|
-
[IntegrationType.
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
[IntegrationType.
|
|
87
|
-
[IntegrationType.
|
|
88
|
-
[IntegrationType.
|
|
89
|
-
[IntegrationType.
|
|
90
|
-
[IntegrationType.
|
|
91
|
-
[IntegrationType.
|
|
92
|
-
[IntegrationType.
|
|
93
|
-
[IntegrationType.
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
export type
|
|
98
|
-
export type
|
|
99
|
-
export
|
|
100
|
-
export type
|
|
101
|
-
export
|
|
102
|
-
export
|
|
103
|
-
export
|
|
104
|
-
export declare const
|
|
105
|
-
export
|
|
106
|
-
export
|
|
107
|
-
export type
|
|
108
|
-
export type
|
|
109
|
-
export type
|
|
110
|
-
export type
|
|
111
|
-
export
|
|
112
|
-
export
|
|
113
|
-
export declare function
|
|
114
|
-
export declare function
|
|
115
|
-
export
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
1
|
+
export * from './ai_assistant.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 { AiAssistantIntegrationConfig } from './ai_assistant.types';
|
|
8
|
+
import { GraphQLIntegrationConfig, HttpApiIntegrationConfig, IntegrationApiSchema, IntegrationGraphQLSchema, TestGraphQLDataConnectionRequest } from './api.types';
|
|
9
|
+
import { Auth0IntegrationConfig, CognitoIntegrationConfig, JwtHmacIntegrationConfig, JwtRsaIntegrationConfig, OktaIntegrationConfig } from './auth.types';
|
|
10
|
+
import { BaseDatabaseIntegrationConfig, CockroachIntegrationConfig, IntegrationDataSchema, InternalIntegrationConfig, MongoIntegrationConfig, MssqlIntegrationConfig, MySqlIntegrationConfig, OracleIntegrationConfig, 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_assistant' = "ai_assistant",
|
|
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
|
+
'redis' = "redis",
|
|
55
|
+
'xata' = "xata",
|
|
56
|
+
'azure_sql' = "azure_sql",
|
|
57
|
+
'azure_postgresql' = "azure_postgresql",
|
|
58
|
+
'azure_cosmosdb' = "azure_cosmosdb"
|
|
59
|
+
}
|
|
60
|
+
export declare enum IntegrationSchemaType {
|
|
61
|
+
'data' = "data",
|
|
62
|
+
'api' = "api",
|
|
63
|
+
'graphql' = "graphql"
|
|
64
|
+
}
|
|
65
|
+
export interface IntegrationConfigTypes {
|
|
66
|
+
[IntegrationType.built_in_db]: InternalIntegrationConfig;
|
|
67
|
+
[IntegrationType.mongo]: MongoIntegrationConfig;
|
|
68
|
+
[IntegrationType.mysql]: MySqlIntegrationConfig;
|
|
69
|
+
[IntegrationType.oracledb]: OracleIntegrationConfig;
|
|
70
|
+
[IntegrationType.mssql]: MssqlIntegrationConfig;
|
|
71
|
+
[IntegrationType.postgres]: PostgresIntegrationConfig;
|
|
72
|
+
[IntegrationType.cockroach]: CockroachIntegrationConfig;
|
|
73
|
+
[IntegrationType.snowflake]: SnowflakeIntegrationConfig;
|
|
74
|
+
[IntegrationType.api]: HttpApiIntegrationConfig;
|
|
75
|
+
[IntegrationType.graphql]: GraphQLIntegrationConfig;
|
|
76
|
+
[IntegrationType.datadog]: DatadogIntegrationConfig;
|
|
77
|
+
[IntegrationType.newrelic]: NewRelicIntegrationConfig;
|
|
78
|
+
[IntegrationType.auth0]: Auth0IntegrationConfig;
|
|
79
|
+
[IntegrationType.jwt_rsa]: JwtRsaIntegrationConfig;
|
|
80
|
+
[IntegrationType.jwt_hmac]: JwtHmacIntegrationConfig;
|
|
81
|
+
[IntegrationType.ai_assistant]: AiAssistantIntegrationConfig;
|
|
82
|
+
[IntegrationType.cognito]: CognitoIntegrationConfig;
|
|
83
|
+
[IntegrationType.okta]: OktaIntegrationConfig;
|
|
84
|
+
}
|
|
85
|
+
export interface IntegrationSchemaTypes {
|
|
86
|
+
[IntegrationType.built_in_db]: IntegrationDataSchema;
|
|
87
|
+
[IntegrationType.mongo]: IntegrationDataSchema;
|
|
88
|
+
[IntegrationType.mysql]: IntegrationDataSchema;
|
|
89
|
+
[IntegrationType.oracledb]: IntegrationDataSchema;
|
|
90
|
+
[IntegrationType.mssql]: IntegrationDataSchema;
|
|
91
|
+
[IntegrationType.postgres]: IntegrationDataSchema;
|
|
92
|
+
[IntegrationType.cockroach]: IntegrationDataSchema;
|
|
93
|
+
[IntegrationType.snowflake]: IntegrationDataSchema;
|
|
94
|
+
[IntegrationType.api]: IntegrationApiSchema;
|
|
95
|
+
[IntegrationType.graphql]: IntegrationGraphQLSchema;
|
|
96
|
+
}
|
|
97
|
+
export type IntegrationTypeWithConfig = keyof IntegrationConfigTypes;
|
|
98
|
+
export type IntegrationSchemaKeys = keyof IntegrationSchemaTypes;
|
|
99
|
+
export type IntegrationConfig = IntegrationConfigTypes[IntegrationTypeWithConfig];
|
|
100
|
+
export type IntegrationSchema = IntegrationSchemaTypes[IntegrationSchemaKeys];
|
|
101
|
+
export declare const DatabaseIntegrationTypes: readonly [IntegrationType.built_in_db, IntegrationType.mongo, IntegrationType.mysql, IntegrationType.mssql, IntegrationType.postgres, IntegrationType.cockroach, IntegrationType.snowflake, IntegrationType.oracledb];
|
|
102
|
+
export type DatabaseIntegrationType = (typeof DatabaseIntegrationTypes)[number];
|
|
103
|
+
export type DatabaseIntegrationConfig = IntegrationConfigTypes[DatabaseIntegrationType];
|
|
104
|
+
export declare const ApiIntegrationTypes: readonly [IntegrationType.api, IntegrationType.graphql];
|
|
105
|
+
export declare const ObservabilityIntegrationTypes: readonly [IntegrationType.datadog, IntegrationType.newrelic];
|
|
106
|
+
export declare const AuthIntegrationTypes: readonly [IntegrationType.auth0, IntegrationType.jwt_rsa, IntegrationType.jwt_hmac, IntegrationType.cognito, IntegrationType.okta];
|
|
107
|
+
export type ApiIntegrationType = (typeof ApiIntegrationTypes)[number];
|
|
108
|
+
export type ApiIntegrationConfig = IntegrationConfigTypes[ApiIntegrationType];
|
|
109
|
+
export type ObservabilityIntegrationType = (typeof ObservabilityIntegrationTypes)[number];
|
|
110
|
+
export type ObservabilityIntegrationConfig = IntegrationConfigTypes[ObservabilityIntegrationType];
|
|
111
|
+
export type AuthIntegrationType = (typeof AuthIntegrationTypes)[number];
|
|
112
|
+
export type AuthIntegrationConfig = IntegrationConfigTypes[AuthIntegrationType];
|
|
113
|
+
export declare function isDataIntegrationType(type: IntegrationType): type is DatabaseIntegrationType;
|
|
114
|
+
export declare function isDataIntegration(integration: any): integration is BaseDatabaseIntegrationConfig;
|
|
115
|
+
export declare function isAuthIntegrationType(type: IntegrationType): type is AuthIntegrationType;
|
|
116
|
+
export declare function isAuthIntegration(integration: any): integration is AuthIntegrationConfig;
|
|
117
|
+
export interface BaseIntegrationConfig {
|
|
118
|
+
id: IntegrationId;
|
|
119
|
+
type: IntegrationTypeWithConfig;
|
|
120
|
+
creationDate: Date;
|
|
121
|
+
updateDate: Date;
|
|
122
|
+
}
|
|
123
|
+
export interface BaseIntegrationSchema {
|
|
124
|
+
type: IntegrationSchemaType;
|
|
125
|
+
}
|
|
126
|
+
export type TestConnectionRequest = TestDataConnectionRequest | TestGraphQLDataConnectionRequest;
|
|
@@ -1,112 +1,114 @@
|
|
|
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_assistant.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 || (exports.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_assistant"] = "ai_assistant";
|
|
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["redis"] = "redis";
|
|
68
|
-
IntegrationType["xata"] = "xata";
|
|
69
|
-
IntegrationType["azure_sql"] = "azure_sql";
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
(
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
IntegrationSchemaType["
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
IntegrationType.
|
|
81
|
-
IntegrationType.
|
|
82
|
-
IntegrationType.
|
|
83
|
-
IntegrationType.
|
|
84
|
-
IntegrationType.
|
|
85
|
-
IntegrationType.
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
exports.
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
IntegrationType.
|
|
93
|
-
IntegrationType.
|
|
94
|
-
IntegrationType.
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
exports.
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
exports.
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
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_assistant.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 || (exports.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_assistant"] = "ai_assistant";
|
|
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["redis"] = "redis";
|
|
68
|
+
IntegrationType["xata"] = "xata";
|
|
69
|
+
IntegrationType["azure_sql"] = "azure_sql";
|
|
70
|
+
IntegrationType["azure_postgresql"] = "azure_postgresql";
|
|
71
|
+
IntegrationType["azure_cosmosdb"] = "azure_cosmosdb";
|
|
72
|
+
})(IntegrationType = exports.IntegrationType || (exports.IntegrationType = {}));
|
|
73
|
+
var IntegrationSchemaType;
|
|
74
|
+
(function (IntegrationSchemaType) {
|
|
75
|
+
IntegrationSchemaType["data"] = "data";
|
|
76
|
+
IntegrationSchemaType["api"] = "api";
|
|
77
|
+
IntegrationSchemaType["graphql"] = "graphql";
|
|
78
|
+
})(IntegrationSchemaType = exports.IntegrationSchemaType || (exports.IntegrationSchemaType = {}));
|
|
79
|
+
exports.DatabaseIntegrationTypes = [
|
|
80
|
+
IntegrationType.built_in_db,
|
|
81
|
+
IntegrationType.mongo,
|
|
82
|
+
IntegrationType.mysql,
|
|
83
|
+
IntegrationType.mssql,
|
|
84
|
+
IntegrationType.postgres,
|
|
85
|
+
IntegrationType.cockroach,
|
|
86
|
+
IntegrationType.snowflake,
|
|
87
|
+
IntegrationType.oracledb,
|
|
88
|
+
];
|
|
89
|
+
exports.ApiIntegrationTypes = [IntegrationType.api, IntegrationType.graphql];
|
|
90
|
+
exports.ObservabilityIntegrationTypes = [IntegrationType.datadog, IntegrationType.newrelic];
|
|
91
|
+
exports.AuthIntegrationTypes = [
|
|
92
|
+
IntegrationType.auth0,
|
|
93
|
+
IntegrationType.jwt_rsa,
|
|
94
|
+
IntegrationType.jwt_hmac,
|
|
95
|
+
IntegrationType.cognito,
|
|
96
|
+
IntegrationType.okta,
|
|
97
|
+
];
|
|
98
|
+
function isDataIntegrationType(type) {
|
|
99
|
+
return exports.DatabaseIntegrationTypes.includes(type);
|
|
100
|
+
}
|
|
101
|
+
exports.isDataIntegrationType = isDataIntegrationType;
|
|
102
|
+
function isDataIntegration(integration) {
|
|
103
|
+
return isDataIntegrationType(integration.type);
|
|
104
|
+
}
|
|
105
|
+
exports.isDataIntegration = isDataIntegration;
|
|
106
|
+
function isAuthIntegrationType(type) {
|
|
107
|
+
return exports.AuthIntegrationTypes.includes(type);
|
|
108
|
+
}
|
|
109
|
+
exports.isAuthIntegrationType = isAuthIntegrationType;
|
|
110
|
+
function isAuthIntegration(integration) {
|
|
111
|
+
return isAuthIntegrationType(integration.type);
|
|
112
|
+
}
|
|
113
|
+
exports.isAuthIntegration = isAuthIntegration;
|
|
112
114
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../common/src/integrations/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,uDAAqC;AACrC,8CAA4B;AAC5B,+CAA6B;AAC7B,mDAAiC;AACjC,wDAAsC;AAiCtC,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,GAAnB,2BAAmB,KAAnB,2BAAmB,QAO9B;AAED,IAAY,
|
|
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
|