@crestal/nation-sdk 0.7.4 → 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.4
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
@@ -3501,6 +3622,7 @@ var DraftApiAxiosParamCreator = function (configuration) {
3501
3622
  exports.DraftApiAxiosParamCreator = DraftApiAxiosParamCreator;
3502
3623
  /**
3503
3624
  * DraftApi - functional programming interface
3625
+ * @export
3504
3626
  */
3505
3627
  var DraftApiFp = function (configuration) {
3506
3628
  var localVarAxiosParamCreator = (0, exports.DraftApiAxiosParamCreator)(configuration);
@@ -3528,6 +3650,29 @@ var DraftApiFp = function (configuration) {
3528
3650
  });
3529
3651
  });
3530
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
+ },
3531
3676
  /**
3532
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
3533
3678
  * @summary Deploy Agent From Draft
@@ -3672,6 +3817,7 @@ var DraftApiFp = function (configuration) {
3672
3817
  exports.DraftApiFp = DraftApiFp;
3673
3818
  /**
3674
3819
  * DraftApi - factory interface
3820
+ * @export
3675
3821
  */
3676
3822
  var DraftApiFactory = function (configuration, basePath, axios) {
3677
3823
  var localVarFp = (0, exports.DraftApiFp)(configuration);
@@ -3686,6 +3832,16 @@ var DraftApiFactory = function (configuration, basePath, axios) {
3686
3832
  createAgentDraft: function (agentUserInput, options) {
3687
3833
  return localVarFp.createAgentDraft(agentUserInput, options).then(function (request) { return request(axios, basePath); });
3688
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
+ },
3689
3845
  /**
3690
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
3691
3847
  * @summary Deploy Agent From Draft
@@ -3752,6 +3908,9 @@ var DraftApiFactory = function (configuration, basePath, axios) {
3752
3908
  exports.DraftApiFactory = DraftApiFactory;
3753
3909
  /**
3754
3910
  * DraftApi - object-oriented interface
3911
+ * @export
3912
+ * @class DraftApi
3913
+ * @extends {BaseAPI}
3755
3914
  */
3756
3915
  var DraftApi = /** @class */ (function (_super) {
3757
3916
  __extends(DraftApi, _super);
@@ -3764,17 +3923,31 @@ var DraftApi = /** @class */ (function (_super) {
3764
3923
  * @param {AgentUserInput} agentUserInput
3765
3924
  * @param {*} [options] Override http request option.
3766
3925
  * @throws {RequiredError}
3926
+ * @memberof DraftApi
3767
3927
  */
3768
3928
  DraftApi.prototype.createAgentDraft = function (agentUserInput, options) {
3769
3929
  var _this = this;
3770
3930
  return (0, exports.DraftApiFp)(this.configuration).createAgentDraft(agentUserInput, options).then(function (request) { return request(_this.axios, _this.basePath); });
3771
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
+ };
3772
3944
  /**
3773
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
3774
3946
  * @summary Deploy Agent From Draft
3775
3947
  * @param {AgentDeployRequest} agentDeployRequest
3776
3948
  * @param {*} [options] Override http request option.
3777
3949
  * @throws {RequiredError}
3950
+ * @memberof DraftApi
3778
3951
  */
3779
3952
  DraftApi.prototype.deployAgentFromDraft = function (agentDeployRequest, options) {
3780
3953
  var _this = this;
@@ -3787,6 +3960,7 @@ var DraftApi = /** @class */ (function (_super) {
3787
3960
  * @param {string} draftId Draft ID
3788
3961
  * @param {*} [options] Override http request option.
3789
3962
  * @throws {RequiredError}
3963
+ * @memberof DraftApi
3790
3964
  */
3791
3965
  DraftApi.prototype.getAgentDraftById = function (agentId, draftId, options) {
3792
3966
  var _this = this;
@@ -3798,6 +3972,7 @@ var DraftApi = /** @class */ (function (_super) {
3798
3972
  * @param {string} agentId Agent ID
3799
3973
  * @param {*} [options] Override http request option.
3800
3974
  * @throws {RequiredError}
3975
+ * @memberof DraftApi
3801
3976
  */
3802
3977
  DraftApi.prototype.getAgentDrafts = function (agentId, options) {
3803
3978
  var _this = this;
@@ -3809,6 +3984,7 @@ var DraftApi = /** @class */ (function (_super) {
3809
3984
  * @param {string} agentId Agent ID
3810
3985
  * @param {*} [options] Override http request option.
3811
3986
  * @throws {RequiredError}
3987
+ * @memberof DraftApi
3812
3988
  */
3813
3989
  DraftApi.prototype.getAgentLatestDraft = function (agentId, options) {
3814
3990
  var _this = this;
@@ -3819,6 +3995,7 @@ var DraftApi = /** @class */ (function (_super) {
3819
3995
  * @summary Get User Unpublished Drafts
3820
3996
  * @param {*} [options] Override http request option.
3821
3997
  * @throws {RequiredError}
3998
+ * @memberof DraftApi
3822
3999
  */
3823
4000
  DraftApi.prototype.getUserUnpublishedDrafts = function (options) {
3824
4001
  var _this = this;
@@ -3831,6 +4008,7 @@ var DraftApi = /** @class */ (function (_super) {
3831
4008
  * @param {AgentUserInput} agentUserInput
3832
4009
  * @param {*} [options] Override http request option.
3833
4010
  * @throws {RequiredError}
4011
+ * @memberof DraftApi
3834
4012
  */
3835
4013
  DraftApi.prototype.updateAgentDraft = function (agentId, agentUserInput, options) {
3836
4014
  var _this = this;
@@ -3841,6 +4019,7 @@ var DraftApi = /** @class */ (function (_super) {
3841
4019
  exports.DraftApi = DraftApi;
3842
4020
  /**
3843
4021
  * GeneratorApi - axios parameter creator
4022
+ * @export
3844
4023
  */
3845
4024
  var GeneratorApiAxiosParamCreator = function (configuration) {
3846
4025
  var _this = this;
@@ -3992,6 +4171,7 @@ var GeneratorApiAxiosParamCreator = function (configuration) {
3992
4171
  exports.GeneratorApiAxiosParamCreator = GeneratorApiAxiosParamCreator;
3993
4172
  /**
3994
4173
  * GeneratorApi - functional programming interface
4174
+ * @export
3995
4175
  */
3996
4176
  var GeneratorApiFp = function (configuration) {
3997
4177
  var localVarAxiosParamCreator = (0, exports.GeneratorApiAxiosParamCreator)(configuration);
@@ -4070,6 +4250,7 @@ var GeneratorApiFp = function (configuration) {
4070
4250
  exports.GeneratorApiFp = GeneratorApiFp;
4071
4251
  /**
4072
4252
  * GeneratorApi - factory interface
4253
+ * @export
4073
4254
  */
4074
4255
  var GeneratorApiFactory = function (configuration, basePath, axios) {
4075
4256
  var localVarFp = (0, exports.GeneratorApiFp)(configuration);
@@ -4109,6 +4290,9 @@ var GeneratorApiFactory = function (configuration, basePath, axios) {
4109
4290
  exports.GeneratorApiFactory = GeneratorApiFactory;
4110
4291
  /**
4111
4292
  * GeneratorApi - object-oriented interface
4293
+ * @export
4294
+ * @class GeneratorApi
4295
+ * @extends {BaseAPI}
4112
4296
  */
4113
4297
  var GeneratorApi = /** @class */ (function (_super) {
4114
4298
  __extends(GeneratorApi, _super);
@@ -4121,6 +4305,7 @@ var GeneratorApi = /** @class */ (function (_super) {
4121
4305
  * @param {AgentGenerateRequest} agentGenerateRequest
4122
4306
  * @param {*} [options] Override http request option.
4123
4307
  * @throws {RequiredError}
4308
+ * @memberof GeneratorApi
4124
4309
  */
4125
4310
  GeneratorApi.prototype.generateAgent = function (agentGenerateRequest, options) {
4126
4311
  var _this = this;
@@ -4132,6 +4317,7 @@ var GeneratorApi = /** @class */ (function (_super) {
4132
4317
  * @param {string} projectId
4133
4318
  * @param {*} [options] Override http request option.
4134
4319
  * @throws {RequiredError}
4320
+ * @memberof GeneratorApi
4135
4321
  */
4136
4322
  GeneratorApi.prototype.getGenerationHistory = function (projectId, options) {
4137
4323
  var _this = this;
@@ -4143,6 +4329,7 @@ var GeneratorApi = /** @class */ (function (_super) {
4143
4329
  * @param {number} [limit]
4144
4330
  * @param {*} [options] Override http request option.
4145
4331
  * @throws {RequiredError}
4332
+ * @memberof GeneratorApi
4146
4333
  */
4147
4334
  GeneratorApi.prototype.getGenerations = function (limit, options) {
4148
4335
  var _this = this;
@@ -4153,6 +4340,7 @@ var GeneratorApi = /** @class */ (function (_super) {
4153
4340
  exports.GeneratorApi = GeneratorApi;
4154
4341
  /**
4155
4342
  * HealthApi - axios parameter creator
4343
+ * @export
4156
4344
  */
4157
4345
  var HealthApiAxiosParamCreator = function (configuration) {
4158
4346
  var _this = this;
@@ -4195,6 +4383,7 @@ var HealthApiAxiosParamCreator = function (configuration) {
4195
4383
  exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
4196
4384
  /**
4197
4385
  * HealthApi - functional programming interface
4386
+ * @export
4198
4387
  */
4199
4388
  var HealthApiFp = function (configuration) {
4200
4389
  var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
@@ -4226,6 +4415,7 @@ var HealthApiFp = function (configuration) {
4226
4415
  exports.HealthApiFp = HealthApiFp;
4227
4416
  /**
4228
4417
  * HealthApi - factory interface
4418
+ * @export
4229
4419
  */
4230
4420
  var HealthApiFactory = function (configuration, basePath, axios) {
4231
4421
  var localVarFp = (0, exports.HealthApiFp)(configuration);
@@ -4244,6 +4434,9 @@ var HealthApiFactory = function (configuration, basePath, axios) {
4244
4434
  exports.HealthApiFactory = HealthApiFactory;
4245
4435
  /**
4246
4436
  * HealthApi - object-oriented interface
4437
+ * @export
4438
+ * @class HealthApi
4439
+ * @extends {BaseAPI}
4247
4440
  */
4248
4441
  var HealthApi = /** @class */ (function (_super) {
4249
4442
  __extends(HealthApi, _super);
@@ -4255,6 +4448,7 @@ var HealthApi = /** @class */ (function (_super) {
4255
4448
  * @summary Health check endpoint
4256
4449
  * @param {*} [options] Override http request option.
4257
4450
  * @throws {RequiredError}
4451
+ * @memberof HealthApi
4258
4452
  */
4259
4453
  HealthApi.prototype.healthCheck = function (options) {
4260
4454
  var _this = this;
@@ -4265,6 +4459,7 @@ var HealthApi = /** @class */ (function (_super) {
4265
4459
  exports.HealthApi = HealthApi;
4266
4460
  /**
4267
4461
  * MetadataApi - axios parameter creator
4462
+ * @export
4268
4463
  */
4269
4464
  var MetadataApiAxiosParamCreator = function (configuration) {
4270
4465
  var _this = this;
@@ -4455,6 +4650,7 @@ var MetadataApiAxiosParamCreator = function (configuration) {
4455
4650
  exports.MetadataApiAxiosParamCreator = MetadataApiAxiosParamCreator;
4456
4651
  /**
4457
4652
  * MetadataApi - functional programming interface
4653
+ * @export
4458
4654
  */
4459
4655
  var MetadataApiFp = function (configuration) {
4460
4656
  var localVarAxiosParamCreator = (0, exports.MetadataApiAxiosParamCreator)(configuration);
@@ -4578,6 +4774,7 @@ var MetadataApiFp = function (configuration) {
4578
4774
  exports.MetadataApiFp = MetadataApiFp;
4579
4775
  /**
4580
4776
  * MetadataApi - factory interface
4777
+ * @export
4581
4778
  */
4582
4779
  var MetadataApiFactory = function (configuration, basePath, axios) {
4583
4780
  var localVarFp = (0, exports.MetadataApiFp)(configuration);
@@ -4636,6 +4833,9 @@ var MetadataApiFactory = function (configuration, basePath, axios) {
4636
4833
  exports.MetadataApiFactory = MetadataApiFactory;
4637
4834
  /**
4638
4835
  * MetadataApi - object-oriented interface
4836
+ * @export
4837
+ * @class MetadataApi
4838
+ * @extends {BaseAPI}
4639
4839
  */
4640
4840
  var MetadataApi = /** @class */ (function (_super) {
4641
4841
  __extends(MetadataApi, _super);
@@ -4647,6 +4847,7 @@ var MetadataApi = /** @class */ (function (_super) {
4647
4847
  * @summary Get agent schema
4648
4848
  * @param {*} [options] Override http request option.
4649
4849
  * @throws {RequiredError}
4850
+ * @memberof MetadataApi
4650
4851
  */
4651
4852
  MetadataApi.prototype.getAgentSchema = function (options) {
4652
4853
  var _this = this;
@@ -4657,6 +4858,7 @@ var MetadataApi = /** @class */ (function (_super) {
4657
4858
  * @summary Get all LLM models
4658
4859
  * @param {*} [options] Override http request option.
4659
4860
  * @throws {RequiredError}
4861
+ * @memberof MetadataApi
4660
4862
  */
4661
4863
  MetadataApi.prototype.getLlms = function (options) {
4662
4864
  var _this = this;
@@ -4670,6 +4872,7 @@ var MetadataApi = /** @class */ (function (_super) {
4670
4872
  * @param {string} ext Icon file extension
4671
4873
  * @param {*} [options] Override http request option.
4672
4874
  * @throws {RequiredError}
4875
+ * @memberof MetadataApi
4673
4876
  */
4674
4877
  MetadataApi.prototype.getSkillIcon = function (skill, iconName, ext, options) {
4675
4878
  var _this = this;
@@ -4681,6 +4884,7 @@ var MetadataApi = /** @class */ (function (_super) {
4681
4884
  * @param {string} skill Skill name
4682
4885
  * @param {*} [options] Override http request option.
4683
4886
  * @throws {RequiredError}
4887
+ * @memberof MetadataApi
4684
4888
  */
4685
4889
  MetadataApi.prototype.getSkillSchema = function (skill, options) {
4686
4890
  var _this = this;
@@ -4691,6 +4895,7 @@ var MetadataApi = /** @class */ (function (_super) {
4691
4895
  * @summary Get all skills
4692
4896
  * @param {*} [options] Override http request option.
4693
4897
  * @throws {RequiredError}
4898
+ * @memberof MetadataApi
4694
4899
  */
4695
4900
  MetadataApi.prototype.getSkills = function (options) {
4696
4901
  var _this = this;
@@ -4701,6 +4906,7 @@ var MetadataApi = /** @class */ (function (_super) {
4701
4906
  exports.MetadataApi = MetadataApi;
4702
4907
  /**
4703
4908
  * OAuthApi - axios parameter creator
4909
+ * @export
4704
4910
  */
4705
4911
  var OAuthApiAxiosParamCreator = function (configuration) {
4706
4912
  var _this = this;
@@ -4861,6 +5067,7 @@ var OAuthApiAxiosParamCreator = function (configuration) {
4861
5067
  exports.OAuthApiAxiosParamCreator = OAuthApiAxiosParamCreator;
4862
5068
  /**
4863
5069
  * OAuthApi - functional programming interface
5070
+ * @export
4864
5071
  */
4865
5072
  var OAuthApiFp = function (configuration) {
4866
5073
  var localVarAxiosParamCreator = (0, exports.OAuthApiAxiosParamCreator)(configuration);
@@ -4942,6 +5149,7 @@ var OAuthApiFp = function (configuration) {
4942
5149
  exports.OAuthApiFp = OAuthApiFp;
4943
5150
  /**
4944
5151
  * OAuthApi - factory interface
5152
+ * @export
4945
5153
  */
4946
5154
  var OAuthApiFactory = function (configuration, basePath, axios) {
4947
5155
  var localVarFp = (0, exports.OAuthApiFp)(configuration);
@@ -4984,6 +5192,9 @@ var OAuthApiFactory = function (configuration, basePath, axios) {
4984
5192
  exports.OAuthApiFactory = OAuthApiFactory;
4985
5193
  /**
4986
5194
  * OAuthApi - object-oriented interface
5195
+ * @export
5196
+ * @class OAuthApi
5197
+ * @extends {BaseAPI}
4987
5198
  */
4988
5199
  var OAuthApi = /** @class */ (function (_super) {
4989
5200
  __extends(OAuthApi, _super);
@@ -4997,6 +5208,7 @@ var OAuthApi = /** @class */ (function (_super) {
4997
5208
  * @param {string} redirectUri
4998
5209
  * @param {*} [options] Override http request option.
4999
5210
  * @throws {RequiredError}
5211
+ * @memberof OAuthApi
5000
5212
  */
5001
5213
  OAuthApi.prototype.getTwitterAuthUrl = function (agentId, redirectUri, options) {
5002
5214
  var _this = this;
@@ -5010,6 +5222,7 @@ var OAuthApi = /** @class */ (function (_super) {
5010
5222
  * @param {string | null} [error]
5011
5223
  * @param {*} [options] Override http request option.
5012
5224
  * @throws {RequiredError}
5225
+ * @memberof OAuthApi
5013
5226
  */
5014
5227
  OAuthApi.prototype.twitterOauthCallback = function (state, code, error, options) {
5015
5228
  var _this = this;
@@ -5021,6 +5234,7 @@ var OAuthApi = /** @class */ (function (_super) {
5021
5234
  * @param {string} agentId ID of the agent to unlink from X
5022
5235
  * @param {*} [options] Override http request option.
5023
5236
  * @throws {RequiredError}
5237
+ * @memberof OAuthApi
5024
5238
  */
5025
5239
  OAuthApi.prototype.unlinkTwitter = function (agentId, options) {
5026
5240
  var _this = this;
@@ -5031,6 +5245,7 @@ var OAuthApi = /** @class */ (function (_super) {
5031
5245
  exports.OAuthApi = OAuthApi;
5032
5246
  /**
5033
5247
  * UserApi - axios parameter creator
5248
+ * @export
5034
5249
  */
5035
5250
  var UserApiAxiosParamCreator = function (configuration) {
5036
5251
  var _this = this;
@@ -5190,6 +5405,7 @@ var UserApiAxiosParamCreator = function (configuration) {
5190
5405
  exports.UserApiAxiosParamCreator = UserApiAxiosParamCreator;
5191
5406
  /**
5192
5407
  * UserApi - functional programming interface
5408
+ * @export
5193
5409
  */
5194
5410
  var UserApiFp = function (configuration) {
5195
5411
  var localVarAxiosParamCreator = (0, exports.UserApiAxiosParamCreator)(configuration);
@@ -5269,6 +5485,7 @@ var UserApiFp = function (configuration) {
5269
5485
  exports.UserApiFp = UserApiFp;
5270
5486
  /**
5271
5487
  * UserApi - factory interface
5488
+ * @export
5272
5489
  */
5273
5490
  var UserApiFactory = function (configuration, basePath, axios) {
5274
5491
  var localVarFp = (0, exports.UserApiFp)(configuration);
@@ -5309,6 +5526,9 @@ var UserApiFactory = function (configuration, basePath, axios) {
5309
5526
  exports.UserApiFactory = UserApiFactory;
5310
5527
  /**
5311
5528
  * UserApi - object-oriented interface
5529
+ * @export
5530
+ * @class UserApi
5531
+ * @extends {BaseAPI}
5312
5532
  */
5313
5533
  var UserApi = /** @class */ (function (_super) {
5314
5534
  __extends(UserApi, _super);
@@ -5321,6 +5541,7 @@ var UserApi = /** @class */ (function (_super) {
5321
5541
  * @param {string} agentId Agent ID
5322
5542
  * @param {*} [options] Override http request option.
5323
5543
  * @throws {RequiredError}
5544
+ * @memberof UserApi
5324
5545
  */
5325
5546
  UserApi.prototype.getUserAgentById = function (agentId, options) {
5326
5547
  var _this = this;
@@ -5333,6 +5554,7 @@ var UserApi = /** @class */ (function (_super) {
5333
5554
  * @param {number} [limit] Maximum number of agents to return
5334
5555
  * @param {*} [options] Override http request option.
5335
5556
  * @throws {RequiredError}
5557
+ * @memberof UserApi
5336
5558
  */
5337
5559
  UserApi.prototype.getUserAgents = function (cursor, limit, options) {
5338
5560
  var _this = this;
@@ -5344,6 +5566,7 @@ var UserApi = /** @class */ (function (_super) {
5344
5566
  * @param {File} file File to upload
5345
5567
  * @param {*} [options] Override http request option.
5346
5568
  * @throws {RequiredError}
5569
+ * @memberof UserApi
5347
5570
  */
5348
5571
  UserApi.prototype.uploadUserFile = function (file, options) {
5349
5572
  var _this = this;