@otr-app/shared-backend-generated-client 2.4.81 → 2.4.82
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.
|
@@ -812,10 +812,10 @@ export class CasePaymentControllerService {
|
|
|
812
812
|
* @param observe set whether or not to return the data Observable as the body, response or events. defaults to returning the body.
|
|
813
813
|
* @param reportProgress flag to report request and response progress.
|
|
814
814
|
*/
|
|
815
|
-
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?:
|
|
816
|
-
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?:
|
|
817
|
-
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?:
|
|
818
|
-
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?:
|
|
815
|
+
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, observe?: 'body', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any>;
|
|
816
|
+
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, observe?: 'response', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpResponse<any>>;
|
|
817
|
+
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, observe?: 'events', reportProgress?: boolean, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<HttpEvent<any>>;
|
|
818
|
+
public saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, observe: any = 'body', reportProgress: boolean = false, options?: {httpHeaderAccept?: undefined, context?: HttpContext}): Observable<any> {
|
|
819
819
|
if (caseId === null || caseId === undefined) {
|
|
820
820
|
throw new Error('Required parameter caseId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
|
|
821
821
|
}
|
|
@@ -839,7 +839,6 @@ export class CasePaymentControllerService {
|
|
|
839
839
|
if (localVarHttpHeaderAcceptSelected === undefined) {
|
|
840
840
|
// to determine the Accept header
|
|
841
841
|
const httpHeaderAccepts: string[] = [
|
|
842
|
-
'*/*'
|
|
843
842
|
];
|
|
844
843
|
localVarHttpHeaderAcceptSelected = this.configuration.selectHeaderAccept(httpHeaderAccepts);
|
|
845
844
|
}
|
|
@@ -865,7 +864,7 @@ export class CasePaymentControllerService {
|
|
|
865
864
|
}
|
|
866
865
|
|
|
867
866
|
let localVarPath = `/api/v1/cases/${this.configuration.encodeParam({name: "caseId", value: caseId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}/payment-plans/${this.configuration.encodeParam({name: "paymentPlanTypeId", value: paymentPlanTypeId, in: "path", style: "simple", explode: false, dataType: "string", dataFormat: undefined})}`;
|
|
868
|
-
return this.httpClient.request<
|
|
867
|
+
return this.httpClient.request<any>('post', `${this.configuration.basePath}${localVarPath}`,
|
|
869
868
|
{
|
|
870
869
|
context: localVarHttpContext,
|
|
871
870
|
params: localVarQueryParameters,
|
|
@@ -102,7 +102,7 @@ export declare class CasePaymentControllerApi {
|
|
|
102
102
|
* @param period period
|
|
103
103
|
* @param productId productId
|
|
104
104
|
*/
|
|
105
|
-
saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, extraHttpRequestParams?: any): ng.IHttpPromise<
|
|
105
|
+
saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, period?: 'DAILY' | 'MONTHLY' | 'QUARTERLY' | 'WEEKLY' | 'YEARLY', productId?: string, extraHttpRequestParams?: any): ng.IHttpPromise<{}>;
|
|
106
106
|
/**
|
|
107
107
|
*
|
|
108
108
|
* @summary scheduleNewPayment
|
|
@@ -166,11 +166,11 @@ export declare class CasePaymentControllerApi extends runtime.BaseAPI {
|
|
|
166
166
|
/**
|
|
167
167
|
* saveCasePaymentPlan
|
|
168
168
|
*/
|
|
169
|
-
saveCasePaymentPlanUsingPOSTRaw(requestParameters: SaveCasePaymentPlanUsingPOSTRequest): Promise<runtime.ApiResponse<
|
|
169
|
+
saveCasePaymentPlanUsingPOSTRaw(requestParameters: SaveCasePaymentPlanUsingPOSTRequest): Promise<runtime.ApiResponse<void>>;
|
|
170
170
|
/**
|
|
171
171
|
* saveCasePaymentPlan
|
|
172
172
|
*/
|
|
173
|
-
saveCasePaymentPlanUsingPOST(requestParameters: SaveCasePaymentPlanUsingPOSTRequest): Promise<
|
|
173
|
+
saveCasePaymentPlanUsingPOST(requestParameters: SaveCasePaymentPlanUsingPOSTRequest): Promise<void>;
|
|
174
174
|
/**
|
|
175
175
|
* scheduleNewPayment
|
|
176
176
|
*/
|
|
@@ -388,7 +388,7 @@ export class CasePaymentControllerApi extends runtime.BaseAPI {
|
|
|
388
388
|
headers: headerParameters,
|
|
389
389
|
query: queryParameters,
|
|
390
390
|
});
|
|
391
|
-
return new runtime.
|
|
391
|
+
return new runtime.VoidApiResponse(response);
|
|
392
392
|
});
|
|
393
393
|
}
|
|
394
394
|
/**
|
|
@@ -396,8 +396,7 @@ export class CasePaymentControllerApi extends runtime.BaseAPI {
|
|
|
396
396
|
*/
|
|
397
397
|
saveCasePaymentPlanUsingPOST(requestParameters) {
|
|
398
398
|
return __awaiter(this, void 0, void 0, function* () {
|
|
399
|
-
|
|
400
|
-
return yield response.value();
|
|
399
|
+
yield this.saveCasePaymentPlanUsingPOSTRaw(requestParameters);
|
|
401
400
|
});
|
|
402
401
|
}
|
|
403
402
|
/**
|