@otr-app/shared-backend-generated-client 2.5.152 → 2.5.153

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 (29) hide show
  1. package/dist/angular/.openapi-generator/FILES +2 -0
  2. package/dist/angular/api/lawfirmController.service.ts +12 -4
  3. package/dist/angular/model/caseCounterStatusCounts.ts +19 -0
  4. package/dist/angular/model/caseStatusCounts.ts +20 -0
  5. package/dist/angular/model/getLawfirmCaseStatsResponse.ts +8 -0
  6. package/dist/angular/model/models.ts +2 -0
  7. package/dist/otrBackendService.js +5 -0
  8. package/dist/otrBackendService.min.js +3 -3
  9. package/dist/typescript/api/LawfirmControllerApi.d.ts +2 -1
  10. package/dist/typescript/api/LawfirmControllerApi.js +5 -1
  11. package/dist/typescript/model/CaseCounterStatusCounts.d.ts +16 -0
  12. package/dist/typescript/model/CaseCounterStatusCounts.js +12 -0
  13. package/dist/typescript/model/CaseStatusCounts.d.ts +17 -0
  14. package/dist/typescript/model/CaseStatusCounts.js +12 -0
  15. package/dist/typescript/model/GetLawfirmCaseStatsResponse.d.ts +7 -0
  16. package/dist/typescript/model/models.d.ts +2 -0
  17. package/dist/typescript/model/models.js +2 -0
  18. package/dist/typescript-fetch/apis/LawfirmControllerApi.d.ts +1 -0
  19. package/dist/typescript-fetch/apis/LawfirmControllerApi.js +3 -0
  20. package/dist/typescript-fetch/models/CaseCounterStatusCounts.d.ts +39 -0
  21. package/dist/typescript-fetch/models/CaseCounterStatusCounts.js +40 -0
  22. package/dist/typescript-fetch/models/CaseStatusCounts.d.ts +45 -0
  23. package/dist/typescript-fetch/models/CaseStatusCounts.js +42 -0
  24. package/dist/typescript-fetch/models/GetLawfirmCaseStatsResponse.d.ts +37 -0
  25. package/dist/typescript-fetch/models/GetLawfirmCaseStatsResponse.js +13 -0
  26. package/dist/typescript-fetch/models/index.d.ts +2 -0
  27. package/dist/typescript-fetch/models/index.js +2 -0
  28. package/dist/typescript-open-api/otr-backend.d.ts +34 -1
  29. package/package.json +1 -1
@@ -218,6 +218,7 @@ model/caseChargeResponsePojo.ts
218
218
  model/caseCounterOfferModel.ts
219
219
  model/caseCounterOption.ts
220
220
  model/caseCounterOptionModel.ts
221
+ model/caseCounterStatusCounts.ts
221
222
  model/caseCreationRequest.ts
222
223
  model/caseDeclineCategory.ts
223
224
  model/caseDeclineCategoryReasonsModel.ts
@@ -235,6 +236,7 @@ model/caseOutcomeModel.ts
235
236
  model/casePaymentBreakdownItemModel.ts
236
237
  model/casePaymentDomain.ts
237
238
  model/casePaymentModel.ts
239
+ model/caseStatusCounts.ts
238
240
  model/caseStatusDetailsResponse.ts
239
241
  model/caseStatusDomain.ts
240
242
  model/caseSummaryDomain.ts
@@ -827,17 +827,24 @@ export class LawfirmControllerService {
827
827
  /**
828
828
  * getLawfirmCaseStats
829
829
  * @param lawfirmId lawfirmId
830
+ * @param includeExtendedCounts includeExtendedCounts
830
831
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
831
832
  * @param reportProgress flag to report request and response progress.
832
833
  */
833
- public getLawfirmCaseStatsUsingGET(lawfirmId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetLawfirmCaseStatsResponse>;
834
- public getLawfirmCaseStatsUsingGET(lawfirmId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetLawfirmCaseStatsResponse>>;
835
- public getLawfirmCaseStatsUsingGET(lawfirmId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetLawfirmCaseStatsResponse>>;
836
- public getLawfirmCaseStatsUsingGET(lawfirmId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
834
+ public getLawfirmCaseStatsUsingGET(lawfirmId: number, includeExtendedCounts?: boolean, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetLawfirmCaseStatsResponse>;
835
+ public getLawfirmCaseStatsUsingGET(lawfirmId: number, includeExtendedCounts?: boolean, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetLawfirmCaseStatsResponse>>;
836
+ public getLawfirmCaseStatsUsingGET(lawfirmId: number, includeExtendedCounts?: boolean, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetLawfirmCaseStatsResponse>>;
837
+ public getLawfirmCaseStatsUsingGET(lawfirmId: number, includeExtendedCounts?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
837
838
  if (lawfirmId === null || lawfirmId === undefined) {
838
839
  throw new Error('Required parameter lawfirmId was null or undefined when calling getLawfirmCaseStatsUsingGET.');
839
840
  }
840
841
 
842
+ let localVarQueryParameters = new HttpParams({encoder: this.encoder});
843
+ if (includeExtendedCounts !== undefined && includeExtendedCounts !== null) {
844
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
845
+ <any>includeExtendedCounts, 'includeExtendedCounts');
846
+ }
847
+
841
848
  let localVarHeaders = this.defaultHeaders;
842
849
 
843
850
  let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
@@ -873,6 +880,7 @@ export class LawfirmControllerService {
873
880
  return this.httpClient.request<GetLawfirmCaseStatsResponse>('get', `${this.configuration.basePath}${localVarPath}`,
874
881
  {
875
882
  context: localVarHttpContext,
883
+ params: localVarQueryParameters,
876
884
  responseType: <any>responseType_,
877
885
  withCredentials: this.configuration.withCredentials,
878
886
  headers: localVarHeaders,
@@ -0,0 +1,19 @@
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 CaseCounterStatusCounts {
15
+ numAccepted?: number;
16
+ numDeclined?: number;
17
+ numPending?: number;
18
+ }
19
+
@@ -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 CaseStatusCounts {
15
+ numActive?: number;
16
+ numCancelled?: number;
17
+ numCancelledByDate?: number;
18
+ numResolved?: number;
19
+ }
20
+
@@ -9,12 +9,20 @@
9
9
  * https://openapi-generator.tech
10
10
  * Do not edit the class manually.
11
11
  */
12
+ import { CaseCounterStatusCounts } from './caseCounterStatusCounts';
13
+ import { CaseStatusCounts } from './caseStatusCounts';
12
14
 
13
15
 
14
16
  export interface GetLawfirmCaseStatsResponse {
15
17
  caseCountByStatusMap?: { [key: string]: number; };
18
+ caseCounterStatusCounts?: CaseCounterStatusCounts;
19
+ caseStatusCounts?: CaseStatusCounts;
16
20
  numBookedCases?: number;
21
+ numNoCourtDate?: number;
22
+ numPastCourtDate?: number;
17
23
  numResolvedCases?: number;
24
+ numSupportedState?: number;
25
+ numUnread?: number;
18
26
  successRate?: number;
19
27
  }
20
28
 
@@ -94,6 +94,7 @@ export * from './caseChargeResponsePojo';
94
94
  export * from './caseCounterOfferModel';
95
95
  export * from './caseCounterOption';
96
96
  export * from './caseCounterOptionModel';
97
+ export * from './caseCounterStatusCounts';
97
98
  export * from './caseCreationRequest';
98
99
  export * from './caseDeclineCategory';
99
100
  export * from './caseDeclineCategoryReasonsModel';
@@ -111,6 +112,7 @@ export * from './caseOutcomeModel';
111
112
  export * from './casePaymentBreakdownItemModel';
112
113
  export * from './casePaymentDomain';
113
114
  export * from './casePaymentModel';
115
+ export * from './caseStatusCounts';
114
116
  export * from './caseStatusDetailsResponse';
115
117
  export * from './caseStatusDomain';
116
118
  export * from './caseSummaryDomain';
@@ -10723,6 +10723,7 @@ angular.module('otrBackendService', [])
10723
10723
  * @method
10724
10724
  * @name OtrService#getLawfirmCaseStatsUsingGET
10725
10725
  * @param {object} parameters - method options and parameters
10726
+ * @param {boolean} parameters.includeExtendedCounts - includeExtendedCounts
10726
10727
  * @param {integer} parameters.lawfirmId - lawfirmId
10727
10728
  */
10728
10729
  OtrService.prototype.getLawfirmCaseStatsUsingGET = function(parameters) {
@@ -10739,6 +10740,10 @@ angular.module('otrBackendService', [])
10739
10740
 
10740
10741
  headers['Accept'] = ['*/*'];
10741
10742
 
10743
+ if (parameters['includeExtendedCounts'] !== undefined) {
10744
+ queryParameters['includeExtendedCounts'] = parameters['includeExtendedCounts'];
10745
+ }
10746
+
10742
10747
  path = path.replace('{lawfirmId}', parameters['lawfirmId']);
10743
10748
 
10744
10749
  if (parameters['lawfirmId'] === undefined) {