@digital8/security-registers-backend-ts-sdk 0.0.438 → 0.0.439
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 +1 -5
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +1 -12
- package/dist/apis/GeneralApi.js +0 -55
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +1 -3
- package/dist/models/AssetResource.d.ts +1 -1
- package/dist/models/AssetResource.js +3 -1
- package/dist/models/AuthRegisterGuardRequest.d.ts +3 -3
- package/dist/models/AuthRegisterGuardRequest.js +4 -4
- package/dist/models/AuthRegisterGuardRequestLicencesInner.d.ts +93 -0
- package/dist/models/{AuthRegisterGuardRequestLicence.js → AuthRegisterGuardRequestLicencesInner.js} +17 -17
- package/dist/models/MobileInitResource.d.ts +0 -7
- package/dist/models/MobileInitResource.js +0 -5
- package/dist/models/RegisterGroupedByRosterResource.d.ts +1 -1
- package/dist/models/RegisterGroupedByRosterResource.js +4 -3
- package/dist/models/RegisterListResource.d.ts +4 -4
- package/dist/models/RegisterListResource.js +7 -4
- package/dist/models/RegisterResource.d.ts +1 -1
- package/dist/models/RegisterResource.js +3 -1
- package/dist/models/RosterListResource.d.ts +1 -1
- package/dist/models/RosterListResource.js +4 -3
- package/dist/models/RosterResource.d.ts +1 -1
- package/dist/models/RosterResource.js +4 -3
- package/dist/models/RosterWithRegistersResource.d.ts +1 -1
- package/dist/models/RosterWithRegistersResource.js +4 -3
- package/dist/models/SecurityCompanyResource.d.ts +1 -1
- package/dist/models/SecurityCompanyResource.js +1 -3
- package/dist/models/UserResource.d.ts +7 -0
- package/dist/models/UserResource.js +5 -0
- package/dist/models/UsersCreateWithRoleRequest.d.ts +3 -3
- package/dist/models/UsersCreateWithRoleRequest.js +3 -3
- package/dist/models/index.d.ts +1 -5
- package/dist/models/index.js +1 -5
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +0 -50
- package/src/models/AddressResource.ts +2 -3
- package/src/models/AssetResource.ts +3 -2
- package/src/models/AuthRegisterGuardRequest.ts +11 -11
- package/src/models/{AuthRegisterGuardRequestLicence.ts → AuthRegisterGuardRequestLicencesInner.ts} +29 -29
- package/src/models/MobileInitResource.ts +0 -16
- package/src/models/RegisterGroupedByRosterResource.ts +4 -3
- package/src/models/RegisterListResource.ts +9 -7
- package/src/models/RegisterResource.ts +3 -2
- package/src/models/RosterListResource.ts +4 -3
- package/src/models/RosterResource.ts +4 -3
- package/src/models/RosterWithRegistersResource.ts +4 -3
- package/src/models/SecurityCompanyResource.ts +2 -3
- package/src/models/UserResource.ts +16 -0
- package/src/models/UsersCreateWithRoleRequest.ts +10 -10
- package/src/models/index.ts +1 -5
- package/dist/models/AuthRegisterGuardRequestLicence.d.ts +0 -93
- package/dist/models/MobileAppConfigRequest.d.ts +0 -46
- package/dist/models/MobileAppConfigRequest.js +0 -63
- package/dist/models/MobileAppConfigResource.d.ts +0 -58
- package/dist/models/MobileAppConfigResource.js +0 -69
- package/dist/models/MobileAppConfigResourceArrayResponse.d.ts +0 -33
- package/dist/models/MobileAppConfigResourceArrayResponse.js +0 -50
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.d.ts +0 -93
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.js +0 -90
- package/src/models/MobileAppConfigRequest.ts +0 -86
- package/src/models/MobileAppConfigResource.ts +0 -103
- package/src/models/MobileAppConfigResourceArrayResponse.ts +0 -73
- package/src/models/UsersCreateWithRoleRequestLicencesInner.ts +0 -176
|
@@ -1,93 +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 { FirstAidAsset } from './FirstAidAsset';
|
|
13
|
-
import type { BackAsset } from './BackAsset';
|
|
14
|
-
import type { FrontAsset } from './FrontAsset';
|
|
15
|
-
import type { RsaAsset } from './RsaAsset';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface AuthRegisterGuardRequestLicence
|
|
20
|
-
*/
|
|
21
|
-
export interface AuthRegisterGuardRequestLicence {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
26
|
-
*/
|
|
27
|
-
state: AuthRegisterGuardRequestLicenceStateEnum;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
32
|
-
*/
|
|
33
|
-
licenceNumber: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
38
|
-
*/
|
|
39
|
-
firstName: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
44
|
-
*/
|
|
45
|
-
lastName: string;
|
|
46
|
-
/**
|
|
47
|
-
* ISO 8601 calendar date (Y-m-d) in the licence state's timezone. Time and timezone offset must be omitted.
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
50
|
-
*/
|
|
51
|
-
expiryDate: string;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {FrontAsset}
|
|
55
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
56
|
-
*/
|
|
57
|
-
frontAsset: FrontAsset;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {BackAsset}
|
|
61
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
62
|
-
*/
|
|
63
|
-
backAsset?: BackAsset | null;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {RsaAsset}
|
|
67
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
68
|
-
*/
|
|
69
|
-
rsaAsset?: RsaAsset | null;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {FirstAidAsset}
|
|
73
|
-
* @memberof AuthRegisterGuardRequestLicence
|
|
74
|
-
*/
|
|
75
|
-
firstAidAsset?: FirstAidAsset | null;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* @export
|
|
79
|
-
*/
|
|
80
|
-
export declare const AuthRegisterGuardRequestLicenceStateEnum: {
|
|
81
|
-
readonly Qld: "QLD";
|
|
82
|
-
readonly Nsw: "NSW";
|
|
83
|
-
readonly Vic: "VIC";
|
|
84
|
-
};
|
|
85
|
-
export type AuthRegisterGuardRequestLicenceStateEnum = typeof AuthRegisterGuardRequestLicenceStateEnum[keyof typeof AuthRegisterGuardRequestLicenceStateEnum];
|
|
86
|
-
/**
|
|
87
|
-
* Check if a given object implements the AuthRegisterGuardRequestLicence interface.
|
|
88
|
-
*/
|
|
89
|
-
export declare function instanceOfAuthRegisterGuardRequestLicence(value: object): value is AuthRegisterGuardRequestLicence;
|
|
90
|
-
export declare function AuthRegisterGuardRequestLicenceFromJSON(json: any): AuthRegisterGuardRequestLicence;
|
|
91
|
-
export declare function AuthRegisterGuardRequestLicenceFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthRegisterGuardRequestLicence;
|
|
92
|
-
export declare function AuthRegisterGuardRequestLicenceToJSON(json: any): AuthRegisterGuardRequestLicence;
|
|
93
|
-
export declare function AuthRegisterGuardRequestLicenceToJSONTyped(value?: AuthRegisterGuardRequestLicence | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,46 +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 MobileAppConfigRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface MobileAppConfigRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof MobileAppConfigRequest
|
|
22
|
-
*/
|
|
23
|
-
platform: MobileAppConfigRequestPlatformEnum;
|
|
24
|
-
/**
|
|
25
|
-
* The app's current version as a semantic version string (e.g. "1.4.2").
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof MobileAppConfigRequest
|
|
28
|
-
*/
|
|
29
|
-
appVersion: string;
|
|
30
|
-
}
|
|
31
|
-
/**
|
|
32
|
-
* @export
|
|
33
|
-
*/
|
|
34
|
-
export declare const MobileAppConfigRequestPlatformEnum: {
|
|
35
|
-
readonly Ios: "ios";
|
|
36
|
-
readonly Android: "android";
|
|
37
|
-
};
|
|
38
|
-
export type MobileAppConfigRequestPlatformEnum = typeof MobileAppConfigRequestPlatformEnum[keyof typeof MobileAppConfigRequestPlatformEnum];
|
|
39
|
-
/**
|
|
40
|
-
* Check if a given object implements the MobileAppConfigRequest interface.
|
|
41
|
-
*/
|
|
42
|
-
export declare function instanceOfMobileAppConfigRequest(value: object): value is MobileAppConfigRequest;
|
|
43
|
-
export declare function MobileAppConfigRequestFromJSON(json: any): MobileAppConfigRequest;
|
|
44
|
-
export declare function MobileAppConfigRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MobileAppConfigRequest;
|
|
45
|
-
export declare function MobileAppConfigRequestToJSON(json: any): MobileAppConfigRequest;
|
|
46
|
-
export declare function MobileAppConfigRequestToJSONTyped(value?: MobileAppConfigRequest | 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.MobileAppConfigRequestPlatformEnum = void 0;
|
|
17
|
-
exports.instanceOfMobileAppConfigRequest = instanceOfMobileAppConfigRequest;
|
|
18
|
-
exports.MobileAppConfigRequestFromJSON = MobileAppConfigRequestFromJSON;
|
|
19
|
-
exports.MobileAppConfigRequestFromJSONTyped = MobileAppConfigRequestFromJSONTyped;
|
|
20
|
-
exports.MobileAppConfigRequestToJSON = MobileAppConfigRequestToJSON;
|
|
21
|
-
exports.MobileAppConfigRequestToJSONTyped = MobileAppConfigRequestToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.MobileAppConfigRequestPlatformEnum = {
|
|
26
|
-
Ios: 'ios',
|
|
27
|
-
Android: 'android'
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Check if a given object implements the MobileAppConfigRequest interface.
|
|
31
|
-
*/
|
|
32
|
-
function instanceOfMobileAppConfigRequest(value) {
|
|
33
|
-
if (!('platform' in value) || value['platform'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('appVersion' in value) || value['appVersion'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
return true;
|
|
38
|
-
}
|
|
39
|
-
function MobileAppConfigRequestFromJSON(json) {
|
|
40
|
-
return MobileAppConfigRequestFromJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function MobileAppConfigRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
'platform': json['platform'],
|
|
48
|
-
'appVersion': json['app_version'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
function MobileAppConfigRequestToJSON(json) {
|
|
52
|
-
return MobileAppConfigRequestToJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
function MobileAppConfigRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
55
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
56
|
-
if (value == null) {
|
|
57
|
-
return value;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
'platform': value['platform'],
|
|
61
|
-
'app_version': value['appVersion'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
@@ -1,58 +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 MobileAppConfigResource
|
|
16
|
-
*/
|
|
17
|
-
export interface MobileAppConfigResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof MobileAppConfigResource
|
|
22
|
-
*/
|
|
23
|
-
platform: MobileAppConfigResourcePlatformEnum;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {boolean}
|
|
27
|
-
* @memberof MobileAppConfigResource
|
|
28
|
-
*/
|
|
29
|
-
forceUpdate: boolean;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof MobileAppConfigResource
|
|
34
|
-
*/
|
|
35
|
-
updateUrl: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof MobileAppConfigResource
|
|
40
|
-
*/
|
|
41
|
-
message?: string | null;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* @export
|
|
45
|
-
*/
|
|
46
|
-
export declare const MobileAppConfigResourcePlatformEnum: {
|
|
47
|
-
readonly Ios: "ios";
|
|
48
|
-
readonly Android: "android";
|
|
49
|
-
};
|
|
50
|
-
export type MobileAppConfigResourcePlatformEnum = typeof MobileAppConfigResourcePlatformEnum[keyof typeof MobileAppConfigResourcePlatformEnum];
|
|
51
|
-
/**
|
|
52
|
-
* Check if a given object implements the MobileAppConfigResource interface.
|
|
53
|
-
*/
|
|
54
|
-
export declare function instanceOfMobileAppConfigResource(value: object): value is MobileAppConfigResource;
|
|
55
|
-
export declare function MobileAppConfigResourceFromJSON(json: any): MobileAppConfigResource;
|
|
56
|
-
export declare function MobileAppConfigResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): MobileAppConfigResource;
|
|
57
|
-
export declare function MobileAppConfigResourceToJSON(json: any): MobileAppConfigResource;
|
|
58
|
-
export declare function MobileAppConfigResourceToJSONTyped(value?: MobileAppConfigResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,69 +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.MobileAppConfigResourcePlatformEnum = void 0;
|
|
17
|
-
exports.instanceOfMobileAppConfigResource = instanceOfMobileAppConfigResource;
|
|
18
|
-
exports.MobileAppConfigResourceFromJSON = MobileAppConfigResourceFromJSON;
|
|
19
|
-
exports.MobileAppConfigResourceFromJSONTyped = MobileAppConfigResourceFromJSONTyped;
|
|
20
|
-
exports.MobileAppConfigResourceToJSON = MobileAppConfigResourceToJSON;
|
|
21
|
-
exports.MobileAppConfigResourceToJSONTyped = MobileAppConfigResourceToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.MobileAppConfigResourcePlatformEnum = {
|
|
26
|
-
Ios: 'ios',
|
|
27
|
-
Android: 'android'
|
|
28
|
-
};
|
|
29
|
-
/**
|
|
30
|
-
* Check if a given object implements the MobileAppConfigResource interface.
|
|
31
|
-
*/
|
|
32
|
-
function instanceOfMobileAppConfigResource(value) {
|
|
33
|
-
if (!('platform' in value) || value['platform'] === undefined)
|
|
34
|
-
return false;
|
|
35
|
-
if (!('forceUpdate' in value) || value['forceUpdate'] === undefined)
|
|
36
|
-
return false;
|
|
37
|
-
if (!('updateUrl' in value) || value['updateUrl'] === undefined)
|
|
38
|
-
return false;
|
|
39
|
-
return true;
|
|
40
|
-
}
|
|
41
|
-
function MobileAppConfigResourceFromJSON(json) {
|
|
42
|
-
return MobileAppConfigResourceFromJSONTyped(json, false);
|
|
43
|
-
}
|
|
44
|
-
function MobileAppConfigResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
45
|
-
if (json == null) {
|
|
46
|
-
return json;
|
|
47
|
-
}
|
|
48
|
-
return {
|
|
49
|
-
'platform': json['platform'],
|
|
50
|
-
'forceUpdate': json['forceUpdate'],
|
|
51
|
-
'updateUrl': json['updateUrl'],
|
|
52
|
-
'message': json['message'] == null ? undefined : json['message'],
|
|
53
|
-
};
|
|
54
|
-
}
|
|
55
|
-
function MobileAppConfigResourceToJSON(json) {
|
|
56
|
-
return MobileAppConfigResourceToJSONTyped(json, false);
|
|
57
|
-
}
|
|
58
|
-
function MobileAppConfigResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
59
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
60
|
-
if (value == null) {
|
|
61
|
-
return value;
|
|
62
|
-
}
|
|
63
|
-
return {
|
|
64
|
-
'platform': value['platform'],
|
|
65
|
-
'forceUpdate': value['forceUpdate'],
|
|
66
|
-
'updateUrl': value['updateUrl'],
|
|
67
|
-
'message': value['message'],
|
|
68
|
-
};
|
|
69
|
-
}
|
|
@@ -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 { MobileAppConfigResource } from './MobileAppConfigResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface MobileAppConfigResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface MobileAppConfigResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<MobileAppConfigResource>}
|
|
22
|
-
* @memberof MobileAppConfigResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<MobileAppConfigResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the MobileAppConfigResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfMobileAppConfigResourceArrayResponse(value: object): value is MobileAppConfigResourceArrayResponse;
|
|
30
|
-
export declare function MobileAppConfigResourceArrayResponseFromJSON(json: any): MobileAppConfigResourceArrayResponse;
|
|
31
|
-
export declare function MobileAppConfigResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): MobileAppConfigResourceArrayResponse;
|
|
32
|
-
export declare function MobileAppConfigResourceArrayResponseToJSON(json: any): MobileAppConfigResourceArrayResponse;
|
|
33
|
-
export declare function MobileAppConfigResourceArrayResponseToJSONTyped(value?: MobileAppConfigResourceArrayResponse | 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.instanceOfMobileAppConfigResourceArrayResponse = instanceOfMobileAppConfigResourceArrayResponse;
|
|
17
|
-
exports.MobileAppConfigResourceArrayResponseFromJSON = MobileAppConfigResourceArrayResponseFromJSON;
|
|
18
|
-
exports.MobileAppConfigResourceArrayResponseFromJSONTyped = MobileAppConfigResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.MobileAppConfigResourceArrayResponseToJSON = MobileAppConfigResourceArrayResponseToJSON;
|
|
20
|
-
exports.MobileAppConfigResourceArrayResponseToJSONTyped = MobileAppConfigResourceArrayResponseToJSONTyped;
|
|
21
|
-
var MobileAppConfigResource_1 = require("./MobileAppConfigResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the MobileAppConfigResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfMobileAppConfigResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function MobileAppConfigResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return MobileAppConfigResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function MobileAppConfigResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(MobileAppConfigResource_1.MobileAppConfigResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function MobileAppConfigResourceArrayResponseToJSON(json) {
|
|
40
|
-
return MobileAppConfigResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function MobileAppConfigResourceArrayResponseToJSONTyped(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(MobileAppConfigResource_1.MobileAppConfigResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,93 +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 { FirstAidAsset } from './FirstAidAsset';
|
|
13
|
-
import type { BackAsset } from './BackAsset';
|
|
14
|
-
import type { FrontAsset } from './FrontAsset';
|
|
15
|
-
import type { RsaAsset } from './RsaAsset';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface UsersCreateWithRoleRequestLicencesInner
|
|
20
|
-
*/
|
|
21
|
-
export interface UsersCreateWithRoleRequestLicencesInner {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof UsersCreateWithRoleRequestLicencesInner
|
|
26
|
-
*/
|
|
27
|
-
state: UsersCreateWithRoleRequestLicencesInnerStateEnum;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof UsersCreateWithRoleRequestLicencesInner
|
|
32
|
-
*/
|
|
33
|
-
licenceNumber: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof UsersCreateWithRoleRequestLicencesInner
|
|
38
|
-
*/
|
|
39
|
-
firstName: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof UsersCreateWithRoleRequestLicencesInner
|
|
44
|
-
*/
|
|
45
|
-
lastName: string;
|
|
46
|
-
/**
|
|
47
|
-
* ISO 8601 calendar date (Y-m-d) in the licence state's timezone. Time and timezone offset must be omitted.
|
|
48
|
-
* @type {string}
|
|
49
|
-
* @memberof UsersCreateWithRoleRequestLicencesInner
|
|
50
|
-
*/
|
|
51
|
-
expiryDate: string;
|
|
52
|
-
/**
|
|
53
|
-
*
|
|
54
|
-
* @type {FrontAsset}
|
|
55
|
-
* @memberof UsersCreateWithRoleRequestLicencesInner
|
|
56
|
-
*/
|
|
57
|
-
frontAsset: FrontAsset;
|
|
58
|
-
/**
|
|
59
|
-
*
|
|
60
|
-
* @type {BackAsset}
|
|
61
|
-
* @memberof UsersCreateWithRoleRequestLicencesInner
|
|
62
|
-
*/
|
|
63
|
-
backAsset?: BackAsset | null;
|
|
64
|
-
/**
|
|
65
|
-
*
|
|
66
|
-
* @type {RsaAsset}
|
|
67
|
-
* @memberof UsersCreateWithRoleRequestLicencesInner
|
|
68
|
-
*/
|
|
69
|
-
rsaAsset?: RsaAsset | null;
|
|
70
|
-
/**
|
|
71
|
-
*
|
|
72
|
-
* @type {FirstAidAsset}
|
|
73
|
-
* @memberof UsersCreateWithRoleRequestLicencesInner
|
|
74
|
-
*/
|
|
75
|
-
firstAidAsset?: FirstAidAsset | null;
|
|
76
|
-
}
|
|
77
|
-
/**
|
|
78
|
-
* @export
|
|
79
|
-
*/
|
|
80
|
-
export declare const UsersCreateWithRoleRequestLicencesInnerStateEnum: {
|
|
81
|
-
readonly Qld: "QLD";
|
|
82
|
-
readonly Nsw: "NSW";
|
|
83
|
-
readonly Vic: "VIC";
|
|
84
|
-
};
|
|
85
|
-
export type UsersCreateWithRoleRequestLicencesInnerStateEnum = typeof UsersCreateWithRoleRequestLicencesInnerStateEnum[keyof typeof UsersCreateWithRoleRequestLicencesInnerStateEnum];
|
|
86
|
-
/**
|
|
87
|
-
* Check if a given object implements the UsersCreateWithRoleRequestLicencesInner interface.
|
|
88
|
-
*/
|
|
89
|
-
export declare function instanceOfUsersCreateWithRoleRequestLicencesInner(value: object): value is UsersCreateWithRoleRequestLicencesInner;
|
|
90
|
-
export declare function UsersCreateWithRoleRequestLicencesInnerFromJSON(json: any): UsersCreateWithRoleRequestLicencesInner;
|
|
91
|
-
export declare function UsersCreateWithRoleRequestLicencesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): UsersCreateWithRoleRequestLicencesInner;
|
|
92
|
-
export declare function UsersCreateWithRoleRequestLicencesInnerToJSON(json: any): UsersCreateWithRoleRequestLicencesInner;
|
|
93
|
-
export declare function UsersCreateWithRoleRequestLicencesInnerToJSONTyped(value?: UsersCreateWithRoleRequestLicencesInner | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,90 +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.UsersCreateWithRoleRequestLicencesInnerStateEnum = void 0;
|
|
17
|
-
exports.instanceOfUsersCreateWithRoleRequestLicencesInner = instanceOfUsersCreateWithRoleRequestLicencesInner;
|
|
18
|
-
exports.UsersCreateWithRoleRequestLicencesInnerFromJSON = UsersCreateWithRoleRequestLicencesInnerFromJSON;
|
|
19
|
-
exports.UsersCreateWithRoleRequestLicencesInnerFromJSONTyped = UsersCreateWithRoleRequestLicencesInnerFromJSONTyped;
|
|
20
|
-
exports.UsersCreateWithRoleRequestLicencesInnerToJSON = UsersCreateWithRoleRequestLicencesInnerToJSON;
|
|
21
|
-
exports.UsersCreateWithRoleRequestLicencesInnerToJSONTyped = UsersCreateWithRoleRequestLicencesInnerToJSONTyped;
|
|
22
|
-
var FirstAidAsset_1 = require("./FirstAidAsset");
|
|
23
|
-
var BackAsset_1 = require("./BackAsset");
|
|
24
|
-
var FrontAsset_1 = require("./FrontAsset");
|
|
25
|
-
var RsaAsset_1 = require("./RsaAsset");
|
|
26
|
-
/**
|
|
27
|
-
* @export
|
|
28
|
-
*/
|
|
29
|
-
exports.UsersCreateWithRoleRequestLicencesInnerStateEnum = {
|
|
30
|
-
Qld: 'QLD',
|
|
31
|
-
Nsw: 'NSW',
|
|
32
|
-
Vic: 'VIC'
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Check if a given object implements the UsersCreateWithRoleRequestLicencesInner interface.
|
|
36
|
-
*/
|
|
37
|
-
function instanceOfUsersCreateWithRoleRequestLicencesInner(value) {
|
|
38
|
-
if (!('state' in value) || value['state'] === undefined)
|
|
39
|
-
return false;
|
|
40
|
-
if (!('licenceNumber' in value) || value['licenceNumber'] === undefined)
|
|
41
|
-
return false;
|
|
42
|
-
if (!('firstName' in value) || value['firstName'] === undefined)
|
|
43
|
-
return false;
|
|
44
|
-
if (!('lastName' in value) || value['lastName'] === undefined)
|
|
45
|
-
return false;
|
|
46
|
-
if (!('expiryDate' in value) || value['expiryDate'] === undefined)
|
|
47
|
-
return false;
|
|
48
|
-
if (!('frontAsset' in value) || value['frontAsset'] === undefined)
|
|
49
|
-
return false;
|
|
50
|
-
return true;
|
|
51
|
-
}
|
|
52
|
-
function UsersCreateWithRoleRequestLicencesInnerFromJSON(json) {
|
|
53
|
-
return UsersCreateWithRoleRequestLicencesInnerFromJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
function UsersCreateWithRoleRequestLicencesInnerFromJSONTyped(json, ignoreDiscriminator) {
|
|
56
|
-
if (json == null) {
|
|
57
|
-
return json;
|
|
58
|
-
}
|
|
59
|
-
return {
|
|
60
|
-
'state': json['state'],
|
|
61
|
-
'licenceNumber': json['licence_number'],
|
|
62
|
-
'firstName': json['first_name'],
|
|
63
|
-
'lastName': json['last_name'],
|
|
64
|
-
'expiryDate': json['expiry_date'],
|
|
65
|
-
'frontAsset': (0, FrontAsset_1.FrontAssetFromJSON)(json['front_asset']),
|
|
66
|
-
'backAsset': json['back_asset'] == null ? undefined : (0, BackAsset_1.BackAssetFromJSON)(json['back_asset']),
|
|
67
|
-
'rsaAsset': json['rsa_asset'] == null ? undefined : (0, RsaAsset_1.RsaAssetFromJSON)(json['rsa_asset']),
|
|
68
|
-
'firstAidAsset': json['first_aid_asset'] == null ? undefined : (0, FirstAidAsset_1.FirstAidAssetFromJSON)(json['first_aid_asset']),
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
function UsersCreateWithRoleRequestLicencesInnerToJSON(json) {
|
|
72
|
-
return UsersCreateWithRoleRequestLicencesInnerToJSONTyped(json, false);
|
|
73
|
-
}
|
|
74
|
-
function UsersCreateWithRoleRequestLicencesInnerToJSONTyped(value, ignoreDiscriminator) {
|
|
75
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
76
|
-
if (value == null) {
|
|
77
|
-
return value;
|
|
78
|
-
}
|
|
79
|
-
return {
|
|
80
|
-
'state': value['state'],
|
|
81
|
-
'licence_number': value['licenceNumber'],
|
|
82
|
-
'first_name': value['firstName'],
|
|
83
|
-
'last_name': value['lastName'],
|
|
84
|
-
'expiry_date': value['expiryDate'],
|
|
85
|
-
'front_asset': (0, FrontAsset_1.FrontAssetToJSON)(value['frontAsset']),
|
|
86
|
-
'back_asset': (0, BackAsset_1.BackAssetToJSON)(value['backAsset']),
|
|
87
|
-
'rsa_asset': (0, RsaAsset_1.RsaAssetToJSON)(value['rsaAsset']),
|
|
88
|
-
'first_aid_asset': (0, FirstAidAsset_1.FirstAidAssetToJSON)(value['firstAidAsset']),
|
|
89
|
-
};
|
|
90
|
-
}
|
|
@@ -1,86 +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 MobileAppConfigRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface MobileAppConfigRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {string}
|
|
25
|
-
* @memberof MobileAppConfigRequest
|
|
26
|
-
*/
|
|
27
|
-
platform: MobileAppConfigRequestPlatformEnum;
|
|
28
|
-
/**
|
|
29
|
-
* The app's current version as a semantic version string (e.g. "1.4.2").
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof MobileAppConfigRequest
|
|
32
|
-
*/
|
|
33
|
-
appVersion: string;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
/**
|
|
38
|
-
* @export
|
|
39
|
-
*/
|
|
40
|
-
export const MobileAppConfigRequestPlatformEnum = {
|
|
41
|
-
Ios: 'ios',
|
|
42
|
-
Android: 'android'
|
|
43
|
-
} as const;
|
|
44
|
-
export type MobileAppConfigRequestPlatformEnum = typeof MobileAppConfigRequestPlatformEnum[keyof typeof MobileAppConfigRequestPlatformEnum];
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
/**
|
|
48
|
-
* Check if a given object implements the MobileAppConfigRequest interface.
|
|
49
|
-
*/
|
|
50
|
-
export function instanceOfMobileAppConfigRequest(value: object): value is MobileAppConfigRequest {
|
|
51
|
-
if (!('platform' in value) || value['platform'] === undefined) return false;
|
|
52
|
-
if (!('appVersion' in value) || value['appVersion'] === undefined) return false;
|
|
53
|
-
return true;
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function MobileAppConfigRequestFromJSON(json: any): MobileAppConfigRequest {
|
|
57
|
-
return MobileAppConfigRequestFromJSONTyped(json, false);
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
export function MobileAppConfigRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): MobileAppConfigRequest {
|
|
61
|
-
if (json == null) {
|
|
62
|
-
return json;
|
|
63
|
-
}
|
|
64
|
-
return {
|
|
65
|
-
|
|
66
|
-
'platform': json['platform'],
|
|
67
|
-
'appVersion': json['app_version'],
|
|
68
|
-
};
|
|
69
|
-
}
|
|
70
|
-
|
|
71
|
-
export function MobileAppConfigRequestToJSON(json: any): MobileAppConfigRequest {
|
|
72
|
-
return MobileAppConfigRequestToJSONTyped(json, false);
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
export function MobileAppConfigRequestToJSONTyped(value?: MobileAppConfigRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
76
|
-
if (value == null) {
|
|
77
|
-
return value;
|
|
78
|
-
}
|
|
79
|
-
|
|
80
|
-
return {
|
|
81
|
-
|
|
82
|
-
'platform': value['platform'],
|
|
83
|
-
'app_version': value['appVersion'],
|
|
84
|
-
};
|
|
85
|
-
}
|
|
86
|
-
|