Skip to content

Commit

Permalink
Merge pull request #794 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
kodiakhq[bot] authored Jan 10, 2025
2 parents 91dadf9 + 3c8f557 commit 18ea89e
Show file tree
Hide file tree
Showing 35 changed files with 4,965 additions and 13 deletions.
36 changes: 36 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
**Api changes**

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

- added resource `/{projectKey}/in-store/key={storeKey}/business-units`
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/key={key}`
- added resource `/{projectKey}/in-store/key={storeKey}/business-units/{ID}`
</details>


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

- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().businessUnits().get()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().businessUnits().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().businessUnits().post()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().businessUnits().withKey().get()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().businessUnits().withKey().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().businessUnits().withKey().post()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().businessUnits().withKey().delete()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().businessUnits().withId().get()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().businessUnits().withId().head()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().businessUnits().withId().post()`
- added method `apiRoot.withProjectKey().inStoreKeyWithStoreKeyValue().businessUnits().withId().delete()`
</details>


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

- added property `inheritedStores` to type `BusinessUnit`
- added property `inheritedStores` to type `Company`
- added property `inheritedStores` to type `Division`
</details>

**History changes**

<details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4845,6 +4845,13 @@ type InStore implements CartDiscountQueryInterface & CartQueryInterface & Custom
"Queries with specified key"
key: String): Quote
quotes(where: String, sort: [String!], limit: Int, offset: Int): QuoteQueryResult!
businessUnit(
"Queries with specified ID"
id: String,

"Queries with specified key"
key: String): BusinessUnit
businessUnits(where: String, sort: [String!], limit: Int, offset: Int): BusinessUnitQueryResult!
}

type InStoreMe implements MeQueryInterface & CartQueryInterface & ActiveCartInterface & OrderQueryInterface & ShoppingListQueryInterface {
Expand Down Expand Up @@ -6449,19 +6456,28 @@ type Mutation {
createBusinessUnit(draft: BusinessUnitDraft!,

"Create/modify entity as an associate in business-unit."
asAssociate: AsAssociateArgument): BusinessUnit
asAssociate: AsAssociateArgument,

"The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions."
storeKey: KeyReferenceInput): BusinessUnit
updateBusinessUnit(version: Long!, actions: [BusinessUnitUpdateAction!]!,

"Create/modify entity as an associate in business-unit."
asAssociate: AsAssociateArgument,

"The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions."
storeKey: KeyReferenceInput,

"Queries with specified ID"
id: String,

"Queries with specified key"
key: String): BusinessUnit
deleteBusinessUnit(version: Long!, personalDataErasure: Boolean = false,

"The mutation is only performed if the resource is part of the store. Can be used with store-specific OAuth permissions."
storeKey: KeyReferenceInput,

"Queries with specified ID"
id: String,

Expand Down
Loading

0 comments on commit 18ea89e

Please sign in to comment.