@takaro/apiclient 0.0.0-dev.8a7d47e → 0.0.0-dev.8abe2d5

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@takaro/apiclient",
3
3
  "description": "API client for Takaro",
4
- "version": "0.0.0-dev.8a7d47e",
4
+ "version": "0.0.0-dev.8abe2d5",
5
5
  "author": "",
6
6
  "dependencies": {
7
7
  "axios": "1.7.7"
@@ -7444,6 +7444,32 @@ export interface LoginOutputDTOAPI {
7444
7444
  */
7445
7445
  meta: MetadataOutput;
7446
7446
  }
7447
+ /**
7448
+ *
7449
+ * @export
7450
+ * @interface LoginQueryParams
7451
+ */
7452
+ export interface LoginQueryParams {
7453
+ /**
7454
+ *
7455
+ * @type {string}
7456
+ * @memberof LoginQueryParams
7457
+ */
7458
+ redirect?: string;
7459
+ }
7460
+ /**
7461
+ *
7462
+ * @export
7463
+ * @interface LogoutQueryParams
7464
+ */
7465
+ export interface LogoutQueryParams {
7466
+ /**
7467
+ *
7468
+ * @type {string}
7469
+ * @memberof LogoutQueryParams
7470
+ */
7471
+ redirect?: string;
7472
+ }
7447
7473
  /**
7448
7474
  *
7449
7475
  * @export
@@ -8073,6 +8099,98 @@ export interface ModuleInstallParamId {
8073
8099
  */
8074
8100
  gameServerId: string;
8075
8101
  }
8102
+ /**
8103
+ *
8104
+ * @export
8105
+ * @interface ModuleInstallationKpisDTO
8106
+ */
8107
+ export interface ModuleInstallationKpisDTO {
8108
+ /**
8109
+ *
8110
+ * @type {number}
8111
+ * @memberof ModuleInstallationKpisDTO
8112
+ */
8113
+ runs: number;
8114
+ /**
8115
+ *
8116
+ * @type {number}
8117
+ * @memberof ModuleInstallationKpisDTO
8118
+ */
8119
+ failures: number;
8120
+ /**
8121
+ *
8122
+ * @type {number}
8123
+ * @memberof ModuleInstallationKpisDTO
8124
+ */
8125
+ successRate: number;
8126
+ }
8127
+ /**
8128
+ *
8129
+ * @export
8130
+ * @interface ModuleInstallationKpisDTOAPI
8131
+ */
8132
+ export interface ModuleInstallationKpisDTOAPI {
8133
+ /**
8134
+ *
8135
+ * @type {ModuleInstallationKpisDTO}
8136
+ * @memberof ModuleInstallationKpisDTOAPI
8137
+ */
8138
+ data: ModuleInstallationKpisDTO;
8139
+ /**
8140
+ *
8141
+ * @type {MetadataOutput}
8142
+ * @memberof ModuleInstallationKpisDTOAPI
8143
+ */
8144
+ meta: MetadataOutput;
8145
+ }
8146
+ /**
8147
+ *
8148
+ * @export
8149
+ * @interface ModuleInstallationKpisQueryDTO
8150
+ */
8151
+ export interface ModuleInstallationKpisQueryDTO {
8152
+ /**
8153
+ *
8154
+ * @type {string}
8155
+ * @memberof ModuleInstallationKpisQueryDTO
8156
+ */
8157
+ startDate?: string;
8158
+ /**
8159
+ *
8160
+ * @type {string}
8161
+ * @memberof ModuleInstallationKpisQueryDTO
8162
+ */
8163
+ endDate?: string;
8164
+ /**
8165
+ *
8166
+ * @type {string}
8167
+ * @memberof ModuleInstallationKpisQueryDTO
8168
+ */
8169
+ gameServerId: string;
8170
+ /**
8171
+ *
8172
+ * @type {string}
8173
+ * @memberof ModuleInstallationKpisQueryDTO
8174
+ */
8175
+ moduleId: string;
8176
+ /**
8177
+ *
8178
+ * @type {string}
8179
+ * @memberof ModuleInstallationKpisQueryDTO
8180
+ */
8181
+ period?: ModuleInstallationKpisQueryDTOPeriodEnum;
8182
+ }
8183
+
8184
+ export const ModuleInstallationKpisQueryDTOPeriodEnum = {
8185
+ _24h: '24h',
8186
+ _7d: '7d',
8187
+ _30d: '30d',
8188
+ _90d: '90d',
8189
+ } as const;
8190
+
8191
+ export type ModuleInstallationKpisQueryDTOPeriodEnum =
8192
+ (typeof ModuleInstallationKpisQueryDTOPeriodEnum)[keyof typeof ModuleInstallationKpisQueryDTOPeriodEnum];
8193
+
8076
8194
  /**
8077
8195
  *
8078
8196
  * @export
@@ -18236,6 +18354,72 @@ export const AnalyticsApiAxiosParamCreator = function (configuration?: Configura
18236
18354
  options: localVarRequestOptions,
18237
18355
  };
18238
18356
  },
18357
+ /**
18358
+ * Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
18359
+ * @summary Get per-installation module KPIs
18360
+ * @param {string} gameServerId
18361
+ * @param {string} moduleId
18362
+ * @param {string} [startDate]
18363
+ * @param {string} [endDate]
18364
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
18365
+ * @param {*} [options] Override http request option.
18366
+ * @throws {RequiredError}
18367
+ */
18368
+ analyticsControllerGetModuleInstallationKpis: async (
18369
+ gameServerId: string,
18370
+ moduleId: string,
18371
+ startDate?: string,
18372
+ endDate?: string,
18373
+ period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
18374
+ options: RawAxiosRequestConfig = {},
18375
+ ): Promise<RequestArgs> => {
18376
+ // verify required parameter 'gameServerId' is not null or undefined
18377
+ assertParamExists('analyticsControllerGetModuleInstallationKpis', 'gameServerId', gameServerId);
18378
+ // verify required parameter 'moduleId' is not null or undefined
18379
+ assertParamExists('analyticsControllerGetModuleInstallationKpis', 'moduleId', moduleId);
18380
+ const localVarPath = `/analytics/modules/installation-kpis`;
18381
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
18382
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
18383
+ let baseOptions;
18384
+ if (configuration) {
18385
+ baseOptions = configuration.baseOptions;
18386
+ }
18387
+
18388
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
18389
+ const localVarHeaderParameter = {} as any;
18390
+ const localVarQueryParameter = {} as any;
18391
+
18392
+ // authentication domainAuth required
18393
+
18394
+ if (startDate !== undefined) {
18395
+ localVarQueryParameter['startDate'] = startDate;
18396
+ }
18397
+
18398
+ if (endDate !== undefined) {
18399
+ localVarQueryParameter['endDate'] = endDate;
18400
+ }
18401
+
18402
+ if (gameServerId !== undefined) {
18403
+ localVarQueryParameter['gameServerId'] = gameServerId;
18404
+ }
18405
+
18406
+ if (moduleId !== undefined) {
18407
+ localVarQueryParameter['moduleId'] = moduleId;
18408
+ }
18409
+
18410
+ if (period !== undefined) {
18411
+ localVarQueryParameter['period'] = period;
18412
+ }
18413
+
18414
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
18415
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18416
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
18417
+
18418
+ return {
18419
+ url: toPathString(localVarUrlObj),
18420
+ options: localVarRequestOptions,
18421
+ };
18422
+ },
18239
18423
  /**
18240
18424
  * Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
18241
18425
  * @summary Get module item failure aggregate
@@ -19870,6 +20054,45 @@ export const AnalyticsApiFp = function (configuration?: Configuration) {
19870
20054
  configuration,
19871
20055
  )(axios, localVarOperationServerBasePath || basePath);
19872
20056
  },
20057
+ /**
20058
+ * Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
20059
+ * @summary Get per-installation module KPIs
20060
+ * @param {string} gameServerId
20061
+ * @param {string} moduleId
20062
+ * @param {string} [startDate]
20063
+ * @param {string} [endDate]
20064
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
20065
+ * @param {*} [options] Override http request option.
20066
+ * @throws {RequiredError}
20067
+ */
20068
+ async analyticsControllerGetModuleInstallationKpis(
20069
+ gameServerId: string,
20070
+ moduleId: string,
20071
+ startDate?: string,
20072
+ endDate?: string,
20073
+ period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
20074
+ options?: RawAxiosRequestConfig,
20075
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ModuleInstallationKpisDTOAPI>> {
20076
+ const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetModuleInstallationKpis(
20077
+ gameServerId,
20078
+ moduleId,
20079
+ startDate,
20080
+ endDate,
20081
+ period,
20082
+ options,
20083
+ );
20084
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
20085
+ const localVarOperationServerBasePath =
20086
+ operationServerMap['AnalyticsApi.analyticsControllerGetModuleInstallationKpis']?.[localVarOperationServerIndex]
20087
+ ?.url;
20088
+ return (axios, basePath) =>
20089
+ createRequestFunction(
20090
+ localVarAxiosArgs,
20091
+ globalAxios,
20092
+ BASE_PATH,
20093
+ configuration,
20094
+ )(axios, localVarOperationServerBasePath || basePath);
20095
+ },
19873
20096
  /**
19874
20097
  * Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
19875
20098
  * @summary Get module item failure aggregate
@@ -20891,6 +21114,29 @@ export const AnalyticsApiFactory = function (configuration?: Configuration, base
20891
21114
  .analyticsControllerGetModuleHealth(startDate, endDate, gameServerId, period, options)
20892
21115
  .then((request) => request(axios, basePath));
20893
21116
  },
21117
+ /**
21118
+ * Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
21119
+ * @summary Get per-installation module KPIs
21120
+ * @param {string} gameServerId
21121
+ * @param {string} moduleId
21122
+ * @param {string} [startDate]
21123
+ * @param {string} [endDate]
21124
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
21125
+ * @param {*} [options] Override http request option.
21126
+ * @throws {RequiredError}
21127
+ */
21128
+ analyticsControllerGetModuleInstallationKpis(
21129
+ gameServerId: string,
21130
+ moduleId: string,
21131
+ startDate?: string,
21132
+ endDate?: string,
21133
+ period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
21134
+ options?: RawAxiosRequestConfig,
21135
+ ): AxiosPromise<ModuleInstallationKpisDTOAPI> {
21136
+ return localVarFp
21137
+ .analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
21138
+ .then((request) => request(axios, basePath));
21139
+ },
20894
21140
  /**
20895
21141
  * Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
20896
21142
  * @summary Get module item failure aggregate
@@ -21633,6 +21879,31 @@ export class AnalyticsApi extends BaseAPI {
21633
21879
  .then((request) => request(this.axios, this.basePath));
21634
21880
  }
21635
21881
 
21882
+ /**
21883
+ * Runs, failures and success rate for one module on one game server. Both gameServerId and moduleId are required. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleInstallationKpis`
21884
+ * @summary Get per-installation module KPIs
21885
+ * @param {string} gameServerId
21886
+ * @param {string} moduleId
21887
+ * @param {string} [startDate]
21888
+ * @param {string} [endDate]
21889
+ * @param {AnalyticsControllerGetModuleInstallationKpisPeriodEnum} [period]
21890
+ * @param {*} [options] Override http request option.
21891
+ * @throws {RequiredError}
21892
+ * @memberof AnalyticsApi
21893
+ */
21894
+ public analyticsControllerGetModuleInstallationKpis(
21895
+ gameServerId: string,
21896
+ moduleId: string,
21897
+ startDate?: string,
21898
+ endDate?: string,
21899
+ period?: AnalyticsControllerGetModuleInstallationKpisPeriodEnum,
21900
+ options?: RawAxiosRequestConfig,
21901
+ ) {
21902
+ return AnalyticsApiFp(this.configuration)
21903
+ .analyticsControllerGetModuleInstallationKpis(gameServerId, moduleId, startDate, endDate, period, options)
21904
+ .then((request) => request(this.axios, this.basePath));
21905
+ }
21906
+
21636
21907
  /**
21637
21908
  * Unified failure leaderboard across all module-item types (hooks, crons, commands, shop actions). Each row carries a `type` discriminator alongside runs, failures, and failure rate. Required permissions: `READ_EVENTS`<br> OperationId: `AnalyticsControllerGetModuleItemFailureLeaderboard`
21638
21909
  * @summary Get module item failure aggregate
@@ -22252,6 +22523,17 @@ export type AnalyticsControllerGetModuleHealthPeriodEnum =
22252
22523
  /**
22253
22524
  * @export
22254
22525
  */
22526
+ export const AnalyticsControllerGetModuleInstallationKpisPeriodEnum = {
22527
+ _24h: '24h',
22528
+ _7d: '7d',
22529
+ _30d: '30d',
22530
+ _90d: '90d',
22531
+ } as const;
22532
+ export type AnalyticsControllerGetModuleInstallationKpisPeriodEnum =
22533
+ (typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum)[keyof typeof AnalyticsControllerGetModuleInstallationKpisPeriodEnum];
22534
+ /**
22535
+ * @export
22536
+ */
22255
22537
  export const AnalyticsControllerGetModuleItemFailureLeaderboardPeriodEnum = {
22256
22538
  _24h: '24h',
22257
22539
  _7d: '7d',
@@ -22481,6 +22763,345 @@ export const AnalyticsControllerGetTopServersPeriodEnum = {
22481
22763
  export type AnalyticsControllerGetTopServersPeriodEnum =
22482
22764
  (typeof AnalyticsControllerGetTopServersPeriodEnum)[keyof typeof AnalyticsControllerGetTopServersPeriodEnum];
22483
22765
 
22766
+ /**
22767
+ * AuthApi - axios parameter creator
22768
+ * @export
22769
+ */
22770
+ export const AuthApiAxiosParamCreator = function (configuration?: Configuration) {
22771
+ return {
22772
+ /**
22773
+ * <br> OperationId: `AuthControllerAccount`
22774
+ * @summary Account
22775
+ * @param {*} [options] Override http request option.
22776
+ * @throws {RequiredError}
22777
+ */
22778
+ authControllerAccount: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22779
+ const localVarPath = `/auth/account`;
22780
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22781
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22782
+ let baseOptions;
22783
+ if (configuration) {
22784
+ baseOptions = configuration.baseOptions;
22785
+ }
22786
+
22787
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
22788
+ const localVarHeaderParameter = {} as any;
22789
+ const localVarQueryParameter = {} as any;
22790
+
22791
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22792
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22793
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22794
+
22795
+ return {
22796
+ url: toPathString(localVarUrlObj),
22797
+ options: localVarRequestOptions,
22798
+ };
22799
+ },
22800
+ /**
22801
+ * <br> OperationId: `AuthControllerCallback`
22802
+ * @summary Callback
22803
+ * @param {*} [options] Override http request option.
22804
+ * @throws {RequiredError}
22805
+ */
22806
+ authControllerCallback: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22807
+ const localVarPath = `/auth/callback`;
22808
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22809
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22810
+ let baseOptions;
22811
+ if (configuration) {
22812
+ baseOptions = configuration.baseOptions;
22813
+ }
22814
+
22815
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
22816
+ const localVarHeaderParameter = {} as any;
22817
+ const localVarQueryParameter = {} as any;
22818
+
22819
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22820
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22821
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22822
+
22823
+ return {
22824
+ url: toPathString(localVarUrlObj),
22825
+ options: localVarRequestOptions,
22826
+ };
22827
+ },
22828
+ /**
22829
+ * <br> OperationId: `AuthControllerLogin`
22830
+ * @summary Login
22831
+ * @param {string} [redirect]
22832
+ * @param {*} [options] Override http request option.
22833
+ * @throws {RequiredError}
22834
+ */
22835
+ authControllerLogin: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22836
+ const localVarPath = `/auth/login`;
22837
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22838
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22839
+ let baseOptions;
22840
+ if (configuration) {
22841
+ baseOptions = configuration.baseOptions;
22842
+ }
22843
+
22844
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
22845
+ const localVarHeaderParameter = {} as any;
22846
+ const localVarQueryParameter = {} as any;
22847
+
22848
+ if (redirect !== undefined) {
22849
+ localVarQueryParameter['redirect'] = redirect;
22850
+ }
22851
+
22852
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22853
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22854
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22855
+
22856
+ return {
22857
+ url: toPathString(localVarUrlObj),
22858
+ options: localVarRequestOptions,
22859
+ };
22860
+ },
22861
+ /**
22862
+ * <br> OperationId: `AuthControllerLogout`
22863
+ * @summary Logout
22864
+ * @param {string} [redirect]
22865
+ * @param {*} [options] Override http request option.
22866
+ * @throws {RequiredError}
22867
+ */
22868
+ authControllerLogout: async (redirect?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
22869
+ const localVarPath = `/auth/logout`;
22870
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
22871
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
22872
+ let baseOptions;
22873
+ if (configuration) {
22874
+ baseOptions = configuration.baseOptions;
22875
+ }
22876
+
22877
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
22878
+ const localVarHeaderParameter = {} as any;
22879
+ const localVarQueryParameter = {} as any;
22880
+
22881
+ if (redirect !== undefined) {
22882
+ localVarQueryParameter['redirect'] = redirect;
22883
+ }
22884
+
22885
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
22886
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
22887
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
22888
+
22889
+ return {
22890
+ url: toPathString(localVarUrlObj),
22891
+ options: localVarRequestOptions,
22892
+ };
22893
+ },
22894
+ };
22895
+ };
22896
+
22897
+ /**
22898
+ * AuthApi - functional programming interface
22899
+ * @export
22900
+ */
22901
+ export const AuthApiFp = function (configuration?: Configuration) {
22902
+ const localVarAxiosParamCreator = AuthApiAxiosParamCreator(configuration);
22903
+ return {
22904
+ /**
22905
+ * <br> OperationId: `AuthControllerAccount`
22906
+ * @summary Account
22907
+ * @param {*} [options] Override http request option.
22908
+ * @throws {RequiredError}
22909
+ */
22910
+ async authControllerAccount(
22911
+ options?: RawAxiosRequestConfig,
22912
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22913
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerAccount(options);
22914
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22915
+ const localVarOperationServerBasePath =
22916
+ operationServerMap['AuthApi.authControllerAccount']?.[localVarOperationServerIndex]?.url;
22917
+ return (axios, basePath) =>
22918
+ createRequestFunction(
22919
+ localVarAxiosArgs,
22920
+ globalAxios,
22921
+ BASE_PATH,
22922
+ configuration,
22923
+ )(axios, localVarOperationServerBasePath || basePath);
22924
+ },
22925
+ /**
22926
+ * <br> OperationId: `AuthControllerCallback`
22927
+ * @summary Callback
22928
+ * @param {*} [options] Override http request option.
22929
+ * @throws {RequiredError}
22930
+ */
22931
+ async authControllerCallback(
22932
+ options?: RawAxiosRequestConfig,
22933
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22934
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerCallback(options);
22935
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22936
+ const localVarOperationServerBasePath =
22937
+ operationServerMap['AuthApi.authControllerCallback']?.[localVarOperationServerIndex]?.url;
22938
+ return (axios, basePath) =>
22939
+ createRequestFunction(
22940
+ localVarAxiosArgs,
22941
+ globalAxios,
22942
+ BASE_PATH,
22943
+ configuration,
22944
+ )(axios, localVarOperationServerBasePath || basePath);
22945
+ },
22946
+ /**
22947
+ * <br> OperationId: `AuthControllerLogin`
22948
+ * @summary Login
22949
+ * @param {string} [redirect]
22950
+ * @param {*} [options] Override http request option.
22951
+ * @throws {RequiredError}
22952
+ */
22953
+ async authControllerLogin(
22954
+ redirect?: string,
22955
+ options?: RawAxiosRequestConfig,
22956
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22957
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogin(redirect, options);
22958
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22959
+ const localVarOperationServerBasePath =
22960
+ operationServerMap['AuthApi.authControllerLogin']?.[localVarOperationServerIndex]?.url;
22961
+ return (axios, basePath) =>
22962
+ createRequestFunction(
22963
+ localVarAxiosArgs,
22964
+ globalAxios,
22965
+ BASE_PATH,
22966
+ configuration,
22967
+ )(axios, localVarOperationServerBasePath || basePath);
22968
+ },
22969
+ /**
22970
+ * <br> OperationId: `AuthControllerLogout`
22971
+ * @summary Logout
22972
+ * @param {string} [redirect]
22973
+ * @param {*} [options] Override http request option.
22974
+ * @throws {RequiredError}
22975
+ */
22976
+ async authControllerLogout(
22977
+ redirect?: string,
22978
+ options?: RawAxiosRequestConfig,
22979
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
22980
+ const localVarAxiosArgs = await localVarAxiosParamCreator.authControllerLogout(redirect, options);
22981
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
22982
+ const localVarOperationServerBasePath =
22983
+ operationServerMap['AuthApi.authControllerLogout']?.[localVarOperationServerIndex]?.url;
22984
+ return (axios, basePath) =>
22985
+ createRequestFunction(
22986
+ localVarAxiosArgs,
22987
+ globalAxios,
22988
+ BASE_PATH,
22989
+ configuration,
22990
+ )(axios, localVarOperationServerBasePath || basePath);
22991
+ },
22992
+ };
22993
+ };
22994
+
22995
+ /**
22996
+ * AuthApi - factory interface
22997
+ * @export
22998
+ */
22999
+ export const AuthApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
23000
+ const localVarFp = AuthApiFp(configuration);
23001
+ return {
23002
+ /**
23003
+ * <br> OperationId: `AuthControllerAccount`
23004
+ * @summary Account
23005
+ * @param {*} [options] Override http request option.
23006
+ * @throws {RequiredError}
23007
+ */
23008
+ authControllerAccount(options?: RawAxiosRequestConfig): AxiosPromise<void> {
23009
+ return localVarFp.authControllerAccount(options).then((request) => request(axios, basePath));
23010
+ },
23011
+ /**
23012
+ * <br> OperationId: `AuthControllerCallback`
23013
+ * @summary Callback
23014
+ * @param {*} [options] Override http request option.
23015
+ * @throws {RequiredError}
23016
+ */
23017
+ authControllerCallback(options?: RawAxiosRequestConfig): AxiosPromise<void> {
23018
+ return localVarFp.authControllerCallback(options).then((request) => request(axios, basePath));
23019
+ },
23020
+ /**
23021
+ * <br> OperationId: `AuthControllerLogin`
23022
+ * @summary Login
23023
+ * @param {string} [redirect]
23024
+ * @param {*} [options] Override http request option.
23025
+ * @throws {RequiredError}
23026
+ */
23027
+ authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23028
+ return localVarFp.authControllerLogin(redirect, options).then((request) => request(axios, basePath));
23029
+ },
23030
+ /**
23031
+ * <br> OperationId: `AuthControllerLogout`
23032
+ * @summary Logout
23033
+ * @param {string} [redirect]
23034
+ * @param {*} [options] Override http request option.
23035
+ * @throws {RequiredError}
23036
+ */
23037
+ authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
23038
+ return localVarFp.authControllerLogout(redirect, options).then((request) => request(axios, basePath));
23039
+ },
23040
+ };
23041
+ };
23042
+
23043
+ /**
23044
+ * AuthApi - object-oriented interface
23045
+ * @export
23046
+ * @class AuthApi
23047
+ * @extends {BaseAPI}
23048
+ */
23049
+ export class AuthApi extends BaseAPI {
23050
+ /**
23051
+ * <br> OperationId: `AuthControllerAccount`
23052
+ * @summary Account
23053
+ * @param {*} [options] Override http request option.
23054
+ * @throws {RequiredError}
23055
+ * @memberof AuthApi
23056
+ */
23057
+ public authControllerAccount(options?: RawAxiosRequestConfig) {
23058
+ return AuthApiFp(this.configuration)
23059
+ .authControllerAccount(options)
23060
+ .then((request) => request(this.axios, this.basePath));
23061
+ }
23062
+
23063
+ /**
23064
+ * <br> OperationId: `AuthControllerCallback`
23065
+ * @summary Callback
23066
+ * @param {*} [options] Override http request option.
23067
+ * @throws {RequiredError}
23068
+ * @memberof AuthApi
23069
+ */
23070
+ public authControllerCallback(options?: RawAxiosRequestConfig) {
23071
+ return AuthApiFp(this.configuration)
23072
+ .authControllerCallback(options)
23073
+ .then((request) => request(this.axios, this.basePath));
23074
+ }
23075
+
23076
+ /**
23077
+ * <br> OperationId: `AuthControllerLogin`
23078
+ * @summary Login
23079
+ * @param {string} [redirect]
23080
+ * @param {*} [options] Override http request option.
23081
+ * @throws {RequiredError}
23082
+ * @memberof AuthApi
23083
+ */
23084
+ public authControllerLogin(redirect?: string, options?: RawAxiosRequestConfig) {
23085
+ return AuthApiFp(this.configuration)
23086
+ .authControllerLogin(redirect, options)
23087
+ .then((request) => request(this.axios, this.basePath));
23088
+ }
23089
+
23090
+ /**
23091
+ * <br> OperationId: `AuthControllerLogout`
23092
+ * @summary Logout
23093
+ * @param {string} [redirect]
23094
+ * @param {*} [options] Override http request option.
23095
+ * @throws {RequiredError}
23096
+ * @memberof AuthApi
23097
+ */
23098
+ public authControllerLogout(redirect?: string, options?: RawAxiosRequestConfig) {
23099
+ return AuthApiFp(this.configuration)
23100
+ .authControllerLogout(redirect, options)
23101
+ .then((request) => request(this.axios, this.basePath));
23102
+ }
23103
+ }
23104
+
22484
23105
  /**
22485
23106
  * CommandApi - axios parameter creator
22486
23107
  * @export