@otr-app/shared-backend-generated-client 2.4.76 → 2.4.78

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.
@@ -13,6 +13,7 @@ import { CasePaymentBreakdownItemModel } from './casePaymentBreakdownItemModel';
13
13
 
14
14
 
15
15
  export interface CasePaymentModel {
16
+ authorizationDateUtc?: string;
16
17
  captureDateUtc?: string;
17
18
  dueDate?: string;
18
19
  dueNow?: boolean;
@@ -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
  }
@@ -11,6 +11,7 @@
11
11
  */
12
12
  import * as models from './models';
13
13
  export interface CasePaymentModel {
14
+ "authorizationDateUtc"?: string;
14
15
  "captureDateUtc"?: string;
15
16
  "dueDate"?: string;
16
17
  "dueNow"?: boolean;
@@ -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
  }
@@ -16,6 +16,12 @@ import { CasePaymentBreakdownItemModel } from './';
16
16
  * @interface CasePaymentModel
17
17
  */
18
18
  export interface CasePaymentModel {
19
+ /**
20
+ *
21
+ * @type {Date}
22
+ * @memberof CasePaymentModel
23
+ */
24
+ authorizationDateUtc?: Date;
19
25
  /**
20
26
  *
21
27
  * @type {Date}
@@ -21,6 +21,7 @@ export function CasePaymentModelFromJSONTyped(json, ignoreDiscriminator) {
21
21
  return json;
22
22
  }
23
23
  return {
24
+ 'authorizationDateUtc': !exists(json, 'authorizationDateUtc') ? undefined : (new Date(json['authorizationDateUtc'])),
24
25
  'captureDateUtc': !exists(json, 'captureDateUtc') ? undefined : (new Date(json['captureDateUtc'])),
25
26
  'dueDate': !exists(json, 'dueDate') ? undefined : (new Date(json['dueDate'])),
26
27
  'dueNow': !exists(json, 'dueNow') ? undefined : json['dueNow'],
@@ -37,6 +38,7 @@ export function CasePaymentModelToJSON(value) {
37
38
  return null;
38
39
  }
39
40
  return {
41
+ 'authorizationDateUtc': value.authorizationDateUtc === undefined ? undefined : (value.authorizationDateUtc.toISOString()),
40
42
  'captureDateUtc': value.captureDateUtc === undefined ? undefined : (value.captureDateUtc.toISOString()),
41
43
  'dueDate': value.dueDate === undefined ? undefined : (value.dueDate.toISOString()),
42
44
  'dueNow': value.dueNow,
@@ -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.78",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"