/** * Daytona Toolbox API * Daytona Toolbox API. The base URL comes from the sandbox\'s `toolboxProxyUrl` field (returned in sandbox DTO by the main Daytona API) plus the sandbox ID: `{toolboxProxyUrl}/{sandboxId}/{endpoint}`. Default for Daytona Cloud: `https://proxy.app.daytona.io/toolbox/{sandboxId}`. * * The version of the OpenAPI document: v0.0.0-dev * * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ import type { Configuration } from '../configuration'; import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios'; import { type RequestArgs, BaseAPI } from '../base'; import type { GitAddRemoteRequest } from '../models'; import type { GitAddRequest } from '../models'; import type { GitAuthenticateRequest } from '../models'; import type { GitBranchRequest } from '../models'; import type { GitCheckoutRequest } from '../models'; import type { GitCloneRequest } from '../models'; import type { GitCommitInfo } from '../models'; import type { GitCommitRequest } from '../models'; import type { GitCommitResponse } from '../models'; import type { GitConfigResponse } from '../models'; import type { GitConfigureUserRequest } from '../models'; import type { GitDeleteBranchRequest } from '../models'; import type { GitInitRequest } from '../models'; import type { GitPullRequest } from '../models'; import type { GitPushRequest } from '../models'; import type { GitResetRequest } from '../models'; import type { GitRestoreRequest } from '../models'; import type { GitSetConfigRequest } from '../models'; import type { GitStatus } from '../models'; import type { ListBranchResponse } from '../models'; import type { ListRemotesResponse } from '../models'; /** * GitApi - axios parameter creator */ export declare const GitApiAxiosParamCreator: (configuration?: Configuration) => { /** * Add files to the Git staging area * @summary Add files to Git staging * @param {GitAddRequest} request Add files request * @param {*} [options] Override http request option. * @throws {RequiredError} */ addFiles: (request: GitAddRequest, options?: RawAxiosRequestConfig) => Promise; /** * Add (or overwrite) a remote in the Git repository * @summary Add a remote * @param {GitAddRemoteRequest} request Add remote request * @param {*} [options] Override http request option. * @throws {RequiredError} */ addRemote: (request: GitAddRemoteRequest, options?: RawAxiosRequestConfig) => Promise; /** * Persist Git credentials globally via the credential store. Stores the password in plaintext on disk. * @summary Authenticate Git * @param {GitAuthenticateRequest} request Authenticate request * @param {*} [options] Override http request option. * @throws {RequiredError} */ authenticate: (request: GitAuthenticateRequest, options?: RawAxiosRequestConfig) => Promise; /** * Switch to a different branch or commit in the Git repository * @summary Checkout branch or commit * @param {GitCheckoutRequest} request Checkout request * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkoutBranch: (request: GitCheckoutRequest, options?: RawAxiosRequestConfig) => Promise; /** * Clone a Git repository to the specified path. Defaults to strict TLS verification; set insecure_skip_tls=true to skip verification for self-signed or private-CA Git servers. * @summary Clone a Git repository * @param {GitCloneRequest} request Clone repository request * @param {*} [options] Override http request option. * @throws {RequiredError} */ cloneRepository: (request: GitCloneRequest, options?: RawAxiosRequestConfig) => Promise; /** * Commit staged changes to the Git repository * @summary Commit changes * @param {GitCommitRequest} request Commit request * @param {*} [options] Override http request option. * @throws {RequiredError} */ commitChanges: (request: GitCommitRequest, options?: RawAxiosRequestConfig) => Promise; /** * Configure the Git user name and email at the given scope * @summary Configure Git user * @param {GitConfigureUserRequest} request Configure user request * @param {*} [options] Override http request option. * @throws {RequiredError} */ configureUser: (request: GitConfigureUserRequest, options?: RawAxiosRequestConfig) => Promise; /** * Create a new branch in the Git repository * @summary Create a new branch * @param {GitBranchRequest} request Create branch request * @param {*} [options] Override http request option. * @throws {RequiredError} */ createBranch: (request: GitBranchRequest, options?: RawAxiosRequestConfig) => Promise; /** * Delete a branch from the Git repository * @summary Delete a branch * @param {GitDeleteBranchRequest} request Delete branch request * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteBranch: (request: GitDeleteBranchRequest, options?: RawAxiosRequestConfig) => Promise; /** * Get the commit history of the Git repository * @summary Get commit history * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCommitHistory: (path: string, options?: RawAxiosRequestConfig) => Promise; /** * Get a Git config value at the given scope (null when unset) * @summary Get a Git config value * @param {string} key Config key (e.g. user.name) * @param {string} [path] Repository path (required for local scope) * @param {string} [scope] Config scope: global (default), local or system * @param {*} [options] Override http request option. * @throws {RequiredError} */ getGitConfig: (key: string, path?: string, scope?: string, options?: RawAxiosRequestConfig) => Promise; /** * Get the Git status of the repository at the specified path * @summary Get Git status * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ getStatus: (path: string, options?: RawAxiosRequestConfig) => Promise; /** * Initialize a new Git repository at the specified path * @summary Initialize a Git repository * @param {GitInitRequest} request Init repository request * @param {*} [options] Override http request option. * @throws {RequiredError} */ initRepository: (request: GitInitRequest, options?: RawAxiosRequestConfig) => Promise; /** * Get a list of all branches in the Git repository * @summary List branches * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ listBranches: (path: string, options?: RawAxiosRequestConfig) => Promise; /** * List the remotes configured in the Git repository * @summary List remotes * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ listRemotes: (path: string, options?: RawAxiosRequestConfig) => Promise; /** * Pull changes from the remote Git repository * @summary Pull changes from remote * @param {GitPullRequest} request Pull request * @param {*} [options] Override http request option. * @throws {RequiredError} */ pullChanges: (request: GitPullRequest, options?: RawAxiosRequestConfig) => Promise; /** * Push local changes to the remote Git repository * @summary Push changes to remote * @param {GitPushRequest} request Push request * @param {*} [options] Override http request option. * @throws {RequiredError} */ pushChanges: (request: GitPushRequest, options?: RawAxiosRequestConfig) => Promise; /** * Reset the current HEAD to the specified state * @summary Reset repository * @param {GitResetRequest} request Reset request * @param {*} [options] Override http request option. * @throws {RequiredError} */ resetChanges: (request: GitResetRequest, options?: RawAxiosRequestConfig) => Promise; /** * Restore working tree files or unstage changes * @summary Restore files * @param {GitRestoreRequest} request Restore request * @param {*} [options] Override http request option. * @throws {RequiredError} */ restoreFiles: (request: GitRestoreRequest, options?: RawAxiosRequestConfig) => Promise; /** * Set a Git config key/value at the given scope * @summary Set a Git config value * @param {GitSetConfigRequest} request Set config request * @param {*} [options] Override http request option. * @throws {RequiredError} */ setGitConfig: (request: GitSetConfigRequest, options?: RawAxiosRequestConfig) => Promise; }; /** * GitApi - functional programming interface */ export declare const GitApiFp: (configuration?: Configuration) => { /** * Add files to the Git staging area * @summary Add files to Git staging * @param {GitAddRequest} request Add files request * @param {*} [options] Override http request option. * @throws {RequiredError} */ addFiles(request: GitAddRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Add (or overwrite) a remote in the Git repository * @summary Add a remote * @param {GitAddRemoteRequest} request Add remote request * @param {*} [options] Override http request option. * @throws {RequiredError} */ addRemote(request: GitAddRemoteRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Persist Git credentials globally via the credential store. Stores the password in plaintext on disk. * @summary Authenticate Git * @param {GitAuthenticateRequest} request Authenticate request * @param {*} [options] Override http request option. * @throws {RequiredError} */ authenticate(request: GitAuthenticateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Switch to a different branch or commit in the Git repository * @summary Checkout branch or commit * @param {GitCheckoutRequest} request Checkout request * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkoutBranch(request: GitCheckoutRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Clone a Git repository to the specified path. Defaults to strict TLS verification; set insecure_skip_tls=true to skip verification for self-signed or private-CA Git servers. * @summary Clone a Git repository * @param {GitCloneRequest} request Clone repository request * @param {*} [options] Override http request option. * @throws {RequiredError} */ cloneRepository(request: GitCloneRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Commit staged changes to the Git repository * @summary Commit changes * @param {GitCommitRequest} request Commit request * @param {*} [options] Override http request option. * @throws {RequiredError} */ commitChanges(request: GitCommitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Configure the Git user name and email at the given scope * @summary Configure Git user * @param {GitConfigureUserRequest} request Configure user request * @param {*} [options] Override http request option. * @throws {RequiredError} */ configureUser(request: GitConfigureUserRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Create a new branch in the Git repository * @summary Create a new branch * @param {GitBranchRequest} request Create branch request * @param {*} [options] Override http request option. * @throws {RequiredError} */ createBranch(request: GitBranchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Delete a branch from the Git repository * @summary Delete a branch * @param {GitDeleteBranchRequest} request Delete branch request * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteBranch(request: GitDeleteBranchRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get the commit history of the Git repository * @summary Get commit history * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCommitHistory(path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>>; /** * Get a Git config value at the given scope (null when unset) * @summary Get a Git config value * @param {string} key Config key (e.g. user.name) * @param {string} [path] Repository path (required for local scope) * @param {string} [scope] Config scope: global (default), local or system * @param {*} [options] Override http request option. * @throws {RequiredError} */ getGitConfig(key: string, path?: string, scope?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get the Git status of the repository at the specified path * @summary Get Git status * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ getStatus(path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Initialize a new Git repository at the specified path * @summary Initialize a Git repository * @param {GitInitRequest} request Init repository request * @param {*} [options] Override http request option. * @throws {RequiredError} */ initRepository(request: GitInitRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Get a list of all branches in the Git repository * @summary List branches * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ listBranches(path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * List the remotes configured in the Git repository * @summary List remotes * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ listRemotes(path: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Pull changes from the remote Git repository * @summary Pull changes from remote * @param {GitPullRequest} request Pull request * @param {*} [options] Override http request option. * @throws {RequiredError} */ pullChanges(request: GitPullRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Push local changes to the remote Git repository * @summary Push changes to remote * @param {GitPushRequest} request Push request * @param {*} [options] Override http request option. * @throws {RequiredError} */ pushChanges(request: GitPushRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Reset the current HEAD to the specified state * @summary Reset repository * @param {GitResetRequest} request Reset request * @param {*} [options] Override http request option. * @throws {RequiredError} */ resetChanges(request: GitResetRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Restore working tree files or unstage changes * @summary Restore files * @param {GitRestoreRequest} request Restore request * @param {*} [options] Override http request option. * @throws {RequiredError} */ restoreFiles(request: GitRestoreRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; /** * Set a Git config key/value at the given scope * @summary Set a Git config value * @param {GitSetConfigRequest} request Set config request * @param {*} [options] Override http request option. * @throws {RequiredError} */ setGitConfig(request: GitSetConfigRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise>; }; /** * GitApi - factory interface */ export declare const GitApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => { /** * Add files to the Git staging area * @summary Add files to Git staging * @param {GitAddRequest} request Add files request * @param {*} [options] Override http request option. * @throws {RequiredError} */ addFiles(request: GitAddRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Add (or overwrite) a remote in the Git repository * @summary Add a remote * @param {GitAddRemoteRequest} request Add remote request * @param {*} [options] Override http request option. * @throws {RequiredError} */ addRemote(request: GitAddRemoteRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Persist Git credentials globally via the credential store. Stores the password in plaintext on disk. * @summary Authenticate Git * @param {GitAuthenticateRequest} request Authenticate request * @param {*} [options] Override http request option. * @throws {RequiredError} */ authenticate(request: GitAuthenticateRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Switch to a different branch or commit in the Git repository * @summary Checkout branch or commit * @param {GitCheckoutRequest} request Checkout request * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkoutBranch(request: GitCheckoutRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Clone a Git repository to the specified path. Defaults to strict TLS verification; set insecure_skip_tls=true to skip verification for self-signed or private-CA Git servers. * @summary Clone a Git repository * @param {GitCloneRequest} request Clone repository request * @param {*} [options] Override http request option. * @throws {RequiredError} */ cloneRepository(request: GitCloneRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Commit staged changes to the Git repository * @summary Commit changes * @param {GitCommitRequest} request Commit request * @param {*} [options] Override http request option. * @throws {RequiredError} */ commitChanges(request: GitCommitRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Configure the Git user name and email at the given scope * @summary Configure Git user * @param {GitConfigureUserRequest} request Configure user request * @param {*} [options] Override http request option. * @throws {RequiredError} */ configureUser(request: GitConfigureUserRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Create a new branch in the Git repository * @summary Create a new branch * @param {GitBranchRequest} request Create branch request * @param {*} [options] Override http request option. * @throws {RequiredError} */ createBranch(request: GitBranchRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Delete a branch from the Git repository * @summary Delete a branch * @param {GitDeleteBranchRequest} request Delete branch request * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteBranch(request: GitDeleteBranchRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Get the commit history of the Git repository * @summary Get commit history * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCommitHistory(path: string, options?: RawAxiosRequestConfig): AxiosPromise>; /** * Get a Git config value at the given scope (null when unset) * @summary Get a Git config value * @param {string} key Config key (e.g. user.name) * @param {string} [path] Repository path (required for local scope) * @param {string} [scope] Config scope: global (default), local or system * @param {*} [options] Override http request option. * @throws {RequiredError} */ getGitConfig(key: string, path?: string, scope?: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Get the Git status of the repository at the specified path * @summary Get Git status * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ getStatus(path: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Initialize a new Git repository at the specified path * @summary Initialize a Git repository * @param {GitInitRequest} request Init repository request * @param {*} [options] Override http request option. * @throws {RequiredError} */ initRepository(request: GitInitRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Get a list of all branches in the Git repository * @summary List branches * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ listBranches(path: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * List the remotes configured in the Git repository * @summary List remotes * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ listRemotes(path: string, options?: RawAxiosRequestConfig): AxiosPromise; /** * Pull changes from the remote Git repository * @summary Pull changes from remote * @param {GitPullRequest} request Pull request * @param {*} [options] Override http request option. * @throws {RequiredError} */ pullChanges(request: GitPullRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Push local changes to the remote Git repository * @summary Push changes to remote * @param {GitPushRequest} request Push request * @param {*} [options] Override http request option. * @throws {RequiredError} */ pushChanges(request: GitPushRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Reset the current HEAD to the specified state * @summary Reset repository * @param {GitResetRequest} request Reset request * @param {*} [options] Override http request option. * @throws {RequiredError} */ resetChanges(request: GitResetRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Restore working tree files or unstage changes * @summary Restore files * @param {GitRestoreRequest} request Restore request * @param {*} [options] Override http request option. * @throws {RequiredError} */ restoreFiles(request: GitRestoreRequest, options?: RawAxiosRequestConfig): AxiosPromise; /** * Set a Git config key/value at the given scope * @summary Set a Git config value * @param {GitSetConfigRequest} request Set config request * @param {*} [options] Override http request option. * @throws {RequiredError} */ setGitConfig(request: GitSetConfigRequest, options?: RawAxiosRequestConfig): AxiosPromise; }; /** * GitApi - object-oriented interface */ export declare class GitApi extends BaseAPI { /** * Add files to the Git staging area * @summary Add files to Git staging * @param {GitAddRequest} request Add files request * @param {*} [options] Override http request option. * @throws {RequiredError} */ addFiles(request: GitAddRequest, options?: RawAxiosRequestConfig): Promise>; /** * Add (or overwrite) a remote in the Git repository * @summary Add a remote * @param {GitAddRemoteRequest} request Add remote request * @param {*} [options] Override http request option. * @throws {RequiredError} */ addRemote(request: GitAddRemoteRequest, options?: RawAxiosRequestConfig): Promise>; /** * Persist Git credentials globally via the credential store. Stores the password in plaintext on disk. * @summary Authenticate Git * @param {GitAuthenticateRequest} request Authenticate request * @param {*} [options] Override http request option. * @throws {RequiredError} */ authenticate(request: GitAuthenticateRequest, options?: RawAxiosRequestConfig): Promise>; /** * Switch to a different branch or commit in the Git repository * @summary Checkout branch or commit * @param {GitCheckoutRequest} request Checkout request * @param {*} [options] Override http request option. * @throws {RequiredError} */ checkoutBranch(request: GitCheckoutRequest, options?: RawAxiosRequestConfig): Promise>; /** * Clone a Git repository to the specified path. Defaults to strict TLS verification; set insecure_skip_tls=true to skip verification for self-signed or private-CA Git servers. * @summary Clone a Git repository * @param {GitCloneRequest} request Clone repository request * @param {*} [options] Override http request option. * @throws {RequiredError} */ cloneRepository(request: GitCloneRequest, options?: RawAxiosRequestConfig): Promise>; /** * Commit staged changes to the Git repository * @summary Commit changes * @param {GitCommitRequest} request Commit request * @param {*} [options] Override http request option. * @throws {RequiredError} */ commitChanges(request: GitCommitRequest, options?: RawAxiosRequestConfig): Promise>; /** * Configure the Git user name and email at the given scope * @summary Configure Git user * @param {GitConfigureUserRequest} request Configure user request * @param {*} [options] Override http request option. * @throws {RequiredError} */ configureUser(request: GitConfigureUserRequest, options?: RawAxiosRequestConfig): Promise>; /** * Create a new branch in the Git repository * @summary Create a new branch * @param {GitBranchRequest} request Create branch request * @param {*} [options] Override http request option. * @throws {RequiredError} */ createBranch(request: GitBranchRequest, options?: RawAxiosRequestConfig): Promise>; /** * Delete a branch from the Git repository * @summary Delete a branch * @param {GitDeleteBranchRequest} request Delete branch request * @param {*} [options] Override http request option. * @throws {RequiredError} */ deleteBranch(request: GitDeleteBranchRequest, options?: RawAxiosRequestConfig): Promise>; /** * Get the commit history of the Git repository * @summary Get commit history * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ getCommitHistory(path: string, options?: RawAxiosRequestConfig): Promise>; /** * Get a Git config value at the given scope (null when unset) * @summary Get a Git config value * @param {string} key Config key (e.g. user.name) * @param {string} [path] Repository path (required for local scope) * @param {string} [scope] Config scope: global (default), local or system * @param {*} [options] Override http request option. * @throws {RequiredError} */ getGitConfig(key: string, path?: string, scope?: string, options?: RawAxiosRequestConfig): Promise>; /** * Get the Git status of the repository at the specified path * @summary Get Git status * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ getStatus(path: string, options?: RawAxiosRequestConfig): Promise>; /** * Initialize a new Git repository at the specified path * @summary Initialize a Git repository * @param {GitInitRequest} request Init repository request * @param {*} [options] Override http request option. * @throws {RequiredError} */ initRepository(request: GitInitRequest, options?: RawAxiosRequestConfig): Promise>; /** * Get a list of all branches in the Git repository * @summary List branches * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ listBranches(path: string, options?: RawAxiosRequestConfig): Promise>; /** * List the remotes configured in the Git repository * @summary List remotes * @param {string} path Repository path * @param {*} [options] Override http request option. * @throws {RequiredError} */ listRemotes(path: string, options?: RawAxiosRequestConfig): Promise>; /** * Pull changes from the remote Git repository * @summary Pull changes from remote * @param {GitPullRequest} request Pull request * @param {*} [options] Override http request option. * @throws {RequiredError} */ pullChanges(request: GitPullRequest, options?: RawAxiosRequestConfig): Promise>; /** * Push local changes to the remote Git repository * @summary Push changes to remote * @param {GitPushRequest} request Push request * @param {*} [options] Override http request option. * @throws {RequiredError} */ pushChanges(request: GitPushRequest, options?: RawAxiosRequestConfig): Promise>; /** * Reset the current HEAD to the specified state * @summary Reset repository * @param {GitResetRequest} request Reset request * @param {*} [options] Override http request option. * @throws {RequiredError} */ resetChanges(request: GitResetRequest, options?: RawAxiosRequestConfig): Promise>; /** * Restore working tree files or unstage changes * @summary Restore files * @param {GitRestoreRequest} request Restore request * @param {*} [options] Override http request option. * @throws {RequiredError} */ restoreFiles(request: GitRestoreRequest, options?: RawAxiosRequestConfig): Promise>; /** * Set a Git config key/value at the given scope * @summary Set a Git config value * @param {GitSetConfigRequest} request Set config request * @param {*} [options] Override http request option. * @throws {RequiredError} */ setGitConfig(request: GitSetConfigRequest, options?: RawAxiosRequestConfig): Promise>; }