diff --git a/changes.md b/changes.md index 0776cbca720..1ac8f16ff39 100644 --- a/changes.md +++ b/changes.md @@ -1,5 +1,17 @@ **Api changes** +
+Added Enum(s) + +- added enum `approval-flow` to type `ReferenceTypeId` +- added enum `approval-rule` to type `ReferenceTypeId` +- added enum `approval-flow` to type `ChangeSubscriptionResourceTypeId` +- added enum `approval-rule` to type `ChangeSubscriptionResourceTypeId` +- added enum `approval-flow` to type `MessageSubscriptionResourceTypeId` +- added enum `approval-rule` to type `MessageSubscriptionResourceTypeId` +
+ +
Added Method(s) diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceTypeId.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceTypeId.java index 4a50c2bfa05..fe2bf3e9e98 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceTypeId.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/common/ReferenceTypeId.java @@ -16,6 +16,16 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public interface ReferenceTypeId extends JsonEnum { + /** +

References an ApprovalFlow.

+ + */ + ReferenceTypeId APPROVAL_FLOW = ReferenceTypeIdEnum.APPROVAL_FLOW; + /** +

References an ApprovalRule.

+ + */ + ReferenceTypeId APPROVAL_RULE = ReferenceTypeIdEnum.APPROVAL_RULE; /**

References an AssociateRole.

@@ -206,6 +216,16 @@ public interface ReferenceTypeId extends JsonEnum { * possible values of ReferenceTypeId */ enum ReferenceTypeIdEnum implements ReferenceTypeId { + /** + * approval-flow + */ + APPROVAL_FLOW("approval-flow"), + + /** + * approval-rule + */ + APPROVAL_RULE("approval-rule"), + /** * associate-role */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededError.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededError.java index c1df33a974c..51817111547 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededError.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededError.java @@ -23,7 +23,7 @@ *
*

  *     GraphQLMaxResourceLimitExceededError graphQLMaxResourceLimitExceededError = GraphQLMaxResourceLimitExceededError.builder()
- *             .exceededResource(ReferenceTypeId.ASSOCIATE_ROLE)
+ *             .exceededResource(ReferenceTypeId.APPROVAL_FLOW)
  *             .build()
  * 
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededErrorBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededErrorBuilder.java index c1307fb0159..f5add95ee09 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededErrorBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededErrorBuilder.java @@ -13,7 +13,7 @@ *
*

  *     GraphQLMaxResourceLimitExceededError graphQLMaxResourceLimitExceededError = GraphQLMaxResourceLimitExceededError.builder()
- *             .exceededResource(ReferenceTypeId.ASSOCIATE_ROLE)
+ *             .exceededResource(ReferenceTypeId.APPROVAL_FLOW)
  *             .build()
  * 
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundError.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundError.java index 620214a8a4d..1ee81127981 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundError.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundError.java @@ -22,7 +22,7 @@ *
*

  *     GraphQLReferencedResourceNotFoundError graphQLReferencedResourceNotFoundError = GraphQLReferencedResourceNotFoundError.builder()
- *             .typeId(ReferenceTypeId.ASSOCIATE_ROLE)
+ *             .typeId(ReferenceTypeId.APPROVAL_FLOW)
  *             .build()
  * 
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundErrorBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundErrorBuilder.java index 08299b0c6c5..9d2f05086cf 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundErrorBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundErrorBuilder.java @@ -15,7 +15,7 @@ *
*

  *     GraphQLReferencedResourceNotFoundError graphQLReferencedResourceNotFoundError = GraphQLReferencedResourceNotFoundError.builder()
- *             .typeId(ReferenceTypeId.ASSOCIATE_ROLE)
+ *             .typeId(ReferenceTypeId.APPROVAL_FLOW)
  *             .build()
  * 
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededError.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededError.java index 81ab9330b66..493847a3985 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededError.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededError.java @@ -24,7 +24,7 @@ *

  *     MaxResourceLimitExceededError maxResourceLimitExceededError = MaxResourceLimitExceededError.builder()
  *             .message("{message}")
- *             .exceededResource(ReferenceTypeId.ASSOCIATE_ROLE)
+ *             .exceededResource(ReferenceTypeId.APPROVAL_FLOW)
  *             .build()
  * 
* diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededErrorBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededErrorBuilder.java index 698bd3efe60..1473521cac6 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededErrorBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededErrorBuilder.java @@ -14,7 +14,7 @@ *

  *     MaxResourceLimitExceededError maxResourceLimitExceededError = MaxResourceLimitExceededError.builder()
  *             .message("{message}")
- *             .exceededResource(ReferenceTypeId.ASSOCIATE_ROLE)
+ *             .exceededResource(ReferenceTypeId.APPROVAL_FLOW)
  *             .build()
  * 
* diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundError.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundError.java index d28c3e79e98..7c77bc185f7 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundError.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundError.java @@ -23,7 +23,7 @@ *

  *     ReferencedResourceNotFoundError referencedResourceNotFoundError = ReferencedResourceNotFoundError.builder()
  *             .message("{message}")
- *             .typeId(ReferenceTypeId.ASSOCIATE_ROLE)
+ *             .typeId(ReferenceTypeId.APPROVAL_FLOW)
  *             .build()
  * 
* diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundErrorBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundErrorBuilder.java index 3f03976f7a7..8973b63426a 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundErrorBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundErrorBuilder.java @@ -16,7 +16,7 @@ *

  *     ReferencedResourceNotFoundError referencedResourceNotFoundError = ReferencedResourceNotFoundError.builder()
  *             .message("{message}")
- *             .typeId(ReferenceTypeId.ASSOCIATE_ROLE)
+ *             .typeId(ReferenceTypeId.APPROVAL_FLOW)
  *             .build()
  * 
* diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscription.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscription.java index 6ec6aeb1fe1..4e02064fa82 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscription.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscription.java @@ -21,7 +21,7 @@ *
*

  *     ChangeSubscription changeSubscription = ChangeSubscription.builder()
- *             .resourceTypeId(ChangeSubscriptionResourceTypeId.ASSOCIATE_ROLE)
+ *             .resourceTypeId(ChangeSubscriptionResourceTypeId.APPROVAL_FLOW)
  *             .build()
  * 
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionBuilder.java index 573e80945b2..77329f958e5 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionBuilder.java @@ -13,7 +13,7 @@ *
*

  *     ChangeSubscription changeSubscription = ChangeSubscription.builder()
- *             .resourceTypeId(ChangeSubscriptionResourceTypeId.ASSOCIATE_ROLE)
+ *             .resourceTypeId(ChangeSubscriptionResourceTypeId.APPROVAL_FLOW)
  *             .build()
  * 
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionResourceTypeId.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionResourceTypeId.java index 7759e5adf83..cdeba7186fc 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionResourceTypeId.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionResourceTypeId.java @@ -16,6 +16,16 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public interface ChangeSubscriptionResourceTypeId extends JsonEnum { + /** +

Changes related to ApprovalFlows.

+ + */ + ChangeSubscriptionResourceTypeId APPROVAL_FLOW = ChangeSubscriptionResourceTypeIdEnum.APPROVAL_FLOW; + /** +

Changes related to ApprovalRules.

+ + */ + ChangeSubscriptionResourceTypeId APPROVAL_RULE = ChangeSubscriptionResourceTypeIdEnum.APPROVAL_RULE; /**

Changes related to AssociateRoles.

@@ -196,6 +206,16 @@ public interface ChangeSubscriptionResourceTypeId extends JsonEnum { * possible values of ChangeSubscriptionResourceTypeId */ enum ChangeSubscriptionResourceTypeIdEnum implements ChangeSubscriptionResourceTypeId { + /** + * approval-flow + */ + APPROVAL_FLOW("approval-flow"), + + /** + * approval-rule + */ + APPROVAL_RULE("approval-rule"), + /** * associate-role */ diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscription.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscription.java index 6bae80647fd..3df27895092 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscription.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscription.java @@ -22,7 +22,7 @@ *
*

  *     MessageSubscription messageSubscription = MessageSubscription.builder()
- *             .resourceTypeId(MessageSubscriptionResourceTypeId.ASSOCIATE_ROLE)
+ *             .resourceTypeId(MessageSubscriptionResourceTypeId.APPROVAL_FLOW)
  *             .build()
  * 
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionBuilder.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionBuilder.java index 9ab1ffa44b4..e79e44c9cf0 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionBuilder.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionBuilder.java @@ -15,7 +15,7 @@ *
*

  *     MessageSubscription messageSubscription = MessageSubscription.builder()
- *             .resourceTypeId(MessageSubscriptionResourceTypeId.ASSOCIATE_ROLE)
+ *             .resourceTypeId(MessageSubscriptionResourceTypeId.APPROVAL_FLOW)
  *             .build()
  * 
*
diff --git a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionResourceTypeId.java b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionResourceTypeId.java index 1b353bd8460..09331050bc4 100644 --- a/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionResourceTypeId.java +++ b/commercetools/commercetools-sdk-java-api/src/main/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionResourceTypeId.java @@ -16,6 +16,16 @@ @Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen") public interface MessageSubscriptionResourceTypeId extends JsonEnum { + /** +

Messages related to ApprovalFlows.

+ + */ + MessageSubscriptionResourceTypeId APPROVAL_FLOW = MessageSubscriptionResourceTypeIdEnum.APPROVAL_FLOW; + /** +

Messages related to ApprovalRules.

+ + */ + MessageSubscriptionResourceTypeId APPROVAL_RULE = MessageSubscriptionResourceTypeIdEnum.APPROVAL_RULE; /**

Messages related to AssociateRoles.

@@ -111,6 +121,16 @@ public interface MessageSubscriptionResourceTypeId extends JsonEnum { * possible values of MessageSubscriptionResourceTypeId */ enum MessageSubscriptionResourceTypeIdEnum implements MessageSubscriptionResourceTypeId { + /** + * approval-flow + */ + APPROVAL_FLOW("approval-flow"), + + /** + * approval-rule + */ + APPROVAL_RULE("approval-rule"), + /** * associate-role */ diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededErrorTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededErrorTest.java index d9818870376..0740e5f1dfb 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededErrorTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLMaxResourceLimitExceededErrorTest.java @@ -26,14 +26,14 @@ public void buildUnchecked(GraphQLMaxResourceLimitExceededErrorBuilder builder) @DataProvider public static Object[][] objectBuilder() { return new Object[][] { new Object[] { GraphQLMaxResourceLimitExceededError.builder() - .exceededResource(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")) } }; + .exceededResource(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")) } }; } @Test public void exceededResource() { GraphQLMaxResourceLimitExceededError value = GraphQLMaxResourceLimitExceededError.of(); - value.setExceededResource(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")); + value.setExceededResource(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")); Assertions.assertThat(value.getExceededResource()) - .isEqualTo(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")); + .isEqualTo(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")); } } diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLReferenceExistsErrorTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLReferenceExistsErrorTest.java index bb756cb6475..ddd7747d11e 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLReferenceExistsErrorTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLReferenceExistsErrorTest.java @@ -25,14 +25,14 @@ public void buildUnchecked(GraphQLReferenceExistsErrorBuilder builder) { @DataProvider public static Object[][] objectBuilder() { return new Object[][] { new Object[] { GraphQLReferenceExistsError.builder() - .referencedBy(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")) } }; + .referencedBy(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")) } }; } @Test public void referencedBy() { GraphQLReferenceExistsError value = GraphQLReferenceExistsError.of(); - value.setReferencedBy(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")); + value.setReferencedBy(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")); Assertions.assertThat(value.getReferencedBy()) - .isEqualTo(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")); + .isEqualTo(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")); } } diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundErrorTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundErrorTest.java index f6a5015bb73..6a6d8ec36a3 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundErrorTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/GraphQLReferencedResourceNotFoundErrorTest.java @@ -27,7 +27,7 @@ public void buildUnchecked(GraphQLReferencedResourceNotFoundErrorBuilder builder public static Object[][] objectBuilder() { return new Object[][] { new Object[] { GraphQLReferencedResourceNotFoundError.builder() - .typeId(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")) }, + .typeId(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")) }, new Object[] { GraphQLReferencedResourceNotFoundError.builder().id("id") }, new Object[] { GraphQLReferencedResourceNotFoundError.builder().key("key") } }; } @@ -35,9 +35,9 @@ public static Object[][] objectBuilder() { @Test public void typeId() { GraphQLReferencedResourceNotFoundError value = GraphQLReferencedResourceNotFoundError.of(); - value.setTypeId(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")); + value.setTypeId(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")); Assertions.assertThat(value.getTypeId()) - .isEqualTo(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")); + .isEqualTo(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")); } @Test diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededErrorTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededErrorTest.java index e0538cf35db..bf7dbd0c59a 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededErrorTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/MaxResourceLimitExceededErrorTest.java @@ -27,7 +27,7 @@ public static Object[][] objectBuilder() { return new Object[][] { new Object[] { MaxResourceLimitExceededError.builder().message("message") }, new Object[] { MaxResourceLimitExceededError.builder() .exceededResource( - com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")) } }; + com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")) } }; } @Test @@ -40,8 +40,8 @@ public void message() { @Test public void exceededResource() { MaxResourceLimitExceededError value = MaxResourceLimitExceededError.of(); - value.setExceededResource(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")); + value.setExceededResource(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")); Assertions.assertThat(value.getExceededResource()) - .isEqualTo(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")); + .isEqualTo(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")); } } diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/ReferenceExistsErrorTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/ReferenceExistsErrorTest.java index 9ba489ac82d..605a97513cd 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/ReferenceExistsErrorTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/ReferenceExistsErrorTest.java @@ -27,7 +27,7 @@ public static Object[][] objectBuilder() { return new Object[][] { new Object[] { ReferenceExistsError.builder().message("message") }, new Object[] { ReferenceExistsError.builder() .referencedBy( - com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")) } }; + com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")) } }; } @Test @@ -40,8 +40,8 @@ public void message() { @Test public void referencedBy() { ReferenceExistsError value = ReferenceExistsError.of(); - value.setReferencedBy(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")); + value.setReferencedBy(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")); Assertions.assertThat(value.getReferencedBy()) - .isEqualTo(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")); + .isEqualTo(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")); } } diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundErrorTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundErrorTest.java index 78f241b3a82..91c64d612dc 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundErrorTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/error/ReferencedResourceNotFoundErrorTest.java @@ -26,7 +26,7 @@ public void buildUnchecked(ReferencedResourceNotFoundErrorBuilder builder) { public static Object[][] objectBuilder() { return new Object[][] { new Object[] { ReferencedResourceNotFoundError.builder().message("message") }, new Object[] { ReferencedResourceNotFoundError.builder() - .typeId(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")) }, + .typeId(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")) }, new Object[] { ReferencedResourceNotFoundError.builder().id("id") }, new Object[] { ReferencedResourceNotFoundError.builder().key("key") } }; } @@ -41,9 +41,9 @@ public void message() { @Test public void typeId() { ReferencedResourceNotFoundError value = ReferencedResourceNotFoundError.of(); - value.setTypeId(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")); + value.setTypeId(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")); Assertions.assertThat(value.getTypeId()) - .isEqualTo(com.commercetools.api.models.common.ReferenceTypeId.findEnum("associate-role")); + .isEqualTo(com.commercetools.api.models.common.ReferenceTypeId.findEnum("approval-flow")); } @Test diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionTest.java index c1e4dd13e8d..8cd946f892f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/subscription/ChangeSubscriptionTest.java @@ -26,16 +26,16 @@ public void buildUnchecked(ChangeSubscriptionBuilder builder) { public static Object[][] objectBuilder() { return new Object[][] { new Object[] { ChangeSubscription.builder() .resourceTypeId(com.commercetools.api.models.subscription.ChangeSubscriptionResourceTypeId - .findEnum("associate-role")) } }; + .findEnum("approval-flow")) } }; } @Test public void resourceTypeId() { ChangeSubscription value = ChangeSubscription.of(); value.setResourceTypeId( - com.commercetools.api.models.subscription.ChangeSubscriptionResourceTypeId.findEnum("associate-role")); + com.commercetools.api.models.subscription.ChangeSubscriptionResourceTypeId.findEnum("approval-flow")); Assertions.assertThat(value.getResourceTypeId()) .isEqualTo(com.commercetools.api.models.subscription.ChangeSubscriptionResourceTypeId - .findEnum("associate-role")); + .findEnum("approval-flow")); } } diff --git a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionTest.java b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionTest.java index 7b1484e2dd5..65ddf1b172f 100644 --- a/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionTest.java +++ b/commercetools/commercetools-sdk-java-api/src/test/java-generated/com/commercetools/api/models/subscription/MessageSubscriptionTest.java @@ -29,7 +29,7 @@ public static Object[][] objectBuilder() { return new Object[][] { new Object[] { MessageSubscription.builder() .resourceTypeId(com.commercetools.api.models.subscription.MessageSubscriptionResourceTypeId - .findEnum("associate-role")) }, + .findEnum("approval-flow")) }, new Object[] { MessageSubscription.builder().types(Collections.singletonList("types")) } }; } @@ -37,10 +37,10 @@ public static Object[][] objectBuilder() { public void resourceTypeId() { MessageSubscription value = MessageSubscription.of(); value.setResourceTypeId( - com.commercetools.api.models.subscription.MessageSubscriptionResourceTypeId.findEnum("associate-role")); + com.commercetools.api.models.subscription.MessageSubscriptionResourceTypeId.findEnum("approval-flow")); Assertions.assertThat(value.getResourceTypeId()) .isEqualTo(com.commercetools.api.models.subscription.MessageSubscriptionResourceTypeId - .findEnum("associate-role")); + .findEnum("approval-flow")); } @Test diff --git a/references.txt b/references.txt index 4e09c3bbb08..9b053471b7f 100644 --- a/references.txt +++ b/references.txt @@ -130,3 +130,4 @@ cfb34c1d1b7549d9bfe759d13ca9357646371e72 00ec1791c7297ecf203797bcfe02ebad5c9c9a64 da5022ed759c0ebb3b80c15eb62488c7584dfeba b25b7cc02df72845f3045528120267d1b6330e0a +8e6bc39ae805ea9d9f046fb70734980f82bbb272