@crestal/nation-sdk 0.8.28 → 0.8.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 +3 -3
- package/api.ts +15 -45
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +9 -39
- package/dist/api.js +15 -45
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/LLMModelInfoWithProviderNameInput.md +2 -2
- package/docs/LLMModelInfoWithProviderNameOutput.md +2 -2
- package/docs/ManagerApi.md +4 -4
- package/index.ts +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @crestal/nation-sdk@0.8.
|
|
1
|
+
## @crestal/nation-sdk@0.8.30
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @crestal/nation-sdk@0.8.
|
|
39
|
+
npm install @crestal/nation-sdk@0.8.30 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -99,7 +99,7 @@ Class | Method | HTTP request | Description
|
|
|
99
99
|
*GeneratorApi* | [**getGenerationHistory**](docs/GeneratorApi.md#getgenerationhistory) | **GET** /generator/agent/generations/{project_id} | Get Generation Detail by Project ID
|
|
100
100
|
*GeneratorApi* | [**getGenerations**](docs/GeneratorApi.md#getgenerations) | **GET** /generator/agent/generations | Get Generations List by User
|
|
101
101
|
*HealthApi* | [**healthCheck**](docs/HealthApi.md#healthcheck) | **GET** /health | Health check endpoint
|
|
102
|
-
*ManagerApi* | [**
|
|
102
|
+
*ManagerApi* | [**sendManagerMessage**](docs/ManagerApi.md#sendmanagermessage) | **POST** /agents/{aid}/manager/messages | Chat with Agent Manager
|
|
103
103
|
*MetadataApi* | [**getAgentPublicSchema**](docs/MetadataApi.md#getagentpublicschema) | **GET** /metadata/agent/public.json | Get public agent schema
|
|
104
104
|
*MetadataApi* | [**getAgentPublicStrictSchema**](docs/MetadataApi.md#getagentpublicstrictschema) | **GET** /metadata/agent/public-strict.json | Get strict public agent schema
|
|
105
105
|
*MetadataApi* | [**getAgentSchema**](docs/MetadataApi.md#getagentschema) | **GET** /metadata/agent/schema.json | Get agent schema
|
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Nation IntentKit API
|
|
5
5
|
* API for Nation IntentKit services
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.8.
|
|
7
|
+
* The version of the OpenAPI document: 0.8.30
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -94,15 +94,10 @@ export const AgentWalletProviderEnum = {
|
|
|
94
94
|
export type AgentWalletProviderEnum = typeof AgentWalletProviderEnum[keyof typeof AgentWalletProviderEnum];
|
|
95
95
|
export const AgentNetworkIdEnum = {
|
|
96
96
|
BaseMainnet: 'base-mainnet',
|
|
97
|
-
BaseSepolia: 'base-sepolia',
|
|
98
97
|
EthereumMainnet: 'ethereum-mainnet',
|
|
99
|
-
EthereumSepolia: 'ethereum-sepolia',
|
|
100
98
|
PolygonMainnet: 'polygon-mainnet',
|
|
101
|
-
PolygonMumbai: 'polygon-mumbai',
|
|
102
99
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
103
|
-
ArbitrumSepolia: 'arbitrum-sepolia',
|
|
104
100
|
OptimismMainnet: 'optimism-mainnet',
|
|
105
|
-
OptimismSepolia: 'optimism-sepolia',
|
|
106
101
|
Solana: 'solana'
|
|
107
102
|
} as const;
|
|
108
103
|
|
|
@@ -229,15 +224,10 @@ export const AgentCreateWalletProviderEnum = {
|
|
|
229
224
|
export type AgentCreateWalletProviderEnum = typeof AgentCreateWalletProviderEnum[keyof typeof AgentCreateWalletProviderEnum];
|
|
230
225
|
export const AgentCreateNetworkIdEnum = {
|
|
231
226
|
BaseMainnet: 'base-mainnet',
|
|
232
|
-
BaseSepolia: 'base-sepolia',
|
|
233
227
|
EthereumMainnet: 'ethereum-mainnet',
|
|
234
|
-
EthereumSepolia: 'ethereum-sepolia',
|
|
235
228
|
PolygonMainnet: 'polygon-mainnet',
|
|
236
|
-
PolygonMumbai: 'polygon-mumbai',
|
|
237
229
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
238
|
-
ArbitrumSepolia: 'arbitrum-sepolia',
|
|
239
230
|
OptimismMainnet: 'optimism-mainnet',
|
|
240
|
-
OptimismSepolia: 'optimism-sepolia',
|
|
241
231
|
Solana: 'solana'
|
|
242
232
|
} as const;
|
|
243
233
|
|
|
@@ -323,15 +313,10 @@ export const AgentDraftWalletProviderEnum = {
|
|
|
323
313
|
export type AgentDraftWalletProviderEnum = typeof AgentDraftWalletProviderEnum[keyof typeof AgentDraftWalletProviderEnum];
|
|
324
314
|
export const AgentDraftNetworkIdEnum = {
|
|
325
315
|
BaseMainnet: 'base-mainnet',
|
|
326
|
-
BaseSepolia: 'base-sepolia',
|
|
327
316
|
EthereumMainnet: 'ethereum-mainnet',
|
|
328
|
-
EthereumSepolia: 'ethereum-sepolia',
|
|
329
317
|
PolygonMainnet: 'polygon-mainnet',
|
|
330
|
-
PolygonMumbai: 'polygon-mumbai',
|
|
331
318
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
332
|
-
ArbitrumSepolia: 'arbitrum-sepolia',
|
|
333
319
|
OptimismMainnet: 'optimism-mainnet',
|
|
334
|
-
OptimismSepolia: 'optimism-sepolia',
|
|
335
320
|
Solana: 'solana'
|
|
336
321
|
} as const;
|
|
337
322
|
|
|
@@ -538,15 +523,10 @@ export const AgentResponseWalletProviderEnum = {
|
|
|
538
523
|
export type AgentResponseWalletProviderEnum = typeof AgentResponseWalletProviderEnum[keyof typeof AgentResponseWalletProviderEnum];
|
|
539
524
|
export const AgentResponseNetworkIdEnum = {
|
|
540
525
|
BaseMainnet: 'base-mainnet',
|
|
541
|
-
BaseSepolia: 'base-sepolia',
|
|
542
526
|
EthereumMainnet: 'ethereum-mainnet',
|
|
543
|
-
EthereumSepolia: 'ethereum-sepolia',
|
|
544
527
|
PolygonMainnet: 'polygon-mainnet',
|
|
545
|
-
PolygonMumbai: 'polygon-mumbai',
|
|
546
528
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
547
|
-
ArbitrumSepolia: 'arbitrum-sepolia',
|
|
548
529
|
OptimismMainnet: 'optimism-mainnet',
|
|
549
|
-
OptimismSepolia: 'optimism-sepolia',
|
|
550
530
|
Solana: 'solana'
|
|
551
531
|
} as const;
|
|
552
532
|
|
|
@@ -694,15 +674,10 @@ export const AgentUpdateWalletProviderEnum = {
|
|
|
694
674
|
export type AgentUpdateWalletProviderEnum = typeof AgentUpdateWalletProviderEnum[keyof typeof AgentUpdateWalletProviderEnum];
|
|
695
675
|
export const AgentUpdateNetworkIdEnum = {
|
|
696
676
|
BaseMainnet: 'base-mainnet',
|
|
697
|
-
BaseSepolia: 'base-sepolia',
|
|
698
677
|
EthereumMainnet: 'ethereum-mainnet',
|
|
699
|
-
EthereumSepolia: 'ethereum-sepolia',
|
|
700
678
|
PolygonMainnet: 'polygon-mainnet',
|
|
701
|
-
PolygonMumbai: 'polygon-mumbai',
|
|
702
679
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
703
|
-
ArbitrumSepolia: 'arbitrum-sepolia',
|
|
704
680
|
OptimismMainnet: 'optimism-mainnet',
|
|
705
|
-
OptimismSepolia: 'optimism-sepolia',
|
|
706
681
|
Solana: 'solana'
|
|
707
682
|
} as const;
|
|
708
683
|
|
|
@@ -753,15 +728,10 @@ export const AgentUserInputWalletProviderEnum = {
|
|
|
753
728
|
export type AgentUserInputWalletProviderEnum = typeof AgentUserInputWalletProviderEnum[keyof typeof AgentUserInputWalletProviderEnum];
|
|
754
729
|
export const AgentUserInputNetworkIdEnum = {
|
|
755
730
|
BaseMainnet: 'base-mainnet',
|
|
756
|
-
BaseSepolia: 'base-sepolia',
|
|
757
731
|
EthereumMainnet: 'ethereum-mainnet',
|
|
758
|
-
EthereumSepolia: 'ethereum-sepolia',
|
|
759
732
|
PolygonMainnet: 'polygon-mainnet',
|
|
760
|
-
PolygonMumbai: 'polygon-mumbai',
|
|
761
733
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
762
|
-
ArbitrumSepolia: 'arbitrum-sepolia',
|
|
763
734
|
OptimismMainnet: 'optimism-mainnet',
|
|
764
|
-
OptimismSepolia: 'optimism-sepolia',
|
|
765
735
|
Solana: 'solana'
|
|
766
736
|
} as const;
|
|
767
737
|
|
|
@@ -6153,17 +6123,17 @@ export const ManagerApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
6153
6123
|
return {
|
|
6154
6124
|
/**
|
|
6155
6125
|
* Send a message to the manager agent assigned to an agent. The manager can review drafts, create new drafts, and report changes. When streaming is requested, the response is returned as Server-Sent Events with event type \'message\'.
|
|
6156
|
-
* @summary
|
|
6126
|
+
* @summary Chat with Agent Manager
|
|
6157
6127
|
* @param {string} aid Agent ID
|
|
6158
6128
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
6159
6129
|
* @param {*} [options] Override http request option.
|
|
6160
6130
|
* @throws {RequiredError}
|
|
6161
6131
|
*/
|
|
6162
|
-
|
|
6132
|
+
sendManagerMessage: async (aid: string, managerMessageRequest: ManagerMessageRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6163
6133
|
// verify required parameter 'aid' is not null or undefined
|
|
6164
|
-
assertParamExists('
|
|
6134
|
+
assertParamExists('sendManagerMessage', 'aid', aid)
|
|
6165
6135
|
// verify required parameter 'managerMessageRequest' is not null or undefined
|
|
6166
|
-
assertParamExists('
|
|
6136
|
+
assertParamExists('sendManagerMessage', 'managerMessageRequest', managerMessageRequest)
|
|
6167
6137
|
const localVarPath = `/agents/{aid}/manager/messages`
|
|
6168
6138
|
.replace(`{${"aid"}}`, encodeURIComponent(String(aid)));
|
|
6169
6139
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -6206,16 +6176,16 @@ export const ManagerApiFp = function(configuration?: Configuration) {
|
|
|
6206
6176
|
return {
|
|
6207
6177
|
/**
|
|
6208
6178
|
* Send a message to the manager agent assigned to an agent. The manager can review drafts, create new drafts, and report changes. When streaming is requested, the response is returned as Server-Sent Events with event type \'message\'.
|
|
6209
|
-
* @summary
|
|
6179
|
+
* @summary Chat with Agent Manager
|
|
6210
6180
|
* @param {string} aid Agent ID
|
|
6211
6181
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
6212
6182
|
* @param {*} [options] Override http request option.
|
|
6213
6183
|
* @throws {RequiredError}
|
|
6214
6184
|
*/
|
|
6215
|
-
async
|
|
6216
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6185
|
+
async sendManagerMessage(aid: string, managerMessageRequest: ManagerMessageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ChatMessage>>> {
|
|
6186
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendManagerMessage(aid, managerMessageRequest, options);
|
|
6217
6187
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6218
|
-
const localVarOperationServerBasePath = operationServerMap['ManagerApi.
|
|
6188
|
+
const localVarOperationServerBasePath = operationServerMap['ManagerApi.sendManagerMessage']?.[localVarOperationServerIndex]?.url;
|
|
6219
6189
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6220
6190
|
},
|
|
6221
6191
|
}
|
|
@@ -6229,14 +6199,14 @@ export const ManagerApiFactory = function (configuration?: Configuration, basePa
|
|
|
6229
6199
|
return {
|
|
6230
6200
|
/**
|
|
6231
6201
|
* Send a message to the manager agent assigned to an agent. The manager can review drafts, create new drafts, and report changes. When streaming is requested, the response is returned as Server-Sent Events with event type \'message\'.
|
|
6232
|
-
* @summary
|
|
6202
|
+
* @summary Chat with Agent Manager
|
|
6233
6203
|
* @param {string} aid Agent ID
|
|
6234
6204
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
6235
6205
|
* @param {*} [options] Override http request option.
|
|
6236
6206
|
* @throws {RequiredError}
|
|
6237
6207
|
*/
|
|
6238
|
-
|
|
6239
|
-
return localVarFp.
|
|
6208
|
+
sendManagerMessage(aid: string, managerMessageRequest: ManagerMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ChatMessage>> {
|
|
6209
|
+
return localVarFp.sendManagerMessage(aid, managerMessageRequest, options).then((request) => request(axios, basePath));
|
|
6240
6210
|
},
|
|
6241
6211
|
};
|
|
6242
6212
|
};
|
|
@@ -6247,14 +6217,14 @@ export const ManagerApiFactory = function (configuration?: Configuration, basePa
|
|
|
6247
6217
|
export class ManagerApi extends BaseAPI {
|
|
6248
6218
|
/**
|
|
6249
6219
|
* Send a message to the manager agent assigned to an agent. The manager can review drafts, create new drafts, and report changes. When streaming is requested, the response is returned as Server-Sent Events with event type \'message\'.
|
|
6250
|
-
* @summary
|
|
6220
|
+
* @summary Chat with Agent Manager
|
|
6251
6221
|
* @param {string} aid Agent ID
|
|
6252
6222
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
6253
6223
|
* @param {*} [options] Override http request option.
|
|
6254
6224
|
* @throws {RequiredError}
|
|
6255
6225
|
*/
|
|
6256
|
-
public
|
|
6257
|
-
return ManagerApiFp(this.configuration).
|
|
6226
|
+
public sendManagerMessage(aid: string, managerMessageRequest: ManagerMessageRequest, options?: RawAxiosRequestConfig) {
|
|
6227
|
+
return ManagerApiFp(this.configuration).sendManagerMessage(aid, managerMessageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6258
6228
|
}
|
|
6259
6229
|
}
|
|
6260
6230
|
|
package/base.ts
CHANGED
package/common.ts
CHANGED
package/configuration.ts
CHANGED
package/dist/api.d.ts
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* Nation IntentKit API
|
|
3
3
|
* API for Nation IntentKit services
|
|
4
4
|
*
|
|
5
|
-
* The version of the OpenAPI document: 0.8.
|
|
5
|
+
* The version of the OpenAPI document: 0.8.30
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -96,15 +96,10 @@ export declare const AgentWalletProviderEnum: {
|
|
|
96
96
|
export type AgentWalletProviderEnum = typeof AgentWalletProviderEnum[keyof typeof AgentWalletProviderEnum];
|
|
97
97
|
export declare const AgentNetworkIdEnum: {
|
|
98
98
|
readonly BaseMainnet: "base-mainnet";
|
|
99
|
-
readonly BaseSepolia: "base-sepolia";
|
|
100
99
|
readonly EthereumMainnet: "ethereum-mainnet";
|
|
101
|
-
readonly EthereumSepolia: "ethereum-sepolia";
|
|
102
100
|
readonly PolygonMainnet: "polygon-mainnet";
|
|
103
|
-
readonly PolygonMumbai: "polygon-mumbai";
|
|
104
101
|
readonly ArbitrumMainnet: "arbitrum-mainnet";
|
|
105
|
-
readonly ArbitrumSepolia: "arbitrum-sepolia";
|
|
106
102
|
readonly OptimismMainnet: "optimism-mainnet";
|
|
107
|
-
readonly OptimismSepolia: "optimism-sepolia";
|
|
108
103
|
readonly Solana: "solana";
|
|
109
104
|
};
|
|
110
105
|
export type AgentNetworkIdEnum = typeof AgentNetworkIdEnum[keyof typeof AgentNetworkIdEnum];
|
|
@@ -232,15 +227,10 @@ export declare const AgentCreateWalletProviderEnum: {
|
|
|
232
227
|
export type AgentCreateWalletProviderEnum = typeof AgentCreateWalletProviderEnum[keyof typeof AgentCreateWalletProviderEnum];
|
|
233
228
|
export declare const AgentCreateNetworkIdEnum: {
|
|
234
229
|
readonly BaseMainnet: "base-mainnet";
|
|
235
|
-
readonly BaseSepolia: "base-sepolia";
|
|
236
230
|
readonly EthereumMainnet: "ethereum-mainnet";
|
|
237
|
-
readonly EthereumSepolia: "ethereum-sepolia";
|
|
238
231
|
readonly PolygonMainnet: "polygon-mainnet";
|
|
239
|
-
readonly PolygonMumbai: "polygon-mumbai";
|
|
240
232
|
readonly ArbitrumMainnet: "arbitrum-mainnet";
|
|
241
|
-
readonly ArbitrumSepolia: "arbitrum-sepolia";
|
|
242
233
|
readonly OptimismMainnet: "optimism-mainnet";
|
|
243
|
-
readonly OptimismSepolia: "optimism-sepolia";
|
|
244
234
|
readonly Solana: "solana";
|
|
245
235
|
};
|
|
246
236
|
export type AgentCreateNetworkIdEnum = typeof AgentCreateNetworkIdEnum[keyof typeof AgentCreateNetworkIdEnum];
|
|
@@ -325,15 +315,10 @@ export declare const AgentDraftWalletProviderEnum: {
|
|
|
325
315
|
export type AgentDraftWalletProviderEnum = typeof AgentDraftWalletProviderEnum[keyof typeof AgentDraftWalletProviderEnum];
|
|
326
316
|
export declare const AgentDraftNetworkIdEnum: {
|
|
327
317
|
readonly BaseMainnet: "base-mainnet";
|
|
328
|
-
readonly BaseSepolia: "base-sepolia";
|
|
329
318
|
readonly EthereumMainnet: "ethereum-mainnet";
|
|
330
|
-
readonly EthereumSepolia: "ethereum-sepolia";
|
|
331
319
|
readonly PolygonMainnet: "polygon-mainnet";
|
|
332
|
-
readonly PolygonMumbai: "polygon-mumbai";
|
|
333
320
|
readonly ArbitrumMainnet: "arbitrum-mainnet";
|
|
334
|
-
readonly ArbitrumSepolia: "arbitrum-sepolia";
|
|
335
321
|
readonly OptimismMainnet: "optimism-mainnet";
|
|
336
|
-
readonly OptimismSepolia: "optimism-sepolia";
|
|
337
322
|
readonly Solana: "solana";
|
|
338
323
|
};
|
|
339
324
|
export type AgentDraftNetworkIdEnum = typeof AgentDraftNetworkIdEnum[keyof typeof AgentDraftNetworkIdEnum];
|
|
@@ -555,15 +540,10 @@ export declare const AgentResponseWalletProviderEnum: {
|
|
|
555
540
|
export type AgentResponseWalletProviderEnum = typeof AgentResponseWalletProviderEnum[keyof typeof AgentResponseWalletProviderEnum];
|
|
556
541
|
export declare const AgentResponseNetworkIdEnum: {
|
|
557
542
|
readonly BaseMainnet: "base-mainnet";
|
|
558
|
-
readonly BaseSepolia: "base-sepolia";
|
|
559
543
|
readonly EthereumMainnet: "ethereum-mainnet";
|
|
560
|
-
readonly EthereumSepolia: "ethereum-sepolia";
|
|
561
544
|
readonly PolygonMainnet: "polygon-mainnet";
|
|
562
|
-
readonly PolygonMumbai: "polygon-mumbai";
|
|
563
545
|
readonly ArbitrumMainnet: "arbitrum-mainnet";
|
|
564
|
-
readonly ArbitrumSepolia: "arbitrum-sepolia";
|
|
565
546
|
readonly OptimismMainnet: "optimism-mainnet";
|
|
566
|
-
readonly OptimismSepolia: "optimism-sepolia";
|
|
567
547
|
readonly Solana: "solana";
|
|
568
548
|
};
|
|
569
549
|
export type AgentResponseNetworkIdEnum = typeof AgentResponseNetworkIdEnum[keyof typeof AgentResponseNetworkIdEnum];
|
|
@@ -704,15 +684,10 @@ export declare const AgentUpdateWalletProviderEnum: {
|
|
|
704
684
|
export type AgentUpdateWalletProviderEnum = typeof AgentUpdateWalletProviderEnum[keyof typeof AgentUpdateWalletProviderEnum];
|
|
705
685
|
export declare const AgentUpdateNetworkIdEnum: {
|
|
706
686
|
readonly BaseMainnet: "base-mainnet";
|
|
707
|
-
readonly BaseSepolia: "base-sepolia";
|
|
708
687
|
readonly EthereumMainnet: "ethereum-mainnet";
|
|
709
|
-
readonly EthereumSepolia: "ethereum-sepolia";
|
|
710
688
|
readonly PolygonMainnet: "polygon-mainnet";
|
|
711
|
-
readonly PolygonMumbai: "polygon-mumbai";
|
|
712
689
|
readonly ArbitrumMainnet: "arbitrum-mainnet";
|
|
713
|
-
readonly ArbitrumSepolia: "arbitrum-sepolia";
|
|
714
690
|
readonly OptimismMainnet: "optimism-mainnet";
|
|
715
|
-
readonly OptimismSepolia: "optimism-sepolia";
|
|
716
691
|
readonly Solana: "solana";
|
|
717
692
|
};
|
|
718
693
|
export type AgentUpdateNetworkIdEnum = typeof AgentUpdateNetworkIdEnum[keyof typeof AgentUpdateNetworkIdEnum];
|
|
@@ -762,15 +737,10 @@ export declare const AgentUserInputWalletProviderEnum: {
|
|
|
762
737
|
export type AgentUserInputWalletProviderEnum = typeof AgentUserInputWalletProviderEnum[keyof typeof AgentUserInputWalletProviderEnum];
|
|
763
738
|
export declare const AgentUserInputNetworkIdEnum: {
|
|
764
739
|
readonly BaseMainnet: "base-mainnet";
|
|
765
|
-
readonly BaseSepolia: "base-sepolia";
|
|
766
740
|
readonly EthereumMainnet: "ethereum-mainnet";
|
|
767
|
-
readonly EthereumSepolia: "ethereum-sepolia";
|
|
768
741
|
readonly PolygonMainnet: "polygon-mainnet";
|
|
769
|
-
readonly PolygonMumbai: "polygon-mumbai";
|
|
770
742
|
readonly ArbitrumMainnet: "arbitrum-mainnet";
|
|
771
|
-
readonly ArbitrumSepolia: "arbitrum-sepolia";
|
|
772
743
|
readonly OptimismMainnet: "optimism-mainnet";
|
|
773
|
-
readonly OptimismSepolia: "optimism-sepolia";
|
|
774
744
|
readonly Solana: "solana";
|
|
775
745
|
};
|
|
776
746
|
export type AgentUserInputNetworkIdEnum = typeof AgentUserInputNetworkIdEnum[keyof typeof AgentUserInputNetworkIdEnum];
|
|
@@ -3964,13 +3934,13 @@ export declare class HealthApi extends BaseAPI {
|
|
|
3964
3934
|
export declare const ManagerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3965
3935
|
/**
|
|
3966
3936
|
* Send a message to the manager agent assigned to an agent. The manager can review drafts, create new drafts, and report changes. When streaming is requested, the response is returned as Server-Sent Events with event type \'message\'.
|
|
3967
|
-
* @summary
|
|
3937
|
+
* @summary Chat with Agent Manager
|
|
3968
3938
|
* @param {string} aid Agent ID
|
|
3969
3939
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
3970
3940
|
* @param {*} [options] Override http request option.
|
|
3971
3941
|
* @throws {RequiredError}
|
|
3972
3942
|
*/
|
|
3973
|
-
|
|
3943
|
+
sendManagerMessage: (aid: string, managerMessageRequest: ManagerMessageRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3974
3944
|
};
|
|
3975
3945
|
/**
|
|
3976
3946
|
* ManagerApi - functional programming interface
|
|
@@ -3978,13 +3948,13 @@ export declare const ManagerApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3978
3948
|
export declare const ManagerApiFp: (configuration?: Configuration) => {
|
|
3979
3949
|
/**
|
|
3980
3950
|
* Send a message to the manager agent assigned to an agent. The manager can review drafts, create new drafts, and report changes. When streaming is requested, the response is returned as Server-Sent Events with event type \'message\'.
|
|
3981
|
-
* @summary
|
|
3951
|
+
* @summary Chat with Agent Manager
|
|
3982
3952
|
* @param {string} aid Agent ID
|
|
3983
3953
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
3984
3954
|
* @param {*} [options] Override http request option.
|
|
3985
3955
|
* @throws {RequiredError}
|
|
3986
3956
|
*/
|
|
3987
|
-
|
|
3957
|
+
sendManagerMessage(aid: string, managerMessageRequest: ManagerMessageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ChatMessage>>>;
|
|
3988
3958
|
};
|
|
3989
3959
|
/**
|
|
3990
3960
|
* ManagerApi - factory interface
|
|
@@ -3992,13 +3962,13 @@ export declare const ManagerApiFp: (configuration?: Configuration) => {
|
|
|
3992
3962
|
export declare const ManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3993
3963
|
/**
|
|
3994
3964
|
* Send a message to the manager agent assigned to an agent. The manager can review drafts, create new drafts, and report changes. When streaming is requested, the response is returned as Server-Sent Events with event type \'message\'.
|
|
3995
|
-
* @summary
|
|
3965
|
+
* @summary Chat with Agent Manager
|
|
3996
3966
|
* @param {string} aid Agent ID
|
|
3997
3967
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
3998
3968
|
* @param {*} [options] Override http request option.
|
|
3999
3969
|
* @throws {RequiredError}
|
|
4000
3970
|
*/
|
|
4001
|
-
|
|
3971
|
+
sendManagerMessage(aid: string, managerMessageRequest: ManagerMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ChatMessage>>;
|
|
4002
3972
|
};
|
|
4003
3973
|
/**
|
|
4004
3974
|
* ManagerApi - object-oriented interface
|
|
@@ -4006,13 +3976,13 @@ export declare const ManagerApiFactory: (configuration?: Configuration, basePath
|
|
|
4006
3976
|
export declare class ManagerApi extends BaseAPI {
|
|
4007
3977
|
/**
|
|
4008
3978
|
* Send a message to the manager agent assigned to an agent. The manager can review drafts, create new drafts, and report changes. When streaming is requested, the response is returned as Server-Sent Events with event type \'message\'.
|
|
4009
|
-
* @summary
|
|
3979
|
+
* @summary Chat with Agent Manager
|
|
4010
3980
|
* @param {string} aid Agent ID
|
|
4011
3981
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
4012
3982
|
* @param {*} [options] Override http request option.
|
|
4013
3983
|
* @throws {RequiredError}
|
|
4014
3984
|
*/
|
|
4015
|
-
|
|
3985
|
+
sendManagerMessage(aid: string, managerMessageRequest: ManagerMessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage[], any, {}>>;
|
|
4016
3986
|
}
|
|
4017
3987
|
/**
|
|
4018
3988
|
* MetadataApi - axios parameter creator
|
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.8.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.30
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -99,15 +99,10 @@ exports.AgentWalletProviderEnum = {
|
|
|
99
99
|
};
|
|
100
100
|
exports.AgentNetworkIdEnum = {
|
|
101
101
|
BaseMainnet: 'base-mainnet',
|
|
102
|
-
BaseSepolia: 'base-sepolia',
|
|
103
102
|
EthereumMainnet: 'ethereum-mainnet',
|
|
104
|
-
EthereumSepolia: 'ethereum-sepolia',
|
|
105
103
|
PolygonMainnet: 'polygon-mainnet',
|
|
106
|
-
PolygonMumbai: 'polygon-mumbai',
|
|
107
104
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
108
|
-
ArbitrumSepolia: 'arbitrum-sepolia',
|
|
109
105
|
OptimismMainnet: 'optimism-mainnet',
|
|
110
|
-
OptimismSepolia: 'optimism-sepolia',
|
|
111
106
|
Solana: 'solana'
|
|
112
107
|
};
|
|
113
108
|
exports.AgentShortTermMemoryStrategyEnum = {
|
|
@@ -121,15 +116,10 @@ exports.AgentCreateWalletProviderEnum = {
|
|
|
121
116
|
};
|
|
122
117
|
exports.AgentCreateNetworkIdEnum = {
|
|
123
118
|
BaseMainnet: 'base-mainnet',
|
|
124
|
-
BaseSepolia: 'base-sepolia',
|
|
125
119
|
EthereumMainnet: 'ethereum-mainnet',
|
|
126
|
-
EthereumSepolia: 'ethereum-sepolia',
|
|
127
120
|
PolygonMainnet: 'polygon-mainnet',
|
|
128
|
-
PolygonMumbai: 'polygon-mumbai',
|
|
129
121
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
130
|
-
ArbitrumSepolia: 'arbitrum-sepolia',
|
|
131
122
|
OptimismMainnet: 'optimism-mainnet',
|
|
132
|
-
OptimismSepolia: 'optimism-sepolia',
|
|
133
123
|
Solana: 'solana'
|
|
134
124
|
};
|
|
135
125
|
exports.AgentCreateShortTermMemoryStrategyEnum = {
|
|
@@ -143,15 +133,10 @@ exports.AgentDraftWalletProviderEnum = {
|
|
|
143
133
|
};
|
|
144
134
|
exports.AgentDraftNetworkIdEnum = {
|
|
145
135
|
BaseMainnet: 'base-mainnet',
|
|
146
|
-
BaseSepolia: 'base-sepolia',
|
|
147
136
|
EthereumMainnet: 'ethereum-mainnet',
|
|
148
|
-
EthereumSepolia: 'ethereum-sepolia',
|
|
149
137
|
PolygonMainnet: 'polygon-mainnet',
|
|
150
|
-
PolygonMumbai: 'polygon-mumbai',
|
|
151
138
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
152
|
-
ArbitrumSepolia: 'arbitrum-sepolia',
|
|
153
139
|
OptimismMainnet: 'optimism-mainnet',
|
|
154
|
-
OptimismSepolia: 'optimism-sepolia',
|
|
155
140
|
Solana: 'solana'
|
|
156
141
|
};
|
|
157
142
|
exports.AgentDraftShortTermMemoryStrategyEnum = {
|
|
@@ -165,15 +150,10 @@ exports.AgentResponseWalletProviderEnum = {
|
|
|
165
150
|
};
|
|
166
151
|
exports.AgentResponseNetworkIdEnum = {
|
|
167
152
|
BaseMainnet: 'base-mainnet',
|
|
168
|
-
BaseSepolia: 'base-sepolia',
|
|
169
153
|
EthereumMainnet: 'ethereum-mainnet',
|
|
170
|
-
EthereumSepolia: 'ethereum-sepolia',
|
|
171
154
|
PolygonMainnet: 'polygon-mainnet',
|
|
172
|
-
PolygonMumbai: 'polygon-mumbai',
|
|
173
155
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
174
|
-
ArbitrumSepolia: 'arbitrum-sepolia',
|
|
175
156
|
OptimismMainnet: 'optimism-mainnet',
|
|
176
|
-
OptimismSepolia: 'optimism-sepolia',
|
|
177
157
|
Solana: 'solana'
|
|
178
158
|
};
|
|
179
159
|
exports.AgentResponseShortTermMemoryStrategyEnum = {
|
|
@@ -207,15 +187,10 @@ exports.AgentUpdateWalletProviderEnum = {
|
|
|
207
187
|
};
|
|
208
188
|
exports.AgentUpdateNetworkIdEnum = {
|
|
209
189
|
BaseMainnet: 'base-mainnet',
|
|
210
|
-
BaseSepolia: 'base-sepolia',
|
|
211
190
|
EthereumMainnet: 'ethereum-mainnet',
|
|
212
|
-
EthereumSepolia: 'ethereum-sepolia',
|
|
213
191
|
PolygonMainnet: 'polygon-mainnet',
|
|
214
|
-
PolygonMumbai: 'polygon-mumbai',
|
|
215
192
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
216
|
-
ArbitrumSepolia: 'arbitrum-sepolia',
|
|
217
193
|
OptimismMainnet: 'optimism-mainnet',
|
|
218
|
-
OptimismSepolia: 'optimism-sepolia',
|
|
219
194
|
Solana: 'solana'
|
|
220
195
|
};
|
|
221
196
|
exports.AgentUpdateShortTermMemoryStrategyEnum = {
|
|
@@ -229,15 +204,10 @@ exports.AgentUserInputWalletProviderEnum = {
|
|
|
229
204
|
};
|
|
230
205
|
exports.AgentUserInputNetworkIdEnum = {
|
|
231
206
|
BaseMainnet: 'base-mainnet',
|
|
232
|
-
BaseSepolia: 'base-sepolia',
|
|
233
207
|
EthereumMainnet: 'ethereum-mainnet',
|
|
234
|
-
EthereumSepolia: 'ethereum-sepolia',
|
|
235
208
|
PolygonMainnet: 'polygon-mainnet',
|
|
236
|
-
PolygonMumbai: 'polygon-mumbai',
|
|
237
209
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
238
|
-
ArbitrumSepolia: 'arbitrum-sepolia',
|
|
239
210
|
OptimismMainnet: 'optimism-mainnet',
|
|
240
|
-
OptimismSepolia: 'optimism-sepolia',
|
|
241
211
|
Solana: 'solana'
|
|
242
212
|
};
|
|
243
213
|
exports.AgentUserInputShortTermMemoryStrategyEnum = {
|
|
@@ -5199,13 +5169,13 @@ var ManagerApiAxiosParamCreator = function (configuration) {
|
|
|
5199
5169
|
return {
|
|
5200
5170
|
/**
|
|
5201
5171
|
* Send a message to the manager agent assigned to an agent. The manager can review drafts, create new drafts, and report changes. When streaming is requested, the response is returned as Server-Sent Events with event type \'message\'.
|
|
5202
|
-
* @summary
|
|
5172
|
+
* @summary Chat with Agent Manager
|
|
5203
5173
|
* @param {string} aid Agent ID
|
|
5204
5174
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
5205
5175
|
* @param {*} [options] Override http request option.
|
|
5206
5176
|
* @throws {RequiredError}
|
|
5207
5177
|
*/
|
|
5208
|
-
|
|
5178
|
+
sendManagerMessage: function (aid_1, managerMessageRequest_1) {
|
|
5209
5179
|
var args_1 = [];
|
|
5210
5180
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5211
5181
|
args_1[_i - 2] = arguments[_i];
|
|
@@ -5217,9 +5187,9 @@ var ManagerApiAxiosParamCreator = function (configuration) {
|
|
|
5217
5187
|
switch (_a.label) {
|
|
5218
5188
|
case 0:
|
|
5219
5189
|
// verify required parameter 'aid' is not null or undefined
|
|
5220
|
-
(0, common_1.assertParamExists)('
|
|
5190
|
+
(0, common_1.assertParamExists)('sendManagerMessage', 'aid', aid);
|
|
5221
5191
|
// verify required parameter 'managerMessageRequest' is not null or undefined
|
|
5222
|
-
(0, common_1.assertParamExists)('
|
|
5192
|
+
(0, common_1.assertParamExists)('sendManagerMessage', 'managerMessageRequest', managerMessageRequest);
|
|
5223
5193
|
localVarPath = "/agents/{aid}/manager/messages"
|
|
5224
5194
|
.replace("{".concat("aid", "}"), encodeURIComponent(String(aid)));
|
|
5225
5195
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5260,23 +5230,23 @@ var ManagerApiFp = function (configuration) {
|
|
|
5260
5230
|
return {
|
|
5261
5231
|
/**
|
|
5262
5232
|
* Send a message to the manager agent assigned to an agent. The manager can review drafts, create new drafts, and report changes. When streaming is requested, the response is returned as Server-Sent Events with event type \'message\'.
|
|
5263
|
-
* @summary
|
|
5233
|
+
* @summary Chat with Agent Manager
|
|
5264
5234
|
* @param {string} aid Agent ID
|
|
5265
5235
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
5266
5236
|
* @param {*} [options] Override http request option.
|
|
5267
5237
|
* @throws {RequiredError}
|
|
5268
5238
|
*/
|
|
5269
|
-
|
|
5239
|
+
sendManagerMessage: function (aid, managerMessageRequest, options) {
|
|
5270
5240
|
return __awaiter(this, void 0, void 0, function () {
|
|
5271
5241
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
5272
5242
|
var _a, _b, _c;
|
|
5273
5243
|
return __generator(this, function (_d) {
|
|
5274
5244
|
switch (_d.label) {
|
|
5275
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
5245
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.sendManagerMessage(aid, managerMessageRequest, options)];
|
|
5276
5246
|
case 1:
|
|
5277
5247
|
localVarAxiosArgs = _d.sent();
|
|
5278
5248
|
localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
5279
|
-
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ManagerApi.
|
|
5249
|
+
localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ManagerApi.sendManagerMessage']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
5280
5250
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
5281
5251
|
}
|
|
5282
5252
|
});
|
|
@@ -5293,14 +5263,14 @@ var ManagerApiFactory = function (configuration, basePath, axios) {
|
|
|
5293
5263
|
return {
|
|
5294
5264
|
/**
|
|
5295
5265
|
* Send a message to the manager agent assigned to an agent. The manager can review drafts, create new drafts, and report changes. When streaming is requested, the response is returned as Server-Sent Events with event type \'message\'.
|
|
5296
|
-
* @summary
|
|
5266
|
+
* @summary Chat with Agent Manager
|
|
5297
5267
|
* @param {string} aid Agent ID
|
|
5298
5268
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
5299
5269
|
* @param {*} [options] Override http request option.
|
|
5300
5270
|
* @throws {RequiredError}
|
|
5301
5271
|
*/
|
|
5302
|
-
|
|
5303
|
-
return localVarFp.
|
|
5272
|
+
sendManagerMessage: function (aid, managerMessageRequest, options) {
|
|
5273
|
+
return localVarFp.sendManagerMessage(aid, managerMessageRequest, options).then(function (request) { return request(axios, basePath); });
|
|
5304
5274
|
},
|
|
5305
5275
|
};
|
|
5306
5276
|
};
|
|
@@ -5315,15 +5285,15 @@ var ManagerApi = /** @class */ (function (_super) {
|
|
|
5315
5285
|
}
|
|
5316
5286
|
/**
|
|
5317
5287
|
* Send a message to the manager agent assigned to an agent. The manager can review drafts, create new drafts, and report changes. When streaming is requested, the response is returned as Server-Sent Events with event type \'message\'.
|
|
5318
|
-
* @summary
|
|
5288
|
+
* @summary Chat with Agent Manager
|
|
5319
5289
|
* @param {string} aid Agent ID
|
|
5320
5290
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
5321
5291
|
* @param {*} [options] Override http request option.
|
|
5322
5292
|
* @throws {RequiredError}
|
|
5323
5293
|
*/
|
|
5324
|
-
ManagerApi.prototype.
|
|
5294
|
+
ManagerApi.prototype.sendManagerMessage = function (aid, managerMessageRequest, options) {
|
|
5325
5295
|
var _this = this;
|
|
5326
|
-
return (0, exports.ManagerApiFp)(this.configuration).
|
|
5296
|
+
return (0, exports.ManagerApiFp)(this.configuration).sendManagerMessage(aid, managerMessageRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5327
5297
|
};
|
|
5328
5298
|
return ManagerApi;
|
|
5329
5299
|
}(base_1.BaseAPI));
|
package/dist/base.d.ts
CHANGED
package/dist/base.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.8.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.30
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/common.d.ts
CHANGED
package/dist/common.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.8.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.30
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/configuration.d.ts
CHANGED
package/dist/configuration.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.8.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.30
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.8.
|
|
8
|
+
* The version of the OpenAPI document: 0.8.30
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -27,8 +27,8 @@ Name | Type | Description | Notes
|
|
|
27
27
|
**supports_presence_penalty** | **boolean** | | [optional] [default to true]
|
|
28
28
|
**api_base** | **string** | | [optional] [default to undefined]
|
|
29
29
|
**timeout** | **number** | | [optional] [default to 180]
|
|
30
|
-
**created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-
|
|
31
|
-
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-
|
|
30
|
+
**created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-27T10:11:21.423+00:00]
|
|
31
|
+
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-27T10:11:21.423+00:00]
|
|
32
32
|
**provider_name** | **string** | | [default to undefined]
|
|
33
33
|
|
|
34
34
|
## Example
|
|
@@ -27,8 +27,8 @@ Name | Type | Description | Notes
|
|
|
27
27
|
**supports_presence_penalty** | **boolean** | | [optional] [default to true]
|
|
28
28
|
**api_base** | **string** | | [optional] [default to undefined]
|
|
29
29
|
**timeout** | **number** | | [optional] [default to 180]
|
|
30
|
-
**created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-
|
|
31
|
-
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-
|
|
30
|
+
**created_at** | **string** | Timestamp when this data was created | [optional] [default to 2025-10-27T10:11:21.423+00:00]
|
|
31
|
+
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-27T10:11:21.423+00:00]
|
|
32
32
|
**provider_name** | **string** | | [default to undefined]
|
|
33
33
|
|
|
34
34
|
## Example
|
package/docs/ManagerApi.md
CHANGED
|
@@ -4,10 +4,10 @@ All URIs are relative to *http://localhost*
|
|
|
4
4
|
|
|
5
5
|
|Method | HTTP request | Description|
|
|
6
6
|
|------------- | ------------- | -------------|
|
|
7
|
-
|[**
|
|
7
|
+
|[**sendManagerMessage**](#sendmanagermessage) | **POST** /agents/{aid}/manager/messages | Chat with Agent Manager|
|
|
8
8
|
|
|
9
|
-
# **
|
|
10
|
-
> Array<ChatMessage>
|
|
9
|
+
# **sendManagerMessage**
|
|
10
|
+
> Array<ChatMessage> sendManagerMessage(managerMessageRequest)
|
|
11
11
|
|
|
12
12
|
Send a message to the manager agent assigned to an agent. The manager can review drafts, create new drafts, and report changes. When streaming is requested, the response is returned as Server-Sent Events with event type \'message\'.
|
|
13
13
|
|
|
@@ -26,7 +26,7 @@ const apiInstance = new ManagerApi(configuration);
|
|
|
26
26
|
let aid: string; //Agent ID (default to undefined)
|
|
27
27
|
let managerMessageRequest: ManagerMessageRequest; //
|
|
28
28
|
|
|
29
|
-
const { status, data } = await apiInstance.
|
|
29
|
+
const { status, data } = await apiInstance.sendManagerMessage(
|
|
30
30
|
aid,
|
|
31
31
|
managerMessageRequest
|
|
32
32
|
);
|
package/index.ts
CHANGED