@iblai/data-layer 1.35.0 → 1.37.0
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 +6 -0
- package/dist/index.esm.js +3 -0
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/src/features/chat-files/__tests__/api-slice.test.d.ts +1 -0
- package/dist/src/features/tenant/types.d.ts +6 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -18882,6 +18882,12 @@ interface Tenant {
|
|
|
18882
18882
|
active: boolean;
|
|
18883
18883
|
name: string;
|
|
18884
18884
|
platform_name: string;
|
|
18885
|
+
/**
|
|
18886
|
+
* Per-tenant metadata the platforms list embeds (support/help/chat/spa_domains
|
|
18887
|
+
* /onboarding/etc.). Present on `/api/core/users/platforms/`, so consumers read
|
|
18888
|
+
* it here instead of a separate per-org `/metadata/` call.
|
|
18889
|
+
*/
|
|
18890
|
+
metadata?: Record<string, any>;
|
|
18885
18891
|
}
|
|
18886
18892
|
|
|
18887
18893
|
declare const tenantApiSlice: _reduxjs_toolkit_query.Api<_reduxjs_toolkit_query.BaseQueryFn<void, unknown, unknown, {
|
package/dist/index.esm.js
CHANGED
|
@@ -40165,6 +40165,9 @@ const chatFilesApiSlice = createApi({
|
|
|
40165
40165
|
method: 'POST',
|
|
40166
40166
|
body: requestBody,
|
|
40167
40167
|
service: SERVICES.DM,
|
|
40168
|
+
// A thrown error reaches the caller as `{}`; the chat needs the 400
|
|
40169
|
+
// body to tell an agent's file-type refusal from other failures.
|
|
40170
|
+
returnErrorStatuses: [400],
|
|
40168
40171
|
}),
|
|
40169
40172
|
}),
|
|
40170
40173
|
}),
|