Skip to content

Commit

Permalink
Merge pull request #701 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 Aug 5, 2024
2 parents 5d5e5b0 + e21378f commit 543206e
Show file tree
Hide file tree
Showing 121 changed files with 379 additions and 2,108 deletions.
19 changes: 19 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@
</details>


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

- :warning: removed resource `/{projectKey}/me/carts/key={key}`
</details>


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

Expand Down Expand Up @@ -141,6 +148,18 @@
</details>


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

- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().get()`
- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().head()`
- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().post()`
- :warning: removed method `apiRoot.withProjectKey().me().carts().withKey().delete()`
- :warning: removed method `apiRoot.withProjectKey().me().quoteRequests().withId().delete()`
- :warning: removed method `apiRoot.withProjectKey().me().quoteRequests().withKey().delete()`
</details>


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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If the Cart exists in the Project but does not have the <code>store</code> field, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If the Cart exists in the Project but does not have the <code>store</code> field, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.</p>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Checks if a Cart exists for a given <code>id</code>. Returns a <code>200 OK</code> status if the Cart exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a Cart exists for a given <code>id</code>. Returns a <code>200 OK</code> status if the Cart exists or a ResourceNotFound error otherwise.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Updates a Cart in the Store specified by <code>storeKey</code>. If the Cart exists in the Project but does not have the <code>store</code> field, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>Updates a Cart in the Store specified by <code>storeKey</code>. If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Updates a Cart in the Store specified by <code>storeKey</code>. If the Cart exists in the Project but does not have the <code>store</code> field, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>Updates a Cart in the Store specified by <code>storeKey</code>. If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@

/**
* <p>Retrieves the most recently modified active Cart of a Customer with CartOrigin <code>Customer</code>. If no active Cart exists, this method returns a ResourceNotFound error.</p>
* <p>If the Cart exists in the Project but does not have the <code>store</code> field, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.</p>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Checks if a Cart of a Customer exists. Returns a <code>200 OK</code> status if the Cart exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a Cart of a Customer exists. Returns a <code>200 OK</code> status if the Cart exists or a ResourceNotFound error otherwise.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Checks if a Cart exists for a given Query Predicate. Returns a <code>200 OK</code> status if any Carts match the Query Predicate or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a Cart exists for a given Query Predicate. Returns a <code>200 OK</code> status if any Carts match the Query Predicate or a ResourceNotFound error otherwise.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If the Cart exists in the Project but does not have the <code>store</code> field, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If the Cart exists in the Project but does not have the <code>store</code> field, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>To ensure the Cart is up-to-date with current values (such as Prices and Discounts), use the Recalculate update action.</p>
*
* <hr>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Checks if a Cart exists for a given <code>key</code>. Returns a <code>200 OK</code> status if the Cart exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a Cart exists for a given <code>key</code>. Returns a <code>200 OK</code> status if the Cart exists or a ResourceNotFound error otherwise.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If the Cart exists in the Project but does not have the <code>store</code> field, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If the Cart exists in the Project but does not have the <code>store</code> field, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>If the Cart exists in the Project but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Checks if a Customer exists for a given Query Predicate. Returns a <code>200 OK</code> status if any Customers match the Query Predicate or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a Customer exists for a given Query Predicate. Returns a <code>200 OK</code> status if any Customers match the Query Predicate or a ResourceNotFound error otherwise.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,14 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Retrieves the Customer's most recently modified active Cart in the Store specified by the <code>storeKey</code> path parameter.</p>
* <p>Retrieves the Customer's most recently modified active Cart in a Store. Returns a <code>200 OK</code> status if successful.</p>
* <p>Carts with <code>Merchant</code> or <code>Quote</code> CartOrigin are ignored.</p>
* <p>If no active Cart exists, this method returns a ResourceNotFound error.</p>
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
* <ul>
* <li>If no active Cart exists.</li>
* <li>If an active Cart exists but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store.</li>
* <li>If an active Cart exists but does not have a <code>customerId</code> that matches the customer:{id} scope, or <code>anonymousId</code> that matches the anonymous_id:{id} scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Checks if an active Cart exists. Returns a <code>200 OK</code> status if an active Cart exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if an active Cart exists in a Store. Returns <code>200 OK</code> status if successful.</p>
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
* <ul>
* <li>If no active Cart exists in a Store.</li>
* <li>If an active Cart exists but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store.</li>
* <li>If an active Cart exists but does not contain a <code>customerId</code> that matches the customer:{id} scope, or <code>anonymousId</code> that matches the anonymous_id:{id} scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Deletes the Cart for a given <code>id</code> in a Store. Returns a <code>200 OK</code> status if the Cart exists, or a ResourceNotFound error otherwise.</p>
* <p>If the Cart exists in the Project but does not belong to a Store, or the Cart's <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>If the Cart exists in the Project but does not have a matching <code>customerId</code> or <code>anonymousId</code>, this method returns a ResourceNotFound error.</p>
* <p>Deletes the Cart for a given <code>id</code> in a Store. Returns a <code>200 OK</code> status if successful.</p>
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
* <ul>
* <li>If no Cart exists in the Store for the given <code>id</code>.</li>
* <li>If the Cart exists in the Project but does not belong to a Store, or the Cart's <code>store</code> field references a different Store.</li>
* <li>If the Cart exists in the Project but does not have either a <code>customerId</code> that matches the customer:{id} scope, or an <code>anonymousId</code> that matches the anonymous_id:{id} scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Returns a Cart for a given <code>id</code> in a Store. Returns a <code>200 OK</code> status if the Cart exists, or a ResourceNotFound error otherwise.</p>
* <p>If the Cart exists in the Project but does not belong to a Store, or the Cart's <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>If the Cart exists in the Project but does not have a matching <code>customerId</code> or <code>anonymousId</code>, this method returns a ResourceNotFound error.</p>
* <p>Returns a Cart for a given <code>id</code> in a Store. Returns a <code>200 OK</code> status if the Cart exists.</p>
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
* <ul>
* <li>If no Cart exists in the Store for the given <code>id</code>.</li>
* <li>If the Cart exists but does not belong to a Store, or the Cart's <code>store</code> field references a different Store.</li>
* <li>If the Cart exists but does not have either a <code>customerId</code> that matches the customer:{id} scope, or an <code>anonymousId</code> that matches the anonymous_id:{id} scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,13 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Updates the Cart for a given <code>id</code> in a Store. Returns a <code>200 OK</code> status if the Cart exists, or a ResourceNotFound error otherwise.</p>
* <p>If the Cart exists in the Project but does not belong to a Store, or the Cart's <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>If the Cart exists in the Project but does not have a matching <code>customerId</code> or <code>anonymousId</code>, this method returns a ResourceNotFound error.</p>
* <p>Updates the Cart for a given <code>id</code> in a Store. Returns a <code>200 OK</code> status if successful.</p>
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
* <ul>
* <li>If no Cart exists in the Store for the given <code>id</code>.</li>
* <li>If the Cart exists but does not belong to a Store, or the Cart's <code>store</code> field references a different Store.</li>
* <li>If the Cart exists but does not have either a <code>customerId</code> that matches the customer:{id} scope, or an <code>anonymousId</code> that matches the anonymous_id:{id} scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,13 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Updates the Cart for a given <code>id</code> in a Store. Returns a <code>200 OK</code> status if the Cart exists, or a ResourceNotFound error otherwise.</p>
* <p>If the Cart exists in the Project but does not belong to a Store, or the Cart's <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>If the Cart exists in the Project but does not have a matching <code>customerId</code> or <code>anonymousId</code>, this method returns a ResourceNotFound error.</p>
* <p>Updates the Cart for a given <code>id</code> in a Store. Returns a <code>200 OK</code> status if successful.</p>
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
* <ul>
* <li>If no Cart exists in the Store for the given <code>id</code>.</li>
* <li>If the Cart exists but does not belong to a Store, or the Cart's <code>store</code> field references a different Store.</li>
* <li>If the Cart exists but does not have either a <code>customerId</code> that matches the customer:{id} scope, or an <code>anonymousId</code> that matches the anonymous_id:{id} scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Checks if a Cart exists for a Store that matches the given Query Predicate, and contains a matching <code>customerId</code> or <code>anonymousId</code>. Returns a <code>200 OK</code> status if any Carts match these conditions, or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a Cart exists for a Store that matches the given Query Predicate, and contains a matching <code>customerId</code> or <code>anonymousId</code>. Returns a <code>200 OK</code> status if any Carts match these conditions, or a ResourceNotFound error otherwise.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creates a Cart in the specified Store for a given <code>customerId</code> or <code>anonymousId</code>.</p>
* <p>Creates a Cart in a Store for the Customer or anonymous user. The <code>customerId</code> or <code>anonymousId</code> field on the Cart is automatically set based on the customer:{id} or anonymous_id:{id} scope.</p>
* <p>The <code>store</code> field in the created Cart is set to the Store specified by the <code>storeKey</code> path parameter.</p>
* <p>Specific Error Codes:</p>
* <ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Creates a Cart in the specified Store for a given <code>customerId</code> or <code>anonymousId</code>.</p>
* <p>Creates a Cart in a Store for the Customer or anonymous user. The <code>customerId</code> or <code>anonymousId</code> field on the Cart is automatically set based on the customer:{id} or anonymous_id:{id} scope.</p>
* <p>The <code>store</code> field in the created Cart is set to the Store specified by the <code>storeKey</code> path parameter.</p>
* <p>Specific Error Codes:</p>
* <ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,13 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If the Order exists in the Project but does not have the <code>store</code> field, or the <code>store</code> field references a different Store, this method returns a ResourceNotFound error.</p>
* <p>Returns an Order for a given <code>id</code> in a Store. Returns a <code>200 OK</code> status if successful.</p>
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
* <ul>
* <li>If no Order exists in the Store for the given <code>id</code>.</li>
* <li>If the Order exists but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store.</li>
* <li>If the Order exists but does not have a <code>customerId</code> that matches the customer:{id} scope, or <code>anonymousId</code> that matches the anonymous_id:{id} scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,13 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Checks if an Order exists for a given <code>id</code>. Returns a <code>200 OK</code> status if the My Order exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if an Order exists for a given <code>id</code> in a Store. Returns a <code>200 OK</code> status if successful.</p>
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
* <ul>
* <li>If no Order exists in the Store for the given <code>id</code>.</li>
* <li>If the Order exists but does not have a <code>store</code> specified, or the <code>store</code> field references a different Store.</li>
* <li>If the Order exists but does not have a <code>customerId</code> that matches the customer:{id} scope, or <code>anonymousId</code> that matches the anonymous_id:{id} scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
*
* <p>Returns all Orders in a Store that match a given Query Predicate and contain either a <code>customerId</code> that matches the customer_id:{id} scope, or an <code>anonymousId</code> that matches the anonymous_id:{id} scope.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Loading

0 comments on commit 543206e

Please sign in to comment.