generated model

This commit is contained in:
Mussie Teshome
2023-06-26 14:23:51 +03:00
parent dc050f4d70
commit 3b7c47bfb3

View File

@@ -120,7 +120,6 @@ type Env struct {
AdminCookieSecure bool `json:"ADMIN_COOKIE_SECURE"` AdminCookieSecure bool `json:"ADMIN_COOKIE_SECURE"`
DefaultAuthorizeResponseType *string `json:"DEFAULT_AUTHORIZE_RESPONSE_TYPE"` DefaultAuthorizeResponseType *string `json:"DEFAULT_AUTHORIZE_RESPONSE_TYPE"`
DefaultAuthorizeResponseMode *string `json:"DEFAULT_AUTHORIZE_RESPONSE_MODE"` DefaultAuthorizeResponseMode *string `json:"DEFAULT_AUTHORIZE_RESPONSE_MODE"`
SmsCodeExpiryTime *string `json:"SMS_CODE_EXPIRY_TIME"`
} }
type Error struct { type Error struct {
@@ -129,7 +128,7 @@ type Error struct {
} }
type ForgotPasswordInput struct { type ForgotPasswordInput struct {
Email string `json:"email"` EmailOrPhone string `json:"email_or_phone"`
State *string `json:"state"` State *string `json:"state"`
RedirectURI *string `json:"redirect_uri"` RedirectURI *string `json:"redirect_uri"`
} }
@@ -257,9 +256,10 @@ type ResendVerifyEmailInput struct {
} }
type ResetPasswordInput struct { type ResetPasswordInput struct {
Token string `json:"token"` TokenOrCode string `json:"token_or_code"`
Password string `json:"password"` Password string `json:"password"`
ConfirmPassword string `json:"confirm_password"` ConfirmPassword string `json:"confirm_password"`
PhoneNumber *string `json:"phone_number"`
} }
type Response struct { type Response struct {