31 lines
960 B
Go
31 lines
960 B
Go
package chatgpt
|
|
|
|
// AccountResult is the output data for a fully provisioned account.
|
|
type AccountResult struct {
|
|
Email string `json:"email"`
|
|
Password string `json:"password"`
|
|
AccessToken string `json:"access_token"`
|
|
RefreshToken string `json:"refresh_token"`
|
|
IDToken string `json:"id_token"`
|
|
ChatGPTAccountID string `json:"chatgpt_account_id"`
|
|
ChatGPTUserID string `json:"chatgpt_user_id"`
|
|
OrganizationID string `json:"organization_id"`
|
|
|
|
// Plus info
|
|
PlanType string `json:"plan_type"`
|
|
StripeSessionID string `json:"stripe_session_id"`
|
|
|
|
// Team info (if Team was activated)
|
|
TeamAccountID string `json:"team_account_id,omitempty"`
|
|
WorkspaceToken string `json:"workspace_token,omitempty"`
|
|
|
|
// Stripe fingerprint (reusable)
|
|
GUID string `json:"guid"`
|
|
MUID string `json:"muid"`
|
|
SID string `json:"sid"`
|
|
|
|
// Meta
|
|
CreatedAt string `json:"created_at"`
|
|
Proxy string `json:"proxy,omitempty"`
|
|
}
|