Skip to content

Commit

Permalink
Merge pull request #505 from commercetools/gen-sdk-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
jenschude authored Oct 12, 2023
2 parents 22f89c2 + 23ce144 commit 76f7e8d
Show file tree
Hide file tree
Showing 1,006 changed files with 2,794 additions and 1,275 deletions.
25 changes: 8 additions & 17 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,29 +1,20 @@
**Api changes**

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

- :warning: changed response body for `200: application/json` of method `get /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-rules` from type `<<resourceQueryType>>` to `ApprovalRulePagedQueryResponse`
- :warning: changed response body for `200: application/json` of method `get /{projectKey}/as-associate/{associateId}/in-business-unit/key={businessUnitKey}/approval-flows` from type `<<resourceQueryType>>` to `ApprovalFlowPagedQueryResponse`
- added enum `customer-email-token` to type `ReferenceTypeId`
- added enum `customer-password-token` to type `ReferenceTypeId`
- added enum `customer-email-token` to type `MessageSubscriptionResourceTypeId`
- added enum `customer-group` to type `MessageSubscriptionResourceTypeId`
- added enum `customer-password-token` to type `MessageSubscriptionResourceTypeId`
</details>


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

- added type `ApprovalFlowPagedQueryResponse`
- added type `ApprovalRulePagedQueryResponse`
- added type `CustomerEmailTokenCreatedMessage`
- added type `CustomerPasswordTokenCreatedMessage`
- added type `CustomerEmailTokenCreatedMessagePayload`
- added type `CustomerPasswordTokenCreatedMessagePayload`
</details>

**Import changes**

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

- added property `product` to type `ProductVariantPatch`
- added type `CustomerEmailTokenReference`
- added type `CustomerPasswordTokenReference`
</details>

Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ByProjectKeyApiClientsByIDDelete
extends ApiMethod<ByProjectKeyApiClientsByIDDelete, com.commercetools.api.models.api_client.ApiClient>
extends TypeApiMethod<ByProjectKeyApiClientsByIDDelete, com.commercetools.api.models.api_client.ApiClient>
implements com.commercetools.api.client.ErrorableTrait<ByProjectKeyApiClientsByIDDelete>,
com.commercetools.api.client.Deprecatable200Trait<ByProjectKeyApiClientsByIDDelete> {

@Override
public TypeReference<com.commercetools.api.models.api_client.ApiClient> resultType() {
return new TypeReference<com.commercetools.api.models.api_client.ApiClient>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,11 @@
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ByProjectKeyApiClientsByIDGet
extends ApiMethod<ByProjectKeyApiClientsByIDGet, com.commercetools.api.models.api_client.ApiClient>
extends TypeApiMethod<ByProjectKeyApiClientsByIDGet, com.commercetools.api.models.api_client.ApiClient>
implements com.commercetools.api.client.ErrorableTrait<ByProjectKeyApiClientsByIDGet>,
com.commercetools.api.client.Deprecatable200Trait<ByProjectKeyApiClientsByIDGet> {

@Override
public TypeReference<com.commercetools.api.models.api_client.ApiClient> resultType() {
return new TypeReference<com.commercetools.api.models.api_client.ApiClient>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ByProjectKeyApiClientsGet extends
ApiMethod<ByProjectKeyApiClientsGet, com.commercetools.api.models.api_client.ApiClientPagedQueryResponse>
TypeApiMethod<ByProjectKeyApiClientsGet, com.commercetools.api.models.api_client.ApiClientPagedQueryResponse>
implements ByProjectKeyApiClientsGetMixin,
com.commercetools.api.client.ExpandableTrait<ByProjectKeyApiClientsGet>,
com.commercetools.api.client.SortableTrait<ByProjectKeyApiClientsGet>,
Expand All @@ -44,6 +44,7 @@ public class ByProjectKeyApiClientsGet extends
com.commercetools.api.client.ErrorableTrait<ByProjectKeyApiClientsGet>,
com.commercetools.api.client.Deprecatable200Trait<ByProjectKeyApiClientsGet> {

@Override
public TypeReference<com.commercetools.api.models.api_client.ApiClientPagedQueryResponse> resultType() {
return new TypeReference<com.commercetools.api.models.api_client.ApiClientPagedQueryResponse>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,12 @@
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ByProjectKeyApiClientsPost extends
BodyApiMethod<ByProjectKeyApiClientsPost, com.commercetools.api.models.api_client.ApiClient, com.commercetools.api.models.api_client.ApiClientDraft>
TypeBodyApiMethod<ByProjectKeyApiClientsPost, com.commercetools.api.models.api_client.ApiClient, com.commercetools.api.models.api_client.ApiClientDraft>
implements com.commercetools.api.client.ExpandableTrait<ByProjectKeyApiClientsPost>,
com.commercetools.api.client.Deprecatable201Trait<ByProjectKeyApiClientsPost>,
com.commercetools.api.client.ErrorableTrait<ByProjectKeyApiClientsPost> {

@Override
public TypeReference<com.commercetools.api.models.api_client.ApiClient> resultType() {
return new TypeReference<com.commercetools.api.models.api_client.ApiClient>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ public class ByProjectKeyApiClientsPostString
com.commercetools.api.client.Deprecatable201Trait<ByProjectKeyApiClientsPostString>,
com.commercetools.api.client.ErrorableTrait<ByProjectKeyApiClientsPostString> {

@Override
public TypeReference<com.commercetools.api.models.api_client.ApiClient> resultType() {
return new TypeReference<com.commercetools.api.models.api_client.ApiClient>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,13 @@
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet extends
ApiMethod<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet, com.commercetools.api.models.business_unit.BusinessUnit>
TypeApiMethod<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet, com.commercetools.api.models.business_unit.BusinessUnit>
implements
com.commercetools.api.client.ExpandableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet>,
com.commercetools.api.client.ErrorableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet>,
com.commercetools.api.client.Deprecatable200Trait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDGet> {

@Override
public TypeReference<com.commercetools.api.models.business_unit.BusinessUnit> resultType() {
return new TypeReference<com.commercetools.api.models.business_unit.BusinessUnit>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost extends
BodyApiMethod<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost, com.commercetools.api.models.business_unit.BusinessUnit, com.commercetools.api.models.business_unit.BusinessUnitUpdate>
TypeBodyApiMethod<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost, com.commercetools.api.models.business_unit.BusinessUnit, com.commercetools.api.models.business_unit.BusinessUnitUpdate>
implements
com.commercetools.api.client.ConflictingTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost>,
com.commercetools.api.client.ExpandableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost>,
com.commercetools.api.client.Deprecatable200Trait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost>,
com.commercetools.api.client.ErrorableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPost> {

@Override
public TypeReference<com.commercetools.api.models.business_unit.BusinessUnit> resultType() {
return new TypeReference<com.commercetools.api.models.business_unit.BusinessUnit>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public class ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPostString ext
com.commercetools.api.client.Deprecatable200Trait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPostString>,
com.commercetools.api.client.ErrorableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsByIDPostString> {

@Override
public TypeReference<com.commercetools.api.models.business_unit.BusinessUnit> resultType() {
return new TypeReference<com.commercetools.api.models.business_unit.BusinessUnit>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet extends
ApiMethod<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet, com.commercetools.api.models.business_unit.BusinessUnitPagedQueryResponse>
TypeApiMethod<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet, com.commercetools.api.models.business_unit.BusinessUnitPagedQueryResponse>
implements ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGetMixin,
com.commercetools.api.client.ExpandableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet>,
com.commercetools.api.client.SortableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet>,
Expand All @@ -46,6 +46,7 @@ public class ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet extends
com.commercetools.api.client.ErrorableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet>,
com.commercetools.api.client.Deprecatable200Trait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsGet> {

@Override
public TypeReference<com.commercetools.api.models.business_unit.BusinessUnitPagedQueryResponse> resultType() {
return new TypeReference<com.commercetools.api.models.business_unit.BusinessUnitPagedQueryResponse>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,12 +38,13 @@
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyGet extends
ApiMethod<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyGet, com.commercetools.api.models.business_unit.BusinessUnit>
TypeApiMethod<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyGet, com.commercetools.api.models.business_unit.BusinessUnit>
implements
com.commercetools.api.client.ExpandableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyGet>,
com.commercetools.api.client.ErrorableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyGet>,
com.commercetools.api.client.Deprecatable200Trait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyGet> {

@Override
public TypeReference<com.commercetools.api.models.business_unit.BusinessUnit> resultType() {
return new TypeReference<com.commercetools.api.models.business_unit.BusinessUnit>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,13 +38,14 @@
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost extends
BodyApiMethod<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost, com.commercetools.api.models.business_unit.BusinessUnit, com.commercetools.api.models.business_unit.BusinessUnitUpdate>
TypeBodyApiMethod<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost, com.commercetools.api.models.business_unit.BusinessUnit, com.commercetools.api.models.business_unit.BusinessUnitUpdate>
implements
com.commercetools.api.client.ConflictingTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost>,
com.commercetools.api.client.ExpandableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost>,
com.commercetools.api.client.Deprecatable200Trait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost>,
com.commercetools.api.client.ErrorableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPost> {

@Override
public TypeReference<com.commercetools.api.models.business_unit.BusinessUnit> resultType() {
return new TypeReference<com.commercetools.api.models.business_unit.BusinessUnit>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ public class ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPostString
com.commercetools.api.client.Deprecatable200Trait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPostString>,
com.commercetools.api.client.ErrorableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsKeyByKeyPostString> {

@Override
public TypeReference<com.commercetools.api.models.business_unit.BusinessUnit> resultType() {
return new TypeReference<com.commercetools.api.models.business_unit.BusinessUnit>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,12 @@
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost extends
BodyApiMethod<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost, com.commercetools.api.models.business_unit.BusinessUnit, com.commercetools.api.models.business_unit.BusinessUnitDraft>
TypeBodyApiMethod<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost, com.commercetools.api.models.business_unit.BusinessUnit, com.commercetools.api.models.business_unit.BusinessUnitDraft>
implements com.commercetools.api.client.ExpandableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost>,
com.commercetools.api.client.Deprecatable201Trait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost>,
com.commercetools.api.client.ErrorableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPost> {

@Override
public TypeReference<com.commercetools.api.models.business_unit.BusinessUnit> resultType() {
return new TypeReference<com.commercetools.api.models.business_unit.BusinessUnit>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ public class ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPostString extends
com.commercetools.api.client.Deprecatable201Trait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPostString>,
com.commercetools.api.client.ErrorableTrait<ByProjectKeyAsAssociateByAssociateIdBusinessUnitsPostString> {

@Override
public TypeReference<com.commercetools.api.models.business_unit.BusinessUnit> resultType() {
return new TypeReference<com.commercetools.api.models.business_unit.BusinessUnit>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,13 @@
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDGet extends
ApiMethod<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDGet, com.commercetools.api.models.approval_flow.ApprovalFlow>
TypeApiMethod<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDGet, com.commercetools.api.models.approval_flow.ApprovalFlow>
implements
com.commercetools.api.client.ExpandableTrait<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDGet>,
com.commercetools.api.client.ErrorableTrait<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDGet>,
com.commercetools.api.client.Deprecatable200Trait<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDGet> {

@Override
public TypeReference<com.commercetools.api.models.approval_flow.ApprovalFlow> resultType() {
return new TypeReference<com.commercetools.api.models.approval_flow.ApprovalFlow>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,14 @@
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDPost extends
BodyApiMethod<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDPost, com.commercetools.api.models.approval_flow.ApprovalFlow, com.commercetools.api.models.approval_flow.ApprovalFlowUpdate>
TypeBodyApiMethod<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDPost, com.commercetools.api.models.approval_flow.ApprovalFlow, com.commercetools.api.models.approval_flow.ApprovalFlowUpdate>
implements
com.commercetools.api.client.ConflictingTrait<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDPost>,
com.commercetools.api.client.ExpandableTrait<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDPost>,
com.commercetools.api.client.Deprecatable200Trait<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDPost>,
com.commercetools.api.client.ErrorableTrait<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDPost> {

@Override
public TypeReference<com.commercetools.api.models.approval_flow.ApprovalFlow> resultType() {
return new TypeReference<com.commercetools.api.models.approval_flow.ApprovalFlow>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ public class ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnit
com.commercetools.api.client.Deprecatable200Trait<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDPostString>,
com.commercetools.api.client.ErrorableTrait<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsByIDPostString> {

@Override
public TypeReference<com.commercetools.api.models.approval_flow.ApprovalFlow> resultType() {
return new TypeReference<com.commercetools.api.models.approval_flow.ApprovalFlow>() {
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
*/
@Generated(value = "io.vrap.rmf.codegen.rendering.CoreCodeGenerator", comments = "https://github.com/commercetools/rmf-codegen")
public class ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet extends
ApiMethod<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet, com.commercetools.api.models.approval_flow.ApprovalFlowPagedQueryResponse>
TypeApiMethod<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet, com.commercetools.api.models.approval_flow.ApprovalFlowPagedQueryResponse>
implements
com.commercetools.api.client.ExpandableTrait<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet>,
com.commercetools.api.client.SortableTrait<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet>,
Expand All @@ -47,6 +47,7 @@ public class ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnit
com.commercetools.api.client.ErrorableTrait<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet>,
com.commercetools.api.client.Deprecatable200Trait<ByProjectKeyAsAssociateByAssociateIdInBusinessUnitKeyByBusinessUnitKeyApprovalFlowsGet> {

@Override
public TypeReference<com.commercetools.api.models.approval_flow.ApprovalFlowPagedQueryResponse> resultType() {
return new TypeReference<com.commercetools.api.models.approval_flow.ApprovalFlowPagedQueryResponse>() {
};
Expand Down
Loading

0 comments on commit 76f7e8d

Please sign in to comment.