@otr-app/shared-backend-generated-client 2.3.68 → 2.3.70

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 (42) hide show
  1. package/dist/angular/.openapi-generator/FILES +8 -0
  2. package/dist/angular/api/legalServicesController.service.ts +84 -8
  3. package/dist/angular/model/caseCreationRequest.ts +1 -9
  4. package/dist/angular/model/geoRatesRequest.ts +1 -9
  5. package/dist/angular/model/listNotesResponse.ts +1 -0
  6. package/dist/angular/model/matchCaseViolationPenaltyModel.ts +40 -0
  7. package/dist/angular/model/matchCitationModel.ts +32 -0
  8. package/dist/angular/model/matchInnerCaseModel.ts +34 -0
  9. package/dist/angular/model/matchLegalServiceModel.ts +49 -0
  10. package/dist/angular/model/matchLegalServicesRequest.ts +37 -0
  11. package/dist/angular/model/matchLegalServicesResponse.ts +19 -0
  12. package/dist/angular/model/matchingFieldValue.ts +27 -0
  13. package/dist/angular/model/models.ts +8 -0
  14. package/dist/angular/model/violationModel.ts +87 -0
  15. package/dist/otrBackendService.js +54 -9
  16. package/dist/otrBackendService.min.js +5 -5
  17. package/dist/typescript/api/LegalServicesControllerApi.d.ts +10 -2
  18. package/dist/typescript/api/LegalServicesControllerApi.js +38 -7
  19. package/dist/typescript/model/CaseCreationRequest.d.ts +1 -7
  20. package/dist/typescript/model/CaseCreationRequest.js +0 -9
  21. package/dist/typescript/model/GeoRatesRequest.d.ts +1 -7
  22. package/dist/typescript/model/GeoRatesRequest.js +0 -9
  23. package/dist/typescript/model/ListNotesResponse.d.ts +1 -0
  24. package/dist/typescript/model/MatchCaseViolationPenaltyModel.d.ts +35 -0
  25. package/dist/typescript/model/MatchCaseViolationPenaltyModel.js +35 -0
  26. package/dist/typescript/model/MatchCitationModel.d.ts +25 -0
  27. package/dist/typescript/model/MatchCitationModel.js +13 -0
  28. package/dist/typescript/model/MatchInnerCaseModel.d.ts +27 -0
  29. package/dist/typescript/model/MatchInnerCaseModel.js +22 -0
  30. package/dist/typescript/model/MatchLegalServiceModel.d.ts +42 -0
  31. package/dist/typescript/model/MatchLegalServiceModel.js +31 -0
  32. package/dist/typescript/model/MatchLegalServicesRequest.d.ts +31 -0
  33. package/dist/typescript/model/MatchLegalServicesRequest.js +26 -0
  34. package/dist/typescript/model/MatchLegalServicesResponse.d.ts +16 -0
  35. package/dist/typescript/model/MatchLegalServicesResponse.js +13 -0
  36. package/dist/typescript/model/MatchingFieldValue.d.ts +22 -0
  37. package/dist/typescript/model/MatchingFieldValue.js +23 -0
  38. package/dist/typescript/model/ViolationModel.d.ts +82 -0
  39. package/dist/typescript/model/ViolationModel.js +77 -0
  40. package/dist/typescript/model/models.d.ts +8 -0
  41. package/dist/typescript/model/models.js +8 -0
  42. package/package.json +1 -1
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  /// <reference types="angular" />
13
+ import * as models from '../model/models';
13
14
  export declare class LegalServicesControllerApi {
14
15
  protected $http: ng.IHttpService;
15
16
  protected $httpParamSerializer?: (d: any) => any;
@@ -17,11 +18,18 @@ export declare class LegalServicesControllerApi {
17
18
  defaultHeaders: any;
18
19
  static $inject: string[];
19
20
  constructor($http: ng.IHttpService, $httpParamSerializer?: (d: any) => any, basePath?: string);
21
+ /**
22
+ *
23
+ * @summary createLegalServices
24
+ * @param citationId citationId
25
+ * @param request request
26
+ */
27
+ createLegalServicesUsingPOST(citationId: number, request: models.MatchLegalServicesRequest, extraHttpRequestParams?: any): ng.IHttpPromise<models.MatchLegalServicesResponse>;
20
28
  /**
21
29
  *
22
30
  * @summary selectLegalService
23
31
  * @param citationId citationId
24
- * @param serviceId serviceId
32
+ * @param lawfirmCaseId lawfirmCaseId
25
33
  */
26
- selectLegalServiceUsingPUT(citationId: number, serviceId: number, extraHttpRequestParams?: any): ng.IHttpPromise<object>;
34
+ selectLegalServiceUsingPUT(citationId: number, lawfirmCaseId: number, extraHttpRequestParams?: any): ng.IHttpPromise<object>;
27
35
  }
@@ -23,25 +23,56 @@ var LegalServicesControllerApi = /** @class */ (function () {
23
23
  this.basePath = basePath;
24
24
  }
25
25
  }
26
+ /**
27
+ *
28
+ * @summary createLegalServices
29
+ * @param citationId citationId
30
+ * @param request request
31
+ */
32
+ LegalServicesControllerApi.prototype.createLegalServicesUsingPOST = function (citationId, request, extraHttpRequestParams) {
33
+ var localVarPath = this.basePath + '/api/v1/citations/{citationId}/legal-services'
34
+ .replace('{' + 'citationId' + '}', encodeURIComponent(String(citationId)));
35
+ var queryParameters = {};
36
+ var headerParams = Object.assign({}, this.defaultHeaders);
37
+ // verify required parameter 'citationId' is not null or undefined
38
+ if (citationId === null || citationId === undefined) {
39
+ throw new Error('Required parameter citationId was null or undefined when calling createLegalServicesUsingPOST.');
40
+ }
41
+ // verify required parameter 'request' is not null or undefined
42
+ if (request === null || request === undefined) {
43
+ throw new Error('Required parameter request was null or undefined when calling createLegalServicesUsingPOST.');
44
+ }
45
+ var httpRequestParams = {
46
+ method: 'POST',
47
+ url: localVarPath,
48
+ data: request,
49
+ params: queryParameters,
50
+ headers: headerParams
51
+ };
52
+ if (extraHttpRequestParams) {
53
+ httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
54
+ }
55
+ return this.$http(httpRequestParams);
56
+ };
26
57
  /**
27
58
  *
28
59
  * @summary selectLegalService
29
60
  * @param citationId citationId
30
- * @param serviceId serviceId
61
+ * @param lawfirmCaseId lawfirmCaseId
31
62
  */
32
- LegalServicesControllerApi.prototype.selectLegalServiceUsingPUT = function (citationId, serviceId, extraHttpRequestParams) {
33
- var localVarPath = this.basePath + '/api/v1/citations/{citationId}/legal-services/{serviceId}'
63
+ LegalServicesControllerApi.prototype.selectLegalServiceUsingPUT = function (citationId, lawfirmCaseId, extraHttpRequestParams) {
64
+ var localVarPath = this.basePath + '/api/v1/citations/{citationId}/select-legal-service/{lawfirmCaseId}'
34
65
  .replace('{' + 'citationId' + '}', encodeURIComponent(String(citationId)))
35
- .replace('{' + 'serviceId' + '}', encodeURIComponent(String(serviceId)));
66
+ .replace('{' + 'lawfirmCaseId' + '}', encodeURIComponent(String(lawfirmCaseId)));
36
67
  var queryParameters = {};
37
68
  var headerParams = Object.assign({}, this.defaultHeaders);
38
69
  // verify required parameter 'citationId' is not null or undefined
39
70
  if (citationId === null || citationId === undefined) {
40
71
  throw new Error('Required parameter citationId was null or undefined when calling selectLegalServiceUsingPUT.');
41
72
  }
42
- // verify required parameter 'serviceId' is not null or undefined
43
- if (serviceId === null || serviceId === undefined) {
44
- throw new Error('Required parameter serviceId was null or undefined when calling selectLegalServiceUsingPUT.');
73
+ // verify required parameter 'lawfirmCaseId' is not null or undefined
74
+ if (lawfirmCaseId === null || lawfirmCaseId === undefined) {
75
+ throw new Error('Required parameter lawfirmCaseId was null or undefined when calling selectLegalServiceUsingPUT.');
45
76
  }
46
77
  var httpRequestParams = {
47
78
  method: 'PUT',
@@ -12,13 +12,7 @@
12
12
  export interface CaseCreationRequest {
13
13
  "courtDate"?: string;
14
14
  "forcePredeterminedLawfirmId"?: boolean;
15
- "legalServiceType"?: CaseCreationRequest.LegalServiceTypeEnum;
15
+ "legalServiceId"?: number;
16
16
  "predeterminedLawfirmId"?: number;
17
17
  "setQuoteExpirationOn"?: boolean;
18
18
  }
19
- export declare namespace CaseCreationRequest {
20
- enum LegalServiceTypeEnum {
21
- DEFER,
22
- FIGHT
23
- }
24
- }
@@ -11,12 +11,3 @@
11
11
  * Do not edit the class manually.
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.CaseCreationRequest = void 0;
15
- var CaseCreationRequest;
16
- (function (CaseCreationRequest) {
17
- var LegalServiceTypeEnum;
18
- (function (LegalServiceTypeEnum) {
19
- LegalServiceTypeEnum[LegalServiceTypeEnum["DEFER"] = 'DEFER'] = "DEFER";
20
- LegalServiceTypeEnum[LegalServiceTypeEnum["FIGHT"] = 'FIGHT'] = "FIGHT";
21
- })(LegalServiceTypeEnum = CaseCreationRequest.LegalServiceTypeEnum || (CaseCreationRequest.LegalServiceTypeEnum = {}));
22
- })(CaseCreationRequest = exports.CaseCreationRequest || (exports.CaseCreationRequest = {}));
@@ -14,13 +14,7 @@ export interface GeoRatesRequest {
14
14
  "courtDate"?: string;
15
15
  "courtId"?: string;
16
16
  "isCDL"?: boolean;
17
- "legalServiceType"?: GeoRatesRequest.LegalServiceTypeEnum;
17
+ "legalServiceId"?: number;
18
18
  "violationCount"?: number;
19
19
  "violations"?: Array<models.ViolationInputRequest>;
20
20
  }
21
- export declare namespace GeoRatesRequest {
22
- enum LegalServiceTypeEnum {
23
- DEFER,
24
- FIGHT
25
- }
26
- }
@@ -11,12 +11,3 @@
11
11
  * Do not edit the class manually.
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.GeoRatesRequest = void 0;
15
- var GeoRatesRequest;
16
- (function (GeoRatesRequest) {
17
- var LegalServiceTypeEnum;
18
- (function (LegalServiceTypeEnum) {
19
- LegalServiceTypeEnum[LegalServiceTypeEnum["DEFER"] = 'DEFER'] = "DEFER";
20
- LegalServiceTypeEnum[LegalServiceTypeEnum["FIGHT"] = 'FIGHT'] = "FIGHT";
21
- })(LegalServiceTypeEnum = GeoRatesRequest.LegalServiceTypeEnum || (GeoRatesRequest.LegalServiceTypeEnum = {}));
22
- })(GeoRatesRequest = exports.GeoRatesRequest || (exports.GeoRatesRequest = {}));
@@ -14,4 +14,5 @@ export interface ListNotesResponse {
14
14
  "authors"?: Array<models.NoteAuthor>;
15
15
  "cursorModel"?: models.Cursor;
16
16
  "notes"?: Array<models.NoteModel>;
17
+ "totalRecords"?: number;
17
18
  }
@@ -0,0 +1,35 @@
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 MatchCaseViolationPenaltyModel {
13
+ "penaltyFriendlyDescription"?: string;
14
+ "penaltyType"?: MatchCaseViolationPenaltyModel.PenaltyTypeEnum;
15
+ "penaltyValue"?: string;
16
+ }
17
+ export declare namespace MatchCaseViolationPenaltyModel {
18
+ enum PenaltyTypeEnum {
19
+ DEMERITPOINTS,
20
+ INCARCERATIONMAXDAYS,
21
+ INCARCERATIONMINDAYS,
22
+ INSURANCEPOINTS,
23
+ INSURANCERATEINCREASE,
24
+ LICENSEREVOCATIONMAXDAYS,
25
+ LICENSEREVOCATIONMINDAYS,
26
+ LICENSESUSPENSIONMAXDAYS,
27
+ LICENSESUSPENSIONMINDAYS,
28
+ MANDATORYCOURTAPPEARANCE,
29
+ MANDATORYCOURTAPPEARANCEWITHATTORNEY,
30
+ MAXBAILAMOUNT,
31
+ MINBAILAMOUNT,
32
+ PROBATIONINDAYS,
33
+ TOTALBAILAMOUNT
34
+ }
35
+ }
@@ -0,0 +1,35 @@
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.MatchCaseViolationPenaltyModel = void 0;
15
+ var MatchCaseViolationPenaltyModel;
16
+ (function (MatchCaseViolationPenaltyModel) {
17
+ var PenaltyTypeEnum;
18
+ (function (PenaltyTypeEnum) {
19
+ PenaltyTypeEnum[PenaltyTypeEnum["DEMERITPOINTS"] = 'DEMERIT_POINTS'] = "DEMERITPOINTS";
20
+ PenaltyTypeEnum[PenaltyTypeEnum["INCARCERATIONMAXDAYS"] = 'INCARCERATION_MAX_DAYS'] = "INCARCERATIONMAXDAYS";
21
+ PenaltyTypeEnum[PenaltyTypeEnum["INCARCERATIONMINDAYS"] = 'INCARCERATION_MIN_DAYS'] = "INCARCERATIONMINDAYS";
22
+ PenaltyTypeEnum[PenaltyTypeEnum["INSURANCEPOINTS"] = 'INSURANCE_POINTS'] = "INSURANCEPOINTS";
23
+ PenaltyTypeEnum[PenaltyTypeEnum["INSURANCERATEINCREASE"] = 'INSURANCE_RATE_INCREASE'] = "INSURANCERATEINCREASE";
24
+ PenaltyTypeEnum[PenaltyTypeEnum["LICENSEREVOCATIONMAXDAYS"] = 'LICENSE_REVOCATION_MAX_DAYS'] = "LICENSEREVOCATIONMAXDAYS";
25
+ PenaltyTypeEnum[PenaltyTypeEnum["LICENSEREVOCATIONMINDAYS"] = 'LICENSE_REVOCATION_MIN_DAYS'] = "LICENSEREVOCATIONMINDAYS";
26
+ PenaltyTypeEnum[PenaltyTypeEnum["LICENSESUSPENSIONMAXDAYS"] = 'LICENSE_SUSPENSION_MAX_DAYS'] = "LICENSESUSPENSIONMAXDAYS";
27
+ PenaltyTypeEnum[PenaltyTypeEnum["LICENSESUSPENSIONMINDAYS"] = 'LICENSE_SUSPENSION_MIN_DAYS'] = "LICENSESUSPENSIONMINDAYS";
28
+ PenaltyTypeEnum[PenaltyTypeEnum["MANDATORYCOURTAPPEARANCE"] = 'MANDATORY_COURT_APPEARANCE'] = "MANDATORYCOURTAPPEARANCE";
29
+ PenaltyTypeEnum[PenaltyTypeEnum["MANDATORYCOURTAPPEARANCEWITHATTORNEY"] = 'MANDATORY_COURT_APPEARANCE_WITH_ATTORNEY'] = "MANDATORYCOURTAPPEARANCEWITHATTORNEY";
30
+ PenaltyTypeEnum[PenaltyTypeEnum["MAXBAILAMOUNT"] = 'MAX_BAIL_AMOUNT'] = "MAXBAILAMOUNT";
31
+ PenaltyTypeEnum[PenaltyTypeEnum["MINBAILAMOUNT"] = 'MIN_BAIL_AMOUNT'] = "MINBAILAMOUNT";
32
+ PenaltyTypeEnum[PenaltyTypeEnum["PROBATIONINDAYS"] = 'PROBATION_IN_DAYS'] = "PROBATIONINDAYS";
33
+ PenaltyTypeEnum[PenaltyTypeEnum["TOTALBAILAMOUNT"] = 'TOTAL_BAIL_AMOUNT'] = "TOTALBAILAMOUNT";
34
+ })(PenaltyTypeEnum = MatchCaseViolationPenaltyModel.PenaltyTypeEnum || (MatchCaseViolationPenaltyModel.PenaltyTypeEnum = {}));
35
+ })(MatchCaseViolationPenaltyModel = exports.MatchCaseViolationPenaltyModel || (exports.MatchCaseViolationPenaltyModel = {}));
@@ -0,0 +1,25 @@
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
+ import * as models from './models';
13
+ export interface MatchCitationModel {
14
+ "address"?: models.AddressDomain;
15
+ "citationId"?: number;
16
+ "citationIssueDate"?: models.PureDate;
17
+ "citationIssueDateUtc"?: models.Timestamp;
18
+ "court"?: models.CourtDomain;
19
+ "fineAmount"?: number;
20
+ "involvesAccident"?: boolean;
21
+ "isDeleted"?: boolean;
22
+ "ticketImageUrl"?: string;
23
+ "ticketNumber"?: string;
24
+ "violations"?: Array<models.ViolationModel>;
25
+ }
@@ -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 });
@@ -0,0 +1,27 @@
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
+ import * as models from './models';
13
+ export interface MatchInnerCaseModel {
14
+ "caseId"?: string;
15
+ "citation"?: models.MatchCitationModel;
16
+ "lawfirmCodeApplied"?: boolean;
17
+ "legalServices"?: Array<models.MatchLegalServiceModel>;
18
+ "maxPenalties"?: Array<models.MatchCaseViolationPenaltyModel>;
19
+ "referralCodeOwner"?: MatchInnerCaseModel.ReferralCodeOwnerEnum;
20
+ "userId"?: number;
21
+ }
22
+ export declare namespace MatchInnerCaseModel {
23
+ enum ReferralCodeOwnerEnum {
24
+ LAWFIRM,
25
+ OTR
26
+ }
27
+ }
@@ -0,0 +1,22 @@
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.MatchInnerCaseModel = void 0;
15
+ var MatchInnerCaseModel;
16
+ (function (MatchInnerCaseModel) {
17
+ var ReferralCodeOwnerEnum;
18
+ (function (ReferralCodeOwnerEnum) {
19
+ ReferralCodeOwnerEnum[ReferralCodeOwnerEnum["LAWFIRM"] = 'LAWFIRM'] = "LAWFIRM";
20
+ ReferralCodeOwnerEnum[ReferralCodeOwnerEnum["OTR"] = 'OTR'] = "OTR";
21
+ })(ReferralCodeOwnerEnum = MatchInnerCaseModel.ReferralCodeOwnerEnum || (MatchInnerCaseModel.ReferralCodeOwnerEnum = {}));
22
+ })(MatchInnerCaseModel = exports.MatchInnerCaseModel || (exports.MatchInnerCaseModel = {}));
@@ -0,0 +1,42 @@
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 MatchLegalServiceModel {
13
+ "chanceOfSuccess"?: number;
14
+ "isSelected"?: boolean;
15
+ "lawfirmCaseId"?: number;
16
+ "lawfirmId"?: number;
17
+ "lawfirmName"?: string;
18
+ "legalServiceId"?: number;
19
+ "legalServiceName"?: string;
20
+ "legalServiceType"?: MatchLegalServiceModel.LegalServiceTypeEnum;
21
+ "legalVertical"?: MatchLegalServiceModel.LegalVerticalEnum;
22
+ "matchExpirationDateUtc"?: string;
23
+ "obfuscatedPictureUrl"?: string;
24
+ "profilePictureUrl"?: string;
25
+ "refundEligibility"?: MatchLegalServiceModel.RefundEligibilityEnum;
26
+ "refundMessage"?: string;
27
+ "refundPercentage"?: number;
28
+ "totalClientCostInCents"?: number;
29
+ }
30
+ export declare namespace MatchLegalServiceModel {
31
+ enum LegalServiceTypeEnum {
32
+ DEFER,
33
+ FIGHT
34
+ }
35
+ enum LegalVerticalEnum {
36
+ TRAFFIC
37
+ }
38
+ enum RefundEligibilityEnum {
39
+ FULLREFUND,
40
+ NOREFUND
41
+ }
42
+ }
@@ -0,0 +1,31 @@
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.MatchLegalServiceModel = void 0;
15
+ var MatchLegalServiceModel;
16
+ (function (MatchLegalServiceModel) {
17
+ var LegalServiceTypeEnum;
18
+ (function (LegalServiceTypeEnum) {
19
+ LegalServiceTypeEnum[LegalServiceTypeEnum["DEFER"] = 'DEFER'] = "DEFER";
20
+ LegalServiceTypeEnum[LegalServiceTypeEnum["FIGHT"] = 'FIGHT'] = "FIGHT";
21
+ })(LegalServiceTypeEnum = MatchLegalServiceModel.LegalServiceTypeEnum || (MatchLegalServiceModel.LegalServiceTypeEnum = {}));
22
+ var LegalVerticalEnum;
23
+ (function (LegalVerticalEnum) {
24
+ LegalVerticalEnum[LegalVerticalEnum["TRAFFIC"] = 'TRAFFIC'] = "TRAFFIC";
25
+ })(LegalVerticalEnum = MatchLegalServiceModel.LegalVerticalEnum || (MatchLegalServiceModel.LegalVerticalEnum = {}));
26
+ var RefundEligibilityEnum;
27
+ (function (RefundEligibilityEnum) {
28
+ RefundEligibilityEnum[RefundEligibilityEnum["FULLREFUND"] = 'FULL_REFUND'] = "FULLREFUND";
29
+ RefundEligibilityEnum[RefundEligibilityEnum["NOREFUND"] = 'NO_REFUND'] = "NOREFUND";
30
+ })(RefundEligibilityEnum = MatchLegalServiceModel.RefundEligibilityEnum || (MatchLegalServiceModel.RefundEligibilityEnum = {}));
31
+ })(MatchLegalServiceModel = exports.MatchLegalServiceModel || (exports.MatchLegalServiceModel = {}));
@@ -0,0 +1,31 @@
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
+ import * as models from './models';
13
+ export interface MatchLegalServicesRequest {
14
+ "courtDate"?: string;
15
+ "forcePredeterminedLawfirmId"?: boolean;
16
+ "legalServiceType"?: MatchLegalServicesRequest.LegalServiceTypeEnum;
17
+ "legalServicesMatchingRules"?: Array<models.MatchingFieldValue>;
18
+ "legalServicesResultLimit": number;
19
+ "legalVertical": MatchLegalServicesRequest.LegalVerticalEnum;
20
+ "predeterminedLawfirmId"?: number;
21
+ "setQuoteExpirationOn"?: boolean;
22
+ }
23
+ export declare namespace MatchLegalServicesRequest {
24
+ enum LegalServiceTypeEnum {
25
+ DEFER,
26
+ FIGHT
27
+ }
28
+ enum LegalVerticalEnum {
29
+ TRAFFIC
30
+ }
31
+ }
@@ -0,0 +1,26 @@
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.MatchLegalServicesRequest = void 0;
15
+ var MatchLegalServicesRequest;
16
+ (function (MatchLegalServicesRequest) {
17
+ var LegalServiceTypeEnum;
18
+ (function (LegalServiceTypeEnum) {
19
+ LegalServiceTypeEnum[LegalServiceTypeEnum["DEFER"] = 'DEFER'] = "DEFER";
20
+ LegalServiceTypeEnum[LegalServiceTypeEnum["FIGHT"] = 'FIGHT'] = "FIGHT";
21
+ })(LegalServiceTypeEnum = MatchLegalServicesRequest.LegalServiceTypeEnum || (MatchLegalServicesRequest.LegalServiceTypeEnum = {}));
22
+ var LegalVerticalEnum;
23
+ (function (LegalVerticalEnum) {
24
+ LegalVerticalEnum[LegalVerticalEnum["TRAFFIC"] = 'TRAFFIC'] = "TRAFFIC";
25
+ })(LegalVerticalEnum = MatchLegalServicesRequest.LegalVerticalEnum || (MatchLegalServicesRequest.LegalVerticalEnum = {}));
26
+ })(MatchLegalServicesRequest = exports.MatchLegalServicesRequest || (exports.MatchLegalServicesRequest = {}));
@@ -0,0 +1,16 @@
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
+ import * as models from './models';
13
+ export interface MatchLegalServicesResponse {
14
+ "projectedInsuranceCostInCents"?: number;
15
+ "theCase"?: models.MatchInnerCaseModel;
16
+ }
@@ -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 });
@@ -0,0 +1,22 @@
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 MatchingFieldValue {
13
+ "matchingField"?: MatchingFieldValue.MatchingFieldEnum;
14
+ "value"?: string;
15
+ }
16
+ export declare namespace MatchingFieldValue {
17
+ enum MatchingFieldEnum {
18
+ COURTID,
19
+ VIOLATIONCLASSIFICATIONID,
20
+ VIOLATIONID
21
+ }
22
+ }
@@ -0,0 +1,23 @@
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.MatchingFieldValue = void 0;
15
+ var MatchingFieldValue;
16
+ (function (MatchingFieldValue) {
17
+ var MatchingFieldEnum;
18
+ (function (MatchingFieldEnum) {
19
+ MatchingFieldEnum[MatchingFieldEnum["COURTID"] = 'COURT_ID'] = "COURTID";
20
+ MatchingFieldEnum[MatchingFieldEnum["VIOLATIONCLASSIFICATIONID"] = 'VIOLATION_CLASSIFICATION_ID'] = "VIOLATIONCLASSIFICATIONID";
21
+ MatchingFieldEnum[MatchingFieldEnum["VIOLATIONID"] = 'VIOLATION_ID'] = "VIOLATIONID";
22
+ })(MatchingFieldEnum = MatchingFieldValue.MatchingFieldEnum || (MatchingFieldValue.MatchingFieldEnum = {}));
23
+ })(MatchingFieldValue = exports.MatchingFieldValue || (exports.MatchingFieldValue = {}));
@@ -0,0 +1,82 @@
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
+ import * as models from './models';
13
+ export interface ViolationModel {
14
+ "criminal"?: boolean;
15
+ "penalties"?: Array<models.MatchCaseViolationPenaltyModel>;
16
+ "trafficViolationDesc"?: string;
17
+ "trafficViolationTypeId"?: number;
18
+ "violationClassification"?: ViolationModel.ViolationClassificationEnum;
19
+ "violationCode"?: string;
20
+ "wobblerToCriminal"?: boolean;
21
+ }
22
+ export declare namespace ViolationModel {
23
+ enum ViolationClassificationEnum {
24
+ CLASS1FELONY,
25
+ CLASS1MISDEMEANOR,
26
+ CLASS2FELONY,
27
+ CLASS2MISDEMEANOR,
28
+ CLASS3FELONY,
29
+ CLASS3MISDEMEANOR,
30
+ CLASS4FELONY,
31
+ CLASS4MISDEMEANOR,
32
+ CLASS5FELONY,
33
+ CLASS6FELONY,
34
+ CLASSA1MISDEMEANOR,
35
+ CLASSAFELONY,
36
+ CLASSAINFRACTION,
37
+ CLASSAMISDEMEANOR,
38
+ CLASSAVIOLATION,
39
+ CLASSBFELONY,
40
+ CLASSBINFRACTION,
41
+ CLASSBMISDEMEANOR,
42
+ CLASSBVIOLATION,
43
+ CLASSCFELONY,
44
+ CLASSCINFRACTION,
45
+ CLASSCMISDEMEANOR,
46
+ CLASSCVIOLATION,
47
+ CLASSDFELONY,
48
+ CLASSDMISDEMEANOR,
49
+ CLASSDVIOLATION,
50
+ CLASSEFELONY,
51
+ CLASSFFELONY,
52
+ CLASSHFELONY,
53
+ DISORDERLYPERSONSOFFENSE,
54
+ FELONY,
55
+ FELONY1STDEGREE,
56
+ FELONY2NDDEGREE,
57
+ FELONY3RDDEGREE,
58
+ FELONY4THDEGREE,
59
+ FELONY5THDEGREE,
60
+ GROSSMISDEMEANOR,
61
+ HIGHANDAGGRAVATEDMISDEMEANOR,
62
+ INFRACTION,
63
+ LEVEL4FELONY,
64
+ LEVEL5FELONY,
65
+ LEVEL6FELONY,
66
+ MINORMISDEMEANOR,
67
+ MISDEMEANOR,
68
+ MISDEMEANOR1STDEGREE,
69
+ MISDEMEANOR2NDDEGREE,
70
+ MISDEMEANOR3RDDEGREE,
71
+ MISDEMEANOR4THDEGREE,
72
+ MISDEMEANORWITHREFUND,
73
+ NONMOVING,
74
+ NONREPORTABLE,
75
+ PETTYMISDEMEANOR,
76
+ QUASICRIMINAL,
77
+ SUMMARYOFFENSE,
78
+ SUMMARYOFFENSENOREFUND,
79
+ WOBBLERTOFELONY,
80
+ WOBBLERTOMISDEMEANOR
81
+ }
82
+ }