@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,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 type OrgScmConfigResponseDtoProvider = typeof OrgScmConfigResponseDtoProvider[keyof typeof OrgScmConfigResponseDtoProvider];
|
|
9
|
+
export declare const OrgScmConfigResponseDtoProvider: {
|
|
10
|
+
readonly git: "git";
|
|
11
|
+
readonly github: "github";
|
|
12
|
+
readonly gitea: "gitea";
|
|
13
|
+
readonly gitlab: "gitlab";
|
|
14
|
+
readonly 'azure-devops': "azure-devops";
|
|
15
|
+
};
|
|
@@ -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.OrgScmConfigResponseDtoProvider = void 0;
|
|
11
|
+
exports.OrgScmConfigResponseDtoProvider = {
|
|
12
|
+
git: 'git',
|
|
13
|
+
github: 'github',
|
|
14
|
+
gitea: 'gitea',
|
|
15
|
+
gitlab: 'gitlab',
|
|
16
|
+
'azure-devops': 'azure-devops',
|
|
17
|
+
};
|
|
@@ -0,0 +1,26 @@
|
|
|
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 PostChangeRequestCommentDto {
|
|
9
|
+
/** Provider-native markdown body of the comment. */
|
|
10
|
+
body: string;
|
|
11
|
+
/**
|
|
12
|
+
* Repo-relative file path the comment anchors to (inline review comment). Omit for a top-level PR comment.
|
|
13
|
+
* @nullable
|
|
14
|
+
*/
|
|
15
|
+
path?: string | null;
|
|
16
|
+
/**
|
|
17
|
+
* Line number the comment anchors to. Requires `path`.
|
|
18
|
+
* @nullable
|
|
19
|
+
*/
|
|
20
|
+
line?: number | null;
|
|
21
|
+
/**
|
|
22
|
+
* Required by GitHub for inline review comments (the PR head commit sha). Optional on GitLab / Gitea. Omitted callers silently downgrade to a top-level comment on GitHub.
|
|
23
|
+
* @nullable
|
|
24
|
+
*/
|
|
25
|
+
commitSha?: string | null;
|
|
26
|
+
}
|
|
@@ -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,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 ProjectRepoGitContentControllerGetDiffParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Base ref (branch, tag, or SHA) for the diff
|
|
11
|
+
*/
|
|
12
|
+
base: string;
|
|
13
|
+
/**
|
|
14
|
+
* Head ref (branch, tag, or SHA) for the diff
|
|
15
|
+
*/
|
|
16
|
+
head: 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,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 ProjectRepoGitContentControllerGetFileParams = {
|
|
9
|
+
/**
|
|
10
|
+
* File path relative to the repository root
|
|
11
|
+
*/
|
|
12
|
+
path: string;
|
|
13
|
+
/**
|
|
14
|
+
* Git ref (branch, tag, or SHA). Defaults to the default branch.
|
|
15
|
+
*/
|
|
16
|
+
ref?: 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,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 ProjectRepoGitContentControllerListFilesParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Subdirectory path to list (defaults to repo root)
|
|
11
|
+
*/
|
|
12
|
+
path?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Git ref (branch, tag, or SHA). Defaults to the default branch.
|
|
15
|
+
*/
|
|
16
|
+
ref?: 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,14 @@
|
|
|
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 ProjectRepoLifecycleControllerGetCheckoutInstructionParams = {
|
|
9
|
+
/**
|
|
10
|
+
* Ref (branch, tag, or commit) to check out. Defaults to the binding`s configured `targetBranch` when omitted.
|
|
11
|
+
* @maxLength 200
|
|
12
|
+
*/
|
|
13
|
+
ref?: string;
|
|
14
|
+
};
|
|
@@ -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,22 @@
|
|
|
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 { OrgRepositoryResponseDto } from './orgRepositoryResponseDto.js';
|
|
9
|
+
import type { ProjectRepositoryBindingResponseDtoRole } from './projectRepositoryBindingResponseDtoRole.js';
|
|
10
|
+
import type { ProjectRepositoryBindingResponseDtoStatus } from './projectRepositoryBindingResponseDtoStatus.js';
|
|
11
|
+
export interface ProjectRepositoryBindingResponseDto {
|
|
12
|
+
id: string;
|
|
13
|
+
projectId: string;
|
|
14
|
+
orgRepositoryId: string;
|
|
15
|
+
slug: string;
|
|
16
|
+
role: ProjectRepositoryBindingResponseDtoRole;
|
|
17
|
+
isPrimary: boolean;
|
|
18
|
+
targetBranch: string;
|
|
19
|
+
displayOrder: number;
|
|
20
|
+
status: ProjectRepositoryBindingResponseDtoStatus;
|
|
21
|
+
orgRepository?: OrgRepositoryResponseDto;
|
|
22
|
+
}
|
|
@@ -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 { ProjectRepositoryBindingResponseDto } from './projectRepositoryBindingResponseDto.js';
|
|
9
|
+
export interface ProjectRepositoryBindingResponseDtoDataArrayEnvelope {
|
|
10
|
+
data: ProjectRepositoryBindingResponseDto[];
|
|
11
|
+
}
|
|
@@ -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 { ProjectRepositoryBindingResponseDto } from './projectRepositoryBindingResponseDto.js';
|
|
9
|
+
export interface ProjectRepositoryBindingResponseDtoDataEnvelope {
|
|
10
|
+
data: ProjectRepositoryBindingResponseDto;
|
|
11
|
+
}
|
|
@@ -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
|
+
export type ProjectRepositoryBindingResponseDtoRole = typeof ProjectRepositoryBindingResponseDtoRole[keyof typeof ProjectRepositoryBindingResponseDtoRole];
|
|
9
|
+
export declare const ProjectRepositoryBindingResponseDtoRole: {
|
|
10
|
+
readonly DELIVERABLE: "DELIVERABLE";
|
|
11
|
+
readonly REFERENCE: "REFERENCE";
|
|
12
|
+
};
|
|
@@ -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.ProjectRepositoryBindingResponseDtoRole = void 0;
|
|
11
|
+
exports.ProjectRepositoryBindingResponseDtoRole = {
|
|
12
|
+
DELIVERABLE: 'DELIVERABLE',
|
|
13
|
+
REFERENCE: 'REFERENCE',
|
|
14
|
+
};
|
|
@@ -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
|
+
export type ProjectRepositoryBindingResponseDtoStatus = typeof ProjectRepositoryBindingResponseDtoStatus[keyof typeof ProjectRepositoryBindingResponseDtoStatus];
|
|
9
|
+
export declare const ProjectRepositoryBindingResponseDtoStatus: {
|
|
10
|
+
readonly ACTIVE: "ACTIVE";
|
|
11
|
+
readonly PENDING_REMOVAL: "PENDING_REMOVAL";
|
|
12
|
+
};
|
|
@@ -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.ProjectRepositoryBindingResponseDtoStatus = void 0;
|
|
11
|
+
exports.ProjectRepositoryBindingResponseDtoStatus = {
|
|
12
|
+
ACTIVE: 'ACTIVE',
|
|
13
|
+
PENDING_REMOVAL: 'PENDING_REMOVAL',
|
|
14
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
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 { RepositoryStateKind } from './repositoryStateKind.js';
|
|
10
|
+
import type { ScmProvider } from './scmProvider.js';
|
|
11
|
+
export interface ProjectRepositoryStateResponseDto {
|
|
12
|
+
/** 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`). */
|
|
13
|
+
kind: RepositoryStateKind;
|
|
14
|
+
/** Provider hosting the bound remote */
|
|
15
|
+
provider: ScmProvider;
|
|
16
|
+
/** Stable user-facing slug of the project repository binding */
|
|
17
|
+
bindingSlug: string;
|
|
18
|
+
/** Public clone URL of the remote (no credentials) */
|
|
19
|
+
remoteUrl: string;
|
|
20
|
+
/**
|
|
21
|
+
* Remote's declared default branch when known. May be set even when `kind=empty` (GitHub keeps `default_branch` from repo creation).
|
|
22
|
+
* @nullable
|
|
23
|
+
*/
|
|
24
|
+
defaultBranch?: string | null;
|
|
25
|
+
/** Up to 3 existing branches on the remote, default-branch first when present. Empty for `empty` and `inaccessible` states. */
|
|
26
|
+
availableBranches: string[];
|
|
27
|
+
/** Sub-classification of `kind=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). Undefined when `kind !== inaccessible`. */
|
|
28
|
+
inaccessibleReason?: InaccessibleReason;
|
|
29
|
+
}
|
|
@@ -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 { ProjectRepositoryStateResponseDto } from './projectRepositoryStateResponseDto.js';
|
|
9
|
+
export interface ProjectRepositoryStateResponseDtoDataEnvelope {
|
|
10
|
+
data: ProjectRepositoryStateResponseDto;
|
|
11
|
+
}
|
|
@@ -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 interface ProviderBranchResponseDto {
|
|
9
|
+
/** Branch name (e.g. `main`, `develop`) */
|
|
10
|
+
name: string;
|
|
11
|
+
/** Branch head commit SHA */
|
|
12
|
+
sha?: string;
|
|
13
|
+
/** Whether this is the default branch for the repository */
|
|
14
|
+
isDefault: boolean;
|
|
15
|
+
/** Whether the branch is protected by the provider */
|
|
16
|
+
isProtected: boolean;
|
|
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,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 { ProviderBranchResponseDto } from './providerBranchResponseDto.js';
|
|
9
|
+
export interface ProviderBranchResponseDtoDataArrayEnvelope {
|
|
10
|
+
data: ProviderBranchResponseDto[];
|
|
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
|
+
import type { ProviderConnectionDtoProvider } from './providerConnectionDtoProvider.js';
|
|
9
|
+
export interface ProviderConnectionDto {
|
|
10
|
+
/** SCM provider type */
|
|
11
|
+
provider: ProviderConnectionDtoProvider;
|
|
12
|
+
/** Provider API base URL (e.g. https://api.github.com, http://gitea:3000) */
|
|
13
|
+
apiUrl: string;
|
|
14
|
+
/** Access token for authentication */
|
|
15
|
+
token: string;
|
|
16
|
+
}
|
|
@@ -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
|
+
/**
|
|
9
|
+
* SCM provider type
|
|
10
|
+
*/
|
|
11
|
+
export type ProviderConnectionDtoProvider = typeof ProviderConnectionDtoProvider[keyof typeof ProviderConnectionDtoProvider];
|
|
12
|
+
export declare const ProviderConnectionDtoProvider: {
|
|
13
|
+
readonly github: "github";
|
|
14
|
+
readonly gitea: "gitea";
|
|
15
|
+
readonly gitlab: "gitlab";
|
|
16
|
+
readonly 'azure-devops': "azure-devops";
|
|
17
|
+
};
|
|
@@ -0,0 +1,16 @@
|
|
|
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.ProviderConnectionDtoProvider = void 0;
|
|
11
|
+
exports.ProviderConnectionDtoProvider = {
|
|
12
|
+
github: 'github',
|
|
13
|
+
gitea: 'gitea',
|
|
14
|
+
gitlab: 'gitlab',
|
|
15
|
+
'azure-devops': 'azure-devops',
|
|
16
|
+
};
|
|
@@ -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
|
+
export interface ProviderOrgResponseDto {
|
|
9
|
+
id: number;
|
|
10
|
+
/** Organization login/username */
|
|
11
|
+
login: string;
|
|
12
|
+
/** Full display name */
|
|
13
|
+
fullName?: string;
|
|
14
|
+
/** Avatar URL */
|
|
15
|
+
avatarUrl?: string;
|
|
16
|
+
/** Whether this is the authenticated user (personal account) */
|
|
17
|
+
isUser: boolean;
|
|
18
|
+
}
|
|
@@ -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 { ProviderOrgResponseDto } from './providerOrgResponseDto.js';
|
|
9
|
+
export interface ProviderOrgResponseDtoDataArrayEnvelope {
|
|
10
|
+
data: ProviderOrgResponseDto[];
|
|
11
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 ProviderRepoResponseDto {
|
|
9
|
+
id: number;
|
|
10
|
+
/** Repository name */
|
|
11
|
+
name: string;
|
|
12
|
+
/** Full name (owner/repo) */
|
|
13
|
+
fullName: string;
|
|
14
|
+
/** Description */
|
|
15
|
+
description?: string;
|
|
16
|
+
/** Clone URL (HTTPS) */
|
|
17
|
+
cloneUrl: string;
|
|
18
|
+
/** HTML URL (web) */
|
|
19
|
+
htmlUrl: string;
|
|
20
|
+
/** Default branch */
|
|
21
|
+
defaultBranch: string;
|
|
22
|
+
/** Is private repository */
|
|
23
|
+
isPrivate: boolean;
|
|
24
|
+
/** Is fork */
|
|
25
|
+
isFork?: boolean;
|
|
26
|
+
/** Is empty (no commits) */
|
|
27
|
+
isEmpty?: boolean;
|
|
28
|
+
/** GitHub App installation that exposes this repo (GitHub provider only) */
|
|
29
|
+
installationId?: string;
|
|
30
|
+
/** GitHub account (org/user login) that owns the installation (GitHub provider only) */
|
|
31
|
+
accountLogin?: string;
|
|
32
|
+
}
|
|
@@ -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 { ProviderRepoResponseDto } from './providerRepoResponseDto.js';
|
|
9
|
+
export interface ProviderRepoResponseDtoDataArrayEnvelope {
|
|
10
|
+
data: ProviderRepoResponseDto[];
|
|
11
|
+
}
|
|
@@ -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 { ProviderRepoResponseDto } from './providerRepoResponseDto.js';
|
|
9
|
+
export interface ProviderRepoResponseDtoDataEnvelope {
|
|
10
|
+
data: ProviderRepoResponseDto;
|
|
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 { RegisterOrgRepositoryDtoMetadataJson } from './registerOrgRepositoryDtoMetadataJson.js';
|
|
9
|
+
import type { RegisterOrgRepositoryDtoProvider } from './registerOrgRepositoryDtoProvider.js';
|
|
10
|
+
export interface RegisterOrgRepositoryDto {
|
|
11
|
+
/** SCM provider */
|
|
12
|
+
provider: RegisterOrgRepositoryDtoProvider;
|
|
13
|
+
/** Remote repository URL */
|
|
14
|
+
remoteUrl: string;
|
|
15
|
+
/** Arbitrary metadata */
|
|
16
|
+
metadataJson?: RegisterOrgRepositoryDtoMetadataJson;
|
|
17
|
+
/** Link to the OrgScmConfig integration that provides credentials */
|
|
18
|
+
orgIntegrationId?: string;
|
|
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
|
+
* Arbitrary metadata
|
|
10
|
+
*/
|
|
11
|
+
export type RegisterOrgRepositoryDtoMetadataJson = {
|
|
12
|
+
[key: string]: unknown;
|
|
13
|
+
};
|