@otr-app/shared-backend-generated-client 2.4.52 → 2.4.54

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.
Files changed (39) hide show
  1. package/dist/angular/.openapi-generator/FILES +3 -0
  2. package/dist/angular/api/ocrPredictionController.service.ts +60 -0
  3. package/dist/angular/api/userAccountController.service.ts +76 -0
  4. package/dist/angular/model/associateOAuthAccountRequest.ts +34 -0
  5. package/dist/angular/model/associateOAuthAccountResponse.ts +20 -0
  6. package/dist/angular/model/models.ts +3 -0
  7. package/dist/angular/model/oCRCitationPredictionResponse.ts +44 -0
  8. package/dist/angular/model/validateDirectMailResponse.ts +2 -1
  9. package/dist/otrBackendService.js +79 -0
  10. package/dist/otrBackendService.min.js +3 -3
  11. package/dist/typescript/api/OcrPredictionControllerApi.d.ts +6 -0
  12. package/dist/typescript/api/OcrPredictionControllerApi.js +25 -0
  13. package/dist/typescript/api/UserAccountControllerApi.d.ts +7 -0
  14. package/dist/typescript/api/UserAccountControllerApi.js +31 -0
  15. package/dist/typescript/model/AssociateOAuthAccountRequest.d.ts +29 -0
  16. package/dist/typescript/model/AssociateOAuthAccountRequest.js +24 -0
  17. package/dist/typescript/model/AssociateOAuthAccountResponse.d.ts +17 -0
  18. package/dist/typescript/model/AssociateOAuthAccountResponse.js +12 -0
  19. package/dist/typescript/model/OCRCitationPredictionResponse.d.ts +38 -0
  20. package/dist/typescript/model/OCRCitationPredictionResponse.js +31 -0
  21. package/dist/typescript/model/ValidateDirectMailResponse.d.ts +1 -0
  22. package/dist/typescript/model/ValidateDirectMailResponse.js +1 -0
  23. package/dist/typescript/model/models.d.ts +3 -0
  24. package/dist/typescript/model/models.js +3 -0
  25. package/dist/typescript-fetch/apis/OcrPredictionControllerApi.d.ts +12 -1
  26. package/dist/typescript-fetch/apis/OcrPredictionControllerApi.js +29 -1
  27. package/dist/typescript-fetch/apis/UserAccountControllerApi.d.ts +13 -1
  28. package/dist/typescript-fetch/apis/UserAccountControllerApi.js +34 -1
  29. package/dist/typescript-fetch/models/AssociateOAuthAccountRequest.d.ts +64 -0
  30. package/dist/typescript-fetch/models/AssociateOAuthAccountRequest.js +58 -0
  31. package/dist/typescript-fetch/models/AssociateOAuthAccountResponse.d.ts +45 -0
  32. package/dist/typescript-fetch/models/AssociateOAuthAccountResponse.js +42 -0
  33. package/dist/typescript-fetch/models/OCRCitationPredictionResponse.d.ts +92 -0
  34. package/dist/typescript-fetch/models/OCRCitationPredictionResponse.js +75 -0
  35. package/dist/typescript-fetch/models/ValidateDirectMailResponse.d.ts +1 -0
  36. package/dist/typescript-fetch/models/ValidateDirectMailResponse.js +1 -0
  37. package/dist/typescript-fetch/models/index.d.ts +3 -0
  38. package/dist/typescript-fetch/models/index.js +3 -0
  39. package/package.json +1 -1
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OffTheRecord Rest Service API - Devo
5
+ * A service to handle your traffic tickets
6
+ *
7
+ * The version of the OpenAPI document: 1.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
+ import { exists } from '../runtime';
15
+ export function AssociateOAuthAccountResponseFromJSON(json) {
16
+ return AssociateOAuthAccountResponseFromJSONTyped(json, false);
17
+ }
18
+ export function AssociateOAuthAccountResponseFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'emailAddress': !exists(json, 'emailAddress') ? undefined : json['emailAddress'],
24
+ 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
25
+ 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
26
+ 'signedProfilePictureUrl': !exists(json, 'signedProfilePictureUrl') ? undefined : json['signedProfilePictureUrl'],
27
+ };
28
+ }
29
+ export function AssociateOAuthAccountResponseToJSON(value) {
30
+ if (value === undefined) {
31
+ return undefined;
32
+ }
33
+ if (value === null) {
34
+ return null;
35
+ }
36
+ return {
37
+ 'emailAddress': value.emailAddress,
38
+ 'firstName': value.firstName,
39
+ 'lastName': value.lastName,
40
+ 'signedProfilePictureUrl': value.signedProfilePictureUrl,
41
+ };
42
+ }
@@ -0,0 +1,92 @@
1
+ /**
2
+ * OffTheRecord Rest Service API - Devo
3
+ * A service to handle your traffic tickets
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface OCRCitationPredictionResponse
16
+ */
17
+ export interface OCRCitationPredictionResponse {
18
+ /**
19
+ *
20
+ * @type {Date}
21
+ * @memberof OCRCitationPredictionResponse
22
+ */
23
+ citationIssueDate?: Date;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof OCRCitationPredictionResponse
28
+ */
29
+ courtName?: string;
30
+ /**
31
+ *
32
+ * @type {Date}
33
+ * @memberof OCRCitationPredictionResponse
34
+ */
35
+ dateOfBirth?: Date;
36
+ /**
37
+ *
38
+ * @type {string}
39
+ * @memberof OCRCitationPredictionResponse
40
+ */
41
+ firstName?: string;
42
+ /**
43
+ *
44
+ * @type {string}
45
+ * @memberof OCRCitationPredictionResponse
46
+ */
47
+ lastName?: string;
48
+ /**
49
+ *
50
+ * @type {string}
51
+ * @memberof OCRCitationPredictionResponse
52
+ */
53
+ licenseNumber?: string;
54
+ /**
55
+ *
56
+ * @type {string}
57
+ * @memberof OCRCitationPredictionResponse
58
+ */
59
+ race?: OCRCitationPredictionResponseRaceEnum;
60
+ /**
61
+ *
62
+ * @type {string}
63
+ * @memberof OCRCitationPredictionResponse
64
+ */
65
+ sex?: OCRCitationPredictionResponseSexEnum;
66
+ }
67
+ export declare function OCRCitationPredictionResponseFromJSON(json: any): OCRCitationPredictionResponse;
68
+ export declare function OCRCitationPredictionResponseFromJSONTyped(json: any, ignoreDiscriminator: boolean): OCRCitationPredictionResponse;
69
+ export declare function OCRCitationPredictionResponseToJSON(value?: OCRCitationPredictionResponse | null): any;
70
+ /**
71
+ * @export
72
+ * @enum {string}
73
+ */
74
+ export declare enum OCRCitationPredictionResponseRaceEnum {
75
+ AmericanIndian = "american_indian",
76
+ Asian = "asian",
77
+ Black = "black",
78
+ LatinoHispanic = "latino_hispanic",
79
+ MiddleEastern = "middle_eastern",
80
+ Other = "other",
81
+ PacificIslander = "pacific_islander",
82
+ White = "white"
83
+ }
84
+ /**
85
+ * @export
86
+ * @enum {string}
87
+ */
88
+ export declare enum OCRCitationPredictionResponseSexEnum {
89
+ F = "F",
90
+ M = "M",
91
+ U = "U"
92
+ }
@@ -0,0 +1,75 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * OffTheRecord Rest Service API - Devo
5
+ * A service to handle your traffic tickets
6
+ *
7
+ * The version of the OpenAPI document: 1.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
+ import { exists } from '../runtime';
15
+ export function OCRCitationPredictionResponseFromJSON(json) {
16
+ return OCRCitationPredictionResponseFromJSONTyped(json, false);
17
+ }
18
+ export function OCRCitationPredictionResponseFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'citationIssueDate': !exists(json, 'citationIssueDate') ? undefined : (new Date(json['citationIssueDate'])),
24
+ 'courtName': !exists(json, 'courtName') ? undefined : json['courtName'],
25
+ 'dateOfBirth': !exists(json, 'dateOfBirth') ? undefined : (new Date(json['dateOfBirth'])),
26
+ 'firstName': !exists(json, 'firstName') ? undefined : json['firstName'],
27
+ 'lastName': !exists(json, 'lastName') ? undefined : json['lastName'],
28
+ 'licenseNumber': !exists(json, 'licenseNumber') ? undefined : json['licenseNumber'],
29
+ 'race': !exists(json, 'race') ? undefined : json['race'],
30
+ 'sex': !exists(json, 'sex') ? undefined : json['sex'],
31
+ };
32
+ }
33
+ export function OCRCitationPredictionResponseToJSON(value) {
34
+ if (value === undefined) {
35
+ return undefined;
36
+ }
37
+ if (value === null) {
38
+ return null;
39
+ }
40
+ return {
41
+ 'citationIssueDate': value.citationIssueDate === undefined ? undefined : (value.citationIssueDate.toISOString().substr(0, 10)),
42
+ 'courtName': value.courtName,
43
+ 'dateOfBirth': value.dateOfBirth === undefined ? undefined : (value.dateOfBirth.toISOString().substr(0, 10)),
44
+ 'firstName': value.firstName,
45
+ 'lastName': value.lastName,
46
+ 'licenseNumber': value.licenseNumber,
47
+ 'race': value.race,
48
+ 'sex': value.sex,
49
+ };
50
+ }
51
+ /**
52
+ * @export
53
+ * @enum {string}
54
+ */
55
+ export var OCRCitationPredictionResponseRaceEnum;
56
+ (function (OCRCitationPredictionResponseRaceEnum) {
57
+ OCRCitationPredictionResponseRaceEnum["AmericanIndian"] = "american_indian";
58
+ OCRCitationPredictionResponseRaceEnum["Asian"] = "asian";
59
+ OCRCitationPredictionResponseRaceEnum["Black"] = "black";
60
+ OCRCitationPredictionResponseRaceEnum["LatinoHispanic"] = "latino_hispanic";
61
+ OCRCitationPredictionResponseRaceEnum["MiddleEastern"] = "middle_eastern";
62
+ OCRCitationPredictionResponseRaceEnum["Other"] = "other";
63
+ OCRCitationPredictionResponseRaceEnum["PacificIslander"] = "pacific_islander";
64
+ OCRCitationPredictionResponseRaceEnum["White"] = "white";
65
+ })(OCRCitationPredictionResponseRaceEnum || (OCRCitationPredictionResponseRaceEnum = {}));
66
+ /**
67
+ * @export
68
+ * @enum {string}
69
+ */
70
+ export var OCRCitationPredictionResponseSexEnum;
71
+ (function (OCRCitationPredictionResponseSexEnum) {
72
+ OCRCitationPredictionResponseSexEnum["F"] = "F";
73
+ OCRCitationPredictionResponseSexEnum["M"] = "M";
74
+ OCRCitationPredictionResponseSexEnum["U"] = "U";
75
+ })(OCRCitationPredictionResponseSexEnum || (OCRCitationPredictionResponseSexEnum = {}));
@@ -158,6 +158,7 @@ export declare enum ValidateDirectMailResponseOtrErrorEnum {
158
158
  INVALIDRESOLUTIONSTATUS = "INVALID_RESOLUTION_STATUS",
159
159
  INVALIDREVIEWCOPY = "INVALID_REVIEW_COPY",
160
160
  INVALIDROLETYPE = "INVALID_ROLE_TYPE",
161
+ INVALIDSOCIALLOGINPROVIDER = "INVALID_SOCIAL_LOGIN_PROVIDER",
161
162
  INVALIDSTATE = "INVALID_STATE",
162
163
  INVALIDSTRIPEACCOUNT = "INVALID_STRIPE_ACCOUNT",
163
164
  INVALIDSTRIPECHARGEID = "INVALID_STRIPE_CHARGE_ID",
@@ -168,6 +168,7 @@ export var ValidateDirectMailResponseOtrErrorEnum;
168
168
  ValidateDirectMailResponseOtrErrorEnum["INVALIDRESOLUTIONSTATUS"] = "INVALID_RESOLUTION_STATUS";
169
169
  ValidateDirectMailResponseOtrErrorEnum["INVALIDREVIEWCOPY"] = "INVALID_REVIEW_COPY";
170
170
  ValidateDirectMailResponseOtrErrorEnum["INVALIDROLETYPE"] = "INVALID_ROLE_TYPE";
171
+ ValidateDirectMailResponseOtrErrorEnum["INVALIDSOCIALLOGINPROVIDER"] = "INVALID_SOCIAL_LOGIN_PROVIDER";
171
172
  ValidateDirectMailResponseOtrErrorEnum["INVALIDSTATE"] = "INVALID_STATE";
172
173
  ValidateDirectMailResponseOtrErrorEnum["INVALIDSTRIPEACCOUNT"] = "INVALID_STRIPE_ACCOUNT";
173
174
  ValidateDirectMailResponseOtrErrorEnum["INVALIDSTRIPECHARGEID"] = "INVALID_STRIPE_CHARGE_ID";
@@ -45,6 +45,8 @@ export * from './AppEventCreateRequest';
45
45
  export * from './AppearanceAttorneyDomain';
46
46
  export * from './AppleLoginRequest';
47
47
  export * from './AssignCitationOwnerRequest';
48
+ export * from './AssociateOAuthAccountRequest';
49
+ export * from './AssociateOAuthAccountResponse';
48
50
  export * from './Attachment';
49
51
  export * from './AuditLog';
50
52
  export * from './Author';
@@ -530,6 +532,7 @@ export * from './NoteEntity';
530
532
  export * from './NoteModel';
531
533
  export * from './NotificationEvent';
532
534
  export * from './NotificationEvents';
535
+ export * from './OCRCitationPredictionResponse';
533
536
  export * from './OCRCourtModel';
534
537
  export * from './OCRPredictionCaseResponse';
535
538
  export * from './OCRViolationModel';
@@ -45,6 +45,8 @@ export * from './AppEventCreateRequest';
45
45
  export * from './AppearanceAttorneyDomain';
46
46
  export * from './AppleLoginRequest';
47
47
  export * from './AssignCitationOwnerRequest';
48
+ export * from './AssociateOAuthAccountRequest';
49
+ export * from './AssociateOAuthAccountResponse';
48
50
  export * from './Attachment';
49
51
  export * from './AuditLog';
50
52
  export * from './Author';
@@ -530,6 +532,7 @@ export * from './NoteEntity';
530
532
  export * from './NoteModel';
531
533
  export * from './NotificationEvent';
532
534
  export * from './NotificationEvents';
535
+ export * from './OCRCitationPredictionResponse';
533
536
  export * from './OCRCourtModel';
534
537
  export * from './OCRPredictionCaseResponse';
535
538
  export * from './OCRViolationModel';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.4.52",
3
+ "version": "2.4.54",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"