diff --git a/.changeset/changes_api.md b/.changeset/changes_api.md index bc4aebd63..2114260a5 100644 --- a/.changeset/changes_api.md +++ b/.changeset/changes_api.md @@ -298,3 +298,10 @@ - :warning: removed query parameter `offset` from method `get /{projectKey}/product-projections/suggest` - :warning: removed query parameter `withTotal` from method `get /{projectKey}/product-projections/suggest` + +
+Added QueryParameter(s) + +- added query parameter `where` to method `get /{projectKey}/product-selections/key={key}/products` +- added query parameter `where` to method `get /{projectKey}/product-selections/{ID}/products` +
diff --git a/changes.md b/changes.md index 0628fd422..2b1b44f2d 100644 --- a/changes.md +++ b/changes.md @@ -295,6 +295,13 @@ - :warning: removed query parameter `withTotal` from method `get /{projectKey}/product-projections/suggest` +
+Added QueryParameter(s) + +- added query parameter `where` to method `get /{projectKey}/product-selections/key={key}/products` +- added query parameter `where` to method `get /{projectKey}/product-selections/{ID}/products` +
+ **Import changes**
diff --git a/packages/platform-sdk/src/generated/client/products/by-project-key-product-selections-by-id-products-request-builder.ts b/packages/platform-sdk/src/generated/client/products/by-project-key-product-selections-by-id-products-request-builder.ts index 48b5bf3de..85ff3e6e9 100644 --- a/packages/platform-sdk/src/generated/client/products/by-project-key-product-selections-by-id-products-request-builder.ts +++ b/packages/platform-sdk/src/generated/client/products/by-project-key-product-selections-by-id-products-request-builder.ts @@ -21,6 +21,7 @@ export class ByProjectKeyProductSelectionsByIDProductsRequestBuilder { ) {} public get(methodArgs?: { queryArgs?: { + where?: string | string[] expand?: string | string[] limit?: number offset?: number diff --git a/packages/platform-sdk/src/generated/client/products/by-project-key-product-selections-key-by-key-products-request-builder.ts b/packages/platform-sdk/src/generated/client/products/by-project-key-product-selections-key-by-key-products-request-builder.ts index 9db2fcd62..737ce669a 100644 --- a/packages/platform-sdk/src/generated/client/products/by-project-key-product-selections-key-by-key-products-request-builder.ts +++ b/packages/platform-sdk/src/generated/client/products/by-project-key-product-selections-key-by-key-products-request-builder.ts @@ -21,6 +21,7 @@ export class ByProjectKeyProductSelectionsKeyByKeyProductsRequestBuilder { ) {} public get(methodArgs?: { queryArgs?: { + where?: string | string[] expand?: string | string[] limit?: number offset?: number diff --git a/packages/platform-sdk/test/generated/client/products/by-project-key-product-selections-by-id-products-request-builder.test.ts b/packages/platform-sdk/test/generated/client/products/by-project-key-product-selections-by-id-products-request-builder.test.ts index 830879222..98ede21f0 100644 --- a/packages/platform-sdk/test/generated/client/products/by-project-key-product-selections-by-id-products-request-builder.test.ts +++ b/packages/platform-sdk/test/generated/client/products/by-project-key-product-selections-by-id-products-request-builder.test.ts @@ -11,6 +11,16 @@ const apiRoot: ApiRoot = new ApiRoot({ executeRequest: null }) export function getRequestsWithMethodParameters(): RequestWithMethod[] { return [ + { + method: 'get', + uri: '/test_projectKey/product-selections/test_ID/products?where=where', + request: apiRoot + .withProjectKey({ projectKey: 'test_projectKey' }) + .productSelections() + .withId({ ID: 'test_ID' }) + .products() + .get({ queryArgs: { where: 'where' } }), + }, { method: 'get', uri: '/test_projectKey/product-selections/test_ID/products?expand=expand', diff --git a/packages/platform-sdk/test/generated/client/products/by-project-key-product-selections-key-by-key-products-request-builder.test.ts b/packages/platform-sdk/test/generated/client/products/by-project-key-product-selections-key-by-key-products-request-builder.test.ts index d99421da4..5d88efad2 100644 --- a/packages/platform-sdk/test/generated/client/products/by-project-key-product-selections-key-by-key-products-request-builder.test.ts +++ b/packages/platform-sdk/test/generated/client/products/by-project-key-product-selections-key-by-key-products-request-builder.test.ts @@ -11,6 +11,16 @@ const apiRoot: ApiRoot = new ApiRoot({ executeRequest: null }) export function getRequestsWithMethodParameters(): RequestWithMethod[] { return [ + { + method: 'get', + uri: '/test_projectKey/product-selections/key=test_key/products?where=where', + request: apiRoot + .withProjectKey({ projectKey: 'test_projectKey' }) + .productSelections() + .withKey({ key: 'test_key' }) + .products() + .get({ queryArgs: { where: 'where' } }), + }, { method: 'get', uri: '/test_projectKey/product-selections/key=test_key/products?expand=expand', diff --git a/references.txt b/references.txt index ece87bfe3..a30574e44 100644 --- a/references.txt +++ b/references.txt @@ -338,3 +338,4 @@ ccf4522140c12b0093aefe0e2a27d62bcc4834a6 0be69283d6aba9d3a2f895140378673f2f80f7b0 605a1ff5cf861ca0d8e2711ca79374804f180b50 f254d17f05343dcc4299fc53ff9b335b5ef63d69 +6892be230f1ad73f1150dd544c9fa7fee0e6b123