@crestal/nation-sdk 0.6.24 → 0.6.25
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/.openapi-generator/VERSION +1 -1
- package/README.md +2 -2
- package/api.ts +1733 -1
- package/base.ts +25 -1
- package/common.ts +38 -1
- package/configuration.ts +18 -1
- package/dist/api.d.ts +1733 -1
- package/dist/api.js +119 -1
- package/dist/base.d.ts +25 -1
- package/dist/base.js +20 -1
- package/dist/common.d.ts +38 -1
- package/dist/common.js +38 -1
- package/dist/configuration.d.ts +18 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/Agent.md +3 -3
- package/docs/AgentUpdate.md +3 -3
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
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.6.
|
|
8
|
+
* The version of the OpenAPI document: 0.6.25
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -139,6 +139,8 @@ exports.AgentResponseWalletProviderEnum = {
|
|
|
139
139
|
};
|
|
140
140
|
/**
|
|
141
141
|
* Sort options for agents list.
|
|
142
|
+
* @export
|
|
143
|
+
* @enum {string}
|
|
142
144
|
*/
|
|
143
145
|
exports.AgentSortOption = {
|
|
144
146
|
CreatedAtDesc: 'created_at desc',
|
|
@@ -184,6 +186,8 @@ exports.AgentUpdateCdpNetworkIdEnum = {
|
|
|
184
186
|
};
|
|
185
187
|
/**
|
|
186
188
|
* Type of message author.
|
|
189
|
+
* @export
|
|
190
|
+
* @enum {string}
|
|
187
191
|
*/
|
|
188
192
|
exports.AuthorType = {
|
|
189
193
|
Agent: 'agent',
|
|
@@ -198,6 +202,8 @@ exports.AuthorType = {
|
|
|
198
202
|
};
|
|
199
203
|
/**
|
|
200
204
|
* Type of chat message attachment.
|
|
205
|
+
* @export
|
|
206
|
+
* @enum {string}
|
|
201
207
|
*/
|
|
202
208
|
exports.ChatMessageAttachmentType = {
|
|
203
209
|
Link: 'link',
|
|
@@ -207,6 +213,8 @@ exports.ChatMessageAttachmentType = {
|
|
|
207
213
|
};
|
|
208
214
|
/**
|
|
209
215
|
* Credit or debit transaction.
|
|
216
|
+
* @export
|
|
217
|
+
* @enum {string}
|
|
210
218
|
*/
|
|
211
219
|
exports.CreditDebit = {
|
|
212
220
|
Credit: 'credit',
|
|
@@ -214,6 +222,8 @@ exports.CreditDebit = {
|
|
|
214
222
|
};
|
|
215
223
|
/**
|
|
216
224
|
* Credit type is used in db column names, do not change it.
|
|
225
|
+
* @export
|
|
226
|
+
* @enum {string}
|
|
217
227
|
*/
|
|
218
228
|
exports.CreditType = {
|
|
219
229
|
FreeCredits: 'free_credits',
|
|
@@ -222,6 +232,8 @@ exports.CreditType = {
|
|
|
222
232
|
};
|
|
223
233
|
/**
|
|
224
234
|
* Direction of credit flow.
|
|
235
|
+
* @export
|
|
236
|
+
* @enum {string}
|
|
225
237
|
*/
|
|
226
238
|
exports.Direction = {
|
|
227
239
|
Income: 'income',
|
|
@@ -229,6 +241,8 @@ exports.Direction = {
|
|
|
229
241
|
};
|
|
230
242
|
/**
|
|
231
243
|
* Type of credit event.
|
|
244
|
+
* @export
|
|
245
|
+
* @enum {string}
|
|
232
246
|
*/
|
|
233
247
|
exports.EventType = {
|
|
234
248
|
Memory: 'memory',
|
|
@@ -244,6 +258,11 @@ exports.EventType = {
|
|
|
244
258
|
EventReward: 'event_reward',
|
|
245
259
|
RechargeBonus: 'recharge_bonus'
|
|
246
260
|
};
|
|
261
|
+
/**
|
|
262
|
+
*
|
|
263
|
+
* @export
|
|
264
|
+
* @enum {string}
|
|
265
|
+
*/
|
|
247
266
|
exports.LLMProvider = {
|
|
248
267
|
Openai: 'openai',
|
|
249
268
|
Deepseek: 'deepseek',
|
|
@@ -254,6 +273,8 @@ exports.LLMProvider = {
|
|
|
254
273
|
};
|
|
255
274
|
/**
|
|
256
275
|
* Type of credit account owner.
|
|
276
|
+
* @export
|
|
277
|
+
* @enum {string}
|
|
257
278
|
*/
|
|
258
279
|
exports.OwnerType = {
|
|
259
280
|
User: 'user',
|
|
@@ -262,6 +283,8 @@ exports.OwnerType = {
|
|
|
262
283
|
};
|
|
263
284
|
/**
|
|
264
285
|
* Type of system message.
|
|
286
|
+
* @export
|
|
287
|
+
* @enum {string}
|
|
265
288
|
*/
|
|
266
289
|
exports.SystemMessageType = {
|
|
267
290
|
ServiceFeeError: 'service_fee_error',
|
|
@@ -273,6 +296,8 @@ exports.SystemMessageType = {
|
|
|
273
296
|
};
|
|
274
297
|
/**
|
|
275
298
|
* Type of credit transaction.
|
|
299
|
+
* @export
|
|
300
|
+
* @enum {string}
|
|
276
301
|
*/
|
|
277
302
|
exports.TransactionType = {
|
|
278
303
|
Pay: 'pay',
|
|
@@ -294,6 +319,8 @@ exports.TransactionType = {
|
|
|
294
319
|
};
|
|
295
320
|
/**
|
|
296
321
|
* Type of upstream transaction.
|
|
322
|
+
* @export
|
|
323
|
+
* @enum {string}
|
|
297
324
|
*/
|
|
298
325
|
exports.UpstreamType = {
|
|
299
326
|
Api: 'api',
|
|
@@ -303,6 +330,7 @@ exports.UpstreamType = {
|
|
|
303
330
|
};
|
|
304
331
|
/**
|
|
305
332
|
* AgentApi - axios parameter creator
|
|
333
|
+
* @export
|
|
306
334
|
*/
|
|
307
335
|
var AgentApiAxiosParamCreator = function (configuration) {
|
|
308
336
|
var _this = this;
|
|
@@ -962,6 +990,7 @@ var AgentApiAxiosParamCreator = function (configuration) {
|
|
|
962
990
|
exports.AgentApiAxiosParamCreator = AgentApiAxiosParamCreator;
|
|
963
991
|
/**
|
|
964
992
|
* AgentApi - functional programming interface
|
|
993
|
+
* @export
|
|
965
994
|
*/
|
|
966
995
|
var AgentApiFp = function (configuration) {
|
|
967
996
|
var localVarAxiosParamCreator = (0, exports.AgentApiAxiosParamCreator)(configuration);
|
|
@@ -1301,6 +1330,7 @@ var AgentApiFp = function (configuration) {
|
|
|
1301
1330
|
exports.AgentApiFp = AgentApiFp;
|
|
1302
1331
|
/**
|
|
1303
1332
|
* AgentApi - factory interface
|
|
1333
|
+
* @export
|
|
1304
1334
|
*/
|
|
1305
1335
|
var AgentApiFactory = function (configuration, basePath, axios) {
|
|
1306
1336
|
var localVarFp = (0, exports.AgentApiFp)(configuration);
|
|
@@ -1458,6 +1488,9 @@ var AgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1458
1488
|
exports.AgentApiFactory = AgentApiFactory;
|
|
1459
1489
|
/**
|
|
1460
1490
|
* AgentApi - object-oriented interface
|
|
1491
|
+
* @export
|
|
1492
|
+
* @class AgentApi
|
|
1493
|
+
* @extends {BaseAPI}
|
|
1461
1494
|
*/
|
|
1462
1495
|
var AgentApi = /** @class */ (function (_super) {
|
|
1463
1496
|
__extends(AgentApi, _super);
|
|
@@ -1470,6 +1503,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1470
1503
|
* @param {AgentUpdate} [agentUpdate]
|
|
1471
1504
|
* @param {*} [options] Override http request option.
|
|
1472
1505
|
* @throws {RequiredError}
|
|
1506
|
+
* @memberof AgentApi
|
|
1473
1507
|
*/
|
|
1474
1508
|
AgentApi.prototype.createAgent = function (agentUpdate, options) {
|
|
1475
1509
|
var _this = this;
|
|
@@ -1481,6 +1515,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1481
1515
|
* @param {string} agentId ID of the agent to export
|
|
1482
1516
|
* @param {*} [options] Override http request option.
|
|
1483
1517
|
* @throws {RequiredError}
|
|
1518
|
+
* @memberof AgentApi
|
|
1484
1519
|
*/
|
|
1485
1520
|
AgentApi.prototype.exportAgent = function (agentId, options) {
|
|
1486
1521
|
var _this = this;
|
|
@@ -1492,6 +1527,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1492
1527
|
* @param {string} agentId ID of the agent to retrieve
|
|
1493
1528
|
* @param {*} [options] Override http request option.
|
|
1494
1529
|
* @throws {RequiredError}
|
|
1530
|
+
* @memberof AgentApi
|
|
1495
1531
|
*/
|
|
1496
1532
|
AgentApi.prototype.getAgent = function (agentId, options) {
|
|
1497
1533
|
var _this = this;
|
|
@@ -1503,6 +1539,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1503
1539
|
* @param {string} agentId ID of the agent
|
|
1504
1540
|
* @param {*} [options] Override http request option.
|
|
1505
1541
|
* @throws {RequiredError}
|
|
1542
|
+
* @memberof AgentApi
|
|
1506
1543
|
*/
|
|
1507
1544
|
AgentApi.prototype.getAgentApiKey = function (agentId, options) {
|
|
1508
1545
|
var _this = this;
|
|
@@ -1514,6 +1551,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1514
1551
|
* @param {string} agentId ID of the agent
|
|
1515
1552
|
* @param {*} [options] Override http request option.
|
|
1516
1553
|
* @throws {RequiredError}
|
|
1554
|
+
* @memberof AgentApi
|
|
1517
1555
|
*/
|
|
1518
1556
|
AgentApi.prototype.getAgentAssets = function (agentId, options) {
|
|
1519
1557
|
var _this = this;
|
|
@@ -1525,6 +1563,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1525
1563
|
* @param {string} aid ID of the agent
|
|
1526
1564
|
* @param {*} [options] Override http request option.
|
|
1527
1565
|
* @throws {RequiredError}
|
|
1566
|
+
* @memberof AgentApi
|
|
1528
1567
|
*/
|
|
1529
1568
|
AgentApi.prototype.getAgentStatistics = function (aid, options) {
|
|
1530
1569
|
var _this = this;
|
|
@@ -1538,6 +1577,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1538
1577
|
* @param {number} [limit] Maximum number of agents to return
|
|
1539
1578
|
* @param {*} [options] Override http request option.
|
|
1540
1579
|
* @throws {RequiredError}
|
|
1580
|
+
* @memberof AgentApi
|
|
1541
1581
|
*/
|
|
1542
1582
|
AgentApi.prototype.getAgents = function (sort, cursor, limit, options) {
|
|
1543
1583
|
var _this = this;
|
|
@@ -1551,6 +1591,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1551
1591
|
* @param {number} [limit] Maximum number of messages to return
|
|
1552
1592
|
* @param {*} [options] Override http request option.
|
|
1553
1593
|
* @throws {RequiredError}
|
|
1594
|
+
* @memberof AgentApi
|
|
1554
1595
|
*/
|
|
1555
1596
|
AgentApi.prototype.getSkillHistory = function (aid, cursor, limit, options) {
|
|
1556
1597
|
var _this = this;
|
|
@@ -1563,6 +1604,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1563
1604
|
* @param {File} file YAML file containing agent configuration
|
|
1564
1605
|
* @param {*} [options] Override http request option.
|
|
1565
1606
|
* @throws {RequiredError}
|
|
1607
|
+
* @memberof AgentApi
|
|
1566
1608
|
*/
|
|
1567
1609
|
AgentApi.prototype.importAgent = function (agentId, file, options) {
|
|
1568
1610
|
var _this = this;
|
|
@@ -1575,6 +1617,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1575
1617
|
* @param {AgentUpdate} [agentUpdate]
|
|
1576
1618
|
* @param {*} [options] Override http request option.
|
|
1577
1619
|
* @throws {RequiredError}
|
|
1620
|
+
* @memberof AgentApi
|
|
1578
1621
|
*/
|
|
1579
1622
|
AgentApi.prototype.overrideAgent = function (agentId, agentUpdate, options) {
|
|
1580
1623
|
var _this = this;
|
|
@@ -1586,6 +1629,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1586
1629
|
* @param {string} agentId ID of the agent
|
|
1587
1630
|
* @param {*} [options] Override http request option.
|
|
1588
1631
|
* @throws {RequiredError}
|
|
1632
|
+
* @memberof AgentApi
|
|
1589
1633
|
*/
|
|
1590
1634
|
AgentApi.prototype.resetAgentApiKey = function (agentId, options) {
|
|
1591
1635
|
var _this = this;
|
|
@@ -1598,6 +1642,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1598
1642
|
* @param {AgentUpdate} [agentUpdate]
|
|
1599
1643
|
* @param {*} [options] Override http request option.
|
|
1600
1644
|
* @throws {RequiredError}
|
|
1645
|
+
* @memberof AgentApi
|
|
1601
1646
|
*/
|
|
1602
1647
|
AgentApi.prototype.updateAgent = function (agentId, agentUpdate, options) {
|
|
1603
1648
|
var _this = this;
|
|
@@ -1609,6 +1654,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1609
1654
|
* @param {AgentUpdate} [agentUpdate]
|
|
1610
1655
|
* @param {*} [options] Override http request option.
|
|
1611
1656
|
* @throws {RequiredError}
|
|
1657
|
+
* @memberof AgentApi
|
|
1612
1658
|
*/
|
|
1613
1659
|
AgentApi.prototype.validateAgentCreate = function (agentUpdate, options) {
|
|
1614
1660
|
var _this = this;
|
|
@@ -1621,6 +1667,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1621
1667
|
* @param {AgentUpdate} [agentUpdate]
|
|
1622
1668
|
* @param {*} [options] Override http request option.
|
|
1623
1669
|
* @throws {RequiredError}
|
|
1670
|
+
* @memberof AgentApi
|
|
1624
1671
|
*/
|
|
1625
1672
|
AgentApi.prototype.validateAgentUpdate = function (agentId, agentUpdate, options) {
|
|
1626
1673
|
var _this = this;
|
|
@@ -1631,6 +1678,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1631
1678
|
exports.AgentApi = AgentApi;
|
|
1632
1679
|
/**
|
|
1633
1680
|
* ChatApi - axios parameter creator
|
|
1681
|
+
* @export
|
|
1634
1682
|
*/
|
|
1635
1683
|
var ChatApiAxiosParamCreator = function (configuration) {
|
|
1636
1684
|
var _this = this;
|
|
@@ -2160,6 +2208,7 @@ var ChatApiAxiosParamCreator = function (configuration) {
|
|
|
2160
2208
|
exports.ChatApiAxiosParamCreator = ChatApiAxiosParamCreator;
|
|
2161
2209
|
/**
|
|
2162
2210
|
* ChatApi - functional programming interface
|
|
2211
|
+
* @export
|
|
2163
2212
|
*/
|
|
2164
2213
|
var ChatApiFp = function (configuration) {
|
|
2165
2214
|
var localVarAxiosParamCreator = (0, exports.ChatApiAxiosParamCreator)(configuration);
|
|
@@ -2411,6 +2460,7 @@ var ChatApiFp = function (configuration) {
|
|
|
2411
2460
|
exports.ChatApiFp = ChatApiFp;
|
|
2412
2461
|
/**
|
|
2413
2462
|
* ChatApi - factory interface
|
|
2463
|
+
* @export
|
|
2414
2464
|
*/
|
|
2415
2465
|
var ChatApiFactory = function (configuration, basePath, axios) {
|
|
2416
2466
|
var localVarFp = (0, exports.ChatApiFp)(configuration);
|
|
@@ -2532,6 +2582,9 @@ var ChatApiFactory = function (configuration, basePath, axios) {
|
|
|
2532
2582
|
exports.ChatApiFactory = ChatApiFactory;
|
|
2533
2583
|
/**
|
|
2534
2584
|
* ChatApi - object-oriented interface
|
|
2585
|
+
* @export
|
|
2586
|
+
* @class ChatApi
|
|
2587
|
+
* @extends {BaseAPI}
|
|
2535
2588
|
*/
|
|
2536
2589
|
var ChatApi = /** @class */ (function (_super) {
|
|
2537
2590
|
__extends(ChatApi, _super);
|
|
@@ -2544,6 +2597,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2544
2597
|
* @param {string} aid Agent ID
|
|
2545
2598
|
* @param {*} [options] Override http request option.
|
|
2546
2599
|
* @throws {RequiredError}
|
|
2600
|
+
* @memberof ChatApi
|
|
2547
2601
|
*/
|
|
2548
2602
|
ChatApi.prototype.createChatThread = function (aid, options) {
|
|
2549
2603
|
var _this = this;
|
|
@@ -2556,6 +2610,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2556
2610
|
* @param {string} chatId Chat ID
|
|
2557
2611
|
* @param {*} [options] Override http request option.
|
|
2558
2612
|
* @throws {RequiredError}
|
|
2613
|
+
* @memberof ChatApi
|
|
2559
2614
|
*/
|
|
2560
2615
|
ChatApi.prototype.deleteChatThread = function (aid, chatId, options) {
|
|
2561
2616
|
var _this = this;
|
|
@@ -2568,6 +2623,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2568
2623
|
* @param {string} chatId Chat ID
|
|
2569
2624
|
* @param {*} [options] Override http request option.
|
|
2570
2625
|
* @throws {RequiredError}
|
|
2626
|
+
* @memberof ChatApi
|
|
2571
2627
|
*/
|
|
2572
2628
|
ChatApi.prototype.getChatThreadById = function (aid, chatId, options) {
|
|
2573
2629
|
var _this = this;
|
|
@@ -2579,6 +2635,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2579
2635
|
* @param {string} messageId Message ID
|
|
2580
2636
|
* @param {*} [options] Override http request option.
|
|
2581
2637
|
* @throws {RequiredError}
|
|
2638
|
+
* @memberof ChatApi
|
|
2582
2639
|
*/
|
|
2583
2640
|
ChatApi.prototype.getMessageById = function (messageId, options) {
|
|
2584
2641
|
var _this = this;
|
|
@@ -2592,6 +2649,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2592
2649
|
* @param {number} [limit] Maximum number of messages to return
|
|
2593
2650
|
* @param {*} [options] Override http request option.
|
|
2594
2651
|
* @throws {RequiredError}
|
|
2652
|
+
* @memberof ChatApi
|
|
2595
2653
|
*/
|
|
2596
2654
|
ChatApi.prototype.getSkillHistory = function (aid, cursor, limit, options) {
|
|
2597
2655
|
var _this = this;
|
|
@@ -2603,6 +2661,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2603
2661
|
* @param {string} aid Agent ID
|
|
2604
2662
|
* @param {*} [options] Override http request option.
|
|
2605
2663
|
* @throws {RequiredError}
|
|
2664
|
+
* @memberof ChatApi
|
|
2606
2665
|
*/
|
|
2607
2666
|
ChatApi.prototype.listChatsForAgent = function (aid, options) {
|
|
2608
2667
|
var _this = this;
|
|
@@ -2617,6 +2676,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2617
2676
|
* @param {number} [limit] Maximum number of messages to return
|
|
2618
2677
|
* @param {*} [options] Override http request option.
|
|
2619
2678
|
* @throws {RequiredError}
|
|
2679
|
+
* @memberof ChatApi
|
|
2620
2680
|
*/
|
|
2621
2681
|
ChatApi.prototype.listMessagesInChat = function (aid, chatId, cursor, limit, options) {
|
|
2622
2682
|
var _this = this;
|
|
@@ -2629,6 +2689,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2629
2689
|
* @param {string} chatId Chat ID
|
|
2630
2690
|
* @param {*} [options] Override http request option.
|
|
2631
2691
|
* @throws {RequiredError}
|
|
2692
|
+
* @memberof ChatApi
|
|
2632
2693
|
*/
|
|
2633
2694
|
ChatApi.prototype.retryMessageInChat = function (aid, chatId, options) {
|
|
2634
2695
|
var _this = this;
|
|
@@ -2642,6 +2703,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2642
2703
|
* @param {ChatMessageRequest} chatMessageRequest
|
|
2643
2704
|
* @param {*} [options] Override http request option.
|
|
2644
2705
|
* @throws {RequiredError}
|
|
2706
|
+
* @memberof ChatApi
|
|
2645
2707
|
*/
|
|
2646
2708
|
ChatApi.prototype.sendMessageToChat = function (aid, chatId, chatMessageRequest, options) {
|
|
2647
2709
|
var _this = this;
|
|
@@ -2655,6 +2717,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2655
2717
|
* @param {ChatUpdateRequest} chatUpdateRequest
|
|
2656
2718
|
* @param {*} [options] Override http request option.
|
|
2657
2719
|
* @throws {RequiredError}
|
|
2720
|
+
* @memberof ChatApi
|
|
2658
2721
|
*/
|
|
2659
2722
|
ChatApi.prototype.updateChatThread = function (aid, chatId, chatUpdateRequest, options) {
|
|
2660
2723
|
var _this = this;
|
|
@@ -2665,6 +2728,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2665
2728
|
exports.ChatApi = ChatApi;
|
|
2666
2729
|
/**
|
|
2667
2730
|
* CreditApi - axios parameter creator
|
|
2731
|
+
* @export
|
|
2668
2732
|
*/
|
|
2669
2733
|
var CreditApiAxiosParamCreator = function (configuration) {
|
|
2670
2734
|
var _this = this;
|
|
@@ -2937,6 +3001,7 @@ var CreditApiAxiosParamCreator = function (configuration) {
|
|
|
2937
3001
|
exports.CreditApiAxiosParamCreator = CreditApiAxiosParamCreator;
|
|
2938
3002
|
/**
|
|
2939
3003
|
* CreditApi - functional programming interface
|
|
3004
|
+
* @export
|
|
2940
3005
|
*/
|
|
2941
3006
|
var CreditApiFp = function (configuration) {
|
|
2942
3007
|
var localVarAxiosParamCreator = (0, exports.CreditApiAxiosParamCreator)(configuration);
|
|
@@ -3068,6 +3133,7 @@ var CreditApiFp = function (configuration) {
|
|
|
3068
3133
|
exports.CreditApiFp = CreditApiFp;
|
|
3069
3134
|
/**
|
|
3070
3135
|
* CreditApi - factory interface
|
|
3136
|
+
* @export
|
|
3071
3137
|
*/
|
|
3072
3138
|
var CreditApiFactory = function (configuration, basePath, axios) {
|
|
3073
3139
|
var localVarFp = (0, exports.CreditApiFp)(configuration);
|
|
@@ -3134,6 +3200,9 @@ var CreditApiFactory = function (configuration, basePath, axios) {
|
|
|
3134
3200
|
exports.CreditApiFactory = CreditApiFactory;
|
|
3135
3201
|
/**
|
|
3136
3202
|
* CreditApi - object-oriented interface
|
|
3203
|
+
* @export
|
|
3204
|
+
* @class CreditApi
|
|
3205
|
+
* @extends {BaseAPI}
|
|
3137
3206
|
*/
|
|
3138
3207
|
var CreditApi = /** @class */ (function (_super) {
|
|
3139
3208
|
__extends(CreditApi, _super);
|
|
@@ -3146,6 +3215,7 @@ var CreditApi = /** @class */ (function (_super) {
|
|
|
3146
3215
|
* @param {string} eventId Credit event ID
|
|
3147
3216
|
* @param {*} [options] Override http request option.
|
|
3148
3217
|
* @throws {RequiredError}
|
|
3218
|
+
* @memberof CreditApi
|
|
3149
3219
|
*/
|
|
3150
3220
|
CreditApi.prototype.fetchCreditEvent = function (eventId, options) {
|
|
3151
3221
|
var _this = this;
|
|
@@ -3156,6 +3226,7 @@ var CreditApi = /** @class */ (function (_super) {
|
|
|
3156
3226
|
* @summary Get User Account
|
|
3157
3227
|
* @param {*} [options] Override http request option.
|
|
3158
3228
|
* @throws {RequiredError}
|
|
3229
|
+
* @memberof CreditApi
|
|
3159
3230
|
*/
|
|
3160
3231
|
CreditApi.prototype.getUserAccount = function (options) {
|
|
3161
3232
|
var _this = this;
|
|
@@ -3169,6 +3240,7 @@ var CreditApi = /** @class */ (function (_super) {
|
|
|
3169
3240
|
* @param {number} [limit] Maximum number of events to return
|
|
3170
3241
|
* @param {*} [options] Override http request option.
|
|
3171
3242
|
* @throws {RequiredError}
|
|
3243
|
+
* @memberof CreditApi
|
|
3172
3244
|
*/
|
|
3173
3245
|
CreditApi.prototype.listAgentIncomeEvents = function (agentId, cursor, limit, options) {
|
|
3174
3246
|
var _this = this;
|
|
@@ -3183,6 +3255,7 @@ var CreditApi = /** @class */ (function (_super) {
|
|
|
3183
3255
|
* @param {number} [limit] Maximum number of events to return
|
|
3184
3256
|
* @param {*} [options] Override http request option.
|
|
3185
3257
|
* @throws {RequiredError}
|
|
3258
|
+
* @memberof CreditApi
|
|
3186
3259
|
*/
|
|
3187
3260
|
CreditApi.prototype.listUserEvents = function (eventType, direction, cursor, limit, options) {
|
|
3188
3261
|
var _this = this;
|
|
@@ -3197,6 +3270,7 @@ var CreditApi = /** @class */ (function (_super) {
|
|
|
3197
3270
|
* @param {number} [limit] Maximum number of transactions to return
|
|
3198
3271
|
* @param {*} [options] Override http request option.
|
|
3199
3272
|
* @throws {RequiredError}
|
|
3273
|
+
* @memberof CreditApi
|
|
3200
3274
|
*/
|
|
3201
3275
|
CreditApi.prototype.listUserTransactions = function (txType, creditDebit, cursor, limit, options) {
|
|
3202
3276
|
var _this = this;
|
|
@@ -3207,6 +3281,7 @@ var CreditApi = /** @class */ (function (_super) {
|
|
|
3207
3281
|
exports.CreditApi = CreditApi;
|
|
3208
3282
|
/**
|
|
3209
3283
|
* GeneratorApi - axios parameter creator
|
|
3284
|
+
* @export
|
|
3210
3285
|
*/
|
|
3211
3286
|
var GeneratorApiAxiosParamCreator = function (configuration) {
|
|
3212
3287
|
var _this = this;
|
|
@@ -3358,6 +3433,7 @@ var GeneratorApiAxiosParamCreator = function (configuration) {
|
|
|
3358
3433
|
exports.GeneratorApiAxiosParamCreator = GeneratorApiAxiosParamCreator;
|
|
3359
3434
|
/**
|
|
3360
3435
|
* GeneratorApi - functional programming interface
|
|
3436
|
+
* @export
|
|
3361
3437
|
*/
|
|
3362
3438
|
var GeneratorApiFp = function (configuration) {
|
|
3363
3439
|
var localVarAxiosParamCreator = (0, exports.GeneratorApiAxiosParamCreator)(configuration);
|
|
@@ -3436,6 +3512,7 @@ var GeneratorApiFp = function (configuration) {
|
|
|
3436
3512
|
exports.GeneratorApiFp = GeneratorApiFp;
|
|
3437
3513
|
/**
|
|
3438
3514
|
* GeneratorApi - factory interface
|
|
3515
|
+
* @export
|
|
3439
3516
|
*/
|
|
3440
3517
|
var GeneratorApiFactory = function (configuration, basePath, axios) {
|
|
3441
3518
|
var localVarFp = (0, exports.GeneratorApiFp)(configuration);
|
|
@@ -3475,6 +3552,9 @@ var GeneratorApiFactory = function (configuration, basePath, axios) {
|
|
|
3475
3552
|
exports.GeneratorApiFactory = GeneratorApiFactory;
|
|
3476
3553
|
/**
|
|
3477
3554
|
* GeneratorApi - object-oriented interface
|
|
3555
|
+
* @export
|
|
3556
|
+
* @class GeneratorApi
|
|
3557
|
+
* @extends {BaseAPI}
|
|
3478
3558
|
*/
|
|
3479
3559
|
var GeneratorApi = /** @class */ (function (_super) {
|
|
3480
3560
|
__extends(GeneratorApi, _super);
|
|
@@ -3487,6 +3567,7 @@ var GeneratorApi = /** @class */ (function (_super) {
|
|
|
3487
3567
|
* @param {AgentGenerateRequest} agentGenerateRequest
|
|
3488
3568
|
* @param {*} [options] Override http request option.
|
|
3489
3569
|
* @throws {RequiredError}
|
|
3570
|
+
* @memberof GeneratorApi
|
|
3490
3571
|
*/
|
|
3491
3572
|
GeneratorApi.prototype.generateAgent = function (agentGenerateRequest, options) {
|
|
3492
3573
|
var _this = this;
|
|
@@ -3498,6 +3579,7 @@ var GeneratorApi = /** @class */ (function (_super) {
|
|
|
3498
3579
|
* @param {string} projectId
|
|
3499
3580
|
* @param {*} [options] Override http request option.
|
|
3500
3581
|
* @throws {RequiredError}
|
|
3582
|
+
* @memberof GeneratorApi
|
|
3501
3583
|
*/
|
|
3502
3584
|
GeneratorApi.prototype.getGenerationHistory = function (projectId, options) {
|
|
3503
3585
|
var _this = this;
|
|
@@ -3509,6 +3591,7 @@ var GeneratorApi = /** @class */ (function (_super) {
|
|
|
3509
3591
|
* @param {number} [limit]
|
|
3510
3592
|
* @param {*} [options] Override http request option.
|
|
3511
3593
|
* @throws {RequiredError}
|
|
3594
|
+
* @memberof GeneratorApi
|
|
3512
3595
|
*/
|
|
3513
3596
|
GeneratorApi.prototype.getGenerations = function (limit, options) {
|
|
3514
3597
|
var _this = this;
|
|
@@ -3519,6 +3602,7 @@ var GeneratorApi = /** @class */ (function (_super) {
|
|
|
3519
3602
|
exports.GeneratorApi = GeneratorApi;
|
|
3520
3603
|
/**
|
|
3521
3604
|
* HealthApi - axios parameter creator
|
|
3605
|
+
* @export
|
|
3522
3606
|
*/
|
|
3523
3607
|
var HealthApiAxiosParamCreator = function (configuration) {
|
|
3524
3608
|
var _this = this;
|
|
@@ -3561,6 +3645,7 @@ var HealthApiAxiosParamCreator = function (configuration) {
|
|
|
3561
3645
|
exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
|
|
3562
3646
|
/**
|
|
3563
3647
|
* HealthApi - functional programming interface
|
|
3648
|
+
* @export
|
|
3564
3649
|
*/
|
|
3565
3650
|
var HealthApiFp = function (configuration) {
|
|
3566
3651
|
var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
|
|
@@ -3592,6 +3677,7 @@ var HealthApiFp = function (configuration) {
|
|
|
3592
3677
|
exports.HealthApiFp = HealthApiFp;
|
|
3593
3678
|
/**
|
|
3594
3679
|
* HealthApi - factory interface
|
|
3680
|
+
* @export
|
|
3595
3681
|
*/
|
|
3596
3682
|
var HealthApiFactory = function (configuration, basePath, axios) {
|
|
3597
3683
|
var localVarFp = (0, exports.HealthApiFp)(configuration);
|
|
@@ -3610,6 +3696,9 @@ var HealthApiFactory = function (configuration, basePath, axios) {
|
|
|
3610
3696
|
exports.HealthApiFactory = HealthApiFactory;
|
|
3611
3697
|
/**
|
|
3612
3698
|
* HealthApi - object-oriented interface
|
|
3699
|
+
* @export
|
|
3700
|
+
* @class HealthApi
|
|
3701
|
+
* @extends {BaseAPI}
|
|
3613
3702
|
*/
|
|
3614
3703
|
var HealthApi = /** @class */ (function (_super) {
|
|
3615
3704
|
__extends(HealthApi, _super);
|
|
@@ -3621,6 +3710,7 @@ var HealthApi = /** @class */ (function (_super) {
|
|
|
3621
3710
|
* @summary Health check endpoint
|
|
3622
3711
|
* @param {*} [options] Override http request option.
|
|
3623
3712
|
* @throws {RequiredError}
|
|
3713
|
+
* @memberof HealthApi
|
|
3624
3714
|
*/
|
|
3625
3715
|
HealthApi.prototype.healthCheck = function (options) {
|
|
3626
3716
|
var _this = this;
|
|
@@ -3631,6 +3721,7 @@ var HealthApi = /** @class */ (function (_super) {
|
|
|
3631
3721
|
exports.HealthApi = HealthApi;
|
|
3632
3722
|
/**
|
|
3633
3723
|
* MetadataApi - axios parameter creator
|
|
3724
|
+
* @export
|
|
3634
3725
|
*/
|
|
3635
3726
|
var MetadataApiAxiosParamCreator = function (configuration) {
|
|
3636
3727
|
var _this = this;
|
|
@@ -3821,6 +3912,7 @@ var MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
3821
3912
|
exports.MetadataApiAxiosParamCreator = MetadataApiAxiosParamCreator;
|
|
3822
3913
|
/**
|
|
3823
3914
|
* MetadataApi - functional programming interface
|
|
3915
|
+
* @export
|
|
3824
3916
|
*/
|
|
3825
3917
|
var MetadataApiFp = function (configuration) {
|
|
3826
3918
|
var localVarAxiosParamCreator = (0, exports.MetadataApiAxiosParamCreator)(configuration);
|
|
@@ -3944,6 +4036,7 @@ var MetadataApiFp = function (configuration) {
|
|
|
3944
4036
|
exports.MetadataApiFp = MetadataApiFp;
|
|
3945
4037
|
/**
|
|
3946
4038
|
* MetadataApi - factory interface
|
|
4039
|
+
* @export
|
|
3947
4040
|
*/
|
|
3948
4041
|
var MetadataApiFactory = function (configuration, basePath, axios) {
|
|
3949
4042
|
var localVarFp = (0, exports.MetadataApiFp)(configuration);
|
|
@@ -4002,6 +4095,9 @@ var MetadataApiFactory = function (configuration, basePath, axios) {
|
|
|
4002
4095
|
exports.MetadataApiFactory = MetadataApiFactory;
|
|
4003
4096
|
/**
|
|
4004
4097
|
* MetadataApi - object-oriented interface
|
|
4098
|
+
* @export
|
|
4099
|
+
* @class MetadataApi
|
|
4100
|
+
* @extends {BaseAPI}
|
|
4005
4101
|
*/
|
|
4006
4102
|
var MetadataApi = /** @class */ (function (_super) {
|
|
4007
4103
|
__extends(MetadataApi, _super);
|
|
@@ -4013,6 +4109,7 @@ var MetadataApi = /** @class */ (function (_super) {
|
|
|
4013
4109
|
* @summary Get agent schema
|
|
4014
4110
|
* @param {*} [options] Override http request option.
|
|
4015
4111
|
* @throws {RequiredError}
|
|
4112
|
+
* @memberof MetadataApi
|
|
4016
4113
|
*/
|
|
4017
4114
|
MetadataApi.prototype.getAgentSchema = function (options) {
|
|
4018
4115
|
var _this = this;
|
|
@@ -4023,6 +4120,7 @@ var MetadataApi = /** @class */ (function (_super) {
|
|
|
4023
4120
|
* @summary Get all LLM models
|
|
4024
4121
|
* @param {*} [options] Override http request option.
|
|
4025
4122
|
* @throws {RequiredError}
|
|
4123
|
+
* @memberof MetadataApi
|
|
4026
4124
|
*/
|
|
4027
4125
|
MetadataApi.prototype.getLlms = function (options) {
|
|
4028
4126
|
var _this = this;
|
|
@@ -4036,6 +4134,7 @@ var MetadataApi = /** @class */ (function (_super) {
|
|
|
4036
4134
|
* @param {string} ext Icon file extension
|
|
4037
4135
|
* @param {*} [options] Override http request option.
|
|
4038
4136
|
* @throws {RequiredError}
|
|
4137
|
+
* @memberof MetadataApi
|
|
4039
4138
|
*/
|
|
4040
4139
|
MetadataApi.prototype.getSkillIcon = function (skill, iconName, ext, options) {
|
|
4041
4140
|
var _this = this;
|
|
@@ -4047,6 +4146,7 @@ var MetadataApi = /** @class */ (function (_super) {
|
|
|
4047
4146
|
* @param {string} skill Skill name
|
|
4048
4147
|
* @param {*} [options] Override http request option.
|
|
4049
4148
|
* @throws {RequiredError}
|
|
4149
|
+
* @memberof MetadataApi
|
|
4050
4150
|
*/
|
|
4051
4151
|
MetadataApi.prototype.getSkillSchema = function (skill, options) {
|
|
4052
4152
|
var _this = this;
|
|
@@ -4057,6 +4157,7 @@ var MetadataApi = /** @class */ (function (_super) {
|
|
|
4057
4157
|
* @summary Get all skills
|
|
4058
4158
|
* @param {*} [options] Override http request option.
|
|
4059
4159
|
* @throws {RequiredError}
|
|
4160
|
+
* @memberof MetadataApi
|
|
4060
4161
|
*/
|
|
4061
4162
|
MetadataApi.prototype.getSkills = function (options) {
|
|
4062
4163
|
var _this = this;
|
|
@@ -4067,6 +4168,7 @@ var MetadataApi = /** @class */ (function (_super) {
|
|
|
4067
4168
|
exports.MetadataApi = MetadataApi;
|
|
4068
4169
|
/**
|
|
4069
4170
|
* OAuthApi - axios parameter creator
|
|
4171
|
+
* @export
|
|
4070
4172
|
*/
|
|
4071
4173
|
var OAuthApiAxiosParamCreator = function (configuration) {
|
|
4072
4174
|
var _this = this;
|
|
@@ -4227,6 +4329,7 @@ var OAuthApiAxiosParamCreator = function (configuration) {
|
|
|
4227
4329
|
exports.OAuthApiAxiosParamCreator = OAuthApiAxiosParamCreator;
|
|
4228
4330
|
/**
|
|
4229
4331
|
* OAuthApi - functional programming interface
|
|
4332
|
+
* @export
|
|
4230
4333
|
*/
|
|
4231
4334
|
var OAuthApiFp = function (configuration) {
|
|
4232
4335
|
var localVarAxiosParamCreator = (0, exports.OAuthApiAxiosParamCreator)(configuration);
|
|
@@ -4308,6 +4411,7 @@ var OAuthApiFp = function (configuration) {
|
|
|
4308
4411
|
exports.OAuthApiFp = OAuthApiFp;
|
|
4309
4412
|
/**
|
|
4310
4413
|
* OAuthApi - factory interface
|
|
4414
|
+
* @export
|
|
4311
4415
|
*/
|
|
4312
4416
|
var OAuthApiFactory = function (configuration, basePath, axios) {
|
|
4313
4417
|
var localVarFp = (0, exports.OAuthApiFp)(configuration);
|
|
@@ -4350,6 +4454,9 @@ var OAuthApiFactory = function (configuration, basePath, axios) {
|
|
|
4350
4454
|
exports.OAuthApiFactory = OAuthApiFactory;
|
|
4351
4455
|
/**
|
|
4352
4456
|
* OAuthApi - object-oriented interface
|
|
4457
|
+
* @export
|
|
4458
|
+
* @class OAuthApi
|
|
4459
|
+
* @extends {BaseAPI}
|
|
4353
4460
|
*/
|
|
4354
4461
|
var OAuthApi = /** @class */ (function (_super) {
|
|
4355
4462
|
__extends(OAuthApi, _super);
|
|
@@ -4363,6 +4470,7 @@ var OAuthApi = /** @class */ (function (_super) {
|
|
|
4363
4470
|
* @param {string} redirectUri
|
|
4364
4471
|
* @param {*} [options] Override http request option.
|
|
4365
4472
|
* @throws {RequiredError}
|
|
4473
|
+
* @memberof OAuthApi
|
|
4366
4474
|
*/
|
|
4367
4475
|
OAuthApi.prototype.getTwitterAuthUrl = function (agentId, redirectUri, options) {
|
|
4368
4476
|
var _this = this;
|
|
@@ -4376,6 +4484,7 @@ var OAuthApi = /** @class */ (function (_super) {
|
|
|
4376
4484
|
* @param {string | null} [error]
|
|
4377
4485
|
* @param {*} [options] Override http request option.
|
|
4378
4486
|
* @throws {RequiredError}
|
|
4487
|
+
* @memberof OAuthApi
|
|
4379
4488
|
*/
|
|
4380
4489
|
OAuthApi.prototype.twitterOauthCallback = function (state, code, error, options) {
|
|
4381
4490
|
var _this = this;
|
|
@@ -4387,6 +4496,7 @@ var OAuthApi = /** @class */ (function (_super) {
|
|
|
4387
4496
|
* @param {string} agentId ID of the agent to unlink from X
|
|
4388
4497
|
* @param {*} [options] Override http request option.
|
|
4389
4498
|
* @throws {RequiredError}
|
|
4499
|
+
* @memberof OAuthApi
|
|
4390
4500
|
*/
|
|
4391
4501
|
OAuthApi.prototype.unlinkTwitter = function (agentId, options) {
|
|
4392
4502
|
var _this = this;
|
|
@@ -4397,6 +4507,7 @@ var OAuthApi = /** @class */ (function (_super) {
|
|
|
4397
4507
|
exports.OAuthApi = OAuthApi;
|
|
4398
4508
|
/**
|
|
4399
4509
|
* UserApi - axios parameter creator
|
|
4510
|
+
* @export
|
|
4400
4511
|
*/
|
|
4401
4512
|
var UserApiAxiosParamCreator = function (configuration) {
|
|
4402
4513
|
var _this = this;
|
|
@@ -4504,6 +4615,7 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
4504
4615
|
exports.UserApiAxiosParamCreator = UserApiAxiosParamCreator;
|
|
4505
4616
|
/**
|
|
4506
4617
|
* UserApi - functional programming interface
|
|
4618
|
+
* @export
|
|
4507
4619
|
*/
|
|
4508
4620
|
var UserApiFp = function (configuration) {
|
|
4509
4621
|
var localVarAxiosParamCreator = (0, exports.UserApiAxiosParamCreator)(configuration);
|
|
@@ -4560,6 +4672,7 @@ var UserApiFp = function (configuration) {
|
|
|
4560
4672
|
exports.UserApiFp = UserApiFp;
|
|
4561
4673
|
/**
|
|
4562
4674
|
* UserApi - factory interface
|
|
4675
|
+
* @export
|
|
4563
4676
|
*/
|
|
4564
4677
|
var UserApiFactory = function (configuration, basePath, axios) {
|
|
4565
4678
|
var localVarFp = (0, exports.UserApiFp)(configuration);
|
|
@@ -4590,6 +4703,9 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
4590
4703
|
exports.UserApiFactory = UserApiFactory;
|
|
4591
4704
|
/**
|
|
4592
4705
|
* UserApi - object-oriented interface
|
|
4706
|
+
* @export
|
|
4707
|
+
* @class UserApi
|
|
4708
|
+
* @extends {BaseAPI}
|
|
4593
4709
|
*/
|
|
4594
4710
|
var UserApi = /** @class */ (function (_super) {
|
|
4595
4711
|
__extends(UserApi, _super);
|
|
@@ -4602,6 +4718,7 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
4602
4718
|
* @param {string} agentId Agent ID
|
|
4603
4719
|
* @param {*} [options] Override http request option.
|
|
4604
4720
|
* @throws {RequiredError}
|
|
4721
|
+
* @memberof UserApi
|
|
4605
4722
|
*/
|
|
4606
4723
|
UserApi.prototype.getUserAgentById = function (agentId, options) {
|
|
4607
4724
|
var _this = this;
|
|
@@ -4614,6 +4731,7 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
4614
4731
|
* @param {number} [limit] Maximum number of agents to return
|
|
4615
4732
|
* @param {*} [options] Override http request option.
|
|
4616
4733
|
* @throws {RequiredError}
|
|
4734
|
+
* @memberof UserApi
|
|
4617
4735
|
*/
|
|
4618
4736
|
UserApi.prototype.getUserAgents = function (cursor, limit, options) {
|
|
4619
4737
|
var _this = this;
|