@iblai/data-layer 1.28.0 → 1.29.1
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 +12 -12
- package/dist/index.esm.js +8 -6
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +8 -6
- package/dist/index.js.map +1 -1
- package/dist/package.json +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -42298,7 +42298,8 @@ const chatPrivacyApiSlice = react.createApi({
|
|
|
42298
42298
|
reducerPath: 'chatPrivacyApiSlice',
|
|
42299
42299
|
// Callers read the failure itself: the 403 a locked mentor answers to a
|
|
42300
42300
|
// `disable-chathistory` flip carries its reason in `data.detail`, and the
|
|
42301
|
-
//
|
|
42301
|
+
// 400 refusing to re-enable an orphaned session carries it under the field
|
|
42302
|
+
// name. `iblFetchBaseQuery` throws
|
|
42302
42303
|
// its errors, which reach `.unwrap()` and the hooks as `{}`.
|
|
42303
42304
|
baseQuery: withReturnedErrors(iblFetchBaseQuery),
|
|
42304
42305
|
tagTypes: ['TenantChatPrivacyConfig', 'UserChatPrivacySettings', 'ChatPrivacyEffective'],
|
|
@@ -42350,10 +42351,11 @@ const chatPrivacyApiSlice = react.createApi({
|
|
|
42350
42351
|
},
|
|
42351
42352
|
providesTags: ['ChatPrivacyEffective'],
|
|
42352
42353
|
}),
|
|
42353
|
-
//
|
|
42354
|
-
//
|
|
42355
|
-
//
|
|
42356
|
-
//
|
|
42354
|
+
// Two-way flip. `true` stops saving new messages; a session that already
|
|
42355
|
+
// has history keeps its owner (stays listed), an EMPTY one is orphaned
|
|
42356
|
+
// (backend nulls Session.student). `false` resumes history on the same
|
|
42357
|
+
// session, refused only for an orphaned session (400 for an admin, 404
|
|
42358
|
+
// for its own user — the ownership check fails first).
|
|
42357
42359
|
//
|
|
42358
42360
|
// Important — this endpoint lives under `/api/ai-mentor/…`, NOT under
|
|
42359
42361
|
// `/api/ai-account/…` like the other chat-privacy endpoints. The
|
|
@@ -46570,7 +46572,7 @@ const CUSTOM_DOMAIN_REDUCER_PATH = 'customDomainApiSlice';
|
|
|
46570
46572
|
const CUSTOM_DOMAIN_ENDPOINTS = {
|
|
46571
46573
|
GET_CUSTOM_DOMAINS: {
|
|
46572
46574
|
service: exports.SERVICES.DM,
|
|
46573
|
-
path: () => `/api/custom-domains
|
|
46575
|
+
path: () => `/api/custom-domains/`,
|
|
46574
46576
|
},
|
|
46575
46577
|
CREATE_CUSTOM_DOMAIN: {
|
|
46576
46578
|
service: exports.SERVICES.DM,
|