Skip to content
This repository has been archived by the owner on Oct 14, 2024. It is now read-only.

Commit

Permalink
Merge pull request #18 from stacklok/update-generated-8dc2de91760ff0e…
Browse files Browse the repository at this point in the history
…929423b057e8a94e67c111c37

Update Generated
  • Loading branch information
JAORMX authored Nov 30, 2023
2 parents 8dc2de9 + 707cef2 commit 56244a1
Show file tree
Hide file tree
Showing 9 changed files with 0 additions and 157 deletions.
7 changes: 0 additions & 7 deletions generated/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,6 @@ export type { v1ArtifactType } from './models/v1ArtifactType';
export type { v1ArtifactVersion } from './models/v1ArtifactVersion';
export type { v1BuiltinType } from './models/v1BuiltinType';
export type { v1CheckHealthResponse } from './models/v1CheckHealthResponse';
export type { v1CreateKeyPairRequest } from './models/v1CreateKeyPairRequest';
export type { v1CreateKeyPairResponse } from './models/v1CreateKeyPairResponse';
export type { v1CreateProfileRequest } from './models/v1CreateProfileRequest';
export type { v1CreateProfileResponse } from './models/v1CreateProfileResponse';
export type { v1CreateRuleTypeRequest } from './models/v1CreateRuleTypeRequest';
Expand All @@ -55,7 +53,6 @@ export type { v1GetAuthorizationURLResponse } from './models/v1GetAuthorizationU
export type { v1GetProfileByIdResponse } from './models/v1GetProfileByIdResponse';
export type { v1GetProfileStatusByNameResponse } from './models/v1GetProfileStatusByNameResponse';
export type { v1GetProfileStatusByProjectResponse } from './models/v1GetProfileStatusByProjectResponse';
export type { v1GetPublicKeyResponse } from './models/v1GetPublicKeyResponse';
export type { v1GetRepositoryByIdResponse } from './models/v1GetRepositoryByIdResponse';
export type { v1GetRepositoryByNameResponse } from './models/v1GetRepositoryByNameResponse';
export type { v1GetRuleTypeByIdResponse } from './models/v1GetRuleTypeByIdResponse';
Expand All @@ -76,9 +73,6 @@ export type { v1RegisterRepoResultStatus } from './models/v1RegisterRepoResultSt
export type { v1RegisterRepositoryResponse } from './models/v1RegisterRepositoryResponse';
export type { v1Repository } from './models/v1Repository';
export type { v1RestType } from './models/v1RestType';
export type { v1RevokeOauthProjectTokenResponse } from './models/v1RevokeOauthProjectTokenResponse';
export type { v1RevokeOauthTokensRequest } from './models/v1RevokeOauthTokensRequest';
export type { v1RevokeOauthTokensResponse } from './models/v1RevokeOauthTokensResponse';
export type { v1RuleEvaluationStatus } from './models/v1RuleEvaluationStatus';
export type { v1RuleType } from './models/v1RuleType';
export type { v1RuleTypeDefinition } from './models/v1RuleTypeDefinition';
Expand All @@ -94,7 +88,6 @@ export type { v1VerifyProviderTokenFromResponse } from './models/v1VerifyProvide

export { ArtifactServiceService } from './services/ArtifactServiceService';
export { HealthServiceService } from './services/HealthServiceService';
export { KeyServiceService } from './services/KeyServiceService';
export { OAuthServiceService } from './services/OAuthServiceService';
export { ProfileServiceService } from './services/ProfileServiceService';
export { RepositoryServiceService } from './services/RepositoryServiceService';
Expand Down
10 changes: 0 additions & 10 deletions generated/models/v1CreateKeyPairRequest.ts

This file was deleted.

10 changes: 0 additions & 10 deletions generated/models/v1CreateKeyPairResponse.ts

This file was deleted.

9 changes: 0 additions & 9 deletions generated/models/v1GetPublicKeyResponse.ts

This file was deleted.

8 changes: 0 additions & 8 deletions generated/models/v1RevokeOauthProjectTokenResponse.ts

This file was deleted.

8 changes: 0 additions & 8 deletions generated/models/v1RevokeOauthTokensRequest.ts

This file was deleted.

9 changes: 0 additions & 9 deletions generated/models/v1RevokeOauthTokensResponse.ts

This file was deleted.

50 changes: 0 additions & 50 deletions generated/services/KeyServiceService.ts

This file was deleted.

46 changes: 0 additions & 46 deletions generated/services/OAuthServiceService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@ import type { apiHttpBody } from '../models/apiHttpBody';
import type { googlerpcStatus } from '../models/googlerpcStatus';
import type { v1ExchangeCodeForTokenWEBResponse } from '../models/v1ExchangeCodeForTokenWEBResponse';
import type { v1GetAuthorizationURLResponse } from '../models/v1GetAuthorizationURLResponse';
import type { v1RevokeOauthProjectTokenResponse } from '../models/v1RevokeOauthProjectTokenResponse';
import type { v1RevokeOauthTokensRequest } from '../models/v1RevokeOauthTokensRequest';
import type { v1RevokeOauthTokensResponse } from '../models/v1RevokeOauthTokensResponse';
import type { v1StoreProviderTokenResponse } from '../models/v1StoreProviderTokenResponse';
import type { v1VerifyProviderTokenFromResponse } from '../models/v1VerifyProviderTokenFromResponse';

Expand Down Expand Up @@ -81,24 +78,6 @@ export class OAuthServiceService {
});
}

/**
* RevokeOauthTokens is used to revoke all tokens
* this a nuclear option and should only be used in emergencies
* @param body
* @returns v1RevokeOauthTokensResponse A successful response.
* @returns googlerpcStatus An unexpected error response.
* @throws ApiError
*/
public static oAuthServiceRevokeOauthTokens(
body: v1RevokeOauthTokensRequest,
): CancelablePromise<v1RevokeOauthTokensResponse | googlerpcStatus> {
return __request(OpenAPI, {
method: 'POST',
url: '/api/v1/auth/revoke-all',
body: body,
});
}

/**
* @param provider
* @param projectId
Expand Down Expand Up @@ -156,31 +135,6 @@ export class OAuthServiceService {
});
}

/**
* revoke token for a project
* @param provider
* @param projectId
* @param body
* @returns v1RevokeOauthProjectTokenResponse A successful response.
* @returns googlerpcStatus An unexpected error response.
* @throws ApiError
*/
public static oAuthServiceRevokeOauthProjectToken(
provider: string,
projectId: string,
body: any,
): CancelablePromise<v1RevokeOauthProjectTokenResponse | googlerpcStatus> {
return __request(OpenAPI, {
method: 'POST',
url: '/api/v1/auth/{provider}/revoke/{projectId}',
path: {
'provider': provider,
'projectId': projectId,
},
body: body,
});
}

/**
* @param provider
* @param body
Expand Down

0 comments on commit 56244a1

Please sign in to comment.