@crestal/nation-sdk 0.1.30 → 0.1.32

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/base.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.1.30
7
+ * The version of the OpenAPI document: 0.1.32
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/common.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.1.30
7
+ * The version of the OpenAPI document: 0.1.32
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/configuration.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.1.30
7
+ * The version of the OpenAPI document: 0.1.32
8
8
  *
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  * Nation IntentKit API
3
3
  * API for Nation IntentKit services
4
4
  *
5
- * The version of the OpenAPI document: 0.1.30
5
+ * The version of the OpenAPI document: 0.1.32
6
6
  *
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
@@ -2639,7 +2639,7 @@ export interface ValidationErrorLocInner {
2639
2639
  */
2640
2640
  export declare const AgentApiAxiosParamCreator: (configuration?: Configuration) => {
2641
2641
  /**
2642
- * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format or agent ID already exists - 500: Database error
2642
+ * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
2643
2643
  * @summary Create Agent
2644
2644
  * @param {AgentUpdate} [agentUpdate]
2645
2645
  * @param {*} [options] Override http request option.
@@ -2680,6 +2680,14 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
2680
2680
  * @throws {RequiredError}
2681
2681
  */
2682
2682
  getAgents: (sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2683
+ /**
2684
+ * Get last 50 skill calls for a specific agent. **Path Parameters:** * `aid` - Agent ID **Returns:** * `List[ChatMessageSkillCall]` - List of skill calls, ordered by creation time ascending **Raises:** * `404` - Agent not found
2685
+ * @summary Skill History
2686
+ * @param {string} aid Agent ID
2687
+ * @param {*} [options] Override http request option.
2688
+ * @throws {RequiredError}
2689
+ */
2690
+ getSkillHistory: (aid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2683
2691
  /**
2684
2692
  * Import agent configuration from YAML file. Only updates existing agents, will not create new ones. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `file` - YAML file containing agent configuration **Returns:** * `str` - Success message **Raises:** * `HTTPException`: - 400: Invalid YAML or agent configuration - 404: Agent not found - 500: Server error
2685
2693
  * @summary Import Agent
@@ -2690,7 +2698,7 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
2690
2698
  */
2691
2699
  importAgent: (agentId: string, file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2692
2700
  /**
2693
- * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
2701
+ * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
2694
2702
  * @summary Override Agent
2695
2703
  * @param {string} agentId ID of the agent to update
2696
2704
  * @param {AgentUpdate} [agentUpdate]
@@ -2708,7 +2716,7 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
2708
2716
  */
2709
2717
  updateAgent: (agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
2710
2718
  /**
2711
- * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
2719
+ * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
2712
2720
  * @summary Validate Agent Create
2713
2721
  * @param {AgentUpdate} [agentUpdate]
2714
2722
  * @param {*} [options] Override http request option.
@@ -2731,7 +2739,7 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
2731
2739
  */
2732
2740
  export declare const AgentApiFp: (configuration?: Configuration) => {
2733
2741
  /**
2734
- * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format or agent ID already exists - 500: Database error
2742
+ * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
2735
2743
  * @summary Create Agent
2736
2744
  * @param {AgentUpdate} [agentUpdate]
2737
2745
  * @param {*} [options] Override http request option.
@@ -2772,6 +2780,14 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
2772
2780
  * @throws {RequiredError}
2773
2781
  */
2774
2782
  getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentListResponse>>;
2783
+ /**
2784
+ * Get last 50 skill calls for a specific agent. **Path Parameters:** * `aid` - Agent ID **Returns:** * `List[ChatMessageSkillCall]` - List of skill calls, ordered by creation time ascending **Raises:** * `404` - Agent not found
2785
+ * @summary Skill History
2786
+ * @param {string} aid Agent ID
2787
+ * @param {*} [options] Override http request option.
2788
+ * @throws {RequiredError}
2789
+ */
2790
+ getSkillHistory(aid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ChatMessageSkillCall>>>;
2775
2791
  /**
2776
2792
  * Import agent configuration from YAML file. Only updates existing agents, will not create new ones. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `file` - YAML file containing agent configuration **Returns:** * `str` - Success message **Raises:** * `HTTPException`: - 400: Invalid YAML or agent configuration - 404: Agent not found - 500: Server error
2777
2793
  * @summary Import Agent
@@ -2782,7 +2798,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
2782
2798
  */
2783
2799
  importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
2784
2800
  /**
2785
- * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
2801
+ * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
2786
2802
  * @summary Override Agent
2787
2803
  * @param {string} agentId ID of the agent to update
2788
2804
  * @param {AgentUpdate} [agentUpdate]
@@ -2800,7 +2816,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
2800
2816
  */
2801
2817
  updateAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
2802
2818
  /**
2803
- * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
2819
+ * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
2804
2820
  * @summary Validate Agent Create
2805
2821
  * @param {AgentUpdate} [agentUpdate]
2806
2822
  * @param {*} [options] Override http request option.
@@ -2823,7 +2839,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
2823
2839
  */
2824
2840
  export declare const AgentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
2825
2841
  /**
2826
- * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format or agent ID already exists - 500: Database error
2842
+ * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
2827
2843
  * @summary Create Agent
2828
2844
  * @param {AgentUpdate} [agentUpdate]
2829
2845
  * @param {*} [options] Override http request option.
@@ -2864,6 +2880,14 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
2864
2880
  * @throws {RequiredError}
2865
2881
  */
2866
2882
  getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<AgentListResponse>;
2883
+ /**
2884
+ * Get last 50 skill calls for a specific agent. **Path Parameters:** * `aid` - Agent ID **Returns:** * `List[ChatMessageSkillCall]` - List of skill calls, ordered by creation time ascending **Raises:** * `404` - Agent not found
2885
+ * @summary Skill History
2886
+ * @param {string} aid Agent ID
2887
+ * @param {*} [options] Override http request option.
2888
+ * @throws {RequiredError}
2889
+ */
2890
+ getSkillHistory(aid: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ChatMessageSkillCall>>;
2867
2891
  /**
2868
2892
  * Import agent configuration from YAML file. Only updates existing agents, will not create new ones. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `file` - YAML file containing agent configuration **Returns:** * `str` - Success message **Raises:** * `HTTPException`: - 400: Invalid YAML or agent configuration - 404: Agent not found - 500: Server error
2869
2893
  * @summary Import Agent
@@ -2874,7 +2898,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
2874
2898
  */
2875
2899
  importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): AxiosPromise<string>;
2876
2900
  /**
2877
- * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
2901
+ * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
2878
2902
  * @summary Override Agent
2879
2903
  * @param {string} agentId ID of the agent to update
2880
2904
  * @param {AgentUpdate} [agentUpdate]
@@ -2892,7 +2916,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
2892
2916
  */
2893
2917
  updateAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<any>;
2894
2918
  /**
2895
- * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
2919
+ * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
2896
2920
  * @summary Validate Agent Create
2897
2921
  * @param {AgentUpdate} [agentUpdate]
2898
2922
  * @param {*} [options] Override http request option.
@@ -2917,7 +2941,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
2917
2941
  */
2918
2942
  export declare class AgentApi extends BaseAPI {
2919
2943
  /**
2920
- * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format or agent ID already exists - 500: Database error
2944
+ * Create a new agent. **Request Body:** * `agent` - Agent configuration **Returns:** * `AgentResponse` - Created agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format or agent ID already exists - 422: Invalid agent configuration from JSON schema validation - 500: Database error
2921
2945
  * @summary Create Agent
2922
2946
  * @param {AgentUpdate} [agentUpdate]
2923
2947
  * @param {*} [options] Override http request option.
@@ -2963,6 +2987,15 @@ export declare class AgentApi extends BaseAPI {
2963
2987
  * @memberof AgentApi
2964
2988
  */
2965
2989
  getAgents(sort?: AgentSortOption, cursor?: string | null, limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentListResponse, any>>;
2990
+ /**
2991
+ * Get last 50 skill calls for a specific agent. **Path Parameters:** * `aid` - Agent ID **Returns:** * `List[ChatMessageSkillCall]` - List of skill calls, ordered by creation time ascending **Raises:** * `404` - Agent not found
2992
+ * @summary Skill History
2993
+ * @param {string} aid Agent ID
2994
+ * @param {*} [options] Override http request option.
2995
+ * @throws {RequiredError}
2996
+ * @memberof AgentApi
2997
+ */
2998
+ getSkillHistory(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessageSkillCall[], any>>;
2966
2999
  /**
2967
3000
  * Import agent configuration from YAML file. Only updates existing agents, will not create new ones. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `file` - YAML file containing agent configuration **Returns:** * `str` - Success message **Raises:** * `HTTPException`: - 400: Invalid YAML or agent configuration - 404: Agent not found - 500: Server error
2968
3001
  * @summary Import Agent
@@ -2974,7 +3007,7 @@ export declare class AgentApi extends BaseAPI {
2974
3007
  */
2975
3008
  importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
2976
3009
  /**
2977
- * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 500: Database error
3010
+ * Override an existing agent. Use input to override agent configuration. If some fields are not provided, they will be reset to default values. **Path Parameters:** * `agent_id` - ID of the agent to update **Request Body:** * `agent` - Agent update configuration **Returns:** * `AgentResponse` - Updated agent configuration with additional processed data **Raises:** * `HTTPException`: - 400: Invalid agent ID format - 404: Agent not found - 403: Permission denied (if owner mismatch) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
2978
3011
  * @summary Override Agent
2979
3012
  * @param {string} agentId ID of the agent to update
2980
3013
  * @param {AgentUpdate} [agentUpdate]
@@ -2994,7 +3027,7 @@ export declare class AgentApi extends BaseAPI {
2994
3027
  */
2995
3028
  updateAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
2996
3029
  /**
2997
- * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core - 500: Server error
3030
+ * Validate agent configuration. **Request Body:** * `agent` - Agent configuration **Returns:** * `204 No Content` - Agent configuration is valid **Raises:** * `HTTPException`: - 400: Invalid agent configuration - 422: Invalid agent configuration from intentkit core or JSON schema validation - 500: Server error
2998
3031
  * @summary Validate Agent Create
2999
3032
  * @param {AgentUpdate} [agentUpdate]
3000
3033
  * @param {*} [options] Override http request option.
@@ -3052,6 +3085,14 @@ export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) =
3052
3085
  * @throws {RequiredError}
3053
3086
  */
3054
3087
  getMessageById: (messageId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3088
+ /**
3089
+ * Get last 50 skill calls for a specific agent. **Path Parameters:** * `aid` - Agent ID **Returns:** * `List[ChatMessageSkillCall]` - List of skill calls, ordered by creation time ascending **Raises:** * `404` - Agent not found
3090
+ * @summary Skill History
3091
+ * @param {string} aid Agent ID
3092
+ * @param {*} [options] Override http request option.
3093
+ * @throws {RequiredError}
3094
+ */
3095
+ getSkillHistory: (aid: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3055
3096
  /**
3056
3097
  * Retrieve all chat threads associated with a specific agent for the current user.
3057
3098
  * @summary List chat threads for an agent
@@ -3081,7 +3122,7 @@ export declare const ChatApiAxiosParamCreator: (configuration?: Configuration) =
3081
3122
  */
3082
3123
  retryMessageInChat: (aid: string, chatId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3083
3124
  /**
3084
- * Send a new message to a specific chat thread. Supports streaming responses if requested.
3125
+ * Send a new message to a specific chat thread. The response is a list of messages generated by the agent.The response not include the original user message. It could be skill calls, agent messages, or system error messages. If the stream mode is requested, the response will be HTTP2 streaming response.
3085
3126
  * @summary Send a message to a chat thread
3086
3127
  * @param {string} aid Agent ID
3087
3128
  * @param {string} chatId Chat ID
@@ -3140,6 +3181,14 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
3140
3181
  * @throws {RequiredError}
3141
3182
  */
3142
3183
  getMessageById(messageId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ChatMessage>>;
3184
+ /**
3185
+ * Get last 50 skill calls for a specific agent. **Path Parameters:** * `aid` - Agent ID **Returns:** * `List[ChatMessageSkillCall]` - List of skill calls, ordered by creation time ascending **Raises:** * `404` - Agent not found
3186
+ * @summary Skill History
3187
+ * @param {string} aid Agent ID
3188
+ * @param {*} [options] Override http request option.
3189
+ * @throws {RequiredError}
3190
+ */
3191
+ getSkillHistory(aid: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ChatMessageSkillCall>>>;
3143
3192
  /**
3144
3193
  * Retrieve all chat threads associated with a specific agent for the current user.
3145
3194
  * @summary List chat threads for an agent
@@ -3169,7 +3218,7 @@ export declare const ChatApiFp: (configuration?: Configuration) => {
3169
3218
  */
3170
3219
  retryMessageInChat(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<ChatMessage>>>;
3171
3220
  /**
3172
- * Send a new message to a specific chat thread. Supports streaming responses if requested.
3221
+ * Send a new message to a specific chat thread. The response is a list of messages generated by the agent.The response not include the original user message. It could be skill calls, agent messages, or system error messages. If the stream mode is requested, the response will be HTTP2 streaming response.
3173
3222
  * @summary Send a message to a chat thread
3174
3223
  * @param {string} aid Agent ID
3175
3224
  * @param {string} chatId Chat ID
@@ -3228,6 +3277,14 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
3228
3277
  * @throws {RequiredError}
3229
3278
  */
3230
3279
  getMessageById(messageId: string, options?: RawAxiosRequestConfig): AxiosPromise<ChatMessage>;
3280
+ /**
3281
+ * Get last 50 skill calls for a specific agent. **Path Parameters:** * `aid` - Agent ID **Returns:** * `List[ChatMessageSkillCall]` - List of skill calls, ordered by creation time ascending **Raises:** * `404` - Agent not found
3282
+ * @summary Skill History
3283
+ * @param {string} aid Agent ID
3284
+ * @param {*} [options] Override http request option.
3285
+ * @throws {RequiredError}
3286
+ */
3287
+ getSkillHistory(aid: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ChatMessageSkillCall>>;
3231
3288
  /**
3232
3289
  * Retrieve all chat threads associated with a specific agent for the current user.
3233
3290
  * @summary List chat threads for an agent
@@ -3257,7 +3314,7 @@ export declare const ChatApiFactory: (configuration?: Configuration, basePath?:
3257
3314
  */
3258
3315
  retryMessageInChat(aid: string, chatId: string, options?: RawAxiosRequestConfig): AxiosPromise<Array<ChatMessage>>;
3259
3316
  /**
3260
- * Send a new message to a specific chat thread. Supports streaming responses if requested.
3317
+ * Send a new message to a specific chat thread. The response is a list of messages generated by the agent.The response not include the original user message. It could be skill calls, agent messages, or system error messages. If the stream mode is requested, the response will be HTTP2 streaming response.
3261
3318
  * @summary Send a message to a chat thread
3262
3319
  * @param {string} aid Agent ID
3263
3320
  * @param {string} chatId Chat ID
@@ -3322,6 +3379,15 @@ export declare class ChatApi extends BaseAPI {
3322
3379
  * @memberof ChatApi
3323
3380
  */
3324
3381
  getMessageById(messageId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage, any>>;
3382
+ /**
3383
+ * Get last 50 skill calls for a specific agent. **Path Parameters:** * `aid` - Agent ID **Returns:** * `List[ChatMessageSkillCall]` - List of skill calls, ordered by creation time ascending **Raises:** * `404` - Agent not found
3384
+ * @summary Skill History
3385
+ * @param {string} aid Agent ID
3386
+ * @param {*} [options] Override http request option.
3387
+ * @throws {RequiredError}
3388
+ * @memberof ChatApi
3389
+ */
3390
+ getSkillHistory(aid: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessageSkillCall[], any>>;
3325
3391
  /**
3326
3392
  * Retrieve all chat threads associated with a specific agent for the current user.
3327
3393
  * @summary List chat threads for an agent
@@ -3354,7 +3420,7 @@ export declare class ChatApi extends BaseAPI {
3354
3420
  */
3355
3421
  retryMessageInChat(aid: string, chatId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ChatMessage[], any>>;
3356
3422
  /**
3357
- * Send a new message to a specific chat thread. Supports streaming responses if requested.
3423
+ * Send a new message to a specific chat thread. The response is a list of messages generated by the agent.The response not include the original user message. It could be skill calls, agent messages, or system error messages. If the stream mode is requested, the response will be HTTP2 streaming response.
3358
3424
  * @summary Send a message to a chat thread
3359
3425
  * @param {string} aid Agent ID
3360
3426
  * @param {string} chatId Chat ID
@@ -3607,7 +3673,7 @@ export declare const GeneratorApiAxiosParamCreator: (configuration?: Configurati
3607
3673
  * @param {*} [options] Override http request option.
3608
3674
  * @throws {RequiredError}
3609
3675
  */
3610
- generateAgentGeneratorAgentGeneratePost: (agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3676
+ generateAgent: (agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3611
3677
  /**
3612
3678
  * Get specific project conversation history. **Path Parameters:** * `project_id` - Project ID to get conversation history for **Query Parameters:** * `user_id` - Optional user ID for access validation **Returns:** * `GenerationDetailResponse` - Contains full conversation history for the project **Raises:** * `HTTPException`: - 404: Project not found or access denied - 500: Failed to retrieve generation detail
3613
3679
  * @summary Get Generation Detail by Project ID
@@ -3615,7 +3681,7 @@ export declare const GeneratorApiAxiosParamCreator: (configuration?: Configurati
3615
3681
  * @param {*} [options] Override http request option.
3616
3682
  * @throws {RequiredError}
3617
3683
  */
3618
- getGenerationDetailGeneratorAgentGenerationsProjectIdGet: (projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3684
+ getGenerationHistory: (projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3619
3685
  /**
3620
3686
  * Get all projects/generations for a user. **Query Parameters:** * `user_id` - Optional user ID to filter projects * `limit` - Maximum number of recent projects to return (default: 50, max: 100) **Returns:** * `GenerationsListResponse` - Contains list of projects with their conversation history **Raises:** * `HTTPException`: - 400: Invalid parameters - 500: Failed to retrieve generations
3621
3687
  * @summary Get Generations List by User
@@ -3623,7 +3689,7 @@ export declare const GeneratorApiAxiosParamCreator: (configuration?: Configurati
3623
3689
  * @param {*} [options] Override http request option.
3624
3690
  * @throws {RequiredError}
3625
3691
  */
3626
- getGenerationsGeneratorAgentGenerationsGet: (limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3692
+ getGenerations: (limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3627
3693
  };
3628
3694
  /**
3629
3695
  * GeneratorApi - functional programming interface
@@ -3637,7 +3703,7 @@ export declare const GeneratorApiFp: (configuration?: Configuration) => {
3637
3703
  * @param {*} [options] Override http request option.
3638
3704
  * @throws {RequiredError}
3639
3705
  */
3640
- generateAgentGeneratorAgentGeneratePost(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentGenerateResponse>>;
3706
+ generateAgent(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentGenerateResponse>>;
3641
3707
  /**
3642
3708
  * Get specific project conversation history. **Path Parameters:** * `project_id` - Project ID to get conversation history for **Query Parameters:** * `user_id` - Optional user ID for access validation **Returns:** * `GenerationDetailResponse` - Contains full conversation history for the project **Raises:** * `HTTPException`: - 404: Project not found or access denied - 500: Failed to retrieve generation detail
3643
3709
  * @summary Get Generation Detail by Project ID
@@ -3645,7 +3711,7 @@ export declare const GeneratorApiFp: (configuration?: Configuration) => {
3645
3711
  * @param {*} [options] Override http request option.
3646
3712
  * @throws {RequiredError}
3647
3713
  */
3648
- getGenerationDetailGeneratorAgentGenerationsProjectIdGet(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerationDetailResponse>>;
3714
+ getGenerationHistory(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerationDetailResponse>>;
3649
3715
  /**
3650
3716
  * Get all projects/generations for a user. **Query Parameters:** * `user_id` - Optional user ID to filter projects * `limit` - Maximum number of recent projects to return (default: 50, max: 100) **Returns:** * `GenerationsListResponse` - Contains list of projects with their conversation history **Raises:** * `HTTPException`: - 400: Invalid parameters - 500: Failed to retrieve generations
3651
3717
  * @summary Get Generations List by User
@@ -3653,7 +3719,7 @@ export declare const GeneratorApiFp: (configuration?: Configuration) => {
3653
3719
  * @param {*} [options] Override http request option.
3654
3720
  * @throws {RequiredError}
3655
3721
  */
3656
- getGenerationsGeneratorAgentGenerationsGet(limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerationsListResponse>>;
3722
+ getGenerations(limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerationsListResponse>>;
3657
3723
  };
3658
3724
  /**
3659
3725
  * GeneratorApi - factory interface
@@ -3667,7 +3733,7 @@ export declare const GeneratorApiFactory: (configuration?: Configuration, basePa
3667
3733
  * @param {*} [options] Override http request option.
3668
3734
  * @throws {RequiredError}
3669
3735
  */
3670
- generateAgentGeneratorAgentGeneratePost(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgentGenerateResponse>;
3736
+ generateAgent(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgentGenerateResponse>;
3671
3737
  /**
3672
3738
  * Get specific project conversation history. **Path Parameters:** * `project_id` - Project ID to get conversation history for **Query Parameters:** * `user_id` - Optional user ID for access validation **Returns:** * `GenerationDetailResponse` - Contains full conversation history for the project **Raises:** * `HTTPException`: - 404: Project not found or access denied - 500: Failed to retrieve generation detail
3673
3739
  * @summary Get Generation Detail by Project ID
@@ -3675,7 +3741,7 @@ export declare const GeneratorApiFactory: (configuration?: Configuration, basePa
3675
3741
  * @param {*} [options] Override http request option.
3676
3742
  * @throws {RequiredError}
3677
3743
  */
3678
- getGenerationDetailGeneratorAgentGenerationsProjectIdGet(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<GenerationDetailResponse>;
3744
+ getGenerationHistory(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<GenerationDetailResponse>;
3679
3745
  /**
3680
3746
  * Get all projects/generations for a user. **Query Parameters:** * `user_id` - Optional user ID to filter projects * `limit` - Maximum number of recent projects to return (default: 50, max: 100) **Returns:** * `GenerationsListResponse` - Contains list of projects with their conversation history **Raises:** * `HTTPException`: - 400: Invalid parameters - 500: Failed to retrieve generations
3681
3747
  * @summary Get Generations List by User
@@ -3683,7 +3749,7 @@ export declare const GeneratorApiFactory: (configuration?: Configuration, basePa
3683
3749
  * @param {*} [options] Override http request option.
3684
3750
  * @throws {RequiredError}
3685
3751
  */
3686
- getGenerationsGeneratorAgentGenerationsGet(limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<GenerationsListResponse>;
3752
+ getGenerations(limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<GenerationsListResponse>;
3687
3753
  };
3688
3754
  /**
3689
3755
  * GeneratorApi - object-oriented interface
@@ -3700,7 +3766,7 @@ export declare class GeneratorApi extends BaseAPI {
3700
3766
  * @throws {RequiredError}
3701
3767
  * @memberof GeneratorApi
3702
3768
  */
3703
- generateAgentGeneratorAgentGeneratePost(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentGenerateResponse, any>>;
3769
+ generateAgent(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentGenerateResponse, any>>;
3704
3770
  /**
3705
3771
  * Get specific project conversation history. **Path Parameters:** * `project_id` - Project ID to get conversation history for **Query Parameters:** * `user_id` - Optional user ID for access validation **Returns:** * `GenerationDetailResponse` - Contains full conversation history for the project **Raises:** * `HTTPException`: - 404: Project not found or access denied - 500: Failed to retrieve generation detail
3706
3772
  * @summary Get Generation Detail by Project ID
@@ -3709,7 +3775,7 @@ export declare class GeneratorApi extends BaseAPI {
3709
3775
  * @throws {RequiredError}
3710
3776
  * @memberof GeneratorApi
3711
3777
  */
3712
- getGenerationDetailGeneratorAgentGenerationsProjectIdGet(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationDetailResponse, any>>;
3778
+ getGenerationHistory(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationDetailResponse, any>>;
3713
3779
  /**
3714
3780
  * Get all projects/generations for a user. **Query Parameters:** * `user_id` - Optional user ID to filter projects * `limit` - Maximum number of recent projects to return (default: 50, max: 100) **Returns:** * `GenerationsListResponse` - Contains list of projects with their conversation history **Raises:** * `HTTPException`: - 400: Invalid parameters - 500: Failed to retrieve generations
3715
3781
  * @summary Get Generations List by User
@@ -3718,7 +3784,7 @@ export declare class GeneratorApi extends BaseAPI {
3718
3784
  * @throws {RequiredError}
3719
3785
  * @memberof GeneratorApi
3720
3786
  */
3721
- getGenerationsGeneratorAgentGenerationsGet(limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationsListResponse, any>>;
3787
+ getGenerations(limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationsListResponse, any>>;
3722
3788
  }
3723
3789
  /**
3724
3790
  * HealthApi - axios parameter creator
@@ -3731,7 +3797,7 @@ export declare const HealthApiAxiosParamCreator: (configuration?: Configuration)
3731
3797
  * @param {*} [options] Override http request option.
3732
3798
  * @throws {RequiredError}
3733
3799
  */
3734
- healthCheckHealthGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3800
+ healthCheck: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3735
3801
  };
3736
3802
  /**
3737
3803
  * HealthApi - functional programming interface
@@ -3744,7 +3810,7 @@ export declare const HealthApiFp: (configuration?: Configuration) => {
3744
3810
  * @param {*} [options] Override http request option.
3745
3811
  * @throws {RequiredError}
3746
3812
  */
3747
- healthCheckHealthGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
3813
+ healthCheck(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
3748
3814
  };
3749
3815
  /**
3750
3816
  * HealthApi - factory interface
@@ -3757,7 +3823,7 @@ export declare const HealthApiFactory: (configuration?: Configuration, basePath?
3757
3823
  * @param {*} [options] Override http request option.
3758
3824
  * @throws {RequiredError}
3759
3825
  */
3760
- healthCheckHealthGet(options?: RawAxiosRequestConfig): AxiosPromise<any>;
3826
+ healthCheck(options?: RawAxiosRequestConfig): AxiosPromise<any>;
3761
3827
  };
3762
3828
  /**
3763
3829
  * HealthApi - object-oriented interface
@@ -3773,7 +3839,7 @@ export declare class HealthApi extends BaseAPI {
3773
3839
  * @throws {RequiredError}
3774
3840
  * @memberof HealthApi
3775
3841
  */
3776
- healthCheckHealthGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
3842
+ healthCheck(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
3777
3843
  }
3778
3844
  /**
3779
3845
  * MetadataApi - axios parameter creator
@@ -3793,7 +3859,7 @@ export declare const MetadataApiAxiosParamCreator: (configuration?: Configuratio
3793
3859
  * @param {*} [options] Override http request option.
3794
3860
  * @throws {RequiredError}
3795
3861
  */
3796
- getLlmsMetadataLlmsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3862
+ getLlms: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3797
3863
  /**
3798
3864
  * Get the icon for a specific skill
3799
3865
  * @summary Get skill icon
@@ -3818,7 +3884,7 @@ export declare const MetadataApiAxiosParamCreator: (configuration?: Configuratio
3818
3884
  * @param {*} [options] Override http request option.
3819
3885
  * @throws {RequiredError}
3820
3886
  */
3821
- getSkillsMetadataSkillsGet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3887
+ getSkills: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3822
3888
  };
3823
3889
  /**
3824
3890
  * MetadataApi - functional programming interface
@@ -3838,7 +3904,7 @@ export declare const MetadataApiFp: (configuration?: Configuration) => {
3838
3904
  * @param {*} [options] Override http request option.
3839
3905
  * @throws {RequiredError}
3840
3906
  */
3841
- getLlmsMetadataLlmsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LLMModelInfoWithProviderName>>>;
3907
+ getLlms(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<LLMModelInfoWithProviderName>>>;
3842
3908
  /**
3843
3909
  * Get the icon for a specific skill
3844
3910
  * @summary Get skill icon
@@ -3863,7 +3929,7 @@ export declare const MetadataApiFp: (configuration?: Configuration) => {
3863
3929
  * @param {*} [options] Override http request option.
3864
3930
  * @throws {RequiredError}
3865
3931
  */
3866
- getSkillsMetadataSkillsGet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Skill>>>;
3932
+ getSkills(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<Skill>>>;
3867
3933
  };
3868
3934
  /**
3869
3935
  * MetadataApi - factory interface
@@ -3883,7 +3949,7 @@ export declare const MetadataApiFactory: (configuration?: Configuration, basePat
3883
3949
  * @param {*} [options] Override http request option.
3884
3950
  * @throws {RequiredError}
3885
3951
  */
3886
- getLlmsMetadataLlmsGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<LLMModelInfoWithProviderName>>;
3952
+ getLlms(options?: RawAxiosRequestConfig): AxiosPromise<Array<LLMModelInfoWithProviderName>>;
3887
3953
  /**
3888
3954
  * Get the icon for a specific skill
3889
3955
  * @summary Get skill icon
@@ -3908,7 +3974,7 @@ export declare const MetadataApiFactory: (configuration?: Configuration, basePat
3908
3974
  * @param {*} [options] Override http request option.
3909
3975
  * @throws {RequiredError}
3910
3976
  */
3911
- getSkillsMetadataSkillsGet(options?: RawAxiosRequestConfig): AxiosPromise<Array<Skill>>;
3977
+ getSkills(options?: RawAxiosRequestConfig): AxiosPromise<Array<Skill>>;
3912
3978
  };
3913
3979
  /**
3914
3980
  * MetadataApi - object-oriented interface
@@ -3932,7 +3998,7 @@ export declare class MetadataApi extends BaseAPI {
3932
3998
  * @throws {RequiredError}
3933
3999
  * @memberof MetadataApi
3934
4000
  */
3935
- getLlmsMetadataLlmsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LLMModelInfoWithProviderName[], any>>;
4001
+ getLlms(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<LLMModelInfoWithProviderName[], any>>;
3936
4002
  /**
3937
4003
  * Get the icon for a specific skill
3938
4004
  * @summary Get skill icon
@@ -3960,7 +4026,7 @@ export declare class MetadataApi extends BaseAPI {
3960
4026
  * @throws {RequiredError}
3961
4027
  * @memberof MetadataApi
3962
4028
  */
3963
- getSkillsMetadataSkillsGet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Skill[], any>>;
4029
+ getSkills(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Skill[], any>>;
3964
4030
  }
3965
4031
  /**
3966
4032
  * OAuthApi - axios parameter creator
@@ -3975,7 +4041,7 @@ export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration)
3975
4041
  * @param {*} [options] Override http request option.
3976
4042
  * @throws {RequiredError}
3977
4043
  */
3978
- getTwitterAuthUrlOauthTwitterGet: (agentId: string, redirectUri: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4044
+ getTwitterAuthUrl: (agentId: string, redirectUri: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3979
4045
  /**
3980
4046
  * Handle Twitter OAuth2 callback. This endpoint is called by Twitter after the user authorizes the application. It exchanges the authorization code for access and refresh tokens, then stores them in the database. **Query Parameters:** * `state` - URL-encoded state containing agent_id and redirect_uri * `code` - Authorization code from Twitter * `error` - Error message from Twitter (optional) **Returns:** * JSONResponse or RedirectResponse depending on redirect_uri
3981
4047
  * @summary Twitter Oauth Callback
@@ -3985,7 +4051,15 @@ export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration)
3985
4051
  * @param {*} [options] Override http request option.
3986
4052
  * @throws {RequiredError}
3987
4053
  */
3988
- twitterOauthCallbackOauthTwitterCallbackGet: (state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4054
+ twitterOauthCallback: (state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
4055
+ /**
4056
+ * Unlink X from an agent. **Path Parameters:** * `agent_id` - ID of the agent to unlink from X **Raises:** * `HTTPException`: - 404: Agent not found
4057
+ * @summary Unlink Twitter Endpoint
4058
+ * @param {string} agentId ID of the agent to unlink from X
4059
+ * @param {*} [options] Override http request option.
4060
+ * @throws {RequiredError}
4061
+ */
4062
+ unlinkTwitter: (agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
3989
4063
  };
3990
4064
  /**
3991
4065
  * OAuthApi - functional programming interface
@@ -4000,7 +4074,7 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
4000
4074
  * @param {*} [options] Override http request option.
4001
4075
  * @throws {RequiredError}
4002
4076
  */
4003
- getTwitterAuthUrlOauthTwitterGet(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TwitterAuthResponse>>;
4077
+ getTwitterAuthUrl(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TwitterAuthResponse>>;
4004
4078
  /**
4005
4079
  * Handle Twitter OAuth2 callback. This endpoint is called by Twitter after the user authorizes the application. It exchanges the authorization code for access and refresh tokens, then stores them in the database. **Query Parameters:** * `state` - URL-encoded state containing agent_id and redirect_uri * `code` - Authorization code from Twitter * `error` - Error message from Twitter (optional) **Returns:** * JSONResponse or RedirectResponse depending on redirect_uri
4006
4080
  * @summary Twitter Oauth Callback
@@ -4010,7 +4084,15 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
4010
4084
  * @param {*} [options] Override http request option.
4011
4085
  * @throws {RequiredError}
4012
4086
  */
4013
- twitterOauthCallbackOauthTwitterCallbackGet(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
4087
+ twitterOauthCallback(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
4088
+ /**
4089
+ * Unlink X from an agent. **Path Parameters:** * `agent_id` - ID of the agent to unlink from X **Raises:** * `HTTPException`: - 404: Agent not found
4090
+ * @summary Unlink Twitter Endpoint
4091
+ * @param {string} agentId ID of the agent to unlink from X
4092
+ * @param {*} [options] Override http request option.
4093
+ * @throws {RequiredError}
4094
+ */
4095
+ unlinkTwitter(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
4014
4096
  };
4015
4097
  /**
4016
4098
  * OAuthApi - factory interface
@@ -4025,7 +4107,7 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
4025
4107
  * @param {*} [options] Override http request option.
4026
4108
  * @throws {RequiredError}
4027
4109
  */
4028
- getTwitterAuthUrlOauthTwitterGet(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig): AxiosPromise<TwitterAuthResponse>;
4110
+ getTwitterAuthUrl(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig): AxiosPromise<TwitterAuthResponse>;
4029
4111
  /**
4030
4112
  * Handle Twitter OAuth2 callback. This endpoint is called by Twitter after the user authorizes the application. It exchanges the authorization code for access and refresh tokens, then stores them in the database. **Query Parameters:** * `state` - URL-encoded state containing agent_id and redirect_uri * `code` - Authorization code from Twitter * `error` - Error message from Twitter (optional) **Returns:** * JSONResponse or RedirectResponse depending on redirect_uri
4031
4113
  * @summary Twitter Oauth Callback
@@ -4035,7 +4117,15 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
4035
4117
  * @param {*} [options] Override http request option.
4036
4118
  * @throws {RequiredError}
4037
4119
  */
4038
- twitterOauthCallbackOauthTwitterCallbackGet(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
4120
+ twitterOauthCallback(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
4121
+ /**
4122
+ * Unlink X from an agent. **Path Parameters:** * `agent_id` - ID of the agent to unlink from X **Raises:** * `HTTPException`: - 404: Agent not found
4123
+ * @summary Unlink Twitter Endpoint
4124
+ * @param {string} agentId ID of the agent to unlink from X
4125
+ * @param {*} [options] Override http request option.
4126
+ * @throws {RequiredError}
4127
+ */
4128
+ unlinkTwitter(agentId: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
4039
4129
  };
4040
4130
  /**
4041
4131
  * OAuthApi - object-oriented interface
@@ -4053,7 +4143,7 @@ export declare class OAuthApi extends BaseAPI {
4053
4143
  * @throws {RequiredError}
4054
4144
  * @memberof OAuthApi
4055
4145
  */
4056
- getTwitterAuthUrlOauthTwitterGet(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TwitterAuthResponse, any>>;
4146
+ getTwitterAuthUrl(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TwitterAuthResponse, any>>;
4057
4147
  /**
4058
4148
  * Handle Twitter OAuth2 callback. This endpoint is called by Twitter after the user authorizes the application. It exchanges the authorization code for access and refresh tokens, then stores them in the database. **Query Parameters:** * `state` - URL-encoded state containing agent_id and redirect_uri * `code` - Authorization code from Twitter * `error` - Error message from Twitter (optional) **Returns:** * JSONResponse or RedirectResponse depending on redirect_uri
4059
4149
  * @summary Twitter Oauth Callback
@@ -4064,7 +4154,16 @@ export declare class OAuthApi extends BaseAPI {
4064
4154
  * @throws {RequiredError}
4065
4155
  * @memberof OAuthApi
4066
4156
  */
4067
- twitterOauthCallbackOauthTwitterCallbackGet(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
4157
+ twitterOauthCallback(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
4158
+ /**
4159
+ * Unlink X from an agent. **Path Parameters:** * `agent_id` - ID of the agent to unlink from X **Raises:** * `HTTPException`: - 404: Agent not found
4160
+ * @summary Unlink Twitter Endpoint
4161
+ * @param {string} agentId ID of the agent to unlink from X
4162
+ * @param {*} [options] Override http request option.
4163
+ * @throws {RequiredError}
4164
+ * @memberof OAuthApi
4165
+ */
4166
+ unlinkTwitter(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
4068
4167
  }
4069
4168
  /**
4070
4169
  * UserApi - axios parameter creator