@otr-app/shared-backend-generated-client 2.4.91 → 2.4.93

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 +3 -0
  2. package/dist/angular/api/activityFeedController.service.ts +19 -4
  3. package/dist/angular/api/listCasesController.service.ts +4 -4
  4. package/dist/angular/model/caseCounterOfferModel.ts +11 -12
  5. package/dist/angular/model/dashboardCaseModel.ts +8 -0
  6. package/dist/angular/model/engagementLetterModel.ts +18 -0
  7. package/dist/angular/model/models.ts +3 -0
  8. package/dist/angular/model/overduePaymentModel.ts +17 -0
  9. package/dist/angular/model/violationModel0.ts +17 -0
  10. package/dist/otrBackendService.js +15 -0
  11. package/dist/otrBackendService.min.js +7 -7
  12. package/dist/typescript/api/ActivityFeedControllerApi.d.ts +4 -1
  13. package/dist/typescript/api/ActivityFeedControllerApi.js +13 -1
  14. package/dist/typescript/api/ListCasesControllerApi.d.ts +1 -1
  15. package/dist/typescript/model/CaseCounterOfferModel.d.ts +9 -12
  16. package/dist/typescript/model/CaseCounterOfferModel.js +10 -1
  17. package/dist/typescript/model/DashboardCaseModel.d.ts +4 -0
  18. package/dist/typescript/model/EngagementLetterModel.d.ts +15 -0
  19. package/dist/typescript/model/EngagementLetterModel.js +12 -0
  20. package/dist/typescript/model/OverduePaymentModel.d.ts +14 -0
  21. package/dist/typescript/model/OverduePaymentModel.js +12 -0
  22. package/dist/typescript/model/ViolationModel0.d.ts +14 -0
  23. package/dist/typescript/model/ViolationModel0.js +12 -0
  24. package/dist/typescript/model/models.d.ts +3 -0
  25. package/dist/typescript/model/models.js +3 -0
  26. package/dist/typescript-fetch/apis/ActivityFeedControllerApi.d.ts +14 -0
  27. package/dist/typescript-fetch/apis/ActivityFeedControllerApi.js +21 -0
  28. package/dist/typescript-fetch/apis/ListCasesControllerApi.d.ts +1 -0
  29. package/dist/typescript-fetch/apis/ListCasesControllerApi.js +1 -0
  30. package/dist/typescript-fetch/models/CaseCounterOfferModel.d.ts +11 -62
  31. package/dist/typescript-fetch/models/CaseCounterOfferModel.js +11 -21
  32. package/dist/typescript-fetch/models/DashboardCaseModel.d.ts +25 -1
  33. package/dist/typescript-fetch/models/DashboardCaseModel.js +9 -1
  34. package/dist/typescript-fetch/models/EngagementLetterModel.d.ts +33 -0
  35. package/dist/typescript-fetch/models/EngagementLetterModel.js +38 -0
  36. package/dist/typescript-fetch/models/OverduePaymentModel.d.ts +27 -0
  37. package/dist/typescript-fetch/models/OverduePaymentModel.js +36 -0
  38. package/dist/typescript-fetch/models/ViolationModel0.d.ts +27 -0
  39. package/dist/typescript-fetch/models/ViolationModel0.js +36 -0
  40. package/dist/typescript-fetch/models/index.d.ts +3 -0
  41. package/dist/typescript-fetch/models/index.js +3 -0
  42. package/package.json +1 -1
@@ -22,11 +22,14 @@ export declare class ActivityFeedControllerApi {
22
22
  *
23
23
  * @summary listActivityFeed
24
24
  * @param limit limit
25
+ * @param activityType activityType
26
+ * @param courtId courtId
27
+ * @param hasProfilePicture hasProfilePicture
25
28
  * @param nextPageToken nextPageToken
26
29
  * @param previousPageToken previousPageToken
27
30
  * @param regionCode regionCode
28
31
  */
29
- listActivityFeedUsingGET(limit: number, nextPageToken?: string, previousPageToken?: string, regionCode?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetActivityFeedResponse>;
32
+ listActivityFeedUsingGET(limit: number, activityType?: 'PURCHASE' | 'REFERRAL' | 'REFUND' | 'RESOLUTION' | 'TICKET_REVIEW', courtId?: number, hasProfilePicture?: boolean, nextPageToken?: string, previousPageToken?: string, regionCode?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.GetActivityFeedResponse>;
30
33
  /**
31
34
  *
32
35
  * @summary listCaseOutcomes
@@ -24,11 +24,14 @@ export class ActivityFeedControllerApi {
24
24
  *
25
25
  * @summary listActivityFeed
26
26
  * @param limit limit
27
+ * @param activityType activityType
28
+ * @param courtId courtId
29
+ * @param hasProfilePicture hasProfilePicture
27
30
  * @param nextPageToken nextPageToken
28
31
  * @param previousPageToken previousPageToken
29
32
  * @param regionCode regionCode
30
33
  */
31
- listActivityFeedUsingGET(limit, nextPageToken, previousPageToken, regionCode, extraHttpRequestParams) {
34
+ listActivityFeedUsingGET(limit, activityType, courtId, hasProfilePicture, nextPageToken, previousPageToken, regionCode, extraHttpRequestParams) {
32
35
  const localVarPath = this.basePath + '/api/v1/activity-feed';
33
36
  let queryParameters = {};
34
37
  let headerParams = Object.assign({}, this.defaultHeaders);
@@ -36,6 +39,15 @@ export class ActivityFeedControllerApi {
36
39
  if (limit === null || limit === undefined) {
37
40
  throw new Error('Required parameter limit was null or undefined when calling listActivityFeedUsingGET.');
38
41
  }
42
+ if (activityType !== undefined) {
43
+ queryParameters['activityType'] = activityType;
44
+ }
45
+ if (courtId !== undefined) {
46
+ queryParameters['courtId'] = courtId;
47
+ }
48
+ if (hasProfilePicture !== undefined) {
49
+ queryParameters['hasProfilePicture'] = hasProfilePicture;
50
+ }
39
51
  if (limit !== undefined) {
40
52
  queryParameters['limit'] = limit;
41
53
  }
@@ -41,5 +41,5 @@ export declare class ListCasesControllerApi {
41
41
  * @param sortBy sortBy
42
42
  * @param statusCategories statusCategories
43
43
  */
44
- listDashboardCasesUsingGET(userId: number, caseStatuses?: 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED', includeDeleted?: boolean, limit?: number, previousPageToken?: string, sortBy?: 'BOOKING_CONFIRMED_DATE' | 'CITATION_CREATION_DATE' | 'CITATION_ISSUE_DATE' | 'LAST_CITATION_UPDATE_DATE', statusCategories?: 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED', extraHttpRequestParams?: any): ng.IHttpPromise<models.ListDashboardCasesResponse>;
44
+ listDashboardCasesUsingGET(userId: number, caseStatuses?: 'AMENDED_DOWN_WITHIN_CLASS' | 'AMENDED_FULL_FINE' | 'AMENDED_INCREASED_FINE' | 'AMENDED_NO_FINE' | 'AMENDED_REDUCED_FINE' | 'AMENDED_TO_INFRACTION' | 'AMENDED_TO_NMV' | 'CANCELLED_ATTORNEY_AT_FAULT' | 'CANCELLED_BY_LAWFIRM' | 'CANCELLED_BY_USER' | 'CANCELLED_DUPLICATE' | 'CANCELLED_NMV' | 'CANCELLED_NON_PAYMENT' | 'CANCELLED_NO_LAWFIRM' | 'CANCELLED_OVERDUE' | 'CANCELLED_TOO_SHORT_NOTICE' | 'CASE_IN_PROGRESS' | 'CLIENT_CONFIRMED' | 'CLIENT_CONFIRMED_UNPAID' | 'CLIENT_FIRED_LAWFIRM' | 'CLIENT_FORCED_LOSS' | 'CLIENT_PAID_FINE' | 'CLIENT_UNRESPONSIVE' | 'DEFERRED' | 'DISMISSED' | 'DIVERSION' | 'FEES_DISPUTED' | 'FINE_REDUCTION_ONLY' | 'LAWFIRM_WITHDRAWN' | 'LOST' | 'NO_LAWFIRM_AVAILABLE' | 'POINT_REDUCTION' | 'REFUSED_BY_LAWFIRM' | 'RESOLVED_NON_PAYMENT' | 'STALE' | 'TRAFFIC_SCHOOL' | 'UNCONFIRMED', includeDeleted?: boolean, limit?: number, previousPageToken?: string, sortBy?: 'BOOKING_CONFIRMED_DATE' | 'CITATION_CREATION_DATE' | 'CITATION_ISSUE_DATE' | 'COURT_DATE' | 'LAST_CITATION_UPDATE_DATE', statusCategories?: 'ACTIVE' | 'CANCELLED' | 'RESOLVED' | 'UNCONFIRMED', extraHttpRequestParams?: any): ng.IHttpPromise<models.ListDashboardCasesResponse>;
45
45
  }
@@ -9,18 +9,15 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import * as models from './models';
13
12
  export interface CaseCounterOfferModel {
14
13
  "counterOfferAmountInCents"?: number;
15
- "counterOfferDateUtc"?: models.Timestamp;
16
- "counterOfferId"?: number;
17
- "counterOfferStatus"?: string;
18
- "createdByUserId"?: number;
19
- "createdByUserRoleId"?: number;
20
- "initialLegalFeeInCents"?: number;
21
- "initialRefundPercentage"?: number;
22
- "lawfirmCaseId"?: number;
23
- "noteToClient"?: string;
24
- "noteToOtr"?: string;
25
- "refundPercentage"?: number;
14
+ "counterOfferStatus"?: CaseCounterOfferModel.CounterOfferStatusEnum;
15
+ }
16
+ export declare namespace CaseCounterOfferModel {
17
+ enum CounterOfferStatusEnum {
18
+ ACCEPTED,
19
+ DECLINED,
20
+ PENDING,
21
+ WITHDRAWN
22
+ }
26
23
  }
@@ -9,4 +9,13 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- export {};
12
+ export var CaseCounterOfferModel;
13
+ (function (CaseCounterOfferModel) {
14
+ let CounterOfferStatusEnum;
15
+ (function (CounterOfferStatusEnum) {
16
+ CounterOfferStatusEnum[CounterOfferStatusEnum["ACCEPTED"] = 'ACCEPTED'] = "ACCEPTED";
17
+ CounterOfferStatusEnum[CounterOfferStatusEnum["DECLINED"] = 'DECLINED'] = "DECLINED";
18
+ CounterOfferStatusEnum[CounterOfferStatusEnum["PENDING"] = 'PENDING'] = "PENDING";
19
+ CounterOfferStatusEnum[CounterOfferStatusEnum["WITHDRAWN"] = 'WITHDRAWN'] = "WITHDRAWN";
20
+ })(CounterOfferStatusEnum = CaseCounterOfferModel.CounterOfferStatusEnum || (CaseCounterOfferModel.CounterOfferStatusEnum = {}));
21
+ })(CaseCounterOfferModel || (CaseCounterOfferModel = {}));
@@ -13,10 +13,12 @@ import * as models from './models';
13
13
  export interface DashboardCaseModel {
14
14
  "authorModel"?: models.DashboardAuthorModel;
15
15
  "bookingConfirmedDate"?: string;
16
+ "caseCounterOffer"?: models.CaseCounterOfferModel;
16
17
  "caseId"?: string;
17
18
  "caseUserDetails"?: models.CaseUserDetailsModel;
18
19
  "citation"?: models.DashboardCitationModel;
19
20
  "court"?: models.DashboardCourtModel;
21
+ "engagementLetter"?: models.EngagementLetterModel;
20
22
  "hasLeftLawyerReview"?: boolean;
21
23
  "lawfirmId"?: number;
22
24
  "lawfirmName"?: string;
@@ -25,6 +27,8 @@ export interface DashboardCaseModel {
25
27
  "legalFeeInCents"?: number;
26
28
  "matchExpirationDateUtc"?: string;
27
29
  "messageBody"?: string;
30
+ "overduePayment"?: models.OverduePaymentModel;
28
31
  "status"?: models.DashboardStatusModel;
29
32
  "userId"?: number;
33
+ "violations"?: Array<models.ViolationModel0>;
30
34
  }
@@ -0,0 +1,15 @@
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 EngagementLetterModel {
13
+ "acknowledged"?: boolean;
14
+ "engagementLetterUrl"?: string;
15
+ }
@@ -0,0 +1,12 @@
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 {};
@@ -0,0 +1,14 @@
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 OverduePaymentModel {
13
+ "overduePaymentAmountInCents"?: number;
14
+ }
@@ -0,0 +1,12 @@
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 {};
@@ -0,0 +1,14 @@
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 ViolationModel0 {
13
+ "userFriendlyName"?: string;
14
+ }
@@ -0,0 +1,12 @@
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 {};
@@ -225,6 +225,7 @@ export * from './EnableViolationModel';
225
225
  export * from './EnableViolationResponseModel';
226
226
  export * from './EnableViolationsForLawfirmRequest';
227
227
  export * from './EnableViolationsForLawfirmResponse';
228
+ export * from './EngagementLetterModel';
228
229
  export * from './EstimateInsuranceSavingsRequest';
229
230
  export * from './EstimateInsuranceSavingsResponse';
230
231
  export * from './ExistingAccountDetails';
@@ -546,6 +547,7 @@ export * from './OCRPredictionCaseResponse';
546
547
  export * from './OCRViolationModel';
547
548
  export * from './OtherCase';
548
549
  export * from './OutgoingContactDomain';
550
+ export * from './OverduePaymentModel';
549
551
  export * from './PaymentCardInput';
550
552
  export * from './PaymentPlanTypeModel';
551
553
  export * from './PaymentPlanTypeModelReq';
@@ -817,6 +819,7 @@ export * from './ViolationClassificationModel';
817
819
  export * from './ViolationInput';
818
820
  export * from './ViolationInputRequest';
819
821
  export * from './ViolationModel';
822
+ export * from './ViolationModel0';
820
823
  export * from './ViolationNames';
821
824
  export * from './ViolationPenaltyModel';
822
825
  export * from './ViolationPenaltyResponse';
@@ -225,6 +225,7 @@ export * from './EnableViolationModel';
225
225
  export * from './EnableViolationResponseModel';
226
226
  export * from './EnableViolationsForLawfirmRequest';
227
227
  export * from './EnableViolationsForLawfirmResponse';
228
+ export * from './EngagementLetterModel';
228
229
  export * from './EstimateInsuranceSavingsRequest';
229
230
  export * from './EstimateInsuranceSavingsResponse';
230
231
  export * from './ExistingAccountDetails';
@@ -546,6 +547,7 @@ export * from './OCRPredictionCaseResponse';
546
547
  export * from './OCRViolationModel';
547
548
  export * from './OtherCase';
548
549
  export * from './OutgoingContactDomain';
550
+ export * from './OverduePaymentModel';
549
551
  export * from './PaymentCardInput';
550
552
  export * from './PaymentPlanTypeModel';
551
553
  export * from './PaymentPlanTypeModelReq';
@@ -817,6 +819,7 @@ export * from './ViolationClassificationModel';
817
819
  export * from './ViolationInput';
818
820
  export * from './ViolationInputRequest';
819
821
  export * from './ViolationModel';
822
+ export * from './ViolationModel0';
820
823
  export * from './ViolationNames';
821
824
  export * from './ViolationPenaltyModel';
822
825
  export * from './ViolationPenaltyResponse';
@@ -13,6 +13,9 @@ import * as runtime from '../runtime';
13
13
  import { GetActivityFeedResponse, ListCaseOutcomesResponse } from '../models';
14
14
  export interface ListActivityFeedUsingGETRequest {
15
15
  limit: number;
16
+ activityType?: ListActivityFeedUsingGETActivityTypeEnum;
17
+ courtId?: number;
18
+ hasProfilePicture?: boolean;
16
19
  nextPageToken?: string;
17
20
  previousPageToken?: string;
18
21
  regionCode?: string;
@@ -45,6 +48,17 @@ export declare class ActivityFeedControllerApi extends runtime.BaseAPI {
45
48
  */
46
49
  listCaseOutcomesUsingGET(requestParameters: ListCaseOutcomesUsingGETRequest): Promise<ListCaseOutcomesResponse>;
47
50
  }
51
+ /**
52
+ * @export
53
+ * @enum {string}
54
+ */
55
+ export declare enum ListActivityFeedUsingGETActivityTypeEnum {
56
+ PURCHASE = "PURCHASE",
57
+ REFERRAL = "REFERRAL",
58
+ REFUND = "REFUND",
59
+ RESOLUTION = "RESOLUTION",
60
+ TICKETREVIEW = "TICKET_REVIEW"
61
+ }
48
62
  /**
49
63
  * @export
50
64
  * @enum {string}
@@ -35,6 +35,15 @@ export class ActivityFeedControllerApi extends runtime.BaseAPI {
35
35
  throw new runtime.RequiredError('limit', 'Required parameter requestParameters.limit was null or undefined when calling listActivityFeedUsingGET.');
36
36
  }
37
37
  const queryParameters = {};
38
+ if (requestParameters.activityType !== undefined) {
39
+ queryParameters['activityType'] = requestParameters.activityType;
40
+ }
41
+ if (requestParameters.courtId !== undefined) {
42
+ queryParameters['courtId'] = requestParameters.courtId;
43
+ }
44
+ if (requestParameters.hasProfilePicture !== undefined) {
45
+ queryParameters['hasProfilePicture'] = requestParameters.hasProfilePicture;
46
+ }
38
47
  if (requestParameters.limit !== undefined) {
39
48
  queryParameters['limit'] = requestParameters.limit;
40
49
  }
@@ -107,6 +116,18 @@ export class ActivityFeedControllerApi extends runtime.BaseAPI {
107
116
  });
108
117
  }
109
118
  }
119
+ /**
120
+ * @export
121
+ * @enum {string}
122
+ */
123
+ export var ListActivityFeedUsingGETActivityTypeEnum;
124
+ (function (ListActivityFeedUsingGETActivityTypeEnum) {
125
+ ListActivityFeedUsingGETActivityTypeEnum["PURCHASE"] = "PURCHASE";
126
+ ListActivityFeedUsingGETActivityTypeEnum["REFERRAL"] = "REFERRAL";
127
+ ListActivityFeedUsingGETActivityTypeEnum["REFUND"] = "REFUND";
128
+ ListActivityFeedUsingGETActivityTypeEnum["RESOLUTION"] = "RESOLUTION";
129
+ ListActivityFeedUsingGETActivityTypeEnum["TICKETREVIEW"] = "TICKET_REVIEW";
130
+ })(ListActivityFeedUsingGETActivityTypeEnum || (ListActivityFeedUsingGETActivityTypeEnum = {}));
110
131
  /**
111
132
  * @export
112
133
  * @enum {string}
@@ -106,6 +106,7 @@ export declare enum ListDashboardCasesUsingGETSortByEnum {
106
106
  BOOKINGCONFIRMEDDATE = "BOOKING_CONFIRMED_DATE",
107
107
  CITATIONCREATIONDATE = "CITATION_CREATION_DATE",
108
108
  CITATIONISSUEDATE = "CITATION_ISSUE_DATE",
109
+ COURTDATE = "COURT_DATE",
109
110
  LASTCITATIONUPDATEDATE = "LAST_CITATION_UPDATE_DATE"
110
111
  }
111
112
  /**
@@ -182,6 +182,7 @@ export var ListDashboardCasesUsingGETSortByEnum;
182
182
  ListDashboardCasesUsingGETSortByEnum["BOOKINGCONFIRMEDDATE"] = "BOOKING_CONFIRMED_DATE";
183
183
  ListDashboardCasesUsingGETSortByEnum["CITATIONCREATIONDATE"] = "CITATION_CREATION_DATE";
184
184
  ListDashboardCasesUsingGETSortByEnum["CITATIONISSUEDATE"] = "CITATION_ISSUE_DATE";
185
+ ListDashboardCasesUsingGETSortByEnum["COURTDATE"] = "COURT_DATE";
185
186
  ListDashboardCasesUsingGETSortByEnum["LASTCITATIONUPDATEDATE"] = "LAST_CITATION_UPDATE_DATE";
186
187
  })(ListDashboardCasesUsingGETSortByEnum || (ListDashboardCasesUsingGETSortByEnum = {}));
187
188
  /**
@@ -9,7 +9,6 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { Timestamp } from './';
13
12
  /**
14
13
  *
15
14
  * @export
@@ -22,73 +21,23 @@ export interface CaseCounterOfferModel {
22
21
  * @memberof CaseCounterOfferModel
23
22
  */
24
23
  counterOfferAmountInCents?: number;
25
- /**
26
- *
27
- * @type {Timestamp}
28
- * @memberof CaseCounterOfferModel
29
- */
30
- counterOfferDateUtc?: Timestamp;
31
- /**
32
- *
33
- * @type {number}
34
- * @memberof CaseCounterOfferModel
35
- */
36
- counterOfferId?: number;
37
24
  /**
38
25
  *
39
26
  * @type {string}
40
27
  * @memberof CaseCounterOfferModel
41
28
  */
42
- counterOfferStatus?: string;
43
- /**
44
- *
45
- * @type {number}
46
- * @memberof CaseCounterOfferModel
47
- */
48
- createdByUserId?: number;
49
- /**
50
- *
51
- * @type {number}
52
- * @memberof CaseCounterOfferModel
53
- */
54
- createdByUserRoleId?: number;
55
- /**
56
- *
57
- * @type {number}
58
- * @memberof CaseCounterOfferModel
59
- */
60
- initialLegalFeeInCents?: number;
61
- /**
62
- *
63
- * @type {number}
64
- * @memberof CaseCounterOfferModel
65
- */
66
- initialRefundPercentage?: number;
67
- /**
68
- *
69
- * @type {number}
70
- * @memberof CaseCounterOfferModel
71
- */
72
- lawfirmCaseId?: number;
73
- /**
74
- *
75
- * @type {string}
76
- * @memberof CaseCounterOfferModel
77
- */
78
- noteToClient?: string;
79
- /**
80
- *
81
- * @type {string}
82
- * @memberof CaseCounterOfferModel
83
- */
84
- noteToOtr?: string;
85
- /**
86
- *
87
- * @type {number}
88
- * @memberof CaseCounterOfferModel
89
- */
90
- refundPercentage?: number;
29
+ counterOfferStatus?: CaseCounterOfferModelCounterOfferStatusEnum;
91
30
  }
92
31
  export declare function CaseCounterOfferModelFromJSON(json: any): CaseCounterOfferModel;
93
32
  export declare function CaseCounterOfferModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): CaseCounterOfferModel;
94
33
  export declare function CaseCounterOfferModelToJSON(value?: CaseCounterOfferModel | null): any;
34
+ /**
35
+ * @export
36
+ * @enum {string}
37
+ */
38
+ export declare enum CaseCounterOfferModelCounterOfferStatusEnum {
39
+ ACCEPTED = "ACCEPTED",
40
+ DECLINED = "DECLINED",
41
+ PENDING = "PENDING",
42
+ WITHDRAWN = "WITHDRAWN"
43
+ }
@@ -12,7 +12,6 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { TimestampFromJSON, TimestampToJSON, } from './';
16
15
  export function CaseCounterOfferModelFromJSON(json) {
17
16
  return CaseCounterOfferModelFromJSONTyped(json, false);
18
17
  }
@@ -22,17 +21,7 @@ export function CaseCounterOfferModelFromJSONTyped(json, ignoreDiscriminator) {
22
21
  }
23
22
  return {
24
23
  'counterOfferAmountInCents': !exists(json, 'counterOfferAmountInCents') ? undefined : json['counterOfferAmountInCents'],
25
- 'counterOfferDateUtc': !exists(json, 'counterOfferDateUtc') ? undefined : TimestampFromJSON(json['counterOfferDateUtc']),
26
- 'counterOfferId': !exists(json, 'counterOfferId') ? undefined : json['counterOfferId'],
27
24
  'counterOfferStatus': !exists(json, 'counterOfferStatus') ? undefined : json['counterOfferStatus'],
28
- 'createdByUserId': !exists(json, 'createdByUserId') ? undefined : json['createdByUserId'],
29
- 'createdByUserRoleId': !exists(json, 'createdByUserRoleId') ? undefined : json['createdByUserRoleId'],
30
- 'initialLegalFeeInCents': !exists(json, 'initialLegalFeeInCents') ? undefined : json['initialLegalFeeInCents'],
31
- 'initialRefundPercentage': !exists(json, 'initialRefundPercentage') ? undefined : json['initialRefundPercentage'],
32
- 'lawfirmCaseId': !exists(json, 'lawfirmCaseId') ? undefined : json['lawfirmCaseId'],
33
- 'noteToClient': !exists(json, 'noteToClient') ? undefined : json['noteToClient'],
34
- 'noteToOtr': !exists(json, 'noteToOtr') ? undefined : json['noteToOtr'],
35
- 'refundPercentage': !exists(json, 'refundPercentage') ? undefined : json['refundPercentage'],
36
25
  };
37
26
  }
38
27
  export function CaseCounterOfferModelToJSON(value) {
@@ -44,16 +33,17 @@ export function CaseCounterOfferModelToJSON(value) {
44
33
  }
45
34
  return {
46
35
  'counterOfferAmountInCents': value.counterOfferAmountInCents,
47
- 'counterOfferDateUtc': TimestampToJSON(value.counterOfferDateUtc),
48
- 'counterOfferId': value.counterOfferId,
49
36
  'counterOfferStatus': value.counterOfferStatus,
50
- 'createdByUserId': value.createdByUserId,
51
- 'createdByUserRoleId': value.createdByUserRoleId,
52
- 'initialLegalFeeInCents': value.initialLegalFeeInCents,
53
- 'initialRefundPercentage': value.initialRefundPercentage,
54
- 'lawfirmCaseId': value.lawfirmCaseId,
55
- 'noteToClient': value.noteToClient,
56
- 'noteToOtr': value.noteToOtr,
57
- 'refundPercentage': value.refundPercentage,
58
37
  };
59
38
  }
39
+ /**
40
+ * @export
41
+ * @enum {string}
42
+ */
43
+ export var CaseCounterOfferModelCounterOfferStatusEnum;
44
+ (function (CaseCounterOfferModelCounterOfferStatusEnum) {
45
+ CaseCounterOfferModelCounterOfferStatusEnum["ACCEPTED"] = "ACCEPTED";
46
+ CaseCounterOfferModelCounterOfferStatusEnum["DECLINED"] = "DECLINED";
47
+ CaseCounterOfferModelCounterOfferStatusEnum["PENDING"] = "PENDING";
48
+ CaseCounterOfferModelCounterOfferStatusEnum["WITHDRAWN"] = "WITHDRAWN";
49
+ })(CaseCounterOfferModelCounterOfferStatusEnum || (CaseCounterOfferModelCounterOfferStatusEnum = {}));
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { CaseUserDetailsModel, DashboardAuthorModel, DashboardCitationModel, DashboardCourtModel, DashboardStatusModel } from './';
12
+ import { CaseCounterOfferModel, CaseUserDetailsModel, DashboardAuthorModel, DashboardCitationModel, DashboardCourtModel, DashboardStatusModel, EngagementLetterModel, OverduePaymentModel, ViolationModel0 } from './';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -28,6 +28,12 @@ export interface DashboardCaseModel {
28
28
  * @memberof DashboardCaseModel
29
29
  */
30
30
  bookingConfirmedDate?: Date;
31
+ /**
32
+ *
33
+ * @type {CaseCounterOfferModel}
34
+ * @memberof DashboardCaseModel
35
+ */
36
+ caseCounterOffer?: CaseCounterOfferModel;
31
37
  /**
32
38
  *
33
39
  * @type {string}
@@ -52,6 +58,12 @@ export interface DashboardCaseModel {
52
58
  * @memberof DashboardCaseModel
53
59
  */
54
60
  court?: DashboardCourtModel;
61
+ /**
62
+ *
63
+ * @type {EngagementLetterModel}
64
+ * @memberof DashboardCaseModel
65
+ */
66
+ engagementLetter?: EngagementLetterModel;
55
67
  /**
56
68
  *
57
69
  * @type {boolean}
@@ -100,6 +112,12 @@ export interface DashboardCaseModel {
100
112
  * @memberof DashboardCaseModel
101
113
  */
102
114
  messageBody?: string;
115
+ /**
116
+ *
117
+ * @type {OverduePaymentModel}
118
+ * @memberof DashboardCaseModel
119
+ */
120
+ overduePayment?: OverduePaymentModel;
103
121
  /**
104
122
  *
105
123
  * @type {DashboardStatusModel}
@@ -112,6 +130,12 @@ export interface DashboardCaseModel {
112
130
  * @memberof DashboardCaseModel
113
131
  */
114
132
  userId?: number;
133
+ /**
134
+ *
135
+ * @type {Array<ViolationModel0>}
136
+ * @memberof DashboardCaseModel
137
+ */
138
+ violations?: Array<ViolationModel0>;
115
139
  }
116
140
  export declare function DashboardCaseModelFromJSON(json: any): DashboardCaseModel;
117
141
  export declare function DashboardCaseModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): DashboardCaseModel;
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { CaseUserDetailsModelFromJSON, CaseUserDetailsModelToJSON, DashboardAuthorModelFromJSON, DashboardAuthorModelToJSON, DashboardCitationModelFromJSON, DashboardCitationModelToJSON, DashboardCourtModelFromJSON, DashboardCourtModelToJSON, DashboardStatusModelFromJSON, DashboardStatusModelToJSON, } from './';
15
+ import { CaseCounterOfferModelFromJSON, CaseCounterOfferModelToJSON, CaseUserDetailsModelFromJSON, CaseUserDetailsModelToJSON, DashboardAuthorModelFromJSON, DashboardAuthorModelToJSON, DashboardCitationModelFromJSON, DashboardCitationModelToJSON, DashboardCourtModelFromJSON, DashboardCourtModelToJSON, DashboardStatusModelFromJSON, DashboardStatusModelToJSON, EngagementLetterModelFromJSON, EngagementLetterModelToJSON, OverduePaymentModelFromJSON, OverduePaymentModelToJSON, ViolationModel0FromJSON, ViolationModel0ToJSON, } from './';
16
16
  export function DashboardCaseModelFromJSON(json) {
17
17
  return DashboardCaseModelFromJSONTyped(json, false);
18
18
  }
@@ -23,10 +23,12 @@ export function DashboardCaseModelFromJSONTyped(json, ignoreDiscriminator) {
23
23
  return {
24
24
  'authorModel': !exists(json, 'authorModel') ? undefined : DashboardAuthorModelFromJSON(json['authorModel']),
25
25
  'bookingConfirmedDate': !exists(json, 'bookingConfirmedDate') ? undefined : (new Date(json['bookingConfirmedDate'])),
26
+ 'caseCounterOffer': !exists(json, 'caseCounterOffer') ? undefined : CaseCounterOfferModelFromJSON(json['caseCounterOffer']),
26
27
  'caseId': !exists(json, 'caseId') ? undefined : json['caseId'],
27
28
  'caseUserDetails': !exists(json, 'caseUserDetails') ? undefined : CaseUserDetailsModelFromJSON(json['caseUserDetails']),
28
29
  'citation': !exists(json, 'citation') ? undefined : DashboardCitationModelFromJSON(json['citation']),
29
30
  'court': !exists(json, 'court') ? undefined : DashboardCourtModelFromJSON(json['court']),
31
+ 'engagementLetter': !exists(json, 'engagementLetter') ? undefined : EngagementLetterModelFromJSON(json['engagementLetter']),
30
32
  'hasLeftLawyerReview': !exists(json, 'hasLeftLawyerReview') ? undefined : json['hasLeftLawyerReview'],
31
33
  'lawfirmId': !exists(json, 'lawfirmId') ? undefined : json['lawfirmId'],
32
34
  'lawfirmName': !exists(json, 'lawfirmName') ? undefined : json['lawfirmName'],
@@ -35,8 +37,10 @@ export function DashboardCaseModelFromJSONTyped(json, ignoreDiscriminator) {
35
37
  'legalFeeInCents': !exists(json, 'legalFeeInCents') ? undefined : json['legalFeeInCents'],
36
38
  'matchExpirationDateUtc': !exists(json, 'matchExpirationDateUtc') ? undefined : (new Date(json['matchExpirationDateUtc'])),
37
39
  'messageBody': !exists(json, 'messageBody') ? undefined : json['messageBody'],
40
+ 'overduePayment': !exists(json, 'overduePayment') ? undefined : OverduePaymentModelFromJSON(json['overduePayment']),
38
41
  'status': !exists(json, 'status') ? undefined : DashboardStatusModelFromJSON(json['status']),
39
42
  'userId': !exists(json, 'userId') ? undefined : json['userId'],
43
+ 'violations': !exists(json, 'violations') ? undefined : (json['violations'].map(ViolationModel0FromJSON)),
40
44
  };
41
45
  }
42
46
  export function DashboardCaseModelToJSON(value) {
@@ -49,10 +53,12 @@ export function DashboardCaseModelToJSON(value) {
49
53
  return {
50
54
  'authorModel': DashboardAuthorModelToJSON(value.authorModel),
51
55
  'bookingConfirmedDate': value.bookingConfirmedDate === undefined ? undefined : (value.bookingConfirmedDate.toISOString()),
56
+ 'caseCounterOffer': CaseCounterOfferModelToJSON(value.caseCounterOffer),
52
57
  'caseId': value.caseId,
53
58
  'caseUserDetails': CaseUserDetailsModelToJSON(value.caseUserDetails),
54
59
  'citation': DashboardCitationModelToJSON(value.citation),
55
60
  'court': DashboardCourtModelToJSON(value.court),
61
+ 'engagementLetter': EngagementLetterModelToJSON(value.engagementLetter),
56
62
  'hasLeftLawyerReview': value.hasLeftLawyerReview,
57
63
  'lawfirmId': value.lawfirmId,
58
64
  'lawfirmName': value.lawfirmName,
@@ -61,7 +67,9 @@ export function DashboardCaseModelToJSON(value) {
61
67
  'legalFeeInCents': value.legalFeeInCents,
62
68
  'matchExpirationDateUtc': value.matchExpirationDateUtc === undefined ? undefined : (value.matchExpirationDateUtc.toISOString()),
63
69
  'messageBody': value.messageBody,
70
+ 'overduePayment': OverduePaymentModelToJSON(value.overduePayment),
64
71
  'status': DashboardStatusModelToJSON(value.status),
65
72
  'userId': value.userId,
73
+ 'violations': value.violations === undefined ? undefined : (value.violations.map(ViolationModel0ToJSON)),
66
74
  };
67
75
  }
@@ -0,0 +1,33 @@
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 EngagementLetterModel
16
+ */
17
+ export interface EngagementLetterModel {
18
+ /**
19
+ *
20
+ * @type {boolean}
21
+ * @memberof EngagementLetterModel
22
+ */
23
+ acknowledged?: boolean;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof EngagementLetterModel
28
+ */
29
+ engagementLetterUrl?: string;
30
+ }
31
+ export declare function EngagementLetterModelFromJSON(json: any): EngagementLetterModel;
32
+ export declare function EngagementLetterModelFromJSONTyped(json: any, ignoreDiscriminator: boolean): EngagementLetterModel;
33
+ export declare function EngagementLetterModelToJSON(value?: EngagementLetterModel | null): any;