@coderabbitai/bitbucket
    Preparing search index...

    Class BitbucketCloudClient

    Index

    Constructors

    Properties

    Methods

    bulkCreateOrUpdateAnnotations createDeploymentVariable createEnvironment createOrUpdateAnnotation createOrUpdateReport createPipelineForRepository createPipelineVariableForTeam createPipelineVariableForUser createPipelineVariableForWorkspace createRepositoryPipelineKnownHost createRepositoryPipelineSchedule createRepositoryPipelineVariable createRepositoryRunner createWorkspaceRunner deleteAnnotation deleteCommitHostedPropertyValue deleteDeploymentVariable deleteEnvironmentForRepository deletePipelineVariableForTeam deletePipelineVariableForUser deletePipelineVariableForWorkspace deletePullRequestHostedPropertyValue deleteReport deleteRepositoryHostedPropertyValue deleteRepositoryPipelineCache deleteRepositoryPipelineCaches deleteRepositoryPipelineKeyPair deleteRepositoryPipelineKnownHost deleteRepositoryPipelineSchedule deleteRepositoryPipelineVariable deleteRepositoryRunner deleteUserHostedPropertyValue deleteWorkspaceRunner getAnnotation getAnnotationsForReport getCommitHostedPropertyValue getDeploymentForRepository getDeploymentsForRepository getDeploymentVariables getEnvironmentForRepository getEnvironmentsForRepository getOIDCConfiguration getOIDCKeys getPipelineContainerLog getPipelineForRepository getPipelinesForRepository getPipelineStepForRepository getPipelineStepLogForRepository getPipelineStepsForRepository getPipelineTestReports getPipelineTestReportTestCaseReasons getPipelineTestReportTestCases getPipelineVariableForTeam getPipelineVariableForUser getPipelineVariableForWorkspace getPipelineVariablesForTeam getPipelineVariablesForUser getPipelineVariablesForWorkspace getPullRequestHostedPropertyValue getPullrequestsForCommit getReport getReportsForCommit getRepositoryHostedPropertyValue getRepositoryPipelineCacheContentURI getRepositoryPipelineCaches getRepositoryPipelineConfig getRepositoryPipelineKnownHost getRepositoryPipelineKnownHosts getRepositoryPipelineSchedule getRepositoryPipelineScheduleExecutions getRepositoryPipelineSchedules getRepositoryPipelineSshKeyPair getRepositoryPipelineVariable getRepositoryPipelineVariables getRepositoryRunner getRepositoryRunners getWorkspaceRunner getWorkspaceRunners retrieveUserHostedPropertyValue searchAccount searchTeam searchWorkspace stopPipeline updateCommitHostedPropertyValue updateDeploymentVariable updateEnvironmentForRepository updatePipelineVariableForTeam updatePipelineVariableForUser updatePipelineVariableForWorkspace updatePullRequestHostedPropertyValue updateRepositoryBuildNumber updateRepositoryHostedPropertyValue updateRepositoryPipelineConfig updateRepositoryPipelineKeyPair updateRepositoryPipelineKnownHost updateRepositoryPipelineSchedule updateRepositoryPipelineVariable updateRepositoryRunner updateUserHostedPropertyValue updateWorkspaceRunner

    Constructors

    Properties

    openapi: Client<OpenApi.paths, "application/json">

    Methods

    • Bulk create or update annotations

      Bulk upload of annotations. Annotations are individual findings that have been identified as part of a report, for example, a line of code that represents a vulnerability. These annotations can be attached to a specific file and even a specific line in that file, however, that is optional. Annotations are not mandatory and a report can contain up to 1000 annotations.

      Add the annotations you want to upload as objects in a JSON array and make sure each annotation has the external_id field set to a unique value. If you want to use an existing id from your own system, we recommend prefixing it with your system's name to avoid collisions, for example, mySystem-annotation001. The external id can later be used to identify the report as an alternative to the generated UUID. You can upload up to 100 annotations per POST request.

      curl --location 'https://api.bitbucket.org/2.0/repositories/<username>/<reposity-name>/commit/<commit-hash>/reports/mysystem-001/annotations' \
      --header 'Content-Type: application/json' \
      --data-raw '[
      {
      "external_id": "mysystem-annotation001",
      "title": "Security scan report",
      "annotation_type": "VULNERABILITY",
      "summary": "This line represents a security threat.",
      "severity": "HIGH",
      "path": "my-service/src/main/java/com/myCompany/mysystem/logic/Main.java",
      "line": 42
      },
      {
      "external_id": "mySystem-annotation002",
      "title": "Bug report",
      "annotation_type": "BUG",
      "result": "FAILED",
      "summary": "This line might introduce a bug.",
      "severity": "MEDIUM",
      "path": "my-service/src/main/java/com/myCompany/mysystem/logic/Helper.java",
      "line": 13
      }
      ]'

      annotation_type: VULNERABILITY, CODE_SMELL, BUG result: PASSED, FAILED, IGNORED, SKIPPED severity: HIGH, MEDIUM, LOW, CRITICAL

      Please refer to the Code Insights documentation for more information.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        commit: string;
                        repo_slug: string;
                        reportId: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & {
                body: {
                    "[iterator]": {} & {};
                    "[unscopables]": {
                        "[iterator]"?: boolean;
                        "[unscopables]"?: boolean;
                        at?: boolean;
                        concat?: boolean;
                        entries?: boolean;
                        every?: boolean;
                        filter?: boolean;
                        find?: boolean;
                        findIndex?: boolean;
                        findLast?: boolean;
                        findLastIndex?: boolean;
                        flat?: boolean;
                        flatMap?: boolean;
                        forEach?: boolean;
                        includes?: boolean;
                        indexOf?: boolean;
                        join?: boolean;
                        keys?: boolean;
                        lastIndexOf?: boolean;
                        length?: boolean;
                        map?: boolean;
                        reduce?: boolean;
                        reduceRight?: boolean;
                        slice?: boolean;
                        some?: boolean;
                        toLocaleString?: boolean;
                        toReversed?: boolean;
                        toSorted?: boolean;
                        toSpliced?: boolean;
                        toString?: boolean;
                        values?: boolean;
                        with?: boolean;
                        readonly [key: number]: boolean
                        | undefined;
                    } & {};
                    at: {} & {};
                    concat: {} & {};
                    entries: {} & {};
                    every: {} & {};
                    filter: {} & {};
                    find: {} & {};
                    findIndex: {} & {};
                    findLast: {} & {};
                    findLastIndex: {} & {};
                    flat: {} & {};
                    flatMap: {} & {};
                    forEach: {} & {};
                    includes: {} & {};
                    indexOf: {} & {};
                    join: {} & {};
                    keys: {} & {};
                    lastIndexOf: {} & {};
                    length: number;
                    map: {} & {};
                    reduce: {} & {};
                    reduceRight: {} & {};
                    slice: {} & {};
                    some: {} & {};
                    toLocaleString: {} & {};
                    toReversed: {} & {};
                    toSorted: {} & {};
                    toSpliced: {} & {};
                    toString: {} & {};
                    values: {} & {};
                    with: {} & {};
                    readonly [key: number]: {
                        annotation_type?: "BUG"
                        | "CODE_SMELL"
                        | "VULNERABILITY";
                        created_on?: string;
                        details?: string;
                        external_id?: string;
                        line?: number;
                        link?: string;
                        path?: string;
                        result?: "FAILED" | "PASSED" | "IGNORED" | "SKIPPED";
                        severity?: "CRITICAL" | "HIGH" | "LOW" | "MEDIUM";
                        summary?: string;
                        type: "report_annotation";
                        updated_on?: string;
                        uuid?: string;
                        readonly [key: string]: unknown;
                    } & {};
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                commit: string;
                                repo_slug: string;
                                reportId: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": readonly (
                                    { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                        annotation_type?: ...;
                                        created_on?: ...;
                                        details?: ...;
                                        external_id?: ...;
                                        line?: ...;
                                        link?: ...;
                                        path?: ...;
                                        result?: ...;
                                        severity?: ...;
                                        summary?: ...;
                                        updated_on?: ...;
                                        uuid?: ...;
                                    }
                                )[];
                            };
                        };
                        responses: {
                            "200": {
                                content: {
                                    "application/json": readonly ((...) & (...) & (...) & (...))[];
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    commit: string;
                                    repo_slug: string;
                                    reportId: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": readonly (
                                        { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                            annotation_type?: ...;
                                            created_on?: ...;
                                            details?: ...;
                                            external_id?: ...;
                                            line?: ...;
                                            link?: ...;
                                            path?: ...;
                                            result?: ...;
                                            severity?: ...;
                                            summary?: ...;
                                            updated_on?: ...;
                                            uuid?: ...;
                                        }
                                    )[];
                                };
                            };
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": readonly ((...) & (...) & (...) & (...))[];
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          commit: string;
                          repo_slug: string;
                          reportId: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": readonly (
                              { type: "report_annotation" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  annotation_type?: "BUG" | "CODE_SMELL" | "VULNERABILITY";
                                  created_on?: string;
                                  details?: string;
                                  external_id?: string;
                                  line?: number;
                                  link?: string;
                                  path?: string;
                                  result?: "FAILED" | "PASSED" | "IGNORED" | "SKIPPED";
                                  severity?: "CRITICAL" | "HIGH" | "LOW" | "MEDIUM";
                                  summary?: string;
                                  updated_on?: string;
                                  uuid?: string;
                              }
                          )[];
                      };
                  };
                  responses: {
                      "200": {
                          content: {
                              "application/json": readonly (
                                  { type: "report_annotation" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      annotation_type?: "BUG" | "CODE_SMELL" | "VULNERABILITY";
                                      created_on?: string;
                                      details?: string;
                                      external_id?: string;
                                      line?: number;
                                      link?: string;
                                      path?: string;
                                      result?: "FAILED" | "PASSED" | "IGNORED" | "SKIPPED";
                                      severity?: "CRITICAL" | "HIGH" | "LOW" | "MEDIUM";
                                      summary?: string;
                                      updated_on?: string;
                                      uuid?: string;
                                  }
                              )[];
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              commit: string;
                              repo_slug: string;
                              reportId: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": readonly (
                                  { type: "report_annotation" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      annotation_type?: "BUG" | "CODE_SMELL" | "VULNERABILITY";
                                      created_on?: string;
                                      details?: string;
                                      external_id?: string;
                                      line?: number;
                                      link?: string;
                                      path?: string;
                                      result?: "FAILED" | "PASSED" | "IGNORED" | "SKIPPED";
                                      severity?: "CRITICAL" | "HIGH" | "LOW" | "MEDIUM";
                                      summary?: string;
                                      updated_on?: string;
                                      uuid?: string;
                                  }
                              )[];
                          };
                      };
                      responses: {
                          "200": {
                              content: {
                                  "application/json": readonly (
                                      { type: "report_annotation" } & Omit<(...) & (...), "type"> & Readonly<
                                          Record<(...), (...)>,
                                      > & {
                                          annotation_type?: (...) | (...) | (...) | (...);
                                          created_on?: (...) | (...);
                                          details?: (...) | (...);
                                          external_id?: (...) | (...);
                                          line?: (...) | (...);
                                          link?: (...) | (...);
                                          path?: (...) | (...);
                                          result?: (...) | (...) | (...) | (...) | (...);
                                          severity?: (...) | (...) | (...) | (...) | (...);
                                          summary?: (...) | (...);
                                          updated_on?: (...) | (...);
                                          uuid?: (...) | (...);
                                      }
                                  )[];
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Create a variable for an environment

      Create a deployment environment level variable.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { environment_uuid: string; repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & {
                body: {
                    key?: string;
                    secured?: boolean;
                    type: "deployment_variable";
                    uuid?: string;
                    value?: string;
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                environment_uuid: string;
                                repo_slug: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "deployment_variable" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    key?: (...) | (...);
                                    secured?: (...) | (...) | (...);
                                    uuid?: (...) | (...);
                                    value?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "201": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                                headers: { Location?: string; readonly [name: string]: unknown };
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "409": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    environment_uuid: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "deployment_variable" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        key?: (...) | (...);
                                        secured?: (...) | (...) | (...);
                                        uuid?: (...) | (...);
                                        value?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "201": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                    };
                                    headers: { Location?: string; readonly [name: string]: unknown };
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "409": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { environment_uuid: string; repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "deployment_variable" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              key?: string;
                              secured?: boolean;
                              uuid?: string;
                              value?: string;
                          };
                      };
                  };
                  responses: {
                      "201": {
                          content: {
                              "application/json": { type: "deployment_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                          headers: { Location?: string; readonly [name: string]: unknown };
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "409": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              environment_uuid: string;
                              repo_slug: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "deployment_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                      };
                      responses: {
                          "201": {
                              content: {
                                  "application/json": { type: "deployment_variable" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      key?: string;
                                      secured?: boolean;
                                      uuid?: string;
                                      value?: string;
                                  };
                              };
                              headers: { Location?: string; readonly [name: string]: unknown };
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "409": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Create an environment

      Create an environment.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & {
                body: {
                    name?: string;
                    type: "deployment_environment";
                    uuid?: string;
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "deployment_environment" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    name?: (...) | (...);
                                    uuid?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "201": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { name?: ...; uuid?: ... };
                                };
                                headers: { Location?: string; readonly [name: string]: unknown };
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "409": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "deployment_environment" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        name?: (...) | (...);
                                        uuid?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "201": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { name?: ...; uuid?: ... };
                                    };
                                    headers: { Location?: string; readonly [name: string]: unknown };
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "409": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "deployment_environment" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              name?: string;
                              uuid?: string;
                          };
                      };
                  };
                  responses: {
                      "201": {
                          content: {
                              "application/json": { type: "deployment_environment" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  name?: string;
                                  uuid?: string;
                              };
                          };
                          headers: { Location?: string; readonly [name: string]: unknown };
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "409": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "deployment_environment" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  name?: string;
                                  uuid?: string;
                              };
                          };
                      };
                      responses: {
                          "201": {
                              content: {
                                  "application/json": { type: "deployment_environment" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      name?: string;
                                      uuid?: string;
                                  };
                              };
                              headers: { Location?: string; readonly [name: string]: unknown };
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "409": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Create or update an annotation

      Creates or updates an individual annotation for the specified report. Annotations are individual findings that have been identified as part of a report, for example, a line of code that represents a vulnerability. These annotations can be attached to a specific file and even a specific line in that file, however, that is optional. Annotations are not mandatory and a report can contain up to 1000 annotations.

      Just as reports, annotation needs to be uploaded with a unique ID that can later be used to identify the report as an alternative to the generated UUID. If you want to use an existing id from your own system, we recommend prefixing it with your system's name to avoid collisions, for example, mySystem-annotation001.

      curl --request PUT 'https://api.bitbucket.org/2.0/repositories/<username>/<reposity-name>/commit/<commit-hash>/reports/mySystem-001/annotations/mysystem-annotation001' \
      --header 'Content-Type: application/json' \
      --data-raw '{
      "title": "Security scan report",
      "annotation_type": "VULNERABILITY",
      "summary": "This line represents a security thread.",
      "severity": "HIGH",
      "path": "my-service/src/main/java/com/myCompany/mysystem/logic/Main.java",
      "line": 42
      }'

      annotation_type: VULNERABILITY, CODE_SMELL, BUG result: PASSED, FAILED, IGNORED, SKIPPED severity: HIGH, MEDIUM, LOW, CRITICAL

      Please refer to the Code Insights documentation for more information.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        annotationId: string;
                        commit: string;
                        repo_slug: string;
                        reportId: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & {
                body: {
                    annotation_type?: "BUG"
                    | "CODE_SMELL"
                    | "VULNERABILITY";
                    created_on?: string;
                    details?: string;
                    external_id?: string;
                    line?: number;
                    link?: string;
                    path?: string;
                    result?: "FAILED" | "PASSED" | "IGNORED" | "SKIPPED";
                    severity?: "CRITICAL" | "HIGH" | "LOW" | "MEDIUM";
                    summary?: string;
                    type: "report_annotation";
                    updated_on?: string;
                    uuid?: string;
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                annotationId: string;
                                commit: string;
                                repo_slug: string;
                                reportId: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "report_annotation" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    annotation_type?: (...) | (...) | (...) | (...);
                                    created_on?: (...) | (...);
                                    details?: (...) | (...);
                                    external_id?: (...) | (...);
                                    line?: (...) | (...);
                                    link?: (...) | (...);
                                    path?: (...) | (...);
                                    result?: (...) | (...) | (...) | (...) | (...);
                                    severity?: (...) | (...) | (...) | (...) | (...);
                                    summary?: (...) | (...);
                                    updated_on?: (...) | (...);
                                    uuid?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        annotation_type?: ...;
                                        created_on?: ...;
                                        details?: ...;
                                        external_id?: ...;
                                        line?: ...;
                                        link?: ...;
                                        path?: ...;
                                        result?: ...;
                                        severity?: ...;
                                        summary?: ...;
                                        updated_on?: ...;
                                        uuid?: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "400": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    annotationId: string;
                                    commit: string;
                                    repo_slug: string;
                                    reportId: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "report_annotation" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        annotation_type?: (...) | (...) | (...) | (...);
                                        created_on?: (...) | (...);
                                        details?: (...) | (...);
                                        external_id?: (...) | (...);
                                        line?: (...) | (...);
                                        link?: (...) | (...);
                                        path?: (...) | (...);
                                        result?: (...) | (...) | (...) | (...) | (...);
                                        severity?: (...) | (...) | (...) | (...) | (...);
                                        summary?: (...) | (...);
                                        updated_on?: (...) | (...);
                                        uuid?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            annotation_type?: ...;
                                            created_on?: ...;
                                            details?: ...;
                                            external_id?: ...;
                                            line?: ...;
                                            link?: ...;
                                            path?: ...;
                                            result?: ...;
                                            severity?: ...;
                                            summary?: ...;
                                            updated_on?: ...;
                                            uuid?: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "400": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          annotationId: string;
                          commit: string;
                          repo_slug: string;
                          reportId: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "report_annotation" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              annotation_type?: "BUG" | "CODE_SMELL" | "VULNERABILITY";
                              created_on?: string;
                              details?: string;
                              external_id?: string;
                              line?: number;
                              link?: string;
                              path?: string;
                              result?: "FAILED" | "PASSED" | "IGNORED" | "SKIPPED";
                              severity?: "CRITICAL" | "HIGH" | "LOW" | "MEDIUM";
                              summary?: string;
                              updated_on?: string;
                              uuid?: string;
                          };
                      };
                  };
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "report_annotation" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  annotation_type?: "BUG" | "CODE_SMELL" | "VULNERABILITY";
                                  created_on?: string;
                                  details?: string;
                                  external_id?: string;
                                  line?: number;
                                  link?: string;
                                  path?: string;
                                  result?: "FAILED" | "PASSED" | "IGNORED" | "SKIPPED";
                                  severity?: "CRITICAL" | "HIGH" | "LOW" | "MEDIUM";
                                  summary?: string;
                                  updated_on?: string;
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "400": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              annotationId: string;
                              commit: string;
                              repo_slug: string;
                              reportId: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "report_annotation" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  annotation_type?: "BUG" | "CODE_SMELL" | "VULNERABILITY";
                                  created_on?: string;
                                  details?: string;
                                  external_id?: string;
                                  line?: number;
                                  link?: string;
                                  path?: string;
                                  result?: "FAILED" | "PASSED" | "IGNORED" | "SKIPPED";
                                  severity?: "CRITICAL" | "HIGH" | "LOW" | "MEDIUM";
                                  summary?: string;
                                  updated_on?: string;
                                  uuid?: string;
                              };
                          };
                      };
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "report_annotation" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      annotation_type?: "BUG" | "CODE_SMELL" | "VULNERABILITY";
                                      created_on?: string;
                                      details?: string;
                                      external_id?: string;
                                      line?: number;
                                      link?: string;
                                      path?: string;
                                      result?: "FAILED" | "PASSED" | "IGNORED" | "SKIPPED";
                                      severity?: "CRITICAL" | "HIGH" | "LOW" | "MEDIUM";
                                      summary?: string;
                                      updated_on?: string;
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "400": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Create or update a report

      Creates or updates a report for the specified commit. To upload a report, make sure to generate an ID that is unique across all reports for that commit. If you want to use an existing id from your own system, we recommend prefixing it with your system's name to avoid collisions, for example, mySystem-001.

      curl --request PUT 'https://api.bitbucket.org/2.0/repositories/<username>/<reposity-name>/commit/<commit-hash>/reports/mysystem-001' \
      --header 'Content-Type: application/json' \
      --data-raw '{
      "title": "Security scan report",
      "details": "This pull request introduces 10 new dependency vulnerabilities.",
      "report_type": "SECURITY",
      "reporter": "mySystem",
      "link": "http://www.mysystem.com/reports/001",
      "result": "FAILED",
      "data": [
      {
      "title": "Duration (seconds)",
      "type": "DURATION",
      "value": 14
      },
      {
      "title": "Safe to merge?",
      "type": "BOOLEAN",
      "value": false
      }
      ]
      }'

      report_type: SECURITY, COVERAGE, TEST, BUG result: PASSED, FAILED, PENDING data.type: BOOLEAN, DATE, DURATION, LINK, NUMBER, PERCENTAGE, TEXT

      Type Field Value Field Type Value Field Display
      None/ Omitted Number, String or Boolean (not an array or object) Plain text
      BOOLEAN Boolean The value will be read as a JSON boolean and displayed as 'Yes' or 'No'.
      DATE Number The value will be read as a JSON number in the form of a Unix timestamp (milliseconds) and will be displayed as a relative date if the date is less than one week ago, otherwise it will be displayed as an absolute date.
      DURATION Number The value will be read as a JSON number in milliseconds and will be displayed in a human readable duration format.
      LINK Object: {"text": "Link text here", "href": "https://link.to.annotation/in/external/tool"} The value will be read as a JSON object containing the fields "text" and "href" and will be displayed as a clickable link on the report.
      NUMBER Number The value will be read as a JSON number and large numbers will be displayed in a human readable format (e.g. 14.3k).
      PERCENTAGE Number (between 0 and 100) The value will be read as a JSON number between 0 and 100 and will be displayed with a percentage sign.
      TEXT String The value will be read as a JSON string and will be displayed as-is

      Please refer to the Code Insights documentation for more information.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        commit: string;
                        repo_slug: string;
                        reportId: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & {
                body: {
                    created_on?: string;
                    data?: {
                        "[iterator]": {} & {};
                        "[unscopables]": {
                            "[iterator]"?: (...)
                            | (...)
                            | (...);
                            "[unscopables]"?: (...) | (...) | (...);
                            at?: (...) | (...) | (...);
                            concat?: (...) | (...) | (...);
                            entries?: (...) | (...) | (...);
                            every?: (...) | (...) | (...);
                            filter?: (...) | (...) | (...);
                            find?: (...) | (...) | (...);
                            findIndex?: (...) | (...) | (...);
                            findLast?: (...) | (...) | (...);
                            findLastIndex?: (...) | (...) | (...);
                            flat?: (...) | (...) | (...);
                            flatMap?: (...) | (...) | (...);
                            forEach?: (...) | (...) | (...);
                            includes?: (...) | (...) | (...);
                            indexOf?: (...) | (...) | (...);
                            join?: (...) | (...) | (...);
                            keys?: (...) | (...) | (...);
                            lastIndexOf?: (...) | (...) | (...);
                            length?: (...) | (...) | (...);
                            map?: (...) | (...) | (...);
                            reduce?: (...) | (...) | (...);
                            reduceRight?: (...) | (...) | (...);
                            slice?: (...) | (...) | (...);
                            some?: (...) | (...) | (...);
                            toLocaleString?: (...) | (...) | (...);
                            toReversed?: (...) | (...) | (...);
                            toSorted?: (...) | (...) | (...);
                            toSpliced?: (...) | (...) | (...);
                            toString?: (...) | (...) | (...);
                            values?: (...) | (...) | (...);
                            with?: (...) | (...) | (...);
                            readonly [key: number]: (...) | (...) | (...);
                        } & {};
                        at: {} & {};
                        concat: {} & {};
                        entries: {} & {};
                        every: {} & {};
                        filter: {} & {};
                        find: {} & {};
                        findIndex: {} & {};
                        findLast: {} & {};
                        findLastIndex: {} & {};
                        flat: {} & {};
                        flatMap: {} & {};
                        forEach: {} & {};
                        includes: {} & {};
                        indexOf: {} & {};
                        join: {} & {};
                        keys: {} & {};
                        lastIndexOf: {} & {};
                        length: number;
                        map: {} & {};
                        reduce: {} & {};
                        reduceRight: {} & {};
                        slice: {} & {};
                        some: {} & {};
                        toLocaleString: {} & {};
                        toReversed: {} & {};
                        toSorted: {} & {};
                        toSpliced: {} & {};
                        toString: {} & {};
                        values: {} & {};
                        with: {} & {};
                        readonly [key: number]: {
                            title?: (...)
                            | (...);
                            type?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
                            value?: (...) | (...);
                        } & {};
                    } & {};
                    details?: string;
                    external_id?: string;
                    link?: string;
                    logo_url?: string;
                    remote_link_enabled?: boolean;
                    report_type?: "BUG"
                    | "COVERAGE"
                    | "SECURITY"
                    | "TEST";
                    reporter?: string;
                    result?: "FAILED" | "PASSED" | "PENDING";
                    title?: string;
                    type: "report";
                    updated_on?: string;
                    uuid?: string;
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                commit: string;
                                repo_slug: string;
                                reportId: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "report" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    created_on?: (...) | (...);
                                    data?: (...) | (...);
                                    details?: (...) | (...);
                                    external_id?: (...) | (...);
                                    link?: (...) | (...);
                                    logo_url?: (...) | (...);
                                    remote_link_enabled?: (...) | (...) | (...);
                                    report_type?: (...) | (...) | (...) | (...) | (...);
                                    reporter?: (...) | (...);
                                    result?: (...) | (...) | (...) | (...);
                                    title?: (...) | (...);
                                    updated_on?: (...) | (...);
                                    uuid?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        created_on?: ...;
                                        data?: ...;
                                        details?: ...;
                                        external_id?: ...;
                                        link?: ...;
                                        logo_url?: ...;
                                        remote_link_enabled?: ...;
                                        report_type?: ...;
                                        reporter?: ...;
                                        result?: ...;
                                        title?: ...;
                                        updated_on?: ...;
                                        uuid?: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "400": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    commit: string;
                                    repo_slug: string;
                                    reportId: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "report" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        created_on?: (...) | (...);
                                        data?: (...) | (...);
                                        details?: (...) | (...);
                                        external_id?: (...) | (...);
                                        link?: (...) | (...);
                                        logo_url?: (...) | (...);
                                        remote_link_enabled?: (...) | (...) | (...);
                                        report_type?: (...) | (...) | (...) | (...) | (...);
                                        reporter?: (...) | (...);
                                        result?: (...) | (...) | (...) | (...);
                                        title?: (...) | (...);
                                        updated_on?: (...) | (...);
                                        uuid?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            created_on?: ...;
                                            data?: ...;
                                            details?: ...;
                                            external_id?: ...;
                                            link?: ...;
                                            logo_url?: ...;
                                            remote_link_enabled?: ...;
                                            report_type?: ...;
                                            reporter?: ...;
                                            result?: ...;
                                            title?: ...;
                                            updated_on?: ...;
                                            uuid?: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "400": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          commit: string;
                          repo_slug: string;
                          reportId: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "report" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              created_on?: string;
                              data?: readonly {
                                  title?: (...) | (...);
                                  type?: (...) | (...) | (...) | (...) | (...) | (...) | (...) | (...);
                                  value?: (...) | (...);
                              }[];
                              details?: string;
                              external_id?: string;
                              link?: string;
                              logo_url?: string;
                              remote_link_enabled?: boolean;
                              report_type?: "BUG"
                              | "COVERAGE"
                              | "SECURITY"
                              | "TEST";
                              reporter?: string;
                              result?: "FAILED" | "PASSED" | "PENDING";
                              title?: string;
                              updated_on?: string;
                              uuid?: string;
                          };
                      };
                  };
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "report" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  created_on?: string;
                                  data?: readonly { title?: ...; type?: ...; value?: ... }[];
                                  details?: string;
                                  external_id?: string;
                                  link?: string;
                                  logo_url?: string;
                                  remote_link_enabled?: boolean;
                                  report_type?: "BUG" | "COVERAGE" | "SECURITY" | "TEST";
                                  reporter?: string;
                                  result?: "FAILED" | "PASSED" | "PENDING";
                                  title?: string;
                                  updated_on?: string;
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "400": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              commit: string;
                              repo_slug: string;
                              reportId: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "report" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  created_on?: string;
                                  data?: readonly { title?: ...; type?: ...; value?: ... }[];
                                  details?: string;
                                  external_id?: string;
                                  link?: string;
                                  logo_url?: string;
                                  remote_link_enabled?: boolean;
                                  report_type?: "BUG" | "COVERAGE" | "SECURITY" | "TEST";
                                  reporter?: string;
                                  result?: "FAILED" | "PASSED" | "PENDING";
                                  title?: string;
                                  updated_on?: string;
                                  uuid?: string;
                              };
                          };
                      };
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "report" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      created_on?: string;
                                      data?: readonly (...)[];
                                      details?: string;
                                      external_id?: string;
                                      link?: string;
                                      logo_url?: string;
                                      remote_link_enabled?: boolean;
                                      report_type?: "BUG" | "COVERAGE" | "SECURITY" | "TEST";
                                      reporter?: string;
                                      result?: "FAILED" | "PASSED" | "PENDING";
                                      title?: string;
                                      updated_on?: string;
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "400": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Run a pipeline

      Endpoint to create and initiate a pipeline. There are a number of different options to initiate a pipeline, where the payload of the request will determine which type of pipeline will be instantiated.

      One way to trigger pipelines is by specifying the branch for which you want to trigger a pipeline. The specified branch will be used to determine which pipeline definition from the bitbucket-pipelines.yml file will be applied to initiate the pipeline. The pipeline will then do a clone of the repository and checkout the latest revision of the specified branch.

      $ curl -X POST -is -u '{atlassian_account_email}:{api_token}' \
      -H 'Content-Type: application/json' \
      https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines/ \
      -d '
      {
      "target": {
      "ref_type": "branch",
      "type": "pipeline_ref_target",
      "ref_name": "master"
      }
      }'

      You can initiate a pipeline for a specific commit and in the context of a specified reference (e.g. a branch, tag or bookmark). The specified reference will be used to determine which pipeline definition from the bitbucket-pipelines.yml file will be applied to initiate the pipeline. The pipeline will clone the repository and then do a checkout the specified reference.

      The following reference types are supported:

      • branch
      • named_branch
      • bookmark
      • tag
      $ curl -X POST -is -u '{atlassian_account_email}:{api_token}' \
      -H 'Content-Type: application/json' \
      https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines/ \
      -d '
      {
      "target": {
      "commit": {
      "type": "commit",
      "hash": "ce5b7431602f7cbba007062eeb55225c6e18e956"
      },
      "ref_type": "branch",
      "type": "pipeline_ref_target",
      "ref_name": "master"
      }
      }'

      You can trigger a specific pipeline that is defined in your bitbucket-pipelines.yml file for a specific commit. In addition to the commit revision, you specify the type and pattern of the selector that identifies the pipeline definition. The resulting pipeline will then clone the repository and checkout the specified revision.

      $ curl -X POST -is -u '{atlassian_account_email}:{api_token}' \
      -H 'Content-Type: application/json' \
      https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines/ \
      -d '
      {
      "target": {
      "commit": {
      "hash":"a3c4e02c9a3755eccdc3764e6ea13facdf30f923",
      "type":"commit"
      },
      "selector": {
      "type":"custom",
      "pattern":"Deploy to production"
      },
      "type":"pipeline_commit_target"
      }
      }'

      You can trigger a specific pipeline that is defined in your bitbucket-pipelines.yml file for a specific commit in the context of a specified reference. In addition to the commit revision, you specify the type and pattern of the selector that identifies the pipeline definition, as well as the reference information. The resulting pipeline will then clone the repository a checkout the specified reference.

      $ curl -X POST -is -u '{atlassian_account_email}:{api_token}' \
      -H 'Content-Type: application/json' \
      https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines/ \
      -d '
      {
      "target": {
      "commit": {
      "hash":"a3c4e02c9a3755eccdc3764e6ea13facdf30f923",
      "type":"commit"
      },
      "selector": {
      "type": "custom",
      "pattern": "Deploy to production"
      },
      "type": "pipeline_ref_target",
      "ref_name": "master",
      "ref_type": "branch"
      }
      }'

      In addition to triggering a custom pipeline that is defined in your bitbucket-pipelines.yml file as shown in the examples above, you can specify variables that will be available for your build. In the request, provide a list of variables, specifying the following for each variable: key, value, and whether it should be secured or not (this field is optional and defaults to not secured).

      $ curl -X POST -is -u '{atlassian_account_email}:{api_token}' \
      -H 'Content-Type: application/json' \
      https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines/ \
      -d '
      {
      "target": {
      "type": "pipeline_ref_target",
      "ref_type": "branch",
      "ref_name": "master",
      "selector": {
      "type": "custom",
      "pattern": "Deploy to production"
      }
      },
      "variables": [
      {
      "key": "var1key",
      "value": "var1value",
      "secured": true
      },
      {
      "key": "var2key",
      "value": "var2value"
      }
      ]
      }'

      You can also initiate a pipeline for a specific pull request.

      $ curl -X POST -is -u '{atlassian_account_email}:{api_token}' \
      -H 'Content-Type: application/json' \
      https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines/ \
      -d '
      {
      "target": {
      "type": "pipeline_pullrequest_target",
      "source": "pull-request-branch",
      "destination": "master",
      "destination_commit": {
      "hash": "9f848b7"
      },
      "commit": {
      "hash": "1a372fc"
      },
      "pullrequest": {
      "id": "3"
      },
      "selector": {
      "type": "pull-requests",
      "pattern": "**"
      }
      }
      }'

      On-demand pipeline

      By default, pipelines run using the YAML in the repository’s bitbucket-pipelines.yml configuration file. With an on-demand pipeline, you include the pipeline’s YAML in the request body. That YAML applies only to that run and overrides the YAML in bitbucket-pipelines.yml.

      Just like with regular pipelines, there is a number of different options to initiate an on-demand pipeline. However, since the payload contains YAML configuration in this case, query parameters are used to supply the necessary metadata to determine which type of pipeline will be instantiated. These query parameters are derived from the JSON equivalent by turning each property into a key-value pair with the JSON path of the property as the new key.

      You can initiate an on-demand pipeline for a specific branch. This branch will be used to determine which pipeline definition from the supplied YAML configuration will be applied to initiate the pipeline. The pipeline will then do a clone of the repository and check out the latest revision of the specified branch.

      To trigger an on-demand pipeline for a branch the requesting user must have write permission for that branch (which can be limited by branch restrictions).

      $ curl -X POST -is -u '{atlassian_account_email}:{api_token}' \
      -H 'Content-Type: application/yaml' \
      https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines?target.type=pipeline_ref_target&target.ref_type=branch&target.ref_name=master \
      -d '
      pipelines:
      default:
      - step:
      script:
      - echo This is an on-demand pipeline'

      You can initiate an on-demand pipeline for a specific commit and in the context of a specified reference (branch or tag). The specified reference will be used to determine which pipeline definition from the supplied YAML configuration will be applied to initiate the pipeline. The pipeline will clone the repository and check out the specified reference.

      To trigger an on-demand pipeline for a branch the requesting user must have write permission for that branch (which can be limited by branch restrictions).

      $ curl -X POST -is -u '{atlassian_account_email}:{api_token}' \
      -H 'Content-Type: application/yaml' \
      https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines?target.type=pipeline_ref_target&target.ref_type=branch&target.ref_name=master&target.commit.hash=ce5b7431602f7cbba007062eeb55225c6e18e956 \
      -d '
      pipelines:
      default:
      - step:
      script:
      - echo This is an on-demand pipeline'

      You can trigger a specific pipeline that is defined in the supplied YAML configuration for a specific commit. In addition to the commit revision, you specify the type and pattern of the selector that identifies the pipeline definition. The resulting pipeline will then clone the repository and checkout the specified revision.

      $ curl -X POST -is -u '{atlassian_account_email}:{api_token}' \
      -H 'Content-Type: application/yaml' \
      https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines?target.type=pipeline_commit_target&target.commit.hash=a3c4e02c9a3755eccdc3764e6ea13facdf30f923&target.selector.type=custom&target.selector.pattern=security-scan \
      -d '
      pipelines:
      custom:
      security-scan:
      - step:
      script:
      - echo Run on-demand security scan

      In addition to triggering a custom on-demand pipeline that is defined in the supplied YAML configuration as shown in the examples above, you can specify variables that will be available for your build. In the request, provide each variable as an indexed set of query parameters representing its key, value, and whether it should be secured or not (this field is optional and defaults to not secured).

      $ curl -X POST -is -u '{atlassian_account_email}:{api_token}' \
      -H 'Content-Type: application/yaml' \
      https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines?target.type=pipeline_ref_target&target.ref_type=branch&target.ref_name=master&target.selector.type=custom&target.selector.pattern=security-scan&variables[0].key=var1key&variables[0].value=var1value&variables[0].secured=true&variables[1].key=var2key&variables[1].value=var2value \
      -d '
      pipelines:
      custom:
      security-scan:
      - variables:
      - name: var1key
      - name: var2key
      - step:
      script:
      - echo Run on-demand security scan'

      You can also initiate an on-demand pipeline for a specific pull request.

      $ curl -X POST -is -u '{atlassian_account_email}:{api_token}' \
      -H 'Content-Type: application/yaml' \
      https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/pipelines?target.type=pipeline_pullrequest_target&target.source=pull-request-branch&target.destination=destination&target.destination_commit.hash=9f848b7&target.commit.hash=1a372fc&target.pullrequest.id=3&target.selector.type=pull-requests&target.selector.pattern=** \
      -d '
      pipelines:
      pull-requests:
      "**":
      - step:
      script:
      - echo This is an on-demand pipeline'

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & {
                body: {
                    build_number?: number;
                    build_seconds_used?: number;
                    completed_on?: string;
                    configuration_sources?: {
                        "[iterator]": {} & {};
                        "[unscopables]": {
                            "[iterator]"?: (...)
                            | (...)
                            | (...);
                            "[unscopables]"?: (...) | (...) | (...);
                            at?: (...) | (...) | (...);
                            concat?: (...) | (...) | (...);
                            entries?: (...) | (...) | (...);
                            every?: (...) | (...) | (...);
                            filter?: (...) | (...) | (...);
                            find?: (...) | (...) | (...);
                            findIndex?: (...) | (...) | (...);
                            findLast?: (...) | (...) | (...);
                            findLastIndex?: (...) | (...) | (...);
                            flat?: (...) | (...) | (...);
                            flatMap?: (...) | (...) | (...);
                            forEach?: (...) | (...) | (...);
                            includes?: (...) | (...) | (...);
                            indexOf?: (...) | (...) | (...);
                            join?: (...) | (...) | (...);
                            keys?: (...) | (...) | (...);
                            lastIndexOf?: (...) | (...) | (...);
                            length?: (...) | (...) | (...);
                            map?: (...) | (...) | (...);
                            reduce?: (...) | (...) | (...);
                            reduceRight?: (...) | (...) | (...);
                            slice?: (...) | (...) | (...);
                            some?: (...) | (...) | (...);
                            toLocaleString?: (...) | (...) | (...);
                            toReversed?: (...) | (...) | (...);
                            toSorted?: (...) | (...) | (...);
                            toSpliced?: (...) | (...) | (...);
                            toString?: (...) | (...) | (...);
                            values?: (...) | (...) | (...);
                            with?: (...) | (...) | (...);
                            readonly [key: number]: (...) | (...) | (...);
                        } & {};
                        at: {} & {};
                        concat: {} & {};
                        entries: {} & {};
                        every: {} & {};
                        filter: {} & {};
                        find: {} & {};
                        findIndex: {} & {};
                        findLast: {} & {};
                        findLastIndex: {} & {};
                        flat: {} & {};
                        flatMap: {} & {};
                        forEach: {} & {};
                        includes: {} & {};
                        indexOf: {} & {};
                        join: {} & {};
                        keys: {} & {};
                        lastIndexOf: {} & {};
                        length: number;
                        map: {} & {};
                        reduce: {} & {};
                        reduceRight: {} & {};
                        slice: {} & {};
                        some: {} & {};
                        toLocaleString: {} & {};
                        toReversed: {} & {};
                        toSorted: {} & {};
                        toSpliced: {} & {};
                        toString: {} & {};
                        values: {} & {};
                        with: {} & {};
                        readonly [key: number]: { source: string; uri: string } & {};
                    } & {};
                    created_on?: string;
                    creator?: {
                        created_on?: string;
                        display_name?: string;
                        links?: { avatar?: ...; readonly [key: ...]: ... } & {};
                        type: "account";
                        uuid?: string;
                        readonly [key: string]: unknown;
                    } & {};
                    links?: {
                        self?: { href?: ...; type: ...; readonly [key: ...]: ... } & {};
                        steps?: { href?: ...; type: ...; readonly [key: ...]: ... } & {};
                        type: "pipelines_pipeline_links";
                        readonly [key: string]: unknown;
                    } & {};
                    repository?: {
                        created_on?: string;
                        description?: string;
                        fork_policy?: "allow_forks"
                        | "no_forks"
                        | "no_public_forks";
                        full_name?: string;
                        has_issues?: boolean;
                        has_wiki?: boolean;
                        is_private?: boolean;
                        language?: string;
                        links?: {
                            avatar?: ...;
                            clone?: ...;
                            commits?: ...;
                            downloads?: ...;
                            forks?: ...;
                            hooks?: ...;
                            html?: ...;
                            pullrequests?: ...;
                            self?: ...;
                            watchers?: ...;
                        } & {};
                        mainbranch?: {
                            default_merge_strategy?: ...;
                            links?: ...;
                            merge_strategies?: ...;
                            name?: ...;
                            target?: ...;
                            type: ...;
                            readonly [key: ...]: ...;
                        } & {};
                        name?: string;
                        owner?: {
                            created_on?: ...;
                            display_name?: ...;
                            links?: ...;
                            type: ...;
                            uuid?: ...;
                            readonly [key: ...]: ...;
                        } & {};
                        parent?: ({ readonly [x: string]: unknown; readonly type: "repository"; readonly created_on?: string; readonly description?: string; readonly fork_policy?: "allow_forks" | "no_forks" | "no_public_forks"; ... 14 more ...; readonly uuid?: string; } & {}) | undefined;
                        project?: {
                            created_on?: ...;
                            description?: ...;
                            has_publicly_visible_repos?: ...;
                            is_private?: ...;
                            key?: ...;
                            links?: ...;
                            name?: ...;
                            owner?: ...;
                            type: ...;
                            updated_on?: ...;
                            uuid?: ...;
                            readonly [key: ...]: ...;
                        } & {};
                        scm?: "git";
                        size?: number;
                        type: "repository";
                        updated_on?: string;
                        uuid?: string;
                        readonly [key: string]: unknown;
                    } & {};
                    state?: { type: "pipeline_state"; readonly [key: string]: unknown } & {};
                    target?: { type: "pipeline_target"; readonly [key: string]: unknown } & {};
                    trigger?: { type: "pipeline_trigger"; readonly [key: string]: unknown } & {};
                    type: "pipeline";
                    uuid?: string;
                    variables?: {
                        "[iterator]": {} & {};
                        "[unscopables]": {
                            "[iterator]"?: (...) | (...) | (...);
                            "[unscopables]"?: (...) | (...) | (...);
                            at?: (...) | (...) | (...);
                            concat?: (...) | (...) | (...);
                            entries?: (...) | (...) | (...);
                            every?: (...) | (...) | (...);
                            filter?: (...) | (...) | (...);
                            find?: (...) | (...) | (...);
                            findIndex?: (...) | (...) | (...);
                            findLast?: (...) | (...) | (...);
                            findLastIndex?: (...) | (...) | (...);
                            flat?: (...) | (...) | (...);
                            flatMap?: (...) | (...) | (...);
                            forEach?: (...) | (...) | (...);
                            includes?: (...) | (...) | (...);
                            indexOf?: (...) | (...) | (...);
                            join?: (...) | (...) | (...);
                            keys?: (...) | (...) | (...);
                            lastIndexOf?: (...) | (...) | (...);
                            length?: (...) | (...) | (...);
                            map?: (...) | (...) | (...);
                            reduce?: (...) | (...) | (...);
                            reduceRight?: (...) | (...) | (...);
                            slice?: (...) | (...) | (...);
                            some?: (...) | (...) | (...);
                            toLocaleString?: (...) | (...) | (...);
                            toReversed?: (...) | (...) | (...);
                            toSorted?: (...) | (...) | (...);
                            toSpliced?: (...) | (...) | (...);
                            toString?: (...) | (...) | (...);
                            values?: (...) | (...) | (...);
                            with?: (...) | (...) | (...);
                            readonly [key: number]: (...) | (...) | (...);
                        } & {};
                        at: {} & {};
                        concat: {} & {};
                        entries: {} & {};
                        every: {} & {};
                        filter: {} & {};
                        find: {} & {};
                        findIndex: {} & {};
                        findLast: {} & {};
                        findLastIndex: {} & {};
                        flat: {} & {};
                        flatMap: {} & {};
                        forEach: {} & {};
                        includes: {} & {};
                        indexOf: {} & {};
                        join: {} & {};
                        keys: {} & {};
                        lastIndexOf: {} & {};
                        length: number;
                        map: {} & {};
                        reduce: {} & {};
                        reduceRight: {} & {};
                        slice: {} & {};
                        some: {} & {};
                        toLocaleString: {} & {};
                        toReversed: {} & {};
                        toSorted: {} & {};
                        toSpliced: {} & {};
                        toString: {} & {};
                        values: {} & {};
                        with: {} & {};
                        readonly [key: number]: {
                            key?: (...)
                            | (...);
                            secured?: (...) | (...) | (...);
                            type: "pipeline_variable";
                            uuid?: (...) | (...);
                            value?: (...) | (...);
                            readonly [key: string]: unknown;
                        } & {};
                    } & {};
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "pipeline" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    build_number?: (...) | (...);
                                    build_seconds_used?: (...) | (...);
                                    completed_on?: (...) | (...);
                                    configuration_sources?: (...) | (...);
                                    created_on?: (...) | (...);
                                    creator?: (...) | (...);
                                    links?: (...) | (...);
                                    repository?: (...) | (...);
                                    state?: (...) | (...);
                                    target?: (...) | (...);
                                    trigger?: (...) | (...);
                                    uuid?: (...) | (...);
                                    variables?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "201": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        build_number?: ...;
                                        build_seconds_used?: ...;
                                        completed_on?: ...;
                                        configuration_sources?: ...;
                                        created_on?: ...;
                                        creator?: ...;
                                        links?: ...;
                                        repository?: ...;
                                        state?: ...;
                                        target?: ...;
                                        trigger?: ...;
                                        uuid?: ...;
                                        variables?: ...;
                                    };
                                };
                                headers: { Location?: string; readonly [name: string]: unknown };
                            };
                            "400": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "pipeline" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        build_number?: (...) | (...);
                                        build_seconds_used?: (...) | (...);
                                        completed_on?: (...) | (...);
                                        configuration_sources?: (...) | (...);
                                        created_on?: (...) | (...);
                                        creator?: (...) | (...);
                                        links?: (...) | (...);
                                        repository?: (...) | (...);
                                        state?: (...) | (...);
                                        target?: (...) | (...);
                                        trigger?: (...) | (...);
                                        uuid?: (...) | (...);
                                        variables?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "201": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            build_number?: ...;
                                            build_seconds_used?: ...;
                                            completed_on?: ...;
                                            configuration_sources?: ...;
                                            created_on?: ...;
                                            creator?: ...;
                                            links?: ...;
                                            repository?: ...;
                                            state?: ...;
                                            target?: ...;
                                            trigger?: ...;
                                            uuid?: ...;
                                            variables?: ...;
                                        };
                                    };
                                    headers: { Location?: string; readonly [name: string]: unknown };
                                };
                                "400": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "pipeline" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              build_number?: number;
                              build_seconds_used?: number;
                              completed_on?: string;
                              configuration_sources?: readonly { source: string; uri: string }[];
                              created_on?: string;
                              creator?: { type: "account" } & Omit<(...) & (...), "type"> & Readonly<
                                  Record<(...), (...)>,
                              > & {
                                  created_on?: (...) | (...);
                                  display_name?: (...) | (...);
                                  links?: (...) | (...);
                                  uuid?: (...) | (...);
                              };
                              links?: { type: "pipelines_pipeline_links" } & Omit<
                                  (...) & (...),
                                  "type",
                              > & Readonly<Record<(...), (...)>> & {
                                  self?: (...) | (...);
                                  steps?: (...) | (...);
                              };
                              repository?: { type: "repository" } & Omit<(...) & (...), "type"> & Readonly<
                                  Record<(...), (...)>,
                              > & {
                                  created_on?: (...) | (...);
                                  description?: (...) | (...);
                                  fork_policy?: (...) | (...) | (...) | (...);
                                  full_name?: (...) | (...);
                                  has_issues?: (...) | (...) | (...);
                                  has_wiki?: (...) | (...) | (...);
                                  is_private?: (...) | (...) | (...);
                                  language?: (...) | (...);
                                  links?: (...) | (...);
                                  mainbranch?: (...) | (...);
                                  name?: (...) | (...);
                                  owner?: (...) | (...);
                                  parent?: ({ readonly type: "repository"; } & Omit<Readonly<Record<string, unknown>> & { readonly type: string; }, "type"> & Readonly<Record<string, unknown>> & { ...; }) | undefined;
                                  project?: (...) | (...);
                                  scm?: (...) | (...);
                                  size?: (...) | (...);
                                  updated_on?: (...) | (...);
                                  uuid?: (...) | (...);
                              };
                              state?: { type: "pipeline_state" } & Omit<(...) & (...), "type"> & Readonly<
                                  Record<(...), (...)>,
                              >;
                              target?: { type: "pipeline_target" } & Omit<(...) & (...), "type"> & Readonly<
                                  Record<(...), (...)>,
                              >;
                              trigger?: { type: "pipeline_trigger" } & Omit<(...) & (...), "type"> & Readonly<
                                  Record<(...), (...)>,
                              >;
                              uuid?: string;
                              variables?: readonly (
                                  { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      key?: ...;
                                      secured?: ...;
                                      uuid?: ...;
                                      value?: ...;
                                  }
                              )[];
                          };
                      };
                  };
                  responses: {
                      "201": {
                          content: {
                              "application/json": { type: "pipeline" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  build_number?: number;
                                  build_seconds_used?: number;
                                  completed_on?: string;
                                  configuration_sources?: readonly { source: ...; uri: ... }[];
                                  created_on?: string;
                                  creator?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      created_on?: ...;
                                      display_name?: ...;
                                      links?: ...;
                                      uuid?: ...;
                                  };
                                  links?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      self?: ...;
                                      steps?: ...;
                                  };
                                  repository?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      created_on?: ...;
                                      description?: ...;
                                      fork_policy?: ...;
                                      full_name?: ...;
                                      has_issues?: ...;
                                      has_wiki?: ...;
                                      is_private?: ...;
                                      language?: ...;
                                      links?: ...;
                                      mainbranch?: ...;
                                      name?: ...;
                                      owner?: ...;
                                      parent?: ...;
                                      project?: ...;
                                      scm?: ...;
                                      size?: ...;
                                      updated_on?: ...;
                                      uuid?: ...;
                                  };
                                  state?: { type: ... } & Omit<(...), (...)> & Readonly<(...)>;
                                  target?: { type: ... } & Omit<(...), (...)> & Readonly<(...)>;
                                  trigger?: { type: ... } & Omit<(...), (...)> & Readonly<(...)>;
                                  uuid?: string;
                                  variables?: readonly ((...) & (...) & (...) & (...))[];
                              };
                          };
                          headers: { Location?: string; readonly [name: string]: unknown };
                      };
                      "400": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "pipeline" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  build_number?: number;
                                  build_seconds_used?: number;
                                  completed_on?: string;
                                  configuration_sources?: readonly { source: ...; uri: ... }[];
                                  created_on?: string;
                                  creator?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      created_on?: ...;
                                      display_name?: ...;
                                      links?: ...;
                                      uuid?: ...;
                                  };
                                  links?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      self?: ...;
                                      steps?: ...;
                                  };
                                  repository?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      created_on?: ...;
                                      description?: ...;
                                      fork_policy?: ...;
                                      full_name?: ...;
                                      has_issues?: ...;
                                      has_wiki?: ...;
                                      is_private?: ...;
                                      language?: ...;
                                      links?: ...;
                                      mainbranch?: ...;
                                      name?: ...;
                                      owner?: ...;
                                      parent?: ...;
                                      project?: ...;
                                      scm?: ...;
                                      size?: ...;
                                      updated_on?: ...;
                                      uuid?: ...;
                                  };
                                  state?: { type: ... } & Omit<(...), (...)> & Readonly<(...)>;
                                  target?: { type: ... } & Omit<(...), (...)> & Readonly<(...)>;
                                  trigger?: { type: ... } & Omit<(...), (...)> & Readonly<(...)>;
                                  uuid?: string;
                                  variables?: readonly ((...) & (...) & (...) & (...))[];
                              };
                          };
                      };
                      responses: {
                          "201": {
                              content: {
                                  "application/json": { type: "pipeline" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      build_number?: number;
                                      build_seconds_used?: number;
                                      completed_on?: string;
                                      configuration_sources?: readonly (...)[];
                                      created_on?: string;
                                      creator?: (...) & (...) & (...) & (...);
                                      links?: (...) & (...) & (...) & (...);
                                      repository?: (...) & (...) & (...) & (...);
                                      state?: (...) & (...) & (...);
                                      target?: (...) & (...) & (...);
                                      trigger?: (...) & (...) & (...);
                                      uuid?: string;
                                      variables?: readonly (...)[];
                                  };
                              };
                              headers: { Location?: string; readonly [name: string]: unknown };
                          };
                          "400": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Create a variable for a user

      Create an account level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see the announcement.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { username: string };
                    query?: undefined;
                };
            } & {
                body?: {
                    key?: string;
                    secured?: boolean;
                    type: "pipeline_variable";
                    uuid?: string;
                    value?: string;
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { username: string };
                            query?: undefined;
                        };
                        requestBody?: {
                            content: {
                                "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                    (...),
                                > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                            };
                        };
                        responses: {
                            "201": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                                headers: { Location?: string; readonly [name: string]: unknown };
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "409": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { username: string };
                                query?: undefined;
                            };
                            requestBody?: {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                            };
                            responses: {
                                "201": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                    };
                                    headers: { Location?: string; readonly [name: string]: unknown };
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "409": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { username: string };
                      query?: undefined;
                  };
                  requestBody?: {
                      content: {
                          "application/json": { type: "pipeline_variable" } & Omit<
                              Readonly<Record<(...), (...)>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              key?: string;
                              secured?: boolean;
                              uuid?: string;
                              value?: string;
                          };
                      };
                  };
                  responses: {
                      "201": {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                          headers: { Location?: string; readonly [name: string]: unknown };
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "409": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { username: string };
                          query?: undefined;
                      };
                      requestBody?: {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<(...)> & { type: ... },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                      };
                      responses: {
                          "201": {
                              content: {
                                  "application/json": { type: "pipeline_variable" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      key?: string;
                                      secured?: boolean;
                                      uuid?: string;
                                      value?: string;
                                  };
                              };
                              headers: { Location?: string; readonly [name: string]: unknown };
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "409": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Create a variable for a user

      Create a user level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see the announcement.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { selected_user: string };
                    query?: undefined;
                };
            } & {
                body?: {
                    key?: string;
                    secured?: boolean;
                    type: "pipeline_variable";
                    uuid?: string;
                    value?: string;
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { selected_user: string };
                            query?: undefined;
                        };
                        requestBody?: {
                            content: {
                                "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                    (...),
                                > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                            };
                        };
                        responses: {
                            "201": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                                headers: { Location?: string; readonly [name: string]: unknown };
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "409": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { selected_user: string };
                                query?: undefined;
                            };
                            requestBody?: {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                            };
                            responses: {
                                "201": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                    };
                                    headers: { Location?: string; readonly [name: string]: unknown };
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "409": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { selected_user: string };
                      query?: undefined;
                  };
                  requestBody?: {
                      content: {
                          "application/json": { type: "pipeline_variable" } & Omit<
                              Readonly<Record<(...), (...)>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              key?: string;
                              secured?: boolean;
                              uuid?: string;
                              value?: string;
                          };
                      };
                  };
                  responses: {
                      "201": {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                          headers: { Location?: string; readonly [name: string]: unknown };
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "409": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { selected_user: string };
                          query?: undefined;
                      };
                      requestBody?: {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<(...)> & { type: ... },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                      };
                      responses: {
                          "201": {
                              content: {
                                  "application/json": { type: "pipeline_variable" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      key?: string;
                                      secured?: boolean;
                                      uuid?: string;
                                      value?: string;
                                  };
                              };
                              headers: { Location?: string; readonly [name: string]: unknown };
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "409": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Create a variable for a workspace

      Create a workspace level variable.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { workspace: string };
                    query?: undefined;
                };
            } & {
                body?: {
                    key?: string;
                    secured?: boolean;
                    type: "pipeline_variable";
                    uuid?: string;
                    value?: string;
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { workspace: string };
                            query?: undefined;
                        };
                        requestBody?: {
                            content: {
                                "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                    (...),
                                > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                            };
                        };
                        responses: {
                            "201": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                                headers: { Location?: string; readonly [name: string]: unknown };
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "409": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { workspace: string };
                                query?: undefined;
                            };
                            requestBody?: {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                            };
                            responses: {
                                "201": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                    };
                                    headers: { Location?: string; readonly [name: string]: unknown };
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "409": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { workspace: string };
                      query?: undefined;
                  };
                  requestBody?: {
                      content: {
                          "application/json": { type: "pipeline_variable" } & Omit<
                              Readonly<Record<(...), (...)>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              key?: string;
                              secured?: boolean;
                              uuid?: string;
                              value?: string;
                          };
                      };
                  };
                  responses: {
                      "201": {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                          headers: { Location?: string; readonly [name: string]: unknown };
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "409": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { workspace: string };
                          query?: undefined;
                      };
                      requestBody?: {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<(...)> & { type: ... },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                      };
                      responses: {
                          "201": {
                              content: {
                                  "application/json": { type: "pipeline_variable" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      key?: string;
                                      secured?: boolean;
                                      uuid?: string;
                                      value?: string;
                                  };
                              };
                              headers: { Location?: string; readonly [name: string]: unknown };
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "409": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Create a known host

      Create a repository level known host.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & {
                body: {
                    hostname?: string;
                    public_key?: {
                        key?: string;
                        key_type?: string;
                        md5_fingerprint?: string;
                        sha256_fingerprint?: string;
                        type: "pipeline_ssh_public_key";
                        readonly [key: string]: unknown;
                    } & {};
                    type: "pipeline_known_host";
                    uuid?: string;
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "pipeline_known_host" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    hostname?: (...) | (...);
                                    public_key?: (...) | (...);
                                    uuid?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "201": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { hostname?: ...; public_key?: ...; uuid?: ... };
                                };
                                headers: { Location?: string; readonly [name: string]: unknown };
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "409": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "pipeline_known_host" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        hostname?: (...) | (...);
                                        public_key?: (...) | (...);
                                        uuid?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "201": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { hostname?: ...; public_key?: ...; uuid?: ... };
                                    };
                                    headers: { Location?: string; readonly [name: string]: unknown };
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "409": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "pipeline_known_host" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              hostname?: string;
                              public_key?: { type: "pipeline_ssh_public_key" } & Omit<
                                  (...) & (...),
                                  "type",
                              > & Readonly<Record<(...), (...)>> & {
                                  key?: (...) | (...);
                                  key_type?: (...) | (...);
                                  md5_fingerprint?: (...) | (...);
                                  sha256_fingerprint?: (...) | (...);
                              };
                              uuid?: string;
                          };
                      };
                  };
                  responses: {
                      "201": {
                          content: {
                              "application/json": { type: "pipeline_known_host" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  hostname?: string;
                                  public_key?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      key?: ...;
                                      key_type?: ...;
                                      md5_fingerprint?: ...;
                                      sha256_fingerprint?: ...;
                                  };
                                  uuid?: string;
                              };
                          };
                          headers: { Location?: string; readonly [name: string]: unknown };
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "409": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "pipeline_known_host" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  hostname?: string;
                                  public_key?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      key?: ...;
                                      key_type?: ...;
                                      md5_fingerprint?: ...;
                                      sha256_fingerprint?: ...;
                                  };
                                  uuid?: string;
                              };
                          };
                      };
                      responses: {
                          "201": {
                              content: {
                                  "application/json": { type: "pipeline_known_host" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      hostname?: string;
                                      public_key?: (...) & (...) & (...) & (...);
                                      uuid?: string;
                                  };
                              };
                              headers: { Location?: string; readonly [name: string]: unknown };
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "409": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Create a schedule

      Create a schedule for the given repository.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & {
                body: {
                    cron_pattern: string;
                    enabled?: boolean;
                    target: { ref_name: string; ref_type: "branch" } & {
                        selector?: undefined;
                    };
                    type: "pipeline_schedule_post_request_body";
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "pipeline_schedule_post_request_body" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    cron_pattern: string;
                                    enabled?: (...) | (...) | (...);
                                    target: { ref_name: ...; ref_type: ...; selector: ... };
                                };
                            };
                        };
                        responses: {
                            "201": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        created_on?: ...;
                                        cron_pattern?: ...;
                                        enabled?: ...;
                                        target?: ...;
                                        updated_on?: ...;
                                        uuid?: ...;
                                    };
                                };
                                headers: { Location?: string; readonly [name: string]: unknown };
                            };
                            "400": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "401": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": {
                                        type: "pipeline_schedule_post_request_body";
                                    } & Omit<(...) & (...), "type"> & Readonly<Record<(...), (...)>> & {
                                        cron_pattern: string;
                                        enabled?: (...) | (...) | (...);
                                        target: { ref_name: ...; ref_type: ...; selector: ... };
                                    };
                                };
                            };
                            responses: {
                                "201": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            created_on?: ...;
                                            cron_pattern?: ...;
                                            enabled?: ...;
                                            target?: ...;
                                            updated_on?: ...;
                                            uuid?: ...;
                                        };
                                    };
                                    headers: { Location?: string; readonly [name: string]: unknown };
                                };
                                "400": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "401": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "pipeline_schedule_post_request_body" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              cron_pattern: string;
                              enabled?: boolean;
                              target: { ref_name: string; ref_type: "branch"; selector: never };
                          };
                      };
                  };
                  responses: {
                      "201": {
                          content: {
                              "application/json": { type: "pipeline_schedule" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  created_on?: string;
                                  cron_pattern?: string;
                                  enabled?: boolean;
                                  target?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      commit?: ...;
                                      ref_name?: ...;
                                      ref_type?: ...;
                                      selector?: ...;
                                  };
                                  updated_on?: string;
                                  uuid?: string;
                              };
                          };
                          headers: { Location?: string; readonly [name: string]: unknown };
                      };
                      "400": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "401": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "pipeline_schedule_post_request_body" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  cron_pattern: string;
                                  enabled?: boolean;
                                  target: { ref_name: string; ref_type: "branch"; selector: never };
                              };
                          };
                      };
                      responses: {
                          "201": {
                              content: {
                                  "application/json": { type: "pipeline_schedule" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      created_on?: string;
                                      cron_pattern?: string;
                                      enabled?: boolean;
                                      target?: (...) & (...) & (...) & (...);
                                      updated_on?: string;
                                      uuid?: string;
                                  };
                              };
                              headers: { Location?: string; readonly [name: string]: unknown };
                          };
                          "400": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "401": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Create a variable for a repository

      Create a repository level variable.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & {
                body: {
                    key?: string;
                    secured?: boolean;
                    type: "pipeline_variable";
                    uuid?: string;
                    value?: string;
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "pipeline_variable" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    key?: (...) | (...);
                                    secured?: (...) | (...) | (...);
                                    uuid?: (...) | (...);
                                    value?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "201": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                                headers: { Location?: string; readonly [name: string]: unknown };
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "409": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "pipeline_variable" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        key?: (...) | (...);
                                        secured?: (...) | (...) | (...);
                                        uuid?: (...) | (...);
                                        value?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "201": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                    };
                                    headers: { Location?: string; readonly [name: string]: unknown };
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "409": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "pipeline_variable" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              key?: string;
                              secured?: boolean;
                              uuid?: string;
                              value?: string;
                          };
                      };
                  };
                  responses: {
                      "201": {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                          headers: { Location?: string; readonly [name: string]: unknown };
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "409": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                      };
                      responses: {
                          "201": {
                              content: {
                                  "application/json": { type: "pipeline_variable" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      key?: string;
                                      secured?: boolean;
                                      uuid?: string;
                                      value?: string;
                                  };
                              };
                              headers: { Location?: string; readonly [name: string]: unknown };
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "409": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Create repository runner

      Create repository runner.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        created_on?: ...;
                                        labels?: ...;
                                        name?: ...;
                                        oauth_client?: ...;
                                        state?: ...;
                                        updated_on?: ...;
                                        uuid?: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "400": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "409": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            created_on?: ...;
                                            labels?: ...;
                                            name?: ...;
                                            oauth_client?: ...;
                                            state?: ...;
                                            updated_on?: ...;
                                            uuid?: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "400": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "409": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_runner" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  created_on?: string;
                                  labels?: readonly string[];
                                  name?: string;
                                  oauth_client?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      audience?: ...;
                                      id?: ...;
                                      secret?: ...;
                                      token_endpoint?: ...;
                                  };
                                  state?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      cordoned?: ...;
                                      status?: ...;
                                      updated_on?: ...;
                                      version?: ...;
                                  };
                                  updated_on?: string;
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "400": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "409": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_runner" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      created_on?: string;
                                      labels?: readonly (...)[];
                                      name?: string;
                                      oauth_client?: (...) & (...) & (...) & (...);
                                      state?: (...) & (...) & (...) & (...);
                                      updated_on?: string;
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "400": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "409": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Create workspace runner

      Create workspace runner.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        created_on?: ...;
                                        labels?: ...;
                                        name?: ...;
                                        oauth_client?: ...;
                                        state?: ...;
                                        updated_on?: ...;
                                        uuid?: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "400": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "409": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            created_on?: ...;
                                            labels?: ...;
                                            name?: ...;
                                            oauth_client?: ...;
                                            state?: ...;
                                            updated_on?: ...;
                                            uuid?: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "400": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "409": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_runner" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  created_on?: string;
                                  labels?: readonly string[];
                                  name?: string;
                                  oauth_client?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      audience?: ...;
                                      id?: ...;
                                      secret?: ...;
                                      token_endpoint?: ...;
                                  };
                                  state?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      cordoned?: ...;
                                      status?: ...;
                                      updated_on?: ...;
                                      version?: ...;
                                  };
                                  updated_on?: string;
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "400": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "409": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_runner" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      created_on?: string;
                                      labels?: readonly (...)[];
                                      name?: string;
                                      oauth_client?: (...) & (...) & (...) & (...);
                                      state?: (...) & (...) & (...) & (...);
                                      updated_on?: string;
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "400": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "409": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete an annotation

      Deletes a single Annotation matching the provided ID.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        annotationId: string;
                        commit: string;
                        repo_slug: string;
                        reportId: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                annotationId: string;
                                commit: string;
                                repo_slug: string;
                                reportId: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    annotationId: string;
                                    commit: string;
                                    repo_slug: string;
                                    reportId: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          annotationId: string;
                          commit: string;
                          repo_slug: string;
                          reportId: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              annotationId: string;
                              commit: string;
                              repo_slug: string;
                              reportId: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete a commit application property

      Delete an application property value stored against a commit.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        app_key: string;
                        commit: string;
                        property_name: string;
                        repo_slug: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                app_key: string;
                                commit: string;
                                property_name: string;
                                repo_slug: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    app_key: string;
                                    commit: string;
                                    property_name: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          app_key: string;
                          commit: string;
                          property_name: string;
                          repo_slug: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              app_key: string;
                              commit: string;
                              property_name: string;
                              repo_slug: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete a variable for an environment

      Delete a deployment environment level variable.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        environment_uuid: string;
                        repo_slug: string;
                        variable_uuid: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                environment_uuid: string;
                                repo_slug: string;
                                variable_uuid: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    environment_uuid: string;
                                    repo_slug: string;
                                    variable_uuid: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          environment_uuid: string;
                          repo_slug: string;
                          variable_uuid: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              environment_uuid: string;
                              repo_slug: string;
                              variable_uuid: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete an environment

      Delete an environment

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { environment_uuid: string; repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                environment_uuid: string;
                                repo_slug: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    environment_uuid: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { environment_uuid: string; repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              environment_uuid: string;
                              repo_slug: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete a variable for a team

      Delete a team level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see the announcement.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { username: string; variable_uuid: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { username: string; variable_uuid: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { username: string; variable_uuid: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { username: string; variable_uuid: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { username: string; variable_uuid: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete a variable for a user

      Delete an account level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see the announcement.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { selected_user: string; variable_uuid: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { selected_user: string; variable_uuid: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { selected_user: string; variable_uuid: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { selected_user: string; variable_uuid: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { selected_user: string; variable_uuid: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete a variable for a workspace

      Delete a workspace level variable.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { variable_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { variable_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { variable_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { variable_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { variable_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete a pull request application property

      Delete an application property value stored against a pull request.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        app_key: string;
                        property_name: string;
                        pullrequest_id: string;
                        repo_slug: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                app_key: string;
                                property_name: string;
                                pullrequest_id: string;
                                repo_slug: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    app_key: string;
                                    property_name: string;
                                    pullrequest_id: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          app_key: string;
                          property_name: string;
                          pullrequest_id: string;
                          repo_slug: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              app_key: string;
                              property_name: string;
                              pullrequest_id: string;
                              repo_slug: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete a report

      Deletes a single Report matching the provided ID.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        commit: string;
                        repo_slug: string;
                        reportId: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                commit: string;
                                repo_slug: string;
                                reportId: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    commit: string;
                                    repo_slug: string;
                                    reportId: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          commit: string;
                          repo_slug: string;
                          reportId: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              commit: string;
                              repo_slug: string;
                              reportId: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete a repository application property

      Delete an application property value stored against a repository.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        app_key: string;
                        property_name: string;
                        repo_slug: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                app_key: string;
                                property_name: string;
                                repo_slug: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    app_key: string;
                                    property_name: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          app_key: string;
                          property_name: string;
                          repo_slug: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              app_key: string;
                              property_name: string;
                              repo_slug: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete a cache

      Delete a repository cache.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { cache_uuid: string; repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { cache_uuid: string; repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { cache_uuid: string; repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { cache_uuid: string; repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { cache_uuid: string; repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete caches

      Delete repository cache versions by name.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query: { name: string };
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query: { name: string };
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query: { name: string };
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query: { name: string };
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query: { name: string };
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete SSH key pair

      Delete the repository SSH key pair.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete a known host

      Delete a repository level known host.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { known_host_uuid: string; repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { known_host_uuid: string; repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    known_host_uuid: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { known_host_uuid: string; repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { known_host_uuid: string; repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete a schedule

      Delete a schedule.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; schedule_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; schedule_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; schedule_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; schedule_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; schedule_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete a variable for a repository

      Delete a repository level variable.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; variable_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; variable_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; variable_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; variable_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; variable_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete repository runner

      Delete repository runner by uuid.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; runner_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; runner_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; runner_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; runner_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; runner_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete a user application property

      Delete an application property value stored against a user.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { app_key: string; property_name: string; selected_user: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { app_key: string; property_name: string; selected_user: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    app_key: string;
                                    property_name: string;
                                    selected_user: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { app_key: string; property_name: string; selected_user: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { app_key: string; property_name: string; selected_user: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Delete workspace runner

      Delete workspace runner by uuid.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { runner_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { runner_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { runner_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { runner_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { runner_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get an annotation

      Returns a single Annotation matching the provided ID.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        annotationId: string;
                        commit: string;
                        repo_slug: string;
                        reportId: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                annotationId: string;
                                commit: string;
                                repo_slug: string;
                                reportId: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        annotation_type?: ...;
                                        created_on?: ...;
                                        details?: ...;
                                        external_id?: ...;
                                        line?: ...;
                                        link?: ...;
                                        path?: ...;
                                        result?: ...;
                                        severity?: ...;
                                        summary?: ...;
                                        updated_on?: ...;
                                        uuid?: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    annotationId: string;
                                    commit: string;
                                    repo_slug: string;
                                    reportId: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            annotation_type?: ...;
                                            created_on?: ...;
                                            details?: ...;
                                            external_id?: ...;
                                            line?: ...;
                                            link?: ...;
                                            path?: ...;
                                            result?: ...;
                                            severity?: ...;
                                            summary?: ...;
                                            updated_on?: ...;
                                            uuid?: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          annotationId: string;
                          commit: string;
                          repo_slug: string;
                          reportId: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "report_annotation" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  annotation_type?: "BUG" | "CODE_SMELL" | "VULNERABILITY";
                                  created_on?: string;
                                  details?: string;
                                  external_id?: string;
                                  line?: number;
                                  link?: string;
                                  path?: string;
                                  result?: "FAILED" | "PASSED" | "IGNORED" | "SKIPPED";
                                  severity?: "CRITICAL" | "HIGH" | "LOW" | "MEDIUM";
                                  summary?: string;
                                  updated_on?: string;
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              annotationId: string;
                              commit: string;
                              repo_slug: string;
                              reportId: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "report_annotation" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      annotation_type?: "BUG" | "CODE_SMELL" | "VULNERABILITY";
                                      created_on?: string;
                                      details?: string;
                                      external_id?: string;
                                      line?: number;
                                      link?: string;
                                      path?: string;
                                      result?: "FAILED" | "PASSED" | "IGNORED" | "SKIPPED";
                                      severity?: "CRITICAL" | "HIGH" | "LOW" | "MEDIUM";
                                      summary?: string;
                                      updated_on?: string;
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List annotations

      Returns a paginated list of Annotations for a specified report.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        commit: string;
                        repo_slug: string;
                        reportId: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                commit: string;
                                repo_slug: string;
                                reportId: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    commit: string;
                                    repo_slug: string;
                                    reportId: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          commit: string;
                          repo_slug: string;
                          reportId: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          annotation_type?: ...;
                                          created_on?: ...;
                                          details?: ...;
                                          external_id?: ...;
                                          line?: ...;
                                          link?: ...;
                                          path?: ...;
                                          result?: ...;
                                          severity?: ...;
                                          summary?: ...;
                                          updated_on?: ...;
                                          uuid?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              commit: string;
                              repo_slug: string;
                              reportId: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get a commit application property

      Retrieve an application property value stored against a commit.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        app_key: string;
                        commit: string;
                        property_name: string;
                        repo_slug: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                app_key: string;
                                commit: string;
                                property_name: string;
                                repo_slug: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": Readonly<(...)> & { _attributes?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    app_key: string;
                                    commit: string;
                                    property_name: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": Readonly<(...)> & { _attributes?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          app_key: string;
                          commit: string;
                          property_name: string;
                          repo_slug: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  _attributes?: readonly ((...) | (...))[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              app_key: string;
                              commit: string;
                              property_name: string;
                              repo_slug: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      _attributes?: readonly (...)[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get a deployment

      Retrieve a deployment

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { deployment_uuid: string; repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { deployment_uuid: string; repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { environment?: ...; release?: ...; state?: ...; uuid?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    deployment_uuid: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { environment?: ...; release?: ...; state?: ...; uuid?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { deployment_uuid: string; repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "deployment" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  environment?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      name?: ...;
                                      uuid?: ...;
                                  };
                                  release?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      commit?: ...;
                                      created_on?: ...;
                                      name?: ...;
                                      url?: ...;
                                      uuid?: ...;
                                  };
                                  state?: { type: ... } & Omit<(...), (...)> & Readonly<(...)>;
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { deployment_uuid: string; repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "deployment" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      environment?: (...) & (...) & (...) & (...);
                                      release?: (...) & (...) & (...) & (...);
                                      state?: (...) & (...) & (...);
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List deployments

      Find deployments

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          environment?: ...;
                                          release?: ...;
                                          state?: ...;
                                          uuid?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List variables for an environment

      Find deployment environment level variables.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { environment_uuid: string; repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                environment_uuid: string;
                                repo_slug: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    environment_uuid: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { environment_uuid: string; repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          key?: ...;
                                          secured?: ...;
                                          uuid?: ...;
                                          value?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              environment_uuid: string;
                              repo_slug: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get an environment

      Retrieve an environment

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { environment_uuid: string; repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                environment_uuid: string;
                                repo_slug: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { name?: ...; uuid?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    environment_uuid: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { name?: ...; uuid?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { environment_uuid: string; repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "deployment_environment" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  name?: string;
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              environment_uuid: string;
                              repo_slug: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "deployment_environment" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      name?: string;
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List environments

      Find environments

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          name?: ...;
                                          uuid?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get OpenID configuration for OIDC in Pipelines

      This is part of OpenID Connect for Pipelines, see https://support.atlassian.com/bitbucket-cloud/docs/integrate-pipelines-with-resource-servers-using-oidc/

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get keys for OIDC in Pipelines

      This is part of OpenID Connect for Pipelines, see https://support.atlassian.com/bitbucket-cloud/docs/integrate-pipelines-with-resource-servers-using-oidc/

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get the logs for the build container or a service container for a given step of a pipeline.

      Retrieve the log file for a build container or service container.

      This endpoint supports (and encourages!) the use of HTTP Range requests to deal with potentially very large log files.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        log_uuid: string;
                        pipeline_uuid: string;
                        repo_slug: string;
                        step_uuid: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                log_uuid: string;
                                pipeline_uuid: string;
                                repo_slug: string;
                                step_uuid: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "307": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/octet-stream": Readonly<(...)> & {
                                        error?: ...;
                                        type: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    log_uuid: string;
                                    pipeline_uuid: string;
                                    repo_slug: string;
                                    step_uuid: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "307": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/octet-stream": Readonly<(...)> & {
                                            error?: ...;
                                            type: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          log_uuid: string;
                          pipeline_uuid: string;
                          repo_slug: string;
                          step_uuid: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "307": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/octet-stream": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              log_uuid: string;
                              pipeline_uuid: string;
                              repo_slug: string;
                              step_uuid: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "307": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/octet-stream": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get a pipeline

      Retrieve a specified pipeline

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { pipeline_uuid: string; repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { pipeline_uuid: string; repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        build_number?: ...;
                                        build_seconds_used?: ...;
                                        completed_on?: ...;
                                        configuration_sources?: ...;
                                        created_on?: ...;
                                        creator?: ...;
                                        links?: ...;
                                        repository?: ...;
                                        state?: ...;
                                        target?: ...;
                                        trigger?: ...;
                                        uuid?: ...;
                                        variables?: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { pipeline_uuid: string; repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            build_number?: ...;
                                            build_seconds_used?: ...;
                                            completed_on?: ...;
                                            configuration_sources?: ...;
                                            created_on?: ...;
                                            creator?: ...;
                                            links?: ...;
                                            repository?: ...;
                                            state?: ...;
                                            target?: ...;
                                            trigger?: ...;
                                            uuid?: ...;
                                            variables?: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { pipeline_uuid: string; repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  build_number?: number;
                                  build_seconds_used?: number;
                                  completed_on?: string;
                                  configuration_sources?: readonly { source: ...; uri: ... }[];
                                  created_on?: string;
                                  creator?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      created_on?: ...;
                                      display_name?: ...;
                                      links?: ...;
                                      uuid?: ...;
                                  };
                                  links?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      self?: ...;
                                      steps?: ...;
                                  };
                                  repository?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      created_on?: ...;
                                      description?: ...;
                                      fork_policy?: ...;
                                      full_name?: ...;
                                      has_issues?: ...;
                                      has_wiki?: ...;
                                      is_private?: ...;
                                      language?: ...;
                                      links?: ...;
                                      mainbranch?: ...;
                                      name?: ...;
                                      owner?: ...;
                                      parent?: ...;
                                      project?: ...;
                                      scm?: ...;
                                      size?: ...;
                                      updated_on?: ...;
                                      uuid?: ...;
                                  };
                                  state?: { type: ... } & Omit<(...), (...)> & Readonly<(...)>;
                                  target?: { type: ... } & Omit<(...), (...)> & Readonly<(...)>;
                                  trigger?: { type: ... } & Omit<(...), (...)> & Readonly<(...)>;
                                  uuid?: string;
                                  variables?: readonly ((...) & (...) & (...) & (...))[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { pipeline_uuid: string; repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      build_number?: number;
                                      build_seconds_used?: number;
                                      completed_on?: string;
                                      configuration_sources?: readonly (...)[];
                                      created_on?: string;
                                      creator?: (...) & (...) & (...) & (...);
                                      links?: (...) & (...) & (...) & (...);
                                      repository?: (...) & (...) & (...) & (...);
                                      state?: (...) & (...) & (...);
                                      target?: (...) & (...) & (...);
                                      trigger?: (...) & (...) & (...);
                                      uuid?: string;
                                      variables?: readonly (...)[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List pipelines

      Find pipelines in a repository.

      Note that unlike other endpoints in the Bitbucket API, this endpoint utilizes query parameters to allow filtering and sorting of returned results. See query parameters for specific details.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: {
                        created_on?: string;
                        "creator.uuid"?: string;
                        page?: number;
                        pagelen?: number;
                        sort?: "created_on" | "creator.uuid" | "run_creation_date";
                        status?:
                            | "FAILED"
                            | "PASSED"
                            | "PENDING"
                            | "BUILDING"
                            | "ERROR"
                            | "HALTED"
                            | "PARSING"
                            | "PAUSED"
                            | "STOPPED"
                            | "UNKNOWN";
                        "target.branch"?: string;
                        "target.commit.hash"?: string;
                        "target.ref_name"?: string;
                        "target.ref_type"?: "ANNOTATED_TAG"
                        | "BRANCH"
                        | "TAG";
                        "target.selector.pattern"?: string;
                        "target.selector.type"?:
                            | "BRANCH"
                            | "TAG"
                            | "CUSTOM"
                            | "DEFAULT"
                            | "PULLREQUESTS";
                        trigger_type?: "MANUAL"
                        | "PARENT_STEP"
                        | "PUSH"
                        | "SCHEDULED";
                    };
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: {
                                created_on?: string;
                                "creator.uuid"?: string;
                                page?: number;
                                pagelen?: number;
                                sort?: "created_on" | "creator.uuid" | "run_creation_date";
                                status?:
                                    | "FAILED"
                                    | "PASSED"
                                    | "PENDING"
                                    | "BUILDING"
                                    | "ERROR"
                                    | "HALTED"
                                    | "PARSING"
                                    | "PAUSED"
                                    | "STOPPED"
                                    | "UNKNOWN";
                                "target.branch"?: string;
                                "target.commit.hash"?: string;
                                "target.ref_name"?: string;
                                "target.ref_type"?: "ANNOTATED_TAG"
                                | "BRANCH"
                                | "TAG";
                                "target.selector.pattern"?: string;
                                "target.selector.type"?:
                                    | "BRANCH"
                                    | "TAG"
                                    | "CUSTOM"
                                    | "DEFAULT"
                                    | "PULLREQUESTS";
                                trigger_type?: "MANUAL"
                                | "PARENT_STEP"
                                | "PUSH"
                                | "SCHEDULED";
                            };
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: {
                                    created_on?: string;
                                    "creator.uuid"?: string;
                                    page?: number;
                                    pagelen?: number;
                                    sort?: "created_on" | "creator.uuid" | "run_creation_date";
                                    status?:
                                        | "FAILED"
                                        | "PASSED"
                                        | "PENDING"
                                        | "BUILDING"
                                        | "ERROR"
                                        | "HALTED"
                                        | "PARSING"
                                        | "PAUSED"
                                        | "STOPPED"
                                        | "UNKNOWN";
                                    "target.branch"?: string;
                                    "target.commit.hash"?: string;
                                    "target.ref_name"?: string;
                                    "target.ref_type"?: "ANNOTATED_TAG"
                                    | "BRANCH"
                                    | "TAG";
                                    "target.selector.pattern"?: string;
                                    "target.selector.type"?:
                                        | "BRANCH"
                                        | "TAG"
                                        | "CUSTOM"
                                        | "DEFAULT"
                                        | "PULLREQUESTS";
                                    trigger_type?: "MANUAL"
                                    | "PARENT_STEP"
                                    | "PUSH"
                                    | "SCHEDULED";
                                };
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: {
                          created_on?: string;
                          "creator.uuid"?: string;
                          page?: number;
                          pagelen?: number;
                          sort?: "created_on" | "creator.uuid" | "run_creation_date";
                          status?:
                              | "FAILED"
                              | "PASSED"
                              | "PENDING"
                              | "BUILDING"
                              | "ERROR"
                              | "HALTED"
                              | "PARSING"
                              | "PAUSED"
                              | "STOPPED"
                              | "UNKNOWN";
                          "target.branch"?: string;
                          "target.commit.hash"?: string;
                          "target.ref_name"?: string;
                          "target.ref_type"?: "ANNOTATED_TAG"
                          | "BRANCH"
                          | "TAG";
                          "target.selector.pattern"?: string;
                          "target.selector.type"?:
                              | "BRANCH"
                              | "TAG"
                              | "CUSTOM"
                              | "DEFAULT"
                              | "PULLREQUESTS";
                          trigger_type?: "MANUAL"
                          | "PARENT_STEP"
                          | "PUSH"
                          | "SCHEDULED";
                      };
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          build_number?: ...;
                                          build_seconds_used?: ...;
                                          completed_on?: ...;
                                          configuration_sources?: ...;
                                          created_on?: ...;
                                          creator?: ...;
                                          links?: ...;
                                          repository?: ...;
                                          state?: ...;
                                          target?: ...;
                                          trigger?: ...;
                                          uuid?: ...;
                                          variables?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: {
                              created_on?: string;
                              "creator.uuid"?: string;
                              page?: number;
                              pagelen?: number;
                              sort?: "created_on" | "creator.uuid" | "run_creation_date";
                              status?:
                                  | "FAILED"
                                  | "PASSED"
                                  | "PENDING"
                                  | "BUILDING"
                                  | "ERROR"
                                  | "HALTED"
                                  | "PARSING"
                                  | "PAUSED"
                                  | "STOPPED"
                                  | "UNKNOWN";
                              "target.branch"?: string;
                              "target.commit.hash"?: string;
                              "target.ref_name"?: string;
                              "target.ref_type"?: "ANNOTATED_TAG"
                              | "BRANCH"
                              | "TAG";
                              "target.selector.pattern"?: string;
                              "target.selector.type"?:
                                  | "BRANCH"
                                  | "TAG"
                                  | "CUSTOM"
                                  | "DEFAULT"
                                  | "PULLREQUESTS";
                              trigger_type?: "MANUAL"
                              | "PARENT_STEP"
                              | "PUSH"
                              | "SCHEDULED";
                          };
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get a step of a pipeline

      Retrieve a given step of a pipeline.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        pipeline_uuid: string;
                        repo_slug: string;
                        step_uuid: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                pipeline_uuid: string;
                                repo_slug: string;
                                step_uuid: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        completed_on?: ...;
                                        image?: ...;
                                        script_commands?: ...;
                                        setup_commands?: ...;
                                        started_on?: ...;
                                        state?: ...;
                                        uuid?: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    pipeline_uuid: string;
                                    repo_slug: string;
                                    step_uuid: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            completed_on?: ...;
                                            image?: ...;
                                            script_commands?: ...;
                                            setup_commands?: ...;
                                            started_on?: ...;
                                            state?: ...;
                                            uuid?: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          pipeline_uuid: string;
                          repo_slug: string;
                          step_uuid: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_step" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  completed_on?: string;
                                  image?: {
                                      email?: (...) | (...);
                                      name?: (...) | (...);
                                      password?: (...) | (...);
                                      username?: (...) | (...);
                                  };
                                  script_commands?: readonly { command?: ...; name?: ... }[];
                                  setup_commands?: readonly { command?: ...; name?: ... }[];
                                  started_on?: string;
                                  state?: { type: ... } & Omit<(...), (...)> & Readonly<(...)>;
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              pipeline_uuid: string;
                              repo_slug: string;
                              step_uuid: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_step" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      completed_on?: string;
                                      image?: { email?: ...; name?: ...; password?: ...; username?: ... };
                                      script_commands?: readonly (...)[];
                                      setup_commands?: readonly (...)[];
                                      started_on?: string;
                                      state?: (...) & (...) & (...);
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get log file for a step

      Retrieve the log file for a given step of a pipeline.

      This endpoint supports (and encourages!) the use of HTTP Range requests to deal with potentially very large log files.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        pipeline_uuid: string;
                        repo_slug: string;
                        step_uuid: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                pipeline_uuid: string;
                                repo_slug: string;
                                step_uuid: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "304": {
                                content: {
                                    "application/octet-stream": Readonly<(...)> & {
                                        error?: ...;
                                        type: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "307": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/octet-stream": Readonly<(...)> & {
                                        error?: ...;
                                        type: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "416": {
                                content: {
                                    "application/octet-stream": Readonly<(...)> & {
                                        error?: ...;
                                        type: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    pipeline_uuid: string;
                                    repo_slug: string;
                                    step_uuid: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "304": {
                                    content: {
                                        "application/octet-stream": Readonly<(...)> & {
                                            error?: ...;
                                            type: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "307": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/octet-stream": Readonly<(...)> & {
                                            error?: ...;
                                            type: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "416": {
                                    content: {
                                        "application/octet-stream": Readonly<(...)> & {
                                            error?: ...;
                                            type: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          pipeline_uuid: string;
                          repo_slug: string;
                          step_uuid: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "304": {
                          content: {
                              "application/octet-stream": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "307": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/octet-stream": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "416": {
                          content: {
                              "application/octet-stream": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              pipeline_uuid: string;
                              repo_slug: string;
                              step_uuid: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "304": {
                              content: {
                                  "application/octet-stream": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "307": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/octet-stream": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "416": {
                              content: {
                                  "application/octet-stream": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List steps for a pipeline

      Find steps for the given pipeline.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { pipeline_uuid: string; repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { pipeline_uuid: string; repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { pipeline_uuid: string; repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { pipeline_uuid: string; repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          completed_on?: ...;
                                          image?: ...;
                                          script_commands?: ...;
                                          setup_commands?: ...;
                                          started_on?: ...;
                                          state?: ...;
                                          uuid?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { pipeline_uuid: string; repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get a summary of test reports for a given step of a pipeline.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        pipeline_uuid: string;
                        repo_slug: string;
                        step_uuid: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                pipeline_uuid: string;
                                repo_slug: string;
                                step_uuid: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    pipeline_uuid: string;
                                    repo_slug: string;
                                    step_uuid: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          pipeline_uuid: string;
                          repo_slug: string;
                          step_uuid: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              pipeline_uuid: string;
                              repo_slug: string;
                              step_uuid: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get test case reasons (output) for a given test case in a step of a pipeline.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        pipeline_uuid: string;
                        repo_slug: string;
                        step_uuid: string;
                        test_case_uuid: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                pipeline_uuid: string;
                                repo_slug: string;
                                step_uuid: string;
                                test_case_uuid: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    pipeline_uuid: string;
                                    repo_slug: string;
                                    step_uuid: string;
                                    test_case_uuid: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          pipeline_uuid: string;
                          repo_slug: string;
                          step_uuid: string;
                          test_case_uuid: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              pipeline_uuid: string;
                              repo_slug: string;
                              step_uuid: string;
                              test_case_uuid: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get test cases for a given step of a pipeline.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        pipeline_uuid: string;
                        repo_slug: string;
                        step_uuid: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                pipeline_uuid: string;
                                repo_slug: string;
                                step_uuid: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    pipeline_uuid: string;
                                    repo_slug: string;
                                    step_uuid: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          pipeline_uuid: string;
                          repo_slug: string;
                          step_uuid: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              pipeline_uuid: string;
                              repo_slug: string;
                              step_uuid: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get a variable for a team

      Retrieve a team level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see the announcement.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { username: string; variable_uuid: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { username: string; variable_uuid: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { username: string; variable_uuid: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { username: string; variable_uuid: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { username: string; variable_uuid: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_variable" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      key?: string;
                                      secured?: boolean;
                                      uuid?: string;
                                      value?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get a variable for a user

      Retrieve a user level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see the announcement.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { selected_user: string; variable_uuid: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { selected_user: string; variable_uuid: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { selected_user: string; variable_uuid: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { selected_user: string; variable_uuid: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { selected_user: string; variable_uuid: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_variable" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      key?: string;
                                      secured?: boolean;
                                      uuid?: string;
                                      value?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get variable for a workspace

      Retrieve a workspace level variable.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { variable_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { variable_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { variable_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { variable_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { variable_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_variable" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      key?: string;
                                      secured?: boolean;
                                      uuid?: string;
                                      value?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List variables for an account

      Find account level variables. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see the announcement.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { username: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { username: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { username: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { username: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          key?: ...;
                                          secured?: ...;
                                          uuid?: ...;
                                          value?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { username: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List variables for a user

      Find user level variables. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see the announcement.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { selected_user: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { selected_user: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { selected_user: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { selected_user: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          key?: ...;
                                          secured?: ...;
                                          uuid?: ...;
                                          value?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { selected_user: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List variables for a workspace

      Find workspace level variables.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          key?: ...;
                                          secured?: ...;
                                          uuid?: ...;
                                          value?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get a pull request application property

      Retrieve an application property value stored against a pull request.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        app_key: string;
                        property_name: string;
                        pullrequest_id: string;
                        repo_slug: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                app_key: string;
                                property_name: string;
                                pullrequest_id: string;
                                repo_slug: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": Readonly<(...)> & { _attributes?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    app_key: string;
                                    property_name: string;
                                    pullrequest_id: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": Readonly<(...)> & { _attributes?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          app_key: string;
                          property_name: string;
                          pullrequest_id: string;
                          repo_slug: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  _attributes?: readonly ((...) | (...))[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              app_key: string;
                              property_name: string;
                              pullrequest_id: string;
                              repo_slug: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      _attributes?: readonly (...)[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List pull requests that contain a commit

      Returns a paginated list of all pull requests as part of which this commit was reviewed. Pull Request Commit Links app must be installed first before using this API; installation automatically occurs when 'Go to pull request' is clicked from the web interface for a commit's details.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { commit: string; repo_slug: string; workspace: string };
                    query?: { page?: number; pagelen?: number };
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { commit: string; repo_slug: string; workspace: string };
                            query?: { page?: number; pagelen?: number };
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "202": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { commit: string; repo_slug: string; workspace: string };
                                query?: { page?: number; pagelen?: number };
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "202": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { commit: string; repo_slug: string; workspace: string };
                      query?: { page?: number; pagelen?: number };
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          author?: ...;
                                          close_source_branch?: ...;
                                          closed_by?: ...;
                                          comment_count?: ...;
                                          created_on?: ...;
                                          destination?: ...;
                                          draft?: ...;
                                          id?: ...;
                                          links?: ...;
                                          merge_commit?: ...;
                                          mergeable?: ...;
                                          participants?: ...;
                                          queued?: ...;
                                          reason?: ...;
                                          rendered?: ...;
                                          reviewers?: ...;
                                          source?: ...;
                                          state?: ...;
                                          summary?: ...;
                                          task_count?: ...;
                                          title?: ...;
                                          updated_on?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "202": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          author?: ...;
                                          close_source_branch?: ...;
                                          closed_by?: ...;
                                          comment_count?: ...;
                                          created_on?: ...;
                                          destination?: ...;
                                          draft?: ...;
                                          id?: ...;
                                          links?: ...;
                                          merge_commit?: ...;
                                          mergeable?: ...;
                                          participants?: ...;
                                          queued?: ...;
                                          reason?: ...;
                                          rendered?: ...;
                                          reviewers?: ...;
                                          source?: ...;
                                          state?: ...;
                                          summary?: ...;
                                          task_count?: ...;
                                          title?: ...;
                                          updated_on?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { commit: string; repo_slug: string; workspace: string };
                          query?: { page?: number; pagelen?: number };
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "202": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get a report

      Returns a single Report matching the provided ID.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        commit: string;
                        repo_slug: string;
                        reportId: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                commit: string;
                                repo_slug: string;
                                reportId: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        created_on?: ...;
                                        data?: ...;
                                        details?: ...;
                                        external_id?: ...;
                                        link?: ...;
                                        logo_url?: ...;
                                        remote_link_enabled?: ...;
                                        report_type?: ...;
                                        reporter?: ...;
                                        result?: ...;
                                        title?: ...;
                                        updated_on?: ...;
                                        uuid?: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    commit: string;
                                    repo_slug: string;
                                    reportId: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            created_on?: ...;
                                            data?: ...;
                                            details?: ...;
                                            external_id?: ...;
                                            link?: ...;
                                            logo_url?: ...;
                                            remote_link_enabled?: ...;
                                            report_type?: ...;
                                            reporter?: ...;
                                            result?: ...;
                                            title?: ...;
                                            updated_on?: ...;
                                            uuid?: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          commit: string;
                          repo_slug: string;
                          reportId: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "report" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  created_on?: string;
                                  data?: readonly { title?: ...; type?: ...; value?: ... }[];
                                  details?: string;
                                  external_id?: string;
                                  link?: string;
                                  logo_url?: string;
                                  remote_link_enabled?: boolean;
                                  report_type?: "BUG" | "COVERAGE" | "SECURITY" | "TEST";
                                  reporter?: string;
                                  result?: "FAILED" | "PASSED" | "PENDING";
                                  title?: string;
                                  updated_on?: string;
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              commit: string;
                              repo_slug: string;
                              reportId: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "report" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      created_on?: string;
                                      data?: readonly (...)[];
                                      details?: string;
                                      external_id?: string;
                                      link?: string;
                                      logo_url?: string;
                                      remote_link_enabled?: boolean;
                                      report_type?: "BUG" | "COVERAGE" | "SECURITY" | "TEST";
                                      reporter?: string;
                                      result?: "FAILED" | "PASSED" | "PENDING";
                                      title?: string;
                                      updated_on?: string;
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List reports

      Returns a paginated list of Reports linked to this commit.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { commit: string; repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { commit: string; repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { commit: string; repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { commit: string; repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          created_on?: ...;
                                          data?: ...;
                                          details?: ...;
                                          external_id?: ...;
                                          link?: ...;
                                          logo_url?: ...;
                                          remote_link_enabled?: ...;
                                          report_type?: ...;
                                          reporter?: ...;
                                          result?: ...;
                                          title?: ...;
                                          updated_on?: ...;
                                          uuid?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { commit: string; repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get a repository application property

      Retrieve an application property value stored against a repository.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        app_key: string;
                        property_name: string;
                        repo_slug: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                app_key: string;
                                property_name: string;
                                repo_slug: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": Readonly<(...)> & { _attributes?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    app_key: string;
                                    property_name: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": Readonly<(...)> & { _attributes?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          app_key: string;
                          property_name: string;
                          repo_slug: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  _attributes?: readonly ((...) | (...))[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              app_key: string;
                              property_name: string;
                              repo_slug: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      _attributes?: readonly (...)[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get cache content URI

      Retrieve the URI of the content of the specified cache.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { cache_uuid: string; repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { cache_uuid: string; repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: { "application/json": { uri?: (...)
                                | (...) } };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { cache_uuid: string; repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: { "application/json": { uri?: (...)
                                    | (...) } };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { cache_uuid: string; repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: { "application/json": { uri?: string } };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { cache_uuid: string; repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: { "application/json": { uri?: string } };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List caches

      Retrieve the repository pipelines caches.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          created_on?: ...;
                                          file_size_bytes?: ...;
                                          key_hash?: ...;
                                          name?: ...;
                                          path?: ...;
                                          pipeline_uuid?: ...;
                                          step_uuid?: ...;
                                          uuid?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get configuration

      Retrieve the repository pipelines configuration.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { enabled?: ...; repository?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { enabled?: ...; repository?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipelines_config" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  enabled?: boolean;
                                  repository?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      created_on?: ...;
                                      description?: ...;
                                      fork_policy?: ...;
                                      full_name?: ...;
                                      has_issues?: ...;
                                      has_wiki?: ...;
                                      is_private?: ...;
                                      language?: ...;
                                      links?: ...;
                                      mainbranch?: ...;
                                      name?: ...;
                                      owner?: ...;
                                      parent?: ...;
                                      project?: ...;
                                      scm?: ...;
                                      size?: ...;
                                      updated_on?: ...;
                                      uuid?: ...;
                                  };
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipelines_config" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      enabled?: boolean;
                                      repository?: (...) & (...) & (...) & (...);
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get a known host

      Retrieve a repository level known host.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { known_host_uuid: string; repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { known_host_uuid: string; repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { hostname?: ...; public_key?: ...; uuid?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    known_host_uuid: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { hostname?: ...; public_key?: ...; uuid?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { known_host_uuid: string; repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_known_host" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  hostname?: string;
                                  public_key?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      key?: ...;
                                      key_type?: ...;
                                      md5_fingerprint?: ...;
                                      sha256_fingerprint?: ...;
                                  };
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { known_host_uuid: string; repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_known_host" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      hostname?: string;
                                      public_key?: (...) & (...) & (...) & (...);
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List known hosts

      Find repository level known hosts.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          hostname?: ...;
                                          public_key?: ...;
                                          uuid?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get a schedule

      Retrieve a schedule by its UUID.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; schedule_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; schedule_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        created_on?: ...;
                                        cron_pattern?: ...;
                                        enabled?: ...;
                                        target?: ...;
                                        updated_on?: ...;
                                        uuid?: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; schedule_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            created_on?: ...;
                                            cron_pattern?: ...;
                                            enabled?: ...;
                                            target?: ...;
                                            updated_on?: ...;
                                            uuid?: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; schedule_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_schedule" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  created_on?: string;
                                  cron_pattern?: string;
                                  enabled?: boolean;
                                  target?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      commit?: ...;
                                      ref_name?: ...;
                                      ref_type?: ...;
                                      selector?: ...;
                                  };
                                  updated_on?: string;
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; schedule_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_schedule" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      created_on?: string;
                                      cron_pattern?: string;
                                      enabled?: boolean;
                                      target?: (...) & (...) & (...) & (...);
                                      updated_on?: string;
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List executions of a schedule

      Retrieve the executions of a given schedule.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; schedule_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; schedule_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; schedule_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; schedule_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)>
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; schedule_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List schedules

      Retrieve the configured schedules for the given repository.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          created_on?: ...;
                                          cron_pattern?: ...;
                                          enabled?: ...;
                                          target?: ...;
                                          updated_on?: ...;
                                          uuid?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get SSH key pair

      Retrieve the repository SSH key pair excluding the SSH private key. The private key is a write only field and will never be exposed in the logs or the REST API.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { private_key?: ...; public_key?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { private_key?: ...; public_key?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_ssh_key_pair" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  private_key?: string;
                                  public_key?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_ssh_key_pair" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      private_key?: string;
                                      public_key?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get a variable for a repository

      Retrieve a repository level variable.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; variable_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; variable_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; variable_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; variable_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; variable_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_variable" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      key?: string;
                                      secured?: boolean;
                                      uuid?: string;
                                      value?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • List variables for a repository

      Find repository level variables.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          key?: ...;
                                          secured?: ...;
                                          uuid?: ...;
                                          value?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get repository runner

      Retrieve repository runner by uuid.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; runner_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; runner_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        created_on?: ...;
                                        labels?: ...;
                                        name?: ...;
                                        oauth_client?: ...;
                                        state?: ...;
                                        updated_on?: ...;
                                        uuid?: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; runner_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            created_on?: ...;
                                            labels?: ...;
                                            name?: ...;
                                            oauth_client?: ...;
                                            state?: ...;
                                            updated_on?: ...;
                                            uuid?: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; runner_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_runner" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  created_on?: string;
                                  labels?: readonly string[];
                                  name?: string;
                                  oauth_client?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      audience?: ...;
                                      id?: ...;
                                      secret?: ...;
                                      token_endpoint?: ...;
                                  };
                                  state?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      cordoned?: ...;
                                      status?: ...;
                                      updated_on?: ...;
                                      version?: ...;
                                  };
                                  updated_on?: string;
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; runner_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_runner" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      created_on?: string;
                                      labels?: readonly (...)[];
                                      name?: string;
                                      oauth_client?: (...) & (...) & (...) & (...);
                                      state?: (...) & (...) & (...) & (...);
                                      updated_on?: string;
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get repository runners

      Retrieve repository runners.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          created_on?: ...;
                                          labels?: ...;
                                          name?: ...;
                                          oauth_client?: ...;
                                          state?: ...;
                                          updated_on?: ...;
                                          uuid?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get workspace runner

      Get workspace runner by uuid.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { runner_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { runner_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        created_on?: ...;
                                        labels?: ...;
                                        name?: ...;
                                        oauth_client?: ...;
                                        state?: ...;
                                        updated_on?: ...;
                                        uuid?: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { runner_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            created_on?: ...;
                                            labels?: ...;
                                            name?: ...;
                                            oauth_client?: ...;
                                            state?: ...;
                                            updated_on?: ...;
                                            uuid?: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { runner_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_runner" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  created_on?: string;
                                  labels?: readonly string[];
                                  name?: string;
                                  oauth_client?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      audience?: ...;
                                      id?: ...;
                                      secret?: ...;
                                      token_endpoint?: ...;
                                  };
                                  state?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      cordoned?: ...;
                                      status?: ...;
                                      updated_on?: ...;
                                      version?: ...;
                                  };
                                  updated_on?: string;
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { runner_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_runner" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      created_on?: string;
                                      labels?: readonly (...)[];
                                      name?: string;
                                      oauth_client?: (...) & (...) & (...) & (...);
                                      state?: (...) & (...) & (...) & (...);
                                      updated_on?: string;
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get workspace runners

      Retrieve workspace runners.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  size?: number;
                                  values?: readonly (
                                      { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                          created_on?: ...;
                                          labels?: ...;
                                          name?: ...;
                                          oauth_client?: ...;
                                          state?: ...;
                                          updated_on?: ...;
                                          uuid?: ...;
                                      }
                                  )[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      size?: number;
                                      values?: readonly ((...) & (...) & (...) & (...))[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Get a user application property

      Retrieve an application property value stored against a user.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { app_key: string; property_name: string; selected_user: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { app_key: string; property_name: string; selected_user: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": Readonly<(...)> & { _attributes?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    app_key: string;
                                    property_name: string;
                                    selected_user: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": Readonly<(...)> & { _attributes?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { app_key: string; property_name: string; selected_user: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  _attributes?: readonly ((...) | (...))[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { app_key: string; property_name: string; selected_user: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      _attributes?: readonly (...)[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Search for code in a user's repositories

      This API will be deprecated on November 1, 2026.

      Search for code in the repositories of the specified user.

      Note that searches can match in the file's text (content_matches), the path (path_matches), or both.

      You can use the same syntax for the search query as in the UI. E.g. to search for "foo" only within the repository "demo", use the query parameter search_query=foo+repo:demo.

      Similar to other APIs, you can request more fields using a fields query parameter. E.g. to get some more information about the repository of matched files, use the query parameter search_query=foo&fields=%2Bvalues.file.commit.repository (the %2B is a URL-encoded +).

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { selected_user: string };
                    query: { page?: number; pagelen?: number; search_query: string };
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { selected_user: string };
                            query: { page?: number; pagelen?: number; search_query: string };
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        query_substituted?: (...) | (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "400": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "429": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { selected_user: string };
                                query: { page?: number; pagelen?: number; search_query: string };
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            query_substituted?: (...) | (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "400": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "429": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { selected_user: string };
                      query: { page?: number; pagelen?: number; search_query: string };
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  query_substituted?: boolean;
                                  size?: number;
                                  values?: readonly {
                                      content_match_count?: (...)
                                      | (...);
                                      content_matches?: (...) | (...);
                                      file?: (...) | (...);
                                      path_matches?: (...) | (...);
                                      type?: (...) | (...);
                                  }[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "400": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "429": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { selected_user: string };
                          query: { page?: number; pagelen?: number; search_query: string };
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      query_substituted?: boolean;
                                      size?: number;
                                      values?: readonly {
                                          content_match_count?: ...;
                                          content_matches?: ...;
                                          file?: ...;
                                          path_matches?: ...;
                                          type?: ...;
                                      }[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "400": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "429": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Search for code in a team's repositories

      This API will be deprecated on November 1, 2026.

      Search for code in the repositories of the specified team.

      Note that searches can match in the file's text (content_matches), the path (path_matches), or both.

      You can use the same syntax for the search query as in the UI. E.g. to search for "foo" only within the repository "demo", use the query parameter search_query=foo+repo:demo.

      Similar to other APIs, you can request more fields using a fields query parameter. E.g. to get some more information about the repository of matched files, use the query parameter search_query=foo&fields=%2Bvalues.file.commit.repository (the %2B is a URL-encoded +).

      Try fields=%2Bvalues.*.*.*.* to get an idea what's possible.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { username: string };
                    query: { page?: number; pagelen?: number; search_query: string };
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { username: string };
                            query: { page?: number; pagelen?: number; search_query: string };
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        query_substituted?: (...) | (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "400": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "429": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { username: string };
                                query: { page?: number; pagelen?: number; search_query: string };
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            query_substituted?: (...) | (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "400": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "429": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { username: string };
                      query: { page?: number; pagelen?: number; search_query: string };
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  query_substituted?: boolean;
                                  size?: number;
                                  values?: readonly {
                                      content_match_count?: (...)
                                      | (...);
                                      content_matches?: (...) | (...);
                                      file?: (...) | (...);
                                      path_matches?: (...) | (...);
                                      type?: (...) | (...);
                                  }[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "400": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "429": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { username: string };
                          query: { page?: number; pagelen?: number; search_query: string };
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      query_substituted?: boolean;
                                      size?: number;
                                      values?: readonly {
                                          content_match_count?: ...;
                                          content_matches?: ...;
                                          file?: ...;
                                          path_matches?: ...;
                                          type?: ...;
                                      }[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "400": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "429": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Search for code in a workspace

      This API will be deprecated on November 1, 2026.

      Search for code in the repositories of the specified workspace.

      Note that searches can match in the file's text (content_matches), the path (path_matches), or both.

      You can use the same syntax for the search query as in the UI. E.g. to search for "foo" only within the repository "demo", use the query parameter search_query=foo+repo:demo.

      Similar to other APIs, you can request more fields using a fields query parameter. E.g. to get some more information about the repository of matched files, use the query parameter search_query=foo&fields=%2Bvalues.file.commit.repository (the %2B is a URL-encoded +).

      Try fields=%2Bvalues.*.*.*.* to get an idea what's possible.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { workspace: string };
                    query: { page?: number; pagelen?: number; search_query: string };
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { workspace: string };
                            query: { page?: number; pagelen?: number; search_query: string };
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": {
                                        next?: (...)
                                        | (...);
                                        page?: (...) | (...);
                                        pagelen?: (...) | (...);
                                        previous?: (...) | (...);
                                        query_substituted?: (...) | (...) | (...);
                                        size?: (...) | (...);
                                        values?: (...) | (...);
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "400": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "429": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { workspace: string };
                                query: { page?: number; pagelen?: number; search_query: string };
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": {
                                            next?: (...)
                                            | (...);
                                            page?: (...) | (...);
                                            pagelen?: (...) | (...);
                                            previous?: (...) | (...);
                                            query_substituted?: (...) | (...) | (...);
                                            size?: (...) | (...);
                                            values?: (...) | (...);
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "400": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "429": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { workspace: string };
                      query: { page?: number; pagelen?: number; search_query: string };
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": {
                                  next?: string;
                                  page?: number;
                                  pagelen?: number;
                                  previous?: string;
                                  query_substituted?: boolean;
                                  size?: number;
                                  values?: readonly {
                                      content_match_count?: (...)
                                      | (...);
                                      content_matches?: (...) | (...);
                                      file?: (...) | (...);
                                      path_matches?: (...) | (...);
                                      type?: (...) | (...);
                                  }[];
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "400": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "429": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { workspace: string };
                          query: { page?: number; pagelen?: number; search_query: string };
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": {
                                      next?: string;
                                      page?: number;
                                      pagelen?: number;
                                      previous?: string;
                                      query_substituted?: boolean;
                                      size?: number;
                                      values?: readonly {
                                          content_match_count?: ...;
                                          content_matches?: ...;
                                          file?: ...;
                                          path_matches?: ...;
                                          type?: ...;
                                      }[];
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "400": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "429": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Stop a pipeline

      Signal the stop of a pipeline and all of its steps that not have completed yet.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { pipeline_uuid: string; repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { pipeline_uuid: string; repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "400": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { pipeline_uuid: string; repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "400": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { pipeline_uuid: string; repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "400": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { pipeline_uuid: string; repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "400": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update a commit application property

      Update an application property value stored against a commit.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        app_key: string;
                        commit: string;
                        property_name: string;
                        repo_slug: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & {
                body: {
                    _attributes?: {
                        "[iterator]": {} & {};
                        "[unscopables]": {
                            "[iterator]"?: (...)
                            | (...)
                            | (...);
                            "[unscopables]"?: (...) | (...) | (...);
                            at?: (...) | (...) | (...);
                            concat?: (...) | (...) | (...);
                            entries?: (...) | (...) | (...);
                            every?: (...) | (...) | (...);
                            filter?: (...) | (...) | (...);
                            find?: (...) | (...) | (...);
                            findIndex?: (...) | (...) | (...);
                            findLast?: (...) | (...) | (...);
                            findLastIndex?: (...) | (...) | (...);
                            flat?: (...) | (...) | (...);
                            flatMap?: (...) | (...) | (...);
                            forEach?: (...) | (...) | (...);
                            includes?: (...) | (...) | (...);
                            indexOf?: (...) | (...) | (...);
                            join?: (...) | (...) | (...);
                            keys?: (...) | (...) | (...);
                            lastIndexOf?: (...) | (...) | (...);
                            length?: (...) | (...) | (...);
                            map?: (...) | (...) | (...);
                            reduce?: (...) | (...) | (...);
                            reduceRight?: (...) | (...) | (...);
                            slice?: (...) | (...) | (...);
                            some?: (...) | (...) | (...);
                            toLocaleString?: (...) | (...) | (...);
                            toReversed?: (...) | (...) | (...);
                            toSorted?: (...) | (...) | (...);
                            toSpliced?: (...) | (...) | (...);
                            toString?: (...) | (...) | (...);
                            values?: (...) | (...) | (...);
                            with?: (...) | (...) | (...);
                            readonly [key: number]: (...) | (...) | (...);
                        } & {};
                        at: {} & {};
                        concat: {} & {};
                        entries: {} & {};
                        every: {} & {};
                        filter: {} & {};
                        find: {} & {};
                        findIndex: {} & {};
                        findLast: {} & {};
                        findLastIndex: {} & {};
                        flat: {} & {};
                        flatMap: {} & {};
                        forEach: {} & {};
                        includes: {} & {};
                        indexOf: {} & {};
                        join: {} & {};
                        keys: {} & {};
                        lastIndexOf: {} & {};
                        length: number;
                        map: {} & {};
                        reduce: {} & {};
                        reduceRight: {} & {};
                        slice: {} & {};
                        some: {} & {};
                        toLocaleString: {} & {};
                        toReversed: {} & {};
                        toSorted: {} & {};
                        toSpliced: {} & {};
                        toString: {} & {};
                        values: {} & {};
                        with: {} & {};
                        readonly [key: number]: "public"
                        | "read_only";
                    } & {};
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                app_key: string;
                                commit: string;
                                property_name: string;
                                repo_slug: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": Readonly<Record<(...), (...)>> & {
                                    _attributes?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    app_key: string;
                                    commit: string;
                                    property_name: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": Readonly<Record<(...), (...)>> & {
                                        _attributes?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          app_key: string;
                          commit: string;
                          property_name: string;
                          repo_slug: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": Readonly<Record<string, unknown>> & {
                              _attributes?: readonly ("public" | "read_only")[];
                          };
                      };
                  };
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              app_key: string;
                              commit: string;
                              property_name: string;
                              repo_slug: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  _attributes?: readonly ((...) | (...))[];
                              };
                          };
                      };
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update a variable for an environment

      Update a deployment environment level variable.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        environment_uuid: string;
                        repo_slug: string;
                        variable_uuid: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & {
                body: {
                    key?: string;
                    secured?: boolean;
                    type: "deployment_variable";
                    uuid?: string;
                    value?: string;
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                environment_uuid: string;
                                repo_slug: string;
                                variable_uuid: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "deployment_variable" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    key?: (...) | (...);
                                    secured?: (...) | (...) | (...);
                                    uuid?: (...) | (...);
                                    value?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    environment_uuid: string;
                                    repo_slug: string;
                                    variable_uuid: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "deployment_variable" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        key?: (...) | (...);
                                        secured?: (...) | (...) | (...);
                                        uuid?: (...) | (...);
                                        value?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          environment_uuid: string;
                          repo_slug: string;
                          variable_uuid: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "deployment_variable" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              key?: string;
                              secured?: boolean;
                              uuid?: string;
                              value?: string;
                          };
                      };
                  };
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "deployment_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              environment_uuid: string;
                              repo_slug: string;
                              variable_uuid: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "deployment_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                      };
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "deployment_variable" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      key?: string;
                                      secured?: boolean;
                                      uuid?: string;
                                      value?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update an environment

      Update an environment

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { environment_uuid: string; repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                environment_uuid: string;
                                repo_slug: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "202": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    environment_uuid: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "202": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { environment_uuid: string; repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "202": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              environment_uuid: string;
                              repo_slug: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "202": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update a variable for a team

      Update a team level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see the announcement.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { username: string; variable_uuid: string };
                    query?: undefined;
                };
            } & {
                body: {
                    key?: string;
                    secured?: boolean;
                    type: "pipeline_variable";
                    uuid?: string;
                    value?: string;
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { username: string; variable_uuid: string };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "pipeline_variable" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    key?: (...) | (...);
                                    secured?: (...) | (...) | (...);
                                    uuid?: (...) | (...);
                                    value?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { username: string; variable_uuid: string };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "pipeline_variable" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        key?: (...) | (...);
                                        secured?: (...) | (...) | (...);
                                        uuid?: (...) | (...);
                                        value?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { username: string; variable_uuid: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "pipeline_variable" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              key?: string;
                              secured?: boolean;
                              uuid?: string;
                              value?: string;
                          };
                      };
                  };
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { username: string; variable_uuid: string };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                      };
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_variable" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      key?: string;
                                      secured?: boolean;
                                      uuid?: string;
                                      value?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update a variable for a user

      Update a user level variable. This endpoint has been deprecated, and you should use the new workspaces endpoint. For more information, see the announcement.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { selected_user: string; variable_uuid: string };
                    query?: undefined;
                };
            } & {
                body: {
                    key?: string;
                    secured?: boolean;
                    type: "pipeline_variable";
                    uuid?: string;
                    value?: string;
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { selected_user: string; variable_uuid: string };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "pipeline_variable" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    key?: (...) | (...);
                                    secured?: (...) | (...) | (...);
                                    uuid?: (...) | (...);
                                    value?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { selected_user: string; variable_uuid: string };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "pipeline_variable" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        key?: (...) | (...);
                                        secured?: (...) | (...) | (...);
                                        uuid?: (...) | (...);
                                        value?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { selected_user: string; variable_uuid: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "pipeline_variable" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              key?: string;
                              secured?: boolean;
                              uuid?: string;
                              value?: string;
                          };
                      };
                  };
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { selected_user: string; variable_uuid: string };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                      };
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_variable" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      key?: string;
                                      secured?: boolean;
                                      uuid?: string;
                                      value?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update variable for a workspace

      Update a workspace level variable.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { variable_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & {
                body: {
                    key?: string;
                    secured?: boolean;
                    type: "pipeline_variable";
                    uuid?: string;
                    value?: string;
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { variable_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "pipeline_variable" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    key?: (...) | (...);
                                    secured?: (...) | (...) | (...);
                                    uuid?: (...) | (...);
                                    value?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { variable_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "pipeline_variable" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        key?: (...) | (...);
                                        secured?: (...) | (...) | (...);
                                        uuid?: (...) | (...);
                                        value?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { variable_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "pipeline_variable" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              key?: string;
                              secured?: boolean;
                              uuid?: string;
                              value?: string;
                          };
                      };
                  };
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { variable_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                      };
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_variable" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      key?: string;
                                      secured?: boolean;
                                      uuid?: string;
                                      value?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update a pull request application property

      Update an application property value stored against a pull request.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        app_key: string;
                        property_name: string;
                        pullrequest_id: string;
                        repo_slug: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & {
                body: {
                    _attributes?: {
                        "[iterator]": {} & {};
                        "[unscopables]": {
                            "[iterator]"?: (...)
                            | (...)
                            | (...);
                            "[unscopables]"?: (...) | (...) | (...);
                            at?: (...) | (...) | (...);
                            concat?: (...) | (...) | (...);
                            entries?: (...) | (...) | (...);
                            every?: (...) | (...) | (...);
                            filter?: (...) | (...) | (...);
                            find?: (...) | (...) | (...);
                            findIndex?: (...) | (...) | (...);
                            findLast?: (...) | (...) | (...);
                            findLastIndex?: (...) | (...) | (...);
                            flat?: (...) | (...) | (...);
                            flatMap?: (...) | (...) | (...);
                            forEach?: (...) | (...) | (...);
                            includes?: (...) | (...) | (...);
                            indexOf?: (...) | (...) | (...);
                            join?: (...) | (...) | (...);
                            keys?: (...) | (...) | (...);
                            lastIndexOf?: (...) | (...) | (...);
                            length?: (...) | (...) | (...);
                            map?: (...) | (...) | (...);
                            reduce?: (...) | (...) | (...);
                            reduceRight?: (...) | (...) | (...);
                            slice?: (...) | (...) | (...);
                            some?: (...) | (...) | (...);
                            toLocaleString?: (...) | (...) | (...);
                            toReversed?: (...) | (...) | (...);
                            toSorted?: (...) | (...) | (...);
                            toSpliced?: (...) | (...) | (...);
                            toString?: (...) | (...) | (...);
                            values?: (...) | (...) | (...);
                            with?: (...) | (...) | (...);
                            readonly [key: number]: (...) | (...) | (...);
                        } & {};
                        at: {} & {};
                        concat: {} & {};
                        entries: {} & {};
                        every: {} & {};
                        filter: {} & {};
                        find: {} & {};
                        findIndex: {} & {};
                        findLast: {} & {};
                        findLastIndex: {} & {};
                        flat: {} & {};
                        flatMap: {} & {};
                        forEach: {} & {};
                        includes: {} & {};
                        indexOf: {} & {};
                        join: {} & {};
                        keys: {} & {};
                        lastIndexOf: {} & {};
                        length: number;
                        map: {} & {};
                        reduce: {} & {};
                        reduceRight: {} & {};
                        slice: {} & {};
                        some: {} & {};
                        toLocaleString: {} & {};
                        toReversed: {} & {};
                        toSorted: {} & {};
                        toSpliced: {} & {};
                        toString: {} & {};
                        values: {} & {};
                        with: {} & {};
                        readonly [key: number]: "public"
                        | "read_only";
                    } & {};
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                app_key: string;
                                property_name: string;
                                pullrequest_id: string;
                                repo_slug: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": Readonly<Record<(...), (...)>> & {
                                    _attributes?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    app_key: string;
                                    property_name: string;
                                    pullrequest_id: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": Readonly<Record<(...), (...)>> & {
                                        _attributes?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          app_key: string;
                          property_name: string;
                          pullrequest_id: string;
                          repo_slug: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": Readonly<Record<string, unknown>> & {
                              _attributes?: readonly ("public" | "read_only")[];
                          };
                      };
                  };
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              app_key: string;
                              property_name: string;
                              pullrequest_id: string;
                              repo_slug: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  _attributes?: readonly ((...) | (...))[];
                              };
                          };
                      };
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update the next build number

      Update the next build number that should be assigned to a pipeline. The next build number that will be configured has to be strictly higher than the current latest build number for this repository.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & {
                body: {
                    next?: number;
                    type: "pipeline_build_number";
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "pipeline_build_number" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & { next?: (...) | (...) };
                            };
                        };
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { next?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "400": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "pipeline_build_number" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & { next?: (...) | (...) };
                                };
                            };
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { next?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "400": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "pipeline_build_number" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & { next?: number };
                      };
                  };
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_build_number" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & { next?: number };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "400": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "pipeline_build_number" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & { next?: number };
                          };
                      };
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_build_number" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & { next?: number };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "400": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update a repository application property

      Update an application property value stored against a repository.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: {
                        app_key: string;
                        property_name: string;
                        repo_slug: string;
                        workspace: string;
                    };
                    query?: undefined;
                };
            } & {
                body: {
                    _attributes?: {
                        "[iterator]": {} & {};
                        "[unscopables]": {
                            "[iterator]"?: (...)
                            | (...)
                            | (...);
                            "[unscopables]"?: (...) | (...) | (...);
                            at?: (...) | (...) | (...);
                            concat?: (...) | (...) | (...);
                            entries?: (...) | (...) | (...);
                            every?: (...) | (...) | (...);
                            filter?: (...) | (...) | (...);
                            find?: (...) | (...) | (...);
                            findIndex?: (...) | (...) | (...);
                            findLast?: (...) | (...) | (...);
                            findLastIndex?: (...) | (...) | (...);
                            flat?: (...) | (...) | (...);
                            flatMap?: (...) | (...) | (...);
                            forEach?: (...) | (...) | (...);
                            includes?: (...) | (...) | (...);
                            indexOf?: (...) | (...) | (...);
                            join?: (...) | (...) | (...);
                            keys?: (...) | (...) | (...);
                            lastIndexOf?: (...) | (...) | (...);
                            length?: (...) | (...) | (...);
                            map?: (...) | (...) | (...);
                            reduce?: (...) | (...) | (...);
                            reduceRight?: (...) | (...) | (...);
                            slice?: (...) | (...) | (...);
                            some?: (...) | (...) | (...);
                            toLocaleString?: (...) | (...) | (...);
                            toReversed?: (...) | (...) | (...);
                            toSorted?: (...) | (...) | (...);
                            toSpliced?: (...) | (...) | (...);
                            toString?: (...) | (...) | (...);
                            values?: (...) | (...) | (...);
                            with?: (...) | (...) | (...);
                            readonly [key: number]: (...) | (...) | (...);
                        } & {};
                        at: {} & {};
                        concat: {} & {};
                        entries: {} & {};
                        every: {} & {};
                        filter: {} & {};
                        find: {} & {};
                        findIndex: {} & {};
                        findLast: {} & {};
                        findLastIndex: {} & {};
                        flat: {} & {};
                        flatMap: {} & {};
                        forEach: {} & {};
                        includes: {} & {};
                        indexOf: {} & {};
                        join: {} & {};
                        keys: {} & {};
                        lastIndexOf: {} & {};
                        length: number;
                        map: {} & {};
                        reduce: {} & {};
                        reduceRight: {} & {};
                        slice: {} & {};
                        some: {} & {};
                        toLocaleString: {} & {};
                        toReversed: {} & {};
                        toSorted: {} & {};
                        toSpliced: {} & {};
                        toString: {} & {};
                        values: {} & {};
                        with: {} & {};
                        readonly [key: number]: "public"
                        | "read_only";
                    } & {};
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: {
                                app_key: string;
                                property_name: string;
                                repo_slug: string;
                                workspace: string;
                            };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": Readonly<Record<(...), (...)>> & {
                                    _attributes?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    app_key: string;
                                    property_name: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": Readonly<Record<(...), (...)>> & {
                                        _attributes?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: {
                          app_key: string;
                          property_name: string;
                          repo_slug: string;
                          workspace: string;
                      };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": Readonly<Record<string, unknown>> & {
                              _attributes?: readonly ("public" | "read_only")[];
                          };
                      };
                  };
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: {
                              app_key: string;
                              property_name: string;
                              repo_slug: string;
                              workspace: string;
                          };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  _attributes?: readonly ((...) | (...))[];
                              };
                          };
                      };
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update configuration

      Update the pipelines configuration for a repository.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & {
                body: {
                    enabled?: boolean;
                    repository?: {
                        created_on?: string;
                        description?: string;
                        fork_policy?: "allow_forks"
                        | "no_forks"
                        | "no_public_forks";
                        full_name?: string;
                        has_issues?: boolean;
                        has_wiki?: boolean;
                        is_private?: boolean;
                        language?: string;
                        links?: {
                            avatar?: ...;
                            clone?: ...;
                            commits?: ...;
                            downloads?: ...;
                            forks?: ...;
                            hooks?: ...;
                            html?: ...;
                            pullrequests?: ...;
                            self?: ...;
                            watchers?: ...;
                        } & {};
                        mainbranch?: {
                            default_merge_strategy?: ...;
                            links?: ...;
                            merge_strategies?: ...;
                            name?: ...;
                            target?: ...;
                            type: ...;
                            readonly [key: ...]: ...;
                        } & {};
                        name?: string;
                        owner?: {
                            created_on?: ...;
                            display_name?: ...;
                            links?: ...;
                            type: ...;
                            uuid?: ...;
                            readonly [key: ...]: ...;
                        } & {};
                        parent?: ({ readonly [x: string]: unknown; readonly type: "repository"; readonly created_on?: string; readonly description?: string; readonly fork_policy?: "allow_forks" | "no_forks" | "no_public_forks"; ... 14 more ...; readonly uuid?: string; } & {}) | undefined;
                        project?: {
                            created_on?: ...;
                            description?: ...;
                            has_publicly_visible_repos?: ...;
                            is_private?: ...;
                            key?: ...;
                            links?: ...;
                            name?: ...;
                            owner?: ...;
                            type: ...;
                            updated_on?: ...;
                            uuid?: ...;
                            readonly [key: ...]: ...;
                        } & {};
                        scm?: "git";
                        size?: number;
                        type: "repository";
                        updated_on?: string;
                        uuid?: string;
                        readonly [key: string]: unknown;
                    } & {};
                    type: "pipelines_config";
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "pipelines_config" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    enabled?: (...) | (...) | (...);
                                    repository?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { enabled?: ...; repository?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "pipelines_config" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        enabled?: (...) | (...) | (...);
                                        repository?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { enabled?: ...; repository?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "pipelines_config" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              enabled?: boolean;
                              repository?: { type: "repository" } & Omit<(...) & (...), "type"> & Readonly<
                                  Record<(...), (...)>,
                              > & {
                                  created_on?: (...) | (...);
                                  description?: (...) | (...);
                                  fork_policy?: (...) | (...) | (...) | (...);
                                  full_name?: (...) | (...);
                                  has_issues?: (...) | (...) | (...);
                                  has_wiki?: (...) | (...) | (...);
                                  is_private?: (...) | (...) | (...);
                                  language?: (...) | (...);
                                  links?: (...) | (...);
                                  mainbranch?: (...) | (...);
                                  name?: (...) | (...);
                                  owner?: (...) | (...);
                                  parent?: ({ readonly type: "repository"; } & Omit<Readonly<Record<string, unknown>> & { readonly type: string; }, "type"> & Readonly<Record<string, unknown>> & { ...; }) | undefined;
                                  project?: (...) | (...);
                                  scm?: (...) | (...);
                                  size?: (...) | (...);
                                  updated_on?: (...) | (...);
                                  uuid?: (...) | (...);
                              };
                          };
                      };
                  };
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipelines_config" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  enabled?: boolean;
                                  repository?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      created_on?: ...;
                                      description?: ...;
                                      fork_policy?: ...;
                                      full_name?: ...;
                                      has_issues?: ...;
                                      has_wiki?: ...;
                                      is_private?: ...;
                                      language?: ...;
                                      links?: ...;
                                      mainbranch?: ...;
                                      name?: ...;
                                      owner?: ...;
                                      parent?: ...;
                                      project?: ...;
                                      scm?: ...;
                                      size?: ...;
                                      updated_on?: ...;
                                      uuid?: ...;
                                  };
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "pipelines_config" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  enabled?: boolean;
                                  repository?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      created_on?: ...;
                                      description?: ...;
                                      fork_policy?: ...;
                                      full_name?: ...;
                                      has_issues?: ...;
                                      has_wiki?: ...;
                                      is_private?: ...;
                                      language?: ...;
                                      links?: ...;
                                      mainbranch?: ...;
                                      name?: ...;
                                      owner?: ...;
                                      parent?: ...;
                                      project?: ...;
                                      scm?: ...;
                                      size?: ...;
                                      updated_on?: ...;
                                      uuid?: ...;
                                  };
                              };
                          };
                      };
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipelines_config" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      enabled?: boolean;
                                      repository?: (...) & (...) & (...) & (...);
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update SSH key pair

      Create or update the repository SSH key pair. The private key will be set as a default SSH identity in your build container.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & {
                body: {
                    private_key?: string;
                    public_key?: string;
                    type: "pipeline_ssh_key_pair";
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "pipeline_ssh_key_pair" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    private_key?: (...) | (...);
                                    public_key?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { private_key?: ...; public_key?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "pipeline_ssh_key_pair" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        private_key?: (...) | (...);
                                        public_key?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { private_key?: ...; public_key?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "pipeline_ssh_key_pair" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              private_key?: string;
                              public_key?: string;
                          };
                      };
                  };
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_ssh_key_pair" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  private_key?: string;
                                  public_key?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "pipeline_ssh_key_pair" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  private_key?: string;
                                  public_key?: string;
                              };
                          };
                      };
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_ssh_key_pair" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      private_key?: string;
                                      public_key?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update a known host

      Update a repository level known host.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { known_host_uuid: string; repo_slug: string; workspace: string };
                    query?: undefined;
                };
            } & {
                body: {
                    hostname?: string;
                    public_key?: {
                        key?: string;
                        key_type?: string;
                        md5_fingerprint?: string;
                        sha256_fingerprint?: string;
                        type: "pipeline_ssh_public_key";
                        readonly [key: string]: unknown;
                    } & {};
                    type: "pipeline_known_host";
                    uuid?: string;
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { known_host_uuid: string; repo_slug: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "pipeline_known_host" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    hostname?: (...) | (...);
                                    public_key?: (...) | (...);
                                    uuid?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { hostname?: ...; public_key?: ...; uuid?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    known_host_uuid: string;
                                    repo_slug: string;
                                    workspace: string;
                                };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "pipeline_known_host" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        hostname?: (...) | (...);
                                        public_key?: (...) | (...);
                                        uuid?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { hostname?: ...; public_key?: ...; uuid?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { known_host_uuid: string; repo_slug: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "pipeline_known_host" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              hostname?: string;
                              public_key?: { type: "pipeline_ssh_public_key" } & Omit<
                                  (...) & (...),
                                  "type",
                              > & Readonly<Record<(...), (...)>> & {
                                  key?: (...) | (...);
                                  key_type?: (...) | (...);
                                  md5_fingerprint?: (...) | (...);
                                  sha256_fingerprint?: (...) | (...);
                              };
                              uuid?: string;
                          };
                      };
                  };
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_known_host" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  hostname?: string;
                                  public_key?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      key?: ...;
                                      key_type?: ...;
                                      md5_fingerprint?: ...;
                                      sha256_fingerprint?: ...;
                                  };
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { known_host_uuid: string; repo_slug: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "pipeline_known_host" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  hostname?: string;
                                  public_key?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      key?: ...;
                                      key_type?: ...;
                                      md5_fingerprint?: ...;
                                      sha256_fingerprint?: ...;
                                  };
                                  uuid?: string;
                              };
                          };
                      };
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_known_host" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      hostname?: string;
                                      public_key?: (...) & (...) & (...) & (...);
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update a schedule

      Update a schedule.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; schedule_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & {
                body: {
                    enabled?: boolean;
                    type: "pipeline_schedule_put_request_body";
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; schedule_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "pipeline_schedule_put_request_body" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    enabled?: (...) | (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        created_on?: ...;
                                        cron_pattern?: ...;
                                        enabled?: ...;
                                        target?: ...;
                                        updated_on?: ...;
                                        uuid?: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; schedule_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "pipeline_schedule_put_request_body" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        enabled?: (...) | (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            created_on?: ...;
                                            cron_pattern?: ...;
                                            enabled?: ...;
                                            target?: ...;
                                            updated_on?: ...;
                                            uuid?: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; schedule_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "pipeline_schedule_put_request_body" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & { enabled?: boolean };
                      };
                  };
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_schedule" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  created_on?: string;
                                  cron_pattern?: string;
                                  enabled?: boolean;
                                  target?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      commit?: ...;
                                      ref_name?: ...;
                                      ref_type?: ...;
                                      selector?: ...;
                                  };
                                  updated_on?: string;
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; schedule_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "pipeline_schedule_put_request_body" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & { enabled?: boolean };
                          };
                      };
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_schedule" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      created_on?: string;
                                      cron_pattern?: string;
                                      enabled?: boolean;
                                      target?: (...) & (...) & (...) & (...);
                                      updated_on?: string;
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update a variable for a repository

      Update a repository level variable.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; variable_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & {
                body: {
                    key?: string;
                    secured?: boolean;
                    type: "pipeline_variable";
                    uuid?: string;
                    value?: string;
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; variable_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": { type: "pipeline_variable" } & Omit<
                                    (...) & (...),
                                    "type",
                                > & Readonly<Record<(...), (...)>> & {
                                    key?: (...) | (...);
                                    secured?: (...) | (...) | (...);
                                    uuid?: (...) | (...);
                                    value?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; variable_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": { type: "pipeline_variable" } & Omit<
                                        (...) & (...),
                                        "type",
                                    > & Readonly<Record<(...), (...)>> & {
                                        key?: (...) | (...);
                                        secured?: (...) | (...) | (...);
                                        uuid?: (...) | (...);
                                        value?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & { key?: ...; secured?: ...; uuid?: ...; value?: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; variable_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": { type: "pipeline_variable" } & Omit<
                              Readonly<Record<string, unknown>> & { type: string },
                              "type",
                          > & Readonly<Record<string, unknown>> & {
                              key?: string;
                              secured?: boolean;
                              uuid?: string;
                              value?: string;
                          };
                      };
                  };
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; variable_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": { type: "pipeline_variable" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  key?: string;
                                  secured?: boolean;
                                  uuid?: string;
                                  value?: string;
                              };
                          };
                      };
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_variable" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      key?: string;
                                      secured?: boolean;
                                      uuid?: string;
                                      value?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update repository runner

      Update repository runner.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { repo_slug: string; runner_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { repo_slug: string; runner_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        created_on?: ...;
                                        labels?: ...;
                                        name?: ...;
                                        oauth_client?: ...;
                                        state?: ...;
                                        updated_on?: ...;
                                        uuid?: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { repo_slug: string; runner_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            created_on?: ...;
                                            labels?: ...;
                                            name?: ...;
                                            oauth_client?: ...;
                                            state?: ...;
                                            updated_on?: ...;
                                            uuid?: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { repo_slug: string; runner_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_runner" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  created_on?: string;
                                  labels?: readonly string[];
                                  name?: string;
                                  oauth_client?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      audience?: ...;
                                      id?: ...;
                                      secret?: ...;
                                      token_endpoint?: ...;
                                  };
                                  state?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      cordoned?: ...;
                                      status?: ...;
                                      updated_on?: ...;
                                      version?: ...;
                                  };
                                  updated_on?: string;
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { repo_slug: string; runner_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_runner" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      created_on?: string;
                                      labels?: readonly (...)[];
                                      name?: string;
                                      oauth_client?: (...) & (...) & (...) & (...);
                                      state?: (...) & (...) & (...) & (...);
                                      updated_on?: string;
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update a user application property

      Update an application property value stored against a user.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { app_key: string; property_name: string; selected_user: string };
                    query?: undefined;
                };
            } & {
                body: {
                    _attributes?: {
                        "[iterator]": {} & {};
                        "[unscopables]": {
                            "[iterator]"?: (...)
                            | (...)
                            | (...);
                            "[unscopables]"?: (...) | (...) | (...);
                            at?: (...) | (...) | (...);
                            concat?: (...) | (...) | (...);
                            entries?: (...) | (...) | (...);
                            every?: (...) | (...) | (...);
                            filter?: (...) | (...) | (...);
                            find?: (...) | (...) | (...);
                            findIndex?: (...) | (...) | (...);
                            findLast?: (...) | (...) | (...);
                            findLastIndex?: (...) | (...) | (...);
                            flat?: (...) | (...) | (...);
                            flatMap?: (...) | (...) | (...);
                            forEach?: (...) | (...) | (...);
                            includes?: (...) | (...) | (...);
                            indexOf?: (...) | (...) | (...);
                            join?: (...) | (...) | (...);
                            keys?: (...) | (...) | (...);
                            lastIndexOf?: (...) | (...) | (...);
                            length?: (...) | (...) | (...);
                            map?: (...) | (...) | (...);
                            reduce?: (...) | (...) | (...);
                            reduceRight?: (...) | (...) | (...);
                            slice?: (...) | (...) | (...);
                            some?: (...) | (...) | (...);
                            toLocaleString?: (...) | (...) | (...);
                            toReversed?: (...) | (...) | (...);
                            toSorted?: (...) | (...) | (...);
                            toSpliced?: (...) | (...) | (...);
                            toString?: (...) | (...) | (...);
                            values?: (...) | (...) | (...);
                            with?: (...) | (...) | (...);
                            readonly [key: number]: (...) | (...) | (...);
                        } & {};
                        at: {} & {};
                        concat: {} & {};
                        entries: {} & {};
                        every: {} & {};
                        filter: {} & {};
                        find: {} & {};
                        findIndex: {} & {};
                        findLast: {} & {};
                        findLastIndex: {} & {};
                        flat: {} & {};
                        flatMap: {} & {};
                        forEach: {} & {};
                        includes: {} & {};
                        indexOf: {} & {};
                        join: {} & {};
                        keys: {} & {};
                        lastIndexOf: {} & {};
                        length: number;
                        map: {} & {};
                        reduce: {} & {};
                        reduceRight: {} & {};
                        slice: {} & {};
                        some: {} & {};
                        toLocaleString: {} & {};
                        toReversed: {} & {};
                        toSorted: {} & {};
                        toSpliced: {} & {};
                        toString: {} & {};
                        values: {} & {};
                        with: {} & {};
                        readonly [key: number]: "public"
                        | "read_only";
                    } & {};
                    readonly [key: string]: unknown;
                } & {};
            } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { app_key: string; property_name: string; selected_user: string };
                            query?: undefined;
                        };
                        requestBody: {
                            content: {
                                "application/json": Readonly<Record<(...), (...)>> & {
                                    _attributes?: (...) | (...);
                                };
                            };
                        };
                        responses: {
                            "204": {
                                content?: undefined;
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: {
                                    app_key: string;
                                    property_name: string;
                                    selected_user: string;
                                };
                                query?: undefined;
                            };
                            requestBody: {
                                content: {
                                    "application/json": Readonly<Record<(...), (...)>> & {
                                        _attributes?: (...) | (...);
                                    };
                                };
                            };
                            responses: {
                                "204": {
                                    content?: undefined;
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { app_key: string; property_name: string; selected_user: string };
                      query?: undefined;
                  };
                  requestBody: {
                      content: {
                          "application/json": Readonly<Record<string, unknown>> & {
                              _attributes?: readonly ("public" | "read_only")[];
                          };
                      };
                  };
                  responses: {
                      "204": {
                          content?: undefined;
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { app_key: string; property_name: string; selected_user: string };
                          query?: undefined;
                      };
                      requestBody: {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  _attributes?: readonly ((...) | (...))[];
                              };
                          };
                      };
                      responses: {
                          "204": {
                              content?: undefined;
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >

    • Update workspace runner

      Update workspace runner.

      Parameters

      • ...init: [
            {
                params: {
                    cookie?: undefined;
                    header?: undefined;
                    path: { runner_uuid: string; workspace: string };
                    query?: undefined;
                };
            } & { body?: undefined } & {
                baseUrl?: string;
                bodySerializer?: BodySerializer<
                    {
                        parameters: {
                            cookie?: undefined;
                            header?: undefined;
                            path: { runner_uuid: string; workspace: string };
                            query?: undefined;
                        };
                        requestBody?: undefined;
                        responses: {
                            "200": {
                                content: {
                                    "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                        (...),
                                    > & {
                                        created_on?: ...;
                                        labels?: ...;
                                        name?: ...;
                                        oauth_client?: ...;
                                        state?: ...;
                                        updated_on?: ...;
                                        uuid?: ...;
                                    };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                            "404": {
                                content: {
                                    "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                };
                                headers: Readonly<Record<string, unknown>>;
                            };
                        };
                    },
                >;
                fetch?: (input: Request) => Promise<Response>;
                headers?: HeadersOptions;
                middleware?: Middleware[];
                parseAs?: keyof BodyType<unknown>;
                pathSerializer?: PathSerializer;
                querySerializer?:
                    | QuerySerializerOptions
                    | QuerySerializer<
                        {
                            parameters: {
                                cookie?: undefined;
                                header?: undefined;
                                path: { runner_uuid: string; workspace: string };
                                query?: undefined;
                            };
                            requestBody?: undefined;
                            responses: {
                                "200": {
                                    content: {
                                        "application/json": { type: ... } & Omit<(...), (...)> & Readonly<
                                            (...),
                                        > & {
                                            created_on?: ...;
                                            labels?: ...;
                                            name?: ...;
                                            oauth_client?: ...;
                                            state?: ...;
                                            updated_on?: ...;
                                            uuid?: ...;
                                        };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                                "404": {
                                    content: {
                                        "application/json": Readonly<(...)> & { error?: ...; type: ... };
                                    };
                                    headers: Readonly<Record<string, unknown>>;
                                };
                            };
                        },
                    >;
            } & Omit<RequestInit, "body" | "headers"> & { [key: string]: unknown },
        ]

      Returns Promise<
          FetchResponse<
              {
                  parameters: {
                      cookie?: undefined;
                      header?: undefined;
                      path: { runner_uuid: string; workspace: string };
                      query?: undefined;
                  };
                  requestBody?: undefined;
                  responses: {
                      "200": {
                          content: {
                              "application/json": { type: "pipeline_runner" } & Omit<
                                  Readonly<Record<(...), (...)>> & { type: string },
                                  "type",
                              > & Readonly<Record<string, unknown>> & {
                                  created_on?: string;
                                  labels?: readonly string[];
                                  name?: string;
                                  oauth_client?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      audience?: ...;
                                      id?: ...;
                                      secret?: ...;
                                      token_endpoint?: ...;
                                  };
                                  state?: { type: ... } & Omit<(...), (...)> & Readonly<(...)> & {
                                      cordoned?: ...;
                                      status?: ...;
                                      updated_on?: ...;
                                      version?: ...;
                                  };
                                  updated_on?: string;
                                  uuid?: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                      "404": {
                          content: {
                              "application/json": Readonly<Record<string, unknown>> & {
                                  error?: {
                                      data?: (...) | (...);
                                      detail?: (...) | (...);
                                      message: string;
                                  };
                                  type: string;
                              };
                          };
                          headers: Readonly<Record<string, unknown>>;
                      };
                  };
              },
              FetchOptions<
                  {
                      parameters: {
                          cookie?: undefined;
                          header?: undefined;
                          path: { runner_uuid: string; workspace: string };
                          query?: undefined;
                      };
                      requestBody?: undefined;
                      responses: {
                          "200": {
                              content: {
                                  "application/json": { type: "pipeline_runner" } & Omit<
                                      Readonly<(...)> & { type: ... },
                                      "type",
                                  > & Readonly<Record<string, unknown>> & {
                                      created_on?: string;
                                      labels?: readonly (...)[];
                                      name?: string;
                                      oauth_client?: (...) & (...) & (...) & (...);
                                      state?: (...) & (...) & (...) & (...);
                                      updated_on?: string;
                                      uuid?: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                          "404": {
                              content: {
                                  "application/json": Readonly<Record<string, unknown>> & {
                                      error?: { data?: ...; detail?: ...; message: ... };
                                      type: string;
                                  };
                              };
                              headers: Readonly<Record<string, unknown>>;
                          };
                      };
                  },
              >,
              "application/json",
          >,
      >