@digital8/security-registers-backend-ts-sdk 0.0.709 → 0.0.711

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 (135) hide show
  1. package/.openapi-generator/FILES +1 -15
  2. package/README.md +2 -2
  3. package/dist/apis/GeneralApi.d.ts +5 -4
  4. package/dist/apis/GeneralApi.js +3 -1
  5. package/dist/models/AuthRegisterGuardRequestLicencesInner.d.ts +11 -3
  6. package/dist/models/AuthRegisterGuardRequestLicencesInner.js +11 -3
  7. package/dist/models/DevicesRegisterRequest.d.ts +10 -3
  8. package/dist/models/DevicesRegisterRequest.js +10 -3
  9. package/dist/models/ExportQueuedResource.d.ts +12 -3
  10. package/dist/models/ExportQueuedResource.js +12 -3
  11. package/dist/models/IncidentFieldSchemaResource.d.ts +21 -6
  12. package/dist/models/IncidentFieldSchemaResource.js +20 -6
  13. package/dist/models/IncidentVideoResource.d.ts +11 -3
  14. package/dist/models/IncidentVideoResource.js +11 -3
  15. package/dist/models/LicenceCheckLogResource.d.ts +15 -3
  16. package/dist/models/LicenceCheckLogResource.js +15 -3
  17. package/dist/models/LicenceListResource.d.ts +11 -3
  18. package/dist/models/LicenceListResource.js +11 -3
  19. package/dist/models/LicenceLiteResource.d.ts +11 -3
  20. package/dist/models/LicenceLiteResource.js +11 -3
  21. package/dist/models/LicenceResource.d.ts +11 -3
  22. package/dist/models/LicenceResource.js +11 -3
  23. package/dist/models/LicencesStoreRequest.d.ts +11 -3
  24. package/dist/models/LicencesStoreRequest.js +11 -3
  25. package/dist/models/LicencesUpdateRequest.d.ts +11 -3
  26. package/dist/models/LicencesUpdateRequest.js +11 -3
  27. package/dist/models/LicencesVerifyRequest.d.ts +11 -3
  28. package/dist/models/LicencesVerifyRequest.js +11 -3
  29. package/dist/models/MobileAppConfigRequest.d.ts +10 -3
  30. package/dist/models/MobileAppConfigRequest.js +10 -3
  31. package/dist/models/MobileAppConfigResource.d.ts +10 -3
  32. package/dist/models/MobileAppConfigResource.js +10 -3
  33. package/dist/models/MobileDeviceResource.d.ts +10 -3
  34. package/dist/models/MobileDeviceResource.js +10 -3
  35. package/dist/models/NotificationPreferenceResource.d.ts +17 -3
  36. package/dist/models/NotificationPreferenceResource.js +17 -3
  37. package/dist/models/NotificationPreferencesBulkRequestPreferencesInner.d.ts +17 -3
  38. package/dist/models/NotificationPreferencesBulkRequestPreferencesInner.js +17 -3
  39. package/dist/models/NotificationPreferencesStoreRequest.d.ts +17 -3
  40. package/dist/models/NotificationPreferencesStoreRequest.js +17 -3
  41. package/dist/models/PdfExportResource.d.ts +12 -3
  42. package/dist/models/PdfExportResource.js +12 -3
  43. package/dist/models/RegisterListResource.d.ts +11 -3
  44. package/dist/models/RegisterListResource.js +11 -3
  45. package/dist/models/RegisterResource.d.ts +11 -3
  46. package/dist/models/RegisterResource.js +11 -3
  47. package/dist/models/RegistersUpdateRequest.d.ts +11 -3
  48. package/dist/models/RegistersUpdateRequest.js +11 -3
  49. package/dist/models/RosterListResource.d.ts +11 -3
  50. package/dist/models/RosterListResource.js +11 -3
  51. package/dist/models/RosterResource.d.ts +11 -3
  52. package/dist/models/RosterResource.js +11 -3
  53. package/dist/models/RosterWithRegistersResource.d.ts +11 -3
  54. package/dist/models/RosterWithRegistersResource.js +11 -3
  55. package/dist/models/RostersUpdateRequest.d.ts +11 -3
  56. package/dist/models/RostersUpdateRequest.js +11 -3
  57. package/dist/models/VenuesSignedOnGuardsRequest.d.ts +32 -0
  58. package/dist/models/VenuesSignedOnGuardsRequest.js +49 -0
  59. package/dist/models/index.d.ts +1 -15
  60. package/dist/models/index.js +1 -15
  61. package/package.json +1 -1
  62. package/src/apis/GeneralApi.ts +11 -4
  63. package/src/models/AuthRegisterGuardRequestLicencesInner.ts +14 -11
  64. package/src/models/DevicesRegisterRequest.ts +13 -12
  65. package/src/models/ExportQueuedResource.ts +15 -12
  66. package/src/models/IncidentFieldSchemaResource.ts +27 -23
  67. package/src/models/IncidentVideoResource.ts +14 -12
  68. package/src/models/LicenceCheckLogResource.ts +18 -12
  69. package/src/models/LicenceListResource.ts +14 -11
  70. package/src/models/LicenceLiteResource.ts +14 -12
  71. package/src/models/LicenceResource.ts +14 -11
  72. package/src/models/LicencesStoreRequest.ts +14 -11
  73. package/src/models/LicencesUpdateRequest.ts +14 -11
  74. package/src/models/LicencesVerifyRequest.ts +14 -12
  75. package/src/models/MobileAppConfigRequest.ts +13 -12
  76. package/src/models/MobileAppConfigResource.ts +13 -12
  77. package/src/models/MobileDeviceResource.ts +13 -12
  78. package/src/models/NotificationPreferenceResource.ts +20 -11
  79. package/src/models/NotificationPreferencesBulkRequestPreferencesInner.ts +20 -12
  80. package/src/models/NotificationPreferencesStoreRequest.ts +20 -12
  81. package/src/models/PdfExportResource.ts +15 -12
  82. package/src/models/RegisterListResource.ts +14 -11
  83. package/src/models/RegisterResource.ts +14 -11
  84. package/src/models/RegistersUpdateRequest.ts +14 -11
  85. package/src/models/RosterListResource.ts +14 -11
  86. package/src/models/RosterResource.ts +14 -11
  87. package/src/models/RosterWithRegistersResource.ts +14 -11
  88. package/src/models/RostersUpdateRequest.ts +14 -12
  89. package/src/models/VenuesSignedOnGuardsRequest.ts +65 -0
  90. package/src/models/index.ts +1 -15
  91. package/dist/models/AustralianState.d.ts +0 -31
  92. package/dist/models/AustralianState.js +0 -57
  93. package/dist/models/IncidentSchemaType.d.ts +0 -25
  94. package/dist/models/IncidentSchemaType.js +0 -51
  95. package/dist/models/IncidentVideoStatus.d.ts +0 -26
  96. package/dist/models/IncidentVideoStatus.js +0 -52
  97. package/dist/models/LicenceCheckSource.d.ts +0 -30
  98. package/dist/models/LicenceCheckSource.js +0 -56
  99. package/dist/models/LicenceState.d.ts +0 -26
  100. package/dist/models/LicenceState.js +0 -52
  101. package/dist/models/LoginPlatform.d.ts +0 -25
  102. package/dist/models/LoginPlatform.js +0 -51
  103. package/dist/models/MobileDevicePlatform.d.ts +0 -25
  104. package/dist/models/MobileDevicePlatform.js +0 -51
  105. package/dist/models/NotificationStatus.d.ts +0 -25
  106. package/dist/models/NotificationStatus.js +0 -51
  107. package/dist/models/NotificationType.d.ts +0 -32
  108. package/dist/models/NotificationType.js +0 -58
  109. package/dist/models/PdfExportDownloadType.d.ts +0 -26
  110. package/dist/models/PdfExportDownloadType.js +0 -52
  111. package/dist/models/PdfExportKind.d.ts +0 -28
  112. package/dist/models/PdfExportKind.js +0 -54
  113. package/dist/models/PdfExportStatus.d.ts +0 -27
  114. package/dist/models/PdfExportStatus.js +0 -53
  115. package/dist/models/RecordSource.d.ts +0 -28
  116. package/dist/models/RecordSource.js +0 -54
  117. package/dist/models/SignOffStatus.d.ts +0 -26
  118. package/dist/models/SignOffStatus.js +0 -52
  119. package/dist/models/UserRole.d.ts +0 -29
  120. package/dist/models/UserRole.js +0 -55
  121. package/src/models/AustralianState.ts +0 -59
  122. package/src/models/IncidentSchemaType.ts +0 -53
  123. package/src/models/IncidentVideoStatus.ts +0 -54
  124. package/src/models/LicenceCheckSource.ts +0 -58
  125. package/src/models/LicenceState.ts +0 -54
  126. package/src/models/LoginPlatform.ts +0 -53
  127. package/src/models/MobileDevicePlatform.ts +0 -53
  128. package/src/models/NotificationStatus.ts +0 -53
  129. package/src/models/NotificationType.ts +0 -60
  130. package/src/models/PdfExportDownloadType.ts +0 -54
  131. package/src/models/PdfExportKind.ts +0 -56
  132. package/src/models/PdfExportStatus.ts +0 -55
  133. package/src/models/RecordSource.ts +0 -56
  134. package/src/models/SignOffStatus.ts +0 -54
  135. package/src/models/UserRole.ts +0 -57
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { MobileDevicePlatform } from './MobileDevicePlatform';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -30,10 +29,10 @@ export interface MobileDeviceResource {
30
29
  deviceId: string;
31
30
  /**
32
31
  *
33
- * @type {MobileDevicePlatform}
32
+ * @type {string}
34
33
  * @memberof MobileDeviceResource
35
34
  */
36
- platform: MobileDevicePlatform;
35
+ platform: MobileDeviceResourcePlatformEnum;
37
36
  /**
38
37
  *
39
38
  * @type {string}
@@ -83,6 +82,14 @@ export interface MobileDeviceResource {
83
82
  */
84
83
  updatedAt?: Date | null;
85
84
  }
85
+ /**
86
+ * @export
87
+ */
88
+ export declare const MobileDeviceResourcePlatformEnum: {
89
+ readonly Ios: "ios";
90
+ readonly Android: "android";
91
+ };
92
+ export type MobileDeviceResourcePlatformEnum = typeof MobileDeviceResourcePlatformEnum[keyof typeof MobileDeviceResourcePlatformEnum];
86
93
  /**
87
94
  * Check if a given object implements the MobileDeviceResource interface.
88
95
  */
@@ -13,12 +13,19 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.MobileDeviceResourcePlatformEnum = void 0;
16
17
  exports.instanceOfMobileDeviceResource = instanceOfMobileDeviceResource;
17
18
  exports.MobileDeviceResourceFromJSON = MobileDeviceResourceFromJSON;
18
19
  exports.MobileDeviceResourceFromJSONTyped = MobileDeviceResourceFromJSONTyped;
19
20
  exports.MobileDeviceResourceToJSON = MobileDeviceResourceToJSON;
20
21
  exports.MobileDeviceResourceToJSONTyped = MobileDeviceResourceToJSONTyped;
21
- var MobileDevicePlatform_1 = require("./MobileDevicePlatform");
22
+ /**
23
+ * @export
24
+ */
25
+ exports.MobileDeviceResourcePlatformEnum = {
26
+ Ios: 'ios',
27
+ Android: 'android'
28
+ };
22
29
  /**
23
30
  * Check if a given object implements the MobileDeviceResource interface.
24
31
  */
@@ -49,7 +56,7 @@ function MobileDeviceResourceFromJSONTyped(json, ignoreDiscriminator) {
49
56
  return {
50
57
  'id': json['id'] == null ? undefined : json['id'],
51
58
  'deviceId': json['deviceId'],
52
- 'platform': (0, MobileDevicePlatform_1.MobileDevicePlatformFromJSON)(json['platform']),
59
+ 'platform': json['platform'],
53
60
  'osVersion': json['osVersion'],
54
61
  'appVersion': json['appVersion'],
55
62
  'model': json['model'],
@@ -72,7 +79,7 @@ function MobileDeviceResourceToJSONTyped(value, ignoreDiscriminator) {
72
79
  return {
73
80
  'id': value['id'],
74
81
  'deviceId': value['deviceId'],
75
- 'platform': (0, MobileDevicePlatform_1.MobileDevicePlatformToJSON)(value['platform']),
82
+ 'platform': value['platform'],
76
83
  'osVersion': value['osVersion'],
77
84
  'appVersion': value['appVersion'],
78
85
  'model': value['model'],
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { VenueLiteResource } from './VenueLiteResource';
13
- import type { NotificationType } from './NotificationType';
14
13
  /**
15
14
  *
16
15
  * @export
@@ -25,10 +24,10 @@ export interface NotificationPreferenceResource {
25
24
  id?: number | null;
26
25
  /**
27
26
  *
28
- * @type {NotificationType}
27
+ * @type {string}
29
28
  * @memberof NotificationPreferenceResource
30
29
  */
31
- notificationType: NotificationType;
30
+ notificationType: NotificationPreferenceResourceNotificationTypeEnum;
32
31
  /**
33
32
  *
34
33
  * @type {VenueLiteResource}
@@ -54,6 +53,21 @@ export interface NotificationPreferenceResource {
54
53
  */
55
54
  updatedAt?: Date | null;
56
55
  }
56
+ /**
57
+ * @export
58
+ */
59
+ export declare const NotificationPreferenceResourceNotificationTypeEnum: {
60
+ readonly IncidentAdded: "incident_added";
61
+ readonly IncidentPendingReminder: "incident_pending_reminder";
62
+ readonly NonSignOff: "non_sign_off";
63
+ readonly NonSignOn: "non_sign_on";
64
+ readonly SignOnRejected: "sign_on_rejected";
65
+ readonly LicenceUpdated: "licence_updated";
66
+ readonly LicenceExpiringSoon: "licence_expiring_soon";
67
+ readonly ExportReady: "export_ready";
68
+ readonly ExportFailed: "export_failed";
69
+ };
70
+ export type NotificationPreferenceResourceNotificationTypeEnum = typeof NotificationPreferenceResourceNotificationTypeEnum[keyof typeof NotificationPreferenceResourceNotificationTypeEnum];
57
71
  /**
58
72
  * Check if a given object implements the NotificationPreferenceResource interface.
59
73
  */
@@ -13,13 +13,27 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.NotificationPreferenceResourceNotificationTypeEnum = void 0;
16
17
  exports.instanceOfNotificationPreferenceResource = instanceOfNotificationPreferenceResource;
17
18
  exports.NotificationPreferenceResourceFromJSON = NotificationPreferenceResourceFromJSON;
18
19
  exports.NotificationPreferenceResourceFromJSONTyped = NotificationPreferenceResourceFromJSONTyped;
19
20
  exports.NotificationPreferenceResourceToJSON = NotificationPreferenceResourceToJSON;
20
21
  exports.NotificationPreferenceResourceToJSONTyped = NotificationPreferenceResourceToJSONTyped;
21
22
  var VenueLiteResource_1 = require("./VenueLiteResource");
22
- var NotificationType_1 = require("./NotificationType");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.NotificationPreferenceResourceNotificationTypeEnum = {
27
+ IncidentAdded: 'incident_added',
28
+ IncidentPendingReminder: 'incident_pending_reminder',
29
+ NonSignOff: 'non_sign_off',
30
+ NonSignOn: 'non_sign_on',
31
+ SignOnRejected: 'sign_on_rejected',
32
+ LicenceUpdated: 'licence_updated',
33
+ LicenceExpiringSoon: 'licence_expiring_soon',
34
+ ExportReady: 'export_ready',
35
+ ExportFailed: 'export_failed'
36
+ };
23
37
  /**
24
38
  * Check if a given object implements the NotificationPreferenceResource interface.
25
39
  */
@@ -41,7 +55,7 @@ function NotificationPreferenceResourceFromJSONTyped(json, ignoreDiscriminator)
41
55
  }
42
56
  return {
43
57
  'id': json['id'] == null ? undefined : json['id'],
44
- 'notificationType': (0, NotificationType_1.NotificationTypeFromJSON)(json['notificationType']),
58
+ 'notificationType': json['notificationType'],
45
59
  'venue': (0, VenueLiteResource_1.VenueLiteResourceFromJSON)(json['venue']),
46
60
  'enabled': json['enabled'],
47
61
  'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
@@ -59,7 +73,7 @@ function NotificationPreferenceResourceToJSONTyped(value, ignoreDiscriminator) {
59
73
  }
60
74
  return {
61
75
  'id': value['id'],
62
- 'notificationType': (0, NotificationType_1.NotificationTypeToJSON)(value['notificationType']),
76
+ 'notificationType': value['notificationType'],
63
77
  'venue': (0, VenueLiteResource_1.VenueLiteResourceToJSON)(value['venue']),
64
78
  'enabled': value['enabled'],
65
79
  'createdAt': value['createdAt'] === null ? null : ((_a = value['createdAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { NotificationType } from './NotificationType';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -18,10 +17,10 @@ import type { NotificationType } from './NotificationType';
18
17
  export interface NotificationPreferencesBulkRequestPreferencesInner {
19
18
  /**
20
19
  *
21
- * @type {NotificationType}
20
+ * @type {string}
22
21
  * @memberof NotificationPreferencesBulkRequestPreferencesInner
23
22
  */
24
- notificationType: NotificationType;
23
+ notificationType: NotificationPreferencesBulkRequestPreferencesInnerNotificationTypeEnum;
25
24
  /**
26
25
  *
27
26
  * @type {number}
@@ -35,6 +34,21 @@ export interface NotificationPreferencesBulkRequestPreferencesInner {
35
34
  */
36
35
  enabled: boolean;
37
36
  }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const NotificationPreferencesBulkRequestPreferencesInnerNotificationTypeEnum: {
41
+ readonly IncidentAdded: "incident_added";
42
+ readonly IncidentPendingReminder: "incident_pending_reminder";
43
+ readonly NonSignOff: "non_sign_off";
44
+ readonly NonSignOn: "non_sign_on";
45
+ readonly SignOnRejected: "sign_on_rejected";
46
+ readonly LicenceUpdated: "licence_updated";
47
+ readonly LicenceExpiringSoon: "licence_expiring_soon";
48
+ readonly ExportReady: "export_ready";
49
+ readonly ExportFailed: "export_failed";
50
+ };
51
+ export type NotificationPreferencesBulkRequestPreferencesInnerNotificationTypeEnum = typeof NotificationPreferencesBulkRequestPreferencesInnerNotificationTypeEnum[keyof typeof NotificationPreferencesBulkRequestPreferencesInnerNotificationTypeEnum];
38
52
  /**
39
53
  * Check if a given object implements the NotificationPreferencesBulkRequestPreferencesInner interface.
40
54
  */
@@ -13,12 +13,26 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.NotificationPreferencesBulkRequestPreferencesInnerNotificationTypeEnum = void 0;
16
17
  exports.instanceOfNotificationPreferencesBulkRequestPreferencesInner = instanceOfNotificationPreferencesBulkRequestPreferencesInner;
17
18
  exports.NotificationPreferencesBulkRequestPreferencesInnerFromJSON = NotificationPreferencesBulkRequestPreferencesInnerFromJSON;
18
19
  exports.NotificationPreferencesBulkRequestPreferencesInnerFromJSONTyped = NotificationPreferencesBulkRequestPreferencesInnerFromJSONTyped;
19
20
  exports.NotificationPreferencesBulkRequestPreferencesInnerToJSON = NotificationPreferencesBulkRequestPreferencesInnerToJSON;
20
21
  exports.NotificationPreferencesBulkRequestPreferencesInnerToJSONTyped = NotificationPreferencesBulkRequestPreferencesInnerToJSONTyped;
21
- var NotificationType_1 = require("./NotificationType");
22
+ /**
23
+ * @export
24
+ */
25
+ exports.NotificationPreferencesBulkRequestPreferencesInnerNotificationTypeEnum = {
26
+ IncidentAdded: 'incident_added',
27
+ IncidentPendingReminder: 'incident_pending_reminder',
28
+ NonSignOff: 'non_sign_off',
29
+ NonSignOn: 'non_sign_on',
30
+ SignOnRejected: 'sign_on_rejected',
31
+ LicenceUpdated: 'licence_updated',
32
+ LicenceExpiringSoon: 'licence_expiring_soon',
33
+ ExportReady: 'export_ready',
34
+ ExportFailed: 'export_failed'
35
+ };
22
36
  /**
23
37
  * Check if a given object implements the NotificationPreferencesBulkRequestPreferencesInner interface.
24
38
  */
@@ -37,7 +51,7 @@ function NotificationPreferencesBulkRequestPreferencesInnerFromJSONTyped(json, i
37
51
  return json;
38
52
  }
39
53
  return {
40
- 'notificationType': (0, NotificationType_1.NotificationTypeFromJSON)(json['notification_type']),
54
+ 'notificationType': json['notification_type'],
41
55
  'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
42
56
  'enabled': json['enabled'],
43
57
  };
@@ -51,7 +65,7 @@ function NotificationPreferencesBulkRequestPreferencesInnerToJSONTyped(value, ig
51
65
  return value;
52
66
  }
53
67
  return {
54
- 'notification_type': (0, NotificationType_1.NotificationTypeToJSON)(value['notificationType']),
68
+ 'notification_type': value['notificationType'],
55
69
  'venue_id': value['venueId'],
56
70
  'enabled': value['enabled'],
57
71
  };
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { NotificationType } from './NotificationType';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -18,10 +17,10 @@ import type { NotificationType } from './NotificationType';
18
17
  export interface NotificationPreferencesStoreRequest {
19
18
  /**
20
19
  *
21
- * @type {NotificationType}
20
+ * @type {string}
22
21
  * @memberof NotificationPreferencesStoreRequest
23
22
  */
24
- notificationType: NotificationType;
23
+ notificationType: NotificationPreferencesStoreRequestNotificationTypeEnum;
25
24
  /**
26
25
  *
27
26
  * @type {number}
@@ -35,6 +34,21 @@ export interface NotificationPreferencesStoreRequest {
35
34
  */
36
35
  enabled: boolean;
37
36
  }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const NotificationPreferencesStoreRequestNotificationTypeEnum: {
41
+ readonly IncidentAdded: "incident_added";
42
+ readonly IncidentPendingReminder: "incident_pending_reminder";
43
+ readonly NonSignOff: "non_sign_off";
44
+ readonly NonSignOn: "non_sign_on";
45
+ readonly SignOnRejected: "sign_on_rejected";
46
+ readonly LicenceUpdated: "licence_updated";
47
+ readonly LicenceExpiringSoon: "licence_expiring_soon";
48
+ readonly ExportReady: "export_ready";
49
+ readonly ExportFailed: "export_failed";
50
+ };
51
+ export type NotificationPreferencesStoreRequestNotificationTypeEnum = typeof NotificationPreferencesStoreRequestNotificationTypeEnum[keyof typeof NotificationPreferencesStoreRequestNotificationTypeEnum];
38
52
  /**
39
53
  * Check if a given object implements the NotificationPreferencesStoreRequest interface.
40
54
  */
@@ -13,12 +13,26 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.NotificationPreferencesStoreRequestNotificationTypeEnum = void 0;
16
17
  exports.instanceOfNotificationPreferencesStoreRequest = instanceOfNotificationPreferencesStoreRequest;
17
18
  exports.NotificationPreferencesStoreRequestFromJSON = NotificationPreferencesStoreRequestFromJSON;
18
19
  exports.NotificationPreferencesStoreRequestFromJSONTyped = NotificationPreferencesStoreRequestFromJSONTyped;
19
20
  exports.NotificationPreferencesStoreRequestToJSON = NotificationPreferencesStoreRequestToJSON;
20
21
  exports.NotificationPreferencesStoreRequestToJSONTyped = NotificationPreferencesStoreRequestToJSONTyped;
21
- var NotificationType_1 = require("./NotificationType");
22
+ /**
23
+ * @export
24
+ */
25
+ exports.NotificationPreferencesStoreRequestNotificationTypeEnum = {
26
+ IncidentAdded: 'incident_added',
27
+ IncidentPendingReminder: 'incident_pending_reminder',
28
+ NonSignOff: 'non_sign_off',
29
+ NonSignOn: 'non_sign_on',
30
+ SignOnRejected: 'sign_on_rejected',
31
+ LicenceUpdated: 'licence_updated',
32
+ LicenceExpiringSoon: 'licence_expiring_soon',
33
+ ExportReady: 'export_ready',
34
+ ExportFailed: 'export_failed'
35
+ };
22
36
  /**
23
37
  * Check if a given object implements the NotificationPreferencesStoreRequest interface.
24
38
  */
@@ -37,7 +51,7 @@ function NotificationPreferencesStoreRequestFromJSONTyped(json, ignoreDiscrimina
37
51
  return json;
38
52
  }
39
53
  return {
40
- 'notificationType': (0, NotificationType_1.NotificationTypeFromJSON)(json['notification_type']),
54
+ 'notificationType': json['notification_type'],
41
55
  'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
42
56
  'enabled': json['enabled'],
43
57
  };
@@ -51,7 +65,7 @@ function NotificationPreferencesStoreRequestToJSONTyped(value, ignoreDiscriminat
51
65
  return value;
52
66
  }
53
67
  return {
54
- 'notification_type': (0, NotificationType_1.NotificationTypeToJSON)(value['notificationType']),
68
+ 'notification_type': value['notificationType'],
55
69
  'venue_id': value['venueId'],
56
70
  'enabled': value['enabled'],
57
71
  };
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import type { PdfExportStatus } from './PdfExportStatus';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -24,10 +23,10 @@ export interface PdfExportResource {
24
23
  id: number;
25
24
  /**
26
25
  *
27
- * @type {PdfExportStatus}
26
+ * @type {string}
28
27
  * @memberof PdfExportResource
29
28
  */
30
- status: PdfExportStatus;
29
+ status: PdfExportResourceStatusEnum;
31
30
  /**
32
31
  *
33
32
  * @type {string}
@@ -41,6 +40,16 @@ export interface PdfExportResource {
41
40
  */
42
41
  downloadUrl?: string | null;
43
42
  }
43
+ /**
44
+ * @export
45
+ */
46
+ export declare const PdfExportResourceStatusEnum: {
47
+ readonly Pending: "pending";
48
+ readonly Processing: "processing";
49
+ readonly Completed: "completed";
50
+ readonly Failed: "failed";
51
+ };
52
+ export type PdfExportResourceStatusEnum = typeof PdfExportResourceStatusEnum[keyof typeof PdfExportResourceStatusEnum];
44
53
  /**
45
54
  * Check if a given object implements the PdfExportResource interface.
46
55
  */
@@ -13,12 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PdfExportResourceStatusEnum = void 0;
16
17
  exports.instanceOfPdfExportResource = instanceOfPdfExportResource;
17
18
  exports.PdfExportResourceFromJSON = PdfExportResourceFromJSON;
18
19
  exports.PdfExportResourceFromJSONTyped = PdfExportResourceFromJSONTyped;
19
20
  exports.PdfExportResourceToJSON = PdfExportResourceToJSON;
20
21
  exports.PdfExportResourceToJSONTyped = PdfExportResourceToJSONTyped;
21
- var PdfExportStatus_1 = require("./PdfExportStatus");
22
+ /**
23
+ * @export
24
+ */
25
+ exports.PdfExportResourceStatusEnum = {
26
+ Pending: 'pending',
27
+ Processing: 'processing',
28
+ Completed: 'completed',
29
+ Failed: 'failed'
30
+ };
22
31
  /**
23
32
  * Check if a given object implements the PdfExportResource interface.
24
33
  */
@@ -38,7 +47,7 @@ function PdfExportResourceFromJSONTyped(json, ignoreDiscriminator) {
38
47
  }
39
48
  return {
40
49
  'id': json['id'],
41
- 'status': (0, PdfExportStatus_1.PdfExportStatusFromJSON)(json['status']),
50
+ 'status': json['status'],
42
51
  'errorMessage': json['errorMessage'] == null ? undefined : json['errorMessage'],
43
52
  'downloadUrl': json['downloadUrl'] == null ? undefined : json['downloadUrl'],
44
53
  };
@@ -53,7 +62,7 @@ function PdfExportResourceToJSONTyped(value, ignoreDiscriminator) {
53
62
  }
54
63
  return {
55
64
  'id': value['id'],
56
- 'status': (0, PdfExportStatus_1.PdfExportStatusToJSON)(value['status']),
65
+ 'status': value['status'],
57
66
  'errorMessage': value['errorMessage'],
58
67
  'downloadUrl': value['downloadUrl'],
59
68
  };
@@ -11,7 +11,6 @@
11
11
  */
12
12
  import type { VenueLiteResource } from './VenueLiteResource';
13
13
  import type { UserLiteResource } from './UserLiteResource';
14
- import type { SignOffStatus } from './SignOffStatus';
15
14
  /**
16
15
  *
17
16
  * @export
@@ -56,10 +55,10 @@ export interface RegisterListResource {
56
55
  shiftLength: object;
57
56
  /**
58
57
  *
59
- * @type {SignOffStatus}
58
+ * @type {number}
60
59
  * @memberof RegisterListResource
61
60
  */
62
- signOffStatus: SignOffStatus;
61
+ signOffStatus: RegisterListResourceSignOffStatusEnum;
63
62
  /**
64
63
  *
65
64
  * @type {string}
@@ -169,6 +168,15 @@ export interface RegisterListResource {
169
168
  */
170
169
  hasIncidents: boolean;
171
170
  }
171
+ /**
172
+ * @export
173
+ */
174
+ export declare const RegisterListResourceSignOffStatusEnum: {
175
+ readonly NUMBER_0: 0;
176
+ readonly NUMBER_1: 1;
177
+ readonly NUMBER_2: 2;
178
+ };
179
+ export type RegisterListResourceSignOffStatusEnum = typeof RegisterListResourceSignOffStatusEnum[keyof typeof RegisterListResourceSignOffStatusEnum];
172
180
  /**
173
181
  * Check if a given object implements the RegisterListResource interface.
174
182
  */
@@ -13,6 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.RegisterListResourceSignOffStatusEnum = void 0;
16
17
  exports.instanceOfRegisterListResource = instanceOfRegisterListResource;
17
18
  exports.RegisterListResourceFromJSON = RegisterListResourceFromJSON;
18
19
  exports.RegisterListResourceFromJSONTyped = RegisterListResourceFromJSONTyped;
@@ -20,7 +21,14 @@ exports.RegisterListResourceToJSON = RegisterListResourceToJSON;
20
21
  exports.RegisterListResourceToJSONTyped = RegisterListResourceToJSONTyped;
21
22
  var VenueLiteResource_1 = require("./VenueLiteResource");
22
23
  var UserLiteResource_1 = require("./UserLiteResource");
23
- var SignOffStatus_1 = require("./SignOffStatus");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.RegisterListResourceSignOffStatusEnum = {
28
+ NUMBER_0: 0,
29
+ NUMBER_1: 1,
30
+ NUMBER_2: 2
31
+ };
24
32
  /**
25
33
  * Check if a given object implements the RegisterListResource interface.
26
34
  */
@@ -79,7 +87,7 @@ function RegisterListResourceFromJSONTyped(json, ignoreDiscriminator) {
79
87
  'startDateTime': (new Date(json['startDateTime'])),
80
88
  'finishDateTime': json['finishDateTime'] == null ? undefined : (new Date(json['finishDateTime'])),
81
89
  'shiftLength': json['shiftLength'],
82
- 'signOffStatus': (0, SignOffStatus_1.SignOffStatusFromJSON)(json['signOffStatus']),
90
+ 'signOffStatus': json['signOffStatus'],
83
91
  'badgeNumber': json['badgeNumber'] == null ? undefined : json['badgeNumber'],
84
92
  'rampReadAt': json['rampReadAt'] == null ? undefined : (new Date(json['rampReadAt'])),
85
93
  'licenceNumber': json['licenceNumber'],
@@ -116,7 +124,7 @@ function RegisterListResourceToJSONTyped(value, ignoreDiscriminator) {
116
124
  'startDateTime': ((value['startDateTime']).toISOString()),
117
125
  'finishDateTime': value['finishDateTime'] === null ? null : ((_a = value['finishDateTime']) === null || _a === void 0 ? void 0 : _a.toISOString()),
118
126
  'shiftLength': value['shiftLength'],
119
- 'signOffStatus': (0, SignOffStatus_1.SignOffStatusToJSON)(value['signOffStatus']),
127
+ 'signOffStatus': value['signOffStatus'],
120
128
  'badgeNumber': value['badgeNumber'],
121
129
  'rampReadAt': value['rampReadAt'] === null ? null : ((_b = value['rampReadAt']) === null || _b === void 0 ? void 0 : _b.toISOString()),
122
130
  'licenceNumber': value['licenceNumber'],
@@ -11,7 +11,6 @@
11
11
  */
12
12
  import type { VenueLiteResource } from './VenueLiteResource';
13
13
  import type { UserLiteResource } from './UserLiteResource';
14
- import type { SignOffStatus } from './SignOffStatus';
15
14
  /**
16
15
  *
17
16
  * @export
@@ -50,10 +49,10 @@ export interface RegisterResource {
50
49
  finishDateTime?: Date | null;
51
50
  /**
52
51
  *
53
- * @type {SignOffStatus}
52
+ * @type {number}
54
53
  * @memberof RegisterResource
55
54
  */
56
- signOffStatus: SignOffStatus;
55
+ signOffStatus: RegisterResourceSignOffStatusEnum;
57
56
  /**
58
57
  *
59
58
  * @type {object}
@@ -169,6 +168,15 @@ export interface RegisterResource {
169
168
  */
170
169
  updatedAt?: Date | null;
171
170
  }
171
+ /**
172
+ * @export
173
+ */
174
+ export declare const RegisterResourceSignOffStatusEnum: {
175
+ readonly NUMBER_0: 0;
176
+ readonly NUMBER_1: 1;
177
+ readonly NUMBER_2: 2;
178
+ };
179
+ export type RegisterResourceSignOffStatusEnum = typeof RegisterResourceSignOffStatusEnum[keyof typeof RegisterResourceSignOffStatusEnum];
172
180
  /**
173
181
  * Check if a given object implements the RegisterResource interface.
174
182
  */
@@ -13,6 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.RegisterResourceSignOffStatusEnum = void 0;
16
17
  exports.instanceOfRegisterResource = instanceOfRegisterResource;
17
18
  exports.RegisterResourceFromJSON = RegisterResourceFromJSON;
18
19
  exports.RegisterResourceFromJSONTyped = RegisterResourceFromJSONTyped;
@@ -20,7 +21,14 @@ exports.RegisterResourceToJSON = RegisterResourceToJSON;
20
21
  exports.RegisterResourceToJSONTyped = RegisterResourceToJSONTyped;
21
22
  var VenueLiteResource_1 = require("./VenueLiteResource");
22
23
  var UserLiteResource_1 = require("./UserLiteResource");
23
- var SignOffStatus_1 = require("./SignOffStatus");
24
+ /**
25
+ * @export
26
+ */
27
+ exports.RegisterResourceSignOffStatusEnum = {
28
+ NUMBER_0: 0,
29
+ NUMBER_1: 1,
30
+ NUMBER_2: 2
31
+ };
24
32
  /**
25
33
  * Check if a given object implements the RegisterResource interface.
26
34
  */
@@ -74,7 +82,7 @@ function RegisterResourceFromJSONTyped(json, ignoreDiscriminator) {
74
82
  'user': (0, UserLiteResource_1.UserLiteResourceFromJSON)(json['user']),
75
83
  'startDateTime': (new Date(json['startDateTime'])),
76
84
  'finishDateTime': json['finishDateTime'] == null ? undefined : (new Date(json['finishDateTime'])),
77
- 'signOffStatus': (0, SignOffStatus_1.SignOffStatusFromJSON)(json['signOffStatus']),
85
+ 'signOffStatus': json['signOffStatus'],
78
86
  'signOnSignature': json['signOnSignature'],
79
87
  'signOffSignature': json['signOffSignature'],
80
88
  'rampReadSignature': json['rampReadSignature'],
@@ -111,7 +119,7 @@ function RegisterResourceToJSONTyped(value, ignoreDiscriminator) {
111
119
  'user': (0, UserLiteResource_1.UserLiteResourceToJSON)(value['user']),
112
120
  'startDateTime': ((value['startDateTime']).toISOString()),
113
121
  'finishDateTime': value['finishDateTime'] === null ? null : ((_a = value['finishDateTime']) === null || _a === void 0 ? void 0 : _a.toISOString()),
114
- 'signOffStatus': (0, SignOffStatus_1.SignOffStatusToJSON)(value['signOffStatus']),
122
+ 'signOffStatus': value['signOffStatus'],
115
123
  'signOnSignature': value['signOnSignature'],
116
124
  'signOffSignature': value['signOffSignature'],
117
125
  'rampReadSignature': value['rampReadSignature'],
@@ -10,7 +10,6 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import type { LicencesStoreRequestBackAsset } from './LicencesStoreRequestBackAsset';
13
- import type { SignOffStatus } from './SignOffStatus';
14
13
  /**
15
14
  *
16
15
  * @export
@@ -43,10 +42,10 @@ export interface RegistersUpdateRequest {
43
42
  finishDateTime?: Date;
44
43
  /**
45
44
  *
46
- * @type {SignOffStatus}
45
+ * @type {string}
47
46
  * @memberof RegistersUpdateRequest
48
47
  */
49
- signOffStatus?: SignOffStatus;
48
+ signOffStatus?: RegistersUpdateRequestSignOffStatusEnum;
50
49
  /**
51
50
  *
52
51
  * @type {string}
@@ -96,6 +95,15 @@ export interface RegistersUpdateRequest {
96
95
  */
97
96
  signOffSignature?: LicencesStoreRequestBackAsset | null;
98
97
  }
98
+ /**
99
+ * @export
100
+ */
101
+ export declare const RegistersUpdateRequestSignOffStatusEnum: {
102
+ readonly _0: "0";
103
+ readonly _1: "1";
104
+ readonly _2: "2";
105
+ };
106
+ export type RegistersUpdateRequestSignOffStatusEnum = typeof RegistersUpdateRequestSignOffStatusEnum[keyof typeof RegistersUpdateRequestSignOffStatusEnum];
99
107
  /**
100
108
  * Check if a given object implements the RegistersUpdateRequest interface.
101
109
  */
@@ -13,13 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.RegistersUpdateRequestSignOffStatusEnum = void 0;
16
17
  exports.instanceOfRegistersUpdateRequest = instanceOfRegistersUpdateRequest;
17
18
  exports.RegistersUpdateRequestFromJSON = RegistersUpdateRequestFromJSON;
18
19
  exports.RegistersUpdateRequestFromJSONTyped = RegistersUpdateRequestFromJSONTyped;
19
20
  exports.RegistersUpdateRequestToJSON = RegistersUpdateRequestToJSON;
20
21
  exports.RegistersUpdateRequestToJSONTyped = RegistersUpdateRequestToJSONTyped;
21
22
  var LicencesStoreRequestBackAsset_1 = require("./LicencesStoreRequestBackAsset");
22
- var SignOffStatus_1 = require("./SignOffStatus");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.RegistersUpdateRequestSignOffStatusEnum = {
27
+ _0: '0',
28
+ _1: '1',
29
+ _2: '2'
30
+ };
23
31
  /**
24
32
  * Check if a given object implements the RegistersUpdateRequest interface.
25
33
  */
@@ -38,7 +46,7 @@ function RegistersUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
38
46
  'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
39
47
  'startDateTime': json['start_date_time'] == null ? undefined : (new Date(json['start_date_time'])),
40
48
  'finishDateTime': json['finish_date_time'] == null ? undefined : (new Date(json['finish_date_time'])),
41
- 'signOffStatus': json['sign_off_status'] == null ? undefined : (0, SignOffStatus_1.SignOffStatusFromJSON)(json['sign_off_status']),
49
+ 'signOffStatus': json['sign_off_status'] == null ? undefined : json['sign_off_status'],
42
50
  'badgeNumber': json['badge_number'] == null ? undefined : json['badge_number'],
43
51
  'signOnLat': json['sign_on_lat'] == null ? undefined : json['sign_on_lat'],
44
52
  'signOnLong': json['sign_on_long'] == null ? undefined : json['sign_on_long'],
@@ -62,7 +70,7 @@ function RegistersUpdateRequestToJSONTyped(value, ignoreDiscriminator) {
62
70
  'venue_id': value['venueId'],
63
71
  'start_date_time': value['startDateTime'] == null ? undefined : ((value['startDateTime']).toISOString()),
64
72
  'finish_date_time': value['finishDateTime'] == null ? undefined : ((value['finishDateTime']).toISOString()),
65
- 'sign_off_status': (0, SignOffStatus_1.SignOffStatusToJSON)(value['signOffStatus']),
73
+ 'sign_off_status': value['signOffStatus'],
66
74
  'badge_number': value['badgeNumber'],
67
75
  'sign_on_lat': value['signOnLat'],
68
76
  'sign_on_long': value['signOnLong'],