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