@iblai/data-layer 1.13.3 → 1.13.5
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/index.d.ts +16 -2
- package/dist/index.esm.js +29 -7
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +29 -6
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/constants.d.ts +13 -0
- package/dist/src/features/credentials/types.d.ts +2 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/package.json
CHANGED
package/dist/src/constants.d.ts
CHANGED
|
@@ -30,3 +30,16 @@ export declare enum SERVICES {
|
|
|
30
30
|
AXD = "AXD",
|
|
31
31
|
STUDIO = "STUDIO"
|
|
32
32
|
}
|
|
33
|
+
/**
|
|
34
|
+
* Client errors a retry cannot fix.
|
|
35
|
+
*
|
|
36
|
+
* These reject the request for what it IS — unauthenticated, forbidden,
|
|
37
|
+
* malformed — not for anything transient. Sending it again unchanged produces
|
|
38
|
+
* the same answer, just later, while multiplying load behind a failure the
|
|
39
|
+
* user is already waiting on. A 401 in particular must surface promptly so the
|
|
40
|
+
* token-refresh path can act on it rather than being buried under backoff.
|
|
41
|
+
*
|
|
42
|
+
* Shared so every retry policy agrees; individual call sites add their own
|
|
43
|
+
* extras (a 402 payment block, a 500 an endpoint treats as terminal).
|
|
44
|
+
*/
|
|
45
|
+
export declare const NEVER_RETRY_STATUSES: number[];
|
|
@@ -2,6 +2,7 @@ import { Assertion, Issuer } from '@iblai/iblai-api';
|
|
|
2
2
|
export interface CredentialsSchema {
|
|
3
3
|
name: string;
|
|
4
4
|
schema: Record<string, string>;
|
|
5
|
+
service_info?: LLMServiceInfo;
|
|
5
6
|
}
|
|
6
7
|
export interface IntegrationCredentialsSchemaField {
|
|
7
8
|
type: string;
|
|
@@ -16,7 +17,7 @@ export interface LLMServiceInfo {
|
|
|
16
17
|
id: number;
|
|
17
18
|
name: string;
|
|
18
19
|
display_name: string;
|
|
19
|
-
logo
|
|
20
|
+
logo?: string | null;
|
|
20
21
|
}
|
|
21
22
|
export interface MaskLLM {
|
|
22
23
|
name: string;
|