Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
"""]
@dataclass
class PropertyTypeFragment(DataClassJsonMixin):
id: str
externalId: Optional[str]
name: str
index: Optional[int]
category: Optional[str]
rawValue: Optional[str]
isEditable: Optional[bool]
isInstanceProperty: Optional[bool]
isMandatory: Optional[bool]
isDeleted: Optional[bool]
type: PropertyKind = enum_field(PropertyKind)
from numbers import Number
from typing import Any, Callable, List, Mapping, Optional
from dataclasses_json import DataClassJsonMixin
from gql.gql.enum_utils import enum_field
from ..enum.filter_operator import FilterOperator
from ..enum.location_filter_type import LocationFilterType
from ..input.property_type import PropertyTypeInput
@dataclass
class LocationFilterInput(DataClassJsonMixin):
idSet: List[str]
stringSet: List[str]
filterType: LocationFilterType = enum_field(LocationFilterType)
operator: FilterOperator = enum_field(FilterOperator)
boolValue: Optional[bool] = None
stringValue: Optional[str] = None
propertyValue: Optional[PropertyTypeInput] = None
maxDepth: Optional[int] = None
from gql.gql.datetime_utils import DATETIME_FIELD
from numbers import Number
from typing import Any, Callable, List, Mapping, Optional
from dataclasses_json import DataClassJsonMixin
from gql.gql.enum_utils import enum_field
from ..enum.filter_operator import FilterOperator
from ..enum.location_filter_type import LocationFilterType
from ..input.property_type import PropertyTypeInput
@dataclass
class LocationFilterInput(DataClassJsonMixin):
idSet: List[str]
stringSet: List[str]
filterType: LocationFilterType = enum_field(LocationFilterType)
operator: FilterOperator = enum_field(FilterOperator)
boolValue: Optional[bool] = None
stringValue: Optional[str] = None
propertyValue: Optional[PropertyTypeInput] = None
maxDepth: Optional[int] = None
from numbers import Number
from typing import Any, Callable, List, Mapping, Optional
from dataclasses_json import DataClassJsonMixin
from gql.gql.enum_utils import enum_field
from ..enum.equipment_filter_type import EquipmentFilterType
from ..enum.filter_operator import FilterOperator
from ..input.property_type import PropertyTypeInput
@dataclass
class EquipmentFilterInput(DataClassJsonMixin):
idSet: List[str]
stringSet: List[str]
filterType: EquipmentFilterType = enum_field(EquipmentFilterType)
operator: FilterOperator = enum_field(FilterOperator)
stringValue: Optional[str] = None
propertyValue: Optional[PropertyTypeInput] = None
maxDepth: Optional[int] = None
from gql.gql.datetime_utils import DATETIME_FIELD
from numbers import Number
from typing import Any, Callable, List, Mapping, Optional
from dataclasses_json import DataClassJsonMixin
from gql.gql.enum_utils import enum_field
from ..enum.equipment_filter_type import EquipmentFilterType
from ..enum.filter_operator import FilterOperator
from ..input.property_type import PropertyTypeInput
@dataclass
class EquipmentFilterInput(DataClassJsonMixin):
idSet: List[str]
stringSet: List[str]
filterType: EquipmentFilterType = enum_field(EquipmentFilterType)
operator: FilterOperator = enum_field(FilterOperator)
stringValue: Optional[str] = None
propertyValue: Optional[PropertyTypeInput] = None
maxDepth: Optional[int] = None
from functools import partial
from gql.gql.datetime_utils import DATETIME_FIELD
from numbers import Number
from typing import Any, Callable, List, Mapping, Optional
from dataclasses_json import DataClassJsonMixin
from gql.gql.enum_utils import enum_field
from ..enum.survey_question_type import SurveyQuestionType
@dataclass
class SurveyTemplateQuestionInput(DataClassJsonMixin):
questionTitle: str
questionDescription: str
index: int
questionType: SurveyQuestionType = enum_field(SurveyQuestionType)
id: Optional[str] = None
fragment UserFragment on User {
id
authID
email
status
role
}
"""]
@dataclass
class UserFragment(DataClassJsonMixin):
id: str
authID: str
email: str
status: UserStatus = enum_field(UserStatus)
role: UserRole = enum_field(UserRole)
from numbers import Number
from typing import Any, Callable, List, Mapping, Optional
from dataclasses_json import DataClassJsonMixin
from gql.gql.enum_utils import enum_field
from ..enum.image_entity import ImageEntity
@dataclass
class AddImageInput(DataClassJsonMixin):
entityId: str
imgKey: str
fileName: str
fileSize: int
contentType: str
entityType: ImageEntity = enum_field(ImageEntity)
modified: datetime = DATETIME_FIELD
category: Optional[str] = None
annotation: Optional[str] = None
id
authID
email
status
role
}
"""]
@dataclass
class UserFragment(DataClassJsonMixin):
id: str
authID: str
email: str
status: UserStatus = enum_field(UserStatus)
role: UserRole = enum_field(UserRole)
from dataclasses import dataclass
from datetime import datetime
from functools import partial
from gql.gql.datetime_utils import DATETIME_FIELD
from numbers import Number
from typing import Any, Callable, List, Mapping, Optional
from dataclasses_json import DataClassJsonMixin
from gql.gql.enum_utils import enum_field
from ..enum.cellular_network_type import CellularNetworkType
@dataclass
class SurveyCellScanData(DataClassJsonMixin):
signalStrength: int
networkType: CellularNetworkType = enum_field(CellularNetworkType)
timestamp: Optional[int] = None
baseStationID: Optional[str] = None
networkID: Optional[str] = None
systemID: Optional[str] = None
cellID: Optional[str] = None
locationAreaCode: Optional[str] = None
mobileCountryCode: Optional[str] = None
mobileNetworkCode: Optional[str] = None
primaryScramblingCode: Optional[str] = None
operator: Optional[str] = None
arfcn: Optional[int] = None
physicalCellID: Optional[str] = None
trackingAreaCode: Optional[str] = None
timingAdvance: Optional[int] = None
earfcn: Optional[int] = None
uarfcn: Optional[int] = None