Skip to content

Commit

Permalink
build(codegen): updating SDK
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-sdks[bot] committed Feb 10, 2025
1 parent d0eceaa commit bba089a
Show file tree
Hide file tree
Showing 112 changed files with 9,376 additions and 11 deletions.
34 changes: 34 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,48 @@
<details>
<summary>Added Type(s)</summary>

- added type `CustomerGroupAssignment`
- added type `CustomerGroupAssignmentDraft`
- added type `CustomerAddCustomerGroupAssignmentAction`
- added type `CustomerRemoveCustomerGroupAssignmentAction`
- added type `CustomerSetCustomerGroupAssignmentsAction`
- added type `CustomerGroupAssignmentAddedMessage`
- added type `CustomerGroupAssignmentRemovedMessage`
- added type `CustomerGroupAssignmentsSetMessage`
- added type `CustomerGroupAssignmentAddedMessagePayload`
- added type `CustomerGroupAssignmentRemovedMessagePayload`
- added type `CustomerGroupAssignmentsSetMessagePayload`
- added type `ShoppingListSetBusinessUnitAction`
</details>


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

- added property `customerGroupAssignments` to type `Customer`
- added property `customerGroupAssignments` to type `CustomerDraft`
- added property `priceCustomerGroupAssignments` to type `ProductSearchProjectionParams`
- added property `businessUnit` to type `ShoppingList`
- added property `businessUnit` to type `ShoppingListDraft`
</details>


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

- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products`
- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products/key={key}`
- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products/key={key}`
- added query parameter `priceCustomerGroupAssignments` to method `delete /{projectKey}/products/key={key}`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/products/{ID}`
- added query parameter `priceCustomerGroupAssignments` to method `post /{projectKey}/products/{ID}`
- added query parameter `priceCustomerGroupAssignments` to method `delete /{projectKey}/products/{ID}`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/search`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/key={key}`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/product-projections/{ID}`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/in-store/key={storeKey}/product-projections/key={key}`
- added query parameter `priceCustomerGroupAssignments` to method `get /{projectKey}/in-store/key={storeKey}/product-projections/{ID}`
</details>

Original file line number Diff line number Diff line change
Expand Up @@ -8947,7 +8947,7 @@ type ProductVariant {
prices: [ProductPrice!]

"Returns a single price based on the price selection rules."
price(currency: Currency!, country: Country, customerGroupId: String, channelId: String, date: DateTime): ProductPrice
price(currency: Currency!, country: Country, customerGroupId: String, customerGroupAssignmentIds: [String], channelId: String, date: DateTime): ProductPrice
images: [Image!]!
assets: [Asset!]!
availability: ProductVariantAvailabilityWithChannels
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ public List<String> getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}

public List<String> getPriceCustomerGroupAssignments() {
return this.getQueryParam("priceCustomerGroupAssignments");
}

public List<String> getPriceChannel() {
return this.getQueryParam("priceChannel");
}
Expand Down Expand Up @@ -496,6 +500,95 @@ public <TValue> ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet addPri
.collect(Collectors.toList()));
}

/**
* set priceCustomerGroupAssignments with the specified value
* @param priceCustomerGroupAssignments value to be set
* @param <TValue> value type
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
*/
public <TValue> ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(
final TValue priceCustomerGroupAssignments) {
return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
}

/**
* add additional priceCustomerGroupAssignments query parameter
* @param priceCustomerGroupAssignments value to be added
* @param <TValue> value type
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
*/
public <TValue> ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(
final TValue priceCustomerGroupAssignments) {
return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
}

/**
* set priceCustomerGroupAssignments with the specified value
* @param supplier supplier for the value to be set
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
*/
public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(
final Supplier<String> supplier) {
return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
}

/**
* add additional priceCustomerGroupAssignments query parameter
* @param supplier supplier for the value to be added
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
*/
public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(
final Supplier<String> supplier) {
return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
}

/**
* set priceCustomerGroupAssignments with the specified value
* @param op builder for the value to be set
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
*/
public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(
final Function<StringBuilder, StringBuilder> op) {
return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
}

/**
* add additional priceCustomerGroupAssignments query parameter
* @param op builder for the value to be added
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
*/
public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(
final Function<StringBuilder, StringBuilder> op) {
return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
}

/**
* set priceCustomerGroupAssignments with the specified values
* @param priceCustomerGroupAssignments values to be set
* @param <TValue> value type
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
*/
public <TValue> ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(
final Collection<TValue> priceCustomerGroupAssignments) {
return copy().withoutQueryParam("priceCustomerGroupAssignments")
.addQueryParams(priceCustomerGroupAssignments.stream()
.map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
.collect(Collectors.toList()));
}

/**
* add additional priceCustomerGroupAssignments query parameters
* @param priceCustomerGroupAssignments values to be added
* @param <TValue> value type
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet
*/
public <TValue> ByProjectKeyInStoreKeyByStoreKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(
final Collection<TValue> priceCustomerGroupAssignments) {
return copy().addQueryParams(priceCustomerGroupAssignments.stream()
.map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
.collect(Collectors.toList()));
}

/**
* set priceChannel with the specified value
* @param priceChannel value to be set
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,10 @@ public List<String> getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}

public List<String> getPriceCustomerGroupAssignments() {
return this.getQueryParam("priceCustomerGroupAssignments");
}

public List<String> getPriceChannel() {
return this.getQueryParam("priceChannel");
}
Expand Down Expand Up @@ -499,6 +503,95 @@ public <TValue> ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet ad
.collect(Collectors.toList()));
}

/**
* set priceCustomerGroupAssignments with the specified value
* @param priceCustomerGroupAssignments value to be set
* @param <TValue> value type
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
*/
public <TValue> ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet withPriceCustomerGroupAssignments(
final TValue priceCustomerGroupAssignments) {
return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
}

/**
* add additional priceCustomerGroupAssignments query parameter
* @param priceCustomerGroupAssignments value to be added
* @param <TValue> value type
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
*/
public <TValue> ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet addPriceCustomerGroupAssignments(
final TValue priceCustomerGroupAssignments) {
return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
}

/**
* set priceCustomerGroupAssignments with the specified value
* @param supplier supplier for the value to be set
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
*/
public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet withPriceCustomerGroupAssignments(
final Supplier<String> supplier) {
return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
}

/**
* add additional priceCustomerGroupAssignments query parameter
* @param supplier supplier for the value to be added
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
*/
public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet addPriceCustomerGroupAssignments(
final Supplier<String> supplier) {
return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
}

/**
* set priceCustomerGroupAssignments with the specified value
* @param op builder for the value to be set
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
*/
public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet withPriceCustomerGroupAssignments(
final Function<StringBuilder, StringBuilder> op) {
return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
}

/**
* add additional priceCustomerGroupAssignments query parameter
* @param op builder for the value to be added
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
*/
public ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet addPriceCustomerGroupAssignments(
final Function<StringBuilder, StringBuilder> op) {
return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
}

/**
* set priceCustomerGroupAssignments with the specified values
* @param priceCustomerGroupAssignments values to be set
* @param <TValue> value type
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
*/
public <TValue> ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet withPriceCustomerGroupAssignments(
final Collection<TValue> priceCustomerGroupAssignments) {
return copy().withoutQueryParam("priceCustomerGroupAssignments")
.addQueryParams(priceCustomerGroupAssignments.stream()
.map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
.collect(Collectors.toList()));
}

/**
* add additional priceCustomerGroupAssignments query parameters
* @param priceCustomerGroupAssignments values to be added
* @param <TValue> value type
* @return ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet
*/
public <TValue> ByProjectKeyInStoreKeyByStoreKeyProductProjectionsKeyByKeyGet addPriceCustomerGroupAssignments(
final Collection<TValue> priceCustomerGroupAssignments) {
return copy().addQueryParams(priceCustomerGroupAssignments.stream()
.map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
.collect(Collectors.toList()));
}

/**
* set priceChannel with the specified value
* @param priceChannel value to be set
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,10 @@ public List<String> getPriceCustomerGroup() {
return this.getQueryParam("priceCustomerGroup");
}

public List<String> getPriceCustomerGroupAssignments() {
return this.getQueryParam("priceCustomerGroupAssignments");
}

public List<String> getPriceChannel() {
return this.getQueryParam("priceChannel");
}
Expand Down Expand Up @@ -464,6 +468,93 @@ public <TValue> ByProjectKeyProductProjectionsByIDGet addPriceCustomerGroup(
.collect(Collectors.toList()));
}

/**
* set priceCustomerGroupAssignments with the specified value
* @param priceCustomerGroupAssignments value to be set
* @param <TValue> value type
* @return ByProjectKeyProductProjectionsByIDGet
*/
public <TValue> ByProjectKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(
final TValue priceCustomerGroupAssignments) {
return copy().withQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
}

/**
* add additional priceCustomerGroupAssignments query parameter
* @param priceCustomerGroupAssignments value to be added
* @param <TValue> value type
* @return ByProjectKeyProductProjectionsByIDGet
*/
public <TValue> ByProjectKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(
final TValue priceCustomerGroupAssignments) {
return copy().addQueryParam("priceCustomerGroupAssignments", priceCustomerGroupAssignments);
}

/**
* set priceCustomerGroupAssignments with the specified value
* @param supplier supplier for the value to be set
* @return ByProjectKeyProductProjectionsByIDGet
*/
public ByProjectKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(final Supplier<String> supplier) {
return copy().withQueryParam("priceCustomerGroupAssignments", supplier.get());
}

/**
* add additional priceCustomerGroupAssignments query parameter
* @param supplier supplier for the value to be added
* @return ByProjectKeyProductProjectionsByIDGet
*/
public ByProjectKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(final Supplier<String> supplier) {
return copy().addQueryParam("priceCustomerGroupAssignments", supplier.get());
}

/**
* set priceCustomerGroupAssignments with the specified value
* @param op builder for the value to be set
* @return ByProjectKeyProductProjectionsByIDGet
*/
public ByProjectKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(
final Function<StringBuilder, StringBuilder> op) {
return copy().withQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
}

/**
* add additional priceCustomerGroupAssignments query parameter
* @param op builder for the value to be added
* @return ByProjectKeyProductProjectionsByIDGet
*/
public ByProjectKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(
final Function<StringBuilder, StringBuilder> op) {
return copy().addQueryParam("priceCustomerGroupAssignments", op.apply(new StringBuilder()));
}

/**
* set priceCustomerGroupAssignments with the specified values
* @param priceCustomerGroupAssignments values to be set
* @param <TValue> value type
* @return ByProjectKeyProductProjectionsByIDGet
*/
public <TValue> ByProjectKeyProductProjectionsByIDGet withPriceCustomerGroupAssignments(
final Collection<TValue> priceCustomerGroupAssignments) {
return copy().withoutQueryParam("priceCustomerGroupAssignments")
.addQueryParams(priceCustomerGroupAssignments.stream()
.map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
.collect(Collectors.toList()));
}

/**
* add additional priceCustomerGroupAssignments query parameters
* @param priceCustomerGroupAssignments values to be added
* @param <TValue> value type
* @return ByProjectKeyProductProjectionsByIDGet
*/
public <TValue> ByProjectKeyProductProjectionsByIDGet addPriceCustomerGroupAssignments(
final Collection<TValue> priceCustomerGroupAssignments) {
return copy().addQueryParams(priceCustomerGroupAssignments.stream()
.map(s -> new ParamEntry<>("priceCustomerGroupAssignments", s.toString()))
.collect(Collectors.toList()));
}

/**
* set priceChannel with the specified value
* @param priceChannel value to be set
Expand Down
Loading

0 comments on commit bba089a

Please sign in to comment.