@squidcloud/local-backend 1.0.303 → 1.0.304

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.
@@ -1,6 +1,6 @@
1
1
  import { FunctionName, FunctionNameWithContext } from './bundle-data.public-types';
2
2
  import { IntegrationId } from './communication.public-types';
3
- import { AiChatPromptQuotas, AiConnectedAgentMetadata } from '../types/ai-chatbot.types';
3
+ import { AiChatPromptQuotas, AiConnectedAgentMetadata, AiConnectedIntegrationMetadata } from '../types/ai-chatbot.types';
4
4
  export declare const OPENAI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "o1", "o1-mini"];
5
5
  export declare const GEMINI_CHAT_MODEL_NAMES: readonly ["gemini-1.5-pro", "gemini-1.5-flash"];
6
6
  export declare const ANTHROPIC_CHAT_MODEL_NAMES: readonly ["claude-3-5-haiku-latest", "claude-3-5-sonnet-latest"];
@@ -115,6 +115,7 @@ export interface AiChatbotChatOptions {
115
115
  contextMetadataFilter?: AiContextMetadataFilter;
116
116
  voiceOptions?: AiAudioCreateSpeechOptions;
117
117
  connectedAgents?: Array<AiConnectedAgentMetadata>;
118
+ connectedIntegrations?: Array<AiConnectedIntegrationMetadata>;
118
119
  quotas?: AiChatPromptQuotas;
119
120
  }
120
121
  export interface AiAskResponse {
@@ -1 +1 @@
1
- {"version":3,"file":"ai-chatbot.public-types.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/ai-chatbot.public-types.ts"],"names":[],"mappings":";;;AA8XA,8DAgBC;AAGD,0EAkCC;AA9aY,QAAA,uBAAuB,GAAG,CAAC,QAAQ,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,CAAU,CAAC;AAE9E,QAAA,uBAAuB,GAAG,CAAC,gBAAgB,EAAE,kBAAkB,CAAU,CAAC;AAE1E,QAAA,0BAA0B,GAAG,CAAC,yBAAyB,EAAE,0BAA0B,CAAU,CAAC;AAG9F,QAAA,mBAAmB,GAAG;IACjC,GA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,GAAG,CAAC,EAAE,CAAC;gBACjC,MAAM,IAAI,KAAK,CAAC,+BAA+B,GAAG,uDAAuD,CAAC,CAAC;YAC7G,CAAC;YAED,IAAI,sBAAsB,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;gBACzC,MAAM,IAAI,KAAK,CACb,+BAA+B,GAAG,gDAAgD,sBAAsB,CAAC,IAAI,CAC3G,IAAI,CACL,EAAE,CACJ,CAAC;YACJ,CAAC;YACD,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;YAC1B,IACE,OAAO,KAAK,KAAK,QAAQ;gBACzB,OAAO,KAAK,KAAK,QAAQ;gBACzB,OAAO,KAAK,KAAK,QAAQ;gBACzB,OAAO,KAAK,KAAK,SAAS,EAC1B,CAAC;gBACD,MAAM,IAAI,KAAK,CAAC,yCAAyC,GAAG,wBAAwB,OAAO,KAAK,EAAE,CAAC,CAAC;YACtG,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC;AAED,SAAS,WAAW,CAAC,MAA+B;IAClD,OAAO,MAAM,IAAI,MAAM,CAAC;AAC1B,CAAC;AAED,SAAS,UAAU,CAAC,MAA+B;IACjD,OAAO,KAAK,IAAI,MAAM,CAAC;AACzB,CAAC"}
1
+ {"version":3,"file":"ai-chatbot.public-types.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/ai-chatbot.public-types.ts"],"names":[],"mappings":";;;AAqYA,8DAgBC;AAGD,0EAkCC;AAjbY,QAAA,uBAAuB,GAAG,CAAC,QAAQ,EAAE,aAAa,EAAE,IAAI,EAAE,SAAS,CAAU,CAAC;AAE9E,QAAA,uBAAuB,GAAG,CAAC,gBAAgB,EAAE,kBAAkB,CAAU,CAAC;AAE1E,QAAA,0BAA0B,GAAG,CAAC,yBAAyB,EAAE,0BAA0B,CAAU,CAAC;AAG9F,QAAA,mBAAmB,GAAG;IACjC,GAAG,+BAAuB;IAC1B,GAAG,kCAA0B;IAC7B,GAAG,+BAAuB;CAClB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A+B,GAAG,uDAAuD,CAAC,CAAC;YAC7G,CAAC;YAED,IAAI,sBAAsB,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE,CAAC;gBACzC,MAAM,IAAI,KAAK,CACb,+BAA+B,GAAG,gDAAgD,sBAAsB,CAAC,IAAI,CAC3G,IAAI,CACL,EAAE,CACJ,CAAC;YACJ,CAAC;YACD,MAAM,KAAK,GAAG,MAAM,CAAC,GAAG,CAAC,CAAC;YAC1B,IACE,OAAO,KAAK,KAAK,QAAQ;gBACzB,OAAO,KAAK,KAAK,QAAQ;gBACzB,OAAO,KAAK,KAAK,QAAQ;gBACzB,OAAO,KAAK,KAAK,SAAS,EAC1B,CAAC;gBACD,MAAM,IAAI,KAAK,CAAC,yCAAyC,GAAG,wBAAwB,OAAO,KAAK,EAAE,CAAC,CAAC;YACtG,CAAC;QACH,CAAC;IACH,CAAC;AACH,CAAC;AAED,SAAS,WAAW,CAAC,MAA+B;IAClD,OAAO,MAAM,IAAI,MAAM,CAAC;AAC1B,CAAC;AAED,SAAS,UAAU,CAAC,MAA+B;IACjD,OAAO,KAAK,IAAI,MAAM,CAAC;AACzB,CAAC"}
@@ -1,76 +1,12 @@
1
1
  import { IntegrationId } from './communication.public-types';
2
- export declare enum IntegrationType {
3
- 'built_in_db' = "built_in_db",
4
- 'mongo' = "mongo",
5
- 'mysql' = "mysql",
6
- 'clickhouse' = "clickhouse",
7
- 'mssql' = "mssql",
8
- 'postgres' = "postgres",
9
- 'cockroach' = "cockroach",
10
- 'api' = "api",
11
- 'graphql' = "graphql",
12
- 'snowflake' = "snowflake",
13
- 'datadog' = "datadog",
14
- 'newrelic' = "newrelic",
15
- 'auth0' = "auth0",
16
- 'jwt_rsa' = "jwt_rsa",
17
- 'jwt_hmac' = "jwt_hmac",
18
- 'ai_chatbot' = "ai_chatbot",
19
- 'cognito' = "cognito",
20
- 'okta' = "okta",
21
- 'descope' = "descope",
22
- 'firebase_auth' = "firebase_auth",
23
- 'kafka' = "kafka",
24
- 'confluent' = "confluent",
25
- 'built_in_queue' = "built_in_queue",
26
- 's3' = "s3",
27
- 'gcs' = "gcs",
28
- 'built_in_s3' = "built_in_s3",
29
- 'built_in_gcs' = "built_in_gcs",
30
- 'google_drive' = "google_drive",
31
- 'ai_agents' = "ai_agents",
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
- 'alloydb' = "alloydb",
43
- 'spanner' = "spanner",
44
- 'db2' = "db2",
45
- 'mariadb' = "mariadb",
46
- 'oracledb' = "oracledb",
47
- 'redis' = "redis",
48
- 'xata' = "xata",
49
- 'azure_sql' = "azure_sql",
50
- 'azure_postgresql' = "azure_postgresql",
51
- 'azure_cosmosdb' = "azure_cosmosdb",
52
- 'firestore' = "firestore",
53
- 'bigquery' = "bigquery",
54
- 'cloudsql' = "cloudsql",
55
- 'slack' = "slack",
56
- 'hubspot' = "hubspot",
57
- 'monday' = "monday",
58
- 'google_docs' = "google_docs",
59
- 'onedrive' = "onedrive",
60
- 'zendesk' = "zendesk",
61
- 'pinecone' = "pinecone",
62
- 'active_directory' = "active_directory",
63
- 'jira' = "jira",
64
- 'confluence' = "confluence",
65
- 'servicenow' = "servicenow",
66
- 'linear' = "linear"
67
- }
68
- export declare enum IntegrationSchemaType {
69
- 'data' = "data",
70
- 'api' = "api",
71
- 'graphql' = "graphql"
72
- }
2
+ export declare const INTEGRATION_TYPES: readonly ["active_directory", "ai_agents", "ai_chatbot", "algolia", "alloydb", "api", "auth0", "azure_cosmosdb", "azure_postgresql", "azure_sql", "bigquery", "built_in_db", "built_in_gcs", "built_in_queue", "built_in_s3", "cassandra", "clickhouse", "cloudsql", "cockroach", "cognito", "confluence", "confluent", "datadog", "db2", "descope", "documentdb", "dynamodb", "elastic_enterprise_search", "elastic_observability", "elastic_search", "firebase_auth", "firestore", "gcs", "google_docs", "google_drive", "graphql", "hubspot", "jira", "jwt_hmac", "jwt_rsa", "kafka", "linear", "mariadb", "monday", "mongo", "mssql", "mysql", "newrelic", "okta", "onedrive", "oracledb", "pinecone", "postgres", "redis", "s3", "salesforce_crm", "sap_hana", "sentry", "servicenow", "slack", "snowflake", "spanner", "xata", "zendesk"];
3
+ export type IntegrationType = (typeof INTEGRATION_TYPES)[number];
4
+ export declare const INTEGRATION_SCHEMA_TYPES: readonly ["data", "api", "graphql"];
5
+ export type IntegrationSchemaType = (typeof INTEGRATION_SCHEMA_TYPES)[number];
6
+ export declare const BUILT_IN_DB_INTEGRATION_ID: IntegrationId;
7
+ export declare const BUILT_IN_QUEUE_INTEGRATION_ID: IntegrationId;
73
8
  export declare const AI_AGENTS_INTEGRATION_ID: IntegrationId;
9
+ export declare const BUILT_IN_STORAGE_INTEGRATION_ID: IntegrationId;
74
10
  export interface IntegrationInfo<ConfigurationType = Record<string, any> | undefined> {
75
11
  id: IntegrationId;
76
12
  type: IntegrationType;
@@ -1,78 +1,75 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AI_AGENTS_INTEGRATION_ID = exports.IntegrationSchemaType = exports.IntegrationType = void 0;
4
- var IntegrationType;
5
- (function (IntegrationType) {
6
- IntegrationType["built_in_db"] = "built_in_db";
7
- IntegrationType["mongo"] = "mongo";
8
- IntegrationType["mysql"] = "mysql";
9
- IntegrationType["clickhouse"] = "clickhouse";
10
- IntegrationType["mssql"] = "mssql";
11
- IntegrationType["postgres"] = "postgres";
12
- IntegrationType["cockroach"] = "cockroach";
13
- IntegrationType["api"] = "api";
14
- IntegrationType["graphql"] = "graphql";
15
- IntegrationType["snowflake"] = "snowflake";
16
- IntegrationType["datadog"] = "datadog";
17
- IntegrationType["newrelic"] = "newrelic";
18
- IntegrationType["auth0"] = "auth0";
19
- IntegrationType["jwt_rsa"] = "jwt_rsa";
20
- IntegrationType["jwt_hmac"] = "jwt_hmac";
21
- IntegrationType["ai_chatbot"] = "ai_chatbot";
22
- IntegrationType["cognito"] = "cognito";
23
- IntegrationType["okta"] = "okta";
24
- IntegrationType["descope"] = "descope";
25
- IntegrationType["firebase_auth"] = "firebase_auth";
26
- IntegrationType["kafka"] = "kafka";
27
- IntegrationType["confluent"] = "confluent";
28
- IntegrationType["built_in_queue"] = "built_in_queue";
29
- IntegrationType["s3"] = "s3";
30
- IntegrationType["gcs"] = "gcs";
31
- IntegrationType["built_in_s3"] = "built_in_s3";
32
- IntegrationType["built_in_gcs"] = "built_in_gcs";
33
- IntegrationType["google_drive"] = "google_drive";
34
- IntegrationType["ai_agents"] = "ai_agents";
35
- IntegrationType["algolia"] = "algolia";
36
- IntegrationType["elastic_observability"] = "elastic_observability";
37
- IntegrationType["elastic_search"] = "elastic_search";
38
- IntegrationType["elastic_enterprise_search"] = "elastic_enterprise_search";
39
- IntegrationType["sentry"] = "sentry";
40
- IntegrationType["sap_hana"] = "sap_hana";
41
- IntegrationType["salesforce_crm"] = "salesforce_crm";
42
- IntegrationType["documentdb"] = "documentdb";
43
- IntegrationType["dynamodb"] = "dynamodb";
44
- IntegrationType["cassandra"] = "cassandra";
45
- IntegrationType["alloydb"] = "alloydb";
46
- IntegrationType["spanner"] = "spanner";
47
- IntegrationType["db2"] = "db2";
48
- IntegrationType["mariadb"] = "mariadb";
49
- IntegrationType["oracledb"] = "oracledb";
50
- IntegrationType["redis"] = "redis";
51
- IntegrationType["xata"] = "xata";
52
- IntegrationType["azure_sql"] = "azure_sql";
53
- IntegrationType["azure_postgresql"] = "azure_postgresql";
54
- IntegrationType["azure_cosmosdb"] = "azure_cosmosdb";
55
- IntegrationType["firestore"] = "firestore";
56
- IntegrationType["bigquery"] = "bigquery";
57
- IntegrationType["cloudsql"] = "cloudsql";
58
- IntegrationType["slack"] = "slack";
59
- IntegrationType["hubspot"] = "hubspot";
60
- IntegrationType["monday"] = "monday";
61
- IntegrationType["google_docs"] = "google_docs";
62
- IntegrationType["onedrive"] = "onedrive";
63
- IntegrationType["zendesk"] = "zendesk";
64
- IntegrationType["pinecone"] = "pinecone";
65
- IntegrationType["active_directory"] = "active_directory";
66
- IntegrationType["jira"] = "jira";
67
- IntegrationType["confluence"] = "confluence";
68
- IntegrationType["servicenow"] = "servicenow";
69
- IntegrationType["linear"] = "linear";
70
- })(IntegrationType || (exports.IntegrationType = IntegrationType = {}));
71
- var IntegrationSchemaType;
72
- (function (IntegrationSchemaType) {
73
- IntegrationSchemaType["data"] = "data";
74
- IntegrationSchemaType["api"] = "api";
75
- IntegrationSchemaType["graphql"] = "graphql";
76
- })(IntegrationSchemaType || (exports.IntegrationSchemaType = IntegrationSchemaType = {}));
3
+ exports.BUILT_IN_STORAGE_INTEGRATION_ID = exports.AI_AGENTS_INTEGRATION_ID = exports.BUILT_IN_QUEUE_INTEGRATION_ID = exports.BUILT_IN_DB_INTEGRATION_ID = exports.INTEGRATION_SCHEMA_TYPES = exports.INTEGRATION_TYPES = void 0;
4
+ exports.INTEGRATION_TYPES = [
5
+ 'active_directory',
6
+ 'ai_agents',
7
+ 'ai_chatbot',
8
+ 'algolia',
9
+ 'alloydb',
10
+ 'api',
11
+ 'auth0',
12
+ 'azure_cosmosdb',
13
+ 'azure_postgresql',
14
+ 'azure_sql',
15
+ 'bigquery',
16
+ 'built_in_db',
17
+ 'built_in_gcs',
18
+ 'built_in_queue',
19
+ 'built_in_s3',
20
+ 'cassandra',
21
+ 'clickhouse',
22
+ 'cloudsql',
23
+ 'cockroach',
24
+ 'cognito',
25
+ 'confluence',
26
+ 'confluent',
27
+ 'datadog',
28
+ 'db2',
29
+ 'descope',
30
+ 'documentdb',
31
+ 'dynamodb',
32
+ 'elastic_enterprise_search',
33
+ 'elastic_observability',
34
+ 'elastic_search',
35
+ 'firebase_auth',
36
+ 'firestore',
37
+ 'gcs',
38
+ 'google_docs',
39
+ 'google_drive',
40
+ 'graphql',
41
+ 'hubspot',
42
+ 'jira',
43
+ 'jwt_hmac',
44
+ 'jwt_rsa',
45
+ 'kafka',
46
+ 'linear',
47
+ 'mariadb',
48
+ 'monday',
49
+ 'mongo',
50
+ 'mssql',
51
+ 'mysql',
52
+ 'newrelic',
53
+ 'okta',
54
+ 'onedrive',
55
+ 'oracledb',
56
+ 'pinecone',
57
+ 'postgres',
58
+ 'redis',
59
+ 's3',
60
+ 'salesforce_crm',
61
+ 'sap_hana',
62
+ 'sentry',
63
+ 'servicenow',
64
+ 'slack',
65
+ 'snowflake',
66
+ 'spanner',
67
+ 'xata',
68
+ 'zendesk',
69
+ ];
70
+ exports.INTEGRATION_SCHEMA_TYPES = ['data', 'api', 'graphql'];
71
+ exports.BUILT_IN_DB_INTEGRATION_ID = 'built_in_db';
72
+ exports.BUILT_IN_QUEUE_INTEGRATION_ID = 'built_in_queue';
77
73
  exports.AI_AGENTS_INTEGRATION_ID = 'ai_agents';
74
+ exports.BUILT_IN_STORAGE_INTEGRATION_ID = 'built_in_storage';
78
75
  //# sourceMappingURL=integration.public-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"integration.public-types.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/integration.public-types.ts"],"names":[],"mappings":";;;AAEA,IAAY,eAmEX;AAnED,WAAY,eAAe;IACzB,8CAA6B,CAAA;IAC7B,kCAAiB,CAAA;IACjB,kCAAiB,CAAA;IACjB,4CAA2B,CAAA;IAC3B,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,kDAAiC,CAAA;IACjC,kCAAiB,CAAA;IACjB,0CAAyB,CAAA;IACzB,oDAAmC,CAAA;IACnC,4BAAW,CAAA;IACX,8BAAa,CAAA;IACb,8CAA6B,CAAA;IAC7B,gDAA+B,CAAA;IAC/B,gDAA+B,CAAA;IAC/B,0CAAyB,CAAA;IAEzB,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,sCAAqB,CAAA;IACrB,sCAAqB,CAAA;IACrB,8BAAa,CAAA;IACb,sCAAqB,CAAA;IACrB,wCAAuB,CAAA;IACvB,kCAAiB,CAAA;IACjB,gCAAe,CAAA;IACf,0CAAyB,CAAA;IACzB,wDAAuC,CAAA;IACvC,oDAAmC,CAAA;IACnC,0CAAyB,CAAA;IACzB,wCAAuB,CAAA;IACvB,wCAAuB,CAAA;IACvB,kCAAiB,CAAA;IACjB,sCAAqB,CAAA;IACrB,oCAAmB,CAAA;IACnB,8CAA6B,CAAA;IAC7B,wCAAuB,CAAA;IACvB,sCAAqB,CAAA;IACrB,wCAAuB,CAAA;IACvB,wDAAuC,CAAA;IACvC,gCAAe,CAAA;IACf,4CAA2B,CAAA;IAC3B,4CAA2B,CAAA;IAE3B,oCAAmB,CAAA;AACrB,CAAC,EAnEW,eAAe,+BAAf,eAAe,QAmE1B;AAED,IAAY,qBAIX;AAJD,WAAY,qBAAqB;IAC/B,sCAAe,CAAA;IACf,oCAAa,CAAA;IACb,4CAAqB,CAAA;AACvB,CAAC,EAJW,qBAAqB,qCAArB,qBAAqB,QAIhC;AAEY,QAAA,wBAAwB,GAAkB,WAAW,CAAC"}
1
+ {"version":3,"file":"integration.public-types.js","sourceRoot":"","sources":["../../../../../internal-common/src/public-types/integration.public-types.ts"],"names":[],"mappings":";;;AAGa,QAAA,iBAAiB,GAAG;IAC/B,kBAAkB;IAClB,WAAW;IACX,YAAY;IACZ,SAAS;IACT,SAAS;IACT,KAAK;IACL,OAAO;IACP,gBAAgB;IAChB,kBAAkB;IAClB,WAAW;IACX,UAAU;IACV,aAAa;IACb,cAAc;IACd,gBAAgB;IAChB,aAAa;IACb,WAAW;IACX,YAAY;IACZ,UAAU;IACV,WAAW;IACX,SAAS;IACT,YAAY;IACZ,WAAW;IACX,SAAS;IACT,KAAK;IACL,SAAS;IACT,YAAY;IACZ,UAAU;IACV,2BAA2B;IAC3B,uBAAuB;IACvB,gBAAgB;IAChB,eAAe;IACf,WAAW;IACX,KAAK;IACL,aAAa;IACb,cAAc;IACd,SAAS;IACT,SAAS;IACT,MAAM;IACN,UAAU;IACV,SAAS;IACT,OAAO;IACP,QAAQ;IACR,SAAS;IACT,QAAQ;IACR,OAAO;IACP,OAAO;IACP,OAAO;IACP,UAAU;IACV,MAAM;IACN,UAAU;IACV,UAAU;IACV,UAAU;IACV,UAAU;IACV,OAAO;IACP,IAAI;IACJ,gBAAgB;IAChB,UAAU;IACV,QAAQ;IACR,YAAY;IACZ,OAAO;IACP,WAAW;IACX,SAAS;IACT,MAAM;IACN,SAAS;CACD,CAAC;AAIE,QAAA,wBAAwB,GAAG,CAAC,MAAM,EAAE,KAAK,EAAE,SAAS,CAAU,CAAC;AAI/D,QAAA,0BAA0B,GAAkB,aAAa,CAAC;AAC1D,QAAA,6BAA6B,GAAkB,gBAAgB,CAAC;AAChE,QAAA,wBAAwB,GAAkB,WAAW,CAAC;AAEtD,QAAA,+BAA+B,GAAkB,kBAAkB,CAAC"}
@@ -1,6 +1,6 @@
1
1
  import { AiChatModelName, AiEmbeddingsModelName, VectorDbType } from '../ai-chatbot.public-types';
2
2
  import { FunctionName } from '../bundle-data.public-types';
3
- import { AiConnectedAgentMetadata } from '../../types/ai-chatbot.types';
3
+ import { AiConnectedAgentMetadata, AiConnectedIntegrationMetadata } from '../../types/ai-chatbot.types';
4
4
  export type AiChatbotConfiguration = {
5
5
  apiKey?: string;
6
6
  };
@@ -14,6 +14,7 @@ export type AiChatbotProfileMetadata = {
14
14
  vectorDbType?: VectorDbType;
15
15
  functions?: Array<FunctionName>;
16
16
  connectedAgents?: Array<AiConnectedAgentMetadata>;
17
+ connectedIntegrations?: Array<AiConnectedIntegrationMetadata>;
17
18
  auditLog?: boolean;
18
19
  };
19
20
  export type AiChatbotContextMetadata = {
@@ -22,5 +23,5 @@ export type AiChatbotContextMetadata = {
22
23
  preview: boolean;
23
24
  sizeBytes?: number;
24
25
  };
25
- export type MutableAiChatbotProfileMetadataFieldsType = keyof Pick<AiChatbotProfileMetadata, 'modelName' | 'isPublic' | 'functions' | 'connectedAgents' | 'auditLog'>;
26
+ export type MutableAiChatbotProfileMetadataFieldsType = keyof Pick<AiChatbotProfileMetadata, 'modelName' | 'isPublic' | 'functions' | 'connectedAgents' | 'connectedIntegrations' | 'auditLog'>;
26
27
  export declare const MUTABLE_AI_CHATBOT_PROFILE_METADATA_FIELDS: Array<MutableAiChatbotProfileMetadataFieldsType>;
@@ -6,6 +6,7 @@ exports.MUTABLE_AI_CHATBOT_PROFILE_METADATA_FIELDS = [
6
6
  'isPublic',
7
7
  'functions',
8
8
  'connectedAgents',
9
+ 'connectedIntegrations',
9
10
  'auditLog',
10
11
  ];
11
12
  //# sourceMappingURL=ai_chatbot.public-types.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"ai_chatbot.public-types.js","sourceRoot":"","sources":["../../../../../../internal-common/src/public-types/integrations/ai_chatbot.public-types.ts"],"names":[],"mappings":";;;AAsCa,QAAA,0CAA0C,GAAqD;IAC1G,WAAW;IACX,UAAU;IACV,WAAW;IACX,iBAAiB;IACjB,UAAU;CACX,CAAC"}
1
+ {"version":3,"file":"ai_chatbot.public-types.js","sourceRoot":"","sources":["../../../../../../internal-common/src/public-types/integrations/ai_chatbot.public-types.ts"],"names":[],"mappings":";;;AAwCa,QAAA,0CAA0C,GAAqD;IAC1G,WAAW;IACX,UAAU;IACV,WAAW;IACX,iBAAiB;IACjB,uBAAuB;IACvB,UAAU;CACX,CAAC"}
@@ -53,10 +53,10 @@ export interface ApiEndpoint {
53
53
  }
54
54
  export interface DiscoverOpenApiSchemaRequest {
55
55
  integrationId: IntegrationId;
56
- integrationType: IntegrationType.api;
56
+ integrationType: Extract<IntegrationType, 'api'>;
57
57
  discoveryOptions: OpenApiDiscoveryOptions;
58
58
  }
59
59
  export interface DiscoverOpenApiSchemaFromFileRequest {
60
60
  integrationId: IntegrationId;
61
- integrationType: IntegrationType.api;
61
+ integrationType: Extract<IntegrationType, 'api'>;
62
62
  }
@@ -3,6 +3,7 @@ import { AiAgentId, AppId, ClientRequestId, IntegrationId } from '../public-type
3
3
  import { AiChatbotProfileMetadata } from '../public-types/integrations/ai_chatbot.public-types';
4
4
  import { FunctionName, FunctionNameWithContext } from '../public-types/bundle-data.public-types';
5
5
  import { O11Y_TAG_AI_MODEL, O11Y_TAG_AI_PROFILE, O11Y_TAG_API_KEY_SOURCE, O11Y_TAG_INTEGRATION_ID } from './observability.types';
6
+ import { IntegrationType } from '../public-types/integration.public-types';
6
7
  export type AiChatResponseFormat = 'text' | 'json_object';
7
8
  export interface AiChatOptions {
8
9
  maxTokens: number;
@@ -17,12 +18,18 @@ export interface AiChatOptions {
17
18
  agentContext?: Record<string, unknown>;
18
19
  functions?: Array<FunctionName | FunctionNameWithContext>;
19
20
  connectedAgents?: Array<AiConnectedAgentMetadata>;
21
+ connectedIntegrations?: Array<AiConnectedIntegrationMetadata>;
20
22
  quotas?: AiChatPromptQuotas;
21
23
  }
22
24
  export interface AiConnectedAgentMetadata {
23
25
  agentId: AiAgentId;
24
26
  description: string;
25
27
  }
28
+ export interface AiConnectedIntegrationMetadata {
29
+ integrationId: IntegrationId;
30
+ integrationType: IntegrationType;
31
+ description?: string;
32
+ }
26
33
  type ModelDataType = {
27
34
  maxTokens: number;
28
35
  defaultTokens: number;
@@ -1 +1 @@
1
- {"version":3,"file":"ai-chatbot.types.js","sourceRoot":"","sources":["../../../../../internal-common/src/types/ai-chatbot.types.ts"],"names":[],"mappings":";;;AAaA,+DAK+B;AAyClB,QAAA,WAAW,GAA2C;IACjE,gBAAgB,EAAE;QAChB,SAAS,EAAE,SAAS;QACpB,aAAa,EAAE,MAAM;KACtB;IACD,kBAAkB,EAAE;QAClB,SAAS,EAAE,SAAS;QACpB,aAAa,EAAE,MAAM;KACtB;IACD,0BAA0B,EAAE;QAC1B,SAAS,EAAE,OAAO;QAClB,aAAa,EAAE,MAAM;KACtB;IACD,yBAAyB,EAAE;QACzB,SAAS,EAAE,OAAO;QAClB,aAAa,EAAE,MAAM;KACtB;IACD,QAAQ,EAAE;QACR,SAAS,EAAE,OAAO;QAClB,aAAa,EAAE,MAAM;KACtB;IACD,aAAa,EAAE;QACb,SAAS,EAAE,OAAO;QAClB,aAAa,EAAE,MAAM;KACtB;IACD,EAAE,EAAE;QACF,SAAS,EAAE,OAAO;QAClB,aAAa,EAAE,MAAM;KACtB;IACD,SAAS,EAAE;QACT,SAAS,EAAE,OAAO;QAClB,aAAa,EAAE,MAAM;KACtB;CACF,CAAC"}
1
+ {"version":3,"file":"ai-chatbot.types.js","sourceRoot":"","sources":["../../../../../internal-common/src/types/ai-chatbot.types.ts"],"names":[],"mappings":";;;AAaA,+DAK+B;AA0DlB,QAAA,WAAW,GAA2C;IACjE,gBAAgB,EAAE;QAChB,SAAS,EAAE,SAAS;QACpB,aAAa,EAAE,MAAM;KACtB;IACD,kBAAkB,EAAE;QAClB,SAAS,EAAE,SAAS;QACpB,aAAa,EAAE,MAAM;KACtB;IACD,0BAA0B,EAAE;QAC1B,SAAS,EAAE,OAAO;QAClB,aAAa,EAAE,MAAM;KACtB;IACD,yBAAyB,EAAE;QACzB,SAAS,EAAE,OAAO;QAClB,aAAa,EAAE,MAAM;KACtB;IACD,QAAQ,EAAE;QACR,SAAS,EAAE,OAAO;QAClB,aAAa,EAAE,MAAM;KACtB;IACD,aAAa,EAAE;QACb,SAAS,EAAE,OAAO;QAClB,aAAa,EAAE,MAAM;KACtB;IACD,EAAE,EAAE;QACF,SAAS,EAAE,OAAO;QAClB,aAAa,EAAE,MAAM;KACtB;IACD,SAAS,EAAE;QACT,SAAS,EAAE,OAAO;QAClB,aAAa,EAAE,MAAM;KACtB;CACF,CAAC"}
@@ -56,11 +56,11 @@ type UpsertIntegrationRequests = {
56
56
  [K in IntegrationTypeWithConfig]: BaseUpsertIntegrationRequest<ConfigurationTypes[K]>;
57
57
  };
58
58
  export type UpsertDataIntegrationRequest = UpsertIntegrationRequests[DatabaseIntegrationType];
59
- export type UpsertGraphQLIntegrationRequest = UpsertIntegrationRequests[IntegrationType.graphql];
60
- export type UpsertApiIntegrationRequest = UpsertIntegrationRequests[IntegrationType.api];
61
- export type UpsertAiChatbotIntegrationRequest = UpsertIntegrationRequests[IntegrationType.ai_chatbot];
62
- export type UpsertKafkaIntegrationRequest = UpsertIntegrationRequests[IntegrationType.kafka];
63
- export type UpsertConfluentIntegrationRequest = UpsertIntegrationRequests[IntegrationType.confluent];
59
+ export type UpsertGraphQLIntegrationRequest = UpsertIntegrationRequests['graphql'];
60
+ export type UpsertApiIntegrationRequest = UpsertIntegrationRequests['api'];
61
+ export type UpsertAiChatbotIntegrationRequest = UpsertIntegrationRequests['ai_chatbot'];
62
+ export type UpsertKafkaIntegrationRequest = UpsertIntegrationRequests['kafka'];
63
+ export type UpsertConfluentIntegrationRequest = UpsertIntegrationRequests['confluent'];
64
64
  export type UpsertAuthIntegrationRequest = UpsertIntegrationRequests[AuthIntegrationType];
65
65
  interface BaseUpsertIntegrationSchemaRequest<T extends IntegrationType, S extends IntegrationSchema> {
66
66
  id: IntegrationId;
@@ -75,8 +75,8 @@ type UpsertIntegrationSchemaRequests = {
75
75
  };
76
76
  export type UpsertIntegrationSchemaRequest = UpsertDataIntegrationSchemaRequest | UpsertGraphQLIntegrationSchemaRequest | UpsertApiIntegrationSchemaRequest;
77
77
  export type UpsertDataIntegrationSchemaRequest = UpsertIntegrationSchemaRequests[DatabaseIntegrationType];
78
- export type UpsertGraphQLIntegrationSchemaRequest = UpsertIntegrationSchemaRequests[IntegrationType.graphql];
79
- export type UpsertApiIntegrationSchemaRequest = UpsertIntegrationSchemaRequests[IntegrationType.api];
78
+ export type UpsertGraphQLIntegrationSchemaRequest = UpsertIntegrationSchemaRequests['graphql'];
79
+ export type UpsertApiIntegrationSchemaRequest = UpsertIntegrationSchemaRequests['api'];
80
80
  export type UpsertIntegrationRequest = UpsertDataIntegrationRequest | UpsertGraphQLIntegrationRequest | UpsertApiIntegrationRequest | UpsertAiChatbotIntegrationRequest | UpsertConfluentIntegrationRequest | UpsertKafkaIntegrationRequest | UpsertAuthIntegrationRequest;
81
81
  type ConfigurationTypes = {
82
82
  [K in IntegrationTypeWithConfig]: IntegrationConfigTypes[K];
@@ -59,6 +59,13 @@ export interface ServiceNowIntegrationConfiguration {
59
59
  }
60
60
  export interface ServiceNowIntegrationConfig extends BaseIntegrationConfigWithConfiguration<ServiceNowIntegrationConfiguration> {
61
61
  }
62
+ export interface JiraIntegrationConfiguration {
63
+ apiKey: string;
64
+ domain: string;
65
+ email: string;
66
+ }
67
+ export interface JiraIntegrationConfig extends BaseIntegrationConfigWithConfiguration<JiraIntegrationConfiguration> {
68
+ }
62
69
  export interface SalesforceCrmIntegrationConfiguration {
63
70
  domain: string;
64
71
  consumerKey: string;
@@ -5,77 +5,78 @@ import { IntegrationSchemaType, IntegrationType } from '../../public-types/integ
5
5
  import { BuiltInQueueIntegrationConfig, ConfluentIntegrationConfig, KafkaIntegrationConfig } from './queue-types';
6
6
  import { IntegrationId } from '../../public-types/communication.public-types';
7
7
  import { AiAgentsIntegrationConfig, AiChatbotIntegrationConfig } from './ai_chatbot.types';
8
- import { ConfluenceIntegrationConfig, DefaultGraphQLIntegrationConfig, DefaultHttpApiIntegrationConfig, IntegrationApiSchema, IntegrationGraphQLSchema, LinearIntegrationConfig, SalesforceCrmIntegrationConfig, ServiceNowIntegrationConfig } from './api.types';
8
+ import { ConfluenceIntegrationConfig, DefaultGraphQLIntegrationConfig, DefaultHttpApiIntegrationConfig, IntegrationApiSchema, IntegrationGraphQLSchema, JiraIntegrationConfig, LinearIntegrationConfig, SalesforceCrmIntegrationConfig, ServiceNowIntegrationConfig } from './api.types';
9
9
  import { BuiltInGcsIntegrationConfig, BuiltInS3IntegrationConfig, GcsIntegrationConfig, GoogleDriveIntegrationConfig, S3IntegrationConfig } from './storage-types';
10
10
  export interface IntegrationConfigTypes {
11
- [IntegrationType.built_in_db]: InternalIntegrationConfig;
12
- [IntegrationType.built_in_s3]: BuiltInS3IntegrationConfig;
13
- [IntegrationType.built_in_gcs]: BuiltInGcsIntegrationConfig;
14
- [IntegrationType.s3]: S3IntegrationConfig;
15
- [IntegrationType.gcs]: GcsIntegrationConfig;
16
- [IntegrationType.google_drive]: GoogleDriveIntegrationConfig;
17
- [IntegrationType.mongo]: MongoIntegrationConfig;
18
- [IntegrationType.mysql]: MySqlIntegrationConfig;
19
- [IntegrationType.clickhouse]: ClickHouseIntegrationConfig;
20
- [IntegrationType.bigquery]: BigQueryIntegrationConfig;
21
- [IntegrationType.oracledb]: OracleIntegrationConfig;
22
- [IntegrationType.mssql]: MssqlIntegrationConfig;
23
- [IntegrationType.postgres]: PostgresIntegrationConfig;
24
- [IntegrationType.cockroach]: CockroachIntegrationConfig;
25
- [IntegrationType.snowflake]: SnowflakeIntegrationConfig;
26
- [IntegrationType.api]: DefaultHttpApiIntegrationConfig;
27
- [IntegrationType.graphql]: DefaultGraphQLIntegrationConfig;
28
- [IntegrationType.datadog]: DatadogIntegrationConfig;
29
- [IntegrationType.newrelic]: NewRelicIntegrationConfig;
30
- [IntegrationType.auth0]: Auth0IntegrationConfig;
31
- [IntegrationType.jwt_rsa]: JwtRsaIntegrationConfig;
32
- [IntegrationType.jwt_hmac]: JwtHmacIntegrationConfig;
33
- [IntegrationType.ai_chatbot]: AiChatbotIntegrationConfig;
34
- [IntegrationType.cognito]: CognitoIntegrationConfig;
35
- [IntegrationType.okta]: OktaIntegrationConfig;
36
- [IntegrationType.kafka]: KafkaIntegrationConfig;
37
- [IntegrationType.confluent]: ConfluentIntegrationConfig;
38
- [IntegrationType.built_in_queue]: BuiltInQueueIntegrationConfig;
39
- [IntegrationType.descope]: DescopeIntegrationConfig;
40
- [IntegrationType.firebase_auth]: FirebaseAuthIntegrationConfig;
41
- [IntegrationType.ai_agents]: AiAgentsIntegrationConfig;
42
- [IntegrationType.linear]: LinearIntegrationConfig;
43
- [IntegrationType.confluence]: ConfluenceIntegrationConfig;
44
- [IntegrationType.servicenow]: ServiceNowIntegrationConfig;
45
- [IntegrationType.salesforce_crm]: SalesforceCrmIntegrationConfig;
11
+ built_in_db: InternalIntegrationConfig;
12
+ built_in_s3: BuiltInS3IntegrationConfig;
13
+ built_in_gcs: BuiltInGcsIntegrationConfig;
14
+ s3: S3IntegrationConfig;
15
+ gcs: GcsIntegrationConfig;
16
+ google_drive: GoogleDriveIntegrationConfig;
17
+ mongo: MongoIntegrationConfig;
18
+ mysql: MySqlIntegrationConfig;
19
+ clickhouse: ClickHouseIntegrationConfig;
20
+ bigquery: BigQueryIntegrationConfig;
21
+ oracledb: OracleIntegrationConfig;
22
+ mssql: MssqlIntegrationConfig;
23
+ postgres: PostgresIntegrationConfig;
24
+ cockroach: CockroachIntegrationConfig;
25
+ snowflake: SnowflakeIntegrationConfig;
26
+ api: DefaultHttpApiIntegrationConfig;
27
+ graphql: DefaultGraphQLIntegrationConfig;
28
+ datadog: DatadogIntegrationConfig;
29
+ newrelic: NewRelicIntegrationConfig;
30
+ auth0: Auth0IntegrationConfig;
31
+ jwt_rsa: JwtRsaIntegrationConfig;
32
+ jwt_hmac: JwtHmacIntegrationConfig;
33
+ ai_chatbot: AiChatbotIntegrationConfig;
34
+ cognito: CognitoIntegrationConfig;
35
+ okta: OktaIntegrationConfig;
36
+ kafka: KafkaIntegrationConfig;
37
+ confluent: ConfluentIntegrationConfig;
38
+ built_in_queue: BuiltInQueueIntegrationConfig;
39
+ descope: DescopeIntegrationConfig;
40
+ firebase_auth: FirebaseAuthIntegrationConfig;
41
+ ai_agents: AiAgentsIntegrationConfig;
42
+ linear: LinearIntegrationConfig;
43
+ confluence: ConfluenceIntegrationConfig;
44
+ servicenow: ServiceNowIntegrationConfig;
45
+ salesforce_crm: SalesforceCrmIntegrationConfig;
46
+ jira: JiraIntegrationConfig;
46
47
  }
47
48
  export interface IntegrationSchemaTypes {
48
- [IntegrationType.built_in_db]: IntegrationDataSchema;
49
- [IntegrationType.mongo]: IntegrationDataSchema;
50
- [IntegrationType.mysql]: IntegrationDataSchema;
51
- [IntegrationType.clickhouse]: IntegrationDataSchema;
52
- [IntegrationType.oracledb]: IntegrationDataSchema;
53
- [IntegrationType.bigquery]: IntegrationDataSchema;
54
- [IntegrationType.mssql]: IntegrationDataSchema;
55
- [IntegrationType.postgres]: IntegrationDataSchema;
56
- [IntegrationType.cockroach]: IntegrationDataSchema;
57
- [IntegrationType.snowflake]: IntegrationDataSchema;
58
- [IntegrationType.api]: IntegrationApiSchema;
59
- [IntegrationType.graphql]: IntegrationGraphQLSchema;
49
+ built_in_db: IntegrationDataSchema;
50
+ mongo: IntegrationDataSchema;
51
+ mysql: IntegrationDataSchema;
52
+ clickhouse: IntegrationDataSchema;
53
+ oracledb: IntegrationDataSchema;
54
+ bigquery: IntegrationDataSchema;
55
+ mssql: IntegrationDataSchema;
56
+ postgres: IntegrationDataSchema;
57
+ cockroach: IntegrationDataSchema;
58
+ snowflake: IntegrationDataSchema;
59
+ api: IntegrationApiSchema;
60
+ graphql: IntegrationGraphQLSchema;
60
61
  }
61
62
  export type IntegrationTypeWithConfig = keyof IntegrationConfigTypes;
62
63
  export type IntegrationSchemaKeys = keyof IntegrationSchemaTypes;
63
64
  export type IntegrationConfig = IntegrationConfigTypes[IntegrationTypeWithConfig];
64
65
  export type IntegrationSchema = IntegrationSchemaTypes[IntegrationSchemaKeys];
65
- export declare const DatabaseIntegrationTypes: readonly [IntegrationType.built_in_db, IntegrationType.mongo, IntegrationType.mysql, IntegrationType.clickhouse, IntegrationType.bigquery, IntegrationType.mssql, IntegrationType.postgres, IntegrationType.cockroach, IntegrationType.snowflake, IntegrationType.oracledb];
66
- export type DatabaseIntegrationType = (typeof DatabaseIntegrationTypes)[number];
66
+ export declare const DATA_INTEGRATION_TYPES: readonly ["built_in_db", "mongo", "mysql", "clickhouse", "bigquery", "mssql", "postgres", "cockroach", "snowflake", "oracledb"];
67
+ export type DatabaseIntegrationType = (typeof DATA_INTEGRATION_TYPES)[number];
67
68
  export type DatabaseIntegrationConfig = IntegrationConfigTypes[DatabaseIntegrationType];
68
- export declare const AuthIntegrationTypes: readonly [IntegrationType.auth0, IntegrationType.jwt_rsa, IntegrationType.jwt_hmac, IntegrationType.cognito, IntegrationType.okta, IntegrationType.descope, IntegrationType.firebase_auth];
69
- export type AuthIntegrationType = (typeof AuthIntegrationTypes)[number];
69
+ export declare const AUTH_INTEGRATION_TYPES: readonly ["auth0", "jwt_rsa", "jwt_hmac", "cognito", "okta", "descope", "firebase_auth"];
70
+ export type AuthIntegrationType = (typeof AUTH_INTEGRATION_TYPES)[number];
70
71
  export type AuthIntegrationConfig = IntegrationConfigTypes[AuthIntegrationType];
71
- export declare const HttpApiIntegrationTypes: readonly [IntegrationType.api, IntegrationType.confluence];
72
- export type HttpApiIntegrationType = (typeof HttpApiIntegrationTypes)[number];
72
+ export declare const HTTP_INTEGRATION_TYPES: readonly ["api", "confluence"];
73
+ export type HttpApiIntegrationType = (typeof HTTP_INTEGRATION_TYPES)[number];
73
74
  export type HttpApiIntegrationConfig = IntegrationConfigTypes[HttpApiIntegrationType];
74
- export declare const GraphQLIntegrationTypes: readonly [IntegrationType.graphql, IntegrationType.linear];
75
- export type GraphQLIntegrationType = (typeof GraphQLIntegrationTypes)[number];
75
+ export declare const GRAPHQL_INTEGRATION_TYPES: readonly ["graphql", "linear"];
76
+ export type GraphQLIntegrationType = (typeof GRAPHQL_INTEGRATION_TYPES)[number];
76
77
  export type GraphQLIntegrationConfig = IntegrationConfigTypes[GraphQLIntegrationType];
77
- export declare const AiIntegrationTypes: readonly [IntegrationType.ai_agents, IntegrationType.ai_chatbot];
78
- export type AiIntegrationType = (typeof AiIntegrationTypes)[number];
78
+ export declare const AI_INTEGRATION_TYPES: readonly ["ai_agents", "ai_chatbot"];
79
+ export type AiIntegrationType = (typeof AI_INTEGRATION_TYPES)[number];
79
80
  export type AiIntegrationConfig = IntegrationConfigTypes[AiIntegrationType];
80
81
  export declare function isDataIntegrationType(type: unknown): type is DatabaseIntegrationType;
81
82
  export declare function isAuthIntegrationType(type: unknown): type is AuthIntegrationType;