@squidcloud/client 1.0.319 → 1.0.321
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/cjs/index.js +1 -1
- package/dist/internal-common/src/public-types/integration.public-types.d.ts +1 -1
- package/dist/internal-common/src/public-types/query.public-types.d.ts +2 -2
- package/dist/internal-common/src/types/ai-matchmaking.types.d.ts +14 -1
- package/dist/typescript-client/src/ai-matchmaking-client.d.ts +11 -2
- package/dist/typescript-client/src/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { IntegrationId } from './communication.public-types';
|
|
2
2
|
/** List of all integration types supported by Squid. */
|
|
3
|
-
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 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", "mail"];
|
|
4
4
|
export declare const DATA_INTEGRATION_TYPES: readonly ["bigquery", "built_in_db", "clickhouse", "cockroach", "mongo", "mssql", "mysql", "oracledb", "postgres", "sap_hana", "snowflake"];
|
|
5
5
|
export declare const AUTH_INTEGRATION_TYPES: readonly ["auth0", "jwt_rsa", "jwt_hmac", "cognito", "okta", "descope", "firebase_auth"];
|
|
6
6
|
export declare const GRAPHQL_INTEGRATION_TYPES: readonly ["graphql", "linear"];
|
|
@@ -35,8 +35,8 @@ export interface CompositeCondition<Doc extends DocumentData = any> {
|
|
|
35
35
|
}
|
|
36
36
|
export declare function isSimpleCondition(condition: Condition): condition is SimpleCondition;
|
|
37
37
|
type CompositeConditionOperator = '>=' | '<=' | '>' | '<';
|
|
38
|
-
export declare const ARRAY_OPERATORS:
|
|
39
|
-
export declare const ALL_OPERATORS:
|
|
38
|
+
export declare const ARRAY_OPERATORS: readonly ["in", "not in", "array_includes_some", "array_includes_all", "array_not_includes"];
|
|
39
|
+
export declare const ALL_OPERATORS: readonly ["in", "not in", "array_includes_some", "array_includes_all", "array_not_includes", "==", "!=", ">=", "<=", ">", "<", "like", "not like", "like_cs", "not like_cs"];
|
|
40
40
|
/** An operator in a query condition. */
|
|
41
41
|
export type Operator = (typeof ALL_OPERATORS)[number];
|
|
42
42
|
/** A definition of a sort by a filed. */
|
|
@@ -2,6 +2,15 @@ import { MmEntity, MmEntityMatch, MmFindMatchesOptions, MmListEntitiesOptions, M
|
|
|
2
2
|
export interface MmCreateMatchMakerRequest {
|
|
3
3
|
matchMaker: MmMatchMaker;
|
|
4
4
|
}
|
|
5
|
+
export interface MmDeleteMatchMakerRequest {
|
|
6
|
+
matchMakerId: string;
|
|
7
|
+
}
|
|
8
|
+
export interface MmGetMatchMakerRequest {
|
|
9
|
+
matchMakerId: string;
|
|
10
|
+
}
|
|
11
|
+
export interface MmGetMatchMakerResponse {
|
|
12
|
+
matchMaker: MmMatchMaker | undefined;
|
|
13
|
+
}
|
|
5
14
|
export interface MmDeleteEntityRequest {
|
|
6
15
|
matchMakerId: string;
|
|
7
16
|
entityId: string;
|
|
@@ -35,6 +44,10 @@ export interface MmListEntitiesRequest {
|
|
|
35
44
|
categoryId: string;
|
|
36
45
|
options: MmListEntitiesOptions;
|
|
37
46
|
}
|
|
38
|
-
export interface
|
|
47
|
+
export interface MmGetEntityRequest {
|
|
39
48
|
matchMakerId: string;
|
|
49
|
+
entityId: string;
|
|
50
|
+
}
|
|
51
|
+
export interface MmGetEntityResponse {
|
|
52
|
+
entity: MmEntity | undefined;
|
|
40
53
|
}
|
|
@@ -13,15 +13,16 @@ export declare class AiMatchMakingClient {
|
|
|
13
13
|
/**
|
|
14
14
|
* Retrieves an existing matchmaker by its ID.
|
|
15
15
|
*/
|
|
16
|
-
getMatchMaker(matchMakerId: string): MatchMaker
|
|
16
|
+
getMatchMaker(matchMakerId: string): Promise<MatchMaker | undefined>;
|
|
17
17
|
listMatchMakers(): Promise<Array<MmMatchMaker>>;
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* Represents a matchmaker. You can insert entities into the matchmaker and find matches for them.
|
|
21
21
|
*/
|
|
22
22
|
export declare class MatchMaker {
|
|
23
|
-
|
|
23
|
+
private readonly matchMaker;
|
|
24
24
|
private readonly rpcManager;
|
|
25
|
+
readonly id: string;
|
|
25
26
|
/** Adds a new entity to the matchmaker - replaces existing entity with the same ID if exists. */
|
|
26
27
|
insertEntity(entity: MmEntity): Promise<void>;
|
|
27
28
|
/**
|
|
@@ -40,4 +41,12 @@ export declare class MatchMaker {
|
|
|
40
41
|
* The results are ordered by the entity id.
|
|
41
42
|
*/
|
|
42
43
|
listEntities(categoryId: string, options?: MmListEntitiesOptions): Promise<Array<MmEntity>>;
|
|
44
|
+
/**
|
|
45
|
+
* Returns the entity with the given ID.
|
|
46
|
+
*/
|
|
47
|
+
getEntity(entityId: string): Promise<MmEntity | undefined>;
|
|
48
|
+
/**
|
|
49
|
+
* Returns an object with the matchmaker details.
|
|
50
|
+
*/
|
|
51
|
+
getMatchMakerDetails(): MmMatchMaker;
|
|
43
52
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.
|
|
1
|
+
export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.321";
|