fix: upgrade packages
This commit is contained in:
parent
e7c4ee5630
commit
2a759de311
|
@ -3,40 +3,51 @@ module github.com/authorizerdev/authorizer/server
|
||||||
go 1.16
|
go 1.16
|
||||||
|
|
||||||
require (
|
require (
|
||||||
github.com/99designs/gqlgen v0.17.20
|
github.com/99designs/gqlgen v0.17.39
|
||||||
github.com/arangodb/go-driver v1.2.1
|
github.com/arangodb/go-driver v1.6.0
|
||||||
github.com/aws/aws-sdk-go v1.44.298
|
github.com/aws/aws-sdk-go v1.45.25
|
||||||
github.com/coreos/go-oidc/v3 v3.1.0
|
github.com/bytedance/sonic v1.10.2 // indirect
|
||||||
github.com/couchbase/gocb/v2 v2.6.0
|
github.com/coreos/go-oidc/v3 v3.6.0
|
||||||
github.com/gin-gonic/gin v1.8.1
|
github.com/couchbase/gocb/v2 v2.6.4
|
||||||
github.com/glebarez/sqlite v1.5.0
|
github.com/cpuguy83/go-md2man/v2 v2.0.3 // indirect
|
||||||
github.com/go-playground/validator/v10 v10.11.1 // indirect
|
github.com/gabriel-vasile/mimetype v1.4.3 // indirect
|
||||||
github.com/goccy/go-json v0.9.11 // indirect
|
github.com/gin-gonic/gin v1.9.1
|
||||||
github.com/gocql/gocql v1.2.0
|
github.com/glebarez/sqlite v1.9.0
|
||||||
|
github.com/go-playground/validator/v10 v10.15.5 // indirect
|
||||||
|
github.com/go-sql-driver/mysql v1.7.1 // indirect
|
||||||
|
github.com/gocql/gocql v1.6.0
|
||||||
github.com/golang-jwt/jwt v3.2.2+incompatible
|
github.com/golang-jwt/jwt v3.2.2+incompatible
|
||||||
github.com/golang/protobuf v1.5.2 // indirect
|
github.com/google/uuid v1.3.1
|
||||||
github.com/google/go-cmp v0.5.6 // indirect
|
github.com/guregu/dynamo v1.20.2
|
||||||
github.com/google/uuid v1.3.0
|
github.com/hashicorp/golang-lru v1.0.2 // indirect
|
||||||
github.com/guregu/dynamo v1.20.0
|
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
|
||||||
github.com/joho/godotenv v1.3.0
|
github.com/joho/godotenv v1.5.1
|
||||||
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
github.com/klauspost/compress v1.17.0 // indirect
|
||||||
github.com/pelletier/go-toml/v2 v2.0.5 // indirect
|
github.com/klauspost/cpuid/v2 v2.2.5 // indirect
|
||||||
github.com/redis/go-redis/v9 v9.0.3
|
github.com/montanaflynn/stats v0.7.1 // indirect
|
||||||
github.com/robertkrimen/otto v0.0.0-20211024170158-b87d35c0b86f
|
github.com/pelletier/go-toml/v2 v2.1.0 // indirect
|
||||||
github.com/sirupsen/logrus v1.8.1
|
github.com/redis/go-redis/v9 v9.2.1
|
||||||
github.com/stretchr/testify v1.8.0
|
github.com/robertkrimen/otto v0.2.1
|
||||||
github.com/twilio/twilio-go v1.7.2
|
github.com/sirupsen/logrus v1.9.3
|
||||||
github.com/vektah/gqlparser/v2 v2.5.1
|
github.com/sosodev/duration v1.2.0 // indirect
|
||||||
go.mongodb.org/mongo-driver v1.8.1
|
github.com/stretchr/testify v1.8.4
|
||||||
golang.org/x/crypto v0.4.0
|
github.com/twilio/twilio-go v1.14.1
|
||||||
golang.org/x/oauth2 v0.0.0-20210628180205-a41e5a781914
|
github.com/urfave/cli/v2 v2.25.7 // indirect
|
||||||
google.golang.org/appengine v1.6.7
|
github.com/vektah/gqlparser/v2 v2.5.10
|
||||||
google.golang.org/protobuf v1.28.1 // indirect
|
github.com/youmark/pkcs8 v0.0.0-20201027041543-1326539a0a0a // indirect
|
||||||
|
go.mongodb.org/mongo-driver v1.12.1
|
||||||
|
golang.org/x/arch v0.5.0 // indirect
|
||||||
|
golang.org/x/crypto v0.14.0
|
||||||
|
golang.org/x/oauth2 v0.13.0
|
||||||
|
golang.org/x/tools v0.14.0 // indirect
|
||||||
|
google.golang.org/appengine v1.6.8
|
||||||
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
|
gopkg.in/alexcesaro/quotedprintable.v3 v3.0.0-20150716171945-2caba252f4dc // indirect
|
||||||
gopkg.in/mail.v2 v2.3.1
|
gopkg.in/mail.v2 v2.3.1
|
||||||
gopkg.in/square/go-jose.v2 v2.6.0
|
gopkg.in/square/go-jose.v2 v2.6.0
|
||||||
gorm.io/driver/mysql v1.4.3
|
gorm.io/driver/mysql v1.5.2
|
||||||
gorm.io/driver/postgres v1.4.7
|
gorm.io/driver/postgres v1.5.3
|
||||||
gorm.io/driver/sqlserver v1.4.1
|
gorm.io/driver/sqlserver v1.5.2
|
||||||
gorm.io/gorm v1.24.2
|
gorm.io/gorm v1.25.5
|
||||||
|
modernc.org/memory v1.7.2 // indirect
|
||||||
|
modernc.org/sqlite v1.26.0 // indirect
|
||||||
)
|
)
|
||||||
|
|
1518
server/go.sum
1518
server/go.sum
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
@ -6,15 +6,15 @@ type AddEmailTemplateRequest struct {
|
||||||
EventName string `json:"event_name"`
|
EventName string `json:"event_name"`
|
||||||
Subject string `json:"subject"`
|
Subject string `json:"subject"`
|
||||||
Template string `json:"template"`
|
Template string `json:"template"`
|
||||||
Design *string `json:"design"`
|
Design *string `json:"design,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type AddWebhookRequest struct {
|
type AddWebhookRequest struct {
|
||||||
EventName string `json:"event_name"`
|
EventName string `json:"event_name"`
|
||||||
EventDescription *string `json:"event_description"`
|
EventDescription *string `json:"event_description,omitempty"`
|
||||||
Endpoint string `json:"endpoint"`
|
Endpoint string `json:"endpoint"`
|
||||||
Enabled bool `json:"enabled"`
|
Enabled bool `json:"enabled"`
|
||||||
Headers map[string]interface{} `json:"headers"`
|
Headers map[string]interface{} `json:"headers,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type AdminLoginInput struct {
|
type AdminLoginInput struct {
|
||||||
|
@ -27,13 +27,13 @@ type AdminSignupInput struct {
|
||||||
|
|
||||||
type AuthResponse struct {
|
type AuthResponse struct {
|
||||||
Message string `json:"message"`
|
Message string `json:"message"`
|
||||||
ShouldShowEmailOtpScreen *bool `json:"should_show_email_otp_screen"`
|
ShouldShowEmailOtpScreen *bool `json:"should_show_email_otp_screen,omitempty"`
|
||||||
ShouldShowMobileOtpScreen *bool `json:"should_show_mobile_otp_screen"`
|
ShouldShowMobileOtpScreen *bool `json:"should_show_mobile_otp_screen,omitempty"`
|
||||||
AccessToken *string `json:"access_token"`
|
AccessToken *string `json:"access_token,omitempty"`
|
||||||
IDToken *string `json:"id_token"`
|
IDToken *string `json:"id_token,omitempty"`
|
||||||
RefreshToken *string `json:"refresh_token"`
|
RefreshToken *string `json:"refresh_token,omitempty"`
|
||||||
ExpiresIn *int64 `json:"expires_in"`
|
ExpiresIn *int64 `json:"expires_in,omitempty"`
|
||||||
User *User `json:"user"`
|
User *User `json:"user,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type DeleteEmailTemplateRequest struct {
|
type DeleteEmailTemplateRequest struct {
|
||||||
|
@ -50,8 +50,8 @@ type EmailTemplate struct {
|
||||||
Template string `json:"template"`
|
Template string `json:"template"`
|
||||||
Design string `json:"design"`
|
Design string `json:"design"`
|
||||||
Subject string `json:"subject"`
|
Subject string `json:"subject"`
|
||||||
CreatedAt *int64 `json:"created_at"`
|
CreatedAt *int64 `json:"created_at,omitempty"`
|
||||||
UpdatedAt *int64 `json:"updated_at"`
|
UpdatedAt *int64 `json:"updated_at,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type EmailTemplates struct {
|
type EmailTemplates struct {
|
||||||
|
@ -60,33 +60,33 @@ type EmailTemplates struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type Env struct {
|
type Env struct {
|
||||||
AccessTokenExpiryTime *string `json:"ACCESS_TOKEN_EXPIRY_TIME"`
|
AccessTokenExpiryTime *string `json:"ACCESS_TOKEN_EXPIRY_TIME,omitempty"`
|
||||||
AdminSecret *string `json:"ADMIN_SECRET"`
|
AdminSecret *string `json:"ADMIN_SECRET,omitempty"`
|
||||||
DatabaseName *string `json:"DATABASE_NAME"`
|
DatabaseName *string `json:"DATABASE_NAME,omitempty"`
|
||||||
DatabaseURL *string `json:"DATABASE_URL"`
|
DatabaseURL *string `json:"DATABASE_URL,omitempty"`
|
||||||
DatabaseType *string `json:"DATABASE_TYPE"`
|
DatabaseType *string `json:"DATABASE_TYPE,omitempty"`
|
||||||
DatabaseUsername *string `json:"DATABASE_USERNAME"`
|
DatabaseUsername *string `json:"DATABASE_USERNAME,omitempty"`
|
||||||
DatabasePassword *string `json:"DATABASE_PASSWORD"`
|
DatabasePassword *string `json:"DATABASE_PASSWORD,omitempty"`
|
||||||
DatabaseHost *string `json:"DATABASE_HOST"`
|
DatabaseHost *string `json:"DATABASE_HOST,omitempty"`
|
||||||
DatabasePort *string `json:"DATABASE_PORT"`
|
DatabasePort *string `json:"DATABASE_PORT,omitempty"`
|
||||||
ClientID string `json:"CLIENT_ID"`
|
ClientID string `json:"CLIENT_ID"`
|
||||||
ClientSecret string `json:"CLIENT_SECRET"`
|
ClientSecret string `json:"CLIENT_SECRET"`
|
||||||
CustomAccessTokenScript *string `json:"CUSTOM_ACCESS_TOKEN_SCRIPT"`
|
CustomAccessTokenScript *string `json:"CUSTOM_ACCESS_TOKEN_SCRIPT,omitempty"`
|
||||||
SMTPHost *string `json:"SMTP_HOST"`
|
SMTPHost *string `json:"SMTP_HOST,omitempty"`
|
||||||
SMTPPort *string `json:"SMTP_PORT"`
|
SMTPPort *string `json:"SMTP_PORT,omitempty"`
|
||||||
SMTPUsername *string `json:"SMTP_USERNAME"`
|
SMTPUsername *string `json:"SMTP_USERNAME,omitempty"`
|
||||||
SMTPPassword *string `json:"SMTP_PASSWORD"`
|
SMTPPassword *string `json:"SMTP_PASSWORD,omitempty"`
|
||||||
SMTPLocalName *string `json:"SMTP_LOCAL_NAME"`
|
SMTPLocalName *string `json:"SMTP_LOCAL_NAME,omitempty"`
|
||||||
SenderEmail *string `json:"SENDER_EMAIL"`
|
SenderEmail *string `json:"SENDER_EMAIL,omitempty"`
|
||||||
SenderName *string `json:"SENDER_NAME"`
|
SenderName *string `json:"SENDER_NAME,omitempty"`
|
||||||
JwtType *string `json:"JWT_TYPE"`
|
JwtType *string `json:"JWT_TYPE,omitempty"`
|
||||||
JwtSecret *string `json:"JWT_SECRET"`
|
JwtSecret *string `json:"JWT_SECRET,omitempty"`
|
||||||
JwtPrivateKey *string `json:"JWT_PRIVATE_KEY"`
|
JwtPrivateKey *string `json:"JWT_PRIVATE_KEY,omitempty"`
|
||||||
JwtPublicKey *string `json:"JWT_PUBLIC_KEY"`
|
JwtPublicKey *string `json:"JWT_PUBLIC_KEY,omitempty"`
|
||||||
AllowedOrigins []string `json:"ALLOWED_ORIGINS"`
|
AllowedOrigins []string `json:"ALLOWED_ORIGINS,omitempty"`
|
||||||
AppURL *string `json:"APP_URL"`
|
AppURL *string `json:"APP_URL,omitempty"`
|
||||||
RedisURL *string `json:"REDIS_URL"`
|
RedisURL *string `json:"REDIS_URL,omitempty"`
|
||||||
ResetPasswordURL *string `json:"RESET_PASSWORD_URL"`
|
ResetPasswordURL *string `json:"RESET_PASSWORD_URL,omitempty"`
|
||||||
DisableEmailVerification bool `json:"DISABLE_EMAIL_VERIFICATION"`
|
DisableEmailVerification bool `json:"DISABLE_EMAIL_VERIFICATION"`
|
||||||
DisableBasicAuthentication bool `json:"DISABLE_BASIC_AUTHENTICATION"`
|
DisableBasicAuthentication bool `json:"DISABLE_BASIC_AUTHENTICATION"`
|
||||||
DisableMagicLinkLogin bool `json:"DISABLE_MAGIC_LINK_LOGIN"`
|
DisableMagicLinkLogin bool `json:"DISABLE_MAGIC_LINK_LOGIN"`
|
||||||
|
@ -96,31 +96,31 @@ type Env struct {
|
||||||
DisableStrongPassword bool `json:"DISABLE_STRONG_PASSWORD"`
|
DisableStrongPassword bool `json:"DISABLE_STRONG_PASSWORD"`
|
||||||
DisableMultiFactorAuthentication bool `json:"DISABLE_MULTI_FACTOR_AUTHENTICATION"`
|
DisableMultiFactorAuthentication bool `json:"DISABLE_MULTI_FACTOR_AUTHENTICATION"`
|
||||||
EnforceMultiFactorAuthentication bool `json:"ENFORCE_MULTI_FACTOR_AUTHENTICATION"`
|
EnforceMultiFactorAuthentication bool `json:"ENFORCE_MULTI_FACTOR_AUTHENTICATION"`
|
||||||
Roles []string `json:"ROLES"`
|
Roles []string `json:"ROLES,omitempty"`
|
||||||
ProtectedRoles []string `json:"PROTECTED_ROLES"`
|
ProtectedRoles []string `json:"PROTECTED_ROLES,omitempty"`
|
||||||
DefaultRoles []string `json:"DEFAULT_ROLES"`
|
DefaultRoles []string `json:"DEFAULT_ROLES,omitempty"`
|
||||||
JwtRoleClaim *string `json:"JWT_ROLE_CLAIM"`
|
JwtRoleClaim *string `json:"JWT_ROLE_CLAIM,omitempty"`
|
||||||
GoogleClientID *string `json:"GOOGLE_CLIENT_ID"`
|
GoogleClientID *string `json:"GOOGLE_CLIENT_ID,omitempty"`
|
||||||
GoogleClientSecret *string `json:"GOOGLE_CLIENT_SECRET"`
|
GoogleClientSecret *string `json:"GOOGLE_CLIENT_SECRET,omitempty"`
|
||||||
GithubClientID *string `json:"GITHUB_CLIENT_ID"`
|
GithubClientID *string `json:"GITHUB_CLIENT_ID,omitempty"`
|
||||||
GithubClientSecret *string `json:"GITHUB_CLIENT_SECRET"`
|
GithubClientSecret *string `json:"GITHUB_CLIENT_SECRET,omitempty"`
|
||||||
FacebookClientID *string `json:"FACEBOOK_CLIENT_ID"`
|
FacebookClientID *string `json:"FACEBOOK_CLIENT_ID,omitempty"`
|
||||||
FacebookClientSecret *string `json:"FACEBOOK_CLIENT_SECRET"`
|
FacebookClientSecret *string `json:"FACEBOOK_CLIENT_SECRET,omitempty"`
|
||||||
LinkedinClientID *string `json:"LINKEDIN_CLIENT_ID"`
|
LinkedinClientID *string `json:"LINKEDIN_CLIENT_ID,omitempty"`
|
||||||
LinkedinClientSecret *string `json:"LINKEDIN_CLIENT_SECRET"`
|
LinkedinClientSecret *string `json:"LINKEDIN_CLIENT_SECRET,omitempty"`
|
||||||
AppleClientID *string `json:"APPLE_CLIENT_ID"`
|
AppleClientID *string `json:"APPLE_CLIENT_ID,omitempty"`
|
||||||
AppleClientSecret *string `json:"APPLE_CLIENT_SECRET"`
|
AppleClientSecret *string `json:"APPLE_CLIENT_SECRET,omitempty"`
|
||||||
TwitterClientID *string `json:"TWITTER_CLIENT_ID"`
|
TwitterClientID *string `json:"TWITTER_CLIENT_ID,omitempty"`
|
||||||
TwitterClientSecret *string `json:"TWITTER_CLIENT_SECRET"`
|
TwitterClientSecret *string `json:"TWITTER_CLIENT_SECRET,omitempty"`
|
||||||
MicrosoftClientID *string `json:"MICROSOFT_CLIENT_ID"`
|
MicrosoftClientID *string `json:"MICROSOFT_CLIENT_ID,omitempty"`
|
||||||
MicrosoftClientSecret *string `json:"MICROSOFT_CLIENT_SECRET"`
|
MicrosoftClientSecret *string `json:"MICROSOFT_CLIENT_SECRET,omitempty"`
|
||||||
MicrosoftActiveDirectoryTenantID *string `json:"MICROSOFT_ACTIVE_DIRECTORY_TENANT_ID"`
|
MicrosoftActiveDirectoryTenantID *string `json:"MICROSOFT_ACTIVE_DIRECTORY_TENANT_ID,omitempty"`
|
||||||
OrganizationName *string `json:"ORGANIZATION_NAME"`
|
OrganizationName *string `json:"ORGANIZATION_NAME,omitempty"`
|
||||||
OrganizationLogo *string `json:"ORGANIZATION_LOGO"`
|
OrganizationLogo *string `json:"ORGANIZATION_LOGO,omitempty"`
|
||||||
AppCookieSecure bool `json:"APP_COOKIE_SECURE"`
|
AppCookieSecure bool `json:"APP_COOKIE_SECURE"`
|
||||||
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,omitempty"`
|
||||||
DefaultAuthorizeResponseMode *string `json:"DEFAULT_AUTHORIZE_RESPONSE_MODE"`
|
DefaultAuthorizeResponseMode *string `json:"DEFAULT_AUTHORIZE_RESPONSE_MODE,omitempty"`
|
||||||
DisablePlayground bool `json:"DISABLE_PLAYGROUND"`
|
DisablePlayground bool `json:"DISABLE_PLAYGROUND"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -131,8 +131,8 @@ type Error struct {
|
||||||
|
|
||||||
type ForgotPasswordInput struct {
|
type ForgotPasswordInput struct {
|
||||||
Email string `json:"email"`
|
Email string `json:"email"`
|
||||||
State *string `json:"state"`
|
State *string `json:"state,omitempty"`
|
||||||
RedirectURI *string `json:"redirect_uri"`
|
RedirectURI *string `json:"redirect_uri,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GenerateJWTKeysInput struct {
|
type GenerateJWTKeysInput struct {
|
||||||
|
@ -140,19 +140,19 @@ type GenerateJWTKeysInput struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type GenerateJWTKeysResponse struct {
|
type GenerateJWTKeysResponse struct {
|
||||||
Secret *string `json:"secret"`
|
Secret *string `json:"secret,omitempty"`
|
||||||
PublicKey *string `json:"public_key"`
|
PublicKey *string `json:"public_key,omitempty"`
|
||||||
PrivateKey *string `json:"private_key"`
|
PrivateKey *string `json:"private_key,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetUserRequest struct {
|
type GetUserRequest struct {
|
||||||
ID *string `json:"id"`
|
ID *string `json:"id,omitempty"`
|
||||||
Email *string `json:"email"`
|
Email *string `json:"email,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type InviteMemberInput struct {
|
type InviteMemberInput struct {
|
||||||
Emails []string `json:"emails"`
|
Emails []string `json:"emails"`
|
||||||
RedirectURI *string `json:"redirect_uri"`
|
RedirectURI *string `json:"redirect_uri,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type InviteMembersResponse struct {
|
type InviteMembersResponse struct {
|
||||||
|
@ -161,24 +161,24 @@ type InviteMembersResponse struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type ListWebhookLogRequest struct {
|
type ListWebhookLogRequest struct {
|
||||||
Pagination *PaginationInput `json:"pagination"`
|
Pagination *PaginationInput `json:"pagination,omitempty"`
|
||||||
WebhookID *string `json:"webhook_id"`
|
WebhookID *string `json:"webhook_id,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type LoginInput struct {
|
type LoginInput struct {
|
||||||
Email string `json:"email"`
|
Email string `json:"email"`
|
||||||
Password string `json:"password"`
|
Password string `json:"password"`
|
||||||
Roles []string `json:"roles"`
|
Roles []string `json:"roles,omitempty"`
|
||||||
Scope []string `json:"scope"`
|
Scope []string `json:"scope,omitempty"`
|
||||||
State *string `json:"state"`
|
State *string `json:"state,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type MagicLinkLoginInput struct {
|
type MagicLinkLoginInput struct {
|
||||||
Email string `json:"email"`
|
Email string `json:"email"`
|
||||||
Roles []string `json:"roles"`
|
Roles []string `json:"roles,omitempty"`
|
||||||
Scope []string `json:"scope"`
|
Scope []string `json:"scope,omitempty"`
|
||||||
State *string `json:"state"`
|
State *string `json:"state,omitempty"`
|
||||||
RedirectURI *string `json:"redirect_uri"`
|
RedirectURI *string `json:"redirect_uri,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Meta struct {
|
type Meta struct {
|
||||||
|
@ -202,29 +202,29 @@ type Meta struct {
|
||||||
type MobileLoginInput struct {
|
type MobileLoginInput struct {
|
||||||
PhoneNumber string `json:"phone_number"`
|
PhoneNumber string `json:"phone_number"`
|
||||||
Password string `json:"password"`
|
Password string `json:"password"`
|
||||||
Roles []string `json:"roles"`
|
Roles []string `json:"roles,omitempty"`
|
||||||
Scope []string `json:"scope"`
|
Scope []string `json:"scope,omitempty"`
|
||||||
State *string `json:"state"`
|
State *string `json:"state,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type MobileSignUpInput struct {
|
type MobileSignUpInput struct {
|
||||||
Email *string `json:"email"`
|
Email *string `json:"email,omitempty"`
|
||||||
GivenName *string `json:"given_name"`
|
GivenName *string `json:"given_name,omitempty"`
|
||||||
FamilyName *string `json:"family_name"`
|
FamilyName *string `json:"family_name,omitempty"`
|
||||||
MiddleName *string `json:"middle_name"`
|
MiddleName *string `json:"middle_name,omitempty"`
|
||||||
Nickname *string `json:"nickname"`
|
Nickname *string `json:"nickname,omitempty"`
|
||||||
Gender *string `json:"gender"`
|
Gender *string `json:"gender,omitempty"`
|
||||||
Birthdate *string `json:"birthdate"`
|
Birthdate *string `json:"birthdate,omitempty"`
|
||||||
PhoneNumber string `json:"phone_number"`
|
PhoneNumber string `json:"phone_number"`
|
||||||
Picture *string `json:"picture"`
|
Picture *string `json:"picture,omitempty"`
|
||||||
Password string `json:"password"`
|
Password string `json:"password"`
|
||||||
ConfirmPassword string `json:"confirm_password"`
|
ConfirmPassword string `json:"confirm_password"`
|
||||||
Roles []string `json:"roles"`
|
Roles []string `json:"roles,omitempty"`
|
||||||
Scope []string `json:"scope"`
|
Scope []string `json:"scope,omitempty"`
|
||||||
RedirectURI *string `json:"redirect_uri"`
|
RedirectURI *string `json:"redirect_uri,omitempty"`
|
||||||
IsMultiFactorAuthEnabled *bool `json:"is_multi_factor_auth_enabled"`
|
IsMultiFactorAuthEnabled *bool `json:"is_multi_factor_auth_enabled,omitempty"`
|
||||||
State *string `json:"state"`
|
State *string `json:"state,omitempty"`
|
||||||
AppData map[string]interface{} `json:"app_data"`
|
AppData map[string]interface{} `json:"app_data,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type OAuthRevokeInput struct {
|
type OAuthRevokeInput struct {
|
||||||
|
@ -232,7 +232,7 @@ type OAuthRevokeInput struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type PaginatedInput struct {
|
type PaginatedInput struct {
|
||||||
Pagination *PaginationInput `json:"pagination"`
|
Pagination *PaginationInput `json:"pagination,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Pagination struct {
|
type Pagination struct {
|
||||||
|
@ -243,20 +243,20 @@ type Pagination struct {
|
||||||
}
|
}
|
||||||
|
|
||||||
type PaginationInput struct {
|
type PaginationInput struct {
|
||||||
Limit *int64 `json:"limit"`
|
Limit *int64 `json:"limit,omitempty"`
|
||||||
Page *int64 `json:"page"`
|
Page *int64 `json:"page,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResendOTPRequest struct {
|
type ResendOTPRequest struct {
|
||||||
Email *string `json:"email"`
|
Email *string `json:"email,omitempty"`
|
||||||
PhoneNumber *string `json:"phone_number"`
|
PhoneNumber *string `json:"phone_number,omitempty"`
|
||||||
State *string `json:"state"`
|
State *string `json:"state,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResendVerifyEmailInput struct {
|
type ResendVerifyEmailInput struct {
|
||||||
Email string `json:"email"`
|
Email string `json:"email"`
|
||||||
Identifier string `json:"identifier"`
|
Identifier string `json:"identifier"`
|
||||||
State *string `json:"state"`
|
State *string `json:"state,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ResetPasswordInput struct {
|
type ResetPasswordInput struct {
|
||||||
|
@ -275,44 +275,44 @@ type SMSVerificationRequests struct {
|
||||||
CodeExpiresAt int64 `json:"code_expires_at"`
|
CodeExpiresAt int64 `json:"code_expires_at"`
|
||||||
PhoneNumber string `json:"phone_number"`
|
PhoneNumber string `json:"phone_number"`
|
||||||
CreatedAt int64 `json:"created_at"`
|
CreatedAt int64 `json:"created_at"`
|
||||||
UpdatedAt *int64 `json:"updated_at"`
|
UpdatedAt *int64 `json:"updated_at,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type SessionQueryInput struct {
|
type SessionQueryInput struct {
|
||||||
Roles []string `json:"roles"`
|
Roles []string `json:"roles,omitempty"`
|
||||||
Scope []string `json:"scope"`
|
Scope []string `json:"scope,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type SignUpInput struct {
|
type SignUpInput struct {
|
||||||
Email string `json:"email"`
|
Email string `json:"email"`
|
||||||
GivenName *string `json:"given_name"`
|
GivenName *string `json:"given_name,omitempty"`
|
||||||
FamilyName *string `json:"family_name"`
|
FamilyName *string `json:"family_name,omitempty"`
|
||||||
MiddleName *string `json:"middle_name"`
|
MiddleName *string `json:"middle_name,omitempty"`
|
||||||
Nickname *string `json:"nickname"`
|
Nickname *string `json:"nickname,omitempty"`
|
||||||
Gender *string `json:"gender"`
|
Gender *string `json:"gender,omitempty"`
|
||||||
Birthdate *string `json:"birthdate"`
|
Birthdate *string `json:"birthdate,omitempty"`
|
||||||
PhoneNumber *string `json:"phone_number"`
|
PhoneNumber *string `json:"phone_number,omitempty"`
|
||||||
Picture *string `json:"picture"`
|
Picture *string `json:"picture,omitempty"`
|
||||||
Password string `json:"password"`
|
Password string `json:"password"`
|
||||||
ConfirmPassword string `json:"confirm_password"`
|
ConfirmPassword string `json:"confirm_password"`
|
||||||
Roles []string `json:"roles"`
|
Roles []string `json:"roles,omitempty"`
|
||||||
Scope []string `json:"scope"`
|
Scope []string `json:"scope,omitempty"`
|
||||||
RedirectURI *string `json:"redirect_uri"`
|
RedirectURI *string `json:"redirect_uri,omitempty"`
|
||||||
IsMultiFactorAuthEnabled *bool `json:"is_multi_factor_auth_enabled"`
|
IsMultiFactorAuthEnabled *bool `json:"is_multi_factor_auth_enabled,omitempty"`
|
||||||
State *string `json:"state"`
|
State *string `json:"state,omitempty"`
|
||||||
AppData map[string]interface{} `json:"app_data"`
|
AppData map[string]interface{} `json:"app_data,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TestEndpointRequest struct {
|
type TestEndpointRequest struct {
|
||||||
Endpoint string `json:"endpoint"`
|
Endpoint string `json:"endpoint"`
|
||||||
EventName string `json:"event_name"`
|
EventName string `json:"event_name"`
|
||||||
EventDescription *string `json:"event_description"`
|
EventDescription *string `json:"event_description,omitempty"`
|
||||||
Headers map[string]interface{} `json:"headers"`
|
Headers map[string]interface{} `json:"headers,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type TestEndpointResponse struct {
|
type TestEndpointResponse struct {
|
||||||
HTTPStatus *int64 `json:"http_status"`
|
HTTPStatus *int64 `json:"http_status,omitempty"`
|
||||||
Response *string `json:"response"`
|
Response *string `json:"response,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UpdateAccessInput struct {
|
type UpdateAccessInput struct {
|
||||||
|
@ -321,109 +321,109 @@ type UpdateAccessInput struct {
|
||||||
|
|
||||||
type UpdateEmailTemplateRequest struct {
|
type UpdateEmailTemplateRequest struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
EventName *string `json:"event_name"`
|
EventName *string `json:"event_name,omitempty"`
|
||||||
Template *string `json:"template"`
|
Template *string `json:"template,omitempty"`
|
||||||
Subject *string `json:"subject"`
|
Subject *string `json:"subject,omitempty"`
|
||||||
Design *string `json:"design"`
|
Design *string `json:"design,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UpdateEnvInput struct {
|
type UpdateEnvInput struct {
|
||||||
AccessTokenExpiryTime *string `json:"ACCESS_TOKEN_EXPIRY_TIME"`
|
AccessTokenExpiryTime *string `json:"ACCESS_TOKEN_EXPIRY_TIME,omitempty"`
|
||||||
AdminSecret *string `json:"ADMIN_SECRET"`
|
AdminSecret *string `json:"ADMIN_SECRET,omitempty"`
|
||||||
CustomAccessTokenScript *string `json:"CUSTOM_ACCESS_TOKEN_SCRIPT"`
|
CustomAccessTokenScript *string `json:"CUSTOM_ACCESS_TOKEN_SCRIPT,omitempty"`
|
||||||
OldAdminSecret *string `json:"OLD_ADMIN_SECRET"`
|
OldAdminSecret *string `json:"OLD_ADMIN_SECRET,omitempty"`
|
||||||
SMTPHost *string `json:"SMTP_HOST"`
|
SMTPHost *string `json:"SMTP_HOST,omitempty"`
|
||||||
SMTPPort *string `json:"SMTP_PORT"`
|
SMTPPort *string `json:"SMTP_PORT,omitempty"`
|
||||||
SMTPUsername *string `json:"SMTP_USERNAME"`
|
SMTPUsername *string `json:"SMTP_USERNAME,omitempty"`
|
||||||
SMTPPassword *string `json:"SMTP_PASSWORD"`
|
SMTPPassword *string `json:"SMTP_PASSWORD,omitempty"`
|
||||||
SMTPLocalName *string `json:"SMTP_LOCAL_NAME"`
|
SMTPLocalName *string `json:"SMTP_LOCAL_NAME,omitempty"`
|
||||||
SenderEmail *string `json:"SENDER_EMAIL"`
|
SenderEmail *string `json:"SENDER_EMAIL,omitempty"`
|
||||||
SenderName *string `json:"SENDER_NAME"`
|
SenderName *string `json:"SENDER_NAME,omitempty"`
|
||||||
JwtType *string `json:"JWT_TYPE"`
|
JwtType *string `json:"JWT_TYPE,omitempty"`
|
||||||
JwtSecret *string `json:"JWT_SECRET"`
|
JwtSecret *string `json:"JWT_SECRET,omitempty"`
|
||||||
JwtPrivateKey *string `json:"JWT_PRIVATE_KEY"`
|
JwtPrivateKey *string `json:"JWT_PRIVATE_KEY,omitempty"`
|
||||||
JwtPublicKey *string `json:"JWT_PUBLIC_KEY"`
|
JwtPublicKey *string `json:"JWT_PUBLIC_KEY,omitempty"`
|
||||||
AllowedOrigins []string `json:"ALLOWED_ORIGINS"`
|
AllowedOrigins []string `json:"ALLOWED_ORIGINS,omitempty"`
|
||||||
AppURL *string `json:"APP_URL"`
|
AppURL *string `json:"APP_URL,omitempty"`
|
||||||
ResetPasswordURL *string `json:"RESET_PASSWORD_URL"`
|
ResetPasswordURL *string `json:"RESET_PASSWORD_URL,omitempty"`
|
||||||
AppCookieSecure *bool `json:"APP_COOKIE_SECURE"`
|
AppCookieSecure *bool `json:"APP_COOKIE_SECURE,omitempty"`
|
||||||
AdminCookieSecure *bool `json:"ADMIN_COOKIE_SECURE"`
|
AdminCookieSecure *bool `json:"ADMIN_COOKIE_SECURE,omitempty"`
|
||||||
DisableEmailVerification *bool `json:"DISABLE_EMAIL_VERIFICATION"`
|
DisableEmailVerification *bool `json:"DISABLE_EMAIL_VERIFICATION,omitempty"`
|
||||||
DisableBasicAuthentication *bool `json:"DISABLE_BASIC_AUTHENTICATION"`
|
DisableBasicAuthentication *bool `json:"DISABLE_BASIC_AUTHENTICATION,omitempty"`
|
||||||
DisableMagicLinkLogin *bool `json:"DISABLE_MAGIC_LINK_LOGIN"`
|
DisableMagicLinkLogin *bool `json:"DISABLE_MAGIC_LINK_LOGIN,omitempty"`
|
||||||
DisableLoginPage *bool `json:"DISABLE_LOGIN_PAGE"`
|
DisableLoginPage *bool `json:"DISABLE_LOGIN_PAGE,omitempty"`
|
||||||
DisableSignUp *bool `json:"DISABLE_SIGN_UP"`
|
DisableSignUp *bool `json:"DISABLE_SIGN_UP,omitempty"`
|
||||||
DisableRedisForEnv *bool `json:"DISABLE_REDIS_FOR_ENV"`
|
DisableRedisForEnv *bool `json:"DISABLE_REDIS_FOR_ENV,omitempty"`
|
||||||
DisableStrongPassword *bool `json:"DISABLE_STRONG_PASSWORD"`
|
DisableStrongPassword *bool `json:"DISABLE_STRONG_PASSWORD,omitempty"`
|
||||||
DisableMultiFactorAuthentication *bool `json:"DISABLE_MULTI_FACTOR_AUTHENTICATION"`
|
DisableMultiFactorAuthentication *bool `json:"DISABLE_MULTI_FACTOR_AUTHENTICATION,omitempty"`
|
||||||
EnforceMultiFactorAuthentication *bool `json:"ENFORCE_MULTI_FACTOR_AUTHENTICATION"`
|
EnforceMultiFactorAuthentication *bool `json:"ENFORCE_MULTI_FACTOR_AUTHENTICATION,omitempty"`
|
||||||
Roles []string `json:"ROLES"`
|
Roles []string `json:"ROLES,omitempty"`
|
||||||
ProtectedRoles []string `json:"PROTECTED_ROLES"`
|
ProtectedRoles []string `json:"PROTECTED_ROLES,omitempty"`
|
||||||
DefaultRoles []string `json:"DEFAULT_ROLES"`
|
DefaultRoles []string `json:"DEFAULT_ROLES,omitempty"`
|
||||||
JwtRoleClaim *string `json:"JWT_ROLE_CLAIM"`
|
JwtRoleClaim *string `json:"JWT_ROLE_CLAIM,omitempty"`
|
||||||
GoogleClientID *string `json:"GOOGLE_CLIENT_ID"`
|
GoogleClientID *string `json:"GOOGLE_CLIENT_ID,omitempty"`
|
||||||
GoogleClientSecret *string `json:"GOOGLE_CLIENT_SECRET"`
|
GoogleClientSecret *string `json:"GOOGLE_CLIENT_SECRET,omitempty"`
|
||||||
GithubClientID *string `json:"GITHUB_CLIENT_ID"`
|
GithubClientID *string `json:"GITHUB_CLIENT_ID,omitempty"`
|
||||||
GithubClientSecret *string `json:"GITHUB_CLIENT_SECRET"`
|
GithubClientSecret *string `json:"GITHUB_CLIENT_SECRET,omitempty"`
|
||||||
FacebookClientID *string `json:"FACEBOOK_CLIENT_ID"`
|
FacebookClientID *string `json:"FACEBOOK_CLIENT_ID,omitempty"`
|
||||||
FacebookClientSecret *string `json:"FACEBOOK_CLIENT_SECRET"`
|
FacebookClientSecret *string `json:"FACEBOOK_CLIENT_SECRET,omitempty"`
|
||||||
LinkedinClientID *string `json:"LINKEDIN_CLIENT_ID"`
|
LinkedinClientID *string `json:"LINKEDIN_CLIENT_ID,omitempty"`
|
||||||
LinkedinClientSecret *string `json:"LINKEDIN_CLIENT_SECRET"`
|
LinkedinClientSecret *string `json:"LINKEDIN_CLIENT_SECRET,omitempty"`
|
||||||
AppleClientID *string `json:"APPLE_CLIENT_ID"`
|
AppleClientID *string `json:"APPLE_CLIENT_ID,omitempty"`
|
||||||
AppleClientSecret *string `json:"APPLE_CLIENT_SECRET"`
|
AppleClientSecret *string `json:"APPLE_CLIENT_SECRET,omitempty"`
|
||||||
TwitterClientID *string `json:"TWITTER_CLIENT_ID"`
|
TwitterClientID *string `json:"TWITTER_CLIENT_ID,omitempty"`
|
||||||
TwitterClientSecret *string `json:"TWITTER_CLIENT_SECRET"`
|
TwitterClientSecret *string `json:"TWITTER_CLIENT_SECRET,omitempty"`
|
||||||
MicrosoftClientID *string `json:"MICROSOFT_CLIENT_ID"`
|
MicrosoftClientID *string `json:"MICROSOFT_CLIENT_ID,omitempty"`
|
||||||
MicrosoftClientSecret *string `json:"MICROSOFT_CLIENT_SECRET"`
|
MicrosoftClientSecret *string `json:"MICROSOFT_CLIENT_SECRET,omitempty"`
|
||||||
MicrosoftActiveDirectoryTenantID *string `json:"MICROSOFT_ACTIVE_DIRECTORY_TENANT_ID"`
|
MicrosoftActiveDirectoryTenantID *string `json:"MICROSOFT_ACTIVE_DIRECTORY_TENANT_ID,omitempty"`
|
||||||
OrganizationName *string `json:"ORGANIZATION_NAME"`
|
OrganizationName *string `json:"ORGANIZATION_NAME,omitempty"`
|
||||||
OrganizationLogo *string `json:"ORGANIZATION_LOGO"`
|
OrganizationLogo *string `json:"ORGANIZATION_LOGO,omitempty"`
|
||||||
DefaultAuthorizeResponseType *string `json:"DEFAULT_AUTHORIZE_RESPONSE_TYPE"`
|
DefaultAuthorizeResponseType *string `json:"DEFAULT_AUTHORIZE_RESPONSE_TYPE,omitempty"`
|
||||||
DefaultAuthorizeResponseMode *string `json:"DEFAULT_AUTHORIZE_RESPONSE_MODE"`
|
DefaultAuthorizeResponseMode *string `json:"DEFAULT_AUTHORIZE_RESPONSE_MODE,omitempty"`
|
||||||
DisablePlayground *bool `json:"DISABLE_PLAYGROUND"`
|
DisablePlayground *bool `json:"DISABLE_PLAYGROUND,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UpdateProfileInput struct {
|
type UpdateProfileInput struct {
|
||||||
OldPassword *string `json:"old_password"`
|
OldPassword *string `json:"old_password,omitempty"`
|
||||||
NewPassword *string `json:"new_password"`
|
NewPassword *string `json:"new_password,omitempty"`
|
||||||
ConfirmNewPassword *string `json:"confirm_new_password"`
|
ConfirmNewPassword *string `json:"confirm_new_password,omitempty"`
|
||||||
Email *string `json:"email"`
|
Email *string `json:"email,omitempty"`
|
||||||
GivenName *string `json:"given_name"`
|
GivenName *string `json:"given_name,omitempty"`
|
||||||
FamilyName *string `json:"family_name"`
|
FamilyName *string `json:"family_name,omitempty"`
|
||||||
MiddleName *string `json:"middle_name"`
|
MiddleName *string `json:"middle_name,omitempty"`
|
||||||
Nickname *string `json:"nickname"`
|
Nickname *string `json:"nickname,omitempty"`
|
||||||
Gender *string `json:"gender"`
|
Gender *string `json:"gender,omitempty"`
|
||||||
Birthdate *string `json:"birthdate"`
|
Birthdate *string `json:"birthdate,omitempty"`
|
||||||
PhoneNumber *string `json:"phone_number"`
|
PhoneNumber *string `json:"phone_number,omitempty"`
|
||||||
Picture *string `json:"picture"`
|
Picture *string `json:"picture,omitempty"`
|
||||||
IsMultiFactorAuthEnabled *bool `json:"is_multi_factor_auth_enabled"`
|
IsMultiFactorAuthEnabled *bool `json:"is_multi_factor_auth_enabled,omitempty"`
|
||||||
AppData map[string]interface{} `json:"app_data"`
|
AppData map[string]interface{} `json:"app_data,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UpdateUserInput struct {
|
type UpdateUserInput struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Email *string `json:"email"`
|
Email *string `json:"email,omitempty"`
|
||||||
EmailVerified *bool `json:"email_verified"`
|
EmailVerified *bool `json:"email_verified,omitempty"`
|
||||||
GivenName *string `json:"given_name"`
|
GivenName *string `json:"given_name,omitempty"`
|
||||||
FamilyName *string `json:"family_name"`
|
FamilyName *string `json:"family_name,omitempty"`
|
||||||
MiddleName *string `json:"middle_name"`
|
MiddleName *string `json:"middle_name,omitempty"`
|
||||||
Nickname *string `json:"nickname"`
|
Nickname *string `json:"nickname,omitempty"`
|
||||||
Gender *string `json:"gender"`
|
Gender *string `json:"gender,omitempty"`
|
||||||
Birthdate *string `json:"birthdate"`
|
Birthdate *string `json:"birthdate,omitempty"`
|
||||||
PhoneNumber *string `json:"phone_number"`
|
PhoneNumber *string `json:"phone_number,omitempty"`
|
||||||
Picture *string `json:"picture"`
|
Picture *string `json:"picture,omitempty"`
|
||||||
Roles []*string `json:"roles"`
|
Roles []*string `json:"roles,omitempty"`
|
||||||
IsMultiFactorAuthEnabled *bool `json:"is_multi_factor_auth_enabled"`
|
IsMultiFactorAuthEnabled *bool `json:"is_multi_factor_auth_enabled,omitempty"`
|
||||||
AppData map[string]interface{} `json:"app_data"`
|
AppData map[string]interface{} `json:"app_data,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type UpdateWebhookRequest struct {
|
type UpdateWebhookRequest struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
EventName *string `json:"event_name"`
|
EventName *string `json:"event_name,omitempty"`
|
||||||
EventDescription *string `json:"event_description"`
|
EventDescription *string `json:"event_description,omitempty"`
|
||||||
Endpoint *string `json:"endpoint"`
|
Endpoint *string `json:"endpoint,omitempty"`
|
||||||
Enabled *bool `json:"enabled"`
|
Enabled *bool `json:"enabled,omitempty"`
|
||||||
Headers map[string]interface{} `json:"headers"`
|
Headers map[string]interface{} `json:"headers,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type User struct {
|
type User struct {
|
||||||
|
@ -431,22 +431,22 @@ type User struct {
|
||||||
Email string `json:"email"`
|
Email string `json:"email"`
|
||||||
EmailVerified bool `json:"email_verified"`
|
EmailVerified bool `json:"email_verified"`
|
||||||
SignupMethods string `json:"signup_methods"`
|
SignupMethods string `json:"signup_methods"`
|
||||||
GivenName *string `json:"given_name"`
|
GivenName *string `json:"given_name,omitempty"`
|
||||||
FamilyName *string `json:"family_name"`
|
FamilyName *string `json:"family_name,omitempty"`
|
||||||
MiddleName *string `json:"middle_name"`
|
MiddleName *string `json:"middle_name,omitempty"`
|
||||||
Nickname *string `json:"nickname"`
|
Nickname *string `json:"nickname,omitempty"`
|
||||||
PreferredUsername *string `json:"preferred_username"`
|
PreferredUsername *string `json:"preferred_username,omitempty"`
|
||||||
Gender *string `json:"gender"`
|
Gender *string `json:"gender,omitempty"`
|
||||||
Birthdate *string `json:"birthdate"`
|
Birthdate *string `json:"birthdate,omitempty"`
|
||||||
PhoneNumber *string `json:"phone_number"`
|
PhoneNumber *string `json:"phone_number,omitempty"`
|
||||||
PhoneNumberVerified *bool `json:"phone_number_verified"`
|
PhoneNumberVerified *bool `json:"phone_number_verified,omitempty"`
|
||||||
Picture *string `json:"picture"`
|
Picture *string `json:"picture,omitempty"`
|
||||||
Roles []string `json:"roles"`
|
Roles []string `json:"roles"`
|
||||||
CreatedAt *int64 `json:"created_at"`
|
CreatedAt *int64 `json:"created_at,omitempty"`
|
||||||
UpdatedAt *int64 `json:"updated_at"`
|
UpdatedAt *int64 `json:"updated_at,omitempty"`
|
||||||
RevokedTimestamp *int64 `json:"revoked_timestamp"`
|
RevokedTimestamp *int64 `json:"revoked_timestamp,omitempty"`
|
||||||
IsMultiFactorAuthEnabled *bool `json:"is_multi_factor_auth_enabled"`
|
IsMultiFactorAuthEnabled *bool `json:"is_multi_factor_auth_enabled,omitempty"`
|
||||||
AppData map[string]interface{} `json:"app_data"`
|
AppData map[string]interface{} `json:"app_data,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Users struct {
|
type Users struct {
|
||||||
|
@ -457,17 +457,17 @@ type Users struct {
|
||||||
type ValidateJWTTokenInput struct {
|
type ValidateJWTTokenInput struct {
|
||||||
TokenType string `json:"token_type"`
|
TokenType string `json:"token_type"`
|
||||||
Token string `json:"token"`
|
Token string `json:"token"`
|
||||||
Roles []string `json:"roles"`
|
Roles []string `json:"roles,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ValidateJWTTokenResponse struct {
|
type ValidateJWTTokenResponse struct {
|
||||||
IsValid bool `json:"is_valid"`
|
IsValid bool `json:"is_valid"`
|
||||||
Claims map[string]interface{} `json:"claims"`
|
Claims map[string]interface{} `json:"claims,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ValidateSessionInput struct {
|
type ValidateSessionInput struct {
|
||||||
Cookie string `json:"cookie"`
|
Cookie string `json:"cookie"`
|
||||||
Roles []string `json:"roles"`
|
Roles []string `json:"roles,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type ValidateSessionResponse struct {
|
type ValidateSessionResponse struct {
|
||||||
|
@ -477,14 +477,14 @@ type ValidateSessionResponse struct {
|
||||||
|
|
||||||
type VerificationRequest struct {
|
type VerificationRequest struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
Identifier *string `json:"identifier"`
|
Identifier *string `json:"identifier,omitempty"`
|
||||||
Token *string `json:"token"`
|
Token *string `json:"token,omitempty"`
|
||||||
Email *string `json:"email"`
|
Email *string `json:"email,omitempty"`
|
||||||
Expires *int64 `json:"expires"`
|
Expires *int64 `json:"expires,omitempty"`
|
||||||
CreatedAt *int64 `json:"created_at"`
|
CreatedAt *int64 `json:"created_at,omitempty"`
|
||||||
UpdatedAt *int64 `json:"updated_at"`
|
UpdatedAt *int64 `json:"updated_at,omitempty"`
|
||||||
Nonce *string `json:"nonce"`
|
Nonce *string `json:"nonce,omitempty"`
|
||||||
RedirectURI *string `json:"redirect_uri"`
|
RedirectURI *string `json:"redirect_uri,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type VerificationRequests struct {
|
type VerificationRequests struct {
|
||||||
|
@ -494,35 +494,35 @@ type VerificationRequests struct {
|
||||||
|
|
||||||
type VerifyEmailInput struct {
|
type VerifyEmailInput struct {
|
||||||
Token string `json:"token"`
|
Token string `json:"token"`
|
||||||
State *string `json:"state"`
|
State *string `json:"state,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type VerifyOTPRequest struct {
|
type VerifyOTPRequest struct {
|
||||||
Email *string `json:"email"`
|
Email *string `json:"email,omitempty"`
|
||||||
PhoneNumber *string `json:"phone_number"`
|
PhoneNumber *string `json:"phone_number,omitempty"`
|
||||||
Otp string `json:"otp"`
|
Otp string `json:"otp"`
|
||||||
State *string `json:"state"`
|
State *string `json:"state,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type Webhook struct {
|
type Webhook struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
EventName *string `json:"event_name"`
|
EventName *string `json:"event_name,omitempty"`
|
||||||
EventDescription *string `json:"event_description"`
|
EventDescription *string `json:"event_description,omitempty"`
|
||||||
Endpoint *string `json:"endpoint"`
|
Endpoint *string `json:"endpoint,omitempty"`
|
||||||
Enabled *bool `json:"enabled"`
|
Enabled *bool `json:"enabled,omitempty"`
|
||||||
Headers map[string]interface{} `json:"headers"`
|
Headers map[string]interface{} `json:"headers,omitempty"`
|
||||||
CreatedAt *int64 `json:"created_at"`
|
CreatedAt *int64 `json:"created_at,omitempty"`
|
||||||
UpdatedAt *int64 `json:"updated_at"`
|
UpdatedAt *int64 `json:"updated_at,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type WebhookLog struct {
|
type WebhookLog struct {
|
||||||
ID string `json:"id"`
|
ID string `json:"id"`
|
||||||
HTTPStatus *int64 `json:"http_status"`
|
HTTPStatus *int64 `json:"http_status,omitempty"`
|
||||||
Response *string `json:"response"`
|
Response *string `json:"response,omitempty"`
|
||||||
Request *string `json:"request"`
|
Request *string `json:"request,omitempty"`
|
||||||
WebhookID *string `json:"webhook_id"`
|
WebhookID *string `json:"webhook_id,omitempty"`
|
||||||
CreatedAt *int64 `json:"created_at"`
|
CreatedAt *int64 `json:"created_at,omitempty"`
|
||||||
UpdatedAt *int64 `json:"updated_at"`
|
UpdatedAt *int64 `json:"updated_at,omitempty"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type WebhookLogs struct {
|
type WebhookLogs struct {
|
||||||
|
|
|
@ -2,6 +2,7 @@ package graph
|
||||||
|
|
||||||
// This file will be automatically regenerated based on the schema, any resolver implementations
|
// This file will be automatically regenerated based on the schema, any resolver implementations
|
||||||
// will be copied through when generating and any unknown code will be moved to the end.
|
// will be copied through when generating and any unknown code will be moved to the end.
|
||||||
|
// Code generated by github.com/99designs/gqlgen version v0.17.39
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user