@crestal/nation-sdk 0.7.3 → 0.7.5

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/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.7.3
8
+ * The version of the OpenAPI document: 0.7.5
9
9
  *
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -178,6 +178,8 @@ exports.AgentResponseShortTermMemoryStrategyEnum = {
178
178
  };
179
179
  /**
180
180
  * Sort options for agents list.
181
+ * @export
182
+ * @enum {string}
181
183
  */
182
184
  exports.AgentSortOption = {
183
185
  CreatedAtDesc: 'created_at desc',
@@ -228,6 +230,8 @@ exports.AgentUserInputShortTermMemoryStrategyEnum = {
228
230
  };
229
231
  /**
230
232
  * Type of message author.
233
+ * @export
234
+ * @enum {string}
231
235
  */
232
236
  exports.AuthorType = {
233
237
  Agent: 'agent',
@@ -242,6 +246,8 @@ exports.AuthorType = {
242
246
  };
243
247
  /**
244
248
  * Type of chat message attachment.
249
+ * @export
250
+ * @enum {string}
245
251
  */
246
252
  exports.ChatMessageAttachmentType = {
247
253
  Link: 'link',
@@ -251,6 +257,8 @@ exports.ChatMessageAttachmentType = {
251
257
  };
252
258
  /**
253
259
  * Credit or debit transaction.
260
+ * @export
261
+ * @enum {string}
254
262
  */
255
263
  exports.CreditDebit = {
256
264
  Credit: 'credit',
@@ -258,6 +266,8 @@ exports.CreditDebit = {
258
266
  };
259
267
  /**
260
268
  * Credit type is used in db column names, do not change it.
269
+ * @export
270
+ * @enum {string}
261
271
  */
262
272
  exports.CreditType = {
263
273
  FreeCredits: 'free_credits',
@@ -266,6 +276,8 @@ exports.CreditType = {
266
276
  };
267
277
  /**
268
278
  * Direction of credit flow.
279
+ * @export
280
+ * @enum {string}
269
281
  */
270
282
  exports.Direction = {
271
283
  Income: 'income',
@@ -273,6 +285,8 @@ exports.Direction = {
273
285
  };
274
286
  /**
275
287
  * Type of credit event.
288
+ * @export
289
+ * @enum {string}
276
290
  */
277
291
  exports.EventType = {
278
292
  Memory: 'memory',
@@ -289,6 +303,11 @@ exports.EventType = {
289
303
  EventReward: 'event_reward',
290
304
  RechargeBonus: 'recharge_bonus'
291
305
  };
306
+ /**
307
+ *
308
+ * @export
309
+ * @enum {string}
310
+ */
292
311
  exports.LLMProvider = {
293
312
  Openai: 'openai',
294
313
  Deepseek: 'deepseek',
@@ -299,6 +318,8 @@ exports.LLMProvider = {
299
318
  };
300
319
  /**
301
320
  * Type of credit account owner.
321
+ * @export
322
+ * @enum {string}
302
323
  */
303
324
  exports.OwnerType = {
304
325
  User: 'user',
@@ -307,6 +328,8 @@ exports.OwnerType = {
307
328
  };
308
329
  /**
309
330
  * Type of system message.
331
+ * @export
332
+ * @enum {string}
310
333
  */
311
334
  exports.SystemMessageType = {
312
335
  ServiceFeeError: 'service_fee_error',
@@ -318,6 +341,8 @@ exports.SystemMessageType = {
318
341
  };
319
342
  /**
320
343
  * Type of credit transaction.
344
+ * @export
345
+ * @enum {string}
321
346
  */
322
347
  exports.TransactionType = {
323
348
  Pay: 'pay',
@@ -340,6 +365,8 @@ exports.TransactionType = {
340
365
  };
341
366
  /**
342
367
  * Type of upstream transaction.
368
+ * @export
369
+ * @enum {string}
343
370
  */
344
371
  exports.UpstreamType = {
345
372
  Api: 'api',
@@ -349,6 +376,7 @@ exports.UpstreamType = {
349
376
  };
350
377
  /**
351
378
  * AgentApi - axios parameter creator
379
+ * @export
352
380
  */
353
381
  var AgentApiAxiosParamCreator = function (configuration) {
354
382
  var _this = this;
@@ -958,6 +986,7 @@ var AgentApiAxiosParamCreator = function (configuration) {
958
986
  exports.AgentApiAxiosParamCreator = AgentApiAxiosParamCreator;
959
987
  /**
960
988
  * AgentApi - functional programming interface
989
+ * @export
961
990
  */
962
991
  var AgentApiFp = function (configuration) {
963
992
  var localVarAxiosParamCreator = (0, exports.AgentApiAxiosParamCreator)(configuration);
@@ -1273,6 +1302,7 @@ var AgentApiFp = function (configuration) {
1273
1302
  exports.AgentApiFp = AgentApiFp;
1274
1303
  /**
1275
1304
  * AgentApi - factory interface
1305
+ * @export
1276
1306
  */
1277
1307
  var AgentApiFactory = function (configuration, basePath, axios) {
1278
1308
  var localVarFp = (0, exports.AgentApiFp)(configuration);
@@ -1419,6 +1449,9 @@ var AgentApiFactory = function (configuration, basePath, axios) {
1419
1449
  exports.AgentApiFactory = AgentApiFactory;
1420
1450
  /**
1421
1451
  * AgentApi - object-oriented interface
1452
+ * @export
1453
+ * @class AgentApi
1454
+ * @extends {BaseAPI}
1422
1455
  */
1423
1456
  var AgentApi = /** @class */ (function (_super) {
1424
1457
  __extends(AgentApi, _super);
@@ -1431,6 +1464,7 @@ var AgentApi = /** @class */ (function (_super) {
1431
1464
  * @param {AgentUpdate} [agentUpdate]
1432
1465
  * @param {*} [options] Override http request option.
1433
1466
  * @throws {RequiredError}
1467
+ * @memberof AgentApi
1434
1468
  */
1435
1469
  AgentApi.prototype.createAgent = function (agentUpdate, options) {
1436
1470
  var _this = this;
@@ -1442,6 +1476,7 @@ var AgentApi = /** @class */ (function (_super) {
1442
1476
  * @param {string} agentId ID of the agent to export
1443
1477
  * @param {*} [options] Override http request option.
1444
1478
  * @throws {RequiredError}
1479
+ * @memberof AgentApi
1445
1480
  */
1446
1481
  AgentApi.prototype.exportAgent = function (agentId, options) {
1447
1482
  var _this = this;
@@ -1453,6 +1488,7 @@ var AgentApi = /** @class */ (function (_super) {
1453
1488
  * @param {string} agentId ID of the agent to retrieve
1454
1489
  * @param {*} [options] Override http request option.
1455
1490
  * @throws {RequiredError}
1491
+ * @memberof AgentApi
1456
1492
  */
1457
1493
  AgentApi.prototype.getAgent = function (agentId, options) {
1458
1494
  var _this = this;
@@ -1464,6 +1500,7 @@ var AgentApi = /** @class */ (function (_super) {
1464
1500
  * @param {string} agentId ID of the agent
1465
1501
  * @param {*} [options] Override http request option.
1466
1502
  * @throws {RequiredError}
1503
+ * @memberof AgentApi
1467
1504
  */
1468
1505
  AgentApi.prototype.getAgentApiKey = function (agentId, options) {
1469
1506
  var _this = this;
@@ -1475,6 +1512,7 @@ var AgentApi = /** @class */ (function (_super) {
1475
1512
  * @param {string} agentId ID of the agent
1476
1513
  * @param {*} [options] Override http request option.
1477
1514
  * @throws {RequiredError}
1515
+ * @memberof AgentApi
1478
1516
  */
1479
1517
  AgentApi.prototype.getAgentAssets = function (agentId, options) {
1480
1518
  var _this = this;
@@ -1486,6 +1524,7 @@ var AgentApi = /** @class */ (function (_super) {
1486
1524
  * @param {string} aid ID of the agent
1487
1525
  * @param {*} [options] Override http request option.
1488
1526
  * @throws {RequiredError}
1527
+ * @memberof AgentApi
1489
1528
  */
1490
1529
  AgentApi.prototype.getAgentStatistics = function (aid, options) {
1491
1530
  var _this = this;
@@ -1499,6 +1538,7 @@ var AgentApi = /** @class */ (function (_super) {
1499
1538
  * @param {number} [limit] Maximum number of agents to return
1500
1539
  * @param {*} [options] Override http request option.
1501
1540
  * @throws {RequiredError}
1541
+ * @memberof AgentApi
1502
1542
  */
1503
1543
  AgentApi.prototype.getAgents = function (sort, cursor, limit, options) {
1504
1544
  var _this = this;
@@ -1512,6 +1552,7 @@ var AgentApi = /** @class */ (function (_super) {
1512
1552
  * @param {number} [limit] Maximum number of messages to return
1513
1553
  * @param {*} [options] Override http request option.
1514
1554
  * @throws {RequiredError}
1555
+ * @memberof AgentApi
1515
1556
  */
1516
1557
  AgentApi.prototype.getSkillHistory = function (aid, cursor, limit, options) {
1517
1558
  var _this = this;
@@ -1524,6 +1565,7 @@ var AgentApi = /** @class */ (function (_super) {
1524
1565
  * @param {File} file YAML file containing agent configuration
1525
1566
  * @param {*} [options] Override http request option.
1526
1567
  * @throws {RequiredError}
1568
+ * @memberof AgentApi
1527
1569
  */
1528
1570
  AgentApi.prototype.importAgent = function (agentId, file, options) {
1529
1571
  var _this = this;
@@ -1536,6 +1578,7 @@ var AgentApi = /** @class */ (function (_super) {
1536
1578
  * @param {AgentUpdate} [agentUpdate]
1537
1579
  * @param {*} [options] Override http request option.
1538
1580
  * @throws {RequiredError}
1581
+ * @memberof AgentApi
1539
1582
  */
1540
1583
  AgentApi.prototype.overrideAgent = function (agentId, agentUpdate, options) {
1541
1584
  var _this = this;
@@ -1547,6 +1590,7 @@ var AgentApi = /** @class */ (function (_super) {
1547
1590
  * @param {string} agentId ID of the agent
1548
1591
  * @param {*} [options] Override http request option.
1549
1592
  * @throws {RequiredError}
1593
+ * @memberof AgentApi
1550
1594
  */
1551
1595
  AgentApi.prototype.resetAgentApiKey = function (agentId, options) {
1552
1596
  var _this = this;
@@ -1558,6 +1602,7 @@ var AgentApi = /** @class */ (function (_super) {
1558
1602
  * @param {AgentUpdate} [agentUpdate]
1559
1603
  * @param {*} [options] Override http request option.
1560
1604
  * @throws {RequiredError}
1605
+ * @memberof AgentApi
1561
1606
  */
1562
1607
  AgentApi.prototype.validateAgentCreate = function (agentUpdate, options) {
1563
1608
  var _this = this;
@@ -1570,6 +1615,7 @@ var AgentApi = /** @class */ (function (_super) {
1570
1615
  * @param {AgentUpdate} [agentUpdate]
1571
1616
  * @param {*} [options] Override http request option.
1572
1617
  * @throws {RequiredError}
1618
+ * @memberof AgentApi
1573
1619
  */
1574
1620
  AgentApi.prototype.validateAgentUpdate = function (agentId, agentUpdate, options) {
1575
1621
  var _this = this;
@@ -1580,6 +1626,7 @@ var AgentApi = /** @class */ (function (_super) {
1580
1626
  exports.AgentApi = AgentApi;
1581
1627
  /**
1582
1628
  * ChatApi - axios parameter creator
1629
+ * @export
1583
1630
  */
1584
1631
  var ChatApiAxiosParamCreator = function (configuration) {
1585
1632
  var _this = this;
@@ -2109,6 +2156,7 @@ var ChatApiAxiosParamCreator = function (configuration) {
2109
2156
  exports.ChatApiAxiosParamCreator = ChatApiAxiosParamCreator;
2110
2157
  /**
2111
2158
  * ChatApi - functional programming interface
2159
+ * @export
2112
2160
  */
2113
2161
  var ChatApiFp = function (configuration) {
2114
2162
  var localVarAxiosParamCreator = (0, exports.ChatApiAxiosParamCreator)(configuration);
@@ -2360,6 +2408,7 @@ var ChatApiFp = function (configuration) {
2360
2408
  exports.ChatApiFp = ChatApiFp;
2361
2409
  /**
2362
2410
  * ChatApi - factory interface
2411
+ * @export
2363
2412
  */
2364
2413
  var ChatApiFactory = function (configuration, basePath, axios) {
2365
2414
  var localVarFp = (0, exports.ChatApiFp)(configuration);
@@ -2481,6 +2530,9 @@ var ChatApiFactory = function (configuration, basePath, axios) {
2481
2530
  exports.ChatApiFactory = ChatApiFactory;
2482
2531
  /**
2483
2532
  * ChatApi - object-oriented interface
2533
+ * @export
2534
+ * @class ChatApi
2535
+ * @extends {BaseAPI}
2484
2536
  */
2485
2537
  var ChatApi = /** @class */ (function (_super) {
2486
2538
  __extends(ChatApi, _super);
@@ -2493,6 +2545,7 @@ var ChatApi = /** @class */ (function (_super) {
2493
2545
  * @param {string} aid Agent ID
2494
2546
  * @param {*} [options] Override http request option.
2495
2547
  * @throws {RequiredError}
2548
+ * @memberof ChatApi
2496
2549
  */
2497
2550
  ChatApi.prototype.createChatThread = function (aid, options) {
2498
2551
  var _this = this;
@@ -2505,6 +2558,7 @@ var ChatApi = /** @class */ (function (_super) {
2505
2558
  * @param {string} chatId Chat ID
2506
2559
  * @param {*} [options] Override http request option.
2507
2560
  * @throws {RequiredError}
2561
+ * @memberof ChatApi
2508
2562
  */
2509
2563
  ChatApi.prototype.deleteChatThread = function (aid, chatId, options) {
2510
2564
  var _this = this;
@@ -2517,6 +2571,7 @@ var ChatApi = /** @class */ (function (_super) {
2517
2571
  * @param {string} chatId Chat ID
2518
2572
  * @param {*} [options] Override http request option.
2519
2573
  * @throws {RequiredError}
2574
+ * @memberof ChatApi
2520
2575
  */
2521
2576
  ChatApi.prototype.getChatThreadById = function (aid, chatId, options) {
2522
2577
  var _this = this;
@@ -2528,6 +2583,7 @@ var ChatApi = /** @class */ (function (_super) {
2528
2583
  * @param {string} messageId Message ID
2529
2584
  * @param {*} [options] Override http request option.
2530
2585
  * @throws {RequiredError}
2586
+ * @memberof ChatApi
2531
2587
  */
2532
2588
  ChatApi.prototype.getMessageById = function (messageId, options) {
2533
2589
  var _this = this;
@@ -2541,6 +2597,7 @@ var ChatApi = /** @class */ (function (_super) {
2541
2597
  * @param {number} [limit] Maximum number of messages to return
2542
2598
  * @param {*} [options] Override http request option.
2543
2599
  * @throws {RequiredError}
2600
+ * @memberof ChatApi
2544
2601
  */
2545
2602
  ChatApi.prototype.getSkillHistory = function (aid, cursor, limit, options) {
2546
2603
  var _this = this;
@@ -2552,6 +2609,7 @@ var ChatApi = /** @class */ (function (_super) {
2552
2609
  * @param {string} aid Agent ID
2553
2610
  * @param {*} [options] Override http request option.
2554
2611
  * @throws {RequiredError}
2612
+ * @memberof ChatApi
2555
2613
  */
2556
2614
  ChatApi.prototype.listChatsForAgent = function (aid, options) {
2557
2615
  var _this = this;
@@ -2566,6 +2624,7 @@ var ChatApi = /** @class */ (function (_super) {
2566
2624
  * @param {number} [limit] Maximum number of messages to return
2567
2625
  * @param {*} [options] Override http request option.
2568
2626
  * @throws {RequiredError}
2627
+ * @memberof ChatApi
2569
2628
  */
2570
2629
  ChatApi.prototype.listMessagesInChat = function (aid, chatId, cursor, limit, options) {
2571
2630
  var _this = this;
@@ -2578,6 +2637,7 @@ var ChatApi = /** @class */ (function (_super) {
2578
2637
  * @param {string} chatId Chat ID
2579
2638
  * @param {*} [options] Override http request option.
2580
2639
  * @throws {RequiredError}
2640
+ * @memberof ChatApi
2581
2641
  */
2582
2642
  ChatApi.prototype.retryMessageInChat = function (aid, chatId, options) {
2583
2643
  var _this = this;
@@ -2591,6 +2651,7 @@ var ChatApi = /** @class */ (function (_super) {
2591
2651
  * @param {ChatMessageRequest} chatMessageRequest
2592
2652
  * @param {*} [options] Override http request option.
2593
2653
  * @throws {RequiredError}
2654
+ * @memberof ChatApi
2594
2655
  */
2595
2656
  ChatApi.prototype.sendMessageToChat = function (aid, chatId, chatMessageRequest, options) {
2596
2657
  var _this = this;
@@ -2604,6 +2665,7 @@ var ChatApi = /** @class */ (function (_super) {
2604
2665
  * @param {ChatUpdateRequest} chatUpdateRequest
2605
2666
  * @param {*} [options] Override http request option.
2606
2667
  * @throws {RequiredError}
2668
+ * @memberof ChatApi
2607
2669
  */
2608
2670
  ChatApi.prototype.updateChatThread = function (aid, chatId, chatUpdateRequest, options) {
2609
2671
  var _this = this;
@@ -2614,6 +2676,7 @@ var ChatApi = /** @class */ (function (_super) {
2614
2676
  exports.ChatApi = ChatApi;
2615
2677
  /**
2616
2678
  * CreditApi - axios parameter creator
2679
+ * @export
2617
2680
  */
2618
2681
  var CreditApiAxiosParamCreator = function (configuration) {
2619
2682
  var _this = this;
@@ -2886,6 +2949,7 @@ var CreditApiAxiosParamCreator = function (configuration) {
2886
2949
  exports.CreditApiAxiosParamCreator = CreditApiAxiosParamCreator;
2887
2950
  /**
2888
2951
  * CreditApi - functional programming interface
2952
+ * @export
2889
2953
  */
2890
2954
  var CreditApiFp = function (configuration) {
2891
2955
  var localVarAxiosParamCreator = (0, exports.CreditApiAxiosParamCreator)(configuration);
@@ -3017,6 +3081,7 @@ var CreditApiFp = function (configuration) {
3017
3081
  exports.CreditApiFp = CreditApiFp;
3018
3082
  /**
3019
3083
  * CreditApi - factory interface
3084
+ * @export
3020
3085
  */
3021
3086
  var CreditApiFactory = function (configuration, basePath, axios) {
3022
3087
  var localVarFp = (0, exports.CreditApiFp)(configuration);
@@ -3083,6 +3148,9 @@ var CreditApiFactory = function (configuration, basePath, axios) {
3083
3148
  exports.CreditApiFactory = CreditApiFactory;
3084
3149
  /**
3085
3150
  * CreditApi - object-oriented interface
3151
+ * @export
3152
+ * @class CreditApi
3153
+ * @extends {BaseAPI}
3086
3154
  */
3087
3155
  var CreditApi = /** @class */ (function (_super) {
3088
3156
  __extends(CreditApi, _super);
@@ -3095,6 +3163,7 @@ var CreditApi = /** @class */ (function (_super) {
3095
3163
  * @param {string} eventId Credit event ID
3096
3164
  * @param {*} [options] Override http request option.
3097
3165
  * @throws {RequiredError}
3166
+ * @memberof CreditApi
3098
3167
  */
3099
3168
  CreditApi.prototype.fetchCreditEvent = function (eventId, options) {
3100
3169
  var _this = this;
@@ -3105,6 +3174,7 @@ var CreditApi = /** @class */ (function (_super) {
3105
3174
  * @summary Get User Account
3106
3175
  * @param {*} [options] Override http request option.
3107
3176
  * @throws {RequiredError}
3177
+ * @memberof CreditApi
3108
3178
  */
3109
3179
  CreditApi.prototype.getUserAccount = function (options) {
3110
3180
  var _this = this;
@@ -3118,6 +3188,7 @@ var CreditApi = /** @class */ (function (_super) {
3118
3188
  * @param {number} [limit] Maximum number of events to return
3119
3189
  * @param {*} [options] Override http request option.
3120
3190
  * @throws {RequiredError}
3191
+ * @memberof CreditApi
3121
3192
  */
3122
3193
  CreditApi.prototype.listAgentIncomeEvents = function (agentId, cursor, limit, options) {
3123
3194
  var _this = this;
@@ -3132,6 +3203,7 @@ var CreditApi = /** @class */ (function (_super) {
3132
3203
  * @param {number} [limit] Maximum number of events to return
3133
3204
  * @param {*} [options] Override http request option.
3134
3205
  * @throws {RequiredError}
3206
+ * @memberof CreditApi
3135
3207
  */
3136
3208
  CreditApi.prototype.listUserEvents = function (eventType, direction, cursor, limit, options) {
3137
3209
  var _this = this;
@@ -3146,6 +3218,7 @@ var CreditApi = /** @class */ (function (_super) {
3146
3218
  * @param {number} [limit] Maximum number of transactions to return
3147
3219
  * @param {*} [options] Override http request option.
3148
3220
  * @throws {RequiredError}
3221
+ * @memberof CreditApi
3149
3222
  */
3150
3223
  CreditApi.prototype.listUserTransactions = function (txType, creditDebit, cursor, limit, options) {
3151
3224
  var _this = this;
@@ -3156,6 +3229,7 @@ var CreditApi = /** @class */ (function (_super) {
3156
3229
  exports.CreditApi = CreditApi;
3157
3230
  /**
3158
3231
  * DraftApi - axios parameter creator
3232
+ * @export
3159
3233
  */
3160
3234
  var DraftApiAxiosParamCreator = function (configuration) {
3161
3235
  var _this = this;
@@ -3208,6 +3282,53 @@ var DraftApiAxiosParamCreator = function (configuration) {
3208
3282
  });
3209
3283
  });
3210
3284
  },
3285
+ /**
3286
+ * Delete an unpublished agent draft. Removes the specified draft when it belongs to the current user and has not been deployed yet. Use this to clean up unused drafts before deployment. Possible HTTP errors: - 400: Draft has already been deployed and cannot be deleted - 401: Unauthorized (invalid or missing authentication) - 404: Draft not found for the current user - 500: Internal server error
3287
+ * @summary Delete Agent Draft
3288
+ * @param {string} draftId Draft ID
3289
+ * @param {*} [options] Override http request option.
3290
+ * @throws {RequiredError}
3291
+ */
3292
+ deleteAgentDraft: function (draftId_1) {
3293
+ var args_1 = [];
3294
+ for (var _i = 1; _i < arguments.length; _i++) {
3295
+ args_1[_i - 1] = arguments[_i];
3296
+ }
3297
+ return __awaiter(_this, __spreadArray([draftId_1], args_1, true), void 0, function (draftId, options) {
3298
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3299
+ if (options === void 0) { options = {}; }
3300
+ return __generator(this, function (_a) {
3301
+ switch (_a.label) {
3302
+ case 0:
3303
+ // verify required parameter 'draftId' is not null or undefined
3304
+ (0, common_1.assertParamExists)('deleteAgentDraft', 'draftId', draftId);
3305
+ localVarPath = "/agent/drafts/{draft_id}"
3306
+ .replace("{".concat("draft_id", "}"), encodeURIComponent(String(draftId)));
3307
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3308
+ if (configuration) {
3309
+ baseOptions = configuration.baseOptions;
3310
+ }
3311
+ localVarRequestOptions = __assign(__assign({ method: 'DELETE' }, baseOptions), options);
3312
+ localVarHeaderParameter = {};
3313
+ localVarQueryParameter = {};
3314
+ // authentication HTTPBearer required
3315
+ // http bearer authentication required
3316
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
3317
+ case 1:
3318
+ // authentication HTTPBearer required
3319
+ // http bearer authentication required
3320
+ _a.sent();
3321
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3322
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3323
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3324
+ return [2 /*return*/, {
3325
+ url: (0, common_1.toPathString)(localVarUrlObj),
3326
+ options: localVarRequestOptions,
3327
+ }];
3328
+ }
3329
+ });
3330
+ });
3331
+ },
3211
3332
  /**
3212
3333
  * Deploy an agent from a draft. Takes the latest draft for the specified agent, validates it matches the provided draft ID, ensures it hasn\'t been deployed yet, then deploys the agent using the draft configuration. The upstream_id is set to the provided tx_id. Possible HTTP errors: - 400: Draft is not the latest version or already deployed - 401: Unauthorized (invalid or missing authentication) - 404: Agent or draft not found - 403: Permission denied (not your agent) - 500: Internal server error
3213
3334
  * @summary Deploy Agent From Draft
@@ -3401,6 +3522,49 @@ var DraftApiAxiosParamCreator = function (configuration) {
3401
3522
  });
3402
3523
  });
3403
3524
  },
3525
+ /**
3526
+ * Get all unpublished drafts for the current user. Returns all drafts owned by the current user where deployed_at is null, ordered by updated_at in descending order (most recently updated first). Possible HTTP errors: - 401: Unauthorized access - 500: Internal server error
3527
+ * @summary Get User Unpublished Drafts
3528
+ * @param {*} [options] Override http request option.
3529
+ * @throws {RequiredError}
3530
+ */
3531
+ getUserUnpublishedDrafts: function () {
3532
+ var args_1 = [];
3533
+ for (var _i = 0; _i < arguments.length; _i++) {
3534
+ args_1[_i] = arguments[_i];
3535
+ }
3536
+ return __awaiter(_this, __spreadArray([], args_1, true), void 0, function (options) {
3537
+ var localVarPath, localVarUrlObj, baseOptions, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
3538
+ if (options === void 0) { options = {}; }
3539
+ return __generator(this, function (_a) {
3540
+ switch (_a.label) {
3541
+ case 0:
3542
+ localVarPath = "/agent/drafts";
3543
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
3544
+ if (configuration) {
3545
+ baseOptions = configuration.baseOptions;
3546
+ }
3547
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
3548
+ localVarHeaderParameter = {};
3549
+ localVarQueryParameter = {};
3550
+ // authentication HTTPBearer required
3551
+ // http bearer authentication required
3552
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
3553
+ case 1:
3554
+ // authentication HTTPBearer required
3555
+ // http bearer authentication required
3556
+ _a.sent();
3557
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
3558
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3559
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
3560
+ return [2 /*return*/, {
3561
+ url: (0, common_1.toPathString)(localVarUrlObj),
3562
+ options: localVarRequestOptions,
3563
+ }];
3564
+ }
3565
+ });
3566
+ });
3567
+ },
3404
3568
  /**
3405
3569
  * Update an agent draft. Updates the latest draft for the specified agent. If the latest draft has been deployed (has deployed_at timestamp), creates a new draft. Otherwise, updates the existing draft with the new configuration. Possible HTTP errors: - 400: Invalid input data - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
3406
3570
  * @summary Update Agent Draft
@@ -3458,6 +3622,7 @@ var DraftApiAxiosParamCreator = function (configuration) {
3458
3622
  exports.DraftApiAxiosParamCreator = DraftApiAxiosParamCreator;
3459
3623
  /**
3460
3624
  * DraftApi - functional programming interface
3625
+ * @export
3461
3626
  */
3462
3627
  var DraftApiFp = function (configuration) {
3463
3628
  var localVarAxiosParamCreator = (0, exports.DraftApiAxiosParamCreator)(configuration);
@@ -3485,6 +3650,29 @@ var DraftApiFp = function (configuration) {
3485
3650
  });
3486
3651
  });
3487
3652
  },
3653
+ /**
3654
+ * Delete an unpublished agent draft. Removes the specified draft when it belongs to the current user and has not been deployed yet. Use this to clean up unused drafts before deployment. Possible HTTP errors: - 400: Draft has already been deployed and cannot be deleted - 401: Unauthorized (invalid or missing authentication) - 404: Draft not found for the current user - 500: Internal server error
3655
+ * @summary Delete Agent Draft
3656
+ * @param {string} draftId Draft ID
3657
+ * @param {*} [options] Override http request option.
3658
+ * @throws {RequiredError}
3659
+ */
3660
+ deleteAgentDraft: function (draftId, options) {
3661
+ return __awaiter(this, void 0, void 0, function () {
3662
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
3663
+ var _a, _b, _c;
3664
+ return __generator(this, function (_d) {
3665
+ switch (_d.label) {
3666
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.deleteAgentDraft(draftId, options)];
3667
+ case 1:
3668
+ localVarAxiosArgs = _d.sent();
3669
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3670
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DraftApi.deleteAgentDraft']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3671
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
3672
+ }
3673
+ });
3674
+ });
3675
+ },
3488
3676
  /**
3489
3677
  * Deploy an agent from a draft. Takes the latest draft for the specified agent, validates it matches the provided draft ID, ensures it hasn\'t been deployed yet, then deploys the agent using the draft configuration. The upstream_id is set to the provided tx_id. Possible HTTP errors: - 400: Draft is not the latest version or already deployed - 401: Unauthorized (invalid or missing authentication) - 404: Agent or draft not found - 403: Permission denied (not your agent) - 500: Internal server error
3490
3678
  * @summary Deploy Agent From Draft
@@ -3578,6 +3766,28 @@ var DraftApiFp = function (configuration) {
3578
3766
  });
3579
3767
  });
3580
3768
  },
3769
+ /**
3770
+ * Get all unpublished drafts for the current user. Returns all drafts owned by the current user where deployed_at is null, ordered by updated_at in descending order (most recently updated first). Possible HTTP errors: - 401: Unauthorized access - 500: Internal server error
3771
+ * @summary Get User Unpublished Drafts
3772
+ * @param {*} [options] Override http request option.
3773
+ * @throws {RequiredError}
3774
+ */
3775
+ getUserUnpublishedDrafts: function (options) {
3776
+ return __awaiter(this, void 0, void 0, function () {
3777
+ var localVarAxiosArgs, localVarOperationServerIndex, localVarOperationServerBasePath;
3778
+ var _a, _b, _c;
3779
+ return __generator(this, function (_d) {
3780
+ switch (_d.label) {
3781
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getUserUnpublishedDrafts(options)];
3782
+ case 1:
3783
+ localVarAxiosArgs = _d.sent();
3784
+ localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
3785
+ localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['DraftApi.getUserUnpublishedDrafts']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
3786
+ return [2 /*return*/, function (axios, basePath) { return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath); }];
3787
+ }
3788
+ });
3789
+ });
3790
+ },
3581
3791
  /**
3582
3792
  * Update an agent draft. Updates the latest draft for the specified agent. If the latest draft has been deployed (has deployed_at timestamp), creates a new draft. Otherwise, updates the existing draft with the new configuration. Possible HTTP errors: - 400: Invalid input data - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
3583
3793
  * @summary Update Agent Draft
@@ -3607,6 +3817,7 @@ var DraftApiFp = function (configuration) {
3607
3817
  exports.DraftApiFp = DraftApiFp;
3608
3818
  /**
3609
3819
  * DraftApi - factory interface
3820
+ * @export
3610
3821
  */
3611
3822
  var DraftApiFactory = function (configuration, basePath, axios) {
3612
3823
  var localVarFp = (0, exports.DraftApiFp)(configuration);
@@ -3621,6 +3832,16 @@ var DraftApiFactory = function (configuration, basePath, axios) {
3621
3832
  createAgentDraft: function (agentUserInput, options) {
3622
3833
  return localVarFp.createAgentDraft(agentUserInput, options).then(function (request) { return request(axios, basePath); });
3623
3834
  },
3835
+ /**
3836
+ * Delete an unpublished agent draft. Removes the specified draft when it belongs to the current user and has not been deployed yet. Use this to clean up unused drafts before deployment. Possible HTTP errors: - 400: Draft has already been deployed and cannot be deleted - 401: Unauthorized (invalid or missing authentication) - 404: Draft not found for the current user - 500: Internal server error
3837
+ * @summary Delete Agent Draft
3838
+ * @param {string} draftId Draft ID
3839
+ * @param {*} [options] Override http request option.
3840
+ * @throws {RequiredError}
3841
+ */
3842
+ deleteAgentDraft: function (draftId, options) {
3843
+ return localVarFp.deleteAgentDraft(draftId, options).then(function (request) { return request(axios, basePath); });
3844
+ },
3624
3845
  /**
3625
3846
  * Deploy an agent from a draft. Takes the latest draft for the specified agent, validates it matches the provided draft ID, ensures it hasn\'t been deployed yet, then deploys the agent using the draft configuration. The upstream_id is set to the provided tx_id. Possible HTTP errors: - 400: Draft is not the latest version or already deployed - 401: Unauthorized (invalid or missing authentication) - 404: Agent or draft not found - 403: Permission denied (not your agent) - 500: Internal server error
3626
3847
  * @summary Deploy Agent From Draft
@@ -3662,6 +3883,15 @@ var DraftApiFactory = function (configuration, basePath, axios) {
3662
3883
  getAgentLatestDraft: function (agentId, options) {
3663
3884
  return localVarFp.getAgentLatestDraft(agentId, options).then(function (request) { return request(axios, basePath); });
3664
3885
  },
3886
+ /**
3887
+ * Get all unpublished drafts for the current user. Returns all drafts owned by the current user where deployed_at is null, ordered by updated_at in descending order (most recently updated first). Possible HTTP errors: - 401: Unauthorized access - 500: Internal server error
3888
+ * @summary Get User Unpublished Drafts
3889
+ * @param {*} [options] Override http request option.
3890
+ * @throws {RequiredError}
3891
+ */
3892
+ getUserUnpublishedDrafts: function (options) {
3893
+ return localVarFp.getUserUnpublishedDrafts(options).then(function (request) { return request(axios, basePath); });
3894
+ },
3665
3895
  /**
3666
3896
  * Update an agent draft. Updates the latest draft for the specified agent. If the latest draft has been deployed (has deployed_at timestamp), creates a new draft. Otherwise, updates the existing draft with the new configuration. Possible HTTP errors: - 400: Invalid input data - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
3667
3897
  * @summary Update Agent Draft
@@ -3678,6 +3908,9 @@ var DraftApiFactory = function (configuration, basePath, axios) {
3678
3908
  exports.DraftApiFactory = DraftApiFactory;
3679
3909
  /**
3680
3910
  * DraftApi - object-oriented interface
3911
+ * @export
3912
+ * @class DraftApi
3913
+ * @extends {BaseAPI}
3681
3914
  */
3682
3915
  var DraftApi = /** @class */ (function (_super) {
3683
3916
  __extends(DraftApi, _super);
@@ -3690,17 +3923,31 @@ var DraftApi = /** @class */ (function (_super) {
3690
3923
  * @param {AgentUserInput} agentUserInput
3691
3924
  * @param {*} [options] Override http request option.
3692
3925
  * @throws {RequiredError}
3926
+ * @memberof DraftApi
3693
3927
  */
3694
3928
  DraftApi.prototype.createAgentDraft = function (agentUserInput, options) {
3695
3929
  var _this = this;
3696
3930
  return (0, exports.DraftApiFp)(this.configuration).createAgentDraft(agentUserInput, options).then(function (request) { return request(_this.axios, _this.basePath); });
3697
3931
  };
3932
+ /**
3933
+ * Delete an unpublished agent draft. Removes the specified draft when it belongs to the current user and has not been deployed yet. Use this to clean up unused drafts before deployment. Possible HTTP errors: - 400: Draft has already been deployed and cannot be deleted - 401: Unauthorized (invalid or missing authentication) - 404: Draft not found for the current user - 500: Internal server error
3934
+ * @summary Delete Agent Draft
3935
+ * @param {string} draftId Draft ID
3936
+ * @param {*} [options] Override http request option.
3937
+ * @throws {RequiredError}
3938
+ * @memberof DraftApi
3939
+ */
3940
+ DraftApi.prototype.deleteAgentDraft = function (draftId, options) {
3941
+ var _this = this;
3942
+ return (0, exports.DraftApiFp)(this.configuration).deleteAgentDraft(draftId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3943
+ };
3698
3944
  /**
3699
3945
  * Deploy an agent from a draft. Takes the latest draft for the specified agent, validates it matches the provided draft ID, ensures it hasn\'t been deployed yet, then deploys the agent using the draft configuration. The upstream_id is set to the provided tx_id. Possible HTTP errors: - 400: Draft is not the latest version or already deployed - 401: Unauthorized (invalid or missing authentication) - 404: Agent or draft not found - 403: Permission denied (not your agent) - 500: Internal server error
3700
3946
  * @summary Deploy Agent From Draft
3701
3947
  * @param {AgentDeployRequest} agentDeployRequest
3702
3948
  * @param {*} [options] Override http request option.
3703
3949
  * @throws {RequiredError}
3950
+ * @memberof DraftApi
3704
3951
  */
3705
3952
  DraftApi.prototype.deployAgentFromDraft = function (agentDeployRequest, options) {
3706
3953
  var _this = this;
@@ -3713,6 +3960,7 @@ var DraftApi = /** @class */ (function (_super) {
3713
3960
  * @param {string} draftId Draft ID
3714
3961
  * @param {*} [options] Override http request option.
3715
3962
  * @throws {RequiredError}
3963
+ * @memberof DraftApi
3716
3964
  */
3717
3965
  DraftApi.prototype.getAgentDraftById = function (agentId, draftId, options) {
3718
3966
  var _this = this;
@@ -3724,6 +3972,7 @@ var DraftApi = /** @class */ (function (_super) {
3724
3972
  * @param {string} agentId Agent ID
3725
3973
  * @param {*} [options] Override http request option.
3726
3974
  * @throws {RequiredError}
3975
+ * @memberof DraftApi
3727
3976
  */
3728
3977
  DraftApi.prototype.getAgentDrafts = function (agentId, options) {
3729
3978
  var _this = this;
@@ -3735,11 +3984,23 @@ var DraftApi = /** @class */ (function (_super) {
3735
3984
  * @param {string} agentId Agent ID
3736
3985
  * @param {*} [options] Override http request option.
3737
3986
  * @throws {RequiredError}
3987
+ * @memberof DraftApi
3738
3988
  */
3739
3989
  DraftApi.prototype.getAgentLatestDraft = function (agentId, options) {
3740
3990
  var _this = this;
3741
3991
  return (0, exports.DraftApiFp)(this.configuration).getAgentLatestDraft(agentId, options).then(function (request) { return request(_this.axios, _this.basePath); });
3742
3992
  };
3993
+ /**
3994
+ * Get all unpublished drafts for the current user. Returns all drafts owned by the current user where deployed_at is null, ordered by updated_at in descending order (most recently updated first). Possible HTTP errors: - 401: Unauthorized access - 500: Internal server error
3995
+ * @summary Get User Unpublished Drafts
3996
+ * @param {*} [options] Override http request option.
3997
+ * @throws {RequiredError}
3998
+ * @memberof DraftApi
3999
+ */
4000
+ DraftApi.prototype.getUserUnpublishedDrafts = function (options) {
4001
+ var _this = this;
4002
+ return (0, exports.DraftApiFp)(this.configuration).getUserUnpublishedDrafts(options).then(function (request) { return request(_this.axios, _this.basePath); });
4003
+ };
3743
4004
  /**
3744
4005
  * Update an agent draft. Updates the latest draft for the specified agent. If the latest draft has been deployed (has deployed_at timestamp), creates a new draft. Otherwise, updates the existing draft with the new configuration. Possible HTTP errors: - 400: Invalid input data - 401: Unauthorized (invalid or missing authentication) - 404: Agent not found or no drafts exist for this agent - 500: Internal server error
3745
4006
  * @summary Update Agent Draft
@@ -3747,6 +4008,7 @@ var DraftApi = /** @class */ (function (_super) {
3747
4008
  * @param {AgentUserInput} agentUserInput
3748
4009
  * @param {*} [options] Override http request option.
3749
4010
  * @throws {RequiredError}
4011
+ * @memberof DraftApi
3750
4012
  */
3751
4013
  DraftApi.prototype.updateAgentDraft = function (agentId, agentUserInput, options) {
3752
4014
  var _this = this;
@@ -3757,6 +4019,7 @@ var DraftApi = /** @class */ (function (_super) {
3757
4019
  exports.DraftApi = DraftApi;
3758
4020
  /**
3759
4021
  * GeneratorApi - axios parameter creator
4022
+ * @export
3760
4023
  */
3761
4024
  var GeneratorApiAxiosParamCreator = function (configuration) {
3762
4025
  var _this = this;
@@ -3908,6 +4171,7 @@ var GeneratorApiAxiosParamCreator = function (configuration) {
3908
4171
  exports.GeneratorApiAxiosParamCreator = GeneratorApiAxiosParamCreator;
3909
4172
  /**
3910
4173
  * GeneratorApi - functional programming interface
4174
+ * @export
3911
4175
  */
3912
4176
  var GeneratorApiFp = function (configuration) {
3913
4177
  var localVarAxiosParamCreator = (0, exports.GeneratorApiAxiosParamCreator)(configuration);
@@ -3986,6 +4250,7 @@ var GeneratorApiFp = function (configuration) {
3986
4250
  exports.GeneratorApiFp = GeneratorApiFp;
3987
4251
  /**
3988
4252
  * GeneratorApi - factory interface
4253
+ * @export
3989
4254
  */
3990
4255
  var GeneratorApiFactory = function (configuration, basePath, axios) {
3991
4256
  var localVarFp = (0, exports.GeneratorApiFp)(configuration);
@@ -4025,6 +4290,9 @@ var GeneratorApiFactory = function (configuration, basePath, axios) {
4025
4290
  exports.GeneratorApiFactory = GeneratorApiFactory;
4026
4291
  /**
4027
4292
  * GeneratorApi - object-oriented interface
4293
+ * @export
4294
+ * @class GeneratorApi
4295
+ * @extends {BaseAPI}
4028
4296
  */
4029
4297
  var GeneratorApi = /** @class */ (function (_super) {
4030
4298
  __extends(GeneratorApi, _super);
@@ -4037,6 +4305,7 @@ var GeneratorApi = /** @class */ (function (_super) {
4037
4305
  * @param {AgentGenerateRequest} agentGenerateRequest
4038
4306
  * @param {*} [options] Override http request option.
4039
4307
  * @throws {RequiredError}
4308
+ * @memberof GeneratorApi
4040
4309
  */
4041
4310
  GeneratorApi.prototype.generateAgent = function (agentGenerateRequest, options) {
4042
4311
  var _this = this;
@@ -4048,6 +4317,7 @@ var GeneratorApi = /** @class */ (function (_super) {
4048
4317
  * @param {string} projectId
4049
4318
  * @param {*} [options] Override http request option.
4050
4319
  * @throws {RequiredError}
4320
+ * @memberof GeneratorApi
4051
4321
  */
4052
4322
  GeneratorApi.prototype.getGenerationHistory = function (projectId, options) {
4053
4323
  var _this = this;
@@ -4059,6 +4329,7 @@ var GeneratorApi = /** @class */ (function (_super) {
4059
4329
  * @param {number} [limit]
4060
4330
  * @param {*} [options] Override http request option.
4061
4331
  * @throws {RequiredError}
4332
+ * @memberof GeneratorApi
4062
4333
  */
4063
4334
  GeneratorApi.prototype.getGenerations = function (limit, options) {
4064
4335
  var _this = this;
@@ -4069,6 +4340,7 @@ var GeneratorApi = /** @class */ (function (_super) {
4069
4340
  exports.GeneratorApi = GeneratorApi;
4070
4341
  /**
4071
4342
  * HealthApi - axios parameter creator
4343
+ * @export
4072
4344
  */
4073
4345
  var HealthApiAxiosParamCreator = function (configuration) {
4074
4346
  var _this = this;
@@ -4111,6 +4383,7 @@ var HealthApiAxiosParamCreator = function (configuration) {
4111
4383
  exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
4112
4384
  /**
4113
4385
  * HealthApi - functional programming interface
4386
+ * @export
4114
4387
  */
4115
4388
  var HealthApiFp = function (configuration) {
4116
4389
  var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
@@ -4142,6 +4415,7 @@ var HealthApiFp = function (configuration) {
4142
4415
  exports.HealthApiFp = HealthApiFp;
4143
4416
  /**
4144
4417
  * HealthApi - factory interface
4418
+ * @export
4145
4419
  */
4146
4420
  var HealthApiFactory = function (configuration, basePath, axios) {
4147
4421
  var localVarFp = (0, exports.HealthApiFp)(configuration);
@@ -4160,6 +4434,9 @@ var HealthApiFactory = function (configuration, basePath, axios) {
4160
4434
  exports.HealthApiFactory = HealthApiFactory;
4161
4435
  /**
4162
4436
  * HealthApi - object-oriented interface
4437
+ * @export
4438
+ * @class HealthApi
4439
+ * @extends {BaseAPI}
4163
4440
  */
4164
4441
  var HealthApi = /** @class */ (function (_super) {
4165
4442
  __extends(HealthApi, _super);
@@ -4171,6 +4448,7 @@ var HealthApi = /** @class */ (function (_super) {
4171
4448
  * @summary Health check endpoint
4172
4449
  * @param {*} [options] Override http request option.
4173
4450
  * @throws {RequiredError}
4451
+ * @memberof HealthApi
4174
4452
  */
4175
4453
  HealthApi.prototype.healthCheck = function (options) {
4176
4454
  var _this = this;
@@ -4181,6 +4459,7 @@ var HealthApi = /** @class */ (function (_super) {
4181
4459
  exports.HealthApi = HealthApi;
4182
4460
  /**
4183
4461
  * MetadataApi - axios parameter creator
4462
+ * @export
4184
4463
  */
4185
4464
  var MetadataApiAxiosParamCreator = function (configuration) {
4186
4465
  var _this = this;
@@ -4371,6 +4650,7 @@ var MetadataApiAxiosParamCreator = function (configuration) {
4371
4650
  exports.MetadataApiAxiosParamCreator = MetadataApiAxiosParamCreator;
4372
4651
  /**
4373
4652
  * MetadataApi - functional programming interface
4653
+ * @export
4374
4654
  */
4375
4655
  var MetadataApiFp = function (configuration) {
4376
4656
  var localVarAxiosParamCreator = (0, exports.MetadataApiAxiosParamCreator)(configuration);
@@ -4494,6 +4774,7 @@ var MetadataApiFp = function (configuration) {
4494
4774
  exports.MetadataApiFp = MetadataApiFp;
4495
4775
  /**
4496
4776
  * MetadataApi - factory interface
4777
+ * @export
4497
4778
  */
4498
4779
  var MetadataApiFactory = function (configuration, basePath, axios) {
4499
4780
  var localVarFp = (0, exports.MetadataApiFp)(configuration);
@@ -4552,6 +4833,9 @@ var MetadataApiFactory = function (configuration, basePath, axios) {
4552
4833
  exports.MetadataApiFactory = MetadataApiFactory;
4553
4834
  /**
4554
4835
  * MetadataApi - object-oriented interface
4836
+ * @export
4837
+ * @class MetadataApi
4838
+ * @extends {BaseAPI}
4555
4839
  */
4556
4840
  var MetadataApi = /** @class */ (function (_super) {
4557
4841
  __extends(MetadataApi, _super);
@@ -4563,6 +4847,7 @@ var MetadataApi = /** @class */ (function (_super) {
4563
4847
  * @summary Get agent schema
4564
4848
  * @param {*} [options] Override http request option.
4565
4849
  * @throws {RequiredError}
4850
+ * @memberof MetadataApi
4566
4851
  */
4567
4852
  MetadataApi.prototype.getAgentSchema = function (options) {
4568
4853
  var _this = this;
@@ -4573,6 +4858,7 @@ var MetadataApi = /** @class */ (function (_super) {
4573
4858
  * @summary Get all LLM models
4574
4859
  * @param {*} [options] Override http request option.
4575
4860
  * @throws {RequiredError}
4861
+ * @memberof MetadataApi
4576
4862
  */
4577
4863
  MetadataApi.prototype.getLlms = function (options) {
4578
4864
  var _this = this;
@@ -4586,6 +4872,7 @@ var MetadataApi = /** @class */ (function (_super) {
4586
4872
  * @param {string} ext Icon file extension
4587
4873
  * @param {*} [options] Override http request option.
4588
4874
  * @throws {RequiredError}
4875
+ * @memberof MetadataApi
4589
4876
  */
4590
4877
  MetadataApi.prototype.getSkillIcon = function (skill, iconName, ext, options) {
4591
4878
  var _this = this;
@@ -4597,6 +4884,7 @@ var MetadataApi = /** @class */ (function (_super) {
4597
4884
  * @param {string} skill Skill name
4598
4885
  * @param {*} [options] Override http request option.
4599
4886
  * @throws {RequiredError}
4887
+ * @memberof MetadataApi
4600
4888
  */
4601
4889
  MetadataApi.prototype.getSkillSchema = function (skill, options) {
4602
4890
  var _this = this;
@@ -4607,6 +4895,7 @@ var MetadataApi = /** @class */ (function (_super) {
4607
4895
  * @summary Get all skills
4608
4896
  * @param {*} [options] Override http request option.
4609
4897
  * @throws {RequiredError}
4898
+ * @memberof MetadataApi
4610
4899
  */
4611
4900
  MetadataApi.prototype.getSkills = function (options) {
4612
4901
  var _this = this;
@@ -4617,6 +4906,7 @@ var MetadataApi = /** @class */ (function (_super) {
4617
4906
  exports.MetadataApi = MetadataApi;
4618
4907
  /**
4619
4908
  * OAuthApi - axios parameter creator
4909
+ * @export
4620
4910
  */
4621
4911
  var OAuthApiAxiosParamCreator = function (configuration) {
4622
4912
  var _this = this;
@@ -4777,6 +5067,7 @@ var OAuthApiAxiosParamCreator = function (configuration) {
4777
5067
  exports.OAuthApiAxiosParamCreator = OAuthApiAxiosParamCreator;
4778
5068
  /**
4779
5069
  * OAuthApi - functional programming interface
5070
+ * @export
4780
5071
  */
4781
5072
  var OAuthApiFp = function (configuration) {
4782
5073
  var localVarAxiosParamCreator = (0, exports.OAuthApiAxiosParamCreator)(configuration);
@@ -4858,6 +5149,7 @@ var OAuthApiFp = function (configuration) {
4858
5149
  exports.OAuthApiFp = OAuthApiFp;
4859
5150
  /**
4860
5151
  * OAuthApi - factory interface
5152
+ * @export
4861
5153
  */
4862
5154
  var OAuthApiFactory = function (configuration, basePath, axios) {
4863
5155
  var localVarFp = (0, exports.OAuthApiFp)(configuration);
@@ -4900,6 +5192,9 @@ var OAuthApiFactory = function (configuration, basePath, axios) {
4900
5192
  exports.OAuthApiFactory = OAuthApiFactory;
4901
5193
  /**
4902
5194
  * OAuthApi - object-oriented interface
5195
+ * @export
5196
+ * @class OAuthApi
5197
+ * @extends {BaseAPI}
4903
5198
  */
4904
5199
  var OAuthApi = /** @class */ (function (_super) {
4905
5200
  __extends(OAuthApi, _super);
@@ -4913,6 +5208,7 @@ var OAuthApi = /** @class */ (function (_super) {
4913
5208
  * @param {string} redirectUri
4914
5209
  * @param {*} [options] Override http request option.
4915
5210
  * @throws {RequiredError}
5211
+ * @memberof OAuthApi
4916
5212
  */
4917
5213
  OAuthApi.prototype.getTwitterAuthUrl = function (agentId, redirectUri, options) {
4918
5214
  var _this = this;
@@ -4926,6 +5222,7 @@ var OAuthApi = /** @class */ (function (_super) {
4926
5222
  * @param {string | null} [error]
4927
5223
  * @param {*} [options] Override http request option.
4928
5224
  * @throws {RequiredError}
5225
+ * @memberof OAuthApi
4929
5226
  */
4930
5227
  OAuthApi.prototype.twitterOauthCallback = function (state, code, error, options) {
4931
5228
  var _this = this;
@@ -4937,6 +5234,7 @@ var OAuthApi = /** @class */ (function (_super) {
4937
5234
  * @param {string} agentId ID of the agent to unlink from X
4938
5235
  * @param {*} [options] Override http request option.
4939
5236
  * @throws {RequiredError}
5237
+ * @memberof OAuthApi
4940
5238
  */
4941
5239
  OAuthApi.prototype.unlinkTwitter = function (agentId, options) {
4942
5240
  var _this = this;
@@ -4947,6 +5245,7 @@ var OAuthApi = /** @class */ (function (_super) {
4947
5245
  exports.OAuthApi = OAuthApi;
4948
5246
  /**
4949
5247
  * UserApi - axios parameter creator
5248
+ * @export
4950
5249
  */
4951
5250
  var UserApiAxiosParamCreator = function (configuration) {
4952
5251
  var _this = this;
@@ -5106,6 +5405,7 @@ var UserApiAxiosParamCreator = function (configuration) {
5106
5405
  exports.UserApiAxiosParamCreator = UserApiAxiosParamCreator;
5107
5406
  /**
5108
5407
  * UserApi - functional programming interface
5408
+ * @export
5109
5409
  */
5110
5410
  var UserApiFp = function (configuration) {
5111
5411
  var localVarAxiosParamCreator = (0, exports.UserApiAxiosParamCreator)(configuration);
@@ -5185,6 +5485,7 @@ var UserApiFp = function (configuration) {
5185
5485
  exports.UserApiFp = UserApiFp;
5186
5486
  /**
5187
5487
  * UserApi - factory interface
5488
+ * @export
5188
5489
  */
5189
5490
  var UserApiFactory = function (configuration, basePath, axios) {
5190
5491
  var localVarFp = (0, exports.UserApiFp)(configuration);
@@ -5225,6 +5526,9 @@ var UserApiFactory = function (configuration, basePath, axios) {
5225
5526
  exports.UserApiFactory = UserApiFactory;
5226
5527
  /**
5227
5528
  * UserApi - object-oriented interface
5529
+ * @export
5530
+ * @class UserApi
5531
+ * @extends {BaseAPI}
5228
5532
  */
5229
5533
  var UserApi = /** @class */ (function (_super) {
5230
5534
  __extends(UserApi, _super);
@@ -5237,6 +5541,7 @@ var UserApi = /** @class */ (function (_super) {
5237
5541
  * @param {string} agentId Agent ID
5238
5542
  * @param {*} [options] Override http request option.
5239
5543
  * @throws {RequiredError}
5544
+ * @memberof UserApi
5240
5545
  */
5241
5546
  UserApi.prototype.getUserAgentById = function (agentId, options) {
5242
5547
  var _this = this;
@@ -5249,6 +5554,7 @@ var UserApi = /** @class */ (function (_super) {
5249
5554
  * @param {number} [limit] Maximum number of agents to return
5250
5555
  * @param {*} [options] Override http request option.
5251
5556
  * @throws {RequiredError}
5557
+ * @memberof UserApi
5252
5558
  */
5253
5559
  UserApi.prototype.getUserAgents = function (cursor, limit, options) {
5254
5560
  var _this = this;
@@ -5260,6 +5566,7 @@ var UserApi = /** @class */ (function (_super) {
5260
5566
  * @param {File} file File to upload
5261
5567
  * @param {*} [options] Override http request option.
5262
5568
  * @throws {RequiredError}
5569
+ * @memberof UserApi
5263
5570
  */
5264
5571
  UserApi.prototype.uploadUserFile = function (file, options) {
5265
5572
  var _this = this;