@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20240913.2 → 1.20241220.1
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/.openapi-generator/FILES +77 -2
- package/api/accounting-api.ts +101 -0
- package/api/adv-accounting-api.ts +199 -0
- package/api/adv-billing-api.ts +926 -57
- package/api/adv-capitation-api.ts +99 -0
- package/api/adv-claim-api.ts +529 -0
- package/api/adv-enrollment-api.ts +204 -4
- package/api/adv-reinsurance-api.ts +97 -0
- package/api/billing-api.ts +198 -0
- package/api/capitations-api.ts +99 -0
- package/api/care-case-clinical-facts-api.ts +71 -167
- package/api/check-batches-api.ts +87 -0
- package/api/checks-api.ts +292 -0
- package/api/claim-invoice-adjustment-reasons-api.ts +677 -0
- package/api/claim-invoice-adjustment-received-api.ts +685 -0
- package/api/claim-invoice-adjustments-api.ts +693 -0
- package/api/claim-invoice-api.ts +677 -0
- package/api/claim-invoice-details-api.ts +741 -0
- package/api/claim-invoice-payments-api.ts +725 -0
- package/api/claim-invoice-received-api.ts +693 -0
- package/api/claim-payments-api.ts +677 -0
- package/api/enrollment-accumulators-api.ts +909 -0
- package/api/events-api.ts +87 -0
- package/api/members-api.ts +206 -0
- package/api/prem-invoice-api.ts +171 -0
- package/api/premium-invoices-api.ts +95 -0
- package/api/premium-payments-api.ts +133 -0
- package/api/premium-rates-api.ts +223 -39
- package/api/reinsurance-contracts-api.ts +97 -0
- package/api/security-area-user-groups-api.ts +118 -5
- package/api/subscribers-api.ts +5 -5
- package/api/vbagateway-messaging-api.ts +379 -0
- package/api/vbareports-api.ts +112 -15
- package/api.ts +10 -0
- package/models/accounting-withhold-check-config.ts +36 -0
- package/models/accumulator-added-accum-detail-result-list-vbaresponse.ts +45 -0
- package/models/accumulator-added-accum-detail-result.ts +378 -0
- package/models/accumulator-all-benefit-detail-result-list-vbaresponse.ts +45 -0
- package/models/accumulator-all-benefit-detail-result.ts +420 -0
- package/models/{prem-invoice-generate-inv-list-result-list-vbaresponse.ts → accumulator-benefit-detail-result-list-vbaresponse.ts} +8 -8
- package/models/accumulator-benefit-detail-result.ts +414 -0
- package/models/accumulator-detail-result-list-vbaresponse.ts +45 -0
- package/models/accumulator-detail-result.ts +402 -0
- package/models/benefit-codes.ts +18 -18
- package/models/billing-add-rate-from-template-config.ts +42 -0
- package/models/billing-apply-payment-config.ts +74 -0
- package/models/billing-auto-apply-config.ts +84 -0
- package/models/billing-rate-modify-config.ts +140 -0
- package/models/capitation-generate.ts +12 -0
- package/models/care-case-clinical-fact.ts +1 -1
- package/models/claim-batch-claim-batch-detail-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-adjustment-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-adjustment-reason-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-adjustment-reason-vbaresponse.ts +45 -0
- package/models/claim-invoice-adjustment-reason.ts +60 -0
- package/models/claim-invoice-adjustment-received-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-adjustment-received-vbaresponse.ts +45 -0
- package/models/claim-invoice-adjustment-received.ts +78 -0
- package/models/claim-invoice-adjustment-vbaresponse.ts +45 -0
- package/models/claim-invoice-adjustment.ts +90 -0
- package/models/claim-invoice-config.ts +37 -0
- package/models/claim-invoice-detail-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-detail-vbaresponse.ts +45 -0
- package/models/claim-invoice-detail.ts +66 -0
- package/models/claim-invoice-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-payment-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-payment-vbaresponse.ts +45 -0
- package/models/claim-invoice-payment.ts +72 -0
- package/models/claim-invoice-received-list-vbaresponse.ts +45 -0
- package/models/claim-invoice-received-vbaresponse.ts +45 -0
- package/models/claim-invoice-received.ts +78 -0
- package/models/claim-invoice-vbaresponse.ts +45 -0
- package/models/claim-invoice.ts +90 -0
- package/models/claim-payment-list-vbaresponse.ts +45 -0
- package/models/claim-payment-vbaresponse.ts +45 -0
- package/models/claim-payment.ts +96 -0
- package/models/commission-adjustment.ts +12 -0
- package/models/company-data.ts +24 -0
- package/models/covered-benefit.ts +49 -0
- package/models/elig-detail.ts +114 -0
- package/models/email-report-dto.ts +0 -6
- package/models/enrollment-disenroll-adjustment-list-vbaresponse.ts +45 -0
- package/models/enrollment-disenroll-adjustment.ts +138 -0
- package/models/fax-report-dto.ts +0 -6
- package/models/file-detail.ts +4 -4
- package/models/fundaccountbalancelist.ts +114 -0
- package/models/get-plan-max-claim-detail-result-list-vbaresponse.ts +45 -0
- package/models/get-plan-max-claim-detail-result.ts +180 -0
- package/models/get-plan-max-summary-result-list-vbaresponse.ts +45 -0
- package/models/get-plan-max-summary-result.ts +114 -0
- package/models/get-subscriber-disenroll-adjustments-result-list-vbaresponse.ts +45 -0
- package/models/get-subscriber-disenroll-adjustments-result.ts +144 -0
- package/models/get-temp-retro-prem-invoice-adjustments-result-list-vbaresponse.ts +45 -0
- package/models/get-temp-retro-prem-invoice-adjustments-result.ts +132 -0
- package/models/idcard-request-report-series-config.ts +30 -0
- package/models/index.ts +67 -2
- package/models/json-node-options.ts +1 -7
- package/models/member-detail.ts +102 -0
- package/models/message-thread-vbaresponse.ts +45 -0
- package/models/message-thread.ts +60 -0
- package/models/messages-vbaresponse.ts +45 -0
- package/models/messages.ts +66 -0
- package/models/prem-apply-payment-category-result-list-vbaresponse.ts +45 -0
- package/models/prem-apply-payment-category-result.ts +102 -0
- package/models/search-request.ts +12 -0
- package/models/security-area-user-group.ts +26 -2
- package/models/subscriber-detail.ts +144 -0
- package/models/vbaapp-info.ts +12 -6
- package/models/vbabenefit-inquiry-request.ts +96 -0
- package/models/vbabenefit-inquiry-vbaresponse.ts +45 -0
- package/models/vbabenefit-inquiry.ts +122 -0
- package/models/vbadisability-advisor-deduction.ts +72 -0
- package/models/vbadisability-advisor.ts +571 -0
- package/models/vbareport-vbaresponse.ts +45 -0
- package/models/vbareport.ts +7 -7
- package/package.json +1 -1
- package/models/prem-invoice-generate-inv-list-result.ts +0 -138
|
@@ -1109,6 +1109,54 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
|
|
|
1109
1109
|
|
|
1110
1110
|
|
|
1111
1111
|
|
|
1112
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1113
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1114
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
1115
|
+
|
|
1116
|
+
return {
|
|
1117
|
+
url: toPathString(localVarUrlObj),
|
|
1118
|
+
options: localVarRequestOptions,
|
|
1119
|
+
};
|
|
1120
|
+
},
|
|
1121
|
+
/**
|
|
1122
|
+
* Reset a Self-Admin Invoice removing received amounts, adjustments applied, etc.
|
|
1123
|
+
* @summary Reset Self-Admin Invoice
|
|
1124
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1125
|
+
* @param {number} invoiceKey Invoice Key
|
|
1126
|
+
* @param {*} [options] Override http request option.
|
|
1127
|
+
* @throws {RequiredError}
|
|
1128
|
+
*/
|
|
1129
|
+
resetSelfAdminInvoice: async (vbasoftwareDatabase: string, invoiceKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
1130
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
1131
|
+
assertParamExists('resetSelfAdminInvoice', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
1132
|
+
// verify required parameter 'invoiceKey' is not null or undefined
|
|
1133
|
+
assertParamExists('resetSelfAdminInvoice', 'invoiceKey', invoiceKey)
|
|
1134
|
+
const localVarPath = `/reset-self-admin-invoice/{invoiceKey}`
|
|
1135
|
+
.replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
|
|
1136
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
1137
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1138
|
+
let baseOptions;
|
|
1139
|
+
if (configuration) {
|
|
1140
|
+
baseOptions = configuration.baseOptions;
|
|
1141
|
+
}
|
|
1142
|
+
|
|
1143
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
1144
|
+
const localVarHeaderParameter = {} as any;
|
|
1145
|
+
const localVarQueryParameter = {} as any;
|
|
1146
|
+
|
|
1147
|
+
// authentication apiKeyAuth required
|
|
1148
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
1149
|
+
|
|
1150
|
+
// authentication bearerAuth required
|
|
1151
|
+
// http bearer authentication required
|
|
1152
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
1153
|
+
|
|
1154
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
1155
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
1156
|
+
}
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
|
|
1112
1160
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1113
1161
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1114
1162
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -1491,6 +1539,18 @@ export const PremiumInvoicesApiFp = function(configuration?: Configuration) {
|
|
|
1491
1539
|
const localVarAxiosArgs = await localVarAxiosParamCreator.premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase, invoiceKey, options);
|
|
1492
1540
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1493
1541
|
},
|
|
1542
|
+
/**
|
|
1543
|
+
* Reset a Self-Admin Invoice removing received amounts, adjustments applied, etc.
|
|
1544
|
+
* @summary Reset Self-Admin Invoice
|
|
1545
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1546
|
+
* @param {number} invoiceKey Invoice Key
|
|
1547
|
+
* @param {*} [options] Override http request option.
|
|
1548
|
+
* @throws {RequiredError}
|
|
1549
|
+
*/
|
|
1550
|
+
async resetSelfAdminInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
1551
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetSelfAdminInvoice(vbasoftwareDatabase, invoiceKey, options);
|
|
1552
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1553
|
+
},
|
|
1494
1554
|
/**
|
|
1495
1555
|
* Create or Update multiple PremInvoice at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
1496
1556
|
* @summary Create or Update Batch PremInvoice
|
|
@@ -1764,6 +1824,17 @@ export const PremiumInvoicesApiFactory = function (configuration?: Configuration
|
|
|
1764
1824
|
premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: any): AxiosPromise<void> {
|
|
1765
1825
|
return localVarFp.premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
|
|
1766
1826
|
},
|
|
1827
|
+
/**
|
|
1828
|
+
* Reset a Self-Admin Invoice removing received amounts, adjustments applied, etc.
|
|
1829
|
+
* @summary Reset Self-Admin Invoice
|
|
1830
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1831
|
+
* @param {number} invoiceKey Invoice Key
|
|
1832
|
+
* @param {*} [options] Override http request option.
|
|
1833
|
+
* @throws {RequiredError}
|
|
1834
|
+
*/
|
|
1835
|
+
resetSelfAdminInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: any): AxiosPromise<void> {
|
|
1836
|
+
return localVarFp.resetSelfAdminInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
|
|
1837
|
+
},
|
|
1767
1838
|
/**
|
|
1768
1839
|
* Create or Update multiple PremInvoice at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
1769
1840
|
* @summary Create or Update Batch PremInvoice
|
|
@@ -2034,6 +2105,17 @@ export interface PremiumInvoicesApiInterface {
|
|
|
2034
2105
|
*/
|
|
2035
2106
|
premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
2036
2107
|
|
|
2108
|
+
/**
|
|
2109
|
+
* Reset a Self-Admin Invoice removing received amounts, adjustments applied, etc.
|
|
2110
|
+
* @summary Reset Self-Admin Invoice
|
|
2111
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2112
|
+
* @param {number} invoiceKey Invoice Key
|
|
2113
|
+
* @param {*} [options] Override http request option.
|
|
2114
|
+
* @throws {RequiredError}
|
|
2115
|
+
* @memberof PremiumInvoicesApiInterface
|
|
2116
|
+
*/
|
|
2117
|
+
resetSelfAdminInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
2118
|
+
|
|
2037
2119
|
/**
|
|
2038
2120
|
* Create or Update multiple PremInvoice at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
2039
2121
|
* @summary Create or Update Batch PremInvoice
|
|
@@ -2346,6 +2428,19 @@ export class PremiumInvoicesApi extends BaseAPI implements PremiumInvoicesApiInt
|
|
|
2346
2428
|
return PremiumInvoicesApiFp(this.configuration).premInvoiceAutoApplySelfAdmin(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
|
|
2347
2429
|
}
|
|
2348
2430
|
|
|
2431
|
+
/**
|
|
2432
|
+
* Reset a Self-Admin Invoice removing received amounts, adjustments applied, etc.
|
|
2433
|
+
* @summary Reset Self-Admin Invoice
|
|
2434
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
2435
|
+
* @param {number} invoiceKey Invoice Key
|
|
2436
|
+
* @param {*} [options] Override http request option.
|
|
2437
|
+
* @throws {RequiredError}
|
|
2438
|
+
* @memberof PremiumInvoicesApi
|
|
2439
|
+
*/
|
|
2440
|
+
public resetSelfAdminInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig) {
|
|
2441
|
+
return PremiumInvoicesApiFp(this.configuration).resetSelfAdminInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
|
|
2442
|
+
}
|
|
2443
|
+
|
|
2349
2444
|
/**
|
|
2350
2445
|
* Create or Update multiple PremInvoice at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
2351
2446
|
* @summary Create or Update Batch PremInvoice
|
|
@@ -23,6 +23,8 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { MultiCodeResponseListVBAResponse } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
+
import { PremApplyPaymentCategoryResultListVBAResponse } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
26
28
|
import { PremPayment } from '../models';
|
|
27
29
|
// @ts-ignore
|
|
28
30
|
import { PremPaymentListVBAResponse } from '../models';
|
|
@@ -171,6 +173,78 @@ export const PremiumPaymentsApiAxiosParamCreator = function (configuration?: Con
|
|
|
171
173
|
|
|
172
174
|
|
|
173
175
|
|
|
176
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
178
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
179
|
+
|
|
180
|
+
return {
|
|
181
|
+
url: toPathString(localVarUrlObj),
|
|
182
|
+
options: localVarRequestOptions,
|
|
183
|
+
};
|
|
184
|
+
},
|
|
185
|
+
/**
|
|
186
|
+
* List Invoice Detail that can have premimum applied based on payment information and applied payment category.
|
|
187
|
+
* @summary List Premium for Payment Application
|
|
188
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
189
|
+
* @param {string} groupID Group ID
|
|
190
|
+
* @param {string} divisionID Division ID
|
|
191
|
+
* @param {string} subscriberID Subscriber ID
|
|
192
|
+
* @param {string} invoiceLevel Invoice Level
|
|
193
|
+
* @param {*} [options] Override http request option.
|
|
194
|
+
* @throws {RequiredError}
|
|
195
|
+
*/
|
|
196
|
+
listPremApplyPaymentCategory: async (vbasoftwareDatabase: string, groupID: string, divisionID: string, subscriberID: string, invoiceLevel: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
197
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
198
|
+
assertParamExists('listPremApplyPaymentCategory', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
199
|
+
// verify required parameter 'groupID' is not null or undefined
|
|
200
|
+
assertParamExists('listPremApplyPaymentCategory', 'groupID', groupID)
|
|
201
|
+
// verify required parameter 'divisionID' is not null or undefined
|
|
202
|
+
assertParamExists('listPremApplyPaymentCategory', 'divisionID', divisionID)
|
|
203
|
+
// verify required parameter 'subscriberID' is not null or undefined
|
|
204
|
+
assertParamExists('listPremApplyPaymentCategory', 'subscriberID', subscriberID)
|
|
205
|
+
// verify required parameter 'invoiceLevel' is not null or undefined
|
|
206
|
+
assertParamExists('listPremApplyPaymentCategory', 'invoiceLevel', invoiceLevel)
|
|
207
|
+
const localVarPath = `/list-apply-payment-category`;
|
|
208
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
209
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
210
|
+
let baseOptions;
|
|
211
|
+
if (configuration) {
|
|
212
|
+
baseOptions = configuration.baseOptions;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
216
|
+
const localVarHeaderParameter = {} as any;
|
|
217
|
+
const localVarQueryParameter = {} as any;
|
|
218
|
+
|
|
219
|
+
// authentication apiKeyAuth required
|
|
220
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
221
|
+
|
|
222
|
+
// authentication bearerAuth required
|
|
223
|
+
// http bearer authentication required
|
|
224
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
225
|
+
|
|
226
|
+
if (groupID !== undefined) {
|
|
227
|
+
localVarQueryParameter['groupID'] = groupID;
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
if (divisionID !== undefined) {
|
|
231
|
+
localVarQueryParameter['divisionID'] = divisionID;
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
if (subscriberID !== undefined) {
|
|
235
|
+
localVarQueryParameter['subscriberID'] = subscriberID;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
if (invoiceLevel !== undefined) {
|
|
239
|
+
localVarQueryParameter['invoiceLevel'] = invoiceLevel;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
243
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
|
|
247
|
+
|
|
174
248
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
175
249
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
176
250
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
@@ -389,6 +463,21 @@ export const PremiumPaymentsApiFp = function(configuration?: Configuration) {
|
|
|
389
463
|
const localVarAxiosArgs = await localVarAxiosParamCreator.getPremPayment(vbasoftwareDatabase, premPaymentKey, options);
|
|
390
464
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
391
465
|
},
|
|
466
|
+
/**
|
|
467
|
+
* List Invoice Detail that can have premimum applied based on payment information and applied payment category.
|
|
468
|
+
* @summary List Premium for Payment Application
|
|
469
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
470
|
+
* @param {string} groupID Group ID
|
|
471
|
+
* @param {string} divisionID Division ID
|
|
472
|
+
* @param {string} subscriberID Subscriber ID
|
|
473
|
+
* @param {string} invoiceLevel Invoice Level
|
|
474
|
+
* @param {*} [options] Override http request option.
|
|
475
|
+
* @throws {RequiredError}
|
|
476
|
+
*/
|
|
477
|
+
async listPremApplyPaymentCategory(vbasoftwareDatabase: string, groupID: string, divisionID: string, subscriberID: string, invoiceLevel: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremApplyPaymentCategoryResultListVBAResponse>> {
|
|
478
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPremApplyPaymentCategory(vbasoftwareDatabase, groupID, divisionID, subscriberID, invoiceLevel, options);
|
|
479
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
480
|
+
},
|
|
392
481
|
/**
|
|
393
482
|
* Lists all PremPayment
|
|
394
483
|
* @summary List PremPayment
|
|
@@ -471,6 +560,20 @@ export const PremiumPaymentsApiFactory = function (configuration?: Configuration
|
|
|
471
560
|
getPremPayment(vbasoftwareDatabase: string, premPaymentKey: number, options?: any): AxiosPromise<PremPaymentVBAResponse> {
|
|
472
561
|
return localVarFp.getPremPayment(vbasoftwareDatabase, premPaymentKey, options).then((request) => request(axios, basePath));
|
|
473
562
|
},
|
|
563
|
+
/**
|
|
564
|
+
* List Invoice Detail that can have premimum applied based on payment information and applied payment category.
|
|
565
|
+
* @summary List Premium for Payment Application
|
|
566
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
567
|
+
* @param {string} groupID Group ID
|
|
568
|
+
* @param {string} divisionID Division ID
|
|
569
|
+
* @param {string} subscriberID Subscriber ID
|
|
570
|
+
* @param {string} invoiceLevel Invoice Level
|
|
571
|
+
* @param {*} [options] Override http request option.
|
|
572
|
+
* @throws {RequiredError}
|
|
573
|
+
*/
|
|
574
|
+
listPremApplyPaymentCategory(vbasoftwareDatabase: string, groupID: string, divisionID: string, subscriberID: string, invoiceLevel: string, options?: any): AxiosPromise<PremApplyPaymentCategoryResultListVBAResponse> {
|
|
575
|
+
return localVarFp.listPremApplyPaymentCategory(vbasoftwareDatabase, groupID, divisionID, subscriberID, invoiceLevel, options).then((request) => request(axios, basePath));
|
|
576
|
+
},
|
|
474
577
|
/**
|
|
475
578
|
* Lists all PremPayment
|
|
476
579
|
* @summary List PremPayment
|
|
@@ -549,6 +652,20 @@ export interface PremiumPaymentsApiInterface {
|
|
|
549
652
|
*/
|
|
550
653
|
getPremPayment(vbasoftwareDatabase: string, premPaymentKey: number, options?: AxiosRequestConfig): AxiosPromise<PremPaymentVBAResponse>;
|
|
551
654
|
|
|
655
|
+
/**
|
|
656
|
+
* List Invoice Detail that can have premimum applied based on payment information and applied payment category.
|
|
657
|
+
* @summary List Premium for Payment Application
|
|
658
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
659
|
+
* @param {string} groupID Group ID
|
|
660
|
+
* @param {string} divisionID Division ID
|
|
661
|
+
* @param {string} subscriberID Subscriber ID
|
|
662
|
+
* @param {string} invoiceLevel Invoice Level
|
|
663
|
+
* @param {*} [options] Override http request option.
|
|
664
|
+
* @throws {RequiredError}
|
|
665
|
+
* @memberof PremiumPaymentsApiInterface
|
|
666
|
+
*/
|
|
667
|
+
listPremApplyPaymentCategory(vbasoftwareDatabase: string, groupID: string, divisionID: string, subscriberID: string, invoiceLevel: string, options?: AxiosRequestConfig): AxiosPromise<PremApplyPaymentCategoryResultListVBAResponse>;
|
|
668
|
+
|
|
552
669
|
/**
|
|
553
670
|
* Lists all PremPayment
|
|
554
671
|
* @summary List PremPayment
|
|
@@ -633,6 +750,22 @@ export class PremiumPaymentsApi extends BaseAPI implements PremiumPaymentsApiInt
|
|
|
633
750
|
return PremiumPaymentsApiFp(this.configuration).getPremPayment(vbasoftwareDatabase, premPaymentKey, options).then((request) => request(this.axios, this.basePath));
|
|
634
751
|
}
|
|
635
752
|
|
|
753
|
+
/**
|
|
754
|
+
* List Invoice Detail that can have premimum applied based on payment information and applied payment category.
|
|
755
|
+
* @summary List Premium for Payment Application
|
|
756
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
757
|
+
* @param {string} groupID Group ID
|
|
758
|
+
* @param {string} divisionID Division ID
|
|
759
|
+
* @param {string} subscriberID Subscriber ID
|
|
760
|
+
* @param {string} invoiceLevel Invoice Level
|
|
761
|
+
* @param {*} [options] Override http request option.
|
|
762
|
+
* @throws {RequiredError}
|
|
763
|
+
* @memberof PremiumPaymentsApi
|
|
764
|
+
*/
|
|
765
|
+
public listPremApplyPaymentCategory(vbasoftwareDatabase: string, groupID: string, divisionID: string, subscriberID: string, invoiceLevel: string, options?: AxiosRequestConfig) {
|
|
766
|
+
return PremiumPaymentsApiFp(this.configuration).listPremApplyPaymentCategory(vbasoftwareDatabase, groupID, divisionID, subscriberID, invoiceLevel, options).then((request) => request(this.axios, this.basePath));
|
|
767
|
+
}
|
|
768
|
+
|
|
636
769
|
/**
|
|
637
770
|
* Lists all PremPayment
|
|
638
771
|
* @summary List PremPayment
|
package/api/premium-rates-api.ts
CHANGED
|
@@ -21,6 +21,10 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
|
|
|
21
21
|
// @ts-ignore
|
|
22
22
|
import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
|
|
23
23
|
// @ts-ignore
|
|
24
|
+
import { BillingAddRateFromTemplateConfig } from '../models';
|
|
25
|
+
// @ts-ignore
|
|
26
|
+
import { BillingRateModifyConfig } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
24
28
|
import { MultiCodeResponseListVBAResponse } from '../models';
|
|
25
29
|
// @ts-ignore
|
|
26
30
|
import { PremRate } from '../models';
|
|
@@ -40,29 +44,120 @@ export const PremiumRatesApiAxiosParamCreator = function (configuration?: Config
|
|
|
40
44
|
* Create a new Premium Rate based on the selected Template Rate.
|
|
41
45
|
* @summary Add Rate from Template
|
|
42
46
|
* @param {string} vbasoftwareDatabase Target database
|
|
43
|
-
* @param {number} premRateKey
|
|
44
|
-
* @param {
|
|
45
|
-
* @param {string} divisionID Subscriber ID
|
|
46
|
-
* @param {string} premRateType Subscriber ID
|
|
47
|
+
* @param {number} premRateKey PremRate Key
|
|
48
|
+
* @param {BillingAddRateFromTemplateConfig} billingAddRateFromTemplateConfig
|
|
47
49
|
* @param {*} [options] Override http request option.
|
|
48
50
|
* @throws {RequiredError}
|
|
49
51
|
*/
|
|
50
|
-
addPremRateFromTemplate: async (vbasoftwareDatabase: string, premRateKey: number,
|
|
52
|
+
addPremRateFromTemplate: async (vbasoftwareDatabase: string, premRateKey: number, billingAddRateFromTemplateConfig: BillingAddRateFromTemplateConfig, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
51
53
|
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
52
54
|
assertParamExists('addPremRateFromTemplate', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
53
55
|
// verify required parameter 'premRateKey' is not null or undefined
|
|
54
56
|
assertParamExists('addPremRateFromTemplate', 'premRateKey', premRateKey)
|
|
55
|
-
// verify required parameter '
|
|
56
|
-
assertParamExists('addPremRateFromTemplate', '
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
//
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
.
|
|
64
|
-
|
|
65
|
-
|
|
57
|
+
// verify required parameter 'billingAddRateFromTemplateConfig' is not null or undefined
|
|
58
|
+
assertParamExists('addPremRateFromTemplate', 'billingAddRateFromTemplateConfig', billingAddRateFromTemplateConfig)
|
|
59
|
+
const localVarPath = `/premium-rates/{premRateKey}/add-from-template`
|
|
60
|
+
.replace(`{${"premRateKey"}}`, encodeURIComponent(String(premRateKey)));
|
|
61
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
62
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
63
|
+
let baseOptions;
|
|
64
|
+
if (configuration) {
|
|
65
|
+
baseOptions = configuration.baseOptions;
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
69
|
+
const localVarHeaderParameter = {} as any;
|
|
70
|
+
const localVarQueryParameter = {} as any;
|
|
71
|
+
|
|
72
|
+
// authentication apiKeyAuth required
|
|
73
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
74
|
+
|
|
75
|
+
// authentication bearerAuth required
|
|
76
|
+
// http bearer authentication required
|
|
77
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
78
|
+
|
|
79
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
80
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
86
|
+
|
|
87
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
88
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
89
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
90
|
+
localVarRequestOptions.data = serializeDataIfNeeded(billingAddRateFromTemplateConfig, localVarRequestOptions, configuration)
|
|
91
|
+
|
|
92
|
+
return {
|
|
93
|
+
url: toPathString(localVarUrlObj),
|
|
94
|
+
options: localVarRequestOptions,
|
|
95
|
+
};
|
|
96
|
+
},
|
|
97
|
+
/**
|
|
98
|
+
* Take a list of Rates and a set of configuration options and change those rates.
|
|
99
|
+
* @summary Change Premium Rates
|
|
100
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
101
|
+
* @param {BillingRateModifyConfig} billingRateModifyConfig
|
|
102
|
+
* @param {*} [options] Override http request option.
|
|
103
|
+
* @throws {RequiredError}
|
|
104
|
+
*/
|
|
105
|
+
billingRateChange: async (vbasoftwareDatabase: string, billingRateModifyConfig: BillingRateModifyConfig, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
106
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
107
|
+
assertParamExists('billingRateChange', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
108
|
+
// verify required parameter 'billingRateModifyConfig' is not null or undefined
|
|
109
|
+
assertParamExists('billingRateChange', 'billingRateModifyConfig', billingRateModifyConfig)
|
|
110
|
+
const localVarPath = `/billing-rate-change`;
|
|
111
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
112
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
113
|
+
let baseOptions;
|
|
114
|
+
if (configuration) {
|
|
115
|
+
baseOptions = configuration.baseOptions;
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
119
|
+
const localVarHeaderParameter = {} as any;
|
|
120
|
+
const localVarQueryParameter = {} as any;
|
|
121
|
+
|
|
122
|
+
// authentication apiKeyAuth required
|
|
123
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
124
|
+
|
|
125
|
+
// authentication bearerAuth required
|
|
126
|
+
// http bearer authentication required
|
|
127
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
128
|
+
|
|
129
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
130
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
136
|
+
|
|
137
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
138
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
139
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
140
|
+
localVarRequestOptions.data = serializeDataIfNeeded(billingRateModifyConfig, localVarRequestOptions, configuration)
|
|
141
|
+
|
|
142
|
+
return {
|
|
143
|
+
url: toPathString(localVarUrlObj),
|
|
144
|
+
options: localVarRequestOptions,
|
|
145
|
+
};
|
|
146
|
+
},
|
|
147
|
+
/**
|
|
148
|
+
* Take a list of Rates and a set of configuration options and copy those rates.
|
|
149
|
+
* @summary Copy Premium Rates
|
|
150
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
151
|
+
* @param {BillingRateModifyConfig} billingRateModifyConfig
|
|
152
|
+
* @param {*} [options] Override http request option.
|
|
153
|
+
* @throws {RequiredError}
|
|
154
|
+
*/
|
|
155
|
+
billingRateCopy: async (vbasoftwareDatabase: string, billingRateModifyConfig: BillingRateModifyConfig, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
156
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
157
|
+
assertParamExists('billingRateCopy', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
158
|
+
// verify required parameter 'billingRateModifyConfig' is not null or undefined
|
|
159
|
+
assertParamExists('billingRateCopy', 'billingRateModifyConfig', billingRateModifyConfig)
|
|
160
|
+
const localVarPath = `/billing-rate-copy`;
|
|
66
161
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
67
162
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
68
163
|
let baseOptions;
|
|
@@ -87,9 +182,12 @@ export const PremiumRatesApiAxiosParamCreator = function (configuration?: Config
|
|
|
87
182
|
|
|
88
183
|
|
|
89
184
|
|
|
185
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
186
|
+
|
|
90
187
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
91
188
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
92
189
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
190
|
+
localVarRequestOptions.data = serializeDataIfNeeded(billingRateModifyConfig, localVarRequestOptions, configuration)
|
|
93
191
|
|
|
94
192
|
return {
|
|
95
193
|
url: toPathString(localVarUrlObj),
|
|
@@ -549,15 +647,37 @@ export const PremiumRatesApiFp = function(configuration?: Configuration) {
|
|
|
549
647
|
* Create a new Premium Rate based on the selected Template Rate.
|
|
550
648
|
* @summary Add Rate from Template
|
|
551
649
|
* @param {string} vbasoftwareDatabase Target database
|
|
552
|
-
* @param {number} premRateKey
|
|
553
|
-
* @param {
|
|
554
|
-
* @param {string} divisionID Subscriber ID
|
|
555
|
-
* @param {string} premRateType Subscriber ID
|
|
650
|
+
* @param {number} premRateKey PremRate Key
|
|
651
|
+
* @param {BillingAddRateFromTemplateConfig} billingAddRateFromTemplateConfig
|
|
556
652
|
* @param {*} [options] Override http request option.
|
|
557
653
|
* @throws {RequiredError}
|
|
558
654
|
*/
|
|
559
|
-
async addPremRateFromTemplate(vbasoftwareDatabase: string, premRateKey: number,
|
|
560
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.addPremRateFromTemplate(vbasoftwareDatabase, premRateKey,
|
|
655
|
+
async addPremRateFromTemplate(vbasoftwareDatabase: string, premRateKey: number, billingAddRateFromTemplateConfig: BillingAddRateFromTemplateConfig, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremRateVBAResponse>> {
|
|
656
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.addPremRateFromTemplate(vbasoftwareDatabase, premRateKey, billingAddRateFromTemplateConfig, options);
|
|
657
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
658
|
+
},
|
|
659
|
+
/**
|
|
660
|
+
* Take a list of Rates and a set of configuration options and change those rates.
|
|
661
|
+
* @summary Change Premium Rates
|
|
662
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
663
|
+
* @param {BillingRateModifyConfig} billingRateModifyConfig
|
|
664
|
+
* @param {*} [options] Override http request option.
|
|
665
|
+
* @throws {RequiredError}
|
|
666
|
+
*/
|
|
667
|
+
async billingRateChange(vbasoftwareDatabase: string, billingRateModifyConfig: BillingRateModifyConfig, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
668
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.billingRateChange(vbasoftwareDatabase, billingRateModifyConfig, options);
|
|
669
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
670
|
+
},
|
|
671
|
+
/**
|
|
672
|
+
* Take a list of Rates and a set of configuration options and copy those rates.
|
|
673
|
+
* @summary Copy Premium Rates
|
|
674
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
675
|
+
* @param {BillingRateModifyConfig} billingRateModifyConfig
|
|
676
|
+
* @param {*} [options] Override http request option.
|
|
677
|
+
* @throws {RequiredError}
|
|
678
|
+
*/
|
|
679
|
+
async billingRateCopy(vbasoftwareDatabase: string, billingRateModifyConfig: BillingRateModifyConfig, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
680
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.billingRateCopy(vbasoftwareDatabase, billingRateModifyConfig, options);
|
|
561
681
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
562
682
|
},
|
|
563
683
|
/**
|
|
@@ -679,15 +799,35 @@ export const PremiumRatesApiFactory = function (configuration?: Configuration, b
|
|
|
679
799
|
* Create a new Premium Rate based on the selected Template Rate.
|
|
680
800
|
* @summary Add Rate from Template
|
|
681
801
|
* @param {string} vbasoftwareDatabase Target database
|
|
682
|
-
* @param {number} premRateKey
|
|
683
|
-
* @param {
|
|
684
|
-
* @param {
|
|
685
|
-
* @
|
|
802
|
+
* @param {number} premRateKey PremRate Key
|
|
803
|
+
* @param {BillingAddRateFromTemplateConfig} billingAddRateFromTemplateConfig
|
|
804
|
+
* @param {*} [options] Override http request option.
|
|
805
|
+
* @throws {RequiredError}
|
|
806
|
+
*/
|
|
807
|
+
addPremRateFromTemplate(vbasoftwareDatabase: string, premRateKey: number, billingAddRateFromTemplateConfig: BillingAddRateFromTemplateConfig, options?: any): AxiosPromise<PremRateVBAResponse> {
|
|
808
|
+
return localVarFp.addPremRateFromTemplate(vbasoftwareDatabase, premRateKey, billingAddRateFromTemplateConfig, options).then((request) => request(axios, basePath));
|
|
809
|
+
},
|
|
810
|
+
/**
|
|
811
|
+
* Take a list of Rates and a set of configuration options and change those rates.
|
|
812
|
+
* @summary Change Premium Rates
|
|
813
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
814
|
+
* @param {BillingRateModifyConfig} billingRateModifyConfig
|
|
815
|
+
* @param {*} [options] Override http request option.
|
|
816
|
+
* @throws {RequiredError}
|
|
817
|
+
*/
|
|
818
|
+
billingRateChange(vbasoftwareDatabase: string, billingRateModifyConfig: BillingRateModifyConfig, options?: any): AxiosPromise<void> {
|
|
819
|
+
return localVarFp.billingRateChange(vbasoftwareDatabase, billingRateModifyConfig, options).then((request) => request(axios, basePath));
|
|
820
|
+
},
|
|
821
|
+
/**
|
|
822
|
+
* Take a list of Rates and a set of configuration options and copy those rates.
|
|
823
|
+
* @summary Copy Premium Rates
|
|
824
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
825
|
+
* @param {BillingRateModifyConfig} billingRateModifyConfig
|
|
686
826
|
* @param {*} [options] Override http request option.
|
|
687
827
|
* @throws {RequiredError}
|
|
688
828
|
*/
|
|
689
|
-
|
|
690
|
-
return localVarFp.
|
|
829
|
+
billingRateCopy(vbasoftwareDatabase: string, billingRateModifyConfig: BillingRateModifyConfig, options?: any): AxiosPromise<void> {
|
|
830
|
+
return localVarFp.billingRateCopy(vbasoftwareDatabase, billingRateModifyConfig, options).then((request) => request(axios, basePath));
|
|
691
831
|
},
|
|
692
832
|
/**
|
|
693
833
|
* Creates a new PremRate
|
|
@@ -799,15 +939,35 @@ export interface PremiumRatesApiInterface {
|
|
|
799
939
|
* Create a new Premium Rate based on the selected Template Rate.
|
|
800
940
|
* @summary Add Rate from Template
|
|
801
941
|
* @param {string} vbasoftwareDatabase Target database
|
|
802
|
-
* @param {number} premRateKey
|
|
803
|
-
* @param {
|
|
804
|
-
* @param {string} divisionID Subscriber ID
|
|
805
|
-
* @param {string} premRateType Subscriber ID
|
|
942
|
+
* @param {number} premRateKey PremRate Key
|
|
943
|
+
* @param {BillingAddRateFromTemplateConfig} billingAddRateFromTemplateConfig
|
|
806
944
|
* @param {*} [options] Override http request option.
|
|
807
945
|
* @throws {RequiredError}
|
|
808
946
|
* @memberof PremiumRatesApiInterface
|
|
809
947
|
*/
|
|
810
|
-
addPremRateFromTemplate(vbasoftwareDatabase: string, premRateKey: number,
|
|
948
|
+
addPremRateFromTemplate(vbasoftwareDatabase: string, premRateKey: number, billingAddRateFromTemplateConfig: BillingAddRateFromTemplateConfig, options?: AxiosRequestConfig): AxiosPromise<PremRateVBAResponse>;
|
|
949
|
+
|
|
950
|
+
/**
|
|
951
|
+
* Take a list of Rates and a set of configuration options and change those rates.
|
|
952
|
+
* @summary Change Premium Rates
|
|
953
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
954
|
+
* @param {BillingRateModifyConfig} billingRateModifyConfig
|
|
955
|
+
* @param {*} [options] Override http request option.
|
|
956
|
+
* @throws {RequiredError}
|
|
957
|
+
* @memberof PremiumRatesApiInterface
|
|
958
|
+
*/
|
|
959
|
+
billingRateChange(vbasoftwareDatabase: string, billingRateModifyConfig: BillingRateModifyConfig, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
960
|
+
|
|
961
|
+
/**
|
|
962
|
+
* Take a list of Rates and a set of configuration options and copy those rates.
|
|
963
|
+
* @summary Copy Premium Rates
|
|
964
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
965
|
+
* @param {BillingRateModifyConfig} billingRateModifyConfig
|
|
966
|
+
* @param {*} [options] Override http request option.
|
|
967
|
+
* @throws {RequiredError}
|
|
968
|
+
* @memberof PremiumRatesApiInterface
|
|
969
|
+
*/
|
|
970
|
+
billingRateCopy(vbasoftwareDatabase: string, billingRateModifyConfig: BillingRateModifyConfig, options?: AxiosRequestConfig): AxiosPromise<void>;
|
|
811
971
|
|
|
812
972
|
/**
|
|
813
973
|
* Creates a new PremRate
|
|
@@ -919,16 +1079,40 @@ export class PremiumRatesApi extends BaseAPI implements PremiumRatesApiInterface
|
|
|
919
1079
|
* Create a new Premium Rate based on the selected Template Rate.
|
|
920
1080
|
* @summary Add Rate from Template
|
|
921
1081
|
* @param {string} vbasoftwareDatabase Target database
|
|
922
|
-
* @param {number} premRateKey
|
|
923
|
-
* @param {
|
|
924
|
-
* @param {
|
|
925
|
-
* @
|
|
1082
|
+
* @param {number} premRateKey PremRate Key
|
|
1083
|
+
* @param {BillingAddRateFromTemplateConfig} billingAddRateFromTemplateConfig
|
|
1084
|
+
* @param {*} [options] Override http request option.
|
|
1085
|
+
* @throws {RequiredError}
|
|
1086
|
+
* @memberof PremiumRatesApi
|
|
1087
|
+
*/
|
|
1088
|
+
public addPremRateFromTemplate(vbasoftwareDatabase: string, premRateKey: number, billingAddRateFromTemplateConfig: BillingAddRateFromTemplateConfig, options?: AxiosRequestConfig) {
|
|
1089
|
+
return PremiumRatesApiFp(this.configuration).addPremRateFromTemplate(vbasoftwareDatabase, premRateKey, billingAddRateFromTemplateConfig, options).then((request) => request(this.axios, this.basePath));
|
|
1090
|
+
}
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* Take a list of Rates and a set of configuration options and change those rates.
|
|
1094
|
+
* @summary Change Premium Rates
|
|
1095
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1096
|
+
* @param {BillingRateModifyConfig} billingRateModifyConfig
|
|
1097
|
+
* @param {*} [options] Override http request option.
|
|
1098
|
+
* @throws {RequiredError}
|
|
1099
|
+
* @memberof PremiumRatesApi
|
|
1100
|
+
*/
|
|
1101
|
+
public billingRateChange(vbasoftwareDatabase: string, billingRateModifyConfig: BillingRateModifyConfig, options?: AxiosRequestConfig) {
|
|
1102
|
+
return PremiumRatesApiFp(this.configuration).billingRateChange(vbasoftwareDatabase, billingRateModifyConfig, options).then((request) => request(this.axios, this.basePath));
|
|
1103
|
+
}
|
|
1104
|
+
|
|
1105
|
+
/**
|
|
1106
|
+
* Take a list of Rates and a set of configuration options and copy those rates.
|
|
1107
|
+
* @summary Copy Premium Rates
|
|
1108
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
1109
|
+
* @param {BillingRateModifyConfig} billingRateModifyConfig
|
|
926
1110
|
* @param {*} [options] Override http request option.
|
|
927
1111
|
* @throws {RequiredError}
|
|
928
1112
|
* @memberof PremiumRatesApi
|
|
929
1113
|
*/
|
|
930
|
-
public
|
|
931
|
-
return PremiumRatesApiFp(this.configuration).
|
|
1114
|
+
public billingRateCopy(vbasoftwareDatabase: string, billingRateModifyConfig: BillingRateModifyConfig, options?: AxiosRequestConfig) {
|
|
1115
|
+
return PremiumRatesApiFp(this.configuration).billingRateCopy(vbasoftwareDatabase, billingRateModifyConfig, options).then((request) => request(this.axios, this.basePath));
|
|
932
1116
|
}
|
|
933
1117
|
|
|
934
1118
|
/**
|