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 #742

Merged
merged 1 commit into from
Jun 19, 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
13 changes: 13 additions & 0 deletions .changeset/changes_api.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,3 +35,16 @@
- added type `OrderSetShippingCustomFieldAction`
- added type `OrderSetShippingCustomTypeAction`
</details>

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

- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products`
- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products`
- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/key={key}`
- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/key={key}`
- :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/key={key}`
- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/{ID}`
- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/{ID}`
- :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/{ID}`
</details>
5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---

name: Bug report
about: Create a report to help us improve
title: ''
labels: bug
assignees: ''
---**Describe the bug**
---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Expand Down
5 changes: 3 additions & 2 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
---

name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''
---**Is your feature request related to a problem? Please describe.**
---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
Expand Down
13 changes: 13 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,16 @@
- added type `OrderSetShippingCustomFieldAction`
- added type `OrderSetShippingCustomTypeAction`
</details>

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

- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products`
- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products`
- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/key={key}`
- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/key={key}`
- :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/key={key}`
- :warning: removed query parameter `localeProjection` from method `get /{projectKey}/products/{ID}`
- :warning: removed query parameter `localeProjection` from method `post /{projectKey}/products/{ID}`
- :warning: removed query parameter `localeProjection` from method `delete /{projectKey}/products/{ID}`
</details>
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ export class ByProjectKeyProductsByIDRequestBuilder {
priceCountry?: string
priceCustomerGroup?: string
priceChannel?: string
localeProjection?: string | string[]
expand?: string | string[]
[key: string]: QueryParam
}
Expand Down Expand Up @@ -103,7 +102,6 @@ export class ByProjectKeyProductsByIDRequestBuilder {
priceCountry?: string
priceCustomerGroup?: string
priceChannel?: string
localeProjection?: string | string[]
expand?: string | string[]
[key: string]: QueryParam
}
Expand Down Expand Up @@ -138,7 +136,6 @@ export class ByProjectKeyProductsByIDRequestBuilder {
priceCountry?: string
priceCustomerGroup?: string
priceChannel?: string
localeProjection?: string | string[]
version: number
expand?: string | string[]
[key: string]: QueryParam
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export class ByProjectKeyProductsKeyByKeyRequestBuilder {
priceCountry?: string
priceCustomerGroup?: string
priceChannel?: string
localeProjection?: string | string[]
expand?: string | string[]
[key: string]: QueryParam
}
Expand Down Expand Up @@ -91,7 +90,6 @@ export class ByProjectKeyProductsKeyByKeyRequestBuilder {
priceCountry?: string
priceCustomerGroup?: string
priceChannel?: string
localeProjection?: string | string[]
expand?: string | string[]
[key: string]: QueryParam
}
Expand Down Expand Up @@ -126,7 +124,6 @@ export class ByProjectKeyProductsKeyByKeyRequestBuilder {
priceCountry?: string
priceCustomerGroup?: string
priceChannel?: string
localeProjection?: string | string[]
version: number
expand?: string | string[]
[key: string]: QueryParam
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,6 @@ export class ByProjectKeyProductsRequestBuilder {
priceCountry?: string
priceCustomerGroup?: string
priceChannel?: string
localeProjection?: string | string[]
expand?: string | string[]
sort?: string | string[]
limit?: number
Expand Down Expand Up @@ -137,7 +136,6 @@ export class ByProjectKeyProductsRequestBuilder {
priceCountry?: string
priceCustomerGroup?: string
priceChannel?: string
localeProjection?: string | string[]
expand?: string | string[]
[key: string]: QueryParam
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,6 @@ export function getRequestsWithMethodParameters(): RequestWithMethod[] {
.withId({ ID: 'test_ID' })
.get({ queryArgs: { priceChannel: 'priceChannel' } }),
},
{
method: 'get',
uri: '/test_projectKey/products/test_ID?localeProjection=localeProjection',
request: apiRoot
.withProjectKey({ projectKey: 'test_projectKey' })
.products()
.withId({ ID: 'test_ID' })
.get({ queryArgs: { localeProjection: 'localeProjection' } }),
},
{
method: 'get',
uri: '/test_projectKey/products/test_ID?expand=expand',
Expand Down Expand Up @@ -135,19 +126,6 @@ export function getRequestsWithMethodParameters(): RequestWithMethod[] {
queryArgs: { priceChannel: 'priceChannel' },
}),
},
{
method: 'post',
uri: '/test_projectKey/products/test_ID?localeProjection=localeProjection',
request: apiRoot
.withProjectKey({ projectKey: 'test_projectKey' })
.products()
.withId({ ID: 'test_ID' })
.post({
body: null,
headers: null,
queryArgs: { localeProjection: 'localeProjection' },
}),
},
{
method: 'post',
uri: '/test_projectKey/products/test_ID?expand=expand',
Expand Down Expand Up @@ -204,17 +182,6 @@ export function getRequestsWithMethodParameters(): RequestWithMethod[] {
.withId({ ID: 'test_ID' })
.delete({ queryArgs: { priceChannel: 'priceChannel', version: 2 } }),
},
{
method: 'delete',
uri: '/test_projectKey/products/test_ID?localeProjection=localeProjection&version=2',
request: apiRoot
.withProjectKey({ projectKey: 'test_projectKey' })
.products()
.withId({ ID: 'test_ID' })
.delete({
queryArgs: { localeProjection: 'localeProjection', version: 2 },
}),
},
{
method: 'delete',
uri: '/test_projectKey/products/test_ID?version=2',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,15 +47,6 @@ export function getRequestsWithMethodParameters(): RequestWithMethod[] {
.withKey({ key: 'test_key' })
.get({ queryArgs: { priceChannel: 'priceChannel' } }),
},
{
method: 'get',
uri: '/test_projectKey/products/key=test_key?localeProjection=localeProjection',
request: apiRoot
.withProjectKey({ projectKey: 'test_projectKey' })
.products()
.withKey({ key: 'test_key' })
.get({ queryArgs: { localeProjection: 'localeProjection' } }),
},
{
method: 'get',
uri: '/test_projectKey/products/key=test_key?expand=expand',
Expand Down Expand Up @@ -135,19 +126,6 @@ export function getRequestsWithMethodParameters(): RequestWithMethod[] {
queryArgs: { priceChannel: 'priceChannel' },
}),
},
{
method: 'post',
uri: '/test_projectKey/products/key=test_key?localeProjection=localeProjection',
request: apiRoot
.withProjectKey({ projectKey: 'test_projectKey' })
.products()
.withKey({ key: 'test_key' })
.post({
body: null,
headers: null,
queryArgs: { localeProjection: 'localeProjection' },
}),
},
{
method: 'post',
uri: '/test_projectKey/products/key=test_key?expand=expand',
Expand Down Expand Up @@ -204,17 +182,6 @@ export function getRequestsWithMethodParameters(): RequestWithMethod[] {
.withKey({ key: 'test_key' })
.delete({ queryArgs: { priceChannel: 'priceChannel', version: 2 } }),
},
{
method: 'delete',
uri: '/test_projectKey/products/key=test_key?localeProjection=localeProjection&version=2',
request: apiRoot
.withProjectKey({ projectKey: 'test_projectKey' })
.products()
.withKey({ key: 'test_key' })
.delete({
queryArgs: { localeProjection: 'localeProjection', version: 2 },
}),
},
{
method: 'delete',
uri: '/test_projectKey/products/key=test_key?version=2',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,14 +51,6 @@ export function getRequestsWithMethodParameters(): RequestWithMethod[] {
.products()
.get({ queryArgs: { priceChannel: 'priceChannel' } }),
},
{
method: 'get',
uri: '/test_projectKey/products?localeProjection=localeProjection',
request: apiRoot
.withProjectKey({ projectKey: 'test_projectKey' })
.products()
.get({ queryArgs: { localeProjection: 'localeProjection' } }),
},
{
method: 'get',
uri: '/test_projectKey/products?expand=expand',
Expand Down Expand Up @@ -179,18 +171,6 @@ export function getRequestsWithMethodParameters(): RequestWithMethod[] {
queryArgs: { priceChannel: 'priceChannel' },
}),
},
{
method: 'post',
uri: '/test_projectKey/products?localeProjection=localeProjection',
request: apiRoot
.withProjectKey({ projectKey: 'test_projectKey' })
.products()
.post({
body: null,
headers: null,
queryArgs: { localeProjection: 'localeProjection' },
}),
},
{
method: 'post',
uri: '/test_projectKey/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 @@ -273,3 +273,4 @@ e823fd2dd5228a125ad014c7733fb2e33269c734
a1588f9bea129df23185d9d40c70ea96ef1d8b6e
22b0c33fd2ee028ad43204b74430f87a970d6dfa
67d3b7a0760d16b674ecd7c8b805e897e6320171
a535e06bc2906c4f8b803f5a7686cbb920afd40a
Loading