Files
medusa-store/www/utils/generated/oas-output/schemas/AdminPromotionRule.ts
Shahed Nasser 89928dfdf3 chore(oas): [11/n] improve oas schemas (#9188)
Improve OAS schemas [11/n]
2024-09-19 14:24:54 +00:00

44 lines
930 B
TypeScript

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