dto

package
v3.0.8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 29, 2023 License: MIT Imports: 0 Imported by: 0

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

This section is empty.

Types ¶

type AccessTokenDto ¶

type AccessTokenDto struct {
}

type AccessTokenResDto ¶

type AccessTokenResDto struct {
	AccessToken string `json:"access_token"`
	ExpiresIn   int    `json:"expires_in"`
}

type AccessibleAppsDto ¶

type AccessibleAppsDto struct {
	AppId       string `json:"appId"`
	AppName     string `json:"appName"`
	AppLoginUrl string `json:"appLoginUrl"`
	Active      bool   `json:"active"`
}

type ActionAuth ¶ added in v3.0.4

type ActionAuth struct {
	UserIds []string `json:"userIds"`
	Action  string   `json:"action"`
}

type AddApplicationPermissionRecord ¶

type AddApplicationPermissionRecord struct {
	List  []ApplicationPermissionRecordItem `json:"list"`
	AppId string                            `json:"appId"`
}

type AddDepartmentMembersReqDto ¶

type AddDepartmentMembersReqDto struct {
	UserIds          []string `json:"userIds"`
	OrganizationCode string   `json:"organizationCode"`
	DepartmentId     string   `json:"departmentId"`
	DepartmentIdType string   `json:"departmentIdType,omitempty"`
	TenantId         string   `json:"tenantId,omitempty"`
}

type AddGroupMembersReqDto ¶

type AddGroupMembersReqDto struct {
	UserIds []string `json:"userIds"`
	Code    string   `json:"code"`
}

type AddTenantUsersDto ¶

type AddTenantUsersDto struct {
	LinkUserIds []string `json:"linkUserIds"`
	TenantId    string   `json:"tenantId"`
}

type AdminAuditLogDto ¶

type AdminAuditLogDto struct {
	AdminUserId          string          `json:"adminUserId"`
	AdminUserAvatar      string          `json:"adminUserAvatar"`
	AdminUserDisplayName string          `json:"adminUserDisplayName"`
	ClientIp             string          `json:"clientIp,omitempty"`
	OperationType        string          `json:"operationType"`
	ResourceType         string          `json:"resourceType"`
	EventDetail          string          `json:"eventDetail,omitempty"`
	OperationParam       string          `json:"operationParam,omitempty"`
	OriginValue          string          `json:"originValue,omitempty"`
	TargetValue          string          `json:"targetValue,omitempty"`
	Success              bool            `json:"success"`
	UserAgent            string          `json:"userAgent"`
	ParsedUserAgent      ParsedUserAgent `json:"parsedUserAgent"`
	Geoip                GeoIp           `json:"geoip"`
	Timestamp            string          `json:"timestamp"`
	RequestId            string          `json:"requestId"`
}

type AdminAuditLogRespData ¶

type AdminAuditLogRespData struct {
	TotalCount int                `json:"totalCount"`
	List       []AdminAuditLogDto `json:"list"`
}

type AdminAuditLogRespDto ¶

type AdminAuditLogRespDto struct {
	StatusCode int                   `json:"statusCode"`
	Message    string                `json:"message"`
	ApiCode    int                   `json:"apiCode,omitempty"`
	RequestId  string                `json:"requestId,omitempty"`
	Data       AdminAuditLogRespData `json:"data"`
}

type AliExmailEmailProviderConfig ¶

type AliExmailEmailProviderConfig struct {
	Sender     string `json:"sender"`
	SenderPass string `json:"senderPass"`
}

type AliExmailEmailProviderConfigInput ¶

type AliExmailEmailProviderConfigInput struct {
	Sender     string `json:"sender"`
	SenderPass string `json:"senderPass"`
}

type AlipayAuthInfoDataDto ¶

type AlipayAuthInfoDataDto struct {
	AuthInfo string `json:"authInfo"`
}

type Any ¶

type Any struct {
}

type AppDto ¶

type AppDto struct {
	AppId                   string `json:"appId"`
	AppName                 string `json:"appName"`
	AppLoginUrl             string `json:"appLoginUrl"`
	AppDefaultLoginStrategy string `json:"appDefaultLoginStrategy"`
}

type AppListRespDto ¶

type AppListRespDto struct {
	StatusCode int      `json:"statusCode"`
	Message    string   `json:"message"`
	ApiCode    int      `json:"apiCode,omitempty"`
	RequestId  string   `json:"requestId,omitempty"`
	Data       []AppDto `json:"data"`
}

type ApplicationAgreementDto ¶

type ApplicationAgreementDto struct {
	DisplayAt  []string `json:"displayAt"`
	IsRequired bool     `json:"isRequired"`
	Lang       string   `json:"lang"`
	Content    string   `json:"content"`
}

type ApplicationBrandingConfig ¶

type ApplicationBrandingConfig struct {
	CustomCSSEnabled          bool                      `json:"customCSSEnabled"`
	CustomCSS                 string                    `json:"customCSS,omitempty"`
	GuardVersion              string                    `json:"guardVersion"`
	CustomLoadingImage        string                    `json:"customLoadingImage,omitempty"`
	CustomBackground          string                    `json:"customBackground,omitempty"`
	ShowChangeLanguageButton  bool                      `json:"showChangeLanguageButton"`
	DefaultLanguage           string                    `json:"defaultLanguage"`
	ShowForgetPasswordButton  bool                      `json:"showForgetPasswordButton"`
	ShowEnterpriseConnections bool                      `json:"showEnterpriseConnections"`
	ShowSocialConnections     bool                      `json:"showSocialConnections"`
	ShowAgreement             bool                      `json:"showAgreement"`
	Agreements                []ApplicationAgreementDto `json:"agreements"`
}

type ApplicationBrandingConfigInputDto ¶

type ApplicationBrandingConfigInputDto struct {
	CustomCSSEnabled          bool   `json:"customCSSEnabled,omitempty"`
	CustomCSS                 string `json:"customCSS,omitempty"`
	GuardVersion              string `json:"guardVersion,omitempty"`
	CustomLoadingImage        string `json:"customLoadingImage,omitempty"`
	CustomBackground          string `json:"customBackground,omitempty"`
	ShowChangeLanguageButton  bool   `json:"showChangeLanguageButton,omitempty"`
	DefaultLanguage           string `json:"defaultLanguage,omitempty"`
	ShowForgetPasswordButton  bool   `json:"showForgetPasswordButton,omitempty"`
	ShowEnterpriseConnections bool   `json:"showEnterpriseConnections,omitempty"`
	ShowSocialConnections     bool   `json:"showSocialConnections,omitempty"`
}

type ApplicationDefaultLoginMethod ¶

type ApplicationDefaultLoginMethod struct {
	ConnectionType     string `json:"connectionType"`
	QrcodeType         string `json:"qrcodeType"`
	QrcodeExtIdpConnId string `json:"qrcodeExtIdpConnId"`
	AdExtIdpConnId     string `json:"adExtIdpConnId"`
	LdapExtIdpConnId   string `json:"ldapExtIdpConnId"`
}

type ApplicationDefaultLoginMethodInput ¶

type ApplicationDefaultLoginMethodInput struct {
	ConnectionType     string `json:"connectionType"`
	QrcodeType         string `json:"qrcodeType,omitempty"`
	QrcodeExtIdpConnId string `json:"qrcodeExtIdpConnId,omitempty"`
	AdExtIdpConnId     string `json:"adExtIdpConnId,omitempty"`
	LdapExtIdpConnId   string `json:"ldapExtIdpConnId,omitempty"`
}

type ApplicationDto ¶

type ApplicationDto struct {
	AppId                 string                    `json:"appId"`
	AppIdentifier         string                    `json:"appIdentifier"`
	AppName               string                    `json:"appName"`
	AppDescription        string                    `json:"appDescription,omitempty"`
	AppType               string                    `json:"appType"`
	UserPoolId            string                    `json:"userPoolId"`
	IsIntegrateApp        bool                      `json:"isIntegrateApp"`
	DefaultProtocol       string                    `json:"defaultProtocol"`
	RedirectUris          []string                  `json:"redirectUris"`
	LogoutRedirectUris    []string                  `json:"logoutRedirectUris"`
	InitLoginUri          string                    `json:"initLoginUri"`
	SsoEnabled            bool                      `json:"ssoEnabled"`
	SsoEnabledAt          string                    `json:"ssoEnabledAt,omitempty"`
	LoginConfig           ApplicationLoginConfigDto `json:"loginConfig"`
	RegisterConfig        ApplicationRegisterConfig `json:"registerConfig"`
	BrandingConfig        ApplicationBrandingConfig `json:"brandingConfig"`
	OidcConfig            OIDCConfig                `json:"oidcConfig"`
	SamlProviderEnabled   bool                      `json:"samlProviderEnabled"`
	SamlConfig            SamlIdpConfig             `json:"samlConfig,omitempty"`
	OauthProviderEnabled  bool                      `json:"oauthProviderEnabled"`
	OauthConfig           OauthIdpConfig            `json:"oauthConfig,omitempty"`
	CasProviderEnabled    bool                      `json:"casProviderEnabled"`
	CasConfig             CasIdPConfig              `json:"casConfig,omitempty"`
	CustomBrandingEnabled bool                      `json:"customBrandingEnabled"`
	CustomSecurityEnabled bool                      `json:"customSecurityEnabled"`
	Template              string                    `json:"template,omitempty"`
}

type ApplicationEnabledExtIdpConnDto ¶

type ApplicationEnabledExtIdpConnDto struct {
	IsSocial              bool   `json:"isSocial"`
	ExtIdpId              string `json:"extIdpId"`
	ExtIdpType            string `json:"extIdpType"`
	ExtIdpConnId          string `json:"extIdpConnId"`
	ExtIdpConnType        string `json:"extIdpConnType"`
	ExtIdpConnIdentifier  string `json:"extIdpConnIdentifier"`
	ExtIdpConnDisplayName string `json:"extIdpConnDisplayName"`
	Enabled               bool   `json:"enabled,omitempty"`
}

type ApplicationEnabledExtIdpConnInputDto ¶

type ApplicationEnabledExtIdpConnInputDto struct {
	ExtIdpConnId string `json:"extIdpConnId"`
}

type ApplicationLoginConfigDto ¶

type ApplicationLoginConfigDto struct {
	MergeLoginAndRegisterPage bool                              `json:"mergeLoginAndRegisterPage"`
	EnabledBasicLoginMethods  []string                          `json:"enabledBasicLoginMethods"`
	DefaultLoginMethod        ApplicationDefaultLoginMethod     `json:"defaultLoginMethod"`
	EnabledExtIdpConns        []ApplicationEnabledExtIdpConnDto `json:"enabledExtIdpConns"`
	ShowAuthorizationPage     bool                              `json:"showAuthorizationPage"`
}

type ApplicationLoginConfigInputDto ¶

type ApplicationLoginConfigInputDto struct {
	MergeLoginAndRegisterPage bool                                   `json:"mergeLoginAndRegisterPage,omitempty"`
	EnabledBasicLoginMethods  []string                               `json:"enabledBasicLoginMethods,omitempty"`
	DefaultLoginMethod        ApplicationDefaultLoginMethodInput     `json:"defaultLoginMethod,omitempty"`
	EnabledExtIdpConnIds      []ApplicationEnabledExtIdpConnInputDto `json:"enabledExtIdpConnIds,omitempty"`
	EnabledAllExtIdpConns     bool                                   `json:"enabledAllExtIdpConns,omitempty"`
	ShowAuthorizationPage     bool                                   `json:"showAuthorizationPage"`
}

type ApplicationPaginatedDataDto ¶

type ApplicationPaginatedDataDto struct {
	List       []ApplicationDto `json:"list"`
	TotalCount int              `json:"totalCount"`
}

type ApplicationPaginatedRespDto ¶

type ApplicationPaginatedRespDto struct {
	StatusCode int                         `json:"statusCode"`
	Message    string                      `json:"message"`
	ApiCode    int                         `json:"apiCode,omitempty"`
	RequestId  string                      `json:"requestId,omitempty"`
	Data       ApplicationPaginatedDataDto `json:"data"`
}

type ApplicationPermissionRecordItem ¶

type ApplicationPermissionRecordItem struct {
	TargetType        string   `json:"targetType"`
	NamespaceCode     string   `json:"namespaceCode,omitempty"`
	InheritByChildren bool     `json:"inheritByChildren,omitempty"`
	TargetIdentifier  []string `json:"targetIdentifier"`
	Effect            string   `json:"effect"`
}

type ApplicationRegisterConfig ¶

type ApplicationRegisterConfig struct {
	EnabledBasicRegisterMethods []string `json:"enabledBasicRegisterMethods"`
	DefaultRegisterMethod       string   `json:"defaultRegisterMethod"`
}

type ApplicationRegisterConfigInputDto ¶

type ApplicationRegisterConfigInputDto struct {
	EnabledBasicRegisterMethods []string `json:"enabledBasicRegisterMethods"`
	DefaultRegisterMethod       string   `json:"defaultRegisterMethod"`
}

type ApplicationSimpleInfoDto ¶

type ApplicationSimpleInfoDto struct {
	AppId          string `json:"appId"`
	AppIdentifier  string `json:"appIdentifier"`
	AppName        string `json:"appName"`
	AppDescription string `json:"appDescription,omitempty"`
	AppType        string `json:"appType"`
	IsIntegrateApp bool   `json:"isIntegrateApp"`
}

type ApplicationSimpleInfoPaginatedDataDto ¶

type ApplicationSimpleInfoPaginatedDataDto struct {
	List       []ApplicationSimpleInfoDto `json:"list"`
	TotalCount int                        `json:"totalCount"`
}

type ApplicationSimpleInfoPaginatedRespDto ¶

type ApplicationSimpleInfoPaginatedRespDto struct {
	StatusCode int                                   `json:"statusCode"`
	Message    string                                `json:"message"`
	ApiCode    int                                   `json:"apiCode,omitempty"`
	RequestId  string                                `json:"requestId,omitempty"`
	Data       ApplicationSimpleInfoPaginatedDataDto `json:"data"`
}

type ApplicationSimpleInfoSingleRespDto ¶

type ApplicationSimpleInfoSingleRespDto struct {
	StatusCode int                      `json:"statusCode"`
	Message    string                   `json:"message"`
	ApiCode    int                      `json:"apiCode,omitempty"`
	RequestId  string                   `json:"requestId,omitempty"`
	Data       ApplicationSimpleInfoDto `json:"data"`
}

type ApplicationSingleRespDto ¶

type ApplicationSingleRespDto struct {
	StatusCode int            `json:"statusCode"`
	Message    string         `json:"message"`
	ApiCode    int            `json:"apiCode,omitempty"`
	RequestId  string         `json:"requestId,omitempty"`
	Data       ApplicationDto `json:"data"`
}

type ArchivedUsersListPagingDto ¶

type ArchivedUsersListPagingDto struct {
	TotalCount int                        `json:"totalCount"`
	List       []ListArchivedUsersRespDto `json:"list"`
}

type ArrResourceAuthAction ¶ added in v3.0.7

type ArrResourceAuthAction struct {
	Values  []string `json:"values,omitempty"`
	Actions []string `json:"actions,omitempty"`
}

type ArrayAuthorize ¶ added in v3.0.4

type ArrayAuthorize struct {
	Values  []string `json:"values"`
	Actions []string `json:"actions"`
}

type ArrayOrStringActionDto ¶ added in v3.0.4

type ArrayOrStringActionDto struct {
	Action  string `json:"action"`
	Enabled bool   `json:"enabled"`
}

type AsaAccountDto ¶ added in v3.0.4

type AsaAccountDto struct {
	AppId       string      `json:"appId"`
	AccountId   string      `json:"accountId"`
	AccountInfo interface{} `json:"accountInfo"`
}

type AsaAccountListRespDto ¶ added in v3.0.4

type AsaAccountListRespDto struct {
	StatusCode int             `json:"statusCode"`
	Message    string          `json:"message"`
	ApiCode    int             `json:"apiCode,omitempty"`
	RequestId  string          `json:"requestId,omitempty"`
	Data       []AsaAccountDto `json:"data"`
}

type AsaAccountPaginatedDataDto ¶ added in v3.0.4

type AsaAccountPaginatedDataDto struct {
	List       []AsaAccountDto `json:"list"`
	TotalCount int             `json:"totalCount"`
}

type AsaAccountPaginatedRespDto ¶ added in v3.0.4

type AsaAccountPaginatedRespDto struct {
	StatusCode int                        `json:"statusCode"`
	Message    string                     `json:"message"`
	ApiCode    int                        `json:"apiCode,omitempty"`
	RequestId  string                     `json:"requestId,omitempty"`
	Data       AsaAccountPaginatedDataDto `json:"data"`
}

type AsaAccountSingleNullableRespDto ¶ added in v3.0.4

type AsaAccountSingleNullableRespDto struct {
	StatusCode int           `json:"statusCode"`
	Message    string        `json:"message"`
	ApiCode    int           `json:"apiCode,omitempty"`
	RequestId  string        `json:"requestId,omitempty"`
	Data       AsaAccountDto `json:"data"`
}

type AsaAccountSingleRespDto ¶ added in v3.0.4

type AsaAccountSingleRespDto struct {
	StatusCode int           `json:"statusCode"`
	Message    string        `json:"message"`
	ApiCode    int           `json:"apiCode,omitempty"`
	RequestId  string        `json:"requestId,omitempty"`
	Data       AsaAccountDto `json:"data"`
}

type AsaAccountTargetDto ¶ added in v3.0.4

type AsaAccountTargetDto struct {
	TargetType       string `json:"targetType"`
	TargetIdentifier string `json:"targetIdentifier"`
}

type AssignAsaAccountItem ¶ added in v3.0.4

type AssignAsaAccountItem struct {
	TargetType        string   `json:"targetType"`
	TargetIdentifiers []string `json:"targetIdentifiers"`
}

type AssignAsaAccountsDto ¶ added in v3.0.4

type AssignAsaAccountsDto struct {
	AppId     string                 `json:"appId"`
	AccountId string                 `json:"accountId"`
	Targets   []AssignAsaAccountItem `json:"targets"`
}

type AssignRoleBatchDto ¶

type AssignRoleBatchDto struct {
	Targets []TargetDto   `json:"targets"`
	Roles   []RoleCodeDto `json:"roles"`
}

type AssignRoleDto ¶

type AssignRoleDto struct {
	Targets    []TargetDto `json:"targets"`
	Code       string      `json:"code"`
	EndTime    int         `json:"endTime,omitempty"`
	EnableTime int         `json:"enableTime,omitempty"`
	Namespace  string      `json:"namespace,omitempty"`
}

type AssociateTenantResourceDto ¶

type AssociateTenantResourceDto struct {
	Code        string `json:"code"`
	Association bool   `json:"association"`
	AppId       string `json:"appId"`
	TenantId    string `json:"tenantId,omitempty"`
}

type AssociationExtIdpDto ¶

type AssociationExtIdpDto struct {
	Association bool   `json:"association"`
	Id          string `json:"id"`
	TenantId    string `json:"tenantId,omitempty"`
}

type AssociationResourceDto ¶

type AssociationResourceDto struct {
	AppId       string `json:"appId"`
	Association bool   `json:"association"`
	Code        string `json:"code"`
	TenantId    string `json:"tenantId,omitempty"`
}

type AuthEnvParams ¶ added in v3.0.5

type AuthEnvParams struct {
	Ip          string `json:"ip,omitempty"`
	City        string `json:"city,omitempty"`
	Province    string `json:"province,omitempty"`
	Country     string `json:"country,omitempty"`
	DeviceType  string `json:"deviceType,omitempty"`
	SystemType  string `json:"systemType,omitempty"`
	BrowserType string `json:"browserType,omitempty"`
	RequestDate string `json:"requestDate,omitempty"`
}

type AuthenticateByADDto ¶

type AuthenticateByADDto struct {
	Password       string `json:"password"`
	SAMAccountName string `json:"sAMAccountName"`
}

type AuthenticateByAlipayDto ¶

type AuthenticateByAlipayDto struct {
	Code string `json:"code,omitempty"`
}

type AuthenticateByGoogleDto ¶

type AuthenticateByGoogleDto struct {
	Code string `json:"code"`
}

type AuthenticateByLDAPDto ¶

type AuthenticateByLDAPDto struct {
	Password       string `json:"password"`
	SAMAccountName string `json:"sAMAccountName"`
}

type AuthenticateByLarkInternalDto ¶

type AuthenticateByLarkInternalDto struct {
	Code string `json:"code,omitempty"`
}

type AuthenticateByLarkPublicDto ¶

type AuthenticateByLarkPublicDto struct {
	Code string `json:"code,omitempty"`
}

type AuthenticateByPassCodeDto ¶

type AuthenticateByPassCodeDto struct {
	PassCode         string `json:"passCode"`
	Email            string `json:"email,omitempty"`
	Phone            string `json:"phone,omitempty"`
	PhoneCountryCode string `json:"phoneCountryCode,omitempty"`
}

type AuthenticateByPasswordDto ¶

type AuthenticateByPasswordDto struct {
	Password string `json:"password"`
	Account  string `json:"account,omitempty"`
	Email    string `json:"email,omitempty"`
	Username string `json:"username,omitempty"`
	Phone    string `json:"phone,omitempty"`
}

type AuthenticateByWechatDto ¶

type AuthenticateByWechatDto struct {
	Code string `json:"code,omitempty"`
}

type AuthenticateByWechatMiniProgramCodeDto ¶

type AuthenticateByWechatMiniProgramCodeDto struct {
	EncryptedData string `json:"encryptedData"`
	Iv            string `json:"iv"`
	Code          string `json:"code"`
}

type AuthenticateByWechatMiniProgramPhoneDto ¶

type AuthenticateByWechatMiniProgramPhoneDto struct {
	EncryptedData string `json:"encryptedData"`
	Iv            string `json:"iv"`
	Code          string `json:"code"`
}

type AuthenticateByWechatworkAgencyDto ¶

type AuthenticateByWechatworkAgencyDto struct {
	Code string `json:"code,omitempty"`
}

type AuthenticateByWechatworkDto ¶

type AuthenticateByWechatworkDto struct {
	Code string `json:"code,omitempty"`
}

type AuthenticateByYidunDto ¶

type AuthenticateByYidunDto struct {
	Token       string `json:"token,omitempty"`
	AccessToken string `json:"accessToken,omitempty"`
}

type AuthorizeApplicationAccessDto ¶

type AuthorizeApplicationAccessDto struct {
	AppId string                            `json:"appId"`
	List  []ApplicationPermissionRecordItem `json:"list"`
}

type AuthorizeResourceItem ¶

type AuthorizeResourceItem struct {
	TargetType        string            `json:"targetType"`
	TargetIdentifiers []string          `json:"targetIdentifiers"`
	Resources         []ResourceItemDto `json:"resources"`
}

type AuthorizeResourcesDto ¶

type AuthorizeResourcesDto struct {
	List      []AuthorizeResourceItem `json:"list"`
	Namespace string                  `json:"namespace,omitempty"`
}

type AuthorizedResourceDto ¶

type AuthorizedResourceDto struct {
	ResourceCode  string            `json:"resourceCode"`
	Description   string            `json:"description,omitempty"`
	Condition     []PolicyCondition `json:"condition,omitempty"`
	ResourceType  string            `json:"resourceType"`
	ApiIdentifier string            `json:"apiIdentifier"`
	Actions       []string          `json:"actions"`
	Effect        string            `json:"effect"`
}

type AuthorizedResourceListRespDto ¶

type AuthorizedResourceListRespDto struct {
	StatusCode int                     `json:"statusCode"`
	Message    string                  `json:"message"`
	ApiCode    int                     `json:"apiCode,omitempty"`
	RequestId  string                  `json:"requestId,omitempty"`
	Data       []AuthorizedResourceDto `json:"data"`
}

type AuthorizedResourcePaginatedRespDto ¶

type AuthorizedResourcePaginatedRespDto struct {
	StatusCode int                         `json:"statusCode"`
	Message    string                      `json:"message"`
	ApiCode    int                         `json:"apiCode,omitempty"`
	RequestId  string                      `json:"requestId,omitempty"`
	Data       AuthorizedResourcePagingDto `json:"data"`
}

type AuthorizedResourcePagingDto ¶

type AuthorizedResourcePagingDto struct {
	TotalCount int                     `json:"totalCount"`
	List       []AuthorizedResourceDto `json:"list"`
}

type BindEmailDto ¶

type BindEmailDto struct {
	PassCode string `json:"passCode"`
	Email    string `json:"email"`
}

type BindPhoneDto ¶

type BindPhoneDto struct {
	PassCode         string `json:"passCode"`
	PhoneNumber      string `json:"phoneNumber"`
	PhoneCountryCode string `json:"phoneCountryCode,omitempty"`
}

type CancelSyncRiskOperationDto ¶

type CancelSyncRiskOperationDto struct {
	SyncRiskOperationIds []int `json:"syncRiskOperationIds"`
}

type CancelSyncRiskOperationsDataDto ¶

type CancelSyncRiskOperationsDataDto struct {
	SuccessList []int `json:"successList"`
	FaildList   []int `json:"faildList"`
}

type CancelSyncRiskOperationsRespDto ¶

type CancelSyncRiskOperationsRespDto struct {
	StatusCode int                             `json:"statusCode"`
	Message    string                          `json:"message"`
	ApiCode    int                             `json:"apiCode,omitempty"`
	RequestId  string                          `json:"requestId,omitempty"`
	Data       CancelSyncRiskOperationsDataDto `json:"data"`
}

type CaptchaCodeDto ¶

type CaptchaCodeDto struct {
	R string `json:"r,omitempty"`
}

type CasIdPConfig ¶

type CasIdPConfig struct {
}

type ChangeEmailStrategyDto ¶

type ChangeEmailStrategyDto struct {
	VerifyOldEmail bool `json:"verifyOldEmail"`
}

type ChangeExtIdpAssociationStateDto ¶

type ChangeExtIdpAssociationStateDto struct {
	Id          string `json:"id"`
	Association bool   `json:"association"`
	TenantId    string `json:"tenantId,omitempty"`
}

type ChangeExtIdpConnStateDto ¶

type ChangeExtIdpConnStateDto struct {
	Id       string   `json:"id"`
	Enabled  bool     `json:"enabled"`
	AppId    string   `json:"appId"`
	TenantId string   `json:"tenantId,omitempty"`
	AppIds   []string `json:"appIds,omitempty"`
}

type ChangePhoneStrategyDto ¶

type ChangePhoneStrategyDto struct {
	VerifyOldPhone bool `json:"verifyOldPhone"`
}

type ChangeQRCodeStatusDto ¶

type ChangeQRCodeStatusDto struct {
	Action   string `json:"action"`
	QrcodeId string `json:"qrcodeId"`
}

type ChangeUserPoolTenantExtIdpConnDto ¶ added in v3.0.7

type ChangeUserPoolTenantExtIdpConnDto struct {
	Enabled bool     `json:"enabled"`
	ConnIds []string `json:"connIds"`
}

type CheckDataPolicyExistsDto ¶ added in v3.0.4

type CheckDataPolicyExistsDto struct {
	PolicyName string `json:"policyName,omitempty"`
}

type CheckDataResourceExistsDto ¶ added in v3.0.4

type CheckDataResourceExistsDto struct {
	NamespaceCode string `json:"namespaceCode,omitempty"`
	ResourceName  string `json:"resourceName,omitempty"`
	ResourceCode  string `json:"resourceCode,omitempty"`
}

type CheckDomainAvailable ¶

type CheckDomainAvailable struct {
	Domain string `json:"domain"`
}

type CheckDomainAvailableDataDto ¶

type CheckDomainAvailableDataDto struct {
	Available bool `json:"available"`
}

type CheckDomainAvailableSecretRespDto ¶

type CheckDomainAvailableSecretRespDto struct {
	StatusCode int                         `json:"statusCode"`
	Message    string                      `json:"message"`
	ApiCode    int                         `json:"apiCode,omitempty"`
	RequestId  string                      `json:"requestId,omitempty"`
	Data       CheckDomainAvailableDataDto `json:"data"`
}

type CheckExternalUserPermissionDataDto ¶ added in v3.0.4

type CheckExternalUserPermissionDataDto struct {
	CheckResultList []CheckExternalUserPermissionsRespDto `json:"checkResultList"`
}

type CheckExternalUserPermissionDto ¶ added in v3.0.4

type CheckExternalUserPermissionDto struct {
	Resources             []string      `json:"resources"`
	Action                string        `json:"action"`
	ExternalId            string        `json:"externalId"`
	NamespaceCode         string        `json:"namespaceCode"`
	JudgeConditionEnabled bool          `json:"judgeConditionEnabled,omitempty"`
	AuthEnvParams         AuthEnvParams `json:"authEnvParams,omitempty"`
}

type CheckExternalUserPermissionRespDto ¶ added in v3.0.4

type CheckExternalUserPermissionRespDto struct {
	StatusCode int                                `json:"statusCode"`
	Message    string                             `json:"message"`
	ApiCode    int                                `json:"apiCode,omitempty"`
	Data       CheckExternalUserPermissionDataDto `json:"data"`
}

type CheckExternalUserPermissionsRespDto ¶ added in v3.0.4

type CheckExternalUserPermissionsRespDto struct {
	NamespaceCode string `json:"namespaceCode"`
	Action        string `json:"action"`
	Resource      string `json:"resource"`
	Enabled       bool   `json:"enabled"`
}

type CheckParamsDataPolicyRespDto ¶ added in v3.0.4

type CheckParamsDataPolicyRespDto struct {
	IsValid bool   `json:"isValid"`
	Message string `json:"message,omitempty"`
}

type CheckParamsDataPolicyResponseDto ¶ added in v3.0.4

type CheckParamsDataPolicyResponseDto struct {
	StatusCode int                          `json:"statusCode"`
	Message    string                       `json:"message"`
	ApiCode    int                          `json:"apiCode,omitempty"`
	RequestId  string                       `json:"requestId,omitempty"`
	Data       CheckParamsDataPolicyRespDto `json:"data"`
}

type CheckParamsDataResourceRespDto ¶ added in v3.0.4

type CheckParamsDataResourceRespDto struct {
	IsValid bool   `json:"isValid"`
	Message string `json:"message,omitempty"`
}

type CheckParamsDataResourceResponseDto ¶ added in v3.0.4

type CheckParamsDataResourceResponseDto struct {
	StatusCode int                            `json:"statusCode"`
	Message    string                         `json:"message"`
	ApiCode    int                            `json:"apiCode,omitempty"`
	RequestId  string                         `json:"requestId,omitempty"`
	Data       CheckParamsDataResourceRespDto `json:"data"`
}

type CheckPermissionArrayResourceDto ¶ added in v3.0.5

type CheckPermissionArrayResourceDto struct {
	Resources []string `json:"resources"`
	Action    string   `json:"action"`
}

type CheckPermissionDataDto ¶ added in v3.0.4

type CheckPermissionDataDto struct {
	CheckResultList []CheckPermissionsRespDto `json:"checkResultList"`
}

type CheckPermissionDto ¶ added in v3.0.4

type CheckPermissionDto struct {
	Resources             []string      `json:"resources"`
	Action                string        `json:"action"`
	UserId                string        `json:"userId"`
	NamespaceCode         string        `json:"namespaceCode"`
	JudgeConditionEnabled bool          `json:"judgeConditionEnabled,omitempty"`
	AuthEnvParams         AuthEnvParams `json:"authEnvParams,omitempty"`
}

type CheckPermissionNamespaceExistsDto ¶ added in v3.0.4

type CheckPermissionNamespaceExistsDto struct {
	Code string `json:"code,omitempty"`
	Name string `json:"name,omitempty"`
}

type CheckPermissionNamespaceExistsRespDto ¶ added in v3.0.4

type CheckPermissionNamespaceExistsRespDto struct {
	IsValid bool   `json:"isValid"`
	Message string `json:"message,omitempty"`
}

type CheckPermissionRespDto ¶ added in v3.0.4

type CheckPermissionRespDto struct {
	StatusCode int                    `json:"statusCode"`
	Message    string                 `json:"message"`
	ApiCode    int                    `json:"apiCode,omitempty"`
	Data       CheckPermissionDataDto `json:"data"`
}

type CheckPermissionStringResourceDto ¶ added in v3.0.4

type CheckPermissionStringResourceDto struct {
	Resources []string `json:"resources"`
	Action    string   `json:"action"`
}

type CheckPermissionTreeResourceDto ¶ added in v3.0.5

type CheckPermissionTreeResourceDto struct {
	Resources []string `json:"resources"`
	Action    string   `json:"action"`
}

type CheckPermissionsRespDto ¶ added in v3.0.4

type CheckPermissionsRespDto struct {
	NamespaceCode string `json:"namespaceCode"`
	Action        string `json:"action"`
	Resource      string `json:"resource"`
	Enabled       bool   `json:"enabled"`
}

type CheckQRCodeStatusDataDto ¶

type CheckQRCodeStatusDataDto struct {
	Status        string                       `json:"status"`
	Ticket        string                       `json:"ticket,omitempty"`
	BriefUserInfo QRCodeStatusBriefUserInfoDto `json:"briefUserInfo,omitempty"`
	TokenSet      LoginTokenResponseDataDto    `json:"tokenSet,omitempty"`
}

type CheckQRCodeStatusRespDto ¶

type CheckQRCodeStatusRespDto struct {
	StatusCode int                      `json:"statusCode"`
	Message    string                   `json:"message"`
	ApiCode    int                      `json:"apiCode,omitempty"`
	RequestId  string                   `json:"requestId,omitempty"`
	Data       CheckQRCodeStatusDataDto `json:"data"`
}

type CheckQrcodeStatusDto ¶

type CheckQrcodeStatusDto struct {
	QrcodeId string `json:"qrcodeId,omitempty"`
}

type CheckResourcePermissionDataDto ¶ added in v3.0.4

type CheckResourcePermissionDataDto struct {
	CheckResultList []CheckResourcePermissionRespDto `json:"checkResultList"`
}

type CheckResourcePermissionRespDto ¶ added in v3.0.4

type CheckResourcePermissionRespDto struct {
	NamespaceCode string `json:"namespaceCode"`
	Action        string `json:"action"`
	Resource      string `json:"resource"`
	Enabled       bool   `json:"enabled"`
}

type CheckResourcePermissionsRespDto ¶ added in v3.0.4

type CheckResourcePermissionsRespDto struct {
	StatusCode int                            `json:"statusCode"`
	Message    string                         `json:"message"`
	ApiCode    int                            `json:"apiCode,omitempty"`
	Data       CheckResourcePermissionDataDto `json:"data"`
}

type CheckRoleParamsDto ¶ added in v3.0.4

type CheckRoleParamsDto struct {
	Code      string `json:"code"`
	Namespace string `json:"namespace"`
	Name      string `json:"name,omitempty"`
}

type CheckRoleParamsRespDto ¶ added in v3.0.4

type CheckRoleParamsRespDto struct {
	IsValid bool `json:"isValid"`
	Message bool `json:"message"`
}

type CheckSessionStatusDataDto ¶

type CheckSessionStatusDataDto struct {
	Active bool `json:"active"`
}

type CheckSessionStatusDto ¶

type CheckSessionStatusDto struct {
	AppId  string `json:"appId"`
	UserId string `json:"userId"`
}

type CheckSessionStatusRespDto ¶

type CheckSessionStatusRespDto struct {
	StatusCode int                       `json:"statusCode"`
	Message    string                    `json:"message"`
	ApiCode    int                       `json:"apiCode,omitempty"`
	RequestId  string                    `json:"requestId,omitempty"`
	Data       CheckSessionStatusDataDto `json:"data"`
}

type CheckUserSameLevelPermissionDataDto ¶ added in v3.0.4

type CheckUserSameLevelPermissionDataDto struct {
	CheckLevelResultList []CheckUserSameLevelPermissionRespDto `json:"checkLevelResultList"`
}

type CheckUserSameLevelPermissionDto ¶ added in v3.0.4

type CheckUserSameLevelPermissionDto struct {
	ResourceNodeCodes     []string      `json:"resourceNodeCodes"`
	Resource              string        `json:"resource"`
	Action                string        `json:"action"`
	UserId                string        `json:"userId"`
	NamespaceCode         string        `json:"namespaceCode"`
	JudgeConditionEnabled bool          `json:"judgeConditionEnabled,omitempty"`
	AuthEnvParams         AuthEnvParams `json:"authEnvParams,omitempty"`
}

type CheckUserSameLevelPermissionRespDto ¶ added in v3.0.4

type CheckUserSameLevelPermissionRespDto struct {
	Action           string `json:"action"`
	ResourceNodeCode string `json:"resourceNodeCode"`
	Enabled          bool   `json:"enabled"`
}

type CheckUserSameLevelPermissionResponseDto ¶ added in v3.0.4

type CheckUserSameLevelPermissionResponseDto struct {
	StatusCode int                                 `json:"statusCode"`
	Message    string                              `json:"message"`
	ApiCode    int                                 `json:"apiCode,omitempty"`
	RequestId  string                              `json:"requestId,omitempty"`
	Data       CheckUserSameLevelPermissionDataDto `json:"data"`
}

type CommonResourceDto ¶ added in v3.0.4

type CommonResourceDto struct {
	Code           string           `json:"code"`
	Description    string           `json:"description,omitempty"`
	Name           string           `json:"name,omitempty"`
	Type           string           `json:"type"`
	Actions        []ResourceAction `json:"actions,omitempty"`
	ApiIdentifier  string           `json:"apiIdentifier,omitempty"`
	Namespace      string           `json:"namespace,omitempty"`
	LinkedToTenant bool             `json:"linkedToTenant,omitempty"`
	Id             string           `json:"id"`
	NamespaceId    int              `json:"namespaceId"`
	NamespaceName  string           `json:"namespaceName"`
	UserPoolId     string           `json:"userPoolId"`
	CreatedAt      string           `json:"createdAt"`
	UpdatedAt      string           `json:"updatedAt"`
}

type CommonResourcePaginatedRespDto ¶ added in v3.0.4

type CommonResourcePaginatedRespDto struct {
	StatusCode int                     `json:"statusCode"`
	Message    string                  `json:"message"`
	ApiCode    int                     `json:"apiCode,omitempty"`
	RequestId  string                  `json:"requestId,omitempty"`
	Data       CommonResourcePagingDto `json:"data"`
}

type CommonResourcePagingDto ¶ added in v3.0.4

type CommonResourcePagingDto struct {
	StatusCode int                 `json:"statusCode"`
	Message    string              `json:"message"`
	ApiCode    int                 `json:"apiCode,omitempty"`
	RequestId  string              `json:"requestId,omitempty"`
	TotalCount int                 `json:"totalCount"`
	List       []CommonResourceDto `json:"list"`
}

type CommonResponseDto ¶

type CommonResponseDto struct {
	StatusCode int    `json:"statusCode"`
	Message    string `json:"message"`
	ApiCode    int    `json:"apiCode,omitempty"`
	RequestId  string `json:"requestId,omitempty"`
}

type ConfigEmailProviderDto ¶

type ConfigEmailProviderDto struct {
	Type                string                                `json:"type"`
	Enabled             bool                                  `json:"enabled"`
	SmtpConfig          SMTPEmailProviderConfigInput          `json:"smtpConfig,omitempty"`
	SendGridConfig      SendGridEmailProviderConfigInput      `json:"sendGridConfig,omitempty"`
	AliExmailConfig     AliExmailEmailProviderConfigInput     `json:"aliExmailConfig,omitempty"`
	TencentExmailConfig TencentExmailEmailProviderConfigInput `json:"tencentExmailConfig,omitempty"`
}

type CookieSettingsDto ¶

type CookieSettingsDto struct {
	CookieExpiresIn               int  `json:"cookieExpiresIn"`
	CookieExpiresOnBrowserSession bool `json:"cookieExpiresOnBrowserSession"`
}

type CostCurrentPackageInfo ¶

type CostCurrentPackageInfo struct {
	Code         string          `json:"code"`
	EndTime      string          `json:"endTime"`
	OverdueDays  string          `json:"overdueDays"`
	GoodsPackage GoodsPackageDto `json:"goodsPackage"`
}

type CostGetAllRightItemRespDto ¶

type CostGetAllRightItemRespDto struct {
	StatusCode int          `json:"statusCode"`
	Message    string       `json:"message"`
	ApiCode    int          `json:"apiCode,omitempty"`
	RequestId  string       `json:"requestId,omitempty"`
	Data       RightItemRes `json:"data"`
}

type CostGetCurrentPackageRespDto ¶

type CostGetCurrentPackageRespDto struct {
	StatusCode int                    `json:"statusCode"`
	Message    string                 `json:"message"`
	ApiCode    int                    `json:"apiCode,omitempty"`
	RequestId  string                 `json:"requestId,omitempty"`
	Data       CostCurrentPackageInfo `json:"data"`
}

type CostGetCurrentUsageRespDto ¶

type CostGetCurrentUsageRespDto struct {
	StatusCode int                 `json:"statusCode"`
	Message    string              `json:"message"`
	ApiCode    int                 `json:"apiCode,omitempty"`
	RequestId  string              `json:"requestId,omitempty"`
	Data       CurrentUsageRespDto `json:"data"`
}

type CostGetMauPeriodUsageHistoryRespDto ¶

type CostGetMauPeriodUsageHistoryRespDto struct {
	StatusCode int                   `json:"statusCode"`
	Message    string                `json:"message"`
	ApiCode    int                   `json:"apiCode,omitempty"`
	RequestId  string                `json:"requestId,omitempty"`
	Data       MauPeriodUsageHistory `json:"data"`
}

type CostGetOrderDetailRespDto ¶

type CostGetOrderDetailRespDto struct {
	StatusCode int       `json:"statusCode"`
	Message    string    `json:"message"`
	ApiCode    int       `json:"apiCode,omitempty"`
	RequestId  string    `json:"requestId,omitempty"`
	Data       OrderItem `json:"data"`
}

type CostGetOrderPayDetail ¶ added in v3.0.4

type CostGetOrderPayDetail struct {
	OrderNo        string `json:"orderNo"`
	ChannelOrderNo string `json:"channelOrderNo"`
	PaidAmount     string `json:"paidAmount"`
	PaidTime       string `json:"paidTime"`
	PaidAccountNo  string `json:"paidAccountNo"`
	PayStatus      string `json:"payStatus"`
	CreateTime     string `json:"createTime"`
	PayType        string `json:"payType"`
}

type CostGetOrderPayDetailRespDto ¶

type CostGetOrderPayDetailRespDto struct {
	StatusCode int                   `json:"statusCode"`
	Message    string                `json:"message"`
	ApiCode    int                   `json:"apiCode,omitempty"`
	RequestId  string                `json:"requestId,omitempty"`
	Data       CostGetOrderPayDetail `json:"data"`
}

type CostGetOrdersRespDto ¶

type CostGetOrdersRespDto struct {
	StatusCode int          `json:"statusCode"`
	Message    string       `json:"message"`
	ApiCode    int          `json:"apiCode,omitempty"`
	RequestId  string       `json:"requestId,omitempty"`
	Data       GetOrdersRes `json:"data"`
}

type CountryDetailInfo ¶

type CountryDetailInfo struct {
	Alpha2           string     `json:"alpha2"`
	Alpha3           string     `json:"alpha3"`
	PhoneCountryCode string     `json:"phoneCountryCode"`
	Flag             string     `json:"flag"`
	Name             LangObject `json:"name"`
}

type CreateAccessKeyDto ¶ added in v3.0.4

type CreateAccessKeyDto struct {
	Type     string `json:"type"`
	UserId   string `json:"userId,omitempty"`
	TenantId string `json:"tenantId,omitempty"`
}

type CreateAccessKeyRespDto ¶ added in v3.0.4

type CreateAccessKeyRespDto struct {
	AccessKeyId     string `json:"accessKeyId"`
	AccessKeySecret string `json:"accessKeySecret"`
	UserId          string `json:"userId"`
	CreatedAt       string `json:"createdAt"`
	Status          string `json:"status"`
	LastDate        string `json:"lastDate"`
	UserPoolId      string `json:"userPoolId"`
	Enable          bool   `json:"enable"`
}

type CreateAccessKeyResponseDto ¶ added in v3.0.4

type CreateAccessKeyResponseDto struct {
	StatusCode int                      `json:"statusCode"`
	Message    string                   `json:"message"`
	ApiCode    int                      `json:"apiCode,omitempty"`
	RequestId  string                   `json:"requestId,omitempty"`
	Data       []CreateAccessKeyRespDto `json:"data"`
}

type CreateApplicationDto ¶

type CreateApplicationDto struct {
	AppName              string                            `json:"appName"`
	Template             string                            `json:"template,omitempty"`
	TemplateData         string                            `json:"templateData,omitempty"`
	AppIdentifier        string                            `json:"appIdentifier,omitempty"`
	AppDescription       string                            `json:"appDescription,omitempty"`
	AppType              string                            `json:"appType,omitempty"`
	DefaultProtocol      string                            `json:"defaultProtocol,omitempty"`
	RedirectUris         []string                          `json:"redirectUris,omitempty"`
	LogoutRedirectUris   []string                          `json:"logoutRedirectUris,omitempty"`
	InitLoginUri         string                            `json:"initLoginUri,omitempty"`
	SsoEnabled           bool                              `json:"ssoEnabled,omitempty"`
	OidcConfig           OIDCConfig                        `json:"oidcConfig,omitempty"`
	SamlProviderEnabled  bool                              `json:"samlProviderEnabled,omitempty"`
	SamlConfig           SamlIdpConfig                     `json:"samlConfig,omitempty"`
	OauthProviderEnabled bool                              `json:"oauthProviderEnabled,omitempty"`
	OauthConfig          OauthIdpConfig                    `json:"oauthConfig,omitempty"`
	CasProviderEnabled   bool                              `json:"casProviderEnabled,omitempty"`
	CasConfig            CasIdPConfig                      `json:"casConfig,omitempty"`
	LoginConfig          ApplicationLoginConfigInputDto    `json:"loginConfig,omitempty"`
	RegisterConfig       ApplicationRegisterConfigInputDto `json:"registerConfig,omitempty"`
	BrandingConfig       ApplicationBrandingConfigInputDto `json:"brandingConfig,omitempty"`
}

type CreateApplicationRespDataDto ¶ added in v3.0.5

type CreateApplicationRespDataDto struct {
	AppId                 string                    `json:"appId"`
	AppIdentifier         string                    `json:"appIdentifier"`
	AppName               string                    `json:"appName"`
	AppDescription        string                    `json:"appDescription,omitempty"`
	AppType               string                    `json:"appType"`
	UserPoolId            string                    `json:"userPoolId"`
	IsIntegrateApp        bool                      `json:"isIntegrateApp"`
	DefaultProtocol       string                    `json:"defaultProtocol"`
	RedirectUris          []string                  `json:"redirectUris"`
	LogoutRedirectUris    []string                  `json:"logoutRedirectUris"`
	InitLoginUri          string                    `json:"initLoginUri"`
	SsoEnabled            bool                      `json:"ssoEnabled"`
	SsoEnabledAt          string                    `json:"ssoEnabledAt,omitempty"`
	LoginConfig           ApplicationLoginConfigDto `json:"loginConfig"`
	RegisterConfig        ApplicationRegisterConfig `json:"registerConfig"`
	BrandingConfig        ApplicationBrandingConfig `json:"brandingConfig"`
	OidcConfig            OIDCConfig                `json:"oidcConfig"`
	SamlProviderEnabled   bool                      `json:"samlProviderEnabled"`
	SamlConfig            SamlIdpConfig             `json:"samlConfig,omitempty"`
	OauthProviderEnabled  bool                      `json:"oauthProviderEnabled"`
	OauthConfig           OauthIdpConfig            `json:"oauthConfig,omitempty"`
	CasProviderEnabled    bool                      `json:"casProviderEnabled"`
	CasConfig             CasIdPConfig              `json:"casConfig,omitempty"`
	CustomBrandingEnabled bool                      `json:"customBrandingEnabled"`
	CustomSecurityEnabled bool                      `json:"customSecurityEnabled"`
	Template              string                    `json:"template,omitempty"`
}

type CreateApplicationRespDto ¶ added in v3.0.5

type CreateApplicationRespDto struct {
	StatusCode int                          `json:"statusCode"`
	Message    string                       `json:"message"`
	ApiCode    int                          `json:"apiCode,omitempty"`
	RequestId  string                       `json:"requestId,omitempty"`
	Data       CreateApplicationRespDataDto `json:"data"`
}

type CreateArrayDataResourceDto ¶ added in v3.0.4

type CreateArrayDataResourceDto struct {
	Actions       []string `json:"actions"`
	Struct        []string `json:"struct"`
	ResourceCode  string   `json:"resourceCode"`
	ResourceName  string   `json:"resourceName"`
	NamespaceCode string   `json:"namespaceCode"`
	Description   string   `json:"description,omitempty"`
}

type CreateArrayDataResourceRespDto ¶ added in v3.0.4

type CreateArrayDataResourceRespDto struct {
	ResourceName string   `json:"resourceName"`
	ResourceCode string   `json:"resourceCode"`
	Type         string   `json:"type"`
	Description  string   `json:"description,omitempty"`
	Struct       []string `json:"struct"`
	Actions      []string `json:"actions"`
}

type CreateArrayDataResourceResponseDto ¶ added in v3.0.4

type CreateArrayDataResourceResponseDto struct {
	StatusCode int                            `json:"statusCode"`
	Message    string                         `json:"message"`
	ApiCode    int                            `json:"apiCode,omitempty"`
	RequestId  string                         `json:"requestId,omitempty"`
	Data       CreateArrayDataResourceRespDto `json:"data"`
}

type CreateAsaAccountDto ¶ added in v3.0.4

type CreateAsaAccountDto struct {
	AccountInfo interface{} `json:"accountInfo"`
	AppId       string      `json:"appId"`
}

type CreateAsaAccountsBatchDto ¶ added in v3.0.4

type CreateAsaAccountsBatchDto struct {
	List  []CreateAsaAccountsBatchItemDto `json:"list"`
	AppId string                          `json:"appId"`
}

type CreateAsaAccountsBatchItemDto ¶ added in v3.0.4

type CreateAsaAccountsBatchItemDto struct {
	AccountInfo interface{} `json:"accountInfo"`
}

type CreateAuthorizeDataPolicyDto ¶ added in v3.0.4

type CreateAuthorizeDataPolicyDto struct {
	TargetList []SubjectDto `json:"targetList"`
	PolicyIds  []string     `json:"policyIds"`
}

type CreateDataPolicyDto ¶ added in v3.0.4

type CreateDataPolicyDto struct {
	StatementList []DataStatementPermissionDto `json:"statementList"`
	PolicyName    string                       `json:"policyName"`
	Description   string                       `json:"description,omitempty"`
}

type CreateDataPolicyRespDto ¶ added in v3.0.4

type CreateDataPolicyRespDto struct {
	PolicyId    string `json:"policyId"`
	PolicyName  string `json:"policyName"`
	Description string `json:"description,omitempty"`
	CreatedAt   string `json:"createdAt"`
	UpdatedAt   string `json:"updatedAt"`
}

type CreateDataPolicyResponseDto ¶ added in v3.0.4

type CreateDataPolicyResponseDto struct {
	StatusCode int                     `json:"statusCode"`
	Message    string                  `json:"message"`
	ApiCode    int                     `json:"apiCode,omitempty"`
	RequestId  string                  `json:"requestId,omitempty"`
	Data       CreateDataPolicyRespDto `json:"data"`
}

type CreateDataResourceDto ¶ added in v3.0.4

type CreateDataResourceDto struct {
	Actions       []string    `json:"actions"`
	Struct        interface{} `json:"struct"`
	Type          string      `json:"type"`
	ResourceCode  string      `json:"resourceCode"`
	ResourceName  string      `json:"resourceName"`
	NamespaceCode string      `json:"namespaceCode"`
	Description   string      `json:"description,omitempty"`
}

type CreateDataResourceRespDto ¶ added in v3.0.4

type CreateDataResourceRespDto struct {
	ResourceName string      `json:"resourceName"`
	ResourceCode string      `json:"resourceCode"`
	Type         string      `json:"type"`
	Description  string      `json:"description,omitempty"`
	Struct       interface{} `json:"struct"`
	Actions      []string    `json:"actions"`
}

type CreateDataResourceResponseDto ¶ added in v3.0.4

type CreateDataResourceResponseDto struct {
	StatusCode int                       `json:"statusCode"`
	Message    string                    `json:"message"`
	ApiCode    int                       `json:"apiCode,omitempty"`
	RequestId  string                    `json:"requestId,omitempty"`
	Data       CreateDataResourceRespDto `json:"data"`
}

type CreateDepartmentReqDto ¶

type CreateDepartmentReqDto struct {
	OrganizationCode   string            `json:"organizationCode"`
	Name               string            `json:"name"`
	ParentDepartmentId string            `json:"parentDepartmentId"`
	OpenDepartmentId   string            `json:"openDepartmentId,omitempty"`
	Description        string            `json:"description,omitempty"`
	Code               string            `json:"code,omitempty"`
	IsVirtualNode      bool              `json:"isVirtualNode,omitempty"`
	I18n               DepartmentI18nDto `json:"i18n,omitempty"`
	CustomData         interface{}       `json:"customData,omitempty"`
	DepartmentIdType   string            `json:"departmentIdType,omitempty"`
	TenantId           string            `json:"tenantId,omitempty"`
}

type CreateDepartmentTreeReqDto ¶ added in v3.0.4

type CreateDepartmentTreeReqDto struct {
	Name     string      `json:"name"`
	Children []string    `json:"children,omitempty"`
	Members  UserInfoDto `json:"members,omitempty"`
	TenantId string      `json:"tenantId,omitempty"`
}

type CreateDepartmentTreeRespDto ¶ added in v3.0.4

type CreateDepartmentTreeRespDto struct {
	StatusCode int    `json:"statusCode"`
	Message    string `json:"message"`
	ApiCode    int    `json:"apiCode,omitempty"`
	RequestId  string `json:"requestId,omitempty"`
	Data       Result `json:"data"`
}

type CreateExtIdpConnDto ¶

type CreateExtIdpConnDto struct {
	ExtIdpId    string      `json:"extIdpId"`
	Type        string      `json:"type"`
	Identifier  string      `json:"identifier"`
	DisplayName string      `json:"displayName"`
	Fields      interface{} `json:"fields"`
	LoginOnly   bool        `json:"loginOnly,omitempty"`
	TenantId    string      `json:"tenantId,omitempty"`
}

type CreateExtIdpDto ¶

type CreateExtIdpDto struct {
	Name     string `json:"name"`
	Type     string `json:"type"`
	TenantId string `json:"tenantId,omitempty"`
}

type CreateGroupBatchReqDto ¶

type CreateGroupBatchReqDto struct {
	List []CreateGroupReqDto `json:"list"`
}

type CreateGroupReqDto ¶

type CreateGroupReqDto struct {
	Type        string `json:"type"`
	Description string `json:"description"`
	Name        string `json:"name"`
	Code        string `json:"code"`
}

type CreateIdentityDto ¶

type CreateIdentityDto struct {
	ExtIdpId      string   `json:"extIdpId"`
	Provider      string   `json:"provider"`
	Type          string   `json:"type"`
	UserIdInIdp   string   `json:"userIdInIdp"`
	UserInfoInIdp User     `json:"userInfoInIdp"`
	AccessToken   string   `json:"accessToken,omitempty"`
	RefreshToken  string   `json:"refreshToken,omitempty"`
	OriginConnIds []string `json:"originConnIds"`
}

type CreateNamespaceDto ¶

type CreateNamespaceDto struct {
	Code        string `json:"code"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

type CreateNamespacesBatchDto ¶

type CreateNamespacesBatchDto struct {
	List []CreateNamespacesBatchItemDto `json:"list"`
}

type CreateNamespacesBatchItemDto ¶

type CreateNamespacesBatchItemDto struct {
	Code        string `json:"code"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

type CreateOrganizationReqDto ¶

type CreateOrganizationReqDto struct {
	OrganizationName string                  `json:"organizationName"`
	OrganizationCode string                  `json:"organizationCode"`
	Description      string                  `json:"description,omitempty"`
	OpenDepartmentId string                  `json:"openDepartmentId,omitempty"`
	I18n             OrganizationNameI18nDto `json:"i18n,omitempty"`
	TenantId         string                  `json:"tenantId,omitempty"`
}

type CreatePermissionNamespaceDto ¶ added in v3.0.4

type CreatePermissionNamespaceDto struct {
	Name        string `json:"name"`
	Code        string `json:"code"`
	Description string `json:"description,omitempty"`
}

type CreatePermissionNamespaceRespDto ¶ added in v3.0.4

type CreatePermissionNamespaceRespDto struct {
	Code        string `json:"code"`
	Name        string `json:"name"`
	Description string `json:"description,omitempty"`
}

type CreatePermissionNamespaceResponseDto ¶ added in v3.0.4

type CreatePermissionNamespaceResponseDto struct {
	StatusCode int                              `json:"statusCode"`
	Message    string                           `json:"message"`
	ApiCode    int                              `json:"apiCode,omitempty"`
	RequestId  string                           `json:"requestId,omitempty"`
	Data       CreatePermissionNamespaceRespDto `json:"data"`
}

type CreatePermissionNamespacesBatchDto ¶ added in v3.0.4

type CreatePermissionNamespacesBatchDto struct {
	List []CreatePermissionNamespacesBatchItemDto `json:"list"`
}

type CreatePermissionNamespacesBatchItemDto ¶ added in v3.0.4

type CreatePermissionNamespacesBatchItemDto struct {
	Code        string `json:"code"`
	Name        string `json:"name"`
	Description string `json:"description,omitempty"`
}

type CreatePipelineFunctionDto ¶

type CreatePipelineFunctionDto struct {
	SourceCode         string `json:"sourceCode"`
	Scene              string `json:"scene"`
	FuncName           string `json:"funcName"`
	FuncDescription    string `json:"funcDescription,omitempty"`
	IsAsynchronous     bool   `json:"isAsynchronous,omitempty"`
	Timeout            int    `json:"timeout,omitempty"`
	TerminateOnTimeout bool   `json:"terminateOnTimeout,omitempty"`
	Enabled            bool   `json:"enabled,omitempty"`
}

type CreateResourceBatchItemDto ¶

type CreateResourceBatchItemDto struct {
	Code          string           `json:"code"`
	Description   string           `json:"description,omitempty"`
	Name          string           `json:"name,omitempty"`
	Type          string           `json:"type"`
	Actions       []ResourceAction `json:"actions,omitempty"`
	ApiIdentifier string           `json:"apiIdentifier,omitempty"`
}

type CreateResourceDto ¶

type CreateResourceDto struct {
	Type          string           `json:"type"`
	Code          string           `json:"code"`
	Description   string           `json:"description,omitempty"`
	Name          string           `json:"name,omitempty"`
	Actions       []ResourceAction `json:"actions,omitempty"`
	ApiIdentifier string           `json:"apiIdentifier,omitempty"`
	Namespace     string           `json:"namespace,omitempty"`
}

type CreateResourcesBatchDto ¶

type CreateResourcesBatchDto struct {
	List      []CreateResourceBatchItemDto `json:"list"`
	Namespace string                       `json:"namespace,omitempty"`
}

type CreateRoleDto ¶

type CreateRoleDto struct {
	Code        string `json:"code"`
	Name        string `json:"name,omitempty"`
	Namespace   string `json:"namespace,omitempty"`
	Description string `json:"description,omitempty"`
	DisableTime string `json:"disableTime,omitempty"`
}

type CreateRolesBatch ¶

type CreateRolesBatch struct {
	List []RoleListItem `json:"list"`
}

type CreateStringDataResourceDto ¶ added in v3.0.4

type CreateStringDataResourceDto struct {
	Actions       []string `json:"actions"`
	Struct        string   `json:"struct"`
	ResourceCode  string   `json:"resourceCode"`
	ResourceName  string   `json:"resourceName"`
	NamespaceCode string   `json:"namespaceCode"`
	Description   string   `json:"description,omitempty"`
}

type CreateStringDataResourceRespDto ¶ added in v3.0.4

type CreateStringDataResourceRespDto struct {
	ResourceName string   `json:"resourceName"`
	ResourceCode string   `json:"resourceCode"`
	Type         string   `json:"type"`
	Description  string   `json:"description,omitempty"`
	Struct       string   `json:"struct"`
	Actions      []string `json:"actions"`
}

type CreateStringDataResourceResponseDto ¶ added in v3.0.4

type CreateStringDataResourceResponseDto struct {
	StatusCode int                             `json:"statusCode"`
	Message    string                          `json:"message"`
	ApiCode    int                             `json:"apiCode,omitempty"`
	RequestId  string                          `json:"requestId,omitempty"`
	Data       CreateStringDataResourceRespDto `json:"data"`
}

type CreateSyncTaskDto ¶

type CreateSyncTaskDto struct {
	FieldMapping      []SyncTaskFieldMapping    `json:"fieldMapping"`
	SyncTaskTrigger   string                    `json:"syncTaskTrigger"`
	SyncTaskFlow      string                    `json:"syncTaskFlow"`
	ClientConfig      SyncTaskClientConfig      `json:"clientConfig"`
	SyncTaskType      string                    `json:"syncTaskType"`
	SyncTaskName      string                    `json:"syncTaskName"`
	OrganizationCode  string                    `json:"organizationCode,omitempty"`
	ProvisioningScope SyncTaskProvisioningScope `json:"provisioningScope,omitempty"`
	TimedScheduler    SyncTaskTimedScheduler    `json:"timedScheduler,omitempty"`
}

type CreateTenantDto ¶

type CreateTenantDto struct {
	RejectHint  string   `json:"rejectHint"`
	AppIds      []string `json:"appIds"`
	Name        string   `json:"name"`
	Description string   `json:"description,omitempty"`
}

type CreateTreeDataResourceDto ¶ added in v3.0.4

type CreateTreeDataResourceDto struct {
	Actions       []string                  `json:"actions"`
	Struct        []DataResourceTreeStructs `json:"struct"`
	ResourceCode  string                    `json:"resourceCode"`
	ResourceName  string                    `json:"resourceName"`
	NamespaceCode string                    `json:"namespaceCode"`
	Description   string                    `json:"description,omitempty"`
}

type CreateTreeDataResourceRespDto ¶ added in v3.0.4

type CreateTreeDataResourceRespDto struct {
	ResourceName string                    `json:"resourceName"`
	ResourceCode string                    `json:"resourceCode"`
	Type         string                    `json:"type"`
	Description  string                    `json:"description,omitempty"`
	Struct       []DataResourceTreeStructs `json:"struct"`
	Actions      []string                  `json:"actions"`
}

type CreateTreeDataResourceResponseDto ¶ added in v3.0.4

type CreateTreeDataResourceResponseDto struct {
	StatusCode int                           `json:"statusCode"`
	Message    string                        `json:"message"`
	ApiCode    int                           `json:"apiCode,omitempty"`
	RequestId  string                        `json:"requestId,omitempty"`
	Data       CreateTreeDataResourceRespDto `json:"data"`
}

type CreateUserBatchReqDto ¶

type CreateUserBatchReqDto struct {
	List    []CreateUserInfoDto  `json:"list"`
	Options CreateUserOptionsDto `json:"options,omitempty"`
}

type CreateUserInfoDto ¶

type CreateUserInfoDto struct {
	Status            string              `json:"status,omitempty"`
	Email             string              `json:"email,omitempty"`
	Phone             string              `json:"phone,omitempty"`
	PhoneCountryCode  string              `json:"phoneCountryCode,omitempty"`
	Username          string              `json:"username,omitempty"`
	ExternalId        string              `json:"externalId,omitempty"`
	Name              string              `json:"name,omitempty"`
	Nickname          string              `json:"nickname,omitempty"`
	Photo             string              `json:"photo,omitempty"`
	Gender            string              `json:"gender,omitempty"`
	EmailVerified     bool                `json:"emailVerified,omitempty"`
	PhoneVerified     bool                `json:"phoneVerified,omitempty"`
	Birthdate         string              `json:"birthdate,omitempty"`
	Country           string              `json:"country,omitempty"`
	Province          string              `json:"province,omitempty"`
	City              string              `json:"city,omitempty"`
	Address           string              `json:"address,omitempty"`
	StreetAddress     string              `json:"streetAddress,omitempty"`
	PostalCode        string              `json:"postalCode,omitempty"`
	Company           string              `json:"company,omitempty"`
	Browser           string              `json:"browser,omitempty"`
	Device            string              `json:"device,omitempty"`
	GivenName         string              `json:"givenName,omitempty"`
	FamilyName        string              `json:"familyName,omitempty"`
	MiddleName        string              `json:"middleName,omitempty"`
	Profile           string              `json:"profile,omitempty"`
	PreferredUsername string              `json:"preferredUsername,omitempty"`
	Website           string              `json:"website,omitempty"`
	Zoneinfo          string              `json:"zoneinfo,omitempty"`
	Locale            string              `json:"locale,omitempty"`
	Formatted         string              `json:"formatted,omitempty"`
	Region            string              `json:"region,omitempty"`
	Password          string              `json:"password,omitempty"`
	Salt              string              `json:"salt,omitempty"`
	TenantIds         []string            `json:"tenantIds,omitempty"`
	Otp               CreateUserOtpDto    `json:"otp,omitempty"`
	DepartmentIds     []string            `json:"departmentIds,omitempty"`
	CustomData        interface{}         `json:"customData,omitempty"`
	Identities        []CreateIdentityDto `json:"identities,omitempty"`
}

type CreateUserOptionsDto ¶

type CreateUserOptionsDto struct {
	KeepPassword              bool                             `json:"keepPassword,omitempty"`
	AutoGeneratePassword      bool                             `json:"autoGeneratePassword,omitempty"`
	ResetPasswordOnFirstLogin bool                             `json:"resetPasswordOnFirstLogin,omitempty"`
	DepartmentIdType          string                           `json:"departmentIdType,omitempty"`
	SendNotification          SendCreateAccountNotificationDto `json:"sendNotification,omitempty"`
	PasswordEncryptType       string                           `json:"passwordEncryptType,omitempty"`
}

type CreateUserOtpDto ¶

type CreateUserOtpDto struct {
	Secret       string `json:"secret"`
	RecoveryCode string `json:"recoveryCode,omitempty"`
}

type CreateUserReqDto ¶

type CreateUserReqDto struct {
	Status            string               `json:"status,omitempty"`
	Email             string               `json:"email,omitempty"`
	Phone             string               `json:"phone,omitempty"`
	PhoneCountryCode  string               `json:"phoneCountryCode,omitempty"`
	Username          string               `json:"username,omitempty"`
	ExternalId        string               `json:"externalId,omitempty"`
	Name              string               `json:"name,omitempty"`
	Nickname          string               `json:"nickname,omitempty"`
	Photo             string               `json:"photo,omitempty"`
	Gender            string               `json:"gender,omitempty"`
	EmailVerified     bool                 `json:"emailVerified,omitempty"`
	PhoneVerified     bool                 `json:"phoneVerified,omitempty"`
	Birthdate         string               `json:"birthdate,omitempty"`
	Country           string               `json:"country,omitempty"`
	Province          string               `json:"province,omitempty"`
	City              string               `json:"city,omitempty"`
	Address           string               `json:"address,omitempty"`
	StreetAddress     string               `json:"streetAddress,omitempty"`
	PostalCode        string               `json:"postalCode,omitempty"`
	Company           string               `json:"company,omitempty"`
	Browser           string               `json:"browser,omitempty"`
	Device            string               `json:"device,omitempty"`
	GivenName         string               `json:"givenName,omitempty"`
	FamilyName        string               `json:"familyName,omitempty"`
	MiddleName        string               `json:"middleName,omitempty"`
	Profile           string               `json:"profile,omitempty"`
	PreferredUsername string               `json:"preferredUsername,omitempty"`
	Website           string               `json:"website,omitempty"`
	Zoneinfo          string               `json:"zoneinfo,omitempty"`
	Locale            string               `json:"locale,omitempty"`
	Formatted         string               `json:"formatted,omitempty"`
	Region            string               `json:"region,omitempty"`
	Password          string               `json:"password,omitempty"`
	Salt              string               `json:"salt,omitempty"`
	TenantIds         []string             `json:"tenantIds,omitempty"`
	Otp               CreateUserOtpDto     `json:"otp,omitempty"`
	DepartmentIds     []string             `json:"departmentIds,omitempty"`
	CustomData        interface{}          `json:"customData,omitempty"`
	Identities        []CreateIdentityDto  `json:"identities,omitempty"`
	Options           CreateUserOptionsDto `json:"options,omitempty"`
}

type CreateWebhookDto ¶

type CreateWebhookDto struct {
	ContentType string   `json:"contentType"`
	Events      []string `json:"events"`
	Url         string   `json:"url"`
	Name        string   `json:"name"`
	Enabled     bool     `json:"enabled,omitempty"`
	Secret      string   `json:"secret,omitempty"`
}

type CreateWebhookRespDto ¶

type CreateWebhookRespDto struct {
	StatusCode int        `json:"statusCode"`
	Message    string     `json:"message"`
	ApiCode    int        `json:"apiCode,omitempty"`
	RequestId  string     `json:"requestId,omitempty"`
	Data       WebhookDto `json:"data"`
}

type CurrentUsageDto ¶

type CurrentUsageDto struct {
	Amount     string `json:"amount"`
	Current    string `json:"current"`
	Experience bool   `json:"experience"`
	ModelCode  string `json:"modelCode"`
	ModelName  string `json:"modelName"`
}

type CurrentUsageRespDto ¶

type CurrentUsageRespDto struct {
	Usages []CurrentUsageDto `json:"usages"`
}

type CustomFieldDto ¶

type CustomFieldDto struct {
	TargetType            string                    `json:"targetType"`
	CreatedAt             string                    `json:"createdAt,omitempty"`
	DataType              string                    `json:"dataType"`
	Key                   string                    `json:"key"`
	Label                 string                    `json:"label"`
	Description           string                    `json:"description,omitempty"`
	Encrypted             bool                      `json:"encrypted,omitempty"`
	IsUnique              bool                      `json:"isUnique"`
	UserEditable          bool                      `json:"userEditable,omitempty"`
	VisibleInAdminConsole bool                      `json:"visibleInAdminConsole"`
	VisibleInUserCenter   bool                      `json:"visibleInUserCenter,omitempty"`
	I18n                  CustomFieldI18n           `json:"i18n,omitempty"`
	Options               []CustomFieldSelectOption `json:"options,omitempty"`
}

type CustomFieldI18n ¶

type CustomFieldI18n struct {
	Label LangObject `json:"label"`
}

type CustomFieldListRespDto ¶

type CustomFieldListRespDto struct {
	StatusCode int              `json:"statusCode"`
	Message    string           `json:"message"`
	ApiCode    int              `json:"apiCode,omitempty"`
	RequestId  string           `json:"requestId,omitempty"`
	Data       []CustomFieldDto `json:"data"`
}

type CustomFieldSelectOption ¶

type CustomFieldSelectOption struct {
	Value string `json:"value"`
	Label string `json:"label"`
}

type DataPoliciesPaginatedRespDto ¶ added in v3.0.4

type DataPoliciesPaginatedRespDto struct {
	TotalCount int                       `json:"totalCount"`
	List       []ListDataPoliciesRespDto `json:"list"`
}

type DataPoliciesSimplePaginatedRespDto ¶ added in v3.0.4

type DataPoliciesSimplePaginatedRespDto struct {
	TotalCount int                             `json:"totalCount,omitempty"`
	List       []ListSimpleDataPoliciesRespDto `json:"list"`
}

type DataResourcePolicyArrayStructs ¶ added in v3.0.4

type DataResourcePolicyArrayStructs struct {
	OperationType string                   `json:"operationType"`
	ActionList    []ArrayOrStringActionDto `json:"actionList"`
}

type DataResourcePolicyStringStructs ¶ added in v3.0.4

type DataResourcePolicyStringStructs struct {
	OperationType string                   `json:"operationType"`
	ActionList    []ArrayOrStringActionDto `json:"actionList"`
}

type DataResourcePolicyTreeStructs ¶ added in v3.0.4

type DataResourcePolicyTreeStructs struct {
	Code     string   `json:"code"`
	Value    string   `json:"value,omitempty"`
	Name     string   `json:"name"`
	Action   string   `json:"action"`
	Enabled  bool     `json:"enabled"`
	Children []string `json:"children,omitempty"`
}

type DataResourceSimpleRespDto ¶ added in v3.0.4

type DataResourceSimpleRespDto struct {
	ResourceId   string `json:"resourceId"`
	ResourceName string `json:"resourceName"`
}

type DataResourceTreeStructs ¶ added in v3.0.4

type DataResourceTreeStructs struct {
	Code     string        `json:"code"`
	Name     string        `json:"name"`
	Value    string        `json:"value,omitempty"`
	Children []interface{} `json:"children,omitempty"`
}

type DataResourcesPaginatedRespDto ¶ added in v3.0.4

type DataResourcesPaginatedRespDto struct {
	TotalCount int                        `json:"totalCount"`
	List       []ListDataResourcesRespDto `json:"list"`
}

type DataStatementPermissionDto ¶ added in v3.0.4

type DataStatementPermissionDto struct {
	Effect      string   `json:"effect"`
	Permissions []string `json:"permissions"`
}

type DataSubjectRespDto ¶ added in v3.0.4

type DataSubjectRespDto struct {
	TargetIdentifier  string `json:"targetIdentifier"`
	TargetType        string `json:"targetType"`
	TargetName        string `json:"targetName"`
	AuthorizationTime string `json:"authorizationTime"`
}

type DecryptWechatMiniProgramDataDto ¶

type DecryptWechatMiniProgramDataDto struct {
	Code                 string `json:"code"`
	Iv                   string `json:"iv"`
	EncryptedData        string `json:"encryptedData"`
	ExtIdpConnidentifier string `json:"extIdpConnidentifier"`
}

type DecryptWechatMiniProgramDataRespDto ¶

type DecryptWechatMiniProgramDataRespDto struct {
	StatusCode int         `json:"statusCode"`
	Message    string      `json:"message"`
	ApiCode    int         `json:"apiCode,omitempty"`
	RequestId  string      `json:"requestId,omitempty"`
	Data       interface{} `json:"data"`
}

type DeleteAccessKeyDto ¶ added in v3.0.4

type DeleteAccessKeyDto struct {
	AccessKeyId string `json:"accessKeyId"`
}

type DeleteAccounDto ¶

type DeleteAccounDto struct {
	DeleteAccountToken string `json:"deleteAccountToken"`
}

type DeleteAccountByEmailPassCodeDto ¶

type DeleteAccountByEmailPassCodeDto struct {
	Email    string `json:"email,omitempty"`
	PassCode string `json:"passCode"`
}

type DeleteAccountByPasswordDto ¶

type DeleteAccountByPasswordDto struct {
	Password            string `json:"password"`
	PasswordEncryptType string `json:"passwordEncryptType,omitempty"`
}

type DeleteAccountByPhonePassCodeDto ¶

type DeleteAccountByPhonePassCodeDto struct {
	PhoneNumber      string `json:"phoneNumber"`
	PassCode         string `json:"passCode"`
	PhoneCountryCode string `json:"phoneCountryCode,omitempty"`
}

type DeleteApplicationDto ¶

type DeleteApplicationDto struct {
	AppId string `json:"appId"`
}

type DeleteApplicationPermissionRecord ¶

type DeleteApplicationPermissionRecord struct {
	List  []DeleteApplicationPermissionRecordItem `json:"list"`
	AppId string                                  `json:"appId"`
}

type DeleteApplicationPermissionRecordItem ¶

type DeleteApplicationPermissionRecordItem struct {
	TargetType       string   `json:"targetType"`
	NamespaceCode    string   `json:"namespaceCode,omitempty"`
	TargetIdentifier []string `json:"targetIdentifier"`
}

type DeleteAsaAccountBatchDto ¶ added in v3.0.4

type DeleteAsaAccountBatchDto struct {
	AccountIds []string `json:"accountIds"`
	AppId      string   `json:"appId"`
}

type DeleteAsaAccountDto ¶ added in v3.0.4

type DeleteAsaAccountDto struct {
	AccountId string `json:"accountId"`
	AppId     string `json:"appId"`
}

type DeleteAuthorizeDataPolicyDto ¶ added in v3.0.4

type DeleteAuthorizeDataPolicyDto struct {
	TargetType       string `json:"targetType"`
	TargetIdentifier string `json:"targetIdentifier"`
	PolicyId         string `json:"policyId"`
}

type DeleteCommonResourcesBatchDto ¶ added in v3.0.4

type DeleteCommonResourcesBatchDto struct {
	Ids []string `json:"ids"`
}

type DeleteDataPolicyDto ¶ added in v3.0.4

type DeleteDataPolicyDto struct {
	PolicyId string `json:"policyId"`
}

type DeleteDataResourceDto ¶ added in v3.0.4

type DeleteDataResourceDto struct {
	ResourceCode  string `json:"resourceCode"`
	NamespaceCode string `json:"namespaceCode"`
}

type DeleteDepartmentReqDto ¶

type DeleteDepartmentReqDto struct {
	OrganizationCode string `json:"organizationCode"`
	DepartmentId     string `json:"departmentId"`
	DepartmentIdType string `json:"departmentIdType,omitempty"`
	TenantId         string `json:"tenantId,omitempty"`
}

type DeleteExtIdpConnDto ¶

type DeleteExtIdpConnDto struct {
	Id       string `json:"id"`
	TenantId string `json:"tenantId,omitempty"`
}

type DeleteExtIdpDto ¶

type DeleteExtIdpDto struct {
	Id       string `json:"id"`
	TenantId string `json:"tenantId,omitempty"`
}

type DeleteGroupsReqDto ¶

type DeleteGroupsReqDto struct {
	CodeList []string `json:"codeList"`
}

type DeleteNamespaceDto ¶

type DeleteNamespaceDto struct {
	Code string `json:"code"`
}

type DeleteNamespacesBatchDto ¶

type DeleteNamespacesBatchDto struct {
	CodeList []string `json:"codeList"`
}

type DeleteOrganizationReqDto ¶

type DeleteOrganizationReqDto struct {
	OrganizationCode string `json:"organizationCode"`
	TenantId         string `json:"tenantId,omitempty"`
}

type DeletePermissionNamespaceDto ¶ added in v3.0.4

type DeletePermissionNamespaceDto struct {
	Code string `json:"code"`
}

type DeletePermissionNamespacesBatchDto ¶ added in v3.0.4

type DeletePermissionNamespacesBatchDto struct {
	Codes []string `json:"codes"`
}

type DeletePipelineFunctionDto ¶

type DeletePipelineFunctionDto struct {
	FuncId string `json:"funcId"`
}

type DeleteResourceDto ¶

type DeleteResourceDto struct {
	Code      string `json:"code"`
	Namespace string `json:"namespace,omitempty"`
}

type DeleteResourcesBatchDto ¶

type DeleteResourcesBatchDto struct {
	Namespace string   `json:"namespace,omitempty"`
	CodeList  []string `json:"codeList,omitempty"`
	Ids       []string `json:"ids,omitempty"`
}

type DeleteRoleBatchDto ¶ added in v3.0.4

type DeleteRoleBatchDto struct {
	RoleList []RoleCodeAndNamespaceDto `json:"roleList"`
}

type DeleteRoleDto ¶

type DeleteRoleDto struct {
	CodeList  []string `json:"codeList"`
	Namespace string   `json:"namespace,omitempty"`
}

type DeleteTenantDto ¶

type DeleteTenantDto struct {
	TenantId string `json:"tenantId"`
}

type DeleteTenantUsersDto ¶

type DeleteTenantUsersDto struct {
	TenantId    string   `json:"tenantId"`
	LinkUserIds []string `json:"linkUserIds"`
	MemberIds   []string `json:"memberIds"`
}

type DeleteUsersBatchDto ¶

type DeleteUsersBatchDto struct {
	UserIds []string                   `json:"userIds"`
	Options DeleteUsersBatchOptionsDto `json:"options,omitempty"`
}

type DeleteUsersBatchOptionsDto ¶

type DeleteUsersBatchOptionsDto struct {
	UserIdType string `json:"userIdType,omitempty"`
}

type DeleteWebhookDto ¶

type DeleteWebhookDto struct {
	WebhookIds []string `json:"webhookIds"`
}

type DeleteWebhookRespDto ¶

type DeleteWebhookRespDto struct {
	StatusCode int    `json:"statusCode"`
	Message    string `json:"message"`
	ApiCode    int    `json:"apiCode,omitempty"`
	RequestId  string `json:"requestId,omitempty"`
}

type DepartmentDto ¶

type DepartmentDto struct {
	OrganizationCode   string            `json:"organizationCode"`
	DepartmentId       string            `json:"departmentId"`
	CreatedAt          string            `json:"createdAt"`
	UpdatedAt          string            `json:"updatedAt,omitempty"`
	OpenDepartmentId   string            `json:"openDepartmentId,omitempty"`
	Name               string            `json:"name"`
	LeaderUserIds      []string          `json:"leaderUserIds,omitempty"`
	Description        string            `json:"description,omitempty"`
	ParentDepartmentId string            `json:"parentDepartmentId"`
	Code               string            `json:"code,omitempty"`
	MembersCount       int               `json:"membersCount"`
	HasChildren        bool              `json:"hasChildren"`
	IsVirtualNode      bool              `json:"isVirtualNode,omitempty"`
	I18n               DepartmentI18nDto `json:"i18n,omitempty"`
	CustomData         interface{}       `json:"customData,omitempty"`
}

type DepartmentI18nDto ¶

type DepartmentI18nDto struct {
	Name LangObject `json:"name"`
}

type DepartmentListRespDto ¶

type DepartmentListRespDto struct {
	StatusCode int             `json:"statusCode"`
	Message    string          `json:"message"`
	ApiCode    int             `json:"apiCode,omitempty"`
	RequestId  string          `json:"requestId,omitempty"`
	Data       []DepartmentDto `json:"data"`
}

type DepartmentPaginatedRespDto ¶

type DepartmentPaginatedRespDto struct {
	StatusCode int                 `json:"statusCode"`
	Message    string              `json:"message"`
	ApiCode    int                 `json:"apiCode,omitempty"`
	RequestId  string              `json:"requestId,omitempty"`
	Data       DepartmentPagingDto `json:"data"`
}

type DepartmentPagingDto ¶

type DepartmentPagingDto struct {
	TotalCount bool            `json:"totalCount"`
	List       []DepartmentDto `json:"list"`
}

type DepartmentSingleRespDto ¶

type DepartmentSingleRespDto struct {
	StatusCode int           `json:"statusCode"`
	Message    string        `json:"message"`
	ApiCode    int           `json:"apiCode,omitempty"`
	RequestId  string        `json:"requestId,omitempty"`
	Data       DepartmentDto `json:"data"`
}

type EmailProviderDto ¶

type EmailProviderDto struct {
	Enabled             bool                             `json:"enabled"`
	Type                string                           `json:"type,omitempty"`
	SmtpConfig          SMTPEmailProviderConfig          `json:"smtpConfig,omitempty"`
	SendGridConfig      SendGridEmailProviderConfig      `json:"sendGridConfig,omitempty"`
	AliExmailConfig     AliExmailEmailProviderConfig     `json:"aliExmailConfig,omitempty"`
	TencentExmailConfig TencentExmailEmailProviderConfig `json:"tencentExmailConfig,omitempty"`
}

type EmailProviderRespDto ¶

type EmailProviderRespDto struct {
	StatusCode int              `json:"statusCode"`
	Message    string           `json:"message"`
	ApiCode    int              `json:"apiCode,omitempty"`
	RequestId  string           `json:"requestId,omitempty"`
	Data       EmailProviderDto `json:"data"`
}

type EmailTemplateCategoryDto ¶

type EmailTemplateCategoryDto struct {
	Title   string `json:"title"`
	TitleEn string `json:"titleEn"`
	Desc    string `json:"desc"`
	DescEn  string `json:"descEn"`
}

type EmailTemplateDto ¶

type EmailTemplateDto struct {
	CustomizeEnabled bool   `json:"customizeEnabled"`
	Type             string `json:"type"`
	Name             string `json:"name"`
	Subject          string `json:"subject"`
	Sender           string `json:"sender"`
	Content          string `json:"content"`
	ExpiresIn        int    `json:"expiresIn,omitempty"`
	RedirectTo       string `json:"redirectTo,omitempty"`
	TplEngine        string `json:"tplEngine,omitempty"`
}

type EmailTemplateSingleItemRespDto ¶

type EmailTemplateSingleItemRespDto struct {
	StatusCode int              `json:"statusCode"`
	Message    string           `json:"message"`
	ApiCode    int              `json:"apiCode,omitempty"`
	RequestId  string           `json:"requestId,omitempty"`
	Data       EmailTemplateDto `json:"data"`
}

type EnableExtIdpConnDto ¶

type EnableExtIdpConnDto struct {
	AppIds   string `json:"appIds"`
	AppId    string `json:"appId"`
	Enabled  bool   `json:"enabled"`
	Id       string `json:"id"`
	TenantId string `json:"tenantId,omitempty"`
}

type EnrollFactorDto ¶

type EnrollFactorDto struct {
	EnrollmentData  EnrollFactorEnrollmentDataDto `json:"enrollmentData"`
	EnrollmentToken string                        `json:"enrollmentToken"`
	FactorType      string                        `json:"factorType"`
}

type EnrollFactorEnrollmentDataDto ¶

type EnrollFactorEnrollmentDataDto struct {
	PassCode        string `json:"passCode,omitempty"`
	Photo           string `json:"photo,omitempty"`
	IsExternalPhoto bool   `json:"isExternalPhoto,omitempty"`
}

type EnrollFactorRespDto ¶

type EnrollFactorRespDto struct {
	StatusCode int    `json:"statusCode"`
	Message    string `json:"message"`
	ApiCode    int    `json:"apiCode,omitempty"`
	RequestId  string `json:"requestId,omitempty"`
}

type ExchangeTokenSetWithQRcodeTicketDto ¶

type ExchangeTokenSetWithQRcodeTicketDto struct {
	Ticket       string `json:"ticket"`
	ClientId     string `json:"client_id,omitempty"`
	ClientSecret string `json:"client_secret,omitempty"`
}

type ExtIdpConnAppsDto ¶

type ExtIdpConnAppsDto struct {
	Id       string `json:"id,omitempty"`
	TenantId string `json:"tenantId,omitempty"`
	AppId    string `json:"appId,omitempty"`
	Type     string `json:"type,omitempty"`
}

type ExtIdpConnDetail ¶

type ExtIdpConnDetail struct {
	Id                      string   `json:"id"`
	Type                    string   `json:"type"`
	ExtIdpId                string   `json:"extIdpId"`
	Identifier              string   `json:"identifier,omitempty"`
	DisplayName             string   `json:"displayName,omitempty"`
	LoginOnly               bool     `json:"loginOnly"`
	AssociationMode         string   `json:"associationMode"`
	ChallengeBindingMethods []string `json:"challengeBindingMethods"`
}

type ExtIdpConnDetailSingleRespDto ¶

type ExtIdpConnDetailSingleRespDto struct {
	StatusCode int              `json:"statusCode"`
	Message    string           `json:"message"`
	ApiCode    int              `json:"apiCode,omitempty"`
	RequestId  string           `json:"requestId,omitempty"`
	Data       ExtIdpConnDetail `json:"data"`
}

type ExtIdpConnDto ¶

type ExtIdpConnDto struct {
	Id          string `json:"id"`
	Type        string `json:"type"`
	Identifier  string `json:"identifier,omitempty"`
	DisplayName string `json:"displayName,omitempty"`
}

type ExtIdpDetail ¶

type ExtIdpDetail struct {
	Id          string      `json:"id"`
	Name        string      `json:"name"`
	TenantId    string      `json:"tenantId,omitempty"`
	Type        string      `json:"type"`
	Connections interface{} `json:"connections"`
	AutoJoin    bool        `json:"autoJoin"`
}

type ExtIdpDetailSingleRespDto ¶

type ExtIdpDetailSingleRespDto struct {
	StatusCode int          `json:"statusCode"`
	Message    string       `json:"message"`
	ApiCode    int          `json:"apiCode,omitempty"`
	RequestId  string       `json:"requestId,omitempty"`
	Data       ExtIdpDetail `json:"data"`
}

type ExtIdpDto ¶

type ExtIdpDto struct {
	Id       string `json:"id"`
	Name     string `json:"name"`
	TenantId string `json:"tenantId,omitempty"`
	Type     string `json:"type"`
}

type ExtIdpInfoDto ¶

type ExtIdpInfoDto struct {
	Identifier string `json:"identifier"`
	ExtIdpId   string `json:"extIdpId"`
	Type       string `json:"type"`
	ExtIdpType string `json:"extIdpType"`
	BindUrl    string `json:"bindUrl"`
	Name       string `json:"name"`
	NameEn     string `json:"name_en,omitempty"`
	Desc       string `json:"desc,omitempty"`
	DescEn     string `json:"desc_en,omitempty"`
}

type ExtIdpListPaginatedRespDto ¶

type ExtIdpListPaginatedRespDto struct {
	StatusCode int                 `json:"statusCode"`
	Message    string              `json:"message"`
	ApiCode    int                 `json:"apiCode,omitempty"`
	RequestId  string              `json:"requestId,omitempty"`
	Data       ExtIdpListPagingDto `json:"data"`
}

type ExtIdpListPagingDto ¶

type ExtIdpListPagingDto struct {
	TotalCount int         `json:"totalCount"`
	List       []ExtIdpDto `json:"list"`
}

type ExtIdpSingleRespDto ¶

type ExtIdpSingleRespDto struct {
	StatusCode int       `json:"statusCode"`
	Message    string    `json:"message"`
	ApiCode    int       `json:"apiCode,omitempty"`
	RequestId  string    `json:"requestId,omitempty"`
	Data       ExtIdpDto `json:"data"`
}

type FactorDto ¶

type FactorDto struct {
	FactorId   string      `json:"factorId"`
	FactorType string      `json:"factorType"`
	Profile    interface{} `json:"profile"`
}

type FactorProfile ¶

type FactorProfile struct {
	PhoneNumber      string `json:"phoneNumber,omitempty"`
	PhoneCountryCode string `json:"phoneCountryCode,omitempty"`
	Email            string `json:"email,omitempty"`
}

type FactorToEnrollDto ¶

type FactorToEnrollDto struct {
	FactorType string `json:"factorType"`
}

type FinishLoginParams ¶

type FinishLoginParams struct {
}

type GeneQRCodeDataDto ¶

type GeneQRCodeDataDto struct {
	QrcodeId      string `json:"qrcodeId"`
	Url           string `json:"url"`
	CustomLogoUrl string `json:"customLogoUrl,omitempty"`
}

type GeneQRCodeRespDto ¶

type GeneQRCodeRespDto struct {
	StatusCode int               `json:"statusCode"`
	Message    string            `json:"message"`
	ApiCode    int               `json:"apiCode,omitempty"`
	RequestId  string            `json:"requestId,omitempty"`
	Data       GeneQRCodeDataDto `json:"data"`
}

type GenerateBindExtIdpLinkDataDto ¶

type GenerateBindExtIdpLinkDataDto struct {
	Url string `json:"url"`
}

type GenerateBindExtIdpLinkRespDto ¶

type GenerateBindExtIdpLinkRespDto struct {
	StatusCode int                           `json:"statusCode"`
	Message    string                        `json:"message"`
	ApiCode    int                           `json:"apiCode,omitempty"`
	RequestId  string                        `json:"requestId,omitempty"`
	Data       GenerateBindExtIdpLinkDataDto `json:"data"`
}

type GenerateLinkExtidpUrlDto ¶

type GenerateLinkExtidpUrlDto struct {
	ExtIdpConnIdentifier string `json:"ext_idp_conn_identifier,omitempty"`
	AppId                string `json:"app_id,omitempty"`
	IdToken              string `json:"id_token,omitempty"`
}

type GenerateQrcodeDto ¶

type GenerateQrcodeDto struct {
	Type            string      `json:"type"`
	ExtIdpConnId    string      `json:"extIdpConnId,omitempty"`
	CustomData      interface{} `json:"customData,omitempty"`
	Context         interface{} `json:"context,omitempty"`
	AutoMergeQrCode bool        `json:"autoMergeQrCode,omitempty"`
}

type GeoIp ¶

type GeoIp struct {
	Location      GeoIpLocation `json:"location"`
	CountryName   string        `json:"country_name"`
	CountryCode2  string        `json:"country_code2"`
	CountryCode3  string        `json:"country_code3"`
	RegionName    string        `json:"region_name"`
	RegionCode    string        `json:"region_code"`
	CityName      string        `json:"city_name"`
	ContinentCode string        `json:"continent_code"`
	Timezone      string        `json:"timezone"`
}

type GeoIpLocation ¶

type GeoIpLocation struct {
	Lon int `json:"lon"`
	Lat int `json:"lat"`
}

type GetAccessKeyDto ¶ added in v3.0.4

type GetAccessKeyDto struct {
	UserId      string `json:"userId,omitempty"`
	AccessKeyId string `json:"accessKeyId,omitempty"`
}

type GetAccessKeyRespDto ¶ added in v3.0.4

type GetAccessKeyRespDto struct {
	AccessKeyId     string `json:"accessKeyId"`
	AccessKeySecret string `json:"accessKeySecret"`
	UserId          string `json:"userId"`
	CreatedAt       string `json:"createdAt"`
	Status          string `json:"status"`
	LastDate        string `json:"lastDate"`
	UserPoolId      string `json:"userPoolId"`
	Enable          bool   `json:"enable"`
}

type GetAccessKeyResponseDto ¶ added in v3.0.4

type GetAccessKeyResponseDto struct {
	StatusCode int                   `json:"statusCode"`
	Message    string                `json:"message"`
	ApiCode    int                   `json:"apiCode,omitempty"`
	RequestId  string                `json:"requestId,omitempty"`
	Data       []GetAccessKeyRespDto `json:"data"`
}

type GetAccessibleAppsRespDto ¶

type GetAccessibleAppsRespDto struct {
	StatusCode int                 `json:"statusCode"`
	Message    string              `json:"message"`
	ApiCode    int                 `json:"apiCode,omitempty"`
	RequestId  string              `json:"requestId,omitempty"`
	Data       []AccessibleAppsDto `json:"data"`
}

type GetAdminAuditLogsDto ¶

type GetAdminAuditLogsDto struct {
	RequestId     string          `json:"requestId,omitempty"`
	ClientIp      string          `json:"clientIp,omitempty"`
	OperationType string          `json:"operationType,omitempty"`
	ResourceType  string          `json:"resourceType,omitempty"`
	UserId        string          `json:"userId,omitempty"`
	Success       bool            `json:"success,omitempty"`
	Start         int             `json:"start,omitempty"`
	End           int             `json:"end,omitempty"`
	Pagination    ListWebhooksDto `json:"pagination,omitempty"`
}

type GetAlipayAuthInfoRespDto ¶

type GetAlipayAuthInfoRespDto struct {
	StatusCode int                   `json:"statusCode"`
	Message    string                `json:"message"`
	ApiCode    int                   `json:"apiCode,omitempty"`
	RequestId  string                `json:"requestId,omitempty"`
	Data       AlipayAuthInfoDataDto `json:"data"`
}

type GetAlipayAuthinfoDto ¶

type GetAlipayAuthinfoDto struct {
	ExtIdpConnidentifier string `json:"extIdpConnidentifier,omitempty"`
}

type GetApplicationDto ¶

type GetApplicationDto struct {
	AppId string `json:"appId,omitempty"`
}

type GetApplicationPermissionStrategyDataDto ¶

type GetApplicationPermissionStrategyDataDto struct {
	PermissionStrategy string `json:"permissionStrategy"`
}

type GetApplicationPermissionStrategyDto ¶

type GetApplicationPermissionStrategyDto struct {
	AppId string `json:"appId,omitempty"`
}

type GetApplicationPermissionStrategyRespDto ¶

type GetApplicationPermissionStrategyRespDto struct {
	StatusCode int                                     `json:"statusCode"`
	Message    string                                  `json:"message"`
	ApiCode    int                                     `json:"apiCode,omitempty"`
	RequestId  string                                  `json:"requestId,omitempty"`
	Data       GetApplicationPermissionStrategyDataDto `json:"data"`
}

type GetApplicationPublicConfigDto ¶

type GetApplicationPublicConfigDto struct {
	AppId string `json:"appId,omitempty"`
}

type GetApplicationSecretDataDto ¶

type GetApplicationSecretDataDto struct {
	Secret string `json:"secret"`
}

type GetApplicationSecretDto ¶

type GetApplicationSecretDto struct {
	AppId string `json:"appId,omitempty"`
}

type GetApplicationSecretRespDto ¶

type GetApplicationSecretRespDto struct {
	StatusCode int                         `json:"statusCode"`
	Message    string                      `json:"message"`
	ApiCode    int                         `json:"apiCode,omitempty"`
	RequestId  string                      `json:"requestId,omitempty"`
	Data       GetApplicationSecretDataDto `json:"data"`
}

type GetApplicationSimpleInfoDto ¶

type GetApplicationSimpleInfoDto struct {
	AppId string `json:"appId,omitempty"`
}

type GetAsaAccountAssignedTargetDataDto ¶ added in v3.0.4

type GetAsaAccountAssignedTargetDataDto struct {
	TotalCount int                   `json:"totalCount"`
	List       []AsaAccountTargetDto `json:"list"`
}

type GetAsaAccountAssignedTargetRespDto ¶ added in v3.0.4

type GetAsaAccountAssignedTargetRespDto struct {
	StatusCode int                                `json:"statusCode"`
	Message    string                             `json:"message"`
	ApiCode    int                                `json:"apiCode,omitempty"`
	RequestId  string                             `json:"requestId,omitempty"`
	Data       GetAsaAccountAssignedTargetDataDto `json:"data"`
}

type GetAsaAccountAssignedTargetsDto ¶ added in v3.0.4

type GetAsaAccountAssignedTargetsDto struct {
	AppId     string `json:"appId,omitempty"`
	AccountId string `json:"accountId,omitempty"`
	Page      int    `json:"page,omitempty"`
	Limit     int    `json:"limit,omitempty"`
}

type GetAsaAccountBatchDto ¶ added in v3.0.4

type GetAsaAccountBatchDto struct {
	AccountIds []string `json:"accountIds"`
	AppId      string   `json:"appId"`
}

type GetAsaAccountDto ¶ added in v3.0.4

type GetAsaAccountDto struct {
	AppId     string `json:"appId,omitempty"`
	AccountId string `json:"accountId,omitempty"`
}

type GetAssignedAccountDto ¶ added in v3.0.4

type GetAssignedAccountDto struct {
	AppId            string `json:"appId,omitempty"`
	TargetType       string `json:"targetType,omitempty"`
	TargetIdentifier string `json:"targetIdentifier,omitempty"`
}

type GetAuthorizedResourceActionDto ¶

type GetAuthorizedResourceActionDto struct {
	Op   string   `json:"op"`
	List []string `json:"list"`
}

type GetAuthorizedResourcesDto ¶

type GetAuthorizedResourcesDto struct {
	TargetType       string `json:"targetType,omitempty"`
	TargetIdentifier string `json:"targetIdentifier,omitempty"`
	Namespace        string `json:"namespace,omitempty"`
	ResourceType     string `json:"resourceType,omitempty"`
	ResourceList     string `json:"resourceList,omitempty"`
	WithDenied       bool   `json:"withDenied,omitempty"`
}

type GetAuthorizedTargetDataDto ¶

type GetAuthorizedTargetDataDto struct {
	TotalCount int                               `json:"totalCount"`
	List       []ResourcePermissionAssignmentDto `json:"list"`
}

type GetAuthorizedTargetRespDto ¶

type GetAuthorizedTargetRespDto struct {
	StatusCode int                        `json:"statusCode"`
	Message    string                     `json:"message"`
	ApiCode    int                        `json:"apiCode,omitempty"`
	RequestId  string                     `json:"requestId,omitempty"`
	Data       GetAuthorizedTargetDataDto `json:"data"`
}

type GetAuthorizedTargetsDto ¶

type GetAuthorizedTargetsDto struct {
	Resource     string                         `json:"resource"`
	Namespace    string                         `json:"namespace,omitempty"`
	ResourceType string                         `json:"resourceType,omitempty"`
	TargetType   string                         `json:"targetType,omitempty"`
	Actions      GetAuthorizedResourceActionDto `json:"actions,omitempty"`
}

type GetCountryListRespDto ¶

type GetCountryListRespDto struct {
	StatusCode int                 `json:"statusCode"`
	Message    string              `json:"message"`
	ApiCode    int                 `json:"apiCode,omitempty"`
	RequestId  string              `json:"requestId,omitempty"`
	Data       []CountryDetailInfo `json:"data"`
}

type GetCustomDataDto ¶

type GetCustomDataDto struct {
	TargetType       string `json:"targetType,omitempty"`
	TargetIdentifier string `json:"targetIdentifier,omitempty"`
	Namespace        string `json:"namespace,omitempty"`
}

type GetCustomDataRespDto ¶

type GetCustomDataRespDto struct {
	StatusCode int         `json:"statusCode"`
	Message    string      `json:"message"`
	ApiCode    int         `json:"apiCode,omitempty"`
	RequestId  string      `json:"requestId,omitempty"`
	Data       interface{} `json:"data"`
}

type GetCustomFieldsDto ¶

type GetCustomFieldsDto struct {
	TargetType string `json:"targetType,omitempty"`
}

type GetDataPolicyDto ¶ added in v3.0.4

type GetDataPolicyDto struct {
	PolicyId string `json:"policyId,omitempty"`
}

type GetDataPolicyRespDto ¶ added in v3.0.4

type GetDataPolicyRespDto struct {
	PolicyId    string `json:"policyId"`
	PolicyName  string `json:"policyName"`
	Description string `json:"description,omitempty"`
	CreatedAt   string `json:"createdAt"`
	UpdatedAt   string `json:"updatedAt"`
}

type GetDataPolicyResponseDto ¶ added in v3.0.4

type GetDataPolicyResponseDto struct {
	StatusCode int                  `json:"statusCode"`
	Message    string               `json:"message"`
	ApiCode    int                  `json:"apiCode,omitempty"`
	RequestId  string               `json:"requestId,omitempty"`
	Data       GetDataPolicyRespDto `json:"data"`
}

type GetDataResourceDto ¶ added in v3.0.4

type GetDataResourceDto struct {
	NamespaceCode string `json:"namespaceCode,omitempty"`
	ResourceCode  string `json:"resourceCode,omitempty"`
}

type GetDataResourceRespDto ¶ added in v3.0.4

type GetDataResourceRespDto struct {
	ResourceName  string      `json:"resourceName"`
	ResourceCode  string      `json:"resourceCode"`
	Type          string      `json:"type"`
	Description   string      `json:"description,omitempty"`
	Struct        interface{} `json:"struct"`
	NamespaceCode string      `json:"namespaceCode"`
	Actions       []string    `json:"actions"`
}

type GetDataResourceResponseDto ¶ added in v3.0.4

type GetDataResourceResponseDto struct {
	StatusCode int                    `json:"statusCode"`
	Message    string                 `json:"message"`
	ApiCode    int                    `json:"apiCode,omitempty"`
	RequestId  string                 `json:"requestId,omitempty"`
	Data       GetDataResourceRespDto `json:"data"`
}

type GetDepartmentByIdDto ¶ added in v3.0.4

type GetDepartmentByIdDto struct {
	DepartmentId string `json:"departmentId,omitempty"`
	TenantId     string `json:"tenantId,omitempty"`
}

type GetDepartmentDto ¶

type GetDepartmentDto struct {
	OrganizationCode string `json:"organizationCode,omitempty"`
	DepartmentId     string `json:"departmentId,omitempty"`
	DepartmentCode   string `json:"departmentCode,omitempty"`
	DepartmentIdType string `json:"departmentIdType,omitempty"`
	WithCustomData   bool   `json:"withCustomData,omitempty"`
	TenantId         string `json:"tenantId,omitempty"`
}

type GetDepartmentListDto ¶

type GetDepartmentListDto struct {
	Page           int    `json:"page,omitempty"`
	Limit          int    `json:"limit,omitempty"`
	WithCustomData bool   `json:"withCustomData,omitempty"`
	SortBy         string `json:"sortBy,omitempty"`
	OrderBy        string `json:"orderBy,omitempty"`
}

type GetEmailTemplatesDataDto ¶

type GetEmailTemplatesDataDto struct {
	Templates  []EmailTemplateDto         `json:"templates"`
	Categories []EmailTemplateCategoryDto `json:"categories"`
}

type GetEmailTemplatesRespDto ¶

type GetEmailTemplatesRespDto struct {
	StatusCode int                      `json:"statusCode"`
	Message    string                   `json:"message"`
	ApiCode    int                      `json:"apiCode,omitempty"`
	RequestId  string                   `json:"requestId,omitempty"`
	Data       GetEmailTemplatesDataDto `json:"data"`
}

type GetExtIdpDto ¶

type GetExtIdpDto struct {
	Id       string `json:"id,omitempty"`
	TenantId string `json:"tenantId,omitempty"`
	AppId    string `json:"appId,omitempty"`
	Type     string `json:"type,omitempty"`
}

type GetExtIdpsRespDto ¶

type GetExtIdpsRespDto struct {
	StatusCode int             `json:"statusCode"`
	Message    string          `json:"message"`
	ApiCode    int             `json:"apiCode,omitempty"`
	RequestId  string          `json:"requestId,omitempty"`
	Data       []ExtIdpInfoDto `json:"data"`
}

type GetExternalUserResourceStructDataDto ¶ added in v3.0.7

type GetExternalUserResourceStructDataDto struct {
	NamespaceCode          string                 `json:"namespaceCode"`
	ResourceCode           string                 `json:"resourceCode"`
	ResourceType           string                 `json:"resourceType"`
	StrResourceAuthAction  StrResourceAuthAction  `json:"strResourceAuthAction,omitempty"`
	ArrResourceAuthAction  ArrResourceAuthAction  `json:"arrResourceAuthAction,omitempty"`
	TreeResourceAuthAction TreeResourceAuthAction `json:"treeResourceAuthAction,omitempty"`
}

type GetExternalUserResourceStructDto ¶ added in v3.0.5

type GetExternalUserResourceStructDto struct {
	ResourceCode  string `json:"resourceCode"`
	ExternalId    string `json:"externalId"`
	NamespaceCode string `json:"namespaceCode"`
}

type GetExternalUserResourceStructRespDto ¶ added in v3.0.5

type GetExternalUserResourceStructRespDto struct {
	StatusCode int                                  `json:"statusCode"`
	Message    string                               `json:"message"`
	ApiCode    int                                  `json:"apiCode,omitempty"`
	RequestId  string                               `json:"requestId,omitempty"`
	Data       GetExternalUserResourceStructDataDto `json:"data"`
}

type GetFactorDto ¶

type GetFactorDto struct {
	FactorId string `json:"factorId,omitempty"`
}

type GetFactorRespDto ¶

type GetFactorRespDto struct {
	StatusCode int       `json:"statusCode"`
	Message    string    `json:"message"`
	ApiCode    int       `json:"apiCode,omitempty"`
	RequestId  string    `json:"requestId,omitempty"`
	Data       FactorDto `json:"data"`
}

type GetGroupAuthorizedResourcesDto ¶

type GetGroupAuthorizedResourcesDto struct {
	Code         string `json:"code,omitempty"`
	Namespace    string `json:"namespace,omitempty"`
	ResourceType string `json:"resourceType,omitempty"`
}

type GetGroupDto ¶

type GetGroupDto struct {
	Code string `json:"code,omitempty"`
}

type GetIdentitiesRespDto ¶

type GetIdentitiesRespDto struct {
	StatusCode int           `json:"statusCode"`
	Message    string        `json:"message"`
	ApiCode    int           `json:"apiCode,omitempty"`
	RequestId  string        `json:"requestId,omitempty"`
	Data       []IdentityDto `json:"data"`
}

type GetLoggedInAppsRespDto ¶

type GetLoggedInAppsRespDto struct {
	StatusCode int               `json:"statusCode"`
	Message    string            `json:"message"`
	ApiCode    int               `json:"apiCode,omitempty"`
	RequestId  string            `json:"requestId,omitempty"`
	Data       []LoggedInAppsDto `json:"data"`
}

type GetLoginHistoryDto ¶

type GetLoginHistoryDto struct {
	AppId    string `json:"appId,omitempty"`
	ClientIp string `json:"clientIp,omitempty"`
	Success  bool   `json:"success,omitempty"`
	Start    int    `json:"start,omitempty"`
	End      int    `json:"end,omitempty"`
	Page     int    `json:"page,omitempty"`
	Limit    int    `json:"limit,omitempty"`
}

type GetLoginHistoryRespDto ¶

type GetLoginHistoryRespDto struct {
	StatusCode int                          `json:"statusCode"`
	Message    string                       `json:"message"`
	ApiCode    int                          `json:"apiCode,omitempty"`
	RequestId  string                       `json:"requestId,omitempty"`
	Data       LoginHistoryPaginatedRespDto `json:"data"`
}

type GetManagementAccessTokenDto ¶

type GetManagementAccessTokenDto struct {
	AccessKeyId     string `json:"accessKeyId"`
	AccessKeySecret string `json:"accessKeySecret"`
}

type GetManagementTokenRespDto ¶

type GetManagementTokenRespDto struct {
	StatusCode int               `json:"statusCode"`
	Message    string            `json:"message"`
	ApiCode    int               `json:"apiCode,omitempty"`
	RequestId  string            `json:"requestId,omitempty"`
	Data       AccessTokenResDto `json:"data"`
}

type GetMauPeriodUsageHistoryDto ¶

type GetMauPeriodUsageHistoryDto struct {
	StartTime string `json:"startTime,omitempty"`
	EndTime   string `json:"endTime,omitempty"`
}

type GetMyAuthorizedResourcesDto ¶

type GetMyAuthorizedResourcesDto struct {
	Namespace    string `json:"namespace,omitempty"`
	ResourceType string `json:"resourceType,omitempty"`
}

type GetMyDepartmentListDto ¶

type GetMyDepartmentListDto struct {
	Page           int    `json:"page,omitempty"`
	Limit          int    `json:"limit,omitempty"`
	WithCustomData bool   `json:"withCustomData,omitempty"`
	SortBy         string `json:"sortBy,omitempty"`
	OrderBy        string `json:"orderBy,omitempty"`
}

type GetMyLoginHistoryDto ¶

type GetMyLoginHistoryDto struct {
	AppId    string `json:"appId,omitempty"`
	ClientIp string `json:"clientIp,omitempty"`
	Success  bool   `json:"success,omitempty"`
	Start    int    `json:"start,omitempty"`
	End      int    `json:"end,omitempty"`
	Page     int    `json:"page,omitempty"`
	Limit    int    `json:"limit,omitempty"`
}

type GetMyRoleListDto ¶

type GetMyRoleListDto struct {
	Namespace string `json:"namespace,omitempty"`
}

type GetNamespaceDto ¶

type GetNamespaceDto struct {
	Code string `json:"code,omitempty"`
}

type GetNamespacesBatchDto ¶

type GetNamespacesBatchDto struct {
	CodeList string `json:"codeList,omitempty"`
}

type GetOrderDetailDto ¶

type GetOrderDetailDto struct {
	OrderNo string `json:"orderNo,omitempty"`
}

type GetOrderPayDetailDto ¶

type GetOrderPayDetailDto struct {
	OrderNo string `json:"orderNo,omitempty"`
}

type GetOrdersDto ¶

type GetOrdersDto struct {
	Page  int `json:"page,omitempty"`
	Limit int `json:"limit,omitempty"`
}

type GetOrdersRes ¶

type GetOrdersRes struct {
	TotalCount string      `json:"totalCount"`
	List       []OrderItem `json:"list"`
}

type GetOrganizationBatchDto ¶

type GetOrganizationBatchDto struct {
	OrganizationCodeList string `json:"organizationCodeList,omitempty"`
	WithCustomData       bool   `json:"withCustomData,omitempty"`
	TenantId             string `json:"tenantId,omitempty"`
}

type GetOrganizationDto ¶

type GetOrganizationDto struct {
	OrganizationCode string `json:"organizationCode,omitempty"`
	WithCustomData   bool   `json:"withCustomData,omitempty"`
	TenantId         string `json:"tenantId,omitempty"`
}

type GetOtpSecretByUserDto ¶ added in v3.0.6

type GetOtpSecretByUserDto struct {
	UserId     string `json:"userId,omitempty"`
	UserIdType string `json:"userIdType,omitempty"`
}

type GetOtpSecretRespDto ¶ added in v3.0.6

type GetOtpSecretRespDto struct {
	StatusCode int              `json:"statusCode"`
	Message    string           `json:"message"`
	ApiCode    int              `json:"apiCode,omitempty"`
	RequestId  string           `json:"requestId,omitempty"`
	Data       OtpSecretRespDto `json:"data"`
}

type GetParentDepartmentDto ¶

type GetParentDepartmentDto struct {
	OrganizationCode string `json:"organizationCode,omitempty"`
	DepartmentId     string `json:"departmentId,omitempty"`
	DepartmentIdType string `json:"departmentIdType,omitempty"`
	WithCustomData   bool   `json:"withCustomData,omitempty"`
	TenantId         string `json:"tenantId,omitempty"`
}

type GetPermissionNamespaceDto ¶ added in v3.0.4

type GetPermissionNamespaceDto struct {
	Code string `json:"code,omitempty"`
}

type GetPermissionNamespaceListResponseDto ¶ added in v3.0.4

type GetPermissionNamespaceListResponseDto struct {
	StatusCode int                             `json:"statusCode"`
	Message    string                          `json:"message"`
	ApiCode    int                             `json:"apiCode,omitempty"`
	RequestId  string                          `json:"requestId,omitempty"`
	Data       []GetPermissionNamespaceRespDto `json:"data"`
}

type GetPermissionNamespaceRespDto ¶ added in v3.0.4

type GetPermissionNamespaceRespDto struct {
	Code        string `json:"code"`
	Name        string `json:"name"`
	Description string `json:"description,omitempty"`
}

type GetPermissionNamespaceResponseDto ¶ added in v3.0.4

type GetPermissionNamespaceResponseDto struct {
	StatusCode int                           `json:"statusCode"`
	Message    string                        `json:"message"`
	ApiCode    int                           `json:"apiCode,omitempty"`
	RequestId  string                        `json:"requestId,omitempty"`
	Data       GetPermissionNamespaceRespDto `json:"data"`
}

type GetPermissionNamespacesBatchDto ¶ added in v3.0.4

type GetPermissionNamespacesBatchDto struct {
	Codes string `json:"codes,omitempty"`
}

type GetPipelineFunctionDto ¶

type GetPipelineFunctionDto struct {
	FuncId string `json:"funcId,omitempty"`
}

type GetPipelineLogsDto ¶

type GetPipelineLogsDto struct {
	FuncId string `json:"funcId,omitempty"`
	Page   int    `json:"page,omitempty"`
	Limit  int    `json:"limit,omitempty"`
}

type GetProfileDto ¶

type GetProfileDto struct {
	WithCustomData    bool `json:"withCustomData,omitempty"`
	WithIdentities    bool `json:"withIdentities,omitempty"`
	WithDepartmentIds bool `json:"withDepartmentIds,omitempty"`
}

type GetResourceAuthorizedTargetDataDto ¶

type GetResourceAuthorizedTargetDataDto struct {
	TotalCount int                           `json:"totalCount"`
	List       []ResourceAuthorizedTargetDto `json:"list"`
}

type GetResourceAuthorizedTargetRespDto ¶

type GetResourceAuthorizedTargetRespDto struct {
	StatusCode int                                `json:"statusCode"`
	Message    string                             `json:"message"`
	ApiCode    int                                `json:"apiCode,omitempty"`
	RequestId  string                             `json:"requestId,omitempty"`
	Data       GetResourceAuthorizedTargetDataDto `json:"data"`
}

type GetResourceAuthorizedTargetsDto ¶

type GetResourceAuthorizedTargetsDto struct {
	Resource   string `json:"resource"`
	Namespace  string `json:"namespace,omitempty"`
	TargetType string `json:"targetType,omitempty"`
	Page       int    `json:"page,omitempty"`
	Limit      int    `json:"limit,omitempty"`
}

type GetResourceDto ¶

type GetResourceDto struct {
	Code      string `json:"code,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

type GetResourcesBatchDto ¶

type GetResourcesBatchDto struct {
	CodeList  string `json:"codeList,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

type GetRoleAuthorizedResourcesDto ¶

type GetRoleAuthorizedResourcesDto struct {
	Code         string `json:"code,omitempty"`
	Namespace    string `json:"namespace,omitempty"`
	ResourceType string `json:"resourceType,omitempty"`
}

type GetRoleDto ¶

type GetRoleDto struct {
	Code      string `json:"code,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

type GetSecurityInfoDto ¶

type GetSecurityInfoDto struct {
	PasswordSecurityLevel int  `json:"passwordSecurityLevel"`
	MfaEnrolled           bool `json:"mfaEnrolled"`
	PasswordSet           bool `json:"passwordSet"`
	EmailBinded           bool `json:"emailBinded"`
	PhoneBinded           bool `json:"phoneBinded"`
	SecurityScore         int  `json:"securityScore"`
}

type GetSecurityInfoRespDto ¶

type GetSecurityInfoRespDto struct {
	StatusCode int                `json:"statusCode"`
	Message    string             `json:"message"`
	ApiCode    int                `json:"apiCode,omitempty"`
	RequestId  string             `json:"requestId,omitempty"`
	Data       GetSecurityInfoDto `json:"data"`
}

type GetSyncJobDto ¶

type GetSyncJobDto struct {
	SyncJobId int `json:"syncJobId,omitempty"`
}

type GetSyncTaskDto ¶

type GetSyncTaskDto struct {
	SyncTaskId int `json:"syncTaskId,omitempty"`
}

type GetTenantDto ¶

type GetTenantDto struct {
	TenantId         string `json:"tenantId,omitempty"`
	WithMembersCount bool   `json:"withMembersCount,omitempty"`
	WithAppDetail    bool   `json:"withAppDetail,omitempty"`
}

type GetTenantListRespDto ¶

type GetTenantListRespDto struct {
	StatusCode int                 `json:"statusCode"`
	Message    string              `json:"message"`
	ApiCode    int                 `json:"apiCode,omitempty"`
	RequestId  string              `json:"requestId,omitempty"`
	Data       []UserTenantListDto `json:"data"`
}

type GetTenantUserDto ¶

type GetTenantUserDto struct {
	TenantId   string `json:"tenantId,omitempty"`
	LinkUserId string `json:"linkUserId,omitempty"`
	MemberId   string `json:"memberId,omitempty"`
}

type GetUserAccessibleAppsDto ¶

type GetUserAccessibleAppsDto struct {
	UserId     string `json:"userId,omitempty"`
	UserIdType string `json:"userIdType,omitempty"`
}

type GetUserActionLogsDto ¶

type GetUserActionLogsDto struct {
	RequestId  string          `json:"requestId,omitempty"`
	ClientIp   string          `json:"clientIp,omitempty"`
	EventType  string          `json:"eventType,omitempty"`
	UserId     string          `json:"userId,omitempty"`
	AppId      string          `json:"appId,omitempty"`
	Start      int             `json:"start,omitempty"`
	End        int             `json:"end,omitempty"`
	Success    bool            `json:"success,omitempty"`
	Pagination ListWebhooksDto `json:"pagination,omitempty"`
}

type GetUserAuthResourceListDataDto ¶ added in v3.0.4

type GetUserAuthResourceListDataDto struct {
	UserPermissionList []UserAuthResourceListDto `json:"userPermissionList"`
}

type GetUserAuthResourceListRespDto ¶ added in v3.0.4

type GetUserAuthResourceListRespDto struct {
	StatusCode int                            `json:"statusCode"`
	Message    string                         `json:"message"`
	ApiCode    int                            `json:"apiCode,omitempty"`
	Data       GetUserAuthResourceListDataDto `json:"data"`
}

type GetUserAuthorizedAppsDto ¶

type GetUserAuthorizedAppsDto struct {
	UserId     string `json:"userId,omitempty"`
	UserIdType string `json:"userIdType,omitempty"`
}

type GetUserAuthorizedResourcesDto ¶

type GetUserAuthorizedResourcesDto struct {
	UserId       string `json:"userId,omitempty"`
	UserIdType   string `json:"userIdType,omitempty"`
	Namespace    string `json:"namespace,omitempty"`
	ResourceType string `json:"resourceType,omitempty"`
}

type GetUserBatchDto ¶

type GetUserBatchDto struct {
	UserIds           string `json:"userIds,omitempty"`
	UserIdType        string `json:"userIdType,omitempty"`
	WithCustomData    bool   `json:"withCustomData,omitempty"`
	WithIdentities    bool   `json:"withIdentities,omitempty"`
	WithDepartmentIds bool   `json:"withDepartmentIds,omitempty"`
}

type GetUserDepartmentsDto ¶

type GetUserDepartmentsDto struct {
	UserId              string `json:"userId,omitempty"`
	UserIdType          string `json:"userIdType,omitempty"`
	Page                int    `json:"page,omitempty"`
	Limit               int    `json:"limit,omitempty"`
	WithCustomData      bool   `json:"withCustomData,omitempty"`
	WithDepartmentPaths bool   `json:"withDepartmentPaths,omitempty"`
	SortBy              string `json:"sortBy,omitempty"`
	OrderBy             string `json:"orderBy,omitempty"`
}

type GetUserDto ¶

type GetUserDto struct {
	UserId            string `json:"userId,omitempty"`
	UserIdType        string `json:"userIdType,omitempty"`
	WithCustomData    bool   `json:"withCustomData,omitempty"`
	WithIdentities    bool   `json:"withIdentities,omitempty"`
	WithDepartmentIds bool   `json:"withDepartmentIds,omitempty"`
}

type GetUserGroupsDto ¶

type GetUserGroupsDto struct {
	UserId     string `json:"userId,omitempty"`
	UserIdType string `json:"userIdType,omitempty"`
}

type GetUserIdentitiesDto ¶

type GetUserIdentitiesDto struct {
	UserId     string `json:"userId,omitempty"`
	UserIdType string `json:"userIdType,omitempty"`
}

type GetUserLoggedInIdentitiesDto ¶

type GetUserLoggedInIdentitiesDto struct {
	UserId     string `json:"userId,omitempty"`
	UserIdType string `json:"userIdType,omitempty"`
}

type GetUserLoggedinAppsDto ¶

type GetUserLoggedinAppsDto struct {
	UserId     string `json:"userId,omitempty"`
	UserIdType string `json:"userIdType,omitempty"`
}

type GetUserLoginHistoryDto ¶

type GetUserLoginHistoryDto struct {
	UserId     string `json:"userId,omitempty"`
	UserIdType string `json:"userIdType,omitempty"`
	AppId      string `json:"appId,omitempty"`
	ClientIp   string `json:"clientIp,omitempty"`
	Start      int    `json:"start,omitempty"`
	End        int    `json:"end,omitempty"`
	Page       int    `json:"page,omitempty"`
	Limit      int    `json:"limit,omitempty"`
}

type GetUserMfaInfoDto ¶

type GetUserMfaInfoDto struct {
	UserId     string `json:"userId,omitempty"`
	UserIdType string `json:"userIdType,omitempty"`
}

type GetUserPermissionListDataDto ¶ added in v3.0.4

type GetUserPermissionListDataDto struct {
	UserPermissionList []UserPermissionListDto `json:"userPermissionList"`
}

type GetUserPermissionListDto ¶ added in v3.0.4

type GetUserPermissionListDto struct {
	UserIds        []string `json:"userIds"`
	NamespaceCodes []string `json:"namespaceCodes,omitempty"`
}

type GetUserPermissionListRespDto ¶ added in v3.0.4

type GetUserPermissionListRespDto struct {
	StatusCode int                          `json:"statusCode"`
	Message    string                       `json:"message"`
	ApiCode    int                          `json:"apiCode,omitempty"`
	Data       GetUserPermissionListDataDto `json:"data"`
}

type GetUserPrincipalAuthenticationInfoDto ¶

type GetUserPrincipalAuthenticationInfoDto struct {
	UserId     string `json:"userId,omitempty"`
	UserIdType string `json:"userIdType,omitempty"`
}

type GetUserResourcePermissionList ¶ added in v3.0.4

type GetUserResourcePermissionList struct {
	NamespaceCode string   `json:"namespaceCode"`
	Actions       []string `json:"actions"`
	Resource      string   `json:"resource"`
}

type GetUserResourcePermissionListDataDto ¶ added in v3.0.4

type GetUserResourcePermissionListDataDto struct {
	PermissionList []GetUserResourcePermissionList `json:"permissionList"`
}

type GetUserResourcePermissionListDto ¶ added in v3.0.4

type GetUserResourcePermissionListDto struct {
	Resources     []string `json:"resources"`
	UserId        string   `json:"userId"`
	NamespaceCode string   `json:"namespaceCode"`
}

type GetUserResourcePermissionListRespDto ¶ added in v3.0.4

type GetUserResourcePermissionListRespDto struct {
	StatusCode int                                  `json:"statusCode"`
	Message    string                               `json:"message"`
	ApiCode    int                                  `json:"apiCode,omitempty"`
	RequestId  string                               `json:"requestId,omitempty"`
	Data       GetUserResourcePermissionListDataDto `json:"data"`
}

type GetUserResourceStructDataDto ¶ added in v3.0.5

type GetUserResourceStructDataDto struct {
	NamespaceCode          string                 `json:"namespaceCode"`
	ResourceCode           string                 `json:"resourceCode"`
	ResourceType           string                 `json:"resourceType"`
	StrResourceAuthAction  StrResourceAuthAction  `json:"strResourceAuthAction,omitempty"`
	ArrResourceAuthAction  ArrResourceAuthAction  `json:"arrResourceAuthAction,omitempty"`
	TreeResourceAuthAction TreeResourceAuthAction `json:"treeResourceAuthAction,omitempty"`
}

type GetUserResourceStructDto ¶ added in v3.0.5

type GetUserResourceStructDto struct {
	ResourceCode  string `json:"resourceCode"`
	UserId        string `json:"userId"`
	NamespaceCode string `json:"namespaceCode"`
}

type GetUserResourceStructRespDto ¶ added in v3.0.5

type GetUserResourceStructRespDto struct {
	StatusCode int                          `json:"statusCode"`
	Message    string                       `json:"message"`
	ApiCode    int                          `json:"apiCode,omitempty"`
	RequestId  string                       `json:"requestId,omitempty"`
	Data       GetUserResourceStructDataDto `json:"data"`
}

type GetUserRolesDto ¶

type GetUserRolesDto struct {
	UserId     string `json:"userId,omitempty"`
	UserIdType string `json:"userIdType,omitempty"`
	Namespace  string `json:"namespace,omitempty"`
}

type GetWebhookDto ¶

type GetWebhookDto struct {
	WebhookId string `json:"webhookId,omitempty"`
}

type GetWebhookRespDto ¶

type GetWebhookRespDto struct {
	StatusCode int        `json:"statusCode"`
	Message    string     `json:"message"`
	ApiCode    int        `json:"apiCode,omitempty"`
	RequestId  string     `json:"requestId,omitempty"`
	Data       WebhookDto `json:"data"`
}

type GetWebhooksData ¶

type GetWebhooksData struct {
	TotalCount int          `json:"totalCount"`
	List       []WebhookDto `json:"list"`
}

type GetWebhooksRespDto ¶

type GetWebhooksRespDto struct {
	StatusCode int             `json:"statusCode"`
	Message    string          `json:"message"`
	ApiCode    int             `json:"apiCode,omitempty"`
	RequestId  string          `json:"requestId,omitempty"`
	Data       GetWebhooksData `json:"data"`
}

type GetWechatAccessTokenDataDto ¶

type GetWechatAccessTokenDataDto struct {
	AccessToken string `json:"accessToken"`
	ExpiresAt   int    `json:"expiresAt"`
}

type GetWechatAccessTokenDto ¶

type GetWechatAccessTokenDto struct {
	AppSecret string `json:"appSecret"`
	AppId     string `json:"appId"`
}

type GetWechatAccessTokenRespDto ¶

type GetWechatAccessTokenRespDto struct {
	StatusCode int                         `json:"statusCode"`
	Message    string                      `json:"message"`
	ApiCode    int                         `json:"apiCode,omitempty"`
	RequestId  string                      `json:"requestId,omitempty"`
	Data       GetWechatAccessTokenDataDto `json:"data"`
}

type GetWechatMiniProgramPhoneDataDto ¶

type GetWechatMiniProgramPhoneDataDto struct {
	PhoneNumber     string `json:"phoneNumber"`
	PurePhoneNumber string `json:"purePhoneNumber"`
	CountryCode     string `json:"countryCode"`
}

type GetWechatMiniProgramPhoneDto ¶

type GetWechatMiniProgramPhoneDto struct {
	ExtIdpConnidentifier string `json:"extIdpConnidentifier"`
	Code                 string `json:"code"`
}

type GetWechatMiniProgramPhoneRespDto ¶

type GetWechatMiniProgramPhoneRespDto struct {
	StatusCode int                              `json:"statusCode"`
	Message    string                           `json:"message"`
	ApiCode    int                              `json:"apiCode,omitempty"`
	RequestId  string                           `json:"requestId,omitempty"`
	Data       GetWechatMiniProgramPhoneDataDto `json:"data"`
}

type GoodsPackageDto ¶

type GoodsPackageDto struct {
	Name      string `json:"name"`
	NameEn    string `json:"nameEn"`
	UnitPrice string `json:"unitPrice"`
	Code      string `json:"code"`
	Group     string `json:"group"`
	SceneCode string `json:"sceneCode"`
	Amount    string `json:"amount"`
}

type GroupDto ¶

type GroupDto struct {
	Id          string `json:"id"`
	Code        string `json:"code"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Type        string `json:"type"`
}

type GroupListRespDto ¶

type GroupListRespDto struct {
	StatusCode int        `json:"statusCode"`
	Message    string     `json:"message"`
	ApiCode    int        `json:"apiCode,omitempty"`
	RequestId  string     `json:"requestId,omitempty"`
	Data       []GroupDto `json:"data"`
}

type GroupPaginatedRespDto ¶

type GroupPaginatedRespDto struct {
	StatusCode int            `json:"statusCode"`
	Message    string         `json:"message"`
	ApiCode    int            `json:"apiCode,omitempty"`
	RequestId  string         `json:"requestId,omitempty"`
	Data       GroupPagingDto `json:"data"`
}

type GroupPagingDto ¶

type GroupPagingDto struct {
	TotalCount int           `json:"totalCount"`
	List       []ResGroupDto `json:"list"`
}

type GroupSingleRespDto ¶

type GroupSingleRespDto struct {
	StatusCode int      `json:"statusCode"`
	Message    string   `json:"message"`
	ApiCode    int      `json:"apiCode,omitempty"`
	RequestId  string   `json:"requestId,omitempty"`
	Data       GroupDto `json:"data"`
}

type HasAnyRoleDto ¶

type HasAnyRoleDto struct {
	HasAnyRole bool `json:"hasAnyRole"`
}

type HasAnyRoleOptionsDto ¶

type HasAnyRoleOptionsDto struct {
	UserIdType string `json:"userIdType,omitempty"`
}

type HasAnyRoleReqDto ¶

type HasAnyRoleReqDto struct {
	Roles   []HasRoleRolesDto    `json:"roles"`
	UserId  string               `json:"userId"`
	Options HasAnyRoleOptionsDto `json:"options,omitempty"`
}

type HasAnyRoleRespDto ¶

type HasAnyRoleRespDto struct {
	StatusCode int           `json:"statusCode"`
	Message    string        `json:"message"`
	ApiCode    int           `json:"apiCode,omitempty"`
	RequestId  string        `json:"requestId,omitempty"`
	Data       HasAnyRoleDto `json:"data"`
}

type HasRoleRolesDto ¶

type HasRoleRolesDto struct {
	Namespace string `json:"namespace,omitempty"`
	Code      string `json:"code"`
}

type I18nDto ¶

type I18nDto struct {
}

type ISsoPageCustomizationSettingsDto ¶ added in v3.0.7

type ISsoPageCustomizationSettingsDto struct {
}

type IdentityDto ¶

type IdentityDto struct {
	IdentityId    string   `json:"identityId"`
	ExtIdpId      string   `json:"extIdpId"`
	Provider      string   `json:"provider"`
	Type          string   `json:"type"`
	UserIdInIdp   string   `json:"userIdInIdp"`
	UserInfoInIdp User     `json:"userInfoInIdp"`
	AccessToken   string   `json:"accessToken,omitempty"`
	RefreshToken  string   `json:"refreshToken,omitempty"`
	OriginConnIds []string `json:"originConnIds"`
}

type IdentityListRespDto ¶

type IdentityListRespDto struct {
	StatusCode int           `json:"statusCode"`
	Message    string        `json:"message"`
	ApiCode    int           `json:"apiCode,omitempty"`
	RequestId  string        `json:"requestId,omitempty"`
	Data       []IdentityDto `json:"data"`
}

type ImportOtpItemDataDto ¶

type ImportOtpItemDataDto struct {
	Secret       string `json:"secret"`
	RecoveryCode string `json:"recoveryCode,omitempty"`
}

type ImportOtpItemDto ¶

type ImportOtpItemDto struct {
	UserId string               `json:"userId"`
	Otp    ImportOtpItemDataDto `json:"otp"`
}

type ImportOtpReqDto ¶

type ImportOtpReqDto struct {
	List []ImportOtpItemDto `json:"list"`
}

type IsActionAllowedDataDto ¶

type IsActionAllowedDataDto struct {
	Allowed bool `json:"allowed"`
}

type IsActionAllowedDto ¶

type IsActionAllowedDto struct {
	UserId    string `json:"userId"`
	Action    string `json:"action"`
	Resource  string `json:"resource"`
	Namespace string `json:"namespace,omitempty"`
}

type IsActionAllowedRespDtp ¶

type IsActionAllowedRespDtp struct {
	StatusCode int                    `json:"statusCode"`
	Message    string                 `json:"message"`
	ApiCode    int                    `json:"apiCode,omitempty"`
	RequestId  string                 `json:"requestId,omitempty"`
	Data       IsActionAllowedDataDto `json:"data"`
}

type IsSuccessDto ¶

type IsSuccessDto struct {
	Success bool `json:"success"`
}

type IsSuccessRespDto ¶

type IsSuccessRespDto struct {
	StatusCode int          `json:"statusCode"`
	Message    string       `json:"message"`
	ApiCode    int          `json:"apiCode,omitempty"`
	RequestId  string       `json:"requestId,omitempty"`
	Data       IsSuccessDto `json:"data"`
}

type IsUserExistsDto ¶

type IsUserExistsDto struct {
	Exists bool `json:"exists"`
}

type IsUserExistsReqDto ¶

type IsUserExistsReqDto struct {
	Username   string `json:"username,omitempty"`
	Email      string `json:"email,omitempty"`
	Phone      string `json:"phone,omitempty"`
	ExternalId string `json:"externalId,omitempty"`
}

type IsUserExistsRespDto ¶

type IsUserExistsRespDto struct {
	StatusCode int             `json:"statusCode"`
	Message    string          `json:"message"`
	ApiCode    int             `json:"apiCode,omitempty"`
	RequestId  string          `json:"requestId,omitempty"`
	Data       IsUserExistsDto `json:"data"`
}

type IsUserInDepartmentDataDto ¶

type IsUserInDepartmentDataDto struct {
	InDepartment bool `json:"inDepartment"`
}

type IsUserInDepartmentDto ¶

type IsUserInDepartmentDto struct {
	UserId                     string `json:"userId,omitempty"`
	OrganizationCode           string `json:"organizationCode,omitempty"`
	DepartmentId               string `json:"departmentId,omitempty"`
	DepartmentIdType           string `json:"departmentIdType,omitempty"`
	IncludeChildrenDepartments bool   `json:"includeChildrenDepartments,omitempty"`
	TenantId                   string `json:"tenantId,omitempty"`
}

type IsUserInDepartmentRespDto ¶

type IsUserInDepartmentRespDto struct {
	StatusCode int                       `json:"statusCode"`
	Message    string                    `json:"message"`
	ApiCode    int                       `json:"apiCode,omitempty"`
	RequestId  string                    `json:"requestId,omitempty"`
	Data       IsUserInDepartmentDataDto `json:"data"`
}

type KickUsersDto ¶

type KickUsersDto struct {
	AppIds  []string            `json:"appIds"`
	UserId  string              `json:"userId"`
	Options KickUsersOptionsDto `json:"options,omitempty"`
}

type KickUsersOptionsDto ¶

type KickUsersOptionsDto struct {
	UserIdType string `json:"userIdType,omitempty"`
}

type LangObject ¶

type LangObject struct {
	// contains filtered or unexported fields
}

type LangUnit ¶

type LangUnit struct {
	Enabled bool   `json:"enabled"`
	Value   string `json:"value"`
}

type LanguageCoinfigDto ¶ added in v3.0.7

type LanguageCoinfigDto struct {
	Global LanguageCoinfigGlobalDto `json:"global"`
}

type LanguageCoinfigGlobalDto ¶ added in v3.0.7

type LanguageCoinfigGlobalDto struct {
}

type LinkExtidpDto ¶

type LinkExtidpDto struct {
	ExtIdpConnIdentifier string `json:"ext_idp_conn_identifier,omitempty"`
	AppId                string `json:"app_id,omitempty"`
	IdToken              string `json:"id_token,omitempty"`
}

type ListAccessKeyDto ¶ added in v3.0.4

type ListAccessKeyDto struct {
	UserId   string `json:"userId,omitempty"`
	TenantId string `json:"tenantId,omitempty"`
	Type     string `json:"type,omitempty"`
	Status   string `json:"status,omitempty"`
}

type ListAccessKeyRespDto ¶ added in v3.0.4

type ListAccessKeyRespDto struct {
	AccessKeyId     string `json:"accessKeyId"`
	AccessKeySecret string `json:"accessKeySecret"`
	UserId          string `json:"userId"`
	CreatedAt       string `json:"createdAt"`
	Status          string `json:"status"`
	LastDate        string `json:"lastDate"`
	UserPoolId      string `json:"userPoolId"`
	Enable          bool   `json:"enable"`
}

type ListAccessKeyResponseDto ¶ added in v3.0.4

type ListAccessKeyResponseDto struct {
	StatusCode int                    `json:"statusCode"`
	Message    string                 `json:"message"`
	ApiCode    int                    `json:"apiCode,omitempty"`
	RequestId  string                 `json:"requestId,omitempty"`
	Data       []ListAccessKeyRespDto `json:"data"`
}

type ListApplicationActiveUsersDto ¶

type ListApplicationActiveUsersDto struct {
	AppId   string                               `json:"appId"`
	Options ListApplicationActiveUsersOptionsDto `json:"options,omitempty"`
}

type ListApplicationActiveUsersOptionsDto ¶

type ListApplicationActiveUsersOptionsDto struct {
	Pagination        PaginationDto `json:"pagination,omitempty"`
	WithCustomData    bool          `json:"withCustomData,omitempty"`
	WithIdentities    bool          `json:"withIdentities,omitempty"`
	WithDepartmentIds bool          `json:"withDepartmentIds,omitempty"`
}

type ListApplicationSimpleInfoDto ¶

type ListApplicationSimpleInfoDto struct {
	Page           int    `json:"page,omitempty"`
	Limit          int    `json:"limit,omitempty"`
	IsIntegrateApp bool   `json:"isIntegrateApp,omitempty"`
	IsSelfBuiltApp bool   `json:"isSelfBuiltApp,omitempty"`
	SsoEnabled     bool   `json:"ssoEnabled,omitempty"`
	Keywords       string `json:"keywords,omitempty"`
}

type ListApplicationsDto ¶

type ListApplicationsDto struct {
	Page           int    `json:"page,omitempty"`
	Limit          int    `json:"limit,omitempty"`
	IsIntegrateApp bool   `json:"isIntegrateApp,omitempty"`
	IsSelfBuiltApp bool   `json:"isSelfBuiltApp,omitempty"`
	SsoEnabled     bool   `json:"ssoEnabled,omitempty"`
	Keywords       string `json:"keywords,omitempty"`
}

type ListArchivedUsersDto ¶

type ListArchivedUsersDto struct {
	Page    int `json:"page,omitempty"`
	Limit   int `json:"limit,omitempty"`
	StartAt int `json:"startAt,omitempty"`
}

type ListArchivedUsersRespDto ¶

type ListArchivedUsersRespDto struct {
	UserId     string `json:"userId"`
	ArchivedAt string `json:"archivedAt"`
}

type ListArchivedUsersSingleRespDto ¶

type ListArchivedUsersSingleRespDto struct {
	StatusCode int                        `json:"statusCode"`
	Message    string                     `json:"message"`
	ApiCode    int                        `json:"apiCode,omitempty"`
	RequestId  string                     `json:"requestId,omitempty"`
	Data       ArchivedUsersListPagingDto `json:"data"`
}

type ListAsaAccountsDto ¶ added in v3.0.4

type ListAsaAccountsDto struct {
	AppId string `json:"appId,omitempty"`
	Page  int    `json:"page,omitempty"`
	Limit int    `json:"limit,omitempty"`
}

type ListChildrenDepartmentsDto ¶

type ListChildrenDepartmentsDto struct {
	OrganizationCode   string `json:"organizationCode,omitempty"`
	DepartmentId       string `json:"departmentId,omitempty"`
	DepartmentIdType   string `json:"departmentIdType,omitempty"`
	ExcludeVirtualNode bool   `json:"excludeVirtualNode,omitempty"`
	OnlyVirtualNode    bool   `json:"onlyVirtualNode,omitempty"`
	WithCustomData     bool   `json:"withCustomData,omitempty"`
	TenantId           string `json:"tenantId,omitempty"`
}

type ListCommonResourceDto ¶ added in v3.0.4

type ListCommonResourceDto struct {
	Page              int    `json:"page,omitempty"`
	Limit             int    `json:"limit,omitempty"`
	Keyword           string `json:"keyword,omitempty"`
	NamespaceCodeList string `json:"namespaceCodeList,omitempty"`
}

type ListDataPoliciesDto ¶ added in v3.0.4

type ListDataPoliciesDto struct {
	Page  int    `json:"page,omitempty"`
	Limit int    `json:"limit,omitempty"`
	Query string `json:"query,omitempty"`
}

type ListDataPoliciesPaginatedRespDto ¶ added in v3.0.4

type ListDataPoliciesPaginatedRespDto struct {
	StatusCode int                          `json:"statusCode"`
	Message    string                       `json:"message"`
	ApiCode    int                          `json:"apiCode,omitempty"`
	RequestId  string                       `json:"requestId,omitempty"`
	Data       DataPoliciesPaginatedRespDto `json:"data"`
}

type ListDataPoliciesRespDto ¶ added in v3.0.4

type ListDataPoliciesRespDto struct {
	PolicyName   string                      `json:"policyName"`
	Description  string                      `json:"description,omitempty"`
	ResourceList []DataResourceSimpleRespDto `json:"resourceList"`
	PolicyId     string                      `json:"policyId"`
	TargetList   []SubjectRespDto            `json:"targetList"`
	UpdatedAt    string                      `json:"updatedAt"`
}

type ListDataPolicySubjectPageDto ¶ added in v3.0.4

type ListDataPolicySubjectPageDto struct {
	TotalCount int                  `json:"totalCount,omitempty"`
	List       []DataSubjectRespDto `json:"list"`
}

type ListDataPolicySubjectPaginatedRespDto ¶ added in v3.0.4

type ListDataPolicySubjectPaginatedRespDto struct {
	StatusCode int                          `json:"statusCode"`
	Message    string                       `json:"message"`
	ApiCode    int                          `json:"apiCode,omitempty"`
	RequestId  string                       `json:"requestId,omitempty"`
	Data       ListDataPolicySubjectPageDto `json:"data"`
}

type ListDataPolicyTargetsDto ¶ added in v3.0.4

type ListDataPolicyTargetsDto struct {
	PolicyId   string `json:"policyId,omitempty"`
	Page       int    `json:"page,omitempty"`
	Limit      int    `json:"limit,omitempty"`
	Query      string `json:"query,omitempty"`
	TargetType string `json:"targetType,omitempty"`
}

type ListDataResourcesDto ¶ added in v3.0.4

type ListDataResourcesDto struct {
	Page           int    `json:"page,omitempty"`
	Limit          int    `json:"limit,omitempty"`
	Query          string `json:"query,omitempty"`
	NamespaceCodes string `json:"namespaceCodes,omitempty"`
}

type ListDataResourcesPaginatedRespDto ¶ added in v3.0.4

type ListDataResourcesPaginatedRespDto struct {
	StatusCode int                           `json:"statusCode"`
	Message    string                        `json:"message"`
	ApiCode    int                           `json:"apiCode,omitempty"`
	RequestId  string                        `json:"requestId,omitempty"`
	Data       DataResourcesPaginatedRespDto `json:"data"`
}

type ListDataResourcesRespDto ¶ added in v3.0.4

type ListDataResourcesRespDto struct {
	ResourceName     string `json:"resourceName"`
	ResourceCode     string `json:"resourceCode"`
	Type             string `json:"type"`
	Description      string `json:"description,omitempty"`
	NamespaceCode    string `json:"namespaceCode"`
	NamespaceName    string `json:"namespaceName"`
	AuthorizationNum int    `json:"authorizationNum"`
	UpdatedAt        string `json:"updatedAt"`
}

type ListDepartmentMemberIdsDto ¶

type ListDepartmentMemberIdsDto struct {
	OrganizationCode string `json:"organizationCode,omitempty"`
	DepartmentId     string `json:"departmentId,omitempty"`
	DepartmentIdType string `json:"departmentIdType,omitempty"`
	TenantId         string `json:"tenantId,omitempty"`
}

type ListDepartmentMembersDto ¶

type ListDepartmentMembersDto struct {
	OrganizationCode           string `json:"organizationCode,omitempty"`
	DepartmentId               string `json:"departmentId,omitempty"`
	SortBy                     string `json:"sortBy,omitempty"`
	OrderBy                    string `json:"orderBy,omitempty"`
	DepartmentIdType           string `json:"departmentIdType,omitempty"`
	IncludeChildrenDepartments bool   `json:"includeChildrenDepartments,omitempty"`
	Page                       int    `json:"page,omitempty"`
	Limit                      int    `json:"limit,omitempty"`
	WithCustomData             bool   `json:"withCustomData,omitempty"`
	WithIdentities             bool   `json:"withIdentities,omitempty"`
	WithDepartmentIds          bool   `json:"withDepartmentIds,omitempty"`
	TenantId                   string `json:"tenantId,omitempty"`
}

type ListEnrolledFactorsRespDto ¶

type ListEnrolledFactorsRespDto struct {
	StatusCode int         `json:"statusCode"`
	Message    string      `json:"message"`
	ApiCode    int         `json:"apiCode,omitempty"`
	RequestId  string      `json:"requestId,omitempty"`
	Data       []FactorDto `json:"data"`
}

type ListExtIdpDto ¶

type ListExtIdpDto struct {
	TenantId string `json:"tenantId,omitempty"`
	AppId    string `json:"appId,omitempty"`
}

type ListFactorsToEnrollRespDto ¶

type ListFactorsToEnrollRespDto struct {
	StatusCode int                 `json:"statusCode"`
	Message    string              `json:"message"`
	ApiCode    int                 `json:"apiCode,omitempty"`
	RequestId  string              `json:"requestId,omitempty"`
	Data       []FactorToEnrollDto `json:"data"`
}

type ListGroupMembersDto ¶

type ListGroupMembersDto struct {
	Code              string `json:"code,omitempty"`
	Page              int    `json:"page,omitempty"`
	Limit             int    `json:"limit,omitempty"`
	WithCustomData    bool   `json:"withCustomData,omitempty"`
	WithIdentities    bool   `json:"withIdentities,omitempty"`
	WithDepartmentIds bool   `json:"withDepartmentIds,omitempty"`
}

type ListGroupsDto ¶

type ListGroupsDto struct {
	Keywords string `json:"keywords,omitempty"`
	Page     int    `json:"page,omitempty"`
	Limit    int    `json:"limit,omitempty"`
}

type ListNamespaceRolesDto ¶ added in v3.0.4

type ListNamespaceRolesDto struct {
	Code     string `json:"code,omitempty"`
	Page     int    `json:"page,omitempty"`
	Limit    int    `json:"limit,omitempty"`
	Keywords string `json:"keywords,omitempty"`
}

type ListNamespacesDto ¶ added in v3.0.4

type ListNamespacesDto struct {
	Page     int    `json:"page,omitempty"`
	Limit    int    `json:"limit,omitempty"`
	Keywords string `json:"keywords,omitempty"`
}

type ListOrganizationsDto ¶

type ListOrganizationsDto struct {
	Page           int    `json:"page,omitempty"`
	Limit          int    `json:"limit,omitempty"`
	FetchAll       bool   `json:"fetchAll,omitempty"`
	WithCustomData bool   `json:"withCustomData,omitempty"`
	TenantId       string `json:"tenantId,omitempty"`
}

type ListPermissionNamespaceRolesDto ¶ added in v3.0.4

type ListPermissionNamespaceRolesDto struct {
	Code  string `json:"code,omitempty"`
	Page  int    `json:"page,omitempty"`
	Limit int    `json:"limit,omitempty"`
	Query string `json:"query,omitempty"`
}

type ListPermissionNamespacesDto ¶ added in v3.0.4

type ListPermissionNamespacesDto struct {
	Page  int    `json:"page,omitempty"`
	Limit int    `json:"limit,omitempty"`
	Query string `json:"query,omitempty"`
}

type ListPipelineFunctionDto ¶

type ListPipelineFunctionDto struct {
	Scene string `json:"scene,omitempty"`
}

type ListPipelineFunctionsDto ¶

type ListPipelineFunctionsDto struct {
	Scene string `json:"scene,omitempty"`
}

type ListResourceTargets ¶ added in v3.0.4

type ListResourceTargets struct {
	Resources     []string `json:"resources"`
	Actions       []string `json:"actions"`
	NamespaceCode string   `json:"namespaceCode"`
}

type ListResourceTargetsDataDto ¶ added in v3.0.4

type ListResourceTargetsDataDto struct {
	AuthUserList []ListResourceTargetsDtoResp `json:"authUserList"`
}

type ListResourceTargetsDto ¶ added in v3.0.4

type ListResourceTargetsDto struct {
	Resources     []string `json:"resources"`
	Actions       []string `json:"actions"`
	NamespaceCode string   `json:"namespaceCode"`
}

type ListResourceTargetsDtoResp ¶ added in v3.0.4

type ListResourceTargetsDtoResp struct {
	Resource       string       `json:"resource"`
	ActionAuthList []ActionAuth `json:"actionAuthList"`
}

type ListResourceTargetsRespDto ¶ added in v3.0.4

type ListResourceTargetsRespDto struct {
	StatusCode int                        `json:"statusCode"`
	Message    string                     `json:"message"`
	ApiCode    int                        `json:"apiCode,omitempty"`
	RequestId  string                     `json:"requestId,omitempty"`
	Data       ListResourceTargetsDataDto `json:"data"`
}

type ListResourcesDto ¶

type ListResourcesDto struct {
	Namespace string `json:"namespace,omitempty"`
	Type      string `json:"type,omitempty"`
	Page      int    `json:"page,omitempty"`
	Limit     int    `json:"limit,omitempty"`
}

type ListRoleAssignmentsDto ¶ added in v3.0.5

type ListRoleAssignmentsDto struct {
	RequestBody interface{} `json:"requestBody,omitempty"`
}

type ListRoleDepartmentsDto ¶

type ListRoleDepartmentsDto struct {
	Code      string `json:"code,omitempty"`
	Namespace string `json:"namespace,omitempty"`
	Page      int    `json:"page,omitempty"`
	Limit     int    `json:"limit,omitempty"`
}

type ListRoleMembersDto ¶

type ListRoleMembersDto struct {
	Code              string `json:"code,omitempty"`
	Page              int    `json:"page,omitempty"`
	Limit             int    `json:"limit,omitempty"`
	WithCustomData    bool   `json:"withCustomData,omitempty"`
	WithIdentities    bool   `json:"withIdentities,omitempty"`
	WithDepartmentIds bool   `json:"withDepartmentIds,omitempty"`
	Namespace         string `json:"namespace,omitempty"`
}

type ListRolesDto ¶

type ListRolesDto struct {
	Page      int    `json:"page,omitempty"`
	Limit     int    `json:"limit,omitempty"`
	Keywords  string `json:"keywords,omitempty"`
	Namespace string `json:"namespace,omitempty"`
}

type ListSimpleDataPoliciesDto ¶ added in v3.0.4

type ListSimpleDataPoliciesDto struct {
	Page  int    `json:"page,omitempty"`
	Limit int    `json:"limit,omitempty"`
	Query string `json:"query,omitempty"`
}

type ListSimpleDataPoliciesPaginatedRespDto ¶ added in v3.0.4

type ListSimpleDataPoliciesPaginatedRespDto struct {
	StatusCode int                                `json:"statusCode"`
	Message    string                             `json:"message"`
	ApiCode    int                                `json:"apiCode,omitempty"`
	RequestId  string                             `json:"requestId,omitempty"`
	Data       DataPoliciesSimplePaginatedRespDto `json:"data"`
}

type ListSimpleDataPoliciesRespDto ¶ added in v3.0.4

type ListSimpleDataPoliciesRespDto struct {
	PolicyId    string `json:"policyId"`
	PolicyName  string `json:"policyName"`
	Description string `json:"description,omitempty"`
}

type ListSyncJobLogsDto ¶

type ListSyncJobLogsDto struct {
	SyncJobId  int    `json:"syncJobId,omitempty"`
	Page       int    `json:"page,omitempty"`
	Limit      int    `json:"limit,omitempty"`
	Success    bool   `json:"success,omitempty"`
	Action     string `json:"action,omitempty"`
	ObjectType string `json:"objectType,omitempty"`
}

type ListSyncJobsDto ¶

type ListSyncJobsDto struct {
	SyncTaskId  int    `json:"syncTaskId,omitempty"`
	Page        int    `json:"page,omitempty"`
	Limit       int    `json:"limit,omitempty"`
	SyncTrigger string `json:"syncTrigger,omitempty"`
}

type ListSyncRiskOperationsDto ¶

type ListSyncRiskOperationsDto struct {
	SyncTaskId int    `json:"syncTaskId,omitempty"`
	Page       int    `json:"page,omitempty"`
	Limit      int    `json:"limit,omitempty"`
	Status     string `json:"status,omitempty"`
	ObjectType string `json:"objectType,omitempty"`
}

type ListSyncTasksDto ¶

type ListSyncTasksDto struct {
	Page  int `json:"page,omitempty"`
	Limit int `json:"limit,omitempty"`
}

type ListTenantApplicationsDto ¶ added in v3.0.7

type ListTenantApplicationsDto struct {
	Page       string `json:"page,omitempty"`
	Limit      string `json:"limit,omitempty"`
	Keywords   string `json:"keywords,omitempty"`
	SsoEnabled bool   `json:"sso_enabled,omitempty"`
}

type ListTenantExtIdpDto ¶

type ListTenantExtIdpDto struct {
	TenantId string `json:"tenantId,omitempty"`
	AppId    string `json:"appId,omitempty"`
	Type     string `json:"type,omitempty"`
	Page     int    `json:"page,omitempty"`
	Limit    int    `json:"limit,omitempty"`
}

type ListTenantUserDto ¶

type ListTenantUserDto struct {
	TenantId          string `json:"tenantId"`
	Keywords          string `json:"keywords,omitempty"`
	Page              string `json:"page,omitempty"`
	Limit             string `json:"limit,omitempty"`
	WithCustomData    bool   `json:"withCustomData,omitempty"`
	WithIdentities    bool   `json:"withIdentities,omitempty"`
	WithDepartmentIds bool   `json:"withDepartmentIds,omitempty"`
}

type ListTenantsDto ¶

type ListTenantsDto struct {
	Keywords         string `json:"keywords,omitempty"`
	WithMembersCount bool   `json:"withMembersCount,omitempty"`
	WithAppDetail    bool   `json:"withAppDetail,omitempty"`
	Page             string `json:"page,omitempty"`
	Limit            string `json:"limit,omitempty"`
}

type ListUsersAdvancedFilterItemDto ¶

type ListUsersAdvancedFilterItemDto struct {
	Field    string      `json:"field"`
	Operator string      `json:"operator"`
	Value    interface{} `json:"value,omitempty"`
}

type ListUsersDto ¶

type ListUsersDto struct {
	Page              int    `json:"page,omitempty"`
	Limit             int    `json:"limit,omitempty"`
	Status            string `json:"status,omitempty"`
	UpdatedAtStart    int    `json:"updatedAtStart,omitempty"`
	UpdatedAtEnd      int    `json:"updatedAtEnd,omitempty"`
	WithCustomData    bool   `json:"withCustomData,omitempty"`
	WithIdentities    bool   `json:"withIdentities,omitempty"`
	WithDepartmentIds bool   `json:"withDepartmentIds,omitempty"`
}

type ListUsersOptionsDto ¶

type ListUsersOptionsDto struct {
	Pagination        PaginationDto `json:"pagination,omitempty"`
	Sort              []SortingDto  `json:"sort,omitempty"`
	FuzzySearchOn     []string      `json:"fuzzySearchOn,omitempty"`
	WithCustomData    bool          `json:"withCustomData,omitempty"`
	WithIdentities    bool          `json:"withIdentities,omitempty"`
	WithDepartmentIds bool          `json:"withDepartmentIds,omitempty"`
}

type ListUsersRequestDto ¶

type ListUsersRequestDto struct {
	Keywords       string                           `json:"keywords,omitempty"`
	AdvancedFilter []ListUsersAdvancedFilterItemDto `json:"advancedFilter,omitempty"`
	Options        ListUsersOptionsDto              `json:"options,omitempty"`
}

type ListWebhookLogs ¶

type ListWebhookLogs struct {
	WebhookId string `json:"webhookId"`
	Page      int    `json:"page,omitempty"`
	Limit     int    `json:"limit,omitempty"`
}

type ListWebhookLogsData ¶

type ListWebhookLogsData struct {
	TotalCount int             `json:"totalCount"`
	List       []WebhookLogDto `json:"list"`
}

type ListWebhookLogsRespDto ¶

type ListWebhookLogsRespDto struct {
	StatusCode int                 `json:"statusCode"`
	Message    string              `json:"message"`
	ApiCode    int                 `json:"apiCode,omitempty"`
	RequestId  string              `json:"requestId,omitempty"`
	Data       ListWebhookLogsData `json:"data"`
}

type ListWebhooksDto ¶

type ListWebhooksDto struct {
	Page  int `json:"page,omitempty"`
	Limit int `json:"limit,omitempty"`
}

type LoggedInAppsDto ¶

type LoggedInAppsDto struct {
	AppId       string `json:"appId"`
	AppName     string `json:"appName"`
	AppLoginUrl string `json:"appLoginUrl"`
	Active      bool   `json:"active"`
}

type LoginAnomalyDetectionConfigDto ¶

type LoginAnomalyDetectionConfigDto struct {
	LoginFailStrategy                 string                          `json:"loginFailStrategy"`
	RobotVerify                       string                          `json:"robotVerify"`
	AccountLock                       string                          `json:"accountLock"`
	LoginFailCheck                    LoginFailCheckConfigDto         `json:"loginFailCheck"`
	LoginPasswordFailCheck            LoginPassowrdFailCheckConfigDto `json:"loginPasswordFailCheck"`
	AccountLockLoginPasswordFailCheck LoginPassowrdFailCheckConfigDto `json:"accountLockLoginPasswordFailCheck,omitempty"`
	RobotVerifyLoginPasswordFailCheck LoginPassowrdFailCheckConfigDto `json:"robotVerifyLoginPasswordFailCheck"`
	RobotVerifyLoginIpWhitelistCheck  LoginIpWhitelistCheckConfigDto  `json:"robotVerifyLoginIpWhitelistCheck"`
	RobotVerifyLoginTimeCheckEnable   bool                            `json:"robotVerifyLoginTimeCheckEnable"`
	RobotVerifyloginWeekStartEndTime  []string                        `json:"robotVerifyloginWeekStartEndTime"`
}

type LoginFailCheckConfigDto ¶

type LoginFailCheckConfigDto struct {
	Enabled      bool   `json:"enabled"`
	Limit        int    `json:"limit"`
	TimeInterval int    `json:"timeInterval"`
	Unit         string `json:"unit,omitempty"`
}

type LoginHistoryDto ¶

type LoginHistoryDto struct {
	UserId          string          `json:"userId"`
	AppId           string          `json:"appId"`
	AppName         string          `json:"appName"`
	AppLoginUrl     string          `json:"appLoginUrl"`
	LoginAt         string          `json:"loginAt"`
	ClientIp        string          `json:"clientIp"`
	Success         bool            `json:"success"`
	ErrorMessage    string          `json:"errorMessage,omitempty"`
	UserAgent       string          `json:"userAgent"`
	ParsedUserAgent ParsedUserAgent `json:"parsedUserAgent"`
	LoginMethod     string          `json:"loginMethod"`
	Geoip           GeoIp           `json:"geoip"`
}

type LoginHistoryPaginatedRespDto ¶

type LoginHistoryPaginatedRespDto struct {
	TotalCount int               `json:"totalCount"`
	List       []LoginHistoryDto `json:"list"`
}

type LoginIpWhitelistCheckConfigDto ¶ added in v3.0.4

type LoginIpWhitelistCheckConfigDto struct {
	Enabled     bool   `json:"enabled"`
	IpWhitelist string `json:"ipWhitelist"`
}

type LoginPassowrdFailCheckConfigDto ¶

type LoginPassowrdFailCheckConfigDto struct {
	Enabled      bool   `json:"enabled"`
	Limit        int    `json:"limit"`
	TimeInterval int    `json:"timeInterval"`
	Unit         string `json:"unit,omitempty"`
}

type LoginTokenRespDto ¶

type LoginTokenRespDto struct {
	StatusCode int                       `json:"statusCode"`
	Message    string                    `json:"message"`
	ApiCode    int                       `json:"apiCode,omitempty"`
	RequestId  string                    `json:"requestId,omitempty"`
	Data       LoginTokenResponseDataDto `json:"data"`
}

type LoginTokenResponseDataDto ¶

type LoginTokenResponseDataDto struct {
	AccessToken  string `json:"access_token,omitempty"`
	IdToken      string `json:"id_token,omitempty"`
	RefreshToken string `json:"refresh_token,omitempty"`
	TokenType    string `json:"token_type"`
	ExpireIn     int    `json:"expire_in"`
}

type MFASettingsDto ¶

type MFASettingsDto struct {
	EnabledFactors []string `json:"enabledFactors"`
}

type MFASettingsRespDto ¶

type MFASettingsRespDto struct {
	StatusCode int            `json:"statusCode"`
	Message    string         `json:"message"`
	ApiCode    int            `json:"apiCode,omitempty"`
	RequestId  string         `json:"requestId,omitempty"`
	Data       MFASettingsDto `json:"data"`
}

type MauPeriodUsageHistory ¶

type MauPeriodUsageHistory struct {
	Records []MauPeriodUsageHistoryDto `json:"records"`
}

type MauPeriodUsageHistoryDto ¶

type MauPeriodUsageHistoryDto struct {
	PeriodStartTime string `json:"periodStartTime"`
	PeriodEndTime   string `json:"periodEndTime"`
	Amount          string `json:"amount"`
	Current         string `json:"current"`
}

type MfaOtpVerityDto ¶ added in v3.0.6

type MfaOtpVerityDto struct {
	Totp string `json:"totp"`
}

type MfaOtpVerityRespDto ¶ added in v3.0.6

type MfaOtpVerityRespDto struct {
	StatusCode int              `json:"statusCode"`
	Message    string           `json:"message"`
	ApiCode    int              `json:"apiCode,omitempty"`
	RequestId  string           `json:"requestId,omitempty"`
	Data       OtpVerityRespDto `json:"data"`
}

type NamespaceDto ¶

type NamespaceDto struct {
	Code        string `json:"code"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
}

type NamespaceListPaginatedRespDto ¶ added in v3.0.4

type NamespaceListPaginatedRespDto struct {
	StatusCode int                    `json:"statusCode"`
	Message    string                 `json:"message"`
	ApiCode    int                    `json:"apiCode,omitempty"`
	RequestId  string                 `json:"requestId,omitempty"`
	Data       NamespaceListPagingDto `json:"data"`
}

type NamespaceListPagingDto ¶ added in v3.0.4

type NamespaceListPagingDto struct {
	TotalCount int                     `json:"totalCount"`
	List       []NamespacesListRespDto `json:"list"`
}

type NamespaceListRespDto ¶

type NamespaceListRespDto struct {
	StatusCode int            `json:"statusCode"`
	Message    string         `json:"message"`
	ApiCode    int            `json:"apiCode,omitempty"`
	RequestId  string         `json:"requestId,omitempty"`
	Data       []NamespaceDto `json:"data"`
}

type NamespaceRespDto ¶

type NamespaceRespDto struct {
	StatusCode int          `json:"statusCode"`
	Message    string       `json:"message"`
	ApiCode    int          `json:"apiCode,omitempty"`
	RequestId  string       `json:"requestId,omitempty"`
	Data       NamespaceDto `json:"data"`
}

type NamespaceRolesListPaginatedRespDto ¶ added in v3.0.4

type NamespaceRolesListPaginatedRespDto struct {
	StatusCode int                       `json:"statusCode"`
	Message    string                    `json:"message"`
	ApiCode    int                       `json:"apiCode,omitempty"`
	RequestId  string                    `json:"requestId,omitempty"`
	Data       NamespaceRolesListRespDto `json:"data"`
}

type NamespaceRolesListRespDto ¶ added in v3.0.4

type NamespaceRolesListRespDto struct {
	Id          string `json:"id"`
	Name        string `json:"name"`
	Code        string `json:"code"`
	Description string `json:"description,omitempty"`
	Namespace   string `json:"namespace"`
	UpdatedAt   string `json:"updatedAt"`
}

type NamespacesListRespDto ¶ added in v3.0.4

type NamespacesListRespDto struct {
	Name        string `json:"name"`
	Code        string `json:"code"`
	Description string `json:"description,omitempty"`
	Status      int    `json:"status,omitempty"`
}

type OIDCConfig ¶

type OIDCConfig struct {
}

type OauthIdpConfig ¶

type OauthIdpConfig struct {
}

type OidcDiscoveryMetadata ¶

type OidcDiscoveryMetadata struct {
	Issuer                                    string   `json:"issuer"`
	AuthorizationEndpoint                     string   `json:"authorization_endpoint"`
	TokenEndpoint                             string   `json:"token_endpoint"`
	UserinfoEndpoint                          string   `json:"userinfo_endpoint"`
	JwksUri                                   string   `json:"jwks_uri"`
	ScopesSupported                           []string `json:"scopes_supported"`
	ResponseTypesSupported                    []string `json:"response_types_supported"`
	ResponseModesSupported                    []string `json:"response_modes_supported"`
	GrantTypesSupported                       []string `json:"grant_types_supported"`
	IdTokenSigningAlgValuesSupported          []string `json:"id_token_signing_alg_values_supported"`
	IdTokenEncryptionAlgValuesSupported       []string `json:"id_token_encryption_alg_values_supported"`
	IdTokenEncryptionEncValuesSupported       []string `json:"id_token_encryption_enc_values_supported"`
	UserinfoSigningAlgValuesSupported         []string `json:"userinfo_signing_alg_values_supported"`
	UserinfoEncryptionAlgValuesSupported      []string `json:"userinfo_encryption_alg_values_supported"`
	UserinfoEncryptionEncValuesSupported      []string `json:"userinfo_encryption_enc_values_supported"`
	TokenEndpointAuthMethodsSupported         []string `json:"token_endpoint_auth_methods_supported"`
	ClaimTypesSupported                       []string `json:"claim_types_supported"`
	ClaimsSupported                           []string `json:"claims_supported"`
	CodeChallengeMethodsSupported             []string `json:"code_challenge_methods_supported"`
	EndSessionEndpoint                        string   `json:"end_session_endpoint"`
	IntrospectionEndpoint                     string   `json:"introspection_endpoint"`
	IntrospectionEndpointAuthMethodsSupported []string `json:"introspection_endpoint_auth_methods_supported"`
	RevocationEndpoint                        string   `json:"revocation_endpoint"`
	RevocationEndpointAuthMethodsSupported    []string `json:"revocation_endpoint_auth_methods_supported"`
}

type OpenResource ¶ added in v3.0.4

type OpenResource struct {
	ResourceCode  string         `json:"resourceCode"`
	ResourceType  string         `json:"resourceType"`
	StrAuthorize  StrAuthorize   `json:"strAuthorize,omitempty"`
	ArrAuthorize  ArrayAuthorize `json:"arrAuthorize,omitempty"`
	TreeAuthorize TreeAuthorize  `json:"treeAuthorize,omitempty"`
}

type OrderItem ¶

type OrderItem struct {
	OrderNo        string `json:"orderNo"`
	GoodsName      string `json:"goodsName"`
	GoodsNameEn    string `json:"goodsNameEn"`
	GoodsUnitPrice string `json:"goodsUnitPrice"`
	Quantity       string `json:"quantity"`
	ActualAmount   string `json:"actualAmount"`
	Status         string `json:"status"`
	OrderType      string `json:"orderType"`
	CreateTime     string `json:"createTime"`
	Source         string `json:"source"`
}

type OrganizationDto ¶

type OrganizationDto struct {
	OrganizationCode string                  `json:"organizationCode"`
	OrganizationName string                  `json:"organizationName"`
	Description      string                  `json:"description,omitempty"`
	CreatedAt        string                  `json:"createdAt,omitempty"`
	UpdatedAt        string                  `json:"updatedAt,omitempty"`
	DepartmentId     string                  `json:"departmentId"`
	OpenDepartmentId string                  `json:"openDepartmentId,omitempty"`
	HasChildren      bool                    `json:"hasChildren"`
	LeaderUserIds    []string                `json:"leaderUserIds,omitempty"`
	MembersCount     int                     `json:"membersCount"`
	IsVirtualNode    bool                    `json:"isVirtualNode"`
	I18n             OrganizationNameI18nDto `json:"i18n,omitempty"`
	CustomData       interface{}             `json:"customData,omitempty"`
	TenantId         string                  `json:"tenantId,omitempty"`
}

type OrganizationListRespDto ¶

type OrganizationListRespDto struct {
	StatusCode int               `json:"statusCode"`
	Message    string            `json:"message"`
	ApiCode    int               `json:"apiCode,omitempty"`
	RequestId  string            `json:"requestId,omitempty"`
	Data       []OrganizationDto `json:"data"`
}

type OrganizationNameI18nDto ¶

type OrganizationNameI18nDto struct {
	OrganizationName LangObject `json:"organizationName"`
}

type OrganizationPaginatedRespDto ¶

type OrganizationPaginatedRespDto struct {
	StatusCode int                   `json:"statusCode"`
	Message    string                `json:"message"`
	ApiCode    int                   `json:"apiCode,omitempty"`
	RequestId  string                `json:"requestId,omitempty"`
	Data       OrganizationPagingDto `json:"data"`
}

type OrganizationPagingDto ¶

type OrganizationPagingDto struct {
	TotalCount int               `json:"totalCount"`
	List       []OrganizationDto `json:"list"`
}

type OrganizationSingleRespDto ¶

type OrganizationSingleRespDto struct {
	StatusCode int             `json:"statusCode"`
	Message    string          `json:"message"`
	ApiCode    int             `json:"apiCode,omitempty"`
	RequestId  string          `json:"requestId,omitempty"`
	Data       OrganizationDto `json:"data"`
}

type OtpSecretRespDto ¶ added in v3.0.6

type OtpSecretRespDto struct {
	Secret string `json:"secret"`
}

type OtpVerityRespDto ¶ added in v3.0.6

type OtpVerityRespDto struct {
	Verified bool `json:"verified"`
}

type PaginationDto ¶

type PaginationDto struct {
	Page  int `json:"page,omitempty"`
	Limit int `json:"limit,omitempty"`
}

type ParsedUserAgent ¶

type ParsedUserAgent struct {
	Device  string `json:"device"`
	Browser string `json:"browser"`
	Os      string `json:"os"`
}

type PasswordResetVerifyResp ¶

type PasswordResetVerifyResp struct {
	StatusCode int                 `json:"statusCode"`
	Message    string              `json:"message"`
	ApiCode    int                 `json:"apiCode,omitempty"`
	RequestId  string              `json:"requestId,omitempty"`
	Data       ResetPasswordVerify `json:"data"`
}

type PermissionNamespaceCheckExistsRespDto ¶ added in v3.0.4

type PermissionNamespaceCheckExistsRespDto struct {
	StatusCode int                                   `json:"statusCode"`
	Message    string                                `json:"message"`
	ApiCode    int                                   `json:"apiCode,omitempty"`
	RequestId  string                                `json:"requestId,omitempty"`
	Data       CheckPermissionNamespaceExistsRespDto `json:"data"`
}

type PermissionNamespaceListPaginatedRespDto ¶ added in v3.0.4

type PermissionNamespaceListPaginatedRespDto struct {
	StatusCode int                              `json:"statusCode"`
	Message    string                           `json:"message"`
	ApiCode    int                              `json:"apiCode,omitempty"`
	RequestId  string                           `json:"requestId,omitempty"`
	Data       PermissionNamespaceListPagingDto `json:"data"`
}

type PermissionNamespaceListPagingDto ¶ added in v3.0.4

type PermissionNamespaceListPagingDto struct {
	TotalCount int                               `json:"totalCount"`
	List       []PermissionNamespacesListRespDto `json:"list"`
}

type PermissionNamespaceRolesListPaginatedRespDto ¶ added in v3.0.4

type PermissionNamespaceRolesListPaginatedRespDto struct {
	StatusCode int                                   `json:"statusCode"`
	Message    string                                `json:"message"`
	ApiCode    int                                   `json:"apiCode,omitempty"`
	RequestId  string                                `json:"requestId,omitempty"`
	Data       PermissionNamespaceRolesListPagingDto `json:"data"`
}

type PermissionNamespaceRolesListPagingDto ¶ added in v3.0.4

type PermissionNamespaceRolesListPagingDto struct {
	TotalCount int                                   `json:"totalCount"`
	List       []PermissionNamespaceRolesListRespDto `json:"list"`
}

type PermissionNamespaceRolesListRespDto ¶ added in v3.0.4

type PermissionNamespaceRolesListRespDto struct {
	Name        string `json:"name"`
	Code        string `json:"code"`
	Description string `json:"description,omitempty"`
	Namespace   string `json:"namespace"`
	UpdatedAt   string `json:"updatedAt"`
}

type PermissionNamespacesListRespDto ¶ added in v3.0.4

type PermissionNamespacesListRespDto struct {
	Name        string `json:"name"`
	Code        string `json:"code"`
	Description string `json:"description,omitempty"`
	Status      int    `json:"status,omitempty"`
}

type PipelineFunctionDto ¶

type PipelineFunctionDto struct {
	FuncId             string `json:"funcId"`
	FuncName           string `json:"funcName"`
	FuncDescription    string `json:"funcDescription,omitempty"`
	Scene              string `json:"scene"`
	CreatedAt          string `json:"createdAt"`
	UpdatedAt          string `json:"updatedAt"`
	IsAsynchronous     bool   `json:"isAsynchronous"`
	Timeout            int    `json:"timeout"`
	TerminateOnTimeout bool   `json:"terminateOnTimeout"`
	SourceCode         string `json:"sourceCode"`
	Status             string `json:"status"`
	UploadErrMsg       string `json:"uploadErrMsg,omitempty"`
	Enabled            bool   `json:"enabled"`
}

type PipelineFunctionPaginatedRespDto ¶

type PipelineFunctionPaginatedRespDto struct {
	StatusCode int                       `json:"statusCode"`
	Message    string                    `json:"message"`
	ApiCode    int                       `json:"apiCode,omitempty"`
	RequestId  string                    `json:"requestId,omitempty"`
	Data       PipelineFunctionPagingDto `json:"data"`
}

type PipelineFunctionPagingDto ¶

type PipelineFunctionPagingDto struct {
	TotalCount int                   `json:"totalCount"`
	List       []PipelineFunctionDto `json:"list"`
}

type PipelineFunctionSingleRespDto ¶

type PipelineFunctionSingleRespDto struct {
	StatusCode int                 `json:"statusCode"`
	Message    string              `json:"message"`
	ApiCode    int                 `json:"apiCode,omitempty"`
	RequestId  string              `json:"requestId,omitempty"`
	Data       PipelineFunctionDto `json:"data"`
}

type PolicyCondition ¶

type PolicyCondition struct {
	Param    string `json:"param"`
	Operator string `json:"operator"`
	Value    string `json:"value"`
}

type PreCheckCodeDataDto ¶

type PreCheckCodeDataDto struct {
	IsValid bool   `json:"isValid"`
	Message string `json:"message,omitempty"`
}

type PreCheckCodeDto ¶

type PreCheckCodeDto struct {
	CodeType         string               `json:"codeType"`
	SmsCodePayload   PreCheckSmsCodeDto   `json:"smsCodePayload,omitempty"`
	EmailCodePayload PreCheckEmailCodeDto `json:"emailCodePayload,omitempty"`
}

type PreCheckCodeRespDto ¶

type PreCheckCodeRespDto struct {
	StatusCode int                 `json:"statusCode"`
	Message    string              `json:"message"`
	ApiCode    int                 `json:"apiCode,omitempty"`
	RequestId  string              `json:"requestId,omitempty"`
	Data       PreCheckCodeDataDto `json:"data"`
}

type PreCheckEmailCodeDto ¶

type PreCheckEmailCodeDto struct {
	Email    string `json:"email"`
	PassCode string `json:"passCode"`
	Channel  string `json:"channel"`
}

type PreCheckSmsCodeDto ¶

type PreCheckSmsCodeDto struct {
	Phone            string `json:"phone"`
	PassCode         string `json:"passCode"`
	PhoneCountryCode string `json:"phoneCountryCode,omitempty"`
	Channel          string `json:"channel"`
}

type PreviewEmailTemplateDataDto ¶

type PreviewEmailTemplateDataDto struct {
	Content string `json:"content"`
	Subject string `json:"subject"`
	Sender  string `json:"sender"`
}

type PreviewEmailTemplateDto ¶

type PreviewEmailTemplateDto struct {
	Type      string `json:"type"`
	Content   string `json:"content,omitempty"`
	Subject   string `json:"subject,omitempty"`
	Sender    string `json:"sender,omitempty"`
	ExpiresIn int    `json:"expiresIn,omitempty"`
	TplEngine string `json:"tplEngine,omitempty"`
}

type PreviewEmailTemplateRespDto ¶

type PreviewEmailTemplateRespDto struct {
	Data PreviewEmailTemplateDataDto `json:"data"`
}

type PrincipalAuthenticationInfoDto ¶

type PrincipalAuthenticationInfoDto struct {
	Authenticated   bool   `json:"authenticated"`
	PrincipalType   string `json:"principalType"`
	PrincipalCode   string `json:"principalCode"`
	PrincipalName   string `json:"principalName"`
	AuthenticatedAt string `json:"authenticatedAt"`
}

type PrincipalAuthenticationInfoPaginatedRespDto ¶

type PrincipalAuthenticationInfoPaginatedRespDto struct {
	StatusCode int                                  `json:"statusCode"`
	Message    string                               `json:"message"`
	ApiCode    int                                  `json:"apiCode,omitempty"`
	RequestId  string                               `json:"requestId,omitempty"`
	Data       PrincipalAuthenticationInfoPagingDto `json:"data"`
}

type PrincipalAuthenticationInfoPagingDto ¶

type PrincipalAuthenticationInfoPagingDto struct {
	TotalCount int                              `json:"totalCount"`
	List       []PrincipalAuthenticationInfoDto `json:"list"`
}

type QRCodeStatusBriefUserInfoDto ¶

type QRCodeStatusBriefUserInfoDto struct {
	DisplayName string `json:"displayName"`
	Photo       string `json:"photo"`
}

type QrcodeLoginStrategyDto ¶

type QrcodeLoginStrategyDto struct {
	QrcodeExpiresIn                  int    `json:"qrcodeExpiresIn"`
	QrcodeExpiresInUnit              string `json:"qrcodeExpiresInUnit,omitempty"`
	TicketExpiresIn                  int    `json:"ticketExpiresIn"`
	TicketExpiresInUnit              string `json:"ticketExpiresInUnit,omitempty"`
	AllowExchangeUserInfoFromBrowser bool   `json:"allowExchangeUserInfoFromBrowser"`
	ReturnFullUserInfo               bool   `json:"returnFullUserInfo"`
}

type ReUploadPipelineFunctionDto ¶

type ReUploadPipelineFunctionDto struct {
	FuncId string `json:"funcId"`
}

type RefreshApplicationSecretDataDto ¶

type RefreshApplicationSecretDataDto struct {
	Secret string `json:"secret"`
}

type RefreshApplicationSecretDto ¶

type RefreshApplicationSecretDto struct {
	AppId string `json:"appId"`
}

type RefreshApplicationSecretRespDto ¶

type RefreshApplicationSecretRespDto struct {
	StatusCode int                             `json:"statusCode"`
	Message    string                          `json:"message"`
	ApiCode    int                             `json:"apiCode,omitempty"`
	RequestId  string                          `json:"requestId,omitempty"`
	Data       RefreshApplicationSecretDataDto `json:"data"`
}

type RegisterAnomalyDetectionConfigDto ¶

type RegisterAnomalyDetectionConfigDto struct {
	Enabled      bool `json:"enabled"`
	Limit        int  `json:"limit"`
	TimeInterval int  `json:"timeInterval"`
}

type RemoveDepartmentMembersReqDto ¶

type RemoveDepartmentMembersReqDto struct {
	UserIds          []string `json:"userIds"`
	OrganizationCode string   `json:"organizationCode"`
	DepartmentId     string   `json:"departmentId"`
	DepartmentIdType string   `json:"departmentIdType,omitempty"`
	TenantId         string   `json:"tenantId,omitempty"`
}

type RemoveGroupMembersReqDto ¶

type RemoveGroupMembersReqDto struct {
	UserIds []string `json:"userIds"`
	Code    string   `json:"code"`
}

type ResGroupDto ¶

type ResGroupDto struct {
	Id          string `json:"id"`
	Code        string `json:"code"`
	Name        string `json:"name"`
	Description string `json:"description"`
	Type        string `json:"type"`
}

type ResetFactorDto ¶

type ResetFactorDto struct {
	FactorId string `json:"factorId"`
}

type ResetFactorRespDto ¶

type ResetFactorRespDto struct {
	StatusCode int    `json:"statusCode"`
	Message    string `json:"message"`
	ApiCode    int    `json:"apiCode,omitempty"`
	RequestId  string `json:"requestId,omitempty"`
}

type ResetPasswordByEmailPassCodeDto ¶

type ResetPasswordByEmailPassCodeDto struct {
	Email    string `json:"email,omitempty"`
	PassCode string `json:"passCode"`
}

type ResetPasswordByPhonePassCodeDto ¶

type ResetPasswordByPhonePassCodeDto struct {
	PhoneNumber      string `json:"phoneNumber"`
	PassCode         string `json:"passCode"`
	PhoneCountryCode string `json:"phoneCountryCode,omitempty"`
}

type ResetPasswordDto ¶

type ResetPasswordDto struct {
	Password            string `json:"password"`
	PasswordResetToken  string `json:"passwordResetToken"`
	PasswordEncryptType string `json:"passwordEncryptType,omitempty"`
}

type ResetPasswordVerify ¶

type ResetPasswordVerify struct {
	PasswordResetToken string `json:"passwordResetToken"`
	TokenExpiresIn     int    `json:"tokenExpiresIn"`
}

type ResetPrincipalAuthenticationInfoRespDto ¶

type ResetPrincipalAuthenticationInfoRespDto struct {
	Success bool `json:"success"`
}

type ResetUserPrincipalAuthenticationInfoDto ¶

type ResetUserPrincipalAuthenticationInfoDto struct {
	UserId  string                                         `json:"userId"`
	Options ResetUserPrincipalAuthenticationInfoOptionsDto `json:"options,omitempty"`
}

type ResetUserPrincipalAuthenticationInfoOptionsDto ¶

type ResetUserPrincipalAuthenticationInfoOptionsDto struct {
	UserIdType string `json:"userIdType,omitempty"`
}

type ResignUserBatchReqDto ¶

type ResignUserBatchReqDto struct {
	UserIds    []string `json:"userIds"`
	UserIdType string   `json:"userIdType,omitempty"`
}

type ResignUserDataDto ¶

type ResignUserDataDto struct {
	Success bool `json:"success"`
}

type ResignUserReqDto ¶

type ResignUserReqDto struct {
	UserId     string `json:"userId"`
	UserIdType string `json:"userIdType,omitempty"`
}

type ResignUserRespDto ¶

type ResignUserRespDto struct {
	StatusCode int               `json:"statusCode"`
	Message    string            `json:"message"`
	ApiCode    int               `json:"apiCode,omitempty"`
	RequestId  string            `json:"requestId,omitempty"`
	Data       ResignUserDataDto `json:"data"`
}

type ResourceAction ¶

type ResourceAction struct {
	Name        string `json:"name"`
	Description string `json:"description"`
}

type ResourceAuthorizedTargetDto ¶

type ResourceAuthorizedTargetDto struct {
	TargetType       string   `json:"targetType"`
	TargetIdentifier string   `json:"targetIdentifier"`
	Actions          []string `json:"actions"`
}

type ResourceDto ¶

type ResourceDto struct {
	Code           string           `json:"code"`
	Description    string           `json:"description,omitempty"`
	Name           string           `json:"name,omitempty"`
	Type           string           `json:"type"`
	Actions        []ResourceAction `json:"actions,omitempty"`
	ApiIdentifier  string           `json:"apiIdentifier,omitempty"`
	Namespace      string           `json:"namespace,omitempty"`
	LinkedToTenant bool             `json:"linkedToTenant,omitempty"`
}

type ResourceItemDto ¶

type ResourceItemDto struct {
	Code         string   `json:"code"`
	Actions      []string `json:"actions"`
	ResourceType string   `json:"resourceType"`
}

type ResourceListRespDto ¶

type ResourceListRespDto struct {
	StatusCode int           `json:"statusCode"`
	Message    string        `json:"message"`
	ApiCode    int           `json:"apiCode,omitempty"`
	RequestId  string        `json:"requestId,omitempty"`
	Data       []ResourceDto `json:"data"`
}

type ResourcePaginatedRespDto ¶

type ResourcePaginatedRespDto struct {
	StatusCode int               `json:"statusCode"`
	Message    string            `json:"message"`
	ApiCode    int               `json:"apiCode,omitempty"`
	RequestId  string            `json:"requestId,omitempty"`
	Data       ResourcePagingDto `json:"data"`
}

type ResourcePagingDto ¶

type ResourcePagingDto struct {
	StatusCode int           `json:"statusCode"`
	Message    string        `json:"message"`
	ApiCode    int           `json:"apiCode,omitempty"`
	RequestId  string        `json:"requestId,omitempty"`
	TotalCount int           `json:"totalCount"`
	List       []ResourceDto `json:"list"`
}

type ResourcePermissionAssignmentDto ¶

type ResourcePermissionAssignmentDto struct {
	TargetType       string   `json:"targetType"`
	TargetIdentifier string   `json:"targetIdentifier"`
	Actions          []string `json:"actions"`
}

type ResourceRespDto ¶

type ResourceRespDto struct {
	StatusCode int         `json:"statusCode"`
	Message    string      `json:"message"`
	ApiCode    int         `json:"apiCode,omitempty"`
	RequestId  string      `json:"requestId,omitempty"`
	Data       ResourceDto `json:"data"`
}

type RestFactorDto ¶

type RestFactorDto struct {
	FactorId string `json:"factorId"`
}

type Result ¶ added in v3.0.4

type Result struct {
	AddUser          int `json:"addUser"`
	UpdateUser       int `json:"updateUser"`
	AddDepartment    int `json:"addDepartment"`
	UpdateDepartment int `json:"updateDepartment"`
}

type RevokeApplicationAccessDto ¶

type RevokeApplicationAccessDto struct {
	AppId string                                  `json:"appId"`
	List  []DeleteApplicationPermissionRecordItem `json:"list"`
}

type RevokeRoleBatchDto ¶

type RevokeRoleBatchDto struct {
	Targets []TargetDto   `json:"targets"`
	Roles   []RoleCodeDto `json:"roles"`
}

type RevokeRoleDto ¶

type RevokeRoleDto struct {
	Targets   []TargetDto `json:"targets"`
	Code      string      `json:"code"`
	Namespace string      `json:"namespace,omitempty"`
}

type RightItemDto ¶

type RightItemDto struct {
	RightsModelCode string `json:"rightsModelCode"`
	RightsModelName string `json:"rightsModelName"`
	DataType        string `json:"dataType"`
	DataValue       string `json:"dataValue"`
}

type RightItemRes ¶

type RightItemRes struct {
	RightsItems []RightItemDto `json:"rightsItems"`
}

type Role ¶

type Role struct {
}

type RoleAuthorizedResourcePaginatedRespDto ¶

type RoleAuthorizedResourcePaginatedRespDto struct {
	StatusCode int                             `json:"statusCode"`
	Message    string                          `json:"message"`
	ApiCode    int                             `json:"apiCode,omitempty"`
	RequestId  string                          `json:"requestId,omitempty"`
	Data       RoleAuthorizedResourcePagingDto `json:"data"`
}

type RoleAuthorizedResourcePagingDto ¶

type RoleAuthorizedResourcePagingDto struct {
	TotalCount int                              `json:"totalCount"`
	List       []RoleAuthorizedResourcesRespDto `json:"list"`
}

type RoleAuthorizedResourcesRespDto ¶

type RoleAuthorizedResourcesRespDto struct {
	ResourceCode  string   `json:"resourceCode"`
	ResourceType  string   `json:"resourceType"`
	Actions       []string `json:"actions"`
	ApiIdentifier string   `json:"apiIdentifier"`
}

type RoleCheckParamsRespDto ¶ added in v3.0.4

type RoleCheckParamsRespDto struct {
	StatusCode int                    `json:"statusCode"`
	Message    string                 `json:"message"`
	ApiCode    int                    `json:"apiCode,omitempty"`
	Data       CheckRoleParamsRespDto `json:"data"`
}

type RoleCodeAndNamespaceDto ¶ added in v3.0.4

type RoleCodeAndNamespaceDto struct {
	Code      string `json:"code"`
	Namespace string `json:"namespace"`
}

type RoleCodeDto ¶

type RoleCodeDto struct {
	Code      string `json:"code"`
	Namespace string `json:"namespace,omitempty"`
}

type RoleDepartmentListPaginatedRespDto ¶

type RoleDepartmentListPaginatedRespDto struct {
	StatusCode int                         `json:"statusCode"`
	Message    string                      `json:"message"`
	ApiCode    int                         `json:"apiCode,omitempty"`
	RequestId  string                      `json:"requestId,omitempty"`
	Data       RoleDepartmentListPagingDto `json:"data"`
}

type RoleDepartmentListPagingDto ¶

type RoleDepartmentListPagingDto struct {
	TotalCount int                     `json:"totalCount"`
	List       []RoleDepartmentRespDto `json:"list"`
}

type RoleDepartmentRespDto ¶

type RoleDepartmentRespDto struct {
	Id          string `json:"id"`
	Code        string `json:"code"`
	Name        string `json:"name"`
	Description string `json:"description"`
}

type RoleDto ¶

type RoleDto struct {
	Id            string `json:"id"`
	Code          string `json:"code"`
	Name          string `json:"name"`
	Description   string `json:"description"`
	Namespace     string `json:"namespace"`
	NamespaceName string `json:"namespaceName"`
	Status        string `json:"status,omitempty"`
	DisableTime   int    `json:"disableTime,omitempty"`
}

type RoleListItem ¶

type RoleListItem struct {
	Code        string `json:"code"`
	Name        string `json:"name,omitempty"`
	Description string `json:"description,omitempty"`
	Namespace   string `json:"namespace,omitempty"`
}

type RoleListPageDto ¶ added in v3.0.4

type RoleListPageDto struct {
	TotalCount int                     `json:"totalCount,omitempty"`
	Data       []RolePermissionListDto `json:"data"`
}

type RoleListPageRespDto ¶ added in v3.0.4

type RoleListPageRespDto struct {
	StatusCode int             `json:"statusCode"`
	Message    string          `json:"message"`
	ApiCode    int             `json:"apiCode,omitempty"`
	RequestId  string          `json:"requestId,omitempty"`
	Data       RoleListPageDto `json:"data"`
}

type RoleListRespDto ¶

type RoleListRespDto struct {
	StatusCode int       `json:"statusCode"`
	Message    string    `json:"message"`
	ApiCode    int       `json:"apiCode,omitempty"`
	RequestId  string    `json:"requestId,omitempty"`
	Data       []RoleDto `json:"data"`
}

type RolePaginatedRespDto ¶

type RolePaginatedRespDto struct {
	StatusCode int           `json:"statusCode"`
	Message    string        `json:"message"`
	ApiCode    int           `json:"apiCode,omitempty"`
	RequestId  string        `json:"requestId,omitempty"`
	Data       RolePagingDto `json:"data"`
}

type RolePagingDto ¶

type RolePagingDto struct {
	TotalCount int       `json:"totalCount"`
	List       []RoleDto `json:"list"`
}

type RolePermissionListDto ¶ added in v3.0.4

type RolePermissionListDto struct {
	RoleId      string `json:"roleId"`
	Status      string `json:"status"`
	EnableTime  int    `json:"enableTime,omitempty"`
	EndTime     int    `json:"endTime,omitempty"`
	UserPoolId  string `json:"userPoolId"`
	RoleName    string `json:"roleName"`
	RoleCode    string `json:"roleCode"`
	Description string `json:"description,omitempty"`
	CreatedAt   string `json:"createdAt"`
	UpdatedAt   string `json:"updatedAt"`
}

type RoleSingleRespDto ¶

type RoleSingleRespDto struct {
	StatusCode int     `json:"statusCode"`
	Message    string  `json:"message"`
	ApiCode    int     `json:"apiCode,omitempty"`
	RequestId  string  `json:"requestId,omitempty"`
	Data       RoleDto `json:"data"`
}

type RolesDto ¶

type RolesDto struct {
	Description string `json:"description"`
	Code        string `json:"code"`
	Namespace   string `json:"namespace"`
}

type SMTPEmailProviderConfig ¶

type SMTPEmailProviderConfig struct {
	SmtpHost   string `json:"smtp_host"`
	SmtpPort   int    `json:"smtp_port"`
	Sender     string `json:"sender"`
	SenderPass string `json:"senderPass"`
	Secure     bool   `json:"secure"`
}

type SMTPEmailProviderConfigInput ¶

type SMTPEmailProviderConfigInput struct {
	SmtpHost   string `json:"smtp_host"`
	SmtpPort   int    `json:"smtp_port"`
	Sender     string `json:"sender,omitempty"`
	SenderPass string `json:"senderPass"`
	Secure     bool   `json:"secure,omitempty"`
}

type SamlIdpConfig ¶

type SamlIdpConfig struct {
}

type SearchDepartmentMembersDto ¶

type SearchDepartmentMembersDto struct {
	OrganizationCode           string `json:"organizationCode,omitempty"`
	DepartmentId               string `json:"departmentId,omitempty"`
	Keywords                   string `json:"keywords,omitempty"`
	Page                       int    `json:"page,omitempty"`
	Limit                      int    `json:"limit,omitempty"`
	DepartmentIdType           string `json:"departmentIdType,omitempty"`
	IncludeChildrenDepartments bool   `json:"includeChildrenDepartments,omitempty"`
	WithCustomData             bool   `json:"withCustomData,omitempty"`
	WithIdentities             bool   `json:"withIdentities,omitempty"`
	WithDepartmentIds          bool   `json:"withDepartmentIds,omitempty"`
	TenantId                   string `json:"tenantId,omitempty"`
}

type SearchDepartmentsFilterItemDto ¶ added in v3.0.4

type SearchDepartmentsFilterItemDto struct {
	Field    string      `json:"field"`
	Operator string      `json:"operator"`
	Value    interface{} `json:"value,omitempty"`
}

type SearchDepartmentsListReqDto ¶ added in v3.0.4

type SearchDepartmentsListReqDto struct {
	OrganizationCode string                           `json:"organizationCode"`
	WithCustomData   bool                             `json:"withCustomData,omitempty"`
	Page             int                              `json:"page,omitempty"`
	Limit            int                              `json:"limit,omitempty"`
	AdvancedFilter   []SearchDepartmentsFilterItemDto `json:"advancedFilter,omitempty"`
	SortBy           string                           `json:"sortBy,omitempty"`
	OrderBy          string                           `json:"orderBy,omitempty"`
	TenantId         string                           `json:"tenantId,omitempty"`
}

type SearchDepartmentsReqDto ¶

type SearchDepartmentsReqDto struct {
	Keywords         string `json:"keywords"`
	OrganizationCode string `json:"organizationCode"`
	WithCustomData   bool   `json:"withCustomData,omitempty"`
	TenantId         string `json:"tenantId,omitempty"`
}

type SearchOrganizationsDto ¶

type SearchOrganizationsDto struct {
	Keywords       string `json:"keywords,omitempty"`
	Page           int    `json:"page,omitempty"`
	Limit          int    `json:"limit,omitempty"`
	WithCustomData bool   `json:"withCustomData,omitempty"`
	TenantId       string `json:"tenantId,omitempty"`
}

type SecuritySettingsDto ¶

type SecuritySettingsDto struct {
	AllowedOrigins                     string                            `json:"allowedOrigins,omitempty"`
	AuthingTokenExpiresIn              int                               `json:"authingTokenExpiresIn"`
	VerifyCodeLength                   int                               `json:"verifyCodeLength"`
	VerifyCodeMaxAttempts              int                               `json:"verifyCodeMaxAttempts"`
	ChangeEmailStrategy                ChangeEmailStrategyDto            `json:"changeEmailStrategy"`
	ChangePhoneStrategy                ChangePhoneStrategyDto            `json:"changePhoneStrategy"`
	CookieSettings                     CookieSettingsDto                 `json:"cookieSettings,omitempty"`
	RegisterDisabled                   bool                              `json:"registerDisabled"`
	RegisterAnomalyDetection           RegisterAnomalyDetectionConfigDto `json:"registerAnomalyDetection"`
	CompletePasswordAfterPassCodeLogin bool                              `json:"completePasswordAfterPassCodeLogin"`
	LoginAnomalyDetection              LoginAnomalyDetectionConfigDto    `json:"loginAnomalyDetection"`
	LoginRequireEmailVerified          bool                              `json:"loginRequireEmailVerified"`
	SelfUnlockAccount                  SelfUnlockAccountConfigDto        `json:"selfUnlockAccount"`
	EnableLoginAccountSwitch           bool                              `json:"enableLoginAccountSwitch"`
	QrcodeLoginStrategy                QrcodeLoginStrategyDto            `json:"qrcodeLoginStrategy"`
}

type SecuritySettingsRespDto ¶

type SecuritySettingsRespDto struct {
	StatusCode int                 `json:"statusCode"`
	Message    string              `json:"message"`
	ApiCode    int                 `json:"apiCode,omitempty"`
	RequestId  string              `json:"requestId,omitempty"`
	Data       SecuritySettingsDto `json:"data"`
}

type SelfUnlockAccountConfigDto ¶

type SelfUnlockAccountConfigDto struct {
	Enabled  bool   `json:"enabled"`
	Strategy string `json:"strategy"`
}

type SendCreateAccountNotificationDto ¶

type SendCreateAccountNotificationDto struct {
	SendEmailNotification bool   `json:"sendEmailNotification,omitempty"`
	SendPhoneNotification bool   `json:"sendPhoneNotification,omitempty"`
	AppId                 string `json:"appId,omitempty"`
}

type SendEmailDto ¶

type SendEmailDto struct {
	Channel string `json:"channel"`
	Email   string `json:"email"`
}

type SendEmailRespDto ¶

type SendEmailRespDto struct {
	StatusCode int    `json:"statusCode"`
	Message    string `json:"message"`
	ApiCode    int    `json:"apiCode,omitempty"`
	RequestId  string `json:"requestId,omitempty"`
}

type SendEnrollFactorRequestDataDto ¶

type SendEnrollFactorRequestDataDto struct {
	EnrollmentToken string                            `json:"enrollmentToken"`
	OtpData         SendEnrollFactorRequestOtpDataDto `json:"otpData,omitempty"`
}

type SendEnrollFactorRequestDto ¶

type SendEnrollFactorRequestDto struct {
	Profile    FactorProfile `json:"profile"`
	FactorType string        `json:"factorType"`
}

type SendEnrollFactorRequestOtpDataDto ¶

type SendEnrollFactorRequestOtpDataDto struct {
	QrCodeUri     string `json:"qrCodeUri"`
	QrCodeDataUrl string `json:"qrCodeDataUrl"`
	RecoveryCode  string `json:"recoveryCode"`
}

type SendEnrollFactorRequestRespDto ¶

type SendEnrollFactorRequestRespDto struct {
	StatusCode int                            `json:"statusCode"`
	Message    string                         `json:"message"`
	ApiCode    int                            `json:"apiCode,omitempty"`
	RequestId  string                         `json:"requestId,omitempty"`
	Data       SendEnrollFactorRequestDataDto `json:"data"`
}

type SendGridEmailProviderConfig ¶

type SendGridEmailProviderConfig struct {
	Sender string `json:"sender"`
	Apikey string `json:"apikey"`
}

type SendGridEmailProviderConfigInput ¶

type SendGridEmailProviderConfigInput struct {
	Sender string `json:"sender"`
	Apikey string `json:"apikey"`
}

type SendResetPasswordNotificationDto ¶

type SendResetPasswordNotificationDto struct {
	SendDefaultEmailNotification bool   `json:"sendDefaultEmailNotification,omitempty"`
	SendDefaultPhoneNotification bool   `json:"sendDefaultPhoneNotification,omitempty"`
	InputSendEmailNotification   string `json:"inputSendEmailNotification,omitempty"`
	InputSendPhoneNotification   string `json:"inputSendPhoneNotification,omitempty"`
	AppId                        string `json:"appId,omitempty"`
}

type SendSMSDto ¶

type SendSMSDto struct {
	Channel          string `json:"channel"`
	PhoneNumber      string `json:"phoneNumber"`
	PhoneCountryCode string `json:"phoneCountryCode,omitempty"`
}

type SendSMSRespDto ¶

type SendSMSRespDto struct {
	StatusCode int    `json:"statusCode"`
	Message    string `json:"message"`
	ApiCode    int    `json:"apiCode,omitempty"`
	RequestId  string `json:"requestId,omitempty"`
}

type SetCustomDataDto ¶

type SetCustomDataDto struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type SetCustomDataReqDto ¶

type SetCustomDataReqDto struct {
	List             []SetCustomDataDto `json:"list"`
	TargetIdentifier string             `json:"targetIdentifier"`
	TargetType       string             `json:"targetType"`
	Namespace        string             `json:"namespace,omitempty"`
}

type SetCustomFieldDto ¶

type SetCustomFieldDto struct {
	TargetType            string                    `json:"targetType"`
	Key                   string                    `json:"key"`
	DataType              string                    `json:"dataType,omitempty"`
	Label                 string                    `json:"label,omitempty"`
	Description           string                    `json:"description,omitempty"`
	Encrypted             bool                      `json:"encrypted,omitempty"`
	IsUnique              bool                      `json:"isUnique,omitempty"`
	UserEditable          bool                      `json:"userEditable,omitempty"`
	VisibleInAdminConsole bool                      `json:"visibleInAdminConsole,omitempty"`
	VisibleInUserCenter   bool                      `json:"visibleInUserCenter,omitempty"`
	Options               []CustomFieldSelectOption `json:"options,omitempty"`
	I18n                  CustomFieldI18n           `json:"i18n,omitempty"`
}

type SetCustomFieldsReqDto ¶

type SetCustomFieldsReqDto struct {
	List []SetCustomFieldDto `json:"list"`
}

type SetUserBaseFieldDto ¶

type SetUserBaseFieldDto struct {
	Key                   string          `json:"key"`
	Label                 string          `json:"label,omitempty"`
	Description           string          `json:"description,omitempty"`
	UserEditable          bool            `json:"userEditable,omitempty"`
	VisibleInAdminConsole bool            `json:"visibleInAdminConsole,omitempty"`
	VisibleInUserCenter   bool            `json:"visibleInUserCenter,omitempty"`
	I18n                  CustomFieldI18n `json:"i18n,omitempty"`
}

type SetUserBaseFieldsReqDto ¶

type SetUserBaseFieldsReqDto struct {
	List []SetUserBaseFieldDto `json:"list"`
}

type SetUserCustomDataDto ¶

type SetUserCustomDataDto struct {
	Success bool `json:"success"`
}

type SetUserCustomDataRespDto ¶

type SetUserCustomDataRespDto struct {
	StatusCode int                  `json:"statusCode"`
	Message    string               `json:"message"`
	ApiCode    int                  `json:"apiCode,omitempty"`
	RequestId  string               `json:"requestId,omitempty"`
	Data       SetUserCustomDataDto `json:"data"`
}

type SetUserDepartmentDto ¶

type SetUserDepartmentDto struct {
	DepartmentId     string `json:"departmentId"`
	IsLeader         bool   `json:"isLeader,omitempty"`
	IsMainDepartment bool   `json:"isMainDepartment,omitempty"`
}

type SetUserDepartmentsDto ¶

type SetUserDepartmentsDto struct {
	Departments []SetUserDepartmentDto       `json:"departments"`
	UserId      string                       `json:"userId"`
	Options     SetUserDepartmentsOptionsDto `json:"options,omitempty"`
}

type SetUserDepartmentsOptionsDto ¶

type SetUserDepartmentsOptionsDto struct {
	UserIdType string `json:"userIdType,omitempty"`
}

type SignInByAdPayloadDto ¶

type SignInByAdPayloadDto struct {
	Password       string `json:"password"`
	SAMAccountName string `json:"sAMAccountName"`
}

type SignInByAlipayPayloadDto ¶

type SignInByAlipayPayloadDto struct {
	Code string `json:"code,omitempty"`
}

type SignInByApplePayloadDto ¶

type SignInByApplePayloadDto struct {
	Code string `json:"code,omitempty"`
}

type SignInByGooglePayloadDto ¶

type SignInByGooglePayloadDto struct {
	Code string `json:"code"`
}

type SignInByLarkInternalPayloadDto ¶

type SignInByLarkInternalPayloadDto struct {
	Code string `json:"code,omitempty"`
}

type SignInByLarkPublicPayloadDto ¶

type SignInByLarkPublicPayloadDto struct {
	Code string `json:"code,omitempty"`
}

type SignInByLdapPayloadDto ¶

type SignInByLdapPayloadDto struct {
	Password       string `json:"password"`
	SAMAccountName string `json:"sAMAccountName"`
}

type SignInByMobileOptionsDto ¶

type SignInByMobileOptionsDto struct {
	Scope      string      `json:"scope,omitempty"`
	Context    string      `json:"context,omitempty"`
	TenantId   string      `json:"tenantId,omitempty"`
	CustomData interface{} `json:"customData,omitempty"`
}

type SignInByPassCodePayloadDto ¶

type SignInByPassCodePayloadDto struct {
	PassCode         string `json:"passCode"`
	Email            string `json:"email,omitempty"`
	Phone            string `json:"phone,omitempty"`
	PhoneCountryCode string `json:"phoneCountryCode,omitempty"`
}

type SignInByPasswordPayloadDto ¶

type SignInByPasswordPayloadDto struct {
	Password string `json:"password"`
	Account  string `json:"account,omitempty"`
	Email    string `json:"email,omitempty"`
	Username string `json:"username,omitempty"`
	Phone    string `json:"phone,omitempty"`
}

type SignInByWechatMiniProgramCodePayloadDto ¶

type SignInByWechatMiniProgramCodePayloadDto struct {
	EncryptedData string `json:"encryptedData"`
	Iv            string `json:"iv"`
	Code          string `json:"code"`
}

type SignInByWechatMiniProgramPhonePayloadDto ¶

type SignInByWechatMiniProgramPhonePayloadDto struct {
	EncryptedData string `json:"encryptedData"`
	Iv            string `json:"iv"`
	Code          string `json:"code"`
}

type SignInByWechatPayloadDto ¶

type SignInByWechatPayloadDto struct {
	Code string `json:"code,omitempty"`
}

type SignInByWechatworkAgencyPayloadDto ¶

type SignInByWechatworkAgencyPayloadDto struct {
	Code string `json:"code,omitempty"`
}

type SignInByWechatworkDto ¶

type SignInByWechatworkDto struct {
	Code string `json:"code,omitempty"`
}

type SignInByYidunPayloadDto ¶

type SignInByYidunPayloadDto struct {
	Token       string `json:"token,omitempty"`
	AccessToken string `json:"accessToken,omitempty"`
}

type SignInOptionsDto ¶

type SignInOptionsDto struct {
	Scope               string      `json:"scope,omitempty"`
	ClientIp            string      `json:"clientIp,omitempty"`
	Context             string      `json:"context,omitempty"`
	TenantId            string      `json:"tenantId,omitempty"`
	CustomData          interface{} `json:"customData,omitempty"`
	AutoRegister        bool        `json:"autoRegister,omitempty"`
	CaptchaCode         string      `json:"captchaCode,omitempty"`
	PasswordEncryptType string      `json:"passwordEncryptType,omitempty"`
}

type SignUpByPassCodeDto ¶

type SignUpByPassCodeDto struct {
	PassCode         string `json:"passCode"`
	Email            string `json:"email,omitempty"`
	Phone            string `json:"phone,omitempty"`
	PhoneCountryCode string `json:"phoneCountryCode,omitempty"`
}

type SignUpByPasswordDto ¶

type SignUpByPasswordDto struct {
	Password string `json:"password"`
	Username string `json:"username,omitempty"`
	Email    string `json:"email,omitempty"`
}

type SignUpDto ¶

type SignUpDto struct {
	Connection      string              `json:"connection"`
	PasswordPayload SignUpByPasswordDto `json:"passwordPayload,omitempty"`
	PassCodePayload SignUpByPassCodeDto `json:"passCodePayload,omitempty"`
	Profile         SignUpProfileDto    `json:"profile,omitempty"`
	Options         SignUpOptionsDto    `json:"options,omitempty"`
}

type SignUpOptionsDto ¶

type SignUpOptionsDto struct {
	ClientIp                              string      `json:"clientIp,omitempty"`
	PhonePassCodeForInformationCompletion string      `json:"phonePassCodeForInformationCompletion,omitempty"`
	EmailPassCodeForInformationCompletion string      `json:"emailPassCodeForInformationCompletion,omitempty"`
	Context                               interface{} `json:"context"`
	PasswordEncryptType                   string      `json:"passwordEncryptType,omitempty"`
}

type SignUpProfileDto ¶

type SignUpProfileDto struct {
	Nickname          string      `json:"nickname,omitempty"`
	Company           string      `json:"company,omitempty"`
	Photo             string      `json:"photo,omitempty"`
	Device            string      `json:"device,omitempty"`
	Browser           string      `json:"browser,omitempty"`
	Name              string      `json:"name,omitempty"`
	GivenName         string      `json:"givenName,omitempty"`
	FamilyName        string      `json:"familyName,omitempty"`
	MiddleName        string      `json:"middleName,omitempty"`
	Profile           string      `json:"profile,omitempty"`
	PreferredUsername string      `json:"preferredUsername,omitempty"`
	Website           string      `json:"website,omitempty"`
	Gender            string      `json:"gender,omitempty"`
	Birthdate         string      `json:"birthdate,omitempty"`
	Zoneinfo          string      `json:"zoneinfo,omitempty"`
	Locale            string      `json:"locale,omitempty"`
	Address           string      `json:"address,omitempty"`
	Formatted         string      `json:"formatted,omitempty"`
	StreetAddress     string      `json:"streetAddress,omitempty"`
	Locality          string      `json:"locality,omitempty"`
	Region            string      `json:"region,omitempty"`
	PostalCode        string      `json:"postalCode,omitempty"`
	Country           string      `json:"country,omitempty"`
	Email             string      `json:"email,omitempty"`
	Phone             string      `json:"phone,omitempty"`
	CustomData        interface{} `json:"customData,omitempty"`
}

type SigninByCredentialsDto ¶

type SigninByCredentialsDto struct {
	Connection      string                     `json:"connection"`
	PasswordPayload SignInByPasswordPayloadDto `json:"passwordPayload,omitempty"`
	PassCodePayload SignInByPassCodePayloadDto `json:"passCodePayload,omitempty"`
	AdPayload       SignInByAdPayloadDto       `json:"adPayload,omitempty"`
	LdapPayload     SignInByLdapPayloadDto     `json:"ldapPayload,omitempty"`
	Options         SignInOptionsDto           `json:"options,omitempty"`
	ClientId        string                     `json:"client_id,omitempty"`
	ClientSecret    string                     `json:"client_secret,omitempty"`
}

type SigninByMobileDto ¶

type SigninByMobileDto struct {
	ExtIdpConnidentifier          string                                   `json:"extIdpConnidentifier"`
	Connection                    string                                   `json:"connection"`
	WechatPayload                 SignInByWechatPayloadDto                 `json:"wechatPayload,omitempty"`
	ApplePayload                  SignInByApplePayloadDto                  `json:"applePayload,omitempty"`
	AlipayPayload                 SignInByAlipayPayloadDto                 `json:"alipayPayload,omitempty"`
	WechatworkPayload             SignInByWechatworkDto                    `json:"wechatworkPayload,omitempty"`
	WechatworkAgencyPayload       SignInByWechatworkAgencyPayloadDto       `json:"wechatworkAgencyPayload,omitempty"`
	LarkPublicPayload             SignInByLarkPublicPayloadDto             `json:"larkPublicPayload,omitempty"`
	LarkInternalPayload           SignInByLarkInternalPayloadDto           `json:"larkInternalPayload,omitempty"`
	YidunPayload                  SignInByYidunPayloadDto                  `json:"yidunPayload,omitempty"`
	WechatMiniProgramCodePayload  SignInByWechatMiniProgramCodePayloadDto  `json:"wechatMiniProgramCodePayload,omitempty"`
	WechatMiniProgramPhonePayload SignInByWechatMiniProgramPhonePayloadDto `json:"wechatMiniProgramPhonePayload,omitempty"`
	GooglePayload                 SignInByGooglePayloadDto                 `json:"googlePayload,omitempty"`
	Options                       SignInByMobileOptionsDto                 `json:"options,omitempty"`
	ClientId                      string                                   `json:"client_id,omitempty"`
	ClientSecret                  string                                   `json:"client_secret,omitempty"`
}

type SortingDto ¶

type SortingDto struct {
	Field string `json:"field"`
	Order string `json:"order"`
}

type StrAuthorize ¶ added in v3.0.4

type StrAuthorize struct {
	Value   string   `json:"value"`
	Actions []string `json:"actions"`
}

type StrResourceAuthAction ¶ added in v3.0.7

type StrResourceAuthAction struct {
	Value   string   `json:"value,omitempty"`
	Actions []string `json:"actions,omitempty"`
}

type SubjectDto ¶ added in v3.0.4

type SubjectDto struct {
	Id   string `json:"id"`
	Type string `json:"type"`
	Name string `json:"name,omitempty"`
}

type SubjectRespDto ¶ added in v3.0.4

type SubjectRespDto struct {
	Id   string `json:"id"`
	Type string `json:"type"`
	Name string `json:"name"`
}

type SyncJobDto ¶

type SyncJobDto struct {
	SyncJobId                 int    `json:"syncJobId"`
	SyncTaskId                int    `json:"syncTaskId"`
	CreatedAt                 string `json:"createdAt"`
	UpdatedAt                 string `json:"updatedAt"`
	SyncStatus                string `json:"syncStatus"`
	SyncFlow                  string `json:"syncFlow"`
	SyncTrigger               string `json:"syncTrigger"`
	DepartmentCountAll        int    `json:"departmentCountAll"`
	DepartmentCountSucc       int    `json:"departmentCountSucc"`
	DepartmentUpdateCountAll  int    `json:"departmentUpdateCountAll"`
	DepartmentUpdateCountSucc int    `json:"departmentUpdateCountSucc"`
	AccountCountAll           int    `json:"accountCountAll"`
	AccountCountSucc          int    `json:"accountCountSucc"`
	AccountUpdateCountAll     int    `json:"accountUpdateCountAll"`
	AccountUpdateCountSucc    int    `json:"accountUpdateCountSucc"`
	ErrMsg                    string `json:"errMsg,omitempty"`
}

type SyncJobPaginatedRespDto ¶

type SyncJobPaginatedRespDto struct {
	StatusCode int              `json:"statusCode"`
	Message    string           `json:"message"`
	ApiCode    int              `json:"apiCode,omitempty"`
	RequestId  string           `json:"requestId,omitempty"`
	Data       SyncJobPagingDto `json:"data"`
}

type SyncJobPagingDto ¶

type SyncJobPagingDto struct {
	TotalCount int          `json:"totalCount"`
	List       []SyncJobDto `json:"list"`
}

type SyncJobSingleRespDto ¶

type SyncJobSingleRespDto struct {
	StatusCode int        `json:"statusCode"`
	Message    string     `json:"message"`
	ApiCode    int        `json:"apiCode,omitempty"`
	RequestId  string     `json:"requestId,omitempty"`
	Data       SyncJobDto `json:"data"`
}

type SyncRiskOperationDto ¶

type SyncRiskOperationDto struct {
	SyncRiskOperationId int    `json:"syncRiskOperationId"`
	SyncTaskId          int    `json:"syncTaskId"`
	CreatedAt           string `json:"createdAt"`
	UpdatedAt           string `json:"updatedAt"`
	Status              string `json:"status"`
	Level               int    `json:"level"`
	ObjectType          string `json:"objectType"`
	ObjectName          string `json:"objectName"`
	ObjectId            string `json:"objectId"`
	ErrMsg              string `json:"errMsg,omitempty"`
}

type SyncRiskOperationPaginatedRespDto ¶

type SyncRiskOperationPaginatedRespDto struct {
	StatusCode int                        `json:"statusCode"`
	Message    string                     `json:"message"`
	ApiCode    int                        `json:"apiCode,omitempty"`
	RequestId  string                     `json:"requestId,omitempty"`
	Data       SyncRiskOperationPagingDto `json:"data"`
}

type SyncRiskOperationPagingDto ¶

type SyncRiskOperationPagingDto struct {
	TotalCount int                    `json:"totalCount"`
	List       []SyncRiskOperationDto `json:"list"`
}

type SyncTaskActiveDirectoryClientConfig ¶

type SyncTaskActiveDirectoryClientConfig struct {
	SyncIdentityProviderCode string `json:"syncIdentityProviderCode,omitempty"`
	TicketUrl                string `json:"ticket_url,omitempty"`
}

type SyncTaskClientConfig ¶

type SyncTaskClientConfig struct {
	LarkConfig              SyncTaskLarkClientConfig            `json:"larkConfig,omitempty"`
	LarkInternationalConfig SyncTaskLarkClientConfig            `json:"larkInternationalConfig,omitempty"`
	WechatworkConfig        SyncTaskWechatworkClientConfig      `json:"wechatworkConfig,omitempty"`
	DingtalkConfig          SyncTaskDingtalkClientConfig        `json:"dingtalkConfig,omitempty"`
	MokaConfig              SyncTaskMokaClientConfig            `json:"mokaConfig,omitempty"`
	ScimConfig              SyncTaskScimClientConfig            `json:"scimConfig,omitempty"`
	ActiveDirectoryConfig   SyncTaskActiveDirectoryClientConfig `json:"activeDirectoryConfig,omitempty"`
	LdapConfig              SyncTaskLdapClientConfig            `json:"ldapConfig,omitempty"`
	ItalentConfig           SyncTaskItalentClientConfig         `json:"italentConfig,omitempty"`
	MaycurConfig            SyncTaskMaycurClientConfig          `json:"maycurConfig,omitempty"`
	FxiaokeConfig           SyncTaskFxiaokeClientConfig         `json:"fxiaokeConfig,omitempty"`
	XiaoshouyiConfig        SyncTaskXiaoshouyiClientConfig      `json:"xiaoshouyiConfig,omitempty"`
	KayangConfig            SyncTaskKayangClientConfig          `json:"kayangConfig,omitempty"`
}

type SyncTaskDingtalkClientConfig ¶

type SyncTaskDingtalkClientConfig struct {
	CorpId    string `json:"corpId"`
	AppKey    string `json:"appKey"`
	AppSecret string `json:"appSecret"`
	AesKey    string `json:"aes_key,omitempty"`
	Token     string `json:"token,omitempty"`
}

type SyncTaskDto ¶

type SyncTaskDto struct {
	SyncTaskId        int                       `json:"syncTaskId"`
	CreatedAt         string                    `json:"createdAt"`
	UpdatedAt         string                    `json:"updatedAt"`
	SyncTaskName      string                    `json:"syncTaskName"`
	SyncTaskType      string                    `json:"syncTaskType"`
	SyncFlow          string                    `json:"syncFlow"`
	SyncTrigger       string                    `json:"syncTrigger"`
	LastSyncMessage   string                    `json:"lastSyncMessage,omitempty"`
	LastSyncRate      int                       `json:"lastSyncRate,omitempty"`
	LastSyncStatus    string                    `json:"lastSyncStatus,omitempty"`
	LastSyncTime      string                    `json:"lastSyncTime,omitempty"`
	OrganizationCode  string                    `json:"organizationCode,omitempty"`
	ProvisioningScope SyncTaskProvisioningScope `json:"provisioningScope,omitempty"`
	FieldMapping      []SyncTaskFieldMapping    `json:"fieldMapping"`
	TimedScheduler    SyncTaskTimedScheduler    `json:"timedScheduler,omitempty"`
}

type SyncTaskFieldMapping ¶

type SyncTaskFieldMapping struct {
	Expression string `json:"expression"`
	TargetKey  string `json:"targetKey"`
}

type SyncTaskFxiaokeClientConfig ¶

type SyncTaskFxiaokeClientConfig struct {
	AppId             string `json:"appId"`
	AppSecret         string `json:"appSecret"`
	PermanentCode     string `json:"permanentCode"`
	CurrentOpenUserId string `json:"currentOpenUserId"`
}

type SyncTaskItalentClientConfig ¶

type SyncTaskItalentClientConfig struct {
	TenantId  string `json:"tenant_id"`
	AppKey    string `json:"app_key"`
	AppSecret string `json:"app_secret"`
}

type SyncTaskKayangClientConfig ¶

type SyncTaskKayangClientConfig struct {
	Endpoint string `json:"endpoint"`
	Account  string `json:"account"`
	Password string `json:"password"`
}

type SyncTaskLarkClientConfig ¶

type SyncTaskLarkClientConfig struct {
	AppId             string `json:"app_id"`
	AppSecret         string `json:"app_secret"`
	EncryptKey        string `json:"encrypt_key,omitempty"`
	VerificationToken string `json:"verification_token,omitempty"`
}

type SyncTaskLdapClientConfig ¶

type SyncTaskLdapClientConfig struct {
	Url                     string `json:"url"`
	BindDn                  string `json:"bindDn"`
	BindCredentials         string `json:"bindCredentials"`
	UsersBaseDn             string `json:"usersBaseDn"`
	GroupsBaseDn            string `json:"groupsBaseDn"`
	UserQueryCriteria       string `json:"userQueryCriteria"`
	DepartmentQueryCriteria string `json:"departmentQueryCriteria"`
}

type SyncTaskMaycurClientConfig ¶

type SyncTaskMaycurClientConfig struct {
	AppCode   string `json:"app_code"`
	AppSecret string `json:"app_secret"`
	Endpoint  string `json:"endpoint"`
}

type SyncTaskMokaClientConfig ¶

type SyncTaskMokaClientConfig struct {
	UserName          string `json:"userName"`
	EntCode           string `json:"entCode"`
	ApiCodeEmployee   string `json:"apiCode_employee"`
	ApiCodeDepartment string `json:"apiCode_department"`
	PrivateKey        string `json:"privateKey"`
}

type SyncTaskPaginatedRespDto ¶

type SyncTaskPaginatedRespDto struct {
	StatusCode int               `json:"statusCode"`
	Message    string            `json:"message"`
	ApiCode    int               `json:"apiCode,omitempty"`
	RequestId  string            `json:"requestId,omitempty"`
	Data       SyncTaskPagingDto `json:"data"`
}

type SyncTaskPagingDto ¶

type SyncTaskPagingDto struct {
	TotalCount int           `json:"totalCount"`
	List       []SyncTaskDto `json:"list"`
}

type SyncTaskProvisioningScope ¶

type SyncTaskProvisioningScope struct {
	All             bool `json:"all"`
	IncludeNewUsers bool `json:"includeNewUsers"`
}

type SyncTaskScimClientConfig ¶

type SyncTaskScimClientConfig struct {
	OrgUrl           string `json:"org_url,omitempty"`
	UserUrl          string `json:"user_url"`
	Token            string `json:"token"`
	RootDepartmentId string `json:"root_department_id,omitempty"`
	ParentDepartment string `json:"parent_department,omitempty"`
	Department       string `json:"department,omitempty"`
}

type SyncTaskSingleRespDto ¶

type SyncTaskSingleRespDto struct {
	StatusCode int         `json:"statusCode"`
	Message    string      `json:"message"`
	ApiCode    int         `json:"apiCode,omitempty"`
	RequestId  string      `json:"requestId,omitempty"`
	Data       SyncTaskDto `json:"data"`
}

type SyncTaskTimedScheduler ¶

type SyncTaskTimedScheduler struct {
	Cycle     string `json:"cycle"`
	StartTime int    `json:"startTime"`
}

type SyncTaskWechatworkClientConfig ¶

type SyncTaskWechatworkClientConfig struct {
	CorpID         string `json:"corpID"`
	Secret         string `json:"secret"`
	Token          string `json:"token,omitempty"`
	EncodingAESKey string `json:"encodingAESKey,omitempty"`
	AgentUrl       string `json:"agentUrl,omitempty"`
}

type SyncTaskXiaoshouyiClientConfig ¶

type SyncTaskXiaoshouyiClientConfig struct {
	ClientId     string `json:"client_id"`
	ClientSecret string `json:"client_secret"`
	Username     string `json:"username"`
	Password     string `json:"password"`
}

type SystemInfoResp ¶

type SystemInfoResp struct {
	Rsa       SystmeInfoRSAConfig `json:"rsa"`
	Sm2       SystmeInfoSM2Config `json:"sm2"`
	Version   SystmeInfoVersion   `json:"version"`
	PublicIps []string            `json:"publicIps"`
}

type SystmeInfoRSAConfig ¶

type SystmeInfoRSAConfig struct {
	PublicKey string `json:"publicKey"`
}

type SystmeInfoSM2Config ¶

type SystmeInfoSM2Config struct {
	PublicKey string `json:"publicKey"`
}

type SystmeInfoVersion ¶

type SystmeInfoVersion struct {
	Server  string `json:"server"`
	Console string `json:"console"`
	Login   string `json:"login"`
}

type TabConfigDto ¶ added in v3.0.7

type TabConfigDto struct {
}

type TargetDto ¶

type TargetDto struct {
	TargetType       string `json:"targetType"`
	TargetIdentifier string `json:"targetIdentifier"`
}

type TenantApplicationDto ¶ added in v3.0.7

type TenantApplicationDto struct {
	UserPoolId      string `json:"userPoolId"`
	TenantAppId     string `json:"tenantAppId"`
	Name            string `json:"name"`
	Description     string `json:"description,omitempty"`
	ApplicationType string `json:"applicationType"`
	SsoEnabled      bool   `json:"ssoEnabled"`
	AppId           string `json:"appId"`
}

type TenantApplicationListPaginatedRespDto ¶ added in v3.0.7

type TenantApplicationListPaginatedRespDto struct {
	StatusCode int                            `json:"statusCode"`
	Message    string                         `json:"message"`
	ApiCode    int                            `json:"apiCode,omitempty"`
	RequestId  string                         `json:"requestId,omitempty"`
	Data       TenantApplicationListPagingDto `json:"data"`
}

type TenantApplicationListPagingDto ¶ added in v3.0.7

type TenantApplicationListPagingDto struct {
	TotalCount int                    `json:"totalCount"`
	List       []TenantApplicationDto `json:"list"`
}

type TenantListPaginatedRespDto ¶

type TenantListPaginatedRespDto struct {
	StatusCode int                 `json:"statusCode"`
	Message    string              `json:"message"`
	ApiCode    int                 `json:"apiCode,omitempty"`
	RequestId  string              `json:"requestId,omitempty"`
	Data       TenantListPagingDto `json:"data"`
}

type TenantListPagingDto ¶

type TenantListPagingDto struct {
	TotalCount int               `json:"totalCount"`
	List       []UpdateTenantDto `json:"list"`
}

type TenantSingleRespDto ¶

type TenantSingleRespDto struct {
	StatusCode int             `json:"statusCode"`
	Message    string          `json:"message"`
	ApiCode    int             `json:"apiCode,omitempty"`
	RequestId  string          `json:"requestId,omitempty"`
	Data       UpdateTenantDto `json:"data"`
}

type TenantUserDto ¶

type TenantUserDto struct {
	TenantId         string `json:"tenantId"`
	UserPoolId       string `json:"userPoolId"`
	Username         string `json:"username"`
	Name             string `json:"name"`
	Nickname         string `json:"nickname"`
	Email            string `json:"email"`
	Phone            string `json:"phone"`
	Address          string `json:"address"`
	Birthdate        string `json:"birthdate"`
	Blocked          bool   `json:"blocked"`
	IsTenantAdmin    bool   `json:"isTenantAdmin"`
	LastIP           string `json:"lastIP"`
	LastLoginApp     string `json:"lastLoginApp"`
	LastLoginAppName string `json:"lastLoginAppName"`
	LoginsCount      int    `json:"loginsCount"`
	MemberId         string `json:"memberId"`
	LinkUserId       string `json:"linkUserId"`
}

type TenantUserListPaginatedRespDto ¶

type TenantUserListPaginatedRespDto struct {
	StatusCode int                     `json:"statusCode"`
	Message    string                  `json:"message"`
	ApiCode    int                     `json:"apiCode,omitempty"`
	RequestId  string                  `json:"requestId,omitempty"`
	Data       TenantUserListPagingDto `json:"data"`
}

type TenantUserListPagingDto ¶

type TenantUserListPagingDto struct {
	TotalCount int             `json:"totalCount"`
	List       []TenantUserDto `json:"list"`
}

type TenantUserSingleRespDto ¶

type TenantUserSingleRespDto struct {
	StatusCode int           `json:"statusCode"`
	Message    string        `json:"message"`
	ApiCode    int           `json:"apiCode,omitempty"`
	RequestId  string        `json:"requestId,omitempty"`
	Data       TenantUserDto `json:"data"`
}

type TencentExmailEmailProviderConfig ¶

type TencentExmailEmailProviderConfig struct {
	Sender     string `json:"sender"`
	SenderPass string `json:"senderPass"`
}

type TencentExmailEmailProviderConfigInput ¶

type TencentExmailEmailProviderConfigInput struct {
	Sender     string `json:"sender"`
	SenderPass string `json:"senderPass"`
}

type TokenEndPointParams ¶

type TokenEndPointParams struct {
	ClientId     string `json:"client_id,omitempty"`
	ClientSecret string `json:"client_secret,omitempty"`
	GrantType    string `json:"grant_type"`
	RedirectUri  string `json:"redirect_uri"`
	Code         string `json:"code,omitempty"`
	CodeVerifier string `json:"code_verifier,omitempty"`
	RefreshToken string `json:"refresh_token,omitempty"`
}

type TokenIntrospectEndpointParams ¶

type TokenIntrospectEndpointParams struct {
	ClientId     string `json:"client_id,omitempty"`
	ClientSecret string `json:"client_secret,omitempty"`
	Token        string `json:"token"`
}

type TokenIntrospectResponse ¶

type TokenIntrospectResponse struct {
	Active    bool   `json:"active"`
	Sub       string `json:"sub,omitempty"`
	ClientId  string `json:"client_id,omitempty"`
	Exp       int    `json:"exp,omitempty"`
	Iat       int    `json:"iat,omitempty"`
	Iss       string `json:"iss,omitempty"`
	Jti       string `json:"jti,omitempty"`
	Scope     string `json:"scope,omitempty"`
	TokenType string `json:"token_type,omitempty"`
}

type TokenRevocationEndpointParams ¶

type TokenRevocationEndpointParams struct {
	ClientId     string `json:"client_id,omitempty"`
	ClientSecret string `json:"client_secret,omitempty"`
	Token        string `json:"token"`
}

type TreeAuthBo ¶ added in v3.0.4

type TreeAuthBo struct {
	NodePath    string   `json:"nodePath"`
	NodeName    string   `json:"nodeName"`
	NodeActions []string `json:"nodeActions"`
	NodeValue   string   `json:"nodeValue,omitempty"`
}

type TreeAuthorize ¶ added in v3.0.4

type TreeAuthorize struct {
	AuthList []TreeAuthBo `json:"authList"`
}

type TreePermissionDto ¶ added in v3.0.5

type TreePermissionDto struct {
	ResourceId         string                          `json:"resourceId"`
	ResourceType       string                          `json:"resourceType"`
	NodeAuthActionList []DataResourcePolicyTreeStructs `json:"nodeAuthActionList"`
}

type TreeResourceAuthAction ¶ added in v3.0.7

type TreeResourceAuthAction struct {
	NodeAuthActionList []TreeStructs `json:"nodeAuthActionList,omitempty"`
}

type TreeStructs ¶ added in v3.0.7

type TreeStructs struct {
	Code     string        `json:"code"`
	Name     string        `json:"name"`
	Value    string        `json:"value,omitempty"`
	Actions  []string      `json:"actions,omitempty"`
	Children []TreeStructs `json:"children,omitempty"`
}

type TriggerSyncRiskOperationDto ¶

type TriggerSyncRiskOperationDto struct {
	SyncRiskOperationIds []int `json:"syncRiskOperationIds"`
}

type TriggerSyncRiskOperationsDataDto ¶

type TriggerSyncRiskOperationsDataDto struct {
	SuccessList []int `json:"successList"`
	FaildList   []int `json:"faildList"`
}

type TriggerSyncRiskOperationsRespDto ¶

type TriggerSyncRiskOperationsRespDto struct {
	StatusCode int                              `json:"statusCode"`
	Message    string                           `json:"message"`
	ApiCode    int                              `json:"apiCode,omitempty"`
	RequestId  string                           `json:"requestId,omitempty"`
	Data       TriggerSyncRiskOperationsDataDto `json:"data"`
}

type TriggerSyncTaskDataDto ¶

type TriggerSyncTaskDataDto struct {
	SyncJobId int `json:"syncJobId"`
}

type TriggerSyncTaskDto ¶

type TriggerSyncTaskDto struct {
	SyncTaskId int `json:"syncTaskId"`
}

type TriggerSyncTaskRespDto ¶

type TriggerSyncTaskRespDto struct {
	StatusCode int                    `json:"statusCode"`
	Message    string                 `json:"message"`
	ApiCode    int                    `json:"apiCode,omitempty"`
	RequestId  string                 `json:"requestId,omitempty"`
	Data       TriggerSyncTaskDataDto `json:"data"`
}

type TriggerWebhookData ¶

type TriggerWebhookData struct {
	Response Any `json:"response"`
}

type TriggerWebhookDto ¶

type TriggerWebhookDto struct {
	WebhookId      string      `json:"webhookId"`
	RequestHeaders interface{} `json:"requestHeaders,omitempty"`
	RequestBody    interface{} `json:"requestBody,omitempty"`
}

type TriggerWebhookRespDto ¶

type TriggerWebhookRespDto struct {
	StatusCode int                `json:"statusCode"`
	Message    string             `json:"message"`
	ApiCode    int                `json:"apiCode,omitempty"`
	RequestId  string             `json:"requestId,omitempty"`
	Data       TriggerWebhookData `json:"data"`
}

type UnbindEmailDto ¶

type UnbindEmailDto struct {
	PassCode string `json:"passCode"`
}

type UnbindExtIdpDto ¶

type UnbindExtIdpDto struct {
	ExtIdpId string `json:"extIdpId"`
}

type UnbindPhoneDto ¶

type UnbindPhoneDto struct {
	PassCode string `json:"passCode"`
}

type UnlinkExtIdpDto ¶

type UnlinkExtIdpDto struct {
	ExtIdpId string `json:"extIdpId"`
}

type UpdateAccessKeyDto ¶ added in v3.0.7

type UpdateAccessKeyDto struct {
	Enable      bool   `json:"enable"`
	AccessKeyId string `json:"accessKeyId"`
}

type UpdateApplicationPermissionStrategyDataDto ¶

type UpdateApplicationPermissionStrategyDataDto struct {
	PermissionStrategy string `json:"permissionStrategy"`
	AppId              string `json:"appId"`
}

type UpdateAsaAccountDto ¶ added in v3.0.4

type UpdateAsaAccountDto struct {
	AccountInfo interface{} `json:"accountInfo"`
	AccountId   string      `json:"accountId"`
	AppId       string      `json:"appId"`
}

type UpdateDataPolicyDto ¶ added in v3.0.4

type UpdateDataPolicyDto struct {
	PolicyId      string                       `json:"policyId"`
	PolicyName    string                       `json:"policyName,omitempty"`
	Description   string                       `json:"description,omitempty"`
	StatementList []DataStatementPermissionDto `json:"statementList,omitempty"`
}

type UpdateDataPolicyRespDto ¶ added in v3.0.4

type UpdateDataPolicyRespDto struct {
	PolicyId    string `json:"policyId"`
	PolicyName  string `json:"policyName"`
	Description string `json:"description,omitempty"`
	CreatedAt   string `json:"createdAt"`
	UpdatedAt   string `json:"updatedAt"`
}

type UpdateDataPolicyResponseDto ¶ added in v3.0.4

type UpdateDataPolicyResponseDto struct {
	StatusCode int                     `json:"statusCode"`
	Message    string                  `json:"message"`
	ApiCode    int                     `json:"apiCode,omitempty"`
	RequestId  string                  `json:"requestId,omitempty"`
	Data       UpdateDataPolicyRespDto `json:"data"`
}

type UpdateDataResourceDto ¶ added in v3.0.4

type UpdateDataResourceDto struct {
	ResourceCode  string      `json:"resourceCode"`
	NamespaceCode string      `json:"namespaceCode"`
	ResourceName  string      `json:"resourceName,omitempty"`
	Description   string      `json:"description,omitempty"`
	Struct        interface{} `json:"struct,omitempty"`
	Actions       []string    `json:"actions,omitempty"`
}

type UpdateDataResourceRespDto ¶ added in v3.0.4

type UpdateDataResourceRespDto struct {
	ResourceName string      `json:"resourceName"`
	ResourceCode string      `json:"resourceCode"`
	Type         string      `json:"type"`
	Description  string      `json:"description,omitempty"`
	Struct       interface{} `json:"struct"`
	Actions      []string    `json:"actions"`
}

type UpdateDataResourceResponseDto ¶ added in v3.0.4

type UpdateDataResourceResponseDto struct {
	StatusCode int                       `json:"statusCode"`
	Message    string                    `json:"message"`
	ApiCode    int                       `json:"apiCode,omitempty"`
	RequestId  string                    `json:"requestId,omitempty"`
	Data       UpdateDataResourceRespDto `json:"data"`
}

type UpdateDepartmentReqDto ¶

type UpdateDepartmentReqDto struct {
	OrganizationCode   string            `json:"organizationCode"`
	DepartmentId       string            `json:"departmentId"`
	LeaderUserIds      []string          `json:"leaderUserIds,omitempty"`
	Description        string            `json:"description,omitempty"`
	Code               string            `json:"code,omitempty"`
	I18n               DepartmentI18nDto `json:"i18n,omitempty"`
	Name               string            `json:"name,omitempty"`
	DepartmentIdType   string            `json:"departmentIdType,omitempty"`
	ParentDepartmentId string            `json:"parentDepartmentId,omitempty"`
	CustomData         interface{}       `json:"customData,omitempty"`
	TenantId           string            `json:"tenantId,omitempty"`
}

type UpdateEmailByEmailPassCodeDto ¶

type UpdateEmailByEmailPassCodeDto struct {
	NewEmail         string `json:"newEmail"`
	NewEmailPassCode string `json:"newEmailPassCode"`
	OldEmail         string `json:"oldEmail,omitempty"`
	OldEmailPassCode string `json:"oldEmailPassCode,omitempty"`
}

type UpdateEmailDto ¶

type UpdateEmailDto struct {
	UpdateEmailToken string `json:"updateEmailToken"`
}

type UpdateEmailTemplateDto ¶

type UpdateEmailTemplateDto struct {
	Content          string `json:"content"`
	Sender           string `json:"sender"`
	Subject          string `json:"subject"`
	Name             string `json:"name"`
	CustomizeEnabled bool   `json:"customizeEnabled"`
	Type             string `json:"type"`
	ExpiresIn        int    `json:"expiresIn,omitempty"`
	RedirectTo       string `json:"redirectTo,omitempty"`
	TplEngine        string `json:"tplEngine,omitempty"`
}

type UpdateExtIdpConnDto ¶

type UpdateExtIdpConnDto struct {
	Id          string      `json:"id"`
	DisplayName string      `json:"displayName"`
	Fields      interface{} `json:"fields"`
	LoginOnly   bool        `json:"loginOnly,omitempty"`
	TenantId    string      `json:"tenantId,omitempty"`
}

type UpdateExtIdpDto ¶

type UpdateExtIdpDto struct {
	Name     string `json:"name"`
	Id       string `json:"id"`
	TenantId string `json:"tenantId,omitempty"`
}

type UpdateGroupReqDto ¶

type UpdateGroupReqDto struct {
	Description string `json:"description"`
	Code        string `json:"code"`
	Name        string `json:"name,omitempty"`
	NewCode     string `json:"newCode,omitempty"`
}

type UpdateLoginConfig ¶ added in v3.0.7

type UpdateLoginConfig struct {
	SsoPageCustomizationSettings ISsoPageCustomizationSettingsDto `json:"ssoPageCustomizationSettings"`
	PasswordTabConfig            TabConfigDto                     `json:"passwordTabConfig"`
	VerifyCodeTabConfig          TabConfigDto                     `json:"verifyCodeTabConfig"`
	Config                       LanguageCoinfigDto               `json:"config"`
}

type UpdateLoginConfigDto ¶ added in v3.0.7

type UpdateLoginConfigDto struct {
	Update UpdateLoginConfig `json:"update"`
}

type UpdateNamespaceDto ¶

type UpdateNamespaceDto struct {
	Code        string `json:"code"`
	Description string `json:"description,omitempty"`
	Name        string `json:"name,omitempty"`
	NewCode     string `json:"newCode,omitempty"`
}

type UpdateNamespaceRespDto ¶

type UpdateNamespaceRespDto struct {
	StatusCode int                `json:"statusCode"`
	Message    string             `json:"message"`
	ApiCode    int                `json:"apiCode,omitempty"`
	RequestId  string             `json:"requestId,omitempty"`
	Data       UpdateNamespaceDto `json:"data"`
}

type UpdateOrganizationReqDto ¶

type UpdateOrganizationReqDto struct {
	OrganizationCode    string                  `json:"organizationCode"`
	Description         string                  `json:"description,omitempty"`
	OpenDepartmentId    string                  `json:"openDepartmentId,omitempty"`
	LeaderUserIds       []string                `json:"leaderUserIds,omitempty"`
	I18n                OrganizationNameI18nDto `json:"i18n,omitempty"`
	TenantId            string                  `json:"tenantId,omitempty"`
	OrganizationNewCode string                  `json:"organizationNewCode,omitempty"`
	OrganizationName    string                  `json:"organizationName,omitempty"`
}

type UpdatePasswordDto ¶

type UpdatePasswordDto struct {
	NewPassword         string `json:"newPassword"`
	OldPassword         string `json:"oldPassword,omitempty"`
	PasswordEncryptType string `json:"passwordEncryptType,omitempty"`
}

type UpdatePermissionNamespaceDto ¶ added in v3.0.4

type UpdatePermissionNamespaceDto struct {
	Code        string `json:"code"`
	Name        string `json:"name,omitempty"`
	NewCode     string `json:"newCode,omitempty"`
	Description string `json:"description,omitempty"`
}

type UpdatePermissionNamespaceRespDto ¶ added in v3.0.4

type UpdatePermissionNamespaceRespDto struct {
	Code        string `json:"code"`
	Name        string `json:"name"`
	Description string `json:"description,omitempty"`
}

type UpdatePermissionNamespaceResponseDto ¶ added in v3.0.4

type UpdatePermissionNamespaceResponseDto struct {
	StatusCode int                              `json:"statusCode"`
	Message    string                           `json:"message"`
	ApiCode    int                              `json:"apiCode,omitempty"`
	RequestId  string                           `json:"requestId,omitempty"`
	Data       UpdatePermissionNamespaceRespDto `json:"data"`
}

type UpdatePhoneByPhonePassCodeDto ¶

type UpdatePhoneByPhonePassCodeDto struct {
	NewPhoneNumber      string `json:"newPhoneNumber"`
	NewPhonePassCode    string `json:"newPhonePassCode"`
	NewPhoneCountryCode string `json:"newPhoneCountryCode,omitempty"`
	OldPhoneNumber      string `json:"oldPhoneNumber,omitempty"`
	OldPhonePassCode    string `json:"oldPhonePassCode,omitempty"`
	OldPhoneCountryCode string `json:"oldPhoneCountryCode,omitempty"`
}

type UpdatePhoneDto ¶

type UpdatePhoneDto struct {
	UpdatePhoneToken string `json:"updatePhoneToken"`
}

type UpdatePipelineFunctionDto ¶

type UpdatePipelineFunctionDto struct {
	FuncId             string `json:"funcId"`
	FuncName           string `json:"funcName,omitempty"`
	FuncDescription    string `json:"funcDescription,omitempty"`
	SourceCode         string `json:"sourceCode,omitempty"`
	IsAsynchronous     bool   `json:"isAsynchronous,omitempty"`
	Timeout            int    `json:"timeout,omitempty"`
	TerminateOnTimeout bool   `json:"terminateOnTimeout,omitempty"`
	Enabled            bool   `json:"enabled,omitempty"`
}

type UpdatePipelineOrderDto ¶

type UpdatePipelineOrderDto struct {
	Order []string `json:"order"`
	Scene string   `json:"scene"`
}

type UpdateResourceDto ¶

type UpdateResourceDto struct {
	Code          string           `json:"code"`
	Description   string           `json:"description,omitempty"`
	Name          string           `json:"name,omitempty"`
	Actions       []ResourceAction `json:"actions,omitempty"`
	ApiIdentifier string           `json:"apiIdentifier,omitempty"`
	Namespace     string           `json:"namespace,omitempty"`
	Type          string           `json:"type,omitempty"`
}

type UpdateRoleDto ¶

type UpdateRoleDto struct {
	Name        string `json:"name"`
	NewCode     string `json:"newCode"`
	Code        string `json:"code"`
	Namespace   string `json:"namespace,omitempty"`
	Description string `json:"description,omitempty"`
	Status      string `json:"status,omitempty"`
	DisableTime string `json:"disableTime,omitempty"`
}

type UpdateSecuritySettingsDto ¶

type UpdateSecuritySettingsDto struct {
	AllowedOrigins                     []string                          `json:"allowedOrigins,omitempty"`
	AuthingTokenExpiresIn              int                               `json:"authingTokenExpiresIn,omitempty"`
	VerifyCodeLength                   int                               `json:"verifyCodeLength,omitempty"`
	VerifyCodeMaxAttempts              int                               `json:"verifyCodeMaxAttempts,omitempty"`
	ChangeEmailStrategy                ChangeEmailStrategyDto            `json:"changeEmailStrategy,omitempty"`
	ChangePhoneStrategy                ChangePhoneStrategyDto            `json:"changePhoneStrategy,omitempty"`
	CookieSettings                     CookieSettingsDto                 `json:"cookieSettings,omitempty"`
	RegisterDisabled                   bool                              `json:"registerDisabled,omitempty"`
	RegisterAnomalyDetection           RegisterAnomalyDetectionConfigDto `json:"registerAnomalyDetection,omitempty"`
	CompletePasswordAfterPassCodeLogin bool                              `json:"completePasswordAfterPassCodeLogin,omitempty"`
	LoginAnomalyDetection              LoginAnomalyDetectionConfigDto    `json:"loginAnomalyDetection,omitempty"`
	LoginRequireEmailVerified          bool                              `json:"loginRequireEmailVerified,omitempty"`
	SelfUnlockAccount                  SelfUnlockAccountConfigDto        `json:"selfUnlockAccount,omitempty"`
	EnableLoginAccountSwitch           bool                              `json:"enableLoginAccountSwitch,omitempty"`
	QrcodeLoginStrategy                QrcodeLoginStrategyDto            `json:"qrcodeLoginStrategy,omitempty"`
}

type UpdateSyncTaskDto ¶

type UpdateSyncTaskDto struct {
	SyncTaskId        int                       `json:"syncTaskId"`
	SyncTaskName      string                    `json:"syncTaskName,omitempty"`
	SyncTaskType      string                    `json:"syncTaskType,omitempty"`
	ClientConfig      SyncTaskClientConfig      `json:"clientConfig,omitempty"`
	SyncTaskFlow      string                    `json:"syncTaskFlow,omitempty"`
	SyncTaskTrigger   string                    `json:"syncTaskTrigger,omitempty"`
	OrganizationCode  string                    `json:"organizationCode,omitempty"`
	ProvisioningScope SyncTaskProvisioningScope `json:"provisioningScope,omitempty"`
	FieldMapping      []SyncTaskFieldMapping    `json:"fieldMapping,omitempty"`
	TimedScheduler    SyncTaskTimedScheduler    `json:"timedScheduler,omitempty"`
}

type UpdateTenantDto ¶

type UpdateTenantDto struct {
	SsoPageCustomizationSettings string   `json:"ssoPageCustomizationSettings"`
	ExtendsFields                string   `json:"extendsFields"`
	RegisterTabs                 string   `json:"registerTabs"`
	LoginTabs                    string   `json:"loginTabs"`
	PasswordTabConfig            string   `json:"passwordTabConfig"`
	DefaultRegisterTab           string   `json:"defaultRegisterTab"`
	DefaultLoginTab              string   `json:"defaultLoginTab"`
	Css                          string   `json:"css"`
	AppIds                       []string `json:"appIds"`
	Name                         string   `json:"name"`
	TenantId                     string   `json:"tenantId"`
}

type UpdateTenantUserDto ¶

type UpdateTenantUserDto struct {
	Updates    interface{} `json:"updates"`
	TenantId   string      `json:"tenantId"`
	LinkUserId string      `json:"linkUserId,omitempty"`
	MemberId   string      `json:"memberId,omitempty"`
}

type UpdateUserBatchOptionsDto ¶

type UpdateUserBatchOptionsDto struct {
	ResetPasswordOnNextLogin        bool                             `json:"resetPasswordOnNextLogin,omitempty"`
	PasswordEncryptType             string                           `json:"passwordEncryptType,omitempty"`
	AutoGeneratePassword            bool                             `json:"autoGeneratePassword,omitempty"`
	SendPasswordResetedNotification SendResetPasswordNotificationDto `json:"sendPasswordResetedNotification,omitempty"`
}

type UpdateUserBatchReqDto ¶

type UpdateUserBatchReqDto struct {
	List    []UpdateUserInfoDto       `json:"list"`
	Options UpdateUserBatchOptionsDto `json:"options,omitempty"`
}

type UpdateUserInfoDto ¶

type UpdateUserInfoDto struct {
	UserId            string      `json:"userId"`
	PhoneCountryCode  string      `json:"phoneCountryCode,omitempty"`
	Name              string      `json:"name,omitempty"`
	Nickname          string      `json:"nickname,omitempty"`
	Photo             string      `json:"photo,omitempty"`
	ExternalId        string      `json:"externalId,omitempty"`
	Status            string      `json:"status,omitempty"`
	EmailVerified     bool        `json:"emailVerified,omitempty"`
	PhoneVerified     bool        `json:"phoneVerified,omitempty"`
	Birthdate         string      `json:"birthdate,omitempty"`
	Country           string      `json:"country,omitempty"`
	Province          string      `json:"province,omitempty"`
	City              string      `json:"city,omitempty"`
	Address           string      `json:"address,omitempty"`
	StreetAddress     string      `json:"streetAddress,omitempty"`
	PostalCode        string      `json:"postalCode,omitempty"`
	Gender            string      `json:"gender,omitempty"`
	Username          string      `json:"username,omitempty"`
	Email             string      `json:"email,omitempty"`
	Phone             string      `json:"phone,omitempty"`
	Password          string      `json:"password,omitempty"`
	Company           string      `json:"company,omitempty"`
	Browser           string      `json:"browser,omitempty"`
	Device            string      `json:"device,omitempty"`
	GivenName         string      `json:"givenName,omitempty"`
	FamilyName        string      `json:"familyName,omitempty"`
	MiddleName        string      `json:"middleName,omitempty"`
	Profile           string      `json:"profile,omitempty"`
	PreferredUsername string      `json:"preferredUsername,omitempty"`
	Website           string      `json:"website,omitempty"`
	Zoneinfo          string      `json:"zoneinfo,omitempty"`
	Locale            string      `json:"locale,omitempty"`
	Formatted         string      `json:"formatted,omitempty"`
	Region            string      `json:"region,omitempty"`
	CustomData        interface{} `json:"customData,omitempty"`
}

type UpdateUserOptionsDto ¶

type UpdateUserOptionsDto struct {
	UserIdType                      string                           `json:"userIdType,omitempty"`
	ResetPasswordOnNextLogin        bool                             `json:"resetPasswordOnNextLogin,omitempty"`
	PasswordEncryptType             string                           `json:"passwordEncryptType,omitempty"`
	AutoGeneratePassword            bool                             `json:"autoGeneratePassword,omitempty"`
	SendPasswordResetedNotification SendResetPasswordNotificationDto `json:"sendPasswordResetedNotification,omitempty"`
}

type UpdateUserPoolTenantLoginConfigDto ¶ added in v3.0.7

type UpdateUserPoolTenantLoginConfigDto struct {
	Update UpdateLoginConfig `json:"update"`
}

type UpdateUserProfileDto ¶

type UpdateUserProfileDto struct {
	Name          string      `json:"name,omitempty"`
	Nickname      string      `json:"nickname,omitempty"`
	Photo         string      `json:"photo,omitempty"`
	ExternalId    string      `json:"externalId,omitempty"`
	Birthdate     string      `json:"birthdate,omitempty"`
	Country       string      `json:"country,omitempty"`
	Province      string      `json:"province,omitempty"`
	City          string      `json:"city,omitempty"`
	Address       string      `json:"address,omitempty"`
	StreetAddress string      `json:"streetAddress,omitempty"`
	PostalCode    string      `json:"postalCode,omitempty"`
	Gender        string      `json:"gender,omitempty"`
	Username      string      `json:"username,omitempty"`
	Company       string      `json:"company,omitempty"`
	CustomData    interface{} `json:"customData,omitempty"`
}

type UpdateUserReqDto ¶

type UpdateUserReqDto struct {
	UserId            string               `json:"userId"`
	PhoneCountryCode  string               `json:"phoneCountryCode,omitempty"`
	Name              string               `json:"name,omitempty"`
	Nickname          string               `json:"nickname,omitempty"`
	Photo             string               `json:"photo,omitempty"`
	ExternalId        string               `json:"externalId,omitempty"`
	Status            string               `json:"status,omitempty"`
	EmailVerified     bool                 `json:"emailVerified,omitempty"`
	PhoneVerified     bool                 `json:"phoneVerified,omitempty"`
	Birthdate         string               `json:"birthdate,omitempty"`
	Country           string               `json:"country,omitempty"`
	Province          string               `json:"province,omitempty"`
	City              string               `json:"city,omitempty"`
	Address           string               `json:"address,omitempty"`
	StreetAddress     string               `json:"streetAddress,omitempty"`
	PostalCode        string               `json:"postalCode,omitempty"`
	Gender            string               `json:"gender,omitempty"`
	Username          string               `json:"username,omitempty"`
	Email             string               `json:"email,omitempty"`
	Phone             string               `json:"phone,omitempty"`
	Password          string               `json:"password,omitempty"`
	Company           string               `json:"company,omitempty"`
	Browser           string               `json:"browser,omitempty"`
	Device            string               `json:"device,omitempty"`
	GivenName         string               `json:"givenName,omitempty"`
	FamilyName        string               `json:"familyName,omitempty"`
	MiddleName        string               `json:"middleName,omitempty"`
	Profile           string               `json:"profile,omitempty"`
	PreferredUsername string               `json:"preferredUsername,omitempty"`
	Website           string               `json:"website,omitempty"`
	Zoneinfo          string               `json:"zoneinfo,omitempty"`
	Locale            string               `json:"locale,omitempty"`
	Formatted         string               `json:"formatted,omitempty"`
	Region            string               `json:"region,omitempty"`
	CustomData        interface{}          `json:"customData,omitempty"`
	Options           UpdateUserOptionsDto `json:"options,omitempty"`
}

type UpdateWebhookDto ¶

type UpdateWebhookDto struct {
	WebhookId   string   `json:"webhookId"`
	Name        string   `json:"name,omitempty"`
	Url         string   `json:"url,omitempty"`
	Events      []string `json:"events,omitempty"`
	ContentType string   `json:"contentType,omitempty"`
	Enabled     bool     `json:"enabled,omitempty"`
	Secret      string   `json:"secret,omitempty"`
}

type UpdateWebhooksRespDto ¶

type UpdateWebhooksRespDto struct {
	StatusCode int        `json:"statusCode"`
	Message    string     `json:"message"`
	ApiCode    int        `json:"apiCode,omitempty"`
	RequestId  string     `json:"requestId,omitempty"`
	Data       WebhookDto `json:"data"`
}

type UploadDataDto ¶

type UploadDataDto struct {
	Key string `json:"key"`
	Url string `json:"url"`
}

type UploadDto ¶

type UploadDto struct {
	Folder    string `json:"folder,omitempty"`
	IsPrivate bool   `json:"isPrivate,omitempty"`
}

type UploadRespDto ¶

type UploadRespDto struct {
	StatusCode int           `json:"statusCode"`
	Message    string        `json:"message"`
	ApiCode    int           `json:"apiCode,omitempty"`
	RequestId  string        `json:"requestId,omitempty"`
	Data       UploadDataDto `json:"data"`
}

type User ¶ added in v3.0.5

type User struct {
}

type UserActionLogDto ¶

type UserActionLogDto struct {
	UserId          string          `json:"userId"`
	UserAvatar      string          `json:"userAvatar"`
	UserDisplayName string          `json:"userDisplayName"`
	UserLoginsCount int             `json:"userLoginsCount"`
	AppId           string          `json:"appId"`
	AppName         string          `json:"appName"`
	ClientIp        string          `json:"clientIp,omitempty"`
	EventType       string          `json:"eventType"`
	EventDetail     string          `json:"eventDetail,omitempty"`
	Success         bool            `json:"success"`
	AppLoginUrl     string          `json:"appLoginUrl"`
	UserAgent       string          `json:"userAgent"`
	ParsedUserAgent ParsedUserAgent `json:"parsedUserAgent"`
	Geoip           GeoIp           `json:"geoip"`
	Timestamp       string          `json:"timestamp"`
	RequestId       string          `json:"requestId"`
}

type UserActionLogRespData ¶

type UserActionLogRespData struct {
	TotalCount int                `json:"totalCount"`
	List       []UserActionLogDto `json:"list"`
}

type UserActionLogRespDto ¶

type UserActionLogRespDto struct {
	StatusCode int                   `json:"statusCode"`
	Message    string                `json:"message"`
	ApiCode    int                   `json:"apiCode,omitempty"`
	RequestId  string                `json:"requestId,omitempty"`
	Data       UserActionLogRespData `json:"data"`
}

type UserAuthResourceListDto ¶ added in v3.0.4

type UserAuthResourceListDto struct {
	UserId        string         `json:"userId"`
	NamespaceCode string         `json:"namespaceCode"`
	ResourceList  []OpenResource `json:"resourceList,omitempty"`
}

type UserDepartmentPaginatedRespDto ¶

type UserDepartmentPaginatedRespDto struct {
	StatusCode int                     `json:"statusCode"`
	Message    string                  `json:"message"`
	ApiCode    int                     `json:"apiCode,omitempty"`
	RequestId  string                  `json:"requestId,omitempty"`
	Data       UserDepartmentPagingDto `json:"data"`
}

type UserDepartmentPagingDto ¶

type UserDepartmentPagingDto struct {
	TotalCount int                     `json:"totalCount"`
	List       []UserDepartmentRespDto `json:"list"`
}

type UserDepartmentRespDto ¶

type UserDepartmentRespDto struct {
	OrganizationCode   string            `json:"organizationCode"`
	DepartmentId       string            `json:"departmentId"`
	CreatedAt          string            `json:"createdAt"`
	Name               string            `json:"name"`
	Description        string            `json:"description"`
	OpenDepartmentId   string            `json:"openDepartmentId,omitempty"`
	IsLeader           bool              `json:"isLeader"`
	Code               string            `json:"code"`
	IsMainDepartment   bool              `json:"isMainDepartment"`
	JoinedAt           string            `json:"joinedAt"`
	IsVirtualNode      bool              `json:"isVirtualNode"`
	I18n               DepartmentI18nDto `json:"i18n,omitempty"`
	CustomData         interface{}       `json:"customData,omitempty"`
	DepartmentIdPath   []string          `json:"departmentIdPath,omitempty"`
	DepartmentCodePath []string          `json:"departmentCodePath,omitempty"`
	DepartmentNamePath []string          `json:"departmentNamePath,omitempty"`
}

type UserDto ¶

type UserDto struct {
	UserId                   string        `json:"userId"`
	CreatedAt                string        `json:"createdAt"`
	UpdatedAt                string        `json:"updatedAt"`
	Status                   string        `json:"status"`
	WorkStatus               string        `json:"workStatus"`
	ExternalId               string        `json:"externalId,omitempty"`
	Email                    string        `json:"email,omitempty"`
	Phone                    string        `json:"phone,omitempty"`
	PhoneCountryCode         string        `json:"phoneCountryCode,omitempty"`
	Username                 string        `json:"username,omitempty"`
	Name                     string        `json:"name,omitempty"`
	Nickname                 string        `json:"nickname,omitempty"`
	Photo                    string        `json:"photo,omitempty"`
	LoginsCount              int           `json:"loginsCount,omitempty"`
	LastLogin                string        `json:"lastLogin,omitempty"`
	LastIp                   string        `json:"lastIp,omitempty"`
	Gender                   string        `json:"gender"`
	EmailVerified            bool          `json:"emailVerified"`
	PhoneVerified            bool          `json:"phoneVerified"`
	PasswordLastSetAt        string        `json:"passwordLastSetAt,omitempty"`
	Birthdate                string        `json:"birthdate,omitempty"`
	Country                  string        `json:"country,omitempty"`
	Province                 string        `json:"province,omitempty"`
	City                     string        `json:"city,omitempty"`
	Address                  string        `json:"address,omitempty"`
	StreetAddress            string        `json:"streetAddress,omitempty"`
	PostalCode               string        `json:"postalCode,omitempty"`
	Company                  string        `json:"company,omitempty"`
	Browser                  string        `json:"browser,omitempty"`
	Device                   string        `json:"device,omitempty"`
	GivenName                string        `json:"givenName,omitempty"`
	FamilyName               string        `json:"familyName,omitempty"`
	MiddleName               string        `json:"middleName,omitempty"`
	Profile                  string        `json:"profile,omitempty"`
	PreferredUsername        string        `json:"preferredUsername,omitempty"`
	Website                  string        `json:"website,omitempty"`
	Zoneinfo                 string        `json:"zoneinfo,omitempty"`
	Locale                   string        `json:"locale,omitempty"`
	Formatted                string        `json:"formatted,omitempty"`
	Region                   string        `json:"region,omitempty"`
	UserSourceType           string        `json:"userSourceType"`
	UserSourceId             string        `json:"userSourceId,omitempty"`
	LastLoginApp             string        `json:"lastLoginApp,omitempty"`
	MainDepartmentId         string        `json:"mainDepartmentId,omitempty"`
	LastMfaTime              string        `json:"lastMfaTime,omitempty"`
	PasswordSecurityLevel    int           `json:"passwordSecurityLevel,omitempty"`
	ResetPasswordOnNextLogin bool          `json:"resetPasswordOnNextLogin,omitempty"`
	DepartmentIds            []string      `json:"departmentIds,omitempty"`
	Identities               []IdentityDto `json:"identities,omitempty"`
	CustomData               interface{}   `json:"customData,omitempty"`
	StatusChangedAt          string        `json:"statusChangedAt,omitempty"`
	TenantId                 string        `json:"tenantId,omitempty"`
}

type UserIdListRespDto ¶

type UserIdListRespDto struct {
	StatusCode int      `json:"statusCode"`
	Message    string   `json:"message"`
	ApiCode    int      `json:"apiCode,omitempty"`
	RequestId  string   `json:"requestId,omitempty"`
	Data       []string `json:"data"`
}

type UserInfoDto ¶ added in v3.0.4

type UserInfoDto struct {
	Username         string `json:"username,omitempty"`
	Email            string `json:"email,omitempty"`
	Phone            string `json:"phone,omitempty"`
	PhoneCountryCode string `json:"phoneCountryCode,omitempty"`
	Name             string `json:"name,omitempty"`
	Gender           string `json:"gender,omitempty"`
	Country          string `json:"country,omitempty"`
	Province         string `json:"province,omitempty"`
	City             string `json:"city,omitempty"`
}

type UserListRespDto ¶

type UserListRespDto struct {
	StatusCode int       `json:"statusCode"`
	Message    string    `json:"message"`
	ApiCode    int       `json:"apiCode,omitempty"`
	RequestId  string    `json:"requestId,omitempty"`
	Data       []UserDto `json:"data"`
}

type UserLoggedInAppsDto ¶

type UserLoggedInAppsDto struct {
	AppId       string `json:"appId"`
	AppName     string `json:"appName"`
	AppLoginUrl string `json:"appLoginUrl"`
}

type UserLoggedInAppsListRespDto ¶

type UserLoggedInAppsListRespDto struct {
	StatusCode int                   `json:"statusCode"`
	Message    string                `json:"message"`
	ApiCode    int                   `json:"apiCode,omitempty"`
	RequestId  string                `json:"requestId,omitempty"`
	Data       []UserLoggedInAppsDto `json:"data"`
}

type UserLoggedInIdentitiesDto ¶

type UserLoggedInIdentitiesDto struct {
	IdentityId string `json:"identityId"`
	IdpName    string `json:"idpName"`
	IdpNameEn  string `json:"idpNameEn"`
}

type UserLoggedInIdentitiesRespDto ¶

type UserLoggedInIdentitiesRespDto struct {
	StatusCode int                         `json:"statusCode"`
	Message    string                      `json:"message"`
	ApiCode    int                         `json:"apiCode,omitempty"`
	RequestId  string                      `json:"requestId,omitempty"`
	Data       []UserLoggedInIdentitiesDto `json:"data"`
}

type UserLoginHistoryDto ¶

type UserLoginHistoryDto struct {
	AppId       string `json:"appId"`
	AppName     string `json:"appName"`
	AppLoginUrl string `json:"appLoginUrl"`
	ClientIp    string `json:"clientIp"`
	UserAgent   string `json:"userAgent,omitempty"`
	Time        string `json:"time"`
}

type UserLoginHistoryPaginatedRespDto ¶

type UserLoginHistoryPaginatedRespDto struct {
	StatusCode int                       `json:"statusCode"`
	Message    string                    `json:"message"`
	ApiCode    int                       `json:"apiCode,omitempty"`
	RequestId  string                    `json:"requestId,omitempty"`
	Data       UserLoginHistoryPagingDto `json:"data"`
}

type UserLoginHistoryPagingDto ¶

type UserLoginHistoryPagingDto struct {
	TotalCount int                   `json:"totalCount"`
	List       []UserLoginHistoryDto `json:"list"`
}

type UserMfaRespDto ¶

type UserMfaRespDto struct {
	TotpStatus     string `json:"totpStatus"`
	FaceMfaStatus  string `json:"faceMfaStatus"`
	SmsMfaStatus   string `json:"smsMfaStatus"`
	EmailMfaStatus string `json:"emailMfaStatus"`
}

type UserMfaSingleRespDto ¶

type UserMfaSingleRespDto struct {
	StatusCode int            `json:"statusCode"`
	Message    string         `json:"message"`
	ApiCode    int            `json:"apiCode,omitempty"`
	RequestId  string         `json:"requestId,omitempty"`
	Data       UserMfaRespDto `json:"data"`
}

type UserPaginatedRespDto ¶

type UserPaginatedRespDto struct {
	StatusCode int           `json:"statusCode"`
	Message    string        `json:"message"`
	ApiCode    int           `json:"apiCode,omitempty"`
	RequestId  string        `json:"requestId,omitempty"`
	Data       UserPagingDto `json:"data"`
}

type UserPagingDto ¶

type UserPagingDto struct {
	TotalCount int       `json:"totalCount"`
	List       []UserDto `json:"list"`
}

type UserPermissionListDto ¶ added in v3.0.4

type UserPermissionListDto struct {
	UserId        string         `json:"userId"`
	NamespaceCode string         `json:"namespaceCode"`
	ResourceList  []OpenResource `json:"resourceList,omitempty"`
}

type UserPoolTenantConfigDto ¶ added in v3.0.7

type UserPoolTenantConfigDto struct {
	UserPoolId                   string                           `json:"userPoolId"`
	IsUserPoolAsTenant           bool                             `json:"isUserPoolAsTenant"`
	EnableSwitchType             string                           `json:"enableSwitchType"`
	Css                          string                           `json:"css"`
	CssEnabled                   bool                             `json:"cssEnabled"`
	CustomLoading                string                           `json:"customLoading"`
	EnableGuardVersionSwitch     bool                             `json:"enableGuardVersionSwitch"`
	GuardVersion                 string                           `json:"guardVersion"`
	LoadingBackground            string                           `json:"loadingBackground"`
	SsoPageCustomizationSettings ISsoPageCustomizationSettingsDto `json:"ssoPageCustomizationSettings"`
	EnableMultipleTenantPortal   bool                             `json:"enableMultipleTenantPortal"`
	LoginConfig                  ApplicationLoginConfigDto        `json:"loginConfig"`
}

type UserPoolTenantConfigDtoRespDto ¶ added in v3.0.7

type UserPoolTenantConfigDtoRespDto struct {
	StatusCode int                     `json:"statusCode"`
	Message    string                  `json:"message"`
	ApiCode    int                     `json:"apiCode,omitempty"`
	Data       UserPoolTenantConfigDto `json:"data"`
}

type UserSingleRespDto ¶

type UserSingleRespDto struct {
	StatusCode int     `json:"statusCode"`
	Message    string  `json:"message"`
	ApiCode    int     `json:"apiCode,omitempty"`
	RequestId  string  `json:"requestId,omitempty"`
	Data       UserDto `json:"data"`
}

type UserTenantListDto ¶

type UserTenantListDto struct {
	TenantId   string `json:"tenantId"`
	TenantName string `json:"tenantName"`
	JoinAt     string `json:"joinAt"`
}

type UsersListPagingDto ¶

type UsersListPagingDto struct {
	TotalCount int       `json:"totalCount"`
	List       []UserDto `json:"list"`
}

type ValidatePEMKeyDto ¶

type ValidatePEMKeyDto struct {
}

type VerifyDeleteAccountRequestDataDto ¶

type VerifyDeleteAccountRequestDataDto struct {
	DeleteAccountToken string `json:"deleteAccountToken"`
	TokenExpiresIn     int    `json:"tokenExpiresIn"`
}

type VerifyDeleteAccountRequestDto ¶

type VerifyDeleteAccountRequestDto struct {
	VerifyMethod         string                          `json:"verifyMethod"`
	PhonePassCodePayload DeleteAccountByPhonePassCodeDto `json:"phonePassCodePayload,omitempty"`
	EmailPassCodePayload DeleteAccountByEmailPassCodeDto `json:"emailPassCodePayload,omitempty"`
	PasswordPayload      DeleteAccountByPasswordDto      `json:"passwordPayload,omitempty"`
}

type VerifyDeleteAccountRequestRespDto ¶

type VerifyDeleteAccountRequestRespDto struct {
	StatusCode int                               `json:"statusCode"`
	Message    string                            `json:"message"`
	ApiCode    int                               `json:"apiCode,omitempty"`
	RequestId  string                            `json:"requestId,omitempty"`
	Data       VerifyDeleteAccountRequestDataDto `json:"data"`
}

type VerifyResetPasswordRequestDto ¶

type VerifyResetPasswordRequestDto struct {
	VerifyMethod         string                          `json:"verifyMethod"`
	PhonePassCodePayload ResetPasswordByPhonePassCodeDto `json:"phonePassCodePayload,omitempty"`
	EmailPassCodePayload ResetPasswordByEmailPassCodeDto `json:"emailPassCodePayload,omitempty"`
}

type VerifyUpdateEmailRequestData ¶

type VerifyUpdateEmailRequestData struct {
	UpdateEmailToken string `json:"updateEmailToken"`
	TokenExpiresIn   int    `json:"tokenExpiresIn"`
}

type VerifyUpdateEmailRequestDto ¶

type VerifyUpdateEmailRequestDto struct {
	EmailPassCodePayload UpdateEmailByEmailPassCodeDto `json:"emailPassCodePayload"`
	VerifyMethod         string                        `json:"verifyMethod"`
}

type VerifyUpdateEmailRequestRespDto ¶

type VerifyUpdateEmailRequestRespDto struct {
	StatusCode int                          `json:"statusCode"`
	Message    string                       `json:"message"`
	ApiCode    int                          `json:"apiCode,omitempty"`
	RequestId  string                       `json:"requestId,omitempty"`
	Data       VerifyUpdateEmailRequestData `json:"data"`
}

type VerifyUpdatePhoneRequestData ¶

type VerifyUpdatePhoneRequestData struct {
	UpdatePhoneToken string `json:"updatePhoneToken"`
	TokenExpiresIn   int    `json:"tokenExpiresIn"`
}

type VerifyUpdatePhoneRequestDto ¶

type VerifyUpdatePhoneRequestDto struct {
	PhonePassCodePayload UpdatePhoneByPhonePassCodeDto `json:"phonePassCodePayload"`
	VerifyMethod         string                        `json:"verifyMethod"`
}

type VerifyUpdatePhoneRequestRespDto ¶

type VerifyUpdatePhoneRequestRespDto struct {
	StatusCode int                          `json:"statusCode"`
	Message    string                       `json:"message"`
	ApiCode    int                          `json:"apiCode,omitempty"`
	RequestId  string                       `json:"requestId,omitempty"`
	Data       VerifyUpdatePhoneRequestData `json:"data"`
}

type WebhookCategoryDto ¶

type WebhookCategoryDto struct {
	Name   string `json:"name"`
	NameEn string `json:"nameEn"`
	Value  string `json:"value"`
}

type WebhookDto ¶

type WebhookDto struct {
	WebhookId   string   `json:"webhookId"`
	CreatedAt   string   `json:"createdAt"`
	UpdatedAt   string   `json:"updatedAt"`
	Name        string   `json:"name"`
	Url         string   `json:"url"`
	ContentType string   `json:"contentType"`
	Enabled     bool     `json:"enabled"`
	Events      []string `json:"events,omitempty"`
	Secret      string   `json:"secret,omitempty"`
}

type WebhookEventDto ¶

type WebhookEventDto struct {
	Name     string `json:"name"`
	NameEn   string `json:"nameEn"`
	Value    string `json:"value"`
	Category string `json:"category"`
}

type WebhookEventListData ¶

type WebhookEventListData struct {
	Categories []WebhookCategoryDto `json:"categories"`
	Events     []WebhookEventDto    `json:"events"`
}

type WebhookEventListRespDto ¶

type WebhookEventListRespDto struct {
	StatusCode int                  `json:"statusCode"`
	Message    string               `json:"message"`
	ApiCode    int                  `json:"apiCode,omitempty"`
	RequestId  string               `json:"requestId,omitempty"`
	Data       WebhookEventListData `json:"data"`
}

type WebhookLogDto ¶

type WebhookLogDto struct {
	WebhookId          string      `json:"webhookId"`
	EventName          string      `json:"eventName"`
	RequestBody        interface{} `json:"requestBody"`
	RequestHeaders     interface{} `json:"requestHeaders"`
	ResponseStatusCode int         `json:"responseStatusCode"`
	ResponseHeaders    interface{} `json:"responseHeaders"`
	ResponseBody       interface{} `json:"responseBody"`
	Timestamp          string      `json:"timestamp"`
	Success            bool        `json:"success"`
	ErrorMessage       string      `json:"errorMessage,omitempty"`
}

Source Files ¶

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL