@digital8/security-registers-backend-ts-sdk 0.0.209 → 0.0.210
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 -5
- package/README.md +2 -2
- package/dist/apis/GeneralApi.d.ts +1 -58
- package/dist/apis/GeneralApi.js +0 -286
- package/dist/models/IncidentResource.d.ts +0 -7
- package/dist/models/IncidentResource.js +0 -5
- package/dist/models/RegisterListResource.d.ts +4 -4
- package/dist/models/RegisterListResource.js +6 -5
- package/dist/models/RegisterResource.d.ts +2 -2
- package/dist/models/RegisterResource.js +8 -8
- package/dist/models/RosterListResource.d.ts +1 -1
- package/dist/models/RosterListResource.js +4 -3
- package/dist/models/RosterLiteResource.d.ts +1 -1
- package/dist/models/RosterLiteResource.js +4 -3
- package/dist/models/SecurityCompanyResource.d.ts +1 -1
- package/dist/models/SecurityCompanyResource.js +1 -3
- package/dist/models/index.d.ts +0 -5
- package/dist/models/index.js +0 -5
- package/package.json +1 -1
- package/src/apis/GeneralApi.ts +0 -261
- package/src/models/IncidentResource.ts +0 -16
- package/src/models/RegisterListResource.ts +8 -8
- package/src/models/RegisterResource.ts +6 -6
- package/src/models/RosterListResource.ts +4 -3
- package/src/models/RosterLiteResource.ts +4 -3
- package/src/models/SecurityCompanyResource.ts +2 -3
- package/src/models/index.ts +0 -5
- package/dist/models/IncidentFieldAuditResource.d.ts +0 -56
- package/dist/models/IncidentFieldAuditResource.js +0 -67
- package/dist/models/IncidentFieldAuditResourceArrayResponse.d.ts +0 -33
- package/dist/models/IncidentFieldAuditResourceArrayResponse.js +0 -50
- package/dist/models/IncidentVersionResource.d.ts +0 -69
- package/dist/models/IncidentVersionResource.js +0 -72
- package/dist/models/IncidentVersionResourceArrayResponse.d.ts +0 -33
- package/dist/models/IncidentVersionResourceArrayResponse.js +0 -50
- package/dist/models/IncidentsUpdateRequest.d.ts +0 -32
- package/dist/models/IncidentsUpdateRequest.js +0 -51
- package/src/models/IncidentFieldAuditResource.ts +0 -102
- package/src/models/IncidentFieldAuditResourceArrayResponse.ts +0 -73
- package/src/models/IncidentVersionResource.ts +0 -126
- package/src/models/IncidentVersionResourceArrayResponse.ts +0 -73
- package/src/models/IncidentsUpdateRequest.ts +0 -66
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
/**
|
|
17
|
-
*
|
|
18
|
-
* @export
|
|
19
|
-
* @interface IncidentFieldAuditResource
|
|
20
|
-
*/
|
|
21
|
-
export interface IncidentFieldAuditResource {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {number}
|
|
25
|
-
* @memberof IncidentFieldAuditResource
|
|
26
|
-
*/
|
|
27
|
-
id: number;
|
|
28
|
-
/**
|
|
29
|
-
*
|
|
30
|
-
* @type {string}
|
|
31
|
-
* @memberof IncidentFieldAuditResource
|
|
32
|
-
*/
|
|
33
|
-
sectionKey: string;
|
|
34
|
-
/**
|
|
35
|
-
*
|
|
36
|
-
* @type {string}
|
|
37
|
-
* @memberof IncidentFieldAuditResource
|
|
38
|
-
*/
|
|
39
|
-
fieldKey: string;
|
|
40
|
-
/**
|
|
41
|
-
*
|
|
42
|
-
* @type {string}
|
|
43
|
-
* @memberof IncidentFieldAuditResource
|
|
44
|
-
*/
|
|
45
|
-
previousValue: string;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @type {object}
|
|
49
|
-
* @memberof IncidentFieldAuditResource
|
|
50
|
-
*/
|
|
51
|
-
changedAt: object;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
/**
|
|
55
|
-
* Check if a given object implements the IncidentFieldAuditResource interface.
|
|
56
|
-
*/
|
|
57
|
-
export function instanceOfIncidentFieldAuditResource(value: object): value is IncidentFieldAuditResource {
|
|
58
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
59
|
-
if (!('sectionKey' in value) || value['sectionKey'] === undefined) return false;
|
|
60
|
-
if (!('fieldKey' in value) || value['fieldKey'] === undefined) return false;
|
|
61
|
-
if (!('previousValue' in value) || value['previousValue'] === undefined) return false;
|
|
62
|
-
if (!('changedAt' in value) || value['changedAt'] === undefined) return false;
|
|
63
|
-
return true;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
export function IncidentFieldAuditResourceFromJSON(json: any): IncidentFieldAuditResource {
|
|
67
|
-
return IncidentFieldAuditResourceFromJSONTyped(json, false);
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
export function IncidentFieldAuditResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentFieldAuditResource {
|
|
71
|
-
if (json == null) {
|
|
72
|
-
return json;
|
|
73
|
-
}
|
|
74
|
-
return {
|
|
75
|
-
|
|
76
|
-
'id': json['id'],
|
|
77
|
-
'sectionKey': json['sectionKey'],
|
|
78
|
-
'fieldKey': json['fieldKey'],
|
|
79
|
-
'previousValue': json['previousValue'],
|
|
80
|
-
'changedAt': json['changedAt'],
|
|
81
|
-
};
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
export function IncidentFieldAuditResourceToJSON(json: any): IncidentFieldAuditResource {
|
|
85
|
-
return IncidentFieldAuditResourceToJSONTyped(json, false);
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
export function IncidentFieldAuditResourceToJSONTyped(value?: IncidentFieldAuditResource | null, ignoreDiscriminator: boolean = false): any {
|
|
89
|
-
if (value == null) {
|
|
90
|
-
return value;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
return {
|
|
94
|
-
|
|
95
|
-
'id': value['id'],
|
|
96
|
-
'sectionKey': value['sectionKey'],
|
|
97
|
-
'fieldKey': value['fieldKey'],
|
|
98
|
-
'previousValue': value['previousValue'],
|
|
99
|
-
'changedAt': value['changedAt'],
|
|
100
|
-
};
|
|
101
|
-
}
|
|
102
|
-
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* My API
|
|
5
|
-
* API documentation for my Laravel app
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
|
|
15
|
-
import { mapValues } from '../runtime';
|
|
16
|
-
import type { IncidentFieldAuditResource } from './IncidentFieldAuditResource';
|
|
17
|
-
import {
|
|
18
|
-
IncidentFieldAuditResourceFromJSON,
|
|
19
|
-
IncidentFieldAuditResourceFromJSONTyped,
|
|
20
|
-
IncidentFieldAuditResourceToJSON,
|
|
21
|
-
IncidentFieldAuditResourceToJSONTyped,
|
|
22
|
-
} from './IncidentFieldAuditResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface IncidentFieldAuditResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface IncidentFieldAuditResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<IncidentFieldAuditResource>}
|
|
33
|
-
* @memberof IncidentFieldAuditResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<IncidentFieldAuditResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the IncidentFieldAuditResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfIncidentFieldAuditResourceArrayResponse(value: object): value is IncidentFieldAuditResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function IncidentFieldAuditResourceArrayResponseFromJSON(json: any): IncidentFieldAuditResourceArrayResponse {
|
|
46
|
-
return IncidentFieldAuditResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function IncidentFieldAuditResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentFieldAuditResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(IncidentFieldAuditResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function IncidentFieldAuditResourceArrayResponseToJSON(json: any): IncidentFieldAuditResourceArrayResponse {
|
|
60
|
-
return IncidentFieldAuditResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function IncidentFieldAuditResourceArrayResponseToJSONTyped(value?: IncidentFieldAuditResourceArrayResponse | null, ignoreDiscriminator: boolean = false): any {
|
|
64
|
-
if (value == null) {
|
|
65
|
-
return value;
|
|
66
|
-
}
|
|
67
|
-
|
|
68
|
-
return {
|
|
69
|
-
|
|
70
|
-
'data': value['data'] == null ? undefined : ((value['data'] as Array<any>).map(IncidentFieldAuditResourceToJSON)),
|
|
71
|
-
};
|
|
72
|
-
}
|
|
73
|
-
|
|
@@ -1,126 +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 { UserLiteResource } from './UserLiteResource';
|
|
17
|
-
import {
|
|
18
|
-
UserLiteResourceFromJSON,
|
|
19
|
-
UserLiteResourceFromJSONTyped,
|
|
20
|
-
UserLiteResourceToJSON,
|
|
21
|
-
UserLiteResourceToJSONTyped,
|
|
22
|
-
} from './UserLiteResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface IncidentVersionResource
|
|
28
|
-
*/
|
|
29
|
-
export interface IncidentVersionResource {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {number}
|
|
33
|
-
* @memberof IncidentVersionResource
|
|
34
|
-
*/
|
|
35
|
-
id: number;
|
|
36
|
-
/**
|
|
37
|
-
*
|
|
38
|
-
* @type {number}
|
|
39
|
-
* @memberof IncidentVersionResource
|
|
40
|
-
*/
|
|
41
|
-
incidentId?: number | null;
|
|
42
|
-
/**
|
|
43
|
-
*
|
|
44
|
-
* @type {number}
|
|
45
|
-
* @memberof IncidentVersionResource
|
|
46
|
-
*/
|
|
47
|
-
versionNumber: number;
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @type {number}
|
|
51
|
-
* @memberof IncidentVersionResource
|
|
52
|
-
*/
|
|
53
|
-
userId?: number | null;
|
|
54
|
-
/**
|
|
55
|
-
*
|
|
56
|
-
* @type {UserLiteResource}
|
|
57
|
-
* @memberof IncidentVersionResource
|
|
58
|
-
*/
|
|
59
|
-
user: UserLiteResource | null;
|
|
60
|
-
/**
|
|
61
|
-
*
|
|
62
|
-
* @type {Array<boolean>}
|
|
63
|
-
* @memberof IncidentVersionResource
|
|
64
|
-
*/
|
|
65
|
-
fieldData: Array<boolean>;
|
|
66
|
-
/**
|
|
67
|
-
*
|
|
68
|
-
* @type {Date}
|
|
69
|
-
* @memberof IncidentVersionResource
|
|
70
|
-
*/
|
|
71
|
-
createdAt: Date;
|
|
72
|
-
}
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* Check if a given object implements the IncidentVersionResource interface.
|
|
76
|
-
*/
|
|
77
|
-
export function instanceOfIncidentVersionResource(value: object): value is IncidentVersionResource {
|
|
78
|
-
if (!('id' in value) || value['id'] === undefined) return false;
|
|
79
|
-
if (!('versionNumber' in value) || value['versionNumber'] === undefined) return false;
|
|
80
|
-
if (!('user' in value) || value['user'] === undefined) return false;
|
|
81
|
-
if (!('fieldData' in value) || value['fieldData'] === undefined) return false;
|
|
82
|
-
if (!('createdAt' in value) || value['createdAt'] === undefined) return false;
|
|
83
|
-
return true;
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
export function IncidentVersionResourceFromJSON(json: any): IncidentVersionResource {
|
|
87
|
-
return IncidentVersionResourceFromJSONTyped(json, false);
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
export function IncidentVersionResourceFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentVersionResource {
|
|
91
|
-
if (json == null) {
|
|
92
|
-
return json;
|
|
93
|
-
}
|
|
94
|
-
return {
|
|
95
|
-
|
|
96
|
-
'id': json['id'],
|
|
97
|
-
'incidentId': json['incidentId'] == null ? undefined : json['incidentId'],
|
|
98
|
-
'versionNumber': json['versionNumber'],
|
|
99
|
-
'userId': json['userId'] == null ? undefined : json['userId'],
|
|
100
|
-
'user': UserLiteResourceFromJSON(json['user']),
|
|
101
|
-
'fieldData': json['fieldData'],
|
|
102
|
-
'createdAt': (new Date(json['createdAt'])),
|
|
103
|
-
};
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
export function IncidentVersionResourceToJSON(json: any): IncidentVersionResource {
|
|
107
|
-
return IncidentVersionResourceToJSONTyped(json, false);
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
export function IncidentVersionResourceToJSONTyped(value?: IncidentVersionResource | null, ignoreDiscriminator: boolean = false): any {
|
|
111
|
-
if (value == null) {
|
|
112
|
-
return value;
|
|
113
|
-
}
|
|
114
|
-
|
|
115
|
-
return {
|
|
116
|
-
|
|
117
|
-
'id': value['id'],
|
|
118
|
-
'incidentId': value['incidentId'],
|
|
119
|
-
'versionNumber': value['versionNumber'],
|
|
120
|
-
'userId': value['userId'],
|
|
121
|
-
'user': UserLiteResourceToJSON(value['user']),
|
|
122
|
-
'fieldData': value['fieldData'],
|
|
123
|
-
'createdAt': ((value['createdAt']).toISOString()),
|
|
124
|
-
};
|
|
125
|
-
}
|
|
126
|
-
|
|
@@ -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 { IncidentVersionResource } from './IncidentVersionResource';
|
|
17
|
-
import {
|
|
18
|
-
IncidentVersionResourceFromJSON,
|
|
19
|
-
IncidentVersionResourceFromJSONTyped,
|
|
20
|
-
IncidentVersionResourceToJSON,
|
|
21
|
-
IncidentVersionResourceToJSONTyped,
|
|
22
|
-
} from './IncidentVersionResource';
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @export
|
|
27
|
-
* @interface IncidentVersionResourceArrayResponse
|
|
28
|
-
*/
|
|
29
|
-
export interface IncidentVersionResourceArrayResponse {
|
|
30
|
-
/**
|
|
31
|
-
*
|
|
32
|
-
* @type {Array<IncidentVersionResource>}
|
|
33
|
-
* @memberof IncidentVersionResourceArrayResponse
|
|
34
|
-
*/
|
|
35
|
-
data?: Array<IncidentVersionResource>;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
/**
|
|
39
|
-
* Check if a given object implements the IncidentVersionResourceArrayResponse interface.
|
|
40
|
-
*/
|
|
41
|
-
export function instanceOfIncidentVersionResourceArrayResponse(value: object): value is IncidentVersionResourceArrayResponse {
|
|
42
|
-
return true;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
export function IncidentVersionResourceArrayResponseFromJSON(json: any): IncidentVersionResourceArrayResponse {
|
|
46
|
-
return IncidentVersionResourceArrayResponseFromJSONTyped(json, false);
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
export function IncidentVersionResourceArrayResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentVersionResourceArrayResponse {
|
|
50
|
-
if (json == null) {
|
|
51
|
-
return json;
|
|
52
|
-
}
|
|
53
|
-
return {
|
|
54
|
-
|
|
55
|
-
'data': json['data'] == null ? undefined : ((json['data'] as Array<any>).map(IncidentVersionResourceFromJSON)),
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
export function IncidentVersionResourceArrayResponseToJSON(json: any): IncidentVersionResourceArrayResponse {
|
|
60
|
-
return IncidentVersionResourceArrayResponseToJSONTyped(json, false);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
export function IncidentVersionResourceArrayResponseToJSONTyped(value?: IncidentVersionResourceArrayResponse | 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(IncidentVersionResourceToJSON)),
|
|
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 IncidentsUpdateRequest
|
|
20
|
-
*/
|
|
21
|
-
export interface IncidentsUpdateRequest {
|
|
22
|
-
/**
|
|
23
|
-
*
|
|
24
|
-
* @type {Array<string>}
|
|
25
|
-
* @memberof IncidentsUpdateRequest
|
|
26
|
-
*/
|
|
27
|
-
fields: Array<string>;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* Check if a given object implements the IncidentsUpdateRequest interface.
|
|
32
|
-
*/
|
|
33
|
-
export function instanceOfIncidentsUpdateRequest(value: object): value is IncidentsUpdateRequest {
|
|
34
|
-
if (!('fields' in value) || value['fields'] === undefined) return false;
|
|
35
|
-
return true;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
export function IncidentsUpdateRequestFromJSON(json: any): IncidentsUpdateRequest {
|
|
39
|
-
return IncidentsUpdateRequestFromJSONTyped(json, false);
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
export function IncidentsUpdateRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): IncidentsUpdateRequest {
|
|
43
|
-
if (json == null) {
|
|
44
|
-
return json;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
|
|
48
|
-
'fields': json['fields'],
|
|
49
|
-
};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
export function IncidentsUpdateRequestToJSON(json: any): IncidentsUpdateRequest {
|
|
53
|
-
return IncidentsUpdateRequestToJSONTyped(json, false);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
export function IncidentsUpdateRequestToJSONTyped(value?: IncidentsUpdateRequest | null, ignoreDiscriminator: boolean = false): any {
|
|
57
|
-
if (value == null) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
return {
|
|
62
|
-
|
|
63
|
-
'fields': value['fields'],
|
|
64
|
-
};
|
|
65
|
-
}
|
|
66
|
-
|