@otr-app/shared-backend-generated-client 2.5.5 → 2.5.7

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.
@@ -317,6 +317,7 @@ model/customerServiceAgentDomain.ts
317
317
  model/dashboardAddressModel.ts
318
318
  model/dashboardAuthorModel.ts
319
319
  model/dashboardCaseCounterOfferModel.ts
320
+ model/dashboardCaseCountsDto.ts
320
321
  model/dashboardCaseModel.ts
321
322
  model/dashboardCaseUserModel.ts
322
323
  model/dashboardCitationModel.ts
@@ -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
+
13
+
14
+ export interface DashboardCaseCountsDto {
15
+ active?: number;
16
+ canceled?: number;
17
+ resolved?: number;
18
+ unconfirmed?: number;
19
+ }
20
+
@@ -29,6 +29,7 @@ export interface DashboardCaseModel {
29
29
  caseUserDetails?: CaseUserDetailsModel;
30
30
  citation?: DashboardCitationModel;
31
31
  court?: DashboardCourtModel;
32
+ courtDate?: string;
32
33
  disputeModel?: DashboardDisputeModel;
33
34
  engagementLetter?: EngagementLetterModel;
34
35
  hasLeftLawyerReview?: boolean;
@@ -10,10 +10,12 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { DashboardCaseModel } from './dashboardCaseModel';
13
+ import { DashboardCaseCountsDto } from './dashboardCaseCountsDto';
13
14
 
14
15
 
15
16
  export interface ListDashboardCasesResponse {
16
17
  cases?: Array<DashboardCaseModel>;
18
+ counts?: DashboardCaseCountsDto;
17
19
  previousPageToken?: string;
18
20
  }
19
21
 
@@ -193,6 +193,7 @@ export * from './customerServiceAgentDomain';
193
193
  export * from './dashboardAddressModel';
194
194
  export * from './dashboardAuthorModel';
195
195
  export * from './dashboardCaseCounterOfferModel';
196
+ export * from './dashboardCaseCountsDto';
196
197
  export * from './dashboardCaseModel';
197
198
  export * from './dashboardCaseUserModel';
198
199
  export * from './dashboardCitationModel';
@@ -0,0 +1,17 @@
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 DashboardCaseCountsDto {
13
+ "active"?: number;
14
+ "canceled"?: number;
15
+ "resolved"?: number;
16
+ "unconfirmed"?: number;
17
+ }
@@ -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 {};
@@ -18,6 +18,7 @@ export interface DashboardCaseModel {
18
18
  "caseUserDetails"?: models.CaseUserDetailsModel;
19
19
  "citation"?: models.DashboardCitationModel;
20
20
  "court"?: models.DashboardCourtModel;
21
+ "courtDate"?: string;
21
22
  "disputeModel"?: models.DashboardDisputeModel;
22
23
  "engagementLetter"?: models.EngagementLetterModel;
23
24
  "hasLeftLawyerReview"?: boolean;
@@ -12,5 +12,6 @@
12
12
  import * as models from './models';
13
13
  export interface ListDashboardCasesResponse {
14
14
  "cases"?: Array<models.DashboardCaseModel>;
15
+ "counts"?: models.DashboardCaseCountsDto;
15
16
  "previousPageToken"?: string;
16
17
  }
@@ -193,6 +193,7 @@ export * from './CustomerServiceAgentDomain';
193
193
  export * from './DashboardAddressModel';
194
194
  export * from './DashboardAuthorModel';
195
195
  export * from './DashboardCaseCounterOfferModel';
196
+ export * from './DashboardCaseCountsDto';
196
197
  export * from './DashboardCaseModel';
197
198
  export * from './DashboardCaseUserModel';
198
199
  export * from './DashboardCitationModel';
@@ -193,6 +193,7 @@ export * from './CustomerServiceAgentDomain';
193
193
  export * from './DashboardAddressModel';
194
194
  export * from './DashboardAuthorModel';
195
195
  export * from './DashboardCaseCounterOfferModel';
196
+ export * from './DashboardCaseCountsDto';
196
197
  export * from './DashboardCaseModel';
197
198
  export * from './DashboardCaseUserModel';
198
199
  export * from './DashboardCitationModel';
@@ -0,0 +1,45 @@
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 DashboardCaseCountsDto
16
+ */
17
+ export interface DashboardCaseCountsDto {
18
+ /**
19
+ *
20
+ * @type {number}
21
+ * @memberof DashboardCaseCountsDto
22
+ */
23
+ active?: number;
24
+ /**
25
+ *
26
+ * @type {number}
27
+ * @memberof DashboardCaseCountsDto
28
+ */
29
+ canceled?: number;
30
+ /**
31
+ *
32
+ * @type {number}
33
+ * @memberof DashboardCaseCountsDto
34
+ */
35
+ resolved?: number;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof DashboardCaseCountsDto
40
+ */
41
+ unconfirmed?: number;
42
+ }
43
+ export declare function DashboardCaseCountsDtoFromJSON(json: any): DashboardCaseCountsDto;
44
+ export declare function DashboardCaseCountsDtoFromJSONTyped(json: any, ignoreDiscriminator: boolean): DashboardCaseCountsDto;
45
+ export declare function DashboardCaseCountsDtoToJSON(value?: DashboardCaseCountsDto | null): any;
@@ -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 DashboardCaseCountsDtoFromJSON(json) {
16
+ return DashboardCaseCountsDtoFromJSONTyped(json, false);
17
+ }
18
+ export function DashboardCaseCountsDtoFromJSONTyped(json, ignoreDiscriminator) {
19
+ if ((json === undefined) || (json === null)) {
20
+ return json;
21
+ }
22
+ return {
23
+ 'active': !exists(json, 'active') ? undefined : json['active'],
24
+ 'canceled': !exists(json, 'canceled') ? undefined : json['canceled'],
25
+ 'resolved': !exists(json, 'resolved') ? undefined : json['resolved'],
26
+ 'unconfirmed': !exists(json, 'unconfirmed') ? undefined : json['unconfirmed'],
27
+ };
28
+ }
29
+ export function DashboardCaseCountsDtoToJSON(value) {
30
+ if (value === undefined) {
31
+ return undefined;
32
+ }
33
+ if (value === null) {
34
+ return null;
35
+ }
36
+ return {
37
+ 'active': value.active,
38
+ 'canceled': value.canceled,
39
+ 'resolved': value.resolved,
40
+ 'unconfirmed': value.unconfirmed,
41
+ };
42
+ }
@@ -58,6 +58,12 @@ export interface DashboardCaseModel {
58
58
  * @memberof DashboardCaseModel
59
59
  */
60
60
  court?: DashboardCourtModel;
61
+ /**
62
+ *
63
+ * @type {Date}
64
+ * @memberof DashboardCaseModel
65
+ */
66
+ courtDate?: Date;
61
67
  /**
62
68
  *
63
69
  * @type {DashboardDisputeModel}
@@ -28,6 +28,7 @@ export function DashboardCaseModelFromJSONTyped(json, ignoreDiscriminator) {
28
28
  'caseUserDetails': !exists(json, 'caseUserDetails') ? undefined : CaseUserDetailsModelFromJSON(json['caseUserDetails']),
29
29
  'citation': !exists(json, 'citation') ? undefined : DashboardCitationModelFromJSON(json['citation']),
30
30
  'court': !exists(json, 'court') ? undefined : DashboardCourtModelFromJSON(json['court']),
31
+ 'courtDate': !exists(json, 'courtDate') ? undefined : (new Date(json['courtDate'])),
31
32
  'disputeModel': !exists(json, 'disputeModel') ? undefined : DashboardDisputeModelFromJSON(json['disputeModel']),
32
33
  'engagementLetter': !exists(json, 'engagementLetter') ? undefined : EngagementLetterModelFromJSON(json['engagementLetter']),
33
34
  'hasLeftLawyerReview': !exists(json, 'hasLeftLawyerReview') ? undefined : json['hasLeftLawyerReview'],
@@ -60,6 +61,7 @@ export function DashboardCaseModelToJSON(value) {
60
61
  'caseUserDetails': CaseUserDetailsModelToJSON(value.caseUserDetails),
61
62
  'citation': DashboardCitationModelToJSON(value.citation),
62
63
  'court': DashboardCourtModelToJSON(value.court),
64
+ 'courtDate': value.courtDate === undefined ? undefined : (value.courtDate.toISOString()),
63
65
  'disputeModel': DashboardDisputeModelToJSON(value.disputeModel),
64
66
  'engagementLetter': EngagementLetterModelToJSON(value.engagementLetter),
65
67
  'hasLeftLawyerReview': value.hasLeftLawyerReview,
@@ -9,7 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
- import { DashboardCaseModel } from './';
12
+ import { DashboardCaseCountsDto, DashboardCaseModel } from './';
13
13
  /**
14
14
  *
15
15
  * @export
@@ -22,6 +22,12 @@ export interface ListDashboardCasesResponse {
22
22
  * @memberof ListDashboardCasesResponse
23
23
  */
24
24
  cases?: Array<DashboardCaseModel>;
25
+ /**
26
+ *
27
+ * @type {DashboardCaseCountsDto}
28
+ * @memberof ListDashboardCasesResponse
29
+ */
30
+ counts?: DashboardCaseCountsDto;
25
31
  /**
26
32
  *
27
33
  * @type {string}
@@ -12,7 +12,7 @@
12
12
  * Do not edit the class manually.
13
13
  */
14
14
  import { exists } from '../runtime';
15
- import { DashboardCaseModelFromJSON, DashboardCaseModelToJSON, } from './';
15
+ import { DashboardCaseCountsDtoFromJSON, DashboardCaseCountsDtoToJSON, DashboardCaseModelFromJSON, DashboardCaseModelToJSON, } from './';
16
16
  export function ListDashboardCasesResponseFromJSON(json) {
17
17
  return ListDashboardCasesResponseFromJSONTyped(json, false);
18
18
  }
@@ -22,6 +22,7 @@ export function ListDashboardCasesResponseFromJSONTyped(json, ignoreDiscriminato
22
22
  }
23
23
  return {
24
24
  'cases': !exists(json, 'cases') ? undefined : (json['cases'].map(DashboardCaseModelFromJSON)),
25
+ 'counts': !exists(json, 'counts') ? undefined : DashboardCaseCountsDtoFromJSON(json['counts']),
25
26
  'previousPageToken': !exists(json, 'previousPageToken') ? undefined : json['previousPageToken'],
26
27
  };
27
28
  }
@@ -34,6 +35,7 @@ export function ListDashboardCasesResponseToJSON(value) {
34
35
  }
35
36
  return {
36
37
  'cases': value.cases === undefined ? undefined : (value.cases.map(DashboardCaseModelToJSON)),
38
+ 'counts': DashboardCaseCountsDtoToJSON(value.counts),
37
39
  'previousPageToken': value.previousPageToken,
38
40
  };
39
41
  }
@@ -193,6 +193,7 @@ export * from './CustomerServiceAgentDomain';
193
193
  export * from './DashboardAddressModel';
194
194
  export * from './DashboardAuthorModel';
195
195
  export * from './DashboardCaseCounterOfferModel';
196
+ export * from './DashboardCaseCountsDto';
196
197
  export * from './DashboardCaseModel';
197
198
  export * from './DashboardCaseUserModel';
198
199
  export * from './DashboardCitationModel';
@@ -193,6 +193,7 @@ export * from './CustomerServiceAgentDomain';
193
193
  export * from './DashboardAddressModel';
194
194
  export * from './DashboardAuthorModel';
195
195
  export * from './DashboardCaseCounterOfferModel';
196
+ export * from './DashboardCaseCountsDto';
196
197
  export * from './DashboardCaseModel';
197
198
  export * from './DashboardCaseUserModel';
198
199
  export * from './DashboardCitationModel';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.5.5",
3
+ "version": "2.5.7",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"