@trakit/objects 0.0.16 → 0.0.17
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Companies/NotificationServerEmail.d.ts +0 -2
- package/README.md +24 -24
- package/index.d.ts +1 -1
- package/package.json +37 -37
- package/trakit-objects.min.js +2 -2
- package/objects/API/Arrays.d.ts +0 -46
- package/objects/API/Base.d.ts +0 -19
- package/objects/API/BaseComponent.d.ts +0 -40
- package/objects/API/BaseCompound.d.ts +0 -19
- package/objects/API/Codifier.d.ts +0 -15
- package/objects/API/Constants.d.ts +0 -39
- package/objects/API/Conversion.d.ts +0 -255
- package/objects/API/Encoding.d.ts +0 -9
- package/objects/API/Files.d.ts +0 -21
- package/objects/API/Functions.d.ts +0 -196
- package/objects/API/Geography/Functions.d.ts +0 -236
- package/objects/API/Geography/Interfaces.d.ts +0 -150
- package/objects/API/Geography/LatLng.d.ts +0 -86
- package/objects/API/Geography/LatLngBounds.d.ts +0 -146
- package/objects/API/Geography/Position.d.ts +0 -74
- package/objects/API/Geography/StreetAddress.d.ts +0 -59
- package/objects/API/Geometry/Functions.d.ts +0 -114
- package/objects/API/Geometry/Interfaces.d.ts +0 -111
- package/objects/API/Geometry/Point.d.ts +0 -81
- package/objects/API/Geometry/Radial.d.ts +0 -110
- package/objects/API/Geometry/Rectangle.d.ts +0 -159
- package/objects/API/Geometry/Size.d.ts +0 -58
- package/objects/API/Guid.d.ts +0 -4
- package/objects/API/Interfaces/IAmCompany.d.ts +0 -11
- package/objects/API/Interfaces/IBelongAsset.d.ts +0 -15
- package/objects/API/Interfaces/IBelongBillingProfile.d.ts +0 -15
- package/objects/API/Interfaces/IBelongCompany.d.ts +0 -15
- package/objects/API/Interfaces/IDeserializable.d.ts +0 -13
- package/objects/API/Interfaces/IEnabled.d.ts +0 -10
- package/objects/API/Interfaces/IFileSize.d.ts +0 -9
- package/objects/API/Interfaces/IGlobal.d.ts +0 -11
- package/objects/API/Interfaces/IHavePermissions.d.ts +0 -20
- package/objects/API/Interfaces/IHavePreferences.d.ts +0 -29
- package/objects/API/Interfaces/IIconic.d.ts +0 -15
- package/objects/API/Interfaces/IIdUlong.d.ts +0 -10
- package/objects/API/Interfaces/ILabelled.d.ts +0 -10
- package/objects/API/Interfaces/INamed.d.ts +0 -13
- package/objects/API/Interfaces/IPictured.d.ts +0 -15
- package/objects/API/Interfaces/IRequestable.d.ts +0 -22
- package/objects/API/Interfaces/ISerializable.d.ts +0 -10
- package/objects/API/Interfaces/ISuspendable.d.ts +0 -16
- package/objects/API/Interfaces/IVisual.d.ts +0 -18
- package/objects/API/Maps.d.ts +0 -28
- package/objects/API/Objects.d.ts +0 -5
- package/objects/API/SearchPattern.d.ts +0 -46
- package/objects/API/TimeSpan.d.ts +0 -109
- package/objects/API/Timezone.d.ts +0 -44
- package/objects/API/Timezones.d.ts +0 -7
- package/objects/API/Types.d.ts +0 -132
- package/objects/Accounts/Contact.d.ts +0 -139
- package/objects/Accounts/Machine.d.ts +0 -139
- package/objects/Accounts/MultiFactorType.d.ts +0 -17
- package/objects/Accounts/NotificationMethod.d.ts +0 -17
- package/objects/Accounts/Permissions/Authorizer.d.ts +0 -204
- package/objects/Accounts/Permissions/Permission.d.ts +0 -56
- package/objects/Accounts/Permissions/PermissionEscalation.d.ts +0 -41
- package/objects/Accounts/Permissions/PermissionEscalationState.d.ts +0 -19
- package/objects/Accounts/Permissions/PermissionEscalationType.d.ts +0 -13
- package/objects/Accounts/Permissions/PermissionLevel.d.ts +0 -17
- package/objects/Accounts/Permissions/PermissionMethod.d.ts +0 -13
- package/objects/Accounts/Permissions/PermissionType.d.ts +0 -280
- package/objects/Accounts/SSOIdentityProvider.d.ts +0 -25
- package/objects/Accounts/Session.d.ts +0 -89
- package/objects/Accounts/SessionStatus.d.ts +0 -29
- package/objects/Accounts/SystemsOfUnits.d.ts +0 -13
- package/objects/Accounts/User.d.ts +0 -167
- package/objects/Accounts/UserAdvanced.d.ts +0 -53
- package/objects/Accounts/UserAuthentication.d.ts +0 -55
- package/objects/Accounts/UserGeneral.d.ts +0 -98
- package/objects/Accounts/UserGroup.d.ts +0 -51
- package/objects/Accounts/UserMFA.d.ts +0 -47
- package/objects/Accounts/UserNotifications.d.ts +0 -76
- package/objects/Accounts/UserSSO.d.ts +0 -37
- package/objects/Assets/Asset.d.ts +0 -218
- package/objects/Assets/AssetAdvanced.d.ts +0 -77
- package/objects/Assets/AssetAttribute.d.ts +0 -71
- package/objects/Assets/AssetDispatch.d.ts +0 -55
- package/objects/Assets/AssetGeneral.d.ts +0 -127
- package/objects/Assets/AssetPlaceStatus.d.ts +0 -31
- package/objects/Assets/AssetPlaceStatusType.d.ts +0 -17
- package/objects/Assets/AssetType.d.ts +0 -21
- package/objects/Behaviours/Behaviour.d.ts +0 -78
- package/objects/Behaviours/BehaviourLog.d.ts +0 -95
- package/objects/Behaviours/BehaviourLogType.d.ts +0 -21
- package/objects/Behaviours/BehaviourParameter.d.ts +0 -38
- package/objects/Behaviours/BehaviourParameterType.d.ts +0 -21
- package/objects/Behaviours/BehaviourScript.d.ts +0 -83
- package/objects/Billing/BillableBase.d.ts +0 -83
- package/objects/Billing/BillableSmsProfile.d.ts +0 -26
- package/objects/Billing/BillingCurrency.d.ts +0 -17
- package/objects/Billing/BillingCycle.d.ts +0 -17
- package/objects/Billing/BillingProfile.d.ts +0 -104
- package/objects/Billing/Hosting/BillableHostingBase.d.ts +0 -41
- package/objects/Billing/Hosting/BillableHostingLicense.d.ts +0 -30
- package/objects/Billing/Hosting/BillableHostingLicenseType.d.ts +0 -20
- package/objects/Billing/Hosting/BillableHostingRule.d.ts +0 -30
- package/objects/Billing/Hosting/BillableHostingType.d.ts +0 -41
- package/objects/Billing/Report/BillingReport.d.ts +0 -112
- package/objects/Billing/Report/BillingReportBreakdown.d.ts +0 -34
- package/objects/Billing/Report/BillingReportHostingSummary.d.ts +0 -36
- package/objects/Billing/Report/BillingReportLicenseBreakdown.d.ts +0 -79
- package/objects/Billing/Report/BillingReportServiceBreakdown.d.ts +0 -124
- package/objects/Billing/Report/BillingReportStatus.d.ts +0 -25
- package/objects/Billing/Report/BillingReportSummary.d.ts +0 -49
- package/objects/Companies/ColourStyle.d.ts +0 -25
- package/objects/Companies/Company.d.ts +0 -167
- package/objects/Companies/CompanyDirectory.d.ts +0 -52
- package/objects/Companies/CompanyGeneral.d.ts +0 -55
- package/objects/Companies/CompanyPolicy.d.ts +0 -66
- package/objects/Companies/CompanyReseller.d.ts +0 -166
- package/objects/Companies/CompanyStyle.d.ts +0 -50
- package/objects/Companies/LabelStyle.d.ts +0 -46
- package/objects/Companies/NotificationServerEmail.d.ts +0 -99
- package/objects/Companies/NotificationServerSms.d.ts +0 -25
- package/objects/Companies/PasswordExpiryMode.d.ts +0 -17
- package/objects/Companies/PasswordPolicy.d.ts +0 -51
- package/objects/Companies/SessionMultiUser.d.ts +0 -17
- package/objects/Companies/SessionPolicy.d.ts +0 -47
- package/objects/Dispatch/DispatchDirection.d.ts +0 -53
- package/objects/Dispatch/DispatchJob.d.ts +0 -107
- package/objects/Dispatch/DispatchJobPriority.d.ts +0 -25
- package/objects/Dispatch/DispatchStep.d.ts +0 -99
- package/objects/Dispatch/DispatchStepState.d.ts +0 -27
- package/objects/Dispatch/DispatchStepStatus.d.ts +0 -21
- package/objects/Dispatch/DispatchTask.d.ts +0 -154
- package/objects/Dispatch/DispatchTaskStatus.d.ts +0 -50
- package/objects/Hosting/Document.d.ts +0 -70
- package/objects/Hosting/Fields/FormFieldAttachments.d.ts +0 -31
- package/objects/Hosting/Fields/FormFieldBase.d.ts +0 -56
- package/objects/Hosting/Fields/FormFieldBase_fromJSON.d.ts +0 -1
- package/objects/Hosting/Fields/FormFieldBoolean.d.ts +0 -38
- package/objects/Hosting/Fields/FormFieldChoice.d.ts +0 -46
- package/objects/Hosting/Fields/FormFieldDate.d.ts +0 -26
- package/objects/Hosting/Fields/FormFieldNumeric.d.ts +0 -54
- package/objects/Hosting/Fields/FormFieldNumericSize.d.ts +0 -32
- package/objects/Hosting/Fields/FormFieldSignature.d.ts +0 -17
- package/objects/Hosting/Fields/FormFieldText.d.ts +0 -32
- package/objects/Hosting/Fields/FormFieldTime.d.ts +0 -37
- package/objects/Hosting/Fields/FormFieldTimezone.d.ts +0 -14
- package/objects/Hosting/FormFieldType.d.ts +0 -127
- package/objects/Hosting/FormResult.d.ts +0 -95
- package/objects/Hosting/FormTemplate.d.ts +0 -80
- package/objects/Images/Dashcam.d.ts +0 -63
- package/objects/Images/DashcamBase.d.ts +0 -97
- package/objects/Images/DashcamLive.d.ts +0 -36
- package/objects/Images/DashcamMediaType.d.ts +0 -17
- package/objects/Images/Icon.d.ts +0 -66
- package/objects/Images/IconGlyph.d.ts +0 -47
- package/objects/Images/IconLabel.d.ts +0 -29
- package/objects/Images/IconLayer.d.ts +0 -33
- package/objects/Images/Picture.d.ts +0 -72
- package/objects/Maintenance/MaintenanceInterval.d.ts +0 -48
- package/objects/Maintenance/MaintenanceJob.d.ts +0 -134
- package/objects/Maintenance/MaintenanceJobStatus.d.ts +0 -21
- package/objects/Maintenance/MaintenanceSchedule.d.ts +0 -118
- package/objects/Messaging/AlertPriority.d.ts +0 -17
- package/objects/Messaging/AssetAlert.d.ts +0 -29
- package/objects/Messaging/AssetMessage.d.ts +0 -40
- package/objects/Messaging/MessageBase.d.ts +0 -99
- package/objects/Messaging/MessageFolder.d.ts +0 -13
- package/objects/Messaging/MessageStatus.d.ts +0 -29
- package/objects/Messaging/MessageType.d.ts +0 -33
- package/objects/Places/Place.d.ts +0 -114
- package/objects/Places/PlaceType.d.ts +0 -25
- package/objects/Providers/Config/ProviderConfig.d.ts +0 -70
- package/objects/Providers/Config/ProviderRegistration.d.ts +0 -119
- package/objects/Providers/Config/ProviderScript.d.ts +0 -86
- package/objects/Providers/Config/ProviderScriptBlock.d.ts +0 -41
- package/objects/Providers/Config/ProviderScriptParameter.d.ts +0 -49
- package/objects/Providers/Config/ProviderScriptParameterType.d.ts +0 -17
- package/objects/Providers/Configuration/ProviderConfiguration.d.ts +0 -66
- package/objects/Providers/Configuration/ProviderConfigurationNode.d.ts +0 -66
- package/objects/Providers/Configuration/ProviderConfigurationType.d.ts +0 -62
- package/objects/Providers/Configuration/ProviderGeofenceBase.d.ts +0 -29
- package/objects/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +0 -1
- package/objects/Providers/Configuration/ProviderGeofenceCircular.d.ts +0 -28
- package/objects/Providers/Configuration/ProviderGeofencePoint.d.ts +0 -12
- package/objects/Providers/Configuration/ProviderGeofencePolygon.d.ts +0 -23
- package/objects/Providers/Configuration/ProviderGeofenceRectangle.d.ts +0 -28
- package/objects/Providers/Provider.d.ts +0 -205
- package/objects/Providers/ProviderAdvanced.d.ts +0 -50
- package/objects/Providers/ProviderCommand.d.ts +0 -36
- package/objects/Providers/ProviderCommandStatus.d.ts +0 -29
- package/objects/Providers/ProviderCommandType.d.ts +0 -37
- package/objects/Providers/ProviderControl.d.ts +0 -41
- package/objects/Providers/ProviderData.d.ts +0 -30
- package/objects/Providers/ProviderGeneral.d.ts +0 -121
- package/objects/Providers/ProviderType.d.ts +0 -106
- package/objects/Reports/ReportBreakdown.d.ts +0 -49
- package/objects/Reports/ReportBreakdownJob.d.ts +0 -37
- package/objects/Reports/ReportBreakdownMessage.d.ts +0 -40
- package/objects/Reports/ReportBreakdownTask.d.ts +0 -46
- package/objects/Reports/ReportBreakdown_fromJSON.d.ts +0 -1
- package/objects/Reports/ReportFilterMode.d.ts +0 -17
- package/objects/Reports/ReportNotifications.d.ts +0 -31
- package/objects/Reports/ReportOptions.d.ts +0 -52
- package/objects/Reports/ReportParameter.d.ts +0 -26
- package/objects/Reports/ReportParameterType.d.ts +0 -59
- package/objects/Reports/ReportRecurrence.d.ts +0 -54
- package/objects/Reports/ReportRecurrenceType.d.ts +0 -34
- package/objects/Reports/ReportResult.d.ts +0 -169
- package/objects/Reports/ReportResultData.d.ts +0 -17
- package/objects/Reports/ReportSchedule.d.ts +0 -111
- package/objects/Reports/ReportScorecard.d.ts +0 -38
- package/objects/Reports/ReportScorecardParameter.d.ts +0 -31
- package/objects/Reports/ReportScorecardRules.d.ts +0 -26
- package/objects/Reports/ReportStatus.d.ts +0 -29
- package/objects/Reports/ReportSummary.d.ts +0 -90
- package/objects/Reports/ReportSummaryReason.d.ts +0 -27
- package/objects/Reports/ReportTemplate.d.ts +0 -81
- package/objects/Reports/ReportTotal.d.ts +0 -47
- package/objects/Reports/ReportType.d.ts +0 -42
- package/objects/index.d.ts +0 -406
- package/objects/storage.d.ts +0 -176
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
2
|
-
import { byte, ipv4, JsonObject, ushort } from "../API/Types";
|
|
3
|
-
import { SessionMultiUser } from "./SessionMultiUser";
|
|
4
|
-
/**
|
|
5
|
-
* The session lifetime policy.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SessionPolicy implements ISerializable {
|
|
8
|
-
/**
|
|
9
|
-
*
|
|
10
|
-
* @param json
|
|
11
|
-
*/
|
|
12
|
-
static fromJSON(json: JsonObject): SessionPolicy;
|
|
13
|
-
/**
|
|
14
|
-
* The list of applications users are allowed to use to create sessions.
|
|
15
|
-
*/
|
|
16
|
-
applications: string[];
|
|
17
|
-
/**
|
|
18
|
-
* Ranges of IPv4 addresses (using Cisco notation) to limit session creation to certain IPs.
|
|
19
|
-
*/
|
|
20
|
-
ipv4Ranges: ipv4[];
|
|
21
|
-
/**
|
|
22
|
-
* Restrict session creation to only the provided IPv4 ranges ( /**
|
|
23
|
-
* Defines the behaviour of the system when a user creates multiple sessions.
|
|
24
|
-
*/
|
|
25
|
-
multiUser: SessionMultiUser;
|
|
26
|
-
/**
|
|
27
|
-
* Defines whether a session should be automatically killed when the connection breaks.
|
|
28
|
-
*/
|
|
29
|
-
idleAllowed: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* The lifetime duration of a session in minutes.
|
|
32
|
-
*/
|
|
33
|
-
expireTimeout: ushort;
|
|
34
|
-
/**
|
|
35
|
-
* The maximum number of sessions allowed per user.
|
|
36
|
-
*/
|
|
37
|
-
maxSessions: byte;
|
|
38
|
-
constructor(applications?: string[], ipv4Ranges?: ipv4[], multiUser?: SessionMultiUser, idleAllowed?: boolean, expireTimeout?: ushort, maxSessions?: byte);
|
|
39
|
-
toJSON(): {
|
|
40
|
-
applications: string[];
|
|
41
|
-
ipv4Ranges: string[];
|
|
42
|
-
multiUser: SessionMultiUser;
|
|
43
|
-
idleAllowed: boolean;
|
|
44
|
-
expireTimeout: number | null;
|
|
45
|
-
maxSessions: number | null;
|
|
46
|
-
};
|
|
47
|
-
}
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import { ILatLng } from "../API/Geography/Interfaces";
|
|
2
|
-
import { LatLng } from "../API/Geography/LatLng";
|
|
3
|
-
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
4
|
-
import { TimeSpan } from "../API/TimeSpan";
|
|
5
|
-
import { double, timespan, ulong, JsonObject } from "../API/Types";
|
|
6
|
-
/**
|
|
7
|
-
* Driving directions and details like duration and distance.
|
|
8
|
-
*/
|
|
9
|
-
export declare class DispatchDirection implements ISerializable {
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* @param json
|
|
13
|
-
*/
|
|
14
|
-
static fromJSON(json: JsonObject): DispatchDirection;
|
|
15
|
-
/**
|
|
16
|
-
* The total distance of these directions (including sub-directions if applicable).
|
|
17
|
-
*/
|
|
18
|
-
distance: double;
|
|
19
|
-
/**
|
|
20
|
-
* The total duration of these directions (including sub-directions if applicable).
|
|
21
|
-
*/
|
|
22
|
-
duration: TimeSpan;
|
|
23
|
-
/**
|
|
24
|
-
* Text hint for the driver for the action to perform.
|
|
25
|
-
*/
|
|
26
|
-
instructions: string;
|
|
27
|
-
/**
|
|
28
|
-
* A <format id="polyline">route path</format> to display on a map.
|
|
29
|
-
*/
|
|
30
|
-
path: LatLng[];
|
|
31
|
-
/**
|
|
32
|
-
* For complex routes, the sub-directions provide a breakdown or additional details.
|
|
33
|
-
*/
|
|
34
|
-
directions: DispatchDirection[];
|
|
35
|
-
/**
|
|
36
|
-
* Unique identifier of the {@link DispatchJob} or {@link DispatchTask}.
|
|
37
|
-
*/
|
|
38
|
-
job: ulong;
|
|
39
|
-
/**
|
|
40
|
-
* The {@link DispatchStep.id}, if this direction is for {@link DispatchJob}s.
|
|
41
|
-
*/
|
|
42
|
-
step: ulong;
|
|
43
|
-
constructor(distance?: double, duration?: TimeSpan | timespan | number, instructions?: string, path?: (ILatLng | JsonObject)[], directions?: DispatchDirection[], job?: ulong, step?: ulong);
|
|
44
|
-
toJSON(): {
|
|
45
|
-
distance: number;
|
|
46
|
-
duration: string | null;
|
|
47
|
-
instructions: string;
|
|
48
|
-
path: any[];
|
|
49
|
-
directions: any[];
|
|
50
|
-
job: number | null;
|
|
51
|
-
step: number | null;
|
|
52
|
-
};
|
|
53
|
-
}
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { BaseComponent } from "../API/BaseComponent";
|
|
2
|
-
import { IBelongAsset } from "../API/Interfaces/IBelongAsset";
|
|
3
|
-
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
4
|
-
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
5
|
-
import { ILabelled } from "../API/Interfaces/ILabelled";
|
|
6
|
-
import { codified, JsonObject, ulong } from "../API/Types";
|
|
7
|
-
import { Asset } from "../Assets/Asset";
|
|
8
|
-
import { Company } from "../Companies/Company";
|
|
9
|
-
import { FormResult } from "../Hosting/FormResult";
|
|
10
|
-
import { DispatchJobPriority } from "./DispatchJobPriority";
|
|
11
|
-
import { DispatchStep } from "./DispatchStep";
|
|
12
|
-
/**
|
|
13
|
-
* Some work that needs to be done by performing one or more {@link DispatchStep}s.
|
|
14
|
-
*/
|
|
15
|
-
export declare class DispatchJob extends BaseComponent implements IIdUlong, ILabelled, IBelongCompany, IBelongAsset {
|
|
16
|
-
/**
|
|
17
|
-
* Unique identifier of this job.
|
|
18
|
-
*/
|
|
19
|
-
id: ulong;
|
|
20
|
-
/**
|
|
21
|
-
* The company to which this job belongs.
|
|
22
|
-
* {@link Company.id}
|
|
23
|
-
*/
|
|
24
|
-
companyId: ulong;
|
|
25
|
-
/**
|
|
26
|
-
* The {@link Company} to which this job belongs.
|
|
27
|
-
*/
|
|
28
|
-
get company(): Company;
|
|
29
|
-
/**
|
|
30
|
-
* The {@link Asset} to which this job belongs.
|
|
31
|
-
* This value is null when unassigned.
|
|
32
|
-
* {@link Asset.id}
|
|
33
|
-
*/
|
|
34
|
-
assetId: ulong;
|
|
35
|
-
/**
|
|
36
|
-
* The {@link Asset} to which this job belongs.
|
|
37
|
-
* This value is null when unassigned.
|
|
38
|
-
*/
|
|
39
|
-
get asset(): Asset;
|
|
40
|
-
set asset(value: Asset);
|
|
41
|
-
/**
|
|
42
|
-
* A name for the work needed to be performed.
|
|
43
|
-
*/
|
|
44
|
-
name: string;
|
|
45
|
-
/**
|
|
46
|
-
* Name/value collections of custom fields used to refer to external systems.
|
|
47
|
-
*/
|
|
48
|
-
references: Map<string, string>;
|
|
49
|
-
/**
|
|
50
|
-
* Instructions (filled out by dispatcher) for the field-employee to help them complete the job.
|
|
51
|
-
*/
|
|
52
|
-
instructions: string;
|
|
53
|
-
/**
|
|
54
|
-
* A list of hosted {@link FormResult.id} attached to this job.
|
|
55
|
-
*/
|
|
56
|
-
formIds: ulong[];
|
|
57
|
-
/**
|
|
58
|
-
* A list of hosted {@link FormResult}s attached to this job.
|
|
59
|
-
*/
|
|
60
|
-
get forms(): FormResult[];
|
|
61
|
-
set forms(value: FormResult[]);
|
|
62
|
-
/**
|
|
63
|
-
* The importance of this job when scheduling for an asset.
|
|
64
|
-
*/
|
|
65
|
-
priority: DispatchJobPriority;
|
|
66
|
-
/**
|
|
67
|
-
* Codified label names used to relate (unassigned) jobs to {@link Asset}s.
|
|
68
|
-
*/
|
|
69
|
-
labels: codified[];
|
|
70
|
-
/**
|
|
71
|
-
* The codified status tag names reflecting the conditions of this job.
|
|
72
|
-
*/
|
|
73
|
-
tags: codified[];
|
|
74
|
-
/**
|
|
75
|
-
* A list of coordinates to visit in order to carry out the work for this job.
|
|
76
|
-
*/
|
|
77
|
-
steps: DispatchStep[];
|
|
78
|
-
/**
|
|
79
|
-
* When this job was originally created.
|
|
80
|
-
*/
|
|
81
|
-
created: Date;
|
|
82
|
-
/**
|
|
83
|
-
* Clocked-in driver name who made the update.
|
|
84
|
-
* Null if not clocked-in, or no changes have been made.
|
|
85
|
-
*/
|
|
86
|
-
driver: string;
|
|
87
|
-
toJSON(): {
|
|
88
|
-
id: number | null;
|
|
89
|
-
company: number | null;
|
|
90
|
-
v: number[];
|
|
91
|
-
driver: string;
|
|
92
|
-
created: string | null;
|
|
93
|
-
name: string;
|
|
94
|
-
instructions: string;
|
|
95
|
-
priority: DispatchJobPriority;
|
|
96
|
-
references: JsonObject;
|
|
97
|
-
labels: string[];
|
|
98
|
-
tags: string[];
|
|
99
|
-
forms: number[];
|
|
100
|
-
steps: any[];
|
|
101
|
-
};
|
|
102
|
-
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
103
|
-
/**
|
|
104
|
-
* The {@link id} is the key.
|
|
105
|
-
*/
|
|
106
|
-
getKey(): number;
|
|
107
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A value assigned to {@link DispatchJob}s in order to weigh them when optimizing a route.
|
|
3
|
-
*/
|
|
4
|
-
export declare enum DispatchJobPriority {
|
|
5
|
-
/**
|
|
6
|
-
* Will be done last, after all others, if at all.
|
|
7
|
-
*/
|
|
8
|
-
standby = "standby",
|
|
9
|
-
/**
|
|
10
|
-
* Low priority jobs are assigned towards the end of a dispatch, unless they are in very close proximity to another job.
|
|
11
|
-
*/
|
|
12
|
-
low = "low",
|
|
13
|
-
/**
|
|
14
|
-
* A normal job that will be done at the first opportunity.
|
|
15
|
-
*/
|
|
16
|
-
medium = "medium",
|
|
17
|
-
/**
|
|
18
|
-
* More important job that will be routed to first unless the next high importance job is much farther away.
|
|
19
|
-
*/
|
|
20
|
-
high = "high",
|
|
21
|
-
/**
|
|
22
|
-
* Must be done first, before all others.
|
|
23
|
-
*/
|
|
24
|
-
urgent = "urgent"
|
|
25
|
-
}
|
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { ILatLng } from "../API/Geography/Interfaces";
|
|
2
|
-
import { LatLng } from "../API/Geography/LatLng";
|
|
3
|
-
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
4
|
-
import { INamed } from "../API/Interfaces/INamed";
|
|
5
|
-
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
6
|
-
import { TimeSpan } from "../API/TimeSpan";
|
|
7
|
-
import { datetime, nothing, timespan, ulong, JsonObject } from "../API/Types";
|
|
8
|
-
import { Place } from "../Places/Place";
|
|
9
|
-
import { DispatchStepState } from "./DispatchStepState";
|
|
10
|
-
import { DispatchStepStatus } from "./DispatchStepStatus";
|
|
11
|
-
/**
|
|
12
|
-
* A portion of work for a {@link DispatchJob}.
|
|
13
|
-
*/
|
|
14
|
-
export declare class DispatchStep implements IIdUlong, INamed, ISerializable {
|
|
15
|
-
/**
|
|
16
|
-
*
|
|
17
|
-
* @param json
|
|
18
|
-
*/
|
|
19
|
-
static fromJSON(json: JsonObject): DispatchStep;
|
|
20
|
-
/**
|
|
21
|
-
* Identifier for this {@link DispatchStep}.
|
|
22
|
-
* This value is unique per {@link DispatchJob}, but is not unique system-wide.
|
|
23
|
-
*/
|
|
24
|
-
id: ulong;
|
|
25
|
-
/**
|
|
26
|
-
* A name for the work needed to be performed.
|
|
27
|
-
*/
|
|
28
|
-
name: string;
|
|
29
|
-
/**
|
|
30
|
-
* The most recently updated state for this step.
|
|
31
|
-
*/
|
|
32
|
-
get status(): DispatchStepStatus;
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
*/
|
|
36
|
-
get updated(): Date;
|
|
37
|
-
/**
|
|
38
|
-
* The progress of this step.
|
|
39
|
-
*/
|
|
40
|
-
states: Map<DispatchStepStatus, DispatchStepState>;
|
|
41
|
-
/**
|
|
42
|
-
* The optional estimated time of arrival for the asset.
|
|
43
|
-
*/
|
|
44
|
-
eta: Date;
|
|
45
|
-
/**
|
|
46
|
-
* The optional expected duration of the work for this step.
|
|
47
|
-
*/
|
|
48
|
-
duration: TimeSpan;
|
|
49
|
-
/**
|
|
50
|
-
* The total number of seconds in the {@link duration}.
|
|
51
|
-
*/
|
|
52
|
-
get timeOnSite(): number;
|
|
53
|
-
set timeOnSite(value: number);
|
|
54
|
-
/**
|
|
55
|
-
* An optional place which can be used as a template instead of providing lat/long coordinates and a street address.
|
|
56
|
-
* {@link Place.id}
|
|
57
|
-
*/
|
|
58
|
-
placeId: ulong;
|
|
59
|
-
/**
|
|
60
|
-
* An optional place which can be used as a template instead of providing lat/long coordinates and a street address.
|
|
61
|
-
* {@link Place.id}
|
|
62
|
-
*/
|
|
63
|
-
get place(): Place;
|
|
64
|
-
set place(value: Place);
|
|
65
|
-
/**
|
|
66
|
-
* The street address of where the step must be completed.
|
|
67
|
-
*/
|
|
68
|
-
address: string;
|
|
69
|
-
/**
|
|
70
|
-
* The lat/long coordinates of where the step must be {@link DispatchStepStatus.completed}.
|
|
71
|
-
*/
|
|
72
|
-
latlng: LatLng | null;
|
|
73
|
-
/**
|
|
74
|
-
* Notes about the status of the work filled in by field-employee.
|
|
75
|
-
*/
|
|
76
|
-
notes: string;
|
|
77
|
-
/**
|
|
78
|
-
* Indicates whether this step requires a signature.
|
|
79
|
-
*/
|
|
80
|
-
signature: boolean;
|
|
81
|
-
/**
|
|
82
|
-
* The name of the person who signed the step's completion.
|
|
83
|
-
*/
|
|
84
|
-
signatory: string;
|
|
85
|
-
constructor(id?: ulong | nothing, name?: string | nothing, states?: Map<DispatchStepStatus, DispatchStepState> | nothing, eta?: Date | number | datetime | nothing, duration?: TimeSpan | timespan | number | nothing, place?: ulong | nothing, address?: string | nothing, latlng?: ILatLng | JsonObject | nothing, notes?: string | nothing, signature?: boolean | nothing, signatory?: string | nothing);
|
|
86
|
-
toJSON(): {
|
|
87
|
-
id: number | null;
|
|
88
|
-
address: string;
|
|
89
|
-
duration: string;
|
|
90
|
-
eta: string;
|
|
91
|
-
latlng: ILatLng | null;
|
|
92
|
-
name: string;
|
|
93
|
-
notes: string;
|
|
94
|
-
place: number | null;
|
|
95
|
-
signature: boolean;
|
|
96
|
-
signatory: string;
|
|
97
|
-
states: JsonObject;
|
|
98
|
-
};
|
|
99
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { ILatLng } from "../API/Geography/Interfaces";
|
|
2
|
-
import { LatLng } from "../API/Geography/LatLng";
|
|
3
|
-
import { ISerializable } from "../API/Interfaces/ISerializable";
|
|
4
|
-
import { datetime, JsonObject, nothing } from "../API/Types";
|
|
5
|
-
/**
|
|
6
|
-
* Details about the lifetime of a {@link DispatchStep}.
|
|
7
|
-
*/
|
|
8
|
-
export declare class DispatchStepState implements ISerializable {
|
|
9
|
-
/**
|
|
10
|
-
*
|
|
11
|
-
* @param json
|
|
12
|
-
*/
|
|
13
|
-
static fromJSON(json: JsonObject): DispatchStepState;
|
|
14
|
-
/**
|
|
15
|
-
* A timestamp from when the lifetime was updated.
|
|
16
|
-
*/
|
|
17
|
-
updated: Date;
|
|
18
|
-
/**
|
|
19
|
-
* The coordinates from the {@link Asset} when the update happened.
|
|
20
|
-
*/
|
|
21
|
-
latlng: LatLng | null;
|
|
22
|
-
constructor(updated?: Date | number | datetime | nothing, latlng?: ILatLng | JsonObject | nothing);
|
|
23
|
-
toJSON(): {
|
|
24
|
-
updated: string | null;
|
|
25
|
-
latlng: ILatLng | null;
|
|
26
|
-
};
|
|
27
|
-
}
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The lifetime of all {@link DispatchStep}s (in order).
|
|
3
|
-
*/
|
|
4
|
-
export declare enum DispatchStepStatus {
|
|
5
|
-
/**
|
|
6
|
-
* The {@link DispatchStep} has not yet been started.
|
|
7
|
-
*/
|
|
8
|
-
pending = "pending",
|
|
9
|
-
/**
|
|
10
|
-
* The asset is on the way to the {@link DispatchStep}'s location next.
|
|
11
|
-
*/
|
|
12
|
-
onRoute = "onRoute",
|
|
13
|
-
/**
|
|
14
|
-
* The asset has arrived at the {@link DispatchStep}'s location.
|
|
15
|
-
*/
|
|
16
|
-
arrived = "arrived",
|
|
17
|
-
/**
|
|
18
|
-
* The {@link DispatchStep} is done (or the asset has departed the location).
|
|
19
|
-
*/
|
|
20
|
-
completed = "completed"
|
|
21
|
-
}
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
import { BaseComponent } from "../API/BaseComponent";
|
|
2
|
-
import { LatLng } from "../API/Geography/LatLng";
|
|
3
|
-
import { IBelongAsset } from "../API/Interfaces/IBelongAsset";
|
|
4
|
-
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
5
|
-
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
6
|
-
import { TimeSpan } from "../API/TimeSpan";
|
|
7
|
-
import { JsonObject, ulong } from "../API/Types";
|
|
8
|
-
import { Asset } from "../Assets/Asset";
|
|
9
|
-
import { Company } from "../Companies/Company";
|
|
10
|
-
import { Document } from "../Hosting/Document";
|
|
11
|
-
import { Place } from "../Places/Place";
|
|
12
|
-
import { DispatchTaskStatus } from "./DispatchTaskStatus";
|
|
13
|
-
/**
|
|
14
|
-
* A task assigned to an asset which represents a coordinate on the map which must be visited.
|
|
15
|
-
* @deprecated Use DispatchJob instead
|
|
16
|
-
*/
|
|
17
|
-
export declare class DispatchTask extends BaseComponent implements IIdUlong, IBelongCompany, IBelongAsset {
|
|
18
|
-
/**
|
|
19
|
-
* Unique identifier of this task.
|
|
20
|
-
*/
|
|
21
|
-
id: ulong;
|
|
22
|
-
/**
|
|
23
|
-
* The company to which this task belongs.
|
|
24
|
-
* {@link Company.id}
|
|
25
|
-
*/
|
|
26
|
-
companyId: ulong;
|
|
27
|
-
/**
|
|
28
|
-
* The {@link Company} to which this task belongs.
|
|
29
|
-
*/
|
|
30
|
-
get company(): Company;
|
|
31
|
-
/**
|
|
32
|
-
* The asset to which this task belongs.
|
|
33
|
-
* {@link Asset.id}
|
|
34
|
-
*/
|
|
35
|
-
assetId: ulong;
|
|
36
|
-
/**
|
|
37
|
-
* The {@link Asset} to which this task belongs.
|
|
38
|
-
*/
|
|
39
|
-
get asset(): Asset;
|
|
40
|
-
set asset(value: Asset);
|
|
41
|
-
/**
|
|
42
|
-
* The name of this task or the work needed to be performed.
|
|
43
|
-
*/
|
|
44
|
-
name: string;
|
|
45
|
-
/**
|
|
46
|
-
* Name/value collections of custom fields used to refer to external systems.
|
|
47
|
-
*/
|
|
48
|
-
references: Map<string, string>;
|
|
49
|
-
/**
|
|
50
|
-
* An optional place which can be used as a template instead of providing lat/long coordinates and a street address.
|
|
51
|
-
* {@link Place.id}
|
|
52
|
-
*/
|
|
53
|
-
placeId: ulong;
|
|
54
|
-
/**
|
|
55
|
-
* An optional place which can be used as a template instead of providing lat/long coordinates and a street address.
|
|
56
|
-
* {@link Place.id}
|
|
57
|
-
*/
|
|
58
|
-
get place(): Place;
|
|
59
|
-
set place(value: Place);
|
|
60
|
-
/**
|
|
61
|
-
* The street address of where the task must be completed.
|
|
62
|
-
*/
|
|
63
|
-
address: string;
|
|
64
|
-
/**
|
|
65
|
-
* The lat/long coordinates of where the task must be completed.
|
|
66
|
-
*/
|
|
67
|
-
latlng: LatLng;
|
|
68
|
-
/**
|
|
69
|
-
* The progress of this task.
|
|
70
|
-
*/
|
|
71
|
-
status: DispatchTaskStatus;
|
|
72
|
-
/**
|
|
73
|
-
* When this task was created.
|
|
74
|
-
*/
|
|
75
|
-
created: Date;
|
|
76
|
-
/**
|
|
77
|
-
* The optional estimated time of arrival for the asset.
|
|
78
|
-
*/
|
|
79
|
-
eta: Date;
|
|
80
|
-
/**
|
|
81
|
-
* The optional expected duration of the work for this task.
|
|
82
|
-
*/
|
|
83
|
-
duration: TimeSpan;
|
|
84
|
-
/**
|
|
85
|
-
* The date/time stamp of when the asset arrived at this task.
|
|
86
|
-
*/
|
|
87
|
-
arrived: Date;
|
|
88
|
-
/**
|
|
89
|
-
* The date/time stamp of when this task was completed.
|
|
90
|
-
*/
|
|
91
|
-
completed: Date;
|
|
92
|
-
/**
|
|
93
|
-
* Instructions (filled out by dispatcher) for the field-employee to help them completed the task.
|
|
94
|
-
*/
|
|
95
|
-
instructions: string;
|
|
96
|
-
/**
|
|
97
|
-
* Indicates whether the task has a signature.
|
|
98
|
-
*/
|
|
99
|
-
signature: boolean;
|
|
100
|
-
/**
|
|
101
|
-
* The name of the person who signed the task's completion.
|
|
102
|
-
*/
|
|
103
|
-
signatory: string;
|
|
104
|
-
/**
|
|
105
|
-
* Notes about the status of the work filled in by field-employee.
|
|
106
|
-
*/
|
|
107
|
-
notes: string;
|
|
108
|
-
/**
|
|
109
|
-
* A list of hosted {@link Document} identifiers attached to this task.
|
|
110
|
-
*/
|
|
111
|
-
attachmentIds: ulong[];
|
|
112
|
-
/**
|
|
113
|
-
* A list of hosted {@link Document} identifiers attached to this task.
|
|
114
|
-
*/
|
|
115
|
-
get attachments(): Document[];
|
|
116
|
-
set attachments(value: Document[]);
|
|
117
|
-
/**
|
|
118
|
-
* Either the user's login, or provider's identifier that changed this task
|
|
119
|
-
*/
|
|
120
|
-
updatedBy: string;
|
|
121
|
-
/**
|
|
122
|
-
* Timestamp from the last change made to this task
|
|
123
|
-
*/
|
|
124
|
-
updatedUtc: Date;
|
|
125
|
-
toJSON(): {
|
|
126
|
-
id: number | null;
|
|
127
|
-
company: number | null;
|
|
128
|
-
asset: number | null;
|
|
129
|
-
v: number[];
|
|
130
|
-
name: string;
|
|
131
|
-
references: JsonObject;
|
|
132
|
-
place: number | null;
|
|
133
|
-
address: string;
|
|
134
|
-
latlng: import("../API/Geography/Interfaces").ILatLng;
|
|
135
|
-
status: DispatchTaskStatus;
|
|
136
|
-
created: string | null;
|
|
137
|
-
eta: string | null;
|
|
138
|
-
duration: string;
|
|
139
|
-
arrived: string | null;
|
|
140
|
-
completed: string | null;
|
|
141
|
-
instructions: string;
|
|
142
|
-
signature: boolean;
|
|
143
|
-
signatory: string;
|
|
144
|
-
notes: string;
|
|
145
|
-
attachments: number[];
|
|
146
|
-
updatedBy: string;
|
|
147
|
-
updatedUtc: string | null;
|
|
148
|
-
};
|
|
149
|
-
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
150
|
-
/**
|
|
151
|
-
* The {@link id} is the key.
|
|
152
|
-
*/
|
|
153
|
-
getKey(): number;
|
|
154
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Tasks have a lifetime and each status represents a task's progress through it's life.
|
|
3
|
-
* @deprecated Use {@link DispatchStepStatus} instead
|
|
4
|
-
*/
|
|
5
|
-
export declare enum DispatchTaskStatus {
|
|
6
|
-
/**
|
|
7
|
-
* The task has been created, but not yet assigned to an asset.
|
|
8
|
-
*/
|
|
9
|
-
created = "created",
|
|
10
|
-
/**
|
|
11
|
-
* The task has been given to an asset (and delivered to the asset's primary device).
|
|
12
|
-
*/
|
|
13
|
-
queued = "queued",
|
|
14
|
-
/**
|
|
15
|
-
* The asset is on the way to the task's location next.
|
|
16
|
-
*/
|
|
17
|
-
onRoute = "onRoute",
|
|
18
|
-
/**
|
|
19
|
-
* The asset has arrived at the task's location.
|
|
20
|
-
*/
|
|
21
|
-
arrived = "arrived",
|
|
22
|
-
/**
|
|
23
|
-
* The task is done.
|
|
24
|
-
*/
|
|
25
|
-
completed = "completed",
|
|
26
|
-
/**
|
|
27
|
-
* The task was cancelled by either the asset or a user.
|
|
28
|
-
*/
|
|
29
|
-
cancelled = "cancelled",
|
|
30
|
-
/**
|
|
31
|
-
* An item was picked-up for this task.
|
|
32
|
-
*/
|
|
33
|
-
pickedUp = "pickedUp",
|
|
34
|
-
/**
|
|
35
|
-
* An item was dropped-off for this task.
|
|
36
|
-
*/
|
|
37
|
-
droppedOff = "droppedOff",
|
|
38
|
-
/**
|
|
39
|
-
* The asset is waiting and can't complete the task.
|
|
40
|
-
*/
|
|
41
|
-
waiting = "waiting",
|
|
42
|
-
/**
|
|
43
|
-
* An item associated with this task is damaged.
|
|
44
|
-
*/
|
|
45
|
-
damaged = "damaged",
|
|
46
|
-
/**
|
|
47
|
-
* The task couldn't be completed by the asset.
|
|
48
|
-
*/
|
|
49
|
-
unsuccessful = "unsuccessful"
|
|
50
|
-
}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { BaseComponent } from "../API/BaseComponent";
|
|
2
|
-
import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
|
|
3
|
-
import { IFileSize } from "../API/Interfaces/IFileSize";
|
|
4
|
-
import { IIdUlong } from "../API/Interfaces/IIdUlong";
|
|
5
|
-
import { INamed } from "../API/Interfaces/INamed";
|
|
6
|
-
import { ulong, JsonObject } from "../API/Types";
|
|
7
|
-
import { Company } from "../Companies/Company";
|
|
8
|
-
/**
|
|
9
|
-
* A file stored temporarily by the system.
|
|
10
|
-
*/
|
|
11
|
-
export declare class Document extends BaseComponent implements IIdUlong, INamed, IBelongCompany, IFileSize {
|
|
12
|
-
/**
|
|
13
|
-
* Unique identifier of this file.
|
|
14
|
-
*/
|
|
15
|
-
id: ulong;
|
|
16
|
-
/**
|
|
17
|
-
* The company to which this file belongs.
|
|
18
|
-
* {@link Company.id}
|
|
19
|
-
*/
|
|
20
|
-
companyId: ulong;
|
|
21
|
-
/**
|
|
22
|
-
* The {@link Company} to which this file belongs.
|
|
23
|
-
*/
|
|
24
|
-
get company(): Company;
|
|
25
|
-
/**
|
|
26
|
-
* The file name of this file.
|
|
27
|
-
*/
|
|
28
|
-
name: string;
|
|
29
|
-
/**
|
|
30
|
-
* Notes about this file.
|
|
31
|
-
*/
|
|
32
|
-
notes: string;
|
|
33
|
-
/**
|
|
34
|
-
* The URL/path to find this file.
|
|
35
|
-
*/
|
|
36
|
-
src: string;
|
|
37
|
-
/**
|
|
38
|
-
* The file-size on the disk.
|
|
39
|
-
*/
|
|
40
|
-
bytes: ulong;
|
|
41
|
-
/**
|
|
42
|
-
* The MIME type of the file.
|
|
43
|
-
*/
|
|
44
|
-
mime: string;
|
|
45
|
-
/**
|
|
46
|
-
* The date and time this fill will be automatically purged from our system.
|
|
47
|
-
*/
|
|
48
|
-
expiry: Date;
|
|
49
|
-
/**
|
|
50
|
-
* Name/value collections of custom fields used to refer to external systems.
|
|
51
|
-
*/
|
|
52
|
-
references: Map<string, string>;
|
|
53
|
-
toJSON(): {
|
|
54
|
-
id: number | null;
|
|
55
|
-
v: number[];
|
|
56
|
-
company: number;
|
|
57
|
-
name: string;
|
|
58
|
-
notes: string;
|
|
59
|
-
src: string;
|
|
60
|
-
mime: string;
|
|
61
|
-
bytes: number;
|
|
62
|
-
expiry: string | null;
|
|
63
|
-
references: Map<string, any>;
|
|
64
|
-
};
|
|
65
|
-
fromJSON(json: JsonObject, force?: boolean): boolean;
|
|
66
|
-
/**
|
|
67
|
-
* The {@link id} is the key.
|
|
68
|
-
*/
|
|
69
|
-
getKey(): number;
|
|
70
|
-
}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { byte, nothing, ulong } from '../../API/Types';
|
|
2
|
-
import { FormFieldType } from '../FormFieldType';
|
|
3
|
-
import { FormFieldBase } from './FormFieldBase';
|
|
4
|
-
/**
|
|
5
|
-
* A control to allow the user to attach {@link Picture}s or {@link Document}s.
|
|
6
|
-
*/
|
|
7
|
-
export declare class FormFieldAttachments extends FormFieldBase {
|
|
8
|
-
/**
|
|
9
|
-
* Takes a string as input and returns an array split by comma with trimmed items.
|
|
10
|
-
* @param values
|
|
11
|
-
*/
|
|
12
|
-
static split(values: string): string[];
|
|
13
|
-
/**
|
|
14
|
-
* These are the attachment types.
|
|
15
|
-
*/
|
|
16
|
-
protected get supported(): FormFieldType[];
|
|
17
|
-
/**
|
|
18
|
-
* Minimum number of {@link Document}s and/or {@link Picture}s that must be attached.
|
|
19
|
-
*/
|
|
20
|
-
minimum: byte;
|
|
21
|
-
/**
|
|
22
|
-
* Maximum number of {@link Document}s and/or {@link Picture}s that must be attached.
|
|
23
|
-
*/
|
|
24
|
-
maximum: byte;
|
|
25
|
-
constructor(id?: ulong | nothing, name?: string | nothing, kind?: FormFieldType | nothing, minimum?: byte | nothing, maximum?: byte | nothing, notes?: string | nothing, required?: boolean | nothing, value?: string | nothing, editable?: boolean | nothing);
|
|
26
|
-
toJSON(): {
|
|
27
|
-
minimum: number | null;
|
|
28
|
-
maximum: number | null;
|
|
29
|
-
};
|
|
30
|
-
isValid(value: string): boolean;
|
|
31
|
-
}
|