docs: add loyalty plugin routes to OAS (#12811)

* generated OAS

* remove unused schemas

* generated specs

* add cloud badge for routes

* add to loyalty plugin page

* allow clicking the tooltip
This commit is contained in:
Shahed Nasser
2025-06-24 19:17:55 +03:00
committed by GitHub
parent 3826bde591
commit 93cf79cb0f
164 changed files with 16001 additions and 88 deletions
@@ -0,0 +1,42 @@
/**
* @schema AdminTransactionGroup
* type: object
* description: The transaction group's details.
* x-schemaName: AdminTransactionGroup
* required:
* - account
* - id
* - code
* - credits
* - debits
* - balance
* - metadata
* properties:
* id:
* type: string
* title: id
* description: The transaction group's ID.
* code:
* type: string
* title: code
* description: The transaction group's code.
* credits:
* type: number
* title: credits
* description: The transaction group's credits.
* debits:
* type: number
* title: debits
* description: The transaction group's debits.
* balance:
* type: number
* title: balance
* description: The transaction group's balance.
* account:
* $ref: "#/components/schemas/AdminStoreCreditAccount"
* metadata:
* type: object
* description: The transaction group's metadata, can hold custom key-value pairs.
*
*/