api

package
v0.0.0-...-c115a23 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AccessStore_ListObjectAccess_FullMethodName    = "/api.AccessStore/ListObjectAccess"
	AccessStore_ToggleObjectAccess_FullMethodName  = "/api.AccessStore/ToggleObjectAccess"
	AccessStore_ListDefaultAccess_FullMethodName   = "/api.AccessStore/ListDefaultAccess"
	AccessStore_ToggleDefaultAccess_FullMethodName = "/api.AccessStore/ToggleDefaultAccess"
)
View Source
const (
	AC_ListAccess_FullMethodName   = "/api.AC/ListAccess"
	AC_GrantAccess_FullMethodName  = "/api.AC/GrantAccess"
	AC_RevokeAccess_FullMethodName = "/api.AC/RevokeAccess"
	AC_UpdateAccess_FullMethodName = "/api.AC/UpdateAccess"
)
View Source
const (
	SA_Login_FullMethodName          = "/api.SA/Login"
	SA_Logout_FullMethodName         = "/api.SA/Logout"
	SA_ReadSession_FullMethodName    = "/api.SA/ReadSession"
	SA_SearchSessions_FullMethodName = "/api.SA/SearchSessions"
	SA_Current_FullMethodName        = "/api.SA/Current"
	SA_CreateSession_FullMethodName  = "/api.SA/CreateSession"
)
View Source
const (
	Auth_UserInfo_FullMethodName = "/api.Auth/UserInfo"
	Auth_Signup_FullMethodName   = "/api.Auth/Signup"
)
View Source
const (
	CA_CertificateUsage_FullMethodName   = "/api.CA/CertificateUsage"
	CA_UpdateCertificate_FullMethodName  = "/api.CA/UpdateCertificate"
	CA_SearchCertificates_FullMethodName = "/api.CA/SearchCertificates"
	CA_GrantCertificate_FullMethodName   = "/api.CA/GrantCertificate"
	CA_RevokeCertificate_FullMethodName  = "/api.CA/RevokeCertificate"
)
View Source
const (
	Classes_ReadClass_FullMethodName     = "/api.Classes/ReadClass"
	Classes_UpdateClass_FullMethodName   = "/api.Classes/UpdateClass"
	Classes_SearchClasses_FullMethodName = "/api.Classes/SearchClasses"
)
View Source
const (
	Customers_ServerInfo_FullMethodName     = "/api.Customers/ServerInfo"
	Customers_GetCustomer_FullMethodName    = "/api.Customers/GetCustomer"
	Customers_UpdateCustomer_FullMethodName = "/api.Customers/UpdateCustomer"
	Customers_LicenseUsage_FullMethodName   = "/api.Customers/LicenseUsage"
	Customers_LicenseUsers_FullMethodName   = "/api.Customers/LicenseUsers"
)
View Source
const (
	Devices_ReadDevice_FullMethodName        = "/api.Devices/ReadDevice"
	Devices_UpdateDevice_FullMethodName      = "/api.Devices/UpdateDevice"
	Devices_DeleteDevice_FullMethodName      = "/api.Devices/DeleteDevice"
	Devices_CreateDevice_FullMethodName      = "/api.Devices/CreateDevice"
	Devices_SearchDevice_FullMethodName      = "/api.Devices/SearchDevice"
	Devices_SearchDeviceAudit_FullMethodName = "/api.Devices/SearchDeviceAudit"
	Devices_ListRegistrations_FullMethodName = "/api.Devices/ListRegistrations"
)
View Source
const (
	Domains_ReadDomain_FullMethodName    = "/api.Domains/ReadDomain"
	Domains_UpdateDomain_FullMethodName  = "/api.Domains/UpdateDomain"
	Domains_DeleteDomain_FullMethodName  = "/api.Domains/DeleteDomain"
	Domains_CreateDomain_FullMethodName  = "/api.Domains/CreateDomain"
	Domains_SearchDomains_FullMethodName = "/api.Domains/SearchDomains"
)
View Source
const (
	LDAP_CreateLDAPCatalog_FullMethodName  = "/api.LDAP/CreateLDAPCatalog"
	LDAP_UpdateLDAPCatalog_FullMethodName  = "/api.LDAP/UpdateLDAPCatalog"
	LDAP_DeleteLDAPCatalog_FullMethodName  = "/api.LDAP/DeleteLDAPCatalog"
	LDAP_SearchLDAPCatalog_FullMethodName  = "/api.LDAP/SearchLDAPCatalog"
	LDAP_LocateLDAPCatalog_FullMethodName  = "/api.LDAP/LocateLDAPCatalog"
	LDAP_LDAPSearch_FullMethodName         = "/api.LDAP/LDAPSearch"
	LDAP_SearchLDAPTemplate_FullMethodName = "/api.LDAP/SearchLDAPTemplate"
	LDAP_LocateLDAPTemplate_FullMethodName = "/api.LDAP/LocateLDAPTemplate"
	LDAP_CreateLDAPTemplate_FullMethodName = "/api.LDAP/CreateLDAPTemplate"
	LDAP_UpdateLDAPTemplate_FullMethodName = "/api.LDAP/UpdateLDAPTemplate"
	LDAP_DeleteLDAPTemplate_FullMethodName = "/api.LDAP/DeleteLDAPTemplate"
	LDAP_ResyncLDAPCatalog_FullMethodName  = "/api.LDAP/ResyncLDAPCatalog"
	LDAP_SearchLDAProcess_FullMethodName   = "/api.LDAP/SearchLDAProcess"
	LDAP_LocateLDAProcess_FullMethodName   = "/api.LDAP/LocateLDAProcess"
)
View Source
const (
	OAuth2_Authorize_FullMethodName = "/api.OAuth2/Authorize"
	OAuth2_Token_FullMethodName     = "/api.OAuth2/Token"
)
View Source
const (
	OAuth2Federation_SearchOAuthService_FullMethodName = "/api.OAuth2Federation/SearchOAuthService"
	OAuth2Federation_CreateOAuthService_FullMethodName = "/api.OAuth2Federation/CreateOAuthService"
	OAuth2Federation_LocateOAuthService_FullMethodName = "/api.OAuth2Federation/LocateOAuthService"
	OAuth2Federation_UpdateOAuthService_FullMethodName = "/api.OAuth2Federation/UpdateOAuthService"
	OAuth2Federation_DeleteOAuthService_FullMethodName = "/api.OAuth2Federation/DeleteOAuthService"
)
View Source
const (
	Roles_ReadRole_FullMethodName                   = "/api.Roles/ReadRole"
	Roles_UpdateRole_FullMethodName                 = "/api.Roles/UpdateRole"
	Roles_DeleteRole_FullMethodName                 = "/api.Roles/DeleteRole"
	Roles_CreateRole_FullMethodName                 = "/api.Roles/CreateRole"
	Roles_SearchRoles_FullMethodName                = "/api.Roles/SearchRoles"
	Roles_SearchRecordAvailableRoles_FullMethodName = "/api.Roles/SearchRecordAvailableRoles"
	Roles_GrantRole_FullMethodName                  = "/api.Roles/GrantRole"
	Roles_RevokeRole_FullMethodName                 = "/api.Roles/RevokeRole"
	Roles_RoleMembers_FullMethodName                = "/api.Roles/RoleMembers"
	Roles_RoleMetadata_FullMethodName               = "/api.Roles/RoleMetadata"
)
View Source
const (
	TwoFactorAuthentication_GenerateUserTfaKey_FullMethodName               = "/api.TwoFactorAuthentication/GenerateUserTfaKey"
	TwoFactorAuthentication_GetUserTfaKey_FullMethodName                    = "/api.TwoFactorAuthentication/GetUserTfaKey"
	TwoFactorAuthentication_GenerateTfaKeysForNecessaryUsers_FullMethodName = "/api.TwoFactorAuthentication/GenerateTfaKeysForNecessaryUsers"
)
View Source
const (
	UserAccessTokens_GetUserAccessToken_FullMethodName    = "/api.UserAccessTokens/GetUserAccessToken"
	UserAccessTokens_AddUserAccessToken_FullMethodName    = "/api.UserAccessTokens/AddUserAccessToken"
	UserAccessTokens_ListUserAccessToken_FullMethodName   = "/api.UserAccessTokens/ListUserAccessToken"
	UserAccessTokens_UpdateUserAccessToken_FullMethodName = "/api.UserAccessTokens/UpdateUserAccessToken"
	UserAccessTokens_DeleteUserAccessToken_FullMethodName = "/api.UserAccessTokens/DeleteUserAccessToken"
)
View Source
const (
	UserSettings_GetUserSettings_FullMethodName = "/api.UserSettings/GetUserSettings"
	UserSettings_SetUserSettings_FullMethodName = "/api.UserSettings/SetUserSettings"
)
View Source
const (
	Users_ReadUser_FullMethodName    = "/api.Users/ReadUser"
	Users_UpdateUser_FullMethodName  = "/api.Users/UpdateUser"
	Users_DeleteUsers_FullMethodName = "/api.Users/DeleteUsers"
	Users_CreateUser_FullMethodName  = "/api.Users/CreateUser"
	Users_SearchUsers_FullMethodName = "/api.Users/SearchUsers"
	Users_LogoutUser_FullMethodName  = "/api.Users/LogoutUser"
)
View Source
const (
	CallManager_SearchCalls_FullMethodName = "/api.CallManager/SearchCalls"
)
View Source
const (
	Permissions_GetPermissions_FullMethodName = "/api.Permissions/GetPermissions"
)
View Source
const (
	Presence_SetStatus_FullMethodName = "/api.Presence/SetStatus"
)

Variables

View Source
var (
	AuthorizationType_name = map[int32]string{
		0: "CODE",
		1: "TOKEN",
	}
	AuthorizationType_value = map[string]int32{
		"CODE":  0,
		"TOKEN": 1,
	}
)

Enum value maps for AuthorizationType.

View Source
var (
	AuthorizationGrant_name = map[int32]string{
		0: "authorization_code",
		1: "implicit",
		2: "password",
		3: "client_credentials",
		4: "refresh_token",
	}
	AuthorizationGrant_value = map[string]int32{
		"authorization_code": 0,
		"implicit":           1,
		"password":           2,
		"client_credentials": 3,
		"refresh_token":      4,
	}
)

Enum value maps for AuthorizationGrant.

View Source
var (
	SystemObjects_name = map[int32]string{
		0:  "contacts",
		1:  "cc_list",
		2:  "cc_bucket",
		3:  "calendars",
		4:  "devices",
		5:  "cc_agent",
		6:  "cc_team",
		7:  "cc_resource",
		8:  "cc_resource_group",
		9:  "cc_queue",
		10: "roles",
		11: "users",
		12: "cognitive_profile",
	}
	SystemObjects_value = map[string]int32{
		"contacts":          0,
		"cc_list":           1,
		"cc_bucket":         2,
		"calendars":         3,
		"devices":           4,
		"cc_agent":          5,
		"cc_team":           6,
		"cc_resource":       7,
		"cc_resource_group": 8,
		"cc_queue":          9,
		"roles":             10,
		"users":             11,
		"cognitive_profile": 12,
	}
)

Enum value maps for SystemObjects.

View Source
var AC_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.AC",
	HandlerType: (*ACServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListAccess",
			Handler:    _AC_ListAccess_Handler,
		},
		{
			MethodName: "GrantAccess",
			Handler:    _AC_GrantAccess_Handler,
		},
		{
			MethodName: "RevokeAccess",
			Handler:    _AC_RevokeAccess_Handler,
		},
		{
			MethodName: "UpdateAccess",
			Handler:    _AC_UpdateAccess_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "access.proto",
}

AC_ServiceDesc is the grpc.ServiceDesc for AC service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var AccessStore_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.AccessStore",
	HandlerType: (*AccessStoreServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ListObjectAccess",
			Handler:    _AccessStore_ListObjectAccess_Handler,
		},
		{
			MethodName: "ToggleObjectAccess",
			Handler:    _AccessStore_ToggleObjectAccess_Handler,
		},
		{
			MethodName: "ListDefaultAccess",
			Handler:    _AccessStore_ListDefaultAccess_Handler,
		},
		{
			MethodName: "ToggleDefaultAccess",
			Handler:    _AccessStore_ToggleDefaultAccess_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "access.v1.proto",
}

AccessStore_ServiceDesc is the grpc.ServiceDesc for AccessStore service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Auth_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Auth",
	HandlerType: (*AuthServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UserInfo",
			Handler:    _Auth_UserInfo_Handler,
		},
		{
			MethodName: "Signup",
			Handler:    _Auth_Signup_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "authz.proto",
}

Auth_ServiceDesc is the grpc.ServiceDesc for Auth service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var CA_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.CA",
	HandlerType: (*CAServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CertificateUsage",
			Handler:    _CA_CertificateUsage_Handler,
		},
		{
			MethodName: "UpdateCertificate",
			Handler:    _CA_UpdateCertificate_Handler,
		},
		{
			MethodName: "SearchCertificates",
			Handler:    _CA_SearchCertificates_Handler,
		},
		{
			MethodName: "GrantCertificate",
			Handler:    _CA_GrantCertificate_Handler,
		},
		{
			MethodName: "RevokeCertificate",
			Handler:    _CA_RevokeCertificate_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "certs.proto",
}

CA_ServiceDesc is the grpc.ServiceDesc for CA service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var CallManager_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.CallManager",
	HandlerType: (*CallManagerServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SearchCalls",
			Handler:    _CallManager_SearchCalls_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "calls.proto",
}

CallManager_ServiceDesc is the grpc.ServiceDesc for CallManager service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Classes_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Classes",
	HandlerType: (*ClassesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ReadClass",
			Handler:    _Classes_ReadClass_Handler,
		},
		{
			MethodName: "UpdateClass",
			Handler:    _Classes_UpdateClass_Handler,
		},
		{
			MethodName: "SearchClasses",
			Handler:    _Classes_SearchClasses_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "class.proto",
}

Classes_ServiceDesc is the grpc.ServiceDesc for Classes service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Customers_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Customers",
	HandlerType: (*CustomersServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ServerInfo",
			Handler:    _Customers_ServerInfo_Handler,
		},
		{
			MethodName: "GetCustomer",
			Handler:    _Customers_GetCustomer_Handler,
		},
		{
			MethodName: "UpdateCustomer",
			Handler:    _Customers_UpdateCustomer_Handler,
		},
		{
			MethodName: "LicenseUsage",
			Handler:    _Customers_LicenseUsage_Handler,
		},
		{
			MethodName: "LicenseUsers",
			Handler:    _Customers_LicenseUsers_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "customers.proto",
}

Customers_ServiceDesc is the grpc.ServiceDesc for Customers service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Devices_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Devices",
	HandlerType: (*DevicesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ReadDevice",
			Handler:    _Devices_ReadDevice_Handler,
		},
		{
			MethodName: "UpdateDevice",
			Handler:    _Devices_UpdateDevice_Handler,
		},
		{
			MethodName: "DeleteDevice",
			Handler:    _Devices_DeleteDevice_Handler,
		},
		{
			MethodName: "CreateDevice",
			Handler:    _Devices_CreateDevice_Handler,
		},
		{
			MethodName: "SearchDevice",
			Handler:    _Devices_SearchDevice_Handler,
		},
		{
			MethodName: "SearchDeviceAudit",
			Handler:    _Devices_SearchDeviceAudit_Handler,
		},
		{
			MethodName: "ListRegistrations",
			Handler:    _Devices_ListRegistrations_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "devices.proto",
}

Devices_ServiceDesc is the grpc.ServiceDesc for Devices service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Domains_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Domains",
	HandlerType: (*DomainsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ReadDomain",
			Handler:    _Domains_ReadDomain_Handler,
		},
		{
			MethodName: "UpdateDomain",
			Handler:    _Domains_UpdateDomain_Handler,
		},
		{
			MethodName: "DeleteDomain",
			Handler:    _Domains_DeleteDomain_Handler,
		},
		{
			MethodName: "CreateDomain",
			Handler:    _Domains_CreateDomain_Handler,
		},
		{
			MethodName: "SearchDomains",
			Handler:    _Domains_SearchDomains_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "domains.proto",
}

Domains_ServiceDesc is the grpc.ServiceDesc for Domains service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var File_access_proto protoreflect.FileDescriptor
View Source
var File_access_v1_proto protoreflect.FileDescriptor
View Source
var File_authz_proto protoreflect.FileDescriptor
View Source
var File_calls_proto protoreflect.FileDescriptor
View Source
var File_certs_proto protoreflect.FileDescriptor
View Source
var File_class_proto protoreflect.FileDescriptor
View Source
var File_customers_proto protoreflect.FileDescriptor
View Source
var File_devices_proto protoreflect.FileDescriptor
View Source
var File_domains_proto protoreflect.FileDescriptor
View Source
var File_oauth2_proto protoreflect.FileDescriptor
View Source
var File_oauth2service_proto protoreflect.FileDescriptor
View Source
var File_permission_proto protoreflect.FileDescriptor
View Source
var File_presence_proto protoreflect.FileDescriptor
View Source
var File_roles_proto protoreflect.FileDescriptor
View Source
var File_search_proto protoreflect.FileDescriptor
View Source
var File_two_factor_auth_proto protoreflect.FileDescriptor
View Source
var File_user_access_token_proto protoreflect.FileDescriptor
View Source
var File_user_settings_proto protoreflect.FileDescriptor
View Source
var File_users_proto protoreflect.FileDescriptor
View Source
var LDAP_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.LDAP",
	HandlerType: (*LDAPServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "CreateLDAPCatalog",
			Handler:    _LDAP_CreateLDAPCatalog_Handler,
		},
		{
			MethodName: "UpdateLDAPCatalog",
			Handler:    _LDAP_UpdateLDAPCatalog_Handler,
		},
		{
			MethodName: "DeleteLDAPCatalog",
			Handler:    _LDAP_DeleteLDAPCatalog_Handler,
		},
		{
			MethodName: "SearchLDAPCatalog",
			Handler:    _LDAP_SearchLDAPCatalog_Handler,
		},
		{
			MethodName: "LocateLDAPCatalog",
			Handler:    _LDAP_LocateLDAPCatalog_Handler,
		},
		{
			MethodName: "LDAPSearch",
			Handler:    _LDAP_LDAPSearch_Handler,
		},
		{
			MethodName: "SearchLDAPTemplate",
			Handler:    _LDAP_SearchLDAPTemplate_Handler,
		},
		{
			MethodName: "LocateLDAPTemplate",
			Handler:    _LDAP_LocateLDAPTemplate_Handler,
		},
		{
			MethodName: "CreateLDAPTemplate",
			Handler:    _LDAP_CreateLDAPTemplate_Handler,
		},
		{
			MethodName: "UpdateLDAPTemplate",
			Handler:    _LDAP_UpdateLDAPTemplate_Handler,
		},
		{
			MethodName: "DeleteLDAPTemplate",
			Handler:    _LDAP_DeleteLDAPTemplate_Handler,
		},
		{
			MethodName: "ResyncLDAPCatalog",
			Handler:    _LDAP_ResyncLDAPCatalog_Handler,
		},
		{
			MethodName: "SearchLDAProcess",
			Handler:    _LDAP_SearchLDAProcess_Handler,
		},
		{
			MethodName: "LocateLDAProcess",
			Handler:    _LDAP_LocateLDAProcess_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "ldap.proto",
}

LDAP_ServiceDesc is the grpc.ServiceDesc for LDAP service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OAuth2Federation_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.OAuth2Federation",
	HandlerType: (*OAuth2FederationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SearchOAuthService",
			Handler:    _OAuth2Federation_SearchOAuthService_Handler,
		},
		{
			MethodName: "CreateOAuthService",
			Handler:    _OAuth2Federation_CreateOAuthService_Handler,
		},
		{
			MethodName: "LocateOAuthService",
			Handler:    _OAuth2Federation_LocateOAuthService_Handler,
		},
		{
			MethodName: "UpdateOAuthService",
			Handler:    _OAuth2Federation_UpdateOAuthService_Handler,
		},
		{
			MethodName: "DeleteOAuthService",
			Handler:    _OAuth2Federation_DeleteOAuthService_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "oauth2service.proto",
}

OAuth2Federation_ServiceDesc is the grpc.ServiceDesc for OAuth2Federation service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var OAuth2_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.OAuth2",
	HandlerType: (*OAuth2Server)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Authorize",
			Handler:    _OAuth2_Authorize_Handler,
		},
		{
			MethodName: "Token",
			Handler:    _OAuth2_Token_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "oauth2.proto",
}

OAuth2_ServiceDesc is the grpc.ServiceDesc for OAuth2 service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Permissions_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Permissions",
	HandlerType: (*PermissionsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetPermissions",
			Handler:    _Permissions_GetPermissions_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "permission.proto",
}

Permissions_ServiceDesc is the grpc.ServiceDesc for Permissions service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Presence_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Presence",
	HandlerType: (*PresenceServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "SetStatus",
			Handler:    _Presence_SetStatus_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "presence.proto",
}

Presence_ServiceDesc is the grpc.ServiceDesc for Presence service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Roles_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Roles",
	HandlerType: (*RolesServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ReadRole",
			Handler:    _Roles_ReadRole_Handler,
		},
		{
			MethodName: "UpdateRole",
			Handler:    _Roles_UpdateRole_Handler,
		},
		{
			MethodName: "DeleteRole",
			Handler:    _Roles_DeleteRole_Handler,
		},
		{
			MethodName: "CreateRole",
			Handler:    _Roles_CreateRole_Handler,
		},
		{
			MethodName: "SearchRoles",
			Handler:    _Roles_SearchRoles_Handler,
		},
		{
			MethodName: "SearchRecordAvailableRoles",
			Handler:    _Roles_SearchRecordAvailableRoles_Handler,
		},
		{
			MethodName: "GrantRole",
			Handler:    _Roles_GrantRole_Handler,
		},
		{
			MethodName: "RevokeRole",
			Handler:    _Roles_RevokeRole_Handler,
		},
		{
			MethodName: "RoleMembers",
			Handler:    _Roles_RoleMembers_Handler,
		},
		{
			MethodName: "RoleMetadata",
			Handler:    _Roles_RoleMetadata_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "roles.proto",
}

Roles_ServiceDesc is the grpc.ServiceDesc for Roles service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var SA_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.SA",
	HandlerType: (*SAServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "Login",
			Handler:    _SA_Login_Handler,
		},
		{
			MethodName: "Logout",
			Handler:    _SA_Logout_Handler,
		},
		{
			MethodName: "ReadSession",
			Handler:    _SA_ReadSession_Handler,
		},
		{
			MethodName: "SearchSessions",
			Handler:    _SA_SearchSessions_Handler,
		},
		{
			MethodName: "Current",
			Handler:    _SA_Current_Handler,
		},
		{
			MethodName: "CreateSession",
			Handler:    _SA_CreateSession_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "auth.proto",
}

SA_ServiceDesc is the grpc.ServiceDesc for SA service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var TwoFactorAuthentication_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.TwoFactorAuthentication",
	HandlerType: (*TwoFactorAuthenticationServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GenerateUserTfaKey",
			Handler:    _TwoFactorAuthentication_GenerateUserTfaKey_Handler,
		},
		{
			MethodName: "GetUserTfaKey",
			Handler:    _TwoFactorAuthentication_GetUserTfaKey_Handler,
		},
		{
			MethodName: "GenerateTfaKeysForNecessaryUsers",
			Handler:    _TwoFactorAuthentication_GenerateTfaKeysForNecessaryUsers_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "two_factor_auth.proto",
}

TwoFactorAuthentication_ServiceDesc is the grpc.ServiceDesc for TwoFactorAuthentication service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var UserAccessTokens_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.UserAccessTokens",
	HandlerType: (*UserAccessTokensServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUserAccessToken",
			Handler:    _UserAccessTokens_GetUserAccessToken_Handler,
		},
		{
			MethodName: "AddUserAccessToken",
			Handler:    _UserAccessTokens_AddUserAccessToken_Handler,
		},
		{
			MethodName: "ListUserAccessToken",
			Handler:    _UserAccessTokens_ListUserAccessToken_Handler,
		},
		{
			MethodName: "UpdateUserAccessToken",
			Handler:    _UserAccessTokens_UpdateUserAccessToken_Handler,
		},
		{
			MethodName: "DeleteUserAccessToken",
			Handler:    _UserAccessTokens_DeleteUserAccessToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "user_access_token.proto",
}

UserAccessTokens_ServiceDesc is the grpc.ServiceDesc for UserAccessTokens service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var UserSettings_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.UserSettings",
	HandlerType: (*UserSettingsServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "GetUserSettings",
			Handler:    _UserSettings_GetUserSettings_Handler,
		},
		{
			MethodName: "SetUserSettings",
			Handler:    _UserSettings_SetUserSettings_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "user_settings.proto",
}

UserSettings_ServiceDesc is the grpc.ServiceDesc for UserSettings service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

View Source
var Users_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.Users",
	HandlerType: (*UsersServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "ReadUser",
			Handler:    _Users_ReadUser_Handler,
		},
		{
			MethodName: "UpdateUser",
			Handler:    _Users_UpdateUser_Handler,
		},
		{
			MethodName: "DeleteUsers",
			Handler:    _Users_DeleteUsers_Handler,
		},
		{
			MethodName: "CreateUser",
			Handler:    _Users_CreateUser_Handler,
		},
		{
			MethodName: "SearchUsers",
			Handler:    _Users_SearchUsers_Handler,
		},
		{
			MethodName: "LogoutUser",
			Handler:    _Users_LogoutUser_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "users.proto",
}

Users_ServiceDesc is the grpc.ServiceDesc for Users service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterACServer

func RegisterACServer(s grpc.ServiceRegistrar, srv ACServer)

func RegisterAccessStoreServer

func RegisterAccessStoreServer(s grpc.ServiceRegistrar, srv AccessStoreServer)

func RegisterAuthServer

func RegisterAuthServer(s grpc.ServiceRegistrar, srv AuthServer)

func RegisterCAServer

func RegisterCAServer(s grpc.ServiceRegistrar, srv CAServer)

func RegisterCallManagerServer

func RegisterCallManagerServer(s grpc.ServiceRegistrar, srv CallManagerServer)

func RegisterClassesServer

func RegisterClassesServer(s grpc.ServiceRegistrar, srv ClassesServer)

func RegisterCustomersServer

func RegisterCustomersServer(s grpc.ServiceRegistrar, srv CustomersServer)

func RegisterDevicesServer

func RegisterDevicesServer(s grpc.ServiceRegistrar, srv DevicesServer)

func RegisterDomainsServer

func RegisterDomainsServer(s grpc.ServiceRegistrar, srv DomainsServer)

func RegisterLDAPServer

func RegisterLDAPServer(s grpc.ServiceRegistrar, srv LDAPServer)

func RegisterOAuth2FederationServer

func RegisterOAuth2FederationServer(s grpc.ServiceRegistrar, srv OAuth2FederationServer)

func RegisterOAuth2Server

func RegisterOAuth2Server(s grpc.ServiceRegistrar, srv OAuth2Server)

func RegisterPermissionsServer

func RegisterPermissionsServer(s grpc.ServiceRegistrar, srv PermissionsServer)

func RegisterPresenceServer

func RegisterPresenceServer(s grpc.ServiceRegistrar, srv PresenceServer)

func RegisterRolesServer

func RegisterRolesServer(s grpc.ServiceRegistrar, srv RolesServer)

func RegisterSAServer

func RegisterSAServer(s grpc.ServiceRegistrar, srv SAServer)

func RegisterTwoFactorAuthenticationServer

func RegisterTwoFactorAuthenticationServer(s grpc.ServiceRegistrar, srv TwoFactorAuthenticationServer)

func RegisterUserAccessTokensServer

func RegisterUserAccessTokensServer(s grpc.ServiceRegistrar, srv UserAccessTokensServer)

func RegisterUserSettingsServer

func RegisterUserSettingsServer(s grpc.ServiceRegistrar, srv UserSettingsServer)

func RegisterUsersServer

func RegisterUsersServer(s grpc.ServiceRegistrar, srv UsersServer)

Types

type ACClient

type ACClient interface {
	ListAccess(ctx context.Context, in *ListAccessRequest, opts ...grpc.CallOption) (*ListAccessResponse, error)
	GrantAccess(ctx context.Context, in *GrantAccessRequest, opts ...grpc.CallOption) (*GrantAccessResponse, error)
	RevokeAccess(ctx context.Context, in *RevokeAccessRequest, opts ...grpc.CallOption) (*RevokeAccessResponse, error)
	// TODO: replace with GrantAccess API, to become command like GRANT REVOKE ... with empty access rights string
	UpdateAccess(ctx context.Context, in *UpdateAccessRequest, opts ...grpc.CallOption) (*UpdateAccessResponse, error)
}

ACClient is the client API for AC service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewACClient

func NewACClient(cc grpc.ClientConnInterface) ACClient

type ACServer

type ACServer interface {
	ListAccess(context.Context, *ListAccessRequest) (*ListAccessResponse, error)
	GrantAccess(context.Context, *GrantAccessRequest) (*GrantAccessResponse, error)
	RevokeAccess(context.Context, *RevokeAccessRequest) (*RevokeAccessResponse, error)
	// TODO: replace with GrantAccess API, to become command like GRANT REVOKE ... with empty access rights string
	UpdateAccess(context.Context, *UpdateAccessRequest) (*UpdateAccessResponse, error)
	// contains filtered or unexported methods
}

ACServer is the server API for AC service. All implementations must embed UnimplementedACServer for forward compatibility.

type Access

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

func (*Access) Descriptor deprecated

func (*Access) Descriptor() ([]byte, []int)

Deprecated: Use Access.ProtoReflect.Descriptor instead.

func (*Access) ProtoMessage

func (*Access) ProtoMessage()

func (*Access) ProtoReflect

func (x *Access) ProtoReflect() protoreflect.Message

func (*Access) Reset

func (x *Access) Reset()

func (*Access) String

func (x *Access) String() string

type AccessRule

type AccessRule struct {

	// ObjectId object = 1;
	Grantor *RoleId `protobuf:"bytes,2,opt,name=grantor,proto3" json:"grantor,omitempty"` // [WHO]: operational; current user NEED to be rechecked !!!
	Grantee *RoleId `protobuf:"bytes,3,opt,name=grantee,proto3" json:"grantee,omitempty"` // [WHOM]: required; NEED to be rechecked !!!
	Granted string  `protobuf:"bytes,4,opt,name=granted,proto3" json:"granted,omitempty"` // [WHAT]: full: [xrwdxrwd]; privileges: [----xrwd]; grantable: [xrwd----]
	// contains filtered or unexported fields
}

func (*AccessRule) Descriptor deprecated

func (*AccessRule) Descriptor() ([]byte, []int)

Deprecated: Use AccessRule.ProtoReflect.Descriptor instead.

func (*AccessRule) GetGranted

func (x *AccessRule) GetGranted() string

func (*AccessRule) GetGrantee

func (x *AccessRule) GetGrantee() *RoleId

func (*AccessRule) GetGrantor

func (x *AccessRule) GetGrantor() *RoleId

func (*AccessRule) ProtoMessage

func (*AccessRule) ProtoMessage()

func (*AccessRule) ProtoReflect

func (x *AccessRule) ProtoReflect() protoreflect.Message

func (*AccessRule) Reset

func (x *AccessRule) Reset()

func (*AccessRule) String

func (x *AccessRule) String() string

type AccessScope

type AccessScope struct {

	// Inherit::ObjectClass
	Id     int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`         // class: object id
	Class  string `protobuf:"bytes,2,opt,name=class,proto3" json:"class,omitempty"`    // class: alphanumeric code name
	Access uint32 `protobuf:"varint,3,opt,name=access,proto3" json:"access,omitempty"` // flags: [ CREATE | SELECT | UPDATE | DELETE ]
	// Is [?]-[b]ased [A]ccess [C]ontrol *model enabled ?
	Abac bool `protobuf:"varint,4,opt,name=abac,proto3" json:"abac,omitempty"` // [A]ttribute-[b]ased;  not implemented; next releases ...
	Obac bool `protobuf:"varint,5,opt,name=obac,proto3" json:"obac,omitempty"` // [O]peration-[b]ased;  Mandatory: control access to object.class (alias: collection, section, etc.)
	Rbac bool `protobuf:"varint,6,opt,name=rbac,proto3" json:"rbac,omitempty"` // [R]ecord-[b]ased; Discretionary: control access to object.entry (alias: resource, record, etc.)
	// contains filtered or unexported fields
}

AccessScope represents authorized access level to object class declaration within domain namespace

func (*AccessScope) Descriptor deprecated

func (*AccessScope) Descriptor() ([]byte, []int)

Deprecated: Use AccessScope.ProtoReflect.Descriptor instead.

func (*AccessScope) GetAbac

func (x *AccessScope) GetAbac() bool

func (*AccessScope) GetAccess

func (x *AccessScope) GetAccess() uint32

func (*AccessScope) GetClass

func (x *AccessScope) GetClass() string

func (*AccessScope) GetId

func (x *AccessScope) GetId() int64

func (*AccessScope) GetObac

func (x *AccessScope) GetObac() bool

func (*AccessScope) GetRbac

func (x *AccessScope) GetRbac() bool

func (*AccessScope) ProtoMessage

func (*AccessScope) ProtoMessage()

func (*AccessScope) ProtoReflect

func (x *AccessScope) ProtoReflect() protoreflect.Message

func (*AccessScope) Reset

func (x *AccessScope) Reset()

func (*AccessScope) String

func (x *AccessScope) String() string

type AccessStoreClient

type AccessStoreClient interface {
	ListObjectAccess(ctx context.Context, in *ListAccessRequestV1, opts ...grpc.CallOption) (*ListAccessResponseV1, error)
	// TODO: replace with GrantAccess API, to become command like GRANT REVOKE ... with empty access rights string
	ToggleObjectAccess(ctx context.Context, in *UpdateAccessRequestV1, opts ...grpc.CallOption) (*UpdateAccessResponseV1, error)
	// default: TODO: indicate objclass=default as a default rights repo
	ListDefaultAccess(ctx context.Context, in *ListAccessRequestV1, opts ...grpc.CallOption) (*ListAccessResponseV1, error)
	// Same as UpdateAccess except for DEFAULT access control system
	ToggleDefaultAccess(ctx context.Context, in *ToggleDefaultAccessRequest, opts ...grpc.CallOption) (*ToggleDefaultAccessResponse, error)
}

AccessStoreClient is the client API for AccessStore service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type AccessStoreServer

type AccessStoreServer interface {
	ListObjectAccess(context.Context, *ListAccessRequestV1) (*ListAccessResponseV1, error)
	// TODO: replace with GrantAccess API, to become command like GRANT REVOKE ... with empty access rights string
	ToggleObjectAccess(context.Context, *UpdateAccessRequestV1) (*UpdateAccessResponseV1, error)
	// default: TODO: indicate objclass=default as a default rights repo
	ListDefaultAccess(context.Context, *ListAccessRequestV1) (*ListAccessResponseV1, error)
	// Same as UpdateAccess except for DEFAULT access control system
	ToggleDefaultAccess(context.Context, *ToggleDefaultAccessRequest) (*ToggleDefaultAccessResponse, error)
	// contains filtered or unexported methods
}

AccessStoreServer is the server API for AccessStore service. All implementations must embed UnimplementedAccessStoreServer for forward compatibility.

type AccessToken

type AccessToken struct {

	// REQUIRED. The access token issued by the authorization server.
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,proto3" json:"access_token,omitempty"`
	// REQUIRED. The type of the token issued. Value is case insensitive.
	TokenType string `protobuf:"bytes,2,opt,name=token_type,proto3" json:"token_type,omitempty"`
	// RECOMMENDED. The lifetime in seconds of the access token.
	ExpiresIn int32 `protobuf:"varint,3,opt,name=expires_in,proto3" json:"expires_in,omitempty"`
	// OPTIONAL. The refresh token, which can be used to obtain
	// new access tokens using the same authorization grant.
	RefreshToken string `protobuf:"bytes,4,opt,name=refresh_token,proto3" json:"refresh_token,omitempty"`
	// OPTIONAL, if identical to the scope requested by the client;
	// otherwise, REQUIRED. The scope of the access token.
	// repeated string scope = 5 [ json_name = "scope" ];
	// REQUIRED if the "state" parameter was present in the client
	// authorization request. The exact value received from the client.
	State string `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

OAuth 2.0 Access Token Response compatible

func (*AccessToken) Descriptor deprecated

func (*AccessToken) Descriptor() ([]byte, []int)

Deprecated: Use AccessToken.ProtoReflect.Descriptor instead.

func (*AccessToken) GetAccessToken

func (x *AccessToken) GetAccessToken() string

func (*AccessToken) GetExpiresIn

func (x *AccessToken) GetExpiresIn() int32

func (*AccessToken) GetRefreshToken

func (x *AccessToken) GetRefreshToken() string

func (*AccessToken) GetState

func (x *AccessToken) GetState() string

func (*AccessToken) GetTokenType

func (x *AccessToken) GetTokenType() string

func (*AccessToken) ProtoMessage

func (*AccessToken) ProtoMessage()

func (*AccessToken) ProtoReflect

func (x *AccessToken) ProtoReflect() protoreflect.Message

func (*AccessToken) Reset

func (x *AccessToken) Reset()

func (*AccessToken) String

func (x *AccessToken) String() string

type AccessTokenRequest

type AccessTokenRequest struct {

	// REQUIRED
	GrantType string `protobuf:"bytes,1,opt,name=grant_type,proto3" json:"grant_type,omitempty"`
	// ClientCredentials (grant_type=client_credentials)
	ClientId     string `protobuf:"bytes,2,opt,name=client_id,proto3" json:"client_id,omitempty"`
	ClientSecret string `protobuf:"bytes,3,opt,name=client_secret,proto3" json:"client_secret,omitempty"`
	// OPTIONAL
	Scope []string `protobuf:"bytes,4,rep,name=scope,proto3" json:"scope,omitempty"`
	// AuthorizationCode (grant_type=authorization_code)
	RedirectUri string `protobuf:"bytes,5,opt,name=redirect_uri,proto3" json:"redirect_uri,omitempty"`
	Code        string `protobuf:"bytes,6,opt,name=code,proto3" json:"code,omitempty"`
	// PasswordCredentials (grant_type=password)
	Domain   string `protobuf:"bytes,7,opt,name=domain,proto3" json:"domain,omitempty"`
	Username string `protobuf:"bytes,8,opt,name=username,proto3" json:"username,omitempty"`
	Password string `protobuf:"bytes,9,opt,name=password,proto3" json:"password,omitempty"`
	// Refreshing (grant_type=refresh_token)
	RefreshToken string `protobuf:"bytes,10,opt,name=refresh_token,proto3" json:"refresh_token,omitempty"`
	// contains filtered or unexported fields
}

func (*AccessTokenRequest) Descriptor deprecated

func (*AccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use AccessTokenRequest.ProtoReflect.Descriptor instead.

func (*AccessTokenRequest) GetClientId

func (x *AccessTokenRequest) GetClientId() string

func (*AccessTokenRequest) GetClientSecret

func (x *AccessTokenRequest) GetClientSecret() string

func (*AccessTokenRequest) GetCode

func (x *AccessTokenRequest) GetCode() string

func (*AccessTokenRequest) GetDomain

func (x *AccessTokenRequest) GetDomain() string

func (*AccessTokenRequest) GetGrantType

func (x *AccessTokenRequest) GetGrantType() string

func (*AccessTokenRequest) GetPassword

func (x *AccessTokenRequest) GetPassword() string

func (*AccessTokenRequest) GetRedirectUri

func (x *AccessTokenRequest) GetRedirectUri() string

func (*AccessTokenRequest) GetRefreshToken

func (x *AccessTokenRequest) GetRefreshToken() string

func (*AccessTokenRequest) GetScope

func (x *AccessTokenRequest) GetScope() []string

func (*AccessTokenRequest) GetUsername

func (x *AccessTokenRequest) GetUsername() string

func (*AccessTokenRequest) ProtoMessage

func (*AccessTokenRequest) ProtoMessage()

func (*AccessTokenRequest) ProtoReflect

func (x *AccessTokenRequest) ProtoReflect() protoreflect.Message

func (*AccessTokenRequest) Reset

func (x *AccessTokenRequest) Reset()

func (*AccessTokenRequest) String

func (x *AccessTokenRequest) String() string

type Access_Grant

type Access_Grant struct {
	Grantor    *RoleId  `protobuf:"bytes,1,opt,name=grantor,proto3" json:"grantor,omitempty"`       // NEED to be rechecked !!!
	Grantee    *RoleId  `protobuf:"bytes,2,opt,name=grantee,proto3" json:"grantee,omitempty"`       // NEED to be rechecked !!!
	Privileges []string `protobuf:"bytes,3,rep,name=privileges,proto3" json:"privileges,omitempty"` // ["SEARCH","MODIFY","DELETE","CREATE"]
	Grantable  []string `protobuf:"bytes,4,rep,name=grantable,proto3" json:"grantable,omitempty"`   // ["SEARCH","MODIFY","DELETE","CREATE"]
	// contains filtered or unexported fields
}

func (*Access_Grant) Descriptor deprecated

func (*Access_Grant) Descriptor() ([]byte, []int)

Deprecated: Use Access_Grant.ProtoReflect.Descriptor instead.

func (*Access_Grant) GetGrantable

func (x *Access_Grant) GetGrantable() []string

func (*Access_Grant) GetGrantee

func (x *Access_Grant) GetGrantee() *RoleId

func (*Access_Grant) GetGrantor

func (x *Access_Grant) GetGrantor() *RoleId

func (*Access_Grant) GetPrivileges

func (x *Access_Grant) GetPrivileges() []string

func (*Access_Grant) ProtoMessage

func (*Access_Grant) ProtoMessage()

func (*Access_Grant) ProtoReflect

func (x *Access_Grant) ProtoReflect() protoreflect.Message

func (*Access_Grant) Reset

func (x *Access_Grant) Reset()

func (*Access_Grant) String

func (x *Access_Grant) String() string

type AddUserAccessTokenRequest

type AddUserAccessTokenRequest struct {

	// processing
	// ------------
	// token.user.id // [required] authorization
	// token.usage   // [optional] short description
	Token  *UserAccessToken `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
	Enable bool             `protobuf:"varint,2,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*AddUserAccessTokenRequest) Descriptor deprecated

func (*AddUserAccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use AddUserAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*AddUserAccessTokenRequest) GetEnable

func (x *AddUserAccessTokenRequest) GetEnable() bool

func (*AddUserAccessTokenRequest) GetToken

func (*AddUserAccessTokenRequest) ProtoMessage

func (*AddUserAccessTokenRequest) ProtoMessage()

func (*AddUserAccessTokenRequest) ProtoReflect

func (*AddUserAccessTokenRequest) Reset

func (x *AddUserAccessTokenRequest) Reset()

func (*AddUserAccessTokenRequest) String

func (x *AddUserAccessTokenRequest) String() string

type AuthClient

type AuthClient interface {
	// The UserInfo Endpoint is an OAuth 2.0 Protected Resource that returns Claims about the authenticated End-User.
	UserInfo(ctx context.Context, in *UserinfoRequest, opts ...grpc.CallOption) (*Userinfo, error)
	// Signup new domain with superior access token
	Signup(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
}

AuthClient is the client API for Auth service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewAuthClient

func NewAuthClient(cc grpc.ClientConnInterface) AuthClient

type AuthServer

type AuthServer interface {
	// The UserInfo Endpoint is an OAuth 2.0 Protected Resource that returns Claims about the authenticated End-User.
	UserInfo(context.Context, *UserinfoRequest) (*Userinfo, error)
	// Signup new domain with superior access token
	Signup(context.Context, *LoginRequest) (*LoginResponse, error)
	// contains filtered or unexported methods
}

AuthServer is the server API for Auth service. All implementations must embed UnimplementedAuthServer for forward compatibility.

type Authorization

type Authorization struct {

	// current::authorization
	Dc       int64  `protobuf:"varint,1,opt,name=dc,proto3" json:"dc,omitempty"`                       // current domain component
	Domain   string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`                // current domain name
	RoleId   int64  `protobuf:"varint,3,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"` // current role id
	Username string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"`            // current role name
	// session::authorization (primary)
	Session *Session `protobuf:"bytes,5,opt,name=session,proto3" json:"session,omitempty"`
	// authorization::subject(s) whose privileges extends to the current role
	Roles map[string]int64 `` // map[:role]:oid
	/* 138-byte string literal not displayed */
	// MAC: set of access privileges assigned to current role::subject(s)
	Privs map[string]string `` // map[:priv]:uuid { "sysadmin":1, "CALL_MANAGER":712342168, "CALL_CENTER":32435456 }
	/* 137-byte string literal not displayed */
	// DAC: set of object class(es) on which at least SELECT privilege is granted to current role::subject(s)
	Scope []*AccessScope `protobuf:"bytes,8,rep,name=scope,proto3" json:"scope,omitempty"` // [{ "id":1, "class":"queue", "obac":false, "rbac":true, "access":7 },...]
	// contains filtered or unexported fields
}

Authorization. Current.

func (*Authorization) Descriptor deprecated

func (*Authorization) Descriptor() ([]byte, []int)

Deprecated: Use Authorization.ProtoReflect.Descriptor instead.

func (*Authorization) GetDc

func (x *Authorization) GetDc() int64

func (*Authorization) GetDomain

func (x *Authorization) GetDomain() string

func (*Authorization) GetPrivs

func (x *Authorization) GetPrivs() map[string]string

func (*Authorization) GetRoleId

func (x *Authorization) GetRoleId() int64

func (*Authorization) GetRoles

func (x *Authorization) GetRoles() map[string]int64

func (*Authorization) GetScope

func (x *Authorization) GetScope() []*AccessScope

func (*Authorization) GetSession

func (x *Authorization) GetSession() *Session

func (*Authorization) GetUsername

func (x *Authorization) GetUsername() string

func (*Authorization) ProtoMessage

func (*Authorization) ProtoMessage()

func (*Authorization) ProtoReflect

func (x *Authorization) ProtoReflect() protoreflect.Message

func (*Authorization) Reset

func (x *Authorization) Reset()

func (*Authorization) String

func (x *Authorization) String() string

type AuthorizationCode

type AuthorizationCode struct {

	// REQUIRED. The authorization code generated by the
	// authorization server. The authorization code MUST expire
	// shortly after it is issued to mitigate the risk of leaks.
	// A maximum authorization code lifetime of 10 minutes is
	// RECOMMENDED. The client MUST NOT use the authorization code
	// more than once. If an authorization code is used more than
	// once, the authorization server MUST deny the request and SHOULD
	// revoke (when possible) all tokens previously issued based on
	// that authorization code. The authorization code is bound to
	// the client identifier and redirection URI.
	Code string `protobuf:"bytes,1,opt,name=code,proto3" json:"code,omitempty"`
	// REQUIRED if the "state" parameter was present in the client
	// authorization request. The exact value received from the client.
	State string `protobuf:"bytes,2,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthorizationCode) Descriptor deprecated

func (*AuthorizationCode) Descriptor() ([]byte, []int)

Deprecated: Use AuthorizationCode.ProtoReflect.Descriptor instead.

func (*AuthorizationCode) GetCode

func (x *AuthorizationCode) GetCode() string

func (*AuthorizationCode) GetState

func (x *AuthorizationCode) GetState() string

func (*AuthorizationCode) ProtoMessage

func (*AuthorizationCode) ProtoMessage()

func (*AuthorizationCode) ProtoReflect

func (x *AuthorizationCode) ProtoReflect() protoreflect.Message

func (*AuthorizationCode) Reset

func (x *AuthorizationCode) Reset()

func (*AuthorizationCode) String

func (x *AuthorizationCode) String() string

type AuthorizationGrant

type AuthorizationGrant int32

Authorization Grant

const (
	// Authorization Code
	AuthorizationGrant_authorization_code AuthorizationGrant = 0
	// Implicit
	AuthorizationGrant_implicit AuthorizationGrant = 1
	// Resource Owner Password Credentials
	AuthorizationGrant_password AuthorizationGrant = 2
	// Client Credentials
	AuthorizationGrant_client_credentials AuthorizationGrant = 3
	// Refresh
	AuthorizationGrant_refresh_token AuthorizationGrant = 4
)

func (AuthorizationGrant) Descriptor

func (AuthorizationGrant) Enum

func (AuthorizationGrant) EnumDescriptor deprecated

func (AuthorizationGrant) EnumDescriptor() ([]byte, []int)

Deprecated: Use AuthorizationGrant.Descriptor instead.

func (AuthorizationGrant) Number

func (AuthorizationGrant) String

func (x AuthorizationGrant) String() string

func (AuthorizationGrant) Type

type AuthorizationRequest

type AuthorizationRequest struct {

	// AuthorizationType response kind
	ResponseType string   `protobuf:"bytes,1,opt,name=response_type,json=responseType,proto3" json:"response_type,omitempty"`
	ClientId     string   `protobuf:"bytes,2,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	RedirectUri  string   `protobuf:"bytes,3,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
	Scope        []string `protobuf:"bytes,4,rep,name=scope,proto3" json:"scope,omitempty"`
	State        string   `protobuf:"bytes,5,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*AuthorizationRequest) Descriptor deprecated

func (*AuthorizationRequest) Descriptor() ([]byte, []int)

Deprecated: Use AuthorizationRequest.ProtoReflect.Descriptor instead.

func (*AuthorizationRequest) GetClientId

func (x *AuthorizationRequest) GetClientId() string

func (*AuthorizationRequest) GetRedirectUri

func (x *AuthorizationRequest) GetRedirectUri() string

func (*AuthorizationRequest) GetResponseType

func (x *AuthorizationRequest) GetResponseType() string

func (*AuthorizationRequest) GetScope

func (x *AuthorizationRequest) GetScope() []string

func (*AuthorizationRequest) GetState

func (x *AuthorizationRequest) GetState() string

func (*AuthorizationRequest) ProtoMessage

func (*AuthorizationRequest) ProtoMessage()

func (*AuthorizationRequest) ProtoReflect

func (x *AuthorizationRequest) ProtoReflect() protoreflect.Message

func (*AuthorizationRequest) Reset

func (x *AuthorizationRequest) Reset()

func (*AuthorizationRequest) String

func (x *AuthorizationRequest) String() string

type AuthorizationResponse

type AuthorizationResponse struct {

	// Types that are valid to be assigned to Result:
	//
	//	*AuthorizationResponse_Error
	//	*AuthorizationResponse_Code
	//	*AuthorizationResponse_Token
	Result isAuthorizationResponse_Result `protobuf_oneof:"result"`
	// contains filtered or unexported fields
}

func (*AuthorizationResponse) Descriptor deprecated

func (*AuthorizationResponse) Descriptor() ([]byte, []int)

Deprecated: Use AuthorizationResponse.ProtoReflect.Descriptor instead.

func (*AuthorizationResponse) GetCode

func (*AuthorizationResponse) GetError

func (x *AuthorizationResponse) GetError() *ErrorResponse

func (*AuthorizationResponse) GetResult

func (x *AuthorizationResponse) GetResult() isAuthorizationResponse_Result

func (*AuthorizationResponse) GetToken

func (x *AuthorizationResponse) GetToken() *AccessToken

func (*AuthorizationResponse) ProtoMessage

func (*AuthorizationResponse) ProtoMessage()

func (*AuthorizationResponse) ProtoReflect

func (x *AuthorizationResponse) ProtoReflect() protoreflect.Message

func (*AuthorizationResponse) Reset

func (x *AuthorizationResponse) Reset()

func (*AuthorizationResponse) String

func (x *AuthorizationResponse) String() string

type AuthorizationResponse_Code

type AuthorizationResponse_Code struct {
	Code *AuthorizationCode `protobuf:"bytes,2,opt,name=code,proto3,oneof"`
}

type AuthorizationResponse_Error

type AuthorizationResponse_Error struct {
	Error *ErrorResponse `protobuf:"bytes,1,opt,name=error,proto3,oneof"`
}

type AuthorizationResponse_Token

type AuthorizationResponse_Token struct {
	Token *AccessToken `protobuf:"bytes,3,opt,name=token,proto3,oneof"`
}

type AuthorizationType

type AuthorizationType int32
const (
	AuthorizationType_CODE  AuthorizationType = 0
	AuthorizationType_TOKEN AuthorizationType = 1
)

func (AuthorizationType) Descriptor

func (AuthorizationType) Enum

func (AuthorizationType) EnumDescriptor deprecated

func (AuthorizationType) EnumDescriptor() ([]byte, []int)

Deprecated: Use AuthorizationType.Descriptor instead.

func (AuthorizationType) Number

func (AuthorizationType) String

func (x AuthorizationType) String() string

func (AuthorizationType) Type

type CAClient

type CAClient interface {
	// rpc GetCertificate(CertificateUsageRequest) returns (CertificateUsageResponse) {}
	CertificateUsage(ctx context.Context, in *CertificateUsageRequest, opts ...grpc.CallOption) (*CertificateUsageResponse, error)
	// rpc VerifyCertificate(VerifyCertificateRequest) returns (VerifyCertificateResponse) {}
	UpdateCertificate(ctx context.Context, in *UpdateCertificateRequest, opts ...grpc.CallOption) (*UpdateCertificateResponse, error)
	// later: rpc RevokeCertificate(RevokeCertificateRequest) returns (RevokeCertificateResponse) {}
	SearchCertificates(ctx context.Context, in *SearchCertificatesRequest, opts ...grpc.CallOption) (*SearchCertificatesResponse, error)
	GrantCertificate(ctx context.Context, in *GrantCertificateRequest, opts ...grpc.CallOption) (*GrantCertificateResponse, error)
	RevokeCertificate(ctx context.Context, in *RevokeCertificateRequest, opts ...grpc.CallOption) (*RevokeCertificateResponse, error)
}

CAClient is the client API for CA service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCAClient

func NewCAClient(cc grpc.ClientConnInterface) CAClient

type CAServer

type CAServer interface {
	// rpc GetCertificate(CertificateUsageRequest) returns (CertificateUsageResponse) {}
	CertificateUsage(context.Context, *CertificateUsageRequest) (*CertificateUsageResponse, error)
	// rpc VerifyCertificate(VerifyCertificateRequest) returns (VerifyCertificateResponse) {}
	UpdateCertificate(context.Context, *UpdateCertificateRequest) (*UpdateCertificateResponse, error)
	// later: rpc RevokeCertificate(RevokeCertificateRequest) returns (RevokeCertificateResponse) {}
	SearchCertificates(context.Context, *SearchCertificatesRequest) (*SearchCertificatesResponse, error)
	GrantCertificate(context.Context, *GrantCertificateRequest) (*GrantCertificateResponse, error)
	RevokeCertificate(context.Context, *RevokeCertificateRequest) (*RevokeCertificateResponse, error)
	// contains filtered or unexported methods
}

CAServer is the server API for CA service. All implementations must embed UnimplementedCAServer for forward compatibility.

type Call

type Call struct {
	Uuid    string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"` // [optional] !uuid ? channel.uuid : uuid
	Channel *Channel `protobuf:"bytes,2,opt,name=channel,proto3" json:"channel,omitempty"`
	// contains filtered or unexported fields
}

func (*Call) Descriptor deprecated

func (*Call) Descriptor() ([]byte, []int)

Deprecated: Use Call.ProtoReflect.Descriptor instead.

func (*Call) GetChannel

func (x *Call) GetChannel() *Channel

func (*Call) GetUuid

func (x *Call) GetUuid() string

func (*Call) ProtoMessage

func (*Call) ProtoMessage()

func (*Call) ProtoReflect

func (x *Call) ProtoReflect() protoreflect.Message

func (*Call) Reset

func (x *Call) Reset()

func (*Call) String

func (x *Call) String() string

type CallManagerClient

type CallManagerClient interface {
	SearchCalls(ctx context.Context, in *SearchCallsRequest, opts ...grpc.CallOption) (*SearchCallsResponse, error)
}

CallManagerClient is the client API for CallManager service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type CallManagerServer

type CallManagerServer interface {
	SearchCalls(context.Context, *SearchCallsRequest) (*SearchCallsResponse, error)
	// contains filtered or unexported methods
}

CallManagerServer is the server API for CallManager service. All implementations must embed UnimplementedCallManagerServer for forward compatibility.

type Caller

type Caller struct {
	Uuid  string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`   // [required] unique_id (channel.uuid)
	Proto string `protobuf:"bytes,2,opt,name=proto,proto3" json:"proto,omitempty"` // [required] protocol; channel source: sip|sips|webrtc
	// From:
	Origin *CallerId `protobuf:"bytes,3,opt,name=origin,proto3" json:"origin,omitempty"` // [optional] [From]: source
	Caller *CallerId `protobuf:"bytes,4,opt,name=caller,proto3" json:"caller,omitempty"` // [required] leg[A] display; at least is the same as origin
	Callee *CallerId `protobuf:"bytes,5,opt,name=callee,proto3" json:"callee,omitempty"` // [optional] leg[B] display
	ANI    string    `protobuf:"bytes,6,opt,name=ANI,proto3" json:"ANI,omitempty"`       // [optional] [A]utomatic[N]umber[I]dentification
	// To:
	Direction   string `protobuf:"bytes,7,opt,name=direction,proto3" json:"direction,omitempty"`     // [required] inbound | outbound
	Destination string `protobuf:"bytes,8,opt,name=destination,proto3" json:"destination,omitempty"` // [required] [To]: in most cases this is the number
	Transferred string `protobuf:"bytes,9,opt,name=transferred,proto3" json:"transferred,omitempty"` // [optional] transfer source
	// Timing of stages
	CreatedAt       uint64 `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`                     // [required] !
	ProgressAt      uint64 `protobuf:"varint,11,opt,name=progress_at,json=progressAt,proto3" json:"progress_at,omitempty"`                  // [optional]
	ProgressMediaAt uint64 `protobuf:"varint,12,opt,name=progress_media_at,json=progressMediaAt,proto3" json:"progress_media_at,omitempty"` // [optional]
	AnsweredAt      uint64 `protobuf:"varint,13,opt,name=answered_at,json=answeredAt,proto3" json:"answered_at,omitempty"`                  // [optional]
	BridgedAt       uint64 `protobuf:"varint,14,opt,name=bridged_at,json=bridgedAt,proto3" json:"bridged_at,omitempty"`                     // [optional]
	HangupAt        uint64 `protobuf:"varint,15,opt,name=hangup_at,json=hangupAt,proto3" json:"hangup_at,omitempty"`                        // [optional] unlil hangup state reached
	OnholdAt        uint64 `protobuf:"varint,16,opt,name=onhold_at,json=onholdAt,proto3" json:"onhold_at,omitempty"`                        // [optional] last 'hold' at time
	OnholdMs        uint64 `protobuf:"varint,17,opt,name=onhold_ms,json=onholdMs,proto3" json:"onhold_ms,omitempty"`                        // [optional] 'hold' time accumulated
	// Other-Leg: oneof below or nothing
	Commutation string  `protobuf:"bytes,18,opt,name=commutation,proto3" json:"commutation,omitempty"` // [optional] 'originator' | 'originatee' FIXME: 'bridge' ?
	Originator  *Caller `protobuf:"bytes,19,opt,name=originator,proto3" json:"originator,omitempty"`   // defines::leg[A]; thisis:leg[B]
	Originatee  *Caller `protobuf:"bytes,20,opt,name=originatee,proto3" json:"originatee,omitempty"`   // defines::leg[B]; thisis:leg[A]
	// contains filtered or unexported fields
}

The Caller profile

func (*Caller) Descriptor deprecated

func (*Caller) Descriptor() ([]byte, []int)

Deprecated: Use Caller.ProtoReflect.Descriptor instead.

func (*Caller) GetANI

func (x *Caller) GetANI() string

func (*Caller) GetAnsweredAt

func (x *Caller) GetAnsweredAt() uint64

func (*Caller) GetBridgedAt

func (x *Caller) GetBridgedAt() uint64

func (*Caller) GetCallee

func (x *Caller) GetCallee() *CallerId

func (*Caller) GetCaller

func (x *Caller) GetCaller() *CallerId

func (*Caller) GetCommutation

func (x *Caller) GetCommutation() string

func (*Caller) GetCreatedAt

func (x *Caller) GetCreatedAt() uint64

func (*Caller) GetDestination

func (x *Caller) GetDestination() string

func (*Caller) GetDirection

func (x *Caller) GetDirection() string

func (*Caller) GetHangupAt

func (x *Caller) GetHangupAt() uint64

func (*Caller) GetOnholdAt

func (x *Caller) GetOnholdAt() uint64

func (*Caller) GetOnholdMs

func (x *Caller) GetOnholdMs() uint64

func (*Caller) GetOrigin

func (x *Caller) GetOrigin() *CallerId

func (*Caller) GetOriginatee

func (x *Caller) GetOriginatee() *Caller

func (*Caller) GetOriginator

func (x *Caller) GetOriginator() *Caller

func (*Caller) GetProgressAt

func (x *Caller) GetProgressAt() uint64

func (*Caller) GetProgressMediaAt

func (x *Caller) GetProgressMediaAt() uint64

func (*Caller) GetProto

func (x *Caller) GetProto() string

func (*Caller) GetTransferred

func (x *Caller) GetTransferred() string

func (*Caller) GetUuid

func (x *Caller) GetUuid() string

func (*Caller) ProtoMessage

func (*Caller) ProtoMessage()

func (*Caller) ProtoReflect

func (x *Caller) ProtoReflect() protoreflect.Message

func (*Caller) Reset

func (x *Caller) Reset()

func (*Caller) String

func (x *Caller) String() string

type CallerId

type CallerId struct {
	Name   string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Number string `protobuf:"bytes,2,opt,name=number,proto3" json:"number,omitempty"`
	// contains filtered or unexported fields
}

CallerId display value.

func (*CallerId) Descriptor deprecated

func (*CallerId) Descriptor() ([]byte, []int)

Deprecated: Use CallerId.ProtoReflect.Descriptor instead.

func (*CallerId) GetName

func (x *CallerId) GetName() string

func (*CallerId) GetNumber

func (x *CallerId) GetNumber() string

func (*CallerId) ProtoMessage

func (*CallerId) ProtoMessage()

func (*CallerId) ProtoReflect

func (x *CallerId) ProtoReflect() protoreflect.Message

func (*CallerId) Reset

func (x *CallerId) Reset()

func (*CallerId) String

func (x *CallerId) String() string

type Certificate

type Certificate struct {
	Serial     string           `protobuf:"bytes,1,opt,name=serial,proto3" json:"serial,omitempty"`                            // serial number assigned (global::Customer-ID)
	Version    string           `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"`                          // version
	Validity   *Validity        `protobuf:"bytes,3,opt,name=validity,proto3" json:"validity,omitempty"`                        // int32 competitive = 4; // zero-based competitive sessions limit ?
	License    []*License       `protobuf:"bytes,5,rep,name=license,proto3" json:"license,omitempty"`                          // grants issued
	ThisUpdate int64            `protobuf:"varint,6,opt,name=this_update,json=thisUpdate,proto3" json:"this_update,omitempty"` // unix: issuer signed at
	NextUpdate int64            `protobuf:"varint,7,opt,name=next_update,json=nextUpdate,proto3" json:"next_update,omitempty"` // unix: signature expires; update required
	Valid      bool             `protobuf:"varint,8,opt,name=valid,proto3" json:"valid,omitempty"`                             // validation status
	Domains    map[int64]string ``                                                                                             /* 142-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*Certificate) Descriptor deprecated

func (*Certificate) Descriptor() ([]byte, []int)

Deprecated: Use Certificate.ProtoReflect.Descriptor instead.

func (*Certificate) GetDomains

func (x *Certificate) GetDomains() map[int64]string

func (*Certificate) GetLicense

func (x *Certificate) GetLicense() []*License

func (*Certificate) GetNextUpdate

func (x *Certificate) GetNextUpdate() int64

func (*Certificate) GetSerial

func (x *Certificate) GetSerial() string

func (*Certificate) GetThisUpdate

func (x *Certificate) GetThisUpdate() int64

func (*Certificate) GetValid

func (x *Certificate) GetValid() bool

func (*Certificate) GetValidity

func (x *Certificate) GetValidity() *Validity

func (*Certificate) GetVersion

func (x *Certificate) GetVersion() string

func (*Certificate) ProtoMessage

func (*Certificate) ProtoMessage()

func (*Certificate) ProtoReflect

func (x *Certificate) ProtoReflect() protoreflect.Message

func (*Certificate) Reset

func (x *Certificate) Reset()

func (*Certificate) String

func (x *Certificate) String() string

type CertificateUsageRequest

type CertificateUsageRequest struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`                // domain relation
	Serial string `protobuf:"bytes,2,opt,name=serial,proto3" json:"serial,omitempty"`                // filter: serial
	UserId int64  `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // filter: grants.user.id grantee
	// contains filtered or unexported fields
}

GET /certificate/{filter=**} GET /user/{userId}/certificate GET /domain/{domain}/certificate

func (*CertificateUsageRequest) Descriptor deprecated

func (*CertificateUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use CertificateUsageRequest.ProtoReflect.Descriptor instead.

func (*CertificateUsageRequest) GetDomain

func (x *CertificateUsageRequest) GetDomain() string

func (*CertificateUsageRequest) GetSerial

func (x *CertificateUsageRequest) GetSerial() string

func (*CertificateUsageRequest) GetUserId

func (x *CertificateUsageRequest) GetUserId() int64

func (*CertificateUsageRequest) ProtoMessage

func (*CertificateUsageRequest) ProtoMessage()

func (*CertificateUsageRequest) ProtoReflect

func (x *CertificateUsageRequest) ProtoReflect() protoreflect.Message

func (*CertificateUsageRequest) Reset

func (x *CertificateUsageRequest) Reset()

func (*CertificateUsageRequest) String

func (x *CertificateUsageRequest) String() string

type CertificateUsageResponse

type CertificateUsageResponse struct {
	Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // detailed
	// contains filtered or unexported fields
}

func (*CertificateUsageResponse) Descriptor deprecated

func (*CertificateUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use CertificateUsageResponse.ProtoReflect.Descriptor instead.

func (*CertificateUsageResponse) GetCertificate

func (x *CertificateUsageResponse) GetCertificate() *Certificate

func (*CertificateUsageResponse) ProtoMessage

func (*CertificateUsageResponse) ProtoMessage()

func (*CertificateUsageResponse) ProtoReflect

func (x *CertificateUsageResponse) ProtoReflect() protoreflect.Message

func (*CertificateUsageResponse) Reset

func (x *CertificateUsageResponse) Reset()

func (*CertificateUsageResponse) String

func (x *CertificateUsageResponse) String() string

type Channel

type Channel struct {
	Uuid      string  `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`           // [required] unique_id
	Proto     string  `protobuf:"bytes,2,opt,name=proto,proto3" json:"proto,omitempty"`         // [required] source; protocol
	State     string  `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty"`         // [required] call_state
	Active    string  `protobuf:"bytes,4,opt,name=active,proto3" json:"active,omitempty"`       // [optional] answer_state
	Hangup    string  `protobuf:"bytes,5,opt,name=hangup,proto3" json:"hangup,omitempty"`       // [optional] hangup_cause
	Profile   *Caller `protobuf:"bytes,6,opt,name=profile,proto3" json:"profile,omitempty"`     // [required] profile in front of this channel
	Direction string  `protobuf:"bytes,7,opt,name=direction,proto3" json:"direction,omitempty"` // [required] inbound | outbound
	// contains filtered or unexported fields
}

func (*Channel) Descriptor deprecated

func (*Channel) Descriptor() ([]byte, []int)

Deprecated: Use Channel.ProtoReflect.Descriptor instead.

func (*Channel) GetActive

func (x *Channel) GetActive() string

func (*Channel) GetDirection

func (x *Channel) GetDirection() string

func (*Channel) GetHangup

func (x *Channel) GetHangup() string

func (*Channel) GetProfile

func (x *Channel) GetProfile() *Caller

func (*Channel) GetProto

func (x *Channel) GetProto() string

func (*Channel) GetState

func (x *Channel) GetState() string

func (*Channel) GetUuid

func (x *Channel) GetUuid() string

func (*Channel) ProtoMessage

func (*Channel) ProtoMessage()

func (*Channel) ProtoReflect

func (x *Channel) ProtoReflect() protoreflect.Message

func (*Channel) Reset

func (x *Channel) Reset()

func (*Channel) String

func (x *Channel) String() string

type Claim

type Claim struct {
	Type  string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*Claim) Descriptor deprecated

func (*Claim) Descriptor() ([]byte, []int)

Deprecated: Use Claim.ProtoReflect.Descriptor instead.

func (*Claim) GetType

func (x *Claim) GetType() string

func (*Claim) GetValue

func (x *Claim) GetValue() string

func (*Claim) ProtoMessage

func (*Claim) ProtoMessage()

func (*Claim) ProtoReflect

func (x *Claim) ProtoReflect() protoreflect.Message

func (*Claim) Reset

func (x *Claim) Reset()

func (*Claim) String

func (x *Claim) String() string

type ClassesClient

type ClassesClient interface {
	ReadClass(ctx context.Context, in *ReadClassRequest, opts ...grpc.CallOption) (*ReadClassResponse, error)
	UpdateClass(ctx context.Context, in *UpdateClassRequest, opts ...grpc.CallOption) (*UpdateClassResponse, error)
	SearchClasses(ctx context.Context, in *SearchClassesRequest, opts ...grpc.CallOption) (*SearchClassesResponse, error)
}

ClassesClient is the client API for Classes service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewClassesClient

func NewClassesClient(cc grpc.ClientConnInterface) ClassesClient

type ClassesServer

type ClassesServer interface {
	ReadClass(context.Context, *ReadClassRequest) (*ReadClassResponse, error)
	UpdateClass(context.Context, *UpdateClassRequest) (*UpdateClassResponse, error)
	SearchClasses(context.Context, *SearchClassesRequest) (*SearchClassesResponse, error)
	// contains filtered or unexported methods
}

ClassesServer is the server API for Classes service. All implementations must embed UnimplementedClassesServer for forward compatibility.

type CreateDeviceRequest

type CreateDeviceRequest struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"` // string password = 2;
	// contains filtered or unexported fields
}

POST /devices

func (*CreateDeviceRequest) Descriptor deprecated

func (*CreateDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateDeviceRequest.ProtoReflect.Descriptor instead.

func (*CreateDeviceRequest) GetDevice

func (x *CreateDeviceRequest) GetDevice() *Device

func (*CreateDeviceRequest) ProtoMessage

func (*CreateDeviceRequest) ProtoMessage()

func (*CreateDeviceRequest) ProtoReflect

func (x *CreateDeviceRequest) ProtoReflect() protoreflect.Message

func (*CreateDeviceRequest) Reset

func (x *CreateDeviceRequest) Reset()

func (*CreateDeviceRequest) String

func (x *CreateDeviceRequest) String() string

type CreateDeviceResponse

type CreateDeviceResponse struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateDeviceResponse) Descriptor deprecated

func (*CreateDeviceResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateDeviceResponse.ProtoReflect.Descriptor instead.

func (*CreateDeviceResponse) GetDevice

func (x *CreateDeviceResponse) GetDevice() *Device

func (*CreateDeviceResponse) ProtoMessage

func (*CreateDeviceResponse) ProtoMessage()

func (*CreateDeviceResponse) ProtoReflect

func (x *CreateDeviceResponse) ProtoReflect() protoreflect.Message

func (*CreateDeviceResponse) Reset

func (x *CreateDeviceResponse) Reset()

func (*CreateDeviceResponse) String

func (x *CreateDeviceResponse) String() string

type CreateDomainRequest

type CreateDomainRequest struct {
	Organization *Organization `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`
	Superuser    string        `protobuf:"bytes,2,opt,name=superuser,proto3" json:"superuser,omitempty"`
	Password     string        `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`
	// contains filtered or unexported fields
}

POST /domains

func (*CreateDomainRequest) Descriptor deprecated

func (*CreateDomainRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateDomainRequest.ProtoReflect.Descriptor instead.

func (*CreateDomainRequest) GetOrganization

func (x *CreateDomainRequest) GetOrganization() *Organization

func (*CreateDomainRequest) GetPassword

func (x *CreateDomainRequest) GetPassword() string

func (*CreateDomainRequest) GetSuperuser

func (x *CreateDomainRequest) GetSuperuser() string

func (*CreateDomainRequest) ProtoMessage

func (*CreateDomainRequest) ProtoMessage()

func (*CreateDomainRequest) ProtoReflect

func (x *CreateDomainRequest) ProtoReflect() protoreflect.Message

func (*CreateDomainRequest) Reset

func (x *CreateDomainRequest) Reset()

func (*CreateDomainRequest) String

func (x *CreateDomainRequest) String() string

type CreateDomainResponse

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

func (*CreateDomainResponse) Descriptor deprecated

func (*CreateDomainResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateDomainResponse.ProtoReflect.Descriptor instead.

func (*CreateDomainResponse) ProtoMessage

func (*CreateDomainResponse) ProtoMessage()

func (*CreateDomainResponse) ProtoReflect

func (x *CreateDomainResponse) ProtoReflect() protoreflect.Message

func (*CreateDomainResponse) Reset

func (x *CreateDomainResponse) Reset()

func (*CreateDomainResponse) String

func (x *CreateDomainResponse) String() string

type CreateRoleRequest

type CreateRoleRequest struct {
	Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"` // entity to be created
	// ----- Query parameters -----
	// Optional. Source role unique identifier
	// to copy access (+default) control list from
	CopyId int64 `protobuf:"varint,2,opt,name=copy_id,json=copyId,proto3" json:"copy_id,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateRoleRequest) Descriptor deprecated

func (*CreateRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateRoleRequest.ProtoReflect.Descriptor instead.

func (*CreateRoleRequest) GetCopyId

func (x *CreateRoleRequest) GetCopyId() int64

func (*CreateRoleRequest) GetRole

func (x *CreateRoleRequest) GetRole() *Role

func (*CreateRoleRequest) ProtoMessage

func (*CreateRoleRequest) ProtoMessage()

func (*CreateRoleRequest) ProtoReflect

func (x *CreateRoleRequest) ProtoReflect() protoreflect.Message

func (*CreateRoleRequest) Reset

func (x *CreateRoleRequest) Reset()

func (*CreateRoleRequest) String

func (x *CreateRoleRequest) String() string

type CreateRoleResponse

type CreateRoleResponse struct {
	Created *Role `protobuf:"bytes,1,opt,name=created,proto3" json:"created,omitempty"` // entity to be created
	// contains filtered or unexported fields
}

func (*CreateRoleResponse) Descriptor deprecated

func (*CreateRoleResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateRoleResponse.ProtoReflect.Descriptor instead.

func (*CreateRoleResponse) GetCreated

func (x *CreateRoleResponse) GetCreated() *Role

func (*CreateRoleResponse) ProtoMessage

func (*CreateRoleResponse) ProtoMessage()

func (*CreateRoleResponse) ProtoReflect

func (x *CreateRoleResponse) ProtoReflect() protoreflect.Message

func (*CreateRoleResponse) Reset

func (x *CreateRoleResponse) Reset()

func (*CreateRoleResponse) String

func (x *CreateRoleResponse) String() string

type CreateUserRequest

type CreateUserRequest struct {
	User            *User  `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`                                              // user entity to be created
	UserPassword    string `protobuf:"bytes,2,opt,name=user_password,json=userPassword,proto3" json:"user_password,omitempty"`          // cleartext passphrase
	ConfirmPassword string `protobuf:"bytes,3,opt,name=confirm_password,json=confirmPassword,proto3" json:"confirm_password,omitempty"` // cleartext passphrase
	// contains filtered or unexported fields
}

func (*CreateUserRequest) Descriptor deprecated

func (*CreateUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead.

func (*CreateUserRequest) GetConfirmPassword

func (x *CreateUserRequest) GetConfirmPassword() string

func (*CreateUserRequest) GetUser

func (x *CreateUserRequest) GetUser() *User

func (*CreateUserRequest) GetUserPassword

func (x *CreateUserRequest) GetUserPassword() string

func (*CreateUserRequest) ProtoMessage

func (*CreateUserRequest) ProtoMessage()

func (*CreateUserRequest) ProtoReflect

func (x *CreateUserRequest) ProtoReflect() protoreflect.Message

func (*CreateUserRequest) Reset

func (x *CreateUserRequest) Reset()

func (*CreateUserRequest) String

func (x *CreateUserRequest) String() string

type CreateUserResponse

type CreateUserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*CreateUserResponse) Descriptor deprecated

func (*CreateUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use CreateUserResponse.ProtoReflect.Descriptor instead.

func (*CreateUserResponse) GetUser

func (x *CreateUserResponse) GetUser() *User

func (*CreateUserResponse) ProtoMessage

func (*CreateUserResponse) ProtoMessage()

func (*CreateUserResponse) ProtoReflect

func (x *CreateUserResponse) ProtoReflect() protoreflect.Message

func (*CreateUserResponse) Reset

func (x *CreateUserResponse) Reset()

func (*CreateUserResponse) String

func (x *CreateUserResponse) String() string

type Customer

type Customer struct {
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` // serial number assigned (global::Customer-ID)
	// string version = 2; // version
	// local store details
	CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // local created ms
	UpdatedAt int64 `protobuf:"varint,3,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // last uploaded ms
	RevokedAt int64 `protobuf:"varint,4,opt,name=revoked_at,json=revokedAt,proto3" json:"revoked_at,omitempty"` // local revoked ms
	// registration name
	Organization string `protobuf:"bytes,5,opt,name=organization,proto3" json:"organization,omitempty"`
	// validity boundaries
	IssuedAt  int64 `protobuf:"varint,6,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`    // [required] issuer(CA) created at
	NotBefore int64 `protobuf:"varint,7,opt,name=not_before,json=notBefore,proto3" json:"not_before,omitempty"` // [optional] valid from
	NotAfter  int64 `protobuf:"varint,8,opt,name=not_after,json=notAfter,proto3" json:"not_after,omitempty"`    // [required] valid till
	// signature validity
	ThisUpdate int64 `protobuf:"varint,9,opt,name=this_update,json=thisUpdate,proto3" json:"this_update,omitempty"`  // [optional]: issuer(CA) signed at
	NextUpdate int64 `protobuf:"varint,10,opt,name=next_update,json=nextUpdate,proto3" json:"next_update,omitempty"` // [optional]: signature expires; update required after
	// Verification status
	Verify *Verification `protobuf:"bytes,11,opt,name=verify,proto3" json:"verify,omitempty"` // [optional] validation results
	// extensions granted
	Limit map[string]int32 `` // defines map[class]limit usage
	/* 139-byte string literal not displayed */
	// int32 competitive = 13; // zero-based competitive sessions limit ?
	License []*LicenseV1 `protobuf:"bytes,14,rep,name=license,proto3" json:"license,omitempty"` // grants issued
	Dnsrv   []*ObjectId  `protobuf:"bytes,15,rep,name=dnsrv,proto3" json:"dnsrv,omitempty"`     // [optional] domains
	// contains filtered or unexported fields
}

func (*Customer) Descriptor deprecated

func (*Customer) Descriptor() ([]byte, []int)

Deprecated: Use Customer.ProtoReflect.Descriptor instead.

func (*Customer) GetCreatedAt

func (x *Customer) GetCreatedAt() int64

func (*Customer) GetDnsrv

func (x *Customer) GetDnsrv() []*ObjectId

func (*Customer) GetId

func (x *Customer) GetId() string

func (*Customer) GetIssuedAt

func (x *Customer) GetIssuedAt() int64

func (*Customer) GetLicense

func (x *Customer) GetLicense() []*LicenseV1

func (*Customer) GetLimit

func (x *Customer) GetLimit() map[string]int32

func (*Customer) GetNextUpdate

func (x *Customer) GetNextUpdate() int64

func (*Customer) GetNotAfter

func (x *Customer) GetNotAfter() int64

func (*Customer) GetNotBefore

func (x *Customer) GetNotBefore() int64

func (*Customer) GetOrganization

func (x *Customer) GetOrganization() string

func (*Customer) GetRevokedAt

func (x *Customer) GetRevokedAt() int64

func (*Customer) GetThisUpdate

func (x *Customer) GetThisUpdate() int64

func (*Customer) GetUpdatedAt

func (x *Customer) GetUpdatedAt() int64

func (*Customer) GetVerify

func (x *Customer) GetVerify() *Verification

func (*Customer) ProtoMessage

func (*Customer) ProtoMessage()

func (*Customer) ProtoReflect

func (x *Customer) ProtoReflect() protoreflect.Message

func (*Customer) Reset

func (x *Customer) Reset()

func (*Customer) String

func (x *Customer) String() string

type CustomersClient

type CustomersClient interface {
	ServerInfo(ctx context.Context, in *ServerInfoRequest, opts ...grpc.CallOption) (*ServerInfoResponse, error)
	// rpc GetCertificate(CertificateUsageRequest) returns (CertificateUsageResponse) {}
	GetCustomer(ctx context.Context, in *GetCustomerRequest, opts ...grpc.CallOption) (*GetCustomerResponse, error)
	UpdateCustomer(ctx context.Context, in *UpdateCustomerRequest, opts ...grpc.CallOption) (*UpdateCustomerResponse, error)
	LicenseUsage(ctx context.Context, in *LicenseUsageRequest, opts ...grpc.CallOption) (*LicenseUsageResponse, error)
	LicenseUsers(ctx context.Context, in *LicenseUsersRequest, opts ...grpc.CallOption) (*LicenseUsersResponse, error)
}

CustomersClient is the client API for Customers service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewCustomersClient

func NewCustomersClient(cc grpc.ClientConnInterface) CustomersClient

type CustomersServer

type CustomersServer interface {
	ServerInfo(context.Context, *ServerInfoRequest) (*ServerInfoResponse, error)
	// rpc GetCertificate(CertificateUsageRequest) returns (CertificateUsageResponse) {}
	GetCustomer(context.Context, *GetCustomerRequest) (*GetCustomerResponse, error)
	UpdateCustomer(context.Context, *UpdateCustomerRequest) (*UpdateCustomerResponse, error)
	LicenseUsage(context.Context, *LicenseUsageRequest) (*LicenseUsageResponse, error)
	LicenseUsers(context.Context, *LicenseUsersRequest) (*LicenseUsersResponse, error)
	// contains filtered or unexported methods
}

CustomersServer is the server API for Customers service. All implementations must embed UnimplementedCustomersServer for forward compatibility.

type DeleteDeviceRequest

type DeleteDeviceRequest struct {
	Id        int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Permanent bool    `protobuf:"varint,2,opt,name=permanent,proto3" json:"permanent,omitempty"`
	Ids       []int64 `protobuf:"varint,3,rep,packed,name=ids,proto3" json:"ids,omitempty"` // bulk
	// contains filtered or unexported fields
}

DELETE /devices/{id}

func (*DeleteDeviceRequest) Descriptor deprecated

func (*DeleteDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteDeviceRequest.ProtoReflect.Descriptor instead.

func (*DeleteDeviceRequest) GetId

func (x *DeleteDeviceRequest) GetId() int64

func (*DeleteDeviceRequest) GetIds

func (x *DeleteDeviceRequest) GetIds() []int64

func (*DeleteDeviceRequest) GetPermanent

func (x *DeleteDeviceRequest) GetPermanent() bool

func (*DeleteDeviceRequest) ProtoMessage

func (*DeleteDeviceRequest) ProtoMessage()

func (*DeleteDeviceRequest) ProtoReflect

func (x *DeleteDeviceRequest) ProtoReflect() protoreflect.Message

func (*DeleteDeviceRequest) Reset

func (x *DeleteDeviceRequest) Reset()

func (*DeleteDeviceRequest) String

func (x *DeleteDeviceRequest) String() string

type DeleteDeviceResponse

type DeleteDeviceResponse struct {
	Deleted []*Device `protobuf:"bytes,1,rep,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteDeviceResponse) Descriptor deprecated

func (*DeleteDeviceResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteDeviceResponse.ProtoReflect.Descriptor instead.

func (*DeleteDeviceResponse) GetDeleted

func (x *DeleteDeviceResponse) GetDeleted() []*Device

func (*DeleteDeviceResponse) ProtoMessage

func (*DeleteDeviceResponse) ProtoMessage()

func (*DeleteDeviceResponse) ProtoReflect

func (x *DeleteDeviceResponse) ProtoReflect() protoreflect.Message

func (*DeleteDeviceResponse) Reset

func (x *DeleteDeviceResponse) Reset()

func (*DeleteDeviceResponse) String

func (x *DeleteDeviceResponse) String() string

type DeleteDomainRequest

type DeleteDomainRequest struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Dc     int64  `protobuf:"varint,2,opt,name=dc,proto3" json:"dc,omitempty"`
	// contains filtered or unexported fields
}

DELETE /domain/{dc}

func (*DeleteDomainRequest) Descriptor deprecated

func (*DeleteDomainRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteDomainRequest.ProtoReflect.Descriptor instead.

func (*DeleteDomainRequest) GetDc

func (x *DeleteDomainRequest) GetDc() int64

func (*DeleteDomainRequest) GetDomain

func (x *DeleteDomainRequest) GetDomain() string

func (*DeleteDomainRequest) ProtoMessage

func (*DeleteDomainRequest) ProtoMessage()

func (*DeleteDomainRequest) ProtoReflect

func (x *DeleteDomainRequest) ProtoReflect() protoreflect.Message

func (*DeleteDomainRequest) Reset

func (x *DeleteDomainRequest) Reset()

func (*DeleteDomainRequest) String

func (x *DeleteDomainRequest) String() string

type DeleteDomainResponse

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

func (*DeleteDomainResponse) Descriptor deprecated

func (*DeleteDomainResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteDomainResponse.ProtoReflect.Descriptor instead.

func (*DeleteDomainResponse) ProtoMessage

func (*DeleteDomainResponse) ProtoMessage()

func (*DeleteDomainResponse) ProtoReflect

func (x *DeleteDomainResponse) ProtoReflect() protoreflect.Message

func (*DeleteDomainResponse) Reset

func (x *DeleteDomainResponse) Reset()

func (*DeleteDomainResponse) String

func (x *DeleteDomainResponse) String() string

type DeleteLDAPRequest

type DeleteLDAPRequest struct {

	// catalog id
	Id             int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	RelatedObjects bool  `protobuf:"varint,2,opt,name=related_objects,json=relatedObjects,proto3" json:"related_objects,omitempty"` // WITH objects bound to ?
	// contains filtered or unexported fields
}

func (*DeleteLDAPRequest) Descriptor deprecated

func (*DeleteLDAPRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteLDAPRequest.ProtoReflect.Descriptor instead.

func (*DeleteLDAPRequest) GetId

func (x *DeleteLDAPRequest) GetId() int64

func (*DeleteLDAPRequest) GetRelatedObjects

func (x *DeleteLDAPRequest) GetRelatedObjects() bool

func (*DeleteLDAPRequest) ProtoMessage

func (*DeleteLDAPRequest) ProtoMessage()

func (*DeleteLDAPRequest) ProtoReflect

func (x *DeleteLDAPRequest) ProtoReflect() protoreflect.Message

func (*DeleteLDAPRequest) Reset

func (x *DeleteLDAPRequest) Reset()

func (*DeleteLDAPRequest) String

func (x *DeleteLDAPRequest) String() string

type DeleteOAuthServiceRequest

type DeleteOAuthServiceRequest struct {
	Id        []int64 `protobuf:"varint,1,rep,packed,name=id,proto3" json:"id,omitempty"`
	Permanent bool    `protobuf:"varint,2,opt,name=permanent,proto3" json:"permanent,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteOAuthServiceRequest) Descriptor deprecated

func (*DeleteOAuthServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOAuthServiceRequest.ProtoReflect.Descriptor instead.

func (*DeleteOAuthServiceRequest) GetId

func (x *DeleteOAuthServiceRequest) GetId() []int64

func (*DeleteOAuthServiceRequest) GetPermanent

func (x *DeleteOAuthServiceRequest) GetPermanent() bool

func (*DeleteOAuthServiceRequest) ProtoMessage

func (*DeleteOAuthServiceRequest) ProtoMessage()

func (*DeleteOAuthServiceRequest) ProtoReflect

func (*DeleteOAuthServiceRequest) Reset

func (x *DeleteOAuthServiceRequest) Reset()

func (*DeleteOAuthServiceRequest) String

func (x *DeleteOAuthServiceRequest) String() string

type DeleteOAuthServiceResponse

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

func (*DeleteOAuthServiceResponse) Descriptor deprecated

func (*DeleteOAuthServiceResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteOAuthServiceResponse.ProtoReflect.Descriptor instead.

func (*DeleteOAuthServiceResponse) ProtoMessage

func (*DeleteOAuthServiceResponse) ProtoMessage()

func (*DeleteOAuthServiceResponse) ProtoReflect

func (*DeleteOAuthServiceResponse) Reset

func (x *DeleteOAuthServiceResponse) Reset()

func (*DeleteOAuthServiceResponse) String

func (x *DeleteOAuthServiceResponse) String() string

type DeleteRoleRequest

type DeleteRoleRequest struct {
	Id        int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`               // DELETE /roles/{id}
	Ids       []int64 `protobuf:"varint,2,rep,packed,name=ids,proto3" json:"ids,omitempty"`      // POST /roles/delete {"ids"}
	Permanent bool    `protobuf:"varint,3,opt,name=permanent,proto3" json:"permanent,omitempty"` // deleteOrMark 'deleted' ?
	// contains filtered or unexported fields
}

func (*DeleteRoleRequest) Descriptor deprecated

func (*DeleteRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRoleRequest.ProtoReflect.Descriptor instead.

func (*DeleteRoleRequest) GetId

func (x *DeleteRoleRequest) GetId() int64

func (*DeleteRoleRequest) GetIds

func (x *DeleteRoleRequest) GetIds() []int64

func (*DeleteRoleRequest) GetPermanent

func (x *DeleteRoleRequest) GetPermanent() bool

func (*DeleteRoleRequest) ProtoMessage

func (*DeleteRoleRequest) ProtoMessage()

func (*DeleteRoleRequest) ProtoReflect

func (x *DeleteRoleRequest) ProtoReflect() protoreflect.Message

func (*DeleteRoleRequest) Reset

func (x *DeleteRoleRequest) Reset()

func (*DeleteRoleRequest) String

func (x *DeleteRoleRequest) String() string

type DeleteRoleResponse

type DeleteRoleResponse struct {
	Deleted *Role `protobuf:"bytes,1,opt,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteRoleResponse) Descriptor deprecated

func (*DeleteRoleResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteRoleResponse.ProtoReflect.Descriptor instead.

func (*DeleteRoleResponse) GetDeleted

func (x *DeleteRoleResponse) GetDeleted() *Role

func (*DeleteRoleResponse) ProtoMessage

func (*DeleteRoleResponse) ProtoMessage()

func (*DeleteRoleResponse) ProtoReflect

func (x *DeleteRoleResponse) ProtoReflect() protoreflect.Message

func (*DeleteRoleResponse) Reset

func (x *DeleteRoleResponse) Reset()

func (*DeleteRoleResponse) String

func (x *DeleteRoleResponse) String() string

type DeleteUserAccessTokenRequest

type DeleteUserAccessTokenRequest struct {
	Id   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`     // tokenKey::uuid
	User *ObjectId `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // [filter] additional
	// contains filtered or unexported fields
}

func (*DeleteUserAccessTokenRequest) Descriptor deprecated

func (*DeleteUserAccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUserAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*DeleteUserAccessTokenRequest) GetId

func (*DeleteUserAccessTokenRequest) GetUser

func (x *DeleteUserAccessTokenRequest) GetUser() *ObjectId

func (*DeleteUserAccessTokenRequest) ProtoMessage

func (*DeleteUserAccessTokenRequest) ProtoMessage()

func (*DeleteUserAccessTokenRequest) ProtoReflect

func (*DeleteUserAccessTokenRequest) Reset

func (x *DeleteUserAccessTokenRequest) Reset()

func (*DeleteUserAccessTokenRequest) String

type DeleteUsersRequest

type DeleteUsersRequest struct {
	Id        int64   `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                      // ONE /users/{id}
	Selection []int64 `protobuf:"varint,2,rep,packed,name=selection,proto3" json:"selection,omitempty"` // MANY /users .ids=[id,...]
	Permanent bool    `protobuf:"varint,3,opt,name=permanent,proto3" json:"permanent,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUsersRequest) Descriptor deprecated

func (*DeleteUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUsersRequest.ProtoReflect.Descriptor instead.

func (*DeleteUsersRequest) GetId

func (x *DeleteUsersRequest) GetId() int64

func (*DeleteUsersRequest) GetPermanent

func (x *DeleteUsersRequest) GetPermanent() bool

func (*DeleteUsersRequest) GetSelection

func (x *DeleteUsersRequest) GetSelection() []int64

func (*DeleteUsersRequest) ProtoMessage

func (*DeleteUsersRequest) ProtoMessage()

func (*DeleteUsersRequest) ProtoReflect

func (x *DeleteUsersRequest) ProtoReflect() protoreflect.Message

func (*DeleteUsersRequest) Reset

func (x *DeleteUsersRequest) Reset()

func (*DeleteUsersRequest) String

func (x *DeleteUsersRequest) String() string

type DeleteUsersResponse

type DeleteUsersResponse struct {
	Deleted []*User `protobuf:"bytes,1,rep,name=deleted,proto3" json:"deleted,omitempty"`
	// contains filtered or unexported fields
}

func (*DeleteUsersResponse) Descriptor deprecated

func (*DeleteUsersResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeleteUsersResponse.ProtoReflect.Descriptor instead.

func (*DeleteUsersResponse) GetDeleted

func (x *DeleteUsersResponse) GetDeleted() []*User

func (*DeleteUsersResponse) ProtoMessage

func (*DeleteUsersResponse) ProtoMessage()

func (*DeleteUsersResponse) ProtoReflect

func (x *DeleteUsersResponse) ProtoReflect() protoreflect.Message

func (*DeleteUsersResponse) Reset

func (x *DeleteUsersResponse) Reset()

func (*DeleteUsersResponse) String

func (x *DeleteUsersResponse) String() string

type Device

type Device struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // object id
	// kind of
	// DeviceType type = 19;
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // display name
	// credentials
	Account  string  `protobuf:"bytes,3,opt,name=account,proto3" json:"account,omitempty"`   // username
	Password string  `protobuf:"bytes,4,opt,name=password,proto3" json:"password,omitempty"` // password
	User     *UserId `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"`         // [optional] The user that 'owns' the device;
	LoggedIn int64   `protobuf:"varint,6,opt,name=logged_in,json=loggedIn,proto3" json:"logged_in,omitempty"`
	// Hotdesk: this workstation aliases
	Hotdesk   bool              `protobuf:"varint,7,opt,name=hotdesk,proto3" json:"hotdesk,omitempty"`  // act as a hotdesk
	Hotdesks  []string          `protobuf:"bytes,8,rep,name=hotdesks,proto3" json:"hotdesks,omitempty"` // associated aliases
	Provision map[string]string ``                                                                      // provision extra data
	/* 145-byte string literal not displayed */
	// provision
	Brand string `protobuf:"bytes,10,opt,name=brand,proto3" json:"brand,omitempty"` // vendor brand name
	Model string `protobuf:"bytes,11,opt,name=model,proto3" json:"model,omitempty"`
	// static
	Mac       string  `protobuf:"bytes,12,opt,name=mac,proto3" json:"mac,omitempty"`
	Ip        string  `protobuf:"bytes,13,opt,name=ip,proto3" json:"ip,omitempty"`
	Reged     bool    `protobuf:"varint,15,opt,name=reged,proto3" json:"reged,omitempty"`
	CreatedAt int64   `protobuf:"varint,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // unix
	CreatedBy *UserId `protobuf:"bytes,21,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`  // user
	UpdatedAt int64   `protobuf:"varint,22,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // unix
	UpdatedBy *UserId `protobuf:"bytes,23,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`  // user
	DeletedAt int64   `protobuf:"varint,24,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // unix
	DeletedBy *UserId `protobuf:"bytes,25,opt,name=deleted_by,json=deletedBy,proto3" json:"deleted_by,omitempty"`  // user
	// contains filtered or unexported fields
}

Device profile

func (*Device) Descriptor deprecated

func (*Device) Descriptor() ([]byte, []int)

Deprecated: Use Device.ProtoReflect.Descriptor instead.

func (*Device) GetAccount

func (x *Device) GetAccount() string

func (*Device) GetBrand

func (x *Device) GetBrand() string

func (*Device) GetCreatedAt

func (x *Device) GetCreatedAt() int64

func (*Device) GetCreatedBy

func (x *Device) GetCreatedBy() *UserId

func (*Device) GetDeletedAt

func (x *Device) GetDeletedAt() int64

func (*Device) GetDeletedBy

func (x *Device) GetDeletedBy() *UserId

func (*Device) GetHotdesk

func (x *Device) GetHotdesk() bool

func (*Device) GetHotdesks

func (x *Device) GetHotdesks() []string

func (*Device) GetId

func (x *Device) GetId() int64

func (*Device) GetIp

func (x *Device) GetIp() string

func (*Device) GetLoggedIn

func (x *Device) GetLoggedIn() int64

func (*Device) GetMac

func (x *Device) GetMac() string

func (*Device) GetModel

func (x *Device) GetModel() string

func (*Device) GetName

func (x *Device) GetName() string

func (*Device) GetPassword

func (x *Device) GetPassword() string

func (*Device) GetProvision

func (x *Device) GetProvision() map[string]string

func (*Device) GetReged

func (x *Device) GetReged() bool

func (*Device) GetUpdatedAt

func (x *Device) GetUpdatedAt() int64

func (*Device) GetUpdatedBy

func (x *Device) GetUpdatedBy() *UserId

func (*Device) GetUser

func (x *Device) GetUser() *UserId

func (*Device) ProtoMessage

func (*Device) ProtoMessage()

func (*Device) ProtoReflect

func (x *Device) ProtoReflect() protoreflect.Message

func (*Device) Reset

func (x *Device) Reset()

func (*Device) String

func (x *Device) String() string

type DeviceAudit

type DeviceAudit struct {
	User      *UserId   `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`     // /devices/:id/audit related
	Device    *DeviceId `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` // /users/:id/audit related
	Hotdesk   string    `protobuf:"bytes,3,opt,name=hotdesk,proto3" json:"hotdesk,omitempty"`
	LoggedIn  int64     `protobuf:"varint,4,opt,name=logged_in,json=loggedIn,proto3" json:"logged_in,omitempty"`
	LoggedOut int64     `protobuf:"varint,5,opt,name=logged_out,json=loggedOut,proto3" json:"logged_out,omitempty"`
	// contains filtered or unexported fields
}

Device login audit

func (*DeviceAudit) Descriptor deprecated

func (*DeviceAudit) Descriptor() ([]byte, []int)

Deprecated: Use DeviceAudit.ProtoReflect.Descriptor instead.

func (*DeviceAudit) GetDevice

func (x *DeviceAudit) GetDevice() *DeviceId

func (*DeviceAudit) GetHotdesk

func (x *DeviceAudit) GetHotdesk() string

func (*DeviceAudit) GetLoggedIn

func (x *DeviceAudit) GetLoggedIn() int64

func (*DeviceAudit) GetLoggedOut

func (x *DeviceAudit) GetLoggedOut() int64

func (*DeviceAudit) GetUser

func (x *DeviceAudit) GetUser() *UserId

func (*DeviceAudit) ProtoMessage

func (*DeviceAudit) ProtoMessage()

func (*DeviceAudit) ProtoReflect

func (x *DeviceAudit) ProtoReflect() protoreflect.Message

func (*DeviceAudit) Reset

func (x *DeviceAudit) Reset()

func (*DeviceAudit) String

func (x *DeviceAudit) String() string

type DeviceAuditRequest

type DeviceAuditRequest struct {
	User   *UserId   `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Device *DeviceId `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
	// Filter: timing range (optional)
	TimeFrom int64 `protobuf:"varint,3,opt,name=time_from,json=timeFrom,proto3" json:"time_from,omitempty"` // unix milliseconds
	TimeTill int64 `protobuf:"varint,4,opt,name=time_till,json=timeTill,proto3" json:"time_till,omitempty"` // unix milliseconds
	// Search Options
	Fields []string `protobuf:"bytes,5,rep,name=fields,proto3" json:"fields,omitempty"`
	Sort   []string `protobuf:"bytes,6,rep,name=sort,proto3" json:"sort,omitempty"`
	Size   int32    `protobuf:"varint,7,opt,name=size,proto3" json:"size,omitempty"`
	Page   int32    `protobuf:"varint,8,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*DeviceAuditRequest) Descriptor deprecated

func (*DeviceAuditRequest) Descriptor() ([]byte, []int)

Deprecated: Use DeviceAuditRequest.ProtoReflect.Descriptor instead.

func (*DeviceAuditRequest) GetDevice

func (x *DeviceAuditRequest) GetDevice() *DeviceId

func (*DeviceAuditRequest) GetFields

func (x *DeviceAuditRequest) GetFields() []string

func (*DeviceAuditRequest) GetPage

func (x *DeviceAuditRequest) GetPage() int32

func (*DeviceAuditRequest) GetSize

func (x *DeviceAuditRequest) GetSize() int32

func (*DeviceAuditRequest) GetSort

func (x *DeviceAuditRequest) GetSort() []string

func (*DeviceAuditRequest) GetTimeFrom

func (x *DeviceAuditRequest) GetTimeFrom() int64

func (*DeviceAuditRequest) GetTimeTill

func (x *DeviceAuditRequest) GetTimeTill() int64

func (*DeviceAuditRequest) GetUser

func (x *DeviceAuditRequest) GetUser() *UserId

func (*DeviceAuditRequest) ProtoMessage

func (*DeviceAuditRequest) ProtoMessage()

func (*DeviceAuditRequest) ProtoReflect

func (x *DeviceAuditRequest) ProtoReflect() protoreflect.Message

func (*DeviceAuditRequest) Reset

func (x *DeviceAuditRequest) Reset()

func (*DeviceAuditRequest) String

func (x *DeviceAuditRequest) String() string

type DeviceAuditResponse

type DeviceAuditResponse struct {
	Page  int32          `protobuf:"varint,10,opt,name=page,proto3" json:"page,omitempty"` // select: offset {page}
	Size  int32          `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // search: limit {size}
	Next  bool           `protobuf:"varint,12,opt,name=next,proto3" json:"next,omitempty"` // search: has {next} page ?
	Items []*DeviceAudit `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // audit_logs
	// contains filtered or unexported fields
}

func (*DeviceAuditResponse) Descriptor deprecated

func (*DeviceAuditResponse) Descriptor() ([]byte, []int)

Deprecated: Use DeviceAuditResponse.ProtoReflect.Descriptor instead.

func (*DeviceAuditResponse) GetItems

func (x *DeviceAuditResponse) GetItems() []*DeviceAudit

func (*DeviceAuditResponse) GetNext

func (x *DeviceAuditResponse) GetNext() bool

func (*DeviceAuditResponse) GetPage

func (x *DeviceAuditResponse) GetPage() int32

func (*DeviceAuditResponse) GetSize

func (x *DeviceAuditResponse) GetSize() int32

func (*DeviceAuditResponse) ProtoMessage

func (*DeviceAuditResponse) ProtoMessage()

func (*DeviceAuditResponse) ProtoReflect

func (x *DeviceAuditResponse) ProtoReflect() protoreflect.Message

func (*DeviceAuditResponse) Reset

func (x *DeviceAuditResponse) Reset()

func (*DeviceAuditResponse) String

func (x *DeviceAuditResponse) String() string

type DeviceId

type DeviceId struct {
	Id   int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`    // Object ID
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Display Name
	// contains filtered or unexported fields
}

DeviceId lookup value

func (*DeviceId) Descriptor deprecated

func (*DeviceId) Descriptor() ([]byte, []int)

Deprecated: Use DeviceId.ProtoReflect.Descriptor instead.

func (*DeviceId) GetId

func (x *DeviceId) GetId() int64

func (*DeviceId) GetName

func (x *DeviceId) GetName() string

func (*DeviceId) ProtoMessage

func (*DeviceId) ProtoMessage()

func (*DeviceId) ProtoReflect

func (x *DeviceId) ProtoReflect() protoreflect.Message

func (*DeviceId) Reset

func (x *DeviceId) Reset()

func (*DeviceId) String

func (x *DeviceId) String() string

type DevicesClient

type DevicesClient interface {
	ReadDevice(ctx context.Context, in *ReadDeviceRequest, opts ...grpc.CallOption) (*ReadDeviceResponse, error)
	UpdateDevice(ctx context.Context, in *UpdateDeviceRequest, opts ...grpc.CallOption) (*UpdateDeviceResponse, error)
	DeleteDevice(ctx context.Context, in *DeleteDeviceRequest, opts ...grpc.CallOption) (*DeleteDeviceResponse, error)
	CreateDevice(ctx context.Context, in *CreateDeviceRequest, opts ...grpc.CallOption) (*CreateDeviceResponse, error)
	SearchDevice(ctx context.Context, in *SearchDeviceRequest, opts ...grpc.CallOption) (*SearchDeviceResponse, error)
	// ----- Details (1:M) ----------------------------------------------
	SearchDeviceAudit(ctx context.Context, in *DeviceAuditRequest, opts ...grpc.CallOption) (*DeviceAuditResponse, error)
	ListRegistrations(ctx context.Context, in *ListRegistrationsRequest, opts ...grpc.CallOption) (*ListRegistrationsResponse, error)
}

DevicesClient is the client API for Devices service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewDevicesClient

func NewDevicesClient(cc grpc.ClientConnInterface) DevicesClient

type DevicesServer

type DevicesServer interface {
	ReadDevice(context.Context, *ReadDeviceRequest) (*ReadDeviceResponse, error)
	UpdateDevice(context.Context, *UpdateDeviceRequest) (*UpdateDeviceResponse, error)
	DeleteDevice(context.Context, *DeleteDeviceRequest) (*DeleteDeviceResponse, error)
	CreateDevice(context.Context, *CreateDeviceRequest) (*CreateDeviceResponse, error)
	SearchDevice(context.Context, *SearchDeviceRequest) (*SearchDeviceResponse, error)
	// ----- Details (1:M) ----------------------------------------------
	SearchDeviceAudit(context.Context, *DeviceAuditRequest) (*DeviceAuditResponse, error)
	ListRegistrations(context.Context, *ListRegistrationsRequest) (*ListRegistrationsResponse, error)
	// contains filtered or unexported methods
}

DevicesServer is the server API for Devices service. All implementations must embed UnimplementedDevicesServer for forward compatibility.

type DomainsClient

type DomainsClient interface {
	ReadDomain(ctx context.Context, in *ReadDomainRequest, opts ...grpc.CallOption) (*ReadDomainResponse, error)
	UpdateDomain(ctx context.Context, in *UpdateDomainRequest, opts ...grpc.CallOption) (*UpdateDomainResponse, error)
	DeleteDomain(ctx context.Context, in *DeleteDomainRequest, opts ...grpc.CallOption) (*DeleteDomainResponse, error)
	CreateDomain(ctx context.Context, in *CreateDomainRequest, opts ...grpc.CallOption) (*CreateDomainResponse, error)
	SearchDomains(ctx context.Context, in *SearchDomainsRequest, opts ...grpc.CallOption) (*SearchDomainsResponse, error)
}

DomainsClient is the client API for Domains service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewDomainsClient

func NewDomainsClient(cc grpc.ClientConnInterface) DomainsClient

type DomainsServer

type DomainsServer interface {
	ReadDomain(context.Context, *ReadDomainRequest) (*ReadDomainResponse, error)
	UpdateDomain(context.Context, *UpdateDomainRequest) (*UpdateDomainResponse, error)
	DeleteDomain(context.Context, *DeleteDomainRequest) (*DeleteDomainResponse, error)
	CreateDomain(context.Context, *CreateDomainRequest) (*CreateDomainResponse, error)
	SearchDomains(context.Context, *SearchDomainsRequest) (*SearchDomainsResponse, error)
	// contains filtered or unexported methods
}

DomainsServer is the server API for Domains service. All implementations must embed UnimplementedDomainsServer for forward compatibility.

type ErrorResponse

type ErrorResponse struct {
	Error            string `protobuf:"bytes,1,opt,name=error,proto3" json:"error,omitempty"`
	ErrorDescription string `protobuf:"bytes,2,opt,name=error_description,json=errorDescription,proto3" json:"error_description,omitempty"`
	ErrorUri         string `protobuf:"bytes,3,opt,name=error_uri,json=errorUri,proto3" json:"error_uri,omitempty"`
	State            string `protobuf:"bytes,4,opt,name=state,proto3" json:"state,omitempty"`
	// contains filtered or unexported fields
}

func (*ErrorResponse) Descriptor deprecated

func (*ErrorResponse) Descriptor() ([]byte, []int)

Deprecated: Use ErrorResponse.ProtoReflect.Descriptor instead.

func (*ErrorResponse) GetError

func (x *ErrorResponse) GetError() string

func (*ErrorResponse) GetErrorDescription

func (x *ErrorResponse) GetErrorDescription() string

func (*ErrorResponse) GetErrorUri

func (x *ErrorResponse) GetErrorUri() string

func (*ErrorResponse) GetState

func (x *ErrorResponse) GetState() string

func (*ErrorResponse) ProtoMessage

func (*ErrorResponse) ProtoMessage()

func (*ErrorResponse) ProtoReflect

func (x *ErrorResponse) ProtoReflect() protoreflect.Message

func (*ErrorResponse) Reset

func (x *ErrorResponse) Reset()

func (*ErrorResponse) String

func (x *ErrorResponse) String() string

type GenerateTfaKeysForNecessaryUsersRequest

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

func (*GenerateTfaKeysForNecessaryUsersRequest) Descriptor deprecated

func (*GenerateTfaKeysForNecessaryUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateTfaKeysForNecessaryUsersRequest.ProtoReflect.Descriptor instead.

func (*GenerateTfaKeysForNecessaryUsersRequest) ProtoMessage

func (*GenerateTfaKeysForNecessaryUsersRequest) ProtoReflect

func (*GenerateTfaKeysForNecessaryUsersRequest) Reset

func (*GenerateTfaKeysForNecessaryUsersRequest) String

type GenerateTfaKeysForNecessaryUsersResponse

type GenerateTfaKeysForNecessaryUsersResponse struct {
	Affected int64 `protobuf:"varint,1,opt,name=affected,proto3" json:"affected,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateTfaKeysForNecessaryUsersResponse) Descriptor deprecated

func (*GenerateTfaKeysForNecessaryUsersResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateTfaKeysForNecessaryUsersResponse.ProtoReflect.Descriptor instead.

func (*GenerateTfaKeysForNecessaryUsersResponse) GetAffected

func (*GenerateTfaKeysForNecessaryUsersResponse) ProtoMessage

func (*GenerateTfaKeysForNecessaryUsersResponse) ProtoReflect

func (*GenerateTfaKeysForNecessaryUsersResponse) Reset

func (*GenerateTfaKeysForNecessaryUsersResponse) String

type GenerateUserTfaKeyRequest

type GenerateUserTfaKeyRequest struct {
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateUserTfaKeyRequest) Descriptor deprecated

func (*GenerateUserTfaKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GenerateUserTfaKeyRequest.ProtoReflect.Descriptor instead.

func (*GenerateUserTfaKeyRequest) GetUserId

func (x *GenerateUserTfaKeyRequest) GetUserId() int64

func (*GenerateUserTfaKeyRequest) ProtoMessage

func (*GenerateUserTfaKeyRequest) ProtoMessage()

func (*GenerateUserTfaKeyRequest) ProtoReflect

func (*GenerateUserTfaKeyRequest) Reset

func (x *GenerateUserTfaKeyRequest) Reset()

func (*GenerateUserTfaKeyRequest) String

func (x *GenerateUserTfaKeyRequest) String() string

type GenerateUserTfaKeyResponse

type GenerateUserTfaKeyResponse struct {
	Totp *TfaUrl `protobuf:"bytes,1,opt,name=totp,proto3" json:"totp,omitempty"`
	// contains filtered or unexported fields
}

func (*GenerateUserTfaKeyResponse) Descriptor deprecated

func (*GenerateUserTfaKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use GenerateUserTfaKeyResponse.ProtoReflect.Descriptor instead.

func (*GenerateUserTfaKeyResponse) GetTotp

func (x *GenerateUserTfaKeyResponse) GetTotp() *TfaUrl

func (*GenerateUserTfaKeyResponse) ProtoMessage

func (*GenerateUserTfaKeyResponse) ProtoMessage()

func (*GenerateUserTfaKeyResponse) ProtoReflect

func (*GenerateUserTfaKeyResponse) Reset

func (x *GenerateUserTfaKeyResponse) Reset()

func (*GenerateUserTfaKeyResponse) String

func (x *GenerateUserTfaKeyResponse) String() string

type GetCustomerRequest

type GetCustomerRequest struct {

	// Available Filters
	Id     string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`         // show by customer id; serial number (uuid)
	Valid  bool      `protobuf:"varint,2,opt,name=valid,proto3" json:"valid,omitempty"`  // show if valid only!
	Domain *ObjectId `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` // find by domain relation
	// Request Controls
	Fields []string `protobuf:"bytes,10,rep,name=fields,proto3" json:"fields,omitempty"` // serial,
	Sort   []string `protobuf:"bytes,11,rep,name=sort,proto3" json:"sort,omitempty"`
	// contains filtered or unexported fields
}

GET /customer:sessionCustomer GET /customers/{id}

func (*GetCustomerRequest) Descriptor deprecated

func (*GetCustomerRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCustomerRequest.ProtoReflect.Descriptor instead.

func (*GetCustomerRequest) GetDomain

func (x *GetCustomerRequest) GetDomain() *ObjectId

func (*GetCustomerRequest) GetFields

func (x *GetCustomerRequest) GetFields() []string

func (*GetCustomerRequest) GetId

func (x *GetCustomerRequest) GetId() string

func (*GetCustomerRequest) GetSort

func (x *GetCustomerRequest) GetSort() []string

func (*GetCustomerRequest) GetValid

func (x *GetCustomerRequest) GetValid() bool

func (*GetCustomerRequest) ProtoMessage

func (*GetCustomerRequest) ProtoMessage()

func (*GetCustomerRequest) ProtoReflect

func (x *GetCustomerRequest) ProtoReflect() protoreflect.Message

func (*GetCustomerRequest) Reset

func (x *GetCustomerRequest) Reset()

func (*GetCustomerRequest) String

func (x *GetCustomerRequest) String() string

type GetCustomerResponse

type GetCustomerResponse struct {
	Customer *Customer `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"`
	// contains filtered or unexported fields
}

func (*GetCustomerResponse) Descriptor deprecated

func (*GetCustomerResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetCustomerResponse.ProtoReflect.Descriptor instead.

func (*GetCustomerResponse) GetCustomer

func (x *GetCustomerResponse) GetCustomer() *Customer

func (*GetCustomerResponse) ProtoMessage

func (*GetCustomerResponse) ProtoMessage()

func (*GetCustomerResponse) ProtoReflect

func (x *GetCustomerResponse) ProtoReflect() protoreflect.Message

func (*GetCustomerResponse) Reset

func (x *GetCustomerResponse) Reset()

func (*GetCustomerResponse) String

func (x *GetCustomerResponse) String() string

type GetSettingsRequest

type GetSettingsRequest struct {
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*GetSettingsRequest) Descriptor deprecated

func (*GetSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSettingsRequest.ProtoReflect.Descriptor instead.

func (*GetSettingsRequest) GetKey

func (x *GetSettingsRequest) GetKey() string

func (*GetSettingsRequest) ProtoMessage

func (*GetSettingsRequest) ProtoMessage()

func (*GetSettingsRequest) ProtoReflect

func (x *GetSettingsRequest) ProtoReflect() protoreflect.Message

func (*GetSettingsRequest) Reset

func (x *GetSettingsRequest) Reset()

func (*GetSettingsRequest) String

func (x *GetSettingsRequest) String() string

type GetUserTfaKeyRequest

type GetUserTfaKeyRequest struct {
	UserId int64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserTfaKeyRequest) Descriptor deprecated

func (*GetUserTfaKeyRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserTfaKeyRequest.ProtoReflect.Descriptor instead.

func (*GetUserTfaKeyRequest) GetUserId

func (x *GetUserTfaKeyRequest) GetUserId() int64

func (*GetUserTfaKeyRequest) ProtoMessage

func (*GetUserTfaKeyRequest) ProtoMessage()

func (*GetUserTfaKeyRequest) ProtoReflect

func (x *GetUserTfaKeyRequest) ProtoReflect() protoreflect.Message

func (*GetUserTfaKeyRequest) Reset

func (x *GetUserTfaKeyRequest) Reset()

func (*GetUserTfaKeyRequest) String

func (x *GetUserTfaKeyRequest) String() string

type GetUserTfaKeyResponse

type GetUserTfaKeyResponse struct {
	Totp *TfaUrl `protobuf:"bytes,1,opt,name=totp,proto3" json:"totp,omitempty"`
	// contains filtered or unexported fields
}

func (*GetUserTfaKeyResponse) Descriptor deprecated

func (*GetUserTfaKeyResponse) Descriptor() ([]byte, []int)

Deprecated: Use GetUserTfaKeyResponse.ProtoReflect.Descriptor instead.

func (*GetUserTfaKeyResponse) GetTotp

func (x *GetUserTfaKeyResponse) GetTotp() *TfaUrl

func (*GetUserTfaKeyResponse) ProtoMessage

func (*GetUserTfaKeyResponse) ProtoMessage()

func (*GetUserTfaKeyResponse) ProtoReflect

func (x *GetUserTfaKeyResponse) ProtoReflect() protoreflect.Message

func (*GetUserTfaKeyResponse) Reset

func (x *GetUserTfaKeyResponse) Reset()

func (*GetUserTfaKeyResponse) String

func (x *GetUserTfaKeyResponse) String() string

type GrantAccessRequest

type GrantAccessRequest struct {
	Domain     string   `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Class      string   `protobuf:"bytes,2,opt,name=class,proto3" json:"class,omitempty"`
	Object     int64    `protobuf:"varint,3,opt,name=object,proto3" json:"object,omitempty"`        // class.object.id
	Subject    int64    `protobuf:"varint,4,opt,name=subject,proto3" json:"subject,omitempty"`      // grantee.role.id
	Privileges []string `protobuf:"bytes,5,rep,name=privileges,proto3" json:"privileges,omitempty"` // ["SEARCH","MODIFY","DELETE","CREATE"]
	Grantable  bool     `protobuf:"varint,6,opt,name=grantable,proto3" json:"grantable,omitempty"`  // WITH GRANT OPTION
	// contains filtered or unexported fields
}

func (*GrantAccessRequest) Descriptor deprecated

func (*GrantAccessRequest) Descriptor() ([]byte, []int)

Deprecated: Use GrantAccessRequest.ProtoReflect.Descriptor instead.

func (*GrantAccessRequest) GetClass

func (x *GrantAccessRequest) GetClass() string

func (*GrantAccessRequest) GetDomain

func (x *GrantAccessRequest) GetDomain() string

func (*GrantAccessRequest) GetGrantable

func (x *GrantAccessRequest) GetGrantable() bool

func (*GrantAccessRequest) GetObject

func (x *GrantAccessRequest) GetObject() int64

func (*GrantAccessRequest) GetPrivileges

func (x *GrantAccessRequest) GetPrivileges() []string

func (*GrantAccessRequest) GetSubject

func (x *GrantAccessRequest) GetSubject() int64

func (*GrantAccessRequest) ProtoMessage

func (*GrantAccessRequest) ProtoMessage()

func (*GrantAccessRequest) ProtoReflect

func (x *GrantAccessRequest) ProtoReflect() protoreflect.Message

func (*GrantAccessRequest) Reset

func (x *GrantAccessRequest) Reset()

func (*GrantAccessRequest) String

func (x *GrantAccessRequest) String() string

type GrantAccessRequestV1

type GrantAccessRequestV1 struct {

	// string class = 2;
	// int64 object = 3; // class.object.id
	Object  *ObjectId `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	Grantee int64     `protobuf:"varint,2,opt,name=grantee,proto3" json:"grantee,omitempty"` // grantee.role.id
	// repeated string privileges = 5; // ["SEARCH","MODIFY","DELETE","CREATE"]
	// bool grantable = 6; // WITH GRANT OPTION
	Grants string `protobuf:"bytes,3,opt,name=grants,proto3" json:"grants,omitempty"`
	// contains filtered or unexported fields
}

func (*GrantAccessRequestV1) Descriptor deprecated

func (*GrantAccessRequestV1) Descriptor() ([]byte, []int)

Deprecated: Use GrantAccessRequestV1.ProtoReflect.Descriptor instead.

func (*GrantAccessRequestV1) GetGrantee

func (x *GrantAccessRequestV1) GetGrantee() int64

func (*GrantAccessRequestV1) GetGrants

func (x *GrantAccessRequestV1) GetGrants() string

func (*GrantAccessRequestV1) GetObject

func (x *GrantAccessRequestV1) GetObject() *ObjectId

func (*GrantAccessRequestV1) ProtoMessage

func (*GrantAccessRequestV1) ProtoMessage()

func (*GrantAccessRequestV1) ProtoReflect

func (x *GrantAccessRequestV1) ProtoReflect() protoreflect.Message

func (*GrantAccessRequestV1) Reset

func (x *GrantAccessRequestV1) Reset()

func (*GrantAccessRequestV1) String

func (x *GrantAccessRequestV1) String() string

type GrantAccessResponse

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

func (*GrantAccessResponse) Descriptor deprecated

func (*GrantAccessResponse) Descriptor() ([]byte, []int)

Deprecated: Use GrantAccessResponse.ProtoReflect.Descriptor instead.

func (*GrantAccessResponse) ProtoMessage

func (*GrantAccessResponse) ProtoMessage()

func (*GrantAccessResponse) ProtoReflect

func (x *GrantAccessResponse) ProtoReflect() protoreflect.Message

func (*GrantAccessResponse) Reset

func (x *GrantAccessResponse) Reset()

func (*GrantAccessResponse) String

func (x *GrantAccessResponse) String() string

type GrantAccessResponseV1

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

replace with: Access.Rule

func (*GrantAccessResponseV1) Descriptor deprecated

func (*GrantAccessResponseV1) Descriptor() ([]byte, []int)

Deprecated: Use GrantAccessResponseV1.ProtoReflect.Descriptor instead.

func (*GrantAccessResponseV1) ProtoMessage

func (*GrantAccessResponseV1) ProtoMessage()

func (*GrantAccessResponseV1) ProtoReflect

func (x *GrantAccessResponseV1) ProtoReflect() protoreflect.Message

func (*GrantAccessResponseV1) Reset

func (x *GrantAccessResponseV1) Reset()

func (*GrantAccessResponseV1) String

func (x *GrantAccessResponseV1) String() string

type GrantCertificateRequest

type GrantCertificateRequest struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`                // domain relation
	Serial string `protobuf:"bytes,2,opt,name=serial,proto3" json:"serial,omitempty"`                // grants.serial
	UserId int64  `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // grantee
	// contains filtered or unexported fields
}

POST /user/{userId}/certificate/{serial}

func (*GrantCertificateRequest) Descriptor deprecated

func (*GrantCertificateRequest) Descriptor() ([]byte, []int)

Deprecated: Use GrantCertificateRequest.ProtoReflect.Descriptor instead.

func (*GrantCertificateRequest) GetDomain

func (x *GrantCertificateRequest) GetDomain() string

func (*GrantCertificateRequest) GetSerial

func (x *GrantCertificateRequest) GetSerial() string

func (*GrantCertificateRequest) GetUserId

func (x *GrantCertificateRequest) GetUserId() int64

func (*GrantCertificateRequest) ProtoMessage

func (*GrantCertificateRequest) ProtoMessage()

func (*GrantCertificateRequest) ProtoReflect

func (x *GrantCertificateRequest) ProtoReflect() protoreflect.Message

func (*GrantCertificateRequest) Reset

func (x *GrantCertificateRequest) Reset()

func (*GrantCertificateRequest) String

func (x *GrantCertificateRequest) String() string

type GrantCertificateResponse

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

func (*GrantCertificateResponse) Descriptor deprecated

func (*GrantCertificateResponse) Descriptor() ([]byte, []int)

Deprecated: Use GrantCertificateResponse.ProtoReflect.Descriptor instead.

func (*GrantCertificateResponse) ProtoMessage

func (*GrantCertificateResponse) ProtoMessage()

func (*GrantCertificateResponse) ProtoReflect

func (x *GrantCertificateResponse) ProtoReflect() protoreflect.Message

func (*GrantCertificateResponse) Reset

func (x *GrantCertificateResponse) Reset()

func (*GrantCertificateResponse) String

func (x *GrantCertificateResponse) String() string

type GrantRoleRequest

type GrantRoleRequest struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // domain relation
	Group  int64  `protobuf:"varint,2,opt,name=group,proto3" json:"group,omitempty"`  // role
	User   int64  `protobuf:"varint,3,opt,name=user,proto3" json:"user,omitempty"`    // member
	Admin  bool   `protobuf:"varint,4,opt,name=admin,proto3" json:"admin,omitempty"`  // option: is admin of the group
	// contains filtered or unexported fields
}

idempotent: set

func (*GrantRoleRequest) Descriptor deprecated

func (*GrantRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use GrantRoleRequest.ProtoReflect.Descriptor instead.

func (*GrantRoleRequest) GetAdmin

func (x *GrantRoleRequest) GetAdmin() bool

func (*GrantRoleRequest) GetDomain

func (x *GrantRoleRequest) GetDomain() string

func (*GrantRoleRequest) GetGroup

func (x *GrantRoleRequest) GetGroup() int64

func (*GrantRoleRequest) GetUser

func (x *GrantRoleRequest) GetUser() int64

func (*GrantRoleRequest) ProtoMessage

func (*GrantRoleRequest) ProtoMessage()

func (*GrantRoleRequest) ProtoReflect

func (x *GrantRoleRequest) ProtoReflect() protoreflect.Message

func (*GrantRoleRequest) Reset

func (x *GrantRoleRequest) Reset()

func (*GrantRoleRequest) String

func (x *GrantRoleRequest) String() string

type GrantRoleResponse

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

func (*GrantRoleResponse) Descriptor deprecated

func (*GrantRoleResponse) Descriptor() ([]byte, []int)

Deprecated: Use GrantRoleResponse.ProtoReflect.Descriptor instead.

func (*GrantRoleResponse) ProtoMessage

func (*GrantRoleResponse) ProtoMessage()

func (*GrantRoleResponse) ProtoReflect

func (x *GrantRoleResponse) ProtoReflect() protoreflect.Message

func (*GrantRoleResponse) Reset

func (x *GrantRoleResponse) Reset()

func (*GrantRoleResponse) String

func (x *GrantRoleResponse) String() string

type Hotdesk

type Hotdesk struct {
	Disabled bool `protobuf:"varint,1,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// Set-of domain unique id(s)
	Alias []string `protobuf:"bytes,2,rep,name=alias,proto3" json:"alias,omitempty"` // [optional] implicit .[id|mac|ip|account]
	// The user(s) currently hotdesked into the device
	Users []*HotdeskUser `protobuf:"bytes,3,rep,name=users,proto3" json:"users,omitempty"` // repeated ObjectId users = 3;
	// contains filtered or unexported fields
}

The hotdesk status of this device

func (*Hotdesk) Descriptor deprecated

func (*Hotdesk) Descriptor() ([]byte, []int)

Deprecated: Use Hotdesk.ProtoReflect.Descriptor instead.

func (*Hotdesk) GetAlias

func (x *Hotdesk) GetAlias() []string

func (*Hotdesk) GetDisabled

func (x *Hotdesk) GetDisabled() bool

func (*Hotdesk) GetUsers

func (x *Hotdesk) GetUsers() []*HotdeskUser

func (*Hotdesk) ProtoMessage

func (*Hotdesk) ProtoMessage()

func (*Hotdesk) ProtoReflect

func (x *Hotdesk) ProtoReflect() protoreflect.Message

func (*Hotdesk) Reset

func (x *Hotdesk) Reset()

func (*Hotdesk) String

func (x *Hotdesk) String() string

type HotdeskUser

type HotdeskUser struct {
	User      *UserId `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`                             // currently hotdesked user.id
	Hotdesk   string  `protobuf:"bytes,2,opt,name=hotdesk,proto3" json:"hotdesk,omitempty"`                       // [optional] hotdesk signed-in
	SignedIn  int64   `protobuf:"varint,3,opt,name=signed_in,json=signedIn,proto3" json:"signed_in,omitempty"`    // [required] session opened at ...
	SignedOut int64   `protobuf:"varint,4,opt,name=signed_out,json=signedOut,proto3" json:"signed_out,omitempty"` // [optional] session closed at ...
	// contains filtered or unexported fields
}

Hotdesk-ed user session

func (*HotdeskUser) Descriptor deprecated

func (*HotdeskUser) Descriptor() ([]byte, []int)

Deprecated: Use HotdeskUser.ProtoReflect.Descriptor instead.

func (*HotdeskUser) GetHotdesk

func (x *HotdeskUser) GetHotdesk() string

func (*HotdeskUser) GetSignedIn

func (x *HotdeskUser) GetSignedIn() int64

func (*HotdeskUser) GetSignedOut

func (x *HotdeskUser) GetSignedOut() int64

func (*HotdeskUser) GetUser

func (x *HotdeskUser) GetUser() *UserId

func (*HotdeskUser) ProtoMessage

func (*HotdeskUser) ProtoMessage()

func (*HotdeskUser) ProtoReflect

func (x *HotdeskUser) ProtoReflect() protoreflect.Message

func (*HotdeskUser) Reset

func (x *HotdeskUser) Reset()

func (*HotdeskUser) String

func (x *HotdeskUser) String() string

type LDAPCatalog

type LDAPCatalog struct {

	// identity
	// int64 dc = 1;
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Meaningfull title name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// ----- Connection Options -----
	Url string                 `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` // URL e.g.: [(ldap|ldapi|ldaps)://]host[:port]
	Tls *LDAPCatalog_TLSConfig `protobuf:"bytes,6,opt,name=tls,proto3" json:"tls,omitempty"`
	// ----- BIND: Authorization -----
	Bind     string `protobuf:"bytes,7,opt,name=bind,proto3" json:"bind,omitempty"`                   // authorization method e.g.: SIMPLE, SAML, NTLM, etc.
	BaseDn   string `protobuf:"bytes,8,opt,name=base_dn,json=baseDn,proto3" json:"base_dn,omitempty"` // base_dn, aka domain e.g.: 'dc=example,dc=org'
	Username string `protobuf:"bytes,9,opt,name=username,proto3" json:"username,omitempty"`           // bind_dn
	Password string `protobuf:"bytes,10,opt,name=password,proto3" json:"password,omitempty"`          // password
	// ----- RSYNC Processing -----
	// int32  priority = 4;
	Cron string             `protobuf:"bytes,21,opt,name=cron,proto3" json:"cron,omitempty"` // [CRON]OS SPEC ! github.com/robfig/cron/v3
	Sync *LDAProcessOptions `protobuf:"bytes,22,opt,name=sync,proto3" json:"sync,omitempty"`
	// ----- DOMAIN: Entry model -----
	EntryUuid   string `protobuf:"bytes,23,opt,name=entry_uuid,json=entryUuid,proto3" json:"entry_uuid,omitempty"`       // entry unique id (except DN which may be updated)
	EntryModify string `protobuf:"bytes,24,opt,name=entry_modify,json=entryModify,proto3" json:"entry_modify,omitempty"` // last modification timestamp attribute type
	// // // ----- MAP: user(s) settings -----
	// LDAPUsersMap users = 26; // DEPRECATED: Use Template(s) instead
	// SYNC Object's search and mappings
	Templates []*LDAPTemplate `protobuf:"bytes,25,rep,name=templates,proto3" json:"templates,omitempty"`
	// Last OR Current SYNC process details
	Process *LDAProcess `protobuf:"bytes,26,opt,name=process,proto3" json:"process,omitempty"`
	// basic: last operation details
	CreatedAt int64   `protobuf:"varint,31,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // unix
	CreatedBy *UserId `protobuf:"bytes,32,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`  // user
	UpdatedAt int64   `protobuf:"varint,33,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // unix
	UpdatedBy *UserId `protobuf:"bytes,34,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`  // user
	// contains filtered or unexported fields
}

LDAPCatalog profile

func (*LDAPCatalog) Descriptor deprecated

func (*LDAPCatalog) Descriptor() ([]byte, []int)

Deprecated: Use LDAPCatalog.ProtoReflect.Descriptor instead.

func (*LDAPCatalog) GetBaseDn

func (x *LDAPCatalog) GetBaseDn() string

func (*LDAPCatalog) GetBind

func (x *LDAPCatalog) GetBind() string

func (*LDAPCatalog) GetCreatedAt

func (x *LDAPCatalog) GetCreatedAt() int64

func (*LDAPCatalog) GetCreatedBy

func (x *LDAPCatalog) GetCreatedBy() *UserId

func (*LDAPCatalog) GetCron

func (x *LDAPCatalog) GetCron() string

func (*LDAPCatalog) GetEntryModify

func (x *LDAPCatalog) GetEntryModify() string

func (*LDAPCatalog) GetEntryUuid

func (x *LDAPCatalog) GetEntryUuid() string

func (*LDAPCatalog) GetId

func (x *LDAPCatalog) GetId() int64

func (*LDAPCatalog) GetName

func (x *LDAPCatalog) GetName() string

func (*LDAPCatalog) GetPassword

func (x *LDAPCatalog) GetPassword() string

func (*LDAPCatalog) GetProcess

func (x *LDAPCatalog) GetProcess() *LDAProcess

func (*LDAPCatalog) GetSync

func (x *LDAPCatalog) GetSync() *LDAProcessOptions

func (*LDAPCatalog) GetTemplates

func (x *LDAPCatalog) GetTemplates() []*LDAPTemplate

func (*LDAPCatalog) GetTls

func (x *LDAPCatalog) GetTls() *LDAPCatalog_TLSConfig

func (*LDAPCatalog) GetUpdatedAt

func (x *LDAPCatalog) GetUpdatedAt() int64

func (*LDAPCatalog) GetUpdatedBy

func (x *LDAPCatalog) GetUpdatedBy() *UserId

func (*LDAPCatalog) GetUrl

func (x *LDAPCatalog) GetUrl() string

func (*LDAPCatalog) GetUsername

func (x *LDAPCatalog) GetUsername() string

func (*LDAPCatalog) ProtoMessage

func (*LDAPCatalog) ProtoMessage()

func (*LDAPCatalog) ProtoReflect

func (x *LDAPCatalog) ProtoReflect() protoreflect.Message

func (*LDAPCatalog) Reset

func (x *LDAPCatalog) Reset()

func (*LDAPCatalog) String

func (x *LDAPCatalog) String() string

type LDAPCatalog_TLSConfig

type LDAPCatalog_TLSConfig struct {

	// TODO: (!)
	Cert []byte `protobuf:"bytes,1,opt,name=cert,proto3" json:"cert,omitempty"` // PEM: base64
	Key  []byte `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`   // PEM: base64
	Ca   []byte `protobuf:"bytes,3,opt,name=ca,proto3" json:"ca,omitempty"`     // PEM: base64
	// contains filtered or unexported fields
}

TLS configuration options

func (*LDAPCatalog_TLSConfig) Descriptor deprecated

func (*LDAPCatalog_TLSConfig) Descriptor() ([]byte, []int)

Deprecated: Use LDAPCatalog_TLSConfig.ProtoReflect.Descriptor instead.

func (*LDAPCatalog_TLSConfig) GetCa

func (x *LDAPCatalog_TLSConfig) GetCa() []byte

func (*LDAPCatalog_TLSConfig) GetCert

func (x *LDAPCatalog_TLSConfig) GetCert() []byte

func (*LDAPCatalog_TLSConfig) GetKey

func (x *LDAPCatalog_TLSConfig) GetKey() []byte

func (*LDAPCatalog_TLSConfig) ProtoMessage

func (*LDAPCatalog_TLSConfig) ProtoMessage()

func (*LDAPCatalog_TLSConfig) ProtoReflect

func (x *LDAPCatalog_TLSConfig) ProtoReflect() protoreflect.Message

func (*LDAPCatalog_TLSConfig) Reset

func (x *LDAPCatalog_TLSConfig) Reset()

func (*LDAPCatalog_TLSConfig) String

func (x *LDAPCatalog_TLSConfig) String() string

type LDAPClient

type LDAPClient interface {
	// Create LDAP profile
	CreateLDAPCatalog(ctx context.Context, in *LDAPCatalog, opts ...grpc.CallOption) (*LDAPCatalog, error)
	// Update LDAP profile details
	UpdateLDAPCatalog(ctx context.Context, in *UpdateLDAPRequest, opts ...grpc.CallOption) (*LDAPCatalog, error)
	// Delete LDAP profile(s) ...
	DeleteLDAPCatalog(ctx context.Context, in *DeleteLDAPRequest, opts ...grpc.CallOption) (*LDAPCatalog, error)
	// Search for LDAP directories ...
	SearchLDAPCatalog(ctx context.Context, in *SearchLDAPRequest, opts ...grpc.CallOption) (*SearchLDAPResponse, error)
	// Read LDAP catalog profile by .id
	LocateLDAPCatalog(ctx context.Context, in *SearchLDAPRequest, opts ...grpc.CallOption) (*LDAPCatalog, error)
	// LDAPSearch performs LDAP Search operation ...
	LDAPSearch(ctx context.Context, in *LDAPSearchRequest, opts ...grpc.CallOption) (*LDAPSearchResponse, error)
	SearchLDAPTemplate(ctx context.Context, in *LDAPTemplateRequest, opts ...grpc.CallOption) (*LDAPTemplateResponse, error)
	LocateLDAPTemplate(ctx context.Context, in *LDAPTemplateRequest, opts ...grpc.CallOption) (*LDAPTemplate, error)
	CreateLDAPTemplate(ctx context.Context, in *LDAPTemplate, opts ...grpc.CallOption) (*LDAPTemplate, error)
	UpdateLDAPTemplate(ctx context.Context, in *UpdateLDAPTemplateRequest, opts ...grpc.CallOption) (*LDAPTemplate, error)
	DeleteLDAPTemplate(ctx context.Context, in *LDAPTemplateRequest, opts ...grpc.CallOption) (*LDAPTemplateResponse, error)
	// Resync LDAP directory catalog changes ...
	ResyncLDAPCatalog(ctx context.Context, in *LDAProcessExecute, opts ...grpc.CallOption) (*LDAProcess, error)
	SearchLDAProcess(ctx context.Context, in *LDAProcessRequest, opts ...grpc.CallOption) (*LDAProcessResponse, error)
	LocateLDAProcess(ctx context.Context, in *LDAProcessRequest, opts ...grpc.CallOption) (*LDAProcess, error)
}

LDAPClient is the client API for LDAP service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

LDAP repository

func NewLDAPClient

func NewLDAPClient(cc grpc.ClientConnInterface) LDAPClient

type LDAPControl

type LDAPControl struct {
	ControlType  string `protobuf:"bytes,1,opt,name=controlType,proto3" json:"controlType,omitempty"`   // LDAPOID,
	Criticality  bool   `protobuf:"varint,2,opt,name=criticality,proto3" json:"criticality,omitempty"`  // BOOLEAN DEFAULT FALSE,
	ControlValue string `protobuf:"bytes,3,opt,name=controlValue,proto3" json:"controlValue,omitempty"` // OCTET STRING OPTIONAL
	// contains filtered or unexported fields
}

https://datatracker.ietf.org/doc/html/rfc4511#section-4.1.11

func (*LDAPControl) Descriptor deprecated

func (*LDAPControl) Descriptor() ([]byte, []int)

Deprecated: Use LDAPControl.ProtoReflect.Descriptor instead.

func (*LDAPControl) GetControlType

func (x *LDAPControl) GetControlType() string

func (*LDAPControl) GetControlValue

func (x *LDAPControl) GetControlValue() string

func (*LDAPControl) GetCriticality

func (x *LDAPControl) GetCriticality() bool

func (*LDAPControl) ProtoMessage

func (*LDAPControl) ProtoMessage()

func (*LDAPControl) ProtoReflect

func (x *LDAPControl) ProtoReflect() protoreflect.Message

func (*LDAPControl) Reset

func (x *LDAPControl) Reset()

func (*LDAPControl) String

func (x *LDAPControl) String() string

type LDAPObjentry

type LDAPObjentry struct {

	// LDAP Entry Attributes fetched
	Entry *structpb.Struct `protobuf:"bytes,1,opt,name=entry,proto3" json:"entry,omitempty"` // map<string, string> entry = 1;
	// Internal object class been associated with this LDAP .entry
	Class string `protobuf:"bytes,2,opt,name=class,proto3" json:"class,omitempty"`
	// Internal object state; DUMP
	Object *structpb.Struct `protobuf:"bytes,3,opt,name=object,proto3" json:"object,omitempty"`
	// Operation been performed: create|update|delete
	Proc string `protobuf:"bytes,4,opt,name=proc,proto3" json:"proc,omitempty"`
	// An error(s) if any occured
	// NON-FATAL Warnings
	Warn []string `protobuf:"bytes,6,rep,name=warn,proto3" json:"warn,omitempty"`
	// FATAL Error(s). NON empty indicates that this process failed
	Errs []string `protobuf:"bytes,5,rep,name=errs,proto3" json:"errs,omitempty"`
	// contains filtered or unexported fields
}

LDAP entry object associatetions performed

func (*LDAPObjentry) Descriptor deprecated

func (*LDAPObjentry) Descriptor() ([]byte, []int)

Deprecated: Use LDAPObjentry.ProtoReflect.Descriptor instead.

func (*LDAPObjentry) GetClass

func (x *LDAPObjentry) GetClass() string

func (*LDAPObjentry) GetEntry

func (x *LDAPObjentry) GetEntry() *structpb.Struct

func (*LDAPObjentry) GetErrs

func (x *LDAPObjentry) GetErrs() []string

func (*LDAPObjentry) GetObject

func (x *LDAPObjentry) GetObject() *structpb.Struct

func (*LDAPObjentry) GetProc

func (x *LDAPObjentry) GetProc() string

func (*LDAPObjentry) GetWarn

func (x *LDAPObjentry) GetWarn() []string

func (*LDAPObjentry) ProtoMessage

func (*LDAPObjentry) ProtoMessage()

func (*LDAPObjentry) ProtoReflect

func (x *LDAPObjentry) ProtoReflect() protoreflect.Message

func (*LDAPObjentry) Reset

func (x *LDAPObjentry) Reset()

func (*LDAPObjentry) String

func (x *LDAPObjentry) String() string

type LDAPSearchRequest

type LDAPSearchRequest struct {

	// ----- connection -----
	// Optional. ID of the preconfigured LDAP catalog
	CatalogId int64 `protobuf:"varint,1,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	// Optional. URL to establish connection to LDAP catalog
	Url string                       `protobuf:"bytes,5,opt,name=url,proto3" json:"url,omitempty"` // URL e.g.: [(ldap|ldapi|ldaps)://]host[:port]
	Tls *LDAPSearchRequest_TLSConfig `protobuf:"bytes,6,opt,name=tls,proto3" json:"tls,omitempty"`
	// ----- BIND: Authorization -----
	Bind     string `protobuf:"bytes,7,opt,name=bind,proto3" json:"bind,omitempty"`         // authorization method e.g.: SIMPLE, SAML, NTLM, etc.
	Username string `protobuf:"bytes,8,opt,name=username,proto3" json:"username,omitempty"` // bind_dn
	Password string `protobuf:"bytes,9,opt,name=password,proto3" json:"password,omitempty"` // password
	// ----- SearchRequest -----
	// baseObject [D]istinguished[N]ame
	BaseObject string `protobuf:"bytes,10,opt,name=baseObject,proto3" json:"baseObject,omitempty"`
	// baseObject              (0),
	// singleLevel             (1),
	// wholeSubtree            (2)
	Scope int32 `protobuf:"varint,11,opt,name=scope,proto3" json:"scope,omitempty"`
	// neverDerefAliases       (0),
	// derefInSearching        (1),
	// derefFindingBaseObj     (2),
	// derefAlways             (3)
	DerefAliases int32    `protobuf:"varint,12,opt,name=derefAliases,proto3" json:"derefAliases,omitempty"`
	SizeLimit    int64    `protobuf:"varint,13,opt,name=sizeLimit,proto3" json:"sizeLimit,omitempty"`  // INTEGER (0 ..  maxInt),
	TimeLimit    int64    `protobuf:"varint,14,opt,name=timeLimit,proto3" json:"timeLimit,omitempty"`  // INTEGER (0 ..  maxInt),
	TypesOnly    bool     `protobuf:"varint,15,opt,name=typesOnly,proto3" json:"typesOnly,omitempty"`  // BOOLEAN,
	Filter       string   `protobuf:"bytes,16,opt,name=filter,proto3" json:"filter,omitempty"`         // Filter,
	Attributes   []string `protobuf:"bytes,17,rep,name=attributes,proto3" json:"attributes,omitempty"` // AttributeSelection
	// ----- LDAPMessage -----
	// Controls NOT implemented yet !
	Controls []*LDAPControl `protobuf:"bytes,18,rep,name=controls,proto3" json:"controls,omitempty"`
	// contains filtered or unexported fields
}

https://datatracker.ietf.org/doc/html/rfc4511#section-4.5.1

func (*LDAPSearchRequest) Descriptor deprecated

func (*LDAPSearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use LDAPSearchRequest.ProtoReflect.Descriptor instead.

func (*LDAPSearchRequest) GetAttributes

func (x *LDAPSearchRequest) GetAttributes() []string

func (*LDAPSearchRequest) GetBaseObject

func (x *LDAPSearchRequest) GetBaseObject() string

func (*LDAPSearchRequest) GetBind

func (x *LDAPSearchRequest) GetBind() string

func (*LDAPSearchRequest) GetCatalogId

func (x *LDAPSearchRequest) GetCatalogId() int64

func (*LDAPSearchRequest) GetControls

func (x *LDAPSearchRequest) GetControls() []*LDAPControl

func (*LDAPSearchRequest) GetDerefAliases

func (x *LDAPSearchRequest) GetDerefAliases() int32

func (*LDAPSearchRequest) GetFilter

func (x *LDAPSearchRequest) GetFilter() string

func (*LDAPSearchRequest) GetPassword

func (x *LDAPSearchRequest) GetPassword() string

func (*LDAPSearchRequest) GetScope

func (x *LDAPSearchRequest) GetScope() int32

func (*LDAPSearchRequest) GetSizeLimit

func (x *LDAPSearchRequest) GetSizeLimit() int64

func (*LDAPSearchRequest) GetTimeLimit

func (x *LDAPSearchRequest) GetTimeLimit() int64

func (*LDAPSearchRequest) GetTls

func (*LDAPSearchRequest) GetTypesOnly

func (x *LDAPSearchRequest) GetTypesOnly() bool

func (*LDAPSearchRequest) GetUrl

func (x *LDAPSearchRequest) GetUrl() string

func (*LDAPSearchRequest) GetUsername

func (x *LDAPSearchRequest) GetUsername() string

func (*LDAPSearchRequest) ProtoMessage

func (*LDAPSearchRequest) ProtoMessage()

func (*LDAPSearchRequest) ProtoReflect

func (x *LDAPSearchRequest) ProtoReflect() protoreflect.Message

func (*LDAPSearchRequest) Reset

func (x *LDAPSearchRequest) Reset()

func (*LDAPSearchRequest) String

func (x *LDAPSearchRequest) String() string

type LDAPSearchRequest_TLSConfig

type LDAPSearchRequest_TLSConfig struct {

	// TODO: (!)
	PEM []byte `protobuf:"bytes,1,opt,name=PEM,proto3" json:"PEM,omitempty"` // base64
	// contains filtered or unexported fields
}

TLS configuration options

func (*LDAPSearchRequest_TLSConfig) Descriptor deprecated

func (*LDAPSearchRequest_TLSConfig) Descriptor() ([]byte, []int)

Deprecated: Use LDAPSearchRequest_TLSConfig.ProtoReflect.Descriptor instead.

func (*LDAPSearchRequest_TLSConfig) GetPEM

func (x *LDAPSearchRequest_TLSConfig) GetPEM() []byte

func (*LDAPSearchRequest_TLSConfig) ProtoMessage

func (*LDAPSearchRequest_TLSConfig) ProtoMessage()

func (*LDAPSearchRequest_TLSConfig) ProtoReflect

func (*LDAPSearchRequest_TLSConfig) Reset

func (x *LDAPSearchRequest_TLSConfig) Reset()

func (*LDAPSearchRequest_TLSConfig) String

func (x *LDAPSearchRequest_TLSConfig) String() string

type LDAPSearchResponse

type LDAPSearchResponse struct {

	// ----- SearchResult (Entry|Reference) -----
	Entries []*structpb.Struct `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"`
	// ----- LDAPResult -----
	ResultCode        int32    `protobuf:"varint,2,opt,name=resultCode,proto3" json:"resultCode,omitempty"`
	MatchedDN         string   `protobuf:"bytes,3,opt,name=matchedDN,proto3" json:"matchedDN,omitempty"`                 // LDAPDN,
	DiagnosticMessage string   `protobuf:"bytes,4,opt,name=diagnosticMessage,proto3" json:"diagnosticMessage,omitempty"` // LDAPString,
	Referral          []string `protobuf:"bytes,5,rep,name=referral,proto3" json:"referral,omitempty"`                   // [3] Referral OPTIONAL
	// ----- LDAPMessage -----
	Controls []*LDAPControl `protobuf:"bytes,6,rep,name=controls,proto3" json:"controls,omitempty"`
	// contains filtered or unexported fields
}

https://datatracker.ietf.org/doc/html/rfc4511#section-4.5.2

func (*LDAPSearchResponse) Descriptor deprecated

func (*LDAPSearchResponse) Descriptor() ([]byte, []int)

Deprecated: Use LDAPSearchResponse.ProtoReflect.Descriptor instead.

func (*LDAPSearchResponse) GetControls

func (x *LDAPSearchResponse) GetControls() []*LDAPControl

func (*LDAPSearchResponse) GetDiagnosticMessage

func (x *LDAPSearchResponse) GetDiagnosticMessage() string

func (*LDAPSearchResponse) GetEntries

func (x *LDAPSearchResponse) GetEntries() []*structpb.Struct

func (*LDAPSearchResponse) GetMatchedDN

func (x *LDAPSearchResponse) GetMatchedDN() string

func (*LDAPSearchResponse) GetReferral

func (x *LDAPSearchResponse) GetReferral() []string

func (*LDAPSearchResponse) GetResultCode

func (x *LDAPSearchResponse) GetResultCode() int32

func (*LDAPSearchResponse) ProtoMessage

func (*LDAPSearchResponse) ProtoMessage()

func (*LDAPSearchResponse) ProtoReflect

func (x *LDAPSearchResponse) ProtoReflect() protoreflect.Message

func (*LDAPSearchResponse) Reset

func (x *LDAPSearchResponse) Reset()

func (*LDAPSearchResponse) String

func (x *LDAPSearchResponse) String() string

type LDAPServer

type LDAPServer interface {
	// Create LDAP profile
	CreateLDAPCatalog(context.Context, *LDAPCatalog) (*LDAPCatalog, error)
	// Update LDAP profile details
	UpdateLDAPCatalog(context.Context, *UpdateLDAPRequest) (*LDAPCatalog, error)
	// Delete LDAP profile(s) ...
	DeleteLDAPCatalog(context.Context, *DeleteLDAPRequest) (*LDAPCatalog, error)
	// Search for LDAP directories ...
	SearchLDAPCatalog(context.Context, *SearchLDAPRequest) (*SearchLDAPResponse, error)
	// Read LDAP catalog profile by .id
	LocateLDAPCatalog(context.Context, *SearchLDAPRequest) (*LDAPCatalog, error)
	// LDAPSearch performs LDAP Search operation ...
	LDAPSearch(context.Context, *LDAPSearchRequest) (*LDAPSearchResponse, error)
	SearchLDAPTemplate(context.Context, *LDAPTemplateRequest) (*LDAPTemplateResponse, error)
	LocateLDAPTemplate(context.Context, *LDAPTemplateRequest) (*LDAPTemplate, error)
	CreateLDAPTemplate(context.Context, *LDAPTemplate) (*LDAPTemplate, error)
	UpdateLDAPTemplate(context.Context, *UpdateLDAPTemplateRequest) (*LDAPTemplate, error)
	DeleteLDAPTemplate(context.Context, *LDAPTemplateRequest) (*LDAPTemplateResponse, error)
	// Resync LDAP directory catalog changes ...
	ResyncLDAPCatalog(context.Context, *LDAProcessExecute) (*LDAProcess, error)
	SearchLDAProcess(context.Context, *LDAProcessRequest) (*LDAProcessResponse, error)
	LocateLDAProcess(context.Context, *LDAProcessRequest) (*LDAProcess, error)
	// contains filtered or unexported methods
}

LDAPServer is the server API for LDAP service. All implementations must embed UnimplementedLDAPServer for forward compatibility.

LDAP repository

type LDAPTemplate

type LDAPTemplate struct {

	// ID unique
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Name this template
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. LDAP Search base entry DN
	BaseDn string `protobuf:"bytes,3,opt,name=base_dn,json=baseDn,proto3" json:"base_dn,omitempty"`
	// Required. LDAP Search filter string
	Search string `protobuf:"bytes,4,opt,name=search,proto3" json:"search,omitempty"`
	// LDAPCatalog belongs to
	Catalog *ObjectId `protobuf:"bytes,5,opt,name=catalog,proto3" json:"catalog,omitempty"`
	// Optional. This Template is activated ?
	Enabled bool `protobuf:"varint,6,opt,name=enabled,proto3" json:"enabled,omitempty"`
	// OPTIONAL. Role objclass fields mapping (Not implemented yet)
	Role *structpb.Struct `protobuf:"bytes,7,opt,name=role,proto3" json:"role,omitempty"`
	// OPTIONAL. Device objclass fields mapping
	Device *structpb.Struct `protobuf:"bytes,8,opt,name=device,proto3" json:"device,omitempty"`
	// OPTIONAL. User objclass fields mapping
	User *structpb.Struct `protobuf:"bytes,9,opt,name=user,proto3" json:"user,omitempty"`
	// OPTIONAL. Agent objclass fields mapping
	Agent *structpb.Struct `protobuf:"bytes,10,opt,name=agent,proto3" json:"agent,omitempty"`
	// READONLY. Operational attributes
	CreatedAt int64   `protobuf:"varint,31,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // unix
	CreatedBy *UserId `protobuf:"bytes,32,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`  // user
	UpdatedAt int64   `protobuf:"varint,33,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // unix
	UpdatedBy *UserId `protobuf:"bytes,34,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`  // user
	// contains filtered or unexported fields
}

LDAPTemplate is an LDAP search entries to webitel objects transformation template

func (*LDAPTemplate) Descriptor deprecated

func (*LDAPTemplate) Descriptor() ([]byte, []int)

Deprecated: Use LDAPTemplate.ProtoReflect.Descriptor instead.

func (*LDAPTemplate) GetAgent

func (x *LDAPTemplate) GetAgent() *structpb.Struct

func (*LDAPTemplate) GetBaseDn

func (x *LDAPTemplate) GetBaseDn() string

func (*LDAPTemplate) GetCatalog

func (x *LDAPTemplate) GetCatalog() *ObjectId

func (*LDAPTemplate) GetCreatedAt

func (x *LDAPTemplate) GetCreatedAt() int64

func (*LDAPTemplate) GetCreatedBy

func (x *LDAPTemplate) GetCreatedBy() *UserId

func (*LDAPTemplate) GetDevice

func (x *LDAPTemplate) GetDevice() *structpb.Struct

func (*LDAPTemplate) GetEnabled

func (x *LDAPTemplate) GetEnabled() bool

func (*LDAPTemplate) GetId

func (x *LDAPTemplate) GetId() int64

func (*LDAPTemplate) GetName

func (x *LDAPTemplate) GetName() string

func (*LDAPTemplate) GetRole

func (x *LDAPTemplate) GetRole() *structpb.Struct

func (*LDAPTemplate) GetSearch

func (x *LDAPTemplate) GetSearch() string

func (*LDAPTemplate) GetUpdatedAt

func (x *LDAPTemplate) GetUpdatedAt() int64

func (*LDAPTemplate) GetUpdatedBy

func (x *LDAPTemplate) GetUpdatedBy() *UserId

func (*LDAPTemplate) GetUser

func (x *LDAPTemplate) GetUser() *structpb.Struct

func (*LDAPTemplate) ProtoMessage

func (*LDAPTemplate) ProtoMessage()

func (*LDAPTemplate) ProtoReflect

func (x *LDAPTemplate) ProtoReflect() protoreflect.Message

func (*LDAPTemplate) Reset

func (x *LDAPTemplate) Reset()

func (*LDAPTemplate) String

func (x *LDAPTemplate) String() string

type LDAPTemplateRequest

type LDAPTemplateRequest struct {

	// ----- Select Options -------------------------
	Page   int32    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`    // default: 1
	Size   int32    `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`    // default: 16
	Fields []string `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` // attributes list
	Sort   []string `protobuf:"bytes,4,rep,name=sort,proto3" json:"sort,omitempty"`     // e.g.: "updated_at" - ASC; "!updated_at" - DESC;
	// ----- Search Basic Filters ---------------------------
	// OPTIONAL. Search templates by .id
	Id []int64 `protobuf:"varint,5,rep,packed,name=id,proto3" json:"id,omitempty"`
	// REQUIRED. Parent LDAP catalog IDentifier
	CatalogId int64 `protobuf:"varint,6,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	// OPTIONAL. Filter(s) SET
	Q        string `protobuf:"bytes,7,opt,name=q,proto3" json:"q,omitempty"`
	Name     string `protobuf:"bytes,8,opt,name=name,proto3" json:"name,omitempty"`
	BaseDn   string `protobuf:"bytes,9,opt,name=base_dn,json=baseDn,proto3" json:"base_dn,omitempty"`
	Objclass string `protobuf:"bytes,10,opt,name=objclass,proto3" json:"objclass,omitempty"`
	Enabled  bool   `protobuf:"varint,11,opt,name=enabled,proto3" json:"enabled,omitempty"`
	Disabled bool   `protobuf:"varint,12,opt,name=disabled,proto3" json:"disabled,omitempty"`
	// contains filtered or unexported fields
}

func (*LDAPTemplateRequest) Descriptor deprecated

func (*LDAPTemplateRequest) Descriptor() ([]byte, []int)

Deprecated: Use LDAPTemplateRequest.ProtoReflect.Descriptor instead.

func (*LDAPTemplateRequest) GetBaseDn

func (x *LDAPTemplateRequest) GetBaseDn() string

func (*LDAPTemplateRequest) GetCatalogId

func (x *LDAPTemplateRequest) GetCatalogId() int64

func (*LDAPTemplateRequest) GetDisabled

func (x *LDAPTemplateRequest) GetDisabled() bool

func (*LDAPTemplateRequest) GetEnabled

func (x *LDAPTemplateRequest) GetEnabled() bool

func (*LDAPTemplateRequest) GetFields

func (x *LDAPTemplateRequest) GetFields() []string

func (*LDAPTemplateRequest) GetId

func (x *LDAPTemplateRequest) GetId() []int64

func (*LDAPTemplateRequest) GetName

func (x *LDAPTemplateRequest) GetName() string

func (*LDAPTemplateRequest) GetObjclass

func (x *LDAPTemplateRequest) GetObjclass() string

func (*LDAPTemplateRequest) GetPage

func (x *LDAPTemplateRequest) GetPage() int32

func (*LDAPTemplateRequest) GetQ

func (x *LDAPTemplateRequest) GetQ() string

func (*LDAPTemplateRequest) GetSize

func (x *LDAPTemplateRequest) GetSize() int32

func (*LDAPTemplateRequest) GetSort

func (x *LDAPTemplateRequest) GetSort() []string

func (*LDAPTemplateRequest) ProtoMessage

func (*LDAPTemplateRequest) ProtoMessage()

func (*LDAPTemplateRequest) ProtoReflect

func (x *LDAPTemplateRequest) ProtoReflect() protoreflect.Message

func (*LDAPTemplateRequest) Reset

func (x *LDAPTemplateRequest) Reset()

func (*LDAPTemplateRequest) String

func (x *LDAPTemplateRequest) String() string

type LDAPTemplateResponse

type LDAPTemplateResponse struct {
	Page  int32           `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // result: {page} number
	Next  bool            `protobuf:"varint,2,opt,name=next,proto3" json:"next,omitempty"` // result: has {next} page ?
	Items []*LDAPTemplate `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*LDAPTemplateResponse) Descriptor deprecated

func (*LDAPTemplateResponse) Descriptor() ([]byte, []int)

Deprecated: Use LDAPTemplateResponse.ProtoReflect.Descriptor instead.

func (*LDAPTemplateResponse) GetItems

func (x *LDAPTemplateResponse) GetItems() []*LDAPTemplate

func (*LDAPTemplateResponse) GetNext

func (x *LDAPTemplateResponse) GetNext() bool

func (*LDAPTemplateResponse) GetPage

func (x *LDAPTemplateResponse) GetPage() int32

func (*LDAPTemplateResponse) ProtoMessage

func (*LDAPTemplateResponse) ProtoMessage()

func (*LDAPTemplateResponse) ProtoReflect

func (x *LDAPTemplateResponse) ProtoReflect() protoreflect.Message

func (*LDAPTemplateResponse) Reset

func (x *LDAPTemplateResponse) Reset()

func (*LDAPTemplateResponse) String

func (x *LDAPTemplateResponse) String() string

type LDAProcess

type LDAProcess struct {

	// Readonly. Process unique identifier
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Readonly. Executed with options
	Options *LDAProcessOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// Readonly. Process start timestamp
	ExecuteAt int64 `protobuf:"varint,3,opt,name=execute_at,json=executeAt,proto3" json:"execute_at,omitempty"`
	// Optional. Start manually by the user or role
	ExecuteBy *RoleId `protobuf:"bytes,4,opt,name=execute_by,json=executeBy,proto3" json:"execute_by,omitempty"`
	// Optional. If not <zero> indicates that this process is completed.
	CompleteAt int64 `protobuf:"varint,5,opt,name=complete_at,json=completeAt,proto3" json:"complete_at,omitempty"`
	// Optional. Status description or an error if any occured
	Status string `protobuf:"bytes,6,opt,name=status,proto3" json:"status,omitempty"`
	// Optional. List of entries been already processed
	Progress []*LDAPObjentry `protobuf:"bytes,7,rep,name=progress,proto3" json:"progress,omitempty"`
	// contains filtered or unexported fields
}

LDAP synchronization process details

func (*LDAProcess) Descriptor deprecated

func (*LDAProcess) Descriptor() ([]byte, []int)

Deprecated: Use LDAProcess.ProtoReflect.Descriptor instead.

func (*LDAProcess) GetCompleteAt

func (x *LDAProcess) GetCompleteAt() int64

func (*LDAProcess) GetExecuteAt

func (x *LDAProcess) GetExecuteAt() int64

func (*LDAProcess) GetExecuteBy

func (x *LDAProcess) GetExecuteBy() *RoleId

func (*LDAProcess) GetId

func (x *LDAProcess) GetId() int64

func (*LDAProcess) GetOptions

func (x *LDAProcess) GetOptions() *LDAProcessOptions

func (*LDAProcess) GetProgress

func (x *LDAProcess) GetProgress() []*LDAPObjentry

func (*LDAProcess) GetStatus

func (x *LDAProcess) GetStatus() string

func (*LDAProcess) ProtoMessage

func (*LDAProcess) ProtoMessage()

func (*LDAProcess) ProtoReflect

func (x *LDAProcess) ProtoReflect() protoreflect.Message

func (*LDAProcess) Reset

func (x *LDAProcess) Reset()

func (*LDAProcess) String

func (x *LDAProcess) String() string

type LDAProcessExecute

type LDAProcessExecute struct {

	// LDAP Catalog unique IDentifier to sync with
	CatalogId int64 `protobuf:"varint,1,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"` // catalog_id
	// Options
	Options *LDAProcessOptions `protobuf:"bytes,2,opt,name=options,proto3" json:"options,omitempty"`
	// contains filtered or unexported fields
}

func (*LDAProcessExecute) Descriptor deprecated

func (*LDAProcessExecute) Descriptor() ([]byte, []int)

Deprecated: Use LDAProcessExecute.ProtoReflect.Descriptor instead.

func (*LDAProcessExecute) GetCatalogId

func (x *LDAProcessExecute) GetCatalogId() int64

func (*LDAProcessExecute) GetOptions

func (x *LDAProcessExecute) GetOptions() *LDAProcessOptions

func (*LDAProcessExecute) ProtoMessage

func (*LDAProcessExecute) ProtoMessage()

func (*LDAProcessExecute) ProtoReflect

func (x *LDAProcessExecute) ProtoReflect() protoreflect.Message

func (*LDAProcessExecute) Reset

func (x *LDAProcessExecute) Reset()

func (*LDAProcessExecute) String

func (x *LDAProcessExecute) String() string

type LDAProcessOptions

type LDAProcessOptions struct {

	// Allows to create links
	// with fetched LDAP entries
	// for manually created objects
	LinkExistingObjects bool `protobuf:"varint,1,opt,name=link_existing_objects,json=linkExistingObjects,proto3" json:"link_existing_objects,omitempty"`
	// Allows to reassign device's owner user
	// due to preconfigured mapping LDAP template
	ReassignDeviceUsers bool `protobuf:"varint,2,opt,name=reassign_device_users,json=reassignDeviceUsers,proto3" json:"reassign_device_users,omitempty"`
	// Operation timeout. Not implemented yet
	Timeout int64 `protobuf:"varint,10,opt,name=timeout,proto3" json:"timeout,omitempty"`
	// Will NOT perform any operations on storage.
	// To review potential processing only
	Test bool `protobuf:"varint,11,opt,name=test,proto3" json:"test,omitempty"`
	// contains filtered or unexported fields
}

func (*LDAProcessOptions) Descriptor deprecated

func (*LDAProcessOptions) Descriptor() ([]byte, []int)

Deprecated: Use LDAProcessOptions.ProtoReflect.Descriptor instead.

func (*LDAProcessOptions) GetLinkExistingObjects

func (x *LDAProcessOptions) GetLinkExistingObjects() bool

func (*LDAProcessOptions) GetReassignDeviceUsers

func (x *LDAProcessOptions) GetReassignDeviceUsers() bool

func (*LDAProcessOptions) GetTest

func (x *LDAProcessOptions) GetTest() bool

func (*LDAProcessOptions) GetTimeout

func (x *LDAProcessOptions) GetTimeout() int64

func (*LDAProcessOptions) ProtoMessage

func (*LDAProcessOptions) ProtoMessage()

func (*LDAProcessOptions) ProtoReflect

func (x *LDAProcessOptions) ProtoReflect() protoreflect.Message

func (*LDAProcessOptions) Reset

func (x *LDAProcessOptions) Reset()

func (*LDAProcessOptions) String

func (x *LDAProcessOptions) String() string

type LDAProcessRequest

type LDAProcessRequest struct {

	// ----- Select Options -------------------------
	Page   int32    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`    // default: 1
	Size   int32    `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`    // default: 16
	Fields []string `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` // attributes list
	Sort   []string `protobuf:"bytes,4,rep,name=sort,proto3" json:"sort,omitempty"`     // e.g.: "updated_at" - ASC; "!updated_at" - DESC;
	// ----- Search Basic Filters ---------------------------
	// OPTIONAL. Search process by unique .id
	Id []int64 `protobuf:"varint,5,rep,packed,name=id,proto3" json:"id,omitempty"`
	// REQUIRED. Parent LDAP catalog IDentifier
	CatalogId int64 `protobuf:"varint,6,opt,name=catalog_id,json=catalogId,proto3" json:"catalog_id,omitempty"`
	// OPTIONAL. Filter(s) SET
	Q        string   `protobuf:"bytes,7,opt,name=q,proto3" json:"q,omitempty"`
	Template string   `protobuf:"bytes,8,opt,name=template,proto3" json:"template,omitempty"`
	Objclass []string `protobuf:"bytes,9,rep,name=objclass,proto3" json:"objclass,omitempty"`
	Failed   bool     `protobuf:"varint,10,opt,name=failed,proto3" json:"failed,omitempty"`     // WITH .errs
	Enabled  bool     `protobuf:"varint,11,opt,name=enabled,proto3" json:"enabled,omitempty"`   // created|updated
	Disabled bool     `protobuf:"varint,12,opt,name=disabled,proto3" json:"disabled,omitempty"` // deleted
	// contains filtered or unexported fields
}

func (*LDAProcessRequest) Descriptor deprecated

func (*LDAProcessRequest) Descriptor() ([]byte, []int)

Deprecated: Use LDAProcessRequest.ProtoReflect.Descriptor instead.

func (*LDAProcessRequest) GetCatalogId

func (x *LDAProcessRequest) GetCatalogId() int64

func (*LDAProcessRequest) GetDisabled

func (x *LDAProcessRequest) GetDisabled() bool

func (*LDAProcessRequest) GetEnabled

func (x *LDAProcessRequest) GetEnabled() bool

func (*LDAProcessRequest) GetFailed

func (x *LDAProcessRequest) GetFailed() bool

func (*LDAProcessRequest) GetFields

func (x *LDAProcessRequest) GetFields() []string

func (*LDAProcessRequest) GetId

func (x *LDAProcessRequest) GetId() []int64

func (*LDAProcessRequest) GetObjclass

func (x *LDAProcessRequest) GetObjclass() []string

func (*LDAProcessRequest) GetPage

func (x *LDAProcessRequest) GetPage() int32

func (*LDAProcessRequest) GetQ

func (x *LDAProcessRequest) GetQ() string

func (*LDAProcessRequest) GetSize

func (x *LDAProcessRequest) GetSize() int32

func (*LDAProcessRequest) GetSort

func (x *LDAProcessRequest) GetSort() []string

func (*LDAProcessRequest) GetTemplate

func (x *LDAProcessRequest) GetTemplate() string

func (*LDAProcessRequest) ProtoMessage

func (*LDAProcessRequest) ProtoMessage()

func (*LDAProcessRequest) ProtoReflect

func (x *LDAProcessRequest) ProtoReflect() protoreflect.Message

func (*LDAProcessRequest) Reset

func (x *LDAProcessRequest) Reset()

func (*LDAProcessRequest) String

func (x *LDAProcessRequest) String() string

type LDAProcessResponse

type LDAProcessResponse struct {
	Page  int32         `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // result: {page} number
	Next  bool          `protobuf:"varint,2,opt,name=next,proto3" json:"next,omitempty"` // result: has {next} page ?
	Items []*LDAProcess `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*LDAProcessResponse) Descriptor deprecated

func (*LDAProcessResponse) Descriptor() ([]byte, []int)

Deprecated: Use LDAProcessResponse.ProtoReflect.Descriptor instead.

func (*LDAProcessResponse) GetItems

func (x *LDAProcessResponse) GetItems() []*LDAProcess

func (*LDAProcessResponse) GetNext

func (x *LDAProcessResponse) GetNext() bool

func (*LDAProcessResponse) GetPage

func (x *LDAProcessResponse) GetPage() int32

func (*LDAProcessResponse) ProtoMessage

func (*LDAProcessResponse) ProtoMessage()

func (*LDAProcessResponse) ProtoReflect

func (x *LDAProcessResponse) ProtoReflect() protoreflect.Message

func (*LDAProcessResponse) Reset

func (x *LDAProcessResponse) Reset()

func (*LDAProcessResponse) String

func (x *LDAProcessResponse) String() string

type License

type License struct {
	Serial      string           `protobuf:"bytes,1,opt,name=serial,proto3" json:"serial,omitempty"`     // serial number assigned (global::License-ID)
	Scope       string           `protobuf:"bytes,2,opt,name=scope,proto3" json:"scope,omitempty"`       // mandatory privilege codename, e.g.: DEVICE, MANAGER, OPERATOR
	Limit       uint32           `protobuf:"varint,3,opt,name=limit,proto3" json:"limit,omitempty"`      // required: limit count (maximum allowed usage quantity)
	Validity    *Validity        `protobuf:"bytes,4,opt,name=validity,proto3" json:"validity,omitempty"` // optional
	Competitive bool             `protobuf:"varint,5,opt,name=competitive,proto3" json:"competitive,omitempty"`
	Users       map[int64]string `` // users.id (grantees)
	/* 138-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*License) Descriptor deprecated

func (*License) Descriptor() ([]byte, []int)

Deprecated: Use License.ProtoReflect.Descriptor instead.

func (*License) GetCompetitive

func (x *License) GetCompetitive() bool

func (*License) GetLimit

func (x *License) GetLimit() uint32

func (*License) GetScope

func (x *License) GetScope() string

func (*License) GetSerial

func (x *License) GetSerial() string

func (*License) GetUsers

func (x *License) GetUsers() map[int64]string

func (*License) GetValidity

func (x *License) GetValidity() *Validity

func (*License) ProtoMessage

func (*License) ProtoMessage()

func (*License) ProtoReflect

func (x *License) ProtoReflect() protoreflect.Message

func (*License) Reset

func (x *License) Reset()

func (*License) String

func (x *License) String() string

type LicenseUsageRequest

type LicenseUsageRequest struct {

	// ----- Search Options ----- //
	Size   int32    `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`    // default: 16
	Page   int32    `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`    // default: 1
	Fields []string `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` // set of output fields
	Sort   []string `protobuf:"bytes,4,rep,name=sort,proto3" json:"sort,omitempty"`     // e.g.: "updated_at" - ASC; "!updated_at" - DESC;
	// ----- Search Filters ----- //
	User       *ObjectId `protobuf:"bytes,5,opt,name=user,proto3" json:"user,omitempty"` // to user assigned
	Domain     *ObjectId `protobuf:"bytes,6,opt,name=domain,proto3" json:"domain,omitempty"`
	CustomerId string    `protobuf:"bytes,7,opt,name=customer_id,json=customerId,proto3" json:"customer_id,omitempty"`
	Id         []string  `protobuf:"bytes,8,rep,name=id,proto3" json:"id,omitempty"`           // by serial number(s)
	Product    []string  `protobuf:"bytes,9,rep,name=product,proto3" json:"product,omitempty"` // by product name(s)
	// view: all|valid|grantable
	Valid bool   `protobuf:"varint,10,opt,name=valid,proto3" json:"valid,omitempty"` // show: available to be granted
	Q     string `protobuf:"bytes,11,opt,name=q,proto3" json:"q,omitempty"`          // filter: term of search
	// contains filtered or unexported fields
}

GET /users/{user.id}/license GET /domains/{domain.id}/license GET /license/{filter=**}

func (*LicenseUsageRequest) Descriptor deprecated

func (*LicenseUsageRequest) Descriptor() ([]byte, []int)

Deprecated: Use LicenseUsageRequest.ProtoReflect.Descriptor instead.

func (*LicenseUsageRequest) GetCustomerId

func (x *LicenseUsageRequest) GetCustomerId() string

func (*LicenseUsageRequest) GetDomain

func (x *LicenseUsageRequest) GetDomain() *ObjectId

func (*LicenseUsageRequest) GetFields

func (x *LicenseUsageRequest) GetFields() []string

func (*LicenseUsageRequest) GetId

func (x *LicenseUsageRequest) GetId() []string

func (*LicenseUsageRequest) GetPage

func (x *LicenseUsageRequest) GetPage() int32

func (*LicenseUsageRequest) GetProduct

func (x *LicenseUsageRequest) GetProduct() []string

func (*LicenseUsageRequest) GetQ

func (x *LicenseUsageRequest) GetQ() string

func (*LicenseUsageRequest) GetSize

func (x *LicenseUsageRequest) GetSize() int32

func (*LicenseUsageRequest) GetSort

func (x *LicenseUsageRequest) GetSort() []string

func (*LicenseUsageRequest) GetUser

func (x *LicenseUsageRequest) GetUser() *ObjectId

func (*LicenseUsageRequest) GetValid

func (x *LicenseUsageRequest) GetValid() bool

func (*LicenseUsageRequest) ProtoMessage

func (*LicenseUsageRequest) ProtoMessage()

func (*LicenseUsageRequest) ProtoReflect

func (x *LicenseUsageRequest) ProtoReflect() protoreflect.Message

func (*LicenseUsageRequest) Reset

func (x *LicenseUsageRequest) Reset()

func (*LicenseUsageRequest) String

func (x *LicenseUsageRequest) String() string

type LicenseUsageResponse

type LicenseUsageResponse struct {

	// ----- Result paging ----- //
	Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // this page number !
	Next bool  `protobuf:"varint,2,opt,name=next,proto3" json:"next,omitempty"` // next page exists ? more results ?
	//	size = (.next ? len(items) : undef (> len(size)))
	//
	// ----- Result entries ----- //
	Items []*LicenseV1 `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*LicenseUsageResponse) Descriptor deprecated

func (*LicenseUsageResponse) Descriptor() ([]byte, []int)

Deprecated: Use LicenseUsageResponse.ProtoReflect.Descriptor instead.

func (*LicenseUsageResponse) GetItems

func (x *LicenseUsageResponse) GetItems() []*LicenseV1

func (*LicenseUsageResponse) GetNext

func (x *LicenseUsageResponse) GetNext() bool

func (*LicenseUsageResponse) GetPage

func (x *LicenseUsageResponse) GetPage() int32

func (*LicenseUsageResponse) ProtoMessage

func (*LicenseUsageResponse) ProtoMessage()

func (*LicenseUsageResponse) ProtoReflect

func (x *LicenseUsageResponse) ProtoReflect() protoreflect.Message

func (*LicenseUsageResponse) Reset

func (x *LicenseUsageResponse) Reset()

func (*LicenseUsageResponse) String

func (x *LicenseUsageResponse) String() string

type LicenseUser

type LicenseUser struct {
	Id        string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                 // license.id
	Prod      string    `protobuf:"bytes,2,opt,name=prod,proto3" json:"prod,omitempty"`                             // license.prod
	User      *ObjectId `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`                             // grant to::user
	Scope     []string  `protobuf:"bytes,6,rep,name=scope,proto3" json:"scope,omitempty"`                           // setof objclass grants
	IssuedAt  int64     `protobuf:"varint,4,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`    // not before
	ExpiresAt int64     `protobuf:"varint,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // not after
	// contains filtered or unexported fields
}

USAGE details

func (*LicenseUser) Descriptor deprecated

func (*LicenseUser) Descriptor() ([]byte, []int)

Deprecated: Use LicenseUser.ProtoReflect.Descriptor instead.

func (*LicenseUser) GetExpiresAt

func (x *LicenseUser) GetExpiresAt() int64

func (*LicenseUser) GetId

func (x *LicenseUser) GetId() string

func (*LicenseUser) GetIssuedAt

func (x *LicenseUser) GetIssuedAt() int64

func (*LicenseUser) GetProd

func (x *LicenseUser) GetProd() string

func (*LicenseUser) GetScope

func (x *LicenseUser) GetScope() []string

func (*LicenseUser) GetUser

func (x *LicenseUser) GetUser() *ObjectId

func (*LicenseUser) ProtoMessage

func (*LicenseUser) ProtoMessage()

func (*LicenseUser) ProtoReflect

func (x *LicenseUser) ProtoReflect() protoreflect.Message

func (*LicenseUser) Reset

func (x *LicenseUser) Reset()

func (*LicenseUser) String

func (x *LicenseUser) String() string

type LicenseUsersRequest

type LicenseUsersRequest struct {

	// ----- Search Options ----- //
	Size   int32    `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`    // default: 16
	Page   int32    `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`    // default: 1
	Fields []string `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` // set of output fields
	Sort   []string `protobuf:"bytes,4,rep,name=sort,proto3" json:"sort,omitempty"`     // e.g.: "updated_at" - ASC; "!updated_at" - DESC;
	// ----- Search Filters ----- //
	Id string `protobuf:"bytes,5,opt,name=id,proto3" json:"id,omitempty"` // REQUIRED Product ID
	Q  string `protobuf:"bytes,6,opt,name=q,proto3" json:"q,omitempty"`   // filter: term of search (username)
	// contains filtered or unexported fields
}

func (*LicenseUsersRequest) Descriptor deprecated

func (*LicenseUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use LicenseUsersRequest.ProtoReflect.Descriptor instead.

func (*LicenseUsersRequest) GetFields

func (x *LicenseUsersRequest) GetFields() []string

func (*LicenseUsersRequest) GetId

func (x *LicenseUsersRequest) GetId() string

func (*LicenseUsersRequest) GetPage

func (x *LicenseUsersRequest) GetPage() int32

func (*LicenseUsersRequest) GetQ

func (x *LicenseUsersRequest) GetQ() string

func (*LicenseUsersRequest) GetSize

func (x *LicenseUsersRequest) GetSize() int32

func (*LicenseUsersRequest) GetSort

func (x *LicenseUsersRequest) GetSort() []string

func (*LicenseUsersRequest) ProtoMessage

func (*LicenseUsersRequest) ProtoMessage()

func (*LicenseUsersRequest) ProtoReflect

func (x *LicenseUsersRequest) ProtoReflect() protoreflect.Message

func (*LicenseUsersRequest) Reset

func (x *LicenseUsersRequest) Reset()

func (*LicenseUsersRequest) String

func (x *LicenseUsersRequest) String() string

type LicenseUsersResponse

type LicenseUsersResponse struct {

	// ----- Result paging ----- //
	Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // this page number !
	Next bool  `protobuf:"varint,2,opt,name=next,proto3" json:"next,omitempty"` // next page exists ? more results ?
	//	size = (.next ? len(items) : undef (> len(size)))
	//
	// ----- Result entries ----- //
	Items []*ProductUser `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*LicenseUsersResponse) Descriptor deprecated

func (*LicenseUsersResponse) Descriptor() ([]byte, []int)

Deprecated: Use LicenseUsersResponse.ProtoReflect.Descriptor instead.

func (*LicenseUsersResponse) GetItems

func (x *LicenseUsersResponse) GetItems() []*ProductUser

func (*LicenseUsersResponse) GetNext

func (x *LicenseUsersResponse) GetNext() bool

func (*LicenseUsersResponse) GetPage

func (x *LicenseUsersResponse) GetPage() int32

func (*LicenseUsersResponse) ProtoMessage

func (*LicenseUsersResponse) ProtoMessage()

func (*LicenseUsersResponse) ProtoReflect

func (x *LicenseUsersResponse) ProtoReflect() protoreflect.Message

func (*LicenseUsersResponse) Reset

func (x *LicenseUsersResponse) Reset()

func (*LicenseUsersResponse) String

func (x *LicenseUsersResponse) String() string

type LicenseV1

type LicenseV1 struct {
	Id          string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                 // serial number assigned (global::License-ID)
	NotBefore   int64    `protobuf:"varint,2,opt,name=not_before,json=notBefore,proto3" json:"not_before,omitempty"` // optional
	NotAfter    int64    `protobuf:"varint,3,opt,name=not_after,json=notAfter,proto3" json:"not_after,omitempty"`    // optional
	Product     string   `protobuf:"bytes,4,opt,name=product,proto3" json:"product,omitempty"`                       // product name, e.g.: DEVICE, MANAGER, OPERATOR
	Scope       []string `protobuf:"bytes,5,rep,name=scope,proto3" json:"scope,omitempty"`                           // list of known classes, &this product grants mandatory access to, e.g.: 'users', 'roles', 'cc_agent', 'calendars', ...
	Competitive bool     `protobuf:"varint,6,opt,name=competitive,proto3" json:"competitive,omitempty"`
	Limit       int32    `protobuf:"varint,7,opt,name=limit,proto3" json:"limit,omitempty"` // required: limit count (maximum allowed usage quantity)
	// operational attributes ...
	// remain = limit - len(users)
	Remain int32          `protobuf:"varint,8,opt,name=remain,proto3" json:"remain,omitempty"` // available
	Users  []*LicenseUser `protobuf:"bytes,9,rep,name=users,proto3" json:"users,omitempty"`    // users.id (grantees)
	Status *Verification  `protobuf:"bytes,10,opt,name=status,proto3" json:"status,omitempty"`
	// contains filtered or unexported fields
}

func (*LicenseV1) Descriptor deprecated

func (*LicenseV1) Descriptor() ([]byte, []int)

Deprecated: Use LicenseV1.ProtoReflect.Descriptor instead.

func (*LicenseV1) GetCompetitive

func (x *LicenseV1) GetCompetitive() bool

func (*LicenseV1) GetId

func (x *LicenseV1) GetId() string

func (*LicenseV1) GetLimit

func (x *LicenseV1) GetLimit() int32

func (*LicenseV1) GetNotAfter

func (x *LicenseV1) GetNotAfter() int64

func (*LicenseV1) GetNotBefore

func (x *LicenseV1) GetNotBefore() int64

func (*LicenseV1) GetProduct

func (x *LicenseV1) GetProduct() string

func (*LicenseV1) GetRemain

func (x *LicenseV1) GetRemain() int32

func (*LicenseV1) GetScope

func (x *LicenseV1) GetScope() []string

func (*LicenseV1) GetStatus

func (x *LicenseV1) GetStatus() *Verification

func (*LicenseV1) GetUsers

func (x *LicenseV1) GetUsers() []*LicenseUser

func (*LicenseV1) ProtoMessage

func (*LicenseV1) ProtoMessage()

func (*LicenseV1) ProtoReflect

func (x *LicenseV1) ProtoReflect() protoreflect.Message

func (*LicenseV1) Reset

func (x *LicenseV1) Reset()

func (*LicenseV1) String

func (x *LicenseV1) String() string

type ListAccessRequest

type ListAccessRequest struct {
	Domain     string   `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Class      string   `protobuf:"bytes,2,opt,name=class,proto3" json:"class,omitempty"`
	Object     int64    `protobuf:"varint,3,opt,name=object,proto3" json:"object,omitempty"`        // class.object.id
	Subject    int64    `protobuf:"varint,4,opt,name=subject,proto3" json:"subject,omitempty"`      // grantee.role.id
	Privileges []string `protobuf:"bytes,5,rep,name=privileges,proto3" json:"privileges,omitempty"` // ["SEARCH","MODIFY","DELETE","CREATE"]
	Grantable  []string `protobuf:"bytes,6,rep,name=grantable,proto3" json:"grantable,omitempty"`   // ["SEARCH","MODIFY","DELETE","CREATE"]
	// contains filtered or unexported fields
}

GET /{class}/{oid}

func (*ListAccessRequest) Descriptor deprecated

func (*ListAccessRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListAccessRequest.ProtoReflect.Descriptor instead.

func (*ListAccessRequest) GetClass

func (x *ListAccessRequest) GetClass() string

func (*ListAccessRequest) GetDomain

func (x *ListAccessRequest) GetDomain() string

func (*ListAccessRequest) GetGrantable

func (x *ListAccessRequest) GetGrantable() []string

func (*ListAccessRequest) GetObject

func (x *ListAccessRequest) GetObject() int64

func (*ListAccessRequest) GetPrivileges

func (x *ListAccessRequest) GetPrivileges() []string

func (*ListAccessRequest) GetSubject

func (x *ListAccessRequest) GetSubject() int64

func (*ListAccessRequest) ProtoMessage

func (*ListAccessRequest) ProtoMessage()

func (*ListAccessRequest) ProtoReflect

func (x *ListAccessRequest) ProtoReflect() protoreflect.Message

func (*ListAccessRequest) Reset

func (x *ListAccessRequest) Reset()

func (*ListAccessRequest) String

func (x *ListAccessRequest) String() string

type ListAccessRequestV1

type ListAccessRequestV1 struct {

	// --- object ident ---
	// this might be something like objectId field
	//
	//	message ObjectRef {
	//	    string class = 1; // FIXME: maybe .path ? e.g: /devices, /call_center/queue
	//	    int64  id = 2;
	//	}
	//
	// ObjectRef object = 1;
	// // // TODO: register API: /{object.class:[\\w]+}/{object.id:[0-9]+}/acl
	// string class = 1; // object .type definition
	// int64 object = 2; // class.object.id
	Object *ObjectId `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`
	// --- filters ---
	Grantor []int64  `protobuf:"varint,2,rep,packed,name=grantor,proto3" json:"grantor,omitempty"` // [optional] [FROM] each rule owner is any of role(s) id; user -or- role
	Grantee []int64  `protobuf:"varint,3,rep,packed,name=grantee,proto3" json:"grantee,omitempty"` // [optional] [TO] subject role(s) id; user -or- role
	Granted []string `protobuf:"bytes,4,rep,name=granted,proto3" json:"granted,omitempty"`         // [xrwdxrwd] [R]ecord-[b]ased-[A]ccess-[C]ontrol level check(!)
	Q       string   `protobuf:"bytes,5,opt,name=q,proto3" json:"q,omitempty"`                     // [optional] [TO] subject.name ILIKE ?q=; user -or- role
	// ----- Select Options -------------------------
	Fields []string `protobuf:"bytes,20,rep,name=fields,proto3" json:"fields,omitempty"` // attributes list
	Sort   []string `protobuf:"bytes,21,rep,name=sort,proto3" json:"sort,omitempty"`     // e.g.: "updated_at" - ASC; "!updated_at" - DESC;
	// pagedResultsControl
	Size int32 `protobuf:"varint,22,opt,name=size,proto3" json:"size,omitempty"` // default: 16
	Page int32 `protobuf:"varint,23,opt,name=page,proto3" json:"page,omitempty"` // default: 1
	// contains filtered or unexported fields
}

GET /{class}/{oid}

func (*ListAccessRequestV1) Descriptor deprecated

func (*ListAccessRequestV1) Descriptor() ([]byte, []int)

Deprecated: Use ListAccessRequestV1.ProtoReflect.Descriptor instead.

func (*ListAccessRequestV1) GetFields

func (x *ListAccessRequestV1) GetFields() []string

func (*ListAccessRequestV1) GetGranted

func (x *ListAccessRequestV1) GetGranted() []string

func (*ListAccessRequestV1) GetGrantee

func (x *ListAccessRequestV1) GetGrantee() []int64

func (*ListAccessRequestV1) GetGrantor

func (x *ListAccessRequestV1) GetGrantor() []int64

func (*ListAccessRequestV1) GetObject

func (x *ListAccessRequestV1) GetObject() *ObjectId

func (*ListAccessRequestV1) GetPage

func (x *ListAccessRequestV1) GetPage() int32

func (*ListAccessRequestV1) GetQ

func (x *ListAccessRequestV1) GetQ() string

func (*ListAccessRequestV1) GetSize

func (x *ListAccessRequestV1) GetSize() int32

func (*ListAccessRequestV1) GetSort

func (x *ListAccessRequestV1) GetSort() []string

func (*ListAccessRequestV1) ProtoMessage

func (*ListAccessRequestV1) ProtoMessage()

func (*ListAccessRequestV1) ProtoReflect

func (x *ListAccessRequestV1) ProtoReflect() protoreflect.Message

func (*ListAccessRequestV1) Reset

func (x *ListAccessRequestV1) Reset()

func (*ListAccessRequestV1) String

func (x *ListAccessRequestV1) String() string

type ListAccessResponse

type ListAccessResponse struct {
	List []*Access_Grant `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAccessResponse) Descriptor deprecated

func (*ListAccessResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListAccessResponse.ProtoReflect.Descriptor instead.

func (*ListAccessResponse) GetList

func (x *ListAccessResponse) GetList() []*Access_Grant

func (*ListAccessResponse) ProtoMessage

func (*ListAccessResponse) ProtoMessage()

func (*ListAccessResponse) ProtoReflect

func (x *ListAccessResponse) ProtoReflect() protoreflect.Message

func (*ListAccessResponse) Reset

func (x *ListAccessResponse) Reset()

func (*ListAccessResponse) String

func (x *ListAccessResponse) String() string

type ListAccessResponseV1

type ListAccessResponseV1 struct {

	// region: paged result control response value
	Page int32 `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"` //
	Next bool  `protobuf:"varint,3,opt,name=next,proto3" json:"next,omitempty"` // indicate partial response: ( next || page > 1 ? partial : full )
	// endregion
	Items []*AccessRule `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*ListAccessResponseV1) Descriptor deprecated

func (*ListAccessResponseV1) Descriptor() ([]byte, []int)

Deprecated: Use ListAccessResponseV1.ProtoReflect.Descriptor instead.

func (*ListAccessResponseV1) GetItems

func (x *ListAccessResponseV1) GetItems() []*AccessRule

func (*ListAccessResponseV1) GetNext

func (x *ListAccessResponseV1) GetNext() bool

func (*ListAccessResponseV1) GetPage

func (x *ListAccessResponseV1) GetPage() int32

func (*ListAccessResponseV1) ProtoMessage

func (*ListAccessResponseV1) ProtoMessage()

func (*ListAccessResponseV1) ProtoReflect

func (x *ListAccessResponseV1) ProtoReflect() protoreflect.Message

func (*ListAccessResponseV1) Reset

func (x *ListAccessResponseV1) Reset()

func (*ListAccessResponseV1) String

func (x *ListAccessResponseV1) String() string

type ListRegistrationsRequest

type ListRegistrationsRequest struct {
	User   *UserId   `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Device *DeviceId `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"`
	// contains filtered or unexported fields
}

func (*ListRegistrationsRequest) Descriptor deprecated

func (*ListRegistrationsRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListRegistrationsRequest.ProtoReflect.Descriptor instead.

func (*ListRegistrationsRequest) GetDevice

func (x *ListRegistrationsRequest) GetDevice() *DeviceId

func (*ListRegistrationsRequest) GetUser

func (x *ListRegistrationsRequest) GetUser() *UserId

func (*ListRegistrationsRequest) ProtoMessage

func (*ListRegistrationsRequest) ProtoMessage()

func (*ListRegistrationsRequest) ProtoReflect

func (x *ListRegistrationsRequest) ProtoReflect() protoreflect.Message

func (*ListRegistrationsRequest) Reset

func (x *ListRegistrationsRequest) Reset()

func (*ListRegistrationsRequest) String

func (x *ListRegistrationsRequest) String() string

type ListRegistrationsResponse

type ListRegistrationsResponse struct {
	Page  int32           `protobuf:"varint,10,opt,name=page,proto3" json:"page,omitempty"` // select: offset {page}
	Size  int32           `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // search: limit {size}
	Next  bool            `protobuf:"varint,12,opt,name=next,proto3" json:"next,omitempty"` // search: has {next} page ?
	Items []*Registration `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // registered
	// contains filtered or unexported fields
}

func (*ListRegistrationsResponse) Descriptor deprecated

func (*ListRegistrationsResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListRegistrationsResponse.ProtoReflect.Descriptor instead.

func (*ListRegistrationsResponse) GetItems

func (x *ListRegistrationsResponse) GetItems() []*Registration

func (*ListRegistrationsResponse) GetNext

func (x *ListRegistrationsResponse) GetNext() bool

func (*ListRegistrationsResponse) GetPage

func (x *ListRegistrationsResponse) GetPage() int32

func (*ListRegistrationsResponse) GetSize

func (x *ListRegistrationsResponse) GetSize() int32

func (*ListRegistrationsResponse) ProtoMessage

func (*ListRegistrationsResponse) ProtoMessage()

func (*ListRegistrationsResponse) ProtoReflect

func (*ListRegistrationsResponse) Reset

func (x *ListRegistrationsResponse) Reset()

func (*ListRegistrationsResponse) String

func (x *ListRegistrationsResponse) String() string

type ListUserAccessTokenRequest

type ListUserAccessTokenRequest struct {
	User *ObjectId `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"` // [required] manual or current otherwise
	// int32 page = 2;
	// int64 size = 3;
	Q string `protobuf:"bytes,4,opt,name=q,proto3" json:"q,omitempty"` // .usage ILIKE :q
	// ----- Search Options -------------------------
	Fields []string `protobuf:"bytes,10,rep,name=fields,proto3" json:"fields,omitempty"` // select: output (fields,...)
	Sort   []string `protobuf:"bytes,11,rep,name=sort,proto3" json:"sort,omitempty"`     // select: order by (fields,...)
	Page   int32    `protobuf:"varint,12,opt,name=page,proto3" json:"page,omitempty"`    // select: offset {page}
	Size   int32    `protobuf:"varint,13,opt,name=size,proto3" json:"size,omitempty"`    // select: limit {size}
	// contains filtered or unexported fields
}

func (*ListUserAccessTokenRequest) Descriptor deprecated

func (*ListUserAccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListUserAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*ListUserAccessTokenRequest) GetFields

func (x *ListUserAccessTokenRequest) GetFields() []string

func (*ListUserAccessTokenRequest) GetPage

func (x *ListUserAccessTokenRequest) GetPage() int32

func (*ListUserAccessTokenRequest) GetQ

func (*ListUserAccessTokenRequest) GetSize

func (x *ListUserAccessTokenRequest) GetSize() int32

func (*ListUserAccessTokenRequest) GetSort

func (x *ListUserAccessTokenRequest) GetSort() []string

func (*ListUserAccessTokenRequest) GetUser

func (x *ListUserAccessTokenRequest) GetUser() *ObjectId

func (*ListUserAccessTokenRequest) ProtoMessage

func (*ListUserAccessTokenRequest) ProtoMessage()

func (*ListUserAccessTokenRequest) ProtoReflect

func (*ListUserAccessTokenRequest) Reset

func (x *ListUserAccessTokenRequest) Reset()

func (*ListUserAccessTokenRequest) String

func (x *ListUserAccessTokenRequest) String() string

type LoginRequest

type LoginRequest struct {
	Domain      string   `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`           // domain name
	Username    string   `protobuf:"bytes,2,opt,name=username,proto3" json:"username,omitempty"`       // username
	Password    string   `protobuf:"bytes,3,opt,name=password,proto3" json:"password,omitempty"`       // user password
	Scope       []string `protobuf:"bytes,6,rep,name=scope,proto3" json:"scope,omitempty"`             // scope request control
	Certificate []byte   `protobuf:"bytes,7,opt,name=certificate,proto3" json:"certificate,omitempty"` // license/certificate
	// OPTIONAL. Mobile device /login request ?
	Mobile bool `protobuf:"varint,8,opt,name=mobile,proto3" json:"mobile,omitempty"`
	// contains filtered or unexported fields
}

POST /login

func (*LoginRequest) Descriptor deprecated

func (*LoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use LoginRequest.ProtoReflect.Descriptor instead.

func (*LoginRequest) GetCertificate

func (x *LoginRequest) GetCertificate() []byte

func (*LoginRequest) GetDomain

func (x *LoginRequest) GetDomain() string

func (*LoginRequest) GetMobile

func (x *LoginRequest) GetMobile() bool

func (*LoginRequest) GetPassword

func (x *LoginRequest) GetPassword() string

func (*LoginRequest) GetScope

func (x *LoginRequest) GetScope() []string

func (*LoginRequest) GetUsername

func (x *LoginRequest) GetUsername() string

func (*LoginRequest) ProtoMessage

func (*LoginRequest) ProtoMessage()

func (*LoginRequest) ProtoReflect

func (x *LoginRequest) ProtoReflect() protoreflect.Message

func (*LoginRequest) Reset

func (x *LoginRequest) Reset()

func (*LoginRequest) String

func (x *LoginRequest) String() string

type LoginResponse

type LoginResponse struct {
	Authorization *AccessToken `protobuf:"bytes,1,opt,name=authorization,proto3" json:"authorization,omitempty"`
	// contains filtered or unexported fields
}

func (*LoginResponse) Descriptor deprecated

func (*LoginResponse) Descriptor() ([]byte, []int)

Deprecated: Use LoginResponse.ProtoReflect.Descriptor instead.

func (*LoginResponse) GetAuthorization

func (x *LoginResponse) GetAuthorization() *AccessToken

func (*LoginResponse) ProtoMessage

func (*LoginResponse) ProtoMessage()

func (*LoginResponse) ProtoReflect

func (x *LoginResponse) ProtoReflect() protoreflect.Message

func (*LoginResponse) Reset

func (x *LoginResponse) Reset()

func (*LoginResponse) String

func (x *LoginResponse) String() string

type LogoutRequest

type LogoutRequest struct {
	Dc     int64  `protobuf:"varint,1,opt,name=dc,proto3" json:"dc,omitempty"`        // optional: domain.dc (component.id)
	Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // optional: domain.name (access::domain)
	Uuid   string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"`     // optional: session.uuid (access::any)
	// contains filtered or unexported fields
}

POST /logout

func (*LogoutRequest) Descriptor deprecated

func (*LogoutRequest) Descriptor() ([]byte, []int)

Deprecated: Use LogoutRequest.ProtoReflect.Descriptor instead.

func (*LogoutRequest) GetDc

func (x *LogoutRequest) GetDc() int64

func (*LogoutRequest) GetDomain

func (x *LogoutRequest) GetDomain() string

func (*LogoutRequest) GetUuid

func (x *LogoutRequest) GetUuid() string

func (*LogoutRequest) ProtoMessage

func (*LogoutRequest) ProtoMessage()

func (*LogoutRequest) ProtoReflect

func (x *LogoutRequest) ProtoReflect() protoreflect.Message

func (*LogoutRequest) Reset

func (x *LogoutRequest) Reset()

func (*LogoutRequest) String

func (x *LogoutRequest) String() string

type LogoutResponse

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

func (*LogoutResponse) Descriptor deprecated

func (*LogoutResponse) Descriptor() ([]byte, []int)

Deprecated: Use LogoutResponse.ProtoReflect.Descriptor instead.

func (*LogoutResponse) ProtoMessage

func (*LogoutResponse) ProtoMessage()

func (*LogoutResponse) ProtoReflect

func (x *LogoutResponse) ProtoReflect() protoreflect.Message

func (*LogoutResponse) Reset

func (x *LogoutResponse) Reset()

func (*LogoutResponse) String

func (x *LogoutResponse) String() string

type LogoutUserRequest

type LogoutUserRequest struct {
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// contains filtered or unexported fields
}

func (*LogoutUserRequest) Descriptor deprecated

func (*LogoutUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use LogoutUserRequest.ProtoReflect.Descriptor instead.

func (*LogoutUserRequest) GetId

func (x *LogoutUserRequest) GetId() int64

func (*LogoutUserRequest) ProtoMessage

func (*LogoutUserRequest) ProtoMessage()

func (*LogoutUserRequest) ProtoReflect

func (x *LogoutUserRequest) ProtoReflect() protoreflect.Message

func (*LogoutUserRequest) Reset

func (x *LogoutUserRequest) Reset()

func (*LogoutUserRequest) String

func (x *LogoutUserRequest) String() string

type LogoutUserResponse

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

func (*LogoutUserResponse) Descriptor deprecated

func (*LogoutUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use LogoutUserResponse.ProtoReflect.Descriptor instead.

func (*LogoutUserResponse) ProtoMessage

func (*LogoutUserResponse) ProtoMessage()

func (*LogoutUserResponse) ProtoReflect

func (x *LogoutUserResponse) ProtoReflect() protoreflect.Message

func (*LogoutUserResponse) Reset

func (x *LogoutUserResponse) Reset()

func (*LogoutUserResponse) String

func (x *LogoutUserResponse) String() string

type OAuth2Client

type OAuth2Client interface {
	// The authorization endpoint is used to interact with the resource
	// owner and obtain an authorization grant.
	Authorize(ctx context.Context, in *AuthorizationRequest, opts ...grpc.CallOption) (*AuthorizationResponse, error)
	// The Token endpoint is used by the client to obtain an access token
	// by presenting its authorization grant or refresh token. The token
	// endpoint is used with every authorization grant except for the
	// implicit grant type (since an access token is issued directly).
	Token(ctx context.Context, in *AccessTokenRequest, opts ...grpc.CallOption) (*AccessToken, error)
}

OAuth2Client is the client API for OAuth2 service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

OAuth 2.0 authorization service

func NewOAuth2Client

func NewOAuth2Client(cc grpc.ClientConnInterface) OAuth2Client

type OAuth2FederationClient

type OAuth2FederationClient interface {
	SearchOAuthService(ctx context.Context, in *SearchOAuthServiceRequest, opts ...grpc.CallOption) (*SearchOAuthServiceResponse, error)
	CreateOAuthService(ctx context.Context, in *OAuthService, opts ...grpc.CallOption) (*OAuthService, error)
	LocateOAuthService(ctx context.Context, in *SearchOAuthServiceRequest, opts ...grpc.CallOption) (*OAuthService, error)
	UpdateOAuthService(ctx context.Context, in *UpdateOAuthServiceRequest, opts ...grpc.CallOption) (*OAuthService, error)
	DeleteOAuthService(ctx context.Context, in *DeleteOAuthServiceRequest, opts ...grpc.CallOption) (*DeleteOAuthServiceResponse, error)
}

OAuth2FederationClient is the client API for OAuth2Federation service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

OAuth 2.0 service federation

type OAuth2FederationServer

type OAuth2FederationServer interface {
	SearchOAuthService(context.Context, *SearchOAuthServiceRequest) (*SearchOAuthServiceResponse, error)
	CreateOAuthService(context.Context, *OAuthService) (*OAuthService, error)
	LocateOAuthService(context.Context, *SearchOAuthServiceRequest) (*OAuthService, error)
	UpdateOAuthService(context.Context, *UpdateOAuthServiceRequest) (*OAuthService, error)
	DeleteOAuthService(context.Context, *DeleteOAuthServiceRequest) (*DeleteOAuthServiceResponse, error)
	// contains filtered or unexported methods
}

OAuth2FederationServer is the server API for OAuth2Federation service. All implementations must embed UnimplementedOAuth2FederationServer for forward compatibility.

OAuth 2.0 service federation

type OAuth2Server

type OAuth2Server interface {
	// The authorization endpoint is used to interact with the resource
	// owner and obtain an authorization grant.
	Authorize(context.Context, *AuthorizationRequest) (*AuthorizationResponse, error)
	// The Token endpoint is used by the client to obtain an access token
	// by presenting its authorization grant or refresh token. The token
	// endpoint is used with every authorization grant except for the
	// implicit grant type (since an access token is issued directly).
	Token(context.Context, *AccessTokenRequest) (*AccessToken, error)
	// contains filtered or unexported methods
}

OAuth2Server is the server API for OAuth2 service. All implementations must embed UnimplementedOAuth2Server for forward compatibility.

OAuth 2.0 authorization service

type OAuthService

type OAuthService struct {
	Id     int64     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Name   string    `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // display
	Domain *ObjectId `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`
	Type   string    `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"` // well-known vendor; provider
	// Scopes to be requested
	Scopes []string `protobuf:"bytes,6,rep,name=scopes,proto3" json:"scopes,omitempty"`
	// Identity claims policy rules
	// NOTE: Order matters
	Claims       []*Claim         `protobuf:"bytes,7,rep,name=claims,proto3" json:"claims,omitempty"` // google.protobuf.Struct claims = 7;
	Enabled      bool             `protobuf:"varint,8,opt,name=enabled,proto3" json:"enabled,omitempty"`
	ClientId     string           `protobuf:"bytes,9,opt,name=client_id,json=clientId,proto3" json:"client_id,omitempty"`
	ClientSecret string           `protobuf:"bytes,10,opt,name=client_secret,json=clientSecret,proto3" json:"client_secret,omitempty"`
	AuthUrl      string           `protobuf:"bytes,11,opt,name=auth_url,json=authUrl,proto3" json:"auth_url,omitempty"`                // OAuth 2.0 Authorization Endpoint
	TokenUrl     string           `protobuf:"bytes,12,opt,name=token_url,json=tokenUrl,proto3" json:"token_url,omitempty"`             // OAuth 2.0 Token Endpoint
	UserinfoUrl  string           `protobuf:"bytes,13,opt,name=userinfo_url,json=userinfoUrl,proto3" json:"userinfo_url,omitempty"`    // OpenID Connect Userinfo Endpoint
	DiscoveryUrl string           `protobuf:"bytes,14,opt,name=discovery_url,json=discoveryUrl,proto3" json:"discovery_url,omitempty"` // OpenID Connect Service Discovery
	Metadata     *structpb.Struct `protobuf:"bytes,15,opt,name=metadata,proto3" json:"metadata,omitempty"`
	CreatedAt    int64            `protobuf:"varint,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // unix
	CreatedBy    *ObjectId        `protobuf:"bytes,21,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`  // user
	UpdatedAt    int64            `protobuf:"varint,22,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // unix
	UpdatedBy    *ObjectId        `protobuf:"bytes,23,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`  // user
	// contains filtered or unexported fields
}

OAuth 2.0 Authentication [S]ervice [P]rovider Application Configuration

func (*OAuthService) Descriptor deprecated

func (*OAuthService) Descriptor() ([]byte, []int)

Deprecated: Use OAuthService.ProtoReflect.Descriptor instead.

func (*OAuthService) GetAuthUrl

func (x *OAuthService) GetAuthUrl() string

func (*OAuthService) GetClaims

func (x *OAuthService) GetClaims() []*Claim

func (*OAuthService) GetClientId

func (x *OAuthService) GetClientId() string

func (*OAuthService) GetClientSecret

func (x *OAuthService) GetClientSecret() string

func (*OAuthService) GetCreatedAt

func (x *OAuthService) GetCreatedAt() int64

func (*OAuthService) GetCreatedBy

func (x *OAuthService) GetCreatedBy() *ObjectId

func (*OAuthService) GetDiscoveryUrl

func (x *OAuthService) GetDiscoveryUrl() string

func (*OAuthService) GetDomain

func (x *OAuthService) GetDomain() *ObjectId

func (*OAuthService) GetEnabled

func (x *OAuthService) GetEnabled() bool

func (*OAuthService) GetId

func (x *OAuthService) GetId() int64
func (x *OAuthService) GetLogo() string

func (*OAuthService) GetMetadata

func (x *OAuthService) GetMetadata() *structpb.Struct

func (*OAuthService) GetName

func (x *OAuthService) GetName() string

func (*OAuthService) GetScopes

func (x *OAuthService) GetScopes() []string

func (*OAuthService) GetTokenUrl

func (x *OAuthService) GetTokenUrl() string

func (*OAuthService) GetType

func (x *OAuthService) GetType() string

func (*OAuthService) GetUpdatedAt

func (x *OAuthService) GetUpdatedAt() int64

func (*OAuthService) GetUpdatedBy

func (x *OAuthService) GetUpdatedBy() *ObjectId

func (*OAuthService) GetUserinfoUrl

func (x *OAuthService) GetUserinfoUrl() string

func (*OAuthService) ProtoMessage

func (*OAuthService) ProtoMessage()

func (*OAuthService) ProtoReflect

func (x *OAuthService) ProtoReflect() protoreflect.Message

func (*OAuthService) Reset

func (x *OAuthService) Reset()

func (*OAuthService) String

func (x *OAuthService) String() string

type Objclass

type Objclass struct {

	// Inherit::ObjectClass
	Id    int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`      // class: object id
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`   // class: display common name
	Class string `protobuf:"bytes,3,opt,name=class,proto3" json:"class,omitempty"` // class: alphanumeric code name
	// Is [?]-[b]ased [A]ccess [C]ontrol *model enabled ?
	Abac bool `protobuf:"varint,4,opt,name=abac,proto3" json:"abac,omitempty"` // [A]ttribute-[b]ased;  not implemented; next releases ...
	Obac bool `protobuf:"varint,5,opt,name=obac,proto3" json:"obac,omitempty"` // [O]peration-[b]ased;  Mandatory: control access to object.class (alias: collection, section, etc.)
	Rbac bool `protobuf:"varint,6,opt,name=rbac,proto3" json:"rbac,omitempty"` // [R]ecord-[b]ased; Discretionary: control access to object.entry (alias: resource, record, etc.)
	// Extension: discretionary access control
	Access string `protobuf:"bytes,7,opt,name=access,proto3" json:"access,omitempty"` // flags: [ CREATE | SELECT | UPDATE | DELETE ]
	// contains filtered or unexported fields
}

AccessScope represents authorized access level to object class declaration within domain namespace

func (*Objclass) Descriptor deprecated

func (*Objclass) Descriptor() ([]byte, []int)

Deprecated: Use Objclass.ProtoReflect.Descriptor instead.

func (*Objclass) GetAbac

func (x *Objclass) GetAbac() bool

func (*Objclass) GetAccess

func (x *Objclass) GetAccess() string

func (*Objclass) GetClass

func (x *Objclass) GetClass() string

func (*Objclass) GetId

func (x *Objclass) GetId() int64

func (*Objclass) GetName

func (x *Objclass) GetName() string

func (*Objclass) GetObac

func (x *Objclass) GetObac() bool

func (*Objclass) GetRbac

func (x *Objclass) GetRbac() bool

func (*Objclass) ProtoMessage

func (*Objclass) ProtoMessage()

func (*Objclass) ProtoReflect

func (x *Objclass) ProtoReflect() protoreflect.Message

func (*Objclass) Reset

func (x *Objclass) Reset()

func (*Objclass) String

func (x *Objclass) String() string

type ObjectClass

type ObjectClass struct {
	Id    int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`      // (class::object).id
	Class string `protobuf:"bytes,2,opt,name=class,proto3" json:"class,omitempty"` // (class::object).name
	Abac  bool   `protobuf:"varint,3,opt,name=abac,proto3" json:"abac,omitempty"`  // [a]ttribute-[b]ased [a]ccess [c]ontrol
	Obac  bool   `protobuf:"varint,4,opt,name=obac,proto3" json:"obac,omitempty"`  // [o]peration-[b]ased [a]ccess [c]ontrol (from::collection.dal)
	Rbac  bool   `protobuf:"varint,5,opt,name=rbac,proto3" json:"rbac,omitempty"`  // [r]ecord-[b]ased [a]ccess [c]ontrol (from::resource.acl)
	// contains filtered or unexported fields
}

func (*ObjectClass) Descriptor deprecated

func (*ObjectClass) Descriptor() ([]byte, []int)

Deprecated: Use ObjectClass.ProtoReflect.Descriptor instead.

func (*ObjectClass) GetAbac

func (x *ObjectClass) GetAbac() bool

func (*ObjectClass) GetClass

func (x *ObjectClass) GetClass() string

func (*ObjectClass) GetId

func (x *ObjectClass) GetId() int64

func (*ObjectClass) GetObac

func (x *ObjectClass) GetObac() bool

func (*ObjectClass) GetRbac

func (x *ObjectClass) GetRbac() bool

func (*ObjectClass) ProtoMessage

func (*ObjectClass) ProtoMessage()

func (*ObjectClass) ProtoReflect

func (x *ObjectClass) ProtoReflect() protoreflect.Message

func (*ObjectClass) Reset

func (x *ObjectClass) Reset()

func (*ObjectClass) String

func (x *ObjectClass) String() string

type ObjectId

type ObjectId struct {
	Id   int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`    // identifier
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // display name
	// contains filtered or unexported fields
}

func (*ObjectId) Descriptor deprecated

func (*ObjectId) Descriptor() ([]byte, []int)

Deprecated: Use ObjectId.ProtoReflect.Descriptor instead.

func (*ObjectId) GetId

func (x *ObjectId) GetId() int64

func (*ObjectId) GetName

func (x *ObjectId) GetName() string

func (*ObjectId) ProtoMessage

func (*ObjectId) ProtoMessage()

func (*ObjectId) ProtoReflect

func (x *ObjectId) ProtoReflect() protoreflect.Message

func (*ObjectId) Reset

func (x *ObjectId) Reset()

func (*ObjectId) String

func (x *ObjectId) String() string

type Organization

type Organization struct {
	Dc              int64  `protobuf:"varint,1,opt,name=dc,proto3" json:"dc,omitempty"`        // component
	Domain          string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // FQDN
	Organization    string `protobuf:"bytes,3,opt,name=organization,proto3" json:"organization,omitempty"`
	Country         string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"`
	Locality        string `protobuf:"bytes,5,opt,name=locality,proto3" json:"locality,omitempty"`
	StateOrProvince string `protobuf:"bytes,6,opt,name=stateOrProvince,proto3" json:"stateOrProvince,omitempty"`
	StreetAddress   string `protobuf:"bytes,7,opt,name=streetAddress,proto3" json:"streetAddress,omitempty"`
	PostalCode      string `protobuf:"bytes,8,opt,name=postalCode,proto3" json:"postalCode,omitempty"`
	PostalAddress   string `protobuf:"bytes,9,opt,name=postalAddress,proto3" json:"postalAddress,omitempty"`
	TelephoneNumber string `protobuf:"bytes,10,opt,name=telephoneNumber,proto3" json:"telephoneNumber,omitempty"`
	Email           string `protobuf:"bytes,11,opt,name=email,proto3" json:"email,omitempty"`
	CreatedAt       int64  `protobuf:"varint,20,opt,name=createdAt,proto3" json:"createdAt,omitempty"` // unix
	CreatedBy       string `protobuf:"bytes,21,opt,name=createdBy,proto3" json:"createdBy,omitempty"`  // user
	UpdatedAt       int64  `protobuf:"varint,22,opt,name=updatedAt,proto3" json:"updatedAt,omitempty"` // unix
	UpdatedBy       string `protobuf:"bytes,23,opt,name=updatedBy,proto3" json:"updatedBy,omitempty"`  // user
	// contains filtered or unexported fields
}

func (*Organization) Descriptor deprecated

func (*Organization) Descriptor() ([]byte, []int)

Deprecated: Use Organization.ProtoReflect.Descriptor instead.

func (*Organization) GetCountry

func (x *Organization) GetCountry() string

func (*Organization) GetCreatedAt

func (x *Organization) GetCreatedAt() int64

func (*Organization) GetCreatedBy

func (x *Organization) GetCreatedBy() string

func (*Organization) GetDc

func (x *Organization) GetDc() int64

func (*Organization) GetDomain

func (x *Organization) GetDomain() string

func (*Organization) GetEmail

func (x *Organization) GetEmail() string

func (*Organization) GetLocality

func (x *Organization) GetLocality() string

func (*Organization) GetOrganization

func (x *Organization) GetOrganization() string

func (*Organization) GetPostalAddress

func (x *Organization) GetPostalAddress() string

func (*Organization) GetPostalCode

func (x *Organization) GetPostalCode() string

func (*Organization) GetStateOrProvince

func (x *Organization) GetStateOrProvince() string

func (*Organization) GetStreetAddress

func (x *Organization) GetStreetAddress() string

func (*Organization) GetTelephoneNumber

func (x *Organization) GetTelephoneNumber() string

func (*Organization) GetUpdatedAt

func (x *Organization) GetUpdatedAt() int64

func (*Organization) GetUpdatedBy

func (x *Organization) GetUpdatedBy() string

func (*Organization) ProtoMessage

func (*Organization) ProtoMessage()

func (*Organization) ProtoReflect

func (x *Organization) ProtoReflect() protoreflect.Message

func (*Organization) Reset

func (x *Organization) Reset()

func (*Organization) String

func (x *Organization) String() string

type Permission

type Permission struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`       // [required] e.g.: 'read', 'playback_record_file', ...
	Name  string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`   // [optional] e.g.: 'Select Any'
	Usage string `protobuf:"bytes,3,opt,name=usage,proto3" json:"usage,omitempty"` // [optional] e.g.: 'Grants permission to select any objects'
	// contains filtered or unexported fields
}

func (*Permission) Descriptor deprecated

func (*Permission) Descriptor() ([]byte, []int)

Deprecated: Use Permission.ProtoReflect.Descriptor instead.

func (*Permission) GetId

func (x *Permission) GetId() string

func (*Permission) GetName

func (x *Permission) GetName() string

func (*Permission) GetUsage

func (x *Permission) GetUsage() string

func (*Permission) ProtoMessage

func (*Permission) ProtoMessage()

func (*Permission) ProtoReflect

func (x *Permission) ProtoReflect() protoreflect.Message

func (*Permission) Reset

func (x *Permission) Reset()

func (*Permission) String

func (x *Permission) String() string

type PermissionsClient

type PermissionsClient interface {
	// GetPermissions list available from application
	GetPermissions(ctx context.Context, in *SearchPermissionRequest, opts ...grpc.CallOption) (*SearchPermissionResponse, error)
}

PermissionsClient is the client API for Permissions service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

Permissions service repository

type PermissionsServer

type PermissionsServer interface {
	// GetPermissions list available from application
	GetPermissions(context.Context, *SearchPermissionRequest) (*SearchPermissionResponse, error)
	// contains filtered or unexported methods
}

PermissionsServer is the server API for Permissions service. All implementations must embed UnimplementedPermissionsServer for forward compatibility.

Permissions service repository

type PresenceClient

type PresenceClient interface {
	// set(presence) (notify, error)
	SetStatus(ctx context.Context, in *SetStatusRequest, opts ...grpc.CallOption) (*PresenceStatus, error)
}

PresenceClient is the client API for Presence service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewPresenceClient

func NewPresenceClient(cc grpc.ClientConnInterface) PresenceClient

type PresenceServer

type PresenceServer interface {
	// set(presence) (notify, error)
	SetStatus(context.Context, *SetStatusRequest) (*PresenceStatus, error)
	// contains filtered or unexported methods
}

PresenceServer is the server API for Presence service. All implementations must embed UnimplementedPresenceServer for forward compatibility.

type PresenceStatus

type PresenceStatus struct {

	// basic:latest
	Id        string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                               // [required] tuple unique id; <track>
	App       string `protobuf:"bytes,2,opt,name=app,proto3" json:"app,omitempty"`                             // [optional] service node identity
	Status    string `protobuf:"bytes,3,opt,name=status,proto3" json:"status,omitempty"`                       // [optional] unique set of <enum:dnd|call|sip|wss>; assume <offline> if blank; <scope> on request
	Note      string `protobuf:"bytes,4,opt,name=note,proto3" json:"note,omitempty"`                           // [optional] human readable comment
	Open      int32  `protobuf:"varint,5,opt,name=open,proto3" json:"open,omitempty"`                          // [optional] positive value signify 'active'
	Closed    bool   `protobuf:"varint,6,opt,name=closed,proto3" json:"closed,omitempty"`                      // [optional] signify <status> tuple gone from user's presence; equls to (open == 0)
	Contact   string `protobuf:"bytes,7,opt,name=contact,proto3" json:"contact,omitempty"`                     // [optional] communication <url>
	Priority  int32  `protobuf:"varint,8,opt,name=priority,proto3" json:"priority,omitempty"`                  // [optional] importance level of this within presentity's
	Sequence  int64  `protobuf:"varint,9,opt,name=sequence,proto3" json:"sequence,omitempty"`                  // [optional] this tuple (document) modifications version
	Expires   int64  `protobuf:"varint,10,opt,name=expires,proto3" json:"expires,omitempty"`                   // NOTE: <dnd> actualy has no expires until user manualy switch it off
	Timestamp int64  `protobuf:"varint,11,opt,name=timestamp,proto3" json:"timestamp,omitempty"`               // [required] opened time
	DomainId  int64  `protobuf:"varint,12,opt,name=domain_id,json=domainId,proto3" json:"domain_id,omitempty"` // [hidden] for cluster purpose
	// detailed: -registered -tracking tuples
	Presence []*PresenceStatus `protobuf:"bytes,13,rep,name=presence,proto3" json:"presence,omitempty"`
	// contains filtered or unexported fields
}

PresenceStatus PUBLISH

func (*PresenceStatus) Descriptor deprecated

func (*PresenceStatus) Descriptor() ([]byte, []int)

Deprecated: Use PresenceStatus.ProtoReflect.Descriptor instead.

func (*PresenceStatus) GetApp

func (x *PresenceStatus) GetApp() string

func (*PresenceStatus) GetClosed

func (x *PresenceStatus) GetClosed() bool

func (*PresenceStatus) GetContact

func (x *PresenceStatus) GetContact() string

func (*PresenceStatus) GetDomainId

func (x *PresenceStatus) GetDomainId() int64

func (*PresenceStatus) GetExpires

func (x *PresenceStatus) GetExpires() int64

func (*PresenceStatus) GetId

func (x *PresenceStatus) GetId() string

func (*PresenceStatus) GetNote

func (x *PresenceStatus) GetNote() string

func (*PresenceStatus) GetOpen

func (x *PresenceStatus) GetOpen() int32

func (*PresenceStatus) GetPresence

func (x *PresenceStatus) GetPresence() []*PresenceStatus

func (*PresenceStatus) GetPriority

func (x *PresenceStatus) GetPriority() int32

func (*PresenceStatus) GetSequence

func (x *PresenceStatus) GetSequence() int64

func (*PresenceStatus) GetStatus

func (x *PresenceStatus) GetStatus() string

func (*PresenceStatus) GetTimestamp

func (x *PresenceStatus) GetTimestamp() int64

func (*PresenceStatus) ProtoMessage

func (*PresenceStatus) ProtoMessage()

func (*PresenceStatus) ProtoReflect

func (x *PresenceStatus) ProtoReflect() protoreflect.Message

func (*PresenceStatus) Reset

func (x *PresenceStatus) Reset()

func (*PresenceStatus) String

func (x *PresenceStatus) String() string

type Privilege

type Privilege struct {
	Id   int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

func (*Privilege) Descriptor deprecated

func (*Privilege) Descriptor() ([]byte, []int)

Deprecated: Use Privilege.ProtoReflect.Descriptor instead.

func (*Privilege) GetCode

func (x *Privilege) GetCode() string

func (*Privilege) GetId

func (x *Privilege) GetId() int64

func (*Privilege) ProtoMessage

func (*Privilege) ProtoMessage()

func (*Privilege) ProtoReflect

func (x *Privilege) ProtoReflect() protoreflect.Message

func (*Privilege) Reset

func (x *Privilege) Reset()

func (*Privilege) String

func (x *Privilege) String() string

type ProductUser

type ProductUser struct {
	User      *ObjectId `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`                             // grant to::user
	Domain    *ObjectId `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`                         // grant to::domain
	IssuedAt  int64     `protobuf:"varint,3,opt,name=issued_at,json=issuedAt,proto3" json:"issued_at,omitempty"`    // not before
	ExpiresAt int64     `protobuf:"varint,4,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"` // not after
	Sessions  int32     `protobuf:"varint,5,opt,name=sessions,proto3" json:"sessions,omitempty"`                    // User's active sessions count !
	// contains filtered or unexported fields
}

ProductUser GRANT details

func (*ProductUser) Descriptor deprecated

func (*ProductUser) Descriptor() ([]byte, []int)

Deprecated: Use ProductUser.ProtoReflect.Descriptor instead.

func (*ProductUser) GetDomain

func (x *ProductUser) GetDomain() *ObjectId

func (*ProductUser) GetExpiresAt

func (x *ProductUser) GetExpiresAt() int64

func (*ProductUser) GetIssuedAt

func (x *ProductUser) GetIssuedAt() int64

func (*ProductUser) GetSessions

func (x *ProductUser) GetSessions() int32

func (*ProductUser) GetUser

func (x *ProductUser) GetUser() *ObjectId

func (*ProductUser) ProtoMessage

func (*ProductUser) ProtoMessage()

func (*ProductUser) ProtoReflect

func (x *ProductUser) ProtoReflect() protoreflect.Message

func (*ProductUser) Reset

func (x *ProductUser) Reset()

func (*ProductUser) String

func (x *ProductUser) String() string

type Provision

type Provision struct {
	Id    string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`       // Provisioner Template-ID
	Brand string `protobuf:"bytes,2,opt,name=brand,proto3" json:"brand,omitempty"` // IP-Phone brand name, e.g.: Yealink, Cisco, Linphone, etc.
	Model string `protobuf:"bytes,3,opt,name=model,proto3" json:"model,omitempty"` // IP-Phone brand-specific model, e.g.: T22, 7821, etc.
	// contains filtered or unexported fields
}

Provision data

func (*Provision) Descriptor deprecated

func (*Provision) Descriptor() ([]byte, []int)

Deprecated: Use Provision.ProtoReflect.Descriptor instead.

func (*Provision) GetBrand

func (x *Provision) GetBrand() string

func (*Provision) GetId

func (x *Provision) GetId() string

func (*Provision) GetModel

func (x *Provision) GetModel() string

func (*Provision) ProtoMessage

func (*Provision) ProtoMessage()

func (*Provision) ProtoReflect

func (x *Provision) ProtoReflect() protoreflect.Message

func (*Provision) Reset

func (x *Provision) Reset()

func (*Provision) String

func (x *Provision) String() string

type ReadClassRequest

type ReadClassRequest struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Class  string `protobuf:"bytes,2,opt,name=class,proto3" json:"class,omitempty"` // [filter]: like '%class%'
	Id     int64  `protobuf:"varint,3,opt,name=id,proto3" json:"id,omitempty"`      // [filter]: obj.id = id
	// contains filtered or unexported fields
}

func (*ReadClassRequest) Descriptor deprecated

func (*ReadClassRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReadClassRequest.ProtoReflect.Descriptor instead.

func (*ReadClassRequest) GetClass

func (x *ReadClassRequest) GetClass() string

func (*ReadClassRequest) GetDomain

func (x *ReadClassRequest) GetDomain() string

func (*ReadClassRequest) GetId

func (x *ReadClassRequest) GetId() int64

func (*ReadClassRequest) ProtoMessage

func (*ReadClassRequest) ProtoMessage()

func (*ReadClassRequest) ProtoReflect

func (x *ReadClassRequest) ProtoReflect() protoreflect.Message

func (*ReadClassRequest) Reset

func (x *ReadClassRequest) Reset()

func (*ReadClassRequest) String

func (x *ReadClassRequest) String() string

type ReadClassResponse

type ReadClassResponse struct {
	Class *ObjectClass `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadClassResponse) Descriptor deprecated

func (*ReadClassResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReadClassResponse.ProtoReflect.Descriptor instead.

func (*ReadClassResponse) GetClass

func (x *ReadClassResponse) GetClass() *ObjectClass

func (*ReadClassResponse) ProtoMessage

func (*ReadClassResponse) ProtoMessage()

func (*ReadClassResponse) ProtoReflect

func (x *ReadClassResponse) ProtoReflect() protoreflect.Message

func (*ReadClassResponse) Reset

func (x *ReadClassResponse) Reset()

func (*ReadClassResponse) String

func (x *ReadClassResponse) String() string

type ReadDeviceRequest

type ReadDeviceRequest struct {
	Id     int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // output selection
	// contains filtered or unexported fields
}

GET /devices/{id}

func (*ReadDeviceRequest) Descriptor deprecated

func (*ReadDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReadDeviceRequest.ProtoReflect.Descriptor instead.

func (*ReadDeviceRequest) GetFields

func (x *ReadDeviceRequest) GetFields() []string

func (*ReadDeviceRequest) GetId

func (x *ReadDeviceRequest) GetId() int64

func (*ReadDeviceRequest) ProtoMessage

func (*ReadDeviceRequest) ProtoMessage()

func (*ReadDeviceRequest) ProtoReflect

func (x *ReadDeviceRequest) ProtoReflect() protoreflect.Message

func (*ReadDeviceRequest) Reset

func (x *ReadDeviceRequest) Reset()

func (*ReadDeviceRequest) String

func (x *ReadDeviceRequest) String() string

type ReadDeviceResponse

type ReadDeviceResponse struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadDeviceResponse) Descriptor deprecated

func (*ReadDeviceResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReadDeviceResponse.ProtoReflect.Descriptor instead.

func (*ReadDeviceResponse) GetDevice

func (x *ReadDeviceResponse) GetDevice() *Device

func (*ReadDeviceResponse) ProtoMessage

func (*ReadDeviceResponse) ProtoMessage()

func (*ReadDeviceResponse) ProtoReflect

func (x *ReadDeviceResponse) ProtoReflect() protoreflect.Message

func (*ReadDeviceResponse) Reset

func (x *ReadDeviceResponse) Reset()

func (*ReadDeviceResponse) String

func (x *ReadDeviceResponse) String() string

type ReadDomainRequest

type ReadDomainRequest struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Dc     int64  `protobuf:"varint,2,opt,name=dc,proto3" json:"dc,omitempty"`
	// contains filtered or unexported fields
}

GET /domain[/{dc}]

func (*ReadDomainRequest) Descriptor deprecated

func (*ReadDomainRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReadDomainRequest.ProtoReflect.Descriptor instead.

func (*ReadDomainRequest) GetDc

func (x *ReadDomainRequest) GetDc() int64

func (*ReadDomainRequest) GetDomain

func (x *ReadDomainRequest) GetDomain() string

func (*ReadDomainRequest) ProtoMessage

func (*ReadDomainRequest) ProtoMessage()

func (*ReadDomainRequest) ProtoReflect

func (x *ReadDomainRequest) ProtoReflect() protoreflect.Message

func (*ReadDomainRequest) Reset

func (x *ReadDomainRequest) Reset()

func (*ReadDomainRequest) String

func (x *ReadDomainRequest) String() string

type ReadDomainResponse

type ReadDomainResponse struct {
	Domain *Organization `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadDomainResponse) Descriptor deprecated

func (*ReadDomainResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReadDomainResponse.ProtoReflect.Descriptor instead.

func (*ReadDomainResponse) GetDomain

func (x *ReadDomainResponse) GetDomain() *Organization

func (*ReadDomainResponse) ProtoMessage

func (*ReadDomainResponse) ProtoMessage()

func (*ReadDomainResponse) ProtoReflect

func (x *ReadDomainResponse) ProtoReflect() protoreflect.Message

func (*ReadDomainResponse) Reset

func (x *ReadDomainResponse) Reset()

func (*ReadDomainResponse) String

func (x *ReadDomainResponse) String() string

type ReadRoleRequest

type ReadRoleRequest struct {

	// role.id
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// select projection
	Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // select: output (fields,...)
	// contains filtered or unexported fields
}

func (*ReadRoleRequest) Descriptor deprecated

func (*ReadRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReadRoleRequest.ProtoReflect.Descriptor instead.

func (*ReadRoleRequest) GetFields

func (x *ReadRoleRequest) GetFields() []string

func (*ReadRoleRequest) GetId

func (x *ReadRoleRequest) GetId() int64

func (*ReadRoleRequest) ProtoMessage

func (*ReadRoleRequest) ProtoMessage()

func (*ReadRoleRequest) ProtoReflect

func (x *ReadRoleRequest) ProtoReflect() protoreflect.Message

func (*ReadRoleRequest) Reset

func (x *ReadRoleRequest) Reset()

func (*ReadRoleRequest) String

func (x *ReadRoleRequest) String() string

type ReadRoleResponse

type ReadRoleResponse struct {
	Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadRoleResponse) Descriptor deprecated

func (*ReadRoleResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReadRoleResponse.ProtoReflect.Descriptor instead.

func (*ReadRoleResponse) GetRole

func (x *ReadRoleResponse) GetRole() *Role

func (*ReadRoleResponse) ProtoMessage

func (*ReadRoleResponse) ProtoMessage()

func (*ReadRoleResponse) ProtoReflect

func (x *ReadRoleResponse) ProtoReflect() protoreflect.Message

func (*ReadRoleResponse) Reset

func (x *ReadRoleResponse) Reset()

func (*ReadRoleResponse) String

func (x *ReadRoleResponse) String() string

type ReadSessionRequest

type ReadSessionRequest struct {
	Dc     int64  `protobuf:"varint,1,opt,name=dc,proto3" json:"dc,omitempty"`        // domain.dc(component)
	Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // domain.name
	Uuid   string `protobuf:"bytes,3,opt,name=uuid,proto3" json:"uuid,omitempty"`     // session.uuid
	// contains filtered or unexported fields
}

GET /session[/{id}]

func (*ReadSessionRequest) Descriptor deprecated

func (*ReadSessionRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReadSessionRequest.ProtoReflect.Descriptor instead.

func (*ReadSessionRequest) GetDc

func (x *ReadSessionRequest) GetDc() int64

func (*ReadSessionRequest) GetDomain

func (x *ReadSessionRequest) GetDomain() string

func (*ReadSessionRequest) GetUuid

func (x *ReadSessionRequest) GetUuid() string

func (*ReadSessionRequest) ProtoMessage

func (*ReadSessionRequest) ProtoMessage()

func (*ReadSessionRequest) ProtoReflect

func (x *ReadSessionRequest) ProtoReflect() protoreflect.Message

func (*ReadSessionRequest) Reset

func (x *ReadSessionRequest) Reset()

func (*ReadSessionRequest) String

func (x *ReadSessionRequest) String() string

type ReadSessionResponse

type ReadSessionResponse struct {
	Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadSessionResponse) Descriptor deprecated

func (*ReadSessionResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReadSessionResponse.ProtoReflect.Descriptor instead.

func (*ReadSessionResponse) GetSession

func (x *ReadSessionResponse) GetSession() *Session

func (*ReadSessionResponse) ProtoMessage

func (*ReadSessionResponse) ProtoMessage()

func (*ReadSessionResponse) ProtoReflect

func (x *ReadSessionResponse) ProtoReflect() protoreflect.Message

func (*ReadSessionResponse) Reset

func (x *ReadSessionResponse) Reset()

func (*ReadSessionResponse) String

func (x *ReadSessionResponse) String() string

type ReadUserRequest

type ReadUserRequest struct {
	Id     int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // partial output
	// contains filtered or unexported fields
}

func (*ReadUserRequest) Descriptor deprecated

func (*ReadUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReadUserRequest.ProtoReflect.Descriptor instead.

func (*ReadUserRequest) GetFields

func (x *ReadUserRequest) GetFields() []string

func (*ReadUserRequest) GetId

func (x *ReadUserRequest) GetId() int64

func (*ReadUserRequest) ProtoMessage

func (*ReadUserRequest) ProtoMessage()

func (*ReadUserRequest) ProtoReflect

func (x *ReadUserRequest) ProtoReflect() protoreflect.Message

func (*ReadUserRequest) Reset

func (x *ReadUserRequest) Reset()

func (*ReadUserRequest) String

func (x *ReadUserRequest) String() string

type ReadUserResponse

type ReadUserResponse struct {
	User *User `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

func (*ReadUserResponse) Descriptor deprecated

func (*ReadUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use ReadUserResponse.ProtoReflect.Descriptor instead.

func (*ReadUserResponse) GetUser

func (x *ReadUserResponse) GetUser() *User

func (*ReadUserResponse) ProtoMessage

func (*ReadUserResponse) ProtoMessage()

func (*ReadUserResponse) ProtoReflect

func (x *ReadUserResponse) ProtoReflect() protoreflect.Message

func (*ReadUserResponse) Reset

func (x *ReadUserResponse) Reset()

func (*ReadUserResponse) String

func (x *ReadUserResponse) String() string

type Registration

type Registration struct {
	Id         int64     `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	User       *UserId   `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
	Device     *DeviceId `protobuf:"bytes,3,opt,name=device,proto3" json:"device,omitempty"`
	Callid     string    `protobuf:"bytes,4,opt,name=callid,proto3" json:"callid,omitempty"`
	Socket     string    `protobuf:"bytes,5,opt,name=socket,proto3" json:"socket,omitempty"`     // registrar: local side (host) e.g.:
	Contact    string    `protobuf:"bytes,6,opt,name=contact,proto3" json:"contact,omitempty"`   // binding_uri
	Received   string    `protobuf:"bytes,7,opt,name=received,proto3" json:"received,omitempty"` // registrant: remote side (proxy)
	Instance   string    `protobuf:"bytes,8,opt,name=instance,proto3" json:"instance,omitempty"` // ?sip.instance= register contact option
	UserAgent  string    `protobuf:"bytes,9,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`
	ExpiresAt  int64     `protobuf:"varint,10,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`
	RegisterAt int64     `protobuf:"varint,11,opt,name=register_at,json=registerAt,proto3" json:"register_at,omitempty"`
	// contains filtered or unexported fields
}

REGISTER SIP status

func (*Registration) Descriptor deprecated

func (*Registration) Descriptor() ([]byte, []int)

Deprecated: Use Registration.ProtoReflect.Descriptor instead.

func (*Registration) GetCallid

func (x *Registration) GetCallid() string

func (*Registration) GetContact

func (x *Registration) GetContact() string

func (*Registration) GetDevice

func (x *Registration) GetDevice() *DeviceId

func (*Registration) GetExpiresAt

func (x *Registration) GetExpiresAt() int64

func (*Registration) GetId

func (x *Registration) GetId() int64

func (*Registration) GetInstance

func (x *Registration) GetInstance() string

func (*Registration) GetReceived

func (x *Registration) GetReceived() string

func (*Registration) GetRegisterAt

func (x *Registration) GetRegisterAt() int64

func (*Registration) GetSocket

func (x *Registration) GetSocket() string

func (*Registration) GetUser

func (x *Registration) GetUser() *UserId

func (*Registration) GetUserAgent

func (x *Registration) GetUserAgent() string

func (*Registration) ProtoMessage

func (*Registration) ProtoMessage()

func (*Registration) ProtoReflect

func (x *Registration) ProtoReflect() protoreflect.Message

func (*Registration) Reset

func (x *Registration) Reset()

func (*Registration) String

func (x *Registration) String() string

type RevokeAccessRequest

type RevokeAccessRequest struct {
	Domain     string   `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	Class      string   `protobuf:"bytes,2,opt,name=class,proto3" json:"class,omitempty"`
	Object     int64    `protobuf:"varint,3,opt,name=object,proto3" json:"object,omitempty"`        // class.object.id
	Subject    int64    `protobuf:"varint,4,opt,name=subject,proto3" json:"subject,omitempty"`      // grantee.role.id
	Grantable  []string `protobuf:"bytes,5,rep,name=grantable,proto3" json:"grantable,omitempty"`   // ["SEARCH","MODIFY","DELETE","CREATE"]
	Privileges []string `protobuf:"bytes,6,rep,name=privileges,proto3" json:"privileges,omitempty"` // ["SEARCH","MODIFY","DELETE","CREATE"]
	// contains filtered or unexported fields
}

func (*RevokeAccessRequest) Descriptor deprecated

func (*RevokeAccessRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeAccessRequest.ProtoReflect.Descriptor instead.

func (*RevokeAccessRequest) GetClass

func (x *RevokeAccessRequest) GetClass() string

func (*RevokeAccessRequest) GetDomain

func (x *RevokeAccessRequest) GetDomain() string

func (*RevokeAccessRequest) GetGrantable

func (x *RevokeAccessRequest) GetGrantable() []string

func (*RevokeAccessRequest) GetObject

func (x *RevokeAccessRequest) GetObject() int64

func (*RevokeAccessRequest) GetPrivileges

func (x *RevokeAccessRequest) GetPrivileges() []string

func (*RevokeAccessRequest) GetSubject

func (x *RevokeAccessRequest) GetSubject() int64

func (*RevokeAccessRequest) ProtoMessage

func (*RevokeAccessRequest) ProtoMessage()

func (*RevokeAccessRequest) ProtoReflect

func (x *RevokeAccessRequest) ProtoReflect() protoreflect.Message

func (*RevokeAccessRequest) Reset

func (x *RevokeAccessRequest) Reset()

func (*RevokeAccessRequest) String

func (x *RevokeAccessRequest) String() string

type RevokeAccessRequestV1

type RevokeAccessRequestV1 struct {

	// string domain = 1;
	// string class = 2;
	// int64 object = 3; // class.object.id
	Object  *ObjectId `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`    // [TO]:
	Grantee int64     `protobuf:"varint,2,opt,name=grantee,proto3" json:"grantee,omitempty"` // [FROM]: grantee.role.id
	// repeated string privileges = 5; // ["SEARCH","MODIFY","DELETE","CREATE"]
	// bool grantable = 6; // WITH GRANT OPTION
	Grants string `protobuf:"bytes,3,opt,name=grants,proto3" json:"grants,omitempty"`
	// contains filtered or unexported fields
}

func (*RevokeAccessRequestV1) Descriptor deprecated

func (*RevokeAccessRequestV1) Descriptor() ([]byte, []int)

Deprecated: Use RevokeAccessRequestV1.ProtoReflect.Descriptor instead.

func (*RevokeAccessRequestV1) GetGrantee

func (x *RevokeAccessRequestV1) GetGrantee() int64

func (*RevokeAccessRequestV1) GetGrants

func (x *RevokeAccessRequestV1) GetGrants() string

func (*RevokeAccessRequestV1) GetObject

func (x *RevokeAccessRequestV1) GetObject() *ObjectId

func (*RevokeAccessRequestV1) ProtoMessage

func (*RevokeAccessRequestV1) ProtoMessage()

func (*RevokeAccessRequestV1) ProtoReflect

func (x *RevokeAccessRequestV1) ProtoReflect() protoreflect.Message

func (*RevokeAccessRequestV1) Reset

func (x *RevokeAccessRequestV1) Reset()

func (*RevokeAccessRequestV1) String

func (x *RevokeAccessRequestV1) String() string

type RevokeAccessResponse

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

func (*RevokeAccessResponse) Descriptor deprecated

func (*RevokeAccessResponse) Descriptor() ([]byte, []int)

Deprecated: Use RevokeAccessResponse.ProtoReflect.Descriptor instead.

func (*RevokeAccessResponse) ProtoMessage

func (*RevokeAccessResponse) ProtoMessage()

func (*RevokeAccessResponse) ProtoReflect

func (x *RevokeAccessResponse) ProtoReflect() protoreflect.Message

func (*RevokeAccessResponse) Reset

func (x *RevokeAccessResponse) Reset()

func (*RevokeAccessResponse) String

func (x *RevokeAccessResponse) String() string

type RevokeAccessResponseV1

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

replace with: Access.Rule

func (*RevokeAccessResponseV1) Descriptor deprecated

func (*RevokeAccessResponseV1) Descriptor() ([]byte, []int)

Deprecated: Use RevokeAccessResponseV1.ProtoReflect.Descriptor instead.

func (*RevokeAccessResponseV1) ProtoMessage

func (*RevokeAccessResponseV1) ProtoMessage()

func (*RevokeAccessResponseV1) ProtoReflect

func (x *RevokeAccessResponseV1) ProtoReflect() protoreflect.Message

func (*RevokeAccessResponseV1) Reset

func (x *RevokeAccessResponseV1) Reset()

func (*RevokeAccessResponseV1) String

func (x *RevokeAccessResponseV1) String() string

type RevokeCertificateRequest

type RevokeCertificateRequest struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`                // domain relation
	Serial string `protobuf:"bytes,2,opt,name=serial,proto3" json:"serial,omitempty"`                // grants.serial
	UserId int64  `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // grantee
	// contains filtered or unexported fields
}

DELETE /user/{userId}/certificate/{serial}

func (*RevokeCertificateRequest) Descriptor deprecated

func (*RevokeCertificateRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeCertificateRequest.ProtoReflect.Descriptor instead.

func (*RevokeCertificateRequest) GetDomain

func (x *RevokeCertificateRequest) GetDomain() string

func (*RevokeCertificateRequest) GetSerial

func (x *RevokeCertificateRequest) GetSerial() string

func (*RevokeCertificateRequest) GetUserId

func (x *RevokeCertificateRequest) GetUserId() int64

func (*RevokeCertificateRequest) ProtoMessage

func (*RevokeCertificateRequest) ProtoMessage()

func (*RevokeCertificateRequest) ProtoReflect

func (x *RevokeCertificateRequest) ProtoReflect() protoreflect.Message

func (*RevokeCertificateRequest) Reset

func (x *RevokeCertificateRequest) Reset()

func (*RevokeCertificateRequest) String

func (x *RevokeCertificateRequest) String() string

type RevokeCertificateResponse

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

func (*RevokeCertificateResponse) Descriptor deprecated

func (*RevokeCertificateResponse) Descriptor() ([]byte, []int)

Deprecated: Use RevokeCertificateResponse.ProtoReflect.Descriptor instead.

func (*RevokeCertificateResponse) ProtoMessage

func (*RevokeCertificateResponse) ProtoMessage()

func (*RevokeCertificateResponse) ProtoReflect

func (*RevokeCertificateResponse) Reset

func (x *RevokeCertificateResponse) Reset()

func (*RevokeCertificateResponse) String

func (x *RevokeCertificateResponse) String() string

type RevokeRoleRequest

type RevokeRoleRequest struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // domain relation
	Group  int64  `protobuf:"varint,2,opt,name=group,proto3" json:"group,omitempty"`  // role
	User   int64  `protobuf:"varint,3,opt,name=user,proto3" json:"user,omitempty"`    // member
	// contains filtered or unexported fields
}

func (*RevokeRoleRequest) Descriptor deprecated

func (*RevokeRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use RevokeRoleRequest.ProtoReflect.Descriptor instead.

func (*RevokeRoleRequest) GetDomain

func (x *RevokeRoleRequest) GetDomain() string

func (*RevokeRoleRequest) GetGroup

func (x *RevokeRoleRequest) GetGroup() int64

func (*RevokeRoleRequest) GetUser

func (x *RevokeRoleRequest) GetUser() int64

func (*RevokeRoleRequest) ProtoMessage

func (*RevokeRoleRequest) ProtoMessage()

func (*RevokeRoleRequest) ProtoReflect

func (x *RevokeRoleRequest) ProtoReflect() protoreflect.Message

func (*RevokeRoleRequest) Reset

func (x *RevokeRoleRequest) Reset()

func (*RevokeRoleRequest) String

func (x *RevokeRoleRequest) String() string

type RevokeRoleResponse

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

func (*RevokeRoleResponse) Descriptor deprecated

func (*RevokeRoleResponse) Descriptor() ([]byte, []int)

Deprecated: Use RevokeRoleResponse.ProtoReflect.Descriptor instead.

func (*RevokeRoleResponse) ProtoMessage

func (*RevokeRoleResponse) ProtoMessage()

func (*RevokeRoleResponse) ProtoReflect

func (x *RevokeRoleResponse) ProtoReflect() protoreflect.Message

func (*RevokeRoleResponse) Reset

func (x *RevokeRoleResponse) Reset()

func (*RevokeRoleResponse) String

func (x *RevokeRoleResponse) String() string

type Role

type Role struct {
	Id          int64         `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                  // oid
	Name        string        `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`               // display common name
	User        bool          `protobuf:"varint,3,opt,name=user,proto3" json:"user,omitempty"`              // READONLY. Report whether this Role refers to the internal User(=true) or Group(=false)
	Description string        `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // short description
	Permissions []*Permission `protobuf:"bytes,5,rep,name=permissions,proto3" json:"permissions,omitempty"`
	// Caller caller = 4; // TOBE removed !!!
	// map<int64, string> users = 4;
	Members []*ObjectId `protobuf:"bytes,6,rep,name=members,proto3" json:"members,omitempty"` // users/roles
	// Optional. Metadata bound to this role by the third party integrations
	// Each attribute of this object represents separate various data
	// to be able to store and merge separate keys (documents)
	Metadata  *structpb.Struct `protobuf:"bytes,7,opt,name=metadata,proto3" json:"metadata,omitempty"`
	CreatedAt int64            `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // unix
	CreatedBy *UserId          `protobuf:"bytes,11,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`  // user
	UpdatedAt int64            `protobuf:"varint,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // unix
	UpdatedBy *UserId          `protobuf:"bytes,13,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`  // user
	DeletedAt int64            `protobuf:"varint,14,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // unix
	DeletedBy *UserId          `protobuf:"bytes,15,opt,name=deleted_by,json=deletedBy,proto3" json:"deleted_by,omitempty"`  // user
	// contains filtered or unexported fields
}

Role represents group of users

func (*Role) Descriptor deprecated

func (*Role) Descriptor() ([]byte, []int)

Deprecated: Use Role.ProtoReflect.Descriptor instead.

func (*Role) GetCreatedAt

func (x *Role) GetCreatedAt() int64

func (*Role) GetCreatedBy

func (x *Role) GetCreatedBy() *UserId

func (*Role) GetDeletedAt

func (x *Role) GetDeletedAt() int64

func (*Role) GetDeletedBy

func (x *Role) GetDeletedBy() *UserId

func (*Role) GetDescription

func (x *Role) GetDescription() string

func (*Role) GetId

func (x *Role) GetId() int64

func (*Role) GetMembers

func (x *Role) GetMembers() []*ObjectId

func (*Role) GetMetadata

func (x *Role) GetMetadata() *structpb.Struct

func (*Role) GetName

func (x *Role) GetName() string

func (*Role) GetPermissions

func (x *Role) GetPermissions() []*Permission

func (*Role) GetUpdatedAt

func (x *Role) GetUpdatedAt() int64

func (*Role) GetUpdatedBy

func (x *Role) GetUpdatedBy() *UserId

func (*Role) GetUser

func (x *Role) GetUser() bool

func (*Role) ProtoMessage

func (*Role) ProtoMessage()

func (*Role) ProtoReflect

func (x *Role) ProtoReflect() protoreflect.Message

func (*Role) Reset

func (x *Role) Reset()

func (*Role) String

func (x *Role) String() string

type RoleId

type RoleId struct {

	// Unique Object IDentifier
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Display Name
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// Optional. Indicates that this role ID refers
	// to the internal user as the system administrative unit
	User bool `protobuf:"varint,3,opt,name=user,proto3" json:"user,omitempty"`
	// contains filtered or unexported fields
}

RoleId lookup value.

func (*RoleId) Descriptor deprecated

func (*RoleId) Descriptor() ([]byte, []int)

Deprecated: Use RoleId.ProtoReflect.Descriptor instead.

func (*RoleId) GetId

func (x *RoleId) GetId() int64

func (*RoleId) GetName

func (x *RoleId) GetName() string

func (*RoleId) GetUser

func (x *RoleId) GetUser() bool

func (*RoleId) ProtoMessage

func (*RoleId) ProtoMessage()

func (*RoleId) ProtoReflect

func (x *RoleId) ProtoReflect() protoreflect.Message

func (*RoleId) Reset

func (x *RoleId) Reset()

func (*RoleId) String

func (x *RoleId) String() string

type RoleMembersRequest

type RoleMembersRequest struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // domain relation
	RoleId int64  `protobuf:"varint,2,opt,name=role_id,json=roleId,proto3" json:"role_id,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleMembersRequest) Descriptor deprecated

func (*RoleMembersRequest) Descriptor() ([]byte, []int)

Deprecated: Use RoleMembersRequest.ProtoReflect.Descriptor instead.

func (*RoleMembersRequest) GetDomain

func (x *RoleMembersRequest) GetDomain() string

func (*RoleMembersRequest) GetRoleId

func (x *RoleMembersRequest) GetRoleId() int64

func (*RoleMembersRequest) ProtoMessage

func (*RoleMembersRequest) ProtoMessage()

func (*RoleMembersRequest) ProtoReflect

func (x *RoleMembersRequest) ProtoReflect() protoreflect.Message

func (*RoleMembersRequest) Reset

func (x *RoleMembersRequest) Reset()

func (*RoleMembersRequest) String

func (x *RoleMembersRequest) String() string

type RoleMembersResponse

type RoleMembersResponse struct {
	Results []*Role_Member `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleMembersResponse) Descriptor deprecated

func (*RoleMembersResponse) Descriptor() ([]byte, []int)

Deprecated: Use RoleMembersResponse.ProtoReflect.Descriptor instead.

func (*RoleMembersResponse) GetResults

func (x *RoleMembersResponse) GetResults() []*Role_Member

func (*RoleMembersResponse) ProtoMessage

func (*RoleMembersResponse) ProtoMessage()

func (*RoleMembersResponse) ProtoReflect

func (x *RoleMembersResponse) ProtoReflect() protoreflect.Message

func (*RoleMembersResponse) Reset

func (x *RoleMembersResponse) Reset()

func (*RoleMembersResponse) String

func (x *RoleMembersResponse) String() string

type RoleMetadataRequest

type RoleMetadataRequest struct {

	// Optional. Unique ID of metadata role owner
	Id int64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// Optional. Partial metadata document key name
	Key string `protobuf:"bytes,2,opt,name=key,proto3" json:"key,omitempty"`
	// Optional. Metadata document(s) merge options
	Merge *structpb.Value `protobuf:"bytes,3,opt,name=merge,proto3" json:"merge,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleMetadataRequest) Descriptor deprecated

func (*RoleMetadataRequest) Descriptor() ([]byte, []int)

Deprecated: Use RoleMetadataRequest.ProtoReflect.Descriptor instead.

func (*RoleMetadataRequest) GetId

func (x *RoleMetadataRequest) GetId() int64

func (*RoleMetadataRequest) GetKey

func (x *RoleMetadataRequest) GetKey() string

func (*RoleMetadataRequest) GetMerge

func (x *RoleMetadataRequest) GetMerge() *structpb.Value

func (*RoleMetadataRequest) ProtoMessage

func (*RoleMetadataRequest) ProtoMessage()

func (*RoleMetadataRequest) ProtoReflect

func (x *RoleMetadataRequest) ProtoReflect() protoreflect.Message

func (*RoleMetadataRequest) Reset

func (x *RoleMetadataRequest) Reset()

func (*RoleMetadataRequest) String

func (x *RoleMetadataRequest) String() string

type RoleMetadataResponse

type RoleMetadataResponse struct {

	// Optional. Partial metadata document key name
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// Metadata value
	Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*RoleMetadataResponse) Descriptor deprecated

func (*RoleMetadataResponse) Descriptor() ([]byte, []int)

Deprecated: Use RoleMetadataResponse.ProtoReflect.Descriptor instead.

func (*RoleMetadataResponse) GetKey

func (x *RoleMetadataResponse) GetKey() string

func (*RoleMetadataResponse) GetValue

func (x *RoleMetadataResponse) GetValue() *structpb.Value

func (*RoleMetadataResponse) ProtoMessage

func (*RoleMetadataResponse) ProtoMessage()

func (*RoleMetadataResponse) ProtoReflect

func (x *RoleMetadataResponse) ProtoReflect() protoreflect.Message

func (*RoleMetadataResponse) Reset

func (x *RoleMetadataResponse) Reset()

func (*RoleMetadataResponse) String

func (x *RoleMetadataResponse) String() string

type Role_Member

type Role_Member struct {
	Id        int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`                                 // user.id
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`                              // user.name
	Admin     bool   `protobuf:"varint,3,opt,name=admin,proto3" json:"admin,omitempty"`                           // admin of the group ?
	CreatedAt int64  `protobuf:"varint,10,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // unix
	CreatedBy string `protobuf:"bytes,11,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`  // user.[id|name]
	UpdatedAt int64  `protobuf:"varint,12,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // unix
	UpdatedBy string `protobuf:"bytes,13,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`  // user
	// contains filtered or unexported fields
}

func (*Role_Member) Descriptor deprecated

func (*Role_Member) Descriptor() ([]byte, []int)

Deprecated: Use Role_Member.ProtoReflect.Descriptor instead.

func (*Role_Member) GetAdmin

func (x *Role_Member) GetAdmin() bool

func (*Role_Member) GetCreatedAt

func (x *Role_Member) GetCreatedAt() int64

func (*Role_Member) GetCreatedBy

func (x *Role_Member) GetCreatedBy() string

func (*Role_Member) GetId

func (x *Role_Member) GetId() int64

func (*Role_Member) GetName

func (x *Role_Member) GetName() string

func (*Role_Member) GetUpdatedAt

func (x *Role_Member) GetUpdatedAt() int64

func (*Role_Member) GetUpdatedBy

func (x *Role_Member) GetUpdatedBy() string

func (*Role_Member) ProtoMessage

func (*Role_Member) ProtoMessage()

func (*Role_Member) ProtoReflect

func (x *Role_Member) ProtoReflect() protoreflect.Message

func (*Role_Member) Reset

func (x *Role_Member) Reset()

func (*Role_Member) String

func (x *Role_Member) String() string

type RolesClient

RolesClient is the client API for Roles service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewRolesClient

func NewRolesClient(cc grpc.ClientConnInterface) RolesClient

type RolesServer

RolesServer is the server API for Roles service. All implementations must embed UnimplementedRolesServer for forward compatibility.

type SAClient

type SAClient interface {
	Login(ctx context.Context, in *LoginRequest, opts ...grpc.CallOption) (*LoginResponse, error)
	// rpc Token(SessionRequest) returns (SessionResponse) {}
	Logout(ctx context.Context, in *LogoutRequest, opts ...grpc.CallOption) (*LogoutResponse, error)
	ReadSession(ctx context.Context, in *ReadSessionRequest, opts ...grpc.CallOption) (*ReadSessionResponse, error)
	SearchSessions(ctx context.Context, in *SearchSessionsRequest, opts ...grpc.CallOption) (*SearchSessionsResponse, error)
	// Verify X-Access-Token authorization credentials
	Current(ctx context.Context, in *VerifyTokenRequest, opts ...grpc.CallOption) (*Authorization, error)
	// Cluster internal USE ONLY ! DO NOT EXPOSE TO public API gateway !
	CreateSession(ctx context.Context, in *SessionLoginRequest, opts ...grpc.CallOption) (*Session, error)
}

SAClient is the client API for SA service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

[A]uthorization service

func NewSAClient

func NewSAClient(cc grpc.ClientConnInterface) SAClient

type SAServer

type SAServer interface {
	Login(context.Context, *LoginRequest) (*LoginResponse, error)
	// rpc Token(SessionRequest) returns (SessionResponse) {}
	Logout(context.Context, *LogoutRequest) (*LogoutResponse, error)
	ReadSession(context.Context, *ReadSessionRequest) (*ReadSessionResponse, error)
	SearchSessions(context.Context, *SearchSessionsRequest) (*SearchSessionsResponse, error)
	// Verify X-Access-Token authorization credentials
	Current(context.Context, *VerifyTokenRequest) (*Authorization, error)
	// Cluster internal USE ONLY ! DO NOT EXPOSE TO public API gateway !
	CreateSession(context.Context, *SessionLoginRequest) (*Session, error)
	// contains filtered or unexported methods
}

SAServer is the server API for SA service. All implementations must embed UnimplementedSAServer for forward compatibility.

[A]uthorization service

type SearchCallsRequest

type SearchCallsRequest struct {

	// Related To
	User   *UserId   `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Device *DeviceId `protobuf:"bytes,2,opt,name=device,proto3" json:"device,omitempty"` // GatewayId gateway = 3;
	// contains filtered or unexported fields
}

func (*SearchCallsRequest) Descriptor deprecated

func (*SearchCallsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchCallsRequest.ProtoReflect.Descriptor instead.

func (*SearchCallsRequest) GetDevice

func (x *SearchCallsRequest) GetDevice() *DeviceId

func (*SearchCallsRequest) GetUser

func (x *SearchCallsRequest) GetUser() *UserId

func (*SearchCallsRequest) ProtoMessage

func (*SearchCallsRequest) ProtoMessage()

func (*SearchCallsRequest) ProtoReflect

func (x *SearchCallsRequest) ProtoReflect() protoreflect.Message

func (*SearchCallsRequest) Reset

func (x *SearchCallsRequest) Reset()

func (*SearchCallsRequest) String

func (x *SearchCallsRequest) String() string

type SearchCallsResponse

type SearchCallsResponse struct {
	List []*Call `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchCallsResponse) Descriptor deprecated

func (*SearchCallsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchCallsResponse.ProtoReflect.Descriptor instead.

func (*SearchCallsResponse) GetList

func (x *SearchCallsResponse) GetList() []*Call

func (*SearchCallsResponse) ProtoMessage

func (*SearchCallsResponse) ProtoMessage()

func (*SearchCallsResponse) ProtoReflect

func (x *SearchCallsResponse) ProtoReflect() protoreflect.Message

func (*SearchCallsResponse) Reset

func (x *SearchCallsResponse) Reset()

func (*SearchCallsResponse) String

func (x *SearchCallsResponse) String() string

type SearchCertificatesRequest

type SearchCertificatesRequest struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

GET /certificates

func (*SearchCertificatesRequest) Descriptor deprecated

func (*SearchCertificatesRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchCertificatesRequest.ProtoReflect.Descriptor instead.

func (*SearchCertificatesRequest) GetDomain

func (x *SearchCertificatesRequest) GetDomain() string

func (*SearchCertificatesRequest) ProtoMessage

func (*SearchCertificatesRequest) ProtoMessage()

func (*SearchCertificatesRequest) ProtoReflect

func (*SearchCertificatesRequest) Reset

func (x *SearchCertificatesRequest) Reset()

func (*SearchCertificatesRequest) String

func (x *SearchCertificatesRequest) String() string

type SearchCertificatesResponse

type SearchCertificatesResponse struct {
	Certificates []*Certificate `protobuf:"bytes,1,rep,name=certificates,proto3" json:"certificates,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchCertificatesResponse) Descriptor deprecated

func (*SearchCertificatesResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchCertificatesResponse.ProtoReflect.Descriptor instead.

func (*SearchCertificatesResponse) GetCertificates

func (x *SearchCertificatesResponse) GetCertificates() []*Certificate

func (*SearchCertificatesResponse) ProtoMessage

func (*SearchCertificatesResponse) ProtoMessage()

func (*SearchCertificatesResponse) ProtoReflect

func (*SearchCertificatesResponse) Reset

func (x *SearchCertificatesResponse) Reset()

func (*SearchCertificatesResponse) String

func (x *SearchCertificatesResponse) String() string

type SearchClassesRequest

type SearchClassesRequest struct {
	Domain string `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // TO BE REMOVED // bound to session.domain.id
	Class  string `protobuf:"bytes,2,opt,name=class,proto3" json:"class,omitempty"`   // [filter]: like '%class%'
	// int64 id = 3;  // [filter]: obj.id = id
	// controls
	Fields []string `protobuf:"bytes,10,rep,name=fields,proto3" json:"fields,omitempty"` // output
	Sort   []string `protobuf:"bytes,11,rep,name=sort,proto3" json:"sort,omitempty"`     // sort: "field" asc; "!field" desc
	Page   int32    `protobuf:"varint,12,opt,name=page,proto3" json:"page,omitempty"`    // page number
	Size   int32    `protobuf:"varint,13,opt,name=size,proto3" json:"size,omitempty"`    // page size
	// contains filtered or unexported fields
}

func (*SearchClassesRequest) Descriptor deprecated

func (*SearchClassesRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchClassesRequest.ProtoReflect.Descriptor instead.

func (*SearchClassesRequest) GetClass

func (x *SearchClassesRequest) GetClass() string

func (*SearchClassesRequest) GetDomain

func (x *SearchClassesRequest) GetDomain() string

func (*SearchClassesRequest) GetFields

func (x *SearchClassesRequest) GetFields() []string

func (*SearchClassesRequest) GetPage

func (x *SearchClassesRequest) GetPage() int32

func (*SearchClassesRequest) GetSize

func (x *SearchClassesRequest) GetSize() int32

func (*SearchClassesRequest) GetSort

func (x *SearchClassesRequest) GetSort() []string

func (*SearchClassesRequest) ProtoMessage

func (*SearchClassesRequest) ProtoMessage()

func (*SearchClassesRequest) ProtoReflect

func (x *SearchClassesRequest) ProtoReflect() protoreflect.Message

func (*SearchClassesRequest) Reset

func (x *SearchClassesRequest) Reset()

func (*SearchClassesRequest) String

func (x *SearchClassesRequest) String() string

type SearchClassesResponse

type SearchClassesResponse struct {
	Page  int32          `protobuf:"varint,10,opt,name=page,proto3" json:"page,omitempty"` // select: offset {page}
	Size  int32          `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // search: limit {size}
	Next  bool           `protobuf:"varint,12,opt,name=next,proto3" json:"next,omitempty"` // search: has {next} page ?
	Items []*ObjectClass `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // list
	// contains filtered or unexported fields
}

func (*SearchClassesResponse) Descriptor deprecated

func (*SearchClassesResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchClassesResponse.ProtoReflect.Descriptor instead.

func (*SearchClassesResponse) GetItems

func (x *SearchClassesResponse) GetItems() []*ObjectClass

func (*SearchClassesResponse) GetNext

func (x *SearchClassesResponse) GetNext() bool

func (*SearchClassesResponse) GetPage

func (x *SearchClassesResponse) GetPage() int32

func (*SearchClassesResponse) GetSize

func (x *SearchClassesResponse) GetSize() int32

func (*SearchClassesResponse) ProtoMessage

func (*SearchClassesResponse) ProtoMessage()

func (*SearchClassesResponse) ProtoReflect

func (x *SearchClassesResponse) ProtoReflect() protoreflect.Message

func (*SearchClassesResponse) Reset

func (x *SearchClassesResponse) Reset()

func (*SearchClassesResponse) String

func (x *SearchClassesResponse) String() string

type SearchDeviceRequest

type SearchDeviceRequest struct {

	// ----- Select Options -------------------------
	Size   int32    `protobuf:"varint,1,opt,name=size,proto3" json:"size,omitempty"`    // default: 16
	Page   int32    `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`    // default: 1
	Fields []string `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` // attributes list
	Sort   []string `protobuf:"bytes,4,rep,name=sort,proto3" json:"sort,omitempty"`     // e.g.: "updated_at" - ASC; "!updated_at" - DESC;
	// ----- Search Basic Filters ---------------------------
	Ids    []int64 `protobuf:"varint,5,rep,packed,name=ids,proto3" json:"ids,omitempty"` // selection: by unique identifier
	Q      string  `protobuf:"bytes,6,opt,name=q,proto3" json:"q,omitempty"`             // term-of-search: lookup[name,account,hotdesk,brand,model,mac,ip]
	Name   string  `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`       // case-ignore substring match: ILIKE '*' - any; '?' - one
	Access string  `protobuf:"bytes,8,opt,name=access,proto3" json:"access,omitempty"`   // [M]andatory[A]ccess[C]ontrol: with access mode (action) granted!
	// ----- Device-Specific Filters ----------------
	Account string `protobuf:"bytes,9,opt,name=account,proto3" json:"account,omitempty"`  // substring like '%name%'
	Hotdesk string `protobuf:"bytes,10,opt,name=hotdesk,proto3" json:"hotdesk,omitempty"` // filter: has hotdesk (=pattern); is hotdesk (=*)
	// Device.State state = 11; // current state eq
	User *UserId `protobuf:"bytes,12,opt,name=user,proto3" json:"user,omitempty"` // filter: by user_id
	Mac  string  `protobuf:"bytes,13,opt,name=mac,proto3" json:"mac,omitempty"`   // filter: by MAC address
	Ip   string  `protobuf:"bytes,14,opt,name=ip,proto3" json:"ip,omitempty"`     // filter: by IP address
	// contains filtered or unexported fields
}

POST /devices

func (*SearchDeviceRequest) Descriptor deprecated

func (*SearchDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchDeviceRequest.ProtoReflect.Descriptor instead.

func (*SearchDeviceRequest) GetAccess

func (x *SearchDeviceRequest) GetAccess() string

func (*SearchDeviceRequest) GetAccount

func (x *SearchDeviceRequest) GetAccount() string

func (*SearchDeviceRequest) GetFields

func (x *SearchDeviceRequest) GetFields() []string

func (*SearchDeviceRequest) GetHotdesk

func (x *SearchDeviceRequest) GetHotdesk() string

func (*SearchDeviceRequest) GetIds

func (x *SearchDeviceRequest) GetIds() []int64

func (*SearchDeviceRequest) GetIp

func (x *SearchDeviceRequest) GetIp() string

func (*SearchDeviceRequest) GetMac

func (x *SearchDeviceRequest) GetMac() string

func (*SearchDeviceRequest) GetName

func (x *SearchDeviceRequest) GetName() string

func (*SearchDeviceRequest) GetPage

func (x *SearchDeviceRequest) GetPage() int32

func (*SearchDeviceRequest) GetQ

func (x *SearchDeviceRequest) GetQ() string

func (*SearchDeviceRequest) GetSize

func (x *SearchDeviceRequest) GetSize() int32

func (*SearchDeviceRequest) GetSort

func (x *SearchDeviceRequest) GetSort() []string

func (*SearchDeviceRequest) GetUser

func (x *SearchDeviceRequest) GetUser() *UserId

func (*SearchDeviceRequest) ProtoMessage

func (*SearchDeviceRequest) ProtoMessage()

func (*SearchDeviceRequest) ProtoReflect

func (x *SearchDeviceRequest) ProtoReflect() protoreflect.Message

func (*SearchDeviceRequest) Reset

func (x *SearchDeviceRequest) Reset()

func (*SearchDeviceRequest) String

func (x *SearchDeviceRequest) String() string

type SearchDeviceResponse

type SearchDeviceResponse struct {
	Page  int32     `protobuf:"varint,10,opt,name=page,proto3" json:"page,omitempty"` // select: offset {page}
	Size  int32     `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // search: limit {size}
	Next  bool      `protobuf:"varint,12,opt,name=next,proto3" json:"next,omitempty"` // search: has {next} page ?
	Items []*Device `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // devices
	// contains filtered or unexported fields
}

func (*SearchDeviceResponse) Descriptor deprecated

func (*SearchDeviceResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchDeviceResponse.ProtoReflect.Descriptor instead.

func (*SearchDeviceResponse) GetItems

func (x *SearchDeviceResponse) GetItems() []*Device

func (*SearchDeviceResponse) GetNext

func (x *SearchDeviceResponse) GetNext() bool

func (*SearchDeviceResponse) GetPage

func (x *SearchDeviceResponse) GetPage() int32

func (*SearchDeviceResponse) GetSize

func (x *SearchDeviceResponse) GetSize() int32

func (*SearchDeviceResponse) ProtoMessage

func (*SearchDeviceResponse) ProtoMessage()

func (*SearchDeviceResponse) ProtoReflect

func (x *SearchDeviceResponse) ProtoReflect() protoreflect.Message

func (*SearchDeviceResponse) Reset

func (x *SearchDeviceResponse) Reset()

func (*SearchDeviceResponse) String

func (x *SearchDeviceResponse) String() string

type SearchDomainsRequest

type SearchDomainsRequest struct {
	Domain string   `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`  // like
	Fields []string `protobuf:"bytes,10,rep,name=fields,proto3" json:"fields,omitempty"` // attrs
	Sort   []string `protobuf:"bytes,11,rep,name=sort,proto3" json:"sort,omitempty"`
	Page   int64    `protobuf:"varint,12,opt,name=page,proto3" json:"page,omitempty"`
	Size   int64    `protobuf:"varint,13,opt,name=size,proto3" json:"size,omitempty"`
	// contains filtered or unexported fields
}

GET /domains?fields=*&sort=createdAt&size=32

func (*SearchDomainsRequest) Descriptor deprecated

func (*SearchDomainsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchDomainsRequest.ProtoReflect.Descriptor instead.

func (*SearchDomainsRequest) GetDomain

func (x *SearchDomainsRequest) GetDomain() string

func (*SearchDomainsRequest) GetFields

func (x *SearchDomainsRequest) GetFields() []string

func (*SearchDomainsRequest) GetPage

func (x *SearchDomainsRequest) GetPage() int64

func (*SearchDomainsRequest) GetSize

func (x *SearchDomainsRequest) GetSize() int64

func (*SearchDomainsRequest) GetSort

func (x *SearchDomainsRequest) GetSort() []string

func (*SearchDomainsRequest) ProtoMessage

func (*SearchDomainsRequest) ProtoMessage()

func (*SearchDomainsRequest) ProtoReflect

func (x *SearchDomainsRequest) ProtoReflect() protoreflect.Message

func (*SearchDomainsRequest) Reset

func (x *SearchDomainsRequest) Reset()

func (*SearchDomainsRequest) String

func (x *SearchDomainsRequest) String() string

type SearchDomainsResponse

type SearchDomainsResponse struct {
	Domains []*Organization `protobuf:"bytes,1,rep,name=domains,proto3" json:"domains,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchDomainsResponse) Descriptor deprecated

func (*SearchDomainsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchDomainsResponse.ProtoReflect.Descriptor instead.

func (*SearchDomainsResponse) GetDomains

func (x *SearchDomainsResponse) GetDomains() []*Organization

func (*SearchDomainsResponse) ProtoMessage

func (*SearchDomainsResponse) ProtoMessage()

func (*SearchDomainsResponse) ProtoReflect

func (x *SearchDomainsResponse) ProtoReflect() protoreflect.Message

func (*SearchDomainsResponse) Reset

func (x *SearchDomainsResponse) Reset()

func (*SearchDomainsResponse) String

func (x *SearchDomainsResponse) String() string

type SearchLDAPRequest

type SearchLDAPRequest struct {

	// ----- Select Options -------------------------
	Page   int32    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`    // default: 1
	Size   int32    `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`    // default: 16
	Fields []string `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` // attributes list
	Sort   []string `protobuf:"bytes,4,rep,name=sort,proto3" json:"sort,omitempty"`     // e.g.: "updated_at" - ASC; "!updated_at" - DESC;
	// ----- Search Basic Filters ---------------------------
	Id     []int64 `protobuf:"varint,5,rep,packed,name=id,proto3" json:"id,omitempty"` // selection: by unique identifier
	Q      string  `protobuf:"bytes,6,opt,name=q,proto3" json:"q,omitempty"`           // term-of-search: lookup[name]
	Name   string  `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`     // case-ignore substring match: ILIKE '*' - any; '?' - one
	Access string  `protobuf:"bytes,8,opt,name=access,proto3" json:"access,omitempty"` // [M]andatory[A]ccess[C]ontrol: with access mode (action) granted!
	// contains filtered or unexported fields
}

Search LDAP catalog(s) options

func (*SearchLDAPRequest) Descriptor deprecated

func (*SearchLDAPRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchLDAPRequest.ProtoReflect.Descriptor instead.

func (*SearchLDAPRequest) GetAccess

func (x *SearchLDAPRequest) GetAccess() string

func (*SearchLDAPRequest) GetFields

func (x *SearchLDAPRequest) GetFields() []string

func (*SearchLDAPRequest) GetId

func (x *SearchLDAPRequest) GetId() []int64

func (*SearchLDAPRequest) GetName

func (x *SearchLDAPRequest) GetName() string

func (*SearchLDAPRequest) GetPage

func (x *SearchLDAPRequest) GetPage() int32

func (*SearchLDAPRequest) GetQ

func (x *SearchLDAPRequest) GetQ() string

func (*SearchLDAPRequest) GetSize

func (x *SearchLDAPRequest) GetSize() int32

func (*SearchLDAPRequest) GetSort

func (x *SearchLDAPRequest) GetSort() []string

func (*SearchLDAPRequest) ProtoMessage

func (*SearchLDAPRequest) ProtoMessage()

func (*SearchLDAPRequest) ProtoReflect

func (x *SearchLDAPRequest) ProtoReflect() protoreflect.Message

func (*SearchLDAPRequest) Reset

func (x *SearchLDAPRequest) Reset()

func (*SearchLDAPRequest) String

func (x *SearchLDAPRequest) String() string

type SearchLDAPResponse

type SearchLDAPResponse struct {
	Page  int32          `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // result: {page} number
	Next  bool           `protobuf:"varint,2,opt,name=next,proto3" json:"next,omitempty"` // result: has {next} page ?
	Items []*LDAPCatalog `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchLDAPResponse) Descriptor deprecated

func (*SearchLDAPResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchLDAPResponse.ProtoReflect.Descriptor instead.

func (*SearchLDAPResponse) GetItems

func (x *SearchLDAPResponse) GetItems() []*LDAPCatalog

func (*SearchLDAPResponse) GetNext

func (x *SearchLDAPResponse) GetNext() bool

func (*SearchLDAPResponse) GetPage

func (x *SearchLDAPResponse) GetPage() int32

func (*SearchLDAPResponse) ProtoMessage

func (*SearchLDAPResponse) ProtoMessage()

func (*SearchLDAPResponse) ProtoReflect

func (x *SearchLDAPResponse) ProtoReflect() protoreflect.Message

func (*SearchLDAPResponse) Reset

func (x *SearchLDAPResponse) Reset()

func (*SearchLDAPResponse) String

func (x *SearchLDAPResponse) String() string

type SearchOAuthServiceRequest

type SearchOAuthServiceRequest struct {

	// ----- Select Options -------------------------
	Page   int32    `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`    // default: 1
	Size   int32    `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`    // default: 16
	Fields []string `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` // attributes list
	Sort   []string `protobuf:"bytes,4,rep,name=sort,proto3" json:"sort,omitempty"`     // e.g.: "updated_at" - ASC; "!updated_at" - DESC;
	// ----- Search Basic Filters ---------------------------
	Id      []int64 `protobuf:"varint,5,rep,packed,name=id,proto3" json:"id,omitempty"`    // selection: by unique identifier
	Q       string  `protobuf:"bytes,6,opt,name=q,proto3" json:"q,omitempty"`              // term-of-search: lookup[name]
	Name    string  `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"`        // case-ignore substring match: ILIKE '*' - any; '?' - one
	Access  string  `protobuf:"bytes,8,opt,name=access,proto3" json:"access,omitempty"`    // [M]andatory[A]ccess[C]ontrol: with access mode (action) granted!
	Enabled bool    `protobuf:"varint,9,opt,name=enabled,proto3" json:"enabled,omitempty"` // ----- OAuthService-Specific Filters ----------------
	// contains filtered or unexported fields
}

SearchOAuthServiceRequest Options

func (*SearchOAuthServiceRequest) Descriptor deprecated

func (*SearchOAuthServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchOAuthServiceRequest.ProtoReflect.Descriptor instead.

func (*SearchOAuthServiceRequest) GetAccess

func (x *SearchOAuthServiceRequest) GetAccess() string

func (*SearchOAuthServiceRequest) GetEnabled

func (x *SearchOAuthServiceRequest) GetEnabled() bool

func (*SearchOAuthServiceRequest) GetFields

func (x *SearchOAuthServiceRequest) GetFields() []string

func (*SearchOAuthServiceRequest) GetId

func (x *SearchOAuthServiceRequest) GetId() []int64

func (*SearchOAuthServiceRequest) GetName

func (x *SearchOAuthServiceRequest) GetName() string

func (*SearchOAuthServiceRequest) GetPage

func (x *SearchOAuthServiceRequest) GetPage() int32

func (*SearchOAuthServiceRequest) GetQ

func (*SearchOAuthServiceRequest) GetSize

func (x *SearchOAuthServiceRequest) GetSize() int32

func (*SearchOAuthServiceRequest) GetSort

func (x *SearchOAuthServiceRequest) GetSort() []string

func (*SearchOAuthServiceRequest) ProtoMessage

func (*SearchOAuthServiceRequest) ProtoMessage()

func (*SearchOAuthServiceRequest) ProtoReflect

func (*SearchOAuthServiceRequest) Reset

func (x *SearchOAuthServiceRequest) Reset()

func (*SearchOAuthServiceRequest) String

func (x *SearchOAuthServiceRequest) String() string

type SearchOAuthServiceResponse

type SearchOAuthServiceResponse struct {
	Page  int32           `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // result: {page} number
	Next  bool            `protobuf:"varint,2,opt,name=next,proto3" json:"next,omitempty"` // result: has {next} page ?
	Items []*OAuthService `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchOAuthServiceResponse) Descriptor deprecated

func (*SearchOAuthServiceResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchOAuthServiceResponse.ProtoReflect.Descriptor instead.

func (*SearchOAuthServiceResponse) GetItems

func (x *SearchOAuthServiceResponse) GetItems() []*OAuthService

func (*SearchOAuthServiceResponse) GetNext

func (x *SearchOAuthServiceResponse) GetNext() bool

func (*SearchOAuthServiceResponse) GetPage

func (x *SearchOAuthServiceResponse) GetPage() int32

func (*SearchOAuthServiceResponse) ProtoMessage

func (*SearchOAuthServiceResponse) ProtoMessage()

func (*SearchOAuthServiceResponse) ProtoReflect

func (*SearchOAuthServiceResponse) Reset

func (x *SearchOAuthServiceResponse) Reset()

func (*SearchOAuthServiceResponse) String

func (x *SearchOAuthServiceResponse) String() string

type SearchPermissionRequest

type SearchPermissionRequest struct {
	Q   string   `protobuf:"bytes,1,opt,name=q,proto3" json:"q,omitempty"`     // TermOfSearch
	Id  []string `protobuf:"bytes,2,rep,name=id,proto3" json:"id,omitempty"`   // = ANY(id)
	Not []string `protobuf:"bytes,3,rep,name=not,proto3" json:"not,omitempty"` // <> ANY(not)
	// controls
	Fields []string `protobuf:"bytes,10,rep,name=fields,proto3" json:"fields,omitempty"` // output
	Sort   []string `protobuf:"bytes,11,rep,name=sort,proto3" json:"sort,omitempty"`     // sort: "field" asc; "!field" desc
	Page   int32    `protobuf:"varint,12,opt,name=page,proto3" json:"page,omitempty"`    // page number
	Size   int32    `protobuf:"varint,13,opt,name=size,proto3" json:"size,omitempty"`    // page size
	// contains filtered or unexported fields
}

func (*SearchPermissionRequest) Descriptor deprecated

func (*SearchPermissionRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchPermissionRequest.ProtoReflect.Descriptor instead.

func (*SearchPermissionRequest) GetFields

func (x *SearchPermissionRequest) GetFields() []string

func (*SearchPermissionRequest) GetId

func (x *SearchPermissionRequest) GetId() []string

func (*SearchPermissionRequest) GetNot

func (x *SearchPermissionRequest) GetNot() []string

func (*SearchPermissionRequest) GetPage

func (x *SearchPermissionRequest) GetPage() int32

func (*SearchPermissionRequest) GetQ

func (x *SearchPermissionRequest) GetQ() string

func (*SearchPermissionRequest) GetSize

func (x *SearchPermissionRequest) GetSize() int32

func (*SearchPermissionRequest) GetSort

func (x *SearchPermissionRequest) GetSort() []string

func (*SearchPermissionRequest) ProtoMessage

func (*SearchPermissionRequest) ProtoMessage()

func (*SearchPermissionRequest) ProtoReflect

func (x *SearchPermissionRequest) ProtoReflect() protoreflect.Message

func (*SearchPermissionRequest) Reset

func (x *SearchPermissionRequest) Reset()

func (*SearchPermissionRequest) String

func (x *SearchPermissionRequest) String() string

type SearchPermissionResponse

type SearchPermissionResponse struct {
	Page  int32         `protobuf:"varint,10,opt,name=page,proto3" json:"page,omitempty"` // select: offset {page}
	Size  int32         `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // search: limit {size}
	Next  bool          `protobuf:"varint,12,opt,name=next,proto3" json:"next,omitempty"` // search: has {next} page ?
	Items []*Permission `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // result entries
	// contains filtered or unexported fields
}

func (*SearchPermissionResponse) Descriptor deprecated

func (*SearchPermissionResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchPermissionResponse.ProtoReflect.Descriptor instead.

func (*SearchPermissionResponse) GetItems

func (x *SearchPermissionResponse) GetItems() []*Permission

func (*SearchPermissionResponse) GetNext

func (x *SearchPermissionResponse) GetNext() bool

func (*SearchPermissionResponse) GetPage

func (x *SearchPermissionResponse) GetPage() int32

func (*SearchPermissionResponse) GetSize

func (x *SearchPermissionResponse) GetSize() int32

func (*SearchPermissionResponse) ProtoMessage

func (*SearchPermissionResponse) ProtoMessage()

func (*SearchPermissionResponse) ProtoReflect

func (x *SearchPermissionResponse) ProtoReflect() protoreflect.Message

func (*SearchPermissionResponse) Reset

func (x *SearchPermissionResponse) Reset()

func (*SearchPermissionResponse) String

func (x *SearchPermissionResponse) String() string

type SearchPresenceRequest

type SearchPresenceRequest struct {

	// ----- Basic -------------------------
	Q    string `protobuf:"bytes,1,opt,name=q,proto3" json:"q,omitempty"`
	Id   string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"`     // [optional]: <oid:int64>
	Type string `protobuf:"bytes,3,opt,name=type,proto3" json:"type,omitempty"` // [optional]: <entity:user|device|gateway>; default <user:> if omitted
	// ----- Filter -------------------------
	Basic []string `protobuf:"bytes,4,rep,name=basic,proto3" json:"basic,omitempty"`  // [optional] <scope> requested
	Since int64    `protobuf:"varint,5,opt,name=since,proto3" json:"since,omitempty"` // [optional] if modified since
	// ----- Search Options -------------------------
	Fields []string `protobuf:"bytes,10,rep,name=fields,proto3" json:"fields,omitempty"` // select: output (fields,...)
	Sort   []string `protobuf:"bytes,11,rep,name=sort,proto3" json:"sort,omitempty"`     // select: order by (fields,...)
	Page   int32    `protobuf:"varint,12,opt,name=page,proto3" json:"page,omitempty"`    // select: offset {page}
	Size   int32    `protobuf:"varint,13,opt,name=size,proto3" json:"size,omitempty"`    // select: limit {size}
	// contains filtered or unexported fields
}

func (*SearchPresenceRequest) Descriptor deprecated

func (*SearchPresenceRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchPresenceRequest.ProtoReflect.Descriptor instead.

func (*SearchPresenceRequest) GetBasic

func (x *SearchPresenceRequest) GetBasic() []string

func (*SearchPresenceRequest) GetFields

func (x *SearchPresenceRequest) GetFields() []string

func (*SearchPresenceRequest) GetId

func (x *SearchPresenceRequest) GetId() string

func (*SearchPresenceRequest) GetPage

func (x *SearchPresenceRequest) GetPage() int32

func (*SearchPresenceRequest) GetQ

func (x *SearchPresenceRequest) GetQ() string

func (*SearchPresenceRequest) GetSince

func (x *SearchPresenceRequest) GetSince() int64

func (*SearchPresenceRequest) GetSize

func (x *SearchPresenceRequest) GetSize() int32

func (*SearchPresenceRequest) GetSort

func (x *SearchPresenceRequest) GetSort() []string

func (*SearchPresenceRequest) GetType

func (x *SearchPresenceRequest) GetType() string

func (*SearchPresenceRequest) ProtoMessage

func (*SearchPresenceRequest) ProtoMessage()

func (*SearchPresenceRequest) ProtoReflect

func (x *SearchPresenceRequest) ProtoReflect() protoreflect.Message

func (*SearchPresenceRequest) Reset

func (x *SearchPresenceRequest) Reset()

func (*SearchPresenceRequest) String

func (x *SearchPresenceRequest) String() string

type SearchPresenceResponse

type SearchPresenceResponse struct {
	Page  int32             `protobuf:"varint,10,opt,name=page,proto3" json:"page,omitempty"` // select: offset {page}
	Size  int32             `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // search: limit {size}
	Next  bool              `protobuf:"varint,12,opt,name=next,proto3" json:"next,omitempty"` // search: has {next} page ?
	Items []*PresenceStatus `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchPresenceResponse) Descriptor deprecated

func (*SearchPresenceResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchPresenceResponse.ProtoReflect.Descriptor instead.

func (*SearchPresenceResponse) GetItems

func (x *SearchPresenceResponse) GetItems() []*PresenceStatus

func (*SearchPresenceResponse) GetNext

func (x *SearchPresenceResponse) GetNext() bool

func (*SearchPresenceResponse) GetPage

func (x *SearchPresenceResponse) GetPage() int32

func (*SearchPresenceResponse) GetSize

func (x *SearchPresenceResponse) GetSize() int32

func (*SearchPresenceResponse) ProtoMessage

func (*SearchPresenceResponse) ProtoMessage()

func (*SearchPresenceResponse) ProtoReflect

func (x *SearchPresenceResponse) ProtoReflect() protoreflect.Message

func (*SearchPresenceResponse) Reset

func (x *SearchPresenceResponse) Reset()

func (*SearchPresenceResponse) String

func (x *SearchPresenceResponse) String() string

type SearchRecordAvailableRolesRequest

type SearchRecordAvailableRolesRequest struct {

	// ----- Role-specific Filters ----------------- //
	Ids  []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // filter: .id = any(:ids...)
	Name string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`       // filter: group name like
	User *UserId `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`       // filter: has member id (bottom)
	Q    string  `protobuf:"bytes,4,opt,name=q,proto3" json:"q,omitempty"`             // filter: term of search (name, description)
	// bool admin = 4;  // filter: where CURRENT user is 'ADMIN' of
	// REQUIRED !
	Object SystemObjects `protobuf:"varint,5,opt,name=object,proto3,enum=api.SystemObjects" json:"object,omitempty"`
	Record *ObjectId     `protobuf:"bytes,6,opt,name=record,proto3" json:"record,omitempty"`
	// controls
	Fields []string `protobuf:"bytes,10,rep,name=fields,proto3" json:"fields,omitempty"` // output
	Sort   []string `protobuf:"bytes,11,rep,name=sort,proto3" json:"sort,omitempty"`     // sort: "field" asc; "!field" desc
	Page   int32    `protobuf:"varint,12,opt,name=page,proto3" json:"page,omitempty"`    // page number
	Size   int32    `protobuf:"varint,13,opt,name=size,proto3" json:"size,omitempty"`    // page size
	// contains filtered or unexported fields
}

func (*SearchRecordAvailableRolesRequest) Descriptor deprecated

func (*SearchRecordAvailableRolesRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchRecordAvailableRolesRequest.ProtoReflect.Descriptor instead.

func (*SearchRecordAvailableRolesRequest) GetFields

func (x *SearchRecordAvailableRolesRequest) GetFields() []string

func (*SearchRecordAvailableRolesRequest) GetIds

func (*SearchRecordAvailableRolesRequest) GetName

func (*SearchRecordAvailableRolesRequest) GetObject

func (*SearchRecordAvailableRolesRequest) GetPage

func (*SearchRecordAvailableRolesRequest) GetQ

func (*SearchRecordAvailableRolesRequest) GetRecord

func (*SearchRecordAvailableRolesRequest) GetSize

func (*SearchRecordAvailableRolesRequest) GetSort

func (*SearchRecordAvailableRolesRequest) GetUser

func (*SearchRecordAvailableRolesRequest) ProtoMessage

func (*SearchRecordAvailableRolesRequest) ProtoMessage()

func (*SearchRecordAvailableRolesRequest) ProtoReflect

func (*SearchRecordAvailableRolesRequest) Reset

func (*SearchRecordAvailableRolesRequest) String

type SearchRequest

type SearchRequest struct {
	Id     int64    `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`          // filter: eq
	Ids    []int64  `protobuf:"varint,2,rep,packed,name=ids,proto3" json:"ids,omitempty"` // filter: in (...)
	Name   string   `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`       // filter: like '[{prefix}%]{substring}[%{suffix}]'
	Fields []string `protobuf:"bytes,10,rep,name=fields,proto3" json:"fields,omitempty"`  // output selection
	Sort   []string `protobuf:"bytes,11,rep,name=sort,proto3" json:"sort,omitempty"`      // e.g.: "created_at" ASC; "!created_at" DESC;
	Size   int32    `protobuf:"varint,12,opt,name=size,proto3" json:"size,omitempty"`
	Page   int32    `protobuf:"varint,13,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchRequest) Descriptor deprecated

func (*SearchRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchRequest.ProtoReflect.Descriptor instead.

func (*SearchRequest) GetFields

func (x *SearchRequest) GetFields() []string

func (*SearchRequest) GetId

func (x *SearchRequest) GetId() int64

func (*SearchRequest) GetIds

func (x *SearchRequest) GetIds() []int64

func (*SearchRequest) GetName

func (x *SearchRequest) GetName() string

func (*SearchRequest) GetPage

func (x *SearchRequest) GetPage() int32

func (*SearchRequest) GetSize

func (x *SearchRequest) GetSize() int32

func (*SearchRequest) GetSort

func (x *SearchRequest) GetSort() []string

func (*SearchRequest) ProtoMessage

func (*SearchRequest) ProtoMessage()

func (*SearchRequest) ProtoReflect

func (x *SearchRequest) ProtoReflect() protoreflect.Message

func (*SearchRequest) Reset

func (x *SearchRequest) Reset()

func (*SearchRequest) String

func (x *SearchRequest) String() string

type SearchResponse

type SearchResponse struct {
	Items [][]byte `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*SearchResponse) Descriptor deprecated

func (*SearchResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchResponse.ProtoReflect.Descriptor instead.

func (*SearchResponse) GetItems

func (x *SearchResponse) GetItems() [][]byte

func (*SearchResponse) ProtoMessage

func (*SearchResponse) ProtoMessage()

func (*SearchResponse) ProtoReflect

func (x *SearchResponse) ProtoReflect() protoreflect.Message

func (*SearchResponse) Reset

func (x *SearchResponse) Reset()

func (*SearchResponse) String

func (x *SearchResponse) String() string

type SearchRolesRequest

type SearchRolesRequest struct {

	// ----- Role-specific Filters ----------------- //
	Ids  []int64 `protobuf:"varint,1,rep,packed,name=ids,proto3" json:"ids,omitempty"` // filter: .id = any(:ids...)
	Name string  `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`       // filter: group name like
	User *UserId `protobuf:"bytes,3,opt,name=user,proto3" json:"user,omitempty"`       // filter: has member id (bottom)
	Q    string  `protobuf:"bytes,4,opt,name=q,proto3" json:"q,omitempty"`             // filter: term of search (name, description)
	// bool admin = 4;  // filter: where CURRENT user is 'ADMIN' of
	// controls
	Fields []string `protobuf:"bytes,10,rep,name=fields,proto3" json:"fields,omitempty"` // output
	Sort   []string `protobuf:"bytes,11,rep,name=sort,proto3" json:"sort,omitempty"`     // sort: "field" asc; "!field" desc
	Page   int32    `protobuf:"varint,12,opt,name=page,proto3" json:"page,omitempty"`    // page number
	Size   int32    `protobuf:"varint,13,opt,name=size,proto3" json:"size,omitempty"`    // page size
	// contains filtered or unexported fields
}

func (*SearchRolesRequest) Descriptor deprecated

func (*SearchRolesRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchRolesRequest.ProtoReflect.Descriptor instead.

func (*SearchRolesRequest) GetFields

func (x *SearchRolesRequest) GetFields() []string

func (*SearchRolesRequest) GetIds

func (x *SearchRolesRequest) GetIds() []int64

func (*SearchRolesRequest) GetName

func (x *SearchRolesRequest) GetName() string

func (*SearchRolesRequest) GetPage

func (x *SearchRolesRequest) GetPage() int32

func (*SearchRolesRequest) GetQ

func (x *SearchRolesRequest) GetQ() string

func (*SearchRolesRequest) GetSize

func (x *SearchRolesRequest) GetSize() int32

func (*SearchRolesRequest) GetSort

func (x *SearchRolesRequest) GetSort() []string

func (*SearchRolesRequest) GetUser

func (x *SearchRolesRequest) GetUser() *UserId

func (*SearchRolesRequest) ProtoMessage

func (*SearchRolesRequest) ProtoMessage()

func (*SearchRolesRequest) ProtoReflect

func (x *SearchRolesRequest) ProtoReflect() protoreflect.Message

func (*SearchRolesRequest) Reset

func (x *SearchRolesRequest) Reset()

func (*SearchRolesRequest) String

func (x *SearchRolesRequest) String() string

type SearchRolesResponse

type SearchRolesResponse struct {

	// pagedResultsControl response value
	Page  int32   `protobuf:"varint,10,opt,name=page,proto3" json:"page,omitempty"` // select: offset {page}
	Size  int32   `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // search: limit {size}
	Next  bool    `protobuf:"varint,12,opt,name=next,proto3" json:"next,omitempty"` // search: has {next} page ?
	Items []*Role `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // roles
	// contains filtered or unexported fields
}

func (*SearchRolesResponse) Descriptor deprecated

func (*SearchRolesResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchRolesResponse.ProtoReflect.Descriptor instead.

func (*SearchRolesResponse) GetItems

func (x *SearchRolesResponse) GetItems() []*Role

func (*SearchRolesResponse) GetNext

func (x *SearchRolesResponse) GetNext() bool

func (*SearchRolesResponse) GetPage

func (x *SearchRolesResponse) GetPage() int32

func (*SearchRolesResponse) GetSize

func (x *SearchRolesResponse) GetSize() int32

func (*SearchRolesResponse) ProtoMessage

func (*SearchRolesResponse) ProtoMessage()

func (*SearchRolesResponse) ProtoReflect

func (x *SearchRolesResponse) ProtoReflect() protoreflect.Message

func (*SearchRolesResponse) Reset

func (x *SearchRolesResponse) Reset()

func (*SearchRolesResponse) String

func (x *SearchRolesResponse) String() string

type SearchSessionsRequest

type SearchSessionsRequest struct {
	Dc     int64    `protobuf:"varint,1,opt,name=dc,proto3" json:"dc,omitempty"`                       // domain.dc(component)
	Domain string   `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`                // domain.name
	UserId int64    `protobuf:"varint,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"` // user.id
	Fields []string `protobuf:"bytes,10,rep,name=fields,proto3" json:"fields,omitempty"`               // output
	Sort   []string `protobuf:"bytes,11,rep,name=sort,proto3" json:"sort,omitempty"`
	Size   int64    `protobuf:"varint,12,opt,name=size,proto3" json:"size,omitempty"`
	Page   int64    `protobuf:"varint,13,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

GET /sessions GET /user/{user_id}/sessions GET /domain/{dc}/sessions

func (*SearchSessionsRequest) Descriptor deprecated

func (*SearchSessionsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchSessionsRequest.ProtoReflect.Descriptor instead.

func (*SearchSessionsRequest) GetDc

func (x *SearchSessionsRequest) GetDc() int64

func (*SearchSessionsRequest) GetDomain

func (x *SearchSessionsRequest) GetDomain() string

func (*SearchSessionsRequest) GetFields

func (x *SearchSessionsRequest) GetFields() []string

func (*SearchSessionsRequest) GetPage

func (x *SearchSessionsRequest) GetPage() int64

func (*SearchSessionsRequest) GetSize

func (x *SearchSessionsRequest) GetSize() int64

func (*SearchSessionsRequest) GetSort

func (x *SearchSessionsRequest) GetSort() []string

func (*SearchSessionsRequest) GetUserId

func (x *SearchSessionsRequest) GetUserId() int64

func (*SearchSessionsRequest) ProtoMessage

func (*SearchSessionsRequest) ProtoMessage()

func (*SearchSessionsRequest) ProtoReflect

func (x *SearchSessionsRequest) ProtoReflect() protoreflect.Message

func (*SearchSessionsRequest) Reset

func (x *SearchSessionsRequest) Reset()

func (*SearchSessionsRequest) String

func (x *SearchSessionsRequest) String() string

type SearchSessionsResponse

type SearchSessionsResponse struct {
	Page  int32      `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"`  // result: {page} number
	Next  bool       `protobuf:"varint,2,opt,name=next,proto3" json:"next,omitempty"`  // result: has {next} page ?
	Items []*Session `protobuf:"bytes,3,rep,name=items,proto3" json:"items,omitempty"` // results
	// contains filtered or unexported fields
}

func (*SearchSessionsResponse) Descriptor deprecated

func (*SearchSessionsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchSessionsResponse.ProtoReflect.Descriptor instead.

func (*SearchSessionsResponse) GetItems

func (x *SearchSessionsResponse) GetItems() []*Session

func (*SearchSessionsResponse) GetNext

func (x *SearchSessionsResponse) GetNext() bool

func (*SearchSessionsResponse) GetPage

func (x *SearchSessionsResponse) GetPage() int32

func (*SearchSessionsResponse) ProtoMessage

func (*SearchSessionsResponse) ProtoMessage()

func (*SearchSessionsResponse) ProtoReflect

func (x *SearchSessionsResponse) ProtoReflect() protoreflect.Message

func (*SearchSessionsResponse) Reset

func (x *SearchSessionsResponse) Reset()

func (*SearchSessionsResponse) String

func (x *SearchSessionsResponse) String() string

type SearchUsersRequest

type SearchUsersRequest struct {

	// ----- Base Filters ---------------------------
	Id    []int64 `protobuf:"varint,1,rep,packed,name=id,proto3" json:"id,omitempty"`                    // filter: .id = any({id}...)
	NotId []int64 `protobuf:"varint,2,rep,packed,name=not_id,json=notId,proto3" json:"not_id,omitempty"` // filter: .id <> all({not_ids}...)
	// ----- User-specific Filters ------------------
	Q         string `protobuf:"bytes,3,opt,name=q,proto3" json:"q,omitempty"`                 // filter: (.name|.username|.extension|.status) ILIKE '{q}'
	Name      string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`           // filter: .name ILIKE '{name}'
	Status    string `protobuf:"bytes,5,opt,name=status,proto3" json:"status,omitempty"`       // filter: .status ILIKE '{status}'
	Username  string `protobuf:"bytes,6,opt,name=username,proto3" json:"username,omitempty"`   // filter: .username ILIKE '{username}'
	Extension string `protobuf:"bytes,7,opt,name=extension,proto3" json:"extension,omitempty"` // filter: .extension LIKE '{extension}'
	// ----- View Modes -----------------------------
	// NOTE: by default, search NOT 'deleted' objects ONLY
	Any      bool                         `protobuf:"varint,8,opt,name=any,proto3" json:"any,omitempty"`         // filter: include 'deleted' ALSO ! (inactive)
	Deleted  bool                         `protobuf:"varint,9,opt,name=deleted,proto3" json:"deleted,omitempty"` // filter: .deleted_at NOTNULL (view: RECYCLE)
	Presence *SearchUsersRequest_Presence `protobuf:"bytes,10,opt,name=presence,proto3" json:"presence,omitempty"`
	// // navigation filter
	// repeated int64 roles = 7;
	// ----- Search Options -------------------------
	Fields []string `protobuf:"bytes,20,rep,name=fields,proto3" json:"fields,omitempty"` // select: output (fields,...)
	Sort   []string `protobuf:"bytes,21,rep,name=sort,proto3" json:"sort,omitempty"`     // select: order by (fields,...)
	Page   int32    `protobuf:"varint,22,opt,name=page,proto3" json:"page,omitempty"`    // select: offset {page}
	Size   int32    `protobuf:"varint,23,opt,name=size,proto3" json:"size,omitempty"`    // select: limit {size}
	// contains filtered or unexported fields
}

func (*SearchUsersRequest) Descriptor deprecated

func (*SearchUsersRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchUsersRequest.ProtoReflect.Descriptor instead.

func (*SearchUsersRequest) GetAny

func (x *SearchUsersRequest) GetAny() bool

func (*SearchUsersRequest) GetDeleted

func (x *SearchUsersRequest) GetDeleted() bool

func (*SearchUsersRequest) GetExtension

func (x *SearchUsersRequest) GetExtension() string

func (*SearchUsersRequest) GetFields

func (x *SearchUsersRequest) GetFields() []string

func (*SearchUsersRequest) GetId

func (x *SearchUsersRequest) GetId() []int64

func (*SearchUsersRequest) GetName

func (x *SearchUsersRequest) GetName() string

func (*SearchUsersRequest) GetNotId

func (x *SearchUsersRequest) GetNotId() []int64

func (*SearchUsersRequest) GetPage

func (x *SearchUsersRequest) GetPage() int32

func (*SearchUsersRequest) GetPresence

func (*SearchUsersRequest) GetQ

func (x *SearchUsersRequest) GetQ() string

func (*SearchUsersRequest) GetSize

func (x *SearchUsersRequest) GetSize() int32

func (*SearchUsersRequest) GetSort

func (x *SearchUsersRequest) GetSort() []string

func (*SearchUsersRequest) GetStatus

func (x *SearchUsersRequest) GetStatus() string

func (*SearchUsersRequest) GetUsername

func (x *SearchUsersRequest) GetUsername() string

func (*SearchUsersRequest) ProtoMessage

func (*SearchUsersRequest) ProtoMessage()

func (*SearchUsersRequest) ProtoReflect

func (x *SearchUsersRequest) ProtoReflect() protoreflect.Message

func (*SearchUsersRequest) Reset

func (x *SearchUsersRequest) Reset()

func (*SearchUsersRequest) String

func (x *SearchUsersRequest) String() string

type SearchUsersRequest_Presence

type SearchUsersRequest_Presence struct {
	Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status,omitempty"`
	Note   string `protobuf:"bytes,2,opt,name=note,proto3" json:"note,omitempty"`
	// contains filtered or unexported fields
}

simplified presence filter params

func (*SearchUsersRequest_Presence) Descriptor deprecated

func (*SearchUsersRequest_Presence) Descriptor() ([]byte, []int)

Deprecated: Use SearchUsersRequest_Presence.ProtoReflect.Descriptor instead.

func (*SearchUsersRequest_Presence) GetNote

func (x *SearchUsersRequest_Presence) GetNote() string

func (*SearchUsersRequest_Presence) GetStatus

func (x *SearchUsersRequest_Presence) GetStatus() string

func (*SearchUsersRequest_Presence) ProtoMessage

func (*SearchUsersRequest_Presence) ProtoMessage()

func (*SearchUsersRequest_Presence) ProtoReflect

func (*SearchUsersRequest_Presence) Reset

func (x *SearchUsersRequest_Presence) Reset()

func (*SearchUsersRequest_Presence) String

func (x *SearchUsersRequest_Presence) String() string

type SearchUsersResponse

type SearchUsersResponse struct {
	Page  int32   `protobuf:"varint,10,opt,name=page,proto3" json:"page,omitempty"` // select: offset {page}
	Size  int32   `protobuf:"varint,11,opt,name=size,proto3" json:"size,omitempty"` // search: limit {size}
	Next  bool    `protobuf:"varint,12,opt,name=next,proto3" json:"next,omitempty"` // search: has {next} page ?
	Items []*User `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"` // users
	// contains filtered or unexported fields
}

func (*SearchUsersResponse) Descriptor deprecated

func (*SearchUsersResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchUsersResponse.ProtoReflect.Descriptor instead.

func (*SearchUsersResponse) GetItems

func (x *SearchUsersResponse) GetItems() []*User

func (*SearchUsersResponse) GetNext

func (x *SearchUsersResponse) GetNext() bool

func (*SearchUsersResponse) GetPage

func (x *SearchUsersResponse) GetPage() int32

func (*SearchUsersResponse) GetSize

func (x *SearchUsersResponse) GetSize() int32

func (*SearchUsersResponse) ProtoMessage

func (*SearchUsersResponse) ProtoMessage()

func (*SearchUsersResponse) ProtoReflect

func (x *SearchUsersResponse) ProtoReflect() protoreflect.Message

func (*SearchUsersResponse) Reset

func (x *SearchUsersResponse) Reset()

func (*SearchUsersResponse) String

func (x *SearchUsersResponse) String() string

type ServerInfoRequest

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

func (*ServerInfoRequest) Descriptor deprecated

func (*ServerInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use ServerInfoRequest.ProtoReflect.Descriptor instead.

func (*ServerInfoRequest) ProtoMessage

func (*ServerInfoRequest) ProtoMessage()

func (*ServerInfoRequest) ProtoReflect

func (x *ServerInfoRequest) ProtoReflect() protoreflect.Message

func (*ServerInfoRequest) Reset

func (x *ServerInfoRequest) Reset()

func (*ServerInfoRequest) String

func (x *ServerInfoRequest) String() string

type ServerInfoResponse

type ServerInfoResponse struct {

	// int64 time = 1; // current timestamp (ms)
	Key []byte `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// contains filtered or unexported fields
}

func (*ServerInfoResponse) Descriptor deprecated

func (*ServerInfoResponse) Descriptor() ([]byte, []int)

Deprecated: Use ServerInfoResponse.ProtoReflect.Descriptor instead.

func (*ServerInfoResponse) GetKey

func (x *ServerInfoResponse) GetKey() []byte

func (*ServerInfoResponse) ProtoMessage

func (*ServerInfoResponse) ProtoMessage()

func (*ServerInfoResponse) ProtoReflect

func (x *ServerInfoResponse) ProtoReflect() protoreflect.Message

func (*ServerInfoResponse) Reset

func (x *ServerInfoResponse) Reset()

func (*ServerInfoResponse) String

func (x *ServerInfoResponse) String() string

type Session

type Session struct {
	Id         string   `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                     // session key
	Dc         int64    `protobuf:"varint,2,opt,name=dc,proto3" json:"dc,omitempty"`                                    // current domain.dc component
	Domain     string   `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"`                             // session domain.name
	UserId     int64    `protobuf:"varint,4,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`              // current user.id
	Username   string   `protobuf:"bytes,5,opt,name=username,proto3" json:"username,omitempty"`                         // session user-friendly role name
	NetworkIp  string   `protobuf:"bytes,6,opt,name=network_ip,json=networkIp,proto3" json:"network_ip,omitempty"`      // remote IP address; assigned while authorization
	UserAgent  string   `protobuf:"bytes,7,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`      // remote User-Agent; assigned while authorization
	Roles      []string `protobuf:"bytes,8,rep,name=roles,proto3" json:"roles,omitempty"`                               // group.name(s)
	Scope      []string `protobuf:"bytes,9,rep,name=scope,proto3" json:"scope,omitempty"`                               // permission.name(s)
	AccessedAt int64    `protobuf:"varint,10,opt,name=accessed_at,json=accessedAt,proto3" json:"accessed_at,omitempty"` // unix: last seen
	CreatedAt  int64    `protobuf:"varint,11,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`    // unix
	ExpiresAt  int64    `protobuf:"varint,12,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`    // unix
	// contains filtered or unexported fields
}

func (*Session) Descriptor deprecated

func (*Session) Descriptor() ([]byte, []int)

Deprecated: Use Session.ProtoReflect.Descriptor instead.

func (*Session) GetAccessedAt

func (x *Session) GetAccessedAt() int64

func (*Session) GetCreatedAt

func (x *Session) GetCreatedAt() int64

func (*Session) GetDc

func (x *Session) GetDc() int64

func (*Session) GetDomain

func (x *Session) GetDomain() string

func (*Session) GetExpiresAt

func (x *Session) GetExpiresAt() int64

func (*Session) GetId

func (x *Session) GetId() string

func (*Session) GetNetworkIp

func (x *Session) GetNetworkIp() string

func (*Session) GetRoles

func (x *Session) GetRoles() []string

func (*Session) GetScope

func (x *Session) GetScope() []string

func (*Session) GetUserAgent

func (x *Session) GetUserAgent() string

func (*Session) GetUserId

func (x *Session) GetUserId() int64

func (*Session) GetUsername

func (x *Session) GetUsername() string

func (*Session) ProtoMessage

func (*Session) ProtoMessage()

func (*Session) ProtoReflect

func (x *Session) ProtoReflect() protoreflect.Message

func (*Session) Reset

func (x *Session) Reset()

func (*Session) String

func (x *Session) String() string

type SessionLoginRequest

type SessionLoginRequest struct {
	Sid                  string            `protobuf:"bytes,1,opt,name=sid,proto3" json:"sid,omitempty"`  // session id
	Sub                  int64             `protobuf:"varint,2,opt,name=sub,proto3" json:"sub,omitempty"` // authenticated subject (user.id)
	MaxAge               int64             `protobuf:"varint,3,opt,name=max_age,json=maxAge,proto3" json:"max_age,omitempty"`
	Token                string            `protobuf:"bytes,4,opt,name=token,proto3" json:"token,omitempty"`
	ExpiresAt            int64             `protobuf:"varint,5,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty"`                                     // unix
	AuthenticatedAt      int64             `protobuf:"varint,6,opt,name=authenticated_at,json=authenticatedAt,proto3" json:"authenticated_at,omitempty"`                   // unix
	CompetitiveExpiresAt int64             `protobuf:"varint,11,opt,name=competitive_expires_at,json=competitiveExpiresAt,proto3" json:"competitive_expires_at,omitempty"` // unix
	UserAgent            string            `protobuf:"bytes,7,opt,name=user_agent,json=userAgent,proto3" json:"user_agent,omitempty"`                                      // remote User-Agent; assigned while authorization
	NetworkIp            string            `protobuf:"bytes,8,opt,name=network_ip,json=networkIp,proto3" json:"network_ip,omitempty"`                                      // remote IP address; assigned while authorization
	RedirectUri          string            `protobuf:"bytes,9,opt,name=redirect_uri,json=redirectUri,proto3" json:"redirect_uri,omitempty"`
	Metadata             map[string]string `` /* 144-byte string literal not displayed */
	// contains filtered or unexported fields
}

func (*SessionLoginRequest) Descriptor deprecated

func (*SessionLoginRequest) Descriptor() ([]byte, []int)

Deprecated: Use SessionLoginRequest.ProtoReflect.Descriptor instead.

func (*SessionLoginRequest) GetAuthenticatedAt

func (x *SessionLoginRequest) GetAuthenticatedAt() int64

func (*SessionLoginRequest) GetCompetitiveExpiresAt

func (x *SessionLoginRequest) GetCompetitiveExpiresAt() int64

func (*SessionLoginRequest) GetExpiresAt

func (x *SessionLoginRequest) GetExpiresAt() int64

func (*SessionLoginRequest) GetMaxAge

func (x *SessionLoginRequest) GetMaxAge() int64

func (*SessionLoginRequest) GetMetadata

func (x *SessionLoginRequest) GetMetadata() map[string]string

func (*SessionLoginRequest) GetNetworkIp

func (x *SessionLoginRequest) GetNetworkIp() string

func (*SessionLoginRequest) GetRedirectUri

func (x *SessionLoginRequest) GetRedirectUri() string

func (*SessionLoginRequest) GetSid

func (x *SessionLoginRequest) GetSid() string

func (*SessionLoginRequest) GetSub

func (x *SessionLoginRequest) GetSub() int64

func (*SessionLoginRequest) GetToken

func (x *SessionLoginRequest) GetToken() string

func (*SessionLoginRequest) GetUserAgent

func (x *SessionLoginRequest) GetUserAgent() string

func (*SessionLoginRequest) ProtoMessage

func (*SessionLoginRequest) ProtoMessage()

func (*SessionLoginRequest) ProtoReflect

func (x *SessionLoginRequest) ProtoReflect() protoreflect.Message

func (*SessionLoginRequest) Reset

func (x *SessionLoginRequest) Reset()

func (*SessionLoginRequest) String

func (x *SessionLoginRequest) String() string

type SetSettingsRequest

type SetSettingsRequest struct {
	Key   string          `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*SetSettingsRequest) Descriptor deprecated

func (*SetSettingsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetSettingsRequest.ProtoReflect.Descriptor instead.

func (*SetSettingsRequest) GetKey

func (x *SetSettingsRequest) GetKey() string

func (*SetSettingsRequest) GetValue

func (x *SetSettingsRequest) GetValue() *structpb.Value

func (*SetSettingsRequest) ProtoMessage

func (*SetSettingsRequest) ProtoMessage()

func (*SetSettingsRequest) ProtoReflect

func (x *SetSettingsRequest) ProtoReflect() protoreflect.Message

func (*SetSettingsRequest) Reset

func (x *SetSettingsRequest) Reset()

func (*SetSettingsRequest) String

func (x *SetSettingsRequest) String() string

type SetStatusRequest

type SetStatusRequest struct {

	// int64 id = 1; // user.id
	Publish *UserPresence `protobuf:"bytes,2,opt,name=publish,proto3" json:"publish,omitempty"` // BODY: partial modifications
	Fields  []string      `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"`   // PATCH: partial attributes
	// contains filtered or unexported fields
}

func (*SetStatusRequest) Descriptor deprecated

func (*SetStatusRequest) Descriptor() ([]byte, []int)

Deprecated: Use SetStatusRequest.ProtoReflect.Descriptor instead.

func (*SetStatusRequest) GetFields

func (x *SetStatusRequest) GetFields() []string

func (*SetStatusRequest) GetPublish

func (x *SetStatusRequest) GetPublish() *UserPresence

func (*SetStatusRequest) ProtoMessage

func (*SetStatusRequest) ProtoMessage()

func (*SetStatusRequest) ProtoReflect

func (x *SetStatusRequest) ProtoReflect() protoreflect.Message

func (*SetStatusRequest) Reset

func (x *SetStatusRequest) Reset()

func (*SetStatusRequest) String

func (x *SetStatusRequest) String() string

type SystemObjects

type SystemObjects int32
const (
	SystemObjects_contacts          SystemObjects = 0
	SystemObjects_cc_list           SystemObjects = 1
	SystemObjects_cc_bucket         SystemObjects = 2
	SystemObjects_calendars         SystemObjects = 3
	SystemObjects_devices           SystemObjects = 4
	SystemObjects_cc_agent          SystemObjects = 5
	SystemObjects_cc_team           SystemObjects = 6
	SystemObjects_cc_resource       SystemObjects = 7
	SystemObjects_cc_resource_group SystemObjects = 8
	SystemObjects_cc_queue          SystemObjects = 9
	SystemObjects_roles             SystemObjects = 10
	SystemObjects_users             SystemObjects = 11
	SystemObjects_cognitive_profile SystemObjects = 12
)

func (SystemObjects) Descriptor

func (SystemObjects) Enum

func (x SystemObjects) Enum() *SystemObjects

func (SystemObjects) EnumDescriptor deprecated

func (SystemObjects) EnumDescriptor() ([]byte, []int)

Deprecated: Use SystemObjects.Descriptor instead.

func (SystemObjects) Number

func (SystemObjects) String

func (x SystemObjects) String() string

func (SystemObjects) Type

type TfaUrl

type TfaUrl struct {
	User *UserId `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`
	Url  string  `protobuf:"bytes,2,opt,name=url,proto3" json:"url,omitempty"`
	// contains filtered or unexported fields
}

func (*TfaUrl) Descriptor deprecated

func (*TfaUrl) Descriptor() ([]byte, []int)

Deprecated: Use TfaUrl.ProtoReflect.Descriptor instead.

func (*TfaUrl) GetUrl

func (x *TfaUrl) GetUrl() string

func (*TfaUrl) GetUser

func (x *TfaUrl) GetUser() *UserId

func (*TfaUrl) ProtoMessage

func (*TfaUrl) ProtoMessage()

func (*TfaUrl) ProtoReflect

func (x *TfaUrl) ProtoReflect() protoreflect.Message

func (*TfaUrl) Reset

func (x *TfaUrl) Reset()

func (*TfaUrl) String

func (x *TfaUrl) String() string

type ToggleDefaultAccessRequest

type ToggleDefaultAccessRequest struct {
	Object  *ObjectId `protobuf:"bytes,1,opt,name=object,proto3" json:"object,omitempty"`    // [ON] objclass (either: by entity .id -or- class .name)
	Grantor int64     `protobuf:"varint,2,opt,name=grantor,proto3" json:"grantor,omitempty"` // [FOR] creator user/role
	// list of changes ...
	List []*GrantAccessRequestV1 `protobuf:"bytes,3,rep,name=list,proto3" json:"list,omitempty"` // [TO] (GRANT/REVOKE)
	// contains filtered or unexported fields
}

func (*ToggleDefaultAccessRequest) Descriptor deprecated

func (*ToggleDefaultAccessRequest) Descriptor() ([]byte, []int)

Deprecated: Use ToggleDefaultAccessRequest.ProtoReflect.Descriptor instead.

func (*ToggleDefaultAccessRequest) GetGrantor

func (x *ToggleDefaultAccessRequest) GetGrantor() int64

func (*ToggleDefaultAccessRequest) GetList

func (*ToggleDefaultAccessRequest) GetObject

func (x *ToggleDefaultAccessRequest) GetObject() *ObjectId

func (*ToggleDefaultAccessRequest) ProtoMessage

func (*ToggleDefaultAccessRequest) ProtoMessage()

func (*ToggleDefaultAccessRequest) ProtoReflect

func (*ToggleDefaultAccessRequest) Reset

func (x *ToggleDefaultAccessRequest) Reset()

func (*ToggleDefaultAccessRequest) String

func (x *ToggleDefaultAccessRequest) String() string

type ToggleDefaultAccessResponse

type ToggleDefaultAccessResponse struct {
	Granted []*AccessRule `protobuf:"bytes,1,rep,name=granted,proto3" json:"granted,omitempty"`
	Revoked []*AccessRule `protobuf:"bytes,2,rep,name=revoked,proto3" json:"revoked,omitempty"`
	// contains filtered or unexported fields
}

func (*ToggleDefaultAccessResponse) Descriptor deprecated

func (*ToggleDefaultAccessResponse) Descriptor() ([]byte, []int)

Deprecated: Use ToggleDefaultAccessResponse.ProtoReflect.Descriptor instead.

func (*ToggleDefaultAccessResponse) GetGranted

func (x *ToggleDefaultAccessResponse) GetGranted() []*AccessRule

func (*ToggleDefaultAccessResponse) GetRevoked

func (x *ToggleDefaultAccessResponse) GetRevoked() []*AccessRule

func (*ToggleDefaultAccessResponse) ProtoMessage

func (*ToggleDefaultAccessResponse) ProtoMessage()

func (*ToggleDefaultAccessResponse) ProtoReflect

func (*ToggleDefaultAccessResponse) Reset

func (x *ToggleDefaultAccessResponse) Reset()

func (*ToggleDefaultAccessResponse) String

func (x *ToggleDefaultAccessResponse) String() string

type TwoFactorAuthenticationClient

type TwoFactorAuthenticationClient interface {
	// GenerateUserTfaKey generates new or regenerates secret for the concrete user
	GenerateUserTfaKey(ctx context.Context, in *GenerateUserTfaKeyRequest, opts ...grpc.CallOption) (*GenerateUserTfaKeyResponse, error)
	// GetUserTfaKey locates the secret for user and returns it as a TOTP url
	GetUserTfaKey(ctx context.Context, in *GetUserTfaKeyRequest, opts ...grpc.CallOption) (*GetUserTfaKeyResponse, error)
	// GenerateTotpForNecessaryUsers generates necessary (not generated previously) totp keys for users in the domain
	GenerateTfaKeysForNecessaryUsers(ctx context.Context, in *GenerateTfaKeysForNecessaryUsersRequest, opts ...grpc.CallOption) (*GenerateTfaKeysForNecessaryUsersResponse, error)
}

TwoFactorAuthenticationClient is the client API for TwoFactorAuthentication service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type TwoFactorAuthenticationServer

type TwoFactorAuthenticationServer interface {
	// GenerateUserTfaKey generates new or regenerates secret for the concrete user
	GenerateUserTfaKey(context.Context, *GenerateUserTfaKeyRequest) (*GenerateUserTfaKeyResponse, error)
	// GetUserTfaKey locates the secret for user and returns it as a TOTP url
	GetUserTfaKey(context.Context, *GetUserTfaKeyRequest) (*GetUserTfaKeyResponse, error)
	// GenerateTotpForNecessaryUsers generates necessary (not generated previously) totp keys for users in the domain
	GenerateTfaKeysForNecessaryUsers(context.Context, *GenerateTfaKeysForNecessaryUsersRequest) (*GenerateTfaKeysForNecessaryUsersResponse, error)
	// contains filtered or unexported methods
}

TwoFactorAuthenticationServer is the server API for TwoFactorAuthentication service. All implementations must embed UnimplementedTwoFactorAuthenticationServer for forward compatibility.

type UnimplementedACServer

type UnimplementedACServer struct{}

UnimplementedACServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedACServer) GrantAccess

func (UnimplementedACServer) ListAccess

func (UnimplementedACServer) RevokeAccess

func (UnimplementedACServer) UpdateAccess

type UnimplementedAccessStoreServer

type UnimplementedAccessStoreServer struct{}

UnimplementedAccessStoreServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAccessStoreServer) ListDefaultAccess

func (UnimplementedAccessStoreServer) ListObjectAccess

func (UnimplementedAccessStoreServer) ToggleObjectAccess

type UnimplementedAuthServer

type UnimplementedAuthServer struct{}

UnimplementedAuthServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedAuthServer) Signup

func (UnimplementedAuthServer) UserInfo

type UnimplementedCAServer

type UnimplementedCAServer struct{}

UnimplementedCAServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

type UnimplementedCallManagerServer

type UnimplementedCallManagerServer struct{}

UnimplementedCallManagerServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedCallManagerServer) SearchCalls

type UnimplementedClassesServer

type UnimplementedClassesServer struct{}

UnimplementedClassesServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedClassesServer) ReadClass

func (UnimplementedClassesServer) SearchClasses

func (UnimplementedClassesServer) UpdateClass

type UnimplementedCustomersServer

type UnimplementedCustomersServer struct{}

UnimplementedCustomersServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedCustomersServer) GetCustomer

func (UnimplementedCustomersServer) LicenseUsage

func (UnimplementedCustomersServer) LicenseUsers

func (UnimplementedCustomersServer) ServerInfo

func (UnimplementedCustomersServer) UpdateCustomer

type UnimplementedDevicesServer

type UnimplementedDevicesServer struct{}

UnimplementedDevicesServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedDevicesServer) CreateDevice

func (UnimplementedDevicesServer) DeleteDevice

func (UnimplementedDevicesServer) ReadDevice

func (UnimplementedDevicesServer) SearchDevice

func (UnimplementedDevicesServer) SearchDeviceAudit

func (UnimplementedDevicesServer) UpdateDevice

type UnimplementedDomainsServer

type UnimplementedDomainsServer struct{}

UnimplementedDomainsServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedDomainsServer) CreateDomain

func (UnimplementedDomainsServer) DeleteDomain

func (UnimplementedDomainsServer) ReadDomain

func (UnimplementedDomainsServer) SearchDomains

func (UnimplementedDomainsServer) UpdateDomain

type UnimplementedLDAPServer

type UnimplementedLDAPServer struct{}

UnimplementedLDAPServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedLDAPServer) CreateLDAPCatalog

func (UnimplementedLDAPServer) CreateLDAPTemplate

func (UnimplementedLDAPServer) DeleteLDAPCatalog

func (UnimplementedLDAPServer) DeleteLDAPTemplate

func (UnimplementedLDAPServer) LDAPSearch

func (UnimplementedLDAPServer) LocateLDAPCatalog

func (UnimplementedLDAPServer) LocateLDAPTemplate

func (UnimplementedLDAPServer) LocateLDAProcess

func (UnimplementedLDAPServer) ResyncLDAPCatalog

func (UnimplementedLDAPServer) SearchLDAPCatalog

func (UnimplementedLDAPServer) SearchLDAPTemplate

func (UnimplementedLDAPServer) SearchLDAProcess

func (UnimplementedLDAPServer) UpdateLDAPCatalog

func (UnimplementedLDAPServer) UpdateLDAPTemplate

type UnimplementedOAuth2FederationServer

type UnimplementedOAuth2FederationServer struct{}

UnimplementedOAuth2FederationServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOAuth2FederationServer) CreateOAuthService

func (UnimplementedOAuth2FederationServer) DeleteOAuthService

func (UnimplementedOAuth2FederationServer) LocateOAuthService

func (UnimplementedOAuth2FederationServer) SearchOAuthService

func (UnimplementedOAuth2FederationServer) UpdateOAuthService

type UnimplementedOAuth2Server

type UnimplementedOAuth2Server struct{}

UnimplementedOAuth2Server must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedOAuth2Server) Authorize

func (UnimplementedOAuth2Server) Token

type UnimplementedPermissionsServer

type UnimplementedPermissionsServer struct{}

UnimplementedPermissionsServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPermissionsServer) GetPermissions

type UnimplementedPresenceServer

type UnimplementedPresenceServer struct{}

UnimplementedPresenceServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedPresenceServer) SetStatus

type UnimplementedRolesServer

type UnimplementedRolesServer struct{}

UnimplementedRolesServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedRolesServer) CreateRole

func (UnimplementedRolesServer) DeleteRole

func (UnimplementedRolesServer) GrantRole

func (UnimplementedRolesServer) ReadRole

func (UnimplementedRolesServer) RevokeRole

func (UnimplementedRolesServer) RoleMembers

func (UnimplementedRolesServer) RoleMetadata

func (UnimplementedRolesServer) SearchRecordAvailableRoles

func (UnimplementedRolesServer) SearchRoles

func (UnimplementedRolesServer) UpdateRole

type UnimplementedSAServer

type UnimplementedSAServer struct{}

UnimplementedSAServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedSAServer) CreateSession

func (UnimplementedSAServer) Current

func (UnimplementedSAServer) Login

func (UnimplementedSAServer) Logout

func (UnimplementedSAServer) ReadSession

func (UnimplementedSAServer) SearchSessions

type UnimplementedTwoFactorAuthenticationServer

type UnimplementedTwoFactorAuthenticationServer struct{}

UnimplementedTwoFactorAuthenticationServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedTwoFactorAuthenticationServer) GenerateUserTfaKey

func (UnimplementedTwoFactorAuthenticationServer) GetUserTfaKey

type UnimplementedUserAccessTokensServer

type UnimplementedUserAccessTokensServer struct{}

UnimplementedUserAccessTokensServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUserAccessTokensServer) AddUserAccessToken

func (UnimplementedUserAccessTokensServer) DeleteUserAccessToken

func (UnimplementedUserAccessTokensServer) GetUserAccessToken

func (UnimplementedUserAccessTokensServer) ListUserAccessToken

func (UnimplementedUserAccessTokensServer) UpdateUserAccessToken

type UnimplementedUserSettingsServer

type UnimplementedUserSettingsServer struct{}

UnimplementedUserSettingsServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUserSettingsServer) GetUserSettings

func (UnimplementedUserSettingsServer) SetUserSettings

type UnimplementedUsersServer

type UnimplementedUsersServer struct{}

UnimplementedUsersServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUsersServer) CreateUser

func (UnimplementedUsersServer) DeleteUsers

func (UnimplementedUsersServer) LogoutUser

func (UnimplementedUsersServer) ReadUser

func (UnimplementedUsersServer) SearchUsers

func (UnimplementedUsersServer) UpdateUser

type UnsafeACServer

type UnsafeACServer interface {
	// contains filtered or unexported methods
}

UnsafeACServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ACServer will result in compilation errors.

type UnsafeAccessStoreServer

type UnsafeAccessStoreServer interface {
	// contains filtered or unexported methods
}

UnsafeAccessStoreServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AccessStoreServer will result in compilation errors.

type UnsafeAuthServer

type UnsafeAuthServer interface {
	// contains filtered or unexported methods
}

UnsafeAuthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AuthServer will result in compilation errors.

type UnsafeCAServer

type UnsafeCAServer interface {
	// contains filtered or unexported methods
}

UnsafeCAServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CAServer will result in compilation errors.

type UnsafeCallManagerServer

type UnsafeCallManagerServer interface {
	// contains filtered or unexported methods
}

UnsafeCallManagerServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CallManagerServer will result in compilation errors.

type UnsafeClassesServer

type UnsafeClassesServer interface {
	// contains filtered or unexported methods
}

UnsafeClassesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ClassesServer will result in compilation errors.

type UnsafeCustomersServer

type UnsafeCustomersServer interface {
	// contains filtered or unexported methods
}

UnsafeCustomersServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to CustomersServer will result in compilation errors.

type UnsafeDevicesServer

type UnsafeDevicesServer interface {
	// contains filtered or unexported methods
}

UnsafeDevicesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DevicesServer will result in compilation errors.

type UnsafeDomainsServer

type UnsafeDomainsServer interface {
	// contains filtered or unexported methods
}

UnsafeDomainsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to DomainsServer will result in compilation errors.

type UnsafeLDAPServer

type UnsafeLDAPServer interface {
	// contains filtered or unexported methods
}

UnsafeLDAPServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to LDAPServer will result in compilation errors.

type UnsafeOAuth2FederationServer

type UnsafeOAuth2FederationServer interface {
	// contains filtered or unexported methods
}

UnsafeOAuth2FederationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OAuth2FederationServer will result in compilation errors.

type UnsafeOAuth2Server

type UnsafeOAuth2Server interface {
	// contains filtered or unexported methods
}

UnsafeOAuth2Server may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OAuth2Server will result in compilation errors.

type UnsafePermissionsServer

type UnsafePermissionsServer interface {
	// contains filtered or unexported methods
}

UnsafePermissionsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PermissionsServer will result in compilation errors.

type UnsafePresenceServer

type UnsafePresenceServer interface {
	// contains filtered or unexported methods
}

UnsafePresenceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to PresenceServer will result in compilation errors.

type UnsafeRolesServer

type UnsafeRolesServer interface {
	// contains filtered or unexported methods
}

UnsafeRolesServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to RolesServer will result in compilation errors.

type UnsafeSAServer

type UnsafeSAServer interface {
	// contains filtered or unexported methods
}

UnsafeSAServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to SAServer will result in compilation errors.

type UnsafeTwoFactorAuthenticationServer

type UnsafeTwoFactorAuthenticationServer interface {
	// contains filtered or unexported methods
}

UnsafeTwoFactorAuthenticationServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to TwoFactorAuthenticationServer will result in compilation errors.

type UnsafeUserAccessTokensServer

type UnsafeUserAccessTokensServer interface {
	// contains filtered or unexported methods
}

UnsafeUserAccessTokensServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserAccessTokensServer will result in compilation errors.

type UnsafeUserSettingsServer

type UnsafeUserSettingsServer interface {
	// contains filtered or unexported methods
}

UnsafeUserSettingsServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserSettingsServer will result in compilation errors.

type UnsafeUsersServer

type UnsafeUsersServer interface {
	// contains filtered or unexported methods
}

UnsafeUsersServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UsersServer will result in compilation errors.

type UpdateAccessRequest

type UpdateAccessRequest struct {

	// [scope:system]
	Dc     int64  `protobuf:"varint,1,opt,name=dc,proto3" json:"dc,omitempty"`
	Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"`
	// [_link:baseObject]
	ObjectClass string `protobuf:"bytes,3,opt,name=object_class,json=objectClass,proto3" json:"object_class,omitempty"`
	ObjectId    int64  `protobuf:"varint,4,opt,name=object_id,json=objectId,proto3" json:"object_id,omitempty"`
	// [rbody:listAccess]
	// [MODE]: toggle|allOrNothing
	Changes []*UpdateAccessRequest_Changes `protobuf:"bytes,5,rep,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAccessRequest) Descriptor deprecated

func (*UpdateAccessRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAccessRequest.ProtoReflect.Descriptor instead.

func (*UpdateAccessRequest) GetChanges

func (*UpdateAccessRequest) GetDc

func (x *UpdateAccessRequest) GetDc() int64

func (*UpdateAccessRequest) GetDomain

func (x *UpdateAccessRequest) GetDomain() string

func (*UpdateAccessRequest) GetObjectClass

func (x *UpdateAccessRequest) GetObjectClass() string

func (*UpdateAccessRequest) GetObjectId

func (x *UpdateAccessRequest) GetObjectId() int64

func (*UpdateAccessRequest) ProtoMessage

func (*UpdateAccessRequest) ProtoMessage()

func (*UpdateAccessRequest) ProtoReflect

func (x *UpdateAccessRequest) ProtoReflect() protoreflect.Message

func (*UpdateAccessRequest) Reset

func (x *UpdateAccessRequest) Reset()

func (*UpdateAccessRequest) String

func (x *UpdateAccessRequest) String() string

type UpdateAccessRequestV1

type UpdateAccessRequestV1 struct {

	//	message Changes {
	//	    // subject (role::object).id
	//	    int64 grantee_id = 1; // sub
	//	    // [ObAC]: "crud" all object class privileges
	//	    // [RbAC]: "r*u*d*" all object privileges with grant options
	//	    // [NOTE]: empty access string denote "delete" operation (REVOKE)
	//	    //         others - "add" or "replace" (GRANT)
	//	    string access = 2;
	//	}
	//
	// // // [scope:system]
	// // int64  dc = 1;
	// // string domain = 2;
	// // // [_link:baseObject]
	// // string object_class = 3;
	// // int64  object_id = 4;
	Object *ObjectId               `protobuf:"bytes,2,opt,name=object,proto3" json:"object,omitempty"` // bool toggle = 1; // [optional]: toggle each
	List   []*GrantAccessRequestV1 `protobuf:"bytes,5,rep,name=list,proto3" json:"list,omitempty"`
	// contains filtered or unexported fields
}

PATCH /{:obj.path=(?:devices|users|roles|objclass|etc...)}/{:obj.id=\d+}/acl

{
    obj: {
        path: "devices", // object ident
        id:   "17",
    },
    changes: [
        {
            grantee_id: $(role.id), // subject ident
            access: "xrwd"          // toogle provided
        },
        {
            grantee_id: $(role.id),
            access: "xrwd" // toogle provided
        }
    ]
}

func (*UpdateAccessRequestV1) Descriptor deprecated

func (*UpdateAccessRequestV1) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAccessRequestV1.ProtoReflect.Descriptor instead.

func (*UpdateAccessRequestV1) GetList

func (*UpdateAccessRequestV1) GetObject

func (x *UpdateAccessRequestV1) GetObject() *ObjectId

func (*UpdateAccessRequestV1) ProtoMessage

func (*UpdateAccessRequestV1) ProtoMessage()

func (*UpdateAccessRequestV1) ProtoReflect

func (x *UpdateAccessRequestV1) ProtoReflect() protoreflect.Message

func (*UpdateAccessRequestV1) Reset

func (x *UpdateAccessRequestV1) Reset()

func (*UpdateAccessRequestV1) String

func (x *UpdateAccessRequestV1) String() string

type UpdateAccessRequest_Changes

type UpdateAccessRequest_Changes struct {

	// subject (role::object).id
	GranteeId int64 `protobuf:"varint,1,opt,name=grantee_id,json=granteeId,proto3" json:"grantee_id,omitempty"`
	// [ObAC]: "crud" all object class privileges
	// [RbAC]: "r*u*d*" all object privileges with grant options
	// [NOTE]: empty access string denote "delete" operation (REVOKE)
	//
	//	others - "add" or "replace" (GRANT)
	Access string `protobuf:"bytes,2,opt,name=access,proto3" json:"access,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAccessRequest_Changes) Descriptor deprecated

func (*UpdateAccessRequest_Changes) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAccessRequest_Changes.ProtoReflect.Descriptor instead.

func (*UpdateAccessRequest_Changes) GetAccess

func (x *UpdateAccessRequest_Changes) GetAccess() string

func (*UpdateAccessRequest_Changes) GetGranteeId

func (x *UpdateAccessRequest_Changes) GetGranteeId() int64

func (*UpdateAccessRequest_Changes) ProtoMessage

func (*UpdateAccessRequest_Changes) ProtoMessage()

func (*UpdateAccessRequest_Changes) ProtoReflect

func (*UpdateAccessRequest_Changes) Reset

func (x *UpdateAccessRequest_Changes) Reset()

func (*UpdateAccessRequest_Changes) String

func (x *UpdateAccessRequest_Changes) String() string

type UpdateAccessResponse

type UpdateAccessResponse struct {

	// Affected rules count
	Granted int64 `protobuf:"varint,1,opt,name=granted,proto3" json:"granted,omitempty"`
	Revoked int64 `protobuf:"varint,2,opt,name=revoked,proto3" json:"revoked,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAccessResponse) Descriptor deprecated

func (*UpdateAccessResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAccessResponse.ProtoReflect.Descriptor instead.

func (*UpdateAccessResponse) GetGranted

func (x *UpdateAccessResponse) GetGranted() int64

func (*UpdateAccessResponse) GetRevoked

func (x *UpdateAccessResponse) GetRevoked() int64

func (*UpdateAccessResponse) ProtoMessage

func (*UpdateAccessResponse) ProtoMessage()

func (*UpdateAccessResponse) ProtoReflect

func (x *UpdateAccessResponse) ProtoReflect() protoreflect.Message

func (*UpdateAccessResponse) Reset

func (x *UpdateAccessResponse) Reset()

func (*UpdateAccessResponse) String

func (x *UpdateAccessResponse) String() string

type UpdateAccessResponseV1

type UpdateAccessResponseV1 struct {

	// Affected rules count
	Granted int64 `protobuf:"varint,1,opt,name=granted,proto3" json:"granted,omitempty"`
	Revoked int64 `protobuf:"varint,2,opt,name=revoked,proto3" json:"revoked,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateAccessResponseV1) Descriptor deprecated

func (*UpdateAccessResponseV1) Descriptor() ([]byte, []int)

Deprecated: Use UpdateAccessResponseV1.ProtoReflect.Descriptor instead.

func (*UpdateAccessResponseV1) GetGranted

func (x *UpdateAccessResponseV1) GetGranted() int64

func (*UpdateAccessResponseV1) GetRevoked

func (x *UpdateAccessResponseV1) GetRevoked() int64

func (*UpdateAccessResponseV1) ProtoMessage

func (*UpdateAccessResponseV1) ProtoMessage()

func (*UpdateAccessResponseV1) ProtoReflect

func (x *UpdateAccessResponseV1) ProtoReflect() protoreflect.Message

func (*UpdateAccessResponseV1) Reset

func (x *UpdateAccessResponseV1) Reset()

func (*UpdateAccessResponseV1) String

func (x *UpdateAccessResponseV1) String() string

type UpdateCertificateRequest

type UpdateCertificateRequest struct {
	Certificate []byte `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // raw bytes
	// contains filtered or unexported fields
}

PUT /certificate

func (*UpdateCertificateRequest) Descriptor deprecated

func (*UpdateCertificateRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCertificateRequest.ProtoReflect.Descriptor instead.

func (*UpdateCertificateRequest) GetCertificate

func (x *UpdateCertificateRequest) GetCertificate() []byte

func (*UpdateCertificateRequest) ProtoMessage

func (*UpdateCertificateRequest) ProtoMessage()

func (*UpdateCertificateRequest) ProtoReflect

func (x *UpdateCertificateRequest) ProtoReflect() protoreflect.Message

func (*UpdateCertificateRequest) Reset

func (x *UpdateCertificateRequest) Reset()

func (*UpdateCertificateRequest) String

func (x *UpdateCertificateRequest) String() string

type UpdateCertificateResponse

type UpdateCertificateResponse struct {
	Certificate *Certificate `protobuf:"bytes,1,opt,name=certificate,proto3" json:"certificate,omitempty"` // detailed
	// contains filtered or unexported fields
}

func (*UpdateCertificateResponse) Descriptor deprecated

func (*UpdateCertificateResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCertificateResponse.ProtoReflect.Descriptor instead.

func (*UpdateCertificateResponse) GetCertificate

func (x *UpdateCertificateResponse) GetCertificate() *Certificate

func (*UpdateCertificateResponse) ProtoMessage

func (*UpdateCertificateResponse) ProtoMessage()

func (*UpdateCertificateResponse) ProtoReflect

func (*UpdateCertificateResponse) Reset

func (x *UpdateCertificateResponse) Reset()

func (*UpdateCertificateResponse) String

func (x *UpdateCertificateResponse) String() string

type UpdateClassRequest

type UpdateClassRequest struct {
	Domain string       `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"` // TO BE REMOVED // bound to session.domain.id
	Class  *ObjectClass `protobuf:"bytes,2,opt,name=class,proto3" json:"class,omitempty"`
	Fields []string     `protobuf:"bytes,3,rep,name=fields,proto3" json:"fields,omitempty"` // PATCH: partial update
	// contains filtered or unexported fields
}

func (*UpdateClassRequest) Descriptor deprecated

func (*UpdateClassRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateClassRequest.ProtoReflect.Descriptor instead.

func (*UpdateClassRequest) GetClass

func (x *UpdateClassRequest) GetClass() *ObjectClass

func (*UpdateClassRequest) GetDomain

func (x *UpdateClassRequest) GetDomain() string

func (*UpdateClassRequest) GetFields

func (x *UpdateClassRequest) GetFields() []string

func (*UpdateClassRequest) ProtoMessage

func (*UpdateClassRequest) ProtoMessage()

func (*UpdateClassRequest) ProtoReflect

func (x *UpdateClassRequest) ProtoReflect() protoreflect.Message

func (*UpdateClassRequest) Reset

func (x *UpdateClassRequest) Reset()

func (*UpdateClassRequest) String

func (x *UpdateClassRequest) String() string

type UpdateClassResponse

type UpdateClassResponse struct {
	Class *ObjectClass `protobuf:"bytes,1,opt,name=class,proto3" json:"class,omitempty"` // updated
	// contains filtered or unexported fields
}

func (*UpdateClassResponse) Descriptor deprecated

func (*UpdateClassResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateClassResponse.ProtoReflect.Descriptor instead.

func (*UpdateClassResponse) GetClass

func (x *UpdateClassResponse) GetClass() *ObjectClass

func (*UpdateClassResponse) ProtoMessage

func (*UpdateClassResponse) ProtoMessage()

func (*UpdateClassResponse) ProtoReflect

func (x *UpdateClassResponse) ProtoReflect() protoreflect.Message

func (*UpdateClassResponse) Reset

func (x *UpdateClassResponse) Reset()

func (*UpdateClassResponse) String

func (x *UpdateClassResponse) String() string

type UpdateCustomerRequest

type UpdateCustomerRequest struct {
	Organization string `protobuf:"bytes,1,opt,name=organization,proto3" json:"organization,omitempty"`                  // [optional] e.g.: Example Org.
	LogoPicture  []byte `protobuf:"bytes,2,opt,name=logo_picture,json=logoPicture,proto3" json:"logo_picture,omitempty"` // [optional] logo source image
	Certificate  []byte `protobuf:"bytes,3,opt,name=certificate,proto3" json:"certificate,omitempty"`                    // [optional] raw bytes protobuf::base64.RawStdEncoding != certificate::base64.StdEncoding
	Revoke       bool   `protobuf:"varint,4,opt,name=revoke,proto3" json:"revoke,omitempty"`
	// contains filtered or unexported fields
}

PUT /customer

func (*UpdateCustomerRequest) Descriptor deprecated

func (*UpdateCustomerRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCustomerRequest.ProtoReflect.Descriptor instead.

func (*UpdateCustomerRequest) GetCertificate

func (x *UpdateCustomerRequest) GetCertificate() []byte

func (*UpdateCustomerRequest) GetLogoPicture

func (x *UpdateCustomerRequest) GetLogoPicture() []byte

func (*UpdateCustomerRequest) GetOrganization

func (x *UpdateCustomerRequest) GetOrganization() string

func (*UpdateCustomerRequest) GetRevoke

func (x *UpdateCustomerRequest) GetRevoke() bool

func (*UpdateCustomerRequest) ProtoMessage

func (*UpdateCustomerRequest) ProtoMessage()

func (*UpdateCustomerRequest) ProtoReflect

func (x *UpdateCustomerRequest) ProtoReflect() protoreflect.Message

func (*UpdateCustomerRequest) Reset

func (x *UpdateCustomerRequest) Reset()

func (*UpdateCustomerRequest) String

func (x *UpdateCustomerRequest) String() string

type UpdateCustomerResponse

type UpdateCustomerResponse struct {
	Customer *Customer `protobuf:"bytes,1,opt,name=customer,proto3" json:"customer,omitempty"` // detailed
	// contains filtered or unexported fields
}

func (*UpdateCustomerResponse) Descriptor deprecated

func (*UpdateCustomerResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateCustomerResponse.ProtoReflect.Descriptor instead.

func (*UpdateCustomerResponse) GetCustomer

func (x *UpdateCustomerResponse) GetCustomer() *Customer

func (*UpdateCustomerResponse) ProtoMessage

func (*UpdateCustomerResponse) ProtoMessage()

func (*UpdateCustomerResponse) ProtoReflect

func (x *UpdateCustomerResponse) ProtoReflect() protoreflect.Message

func (*UpdateCustomerResponse) Reset

func (x *UpdateCustomerResponse) Reset()

func (*UpdateCustomerResponse) String

func (x *UpdateCustomerResponse) String() string

type UpdateDeviceRequest

type UpdateDeviceRequest struct {
	Device *Device  `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // PATCH: partial update
	// contains filtered or unexported fields
}

PUT /devices/{id}

func (*UpdateDeviceRequest) Descriptor deprecated

func (*UpdateDeviceRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateDeviceRequest.ProtoReflect.Descriptor instead.

func (*UpdateDeviceRequest) GetDevice

func (x *UpdateDeviceRequest) GetDevice() *Device

func (*UpdateDeviceRequest) GetFields

func (x *UpdateDeviceRequest) GetFields() []string

func (*UpdateDeviceRequest) ProtoMessage

func (*UpdateDeviceRequest) ProtoMessage()

func (*UpdateDeviceRequest) ProtoReflect

func (x *UpdateDeviceRequest) ProtoReflect() protoreflect.Message

func (*UpdateDeviceRequest) Reset

func (x *UpdateDeviceRequest) Reset()

func (*UpdateDeviceRequest) String

func (x *UpdateDeviceRequest) String() string

type UpdateDeviceResponse

type UpdateDeviceResponse struct {
	Device *Device `protobuf:"bytes,1,opt,name=device,proto3" json:"device,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDeviceResponse) Descriptor deprecated

func (*UpdateDeviceResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateDeviceResponse.ProtoReflect.Descriptor instead.

func (*UpdateDeviceResponse) GetDevice

func (x *UpdateDeviceResponse) GetDevice() *Device

func (*UpdateDeviceResponse) ProtoMessage

func (*UpdateDeviceResponse) ProtoMessage()

func (*UpdateDeviceResponse) ProtoReflect

func (x *UpdateDeviceResponse) ProtoReflect() protoreflect.Message

func (*UpdateDeviceResponse) Reset

func (x *UpdateDeviceResponse) Reset()

func (*UpdateDeviceResponse) String

func (x *UpdateDeviceResponse) String() string

type UpdateDomainRequest

type UpdateDomainRequest struct {
	Domain *Organization `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

PUT /domain/{domain.dc}

func (*UpdateDomainRequest) Descriptor deprecated

func (*UpdateDomainRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateDomainRequest.ProtoReflect.Descriptor instead.

func (*UpdateDomainRequest) GetDomain

func (x *UpdateDomainRequest) GetDomain() *Organization

func (*UpdateDomainRequest) ProtoMessage

func (*UpdateDomainRequest) ProtoMessage()

func (*UpdateDomainRequest) ProtoReflect

func (x *UpdateDomainRequest) ProtoReflect() protoreflect.Message

func (*UpdateDomainRequest) Reset

func (x *UpdateDomainRequest) Reset()

func (*UpdateDomainRequest) String

func (x *UpdateDomainRequest) String() string

type UpdateDomainResponse

type UpdateDomainResponse struct {
	Domain *Organization `protobuf:"bytes,1,opt,name=domain,proto3" json:"domain,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateDomainResponse) Descriptor deprecated

func (*UpdateDomainResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateDomainResponse.ProtoReflect.Descriptor instead.

func (*UpdateDomainResponse) GetDomain

func (x *UpdateDomainResponse) GetDomain() *Organization

func (*UpdateDomainResponse) ProtoMessage

func (*UpdateDomainResponse) ProtoMessage()

func (*UpdateDomainResponse) ProtoReflect

func (x *UpdateDomainResponse) ProtoReflect() protoreflect.Message

func (*UpdateDomainResponse) Reset

func (x *UpdateDomainResponse) Reset()

func (*UpdateDomainResponse) String

func (x *UpdateDomainResponse) String() string

type UpdateLDAPRequest

type UpdateLDAPRequest struct {

	// Fields for partial update. PATCH
	Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
	// LDAP Catalog changes.
	Catalog *LDAPCatalog `protobuf:"bytes,2,opt,name=catalog,proto3" json:"catalog,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateLDAPRequest) Descriptor deprecated

func (*UpdateLDAPRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateLDAPRequest.ProtoReflect.Descriptor instead.

func (*UpdateLDAPRequest) GetCatalog

func (x *UpdateLDAPRequest) GetCatalog() *LDAPCatalog

func (*UpdateLDAPRequest) GetFields

func (x *UpdateLDAPRequest) GetFields() []string

func (*UpdateLDAPRequest) ProtoMessage

func (*UpdateLDAPRequest) ProtoMessage()

func (*UpdateLDAPRequest) ProtoReflect

func (x *UpdateLDAPRequest) ProtoReflect() protoreflect.Message

func (*UpdateLDAPRequest) Reset

func (x *UpdateLDAPRequest) Reset()

func (*UpdateLDAPRequest) String

func (x *UpdateLDAPRequest) String() string

type UpdateLDAPTemplateRequest

type UpdateLDAPTemplateRequest struct {

	// OPTIONAL. Fields for partial update. PATCH
	Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
	// Template changes.
	Template *LDAPTemplate `protobuf:"bytes,2,opt,name=template,proto3" json:"template,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateLDAPTemplateRequest) Descriptor deprecated

func (*UpdateLDAPTemplateRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateLDAPTemplateRequest.ProtoReflect.Descriptor instead.

func (*UpdateLDAPTemplateRequest) GetFields

func (x *UpdateLDAPTemplateRequest) GetFields() []string

func (*UpdateLDAPTemplateRequest) GetTemplate

func (x *UpdateLDAPTemplateRequest) GetTemplate() *LDAPTemplate

func (*UpdateLDAPTemplateRequest) ProtoMessage

func (*UpdateLDAPTemplateRequest) ProtoMessage()

func (*UpdateLDAPTemplateRequest) ProtoReflect

func (*UpdateLDAPTemplateRequest) Reset

func (x *UpdateLDAPTemplateRequest) Reset()

func (*UpdateLDAPTemplateRequest) String

func (x *UpdateLDAPTemplateRequest) String() string

type UpdateOAuthServiceRequest

type UpdateOAuthServiceRequest struct {

	// Fields for partial update. PATCH
	Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
	// Configuration changes.
	Changes *OAuthService `protobuf:"bytes,2,opt,name=changes,proto3" json:"changes,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateOAuthServiceRequest) Descriptor deprecated

func (*UpdateOAuthServiceRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateOAuthServiceRequest.ProtoReflect.Descriptor instead.

func (*UpdateOAuthServiceRequest) GetChanges

func (x *UpdateOAuthServiceRequest) GetChanges() *OAuthService

func (*UpdateOAuthServiceRequest) GetFields

func (x *UpdateOAuthServiceRequest) GetFields() []string

func (*UpdateOAuthServiceRequest) ProtoMessage

func (*UpdateOAuthServiceRequest) ProtoMessage()

func (*UpdateOAuthServiceRequest) ProtoReflect

func (*UpdateOAuthServiceRequest) Reset

func (x *UpdateOAuthServiceRequest) Reset()

func (*UpdateOAuthServiceRequest) String

func (x *UpdateOAuthServiceRequest) String() string

type UpdatePasswordRequest

type UpdatePasswordRequest struct {
	Id              int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	OldPassword     string `protobuf:"bytes,2,opt,name=old_password,json=oldPassword,proto3" json:"old_password,omitempty"`             // OLD
	UserPassword    string `protobuf:"bytes,3,opt,name=user_password,json=userPassword,proto3" json:"user_password,omitempty"`          // NEW
	ConfirmPassword string `protobuf:"bytes,4,opt,name=confirm_password,json=confirmPassword,proto3" json:"confirm_password,omitempty"` // CONFIRM
	// contains filtered or unexported fields
}

func (*UpdatePasswordRequest) Descriptor deprecated

func (*UpdatePasswordRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePasswordRequest.ProtoReflect.Descriptor instead.

func (*UpdatePasswordRequest) GetConfirmPassword

func (x *UpdatePasswordRequest) GetConfirmPassword() string

func (*UpdatePasswordRequest) GetId

func (x *UpdatePasswordRequest) GetId() int64

func (*UpdatePasswordRequest) GetOldPassword

func (x *UpdatePasswordRequest) GetOldPassword() string

func (*UpdatePasswordRequest) GetUserPassword

func (x *UpdatePasswordRequest) GetUserPassword() string

func (*UpdatePasswordRequest) ProtoMessage

func (*UpdatePasswordRequest) ProtoMessage()

func (*UpdatePasswordRequest) ProtoReflect

func (x *UpdatePasswordRequest) ProtoReflect() protoreflect.Message

func (*UpdatePasswordRequest) Reset

func (x *UpdatePasswordRequest) Reset()

func (*UpdatePasswordRequest) String

func (x *UpdatePasswordRequest) String() string

type UpdatePasswordResponse

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

func (*UpdatePasswordResponse) Descriptor deprecated

func (*UpdatePasswordResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdatePasswordResponse.ProtoReflect.Descriptor instead.

func (*UpdatePasswordResponse) ProtoMessage

func (*UpdatePasswordResponse) ProtoMessage()

func (*UpdatePasswordResponse) ProtoReflect

func (x *UpdatePasswordResponse) ProtoReflect() protoreflect.Message

func (*UpdatePasswordResponse) Reset

func (x *UpdatePasswordResponse) Reset()

func (*UpdatePasswordResponse) String

func (x *UpdatePasswordResponse) String() string

type UpdateRoleRequest

type UpdateRoleRequest struct {

	// modifications
	Role *Role `protobuf:"bytes,1,opt,name=role,proto3" json:"role,omitempty"`
	// partial changes
	Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoleRequest) Descriptor deprecated

func (*UpdateRoleRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRoleRequest.ProtoReflect.Descriptor instead.

func (*UpdateRoleRequest) GetFields

func (x *UpdateRoleRequest) GetFields() []string

func (*UpdateRoleRequest) GetRole

func (x *UpdateRoleRequest) GetRole() *Role

func (*UpdateRoleRequest) ProtoMessage

func (*UpdateRoleRequest) ProtoMessage()

func (*UpdateRoleRequest) ProtoReflect

func (x *UpdateRoleRequest) ProtoReflect() protoreflect.Message

func (*UpdateRoleRequest) Reset

func (x *UpdateRoleRequest) Reset()

func (*UpdateRoleRequest) String

func (x *UpdateRoleRequest) String() string

type UpdateRoleResponse

type UpdateRoleResponse struct {
	Updated *Role `protobuf:"bytes,1,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateRoleResponse) Descriptor deprecated

func (*UpdateRoleResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateRoleResponse.ProtoReflect.Descriptor instead.

func (*UpdateRoleResponse) GetUpdated

func (x *UpdateRoleResponse) GetUpdated() *Role

func (*UpdateRoleResponse) ProtoMessage

func (*UpdateRoleResponse) ProtoMessage()

func (*UpdateRoleResponse) ProtoReflect

func (x *UpdateRoleResponse) ProtoReflect() protoreflect.Message

func (*UpdateRoleResponse) Reset

func (x *UpdateRoleResponse) Reset()

func (*UpdateRoleResponse) String

func (x *UpdateRoleResponse) String() string

type UpdateUserAccessTokenRequest

type UpdateUserAccessTokenRequest struct {
	Update *UserAccessToken `protobuf:"bytes,1,opt,name=update,proto3" json:"update,omitempty"` // [required] identification + modifications(about)
	Fields []string         `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // [optional] PATCH implementation
	Enable bool             `protobuf:"varint,3,opt,name=enable,proto3" json:"enable,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserAccessTokenRequest) Descriptor deprecated

func (*UpdateUserAccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserAccessTokenRequest) GetEnable

func (x *UpdateUserAccessTokenRequest) GetEnable() bool

func (*UpdateUserAccessTokenRequest) GetFields

func (x *UpdateUserAccessTokenRequest) GetFields() []string

func (*UpdateUserAccessTokenRequest) GetUpdate

func (*UpdateUserAccessTokenRequest) ProtoMessage

func (*UpdateUserAccessTokenRequest) ProtoMessage()

func (*UpdateUserAccessTokenRequest) ProtoReflect

func (*UpdateUserAccessTokenRequest) Reset

func (x *UpdateUserAccessTokenRequest) Reset()

func (*UpdateUserAccessTokenRequest) String

type UpdateUserRequest

type UpdateUserRequest struct {
	User   *User    `protobuf:"bytes,1,opt,name=user,proto3" json:"user,omitempty"`     // body: modifications/changes
	Fields []string `protobuf:"bytes,2,rep,name=fields,proto3" json:"fields,omitempty"` // PATCH: partial update
	// contains filtered or unexported fields
}

func (*UpdateUserRequest) Descriptor deprecated

func (*UpdateUserRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserRequest.ProtoReflect.Descriptor instead.

func (*UpdateUserRequest) GetFields

func (x *UpdateUserRequest) GetFields() []string

func (*UpdateUserRequest) GetUser

func (x *UpdateUserRequest) GetUser() *User

func (*UpdateUserRequest) ProtoMessage

func (*UpdateUserRequest) ProtoMessage()

func (*UpdateUserRequest) ProtoReflect

func (x *UpdateUserRequest) ProtoReflect() protoreflect.Message

func (*UpdateUserRequest) Reset

func (x *UpdateUserRequest) Reset()

func (*UpdateUserRequest) String

func (x *UpdateUserRequest) String() string

type UpdateUserResponse

type UpdateUserResponse struct {
	Updated *User `protobuf:"bytes,1,opt,name=updated,proto3" json:"updated,omitempty"`
	// contains filtered or unexported fields
}

func (*UpdateUserResponse) Descriptor deprecated

func (*UpdateUserResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateUserResponse.ProtoReflect.Descriptor instead.

func (*UpdateUserResponse) GetUpdated

func (x *UpdateUserResponse) GetUpdated() *User

func (*UpdateUserResponse) ProtoMessage

func (*UpdateUserResponse) ProtoMessage()

func (*UpdateUserResponse) ProtoReflect

func (x *UpdateUserResponse) ProtoReflect() protoreflect.Message

func (*UpdateUserResponse) Reset

func (x *UpdateUserResponse) Reset()

func (*UpdateUserResponse) String

func (x *UpdateUserResponse) String() string

type User

type User struct {
	Id        int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`    // Object ID
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Caller-ID-Name: Display Name
	Email     string `protobuf:"bytes,3,opt,name=email,proto3" json:"email,omitempty"`
	Username  string `protobuf:"bytes,4,opt,name=username,proto3" json:"username,omitempty"` // alphanumeric username (login)
	Password  string `protobuf:"bytes,5,opt,name=password,proto3" json:"password,omitempty"`
	Extension string `protobuf:"bytes,6,opt,name=extension,proto3" json:"extension,omitempty"` // Caller-ID-Number:
	// CallerId caller = 5; // extension
	// PresenceStatus presence = 8;
	Presence *UserPresence `protobuf:"bytes,8,opt,name=presence,proto3" json:"presence,omitempty"`
	Device   *ObjectId     `protobuf:"bytes,10,opt,name=device,proto3" json:"device,omitempty"` // [optional] default device assigned ? WebRTC register ?
	// map<int64, string> devices = 13;
	Devices  []*ObjectId       `protobuf:"bytes,11,rep,name=devices,proto3" json:"devices,omitempty"`   // [editable] list of unique `regular` devices, attached to this user
	Hotdesks []*ObjectId       `protobuf:"bytes,12,rep,name=hotdesks,proto3" json:"hotdesks,omitempty"` // [readonly] list of unique `hotdesk` devices, assigned to this user
	Profile  map[string]string ``                                                                       // list of variables, assigned to this user as an environment unit
	/* 142-byte string literal not displayed */
	Permissions []*Permission  `protobuf:"bytes,14,rep,name=permissions,proto3" json:"permissions,omitempty"`        // set of operational permission grants
	License     []*LicenseUser `protobuf:"bytes,15,rep,name=license,proto3" json:"license,omitempty"`                // list of unique licenses, granted to this user
	Roles       []*ObjectId    `protobuf:"bytes,16,rep,name=roles,proto3" json:"roles,omitempty"`                    // roles, member of which is this user
	TotpUrl     string         `protobuf:"bytes,17,opt,name=totp_url,json=totpUrl,proto3" json:"totp_url,omitempty"` // [readonly][optional] one time password if setting (2fa) is enabled
	// repeated Call calls = 13; // order by created_at
	// repeated Registration reged = 13; // order by register_last
	Contact   *ObjectId `protobuf:"bytes,18,opt,name=contact,proto3" json:"contact,omitempty"`                       // [optional] contact connected to this user
	CreatedAt int64     `protobuf:"varint,20,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // unix
	CreatedBy *UserId   `protobuf:"bytes,21,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`  // user
	UpdatedAt int64     `protobuf:"varint,22,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // unix
	UpdatedBy *UserId   `protobuf:"bytes,23,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`  // user
	DeletedAt int64     `protobuf:"varint,24,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // unix
	DeletedBy *UserId   `protobuf:"bytes,25,opt,name=deleted_by,json=deletedBy,proto3" json:"deleted_by,omitempty"`  // user
	// The "chat_name" field is used to store the name displayed externally on the platform.
	// For example, "chat_name" is shown when an agent connects to chats with clients.
	ChatName string `protobuf:"bytes,26,opt,name=chat_name,json=chatName,proto3" json:"chat_name,omitempty"`
	// contains filtered or unexported fields
}

User profile.

func (*User) Descriptor deprecated

func (*User) Descriptor() ([]byte, []int)

Deprecated: Use User.ProtoReflect.Descriptor instead.

func (*User) GetChatName

func (x *User) GetChatName() string

func (*User) GetContact

func (x *User) GetContact() *ObjectId

func (*User) GetCreatedAt

func (x *User) GetCreatedAt() int64

func (*User) GetCreatedBy

func (x *User) GetCreatedBy() *UserId

func (*User) GetDeletedAt

func (x *User) GetDeletedAt() int64

func (*User) GetDeletedBy

func (x *User) GetDeletedBy() *UserId

func (*User) GetDevice

func (x *User) GetDevice() *ObjectId

func (*User) GetDevices

func (x *User) GetDevices() []*ObjectId

func (*User) GetEmail

func (x *User) GetEmail() string

func (*User) GetExtension

func (x *User) GetExtension() string

func (*User) GetHotdesks

func (x *User) GetHotdesks() []*ObjectId

func (*User) GetId

func (x *User) GetId() int64

func (*User) GetLicense

func (x *User) GetLicense() []*LicenseUser

func (*User) GetName

func (x *User) GetName() string

func (*User) GetPassword

func (x *User) GetPassword() string

func (*User) GetPermissions

func (x *User) GetPermissions() []*Permission

func (*User) GetPresence

func (x *User) GetPresence() *UserPresence

func (*User) GetProfile

func (x *User) GetProfile() map[string]string

func (*User) GetRoles

func (x *User) GetRoles() []*ObjectId

func (*User) GetTotpUrl

func (x *User) GetTotpUrl() string

func (*User) GetUpdatedAt

func (x *User) GetUpdatedAt() int64

func (*User) GetUpdatedBy

func (x *User) GetUpdatedBy() *UserId

func (*User) GetUsername

func (x *User) GetUsername() string

func (*User) ProtoMessage

func (*User) ProtoMessage()

func (*User) ProtoReflect

func (x *User) ProtoReflect() protoreflect.Message

func (*User) Reset

func (x *User) Reset()

func (*User) String

func (x *User) String() string

type UserAccessToken

type UserAccessToken struct {
	Id        string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`                                 // tokenKey::token_key
	Token     string    `protobuf:"bytes,2,opt,name=token,proto3" json:"token,omitempty"`                           // tokenString::access_token
	Usage     string    `protobuf:"bytes,3,opt,name=usage,proto3" json:"usage,omitempty"`                           // [optional] short usage description
	User      *ObjectId `protobuf:"bytes,4,opt,name=user,proto3" json:"user,omitempty"`                             // [optional] output depends on API endpoint
	CreatedAt int64     `protobuf:"varint,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // unix::ms
	CreatedBy *ObjectId `protobuf:"bytes,6,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	UpdatedAt int64     `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // unix::ms
	UpdatedBy *ObjectId `protobuf:"bytes,8,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
	DeletedAt int64     `protobuf:"varint,9,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // [optional] disabled at
	DeletedBy *ObjectId `protobuf:"bytes,10,opt,name=deleted_by,json=deletedBy,proto3" json:"deleted_by,omitempty"` // [optional] disabled by
	// contains filtered or unexported fields
}

UserId lookup value.

func (*UserAccessToken) Descriptor deprecated

func (*UserAccessToken) Descriptor() ([]byte, []int)

Deprecated: Use UserAccessToken.ProtoReflect.Descriptor instead.

func (*UserAccessToken) GetCreatedAt

func (x *UserAccessToken) GetCreatedAt() int64

func (*UserAccessToken) GetCreatedBy

func (x *UserAccessToken) GetCreatedBy() *ObjectId

func (*UserAccessToken) GetDeletedAt

func (x *UserAccessToken) GetDeletedAt() int64

func (*UserAccessToken) GetDeletedBy

func (x *UserAccessToken) GetDeletedBy() *ObjectId

func (*UserAccessToken) GetId

func (x *UserAccessToken) GetId() string

func (*UserAccessToken) GetToken

func (x *UserAccessToken) GetToken() string

func (*UserAccessToken) GetUpdatedAt

func (x *UserAccessToken) GetUpdatedAt() int64

func (*UserAccessToken) GetUpdatedBy

func (x *UserAccessToken) GetUpdatedBy() *ObjectId

func (*UserAccessToken) GetUsage

func (x *UserAccessToken) GetUsage() string

func (*UserAccessToken) GetUser

func (x *UserAccessToken) GetUser() *ObjectId

func (*UserAccessToken) ProtoMessage

func (*UserAccessToken) ProtoMessage()

func (*UserAccessToken) ProtoReflect

func (x *UserAccessToken) ProtoReflect() protoreflect.Message

func (*UserAccessToken) Reset

func (x *UserAccessToken) Reset()

func (*UserAccessToken) String

func (x *UserAccessToken) String() string

type UserAccessTokenList

type UserAccessTokenList struct {
	Page  int32              `protobuf:"varint,2,opt,name=page,proto3" json:"page,omitempty"`
	Size  int64              `protobuf:"varint,3,opt,name=size,proto3" json:"size,omitempty"`
	Next  bool               `protobuf:"varint,4,opt,name=next,proto3" json:"next,omitempty"` // is there more results ? next page is available ?
	Items []*UserAccessToken `protobuf:"bytes,1,rep,name=items,proto3" json:"items,omitempty"`
	// contains filtered or unexported fields
}

func (*UserAccessTokenList) Descriptor deprecated

func (*UserAccessTokenList) Descriptor() ([]byte, []int)

Deprecated: Use UserAccessTokenList.ProtoReflect.Descriptor instead.

func (*UserAccessTokenList) GetItems

func (x *UserAccessTokenList) GetItems() []*UserAccessToken

func (*UserAccessTokenList) GetNext

func (x *UserAccessTokenList) GetNext() bool

func (*UserAccessTokenList) GetPage

func (x *UserAccessTokenList) GetPage() int32

func (*UserAccessTokenList) GetSize

func (x *UserAccessTokenList) GetSize() int64

func (*UserAccessTokenList) ProtoMessage

func (*UserAccessTokenList) ProtoMessage()

func (*UserAccessTokenList) ProtoReflect

func (x *UserAccessTokenList) ProtoReflect() protoreflect.Message

func (*UserAccessTokenList) Reset

func (x *UserAccessTokenList) Reset()

func (*UserAccessTokenList) String

func (x *UserAccessTokenList) String() string

type UserAccessTokenRequest

type UserAccessTokenRequest struct {
	Id   string    `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`     // tokenKey::uuid
	User *ObjectId `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"` // [filter] additional
	// contains filtered or unexported fields
}

func (*UserAccessTokenRequest) Descriptor deprecated

func (*UserAccessTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserAccessTokenRequest.ProtoReflect.Descriptor instead.

func (*UserAccessTokenRequest) GetId

func (x *UserAccessTokenRequest) GetId() string

func (*UserAccessTokenRequest) GetUser

func (x *UserAccessTokenRequest) GetUser() *ObjectId

func (*UserAccessTokenRequest) ProtoMessage

func (*UserAccessTokenRequest) ProtoMessage()

func (*UserAccessTokenRequest) ProtoReflect

func (x *UserAccessTokenRequest) ProtoReflect() protoreflect.Message

func (*UserAccessTokenRequest) Reset

func (x *UserAccessTokenRequest) Reset()

func (*UserAccessTokenRequest) String

func (x *UserAccessTokenRequest) String() string

type UserAccessTokensClient

type UserAccessTokensClient interface {
	GetUserAccessToken(ctx context.Context, in *UserAccessTokenRequest, opts ...grpc.CallOption) (*UserAccessToken, error)
	AddUserAccessToken(ctx context.Context, in *AddUserAccessTokenRequest, opts ...grpc.CallOption) (*UserAccessToken, error)
	ListUserAccessToken(ctx context.Context, in *ListUserAccessTokenRequest, opts ...grpc.CallOption) (*UserAccessTokenList, error)
	UpdateUserAccessToken(ctx context.Context, in *UpdateUserAccessTokenRequest, opts ...grpc.CallOption) (*UserAccessToken, error)
	DeleteUserAccessToken(ctx context.Context, in *DeleteUserAccessTokenRequest, opts ...grpc.CallOption) (*UserAccessToken, error)
}

UserAccessTokensClient is the client API for UserAccessTokens service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UserAccessTokensServer

type UserAccessTokensServer interface {
	GetUserAccessToken(context.Context, *UserAccessTokenRequest) (*UserAccessToken, error)
	AddUserAccessToken(context.Context, *AddUserAccessTokenRequest) (*UserAccessToken, error)
	ListUserAccessToken(context.Context, *ListUserAccessTokenRequest) (*UserAccessTokenList, error)
	UpdateUserAccessToken(context.Context, *UpdateUserAccessTokenRequest) (*UserAccessToken, error)
	DeleteUserAccessToken(context.Context, *DeleteUserAccessTokenRequest) (*UserAccessToken, error)
	// contains filtered or unexported methods
}

UserAccessTokensServer is the server API for UserAccessTokens service. All implementations must embed UnimplementedUserAccessTokensServer for forward compatibility.

type UserId

type UserId struct {
	Id   int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`    // Object ID
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // Display Name
	// contains filtered or unexported fields
}

UserId lookup value.

func (*UserId) Descriptor deprecated

func (*UserId) Descriptor() ([]byte, []int)

Deprecated: Use UserId.ProtoReflect.Descriptor instead.

func (*UserId) GetId

func (x *UserId) GetId() int64

func (*UserId) GetName

func (x *UserId) GetName() string

func (*UserId) ProtoMessage

func (*UserId) ProtoMessage()

func (*UserId) ProtoReflect

func (x *UserId) ProtoReflect() protoreflect.Message

func (*UserId) Reset

func (x *UserId) Reset()

func (*UserId) String

func (x *UserId) String() string

type UserPresence

type UserPresence struct {
	Id        int64  `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`               // [required] user identity
	Status    string `protobuf:"bytes,2,opt,name=status,proto3" json:"status,omitempty"`        // [optional] set of unique 'active' presentities {dnd,dlg,sip,wss}; assume {offline} if omitted
	Note      string `protobuf:"bytes,3,opt,name=note,proto3" json:"note,omitempty"`            // [optional] human readable comment
	Expires   int32  `protobuf:"varint,4,opt,name=expires,proto3" json:"expires,omitempty"`     // [optional] <note> will be cleaned up after seconds
	Timestamp int64  `protobuf:"varint,5,opt,name=timestamp,proto3" json:"timestamp,omitempty"` // [required] last activity time
	// contains filtered or unexported fields
}

func (*UserPresence) Descriptor deprecated

func (*UserPresence) Descriptor() ([]byte, []int)

Deprecated: Use UserPresence.ProtoReflect.Descriptor instead.

func (*UserPresence) GetExpires

func (x *UserPresence) GetExpires() int32

func (*UserPresence) GetId

func (x *UserPresence) GetId() int64

func (*UserPresence) GetNote

func (x *UserPresence) GetNote() string

func (*UserPresence) GetStatus

func (x *UserPresence) GetStatus() string

func (*UserPresence) GetTimestamp

func (x *UserPresence) GetTimestamp() int64

func (*UserPresence) ProtoMessage

func (*UserPresence) ProtoMessage()

func (*UserPresence) ProtoReflect

func (x *UserPresence) ProtoReflect() protoreflect.Message

func (*UserPresence) Reset

func (x *UserPresence) Reset()

func (*UserPresence) String

func (x *UserPresence) String() string

type UserSetting

type UserSetting struct {
	Key   string          `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	Value *structpb.Value `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

func (*UserSetting) Descriptor deprecated

func (*UserSetting) Descriptor() ([]byte, []int)

Deprecated: Use UserSetting.ProtoReflect.Descriptor instead.

func (*UserSetting) GetKey

func (x *UserSetting) GetKey() string

func (*UserSetting) GetValue

func (x *UserSetting) GetValue() *structpb.Value

func (*UserSetting) ProtoMessage

func (*UserSetting) ProtoMessage()

func (*UserSetting) ProtoReflect

func (x *UserSetting) ProtoReflect() protoreflect.Message

func (*UserSetting) Reset

func (x *UserSetting) Reset()

func (*UserSetting) String

func (x *UserSetting) String() string

type UserSettingsClient

type UserSettingsClient interface {
	// GET /user/settings/{key=*}
	GetUserSettings(ctx context.Context, in *GetSettingsRequest, opts ...grpc.CallOption) (*UserSetting, error)
	// Create -or- Update
	//
	// PUT /user/settings/{key=*}
	// Content-Type: application/json; charset=utf-8
	//
	// ${value=.body}
	SetUserSettings(ctx context.Context, in *SetSettingsRequest, opts ...grpc.CallOption) (*UserSetting, error)
}

UserSettingsClient is the client API for UserSettings service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

type UserSettingsServer

type UserSettingsServer interface {
	// GET /user/settings/{key=*}
	GetUserSettings(context.Context, *GetSettingsRequest) (*UserSetting, error)
	// Create -or- Update
	//
	// PUT /user/settings/{key=*}
	// Content-Type: application/json; charset=utf-8
	//
	// ${value=.body}
	SetUserSettings(context.Context, *SetSettingsRequest) (*UserSetting, error)
	// contains filtered or unexported methods
}

UserSettingsServer is the server API for UserSettings service. All implementations must embed UnimplementedUserSettingsServer for forward compatibility.

type Userinfo

type Userinfo struct {
	Dc                int64          `protobuf:"varint,2,opt,name=dc,proto3" json:"dc,omitempty"`                          // current domain component id
	Domain            string         `protobuf:"bytes,3,opt,name=domain,json=realm,proto3" json:"domain,omitempty"`        // session domain.name
	UserId            int64          `protobuf:"varint,4,opt,name=user_id,json=sub,proto3" json:"user_id,omitempty"`       // current user.id
	Name              string         `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"`                       // current user.id
	Username          string         `protobuf:"bytes,6,opt,name=username,json=nickname,proto3" json:"username,omitempty"` // session end-user login
	PreferredUsername string         `protobuf:"bytes,7,opt,name=preferred_username,proto3" json:"preferred_username,omitempty"`
	Extension         string         `protobuf:"bytes,8,opt,name=extension,json=phone_number,proto3" json:"extension,omitempty"`
	Scope             []*Objclass    `protobuf:"bytes,10,rep,name=scope,proto3" json:"scope,omitempty"`                           // map[class]dac
	Roles             []*ObjectId    `protobuf:"bytes,11,rep,name=roles,proto3" json:"roles,omitempty"`                           // map[role]oid
	License           []*LicenseUser `protobuf:"bytes,12,rep,name=license,proto3" json:"license,omitempty"`                       // map[key]details
	Permissions       []*Permission  `protobuf:"bytes,13,rep,name=permissions,proto3" json:"permissions,omitempty"`               //
	UpdatedAt         int64          `protobuf:"varint,20,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // user last updated
	ExpiresAt         int64          `protobuf:"varint,21,opt,name=expires_at,json=exp,proto3" json:"expires_at,omitempty"`       // unix
	// contains filtered or unexported fields
}

https://openid.net/specs/openid-connect-core-1_0.html#StandardClaims

func (*Userinfo) Descriptor deprecated

func (*Userinfo) Descriptor() ([]byte, []int)

Deprecated: Use Userinfo.ProtoReflect.Descriptor instead.

func (*Userinfo) GetDc

func (x *Userinfo) GetDc() int64

func (*Userinfo) GetDomain

func (x *Userinfo) GetDomain() string

func (*Userinfo) GetExpiresAt

func (x *Userinfo) GetExpiresAt() int64

func (*Userinfo) GetExtension

func (x *Userinfo) GetExtension() string

func (*Userinfo) GetLicense

func (x *Userinfo) GetLicense() []*LicenseUser

func (*Userinfo) GetName

func (x *Userinfo) GetName() string

func (*Userinfo) GetPermissions

func (x *Userinfo) GetPermissions() []*Permission

func (*Userinfo) GetPreferredUsername

func (x *Userinfo) GetPreferredUsername() string

func (*Userinfo) GetRoles

func (x *Userinfo) GetRoles() []*ObjectId

func (*Userinfo) GetScope

func (x *Userinfo) GetScope() []*Objclass

func (*Userinfo) GetUpdatedAt

func (x *Userinfo) GetUpdatedAt() int64

func (*Userinfo) GetUserId

func (x *Userinfo) GetUserId() int64

func (*Userinfo) GetUsername

func (x *Userinfo) GetUsername() string

func (*Userinfo) ProtoMessage

func (*Userinfo) ProtoMessage()

func (*Userinfo) ProtoReflect

func (x *Userinfo) ProtoReflect() protoreflect.Message

func (*Userinfo) Reset

func (x *Userinfo) Reset()

func (*Userinfo) String

func (x *Userinfo) String() string

type UserinfoRequest

type UserinfoRequest struct {
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"` // string id_token = 2;
	// contains filtered or unexported fields
}

func (*UserinfoRequest) Descriptor deprecated

func (*UserinfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserinfoRequest.ProtoReflect.Descriptor instead.

func (*UserinfoRequest) GetAccessToken

func (x *UserinfoRequest) GetAccessToken() string

func (*UserinfoRequest) ProtoMessage

func (*UserinfoRequest) ProtoMessage()

func (*UserinfoRequest) ProtoReflect

func (x *UserinfoRequest) ProtoReflect() protoreflect.Message

func (*UserinfoRequest) Reset

func (x *UserinfoRequest) Reset()

func (*UserinfoRequest) String

func (x *UserinfoRequest) String() string

type UsersClient

type UsersClient interface {
	ReadUser(ctx context.Context, in *ReadUserRequest, opts ...grpc.CallOption) (*ReadUserResponse, error)
	UpdateUser(ctx context.Context, in *UpdateUserRequest, opts ...grpc.CallOption) (*UpdateUserResponse, error)
	DeleteUsers(ctx context.Context, in *DeleteUsersRequest, opts ...grpc.CallOption) (*DeleteUsersResponse, error)
	CreateUser(ctx context.Context, in *CreateUserRequest, opts ...grpc.CallOption) (*CreateUserResponse, error)
	SearchUsers(ctx context.Context, in *SearchUsersRequest, opts ...grpc.CallOption) (*SearchUsersResponse, error)
	LogoutUser(ctx context.Context, in *LogoutUserRequest, opts ...grpc.CallOption) (*LogoutUserResponse, error)
}

UsersClient is the client API for Users service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

func NewUsersClient

func NewUsersClient(cc grpc.ClientConnInterface) UsersClient

type UsersServer

UsersServer is the server API for Users service. All implementations must embed UnimplementedUsersServer for forward compatibility.

type Validity

type Validity struct {
	NotBefore int64 `protobuf:"varint,1,opt,name=not_before,json=notBefore,proto3" json:"not_before,omitempty"` // unix
	NotAfter  int64 `protobuf:"varint,2,opt,name=not_after,json=notAfter,proto3" json:"not_after,omitempty"`    // unix
	// contains filtered or unexported fields
}

func (*Validity) Descriptor deprecated

func (*Validity) Descriptor() ([]byte, []int)

Deprecated: Use Validity.ProtoReflect.Descriptor instead.

func (*Validity) GetNotAfter

func (x *Validity) GetNotAfter() int64

func (*Validity) GetNotBefore

func (x *Validity) GetNotBefore() int64

func (*Validity) ProtoMessage

func (*Validity) ProtoMessage()

func (*Validity) ProtoReflect

func (x *Validity) ProtoReflect() protoreflect.Message

func (*Validity) Reset

func (x *Validity) Reset()

func (*Validity) String

func (x *Validity) String() string

type Verification

type Verification struct {
	Errors []string `protobuf:"bytes,1,rep,name=errors,proto3" json:"errors,omitempty"` // invalid
	Notify []string `protobuf:"bytes,2,rep,name=notify,proto3" json:"notify,omitempty"` // non-fatal warnings, e.g.:
	// contains filtered or unexported fields
}

func (*Verification) Descriptor deprecated

func (*Verification) Descriptor() ([]byte, []int)

Deprecated: Use Verification.ProtoReflect.Descriptor instead.

func (*Verification) GetErrors

func (x *Verification) GetErrors() []string

func (*Verification) GetNotify

func (x *Verification) GetNotify() []string

func (*Verification) ProtoMessage

func (*Verification) ProtoMessage()

func (*Verification) ProtoReflect

func (x *Verification) ProtoReflect() protoreflect.Message

func (*Verification) Reset

func (x *Verification) Reset()

func (*Verification) String

func (x *Verification) String() string

type VerifyTokenRequest

type VerifyTokenRequest struct {
	AccessToken string `protobuf:"bytes,1,opt,name=access_token,json=accessToken,proto3" json:"access_token,omitempty"`
	// contains filtered or unexported fields
}

func (*VerifyTokenRequest) Descriptor deprecated

func (*VerifyTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use VerifyTokenRequest.ProtoReflect.Descriptor instead.

func (*VerifyTokenRequest) GetAccessToken

func (x *VerifyTokenRequest) GetAccessToken() string

func (*VerifyTokenRequest) ProtoMessage

func (*VerifyTokenRequest) ProtoMessage()

func (*VerifyTokenRequest) ProtoReflect

func (x *VerifyTokenRequest) ProtoReflect() protoreflect.Message

func (*VerifyTokenRequest) Reset

func (x *VerifyTokenRequest) Reset()

func (*VerifyTokenRequest) String

func (x *VerifyTokenRequest) String() string

Directories

Path Synopsis
google
rpc
protoc-gen-openapiv2

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL