@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230208.2 → 1.20230225.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/api/events-api.ts CHANGED
@@ -499,6 +499,50 @@ export const EventsApiAxiosParamCreator = function (configuration?: Configuratio
499
499
 
500
500
 
501
501
 
502
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
503
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
504
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
505
+
506
+ return {
507
+ url: toPathString(localVarUrlObj),
508
+ options: localVarRequestOptions,
509
+ };
510
+ },
511
+ /**
512
+ * List Report Args
513
+ * @summary List Report Args
514
+ * @param {string} vbasoftwareDatabase Target database
515
+ * @param {*} [options] Override http request option.
516
+ * @throws {RequiredError}
517
+ */
518
+ listReportArgs: async (vbasoftwareDatabase: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
519
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
520
+ assertParamExists('listReportArgs', 'vbasoftwareDatabase', vbasoftwareDatabase)
521
+ const localVarPath = `/report-args`;
522
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
523
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
524
+ let baseOptions;
525
+ if (configuration) {
526
+ baseOptions = configuration.baseOptions;
527
+ }
528
+
529
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
530
+ const localVarHeaderParameter = {} as any;
531
+ const localVarQueryParameter = {} as any;
532
+
533
+ // authentication apiKeyAuth required
534
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
535
+
536
+ // authentication bearerAuth required
537
+ // http bearer authentication required
538
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
539
+
540
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
541
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
542
+ }
543
+
544
+
545
+
502
546
  setSearchParams(localVarUrlObj, localVarQueryParameter);
503
547
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
504
548
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -1113,6 +1157,17 @@ export const EventsApiFp = function(configuration?: Configuration) {
1113
1157
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPriorities(vbasoftwareDatabase, options);
1114
1158
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1115
1159
  },
1160
+ /**
1161
+ * List Report Args
1162
+ * @summary List Report Args
1163
+ * @param {string} vbasoftwareDatabase Target database
1164
+ * @param {*} [options] Override http request option.
1165
+ * @throws {RequiredError}
1166
+ */
1167
+ async listReportArgs(vbasoftwareDatabase: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringStaticOptionListVBAResponse>> {
1168
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listReportArgs(vbasoftwareDatabase, options);
1169
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1170
+ },
1116
1171
  /**
1117
1172
  * List Schedule Actions
1118
1173
  * @summary List Schedule Actions
@@ -1347,6 +1402,16 @@ export const EventsApiFactory = function (configuration?: Configuration, basePat
1347
1402
  listPriorities(vbasoftwareDatabase: string, options?: any): AxiosPromise<StringStaticOptionListVBAResponse> {
1348
1403
  return localVarFp.listPriorities(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
1349
1404
  },
1405
+ /**
1406
+ * List Report Args
1407
+ * @summary List Report Args
1408
+ * @param {string} vbasoftwareDatabase Target database
1409
+ * @param {*} [options] Override http request option.
1410
+ * @throws {RequiredError}
1411
+ */
1412
+ listReportArgs(vbasoftwareDatabase: string, options?: any): AxiosPromise<StringStaticOptionListVBAResponse> {
1413
+ return localVarFp.listReportArgs(vbasoftwareDatabase, options).then((request) => request(axios, basePath));
1414
+ },
1350
1415
  /**
1351
1416
  * List Schedule Actions
1352
1417
  * @summary List Schedule Actions
@@ -1570,6 +1635,16 @@ export interface EventsApiInterface {
1570
1635
  */
1571
1636
  listPriorities(vbasoftwareDatabase: string, options?: AxiosRequestConfig): AxiosPromise<StringStaticOptionListVBAResponse>;
1572
1637
 
1638
+ /**
1639
+ * List Report Args
1640
+ * @summary List Report Args
1641
+ * @param {string} vbasoftwareDatabase Target database
1642
+ * @param {*} [options] Override http request option.
1643
+ * @throws {RequiredError}
1644
+ * @memberof EventsApiInterface
1645
+ */
1646
+ listReportArgs(vbasoftwareDatabase: string, options?: AxiosRequestConfig): AxiosPromise<StringStaticOptionListVBAResponse>;
1647
+
1573
1648
  /**
1574
1649
  * List Schedule Actions
1575
1650
  * @summary List Schedule Actions
@@ -1813,6 +1888,18 @@ export class EventsApi extends BaseAPI implements EventsApiInterface {
1813
1888
  return EventsApiFp(this.configuration).listPriorities(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
1814
1889
  }
1815
1890
 
1891
+ /**
1892
+ * List Report Args
1893
+ * @summary List Report Args
1894
+ * @param {string} vbasoftwareDatabase Target database
1895
+ * @param {*} [options] Override http request option.
1896
+ * @throws {RequiredError}
1897
+ * @memberof EventsApi
1898
+ */
1899
+ public listReportArgs(vbasoftwareDatabase: string, options?: AxiosRequestConfig) {
1900
+ return EventsApiFp(this.configuration).listReportArgs(vbasoftwareDatabase, options).then((request) => request(this.axios, this.basePath));
1901
+ }
1902
+
1816
1903
  /**
1817
1904
  * List Schedule Actions
1818
1905
  * @summary List Schedule Actions