@digital8/security-registers-backend-ts-sdk 0.0.261 → 0.0.262

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.
Files changed (57) hide show
  1. package/.openapi-generator/FILES +0 -8
  2. package/README.md +2 -2
  3. package/dist/apis/GeneralApi.d.ts +1 -72
  4. package/dist/apis/GeneralApi.js +0 -352
  5. package/dist/models/AssetResource.d.ts +1 -1
  6. package/dist/models/AssetResource.js +1 -3
  7. package/dist/models/IncidentImageResource.d.ts +1 -1
  8. package/dist/models/IncidentImageResource.js +1 -3
  9. package/dist/models/IncidentResource.d.ts +0 -13
  10. package/dist/models/IncidentResource.js +0 -7
  11. package/dist/models/RegisterListResource.d.ts +5 -5
  12. package/dist/models/RegisterListResource.js +7 -6
  13. package/dist/models/RegisterResource.d.ts +2 -2
  14. package/dist/models/RegisterResource.js +2 -6
  15. package/dist/models/RosterListResource.d.ts +1 -1
  16. package/dist/models/RosterListResource.js +3 -4
  17. package/dist/models/RosterResource.d.ts +1 -1
  18. package/dist/models/RosterResource.js +3 -4
  19. package/dist/models/RosterWithRegistersResource.d.ts +1 -1
  20. package/dist/models/RosterWithRegistersResource.js +3 -4
  21. package/dist/models/index.d.ts +0 -8
  22. package/dist/models/index.js +0 -8
  23. package/package.json +1 -1
  24. package/src/apis/GeneralApi.ts +0 -344
  25. package/src/models/AssetResource.ts +2 -3
  26. package/src/models/IncidentImageResource.ts +2 -3
  27. package/src/models/IncidentResource.ts +0 -24
  28. package/src/models/RegisterListResource.ts +11 -10
  29. package/src/models/RegisterResource.ts +4 -6
  30. package/src/models/RosterListResource.ts +3 -4
  31. package/src/models/RosterResource.ts +3 -4
  32. package/src/models/RosterWithRegistersResource.ts +3 -4
  33. package/src/models/index.ts +0 -8
  34. package/dist/models/IncidentVideoResource.d.ts +0 -74
  35. package/dist/models/IncidentVideoResource.js +0 -72
  36. package/dist/models/IncidentVideoResourceArrayResponse.d.ts +0 -33
  37. package/dist/models/IncidentVideoResourceArrayResponse.js +0 -50
  38. package/dist/models/IncidentVideoSignedUrlResource.d.ts +0 -32
  39. package/dist/models/IncidentVideoSignedUrlResource.js +0 -51
  40. package/dist/models/IncidentVideoSignedUrlResourceArrayResponse.d.ts +0 -33
  41. package/dist/models/IncidentVideoSignedUrlResourceArrayResponse.js +0 -50
  42. package/dist/models/IncidentVideoUploadTokenResource.d.ts +0 -50
  43. package/dist/models/IncidentVideoUploadTokenResource.js +0 -63
  44. package/dist/models/IncidentVideoUploadTokenResourceArrayResponse.d.ts +0 -33
  45. package/dist/models/IncidentVideoUploadTokenResourceArrayResponse.js +0 -50
  46. package/dist/models/IncidentsVideosStoreRequest.d.ts +0 -44
  47. package/dist/models/IncidentsVideosStoreRequest.js +0 -59
  48. package/dist/models/IncidentsVideosUploadTokenRequest.d.ts +0 -44
  49. package/dist/models/IncidentsVideosUploadTokenRequest.js +0 -59
  50. package/src/models/IncidentVideoResource.ts +0 -125
  51. package/src/models/IncidentVideoResourceArrayResponse.ts +0 -73
  52. package/src/models/IncidentVideoSignedUrlResource.ts +0 -66
  53. package/src/models/IncidentVideoSignedUrlResourceArrayResponse.ts +0 -73
  54. package/src/models/IncidentVideoUploadTokenResource.ts +0 -93
  55. package/src/models/IncidentVideoUploadTokenResourceArrayResponse.ts +0 -73
  56. package/src/models/IncidentsVideosStoreRequest.ts +0 -84
  57. package/src/models/IncidentsVideosUploadTokenRequest.ts +0 -84
@@ -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.instanceOfIncidentVideoSignedUrlResource = instanceOfIncidentVideoSignedUrlResource;
17
- exports.IncidentVideoSignedUrlResourceFromJSON = IncidentVideoSignedUrlResourceFromJSON;
18
- exports.IncidentVideoSignedUrlResourceFromJSONTyped = IncidentVideoSignedUrlResourceFromJSONTyped;
19
- exports.IncidentVideoSignedUrlResourceToJSON = IncidentVideoSignedUrlResourceToJSON;
20
- exports.IncidentVideoSignedUrlResourceToJSONTyped = IncidentVideoSignedUrlResourceToJSONTyped;
21
- /**
22
- * Check if a given object implements the IncidentVideoSignedUrlResource interface.
23
- */
24
- function instanceOfIncidentVideoSignedUrlResource(value) {
25
- if (!('url' in value) || value['url'] === undefined)
26
- return false;
27
- return true;
28
- }
29
- function IncidentVideoSignedUrlResourceFromJSON(json) {
30
- return IncidentVideoSignedUrlResourceFromJSONTyped(json, false);
31
- }
32
- function IncidentVideoSignedUrlResourceFromJSONTyped(json, ignoreDiscriminator) {
33
- if (json == null) {
34
- return json;
35
- }
36
- return {
37
- 'url': json['url'],
38
- };
39
- }
40
- function IncidentVideoSignedUrlResourceToJSON(json) {
41
- return IncidentVideoSignedUrlResourceToJSONTyped(json, false);
42
- }
43
- function IncidentVideoSignedUrlResourceToJSONTyped(value, ignoreDiscriminator) {
44
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
45
- if (value == null) {
46
- return value;
47
- }
48
- return {
49
- 'url': value['url'],
50
- };
51
- }
@@ -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,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,125 +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 IncidentVideoResource
20
- */
21
- export interface IncidentVideoResource {
22
- /**
23
- *
24
- * @type {number}
25
- * @memberof IncidentVideoResource
26
- */
27
- id: number;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof IncidentVideoResource
32
- */
33
- status: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof IncidentVideoResource
38
- */
39
- originalFilename: string;
40
- /**
41
- *
42
- * @type {string}
43
- * @memberof IncidentVideoResource
44
- */
45
- mimeType: string;
46
- /**
47
- *
48
- * @type {number}
49
- * @memberof IncidentVideoResource
50
- */
51
- sizeBytes?: number | null;
52
- /**
53
- *
54
- * @type {string}
55
- * @memberof IncidentVideoResource
56
- */
57
- failureReason?: string | null;
58
- /**
59
- *
60
- * @type {Date}
61
- * @memberof IncidentVideoResource
62
- */
63
- createdAt?: Date | null;
64
- /**
65
- *
66
- * @type {Date}
67
- * @memberof IncidentVideoResource
68
- */
69
- updatedAt?: Date | null;
70
- }
71
-
72
- /**
73
- * Check if a given object implements the IncidentVideoResource interface.
74
- */
75
- export function instanceOfIncidentVideoResource(value: object): value is IncidentVideoResource {
76
- if (!('id' in value) || value['id'] === undefined) return false;
77
- if (!('status' in value) || value['status'] === undefined) return false;
78
- if (!('originalFilename' in value) || value['originalFilename'] === undefined) return false;
79
- if (!('mimeType' in value) || value['mimeType'] === undefined) return false;
80
- return true;
81
- }
82
-
83
- export function IncidentVideoResourceFromJSON(json: any): IncidentVideoResource {
84
- return IncidentVideoResourceFromJSONTyped(json, false);
85
- }
86
-
87
- export function IncidentVideoResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentVideoResource {
88
- if (json == null) {
89
- return json;
90
- }
91
- return {
92
-
93
- 'id': json['id'],
94
- 'status': json['status'],
95
- 'originalFilename': json['originalFilename'],
96
- 'mimeType': json['mimeType'],
97
- 'sizeBytes': json['sizeBytes'] == null ? undefined : json['sizeBytes'],
98
- 'failureReason': json['failureReason'] == null ? undefined : json['failureReason'],
99
- 'createdAt': json['createdAt'] == null ? undefined : (new Date(json['createdAt'])),
100
- 'updatedAt': json['updatedAt'] == null ? undefined : (new Date(json['updatedAt'])),
101
- };
102
- }
103
-
104
- export function IncidentVideoResourceToJSON(json: any): IncidentVideoResource {
105
- return IncidentVideoResourceToJSONTyped(json, false);
106
- }
107
-
108
- export function IncidentVideoResourceToJSONTyped(value?: IncidentVideoResource | null, ignoreDiscriminator: boolean = false): any {
109
- if (value == null) {
110
- return value;
111
- }
112
-
113
- return {
114
-
115
- 'id': value['id'],
116
- 'status': value['status'],
117
- 'originalFilename': value['originalFilename'],
118
- 'mimeType': value['mimeType'],
119
- 'sizeBytes': value['sizeBytes'],
120
- 'failureReason': value['failureReason'],
121
- 'createdAt': value['createdAt'] === null ? null : ((value['createdAt'] as any)?.toISOString()),
122
- 'updatedAt': value['updatedAt'] === null ? null : ((value['updatedAt'] as any)?.toISOString()),
123
- };
124
- }
125
-