@otr-app/shared-backend-generated-client 2.4.76 → 2.4.77
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.
|
@@ -9,14 +9,13 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { Timestamp } from './timestamp';
|
|
13
12
|
import { AuditLog } from './auditLog';
|
|
14
13
|
|
|
15
14
|
|
|
16
15
|
export interface CitationAuditLog {
|
|
17
16
|
auditLogType?: CitationAuditLog.AuditLogTypeEnum;
|
|
18
17
|
citationId?: number;
|
|
19
|
-
|
|
18
|
+
eventDateUtc?: string;
|
|
20
19
|
isActive?: boolean;
|
|
21
20
|
logTrails?: Array<AuditLog>;
|
|
22
21
|
}
|
|
@@ -13,7 +13,7 @@ import * as models from './models';
|
|
|
13
13
|
export interface CitationAuditLog {
|
|
14
14
|
"auditLogType"?: CitationAuditLog.AuditLogTypeEnum;
|
|
15
15
|
"citationId"?: number;
|
|
16
|
-
"
|
|
16
|
+
"eventDateUtc"?: string;
|
|
17
17
|
"isActive"?: boolean;
|
|
18
18
|
"logTrails"?: Array<models.AuditLog>;
|
|
19
19
|
}
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { AuditLog
|
|
12
|
+
import { AuditLog } from './';
|
|
13
13
|
/**
|
|
14
14
|
*
|
|
15
15
|
* @export
|
|
@@ -30,10 +30,10 @@ export interface CitationAuditLog {
|
|
|
30
30
|
citationId?: number;
|
|
31
31
|
/**
|
|
32
32
|
*
|
|
33
|
-
* @type {
|
|
33
|
+
* @type {Date}
|
|
34
34
|
* @memberof CitationAuditLog
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
eventDateUtc?: Date;
|
|
37
37
|
/**
|
|
38
38
|
*
|
|
39
39
|
* @type {boolean}
|
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
* Do not edit the class manually.
|
|
13
13
|
*/
|
|
14
14
|
import { exists } from '../runtime';
|
|
15
|
-
import { AuditLogFromJSON, AuditLogToJSON,
|
|
15
|
+
import { AuditLogFromJSON, AuditLogToJSON, } from './';
|
|
16
16
|
export function CitationAuditLogFromJSON(json) {
|
|
17
17
|
return CitationAuditLogFromJSONTyped(json, false);
|
|
18
18
|
}
|
|
@@ -23,7 +23,7 @@ export function CitationAuditLogFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
23
23
|
return {
|
|
24
24
|
'auditLogType': !exists(json, 'auditLogType') ? undefined : json['auditLogType'],
|
|
25
25
|
'citationId': !exists(json, 'citationId') ? undefined : json['citationId'],
|
|
26
|
-
'
|
|
26
|
+
'eventDateUtc': !exists(json, 'eventDateUtc') ? undefined : (new Date(json['eventDateUtc'])),
|
|
27
27
|
'isActive': !exists(json, 'isActive') ? undefined : json['isActive'],
|
|
28
28
|
'logTrails': !exists(json, 'logTrails') ? undefined : (json['logTrails'].map(AuditLogFromJSON)),
|
|
29
29
|
};
|
|
@@ -38,7 +38,7 @@ export function CitationAuditLogToJSON(value) {
|
|
|
38
38
|
return {
|
|
39
39
|
'auditLogType': value.auditLogType,
|
|
40
40
|
'citationId': value.citationId,
|
|
41
|
-
'
|
|
41
|
+
'eventDateUtc': value.eventDateUtc === undefined ? undefined : (value.eventDateUtc.toISOString()),
|
|
42
42
|
'isActive': value.isActive,
|
|
43
43
|
'logTrails': value.logTrails === undefined ? undefined : (value.logTrails.map(AuditLogToJSON)),
|
|
44
44
|
};
|