| 67 | # --- Models ----------------------------------------------------------------- |
| 68 | |
| 69 | class OrgCreateRequest(BaseModel): |
| 70 | name: str |
| 71 | admin_email: EmailStr |
| 72 | tier: str = "pro" # "pro" | "max" |
| 73 | seats: int |
| 74 | # Shared monthly monitor-credit pool for the whole org. -1 is uncapped, |
| 75 | # which is what an org gets until a number is actually negotiated. |
| 76 | monthly_credits: int = NO_MONTHLY_LIMIT |
| 77 | price_id: Optional[str] = None |
| 78 | days_until_due: int = 30 |
| 79 | trial_period_days: Optional[int] = None |
| 80 | dry_run: bool = False |
| 81 | |
| 82 | |
| 83 | class InviteRequest(BaseModel): |
no outgoing calls
no test coverage detected