@crestal/nation-sdk 0.8.93 → 0.8.97
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 +6 -3
- package/.openapi-generator/VERSION +1 -1
- package/README.md +8 -5
- package/api.ts +233 -155
- package/base.ts +1 -1
- package/common.ts +16 -3
- package/configuration.ts +1 -1
- package/dist/api.d.ts +148 -68
- package/dist/api.js +122 -21
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +7 -1
- package/dist/common.js +18 -4
- package/dist/configuration.d.ts +1 -1
- package/dist/configuration.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/Agent.md +15 -5
- package/docs/AgentApi.md +2 -2
- package/docs/{AgentAutonomous.md → AgentAutonomousInput.md} +9 -3
- package/docs/AgentAutonomousOutput.md +39 -0
- package/docs/AgentAutonomousStatus.md +13 -0
- package/docs/AgentDraft.md +7 -5
- package/docs/AgentResponse.md +15 -5
- package/docs/AgentUpdate.md +13 -5
- package/docs/AgentUserInput.md +7 -5
- package/docs/AgentVisibility.md +13 -0
- package/docs/AuthorType.md +6 -4
- package/docs/ChatApi.md +6 -6
- package/docs/{AppManagerRouterChatMessagesResponse.md → ChatMessagesResponse.md} +3 -3
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/docs/{ValidationErrorLocInner.md → LocationInner.md} +3 -3
- package/docs/ManagerApi.md +2 -2
- package/docs/User.md +2 -0
- package/docs/ValidationError.md +1 -1
- package/index.ts +1 -1
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Nation IntentKit API
|
|
5
5
|
* API for Nation IntentKit services
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.8.
|
|
7
|
+
* The version of the OpenAPI document: 0.8.97
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -18,7 +18,7 @@ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
|
|
|
18
18
|
import globalAxios from 'axios';
|
|
19
19
|
// Some imports not used depending on template conditions
|
|
20
20
|
// @ts-ignore
|
|
21
|
-
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from './common';
|
|
21
|
+
import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction, replaceWithSerializableTypeIfNeeded } from './common';
|
|
22
22
|
import type { RequestArgs } from './base';
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { BASE_PATH, COLLECTION_FORMATS, BaseAPI, RequiredError, operationServerMap } from './base';
|
|
@@ -51,12 +51,13 @@ export interface Agent {
|
|
|
51
51
|
'temperature'?: number | null;
|
|
52
52
|
'frequency_penalty'?: number | null;
|
|
53
53
|
'presence_penalty'?: number | null;
|
|
54
|
+
'short_term_memory_strategy'?: AgentShortTermMemoryStrategyEnum | null;
|
|
54
55
|
'wallet_provider'?: AgentWalletProviderEnum | null;
|
|
55
|
-
'readonly_wallet_address'?: string | null;
|
|
56
56
|
'network_id'?: AgentNetworkIdEnum | null;
|
|
57
57
|
'skills'?: { [key: string]: any; } | null;
|
|
58
|
-
'
|
|
59
|
-
'
|
|
58
|
+
'readonly_wallet_address'?: string | null;
|
|
59
|
+
'weekly_spending_limit'?: number | null;
|
|
60
|
+
'autonomous'?: Array<AgentAutonomousOutput> | null;
|
|
60
61
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
61
62
|
'telegram_entrypoint_prompt'?: string | null;
|
|
62
63
|
'telegram_config'?: { [key: string]: any; } | null;
|
|
@@ -65,12 +66,16 @@ export interface Agent {
|
|
|
65
66
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
66
67
|
'upstream_id'?: string | null;
|
|
67
68
|
'upstream_extra'?: { [key: string]: any; } | null;
|
|
69
|
+
'extra_prompt'?: string | null;
|
|
70
|
+
'visibility'?: AgentVisibility | null;
|
|
71
|
+
'archived_at'?: string | null;
|
|
68
72
|
/**
|
|
69
73
|
* Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
|
|
70
74
|
*/
|
|
71
75
|
'id'?: string;
|
|
72
76
|
'owner'?: string | null;
|
|
73
77
|
'team_id'?: string | null;
|
|
78
|
+
'template_id'?: string | null;
|
|
74
79
|
'slug'?: string | null;
|
|
75
80
|
'version'?: string | null;
|
|
76
81
|
'statistics'?: { [key: string]: any; } | null;
|
|
@@ -89,9 +94,17 @@ export interface Agent {
|
|
|
89
94
|
'updated_at'?: string;
|
|
90
95
|
}
|
|
91
96
|
|
|
97
|
+
export const AgentShortTermMemoryStrategyEnum = {
|
|
98
|
+
Trim: 'trim',
|
|
99
|
+
Summarize: 'summarize'
|
|
100
|
+
} as const;
|
|
101
|
+
|
|
102
|
+
export type AgentShortTermMemoryStrategyEnum = typeof AgentShortTermMemoryStrategyEnum[keyof typeof AgentShortTermMemoryStrategyEnum];
|
|
92
103
|
export const AgentWalletProviderEnum = {
|
|
93
104
|
Cdp: 'cdp',
|
|
94
105
|
Readonly: 'readonly',
|
|
106
|
+
Safe: 'safe',
|
|
107
|
+
Privy: 'privy',
|
|
95
108
|
None: 'none'
|
|
96
109
|
} as const;
|
|
97
110
|
|
|
@@ -102,16 +115,12 @@ export const AgentNetworkIdEnum = {
|
|
|
102
115
|
PolygonMainnet: 'polygon-mainnet',
|
|
103
116
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
104
117
|
OptimismMainnet: 'optimism-mainnet',
|
|
105
|
-
|
|
118
|
+
BnbMainnet: 'bnb-mainnet',
|
|
119
|
+
Solana: 'solana',
|
|
120
|
+
BaseSepolia: 'base-sepolia'
|
|
106
121
|
} as const;
|
|
107
122
|
|
|
108
123
|
export type AgentNetworkIdEnum = typeof AgentNetworkIdEnum[keyof typeof AgentNetworkIdEnum];
|
|
109
|
-
export const AgentShortTermMemoryStrategyEnum = {
|
|
110
|
-
Trim: 'trim',
|
|
111
|
-
Summarize: 'summarize'
|
|
112
|
-
} as const;
|
|
113
|
-
|
|
114
|
-
export type AgentShortTermMemoryStrategyEnum = typeof AgentShortTermMemoryStrategyEnum[keyof typeof AgentShortTermMemoryStrategyEnum];
|
|
115
124
|
|
|
116
125
|
/**
|
|
117
126
|
* Response model for agent API key generation.
|
|
@@ -167,7 +176,7 @@ export interface AgentAssetsResponse {
|
|
|
167
176
|
/**
|
|
168
177
|
* Autonomous agent configuration.
|
|
169
178
|
*/
|
|
170
|
-
export interface
|
|
179
|
+
export interface AgentAutonomousInput {
|
|
171
180
|
/**
|
|
172
181
|
* Unique identifier for the autonomous configuration
|
|
173
182
|
*/
|
|
@@ -181,7 +190,48 @@ export interface AgentAutonomous {
|
|
|
181
190
|
*/
|
|
182
191
|
'prompt': string;
|
|
183
192
|
'enabled'?: boolean | null;
|
|
193
|
+
'has_memory'?: boolean | null;
|
|
194
|
+
'status'?: AgentAutonomousStatus | null;
|
|
195
|
+
'next_run_time'?: string | null;
|
|
184
196
|
}
|
|
197
|
+
|
|
198
|
+
|
|
199
|
+
/**
|
|
200
|
+
* Autonomous agent configuration.
|
|
201
|
+
*/
|
|
202
|
+
export interface AgentAutonomousOutput {
|
|
203
|
+
/**
|
|
204
|
+
* Unique identifier for the autonomous configuration
|
|
205
|
+
*/
|
|
206
|
+
'id'?: string;
|
|
207
|
+
'name'?: string | null;
|
|
208
|
+
'description'?: string | null;
|
|
209
|
+
'minutes'?: number | null;
|
|
210
|
+
'cron'?: string | null;
|
|
211
|
+
/**
|
|
212
|
+
* Special prompt used during autonomous operation
|
|
213
|
+
*/
|
|
214
|
+
'prompt': string;
|
|
215
|
+
'enabled'?: boolean | null;
|
|
216
|
+
'has_memory'?: boolean | null;
|
|
217
|
+
'status'?: AgentAutonomousStatus | null;
|
|
218
|
+
'next_run_time'?: string | null;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* Autonomous task execution status.
|
|
224
|
+
*/
|
|
225
|
+
|
|
226
|
+
export const AgentAutonomousStatus = {
|
|
227
|
+
Waiting: 'waiting',
|
|
228
|
+
Running: 'running',
|
|
229
|
+
Error: 'error'
|
|
230
|
+
} as const;
|
|
231
|
+
|
|
232
|
+
export type AgentAutonomousStatus = typeof AgentAutonomousStatus[keyof typeof AgentAutonomousStatus];
|
|
233
|
+
|
|
234
|
+
|
|
185
235
|
/**
|
|
186
236
|
* Request model for agent deployment.
|
|
187
237
|
*/
|
|
@@ -214,12 +264,13 @@ export interface AgentDraft {
|
|
|
214
264
|
'temperature'?: number | null;
|
|
215
265
|
'frequency_penalty'?: number | null;
|
|
216
266
|
'presence_penalty'?: number | null;
|
|
267
|
+
'short_term_memory_strategy'?: AgentDraftShortTermMemoryStrategyEnum | null;
|
|
217
268
|
'wallet_provider'?: AgentDraftWalletProviderEnum | null;
|
|
218
|
-
'readonly_wallet_address'?: string | null;
|
|
219
269
|
'network_id'?: AgentDraftNetworkIdEnum | null;
|
|
220
270
|
'skills'?: { [key: string]: any; } | null;
|
|
221
|
-
'
|
|
222
|
-
'
|
|
271
|
+
'readonly_wallet_address'?: string | null;
|
|
272
|
+
'weekly_spending_limit'?: number | null;
|
|
273
|
+
'autonomous'?: Array<AgentAutonomousOutput> | null;
|
|
223
274
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
224
275
|
'telegram_entrypoint_prompt'?: string | null;
|
|
225
276
|
'telegram_config'?: { [key: string]: any; } | null;
|
|
@@ -250,9 +301,17 @@ export interface AgentDraft {
|
|
|
250
301
|
'updated_at'?: string;
|
|
251
302
|
}
|
|
252
303
|
|
|
304
|
+
export const AgentDraftShortTermMemoryStrategyEnum = {
|
|
305
|
+
Trim: 'trim',
|
|
306
|
+
Summarize: 'summarize'
|
|
307
|
+
} as const;
|
|
308
|
+
|
|
309
|
+
export type AgentDraftShortTermMemoryStrategyEnum = typeof AgentDraftShortTermMemoryStrategyEnum[keyof typeof AgentDraftShortTermMemoryStrategyEnum];
|
|
253
310
|
export const AgentDraftWalletProviderEnum = {
|
|
254
311
|
Cdp: 'cdp',
|
|
255
312
|
Readonly: 'readonly',
|
|
313
|
+
Safe: 'safe',
|
|
314
|
+
Privy: 'privy',
|
|
256
315
|
None: 'none'
|
|
257
316
|
} as const;
|
|
258
317
|
|
|
@@ -263,16 +322,12 @@ export const AgentDraftNetworkIdEnum = {
|
|
|
263
322
|
PolygonMainnet: 'polygon-mainnet',
|
|
264
323
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
265
324
|
OptimismMainnet: 'optimism-mainnet',
|
|
266
|
-
|
|
325
|
+
BnbMainnet: 'bnb-mainnet',
|
|
326
|
+
Solana: 'solana',
|
|
327
|
+
BaseSepolia: 'base-sepolia'
|
|
267
328
|
} as const;
|
|
268
329
|
|
|
269
330
|
export type AgentDraftNetworkIdEnum = typeof AgentDraftNetworkIdEnum[keyof typeof AgentDraftNetworkIdEnum];
|
|
270
|
-
export const AgentDraftShortTermMemoryStrategyEnum = {
|
|
271
|
-
Trim: 'trim',
|
|
272
|
-
Summarize: 'summarize'
|
|
273
|
-
} as const;
|
|
274
|
-
|
|
275
|
-
export type AgentDraftShortTermMemoryStrategyEnum = typeof AgentDraftShortTermMemoryStrategyEnum[keyof typeof AgentDraftShortTermMemoryStrategyEnum];
|
|
276
331
|
|
|
277
332
|
/**
|
|
278
333
|
* Agent example configuration.
|
|
@@ -368,22 +423,27 @@ export interface AgentResponse {
|
|
|
368
423
|
*/
|
|
369
424
|
'model'?: string;
|
|
370
425
|
'presence_penalty'?: number | null;
|
|
426
|
+
'short_term_memory_strategy'?: AgentResponseShortTermMemoryStrategyEnum | null;
|
|
371
427
|
'wallet_provider'?: AgentResponseWalletProviderEnum | null;
|
|
372
|
-
'readonly_wallet_address'?: string | null;
|
|
373
428
|
'network_id'?: AgentResponseNetworkIdEnum | null;
|
|
374
429
|
'skills'?: { [key: string]: any; } | null;
|
|
375
|
-
'
|
|
376
|
-
'
|
|
430
|
+
'readonly_wallet_address'?: string | null;
|
|
431
|
+
'weekly_spending_limit'?: number | null;
|
|
432
|
+
'autonomous'?: Array<AgentAutonomousOutput> | null;
|
|
377
433
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
378
434
|
'discord_entrypoint_enabled'?: boolean | null;
|
|
379
435
|
'upstream_id'?: string | null;
|
|
380
436
|
'upstream_extra'?: { [key: string]: any; } | null;
|
|
437
|
+
'extra_prompt'?: string | null;
|
|
438
|
+
'visibility'?: AgentVisibility | null;
|
|
439
|
+
'archived_at'?: string | null;
|
|
381
440
|
/**
|
|
382
441
|
* Unique identifier for the agent. Must be URL-safe, containing only lowercase letters, numbers, and hyphens
|
|
383
442
|
*/
|
|
384
443
|
'id'?: string;
|
|
385
444
|
'owner'?: string | null;
|
|
386
445
|
'team_id'?: string | null;
|
|
446
|
+
'template_id'?: string | null;
|
|
387
447
|
'slug'?: string | null;
|
|
388
448
|
'version'?: string | null;
|
|
389
449
|
'statistics'?: { [key: string]: any; } | null;
|
|
@@ -429,9 +489,17 @@ export interface AgentResponse {
|
|
|
429
489
|
'accept_image_input_private'?: boolean;
|
|
430
490
|
}
|
|
431
491
|
|
|
492
|
+
export const AgentResponseShortTermMemoryStrategyEnum = {
|
|
493
|
+
Trim: 'trim',
|
|
494
|
+
Summarize: 'summarize'
|
|
495
|
+
} as const;
|
|
496
|
+
|
|
497
|
+
export type AgentResponseShortTermMemoryStrategyEnum = typeof AgentResponseShortTermMemoryStrategyEnum[keyof typeof AgentResponseShortTermMemoryStrategyEnum];
|
|
432
498
|
export const AgentResponseWalletProviderEnum = {
|
|
433
499
|
Cdp: 'cdp',
|
|
434
500
|
Readonly: 'readonly',
|
|
501
|
+
Safe: 'safe',
|
|
502
|
+
Privy: 'privy',
|
|
435
503
|
None: 'none'
|
|
436
504
|
} as const;
|
|
437
505
|
|
|
@@ -442,16 +510,12 @@ export const AgentResponseNetworkIdEnum = {
|
|
|
442
510
|
PolygonMainnet: 'polygon-mainnet',
|
|
443
511
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
444
512
|
OptimismMainnet: 'optimism-mainnet',
|
|
445
|
-
|
|
513
|
+
BnbMainnet: 'bnb-mainnet',
|
|
514
|
+
Solana: 'solana',
|
|
515
|
+
BaseSepolia: 'base-sepolia'
|
|
446
516
|
} as const;
|
|
447
517
|
|
|
448
518
|
export type AgentResponseNetworkIdEnum = typeof AgentResponseNetworkIdEnum[keyof typeof AgentResponseNetworkIdEnum];
|
|
449
|
-
export const AgentResponseShortTermMemoryStrategyEnum = {
|
|
450
|
-
Trim: 'trim',
|
|
451
|
-
Summarize: 'summarize'
|
|
452
|
-
} as const;
|
|
453
|
-
|
|
454
|
-
export type AgentResponseShortTermMemoryStrategyEnum = typeof AgentResponseShortTermMemoryStrategyEnum[keyof typeof AgentResponseShortTermMemoryStrategyEnum];
|
|
455
519
|
|
|
456
520
|
/**
|
|
457
521
|
* Sort options for agents list.
|
|
@@ -566,12 +630,13 @@ export interface AgentUpdate {
|
|
|
566
630
|
'temperature'?: number | null;
|
|
567
631
|
'frequency_penalty'?: number | null;
|
|
568
632
|
'presence_penalty'?: number | null;
|
|
633
|
+
'short_term_memory_strategy'?: AgentUpdateShortTermMemoryStrategyEnum | null;
|
|
569
634
|
'wallet_provider'?: AgentUpdateWalletProviderEnum | null;
|
|
570
|
-
'readonly_wallet_address'?: string | null;
|
|
571
635
|
'network_id'?: AgentUpdateNetworkIdEnum | null;
|
|
572
636
|
'skills'?: { [key: string]: any; } | null;
|
|
573
|
-
'
|
|
574
|
-
'
|
|
637
|
+
'readonly_wallet_address'?: string | null;
|
|
638
|
+
'weekly_spending_limit'?: number | null;
|
|
639
|
+
'autonomous'?: Array<AgentAutonomousInput> | null;
|
|
575
640
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
576
641
|
'telegram_entrypoint_prompt'?: string | null;
|
|
577
642
|
'telegram_config'?: { [key: string]: any; } | null;
|
|
@@ -580,11 +645,22 @@ export interface AgentUpdate {
|
|
|
580
645
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
581
646
|
'upstream_id'?: string | null;
|
|
582
647
|
'upstream_extra'?: { [key: string]: any; } | null;
|
|
648
|
+
'extra_prompt'?: string | null;
|
|
649
|
+
'visibility'?: AgentVisibility | null;
|
|
650
|
+
'archived_at'?: string | null;
|
|
583
651
|
}
|
|
584
652
|
|
|
653
|
+
export const AgentUpdateShortTermMemoryStrategyEnum = {
|
|
654
|
+
Trim: 'trim',
|
|
655
|
+
Summarize: 'summarize'
|
|
656
|
+
} as const;
|
|
657
|
+
|
|
658
|
+
export type AgentUpdateShortTermMemoryStrategyEnum = typeof AgentUpdateShortTermMemoryStrategyEnum[keyof typeof AgentUpdateShortTermMemoryStrategyEnum];
|
|
585
659
|
export const AgentUpdateWalletProviderEnum = {
|
|
586
660
|
Cdp: 'cdp',
|
|
587
661
|
Readonly: 'readonly',
|
|
662
|
+
Safe: 'safe',
|
|
663
|
+
Privy: 'privy',
|
|
588
664
|
None: 'none'
|
|
589
665
|
} as const;
|
|
590
666
|
|
|
@@ -595,16 +671,12 @@ export const AgentUpdateNetworkIdEnum = {
|
|
|
595
671
|
PolygonMainnet: 'polygon-mainnet',
|
|
596
672
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
597
673
|
OptimismMainnet: 'optimism-mainnet',
|
|
598
|
-
|
|
674
|
+
BnbMainnet: 'bnb-mainnet',
|
|
675
|
+
Solana: 'solana',
|
|
676
|
+
BaseSepolia: 'base-sepolia'
|
|
599
677
|
} as const;
|
|
600
678
|
|
|
601
679
|
export type AgentUpdateNetworkIdEnum = typeof AgentUpdateNetworkIdEnum[keyof typeof AgentUpdateNetworkIdEnum];
|
|
602
|
-
export const AgentUpdateShortTermMemoryStrategyEnum = {
|
|
603
|
-
Trim: 'trim',
|
|
604
|
-
Summarize: 'summarize'
|
|
605
|
-
} as const;
|
|
606
|
-
|
|
607
|
-
export type AgentUpdateShortTermMemoryStrategyEnum = typeof AgentUpdateShortTermMemoryStrategyEnum[keyof typeof AgentUpdateShortTermMemoryStrategyEnum];
|
|
608
680
|
|
|
609
681
|
/**
|
|
610
682
|
* Agent update model.
|
|
@@ -624,12 +696,13 @@ export interface AgentUserInput {
|
|
|
624
696
|
'temperature'?: number | null;
|
|
625
697
|
'frequency_penalty'?: number | null;
|
|
626
698
|
'presence_penalty'?: number | null;
|
|
699
|
+
'short_term_memory_strategy'?: AgentUserInputShortTermMemoryStrategyEnum | null;
|
|
627
700
|
'wallet_provider'?: AgentUserInputWalletProviderEnum | null;
|
|
628
|
-
'readonly_wallet_address'?: string | null;
|
|
629
701
|
'network_id'?: AgentUserInputNetworkIdEnum | null;
|
|
630
702
|
'skills'?: { [key: string]: any; } | null;
|
|
631
|
-
'
|
|
632
|
-
'
|
|
703
|
+
'readonly_wallet_address'?: string | null;
|
|
704
|
+
'weekly_spending_limit'?: number | null;
|
|
705
|
+
'autonomous'?: Array<AgentAutonomousInput> | null;
|
|
633
706
|
'telegram_entrypoint_enabled'?: boolean | null;
|
|
634
707
|
'telegram_entrypoint_prompt'?: string | null;
|
|
635
708
|
'telegram_config'?: { [key: string]: any; } | null;
|
|
@@ -638,9 +711,17 @@ export interface AgentUserInput {
|
|
|
638
711
|
'xmtp_entrypoint_prompt'?: string | null;
|
|
639
712
|
}
|
|
640
713
|
|
|
714
|
+
export const AgentUserInputShortTermMemoryStrategyEnum = {
|
|
715
|
+
Trim: 'trim',
|
|
716
|
+
Summarize: 'summarize'
|
|
717
|
+
} as const;
|
|
718
|
+
|
|
719
|
+
export type AgentUserInputShortTermMemoryStrategyEnum = typeof AgentUserInputShortTermMemoryStrategyEnum[keyof typeof AgentUserInputShortTermMemoryStrategyEnum];
|
|
641
720
|
export const AgentUserInputWalletProviderEnum = {
|
|
642
721
|
Cdp: 'cdp',
|
|
643
722
|
Readonly: 'readonly',
|
|
723
|
+
Safe: 'safe',
|
|
724
|
+
Privy: 'privy',
|
|
644
725
|
None: 'none'
|
|
645
726
|
} as const;
|
|
646
727
|
|
|
@@ -651,25 +732,26 @@ export const AgentUserInputNetworkIdEnum = {
|
|
|
651
732
|
PolygonMainnet: 'polygon-mainnet',
|
|
652
733
|
ArbitrumMainnet: 'arbitrum-mainnet',
|
|
653
734
|
OptimismMainnet: 'optimism-mainnet',
|
|
654
|
-
|
|
735
|
+
BnbMainnet: 'bnb-mainnet',
|
|
736
|
+
Solana: 'solana',
|
|
737
|
+
BaseSepolia: 'base-sepolia'
|
|
655
738
|
} as const;
|
|
656
739
|
|
|
657
740
|
export type AgentUserInputNetworkIdEnum = typeof AgentUserInputNetworkIdEnum[keyof typeof AgentUserInputNetworkIdEnum];
|
|
658
|
-
export const AgentUserInputShortTermMemoryStrategyEnum = {
|
|
659
|
-
Trim: 'trim',
|
|
660
|
-
Summarize: 'summarize'
|
|
661
|
-
} as const;
|
|
662
|
-
|
|
663
|
-
export type AgentUserInputShortTermMemoryStrategyEnum = typeof AgentUserInputShortTermMemoryStrategyEnum[keyof typeof AgentUserInputShortTermMemoryStrategyEnum];
|
|
664
741
|
|
|
665
742
|
/**
|
|
666
|
-
*
|
|
743
|
+
* Agent visibility levels with hierarchical ordering. Higher values indicate broader visibility: - PRIVATE (0): Only visible to owner - TEAM (10): Visible to team members - PUBLIC (20): Visible to everyone
|
|
667
744
|
*/
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
745
|
+
|
|
746
|
+
export const AgentVisibility = {
|
|
747
|
+
NUMBER_0: 0,
|
|
748
|
+
NUMBER_10: 10,
|
|
749
|
+
NUMBER_20: 20
|
|
750
|
+
} as const;
|
|
751
|
+
|
|
752
|
+
export type AgentVisibility = typeof AgentVisibility[keyof typeof AgentVisibility];
|
|
753
|
+
|
|
754
|
+
|
|
673
755
|
/**
|
|
674
756
|
* Model for individual asset with symbol and balance.
|
|
675
757
|
*/
|
|
@@ -689,16 +771,17 @@ export interface Asset {
|
|
|
689
771
|
|
|
690
772
|
export const AuthorType = {
|
|
691
773
|
Agent: 'agent',
|
|
692
|
-
Trigger: 'trigger',
|
|
693
774
|
Skill: 'skill',
|
|
775
|
+
System: 'system',
|
|
776
|
+
Trigger: 'trigger',
|
|
694
777
|
Telegram: 'telegram',
|
|
695
778
|
Twitter: 'twitter',
|
|
696
779
|
Discord: 'discord',
|
|
697
780
|
Web: 'web',
|
|
698
|
-
System: 'system',
|
|
699
781
|
Api: 'api',
|
|
700
782
|
Xmtp: 'xmtp',
|
|
701
|
-
X402: 'x402'
|
|
783
|
+
X402: 'x402',
|
|
784
|
+
Internal: 'internal'
|
|
702
785
|
} as const;
|
|
703
786
|
|
|
704
787
|
export type AuthorType = typeof AuthorType[keyof typeof AuthorType];
|
|
@@ -854,6 +937,14 @@ export interface ChatMessageSkillCall {
|
|
|
854
937
|
'credit_event_id'?: string;
|
|
855
938
|
'credit_cost'?: string;
|
|
856
939
|
}
|
|
940
|
+
/**
|
|
941
|
+
* Response model for chat messages with pagination.
|
|
942
|
+
*/
|
|
943
|
+
export interface ChatMessagesResponse {
|
|
944
|
+
'data': Array<ChatMessage>;
|
|
945
|
+
'has_more'?: boolean;
|
|
946
|
+
'next_cursor'?: string | null;
|
|
947
|
+
}
|
|
857
948
|
/**
|
|
858
949
|
* Request model for updating a chat thread.
|
|
859
950
|
*/
|
|
@@ -1326,6 +1417,8 @@ export const LLMProvider = {
|
|
|
1326
1417
|
export type LLMProvider = typeof LLMProvider[keyof typeof LLMProvider];
|
|
1327
1418
|
|
|
1328
1419
|
|
|
1420
|
+
export interface LocationInner {
|
|
1421
|
+
}
|
|
1329
1422
|
/**
|
|
1330
1423
|
* Request payload for manager agent messages.
|
|
1331
1424
|
*/
|
|
@@ -1536,6 +1629,7 @@ export interface User {
|
|
|
1536
1629
|
'extra'?: { [key: string]: any; } | null;
|
|
1537
1630
|
'evm_wallet_address'?: string | null;
|
|
1538
1631
|
'solana_wallet_address'?: string | null;
|
|
1632
|
+
'server_wallet_address'?: string | null;
|
|
1539
1633
|
'linked_accounts'?: { [key: string]: any; } | null;
|
|
1540
1634
|
/**
|
|
1541
1635
|
* Unique identifier for the user
|
|
@@ -1569,12 +1663,10 @@ export interface UserAgentListResponse {
|
|
|
1569
1663
|
'next_cursor'?: string | null;
|
|
1570
1664
|
}
|
|
1571
1665
|
export interface ValidationError {
|
|
1572
|
-
'loc': Array<
|
|
1666
|
+
'loc': Array<LocationInner>;
|
|
1573
1667
|
'msg': string;
|
|
1574
1668
|
'type': string;
|
|
1575
1669
|
}
|
|
1576
|
-
export interface ValidationErrorLocInner {
|
|
1577
|
-
}
|
|
1578
1670
|
/**
|
|
1579
1671
|
* Response payload for x402 top-up requests.
|
|
1580
1672
|
*/
|
|
@@ -1624,9 +1716,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1624
1716
|
// http bearer authentication required
|
|
1625
1717
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1626
1718
|
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
1719
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
1720
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1630
1721
|
|
|
1631
1722
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1632
1723
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -1665,8 +1756,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1665
1756
|
// http bearer authentication required
|
|
1666
1757
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1667
1758
|
|
|
1759
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1668
1760
|
|
|
1669
|
-
|
|
1670
1761
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1671
1762
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1672
1763
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1703,8 +1794,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1703
1794
|
// http bearer authentication required
|
|
1704
1795
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1705
1796
|
|
|
1797
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1706
1798
|
|
|
1707
|
-
|
|
1708
1799
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1709
1800
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1710
1801
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1741,8 +1832,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1741
1832
|
// http bearer authentication required
|
|
1742
1833
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1743
1834
|
|
|
1835
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1744
1836
|
|
|
1745
|
-
|
|
1746
1837
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1747
1838
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1748
1839
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1779,8 +1870,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1779
1870
|
// http bearer authentication required
|
|
1780
1871
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1781
1872
|
|
|
1873
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1782
1874
|
|
|
1783
|
-
|
|
1784
1875
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1785
1876
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1786
1877
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1817,8 +1908,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1817
1908
|
// http bearer authentication required
|
|
1818
1909
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1819
1910
|
|
|
1911
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1820
1912
|
|
|
1821
|
-
|
|
1822
1913
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1823
1914
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1824
1915
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1851,8 +1942,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1851
1942
|
const localVarHeaderParameter = {} as any;
|
|
1852
1943
|
const localVarQueryParameter = {} as any;
|
|
1853
1944
|
|
|
1945
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1854
1946
|
|
|
1855
|
-
|
|
1856
1947
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1857
1948
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1858
1949
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1911,8 +2002,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1911
2002
|
localVarQueryParameter['keyword'] = keyword;
|
|
1912
2003
|
}
|
|
1913
2004
|
|
|
2005
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1914
2006
|
|
|
1915
|
-
|
|
1916
2007
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1917
2008
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1918
2009
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1959,8 +2050,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
1959
2050
|
localVarQueryParameter['limit'] = limit;
|
|
1960
2051
|
}
|
|
1961
2052
|
|
|
2053
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
1962
2054
|
|
|
1963
|
-
|
|
1964
2055
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1965
2056
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1966
2057
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2005,10 +2096,9 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
2005
2096
|
if (file !== undefined) {
|
|
2006
2097
|
localVarFormParams.append('file', file as any);
|
|
2007
2098
|
}
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
2099
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
2011
|
-
|
|
2100
|
+
localVarHeaderParameter['Accept'] = 'text/plain,application/json';
|
|
2101
|
+
|
|
2012
2102
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2013
2103
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2014
2104
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2049,9 +2139,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
2049
2139
|
// http bearer authentication required
|
|
2050
2140
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2051
2141
|
|
|
2052
|
-
|
|
2053
|
-
|
|
2054
2142
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2143
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2055
2144
|
|
|
2056
2145
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2057
2146
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2093,9 +2182,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
2093
2182
|
// http bearer authentication required
|
|
2094
2183
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2095
2184
|
|
|
2096
|
-
|
|
2097
|
-
|
|
2098
2185
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2186
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2099
2187
|
|
|
2100
2188
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2101
2189
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2134,8 +2222,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
2134
2222
|
// http bearer authentication required
|
|
2135
2223
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2136
2224
|
|
|
2225
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2137
2226
|
|
|
2138
|
-
|
|
2139
2227
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2140
2228
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2141
2229
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2172,8 +2260,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
2172
2260
|
// http bearer authentication required
|
|
2173
2261
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2174
2262
|
|
|
2263
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2175
2264
|
|
|
2176
|
-
|
|
2177
2265
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2178
2266
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2179
2267
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2210,8 +2298,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
2210
2298
|
// http bearer authentication required
|
|
2211
2299
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2212
2300
|
|
|
2301
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2213
2302
|
|
|
2214
|
-
|
|
2215
2303
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2216
2304
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2217
2305
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -2247,9 +2335,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
2247
2335
|
// http bearer authentication required
|
|
2248
2336
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2249
2337
|
|
|
2250
|
-
|
|
2251
|
-
|
|
2252
2338
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2339
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2253
2340
|
|
|
2254
2341
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2255
2342
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2291,9 +2378,8 @@ export const AgentApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
2291
2378
|
// http bearer authentication required
|
|
2292
2379
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2293
2380
|
|
|
2294
|
-
|
|
2295
|
-
|
|
2296
2381
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
2382
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2297
2383
|
|
|
2298
2384
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2299
2385
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -2432,7 +2518,7 @@ export const AgentApiFp = function(configuration?: Configuration) {
|
|
|
2432
2518
|
* @param {*} [options] Override http request option.
|
|
2433
2519
|
* @throws {RequiredError}
|
|
2434
2520
|
*/
|
|
2435
|
-
async getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
2521
|
+
async getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessagesResponse>> {
|
|
2436
2522
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSkillHistory(aid, cursor, limit, options);
|
|
2437
2523
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
2438
2524
|
const localVarOperationServerBasePath = operationServerMap['AgentApi.getSkillHistory']?.[localVarOperationServerIndex]?.url;
|
|
@@ -2649,7 +2735,7 @@ export const AgentApiFactory = function (configuration?: Configuration, basePath
|
|
|
2649
2735
|
* @param {*} [options] Override http request option.
|
|
2650
2736
|
* @throws {RequiredError}
|
|
2651
2737
|
*/
|
|
2652
|
-
getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
2738
|
+
getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessagesResponse> {
|
|
2653
2739
|
return localVarFp.getSkillHistory(aid, cursor, limit, options).then((request) => request(axios, basePath));
|
|
2654
2740
|
},
|
|
2655
2741
|
/**
|
|
@@ -2980,8 +3066,8 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
2980
3066
|
// http bearer authentication required
|
|
2981
3067
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
2982
3068
|
|
|
3069
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
2983
3070
|
|
|
2984
|
-
|
|
2985
3071
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2986
3072
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2987
3073
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3018,8 +3104,8 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3018
3104
|
// http bearer authentication required
|
|
3019
3105
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3020
3106
|
|
|
3107
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3021
3108
|
|
|
3022
|
-
|
|
3023
3109
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3024
3110
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3025
3111
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3060,8 +3146,8 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3060
3146
|
// http bearer authentication required
|
|
3061
3147
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3062
3148
|
|
|
3149
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3063
3150
|
|
|
3064
|
-
|
|
3065
3151
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3066
3152
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3067
3153
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3102,8 +3188,8 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3102
3188
|
// http bearer authentication required
|
|
3103
3189
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3104
3190
|
|
|
3191
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3105
3192
|
|
|
3106
|
-
|
|
3107
3193
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3108
3194
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3109
3195
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3140,8 +3226,8 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3140
3226
|
// http bearer authentication required
|
|
3141
3227
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3142
3228
|
|
|
3229
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3143
3230
|
|
|
3144
|
-
|
|
3145
3231
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3146
3232
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3147
3233
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3188,8 +3274,8 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3188
3274
|
localVarQueryParameter['limit'] = limit;
|
|
3189
3275
|
}
|
|
3190
3276
|
|
|
3277
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3191
3278
|
|
|
3192
|
-
|
|
3193
3279
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3194
3280
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3195
3281
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3226,8 +3312,8 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3226
3312
|
// http bearer authentication required
|
|
3227
3313
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3228
3314
|
|
|
3315
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3229
3316
|
|
|
3230
|
-
|
|
3231
3317
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3232
3318
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3233
3319
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3278,8 +3364,8 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3278
3364
|
localVarQueryParameter['limit'] = limit;
|
|
3279
3365
|
}
|
|
3280
3366
|
|
|
3367
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3281
3368
|
|
|
3282
|
-
|
|
3283
3369
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3284
3370
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3285
3371
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3326,8 +3412,8 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3326
3412
|
localVarQueryParameter['limit'] = limit;
|
|
3327
3413
|
}
|
|
3328
3414
|
|
|
3415
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3329
3416
|
|
|
3330
|
-
|
|
3331
3417
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3332
3418
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3333
3419
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3368,8 +3454,8 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3368
3454
|
// http bearer authentication required
|
|
3369
3455
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3370
3456
|
|
|
3457
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3371
3458
|
|
|
3372
|
-
|
|
3373
3459
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3374
3460
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3375
3461
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -3413,9 +3499,8 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3413
3499
|
// http bearer authentication required
|
|
3414
3500
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3415
3501
|
|
|
3416
|
-
|
|
3417
|
-
|
|
3418
3502
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3503
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3419
3504
|
|
|
3420
3505
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3421
3506
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -3457,9 +3542,8 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3457
3542
|
// http bearer authentication required
|
|
3458
3543
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3459
3544
|
|
|
3460
|
-
|
|
3461
|
-
|
|
3462
3545
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3546
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3463
3547
|
|
|
3464
3548
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3465
3549
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -3505,9 +3589,8 @@ export const ChatApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
3505
3589
|
// http bearer authentication required
|
|
3506
3590
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
3507
3591
|
|
|
3508
|
-
|
|
3509
|
-
|
|
3510
3592
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
3593
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
3511
3594
|
|
|
3512
3595
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3513
3596
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -3605,7 +3688,7 @@ export const ChatApiFp = function(configuration?: Configuration) {
|
|
|
3605
3688
|
* @param {*} [options] Override http request option.
|
|
3606
3689
|
* @throws {RequiredError}
|
|
3607
3690
|
*/
|
|
3608
|
-
async getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3691
|
+
async getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessagesResponse>> {
|
|
3609
3692
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getSkillHistory(aid, cursor, limit, options);
|
|
3610
3693
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3611
3694
|
const localVarOperationServerBasePath = operationServerMap['ChatApi.getSkillHistory']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3634,7 +3717,7 @@ export const ChatApiFp = function(configuration?: Configuration) {
|
|
|
3634
3717
|
* @param {*} [options] Override http request option.
|
|
3635
3718
|
* @throws {RequiredError}
|
|
3636
3719
|
*/
|
|
3637
|
-
async listMessagesInChat(aid: string, chatId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3720
|
+
async listMessagesInChat(aid: string, chatId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessagesResponse>> {
|
|
3638
3721
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listMessagesInChat(aid, chatId, cursor, limit, options);
|
|
3639
3722
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3640
3723
|
const localVarOperationServerBasePath = operationServerMap['ChatApi.listMessagesInChat']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3649,7 +3732,7 @@ export const ChatApiFp = function(configuration?: Configuration) {
|
|
|
3649
3732
|
* @param {*} [options] Override http request option.
|
|
3650
3733
|
* @throws {RequiredError}
|
|
3651
3734
|
*/
|
|
3652
|
-
async listMessagesInDraft(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
3735
|
+
async listMessagesInDraft(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessagesResponse>> {
|
|
3653
3736
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listMessagesInDraft(aid, cursor, limit, options);
|
|
3654
3737
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
3655
3738
|
const localVarOperationServerBasePath = operationServerMap['ChatApi.listMessagesInDraft']?.[localVarOperationServerIndex]?.url;
|
|
@@ -3784,7 +3867,7 @@ export const ChatApiFactory = function (configuration?: Configuration, basePath?
|
|
|
3784
3867
|
* @param {*} [options] Override http request option.
|
|
3785
3868
|
* @throws {RequiredError}
|
|
3786
3869
|
*/
|
|
3787
|
-
getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3870
|
+
getSkillHistory(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessagesResponse> {
|
|
3788
3871
|
return localVarFp.getSkillHistory(aid, cursor, limit, options).then((request) => request(axios, basePath));
|
|
3789
3872
|
},
|
|
3790
3873
|
/**
|
|
@@ -3807,7 +3890,7 @@ export const ChatApiFactory = function (configuration?: Configuration, basePath?
|
|
|
3807
3890
|
* @param {*} [options] Override http request option.
|
|
3808
3891
|
* @throws {RequiredError}
|
|
3809
3892
|
*/
|
|
3810
|
-
listMessagesInChat(aid: string, chatId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3893
|
+
listMessagesInChat(aid: string, chatId: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessagesResponse> {
|
|
3811
3894
|
return localVarFp.listMessagesInChat(aid, chatId, cursor, limit, options).then((request) => request(axios, basePath));
|
|
3812
3895
|
},
|
|
3813
3896
|
/**
|
|
@@ -3819,7 +3902,7 @@ export const ChatApiFactory = function (configuration?: Configuration, basePath?
|
|
|
3819
3902
|
* @param {*} [options] Override http request option.
|
|
3820
3903
|
* @throws {RequiredError}
|
|
3821
3904
|
*/
|
|
3822
|
-
listMessagesInDraft(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
3905
|
+
listMessagesInDraft(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessagesResponse> {
|
|
3823
3906
|
return localVarFp.listMessagesInDraft(aid, cursor, limit, options).then((request) => request(axios, basePath));
|
|
3824
3907
|
},
|
|
3825
3908
|
/**
|
|
@@ -4069,8 +4152,8 @@ export const CreditApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4069
4152
|
// http bearer authentication required
|
|
4070
4153
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4071
4154
|
|
|
4155
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4072
4156
|
|
|
4073
|
-
|
|
4074
4157
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4075
4158
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4076
4159
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4103,8 +4186,8 @@ export const CreditApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4103
4186
|
// http bearer authentication required
|
|
4104
4187
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4105
4188
|
|
|
4189
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4106
4190
|
|
|
4107
|
-
|
|
4108
4191
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4109
4192
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4110
4193
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4151,8 +4234,8 @@ export const CreditApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4151
4234
|
localVarQueryParameter['limit'] = limit;
|
|
4152
4235
|
}
|
|
4153
4236
|
|
|
4237
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4154
4238
|
|
|
4155
|
-
|
|
4156
4239
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4157
4240
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4158
4241
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4195,8 +4278,8 @@ export const CreditApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4195
4278
|
localVarQueryParameter['limit'] = limit;
|
|
4196
4279
|
}
|
|
4197
4280
|
|
|
4281
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4198
4282
|
|
|
4199
|
-
|
|
4200
4283
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4201
4284
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4202
4285
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4249,8 +4332,8 @@ export const CreditApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4249
4332
|
localVarQueryParameter['limit'] = limit;
|
|
4250
4333
|
}
|
|
4251
4334
|
|
|
4335
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4252
4336
|
|
|
4253
|
-
|
|
4254
4337
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4255
4338
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4256
4339
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4303,8 +4386,8 @@ export const CreditApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
4303
4386
|
localVarQueryParameter['limit'] = limit;
|
|
4304
4387
|
}
|
|
4305
4388
|
|
|
4389
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4306
4390
|
|
|
4307
|
-
|
|
4308
4391
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4309
4392
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4310
4393
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4601,9 +4684,8 @@ export const DraftApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4601
4684
|
// http bearer authentication required
|
|
4602
4685
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4603
4686
|
|
|
4604
|
-
|
|
4605
|
-
|
|
4606
4687
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4688
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4607
4689
|
|
|
4608
4690
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4609
4691
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -4642,8 +4724,8 @@ export const DraftApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4642
4724
|
// http bearer authentication required
|
|
4643
4725
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4644
4726
|
|
|
4727
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4645
4728
|
|
|
4646
|
-
|
|
4647
4729
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4648
4730
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4649
4731
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4679,9 +4761,8 @@ export const DraftApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4679
4761
|
// http bearer authentication required
|
|
4680
4762
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4681
4763
|
|
|
4682
|
-
|
|
4683
|
-
|
|
4684
4764
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4765
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4685
4766
|
|
|
4686
4767
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4687
4768
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -4724,8 +4805,8 @@ export const DraftApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4724
4805
|
// http bearer authentication required
|
|
4725
4806
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4726
4807
|
|
|
4808
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4727
4809
|
|
|
4728
|
-
|
|
4729
4810
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4730
4811
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4731
4812
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4762,8 +4843,8 @@ export const DraftApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4762
4843
|
// http bearer authentication required
|
|
4763
4844
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4764
4845
|
|
|
4846
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4765
4847
|
|
|
4766
|
-
|
|
4767
4848
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4768
4849
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4769
4850
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4800,8 +4881,8 @@ export const DraftApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4800
4881
|
// http bearer authentication required
|
|
4801
4882
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4802
4883
|
|
|
4884
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4803
4885
|
|
|
4804
|
-
|
|
4805
4886
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4806
4887
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4807
4888
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4839,8 +4920,8 @@ export const DraftApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4839
4920
|
localVarQueryParameter['hasDeployment'] = hasDeployment;
|
|
4840
4921
|
}
|
|
4841
4922
|
|
|
4923
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4842
4924
|
|
|
4843
|
-
|
|
4844
4925
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4845
4926
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
4846
4927
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -4880,9 +4961,8 @@ export const DraftApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
4880
4961
|
// http bearer authentication required
|
|
4881
4962
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
4882
4963
|
|
|
4883
|
-
|
|
4884
|
-
|
|
4885
4964
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
4965
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
4886
4966
|
|
|
4887
4967
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
4888
4968
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -5224,8 +5304,8 @@ export const HealthApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
5224
5304
|
const localVarHeaderParameter = {} as any;
|
|
5225
5305
|
const localVarQueryParameter = {} as any;
|
|
5226
5306
|
|
|
5307
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5227
5308
|
|
|
5228
|
-
|
|
5229
5309
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5230
5310
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5231
5311
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5336,8 +5416,8 @@ export const ManagerApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5336
5416
|
localVarQueryParameter['limit'] = limit;
|
|
5337
5417
|
}
|
|
5338
5418
|
|
|
5419
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5339
5420
|
|
|
5340
|
-
|
|
5341
5421
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5342
5422
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5343
5423
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5377,9 +5457,8 @@ export const ManagerApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
5377
5457
|
// http bearer authentication required
|
|
5378
5458
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5379
5459
|
|
|
5380
|
-
|
|
5381
|
-
|
|
5382
5460
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
5461
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5383
5462
|
|
|
5384
5463
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5385
5464
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -5409,7 +5488,7 @@ export const ManagerApiFp = function(configuration?: Configuration) {
|
|
|
5409
5488
|
* @param {*} [options] Override http request option.
|
|
5410
5489
|
* @throws {RequiredError}
|
|
5411
5490
|
*/
|
|
5412
|
-
async getManagerMessages(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
5491
|
+
async getManagerMessages(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessagesResponse>> {
|
|
5413
5492
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getManagerMessages(aid, cursor, limit, options);
|
|
5414
5493
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
5415
5494
|
const localVarOperationServerBasePath = operationServerMap['ManagerApi.getManagerMessages']?.[localVarOperationServerIndex]?.url;
|
|
@@ -5447,7 +5526,7 @@ export const ManagerApiFactory = function (configuration?: Configuration, basePa
|
|
|
5447
5526
|
* @param {*} [options] Override http request option.
|
|
5448
5527
|
* @throws {RequiredError}
|
|
5449
5528
|
*/
|
|
5450
|
-
getManagerMessages(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<
|
|
5529
|
+
getManagerMessages(aid: string, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessagesResponse> {
|
|
5451
5530
|
return localVarFp.getManagerMessages(aid, cursor, limit, options).then((request) => request(axios, basePath));
|
|
5452
5531
|
},
|
|
5453
5532
|
/**
|
|
@@ -5524,8 +5603,8 @@ export const MetadataApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5524
5603
|
// http bearer authentication required
|
|
5525
5604
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5526
5605
|
|
|
5606
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5527
5607
|
|
|
5528
|
-
|
|
5529
5608
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5530
5609
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5531
5610
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5558,8 +5637,8 @@ export const MetadataApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5558
5637
|
// http bearer authentication required
|
|
5559
5638
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
5560
5639
|
|
|
5640
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5561
5641
|
|
|
5562
|
-
|
|
5563
5642
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5564
5643
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5565
5644
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5588,8 +5667,8 @@ export const MetadataApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5588
5667
|
const localVarHeaderParameter = {} as any;
|
|
5589
5668
|
const localVarQueryParameter = {} as any;
|
|
5590
5669
|
|
|
5670
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5591
5671
|
|
|
5592
|
-
|
|
5593
5672
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5594
5673
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5595
5674
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5618,8 +5697,8 @@ export const MetadataApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5618
5697
|
const localVarHeaderParameter = {} as any;
|
|
5619
5698
|
const localVarQueryParameter = {} as any;
|
|
5620
5699
|
|
|
5700
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5621
5701
|
|
|
5622
|
-
|
|
5623
5702
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5624
5703
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5625
5704
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5648,8 +5727,8 @@ export const MetadataApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5648
5727
|
const localVarHeaderParameter = {} as any;
|
|
5649
5728
|
const localVarQueryParameter = {} as any;
|
|
5650
5729
|
|
|
5730
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5651
5731
|
|
|
5652
|
-
|
|
5653
5732
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5654
5733
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5655
5734
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5690,8 +5769,8 @@ export const MetadataApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5690
5769
|
const localVarHeaderParameter = {} as any;
|
|
5691
5770
|
const localVarQueryParameter = {} as any;
|
|
5692
5771
|
|
|
5772
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5693
5773
|
|
|
5694
|
-
|
|
5695
5774
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5696
5775
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5697
5776
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5724,8 +5803,8 @@ export const MetadataApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5724
5803
|
const localVarHeaderParameter = {} as any;
|
|
5725
5804
|
const localVarQueryParameter = {} as any;
|
|
5726
5805
|
|
|
5806
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5727
5807
|
|
|
5728
|
-
|
|
5729
5808
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5730
5809
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5731
5810
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -5754,8 +5833,8 @@ export const MetadataApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
5754
5833
|
const localVarHeaderParameter = {} as any;
|
|
5755
5834
|
const localVarQueryParameter = {} as any;
|
|
5756
5835
|
|
|
5836
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
5757
5837
|
|
|
5758
|
-
|
|
5759
5838
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
5760
5839
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
5761
5840
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -6095,8 +6174,8 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6095
6174
|
localVarQueryParameter['redirect_uri'] = redirectUri;
|
|
6096
6175
|
}
|
|
6097
6176
|
|
|
6177
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6098
6178
|
|
|
6099
|
-
|
|
6100
6179
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6101
6180
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6102
6181
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -6142,8 +6221,8 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6142
6221
|
localVarQueryParameter['error'] = error;
|
|
6143
6222
|
}
|
|
6144
6223
|
|
|
6224
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6145
6225
|
|
|
6146
|
-
|
|
6147
6226
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6148
6227
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6149
6228
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -6183,8 +6262,8 @@ export const OAuthApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
6183
6262
|
localVarQueryParameter['agent_id'] = agentId;
|
|
6184
6263
|
}
|
|
6185
6264
|
|
|
6265
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6186
6266
|
|
|
6187
|
-
|
|
6188
6267
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6189
6268
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6190
6269
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -6361,8 +6440,8 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6361
6440
|
// http bearer authentication required
|
|
6362
6441
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6363
6442
|
|
|
6443
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6364
6444
|
|
|
6365
|
-
|
|
6366
6445
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6367
6446
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6368
6447
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -6399,8 +6478,8 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6399
6478
|
// http bearer authentication required
|
|
6400
6479
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
6401
6480
|
|
|
6481
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6402
6482
|
|
|
6403
|
-
|
|
6404
6483
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6405
6484
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6406
6485
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -6448,8 +6527,8 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6448
6527
|
localVarQueryParameter['state'] = state;
|
|
6449
6528
|
}
|
|
6450
6529
|
|
|
6530
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6451
6531
|
|
|
6452
|
-
|
|
6453
6532
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6454
6533
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6455
6534
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -6490,10 +6569,9 @@ export const UserApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6490
6569
|
if (file !== undefined) {
|
|
6491
6570
|
localVarFormParams.append('file', file as any);
|
|
6492
6571
|
}
|
|
6493
|
-
|
|
6494
|
-
|
|
6495
6572
|
localVarHeaderParameter['Content-Type'] = 'multipart/form-data';
|
|
6496
|
-
|
|
6573
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6574
|
+
|
|
6497
6575
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6498
6576
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6499
6577
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -6699,8 +6777,8 @@ export const X402ApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6699
6777
|
const localVarHeaderParameter = {} as any;
|
|
6700
6778
|
const localVarQueryParameter = {} as any;
|
|
6701
6779
|
|
|
6780
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6702
6781
|
|
|
6703
|
-
|
|
6704
6782
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6705
6783
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6706
6784
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -6729,8 +6807,8 @@ export const X402ApiAxiosParamCreator = function (configuration?: Configuration)
|
|
|
6729
6807
|
const localVarHeaderParameter = {} as any;
|
|
6730
6808
|
const localVarQueryParameter = {} as any;
|
|
6731
6809
|
|
|
6810
|
+
localVarHeaderParameter['Accept'] = 'application/json';
|
|
6732
6811
|
|
|
6733
|
-
|
|
6734
6812
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
6735
6813
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
6736
6814
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|