@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
- creationDateUTC?: Timestamp;
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
- "creationDateUTC"?: models.Timestamp;
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, Timestamp } from './';
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 {Timestamp}
33
+ * @type {Date}
34
34
  * @memberof CitationAuditLog
35
35
  */
36
- creationDateUTC?: Timestamp;
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, TimestampFromJSON, TimestampToJSON, } from './';
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
- 'creationDateUTC': !exists(json, 'creationDateUTC') ? undefined : TimestampFromJSON(json['creationDateUTC']),
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
- 'creationDateUTC': TimestampToJSON(value.creationDateUTC),
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
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.4.76",
3
+ "version": "2.4.77",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"