@otr-app/shared-backend-generated-client 2.4.55 → 2.4.57

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.
@@ -17,10 +17,10 @@
17
17
  export interface OCRCitationPredictionResponse {
18
18
  /**
19
19
  *
20
- * @type {Date}
20
+ * @type {string}
21
21
  * @memberof OCRCitationPredictionResponse
22
22
  */
23
- citationIssueDate?: Date;
23
+ citationIssueDate?: string;
24
24
  /**
25
25
  *
26
26
  * @type {string}
@@ -29,10 +29,10 @@ export interface OCRCitationPredictionResponse {
29
29
  courtName?: string;
30
30
  /**
31
31
  *
32
- * @type {Date}
32
+ * @type {string}
33
33
  * @memberof OCRCitationPredictionResponse
34
34
  */
35
- dateOfBirth?: Date;
35
+ dateOfBirth?: string;
36
36
  /**
37
37
  *
38
38
  * @type {string}
@@ -20,9 +20,9 @@ export function OCRCitationPredictionResponseFromJSONTyped(json, ignoreDiscrimin
20
20
  return json;
21
21
  }
22
22
  return {
23
- 'citationIssueDate': !exists(json, 'citationIssueDate') ? undefined : (new Date(json['citationIssueDate'])),
23
+ 'citationIssueDate': !exists(json, 'citationIssueDate') ? undefined : json['citationIssueDate'],
24
24
  'courtName': !exists(json, 'courtName') ? undefined : json['courtName'],
25
- 'dateOfBirth': !exists(json, 'dateOfBirth') ? undefined : (new Date(json['dateOfBirth'])),
25
+ 'dateOfBirth': !exists(json, 'dateOfBirth') ? undefined : json['dateOfBirth'],
26
26
  'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
27
27
  'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
28
28
  'licenseNumber': !exists(json, 'licenseNumber') ? undefined : json['licenseNumber'],
@@ -38,9 +38,9 @@ export function OCRCitationPredictionResponseToJSON(value) {
38
38
  return null;
39
39
  }
40
40
  return {
41
- 'citationIssueDate': value.citationIssueDate === undefined ? undefined : (value.citationIssueDate.toISOString().substr(0, 10)),
41
+ 'citationIssueDate': value.citationIssueDate,
42
42
  'courtName': value.courtName,
43
- 'dateOfBirth': value.dateOfBirth === undefined ? undefined : (value.dateOfBirth.toISOString().substr(0, 10)),
43
+ 'dateOfBirth': value.dateOfBirth,
44
44
  'firstName': value.firstName,
45
45
  'lastName': value.lastName,
46
46
  'licenseNumber': value.licenseNumber,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.4.55",
3
+ "version": "2.4.57",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"