@otr-app/shared-backend-generated-client 2.5.89 → 2.5.90

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.
@@ -477,17 +477,24 @@ export class CasePaymentControllerService {
477
477
  /**
478
478
  * getCasePayments
479
479
  * @param caseId caseId
480
+ * @param includeInactiveLawfirmCases includeInactiveLawfirmCases
480
481
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
481
482
  * @param reportProgress flag to report request and response progress.
482
483
  */
483
- public getCasePaymentsUsingGET(caseId: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetCasePaymentsResponse>;
484
- public getCasePaymentsUsingGET(caseId: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetCasePaymentsResponse>>;
485
- public getCasePaymentsUsingGET(caseId: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetCasePaymentsResponse>>;
486
- public getCasePaymentsUsingGET(caseId: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
484
+ public getCasePaymentsUsingGET(caseId: string, includeInactiveLawfirmCases?: boolean, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<GetCasePaymentsResponse>;
485
+ public getCasePaymentsUsingGET(caseId: string, includeInactiveLawfirmCases?: boolean, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<GetCasePaymentsResponse>>;
486
+ public getCasePaymentsUsingGET(caseId: string, includeInactiveLawfirmCases?: boolean, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<GetCasePaymentsResponse>>;
487
+ public getCasePaymentsUsingGET(caseId: string, includeInactiveLawfirmCases?: boolean, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
487
488
  if (caseId === null || caseId === undefined) {
488
489
  throw new Error('Required parameter caseId was null or undefined when calling getCasePaymentsUsingGET.');
489
490
  }
490
491
 
492
+ let localVarQueryParameters = new HttpParams({encoder: this.encoder});
493
+ if (includeInactiveLawfirmCases !== undefined && includeInactiveLawfirmCases !== null) {
494
+ localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
495
+ <any>includeInactiveLawfirmCases, 'includeInactiveLawfirmCases');
496
+ }
497
+
491
498
  let localVarHeaders = this.defaultHeaders;
492
499
 
493
500
  let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
@@ -523,6 +530,7 @@ export class CasePaymentControllerService {
523
530
  return this.httpClient.request<GetCasePaymentsResponse>('get', `${this.configuration.basePath}${localVarPath}`,
524
531
  {
525
532
  context: localVarHttpContext,
533
+ params: localVarQueryParameters,
526
534
  responseType: <any>responseType_,
527
535
  withCredentials: this.configuration.withCredentials,
528
536
  headers: localVarHeaders,
@@ -3370,6 +3370,7 @@ angular.module('otrBackendService', [])
3370
3370
  * @name OtrService#getCasePaymentsUsingGET
3371
3371
  * @param {object} parameters - method options and parameters
3372
3372
  * @param {string} parameters.caseId - caseId
3373
+ * @param {boolean} parameters.includeInactiveLawfirmCases - includeInactiveLawfirmCases
3373
3374
  */
3374
3375
  OtrService.prototype.getCasePaymentsUsingGET = function(parameters) {
3375
3376
  if (parameters === undefined) {
@@ -3392,6 +3393,10 @@ angular.module('otrBackendService', [])
3392
3393
  return deferred.promise;
3393
3394
  }
3394
3395
 
3396
+ if (parameters['includeInactiveLawfirmCases'] !== undefined) {
3397
+ queryParameters['includeInactiveLawfirmCases'] = parameters['includeInactiveLawfirmCases'];
3398
+ }
3399
+
3395
3400
  queryParameters = mergeQueryParams(parameters, queryParameters);
3396
3401
 
3397
3402
  this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);