@otr-app/shared-backend-generated-client 2.3.139 → 2.3.141

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.
@@ -18,6 +18,12 @@ export declare class ReferralControllerApi {
18
18
  defaultHeaders: any;
19
19
  static $inject: string[];
20
20
  constructor($http: ng.IHttpService, $httpParamSerializer?: (d: any) => any, basePath?: string);
21
+ /**
22
+ *
23
+ * @summary addReferral
24
+ * @param request request
25
+ */
26
+ addReferralUsingPOST(request: models.AddReferralRequest, extraHttpRequestParams?: any): ng.IHttpPromise<{}>;
21
27
  /**
22
28
  *
23
29
  * @summary getReferralHistory
@@ -23,6 +23,31 @@ var ReferralControllerApi = /** @class */ (function () {
23
23
  this.basePath = basePath;
24
24
  }
25
25
  }
26
+ /**
27
+ *
28
+ * @summary addReferral
29
+ * @param request request
30
+ */
31
+ ReferralControllerApi.prototype.addReferralUsingPOST = function (request, extraHttpRequestParams) {
32
+ var localVarPath = this.basePath + '/api/v1/referrals';
33
+ var queryParameters = {};
34
+ var headerParams = Object.assign({}, this.defaultHeaders);
35
+ // verify required parameter 'request' is not null or undefined
36
+ if (request === null || request === undefined) {
37
+ throw new Error('Required parameter request was null or undefined when calling addReferralUsingPOST.');
38
+ }
39
+ var httpRequestParams = {
40
+ method: 'POST',
41
+ url: localVarPath,
42
+ data: request,
43
+ params: queryParameters,
44
+ headers: headerParams
45
+ };
46
+ if (extraHttpRequestParams) {
47
+ httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
48
+ }
49
+ return this.$http(httpRequestParams);
50
+ };
26
51
  /**
27
52
  *
28
53
  * @summary getReferralHistory
@@ -0,0 +1,24 @@
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
+ export interface AddReferralRequest {
13
+ "caseId"?: string;
14
+ "referralEvent"?: AddReferralRequest.ReferralEventEnum;
15
+ "referrerUserId"?: number;
16
+ }
17
+ export declare namespace AddReferralRequest {
18
+ enum ReferralEventEnum {
19
+ CASEBOOKING,
20
+ CASEMATCH,
21
+ INVITE,
22
+ REGISTRATION
23
+ }
24
+ }
@@ -0,0 +1,24 @@
1
+ "use strict";
2
+ /**
3
+ * OffTheRecord Rest Service API - Devo
4
+ * A service to handle your traffic tickets
5
+ *
6
+ * The version of the OpenAPI document: 1.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.AddReferralRequest = void 0;
15
+ var AddReferralRequest;
16
+ (function (AddReferralRequest) {
17
+ var ReferralEventEnum;
18
+ (function (ReferralEventEnum) {
19
+ ReferralEventEnum[ReferralEventEnum["CASEBOOKING"] = 'CASE_BOOKING'] = "CASEBOOKING";
20
+ ReferralEventEnum[ReferralEventEnum["CASEMATCH"] = 'CASE_MATCH'] = "CASEMATCH";
21
+ ReferralEventEnum[ReferralEventEnum["INVITE"] = 'INVITE'] = "INVITE";
22
+ ReferralEventEnum[ReferralEventEnum["REGISTRATION"] = 'REGISTRATION'] = "REGISTRATION";
23
+ })(ReferralEventEnum = AddReferralRequest.ReferralEventEnum || (AddReferralRequest.ReferralEventEnum = {}));
24
+ })(AddReferralRequest = exports.AddReferralRequest || (exports.AddReferralRequest = {}));
@@ -0,0 +1,20 @@
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
+ export interface OCRCourtModel {
13
+ "city"?: string;
14
+ "countyName"?: string;
15
+ "courtId"?: number;
16
+ "courtName"?: string;
17
+ "courtNameAdditional"?: string;
18
+ "regionCode"?: string;
19
+ "timeZoneName"?: string;
20
+ }
@@ -0,0 +1,13 @@
1
+ "use strict";
2
+ /**
3
+ * OffTheRecord Rest Service API - Devo
4
+ * A service to handle your traffic tickets
5
+ *
6
+ * The version of the OpenAPI document: 1.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -29,6 +29,8 @@ export interface OCRPredictionCaseResponse {
29
29
  "driversState"?: models.ConfidenceField;
30
30
  "driversStreetAddress"?: models.ConfidenceField;
31
31
  "driversZip"?: models.ConfidenceField;
32
+ "eligibleCourtModels"?: Array<models.OCRCourtModel>;
33
+ "eligibleViolationModels"?: Array<models.OCRViolationModel>;
32
34
  "infractionNumber"?: models.ConfidenceField;
33
35
  "infractionType"?: models.ConfidenceField;
34
36
  "leaOri"?: models.ConfidenceField;
@@ -0,0 +1,80 @@
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
+ export interface OCRViolationModel {
13
+ "classDescription"?: string;
14
+ "criminal"?: boolean;
15
+ "violationClassification"?: OCRViolationModel.ViolationClassificationEnum;
16
+ "violationDescription"?: string;
17
+ "violationId"?: number;
18
+ "wobblerToCriminal"?: boolean;
19
+ }
20
+ export declare namespace OCRViolationModel {
21
+ enum ViolationClassificationEnum {
22
+ CLASS1FELONY,
23
+ CLASS1MISDEMEANOR,
24
+ CLASS2FELONY,
25
+ CLASS2MISDEMEANOR,
26
+ CLASS3FELONY,
27
+ CLASS3MISDEMEANOR,
28
+ CLASS4FELONY,
29
+ CLASS4MISDEMEANOR,
30
+ CLASS5FELONY,
31
+ CLASS6FELONY,
32
+ CLASSA1MISDEMEANOR,
33
+ CLASSAFELONY,
34
+ CLASSAINFRACTION,
35
+ CLASSAMISDEMEANOR,
36
+ CLASSAVIOLATION,
37
+ CLASSBFELONY,
38
+ CLASSBINFRACTION,
39
+ CLASSBMISDEMEANOR,
40
+ CLASSBVIOLATION,
41
+ CLASSCFELONY,
42
+ CLASSCINFRACTION,
43
+ CLASSCMISDEMEANOR,
44
+ CLASSCVIOLATION,
45
+ CLASSDFELONY,
46
+ CLASSDMISDEMEANOR,
47
+ CLASSDVIOLATION,
48
+ CLASSEFELONY,
49
+ CLASSFFELONY,
50
+ CLASSHFELONY,
51
+ DISORDERLYPERSONSOFFENSE,
52
+ FELONY,
53
+ FELONY1STDEGREE,
54
+ FELONY2NDDEGREE,
55
+ FELONY3RDDEGREE,
56
+ FELONY4THDEGREE,
57
+ FELONY5THDEGREE,
58
+ GROSSMISDEMEANOR,
59
+ HIGHANDAGGRAVATEDMISDEMEANOR,
60
+ INFRACTION,
61
+ LEVEL4FELONY,
62
+ LEVEL5FELONY,
63
+ LEVEL6FELONY,
64
+ MINORMISDEMEANOR,
65
+ MISDEMEANOR,
66
+ MISDEMEANOR1STDEGREE,
67
+ MISDEMEANOR2NDDEGREE,
68
+ MISDEMEANOR3RDDEGREE,
69
+ MISDEMEANOR4THDEGREE,
70
+ MISDEMEANORWITHREFUND,
71
+ NONMOVING,
72
+ NONREPORTABLE,
73
+ PETTYMISDEMEANOR,
74
+ QUASICRIMINAL,
75
+ SUMMARYOFFENSE,
76
+ SUMMARYOFFENSENOREFUND,
77
+ WOBBLERTOFELONY,
78
+ WOBBLERTOMISDEMEANOR
79
+ }
80
+ }
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ /**
3
+ * OffTheRecord Rest Service API - Devo
4
+ * A service to handle your traffic tickets
5
+ *
6
+ * The version of the OpenAPI document: 1.0
7
+ *
8
+ *
9
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
10
+ * https://openapi-generator.tech
11
+ * Do not edit the class manually.
12
+ */
13
+ Object.defineProperty(exports, "__esModule", { value: true });
14
+ exports.OCRViolationModel = void 0;
15
+ var OCRViolationModel;
16
+ (function (OCRViolationModel) {
17
+ var ViolationClassificationEnum;
18
+ (function (ViolationClassificationEnum) {
19
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS1FELONY"] = 'CLASS_1_FELONY'] = "CLASS1FELONY";
20
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS1MISDEMEANOR"] = 'CLASS_1_MISDEMEANOR'] = "CLASS1MISDEMEANOR";
21
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS2FELONY"] = 'CLASS_2_FELONY'] = "CLASS2FELONY";
22
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS2MISDEMEANOR"] = 'CLASS_2_MISDEMEANOR'] = "CLASS2MISDEMEANOR";
23
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS3FELONY"] = 'CLASS_3_FELONY'] = "CLASS3FELONY";
24
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS3MISDEMEANOR"] = 'CLASS_3_MISDEMEANOR'] = "CLASS3MISDEMEANOR";
25
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS4FELONY"] = 'CLASS_4_FELONY'] = "CLASS4FELONY";
26
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS4MISDEMEANOR"] = 'CLASS_4_MISDEMEANOR'] = "CLASS4MISDEMEANOR";
27
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS5FELONY"] = 'CLASS_5_FELONY'] = "CLASS5FELONY";
28
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASS6FELONY"] = 'CLASS_6_FELONY'] = "CLASS6FELONY";
29
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSA1MISDEMEANOR"] = 'CLASS_A1_MISDEMEANOR'] = "CLASSA1MISDEMEANOR";
30
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSAFELONY"] = 'CLASS_A_FELONY'] = "CLASSAFELONY";
31
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSAINFRACTION"] = 'CLASS_A_INFRACTION'] = "CLASSAINFRACTION";
32
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSAMISDEMEANOR"] = 'CLASS_A_MISDEMEANOR'] = "CLASSAMISDEMEANOR";
33
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSAVIOLATION"] = 'CLASS_A_VIOLATION'] = "CLASSAVIOLATION";
34
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSBFELONY"] = 'CLASS_B_FELONY'] = "CLASSBFELONY";
35
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSBINFRACTION"] = 'CLASS_B_INFRACTION'] = "CLASSBINFRACTION";
36
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSBMISDEMEANOR"] = 'CLASS_B_MISDEMEANOR'] = "CLASSBMISDEMEANOR";
37
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSBVIOLATION"] = 'CLASS_B_VIOLATION'] = "CLASSBVIOLATION";
38
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSCFELONY"] = 'CLASS_C_FELONY'] = "CLASSCFELONY";
39
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSCINFRACTION"] = 'CLASS_C_INFRACTION'] = "CLASSCINFRACTION";
40
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSCMISDEMEANOR"] = 'CLASS_C_MISDEMEANOR'] = "CLASSCMISDEMEANOR";
41
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSCVIOLATION"] = 'CLASS_C_VIOLATION'] = "CLASSCVIOLATION";
42
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSDFELONY"] = 'CLASS_D_FELONY'] = "CLASSDFELONY";
43
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSDMISDEMEANOR"] = 'CLASS_D_MISDEMEANOR'] = "CLASSDMISDEMEANOR";
44
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSDVIOLATION"] = 'CLASS_D_VIOLATION'] = "CLASSDVIOLATION";
45
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSEFELONY"] = 'CLASS_E_FELONY'] = "CLASSEFELONY";
46
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSFFELONY"] = 'CLASS_F_FELONY'] = "CLASSFFELONY";
47
+ ViolationClassificationEnum[ViolationClassificationEnum["CLASSHFELONY"] = 'CLASS_H_FELONY'] = "CLASSHFELONY";
48
+ ViolationClassificationEnum[ViolationClassificationEnum["DISORDERLYPERSONSOFFENSE"] = 'DISORDERLY_PERSONS_OFFENSE'] = "DISORDERLYPERSONSOFFENSE";
49
+ ViolationClassificationEnum[ViolationClassificationEnum["FELONY"] = 'FELONY'] = "FELONY";
50
+ ViolationClassificationEnum[ViolationClassificationEnum["FELONY1STDEGREE"] = 'FELONY_1ST_DEGREE'] = "FELONY1STDEGREE";
51
+ ViolationClassificationEnum[ViolationClassificationEnum["FELONY2NDDEGREE"] = 'FELONY_2ND_DEGREE'] = "FELONY2NDDEGREE";
52
+ ViolationClassificationEnum[ViolationClassificationEnum["FELONY3RDDEGREE"] = 'FELONY_3RD_DEGREE'] = "FELONY3RDDEGREE";
53
+ ViolationClassificationEnum[ViolationClassificationEnum["FELONY4THDEGREE"] = 'FELONY_4TH_DEGREE'] = "FELONY4THDEGREE";
54
+ ViolationClassificationEnum[ViolationClassificationEnum["FELONY5THDEGREE"] = 'FELONY_5TH_DEGREE'] = "FELONY5THDEGREE";
55
+ ViolationClassificationEnum[ViolationClassificationEnum["GROSSMISDEMEANOR"] = 'GROSS_MISDEMEANOR'] = "GROSSMISDEMEANOR";
56
+ ViolationClassificationEnum[ViolationClassificationEnum["HIGHANDAGGRAVATEDMISDEMEANOR"] = 'HIGH_AND_AGGRAVATED_MISDEMEANOR'] = "HIGHANDAGGRAVATEDMISDEMEANOR";
57
+ ViolationClassificationEnum[ViolationClassificationEnum["INFRACTION"] = 'INFRACTION'] = "INFRACTION";
58
+ ViolationClassificationEnum[ViolationClassificationEnum["LEVEL4FELONY"] = 'LEVEL_4_FELONY'] = "LEVEL4FELONY";
59
+ ViolationClassificationEnum[ViolationClassificationEnum["LEVEL5FELONY"] = 'LEVEL_5_FELONY'] = "LEVEL5FELONY";
60
+ ViolationClassificationEnum[ViolationClassificationEnum["LEVEL6FELONY"] = 'LEVEL_6_FELONY'] = "LEVEL6FELONY";
61
+ ViolationClassificationEnum[ViolationClassificationEnum["MINORMISDEMEANOR"] = 'MINOR_MISDEMEANOR'] = "MINORMISDEMEANOR";
62
+ ViolationClassificationEnum[ViolationClassificationEnum["MISDEMEANOR"] = 'MISDEMEANOR'] = "MISDEMEANOR";
63
+ ViolationClassificationEnum[ViolationClassificationEnum["MISDEMEANOR1STDEGREE"] = 'MISDEMEANOR_1ST_DEGREE'] = "MISDEMEANOR1STDEGREE";
64
+ ViolationClassificationEnum[ViolationClassificationEnum["MISDEMEANOR2NDDEGREE"] = 'MISDEMEANOR_2ND_DEGREE'] = "MISDEMEANOR2NDDEGREE";
65
+ ViolationClassificationEnum[ViolationClassificationEnum["MISDEMEANOR3RDDEGREE"] = 'MISDEMEANOR_3RD_DEGREE'] = "MISDEMEANOR3RDDEGREE";
66
+ ViolationClassificationEnum[ViolationClassificationEnum["MISDEMEANOR4THDEGREE"] = 'MISDEMEANOR_4TH_DEGREE'] = "MISDEMEANOR4THDEGREE";
67
+ ViolationClassificationEnum[ViolationClassificationEnum["MISDEMEANORWITHREFUND"] = 'MISDEMEANOR_WITH_REFUND'] = "MISDEMEANORWITHREFUND";
68
+ ViolationClassificationEnum[ViolationClassificationEnum["NONMOVING"] = 'NON_MOVING'] = "NONMOVING";
69
+ ViolationClassificationEnum[ViolationClassificationEnum["NONREPORTABLE"] = 'NON_REPORTABLE'] = "NONREPORTABLE";
70
+ ViolationClassificationEnum[ViolationClassificationEnum["PETTYMISDEMEANOR"] = 'PETTY_MISDEMEANOR'] = "PETTYMISDEMEANOR";
71
+ ViolationClassificationEnum[ViolationClassificationEnum["QUASICRIMINAL"] = 'QUASI_CRIMINAL'] = "QUASICRIMINAL";
72
+ ViolationClassificationEnum[ViolationClassificationEnum["SUMMARYOFFENSE"] = 'SUMMARY_OFFENSE'] = "SUMMARYOFFENSE";
73
+ ViolationClassificationEnum[ViolationClassificationEnum["SUMMARYOFFENSENOREFUND"] = 'SUMMARY_OFFENSE_NO_REFUND'] = "SUMMARYOFFENSENOREFUND";
74
+ ViolationClassificationEnum[ViolationClassificationEnum["WOBBLERTOFELONY"] = 'WOBBLER_TO_FELONY'] = "WOBBLERTOFELONY";
75
+ ViolationClassificationEnum[ViolationClassificationEnum["WOBBLERTOMISDEMEANOR"] = 'WOBBLER_TO_MISDEMEANOR'] = "WOBBLERTOMISDEMEANOR";
76
+ })(ViolationClassificationEnum = OCRViolationModel.ViolationClassificationEnum || (OCRViolationModel.ViolationClassificationEnum = {}));
77
+ })(OCRViolationModel = exports.OCRViolationModel || (exports.OCRViolationModel = {}));
@@ -21,6 +21,7 @@ export * from './AddNewCaseMessageRequest';
21
21
  export * from './AddNoteToPhoneLeadRequest';
22
22
  export * from './AddPenaltyRequest';
23
23
  export * from './AddRedirectUrlRequest';
24
+ export * from './AddReferralRequest';
24
25
  export * from './AddReviewRequest';
25
26
  export * from './AddViolationRequest';
26
27
  export * from './AddViolationResponse';
@@ -470,7 +471,9 @@ export * from './NoteEntity';
470
471
  export * from './NoteModel';
471
472
  export * from './NotificationEvent';
472
473
  export * from './NotificationEvents';
474
+ export * from './OCRCourtModel';
473
475
  export * from './OCRPredictionCaseResponse';
476
+ export * from './OCRViolationModel';
474
477
  export * from './OtherCase';
475
478
  export * from './OutgoingContactDomain';
476
479
  export * from './PaymentPlanTypeModel';
@@ -33,6 +33,7 @@ __exportStar(require("./AddNewCaseMessageRequest"), exports);
33
33
  __exportStar(require("./AddNoteToPhoneLeadRequest"), exports);
34
34
  __exportStar(require("./AddPenaltyRequest"), exports);
35
35
  __exportStar(require("./AddRedirectUrlRequest"), exports);
36
+ __exportStar(require("./AddReferralRequest"), exports);
36
37
  __exportStar(require("./AddReviewRequest"), exports);
37
38
  __exportStar(require("./AddViolationRequest"), exports);
38
39
  __exportStar(require("./AddViolationResponse"), exports);
@@ -482,7 +483,9 @@ __exportStar(require("./NoteEntity"), exports);
482
483
  __exportStar(require("./NoteModel"), exports);
483
484
  __exportStar(require("./NotificationEvent"), exports);
484
485
  __exportStar(require("./NotificationEvents"), exports);
486
+ __exportStar(require("./OCRCourtModel"), exports);
485
487
  __exportStar(require("./OCRPredictionCaseResponse"), exports);
488
+ __exportStar(require("./OCRViolationModel"), exports);
486
489
  __exportStar(require("./OtherCase"), exports);
487
490
  __exportStar(require("./OutgoingContactDomain"), exports);
488
491
  __exportStar(require("./PaymentPlanTypeModel"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.3.139",
3
+ "version": "2.3.141",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"