@otr-app/shared-backend-generated-client 2.5.33 → 2.5.34

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.
@@ -102,15 +102,15 @@ export class CaseTransferControllerService {
102
102
  * @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
103
103
  * @param reportProgress flag to report request and response progress.
104
104
  */
105
- public calculateTransferFeeDifferenceUsingGET(caseId: string, lawfirmId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<CalculateTransferFeeDifferenceResponse>;
106
- public calculateTransferFeeDifferenceUsingGET(caseId: string, lawfirmId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<CalculateTransferFeeDifferenceResponse>>;
107
- public calculateTransferFeeDifferenceUsingGET(caseId: string, lawfirmId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<CalculateTransferFeeDifferenceResponse>>;
108
- public calculateTransferFeeDifferenceUsingGET(caseId: string, lawfirmId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
105
+ public calculateTransferFeeDifferenceUsingPOST(caseId: string, lawfirmId: number, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<CalculateTransferFeeDifferenceResponse>;
106
+ public calculateTransferFeeDifferenceUsingPOST(caseId: string, lawfirmId: number, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpResponse<CalculateTransferFeeDifferenceResponse>>;
107
+ public calculateTransferFeeDifferenceUsingPOST(caseId: string, lawfirmId: number, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<HttpEvent<CalculateTransferFeeDifferenceResponse>>;
108
+ public calculateTransferFeeDifferenceUsingPOST(caseId: string, lawfirmId: number, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: '*/*', context?: HttpContext}): Observable<any> {
109
109
  if (caseId === null || caseId === undefined) {
110
- throw new Error('Required parameter caseId was null or undefined when calling calculateTransferFeeDifferenceUsingGET.');
110
+ throw new Error('Required parameter caseId was null or undefined when calling calculateTransferFeeDifferenceUsingPOST.');
111
111
  }
112
112
  if (lawfirmId === null || lawfirmId === undefined) {
113
- throw new Error('Required parameter lawfirmId was null or undefined when calling calculateTransferFeeDifferenceUsingGET.');
113
+ throw new Error('Required parameter lawfirmId was null or undefined when calling calculateTransferFeeDifferenceUsingPOST.');
114
114
  }
115
115
 
116
116
  let localVarHeaders = this.defaultHeaders;
@@ -145,7 +145,7 @@ export class CaseTransferControllerService {
145
145
  }
146
146
 
147
147
  let localVarPath = `/api/v1/cases/${this.configuration.encodeParam({name: "caseId", value: caseId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/transfer/${this.configuration.encodeParam({name: "lawfirmId", value: lawfirmId, in: "path", style: "simple", explode: false, dataType: "number", dataFormat: "int64"})}/calculate-fee-difference`;
148
- return this.httpClient.request<CalculateTransferFeeDifferenceResponse>('get', `${this.configuration.basePath}${localVarPath}`,
148
+ return this.httpClient.request<CalculateTransferFeeDifferenceResponse>('post', `${this.configuration.basePath}${localVarPath}`,
149
149
  {
150
150
  context: localVarHttpContext,
151
151
  responseType: <any>responseType_,
@@ -4235,12 +4235,12 @@ angular.module('otrBackendService', [])
4235
4235
  /**
4236
4236
  * calculateTransferFeeDifference
4237
4237
  * @method
4238
- * @name OtrService#calculateTransferFeeDifferenceUsingGET
4238
+ * @name OtrService#calculateTransferFeeDifferenceUsingPOST
4239
4239
  * @param {object} parameters - method options and parameters
4240
4240
  * @param {string} parameters.caseId - caseId
4241
4241
  * @param {integer} parameters.lawfirmId - lawfirmId
4242
4242
  */
4243
- OtrService.prototype.calculateTransferFeeDifferenceUsingGET = function(parameters) {
4243
+ OtrService.prototype.calculateTransferFeeDifferenceUsingPOST = function(parameters) {
4244
4244
  if (parameters === undefined) {
4245
4245
  parameters = {};
4246
4246
  }
@@ -4253,6 +4253,7 @@ angular.module('otrBackendService', [])
4253
4253
  form = {};
4254
4254
 
4255
4255
  headers['Accept'] = ['*/*'];
4256
+ headers['Content-Type'] = ['application/json'];
4256
4257
 
4257
4258
  path = path.replace('{caseId}', parameters['caseId']);
4258
4259
 
@@ -4270,7 +4271,7 @@ angular.module('otrBackendService', [])
4270
4271
 
4271
4272
  queryParameters = mergeQueryParams(parameters, queryParameters);
4272
4273
 
4273
- this.request('GET', domain + path, parameters, body, headers, queryParameters, form, deferred);
4274
+ this.request('POST', domain + path, parameters, body, headers, queryParameters, form, deferred);
4274
4275
 
4275
4276
  return deferred.promise;
4276
4277
  };