Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
46 changes: 46 additions & 0 deletions changes.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,58 @@
**Api changes**

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

- :warning: changed type `DeliveryPayload` from type `object` to `SubscriptionNotification`
</details>


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

- added type `BusinessUnitSetUnitTypeAction`
- added type `BaseEvent`
- added type `Event`
- added type `ImportContainerCreatedEvent`
- added type `ImportContainerCreatedEventData`
- added type `ImportContainerDeletedEvent`
- added type `ImportContainerDeletedEventData`
- added type `ImportOperationRejectedEvent`
- added type `ImportOperationRejectedEventData`
- added type `ImportUnresolvedEvent`
- added type `ImportUnresolvedEventData`
- added type `ImportValidationFailedEvent`
- added type `ImportValidationFailedEventData`
- added type `ImportWaitForMasterVariantEvent`
- added type `ImportWaitForMasterVariantEventData`
- added type `BusinessUnitTopLevelUnitSetMessage`
- added type `BusinessUnitTypeSetMessage`
- added type `BusinessUnitTopLevelUnitSetMessagePayload`
- added type `BusinessUnitTypeSetMessagePayload`
- added type `EventDeliveryPayload`
- added type `EventSubscription`
- added type `EventSubscriptionResourceTypeId`
- added type `EventType`
- added type `SubscriptionNotification`
- added type `SubscriptionSetEventsAction`
</details>


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

- changed property `facets` of type `ProductProjectionPagedSearchResponse` to be optional
</details>


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

- added property `events` to type `Subscription`
- added property `events` to type `SubscriptionDraft`
</details>


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

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1667,11 +1667,31 @@ type BusinessUnitStoresSet implements MessagePayload {
type: String!
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
type BusinessUnitTopLevelUnitSet implements MessagePayload {
oldTopLevelUnit: BusinessUnit!
topLevelUnit: BusinessUnit!
oldTopLevelUnitRef: KeyReference
topLevelUnitRef: KeyReference
type: String!
}

enum BusinessUnitType {
Company
Division
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
type BusinessUnitTypeSet implements MessagePayload {
oldUnitType: BusinessUnitType!
unitType: BusinessUnitType!
parentUnit: BusinessUnit
oldParentUnit: BusinessUnit
parentUnitRef: KeyReference
oldParentUnitRef: KeyReference
type: String!
}

input BusinessUnitUpdateAction {
addAddress: AddBusinessUnitAddress
addAssociate: AddBusinessUnitAssociate
Expand Down Expand Up @@ -1700,6 +1720,9 @@ input BusinessUnitUpdateAction {
setStoreMode: SetBusinessUnitStoreMode
changeAssociateMode: ChangeBusinessUnitAssociateMode
changeApprovalRuleMode: ChangeBusinessUnitApprovalRuleMode

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
setUnitType: SetBusinessUnitUnitType
}

input CancelQuoteRequest {
Expand Down Expand Up @@ -10872,6 +10895,12 @@ input SetBusinessUnitStores {
stores: [ResourceIdentifierInput!]!
}

"BETA: This feature can be subject to change and should be used carefully in production. https://docs.commercetools.com/api/contract#public-beta"
input SetBusinessUnitUnitType {
unitType: BusinessUnitType!
parentUnit: ResourceIdentifierInput
}

input SetCartAnonymousId {
anonymousId: String
}
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 an API Client exists for a given <code>id</code>. Returns a <code>200 OK</code> status if the API Client exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if an API Client exists with the provided <code>id</code>. Returns a <code>200 OK</code> status if the API Client exists or a <code>404 Not Found</code> 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 an API Client exists for a given Query Predicate. Returns a <code>200 OK</code> status if any API Clients match the Query Predicate or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if an API Client exists for the provided query predicate. Returns a <code>200 OK</code> status if any API Clients match the query predicate, or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
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 BusinessUnit exists for a given <code>id</code>. Returns a <code>200 OK</code> status if the BusinessUnit exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a BusinessUnit exists with the provided <code>id</code>. Returns a <code>200 OK</code> status if the BusinessUnit exists or a <code>404 Not Found</code> 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 BusinessUnit exists for a given Query Predicate. Returns a <code>200 OK</code> status if any BusinessUnits match the Query Predicate or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if one or more BusinessUnits exist for the provided query predicate. Returns a <code>200 OK</code> status if any BusinessUnits match the query predicate, or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
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 BusinessUnit exists for a given <code>key</code>. Returns a <code>200 OK</code> status if the BusinessUnit exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a BusinessUnit exists with the provided <code>key</code>. Returns a <code>200 OK</code> status if the BusinessUnit exists or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
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 with the provided <code>id</code>. Returns a <code>200 OK</code> status if the Cart exists or Not Found 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 one or more Carts exist for the provided 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>
*
* <hr>
* <div class=code-example>
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 with the provided <code>key</code>. Returns a <code>200 OK</code> status if the Cart exists or Not Found otherwise.</p>
*
* <hr>
* <div class=code-example>
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 an Order exists for a given <code>id</code>. Returns a <code>200 OK</code> status if the Order exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if an Order exists with the provided <code>id</code>. Returns a <code>200 OK</code> status if the Order exists or a <code>404 Not Found</code> 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 an Order exists for a given Query Predicate. Returns a <code>200 OK</code> status if any Orders match the Query Predicate or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if one or more Orders exist for the provided query predicate. Returns a <code>200 OK</code> status if any Orders match the query predicate, or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
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 QuoteRequest exists for a given <code>id</code>. Returns a <code>200 OK</code> status if the QuoteRequest exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a QuoteRequest exists with the provided <code>id</code>. Returns a <code>200 OK</code> status if the QuoteRequest exists or a <code>404 Not Found</code> 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 QuoteRequest exists for a given Query Predicate. Returns a <code>200 OK</code> status if any QuoteRequests match the Query Predicate or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if one or more QuoteRequests exist for the provided query predicate. Returns a <code>200 OK</code> status if any QuoteRequests match the query predicate, or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
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 QuoteRequest exists for a given <code>key</code>. Returns a <code>200 OK</code> status if the QuoteRequest exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a QuoteRequest exists with the provided <code>key</code>. Returns a <code>200 OK</code> status if the QuoteRequest exists or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
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 Quote exists for a given <code>id</code>. Returns a <code>200 OK</code> status if the Quote exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a Quote exists with the provided <code>id</code>. Returns a <code>200 OK</code> status if the Quote exists or a <code>404 Not Found</code> 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 Quote exists for a given Query Predicate. Returns a <code>200 OK</code> status if any Quotes match the Query Predicate or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if one or more Quotes exist for the provided query predicate. Returns a <code>200 OK</code> status if any Quotes match the query predicate, or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
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 Quote exists for a given <code>key</code>. Returns a <code>200 OK</code> status if the Quote exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a Quote exists with the provided <code>key</code>. Returns a <code>200 OK</code> status if the Quote exists or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
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 ShoppingList exists for a given <code>id</code>. Returns a <code>200 OK</code> if the ShoppingList exists; otherwise, returns a ResourceNotFound error.</p>
* <p>Checks if a ShoppingList exists with the provided <code>id</code>. Returns a <code>200 OK</code> if the ShoppingList exists; otherwise, 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 ShoppingList exists for a given Query Predicate. Returns a <code>200 OK</code> if any ShoppingLists match the Query Predicate; otherwise, returns a ResourceNotFound error.</p>
* <p>Checks if one or more ShoppingLists exist for the provided query predicate. Returns a <code>200 OK</code> if any ShoppingLists match the Query Predicate; otherwise, returns a ResourceNotFound error.</p>
*
* <hr>
* <div class=code-example>
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 ShoppingList exists for a given <code>key</code>. Returns a <code>200 OK</code> if the ShoppingList exists; otherwise, returns a ResourceNotFound error.</p>
* <p>Checks if a ShoppingList exists with the provided <code>key</code>. Returns a <code>200 OK</code> if the ShoppingList exists; otherwise, returns a ResourceNotFound error.</p>
*
* <hr>
* <div class=code-example>
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 an AssociateRole exists for a given <code>id</code>. Returns a <code>200 OK</code> status if the AssociateRole exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if an AssociateRole exists with the provided <code>id</code>. Returns a <code>200 OK</code> status if the AssociateRole exists or a <code>404 Not Found</code> 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 an AssociateRole exists for a given Query Predicate. Returns a <code>200 OK</code> status if any AssociateRole match the Query Predicate or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if one or more AssociateRoles exist for the provided query predicate. Returns a <code>200 OK</code> status if any AssociateRole match the query predicate, or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
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 an AssociateRole exists for a given <code>key</code>. Returns a <code>200 OK</code> status if the AssociateRole exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if an AssociateRole exists with the provided <code>key</code>. Returns a <code>200 OK</code> status if the AssociateRole exists or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
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 an AttributeGroup exists for a given <code>id</code>. Returns a <code>200 OK</code> status if the AttributeGroup exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if an AttributeGroup exists with the provided <code>id</code>. Returns a <code>200 OK</code> status if the AttributeGroup exists or a <code>404 Not Found</code> 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 an AttributeGroup exists for a given Query Predicate. Returns <code>200 OK</code> status if any AttributeGroups match the Query Predicate or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if one or more AttributeGroups exist for the provided query predicate. Returns <code>200 OK</code> status if any AttributeGroups match the query predicate, or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
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 an AttributeGroup exists for a given <code>key</code>. Returns <code>200 OK</code> status if the AttributeGroup exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if an AttributeGroup exists with the provided <code>key</code>. Returns <code>200 OK</code> status if the AttributeGroup exists or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
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 BusinessUnit exists for a given <code>id</code>. Returns a <code>200 OK</code> status if the BusinessUnit exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a BusinessUnit exists with the provided <code>id</code>. Returns a <code>200 OK</code> status if the BusinessUnit exists or a <code>404 Not Found</code> 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 BusinessUnit exists for a given Query Predicate. Returns a <code>200 OK</code> status if any BusinessUnits match the Query Predicate or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if one or more BusinessUnits exist for the provided query predicate. Returns a <code>200 OK</code> status if any BusinessUnits match the query predicate, or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
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 BusinessUnit exists for a given <code>key</code>. Returns a <code>200 OK</code> status if the BusinessUnit exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a BusinessUnit exists with the provided <code>key</code>. Returns a <code>200 OK</code> status if the BusinessUnit exists or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
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 CartDiscount exists for a given <code>id</code>. Returns a <code>200 OK</code> status if the CartDiscount exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a CartDiscount exists with the provided <code>id</code>. Returns a <code>200 OK</code> status if the CartDiscount exists or a <code>404 Not Found</code> 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 CartDiscount exists for a given Query Predicate. Returns a <code>200 OK</code> status if any CartDiscounts match the Query Predicate, or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if one or more CartDiscounts exist for the provided query predicate. Returns a <code>200 OK</code> status if any CartDiscounts match the query predicate, or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
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 CartDiscount exists for a given <code>key</code>. Returns a <code>200 OK</code> status if the CartDiscount exists or a <code>404 Not Found</code> otherwise.</p>
* <p>Checks if a CartDiscount exists with the provided <code>key</code>. Returns a <code>200 OK</code> status if the CartDiscount exists or a <code>404 Not Found</code> otherwise.</p>
*
* <hr>
* <div class=code-example>
Expand Down
Loading