@oore/client 0.10.0 → 0.11.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/dist/generated/@tanstack/react-query.gen.d.ts +36 -12
- package/dist/generated/@tanstack/react-query.gen.js +41 -10
- package/dist/generated/msw.gen.d.ts +15 -1
- package/dist/generated/msw.gen.js +23 -0
- package/dist/generated/sdk.gen.d.ts +16 -6
- package/dist/generated/sdk.gen.js +23 -4
- package/dist/generated/types.gen.d.ts +140 -11
- package/dist/generated/valibot/v-approval-policy.d.ts +1 -0
- package/dist/generated/valibot/v-approval-policy.js +1 -0
- package/dist/generated/valibot/v-create-local-git-integration-response.d.ts +2 -0
- package/dist/generated/valibot/v-create-local-git-integration-response2.d.ts +2 -0
- package/dist/generated/valibot/v-create-notification-channel-response.d.ts +9 -0
- package/dist/generated/valibot/v-create-pipeline-body.d.ts +1 -0
- package/dist/generated/valibot/v-create-pipeline-request.d.ts +1 -0
- package/dist/generated/valibot/v-create-pipeline-response.d.ts +1 -0
- package/dist/generated/valibot/v-create-pipeline-response2.d.ts +1 -0
- package/dist/generated/valibot/v-delete-instance-secret-query.d.ts +4 -0
- package/dist/generated/valibot/v-delete-instance-secret-query.js +5 -0
- package/dist/generated/valibot/v-delete-pipeline-secret-query.d.ts +4 -0
- package/dist/generated/valibot/v-delete-pipeline-secret-query.js +5 -0
- package/dist/generated/valibot/v-delete-project-secret-query.d.ts +4 -0
- package/dist/generated/valibot/v-delete-project-secret-query.js +5 -0
- package/dist/generated/valibot/v-get-integration-response.d.ts +2 -0
- package/dist/generated/valibot/v-get-notification-channel-response.d.ts +9 -0
- package/dist/generated/valibot/v-get-pipeline-response.d.ts +1 -0
- package/dist/generated/valibot/v-git-hub-app-complete-response.d.ts +2 -0
- package/dist/generated/valibot/v-git-lab-complete-response.d.ts +2 -0
- package/dist/generated/valibot/v-github-complete-response.d.ts +2 -0
- package/dist/generated/valibot/v-gitlab-start-response.d.ts +2 -0
- package/dist/generated/valibot/v-google-play-credentials-test-request.d.ts +5 -0
- package/dist/generated/valibot/v-google-play-credentials-test-request.js +6 -0
- package/dist/generated/valibot/v-google-play-credentials-test-response.d.ts +8 -0
- package/dist/generated/valibot/v-google-play-credentials-test-response.js +13 -0
- package/dist/generated/valibot/v-integration-detail-response.d.ts +2 -0
- package/dist/generated/valibot/v-integration.d.ts +2 -0
- package/dist/generated/valibot/v-integration.js +6 -0
- package/dist/generated/valibot/v-list-builds-query.d.ts +2 -0
- package/dist/generated/valibot/v-list-builds-query.js +2 -0
- package/dist/generated/valibot/v-list-integrations-response.d.ts +2 -0
- package/dist/generated/valibot/v-list-integrations-response2.d.ts +2 -0
- package/dist/generated/valibot/v-list-local-git-integrations-response.d.ts +2 -0
- package/dist/generated/valibot/v-list-notification-channels-response.d.ts +9 -0
- package/dist/generated/valibot/v-list-notification-channels-response2.d.ts +9 -0
- package/dist/generated/valibot/v-list-pipelines-response.d.ts +1 -0
- package/dist/generated/valibot/v-list-pipelines-response2.d.ts +1 -0
- package/dist/generated/valibot/v-notification-channel-response.d.ts +9 -0
- package/dist/generated/valibot/v-notification-channel.d.ts +9 -0
- package/dist/generated/valibot/v-notification-channel.js +4 -1
- package/dist/generated/valibot/v-pipeline-detail-response.d.ts +1 -0
- package/dist/generated/valibot/v-pipeline.d.ts +1 -0
- package/dist/generated/valibot/v-smtp-config-summary.d.ts +9 -0
- package/dist/generated/valibot/v-smtp-config-summary.js +11 -0
- package/dist/generated/valibot/v-test-pipeline-google-play-credentials-body.d.ts +5 -0
- package/dist/generated/valibot/v-test-pipeline-google-play-credentials-body.js +3 -0
- package/dist/generated/valibot/v-test-pipeline-google-play-credentials-path.d.ts +4 -0
- package/dist/generated/valibot/v-test-pipeline-google-play-credentials-path.js +5 -0
- package/dist/generated/valibot/v-test-pipeline-google-play-credentials-response.d.ts +8 -0
- package/dist/generated/valibot/v-test-pipeline-google-play-credentials-response.js +3 -0
- package/dist/generated/valibot/v-update-notification-channel-response.d.ts +9 -0
- package/dist/generated/valibot/v-update-pipeline-body.d.ts +1 -0
- package/dist/generated/valibot/v-update-pipeline-request.d.ts +1 -0
- package/dist/generated/valibot/v-update-pipeline-response.d.ts +1 -0
- package/dist/generated/valibot/v-validate-pipeline-body.d.ts +1 -0
- package/dist/generated/valibot/v-validate-pipeline-request.d.ts +1 -0
- package/dist/msw.d.ts +2 -2
- package/dist/msw.js +1 -1
- package/dist/react-query.d.ts +1 -1
- package/dist/react-query.js +1 -1
- package/dist/valibot.d.ts +12 -3
- package/dist/valibot.js +12 -3
- package/openapi/openapi.json +291 -13
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type DefaultError, type InfiniteData, type UseMutationOptions } from '@tanstack/react-query';
|
|
2
2
|
import { type Options } from '../sdk.gen.js';
|
|
3
|
-
import type { AbortArtifactData, AbortArtifactResponse, AddProjectMemberData, AddProjectMemberError, AddProjectMemberResponse2, AppendBuildLogsData, AppendBuildLogsResponse2, ApproveBuildData, ApproveBuildError, ApproveBuildResponse, ApproveReleaseData, ApproveReleaseError, ApproveReleaseResponse, BrowseLocalGitDirectoriesData, CancelBuildData, CancelBuildError, CancelBuildResponse2, CheckGitlabPersonalTokenData, CheckGitlabPersonalTokenError, CheckGitlabPersonalTokenResponse, ClaimJobData, ClaimJobResponse2, CompleteArtifactData, CompleteArtifactResponse2, CompleteReleaseData, CompleteReleaseError, CompleteReleaseResponse, CompleteSetupData, CompleteSetupError, CompleteSetupResponse, ConfigureExternalAccessOidcData, ConfigureExternalAccessOidcError, ConfigureExternalAccessOidcResponse2, ConfigureOidcData, ConfigureOidcError, ConfigureOidcResponse, CreateApiTokenData, CreateApiTokenError, CreateApiTokenResponse2, CreateAppStoreConnectKeyData, CreateAppStoreConnectKeyError, CreateAppStoreConnectKeyResponse, CreateArtifactData, CreateArtifactInstallLinkData, CreateArtifactInstallLinkError, CreateArtifactInstallLinkResponse, CreateArtifactResponse2, CreateBuildData, CreateBuildError, CreateBuildResponse2, CreateInstanceSecretData, CreateInstanceSecretError, CreateInstanceSecretResponse, CreateLocalGitIntegrationData, CreateLocalGitIntegrationError, CreateLocalGitIntegrationResponse2, CreateNotificationChannelData, CreateNotificationChannelError, CreateNotificationChannelResponse, CreatePipelineData, CreatePipelineError, CreatePipelineResponse2, CreatePipelineSecretData, CreatePipelineSecretError, CreatePipelineSecretResponse, CreateProjectData, CreateProjectError, CreateProjectResponse2, CreateProjectSecretData, CreateProjectSecretError, CreateProjectSecretResponse, CreateReleaseData, CreateReleaseError, CreateReleaseResponse, CreateScopedDownloadTokenData, CreateScopedDownloadTokenError, CreateScopedDownloadTokenResponse2, CreateStreamTokenData, CreateStreamTokenResponse, DeleteAppStoreConnectKeyData, DeleteAppStoreConnectKeyError, DeleteAppStoreConnectKeyResponse, DeleteInstanceSecretData, DeleteInstanceSecretError, DeleteInstanceSecretResponse, DeleteIntegrationData, DeleteIntegrationError, DeleteIntegrationResponse, DeleteLocalGitIntegrationData, DeleteLocalGitIntegrationError, DeleteLocalGitIntegrationResponse, DeleteNotificationChannelData, DeleteNotificationChannelError, DeleteNotificationChannelResponse2, DeletePipelineData, DeletePipelineError, DeletePipelineResponse, DeletePipelineSecretData, DeletePipelineSecretError, DeletePipelineSecretResponse, DeleteProjectData, DeleteProjectError, DeleteProjectResponse, DeleteProjectRetentionData, DeleteProjectRetentionResponse, DeleteProjectSecretData, DeleteProjectSecretError, DeleteProjectSecretResponse, DeleteRunnerData, DeleteRunnerError, DeleteRunnerResponse, DeleteUserData, DeleteUserError, DeleteUserResponse, DiscoverRepositoryWorkflowsData, DownloadLocalArtifactData, DownloadLocalArtifactInstallData, DownloadLocalArtifactLegacyData, DownloadViaScopedTokenData, DownloadViaScopedTokenV1Data, FrontendPairData, FrontendPairError, FrontendPairResponse2, GenerateDownloadLinkData, GenerateDownloadLinkError, GenerateDownloadLinkResponse, GetArtifactStorageSettingsData, GetBuildData, GetBuildInsightsData, GetBuildLogsData, GetBuildTestResultsData, GetExternalAccessNetworkSettingsData, GetExternalAccessOidcData, GetExternalAccessPreflightData, GetExternalAccessTrustedProxySettingsData, GetInstancePreferencesData, GetIntegrationData, GetIosInstallManifestData, GetIosInstallManifestV1Data, GetJobAndroidSigningData, GetJobIosSigningData, GetJobPublishPlanData, GetJobRetryArtifactsData, GetJobSecretsData, GetJobStatusData, GetMeData, GetNotificationChannelData, GetPipelineAndroidSigningData, GetPipelineAppStorePublishData, GetPipelineData, GetPipelineGooglePlayPublishData, GetPipelineIosSigningData, GetProjectData, GetProjectRetentionData, GetReleaseData, GetRetentionLastCleanupData, GetRetentionPolicyData, GetRunnerData, GetRuntimeUpdatePreflightData, GetRuntimeUpdateStatusData, GetSetupStatusData, GetSetupSummaryData, GetStoreVitalsData, GithubCallbackData, GithubCompleteData, GithubCompleteError, GithubCompleteResponse, GithubCreatePageData, GithubInstalledData, GithubStartData, GithubStartError, GithubStartResponse, GithubWebhookData, GithubWebhookError, GithubWebhookResponse, GitlabAuthorizeData, GitlabAuthorizeError, GitlabAuthorizeResponse, GitlabCallbackData, GitlabCheckoutDiscoveryData, GitlabCheckoutUploadPackData, GitlabCheckoutUploadPackError, GitlabCheckoutUploadPackResponse, GitlabStartData, GitlabStartError, GitlabStartResponse, GitlabWebhookData, GitlabWebhookError, GitlabWebhookResponse, HaltReleaseData, HaltReleaseError, HaltReleaseResponse, HealthzData, InviteUserData, InviteUserError, InviteUserResponse2, ListApiTokensData, ListAppStoreConnectKeysData, ListArtifactsData, ListAuditLogsData, ListBuildArtifactsData, ListBuildArtifactsError, ListBuildArtifactsResponse, ListBuildsData, ListInstallationsData, ListInstanceSecretsData, ListIntegrationsData, ListLocalGitIntegrationsData, ListNotificationChannelsData, ListNotificationDeliveriesData, ListOperatorIncidentsData, ListPipelineIosDevicesData, ListPipelinesData, ListPipelineSecretsData, ListProjectArtifactsData, ListProjectMemberCandidatesData, ListProjectMembersData, ListProjectsData, ListProjectSecretsData, ListReleaseEventsData, ListReleasesData, ListRepositoriesData, ListRunnersData, ListScopedDownloadTokensData, ListSourceRepositoriesData, ListUsersData, LocalLoginData, LocalLoginError, LocalLoginResponse2, LogoutData, LogoutResponse2, MarkOperatorIncidentReadData, MarkOperatorIncidentReadError, MarkOperatorIncidentReadResponse, MetricsData, OidcCallbackData, OidcCallbackError, OidcCallbackResponse2, OidcStartData, PauseReleaseData, PauseReleaseError, PauseReleaseResponse, PreviewBuildChangelogData, PurgeRunnerCachesData, PurgeRunnerCachesError, PurgeRunnerCachesResponse, RaiseReleaseData, RaiseReleaseError, RaiseReleaseResponse, ReadyzData, ReEnableUserData, ReEnableUserError, ReEnableUserResponse2, RefreshStoreVitalsData, RefreshStoreVitalsError, RefreshStoreVitalsResponse, RegisterPipelineIosDeviceData, RegisterPipelineIosDeviceResponse, RegisterRunnerData, RegisterRunnerResponse2, RejectBuildData, RejectBuildError, RejectBuildResponse, RemoveProjectMemberData, RemoveProjectMemberError, RemoveProjectMemberResponse2, ReplaceGitlabPersonalTokenData, ReplaceGitlabPersonalTokenError, ReplaceGitlabPersonalTokenResponse, ReportJobPublishResultData, ReportJobPublishResultError, ReportJobPublishResultResponse, ReportJobTestResultsData, ReportJobTestResultsError, ReportJobTestResultsResponse, RepositoryAvatarData, RerunBuildData, RerunBuildError, RerunBuildResponse2, ResumeReleaseData, ResumeReleaseError, ResumeReleaseResponse, RetryBuildStepData, RetryBuildStepError, RetryBuildStepResponse, RevokeApiTokenData, RevokeApiTokenError, RevokeApiTokenResponse2, RevokeScopedDownloadTokenData, RevokeScopedDownloadTokenError, RevokeScopedDownloadTokenResponse, RotateGitlabRepositoryWebhookSecretData, RotateGitlabRepositoryWebhookSecretError, RotateGitlabRepositoryWebhookSecretResponse, RotateInstanceSecretData, RotateInstanceSecretError, RotateInstanceSecretResponse, RotatePipelineSecretData, RotatePipelineSecretError, RotatePipelineSecretResponse, RotateProjectSecretData, RotateProjectSecretError, RotateProjectSecretResponse, RunnerHeartbeatData, RunnerHeartbeatResponse2, SetupLocalOwnerCreateData, SetupLocalOwnerCreateError, SetupLocalOwnerCreateResponse2, SetupOidcStartData, SetupOidcStartError, SetupOidcStartResponse2, SetupOidcVerifyData, SetupOidcVerifyError, SetupOidcVerifyResponse2, SetupOwnerClaimTrustedProxyData, SetupOwnerClaimTrustedProxyError, SetupOwnerClaimTrustedProxyResponse, SetupPreferencesData, SetupPreferencesError, SetupPreferencesResponse2, SetupTrustedProxyConfigureData, SetupTrustedProxyConfigureError, SetupTrustedProxyConfigureResponse2, StartRuntimeUpdateData, StartRuntimeUpdateError, StartRuntimeUpdateResponse, SyncInstallationsData, SyncInstallationsError, SyncInstallationsResponse2, SyncPipelineIosSigningData, SyncPipelineIosSigningResponse2, TestNotificationChannelData, TestNotificationChannelError, TestNotificationChannelResponse2, TestOidcConnectionData, TestOidcConnectionError, TestOidcConnectionResponse2, TrustedProxyLoginData, TrustedProxyLoginError, TrustedProxyLoginResponse, UpdateAppStoreConnectKeyData, UpdateAppStoreConnectKeyError, UpdateAppStoreConnectKeyResponse, UpdateArtifactStorageSettingsData, UpdateArtifactStorageSettingsError, UpdateArtifactStorageSettingsResponse, UpdateExternalAccessNetworkSettingsData, UpdateExternalAccessNetworkSettingsError, UpdateExternalAccessNetworkSettingsResponse, UpdateExternalAccessTrustedProxySettingsData, UpdateExternalAccessTrustedProxySettingsError, UpdateExternalAccessTrustedProxySettingsResponse, UpdateInstancePreferencesData, UpdateInstancePreferencesError, UpdateInstancePreferencesResponse, UpdateJobStatusData, UpdateJobStatusError, UpdateJobStatusResponse, UpdateNotificationChannelData, UpdateNotificationChannelError, UpdateNotificationChannelResponse, UpdatePipelineAndroidSigningData, UpdatePipelineAndroidSigningResponse, UpdatePipelineAppStorePublishData, UpdatePipelineAppStorePublishError, UpdatePipelineAppStorePublishResponse, UpdatePipelineData, UpdatePipelineError, UpdatePipelineGooglePlayPublishData, UpdatePipelineGooglePlayPublishError, UpdatePipelineGooglePlayPublishResponse, UpdatePipelineIosSigningData, UpdatePipelineIosSigningResponse, UpdatePipelineResponse, UpdateProjectData, UpdateProjectError, UpdateProjectMemberData, UpdateProjectMemberError, UpdateProjectMemberResponse2, UpdateProjectResponse, UpdateProjectRetentionData, UpdateProjectRetentionResponse, UpdateRetentionPolicyData, UpdateRetentionPolicyResponse, UpdateRunnerData, UpdateRunnerResponse2, UpdateUserRoleData, UpdateUserRoleError, UpdateUserRoleResponse2, UploadLocalArtifactData, UploadLocalArtifactError, ValidatePipelineData, ValidatePipelineResponse2, VerifyBootstrapTokenData, VerifyBootstrapTokenError, VerifyBootstrapTokenResponse } from '../types.gen.js';
|
|
3
|
+
import type { AbortArtifactData, AbortArtifactResponse, AddProjectMemberData, AddProjectMemberError, AddProjectMemberResponse2, AppendBuildLogsData, AppendBuildLogsResponse2, ApproveBuildData, ApproveBuildError, ApproveBuildResponse, ApproveReleaseData, ApproveReleaseError, ApproveReleaseResponse, BrowseLocalGitDirectoriesData, CancelBuildData, CancelBuildError, CancelBuildResponse2, CheckGitlabPersonalTokenData, CheckGitlabPersonalTokenError, CheckGitlabPersonalTokenResponse, ClaimJobData, ClaimJobResponse2, CompleteArtifactData, CompleteArtifactResponse2, CompleteReleaseData, CompleteReleaseError, CompleteReleaseResponse, CompleteSetupData, CompleteSetupError, CompleteSetupResponse, ConfigureExternalAccessOidcData, ConfigureExternalAccessOidcError, ConfigureExternalAccessOidcResponse2, ConfigureOidcData, ConfigureOidcError, ConfigureOidcResponse, CreateApiTokenData, CreateApiTokenError, CreateApiTokenResponse2, CreateAppStoreConnectKeyData, CreateAppStoreConnectKeyError, CreateAppStoreConnectKeyResponse, CreateArtifactData, CreateArtifactInstallLinkData, CreateArtifactInstallLinkError, CreateArtifactInstallLinkResponse, CreateArtifactResponse2, CreateBuildData, CreateBuildError, CreateBuildResponse2, CreateInstanceSecretData, CreateInstanceSecretError, CreateInstanceSecretResponse, CreateLocalGitIntegrationData, CreateLocalGitIntegrationError, CreateLocalGitIntegrationResponse2, CreateNotificationChannelData, CreateNotificationChannelError, CreateNotificationChannelResponse, CreatePipelineData, CreatePipelineError, CreatePipelineResponse2, CreatePipelineSecretData, CreatePipelineSecretError, CreatePipelineSecretResponse, CreateProjectData, CreateProjectError, CreateProjectResponse2, CreateProjectSecretData, CreateProjectSecretError, CreateProjectSecretResponse, CreateReleaseData, CreateReleaseError, CreateReleaseResponse, CreateScopedDownloadTokenData, CreateScopedDownloadTokenError, CreateScopedDownloadTokenResponse2, CreateStreamTokenData, CreateStreamTokenResponse, DeleteAppStoreConnectKeyData, DeleteAppStoreConnectKeyError, DeleteAppStoreConnectKeyResponse, DeleteInstanceSecretData, DeleteInstanceSecretError, DeleteInstanceSecretResponse, DeleteIntegrationData, DeleteIntegrationError, DeleteIntegrationResponse, DeleteLocalGitIntegrationData, DeleteLocalGitIntegrationError, DeleteLocalGitIntegrationResponse, DeleteNotificationChannelData, DeleteNotificationChannelError, DeleteNotificationChannelResponse2, DeletePipelineData, DeletePipelineError, DeletePipelineResponse, DeletePipelineSecretData, DeletePipelineSecretError, DeletePipelineSecretResponse, DeleteProjectData, DeleteProjectError, DeleteProjectResponse, DeleteProjectRetentionData, DeleteProjectRetentionResponse, DeleteProjectSecretData, DeleteProjectSecretError, DeleteProjectSecretResponse, DeleteRunnerData, DeleteRunnerError, DeleteRunnerResponse, DeleteUserData, DeleteUserError, DeleteUserResponse, DiscoverRepositoryWorkflowsData, DownloadLocalArtifactData, DownloadLocalArtifactInstallData, DownloadLocalArtifactLegacyData, DownloadViaScopedTokenData, DownloadViaScopedTokenV1Data, FrontendPairData, FrontendPairError, FrontendPairResponse2, GenerateDownloadLinkData, GenerateDownloadLinkError, GenerateDownloadLinkResponse, GetArtifactStorageSettingsData, GetBuildData, GetBuildInsightsData, GetBuildLogsData, GetBuildTestResultsData, GetExternalAccessNetworkSettingsData, GetExternalAccessOidcData, GetExternalAccessPreflightData, GetExternalAccessTrustedProxySettingsData, GetInstancePreferencesData, GetIntegrationData, GetIosInstallManifestData, GetIosInstallManifestV1Data, GetJobAndroidSigningData, GetJobIosSigningData, GetJobPublishPlanData, GetJobRetryArtifactsData, GetJobSecretsData, GetJobStatusData, GetMeData, GetNotificationChannelData, GetPipelineAndroidSigningData, GetPipelineAppStorePublishData, GetPipelineData, GetPipelineGooglePlayPublishData, GetPipelineIosSigningData, GetProjectData, GetProjectRetentionData, GetReleaseData, GetRetentionLastCleanupData, GetRetentionPolicyData, GetRunnerData, GetRuntimeUpdatePreflightData, GetRuntimeUpdateStatusData, GetSetupStatusData, GetSetupSummaryData, GetStoreVitalsData, GithubCallbackData, GithubCompleteData, GithubCompleteError, GithubCompleteResponse, GithubCreatePageData, GithubInstalledData, GithubStartData, GithubStartError, GithubStartResponse, GithubWebhookData, GithubWebhookError, GithubWebhookResponse, GitlabAuthorizeData, GitlabAuthorizeError, GitlabAuthorizeResponse, GitlabCallbackData, GitlabCheckoutDiscoveryData, GitlabCheckoutUploadPackData, GitlabCheckoutUploadPackError, GitlabCheckoutUploadPackResponse, GitlabStartData, GitlabStartError, GitlabStartResponse, GitlabWebhookData, GitlabWebhookError, GitlabWebhookResponse, HaltReleaseData, HaltReleaseError, HaltReleaseResponse, HealthzData, InviteUserData, InviteUserError, InviteUserResponse2, ListApiTokensData, ListAppStoreConnectKeysData, ListArtifactsData, ListAuditLogsData, ListBuildArtifactsData, ListBuildArtifactsError, ListBuildArtifactsResponse, ListBuildsData, ListInstallationsData, ListInstanceSecretsData, ListIntegrationsData, ListLocalGitIntegrationsData, ListNotificationChannelsData, ListNotificationDeliveriesData, ListOperatorIncidentsData, ListPipelineIosDevicesData, ListPipelinesData, ListPipelineSecretsData, ListProjectArtifactsData, ListProjectMemberCandidatesData, ListProjectMembersData, ListProjectsData, ListProjectSecretsData, ListReleaseEventsData, ListReleasesData, ListRepositoriesData, ListRunnersData, ListScopedDownloadTokensData, ListSourceRepositoriesData, ListUsersData, LocalLoginData, LocalLoginError, LocalLoginResponse2, LogoutData, LogoutResponse2, MarkOperatorIncidentReadData, MarkOperatorIncidentReadError, MarkOperatorIncidentReadResponse, MetricsData, OidcCallbackData, OidcCallbackError, OidcCallbackResponse2, OidcStartData, PauseReleaseData, PauseReleaseError, PauseReleaseResponse, PreviewBuildChangelogData, PurgeRunnerCachesData, PurgeRunnerCachesError, PurgeRunnerCachesResponse, RaiseReleaseData, RaiseReleaseError, RaiseReleaseResponse, ReadyzData, ReEnableUserData, ReEnableUserError, ReEnableUserResponse2, RefreshStoreVitalsData, RefreshStoreVitalsResponse, RegisterPipelineIosDeviceData, RegisterPipelineIosDeviceResponse, RegisterRunnerData, RegisterRunnerResponse2, RejectBuildData, RejectBuildError, RejectBuildResponse, RemoveProjectMemberData, RemoveProjectMemberError, RemoveProjectMemberResponse2, ReplaceGitlabPersonalTokenData, ReplaceGitlabPersonalTokenError, ReplaceGitlabPersonalTokenResponse, ReportJobPublishResultData, ReportJobPublishResultError, ReportJobPublishResultResponse, ReportJobTestResultsData, ReportJobTestResultsError, ReportJobTestResultsResponse, RepositoryAvatarData, RerunBuildData, RerunBuildError, RerunBuildResponse2, ResumeReleaseData, ResumeReleaseError, ResumeReleaseResponse, RetryBuildStepData, RetryBuildStepError, RetryBuildStepResponse, RevokeApiTokenData, RevokeApiTokenError, RevokeApiTokenResponse2, RevokeScopedDownloadTokenData, RevokeScopedDownloadTokenError, RevokeScopedDownloadTokenResponse, RotateGitlabRepositoryWebhookSecretData, RotateGitlabRepositoryWebhookSecretError, RotateGitlabRepositoryWebhookSecretResponse, RotateInstanceSecretData, RotateInstanceSecretError, RotateInstanceSecretResponse, RotatePipelineSecretData, RotatePipelineSecretError, RotatePipelineSecretResponse, RotateProjectSecretData, RotateProjectSecretError, RotateProjectSecretResponse, RunnerHeartbeatData, RunnerHeartbeatResponse2, SetupLocalOwnerCreateData, SetupLocalOwnerCreateError, SetupLocalOwnerCreateResponse2, SetupOidcStartData, SetupOidcStartError, SetupOidcStartResponse2, SetupOidcVerifyData, SetupOidcVerifyError, SetupOidcVerifyResponse2, SetupOwnerClaimTrustedProxyData, SetupOwnerClaimTrustedProxyError, SetupOwnerClaimTrustedProxyResponse, SetupPreferencesData, SetupPreferencesError, SetupPreferencesResponse2, SetupTrustedProxyConfigureData, SetupTrustedProxyConfigureError, SetupTrustedProxyConfigureResponse2, StartRuntimeUpdateData, StartRuntimeUpdateError, StartRuntimeUpdateResponse, SyncInstallationsData, SyncInstallationsError, SyncInstallationsResponse2, SyncPipelineIosSigningData, SyncPipelineIosSigningResponse2, TestNotificationChannelData, TestNotificationChannelError, TestNotificationChannelResponse2, TestOidcConnectionData, TestOidcConnectionError, TestOidcConnectionResponse2, TestPipelineGooglePlayCredentialsData, TestPipelineGooglePlayCredentialsError, TestPipelineGooglePlayCredentialsResponse, TrustedProxyLoginData, TrustedProxyLoginError, TrustedProxyLoginResponse, UpdateAppStoreConnectKeyData, UpdateAppStoreConnectKeyError, UpdateAppStoreConnectKeyResponse, UpdateArtifactStorageSettingsData, UpdateArtifactStorageSettingsError, UpdateArtifactStorageSettingsResponse, UpdateExternalAccessNetworkSettingsData, UpdateExternalAccessNetworkSettingsError, UpdateExternalAccessNetworkSettingsResponse, UpdateExternalAccessTrustedProxySettingsData, UpdateExternalAccessTrustedProxySettingsError, UpdateExternalAccessTrustedProxySettingsResponse, UpdateInstancePreferencesData, UpdateInstancePreferencesError, UpdateInstancePreferencesResponse, UpdateJobStatusData, UpdateJobStatusError, UpdateJobStatusResponse, UpdateNotificationChannelData, UpdateNotificationChannelError, UpdateNotificationChannelResponse, UpdatePipelineAndroidSigningData, UpdatePipelineAndroidSigningResponse, UpdatePipelineAppStorePublishData, UpdatePipelineAppStorePublishError, UpdatePipelineAppStorePublishResponse, UpdatePipelineData, UpdatePipelineError, UpdatePipelineGooglePlayPublishData, UpdatePipelineGooglePlayPublishError, UpdatePipelineGooglePlayPublishResponse, UpdatePipelineIosSigningData, UpdatePipelineIosSigningResponse, UpdatePipelineResponse, UpdateProjectData, UpdateProjectError, UpdateProjectMemberData, UpdateProjectMemberError, UpdateProjectMemberResponse2, UpdateProjectResponse, UpdateProjectRetentionData, UpdateProjectRetentionResponse, UpdateRetentionPolicyData, UpdateRetentionPolicyResponse, UpdateRunnerData, UpdateRunnerResponse2, UpdateUserRoleData, UpdateUserRoleError, UpdateUserRoleResponse2, UploadLocalArtifactData, UploadLocalArtifactError, ValidatePipelineData, ValidatePipelineResponse2, VerifyBootstrapTokenData, VerifyBootstrapTokenError, VerifyBootstrapTokenResponse } from '../types.gen.js';
|
|
4
4
|
export type QueryKey<TOptions extends Options> = [
|
|
5
5
|
Pick<TOptions, 'baseUrl' | 'body' | 'headers' | 'path' | 'query'> & {
|
|
6
6
|
_id: string;
|
|
@@ -803,7 +803,7 @@ export declare const listBuildsQueryKey: (options?: Options<ListBuildsData>) =>
|
|
|
803
803
|
/**
|
|
804
804
|
* List builds
|
|
805
805
|
*
|
|
806
|
-
* Returns builds, optionally filtered by project, pipeline, or
|
|
806
|
+
* Returns builds, optionally filtered by project, pipeline, status, or branch, or searched with `q`.
|
|
807
807
|
*/
|
|
808
808
|
export declare const listBuildsOptions: (options: Options<ListBuildsData>) => import("@tanstack/react-query").OmitKeyof<import("@tanstack/react-query").UseQueryOptions<import("../types.gen.js").ListBuildsResponse, import("../types.gen.js").ApiError, import("../types.gen.js").ListBuildsResponse, [Pick<Options<ListBuildsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
809
809
|
_id: string;
|
|
@@ -824,7 +824,7 @@ export declare const listBuildsInfiniteQueryKey: (options?: Options<ListBuildsDa
|
|
|
824
824
|
/**
|
|
825
825
|
* List builds
|
|
826
826
|
*
|
|
827
|
-
* Returns builds, optionally filtered by project, pipeline, or
|
|
827
|
+
* Returns builds, optionally filtered by project, pipeline, status, or branch, or searched with `q`.
|
|
828
828
|
*/
|
|
829
829
|
export declare const listBuildsInfiniteOptions: (options: Options<ListBuildsData>) => Omit<import("@tanstack/react-query").UseInfiniteQueryOptions<import("../types.gen.js").ListBuildsResponse, import("../types.gen.js").ApiError, InfiniteData<import("../types.gen.js").ListBuildsResponse, unknown>, QueryKey<Options<ListBuildsData>>, number | Pick<Pick<Options<ListBuildsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
830
830
|
_id: string;
|
|
@@ -844,7 +844,7 @@ export declare const listBuildsInfiniteOptions: (options: Options<ListBuildsData
|
|
|
844
844
|
/**
|
|
845
845
|
* List builds
|
|
846
846
|
*
|
|
847
|
-
* Returns builds, optionally filtered by project, pipeline, or
|
|
847
|
+
* Returns builds, optionally filtered by project, pipeline, status, or branch, or searched with `q`.
|
|
848
848
|
*/
|
|
849
849
|
export declare const useListBuildsQuery: (options: Options<ListBuildsData>) => import("@tanstack/react-query").UseQueryResult<import("../types.gen.js").ListBuildsResponse, import("../types.gen.js").ApiError>;
|
|
850
850
|
export declare const getBuildInsightsQueryKey: (options?: Options<GetBuildInsightsData>) => [Pick<Options<GetBuildInsightsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
@@ -2042,6 +2042,28 @@ export declare const updatePipelineGooglePlayPublishMutation: (options?: Partial
|
|
|
2042
2042
|
* JSON is stored separately as a secret and referenced by name.
|
|
2043
2043
|
*/
|
|
2044
2044
|
export declare const useUpdatePipelineGooglePlayPublishMutation: (mutationOptions?: Partial<Omit<UseMutationOptions<UpdatePipelineGooglePlayPublishResponse, UpdatePipelineGooglePlayPublishError, Options<UpdatePipelineGooglePlayPublishData>>, "mutationFn">>) => import("@tanstack/react-query").UseMutationResult<import("../types.gen.js").PipelineGooglePlayPublishResponse, import("../types.gen.js").ApiError, Options<UpdatePipelineGooglePlayPublishData>, unknown>;
|
|
2045
|
+
export declare const testPipelineGooglePlayCredentialsMutationKey: (options?: Partial<Options<TestPipelineGooglePlayCredentialsData>>) => [Pick<Partial<Options<TestPipelineGooglePlayCredentialsData>>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
2046
|
+
_id: string;
|
|
2047
|
+
tags?: ReadonlyArray<string>;
|
|
2048
|
+
}];
|
|
2049
|
+
/**
|
|
2050
|
+
* Test Google Play credentials
|
|
2051
|
+
*
|
|
2052
|
+
* Requires the manage pipelines project permission. Exchanges the named
|
|
2053
|
+
* service account key for a token, then opens and discards a Play edit
|
|
2054
|
+
* for the app, so nothing changes in Play Console. A rejected key or
|
|
2055
|
+
* missing Play Console access is reported with `ok: false`.
|
|
2056
|
+
*/
|
|
2057
|
+
export declare const testPipelineGooglePlayCredentialsMutation: (options?: Partial<Options<TestPipelineGooglePlayCredentialsData>>) => UseMutationOptions<TestPipelineGooglePlayCredentialsResponse, TestPipelineGooglePlayCredentialsError, Options<TestPipelineGooglePlayCredentialsData>>;
|
|
2058
|
+
/**
|
|
2059
|
+
* Test Google Play credentials
|
|
2060
|
+
*
|
|
2061
|
+
* Requires the manage pipelines project permission. Exchanges the named
|
|
2062
|
+
* service account key for a token, then opens and discards a Play edit
|
|
2063
|
+
* for the app, so nothing changes in Play Console. A rejected key or
|
|
2064
|
+
* missing Play Console access is reported with `ok: false`.
|
|
2065
|
+
*/
|
|
2066
|
+
export declare const useTestPipelineGooglePlayCredentialsMutation: (mutationOptions?: Partial<Omit<UseMutationOptions<TestPipelineGooglePlayCredentialsResponse, TestPipelineGooglePlayCredentialsError, Options<TestPipelineGooglePlayCredentialsData>>, "mutationFn">>) => import("@tanstack/react-query").UseMutationResult<import("../types.gen.js").GooglePlayCredentialsTestResponse, import("../types.gen.js").ApiError, Options<TestPipelineGooglePlayCredentialsData>, unknown>;
|
|
2045
2067
|
export declare const listPipelineSecretsQueryKey: (options: Options<ListPipelineSecretsData>) => [Pick<Options<ListPipelineSecretsData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
2046
2068
|
_id: string;
|
|
2047
2069
|
_infinite?: boolean;
|
|
@@ -4210,19 +4232,21 @@ export declare const refreshStoreVitalsMutationKey: (options?: Partial<Options<R
|
|
|
4210
4232
|
/**
|
|
4211
4233
|
* Refresh store vitals
|
|
4212
4234
|
*
|
|
4213
|
-
*
|
|
4214
|
-
* granting a missing permission
|
|
4215
|
-
*
|
|
4235
|
+
* Asks the daemon to read the stores now for the caller's apps, for
|
|
4236
|
+
* example right after granting a missing permission. Waits up to 20
|
|
4237
|
+
* seconds for the reads and returns what has been read by then. Apps read
|
|
4238
|
+
* in the last 30 seconds are not read again.
|
|
4216
4239
|
*/
|
|
4217
|
-
export declare const refreshStoreVitalsMutation: (options?: Partial<Options<RefreshStoreVitalsData>>) => UseMutationOptions<RefreshStoreVitalsResponse,
|
|
4240
|
+
export declare const refreshStoreVitalsMutation: (options?: Partial<Options<RefreshStoreVitalsData>>) => UseMutationOptions<RefreshStoreVitalsResponse, DefaultError, Options<RefreshStoreVitalsData>>;
|
|
4218
4241
|
/**
|
|
4219
4242
|
* Refresh store vitals
|
|
4220
4243
|
*
|
|
4221
|
-
*
|
|
4222
|
-
* granting a missing permission
|
|
4223
|
-
*
|
|
4244
|
+
* Asks the daemon to read the stores now for the caller's apps, for
|
|
4245
|
+
* example right after granting a missing permission. Waits up to 20
|
|
4246
|
+
* seconds for the reads and returns what has been read by then. Apps read
|
|
4247
|
+
* in the last 30 seconds are not read again.
|
|
4224
4248
|
*/
|
|
4225
|
-
export declare const useRefreshStoreVitalsMutation: (mutationOptions?: Partial<Omit<UseMutationOptions<RefreshStoreVitalsResponse,
|
|
4249
|
+
export declare const useRefreshStoreVitalsMutation: (mutationOptions?: Partial<Omit<UseMutationOptions<RefreshStoreVitalsResponse, DefaultError, Options<RefreshStoreVitalsData>>, "mutationFn">>) => import("@tanstack/react-query").UseMutationResult<import("../types.gen.js").StoreVitalsResponse, Error, Options<RefreshStoreVitalsData>, unknown>;
|
|
4226
4250
|
export declare const getRuntimeUpdateStatusQueryKey: (options?: Options<GetRuntimeUpdateStatusData>) => [Pick<Options<GetRuntimeUpdateStatusData>, "query" | "body" | "headers" | "path" | "baseUrl"> & {
|
|
4227
4251
|
_id: string;
|
|
4228
4252
|
_infinite?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
2
|
import { infiniteQueryOptions, queryOptions, useMutation, useQuery } from '@tanstack/react-query';
|
|
3
3
|
import { client } from '../client.gen.js';
|
|
4
|
-
import { abortArtifact, addProjectMember, appendBuildLogs, approveBuild, approveRelease, browseLocalGitDirectories, cancelBuild, checkGitlabPersonalToken, claimJob, completeArtifact, completeRelease, completeSetup, configureExternalAccessOidc, configureOidc, createApiToken, createAppStoreConnectKey, createArtifact, createArtifactInstallLink, createBuild, createInstanceSecret, createLocalGitIntegration, createNotificationChannel, createPipeline, createPipelineSecret, createProject, createProjectSecret, createRelease, createScopedDownloadToken, createStreamToken, deleteAppStoreConnectKey, deleteInstanceSecret, deleteIntegration, deleteLocalGitIntegration, deleteNotificationChannel, deletePipeline, deletePipelineSecret, deleteProject, deleteProjectRetention, deleteProjectSecret, deleteRunner, deleteUser, discoverRepositoryWorkflows, downloadLocalArtifact, downloadLocalArtifactInstall, downloadLocalArtifactLegacy, downloadViaScopedToken, downloadViaScopedTokenV1, frontendPair, generateDownloadLink, getArtifactStorageSettings, getBuild, getBuildInsights, getBuildLogs, getBuildTestResults, getExternalAccessNetworkSettings, getExternalAccessOidc, getExternalAccessPreflight, getExternalAccessTrustedProxySettings, getInstancePreferences, getIntegration, getIosInstallManifest, getIosInstallManifestV1, getJobAndroidSigning, getJobIosSigning, getJobPublishPlan, getJobRetryArtifacts, getJobSecrets, getJobStatus, getMe, getNotificationChannel, getPipeline, getPipelineAndroidSigning, getPipelineAppStorePublish, getPipelineGooglePlayPublish, getPipelineIosSigning, getProject, getProjectRetention, getRelease, getRetentionLastCleanup, getRetentionPolicy, getRunner, getRuntimeUpdatePreflight, getRuntimeUpdateStatus, getSetupStatus, getSetupSummary, getStoreVitals, githubCallback, githubComplete, githubCreatePage, githubInstalled, githubStart, githubWebhook, gitlabAuthorize, gitlabCallback, gitlabCheckoutDiscovery, gitlabCheckoutUploadPack, gitlabStart, gitlabWebhook, haltRelease, healthz, inviteUser, listApiTokens, listAppStoreConnectKeys, listArtifacts, listAuditLogs, listBuildArtifacts, listBuilds, listInstallations, listInstanceSecrets, listIntegrations, listLocalGitIntegrations, listNotificationChannels, listNotificationDeliveries, listOperatorIncidents, listPipelineIosDevices, listPipelines, listPipelineSecrets, listProjectArtifacts, listProjectMemberCandidates, listProjectMembers, listProjects, listProjectSecrets, listReleaseEvents, listReleases, listRepositories, listRunners, listScopedDownloadTokens, listSourceRepositories, listUsers, localLogin, logout, markOperatorIncidentRead, metrics, oidcCallback, oidcStart, pauseRelease, previewBuildChangelog, purgeRunnerCaches, raiseRelease, readyz, reEnableUser, refreshStoreVitals, registerPipelineIosDevice, registerRunner, rejectBuild, removeProjectMember, replaceGitlabPersonalToken, reportJobPublishResult, reportJobTestResults, repositoryAvatar, rerunBuild, resumeRelease, retryBuildStep, revokeApiToken, revokeScopedDownloadToken, rotateGitlabRepositoryWebhookSecret, rotateInstanceSecret, rotatePipelineSecret, rotateProjectSecret, runnerHeartbeat, setupLocalOwnerCreate, setupOidcStart, setupOidcVerify, setupOwnerClaimTrustedProxy, setupPreferences, setupTrustedProxyConfigure, startRuntimeUpdate, syncInstallations, syncPipelineIosSigning, testNotificationChannel, testOidcConnection, trustedProxyLogin, updateAppStoreConnectKey, updateArtifactStorageSettings, updateExternalAccessNetworkSettings, updateExternalAccessTrustedProxySettings, updateInstancePreferences, updateJobStatus, updateNotificationChannel, updatePipeline, updatePipelineAndroidSigning, updatePipelineAppStorePublish, updatePipelineGooglePlayPublish, updatePipelineIosSigning, updateProject, updateProjectMember, updateProjectRetention, updateRetentionPolicy, updateRunner, updateUserRole, uploadLocalArtifact, validatePipeline, verifyBootstrapToken } from '../sdk.gen.js';
|
|
4
|
+
import { abortArtifact, addProjectMember, appendBuildLogs, approveBuild, approveRelease, browseLocalGitDirectories, cancelBuild, checkGitlabPersonalToken, claimJob, completeArtifact, completeRelease, completeSetup, configureExternalAccessOidc, configureOidc, createApiToken, createAppStoreConnectKey, createArtifact, createArtifactInstallLink, createBuild, createInstanceSecret, createLocalGitIntegration, createNotificationChannel, createPipeline, createPipelineSecret, createProject, createProjectSecret, createRelease, createScopedDownloadToken, createStreamToken, deleteAppStoreConnectKey, deleteInstanceSecret, deleteIntegration, deleteLocalGitIntegration, deleteNotificationChannel, deletePipeline, deletePipelineSecret, deleteProject, deleteProjectRetention, deleteProjectSecret, deleteRunner, deleteUser, discoverRepositoryWorkflows, downloadLocalArtifact, downloadLocalArtifactInstall, downloadLocalArtifactLegacy, downloadViaScopedToken, downloadViaScopedTokenV1, frontendPair, generateDownloadLink, getArtifactStorageSettings, getBuild, getBuildInsights, getBuildLogs, getBuildTestResults, getExternalAccessNetworkSettings, getExternalAccessOidc, getExternalAccessPreflight, getExternalAccessTrustedProxySettings, getInstancePreferences, getIntegration, getIosInstallManifest, getIosInstallManifestV1, getJobAndroidSigning, getJobIosSigning, getJobPublishPlan, getJobRetryArtifacts, getJobSecrets, getJobStatus, getMe, getNotificationChannel, getPipeline, getPipelineAndroidSigning, getPipelineAppStorePublish, getPipelineGooglePlayPublish, getPipelineIosSigning, getProject, getProjectRetention, getRelease, getRetentionLastCleanup, getRetentionPolicy, getRunner, getRuntimeUpdatePreflight, getRuntimeUpdateStatus, getSetupStatus, getSetupSummary, getStoreVitals, githubCallback, githubComplete, githubCreatePage, githubInstalled, githubStart, githubWebhook, gitlabAuthorize, gitlabCallback, gitlabCheckoutDiscovery, gitlabCheckoutUploadPack, gitlabStart, gitlabWebhook, haltRelease, healthz, inviteUser, listApiTokens, listAppStoreConnectKeys, listArtifacts, listAuditLogs, listBuildArtifacts, listBuilds, listInstallations, listInstanceSecrets, listIntegrations, listLocalGitIntegrations, listNotificationChannels, listNotificationDeliveries, listOperatorIncidents, listPipelineIosDevices, listPipelines, listPipelineSecrets, listProjectArtifacts, listProjectMemberCandidates, listProjectMembers, listProjects, listProjectSecrets, listReleaseEvents, listReleases, listRepositories, listRunners, listScopedDownloadTokens, listSourceRepositories, listUsers, localLogin, logout, markOperatorIncidentRead, metrics, oidcCallback, oidcStart, pauseRelease, previewBuildChangelog, purgeRunnerCaches, raiseRelease, readyz, reEnableUser, refreshStoreVitals, registerPipelineIosDevice, registerRunner, rejectBuild, removeProjectMember, replaceGitlabPersonalToken, reportJobPublishResult, reportJobTestResults, repositoryAvatar, rerunBuild, resumeRelease, retryBuildStep, revokeApiToken, revokeScopedDownloadToken, rotateGitlabRepositoryWebhookSecret, rotateInstanceSecret, rotatePipelineSecret, rotateProjectSecret, runnerHeartbeat, setupLocalOwnerCreate, setupOidcStart, setupOidcVerify, setupOwnerClaimTrustedProxy, setupPreferences, setupTrustedProxyConfigure, startRuntimeUpdate, syncInstallations, syncPipelineIosSigning, testNotificationChannel, testOidcConnection, testPipelineGooglePlayCredentials, trustedProxyLogin, updateAppStoreConnectKey, updateArtifactStorageSettings, updateExternalAccessNetworkSettings, updateExternalAccessTrustedProxySettings, updateInstancePreferences, updateJobStatus, updateNotificationChannel, updatePipeline, updatePipelineAndroidSigning, updatePipelineAppStorePublish, updatePipelineGooglePlayPublish, updatePipelineIosSigning, updateProject, updateProjectMember, updateProjectRetention, updateRetentionPolicy, updateRunner, updateUserRole, uploadLocalArtifact, validatePipeline, verifyBootstrapToken } from '../sdk.gen.js';
|
|
5
5
|
const createQueryKey = (id, options, infinite, tags) => {
|
|
6
6
|
const params = { _id: id, baseUrl: options?.baseUrl || (options?.client ?? client).getConfig().baseUrl };
|
|
7
7
|
if (infinite) {
|
|
@@ -827,7 +827,7 @@ export const listBuildsQueryKey = (options) => createQueryKey('listBuilds', opti
|
|
|
827
827
|
/**
|
|
828
828
|
* List builds
|
|
829
829
|
*
|
|
830
|
-
* Returns builds, optionally filtered by project, pipeline, or
|
|
830
|
+
* Returns builds, optionally filtered by project, pipeline, status, or branch, or searched with `q`.
|
|
831
831
|
*/
|
|
832
832
|
export const listBuildsOptions = (options) => queryOptions({
|
|
833
833
|
queryFn: async ({ queryKey, signal }) => await listBuilds({
|
|
@@ -842,7 +842,7 @@ export const listBuildsInfiniteQueryKey = (options) => createQueryKey('listBuild
|
|
|
842
842
|
/**
|
|
843
843
|
* List builds
|
|
844
844
|
*
|
|
845
|
-
* Returns builds, optionally filtered by project, pipeline, or
|
|
845
|
+
* Returns builds, optionally filtered by project, pipeline, status, or branch, or searched with `q`.
|
|
846
846
|
*/
|
|
847
847
|
export const listBuildsInfiniteOptions = (options) => {
|
|
848
848
|
const opts = infiniteQueryOptions(
|
|
@@ -870,7 +870,7 @@ export const listBuildsInfiniteOptions = (options) => {
|
|
|
870
870
|
/**
|
|
871
871
|
* List builds
|
|
872
872
|
*
|
|
873
|
-
* Returns builds, optionally filtered by project, pipeline, or
|
|
873
|
+
* Returns builds, optionally filtered by project, pipeline, status, or branch, or searched with `q`.
|
|
874
874
|
*/
|
|
875
875
|
export const useListBuildsQuery = (options) => useQuery(listBuildsOptions(options));
|
|
876
876
|
export const getBuildInsightsQueryKey = (options) => createQueryKey('getBuildInsights', options, false, ['Builds']);
|
|
@@ -2048,6 +2048,35 @@ export const updatePipelineGooglePlayPublishMutation = (options) => {
|
|
|
2048
2048
|
* JSON is stored separately as a secret and referenced by name.
|
|
2049
2049
|
*/
|
|
2050
2050
|
export const useUpdatePipelineGooglePlayPublishMutation = (mutationOptions) => useMutation({ ...updatePipelineGooglePlayPublishMutation(), ...mutationOptions });
|
|
2051
|
+
export const testPipelineGooglePlayCredentialsMutationKey = (options) => createMutationKey('testPipelineGooglePlayCredentials', options, ['Pipeline Publishing']);
|
|
2052
|
+
/**
|
|
2053
|
+
* Test Google Play credentials
|
|
2054
|
+
*
|
|
2055
|
+
* Requires the manage pipelines project permission. Exchanges the named
|
|
2056
|
+
* service account key for a token, then opens and discards a Play edit
|
|
2057
|
+
* for the app, so nothing changes in Play Console. A rejected key or
|
|
2058
|
+
* missing Play Console access is reported with `ok: false`.
|
|
2059
|
+
*/
|
|
2060
|
+
export const testPipelineGooglePlayCredentialsMutation = (options) => {
|
|
2061
|
+
const mutationOptions = {
|
|
2062
|
+
mutationFn: async (fnOptions) => await testPipelineGooglePlayCredentials({
|
|
2063
|
+
...options,
|
|
2064
|
+
...fnOptions,
|
|
2065
|
+
throwOnError: true
|
|
2066
|
+
}),
|
|
2067
|
+
mutationKey: testPipelineGooglePlayCredentialsMutationKey(options)
|
|
2068
|
+
};
|
|
2069
|
+
return mutationOptions;
|
|
2070
|
+
};
|
|
2071
|
+
/**
|
|
2072
|
+
* Test Google Play credentials
|
|
2073
|
+
*
|
|
2074
|
+
* Requires the manage pipelines project permission. Exchanges the named
|
|
2075
|
+
* service account key for a token, then opens and discards a Play edit
|
|
2076
|
+
* for the app, so nothing changes in Play Console. A rejected key or
|
|
2077
|
+
* missing Play Console access is reported with `ok: false`.
|
|
2078
|
+
*/
|
|
2079
|
+
export const useTestPipelineGooglePlayCredentialsMutation = (mutationOptions) => useMutation({ ...testPipelineGooglePlayCredentialsMutation(), ...mutationOptions });
|
|
2051
2080
|
export const listPipelineSecretsQueryKey = (options) => createQueryKey('listPipelineSecrets', options, false, ['Secrets']);
|
|
2052
2081
|
/**
|
|
2053
2082
|
* List pipeline secrets
|
|
@@ -4293,9 +4322,10 @@ export const refreshStoreVitalsMutationKey = (options) => createMutationKey('ref
|
|
|
4293
4322
|
/**
|
|
4294
4323
|
* Refresh store vitals
|
|
4295
4324
|
*
|
|
4296
|
-
*
|
|
4297
|
-
* granting a missing permission
|
|
4298
|
-
*
|
|
4325
|
+
* Asks the daemon to read the stores now for the caller's apps, for
|
|
4326
|
+
* example right after granting a missing permission. Waits up to 20
|
|
4327
|
+
* seconds for the reads and returns what has been read by then. Apps read
|
|
4328
|
+
* in the last 30 seconds are not read again.
|
|
4299
4329
|
*/
|
|
4300
4330
|
export const refreshStoreVitalsMutation = (options) => {
|
|
4301
4331
|
const mutationOptions = {
|
|
@@ -4311,9 +4341,10 @@ export const refreshStoreVitalsMutation = (options) => {
|
|
|
4311
4341
|
/**
|
|
4312
4342
|
* Refresh store vitals
|
|
4313
4343
|
*
|
|
4314
|
-
*
|
|
4315
|
-
* granting a missing permission
|
|
4316
|
-
*
|
|
4344
|
+
* Asks the daemon to read the stores now for the caller's apps, for
|
|
4345
|
+
* example right after granting a missing permission. Waits up to 20
|
|
4346
|
+
* seconds for the reads and returns what has been read by then. Apps read
|
|
4347
|
+
* in the last 30 seconds are not read again.
|
|
4317
4348
|
*/
|
|
4318
4349
|
export const useRefreshStoreVitalsMutation = (mutationOptions) => useMutation({ ...refreshStoreVitalsMutation(), ...mutationOptions });
|
|
4319
4350
|
export const getRuntimeUpdateStatusQueryKey = (options) => createQueryKey('getRuntimeUpdateStatus', options, false, ['System']);
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { type DefaultBodyType, type HttpHandler, type HttpResponseResolver, type RequestHandlerOptions as RequestHandlerOptions2 } from 'msw';
|
|
2
|
-
import type { AbortArtifactData, AbortArtifactResponses, AddProjectMemberData, AddProjectMemberResponses, AppendBuildLogsData, AppendBuildLogsResponses, ApproveBuildData, ApproveBuildResponses, ApproveReleaseData, ApproveReleaseResponses, BrowseLocalGitDirectoriesResponses, CancelBuildResponses, CheckGitlabPersonalTokenResponses, ClaimJobData, ClaimJobResponses, ClientOptions, CompleteArtifactData, CompleteArtifactResponses, CompleteReleaseData, CompleteReleaseResponses, CompleteSetupResponses, ConfigureExternalAccessOidcData, ConfigureExternalAccessOidcResponses, ConfigureOidcData, ConfigureOidcResponses, CreateApiTokenData, CreateApiTokenResponses, CreateAppStoreConnectKeyData, CreateAppStoreConnectKeyResponses, CreateArtifactData, CreateArtifactInstallLinkResponses, CreateArtifactResponses, CreateBuildData, CreateBuildResponses, CreateInstanceSecretData, CreateInstanceSecretResponses, CreateLocalGitIntegrationData, CreateLocalGitIntegrationResponses, CreateNotificationChannelData, CreateNotificationChannelResponses, CreatePipelineData, CreatePipelineResponses, CreatePipelineSecretData, CreatePipelineSecretResponses, CreateProjectData, CreateProjectResponses, CreateProjectSecretData, CreateProjectSecretResponses, CreateReleaseData, CreateReleaseResponses, CreateScopedDownloadTokenData, CreateScopedDownloadTokenResponses, CreateStreamTokenResponses, DeleteAppStoreConnectKeyResponses, DeleteInstanceSecretResponses, DeleteIntegrationResponses, DeleteLocalGitIntegrationResponses, DeleteNotificationChannelResponses, DeletePipelineResponses, DeletePipelineSecretResponses, DeleteProjectResponses, DeleteProjectRetentionResponses, DeleteProjectSecretResponses, DeleteRunnerResponses, DeleteUserResponses, DiscoverRepositoryWorkflowsResponses, DownloadLocalArtifactInstallResponses, DownloadLocalArtifactLegacyResponses, DownloadLocalArtifactResponses, FrontendPairData, FrontendPairResponses, GenerateDownloadLinkResponses, GetArtifactStorageSettingsResponses, GetBuildInsightsResponses, GetBuildLogsResponses, GetBuildResponses, GetBuildTestResultsResponses, GetExternalAccessNetworkSettingsResponses, GetExternalAccessOidcResponses, GetExternalAccessPreflightResponses, GetExternalAccessTrustedProxySettingsResponses, GetInstancePreferencesResponses, GetIntegrationResponses, GetIosInstallManifestResponses, GetIosInstallManifestV1Responses, GetJobAndroidSigningResponses, GetJobIosSigningResponses, GetJobPublishPlanResponses, GetJobRetryArtifactsResponses, GetJobSecretsResponses, GetJobStatusResponses, GetMeResponses, GetNotificationChannelResponses, GetPipelineAndroidSigningResponses, GetPipelineAppStorePublishResponses, GetPipelineGooglePlayPublishResponses, GetPipelineIosSigningResponses, GetPipelineResponses, GetProjectResponses, GetProjectRetentionResponses, GetReleaseResponses, GetRetentionLastCleanupResponses, GetRetentionPolicyResponses, GetRunnerResponses, GetRuntimeUpdatePreflightResponses, GetRuntimeUpdateStatusResponses, GetSetupStatusResponses, GetSetupSummaryResponses, GetStoreVitalsResponses, GithubCallbackResponses, GithubCompleteData, GithubCompleteResponses, GithubCreatePageResponses, GithubInstalledResponses, GithubStartData, GithubStartResponses, GithubWebhookResponses, GitlabAuthorizeData, GitlabAuthorizeResponses, GitlabCallbackResponses, GitlabCheckoutDiscoveryResponses, GitlabCheckoutUploadPackData, GitlabCheckoutUploadPackResponses, GitlabStartData, GitlabStartResponses, GitlabWebhookResponses, HaltReleaseData, HaltReleaseResponses, HealthzResponses, InviteUserData, InviteUserResponses, ListApiTokensResponses, ListAppStoreConnectKeysResponses, ListArtifactsResponses, ListAuditLogsResponses, ListBuildArtifactsData, ListBuildArtifactsResponses, ListBuildsResponses, ListInstallationsResponses, ListInstanceSecretsResponses, ListIntegrationsResponses, ListLocalGitIntegrationsResponses, ListNotificationChannelsResponses, ListNotificationDeliveriesResponses, ListOperatorIncidentsResponses, ListPipelineIosDevicesResponses, ListPipelineSecretsResponses, ListPipelinesResponses, ListProjectArtifactsResponses, ListProjectMemberCandidatesResponses, ListProjectMembersResponses, ListProjectSecretsResponses, ListProjectsResponses, ListReleaseEventsResponses, ListReleasesResponses, ListRepositoriesResponses, ListRunnersResponses, ListScopedDownloadTokensResponses, ListSourceRepositoriesResponses, ListUsersResponses, LocalLoginData, LocalLoginResponses, LogoutResponses, MarkOperatorIncidentReadResponses, MetricsResponses, OidcCallbackData, OidcCallbackResponses, OidcStartResponses, PauseReleaseData, PauseReleaseResponses, PreviewBuildChangelogResponses, PurgeRunnerCachesResponses, RaiseReleaseData, RaiseReleaseResponses, ReadyzResponses, ReEnableUserResponses, RefreshStoreVitalsResponses, RegisterPipelineIosDeviceData, RegisterPipelineIosDeviceResponses, RegisterRunnerData, RegisterRunnerResponses, RejectBuildData, RejectBuildResponses, RemoveProjectMemberResponses, ReplaceGitlabPersonalTokenData, ReplaceGitlabPersonalTokenResponses, ReportJobPublishResultData, ReportJobPublishResultResponses, ReportJobTestResultsData, ReportJobTestResultsResponses, RepositoryAvatarResponses, RerunBuildResponses, ResumeReleaseData, ResumeReleaseResponses, RetryBuildStepData, RetryBuildStepResponses, RevokeApiTokenResponses, RevokeScopedDownloadTokenResponses, RotateGitlabRepositoryWebhookSecretResponses, RotateInstanceSecretData, RotateInstanceSecretResponses, RotatePipelineSecretData, RotatePipelineSecretResponses, RotateProjectSecretData, RotateProjectSecretResponses, RunnerHeartbeatData, RunnerHeartbeatResponses, SetupLocalOwnerCreateData, SetupLocalOwnerCreateResponses, SetupOidcStartData, SetupOidcStartResponses, SetupOidcVerifyData, SetupOidcVerifyResponses, SetupOwnerClaimTrustedProxyResponses, SetupPreferencesData, SetupPreferencesResponses, SetupTrustedProxyConfigureData, SetupTrustedProxyConfigureResponses, StartRuntimeUpdateResponses, StreamBuildLogsResponses, StreamEventsResponses, SyncInstallationsData, SyncInstallationsResponses, SyncPipelineIosSigningResponses, TestNotificationChannelResponses, TestOidcConnectionData, TestOidcConnectionResponses, TrustedProxyLoginResponses, UpdateAppStoreConnectKeyData, UpdateAppStoreConnectKeyResponses, UpdateArtifactStorageSettingsData, UpdateArtifactStorageSettingsResponses, UpdateExternalAccessNetworkSettingsData, UpdateExternalAccessNetworkSettingsResponses, UpdateExternalAccessTrustedProxySettingsData, UpdateExternalAccessTrustedProxySettingsResponses, UpdateInstancePreferencesData, UpdateInstancePreferencesResponses, UpdateJobStatusData, UpdateJobStatusResponses, UpdateNotificationChannelData, UpdateNotificationChannelResponses, UpdatePipelineAndroidSigningData, UpdatePipelineAndroidSigningResponses, UpdatePipelineAppStorePublishData, UpdatePipelineAppStorePublishResponses, UpdatePipelineData, UpdatePipelineGooglePlayPublishData, UpdatePipelineGooglePlayPublishResponses, UpdatePipelineIosSigningData, UpdatePipelineIosSigningResponses, UpdatePipelineResponses, UpdateProjectData, UpdateProjectMemberData, UpdateProjectMemberResponses, UpdateProjectResponses, UpdateProjectRetentionData, UpdateProjectRetentionResponses, UpdateRetentionPolicyData, UpdateRetentionPolicyResponses, UpdateRunnerData, UpdateRunnerResponses, UpdateUserRoleData, UpdateUserRoleResponses, UploadLocalArtifactData, UploadLocalArtifactResponses, ValidatePipelineData, ValidatePipelineResponses, VerifyBootstrapTokenData, VerifyBootstrapTokenResponses } from './types.gen.js';
|
|
2
|
+
import type { AbortArtifactData, AbortArtifactResponses, AddProjectMemberData, AddProjectMemberResponses, AppendBuildLogsData, AppendBuildLogsResponses, ApproveBuildData, ApproveBuildResponses, ApproveReleaseData, ApproveReleaseResponses, BrowseLocalGitDirectoriesResponses, CancelBuildResponses, CheckGitlabPersonalTokenResponses, ClaimJobData, ClaimJobResponses, ClientOptions, CompleteArtifactData, CompleteArtifactResponses, CompleteReleaseData, CompleteReleaseResponses, CompleteSetupResponses, ConfigureExternalAccessOidcData, ConfigureExternalAccessOidcResponses, ConfigureOidcData, ConfigureOidcResponses, CreateApiTokenData, CreateApiTokenResponses, CreateAppStoreConnectKeyData, CreateAppStoreConnectKeyResponses, CreateArtifactData, CreateArtifactInstallLinkResponses, CreateArtifactResponses, CreateBuildData, CreateBuildResponses, CreateInstanceSecretData, CreateInstanceSecretResponses, CreateLocalGitIntegrationData, CreateLocalGitIntegrationResponses, CreateNotificationChannelData, CreateNotificationChannelResponses, CreatePipelineData, CreatePipelineResponses, CreatePipelineSecretData, CreatePipelineSecretResponses, CreateProjectData, CreateProjectResponses, CreateProjectSecretData, CreateProjectSecretResponses, CreateReleaseData, CreateReleaseResponses, CreateScopedDownloadTokenData, CreateScopedDownloadTokenResponses, CreateStreamTokenResponses, DeleteAppStoreConnectKeyResponses, DeleteInstanceSecretResponses, DeleteIntegrationResponses, DeleteLocalGitIntegrationResponses, DeleteNotificationChannelResponses, DeletePipelineResponses, DeletePipelineSecretResponses, DeleteProjectResponses, DeleteProjectRetentionResponses, DeleteProjectSecretResponses, DeleteRunnerResponses, DeleteUserResponses, DiscoverRepositoryWorkflowsResponses, DownloadLocalArtifactInstallResponses, DownloadLocalArtifactLegacyResponses, DownloadLocalArtifactResponses, FrontendPairData, FrontendPairResponses, GenerateDownloadLinkResponses, GetArtifactStorageSettingsResponses, GetBuildInsightsResponses, GetBuildLogsResponses, GetBuildResponses, GetBuildTestResultsResponses, GetExternalAccessNetworkSettingsResponses, GetExternalAccessOidcResponses, GetExternalAccessPreflightResponses, GetExternalAccessTrustedProxySettingsResponses, GetInstancePreferencesResponses, GetIntegrationResponses, GetIosInstallManifestResponses, GetIosInstallManifestV1Responses, GetJobAndroidSigningResponses, GetJobIosSigningResponses, GetJobPublishPlanResponses, GetJobRetryArtifactsResponses, GetJobSecretsResponses, GetJobStatusResponses, GetMeResponses, GetNotificationChannelResponses, GetPipelineAndroidSigningResponses, GetPipelineAppStorePublishResponses, GetPipelineGooglePlayPublishResponses, GetPipelineIosSigningResponses, GetPipelineResponses, GetProjectResponses, GetProjectRetentionResponses, GetReleaseResponses, GetRetentionLastCleanupResponses, GetRetentionPolicyResponses, GetRunnerResponses, GetRuntimeUpdatePreflightResponses, GetRuntimeUpdateStatusResponses, GetSetupStatusResponses, GetSetupSummaryResponses, GetStoreVitalsResponses, GithubCallbackResponses, GithubCompleteData, GithubCompleteResponses, GithubCreatePageResponses, GithubInstalledResponses, GithubStartData, GithubStartResponses, GithubWebhookResponses, GitlabAuthorizeData, GitlabAuthorizeResponses, GitlabCallbackResponses, GitlabCheckoutDiscoveryResponses, GitlabCheckoutUploadPackData, GitlabCheckoutUploadPackResponses, GitlabStartData, GitlabStartResponses, GitlabWebhookResponses, HaltReleaseData, HaltReleaseResponses, HealthzResponses, InviteUserData, InviteUserResponses, ListApiTokensResponses, ListAppStoreConnectKeysResponses, ListArtifactsResponses, ListAuditLogsResponses, ListBuildArtifactsData, ListBuildArtifactsResponses, ListBuildsResponses, ListInstallationsResponses, ListInstanceSecretsResponses, ListIntegrationsResponses, ListLocalGitIntegrationsResponses, ListNotificationChannelsResponses, ListNotificationDeliveriesResponses, ListOperatorIncidentsResponses, ListPipelineIosDevicesResponses, ListPipelineSecretsResponses, ListPipelinesResponses, ListProjectArtifactsResponses, ListProjectMemberCandidatesResponses, ListProjectMembersResponses, ListProjectSecretsResponses, ListProjectsResponses, ListReleaseEventsResponses, ListReleasesResponses, ListRepositoriesResponses, ListRunnersResponses, ListScopedDownloadTokensResponses, ListSourceRepositoriesResponses, ListUsersResponses, LocalLoginData, LocalLoginResponses, LogoutResponses, MarkOperatorIncidentReadResponses, MetricsResponses, OidcCallbackData, OidcCallbackResponses, OidcStartResponses, PauseReleaseData, PauseReleaseResponses, PreviewBuildChangelogResponses, PurgeRunnerCachesResponses, RaiseReleaseData, RaiseReleaseResponses, ReadyzResponses, ReEnableUserResponses, RefreshStoreVitalsResponses, RegisterPipelineIosDeviceData, RegisterPipelineIosDeviceResponses, RegisterRunnerData, RegisterRunnerResponses, RejectBuildData, RejectBuildResponses, RemoveProjectMemberResponses, ReplaceGitlabPersonalTokenData, ReplaceGitlabPersonalTokenResponses, ReportJobPublishResultData, ReportJobPublishResultResponses, ReportJobTestResultsData, ReportJobTestResultsResponses, RepositoryAvatarResponses, RerunBuildResponses, ResumeReleaseData, ResumeReleaseResponses, RetryBuildStepData, RetryBuildStepResponses, RevokeApiTokenResponses, RevokeScopedDownloadTokenResponses, RotateGitlabRepositoryWebhookSecretResponses, RotateInstanceSecretData, RotateInstanceSecretResponses, RotatePipelineSecretData, RotatePipelineSecretResponses, RotateProjectSecretData, RotateProjectSecretResponses, RunnerHeartbeatData, RunnerHeartbeatResponses, SetupLocalOwnerCreateData, SetupLocalOwnerCreateResponses, SetupOidcStartData, SetupOidcStartResponses, SetupOidcVerifyData, SetupOidcVerifyResponses, SetupOwnerClaimTrustedProxyResponses, SetupPreferencesData, SetupPreferencesResponses, SetupTrustedProxyConfigureData, SetupTrustedProxyConfigureResponses, StartRuntimeUpdateResponses, StreamBuildLogsResponses, StreamEventsResponses, SyncInstallationsData, SyncInstallationsResponses, SyncPipelineIosSigningResponses, TestNotificationChannelResponses, TestOidcConnectionData, TestOidcConnectionResponses, TestPipelineGooglePlayCredentialsData, TestPipelineGooglePlayCredentialsResponses, TrustedProxyLoginResponses, UpdateAppStoreConnectKeyData, UpdateAppStoreConnectKeyResponses, UpdateArtifactStorageSettingsData, UpdateArtifactStorageSettingsResponses, UpdateExternalAccessNetworkSettingsData, UpdateExternalAccessNetworkSettingsResponses, UpdateExternalAccessTrustedProxySettingsData, UpdateExternalAccessTrustedProxySettingsResponses, UpdateInstancePreferencesData, UpdateInstancePreferencesResponses, UpdateJobStatusData, UpdateJobStatusResponses, UpdateNotificationChannelData, UpdateNotificationChannelResponses, UpdatePipelineAndroidSigningData, UpdatePipelineAndroidSigningResponses, UpdatePipelineAppStorePublishData, UpdatePipelineAppStorePublishResponses, UpdatePipelineData, UpdatePipelineGooglePlayPublishData, UpdatePipelineGooglePlayPublishResponses, UpdatePipelineIosSigningData, UpdatePipelineIosSigningResponses, UpdatePipelineResponses, UpdateProjectData, UpdateProjectMemberData, UpdateProjectMemberResponses, UpdateProjectResponses, UpdateProjectRetentionData, UpdateProjectRetentionResponses, UpdateRetentionPolicyData, UpdateRetentionPolicyResponses, UpdateRunnerData, UpdateRunnerResponses, UpdateUserRoleData, UpdateUserRoleResponses, UploadLocalArtifactData, UploadLocalArtifactResponses, ValidatePipelineData, ValidatePipelineResponses, VerifyBootstrapTokenData, VerifyBootstrapTokenResponses } from './types.gen.js';
|
|
3
3
|
export type RequestHandlerOptions = RequestHandlerOptions2 & {
|
|
4
4
|
baseUrl?: ClientOptions['baseUrl'];
|
|
5
5
|
responseFallback?: 'error' | 'passthrough';
|
|
@@ -788,6 +788,16 @@ export type HandleUpdatePipelineGooglePlayPublishResponse = {
|
|
|
788
788
|
export declare function handleUpdatePipelineGooglePlayPublish(response?: HandleUpdatePipelineGooglePlayPublishResponse | HttpResponseResolver<{
|
|
789
789
|
pipeline_id: string;
|
|
790
790
|
}, UpdatePipelineGooglePlayPublishData['body']>, options?: RequestHandlerOptions): HttpHandler;
|
|
791
|
+
export type HandleTestPipelineGooglePlayCredentialsResponse = {
|
|
792
|
+
body: TestPipelineGooglePlayCredentialsResponses[200];
|
|
793
|
+
status?: 200;
|
|
794
|
+
};
|
|
795
|
+
/**
|
|
796
|
+
* Handler for the `POST /v1/pipelines/{pipeline_id}/publish/google-play/test-credentials` operation.
|
|
797
|
+
*/
|
|
798
|
+
export declare function handleTestPipelineGooglePlayCredentials(response?: HandleTestPipelineGooglePlayCredentialsResponse | HttpResponseResolver<{
|
|
799
|
+
pipeline_id: string;
|
|
800
|
+
}, TestPipelineGooglePlayCredentialsData['body']>, options?: RequestHandlerOptions): HttpHandler;
|
|
791
801
|
export type HandleListPipelineSecretsResponse = {
|
|
792
802
|
body: ListPipelineSecretsResponses[200];
|
|
793
803
|
status?: 200;
|
|
@@ -2160,6 +2170,10 @@ export type MswHandlerFactories = {
|
|
|
2160
2170
|
* Handler for the `PUT /v1/pipelines/{pipeline_id}/publish/google-play` operation.
|
|
2161
2171
|
*/
|
|
2162
2172
|
updatePipelineGooglePlayPublish: typeof handleUpdatePipelineGooglePlayPublish;
|
|
2173
|
+
/**
|
|
2174
|
+
* Handler for the `POST /v1/pipelines/{pipeline_id}/publish/google-play/test-credentials` operation.
|
|
2175
|
+
*/
|
|
2176
|
+
testPipelineGooglePlayCredentials: typeof handleTestPipelineGooglePlayCredentials;
|
|
2163
2177
|
/**
|
|
2164
2178
|
* Handler for the `GET /v1/pipelines/{pipeline_id}/secrets` operation.
|
|
2165
2179
|
*/
|
|
@@ -1785,6 +1785,27 @@ export function handleUpdatePipelineGooglePlayPublish(response, options) {
|
|
|
1785
1785
|
});
|
|
1786
1786
|
}, options);
|
|
1787
1787
|
}
|
|
1788
|
+
/**
|
|
1789
|
+
* Handler for the `POST /v1/pipelines/{pipeline_id}/publish/google-play/test-credentials` operation.
|
|
1790
|
+
*/
|
|
1791
|
+
export function handleTestPipelineGooglePlayCredentials(response, options) {
|
|
1792
|
+
return http.post(`${options?.baseUrl ?? '*'}/v1/pipelines/:pipeline_id/publish/google-play/test-credentials`, info => {
|
|
1793
|
+
if (typeof response === 'function') {
|
|
1794
|
+
return response(info);
|
|
1795
|
+
}
|
|
1796
|
+
const body = response?.body;
|
|
1797
|
+
if (body !== undefined) {
|
|
1798
|
+
return HttpResponse.json(body, { status: response?.status ?? 200 });
|
|
1799
|
+
}
|
|
1800
|
+
if (options?.responseFallback === 'passthrough') {
|
|
1801
|
+
return;
|
|
1802
|
+
}
|
|
1803
|
+
return new Response('Not Implemented', {
|
|
1804
|
+
status: 501,
|
|
1805
|
+
statusText: 'Not Implemented'
|
|
1806
|
+
});
|
|
1807
|
+
}, options);
|
|
1808
|
+
}
|
|
1788
1809
|
/**
|
|
1789
1810
|
* Handler for the `GET /v1/pipelines/{pipeline_id}/secrets` operation.
|
|
1790
1811
|
*/
|
|
@@ -4185,6 +4206,7 @@ export function createMswHandlers(config = {}) {
|
|
|
4185
4206
|
updatePipelineAppStorePublish: wrap(handleUpdatePipelineAppStorePublish),
|
|
4186
4207
|
getPipelineGooglePlayPublish: wrap(handleGetPipelineGooglePlayPublish),
|
|
4187
4208
|
updatePipelineGooglePlayPublish: wrap(handleUpdatePipelineGooglePlayPublish),
|
|
4209
|
+
testPipelineGooglePlayCredentials: wrap(handleTestPipelineGooglePlayCredentials),
|
|
4188
4210
|
listPipelineSecrets: wrap(handleListPipelineSecrets),
|
|
4189
4211
|
createPipelineSecret: wrap(handleCreatePipelineSecret),
|
|
4190
4212
|
deletePipelineSecret: wrap(handleDeletePipelineSecret),
|
|
@@ -4308,6 +4330,7 @@ export function createMswHandlers(config = {}) {
|
|
|
4308
4330
|
invoke(pick.gitlabCheckoutUploadPack, overrides.gitlabCheckoutUploadPack),
|
|
4309
4331
|
invoke(pick.getIosInstallManifestV1, overrides.getIosInstallManifestV1),
|
|
4310
4332
|
invoke(pick.registerPipelineIosDevice, overrides.registerPipelineIosDevice),
|
|
4333
|
+
invoke(pick.testPipelineGooglePlayCredentials, overrides.testPipelineGooglePlayCredentials),
|
|
4311
4334
|
invoke(pick.getJobAndroidSigning, overrides.getJobAndroidSigning),
|
|
4312
4335
|
invoke(pick.createArtifact, overrides.createArtifact),
|
|
4313
4336
|
invoke(pick.getJobIosSigning, overrides.getJobIosSigning),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { Client, ClientMeta, Options as Options2, RequestResult, ServerSentEventsResult, TDataShape } from './client/index.js';
|
|
2
|
-
import type { AbortArtifactData, AbortArtifactResponses, AddProjectMemberData, AddProjectMemberErrors, AddProjectMemberResponses, AppendBuildLogsData, AppendBuildLogsResponses, ApproveBuildData, ApproveBuildErrors, ApproveBuildResponses, ApproveReleaseData, ApproveReleaseErrors, ApproveReleaseResponses, BrowseLocalGitDirectoriesData, BrowseLocalGitDirectoriesErrors, BrowseLocalGitDirectoriesResponses, CancelBuildData, CancelBuildErrors, CancelBuildResponses, CheckGitlabPersonalTokenData, CheckGitlabPersonalTokenErrors, CheckGitlabPersonalTokenResponses, ClaimJobData, ClaimJobResponses, CompleteArtifactData, CompleteArtifactResponses, CompleteReleaseData, CompleteReleaseErrors, CompleteReleaseResponses, CompleteSetupData, CompleteSetupErrors, CompleteSetupResponses, ConfigureExternalAccessOidcData, ConfigureExternalAccessOidcErrors, ConfigureExternalAccessOidcResponses, ConfigureOidcData, ConfigureOidcErrors, ConfigureOidcResponses, CreateApiTokenData, CreateApiTokenErrors, CreateApiTokenResponses, CreateAppStoreConnectKeyData, CreateAppStoreConnectKeyErrors, CreateAppStoreConnectKeyResponses, CreateArtifactData, CreateArtifactInstallLinkData, CreateArtifactInstallLinkErrors, CreateArtifactInstallLinkResponses, CreateArtifactResponses, CreateBuildData, CreateBuildErrors, CreateBuildResponses, CreateInstanceSecretData, CreateInstanceSecretErrors, CreateInstanceSecretResponses, CreateLocalGitIntegrationData, CreateLocalGitIntegrationErrors, CreateLocalGitIntegrationResponses, CreateNotificationChannelData, CreateNotificationChannelErrors, CreateNotificationChannelResponses, CreatePipelineData, CreatePipelineErrors, CreatePipelineResponses, CreatePipelineSecretData, CreatePipelineSecretErrors, CreatePipelineSecretResponses, CreateProjectData, CreateProjectErrors, CreateProjectResponses, CreateProjectSecretData, CreateProjectSecretErrors, CreateProjectSecretResponses, CreateReleaseData, CreateReleaseErrors, CreateReleaseResponses, CreateScopedDownloadTokenData, CreateScopedDownloadTokenErrors, CreateScopedDownloadTokenResponses, CreateStreamTokenData, CreateStreamTokenResponses, DeleteAppStoreConnectKeyData, DeleteAppStoreConnectKeyErrors, DeleteAppStoreConnectKeyResponses, DeleteInstanceSecretData, DeleteInstanceSecretErrors, DeleteInstanceSecretResponses, DeleteIntegrationData, DeleteIntegrationErrors, DeleteIntegrationResponses, DeleteLocalGitIntegrationData, DeleteLocalGitIntegrationErrors, DeleteLocalGitIntegrationResponses, DeleteNotificationChannelData, DeleteNotificationChannelErrors, DeleteNotificationChannelResponses, DeletePipelineData, DeletePipelineErrors, DeletePipelineResponses, DeletePipelineSecretData, DeletePipelineSecretErrors, DeletePipelineSecretResponses, DeleteProjectData, DeleteProjectErrors, DeleteProjectResponses, DeleteProjectRetentionData, DeleteProjectRetentionResponses, DeleteProjectSecretData, DeleteProjectSecretErrors, DeleteProjectSecretResponses, DeleteRunnerData, DeleteRunnerErrors, DeleteRunnerResponses, DeleteUserData, DeleteUserErrors, DeleteUserResponses, DiscoverRepositoryWorkflowsData, DiscoverRepositoryWorkflowsErrors, DiscoverRepositoryWorkflowsResponses, DownloadLocalArtifactData, DownloadLocalArtifactErrors, DownloadLocalArtifactInstallData, DownloadLocalArtifactInstallErrors, DownloadLocalArtifactInstallResponses, DownloadLocalArtifactLegacyData, DownloadLocalArtifactLegacyErrors, DownloadLocalArtifactLegacyResponses, DownloadLocalArtifactResponses, DownloadViaScopedTokenData, DownloadViaScopedTokenErrors, DownloadViaScopedTokenV1Data, DownloadViaScopedTokenV1Errors, FrontendPairData, FrontendPairErrors, FrontendPairResponses, GenerateDownloadLinkData, GenerateDownloadLinkErrors, GenerateDownloadLinkResponses, GetArtifactStorageSettingsData, GetArtifactStorageSettingsResponses, GetBuildData, GetBuildErrors, GetBuildInsightsData, GetBuildInsightsErrors, GetBuildInsightsResponses, GetBuildLogsData, GetBuildLogsResponses, GetBuildResponses, GetBuildTestResultsData, GetBuildTestResultsErrors, GetBuildTestResultsResponses, GetExternalAccessNetworkSettingsData, GetExternalAccessNetworkSettingsErrors, GetExternalAccessNetworkSettingsResponses, GetExternalAccessOidcData, GetExternalAccessOidcErrors, GetExternalAccessOidcResponses, GetExternalAccessPreflightData, GetExternalAccessPreflightResponses, GetExternalAccessTrustedProxySettingsData, GetExternalAccessTrustedProxySettingsErrors, GetExternalAccessTrustedProxySettingsResponses, GetInstancePreferencesData, GetInstancePreferencesResponses, GetIntegrationData, GetIntegrationErrors, GetIntegrationResponses, GetIosInstallManifestData, GetIosInstallManifestErrors, GetIosInstallManifestResponses, GetIosInstallManifestV1Data, GetIosInstallManifestV1Errors, GetIosInstallManifestV1Responses, GetJobAndroidSigningData, GetJobAndroidSigningErrors, GetJobAndroidSigningResponses, GetJobIosSigningData, GetJobIosSigningErrors, GetJobIosSigningResponses, GetJobPublishPlanData, GetJobPublishPlanErrors, GetJobPublishPlanResponses, GetJobRetryArtifactsData, GetJobRetryArtifactsErrors, GetJobRetryArtifactsResponses, GetJobSecretsData, GetJobSecretsErrors, GetJobSecretsResponses, GetJobStatusData, GetJobStatusResponses, GetMeData, GetMeErrors, GetMeResponses, GetNotificationChannelData, GetNotificationChannelErrors, GetNotificationChannelResponses, GetPipelineAndroidSigningData, GetPipelineAndroidSigningResponses, GetPipelineAppStorePublishData, GetPipelineAppStorePublishErrors, GetPipelineAppStorePublishResponses, GetPipelineData, GetPipelineErrors, GetPipelineGooglePlayPublishData, GetPipelineGooglePlayPublishErrors, GetPipelineGooglePlayPublishResponses, GetPipelineIosSigningData, GetPipelineIosSigningResponses, GetPipelineResponses, GetProjectData, GetProjectErrors, GetProjectResponses, GetProjectRetentionData, GetProjectRetentionResponses, GetReleaseData, GetReleaseErrors, GetReleaseResponses, GetRetentionLastCleanupData, GetRetentionLastCleanupResponses, GetRetentionPolicyData, GetRetentionPolicyResponses, GetRunnerData, GetRunnerErrors, GetRunnerResponses, GetRuntimeUpdatePreflightData, GetRuntimeUpdatePreflightErrors, GetRuntimeUpdatePreflightResponses, GetRuntimeUpdateStatusData, GetRuntimeUpdateStatusErrors, GetRuntimeUpdateStatusResponses, GetSetupStatusData, GetSetupStatusErrors, GetSetupStatusResponses, GetSetupSummaryData, GetSetupSummaryErrors, GetSetupSummaryResponses, GetStoreVitalsData, GetStoreVitalsResponses, GithubCallbackData, GithubCallbackResponses, GithubCompleteData, GithubCompleteErrors, GithubCompleteResponses, GithubCreatePageData, GithubCreatePageErrors, GithubCreatePageResponses, GithubInstalledData, GithubInstalledErrors, GithubInstalledResponses, GithubStartData, GithubStartErrors, GithubStartResponses, GithubWebhookData, GithubWebhookErrors, GithubWebhookResponses, GitlabAuthorizeData, GitlabAuthorizeErrors, GitlabAuthorizeResponses, GitlabCallbackData, GitlabCallbackResponses, GitlabCheckoutDiscoveryData, GitlabCheckoutDiscoveryErrors, GitlabCheckoutDiscoveryResponses, GitlabCheckoutUploadPackData, GitlabCheckoutUploadPackErrors, GitlabCheckoutUploadPackResponses, GitlabStartData, GitlabStartErrors, GitlabStartResponses, GitlabWebhookData, GitlabWebhookErrors, GitlabWebhookResponses, HaltReleaseData, HaltReleaseErrors, HaltReleaseResponses, HealthzData, HealthzResponses, InviteUserData, InviteUserErrors, InviteUserResponses, ListApiTokensData, ListApiTokensErrors, ListApiTokensResponses, ListAppStoreConnectKeysData, ListAppStoreConnectKeysErrors, ListAppStoreConnectKeysResponses, ListArtifactsData, ListArtifactsResponses, ListAuditLogsData, ListAuditLogsErrors, ListAuditLogsResponses, ListBuildArtifactsData, ListBuildArtifactsErrors, ListBuildArtifactsResponses, ListBuildsData, ListBuildsErrors, ListBuildsResponses, ListInstallationsData, ListInstallationsResponses, ListInstanceSecretsData, ListInstanceSecretsErrors, ListInstanceSecretsResponses, ListIntegrationsData, ListIntegrationsResponses, ListLocalGitIntegrationsData, ListLocalGitIntegrationsErrors, ListLocalGitIntegrationsResponses, ListNotificationChannelsData, ListNotificationChannelsErrors, ListNotificationChannelsResponses, ListNotificationDeliveriesData, ListNotificationDeliveriesErrors, ListNotificationDeliveriesResponses, ListOperatorIncidentsData, ListOperatorIncidentsErrors, ListOperatorIncidentsResponses, ListPipelineIosDevicesData, ListPipelineIosDevicesResponses, ListPipelinesData, ListPipelineSecretsData, ListPipelineSecretsErrors, ListPipelineSecretsResponses, ListPipelinesErrors, ListPipelinesResponses, ListProjectArtifactsData, ListProjectArtifactsErrors, ListProjectArtifactsResponses, ListProjectMemberCandidatesData, ListProjectMemberCandidatesErrors, ListProjectMemberCandidatesResponses, ListProjectMembersData, ListProjectMembersErrors, ListProjectMembersResponses, ListProjectsData, ListProjectSecretsData, ListProjectSecretsErrors, ListProjectSecretsResponses, ListProjectsErrors, ListProjectsResponses, ListReleaseEventsData, ListReleaseEventsErrors, ListReleaseEventsResponses, ListReleasesData, ListReleasesErrors, ListReleasesResponses, ListRepositoriesData, ListRepositoriesResponses, ListRunnersData, ListRunnersResponses, ListScopedDownloadTokensData, ListScopedDownloadTokensResponses, ListSourceRepositoriesData, ListSourceRepositoriesResponses, ListUsersData, ListUsersErrors, ListUsersResponses, LocalLoginData, LocalLoginErrors, LocalLoginResponses, LogoutData, LogoutResponses, MarkOperatorIncidentReadData, MarkOperatorIncidentReadErrors, MarkOperatorIncidentReadResponses, MetricsData, MetricsResponses, OidcCallbackData, OidcCallbackErrors, OidcCallbackResponses, OidcStartData, OidcStartErrors, OidcStartResponses, PauseReleaseData, PauseReleaseErrors, PauseReleaseResponses, PreviewBuildChangelogData, PreviewBuildChangelogErrors, PreviewBuildChangelogResponses, PurgeRunnerCachesData, PurgeRunnerCachesErrors, PurgeRunnerCachesResponses, RaiseReleaseData, RaiseReleaseErrors, RaiseReleaseResponses, ReadyzData, ReadyzErrors, ReadyzResponses, ReEnableUserData, ReEnableUserErrors, ReEnableUserResponses, RefreshStoreVitalsData, RefreshStoreVitalsErrors, RefreshStoreVitalsResponses, RegisterPipelineIosDeviceData, RegisterPipelineIosDeviceResponses, RegisterRunnerData, RegisterRunnerResponses, RejectBuildData, RejectBuildErrors, RejectBuildResponses, RemoveProjectMemberData, RemoveProjectMemberErrors, RemoveProjectMemberResponses, ReplaceGitlabPersonalTokenData, ReplaceGitlabPersonalTokenErrors, ReplaceGitlabPersonalTokenResponses, ReportJobPublishResultData, ReportJobPublishResultErrors, ReportJobPublishResultResponses, ReportJobTestResultsData, ReportJobTestResultsErrors, ReportJobTestResultsResponses, RepositoryAvatarData, RepositoryAvatarErrors, RepositoryAvatarResponses, RerunBuildData, RerunBuildErrors, RerunBuildResponses, ResumeReleaseData, ResumeReleaseErrors, ResumeReleaseResponses, RetryBuildStepData, RetryBuildStepErrors, RetryBuildStepResponses, RevokeApiTokenData, RevokeApiTokenErrors, RevokeApiTokenResponses, RevokeScopedDownloadTokenData, RevokeScopedDownloadTokenErrors, RevokeScopedDownloadTokenResponses, RotateGitlabRepositoryWebhookSecretData, RotateGitlabRepositoryWebhookSecretErrors, RotateGitlabRepositoryWebhookSecretResponses, RotateInstanceSecretData, RotateInstanceSecretErrors, RotateInstanceSecretResponses, RotatePipelineSecretData, RotatePipelineSecretErrors, RotatePipelineSecretResponses, RotateProjectSecretData, RotateProjectSecretErrors, RotateProjectSecretResponses, RunnerHeartbeatData, RunnerHeartbeatResponses, SetupLocalOwnerCreateData, SetupLocalOwnerCreateErrors, SetupLocalOwnerCreateResponses, SetupOidcStartData, SetupOidcStartErrors, SetupOidcStartResponses, SetupOidcVerifyData, SetupOidcVerifyErrors, SetupOidcVerifyResponses, SetupOwnerClaimTrustedProxyData, SetupOwnerClaimTrustedProxyErrors, SetupOwnerClaimTrustedProxyResponses, SetupPreferencesData, SetupPreferencesErrors, SetupPreferencesResponses, SetupTrustedProxyConfigureData, SetupTrustedProxyConfigureErrors, SetupTrustedProxyConfigureResponses, StartRuntimeUpdateData, StartRuntimeUpdateErrors, StartRuntimeUpdateResponses, StreamBuildLogsData, StreamBuildLogsResponse, StreamBuildLogsResponses, StreamEventsData, StreamEventsResponse, StreamEventsResponses, SyncInstallationsData, SyncInstallationsErrors, SyncInstallationsResponses, SyncPipelineIosSigningData, SyncPipelineIosSigningResponses, TestNotificationChannelData, TestNotificationChannelErrors, TestNotificationChannelResponses, TestOidcConnectionData, TestOidcConnectionErrors, TestOidcConnectionResponses, TrustedProxyLoginData, TrustedProxyLoginErrors, TrustedProxyLoginResponses, UpdateAppStoreConnectKeyData, UpdateAppStoreConnectKeyErrors, UpdateAppStoreConnectKeyResponses, UpdateArtifactStorageSettingsData, UpdateArtifactStorageSettingsErrors, UpdateArtifactStorageSettingsResponses, UpdateExternalAccessNetworkSettingsData, UpdateExternalAccessNetworkSettingsErrors, UpdateExternalAccessNetworkSettingsResponses, UpdateExternalAccessTrustedProxySettingsData, UpdateExternalAccessTrustedProxySettingsErrors, UpdateExternalAccessTrustedProxySettingsResponses, UpdateInstancePreferencesData, UpdateInstancePreferencesErrors, UpdateInstancePreferencesResponses, UpdateJobStatusData, UpdateJobStatusErrors, UpdateJobStatusResponses, UpdateNotificationChannelData, UpdateNotificationChannelErrors, UpdateNotificationChannelResponses, UpdatePipelineAndroidSigningData, UpdatePipelineAndroidSigningResponses, UpdatePipelineAppStorePublishData, UpdatePipelineAppStorePublishErrors, UpdatePipelineAppStorePublishResponses, UpdatePipelineData, UpdatePipelineErrors, UpdatePipelineGooglePlayPublishData, UpdatePipelineGooglePlayPublishErrors, UpdatePipelineGooglePlayPublishResponses, UpdatePipelineIosSigningData, UpdatePipelineIosSigningResponses, UpdatePipelineResponses, UpdateProjectData, UpdateProjectErrors, UpdateProjectMemberData, UpdateProjectMemberErrors, UpdateProjectMemberResponses, UpdateProjectResponses, UpdateProjectRetentionData, UpdateProjectRetentionResponses, UpdateRetentionPolicyData, UpdateRetentionPolicyResponses, UpdateRunnerData, UpdateRunnerResponses, UpdateUserRoleData, UpdateUserRoleErrors, UpdateUserRoleResponses, UploadLocalArtifactData, UploadLocalArtifactErrors, UploadLocalArtifactResponses, ValidatePipelineData, ValidatePipelineResponses, VerifyBootstrapTokenData, VerifyBootstrapTokenErrors, VerifyBootstrapTokenResponses } from './types.gen.js';
|
|
2
|
+
import type { AbortArtifactData, AbortArtifactResponses, AddProjectMemberData, AddProjectMemberErrors, AddProjectMemberResponses, AppendBuildLogsData, AppendBuildLogsResponses, ApproveBuildData, ApproveBuildErrors, ApproveBuildResponses, ApproveReleaseData, ApproveReleaseErrors, ApproveReleaseResponses, BrowseLocalGitDirectoriesData, BrowseLocalGitDirectoriesErrors, BrowseLocalGitDirectoriesResponses, CancelBuildData, CancelBuildErrors, CancelBuildResponses, CheckGitlabPersonalTokenData, CheckGitlabPersonalTokenErrors, CheckGitlabPersonalTokenResponses, ClaimJobData, ClaimJobResponses, CompleteArtifactData, CompleteArtifactResponses, CompleteReleaseData, CompleteReleaseErrors, CompleteReleaseResponses, CompleteSetupData, CompleteSetupErrors, CompleteSetupResponses, ConfigureExternalAccessOidcData, ConfigureExternalAccessOidcErrors, ConfigureExternalAccessOidcResponses, ConfigureOidcData, ConfigureOidcErrors, ConfigureOidcResponses, CreateApiTokenData, CreateApiTokenErrors, CreateApiTokenResponses, CreateAppStoreConnectKeyData, CreateAppStoreConnectKeyErrors, CreateAppStoreConnectKeyResponses, CreateArtifactData, CreateArtifactInstallLinkData, CreateArtifactInstallLinkErrors, CreateArtifactInstallLinkResponses, CreateArtifactResponses, CreateBuildData, CreateBuildErrors, CreateBuildResponses, CreateInstanceSecretData, CreateInstanceSecretErrors, CreateInstanceSecretResponses, CreateLocalGitIntegrationData, CreateLocalGitIntegrationErrors, CreateLocalGitIntegrationResponses, CreateNotificationChannelData, CreateNotificationChannelErrors, CreateNotificationChannelResponses, CreatePipelineData, CreatePipelineErrors, CreatePipelineResponses, CreatePipelineSecretData, CreatePipelineSecretErrors, CreatePipelineSecretResponses, CreateProjectData, CreateProjectErrors, CreateProjectResponses, CreateProjectSecretData, CreateProjectSecretErrors, CreateProjectSecretResponses, CreateReleaseData, CreateReleaseErrors, CreateReleaseResponses, CreateScopedDownloadTokenData, CreateScopedDownloadTokenErrors, CreateScopedDownloadTokenResponses, CreateStreamTokenData, CreateStreamTokenResponses, DeleteAppStoreConnectKeyData, DeleteAppStoreConnectKeyErrors, DeleteAppStoreConnectKeyResponses, DeleteInstanceSecretData, DeleteInstanceSecretErrors, DeleteInstanceSecretResponses, DeleteIntegrationData, DeleteIntegrationErrors, DeleteIntegrationResponses, DeleteLocalGitIntegrationData, DeleteLocalGitIntegrationErrors, DeleteLocalGitIntegrationResponses, DeleteNotificationChannelData, DeleteNotificationChannelErrors, DeleteNotificationChannelResponses, DeletePipelineData, DeletePipelineErrors, DeletePipelineResponses, DeletePipelineSecretData, DeletePipelineSecretErrors, DeletePipelineSecretResponses, DeleteProjectData, DeleteProjectErrors, DeleteProjectResponses, DeleteProjectRetentionData, DeleteProjectRetentionResponses, DeleteProjectSecretData, DeleteProjectSecretErrors, DeleteProjectSecretResponses, DeleteRunnerData, DeleteRunnerErrors, DeleteRunnerResponses, DeleteUserData, DeleteUserErrors, DeleteUserResponses, DiscoverRepositoryWorkflowsData, DiscoverRepositoryWorkflowsErrors, DiscoverRepositoryWorkflowsResponses, DownloadLocalArtifactData, DownloadLocalArtifactErrors, DownloadLocalArtifactInstallData, DownloadLocalArtifactInstallErrors, DownloadLocalArtifactInstallResponses, DownloadLocalArtifactLegacyData, DownloadLocalArtifactLegacyErrors, DownloadLocalArtifactLegacyResponses, DownloadLocalArtifactResponses, DownloadViaScopedTokenData, DownloadViaScopedTokenErrors, DownloadViaScopedTokenV1Data, DownloadViaScopedTokenV1Errors, FrontendPairData, FrontendPairErrors, FrontendPairResponses, GenerateDownloadLinkData, GenerateDownloadLinkErrors, GenerateDownloadLinkResponses, GetArtifactStorageSettingsData, GetArtifactStorageSettingsResponses, GetBuildData, GetBuildErrors, GetBuildInsightsData, GetBuildInsightsErrors, GetBuildInsightsResponses, GetBuildLogsData, GetBuildLogsResponses, GetBuildResponses, GetBuildTestResultsData, GetBuildTestResultsErrors, GetBuildTestResultsResponses, GetExternalAccessNetworkSettingsData, GetExternalAccessNetworkSettingsErrors, GetExternalAccessNetworkSettingsResponses, GetExternalAccessOidcData, GetExternalAccessOidcErrors, GetExternalAccessOidcResponses, GetExternalAccessPreflightData, GetExternalAccessPreflightResponses, GetExternalAccessTrustedProxySettingsData, GetExternalAccessTrustedProxySettingsErrors, GetExternalAccessTrustedProxySettingsResponses, GetInstancePreferencesData, GetInstancePreferencesResponses, GetIntegrationData, GetIntegrationErrors, GetIntegrationResponses, GetIosInstallManifestData, GetIosInstallManifestErrors, GetIosInstallManifestResponses, GetIosInstallManifestV1Data, GetIosInstallManifestV1Errors, GetIosInstallManifestV1Responses, GetJobAndroidSigningData, GetJobAndroidSigningErrors, GetJobAndroidSigningResponses, GetJobIosSigningData, GetJobIosSigningErrors, GetJobIosSigningResponses, GetJobPublishPlanData, GetJobPublishPlanErrors, GetJobPublishPlanResponses, GetJobRetryArtifactsData, GetJobRetryArtifactsErrors, GetJobRetryArtifactsResponses, GetJobSecretsData, GetJobSecretsErrors, GetJobSecretsResponses, GetJobStatusData, GetJobStatusResponses, GetMeData, GetMeErrors, GetMeResponses, GetNotificationChannelData, GetNotificationChannelErrors, GetNotificationChannelResponses, GetPipelineAndroidSigningData, GetPipelineAndroidSigningResponses, GetPipelineAppStorePublishData, GetPipelineAppStorePublishErrors, GetPipelineAppStorePublishResponses, GetPipelineData, GetPipelineErrors, GetPipelineGooglePlayPublishData, GetPipelineGooglePlayPublishErrors, GetPipelineGooglePlayPublishResponses, GetPipelineIosSigningData, GetPipelineIosSigningResponses, GetPipelineResponses, GetProjectData, GetProjectErrors, GetProjectResponses, GetProjectRetentionData, GetProjectRetentionResponses, GetReleaseData, GetReleaseErrors, GetReleaseResponses, GetRetentionLastCleanupData, GetRetentionLastCleanupResponses, GetRetentionPolicyData, GetRetentionPolicyResponses, GetRunnerData, GetRunnerErrors, GetRunnerResponses, GetRuntimeUpdatePreflightData, GetRuntimeUpdatePreflightErrors, GetRuntimeUpdatePreflightResponses, GetRuntimeUpdateStatusData, GetRuntimeUpdateStatusErrors, GetRuntimeUpdateStatusResponses, GetSetupStatusData, GetSetupStatusErrors, GetSetupStatusResponses, GetSetupSummaryData, GetSetupSummaryErrors, GetSetupSummaryResponses, GetStoreVitalsData, GetStoreVitalsResponses, GithubCallbackData, GithubCallbackResponses, GithubCompleteData, GithubCompleteErrors, GithubCompleteResponses, GithubCreatePageData, GithubCreatePageErrors, GithubCreatePageResponses, GithubInstalledData, GithubInstalledErrors, GithubInstalledResponses, GithubStartData, GithubStartErrors, GithubStartResponses, GithubWebhookData, GithubWebhookErrors, GithubWebhookResponses, GitlabAuthorizeData, GitlabAuthorizeErrors, GitlabAuthorizeResponses, GitlabCallbackData, GitlabCallbackResponses, GitlabCheckoutDiscoveryData, GitlabCheckoutDiscoveryErrors, GitlabCheckoutDiscoveryResponses, GitlabCheckoutUploadPackData, GitlabCheckoutUploadPackErrors, GitlabCheckoutUploadPackResponses, GitlabStartData, GitlabStartErrors, GitlabStartResponses, GitlabWebhookData, GitlabWebhookErrors, GitlabWebhookResponses, HaltReleaseData, HaltReleaseErrors, HaltReleaseResponses, HealthzData, HealthzResponses, InviteUserData, InviteUserErrors, InviteUserResponses, ListApiTokensData, ListApiTokensErrors, ListApiTokensResponses, ListAppStoreConnectKeysData, ListAppStoreConnectKeysErrors, ListAppStoreConnectKeysResponses, ListArtifactsData, ListArtifactsResponses, ListAuditLogsData, ListAuditLogsErrors, ListAuditLogsResponses, ListBuildArtifactsData, ListBuildArtifactsErrors, ListBuildArtifactsResponses, ListBuildsData, ListBuildsErrors, ListBuildsResponses, ListInstallationsData, ListInstallationsResponses, ListInstanceSecretsData, ListInstanceSecretsErrors, ListInstanceSecretsResponses, ListIntegrationsData, ListIntegrationsResponses, ListLocalGitIntegrationsData, ListLocalGitIntegrationsErrors, ListLocalGitIntegrationsResponses, ListNotificationChannelsData, ListNotificationChannelsErrors, ListNotificationChannelsResponses, ListNotificationDeliveriesData, ListNotificationDeliveriesErrors, ListNotificationDeliveriesResponses, ListOperatorIncidentsData, ListOperatorIncidentsErrors, ListOperatorIncidentsResponses, ListPipelineIosDevicesData, ListPipelineIosDevicesResponses, ListPipelinesData, ListPipelineSecretsData, ListPipelineSecretsErrors, ListPipelineSecretsResponses, ListPipelinesErrors, ListPipelinesResponses, ListProjectArtifactsData, ListProjectArtifactsErrors, ListProjectArtifactsResponses, ListProjectMemberCandidatesData, ListProjectMemberCandidatesErrors, ListProjectMemberCandidatesResponses, ListProjectMembersData, ListProjectMembersErrors, ListProjectMembersResponses, ListProjectsData, ListProjectSecretsData, ListProjectSecretsErrors, ListProjectSecretsResponses, ListProjectsErrors, ListProjectsResponses, ListReleaseEventsData, ListReleaseEventsErrors, ListReleaseEventsResponses, ListReleasesData, ListReleasesErrors, ListReleasesResponses, ListRepositoriesData, ListRepositoriesResponses, ListRunnersData, ListRunnersResponses, ListScopedDownloadTokensData, ListScopedDownloadTokensResponses, ListSourceRepositoriesData, ListSourceRepositoriesResponses, ListUsersData, ListUsersErrors, ListUsersResponses, LocalLoginData, LocalLoginErrors, LocalLoginResponses, LogoutData, LogoutResponses, MarkOperatorIncidentReadData, MarkOperatorIncidentReadErrors, MarkOperatorIncidentReadResponses, MetricsData, MetricsResponses, OidcCallbackData, OidcCallbackErrors, OidcCallbackResponses, OidcStartData, OidcStartErrors, OidcStartResponses, PauseReleaseData, PauseReleaseErrors, PauseReleaseResponses, PreviewBuildChangelogData, PreviewBuildChangelogErrors, PreviewBuildChangelogResponses, PurgeRunnerCachesData, PurgeRunnerCachesErrors, PurgeRunnerCachesResponses, RaiseReleaseData, RaiseReleaseErrors, RaiseReleaseResponses, ReadyzData, ReadyzErrors, ReadyzResponses, ReEnableUserData, ReEnableUserErrors, ReEnableUserResponses, RefreshStoreVitalsData, RefreshStoreVitalsResponses, RegisterPipelineIosDeviceData, RegisterPipelineIosDeviceResponses, RegisterRunnerData, RegisterRunnerResponses, RejectBuildData, RejectBuildErrors, RejectBuildResponses, RemoveProjectMemberData, RemoveProjectMemberErrors, RemoveProjectMemberResponses, ReplaceGitlabPersonalTokenData, ReplaceGitlabPersonalTokenErrors, ReplaceGitlabPersonalTokenResponses, ReportJobPublishResultData, ReportJobPublishResultErrors, ReportJobPublishResultResponses, ReportJobTestResultsData, ReportJobTestResultsErrors, ReportJobTestResultsResponses, RepositoryAvatarData, RepositoryAvatarErrors, RepositoryAvatarResponses, RerunBuildData, RerunBuildErrors, RerunBuildResponses, ResumeReleaseData, ResumeReleaseErrors, ResumeReleaseResponses, RetryBuildStepData, RetryBuildStepErrors, RetryBuildStepResponses, RevokeApiTokenData, RevokeApiTokenErrors, RevokeApiTokenResponses, RevokeScopedDownloadTokenData, RevokeScopedDownloadTokenErrors, RevokeScopedDownloadTokenResponses, RotateGitlabRepositoryWebhookSecretData, RotateGitlabRepositoryWebhookSecretErrors, RotateGitlabRepositoryWebhookSecretResponses, RotateInstanceSecretData, RotateInstanceSecretErrors, RotateInstanceSecretResponses, RotatePipelineSecretData, RotatePipelineSecretErrors, RotatePipelineSecretResponses, RotateProjectSecretData, RotateProjectSecretErrors, RotateProjectSecretResponses, RunnerHeartbeatData, RunnerHeartbeatResponses, SetupLocalOwnerCreateData, SetupLocalOwnerCreateErrors, SetupLocalOwnerCreateResponses, SetupOidcStartData, SetupOidcStartErrors, SetupOidcStartResponses, SetupOidcVerifyData, SetupOidcVerifyErrors, SetupOidcVerifyResponses, SetupOwnerClaimTrustedProxyData, SetupOwnerClaimTrustedProxyErrors, SetupOwnerClaimTrustedProxyResponses, SetupPreferencesData, SetupPreferencesErrors, SetupPreferencesResponses, SetupTrustedProxyConfigureData, SetupTrustedProxyConfigureErrors, SetupTrustedProxyConfigureResponses, StartRuntimeUpdateData, StartRuntimeUpdateErrors, StartRuntimeUpdateResponses, StreamBuildLogsData, StreamBuildLogsResponse, StreamBuildLogsResponses, StreamEventsData, StreamEventsResponse, StreamEventsResponses, SyncInstallationsData, SyncInstallationsErrors, SyncInstallationsResponses, SyncPipelineIosSigningData, SyncPipelineIosSigningResponses, TestNotificationChannelData, TestNotificationChannelErrors, TestNotificationChannelResponses, TestOidcConnectionData, TestOidcConnectionErrors, TestOidcConnectionResponses, TestPipelineGooglePlayCredentialsData, TestPipelineGooglePlayCredentialsErrors, TestPipelineGooglePlayCredentialsResponses, TrustedProxyLoginData, TrustedProxyLoginErrors, TrustedProxyLoginResponses, UpdateAppStoreConnectKeyData, UpdateAppStoreConnectKeyErrors, UpdateAppStoreConnectKeyResponses, UpdateArtifactStorageSettingsData, UpdateArtifactStorageSettingsErrors, UpdateArtifactStorageSettingsResponses, UpdateExternalAccessNetworkSettingsData, UpdateExternalAccessNetworkSettingsErrors, UpdateExternalAccessNetworkSettingsResponses, UpdateExternalAccessTrustedProxySettingsData, UpdateExternalAccessTrustedProxySettingsErrors, UpdateExternalAccessTrustedProxySettingsResponses, UpdateInstancePreferencesData, UpdateInstancePreferencesErrors, UpdateInstancePreferencesResponses, UpdateJobStatusData, UpdateJobStatusErrors, UpdateJobStatusResponses, UpdateNotificationChannelData, UpdateNotificationChannelErrors, UpdateNotificationChannelResponses, UpdatePipelineAndroidSigningData, UpdatePipelineAndroidSigningResponses, UpdatePipelineAppStorePublishData, UpdatePipelineAppStorePublishErrors, UpdatePipelineAppStorePublishResponses, UpdatePipelineData, UpdatePipelineErrors, UpdatePipelineGooglePlayPublishData, UpdatePipelineGooglePlayPublishErrors, UpdatePipelineGooglePlayPublishResponses, UpdatePipelineIosSigningData, UpdatePipelineIosSigningResponses, UpdatePipelineResponses, UpdateProjectData, UpdateProjectErrors, UpdateProjectMemberData, UpdateProjectMemberErrors, UpdateProjectMemberResponses, UpdateProjectResponses, UpdateProjectRetentionData, UpdateProjectRetentionResponses, UpdateRetentionPolicyData, UpdateRetentionPolicyResponses, UpdateRunnerData, UpdateRunnerResponses, UpdateUserRoleData, UpdateUserRoleErrors, UpdateUserRoleResponses, UploadLocalArtifactData, UploadLocalArtifactErrors, UploadLocalArtifactResponses, ValidatePipelineData, ValidatePipelineResponses, VerifyBootstrapTokenData, VerifyBootstrapTokenErrors, VerifyBootstrapTokenResponses } from './types.gen.js';
|
|
3
3
|
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown> = Options2<TData, ThrowOnError, TResponse> & {
|
|
4
4
|
/**
|
|
5
5
|
* You can provide a client instance returned by `createClient()` instead of
|
|
@@ -212,7 +212,7 @@ export declare const trustedProxyLogin: <ThrowOnError extends boolean = true>(op
|
|
|
212
212
|
/**
|
|
213
213
|
* List builds
|
|
214
214
|
*
|
|
215
|
-
* Returns builds, optionally filtered by project, pipeline, or
|
|
215
|
+
* Returns builds, optionally filtered by project, pipeline, status, or branch, or searched with `q`.
|
|
216
216
|
*/
|
|
217
217
|
export declare const listBuilds: <ThrowOnError extends boolean = true>(options: Options<ListBuildsData, ThrowOnError>) => RequestResult<ListBuildsResponses, ListBuildsErrors, ThrowOnError, "data">;
|
|
218
218
|
/**
|
|
@@ -521,6 +521,15 @@ export declare const getPipelineGooglePlayPublish: <ThrowOnError extends boolean
|
|
|
521
521
|
* JSON is stored separately as a secret and referenced by name.
|
|
522
522
|
*/
|
|
523
523
|
export declare const updatePipelineGooglePlayPublish: <ThrowOnError extends boolean = true>(options: Options<UpdatePipelineGooglePlayPublishData, ThrowOnError>) => RequestResult<UpdatePipelineGooglePlayPublishResponses, UpdatePipelineGooglePlayPublishErrors, ThrowOnError, "data">;
|
|
524
|
+
/**
|
|
525
|
+
* Test Google Play credentials
|
|
526
|
+
*
|
|
527
|
+
* Requires the manage pipelines project permission. Exchanges the named
|
|
528
|
+
* service account key for a token, then opens and discards a Play edit
|
|
529
|
+
* for the app, so nothing changes in Play Console. A rejected key or
|
|
530
|
+
* missing Play Console access is reported with `ok: false`.
|
|
531
|
+
*/
|
|
532
|
+
export declare const testPipelineGooglePlayCredentials: <ThrowOnError extends boolean = true>(options: Options<TestPipelineGooglePlayCredentialsData, ThrowOnError>) => RequestResult<TestPipelineGooglePlayCredentialsResponses, TestPipelineGooglePlayCredentialsErrors, ThrowOnError, "data">;
|
|
524
533
|
/**
|
|
525
534
|
* List pipeline secrets
|
|
526
535
|
*
|
|
@@ -1074,11 +1083,12 @@ export declare const getStoreVitals: <ThrowOnError extends boolean = true>(optio
|
|
|
1074
1083
|
/**
|
|
1075
1084
|
* Refresh store vitals
|
|
1076
1085
|
*
|
|
1077
|
-
*
|
|
1078
|
-
* granting a missing permission
|
|
1079
|
-
*
|
|
1086
|
+
* Asks the daemon to read the stores now for the caller's apps, for
|
|
1087
|
+
* example right after granting a missing permission. Waits up to 20
|
|
1088
|
+
* seconds for the reads and returns what has been read by then. Apps read
|
|
1089
|
+
* in the last 30 seconds are not read again.
|
|
1080
1090
|
*/
|
|
1081
|
-
export declare const refreshStoreVitals: <ThrowOnError extends boolean = true>(options: Options<RefreshStoreVitalsData, ThrowOnError>) => RequestResult<RefreshStoreVitalsResponses,
|
|
1091
|
+
export declare const refreshStoreVitals: <ThrowOnError extends boolean = true>(options: Options<RefreshStoreVitalsData, ThrowOnError>) => RequestResult<RefreshStoreVitalsResponses, unknown, ThrowOnError, "data">;
|
|
1082
1092
|
/**
|
|
1083
1093
|
* Get backend update state
|
|
1084
1094
|
*
|
|
@@ -366,7 +366,7 @@ export const trustedProxyLogin = (options) => options.client.post({
|
|
|
366
366
|
/**
|
|
367
367
|
* List builds
|
|
368
368
|
*
|
|
369
|
-
* Returns builds, optionally filtered by project, pipeline, or
|
|
369
|
+
* Returns builds, optionally filtered by project, pipeline, status, or branch, or searched with `q`.
|
|
370
370
|
*/
|
|
371
371
|
export const listBuilds = (options) => options.client.get({
|
|
372
372
|
responseStyle: 'data',
|
|
@@ -1017,6 +1017,24 @@ export const updatePipelineGooglePlayPublish = (options) => options.client.put({
|
|
|
1017
1017
|
...options.headers
|
|
1018
1018
|
}
|
|
1019
1019
|
});
|
|
1020
|
+
/**
|
|
1021
|
+
* Test Google Play credentials
|
|
1022
|
+
*
|
|
1023
|
+
* Requires the manage pipelines project permission. Exchanges the named
|
|
1024
|
+
* service account key for a token, then opens and discards a Play edit
|
|
1025
|
+
* for the app, so nothing changes in Play Console. A rejected key or
|
|
1026
|
+
* missing Play Console access is reported with `ok: false`.
|
|
1027
|
+
*/
|
|
1028
|
+
export const testPipelineGooglePlayCredentials = (options) => options.client.post({
|
|
1029
|
+
responseStyle: 'data',
|
|
1030
|
+
security: [{ scheme: 'bearer', type: 'http' }],
|
|
1031
|
+
url: '/v1/pipelines/{pipeline_id}/publish/google-play/test-credentials',
|
|
1032
|
+
...options,
|
|
1033
|
+
headers: {
|
|
1034
|
+
'Content-Type': 'application/json',
|
|
1035
|
+
...options.headers
|
|
1036
|
+
}
|
|
1037
|
+
});
|
|
1020
1038
|
/**
|
|
1021
1039
|
* List pipeline secrets
|
|
1022
1040
|
*
|
|
@@ -2250,9 +2268,10 @@ export const getStoreVitals = (options) => options.client.get({
|
|
|
2250
2268
|
/**
|
|
2251
2269
|
* Refresh store vitals
|
|
2252
2270
|
*
|
|
2253
|
-
*
|
|
2254
|
-
* granting a missing permission
|
|
2255
|
-
*
|
|
2271
|
+
* Asks the daemon to read the stores now for the caller's apps, for
|
|
2272
|
+
* example right after granting a missing permission. Waits up to 20
|
|
2273
|
+
* seconds for the reads and returns what has been read by then. Apps read
|
|
2274
|
+
* in the last 30 seconds are not read again.
|
|
2256
2275
|
*/
|
|
2257
2276
|
export const refreshStoreVitals = (options) => options.client.post({
|
|
2258
2277
|
responseStyle: 'data',
|