Skip to content

Commit

Permalink
Merge pull request #534 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
Update generated SDKs
  • Loading branch information
jenschude authored Jan 9, 2024
2 parents e3f37e9 + 4807cdc commit 52bf97f
Show file tree
Hide file tree
Showing 30 changed files with 62 additions and 950 deletions.
8 changes: 8 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@
- added enum `cart-discount` to type `AttributeReferenceTypeId`
</details>


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

- :warning: removed type `NotEnabledError`
- :warning: removed type `GraphQLNotEnabledError`
</details>

**History changes**

<details>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ type APIClientWithoutSecretQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [APIClientWithoutSecret!]!
}
Expand Down Expand Up @@ -712,8 +710,6 @@ type ApprovalFlowQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [ApprovalFlow!]!
}
Expand Down Expand Up @@ -819,8 +815,6 @@ type ApprovalRuleQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [ApprovalRule!]!
}
Expand Down Expand Up @@ -1099,8 +1093,6 @@ type AssociateRoleQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [AssociateRole!]!
}
Expand Down Expand Up @@ -1215,8 +1207,6 @@ type AttributeGroupQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [AttributeGroup!]!
}
Expand Down Expand Up @@ -1594,8 +1584,6 @@ type BusinessUnitQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [BusinessUnit!]!
}
Expand Down Expand Up @@ -1835,8 +1823,6 @@ type CartDiscountQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [CartDiscount!]!
}
Expand Down Expand Up @@ -1955,8 +1941,6 @@ type CartQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [Cart!]!
}
Expand Down Expand Up @@ -2186,8 +2170,6 @@ type CategoryQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [Category!]!
}
Expand Down Expand Up @@ -2884,8 +2866,6 @@ type ChannelQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [Channel!]!
}
Expand Down Expand Up @@ -2977,8 +2957,6 @@ type CommercetoolsSubscriptionQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [CommercetoolsSubscription!]!
}
Expand Down Expand Up @@ -3298,8 +3276,6 @@ type CustomObjectQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [CustomObject!]!
}
Expand Down Expand Up @@ -3560,8 +3536,6 @@ type CustomerGroupQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [CustomerGroup!]!
}
Expand Down Expand Up @@ -3643,8 +3617,6 @@ type CustomerQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [Customer!]!
}
Expand Down Expand Up @@ -3992,8 +3964,6 @@ type DiscountCodeQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [DiscountCode!]!
}
Expand Down Expand Up @@ -4201,8 +4171,6 @@ type ExtensionQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [Extension!]!
}
Expand Down Expand Up @@ -4726,8 +4694,6 @@ type InventoryEntryQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [InventoryEntry!]!
}
Expand Down Expand Up @@ -5227,8 +5193,6 @@ type MessageQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [Message!]!
}
Expand Down Expand Up @@ -6310,8 +6274,6 @@ type MyPaymentQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [MyPayment!]!
}
Expand Down Expand Up @@ -6665,8 +6627,6 @@ type OrderEditQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [OrderEdit!]!
}
Expand Down Expand Up @@ -6776,8 +6736,6 @@ type OrderQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [Order!]!
}
Expand Down Expand Up @@ -7091,8 +7049,6 @@ type PaymentQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [Payment!]!
}
Expand Down Expand Up @@ -7330,8 +7286,6 @@ type ProductAssignmentQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [ProductAssignment!]!
}
Expand Down Expand Up @@ -7529,8 +7483,6 @@ type ProductDiscountQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [ProductDiscount!]!
}
Expand Down Expand Up @@ -7603,8 +7555,6 @@ type ProductOfSelectionQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [ProductOfSelection!]!
}
Expand Down Expand Up @@ -7880,8 +7830,6 @@ type ProductQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [Product!]!
}
Expand Down Expand Up @@ -8049,8 +7997,6 @@ type ProductSelectionQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [ProductSelection!]!
}
Expand Down Expand Up @@ -8159,8 +8105,6 @@ type ProductTypeDefinitionQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [ProductTypeDefinition!]!
}
Expand Down Expand Up @@ -8845,8 +8789,6 @@ type QuoteQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [Quote!]!
}
Expand Down Expand Up @@ -8943,8 +8885,6 @@ type QuoteRequestQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [QuoteRequest!]!
}
Expand Down Expand Up @@ -9639,8 +9579,6 @@ type ReviewQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [Review!]!
}
Expand Down Expand Up @@ -9888,8 +9826,6 @@ type SelectionOfProductQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [SelectionOfProduct!]!
}
Expand Down Expand Up @@ -12407,8 +12343,6 @@ type ShippingMethodQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [ShippingMethod!]!
}
Expand Down Expand Up @@ -12686,8 +12620,6 @@ type ShoppingListQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [ShoppingList!]!
}
Expand Down Expand Up @@ -12900,8 +12832,6 @@ type StagedQuoteQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [StagedQuote!]!
}
Expand Down Expand Up @@ -13015,8 +12945,6 @@ type StandalonePriceQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [StandalonePrice!]!
}
Expand Down Expand Up @@ -13136,8 +13064,6 @@ type StateQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [State!]!
}
Expand Down Expand Up @@ -13282,8 +13208,6 @@ type StoreQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [Store!]!
}
Expand Down Expand Up @@ -13458,8 +13382,6 @@ type TaxCategoryQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [TaxCategory!]!
}
Expand Down Expand Up @@ -13895,8 +13817,6 @@ type TypeDefinitionQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [TypeDefinition!]!
}
Expand Down Expand Up @@ -14045,8 +13965,6 @@ type ZoneQueryResult {
offset: Int!
count: Int!
total: Long!

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
exists: Boolean!
results: [Zone!]!
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Gets the current or staged representation of a Product by its ID from the specified Store. If the Store has defined some languages, countries, distribution or supply Channels, they are used for projections based on locale, price and inventory.</p>
* <p>Gets the current or staged representation of a Product by its ID from the specified Store. If the Store has defined some languages, countries, distribution, supply Channels, and/or Product Selection, they are used for projections based on locale, price and inventory.</p>
* <p>If ProductSelection is used, it affects the availability of the Product in the specified Store.</p>
* <p>When used with an API Client that has the <code>view_published_products:{projectKey}</code> scope, this endpoint only returns published (current) Product Projections.</p>
*
* <hr>
Expand Down
Loading

0 comments on commit 52bf97f

Please sign in to comment.