@aui.io/aui-client 1.2.28 → 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 +210 -5
- package/dist/cjs/Client.js +2 -2
- package/dist/cjs/api/resources/controllerApi/client/Client.d.ts +1 -1
- package/dist/cjs/api/resources/controllerApi/client/Client.js +4 -1
- package/dist/cjs/api/types/DirectFollowupSuggestionsResponse.d.ts +4 -0
- package/dist/cjs/api/types/DirectFollowupSuggestionsResponse.js +3 -0
- package/dist/cjs/api/types/ParameterType.d.ts +1 -0
- package/dist/cjs/api/types/ParameterType.js +1 -0
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/environments.d.ts +5 -1
- package/dist/cjs/environments.js +4 -0
- 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/resources/controllerApi/client/Client.d.mts +1 -1
- package/dist/esm/api/resources/controllerApi/client/Client.mjs +4 -1
- package/dist/esm/api/types/DirectFollowupSuggestionsResponse.d.mts +4 -0
- package/dist/esm/api/types/DirectFollowupSuggestionsResponse.mjs +2 -0
- package/dist/esm/api/types/ParameterType.d.mts +1 -0
- package/dist/esm/api/types/ParameterType.mjs +1 -0
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/environments.d.mts +5 -1
- package/dist/esm/environments.mjs +4 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +1 -1
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
|
|
|
@@ -144,9 +149,7 @@ The `ApolloClient` constructor accepts the following options:
|
|
|
144
149
|
|
|
145
150
|
```typescript
|
|
146
151
|
interface ApolloClient.Options {
|
|
147
|
-
//
|
|
148
|
-
baseUrl?: string; // Custom base URL (e.g., staging)
|
|
149
|
-
environment?: ApolloEnvironment; // Or use predefined environment
|
|
152
|
+
environment?: ApolloEnvironment; // Use predefined environment (Gcp or Azure)
|
|
150
153
|
|
|
151
154
|
// Authentication (required)
|
|
152
155
|
networkApiKey: string; // Your API key (x-network-api-key header)
|
|
@@ -178,6 +181,12 @@ ApolloEnvironment.Azure = {
|
|
|
178
181
|
wsUrl: "wss://azure-v2.aui.io" // WebSocket
|
|
179
182
|
}
|
|
180
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
|
+
|
|
181
190
|
// Default (same as Gcp)
|
|
182
191
|
ApolloEnvironment.Default = {
|
|
183
192
|
base: "https://api.aui.io/ia-controller",
|
|
@@ -242,12 +251,34 @@ Submit a new message to an existing task (non-streaming).
|
|
|
242
251
|
const messageResponse = await client.controllerApi.sendMessage({
|
|
243
252
|
task_id: string, // Task identifier
|
|
244
253
|
text: string, // Message text
|
|
245
|
-
is_external_api?: boolean // Optional: mark as external API call
|
|
254
|
+
is_external_api?: boolean, // Optional: mark as external API call
|
|
255
|
+
context?: { // Optional: additional context
|
|
256
|
+
url?: string,
|
|
257
|
+
lead_details?: Record<string, any>,
|
|
258
|
+
welcome_message?: string
|
|
259
|
+
},
|
|
260
|
+
agent_variables?: Record<string, unknown> // Optional: custom agent variables (NEW in v1.2.28)
|
|
246
261
|
});
|
|
247
262
|
|
|
248
263
|
// Returns: Message - Complete agent response with optional product cards
|
|
249
264
|
```
|
|
250
265
|
|
|
266
|
+
**New in v1.2.28:** The `agent_variables` parameter allows you to pass custom context to the agent:
|
|
267
|
+
|
|
268
|
+
```typescript
|
|
269
|
+
// Example: Send message with agent variables
|
|
270
|
+
const response = await client.controllerApi.sendMessage({
|
|
271
|
+
task_id: 'your-task-id',
|
|
272
|
+
text: 'What products do you recommend?',
|
|
273
|
+
is_external_api: true,
|
|
274
|
+
agent_variables: {
|
|
275
|
+
context: 'User is interested in electric vehicles',
|
|
276
|
+
user_preference: 'eco-friendly',
|
|
277
|
+
budget: 'mid-range'
|
|
278
|
+
}
|
|
279
|
+
});
|
|
280
|
+
```
|
|
281
|
+
|
|
251
282
|
#### `listUserTasks(request)` - List User Tasks
|
|
252
283
|
Retrieve all tasks for a specific user with pagination.
|
|
253
284
|
|
|
@@ -272,6 +303,58 @@ const metadata = await client.controllerApi.getProductMetadata({
|
|
|
272
303
|
// Returns: Record<string, any> - Product metadata object
|
|
273
304
|
```
|
|
274
305
|
|
|
306
|
+
#### `getAgentContext(request)` - Get Agent Context (NEW in v1.2.28)
|
|
307
|
+
Retrieve the agent's context configuration including parameters, entities, and static context.
|
|
308
|
+
|
|
309
|
+
```typescript
|
|
310
|
+
const agentContext = await client.controllerApi.getAgentContext({
|
|
311
|
+
task_id: 'your-task-id',
|
|
312
|
+
query: 'test context'
|
|
313
|
+
});
|
|
314
|
+
|
|
315
|
+
// Returns: CreateTopicRequestBody - Agent context with:
|
|
316
|
+
// - title: string
|
|
317
|
+
// - params: TaskParameter[]
|
|
318
|
+
// - entities: TaskTopicEntity[]
|
|
319
|
+
// - static_context: string
|
|
320
|
+
```
|
|
321
|
+
|
|
322
|
+
**Example:**
|
|
323
|
+
|
|
324
|
+
```typescript
|
|
325
|
+
// Get agent context to understand available parameters
|
|
326
|
+
const context = await client.controllerApi.getAgentContext({
|
|
327
|
+
task_id: 'your-task-id',
|
|
328
|
+
query: 'test context'
|
|
329
|
+
});
|
|
330
|
+
|
|
331
|
+
console.log('Agent Title:', context.title);
|
|
332
|
+
console.log('Available Parameters:', context.params?.length);
|
|
333
|
+
console.log('Entities:', context.entities?.length);
|
|
334
|
+
console.log('Static Context:', context.static_context);
|
|
335
|
+
```
|
|
336
|
+
|
|
337
|
+
#### `getDirectFollowupSuggestions(taskId)` - Get Direct Followup Suggestions (NEW in v1.2.28)
|
|
338
|
+
Retrieve AI-generated followup suggestions for a specific task.
|
|
339
|
+
|
|
340
|
+
```typescript
|
|
341
|
+
const suggestions: string[] = await client.controllerApi.getDirectFollowupSuggestions('your-task-id');
|
|
342
|
+
|
|
343
|
+
// Returns: string[] - Array of suggested followup questions
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
**Example:**
|
|
347
|
+
|
|
348
|
+
```typescript
|
|
349
|
+
// Get followup suggestions for a task
|
|
350
|
+
const suggestions: string[] = await client.controllerApi.getDirectFollowupSuggestions('your-task-id');
|
|
351
|
+
|
|
352
|
+
console.log('Suggested followups:');
|
|
353
|
+
suggestions.forEach((suggestion, index) => {
|
|
354
|
+
console.log(`${index + 1}. ${suggestion}`);
|
|
355
|
+
});
|
|
356
|
+
```
|
|
357
|
+
|
|
275
358
|
---
|
|
276
359
|
|
|
277
360
|
### WebSocket API
|
|
@@ -479,6 +562,128 @@ async function fetchProductMetadata(productLink: string) {
|
|
|
479
562
|
fetchProductMetadata('https://www.example.com/product/12345');
|
|
480
563
|
```
|
|
481
564
|
|
|
565
|
+
### Send Message with Agent Variables (NEW in v1.2.28)
|
|
566
|
+
|
|
567
|
+
```typescript
|
|
568
|
+
import { ApolloClient } from '@aui.io/aui-client';
|
|
569
|
+
|
|
570
|
+
const client = new ApolloClient({
|
|
571
|
+
networkApiKey: 'API_KEY_YOUR_KEY_HERE'
|
|
572
|
+
});
|
|
573
|
+
|
|
574
|
+
async function sendContextualMessage(taskId: string, message: string, userContext: Record<string, unknown>) {
|
|
575
|
+
try {
|
|
576
|
+
// Send a message with custom agent variables for contextual responses
|
|
577
|
+
const response = await client.controllerApi.sendMessage({
|
|
578
|
+
task_id: taskId,
|
|
579
|
+
text: message,
|
|
580
|
+
is_external_api: true,
|
|
581
|
+
agent_variables: userContext
|
|
582
|
+
});
|
|
583
|
+
|
|
584
|
+
console.log('Agent Response:', response.text);
|
|
585
|
+
|
|
586
|
+
// The agent will use the provided context to tailor its response
|
|
587
|
+
if (response.cards && response.cards.length > 0) {
|
|
588
|
+
console.log('Recommended products:', response.cards.length);
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
return response;
|
|
592
|
+
} catch (error) {
|
|
593
|
+
console.error('Error sending message:', error);
|
|
594
|
+
throw error;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
|
|
598
|
+
// Example usage - provide context about user preferences
|
|
599
|
+
sendContextualMessage('task-123', 'What do you recommend?', {
|
|
600
|
+
context: 'User is browsing electric vehicles',
|
|
601
|
+
user_preference: 'eco-friendly',
|
|
602
|
+
budget_range: '$30,000 - $50,000',
|
|
603
|
+
location: 'California'
|
|
604
|
+
});
|
|
605
|
+
```
|
|
606
|
+
|
|
607
|
+
### Get Agent Context (NEW in v1.2.28)
|
|
608
|
+
|
|
609
|
+
```typescript
|
|
610
|
+
import { ApolloClient } from '@aui.io/aui-client';
|
|
611
|
+
|
|
612
|
+
const client = new ApolloClient({
|
|
613
|
+
networkApiKey: 'API_KEY_YOUR_KEY_HERE'
|
|
614
|
+
});
|
|
615
|
+
|
|
616
|
+
async function exploreAgentCapabilities() {
|
|
617
|
+
try {
|
|
618
|
+
// Get the agent's context configuration
|
|
619
|
+
const context = await client.controllerApi.getAgentContext({
|
|
620
|
+
task_id: 'your-task-id',
|
|
621
|
+
query: 'test context'
|
|
622
|
+
});
|
|
623
|
+
|
|
624
|
+
console.log('Agent Configuration:');
|
|
625
|
+
console.log(' Title:', context.title);
|
|
626
|
+
console.log(' Static Context:', context.static_context);
|
|
627
|
+
|
|
628
|
+
// Explore available parameters
|
|
629
|
+
if (context.params && context.params.length > 0) {
|
|
630
|
+
console.log('\nAvailable Parameters:');
|
|
631
|
+
context.params.forEach(param => {
|
|
632
|
+
console.log(` - ${param.title}: ${param.param}`);
|
|
633
|
+
});
|
|
634
|
+
}
|
|
635
|
+
|
|
636
|
+
// Explore entities
|
|
637
|
+
if (context.entities && context.entities.length > 0) {
|
|
638
|
+
console.log('\nConfigured Entities:', context.entities.length);
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
return context;
|
|
642
|
+
} catch (error) {
|
|
643
|
+
console.error('Error getting agent context:', error);
|
|
644
|
+
throw error;
|
|
645
|
+
}
|
|
646
|
+
}
|
|
647
|
+
|
|
648
|
+
exploreAgentCapabilities();
|
|
649
|
+
```
|
|
650
|
+
|
|
651
|
+
### Get Direct Followup Suggestions (NEW in v1.2.28)
|
|
652
|
+
|
|
653
|
+
```typescript
|
|
654
|
+
import { ApolloClient } from '@aui.io/aui-client';
|
|
655
|
+
|
|
656
|
+
const client = new ApolloClient({
|
|
657
|
+
networkApiKey: 'API_KEY_YOUR_KEY_HERE'
|
|
658
|
+
});
|
|
659
|
+
|
|
660
|
+
async function getSuggestedQuestions(taskId: string) {
|
|
661
|
+
try {
|
|
662
|
+
// Get AI-generated followup suggestions based on conversation context
|
|
663
|
+
const suggestions = await client.controllerApi.getDirectFollowupSuggestions(taskId);
|
|
664
|
+
|
|
665
|
+
console.log('Suggested followup questions:');
|
|
666
|
+
suggestions.forEach((suggestion, index) => {
|
|
667
|
+
console.log(` ${index + 1}. ${suggestion}`);
|
|
668
|
+
});
|
|
669
|
+
|
|
670
|
+
// Use these suggestions to guide the user's next interaction
|
|
671
|
+
return suggestions;
|
|
672
|
+
} catch (error) {
|
|
673
|
+
console.error('Error getting suggestions:', error);
|
|
674
|
+
throw error;
|
|
675
|
+
}
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
// Example usage
|
|
679
|
+
getSuggestedQuestions('task-123');
|
|
680
|
+
// Output:
|
|
681
|
+
// Suggested followup questions:
|
|
682
|
+
// 1. "What colors are available?"
|
|
683
|
+
// 2. "Do you offer financing options?"
|
|
684
|
+
// 3. "Can I schedule a test drive?"
|
|
685
|
+
```
|
|
686
|
+
|
|
482
687
|
## 🔧 Advanced Configuration
|
|
483
688
|
|
|
484
689
|
### Custom Timeout and Retries
|
|
@@ -634,7 +839,7 @@ const client = new ApolloClient({
|
|
|
634
839
|
});
|
|
635
840
|
|
|
636
841
|
// The key should start with "API_KEY_"
|
|
637
|
-
// Example:
|
|
842
|
+
// Example: API_KEY_01K------
|
|
638
843
|
```
|
|
639
844
|
|
|
640
845
|
### CORS Errors (Browser Only)
|
package/dist/cjs/Client.js
CHANGED
|
@@ -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.
|
|
49
|
-
"User-Agent": "@aui.io/aui-client/1.2.
|
|
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<
|
|
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 {
|
|
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) {
|
|
@@ -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;
|
package/dist/cjs/environments.js
CHANGED
|
@@ -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",
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.30";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/Client.mjs
CHANGED
|
@@ -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.
|
|
13
|
-
"User-Agent": "@aui.io/aui-client/1.2.
|
|
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<
|
|
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 {
|
|
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) {
|
|
@@ -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",
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "1.2.
|
|
1
|
+
export declare const SDK_VERSION = "1.2.30";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "1.2.
|
|
1
|
+
export const SDK_VERSION = "1.2.30";
|
package/package.json
CHANGED
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) ->
|
|
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
|
|