@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.
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/types/MessageCard.d.ts +5 -2
- package/dist/cjs/api/types/MessageCardJsonData.d.ts +1 -3
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/Client.mjs +2 -2
- package/dist/esm/api/types/MessageCard.d.mts +5 -2
- package/dist/esm/api/types/MessageCardJsonData.d.mts +1 -3
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/Client.js
CHANGED
|
@@ -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.
|
|
66
|
-
"User-Agent": "@aui.io/aui-client/3.3.
|
|
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
|
|
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>;
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.3.
|
|
1
|
+
export declare const SDK_VERSION = "3.3.1";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -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.
|
|
30
|
-
"User-Agent": "@aui.io/aui-client/3.3.
|
|
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
|
|
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>;
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "3.3.
|
|
1
|
+
export declare const SDK_VERSION = "3.3.1";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "3.3.
|
|
1
|
+
export const SDK_VERSION = "3.3.1";
|