@digital8/security-registers-backend-ts-sdk 0.0.319 → 0.0.321

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 (39) hide show
  1. package/.openapi-generator/FILES +0 -3
  2. package/README.md +2 -2
  3. package/dist/apis/GeneralApi.d.ts +1 -20
  4. package/dist/apis/GeneralApi.js +0 -107
  5. package/dist/models/AssetResource.d.ts +1 -1
  6. package/dist/models/AssetResource.js +1 -3
  7. package/dist/models/IncidentFieldAuditResource.d.ts +6 -0
  8. package/dist/models/IncidentFieldAuditResource.js +2 -0
  9. package/dist/models/RegisterGroupedByRosterResource.d.ts +1 -1
  10. package/dist/models/RegisterGroupedByRosterResource.js +3 -4
  11. package/dist/models/RegisterListResource.d.ts +5 -5
  12. package/dist/models/RegisterListResource.js +6 -9
  13. package/dist/models/RegisterResource.d.ts +2 -2
  14. package/dist/models/RegisterResource.js +6 -2
  15. package/dist/models/RosterLiteResource.d.ts +1 -1
  16. package/dist/models/RosterLiteResource.js +4 -3
  17. package/dist/models/SecurityCompanyResource.d.ts +1 -1
  18. package/dist/models/SecurityCompanyResource.js +1 -3
  19. package/dist/models/index.d.ts +0 -3
  20. package/dist/models/index.js +0 -3
  21. package/package.json +1 -1
  22. package/src/apis/GeneralApi.ts +0 -87
  23. package/src/models/AssetResource.ts +2 -3
  24. package/src/models/IncidentFieldAuditResource.ts +8 -0
  25. package/src/models/RegisterGroupedByRosterResource.ts +3 -4
  26. package/src/models/RegisterListResource.ts +10 -11
  27. package/src/models/RegisterResource.ts +6 -4
  28. package/src/models/RosterLiteResource.ts +4 -3
  29. package/src/models/SecurityCompanyResource.ts +2 -3
  30. package/src/models/index.ts +0 -3
  31. package/dist/models/LicenceVerificationFallbackSettingResource.d.ts +0 -51
  32. package/dist/models/LicenceVerificationFallbackSettingResource.js +0 -63
  33. package/dist/models/LicenceVerificationFallbackSettingResourceArrayResponse.d.ts +0 -33
  34. package/dist/models/LicenceVerificationFallbackSettingResourceArrayResponse.js +0 -50
  35. package/dist/models/SettingsLicenceVerificationFallbackUpdateRequest.d.ts +0 -44
  36. package/dist/models/SettingsLicenceVerificationFallbackUpdateRequest.js +0 -53
  37. package/src/models/LicenceVerificationFallbackSettingResource.ts +0 -100
  38. package/src/models/LicenceVerificationFallbackSettingResourceArrayResponse.ts +0 -73
  39. package/src/models/SettingsLicenceVerificationFallbackUpdateRequest.ts +0 -81
@@ -1,53 +0,0 @@
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.instanceOfSettingsLicenceVerificationFallbackUpdateRequest = instanceOfSettingsLicenceVerificationFallbackUpdateRequest;
17
- exports.SettingsLicenceVerificationFallbackUpdateRequestFromJSON = SettingsLicenceVerificationFallbackUpdateRequestFromJSON;
18
- exports.SettingsLicenceVerificationFallbackUpdateRequestFromJSONTyped = SettingsLicenceVerificationFallbackUpdateRequestFromJSONTyped;
19
- exports.SettingsLicenceVerificationFallbackUpdateRequestToJSON = SettingsLicenceVerificationFallbackUpdateRequestToJSON;
20
- exports.SettingsLicenceVerificationFallbackUpdateRequestToJSONTyped = SettingsLicenceVerificationFallbackUpdateRequestToJSONTyped;
21
- /**
22
- * Check if a given object implements the SettingsLicenceVerificationFallbackUpdateRequest interface.
23
- */
24
- function instanceOfSettingsLicenceVerificationFallbackUpdateRequest(value) {
25
- return true;
26
- }
27
- function SettingsLicenceVerificationFallbackUpdateRequestFromJSON(json) {
28
- return SettingsLicenceVerificationFallbackUpdateRequestFromJSONTyped(json, false);
29
- }
30
- function SettingsLicenceVerificationFallbackUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
31
- if (json == null) {
32
- return json;
33
- }
34
- return {
35
- 'qld': json['qld'] == null ? undefined : json['qld'],
36
- 'nsw': json['nsw'] == null ? undefined : json['nsw'],
37
- 'vic': json['vic'] == null ? undefined : json['vic'],
38
- };
39
- }
40
- function SettingsLicenceVerificationFallbackUpdateRequestToJSON(json) {
41
- return SettingsLicenceVerificationFallbackUpdateRequestToJSONTyped(json, false);
42
- }
43
- function SettingsLicenceVerificationFallbackUpdateRequestToJSONTyped(value, ignoreDiscriminator) {
44
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'qld': value['qld'],
50
- 'nsw': value['nsw'],
51
- 'vic': value['vic'],
52
- };
53
- }
@@ -1,100 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { UserLiteResource } from './UserLiteResource';
17
- import {
18
- UserLiteResourceFromJSON,
19
- UserLiteResourceFromJSONTyped,
20
- UserLiteResourceToJSON,
21
- UserLiteResourceToJSONTyped,
22
- } from './UserLiteResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface LicenceVerificationFallbackSettingResource
28
- */
29
- export interface LicenceVerificationFallbackSettingResource {
30
- /**
31
- *
32
- * @type {string}
33
- * @memberof LicenceVerificationFallbackSettingResource
34
- */
35
- state: string;
36
- /**
37
- *
38
- * @type {boolean}
39
- * @memberof LicenceVerificationFallbackSettingResource
40
- */
41
- enabled: boolean;
42
- /**
43
- *
44
- * @type {Date}
45
- * @memberof LicenceVerificationFallbackSettingResource
46
- */
47
- updatedAt?: Date | null;
48
- /**
49
- *
50
- * @type {UserLiteResource}
51
- * @memberof LicenceVerificationFallbackSettingResource
52
- */
53
- updatedByUser: UserLiteResource | null;
54
- }
55
-
56
- /**
57
- * Check if a given object implements the LicenceVerificationFallbackSettingResource interface.
58
- */
59
- export function instanceOfLicenceVerificationFallbackSettingResource(value: object): value is LicenceVerificationFallbackSettingResource {
60
- if (!('state' in value) || value['state'] === undefined) return false;
61
- if (!('enabled' in value) || value['enabled'] === undefined) return false;
62
- if (!('updatedByUser' in value) || value['updatedByUser'] === undefined) return false;
63
- return true;
64
- }
65
-
66
- export function LicenceVerificationFallbackSettingResourceFromJSON(json: any): LicenceVerificationFallbackSettingResource {
67
- return LicenceVerificationFallbackSettingResourceFromJSONTyped(json, false);
68
- }
69
-
70
- export function LicenceVerificationFallbackSettingResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceVerificationFallbackSettingResource {
71
- if (json == null) {
72
- return json;
73
- }
74
- return {
75
-
76
- 'state': json['state'],
77
- 'enabled': json['enabled'],
78
- 'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
79
- 'updatedByUser': UserLiteResourceFromJSON(json['updatedByUser']),
80
- };
81
- }
82
-
83
- export function LicenceVerificationFallbackSettingResourceToJSON(json: any): LicenceVerificationFallbackSettingResource {
84
- return LicenceVerificationFallbackSettingResourceToJSONTyped(json, false);
85
- }
86
-
87
- export function LicenceVerificationFallbackSettingResourceToJSONTyped(value?: LicenceVerificationFallbackSettingResource | null, ignoreDiscriminator: boolean = false): any {
88
- if (value == null) {
89
- return value;
90
- }
91
-
92
- return {
93
-
94
- 'state': value['state'],
95
- 'enabled': value['enabled'],
96
- 'updatedAt': value['updatedAt'] === null ? null : ((value['updatedAt'] as any)?.toISOString()),
97
- 'updatedByUser': UserLiteResourceToJSON(value['updatedByUser']),
98
- };
99
- }
100
-
@@ -1,73 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- import type { LicenceVerificationFallbackSettingResource } from './LicenceVerificationFallbackSettingResource';
17
- import {
18
- LicenceVerificationFallbackSettingResourceFromJSON,
19
- LicenceVerificationFallbackSettingResourceFromJSONTyped,
20
- LicenceVerificationFallbackSettingResourceToJSON,
21
- LicenceVerificationFallbackSettingResourceToJSONTyped,
22
- } from './LicenceVerificationFallbackSettingResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface LicenceVerificationFallbackSettingResourceArrayResponse
28
- */
29
- export interface LicenceVerificationFallbackSettingResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<LicenceVerificationFallbackSettingResource>}
33
- * @memberof LicenceVerificationFallbackSettingResourceArrayResponse
34
- */
35
- data?: Array<LicenceVerificationFallbackSettingResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the LicenceVerificationFallbackSettingResourceArrayResponse interface.
40
- */
41
- export function instanceOfLicenceVerificationFallbackSettingResourceArrayResponse(value: object): value is LicenceVerificationFallbackSettingResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function LicenceVerificationFallbackSettingResourceArrayResponseFromJSON(json: any): LicenceVerificationFallbackSettingResourceArrayResponse {
46
- return LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function LicenceVerificationFallbackSettingResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceVerificationFallbackSettingResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(LicenceVerificationFallbackSettingResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function LicenceVerificationFallbackSettingResourceArrayResponseToJSON(json: any): LicenceVerificationFallbackSettingResourceArrayResponse {
60
- return LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function LicenceVerificationFallbackSettingResourceArrayResponseToJSONTyped(value?: LicenceVerificationFallbackSettingResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
64
- if (value == null) {
65
- return value;
66
- }
67
-
68
- return {
69
-
70
- 'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(LicenceVerificationFallbackSettingResourceToJSON)),
71
- };
72
- }
73
-
@@ -1,81 +0,0 @@
1
- /* tslint:disable */
2
- /* eslint-disable */
3
- /**
4
- * My API
5
- * API documentation for my Laravel app
6
- *
7
- * The version of the OpenAPI document: 1.0.0
8
- *
9
- *
10
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
- * https://openapi-generator.tech
12
- * Do not edit the class manually.
13
- */
14
-
15
- import { mapValues } from '../runtime';
16
- /**
17
- *
18
- * @export
19
- * @interface SettingsLicenceVerificationFallbackUpdateRequest
20
- */
21
- export interface SettingsLicenceVerificationFallbackUpdateRequest {
22
- /**
23
- *
24
- * @type {boolean}
25
- * @memberof SettingsLicenceVerificationFallbackUpdateRequest
26
- */
27
- qld?: boolean;
28
- /**
29
- *
30
- * @type {boolean}
31
- * @memberof SettingsLicenceVerificationFallbackUpdateRequest
32
- */
33
- nsw?: boolean;
34
- /**
35
- *
36
- * @type {boolean}
37
- * @memberof SettingsLicenceVerificationFallbackUpdateRequest
38
- */
39
- vic?: boolean;
40
- }
41
-
42
- /**
43
- * Check if a given object implements the SettingsLicenceVerificationFallbackUpdateRequest interface.
44
- */
45
- export function instanceOfSettingsLicenceVerificationFallbackUpdateRequest(value: object): value is SettingsLicenceVerificationFallbackUpdateRequest {
46
- return true;
47
- }
48
-
49
- export function SettingsLicenceVerificationFallbackUpdateRequestFromJSON(json: any): SettingsLicenceVerificationFallbackUpdateRequest {
50
- return SettingsLicenceVerificationFallbackUpdateRequestFromJSONTyped(json, false);
51
- }
52
-
53
- export function SettingsLicenceVerificationFallbackUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettingsLicenceVerificationFallbackUpdateRequest {
54
- if (json == null) {
55
- return json;
56
- }
57
- return {
58
-
59
- 'qld': json['qld'] == null ? undefined : json['qld'],
60
- 'nsw': json['nsw'] == null ? undefined : json['nsw'],
61
- 'vic': json['vic'] == null ? undefined : json['vic'],
62
- };
63
- }
64
-
65
- export function SettingsLicenceVerificationFallbackUpdateRequestToJSON(json: any): SettingsLicenceVerificationFallbackUpdateRequest {
66
- return SettingsLicenceVerificationFallbackUpdateRequestToJSONTyped(json, false);
67
- }
68
-
69
- export function SettingsLicenceVerificationFallbackUpdateRequestToJSONTyped(value?: SettingsLicenceVerificationFallbackUpdateRequest | null, ignoreDiscriminator: boolean = false): any {
70
- if (value == null) {
71
- return value;
72
- }
73
-
74
- return {
75
-
76
- 'qld': value['qld'],
77
- 'nsw': value['nsw'],
78
- 'vic': value['vic'],
79
- };
80
- }
81
-