@aui.io/aui-client 1.2.29 → 1.2.30

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/README.md CHANGED
@@ -31,6 +31,11 @@ const azureClient = new ApolloClient({
31
31
  environment: ApolloEnvironment.Azure,
32
32
  networkApiKey: 'API_KEY_YOUR_KEY_HERE'
33
33
  });
34
+
35
+ const awsClient = new ApolloClient({
36
+ environment: ApolloEnvironment.Aws,
37
+ networkApiKey: 'API_KEY_YOUR_KEY_HERE'
38
+ });
34
39
  ```
35
40
 
36
41
 
@@ -176,6 +181,12 @@ ApolloEnvironment.Azure = {
176
181
  wsUrl: "wss://azure-v2.aui.io" // WebSocket
177
182
  }
178
183
 
184
+ // AWS Environment
185
+ ApolloEnvironment.Aws = {
186
+ base: "https://aws.aui.io/ia-controller", // REST API
187
+ wsUrl: "wss://aws.aui.io" // WebSocket
188
+ }
189
+
179
190
  // Default (same as Gcp)
180
191
  ApolloEnvironment.Default = {
181
192
  base: "https://api.aui.io/ia-controller",
@@ -45,8 +45,8 @@ class ApolloClient {
45
45
  "x-network-api-key": _options === null || _options === void 0 ? void 0 : _options.networkApiKey,
46
46
  "X-Fern-Language": "JavaScript",
47
47
  "X-Fern-SDK-Name": "@aui.io/aui-client",
48
- "X-Fern-SDK-Version": "1.2.29",
49
- "User-Agent": "@aui.io/aui-client/1.2.29",
48
+ "X-Fern-SDK-Version": "1.2.30",
49
+ "User-Agent": "@aui.io/aui-client/1.2.30",
50
50
  "X-Fern-Runtime": core.RUNTIME.type,
51
51
  "X-Fern-Runtime-Version": core.RUNTIME.version,
52
52
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -100,7 +100,7 @@ export declare class ControllerApi {
100
100
  * @example
101
101
  * await client.controllerApi.getDirectFollowupSuggestions("task_id")
102
102
  */
103
- getDirectFollowupSuggestions(taskId: string, requestOptions?: ControllerApi.RequestOptions): core.HttpResponsePromise<string[]>;
103
+ getDirectFollowupSuggestions(taskId: string, requestOptions?: ControllerApi.RequestOptions): core.HttpResponsePromise<Apollo.DirectFollowupSuggestionsResponse>;
104
104
  private __getDirectFollowupSuggestions;
105
105
  /**
106
106
  * Get metadata for all workflows available for the authenticated network.
@@ -501,7 +501,10 @@ class ControllerApi {
501
501
  logging: this._options.logging,
502
502
  });
503
503
  if (_response.ok) {
504
- return { data: _response.body, rawResponse: _response.rawResponse };
504
+ return {
505
+ data: _response.body,
506
+ rawResponse: _response.rawResponse,
507
+ };
505
508
  }
506
509
  if (_response.error.reason === "status-code") {
507
510
  switch (_response.error.statusCode) {
@@ -0,0 +1,4 @@
1
+ export interface DirectFollowupSuggestionsResponse {
2
+ suggestions?: string[];
3
+ metadata_id?: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ // This file was auto-generated by Fern from our API Definition.
3
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -7,5 +7,6 @@ export declare const ParameterType: {
7
7
  readonly Time: "time";
8
8
  readonly Object: "object";
9
9
  readonly ListOfObjects: "list_of_objects";
10
+ readonly Enum: "enum";
10
11
  };
11
12
  export type ParameterType = (typeof ParameterType)[keyof typeof ParameterType];
@@ -11,4 +11,5 @@ exports.ParameterType = {
11
11
  Time: "time",
12
12
  Object: "object",
13
13
  ListOfObjects: "list_of_objects",
14
+ Enum: "enum",
14
15
  };
@@ -4,6 +4,7 @@ export * from "./CardParameter.js";
4
4
  export * from "./Context.js";
5
5
  export * from "./CreateTaskResponse.js";
6
6
  export * from "./CreateTopicRequestBody.js";
7
+ export * from "./DirectFollowupSuggestionsResponse.js";
7
8
  export * from "./EntityItemParameter.js";
8
9
  export * from "./EntityItemSubEntity.js";
9
10
  export * from "./EntityItemSubEntityItem.js";
@@ -20,6 +20,7 @@ __exportStar(require("./CardParameter.js"), exports);
20
20
  __exportStar(require("./Context.js"), exports);
21
21
  __exportStar(require("./CreateTaskResponse.js"), exports);
22
22
  __exportStar(require("./CreateTopicRequestBody.js"), exports);
23
+ __exportStar(require("./DirectFollowupSuggestionsResponse.js"), exports);
23
24
  __exportStar(require("./EntityItemParameter.js"), exports);
24
25
  __exportStar(require("./EntityItemSubEntity.js"), exports);
25
26
  __exportStar(require("./EntityItemSubEntityItem.js"), exports);
@@ -11,9 +11,13 @@ export declare const ApolloEnvironment: {
11
11
  readonly base: "https://azure-v2.aui.io/ia-controller";
12
12
  readonly wsUrl: "wss://azure-v2.aui.io";
13
13
  };
14
+ readonly Aws: {
15
+ readonly base: "https://aws.aui.io/ia-controller";
16
+ readonly wsUrl: "wss://aws.aui.io";
17
+ };
14
18
  readonly Default: {
15
19
  readonly base: "https://api.aui.io/ia-controller";
16
20
  readonly wsUrl: "wss://api.aui.io";
17
21
  };
18
22
  };
19
- export type ApolloEnvironment = typeof ApolloEnvironment.Default | typeof ApolloEnvironment.Gcp | typeof ApolloEnvironment.Azure;
23
+ export type ApolloEnvironment = typeof ApolloEnvironment.Default | typeof ApolloEnvironment.Gcp | typeof ApolloEnvironment.Azure | typeof ApolloEnvironment.Aws;
@@ -12,6 +12,10 @@ exports.ApolloEnvironment = {
12
12
  base: "https://azure-v2.aui.io/ia-controller",
13
13
  wsUrl: "wss://azure-v2.aui.io",
14
14
  },
15
+ Aws: {
16
+ base: "https://aws.aui.io/ia-controller",
17
+ wsUrl: "wss://aws.aui.io",
18
+ },
15
19
  // Default points to Gcp for backwards compatibility
16
20
  Default: {
17
21
  base: "https://api.aui.io/ia-controller",
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.2.29";
1
+ export declare const SDK_VERSION = "1.2.30";
@@ -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 = "1.2.29";
4
+ exports.SDK_VERSION = "1.2.30";
@@ -9,8 +9,8 @@ export class ApolloClient {
9
9
  "x-network-api-key": _options === null || _options === void 0 ? void 0 : _options.networkApiKey,
10
10
  "X-Fern-Language": "JavaScript",
11
11
  "X-Fern-SDK-Name": "@aui.io/aui-client",
12
- "X-Fern-SDK-Version": "1.2.29",
13
- "User-Agent": "@aui.io/aui-client/1.2.29",
12
+ "X-Fern-SDK-Version": "1.2.30",
13
+ "User-Agent": "@aui.io/aui-client/1.2.30",
14
14
  "X-Fern-Runtime": core.RUNTIME.type,
15
15
  "X-Fern-Runtime-Version": core.RUNTIME.version,
16
16
  }, _options === null || _options === void 0 ? void 0 : _options.headers) });
@@ -100,7 +100,7 @@ export declare class ControllerApi {
100
100
  * @example
101
101
  * await client.controllerApi.getDirectFollowupSuggestions("task_id")
102
102
  */
103
- getDirectFollowupSuggestions(taskId: string, requestOptions?: ControllerApi.RequestOptions): core.HttpResponsePromise<string[]>;
103
+ getDirectFollowupSuggestions(taskId: string, requestOptions?: ControllerApi.RequestOptions): core.HttpResponsePromise<Apollo.DirectFollowupSuggestionsResponse>;
104
104
  private __getDirectFollowupSuggestions;
105
105
  /**
106
106
  * Get metadata for all workflows available for the authenticated network.
@@ -465,7 +465,10 @@ export class ControllerApi {
465
465
  logging: this._options.logging,
466
466
  });
467
467
  if (_response.ok) {
468
- return { data: _response.body, rawResponse: _response.rawResponse };
468
+ return {
469
+ data: _response.body,
470
+ rawResponse: _response.rawResponse,
471
+ };
469
472
  }
470
473
  if (_response.error.reason === "status-code") {
471
474
  switch (_response.error.statusCode) {
@@ -0,0 +1,4 @@
1
+ export interface DirectFollowupSuggestionsResponse {
2
+ suggestions?: string[];
3
+ metadata_id?: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -7,5 +7,6 @@ export declare const ParameterType: {
7
7
  readonly Time: "time";
8
8
  readonly Object: "object";
9
9
  readonly ListOfObjects: "list_of_objects";
10
+ readonly Enum: "enum";
10
11
  };
11
12
  export type ParameterType = (typeof ParameterType)[keyof typeof ParameterType];
@@ -8,4 +8,5 @@ export const ParameterType = {
8
8
  Time: "time",
9
9
  Object: "object",
10
10
  ListOfObjects: "list_of_objects",
11
+ Enum: "enum",
11
12
  };
@@ -4,6 +4,7 @@ export * from "./CardParameter.mjs";
4
4
  export * from "./Context.mjs";
5
5
  export * from "./CreateTaskResponse.mjs";
6
6
  export * from "./CreateTopicRequestBody.mjs";
7
+ export * from "./DirectFollowupSuggestionsResponse.mjs";
7
8
  export * from "./EntityItemParameter.mjs";
8
9
  export * from "./EntityItemSubEntity.mjs";
9
10
  export * from "./EntityItemSubEntityItem.mjs";
@@ -4,6 +4,7 @@ export * from "./CardParameter.mjs";
4
4
  export * from "./Context.mjs";
5
5
  export * from "./CreateTaskResponse.mjs";
6
6
  export * from "./CreateTopicRequestBody.mjs";
7
+ export * from "./DirectFollowupSuggestionsResponse.mjs";
7
8
  export * from "./EntityItemParameter.mjs";
8
9
  export * from "./EntityItemSubEntity.mjs";
9
10
  export * from "./EntityItemSubEntityItem.mjs";
@@ -11,9 +11,13 @@ export declare const ApolloEnvironment: {
11
11
  readonly base: "https://azure-v2.aui.io/ia-controller";
12
12
  readonly wsUrl: "wss://azure-v2.aui.io";
13
13
  };
14
+ readonly Aws: {
15
+ readonly base: "https://aws.aui.io/ia-controller";
16
+ readonly wsUrl: "wss://aws.aui.io";
17
+ };
14
18
  readonly Default: {
15
19
  readonly base: "https://api.aui.io/ia-controller";
16
20
  readonly wsUrl: "wss://api.aui.io";
17
21
  };
18
22
  };
19
- export type ApolloEnvironment = typeof ApolloEnvironment.Default | typeof ApolloEnvironment.Gcp | typeof ApolloEnvironment.Azure;
23
+ export type ApolloEnvironment = typeof ApolloEnvironment.Default | typeof ApolloEnvironment.Gcp | typeof ApolloEnvironment.Azure | typeof ApolloEnvironment.Aws;
@@ -9,6 +9,10 @@ export const ApolloEnvironment = {
9
9
  base: "https://azure-v2.aui.io/ia-controller",
10
10
  wsUrl: "wss://azure-v2.aui.io",
11
11
  },
12
+ Aws: {
13
+ base: "https://aws.aui.io/ia-controller",
14
+ wsUrl: "wss://aws.aui.io",
15
+ },
12
16
  // Default points to Gcp for backwards compatibility
13
17
  Default: {
14
18
  base: "https://api.aui.io/ia-controller",
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "1.2.29";
1
+ export declare const SDK_VERSION = "1.2.30";
@@ -1 +1 @@
1
- export const SDK_VERSION = "1.2.29";
1
+ export const SDK_VERSION = "1.2.30";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aui.io/aui-client",
3
- "version": "1.2.29",
3
+ "version": "1.2.30",
4
4
  "private": false,
5
5
  "repository": "github:aui-io/aui-client-typescript",
6
6
  "type": "commonjs",
package/reference.md CHANGED
@@ -309,7 +309,7 @@ await client.controllerApi.getAgentContext({
309
309
  </dl>
310
310
  </details>
311
311
 
312
- <details><summary><code>client.controllerApi.<a href="/src/api/resources/controllerApi/client/Client.ts">getDirectFollowupSuggestions</a>(taskId) -> string[]</code></summary>
312
+ <details><summary><code>client.controllerApi.<a href="/src/api/resources/controllerApi/client/Client.ts">getDirectFollowupSuggestions</a>(taskId) -> Apollo.DirectFollowupSuggestionsResponse</code></summary>
313
313
  <dl>
314
314
  <dd>
315
315