@crestal/nation-sdk 0.8.28 → 0.8.29
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 -15
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +9 -9
- package/dist/api.js +15 -15
- 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.29
|
|
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.29 --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.29
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -6153,17 +6153,17 @@ export const ManagerApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
6153
6153
|
return {
|
|
6154
6154
|
/**
|
|
6155
6155
|
* 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
|
|
6156
|
+
* @summary Chat with Agent Manager
|
|
6157
6157
|
* @param {string} aid Agent ID
|
|
6158
6158
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
6159
6159
|
* @param {*} [options] Override http request option.
|
|
6160
6160
|
* @throws {RequiredError}
|
|
6161
6161
|
*/
|
|
6162
|
-
|
|
6162
|
+
sendManagerMessage: async (aid: string, managerMessageRequest: ManagerMessageRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
6163
6163
|
// verify required parameter 'aid' is not null or undefined
|
|
6164
|
-
assertParamExists('
|
|
6164
|
+
assertParamExists('sendManagerMessage', 'aid', aid)
|
|
6165
6165
|
// verify required parameter 'managerMessageRequest' is not null or undefined
|
|
6166
|
-
assertParamExists('
|
|
6166
|
+
assertParamExists('sendManagerMessage', 'managerMessageRequest', managerMessageRequest)
|
|
6167
6167
|
const localVarPath = `/agents/{aid}/manager/messages`
|
|
6168
6168
|
.replace(`{${"aid"}}`, encodeURIComponent(String(aid)));
|
|
6169
6169
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -6206,16 +6206,16 @@ export const ManagerApiFp = function(configuration?: Configuration) {
|
|
|
6206
6206
|
return {
|
|
6207
6207
|
/**
|
|
6208
6208
|
* 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
|
|
6209
|
+
* @summary Chat with Agent Manager
|
|
6210
6210
|
* @param {string} aid Agent ID
|
|
6211
6211
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
6212
6212
|
* @param {*} [options] Override http request option.
|
|
6213
6213
|
* @throws {RequiredError}
|
|
6214
6214
|
*/
|
|
6215
|
-
async
|
|
6216
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
6215
|
+
async sendManagerMessage(aid: string, managerMessageRequest: ManagerMessageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ChatMessage>>> {
|
|
6216
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.sendManagerMessage(aid, managerMessageRequest, options);
|
|
6217
6217
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
6218
|
-
const localVarOperationServerBasePath = operationServerMap['ManagerApi.
|
|
6218
|
+
const localVarOperationServerBasePath = operationServerMap['ManagerApi.sendManagerMessage']?.[localVarOperationServerIndex]?.url;
|
|
6219
6219
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6220
6220
|
},
|
|
6221
6221
|
}
|
|
@@ -6229,14 +6229,14 @@ export const ManagerApiFactory = function (configuration?: Configuration, basePa
|
|
|
6229
6229
|
return {
|
|
6230
6230
|
/**
|
|
6231
6231
|
* 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
|
|
6232
|
+
* @summary Chat with Agent Manager
|
|
6233
6233
|
* @param {string} aid Agent ID
|
|
6234
6234
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
6235
6235
|
* @param {*} [options] Override http request option.
|
|
6236
6236
|
* @throws {RequiredError}
|
|
6237
6237
|
*/
|
|
6238
|
-
|
|
6239
|
-
return localVarFp.
|
|
6238
|
+
sendManagerMessage(aid: string, managerMessageRequest: ManagerMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ChatMessage>> {
|
|
6239
|
+
return localVarFp.sendManagerMessage(aid, managerMessageRequest, options).then((request) => request(axios, basePath));
|
|
6240
6240
|
},
|
|
6241
6241
|
};
|
|
6242
6242
|
};
|
|
@@ -6247,14 +6247,14 @@ export const ManagerApiFactory = function (configuration?: Configuration, basePa
|
|
|
6247
6247
|
export class ManagerApi extends BaseAPI {
|
|
6248
6248
|
/**
|
|
6249
6249
|
* 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
|
|
6250
|
+
* @summary Chat with Agent Manager
|
|
6251
6251
|
* @param {string} aid Agent ID
|
|
6252
6252
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
6253
6253
|
* @param {*} [options] Override http request option.
|
|
6254
6254
|
* @throws {RequiredError}
|
|
6255
6255
|
*/
|
|
6256
|
-
public
|
|
6257
|
-
return ManagerApiFp(this.configuration).
|
|
6256
|
+
public sendManagerMessage(aid: string, managerMessageRequest: ManagerMessageRequest, options?: RawAxiosRequestConfig) {
|
|
6257
|
+
return ManagerApiFp(this.configuration).sendManagerMessage(aid, managerMessageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
6258
6258
|
}
|
|
6259
6259
|
}
|
|
6260
6260
|
|
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.29
|
|
6
6
|
*
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -3964,13 +3964,13 @@ export declare class HealthApi extends BaseAPI {
|
|
|
3964
3964
|
export declare const ManagerApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3965
3965
|
/**
|
|
3966
3966
|
* 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
|
|
3967
|
+
* @summary Chat with Agent Manager
|
|
3968
3968
|
* @param {string} aid Agent ID
|
|
3969
3969
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
3970
3970
|
* @param {*} [options] Override http request option.
|
|
3971
3971
|
* @throws {RequiredError}
|
|
3972
3972
|
*/
|
|
3973
|
-
|
|
3973
|
+
sendManagerMessage: (aid: string, managerMessageRequest: ManagerMessageRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3974
3974
|
};
|
|
3975
3975
|
/**
|
|
3976
3976
|
* ManagerApi - functional programming interface
|
|
@@ -3978,13 +3978,13 @@ export declare const ManagerApiAxiosParamCreator: (configuration?: Configuration
|
|
|
3978
3978
|
export declare const ManagerApiFp: (configuration?: Configuration) => {
|
|
3979
3979
|
/**
|
|
3980
3980
|
* 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
|
|
3981
|
+
* @summary Chat with Agent Manager
|
|
3982
3982
|
* @param {string} aid Agent ID
|
|
3983
3983
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
3984
3984
|
* @param {*} [options] Override http request option.
|
|
3985
3985
|
* @throws {RequiredError}
|
|
3986
3986
|
*/
|
|
3987
|
-
|
|
3987
|
+
sendManagerMessage(aid: string, managerMessageRequest: ManagerMessageRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ChatMessage>>>;
|
|
3988
3988
|
};
|
|
3989
3989
|
/**
|
|
3990
3990
|
* ManagerApi - factory interface
|
|
@@ -3992,13 +3992,13 @@ export declare const ManagerApiFp: (configuration?: Configuration) => {
|
|
|
3992
3992
|
export declare const ManagerApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3993
3993
|
/**
|
|
3994
3994
|
* 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
|
|
3995
|
+
* @summary Chat with Agent Manager
|
|
3996
3996
|
* @param {string} aid Agent ID
|
|
3997
3997
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
3998
3998
|
* @param {*} [options] Override http request option.
|
|
3999
3999
|
* @throws {RequiredError}
|
|
4000
4000
|
*/
|
|
4001
|
-
|
|
4001
|
+
sendManagerMessage(aid: string, managerMessageRequest: ManagerMessageRequest, options?: RawAxiosRequestConfig): AxiosPromise<Array<ChatMessage>>;
|
|
4002
4002
|
};
|
|
4003
4003
|
/**
|
|
4004
4004
|
* ManagerApi - object-oriented interface
|
|
@@ -4006,13 +4006,13 @@ export declare const ManagerApiFactory: (configuration?: Configuration, basePath
|
|
|
4006
4006
|
export declare class ManagerApi extends BaseAPI {
|
|
4007
4007
|
/**
|
|
4008
4008
|
* 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
|
|
4009
|
+
* @summary Chat with Agent Manager
|
|
4010
4010
|
* @param {string} aid Agent ID
|
|
4011
4011
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
4012
4012
|
* @param {*} [options] Override http request option.
|
|
4013
4013
|
* @throws {RequiredError}
|
|
4014
4014
|
*/
|
|
4015
|
-
|
|
4015
|
+
sendManagerMessage(aid: string, managerMessageRequest: ManagerMessageRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage[], any, {}>>;
|
|
4016
4016
|
}
|
|
4017
4017
|
/**
|
|
4018
4018
|
* 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.29
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -5199,13 +5199,13 @@ var ManagerApiAxiosParamCreator = function (configuration) {
|
|
|
5199
5199
|
return {
|
|
5200
5200
|
/**
|
|
5201
5201
|
* 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
|
|
5202
|
+
* @summary Chat with Agent Manager
|
|
5203
5203
|
* @param {string} aid Agent ID
|
|
5204
5204
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
5205
5205
|
* @param {*} [options] Override http request option.
|
|
5206
5206
|
* @throws {RequiredError}
|
|
5207
5207
|
*/
|
|
5208
|
-
|
|
5208
|
+
sendManagerMessage: function (aid_1, managerMessageRequest_1) {
|
|
5209
5209
|
var args_1 = [];
|
|
5210
5210
|
for (var _i = 2; _i < arguments.length; _i++) {
|
|
5211
5211
|
args_1[_i - 2] = arguments[_i];
|
|
@@ -5217,9 +5217,9 @@ var ManagerApiAxiosParamCreator = function (configuration) {
|
|
|
5217
5217
|
switch (_a.label) {
|
|
5218
5218
|
case 0:
|
|
5219
5219
|
// verify required parameter 'aid' is not null or undefined
|
|
5220
|
-
(0, common_1.assertParamExists)('
|
|
5220
|
+
(0, common_1.assertParamExists)('sendManagerMessage', 'aid', aid);
|
|
5221
5221
|
// verify required parameter 'managerMessageRequest' is not null or undefined
|
|
5222
|
-
(0, common_1.assertParamExists)('
|
|
5222
|
+
(0, common_1.assertParamExists)('sendManagerMessage', 'managerMessageRequest', managerMessageRequest);
|
|
5223
5223
|
localVarPath = "/agents/{aid}/manager/messages"
|
|
5224
5224
|
.replace("{".concat("aid", "}"), encodeURIComponent(String(aid)));
|
|
5225
5225
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -5260,23 +5260,23 @@ var ManagerApiFp = function (configuration) {
|
|
|
5260
5260
|
return {
|
|
5261
5261
|
/**
|
|
5262
5262
|
* 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
|
|
5263
|
+
* @summary Chat with Agent Manager
|
|
5264
5264
|
* @param {string} aid Agent ID
|
|
5265
5265
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
5266
5266
|
* @param {*} [options] Override http request option.
|
|
5267
5267
|
* @throws {RequiredError}
|
|
5268
5268
|
*/
|
|
5269
|
-
|
|
5269
|
+
sendManagerMessage: function (aid, managerMessageRequest, options) {
|
|
5270
5270
|
return __awaiter(this, void 0, void 0, function () {
|
|
5271
5271
|
var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
|
|
5272
5272
|
var _a, _b, _c;
|
|
5273
5273
|
return __generator(this, function (_d) {
|
|
5274
5274
|
switch (_d.label) {
|
|
5275
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.
|
|
5275
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.sendManagerMessage(aid, managerMessageRequest, options)];
|
|
5276
5276
|
case 1:
|
|
5277
5277
|
localVarAxiosArgs = _d.sent();
|
|
5278
5278
|
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.
|
|
5279
|
+
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
5280
|
return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
|
|
5281
5281
|
}
|
|
5282
5282
|
});
|
|
@@ -5293,14 +5293,14 @@ var ManagerApiFactory = function (configuration, basePath, axios) {
|
|
|
5293
5293
|
return {
|
|
5294
5294
|
/**
|
|
5295
5295
|
* 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
|
|
5296
|
+
* @summary Chat with Agent Manager
|
|
5297
5297
|
* @param {string} aid Agent ID
|
|
5298
5298
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
5299
5299
|
* @param {*} [options] Override http request option.
|
|
5300
5300
|
* @throws {RequiredError}
|
|
5301
5301
|
*/
|
|
5302
|
-
|
|
5303
|
-
return localVarFp.
|
|
5302
|
+
sendManagerMessage: function (aid, managerMessageRequest, options) {
|
|
5303
|
+
return localVarFp.sendManagerMessage(aid, managerMessageRequest, options).then(function (request) { return request(axios, basePath); });
|
|
5304
5304
|
},
|
|
5305
5305
|
};
|
|
5306
5306
|
};
|
|
@@ -5315,15 +5315,15 @@ var ManagerApi = /** @class */ (function (_super) {
|
|
|
5315
5315
|
}
|
|
5316
5316
|
/**
|
|
5317
5317
|
* 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
|
|
5318
|
+
* @summary Chat with Agent Manager
|
|
5319
5319
|
* @param {string} aid Agent ID
|
|
5320
5320
|
* @param {ManagerMessageRequest} managerMessageRequest
|
|
5321
5321
|
* @param {*} [options] Override http request option.
|
|
5322
5322
|
* @throws {RequiredError}
|
|
5323
5323
|
*/
|
|
5324
|
-
ManagerApi.prototype.
|
|
5324
|
+
ManagerApi.prototype.sendManagerMessage = function (aid, managerMessageRequest, options) {
|
|
5325
5325
|
var _this = this;
|
|
5326
|
-
return (0, exports.ManagerApiFp)(this.configuration).
|
|
5326
|
+
return (0, exports.ManagerApiFp)(this.configuration).sendManagerMessage(aid, managerMessageRequest, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
5327
5327
|
};
|
|
5328
5328
|
return ManagerApi;
|
|
5329
5329
|
}(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.29
|
|
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.29
|
|
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.29
|
|
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.29
|
|
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-24T16:25:39.760+00:00]
|
|
31
|
+
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-24T16:25:39.760+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-24T16:25:39.760+00:00]
|
|
31
|
+
**updated_at** | **string** | Timestamp when this data was updated | [optional] [default to 2025-10-24T16:25:39.760+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