-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated API from documentation release
- Loading branch information
Auto Mation
committed
Sep 18, 2023
1 parent
32305f5
commit 36d1783
Showing
44 changed files
with
239 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
api-specs/api/types/message/CustomerGroupCustomFieldAddedMessage.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#%RAML 1.0 DataType | ||
(package): Message | ||
(docs-uri): https://docs.commercetools.com/api/projects/messages#customer-group-custom-field-added | ||
type: Message | ||
displayName: CustomerGroupCustomFieldAddedMessage | ||
discriminatorValue: CustomerGroupCustomFieldAdded | ||
description: | | ||
Generated after adding a Custom Field to a Customer Group using the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action. | ||
If a Custom Field already exists with the same name, a [CustomerGroupCustomFieldChanged](ctp:api:type:CustomerGroupCustomFieldChangedMessage) Message is generated instead. | ||
properties: | ||
name: | ||
type: string | ||
description: | | ||
Name of the Custom Field that was added. | ||
value: | ||
type: CustomFieldValue | ||
description: The added [CustomFieldValue](ctp:api:type:CustomFieldValue) based on the [FieldType](ctp:api:type:FieldType). |
21 changes: 21 additions & 0 deletions
21
api-specs/api/types/message/CustomerGroupCustomFieldChangedMessage.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#%RAML 1.0 DataType | ||
(package): Message | ||
(docs-uri): https://docs.commercetools.com/api/projects/messages#customer-group-custom-field-changed | ||
type: Message | ||
displayName: CustomerGroupCustomFieldChangedMessage | ||
discriminatorValue: CustomerGroupCustomFieldChanged | ||
description: | | ||
Generated after changing an existing Custom Field on a Customer Group using the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action. | ||
properties: | ||
name: | ||
type: string | ||
description: | | ||
Name of the Custom Field that changed. | ||
value: | ||
type: CustomFieldValue | ||
description: | | ||
[CustomFieldValue](ctp:api:type:CustomFieldValue) based on the [FieldType](ctp:api:type:FieldType) after the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action. | ||
oldValue?: | ||
type: CustomFieldValue | ||
description: | | ||
[CustomFieldValue](ctp:api:type:CustomFieldValue) based on the [FieldType](ctp:api:type:FieldType) before the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action. |
13 changes: 13 additions & 0 deletions
13
api-specs/api/types/message/CustomerGroupCustomFieldRemovedMessage.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#%RAML 1.0 DataType | ||
(package): Message | ||
(docs-uri): https://docs.commercetools.com/api/projects/messages#customer-group-custom-field-removed | ||
type: Message | ||
displayName: CustomerGroupCustomFieldRemovedMessage | ||
discriminatorValue: CustomerGroupCustomFieldRemoved | ||
description: | | ||
Generated after removing a Custom Field from a Customer Group using the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action. | ||
properties: | ||
name: | ||
type: string | ||
description: | | ||
Name of the Custom Field that was removed. |
13 changes: 13 additions & 0 deletions
13
api-specs/api/types/message/CustomerGroupCustomTypeRemovedMessage.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#%RAML 1.0 DataType | ||
(package): Message | ||
(docs-uri): https://docs.commercetools.com/api/projects/messages#customer-group-custom-type-removed | ||
type: Message | ||
displayName: CustomerGroupCustomTypeRemovedMessage | ||
discriminatorValue: CustomerGroupCustomTypeRemoved | ||
description: | | ||
Generated after removing a Custom Type from a Customer Group using the [Set Custom Type](ctp:api:type:CustomerGroupSetCustomTypeAction) update action with empty parameters. | ||
properties: | ||
oldTypeId?: | ||
type: string | ||
description: | | ||
`id` of the [Custom Type](ctp:api:type:Type) that was removed. Absent if there was no previous Custom Type present. |
16 changes: 16 additions & 0 deletions
16
api-specs/api/types/message/CustomerGroupCustomTypeSetMessage.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
#%RAML 1.0 DataType | ||
(package): Message | ||
(docs-uri): https://docs.commercetools.com/api/projects/messages#customer-group-custom-type-set | ||
type: Message | ||
displayName: CustomerGroupCustomTypeSetMessage | ||
discriminatorValue: CustomerGroupCustomTypeSet | ||
description: | | ||
Generated after adding a Custom Type to a Customer Group using the [Set Custom Type](ctp:api:type:CustomerGroupSetCustomTypeAction) update action. | ||
properties: | ||
customFields: | ||
type: CustomFields | ||
description: The Custom Fields that have been set. | ||
oldTypeId?: | ||
type: string | ||
description: | | ||
`id` of the previous [Custom Type](ctp:api:type:Type). Absent if there was no previous Custom Type present. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
api-specs/api/types/message/payload/CustomerGroupCustomFieldAddedMessagePayload.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#%RAML 1.0 DataType | ||
(package): Message | ||
(docs-uri): https://docs.commercetools.com/api/projects/messages#customer-group-custom-field-added | ||
type: MessagePayload | ||
displayName: CustomerGroupCustomFieldAddedMessagePayload | ||
discriminatorValue: CustomerGroupCustomFieldAdded | ||
description: | | ||
Generated after adding a Custom Field to a Customer Group using the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action. | ||
If a Custom Field already exists with the same name, a [CustomerGroupCustomFieldChanged](ctp:api:type:CustomerGroupCustomFieldChangedMessage) Message is generated instead. | ||
properties: | ||
name: | ||
type: string | ||
description: | | ||
Name of the Custom Field that was added. | ||
value: | ||
type: CustomFieldValue | ||
description: The added [CustomFieldValue](ctp:api:type:CustomFieldValue) based on the [FieldType](ctp:api:type:FieldType). |
21 changes: 21 additions & 0 deletions
21
api-specs/api/types/message/payload/CustomerGroupCustomFieldChangedMessagePayload.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#%RAML 1.0 DataType | ||
(package): Message | ||
(docs-uri): https://docs.commercetools.com/api/projects/messages#customer-group-custom-field-changed | ||
type: MessagePayload | ||
displayName: CustomerGroupCustomFieldChangedMessagePayload | ||
discriminatorValue: CustomerGroupCustomFieldChanged | ||
description: | | ||
Generated after changing an existing Custom Field on a Customer Group using the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action. | ||
properties: | ||
name: | ||
type: string | ||
description: | | ||
Name of the Custom Field that changed. | ||
value: | ||
type: CustomFieldValue | ||
description: | | ||
[CustomFieldValue](ctp:api:type:CustomFieldValue) based on the [FieldType](ctp:api:type:FieldType) after the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action. | ||
oldValue?: | ||
type: CustomFieldValue | ||
description: | | ||
[CustomFieldValue](ctp:api:type:CustomFieldValue) based on the [FieldType](ctp:api:type:FieldType) before the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action. |
13 changes: 13 additions & 0 deletions
13
api-specs/api/types/message/payload/CustomerGroupCustomFieldRemovedMessagePayload.raml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#%RAML 1.0 DataType | ||
(package): Message | ||
(docs-uri): https://docs.commercetools.com/api/projects/messages#customer-group-custom-field-removed | ||
type: MessagePayload | ||
displayName: CustomerGroupCustomFieldRemovedMessagePayload | ||
discriminatorValue: CustomerGroupCustomFieldRemoved | ||
description: | | ||
Generated after removing a Custom Field from a Customer Group using the [Set CustomField](ctp:api:type:CustomerGroupSetCustomFieldAction) update action. | ||
properties: | ||
name: | ||
type: string | ||
description: | | ||
Name of the Custom Field that was removed. |
Oops, something went wrong.