Files
medusa-store/www/utils/generated/oas-output/schemas/BasePromotionRule.ts
github-actions[bot] b23ddcdde8 chore(docs): Updated API Reference (v2) (#8609)
Automated changes by [create-pull-request](https://github.com/peter-evans/create-pull-request) GitHub action

Co-authored-by: Shahed Nasser <27354907+shahednasser@users.noreply.github.com>
2024-08-15 14:31:35 +00:00

40 lines
763 B
TypeScript

/**
* @schema BasePromotionRule
* type: object
* description: The rule's rules.
* x-schemaName: BasePromotionRule
* required:
* - id
* - values
* properties:
* id:
* type: string
* title: id
* description: The rule's ID.
* description:
* type: string
* title: description
* description: The rule's description.
* attribute:
* type: string
* title: attribute
* description: The rule's attribute.
* operator:
* type: string
* enum:
* - gt
* - lt
* - eq
* - ne
* - in
* - lte
* - gte
* values:
* type: array
* description: The rule's values.
* items:
* $ref: "#/components/schemas/BasePromotionRuleValue"
*
*/