feat: add custom credential service (#4129)
Co-authored-by: Stanislav Novosad <stas@skyvern.com>
This commit is contained in:
@@ -237,6 +237,29 @@ export interface AzureClientSecretCredentialResponse {
|
||||
token: AzureOrganizationAuthToken;
|
||||
}
|
||||
|
||||
export interface CustomCredentialServiceConfig {
|
||||
api_base_url: string;
|
||||
api_token: string;
|
||||
}
|
||||
|
||||
export interface CustomCredentialServiceOrganizationAuthToken {
|
||||
id: string;
|
||||
organization_id: string;
|
||||
token: string; // JSON string containing CustomCredentialServiceConfig
|
||||
created_at: string;
|
||||
modified_at: string;
|
||||
token_type: string;
|
||||
valid: boolean;
|
||||
}
|
||||
|
||||
export interface CreateCustomCredentialServiceConfigRequest {
|
||||
config: CustomCredentialServiceConfig;
|
||||
}
|
||||
|
||||
export interface CustomCredentialServiceConfigResponse {
|
||||
token: CustomCredentialServiceOrganizationAuthToken;
|
||||
}
|
||||
|
||||
// TODO complete this
|
||||
export const ActionTypes = {
|
||||
InputText: "input_text",
|
||||
|
||||
Reference in New Issue
Block a user