@digital8/security-registers-backend-ts-sdk 0.0.169 → 0.0.171
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 +8 -0
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +80 -1
- package/dist/apis/GeneralApi.js +397 -0
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +3 -1
- package/dist/models/AssetResource.d.ts +1 -1
- package/dist/models/AssetResource.js +3 -1
- package/dist/models/IncidentFieldSchemaResource.d.ts +56 -0
- package/dist/models/IncidentFieldSchemaResource.js +62 -0
- package/dist/models/IncidentFieldSchemaResourceArrayResponse.d.ts +33 -0
- package/dist/models/IncidentFieldSchemaResourceArrayResponse.js +50 -0
- package/dist/models/IncidentResource.d.ts +125 -0
- package/dist/models/IncidentResource.js +95 -0
- package/dist/models/IncidentResourceArrayResponse.d.ts +33 -0
- package/dist/models/IncidentResourceArrayResponse.js +50 -0
- package/dist/models/IncidentVersionResource.d.ts +69 -0
- package/dist/models/IncidentVersionResource.js +72 -0
- package/dist/models/IncidentVersionResourceArrayResponse.d.ts +33 -0
- package/dist/models/IncidentVersionResourceArrayResponse.js +50 -0
- package/dist/models/IncidentsStoreRequest.d.ts +38 -0
- package/dist/models/IncidentsStoreRequest.js +55 -0
- package/dist/models/IncidentsUpdateRequest.d.ts +32 -0
- package/dist/models/IncidentsUpdateRequest.js +51 -0
- 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 +3 -4
- package/dist/models/RosterResource.d.ts +1 -1
- package/dist/models/RosterResource.js +3 -4
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.d.ts +8 -8
- package/dist/models/UsersCreateWithRoleRequestLicencesInner.js +9 -9
- package/dist/models/index.d.ts +8 -0
- package/dist/models/index.js +8 -0
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +363 -0
- package/src/models/AddressResource.ts +3 -2
- package/src/models/AssetResource.ts +3 -2
- package/src/models/IncidentFieldSchemaResource.ts +99 -0
- package/src/models/IncidentFieldSchemaResourceArrayResponse.ts +73 -0
- package/src/models/IncidentResource.ts +213 -0
- package/src/models/IncidentResourceArrayResponse.ts +73 -0
- package/src/models/IncidentVersionResource.ts +126 -0
- package/src/models/IncidentVersionResourceArrayResponse.ts +73 -0
- package/src/models/IncidentsStoreRequest.ts +75 -0
- package/src/models/IncidentsUpdateRequest.ts +66 -0
- package/src/models/RegisterResource.ts +3 -2
- package/src/models/RosterListResource.ts +3 -4
- package/src/models/RosterResource.ts +3 -4
- package/src/models/UsersCreateWithRoleRequestLicencesInner.ts +17 -17
- package/src/models/index.ts +8 -0
|
@@ -0,0 +1,38 @@
|
|
|
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 IncidentsStoreRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface IncidentsStoreRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof IncidentsStoreRequest
|
|
22
|
+
*/
|
|
23
|
+
venueId: number;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof IncidentsStoreRequest
|
|
28
|
+
*/
|
|
29
|
+
fields: Array<string>;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Check if a given object implements the IncidentsStoreRequest interface.
|
|
33
|
+
*/
|
|
34
|
+
export declare function instanceOfIncidentsStoreRequest(value: object): value is IncidentsStoreRequest;
|
|
35
|
+
export declare function IncidentsStoreRequestFromJSON(json: any): IncidentsStoreRequest;
|
|
36
|
+
export declare function IncidentsStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentsStoreRequest;
|
|
37
|
+
export declare function IncidentsStoreRequestToJSON(json: any): IncidentsStoreRequest;
|
|
38
|
+
export declare function IncidentsStoreRequestToJSONTyped(value?: IncidentsStoreRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,55 @@
|
|
|
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.instanceOfIncidentsStoreRequest = instanceOfIncidentsStoreRequest;
|
|
17
|
+
exports.IncidentsStoreRequestFromJSON = IncidentsStoreRequestFromJSON;
|
|
18
|
+
exports.IncidentsStoreRequestFromJSONTyped = IncidentsStoreRequestFromJSONTyped;
|
|
19
|
+
exports.IncidentsStoreRequestToJSON = IncidentsStoreRequestToJSON;
|
|
20
|
+
exports.IncidentsStoreRequestToJSONTyped = IncidentsStoreRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the IncidentsStoreRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfIncidentsStoreRequest(value) {
|
|
25
|
+
if (!('venueId' in value) || value['venueId'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
if (!('fields' in value) || value['fields'] === undefined)
|
|
28
|
+
return false;
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
function IncidentsStoreRequestFromJSON(json) {
|
|
32
|
+
return IncidentsStoreRequestFromJSONTyped(json, false);
|
|
33
|
+
}
|
|
34
|
+
function IncidentsStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
35
|
+
if (json == null) {
|
|
36
|
+
return json;
|
|
37
|
+
}
|
|
38
|
+
return {
|
|
39
|
+
'venueId': json['venue_id'],
|
|
40
|
+
'fields': json['fields'],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
function IncidentsStoreRequestToJSON(json) {
|
|
44
|
+
return IncidentsStoreRequestToJSONTyped(json, false);
|
|
45
|
+
}
|
|
46
|
+
function IncidentsStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
47
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
48
|
+
if (value == null) {
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
return {
|
|
52
|
+
'venue_id': value['venueId'],
|
|
53
|
+
'fields': value['fields'],
|
|
54
|
+
};
|
|
55
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
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 IncidentsUpdateRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface IncidentsUpdateRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {Array<string>}
|
|
21
|
+
* @memberof IncidentsUpdateRequest
|
|
22
|
+
*/
|
|
23
|
+
fields: Array<string>;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Check if a given object implements the IncidentsUpdateRequest interface.
|
|
27
|
+
*/
|
|
28
|
+
export declare function instanceOfIncidentsUpdateRequest(value: object): value is IncidentsUpdateRequest;
|
|
29
|
+
export declare function IncidentsUpdateRequestFromJSON(json: any): IncidentsUpdateRequest;
|
|
30
|
+
export declare function IncidentsUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentsUpdateRequest;
|
|
31
|
+
export declare function IncidentsUpdateRequestToJSON(json: any): IncidentsUpdateRequest;
|
|
32
|
+
export declare function IncidentsUpdateRequestToJSONTyped(value?: IncidentsUpdateRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -0,0 +1,51 @@
|
|
|
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.instanceOfIncidentsUpdateRequest = instanceOfIncidentsUpdateRequest;
|
|
17
|
+
exports.IncidentsUpdateRequestFromJSON = IncidentsUpdateRequestFromJSON;
|
|
18
|
+
exports.IncidentsUpdateRequestFromJSONTyped = IncidentsUpdateRequestFromJSONTyped;
|
|
19
|
+
exports.IncidentsUpdateRequestToJSON = IncidentsUpdateRequestToJSON;
|
|
20
|
+
exports.IncidentsUpdateRequestToJSONTyped = IncidentsUpdateRequestToJSONTyped;
|
|
21
|
+
/**
|
|
22
|
+
* Check if a given object implements the IncidentsUpdateRequest interface.
|
|
23
|
+
*/
|
|
24
|
+
function instanceOfIncidentsUpdateRequest(value) {
|
|
25
|
+
if (!('fields' in value) || value['fields'] === undefined)
|
|
26
|
+
return false;
|
|
27
|
+
return true;
|
|
28
|
+
}
|
|
29
|
+
function IncidentsUpdateRequestFromJSON(json) {
|
|
30
|
+
return IncidentsUpdateRequestFromJSONTyped(json, false);
|
|
31
|
+
}
|
|
32
|
+
function IncidentsUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
33
|
+
if (json == null) {
|
|
34
|
+
return json;
|
|
35
|
+
}
|
|
36
|
+
return {
|
|
37
|
+
'fields': json['fields'],
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
function IncidentsUpdateRequestToJSON(json) {
|
|
41
|
+
return IncidentsUpdateRequestToJSONTyped(json, false);
|
|
42
|
+
}
|
|
43
|
+
function IncidentsUpdateRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
44
|
+
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
45
|
+
if (value == null) {
|
|
46
|
+
return value;
|
|
47
|
+
}
|
|
48
|
+
return {
|
|
49
|
+
'fields': value['fields'],
|
|
50
|
+
};
|
|
51
|
+
}
|
|
@@ -60,6 +60,8 @@ function instanceOfRegisterResource(value) {
|
|
|
60
60
|
return false;
|
|
61
61
|
if (!('licenceLastName' in value) || value['licenceLastName'] === undefined)
|
|
62
62
|
return false;
|
|
63
|
+
if (!('badgeNumber' in value) || value['badgeNumber'] === undefined)
|
|
64
|
+
return false;
|
|
63
65
|
return true;
|
|
64
66
|
}
|
|
65
67
|
function RegisterResourceFromJSON(json) {
|
|
@@ -90,7 +92,7 @@ function RegisterResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
90
92
|
'licenceExpiry': json['licenceExpiry'],
|
|
91
93
|
'licenceFirstName': json['licenceFirstName'],
|
|
92
94
|
'licenceLastName': json['licenceLastName'],
|
|
93
|
-
'badgeNumber': json['badgeNumber']
|
|
95
|
+
'badgeNumber': json['badgeNumber'],
|
|
94
96
|
'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
|
|
95
97
|
'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
|
|
96
98
|
};
|
|
@@ -30,8 +30,6 @@ function instanceOfRosterListResource(value) {
|
|
|
30
30
|
return false;
|
|
31
31
|
if (!('startDateTime' in value) || value['startDateTime'] === undefined)
|
|
32
32
|
return false;
|
|
33
|
-
if (!('finishDateTime' in value) || value['finishDateTime'] === undefined)
|
|
34
|
-
return false;
|
|
35
33
|
if (!('isCompliant' in value) || value['isCompliant'] === undefined)
|
|
36
34
|
return false;
|
|
37
35
|
if (!('isComplete' in value) || value['isComplete'] === undefined)
|
|
@@ -54,7 +52,7 @@ function RosterListResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
54
52
|
'venue': (0, VenueLiteResource_1.VenueLiteResourceFromJSON)(json['venue']),
|
|
55
53
|
'securityCompany': (0, SecurityCompanyLiteResource_1.SecurityCompanyLiteResourceFromJSON)(json['securityCompany']),
|
|
56
54
|
'startDateTime': (new Date(json['startDateTime'])),
|
|
57
|
-
'finishDateTime': (new Date(json['finishDateTime'])),
|
|
55
|
+
'finishDateTime': json['finishDateTime'] == null ? undefined : (new Date(json['finishDateTime'])),
|
|
58
56
|
'isCompliant': json['isCompliant'],
|
|
59
57
|
'isComplete': json['isComplete'],
|
|
60
58
|
'signOffStatus': json['signOffStatus'],
|
|
@@ -65,6 +63,7 @@ function RosterListResourceToJSON(json) {
|
|
|
65
63
|
return RosterListResourceToJSONTyped(json, false);
|
|
66
64
|
}
|
|
67
65
|
function RosterListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
66
|
+
var _a;
|
|
68
67
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
69
68
|
if (value == null) {
|
|
70
69
|
return value;
|
|
@@ -74,7 +73,7 @@ function RosterListResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
74
73
|
'venue': (0, VenueLiteResource_1.VenueLiteResourceToJSON)(value['venue']),
|
|
75
74
|
'securityCompany': (0, SecurityCompanyLiteResource_1.SecurityCompanyLiteResourceToJSON)(value['securityCompany']),
|
|
76
75
|
'startDateTime': ((value['startDateTime']).toISOString()),
|
|
77
|
-
'finishDateTime': ((value['finishDateTime']).toISOString()),
|
|
76
|
+
'finishDateTime': value['finishDateTime'] === null ? null : ((_a = value['finishDateTime']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
78
77
|
'isCompliant': value['isCompliant'],
|
|
79
78
|
'isComplete': value['isComplete'],
|
|
80
79
|
'signOffStatus': value['signOffStatus'],
|
|
@@ -31,8 +31,6 @@ function instanceOfRosterResource(value) {
|
|
|
31
31
|
return false;
|
|
32
32
|
if (!('startDateTime' in value) || value['startDateTime'] === undefined)
|
|
33
33
|
return false;
|
|
34
|
-
if (!('finishDateTime' in value) || value['finishDateTime'] === undefined)
|
|
35
|
-
return false;
|
|
36
34
|
if (!('isCompliant' in value) || value['isCompliant'] === undefined)
|
|
37
35
|
return false;
|
|
38
36
|
if (!('isComplete' in value) || value['isComplete'] === undefined)
|
|
@@ -55,7 +53,7 @@ function RosterResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
55
53
|
'venue': (0, VenueLiteResource_1.VenueLiteResourceFromJSON)(json['venue']),
|
|
56
54
|
'securityCompany': (0, SecurityCompanyLiteResource_1.SecurityCompanyLiteResourceFromJSON)(json['securityCompany']),
|
|
57
55
|
'startDateTime': (new Date(json['startDateTime'])),
|
|
58
|
-
'finishDateTime': (new Date(json['finishDateTime'])),
|
|
56
|
+
'finishDateTime': json['finishDateTime'] == null ? undefined : (new Date(json['finishDateTime'])),
|
|
59
57
|
'isCompliant': json['isCompliant'],
|
|
60
58
|
'isComplete': json['isComplete'],
|
|
61
59
|
'signOffStatus': json['signOffStatus'],
|
|
@@ -66,6 +64,7 @@ function RosterResourceToJSON(json) {
|
|
|
66
64
|
return RosterResourceToJSONTyped(json, false);
|
|
67
65
|
}
|
|
68
66
|
function RosterResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
67
|
+
var _a;
|
|
69
68
|
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
70
69
|
if (value == null) {
|
|
71
70
|
return value;
|
|
@@ -75,7 +74,7 @@ function RosterResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
|
75
74
|
'venue': (0, VenueLiteResource_1.VenueLiteResourceToJSON)(value['venue']),
|
|
76
75
|
'securityCompany': (0, SecurityCompanyLiteResource_1.SecurityCompanyLiteResourceToJSON)(value['securityCompany']),
|
|
77
76
|
'startDateTime': ((value['startDateTime']).toISOString()),
|
|
78
|
-
'finishDateTime': ((value['finishDateTime']).toISOString()),
|
|
77
|
+
'finishDateTime': value['finishDateTime'] === null ? null : ((_a = value['finishDateTime']) === null || _a === void 0 ? void 0 : _a.toISOString()),
|
|
79
78
|
'isCompliant': value['isCompliant'],
|
|
80
79
|
'isComplete': value['isComplete'],
|
|
81
80
|
'signOffStatus': value['signOffStatus'],
|
|
@@ -47,28 +47,28 @@ export interface UsersCreateWithRoleRequestLicencesInner {
|
|
|
47
47
|
expiryDate: Date;
|
|
48
48
|
/**
|
|
49
49
|
*
|
|
50
|
-
* @type {
|
|
50
|
+
* @type {number}
|
|
51
51
|
* @memberof UsersCreateWithRoleRequestLicencesInner
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
frontAssetId: number;
|
|
54
54
|
/**
|
|
55
55
|
*
|
|
56
|
-
* @type {
|
|
56
|
+
* @type {number}
|
|
57
57
|
* @memberof UsersCreateWithRoleRequestLicencesInner
|
|
58
58
|
*/
|
|
59
|
-
|
|
59
|
+
backAssetId?: number;
|
|
60
60
|
/**
|
|
61
61
|
*
|
|
62
|
-
* @type {
|
|
62
|
+
* @type {number}
|
|
63
63
|
* @memberof UsersCreateWithRoleRequestLicencesInner
|
|
64
64
|
*/
|
|
65
|
-
|
|
65
|
+
rsaAssetId?: number;
|
|
66
66
|
/**
|
|
67
67
|
*
|
|
68
|
-
* @type {
|
|
68
|
+
* @type {number}
|
|
69
69
|
* @memberof UsersCreateWithRoleRequestLicencesInner
|
|
70
70
|
*/
|
|
71
|
-
|
|
71
|
+
firstAidAssetId?: number;
|
|
72
72
|
}
|
|
73
73
|
/**
|
|
74
74
|
* @export
|
|
@@ -46,7 +46,7 @@ function instanceOfUsersCreateWithRoleRequestLicencesInner(value) {
|
|
|
46
46
|
return false;
|
|
47
47
|
if (!('expiryDate' in value) || value['expiryDate'] === undefined)
|
|
48
48
|
return false;
|
|
49
|
-
if (!('
|
|
49
|
+
if (!('frontAssetId' in value) || value['frontAssetId'] === undefined)
|
|
50
50
|
return false;
|
|
51
51
|
return true;
|
|
52
52
|
}
|
|
@@ -63,10 +63,10 @@ function UsersCreateWithRoleRequestLicencesInnerFromJSONTyped(json, ignoreDiscri
|
|
|
63
63
|
'firstName': json['first_name'],
|
|
64
64
|
'lastName': json['last_name'],
|
|
65
65
|
'expiryDate': (new Date(json['expiry_date'])),
|
|
66
|
-
'
|
|
67
|
-
'
|
|
68
|
-
'
|
|
69
|
-
'
|
|
66
|
+
'frontAssetId': json['front_asset_id'],
|
|
67
|
+
'backAssetId': json['back_asset_id'] == null ? undefined : json['back_asset_id'],
|
|
68
|
+
'rsaAssetId': json['rsa_asset_id'] == null ? undefined : json['rsa_asset_id'],
|
|
69
|
+
'firstAidAssetId': json['first_aid_asset_id'] == null ? undefined : json['first_aid_asset_id'],
|
|
70
70
|
};
|
|
71
71
|
}
|
|
72
72
|
function UsersCreateWithRoleRequestLicencesInnerToJSON(json) {
|
|
@@ -83,9 +83,9 @@ function UsersCreateWithRoleRequestLicencesInnerToJSONTyped(value, ignoreDiscrim
|
|
|
83
83
|
'first_name': value['firstName'],
|
|
84
84
|
'last_name': value['lastName'],
|
|
85
85
|
'expiry_date': ((value['expiryDate']).toISOString()),
|
|
86
|
-
'
|
|
87
|
-
'
|
|
88
|
-
'
|
|
89
|
-
'
|
|
86
|
+
'front_asset_id': value['frontAssetId'],
|
|
87
|
+
'back_asset_id': value['backAssetId'],
|
|
88
|
+
'rsa_asset_id': value['rsaAssetId'],
|
|
89
|
+
'first_aid_asset_id': value['firstAidAssetId'],
|
|
90
90
|
};
|
|
91
91
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -9,6 +9,14 @@ export * from './AssetResourceArrayResponse';
|
|
|
9
9
|
export * from './CurrentRegisterResource';
|
|
10
10
|
export * from './CurrentRegisterResourceArrayResponse';
|
|
11
11
|
export * from './GenericResponse';
|
|
12
|
+
export * from './IncidentFieldSchemaResource';
|
|
13
|
+
export * from './IncidentFieldSchemaResourceArrayResponse';
|
|
14
|
+
export * from './IncidentResource';
|
|
15
|
+
export * from './IncidentResourceArrayResponse';
|
|
16
|
+
export * from './IncidentVersionResource';
|
|
17
|
+
export * from './IncidentVersionResourceArrayResponse';
|
|
18
|
+
export * from './IncidentsStoreRequest';
|
|
19
|
+
export * from './IncidentsUpdateRequest';
|
|
12
20
|
export * from './IndexMinimalUserRequest';
|
|
13
21
|
export * from './IndexUserRequest';
|
|
14
22
|
export * from './LicenceListResource';
|
package/dist/models/index.js
CHANGED
|
@@ -27,6 +27,14 @@ __exportStar(require("./AssetResourceArrayResponse"), exports);
|
|
|
27
27
|
__exportStar(require("./CurrentRegisterResource"), exports);
|
|
28
28
|
__exportStar(require("./CurrentRegisterResourceArrayResponse"), exports);
|
|
29
29
|
__exportStar(require("./GenericResponse"), exports);
|
|
30
|
+
__exportStar(require("./IncidentFieldSchemaResource"), exports);
|
|
31
|
+
__exportStar(require("./IncidentFieldSchemaResourceArrayResponse"), exports);
|
|
32
|
+
__exportStar(require("./IncidentResource"), exports);
|
|
33
|
+
__exportStar(require("./IncidentResourceArrayResponse"), exports);
|
|
34
|
+
__exportStar(require("./IncidentVersionResource"), exports);
|
|
35
|
+
__exportStar(require("./IncidentVersionResourceArrayResponse"), exports);
|
|
36
|
+
__exportStar(require("./IncidentsStoreRequest"), exports);
|
|
37
|
+
__exportStar(require("./IncidentsUpdateRequest"), exports);
|
|
30
38
|
__exportStar(require("./IndexMinimalUserRequest"), exports);
|
|
31
39
|
__exportStar(require("./IndexUserRequest"), exports);
|
|
32
40
|
__exportStar(require("./LicenceListResource"), exports);
|
package/package.json
CHANGED