@iblai/data-layer 1.25.0 → 1.26.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/data-layer",
3
- "version": "1.24.0",
3
+ "version": "1.25.1",
4
4
  "description": "ibl.ai data layer",
5
5
  "main": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",
@@ -7,16 +7,25 @@ export interface PlatformMembershipConfigResponse {
7
7
  platform_key: string;
8
8
  platform_name: string;
9
9
  allow_self_linking: boolean;
10
+ /** When true, the tenant opts into SEO discoverability (crawlable public
11
+ * course/program/pathway pages + inclusion in the sitemap). */
12
+ allow_seo_discoverability?: boolean;
10
13
  created: string;
11
14
  modified: string;
12
15
  }
13
16
  export interface PlatformMembershipConfigPostRequest {
14
17
  platform_key: string;
15
- allow_self_linking: boolean;
18
+ /** Optional so a single flag can be toggled without resetting the others
19
+ * (the endpoint merges). */
20
+ allow_self_linking?: boolean;
21
+ allow_seo_discoverability?: boolean;
16
22
  }
17
23
  export interface PublicPlatformMembershipConfigResponse {
18
24
  platform_key: string;
19
25
  allow_self_linking: boolean;
26
+ /** Exposed publicly (no auth) so apps and the sitemap can tell which tenants
27
+ * opted into SEO discoverability. */
28
+ allow_seo_discoverability?: boolean;
20
29
  }
21
30
  export interface PlatformImageAsset {
22
31
  id: number;
@@ -42,6 +42,10 @@ export type UserChatHistorySession = {
42
42
  message_count_ai?: number;
43
43
  positive_feedback_count?: number;
44
44
  negative_feedback_count?: number;
45
+ /** Whether canvas/artifacts are enabled on the session (session detail only). */
46
+ enable_artifacts?: boolean;
47
+ /** Ids of the tools active on the session (session detail only). */
48
+ tools?: number[];
45
49
  };
46
50
  export type UserChatHistoryResponse = {
47
51
  count: number;