@xemahq/scm-connector-api-client 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +36 -0
- package/README.md +62 -0
- package/dist/custom-fetch.d.ts +30 -0
- package/dist/custom-fetch.js +160 -0
- package/dist/endpoints/change-requests/change-requests.d.ts +33 -0
- package/dist/endpoints/change-requests/change-requests.js +80 -0
- package/dist/endpoints/git-content/git-content.d.ts +43 -0
- package/dist/endpoints/git-content/git-content.js +163 -0
- package/dist/endpoints/org-repositories/org-repositories.d.ts +33 -0
- package/dist/endpoints/org-repositories/org-repositories.js +78 -0
- package/dist/endpoints/org-scm-config/org-scm-config.d.ts +58 -0
- package/dist/endpoints/org-scm-config/org-scm-config.js +222 -0
- package/dist/endpoints/project-repositories/project-repositories.d.ts +48 -0
- package/dist/endpoints/project-repositories/project-repositories.js +120 -0
- package/dist/endpoints/project-repository-git/project-repository-git.d.ts +28 -0
- package/dist/endpoints/project-repository-git/project-repository-git.js +117 -0
- package/dist/endpoints/project-repository-lifecycle/project-repository-lifecycle.d.ts +23 -0
- package/dist/endpoints/project-repository-lifecycle/project-repository-lifecycle.js +67 -0
- package/dist/endpoints/repository-snapshots/repository-snapshots.d.ts +23 -0
- package/dist/endpoints/repository-snapshots/repository-snapshots.js +46 -0
- package/dist/endpoints/scm-providers/scm-providers.d.ts +33 -0
- package/dist/endpoints/scm-providers/scm-providers.js +120 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.js +33 -0
- package/dist/models/bindBranchOpDto.d.ts +15 -0
- package/dist/models/bindBranchOpDto.js +2 -0
- package/dist/models/bindBranchOpKind.d.ts +13 -0
- package/dist/models/bindBranchOpKind.js +15 -0
- package/dist/models/bindBranchOpRejectedBodyDto.d.ts +19 -0
- package/dist/models/bindBranchOpRejectedBodyDto.js +9 -0
- package/dist/models/bindRepositoryToProjectDto.d.ts +24 -0
- package/dist/models/bindRepositoryToProjectDto.js +2 -0
- package/dist/models/bindRepositoryToProjectDtoProvider.d.ts +16 -0
- package/dist/models/bindRepositoryToProjectDtoProvider.js +15 -0
- package/dist/models/bindRepositoryToProjectDtoRole.d.ts +15 -0
- package/dist/models/bindRepositoryToProjectDtoRole.js +14 -0
- package/dist/models/bindingHealthDto.d.ts +19 -0
- package/dist/models/bindingHealthDto.js +9 -0
- package/dist/models/bindingSnapshotResponseDto.d.ts +81 -0
- package/dist/models/bindingSnapshotResponseDto.js +2 -0
- package/dist/models/bindingSnapshotResponseDtoCodebaseMetadata.d.ts +14 -0
- package/dist/models/bindingSnapshotResponseDtoCodebaseMetadata.js +9 -0
- package/dist/models/bindingSnapshotResponseDtoCustomTaxonomy.d.ts +14 -0
- package/dist/models/bindingSnapshotResponseDtoCustomTaxonomy.js +9 -0
- package/dist/models/bindingSnapshotResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/bindingSnapshotResponseDtoDataEnvelope.js +2 -0
- package/dist/models/bindingSnapshotResponseDtoL1ModuleMap.d.ts +14 -0
- package/dist/models/bindingSnapshotResponseDtoL1ModuleMap.js +9 -0
- package/dist/models/bindingSnapshotResponseDtoL2FileTopology.d.ts +14 -0
- package/dist/models/bindingSnapshotResponseDtoL2FileTopology.js +9 -0
- package/dist/models/bindingSnapshotResponseDtoRepositorySummary.d.ts +14 -0
- package/dist/models/bindingSnapshotResponseDtoRepositorySummary.js +9 -0
- package/dist/models/bindingSnapshotResponseDtoRole.d.ts +15 -0
- package/dist/models/bindingSnapshotResponseDtoRole.js +14 -0
- package/dist/models/bindingSnapshotResponseDtoStatus.d.ts +17 -0
- package/dist/models/bindingSnapshotResponseDtoStatus.js +16 -0
- package/dist/models/bindingSnapshotResponseDtoTriggerKind.d.ts +17 -0
- package/dist/models/bindingSnapshotResponseDtoTriggerKind.js +16 -0
- package/dist/models/changeRequestCommentResponseDto.d.ts +16 -0
- package/dist/models/changeRequestCommentResponseDto.js +9 -0
- package/dist/models/changeRequestResponseDto.d.ts +25 -0
- package/dist/models/changeRequestResponseDto.js +2 -0
- package/dist/models/changeRequestResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/changeRequestResponseDtoDataEnvelope.js +2 -0
- package/dist/models/changeRequestResponseDtoMetadataJson.d.ts +10 -0
- package/dist/models/changeRequestResponseDtoMetadataJson.js +9 -0
- package/dist/models/checkoutInstructionResponseDto.d.ts +17 -0
- package/dist/models/checkoutInstructionResponseDto.js +9 -0
- package/dist/models/checkoutInstructionResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/checkoutInstructionResponseDtoDataEnvelope.js +2 -0
- package/dist/models/createBranchDto.d.ts +15 -0
- package/dist/models/createBranchDto.js +9 -0
- package/dist/models/createChangeRequestDto.d.ts +17 -0
- package/dist/models/createChangeRequestDto.js +9 -0
- package/dist/models/createProviderRepoDto.d.ts +21 -0
- package/dist/models/createProviderRepoDto.js +9 -0
- package/dist/models/createRepoRequestDto.d.ts +15 -0
- package/dist/models/createRepoRequestDto.js +2 -0
- package/dist/models/errorDetailsDto.d.ts +12 -0
- package/dist/models/errorDetailsDto.js +2 -0
- package/dist/models/errorDetailsDtoDetails.d.ts +13 -0
- package/dist/models/errorDetailsDtoDetails.js +9 -0
- package/dist/models/errorPayloadDto.d.ts +13 -0
- package/dist/models/errorPayloadDto.js +2 -0
- package/dist/models/errorResponseDto.d.ts +11 -0
- package/dist/models/errorResponseDto.js +2 -0
- package/dist/models/gitContentControllerGetDiffParams.d.ts +17 -0
- package/dist/models/gitContentControllerGetDiffParams.js +9 -0
- package/dist/models/gitContentControllerGetFileParams.d.ts +17 -0
- package/dist/models/gitContentControllerGetFileParams.js +9 -0
- package/dist/models/gitContentControllerListFilesParams.d.ts +17 -0
- package/dist/models/gitContentControllerListFilesParams.js +9 -0
- package/dist/models/gitDiffFileDto.d.ts +22 -0
- package/dist/models/gitDiffFileDto.js +2 -0
- package/dist/models/gitDiffFileDtoStatus.d.ts +18 -0
- package/dist/models/gitDiffFileDtoStatus.js +17 -0
- package/dist/models/gitDiffResultDto.d.ts +15 -0
- package/dist/models/gitDiffResultDto.js +2 -0
- package/dist/models/gitDiffResultDtoDataEnvelope.d.ts +11 -0
- package/dist/models/gitDiffResultDtoDataEnvelope.js +2 -0
- package/dist/models/gitFileContentDto.d.ts +23 -0
- package/dist/models/gitFileContentDto.js +9 -0
- package/dist/models/gitFileContentDtoDataEnvelope.d.ts +11 -0
- package/dist/models/gitFileContentDtoDataEnvelope.js +2 -0
- package/dist/models/gitHubAppBootstrapDto.d.ts +26 -0
- package/dist/models/gitHubAppBootstrapDto.js +2 -0
- package/dist/models/gitHubAppBootstrapDtoDataEnvelope.d.ts +11 -0
- package/dist/models/gitHubAppBootstrapDtoDataEnvelope.js +2 -0
- package/dist/models/githubAccountType.d.ts +15 -0
- package/dist/models/githubAccountType.js +14 -0
- package/dist/models/githubAppInstallationDto.d.ts +21 -0
- package/dist/models/githubAppInstallationDto.js +2 -0
- package/dist/models/githubAppInstallationDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/githubAppInstallationDtoDataArrayEnvelope.js +2 -0
- package/dist/models/githubAppRepoSyncErrorDto.d.ts +13 -0
- package/dist/models/githubAppRepoSyncErrorDto.js +9 -0
- package/dist/models/githubAppRepoSyncResultDto.d.ts +22 -0
- package/dist/models/githubAppRepoSyncResultDto.js +2 -0
- package/dist/models/githubAppRepoSyncResultDtoDataEnvelope.d.ts +11 -0
- package/dist/models/githubAppRepoSyncResultDtoDataEnvelope.js +2 -0
- package/dist/models/githubRepositorySelection.d.ts +15 -0
- package/dist/models/githubRepositorySelection.js +14 -0
- package/dist/models/inaccessibleReason.d.ts +15 -0
- package/dist/models/inaccessibleReason.js +14 -0
- package/dist/models/index.d.ts +112 -0
- package/dist/models/index.js +129 -0
- package/dist/models/initializeRepositoryDto.d.ts +14 -0
- package/dist/models/initializeRepositoryDto.js +9 -0
- package/dist/models/initializeRepositoryResponseDto.d.ts +13 -0
- package/dist/models/initializeRepositoryResponseDto.js +9 -0
- package/dist/models/initializeRepositoryResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/initializeRepositoryResponseDtoDataEnvelope.js +2 -0
- package/dist/models/mergeBranchDto.d.ts +15 -0
- package/dist/models/mergeBranchDto.js +9 -0
- package/dist/models/orgRepositoryResponseDto.d.ts +26 -0
- package/dist/models/orgRepositoryResponseDto.js +2 -0
- package/dist/models/orgRepositoryResponseDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/orgRepositoryResponseDtoDataArrayEnvelope.js +2 -0
- package/dist/models/orgRepositoryResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/orgRepositoryResponseDtoDataEnvelope.js +2 -0
- package/dist/models/orgRepositoryResponseDtoMetadataJson.d.ts +10 -0
- package/dist/models/orgRepositoryResponseDtoMetadataJson.js +9 -0
- package/dist/models/orgRepositoryResponseDtoProvider.d.ts +13 -0
- package/dist/models/orgRepositoryResponseDtoProvider.js +15 -0
- package/dist/models/orgScmConfigControllerGetGitHubAppBootstrapParams.d.ts +17 -0
- package/dist/models/orgScmConfigControllerGetGitHubAppBootstrapParams.js +9 -0
- package/dist/models/orgScmConfigControllerHandleGitHubAppCallbackParams.d.ts +22 -0
- package/dist/models/orgScmConfigControllerHandleGitHubAppCallbackParams.js +9 -0
- package/dist/models/orgScmConfigControllerListGitHubAppRepositoriesParams.d.ts +13 -0
- package/dist/models/orgScmConfigControllerListGitHubAppRepositoriesParams.js +9 -0
- package/dist/models/orgScmConfigControllerListGitHubAppRepositoryBranchesParams.d.ts +17 -0
- package/dist/models/orgScmConfigControllerListGitHubAppRepositoryBranchesParams.js +9 -0
- package/dist/models/orgScmConfigResponseDto.d.ts +19 -0
- package/dist/models/orgScmConfigResponseDto.js +2 -0
- package/dist/models/orgScmConfigResponseDtoConfigJson.d.ts +10 -0
- package/dist/models/orgScmConfigResponseDtoConfigJson.js +9 -0
- package/dist/models/orgScmConfigResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/orgScmConfigResponseDtoDataEnvelope.js +2 -0
- package/dist/models/orgScmConfigResponseDtoProvider.d.ts +15 -0
- package/dist/models/orgScmConfigResponseDtoProvider.js +17 -0
- package/dist/models/postChangeRequestCommentDto.d.ts +26 -0
- package/dist/models/postChangeRequestCommentDto.js +9 -0
- package/dist/models/projectRepoGitContentControllerGetDiffParams.d.ts +17 -0
- package/dist/models/projectRepoGitContentControllerGetDiffParams.js +9 -0
- package/dist/models/projectRepoGitContentControllerGetFileParams.d.ts +17 -0
- package/dist/models/projectRepoGitContentControllerGetFileParams.js +9 -0
- package/dist/models/projectRepoGitContentControllerListFilesParams.d.ts +17 -0
- package/dist/models/projectRepoGitContentControllerListFilesParams.js +9 -0
- package/dist/models/projectRepoLifecycleControllerGetCheckoutInstructionParams.d.ts +14 -0
- package/dist/models/projectRepoLifecycleControllerGetCheckoutInstructionParams.js +9 -0
- package/dist/models/projectRepositoryBindingResponseDto.d.ts +22 -0
- package/dist/models/projectRepositoryBindingResponseDto.js +2 -0
- package/dist/models/projectRepositoryBindingResponseDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/projectRepositoryBindingResponseDtoDataArrayEnvelope.js +2 -0
- package/dist/models/projectRepositoryBindingResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/projectRepositoryBindingResponseDtoDataEnvelope.js +2 -0
- package/dist/models/projectRepositoryBindingResponseDtoRole.d.ts +12 -0
- package/dist/models/projectRepositoryBindingResponseDtoRole.js +14 -0
- package/dist/models/projectRepositoryBindingResponseDtoStatus.d.ts +12 -0
- package/dist/models/projectRepositoryBindingResponseDtoStatus.js +14 -0
- package/dist/models/projectRepositoryStateResponseDto.d.ts +29 -0
- package/dist/models/projectRepositoryStateResponseDto.js +2 -0
- package/dist/models/projectRepositoryStateResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/projectRepositoryStateResponseDtoDataEnvelope.js +2 -0
- package/dist/models/providerBranchResponseDto.d.ts +17 -0
- package/dist/models/providerBranchResponseDto.js +9 -0
- package/dist/models/providerBranchResponseDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/providerBranchResponseDtoDataArrayEnvelope.js +2 -0
- package/dist/models/providerConnectionDto.d.ts +16 -0
- package/dist/models/providerConnectionDto.js +2 -0
- package/dist/models/providerConnectionDtoProvider.d.ts +17 -0
- package/dist/models/providerConnectionDtoProvider.js +16 -0
- package/dist/models/providerOrgResponseDto.d.ts +18 -0
- package/dist/models/providerOrgResponseDto.js +9 -0
- package/dist/models/providerOrgResponseDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/providerOrgResponseDtoDataArrayEnvelope.js +2 -0
- package/dist/models/providerRepoResponseDto.d.ts +32 -0
- package/dist/models/providerRepoResponseDto.js +9 -0
- package/dist/models/providerRepoResponseDtoDataArrayEnvelope.d.ts +11 -0
- package/dist/models/providerRepoResponseDtoDataArrayEnvelope.js +2 -0
- package/dist/models/providerRepoResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/providerRepoResponseDtoDataEnvelope.js +2 -0
- package/dist/models/registerOrgRepositoryDto.d.ts +19 -0
- package/dist/models/registerOrgRepositoryDto.js +2 -0
- package/dist/models/registerOrgRepositoryDtoMetadataJson.d.ts +13 -0
- package/dist/models/registerOrgRepositoryDtoMetadataJson.js +9 -0
- package/dist/models/registerOrgRepositoryDtoProvider.d.ts +16 -0
- package/dist/models/registerOrgRepositoryDtoProvider.js +15 -0
- package/dist/models/repositoryStateKind.d.ts +16 -0
- package/dist/models/repositoryStateKind.js +15 -0
- package/dist/models/scmHealthResponseDto.d.ts +15 -0
- package/dist/models/scmHealthResponseDto.js +2 -0
- package/dist/models/scmHealthResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/scmHealthResponseDtoDataEnvelope.js +2 -0
- package/dist/models/scmHealthResponseDtoStatus.d.ts +16 -0
- package/dist/models/scmHealthResponseDtoStatus.js +15 -0
- package/dist/models/scmProvider.d.ts +18 -0
- package/dist/models/scmProvider.js +17 -0
- package/dist/models/scmProviderControllerListBranchesParams.d.ts +17 -0
- package/dist/models/scmProviderControllerListBranchesParams.js +9 -0
- package/dist/models/scmProviderControllerListReposParams.d.ts +13 -0
- package/dist/models/scmProviderControllerListReposParams.js +9 -0
- package/dist/models/scmReadRejectedCode.d.ts +15 -0
- package/dist/models/scmReadRejectedCode.js +14 -0
- package/dist/models/scmReadRejectedResponseDto.d.ts +28 -0
- package/dist/models/scmReadRejectedResponseDto.js +2 -0
- package/dist/models/snapshotRefreshResponseDto.d.ts +15 -0
- package/dist/models/snapshotRefreshResponseDto.js +9 -0
- package/dist/models/snapshotRefreshResponseDtoDataEnvelope.d.ts +11 -0
- package/dist/models/snapshotRefreshResponseDtoDataEnvelope.js +2 -0
- package/dist/models/updateChangeRequestDto.d.ts +19 -0
- package/dist/models/updateChangeRequestDto.js +2 -0
- package/dist/models/updateChangeRequestDtoMetadataJson.d.ts +13 -0
- package/dist/models/updateChangeRequestDtoMetadataJson.js +9 -0
- package/dist/models/updateChangeRequestDtoStatus.d.ts +16 -0
- package/dist/models/updateChangeRequestDtoStatus.js +15 -0
- package/dist/models/updateOrgRepositoryDto.d.ts +12 -0
- package/dist/models/updateOrgRepositoryDto.js +2 -0
- package/dist/models/updateOrgRepositoryDtoMetadataJson.d.ts +13 -0
- package/dist/models/updateOrgRepositoryDtoMetadataJson.js +9 -0
- package/dist/models/updateProjectRepositoryBindingDto.d.ts +16 -0
- package/dist/models/updateProjectRepositoryBindingDto.js +2 -0
- package/dist/models/updateProjectRepositoryBindingDtoRole.d.ts +15 -0
- package/dist/models/updateProjectRepositoryBindingDtoRole.js +14 -0
- package/dist/models/upsertOrgScmConfigDto.d.ts +19 -0
- package/dist/models/upsertOrgScmConfigDto.js +2 -0
- package/dist/models/upsertOrgScmConfigDtoConfigJson.d.ts +13 -0
- package/dist/models/upsertOrgScmConfigDtoConfigJson.js +9 -0
- package/dist/models/upsertOrgScmConfigDtoProvider.d.ts +18 -0
- package/dist/models/upsertOrgScmConfigDtoProvider.js +17 -0
- package/package.json +28 -0
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* SCM Integration API
|
|
6
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* SCM provider
|
|
10
|
+
*/
|
|
11
|
+
export type RegisterOrgRepositoryDtoProvider = typeof RegisterOrgRepositoryDtoProvider[keyof typeof RegisterOrgRepositoryDtoProvider];
|
|
12
|
+
export declare const RegisterOrgRepositoryDtoProvider: {
|
|
13
|
+
readonly gitea: "gitea";
|
|
14
|
+
readonly github: "github";
|
|
15
|
+
readonly gitlab: "gitlab";
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* SCM Integration API
|
|
6
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.RegisterOrgRepositoryDtoProvider = void 0;
|
|
11
|
+
exports.RegisterOrgRepositoryDtoProvider = {
|
|
12
|
+
gitea: 'gitea',
|
|
13
|
+
github: 'github',
|
|
14
|
+
gitlab: 'gitlab',
|
|
15
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Live state of the bound remote as seen by the platform: `ready` (has refs), `empty` (reachable but no refs — initialize to fix), `inaccessible` (provider returned 401/403/404 — recovery hint depends on `inaccessibleReason`).
|
|
10
|
+
*/
|
|
11
|
+
export type RepositoryStateKind = typeof RepositoryStateKind[keyof typeof RepositoryStateKind];
|
|
12
|
+
export declare const RepositoryStateKind: {
|
|
13
|
+
readonly ready: "ready";
|
|
14
|
+
readonly empty: "empty";
|
|
15
|
+
readonly inaccessible: "inaccessible";
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* SCM Integration API
|
|
6
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.RepositoryStateKind = void 0;
|
|
11
|
+
exports.RepositoryStateKind = {
|
|
12
|
+
ready: 'ready',
|
|
13
|
+
empty: 'empty',
|
|
14
|
+
inaccessible: 'inaccessible',
|
|
15
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { BindingHealthDto } from './bindingHealthDto.js';
|
|
9
|
+
import type { ScmHealthResponseDtoStatus } from './scmHealthResponseDtoStatus.js';
|
|
10
|
+
export interface ScmHealthResponseDto {
|
|
11
|
+
/** Overall SCM health for this project */
|
|
12
|
+
status: ScmHealthResponseDtoStatus;
|
|
13
|
+
/** Per-binding health details */
|
|
14
|
+
bindings: BindingHealthDto[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { ScmHealthResponseDto } from './scmHealthResponseDto.js';
|
|
9
|
+
export interface ScmHealthResponseDtoDataEnvelope {
|
|
10
|
+
data: ScmHealthResponseDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Overall SCM health for this project
|
|
10
|
+
*/
|
|
11
|
+
export type ScmHealthResponseDtoStatus = typeof ScmHealthResponseDtoStatus[keyof typeof ScmHealthResponseDtoStatus];
|
|
12
|
+
export declare const ScmHealthResponseDtoStatus: {
|
|
13
|
+
readonly ok: "ok";
|
|
14
|
+
readonly degraded: "degraded";
|
|
15
|
+
readonly unhealthy: "unhealthy";
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* SCM Integration API
|
|
6
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ScmHealthResponseDtoStatus = void 0;
|
|
11
|
+
exports.ScmHealthResponseDtoStatus = {
|
|
12
|
+
ok: 'ok',
|
|
13
|
+
degraded: 'degraded',
|
|
14
|
+
unhealthy: 'unhealthy',
|
|
15
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Provider hosting the bound remote
|
|
10
|
+
*/
|
|
11
|
+
export type ScmProvider = typeof ScmProvider[keyof typeof ScmProvider];
|
|
12
|
+
export declare const ScmProvider: {
|
|
13
|
+
readonly git: "git";
|
|
14
|
+
readonly github: "github";
|
|
15
|
+
readonly gitea: "gitea";
|
|
16
|
+
readonly gitlab: "gitlab";
|
|
17
|
+
readonly 'azure-devops': "azure-devops";
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* SCM Integration API
|
|
6
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ScmProvider = void 0;
|
|
11
|
+
exports.ScmProvider = {
|
|
12
|
+
git: 'git',
|
|
13
|
+
github: 'github',
|
|
14
|
+
gitea: 'gitea',
|
|
15
|
+
gitlab: 'gitlab',
|
|
16
|
+
'azure-devops': 'azure-devops',
|
|
17
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type ScmProviderControllerListBranchesParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Repository owner / organization login
|
|
11
|
+
*/
|
|
12
|
+
owner: string;
|
|
13
|
+
/**
|
|
14
|
+
* Repository name
|
|
15
|
+
*/
|
|
16
|
+
repo: string;
|
|
17
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* SCM Integration API
|
|
6
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export type ScmProviderControllerListReposParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Repository owner (user or org)
|
|
11
|
+
*/
|
|
12
|
+
owner: string;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* SCM Integration API
|
|
6
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Stable machine-readable code for SCM read-state rejections
|
|
10
|
+
*/
|
|
11
|
+
export type ScmReadRejectedCode = typeof ScmReadRejectedCode[keyof typeof ScmReadRejectedCode];
|
|
12
|
+
export declare const ScmReadRejectedCode: {
|
|
13
|
+
readonly REPO_EMPTY: "REPO_EMPTY";
|
|
14
|
+
readonly REPO_INACCESSIBLE: "REPO_INACCESSIBLE";
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* SCM Integration API
|
|
6
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.ScmReadRejectedCode = void 0;
|
|
11
|
+
exports.ScmReadRejectedCode = {
|
|
12
|
+
REPO_EMPTY: 'REPO_EMPTY',
|
|
13
|
+
REPO_INACCESSIBLE: 'REPO_INACCESSIBLE',
|
|
14
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { InaccessibleReason } from './inaccessibleReason.js';
|
|
9
|
+
import type { ScmReadRejectedCode } from './scmReadRejectedCode.js';
|
|
10
|
+
export interface ScmReadRejectedResponseDto {
|
|
11
|
+
/** Stable machine-readable code for SCM read-state rejections */
|
|
12
|
+
code: ScmReadRejectedCode;
|
|
13
|
+
message: string;
|
|
14
|
+
/**
|
|
15
|
+
* Requested branch when the read targeted a specific branch; else null.
|
|
16
|
+
* @nullable
|
|
17
|
+
*/
|
|
18
|
+
requestedBranch?: string | null;
|
|
19
|
+
/** Up to 3 existing branches on the remote, default branch first when present. Empty when remote has no refs. */
|
|
20
|
+
availableBranches: string[];
|
|
21
|
+
/**
|
|
22
|
+
* Remote default branch when it exists as a ref; else null.
|
|
23
|
+
* @nullable
|
|
24
|
+
*/
|
|
25
|
+
defaultBranchSuggestion?: string | null;
|
|
26
|
+
/** Set only when `code === REPO_INACCESSIBLE`. `not_in_app_selection` → repo is not in the GitHub App installation's selected list (fix on github.com, no rebind). `likely_deleted_or_token_revoked` → generic 401/403/404 (rebind / re-auth). */
|
|
27
|
+
inaccessibleReason?: InaccessibleReason;
|
|
28
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
export interface SnapshotRefreshResponseDto {
|
|
9
|
+
/** Whether a new analysis was triggered */
|
|
10
|
+
triggered: boolean;
|
|
11
|
+
/** Reason if not triggered (e.g. "already_analyzing") */
|
|
12
|
+
reason?: string;
|
|
13
|
+
/** ID of the newly created snapshot record */
|
|
14
|
+
snapshotId?: string;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* SCM Integration API
|
|
6
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { SnapshotRefreshResponseDto } from './snapshotRefreshResponseDto.js';
|
|
9
|
+
export interface SnapshotRefreshResponseDtoDataEnvelope {
|
|
10
|
+
data: SnapshotRefreshResponseDto;
|
|
11
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { UpdateChangeRequestDtoMetadataJson } from './updateChangeRequestDtoMetadataJson.js';
|
|
9
|
+
import type { UpdateChangeRequestDtoStatus } from './updateChangeRequestDtoStatus.js';
|
|
10
|
+
export interface UpdateChangeRequestDto {
|
|
11
|
+
/** Change request title */
|
|
12
|
+
title?: string;
|
|
13
|
+
/** Change request status */
|
|
14
|
+
status?: UpdateChangeRequestDtoStatus;
|
|
15
|
+
/** HEAD commit SHA */
|
|
16
|
+
headCommit?: string;
|
|
17
|
+
/** Additional metadata */
|
|
18
|
+
metadataJson?: UpdateChangeRequestDtoMetadataJson;
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Additional metadata
|
|
10
|
+
*/
|
|
11
|
+
export type UpdateChangeRequestDtoMetadataJson = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* SCM Integration API
|
|
6
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Change request status
|
|
10
|
+
*/
|
|
11
|
+
export type UpdateChangeRequestDtoStatus = typeof UpdateChangeRequestDtoStatus[keyof typeof UpdateChangeRequestDtoStatus];
|
|
12
|
+
export declare const UpdateChangeRequestDtoStatus: {
|
|
13
|
+
readonly open: "open";
|
|
14
|
+
readonly merged: "merged";
|
|
15
|
+
readonly closed: "closed";
|
|
16
|
+
};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* SCM Integration API
|
|
6
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.UpdateChangeRequestDtoStatus = void 0;
|
|
11
|
+
exports.UpdateChangeRequestDtoStatus = {
|
|
12
|
+
open: 'open',
|
|
13
|
+
merged: 'merged',
|
|
14
|
+
closed: 'closed',
|
|
15
|
+
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { UpdateOrgRepositoryDtoMetadataJson } from './updateOrgRepositoryDtoMetadataJson.js';
|
|
9
|
+
export interface UpdateOrgRepositoryDto {
|
|
10
|
+
/** Arbitrary metadata */
|
|
11
|
+
metadataJson?: UpdateOrgRepositoryDtoMetadataJson;
|
|
12
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Arbitrary metadata
|
|
10
|
+
*/
|
|
11
|
+
export type UpdateOrgRepositoryDtoMetadataJson = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* SCM Integration API
|
|
6
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { UpdateProjectRepositoryBindingDtoRole } from './updateProjectRepositoryBindingDtoRole.js';
|
|
9
|
+
export interface UpdateProjectRepositoryBindingDto {
|
|
10
|
+
/** Repository role */
|
|
11
|
+
role?: UpdateProjectRepositoryBindingDtoRole;
|
|
12
|
+
/** Target branch override */
|
|
13
|
+
targetBranch?: string;
|
|
14
|
+
/** Display order (0-based) */
|
|
15
|
+
displayOrder?: number;
|
|
16
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Repository role
|
|
10
|
+
*/
|
|
11
|
+
export type UpdateProjectRepositoryBindingDtoRole = typeof UpdateProjectRepositoryBindingDtoRole[keyof typeof UpdateProjectRepositoryBindingDtoRole];
|
|
12
|
+
export declare const UpdateProjectRepositoryBindingDtoRole: {
|
|
13
|
+
readonly DELIVERABLE: "DELIVERABLE";
|
|
14
|
+
readonly REFERENCE: "REFERENCE";
|
|
15
|
+
};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* SCM Integration API
|
|
6
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.UpdateProjectRepositoryBindingDtoRole = void 0;
|
|
11
|
+
exports.UpdateProjectRepositoryBindingDtoRole = {
|
|
12
|
+
DELIVERABLE: 'DELIVERABLE',
|
|
13
|
+
REFERENCE: 'REFERENCE',
|
|
14
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
import type { UpsertOrgScmConfigDtoConfigJson } from './upsertOrgScmConfigDtoConfigJson.js';
|
|
9
|
+
import type { UpsertOrgScmConfigDtoProvider } from './upsertOrgScmConfigDtoProvider.js';
|
|
10
|
+
export interface UpsertOrgScmConfigDto {
|
|
11
|
+
/** Preferred SCM provider for new projects */
|
|
12
|
+
provider?: UpsertOrgScmConfigDtoProvider;
|
|
13
|
+
/** Default branch name for new repos */
|
|
14
|
+
defaultBranch?: string;
|
|
15
|
+
/** Auto-provision repos for new projects */
|
|
16
|
+
autoProvision?: boolean;
|
|
17
|
+
/** Provider-specific default configuration (non-secret metadata only) */
|
|
18
|
+
configJson?: UpsertOrgScmConfigDtoConfigJson;
|
|
19
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Provider-specific default configuration (non-secret metadata only)
|
|
10
|
+
*/
|
|
11
|
+
export type UpsertOrgScmConfigDtoConfigJson = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
};
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* SCM Integration API
|
|
6
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Generated by orval v8.15.0 🍺
|
|
3
|
+
* Do not edit manually.
|
|
4
|
+
* SCM Integration API
|
|
5
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
6
|
+
* OpenAPI spec version: 0.1.0
|
|
7
|
+
*/
|
|
8
|
+
/**
|
|
9
|
+
* Preferred SCM provider for new projects
|
|
10
|
+
*/
|
|
11
|
+
export type UpsertOrgScmConfigDtoProvider = typeof UpsertOrgScmConfigDtoProvider[keyof typeof UpsertOrgScmConfigDtoProvider];
|
|
12
|
+
export declare const UpsertOrgScmConfigDtoProvider: {
|
|
13
|
+
readonly git: "git";
|
|
14
|
+
readonly github: "github";
|
|
15
|
+
readonly gitea: "gitea";
|
|
16
|
+
readonly gitlab: "gitlab";
|
|
17
|
+
readonly 'azure-devops': "azure-devops";
|
|
18
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* Generated by orval v8.15.0 🍺
|
|
4
|
+
* Do not edit manually.
|
|
5
|
+
* SCM Integration API
|
|
6
|
+
* SCM / software-dev domain extracted out of connector-gateway-api (WS-E1). Owns org-scm-config, org-repositories, project-repository-bindings, change-requests, repository snapshots, the GitHub App, and SCM webhook ingestion.
|
|
7
|
+
* OpenAPI spec version: 0.1.0
|
|
8
|
+
*/
|
|
9
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
|
+
exports.UpsertOrgScmConfigDtoProvider = void 0;
|
|
11
|
+
exports.UpsertOrgScmConfigDtoProvider = {
|
|
12
|
+
git: 'git',
|
|
13
|
+
github: 'github',
|
|
14
|
+
gitea: 'gitea',
|
|
15
|
+
gitlab: 'gitlab',
|
|
16
|
+
'azure-devops': 'azure-devops',
|
|
17
|
+
};
|