@digital8/security-registers-backend-ts-sdk 0.0.266 → 0.0.268

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 (75) hide show
  1. package/.openapi-generator/FILES +0 -12
  2. package/README.md +2 -2
  3. package/dist/apis/GeneralApi.d.ts +1 -84
  4. package/dist/apis/GeneralApi.js +0 -410
  5. package/dist/models/AssetResource.d.ts +1 -1
  6. package/dist/models/AssetResource.js +3 -1
  7. package/dist/models/IncidentImageResource.d.ts +1 -1
  8. package/dist/models/IncidentImageResource.js +3 -1
  9. package/dist/models/IncidentResource.d.ts +0 -13
  10. package/dist/models/IncidentResource.js +0 -7
  11. package/dist/models/RegisterListResource.d.ts +4 -4
  12. package/dist/models/RegisterListResource.js +6 -5
  13. package/dist/models/RegisterResource.d.ts +3 -3
  14. package/dist/models/RegisterResource.js +8 -10
  15. package/dist/models/RosterListResource.d.ts +1 -1
  16. package/dist/models/RosterListResource.js +3 -4
  17. package/dist/models/RosterLiteResource.d.ts +1 -1
  18. package/dist/models/RosterLiteResource.js +4 -3
  19. package/dist/models/RosterResource.d.ts +1 -1
  20. package/dist/models/RosterResource.js +3 -4
  21. package/dist/models/RosterWithRegistersResource.d.ts +1 -1
  22. package/dist/models/RosterWithRegistersResource.js +4 -3
  23. package/dist/models/SecurityCompanyResource.d.ts +1 -1
  24. package/dist/models/SecurityCompanyResource.js +1 -3
  25. package/dist/models/index.d.ts +0 -12
  26. package/dist/models/index.js +0 -12
  27. package/package.json +1 -1
  28. package/src/apis/GeneralApi.ts +0 -403
  29. package/src/models/AssetResource.ts +3 -2
  30. package/src/models/IncidentImageResource.ts +3 -2
  31. package/src/models/IncidentResource.ts +0 -24
  32. package/src/models/RegisterListResource.ts +8 -8
  33. package/src/models/RegisterResource.ts +8 -9
  34. package/src/models/RosterListResource.ts +3 -4
  35. package/src/models/RosterLiteResource.ts +4 -3
  36. package/src/models/RosterResource.ts +3 -4
  37. package/src/models/RosterWithRegistersResource.ts +4 -3
  38. package/src/models/SecurityCompanyResource.ts +2 -3
  39. package/src/models/index.ts +0 -12
  40. package/dist/models/IncidentVideoResource.d.ts +0 -74
  41. package/dist/models/IncidentVideoResource.js +0 -72
  42. package/dist/models/IncidentVideoResourceArrayResponse.d.ts +0 -33
  43. package/dist/models/IncidentVideoResourceArrayResponse.js +0 -50
  44. package/dist/models/IncidentVideoSignedUrlResource.d.ts +0 -32
  45. package/dist/models/IncidentVideoSignedUrlResource.js +0 -51
  46. package/dist/models/IncidentVideoSignedUrlResourceArrayResponse.d.ts +0 -33
  47. package/dist/models/IncidentVideoSignedUrlResourceArrayResponse.js +0 -50
  48. package/dist/models/IncidentVideoUploadTokenResource.d.ts +0 -50
  49. package/dist/models/IncidentVideoUploadTokenResource.js +0 -63
  50. package/dist/models/IncidentVideoUploadTokenResourceArrayResponse.d.ts +0 -33
  51. package/dist/models/IncidentVideoUploadTokenResourceArrayResponse.js +0 -50
  52. package/dist/models/IncidentsVideosStoreRequest.d.ts +0 -44
  53. package/dist/models/IncidentsVideosStoreRequest.js +0 -59
  54. package/dist/models/IncidentsVideosUploadTokenRequest.d.ts +0 -44
  55. package/dist/models/IncidentsVideosUploadTokenRequest.js +0 -59
  56. package/dist/models/VenueGuardScheduleResource.d.ts +0 -62
  57. package/dist/models/VenueGuardScheduleResource.js +0 -68
  58. package/dist/models/VenueGuardScheduleResourceArrayResponse.d.ts +0 -33
  59. package/dist/models/VenueGuardScheduleResourceArrayResponse.js +0 -50
  60. package/dist/models/VenuesGuardScheduleUpdateRequest.d.ts +0 -33
  61. package/dist/models/VenuesGuardScheduleUpdateRequest.js +0 -50
  62. package/dist/models/VenuesGuardScheduleUpdateRequestEntriesInner.d.ts +0 -44
  63. package/dist/models/VenuesGuardScheduleUpdateRequestEntriesInner.js +0 -59
  64. package/src/models/IncidentVideoResource.ts +0 -125
  65. package/src/models/IncidentVideoResourceArrayResponse.ts +0 -73
  66. package/src/models/IncidentVideoSignedUrlResource.ts +0 -66
  67. package/src/models/IncidentVideoSignedUrlResourceArrayResponse.ts +0 -73
  68. package/src/models/IncidentVideoUploadTokenResource.ts +0 -93
  69. package/src/models/IncidentVideoUploadTokenResourceArrayResponse.ts +0 -73
  70. package/src/models/IncidentsVideosStoreRequest.ts +0 -84
  71. package/src/models/IncidentsVideosUploadTokenRequest.ts +0 -84
  72. package/src/models/VenueGuardScheduleResource.ts +0 -109
  73. package/src/models/VenueGuardScheduleResourceArrayResponse.ts +0 -73
  74. package/src/models/VenuesGuardScheduleUpdateRequest.ts +0 -73
  75. package/src/models/VenuesGuardScheduleUpdateRequestEntriesInner.ts +0 -84
@@ -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 { VenuesGuardScheduleUpdateRequestEntriesInner } from './VenuesGuardScheduleUpdateRequestEntriesInner';
13
- /**
14
- *
15
- * @export
16
- * @interface VenuesGuardScheduleUpdateRequest
17
- */
18
- export interface VenuesGuardScheduleUpdateRequest {
19
- /**
20
- *
21
- * @type {Array<VenuesGuardScheduleUpdateRequestEntriesInner>}
22
- * @memberof VenuesGuardScheduleUpdateRequest
23
- */
24
- entries?: Array<VenuesGuardScheduleUpdateRequestEntriesInner>;
25
- }
26
- /**
27
- * Check if a given object implements the VenuesGuardScheduleUpdateRequest interface.
28
- */
29
- export declare function instanceOfVenuesGuardScheduleUpdateRequest(value: object): value is VenuesGuardScheduleUpdateRequest;
30
- export declare function VenuesGuardScheduleUpdateRequestFromJSON(json: any): VenuesGuardScheduleUpdateRequest;
31
- export declare function VenuesGuardScheduleUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): VenuesGuardScheduleUpdateRequest;
32
- export declare function VenuesGuardScheduleUpdateRequestToJSON(json: any): VenuesGuardScheduleUpdateRequest;
33
- export declare function VenuesGuardScheduleUpdateRequestToJSONTyped(value?: VenuesGuardScheduleUpdateRequest | 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.instanceOfVenuesGuardScheduleUpdateRequest = instanceOfVenuesGuardScheduleUpdateRequest;
17
- exports.VenuesGuardScheduleUpdateRequestFromJSON = VenuesGuardScheduleUpdateRequestFromJSON;
18
- exports.VenuesGuardScheduleUpdateRequestFromJSONTyped = VenuesGuardScheduleUpdateRequestFromJSONTyped;
19
- exports.VenuesGuardScheduleUpdateRequestToJSON = VenuesGuardScheduleUpdateRequestToJSON;
20
- exports.VenuesGuardScheduleUpdateRequestToJSONTyped = VenuesGuardScheduleUpdateRequestToJSONTyped;
21
- var VenuesGuardScheduleUpdateRequestEntriesInner_1 = require("./VenuesGuardScheduleUpdateRequestEntriesInner");
22
- /**
23
- * Check if a given object implements the VenuesGuardScheduleUpdateRequest interface.
24
- */
25
- function instanceOfVenuesGuardScheduleUpdateRequest(value) {
26
- return true;
27
- }
28
- function VenuesGuardScheduleUpdateRequestFromJSON(json) {
29
- return VenuesGuardScheduleUpdateRequestFromJSONTyped(json, false);
30
- }
31
- function VenuesGuardScheduleUpdateRequestFromJSONTyped(json, ignoreDiscriminator) {
32
- if (json == null) {
33
- return json;
34
- }
35
- return {
36
- 'entries': json['entries'] == null ? undefined : (json['entries'].map(VenuesGuardScheduleUpdateRequestEntriesInner_1.VenuesGuardScheduleUpdateRequestEntriesInnerFromJSON)),
37
- };
38
- }
39
- function VenuesGuardScheduleUpdateRequestToJSON(json) {
40
- return VenuesGuardScheduleUpdateRequestToJSONTyped(json, false);
41
- }
42
- function VenuesGuardScheduleUpdateRequestToJSONTyped(value, ignoreDiscriminator) {
43
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
44
- if (value == null) {
45
- return value;
46
- }
47
- return {
48
- 'entries': value['entries'] == null ? undefined : (value['entries'].map(VenuesGuardScheduleUpdateRequestEntriesInner_1.VenuesGuardScheduleUpdateRequestEntriesInnerToJSON)),
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 VenuesGuardScheduleUpdateRequestEntriesInner
16
- */
17
- export interface VenuesGuardScheduleUpdateRequestEntriesInner {
18
- /**
19
- *
20
- * @type {number}
21
- * @memberof VenuesGuardScheduleUpdateRequestEntriesInner
22
- */
23
- dayOfWeek: number;
24
- /**
25
- *
26
- * @type {number}
27
- * @memberof VenuesGuardScheduleUpdateRequestEntriesInner
28
- */
29
- hourOfDay: number;
30
- /**
31
- *
32
- * @type {number}
33
- * @memberof VenuesGuardScheduleUpdateRequestEntriesInner
34
- */
35
- requiredGuards: number;
36
- }
37
- /**
38
- * Check if a given object implements the VenuesGuardScheduleUpdateRequestEntriesInner interface.
39
- */
40
- export declare function instanceOfVenuesGuardScheduleUpdateRequestEntriesInner(value: object): value is VenuesGuardScheduleUpdateRequestEntriesInner;
41
- export declare function VenuesGuardScheduleUpdateRequestEntriesInnerFromJSON(json: any): VenuesGuardScheduleUpdateRequestEntriesInner;
42
- export declare function VenuesGuardScheduleUpdateRequestEntriesInnerFromJSONTyped(json: any, ignoreDiscriminator: boolean): VenuesGuardScheduleUpdateRequestEntriesInner;
43
- export declare function VenuesGuardScheduleUpdateRequestEntriesInnerToJSON(json: any): VenuesGuardScheduleUpdateRequestEntriesInner;
44
- export declare function VenuesGuardScheduleUpdateRequestEntriesInnerToJSONTyped(value?: VenuesGuardScheduleUpdateRequestEntriesInner | 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.instanceOfVenuesGuardScheduleUpdateRequestEntriesInner = instanceOfVenuesGuardScheduleUpdateRequestEntriesInner;
17
- exports.VenuesGuardScheduleUpdateRequestEntriesInnerFromJSON = VenuesGuardScheduleUpdateRequestEntriesInnerFromJSON;
18
- exports.VenuesGuardScheduleUpdateRequestEntriesInnerFromJSONTyped = VenuesGuardScheduleUpdateRequestEntriesInnerFromJSONTyped;
19
- exports.VenuesGuardScheduleUpdateRequestEntriesInnerToJSON = VenuesGuardScheduleUpdateRequestEntriesInnerToJSON;
20
- exports.VenuesGuardScheduleUpdateRequestEntriesInnerToJSONTyped = VenuesGuardScheduleUpdateRequestEntriesInnerToJSONTyped;
21
- /**
22
- * Check if a given object implements the VenuesGuardScheduleUpdateRequestEntriesInner interface.
23
- */
24
- function instanceOfVenuesGuardScheduleUpdateRequestEntriesInner(value) {
25
- if (!('dayOfWeek' in value) || value['dayOfWeek'] === undefined)
26
- return false;
27
- if (!('hourOfDay' in value) || value['hourOfDay'] === undefined)
28
- return false;
29
- if (!('requiredGuards' in value) || value['requiredGuards'] === undefined)
30
- return false;
31
- return true;
32
- }
33
- function VenuesGuardScheduleUpdateRequestEntriesInnerFromJSON(json) {
34
- return VenuesGuardScheduleUpdateRequestEntriesInnerFromJSONTyped(json, false);
35
- }
36
- function VenuesGuardScheduleUpdateRequestEntriesInnerFromJSONTyped(json, ignoreDiscriminator) {
37
- if (json == null) {
38
- return json;
39
- }
40
- return {
41
- 'dayOfWeek': json['day_of_week'],
42
- 'hourOfDay': json['hour_of_day'],
43
- 'requiredGuards': json['required_guards'],
44
- };
45
- }
46
- function VenuesGuardScheduleUpdateRequestEntriesInnerToJSON(json) {
47
- return VenuesGuardScheduleUpdateRequestEntriesInnerToJSONTyped(json, false);
48
- }
49
- function VenuesGuardScheduleUpdateRequestEntriesInnerToJSONTyped(value, ignoreDiscriminator) {
50
- if (ignoreDiscriminator === void 0) { ignoreDiscriminator = false; }
51
- if (value == null) {
52
- return value;
53
- }
54
- return {
55
- 'day_of_week': value['dayOfWeek'],
56
- 'hour_of_day': value['hourOfDay'],
57
- 'required_guards': value['requiredGuards'],
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
-
@@ -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 { IncidentVideoResource } from './IncidentVideoResource';
17
- import {
18
- IncidentVideoResourceFromJSON,
19
- IncidentVideoResourceFromJSONTyped,
20
- IncidentVideoResourceToJSON,
21
- IncidentVideoResourceToJSONTyped,
22
- } from './IncidentVideoResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface IncidentVideoResourceArrayResponse
28
- */
29
- export interface IncidentVideoResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<IncidentVideoResource>}
33
- * @memberof IncidentVideoResourceArrayResponse
34
- */
35
- data?: Array<IncidentVideoResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the IncidentVideoResourceArrayResponse interface.
40
- */
41
- export function instanceOfIncidentVideoResourceArrayResponse(value: object): value is IncidentVideoResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function IncidentVideoResourceArrayResponseFromJSON(json: any): IncidentVideoResourceArrayResponse {
46
- return IncidentVideoResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function IncidentVideoResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentVideoResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(IncidentVideoResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function IncidentVideoResourceArrayResponseToJSON(json: any): IncidentVideoResourceArrayResponse {
60
- return IncidentVideoResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function IncidentVideoResourceArrayResponseToJSONTyped(value?: IncidentVideoResourceArrayResponse | 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(IncidentVideoResourceToJSON)),
71
- };
72
- }
73
-
@@ -1,66 +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 IncidentVideoSignedUrlResource
20
- */
21
- export interface IncidentVideoSignedUrlResource {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof IncidentVideoSignedUrlResource
26
- */
27
- url: string;
28
- }
29
-
30
- /**
31
- * Check if a given object implements the IncidentVideoSignedUrlResource interface.
32
- */
33
- export function instanceOfIncidentVideoSignedUrlResource(value: object): value is IncidentVideoSignedUrlResource {
34
- if (!('url' in value) || value['url'] === undefined) return false;
35
- return true;
36
- }
37
-
38
- export function IncidentVideoSignedUrlResourceFromJSON(json: any): IncidentVideoSignedUrlResource {
39
- return IncidentVideoSignedUrlResourceFromJSONTyped(json, false);
40
- }
41
-
42
- export function IncidentVideoSignedUrlResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentVideoSignedUrlResource {
43
- if (json == null) {
44
- return json;
45
- }
46
- return {
47
-
48
- 'url': json['url'],
49
- };
50
- }
51
-
52
- export function IncidentVideoSignedUrlResourceToJSON(json: any): IncidentVideoSignedUrlResource {
53
- return IncidentVideoSignedUrlResourceToJSONTyped(json, false);
54
- }
55
-
56
- export function IncidentVideoSignedUrlResourceToJSONTyped(value?: IncidentVideoSignedUrlResource | null, ignoreDiscriminator: boolean = false): any {
57
- if (value == null) {
58
- return value;
59
- }
60
-
61
- return {
62
-
63
- 'url': value['url'],
64
- };
65
- }
66
-
@@ -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 { IncidentVideoSignedUrlResource } from './IncidentVideoSignedUrlResource';
17
- import {
18
- IncidentVideoSignedUrlResourceFromJSON,
19
- IncidentVideoSignedUrlResourceFromJSONTyped,
20
- IncidentVideoSignedUrlResourceToJSON,
21
- IncidentVideoSignedUrlResourceToJSONTyped,
22
- } from './IncidentVideoSignedUrlResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface IncidentVideoSignedUrlResourceArrayResponse
28
- */
29
- export interface IncidentVideoSignedUrlResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<IncidentVideoSignedUrlResource>}
33
- * @memberof IncidentVideoSignedUrlResourceArrayResponse
34
- */
35
- data?: Array<IncidentVideoSignedUrlResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the IncidentVideoSignedUrlResourceArrayResponse interface.
40
- */
41
- export function instanceOfIncidentVideoSignedUrlResourceArrayResponse(value: object): value is IncidentVideoSignedUrlResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function IncidentVideoSignedUrlResourceArrayResponseFromJSON(json: any): IncidentVideoSignedUrlResourceArrayResponse {
46
- return IncidentVideoSignedUrlResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function IncidentVideoSignedUrlResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentVideoSignedUrlResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(IncidentVideoSignedUrlResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function IncidentVideoSignedUrlResourceArrayResponseToJSON(json: any): IncidentVideoSignedUrlResourceArrayResponse {
60
- return IncidentVideoSignedUrlResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function IncidentVideoSignedUrlResourceArrayResponseToJSONTyped(value?: IncidentVideoSignedUrlResourceArrayResponse | 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(IncidentVideoSignedUrlResourceToJSON)),
71
- };
72
- }
73
-
@@ -1,93 +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 IncidentVideoUploadTokenResource
20
- */
21
- export interface IncidentVideoUploadTokenResource {
22
- /**
23
- *
24
- * @type {string}
25
- * @memberof IncidentVideoUploadTokenResource
26
- */
27
- url: string;
28
- /**
29
- *
30
- * @type {string}
31
- * @memberof IncidentVideoUploadTokenResource
32
- */
33
- rawBlobPath: string;
34
- /**
35
- *
36
- * @type {string}
37
- * @memberof IncidentVideoUploadTokenResource
38
- */
39
- containerName: string;
40
- /**
41
- *
42
- * @type {Array<string>}
43
- * @memberof IncidentVideoUploadTokenResource
44
- */
45
- headers: Array<string>;
46
- }
47
-
48
- /**
49
- * Check if a given object implements the IncidentVideoUploadTokenResource interface.
50
- */
51
- export function instanceOfIncidentVideoUploadTokenResource(value: object): value is IncidentVideoUploadTokenResource {
52
- if (!('url' in value) || value['url'] === undefined) return false;
53
- if (!('rawBlobPath' in value) || value['rawBlobPath'] === undefined) return false;
54
- if (!('containerName' in value) || value['containerName'] === undefined) return false;
55
- if (!('headers' in value) || value['headers'] === undefined) return false;
56
- return true;
57
- }
58
-
59
- export function IncidentVideoUploadTokenResourceFromJSON(json: any): IncidentVideoUploadTokenResource {
60
- return IncidentVideoUploadTokenResourceFromJSONTyped(json, false);
61
- }
62
-
63
- export function IncidentVideoUploadTokenResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentVideoUploadTokenResource {
64
- if (json == null) {
65
- return json;
66
- }
67
- return {
68
-
69
- 'url': json['url'],
70
- 'rawBlobPath': json['rawBlobPath'],
71
- 'containerName': json['containerName'],
72
- 'headers': json['headers'],
73
- };
74
- }
75
-
76
- export function IncidentVideoUploadTokenResourceToJSON(json: any): IncidentVideoUploadTokenResource {
77
- return IncidentVideoUploadTokenResourceToJSONTyped(json, false);
78
- }
79
-
80
- export function IncidentVideoUploadTokenResourceToJSONTyped(value?: IncidentVideoUploadTokenResource | null, ignoreDiscriminator: boolean = false): any {
81
- if (value == null) {
82
- return value;
83
- }
84
-
85
- return {
86
-
87
- 'url': value['url'],
88
- 'rawBlobPath': value['rawBlobPath'],
89
- 'containerName': value['containerName'],
90
- 'headers': value['headers'],
91
- };
92
- }
93
-
@@ -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 { IncidentVideoUploadTokenResource } from './IncidentVideoUploadTokenResource';
17
- import {
18
- IncidentVideoUploadTokenResourceFromJSON,
19
- IncidentVideoUploadTokenResourceFromJSONTyped,
20
- IncidentVideoUploadTokenResourceToJSON,
21
- IncidentVideoUploadTokenResourceToJSONTyped,
22
- } from './IncidentVideoUploadTokenResource';
23
-
24
- /**
25
- *
26
- * @export
27
- * @interface IncidentVideoUploadTokenResourceArrayResponse
28
- */
29
- export interface IncidentVideoUploadTokenResourceArrayResponse {
30
- /**
31
- *
32
- * @type {Array<IncidentVideoUploadTokenResource>}
33
- * @memberof IncidentVideoUploadTokenResourceArrayResponse
34
- */
35
- data?: Array<IncidentVideoUploadTokenResource>;
36
- }
37
-
38
- /**
39
- * Check if a given object implements the IncidentVideoUploadTokenResourceArrayResponse interface.
40
- */
41
- export function instanceOfIncidentVideoUploadTokenResourceArrayResponse(value: object): value is IncidentVideoUploadTokenResourceArrayResponse {
42
- return true;
43
- }
44
-
45
- export function IncidentVideoUploadTokenResourceArrayResponseFromJSON(json: any): IncidentVideoUploadTokenResourceArrayResponse {
46
- return IncidentVideoUploadTokenResourceArrayResponseFromJSONTyped(json, false);
47
- }
48
-
49
- export function IncidentVideoUploadTokenResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentVideoUploadTokenResourceArrayResponse {
50
- if (json == null) {
51
- return json;
52
- }
53
- return {
54
-
55
- 'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(IncidentVideoUploadTokenResourceFromJSON)),
56
- };
57
- }
58
-
59
- export function IncidentVideoUploadTokenResourceArrayResponseToJSON(json: any): IncidentVideoUploadTokenResourceArrayResponse {
60
- return IncidentVideoUploadTokenResourceArrayResponseToJSONTyped(json, false);
61
- }
62
-
63
- export function IncidentVideoUploadTokenResourceArrayResponseToJSONTyped(value?: IncidentVideoUploadTokenResourceArrayResponse | 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(IncidentVideoUploadTokenResourceToJSON)),
71
- };
72
- }
73
-