@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230707.1 → 1.20230722.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 +4 -2
- package/api/benefits-api.ts +40 -13
- package/api/modifiers-api.ts +40 -13
- package/api/provider-api.ts +131 -15
- package/api/report-queue-detail-arguments-api.ts +77 -155
- package/api/report-queue-logs-api.ts +77 -155
- package/api/report-queue-schedules-api.ts +77 -107
- package/api/report-series-api.ts +107 -0
- package/api/report-series-process-templates-api.ts +77 -155
- package/api/{report-series-step-arguments-api.ts → report-series-step-args-api.ts} +103 -181
- package/api/report-series-steps-api.ts +77 -107
- package/api/{report-series-tracking-arguments-api.ts → report-series-tracking-args-api.ts} +103 -181
- package/api/report-static-lists-api.ts +242 -0
- package/api/report-tracking-api.ts +68 -155
- package/api.ts +3 -2
- package/models/idcode-type.ts +26 -2
- package/models/index.ts +1 -0
- package/models/modifier.ts +24 -0
- package/models/note-attachment.ts +26 -2
- package/models/provider-list-vbaresponse.ts +45 -0
- package/models/provider.ts +34 -10
- package/models/report-queue-detail-arg.ts +26 -2
- package/models/report-queue-log.ts +27 -3
- package/models/report-queue-schedule.ts +27 -3
- package/models/report-series-process-template.ts +27 -3
- package/models/report-series-step-arg.ts +26 -2
- package/models/report-series-step.ts +34 -10
- package/models/report-series-tracking-arg.ts +27 -3
- package/models/report-track.ts +26 -2
- package/models/sub-enrollment.ts +26 -2
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -688,9 +688,10 @@ api/report-series-api.ts
|
|
|
688
688
|
api/report-series-process-arguments-api.ts
|
|
689
689
|
api/report-series-process-templates-api.ts
|
|
690
690
|
api/report-series-processes-api.ts
|
|
691
|
-
api/report-series-step-
|
|
691
|
+
api/report-series-step-args-api.ts
|
|
692
692
|
api/report-series-steps-api.ts
|
|
693
|
-
api/report-series-tracking-
|
|
693
|
+
api/report-series-tracking-args-api.ts
|
|
694
|
+
api/report-static-lists-api.ts
|
|
694
695
|
api/report-tracking-api.ts
|
|
695
696
|
api/report-tracking-priorities-api.ts
|
|
696
697
|
api/report-tracking-received-statuses-api.ts
|
|
@@ -2617,6 +2618,7 @@ models/provider-drgvbaresponse.ts
|
|
|
2617
2618
|
models/provider-languages-list-vbaresponse.ts
|
|
2618
2619
|
models/provider-languages-vbaresponse.ts
|
|
2619
2620
|
models/provider-languages.ts
|
|
2621
|
+
models/provider-list-vbaresponse.ts
|
|
2620
2622
|
models/provider-network-list-vbaresponse.ts
|
|
2621
2623
|
models/provider-network-modifier-list-vbaresponse.ts
|
|
2622
2624
|
models/provider-network-modifier-vbaresponse.ts
|
package/api/benefits-api.ts
CHANGED
|
@@ -538,11 +538,14 @@ export const BenefitsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
538
538
|
* Lists all Benefits with optional Benefit Category
|
|
539
539
|
* @summary List Benefits
|
|
540
540
|
* @param {string} vbasoftwareDatabase Target database
|
|
541
|
-
* @param {string} [
|
|
541
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
542
|
+
* @param {number} [page] Page
|
|
543
|
+
* @param {number} [pageSize] Page Size
|
|
544
|
+
* @param {string} [benefitCategory] Filter
|
|
542
545
|
* @param {*} [options] Override http request option.
|
|
543
546
|
* @throws {RequiredError}
|
|
544
547
|
*/
|
|
545
|
-
listBenefits: async (vbasoftwareDatabase: string, benefitCategory?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
548
|
+
listBenefits: async (vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, benefitCategory?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
546
549
|
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
547
550
|
assertParamExists('listBenefits', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
548
551
|
const localVarPath = `/benefits`;
|
|
@@ -564,6 +567,18 @@ export const BenefitsApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
564
567
|
// http bearer authentication required
|
|
565
568
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
566
569
|
|
|
570
|
+
if (sortBy !== undefined) {
|
|
571
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
572
|
+
}
|
|
573
|
+
|
|
574
|
+
if (page !== undefined) {
|
|
575
|
+
localVarQueryParameter['page'] = page;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
if (pageSize !== undefined) {
|
|
579
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
580
|
+
}
|
|
581
|
+
|
|
567
582
|
if (benefitCategory !== undefined) {
|
|
568
583
|
localVarQueryParameter['benefitCategory'] = benefitCategory;
|
|
569
584
|
}
|
|
@@ -1001,12 +1016,15 @@ export const BenefitsApiFp = function(configuration?: Configuration) {
|
|
|
1001
1016
|
* Lists all Benefits with optional Benefit Category
|
|
1002
1017
|
* @summary List Benefits
|
|
1003
1018
|
* @param {string} vbasoftwareDatabase Target database
|
|
1004
|
-
* @param {string} [
|
|
1019
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
1020
|
+
* @param {number} [page] Page
|
|
1021
|
+
* @param {number} [pageSize] Page Size
|
|
1022
|
+
* @param {string} [benefitCategory] Filter
|
|
1005
1023
|
* @param {*} [options] Override http request option.
|
|
1006
1024
|
* @throws {RequiredError}
|
|
1007
1025
|
*/
|
|
1008
|
-
async listBenefits(vbasoftwareDatabase: string, benefitCategory?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BenefitCodesListVBAResponse>> {
|
|
1009
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listBenefits(vbasoftwareDatabase, benefitCategory, options);
|
|
1026
|
+
async listBenefits(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, benefitCategory?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BenefitCodesListVBAResponse>> {
|
|
1027
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listBenefits(vbasoftwareDatabase, sortBy, page, pageSize, benefitCategory, options);
|
|
1010
1028
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1011
1029
|
},
|
|
1012
1030
|
/**
|
|
@@ -1205,12 +1223,15 @@ export const BenefitsApiFactory = function (configuration?: Configuration, baseP
|
|
|
1205
1223
|
* Lists all Benefits with optional Benefit Category
|
|
1206
1224
|
* @summary List Benefits
|
|
1207
1225
|
* @param {string} vbasoftwareDatabase Target database
|
|
1208
|
-
* @param {string} [
|
|
1226
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
1227
|
+
* @param {number} [page] Page
|
|
1228
|
+
* @param {number} [pageSize] Page Size
|
|
1229
|
+
* @param {string} [benefitCategory] Filter
|
|
1209
1230
|
* @param {*} [options] Override http request option.
|
|
1210
1231
|
* @throws {RequiredError}
|
|
1211
1232
|
*/
|
|
1212
|
-
listBenefits(vbasoftwareDatabase: string, benefitCategory?: string, options?: any): AxiosPromise<BenefitCodesListVBAResponse> {
|
|
1213
|
-
return localVarFp.listBenefits(vbasoftwareDatabase, benefitCategory, options).then((request) => request(axios, basePath));
|
|
1233
|
+
listBenefits(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, benefitCategory?: string, options?: any): AxiosPromise<BenefitCodesListVBAResponse> {
|
|
1234
|
+
return localVarFp.listBenefits(vbasoftwareDatabase, sortBy, page, pageSize, benefitCategory, options).then((request) => request(axios, basePath));
|
|
1214
1235
|
},
|
|
1215
1236
|
/**
|
|
1216
1237
|
* List all Out of Pocket (OOP) Calculation key/value pairings.
|
|
@@ -1401,12 +1422,15 @@ export interface BenefitsApiInterface {
|
|
|
1401
1422
|
* Lists all Benefits with optional Benefit Category
|
|
1402
1423
|
* @summary List Benefits
|
|
1403
1424
|
* @param {string} vbasoftwareDatabase Target database
|
|
1404
|
-
* @param {string} [
|
|
1425
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
1426
|
+
* @param {number} [page] Page
|
|
1427
|
+
* @param {number} [pageSize] Page Size
|
|
1428
|
+
* @param {string} [benefitCategory] Filter
|
|
1405
1429
|
* @param {*} [options] Override http request option.
|
|
1406
1430
|
* @throws {RequiredError}
|
|
1407
1431
|
* @memberof BenefitsApiInterface
|
|
1408
1432
|
*/
|
|
1409
|
-
listBenefits(vbasoftwareDatabase: string, benefitCategory?: string, options?: AxiosRequestConfig): AxiosPromise<BenefitCodesListVBAResponse>;
|
|
1433
|
+
listBenefits(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, benefitCategory?: string, options?: AxiosRequestConfig): AxiosPromise<BenefitCodesListVBAResponse>;
|
|
1410
1434
|
|
|
1411
1435
|
/**
|
|
1412
1436
|
* List all Out of Pocket (OOP) Calculation key/value pairings.
|
|
@@ -1619,13 +1643,16 @@ export class BenefitsApi extends BaseAPI implements BenefitsApiInterface {
|
|
|
1619
1643
|
* Lists all Benefits with optional Benefit Category
|
|
1620
1644
|
* @summary List Benefits
|
|
1621
1645
|
* @param {string} vbasoftwareDatabase Target database
|
|
1622
|
-
* @param {string} [
|
|
1646
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
1647
|
+
* @param {number} [page] Page
|
|
1648
|
+
* @param {number} [pageSize] Page Size
|
|
1649
|
+
* @param {string} [benefitCategory] Filter
|
|
1623
1650
|
* @param {*} [options] Override http request option.
|
|
1624
1651
|
* @throws {RequiredError}
|
|
1625
1652
|
* @memberof BenefitsApi
|
|
1626
1653
|
*/
|
|
1627
|
-
public listBenefits(vbasoftwareDatabase: string, benefitCategory?: string, options?: AxiosRequestConfig) {
|
|
1628
|
-
return BenefitsApiFp(this.configuration).listBenefits(vbasoftwareDatabase, benefitCategory, options).then((request) => request(this.axios, this.basePath));
|
|
1654
|
+
public listBenefits(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, benefitCategory?: string, options?: AxiosRequestConfig) {
|
|
1655
|
+
return BenefitsApiFp(this.configuration).listBenefits(vbasoftwareDatabase, sortBy, page, pageSize, benefitCategory, options).then((request) => request(this.axios, this.basePath));
|
|
1629
1656
|
}
|
|
1630
1657
|
|
|
1631
1658
|
/**
|
package/api/modifiers-api.ts
CHANGED
|
@@ -181,13 +181,16 @@ export const ModifiersApiAxiosParamCreator = function (configuration?: Configura
|
|
|
181
181
|
};
|
|
182
182
|
},
|
|
183
183
|
/**
|
|
184
|
-
* Lists all Modifier
|
|
184
|
+
* Lists all Modifier
|
|
185
185
|
* @summary List Modifier
|
|
186
186
|
* @param {string} vbasoftwareDatabase Target database
|
|
187
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
188
|
+
* @param {number} [page] Page
|
|
189
|
+
* @param {number} [pageSize] Page Size
|
|
187
190
|
* @param {*} [options] Override http request option.
|
|
188
191
|
* @throws {RequiredError}
|
|
189
192
|
*/
|
|
190
|
-
listModifier: async (vbasoftwareDatabase: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
193
|
+
listModifier: async (vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
191
194
|
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
192
195
|
assertParamExists('listModifier', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
193
196
|
const localVarPath = `/modifiers`;
|
|
@@ -209,6 +212,18 @@ export const ModifiersApiAxiosParamCreator = function (configuration?: Configura
|
|
|
209
212
|
// http bearer authentication required
|
|
210
213
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
211
214
|
|
|
215
|
+
if (sortBy !== undefined) {
|
|
216
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
if (page !== undefined) {
|
|
220
|
+
localVarQueryParameter['page'] = page;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
if (pageSize !== undefined) {
|
|
224
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
225
|
+
}
|
|
226
|
+
|
|
212
227
|
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
213
228
|
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
214
229
|
}
|
|
@@ -375,14 +390,17 @@ export const ModifiersApiFp = function(configuration?: Configuration) {
|
|
|
375
390
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
376
391
|
},
|
|
377
392
|
/**
|
|
378
|
-
* Lists all Modifier
|
|
393
|
+
* Lists all Modifier
|
|
379
394
|
* @summary List Modifier
|
|
380
395
|
* @param {string} vbasoftwareDatabase Target database
|
|
396
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
397
|
+
* @param {number} [page] Page
|
|
398
|
+
* @param {number} [pageSize] Page Size
|
|
381
399
|
* @param {*} [options] Override http request option.
|
|
382
400
|
* @throws {RequiredError}
|
|
383
401
|
*/
|
|
384
|
-
async listModifier(vbasoftwareDatabase: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModifierListVBAResponse>> {
|
|
385
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listModifier(vbasoftwareDatabase, options);
|
|
402
|
+
async listModifier(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModifierListVBAResponse>> {
|
|
403
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listModifier(vbasoftwareDatabase, sortBy, page, pageSize, options);
|
|
386
404
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
387
405
|
},
|
|
388
406
|
/**
|
|
@@ -454,14 +472,17 @@ export const ModifiersApiFactory = function (configuration?: Configuration, base
|
|
|
454
472
|
return localVarFp.getModifier(vbasoftwareDatabase, modifierCode, options).then((request) => request(axios, basePath));
|
|
455
473
|
},
|
|
456
474
|
/**
|
|
457
|
-
* Lists all Modifier
|
|
475
|
+
* Lists all Modifier
|
|
458
476
|
* @summary List Modifier
|
|
459
477
|
* @param {string} vbasoftwareDatabase Target database
|
|
478
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
479
|
+
* @param {number} [page] Page
|
|
480
|
+
* @param {number} [pageSize] Page Size
|
|
460
481
|
* @param {*} [options] Override http request option.
|
|
461
482
|
* @throws {RequiredError}
|
|
462
483
|
*/
|
|
463
|
-
listModifier(vbasoftwareDatabase: string, options?: any): AxiosPromise<ModifierListVBAResponse> {
|
|
464
|
-
return localVarFp.listModifier(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
|
|
484
|
+
listModifier(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: any): AxiosPromise<ModifierListVBAResponse> {
|
|
485
|
+
return localVarFp.listModifier(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(axios, basePath));
|
|
465
486
|
},
|
|
466
487
|
/**
|
|
467
488
|
* Create or Update multiple Modifier at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
@@ -529,14 +550,17 @@ export interface ModifiersApiInterface {
|
|
|
529
550
|
getModifier(vbasoftwareDatabase: string, modifierCode: string, options?: AxiosRequestConfig): AxiosPromise<ModifierVBAResponse>;
|
|
530
551
|
|
|
531
552
|
/**
|
|
532
|
-
* Lists all Modifier
|
|
553
|
+
* Lists all Modifier
|
|
533
554
|
* @summary List Modifier
|
|
534
555
|
* @param {string} vbasoftwareDatabase Target database
|
|
556
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
557
|
+
* @param {number} [page] Page
|
|
558
|
+
* @param {number} [pageSize] Page Size
|
|
535
559
|
* @param {*} [options] Override http request option.
|
|
536
560
|
* @throws {RequiredError}
|
|
537
561
|
* @memberof ModifiersApiInterface
|
|
538
562
|
*/
|
|
539
|
-
listModifier(vbasoftwareDatabase: string, options?: AxiosRequestConfig): AxiosPromise<ModifierListVBAResponse>;
|
|
563
|
+
listModifier(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<ModifierListVBAResponse>;
|
|
540
564
|
|
|
541
565
|
/**
|
|
542
566
|
* Create or Update multiple Modifier at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
@@ -610,15 +634,18 @@ export class ModifiersApi extends BaseAPI implements ModifiersApiInterface {
|
|
|
610
634
|
}
|
|
611
635
|
|
|
612
636
|
/**
|
|
613
|
-
* Lists all Modifier
|
|
637
|
+
* Lists all Modifier
|
|
614
638
|
* @summary List Modifier
|
|
615
639
|
* @param {string} vbasoftwareDatabase Target database
|
|
640
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
641
|
+
* @param {number} [page] Page
|
|
642
|
+
* @param {number} [pageSize] Page Size
|
|
616
643
|
* @param {*} [options] Override http request option.
|
|
617
644
|
* @throws {RequiredError}
|
|
618
645
|
* @memberof ModifiersApi
|
|
619
646
|
*/
|
|
620
|
-
public listModifier(vbasoftwareDatabase: string, options?: AxiosRequestConfig) {
|
|
621
|
-
return ModifiersApiFp(this.configuration).listModifier(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
|
|
647
|
+
public listModifier(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
|
|
648
|
+
return ModifiersApiFp(this.configuration).listModifier(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
622
649
|
}
|
|
623
650
|
|
|
624
651
|
/**
|
package/api/provider-api.ts
CHANGED
|
@@ -25,6 +25,8 @@ import { MultiCodeResponseListVBAResponse } from '../models';
|
|
|
25
25
|
// @ts-ignore
|
|
26
26
|
import { Provider } from '../models';
|
|
27
27
|
// @ts-ignore
|
|
28
|
+
import { ProviderListVBAResponse } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
28
30
|
import { ProviderVBAResponse } from '../models';
|
|
29
31
|
/**
|
|
30
32
|
* ProviderApi - axios parameter creator
|
|
@@ -33,7 +35,7 @@ import { ProviderVBAResponse } from '../models';
|
|
|
33
35
|
export const ProviderApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
34
36
|
return {
|
|
35
37
|
/**
|
|
36
|
-
* Creates a new Provider
|
|
38
|
+
* Creates a new Provider
|
|
37
39
|
* @summary Create Provider
|
|
38
40
|
* @param {string} vbasoftwareDatabase Target database
|
|
39
41
|
* @param {Provider} provider
|
|
@@ -179,8 +181,67 @@ export const ProviderApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
179
181
|
};
|
|
180
182
|
},
|
|
181
183
|
/**
|
|
182
|
-
*
|
|
183
|
-
* @summary
|
|
184
|
+
* Lists all Provider
|
|
185
|
+
* @summary List Provider
|
|
186
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
187
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
188
|
+
* @param {number} [page] Page
|
|
189
|
+
* @param {number} [pageSize] Page Size
|
|
190
|
+
* @param {*} [options] Override http request option.
|
|
191
|
+
* @throws {RequiredError}
|
|
192
|
+
*/
|
|
193
|
+
listProvider: async (vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
194
|
+
// verify required parameter 'vbasoftwareDatabase' is not null or undefined
|
|
195
|
+
assertParamExists('listProvider', 'vbasoftwareDatabase', vbasoftwareDatabase)
|
|
196
|
+
const localVarPath = `/providers`;
|
|
197
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
198
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
199
|
+
let baseOptions;
|
|
200
|
+
if (configuration) {
|
|
201
|
+
baseOptions = configuration.baseOptions;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
|
|
205
|
+
const localVarHeaderParameter = {} as any;
|
|
206
|
+
const localVarQueryParameter = {} as any;
|
|
207
|
+
|
|
208
|
+
// authentication apiKeyAuth required
|
|
209
|
+
await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
|
|
210
|
+
|
|
211
|
+
// authentication bearerAuth required
|
|
212
|
+
// http bearer authentication required
|
|
213
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
214
|
+
|
|
215
|
+
if (sortBy !== undefined) {
|
|
216
|
+
localVarQueryParameter['sortBy'] = sortBy;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
if (page !== undefined) {
|
|
220
|
+
localVarQueryParameter['page'] = page;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
if (pageSize !== undefined) {
|
|
224
|
+
localVarQueryParameter['pageSize'] = pageSize;
|
|
225
|
+
}
|
|
226
|
+
|
|
227
|
+
if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
|
|
228
|
+
localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
234
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
235
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
236
|
+
|
|
237
|
+
return {
|
|
238
|
+
url: toPathString(localVarUrlObj),
|
|
239
|
+
options: localVarRequestOptions,
|
|
240
|
+
};
|
|
241
|
+
},
|
|
242
|
+
/**
|
|
243
|
+
* Create or Update multiple Provider at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
244
|
+
* @summary Create or Update Batch Provider
|
|
184
245
|
* @param {string} vbasoftwareDatabase Target database
|
|
185
246
|
* @param {Array<Provider>} provider
|
|
186
247
|
* @param {*} [options] Override http request option.
|
|
@@ -293,7 +354,7 @@ export const ProviderApiFp = function(configuration?: Configuration) {
|
|
|
293
354
|
const localVarAxiosParamCreator = ProviderApiAxiosParamCreator(configuration)
|
|
294
355
|
return {
|
|
295
356
|
/**
|
|
296
|
-
* Creates a new Provider
|
|
357
|
+
* Creates a new Provider
|
|
297
358
|
* @summary Create Provider
|
|
298
359
|
* @param {string} vbasoftwareDatabase Target database
|
|
299
360
|
* @param {Provider} provider
|
|
@@ -329,8 +390,22 @@ export const ProviderApiFp = function(configuration?: Configuration) {
|
|
|
329
390
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
330
391
|
},
|
|
331
392
|
/**
|
|
332
|
-
*
|
|
333
|
-
* @summary
|
|
393
|
+
* Lists all Provider
|
|
394
|
+
* @summary List Provider
|
|
395
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
396
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
397
|
+
* @param {number} [page] Page
|
|
398
|
+
* @param {number} [pageSize] Page Size
|
|
399
|
+
* @param {*} [options] Override http request option.
|
|
400
|
+
* @throws {RequiredError}
|
|
401
|
+
*/
|
|
402
|
+
async listProvider(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ProviderListVBAResponse>> {
|
|
403
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listProvider(vbasoftwareDatabase, sortBy, page, pageSize, options);
|
|
404
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
405
|
+
},
|
|
406
|
+
/**
|
|
407
|
+
* Create or Update multiple Provider at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
408
|
+
* @summary Create or Update Batch Provider
|
|
334
409
|
* @param {string} vbasoftwareDatabase Target database
|
|
335
410
|
* @param {Array<Provider>} provider
|
|
336
411
|
* @param {*} [options] Override http request option.
|
|
@@ -364,7 +439,7 @@ export const ProviderApiFactory = function (configuration?: Configuration, baseP
|
|
|
364
439
|
const localVarFp = ProviderApiFp(configuration)
|
|
365
440
|
return {
|
|
366
441
|
/**
|
|
367
|
-
* Creates a new Provider
|
|
442
|
+
* Creates a new Provider
|
|
368
443
|
* @summary Create Provider
|
|
369
444
|
* @param {string} vbasoftwareDatabase Target database
|
|
370
445
|
* @param {Provider} provider
|
|
@@ -397,8 +472,21 @@ export const ProviderApiFactory = function (configuration?: Configuration, baseP
|
|
|
397
472
|
return localVarFp.getProvider(vbasoftwareDatabase, providerID, options).then((request) => request(axios, basePath));
|
|
398
473
|
},
|
|
399
474
|
/**
|
|
400
|
-
*
|
|
401
|
-
* @summary
|
|
475
|
+
* Lists all Provider
|
|
476
|
+
* @summary List Provider
|
|
477
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
478
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
479
|
+
* @param {number} [page] Page
|
|
480
|
+
* @param {number} [pageSize] Page Size
|
|
481
|
+
* @param {*} [options] Override http request option.
|
|
482
|
+
* @throws {RequiredError}
|
|
483
|
+
*/
|
|
484
|
+
listProvider(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: any): AxiosPromise<ProviderListVBAResponse> {
|
|
485
|
+
return localVarFp.listProvider(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(axios, basePath));
|
|
486
|
+
},
|
|
487
|
+
/**
|
|
488
|
+
* Create or Update multiple Provider at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
489
|
+
* @summary Create or Update Batch Provider
|
|
402
490
|
* @param {string} vbasoftwareDatabase Target database
|
|
403
491
|
* @param {Array<Provider>} provider
|
|
404
492
|
* @param {*} [options] Override http request option.
|
|
@@ -429,7 +517,7 @@ export const ProviderApiFactory = function (configuration?: Configuration, baseP
|
|
|
429
517
|
*/
|
|
430
518
|
export interface ProviderApiInterface {
|
|
431
519
|
/**
|
|
432
|
-
* Creates a new Provider
|
|
520
|
+
* Creates a new Provider
|
|
433
521
|
* @summary Create Provider
|
|
434
522
|
* @param {string} vbasoftwareDatabase Target database
|
|
435
523
|
* @param {Provider} provider
|
|
@@ -462,8 +550,21 @@ export interface ProviderApiInterface {
|
|
|
462
550
|
getProvider(vbasoftwareDatabase: string, providerID: string, options?: AxiosRequestConfig): AxiosPromise<ProviderVBAResponse>;
|
|
463
551
|
|
|
464
552
|
/**
|
|
465
|
-
*
|
|
466
|
-
* @summary
|
|
553
|
+
* Lists all Provider
|
|
554
|
+
* @summary List Provider
|
|
555
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
556
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
557
|
+
* @param {number} [page] Page
|
|
558
|
+
* @param {number} [pageSize] Page Size
|
|
559
|
+
* @param {*} [options] Override http request option.
|
|
560
|
+
* @throws {RequiredError}
|
|
561
|
+
* @memberof ProviderApiInterface
|
|
562
|
+
*/
|
|
563
|
+
listProvider(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<ProviderListVBAResponse>;
|
|
564
|
+
|
|
565
|
+
/**
|
|
566
|
+
* Create or Update multiple Provider at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
567
|
+
* @summary Create or Update Batch Provider
|
|
467
568
|
* @param {string} vbasoftwareDatabase Target database
|
|
468
569
|
* @param {Array<Provider>} provider
|
|
469
570
|
* @param {*} [options] Override http request option.
|
|
@@ -494,7 +595,7 @@ export interface ProviderApiInterface {
|
|
|
494
595
|
*/
|
|
495
596
|
export class ProviderApi extends BaseAPI implements ProviderApiInterface {
|
|
496
597
|
/**
|
|
497
|
-
* Creates a new Provider
|
|
598
|
+
* Creates a new Provider
|
|
498
599
|
* @summary Create Provider
|
|
499
600
|
* @param {string} vbasoftwareDatabase Target database
|
|
500
601
|
* @param {Provider} provider
|
|
@@ -533,8 +634,23 @@ export class ProviderApi extends BaseAPI implements ProviderApiInterface {
|
|
|
533
634
|
}
|
|
534
635
|
|
|
535
636
|
/**
|
|
536
|
-
*
|
|
537
|
-
* @summary
|
|
637
|
+
* Lists all Provider
|
|
638
|
+
* @summary List Provider
|
|
639
|
+
* @param {string} vbasoftwareDatabase Target database
|
|
640
|
+
* @param {string} [sortBy] Comma separated string to sort by. Each sort field can be followed by :asc or :desc to specify sort direction, ascending is default. E.g., \'Property1:desc,Property2:asc,Property3:asc\' sorts Property1 in descending order, Property2 in ascending, and Property3 in ascending.
|
|
641
|
+
* @param {number} [page] Page
|
|
642
|
+
* @param {number} [pageSize] Page Size
|
|
643
|
+
* @param {*} [options] Override http request option.
|
|
644
|
+
* @throws {RequiredError}
|
|
645
|
+
* @memberof ProviderApi
|
|
646
|
+
*/
|
|
647
|
+
public listProvider(vbasoftwareDatabase: string, sortBy?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
|
|
648
|
+
return ProviderApiFp(this.configuration).listProvider(vbasoftwareDatabase, sortBy, page, pageSize, options).then((request) => request(this.axios, this.basePath));
|
|
649
|
+
}
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Create or Update multiple Provider at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
|
|
653
|
+
* @summary Create or Update Batch Provider
|
|
538
654
|
* @param {string} vbasoftwareDatabase Target database
|
|
539
655
|
* @param {Array<Provider>} provider
|
|
540
656
|
* @param {*} [options] Override http request option.
|