Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterOrgServiceServer(s grpc.ServiceRegistrar, srv OrgServiceServer)
- type DepAttendanceRequest
- func (*DepAttendanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *DepAttendanceRequest) GetDepName() string
- func (x *DepAttendanceRequest) GetDomain() string
- func (*DepAttendanceRequest) ProtoMessage()
- func (x *DepAttendanceRequest) ProtoReflect() protoreflect.Message
- func (x *DepAttendanceRequest) Reset()
- func (x *DepAttendanceRequest) String() string
- type DepAttendanceResponse
- func (*DepAttendanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *DepAttendanceResponse) GetCaptureCheckInLocation() bool
- func (x *DepAttendanceResponse) GetCheckInMarginInMin() int32
- func (x *DepAttendanceResponse) GetDailyWorkingHours() float32
- func (x *DepAttendanceResponse) GetDepId() string
- func (x *DepAttendanceResponse) GetDepName() string
- func (x *DepAttendanceResponse) GetEnforceLocationCheckIn() bool
- func (x *DepAttendanceResponse) GetEnforceLocationCheckOut() bool
- func (x *DepAttendanceResponse) GetFlexiHourWindowInMin() int32
- func (x *DepAttendanceResponse) GetFlexiHoursEnabled() bool
- func (x *DepAttendanceResponse) GetOrgCheckInTime() string
- func (x *DepAttendanceResponse) GetOrgCheckOutTime() string
- func (x *DepAttendanceResponse) GetRequiredLat() float64
- func (x *DepAttendanceResponse) GetRequiredLng() float64
- func (x *DepAttendanceResponse) GetWeeklyOffDays() []string
- func (x *DepAttendanceResponse) GetWorkingDaysPerWeek() float32
- func (*DepAttendanceResponse) ProtoMessage()
- func (x *DepAttendanceResponse) ProtoReflect() protoreflect.Message
- func (x *DepAttendanceResponse) Reset()
- func (x *DepAttendanceResponse) String() string
- type EmployeeRequest
- func (*EmployeeRequest) Descriptor() ([]byte, []int)deprecated
- func (x *EmployeeRequest) GetDepartment() string
- func (x *EmployeeRequest) GetDesignation() string
- func (x *EmployeeRequest) GetDomain() string
- func (x *EmployeeRequest) GetEmailId() string
- func (x *EmployeeRequest) GetEmployeeId() string
- func (x *EmployeeRequest) GetName() string
- func (x *EmployeeRequest) GetProfileImageURL() string
- func (x *EmployeeRequest) GetRequestType() string
- func (x *EmployeeRequest) GetStatus() string
- func (*EmployeeRequest) ProtoMessage()
- func (x *EmployeeRequest) ProtoReflect() protoreflect.Message
- func (x *EmployeeRequest) Reset()
- func (x *EmployeeRequest) String() string
- type EmployeeResponse
- func (*EmployeeResponse) Descriptor() ([]byte, []int)deprecated
- func (x *EmployeeResponse) GetIsError() bool
- func (x *EmployeeResponse) GetMessage() string
- func (*EmployeeResponse) ProtoMessage()
- func (x *EmployeeResponse) ProtoReflect() protoreflect.Message
- func (x *EmployeeResponse) Reset()
- func (x *EmployeeResponse) String() string
- type InitOrgRequest
- func (*InitOrgRequest) Descriptor() ([]byte, []int)deprecated
- func (x *InitOrgRequest) GetAdminEmailId() string
- func (x *InitOrgRequest) GetAdminName() string
- func (x *InitOrgRequest) GetAdminPhoneNumber() string
- func (x *InitOrgRequest) GetDepartment() string
- func (x *InitOrgRequest) GetDesignation() string
- func (x *InitOrgRequest) GetDomain() string
- func (x *InitOrgRequest) GetEid() string
- func (x *InitOrgRequest) GetEmailVerified() bool
- func (x *InitOrgRequest) GetFirstLoginPending() bool
- func (x *InitOrgRequest) GetId() string
- func (x *InitOrgRequest) GetOrgName() string
- func (x *InitOrgRequest) GetPassword() string
- func (x *InitOrgRequest) GetRole() string
- func (x *InitOrgRequest) GetStatus() string
- func (x *InitOrgRequest) GetUseGoogleOAuth() bool
- func (*InitOrgRequest) ProtoMessage()
- func (x *InitOrgRequest) ProtoReflect() protoreflect.Message
- func (x *InitOrgRequest) Reset()
- func (x *InitOrgRequest) String() string
- type InitOrgResponse
- func (*InitOrgResponse) Descriptor() ([]byte, []int)deprecated
- func (x *InitOrgResponse) GetIsError() bool
- func (x *InitOrgResponse) GetMessage() string
- func (*InitOrgResponse) ProtoMessage()
- func (x *InitOrgResponse) ProtoReflect() protoreflect.Message
- func (x *InitOrgResponse) Reset()
- func (x *InitOrgResponse) String() string
- type OrgAttendanceRequest
- func (*OrgAttendanceRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OrgAttendanceRequest) GetDomain() string
- func (x *OrgAttendanceRequest) GetOrgName() string
- func (*OrgAttendanceRequest) ProtoMessage()
- func (x *OrgAttendanceRequest) ProtoReflect() protoreflect.Message
- func (x *OrgAttendanceRequest) Reset()
- func (x *OrgAttendanceRequest) String() string
- type OrgAttendanceResponse
- func (*OrgAttendanceResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OrgAttendanceResponse) GetCaptureCheckInLocation() bool
- func (x *OrgAttendanceResponse) GetCheckInMarginInMin() int32
- func (x *OrgAttendanceResponse) GetDailyWorkingHours() float32
- func (x *OrgAttendanceResponse) GetEnforceLocationCheckIn() bool
- func (x *OrgAttendanceResponse) GetEnforceLocationCheckOut() bool
- func (x *OrgAttendanceResponse) GetFlexiHourWindowInMin() int32
- func (x *OrgAttendanceResponse) GetFlexiHoursEnabled() bool
- func (x *OrgAttendanceResponse) GetOrgCheckInTime() string
- func (x *OrgAttendanceResponse) GetOrgCheckOutTime() string
- func (x *OrgAttendanceResponse) GetOrgId() string
- func (x *OrgAttendanceResponse) GetOrgName() string
- func (x *OrgAttendanceResponse) GetRequiredLat() float64
- func (x *OrgAttendanceResponse) GetRequiredLng() float64
- func (x *OrgAttendanceResponse) GetWeeklyOffDays() []string
- func (x *OrgAttendanceResponse) GetWorkingDaysPerWeek() float32
- func (*OrgAttendanceResponse) ProtoMessage()
- func (x *OrgAttendanceResponse) ProtoReflect() protoreflect.Message
- func (x *OrgAttendanceResponse) Reset()
- func (x *OrgAttendanceResponse) String() string
- type OrgLeaveConfiguration
- func (*OrgLeaveConfiguration) Descriptor() ([]byte, []int)deprecated
- func (x *OrgLeaveConfiguration) GetApplicableAfterWorkingDays() int32
- func (x *OrgLeaveConfiguration) GetBulkLeaveCount() int32
- func (x *OrgLeaveConfiguration) GetBulkLeaveNoticeInDays() int32
- func (x *OrgLeaveConfiguration) GetDescription() string
- func (x *OrgLeaveConfiguration) GetDocumentRequired() bool
- func (x *OrgLeaveConfiguration) GetFrequency() string
- func (x *OrgLeaveConfiguration) GetIsActive() bool
- func (x *OrgLeaveConfiguration) GetIsCarryForwardAllowed() bool
- func (x *OrgLeaveConfiguration) GetIsEncashmentAllowed() bool
- func (x *OrgLeaveConfiguration) GetIsFixed() bool
- func (x *OrgLeaveConfiguration) GetLeaveCount() float64
- func (x *OrgLeaveConfiguration) GetLeaveUnit() string
- func (x *OrgLeaveConfiguration) GetMaxCarryForwardCount() float64
- func (x *OrgLeaveConfiguration) GetMaxLeaveCount() float64
- func (x *OrgLeaveConfiguration) GetOrgId() string
- func (x *OrgLeaveConfiguration) GetOrgName() string
- func (x *OrgLeaveConfiguration) GetTitle() string
- func (x *OrgLeaveConfiguration) GetWeeklyOffAndHolidayIncluded() bool
- func (x *OrgLeaveConfiguration) GetYearEndDate() string
- func (x *OrgLeaveConfiguration) GetYearStartDate() string
- func (*OrgLeaveConfiguration) ProtoMessage()
- func (x *OrgLeaveConfiguration) ProtoReflect() protoreflect.Message
- func (x *OrgLeaveConfiguration) Reset()
- func (x *OrgLeaveConfiguration) String() string
- type OrgLeaveRequest
- func (*OrgLeaveRequest) Descriptor() ([]byte, []int)deprecated
- func (x *OrgLeaveRequest) GetDomain() string
- func (x *OrgLeaveRequest) GetOrgName() string
- func (*OrgLeaveRequest) ProtoMessage()
- func (x *OrgLeaveRequest) ProtoReflect() protoreflect.Message
- func (x *OrgLeaveRequest) Reset()
- func (x *OrgLeaveRequest) String() string
- type OrgLeaveResponse
- func (*OrgLeaveResponse) Descriptor() ([]byte, []int)deprecated
- func (x *OrgLeaveResponse) GetOrgLeaveConfigurations() []*OrgLeaveConfiguration
- func (x *OrgLeaveResponse) GetOrgName() string
- func (*OrgLeaveResponse) ProtoMessage()
- func (x *OrgLeaveResponse) ProtoReflect() protoreflect.Message
- func (x *OrgLeaveResponse) Reset()
- func (x *OrgLeaveResponse) String() string
- type OrgServiceClient
- type OrgServiceServer
- type UnimplementedOrgServiceServer
- func (UnimplementedOrgServiceServer) GetDepAttendanceConf(context.Context, *DepAttendanceRequest) (*DepAttendanceResponse, error)
- func (UnimplementedOrgServiceServer) GetOrgAttendanceConf(context.Context, *OrgAttendanceRequest) (*OrgAttendanceResponse, error)
- func (UnimplementedOrgServiceServer) GetOrgLeaveConf(context.Context, *OrgLeaveRequest) (*OrgLeaveResponse, error)
- func (UnimplementedOrgServiceServer) InitOrganization(context.Context, *InitOrgRequest) (*InitOrgResponse, error)
- func (UnimplementedOrgServiceServer) OrgEmployee(context.Context, *EmployeeRequest) (*EmployeeResponse, error)
- type UnsafeOrgServiceServer
Constants ¶
const ( OrgService_InitOrganization_FullMethodName = "/org.OrgService/InitOrganization" OrgService_OrgEmployee_FullMethodName = "/org.OrgService/OrgEmployee" OrgService_GetOrgAttendanceConf_FullMethodName = "/org.OrgService/GetOrgAttendanceConf" OrgService_GetDepAttendanceConf_FullMethodName = "/org.OrgService/GetDepAttendanceConf" OrgService_GetOrgLeaveConf_FullMethodName = "/org.OrgService/GetOrgLeaveConf" )
Variables ¶
var File_proto_org_org_proto protoreflect.FileDescriptor
var File_proto_org_type_dep_attendance_proto protoreflect.FileDescriptor
var File_proto_org_type_employee_proto protoreflect.FileDescriptor
var File_proto_org_type_org_attendance_proto protoreflect.FileDescriptor
var File_proto_org_type_org_leave_proto protoreflect.FileDescriptor
var File_proto_org_type_organization_proto protoreflect.FileDescriptor
var OrgService_ServiceDesc = grpc.ServiceDesc{ ServiceName: "org.OrgService", HandlerType: (*OrgServiceServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "InitOrganization", Handler: _OrgService_InitOrganization_Handler, }, { MethodName: "OrgEmployee", Handler: _OrgService_OrgEmployee_Handler, }, { MethodName: "GetOrgAttendanceConf", Handler: _OrgService_GetOrgAttendanceConf_Handler, }, { MethodName: "GetDepAttendanceConf", Handler: _OrgService_GetDepAttendanceConf_Handler, }, { MethodName: "GetOrgLeaveConf", Handler: _OrgService_GetOrgLeaveConf_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "proto/org/org.proto", }
OrgService_ServiceDesc is the grpc.ServiceDesc for OrgService service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterOrgServiceServer ¶
func RegisterOrgServiceServer(s grpc.ServiceRegistrar, srv OrgServiceServer)
Types ¶
type DepAttendanceRequest ¶
type DepAttendanceRequest struct { DepName string `protobuf:"bytes,1,opt,name=depName,proto3" json:"depName,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*DepAttendanceRequest) Descriptor
deprecated
func (*DepAttendanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use DepAttendanceRequest.ProtoReflect.Descriptor instead.
func (*DepAttendanceRequest) GetDepName ¶
func (x *DepAttendanceRequest) GetDepName() string
func (*DepAttendanceRequest) GetDomain ¶
func (x *DepAttendanceRequest) GetDomain() string
func (*DepAttendanceRequest) ProtoMessage ¶
func (*DepAttendanceRequest) ProtoMessage()
func (*DepAttendanceRequest) ProtoReflect ¶
func (x *DepAttendanceRequest) ProtoReflect() protoreflect.Message
func (*DepAttendanceRequest) Reset ¶
func (x *DepAttendanceRequest) Reset()
func (*DepAttendanceRequest) String ¶
func (x *DepAttendanceRequest) String() string
type DepAttendanceResponse ¶
type DepAttendanceResponse struct { DepId string `protobuf:"bytes,1,opt,name=depId,proto3" json:"depId,omitempty"` DepName string `protobuf:"bytes,2,opt,name=depName,proto3" json:"depName,omitempty"` CaptureCheckInLocation bool `protobuf:"varint,3,opt,name=captureCheckInLocation,proto3" json:"captureCheckInLocation,omitempty"` EnforceLocationCheckIn bool `protobuf:"varint,4,opt,name=enforceLocationCheckIn,proto3" json:"enforceLocationCheckIn,omitempty"` EnforceLocationCheckOut bool `protobuf:"varint,5,opt,name=enforceLocationCheckOut,proto3" json:"enforceLocationCheckOut,omitempty"` RequiredLat float64 `protobuf:"fixed64,6,opt,name=requiredLat,proto3" json:"requiredLat,omitempty"` RequiredLng float64 `protobuf:"fixed64,7,opt,name=requiredLng,proto3" json:"requiredLng,omitempty"` FlexiHoursEnabled bool `protobuf:"varint,8,opt,name=flexiHoursEnabled,proto3" json:"flexiHoursEnabled,omitempty"` FlexiHourWindowInMin int32 `protobuf:"varint,9,opt,name=flexiHourWindowInMin,proto3" json:"flexiHourWindowInMin,omitempty"` OrgCheckInTime string `protobuf:"bytes,10,opt,name=orgCheckInTime,proto3" json:"orgCheckInTime,omitempty"` OrgCheckOutTime string `protobuf:"bytes,11,opt,name=orgCheckOutTime,proto3" json:"orgCheckOutTime,omitempty"` CheckInMarginInMin int32 `protobuf:"varint,12,opt,name=checkInMarginInMin,proto3" json:"checkInMarginInMin,omitempty"` DailyWorkingHours float32 `protobuf:"fixed32,13,opt,name=dailyWorkingHours,proto3" json:"dailyWorkingHours,omitempty"` WorkingDaysPerWeek float32 `protobuf:"fixed32,14,opt,name=workingDaysPerWeek,proto3" json:"workingDaysPerWeek,omitempty"` WeeklyOffDays []string `protobuf:"bytes,15,rep,name=weeklyOffDays,proto3" json:"weeklyOffDays,omitempty"` // contains filtered or unexported fields }
func (*DepAttendanceResponse) Descriptor
deprecated
func (*DepAttendanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use DepAttendanceResponse.ProtoReflect.Descriptor instead.
func (*DepAttendanceResponse) GetCaptureCheckInLocation ¶
func (x *DepAttendanceResponse) GetCaptureCheckInLocation() bool
func (*DepAttendanceResponse) GetCheckInMarginInMin ¶
func (x *DepAttendanceResponse) GetCheckInMarginInMin() int32
func (*DepAttendanceResponse) GetDailyWorkingHours ¶
func (x *DepAttendanceResponse) GetDailyWorkingHours() float32
func (*DepAttendanceResponse) GetDepId ¶
func (x *DepAttendanceResponse) GetDepId() string
func (*DepAttendanceResponse) GetDepName ¶
func (x *DepAttendanceResponse) GetDepName() string
func (*DepAttendanceResponse) GetEnforceLocationCheckIn ¶
func (x *DepAttendanceResponse) GetEnforceLocationCheckIn() bool
func (*DepAttendanceResponse) GetEnforceLocationCheckOut ¶
func (x *DepAttendanceResponse) GetEnforceLocationCheckOut() bool
func (*DepAttendanceResponse) GetFlexiHourWindowInMin ¶
func (x *DepAttendanceResponse) GetFlexiHourWindowInMin() int32
func (*DepAttendanceResponse) GetFlexiHoursEnabled ¶
func (x *DepAttendanceResponse) GetFlexiHoursEnabled() bool
func (*DepAttendanceResponse) GetOrgCheckInTime ¶
func (x *DepAttendanceResponse) GetOrgCheckInTime() string
func (*DepAttendanceResponse) GetOrgCheckOutTime ¶
func (x *DepAttendanceResponse) GetOrgCheckOutTime() string
func (*DepAttendanceResponse) GetRequiredLat ¶
func (x *DepAttendanceResponse) GetRequiredLat() float64
func (*DepAttendanceResponse) GetRequiredLng ¶
func (x *DepAttendanceResponse) GetRequiredLng() float64
func (*DepAttendanceResponse) GetWeeklyOffDays ¶
func (x *DepAttendanceResponse) GetWeeklyOffDays() []string
func (*DepAttendanceResponse) GetWorkingDaysPerWeek ¶
func (x *DepAttendanceResponse) GetWorkingDaysPerWeek() float32
func (*DepAttendanceResponse) ProtoMessage ¶
func (*DepAttendanceResponse) ProtoMessage()
func (*DepAttendanceResponse) ProtoReflect ¶
func (x *DepAttendanceResponse) ProtoReflect() protoreflect.Message
func (*DepAttendanceResponse) Reset ¶
func (x *DepAttendanceResponse) Reset()
func (*DepAttendanceResponse) String ¶
func (x *DepAttendanceResponse) String() string
type EmployeeRequest ¶
type EmployeeRequest struct { RequestType string `protobuf:"bytes,1,opt,name=requestType,proto3" json:"requestType,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` EmployeeId string `protobuf:"bytes,3,opt,name=employeeId,proto3" json:"employeeId,omitempty"` Department string `protobuf:"bytes,4,opt,name=department,proto3" json:"department,omitempty"` Designation string `protobuf:"bytes,5,opt,name=designation,proto3" json:"designation,omitempty"` Name string `protobuf:"bytes,6,opt,name=name,proto3" json:"name,omitempty"` Status string `protobuf:"bytes,7,opt,name=status,proto3" json:"status,omitempty"` ProfileImageURL string `protobuf:"bytes,8,opt,name=profileImageURL,proto3" json:"profileImageURL,omitempty"` EmailId string `protobuf:"bytes,9,opt,name=emailId,proto3" json:"emailId,omitempty"` // contains filtered or unexported fields }
func (*EmployeeRequest) Descriptor
deprecated
func (*EmployeeRequest) Descriptor() ([]byte, []int)
Deprecated: Use EmployeeRequest.ProtoReflect.Descriptor instead.
func (*EmployeeRequest) GetDepartment ¶
func (x *EmployeeRequest) GetDepartment() string
func (*EmployeeRequest) GetDesignation ¶
func (x *EmployeeRequest) GetDesignation() string
func (*EmployeeRequest) GetDomain ¶
func (x *EmployeeRequest) GetDomain() string
func (*EmployeeRequest) GetEmailId ¶
func (x *EmployeeRequest) GetEmailId() string
func (*EmployeeRequest) GetEmployeeId ¶
func (x *EmployeeRequest) GetEmployeeId() string
func (*EmployeeRequest) GetName ¶
func (x *EmployeeRequest) GetName() string
func (*EmployeeRequest) GetProfileImageURL ¶
func (x *EmployeeRequest) GetProfileImageURL() string
func (*EmployeeRequest) GetRequestType ¶
func (x *EmployeeRequest) GetRequestType() string
func (*EmployeeRequest) GetStatus ¶
func (x *EmployeeRequest) GetStatus() string
func (*EmployeeRequest) ProtoMessage ¶
func (*EmployeeRequest) ProtoMessage()
func (*EmployeeRequest) ProtoReflect ¶
func (x *EmployeeRequest) ProtoReflect() protoreflect.Message
func (*EmployeeRequest) Reset ¶
func (x *EmployeeRequest) Reset()
func (*EmployeeRequest) String ¶
func (x *EmployeeRequest) String() string
type EmployeeResponse ¶
type EmployeeResponse struct { IsError bool `protobuf:"varint,1,opt,name=isError,proto3" json:"isError,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*EmployeeResponse) Descriptor
deprecated
func (*EmployeeResponse) Descriptor() ([]byte, []int)
Deprecated: Use EmployeeResponse.ProtoReflect.Descriptor instead.
func (*EmployeeResponse) GetIsError ¶
func (x *EmployeeResponse) GetIsError() bool
func (*EmployeeResponse) GetMessage ¶
func (x *EmployeeResponse) GetMessage() string
func (*EmployeeResponse) ProtoMessage ¶
func (*EmployeeResponse) ProtoMessage()
func (*EmployeeResponse) ProtoReflect ¶
func (x *EmployeeResponse) ProtoReflect() protoreflect.Message
func (*EmployeeResponse) Reset ¶
func (x *EmployeeResponse) Reset()
func (*EmployeeResponse) String ¶
func (x *EmployeeResponse) String() string
type InitOrgRequest ¶
type InitOrgRequest struct { Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"` Eid string `protobuf:"bytes,2,opt,name=eid,proto3" json:"eid,omitempty"` Domain string `protobuf:"bytes,3,opt,name=domain,proto3" json:"domain,omitempty"` OrgName string `protobuf:"bytes,4,opt,name=orgName,proto3" json:"orgName,omitempty"` AdminEmailId string `protobuf:"bytes,5,opt,name=adminEmailId,proto3" json:"adminEmailId,omitempty"` AdminPhoneNumber string `protobuf:"bytes,6,opt,name=adminPhoneNumber,proto3" json:"adminPhoneNumber,omitempty"` AdminName string `protobuf:"bytes,7,opt,name=adminName,proto3" json:"adminName,omitempty"` Department string `protobuf:"bytes,8,opt,name=department,proto3" json:"department,omitempty"` Designation string `protobuf:"bytes,9,opt,name=designation,proto3" json:"designation,omitempty"` EmailVerified bool `protobuf:"varint,10,opt,name=emailVerified,proto3" json:"emailVerified,omitempty"` Password string `protobuf:"bytes,11,opt,name=password,proto3" json:"password,omitempty"` Role string `protobuf:"bytes,12,opt,name=role,proto3" json:"role,omitempty"` FirstLoginPending bool `protobuf:"varint,13,opt,name=firstLoginPending,proto3" json:"firstLoginPending,omitempty"` Status string `protobuf:"bytes,14,opt,name=status,proto3" json:"status,omitempty"` UseGoogleOAuth bool `protobuf:"varint,15,opt,name=useGoogleOAuth,proto3" json:"useGoogleOAuth,omitempty"` // contains filtered or unexported fields }
func (*InitOrgRequest) Descriptor
deprecated
func (*InitOrgRequest) Descriptor() ([]byte, []int)
Deprecated: Use InitOrgRequest.ProtoReflect.Descriptor instead.
func (*InitOrgRequest) GetAdminEmailId ¶
func (x *InitOrgRequest) GetAdminEmailId() string
func (*InitOrgRequest) GetAdminName ¶
func (x *InitOrgRequest) GetAdminName() string
func (*InitOrgRequest) GetAdminPhoneNumber ¶
func (x *InitOrgRequest) GetAdminPhoneNumber() string
func (*InitOrgRequest) GetDepartment ¶
func (x *InitOrgRequest) GetDepartment() string
func (*InitOrgRequest) GetDesignation ¶
func (x *InitOrgRequest) GetDesignation() string
func (*InitOrgRequest) GetDomain ¶
func (x *InitOrgRequest) GetDomain() string
func (*InitOrgRequest) GetEid ¶
func (x *InitOrgRequest) GetEid() string
func (*InitOrgRequest) GetEmailVerified ¶
func (x *InitOrgRequest) GetEmailVerified() bool
func (*InitOrgRequest) GetFirstLoginPending ¶
func (x *InitOrgRequest) GetFirstLoginPending() bool
func (*InitOrgRequest) GetId ¶
func (x *InitOrgRequest) GetId() string
func (*InitOrgRequest) GetOrgName ¶
func (x *InitOrgRequest) GetOrgName() string
func (*InitOrgRequest) GetPassword ¶
func (x *InitOrgRequest) GetPassword() string
func (*InitOrgRequest) GetRole ¶
func (x *InitOrgRequest) GetRole() string
func (*InitOrgRequest) GetStatus ¶
func (x *InitOrgRequest) GetStatus() string
func (*InitOrgRequest) GetUseGoogleOAuth ¶
func (x *InitOrgRequest) GetUseGoogleOAuth() bool
func (*InitOrgRequest) ProtoMessage ¶
func (*InitOrgRequest) ProtoMessage()
func (*InitOrgRequest) ProtoReflect ¶
func (x *InitOrgRequest) ProtoReflect() protoreflect.Message
func (*InitOrgRequest) Reset ¶
func (x *InitOrgRequest) Reset()
func (*InitOrgRequest) String ¶
func (x *InitOrgRequest) String() string
type InitOrgResponse ¶
type InitOrgResponse struct { IsError bool `protobuf:"varint,1,opt,name=isError,proto3" json:"isError,omitempty"` Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // contains filtered or unexported fields }
func (*InitOrgResponse) Descriptor
deprecated
func (*InitOrgResponse) Descriptor() ([]byte, []int)
Deprecated: Use InitOrgResponse.ProtoReflect.Descriptor instead.
func (*InitOrgResponse) GetIsError ¶
func (x *InitOrgResponse) GetIsError() bool
func (*InitOrgResponse) GetMessage ¶
func (x *InitOrgResponse) GetMessage() string
func (*InitOrgResponse) ProtoMessage ¶
func (*InitOrgResponse) ProtoMessage()
func (*InitOrgResponse) ProtoReflect ¶
func (x *InitOrgResponse) ProtoReflect() protoreflect.Message
func (*InitOrgResponse) Reset ¶
func (x *InitOrgResponse) Reset()
func (*InitOrgResponse) String ¶
func (x *InitOrgResponse) String() string
type OrgAttendanceRequest ¶
type OrgAttendanceRequest struct { OrgName string `protobuf:"bytes,1,opt,name=orgName,proto3" json:"orgName,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*OrgAttendanceRequest) Descriptor
deprecated
func (*OrgAttendanceRequest) Descriptor() ([]byte, []int)
Deprecated: Use OrgAttendanceRequest.ProtoReflect.Descriptor instead.
func (*OrgAttendanceRequest) GetDomain ¶
func (x *OrgAttendanceRequest) GetDomain() string
func (*OrgAttendanceRequest) GetOrgName ¶
func (x *OrgAttendanceRequest) GetOrgName() string
func (*OrgAttendanceRequest) ProtoMessage ¶
func (*OrgAttendanceRequest) ProtoMessage()
func (*OrgAttendanceRequest) ProtoReflect ¶
func (x *OrgAttendanceRequest) ProtoReflect() protoreflect.Message
func (*OrgAttendanceRequest) Reset ¶
func (x *OrgAttendanceRequest) Reset()
func (*OrgAttendanceRequest) String ¶
func (x *OrgAttendanceRequest) String() string
type OrgAttendanceResponse ¶
type OrgAttendanceResponse struct { OrgId string `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"` OrgName string `protobuf:"bytes,2,opt,name=orgName,proto3" json:"orgName,omitempty"` CaptureCheckInLocation bool `protobuf:"varint,3,opt,name=captureCheckInLocation,proto3" json:"captureCheckInLocation,omitempty"` EnforceLocationCheckIn bool `protobuf:"varint,4,opt,name=enforceLocationCheckIn,proto3" json:"enforceLocationCheckIn,omitempty"` EnforceLocationCheckOut bool `protobuf:"varint,5,opt,name=enforceLocationCheckOut,proto3" json:"enforceLocationCheckOut,omitempty"` RequiredLat float64 `protobuf:"fixed64,6,opt,name=requiredLat,proto3" json:"requiredLat,omitempty"` RequiredLng float64 `protobuf:"fixed64,7,opt,name=requiredLng,proto3" json:"requiredLng,omitempty"` FlexiHoursEnabled bool `protobuf:"varint,8,opt,name=flexiHoursEnabled,proto3" json:"flexiHoursEnabled,omitempty"` FlexiHourWindowInMin int32 `protobuf:"varint,9,opt,name=flexiHourWindowInMin,proto3" json:"flexiHourWindowInMin,omitempty"` OrgCheckInTime string `protobuf:"bytes,10,opt,name=orgCheckInTime,proto3" json:"orgCheckInTime,omitempty"` OrgCheckOutTime string `protobuf:"bytes,11,opt,name=orgCheckOutTime,proto3" json:"orgCheckOutTime,omitempty"` CheckInMarginInMin int32 `protobuf:"varint,12,opt,name=checkInMarginInMin,proto3" json:"checkInMarginInMin,omitempty"` DailyWorkingHours float32 `protobuf:"fixed32,13,opt,name=dailyWorkingHours,proto3" json:"dailyWorkingHours,omitempty"` WorkingDaysPerWeek float32 `protobuf:"fixed32,14,opt,name=workingDaysPerWeek,proto3" json:"workingDaysPerWeek,omitempty"` WeeklyOffDays []string `protobuf:"bytes,15,rep,name=weeklyOffDays,proto3" json:"weeklyOffDays,omitempty"` // contains filtered or unexported fields }
func (*OrgAttendanceResponse) Descriptor
deprecated
func (*OrgAttendanceResponse) Descriptor() ([]byte, []int)
Deprecated: Use OrgAttendanceResponse.ProtoReflect.Descriptor instead.
func (*OrgAttendanceResponse) GetCaptureCheckInLocation ¶
func (x *OrgAttendanceResponse) GetCaptureCheckInLocation() bool
func (*OrgAttendanceResponse) GetCheckInMarginInMin ¶
func (x *OrgAttendanceResponse) GetCheckInMarginInMin() int32
func (*OrgAttendanceResponse) GetDailyWorkingHours ¶
func (x *OrgAttendanceResponse) GetDailyWorkingHours() float32
func (*OrgAttendanceResponse) GetEnforceLocationCheckIn ¶
func (x *OrgAttendanceResponse) GetEnforceLocationCheckIn() bool
func (*OrgAttendanceResponse) GetEnforceLocationCheckOut ¶
func (x *OrgAttendanceResponse) GetEnforceLocationCheckOut() bool
func (*OrgAttendanceResponse) GetFlexiHourWindowInMin ¶
func (x *OrgAttendanceResponse) GetFlexiHourWindowInMin() int32
func (*OrgAttendanceResponse) GetFlexiHoursEnabled ¶
func (x *OrgAttendanceResponse) GetFlexiHoursEnabled() bool
func (*OrgAttendanceResponse) GetOrgCheckInTime ¶
func (x *OrgAttendanceResponse) GetOrgCheckInTime() string
func (*OrgAttendanceResponse) GetOrgCheckOutTime ¶
func (x *OrgAttendanceResponse) GetOrgCheckOutTime() string
func (*OrgAttendanceResponse) GetOrgId ¶
func (x *OrgAttendanceResponse) GetOrgId() string
func (*OrgAttendanceResponse) GetOrgName ¶
func (x *OrgAttendanceResponse) GetOrgName() string
func (*OrgAttendanceResponse) GetRequiredLat ¶
func (x *OrgAttendanceResponse) GetRequiredLat() float64
func (*OrgAttendanceResponse) GetRequiredLng ¶
func (x *OrgAttendanceResponse) GetRequiredLng() float64
func (*OrgAttendanceResponse) GetWeeklyOffDays ¶
func (x *OrgAttendanceResponse) GetWeeklyOffDays() []string
func (*OrgAttendanceResponse) GetWorkingDaysPerWeek ¶
func (x *OrgAttendanceResponse) GetWorkingDaysPerWeek() float32
func (*OrgAttendanceResponse) ProtoMessage ¶
func (*OrgAttendanceResponse) ProtoMessage()
func (*OrgAttendanceResponse) ProtoReflect ¶
func (x *OrgAttendanceResponse) ProtoReflect() protoreflect.Message
func (*OrgAttendanceResponse) Reset ¶
func (x *OrgAttendanceResponse) Reset()
func (*OrgAttendanceResponse) String ¶
func (x *OrgAttendanceResponse) String() string
type OrgLeaveConfiguration ¶
type OrgLeaveConfiguration struct { OrgId string `protobuf:"bytes,1,opt,name=orgId,proto3" json:"orgId,omitempty"` OrgName string `protobuf:"bytes,2,opt,name=orgName,proto3" json:"orgName,omitempty"` Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` IsFixed bool `protobuf:"varint,4,opt,name=isFixed,proto3" json:"isFixed,omitempty"` Frequency string `protobuf:"bytes,5,opt,name=frequency,proto3" json:"frequency,omitempty"` LeaveCount float64 `protobuf:"fixed64,6,opt,name=leaveCount,proto3" json:"leaveCount,omitempty"` LeaveUnit string `protobuf:"bytes,7,opt,name=leaveUnit,proto3" json:"leaveUnit,omitempty"` MaxLeaveCount float64 `protobuf:"fixed64,8,opt,name=maxLeaveCount,proto3" json:"maxLeaveCount,omitempty"` IsCarryForwardAllowed bool `protobuf:"varint,9,opt,name=isCarryForwardAllowed,proto3" json:"isCarryForwardAllowed,omitempty"` MaxCarryForwardCount float64 `protobuf:"fixed64,10,opt,name=maxCarryForwardCount,proto3" json:"maxCarryForwardCount,omitempty"` BulkLeaveCount int32 `protobuf:"varint,11,opt,name=bulkLeaveCount,proto3" json:"bulkLeaveCount,omitempty"` BulkLeaveNoticeInDays int32 `protobuf:"varint,12,opt,name=bulkLeaveNoticeInDays,proto3" json:"bulkLeaveNoticeInDays,omitempty"` IsEncashmentAllowed bool `protobuf:"varint,13,opt,name=isEncashmentAllowed,proto3" json:"isEncashmentAllowed,omitempty"` ApplicableAfterWorkingDays int32 `protobuf:"varint,14,opt,name=applicableAfterWorkingDays,proto3" json:"applicableAfterWorkingDays,omitempty"` DocumentRequired bool `protobuf:"varint,15,opt,name=documentRequired,proto3" json:"documentRequired,omitempty"` WeeklyOffAndHolidayIncluded bool `protobuf:"varint,16,opt,name=weeklyOffAndHolidayIncluded,proto3" json:"weeklyOffAndHolidayIncluded,omitempty"` IsActive bool `protobuf:"varint,17,opt,name=isActive,proto3" json:"isActive,omitempty"` Description string `protobuf:"bytes,18,opt,name=description,proto3" json:"description,omitempty"` YearStartDate string `protobuf:"bytes,19,opt,name=yearStartDate,proto3" json:"yearStartDate,omitempty"` YearEndDate string `protobuf:"bytes,20,opt,name=yearEndDate,proto3" json:"yearEndDate,omitempty"` // contains filtered or unexported fields }
func (*OrgLeaveConfiguration) Descriptor
deprecated
func (*OrgLeaveConfiguration) Descriptor() ([]byte, []int)
Deprecated: Use OrgLeaveConfiguration.ProtoReflect.Descriptor instead.
func (*OrgLeaveConfiguration) GetApplicableAfterWorkingDays ¶
func (x *OrgLeaveConfiguration) GetApplicableAfterWorkingDays() int32
func (*OrgLeaveConfiguration) GetBulkLeaveCount ¶
func (x *OrgLeaveConfiguration) GetBulkLeaveCount() int32
func (*OrgLeaveConfiguration) GetBulkLeaveNoticeInDays ¶
func (x *OrgLeaveConfiguration) GetBulkLeaveNoticeInDays() int32
func (*OrgLeaveConfiguration) GetDescription ¶
func (x *OrgLeaveConfiguration) GetDescription() string
func (*OrgLeaveConfiguration) GetDocumentRequired ¶
func (x *OrgLeaveConfiguration) GetDocumentRequired() bool
func (*OrgLeaveConfiguration) GetFrequency ¶
func (x *OrgLeaveConfiguration) GetFrequency() string
func (*OrgLeaveConfiguration) GetIsActive ¶
func (x *OrgLeaveConfiguration) GetIsActive() bool
func (*OrgLeaveConfiguration) GetIsCarryForwardAllowed ¶
func (x *OrgLeaveConfiguration) GetIsCarryForwardAllowed() bool
func (*OrgLeaveConfiguration) GetIsEncashmentAllowed ¶
func (x *OrgLeaveConfiguration) GetIsEncashmentAllowed() bool
func (*OrgLeaveConfiguration) GetIsFixed ¶
func (x *OrgLeaveConfiguration) GetIsFixed() bool
func (*OrgLeaveConfiguration) GetLeaveCount ¶
func (x *OrgLeaveConfiguration) GetLeaveCount() float64
func (*OrgLeaveConfiguration) GetLeaveUnit ¶
func (x *OrgLeaveConfiguration) GetLeaveUnit() string
func (*OrgLeaveConfiguration) GetMaxCarryForwardCount ¶
func (x *OrgLeaveConfiguration) GetMaxCarryForwardCount() float64
func (*OrgLeaveConfiguration) GetMaxLeaveCount ¶
func (x *OrgLeaveConfiguration) GetMaxLeaveCount() float64
func (*OrgLeaveConfiguration) GetOrgId ¶
func (x *OrgLeaveConfiguration) GetOrgId() string
func (*OrgLeaveConfiguration) GetOrgName ¶
func (x *OrgLeaveConfiguration) GetOrgName() string
func (*OrgLeaveConfiguration) GetTitle ¶
func (x *OrgLeaveConfiguration) GetTitle() string
func (*OrgLeaveConfiguration) GetWeeklyOffAndHolidayIncluded ¶
func (x *OrgLeaveConfiguration) GetWeeklyOffAndHolidayIncluded() bool
func (*OrgLeaveConfiguration) GetYearEndDate ¶
func (x *OrgLeaveConfiguration) GetYearEndDate() string
func (*OrgLeaveConfiguration) GetYearStartDate ¶
func (x *OrgLeaveConfiguration) GetYearStartDate() string
func (*OrgLeaveConfiguration) ProtoMessage ¶
func (*OrgLeaveConfiguration) ProtoMessage()
func (*OrgLeaveConfiguration) ProtoReflect ¶
func (x *OrgLeaveConfiguration) ProtoReflect() protoreflect.Message
func (*OrgLeaveConfiguration) Reset ¶
func (x *OrgLeaveConfiguration) Reset()
func (*OrgLeaveConfiguration) String ¶
func (x *OrgLeaveConfiguration) String() string
type OrgLeaveRequest ¶
type OrgLeaveRequest struct { OrgName string `protobuf:"bytes,1,opt,name=orgName,proto3" json:"orgName,omitempty"` Domain string `protobuf:"bytes,2,opt,name=domain,proto3" json:"domain,omitempty"` // contains filtered or unexported fields }
func (*OrgLeaveRequest) Descriptor
deprecated
func (*OrgLeaveRequest) Descriptor() ([]byte, []int)
Deprecated: Use OrgLeaveRequest.ProtoReflect.Descriptor instead.
func (*OrgLeaveRequest) GetDomain ¶
func (x *OrgLeaveRequest) GetDomain() string
func (*OrgLeaveRequest) GetOrgName ¶
func (x *OrgLeaveRequest) GetOrgName() string
func (*OrgLeaveRequest) ProtoMessage ¶
func (*OrgLeaveRequest) ProtoMessage()
func (*OrgLeaveRequest) ProtoReflect ¶
func (x *OrgLeaveRequest) ProtoReflect() protoreflect.Message
func (*OrgLeaveRequest) Reset ¶
func (x *OrgLeaveRequest) Reset()
func (*OrgLeaveRequest) String ¶
func (x *OrgLeaveRequest) String() string
type OrgLeaveResponse ¶
type OrgLeaveResponse struct { OrgName string `protobuf:"bytes,1,opt,name=orgName,proto3" json:"orgName,omitempty"` OrgLeaveConfigurations []*OrgLeaveConfiguration `protobuf:"bytes,2,rep,name=orgLeaveConfigurations,proto3" json:"orgLeaveConfigurations,omitempty"` // contains filtered or unexported fields }
func (*OrgLeaveResponse) Descriptor
deprecated
func (*OrgLeaveResponse) Descriptor() ([]byte, []int)
Deprecated: Use OrgLeaveResponse.ProtoReflect.Descriptor instead.
func (*OrgLeaveResponse) GetOrgLeaveConfigurations ¶
func (x *OrgLeaveResponse) GetOrgLeaveConfigurations() []*OrgLeaveConfiguration
func (*OrgLeaveResponse) GetOrgName ¶
func (x *OrgLeaveResponse) GetOrgName() string
func (*OrgLeaveResponse) ProtoMessage ¶
func (*OrgLeaveResponse) ProtoMessage()
func (*OrgLeaveResponse) ProtoReflect ¶
func (x *OrgLeaveResponse) ProtoReflect() protoreflect.Message
func (*OrgLeaveResponse) Reset ¶
func (x *OrgLeaveResponse) Reset()
func (*OrgLeaveResponse) String ¶
func (x *OrgLeaveResponse) String() string
type OrgServiceClient ¶
type OrgServiceClient interface { InitOrganization(ctx context.Context, in *InitOrgRequest, opts ...grpc.CallOption) (*InitOrgResponse, error) OrgEmployee(ctx context.Context, in *EmployeeRequest, opts ...grpc.CallOption) (*EmployeeResponse, error) GetOrgAttendanceConf(ctx context.Context, in *OrgAttendanceRequest, opts ...grpc.CallOption) (*OrgAttendanceResponse, error) GetDepAttendanceConf(ctx context.Context, in *DepAttendanceRequest, opts ...grpc.CallOption) (*DepAttendanceResponse, error) GetOrgLeaveConf(ctx context.Context, in *OrgLeaveRequest, opts ...grpc.CallOption) (*OrgLeaveResponse, error) }
OrgServiceClient is the client API for OrgService 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 NewOrgServiceClient ¶
func NewOrgServiceClient(cc grpc.ClientConnInterface) OrgServiceClient
type OrgServiceServer ¶
type OrgServiceServer interface { InitOrganization(context.Context, *InitOrgRequest) (*InitOrgResponse, error) OrgEmployee(context.Context, *EmployeeRequest) (*EmployeeResponse, error) GetOrgAttendanceConf(context.Context, *OrgAttendanceRequest) (*OrgAttendanceResponse, error) GetDepAttendanceConf(context.Context, *DepAttendanceRequest) (*DepAttendanceResponse, error) GetOrgLeaveConf(context.Context, *OrgLeaveRequest) (*OrgLeaveResponse, error) // contains filtered or unexported methods }
OrgServiceServer is the server API for OrgService service. All implementations must embed UnimplementedOrgServiceServer for forward compatibility
type UnimplementedOrgServiceServer ¶
type UnimplementedOrgServiceServer struct { }
UnimplementedOrgServiceServer must be embedded to have forward compatible implementations.
func (UnimplementedOrgServiceServer) GetDepAttendanceConf ¶
func (UnimplementedOrgServiceServer) GetDepAttendanceConf(context.Context, *DepAttendanceRequest) (*DepAttendanceResponse, error)
func (UnimplementedOrgServiceServer) GetOrgAttendanceConf ¶
func (UnimplementedOrgServiceServer) GetOrgAttendanceConf(context.Context, *OrgAttendanceRequest) (*OrgAttendanceResponse, error)
func (UnimplementedOrgServiceServer) GetOrgLeaveConf ¶
func (UnimplementedOrgServiceServer) GetOrgLeaveConf(context.Context, *OrgLeaveRequest) (*OrgLeaveResponse, error)
func (UnimplementedOrgServiceServer) InitOrganization ¶
func (UnimplementedOrgServiceServer) InitOrganization(context.Context, *InitOrgRequest) (*InitOrgResponse, error)
func (UnimplementedOrgServiceServer) OrgEmployee ¶
func (UnimplementedOrgServiceServer) OrgEmployee(context.Context, *EmployeeRequest) (*EmployeeResponse, error)
type UnsafeOrgServiceServer ¶
type UnsafeOrgServiceServer interface {
// contains filtered or unexported methods
}
UnsafeOrgServiceServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to OrgServiceServer will result in compilation errors.