@squidcloud/client 1.0.494 → 1.0.495
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/esm/index.js +1 -1
- package/dist/internal-common/src/public-types/ai-knowledge-base.public-types.d.ts +11 -4
- package/dist/internal-common/src/types/observability.types.d.ts +1 -0
- package/dist/typescript-client/src/document-reference.d.ts +1 -0
- package/dist/typescript-client/src/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1871,11 +1871,18 @@ export interface BulkIngestionFileStatus {
|
|
|
1871
1871
|
* bytes exceed what the extraction provider accepts) and `'UNSUPPORTED_FILE_TYPE'`.
|
|
1872
1872
|
* `'DUPLICATE_CONTENT'` is a skip rather than a failure: the KB already holds this content.
|
|
1873
1873
|
* `'EXTRACTION_TIMED_OUT'` stays retryable — the deadline is contended, so a borderline document can
|
|
1874
|
-
* cross it under load. `'
|
|
1875
|
-
*
|
|
1876
|
-
*
|
|
1874
|
+
* cross it under load. So do `'SOURCE_UNREACHABLE'` (the provider could not fetch the source, which a
|
|
1875
|
+
* fresh link can fix) and `'PROVIDER_ACCESS_DENIED'` (the provider refused the credential or its quota is
|
|
1876
|
+
* spent, a fault of the environment). `'JOB_FULL'`: the job's request ceiling had no room left for this
|
|
1877
|
+
* file, so re-submit it in a fresh job; a file that alone exceeds the ceiling fails this way in every job.
|
|
1878
|
+
* Additive; absent for ordinary failures.
|
|
1877
1879
|
*/
|
|
1878
|
-
errorCode?: 'CONTENT_TOO_LARGE' | 'DUPLICATE_CONTENT' | 'ENCRYPTED_DOCUMENT' | 'EXTRACTION_TIMED_OUT' | 'JOB_FULL' | 'NO_EMBEDDABLE_CONTENT' | 'SOURCE_OVER_PROVIDER_LIMIT' | 'UNSUPPORTED_FILE_TYPE';
|
|
1880
|
+
errorCode?: 'CONTENT_TOO_LARGE' | 'DUPLICATE_CONTENT' | 'ENCRYPTED_DOCUMENT' | 'EXTRACTION_TIMED_OUT' | 'JOB_FULL' | 'NO_EMBEDDABLE_CONTENT' | 'PROVIDER_ACCESS_DENIED' | 'SOURCE_OVER_PROVIDER_LIMIT' | 'SOURCE_UNREACHABLE' | 'UNSUPPORTED_FILE_TYPE';
|
|
1881
|
+
/**
|
|
1882
|
+
* Present only on a failed file an extraction provider answered: a stable fingerprint of that answer
|
|
1883
|
+
* (provider, HTTP status and provider code), so a caller can tell the same failure repeating from a new one.
|
|
1884
|
+
*/
|
|
1885
|
+
errorSignature?: string;
|
|
1879
1886
|
/**
|
|
1880
1887
|
* Present only on a failed file: the same bytes fail the same way, so a caller must park the file
|
|
1881
1888
|
* instead of re-submitting it. Absence means retryable.
|
|
@@ -6,6 +6,7 @@ export interface ObservableNameMetrics {
|
|
|
6
6
|
}
|
|
7
7
|
export declare const ObservableNames: {
|
|
8
8
|
readonly nativeQuery: ObservableNameMetrics;
|
|
9
|
+
readonly registerQuery: ObservableNameMetrics;
|
|
9
10
|
readonly query: ObservableNameMetrics;
|
|
10
11
|
readonly mutate: ObservableNameMetrics;
|
|
11
12
|
readonly functionExecution: ObservableNameMetrics;
|
|
@@ -18,6 +18,7 @@ export declare class DocumentReference<T extends DocumentData = any> {
|
|
|
18
18
|
private readonly dataManager;
|
|
19
19
|
private readonly queryBuilderFactory;
|
|
20
20
|
private readonly projectFields?;
|
|
21
|
+
private readonly identityReference?;
|
|
21
22
|
/** A string that uniquely identifies this document reference. */
|
|
22
23
|
refId: string;
|
|
23
24
|
/**
|