@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230208.2 → 1.20230403.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.
Files changed (58) hide show
  1. package/.openapi-generator/FILES +19 -0
  2. package/api/adv-group-api.ts +17 -17
  3. package/api/chat-gptapi.ts +154 -0
  4. package/api/events-api.ts +87 -0
  5. package/api/groups-api.ts +17 -17
  6. package/api/prem-rate-types-api.ts +668 -0
  7. package/api/premium-invoice-payments-api.ts +124 -0
  8. package/api/premium-invoices-api.ts +336 -5
  9. package/api/premium-rate-distribution-types-api.ts +155 -0
  10. package/api/state-interest-api.ts +668 -0
  11. package/api/subscriber-plan-policies-api.ts +43 -91
  12. package/api/user-api.ts +394 -0
  13. package/api.ts +4 -0
  14. package/models/chat-message.ts +30 -0
  15. package/models/claim-batch-detail.ts +152 -140
  16. package/models/claim-batch.ts +1697 -479
  17. package/models/claim-detail.ts +137 -125
  18. package/models/claim-pre-batch-detail.ts +101 -95
  19. package/models/claim-pre-batch.ts +1703 -425
  20. package/models/claim.ts +1562 -338
  21. package/models/company-data.ts +433 -403
  22. package/models/cost-contain-zelis-ex-code.ts +12 -6
  23. package/models/enrollment-disenroll-group.ts +84 -0
  24. package/models/enrollment-disenroll.ts +28 -34
  25. package/models/groups.ts +18 -18
  26. package/models/idcard-request.ts +3 -3
  27. package/models/index.ts +15 -0
  28. package/models/mem-enrollment-plan.ts +9 -9
  29. package/models/mem-enrollment-rider.ts +10 -10
  30. package/models/member-beneficiary.ts +3 -3
  31. package/models/member-language.ts +38 -2
  32. package/models/member-medicare-resp.ts +50 -26
  33. package/models/members.ts +1 -1
  34. package/models/network-procedure-cluster.ts +15 -9
  35. package/models/plan-benefit-cluster.ts +12 -12
  36. package/models/plan-benefit-rate.ts +5 -5
  37. package/models/plan-benefits.ts +58 -52
  38. package/models/plan-type.ts +21 -21
  39. package/models/plans.ts +41 -41
  40. package/models/prem-invoice-group-summary-vbaresponse.ts +45 -0
  41. package/models/prem-invoice-group-summary.ts +114 -0
  42. package/models/prem-invoice-payment-ext-list-vbaresponse.ts +45 -0
  43. package/models/prem-invoice-payment-ext.ts +102 -0
  44. package/models/prem-invoice-slim-list-vbaresponse.ts +45 -0
  45. package/models/prem-invoice-slim.ts +42 -0
  46. package/models/prem-rate-type-list-vbaresponse.ts +45 -0
  47. package/models/prem-rate-type-vbaresponse.ts +45 -0
  48. package/models/prem-rate-type.ts +72 -0
  49. package/models/prem-rate.ts +91 -85
  50. package/models/state-interest-list-vbaresponse.ts +45 -0
  51. package/models/state-interest-vbaresponse.ts +45 -0
  52. package/models/state-interest.ts +84 -0
  53. package/models/sub-enrollment-plan.ts +10 -10
  54. package/models/sub-enrollment-rider.ts +14 -14
  55. package/models/subscribers.ts +2 -2
  56. package/models/user-reset-password-request.ts +42 -0
  57. package/models/users.ts +8 -8
  58. package/package.json +1 -1
@@ -25,6 +25,8 @@ import { MultiCodeResponseListVBAResponse } from '../models';
25
25
  // @ts-ignore
26
26
  import { PremInvoicePayment } from '../models';
27
27
  // @ts-ignore
28
+ import { PremInvoicePaymentExtListVBAResponse } from '../models';
29
+ // @ts-ignore
28
30
  import { PremInvoicePaymentListVBAResponse } from '../models';
29
31
  // @ts-ignore
30
32
  import { PremInvoicePaymentVBAResponse } from '../models';
@@ -233,6 +235,69 @@ export const PremiumInvoicePaymentsApiAxiosParamCreator = function (configuratio
233
235
 
234
236
 
235
237
 
238
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
239
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
240
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
241
+
242
+ return {
243
+ url: toPathString(localVarUrlObj),
244
+ options: localVarRequestOptions,
245
+ };
246
+ },
247
+ /**
248
+ * Lists PremInvoicePayment Extended objects which include invoice posted payments and payment applied fields.
249
+ * @summary List PremInvoicePayment Extended
250
+ * @param {string} vbasoftwareDatabase Target database
251
+ * @param {number} invoiceKey Invoice Key
252
+ * @param {number} [invoiceYear] Invoice Year
253
+ * @param {number} [page] Page
254
+ * @param {number} [pageSize] Page Size
255
+ * @param {*} [options] Override http request option.
256
+ * @throws {RequiredError}
257
+ */
258
+ listPremInvoicePaymentExt: async (vbasoftwareDatabase: string, invoiceKey: number, invoiceYear?: number, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
259
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
260
+ assertParamExists('listPremInvoicePaymentExt', 'vbasoftwareDatabase', vbasoftwareDatabase)
261
+ // verify required parameter 'invoiceKey' is not null or undefined
262
+ assertParamExists('listPremInvoicePaymentExt', 'invoiceKey', invoiceKey)
263
+ const localVarPath = `/premium-invoice-payments-ext/{invoiceKey}`
264
+ .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
265
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
266
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
267
+ let baseOptions;
268
+ if (configuration) {
269
+ baseOptions = configuration.baseOptions;
270
+ }
271
+
272
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
273
+ const localVarHeaderParameter = {} as any;
274
+ const localVarQueryParameter = {} as any;
275
+
276
+ // authentication apiKeyAuth required
277
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
278
+
279
+ // authentication bearerAuth required
280
+ // http bearer authentication required
281
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
282
+
283
+ if (invoiceYear !== undefined) {
284
+ localVarQueryParameter['invoiceYear'] = invoiceYear;
285
+ }
286
+
287
+ if (page !== undefined) {
288
+ localVarQueryParameter['page'] = page;
289
+ }
290
+
291
+ if (pageSize !== undefined) {
292
+ localVarQueryParameter['pageSize'] = pageSize;
293
+ }
294
+
295
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
296
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
297
+ }
298
+
299
+
300
+
236
301
  setSearchParams(localVarUrlObj, localVarQueryParameter);
237
302
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
238
303
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -411,6 +476,21 @@ export const PremiumInvoicePaymentsApiFp = function(configuration?: Configuratio
411
476
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPremInvoicePayment(vbasoftwareDatabase, page, pageSize, options);
412
477
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
413
478
  },
479
+ /**
480
+ * Lists PremInvoicePayment Extended objects which include invoice posted payments and payment applied fields.
481
+ * @summary List PremInvoicePayment Extended
482
+ * @param {string} vbasoftwareDatabase Target database
483
+ * @param {number} invoiceKey Invoice Key
484
+ * @param {number} [invoiceYear] Invoice Year
485
+ * @param {number} [page] Page
486
+ * @param {number} [pageSize] Page Size
487
+ * @param {*} [options] Override http request option.
488
+ * @throws {RequiredError}
489
+ */
490
+ async listPremInvoicePaymentExt(vbasoftwareDatabase: string, invoiceKey: number, invoiceYear?: number, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoicePaymentExtListVBAResponse>> {
491
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPremInvoicePaymentExt(vbasoftwareDatabase, invoiceKey, invoiceYear, page, pageSize, options);
492
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
493
+ },
414
494
  /**
415
495
  * Create or Update multiple PremInvoicePayment at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
416
496
  * @summary Create or Update Batch PremInvoicePayment
@@ -494,6 +574,20 @@ export const PremiumInvoicePaymentsApiFactory = function (configuration?: Config
494
574
  listPremInvoicePayment(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: any): AxiosPromise<PremInvoicePaymentListVBAResponse> {
495
575
  return localVarFp.listPremInvoicePayment(vbasoftwareDatabase, page, pageSize, options).then((request) => request(axios, basePath));
496
576
  },
577
+ /**
578
+ * Lists PremInvoicePayment Extended objects which include invoice posted payments and payment applied fields.
579
+ * @summary List PremInvoicePayment Extended
580
+ * @param {string} vbasoftwareDatabase Target database
581
+ * @param {number} invoiceKey Invoice Key
582
+ * @param {number} [invoiceYear] Invoice Year
583
+ * @param {number} [page] Page
584
+ * @param {number} [pageSize] Page Size
585
+ * @param {*} [options] Override http request option.
586
+ * @throws {RequiredError}
587
+ */
588
+ listPremInvoicePaymentExt(vbasoftwareDatabase: string, invoiceKey: number, invoiceYear?: number, page?: number, pageSize?: number, options?: any): AxiosPromise<PremInvoicePaymentExtListVBAResponse> {
589
+ return localVarFp.listPremInvoicePaymentExt(vbasoftwareDatabase, invoiceKey, invoiceYear, page, pageSize, options).then((request) => request(axios, basePath));
590
+ },
497
591
  /**
498
592
  * Create or Update multiple PremInvoicePayment at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
499
593
  * @summary Create or Update Batch PremInvoicePayment
@@ -574,6 +668,20 @@ export interface PremiumInvoicePaymentsApiInterface {
574
668
  */
575
669
  listPremInvoicePayment(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<PremInvoicePaymentListVBAResponse>;
576
670
 
671
+ /**
672
+ * Lists PremInvoicePayment Extended objects which include invoice posted payments and payment applied fields.
673
+ * @summary List PremInvoicePayment Extended
674
+ * @param {string} vbasoftwareDatabase Target database
675
+ * @param {number} invoiceKey Invoice Key
676
+ * @param {number} [invoiceYear] Invoice Year
677
+ * @param {number} [page] Page
678
+ * @param {number} [pageSize] Page Size
679
+ * @param {*} [options] Override http request option.
680
+ * @throws {RequiredError}
681
+ * @memberof PremiumInvoicePaymentsApiInterface
682
+ */
683
+ listPremInvoicePaymentExt(vbasoftwareDatabase: string, invoiceKey: number, invoiceYear?: number, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<PremInvoicePaymentExtListVBAResponse>;
684
+
577
685
  /**
578
686
  * Create or Update multiple PremInvoicePayment at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
579
687
  * @summary Create or Update Batch PremInvoicePayment
@@ -662,6 +770,22 @@ export class PremiumInvoicePaymentsApi extends BaseAPI implements PremiumInvoice
662
770
  return PremiumInvoicePaymentsApiFp(this.configuration).listPremInvoicePayment(vbasoftwareDatabase, page, pageSize, options).then((request) => request(this.axios, this.basePath));
663
771
  }
664
772
 
773
+ /**
774
+ * Lists PremInvoicePayment Extended objects which include invoice posted payments and payment applied fields.
775
+ * @summary List PremInvoicePayment Extended
776
+ * @param {string} vbasoftwareDatabase Target database
777
+ * @param {number} invoiceKey Invoice Key
778
+ * @param {number} [invoiceYear] Invoice Year
779
+ * @param {number} [page] Page
780
+ * @param {number} [pageSize] Page Size
781
+ * @param {*} [options] Override http request option.
782
+ * @throws {RequiredError}
783
+ * @memberof PremiumInvoicePaymentsApi
784
+ */
785
+ public listPremInvoicePaymentExt(vbasoftwareDatabase: string, invoiceKey: number, invoiceYear?: number, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
786
+ return PremiumInvoicePaymentsApiFp(this.configuration).listPremInvoicePaymentExt(vbasoftwareDatabase, invoiceKey, invoiceYear, page, pageSize, options).then((request) => request(this.axios, this.basePath));
787
+ }
788
+
665
789
  /**
666
790
  * Create or Update multiple PremInvoicePayment at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
667
791
  * @summary Create or Update Batch PremInvoicePayment
@@ -25,8 +25,12 @@ import { MultiCodeResponseListVBAResponse } from '../models';
25
25
  // @ts-ignore
26
26
  import { PremInvoice } from '../models';
27
27
  // @ts-ignore
28
+ import { PremInvoiceGroupSummaryVBAResponse } from '../models';
29
+ // @ts-ignore
28
30
  import { PremInvoiceListVBAResponse } from '../models';
29
31
  // @ts-ignore
32
+ import { PremInvoiceSlimListVBAResponse } from '../models';
33
+ // @ts-ignore
30
34
  import { PremInvoiceVBAResponse } from '../models';
31
35
  /**
32
36
  * PremiumInvoicesApi - axios parameter creator
@@ -181,7 +185,113 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
181
185
  };
182
186
  },
183
187
  /**
184
- * Lists all PremInvoice
188
+ * Gets PremInvoice Summary for the specified group id and invoice year. First PremInvoiceSelfAdmin table is checked for the group id, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the group is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked for this group. If not present in either table, an error is returned.
189
+ * @summary Get PremInvoice Group Summary
190
+ * @param {string} vbasoftwareDatabase Target database
191
+ * @param {string} groupId Group ID
192
+ * @param {number} invoiceYear Invoice Year
193
+ * @param {*} [options] Override http request option.
194
+ * @throws {RequiredError}
195
+ */
196
+ getPremInvoiceGroupSummary: async (vbasoftwareDatabase: string, groupId: string, invoiceYear: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
197
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
198
+ assertParamExists('getPremInvoiceGroupSummary', 'vbasoftwareDatabase', vbasoftwareDatabase)
199
+ // verify required parameter 'groupId' is not null or undefined
200
+ assertParamExists('getPremInvoiceGroupSummary', 'groupId', groupId)
201
+ // verify required parameter 'invoiceYear' is not null or undefined
202
+ assertParamExists('getPremInvoiceGroupSummary', 'invoiceYear', invoiceYear)
203
+ const localVarPath = `/premium-invoices-group-summary`;
204
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
205
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
206
+ let baseOptions;
207
+ if (configuration) {
208
+ baseOptions = configuration.baseOptions;
209
+ }
210
+
211
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
212
+ const localVarHeaderParameter = {} as any;
213
+ const localVarQueryParameter = {} as any;
214
+
215
+ // authentication apiKeyAuth required
216
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
217
+
218
+ // authentication bearerAuth required
219
+ // http bearer authentication required
220
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
221
+
222
+ if (groupId !== undefined) {
223
+ localVarQueryParameter['groupId'] = groupId;
224
+ }
225
+
226
+ if (invoiceYear !== undefined) {
227
+ localVarQueryParameter['invoiceYear'] = invoiceYear;
228
+ }
229
+
230
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
231
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
232
+ }
233
+
234
+
235
+
236
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
237
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
238
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
239
+
240
+ return {
241
+ url: toPathString(localVarUrlObj),
242
+ options: localVarRequestOptions,
243
+ };
244
+ },
245
+ /**
246
+ * Gets PremInvoice Summary for the specified invoice. First PremInvoiceSelfAdmin table is checked for the invoice key, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the invoice key is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked. If not present in either table, an error is returned.
247
+ * @summary Get PremInvoice Summary
248
+ * @param {string} vbasoftwareDatabase Target database
249
+ * @param {number} invoiceKey Invoice Key
250
+ * @param {*} [options] Override http request option.
251
+ * @throws {RequiredError}
252
+ */
253
+ getPremInvoiceSummary: async (vbasoftwareDatabase: string, invoiceKey: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
254
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
255
+ assertParamExists('getPremInvoiceSummary', 'vbasoftwareDatabase', vbasoftwareDatabase)
256
+ // verify required parameter 'invoiceKey' is not null or undefined
257
+ assertParamExists('getPremInvoiceSummary', 'invoiceKey', invoiceKey)
258
+ const localVarPath = `/premium-invoices/{invoiceKey}/summary`
259
+ .replace(`{${"invoiceKey"}}`, encodeURIComponent(String(invoiceKey)));
260
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
261
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
262
+ let baseOptions;
263
+ if (configuration) {
264
+ baseOptions = configuration.baseOptions;
265
+ }
266
+
267
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
268
+ const localVarHeaderParameter = {} as any;
269
+ const localVarQueryParameter = {} as any;
270
+
271
+ // authentication apiKeyAuth required
272
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
273
+
274
+ // authentication bearerAuth required
275
+ // http bearer authentication required
276
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
277
+
278
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
279
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
280
+ }
281
+
282
+
283
+
284
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
285
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
286
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
287
+
288
+ return {
289
+ url: toPathString(localVarUrlObj),
290
+ options: localVarRequestOptions,
291
+ };
292
+ },
293
+ /**
294
+ * Lists all PremInvoice.
185
295
  * @summary List PremInvoice
186
296
  * @param {string} vbasoftwareDatabase Target database
187
297
  * @param {number} [page] Page
@@ -225,6 +335,70 @@ export const PremiumInvoicesApiAxiosParamCreator = function (configuration?: Con
225
335
 
226
336
 
227
337
 
338
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
339
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
340
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
341
+
342
+ return {
343
+ url: toPathString(localVarUrlObj),
344
+ options: localVarRequestOptions,
345
+ };
346
+ },
347
+ /**
348
+ * Gets a \'Slim\' list of PremInvoices. The Slim model has a limited subset of fields intended for quick loading. You may provide the GroupID and/or Invoice Year to filter the list to include only those Invoices in which the Group/Invoice Year match an invoice with the same Group/Invoice Year wihtin the PremInvoiceSubscriber and PremInvoiceSelfAdmin tables.
349
+ * @summary List PremInvoiceSlim
350
+ * @param {string} vbasoftwareDatabase Target database
351
+ * @param {string} [groupId] Group ID
352
+ * @param {number} [invoiceYear] Invoice Year
353
+ * @param {number} [page] Page
354
+ * @param {number} [pageSize] Page Size
355
+ * @param {*} [options] Override http request option.
356
+ * @throws {RequiredError}
357
+ */
358
+ listPremInvoiceSlim: async (vbasoftwareDatabase: string, groupId?: string, invoiceYear?: number, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
359
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
360
+ assertParamExists('listPremInvoiceSlim', 'vbasoftwareDatabase', vbasoftwareDatabase)
361
+ const localVarPath = `/premium-invoices-slim`;
362
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
363
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
364
+ let baseOptions;
365
+ if (configuration) {
366
+ baseOptions = configuration.baseOptions;
367
+ }
368
+
369
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
370
+ const localVarHeaderParameter = {} as any;
371
+ const localVarQueryParameter = {} as any;
372
+
373
+ // authentication apiKeyAuth required
374
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
375
+
376
+ // authentication bearerAuth required
377
+ // http bearer authentication required
378
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
379
+
380
+ if (groupId !== undefined) {
381
+ localVarQueryParameter['groupId'] = groupId;
382
+ }
383
+
384
+ if (invoiceYear !== undefined) {
385
+ localVarQueryParameter['invoiceYear'] = invoiceYear;
386
+ }
387
+
388
+ if (page !== undefined) {
389
+ localVarQueryParameter['page'] = page;
390
+ }
391
+
392
+ if (pageSize !== undefined) {
393
+ localVarQueryParameter['pageSize'] = pageSize;
394
+ }
395
+
396
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
397
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
398
+ }
399
+
400
+
401
+
228
402
  setSearchParams(localVarUrlObj, localVarQueryParameter);
229
403
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
230
404
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -385,7 +559,32 @@ export const PremiumInvoicesApiFp = function(configuration?: Configuration) {
385
559
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
386
560
  },
387
561
  /**
388
- * Lists all PremInvoice
562
+ * Gets PremInvoice Summary for the specified group id and invoice year. First PremInvoiceSelfAdmin table is checked for the group id, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the group is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked for this group. If not present in either table, an error is returned.
563
+ * @summary Get PremInvoice Group Summary
564
+ * @param {string} vbasoftwareDatabase Target database
565
+ * @param {string} groupId Group ID
566
+ * @param {number} invoiceYear Invoice Year
567
+ * @param {*} [options] Override http request option.
568
+ * @throws {RequiredError}
569
+ */
570
+ async getPremInvoiceGroupSummary(vbasoftwareDatabase: string, groupId: string, invoiceYear: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceGroupSummaryVBAResponse>> {
571
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPremInvoiceGroupSummary(vbasoftwareDatabase, groupId, invoiceYear, options);
572
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
573
+ },
574
+ /**
575
+ * Gets PremInvoice Summary for the specified invoice. First PremInvoiceSelfAdmin table is checked for the invoice key, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the invoice key is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked. If not present in either table, an error is returned.
576
+ * @summary Get PremInvoice Summary
577
+ * @param {string} vbasoftwareDatabase Target database
578
+ * @param {number} invoiceKey Invoice Key
579
+ * @param {*} [options] Override http request option.
580
+ * @throws {RequiredError}
581
+ */
582
+ async getPremInvoiceSummary(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceGroupSummaryVBAResponse>> {
583
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPremInvoiceSummary(vbasoftwareDatabase, invoiceKey, options);
584
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
585
+ },
586
+ /**
587
+ * Lists all PremInvoice.
389
588
  * @summary List PremInvoice
390
589
  * @param {string} vbasoftwareDatabase Target database
391
590
  * @param {number} [page] Page
@@ -397,6 +596,21 @@ export const PremiumInvoicesApiFp = function(configuration?: Configuration) {
397
596
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPremInvoice(vbasoftwareDatabase, page, pageSize, options);
398
597
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
399
598
  },
599
+ /**
600
+ * Gets a \'Slim\' list of PremInvoices. The Slim model has a limited subset of fields intended for quick loading. You may provide the GroupID and/or Invoice Year to filter the list to include only those Invoices in which the Group/Invoice Year match an invoice with the same Group/Invoice Year wihtin the PremInvoiceSubscriber and PremInvoiceSelfAdmin tables.
601
+ * @summary List PremInvoiceSlim
602
+ * @param {string} vbasoftwareDatabase Target database
603
+ * @param {string} [groupId] Group ID
604
+ * @param {number} [invoiceYear] Invoice Year
605
+ * @param {number} [page] Page
606
+ * @param {number} [pageSize] Page Size
607
+ * @param {*} [options] Override http request option.
608
+ * @throws {RequiredError}
609
+ */
610
+ async listPremInvoiceSlim(vbasoftwareDatabase: string, groupId?: string, invoiceYear?: number, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PremInvoiceSlimListVBAResponse>> {
611
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPremInvoiceSlim(vbasoftwareDatabase, groupId, invoiceYear, page, pageSize, options);
612
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
613
+ },
400
614
  /**
401
615
  * 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.
402
616
  * @summary Create or Update Batch PremInvoice
@@ -466,7 +680,30 @@ export const PremiumInvoicesApiFactory = function (configuration?: Configuration
466
680
  return localVarFp.getPremInvoice(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
467
681
  },
468
682
  /**
469
- * Lists all PremInvoice
683
+ * Gets PremInvoice Summary for the specified group id and invoice year. First PremInvoiceSelfAdmin table is checked for the group id, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the group is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked for this group. If not present in either table, an error is returned.
684
+ * @summary Get PremInvoice Group Summary
685
+ * @param {string} vbasoftwareDatabase Target database
686
+ * @param {string} groupId Group ID
687
+ * @param {number} invoiceYear Invoice Year
688
+ * @param {*} [options] Override http request option.
689
+ * @throws {RequiredError}
690
+ */
691
+ getPremInvoiceGroupSummary(vbasoftwareDatabase: string, groupId: string, invoiceYear: number, options?: any): AxiosPromise<PremInvoiceGroupSummaryVBAResponse> {
692
+ return localVarFp.getPremInvoiceGroupSummary(vbasoftwareDatabase, groupId, invoiceYear, options).then((request) => request(axios, basePath));
693
+ },
694
+ /**
695
+ * Gets PremInvoice Summary for the specified invoice. First PremInvoiceSelfAdmin table is checked for the invoice key, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the invoice key is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked. If not present in either table, an error is returned.
696
+ * @summary Get PremInvoice Summary
697
+ * @param {string} vbasoftwareDatabase Target database
698
+ * @param {number} invoiceKey Invoice Key
699
+ * @param {*} [options] Override http request option.
700
+ * @throws {RequiredError}
701
+ */
702
+ getPremInvoiceSummary(vbasoftwareDatabase: string, invoiceKey: number, options?: any): AxiosPromise<PremInvoiceGroupSummaryVBAResponse> {
703
+ return localVarFp.getPremInvoiceSummary(vbasoftwareDatabase, invoiceKey, options).then((request) => request(axios, basePath));
704
+ },
705
+ /**
706
+ * Lists all PremInvoice.
470
707
  * @summary List PremInvoice
471
708
  * @param {string} vbasoftwareDatabase Target database
472
709
  * @param {number} [page] Page
@@ -477,6 +714,20 @@ export const PremiumInvoicesApiFactory = function (configuration?: Configuration
477
714
  listPremInvoice(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: any): AxiosPromise<PremInvoiceListVBAResponse> {
478
715
  return localVarFp.listPremInvoice(vbasoftwareDatabase, page, pageSize, options).then((request) => request(axios, basePath));
479
716
  },
717
+ /**
718
+ * Gets a \'Slim\' list of PremInvoices. The Slim model has a limited subset of fields intended for quick loading. You may provide the GroupID and/or Invoice Year to filter the list to include only those Invoices in which the Group/Invoice Year match an invoice with the same Group/Invoice Year wihtin the PremInvoiceSubscriber and PremInvoiceSelfAdmin tables.
719
+ * @summary List PremInvoiceSlim
720
+ * @param {string} vbasoftwareDatabase Target database
721
+ * @param {string} [groupId] Group ID
722
+ * @param {number} [invoiceYear] Invoice Year
723
+ * @param {number} [page] Page
724
+ * @param {number} [pageSize] Page Size
725
+ * @param {*} [options] Override http request option.
726
+ * @throws {RequiredError}
727
+ */
728
+ listPremInvoiceSlim(vbasoftwareDatabase: string, groupId?: string, invoiceYear?: number, page?: number, pageSize?: number, options?: any): AxiosPromise<PremInvoiceSlimListVBAResponse> {
729
+ return localVarFp.listPremInvoiceSlim(vbasoftwareDatabase, groupId, invoiceYear, page, pageSize, options).then((request) => request(axios, basePath));
730
+ },
480
731
  /**
481
732
  * 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.
482
733
  * @summary Create or Update Batch PremInvoice
@@ -543,7 +794,30 @@ export interface PremiumInvoicesApiInterface {
543
794
  getPremInvoice(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceVBAResponse>;
544
795
 
545
796
  /**
546
- * Lists all PremInvoice
797
+ * Gets PremInvoice Summary for the specified group id and invoice year. First PremInvoiceSelfAdmin table is checked for the group id, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the group is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked for this group. If not present in either table, an error is returned.
798
+ * @summary Get PremInvoice Group Summary
799
+ * @param {string} vbasoftwareDatabase Target database
800
+ * @param {string} groupId Group ID
801
+ * @param {number} invoiceYear Invoice Year
802
+ * @param {*} [options] Override http request option.
803
+ * @throws {RequiredError}
804
+ * @memberof PremiumInvoicesApiInterface
805
+ */
806
+ getPremInvoiceGroupSummary(vbasoftwareDatabase: string, groupId: string, invoiceYear: number, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceGroupSummaryVBAResponse>;
807
+
808
+ /**
809
+ * Gets PremInvoice Summary for the specified invoice. First PremInvoiceSelfAdmin table is checked for the invoice key, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the invoice key is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked. If not present in either table, an error is returned.
810
+ * @summary Get PremInvoice Summary
811
+ * @param {string} vbasoftwareDatabase Target database
812
+ * @param {number} invoiceKey Invoice Key
813
+ * @param {*} [options] Override http request option.
814
+ * @throws {RequiredError}
815
+ * @memberof PremiumInvoicesApiInterface
816
+ */
817
+ getPremInvoiceSummary(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceGroupSummaryVBAResponse>;
818
+
819
+ /**
820
+ * Lists all PremInvoice.
547
821
  * @summary List PremInvoice
548
822
  * @param {string} vbasoftwareDatabase Target database
549
823
  * @param {number} [page] Page
@@ -554,6 +828,20 @@ export interface PremiumInvoicesApiInterface {
554
828
  */
555
829
  listPremInvoice(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceListVBAResponse>;
556
830
 
831
+ /**
832
+ * Gets a \'Slim\' list of PremInvoices. The Slim model has a limited subset of fields intended for quick loading. You may provide the GroupID and/or Invoice Year to filter the list to include only those Invoices in which the Group/Invoice Year match an invoice with the same Group/Invoice Year wihtin the PremInvoiceSubscriber and PremInvoiceSelfAdmin tables.
833
+ * @summary List PremInvoiceSlim
834
+ * @param {string} vbasoftwareDatabase Target database
835
+ * @param {string} [groupId] Group ID
836
+ * @param {number} [invoiceYear] Invoice Year
837
+ * @param {number} [page] Page
838
+ * @param {number} [pageSize] Page Size
839
+ * @param {*} [options] Override http request option.
840
+ * @throws {RequiredError}
841
+ * @memberof PremiumInvoicesApiInterface
842
+ */
843
+ listPremInvoiceSlim(vbasoftwareDatabase: string, groupId?: string, invoiceYear?: number, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<PremInvoiceSlimListVBAResponse>;
844
+
557
845
  /**
558
846
  * 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.
559
847
  * @summary Create or Update Batch PremInvoice
@@ -626,7 +914,34 @@ export class PremiumInvoicesApi extends BaseAPI implements PremiumInvoicesApiInt
626
914
  }
627
915
 
628
916
  /**
629
- * Lists all PremInvoice
917
+ * Gets PremInvoice Summary for the specified group id and invoice year. First PremInvoiceSelfAdmin table is checked for the group id, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the group is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked for this group. If not present in either table, an error is returned.
918
+ * @summary Get PremInvoice Group Summary
919
+ * @param {string} vbasoftwareDatabase Target database
920
+ * @param {string} groupId Group ID
921
+ * @param {number} invoiceYear Invoice Year
922
+ * @param {*} [options] Override http request option.
923
+ * @throws {RequiredError}
924
+ * @memberof PremiumInvoicesApi
925
+ */
926
+ public getPremInvoiceGroupSummary(vbasoftwareDatabase: string, groupId: string, invoiceYear: number, options?: AxiosRequestConfig) {
927
+ return PremiumInvoicesApiFp(this.configuration).getPremInvoiceGroupSummary(vbasoftwareDatabase, groupId, invoiceYear, options).then((request) => request(this.axios, this.basePath));
928
+ }
929
+
930
+ /**
931
+ * Gets PremInvoice Summary for the specified invoice. First PremInvoiceSelfAdmin table is checked for the invoice key, if found the values are aggregated from come from PremInvoiceSelfAdmin; if the invoice key is not found in PremInvoiceSelfAdmin, the PremInvoiceSubscriber table is checked. If not present in either table, an error is returned.
932
+ * @summary Get PremInvoice Summary
933
+ * @param {string} vbasoftwareDatabase Target database
934
+ * @param {number} invoiceKey Invoice Key
935
+ * @param {*} [options] Override http request option.
936
+ * @throws {RequiredError}
937
+ * @memberof PremiumInvoicesApi
938
+ */
939
+ public getPremInvoiceSummary(vbasoftwareDatabase: string, invoiceKey: number, options?: AxiosRequestConfig) {
940
+ return PremiumInvoicesApiFp(this.configuration).getPremInvoiceSummary(vbasoftwareDatabase, invoiceKey, options).then((request) => request(this.axios, this.basePath));
941
+ }
942
+
943
+ /**
944
+ * Lists all PremInvoice.
630
945
  * @summary List PremInvoice
631
946
  * @param {string} vbasoftwareDatabase Target database
632
947
  * @param {number} [page] Page
@@ -639,6 +954,22 @@ export class PremiumInvoicesApi extends BaseAPI implements PremiumInvoicesApiInt
639
954
  return PremiumInvoicesApiFp(this.configuration).listPremInvoice(vbasoftwareDatabase, page, pageSize, options).then((request) => request(this.axios, this.basePath));
640
955
  }
641
956
 
957
+ /**
958
+ * Gets a \'Slim\' list of PremInvoices. The Slim model has a limited subset of fields intended for quick loading. You may provide the GroupID and/or Invoice Year to filter the list to include only those Invoices in which the Group/Invoice Year match an invoice with the same Group/Invoice Year wihtin the PremInvoiceSubscriber and PremInvoiceSelfAdmin tables.
959
+ * @summary List PremInvoiceSlim
960
+ * @param {string} vbasoftwareDatabase Target database
961
+ * @param {string} [groupId] Group ID
962
+ * @param {number} [invoiceYear] Invoice Year
963
+ * @param {number} [page] Page
964
+ * @param {number} [pageSize] Page Size
965
+ * @param {*} [options] Override http request option.
966
+ * @throws {RequiredError}
967
+ * @memberof PremiumInvoicesApi
968
+ */
969
+ public listPremInvoiceSlim(vbasoftwareDatabase: string, groupId?: string, invoiceYear?: number, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
970
+ return PremiumInvoicesApiFp(this.configuration).listPremInvoiceSlim(vbasoftwareDatabase, groupId, invoiceYear, page, pageSize, options).then((request) => request(this.axios, this.basePath));
971
+ }
972
+
642
973
  /**
643
974
  * 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.
644
975
  * @summary Create or Update Batch PremInvoice