@digital8/security-registers-backend-ts-sdk 0.0.319 → 0.0.320
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.
- package/.openapi-generator/FILES +0 -3
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +1 -20
- package/dist/apis/GeneralApi.js +0 -107
- package/dist/models/IncidentFieldAuditResource.d.ts +6 -0
- package/dist/models/IncidentFieldAuditResource.js +2 -0
- package/dist/models/RegisterListResource.d.ts +5 -5
- package/dist/models/RegisterListResource.js +6 -9
- package/dist/models/RegisterResource.d.ts +2 -2
- package/dist/models/RegisterResource.js +8 -8
- package/dist/models/SecurityCompanyResource.d.ts +1 -1
- package/dist/models/SecurityCompanyResource.js +1 -3
- package/dist/models/index.d.ts +0 -3
- package/dist/models/index.js +0 -3
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +0 -87
- package/src/models/IncidentFieldAuditResource.ts +8 -0
- package/src/models/RegisterListResource.ts +10 -11
- package/src/models/RegisterResource.ts +6 -6
- package/src/models/SecurityCompanyResource.ts +2 -3
- package/src/models/index.ts +0 -3
- package/dist/models/LicenceVerificationFallbackSettingResource.d.ts +0 -51
- package/dist/models/LicenceVerificationFallbackSettingResource.js +0 -63
- package/dist/models/LicenceVerificationFallbackSettingResourceArrayResponse.d.ts +0 -33
- package/dist/models/LicenceVerificationFallbackSettingResourceArrayResponse.js +0 -50
- package/dist/models/SettingsLicenceVerificationFallbackUpdateRequest.d.ts +0 -44
- package/dist/models/SettingsLicenceVerificationFallbackUpdateRequest.js +0 -53
- package/src/models/LicenceVerificationFallbackSettingResource.ts +0 -100
- package/src/models/LicenceVerificationFallbackSettingResourceArrayResponse.ts +0 -73
- package/src/models/SettingsLicenceVerificationFallbackUpdateRequest.ts +0 -81
|
@@ -63,13 +63,13 @@ export interface RegisterListResource {
|
|
|
63
63
|
* @type {Date}
|
|
64
64
|
* @memberof RegisterListResource
|
|
65
65
|
*/
|
|
66
|
-
finishDateTime
|
|
66
|
+
finishDateTime: Date;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
|
-
* @type {
|
|
69
|
+
* @type {string}
|
|
70
70
|
* @memberof RegisterListResource
|
|
71
71
|
*/
|
|
72
|
-
shiftLength:
|
|
72
|
+
shiftLength: string;
|
|
73
73
|
/**
|
|
74
74
|
*
|
|
75
75
|
* @type {number}
|
|
@@ -159,13 +159,13 @@ export interface RegisterListResource {
|
|
|
159
159
|
* @type {number}
|
|
160
160
|
* @memberof RegisterListResource
|
|
161
161
|
*/
|
|
162
|
-
signOffLat
|
|
162
|
+
signOffLat?: number | null;
|
|
163
163
|
/**
|
|
164
164
|
*
|
|
165
165
|
* @type {number}
|
|
166
166
|
* @memberof RegisterListResource
|
|
167
167
|
*/
|
|
168
|
-
signOffLong
|
|
168
|
+
signOffLong?: number | null;
|
|
169
169
|
/**
|
|
170
170
|
*
|
|
171
171
|
* @type {boolean}
|
|
@@ -193,6 +193,7 @@ export function instanceOfRegisterListResource(value: object): value is Register
|
|
|
193
193
|
if (!('user' in value) || value['user'] === undefined) return false;
|
|
194
194
|
if (!('venue' in value) || value['venue'] === undefined) return false;
|
|
195
195
|
if (!('startDateTime' in value) || value['startDateTime'] === undefined) return false;
|
|
196
|
+
if (!('finishDateTime' in value) || value['finishDateTime'] === undefined) return false;
|
|
196
197
|
if (!('shiftLength' in value) || value['shiftLength'] === undefined) return false;
|
|
197
198
|
if (!('signOffStatus' in value) || value['signOffStatus'] === undefined) return false;
|
|
198
199
|
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
|
|
@@ -207,8 +208,6 @@ export function instanceOfRegisterListResource(value: object): value is Register
|
|
|
207
208
|
if (!('firstAid' in value) || value['firstAid'] === undefined) return false;
|
|
208
209
|
if (!('signOnLat' in value) || value['signOnLat'] === undefined) return false;
|
|
209
210
|
if (!('signOnLong' in value) || value['signOnLong'] === undefined) return false;
|
|
210
|
-
if (!('signOffLat' in value) || value['signOffLat'] === undefined) return false;
|
|
211
|
-
if (!('signOffLong' in value) || value['signOffLong'] === undefined) return false;
|
|
212
211
|
if (!('hasIncidents' in value) || value['hasIncidents'] === undefined) return false;
|
|
213
212
|
return true;
|
|
214
213
|
}
|
|
@@ -227,7 +226,7 @@ export function RegisterListResourceFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
227
226
|
'user': UserLiteResourceFromJSON(json['user']),
|
|
228
227
|
'venue': VenueLiteResourceFromJSON(json['venue']),
|
|
229
228
|
'startDateTime': (new Date(json['startDateTime'])),
|
|
230
|
-
'finishDateTime':
|
|
229
|
+
'finishDateTime': (new Date(json['finishDateTime'])),
|
|
231
230
|
'shiftLength': json['shiftLength'],
|
|
232
231
|
'signOffStatus': json['signOffStatus'],
|
|
233
232
|
'badgeNumber': json['badgeNumber'] == null ? undefined : json['badgeNumber'],
|
|
@@ -243,8 +242,8 @@ export function RegisterListResourceFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
243
242
|
'firstAid': json['firstAid'],
|
|
244
243
|
'signOnLat': json['signOnLat'],
|
|
245
244
|
'signOnLong': json['signOnLong'],
|
|
246
|
-
'signOffLat': json['signOffLat'],
|
|
247
|
-
'signOffLong': json['signOffLong'],
|
|
245
|
+
'signOffLat': json['signOffLat'] == null ? undefined : json['signOffLat'],
|
|
246
|
+
'signOffLong': json['signOffLong'] == null ? undefined : json['signOffLong'],
|
|
248
247
|
'hasIncidents': json['hasIncidents'],
|
|
249
248
|
};
|
|
250
249
|
}
|
|
@@ -264,7 +263,7 @@ export function RegisterListResourceToJSONTyped(value?: RegisterListResource | n
|
|
|
264
263
|
'user': UserLiteResourceToJSON(value['user']),
|
|
265
264
|
'venue': VenueLiteResourceToJSON(value['venue']),
|
|
266
265
|
'startDateTime': ((value['startDateTime']).toISOString()),
|
|
267
|
-
'finishDateTime':
|
|
266
|
+
'finishDateTime': ((value['finishDateTime']).toISOString()),
|
|
268
267
|
'shiftLength': value['shiftLength'],
|
|
269
268
|
'signOffStatus': value['signOffStatus'],
|
|
270
269
|
'badgeNumber': value['badgeNumber'],
|
|
@@ -63,7 +63,7 @@ export interface RegisterResource {
|
|
|
63
63
|
* @type {Date}
|
|
64
64
|
* @memberof RegisterResource
|
|
65
65
|
*/
|
|
66
|
-
finishDateTime
|
|
66
|
+
finishDateTime?: Date | null;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
69
|
* @type {number}
|
|
@@ -159,7 +159,7 @@ export interface RegisterResource {
|
|
|
159
159
|
* @type {string}
|
|
160
160
|
* @memberof RegisterResource
|
|
161
161
|
*/
|
|
162
|
-
badgeNumber
|
|
162
|
+
badgeNumber: string;
|
|
163
163
|
/**
|
|
164
164
|
*
|
|
165
165
|
* @type {Date}
|
|
@@ -193,7 +193,6 @@ export function instanceOfRegisterResource(value: object): value is RegisterReso
|
|
|
193
193
|
if (!('venue' in value) || value['venue'] === undefined) return false;
|
|
194
194
|
if (!('user' in value) || value['user'] === undefined) return false;
|
|
195
195
|
if (!('startDateTime' in value) || value['startDateTime'] === undefined) return false;
|
|
196
|
-
if (!('finishDateTime' in value) || value['finishDateTime'] === undefined) return false;
|
|
197
196
|
if (!('signOffStatus' in value) || value['signOffStatus'] === undefined) return false;
|
|
198
197
|
if (!('signOnSignature' in value) || value['signOnSignature'] === undefined) return false;
|
|
199
198
|
if (!('signOffSignature' in value) || value['signOffSignature'] === undefined) return false;
|
|
@@ -207,6 +206,7 @@ export function instanceOfRegisterResource(value: object): value is RegisterReso
|
|
|
207
206
|
if (!('licenceExpiry' in value) || value['licenceExpiry'] === undefined) return false;
|
|
208
207
|
if (!('licenceFirstName' in value) || value['licenceFirstName'] === undefined) return false;
|
|
209
208
|
if (!('licenceLastName' in value) || value['licenceLastName'] === undefined) return false;
|
|
209
|
+
if (!('badgeNumber' in value) || value['badgeNumber'] === undefined) return false;
|
|
210
210
|
return true;
|
|
211
211
|
}
|
|
212
212
|
|
|
@@ -224,7 +224,7 @@ export function RegisterResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
224
224
|
'venue': VenueLiteResourceFromJSON(json['venue']),
|
|
225
225
|
'user': UserLiteResourceFromJSON(json['user']),
|
|
226
226
|
'startDateTime': (new Date(json['startDateTime'])),
|
|
227
|
-
'finishDateTime': (new Date(json['finishDateTime'])),
|
|
227
|
+
'finishDateTime': json['finishDateTime'] == null ? undefined : (new Date(json['finishDateTime'])),
|
|
228
228
|
'signOffStatus': json['signOffStatus'],
|
|
229
229
|
'signOnSignature': json['signOnSignature'],
|
|
230
230
|
'signOffSignature': json['signOffSignature'],
|
|
@@ -240,7 +240,7 @@ export function RegisterResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
240
240
|
'licenceExpiry': json['licenceExpiry'],
|
|
241
241
|
'licenceFirstName': json['licenceFirstName'],
|
|
242
242
|
'licenceLastName': json['licenceLastName'],
|
|
243
|
-
'badgeNumber': json['badgeNumber']
|
|
243
|
+
'badgeNumber': json['badgeNumber'],
|
|
244
244
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
245
245
|
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
246
246
|
};
|
|
@@ -261,7 +261,7 @@ export function RegisterResourceToJSONTyped(value?: RegisterResource | null, ign
|
|
|
261
261
|
'venue': VenueLiteResourceToJSON(value['venue']),
|
|
262
262
|
'user': UserLiteResourceToJSON(value['user']),
|
|
263
263
|
'startDateTime': ((value['startDateTime']).toISOString()),
|
|
264
|
-
'finishDateTime': ((value['finishDateTime'])
|
|
264
|
+
'finishDateTime': value['finishDateTime'] === null ? null : ((value['finishDateTime'] as any)?.toISOString()),
|
|
265
265
|
'signOffStatus': value['signOffStatus'],
|
|
266
266
|
'signOnSignature': value['signOnSignature'],
|
|
267
267
|
'signOffSignature': value['signOffSignature'],
|
|
@@ -44,7 +44,7 @@ export interface SecurityCompanyResource {
|
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof SecurityCompanyResource
|
|
46
46
|
*/
|
|
47
|
-
email
|
|
47
|
+
email?: string | null;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
50
|
* @type {boolean}
|
|
@@ -82,7 +82,6 @@ export interface SecurityCompanyResource {
|
|
|
82
82
|
*/
|
|
83
83
|
export function instanceOfSecurityCompanyResource(value: object): value is SecurityCompanyResource {
|
|
84
84
|
if (!('name' in value) || value['name'] === undefined) return false;
|
|
85
|
-
if (!('email' in value) || value['email'] === undefined) return false;
|
|
86
85
|
if (!('isEnabled' in value) || value['isEnabled'] === undefined) return false;
|
|
87
86
|
if (!('address' in value) || value['address'] === undefined) return false;
|
|
88
87
|
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined) return false;
|
|
@@ -101,7 +100,7 @@ export function SecurityCompanyResourceFromJSONTyped(json: any, ignoreDiscrimina
|
|
|
101
100
|
|
|
102
101
|
'id': json['id'] == null ? undefined : json['id'],
|
|
103
102
|
'name': json['name'],
|
|
104
|
-
'email': json['email'],
|
|
103
|
+
'email': json['email'] == null ? undefined : json['email'],
|
|
105
104
|
'isEnabled': json['isEnabled'],
|
|
106
105
|
'address': AddressResourceFromJSON(json['address']),
|
|
107
106
|
'licenceNumber': json['licenceNumber'],
|
package/src/models/index.ts
CHANGED
|
@@ -58,8 +58,6 @@ export * from './LicenceLiteResource';
|
|
|
58
58
|
export * from './LicenceLiteResourceArrayResponse';
|
|
59
59
|
export * from './LicenceResource';
|
|
60
60
|
export * from './LicenceResourceArrayResponse';
|
|
61
|
-
export * from './LicenceVerificationFallbackSettingResource';
|
|
62
|
-
export * from './LicenceVerificationFallbackSettingResourceArrayResponse';
|
|
63
61
|
export * from './LicencesListAllRequest';
|
|
64
62
|
export * from './LicencesListRequest';
|
|
65
63
|
export * from './LicencesStoreRequest';
|
|
@@ -132,7 +130,6 @@ export * from './SecurityCompanyLiteResourceArrayResponse';
|
|
|
132
130
|
export * from './SecurityCompanyResource';
|
|
133
131
|
export * from './SecurityCompanyResourceArrayResponse';
|
|
134
132
|
export * from './SendForgotPasswordLinkAuthRequest';
|
|
135
|
-
export * from './SettingsLicenceVerificationFallbackUpdateRequest';
|
|
136
133
|
export * from './StoreAssetFileRequest';
|
|
137
134
|
export * from './StoreUserRequest';
|
|
138
135
|
export * from './UpdateUserRequest';
|
|
@@ -1,51 +0,0 @@
|
|
|
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 {string}
|
|
22
|
-
* @memberof LicenceVerificationFallbackSettingResource
|
|
23
|
-
*/
|
|
24
|
-
state: string;
|
|
25
|
-
/**
|
|
26
|
-
*
|
|
27
|
-
* @type {boolean}
|
|
28
|
-
* @memberof LicenceVerificationFallbackSettingResource
|
|
29
|
-
*/
|
|
30
|
-
enabled: boolean;
|
|
31
|
-
/**
|
|
32
|
-
*
|
|
33
|
-
* @type {Date}
|
|
34
|
-
* @memberof LicenceVerificationFallbackSettingResource
|
|
35
|
-
*/
|
|
36
|
-
updatedAt?: Date | null;
|
|
37
|
-
/**
|
|
38
|
-
*
|
|
39
|
-
* @type {UserLiteResource}
|
|
40
|
-
* @memberof LicenceVerificationFallbackSettingResource
|
|
41
|
-
*/
|
|
42
|
-
updatedByUser: UserLiteResource | null;
|
|
43
|
-
}
|
|
44
|
-
/**
|
|
45
|
-
* Check if a given object implements the LicenceVerificationFallbackSettingResource interface.
|
|
46
|
-
*/
|
|
47
|
-
export declare function instanceOfLicenceVerificationFallbackSettingResource(value: object): value is LicenceVerificationFallbackSettingResource;
|
|
48
|
-
export declare function LicenceVerificationFallbackSettingResourceFromJSON(json: any): LicenceVerificationFallbackSettingResource;
|
|
49
|
-
export declare function LicenceVerificationFallbackSettingResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicenceVerificationFallbackSettingResource;
|
|
50
|
-
export declare function LicenceVerificationFallbackSettingResourceToJSON(json: any): LicenceVerificationFallbackSettingResource;
|
|
51
|
-
export declare function LicenceVerificationFallbackSettingResourceToJSONTyped(value?: LicenceVerificationFallbackSettingResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,63 +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.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 (!('state' in value) || value['state'] === undefined)
|
|
27
|
-
return false;
|
|
28
|
-
if (!('enabled' in value) || value['enabled'] === undefined)
|
|
29
|
-
return false;
|
|
30
|
-
if (!('updatedByUser' in value) || value['updatedByUser'] === undefined)
|
|
31
|
-
return false;
|
|
32
|
-
return true;
|
|
33
|
-
}
|
|
34
|
-
function LicenceVerificationFallbackSettingResourceFromJSON(json) {
|
|
35
|
-
return LicenceVerificationFallbackSettingResourceFromJSONTyped(json, false);
|
|
36
|
-
}
|
|
37
|
-
function LicenceVerificationFallbackSettingResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
38
|
-
if (json == null) {
|
|
39
|
-
return json;
|
|
40
|
-
}
|
|
41
|
-
return {
|
|
42
|
-
'state': json['state'],
|
|
43
|
-
'enabled': json['enabled'],
|
|
44
|
-
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
45
|
-
'updatedByUser': (0, UserLiteResource_1.UserLiteResourceFromJSON)(json['updatedByUser']),
|
|
46
|
-
};
|
|
47
|
-
}
|
|
48
|
-
function LicenceVerificationFallbackSettingResourceToJSON(json) {
|
|
49
|
-
return LicenceVerificationFallbackSettingResourceToJSONTyped(json, false);
|
|
50
|
-
}
|
|
51
|
-
function LicenceVerificationFallbackSettingResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
52
|
-
var _a;
|
|
53
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
-
if (value == null) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'state': value['state'],
|
|
59
|
-
'enabled': value['enabled'],
|
|
60
|
-
'updatedAt': value['updatedAt'] === null ? null : ((_a = value['updatedAt']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
61
|
-
'updatedByUser': (0, UserLiteResource_1.UserLiteResourceToJSON)(value['updatedByUser']),
|
|
62
|
-
};
|
|
63
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
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;
|
|
@@ -1,50 +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.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
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
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
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SettingsLicenceVerificationFallbackUpdateRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface SettingsLicenceVerificationFallbackUpdateRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {boolean}
|
|
21
|
-
* @memberof SettingsLicenceVerificationFallbackUpdateRequest
|
|
22
|
-
*/
|
|
23
|
-
qld?: boolean;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof SettingsLicenceVerificationFallbackUpdateRequest
|
|
28
|
-
*/
|
|
29
|
-
nsw?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {boolean}
|
|
33
|
-
* @memberof SettingsLicenceVerificationFallbackUpdateRequest
|
|
34
|
-
*/
|
|
35
|
-
vic?: boolean;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the SettingsLicenceVerificationFallbackUpdateRequest interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfSettingsLicenceVerificationFallbackUpdateRequest(value: object): value is SettingsLicenceVerificationFallbackUpdateRequest;
|
|
41
|
-
export declare function SettingsLicenceVerificationFallbackUpdateRequestFromJSON(json: any): SettingsLicenceVerificationFallbackUpdateRequest;
|
|
42
|
-
export declare function SettingsLicenceVerificationFallbackUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SettingsLicenceVerificationFallbackUpdateRequest;
|
|
43
|
-
export declare function SettingsLicenceVerificationFallbackUpdateRequestToJSON(json: any): SettingsLicenceVerificationFallbackUpdateRequest;
|
|
44
|
-
export declare function SettingsLicenceVerificationFallbackUpdateRequestToJSONTyped(value?: SettingsLicenceVerificationFallbackUpdateRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -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
|
-
|