@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,52 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { IAmCompany } from "../API/Interfaces/IAmCompany";
3
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
4
- import { IIdUlong } from "../API/Interfaces/IIdUlong";
5
- import { JsonObject, codified, ulong } from "../API/Types";
6
- import { Company } from "./Company";
7
- /**
8
- * The list of Contacts from this and other companies broken down by contact role.
9
- */
10
- export declare class CompanyDirectory extends BaseComponent implements IIdUlong, IAmCompany, IBelongCompany {
11
- /**
12
- * Unique identifier of the Company.
13
- * {@link Company.id}
14
- */
15
- id: ulong;
16
- /**
17
- * The unique identifier of this company's parent organization.
18
- * {@link Company.id}
19
- */
20
- parentId: ulong;
21
- /**
22
- * The unique identifier of this {@link Company}'s parent organization.
23
- */
24
- get parent(): Company;
25
- /**
26
- * The list of {@link Contact}s from this and other companies broken down by contact role.
27
- */
28
- employees: Map<codified, ulong[]>;
29
- /**
30
- *
31
- * @returns
32
- */
33
- toJSON(): {
34
- id: number | null;
35
- v: number[];
36
- parent: number;
37
- directory: JsonObject;
38
- };
39
- /**
40
- *
41
- * @param json
42
- */
43
- fromJSON(json: JsonObject, force?: boolean): boolean;
44
- /**
45
- * The {@link id} is the key.
46
- */
47
- getKey(): number;
48
- set companyId(value: number);
49
- get companyId(): number;
50
- set company(value: Company);
51
- get company(): Company;
52
- }
@@ -1,55 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { IAmCompany } from "../API/Interfaces/IAmCompany";
3
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
4
- import { IIdUlong } from "../API/Interfaces/IIdUlong";
5
- import { INamed } from "../API/Interfaces/INamed";
6
- import { JsonObject, ulong } from "../API/Types";
7
- import { Company } from "./Company";
8
- /**
9
- * General details about a company.
10
- */
11
- export declare class CompanyGeneral extends BaseComponent implements IIdUlong, INamed, IAmCompany, IBelongCompany {
12
- /**
13
- * Unique identifier of the Company.
14
- * {@link Company.id}
15
- */
16
- id: ulong;
17
- /**
18
- * The unique identifier of this company's parent organization.
19
- * {@link Company.id}
20
- */
21
- parentId: ulong;
22
- /**
23
- * The unique identifier of this {@link Company}'s parent organization.
24
- */
25
- get parent(): Company;
26
- /**
27
- * The organizational name.
28
- */
29
- name: string;
30
- /**
31
- * Notes.
32
- */
33
- notes: string;
34
- /**
35
- * Name/value collections of custom fields used to refer to external systems.
36
- */
37
- references: Map<string, string>;
38
- toJSON(): {
39
- id: number | null;
40
- v: number[];
41
- parent: number;
42
- name: string;
43
- notes: string;
44
- references: JsonObject;
45
- };
46
- fromJSON(json: JsonObject, force?: boolean): boolean;
47
- /**
48
- * The {@link id} is the key.
49
- */
50
- getKey(): number;
51
- set companyId(value: number);
52
- get companyId(): number;
53
- set company(value: Company);
54
- get company(): Company;
55
- }
@@ -1,66 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { IAmCompany } from "../API/Interfaces/IAmCompany";
3
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
4
- import { IIdUlong } from "../API/Interfaces/IIdUlong";
5
- import { JsonObject, ulong } from "../API/Types";
6
- import { Company } from "./Company";
7
- import { PasswordPolicy } from "./PasswordPolicy";
8
- import { SessionPolicy } from "./SessionPolicy";
9
- /**
10
- * The password and session lifetime policies for this Company.
11
- */
12
- export declare class CompanyPolicy extends BaseComponent implements IIdUlong, IAmCompany, IBelongCompany {
13
- /**
14
- * Unique identifier of the Company.
15
- * {@link Company.id}
16
- */
17
- id: ulong;
18
- /**
19
- * The unique identifier of this company's parent organization.
20
- * {@link Company.id}
21
- */
22
- parentId: ulong;
23
- /**
24
- * The unique identifier of this {@link Company}'s parent organization.
25
- */
26
- get parent(): Company;
27
- /**
28
- * The session lifetime policy.
29
- */
30
- sessionPolicy: SessionPolicy;
31
- /**
32
- * The password complexity and expiry policy.
33
- */
34
- passwordPolicy: PasswordPolicy;
35
- toJSON(): {
36
- id: number | null;
37
- v: number[];
38
- parent: number;
39
- sessionPolicy: {
40
- applications: string[];
41
- ipv4Ranges: string[];
42
- multiUser: import("./SessionMultiUser").SessionMultiUser;
43
- idleAllowed: boolean;
44
- expireTimeout: number | null;
45
- maxSessions: number | null;
46
- };
47
- passwordPolicy: {
48
- minimumLength: number | null;
49
- includeLetters: boolean;
50
- includeNumbers: boolean;
51
- includeUpperLower: boolean;
52
- includeSpecial: boolean;
53
- expireMode: import("./PasswordExpiryMode").PasswordExpiryMode;
54
- expireThreshold: number | null;
55
- };
56
- };
57
- fromJSON(json: JsonObject, force?: boolean): boolean;
58
- /**
59
- * The {@link id} is the key.
60
- */
61
- getKey(): number;
62
- set companyId(value: number);
63
- get companyId(): number;
64
- set company(value: Company);
65
- get company(): Company;
66
- }
@@ -1,166 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { IAmCompany } from "../API/Interfaces/IAmCompany";
3
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
4
- import { IIdUlong } from "../API/Interfaces/IIdUlong";
5
- import { JsonObject, codified, colour, ulong } from "../API/Types";
6
- import { ColourStyle } from "./ColourStyle";
7
- import { Company } from "./Company";
8
- import { NotificationServerEmail } from "./NotificationServerEmail";
9
- import { NotificationServerSms } from "./NotificationServerSms";
10
- /**
11
- * Defines the seller company's details for white-labelling.
12
- */
13
- export declare class CompanyReseller extends BaseComponent implements IIdUlong, IAmCompany, IBelongCompany {
14
- /**
15
- * Unique identifier of the Company.
16
- * {@link Company.id}
17
- */
18
- id: ulong;
19
- /**
20
- * The unique identifier of this company's parent organization.
21
- * {@link Company.id}
22
- */
23
- parentId: ulong;
24
- /**
25
- * The unique identifier of this {@link Company}'s parent organization.
26
- */
27
- get parent(): Company;
28
- /**
29
- * A list of {@link Contact}s for company specific things like Technical Support, Billing, etc...
30
- */
31
- contactInfo: Map<string, ulong>;
32
- /**
33
- * The name of the branded service being provided to the seller's customers.
34
- */
35
- serviceName: string;
36
- /**
37
- * The name of the image uploaded as the logo (used for regular view).
38
- */
39
- logo: string;
40
- /**
41
- * The name of the image uploaded as the logo (used for collapsed/mobile view).
42
- */
43
- icon: string;
44
- /**
45
- * The name of the icon file used for browser bookmarks.
46
- */
47
- favourite: string;
48
- /**
49
- * The URN and path to the instance of v4.
50
- * It does not contain the protocol because all instances are required to be HTTPS.
51
- */
52
- domain: string;
53
- /**
54
- * Themed colours used in the web-based UI.
55
- */
56
- website: Map<string, colour>;
57
- /**
58
- * A list of symbol names and their corresponding FontAwesome icon names.
59
- */
60
- graphics: Map<string, codified>;
61
- /**
62
- * A list of supported languages for your customers.
63
- */
64
- languages: string[];
65
- /**
66
- * Colours used as templates for status tags, labels, and places.
67
- */
68
- gamut: Map<string, ColourStyle>;
69
- /**
70
- * The server used for notification and conversational email messages sent and received by the system.
71
- */
72
- notifyEmail: NotificationServerEmail;
73
- /**
74
- * Definition for load-balanced outbound SMS numbers for the reseller.
75
- */
76
- notifySms: NotificationServerSms;
77
- /**
78
- * A preamble to the general terms and conditions offered by Fleet Freedom.
79
- */
80
- termsPreamble: string;
81
- /**
82
- * The date and time when the terms were updated.
83
- * This will promt users who are logging-in to re-agree to the new terms
84
- */
85
- termsUpdated: Date;
86
- /**
87
- * The subject of the email sent to a user requesting a password reset.
88
- * @tutorial The following strings are replaced:
89
- * - %SERVICE% with {serviceName}
90
- * - %URL% with https://{URN}/recover
91
- * - %NAME% with user's nickname, contact name, or login
92
- * - %GUID% with the unique identifier of the reset request
93
- * - %CLIENT% with the client software's userAgent used to create the request
94
- * - %IP% with IP address used to create the request
95
- * - %SERVER% with the server software's userAgent or the software (Kraken, Medusa, Mindflayer)
96
- */
97
- recoverSubject: string;
98
- /**
99
- * The body of the email sent to a user requesting a password reset.
100
- * @tutorial The following strings are replaced:
101
- * - %SERVICE% with {serviceName}
102
- * - %URL% with https://{URN}/recover
103
- * - %NAME% with user's nickname, contact name, or login
104
- * - %GUID% with the unique identifier of the reset request
105
- * - %CLIENT% with the client software's userAgent used to create the request
106
- * - %IP% with IP address used to create the request
107
- * - %SERVER% with the server software's userAgent or the software (Kraken, Medusa, Mindflayer)
108
- */
109
- recoverBody: string;
110
- /**
111
- * When true, sends the password reset email as an HTML email instead of plain text.
112
- * @tutorial When false, the following strings are replaced:
113
- * - &reg; with char 0174
114
- * - &trade; with char 8482
115
- * - &copy; with char 0169
116
- * - &amp; with "&"
117
- */
118
- recoverIsHtml: boolean;
119
- toJSON(): {
120
- id: number | null;
121
- v: number[];
122
- parent: number;
123
- contactInfo: JsonObject;
124
- serviceName: string;
125
- logo: string;
126
- icon: string;
127
- favourite: string;
128
- domain: string;
129
- website: JsonObject;
130
- graphics: JsonObject;
131
- languages: string[];
132
- gamut: JsonObject;
133
- notifyEmail: {
134
- incomingType: import("./NotificationServerEmail").IncomingEmailServerType;
135
- incomingAddress: string;
136
- incomingPort: number | null;
137
- incomingLogin: string;
138
- incomingSecure: boolean;
139
- incomingMessageNumber: number | null;
140
- outgoingType: import("./NotificationServerEmail").OutgoingEmailServerType;
141
- outgoingAddress: string;
142
- outgoingPort: number | null;
143
- outgoingLogin: string;
144
- outgoingSecure: boolean;
145
- outgoingReplyTo: string;
146
- };
147
- notifySms: {
148
- notifyLimit: number | null;
149
- phoneNumbers: JsonObject;
150
- };
151
- termsPreamble: string;
152
- termsUpdated: string | null;
153
- recoverSubject: string;
154
- recoverBody: string;
155
- recoverIsHtml: boolean;
156
- };
157
- fromJSON(json: JsonObject, force?: boolean): boolean;
158
- /**
159
- * The {@link id} is the key.
160
- */
161
- getKey(): number;
162
- set companyId(value: number);
163
- get companyId(): number;
164
- set company(value: Company);
165
- get company(): Company;
166
- }
@@ -1,50 +0,0 @@
1
- import { BaseComponent } from "../API/BaseComponent";
2
- import { IAmCompany } from "../API/Interfaces/IAmCompany";
3
- import { IBelongCompany } from "../API/Interfaces/IBelongCompany";
4
- import { IIdUlong } from "../API/Interfaces/IIdUlong";
5
- import { JsonObject, codified, ulong } from "../API/Types";
6
- import { Company } from "./Company";
7
- import { LabelStyle } from "./LabelStyle";
8
- /**
9
- * The colours and styles used by this company to tag and label Assets, Places, and other things.
10
- */
11
- export declare class CompanyStyle extends BaseComponent implements IIdUlong, IAmCompany, IBelongCompany {
12
- /**
13
- * Unique identifier of the Company.
14
- * {@link Company.id}
15
- */
16
- id: ulong;
17
- /**
18
- * The unique identifier of this company's parent organization.
19
- * {@link Company.id}
20
- */
21
- parentId: ulong;
22
- /**
23
- * The unique identifier of this {@link Company}'s parent organization.
24
- */
25
- get parent(): Company;
26
- /**
27
- * The styles for labels added to Assets, Places, and other things.
28
- */
29
- labels: Map<codified, LabelStyle>;
30
- /**
31
- * The styles for status tags added to Assets.
32
- */
33
- tags: Map<codified, LabelStyle>;
34
- toJSON(): {
35
- id: number | null;
36
- v: number[];
37
- parent: number;
38
- labels: JsonObject;
39
- tags: JsonObject;
40
- };
41
- fromJSON(json: JsonObject, force?: boolean): boolean;
42
- /**
43
- * The {@link id} is the key.
44
- */
45
- getKey(): number;
46
- set companyId(value: number);
47
- get companyId(): number;
48
- set company(value: Company);
49
- get company(): Company;
50
- }
@@ -1,46 +0,0 @@
1
- import { INamed } from "../API/Interfaces/INamed";
2
- import { ISerializable } from "../API/Interfaces/ISerializable";
3
- import { IVisual } from "../API/Interfaces/IVisual";
4
- import { codified, colour, JsonObject } from "../API/Types";
5
- /**
6
- * Visual style identification helper.
7
- */
8
- export declare class LabelStyle implements INamed, IVisual, ISerializable {
9
- /**
10
- *
11
- * @param json
12
- */
13
- static fromJSON(json: JsonObject): LabelStyle;
14
- /**
15
- * The name of this visual style.
16
- */
17
- name: string;
18
- /**
19
- * The background colour given to this style for easy visual identification.
20
- */
21
- fill: colour;
22
- /**
23
- * The text/graphic colour given to this style for easy visual identification.
24
- */
25
- stroke: colour;
26
- /**
27
- * The codified graphic name given to this script for easy visual identification.
28
- */
29
- graphic: codified;
30
- /**
31
- * Notes!
32
- */
33
- notes: string;
34
- /**
35
- * The codified name of this style
36
- */
37
- get code(): codified;
38
- constructor(name?: string, fill?: colour, stroke?: colour, graphic?: codified, notes?: string);
39
- toJSON(): {
40
- name: string;
41
- notes: string;
42
- fill: string;
43
- stroke: string;
44
- graphic: string;
45
- };
46
- }
@@ -1,99 +0,0 @@
1
- import { ISerializable } from "../API/Interfaces/ISerializable";
2
- import { email, JsonObject, uint, ushort } from "../API/Types";
3
- /**
4
- * The types of email protocols supported for incoming mail servers.
5
- */
6
- export declare enum IncomingEmailServerType {
7
- /**
8
- * Internet Message Access Protocol (default)
9
- */
10
- "IMAP" = "IMAP",
11
- /**
12
- * Post Office Protocol v3
13
- */
14
- "POP3" = "POP3"
15
- }
16
- /**
17
- * The types of email protocols supported for sending messages.
18
- */
19
- export declare enum OutgoingEmailServerType {
20
- /**
21
- * Simple Mail Transfer Protocol
22
- */
23
- "SMTP" = "SMTP"
24
- }
25
- /**
26
- * The server used for notification and conversational email messages sent and received by the system.
27
- */
28
- export declare class NotificationServerEmail implements ISerializable {
29
- /**
30
- *
31
- * @param json
32
- */
33
- static fromJSON(json: JsonObject): NotificationServerEmail;
34
- /**
35
- * The type of incoming protocol to use (IMAP or POP3).
36
- */
37
- incomingType: IncomingEmailServerType;
38
- /**
39
- * The domain or IP address of the incoming email server.
40
- */
41
- incomingAddress: string;
42
- /**
43
- * The port number of the incoming email server.
44
- */
45
- incomingPort: ushort;
46
- /**
47
- * The username used to login to the incoming email server.
48
- */
49
- incomingLogin: string;
50
- /**
51
- * Is the incoming email server using a secure SSL/TLS connection (it should).
52
- */
53
- incomingSecure: boolean;
54
- /**
55
- * Is the incoming email server /**
56
- * IMAP message sequence number so only recent messages are retrieved.
57
- */
58
- incomingMessageNumber: uint;
59
- /**
60
- * The type of outgoing protocol to use (only SMTP).
61
- */
62
- outgoingType: OutgoingEmailServerType;
63
- /**
64
- * The domain or IP address of the outgoing email server.
65
- */
66
- outgoingAddress: string;
67
- /**
68
- * The port number of the outgoing email server.
69
- */
70
- outgoingPort: ushort;
71
- /**
72
- * The username used to login to the outgoing email server.
73
- */
74
- outgoingLogin: string;
75
- /**
76
- * Is the outgoing email server using a secure SSL/TLS connection (it should).
77
- */
78
- outgoingSecure: boolean;
79
- /**
80
- * Is the outgoing email server /**
81
- * An optional field which can be set as the "sent from" and/or "reply-to" address.
82
- */
83
- outgoingReplyTo: email;
84
- constructor(incomingType?: IncomingEmailServerType, incomingAddress?: string, incomingPort?: ushort, incomingLogin?: string, incomingSecure?: boolean, incomingMessageNumber?: uint, outgoingType?: OutgoingEmailServerType, outgoingAddress?: string, outgoingPort?: ushort, outgoingLogin?: string, outgoingSecure?: boolean, outgoingReplyTo?: string);
85
- toJSON(): {
86
- incomingType: IncomingEmailServerType;
87
- incomingAddress: string;
88
- incomingPort: number | null;
89
- incomingLogin: string;
90
- incomingSecure: boolean;
91
- incomingMessageNumber: number | null;
92
- outgoingType: OutgoingEmailServerType;
93
- outgoingAddress: string;
94
- outgoingPort: number | null;
95
- outgoingLogin: string;
96
- outgoingSecure: boolean;
97
- outgoingReplyTo: string;
98
- };
99
- }
@@ -1,25 +0,0 @@
1
- import { ISerializable } from "../API/Interfaces/ISerializable";
2
- import { JsonObject, ulong, ushort } from "../API/Types";
3
- /**
4
- * Definition for load-balanced outbound SMS numbers for the White-labelling profile.
5
- */
6
- export declare class NotificationServerSms implements ISerializable {
7
- /**
8
- *
9
- * @param json
10
- */
11
- static fromJSON(json: JsonObject): NotificationServerSms;
12
- /**
13
- * A per-number/per-day limit on the amount of Notifications sent.
14
- */
15
- notifyLimit: ushort;
16
- /**
17
- * All phone numbers listed by the country (using two-digit ISO 3166-1 alpha-2 country codes) they each serve.
18
- */
19
- phoneNumbers: Map<string, ulong[]>;
20
- constructor(notifyLimit?: ushort, phoneNumbers?: Map<string, ulong[]>);
21
- toJSON(): {
22
- notifyLimit: number | null;
23
- phoneNumbers: JsonObject;
24
- };
25
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * Defines how User passwords expire.
3
- */
4
- export declare enum PasswordExpiryMode {
5
- /**
6
- * Passwords never expire.
7
- */
8
- never = "never",
9
- /**
10
- * Passwords expire after a defined number of days.
11
- */
12
- days = "days",
13
- /**
14
- * Passwords expire after a defined number of successful logins.
15
- */
16
- sessions = "sessions"
17
- }
@@ -1,51 +0,0 @@
1
- import { ISerializable } from "../API/Interfaces/ISerializable";
2
- import { byte, JsonObject } from "../API/Types";
3
- import { PasswordExpiryMode } from "./PasswordExpiryMode";
4
- /**
5
- * The password complexity and expiry policy.
6
- */
7
- export declare class PasswordPolicy implements ISerializable {
8
- /**
9
- *
10
- * @param json
11
- */
12
- static fromJSON(json: JsonObject): PasswordPolicy;
13
- /**
14
- * The minimum number of characters required.
15
- */
16
- minimumLength: byte;
17
- /**
18
- * Do passwords require alphabetical characters.
19
- */
20
- includeLetters: boolean;
21
- /**
22
- * Do passwords require numeric characters.
23
- */
24
- includeNumbers: boolean;
25
- /**
26
- * Do passwords require upper-case and lower-case letters.
27
- */
28
- includeUpperLower: boolean;
29
- /**
30
- * Do passwords require non-alphanumeric characters.
31
- */
32
- includeSpecial: boolean;
33
- /**
34
- * Defines how passwords expire.
35
- */
36
- expireMode: PasswordExpiryMode;
37
- /**
38
- * The threshold for expiry.
39
- */
40
- expireThreshold: byte;
41
- constructor(minimumLength?: byte, includeLetters?: boolean, includeNumbers?: boolean, includeUpperLower?: boolean, includeSpecial?: boolean, expireMode?: PasswordExpiryMode, expireThreshold?: byte);
42
- toJSON(): {
43
- minimumLength: number | null;
44
- includeLetters: boolean;
45
- includeNumbers: boolean;
46
- includeUpperLower: boolean;
47
- includeSpecial: boolean;
48
- expireMode: PasswordExpiryMode;
49
- expireThreshold: number | null;
50
- };
51
- }
@@ -1,17 +0,0 @@
1
- /**
2
- * Defines the behaviour of the system when a user creates multiple sessions.
3
- */
4
- export declare enum SessionMultiUser {
5
- /**
6
- * Allow users to create multiple simultaneous sessions.
7
- */
8
- allow = "allow",
9
- /**
10
- * Deny users from creating new sessions if they already have an active session.
11
- */
12
- deny = "deny",
13
- /**
14
- * Allow users to create a new session, but automatically kill the previous session.
15
- */
16
- replace = "replace"
17
- }