@crestal/nation-sdk 0.1.30 → 0.1.31
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/README.md +8 -7
- package/api.ts +134 -58
- package/base.ts +1 -1
- package/common.ts +1 -1
- package/configuration.ts +1 -1
- package/dist/api.d.ts +66 -33
- package/dist/api.js +152 -58
- package/dist/base.d.ts +1 -1
- package/dist/base.js +1 -1
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- 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/AgentApi.md +3 -3
- package/docs/GeneratorApi.md +12 -12
- package/docs/LLMModelInfoWithProviderName.md +2 -2
- package/docs/OAuthApi.md +61 -8
- package/index.ts +1 -1
- package/package.json +1 -1
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.
|
|
5
|
+
* The version of the OpenAPI document: 0.1.31
|
|
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.
|
|
@@ -2690,7 +2690,7 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2690
2690
|
*/
|
|
2691
2691
|
importAgent: (agentId: string, file: File, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2692
2692
|
/**
|
|
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
|
|
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) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
2694
2694
|
* @summary Override Agent
|
|
2695
2695
|
* @param {string} agentId ID of the agent to update
|
|
2696
2696
|
* @param {AgentUpdate} [agentUpdate]
|
|
@@ -2708,7 +2708,7 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2708
2708
|
*/
|
|
2709
2709
|
updateAgent: (agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
2710
2710
|
/**
|
|
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
|
|
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 or JSON schema validation - 500: Server error
|
|
2712
2712
|
* @summary Validate Agent Create
|
|
2713
2713
|
* @param {AgentUpdate} [agentUpdate]
|
|
2714
2714
|
* @param {*} [options] Override http request option.
|
|
@@ -2731,7 +2731,7 @@ export declare const AgentApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
2731
2731
|
*/
|
|
2732
2732
|
export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
2733
2733
|
/**
|
|
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
|
|
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 - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
2735
2735
|
* @summary Create Agent
|
|
2736
2736
|
* @param {AgentUpdate} [agentUpdate]
|
|
2737
2737
|
* @param {*} [options] Override http request option.
|
|
@@ -2782,7 +2782,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
2782
2782
|
*/
|
|
2783
2783
|
importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
|
|
2784
2784
|
/**
|
|
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
|
|
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) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
2786
2786
|
* @summary Override Agent
|
|
2787
2787
|
* @param {string} agentId ID of the agent to update
|
|
2788
2788
|
* @param {AgentUpdate} [agentUpdate]
|
|
@@ -2800,7 +2800,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
2800
2800
|
*/
|
|
2801
2801
|
updateAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
2802
2802
|
/**
|
|
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
|
|
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 or JSON schema validation - 500: Server error
|
|
2804
2804
|
* @summary Validate Agent Create
|
|
2805
2805
|
* @param {AgentUpdate} [agentUpdate]
|
|
2806
2806
|
* @param {*} [options] Override http request option.
|
|
@@ -2823,7 +2823,7 @@ export declare const AgentApiFp: (configuration?: Configuration) => {
|
|
|
2823
2823
|
*/
|
|
2824
2824
|
export declare const AgentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
2825
2825
|
/**
|
|
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
|
|
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 - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
2827
2827
|
* @summary Create Agent
|
|
2828
2828
|
* @param {AgentUpdate} [agentUpdate]
|
|
2829
2829
|
* @param {*} [options] Override http request option.
|
|
@@ -2874,7 +2874,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2874
2874
|
*/
|
|
2875
2875
|
importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): AxiosPromise<string>;
|
|
2876
2876
|
/**
|
|
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
|
|
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) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
2878
2878
|
* @summary Override Agent
|
|
2879
2879
|
* @param {string} agentId ID of the agent to update
|
|
2880
2880
|
* @param {AgentUpdate} [agentUpdate]
|
|
@@ -2892,7 +2892,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2892
2892
|
*/
|
|
2893
2893
|
updateAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
2894
2894
|
/**
|
|
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
|
|
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 or JSON schema validation - 500: Server error
|
|
2896
2896
|
* @summary Validate Agent Create
|
|
2897
2897
|
* @param {AgentUpdate} [agentUpdate]
|
|
2898
2898
|
* @param {*} [options] Override http request option.
|
|
@@ -2917,7 +2917,7 @@ export declare const AgentApiFactory: (configuration?: Configuration, basePath?:
|
|
|
2917
2917
|
*/
|
|
2918
2918
|
export declare class AgentApi extends BaseAPI {
|
|
2919
2919
|
/**
|
|
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
|
|
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 - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
2921
2921
|
* @summary Create Agent
|
|
2922
2922
|
* @param {AgentUpdate} [agentUpdate]
|
|
2923
2923
|
* @param {*} [options] Override http request option.
|
|
@@ -2974,7 +2974,7 @@ export declare class AgentApi extends BaseAPI {
|
|
|
2974
2974
|
*/
|
|
2975
2975
|
importAgent(agentId: string, file: File, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
|
|
2976
2976
|
/**
|
|
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
|
|
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) - 422: Invalid agent configuration from JSON schema validation - 500: Database error
|
|
2978
2978
|
* @summary Override Agent
|
|
2979
2979
|
* @param {string} agentId ID of the agent to update
|
|
2980
2980
|
* @param {AgentUpdate} [agentUpdate]
|
|
@@ -2994,7 +2994,7 @@ export declare class AgentApi extends BaseAPI {
|
|
|
2994
2994
|
*/
|
|
2995
2995
|
updateAgent(agentId: string, agentUpdate?: AgentUpdate, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
2996
2996
|
/**
|
|
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
|
|
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 or JSON schema validation - 500: Server error
|
|
2998
2998
|
* @summary Validate Agent Create
|
|
2999
2999
|
* @param {AgentUpdate} [agentUpdate]
|
|
3000
3000
|
* @param {*} [options] Override http request option.
|
|
@@ -3607,7 +3607,7 @@ export declare const GeneratorApiAxiosParamCreator: (configuration?: Configurati
|
|
|
3607
3607
|
* @param {*} [options] Override http request option.
|
|
3608
3608
|
* @throws {RequiredError}
|
|
3609
3609
|
*/
|
|
3610
|
-
|
|
3610
|
+
generateAgent: (agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3611
3611
|
/**
|
|
3612
3612
|
* 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
3613
|
* @summary Get Generation Detail by Project ID
|
|
@@ -3615,7 +3615,7 @@ export declare const GeneratorApiAxiosParamCreator: (configuration?: Configurati
|
|
|
3615
3615
|
* @param {*} [options] Override http request option.
|
|
3616
3616
|
* @throws {RequiredError}
|
|
3617
3617
|
*/
|
|
3618
|
-
|
|
3618
|
+
getGenerationHistory: (projectId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3619
3619
|
/**
|
|
3620
3620
|
* 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
3621
|
* @summary Get Generations List by User
|
|
@@ -3623,7 +3623,7 @@ export declare const GeneratorApiAxiosParamCreator: (configuration?: Configurati
|
|
|
3623
3623
|
* @param {*} [options] Override http request option.
|
|
3624
3624
|
* @throws {RequiredError}
|
|
3625
3625
|
*/
|
|
3626
|
-
|
|
3626
|
+
getGenerations: (limit?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3627
3627
|
};
|
|
3628
3628
|
/**
|
|
3629
3629
|
* GeneratorApi - functional programming interface
|
|
@@ -3637,7 +3637,7 @@ export declare const GeneratorApiFp: (configuration?: Configuration) => {
|
|
|
3637
3637
|
* @param {*} [options] Override http request option.
|
|
3638
3638
|
* @throws {RequiredError}
|
|
3639
3639
|
*/
|
|
3640
|
-
|
|
3640
|
+
generateAgent(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AgentGenerateResponse>>;
|
|
3641
3641
|
/**
|
|
3642
3642
|
* 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
3643
|
* @summary Get Generation Detail by Project ID
|
|
@@ -3645,7 +3645,7 @@ export declare const GeneratorApiFp: (configuration?: Configuration) => {
|
|
|
3645
3645
|
* @param {*} [options] Override http request option.
|
|
3646
3646
|
* @throws {RequiredError}
|
|
3647
3647
|
*/
|
|
3648
|
-
|
|
3648
|
+
getGenerationHistory(projectId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerationDetailResponse>>;
|
|
3649
3649
|
/**
|
|
3650
3650
|
* 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
3651
|
* @summary Get Generations List by User
|
|
@@ -3653,7 +3653,7 @@ export declare const GeneratorApiFp: (configuration?: Configuration) => {
|
|
|
3653
3653
|
* @param {*} [options] Override http request option.
|
|
3654
3654
|
* @throws {RequiredError}
|
|
3655
3655
|
*/
|
|
3656
|
-
|
|
3656
|
+
getGenerations(limit?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GenerationsListResponse>>;
|
|
3657
3657
|
};
|
|
3658
3658
|
/**
|
|
3659
3659
|
* GeneratorApi - factory interface
|
|
@@ -3667,7 +3667,7 @@ export declare const GeneratorApiFactory: (configuration?: Configuration, basePa
|
|
|
3667
3667
|
* @param {*} [options] Override http request option.
|
|
3668
3668
|
* @throws {RequiredError}
|
|
3669
3669
|
*/
|
|
3670
|
-
|
|
3670
|
+
generateAgent(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig): AxiosPromise<AgentGenerateResponse>;
|
|
3671
3671
|
/**
|
|
3672
3672
|
* 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
3673
|
* @summary Get Generation Detail by Project ID
|
|
@@ -3675,7 +3675,7 @@ export declare const GeneratorApiFactory: (configuration?: Configuration, basePa
|
|
|
3675
3675
|
* @param {*} [options] Override http request option.
|
|
3676
3676
|
* @throws {RequiredError}
|
|
3677
3677
|
*/
|
|
3678
|
-
|
|
3678
|
+
getGenerationHistory(projectId: string, options?: RawAxiosRequestConfig): AxiosPromise<GenerationDetailResponse>;
|
|
3679
3679
|
/**
|
|
3680
3680
|
* 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
3681
|
* @summary Get Generations List by User
|
|
@@ -3683,7 +3683,7 @@ export declare const GeneratorApiFactory: (configuration?: Configuration, basePa
|
|
|
3683
3683
|
* @param {*} [options] Override http request option.
|
|
3684
3684
|
* @throws {RequiredError}
|
|
3685
3685
|
*/
|
|
3686
|
-
|
|
3686
|
+
getGenerations(limit?: number, options?: RawAxiosRequestConfig): AxiosPromise<GenerationsListResponse>;
|
|
3687
3687
|
};
|
|
3688
3688
|
/**
|
|
3689
3689
|
* GeneratorApi - object-oriented interface
|
|
@@ -3700,7 +3700,7 @@ export declare class GeneratorApi extends BaseAPI {
|
|
|
3700
3700
|
* @throws {RequiredError}
|
|
3701
3701
|
* @memberof GeneratorApi
|
|
3702
3702
|
*/
|
|
3703
|
-
|
|
3703
|
+
generateAgent(agentGenerateRequest: AgentGenerateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<AgentGenerateResponse, any>>;
|
|
3704
3704
|
/**
|
|
3705
3705
|
* 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
3706
|
* @summary Get Generation Detail by Project ID
|
|
@@ -3709,7 +3709,7 @@ export declare class GeneratorApi extends BaseAPI {
|
|
|
3709
3709
|
* @throws {RequiredError}
|
|
3710
3710
|
* @memberof GeneratorApi
|
|
3711
3711
|
*/
|
|
3712
|
-
|
|
3712
|
+
getGenerationHistory(projectId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationDetailResponse, any>>;
|
|
3713
3713
|
/**
|
|
3714
3714
|
* 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
3715
|
* @summary Get Generations List by User
|
|
@@ -3718,7 +3718,7 @@ export declare class GeneratorApi extends BaseAPI {
|
|
|
3718
3718
|
* @throws {RequiredError}
|
|
3719
3719
|
* @memberof GeneratorApi
|
|
3720
3720
|
*/
|
|
3721
|
-
|
|
3721
|
+
getGenerations(limit?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<GenerationsListResponse, any>>;
|
|
3722
3722
|
}
|
|
3723
3723
|
/**
|
|
3724
3724
|
* HealthApi - axios parameter creator
|
|
@@ -3975,7 +3975,7 @@ export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3975
3975
|
* @param {*} [options] Override http request option.
|
|
3976
3976
|
* @throws {RequiredError}
|
|
3977
3977
|
*/
|
|
3978
|
-
|
|
3978
|
+
getTwitterAuthUrl: (agentId: string, redirectUri: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3979
3979
|
/**
|
|
3980
3980
|
* 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
3981
|
* @summary Twitter Oauth Callback
|
|
@@ -3985,7 +3985,15 @@ export declare const OAuthApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
3985
3985
|
* @param {*} [options] Override http request option.
|
|
3986
3986
|
* @throws {RequiredError}
|
|
3987
3987
|
*/
|
|
3988
|
-
|
|
3988
|
+
twitterOauthCallback: (state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3989
|
+
/**
|
|
3990
|
+
* Unlink X from an agent. **Path Parameters:** * `agent_id` - ID of the agent to unlink from X **Raises:** * `HTTPException`: - 404: Agent not found
|
|
3991
|
+
* @summary Unlink Twitter Endpoint
|
|
3992
|
+
* @param {string} agentId ID of the agent to unlink from X
|
|
3993
|
+
* @param {*} [options] Override http request option.
|
|
3994
|
+
* @throws {RequiredError}
|
|
3995
|
+
*/
|
|
3996
|
+
unlinkTwitter: (agentId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
3989
3997
|
};
|
|
3990
3998
|
/**
|
|
3991
3999
|
* OAuthApi - functional programming interface
|
|
@@ -4000,7 +4008,7 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
|
|
|
4000
4008
|
* @param {*} [options] Override http request option.
|
|
4001
4009
|
* @throws {RequiredError}
|
|
4002
4010
|
*/
|
|
4003
|
-
|
|
4011
|
+
getTwitterAuthUrl(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TwitterAuthResponse>>;
|
|
4004
4012
|
/**
|
|
4005
4013
|
* 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
4014
|
* @summary Twitter Oauth Callback
|
|
@@ -4010,7 +4018,15 @@ export declare const OAuthApiFp: (configuration?: Configuration) => {
|
|
|
4010
4018
|
* @param {*} [options] Override http request option.
|
|
4011
4019
|
* @throws {RequiredError}
|
|
4012
4020
|
*/
|
|
4013
|
-
|
|
4021
|
+
twitterOauthCallback(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<any>>;
|
|
4022
|
+
/**
|
|
4023
|
+
* Unlink X from an agent. **Path Parameters:** * `agent_id` - ID of the agent to unlink from X **Raises:** * `HTTPException`: - 404: Agent not found
|
|
4024
|
+
* @summary Unlink Twitter Endpoint
|
|
4025
|
+
* @param {string} agentId ID of the agent to unlink from X
|
|
4026
|
+
* @param {*} [options] Override http request option.
|
|
4027
|
+
* @throws {RequiredError}
|
|
4028
|
+
*/
|
|
4029
|
+
unlinkTwitter(agentId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
4014
4030
|
};
|
|
4015
4031
|
/**
|
|
4016
4032
|
* OAuthApi - factory interface
|
|
@@ -4025,7 +4041,7 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4025
4041
|
* @param {*} [options] Override http request option.
|
|
4026
4042
|
* @throws {RequiredError}
|
|
4027
4043
|
*/
|
|
4028
|
-
|
|
4044
|
+
getTwitterAuthUrl(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig): AxiosPromise<TwitterAuthResponse>;
|
|
4029
4045
|
/**
|
|
4030
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
|
|
4031
4047
|
* @summary Twitter Oauth Callback
|
|
@@ -4035,7 +4051,15 @@ export declare const OAuthApiFactory: (configuration?: Configuration, basePath?:
|
|
|
4035
4051
|
* @param {*} [options] Override http request option.
|
|
4036
4052
|
* @throws {RequiredError}
|
|
4037
4053
|
*/
|
|
4038
|
-
|
|
4054
|
+
twitterOauthCallback(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): AxiosPromise<any>;
|
|
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): AxiosPromise<void>;
|
|
4039
4063
|
};
|
|
4040
4064
|
/**
|
|
4041
4065
|
* OAuthApi - object-oriented interface
|
|
@@ -4053,7 +4077,7 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
4053
4077
|
* @throws {RequiredError}
|
|
4054
4078
|
* @memberof OAuthApi
|
|
4055
4079
|
*/
|
|
4056
|
-
|
|
4080
|
+
getTwitterAuthUrl(agentId: string, redirectUri: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<TwitterAuthResponse, any>>;
|
|
4057
4081
|
/**
|
|
4058
4082
|
* 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
4083
|
* @summary Twitter Oauth Callback
|
|
@@ -4064,7 +4088,16 @@ export declare class OAuthApi extends BaseAPI {
|
|
|
4064
4088
|
* @throws {RequiredError}
|
|
4065
4089
|
* @memberof OAuthApi
|
|
4066
4090
|
*/
|
|
4067
|
-
|
|
4091
|
+
twitterOauthCallback(state: string, code?: string | null, error?: string | null, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<any, any>>;
|
|
4092
|
+
/**
|
|
4093
|
+
* Unlink X from an agent. **Path Parameters:** * `agent_id` - ID of the agent to unlink from X **Raises:** * `HTTPException`: - 404: Agent not found
|
|
4094
|
+
* @summary Unlink Twitter Endpoint
|
|
4095
|
+
* @param {string} agentId ID of the agent to unlink from X
|
|
4096
|
+
* @param {*} [options] Override http request option.
|
|
4097
|
+
* @throws {RequiredError}
|
|
4098
|
+
* @memberof OAuthApi
|
|
4099
|
+
*/
|
|
4100
|
+
unlinkTwitter(agentId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
|
|
4068
4101
|
}
|
|
4069
4102
|
/**
|
|
4070
4103
|
* UserApi - axios parameter creator
|