chore: reorganize docs apps (#7228)

* reorganize docs apps

* add README

* fix directory

* add condition for old docs
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-05-03 17:36:38 +03:00
1 parent 224ebb2154
commit 4fe28f5a95
6187 files changed
+601447 -598226

No files matched your search

@@ -0,0 +1,31 @@
import { TypeList } from "docs-ui"
# PaymentActions
Normalized events from payment provider to internal payment module events.
## Enumeration Members
### AUTHORIZED
**AUTHORIZED** = `"authorized"`
Payment session has been authorized and there are available funds for capture.
### SUCCESSFUL
**SUCCESSFUL** = `"captured"`
Payment was successful and the mount is captured.
### FAILED
**FAILED** = `"failed"`
Payment failed.
### NOT\_SUPPORTED
**NOT\_SUPPORTED** = `"not_supported"`
Received an event that is not processable.
@@ -0,0 +1,37 @@
import { TypeList } from "docs-ui"
# PaymentCollectionStatus
The payment collection's status.
## Enumeration Members
### NOT\_PAID
**NOT\_PAID** = `"not_paid"`
The payment collection isn't paid.
### AWAITING
**AWAITING** = `"awaiting"`
The payment collection is awaiting payment.
### AUTHORIZED
**AUTHORIZED** = `"authorized"`
The payment collection is authorized.
### PARTIALLY\_AUTHORIZED
**PARTIALLY\_AUTHORIZED** = `"partially_authorized"`
Some of the payments in the payment collection are authorized.
### CANCELED
**CANCELED** = `"canceled"`
The payment collection is canceled.
@@ -0,0 +1,37 @@
import { TypeList } from "docs-ui"
# PaymentSessionStatus
The status of a payment session.
## Enumeration Members
### AUTHORIZED
**AUTHORIZED** = `"authorized"`
The payment is authorized.
### PENDING
**PENDING** = `"pending"`
The payment is pending.
### REQUIRES\_MORE
**REQUIRES\_MORE** = `"requires_more"`
The payment requires an action.
### ERROR
**ERROR** = `"error"`
An error occurred while processing the payment.
### CANCELED
**CANCELED** = `"canceled"`
The payment is canceled.
@@ -0,0 +1,9 @@
import { TypeList } from "docs-ui"
# PaymentWebhookEvents
## Enumeration Members
### WebhookReceived
**WebhookReceived** = `"payment.webhook_received"`
@@ -0,0 +1,13 @@
import { TypeList } from "docs-ui"
# PriceListStatus
## Enumeration Members
### ACTIVE
**ACTIVE** = `"active"`
### DRAFT
**DRAFT** = `"draft"`
@@ -0,0 +1,13 @@
import { TypeList } from "docs-ui"
# PriceListType
## Enumeration Members
### SALE
**SALE** = `"sale"`
### OVERRIDE
**OVERRIDE** = `"override"`