Skip to content

Commit

Permalink
Merge branch 'main' into httpclient-solutioninfos
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude committed Jan 20, 2025
2 parents b49f5de + dc88d99 commit 85fce78
Show file tree
Hide file tree
Showing 44 changed files with 5,125 additions and 117 deletions.
51 changes: 51 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,47 @@
**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>Required Property(s)</summary>

- :warning: changed property `triggerPattern` of type `CartDiscountPatternTarget` to be required
- changed property `images` of type `ProductTailoringSetExternalImagesAction` to be optional
</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>


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

**History changes**

<details>
Expand All @@ -7,6 +51,13 @@
</details>


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

- :warning: changed property `triggerPattern` of type `ChangeTargetPatternChangeValue` to be required
</details>


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

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 Expand Up @@ -7174,6 +7190,11 @@ type OrderShippingAddressSet implements MessagePayload & OrderMessagePayload {
type: String!
}

type OrderShippingContainerSet implements MessagePayload & OrderMessagePayload {
shippingContainer: ShippingContainer
type: String!
}

type OrderShippingInfoSet implements MessagePayload & OrderMessagePayload {
shippingInfo: ShippingInfo
oldShippingInfo: ShippingInfo
Expand Down Expand Up @@ -8184,10 +8205,12 @@ type ProductProjection {
hasStagedChanges: Boolean!
published: Boolean!
masterVariant: ProductSearchVariant!
variants: [ProductSearchVariant!]!

"Fetch all variants, including the master variant in first position."
allVariants: [ProductSearchVariant!]!
"Fetch all variants, excluding the master variant. If `onlyMatching` is used, filter this list based on the the search query."
variants(onlyMatching: Boolean): [ProductSearchVariant!]!

"Fetch all variants, including the master variant in first position. If `onlyMatching` is used, filter this list based on the the search query."
allVariants(onlyMatching: Boolean): [ProductSearchVariant!]!
taxCategoryRef: Reference
taxCategory: TaxCategory
stateRef: Reference
Expand Down Expand Up @@ -8688,8 +8711,8 @@ type ProductTailoringImagesSet implements MessagePayload {
storeRef: KeyReference!
productRef: Reference!
productKey: String
oldImages: [Image!]!
images: [Image!]!
oldImages: [Image!]
images: [Image!]
type: String!
}

Expand Down Expand Up @@ -9047,8 +9070,8 @@ type ProductVariantSelectionIncludeOnly implements ProductVariantSelection {

type ProductVariantTailoring {
id: Int!
images: [Image!]!
assets: [Asset!]!
images: [Image!]
assets: [Asset!]
attributesRaw: [RawProductAttribute!]!
}

Expand Down Expand Up @@ -12053,7 +12076,7 @@ input SetProductTailoringImageLabel {
input SetProductTailoringImages {
variantId: Int
sku: String
images: [ImageInput!]!
images: [ImageInput!]
staged: Boolean = true
}

Expand Down Expand Up @@ -13185,6 +13208,12 @@ type Shipping {
shippingCustomFields: CustomFieldsType
}

type ShippingContainer {
shippingMode: ShippingMode!
singleShipping: Shipping!
multiShipping: [Shipping!]!
}

input ShippingDraft {
key: String!
shippingMethod: ResourceIdentifierInput
Expand Down Expand Up @@ -14864,8 +14893,8 @@ input ValueFilterInput {
}

type VariantTailoring {
images: [Image!]!
assets: [Asset!]!
images: [Image!]
assets: [Asset!]
}

"Versioned object have an ID and version and modification. Every update of this object changes it's version."
Expand Down
Loading

0 comments on commit 85fce78

Please sign in to comment.