Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update generated SDKs #850

Merged
merged 2 commits into from
Nov 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .changeset/changes_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`
</details>

<details>
<summary>Added QueryParameter(s)</summary>

- 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`
</details>
7 changes: 7 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -295,6 +295,13 @@
- :warning: removed query parameter `withTotal` from method `get /{projectKey}/product-projections/suggest`
</details>

<details>
<summary>Added QueryParameter(s)</summary>

- 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`
</details>

**Import changes**

<details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export class ByProjectKeyProductSelectionsByIDProductsRequestBuilder {
) {}
public get(methodArgs?: {
queryArgs?: {
where?: string | string[]
expand?: string | string[]
limit?: number
offset?: number
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export class ByProjectKeyProductSelectionsKeyByKeyProductsRequestBuilder {
) {}
public get(methodArgs?: {
queryArgs?: {
where?: string | string[]
expand?: string | string[]
limit?: number
offset?: number
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
1 change: 1 addition & 0 deletions references.txt
Original file line number Diff line number Diff line change
Expand Up @@ -338,3 +338,4 @@ ccf4522140c12b0093aefe0e2a27d62bcc4834a6
0be69283d6aba9d3a2f895140378673f2f80f7b0
605a1ff5cf861ca0d8e2711ca79374804f180b50
f254d17f05343dcc4299fc53ff9b335b5ef63d69
6892be230f1ad73f1150dd544c9fa7fee0e6b123