@digital8/security-registers-backend-ts-sdk 0.0.251 → 0.0.253
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +0 -12
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +1 -83
- package/dist/apis/GeneralApi.js +0 -407
- package/dist/models/AddressResource.d.ts +1 -1
- package/dist/models/AddressResource.js +3 -1
- package/dist/models/IncidentResource.d.ts +0 -13
- package/dist/models/IncidentResource.js +0 -7
- package/dist/models/RegisterGroupedByRosterResource.d.ts +1 -1
- package/dist/models/RegisterGroupedByRosterResource.js +4 -3
- package/dist/models/RegisterListResource.d.ts +3 -3
- package/dist/models/RegisterListResource.js +7 -5
- package/dist/models/RegisterResource.d.ts +2 -2
- package/dist/models/RegisterResource.js +3 -3
- package/dist/models/RosterListResource.d.ts +1 -1
- package/dist/models/RosterListResource.js +4 -3
- package/dist/models/index.d.ts +0 -12
- package/dist/models/index.js +0 -12
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +0 -394
- package/src/models/AddressResource.ts +3 -2
- package/src/models/IncidentResource.ts +0 -24
- package/src/models/RegisterGroupedByRosterResource.ts +4 -3
- package/src/models/RegisterListResource.ts +8 -7
- package/src/models/RegisterResource.ts +5 -5
- package/src/models/RosterListResource.ts +4 -3
- package/src/models/index.ts +0 -12
- package/dist/models/IncidentListResource.d.ts +0 -95
- package/dist/models/IncidentListResource.js +0 -75
- package/dist/models/IncidentListResourceArrayResponse.d.ts +0 -33
- package/dist/models/IncidentListResourceArrayResponse.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/IncidentsListRequest.d.ts +0 -151
- package/dist/models/IncidentsListRequest.js +0 -99
- 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/dist/models/PaginatedIncidentListResourceResponse.d.ts +0 -40
- package/dist/models/PaginatedIncidentListResourceResponse.js +0 -57
- package/src/models/IncidentListResource.ts +0 -168
- package/src/models/IncidentListResourceArrayResponse.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/IncidentsListRequest.ts +0 -222
- package/src/models/IncidentsVideosStoreRequest.ts +0 -84
- package/src/models/IncidentsVideosUploadTokenRequest.ts +0 -84
- package/src/models/PaginatedIncidentListResourceResponse.ts +0 -90
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { IncidentVideoSignedUrlResource } from './IncidentVideoSignedUrlResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface IncidentVideoSignedUrlResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface IncidentVideoSignedUrlResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<IncidentVideoSignedUrlResource>}
|
|
22
|
-
* @memberof IncidentVideoSignedUrlResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<IncidentVideoSignedUrlResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the IncidentVideoSignedUrlResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfIncidentVideoSignedUrlResourceArrayResponse(value: object): value is IncidentVideoSignedUrlResourceArrayResponse;
|
|
30
|
-
export declare function IncidentVideoSignedUrlResourceArrayResponseFromJSON(json: any): IncidentVideoSignedUrlResourceArrayResponse;
|
|
31
|
-
export declare function IncidentVideoSignedUrlResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentVideoSignedUrlResourceArrayResponse;
|
|
32
|
-
export declare function IncidentVideoSignedUrlResourceArrayResponseToJSON(json: any): IncidentVideoSignedUrlResourceArrayResponse;
|
|
33
|
-
export declare function IncidentVideoSignedUrlResourceArrayResponseToJSONTyped(value?: IncidentVideoSignedUrlResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfIncidentVideoSignedUrlResourceArrayResponse = instanceOfIncidentVideoSignedUrlResourceArrayResponse;
|
|
17
|
-
exports.IncidentVideoSignedUrlResourceArrayResponseFromJSON = IncidentVideoSignedUrlResourceArrayResponseFromJSON;
|
|
18
|
-
exports.IncidentVideoSignedUrlResourceArrayResponseFromJSONTyped = IncidentVideoSignedUrlResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.IncidentVideoSignedUrlResourceArrayResponseToJSON = IncidentVideoSignedUrlResourceArrayResponseToJSON;
|
|
20
|
-
exports.IncidentVideoSignedUrlResourceArrayResponseToJSONTyped = IncidentVideoSignedUrlResourceArrayResponseToJSONTyped;
|
|
21
|
-
var IncidentVideoSignedUrlResource_1 = require("./IncidentVideoSignedUrlResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the IncidentVideoSignedUrlResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfIncidentVideoSignedUrlResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function IncidentVideoSignedUrlResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return IncidentVideoSignedUrlResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function IncidentVideoSignedUrlResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(IncidentVideoSignedUrlResource_1.IncidentVideoSignedUrlResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function IncidentVideoSignedUrlResourceArrayResponseToJSON(json) {
|
|
40
|
-
return IncidentVideoSignedUrlResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function IncidentVideoSignedUrlResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(IncidentVideoSignedUrlResource_1.IncidentVideoSignedUrlResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -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 IncidentVideoUploadTokenResource
|
|
16
|
-
*/
|
|
17
|
-
export interface IncidentVideoUploadTokenResource {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IncidentVideoUploadTokenResource
|
|
22
|
-
*/
|
|
23
|
-
url: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof IncidentVideoUploadTokenResource
|
|
28
|
-
*/
|
|
29
|
-
rawBlobPath: string;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof IncidentVideoUploadTokenResource
|
|
34
|
-
*/
|
|
35
|
-
containerName: string;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {Array<string>}
|
|
39
|
-
* @memberof IncidentVideoUploadTokenResource
|
|
40
|
-
*/
|
|
41
|
-
headers: Array<string>;
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Check if a given object implements the IncidentVideoUploadTokenResource interface.
|
|
45
|
-
*/
|
|
46
|
-
export declare function instanceOfIncidentVideoUploadTokenResource(value: object): value is IncidentVideoUploadTokenResource;
|
|
47
|
-
export declare function IncidentVideoUploadTokenResourceFromJSON(json: any): IncidentVideoUploadTokenResource;
|
|
48
|
-
export declare function IncidentVideoUploadTokenResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentVideoUploadTokenResource;
|
|
49
|
-
export declare function IncidentVideoUploadTokenResourceToJSON(json: any): IncidentVideoUploadTokenResource;
|
|
50
|
-
export declare function IncidentVideoUploadTokenResourceToJSONTyped(value?: IncidentVideoUploadTokenResource | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfIncidentVideoUploadTokenResource = instanceOfIncidentVideoUploadTokenResource;
|
|
17
|
-
exports.IncidentVideoUploadTokenResourceFromJSON = IncidentVideoUploadTokenResourceFromJSON;
|
|
18
|
-
exports.IncidentVideoUploadTokenResourceFromJSONTyped = IncidentVideoUploadTokenResourceFromJSONTyped;
|
|
19
|
-
exports.IncidentVideoUploadTokenResourceToJSON = IncidentVideoUploadTokenResourceToJSON;
|
|
20
|
-
exports.IncidentVideoUploadTokenResourceToJSONTyped = IncidentVideoUploadTokenResourceToJSONTyped;
|
|
21
|
-
/**
|
|
22
|
-
* Check if a given object implements the IncidentVideoUploadTokenResource interface.
|
|
23
|
-
*/
|
|
24
|
-
function instanceOfIncidentVideoUploadTokenResource(value) {
|
|
25
|
-
if (!('url' in value) || value['url'] === undefined)
|
|
26
|
-
return false;
|
|
27
|
-
if (!('rawBlobPath' in value) || value['rawBlobPath'] === undefined)
|
|
28
|
-
return false;
|
|
29
|
-
if (!('containerName' in value) || value['containerName'] === undefined)
|
|
30
|
-
return false;
|
|
31
|
-
if (!('headers' in value) || value['headers'] === undefined)
|
|
32
|
-
return false;
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
function IncidentVideoUploadTokenResourceFromJSON(json) {
|
|
36
|
-
return IncidentVideoUploadTokenResourceFromJSONTyped(json, false);
|
|
37
|
-
}
|
|
38
|
-
function IncidentVideoUploadTokenResourceFromJSONTyped(json, ignoreDiscriminator) {
|
|
39
|
-
if (json == null) {
|
|
40
|
-
return json;
|
|
41
|
-
}
|
|
42
|
-
return {
|
|
43
|
-
'url': json['url'],
|
|
44
|
-
'rawBlobPath': json['rawBlobPath'],
|
|
45
|
-
'containerName': json['containerName'],
|
|
46
|
-
'headers': json['headers'],
|
|
47
|
-
};
|
|
48
|
-
}
|
|
49
|
-
function IncidentVideoUploadTokenResourceToJSON(json) {
|
|
50
|
-
return IncidentVideoUploadTokenResourceToJSONTyped(json, false);
|
|
51
|
-
}
|
|
52
|
-
function IncidentVideoUploadTokenResourceToJSONTyped(value, ignoreDiscriminator) {
|
|
53
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
54
|
-
if (value == null) {
|
|
55
|
-
return value;
|
|
56
|
-
}
|
|
57
|
-
return {
|
|
58
|
-
'url': value['url'],
|
|
59
|
-
'rawBlobPath': value['rawBlobPath'],
|
|
60
|
-
'containerName': value['containerName'],
|
|
61
|
-
'headers': value['headers'],
|
|
62
|
-
};
|
|
63
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* My API
|
|
3
|
-
* API documentation for my Laravel app
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
import type { IncidentVideoUploadTokenResource } from './IncidentVideoUploadTokenResource';
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @export
|
|
16
|
-
* @interface IncidentVideoUploadTokenResourceArrayResponse
|
|
17
|
-
*/
|
|
18
|
-
export interface IncidentVideoUploadTokenResourceArrayResponse {
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @type {Array<IncidentVideoUploadTokenResource>}
|
|
22
|
-
* @memberof IncidentVideoUploadTokenResourceArrayResponse
|
|
23
|
-
*/
|
|
24
|
-
data?: Array<IncidentVideoUploadTokenResource>;
|
|
25
|
-
}
|
|
26
|
-
/**
|
|
27
|
-
* Check if a given object implements the IncidentVideoUploadTokenResourceArrayResponse interface.
|
|
28
|
-
*/
|
|
29
|
-
export declare function instanceOfIncidentVideoUploadTokenResourceArrayResponse(value: object): value is IncidentVideoUploadTokenResourceArrayResponse;
|
|
30
|
-
export declare function IncidentVideoUploadTokenResourceArrayResponseFromJSON(json: any): IncidentVideoUploadTokenResourceArrayResponse;
|
|
31
|
-
export declare function IncidentVideoUploadTokenResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentVideoUploadTokenResourceArrayResponse;
|
|
32
|
-
export declare function IncidentVideoUploadTokenResourceArrayResponseToJSON(json: any): IncidentVideoUploadTokenResourceArrayResponse;
|
|
33
|
-
export declare function IncidentVideoUploadTokenResourceArrayResponseToJSONTyped(value?: IncidentVideoUploadTokenResourceArrayResponse | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/**
|
|
5
|
-
* My API
|
|
6
|
-
* API documentation for my Laravel app
|
|
7
|
-
*
|
|
8
|
-
* The version of the OpenAPI document: 1.0.0
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
|
-
* https://openapi-generator.tech
|
|
13
|
-
* Do not edit the class manually.
|
|
14
|
-
*/
|
|
15
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.instanceOfIncidentVideoUploadTokenResourceArrayResponse = instanceOfIncidentVideoUploadTokenResourceArrayResponse;
|
|
17
|
-
exports.IncidentVideoUploadTokenResourceArrayResponseFromJSON = IncidentVideoUploadTokenResourceArrayResponseFromJSON;
|
|
18
|
-
exports.IncidentVideoUploadTokenResourceArrayResponseFromJSONTyped = IncidentVideoUploadTokenResourceArrayResponseFromJSONTyped;
|
|
19
|
-
exports.IncidentVideoUploadTokenResourceArrayResponseToJSON = IncidentVideoUploadTokenResourceArrayResponseToJSON;
|
|
20
|
-
exports.IncidentVideoUploadTokenResourceArrayResponseToJSONTyped = IncidentVideoUploadTokenResourceArrayResponseToJSONTyped;
|
|
21
|
-
var IncidentVideoUploadTokenResource_1 = require("./IncidentVideoUploadTokenResource");
|
|
22
|
-
/**
|
|
23
|
-
* Check if a given object implements the IncidentVideoUploadTokenResourceArrayResponse interface.
|
|
24
|
-
*/
|
|
25
|
-
function instanceOfIncidentVideoUploadTokenResourceArrayResponse(value) {
|
|
26
|
-
return true;
|
|
27
|
-
}
|
|
28
|
-
function IncidentVideoUploadTokenResourceArrayResponseFromJSON(json) {
|
|
29
|
-
return IncidentVideoUploadTokenResourceArrayResponseFromJSONTyped(json, false);
|
|
30
|
-
}
|
|
31
|
-
function IncidentVideoUploadTokenResourceArrayResponseFromJSONTyped(json, ignoreDiscriminator) {
|
|
32
|
-
if (json == null) {
|
|
33
|
-
return json;
|
|
34
|
-
}
|
|
35
|
-
return {
|
|
36
|
-
'data': json['data'] == null ? undefined : (json['data'].map(IncidentVideoUploadTokenResource_1.IncidentVideoUploadTokenResourceFromJSON)),
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
function IncidentVideoUploadTokenResourceArrayResponseToJSON(json) {
|
|
40
|
-
return IncidentVideoUploadTokenResourceArrayResponseToJSONTyped(json, false);
|
|
41
|
-
}
|
|
42
|
-
function IncidentVideoUploadTokenResourceArrayResponseToJSONTyped(value, ignoreDiscriminator) {
|
|
43
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
44
|
-
if (value == null) {
|
|
45
|
-
return value;
|
|
46
|
-
}
|
|
47
|
-
return {
|
|
48
|
-
'data': value['data'] == null ? undefined : (value['data'].map(IncidentVideoUploadTokenResource_1.IncidentVideoUploadTokenResourceToJSON)),
|
|
49
|
-
};
|
|
50
|
-
}
|
|
@@ -1,151 +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 IncidentsListRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface IncidentsListRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof IncidentsListRequest
|
|
22
|
-
*/
|
|
23
|
-
search?: string;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof IncidentsListRequest
|
|
28
|
-
*/
|
|
29
|
-
sortBy?: IncidentsListRequestSortByEnum;
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {string}
|
|
33
|
-
* @memberof IncidentsListRequest
|
|
34
|
-
*/
|
|
35
|
-
sortDirection?: IncidentsListRequestSortDirectionEnum;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof IncidentsListRequest
|
|
40
|
-
*/
|
|
41
|
-
perPage?: number;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {string}
|
|
45
|
-
* @memberof IncidentsListRequest
|
|
46
|
-
*/
|
|
47
|
-
page?: string;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {Array<string>}
|
|
51
|
-
* @memberof IncidentsListRequest
|
|
52
|
-
*/
|
|
53
|
-
venueId?: Array<string>;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {Array<string>}
|
|
57
|
-
* @memberof IncidentsListRequest
|
|
58
|
-
*/
|
|
59
|
-
securityCompanyId?: Array<string>;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Array<string>}
|
|
63
|
-
* @memberof IncidentsListRequest
|
|
64
|
-
*/
|
|
65
|
-
rosterId?: Array<string>;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {Array<string>}
|
|
69
|
-
* @memberof IncidentsListRequest
|
|
70
|
-
*/
|
|
71
|
-
userId?: Array<string>;
|
|
72
|
-
/**
|
|
73
|
-
*
|
|
74
|
-
* @type {Array<string>}
|
|
75
|
-
* @memberof IncidentsListRequest
|
|
76
|
-
*/
|
|
77
|
-
approvedByUserId?: Array<string>;
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @type {Array<string>}
|
|
81
|
-
* @memberof IncidentsListRequest
|
|
82
|
-
*/
|
|
83
|
-
hasApprovedAt?: Array<string>;
|
|
84
|
-
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {Date}
|
|
87
|
-
* @memberof IncidentsListRequest
|
|
88
|
-
*/
|
|
89
|
-
beforeApprovedAt?: Date;
|
|
90
|
-
/**
|
|
91
|
-
*
|
|
92
|
-
* @type {Date}
|
|
93
|
-
* @memberof IncidentsListRequest
|
|
94
|
-
*/
|
|
95
|
-
afterApprovedAt?: Date;
|
|
96
|
-
/**
|
|
97
|
-
*
|
|
98
|
-
* @type {Date}
|
|
99
|
-
* @memberof IncidentsListRequest
|
|
100
|
-
*/
|
|
101
|
-
beforeCreatedAt?: Date;
|
|
102
|
-
/**
|
|
103
|
-
*
|
|
104
|
-
* @type {Date}
|
|
105
|
-
* @memberof IncidentsListRequest
|
|
106
|
-
*/
|
|
107
|
-
afterCreatedAt?: Date;
|
|
108
|
-
/**
|
|
109
|
-
*
|
|
110
|
-
* @type {number}
|
|
111
|
-
* @memberof IncidentsListRequest
|
|
112
|
-
*/
|
|
113
|
-
relatedId?: number;
|
|
114
|
-
/**
|
|
115
|
-
*
|
|
116
|
-
* @type {string}
|
|
117
|
-
* @memberof IncidentsListRequest
|
|
118
|
-
*/
|
|
119
|
-
relatedType?: string;
|
|
120
|
-
/**
|
|
121
|
-
*
|
|
122
|
-
* @type {boolean}
|
|
123
|
-
* @memberof IncidentsListRequest
|
|
124
|
-
*/
|
|
125
|
-
includesRelations?: boolean;
|
|
126
|
-
}
|
|
127
|
-
/**
|
|
128
|
-
* @export
|
|
129
|
-
*/
|
|
130
|
-
export declare const IncidentsListRequestSortByEnum: {
|
|
131
|
-
readonly Id: "id";
|
|
132
|
-
readonly CreatedAt: "created_at";
|
|
133
|
-
readonly ApprovedAt: "approved_at";
|
|
134
|
-
};
|
|
135
|
-
export type IncidentsListRequestSortByEnum = typeof IncidentsListRequestSortByEnum[keyof typeof IncidentsListRequestSortByEnum];
|
|
136
|
-
/**
|
|
137
|
-
* @export
|
|
138
|
-
*/
|
|
139
|
-
export declare const IncidentsListRequestSortDirectionEnum: {
|
|
140
|
-
readonly Asc: "asc";
|
|
141
|
-
readonly Desc: "desc";
|
|
142
|
-
};
|
|
143
|
-
export type IncidentsListRequestSortDirectionEnum = typeof IncidentsListRequestSortDirectionEnum[keyof typeof IncidentsListRequestSortDirectionEnum];
|
|
144
|
-
/**
|
|
145
|
-
* Check if a given object implements the IncidentsListRequest interface.
|
|
146
|
-
*/
|
|
147
|
-
export declare function instanceOfIncidentsListRequest(value: object): value is IncidentsListRequest;
|
|
148
|
-
export declare function IncidentsListRequestFromJSON(json: any): IncidentsListRequest;
|
|
149
|
-
export declare function IncidentsListRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentsListRequest;
|
|
150
|
-
export declare function IncidentsListRequestToJSON(json: any): IncidentsListRequest;
|
|
151
|
-
export declare function IncidentsListRequestToJSONTyped(value?: IncidentsListRequest | null, ignoreDiscriminator?: boolean): any;
|
|
@@ -1,99 +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.IncidentsListRequestSortDirectionEnum = exports.IncidentsListRequestSortByEnum = void 0;
|
|
17
|
-
exports.instanceOfIncidentsListRequest = instanceOfIncidentsListRequest;
|
|
18
|
-
exports.IncidentsListRequestFromJSON = IncidentsListRequestFromJSON;
|
|
19
|
-
exports.IncidentsListRequestFromJSONTyped = IncidentsListRequestFromJSONTyped;
|
|
20
|
-
exports.IncidentsListRequestToJSON = IncidentsListRequestToJSON;
|
|
21
|
-
exports.IncidentsListRequestToJSONTyped = IncidentsListRequestToJSONTyped;
|
|
22
|
-
/**
|
|
23
|
-
* @export
|
|
24
|
-
*/
|
|
25
|
-
exports.IncidentsListRequestSortByEnum = {
|
|
26
|
-
Id: 'id',
|
|
27
|
-
CreatedAt: 'created_at',
|
|
28
|
-
ApprovedAt: 'approved_at'
|
|
29
|
-
};
|
|
30
|
-
/**
|
|
31
|
-
* @export
|
|
32
|
-
*/
|
|
33
|
-
exports.IncidentsListRequestSortDirectionEnum = {
|
|
34
|
-
Asc: 'asc',
|
|
35
|
-
Desc: 'desc'
|
|
36
|
-
};
|
|
37
|
-
/**
|
|
38
|
-
* Check if a given object implements the IncidentsListRequest interface.
|
|
39
|
-
*/
|
|
40
|
-
function instanceOfIncidentsListRequest(value) {
|
|
41
|
-
return true;
|
|
42
|
-
}
|
|
43
|
-
function IncidentsListRequestFromJSON(json) {
|
|
44
|
-
return IncidentsListRequestFromJSONTyped(json, false);
|
|
45
|
-
}
|
|
46
|
-
function IncidentsListRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
47
|
-
if (json == null) {
|
|
48
|
-
return json;
|
|
49
|
-
}
|
|
50
|
-
return {
|
|
51
|
-
'search': json['search'] == null ? undefined : json['search'],
|
|
52
|
-
'sortBy': json['sort_by'] == null ? undefined : json['sort_by'],
|
|
53
|
-
'sortDirection': json['sort_direction'] == null ? undefined : json['sort_direction'],
|
|
54
|
-
'perPage': json['per_page'] == null ? undefined : json['per_page'],
|
|
55
|
-
'page': json['page'] == null ? undefined : json['page'],
|
|
56
|
-
'venueId': json['venue_id'] == null ? undefined : json['venue_id'],
|
|
57
|
-
'securityCompanyId': json['security_company_id'] == null ? undefined : json['security_company_id'],
|
|
58
|
-
'rosterId': json['roster_id'] == null ? undefined : json['roster_id'],
|
|
59
|
-
'userId': json['user_id'] == null ? undefined : json['user_id'],
|
|
60
|
-
'approvedByUserId': json['approved_by_user_id'] == null ? undefined : json['approved_by_user_id'],
|
|
61
|
-
'hasApprovedAt': json['has_approved_at'] == null ? undefined : json['has_approved_at'],
|
|
62
|
-
'beforeApprovedAt': json['before_approved_at'] == null ? undefined : (new Date(json['before_approved_at'])),
|
|
63
|
-
'afterApprovedAt': json['after_approved_at'] == null ? undefined : (new Date(json['after_approved_at'])),
|
|
64
|
-
'beforeCreatedAt': json['before_created_at'] == null ? undefined : (new Date(json['before_created_at'])),
|
|
65
|
-
'afterCreatedAt': json['after_created_at'] == null ? undefined : (new Date(json['after_created_at'])),
|
|
66
|
-
'relatedId': json['related_id'] == null ? undefined : json['related_id'],
|
|
67
|
-
'relatedType': json['related_type'] == null ? undefined : json['related_type'],
|
|
68
|
-
'includesRelations': json['includes_relations'] == null ? undefined : json['includes_relations'],
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
function IncidentsListRequestToJSON(json) {
|
|
72
|
-
return IncidentsListRequestToJSONTyped(json, false);
|
|
73
|
-
}
|
|
74
|
-
function IncidentsListRequestToJSONTyped(value, ignoreDiscriminator) {
|
|
75
|
-
if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
|
|
76
|
-
if (value == null) {
|
|
77
|
-
return value;
|
|
78
|
-
}
|
|
79
|
-
return {
|
|
80
|
-
'search': value['search'],
|
|
81
|
-
'sort_by': value['sortBy'],
|
|
82
|
-
'sort_direction': value['sortDirection'],
|
|
83
|
-
'per_page': value['perPage'],
|
|
84
|
-
'page': value['page'],
|
|
85
|
-
'venue_id': value['venueId'],
|
|
86
|
-
'security_company_id': value['securityCompanyId'],
|
|
87
|
-
'roster_id': value['rosterId'],
|
|
88
|
-
'user_id': value['userId'],
|
|
89
|
-
'approved_by_user_id': value['approvedByUserId'],
|
|
90
|
-
'has_approved_at': value['hasApprovedAt'],
|
|
91
|
-
'before_approved_at': value['beforeApprovedAt'] == null ? undefined : ((value['beforeApprovedAt']).toISOString()),
|
|
92
|
-
'after_approved_at': value['afterApprovedAt'] == null ? undefined : ((value['afterApprovedAt']).toISOString()),
|
|
93
|
-
'before_created_at': value['beforeCreatedAt'] == null ? undefined : ((value['beforeCreatedAt']).toISOString()),
|
|
94
|
-
'after_created_at': value['afterCreatedAt'] == null ? undefined : ((value['afterCreatedAt']).toISOString()),
|
|
95
|
-
'related_id': value['relatedId'],
|
|
96
|
-
'related_type': value['relatedType'],
|
|
97
|
-
'includes_relations': value['includesRelations'],
|
|
98
|
-
};
|
|
99
|
-
}
|
|
@@ -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;
|