Skip to content

Commit

Permalink
[CI] Auto-commit changed files from 'yarn openapi:generate'
Browse files Browse the repository at this point in the history
  • Loading branch information
kibanamachine committed Dec 18, 2024
1 parent a0a3102 commit 41e5a44
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -367,7 +367,6 @@ import type {
GetRuleMigrationRequestQueryInput,
GetRuleMigrationRequestParamsInput,
GetRuleMigrationResponse,
GetRuleMigrationIntegrationsRequestParamsInput,
GetRuleMigrationIntegrationsResponse,
GetRuleMigrationPrebuiltRulesRequestParamsInput,
GetRuleMigrationPrebuiltRulesResponse,
Expand Down Expand Up @@ -1460,14 +1459,11 @@ finalize it.
/**
* Retrieves all related integrations
*/
async getRuleMigrationIntegrations(props: GetRuleMigrationIntegrationsProps) {
async getRuleMigrationIntegrations() {
this.log.info(`${new Date().toISOString()} Calling API GetRuleMigrationIntegrations`);
return this.kbnClient
.request<GetRuleMigrationIntegrationsResponse>({
path: replaceParams(
'/internal/siem_migrations/rules/{migration_id}/integrations',
props.params
),
path: '/internal/siem_migrations/rules/{migration_id}/integrations',
headers: {
[ELASTIC_HTTP_VERSION_HEADER]: '1',
},
Expand Down Expand Up @@ -2479,9 +2475,6 @@ export interface GetRuleMigrationProps {
query: GetRuleMigrationRequestQueryInput;
params: GetRuleMigrationRequestParamsInput;
}
export interface GetRuleMigrationIntegrationsProps {
params: GetRuleMigrationIntegrationsRequestParamsInput;
}
export interface GetRuleMigrationPrebuiltRulesProps {
params: GetRuleMigrationPrebuiltRulesRequestParamsInput;
}
Expand Down
14 changes: 2 additions & 12 deletions x-pack/test/api_integration/services/security_solution_api.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,6 @@ import {
GetRuleMigrationRequestQueryInput,
GetRuleMigrationRequestParamsInput,
} from '@kbn/security-solution-plugin/common/siem_migrations/model/api/rules/rule_migration.gen';
import { GetRuleMigrationIntegrationsRequestParamsInput } from '@kbn/security-solution-plugin/common/siem_migrations/model/api/rules/rule_migration.gen';
import { GetRuleMigrationPrebuiltRulesRequestParamsInput } from '@kbn/security-solution-plugin/common/siem_migrations/model/api/rules/rule_migration.gen';
import {
GetRuleMigrationResourcesRequestQueryInput,
Expand Down Expand Up @@ -978,17 +977,11 @@ finalize it.
/**
* Retrieves all related integrations
*/
getRuleMigrationIntegrations(
props: GetRuleMigrationIntegrationsProps,
kibanaSpace: string = 'default'
) {
getRuleMigrationIntegrations(kibanaSpace: string = 'default') {
return supertest
.get(
routeWithNamespace(
replaceParams(
'/internal/siem_migrations/rules/{migration_id}/integrations',
props.params
),
'/internal/siem_migrations/rules/{migration_id}/integrations',
kibanaSpace
)
)
Expand Down Expand Up @@ -1815,9 +1808,6 @@ export interface GetRuleMigrationProps {
query: GetRuleMigrationRequestQueryInput;
params: GetRuleMigrationRequestParamsInput;
}
export interface GetRuleMigrationIntegrationsProps {
params: GetRuleMigrationIntegrationsRequestParamsInput;
}
export interface GetRuleMigrationPrebuiltRulesProps {
params: GetRuleMigrationPrebuiltRulesRequestParamsInput;
}
Expand Down

0 comments on commit 41e5a44

Please sign in to comment.