@squidcloud/client 1.0.367 → 1.0.369

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.
Files changed (27) hide show
  1. package/dist/cjs/index.js +1 -1
  2. package/dist/esm/index.js +1 -1
  3. package/dist/internal-common/src/public-types/ai-agent.public-types.d.ts +20 -6
  4. package/dist/internal-common/src/public-types/ai-assistant.public-types.d.ts +1 -1
  5. package/dist/internal-common/src/public-types/backend.public-types.d.ts +1 -1
  6. package/dist/internal-common/src/public-types-backend/api-call.public-context.d.ts +1 -1
  7. package/dist/internal-common/src/public-types-backend/mutation.public-context.d.ts +1 -1
  8. package/dist/internal-common/src/public-types-backend/query.public-context.d.ts +2 -2
  9. package/dist/internal-common/src/types/ai-agent.types.d.ts +3 -4
  10. package/dist/internal-common/src/types/stage.d.ts +9 -0
  11. package/dist/internal-common/src/utils/http.d.ts +4 -1
  12. package/dist/internal-common/src/utils/object.d.ts +7 -1
  13. package/dist/internal-common/src/utils/serialization.d.ts +1 -0
  14. package/dist/typescript-client/src/agent/ai-agent-client-reference.d.ts +1 -1
  15. package/dist/typescript-client/src/agent/ai-agent-client.types.d.ts +1 -1
  16. package/dist/typescript-client/src/ai-client.d.ts +3 -3
  17. package/dist/typescript-client/src/api-client.d.ts +2 -2
  18. package/dist/typescript-client/src/collection-reference.d.ts +1 -1
  19. package/dist/typescript-client/src/document-reference.d.ts +2 -2
  20. package/dist/typescript-client/src/index.d.ts +19 -20
  21. package/dist/typescript-client/src/public-types.d.ts +6 -6
  22. package/dist/typescript-client/src/query/deserializer.d.ts +1 -1
  23. package/dist/typescript-client/src/query/join-query-builder.factory.d.ts +1 -1
  24. package/dist/typescript-client/src/squid.d.ts +7 -7
  25. package/dist/typescript-client/src/version.d.ts +1 -1
  26. package/dist/typescript-client/src/web-client.d.ts +1 -1
  27. package/package.json +1 -1
@@ -1,9 +1,9 @@
1
+ import { AiFunctionId, AiFunctionIdWithContext, UserAiChatModelName } from './backend.public-types';
1
2
  import { AiAgentId, AiContextId, IntegrationId } from './communication.public-types';
2
3
  import { IntegrationType } from './integration.public-types';
3
- import { AiFunctionId, AiFunctionIdWithContext } from './backend.public-types';
4
4
  import { SecretKey } from './secret.public-types';
5
5
  /** List of available AI provider types. See AiProviderType. */
6
- export declare const AI_PROVIDER_TYPES: readonly ["anthropic", "flux", "gemini", "openai", "squid", "stability", "voyage"];
6
+ export declare const AI_PROVIDER_TYPES: readonly ["anthropic", "flux", "gemini", "openai", "squid", "stability", "voyage", "external"];
7
7
  /**
8
8
  * Type of the AI provider.
9
9
  * References a single AI service, regardless of the model or other AI function it provides (like
@@ -26,7 +26,7 @@ export declare const OPENAI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini",
26
26
  /**
27
27
  * @category AI
28
28
  */
29
- export declare const GEMINI_CHAT_MODEL_NAMES: readonly ["gemini-1.5-pro", "gemini-2.0-flash"];
29
+ export declare const GEMINI_CHAT_MODEL_NAMES: readonly ["gemini-2.5-pro", "gemini-2.5-flash"];
30
30
  /**
31
31
  * @category AI
32
32
  */
@@ -59,11 +59,11 @@ export declare const SQUID_AI_MODEL_NAMES: readonly ["dictionary"];
59
59
  * The supported AI model names.
60
60
  * @category AI
61
61
  */
62
- export declare const AI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "gpt-4.1-nano", "gpt-4.1-mini", "gpt-4.1", "o1", "o1-mini", "o3", "o3-mini", "o4-mini", "claude-3-7-sonnet-latest", "claude-opus-4-20250514", "claude-sonnet-4-20250514", "gemini-1.5-pro", "gemini-2.0-flash", "dictionary"];
62
+ export declare const VENDOR_AI_CHAT_MODEL_NAMES: readonly ["gpt-4o", "gpt-4o-mini", "gpt-4.1-nano", "gpt-4.1-mini", "gpt-4.1", "o1", "o1-mini", "o3", "o3-mini", "o4-mini", "claude-3-7-sonnet-latest", "claude-opus-4-20250514", "claude-sonnet-4-20250514", "gemini-2.5-pro", "gemini-2.5-flash", "dictionary"];
63
63
  /**
64
64
  * Check if the given model name is a global AI chat model name.
65
65
  */
66
- export declare function isGlobalAiChatModelName(modelName: string): modelName is (typeof AI_CHAT_MODEL_NAMES)[number];
66
+ export declare function isVendorAiChatModelName(modelName: string): modelName is (typeof VENDOR_AI_CHAT_MODEL_NAMES)[number];
67
67
  /**
68
68
  * @category AI
69
69
  */
@@ -120,7 +120,11 @@ export declare const OPEN_AI_CREATE_SPEECH_FORMATS: readonly ["mp3", "opus", "aa
120
120
  /**
121
121
  * @category AI
122
122
  */
123
- export type AiChatModelName = (typeof AI_CHAT_MODEL_NAMES)[number];
123
+ export type VendorAiChatModelName = (typeof VENDOR_AI_CHAT_MODEL_NAMES)[number];
124
+ /**
125
+ * @category AI
126
+ */
127
+ export type AiChatModelName = VendorAiChatModelName | UserAiChatModelName;
124
128
  /**
125
129
  * @category AI
126
130
  */
@@ -610,6 +614,8 @@ export interface AiObserveStatusOptions {
610
614
  * @category AI
611
615
  */
612
616
  export interface AiStatusMessage {
617
+ /** ID of the status update message. */
618
+ messageId: string;
613
619
  /** The ID of the agent generating the status message. */
614
620
  agentId: string;
615
621
  /** An optional chat ID associated with the status message. */
@@ -619,6 +625,14 @@ export interface AiStatusMessage {
619
625
  /** Optional tags providing additional metadata about the status. */
620
626
  tags?: Record<string, any>;
621
627
  }
628
+ /**
629
+ * Name of the tag that contains ID of the parent message .
630
+ * When the tag is present the current message should be considered in the context of the parent message.
631
+ * Example: the message can contain a function call result.
632
+ */
633
+ export declare const AI_STATUS_MESSAGE_PARENT_MESSAGE_ID_TAG = "parent";
634
+ /** The tag contains a response of the AI tool call. */
635
+ export declare const AI_STATUS_MESSAGE_RESULT_TAG = "result";
622
636
  /**
623
637
  * The options for the AI agent search method.
624
638
  * @category AI
@@ -1,4 +1,4 @@
1
- import { AiAgentResponseFormat, OpenAiChatModelName, AiReasoningEffort } from './ai-agent.public-types';
1
+ import { AiAgentResponseFormat, AiReasoningEffort, OpenAiChatModelName } from './ai-agent.public-types';
2
2
  import { AiFunctionId } from './backend.public-types';
3
3
  /**
4
4
  * The type of assistant tool.
@@ -34,7 +34,7 @@ export type ServiceFunctionName = `${ServiceName}:${FunctionName}`;
34
34
  /**
35
35
  * LLM model name for use in API calls, eg. "gpt-4o-mini".
36
36
  */
37
- export type LlmModelName = string;
37
+ export type UserAiChatModelName = string;
38
38
  /**
39
39
  * Stats about a given LLM model.
40
40
  */
@@ -1,6 +1,6 @@
1
+ import { ApiOptions } from '../public-types/api-client.public-types';
1
2
  import { ApiEndpointId, HttpMethod } from '../public-types/api.public-types';
2
3
  import { IntegrationId } from '../public-types/communication.public-types';
3
- import { ApiOptions } from '../public-types/api-client.public-types';
4
4
  /** The headers of an API call. */
5
5
  export type ApiHeaders = Record<string, string | number | boolean>;
6
6
  /** The context of an API call. */
@@ -1,5 +1,5 @@
1
- import { Paths } from '../public-types/typescript.public-types';
2
1
  import { SquidDocIdObj, SquidDocument } from '../public-types/document.public-types';
2
+ import { Paths } from '../public-types/typescript.public-types';
3
3
  /**
4
4
  * The mutation type.
5
5
  * @category Database
@@ -1,7 +1,7 @@
1
+ import { IntegrationId } from '../public-types/communication.public-types';
2
+ import { CollectionName, DocumentData } from '../public-types/document.public-types';
1
3
  import { FieldSort, Operator, Query, SimpleCondition } from '../public-types/query.public-types';
2
4
  import { DeepRecord, FieldOf, PartialBy, Paths } from '../public-types/typescript.public-types';
3
- import { CollectionName, DocumentData } from '../public-types/document.public-types';
4
- import { IntegrationId } from '../public-types/communication.public-types';
5
5
  /**
6
6
  * Represents the Squid query context.
7
7
  * Passed to methods that require query details, such as those annotated with the `@secureCollection` annotation.
@@ -1,11 +1,11 @@
1
1
  import { AgentContextRequest, AiAgent, AiAgentContext, AiAudioCreateSpeechOptions, AiChatModelName, AiChatOptions, AiContextMetadata, AiContextMetadataFilter, AiEmbeddingsModelName, AiGenerateImageOptions, AiProviderType, AiSearchOptions, AiSearchResultChunk, AllAiAgentChatOptions, ApplicationAiSettings } from '../public-types/ai-agent.public-types';
2
- import { AiAgentId, AppId, ClientRequestId } from '../public-types/communication.public-types';
3
2
  import { AiFunctionId } from '../public-types/backend.public-types';
3
+ import { AiAgentId, AppId, ClientRequestId } from '../public-types/communication.public-types';
4
4
  import { SecretKey } from '../public-types/secret.public-types';
5
- type ModelDataType = {
5
+ export type ModelDataType = {
6
6
  maxTokens: number;
7
7
  };
8
- export declare const AiModelData: Record<AiChatModelName, ModelDataType>;
8
+ export declare const AiVendorModelData: Record<AiChatModelName, ModelDataType>;
9
9
  export declare const AiEmbeddingModelData: Record<AiEmbeddingsModelName, ModelDataType>;
10
10
  export interface AiChatRequest {
11
11
  agentId: AiAgentId;
@@ -153,4 +153,3 @@ export interface UpdateApplicationAiSettingsWebhookPayload {
153
153
  appId: AppId;
154
154
  aiSettings: ApplicationAiSettings;
155
155
  }
156
- export {};
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Stage of the Squid deployment:
3
+ * - 'local' - Squid is run locally.
4
+ * - 'prod' - Production environment (https://console.getsquid.ai).
5
+ * - 'sandbox' - One of the sandbox environments (https://console.sandbox.squid.cloud).
6
+ * - 'staging' - One of the staging environments (https://console.staging.squid.cloud).
7
+ */
8
+ export declare const STAGES: readonly ["local", "prod", "sandbox", "staging"];
9
+ export type Stage = (typeof STAGES)[number];
@@ -1,2 +1,5 @@
1
+ import { AppId } from '../public-types/communication.public-types';
2
+ import { Stage } from '../types/stage';
1
3
  export declare const KOTLIN_CONTROLLERS: string[];
2
- export declare function getApplicationUrl(regionPrefix: string, appId: string, path: string): string;
4
+ export declare function getEnvironmentPrefix(shard: string | undefined, region: string, cloudId: string, stage: Stage): string;
5
+ export declare function getApplicationUrl(environmentPrefix: string, appId: string, path: string, appIdPlaceholder?: AppId, environmentPrefixPlaceholder?: string): string;
@@ -27,6 +27,8 @@ export declare function cloneDeep<R = unknown>(value: R, customizer?: CloneCusto
27
27
  /** Creates a shallow clone of the object. */
28
28
  export declare function cloneShallow<T>(value: T): T;
29
29
  export declare function deepMerge<T extends object, U extends object>(target: T, source: U): T & U;
30
+ /** Returns true if the `value` is a defined object and is not an array. */
31
+ export declare function isPlainObject(value: unknown): value is object;
30
32
  /** Compares 2 values. 'null' and 'undefined' values are considered equal and are less than any other values. */
31
33
  export declare function compareValues(v1: unknown, v2: unknown): number;
32
34
  /** Returns a new object with all top-level object fields re-mapped using `valueMapperFn`. */
@@ -48,4 +50,8 @@ export declare function invert<K extends string | number, V extends string | num
48
50
  */
49
51
  export declare function range(start: number, end: number, step: number, maximumNumberOfItems?: number): number[];
50
52
  /** Returns count of top level properties in object. */
51
- export declare function countObjectKeys(obj: object): number;
53
+ export declare function countObjectKeys(obj: object | undefined): number;
54
+ /** Returns object entries sorted by name. */
55
+ export declare function getSortedEntries<T>(record: Record<string, T>): Array<[string, T]>;
56
+ /** Removes top level fields which are empty objects. May be used for value formatting. */
57
+ export declare function removeEmptyTopLevelRecords<T extends object>(record: T): Partial<T>;
@@ -6,5 +6,6 @@ export declare function decodeValueForMapping(encodedString: string): any;
6
6
  /**
7
7
  * Compares 2 objects by their normalized JSON value.
8
8
  * This function should not be used with objects with circular references.
9
+ * Returns true if the object are equal.
9
10
  */
10
11
  export declare function compareByNormalizedJsonValue<T>(a: T, b: T): boolean;
@@ -1,5 +1,5 @@
1
- import { AgentContextRequest, AiAgent, AiAgentContext, AiChatModelName, AiConnectedAgentMetadata, AiObserveStatusOptions, AiSearchOptions, AiSearchResultChunk, AiStatusMessage, AiTranscribeAndAskResponse, GuardrailsOptions, UpsertAgentRequest } from '../../../internal-common/src/public-types/ai-agent.public-types';
2
1
  import { Observable } from 'rxjs';
2
+ import { AgentContextRequest, AiAgent, AiAgentContext, AiChatModelName, AiConnectedAgentMetadata, AiObserveStatusOptions, AiSearchOptions, AiSearchResultChunk, AiStatusMessage, AiTranscribeAndAskResponse, GuardrailsOptions, UpsertAgentRequest } from '../../../internal-common/src/public-types/ai-agent.public-types';
3
3
  import { AiAskOptions, AiAskOptionsWithVoice, AiChatOptionsWithoutVoice, AskWithVoiceResponse, TranscribeAndAskWithVoiceResponse, TranscribeAndChatResponse } from './ai-agent-client.types';
4
4
  /**
5
5
  * Parameters for creating or updating an AI agent.
@@ -1,5 +1,5 @@
1
- import { AiChatModelName, AiChatOptions } from '../../../internal-common/src/public-types/ai-agent.public-types';
2
1
  import { Observable } from 'rxjs';
2
+ import { AiChatModelName, AiChatOptions } from '../../../internal-common/src/public-types/ai-agent.public-types';
3
3
  /**
4
4
  * Response format for transcribing audio and generating a chat response.
5
5
  * Contains the transcribed text and a stream of AI-generated responses.
@@ -1,10 +1,10 @@
1
+ import { AiAgentReference } from './agent/ai-agent-client-reference';
1
2
  import { AiAssistantClient } from './ai-assistant-client';
2
- import { AiAgent, AiAgentId, AiProviderType, ApplicationAiSettings, IntegrationId, SecretKey } from './public-types';
3
- import { AiImageClient } from './ai-image-client';
4
3
  import { AiAudioClient } from './ai-audio-client';
4
+ import { AiImageClient } from './ai-image-client';
5
5
  import { AiMatchMakingClient } from './ai-matchmaking-client';
6
6
  import { ExecuteAiApiResponse, ExecuteAiQueryMultiResponse, ExecuteAiQueryOptions, ExecuteAiQueryResponse } from './ai.types';
7
- import { AiAgentReference } from './agent/ai-agent-client-reference';
7
+ import { AiAgent, AiAgentId, AiProviderType, ApplicationAiSettings, IntegrationId, SecretKey } from './public-types';
8
8
  /**
9
9
  * AiClient class serves as a facade for interacting with different AI services.
10
10
  * It provides simplified access to AI chatbot and assistant functionalities
@@ -1,7 +1,7 @@
1
- import { IntegrationId } from '../../internal-common/src/public-types/communication.public-types';
1
+ import { ApiOptions } from '../../internal-common/src/public-types/api-client.public-types';
2
2
  import { ApiEndpointId, HttpMethod } from '../../internal-common/src/public-types/api.public-types';
3
+ import { IntegrationId } from '../../internal-common/src/public-types/communication.public-types';
3
4
  import { HttpResponse } from './squid-http-client';
4
- import { ApiOptions } from '../../internal-common/src/public-types/api-client.public-types';
5
5
  /**
6
6
  * ApiClient facilitates making HTTP API requests to external integrations,
7
7
  * supporting various HTTP methods such as GET, POST, PUT, PATCH, and DELETE.
@@ -1,5 +1,5 @@
1
- import { Alias, DocIdOrDocIdObj, DocumentData } from './public-types';
2
1
  import { DocumentReference } from './document-reference';
2
+ import { Alias, DocIdOrDocIdObj, DocumentData } from './public-types';
3
3
  import { JoinQueryBuilder } from './query/join-query-builder.factory';
4
4
  import { QueryBuilder } from './query/query-builder.factory';
5
5
  import { SnapshotEmitter } from './query/snapshot-emitter';
@@ -1,7 +1,7 @@
1
- import { DocumentData } from './public-types';
2
1
  import { Observable } from 'rxjs';
3
- import { TransactionId } from './types';
4
2
  import { DeepRecord, Paths } from '../../internal-common/src/public-types/typescript.public-types';
3
+ import { DocumentData } from './public-types';
4
+ import { TransactionId } from './types';
5
5
  /**
6
6
  * Holds a reference to a document. A document reference is a reference to a specific record in a collection. You can
7
7
  * use it to read or write data to the document. A document can refer to a row in a table in a relational database or a
@@ -1,57 +1,56 @@
1
- export * from './ai-assistant-client';
1
+ export * from './admin-client';
2
2
  export * from './agent/ai-agent-client';
3
- export * from './ai-image-client';
3
+ export * from './agent/ai-agent-client-reference';
4
+ export * from './agent/ai-agent-client.types';
5
+ export * from './ai-assistant-client';
4
6
  export * from './ai-audio-client';
7
+ export * from './ai-client';
8
+ export * from './ai-image-client';
9
+ export * from './ai-matchmaking-client';
5
10
  export * from './ai.types';
6
11
  export * from './api-client';
7
12
  export * from './auth.manager';
8
13
  export * from './backend-function.manager';
9
14
  export * from './client-id.service';
10
- export * from './collection-reference.factory';
11
15
  export * from './collection-reference';
16
+ export * from './collection-reference.factory';
12
17
  export * from './connection-details';
18
+ export * from './console-utils';
13
19
  export * from './data.manager';
14
20
  export * from './destruct.manager';
15
21
  export * from './distributed-lock.manager';
16
22
  export * from './document-identity.service';
17
- export * from './document-reference.factory';
18
23
  export * from './document-reference';
24
+ export * from './document-reference.factory';
19
25
  export * from './document-store';
20
26
  export * from './execute-function-options';
27
+ export * from './extraction-client';
28
+ export * from './file-utils';
29
+ export * from './integration-client';
21
30
  export * from './mutation/mutation-sender';
22
31
  export * from './native-query-manager';
32
+ export * from './observability-client';
33
+ export * from './personal-storage-client';
23
34
  export * from './public-types';
24
35
  export * from './public-utils';
25
36
  export * from './query-utils';
26
37
  export * from './query/deserializer';
27
38
  export * from './query/join-query-builder.factory';
28
39
  export * from './query/local-query-manager';
40
+ export * from './query/pagination';
29
41
  export * from './query/query-builder.factory';
30
42
  export * from './query/query-sender';
31
43
  export * from './query/query-subscription.manager';
32
44
  export * from './query/query.types';
33
- export * from './query/pagination';
34
45
  export * from './query/snapshot-emitter';
35
46
  export * from './queue.manager';
36
47
  export * from './rate-limiter';
37
48
  export * from './rpc.manager';
38
- export * from './observability-client';
39
- export * from './secret.client';
40
49
  export * from './scheduler-client';
41
- export * from './integration-client';
50
+ export * from './secret.client';
42
51
  export * from './socket.manager';
43
- export * from './squid-http-client';
44
52
  export * from './squid';
45
- export * from './types';
53
+ export * from './squid-http-client';
46
54
  export * from './storage-client';
47
- export * from './personal-storage-client';
48
- export * from './extraction-client';
49
- export * from './file-utils';
50
- export * from './ai-matchmaking-client';
51
- export * from './admin-client';
52
- export * from './console-utils';
53
- export * from './ai-client';
54
- export * from './agent/ai-agent-client';
55
- export * from './agent/ai-agent-client.types';
56
- export * from './agent/ai-agent-client-reference';
55
+ export * from './types';
57
56
  export * from './web-client';
@@ -1,25 +1,25 @@
1
1
  export * from '../../internal-common/src/public-types/ai-agent-integrations.public-types';
2
- export * from '../../internal-common/src/public-types/ai-assistant.public-types';
3
2
  export * from '../../internal-common/src/public-types/ai-agent.public-types';
3
+ export * from '../../internal-common/src/public-types/ai-assistant.public-types';
4
+ export * from '../../internal-common/src/public-types/ai-matchmaking.public-types';
4
5
  export * from '../../internal-common/src/public-types/api-client.public-types';
6
+ export * from '../../internal-common/src/public-types/api.public-types';
7
+ export * from '../../internal-common/src/public-types/backend.public-types';
5
8
  export * from '../../internal-common/src/public-types/code-executor.public-types';
6
9
  export * from '../../internal-common/src/public-types/communication.public-types';
7
10
  export * from '../../internal-common/src/public-types/context.public-types';
8
11
  export * from '../../internal-common/src/public-types/document.public-types';
12
+ export * from '../../internal-common/src/public-types/extraction.public-types';
9
13
  export * from '../../internal-common/src/public-types/http-status.public-types';
10
14
  export * from '../../internal-common/src/public-types/integration.public-types';
11
- export * from '../../internal-common/src/public-types/api.public-types';
12
15
  export * from '../../internal-common/src/public-types/metric.public-types';
13
16
  export * from '../../internal-common/src/public-types/openapi.public-types';
14
17
  export * from '../../internal-common/src/public-types/query.public-types';
15
18
  export * from '../../internal-common/src/public-types/regions.public-types';
19
+ export * from '../../internal-common/src/public-types/scheduler.public-types';
16
20
  export * from '../../internal-common/src/public-types/schema.public-types';
17
21
  export * from '../../internal-common/src/public-types/secret.public-types';
18
22
  export * from '../../internal-common/src/public-types/serialized-query.public-types';
19
- export * from '../../internal-common/src/public-types/scheduler.public-types';
20
23
  export * from '../../internal-common/src/public-types/socket.public-types';
21
24
  export * from '../../internal-common/src/public-types/typescript.public-types';
22
- export * from '../../internal-common/src/public-types/extraction.public-types';
23
- export * from '../../internal-common/src/public-types/ai-matchmaking.public-types';
24
- export * from '../../internal-common/src/public-types/backend.public-types';
25
25
  export * from '../../internal-common/src/public-types/web.public-types';
@@ -1,5 +1,5 @@
1
- import { Squid } from '../squid';
2
1
  import { SerializedQuery } from '../public-types';
2
+ import { Squid } from '../squid';
3
3
  import { SnapshotEmitter } from './snapshot-emitter';
4
4
  /**
5
5
  * Deserialize a serialized query into a snapshot emitter.
@@ -1,8 +1,8 @@
1
1
  import { Observable } from 'rxjs';
2
2
  import { DocumentReference } from '../document-reference';
3
- import { BaseQueryBuilder, HasDereference, QueryBuilder } from './query-builder.factory';
4
3
  import { Alias, DocumentData, FieldName, FieldSort, Operator, PrimitiveFieldType, Query, SerializedJoinQuery, SimpleCondition } from '../public-types';
5
4
  import { Pagination, PaginationOptions } from './pagination';
5
+ import { BaseQueryBuilder, HasDereference, QueryBuilder } from './query-builder.factory';
6
6
  import { SnapshotEmitter } from './snapshot-emitter';
7
7
  /**
8
8
  * Represents the result of a join query where each property is a document reference,
@@ -1,19 +1,19 @@
1
+ import { AdminClient } from './admin-client';
2
+ import { AiClient } from './ai-client';
1
3
  import { ApiClient } from './api-client';
2
4
  import { CollectionReference } from './collection-reference';
3
5
  import { ConnectionDetails } from './connection-details';
4
6
  import { DistributedLock } from './distributed-lock.manager';
7
+ import { ExecuteFunctionOptions } from './execute-function-options';
8
+ import { ExtractionClient } from './extraction-client';
9
+ import { ObservabilityClient } from './observability-client';
10
+ import { PersonalStorageClient } from './personal-storage-client';
5
11
  import { ApiKey, AppId, CollectionName, DocumentData, EnvironmentId, IntegrationId, SquidDeveloperId, SquidRegion } from './public-types';
6
12
  import { QueueManager } from './queue.manager';
13
+ import { SchedulerClient } from './scheduler-client';
7
14
  import { StorageClient } from './storage-client';
8
15
  import { TransactionId } from './types';
9
- import { ObservabilityClient } from './observability-client';
10
- import { ExtractionClient } from './extraction-client';
11
- import { PersonalStorageClient } from './personal-storage-client';
12
- import { SchedulerClient } from './scheduler-client';
13
- import { AdminClient } from './admin-client';
14
- import { AiClient } from './ai-client';
15
16
  import { WebClient } from './web-client';
16
- import { ExecuteFunctionOptions } from './execute-function-options';
17
17
  /**
18
18
  * The different options that can be used to initialize a Squid instance.
19
19
  * @category Platform
@@ -2,4 +2,4 @@
2
2
  * The current version of the SquidCloud client package.
3
3
  * @category Platform
4
4
  */
5
- export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.367";
5
+ export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.369";
@@ -1,4 +1,4 @@
1
- import { WebAiSearchResponse, WebShortUrlResponse, WebShortUrlBulkResponse } from '../../internal-common/src/public-types/web.public-types';
1
+ import { WebAiSearchResponse, WebShortUrlBulkResponse, WebShortUrlResponse } from '../../internal-common/src/public-types/web.public-types';
2
2
  /**
3
3
  * WebClient provides methods to interact with web-related functionalities.
4
4
  * @category Platform
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/client",
3
- "version": "1.0.367",
3
+ "version": "1.0.369",
4
4
  "description": "A typescript implementation of the Squid client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",