@aui.io/aui-client 3.3.0 → 3.3.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.
@@ -62,8 +62,8 @@ class ApolloClient {
62
62
  "x-organization-api-key": _options === null || _options === void 0 ? void 0 : _options.organizationApiKey,
63
63
  "X-Fern-Language": "JavaScript",
64
64
  "X-Fern-SDK-Name": "@aui.io/aui-client",
65
- "X-Fern-SDK-Version": "3.3.0",
66
- "User-Agent": "@aui.io/aui-client/3.3.0",
65
+ "X-Fern-SDK-Version": "3.3.1",
66
+ "User-Agent": "@aui.io/aui-client/3.3.1",
67
67
  "X-Fern-Runtime": core.RUNTIME.type,
68
68
  "X-Fern-Runtime-Version": core.RUNTIME.version,
69
69
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -1,7 +1,10 @@
1
+ import type * as Apollo from "../index.js";
2
+ /**
3
+ * One entity card in the agent's reply, in two self-contained representations: `rendered_jsx` (ready-to-render JSX for React UIs) and `json_data` (the same card as structured JSON, for any other framework).
4
+ */
1
5
  export interface MessageCard {
2
- name?: string;
3
- category?: string;
4
6
  rendered_jsx?: string;
5
7
  is_recommended?: boolean;
6
8
  index?: number;
9
+ json_data?: Apollo.MessageCardJsonData;
7
10
  }
@@ -1,8 +1,6 @@
1
1
  import type * as Apollo from "../index.js";
2
2
  /**
3
- * Structured, self-contained form of the card the JSON counterpart to
4
- * ``rendered_jsx``. ``entity`` is the card's own flat {code: value} map;
5
- * ``sub_entities`` holds its variant groups.
3
+ * Structured form of the card. `entity` is a flat {code: value} map of the card's fields; `sub_entities` holds nested groups such as product variants. Keys are defined by the agent's card templates.
6
4
  */
7
5
  export interface MessageCardJsonData {
8
6
  entity?: Record<string, unknown>;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.3.0";
1
+ export declare const SDK_VERSION = "3.3.1";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "3.3.0";
4
+ exports.SDK_VERSION = "3.3.1";
@@ -26,8 +26,8 @@ export class ApolloClient {
26
26
  "x-organization-api-key": _options === null || _options === void 0 ? void 0 : _options.organizationApiKey,
27
27
  "X-Fern-Language": "JavaScript",
28
28
  "X-Fern-SDK-Name": "@aui.io/aui-client",
29
- "X-Fern-SDK-Version": "3.3.0",
30
- "User-Agent": "@aui.io/aui-client/3.3.0",
29
+ "X-Fern-SDK-Version": "3.3.1",
30
+ "User-Agent": "@aui.io/aui-client/3.3.1",
31
31
  "X-Fern-Runtime": core.RUNTIME.type,
32
32
  "X-Fern-Runtime-Version": core.RUNTIME.version,
33
33
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -1,7 +1,10 @@
1
+ import type * as Apollo from "../index.mjs";
2
+ /**
3
+ * One entity card in the agent's reply, in two self-contained representations: `rendered_jsx` (ready-to-render JSX for React UIs) and `json_data` (the same card as structured JSON, for any other framework).
4
+ */
1
5
  export interface MessageCard {
2
- name?: string;
3
- category?: string;
4
6
  rendered_jsx?: string;
5
7
  is_recommended?: boolean;
6
8
  index?: number;
9
+ json_data?: Apollo.MessageCardJsonData;
7
10
  }
@@ -1,8 +1,6 @@
1
1
  import type * as Apollo from "../index.mjs";
2
2
  /**
3
- * Structured, self-contained form of the card the JSON counterpart to
4
- * ``rendered_jsx``. ``entity`` is the card's own flat {code: value} map;
5
- * ``sub_entities`` holds its variant groups.
3
+ * Structured form of the card. `entity` is a flat {code: value} map of the card's fields; `sub_entities` holds nested groups such as product variants. Keys are defined by the agent's card templates.
6
4
  */
7
5
  export interface MessageCardJsonData {
8
6
  entity?: Record<string, unknown>;
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "3.3.0";
1
+ export declare const SDK_VERSION = "3.3.1";
@@ -1 +1 @@
1
- export const SDK_VERSION = "3.3.0";
1
+ export const SDK_VERSION = "3.3.1";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aui.io/aui-client",
3
- "version": "3.3.0",
3
+ "version": "3.3.1",
4
4
  "private": false,
5
5
  "repository": "github:aui-io/aui-client-typescript",
6
6
  "type": "commonjs",