@vbasoftware/vbapi-vbasoftware-typescript-axios 1.20230710.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.
@@ -28,6 +28,8 @@ import { ReportSeries } from '../models';
28
28
  import { ReportSeriesListVBAResponse } from '../models';
29
29
  // @ts-ignore
30
30
  import { ReportSeriesVBAResponse } from '../models';
31
+ // @ts-ignore
32
+ import { StringStaticOptionListVBAResponse } from '../models';
31
33
  /**
32
34
  * ReportSeriesApi - axios parameter creator
33
35
  * @export
@@ -230,6 +232,60 @@ export const ReportSeriesApiAxiosParamCreator = function (configuration?: Config
230
232
 
231
233
 
232
234
 
235
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
236
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
237
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
238
+
239
+ return {
240
+ url: toPathString(localVarUrlObj),
241
+ options: localVarRequestOptions,
242
+ };
243
+ },
244
+ /**
245
+ * Lists all ReportSeries
246
+ * @summary List ReportSeries Users
247
+ * @param {string} vbasoftwareDatabase Target database
248
+ * @param {number} [page] Page
249
+ * @param {number} [pageSize] Page Size
250
+ * @param {*} [options] Override http request option.
251
+ * @throws {RequiredError}
252
+ */
253
+ listReportSeriesUsers: async (vbasoftwareDatabase: string, page?: number, pageSize?: number, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
254
+ // verify required parameter 'vbasoftwareDatabase' is not null or undefined
255
+ assertParamExists('listReportSeriesUsers', 'vbasoftwareDatabase', vbasoftwareDatabase)
256
+ const localVarPath = `/report-series-users`;
257
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
258
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
259
+ let baseOptions;
260
+ if (configuration) {
261
+ baseOptions = configuration.baseOptions;
262
+ }
263
+
264
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
265
+ const localVarHeaderParameter = {} as any;
266
+ const localVarQueryParameter = {} as any;
267
+
268
+ // authentication apiKeyAuth required
269
+ await setApiKeyToObject(localVarHeaderParameter, "x-api-key", configuration)
270
+
271
+ // authentication bearerAuth required
272
+ // http bearer authentication required
273
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
274
+
275
+ if (page !== undefined) {
276
+ localVarQueryParameter['page'] = page;
277
+ }
278
+
279
+ if (pageSize !== undefined) {
280
+ localVarQueryParameter['pageSize'] = pageSize;
281
+ }
282
+
283
+ if (vbasoftwareDatabase !== undefined && vbasoftwareDatabase !== null) {
284
+ localVarHeaderParameter['vbasoftware-database'] = String(vbasoftwareDatabase);
285
+ }
286
+
287
+
288
+
233
289
  setSearchParams(localVarUrlObj, localVarQueryParameter);
234
290
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
235
291
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -403,6 +459,19 @@ export const ReportSeriesApiFp = function(configuration?: Configuration) {
403
459
  const localVarAxiosArgs = await localVarAxiosParamCreator.listReportSeries(vbasoftwareDatabase, seriesType, page, pageSize, options);
404
460
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
405
461
  },
462
+ /**
463
+ * Lists all ReportSeries
464
+ * @summary List ReportSeries Users
465
+ * @param {string} vbasoftwareDatabase Target database
466
+ * @param {number} [page] Page
467
+ * @param {number} [pageSize] Page Size
468
+ * @param {*} [options] Override http request option.
469
+ * @throws {RequiredError}
470
+ */
471
+ async listReportSeriesUsers(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StringStaticOptionListVBAResponse>> {
472
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listReportSeriesUsers(vbasoftwareDatabase, page, pageSize, options);
473
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
474
+ },
406
475
  /**
407
476
  * Create or Update multiple ReportSeries at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
408
477
  * @summary Create or Update Batch ReportSeries
@@ -484,6 +553,18 @@ export const ReportSeriesApiFactory = function (configuration?: Configuration, b
484
553
  listReportSeries(vbasoftwareDatabase: string, seriesType?: string, page?: number, pageSize?: number, options?: any): AxiosPromise<ReportSeriesListVBAResponse> {
485
554
  return localVarFp.listReportSeries(vbasoftwareDatabase, seriesType, page, pageSize, options).then((request) => request(axios, basePath));
486
555
  },
556
+ /**
557
+ * Lists all ReportSeries
558
+ * @summary List ReportSeries Users
559
+ * @param {string} vbasoftwareDatabase Target database
560
+ * @param {number} [page] Page
561
+ * @param {number} [pageSize] Page Size
562
+ * @param {*} [options] Override http request option.
563
+ * @throws {RequiredError}
564
+ */
565
+ listReportSeriesUsers(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: any): AxiosPromise<StringStaticOptionListVBAResponse> {
566
+ return localVarFp.listReportSeriesUsers(vbasoftwareDatabase, page, pageSize, options).then((request) => request(axios, basePath));
567
+ },
487
568
  /**
488
569
  * Create or Update multiple ReportSeries at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
489
570
  * @summary Create or Update Batch ReportSeries
@@ -562,6 +643,18 @@ export interface ReportSeriesApiInterface {
562
643
  */
563
644
  listReportSeries(vbasoftwareDatabase: string, seriesType?: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<ReportSeriesListVBAResponse>;
564
645
 
646
+ /**
647
+ * Lists all ReportSeries
648
+ * @summary List ReportSeries Users
649
+ * @param {string} vbasoftwareDatabase Target database
650
+ * @param {number} [page] Page
651
+ * @param {number} [pageSize] Page Size
652
+ * @param {*} [options] Override http request option.
653
+ * @throws {RequiredError}
654
+ * @memberof ReportSeriesApiInterface
655
+ */
656
+ listReportSeriesUsers(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: AxiosRequestConfig): AxiosPromise<StringStaticOptionListVBAResponse>;
657
+
565
658
  /**
566
659
  * Create or Update multiple ReportSeries at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
567
660
  * @summary Create or Update Batch ReportSeries
@@ -648,6 +741,20 @@ export class ReportSeriesApi extends BaseAPI implements ReportSeriesApiInterface
648
741
  return ReportSeriesApiFp(this.configuration).listReportSeries(vbasoftwareDatabase, seriesType, page, pageSize, options).then((request) => request(this.axios, this.basePath));
649
742
  }
650
743
 
744
+ /**
745
+ * Lists all ReportSeries
746
+ * @summary List ReportSeries Users
747
+ * @param {string} vbasoftwareDatabase Target database
748
+ * @param {number} [page] Page
749
+ * @param {number} [pageSize] Page Size
750
+ * @param {*} [options] Override http request option.
751
+ * @throws {RequiredError}
752
+ * @memberof ReportSeriesApi
753
+ */
754
+ public listReportSeriesUsers(vbasoftwareDatabase: string, page?: number, pageSize?: number, options?: AxiosRequestConfig) {
755
+ return ReportSeriesApiFp(this.configuration).listReportSeriesUsers(vbasoftwareDatabase, page, pageSize, options).then((request) => request(this.axios, this.basePath));
756
+ }
757
+
651
758
  /**
652
759
  * Create or Update multiple ReportSeries at once. If the entity exists, it will be updated. If the entity does not exist, it will be created.
653
760
  * @summary Create or Update Batch ReportSeries