@digital8/security-registers-backend-ts-sdk 0.0.332 → 0.0.334

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 (90) hide show
  1. package/.openapi-generator/FILES +3 -1
  2. package/README.md +2 -2
  3. package/dist/apis/GeneralApi.d.ts +20 -45
  4. package/dist/apis/GeneralApi.js +107 -223
  5. package/dist/models/AssetResource.d.ts +1 -1
  6. package/dist/models/AssetResource.js +3 -1
  7. package/dist/models/AuthRegisterGuardRequestLicence.d.ts +0 -5
  8. package/dist/models/AuthRegisterGuardRequestLicence.js +1 -6
  9. package/dist/models/IncidentFieldSchemaResource.d.ts +11 -2
  10. package/dist/models/IncidentFieldSchemaResource.js +9 -0
  11. package/dist/models/IncidentFieldSchemasShowRequest.d.ts +0 -5
  12. package/dist/models/IncidentFieldSchemasShowRequest.js +1 -6
  13. package/dist/models/IncidentImageResource.d.ts +1 -1
  14. package/dist/models/IncidentImageResource.js +3 -1
  15. package/dist/models/IncidentVideoResource.d.ts +10 -1
  16. package/dist/models/IncidentVideoResource.js +9 -0
  17. package/dist/models/LicenceListResource.d.ts +11 -2
  18. package/dist/models/LicenceListResource.js +9 -0
  19. package/dist/models/LicenceLiteResource.d.ts +11 -2
  20. package/dist/models/LicenceLiteResource.js +9 -0
  21. package/dist/models/LicenceResource.d.ts +11 -2
  22. package/dist/models/LicenceResource.js +9 -0
  23. package/dist/models/LicenceVerificationFallbackSettingResource.d.ts +57 -0
  24. package/dist/models/LicenceVerificationFallbackSettingResource.js +67 -0
  25. package/dist/models/LicenceVerificationFallbackSettingResourceArrayResponse.d.ts +33 -0
  26. package/dist/models/LicenceVerificationFallbackSettingResourceArrayResponse.js +50 -0
  27. package/dist/models/LicencesStoreRequest.d.ts +0 -5
  28. package/dist/models/LicencesStoreRequest.js +1 -6
  29. package/dist/models/LicencesUpdateRequest.d.ts +0 -5
  30. package/dist/models/LicencesUpdateRequest.js +1 -6
  31. package/dist/models/LicencesVerifyRequest.d.ts +0 -5
  32. package/dist/models/LicencesVerifyRequest.js +1 -6
  33. package/dist/models/MobileDeviceResource.d.ts +9 -1
  34. package/dist/models/MobileDeviceResource.js +8 -0
  35. package/dist/models/NotificationPreferenceResource.d.ts +12 -1
  36. package/dist/models/NotificationPreferenceResource.js +11 -0
  37. package/dist/models/PdfExportQueuedResource.d.ts +11 -1
  38. package/dist/models/PdfExportQueuedResource.js +10 -0
  39. package/dist/models/PdfExportResource.d.ts +11 -1
  40. package/dist/models/PdfExportResource.js +10 -0
  41. package/dist/models/RegisterListResource.d.ts +11 -2
  42. package/dist/models/RegisterListResource.js +10 -3
  43. package/dist/models/RegisterResource.d.ts +12 -3
  44. package/dist/models/RegisterResource.js +12 -3
  45. package/dist/models/RosterListResource.d.ts +11 -2
  46. package/dist/models/RosterListResource.js +13 -3
  47. package/dist/models/RosterLiteResource.d.ts +1 -1
  48. package/dist/models/RosterLiteResource.js +3 -4
  49. package/dist/models/RosterResource.d.ts +10 -1
  50. package/dist/models/RosterResource.js +9 -0
  51. package/dist/models/RosterWithRegistersResource.d.ts +10 -1
  52. package/dist/models/RosterWithRegistersResource.js +9 -0
  53. package/dist/models/SettingsLicenceVerificationFallbackUpdateRequest.d.ts +44 -0
  54. package/dist/models/SettingsLicenceVerificationFallbackUpdateRequest.js +53 -0
  55. package/dist/models/UsersCreateWithRoleRequestLicencesInner.d.ts +0 -5
  56. package/dist/models/UsersCreateWithRoleRequestLicencesInner.js +1 -6
  57. package/dist/models/index.d.ts +3 -1
  58. package/dist/models/index.js +3 -1
  59. package/package.json +1 -1
  60. package/src/apis/GeneralApi.ts +87 -194
  61. package/src/models/AssetResource.ts +3 -2
  62. package/src/models/AuthRegisterGuardRequestLicence.ts +1 -6
  63. package/src/models/IncidentFieldSchemaResource.ts +14 -2
  64. package/src/models/IncidentFieldSchemasShowRequest.ts +1 -6
  65. package/src/models/IncidentImageResource.ts +3 -2
  66. package/src/models/IncidentVideoResource.ts +13 -1
  67. package/src/models/LicenceListResource.ts +14 -2
  68. package/src/models/LicenceLiteResource.ts +14 -2
  69. package/src/models/LicenceResource.ts +14 -2
  70. package/src/models/LicenceVerificationFallbackSettingResource.ts +109 -0
  71. package/src/models/LicenceVerificationFallbackSettingResourceArrayResponse.ts +73 -0
  72. package/src/models/LicencesStoreRequest.ts +1 -6
  73. package/src/models/LicencesUpdateRequest.ts +1 -6
  74. package/src/models/LicencesVerifyRequest.ts +1 -6
  75. package/src/models/MobileDeviceResource.ts +12 -1
  76. package/src/models/NotificationPreferenceResource.ts +15 -1
  77. package/src/models/PdfExportQueuedResource.ts +14 -1
  78. package/src/models/PdfExportResource.ts +14 -1
  79. package/src/models/RegisterListResource.ts +15 -4
  80. package/src/models/RegisterResource.ts +18 -6
  81. package/src/models/RosterListResource.ts +17 -4
  82. package/src/models/RosterLiteResource.ts +3 -4
  83. package/src/models/RosterResource.ts +13 -1
  84. package/src/models/RosterWithRegistersResource.ts +13 -1
  85. package/src/models/SettingsLicenceVerificationFallbackUpdateRequest.ts +81 -0
  86. package/src/models/UsersCreateWithRoleRequestLicencesInner.ts +1 -6
  87. package/src/models/index.ts +3 -1
  88. package/dist/models/IncidentsExportCsvBulkRequest.d.ts +0 -56
  89. package/dist/models/IncidentsExportCsvBulkRequest.js +0 -63
  90. package/src/models/IncidentsExportCsvBulkRequest.ts +0 -100
@@ -26,7 +26,7 @@ export interface IncidentVideoResource {
26
26
  * @type {string}
27
27
  * @memberof IncidentVideoResource
28
28
  */
29
- status: string;
29
+ status: IncidentVideoResourceStatusEnum;
30
30
  /**
31
31
  *
32
32
  * @type {string}
@@ -64,6 +64,15 @@ export interface IncidentVideoResource {
64
64
  */
65
65
  updatedAt?: Date | null;
66
66
  }
67
+ /**
68
+ * @export
69
+ */
70
+ export declare const IncidentVideoResourceStatusEnum: {
71
+ readonly Processing: "processing";
72
+ readonly Ready: "ready";
73
+ readonly Failed: "failed";
74
+ };
75
+ export type IncidentVideoResourceStatusEnum = typeof IncidentVideoResourceStatusEnum[keyof typeof IncidentVideoResourceStatusEnum];
67
76
  /**
68
77
  * Check if a given object implements the IncidentVideoResource interface.
69
78
  */
@@ -13,11 +13,20 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.IncidentVideoResourceStatusEnum = void 0;
16
17
  exports.instanceOfIncidentVideoResource = instanceOfIncidentVideoResource;
17
18
  exports.IncidentVideoResourceFromJSON = IncidentVideoResourceFromJSON;
18
19
  exports.IncidentVideoResourceFromJSONTyped = IncidentVideoResourceFromJSONTyped;
19
20
  exports.IncidentVideoResourceToJSON = IncidentVideoResourceToJSON;
20
21
  exports.IncidentVideoResourceToJSONTyped = IncidentVideoResourceToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.IncidentVideoResourceStatusEnum = {
26
+ Processing: 'processing',
27
+ Ready: 'ready',
28
+ Failed: 'failed'
29
+ };
21
30
  /**
22
31
  * Check if a given object implements the IncidentVideoResource interface.
23
32
  */
@@ -30,10 +30,10 @@ export interface LicenceListResource {
30
30
  user: UserRelationResource | null;
31
31
  /**
32
32
  *
33
- * @type {object}
33
+ * @type {string}
34
34
  * @memberof LicenceListResource
35
35
  */
36
- state: object;
36
+ state: LicenceListResourceStateEnum;
37
37
  /**
38
38
  *
39
39
  * @type {string}
@@ -71,6 +71,15 @@ export interface LicenceListResource {
71
71
  */
72
72
  createdAt?: Date | null;
73
73
  }
74
+ /**
75
+ * @export
76
+ */
77
+ export declare const LicenceListResourceStateEnum: {
78
+ readonly Qld: "QLD";
79
+ readonly Nsw: "NSW";
80
+ readonly Vic: "VIC";
81
+ };
82
+ export type LicenceListResourceStateEnum = typeof LicenceListResourceStateEnum[keyof typeof LicenceListResourceStateEnum];
74
83
  /**
75
84
  * Check if a given object implements the LicenceListResource interface.
76
85
  */
@@ -13,12 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LicenceListResourceStateEnum = void 0;
16
17
  exports.instanceOfLicenceListResource = instanceOfLicenceListResource;
17
18
  exports.LicenceListResourceFromJSON = LicenceListResourceFromJSON;
18
19
  exports.LicenceListResourceFromJSONTyped = LicenceListResourceFromJSONTyped;
19
20
  exports.LicenceListResourceToJSON = LicenceListResourceToJSON;
20
21
  exports.LicenceListResourceToJSONTyped = LicenceListResourceToJSONTyped;
21
22
  var UserRelationResource_1 = require("./UserRelationResource");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.LicenceListResourceStateEnum = {
27
+ Qld: 'QLD',
28
+ Nsw: 'NSW',
29
+ Vic: 'VIC'
30
+ };
22
31
  /**
23
32
  * Check if a given object implements the LicenceListResource interface.
24
33
  */
@@ -29,11 +29,20 @@ export interface LicenceLiteResource {
29
29
  licenceNumber: string;
30
30
  /**
31
31
  *
32
- * @type {object}
32
+ * @type {string}
33
33
  * @memberof LicenceLiteResource
34
34
  */
35
- state: object;
35
+ state: LicenceLiteResourceStateEnum;
36
36
  }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const LicenceLiteResourceStateEnum: {
41
+ readonly Qld: "QLD";
42
+ readonly Nsw: "NSW";
43
+ readonly Vic: "VIC";
44
+ };
45
+ export type LicenceLiteResourceStateEnum = typeof LicenceLiteResourceStateEnum[keyof typeof LicenceLiteResourceStateEnum];
37
46
  /**
38
47
  * Check if a given object implements the LicenceLiteResource interface.
39
48
  */
@@ -13,11 +13,20 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LicenceLiteResourceStateEnum = void 0;
16
17
  exports.instanceOfLicenceLiteResource = instanceOfLicenceLiteResource;
17
18
  exports.LicenceLiteResourceFromJSON = LicenceLiteResourceFromJSON;
18
19
  exports.LicenceLiteResourceFromJSONTyped = LicenceLiteResourceFromJSONTyped;
19
20
  exports.LicenceLiteResourceToJSON = LicenceLiteResourceToJSON;
20
21
  exports.LicenceLiteResourceToJSONTyped = LicenceLiteResourceToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.LicenceLiteResourceStateEnum = {
26
+ Qld: 'QLD',
27
+ Nsw: 'NSW',
28
+ Vic: 'VIC'
29
+ };
21
30
  /**
22
31
  * Check if a given object implements the LicenceLiteResource interface.
23
32
  */
@@ -30,10 +30,10 @@ export interface LicenceResource {
30
30
  user: UserRelationResource | null;
31
31
  /**
32
32
  *
33
- * @type {object}
33
+ * @type {string}
34
34
  * @memberof LicenceResource
35
35
  */
36
- state: object;
36
+ state: LicenceResourceStateEnum;
37
37
  /**
38
38
  *
39
39
  * @type {string}
@@ -101,6 +101,15 @@ export interface LicenceResource {
101
101
  */
102
102
  updatedAt?: Date | null;
103
103
  }
104
+ /**
105
+ * @export
106
+ */
107
+ export declare const LicenceResourceStateEnum: {
108
+ readonly Qld: "QLD";
109
+ readonly Nsw: "NSW";
110
+ readonly Vic: "VIC";
111
+ };
112
+ export type LicenceResourceStateEnum = typeof LicenceResourceStateEnum[keyof typeof LicenceResourceStateEnum];
104
113
  /**
105
114
  * Check if a given object implements the LicenceResource interface.
106
115
  */
@@ -13,12 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.LicenceResourceStateEnum = void 0;
16
17
  exports.instanceOfLicenceResource = instanceOfLicenceResource;
17
18
  exports.LicenceResourceFromJSON = LicenceResourceFromJSON;
18
19
  exports.LicenceResourceFromJSONTyped = LicenceResourceFromJSONTyped;
19
20
  exports.LicenceResourceToJSON = LicenceResourceToJSON;
20
21
  exports.LicenceResourceToJSONTyped = LicenceResourceToJSONTyped;
21
22
  var UserRelationResource_1 = require("./UserRelationResource");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.LicenceResourceStateEnum = {
27
+ Qld: 'QLD',
28
+ Nsw: 'NSW',
29
+ Vic: 'VIC'
30
+ };
22
31
  /**
23
32
  * Check if a given object implements the LicenceResource interface.
24
33
  */
@@ -0,0 +1,57 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { UserLiteResource } from './UserLiteResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LicenceVerificationFallbackSettingResource
17
+ */
18
+ export interface LicenceVerificationFallbackSettingResource {
19
+ /**
20
+ *
21
+ * @type {number}
22
+ * @memberof LicenceVerificationFallbackSettingResource
23
+ */
24
+ id: number;
25
+ /**
26
+ *
27
+ * @type {string}
28
+ * @memberof LicenceVerificationFallbackSettingResource
29
+ */
30
+ state: string;
31
+ /**
32
+ *
33
+ * @type {boolean}
34
+ * @memberof LicenceVerificationFallbackSettingResource
35
+ */
36
+ enabled: boolean;
37
+ /**
38
+ *
39
+ * @type {Date}
40
+ * @memberof LicenceVerificationFallbackSettingResource
41
+ */
42
+ updatedAt?: Date | null;
43
+ /**
44
+ *
45
+ * @type {UserLiteResource}
46
+ * @memberof LicenceVerificationFallbackSettingResource
47
+ */
48
+ updatedByUser: UserLiteResource | null;
49
+ }
50
+ /**
51
+ * Check if a given object implements the LicenceVerificationFallbackSettingResource interface.
52
+ */
53
+ export declare function instanceOfLicenceVerificationFallbackSettingResource(value: object): value is LicenceVerificationFallbackSettingResource;
54
+ export declare function LicenceVerificationFallbackSettingResourceFromJSON(json: any): LicenceVerificationFallbackSettingResource;
55
+ export declare function LicenceVerificationFallbackSettingResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceVerificationFallbackSettingResource;
56
+ export declare function LicenceVerificationFallbackSettingResourceToJSON(json: any): LicenceVerificationFallbackSettingResource;
57
+ export declare function LicenceVerificationFallbackSettingResourceToJSONTyped(value?: LicenceVerificationFallbackSettingResource | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfLicenceVerificationFallbackSettingResource = instanceOfLicenceVerificationFallbackSettingResource;
17
+ exports.LicenceVerificationFallbackSettingResourceFromJSON = LicenceVerificationFallbackSettingResourceFromJSON;
18
+ exports.LicenceVerificationFallbackSettingResourceFromJSONTyped = LicenceVerificationFallbackSettingResourceFromJSONTyped;
19
+ exports.LicenceVerificationFallbackSettingResourceToJSON = LicenceVerificationFallbackSettingResourceToJSON;
20
+ exports.LicenceVerificationFallbackSettingResourceToJSONTyped = LicenceVerificationFallbackSettingResourceToJSONTyped;
21
+ var UserLiteResource_1 = require("./UserLiteResource");
22
+ /**
23
+ * Check if a given object implements the LicenceVerificationFallbackSettingResource interface.
24
+ */
25
+ function instanceOfLicenceVerificationFallbackSettingResource(value) {
26
+ if (!('id' in value) || value['id'] === undefined)
27
+ return false;
28
+ if (!('state' in value) || value['state'] === undefined)
29
+ return false;
30
+ if (!('enabled' in value) || value['enabled'] === undefined)
31
+ return false;
32
+ if (!('updatedByUser' in value) || value['updatedByUser'] === undefined)
33
+ return false;
34
+ return true;
35
+ }
36
+ function LicenceVerificationFallbackSettingResourceFromJSON(json) {
37
+ return LicenceVerificationFallbackSettingResourceFromJSONTyped(json, false);
38
+ }
39
+ function LicenceVerificationFallbackSettingResourceFromJSONTyped(json, ignoreDiscriminator) {
40
+ if (json == null) {
41
+ return json;
42
+ }
43
+ return {
44
+ 'id': json['id'],
45
+ 'state': json['state'],
46
+ 'enabled': json['enabled'],
47
+ 'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
48
+ 'updatedByUser': (0, UserLiteResource_1.UserLiteResourceFromJSON)(json['updatedByUser']),
49
+ };
50
+ }
51
+ function LicenceVerificationFallbackSettingResourceToJSON(json) {
52
+ return LicenceVerificationFallbackSettingResourceToJSONTyped(json, false);
53
+ }
54
+ function LicenceVerificationFallbackSettingResourceToJSONTyped(value, ignoreDiscriminator) {
55
+ var _a;
56
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
57
+ if (value == null) {
58
+ return value;
59
+ }
60
+ return {
61
+ 'id': value['id'],
62
+ 'state': value['state'],
63
+ 'enabled': value['enabled'],
64
+ 'updatedAt': value['updatedAt'] === null ? null : ((_a = value['updatedAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
65
+ 'updatedByUser': (0, UserLiteResource_1.UserLiteResourceToJSON)(value['updatedByUser']),
66
+ };
67
+ }
@@ -0,0 +1,33 @@
1
+ /**
2
+ * My API
3
+ * API documentation for my Laravel app
4
+ *
5
+ * The version of the OpenAPI document: 1.0.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ import type { LicenceVerificationFallbackSettingResource } from './LicenceVerificationFallbackSettingResource';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface LicenceVerificationFallbackSettingResourceArrayResponse
17
+ */
18
+ export interface LicenceVerificationFallbackSettingResourceArrayResponse {
19
+ /**
20
+ *
21
+ * @type {Array<LicenceVerificationFallbackSettingResource>}
22
+ * @memberof LicenceVerificationFallbackSettingResourceArrayResponse
23
+ */
24
+ data?: Array<LicenceVerificationFallbackSettingResource>;
25
+ }
26
+ /**
27
+ * Check if a given object implements the LicenceVerificationFallbackSettingResourceArrayResponse interface.
28
+ */
29
+ export declare function instanceOfLicenceVerificationFallbackSettingResourceArrayResponse(value: object): value is LicenceVerificationFallbackSettingResourceArrayResponse;
30
+ export declare function LicenceVerificationFallbackSettingResourceArrayResponseFromJSON(json: any): LicenceVerificationFallbackSettingResourceArrayResponse;
31
+ export declare function LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceVerificationFallbackSettingResourceArrayResponse;
32
+ export declare function LicenceVerificationFallbackSettingResourceArrayResponseToJSON(json: any): LicenceVerificationFallbackSettingResourceArrayResponse;
33
+ export declare function LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped(value?: LicenceVerificationFallbackSettingResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
@@ -0,0 +1,50 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * My API
6
+ * API documentation for my Laravel app
7
+ *
8
+ * The version of the OpenAPI document: 1.0.0
9
+ *
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.instanceOfLicenceVerificationFallbackSettingResourceArrayResponse = instanceOfLicenceVerificationFallbackSettingResourceArrayResponse;
17
+ exports.LicenceVerificationFallbackSettingResourceArrayResponseFromJSON = LicenceVerificationFallbackSettingResourceArrayResponseFromJSON;
18
+ exports.LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped = LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped;
19
+ exports.LicenceVerificationFallbackSettingResourceArrayResponseToJSON = LicenceVerificationFallbackSettingResourceArrayResponseToJSON;
20
+ exports.LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped = LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped;
21
+ var LicenceVerificationFallbackSettingResource_1 = require("./LicenceVerificationFallbackSettingResource");
22
+ /**
23
+ * Check if a given object implements the LicenceVerificationFallbackSettingResourceArrayResponse interface.
24
+ */
25
+ function instanceOfLicenceVerificationFallbackSettingResourceArrayResponse(value) {
26
+ return true;
27
+ }
28
+ function LicenceVerificationFallbackSettingResourceArrayResponseFromJSON(json) {
29
+ return LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped(json, false);
30
+ }
31
+ function LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
32
+ if (json == null) {
33
+ return json;
34
+ }
35
+ return {
36
+ 'data': json['data'] == null ? undefined : (json['data'].map(LicenceVerificationFallbackSettingResource_1.LicenceVerificationFallbackSettingResourceFromJSON)),
37
+ };
38
+ }
39
+ function LicenceVerificationFallbackSettingResourceArrayResponseToJSON(json) {
40
+ return LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped(json, false);
41
+ }
42
+ function LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
43
+ if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
+ if (value == null) {
45
+ return value;
46
+ }
47
+ return {
48
+ 'data': value['data'] == null ? undefined : (value['data'].map(LicenceVerificationFallbackSettingResource_1.LicenceVerificationFallbackSettingResourceToJSON)),
49
+ };
50
+ }
@@ -84,12 +84,7 @@ export interface LicencesStoreRequest {
84
84
  export declare const LicencesStoreRequestStateEnum: {
85
85
  readonly Qld: "QLD";
86
86
  readonly Nsw: "NSW";
87
- readonly Act: "ACT";
88
87
  readonly Vic: "VIC";
89
- readonly Tas: "TAS";
90
- readonly Sa: "SA";
91
- readonly Wa: "WA";
92
- readonly Nt: "NT";
93
88
  };
94
89
  export type LicencesStoreRequestStateEnum = typeof LicencesStoreRequestStateEnum[keyof typeof LicencesStoreRequestStateEnum];
95
90
  /**
@@ -27,12 +27,7 @@ var AuthRegisterGuardRequestProfileSignature_1 = require("./AuthRegisterGuardReq
27
27
  exports.LicencesStoreRequestStateEnum = {
28
28
  Qld: 'QLD',
29
29
  Nsw: 'NSW',
30
- Act: 'ACT',
31
- Vic: 'VIC',
32
- Tas: 'TAS',
33
- Sa: 'SA',
34
- Wa: 'WA',
35
- Nt: 'NT'
30
+ Vic: 'VIC'
36
31
  };
37
32
  /**
38
33
  * Check if a given object implements the LicencesStoreRequest interface.
@@ -77,12 +77,7 @@ export interface LicencesUpdateRequest {
77
77
  export declare const LicencesUpdateRequestStateEnum: {
78
78
  readonly Qld: "QLD";
79
79
  readonly Nsw: "NSW";
80
- readonly Act: "ACT";
81
80
  readonly Vic: "VIC";
82
- readonly Tas: "TAS";
83
- readonly Sa: "SA";
84
- readonly Wa: "WA";
85
- readonly Nt: "NT";
86
81
  };
87
82
  export type LicencesUpdateRequestStateEnum = typeof LicencesUpdateRequestStateEnum[keyof typeof LicencesUpdateRequestStateEnum];
88
83
  /**
@@ -26,12 +26,7 @@ var LicencesStoreRequestBackAsset_1 = require("./LicencesStoreRequestBackAsset")
26
26
  exports.LicencesUpdateRequestStateEnum = {
27
27
  Qld: 'QLD',
28
28
  Nsw: 'NSW',
29
- Act: 'ACT',
30
- Vic: 'VIC',
31
- Tas: 'TAS',
32
- Sa: 'SA',
33
- Wa: 'WA',
34
- Nt: 'NT'
29
+ Vic: 'VIC'
35
30
  };
36
31
  /**
37
32
  * Check if a given object implements the LicencesUpdateRequest interface.
@@ -52,12 +52,7 @@ export interface LicencesVerifyRequest {
52
52
  export declare const LicencesVerifyRequestStateEnum: {
53
53
  readonly Qld: "QLD";
54
54
  readonly Nsw: "NSW";
55
- readonly Act: "ACT";
56
55
  readonly Vic: "VIC";
57
- readonly Tas: "TAS";
58
- readonly Sa: "SA";
59
- readonly Wa: "WA";
60
- readonly Nt: "NT";
61
56
  };
62
57
  export type LicencesVerifyRequestStateEnum = typeof LicencesVerifyRequestStateEnum[keyof typeof LicencesVerifyRequestStateEnum];
63
58
  /**
@@ -25,12 +25,7 @@ exports.LicencesVerifyRequestToJSONTyped = LicencesVerifyRequestToJSONTyped;
25
25
  exports.LicencesVerifyRequestStateEnum = {
26
26
  Qld: 'QLD',
27
27
  Nsw: 'NSW',
28
- Act: 'ACT',
29
- Vic: 'VIC',
30
- Tas: 'TAS',
31
- Sa: 'SA',
32
- Wa: 'WA',
33
- Nt: 'NT'
28
+ Vic: 'VIC'
34
29
  };
35
30
  /**
36
31
  * Check if a given object implements the LicencesVerifyRequest interface.
@@ -32,7 +32,7 @@ export interface MobileDeviceResource {
32
32
  * @type {string}
33
33
  * @memberof MobileDeviceResource
34
34
  */
35
- platform: string;
35
+ platform: MobileDeviceResourcePlatformEnum;
36
36
  /**
37
37
  *
38
38
  * @type {string}
@@ -82,6 +82,14 @@ export interface MobileDeviceResource {
82
82
  */
83
83
  updatedAt?: Date | null;
84
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];
85
93
  /**
86
94
  * Check if a given object implements the MobileDeviceResource interface.
87
95
  */
@@ -13,11 +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;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.MobileDeviceResourcePlatformEnum = {
26
+ Ios: 'ios',
27
+ Android: 'android'
28
+ };
21
29
  /**
22
30
  * Check if a given object implements the MobileDeviceResource interface.
23
31
  */
@@ -27,7 +27,7 @@ export interface NotificationPreferenceResource {
27
27
  * @type {string}
28
28
  * @memberof NotificationPreferenceResource
29
29
  */
30
- notificationType: string;
30
+ notificationType: NotificationPreferenceResourceNotificationTypeEnum;
31
31
  /**
32
32
  *
33
33
  * @type {VenueLiteResource}
@@ -53,6 +53,17 @@ export interface NotificationPreferenceResource {
53
53
  */
54
54
  updatedAt?: Date | null;
55
55
  }
56
+ /**
57
+ * @export
58
+ */
59
+ export declare const NotificationPreferenceResourceNotificationTypeEnum: {
60
+ readonly IncidentAdded: "incident_added";
61
+ readonly NonSignOff: "non_sign_off";
62
+ readonly NonSignOn: "non_sign_on";
63
+ readonly SignOnRejected: "sign_on_rejected";
64
+ readonly LicenceUpdated: "licence_updated";
65
+ };
66
+ export type NotificationPreferenceResourceNotificationTypeEnum = typeof NotificationPreferenceResourceNotificationTypeEnum[keyof typeof NotificationPreferenceResourceNotificationTypeEnum];
56
67
  /**
57
68
  * Check if a given object implements the NotificationPreferenceResource interface.
58
69
  */
@@ -13,12 +13,23 @@
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");
23
+ /**
24
+ * @export
25
+ */
26
+ exports.NotificationPreferenceResourceNotificationTypeEnum = {
27
+ IncidentAdded: 'incident_added',
28
+ NonSignOff: 'non_sign_off',
29
+ NonSignOn: 'non_sign_on',
30
+ SignOnRejected: 'sign_on_rejected',
31
+ LicenceUpdated: 'licence_updated'
32
+ };
22
33
  /**
23
34
  * Check if a given object implements the NotificationPreferenceResource interface.
24
35
  */
@@ -26,7 +26,7 @@ export interface PdfExportQueuedResource {
26
26
  * @type {string}
27
27
  * @memberof PdfExportQueuedResource
28
28
  */
29
- status: string;
29
+ status: PdfExportQueuedResourceStatusEnum;
30
30
  /**
31
31
  *
32
32
  * @type {string}
@@ -34,6 +34,16 @@ export interface PdfExportQueuedResource {
34
34
  */
35
35
  message: string;
36
36
  }
37
+ /**
38
+ * @export
39
+ */
40
+ export declare const PdfExportQueuedResourceStatusEnum: {
41
+ readonly Pending: "pending";
42
+ readonly Processing: "processing";
43
+ readonly Completed: "completed";
44
+ readonly Failed: "failed";
45
+ };
46
+ export type PdfExportQueuedResourceStatusEnum = typeof PdfExportQueuedResourceStatusEnum[keyof typeof PdfExportQueuedResourceStatusEnum];
37
47
  /**
38
48
  * Check if a given object implements the PdfExportQueuedResource interface.
39
49
  */
@@ -13,11 +13,21 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
+ exports.PdfExportQueuedResourceStatusEnum = void 0;
16
17
  exports.instanceOfPdfExportQueuedResource = instanceOfPdfExportQueuedResource;
17
18
  exports.PdfExportQueuedResourceFromJSON = PdfExportQueuedResourceFromJSON;
18
19
  exports.PdfExportQueuedResourceFromJSONTyped = PdfExportQueuedResourceFromJSONTyped;
19
20
  exports.PdfExportQueuedResourceToJSON = PdfExportQueuedResourceToJSON;
20
21
  exports.PdfExportQueuedResourceToJSONTyped = PdfExportQueuedResourceToJSONTyped;
22
+ /**
23
+ * @export
24
+ */
25
+ exports.PdfExportQueuedResourceStatusEnum = {
26
+ Pending: 'pending',
27
+ Processing: 'processing',
28
+ Completed: 'completed',
29
+ Failed: 'failed'
30
+ };
21
31
  /**
22
32
  * Check if a given object implements the PdfExportQueuedResource interface.
23
33
  */
@@ -26,7 +26,7 @@ export interface PdfExportResource {
26
26
  * @type {string}
27
27
  * @memberof PdfExportResource
28
28
  */
29
- status: string;
29
+ status: PdfExportResourceStatusEnum;
30
30
  /**
31
31
  *
32
32
  * @type {string}
@@ -40,6 +40,16 @@ export interface PdfExportResource {
40
40
  */
41
41
  downloadUrl: string;
42
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];
43
53
  /**
44
54
  * Check if a given object implements the PdfExportResource interface.
45
55
  */