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 Apr 9, 2024
1 parent 90f86a4 commit c132e56
Showing 1 changed file with 45 additions and 25 deletions.
70 changes: 45 additions & 25 deletions oas/api/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14588,7 +14588,7 @@ paths:
description: |-
Gets the current or staged representation of a [Product](ctp:api:type:Product) by its key in the specified [Store](ctp:api:type:Store).
If the Store has defined some languages, countries, distribution, supply Channels, and/or Product Selection,
they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices)
they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices),
and [inventory](ctp:api:type:ProductProjectionInventoryEntries).

If [ProductSelection](ctp:api:type:ProductSelection) is used, it affects the [availability of the Product](/projects/stores#products-available-in-store) in the specified Store.
Expand Down Expand Up @@ -14725,7 +14725,7 @@ paths:
description: |-
Gets the current or staged representation of a [Product](ctp:api:type:Product) by its ID in the specified [Store](ctp:api:type:Store).
If the Store has defined some languages, countries, distribution, supply Channels, and/or Product Selection,
they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices)
they are used for projections based on [locale](ctp:api:type:ProductProjectionLocales), [price](ctp:api:type:ProductProjectionPrices),
and [inventory](ctp:api:type:ProductProjectionInventoryEntries).

If [ProductSelection](ctp:api:type:ProductSelection) is used, it affects the [availability of the Product](/projects/stores#products-available-in-store) in the specified Store.
Expand Down Expand Up @@ -64477,7 +64477,7 @@ components:
x-beta: true
x-annotation-enumDescriptions:
all: "Count all Products (or Product Variants) without considering the search query."
query: "Only count the Products (or Product Variants) that matches the search query."
query: "Only count the Products (or Product Variants) that match the search query."
AssignedProductReference:
type: "object"
required:
Expand Down Expand Up @@ -68903,28 +68903,48 @@ components:
x-annotation-package: "Search"
x-beta: true
x-annotation-enumDescriptions:
boolean: "For Boolean fields and Attributes.n"
text: "For string fields and Attributes.n"
ltext: "For [LocalizedString](types#localizedstring) fields and Attributes.n"
enum: "For enum fields and Attributes.n"
lenum: "For localized enum fields and Attributes.n"
number: "For number fields and Attributes.n"
money: "For [Money](types#money) fields and Attributes.n"
date: "For [Date](types#date) fields and Attributes.n"
datetime: "For [DateTime](types#datetime) fields and Attributes.n"
time: "For [Time](types#time) fields and Attributes.n"
reference: "For [Reference](types#reference) fields and Attributes.n"
set_boolean: "For Set of Boolean fields and Attributes.n"
set_text: "For Set of string fields and Attributes.n"
set_ltext: "For Set of [LocalizedString](types#localizedstring) fields and Attributes.n"
set_enum: "For Set of enum fields and Attributes.n"
set_lenum: "For Set of localized enum fields and Attributes.n"
set_number: "For Set of number fields and Attributes.n"
set_money: "For Set of [Money](types#money) fields and Attributes.n"
set_date: "For Set of [Date](types#date) fields and Attributes.n"
set_datetime: "For Set of [DateTime](types#datetime) fields and Attributes.n"
set_time: "For Set of [Time](types#time) fields and Attributes.n"
set_reference: "For Set of [Reference](types#reference) fields and Attributes.n"
boolean: "For Boolean fields and [AttributeBooleanType](ctp:api:type:AttributeBooleanType)
Attributes.n"
text: "For string fields and [AttributeTextType](ctp:api:type:AttributeTextType) Attributes.n"
ltext: "For [LocalizedString](types#localizedstring) fields and [AttributeLocalizableTextType](ctp:api:type:AttributeLocalizableTextType)
Attributes.n"
enum: "For enum fields and [AttributeEnumType](ctp:api:type:AttributeEnumType) Attributes.n"
lenum: "For localized enum fields and [AttributeLocalizedEnumType](ctp:api:type:AttributeLocalizedEnumType)
Attributes.n"
number: "For number fields and [AttributeNumberType](ctp:api:type:AttributeNumberType)
Attributes.n"
money: "For [Money](types#money) fields and [AttributeMoneyType](ctp:api:type:AttributeMoneyType)
Attributes.n"
date: "For [Date](types#date) fields and [AttributeDateType](ctp:api:type:AttributeDateType)
Attributes.n"
datetime: "For [DateTime](types#datetime) fields and [AttributeDateTimeType](ctp:api:type:AttributeDateTimeType)
Attributes.n"
time: "For [Time](types#time) fields and [AttributeTimeType](ctp:api:type:AttributeTimeType)
Attributes.n"
reference: "For [Reference](types#reference) fields and [AttributeReferenceType](ctp:api:type:AttributeReferenceType)
Attributes.n"
set_boolean: "For Set of Boolean fields and [AttributeSetType](ctp:api:type:AttributeSetType)
of `boolean` Attributes.n"
set_text: "For Set of string fields and [AttributeSetType](ctp:api:type:AttributeSetType)
of `text` Attributes.n"
set_ltext: "For Set of [LocalizedString](types#localizedstring) fields and [AttributeSetType](ctp:api:type:AttributeSetType)
of `ltext` Attributes.n"
set_enum: "For Set of enum fields and [AttributeSetType](ctp:api:type:AttributeSetType)
of `enum` Attributes.n"
set_lenum: "For Set of localized enum fields and [AttributeSetType](ctp:api:type:AttributeSetType)
of `lenum` Attributes.n"
set_number: "For Set of number fields and [AttributeSetType](ctp:api:type:AttributeSetType)
of `number` Attributes.n"
set_money: "For Set of [Money](types#money) fields and [AttributeSetType](ctp:api:type:AttributeSetType)
of `money` Attributes.n"
set_date: "For Set of [Date](types#date) fields and [AttributeSetType](ctp:api:type:AttributeSetType)
of `date` Attributes.n"
set_datetime: "For Set of [DateTime](types#datetime) fields and [AttributeSetType](ctp:api:type:AttributeSetType)
of `datetime` Attributes.n"
set_time: "For Set of [Time](types#time) fields and [AttributeSetType](ctp:api:type:AttributeSetType)
of `time` Attributes.n"
set_reference: "For Set of [Reference](types#reference) fields and [AttributeSetType](ctp:api:type:AttributeSetType)
of `reference` Attributes.n"
SearchFilterExpression:
allOf:
- $ref: '#/components/schemas/SearchCompoundExpression'
Expand Down

0 comments on commit c132e56

Please sign in to comment.