@otr-app/shared-backend-generated-client 2.3.240 → 2.3.241

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.
@@ -217,6 +217,7 @@ model/caseModel.ts
217
217
  model/caseModelReq.ts
218
218
  model/caseModelRes.ts
219
219
  model/caseNotesDomain.ts
220
+ model/caseOutcomeModel.ts
220
221
  model/casePaymentDomain.ts
221
222
  model/casePaymentModel.ts
222
223
  model/caseStatusDetailsResponse.ts
@@ -178,10 +178,10 @@ export class ActivityFeedControllerService {
178
178
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
179
179
  * @param reportProgress flag to report request and response progress.
180
180
  */
181
- public listCaseOutcomesUsingGET(includeCriminal?: boolean, limit?: number, regionCode?: string, resolutionStatuses?: 'LOST' | 'POINTS_REDUCED' | 'TICKET_DISMISSED', startDate?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListCaseOutcomesResponse>;
182
- public listCaseOutcomesUsingGET(includeCriminal?: boolean, limit?: number, regionCode?: string, resolutionStatuses?: 'LOST' | 'POINTS_REDUCED' | 'TICKET_DISMISSED', startDate?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListCaseOutcomesResponse>>;
183
- public listCaseOutcomesUsingGET(includeCriminal?: boolean, limit?: number, regionCode?: string, resolutionStatuses?: 'LOST' | 'POINTS_REDUCED' | 'TICKET_DISMISSED', startDate?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListCaseOutcomesResponse>>;
184
- public listCaseOutcomesUsingGET(includeCriminal?: boolean, limit?: number, regionCode?: string, resolutionStatuses?: 'LOST' | 'POINTS_REDUCED' | 'TICKET_DISMISSED', startDate?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
181
+ public listCaseOutcomesUsingGET(includeCriminal?: boolean, limit?: number, regionCode?: string, resolutionStatuses?: 'LOST' | 'POINTS_REDUCED' | 'REDUCED_TO_NON_MOVER' | 'TICKET_DISMISSED', startDate?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListCaseOutcomesResponse>;
182
+ public listCaseOutcomesUsingGET(includeCriminal?: boolean, limit?: number, regionCode?: string, resolutionStatuses?: 'LOST' | 'POINTS_REDUCED' | 'REDUCED_TO_NON_MOVER' | 'TICKET_DISMISSED', startDate?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListCaseOutcomesResponse>>;
183
+ public listCaseOutcomesUsingGET(includeCriminal?: boolean, limit?: number, regionCode?: string, resolutionStatuses?: 'LOST' | 'POINTS_REDUCED' | 'REDUCED_TO_NON_MOVER' | 'TICKET_DISMISSED', startDate?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListCaseOutcomesResponse>>;
184
+ public listCaseOutcomesUsingGET(includeCriminal?: boolean, limit?: number, regionCode?: string, resolutionStatuses?: 'LOST' | 'POINTS_REDUCED' | 'REDUCED_TO_NON_MOVER' | 'TICKET_DISMISSED', startDate?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
185
185
 
186
186
  let localVarQueryParameters = new HttpParams({encoder: this.encoder});
187
187
  if (includeCriminal !== undefined && includeCriminal !== null) {
@@ -0,0 +1,36 @@
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 CaseOutcomeModel {
15
+ averageSavingsInCents?: number;
16
+ city?: string;
17
+ clientName?: string;
18
+ courtName?: string;
19
+ criminal?: boolean;
20
+ profilePictureUrl?: string;
21
+ regionCode?: string;
22
+ resolutionDateUtc?: string;
23
+ resolutionStatus?: CaseOutcomeModel.ResolutionStatusEnum;
24
+ shortViolationName?: string;
25
+ }
26
+ export namespace CaseOutcomeModel {
27
+ export type ResolutionStatusEnum = 'LOST' | 'POINTS_REDUCED' | 'REDUCED_TO_NON_MOVER' | 'TICKET_DISMISSED';
28
+ export const ResolutionStatusEnum = {
29
+ Lost: 'LOST' as ResolutionStatusEnum,
30
+ PointsReduced: 'POINTS_REDUCED' as ResolutionStatusEnum,
31
+ ReducedToNonMover: 'REDUCED_TO_NON_MOVER' as ResolutionStatusEnum,
32
+ TicketDismissed: 'TICKET_DISMISSED' as ResolutionStatusEnum
33
+ };
34
+ }
35
+
36
+
@@ -9,27 +9,10 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { CaseOutcomeModel } from './caseOutcomeModel';
12
13
 
13
14
 
14
15
  export interface ListCaseOutcomesResponse {
15
- averageSavingsInCents?: number;
16
- city?: string;
17
- clientName?: string;
18
- courtName?: string;
19
- criminal?: boolean;
20
- profilePictureUrl?: string;
21
- regionCode?: string;
22
- resolutionDateUtc?: string;
23
- resolutionStatus?: ListCaseOutcomesResponse.ResolutionStatusEnum;
24
- shortViolationName?: string;
16
+ outcomes?: Array<CaseOutcomeModel>;
25
17
  }
26
- export namespace ListCaseOutcomesResponse {
27
- export type ResolutionStatusEnum = 'LOST' | 'POINTS_REDUCED' | 'TICKET_DISMISSED';
28
- export const ResolutionStatusEnum = {
29
- Lost: 'LOST' as ResolutionStatusEnum,
30
- PointsReduced: 'POINTS_REDUCED' as ResolutionStatusEnum,
31
- TicketDismissed: 'TICKET_DISMISSED' as ResolutionStatusEnum
32
- };
33
- }
34
-
35
18
 
@@ -97,6 +97,7 @@ export * from './caseModel';
97
97
  export * from './caseModelReq';
98
98
  export * from './caseModelRes';
99
99
  export * from './caseNotesDomain';
100
+ export * from './caseOutcomeModel';
100
101
  export * from './casePaymentDomain';
101
102
  export * from './casePaymentModel';
102
103
  export * from './caseStatusDetailsResponse';
@@ -35,5 +35,5 @@ export declare class ActivityFeedControllerApi {
35
35
  * @param resolutionStatuses resolutionStatuses
36
36
  * @param startDate startDate
37
37
  */
38
- listCaseOutcomesUsingGET(includeCriminal?: boolean, limit?: number, regionCode?: string, resolutionStatuses?: 'LOST' | 'POINTS_REDUCED' | 'TICKET_DISMISSED', startDate?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListCaseOutcomesResponse>;
38
+ listCaseOutcomesUsingGET(includeCriminal?: boolean, limit?: number, regionCode?: string, resolutionStatuses?: 'LOST' | 'POINTS_REDUCED' | 'REDUCED_TO_NON_MOVER' | 'TICKET_DISMISSED', startDate?: string, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListCaseOutcomesResponse>;
39
39
  }
@@ -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
+ export interface CaseOutcomeModel {
13
+ "averageSavingsInCents"?: number;
14
+ "city"?: string;
15
+ "clientName"?: string;
16
+ "courtName"?: string;
17
+ "criminal"?: boolean;
18
+ "profilePictureUrl"?: string;
19
+ "regionCode"?: string;
20
+ "resolutionDateUtc"?: string;
21
+ "resolutionStatus"?: CaseOutcomeModel.ResolutionStatusEnum;
22
+ "shortViolationName"?: string;
23
+ }
24
+ export declare namespace CaseOutcomeModel {
25
+ enum ResolutionStatusEnum {
26
+ LOST,
27
+ POINTSREDUCED,
28
+ REDUCEDTONONMOVER,
29
+ TICKETDISMISSED
30
+ }
31
+ }
@@ -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.CaseOutcomeModel = void 0;
15
+ var CaseOutcomeModel;
16
+ (function (CaseOutcomeModel) {
17
+ var ResolutionStatusEnum;
18
+ (function (ResolutionStatusEnum) {
19
+ ResolutionStatusEnum[ResolutionStatusEnum["LOST"] = 'LOST'] = "LOST";
20
+ ResolutionStatusEnum[ResolutionStatusEnum["POINTSREDUCED"] = 'POINTS_REDUCED'] = "POINTSREDUCED";
21
+ ResolutionStatusEnum[ResolutionStatusEnum["REDUCEDTONONMOVER"] = 'REDUCED_TO_NON_MOVER'] = "REDUCEDTONONMOVER";
22
+ ResolutionStatusEnum[ResolutionStatusEnum["TICKETDISMISSED"] = 'TICKET_DISMISSED'] = "TICKETDISMISSED";
23
+ })(ResolutionStatusEnum = CaseOutcomeModel.ResolutionStatusEnum || (CaseOutcomeModel.ResolutionStatusEnum = {}));
24
+ })(CaseOutcomeModel = exports.CaseOutcomeModel || (exports.CaseOutcomeModel = {}));
@@ -9,22 +9,7 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import * as models from './models';
12
13
  export interface ListCaseOutcomesResponse {
13
- "averageSavingsInCents"?: number;
14
- "city"?: string;
15
- "clientName"?: string;
16
- "courtName"?: string;
17
- "criminal"?: boolean;
18
- "profilePictureUrl"?: string;
19
- "regionCode"?: string;
20
- "resolutionDateUtc"?: string;
21
- "resolutionStatus"?: ListCaseOutcomesResponse.ResolutionStatusEnum;
22
- "shortViolationName"?: string;
23
- }
24
- export declare namespace ListCaseOutcomesResponse {
25
- enum ResolutionStatusEnum {
26
- LOST,
27
- POINTSREDUCED,
28
- TICKETDISMISSED
29
- }
14
+ "outcomes"?: Array<models.CaseOutcomeModel>;
30
15
  }
@@ -11,13 +11,3 @@
11
11
  * Do not edit the class manually.
12
12
  */
13
13
  Object.defineProperty(exports, "__esModule", { value: true });
14
- exports.ListCaseOutcomesResponse = void 0;
15
- var ListCaseOutcomesResponse;
16
- (function (ListCaseOutcomesResponse) {
17
- var ResolutionStatusEnum;
18
- (function (ResolutionStatusEnum) {
19
- ResolutionStatusEnum[ResolutionStatusEnum["LOST"] = 'LOST'] = "LOST";
20
- ResolutionStatusEnum[ResolutionStatusEnum["POINTSREDUCED"] = 'POINTS_REDUCED'] = "POINTSREDUCED";
21
- ResolutionStatusEnum[ResolutionStatusEnum["TICKETDISMISSED"] = 'TICKET_DISMISSED'] = "TICKETDISMISSED";
22
- })(ResolutionStatusEnum = ListCaseOutcomesResponse.ResolutionStatusEnum || (ListCaseOutcomesResponse.ResolutionStatusEnum = {}));
23
- })(ListCaseOutcomesResponse = exports.ListCaseOutcomesResponse || (exports.ListCaseOutcomesResponse = {}));
@@ -97,6 +97,7 @@ export * from './CaseModel';
97
97
  export * from './CaseModelReq';
98
98
  export * from './CaseModelRes';
99
99
  export * from './CaseNotesDomain';
100
+ export * from './CaseOutcomeModel';
100
101
  export * from './CasePaymentDomain';
101
102
  export * from './CasePaymentModel';
102
103
  export * from './CaseStatusDetailsResponse';
@@ -109,6 +109,7 @@ __exportStar(require("./CaseModel"), exports);
109
109
  __exportStar(require("./CaseModelReq"), exports);
110
110
  __exportStar(require("./CaseModelRes"), exports);
111
111
  __exportStar(require("./CaseNotesDomain"), exports);
112
+ __exportStar(require("./CaseOutcomeModel"), exports);
112
113
  __exportStar(require("./CasePaymentDomain"), exports);
113
114
  __exportStar(require("./CasePaymentModel"), exports);
114
115
  __exportStar(require("./CaseStatusDetailsResponse"), exports);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otr-app/shared-backend-generated-client",
3
- "version": "2.3.240",
3
+ "version": "2.3.241",
4
4
  "main": "dist/otrBackendService.min.js",
5
5
  "files": [
6
6
  "/dist"