@otr-app/shared-backend-generated-client 2.4.88 → 2.4.89
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.
- package/dist/angular/api/recurringBillingController.service.ts +57 -0
- package/dist/otrBackendService.js +34 -0
- package/dist/otrBackendService.min.js +7 -7
- package/dist/typescript/api/RecurringBillingControllerApi.d.ts +6 -0
- package/dist/typescript/api/RecurringBillingControllerApi.js +25 -0
- package/dist/typescript-fetch/apis/RecurringBillingControllerApi.d.ts +11 -0
- package/dist/typescript-fetch/apis/RecurringBillingControllerApi.js +27 -0
- package/package.json +1 -1
|
@@ -26,6 +26,12 @@ export declare class RecurringBillingControllerApi {
|
|
|
26
26
|
* @param isProrated isProrated
|
|
27
27
|
*/
|
|
28
28
|
cancelBillingSubscriptionUsingDELETE(id: string, userId: string, isProrated?: boolean, extraHttpRequestParams?: any): ng.IHttpPromise<models.CancelBillingSubscriptionResponse>;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @summary clearBillingProductOptions
|
|
32
|
+
* @param caseId caseId
|
|
33
|
+
*/
|
|
34
|
+
clearBillingProductOptionsUsingDELETE(caseId: string, extraHttpRequestParams?: any): ng.IHttpPromise<{}>;
|
|
29
35
|
/**
|
|
30
36
|
*
|
|
31
37
|
* @summary createBillingSubscription
|
|
@@ -55,6 +55,31 @@ export class RecurringBillingControllerApi {
|
|
|
55
55
|
}
|
|
56
56
|
return this.$http(httpRequestParams);
|
|
57
57
|
}
|
|
58
|
+
/**
|
|
59
|
+
*
|
|
60
|
+
* @summary clearBillingProductOptions
|
|
61
|
+
* @param caseId caseId
|
|
62
|
+
*/
|
|
63
|
+
clearBillingProductOptionsUsingDELETE(caseId, extraHttpRequestParams) {
|
|
64
|
+
const localVarPath = this.basePath + '/api/v1/billing/cases/{caseId}/products'
|
|
65
|
+
.replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)));
|
|
66
|
+
let queryParameters = {};
|
|
67
|
+
let headerParams = Object.assign({}, this.defaultHeaders);
|
|
68
|
+
// verify required parameter 'caseId' is not null or undefined
|
|
69
|
+
if (caseId === null || caseId === undefined) {
|
|
70
|
+
throw new Error('Required parameter caseId was null or undefined when calling clearBillingProductOptionsUsingDELETE.');
|
|
71
|
+
}
|
|
72
|
+
let httpRequestParams = {
|
|
73
|
+
method: 'DELETE',
|
|
74
|
+
url: localVarPath,
|
|
75
|
+
params: queryParameters,
|
|
76
|
+
headers: headerParams
|
|
77
|
+
};
|
|
78
|
+
if (extraHttpRequestParams) {
|
|
79
|
+
httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
|
|
80
|
+
}
|
|
81
|
+
return this.$http(httpRequestParams);
|
|
82
|
+
}
|
|
58
83
|
/**
|
|
59
84
|
*
|
|
60
85
|
* @summary createBillingSubscription
|
|
@@ -16,6 +16,9 @@ export interface CancelBillingSubscriptionUsingDELETERequest {
|
|
|
16
16
|
userId: string;
|
|
17
17
|
isProrated?: boolean;
|
|
18
18
|
}
|
|
19
|
+
export interface ClearBillingProductOptionsUsingDELETERequest {
|
|
20
|
+
caseId: string;
|
|
21
|
+
}
|
|
19
22
|
export interface CreateBillingSubscriptionUsingPOSTRequest {
|
|
20
23
|
userId: number;
|
|
21
24
|
request: CreateBillingSubscriptionRequest;
|
|
@@ -52,6 +55,14 @@ export declare class RecurringBillingControllerApi extends runtime.BaseAPI {
|
|
|
52
55
|
* cancelBillingSubscription
|
|
53
56
|
*/
|
|
54
57
|
cancelBillingSubscriptionUsingDELETE(requestParameters: CancelBillingSubscriptionUsingDELETERequest): Promise<CancelBillingSubscriptionResponse>;
|
|
58
|
+
/**
|
|
59
|
+
* clearBillingProductOptions
|
|
60
|
+
*/
|
|
61
|
+
clearBillingProductOptionsUsingDELETERaw(requestParameters: ClearBillingProductOptionsUsingDELETERequest): Promise<runtime.ApiResponse<void>>;
|
|
62
|
+
/**
|
|
63
|
+
* clearBillingProductOptions
|
|
64
|
+
*/
|
|
65
|
+
clearBillingProductOptionsUsingDELETE(requestParameters: ClearBillingProductOptionsUsingDELETERequest): Promise<void>;
|
|
55
66
|
/**
|
|
56
67
|
* createBillingSubscription
|
|
57
68
|
*/
|
|
@@ -60,6 +60,33 @@ export class RecurringBillingControllerApi extends runtime.BaseAPI {
|
|
|
60
60
|
return yield response.value();
|
|
61
61
|
});
|
|
62
62
|
}
|
|
63
|
+
/**
|
|
64
|
+
* clearBillingProductOptions
|
|
65
|
+
*/
|
|
66
|
+
clearBillingProductOptionsUsingDELETERaw(requestParameters) {
|
|
67
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
68
|
+
if (requestParameters.caseId === null || requestParameters.caseId === undefined) {
|
|
69
|
+
throw new runtime.RequiredError('caseId', 'Required parameter requestParameters.caseId was null or undefined when calling clearBillingProductOptionsUsingDELETE.');
|
|
70
|
+
}
|
|
71
|
+
const queryParameters = {};
|
|
72
|
+
const headerParameters = {};
|
|
73
|
+
const response = yield this.request({
|
|
74
|
+
path: `/api/v1/billing/cases/{caseId}/products`.replace(`{${"caseId"}}`, encodeURIComponent(String(requestParameters.caseId))),
|
|
75
|
+
method: 'DELETE',
|
|
76
|
+
headers: headerParameters,
|
|
77
|
+
query: queryParameters,
|
|
78
|
+
});
|
|
79
|
+
return new runtime.VoidApiResponse(response);
|
|
80
|
+
});
|
|
81
|
+
}
|
|
82
|
+
/**
|
|
83
|
+
* clearBillingProductOptions
|
|
84
|
+
*/
|
|
85
|
+
clearBillingProductOptionsUsingDELETE(requestParameters) {
|
|
86
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
87
|
+
yield this.clearBillingProductOptionsUsingDELETERaw(requestParameters);
|
|
88
|
+
});
|
|
89
|
+
}
|
|
63
90
|
/**
|
|
64
91
|
* createBillingSubscription
|
|
65
92
|
*/
|