@iblai/data-layer 1.24.0 → 1.25.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iblai/data-layer",
3
- "version": "1.23.0",
3
+ "version": "1.25.0",
4
4
  "description": "ibl.ai data layer",
5
5
  "main": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",
@@ -3,8 +3,9 @@ export type { DomainRecord };
3
3
  /**
4
4
  * A deployed app. `site_url` is the address to show the user and is final as
5
5
  * soon as the deploy is accepted — never build a host from `name`.
6
- * `shared_domain` is that same host on its own when the platform assigned it
7
- * automatically, and empty when the app is served at a custom domain.
6
+ * `shared_domain` is that same host on its own when it is the subdomain chosen
7
+ * under the platform's shared domain, and empty when the app is served at a
8
+ * custom domain.
8
9
  */
9
10
  export interface HostingProject {
10
11
  id: number;
@@ -68,10 +69,16 @@ export interface CreateHostingProjectDomainArgs {
68
69
  username: string;
69
70
  project: number;
70
71
  /**
71
- * Omit to have the platform assign a subdomain of its shared zone. That path
72
- * answers 503 on an instance where no shared zone is configured.
72
+ * Exactly one of `domain` and `subdomain`. `domain` is a domain the
73
+ * organization owns; `subdomain` is one label under the platform's shared
74
+ * domain, chosen like a username (`^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`).
75
+ * The backend refuses a body with neither (400, a `subdomain` field error —
76
+ * it never invents an address), answers 409 when the subdomain is taken, 200
77
+ * when the app already has it, and 503 when no shared domain is on offer for
78
+ * this organization.
73
79
  */
74
80
  domain?: string;
81
+ subdomain?: string;
75
82
  }
76
83
  export interface DeleteHostingProjectDomainArgs {
77
84
  org: string;
@@ -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;