@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20250131.1 → 1.20250221.7

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.
Files changed (36) hide show
  1. package/.openapi-generator/FILES +11 -0
  2. package/api/accounting-api.ts +100 -0
  3. package/api/adv-accounting-api.ts +100 -0
  4. package/api/adv-billing-api.ts +196 -0
  5. package/api/adv-claim-api.ts +142 -3
  6. package/api/authentication-api.ts +244 -0
  7. package/api/billing-api.ts +100 -0
  8. package/api/claim-pre-batches-api.ts +26 -8
  9. package/api/group-contract-plans-api.ts +106 -0
  10. package/api/issue-duration-value-detail-api.ts +694 -0
  11. package/api/plan-coordination-api.ts +685 -0
  12. package/api/premium-payments-api.ts +96 -0
  13. package/api/user-account-api.ts +16 -8
  14. package/api/user-api.ts +32 -16
  15. package/api.ts +3 -0
  16. package/models/auth-diag-codes.ts +6 -0
  17. package/models/billing-apply-payment-on-account-config.ts +48 -0
  18. package/models/claim-reprice-remove.ts +6 -0
  19. package/models/company-data.ts +12 -0
  20. package/models/database-connection.ts +3 -3
  21. package/models/generate-prem-invoice.ts +6 -0
  22. package/models/index.ts +8 -0
  23. package/models/issue-duration-value-detail-list-vbaresponse.ts +51 -0
  24. package/models/issue-duration-value-detail-vbaresponse.ts +51 -0
  25. package/models/issue-duration-value-detail.ts +804 -0
  26. package/models/mem-enrollment-plan.ts +6 -0
  27. package/models/plan-coordination-list-vbaresponse.ts +51 -0
  28. package/models/plan-coordination-vbaresponse.ts +51 -0
  29. package/models/plan-coordination.ts +114 -0
  30. package/models/prem-invoice-generate-inv-list.ts +6 -0
  31. package/models/report-series-step.ts +18 -0
  32. package/models/subscriber-writing-agent.ts +6 -0
  33. package/models/vbaclient.ts +11 -5
  34. package/models/vbaprocess-parameter.ts +6 -0
  35. package/models/vbaupdate-claim-funded-status.ts +36 -0
  36. package/package.json +1 -1
@@ -373,6 +373,80 @@ export const AdvClaimApiAxiosParamCreator = function (configuration?: Configurat
373
373
  options: localVarRequestOptions,
374
374
  };
375
375
  },
376
+ /**
377
+ * Based on passed in parameters, create a Life Claim Payment under an existing Life Claim.
378
+ * @summary Create a Life Claim Payment
379
+ * @param {string} vbasoftwareDatabase Target database
380
+ * @param {number} batchNumber Batch Number
381
+ * @param {string} payTo Pay To
382
+ * @param {number} volume Volume
383
+ * @param {string} [beneficiaryId] Beneficiary ID
384
+ * @param {number} [assignment] Assignment
385
+ * @param {*} [options] Override http request option.
386
+ * @throws {RequiredError}
387
+ */
388
+ createLifeClaimPayment: async (vbasoftwareDatabase: string, batchNumber: number, payTo: string, volume: number, beneficiaryId?: string, assignment?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
389
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
390
+ assertParamExists('createLifeClaimPayment', 'vbasoftwareDatabase', vbasoftwareDatabase)
391
+ // verify required parameter 'batchNumber' is not null or undefined
392
+ assertParamExists('createLifeClaimPayment', 'batchNumber', batchNumber)
393
+ // verify required parameter 'payTo' is not null or undefined
394
+ assertParamExists('createLifeClaimPayment', 'payTo', payTo)
395
+ // verify required parameter 'volume' is not null or undefined
396
+ assertParamExists('createLifeClaimPayment', 'volume', volume)
397
+ const localVarPath = `/create-life-claim-payment`;
398
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
399
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
400
+ let baseOptions;
401
+ if (configuration) {
402
+ baseOptions = configuration.baseOptions;
403
+ }
404
+
405
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
406
+ const localVarHeaderParameter = {} as any;
407
+ const localVarQueryParameter = {} as any;
408
+
409
+ // authentication apiKeyAuth required
410
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
411
+
412
+ // authentication bearerAuth required
413
+ // http bearer authentication required
414
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
415
+
416
+ if (batchNumber !== undefined) {
417
+ localVarQueryParameter['batchNumber'] = batchNumber;
418
+ }
419
+
420
+ if (payTo !== undefined) {
421
+ localVarQueryParameter['payTo'] = payTo;
422
+ }
423
+
424
+ if (beneficiaryId !== undefined) {
425
+ localVarQueryParameter['beneficiaryId'] = beneficiaryId;
426
+ }
427
+
428
+ if (assignment !== undefined) {
429
+ localVarQueryParameter['assignment'] = assignment;
430
+ }
431
+
432
+ if (volume !== undefined) {
433
+ localVarQueryParameter['volume'] = volume;
434
+ }
435
+
436
+
437
+
438
+ if (vbasoftwareDatabase != null) {
439
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
440
+ }
441
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
442
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
443
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
444
+
445
+ return {
446
+ url: toPathString(localVarUrlObj),
447
+ options: localVarRequestOptions,
448
+ };
449
+ },
376
450
  /**
377
451
  * Create a Batch of Claims that represent Disability Payments for a STD or LTD disability claim.
378
452
  * @summary Create Disability Payments
@@ -933,7 +1007,7 @@ export const AdvClaimApiFp = function(configuration?: Configuration) {
933
1007
  * @param {*} [options] Override http request option.
934
1008
  * @throws {RequiredError}
935
1009
  */
936
- async adjustClaim(vbasoftwareDatabase: string, claimAdjustmentConfig: ClaimAdjustmentConfig, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1010
+ async adjustClaim(vbasoftwareDatabase: string, claimAdjustmentConfig: ClaimAdjustmentConfig, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Int32VBAResponse>> {
937
1011
  const localVarAxiosArgs = await localVarAxiosParamCreator.adjustClaim(vbasoftwareDatabase, claimAdjustmentConfig, options);
938
1012
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
939
1013
  const localVarOperationServerBasePath = operationServerMap['AdvClaimApi.adjustClaim']?.[localVarOperationServerIndex]?.url;
@@ -1013,6 +1087,24 @@ export const AdvClaimApiFp = function(configuration?: Configuration) {
1013
1087
  const localVarOperationServerBasePath = operationServerMap['AdvClaimApi.createLifeClaim']?.[localVarOperationServerIndex]?.url;
1014
1088
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1015
1089
  },
1090
+ /**
1091
+ * Based on passed in parameters, create a Life Claim Payment under an existing Life Claim.
1092
+ * @summary Create a Life Claim Payment
1093
+ * @param {string} vbasoftwareDatabase Target database
1094
+ * @param {number} batchNumber Batch Number
1095
+ * @param {string} payTo Pay To
1096
+ * @param {number} volume Volume
1097
+ * @param {string} [beneficiaryId] Beneficiary ID
1098
+ * @param {number} [assignment] Assignment
1099
+ * @param {*} [options] Override http request option.
1100
+ * @throws {RequiredError}
1101
+ */
1102
+ async createLifeClaimPayment(vbasoftwareDatabase: string, batchNumber: number, payTo: string, volume: number, beneficiaryId?: string, assignment?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
1103
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createLifeClaimPayment(vbasoftwareDatabase, batchNumber, payTo, volume, beneficiaryId, assignment, options);
1104
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
1105
+ const localVarOperationServerBasePath = operationServerMap['AdvClaimApi.createLifeClaimPayment']?.[localVarOperationServerIndex]?.url;
1106
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
1107
+ },
1016
1108
  /**
1017
1109
  * Create a Batch of Claims that represent Disability Payments for a STD or LTD disability claim.
1018
1110
  * @summary Create Disability Payments
@@ -1183,7 +1275,7 @@ export const AdvClaimApiFactory = function (configuration?: Configuration, baseP
1183
1275
  * @param {*} [options] Override http request option.
1184
1276
  * @throws {RequiredError}
1185
1277
  */
1186
- adjustClaim(vbasoftwareDatabase: string, claimAdjustmentConfig: ClaimAdjustmentConfig, options?: RawAxiosRequestConfig): AxiosPromise<void> {
1278
+ adjustClaim(vbasoftwareDatabase: string, claimAdjustmentConfig: ClaimAdjustmentConfig, options?: RawAxiosRequestConfig): AxiosPromise<Int32VBAResponse> {
1187
1279
  return localVarFp.adjustClaim(vbasoftwareDatabase, claimAdjustmentConfig, options).then((request) => request(axios, basePath));
1188
1280
  },
1189
1281
  /**
@@ -1245,6 +1337,21 @@ export const AdvClaimApiFactory = function (configuration?: Configuration, baseP
1245
1337
  createLifeClaim(vbasoftwareDatabase: string, lifeClaimAdvisor: LifeClaimAdvisor, options?: RawAxiosRequestConfig): AxiosPromise<Int32VBAResponse> {
1246
1338
  return localVarFp.createLifeClaim(vbasoftwareDatabase, lifeClaimAdvisor, options).then((request) => request(axios, basePath));
1247
1339
  },
1340
+ /**
1341
+ * Based on passed in parameters, create a Life Claim Payment under an existing Life Claim.
1342
+ * @summary Create a Life Claim Payment
1343
+ * @param {string} vbasoftwareDatabase Target database
1344
+ * @param {number} batchNumber Batch Number
1345
+ * @param {string} payTo Pay To
1346
+ * @param {number} volume Volume
1347
+ * @param {string} [beneficiaryId] Beneficiary ID
1348
+ * @param {number} [assignment] Assignment
1349
+ * @param {*} [options] Override http request option.
1350
+ * @throws {RequiredError}
1351
+ */
1352
+ createLifeClaimPayment(vbasoftwareDatabase: string, batchNumber: number, payTo: string, volume: number, beneficiaryId?: string, assignment?: number, options?: RawAxiosRequestConfig): AxiosPromise<void> {
1353
+ return localVarFp.createLifeClaimPayment(vbasoftwareDatabase, batchNumber, payTo, volume, beneficiaryId, assignment, options).then((request) => request(axios, basePath));
1354
+ },
1248
1355
  /**
1249
1356
  * Create a Batch of Claims that represent Disability Payments for a STD or LTD disability claim.
1250
1357
  * @summary Create Disability Payments
@@ -1385,7 +1492,7 @@ export interface AdvClaimApiInterface {
1385
1492
  * @throws {RequiredError}
1386
1493
  * @memberof AdvClaimApiInterface
1387
1494
  */
1388
- adjustClaim(vbasoftwareDatabase: string, claimAdjustmentConfig: ClaimAdjustmentConfig, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1495
+ adjustClaim(vbasoftwareDatabase: string, claimAdjustmentConfig: ClaimAdjustmentConfig, options?: RawAxiosRequestConfig): AxiosPromise<Int32VBAResponse>;
1389
1496
 
1390
1497
  /**
1391
1498
  * When the chosen claim has a multi-Payor/Account error, this process will automatically split the claim and create a bridgre reference in ClaimBatchReference.
@@ -1446,6 +1553,21 @@ export interface AdvClaimApiInterface {
1446
1553
  */
1447
1554
  createLifeClaim(vbasoftwareDatabase: string, lifeClaimAdvisor: LifeClaimAdvisor, options?: RawAxiosRequestConfig): AxiosPromise<Int32VBAResponse>;
1448
1555
 
1556
+ /**
1557
+ * Based on passed in parameters, create a Life Claim Payment under an existing Life Claim.
1558
+ * @summary Create a Life Claim Payment
1559
+ * @param {string} vbasoftwareDatabase Target database
1560
+ * @param {number} batchNumber Batch Number
1561
+ * @param {string} payTo Pay To
1562
+ * @param {number} volume Volume
1563
+ * @param {string} [beneficiaryId] Beneficiary ID
1564
+ * @param {number} [assignment] Assignment
1565
+ * @param {*} [options] Override http request option.
1566
+ * @throws {RequiredError}
1567
+ * @memberof AdvClaimApiInterface
1568
+ */
1569
+ createLifeClaimPayment(vbasoftwareDatabase: string, batchNumber: number, payTo: string, volume: number, beneficiaryId?: string, assignment?: number, options?: RawAxiosRequestConfig): AxiosPromise<void>;
1570
+
1449
1571
  /**
1450
1572
  * Create a Batch of Claims that represent Disability Payments for a STD or LTD disability claim.
1451
1573
  * @summary Create Disability Payments
@@ -1659,6 +1781,23 @@ export class AdvClaimApi extends BaseAPI implements AdvClaimApiInterface {
1659
1781
  return AdvClaimApiFp(this.configuration).createLifeClaim(vbasoftwareDatabase, lifeClaimAdvisor, options).then((request) => request(this.axios, this.basePath));
1660
1782
  }
1661
1783
 
1784
+ /**
1785
+ * Based on passed in parameters, create a Life Claim Payment under an existing Life Claim.
1786
+ * @summary Create a Life Claim Payment
1787
+ * @param {string} vbasoftwareDatabase Target database
1788
+ * @param {number} batchNumber Batch Number
1789
+ * @param {string} payTo Pay To
1790
+ * @param {number} volume Volume
1791
+ * @param {string} [beneficiaryId] Beneficiary ID
1792
+ * @param {number} [assignment] Assignment
1793
+ * @param {*} [options] Override http request option.
1794
+ * @throws {RequiredError}
1795
+ * @memberof AdvClaimApi
1796
+ */
1797
+ public createLifeClaimPayment(vbasoftwareDatabase: string, batchNumber: number, payTo: string, volume: number, beneficiaryId?: string, assignment?: number, options?: RawAxiosRequestConfig) {
1798
+ return AdvClaimApiFp(this.configuration).createLifeClaimPayment(vbasoftwareDatabase, batchNumber, payTo, volume, beneficiaryId, assignment, options).then((request) => request(this.axios, this.basePath));
1799
+ }
1800
+
1662
1801
  /**
1663
1802
  * Create a Batch of Claims that represent Disability Payments for a STD or LTD disability claim.
1664
1803
  * @summary Create Disability Payments
@@ -0,0 +1,244 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * VBASoftware
5
+ * APIs for VBASoftware
6
+ *
7
+ * The version of the OpenAPI document: v1
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
+
15
+
16
+ import type { Configuration } from '../configuration';
17
+ import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
18
+ import globalAxios from 'axios';
19
+ // Some imports not used depending on template conditions
20
+ // @ts-ignore
21
+ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
22
+ // @ts-ignore
23
+ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError, operationServerMap } from '../base';
24
+ /**
25
+ * AuthenticationApi - axios parameter creator
26
+ * @export
27
+ */
28
+ export const AuthenticationApiAxiosParamCreator = function (configuration?: Configuration) {
29
+ return {
30
+ /**
31
+ * Ends the session of the user who has been logged in the longest, forcing them to log in again.
32
+ * @summary Forcefully terminate the longest active user session
33
+ * @param {string} vbasoftwareDatabase Target database
34
+ * @param {*} [options] Override http request option.
35
+ * @throws {RequiredError}
36
+ */
37
+ kickLongestSessionUser: async (vbasoftwareDatabase: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
38
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
39
+ assertParamExists('kickLongestSessionUser', 'vbasoftwareDatabase', vbasoftwareDatabase)
40
+ const localVarPath = `/kick`;
41
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
42
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
43
+ let baseOptions;
44
+ if (configuration) {
45
+ baseOptions = configuration.baseOptions;
46
+ }
47
+
48
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
49
+ const localVarHeaderParameter = {} as any;
50
+ const localVarQueryParameter = {} as any;
51
+
52
+ // authentication apiKeyAuth required
53
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
54
+
55
+ // authentication bearerAuth required
56
+ // http bearer authentication required
57
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
58
+
59
+
60
+
61
+ if (vbasoftwareDatabase != null) {
62
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
63
+ }
64
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
65
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
66
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
67
+
68
+ return {
69
+ url: toPathString(localVarUrlObj),
70
+ options: localVarRequestOptions,
71
+ };
72
+ },
73
+ /**
74
+ * Terminates the current user\'s session and logs them out of the system.
75
+ * @summary Log out user
76
+ * @param {string} vbasoftwareDatabase Target database
77
+ * @param {*} [options] Override http request option.
78
+ * @throws {RequiredError}
79
+ */
80
+ logoutUser: async (vbasoftwareDatabase: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
81
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
82
+ assertParamExists('logoutUser', 'vbasoftwareDatabase', vbasoftwareDatabase)
83
+ const localVarPath = `/logout`;
84
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
85
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
86
+ let baseOptions;
87
+ if (configuration) {
88
+ baseOptions = configuration.baseOptions;
89
+ }
90
+
91
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
92
+ const localVarHeaderParameter = {} as any;
93
+ const localVarQueryParameter = {} as any;
94
+
95
+ // authentication apiKeyAuth required
96
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
97
+
98
+ // authentication bearerAuth required
99
+ // http bearer authentication required
100
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
101
+
102
+
103
+
104
+ if (vbasoftwareDatabase != null) {
105
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
106
+ }
107
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
108
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
109
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
110
+
111
+ return {
112
+ url: toPathString(localVarUrlObj),
113
+ options: localVarRequestOptions,
114
+ };
115
+ },
116
+ }
117
+ };
118
+
119
+ /**
120
+ * AuthenticationApi - functional programming interface
121
+ * @export
122
+ */
123
+ export const AuthenticationApiFp = function(configuration?: Configuration) {
124
+ const localVarAxiosParamCreator = AuthenticationApiAxiosParamCreator(configuration)
125
+ return {
126
+ /**
127
+ * Ends the session of the user who has been logged in the longest, forcing them to log in again.
128
+ * @summary Forcefully terminate the longest active user session
129
+ * @param {string} vbasoftwareDatabase Target database
130
+ * @param {*} [options] Override http request option.
131
+ * @throws {RequiredError}
132
+ */
133
+ async kickLongestSessionUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
134
+ const localVarAxiosArgs = await localVarAxiosParamCreator.kickLongestSessionUser(vbasoftwareDatabase, options);
135
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
136
+ const localVarOperationServerBasePath = operationServerMap['AuthenticationApi.kickLongestSessionUser']?.[localVarOperationServerIndex]?.url;
137
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
138
+ },
139
+ /**
140
+ * Terminates the current user\'s session and logs them out of the system.
141
+ * @summary Log out user
142
+ * @param {string} vbasoftwareDatabase Target database
143
+ * @param {*} [options] Override http request option.
144
+ * @throws {RequiredError}
145
+ */
146
+ async logoutUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
147
+ const localVarAxiosArgs = await localVarAxiosParamCreator.logoutUser(vbasoftwareDatabase, options);
148
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
149
+ const localVarOperationServerBasePath = operationServerMap['AuthenticationApi.logoutUser']?.[localVarOperationServerIndex]?.url;
150
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
151
+ },
152
+ }
153
+ };
154
+
155
+ /**
156
+ * AuthenticationApi - factory interface
157
+ * @export
158
+ */
159
+ export const AuthenticationApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
160
+ const localVarFp = AuthenticationApiFp(configuration)
161
+ return {
162
+ /**
163
+ * Ends the session of the user who has been logged in the longest, forcing them to log in again.
164
+ * @summary Forcefully terminate the longest active user session
165
+ * @param {string} vbasoftwareDatabase Target database
166
+ * @param {*} [options] Override http request option.
167
+ * @throws {RequiredError}
168
+ */
169
+ kickLongestSessionUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
170
+ return localVarFp.kickLongestSessionUser(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
171
+ },
172
+ /**
173
+ * Terminates the current user\'s session and logs them out of the system.
174
+ * @summary Log out user
175
+ * @param {string} vbasoftwareDatabase Target database
176
+ * @param {*} [options] Override http request option.
177
+ * @throws {RequiredError}
178
+ */
179
+ logoutUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
180
+ return localVarFp.logoutUser(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
181
+ },
182
+ };
183
+ };
184
+
185
+ /**
186
+ * AuthenticationApi - interface
187
+ * @export
188
+ * @interface AuthenticationApi
189
+ */
190
+ export interface AuthenticationApiInterface {
191
+ /**
192
+ * Ends the session of the user who has been logged in the longest, forcing them to log in again.
193
+ * @summary Forcefully terminate the longest active user session
194
+ * @param {string} vbasoftwareDatabase Target database
195
+ * @param {*} [options] Override http request option.
196
+ * @throws {RequiredError}
197
+ * @memberof AuthenticationApiInterface
198
+ */
199
+ kickLongestSessionUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
200
+
201
+ /**
202
+ * Terminates the current user\'s session and logs them out of the system.
203
+ * @summary Log out user
204
+ * @param {string} vbasoftwareDatabase Target database
205
+ * @param {*} [options] Override http request option.
206
+ * @throws {RequiredError}
207
+ * @memberof AuthenticationApiInterface
208
+ */
209
+ logoutUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig): AxiosPromise<void>;
210
+
211
+ }
212
+
213
+ /**
214
+ * AuthenticationApi - object-oriented interface
215
+ * @export
216
+ * @class AuthenticationApi
217
+ * @extends {BaseAPI}
218
+ */
219
+ export class AuthenticationApi extends BaseAPI implements AuthenticationApiInterface {
220
+ /**
221
+ * Ends the session of the user who has been logged in the longest, forcing them to log in again.
222
+ * @summary Forcefully terminate the longest active user session
223
+ * @param {string} vbasoftwareDatabase Target database
224
+ * @param {*} [options] Override http request option.
225
+ * @throws {RequiredError}
226
+ * @memberof AuthenticationApi
227
+ */
228
+ public kickLongestSessionUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig) {
229
+ return AuthenticationApiFp(this.configuration).kickLongestSessionUser(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
230
+ }
231
+
232
+ /**
233
+ * Terminates the current user\'s session and logs them out of the system.
234
+ * @summary Log out user
235
+ * @param {string} vbasoftwareDatabase Target database
236
+ * @param {*} [options] Override http request option.
237
+ * @throws {RequiredError}
238
+ * @memberof AuthenticationApi
239
+ */
240
+ public logoutUser(vbasoftwareDatabase: string, options?: RawAxiosRequestConfig) {
241
+ return AuthenticationApiFp(this.configuration).logoutUser(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
242
+ }
243
+ }
244
+
@@ -24,6 +24,8 @@ import { BASE_PATH, COLLECTION_FORMATS, type RequestArgs, BaseAPI, RequiredError
24
24
  // @ts-ignore
25
25
  import type { BillingApplyPaymentConfig } from '../models';
26
26
  // @ts-ignore
27
+ import type { BillingApplyPaymentOnAccountConfig } from '../models';
28
+ // @ts-ignore
27
29
  import type { BillingAutoApplyConfig } from '../models';
28
30
  // @ts-ignore
29
31
  import type { BillingRefund } from '../models';
@@ -82,6 +84,55 @@ export const BillingApiAxiosParamCreator = function (configuration?: Configurati
82
84
  options: localVarRequestOptions,
83
85
  };
84
86
  },
87
+ /**
88
+ * Using the PremPaymentOnAccount List as a basis for configuration, have On Accout and PremPayment information updated.
89
+ * @summary Billing Apply Payment On Account Category
90
+ * @param {string} vbasoftwareDatabase Target database
91
+ * @param {BillingApplyPaymentOnAccountConfig} billingApplyPaymentOnAccountConfig
92
+ * @param {*} [options] Override http request option.
93
+ * @throws {RequiredError}
94
+ */
95
+ billingApplyPaymentOnAccountCategory: async (vbasoftwareDatabase: string, billingApplyPaymentOnAccountConfig: BillingApplyPaymentOnAccountConfig, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
96
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
97
+ assertParamExists('billingApplyPaymentOnAccountCategory', 'vbasoftwareDatabase', vbasoftwareDatabase)
98
+ // verify required parameter 'billingApplyPaymentOnAccountConfig' is not null or undefined
99
+ assertParamExists('billingApplyPaymentOnAccountCategory', 'billingApplyPaymentOnAccountConfig', billingApplyPaymentOnAccountConfig)
100
+ const localVarPath = `/billing-apply-payment-on-account-category`;
101
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
102
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
103
+ let baseOptions;
104
+ if (configuration) {
105
+ baseOptions = configuration.baseOptions;
106
+ }
107
+
108
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
109
+ const localVarHeaderParameter = {} as any;
110
+ const localVarQueryParameter = {} as any;
111
+
112
+ // authentication apiKeyAuth required
113
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
114
+
115
+ // authentication bearerAuth required
116
+ // http bearer authentication required
117
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
118
+
119
+
120
+
121
+ localVarHeaderParameter['Content-Type'] = 'application/json';
122
+
123
+ if (vbasoftwareDatabase != null) {
124
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
125
+ }
126
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
127
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
128
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
129
+ localVarRequestOptions.data = serializeDataIfNeeded(billingApplyPaymentOnAccountConfig, localVarRequestOptions, configuration)
130
+
131
+ return {
132
+ url: toPathString(localVarUrlObj),
133
+ options: localVarRequestOptions,
134
+ };
135
+ },
85
136
  /**
86
137
  * Auto Apply Payment based on specified configuration options.
87
138
  * @summary Billing Auto-Apply
@@ -204,6 +255,20 @@ export const BillingApiFp = function(configuration?: Configuration) {
204
255
  const localVarOperationServerBasePath = operationServerMap['BillingApi.billingApplyPaymentCategory']?.[localVarOperationServerIndex]?.url;
205
256
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
206
257
  },
258
+ /**
259
+ * Using the PremPaymentOnAccount List as a basis for configuration, have On Accout and PremPayment information updated.
260
+ * @summary Billing Apply Payment On Account Category
261
+ * @param {string} vbasoftwareDatabase Target database
262
+ * @param {BillingApplyPaymentOnAccountConfig} billingApplyPaymentOnAccountConfig
263
+ * @param {*} [options] Override http request option.
264
+ * @throws {RequiredError}
265
+ */
266
+ async billingApplyPaymentOnAccountCategory(vbasoftwareDatabase: string, billingApplyPaymentOnAccountConfig: BillingApplyPaymentOnAccountConfig, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
267
+ const localVarAxiosArgs = await localVarAxiosParamCreator.billingApplyPaymentOnAccountCategory(vbasoftwareDatabase, billingApplyPaymentOnAccountConfig, options);
268
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
269
+ const localVarOperationServerBasePath = operationServerMap['BillingApi.billingApplyPaymentOnAccountCategory']?.[localVarOperationServerIndex]?.url;
270
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
271
+ },
207
272
  /**
208
273
  * Auto Apply Payment based on specified configuration options.
209
274
  * @summary Billing Auto-Apply
@@ -253,6 +318,17 @@ export const BillingApiFactory = function (configuration?: Configuration, basePa
253
318
  billingApplyPaymentCategory(vbasoftwareDatabase: string, billingApplyPaymentConfig: BillingApplyPaymentConfig, options?: RawAxiosRequestConfig): AxiosPromise<void> {
254
319
  return localVarFp.billingApplyPaymentCategory(vbasoftwareDatabase, billingApplyPaymentConfig, options).then((request) => request(axios, basePath));
255
320
  },
321
+ /**
322
+ * Using the PremPaymentOnAccount List as a basis for configuration, have On Accout and PremPayment information updated.
323
+ * @summary Billing Apply Payment On Account Category
324
+ * @param {string} vbasoftwareDatabase Target database
325
+ * @param {BillingApplyPaymentOnAccountConfig} billingApplyPaymentOnAccountConfig
326
+ * @param {*} [options] Override http request option.
327
+ * @throws {RequiredError}
328
+ */
329
+ billingApplyPaymentOnAccountCategory(vbasoftwareDatabase: string, billingApplyPaymentOnAccountConfig: BillingApplyPaymentOnAccountConfig, options?: RawAxiosRequestConfig): AxiosPromise<void> {
330
+ return localVarFp.billingApplyPaymentOnAccountCategory(vbasoftwareDatabase, billingApplyPaymentOnAccountConfig, options).then((request) => request(axios, basePath));
331
+ },
256
332
  /**
257
333
  * Auto Apply Payment based on specified configuration options.
258
334
  * @summary Billing Auto-Apply
@@ -295,6 +371,17 @@ export interface BillingApiInterface {
295
371
  */
296
372
  billingApplyPaymentCategory(vbasoftwareDatabase: string, billingApplyPaymentConfig: BillingApplyPaymentConfig, options?: RawAxiosRequestConfig): AxiosPromise<void>;
297
373
 
374
+ /**
375
+ * Using the PremPaymentOnAccount List as a basis for configuration, have On Accout and PremPayment information updated.
376
+ * @summary Billing Apply Payment On Account Category
377
+ * @param {string} vbasoftwareDatabase Target database
378
+ * @param {BillingApplyPaymentOnAccountConfig} billingApplyPaymentOnAccountConfig
379
+ * @param {*} [options] Override http request option.
380
+ * @throws {RequiredError}
381
+ * @memberof BillingApiInterface
382
+ */
383
+ billingApplyPaymentOnAccountCategory(vbasoftwareDatabase: string, billingApplyPaymentOnAccountConfig: BillingApplyPaymentOnAccountConfig, options?: RawAxiosRequestConfig): AxiosPromise<void>;
384
+
298
385
  /**
299
386
  * Auto Apply Payment based on specified configuration options.
300
387
  * @summary Billing Auto-Apply
@@ -339,6 +426,19 @@ export class BillingApi extends BaseAPI implements BillingApiInterface {
339
426
  return BillingApiFp(this.configuration).billingApplyPaymentCategory(vbasoftwareDatabase, billingApplyPaymentConfig, options).then((request) => request(this.axios, this.basePath));
340
427
  }
341
428
 
429
+ /**
430
+ * Using the PremPaymentOnAccount List as a basis for configuration, have On Accout and PremPayment information updated.
431
+ * @summary Billing Apply Payment On Account Category
432
+ * @param {string} vbasoftwareDatabase Target database
433
+ * @param {BillingApplyPaymentOnAccountConfig} billingApplyPaymentOnAccountConfig
434
+ * @param {*} [options] Override http request option.
435
+ * @throws {RequiredError}
436
+ * @memberof BillingApi
437
+ */
438
+ public billingApplyPaymentOnAccountCategory(vbasoftwareDatabase: string, billingApplyPaymentOnAccountConfig: BillingApplyPaymentOnAccountConfig, options?: RawAxiosRequestConfig) {
439
+ return BillingApiFp(this.configuration).billingApplyPaymentOnAccountCategory(vbasoftwareDatabase, billingApplyPaymentOnAccountConfig, options).then((request) => request(this.axios, this.basePath));
440
+ }
441
+
342
442
  /**
343
443
  * Auto Apply Payment based on specified configuration options.
344
444
  * @summary Billing Auto-Apply