From 0cf3b06946c84c42a1dc8054ea272c2b14e299b3 Mon Sep 17 00:00:00 2001
From: "ct-sdks[bot]" <153784748+ct-sdks[bot]@users.noreply.github.com>
Date: Fri, 9 Aug 2024 14:58:43 +0000
Subject: [PATCH] build(codegen): updating SDK
---
changes.md | 8 +
...rojectKeyInStoreKeyByStoreKeyMeDelete.java | 7 +-
...nStoreKeyByStoreKeyMeEmailConfirmPost.java | 7 +-
...KeyByStoreKeyMeEmailConfirmPostString.java | 7 +-
...ByProjectKeyInStoreKeyByStoreKeyMeGet.java | 8 +-
...ectKeyInStoreKeyByStoreKeyMeLoginPost.java | 1 +
...InStoreKeyByStoreKeyMeLoginPostString.java | 1 +
...KeyInStoreKeyByStoreKeyMePasswordPost.java | 7 +-
...toreKeyByStoreKeyMePasswordPostString.java | 7 +-
...StoreKeyByStoreKeyMePasswordResetPost.java | 7 +-
...eyByStoreKeyMePasswordResetPostString.java | 7 +-
...yProjectKeyInStoreKeyByStoreKeyMePost.java | 7 +-
...ctKeyInStoreKeyByStoreKeyMePostString.java | 7 +-
...ctKeyInStoreKeyByStoreKeyMeSignupPost.java | 1 +
...nStoreKeyByStoreKeyMeSignupPostString.java | 1 +
...ByProjectKeyMeBusinessUnitsByIDDelete.java | 296 ------------------
.../ByProjectKeyMeBusinessUnitsByIDGet.java | 2 +-
.../ByProjectKeyMeBusinessUnitsByIDHead.java | 2 +-
.../ByProjectKeyMeBusinessUnitsByIDPost.java | 2 +-
...ojectKeyMeBusinessUnitsByIDPostString.java | 2 +-
...tKeyMeBusinessUnitsByIDRequestBuilder.java | 8 -
.../ByProjectKeyMeBusinessUnitsGet.java | 2 +-
.../ByProjectKeyMeBusinessUnitsHead.java | 2 +-
...ojectKeyMeBusinessUnitsKeyByKeyDelete.java | 296 ------------------
...yProjectKeyMeBusinessUnitsKeyByKeyGet.java | 2 +-
...ProjectKeyMeBusinessUnitsKeyByKeyHead.java | 2 +-
...ProjectKeyMeBusinessUnitsKeyByKeyPost.java | 2 +-
...tKeyMeBusinessUnitsKeyByKeyPostString.java | 2 +-
...MeBusinessUnitsKeyByKeyRequestBuilder.java | 8 -
.../api/client/ByProjectKeyMeDelete.java | 2 +-
.../api/client/ByProjectKeyMeGet.java | 7 +-
.../api/client/ByProjectKeyMeLoginPost.java | 2 +-
.../client/ByProjectKeyMeLoginPostString.java | 2 +-
.../api/client/ByProjectKeyMePost.java | 2 +-
.../api/client/ByProjectKeyMePostString.java | 2 +-
.../api/client/ByProjectKeyMeSignupPost.java | 2 +-
.../ByProjectKeyMeSignupPostString.java | 2 +-
.../ByProjectKeyMeBusinessUnitsByIDTest.java | 42 +--
...ProjectKeyMeBusinessUnitsKeyByKeyTest.java | 45 +--
references.txt | 1 +
40 files changed, 101 insertions(+), 719 deletions(-)
delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDDelete.java
delete mode 100644 commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsKeyByKeyDelete.java
diff --git a/changes.md b/changes.md
index ae0b98735f1..941316630ab 100644
--- a/changes.md
+++ b/changes.md
@@ -15,3 +15,11 @@
- added type `DeliveryCustomTypeSetMessagePayload`
+
+Removed Method(s)
+
+- :warning: removed method `apiRoot.withProjectKey().me().businessUnits().withId().delete()`
+- :warning: removed method `apiRoot.withProjectKey().me().businessUnits().withKey().delete()`
+
Deletes the Customer in a Store. Returns a 200 OK
status if successful.
A ResourceNotFound error is returned in the following scenarios:
+ *id
specified in the customer:{id} scope.manage_my_profile:{projectKey}:{storeKey}
scope.This is the last step in the email verification process of a Customer.
+ *This is the last step in the email verification process of a Customer. Returns a 200 OK
status if successful.
A ResourceNotFound error is returned in the following scenarios:
+ *id
specified in the customer:{id} scope.manage_my_profile:{projectKey}:{storeKey}
scope.This is the last step in the email verification process of a Customer.
+ *This is the last step in the email verification process of a Customer. Returns a 200 OK
status if successful.
A ResourceNotFound error is returned in the following scenarios:
+ *id
specified in the customer:{id} scope.manage_my_profile:{projectKey}:{storeKey}
scope.Returns a Customer for a given Query Predicate in a Store. Returns a 200 OK
status if successful.
A ResourceNotFound error is returned in the following scenarios:
+ *id
value that matches the customer:{id} scope.manage_my_profile:{projectKey}:{storeKey}
scope.Retrieves the authenticated Customer (that matches the given email/password pair) if they are part of a specific Store.
+ *If used with an optional access token for an anonymous session, all Orders and Carts that belong to the anonymousId
are assigned to the newly logged-in Customer.
Retrieves the authenticated Customer (that matches the given email/password pair) if they are part of a specific Store.
+ *If used with an optional access token for an anonymous session, all Orders and Carts that belong to the anonymousId
are assigned to the newly logged-in Customer.
Changing the password of the Customer produces the CustomerPasswordUpdated Message with reset=false
.
Changing the password of the Customer produces the CustomerPasswordUpdated Message with reset=false
. Returns a 200 OK
status if successful.
A ResourceNotFound error is returned in the following scenarios:
+ *id
specified in the customer:{id} scope.manage_my_profile:{projectKey}:{storeKey}
scope.Changing the password of the Customer produces the CustomerPasswordUpdated Message with reset=false
.
Changing the password of the Customer produces the CustomerPasswordUpdated Message with reset=false
. Returns a 200 OK
status if successful.
A ResourceNotFound error is returned in the following scenarios:
+ *id
specified in the customer:{id} scope.manage_my_profile:{projectKey}:{storeKey}
scope.This is the last step in the password reset process of the authenticated Customer.
- *Resetting a password produces the of the Customer CustomerPasswordUpdated Message with reset=true
.
Resetting a password produces the Customer CustomerPasswordUpdated Message with reset=true
.
A ResourceNotFound error is returned in the following scenarios:
+ *id
specified in the customer:{id} scope.manage_my_profile:{projectKey}:{storeKey}
scope.This is the last step in the password reset process of the authenticated Customer.
- *Resetting a password produces the of the Customer CustomerPasswordUpdated Message with reset=true
.
Resetting a password produces the Customer CustomerPasswordUpdated Message with reset=true
.
A ResourceNotFound error is returned in the following scenarios:
+ *id
specified in the customer:{id} scope.manage_my_profile:{projectKey}:{storeKey}
scope.Updates the Customer in a Store. Returns a 200 OK
status if successful.
A ResourceNotFound error is returned in the following scenarios:
+ *id
specified in the customer:{id} scope.manage_my_profile:{projectKey}:{storeKey}
scope.Updates the Customer in a Store. Returns a 200 OK
status if successful.
A ResourceNotFound error is returned in the following scenarios:
+ *id
specified in the customer:{id} scope.manage_my_profile:{projectKey}:{storeKey}
scope.If used with an optional access token for an anonymous session, all Orders and Carts that belong to the anonymousId
are assigned to the newly created Customer.
If omitted in the request body, the Customer stores
field is set to the Store specified in the path parameter.
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.
*Creating a Customer produces the CustomerCreated Message.
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPostString.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPostString.java index 5bd1461fc94..6f714ba0905 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPostString.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyInStoreKeyByStoreKeyMeSignupPostString.java @@ -17,6 +17,7 @@ import org.apache.commons.lang3.builder.HashCodeBuilder; /** + *If used with an optional access token for an anonymous session, all Orders and Carts that belong to the anonymousId
are assigned to the newly created Customer.
If omitted in the request body, the Customer stores
field is set to the Store specified in the path parameter.
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.
*Creating a Customer produces the CustomerCreated Message.
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDDelete.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDDelete.java deleted file mode 100644 index d87354c84cf..00000000000 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/client/ByProjectKeyMeBusinessUnitsByIDDelete.java +++ /dev/null @@ -1,296 +0,0 @@ - -package com.commercetools.api.client; - -import java.net.URI; -import java.time.Duration; -import java.util.ArrayList; -import java.util.Collection; -import java.util.List; -import java.util.concurrent.CompletableFuture; -import java.util.function.Function; -import java.util.function.Supplier; -import java.util.stream.Collectors; - -import com.fasterxml.jackson.core.type.TypeReference; - -import io.vrap.rmf.base.client.*; -import io.vrap.rmf.base.client.utils.Generated; - -import org.apache.commons.lang3.builder.EqualsBuilder; -import org.apache.commons.lang3.builder.HashCodeBuilder; - -/** - * - * - *{@code
- * CompletableFuture> result = apiRoot
- * .withProjectKey("{projectKey}")
- * .me()
- * .businessUnits()
- * .withId("{ID}")
- * .delete()
- * .withVersion(version)
- * .execute()
- * }
- * Returns a Business Unit for a given id
. Returns a 200 OK
status if the Business Unit exists and the Customer has access to it, or a ResourceNotFound error otherwise.
Checks if a BusinessUnit exists for a given id
. Returns a 200 OK
status if the BusinessUnit exists or a 404 Not Found
otherwise.
Checks if a BusinessUnit exists for a given id
. Returns a 200 OK
status if the BusinessUnit exists and the Customer has access to it, or a ResourceNotFound error otherwise.
Updates a Business Unit for a given id
. Returns a 200 OK
status if the Business Unit exists and the Customer has access to it, or a ResourceNotFound error otherwise.
Updates a Business Unit for a given id
. Returns a 200 OK
status if the Business Unit exists and the Customer has access to it, or a ResourceNotFound error otherwise.
Returns all of the authenticated Customer’s Business Units in a Project. Returns a 200 OK
status if successful, or a ResourceNotFound error otherwise.
Checks if a BusinessUnit exists for a given Query Predicate. Returns a 200 OK
status if any BusinessUnits match the Query Predicate or a 404 Not Found
otherwise.
Checks if a BusinessUnit exists for a given Query Predicate. Returns a 200 OK
status if any BusinessUnits match the Query Predicate and the Customer has access to them, or a ResourceNotFound error otherwise.
{@code
- * CompletableFuture> result = apiRoot
- * .withProjectKey("{projectKey}")
- * .me()
- * .businessUnits()
- * .withKey("{key}")
- * .delete()
- * .withVersion(version)
- * .execute()
- * }
- * Returns a Business Unit for a given key
. Returns a 200 OK
status if the Business Unit exists and the Customer has access to it, or a ResourceNotFound error otherwise.
Checks if a BusinessUnit exists for a given key
. Returns a 200 OK
status if the BusinessUnit exists or a 404 Not Found
otherwise.
Checks if a BusinessUnit exists for a given key
. Returns a 200 OK
status if the Business Unit exists and the Customer has access to it, or a ResourceNotFound error otherwise.
Updates a Business Unit for a given key
. Returns a 200 OK
status if the Business Unit exists and the Customer has access to it, or a ResourceNotFound error otherwise.
Updates a Business Unit for a given key
. Returns a 200 OK
status if the Business Unit exists and the Customer has access to it, or a ResourceNotFound error otherwise.
Deletes the Customer specified in the customer:{id} scope. Returns a 200 OK
status if successful.
Returns a Customer for a given Query Predicate. Returns a 200 OK
status if successful.
A ResourceNotFound error is returned in the following scenarios:
+ *id
value that matches the customer:{id} scope.Retrieves the authenticated customer (that matches the given email/password pair).
- *If used with an access token for an anonymous session, all Orders and Carts that belong to the anonymousId
are assigned to the newly logged-in Customer.
If used with an optional access token for an anonymous session, all Orders and Carts that belong to the anonymousId
are assigned to the newly logged-in Customer.
Retrieves the authenticated customer (that matches the given email/password pair).
- *If used with an access token for an anonymous session, all Orders and Carts that belong to the anonymousId
are assigned to the newly logged-in Customer.
If used with an optional access token for an anonymous session, all Orders and Carts that belong to the anonymousId
are assigned to the newly logged-in Customer.
Updates the Customer specified in the customer:{id} scope. Returns a 200 OK
status if successful.
Updates the Customer specified in the customer:{id} scope. Returns a 200 OK
status if successful.
If used with an access token for an anonymous session, all Orders and Carts that belong to the anonymousId
are assigned to the newly created Customer.
If used with an optional access token for an anonymous session, all Orders and Carts that belong to the anonymousId
are assigned to the newly created Customer.
Creating a Customer produces the CustomerCreated Message.
* *If used with an access token for an anonymous session, all Orders and Carts that belong to the anonymousId
are assigned to the newly created Customer.
If used with an optional access token for an anonymous session, all Orders and Carts that belong to the anonymousId
are assigned to the newly created Customer.
Creating a Customer produces the CustomerCreated Message.
* *