step 6 : check distance graphql
This commit is contained in:
@@ -16,8 +16,6 @@ type Staff struct {
|
||||
PhoneNumber *string `json:"phone_number,omitempty"`
|
||||
CompanyID string `json:"company_id"`
|
||||
CompanyName *string `json:"company_name,omitempty"`
|
||||
CompanyLatitude *string `json:"company_latitude,omitempty"`
|
||||
CompanyLongitude *string `json:"company_longitude,omitempty"`
|
||||
IsActive *string `json:"is_active,omitempty"`
|
||||
IsLogin *string `json:"is_login,omitempty"`
|
||||
Token *string `json:"token,omitempty"`
|
||||
@@ -33,6 +31,15 @@ type TokenResponse struct {
|
||||
Message *string `json:"message,omitempty"`
|
||||
}
|
||||
|
||||
type TransAbsensiCheckDistanceResponse struct {
|
||||
Status *string `json:"status,omitempty"`
|
||||
Message *string `json:"message,omitempty"`
|
||||
Selfie *string `json:"selfie,omitempty"`
|
||||
MaxDistance *string `json:"max_distance,omitempty"`
|
||||
CurrentDistance *string `json:"current_distance,omitempty"`
|
||||
Unit *string `json:"unit,omitempty"`
|
||||
}
|
||||
|
||||
type TransAbsensiResponse struct {
|
||||
Status *string `json:"status,omitempty"`
|
||||
Message *string `json:"message,omitempty"`
|
||||
|
||||
Reference in New Issue
Block a user