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

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.
@@ -808,29 +808,17 @@ export class CasePaymentControllerService {
808
808
  /**
809
809
  * listCostItemsForCustomer
810
810
  * @param caseId caseId
811
- * @param period period
812
- * @param productId productId
813
811
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
814
812
  * @param reportProgress flag to report request and response progress.
815
813
  */
816
- public listCostItemsForCustomerUsingGET(caseId: string, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListCostItemsForCustomerResponse>;
817
- public listCostItemsForCustomerUsingGET(caseId: string, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListCostItemsForCustomerResponse>>;
818
- public listCostItemsForCustomerUsingGET(caseId: string, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListCostItemsForCustomerResponse>>;
819
- public listCostItemsForCustomerUsingGET(caseId: string, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
814
+ public listCostItemsForCustomerUsingGET(caseId: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<ListCostItemsForCustomerResponse>;
815
+ public listCostItemsForCustomerUsingGET(caseId: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<ListCostItemsForCustomerResponse>>;
816
+ public listCostItemsForCustomerUsingGET(caseId: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<ListCostItemsForCustomerResponse>>;
817
+ public listCostItemsForCustomerUsingGET(caseId: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
820
818
  if (caseId === null || caseId === undefined) {
821
819
  throw new Error('Required parameter caseId was null or undefined when calling listCostItemsForCustomerUsingGET.');
822
820
  }
823
821
 
824
- let localVarQueryParameters = new HttpParams({encoder: this.encoder});
825
- if (period !== undefined && period !== null) {
826
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
827
- <any>period, 'period');
828
- }
829
- if (productId !== undefined && productId !== null) {
830
- localVarQueryParameters = this.addToHttpParams(localVarQueryParameters,
831
- <any>productId, 'productId');
832
- }
833
-
834
822
  let localVarHeaders = this.defaultHeaders;
835
823
 
836
824
  let localVarHttpHeaderAcceptSelected: string | undefined = options && options.httpHeaderAccept;
@@ -866,7 +854,6 @@ export class CasePaymentControllerService {
866
854
  return this.httpClient.request<ListCostItemsForCustomerResponse>('get', `${this.configuration.basePath}${localVarPath}`,
867
855
  {
868
856
  context: localVarHttpContext,
869
- params: localVarQueryParameters,
870
857
  responseType: <any>responseType_,
871
858
  withCredentials: this.configuration.withCredentials,
872
859
  headers: localVarHeaders,
@@ -18,6 +18,7 @@ export interface ListCostItemsForCustomerResponse {
18
18
  clientTotalCostInCents?: number;
19
19
  futurePayments?: Array<CasePaymentModel>;
20
20
  lineItems?: Array<LineItemModel>;
21
+ totalCaseCostInCents?: number;
21
22
  totalRefCodeAdjustmentInCents?: number;
22
23
  }
23
24
 
@@ -2533,8 +2533,6 @@ angular.module('otrBackendService', [])
2533
2533
  * @name OtrService#listCostItemsForCustomerUsingGET
2534
2534
  * @param {object} parameters - method options and parameters
2535
2535
  * @param {string} parameters.caseId - caseId
2536
- * @param {string} parameters.period - period
2537
- * @param {string} parameters.productId - productId
2538
2536
  */
2539
2537
  OtrService.prototype.listCostItemsForCustomerUsingGET = function(parameters) {
2540
2538
  if (parameters === undefined) {
@@ -2557,14 +2555,6 @@ angular.module('otrBackendService', [])
2557
2555
  return deferred.promise;
2558
2556
  }
2559
2557
 
2560
- if (parameters['period'] !== undefined) {
2561
- queryParameters['period'] = parameters['period'];
2562
- }
2563
-
2564
- if (parameters['productId'] !== undefined) {
2565
- queryParameters['productId'] = parameters['productId'];
2566
- }
2567
-
2568
2558
  queryParameters = mergeQueryParams(parameters, queryParameters);
2569
2559
 
2570
2560
  this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
@@ -12912,7 +12902,7 @@ angular.module('otrBackendService', [])
12912
12902
  }
12913
12903
 
12914
12904
  /** set default value **/
12915
- queryParameters['limit'] = 20;
12905
+ queryParameters['limit'] = 100;
12916
12906
 
12917
12907
  if (parameters['limit'] !== undefined) {
12918
12908
  queryParameters['limit'] = parameters['limit'];