@crestal/nation-sdk 0.6.24 → 0.6.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +2 -1
- package/.openapi-generator/VERSION +1 -1
- package/README.md +4 -3
- package/api.ts +2131 -109
- package/base.ts +25 -1
- package/common.ts +38 -1
- package/configuration.ts +18 -1
- package/dist/api.d.ts +2127 -112
- package/dist/api.js +163 -8
- package/dist/base.d.ts +25 -1
- package/dist/base.js +20 -1
- package/dist/common.d.ts +38 -1
- package/dist/common.js +38 -1
- package/dist/configuration.d.ts +18 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/AgentGenerateRequest.md +3 -1
- package/docs/AgentGenerateResponse.md +2 -2
- package/docs/AgentInput.md +95 -0
- package/docs/{Agent.md → AgentOutput.md} +6 -6
- package/docs/AgentUpdate.md +3 -3
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/docs/UserApi.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Nation IntentKit API
|
|
6
6
|
* API for Nation IntentKit services
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.6.
|
|
8
|
+
* The version of the OpenAPI document: 0.6.26
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -84,27 +84,27 @@ var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
|
|
|
84
84
|
return to.concat(ar || Array.prototype.slice.call(from));
|
|
85
85
|
};
|
|
86
86
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
87
|
-
exports.
|
|
88
|
-
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.OAuthApi = exports.OAuthApiFactory = void 0;
|
|
87
|
+
exports.MetadataApiAxiosParamCreator = exports.HealthApi = exports.HealthApiFactory = exports.HealthApiFp = exports.HealthApiAxiosParamCreator = exports.GeneratorApi = exports.GeneratorApiFactory = exports.GeneratorApiFp = exports.GeneratorApiAxiosParamCreator = exports.CreditApi = exports.CreditApiFactory = exports.CreditApiFp = exports.CreditApiAxiosParamCreator = exports.ChatApi = exports.ChatApiFactory = exports.ChatApiFp = exports.ChatApiAxiosParamCreator = exports.AgentApi = exports.AgentApiFactory = exports.AgentApiFp = exports.AgentApiAxiosParamCreator = exports.UpstreamType = exports.TransactionType = exports.SystemMessageType = exports.OwnerType = exports.LLMProvider = exports.EventType = exports.Direction = exports.CreditType = exports.CreditDebit = exports.ChatMessageAttachmentType = exports.AuthorType = exports.AgentUpdateCdpNetworkIdEnum = exports.AgentUpdateNetworkIdEnum = exports.AgentUpdateWalletProviderEnum = exports.AgentUpdateShortTermMemoryStrategyEnum = exports.AgentUpdateModeEnum = exports.AgentSortOption = exports.AgentResponseWalletProviderEnum = exports.AgentResponseModeEnum = exports.AgentOutputCdpNetworkIdEnum = exports.AgentOutputNetworkIdEnum = exports.AgentOutputWalletProviderEnum = exports.AgentOutputShortTermMemoryStrategyEnum = exports.AgentOutputModeEnum = exports.AgentInputCdpNetworkIdEnum = exports.AgentInputNetworkIdEnum = exports.AgentInputWalletProviderEnum = exports.AgentInputShortTermMemoryStrategyEnum = exports.AgentInputModeEnum = void 0;
|
|
88
|
+
exports.UserApi = exports.UserApiFactory = exports.UserApiFp = exports.UserApiAxiosParamCreator = exports.OAuthApi = exports.OAuthApiFactory = exports.OAuthApiFp = exports.OAuthApiAxiosParamCreator = exports.MetadataApi = exports.MetadataApiFactory = exports.MetadataApiFp = void 0;
|
|
89
89
|
var axios_1 = require("axios");
|
|
90
90
|
// Some imports not used depending on template conditions
|
|
91
91
|
// @ts-ignore
|
|
92
92
|
var common_1 = require("./common");
|
|
93
93
|
// @ts-ignore
|
|
94
94
|
var base_1 = require("./base");
|
|
95
|
-
exports.
|
|
95
|
+
exports.AgentInputModeEnum = {
|
|
96
96
|
Public: 'public',
|
|
97
97
|
Private: 'private'
|
|
98
98
|
};
|
|
99
|
-
exports.
|
|
99
|
+
exports.AgentInputShortTermMemoryStrategyEnum = {
|
|
100
100
|
Trim: 'trim',
|
|
101
101
|
Summarize: 'summarize'
|
|
102
102
|
};
|
|
103
|
-
exports.
|
|
103
|
+
exports.AgentInputWalletProviderEnum = {
|
|
104
104
|
Cdp: 'cdp',
|
|
105
105
|
Readonly: 'readonly'
|
|
106
106
|
};
|
|
107
|
-
exports.
|
|
107
|
+
exports.AgentInputNetworkIdEnum = {
|
|
108
108
|
EthereumMainnet: 'ethereum-mainnet',
|
|
109
109
|
EthereumSepolia: 'ethereum-sepolia',
|
|
110
110
|
PolygonMainnet: 'polygon-mainnet',
|
|
@@ -117,7 +117,44 @@ exports.AgentNetworkIdEnum = {
|
|
|
117
117
|
OptimismSepolia: 'optimism-sepolia',
|
|
118
118
|
Solana: 'solana'
|
|
119
119
|
};
|
|
120
|
-
exports.
|
|
120
|
+
exports.AgentInputCdpNetworkIdEnum = {
|
|
121
|
+
EthereumMainnet: 'ethereum-mainnet',
|
|
122
|
+
EthereumSepolia: 'ethereum-sepolia',
|
|
123
|
+
PolygonMainnet: 'polygon-mainnet',
|
|
124
|
+
PolygonMumbai: 'polygon-mumbai',
|
|
125
|
+
BaseMainnet: 'base-mainnet',
|
|
126
|
+
BaseSepolia: 'base-sepolia',
|
|
127
|
+
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
128
|
+
ArbitrumSepolia: 'arbitrum-sepolia',
|
|
129
|
+
OptimismMainnet: 'optimism-mainnet',
|
|
130
|
+
OptimismSepolia: 'optimism-sepolia'
|
|
131
|
+
};
|
|
132
|
+
exports.AgentOutputModeEnum = {
|
|
133
|
+
Public: 'public',
|
|
134
|
+
Private: 'private'
|
|
135
|
+
};
|
|
136
|
+
exports.AgentOutputShortTermMemoryStrategyEnum = {
|
|
137
|
+
Trim: 'trim',
|
|
138
|
+
Summarize: 'summarize'
|
|
139
|
+
};
|
|
140
|
+
exports.AgentOutputWalletProviderEnum = {
|
|
141
|
+
Cdp: 'cdp',
|
|
142
|
+
Readonly: 'readonly'
|
|
143
|
+
};
|
|
144
|
+
exports.AgentOutputNetworkIdEnum = {
|
|
145
|
+
EthereumMainnet: 'ethereum-mainnet',
|
|
146
|
+
EthereumSepolia: 'ethereum-sepolia',
|
|
147
|
+
PolygonMainnet: 'polygon-mainnet',
|
|
148
|
+
PolygonMumbai: 'polygon-mumbai',
|
|
149
|
+
BaseMainnet: 'base-mainnet',
|
|
150
|
+
BaseSepolia: 'base-sepolia',
|
|
151
|
+
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
152
|
+
ArbitrumSepolia: 'arbitrum-sepolia',
|
|
153
|
+
OptimismMainnet: 'optimism-mainnet',
|
|
154
|
+
OptimismSepolia: 'optimism-sepolia',
|
|
155
|
+
Solana: 'solana'
|
|
156
|
+
};
|
|
157
|
+
exports.AgentOutputCdpNetworkIdEnum = {
|
|
121
158
|
EthereumMainnet: 'ethereum-mainnet',
|
|
122
159
|
EthereumSepolia: 'ethereum-sepolia',
|
|
123
160
|
PolygonMainnet: 'polygon-mainnet',
|
|
@@ -139,6 +176,8 @@ exports.AgentResponseWalletProviderEnum = {
|
|
|
139
176
|
};
|
|
140
177
|
/**
|
|
141
178
|
* Sort options for agents list.
|
|
179
|
+
* @export
|
|
180
|
+
* @enum {string}
|
|
142
181
|
*/
|
|
143
182
|
exports.AgentSortOption = {
|
|
144
183
|
CreatedAtDesc: 'created_at desc',
|
|
@@ -184,6 +223,8 @@ exports.AgentUpdateCdpNetworkIdEnum = {
|
|
|
184
223
|
};
|
|
185
224
|
/**
|
|
186
225
|
* Type of message author.
|
|
226
|
+
* @export
|
|
227
|
+
* @enum {string}
|
|
187
228
|
*/
|
|
188
229
|
exports.AuthorType = {
|
|
189
230
|
Agent: 'agent',
|
|
@@ -198,6 +239,8 @@ exports.AuthorType = {
|
|
|
198
239
|
};
|
|
199
240
|
/**
|
|
200
241
|
* Type of chat message attachment.
|
|
242
|
+
* @export
|
|
243
|
+
* @enum {string}
|
|
201
244
|
*/
|
|
202
245
|
exports.ChatMessageAttachmentType = {
|
|
203
246
|
Link: 'link',
|
|
@@ -207,6 +250,8 @@ exports.ChatMessageAttachmentType = {
|
|
|
207
250
|
};
|
|
208
251
|
/**
|
|
209
252
|
* Credit or debit transaction.
|
|
253
|
+
* @export
|
|
254
|
+
* @enum {string}
|
|
210
255
|
*/
|
|
211
256
|
exports.CreditDebit = {
|
|
212
257
|
Credit: 'credit',
|
|
@@ -214,6 +259,8 @@ exports.CreditDebit = {
|
|
|
214
259
|
};
|
|
215
260
|
/**
|
|
216
261
|
* Credit type is used in db column names, do not change it.
|
|
262
|
+
* @export
|
|
263
|
+
* @enum {string}
|
|
217
264
|
*/
|
|
218
265
|
exports.CreditType = {
|
|
219
266
|
FreeCredits: 'free_credits',
|
|
@@ -222,6 +269,8 @@ exports.CreditType = {
|
|
|
222
269
|
};
|
|
223
270
|
/**
|
|
224
271
|
* Direction of credit flow.
|
|
272
|
+
* @export
|
|
273
|
+
* @enum {string}
|
|
225
274
|
*/
|
|
226
275
|
exports.Direction = {
|
|
227
276
|
Income: 'income',
|
|
@@ -229,6 +278,8 @@ exports.Direction = {
|
|
|
229
278
|
};
|
|
230
279
|
/**
|
|
231
280
|
* Type of credit event.
|
|
281
|
+
* @export
|
|
282
|
+
* @enum {string}
|
|
232
283
|
*/
|
|
233
284
|
exports.EventType = {
|
|
234
285
|
Memory: 'memory',
|
|
@@ -244,6 +295,11 @@ exports.EventType = {
|
|
|
244
295
|
EventReward: 'event_reward',
|
|
245
296
|
RechargeBonus: 'recharge_bonus'
|
|
246
297
|
};
|
|
298
|
+
/**
|
|
299
|
+
*
|
|
300
|
+
* @export
|
|
301
|
+
* @enum {string}
|
|
302
|
+
*/
|
|
247
303
|
exports.LLMProvider = {
|
|
248
304
|
Openai: 'openai',
|
|
249
305
|
Deepseek: 'deepseek',
|
|
@@ -254,6 +310,8 @@ exports.LLMProvider = {
|
|
|
254
310
|
};
|
|
255
311
|
/**
|
|
256
312
|
* Type of credit account owner.
|
|
313
|
+
* @export
|
|
314
|
+
* @enum {string}
|
|
257
315
|
*/
|
|
258
316
|
exports.OwnerType = {
|
|
259
317
|
User: 'user',
|
|
@@ -262,6 +320,8 @@ exports.OwnerType = {
|
|
|
262
320
|
};
|
|
263
321
|
/**
|
|
264
322
|
* Type of system message.
|
|
323
|
+
* @export
|
|
324
|
+
* @enum {string}
|
|
265
325
|
*/
|
|
266
326
|
exports.SystemMessageType = {
|
|
267
327
|
ServiceFeeError: 'service_fee_error',
|
|
@@ -273,6 +333,8 @@ exports.SystemMessageType = {
|
|
|
273
333
|
};
|
|
274
334
|
/**
|
|
275
335
|
* Type of credit transaction.
|
|
336
|
+
* @export
|
|
337
|
+
* @enum {string}
|
|
276
338
|
*/
|
|
277
339
|
exports.TransactionType = {
|
|
278
340
|
Pay: 'pay',
|
|
@@ -294,6 +356,8 @@ exports.TransactionType = {
|
|
|
294
356
|
};
|
|
295
357
|
/**
|
|
296
358
|
* Type of upstream transaction.
|
|
359
|
+
* @export
|
|
360
|
+
* @enum {string}
|
|
297
361
|
*/
|
|
298
362
|
exports.UpstreamType = {
|
|
299
363
|
Api: 'api',
|
|
@@ -303,6 +367,7 @@ exports.UpstreamType = {
|
|
|
303
367
|
};
|
|
304
368
|
/**
|
|
305
369
|
* AgentApi - axios parameter creator
|
|
370
|
+
* @export
|
|
306
371
|
*/
|
|
307
372
|
var AgentApiAxiosParamCreator = function (configuration) {
|
|
308
373
|
var _this = this;
|
|
@@ -962,6 +1027,7 @@ var AgentApiAxiosParamCreator = function (configuration) {
|
|
|
962
1027
|
exports.AgentApiAxiosParamCreator = AgentApiAxiosParamCreator;
|
|
963
1028
|
/**
|
|
964
1029
|
* AgentApi - functional programming interface
|
|
1030
|
+
* @export
|
|
965
1031
|
*/
|
|
966
1032
|
var AgentApiFp = function (configuration) {
|
|
967
1033
|
var localVarAxiosParamCreator = (0, exports.AgentApiAxiosParamCreator)(configuration);
|
|
@@ -1301,6 +1367,7 @@ var AgentApiFp = function (configuration) {
|
|
|
1301
1367
|
exports.AgentApiFp = AgentApiFp;
|
|
1302
1368
|
/**
|
|
1303
1369
|
* AgentApi - factory interface
|
|
1370
|
+
* @export
|
|
1304
1371
|
*/
|
|
1305
1372
|
var AgentApiFactory = function (configuration, basePath, axios) {
|
|
1306
1373
|
var localVarFp = (0, exports.AgentApiFp)(configuration);
|
|
@@ -1458,6 +1525,9 @@ var AgentApiFactory = function (configuration, basePath, axios) {
|
|
|
1458
1525
|
exports.AgentApiFactory = AgentApiFactory;
|
|
1459
1526
|
/**
|
|
1460
1527
|
* AgentApi - object-oriented interface
|
|
1528
|
+
* @export
|
|
1529
|
+
* @class AgentApi
|
|
1530
|
+
* @extends {BaseAPI}
|
|
1461
1531
|
*/
|
|
1462
1532
|
var AgentApi = /** @class */ (function (_super) {
|
|
1463
1533
|
__extends(AgentApi, _super);
|
|
@@ -1470,6 +1540,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1470
1540
|
* @param {AgentUpdate} [agentUpdate]
|
|
1471
1541
|
* @param {*} [options] Override http request option.
|
|
1472
1542
|
* @throws {RequiredError}
|
|
1543
|
+
* @memberof AgentApi
|
|
1473
1544
|
*/
|
|
1474
1545
|
AgentApi.prototype.createAgent = function (agentUpdate, options) {
|
|
1475
1546
|
var _this = this;
|
|
@@ -1481,6 +1552,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1481
1552
|
* @param {string} agentId ID of the agent to export
|
|
1482
1553
|
* @param {*} [options] Override http request option.
|
|
1483
1554
|
* @throws {RequiredError}
|
|
1555
|
+
* @memberof AgentApi
|
|
1484
1556
|
*/
|
|
1485
1557
|
AgentApi.prototype.exportAgent = function (agentId, options) {
|
|
1486
1558
|
var _this = this;
|
|
@@ -1492,6 +1564,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1492
1564
|
* @param {string} agentId ID of the agent to retrieve
|
|
1493
1565
|
* @param {*} [options] Override http request option.
|
|
1494
1566
|
* @throws {RequiredError}
|
|
1567
|
+
* @memberof AgentApi
|
|
1495
1568
|
*/
|
|
1496
1569
|
AgentApi.prototype.getAgent = function (agentId, options) {
|
|
1497
1570
|
var _this = this;
|
|
@@ -1503,6 +1576,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1503
1576
|
* @param {string} agentId ID of the agent
|
|
1504
1577
|
* @param {*} [options] Override http request option.
|
|
1505
1578
|
* @throws {RequiredError}
|
|
1579
|
+
* @memberof AgentApi
|
|
1506
1580
|
*/
|
|
1507
1581
|
AgentApi.prototype.getAgentApiKey = function (agentId, options) {
|
|
1508
1582
|
var _this = this;
|
|
@@ -1514,6 +1588,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1514
1588
|
* @param {string} agentId ID of the agent
|
|
1515
1589
|
* @param {*} [options] Override http request option.
|
|
1516
1590
|
* @throws {RequiredError}
|
|
1591
|
+
* @memberof AgentApi
|
|
1517
1592
|
*/
|
|
1518
1593
|
AgentApi.prototype.getAgentAssets = function (agentId, options) {
|
|
1519
1594
|
var _this = this;
|
|
@@ -1525,6 +1600,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1525
1600
|
* @param {string} aid ID of the agent
|
|
1526
1601
|
* @param {*} [options] Override http request option.
|
|
1527
1602
|
* @throws {RequiredError}
|
|
1603
|
+
* @memberof AgentApi
|
|
1528
1604
|
*/
|
|
1529
1605
|
AgentApi.prototype.getAgentStatistics = function (aid, options) {
|
|
1530
1606
|
var _this = this;
|
|
@@ -1538,6 +1614,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1538
1614
|
* @param {number} [limit] Maximum number of agents to return
|
|
1539
1615
|
* @param {*} [options] Override http request option.
|
|
1540
1616
|
* @throws {RequiredError}
|
|
1617
|
+
* @memberof AgentApi
|
|
1541
1618
|
*/
|
|
1542
1619
|
AgentApi.prototype.getAgents = function (sort, cursor, limit, options) {
|
|
1543
1620
|
var _this = this;
|
|
@@ -1551,6 +1628,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1551
1628
|
* @param {number} [limit] Maximum number of messages to return
|
|
1552
1629
|
* @param {*} [options] Override http request option.
|
|
1553
1630
|
* @throws {RequiredError}
|
|
1631
|
+
* @memberof AgentApi
|
|
1554
1632
|
*/
|
|
1555
1633
|
AgentApi.prototype.getSkillHistory = function (aid, cursor, limit, options) {
|
|
1556
1634
|
var _this = this;
|
|
@@ -1563,6 +1641,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1563
1641
|
* @param {File} file YAML file containing agent configuration
|
|
1564
1642
|
* @param {*} [options] Override http request option.
|
|
1565
1643
|
* @throws {RequiredError}
|
|
1644
|
+
* @memberof AgentApi
|
|
1566
1645
|
*/
|
|
1567
1646
|
AgentApi.prototype.importAgent = function (agentId, file, options) {
|
|
1568
1647
|
var _this = this;
|
|
@@ -1575,6 +1654,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1575
1654
|
* @param {AgentUpdate} [agentUpdate]
|
|
1576
1655
|
* @param {*} [options] Override http request option.
|
|
1577
1656
|
* @throws {RequiredError}
|
|
1657
|
+
* @memberof AgentApi
|
|
1578
1658
|
*/
|
|
1579
1659
|
AgentApi.prototype.overrideAgent = function (agentId, agentUpdate, options) {
|
|
1580
1660
|
var _this = this;
|
|
@@ -1586,6 +1666,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1586
1666
|
* @param {string} agentId ID of the agent
|
|
1587
1667
|
* @param {*} [options] Override http request option.
|
|
1588
1668
|
* @throws {RequiredError}
|
|
1669
|
+
* @memberof AgentApi
|
|
1589
1670
|
*/
|
|
1590
1671
|
AgentApi.prototype.resetAgentApiKey = function (agentId, options) {
|
|
1591
1672
|
var _this = this;
|
|
@@ -1598,6 +1679,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1598
1679
|
* @param {AgentUpdate} [agentUpdate]
|
|
1599
1680
|
* @param {*} [options] Override http request option.
|
|
1600
1681
|
* @throws {RequiredError}
|
|
1682
|
+
* @memberof AgentApi
|
|
1601
1683
|
*/
|
|
1602
1684
|
AgentApi.prototype.updateAgent = function (agentId, agentUpdate, options) {
|
|
1603
1685
|
var _this = this;
|
|
@@ -1609,6 +1691,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1609
1691
|
* @param {AgentUpdate} [agentUpdate]
|
|
1610
1692
|
* @param {*} [options] Override http request option.
|
|
1611
1693
|
* @throws {RequiredError}
|
|
1694
|
+
* @memberof AgentApi
|
|
1612
1695
|
*/
|
|
1613
1696
|
AgentApi.prototype.validateAgentCreate = function (agentUpdate, options) {
|
|
1614
1697
|
var _this = this;
|
|
@@ -1621,6 +1704,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1621
1704
|
* @param {AgentUpdate} [agentUpdate]
|
|
1622
1705
|
* @param {*} [options] Override http request option.
|
|
1623
1706
|
* @throws {RequiredError}
|
|
1707
|
+
* @memberof AgentApi
|
|
1624
1708
|
*/
|
|
1625
1709
|
AgentApi.prototype.validateAgentUpdate = function (agentId, agentUpdate, options) {
|
|
1626
1710
|
var _this = this;
|
|
@@ -1631,6 +1715,7 @@ var AgentApi = /** @class */ (function (_super) {
|
|
|
1631
1715
|
exports.AgentApi = AgentApi;
|
|
1632
1716
|
/**
|
|
1633
1717
|
* ChatApi - axios parameter creator
|
|
1718
|
+
* @export
|
|
1634
1719
|
*/
|
|
1635
1720
|
var ChatApiAxiosParamCreator = function (configuration) {
|
|
1636
1721
|
var _this = this;
|
|
@@ -2160,6 +2245,7 @@ var ChatApiAxiosParamCreator = function (configuration) {
|
|
|
2160
2245
|
exports.ChatApiAxiosParamCreator = ChatApiAxiosParamCreator;
|
|
2161
2246
|
/**
|
|
2162
2247
|
* ChatApi - functional programming interface
|
|
2248
|
+
* @export
|
|
2163
2249
|
*/
|
|
2164
2250
|
var ChatApiFp = function (configuration) {
|
|
2165
2251
|
var localVarAxiosParamCreator = (0, exports.ChatApiAxiosParamCreator)(configuration);
|
|
@@ -2411,6 +2497,7 @@ var ChatApiFp = function (configuration) {
|
|
|
2411
2497
|
exports.ChatApiFp = ChatApiFp;
|
|
2412
2498
|
/**
|
|
2413
2499
|
* ChatApi - factory interface
|
|
2500
|
+
* @export
|
|
2414
2501
|
*/
|
|
2415
2502
|
var ChatApiFactory = function (configuration, basePath, axios) {
|
|
2416
2503
|
var localVarFp = (0, exports.ChatApiFp)(configuration);
|
|
@@ -2532,6 +2619,9 @@ var ChatApiFactory = function (configuration, basePath, axios) {
|
|
|
2532
2619
|
exports.ChatApiFactory = ChatApiFactory;
|
|
2533
2620
|
/**
|
|
2534
2621
|
* ChatApi - object-oriented interface
|
|
2622
|
+
* @export
|
|
2623
|
+
* @class ChatApi
|
|
2624
|
+
* @extends {BaseAPI}
|
|
2535
2625
|
*/
|
|
2536
2626
|
var ChatApi = /** @class */ (function (_super) {
|
|
2537
2627
|
__extends(ChatApi, _super);
|
|
@@ -2544,6 +2634,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2544
2634
|
* @param {string} aid Agent ID
|
|
2545
2635
|
* @param {*} [options] Override http request option.
|
|
2546
2636
|
* @throws {RequiredError}
|
|
2637
|
+
* @memberof ChatApi
|
|
2547
2638
|
*/
|
|
2548
2639
|
ChatApi.prototype.createChatThread = function (aid, options) {
|
|
2549
2640
|
var _this = this;
|
|
@@ -2556,6 +2647,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2556
2647
|
* @param {string} chatId Chat ID
|
|
2557
2648
|
* @param {*} [options] Override http request option.
|
|
2558
2649
|
* @throws {RequiredError}
|
|
2650
|
+
* @memberof ChatApi
|
|
2559
2651
|
*/
|
|
2560
2652
|
ChatApi.prototype.deleteChatThread = function (aid, chatId, options) {
|
|
2561
2653
|
var _this = this;
|
|
@@ -2568,6 +2660,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2568
2660
|
* @param {string} chatId Chat ID
|
|
2569
2661
|
* @param {*} [options] Override http request option.
|
|
2570
2662
|
* @throws {RequiredError}
|
|
2663
|
+
* @memberof ChatApi
|
|
2571
2664
|
*/
|
|
2572
2665
|
ChatApi.prototype.getChatThreadById = function (aid, chatId, options) {
|
|
2573
2666
|
var _this = this;
|
|
@@ -2579,6 +2672,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2579
2672
|
* @param {string} messageId Message ID
|
|
2580
2673
|
* @param {*} [options] Override http request option.
|
|
2581
2674
|
* @throws {RequiredError}
|
|
2675
|
+
* @memberof ChatApi
|
|
2582
2676
|
*/
|
|
2583
2677
|
ChatApi.prototype.getMessageById = function (messageId, options) {
|
|
2584
2678
|
var _this = this;
|
|
@@ -2592,6 +2686,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2592
2686
|
* @param {number} [limit] Maximum number of messages to return
|
|
2593
2687
|
* @param {*} [options] Override http request option.
|
|
2594
2688
|
* @throws {RequiredError}
|
|
2689
|
+
* @memberof ChatApi
|
|
2595
2690
|
*/
|
|
2596
2691
|
ChatApi.prototype.getSkillHistory = function (aid, cursor, limit, options) {
|
|
2597
2692
|
var _this = this;
|
|
@@ -2603,6 +2698,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2603
2698
|
* @param {string} aid Agent ID
|
|
2604
2699
|
* @param {*} [options] Override http request option.
|
|
2605
2700
|
* @throws {RequiredError}
|
|
2701
|
+
* @memberof ChatApi
|
|
2606
2702
|
*/
|
|
2607
2703
|
ChatApi.prototype.listChatsForAgent = function (aid, options) {
|
|
2608
2704
|
var _this = this;
|
|
@@ -2617,6 +2713,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2617
2713
|
* @param {number} [limit] Maximum number of messages to return
|
|
2618
2714
|
* @param {*} [options] Override http request option.
|
|
2619
2715
|
* @throws {RequiredError}
|
|
2716
|
+
* @memberof ChatApi
|
|
2620
2717
|
*/
|
|
2621
2718
|
ChatApi.prototype.listMessagesInChat = function (aid, chatId, cursor, limit, options) {
|
|
2622
2719
|
var _this = this;
|
|
@@ -2629,6 +2726,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2629
2726
|
* @param {string} chatId Chat ID
|
|
2630
2727
|
* @param {*} [options] Override http request option.
|
|
2631
2728
|
* @throws {RequiredError}
|
|
2729
|
+
* @memberof ChatApi
|
|
2632
2730
|
*/
|
|
2633
2731
|
ChatApi.prototype.retryMessageInChat = function (aid, chatId, options) {
|
|
2634
2732
|
var _this = this;
|
|
@@ -2642,6 +2740,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2642
2740
|
* @param {ChatMessageRequest} chatMessageRequest
|
|
2643
2741
|
* @param {*} [options] Override http request option.
|
|
2644
2742
|
* @throws {RequiredError}
|
|
2743
|
+
* @memberof ChatApi
|
|
2645
2744
|
*/
|
|
2646
2745
|
ChatApi.prototype.sendMessageToChat = function (aid, chatId, chatMessageRequest, options) {
|
|
2647
2746
|
var _this = this;
|
|
@@ -2655,6 +2754,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2655
2754
|
* @param {ChatUpdateRequest} chatUpdateRequest
|
|
2656
2755
|
* @param {*} [options] Override http request option.
|
|
2657
2756
|
* @throws {RequiredError}
|
|
2757
|
+
* @memberof ChatApi
|
|
2658
2758
|
*/
|
|
2659
2759
|
ChatApi.prototype.updateChatThread = function (aid, chatId, chatUpdateRequest, options) {
|
|
2660
2760
|
var _this = this;
|
|
@@ -2665,6 +2765,7 @@ var ChatApi = /** @class */ (function (_super) {
|
|
|
2665
2765
|
exports.ChatApi = ChatApi;
|
|
2666
2766
|
/**
|
|
2667
2767
|
* CreditApi - axios parameter creator
|
|
2768
|
+
* @export
|
|
2668
2769
|
*/
|
|
2669
2770
|
var CreditApiAxiosParamCreator = function (configuration) {
|
|
2670
2771
|
var _this = this;
|
|
@@ -2937,6 +3038,7 @@ var CreditApiAxiosParamCreator = function (configuration) {
|
|
|
2937
3038
|
exports.CreditApiAxiosParamCreator = CreditApiAxiosParamCreator;
|
|
2938
3039
|
/**
|
|
2939
3040
|
* CreditApi - functional programming interface
|
|
3041
|
+
* @export
|
|
2940
3042
|
*/
|
|
2941
3043
|
var CreditApiFp = function (configuration) {
|
|
2942
3044
|
var localVarAxiosParamCreator = (0, exports.CreditApiAxiosParamCreator)(configuration);
|
|
@@ -3068,6 +3170,7 @@ var CreditApiFp = function (configuration) {
|
|
|
3068
3170
|
exports.CreditApiFp = CreditApiFp;
|
|
3069
3171
|
/**
|
|
3070
3172
|
* CreditApi - factory interface
|
|
3173
|
+
* @export
|
|
3071
3174
|
*/
|
|
3072
3175
|
var CreditApiFactory = function (configuration, basePath, axios) {
|
|
3073
3176
|
var localVarFp = (0, exports.CreditApiFp)(configuration);
|
|
@@ -3134,6 +3237,9 @@ var CreditApiFactory = function (configuration, basePath, axios) {
|
|
|
3134
3237
|
exports.CreditApiFactory = CreditApiFactory;
|
|
3135
3238
|
/**
|
|
3136
3239
|
* CreditApi - object-oriented interface
|
|
3240
|
+
* @export
|
|
3241
|
+
* @class CreditApi
|
|
3242
|
+
* @extends {BaseAPI}
|
|
3137
3243
|
*/
|
|
3138
3244
|
var CreditApi = /** @class */ (function (_super) {
|
|
3139
3245
|
__extends(CreditApi, _super);
|
|
@@ -3146,6 +3252,7 @@ var CreditApi = /** @class */ (function (_super) {
|
|
|
3146
3252
|
* @param {string} eventId Credit event ID
|
|
3147
3253
|
* @param {*} [options] Override http request option.
|
|
3148
3254
|
* @throws {RequiredError}
|
|
3255
|
+
* @memberof CreditApi
|
|
3149
3256
|
*/
|
|
3150
3257
|
CreditApi.prototype.fetchCreditEvent = function (eventId, options) {
|
|
3151
3258
|
var _this = this;
|
|
@@ -3156,6 +3263,7 @@ var CreditApi = /** @class */ (function (_super) {
|
|
|
3156
3263
|
* @summary Get User Account
|
|
3157
3264
|
* @param {*} [options] Override http request option.
|
|
3158
3265
|
* @throws {RequiredError}
|
|
3266
|
+
* @memberof CreditApi
|
|
3159
3267
|
*/
|
|
3160
3268
|
CreditApi.prototype.getUserAccount = function (options) {
|
|
3161
3269
|
var _this = this;
|
|
@@ -3169,6 +3277,7 @@ var CreditApi = /** @class */ (function (_super) {
|
|
|
3169
3277
|
* @param {number} [limit] Maximum number of events to return
|
|
3170
3278
|
* @param {*} [options] Override http request option.
|
|
3171
3279
|
* @throws {RequiredError}
|
|
3280
|
+
* @memberof CreditApi
|
|
3172
3281
|
*/
|
|
3173
3282
|
CreditApi.prototype.listAgentIncomeEvents = function (agentId, cursor, limit, options) {
|
|
3174
3283
|
var _this = this;
|
|
@@ -3183,6 +3292,7 @@ var CreditApi = /** @class */ (function (_super) {
|
|
|
3183
3292
|
* @param {number} [limit] Maximum number of events to return
|
|
3184
3293
|
* @param {*} [options] Override http request option.
|
|
3185
3294
|
* @throws {RequiredError}
|
|
3295
|
+
* @memberof CreditApi
|
|
3186
3296
|
*/
|
|
3187
3297
|
CreditApi.prototype.listUserEvents = function (eventType, direction, cursor, limit, options) {
|
|
3188
3298
|
var _this = this;
|
|
@@ -3197,6 +3307,7 @@ var CreditApi = /** @class */ (function (_super) {
|
|
|
3197
3307
|
* @param {number} [limit] Maximum number of transactions to return
|
|
3198
3308
|
* @param {*} [options] Override http request option.
|
|
3199
3309
|
* @throws {RequiredError}
|
|
3310
|
+
* @memberof CreditApi
|
|
3200
3311
|
*/
|
|
3201
3312
|
CreditApi.prototype.listUserTransactions = function (txType, creditDebit, cursor, limit, options) {
|
|
3202
3313
|
var _this = this;
|
|
@@ -3207,6 +3318,7 @@ var CreditApi = /** @class */ (function (_super) {
|
|
|
3207
3318
|
exports.CreditApi = CreditApi;
|
|
3208
3319
|
/**
|
|
3209
3320
|
* GeneratorApi - axios parameter creator
|
|
3321
|
+
* @export
|
|
3210
3322
|
*/
|
|
3211
3323
|
var GeneratorApiAxiosParamCreator = function (configuration) {
|
|
3212
3324
|
var _this = this;
|
|
@@ -3358,6 +3470,7 @@ var GeneratorApiAxiosParamCreator = function (configuration) {
|
|
|
3358
3470
|
exports.GeneratorApiAxiosParamCreator = GeneratorApiAxiosParamCreator;
|
|
3359
3471
|
/**
|
|
3360
3472
|
* GeneratorApi - functional programming interface
|
|
3473
|
+
* @export
|
|
3361
3474
|
*/
|
|
3362
3475
|
var GeneratorApiFp = function (configuration) {
|
|
3363
3476
|
var localVarAxiosParamCreator = (0, exports.GeneratorApiAxiosParamCreator)(configuration);
|
|
@@ -3436,6 +3549,7 @@ var GeneratorApiFp = function (configuration) {
|
|
|
3436
3549
|
exports.GeneratorApiFp = GeneratorApiFp;
|
|
3437
3550
|
/**
|
|
3438
3551
|
* GeneratorApi - factory interface
|
|
3552
|
+
* @export
|
|
3439
3553
|
*/
|
|
3440
3554
|
var GeneratorApiFactory = function (configuration, basePath, axios) {
|
|
3441
3555
|
var localVarFp = (0, exports.GeneratorApiFp)(configuration);
|
|
@@ -3475,6 +3589,9 @@ var GeneratorApiFactory = function (configuration, basePath, axios) {
|
|
|
3475
3589
|
exports.GeneratorApiFactory = GeneratorApiFactory;
|
|
3476
3590
|
/**
|
|
3477
3591
|
* GeneratorApi - object-oriented interface
|
|
3592
|
+
* @export
|
|
3593
|
+
* @class GeneratorApi
|
|
3594
|
+
* @extends {BaseAPI}
|
|
3478
3595
|
*/
|
|
3479
3596
|
var GeneratorApi = /** @class */ (function (_super) {
|
|
3480
3597
|
__extends(GeneratorApi, _super);
|
|
@@ -3487,6 +3604,7 @@ var GeneratorApi = /** @class */ (function (_super) {
|
|
|
3487
3604
|
* @param {AgentGenerateRequest} agentGenerateRequest
|
|
3488
3605
|
* @param {*} [options] Override http request option.
|
|
3489
3606
|
* @throws {RequiredError}
|
|
3607
|
+
* @memberof GeneratorApi
|
|
3490
3608
|
*/
|
|
3491
3609
|
GeneratorApi.prototype.generateAgent = function (agentGenerateRequest, options) {
|
|
3492
3610
|
var _this = this;
|
|
@@ -3498,6 +3616,7 @@ var GeneratorApi = /** @class */ (function (_super) {
|
|
|
3498
3616
|
* @param {string} projectId
|
|
3499
3617
|
* @param {*} [options] Override http request option.
|
|
3500
3618
|
* @throws {RequiredError}
|
|
3619
|
+
* @memberof GeneratorApi
|
|
3501
3620
|
*/
|
|
3502
3621
|
GeneratorApi.prototype.getGenerationHistory = function (projectId, options) {
|
|
3503
3622
|
var _this = this;
|
|
@@ -3509,6 +3628,7 @@ var GeneratorApi = /** @class */ (function (_super) {
|
|
|
3509
3628
|
* @param {number} [limit]
|
|
3510
3629
|
* @param {*} [options] Override http request option.
|
|
3511
3630
|
* @throws {RequiredError}
|
|
3631
|
+
* @memberof GeneratorApi
|
|
3512
3632
|
*/
|
|
3513
3633
|
GeneratorApi.prototype.getGenerations = function (limit, options) {
|
|
3514
3634
|
var _this = this;
|
|
@@ -3519,6 +3639,7 @@ var GeneratorApi = /** @class */ (function (_super) {
|
|
|
3519
3639
|
exports.GeneratorApi = GeneratorApi;
|
|
3520
3640
|
/**
|
|
3521
3641
|
* HealthApi - axios parameter creator
|
|
3642
|
+
* @export
|
|
3522
3643
|
*/
|
|
3523
3644
|
var HealthApiAxiosParamCreator = function (configuration) {
|
|
3524
3645
|
var _this = this;
|
|
@@ -3561,6 +3682,7 @@ var HealthApiAxiosParamCreator = function (configuration) {
|
|
|
3561
3682
|
exports.HealthApiAxiosParamCreator = HealthApiAxiosParamCreator;
|
|
3562
3683
|
/**
|
|
3563
3684
|
* HealthApi - functional programming interface
|
|
3685
|
+
* @export
|
|
3564
3686
|
*/
|
|
3565
3687
|
var HealthApiFp = function (configuration) {
|
|
3566
3688
|
var localVarAxiosParamCreator = (0, exports.HealthApiAxiosParamCreator)(configuration);
|
|
@@ -3592,6 +3714,7 @@ var HealthApiFp = function (configuration) {
|
|
|
3592
3714
|
exports.HealthApiFp = HealthApiFp;
|
|
3593
3715
|
/**
|
|
3594
3716
|
* HealthApi - factory interface
|
|
3717
|
+
* @export
|
|
3595
3718
|
*/
|
|
3596
3719
|
var HealthApiFactory = function (configuration, basePath, axios) {
|
|
3597
3720
|
var localVarFp = (0, exports.HealthApiFp)(configuration);
|
|
@@ -3610,6 +3733,9 @@ var HealthApiFactory = function (configuration, basePath, axios) {
|
|
|
3610
3733
|
exports.HealthApiFactory = HealthApiFactory;
|
|
3611
3734
|
/**
|
|
3612
3735
|
* HealthApi - object-oriented interface
|
|
3736
|
+
* @export
|
|
3737
|
+
* @class HealthApi
|
|
3738
|
+
* @extends {BaseAPI}
|
|
3613
3739
|
*/
|
|
3614
3740
|
var HealthApi = /** @class */ (function (_super) {
|
|
3615
3741
|
__extends(HealthApi, _super);
|
|
@@ -3621,6 +3747,7 @@ var HealthApi = /** @class */ (function (_super) {
|
|
|
3621
3747
|
* @summary Health check endpoint
|
|
3622
3748
|
* @param {*} [options] Override http request option.
|
|
3623
3749
|
* @throws {RequiredError}
|
|
3750
|
+
* @memberof HealthApi
|
|
3624
3751
|
*/
|
|
3625
3752
|
HealthApi.prototype.healthCheck = function (options) {
|
|
3626
3753
|
var _this = this;
|
|
@@ -3631,6 +3758,7 @@ var HealthApi = /** @class */ (function (_super) {
|
|
|
3631
3758
|
exports.HealthApi = HealthApi;
|
|
3632
3759
|
/**
|
|
3633
3760
|
* MetadataApi - axios parameter creator
|
|
3761
|
+
* @export
|
|
3634
3762
|
*/
|
|
3635
3763
|
var MetadataApiAxiosParamCreator = function (configuration) {
|
|
3636
3764
|
var _this = this;
|
|
@@ -3821,6 +3949,7 @@ var MetadataApiAxiosParamCreator = function (configuration) {
|
|
|
3821
3949
|
exports.MetadataApiAxiosParamCreator = MetadataApiAxiosParamCreator;
|
|
3822
3950
|
/**
|
|
3823
3951
|
* MetadataApi - functional programming interface
|
|
3952
|
+
* @export
|
|
3824
3953
|
*/
|
|
3825
3954
|
var MetadataApiFp = function (configuration) {
|
|
3826
3955
|
var localVarAxiosParamCreator = (0, exports.MetadataApiAxiosParamCreator)(configuration);
|
|
@@ -3944,6 +4073,7 @@ var MetadataApiFp = function (configuration) {
|
|
|
3944
4073
|
exports.MetadataApiFp = MetadataApiFp;
|
|
3945
4074
|
/**
|
|
3946
4075
|
* MetadataApi - factory interface
|
|
4076
|
+
* @export
|
|
3947
4077
|
*/
|
|
3948
4078
|
var MetadataApiFactory = function (configuration, basePath, axios) {
|
|
3949
4079
|
var localVarFp = (0, exports.MetadataApiFp)(configuration);
|
|
@@ -4002,6 +4132,9 @@ var MetadataApiFactory = function (configuration, basePath, axios) {
|
|
|
4002
4132
|
exports.MetadataApiFactory = MetadataApiFactory;
|
|
4003
4133
|
/**
|
|
4004
4134
|
* MetadataApi - object-oriented interface
|
|
4135
|
+
* @export
|
|
4136
|
+
* @class MetadataApi
|
|
4137
|
+
* @extends {BaseAPI}
|
|
4005
4138
|
*/
|
|
4006
4139
|
var MetadataApi = /** @class */ (function (_super) {
|
|
4007
4140
|
__extends(MetadataApi, _super);
|
|
@@ -4013,6 +4146,7 @@ var MetadataApi = /** @class */ (function (_super) {
|
|
|
4013
4146
|
* @summary Get agent schema
|
|
4014
4147
|
* @param {*} [options] Override http request option.
|
|
4015
4148
|
* @throws {RequiredError}
|
|
4149
|
+
* @memberof MetadataApi
|
|
4016
4150
|
*/
|
|
4017
4151
|
MetadataApi.prototype.getAgentSchema = function (options) {
|
|
4018
4152
|
var _this = this;
|
|
@@ -4023,6 +4157,7 @@ var MetadataApi = /** @class */ (function (_super) {
|
|
|
4023
4157
|
* @summary Get all LLM models
|
|
4024
4158
|
* @param {*} [options] Override http request option.
|
|
4025
4159
|
* @throws {RequiredError}
|
|
4160
|
+
* @memberof MetadataApi
|
|
4026
4161
|
*/
|
|
4027
4162
|
MetadataApi.prototype.getLlms = function (options) {
|
|
4028
4163
|
var _this = this;
|
|
@@ -4036,6 +4171,7 @@ var MetadataApi = /** @class */ (function (_super) {
|
|
|
4036
4171
|
* @param {string} ext Icon file extension
|
|
4037
4172
|
* @param {*} [options] Override http request option.
|
|
4038
4173
|
* @throws {RequiredError}
|
|
4174
|
+
* @memberof MetadataApi
|
|
4039
4175
|
*/
|
|
4040
4176
|
MetadataApi.prototype.getSkillIcon = function (skill, iconName, ext, options) {
|
|
4041
4177
|
var _this = this;
|
|
@@ -4047,6 +4183,7 @@ var MetadataApi = /** @class */ (function (_super) {
|
|
|
4047
4183
|
* @param {string} skill Skill name
|
|
4048
4184
|
* @param {*} [options] Override http request option.
|
|
4049
4185
|
* @throws {RequiredError}
|
|
4186
|
+
* @memberof MetadataApi
|
|
4050
4187
|
*/
|
|
4051
4188
|
MetadataApi.prototype.getSkillSchema = function (skill, options) {
|
|
4052
4189
|
var _this = this;
|
|
@@ -4057,6 +4194,7 @@ var MetadataApi = /** @class */ (function (_super) {
|
|
|
4057
4194
|
* @summary Get all skills
|
|
4058
4195
|
* @param {*} [options] Override http request option.
|
|
4059
4196
|
* @throws {RequiredError}
|
|
4197
|
+
* @memberof MetadataApi
|
|
4060
4198
|
*/
|
|
4061
4199
|
MetadataApi.prototype.getSkills = function (options) {
|
|
4062
4200
|
var _this = this;
|
|
@@ -4067,6 +4205,7 @@ var MetadataApi = /** @class */ (function (_super) {
|
|
|
4067
4205
|
exports.MetadataApi = MetadataApi;
|
|
4068
4206
|
/**
|
|
4069
4207
|
* OAuthApi - axios parameter creator
|
|
4208
|
+
* @export
|
|
4070
4209
|
*/
|
|
4071
4210
|
var OAuthApiAxiosParamCreator = function (configuration) {
|
|
4072
4211
|
var _this = this;
|
|
@@ -4227,6 +4366,7 @@ var OAuthApiAxiosParamCreator = function (configuration) {
|
|
|
4227
4366
|
exports.OAuthApiAxiosParamCreator = OAuthApiAxiosParamCreator;
|
|
4228
4367
|
/**
|
|
4229
4368
|
* OAuthApi - functional programming interface
|
|
4369
|
+
* @export
|
|
4230
4370
|
*/
|
|
4231
4371
|
var OAuthApiFp = function (configuration) {
|
|
4232
4372
|
var localVarAxiosParamCreator = (0, exports.OAuthApiAxiosParamCreator)(configuration);
|
|
@@ -4308,6 +4448,7 @@ var OAuthApiFp = function (configuration) {
|
|
|
4308
4448
|
exports.OAuthApiFp = OAuthApiFp;
|
|
4309
4449
|
/**
|
|
4310
4450
|
* OAuthApi - factory interface
|
|
4451
|
+
* @export
|
|
4311
4452
|
*/
|
|
4312
4453
|
var OAuthApiFactory = function (configuration, basePath, axios) {
|
|
4313
4454
|
var localVarFp = (0, exports.OAuthApiFp)(configuration);
|
|
@@ -4350,6 +4491,9 @@ var OAuthApiFactory = function (configuration, basePath, axios) {
|
|
|
4350
4491
|
exports.OAuthApiFactory = OAuthApiFactory;
|
|
4351
4492
|
/**
|
|
4352
4493
|
* OAuthApi - object-oriented interface
|
|
4494
|
+
* @export
|
|
4495
|
+
* @class OAuthApi
|
|
4496
|
+
* @extends {BaseAPI}
|
|
4353
4497
|
*/
|
|
4354
4498
|
var OAuthApi = /** @class */ (function (_super) {
|
|
4355
4499
|
__extends(OAuthApi, _super);
|
|
@@ -4363,6 +4507,7 @@ var OAuthApi = /** @class */ (function (_super) {
|
|
|
4363
4507
|
* @param {string} redirectUri
|
|
4364
4508
|
* @param {*} [options] Override http request option.
|
|
4365
4509
|
* @throws {RequiredError}
|
|
4510
|
+
* @memberof OAuthApi
|
|
4366
4511
|
*/
|
|
4367
4512
|
OAuthApi.prototype.getTwitterAuthUrl = function (agentId, redirectUri, options) {
|
|
4368
4513
|
var _this = this;
|
|
@@ -4376,6 +4521,7 @@ var OAuthApi = /** @class */ (function (_super) {
|
|
|
4376
4521
|
* @param {string | null} [error]
|
|
4377
4522
|
* @param {*} [options] Override http request option.
|
|
4378
4523
|
* @throws {RequiredError}
|
|
4524
|
+
* @memberof OAuthApi
|
|
4379
4525
|
*/
|
|
4380
4526
|
OAuthApi.prototype.twitterOauthCallback = function (state, code, error, options) {
|
|
4381
4527
|
var _this = this;
|
|
@@ -4387,6 +4533,7 @@ var OAuthApi = /** @class */ (function (_super) {
|
|
|
4387
4533
|
* @param {string} agentId ID of the agent to unlink from X
|
|
4388
4534
|
* @param {*} [options] Override http request option.
|
|
4389
4535
|
* @throws {RequiredError}
|
|
4536
|
+
* @memberof OAuthApi
|
|
4390
4537
|
*/
|
|
4391
4538
|
OAuthApi.prototype.unlinkTwitter = function (agentId, options) {
|
|
4392
4539
|
var _this = this;
|
|
@@ -4397,6 +4544,7 @@ var OAuthApi = /** @class */ (function (_super) {
|
|
|
4397
4544
|
exports.OAuthApi = OAuthApi;
|
|
4398
4545
|
/**
|
|
4399
4546
|
* UserApi - axios parameter creator
|
|
4547
|
+
* @export
|
|
4400
4548
|
*/
|
|
4401
4549
|
var UserApiAxiosParamCreator = function (configuration) {
|
|
4402
4550
|
var _this = this;
|
|
@@ -4504,6 +4652,7 @@ var UserApiAxiosParamCreator = function (configuration) {
|
|
|
4504
4652
|
exports.UserApiAxiosParamCreator = UserApiAxiosParamCreator;
|
|
4505
4653
|
/**
|
|
4506
4654
|
* UserApi - functional programming interface
|
|
4655
|
+
* @export
|
|
4507
4656
|
*/
|
|
4508
4657
|
var UserApiFp = function (configuration) {
|
|
4509
4658
|
var localVarAxiosParamCreator = (0, exports.UserApiAxiosParamCreator)(configuration);
|
|
@@ -4560,6 +4709,7 @@ var UserApiFp = function (configuration) {
|
|
|
4560
4709
|
exports.UserApiFp = UserApiFp;
|
|
4561
4710
|
/**
|
|
4562
4711
|
* UserApi - factory interface
|
|
4712
|
+
* @export
|
|
4563
4713
|
*/
|
|
4564
4714
|
var UserApiFactory = function (configuration, basePath, axios) {
|
|
4565
4715
|
var localVarFp = (0, exports.UserApiFp)(configuration);
|
|
@@ -4590,6 +4740,9 @@ var UserApiFactory = function (configuration, basePath, axios) {
|
|
|
4590
4740
|
exports.UserApiFactory = UserApiFactory;
|
|
4591
4741
|
/**
|
|
4592
4742
|
* UserApi - object-oriented interface
|
|
4743
|
+
* @export
|
|
4744
|
+
* @class UserApi
|
|
4745
|
+
* @extends {BaseAPI}
|
|
4593
4746
|
*/
|
|
4594
4747
|
var UserApi = /** @class */ (function (_super) {
|
|
4595
4748
|
__extends(UserApi, _super);
|
|
@@ -4602,6 +4755,7 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
4602
4755
|
* @param {string} agentId Agent ID
|
|
4603
4756
|
* @param {*} [options] Override http request option.
|
|
4604
4757
|
* @throws {RequiredError}
|
|
4758
|
+
* @memberof UserApi
|
|
4605
4759
|
*/
|
|
4606
4760
|
UserApi.prototype.getUserAgentById = function (agentId, options) {
|
|
4607
4761
|
var _this = this;
|
|
@@ -4614,6 +4768,7 @@ var UserApi = /** @class */ (function (_super) {
|
|
|
4614
4768
|
* @param {number} [limit] Maximum number of agents to return
|
|
4615
4769
|
* @param {*} [options] Override http request option.
|
|
4616
4770
|
* @throws {RequiredError}
|
|
4771
|
+
* @memberof UserApi
|
|
4617
4772
|
*/
|
|
4618
4773
|
UserApi.prototype.getUserAgents = function (cursor, limit, options) {
|
|
4619
4774
|
var _this = this;
|