2022-04-17 00:31:43 -05:00
|
|
|
from enum import Enum
|
|
|
|
|
|
|
|
|
|
class DataFormat(Enum):
|
2022-04-29 13:07:17 -05:00
|
|
|
"""
|
|
|
|
|
The possible data format types for record field values.
|
|
|
|
|
"""
|
|
|
|
|
|
2023-01-25 11:29:44 -06:00
|
|
|
Raw:int = 0
|
|
|
|
|
Formatted:int = 1
|
2022-04-18 10:39:20 -05:00
|
|
|
|
2022-04-21 16:22:44 -05:00
|
|
|
class ReportDataType(Enum):
|
2022-04-29 13:07:17 -05:00
|
|
|
"""
|
|
|
|
|
The possible report data types for reports.
|
|
|
|
|
"""
|
2023-01-25 11:29:44 -06:00
|
|
|
ReportData:int = 0
|
|
|
|
|
ChartData:int = 1
|
2022-04-21 16:22:44 -05:00
|
|
|
|
2022-04-18 10:39:20 -05:00
|
|
|
class ResultValueType(Enum):
|
2022-04-29 13:07:17 -05:00
|
|
|
"""
|
|
|
|
|
The possible types for record field values.
|
|
|
|
|
"""
|
2023-01-25 11:29:44 -06:00
|
|
|
String:int = 0
|
|
|
|
|
Integer:int = 1
|
|
|
|
|
Decimal:int = 2
|
|
|
|
|
Date:int = 3
|
|
|
|
|
TimeSpan:int = 4
|
|
|
|
|
Guid:int = 5
|
|
|
|
|
StringList:int = 6
|
|
|
|
|
IntegerList:int = 7
|
|
|
|
|
GuidList:int = 8
|
|
|
|
|
AttachmentList:int = 9
|
|
|
|
|
ScoringGroupList:int = 10
|
|
|
|
|
FileList:int = 11
|
2022-04-18 10:39:20 -05:00
|
|
|
|
|
|
|
|
class Increment(Enum):
|
2022-04-29 13:07:17 -05:00
|
|
|
"""
|
|
|
|
|
The possible values for the increment property of timespan data in an Onspring timespan field.
|
|
|
|
|
"""
|
2023-01-25 11:29:44 -06:00
|
|
|
Seconds:str = "Second(s)"
|
|
|
|
|
Minutes:str = "Minute(s)"
|
|
|
|
|
Hours:str = "Hour(s)"
|
|
|
|
|
Days:str = "Day(s)"
|
|
|
|
|
Weeks:str = "Week(s)"
|
|
|
|
|
Months:str = "Month(s)"
|
|
|
|
|
Years:str = "Year(s)"
|
2022-04-18 10:39:20 -05:00
|
|
|
|
|
|
|
|
class Recurrence(Enum):
|
2022-04-29 13:07:17 -05:00
|
|
|
"""
|
|
|
|
|
The possible values for the recurrence property of timespan data in an Onspring timespan field.
|
|
|
|
|
"""
|
2023-01-25 11:29:44 -06:00
|
|
|
Empty:str = "None"
|
|
|
|
|
EndByDate:str = "EndByDate"
|
|
|
|
|
EndAfterOccurrences:str = 'EndAfterOccurrences'
|
2022-04-18 10:39:20 -05:00
|
|
|
|