From 93266137b3743f25e837f07701bd5a4ac2f7b9f9 Mon Sep 17 00:00:00 2001 From: Fabrizio Leoni Date: Wed, 25 Mar 2026 12:08:04 +0100 Subject: [PATCH] fix(Tagging): Changed query_string pattern in QueryString section Signed-off-by: Fabrizio Leoni --- global-search/v2.ts | 17 +++++++++++++---- global-tagging/v1.ts | 2 +- test/unit/global-search.v2.test.js | 2 +- test/unit/global-tagging.v1.test.js | 2 +- 4 files changed, 16 insertions(+), 7 deletions(-) diff --git a/global-search/v2.ts b/global-search/v2.ts index 5cbfbda..74e6bee 100644 --- a/global-search/v2.ts +++ b/global-search/v2.ts @@ -1,5 +1,5 @@ /** - * (C) Copyright IBM Corp. 2025. + * (C) Copyright IBM Corp. 2026. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,12 +15,13 @@ */ /** - * IBM OpenAPI SDK Code Generator Version: 3.100.0-2ad7a784-20250212-162551 + * IBM OpenAPI SDK Code Generator Version: 3.113.1-d76630af-20260320-135953 */ import * as extend from 'extend'; import { IncomingHttpHeaders, OutgoingHttpHeaders } from 'http'; import { + AbortSignal, Authenticator, BaseService, UserOptions, @@ -186,6 +187,7 @@ class GlobalSearchV2 extends BaseService { 'impersonateUser', 'canTag', 'isProjectResource', + 'signal', 'headers', ]; const _validationErrors = validateParams(_params, _requiredParams, _validParams); @@ -233,6 +235,9 @@ class GlobalSearchV2 extends BaseService { }, _params.headers ), + axiosOptions: { + signal: _params.signal, + }, }), }; @@ -268,8 +273,13 @@ namespace GlobalSearchV2 { * request interfaces ************************/ + interface DefaultParams { + headers?: OutgoingHttpHeaders; + signal?: AbortSignal; + } + /** Parameters for the `search` operation. */ - export interface SearchParams { + export interface SearchParams extends DefaultParams { /** The Lucene-formatted query string. Default to '*' if not set. */ query?: string; /** The list of the fields returned by the search. By default, the returned fields are the `account_id`, `name`, @@ -335,7 +345,6 @@ namespace GlobalSearchV2 { * Only authorized ServiceIds can use this query parameter. */ isProjectResource?: SearchConstants.IsProjectResource | string; - headers?: OutgoingHttpHeaders; } /** Constants for the `search` operation. */ diff --git a/global-tagging/v1.ts b/global-tagging/v1.ts index 5701901..9a4a243 100644 --- a/global-tagging/v1.ts +++ b/global-tagging/v1.ts @@ -15,7 +15,7 @@ */ /** - * IBM OpenAPI SDK Code Generator Version: 3.111.0-1bfb72c2-20260206-185521 + * IBM OpenAPI SDK Code Generator Version: 3.113.1-d76630af-20260320-135953 */ import * as extend from 'extend'; diff --git a/test/unit/global-search.v2.test.js b/test/unit/global-search.v2.test.js index 55d53e8..411ec71 100644 --- a/test/unit/global-search.v2.test.js +++ b/test/unit/global-search.v2.test.js @@ -1,5 +1,5 @@ /** - * (C) Copyright IBM Corp. 2025. + * (C) Copyright IBM Corp. 2026. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. diff --git a/test/unit/global-tagging.v1.test.js b/test/unit/global-tagging.v1.test.js index c8a40e9..576dbc9 100644 --- a/test/unit/global-tagging.v1.test.js +++ b/test/unit/global-tagging.v1.test.js @@ -1,5 +1,5 @@ /** - * (C) Copyright IBM Corp. 2025. + * (C) Copyright IBM Corp. 2026. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License.