Skip to content

Commit

Permalink
TASK: Updating RAML types, Postman and OAS definition
Browse files Browse the repository at this point in the history
  • Loading branch information
Auto Mation committed Dec 8, 2023
1 parent 42782cb commit 115da67
Showing 1 changed file with 42 additions and 31 deletions.
73 changes: 42 additions & 31 deletions oas/history/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1555,15 +1555,12 @@ components:
required:
- change
- nextValue
- previousValue
- type
properties:
type:
type: "string"
change:
type: "string"
previousValue:
$ref: '#/components/schemas/Address'
nextValue:
$ref: '#/components/schemas/Address'
AddAssetChange:
Expand Down Expand Up @@ -1656,11 +1653,11 @@ components:
previousValue:
type: "array"
items:
$ref: '#/components/schemas/ChannelRole'
$ref: '#/components/schemas/ChannelRoleEnum'
nextValue:
type: "array"
items:
$ref: '#/components/schemas/ChannelRole'
$ref: '#/components/schemas/ChannelRoleEnum'
AddCustomLineItemChange:
allOf:
- $ref: '#/components/schemas/Change'
Expand Down Expand Up @@ -1834,7 +1831,7 @@ components:
change:
type: "string"
nextValue:
$ref: '#/components/schemas/LocalizedEnumValue'
$ref: '#/components/schemas/AttributeLocalizedEnumValue'
fieldName:
type: "string"
attributeName:
Expand All @@ -1846,15 +1843,12 @@ components:
required:
- change
- nextValue
- previousValue
- type
properties:
type:
type: "string"
change:
type: "string"
previousValue:
$ref: '#/components/schemas/Location'
nextValue:
$ref: '#/components/schemas/Location'
AddOrderLineItemChange:
Expand Down Expand Up @@ -1926,7 +1920,7 @@ components:
change:
type: "string"
nextValue:
$ref: '#/components/schemas/EnumValue'
$ref: '#/components/schemas/AttributePlainEnumValue'
attributeName:
type: "string"
AddPriceChange:
Expand Down Expand Up @@ -2079,11 +2073,11 @@ components:
previousValue:
type: "array"
items:
$ref: '#/components/schemas/StateRole'
$ref: '#/components/schemas/StateRoleEnum'
nextValue:
type: "array"
items:
$ref: '#/components/schemas/StateRole'
$ref: '#/components/schemas/StateRoleEnum'
AddTaxRateChange:
allOf:
- $ref: '#/components/schemas/Change'
Expand Down Expand Up @@ -2390,6 +2384,26 @@ components:
$ref: '#/components/schemas/TextInputHint'
isSearchable:
type: "boolean"
AttributeLocalizedEnumValue:
type: "object"
required:
- key
- label
properties:
key:
type: "string"
label:
$ref: '#/components/schemas/LocalizedString'
AttributePlainEnumValue:
type: "object"
required:
- key
- label
properties:
key:
type: "string"
label:
type: "string"
AttributeType:
type: "object"
required:
Expand Down Expand Up @@ -3580,9 +3594,9 @@ components:
change:
type: "string"
previousValue:
$ref: '#/components/schemas/StateType'
$ref: '#/components/schemas/StateTypeEnum'
nextValue:
$ref: '#/components/schemas/StateType'
$ref: '#/components/schemas/StateTypeEnum'
ChangeStatusChange:
allOf:
- $ref: '#/components/schemas/Change'
Expand Down Expand Up @@ -3964,7 +3978,7 @@ components:
permyriad:
type: "integer"
format: "int32"
ChannelRole:
ChannelRoleEnum:
type: "string"
enum:
- InventorySupply
Expand Down Expand Up @@ -4904,11 +4918,11 @@ components:
previousValue:
type: "array"
items:
$ref: '#/components/schemas/ChannelRole'
$ref: '#/components/schemas/ChannelRoleEnum'
nextValue:
type: "array"
items:
$ref: '#/components/schemas/ChannelRole'
$ref: '#/components/schemas/ChannelRoleEnum'
RemoveCustomLineItemChange:
allOf:
- $ref: '#/components/schemas/Change'
Expand Down Expand Up @@ -5097,7 +5111,6 @@ components:
- type: "object"
required:
- change
- nextValue
- previousValue
- type
properties:
Expand All @@ -5107,8 +5120,6 @@ components:
type: "string"
previousValue:
$ref: '#/components/schemas/Location'
nextValue:
$ref: '#/components/schemas/Location'
RemoveOrderLineItemChange:
allOf:
- $ref: '#/components/schemas/Change'
Expand Down Expand Up @@ -5295,18 +5306,17 @@ components:
previousValue:
type: "array"
items:
$ref: '#/components/schemas/StateRole'
$ref: '#/components/schemas/StateRoleEnum'
nextValue:
type: "array"
items:
$ref: '#/components/schemas/StateRole'
$ref: '#/components/schemas/StateRoleEnum'
RemoveTaxRateChange:
allOf:
- $ref: '#/components/schemas/Change'
- type: "object"
required:
- change
- nextValue
- previousValue
- type
properties:
Expand All @@ -5316,8 +5326,6 @@ components:
type: "string"
previousValue:
$ref: '#/components/schemas/TaxRate'
nextValue:
$ref: '#/components/schemas/TaxRate'
RemoveTextLineItemChange:
allOf:
- $ref: '#/components/schemas/Change'
Expand Down Expand Up @@ -5937,11 +5945,11 @@ components:
previousValue:
type: "array"
items:
$ref: '#/components/schemas/ChannelRole'
$ref: '#/components/schemas/ChannelRoleEnum'
nextValue:
type: "array"
items:
$ref: '#/components/schemas/ChannelRole'
$ref: '#/components/schemas/ChannelRoleEnum'
SetCompanyNameChange:
allOf:
- $ref: '#/components/schemas/Change'
Expand Down Expand Up @@ -8114,11 +8122,11 @@ components:
previousValue:
type: "array"
items:
$ref: '#/components/schemas/StateRole'
$ref: '#/components/schemas/StateRoleEnum'
nextValue:
type: "array"
items:
$ref: '#/components/schemas/StateRole'
$ref: '#/components/schemas/StateRoleEnum'
SetStatusInterfaceCodeChange:
allOf:
- $ref: '#/components/schemas/Change'
Expand Down Expand Up @@ -8676,20 +8684,23 @@ components:
- Sent
- Closed
x-annotation-package: "Common"
StateRole:
StateRoleEnum:
type: "string"
enum:
- ReviewIncludedInStatistics
- Return
x-annotation-package: "Common"
StateType:
StateTypeEnum:
type: "string"
enum:
- OrderState
- LineItemState
- ProductState
- ReviewState
- PaymentState
- QuoteRequestState
- StagedQuoteState
- QuoteState
x-annotation-package: "Common"
StoreCountry:
type: "object"
Expand Down

0 comments on commit 115da67

Please sign in to comment.