@digital8/security-registers-backend-ts-sdk 0.0.317 → 0.0.318
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/AssetResource.d.ts +1 -1
- package/dist/models/AssetResource.js +1 -3
- package/dist/models/AuthRegisterGuardRequestLicence.d.ts +0 -5
- package/dist/models/AuthRegisterGuardRequestLicence.js +1 -6
- package/dist/models/IncidentFieldSchemaResource.d.ts +0 -5
- package/dist/models/IncidentFieldSchemaResource.js +1 -6
- package/dist/models/IncidentFieldSchemasShowRequest.d.ts +0 -5
- package/dist/models/IncidentFieldSchemasShowRequest.js +1 -6
- package/dist/models/IncidentImageResource.d.ts +1 -1
- package/dist/models/IncidentImageResource.js +3 -1
- package/dist/models/LicenceListResource.d.ts +0 -5
- package/dist/models/LicenceListResource.js +1 -6
- package/dist/models/LicenceLiteResource.d.ts +0 -5
- package/dist/models/LicenceLiteResource.js +1 -6
- package/dist/models/LicenceResource.d.ts +0 -5
- package/dist/models/LicenceResource.js +1 -6
- package/dist/models/LicencesStoreRequest.d.ts +0 -5
- package/dist/models/LicencesStoreRequest.js +1 -6
- package/dist/models/LicencesUpdateRequest.d.ts +0 -5
- package/dist/models/LicencesUpdateRequest.js +1 -6
- package/dist/models/LicencesVerifyRequest.d.ts +0 -5
- package/dist/models/LicencesVerifyRequest.js +1 -6
- package/dist/models/RegisterListResource.d.ts +5 -5
- package/dist/models/RegisterListResource.js +7 -8
- package/dist/models/RosterListResource.d.ts +1 -1
- package/dist/models/RosterListResource.js +4 -3
- package/dist/models/RosterLiteResource.d.ts +1 -1
- package/dist/models/RosterLiteResource.js +3 -4
- package/dist/models/SecurityCompanyResource.d.ts +1 -1
- package/dist/models/SecurityCompanyResource.js +1 -3
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.d.ts +0 -5
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.js +1 -6
- 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/AssetResource.ts +2 -3
- package/src/models/AuthRegisterGuardRequestLicence.ts +1 -6
- package/src/models/IncidentFieldSchemaResource.ts +1 -6
- package/src/models/IncidentFieldSchemasShowRequest.ts +1 -6
- package/src/models/IncidentImageResource.ts +3 -2
- package/src/models/LicenceListResource.ts +1 -6
- package/src/models/LicenceLiteResource.ts +1 -6
- package/src/models/LicenceResource.ts +1 -6
- package/src/models/LicencesStoreRequest.ts +1 -6
- package/src/models/LicencesUpdateRequest.ts +1 -6
- package/src/models/LicencesVerifyRequest.ts +1 -6
- package/src/models/RegisterListResource.ts +10 -11
- package/src/models/RosterListResource.ts +4 -3
- package/src/models/RosterLiteResource.ts +3 -4
- package/src/models/SecurityCompanyResource.ts +2 -3
- package/src/models/UsersCreateWithRoleRequestLicencesInner.ts +1 -6
- 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
|
@@ -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'],
|
|
@@ -111,12 +111,7 @@ export interface UsersCreateWithRoleRequestLicencesInner {
|
|
|
111
111
|
export const UsersCreateWithRoleRequestLicencesInnerStateEnum = {
|
|
112
112
|
Qld: 'QLD',
|
|
113
113
|
Nsw: 'NSW',
|
|
114
|
-
|
|
115
|
-
Vic: 'VIC',
|
|
116
|
-
Tas: 'TAS',
|
|
117
|
-
Sa: 'SA',
|
|
118
|
-
Wa: 'WA',
|
|
119
|
-
Nt: 'NT'
|
|
114
|
+
Vic: 'VIC'
|
|
120
115
|
} as const;
|
|
121
116
|
export type UsersCreateWithRoleRequestLicencesInnerStateEnum = typeof UsersCreateWithRoleRequestLicencesInnerStateEnum[keyof typeof UsersCreateWithRoleRequestLicencesInnerStateEnum];
|
|
122
117
|
|
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
|
-
|
|
@@ -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
|
-
|