@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.
@@ -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. `'JOB_FULL'`: the job's request ceiling had no room left for this file, so re-submit it
1875
- * in a fresh job; a file that alone exceeds the ceiling fails this way in every job. Additive; absent for
1876
- * ordinary failures.
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
  /**
@@ -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.494";
5
+ export declare const SQUIDCLOUD_CLIENT_PACKAGE_VERSION = "1.0.495";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@squidcloud/client",
3
- "version": "1.0.494",
3
+ "version": "1.0.495",
4
4
  "description": "A typescript implementation of the Squid client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",