@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.
Files changed (219) hide show
  1. package/Companies/NotificationServerEmail.d.ts +0 -2
  2. package/README.md +24 -24
  3. package/index.d.ts +1 -1
  4. package/package.json +37 -37
  5. package/trakit-objects.min.js +2 -2
  6. package/objects/API/Arrays.d.ts +0 -46
  7. package/objects/API/Base.d.ts +0 -19
  8. package/objects/API/BaseComponent.d.ts +0 -40
  9. package/objects/API/BaseCompound.d.ts +0 -19
  10. package/objects/API/Codifier.d.ts +0 -15
  11. package/objects/API/Constants.d.ts +0 -39
  12. package/objects/API/Conversion.d.ts +0 -255
  13. package/objects/API/Encoding.d.ts +0 -9
  14. package/objects/API/Files.d.ts +0 -21
  15. package/objects/API/Functions.d.ts +0 -196
  16. package/objects/API/Geography/Functions.d.ts +0 -236
  17. package/objects/API/Geography/Interfaces.d.ts +0 -150
  18. package/objects/API/Geography/LatLng.d.ts +0 -86
  19. package/objects/API/Geography/LatLngBounds.d.ts +0 -146
  20. package/objects/API/Geography/Position.d.ts +0 -74
  21. package/objects/API/Geography/StreetAddress.d.ts +0 -59
  22. package/objects/API/Geometry/Functions.d.ts +0 -114
  23. package/objects/API/Geometry/Interfaces.d.ts +0 -111
  24. package/objects/API/Geometry/Point.d.ts +0 -81
  25. package/objects/API/Geometry/Radial.d.ts +0 -110
  26. package/objects/API/Geometry/Rectangle.d.ts +0 -159
  27. package/objects/API/Geometry/Size.d.ts +0 -58
  28. package/objects/API/Guid.d.ts +0 -4
  29. package/objects/API/Interfaces/IAmCompany.d.ts +0 -11
  30. package/objects/API/Interfaces/IBelongAsset.d.ts +0 -15
  31. package/objects/API/Interfaces/IBelongBillingProfile.d.ts +0 -15
  32. package/objects/API/Interfaces/IBelongCompany.d.ts +0 -15
  33. package/objects/API/Interfaces/IDeserializable.d.ts +0 -13
  34. package/objects/API/Interfaces/IEnabled.d.ts +0 -10
  35. package/objects/API/Interfaces/IFileSize.d.ts +0 -9
  36. package/objects/API/Interfaces/IGlobal.d.ts +0 -11
  37. package/objects/API/Interfaces/IHavePermissions.d.ts +0 -20
  38. package/objects/API/Interfaces/IHavePreferences.d.ts +0 -29
  39. package/objects/API/Interfaces/IIconic.d.ts +0 -15
  40. package/objects/API/Interfaces/IIdUlong.d.ts +0 -10
  41. package/objects/API/Interfaces/ILabelled.d.ts +0 -10
  42. package/objects/API/Interfaces/INamed.d.ts +0 -13
  43. package/objects/API/Interfaces/IPictured.d.ts +0 -15
  44. package/objects/API/Interfaces/IRequestable.d.ts +0 -22
  45. package/objects/API/Interfaces/ISerializable.d.ts +0 -10
  46. package/objects/API/Interfaces/ISuspendable.d.ts +0 -16
  47. package/objects/API/Interfaces/IVisual.d.ts +0 -18
  48. package/objects/API/Maps.d.ts +0 -28
  49. package/objects/API/Objects.d.ts +0 -5
  50. package/objects/API/SearchPattern.d.ts +0 -46
  51. package/objects/API/TimeSpan.d.ts +0 -109
  52. package/objects/API/Timezone.d.ts +0 -44
  53. package/objects/API/Timezones.d.ts +0 -7
  54. package/objects/API/Types.d.ts +0 -132
  55. package/objects/Accounts/Contact.d.ts +0 -139
  56. package/objects/Accounts/Machine.d.ts +0 -139
  57. package/objects/Accounts/MultiFactorType.d.ts +0 -17
  58. package/objects/Accounts/NotificationMethod.d.ts +0 -17
  59. package/objects/Accounts/Permissions/Authorizer.d.ts +0 -204
  60. package/objects/Accounts/Permissions/Permission.d.ts +0 -56
  61. package/objects/Accounts/Permissions/PermissionEscalation.d.ts +0 -41
  62. package/objects/Accounts/Permissions/PermissionEscalationState.d.ts +0 -19
  63. package/objects/Accounts/Permissions/PermissionEscalationType.d.ts +0 -13
  64. package/objects/Accounts/Permissions/PermissionLevel.d.ts +0 -17
  65. package/objects/Accounts/Permissions/PermissionMethod.d.ts +0 -13
  66. package/objects/Accounts/Permissions/PermissionType.d.ts +0 -280
  67. package/objects/Accounts/SSOIdentityProvider.d.ts +0 -25
  68. package/objects/Accounts/Session.d.ts +0 -89
  69. package/objects/Accounts/SessionStatus.d.ts +0 -29
  70. package/objects/Accounts/SystemsOfUnits.d.ts +0 -13
  71. package/objects/Accounts/User.d.ts +0 -167
  72. package/objects/Accounts/UserAdvanced.d.ts +0 -53
  73. package/objects/Accounts/UserAuthentication.d.ts +0 -55
  74. package/objects/Accounts/UserGeneral.d.ts +0 -98
  75. package/objects/Accounts/UserGroup.d.ts +0 -51
  76. package/objects/Accounts/UserMFA.d.ts +0 -47
  77. package/objects/Accounts/UserNotifications.d.ts +0 -76
  78. package/objects/Accounts/UserSSO.d.ts +0 -37
  79. package/objects/Assets/Asset.d.ts +0 -218
  80. package/objects/Assets/AssetAdvanced.d.ts +0 -77
  81. package/objects/Assets/AssetAttribute.d.ts +0 -71
  82. package/objects/Assets/AssetDispatch.d.ts +0 -55
  83. package/objects/Assets/AssetGeneral.d.ts +0 -127
  84. package/objects/Assets/AssetPlaceStatus.d.ts +0 -31
  85. package/objects/Assets/AssetPlaceStatusType.d.ts +0 -17
  86. package/objects/Assets/AssetType.d.ts +0 -21
  87. package/objects/Behaviours/Behaviour.d.ts +0 -78
  88. package/objects/Behaviours/BehaviourLog.d.ts +0 -95
  89. package/objects/Behaviours/BehaviourLogType.d.ts +0 -21
  90. package/objects/Behaviours/BehaviourParameter.d.ts +0 -38
  91. package/objects/Behaviours/BehaviourParameterType.d.ts +0 -21
  92. package/objects/Behaviours/BehaviourScript.d.ts +0 -83
  93. package/objects/Billing/BillableBase.d.ts +0 -83
  94. package/objects/Billing/BillableSmsProfile.d.ts +0 -26
  95. package/objects/Billing/BillingCurrency.d.ts +0 -17
  96. package/objects/Billing/BillingCycle.d.ts +0 -17
  97. package/objects/Billing/BillingProfile.d.ts +0 -104
  98. package/objects/Billing/Hosting/BillableHostingBase.d.ts +0 -41
  99. package/objects/Billing/Hosting/BillableHostingLicense.d.ts +0 -30
  100. package/objects/Billing/Hosting/BillableHostingLicenseType.d.ts +0 -20
  101. package/objects/Billing/Hosting/BillableHostingRule.d.ts +0 -30
  102. package/objects/Billing/Hosting/BillableHostingType.d.ts +0 -41
  103. package/objects/Billing/Report/BillingReport.d.ts +0 -112
  104. package/objects/Billing/Report/BillingReportBreakdown.d.ts +0 -34
  105. package/objects/Billing/Report/BillingReportHostingSummary.d.ts +0 -36
  106. package/objects/Billing/Report/BillingReportLicenseBreakdown.d.ts +0 -79
  107. package/objects/Billing/Report/BillingReportServiceBreakdown.d.ts +0 -124
  108. package/objects/Billing/Report/BillingReportStatus.d.ts +0 -25
  109. package/objects/Billing/Report/BillingReportSummary.d.ts +0 -49
  110. package/objects/Companies/ColourStyle.d.ts +0 -25
  111. package/objects/Companies/Company.d.ts +0 -167
  112. package/objects/Companies/CompanyDirectory.d.ts +0 -52
  113. package/objects/Companies/CompanyGeneral.d.ts +0 -55
  114. package/objects/Companies/CompanyPolicy.d.ts +0 -66
  115. package/objects/Companies/CompanyReseller.d.ts +0 -166
  116. package/objects/Companies/CompanyStyle.d.ts +0 -50
  117. package/objects/Companies/LabelStyle.d.ts +0 -46
  118. package/objects/Companies/NotificationServerEmail.d.ts +0 -99
  119. package/objects/Companies/NotificationServerSms.d.ts +0 -25
  120. package/objects/Companies/PasswordExpiryMode.d.ts +0 -17
  121. package/objects/Companies/PasswordPolicy.d.ts +0 -51
  122. package/objects/Companies/SessionMultiUser.d.ts +0 -17
  123. package/objects/Companies/SessionPolicy.d.ts +0 -47
  124. package/objects/Dispatch/DispatchDirection.d.ts +0 -53
  125. package/objects/Dispatch/DispatchJob.d.ts +0 -107
  126. package/objects/Dispatch/DispatchJobPriority.d.ts +0 -25
  127. package/objects/Dispatch/DispatchStep.d.ts +0 -99
  128. package/objects/Dispatch/DispatchStepState.d.ts +0 -27
  129. package/objects/Dispatch/DispatchStepStatus.d.ts +0 -21
  130. package/objects/Dispatch/DispatchTask.d.ts +0 -154
  131. package/objects/Dispatch/DispatchTaskStatus.d.ts +0 -50
  132. package/objects/Hosting/Document.d.ts +0 -70
  133. package/objects/Hosting/Fields/FormFieldAttachments.d.ts +0 -31
  134. package/objects/Hosting/Fields/FormFieldBase.d.ts +0 -56
  135. package/objects/Hosting/Fields/FormFieldBase_fromJSON.d.ts +0 -1
  136. package/objects/Hosting/Fields/FormFieldBoolean.d.ts +0 -38
  137. package/objects/Hosting/Fields/FormFieldChoice.d.ts +0 -46
  138. package/objects/Hosting/Fields/FormFieldDate.d.ts +0 -26
  139. package/objects/Hosting/Fields/FormFieldNumeric.d.ts +0 -54
  140. package/objects/Hosting/Fields/FormFieldNumericSize.d.ts +0 -32
  141. package/objects/Hosting/Fields/FormFieldSignature.d.ts +0 -17
  142. package/objects/Hosting/Fields/FormFieldText.d.ts +0 -32
  143. package/objects/Hosting/Fields/FormFieldTime.d.ts +0 -37
  144. package/objects/Hosting/Fields/FormFieldTimezone.d.ts +0 -14
  145. package/objects/Hosting/FormFieldType.d.ts +0 -127
  146. package/objects/Hosting/FormResult.d.ts +0 -95
  147. package/objects/Hosting/FormTemplate.d.ts +0 -80
  148. package/objects/Images/Dashcam.d.ts +0 -63
  149. package/objects/Images/DashcamBase.d.ts +0 -97
  150. package/objects/Images/DashcamLive.d.ts +0 -36
  151. package/objects/Images/DashcamMediaType.d.ts +0 -17
  152. package/objects/Images/Icon.d.ts +0 -66
  153. package/objects/Images/IconGlyph.d.ts +0 -47
  154. package/objects/Images/IconLabel.d.ts +0 -29
  155. package/objects/Images/IconLayer.d.ts +0 -33
  156. package/objects/Images/Picture.d.ts +0 -72
  157. package/objects/Maintenance/MaintenanceInterval.d.ts +0 -48
  158. package/objects/Maintenance/MaintenanceJob.d.ts +0 -134
  159. package/objects/Maintenance/MaintenanceJobStatus.d.ts +0 -21
  160. package/objects/Maintenance/MaintenanceSchedule.d.ts +0 -118
  161. package/objects/Messaging/AlertPriority.d.ts +0 -17
  162. package/objects/Messaging/AssetAlert.d.ts +0 -29
  163. package/objects/Messaging/AssetMessage.d.ts +0 -40
  164. package/objects/Messaging/MessageBase.d.ts +0 -99
  165. package/objects/Messaging/MessageFolder.d.ts +0 -13
  166. package/objects/Messaging/MessageStatus.d.ts +0 -29
  167. package/objects/Messaging/MessageType.d.ts +0 -33
  168. package/objects/Places/Place.d.ts +0 -114
  169. package/objects/Places/PlaceType.d.ts +0 -25
  170. package/objects/Providers/Config/ProviderConfig.d.ts +0 -70
  171. package/objects/Providers/Config/ProviderRegistration.d.ts +0 -119
  172. package/objects/Providers/Config/ProviderScript.d.ts +0 -86
  173. package/objects/Providers/Config/ProviderScriptBlock.d.ts +0 -41
  174. package/objects/Providers/Config/ProviderScriptParameter.d.ts +0 -49
  175. package/objects/Providers/Config/ProviderScriptParameterType.d.ts +0 -17
  176. package/objects/Providers/Configuration/ProviderConfiguration.d.ts +0 -66
  177. package/objects/Providers/Configuration/ProviderConfigurationNode.d.ts +0 -66
  178. package/objects/Providers/Configuration/ProviderConfigurationType.d.ts +0 -62
  179. package/objects/Providers/Configuration/ProviderGeofenceBase.d.ts +0 -29
  180. package/objects/Providers/Configuration/ProviderGeofenceBase_fromJSON.d.ts +0 -1
  181. package/objects/Providers/Configuration/ProviderGeofenceCircular.d.ts +0 -28
  182. package/objects/Providers/Configuration/ProviderGeofencePoint.d.ts +0 -12
  183. package/objects/Providers/Configuration/ProviderGeofencePolygon.d.ts +0 -23
  184. package/objects/Providers/Configuration/ProviderGeofenceRectangle.d.ts +0 -28
  185. package/objects/Providers/Provider.d.ts +0 -205
  186. package/objects/Providers/ProviderAdvanced.d.ts +0 -50
  187. package/objects/Providers/ProviderCommand.d.ts +0 -36
  188. package/objects/Providers/ProviderCommandStatus.d.ts +0 -29
  189. package/objects/Providers/ProviderCommandType.d.ts +0 -37
  190. package/objects/Providers/ProviderControl.d.ts +0 -41
  191. package/objects/Providers/ProviderData.d.ts +0 -30
  192. package/objects/Providers/ProviderGeneral.d.ts +0 -121
  193. package/objects/Providers/ProviderType.d.ts +0 -106
  194. package/objects/Reports/ReportBreakdown.d.ts +0 -49
  195. package/objects/Reports/ReportBreakdownJob.d.ts +0 -37
  196. package/objects/Reports/ReportBreakdownMessage.d.ts +0 -40
  197. package/objects/Reports/ReportBreakdownTask.d.ts +0 -46
  198. package/objects/Reports/ReportBreakdown_fromJSON.d.ts +0 -1
  199. package/objects/Reports/ReportFilterMode.d.ts +0 -17
  200. package/objects/Reports/ReportNotifications.d.ts +0 -31
  201. package/objects/Reports/ReportOptions.d.ts +0 -52
  202. package/objects/Reports/ReportParameter.d.ts +0 -26
  203. package/objects/Reports/ReportParameterType.d.ts +0 -59
  204. package/objects/Reports/ReportRecurrence.d.ts +0 -54
  205. package/objects/Reports/ReportRecurrenceType.d.ts +0 -34
  206. package/objects/Reports/ReportResult.d.ts +0 -169
  207. package/objects/Reports/ReportResultData.d.ts +0 -17
  208. package/objects/Reports/ReportSchedule.d.ts +0 -111
  209. package/objects/Reports/ReportScorecard.d.ts +0 -38
  210. package/objects/Reports/ReportScorecardParameter.d.ts +0 -31
  211. package/objects/Reports/ReportScorecardRules.d.ts +0 -26
  212. package/objects/Reports/ReportStatus.d.ts +0 -29
  213. package/objects/Reports/ReportSummary.d.ts +0 -90
  214. package/objects/Reports/ReportSummaryReason.d.ts +0 -27
  215. package/objects/Reports/ReportTemplate.d.ts +0 -81
  216. package/objects/Reports/ReportTotal.d.ts +0 -47
  217. package/objects/Reports/ReportType.d.ts +0 -42
  218. package/objects/index.d.ts +0 -406
  219. package/objects/storage.d.ts +0 -176
@@ -1,56 +0,0 @@
1
- import { IBelongCompany } from '../../API/Interfaces/IBelongCompany';
2
- import { ISerializable } from '../../API/Interfaces/ISerializable';
3
- import { codified, JsonObject, nothing, ulong } from '../../API/Types';
4
- import { Company } from '../../Companies/Company';
5
- import { PermissionLevel } from './PermissionLevel';
6
- import { PermissionMethod } from './PermissionMethod';
7
- import { PermissionType } from './PermissionType';
8
- /**
9
- * A defined permission for {@link User}s, {@link UserGroup}s, and {@link Machine}s.
10
- */
11
- export declare class Permission implements IBelongCompany, ISerializable {
12
- /**
13
- *
14
- * @param json
15
- * @returns
16
- */
17
- static fromJSON(json: JsonObject): Permission;
18
- /**
19
- * The {@link Company.id} that this permission targets.
20
- */
21
- companyId: ulong;
22
- /**
23
- * The {@link Company} that this permission targets.
24
- */
25
- get company(): Company;
26
- /**
27
- * The type of permission.
28
- */
29
- kind: PermissionType;
30
- /**
31
- * The kind of permission.
32
- * @deprecated Use {@link kind} instead.
33
- */
34
- get type(): string;
35
- set type(value: string);
36
- /**
37
- * The level of access being defined.
38
- */
39
- level: PermissionLevel;
40
- /**
41
- * The way the access is used.
42
- */
43
- method: PermissionMethod;
44
- /**
45
- * Codified names of {@link LabelStyle}s. If list is empty, this permission applies for all labels.
46
- */
47
- labels: codified[];
48
- constructor(company?: ulong | nothing, kind?: PermissionType | nothing, level?: PermissionLevel | nothing, method?: PermissionMethod | nothing, labels?: codified[] | nothing);
49
- toJSON(): {
50
- company: number | null;
51
- kind: PermissionType;
52
- level: PermissionLevel;
53
- method: PermissionMethod;
54
- labels: string[];
55
- };
56
- }
@@ -1,41 +0,0 @@
1
- import { ISerializable } from "../../API/Interfaces/ISerializable";
2
- import { codified, JsonObject, nothing, ulong } from "../../API/Types";
3
- import { PermissionEscalationState } from "./PermissionEscalationState";
4
- import { PermissionEscalationType } from "./PermissionEscalationType";
5
- import { PermissionLevel } from "./PermissionLevel";
6
- import { PermissionType } from "./PermissionType";
7
- /**
8
- * Used to throw permission escalation exceptions, this is similar to a {@link Permission},
9
- * but defines a {@link before} and {@link after} for a proposed change.
10
- */
11
- export declare class PermissionEscalation implements ISerializable {
12
- /**
13
- * Parses a JSON object into a PermissionEscalation instance.
14
- * @param json The JSON to parse.
15
- * @returns A PermissionEscalation instance.
16
- */
17
- static fromJSON(json: JsonObject): PermissionEscalation;
18
- /**
19
- * Gets the direction of the escalation.
20
- */
21
- direction: PermissionEscalationType;
22
- /**
23
- * The {@link Company} that this permission targets.
24
- * {@link Company.id}
25
- */
26
- company: ulong;
27
- /**
28
- * The type of permission.
29
- */
30
- kind: PermissionType;
31
- /**
32
- * Effective permission after the proposed change.
33
- */
34
- after: PermissionEscalationState;
35
- /**
36
- * Effective permission before the proposed change.
37
- */
38
- before: PermissionEscalationState;
39
- constructor(direction: PermissionEscalationType, company: ulong, kind: PermissionType, levelAfter: PermissionLevel, labelsAfter?: codified[] | nothing, levelBefore?: PermissionLevel | nothing, labelsBefore?: codified[] | nothing);
40
- toJSON(): JsonObject;
41
- }
@@ -1,19 +0,0 @@
1
- import { ISerializable } from "../../API/Interfaces/ISerializable";
2
- import { codified, JsonObject, nothing } from "../../API/Types";
3
- import { PermissionLevel } from "./PermissionLevel";
4
- /**
5
- * Describes the changes in state that raised the escalation.
6
- */
7
- export declare class PermissionEscalationState implements ISerializable {
8
- /**
9
- * The level of access defined before the proposed change.
10
- */
11
- level: PermissionLevel | null;
12
- /**
13
- * Codified names of {@link LabelStyle}s.
14
- * If list is empty, this permission applies for all labels.
15
- */
16
- labels: codified[] | null;
17
- constructor(level?: PermissionLevel | nothing, labels?: codified[] | nothing);
18
- toJSON(): JsonObject;
19
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * Definition for the kinds of permission escalations.
3
- */
4
- export declare enum PermissionEscalationType {
5
- /**
6
- * Increase in privileges.
7
- */
8
- vertical = "vertical",
9
- /**
10
- * Increase in access to an object.
11
- */
12
- horizontal = "horizontal"
13
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * The levels of permission available.
3
- */
4
- export declare enum PermissionLevel {
5
- /**
6
- * Read-only access, no changes allowed.
7
- */
8
- read = "read",
9
- /**
10
- * Read and write access, but things cannot be deleted or new things created.
11
- */
12
- update = "update",
13
- /**
14
- * Full control to read, write, delete and create things.
15
- */
16
- full = "full"
17
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * How a permission is applied.
3
- */
4
- export declare enum PermissionMethod {
5
- /**
6
- * Permission is given.
7
- */
8
- grant = "grant",
9
- /**
10
- * Permission is taken away.
11
- */
12
- revoke = "revoke"
13
- }
@@ -1,280 +0,0 @@
1
- /**
2
- * The kinds of permissions available for a UserPermission.
3
- */
4
- export declare enum PermissionType {
5
- /**
6
- * Basic information about a {@link Company}.
7
- * This permissions is required to have access to other aspects of the company.
8
- * {@link Company}
9
- * {@link CompanyGeneral}
10
- */
11
- companyGeneral = "companyGeneral",
12
- /**
13
- * Updating the company's {@link CompanyDirectory|directory} of {@link Contact}s. Not the same as {@link PermissionType.contact}.
14
- * {@link CompanyDirectory}
15
- */
16
- companyDirectory = "companyDirectory",
17
- /**
18
- * Company's {@link CompanyStyles|label and tag styles}.
19
- * {@link CompanyStyles}
20
- */
21
- companyLabels = "companyLabels",
22
- /**
23
- * Company's {@link SessionPolicy} and {@link PasswordPolicy}.
24
- * {@link CompanyPolicies}
25
- */
26
- companyPolicies = "companyPolicies",
27
- /**
28
- * {@link CompanyReseller|White-labeler} specific settings.
29
- * {@link CompanyReseller}
30
- */
31
- companyReseller = "companyReseller",
32
- /**
33
- * Access to add a new child {@link Company}.
34
- * {@link CompanyGeneral}
35
- */
36
- companyCreate = "companyCreate",
37
- /**
38
- * Assets' {@link AssetGeneral|general properties} such as name = "* Assets' {@link AssetGeneral|general properties} such as name", icon, and labels.
39
- * {@link Asset}
40
- * {@link AssetGeneral}
41
- * {@link Person}
42
- * {@link PersonGeneral}
43
- * {@link Vehicle}
44
- * {@link VehicleGeneral}
45
- * {@link Trailer}
46
- * {@link TrailerGeneral}
47
- */
48
- assetGeneral = "assetGeneral",
49
- /**
50
- * Assets' {@link AssetAdvanced|advanced properties} such as position = "* Assets' {@link AssetAdvanced|advanced properties} such as position", attributes, and status tags.
51
- * {@link AssetAdvanced}
52
- * {@link VehicleAdvanced}
53
- */
54
- assetAdvanced = "assetAdvanced",
55
- /**
56
- * {@link AssetMessage}s from assets and {@link AssetAlert}s.
57
- * {@link AssetMessage}
58
- * {@link PndMessage}
59
- */
60
- assetMessage = "assetMessage",
61
- /**
62
- * {@link Asset}'s {@link DispatchTask} order = "* {@link Asset}'s {@link DispatchTask} order", turn by turn directions, and required route.
63
- * {@link AssetDispatch}
64
- */
65
- assetDispatch = "assetDispatch",
66
- /**
67
- * {@link Place} information.
68
- * {@link Place}
69
- * {@link Place}
70
- */
71
- placeGeneral = "placeGeneral",
72
- /**
73
- * {@link Provider} information like name = "* {@link Provider} information like name", notes, and selected asset.
74
- * {@link Provider}
75
- * {@link ProviderGeneral}
76
- */
77
- providerGeneral = "providerGeneral",
78
- /**
79
- * Raw {@link Provider} data like GPS coordinates and parsed ODB-II values.
80
- * {@link ProviderAdvanced}
81
- */
82
- providerAdvanced = "providerAdvanced",
83
- /**
84
- * Sending and reading {@link Provider} commands.
85
- * {@link ProviderControl}
86
- */
87
- providerControl = "providerControl",
88
- /**
89
- * {@link Provider} configurations.
90
- * {@link ProviderConfig}
91
- * {@link ProviderConfiguration}
92
- * {@link ProviderConfigurationType}
93
- */
94
- providerConfiguration = "providerConfiguration",
95
- /**
96
- * Legacy {@link Provider} configuration types.
97
- * {@link ProviderConfigurationType}
98
- * @deprecated Use {@link providerConfiguration} instead
99
- */
100
- providerConfigType = "providerConfigType",
101
- /**
102
- * Allows access to {@link Provider} logic scripts.
103
- * {@link ProviderScript}
104
- */
105
- providerScript = "providerScript",
106
- /**
107
- * Sending and reading {@link Provider} commands.
108
- * {@link ProviderCommand}
109
- * @deprecated Use {@link providerControl} instead
110
- */
111
- providerCommand = "providerCommand",
112
- /**
113
- * Historical {@link Asset} details like breadcrumb trails.
114
- * {@link ReportResult}
115
- */
116
- reportResult = "reportResult",
117
- /**
118
- * {@link ReportTemplate} configurations.
119
- * {@link ReportTemplate}
120
- */
121
- reportTemplate = "reportTemplate",
122
- /**
123
- * {@link ReportSchedule}s used to automatically create {@link ReportResult}s overnight.
124
- * {@link ReportSchedule}
125
- */
126
- reportSchedule = "reportSchedule",
127
- /**
128
- * General {@link UserGeneral|user information} such as name = "* General {@link UserGeneral|user information} such as name", contact information, and preferences.
129
- * {@link UserGeneral}
130
- */
131
- userGeneral = "userGeneral",
132
- /**
133
- * {@link UserAdvanced|User information} such as permissions and group membership.
134
- * {@link UserAdvanced}
135
- */
136
- userAdvanced = "userAdvanced",
137
- /**
138
- * {@link UserGroup} information for easy access control.
139
- * {@link UserGroup}
140
- */
141
- userGroup = "userGroup",
142
- /**
143
- * {@link Machine} information and permissions.
144
- * {@link Machine}
145
- */
146
- machine = "machine",
147
- /**
148
- * Access to retrieve a list of active sessions and kill sessions.
149
- * {@link Tentacles.RespSession}
150
- * {@link Tentacles.RespSessionFull}
151
- */
152
- session = "session",
153
- /**
154
- * Configured {@link Behaviour}.
155
- * {@link Behaviour}
156
- */
157
- behaviour = "behaviour",
158
- /**
159
- * View and clear the log of debug messages for a {@link BehaviourScript} or {@link Behaviour}.
160
- * {@link BehaviourLog}
161
- */
162
- behaviourLog = "behaviourLog",
163
- /**
164
- * {@link BehaviourScript} logic.
165
- * {@link BehaviourScript}
166
- */
167
- behaviourScript = "behaviourScript",
168
- /**
169
- * {@link Asset}'s tasks information.
170
- * {@link DispatchTask}
171
- */
172
- dispatchTask = "dispatchTask",
173
- /**
174
- * Pre-set routes = "* Pre-set routes", lists of {@link DispatchJob}s, and driving directions.
175
- * {@link DispatchTemplate}
176
- */
177
- dispatchTemplate = "dispatchTemplate",
178
- /**
179
- * {@link Contact} information.
180
- * {@link Contact}
181
- */
182
- contact = "contact",
183
- /**
184
- * Hours of Service {@link HosCarrier|Carrier}s.
185
- * {@link HosCarrier}
186
- * @deprecated Feature retired
187
- */
188
- hosCarrier = "hosCarrier",
189
- /**
190
- * Driver's {@link HosEvent|E-log event} records.
191
- * {@link HosEvent}
192
- * @deprecated Feature retired
193
- */
194
- hosEvent = "hosEvent",
195
- /**
196
- * Driver {@link HosInspection|vehicle inspection} reports.
197
- * {@link HosInspection}
198
- * @deprecated Feature retired
199
- */
200
- hosInspection = "hosInspection",
201
- /**
202
- * Historical {@link Vehicle} and {@link Trailer} maintenance work.
203
- * {@link MaintenanceJob}
204
- */
205
- maintenanceJob = "maintenanceJob",
206
- /**
207
- * Recurring {@link MaintenanceJob}s for {@link Vehicle} and {@link Trailer}.
208
- * {@link MaintenanceSchedule}
209
- */
210
- maintenanceSchedule = "maintenanceSchedule",
211
- /**
212
- * Rules definiting real-time analytic calculations.
213
- * {@link AnalyticRule}
214
- * @deprecated Feature retired
215
- */
216
- analyticRule = "analyticRule",
217
- /**
218
- * Updates to the calculations of real-time analytics.
219
- * {@link AnalyticSummary}
220
- * @deprecated Feature retired
221
- */
222
- analyticSummary = "analyticSummary",
223
- /**
224
- * {@link Icon} information.
225
- * {@link Icon}
226
- */
227
- icon = "icon",
228
- /**
229
- * {@link Picture} information.
230
- * {@link Picture}
231
- */
232
- picture = "picture",
233
- /**
234
- * Hosted {@link Document} information.
235
- * {@link Document}
236
- */
237
- document = "document",
238
- /**
239
- * Profile used to generate {@link BillingReport} for a customer.
240
- * {@link BillingProfile}
241
- */
242
- billingProfile = "billingProfile",
243
- /**
244
- * Billing rule for {@link Asset}s.
245
- * {@link BillableHostingRule}
246
- */
247
- billingHosting = "billingHosting",
248
- /**
249
- * Discount rule for {@link Asset}s.
250
- * {@link BillableHostingDiscount}
251
- * @deprecated Feature retired
252
- */
253
- billingDiscount = "billingDiscount",
254
- /**
255
- * Hardware License for {@link Provider}s.
256
- * {@link BillableHostingLicense}
257
- */
258
- billingLicense = "billingLicense",
259
- /**
260
- * Generated bill for a {@link Company|customer}.
261
- * {@link BillingReport}
262
- */
263
- billingReport = "billingReport",
264
- /**
265
- * Custom {@link FormTemplate|forms} to be filled.
266
- * {@link FormTemplate}
267
- */
268
- formTemplate = "formTemplate",
269
- /**
270
- * Filled out {@link FormResult|forms}.
271
- * {@link FormResult}
272
- */
273
- formResult = "formResult",
274
- /**
275
- * Some work that needs to be completed by an {@link Asset}.
276
- * Like a multi-step {@link DispatchTask}.
277
- * {@link DispatchJob}
278
- */
279
- dispatchJob = "dispatchJob"
280
- }
@@ -1,25 +0,0 @@
1
- /**
2
- * Supported SSO Identity Providers.
3
- */
4
- export declare enum SSOIdentityProvider {
5
- /**
6
- * Google Identity Provider.
7
- */
8
- google = "google",
9
- /**
10
- * Apple Identity Provider.
11
- */
12
- apple = "apple",
13
- /**
14
- * Facebook Identity Provider.
15
- */
16
- facebook = "facebook",
17
- /**
18
- * X Identity Provider, formerly known as Twitter.
19
- */
20
- twitter = "twitter",
21
- /**
22
- * Microsoft Identity Provider.
23
- */
24
- microsoft = "microsoft"
25
- }
@@ -1,89 +0,0 @@
1
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
2
- import { IDeserializable } from "../API/Interfaces/IDeserializable";
3
- import { IRequestable } from "../API/Interfaces/IRequestable";
4
- import { ISerializable } from "../API/Interfaces/ISerializable";
5
- import { int, JsonObject, nothing, ulong } from "../API/Types";
6
- import { Company } from "../Companies/Company";
7
- import { SessionStatus } from "./SessionStatus";
8
- /**
9
- * Information about another {@link User}'s {@link Session}.
10
- */
11
- export declare class Session implements IBelongCompany, IRequestable, ISerializable, IDeserializable {
12
- /**
13
- * A "handle" identifying a resource.
14
- */
15
- handle: string;
16
- /**
17
- * Getter shortcut for the {@link User}'s {@link Company.id}.
18
- */
19
- companyId: ulong;
20
- /**
21
- * The {@link Company} to which this contact belongs
22
- */
23
- get company(): Company;
24
- /**
25
- * The IP address of the {@link User} last used to connect using this session.
26
- */
27
- ipAddress: string;
28
- /**
29
- * `UserAgent` identification string
30
- */
31
- userAgent: string;
32
- /**
33
- * The IP address the user last used to connect
34
- /**
35
- * The number of currently connected WebSocket clients.
36
- */
37
- sockets: int;
38
- /**
39
- * The {@link User} to which the {@link Session} belongs.
40
- * {@link User.login}
41
- */
42
- login: string;
43
- /**
44
- * This {@link Session}'s current state.
45
- */
46
- status: SessionStatus;
47
- /**
48
- * The timestamp from the moment this {@link Session} was created.
49
- */
50
- created: Date;
51
- /**
52
- * A timestamp for when the {@link RespSession} will expire.
53
- */
54
- expiry: Date;
55
- /**
56
- * The name or path of the last command executed.
57
- */
58
- lastCommand: string;
59
- /**
60
- * A timestamp from the last command or call to the system.
61
- */
62
- lastActivity: Date;
63
- /**
64
- * Indicator that this {@link Session} is using at least one WebSocket connection.
65
- */
66
- get active(): boolean;
67
- constructor(json?: JsonObject | nothing);
68
- fromJSON(json: JsonObject, force?: boolean): boolean;
69
- /**
70
- *
71
- */
72
- toJSON(): {
73
- handle: string;
74
- company: number | null;
75
- login: string;
76
- status: SessionStatus;
77
- userAgent: string;
78
- ipAddress: string;
79
- created: string;
80
- expires: string;
81
- lastActivity: string;
82
- lastCommand: string;
83
- sockets: number;
84
- };
85
- /**
86
- * The {@link handle} is the key.
87
- */
88
- getKey(): string;
89
- }
@@ -1,29 +0,0 @@
1
- /**
2
- * Current state of a session
3
- */
4
- export declare enum SessionStatus {
5
- /**
6
- * Invalid session reference.
7
- */
8
- notFound = "notFound",
9
- /**
10
- * Session created but user hasn't logged-in yet.
11
- */
12
- created = "created",
13
- /**
14
- * User is logged-in and one or more WebSocket connections are open.
15
- */
16
- active = "active",
17
- /**
18
- * User is logged-in but no WebSocket connections are open.
19
- */
20
- idle = "idle",
21
- /**
22
- * User is logged-in and password is expired and needs to be changed before any commands can be processed.
23
- */
24
- passwordExpired = "passwordExpired",
25
- /**
26
- * Session is being killed because it has expired.
27
- */
28
- expired = "expired"
29
- }
@@ -1,13 +0,0 @@
1
- /**
2
- * A type of measurement system
3
- */
4
- export declare enum SystemsOfUnits {
5
- /**
6
- * Metric
7
- */
8
- metric = "metric",
9
- /**
10
- * US Standard.
11
- */
12
- standard = "standard"
13
- }