Update api spec (#182)

* YOYO NEW API SPEC!

* I have generated the latest API!

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Jess Frazelle
2024-01-06 14:56:45 -08:00
committed by GitHub
parent 8925458665
commit 0ad6216cde
23 changed files with 694 additions and 1160 deletions

View File

@ -0,0 +1,13 @@
from enum import Enum
class BlockReason(str, Enum):
"""The reason for blocking a user.""" # noqa: E501
"""# The user is missing a payment method and has exceeded their free API call credits for the month. """ # noqa: E501
MISSING_PAYMENT_METHOD = "missing_payment_method"
"""# The users payment method has failed. """ # noqa: E501
PAYMENT_METHOD_FAILED = "payment_method_failed"
def __str__(self) -> str:
return str(self.value)