@otr-app/shared-backend-generated-client 2.4.84 → 2.4.86
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/.openapi-generator/FILES +1 -1
- package/dist/angular/api/casePaymentController.service.ts +4 -9
- package/dist/angular/api/recurringBillingController.service.ts +77 -0
- package/dist/angular/model/models.ts +1 -1
- package/dist/angular/model/saveBillingProductOptionRequest.ts +28 -0
- package/dist/angular/model/saveCasePlanRequest.ts +29 -0
- package/dist/otrBackendService.js +53 -5
- package/dist/otrBackendService.min.js +7 -7
- package/dist/typescript/api/CasePaymentControllerApi.d.ts +1 -1
- package/dist/typescript/api/CasePaymentControllerApi.js +0 -4
- package/dist/typescript/api/RecurringBillingControllerApi.d.ts +8 -0
- package/dist/typescript/api/RecurringBillingControllerApi.js +37 -0
- package/dist/typescript/model/SaveBillingProductOptionRequest.d.ts +23 -0
- package/dist/typescript/model/SaveBillingProductOptionRequest.js +22 -0
- package/dist/typescript/model/SaveCasePlanRequest.d.ts +24 -0
- package/dist/typescript/model/SaveCasePlanRequest.js +22 -0
- package/dist/typescript/model/models.d.ts +1 -1
- package/dist/typescript/model/models.js +1 -1
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.d.ts +2 -2
- package/dist/typescript-fetch/apis/CasePaymentControllerApi.js +2 -5
- package/dist/typescript-fetch/apis/RecurringBillingControllerApi.d.ts +14 -1
- package/dist/typescript-fetch/apis/RecurringBillingControllerApi.js +36 -1
- package/dist/typescript-fetch/models/SaveBillingProductOptionRequest.d.ts +38 -0
- package/dist/typescript-fetch/models/SaveBillingProductOptionRequest.js +48 -0
- package/dist/typescript-fetch/models/index.d.ts +1 -1
- package/dist/typescript-fetch/models/index.js +1 -1
- package/package.json +1 -1
- package/dist/typescript-fetch/models/SaveCasePaymentPlanRequest.d.ts +0 -44
- package/dist/typescript-fetch/models/SaveCasePaymentPlanRequest.js +0 -50
|
@@ -101,7 +101,7 @@ export declare class CasePaymentControllerApi {
|
|
|
101
101
|
* @param paymentPlanTypeId paymentPlanTypeId
|
|
102
102
|
* @param request request
|
|
103
103
|
*/
|
|
104
|
-
saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, request
|
|
104
|
+
saveCasePaymentPlanUsingPOST(caseId: string, paymentPlanTypeId: string, request?: object, extraHttpRequestParams?: any): ng.IHttpPromise<{}>;
|
|
105
105
|
/**
|
|
106
106
|
*
|
|
107
107
|
* @summary scheduleNewPayment
|
|
@@ -377,10 +377,6 @@ export class CasePaymentControllerApi {
|
|
|
377
377
|
if (paymentPlanTypeId === null || paymentPlanTypeId === undefined) {
|
|
378
378
|
throw new Error('Required parameter paymentPlanTypeId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
|
|
379
379
|
}
|
|
380
|
-
// verify required parameter 'request' is not null or undefined
|
|
381
|
-
if (request === null || request === undefined) {
|
|
382
|
-
throw new Error('Required parameter request was null or undefined when calling saveCasePaymentPlanUsingPOST.');
|
|
383
|
-
}
|
|
384
380
|
let httpRequestParams = {
|
|
385
381
|
method: 'POST',
|
|
386
382
|
url: localVarPath,
|
|
@@ -57,4 +57,12 @@ export declare class RecurringBillingControllerApi {
|
|
|
57
57
|
* @param limit limit
|
|
58
58
|
*/
|
|
59
59
|
listSubscriptionInvoicesUsingGET(id: string, userId: number, limit?: number, extraHttpRequestParams?: any): ng.IHttpPromise<models.ListSubscriptionInvoicesResponse>;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @summary saveBillingProductOption
|
|
63
|
+
* @param caseId caseId
|
|
64
|
+
* @param productId productId
|
|
65
|
+
* @param request request
|
|
66
|
+
*/
|
|
67
|
+
saveBillingProductOptionUsingPOST(caseId: string, productId: string, request: models.SaveBillingProductOptionRequest, extraHttpRequestParams?: any): ng.IHttpPromise<{}>;
|
|
60
68
|
}
|
|
@@ -185,5 +185,42 @@ export class RecurringBillingControllerApi {
|
|
|
185
185
|
}
|
|
186
186
|
return this.$http(httpRequestParams);
|
|
187
187
|
}
|
|
188
|
+
/**
|
|
189
|
+
*
|
|
190
|
+
* @summary saveBillingProductOption
|
|
191
|
+
* @param caseId caseId
|
|
192
|
+
* @param productId productId
|
|
193
|
+
* @param request request
|
|
194
|
+
*/
|
|
195
|
+
saveBillingProductOptionUsingPOST(caseId, productId, request, extraHttpRequestParams) {
|
|
196
|
+
const localVarPath = this.basePath + '/api/v1/billing/cases/{caseId}/products/{productId}'
|
|
197
|
+
.replace('{' + 'caseId' + '}', encodeURIComponent(String(caseId)))
|
|
198
|
+
.replace('{' + 'productId' + '}', encodeURIComponent(String(productId)));
|
|
199
|
+
let queryParameters = {};
|
|
200
|
+
let headerParams = Object.assign({}, this.defaultHeaders);
|
|
201
|
+
// verify required parameter 'caseId' is not null or undefined
|
|
202
|
+
if (caseId === null || caseId === undefined) {
|
|
203
|
+
throw new Error('Required parameter caseId was null or undefined when calling saveBillingProductOptionUsingPOST.');
|
|
204
|
+
}
|
|
205
|
+
// verify required parameter 'productId' is not null or undefined
|
|
206
|
+
if (productId === null || productId === undefined) {
|
|
207
|
+
throw new Error('Required parameter productId was null or undefined when calling saveBillingProductOptionUsingPOST.');
|
|
208
|
+
}
|
|
209
|
+
// verify required parameter 'request' is not null or undefined
|
|
210
|
+
if (request === null || request === undefined) {
|
|
211
|
+
throw new Error('Required parameter request was null or undefined when calling saveBillingProductOptionUsingPOST.');
|
|
212
|
+
}
|
|
213
|
+
let httpRequestParams = {
|
|
214
|
+
method: 'POST',
|
|
215
|
+
url: localVarPath,
|
|
216
|
+
data: request,
|
|
217
|
+
params: queryParameters,
|
|
218
|
+
headers: headerParams
|
|
219
|
+
};
|
|
220
|
+
if (extraHttpRequestParams) {
|
|
221
|
+
httpRequestParams = Object.assign(httpRequestParams, extraHttpRequestParams);
|
|
222
|
+
}
|
|
223
|
+
return this.$http(httpRequestParams);
|
|
224
|
+
}
|
|
188
225
|
}
|
|
189
226
|
RecurringBillingControllerApi.$inject = ['$http', '$httpParamSerializer', 'basePath'];
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface SaveBillingProductOptionRequest {
|
|
13
|
+
"interval"?: SaveBillingProductOptionRequest.IntervalEnum;
|
|
14
|
+
}
|
|
15
|
+
export declare namespace SaveBillingProductOptionRequest {
|
|
16
|
+
enum IntervalEnum {
|
|
17
|
+
DAILY,
|
|
18
|
+
MONTHLY,
|
|
19
|
+
QUARTERLY,
|
|
20
|
+
WEEKLY,
|
|
21
|
+
YEARLY
|
|
22
|
+
}
|
|
23
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export var SaveBillingProductOptionRequest;
|
|
13
|
+
(function (SaveBillingProductOptionRequest) {
|
|
14
|
+
let IntervalEnum;
|
|
15
|
+
(function (IntervalEnum) {
|
|
16
|
+
IntervalEnum[IntervalEnum["DAILY"] = 'DAILY'] = "DAILY";
|
|
17
|
+
IntervalEnum[IntervalEnum["MONTHLY"] = 'MONTHLY'] = "MONTHLY";
|
|
18
|
+
IntervalEnum[IntervalEnum["QUARTERLY"] = 'QUARTERLY'] = "QUARTERLY";
|
|
19
|
+
IntervalEnum[IntervalEnum["WEEKLY"] = 'WEEKLY'] = "WEEKLY";
|
|
20
|
+
IntervalEnum[IntervalEnum["YEARLY"] = 'YEARLY'] = "YEARLY";
|
|
21
|
+
})(IntervalEnum = SaveBillingProductOptionRequest.IntervalEnum || (SaveBillingProductOptionRequest.IntervalEnum = {}));
|
|
22
|
+
})(SaveBillingProductOptionRequest || (SaveBillingProductOptionRequest = {}));
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export interface SaveCasePlanRequest {
|
|
13
|
+
"interval"?: SaveCasePlanRequest.IntervalEnum;
|
|
14
|
+
"productId"?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare namespace SaveCasePlanRequest {
|
|
17
|
+
enum IntervalEnum {
|
|
18
|
+
DAILY,
|
|
19
|
+
MONTHLY,
|
|
20
|
+
QUARTERLY,
|
|
21
|
+
WEEKLY,
|
|
22
|
+
YEARLY
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
export var SaveCasePlanRequest;
|
|
13
|
+
(function (SaveCasePlanRequest) {
|
|
14
|
+
let IntervalEnum;
|
|
15
|
+
(function (IntervalEnum) {
|
|
16
|
+
IntervalEnum[IntervalEnum["DAILY"] = 'DAILY'] = "DAILY";
|
|
17
|
+
IntervalEnum[IntervalEnum["MONTHLY"] = 'MONTHLY'] = "MONTHLY";
|
|
18
|
+
IntervalEnum[IntervalEnum["QUARTERLY"] = 'QUARTERLY'] = "QUARTERLY";
|
|
19
|
+
IntervalEnum[IntervalEnum["WEEKLY"] = 'WEEKLY'] = "WEEKLY";
|
|
20
|
+
IntervalEnum[IntervalEnum["YEARLY"] = 'YEARLY'] = "YEARLY";
|
|
21
|
+
})(IntervalEnum = SaveCasePlanRequest.IntervalEnum || (SaveCasePlanRequest.IntervalEnum = {}));
|
|
22
|
+
})(SaveCasePlanRequest || (SaveCasePlanRequest = {}));
|
|
@@ -607,8 +607,8 @@ export * from './SNSNotificationRequest';
|
|
|
607
607
|
export * from './SSLCertificateResponse';
|
|
608
608
|
export * from './SaveAgentBookingRequest';
|
|
609
609
|
export * from './SaveAgentBookingResponse';
|
|
610
|
+
export * from './SaveBillingProductOptionRequest';
|
|
610
611
|
export * from './SaveCaseNotesRequest';
|
|
611
|
-
export * from './SaveCasePaymentPlanRequest';
|
|
612
612
|
export * from './SaveCaseUserRequest';
|
|
613
613
|
export * from './SaveCoachingCardRequest';
|
|
614
614
|
export * from './SaveCoachingCardUserRequest';
|
|
@@ -607,8 +607,8 @@ export * from './SNSNotificationRequest';
|
|
|
607
607
|
export * from './SSLCertificateResponse';
|
|
608
608
|
export * from './SaveAgentBookingRequest';
|
|
609
609
|
export * from './SaveAgentBookingResponse';
|
|
610
|
+
export * from './SaveBillingProductOptionRequest';
|
|
610
611
|
export * from './SaveCaseNotesRequest';
|
|
611
|
-
export * from './SaveCasePaymentPlanRequest';
|
|
612
612
|
export * from './SaveCaseUserRequest';
|
|
613
613
|
export * from './SaveCoachingCardRequest';
|
|
614
614
|
export * from './SaveCoachingCardUserRequest';
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { AuthorizeChargeForCasePaymentRequest, AuthorizeChargeForCasePaymentResponse, CaptureChargeFromCasePaymentRequest, GetAvailablePaymentPlansResponse, GetCasePaymentsResponse, GetStripeChargeResponse, GetStripeChargesResponse, ListCostItemsForCustomerResponse,
|
|
13
|
+
import { AuthorizeChargeForCasePaymentRequest, AuthorizeChargeForCasePaymentResponse, CaptureChargeFromCasePaymentRequest, GetAvailablePaymentPlansResponse, GetCasePaymentsResponse, GetStripeChargeResponse, GetStripeChargesResponse, ListCostItemsForCustomerResponse, ScheduleNewPaymentRequest, UpdateCasePaymentRequest, UpdatePaymentDueDateRequest } from '../models';
|
|
14
14
|
export interface AuthorizeChargeForCasePaymentUsingPOSTRequest {
|
|
15
15
|
caseId: string;
|
|
16
16
|
casePaymentId: string;
|
|
@@ -60,7 +60,7 @@ export interface ListCostItemsForCustomerUsingGETRequest {
|
|
|
60
60
|
export interface SaveCasePaymentPlanUsingPOSTRequest {
|
|
61
61
|
caseId: string;
|
|
62
62
|
paymentPlanTypeId: string;
|
|
63
|
-
request
|
|
63
|
+
request?: object;
|
|
64
64
|
}
|
|
65
65
|
export interface ScheduleNewPaymentUsingPOSTRequest {
|
|
66
66
|
caseId: string;
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { AuthorizeChargeForCasePaymentRequestToJSON, AuthorizeChargeForCasePaymentResponseFromJSON, CaptureChargeFromCasePaymentRequestToJSON, GetAvailablePaymentPlansResponseFromJSON, GetCasePaymentsResponseFromJSON, GetStripeChargeResponseFromJSON, GetStripeChargesResponseFromJSON, ListCostItemsForCustomerResponseFromJSON,
|
|
24
|
+
import { AuthorizeChargeForCasePaymentRequestToJSON, AuthorizeChargeForCasePaymentResponseFromJSON, CaptureChargeFromCasePaymentRequestToJSON, GetAvailablePaymentPlansResponseFromJSON, GetCasePaymentsResponseFromJSON, GetStripeChargeResponseFromJSON, GetStripeChargesResponseFromJSON, ListCostItemsForCustomerResponseFromJSON, ScheduleNewPaymentRequestToJSON, UpdateCasePaymentRequestToJSON, UpdatePaymentDueDateRequestToJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -374,9 +374,6 @@ export class CasePaymentControllerApi extends runtime.BaseAPI {
|
|
|
374
374
|
if (requestParameters.paymentPlanTypeId === null || requestParameters.paymentPlanTypeId === undefined) {
|
|
375
375
|
throw new runtime.RequiredError('paymentPlanTypeId', 'Required parameter requestParameters.paymentPlanTypeId was null or undefined when calling saveCasePaymentPlanUsingPOST.');
|
|
376
376
|
}
|
|
377
|
-
if (requestParameters.request === null || requestParameters.request === undefined) {
|
|
378
|
-
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling saveCasePaymentPlanUsingPOST.');
|
|
379
|
-
}
|
|
380
377
|
const queryParameters = {};
|
|
381
378
|
const headerParameters = {};
|
|
382
379
|
headerParameters['Content-Type'] = 'application/json';
|
|
@@ -385,7 +382,7 @@ export class CasePaymentControllerApi extends runtime.BaseAPI {
|
|
|
385
382
|
method: 'POST',
|
|
386
383
|
headers: headerParameters,
|
|
387
384
|
query: queryParameters,
|
|
388
|
-
body:
|
|
385
|
+
body: requestParameters.request,
|
|
389
386
|
});
|
|
390
387
|
return new runtime.VoidApiResponse(response);
|
|
391
388
|
});
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import * as runtime from '../runtime';
|
|
13
|
-
import { CancelBillingSubscriptionResponse, CreateBillingSubscriptionRequest, CreateBillingSubscriptionResponse, ListBillingProductsResponse, ListBillingSubscriptionsResponse, ListSubscriptionInvoicesResponse } from '../models';
|
|
13
|
+
import { CancelBillingSubscriptionResponse, CreateBillingSubscriptionRequest, CreateBillingSubscriptionResponse, ListBillingProductsResponse, ListBillingSubscriptionsResponse, ListSubscriptionInvoicesResponse, SaveBillingProductOptionRequest } from '../models';
|
|
14
14
|
export interface CancelBillingSubscriptionUsingDELETERequest {
|
|
15
15
|
id: string;
|
|
16
16
|
userId: string;
|
|
@@ -35,6 +35,11 @@ export interface ListSubscriptionInvoicesUsingGETRequest {
|
|
|
35
35
|
userId: number;
|
|
36
36
|
limit?: number;
|
|
37
37
|
}
|
|
38
|
+
export interface SaveBillingProductOptionUsingPOSTRequest {
|
|
39
|
+
caseId: string;
|
|
40
|
+
productId: string;
|
|
41
|
+
request: SaveBillingProductOptionRequest;
|
|
42
|
+
}
|
|
38
43
|
/**
|
|
39
44
|
*
|
|
40
45
|
*/
|
|
@@ -79,4 +84,12 @@ export declare class RecurringBillingControllerApi extends runtime.BaseAPI {
|
|
|
79
84
|
* listSubscriptionInvoices
|
|
80
85
|
*/
|
|
81
86
|
listSubscriptionInvoicesUsingGET(requestParameters: ListSubscriptionInvoicesUsingGETRequest): Promise<ListSubscriptionInvoicesResponse>;
|
|
87
|
+
/**
|
|
88
|
+
* saveBillingProductOption
|
|
89
|
+
*/
|
|
90
|
+
saveBillingProductOptionUsingPOSTRaw(requestParameters: SaveBillingProductOptionUsingPOSTRequest): Promise<runtime.ApiResponse<void>>;
|
|
91
|
+
/**
|
|
92
|
+
* saveBillingProductOption
|
|
93
|
+
*/
|
|
94
|
+
saveBillingProductOptionUsingPOST(requestParameters: SaveBillingProductOptionUsingPOSTRequest): Promise<void>;
|
|
82
95
|
}
|
|
@@ -21,7 +21,7 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
21
21
|
});
|
|
22
22
|
};
|
|
23
23
|
import * as runtime from '../runtime';
|
|
24
|
-
import { CancelBillingSubscriptionResponseFromJSON, CreateBillingSubscriptionRequestToJSON, CreateBillingSubscriptionResponseFromJSON, ListBillingProductsResponseFromJSON, ListBillingSubscriptionsResponseFromJSON, ListSubscriptionInvoicesResponseFromJSON, } from '../models';
|
|
24
|
+
import { CancelBillingSubscriptionResponseFromJSON, CreateBillingSubscriptionRequestToJSON, CreateBillingSubscriptionResponseFromJSON, ListBillingProductsResponseFromJSON, ListBillingSubscriptionsResponseFromJSON, ListSubscriptionInvoicesResponseFromJSON, SaveBillingProductOptionRequestToJSON, } from '../models';
|
|
25
25
|
/**
|
|
26
26
|
*
|
|
27
27
|
*/
|
|
@@ -195,4 +195,39 @@ export class RecurringBillingControllerApi extends runtime.BaseAPI {
|
|
|
195
195
|
return yield response.value();
|
|
196
196
|
});
|
|
197
197
|
}
|
|
198
|
+
/**
|
|
199
|
+
* saveBillingProductOption
|
|
200
|
+
*/
|
|
201
|
+
saveBillingProductOptionUsingPOSTRaw(requestParameters) {
|
|
202
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
203
|
+
if (requestParameters.caseId === null || requestParameters.caseId === undefined) {
|
|
204
|
+
throw new runtime.RequiredError('caseId', 'Required parameter requestParameters.caseId was null or undefined when calling saveBillingProductOptionUsingPOST.');
|
|
205
|
+
}
|
|
206
|
+
if (requestParameters.productId === null || requestParameters.productId === undefined) {
|
|
207
|
+
throw new runtime.RequiredError('productId', 'Required parameter requestParameters.productId was null or undefined when calling saveBillingProductOptionUsingPOST.');
|
|
208
|
+
}
|
|
209
|
+
if (requestParameters.request === null || requestParameters.request === undefined) {
|
|
210
|
+
throw new runtime.RequiredError('request', 'Required parameter requestParameters.request was null or undefined when calling saveBillingProductOptionUsingPOST.');
|
|
211
|
+
}
|
|
212
|
+
const queryParameters = {};
|
|
213
|
+
const headerParameters = {};
|
|
214
|
+
headerParameters['Content-Type'] = 'application/json';
|
|
215
|
+
const response = yield this.request({
|
|
216
|
+
path: `/api/v1/billing/cases/{caseId}/products/{productId}`.replace(`{${"caseId"}}`, encodeURIComponent(String(requestParameters.caseId))).replace(`{${"productId"}}`, encodeURIComponent(String(requestParameters.productId))),
|
|
217
|
+
method: 'POST',
|
|
218
|
+
headers: headerParameters,
|
|
219
|
+
query: queryParameters,
|
|
220
|
+
body: SaveBillingProductOptionRequestToJSON(requestParameters.request),
|
|
221
|
+
});
|
|
222
|
+
return new runtime.VoidApiResponse(response);
|
|
223
|
+
});
|
|
224
|
+
}
|
|
225
|
+
/**
|
|
226
|
+
* saveBillingProductOption
|
|
227
|
+
*/
|
|
228
|
+
saveBillingProductOptionUsingPOST(requestParameters) {
|
|
229
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
230
|
+
yield this.saveBillingProductOptionUsingPOSTRaw(requestParameters);
|
|
231
|
+
});
|
|
232
|
+
}
|
|
198
233
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OffTheRecord Rest Service API - Devo
|
|
3
|
+
* A service to handle your traffic tickets
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
7
|
+
*
|
|
8
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
+
* https://openapi-generator.tech
|
|
10
|
+
* Do not edit the class manually.
|
|
11
|
+
*/
|
|
12
|
+
/**
|
|
13
|
+
*
|
|
14
|
+
* @export
|
|
15
|
+
* @interface SaveBillingProductOptionRequest
|
|
16
|
+
*/
|
|
17
|
+
export interface SaveBillingProductOptionRequest {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SaveBillingProductOptionRequest
|
|
22
|
+
*/
|
|
23
|
+
interval?: SaveBillingProductOptionRequestIntervalEnum;
|
|
24
|
+
}
|
|
25
|
+
export declare function SaveBillingProductOptionRequestFromJSON(json: any): SaveBillingProductOptionRequest;
|
|
26
|
+
export declare function SaveBillingProductOptionRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveBillingProductOptionRequest;
|
|
27
|
+
export declare function SaveBillingProductOptionRequestToJSON(value?: SaveBillingProductOptionRequest | null): any;
|
|
28
|
+
/**
|
|
29
|
+
* @export
|
|
30
|
+
* @enum {string}
|
|
31
|
+
*/
|
|
32
|
+
export declare enum SaveBillingProductOptionRequestIntervalEnum {
|
|
33
|
+
DAILY = "DAILY",
|
|
34
|
+
MONTHLY = "MONTHLY",
|
|
35
|
+
QUARTERLY = "QUARTERLY",
|
|
36
|
+
WEEKLY = "WEEKLY",
|
|
37
|
+
YEARLY = "YEARLY"
|
|
38
|
+
}
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* OffTheRecord Rest Service API - Devo
|
|
5
|
+
* A service to handle your traffic tickets
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
import { exists } from '../runtime';
|
|
15
|
+
export function SaveBillingProductOptionRequestFromJSON(json) {
|
|
16
|
+
return SaveBillingProductOptionRequestFromJSONTyped(json, false);
|
|
17
|
+
}
|
|
18
|
+
export function SaveBillingProductOptionRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
+
if ((json === undefined) || (json === null)) {
|
|
20
|
+
return json;
|
|
21
|
+
}
|
|
22
|
+
return {
|
|
23
|
+
'interval': !exists(json, 'interval') ? undefined : json['interval'],
|
|
24
|
+
};
|
|
25
|
+
}
|
|
26
|
+
export function SaveBillingProductOptionRequestToJSON(value) {
|
|
27
|
+
if (value === undefined) {
|
|
28
|
+
return undefined;
|
|
29
|
+
}
|
|
30
|
+
if (value === null) {
|
|
31
|
+
return null;
|
|
32
|
+
}
|
|
33
|
+
return {
|
|
34
|
+
'interval': value.interval,
|
|
35
|
+
};
|
|
36
|
+
}
|
|
37
|
+
/**
|
|
38
|
+
* @export
|
|
39
|
+
* @enum {string}
|
|
40
|
+
*/
|
|
41
|
+
export var SaveBillingProductOptionRequestIntervalEnum;
|
|
42
|
+
(function (SaveBillingProductOptionRequestIntervalEnum) {
|
|
43
|
+
SaveBillingProductOptionRequestIntervalEnum["DAILY"] = "DAILY";
|
|
44
|
+
SaveBillingProductOptionRequestIntervalEnum["MONTHLY"] = "MONTHLY";
|
|
45
|
+
SaveBillingProductOptionRequestIntervalEnum["QUARTERLY"] = "QUARTERLY";
|
|
46
|
+
SaveBillingProductOptionRequestIntervalEnum["WEEKLY"] = "WEEKLY";
|
|
47
|
+
SaveBillingProductOptionRequestIntervalEnum["YEARLY"] = "YEARLY";
|
|
48
|
+
})(SaveBillingProductOptionRequestIntervalEnum || (SaveBillingProductOptionRequestIntervalEnum = {}));
|
|
@@ -607,8 +607,8 @@ export * from './SNSNotificationRequest';
|
|
|
607
607
|
export * from './SSLCertificateResponse';
|
|
608
608
|
export * from './SaveAgentBookingRequest';
|
|
609
609
|
export * from './SaveAgentBookingResponse';
|
|
610
|
+
export * from './SaveBillingProductOptionRequest';
|
|
610
611
|
export * from './SaveCaseNotesRequest';
|
|
611
|
-
export * from './SaveCasePaymentPlanRequest';
|
|
612
612
|
export * from './SaveCaseUserRequest';
|
|
613
613
|
export * from './SaveCoachingCardRequest';
|
|
614
614
|
export * from './SaveCoachingCardUserRequest';
|
|
@@ -607,8 +607,8 @@ export * from './SNSNotificationRequest';
|
|
|
607
607
|
export * from './SSLCertificateResponse';
|
|
608
608
|
export * from './SaveAgentBookingRequest';
|
|
609
609
|
export * from './SaveAgentBookingResponse';
|
|
610
|
+
export * from './SaveBillingProductOptionRequest';
|
|
610
611
|
export * from './SaveCaseNotesRequest';
|
|
611
|
-
export * from './SaveCasePaymentPlanRequest';
|
|
612
612
|
export * from './SaveCaseUserRequest';
|
|
613
613
|
export * from './SaveCoachingCardRequest';
|
|
614
614
|
export * from './SaveCoachingCardUserRequest';
|
package/package.json
CHANGED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* OffTheRecord Rest Service API - Devo
|
|
3
|
-
* A service to handle your traffic tickets
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
|
-
* https://openapi-generator.tech
|
|
10
|
-
* Do not edit the class manually.
|
|
11
|
-
*/
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @export
|
|
15
|
-
* @interface SaveCasePaymentPlanRequest
|
|
16
|
-
*/
|
|
17
|
-
export interface SaveCasePaymentPlanRequest {
|
|
18
|
-
/**
|
|
19
|
-
*
|
|
20
|
-
* @type {string}
|
|
21
|
-
* @memberof SaveCasePaymentPlanRequest
|
|
22
|
-
*/
|
|
23
|
-
interval?: SaveCasePaymentPlanRequestIntervalEnum;
|
|
24
|
-
/**
|
|
25
|
-
*
|
|
26
|
-
* @type {string}
|
|
27
|
-
* @memberof SaveCasePaymentPlanRequest
|
|
28
|
-
*/
|
|
29
|
-
productId?: string;
|
|
30
|
-
}
|
|
31
|
-
export declare function SaveCasePaymentPlanRequestFromJSON(json: any): SaveCasePaymentPlanRequest;
|
|
32
|
-
export declare function SaveCasePaymentPlanRequestFromJSONTyped(json: any, ignoreDiscriminator: boolean): SaveCasePaymentPlanRequest;
|
|
33
|
-
export declare function SaveCasePaymentPlanRequestToJSON(value?: SaveCasePaymentPlanRequest | null): any;
|
|
34
|
-
/**
|
|
35
|
-
* @export
|
|
36
|
-
* @enum {string}
|
|
37
|
-
*/
|
|
38
|
-
export declare enum SaveCasePaymentPlanRequestIntervalEnum {
|
|
39
|
-
DAILY = "DAILY",
|
|
40
|
-
MONTHLY = "MONTHLY",
|
|
41
|
-
QUARTERLY = "QUARTERLY",
|
|
42
|
-
WEEKLY = "WEEKLY",
|
|
43
|
-
YEARLY = "YEARLY"
|
|
44
|
-
}
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/* tslint:disable */
|
|
2
|
-
/* eslint-disable */
|
|
3
|
-
/**
|
|
4
|
-
* OffTheRecord Rest Service API - Devo
|
|
5
|
-
* A service to handle your traffic tickets
|
|
6
|
-
*
|
|
7
|
-
* The version of the OpenAPI document: 1.0
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
-
* https://openapi-generator.tech
|
|
12
|
-
* Do not edit the class manually.
|
|
13
|
-
*/
|
|
14
|
-
import { exists } from '../runtime';
|
|
15
|
-
export function SaveCasePaymentPlanRequestFromJSON(json) {
|
|
16
|
-
return SaveCasePaymentPlanRequestFromJSONTyped(json, false);
|
|
17
|
-
}
|
|
18
|
-
export function SaveCasePaymentPlanRequestFromJSONTyped(json, ignoreDiscriminator) {
|
|
19
|
-
if ((json === undefined) || (json === null)) {
|
|
20
|
-
return json;
|
|
21
|
-
}
|
|
22
|
-
return {
|
|
23
|
-
'interval': !exists(json, 'interval') ? undefined : json['interval'],
|
|
24
|
-
'productId': !exists(json, 'productId') ? undefined : json['productId'],
|
|
25
|
-
};
|
|
26
|
-
}
|
|
27
|
-
export function SaveCasePaymentPlanRequestToJSON(value) {
|
|
28
|
-
if (value === undefined) {
|
|
29
|
-
return undefined;
|
|
30
|
-
}
|
|
31
|
-
if (value === null) {
|
|
32
|
-
return null;
|
|
33
|
-
}
|
|
34
|
-
return {
|
|
35
|
-
'interval': value.interval,
|
|
36
|
-
'productId': value.productId,
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* @export
|
|
41
|
-
* @enum {string}
|
|
42
|
-
*/
|
|
43
|
-
export var SaveCasePaymentPlanRequestIntervalEnum;
|
|
44
|
-
(function (SaveCasePaymentPlanRequestIntervalEnum) {
|
|
45
|
-
SaveCasePaymentPlanRequestIntervalEnum["DAILY"] = "DAILY";
|
|
46
|
-
SaveCasePaymentPlanRequestIntervalEnum["MONTHLY"] = "MONTHLY";
|
|
47
|
-
SaveCasePaymentPlanRequestIntervalEnum["QUARTERLY"] = "QUARTERLY";
|
|
48
|
-
SaveCasePaymentPlanRequestIntervalEnum["WEEKLY"] = "WEEKLY";
|
|
49
|
-
SaveCasePaymentPlanRequestIntervalEnum["YEARLY"] = "YEARLY";
|
|
50
|
-
})(SaveCasePaymentPlanRequestIntervalEnum || (SaveCasePaymentPlanRequestIntervalEnum = {}));
|