Skip to content

Commit

Permalink
Merge pull request #708 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 9, 2024
2 parents 3423f0c + 0cf3b06 commit a1ca689
Show file tree
Hide file tree
Showing 40 changed files with 101 additions and 719 deletions.
8 changes: 8 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,11 @@
- added type `DeliveryCustomTypeSetMessagePayload`
</details>


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

- :warning: removed method `apiRoot.withProjectKey().me().businessUnits().withId().delete()`
- :warning: removed method `apiRoot.withProjectKey().me().businessUnits().withKey().delete()`
</details>

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

/**
*
* <p>Deletes the Customer 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 Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> 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,12 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>This is the last step in the email verification process of a Customer.</p>
* <p>This is the last step in the email verification process of a Customer. 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 Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>This is the last step in the email verification process of a Customer.</p>
* <p>This is the last step in the email verification process of a Customer. 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 Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> 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,13 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
*
* <p>Returns a Customer for a given Query Predicate 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 Customer exists in the Store for the given Query Predicate.</li>
* <li>If a Customer exists in the Store for the given Query Predicate, but does not have an <code>id</code> value that matches the customer:{id} scope.</li>
* <li>If a Customer exists for the given Query Predicate but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

/**
* <p>Retrieves the authenticated Customer (that matches the given email/password pair) if they are part of a specific Store.</p>
* <p>If used with an optional access token for an anonymous session, all Orders and Carts that belong to the <code>anonymousId</code> are assigned to the newly logged-in Customer.</p>
* <ul>
* <li>If the Customer does not have a Cart, the most recently modified anonymous cart becomes the Customer's Cart.</li>
* <li>If the Customer already has a Cart, the most recently modified anonymous cart is handled according to AnonymousCartSignInMode.</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@

/**
* <p>Retrieves the authenticated Customer (that matches the given email/password pair) if they are part of a specific Store.</p>
* <p>If used with an optional access token for an anonymous session, all Orders and Carts that belong to the <code>anonymousId</code> are assigned to the newly logged-in Customer.</p>
* <ul>
* <li>If the Customer does not have a Cart, the most recently modified anonymous cart becomes the Customer's Cart.</li>
* <li>If the Customer already has a Cart, the most recently modified anonymous cart is handled according to AnonymousCartSignInMode.</li>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,12 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Changing the password of the Customer produces the CustomerPasswordUpdated Message with <code>reset=false</code>.</p>
* <p>Changing the password of the Customer produces the CustomerPasswordUpdated Message with <code>reset=false</code>. 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 Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>Changing the password of the Customer produces the CustomerPasswordUpdated Message with <code>reset=false</code>.</p>
* <p>Changing the password of the Customer produces the CustomerPasswordUpdated Message with <code>reset=false</code>. 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 Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@

/**
* <p>This is the last step in the password reset process of the authenticated Customer.</p>
* <p>Resetting a password produces the of the Customer CustomerPasswordUpdated Message with <code>reset=true</code>.</p>
* <p>Resetting a password produces the Customer CustomerPasswordUpdated Message with <code>reset=true</code>.</p>
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
* <ul>
* <li>If no Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,12 @@

/**
* <p>This is the last step in the password reset process of the authenticated Customer.</p>
* <p>Resetting a password produces the of the Customer CustomerPasswordUpdated Message with <code>reset=true</code>.</p>
* <p>Resetting a password produces the Customer CustomerPasswordUpdated Message with <code>reset=true</code>.</p>
* <p>A ResourceNotFound error is returned in the following scenarios:</p>
* <ul>
* <li>If no Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> 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,12 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
*
* <p>Updates the Customer 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 Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,12 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
*
* <p>Updates the Customer 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 Customer exists with the <code>id</code> specified in the customer:{id} scope.</li>
* <li>If the Customer exists but is associated with a different Store than what is specified in the <code>manage_my_profile:{projectKey}:{storeKey}</code> scope.</li>
* </ul>
*
* <hr>
* <div class=code-example>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If used with an optional access token for an anonymous session, all Orders and Carts that belong to the <code>anonymousId</code> are assigned to the newly created Customer.</p>
* <p>If omitted in the request body, the Customer <code>stores</code> field is set to the Store specified in the path parameter.</p>
* <p>A Cart returned in the CustomerSignInResult has any invalid Line Items removed and is updated with the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.</p>
* <p>Creating a Customer produces the CustomerCreated Message.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
import org.apache.commons.lang3.builder.HashCodeBuilder;

/**
* <p>If used with an optional access token for an anonymous session, all Orders and Carts that belong to the <code>anonymousId</code> are assigned to the newly created Customer.</p>
* <p>If omitted in the request body, the Customer <code>stores</code> field is set to the Store specified in the path parameter.</p>
* <p>A Cart returned in the CustomerSignInResult has any invalid Line Items removed and is updated with the latest prices, taxes, and discounts. During these updates, the following errors can be returned: MatchingPriceNotFound and MissingTaxRateForCountry.</p>
* <p>Creating a Customer produces the CustomerCreated Message.</p>
Expand Down
Loading

0 comments on commit a1ca689

Please sign in to comment.