@digital8/security-registers-backend-ts-sdk 0.0.778 → 0.0.779
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 -1
- package/README.md +2 -2
- package/dist/models/AuthProfileUpdateRequest.d.ts +13 -0
- package/dist/models/AuthProfileUpdateRequest.js +5 -0
- package/dist/models/AuthProfileUpdateRequestSignature.d.ts +50 -0
- package/dist/models/{LicencesStoreRequestBackAsset.js → AuthProfileUpdateRequestSignature.js} +13 -13
- package/dist/models/LicencesStoreRequest.d.ts +7 -7
- package/dist/models/LicencesStoreRequest.js +7 -7
- package/dist/models/LicencesUpdateRequest.d.ts +9 -9
- package/dist/models/LicencesUpdateRequest.js +9 -9
- package/dist/models/RegisterResource.d.ts +1 -1
- package/dist/models/RegisterResource.js +1 -3
- package/dist/models/RegistersCreateRequest.d.ts +3 -3
- package/dist/models/RegistersCreateRequest.js +3 -3
- package/dist/models/RegistersUpdateRequest.d.ts +5 -5
- package/dist/models/RegistersUpdateRequest.js +5 -5
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/package.json +1 -1
- package/src/models/AuthProfileUpdateRequest.ts +24 -0
- package/src/models/{LicencesStoreRequestBackAsset.ts → AuthProfileUpdateRequestSignature.ts} +14 -14
- package/src/models/LicencesStoreRequest.ts +18 -18
- package/src/models/LicencesUpdateRequest.ts +22 -22
- package/src/models/RegisterResource.ts +2 -3
- package/src/models/RegistersCreateRequest.ts +10 -10
- package/src/models/RegistersUpdateRequest.ts +14 -14
- package/src/models/index.ts +1 -1
- package/dist/models/LicencesStoreRequestBackAsset.d.ts +0 -50
package/.openapi-generator/FILES
CHANGED
|
@@ -17,6 +17,7 @@ src/models/AssetResourceArrayResponse.ts
|
|
|
17
17
|
src/models/AuthChangePasswordRequest.ts
|
|
18
18
|
src/models/AuthLoginWebRequest.ts
|
|
19
19
|
src/models/AuthProfileUpdateRequest.ts
|
|
20
|
+
src/models/AuthProfileUpdateRequestSignature.ts
|
|
20
21
|
src/models/AuthRegisterGuardFileRequest.ts
|
|
21
22
|
src/models/AuthRegisterGuardRequest.ts
|
|
22
23
|
src/models/AuthRegisterGuardRequestLicencesInner.ts
|
|
@@ -83,7 +84,6 @@ src/models/LicencesCheckLogsListRequest.ts
|
|
|
83
84
|
src/models/LicencesListAllRequest.ts
|
|
84
85
|
src/models/LicencesListRequest.ts
|
|
85
86
|
src/models/LicencesStoreRequest.ts
|
|
86
|
-
src/models/LicencesStoreRequestBackAsset.ts
|
|
87
87
|
src/models/LicencesUpdateRequest.ts
|
|
88
88
|
src/models/LicencesVerifyRequest.ts
|
|
89
89
|
src/models/MobileAppConfigRequest.ts
|
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
## @digital8/security-registers-backend-ts-sdk@0.0.
|
|
1
|
+
## @digital8/security-registers-backend-ts-sdk@0.0.779
|
|
2
2
|
|
|
3
3
|
This generator creates TypeScript/JavaScript client that utilizes [Fetch API](https://fetch.spec.whatwg.org/). The generated Node module can be used in the following environments:
|
|
4
4
|
|
|
@@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
|
|
|
36
36
|
_published:_
|
|
37
37
|
|
|
38
38
|
```
|
|
39
|
-
npm install @digital8/security-registers-backend-ts-sdk@0.0.
|
|
39
|
+
npm install @digital8/security-registers-backend-ts-sdk@0.0.779 --save
|
|
40
40
|
```
|
|
41
41
|
|
|
42
42
|
_unPublished (not recommended):_
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import type { AuthProfileUpdateRequestSignature } from './AuthProfileUpdateRequestSignature';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -51,6 +52,18 @@ export interface AuthProfileUpdateRequest {
|
|
|
51
52
|
* @memberof AuthProfileUpdateRequest
|
|
52
53
|
*/
|
|
53
54
|
profileImageAssetId?: number;
|
|
55
|
+
/**
|
|
56
|
+
*
|
|
57
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
58
|
+
* @memberof AuthProfileUpdateRequest
|
|
59
|
+
*/
|
|
60
|
+
signature?: AuthProfileUpdateRequestSignature | null;
|
|
61
|
+
/**
|
|
62
|
+
*
|
|
63
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
64
|
+
* @memberof AuthProfileUpdateRequest
|
|
65
|
+
*/
|
|
66
|
+
profileImage?: AuthProfileUpdateRequestSignature | null;
|
|
54
67
|
}
|
|
55
68
|
/**
|
|
56
69
|
* Check if a given object implements the AuthProfileUpdateRequest interface.
|
|
@@ -18,6 +18,7 @@ exports.AuthProfileUpdateRequestFromJSON = AuthProfileUpdateRequestFromJSON;
|
|
|
18
18
|
exports.AuthProfileUpdateRequestFromJSONTyped = AuthProfileUpdateRequestFromJSONTyped;
|
|
19
19
|
exports.AuthProfileUpdateRequestToJSON = AuthProfileUpdateRequestToJSON;
|
|
20
20
|
exports.AuthProfileUpdateRequestToJSONTyped = AuthProfileUpdateRequestToJSONTyped;
|
|
21
|
+
var AuthProfileUpdateRequestSignature_1 = require("./AuthProfileUpdateRequestSignature");
|
|
21
22
|
/**
|
|
22
23
|
* Check if a given object implements the AuthProfileUpdateRequest interface.
|
|
23
24
|
*/
|
|
@@ -38,6 +39,8 @@ function AuthProfileUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
39
|
'mobile': json['mobile'] == null ? undefined : json['mobile'],
|
|
39
40
|
'signatureAssetId': json['signature_asset_id'] == null ? undefined : json['signature_asset_id'],
|
|
40
41
|
'profileImageAssetId': json['profile_image_asset_id'] == null ? undefined : json['profile_image_asset_id'],
|
|
42
|
+
'signature': json['signature'] == null ? undefined : (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureFromJSON)(json['signature']),
|
|
43
|
+
'profileImage': json['profile_image'] == null ? undefined : (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureFromJSON)(json['profile_image']),
|
|
41
44
|
};
|
|
42
45
|
}
|
|
43
46
|
function AuthProfileUpdateRequestToJSON(json) {
|
|
@@ -55,5 +58,7 @@ function AuthProfileUpdateRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
55
58
|
'mobile': value['mobile'],
|
|
56
59
|
'signature_asset_id': value['signatureAssetId'],
|
|
57
60
|
'profile_image_asset_id': value['profileImageAssetId'],
|
|
61
|
+
'signature': (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureToJSON)(value['signature']),
|
|
62
|
+
'profile_image': (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureToJSON)(value['profileImage']),
|
|
58
63
|
};
|
|
59
64
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
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 AuthProfileUpdateRequestSignature
|
|
16
|
+
*/
|
|
17
|
+
export interface AuthProfileUpdateRequestSignature {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof AuthProfileUpdateRequestSignature
|
|
22
|
+
*/
|
|
23
|
+
fileId?: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AuthProfileUpdateRequestSignature
|
|
28
|
+
*/
|
|
29
|
+
fileName?: string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof AuthProfileUpdateRequestSignature
|
|
34
|
+
*/
|
|
35
|
+
mimeType?: string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof AuthProfileUpdateRequestSignature
|
|
40
|
+
*/
|
|
41
|
+
altText?: string;
|
|
42
|
+
}
|
|
43
|
+
/**
|
|
44
|
+
* Check if a given object implements the AuthProfileUpdateRequestSignature interface.
|
|
45
|
+
*/
|
|
46
|
+
export declare function instanceOfAuthProfileUpdateRequestSignature(value: object): value is AuthProfileUpdateRequestSignature;
|
|
47
|
+
export declare function AuthProfileUpdateRequestSignatureFromJSON(json: any): AuthProfileUpdateRequestSignature;
|
|
48
|
+
export declare function AuthProfileUpdateRequestSignatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthProfileUpdateRequestSignature;
|
|
49
|
+
export declare function AuthProfileUpdateRequestSignatureToJSON(json: any): AuthProfileUpdateRequestSignature;
|
|
50
|
+
export declare function AuthProfileUpdateRequestSignatureToJSONTyped(value?: AuthProfileUpdateRequestSignature | null, ignoreDiscriminator?: boolean): any;
|
package/dist/models/{LicencesStoreRequestBackAsset.js → AuthProfileUpdateRequestSignature.js}
RENAMED
|
@@ -13,21 +13,21 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
18
|
-
exports.
|
|
19
|
-
exports.
|
|
20
|
-
exports.
|
|
16
|
+
exports.instanceOfAuthProfileUpdateRequestSignature = instanceOfAuthProfileUpdateRequestSignature;
|
|
17
|
+
exports.AuthProfileUpdateRequestSignatureFromJSON = AuthProfileUpdateRequestSignatureFromJSON;
|
|
18
|
+
exports.AuthProfileUpdateRequestSignatureFromJSONTyped = AuthProfileUpdateRequestSignatureFromJSONTyped;
|
|
19
|
+
exports.AuthProfileUpdateRequestSignatureToJSON = AuthProfileUpdateRequestSignatureToJSON;
|
|
20
|
+
exports.AuthProfileUpdateRequestSignatureToJSONTyped = AuthProfileUpdateRequestSignatureToJSONTyped;
|
|
21
21
|
/**
|
|
22
|
-
* Check if a given object implements the
|
|
22
|
+
* Check if a given object implements the AuthProfileUpdateRequestSignature interface.
|
|
23
23
|
*/
|
|
24
|
-
function
|
|
24
|
+
function instanceOfAuthProfileUpdateRequestSignature(value) {
|
|
25
25
|
return true;
|
|
26
26
|
}
|
|
27
|
-
function
|
|
28
|
-
return
|
|
27
|
+
function AuthProfileUpdateRequestSignatureFromJSON(json) {
|
|
28
|
+
return AuthProfileUpdateRequestSignatureFromJSONTyped(json, false);
|
|
29
29
|
}
|
|
30
|
-
function
|
|
30
|
+
function AuthProfileUpdateRequestSignatureFromJSONTyped(json, ignoreDiscriminator) {
|
|
31
31
|
if (json == null) {
|
|
32
32
|
return json;
|
|
33
33
|
}
|
|
@@ -38,10 +38,10 @@ function LicencesStoreRequestBackAssetFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
38
38
|
'altText': json['alt_text'] == null ? undefined : json['alt_text'],
|
|
39
39
|
};
|
|
40
40
|
}
|
|
41
|
-
function
|
|
42
|
-
return
|
|
41
|
+
function AuthProfileUpdateRequestSignatureToJSON(json) {
|
|
42
|
+
return AuthProfileUpdateRequestSignatureToJSONTyped(json, false);
|
|
43
43
|
}
|
|
44
|
-
function
|
|
44
|
+
function AuthProfileUpdateRequestSignatureToJSONTyped(value, ignoreDiscriminator) {
|
|
45
45
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
46
46
|
if (value == null) {
|
|
47
47
|
return value;
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { AuthProfileUpdateRequestSignature } from './AuthProfileUpdateRequestSignature';
|
|
13
13
|
import type { AuthRegisterGuardRequestProfileSignature } from './AuthRegisterGuardRequestProfileSignature';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
@@ -61,22 +61,22 @@ export interface LicencesStoreRequest {
|
|
|
61
61
|
frontAsset: AuthRegisterGuardRequestProfileSignature;
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
|
-
* @type {
|
|
64
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
65
65
|
* @memberof LicencesStoreRequest
|
|
66
66
|
*/
|
|
67
|
-
backAsset?:
|
|
67
|
+
backAsset?: AuthProfileUpdateRequestSignature | null;
|
|
68
68
|
/**
|
|
69
69
|
*
|
|
70
|
-
* @type {
|
|
70
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
71
71
|
* @memberof LicencesStoreRequest
|
|
72
72
|
*/
|
|
73
|
-
rsaAsset?:
|
|
73
|
+
rsaAsset?: AuthProfileUpdateRequestSignature | null;
|
|
74
74
|
/**
|
|
75
75
|
*
|
|
76
|
-
* @type {
|
|
76
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
77
77
|
* @memberof LicencesStoreRequest
|
|
78
78
|
*/
|
|
79
|
-
firstAidAsset?:
|
|
79
|
+
firstAidAsset?: AuthProfileUpdateRequestSignature | null;
|
|
80
80
|
}
|
|
81
81
|
/**
|
|
82
82
|
* @export
|
|
@@ -19,7 +19,7 @@ exports.LicencesStoreRequestFromJSON = LicencesStoreRequestFromJSON;
|
|
|
19
19
|
exports.LicencesStoreRequestFromJSONTyped = LicencesStoreRequestFromJSONTyped;
|
|
20
20
|
exports.LicencesStoreRequestToJSON = LicencesStoreRequestToJSON;
|
|
21
21
|
exports.LicencesStoreRequestToJSONTyped = LicencesStoreRequestToJSONTyped;
|
|
22
|
-
var
|
|
22
|
+
var AuthProfileUpdateRequestSignature_1 = require("./AuthProfileUpdateRequestSignature");
|
|
23
23
|
var AuthRegisterGuardRequestProfileSignature_1 = require("./AuthRegisterGuardRequestProfileSignature");
|
|
24
24
|
/**
|
|
25
25
|
* @export
|
|
@@ -64,9 +64,9 @@ function LicencesStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
64
64
|
'lastName': json['last_name'],
|
|
65
65
|
'expiryDate': json['expiry_date'],
|
|
66
66
|
'frontAsset': (0, AuthRegisterGuardRequestProfileSignature_1.AuthRegisterGuardRequestProfileSignatureFromJSON)(json['front_asset']),
|
|
67
|
-
'backAsset': json['back_asset'] == null ? undefined : (0,
|
|
68
|
-
'rsaAsset': json['rsa_asset'] == null ? undefined : (0,
|
|
69
|
-
'firstAidAsset': json['first_aid_asset'] == null ? undefined : (0,
|
|
67
|
+
'backAsset': json['back_asset'] == null ? undefined : (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureFromJSON)(json['back_asset']),
|
|
68
|
+
'rsaAsset': json['rsa_asset'] == null ? undefined : (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureFromJSON)(json['rsa_asset']),
|
|
69
|
+
'firstAidAsset': json['first_aid_asset'] == null ? undefined : (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureFromJSON)(json['first_aid_asset']),
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
function LicencesStoreRequestToJSON(json) {
|
|
@@ -85,8 +85,8 @@ function LicencesStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
85
85
|
'last_name': value['lastName'],
|
|
86
86
|
'expiry_date': value['expiryDate'],
|
|
87
87
|
'front_asset': (0, AuthRegisterGuardRequestProfileSignature_1.AuthRegisterGuardRequestProfileSignatureToJSON)(value['frontAsset']),
|
|
88
|
-
'back_asset': (0,
|
|
89
|
-
'rsa_asset': (0,
|
|
90
|
-
'first_aid_asset': (0,
|
|
88
|
+
'back_asset': (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureToJSON)(value['backAsset']),
|
|
89
|
+
'rsa_asset': (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureToJSON)(value['rsaAsset']),
|
|
90
|
+
'first_aid_asset': (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureToJSON)(value['firstAidAsset']),
|
|
91
91
|
};
|
|
92
92
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { AuthProfileUpdateRequestSignature } from './AuthProfileUpdateRequestSignature';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -48,28 +48,28 @@ export interface LicencesUpdateRequest {
|
|
|
48
48
|
expiryDate?: string;
|
|
49
49
|
/**
|
|
50
50
|
*
|
|
51
|
-
* @type {
|
|
51
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
52
52
|
* @memberof LicencesUpdateRequest
|
|
53
53
|
*/
|
|
54
|
-
frontAsset?:
|
|
54
|
+
frontAsset?: AuthProfileUpdateRequestSignature | null;
|
|
55
55
|
/**
|
|
56
56
|
*
|
|
57
|
-
* @type {
|
|
57
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
58
58
|
* @memberof LicencesUpdateRequest
|
|
59
59
|
*/
|
|
60
|
-
backAsset?:
|
|
60
|
+
backAsset?: AuthProfileUpdateRequestSignature | null;
|
|
61
61
|
/**
|
|
62
62
|
*
|
|
63
|
-
* @type {
|
|
63
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
64
64
|
* @memberof LicencesUpdateRequest
|
|
65
65
|
*/
|
|
66
|
-
rsaAsset?:
|
|
66
|
+
rsaAsset?: AuthProfileUpdateRequestSignature | null;
|
|
67
67
|
/**
|
|
68
68
|
*
|
|
69
|
-
* @type {
|
|
69
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
70
70
|
* @memberof LicencesUpdateRequest
|
|
71
71
|
*/
|
|
72
|
-
firstAidAsset?:
|
|
72
|
+
firstAidAsset?: AuthProfileUpdateRequestSignature | null;
|
|
73
73
|
}
|
|
74
74
|
/**
|
|
75
75
|
* @export
|
|
@@ -19,7 +19,7 @@ exports.LicencesUpdateRequestFromJSON = LicencesUpdateRequestFromJSON;
|
|
|
19
19
|
exports.LicencesUpdateRequestFromJSONTyped = LicencesUpdateRequestFromJSONTyped;
|
|
20
20
|
exports.LicencesUpdateRequestToJSON = LicencesUpdateRequestToJSON;
|
|
21
21
|
exports.LicencesUpdateRequestToJSONTyped = LicencesUpdateRequestToJSONTyped;
|
|
22
|
-
var
|
|
22
|
+
var AuthProfileUpdateRequestSignature_1 = require("./AuthProfileUpdateRequestSignature");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
@@ -47,10 +47,10 @@ function LicencesUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
47
47
|
'firstName': json['first_name'] == null ? undefined : json['first_name'],
|
|
48
48
|
'lastName': json['last_name'] == null ? undefined : json['last_name'],
|
|
49
49
|
'expiryDate': json['expiry_date'] == null ? undefined : json['expiry_date'],
|
|
50
|
-
'frontAsset': json['front_asset'] == null ? undefined : (0,
|
|
51
|
-
'backAsset': json['back_asset'] == null ? undefined : (0,
|
|
52
|
-
'rsaAsset': json['rsa_asset'] == null ? undefined : (0,
|
|
53
|
-
'firstAidAsset': json['first_aid_asset'] == null ? undefined : (0,
|
|
50
|
+
'frontAsset': json['front_asset'] == null ? undefined : (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureFromJSON)(json['front_asset']),
|
|
51
|
+
'backAsset': json['back_asset'] == null ? undefined : (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureFromJSON)(json['back_asset']),
|
|
52
|
+
'rsaAsset': json['rsa_asset'] == null ? undefined : (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureFromJSON)(json['rsa_asset']),
|
|
53
|
+
'firstAidAsset': json['first_aid_asset'] == null ? undefined : (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureFromJSON)(json['first_aid_asset']),
|
|
54
54
|
};
|
|
55
55
|
}
|
|
56
56
|
function LicencesUpdateRequestToJSON(json) {
|
|
@@ -67,9 +67,9 @@ function LicencesUpdateRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
67
67
|
'first_name': value['firstName'],
|
|
68
68
|
'last_name': value['lastName'],
|
|
69
69
|
'expiry_date': value['expiryDate'],
|
|
70
|
-
'front_asset': (0,
|
|
71
|
-
'back_asset': (0,
|
|
72
|
-
'rsa_asset': (0,
|
|
73
|
-
'first_aid_asset': (0,
|
|
70
|
+
'front_asset': (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureToJSON)(value['frontAsset']),
|
|
71
|
+
'back_asset': (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureToJSON)(value['backAsset']),
|
|
72
|
+
'rsa_asset': (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureToJSON)(value['rsaAsset']),
|
|
73
|
+
'first_aid_asset': (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureToJSON)(value['firstAidAsset']),
|
|
74
74
|
};
|
|
75
75
|
}
|
|
@@ -71,8 +71,6 @@ function instanceOfRegisterResource(value) {
|
|
|
71
71
|
return false;
|
|
72
72
|
if (!('licenceLastName' in value) || value['licenceLastName'] === undefined)
|
|
73
73
|
return false;
|
|
74
|
-
if (!('badgeNumber' in value) || value['badgeNumber'] === undefined)
|
|
75
|
-
return false;
|
|
76
74
|
return true;
|
|
77
75
|
}
|
|
78
76
|
function RegisterResourceFromJSON(json) {
|
|
@@ -104,7 +102,7 @@ function RegisterResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
104
102
|
'licenceExpiry': json['licenceExpiry'],
|
|
105
103
|
'licenceFirstName': json['licenceFirstName'],
|
|
106
104
|
'licenceLastName': json['licenceLastName'],
|
|
107
|
-
'badgeNumber': json['badgeNumber'],
|
|
105
|
+
'badgeNumber': json['badgeNumber'] == null ? undefined : json['badgeNumber'],
|
|
108
106
|
'rampReadAt': json['rampReadAt'] == null ? undefined : (new Date(json['rampReadAt'])),
|
|
109
107
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
110
108
|
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { AuthProfileUpdateRequestSignature } from './AuthProfileUpdateRequestSignature';
|
|
13
13
|
import type { AuthRegisterGuardRequestProfileSignature } from './AuthRegisterGuardRequestProfileSignature';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
@@ -91,10 +91,10 @@ export interface RegistersCreateRequest {
|
|
|
91
91
|
signOnSignature: AuthRegisterGuardRequestProfileSignature;
|
|
92
92
|
/**
|
|
93
93
|
*
|
|
94
|
-
* @type {
|
|
94
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
95
95
|
* @memberof RegistersCreateRequest
|
|
96
96
|
*/
|
|
97
|
-
signOffSignature?:
|
|
97
|
+
signOffSignature?: AuthProfileUpdateRequestSignature | null;
|
|
98
98
|
}
|
|
99
99
|
/**
|
|
100
100
|
* Check if a given object implements the RegistersCreateRequest interface.
|
|
@@ -18,7 +18,7 @@ exports.RegistersCreateRequestFromJSON = RegistersCreateRequestFromJSON;
|
|
|
18
18
|
exports.RegistersCreateRequestFromJSONTyped = RegistersCreateRequestFromJSONTyped;
|
|
19
19
|
exports.RegistersCreateRequestToJSON = RegistersCreateRequestToJSON;
|
|
20
20
|
exports.RegistersCreateRequestToJSONTyped = RegistersCreateRequestToJSONTyped;
|
|
21
|
-
var
|
|
21
|
+
var AuthProfileUpdateRequestSignature_1 = require("./AuthProfileUpdateRequestSignature");
|
|
22
22
|
var AuthRegisterGuardRequestProfileSignature_1 = require("./AuthRegisterGuardRequestProfileSignature");
|
|
23
23
|
/**
|
|
24
24
|
* Check if a given object implements the RegistersCreateRequest interface.
|
|
@@ -58,7 +58,7 @@ function RegistersCreateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
58
58
|
'rampRead': json['ramp_read'] == null ? undefined : json['ramp_read'],
|
|
59
59
|
'bypassActiveRegisterCheck': json['bypass_active_register_check'] == null ? undefined : json['bypass_active_register_check'],
|
|
60
60
|
'signOnSignature': (0, AuthRegisterGuardRequestProfileSignature_1.AuthRegisterGuardRequestProfileSignatureFromJSON)(json['sign_on_signature']),
|
|
61
|
-
'signOffSignature': json['sign_off_signature'] == null ? undefined : (0,
|
|
61
|
+
'signOffSignature': json['sign_off_signature'] == null ? undefined : (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureFromJSON)(json['sign_off_signature']),
|
|
62
62
|
};
|
|
63
63
|
}
|
|
64
64
|
function RegistersCreateRequestToJSON(json) {
|
|
@@ -82,6 +82,6 @@ function RegistersCreateRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
82
82
|
'ramp_read': value['rampRead'],
|
|
83
83
|
'bypass_active_register_check': value['bypassActiveRegisterCheck'],
|
|
84
84
|
'sign_on_signature': (0, AuthRegisterGuardRequestProfileSignature_1.AuthRegisterGuardRequestProfileSignatureToJSON)(value['signOnSignature']),
|
|
85
|
-
'sign_off_signature': (0,
|
|
85
|
+
'sign_off_signature': (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureToJSON)(value['signOffSignature']),
|
|
86
86
|
};
|
|
87
87
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import type {
|
|
12
|
+
import type { AuthProfileUpdateRequestSignature } from './AuthProfileUpdateRequestSignature';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -84,16 +84,16 @@ export interface RegistersUpdateRequest {
|
|
|
84
84
|
bypassActiveRegisterCheck?: boolean;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
|
-
* @type {
|
|
87
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
88
88
|
* @memberof RegistersUpdateRequest
|
|
89
89
|
*/
|
|
90
|
-
signOnSignature?:
|
|
90
|
+
signOnSignature?: AuthProfileUpdateRequestSignature | null;
|
|
91
91
|
/**
|
|
92
92
|
*
|
|
93
|
-
* @type {
|
|
93
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
94
94
|
* @memberof RegistersUpdateRequest
|
|
95
95
|
*/
|
|
96
|
-
signOffSignature?:
|
|
96
|
+
signOffSignature?: AuthProfileUpdateRequestSignature | null;
|
|
97
97
|
}
|
|
98
98
|
/**
|
|
99
99
|
* @export
|
|
@@ -19,7 +19,7 @@ exports.RegistersUpdateRequestFromJSON = RegistersUpdateRequestFromJSON;
|
|
|
19
19
|
exports.RegistersUpdateRequestFromJSONTyped = RegistersUpdateRequestFromJSONTyped;
|
|
20
20
|
exports.RegistersUpdateRequestToJSON = RegistersUpdateRequestToJSON;
|
|
21
21
|
exports.RegistersUpdateRequestToJSONTyped = RegistersUpdateRequestToJSONTyped;
|
|
22
|
-
var
|
|
22
|
+
var AuthProfileUpdateRequestSignature_1 = require("./AuthProfileUpdateRequestSignature");
|
|
23
23
|
/**
|
|
24
24
|
* @export
|
|
25
25
|
*/
|
|
@@ -53,8 +53,8 @@ function RegistersUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
53
53
|
'signOffLat': json['sign_off_lat'] == null ? undefined : json['sign_off_lat'],
|
|
54
54
|
'signOffLong': json['sign_off_long'] == null ? undefined : json['sign_off_long'],
|
|
55
55
|
'bypassActiveRegisterCheck': json['bypass_active_register_check'] == null ? undefined : json['bypass_active_register_check'],
|
|
56
|
-
'signOnSignature': json['sign_on_signature'] == null ? undefined : (0,
|
|
57
|
-
'signOffSignature': json['sign_off_signature'] == null ? undefined : (0,
|
|
56
|
+
'signOnSignature': json['sign_on_signature'] == null ? undefined : (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureFromJSON)(json['sign_on_signature']),
|
|
57
|
+
'signOffSignature': json['sign_off_signature'] == null ? undefined : (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureFromJSON)(json['sign_off_signature']),
|
|
58
58
|
};
|
|
59
59
|
}
|
|
60
60
|
function RegistersUpdateRequestToJSON(json) {
|
|
@@ -77,7 +77,7 @@ function RegistersUpdateRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
|
77
77
|
'sign_off_lat': value['signOffLat'],
|
|
78
78
|
'sign_off_long': value['signOffLong'],
|
|
79
79
|
'bypass_active_register_check': value['bypassActiveRegisterCheck'],
|
|
80
|
-
'sign_on_signature': (0,
|
|
81
|
-
'sign_off_signature': (0,
|
|
80
|
+
'sign_on_signature': (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureToJSON)(value['signOnSignature']),
|
|
81
|
+
'sign_off_signature': (0, AuthProfileUpdateRequestSignature_1.AuthProfileUpdateRequestSignatureToJSON)(value['signOffSignature']),
|
|
82
82
|
};
|
|
83
83
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -9,6 +9,7 @@ export * from './AssetResourceArrayResponse';
|
|
|
9
9
|
export * from './AuthChangePasswordRequest';
|
|
10
10
|
export * from './AuthLoginWebRequest';
|
|
11
11
|
export * from './AuthProfileUpdateRequest';
|
|
12
|
+
export * from './AuthProfileUpdateRequestSignature';
|
|
12
13
|
export * from './AuthRegisterGuardFileRequest';
|
|
13
14
|
export * from './AuthRegisterGuardRequest';
|
|
14
15
|
export * from './AuthRegisterGuardRequestLicencesInner';
|
|
@@ -75,7 +76,6 @@ export * from './LicencesCheckLogsListRequest';
|
|
|
75
76
|
export * from './LicencesListAllRequest';
|
|
76
77
|
export * from './LicencesListRequest';
|
|
77
78
|
export * from './LicencesStoreRequest';
|
|
78
|
-
export * from './LicencesStoreRequestBackAsset';
|
|
79
79
|
export * from './LicencesUpdateRequest';
|
|
80
80
|
export * from './LicencesVerifyRequest';
|
|
81
81
|
export * from './MobileAppConfigRequest';
|
package/dist/models/index.js
CHANGED
|
@@ -27,6 +27,7 @@ __exportStar(require("./AssetResourceArrayResponse"), exports);
|
|
|
27
27
|
__exportStar(require("./AuthChangePasswordRequest"), exports);
|
|
28
28
|
__exportStar(require("./AuthLoginWebRequest"), exports);
|
|
29
29
|
__exportStar(require("./AuthProfileUpdateRequest"), exports);
|
|
30
|
+
__exportStar(require("./AuthProfileUpdateRequestSignature"), exports);
|
|
30
31
|
__exportStar(require("./AuthRegisterGuardFileRequest"), exports);
|
|
31
32
|
__exportStar(require("./AuthRegisterGuardRequest"), exports);
|
|
32
33
|
__exportStar(require("./AuthRegisterGuardRequestLicencesInner"), exports);
|
|
@@ -93,7 +94,6 @@ __exportStar(require("./LicencesCheckLogsListRequest"), exports);
|
|
|
93
94
|
__exportStar(require("./LicencesListAllRequest"), exports);
|
|
94
95
|
__exportStar(require("./LicencesListRequest"), exports);
|
|
95
96
|
__exportStar(require("./LicencesStoreRequest"), exports);
|
|
96
|
-
__exportStar(require("./LicencesStoreRequestBackAsset"), exports);
|
|
97
97
|
__exportStar(require("./LicencesUpdateRequest"), exports);
|
|
98
98
|
__exportStar(require("./LicencesVerifyRequest"), exports);
|
|
99
99
|
__exportStar(require("./MobileAppConfigRequest"), exports);
|
package/package.json
CHANGED
|
@@ -13,6 +13,14 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
+
import type { AuthProfileUpdateRequestSignature } from './AuthProfileUpdateRequestSignature';
|
|
17
|
+
import {
|
|
18
|
+
AuthProfileUpdateRequestSignatureFromJSON,
|
|
19
|
+
AuthProfileUpdateRequestSignatureFromJSONTyped,
|
|
20
|
+
AuthProfileUpdateRequestSignatureToJSON,
|
|
21
|
+
AuthProfileUpdateRequestSignatureToJSONTyped,
|
|
22
|
+
} from './AuthProfileUpdateRequestSignature';
|
|
23
|
+
|
|
16
24
|
/**
|
|
17
25
|
*
|
|
18
26
|
* @export
|
|
@@ -55,6 +63,18 @@ export interface AuthProfileUpdateRequest {
|
|
|
55
63
|
* @memberof AuthProfileUpdateRequest
|
|
56
64
|
*/
|
|
57
65
|
profileImageAssetId?: number;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
69
|
+
* @memberof AuthProfileUpdateRequest
|
|
70
|
+
*/
|
|
71
|
+
signature?: AuthProfileUpdateRequestSignature | null;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
75
|
+
* @memberof AuthProfileUpdateRequest
|
|
76
|
+
*/
|
|
77
|
+
profileImage?: AuthProfileUpdateRequestSignature | null;
|
|
58
78
|
}
|
|
59
79
|
|
|
60
80
|
/**
|
|
@@ -80,6 +100,8 @@ export function AuthProfileUpdateRequestFromJSONTyped(json: any, ignoreDiscrimin
|
|
|
80
100
|
'mobile': json['mobile'] == null ? undefined : json['mobile'],
|
|
81
101
|
'signatureAssetId': json['signature_asset_id'] == null ? undefined : json['signature_asset_id'],
|
|
82
102
|
'profileImageAssetId': json['profile_image_asset_id'] == null ? undefined : json['profile_image_asset_id'],
|
|
103
|
+
'signature': json['signature'] == null ? undefined : AuthProfileUpdateRequestSignatureFromJSON(json['signature']),
|
|
104
|
+
'profileImage': json['profile_image'] == null ? undefined : AuthProfileUpdateRequestSignatureFromJSON(json['profile_image']),
|
|
83
105
|
};
|
|
84
106
|
}
|
|
85
107
|
|
|
@@ -100,6 +122,8 @@ export function AuthProfileUpdateRequestToJSONTyped(value?: AuthProfileUpdateReq
|
|
|
100
122
|
'mobile': value['mobile'],
|
|
101
123
|
'signature_asset_id': value['signatureAssetId'],
|
|
102
124
|
'profile_image_asset_id': value['profileImageAssetId'],
|
|
125
|
+
'signature': AuthProfileUpdateRequestSignatureToJSON(value['signature']),
|
|
126
|
+
'profile_image': AuthProfileUpdateRequestSignatureToJSON(value['profileImage']),
|
|
103
127
|
};
|
|
104
128
|
}
|
|
105
129
|
|
package/src/models/{LicencesStoreRequestBackAsset.ts → AuthProfileUpdateRequestSignature.ts}
RENAMED
|
@@ -16,47 +16,47 @@ import { mapValues } from '../runtime';
|
|
|
16
16
|
/**
|
|
17
17
|
*
|
|
18
18
|
* @export
|
|
19
|
-
* @interface
|
|
19
|
+
* @interface AuthProfileUpdateRequestSignature
|
|
20
20
|
*/
|
|
21
|
-
export interface
|
|
21
|
+
export interface AuthProfileUpdateRequestSignature {
|
|
22
22
|
/**
|
|
23
23
|
*
|
|
24
24
|
* @type {number}
|
|
25
|
-
* @memberof
|
|
25
|
+
* @memberof AuthProfileUpdateRequestSignature
|
|
26
26
|
*/
|
|
27
27
|
fileId?: number;
|
|
28
28
|
/**
|
|
29
29
|
*
|
|
30
30
|
* @type {string}
|
|
31
|
-
* @memberof
|
|
31
|
+
* @memberof AuthProfileUpdateRequestSignature
|
|
32
32
|
*/
|
|
33
33
|
fileName?: string;
|
|
34
34
|
/**
|
|
35
35
|
*
|
|
36
36
|
* @type {string}
|
|
37
|
-
* @memberof
|
|
37
|
+
* @memberof AuthProfileUpdateRequestSignature
|
|
38
38
|
*/
|
|
39
39
|
mimeType?: string;
|
|
40
40
|
/**
|
|
41
41
|
*
|
|
42
42
|
* @type {string}
|
|
43
|
-
* @memberof
|
|
43
|
+
* @memberof AuthProfileUpdateRequestSignature
|
|
44
44
|
*/
|
|
45
45
|
altText?: string;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* Check if a given object implements the
|
|
49
|
+
* Check if a given object implements the AuthProfileUpdateRequestSignature interface.
|
|
50
50
|
*/
|
|
51
|
-
export function
|
|
51
|
+
export function instanceOfAuthProfileUpdateRequestSignature(value: object): value is AuthProfileUpdateRequestSignature {
|
|
52
52
|
return true;
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
export function
|
|
56
|
-
return
|
|
55
|
+
export function AuthProfileUpdateRequestSignatureFromJSON(json: any): AuthProfileUpdateRequestSignature {
|
|
56
|
+
return AuthProfileUpdateRequestSignatureFromJSONTyped(json, false);
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
-
export function
|
|
59
|
+
export function AuthProfileUpdateRequestSignatureFromJSONTyped(json: any, ignoreDiscriminator: boolean): AuthProfileUpdateRequestSignature {
|
|
60
60
|
if (json == null) {
|
|
61
61
|
return json;
|
|
62
62
|
}
|
|
@@ -69,11 +69,11 @@ export function LicencesStoreRequestBackAssetFromJSONTyped(json: any, ignoreDisc
|
|
|
69
69
|
};
|
|
70
70
|
}
|
|
71
71
|
|
|
72
|
-
export function
|
|
73
|
-
return
|
|
72
|
+
export function AuthProfileUpdateRequestSignatureToJSON(json: any): AuthProfileUpdateRequestSignature {
|
|
73
|
+
return AuthProfileUpdateRequestSignatureToJSONTyped(json, false);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
|
-
export function
|
|
76
|
+
export function AuthProfileUpdateRequestSignatureToJSONTyped(value?: AuthProfileUpdateRequestSignature | null, ignoreDiscriminator: boolean = false): any {
|
|
77
77
|
if (value == null) {
|
|
78
78
|
return value;
|
|
79
79
|
}
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { AuthProfileUpdateRequestSignature } from './AuthProfileUpdateRequestSignature';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
AuthProfileUpdateRequestSignatureFromJSON,
|
|
19
|
+
AuthProfileUpdateRequestSignatureFromJSONTyped,
|
|
20
|
+
AuthProfileUpdateRequestSignatureToJSON,
|
|
21
|
+
AuthProfileUpdateRequestSignatureToJSONTyped,
|
|
22
|
+
} from './AuthProfileUpdateRequestSignature';
|
|
23
23
|
import type { AuthRegisterGuardRequestProfileSignature } from './AuthRegisterGuardRequestProfileSignature';
|
|
24
24
|
import {
|
|
25
25
|
AuthRegisterGuardRequestProfileSignatureFromJSON,
|
|
@@ -78,22 +78,22 @@ export interface LicencesStoreRequest {
|
|
|
78
78
|
frontAsset: AuthRegisterGuardRequestProfileSignature;
|
|
79
79
|
/**
|
|
80
80
|
*
|
|
81
|
-
* @type {
|
|
81
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
82
82
|
* @memberof LicencesStoreRequest
|
|
83
83
|
*/
|
|
84
|
-
backAsset?:
|
|
84
|
+
backAsset?: AuthProfileUpdateRequestSignature | null;
|
|
85
85
|
/**
|
|
86
86
|
*
|
|
87
|
-
* @type {
|
|
87
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
88
88
|
* @memberof LicencesStoreRequest
|
|
89
89
|
*/
|
|
90
|
-
rsaAsset?:
|
|
90
|
+
rsaAsset?: AuthProfileUpdateRequestSignature | null;
|
|
91
91
|
/**
|
|
92
92
|
*
|
|
93
|
-
* @type {
|
|
93
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
94
94
|
* @memberof LicencesStoreRequest
|
|
95
95
|
*/
|
|
96
|
-
firstAidAsset?:
|
|
96
|
+
firstAidAsset?: AuthProfileUpdateRequestSignature | null;
|
|
97
97
|
}
|
|
98
98
|
|
|
99
99
|
|
|
@@ -139,9 +139,9 @@ export function LicencesStoreRequestFromJSONTyped(json: any, ignoreDiscriminator
|
|
|
139
139
|
'lastName': json['last_name'],
|
|
140
140
|
'expiryDate': json['expiry_date'],
|
|
141
141
|
'frontAsset': AuthRegisterGuardRequestProfileSignatureFromJSON(json['front_asset']),
|
|
142
|
-
'backAsset': json['back_asset'] == null ? undefined :
|
|
143
|
-
'rsaAsset': json['rsa_asset'] == null ? undefined :
|
|
144
|
-
'firstAidAsset': json['first_aid_asset'] == null ? undefined :
|
|
142
|
+
'backAsset': json['back_asset'] == null ? undefined : AuthProfileUpdateRequestSignatureFromJSON(json['back_asset']),
|
|
143
|
+
'rsaAsset': json['rsa_asset'] == null ? undefined : AuthProfileUpdateRequestSignatureFromJSON(json['rsa_asset']),
|
|
144
|
+
'firstAidAsset': json['first_aid_asset'] == null ? undefined : AuthProfileUpdateRequestSignatureFromJSON(json['first_aid_asset']),
|
|
145
145
|
};
|
|
146
146
|
}
|
|
147
147
|
|
|
@@ -163,9 +163,9 @@ export function LicencesStoreRequestToJSONTyped(value?: LicencesStoreRequest | n
|
|
|
163
163
|
'last_name': value['lastName'],
|
|
164
164
|
'expiry_date': value['expiryDate'],
|
|
165
165
|
'front_asset': AuthRegisterGuardRequestProfileSignatureToJSON(value['frontAsset']),
|
|
166
|
-
'back_asset':
|
|
167
|
-
'rsa_asset':
|
|
168
|
-
'first_aid_asset':
|
|
166
|
+
'back_asset': AuthProfileUpdateRequestSignatureToJSON(value['backAsset']),
|
|
167
|
+
'rsa_asset': AuthProfileUpdateRequestSignatureToJSON(value['rsaAsset']),
|
|
168
|
+
'first_aid_asset': AuthProfileUpdateRequestSignatureToJSON(value['firstAidAsset']),
|
|
169
169
|
};
|
|
170
170
|
}
|
|
171
171
|
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { AuthProfileUpdateRequestSignature } from './AuthProfileUpdateRequestSignature';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
AuthProfileUpdateRequestSignatureFromJSON,
|
|
19
|
+
AuthProfileUpdateRequestSignatureFromJSONTyped,
|
|
20
|
+
AuthProfileUpdateRequestSignatureToJSON,
|
|
21
|
+
AuthProfileUpdateRequestSignatureToJSONTyped,
|
|
22
|
+
} from './AuthProfileUpdateRequestSignature';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -59,28 +59,28 @@ export interface LicencesUpdateRequest {
|
|
|
59
59
|
expiryDate?: string;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
|
-
* @type {
|
|
62
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
63
63
|
* @memberof LicencesUpdateRequest
|
|
64
64
|
*/
|
|
65
|
-
frontAsset?:
|
|
65
|
+
frontAsset?: AuthProfileUpdateRequestSignature | null;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
|
-
* @type {
|
|
68
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
69
69
|
* @memberof LicencesUpdateRequest
|
|
70
70
|
*/
|
|
71
|
-
backAsset?:
|
|
71
|
+
backAsset?: AuthProfileUpdateRequestSignature | null;
|
|
72
72
|
/**
|
|
73
73
|
*
|
|
74
|
-
* @type {
|
|
74
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
75
75
|
* @memberof LicencesUpdateRequest
|
|
76
76
|
*/
|
|
77
|
-
rsaAsset?:
|
|
77
|
+
rsaAsset?: AuthProfileUpdateRequestSignature | null;
|
|
78
78
|
/**
|
|
79
79
|
*
|
|
80
|
-
* @type {
|
|
80
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
81
81
|
* @memberof LicencesUpdateRequest
|
|
82
82
|
*/
|
|
83
|
-
firstAidAsset?:
|
|
83
|
+
firstAidAsset?: AuthProfileUpdateRequestSignature | null;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
|
|
@@ -117,10 +117,10 @@ export function LicencesUpdateRequestFromJSONTyped(json: any, ignoreDiscriminato
|
|
|
117
117
|
'firstName': json['first_name'] == null ? undefined : json['first_name'],
|
|
118
118
|
'lastName': json['last_name'] == null ? undefined : json['last_name'],
|
|
119
119
|
'expiryDate': json['expiry_date'] == null ? undefined : json['expiry_date'],
|
|
120
|
-
'frontAsset': json['front_asset'] == null ? undefined :
|
|
121
|
-
'backAsset': json['back_asset'] == null ? undefined :
|
|
122
|
-
'rsaAsset': json['rsa_asset'] == null ? undefined :
|
|
123
|
-
'firstAidAsset': json['first_aid_asset'] == null ? undefined :
|
|
120
|
+
'frontAsset': json['front_asset'] == null ? undefined : AuthProfileUpdateRequestSignatureFromJSON(json['front_asset']),
|
|
121
|
+
'backAsset': json['back_asset'] == null ? undefined : AuthProfileUpdateRequestSignatureFromJSON(json['back_asset']),
|
|
122
|
+
'rsaAsset': json['rsa_asset'] == null ? undefined : AuthProfileUpdateRequestSignatureFromJSON(json['rsa_asset']),
|
|
123
|
+
'firstAidAsset': json['first_aid_asset'] == null ? undefined : AuthProfileUpdateRequestSignatureFromJSON(json['first_aid_asset']),
|
|
124
124
|
};
|
|
125
125
|
}
|
|
126
126
|
|
|
@@ -140,10 +140,10 @@ export function LicencesUpdateRequestToJSONTyped(value?: LicencesUpdateRequest |
|
|
|
140
140
|
'first_name': value['firstName'],
|
|
141
141
|
'last_name': value['lastName'],
|
|
142
142
|
'expiry_date': value['expiryDate'],
|
|
143
|
-
'front_asset':
|
|
144
|
-
'back_asset':
|
|
145
|
-
'rsa_asset':
|
|
146
|
-
'first_aid_asset':
|
|
143
|
+
'front_asset': AuthProfileUpdateRequestSignatureToJSON(value['frontAsset']),
|
|
144
|
+
'back_asset': AuthProfileUpdateRequestSignatureToJSON(value['backAsset']),
|
|
145
|
+
'rsa_asset': AuthProfileUpdateRequestSignatureToJSON(value['rsaAsset']),
|
|
146
|
+
'first_aid_asset': AuthProfileUpdateRequestSignatureToJSON(value['firstAidAsset']),
|
|
147
147
|
};
|
|
148
148
|
}
|
|
149
149
|
|
|
@@ -165,7 +165,7 @@ export interface RegisterResource {
|
|
|
165
165
|
* @type {string}
|
|
166
166
|
* @memberof RegisterResource
|
|
167
167
|
*/
|
|
168
|
-
badgeNumber
|
|
168
|
+
badgeNumber?: string | null;
|
|
169
169
|
/**
|
|
170
170
|
*
|
|
171
171
|
* @type {Date}
|
|
@@ -221,7 +221,6 @@ export function instanceOfRegisterResource(value: object): value is RegisterReso
|
|
|
221
221
|
if (!('licenceExpiry' in value) || value['licenceExpiry'] === undefined) return false;
|
|
222
222
|
if (!('licenceFirstName' in value) || value['licenceFirstName'] === undefined) return false;
|
|
223
223
|
if (!('licenceLastName' in value) || value['licenceLastName'] === undefined) return false;
|
|
224
|
-
if (!('badgeNumber' in value) || value['badgeNumber'] === undefined) return false;
|
|
225
224
|
return true;
|
|
226
225
|
}
|
|
227
226
|
|
|
@@ -256,7 +255,7 @@ export function RegisterResourceFromJSONTyped(json: any, ignoreDiscriminator: bo
|
|
|
256
255
|
'licenceExpiry': json['licenceExpiry'],
|
|
257
256
|
'licenceFirstName': json['licenceFirstName'],
|
|
258
257
|
'licenceLastName': json['licenceLastName'],
|
|
259
|
-
'badgeNumber': json['badgeNumber'],
|
|
258
|
+
'badgeNumber': json['badgeNumber'] == null ? undefined : json['badgeNumber'],
|
|
260
259
|
'rampReadAt': json['rampReadAt'] == null ? undefined : (new Date(json['rampReadAt'])),
|
|
261
260
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
262
261
|
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { AuthProfileUpdateRequestSignature } from './AuthProfileUpdateRequestSignature';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
AuthProfileUpdateRequestSignatureFromJSON,
|
|
19
|
+
AuthProfileUpdateRequestSignatureFromJSONTyped,
|
|
20
|
+
AuthProfileUpdateRequestSignatureToJSON,
|
|
21
|
+
AuthProfileUpdateRequestSignatureToJSONTyped,
|
|
22
|
+
} from './AuthProfileUpdateRequestSignature';
|
|
23
23
|
import type { AuthRegisterGuardRequestProfileSignature } from './AuthRegisterGuardRequestProfileSignature';
|
|
24
24
|
import {
|
|
25
25
|
AuthRegisterGuardRequestProfileSignatureFromJSON,
|
|
@@ -108,10 +108,10 @@ export interface RegistersCreateRequest {
|
|
|
108
108
|
signOnSignature: AuthRegisterGuardRequestProfileSignature;
|
|
109
109
|
/**
|
|
110
110
|
*
|
|
111
|
-
* @type {
|
|
111
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
112
112
|
* @memberof RegistersCreateRequest
|
|
113
113
|
*/
|
|
114
|
-
signOffSignature?:
|
|
114
|
+
signOffSignature?: AuthProfileUpdateRequestSignature | null;
|
|
115
115
|
}
|
|
116
116
|
|
|
117
117
|
/**
|
|
@@ -149,7 +149,7 @@ export function RegistersCreateRequestFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
149
149
|
'rampRead': json['ramp_read'] == null ? undefined : json['ramp_read'],
|
|
150
150
|
'bypassActiveRegisterCheck': json['bypass_active_register_check'] == null ? undefined : json['bypass_active_register_check'],
|
|
151
151
|
'signOnSignature': AuthRegisterGuardRequestProfileSignatureFromJSON(json['sign_on_signature']),
|
|
152
|
-
'signOffSignature': json['sign_off_signature'] == null ? undefined :
|
|
152
|
+
'signOffSignature': json['sign_off_signature'] == null ? undefined : AuthProfileUpdateRequestSignatureFromJSON(json['sign_off_signature']),
|
|
153
153
|
};
|
|
154
154
|
}
|
|
155
155
|
|
|
@@ -176,7 +176,7 @@ export function RegistersCreateRequestToJSONTyped(value?: RegistersCreateRequest
|
|
|
176
176
|
'ramp_read': value['rampRead'],
|
|
177
177
|
'bypass_active_register_check': value['bypassActiveRegisterCheck'],
|
|
178
178
|
'sign_on_signature': AuthRegisterGuardRequestProfileSignatureToJSON(value['signOnSignature']),
|
|
179
|
-
'sign_off_signature':
|
|
179
|
+
'sign_off_signature': AuthProfileUpdateRequestSignatureToJSON(value['signOffSignature']),
|
|
180
180
|
};
|
|
181
181
|
}
|
|
182
182
|
|
|
@@ -13,13 +13,13 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { mapValues } from '../runtime';
|
|
16
|
-
import type {
|
|
16
|
+
import type { AuthProfileUpdateRequestSignature } from './AuthProfileUpdateRequestSignature';
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from './
|
|
18
|
+
AuthProfileUpdateRequestSignatureFromJSON,
|
|
19
|
+
AuthProfileUpdateRequestSignatureFromJSONTyped,
|
|
20
|
+
AuthProfileUpdateRequestSignatureToJSON,
|
|
21
|
+
AuthProfileUpdateRequestSignatureToJSONTyped,
|
|
22
|
+
} from './AuthProfileUpdateRequestSignature';
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
*
|
|
@@ -95,16 +95,16 @@ export interface RegistersUpdateRequest {
|
|
|
95
95
|
bypassActiveRegisterCheck?: boolean;
|
|
96
96
|
/**
|
|
97
97
|
*
|
|
98
|
-
* @type {
|
|
98
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
99
99
|
* @memberof RegistersUpdateRequest
|
|
100
100
|
*/
|
|
101
|
-
signOnSignature?:
|
|
101
|
+
signOnSignature?: AuthProfileUpdateRequestSignature | null;
|
|
102
102
|
/**
|
|
103
103
|
*
|
|
104
|
-
* @type {
|
|
104
|
+
* @type {AuthProfileUpdateRequestSignature}
|
|
105
105
|
* @memberof RegistersUpdateRequest
|
|
106
106
|
*/
|
|
107
|
-
signOffSignature?:
|
|
107
|
+
signOffSignature?: AuthProfileUpdateRequestSignature | null;
|
|
108
108
|
}
|
|
109
109
|
|
|
110
110
|
|
|
@@ -147,8 +147,8 @@ export function RegistersUpdateRequestFromJSONTyped(json: any, ignoreDiscriminat
|
|
|
147
147
|
'signOffLat': json['sign_off_lat'] == null ? undefined : json['sign_off_lat'],
|
|
148
148
|
'signOffLong': json['sign_off_long'] == null ? undefined : json['sign_off_long'],
|
|
149
149
|
'bypassActiveRegisterCheck': json['bypass_active_register_check'] == null ? undefined : json['bypass_active_register_check'],
|
|
150
|
-
'signOnSignature': json['sign_on_signature'] == null ? undefined :
|
|
151
|
-
'signOffSignature': json['sign_off_signature'] == null ? undefined :
|
|
150
|
+
'signOnSignature': json['sign_on_signature'] == null ? undefined : AuthProfileUpdateRequestSignatureFromJSON(json['sign_on_signature']),
|
|
151
|
+
'signOffSignature': json['sign_off_signature'] == null ? undefined : AuthProfileUpdateRequestSignatureFromJSON(json['sign_off_signature']),
|
|
152
152
|
};
|
|
153
153
|
}
|
|
154
154
|
|
|
@@ -174,8 +174,8 @@ export function RegistersUpdateRequestToJSONTyped(value?: RegistersUpdateRequest
|
|
|
174
174
|
'sign_off_lat': value['signOffLat'],
|
|
175
175
|
'sign_off_long': value['signOffLong'],
|
|
176
176
|
'bypass_active_register_check': value['bypassActiveRegisterCheck'],
|
|
177
|
-
'sign_on_signature':
|
|
178
|
-
'sign_off_signature':
|
|
177
|
+
'sign_on_signature': AuthProfileUpdateRequestSignatureToJSON(value['signOnSignature']),
|
|
178
|
+
'sign_off_signature': AuthProfileUpdateRequestSignatureToJSON(value['signOffSignature']),
|
|
179
179
|
};
|
|
180
180
|
}
|
|
181
181
|
|
package/src/models/index.ts
CHANGED
|
@@ -11,6 +11,7 @@ export * from './AssetResourceArrayResponse';
|
|
|
11
11
|
export * from './AuthChangePasswordRequest';
|
|
12
12
|
export * from './AuthLoginWebRequest';
|
|
13
13
|
export * from './AuthProfileUpdateRequest';
|
|
14
|
+
export * from './AuthProfileUpdateRequestSignature';
|
|
14
15
|
export * from './AuthRegisterGuardFileRequest';
|
|
15
16
|
export * from './AuthRegisterGuardRequest';
|
|
16
17
|
export * from './AuthRegisterGuardRequestLicencesInner';
|
|
@@ -77,7 +78,6 @@ export * from './LicencesCheckLogsListRequest';
|
|
|
77
78
|
export * from './LicencesListAllRequest';
|
|
78
79
|
export * from './LicencesListRequest';
|
|
79
80
|
export * from './LicencesStoreRequest';
|
|
80
|
-
export * from './LicencesStoreRequestBackAsset';
|
|
81
81
|
export * from './LicencesUpdateRequest';
|
|
82
82
|
export * from './LicencesVerifyRequest';
|
|
83
83
|
export * from './MobileAppConfigRequest';
|
|
@@ -1,50 +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 LicencesStoreRequestBackAsset
|
|
16
|
-
*/
|
|
17
|
-
export interface LicencesStoreRequestBackAsset {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {number}
|
|
21
|
-
* @memberof LicencesStoreRequestBackAsset
|
|
22
|
-
*/
|
|
23
|
-
fileId?: number;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof LicencesStoreRequestBackAsset
|
|
28
|
-
*/
|
|
29
|
-
fileName?: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof LicencesStoreRequestBackAsset
|
|
34
|
-
*/
|
|
35
|
-
mimeType?: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {string}
|
|
39
|
-
* @memberof LicencesStoreRequestBackAsset
|
|
40
|
-
*/
|
|
41
|
-
altText?: string;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the LicencesStoreRequestBackAsset interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfLicencesStoreRequestBackAsset(value: object): value is LicencesStoreRequestBackAsset;
|
|
47
|
-
export declare function LicencesStoreRequestBackAssetFromJSON(json: any): LicencesStoreRequestBackAsset;
|
|
48
|
-
export declare function LicencesStoreRequestBackAssetFromJSONTyped(json: any, ignoreDiscriminator: boolean): LicencesStoreRequestBackAsset;
|
|
49
|
-
export declare function LicencesStoreRequestBackAssetToJSON(json: any): LicencesStoreRequestBackAsset;
|
|
50
|
-
export declare function LicencesStoreRequestBackAssetToJSONTyped(value?: LicencesStoreRequestBackAsset | null, ignoreDiscriminator?: boolean): any;
|