@digital8/security-registers-backend-ts-sdk 0.0.217 → 0.0.219
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 +2 -17
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +3 -142
- package/dist/apis/GeneralApi.js +1 -694
- package/dist/models/LicencesVerifyRequest.d.ts +21 -3
- package/dist/models/LicencesVerifyRequest.js +14 -6
- package/dist/models/RegisterListResource.d.ts +4 -4
- package/dist/models/RegisterListResource.js +7 -4
- package/dist/models/RegisterResource.d.ts +2 -2
- package/dist/models/RegisterResource.js +6 -2
- 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 +3 -4
- package/dist/models/SecurityCompanyResource.d.ts +1 -1
- package/dist/models/SecurityCompanyResource.js +1 -3
- package/dist/models/VerifyLicenceResource.d.ts +44 -0
- package/dist/models/VerifyLicenceResource.js +59 -0
- package/dist/models/VerifyLicenceResourceArrayResponse.d.ts +33 -0
- package/dist/models/VerifyLicenceResourceArrayResponse.js +50 -0
- package/dist/models/index.d.ts +2 -17
- package/dist/models/index.js +2 -17
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +6 -664
- package/src/models/LicencesVerifyRequest.ts +33 -8
- package/src/models/RegisterListResource.ts +9 -7
- package/src/models/RegisterResource.ts +6 -4
- package/src/models/RosterListResource.ts +4 -3
- package/src/models/RosterResource.ts +3 -4
- package/src/models/SecurityCompanyResource.ts +2 -3
- package/src/models/VerifyLicenceResource.ts +84 -0
- package/src/models/VerifyLicenceResourceArrayResponse.ts +73 -0
- package/src/models/index.ts +2 -17
- package/dist/models/IncidentFieldAuditResource.d.ts +0 -56
- package/dist/models/IncidentFieldAuditResource.js +0 -67
- package/dist/models/IncidentFieldAuditResourceArrayResponse.d.ts +0 -33
- package/dist/models/IncidentFieldAuditResourceArrayResponse.js +0 -50
- package/dist/models/IncidentFieldsResourceArrayResponse.d.ts +0 -32
- package/dist/models/IncidentFieldsResourceArrayResponse.js +0 -49
- package/dist/models/IncidentResource.d.ts +0 -118
- package/dist/models/IncidentResource.js +0 -106
- package/dist/models/IncidentResourceArrayResponse.d.ts +0 -33
- package/dist/models/IncidentResourceArrayResponse.js +0 -50
- package/dist/models/IncidentVersionResource.d.ts +0 -57
- package/dist/models/IncidentVersionResource.js +0 -68
- package/dist/models/IncidentVersionResourceArrayResponse.d.ts +0 -33
- package/dist/models/IncidentVersionResourceArrayResponse.js +0 -50
- package/dist/models/IncidentVideoResource.d.ts +0 -74
- package/dist/models/IncidentVideoResource.js +0 -72
- package/dist/models/IncidentVideoResourceArrayResponse.d.ts +0 -33
- package/dist/models/IncidentVideoResourceArrayResponse.js +0 -50
- package/dist/models/IncidentVideoSignedUrlResource.d.ts +0 -32
- package/dist/models/IncidentVideoSignedUrlResource.js +0 -51
- package/dist/models/IncidentVideoSignedUrlResourceArrayResponse.d.ts +0 -33
- package/dist/models/IncidentVideoSignedUrlResourceArrayResponse.js +0 -50
- package/dist/models/IncidentVideoUploadTokenResource.d.ts +0 -50
- package/dist/models/IncidentVideoUploadTokenResource.js +0 -63
- package/dist/models/IncidentVideoUploadTokenResourceArrayResponse.d.ts +0 -33
- package/dist/models/IncidentVideoUploadTokenResourceArrayResponse.js +0 -50
- package/dist/models/IncidentsStoreRequest.d.ts +0 -38
- package/dist/models/IncidentsStoreRequest.js +0 -55
- package/dist/models/IncidentsUpdateRequest.d.ts +0 -32
- package/dist/models/IncidentsUpdateRequest.js +0 -51
- package/dist/models/IncidentsVideosStoreRequest.d.ts +0 -44
- package/dist/models/IncidentsVideosStoreRequest.js +0 -59
- package/dist/models/IncidentsVideosUploadTokenRequest.d.ts +0 -44
- package/dist/models/IncidentsVideosUploadTokenRequest.js +0 -59
- package/src/models/IncidentFieldAuditResource.ts +0 -102
- package/src/models/IncidentFieldAuditResourceArrayResponse.ts +0 -73
- package/src/models/IncidentFieldsResourceArrayResponse.ts +0 -65
- package/src/models/IncidentResource.ts +0 -237
- package/src/models/IncidentResourceArrayResponse.ts +0 -73
- package/src/models/IncidentVersionResource.ts +0 -110
- package/src/models/IncidentVersionResourceArrayResponse.ts +0 -73
- package/src/models/IncidentVideoResource.ts +0 -125
- package/src/models/IncidentVideoResourceArrayResponse.ts +0 -73
- package/src/models/IncidentVideoSignedUrlResource.ts +0 -66
- package/src/models/IncidentVideoSignedUrlResourceArrayResponse.ts +0 -73
- package/src/models/IncidentVideoUploadTokenResource.ts +0 -93
- package/src/models/IncidentVideoUploadTokenResourceArrayResponse.ts +0 -73
- package/src/models/IncidentsStoreRequest.ts +0 -75
- package/src/models/IncidentsUpdateRequest.ts +0 -66
- package/src/models/IncidentsVideosStoreRequest.ts +0 -84
- package/src/models/IncidentsVideosUploadTokenRequest.ts +0 -84
|
@@ -1,55 +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.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
|
-
}
|
|
@@ -1,32 +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 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;
|
|
@@ -1,51 +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.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
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface IncidentsVideosStoreRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface IncidentsVideosStoreRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IncidentsVideosStoreRequest
|
|
22
|
-
*/
|
|
23
|
-
rawBlobPath: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof IncidentsVideosStoreRequest
|
|
28
|
-
*/
|
|
29
|
-
originalFilename: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof IncidentsVideosStoreRequest
|
|
34
|
-
*/
|
|
35
|
-
mimeType: string;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the IncidentsVideosStoreRequest interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfIncidentsVideosStoreRequest(value: object): value is IncidentsVideosStoreRequest;
|
|
41
|
-
export declare function IncidentsVideosStoreRequestFromJSON(json: any): IncidentsVideosStoreRequest;
|
|
42
|
-
export declare function IncidentsVideosStoreRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentsVideosStoreRequest;
|
|
43
|
-
export declare function IncidentsVideosStoreRequestToJSON(json: any): IncidentsVideosStoreRequest;
|
|
44
|
-
export declare function IncidentsVideosStoreRequestToJSONTyped(value?: IncidentsVideosStoreRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,59 +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.instanceOfIncidentsVideosStoreRequest = instanceOfIncidentsVideosStoreRequest;
|
|
17
|
-
exports.IncidentsVideosStoreRequestFromJSON = IncidentsVideosStoreRequestFromJSON;
|
|
18
|
-
exports.IncidentsVideosStoreRequestFromJSONTyped = IncidentsVideosStoreRequestFromJSONTyped;
|
|
19
|
-
exports.IncidentsVideosStoreRequestToJSON = IncidentsVideosStoreRequestToJSON;
|
|
20
|
-
exports.IncidentsVideosStoreRequestToJSONTyped = IncidentsVideosStoreRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the IncidentsVideosStoreRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfIncidentsVideosStoreRequest(value) {
|
|
25
|
-
if (!('rawBlobPath' in value) || value['rawBlobPath'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('originalFilename' in value) || value['originalFilename'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function IncidentsVideosStoreRequestFromJSON(json) {
|
|
34
|
-
return IncidentsVideosStoreRequestFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function IncidentsVideosStoreRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'rawBlobPath': json['raw_blob_path'],
|
|
42
|
-
'originalFilename': json['original_filename'],
|
|
43
|
-
'mimeType': json['mime_type'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function IncidentsVideosStoreRequestToJSON(json) {
|
|
47
|
-
return IncidentsVideosStoreRequestToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function IncidentsVideosStoreRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'raw_blob_path': value['rawBlobPath'],
|
|
56
|
-
'original_filename': value['originalFilename'],
|
|
57
|
-
'mime_type': value['mimeType'],
|
|
58
|
-
};
|
|
59
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface IncidentsVideosUploadTokenRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface IncidentsVideosUploadTokenRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IncidentsVideosUploadTokenRequest
|
|
22
|
-
*/
|
|
23
|
-
filename: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof IncidentsVideosUploadTokenRequest
|
|
28
|
-
*/
|
|
29
|
-
mimeType: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof IncidentsVideosUploadTokenRequest
|
|
34
|
-
*/
|
|
35
|
-
sizeBytes: number;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the IncidentsVideosUploadTokenRequest interface.
|
|
39
|
-
*/
|
|
40
|
-
export declare function instanceOfIncidentsVideosUploadTokenRequest(value: object): value is IncidentsVideosUploadTokenRequest;
|
|
41
|
-
export declare function IncidentsVideosUploadTokenRequestFromJSON(json: any): IncidentsVideosUploadTokenRequest;
|
|
42
|
-
export declare function IncidentsVideosUploadTokenRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentsVideosUploadTokenRequest;
|
|
43
|
-
export declare function IncidentsVideosUploadTokenRequestToJSON(json: any): IncidentsVideosUploadTokenRequest;
|
|
44
|
-
export declare function IncidentsVideosUploadTokenRequestToJSONTyped(value?: IncidentsVideosUploadTokenRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,59 +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.instanceOfIncidentsVideosUploadTokenRequest = instanceOfIncidentsVideosUploadTokenRequest;
|
|
17
|
-
exports.IncidentsVideosUploadTokenRequestFromJSON = IncidentsVideosUploadTokenRequestFromJSON;
|
|
18
|
-
exports.IncidentsVideosUploadTokenRequestFromJSONTyped = IncidentsVideosUploadTokenRequestFromJSONTyped;
|
|
19
|
-
exports.IncidentsVideosUploadTokenRequestToJSON = IncidentsVideosUploadTokenRequestToJSON;
|
|
20
|
-
exports.IncidentsVideosUploadTokenRequestToJSONTyped = IncidentsVideosUploadTokenRequestToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the IncidentsVideosUploadTokenRequest interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfIncidentsVideosUploadTokenRequest(value) {
|
|
25
|
-
if (!('filename' in value) || value['filename'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('mimeType' in value) || value['mimeType'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('sizeBytes' in value) || value['sizeBytes'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
return true;
|
|
32
|
-
}
|
|
33
|
-
function IncidentsVideosUploadTokenRequestFromJSON(json) {
|
|
34
|
-
return IncidentsVideosUploadTokenRequestFromJSONTyped(json, false);
|
|
35
|
-
}
|
|
36
|
-
function IncidentsVideosUploadTokenRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
37
|
-
if (json == null) {
|
|
38
|
-
return json;
|
|
39
|
-
}
|
|
40
|
-
return {
|
|
41
|
-
'filename': json['filename'],
|
|
42
|
-
'mimeType': json['mime_type'],
|
|
43
|
-
'sizeBytes': json['size_bytes'],
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function IncidentsVideosUploadTokenRequestToJSON(json) {
|
|
47
|
-
return IncidentsVideosUploadTokenRequestToJSONTyped(json, false);
|
|
48
|
-
}
|
|
49
|
-
function IncidentsVideosUploadTokenRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
50
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
51
|
-
if (value == null) {
|
|
52
|
-
return value;
|
|
53
|
-
}
|
|
54
|
-
return {
|
|
55
|
-
'filename': value['filename'],
|
|
56
|
-
'mime_type': value['mimeType'],
|
|
57
|
-
'size_bytes': value['sizeBytes'],
|
|
58
|
-
};
|
|
59
|
-
}
|
|
@@ -1,102 +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 IncidentFieldAuditResource
|
|
20
|
-
*/
|
|
21
|
-
export interface IncidentFieldAuditResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof IncidentFieldAuditResource
|
|
26
|
-
*/
|
|
27
|
-
id: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof IncidentFieldAuditResource
|
|
32
|
-
*/
|
|
33
|
-
sectionKey: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof IncidentFieldAuditResource
|
|
38
|
-
*/
|
|
39
|
-
fieldKey: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof IncidentFieldAuditResource
|
|
44
|
-
*/
|
|
45
|
-
previousValue: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {object}
|
|
49
|
-
* @memberof IncidentFieldAuditResource
|
|
50
|
-
*/
|
|
51
|
-
changedAt: object;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the IncidentFieldAuditResource interface.
|
|
56
|
-
*/
|
|
57
|
-
export function instanceOfIncidentFieldAuditResource(value: object): value is IncidentFieldAuditResource {
|
|
58
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
59
|
-
if (!('sectionKey' in value) || value['sectionKey'] === undefined) return false;
|
|
60
|
-
if (!('fieldKey' in value) || value['fieldKey'] === undefined) return false;
|
|
61
|
-
if (!('previousValue' in value) || value['previousValue'] === undefined) return false;
|
|
62
|
-
if (!('changedAt' in value) || value['changedAt'] === undefined) return false;
|
|
63
|
-
return true;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function IncidentFieldAuditResourceFromJSON(json: any): IncidentFieldAuditResource {
|
|
67
|
-
return IncidentFieldAuditResourceFromJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function IncidentFieldAuditResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentFieldAuditResource {
|
|
71
|
-
if (json == null) {
|
|
72
|
-
return json;
|
|
73
|
-
}
|
|
74
|
-
return {
|
|
75
|
-
|
|
76
|
-
'id': json['id'],
|
|
77
|
-
'sectionKey': json['sectionKey'],
|
|
78
|
-
'fieldKey': json['fieldKey'],
|
|
79
|
-
'previousValue': json['previousValue'],
|
|
80
|
-
'changedAt': json['changedAt'],
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export function IncidentFieldAuditResourceToJSON(json: any): IncidentFieldAuditResource {
|
|
85
|
-
return IncidentFieldAuditResourceToJSONTyped(json, false);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export function IncidentFieldAuditResourceToJSONTyped(value?: IncidentFieldAuditResource | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
-
if (value == null) {
|
|
90
|
-
return value;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
return {
|
|
94
|
-
|
|
95
|
-
'id': value['id'],
|
|
96
|
-
'sectionKey': value['sectionKey'],
|
|
97
|
-
'fieldKey': value['fieldKey'],
|
|
98
|
-
'previousValue': value['previousValue'],
|
|
99
|
-
'changedAt': value['changedAt'],
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { IncidentFieldAuditResource } from './IncidentFieldAuditResource';
|
|
17
|
-
import {
|
|
18
|
-
IncidentFieldAuditResourceFromJSON,
|
|
19
|
-
IncidentFieldAuditResourceFromJSONTyped,
|
|
20
|
-
IncidentFieldAuditResourceToJSON,
|
|
21
|
-
IncidentFieldAuditResourceToJSONTyped,
|
|
22
|
-
} from './IncidentFieldAuditResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface IncidentFieldAuditResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface IncidentFieldAuditResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<IncidentFieldAuditResource>}
|
|
33
|
-
* @memberof IncidentFieldAuditResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<IncidentFieldAuditResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the IncidentFieldAuditResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfIncidentFieldAuditResourceArrayResponse(value: object): value is IncidentFieldAuditResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function IncidentFieldAuditResourceArrayResponseFromJSON(json: any): IncidentFieldAuditResourceArrayResponse {
|
|
46
|
-
return IncidentFieldAuditResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function IncidentFieldAuditResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentFieldAuditResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(IncidentFieldAuditResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function IncidentFieldAuditResourceArrayResponseToJSON(json: any): IncidentFieldAuditResourceArrayResponse {
|
|
60
|
-
return IncidentFieldAuditResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function IncidentFieldAuditResourceArrayResponseToJSONTyped(value?: IncidentFieldAuditResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(IncidentFieldAuditResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,65 +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 IncidentFieldsResourceArrayResponse
|
|
20
|
-
*/
|
|
21
|
-
export interface IncidentFieldsResourceArrayResponse {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {Array<object>}
|
|
25
|
-
* @memberof IncidentFieldsResourceArrayResponse
|
|
26
|
-
*/
|
|
27
|
-
data?: Array<object>;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the IncidentFieldsResourceArrayResponse interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfIncidentFieldsResourceArrayResponse(value: object): value is IncidentFieldsResourceArrayResponse {
|
|
34
|
-
return true;
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
export function IncidentFieldsResourceArrayResponseFromJSON(json: any): IncidentFieldsResourceArrayResponse {
|
|
38
|
-
return IncidentFieldsResourceArrayResponseFromJSONTyped(json, false);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
export function IncidentFieldsResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentFieldsResourceArrayResponse {
|
|
42
|
-
if (json == null) {
|
|
43
|
-
return json;
|
|
44
|
-
}
|
|
45
|
-
return {
|
|
46
|
-
|
|
47
|
-
'data': json['data'] == null ? undefined : json['data'],
|
|
48
|
-
};
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
export function IncidentFieldsResourceArrayResponseToJSON(json: any): IncidentFieldsResourceArrayResponse {
|
|
52
|
-
return IncidentFieldsResourceArrayResponseToJSONTyped(json, false);
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
export function IncidentFieldsResourceArrayResponseToJSONTyped(value?: IncidentFieldsResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
56
|
-
if (value == null) {
|
|
57
|
-
return value;
|
|
58
|
-
}
|
|
59
|
-
|
|
60
|
-
return {
|
|
61
|
-
|
|
62
|
-
'data': value['data'],
|
|
63
|
-
};
|
|
64
|
-
}
|
|
65
|
-
|