From fae7b5c1142a40db52091850e1f8ad75928e33b8 Mon Sep 17 00:00:00 2001 From: Sarah Etter Date: Fri, 6 Dec 2024 19:52:27 -0500 Subject: [PATCH] chore: add types for accounts --- src/commands/types.d.ts | 21 ++++++++++++++++++++- 1 file changed, 20 insertions(+), 1 deletion(-) diff --git a/src/commands/types.d.ts b/src/commands/types.d.ts index cfe4698bd43..11115c5ef9d 100644 --- a/src/commands/types.d.ts +++ b/src/commands/types.d.ts @@ -57,7 +57,7 @@ export type EnvironmentVariables = Record Promise<$TSFixMe>> apiOpts: $TSFixMe @@ -82,3 +82,22 @@ export interface AddressInUseError extends Error { address: string port: number } + +export interface Account { + id: string; + name: string; + slug: string; + type: string; + capabilities: Record; + billing_name: string; + billing_email: string; + billing_details: string; + billing_period: string; + payment_method_id: string; + type_name: string; + type_id: string; + owner_ids: string[]; + roles_allowed: string[]; + created_at: string; + updated_at: string; +}