@takaro/apiclient 0.0.0-dev.778a94d → 0.0.0-dev.789f690
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/dist/generated/api.d.ts +312 -278
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +594 -603
- package/dist/generated/api.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/api.ts +907 -1178
package/dist/generated/api.js
CHANGED
|
@@ -916,9 +916,9 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
916
916
|
*/
|
|
917
917
|
async analyticsControllerGetShopAnalytics(gameServerIds, period, options) {
|
|
918
918
|
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetShopAnalytics(gameServerIds, period, options);
|
|
919
|
-
const
|
|
920
|
-
const
|
|
921
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
919
|
+
const index = configuration?.serverIndex ?? 0;
|
|
920
|
+
const operationBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetShopAnalytics']?.[index]?.url;
|
|
921
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
922
922
|
},
|
|
923
923
|
};
|
|
924
924
|
};
|
|
@@ -1307,9 +1307,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1307
1307
|
*/
|
|
1308
1308
|
async commandControllerCreate(commandCreateDTO, options) {
|
|
1309
1309
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreate(commandCreateDTO, options);
|
|
1310
|
-
const
|
|
1311
|
-
const
|
|
1312
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1310
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1311
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerCreate']?.[index]?.url;
|
|
1312
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1313
1313
|
},
|
|
1314
1314
|
/**
|
|
1315
1315
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
|
|
@@ -1320,9 +1320,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1320
1320
|
*/
|
|
1321
1321
|
async commandControllerCreateArgument(commandArgumentCreateDTO, options) {
|
|
1322
1322
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreateArgument(commandArgumentCreateDTO, options);
|
|
1323
|
-
const
|
|
1324
|
-
const
|
|
1325
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1323
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1324
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerCreateArgument']?.[index]?.url;
|
|
1325
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1326
1326
|
},
|
|
1327
1327
|
/**
|
|
1328
1328
|
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
|
|
@@ -1335,9 +1335,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1335
1335
|
*/
|
|
1336
1336
|
async commandControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
1337
1337
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
1338
|
-
const
|
|
1339
|
-
const
|
|
1340
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1338
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1339
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerGetExecutions']?.[index]?.url;
|
|
1340
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1341
1341
|
},
|
|
1342
1342
|
/**
|
|
1343
1343
|
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
|
|
@@ -1348,9 +1348,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1348
1348
|
*/
|
|
1349
1349
|
async commandControllerGetOne(id, options) {
|
|
1350
1350
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetOne(id, options);
|
|
1351
|
-
const
|
|
1352
|
-
const
|
|
1353
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1351
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1352
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerGetOne']?.[index]?.url;
|
|
1353
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1354
1354
|
},
|
|
1355
1355
|
/**
|
|
1356
1356
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
|
|
@@ -1361,9 +1361,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1361
1361
|
*/
|
|
1362
1362
|
async commandControllerRemove(id, options) {
|
|
1363
1363
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemove(id, options);
|
|
1364
|
-
const
|
|
1365
|
-
const
|
|
1366
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1364
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1365
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerRemove']?.[index]?.url;
|
|
1366
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1367
1367
|
},
|
|
1368
1368
|
/**
|
|
1369
1369
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
|
|
@@ -1374,9 +1374,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1374
1374
|
*/
|
|
1375
1375
|
async commandControllerRemoveArgument(id, options) {
|
|
1376
1376
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemoveArgument(id, options);
|
|
1377
|
-
const
|
|
1378
|
-
const
|
|
1379
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1377
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1378
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerRemoveArgument']?.[index]?.url;
|
|
1379
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1380
1380
|
},
|
|
1381
1381
|
/**
|
|
1382
1382
|
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
@@ -1387,9 +1387,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1387
1387
|
*/
|
|
1388
1388
|
async commandControllerSearch(commandSearchInputDTO, options) {
|
|
1389
1389
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerSearch(commandSearchInputDTO, options);
|
|
1390
|
-
const
|
|
1391
|
-
const
|
|
1392
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1390
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1391
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerSearch']?.[index]?.url;
|
|
1392
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1393
1393
|
},
|
|
1394
1394
|
/**
|
|
1395
1395
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
|
|
@@ -1401,9 +1401,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1401
1401
|
*/
|
|
1402
1402
|
async commandControllerTrigger(id, commandTriggerDTO, options) {
|
|
1403
1403
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerTrigger(id, commandTriggerDTO, options);
|
|
1404
|
-
const
|
|
1405
|
-
const
|
|
1406
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1404
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1405
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerTrigger']?.[index]?.url;
|
|
1406
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1407
1407
|
},
|
|
1408
1408
|
/**
|
|
1409
1409
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
|
|
@@ -1415,9 +1415,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1415
1415
|
*/
|
|
1416
1416
|
async commandControllerUpdate(id, commandUpdateDTO, options) {
|
|
1417
1417
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerUpdate(id, commandUpdateDTO, options);
|
|
1418
|
-
const
|
|
1419
|
-
const
|
|
1420
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1418
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1419
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerUpdate']?.[index]?.url;
|
|
1420
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1421
1421
|
},
|
|
1422
1422
|
/**
|
|
1423
1423
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdateArgument`
|
|
@@ -1429,9 +1429,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1429
1429
|
*/
|
|
1430
1430
|
async commandControllerUpdateArgument(id, commandArgumentUpdateDTO, options) {
|
|
1431
1431
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerUpdateArgument(id, commandArgumentUpdateDTO, options);
|
|
1432
|
-
const
|
|
1433
|
-
const
|
|
1434
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1432
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1433
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerUpdateArgument']?.[index]?.url;
|
|
1434
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1435
1435
|
},
|
|
1436
1436
|
};
|
|
1437
1437
|
};
|
|
@@ -1943,9 +1943,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1943
1943
|
*/
|
|
1944
1944
|
async cronJobControllerCreate(cronJobCreateDTO, options) {
|
|
1945
1945
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerCreate(cronJobCreateDTO, options);
|
|
1946
|
-
const
|
|
1947
|
-
const
|
|
1948
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1946
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1947
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerCreate']?.[index]?.url;
|
|
1948
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1949
1949
|
},
|
|
1950
1950
|
/**
|
|
1951
1951
|
* Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetExecutions`
|
|
@@ -1958,9 +1958,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1958
1958
|
*/
|
|
1959
1959
|
async cronJobControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
1960
1960
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
1961
|
-
const
|
|
1962
|
-
const
|
|
1963
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1961
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1962
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerGetExecutions']?.[index]?.url;
|
|
1963
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1964
1964
|
},
|
|
1965
1965
|
/**
|
|
1966
1966
|
* Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetOne`
|
|
@@ -1971,9 +1971,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1971
1971
|
*/
|
|
1972
1972
|
async cronJobControllerGetOne(id, options) {
|
|
1973
1973
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerGetOne(id, options);
|
|
1974
|
-
const
|
|
1975
|
-
const
|
|
1976
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1974
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1975
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerGetOne']?.[index]?.url;
|
|
1976
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1977
1977
|
},
|
|
1978
1978
|
/**
|
|
1979
1979
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerRemove`
|
|
@@ -1984,9 +1984,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1984
1984
|
*/
|
|
1985
1985
|
async cronJobControllerRemove(id, options) {
|
|
1986
1986
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerRemove(id, options);
|
|
1987
|
-
const
|
|
1988
|
-
const
|
|
1989
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1987
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1988
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerRemove']?.[index]?.url;
|
|
1989
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1990
1990
|
},
|
|
1991
1991
|
/**
|
|
1992
1992
|
* Search cronjobs Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
@@ -1997,9 +1997,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1997
1997
|
*/
|
|
1998
1998
|
async cronJobControllerSearch(cronJobSearchInputDTO, options) {
|
|
1999
1999
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerSearch(cronJobSearchInputDTO, options);
|
|
2000
|
-
const
|
|
2001
|
-
const
|
|
2002
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2000
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2001
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerSearch']?.[index]?.url;
|
|
2002
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2003
2003
|
},
|
|
2004
2004
|
/**
|
|
2005
2005
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerTrigger`
|
|
@@ -2010,9 +2010,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
2010
2010
|
*/
|
|
2011
2011
|
async cronJobControllerTrigger(cronJobTriggerDTO, options) {
|
|
2012
2012
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerTrigger(cronJobTriggerDTO, options);
|
|
2013
|
-
const
|
|
2014
|
-
const
|
|
2015
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2013
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2014
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerTrigger']?.[index]?.url;
|
|
2015
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2016
2016
|
},
|
|
2017
2017
|
/**
|
|
2018
2018
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerUpdate`
|
|
@@ -2024,9 +2024,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
2024
2024
|
*/
|
|
2025
2025
|
async cronJobControllerUpdate(id, cronJobUpdateDTO, options) {
|
|
2026
2026
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerUpdate(id, cronJobUpdateDTO, options);
|
|
2027
|
-
const
|
|
2028
|
-
const
|
|
2029
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2027
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2028
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerUpdate']?.[index]?.url;
|
|
2029
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2030
2030
|
},
|
|
2031
2031
|
};
|
|
2032
2032
|
};
|
|
@@ -2487,9 +2487,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2487
2487
|
*/
|
|
2488
2488
|
async discordControllerDeleteMessage(channelId, messageId, options) {
|
|
2489
2489
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerDeleteMessage(channelId, messageId, options);
|
|
2490
|
-
const
|
|
2491
|
-
const
|
|
2492
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2490
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2491
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerDeleteMessage']?.[index]?.url;
|
|
2492
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2493
2493
|
},
|
|
2494
2494
|
/**
|
|
2495
2495
|
* Retrieve all channels (text, voice, etc.) in a specific Discord guild. Useful for selecting channels for notifications or commands. Required permissions: `VIEW_DISCORD_INFO`<br> OperationId: `DiscordControllerGetChannels`
|
|
@@ -2500,9 +2500,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2500
2500
|
*/
|
|
2501
2501
|
async discordControllerGetChannels(id, options) {
|
|
2502
2502
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerGetChannels(id, options);
|
|
2503
|
-
const
|
|
2504
|
-
const
|
|
2505
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2503
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2504
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerGetChannels']?.[index]?.url;
|
|
2505
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2506
2506
|
},
|
|
2507
2507
|
/**
|
|
2508
2508
|
* Get the invite link to add the Takaro bot to a Discord server, along with the developer Discord server link.<br> OperationId: `DiscordControllerGetInvite`
|
|
@@ -2512,9 +2512,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2512
2512
|
*/
|
|
2513
2513
|
async discordControllerGetInvite(options) {
|
|
2514
2514
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerGetInvite(options);
|
|
2515
|
-
const
|
|
2516
|
-
const
|
|
2517
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2515
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2516
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerGetInvite']?.[index]?.url;
|
|
2517
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2518
2518
|
},
|
|
2519
2519
|
/**
|
|
2520
2520
|
* Retrieve all roles available in a specific Discord guild. Useful for role-based integrations and permissions mapping. Required permissions: `VIEW_DISCORD_INFO`<br> OperationId: `DiscordControllerGetRoles`
|
|
@@ -2525,9 +2525,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2525
2525
|
*/
|
|
2526
2526
|
async discordControllerGetRoles(id, options) {
|
|
2527
2527
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerGetRoles(id, options);
|
|
2528
|
-
const
|
|
2529
|
-
const
|
|
2530
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2528
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2529
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerGetRoles']?.[index]?.url;
|
|
2530
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2531
2531
|
},
|
|
2532
2532
|
/**
|
|
2533
2533
|
* Search for Discord guilds (servers) that the bot has access to. Supports filtering by name, Discord ID, and whether Takaro is enabled. Required permissions: `VIEW_DISCORD_INFO`<br> OperationId: `DiscordControllerSearch`
|
|
@@ -2538,9 +2538,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2538
2538
|
*/
|
|
2539
2539
|
async discordControllerSearch(guildSearchInputDTO, options) {
|
|
2540
2540
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerSearch(guildSearchInputDTO, options);
|
|
2541
|
-
const
|
|
2542
|
-
const
|
|
2543
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2541
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2542
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerSearch']?.[index]?.url;
|
|
2543
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2544
2544
|
},
|
|
2545
2545
|
/**
|
|
2546
2546
|
* Send a text message or rich embed to a specific Discord channel. Requires the bot to have appropriate permissions in the channel. Required permissions: `SEND_DISCORD_MESSAGE`<br> OperationId: `DiscordControllerSendMessage`
|
|
@@ -2552,9 +2552,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2552
2552
|
*/
|
|
2553
2553
|
async discordControllerSendMessage(id, sendMessageInputDTO, options) {
|
|
2554
2554
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerSendMessage(id, sendMessageInputDTO, options);
|
|
2555
|
-
const
|
|
2556
|
-
const
|
|
2557
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2555
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2556
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerSendMessage']?.[index]?.url;
|
|
2557
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2558
2558
|
},
|
|
2559
2559
|
/**
|
|
2560
2560
|
* Update Takaro-specific settings for a Discord guild, such as enabling or disabling Takaro features. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `DiscordControllerUpdateGuild`
|
|
@@ -2566,9 +2566,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2566
2566
|
*/
|
|
2567
2567
|
async discordControllerUpdateGuild(id, guildApiUpdateDTO, options) {
|
|
2568
2568
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerUpdateGuild(id, guildApiUpdateDTO, options);
|
|
2569
|
-
const
|
|
2570
|
-
const
|
|
2571
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2569
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2570
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerUpdateGuild']?.[index]?.url;
|
|
2571
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2572
2572
|
},
|
|
2573
2573
|
/**
|
|
2574
2574
|
* Update an existing Discord message with new content or embed. Requires the bot to have sent the original message. Required permissions: `SEND_DISCORD_MESSAGE`<br> OperationId: `DiscordControllerUpdateMessage`
|
|
@@ -2581,9 +2581,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2581
2581
|
*/
|
|
2582
2582
|
async discordControllerUpdateMessage(channelId, messageId, sendMessageInputDTO, options) {
|
|
2583
2583
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerUpdateMessage(channelId, messageId, sendMessageInputDTO, options);
|
|
2584
|
-
const
|
|
2585
|
-
const
|
|
2586
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2584
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2585
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerUpdateMessage']?.[index]?.url;
|
|
2586
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2587
2587
|
},
|
|
2588
2588
|
};
|
|
2589
2589
|
};
|
|
@@ -3049,9 +3049,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3049
3049
|
*/
|
|
3050
3050
|
async domainControllerCreate(domainCreateInputDTO, options) {
|
|
3051
3051
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreate(domainCreateInputDTO, options);
|
|
3052
|
-
const
|
|
3053
|
-
const
|
|
3054
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3052
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3053
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerCreate']?.[index]?.url;
|
|
3054
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3055
3055
|
},
|
|
3056
3056
|
/**
|
|
3057
3057
|
* <br> OperationId: `DomainControllerGetOne`
|
|
@@ -3062,9 +3062,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3062
3062
|
*/
|
|
3063
3063
|
async domainControllerGetOne(id, options) {
|
|
3064
3064
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerGetOne(id, options);
|
|
3065
|
-
const
|
|
3066
|
-
const
|
|
3067
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3065
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3066
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerGetOne']?.[index]?.url;
|
|
3067
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3068
3068
|
},
|
|
3069
3069
|
/**
|
|
3070
3070
|
* <br> OperationId: `DomainControllerGetToken`
|
|
@@ -3075,9 +3075,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3075
3075
|
*/
|
|
3076
3076
|
async domainControllerGetToken(tokenInputDTO, options) {
|
|
3077
3077
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerGetToken(tokenInputDTO, options);
|
|
3078
|
-
const
|
|
3079
|
-
const
|
|
3080
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3078
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3079
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerGetToken']?.[index]?.url;
|
|
3080
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3081
3081
|
},
|
|
3082
3082
|
/**
|
|
3083
3083
|
* <br> OperationId: `DomainControllerRemove`
|
|
@@ -3089,9 +3089,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3089
3089
|
*/
|
|
3090
3090
|
async domainControllerRemove(id, hardDelete, options) {
|
|
3091
3091
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerRemove(id, hardDelete, options);
|
|
3092
|
-
const
|
|
3093
|
-
const
|
|
3094
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3092
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3093
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerRemove']?.[index]?.url;
|
|
3094
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3095
3095
|
},
|
|
3096
3096
|
/**
|
|
3097
3097
|
* <br> OperationId: `DomainControllerResolveRegistrationToken`
|
|
@@ -3102,9 +3102,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3102
3102
|
*/
|
|
3103
3103
|
async domainControllerResolveRegistrationToken(resolveRegistrationTokenInputDTO, options) {
|
|
3104
3104
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerResolveRegistrationToken(resolveRegistrationTokenInputDTO, options);
|
|
3105
|
-
const
|
|
3106
|
-
const
|
|
3107
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3105
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3106
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerResolveRegistrationToken']?.[index]?.url;
|
|
3107
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3108
3108
|
},
|
|
3109
3109
|
/**
|
|
3110
3110
|
* <br> OperationId: `DomainControllerSearch`
|
|
@@ -3115,9 +3115,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3115
3115
|
*/
|
|
3116
3116
|
async domainControllerSearch(domainSearchInputDTO, options) {
|
|
3117
3117
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerSearch(domainSearchInputDTO, options);
|
|
3118
|
-
const
|
|
3119
|
-
const
|
|
3120
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3118
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3119
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerSearch']?.[index]?.url;
|
|
3120
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3121
3121
|
},
|
|
3122
3122
|
/**
|
|
3123
3123
|
* <br> OperationId: `DomainControllerUpdate`
|
|
@@ -3129,9 +3129,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3129
3129
|
*/
|
|
3130
3130
|
async domainControllerUpdate(id, domainUpdateInputDTO, options) {
|
|
3131
3131
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerUpdate(id, domainUpdateInputDTO, options);
|
|
3132
|
-
const
|
|
3133
|
-
const
|
|
3134
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3132
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3133
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerUpdate']?.[index]?.url;
|
|
3134
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3135
3135
|
},
|
|
3136
3136
|
};
|
|
3137
3137
|
};
|
|
@@ -3407,9 +3407,9 @@ export const EntityApiFp = function (configuration) {
|
|
|
3407
3407
|
*/
|
|
3408
3408
|
async entityControllerFindOne(id, options) {
|
|
3409
3409
|
const localVarAxiosArgs = await localVarAxiosParamCreator.entityControllerFindOne(id, options);
|
|
3410
|
-
const
|
|
3411
|
-
const
|
|
3412
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3410
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3411
|
+
const operationBasePath = operationServerMap['EntityApi.entityControllerFindOne']?.[index]?.url;
|
|
3412
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3413
3413
|
},
|
|
3414
3414
|
/**
|
|
3415
3415
|
* Required permissions: `READ_ENTITIES`<br> OperationId: `EntityControllerSearch`
|
|
@@ -3420,9 +3420,9 @@ export const EntityApiFp = function (configuration) {
|
|
|
3420
3420
|
*/
|
|
3421
3421
|
async entityControllerSearch(entitySearchInputDTO, options) {
|
|
3422
3422
|
const localVarAxiosArgs = await localVarAxiosParamCreator.entityControllerSearch(entitySearchInputDTO, options);
|
|
3423
|
-
const
|
|
3424
|
-
const
|
|
3425
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3423
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3424
|
+
const operationBasePath = operationServerMap['EntityApi.entityControllerSearch']?.[index]?.url;
|
|
3425
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3426
3426
|
},
|
|
3427
3427
|
};
|
|
3428
3428
|
};
|
|
@@ -3660,9 +3660,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3660
3660
|
*/
|
|
3661
3661
|
async eventControllerCreate(eventCreateDTO, options) {
|
|
3662
3662
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerCreate(eventCreateDTO, options);
|
|
3663
|
-
const
|
|
3664
|
-
const
|
|
3665
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3663
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3664
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerCreate']?.[index]?.url;
|
|
3665
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3666
3666
|
},
|
|
3667
3667
|
/**
|
|
3668
3668
|
* Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
|
|
@@ -3673,9 +3673,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3673
3673
|
*/
|
|
3674
3674
|
async eventControllerExport(eventSearchInputDTO, options) {
|
|
3675
3675
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExport(eventSearchInputDTO, options);
|
|
3676
|
-
const
|
|
3677
|
-
const
|
|
3678
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3676
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3677
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerExport']?.[index]?.url;
|
|
3678
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3679
3679
|
},
|
|
3680
3680
|
/**
|
|
3681
3681
|
* Fetches events where cronjob, hook and command failed. Supports all the common query parameters Required permissions: `READ_MODULES`, `READ_EVENTS`<br> OperationId: `EventControllerGetFailedFunctions`
|
|
@@ -3686,9 +3686,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3686
3686
|
*/
|
|
3687
3687
|
async eventControllerGetFailedFunctions(eventSearchInputDTO, options) {
|
|
3688
3688
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerGetFailedFunctions(eventSearchInputDTO, options);
|
|
3689
|
-
const
|
|
3690
|
-
const
|
|
3691
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3689
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3690
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerGetFailedFunctions']?.[index]?.url;
|
|
3691
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3692
3692
|
},
|
|
3693
3693
|
/**
|
|
3694
3694
|
* Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerGetOne`
|
|
@@ -3699,9 +3699,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3699
3699
|
*/
|
|
3700
3700
|
async eventControllerGetOne(id, options) {
|
|
3701
3701
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerGetOne(id, options);
|
|
3702
|
-
const
|
|
3703
|
-
const
|
|
3704
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3702
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3703
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerGetOne']?.[index]?.url;
|
|
3704
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3705
3705
|
},
|
|
3706
3706
|
/**
|
|
3707
3707
|
* Search events Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
@@ -3712,9 +3712,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3712
3712
|
*/
|
|
3713
3713
|
async eventControllerSearch(eventSearchInputDTO, options) {
|
|
3714
3714
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerSearch(eventSearchInputDTO, options);
|
|
3715
|
-
const
|
|
3716
|
-
const
|
|
3717
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3715
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3716
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerSearch']?.[index]?.url;
|
|
3717
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3718
3718
|
},
|
|
3719
3719
|
};
|
|
3720
3720
|
};
|
|
@@ -3932,9 +3932,9 @@ export const ExternalAuthApiFp = function (configuration) {
|
|
|
3932
3932
|
*/
|
|
3933
3933
|
async externalAuthControllerAuthDiscord(redirect, options) {
|
|
3934
3934
|
const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscord(redirect, options);
|
|
3935
|
-
const
|
|
3936
|
-
const
|
|
3937
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3935
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3936
|
+
const operationBasePath = operationServerMap['ExternalAuthApi.externalAuthControllerAuthDiscord']?.[index]?.url;
|
|
3937
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3938
3938
|
},
|
|
3939
3939
|
/**
|
|
3940
3940
|
* <br> OperationId: `ExternalAuthControllerAuthDiscordReturn`
|
|
@@ -3944,10 +3944,9 @@ export const ExternalAuthApiFp = function (configuration) {
|
|
|
3944
3944
|
*/
|
|
3945
3945
|
async externalAuthControllerAuthDiscordReturn(options) {
|
|
3946
3946
|
const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscordReturn(options);
|
|
3947
|
-
const
|
|
3948
|
-
const
|
|
3949
|
-
|
|
3950
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3947
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3948
|
+
const operationBasePath = operationServerMap['ExternalAuthApi.externalAuthControllerAuthDiscordReturn']?.[index]?.url;
|
|
3949
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3951
3950
|
},
|
|
3952
3951
|
};
|
|
3953
3952
|
};
|
|
@@ -4186,9 +4185,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4186
4185
|
*/
|
|
4187
4186
|
async functionControllerCreate(functionCreateDTO, options) {
|
|
4188
4187
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerCreate(functionCreateDTO, options);
|
|
4189
|
-
const
|
|
4190
|
-
const
|
|
4191
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4188
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4189
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerCreate']?.[index]?.url;
|
|
4190
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4192
4191
|
},
|
|
4193
4192
|
/**
|
|
4194
4193
|
* Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerGetOne`
|
|
@@ -4199,9 +4198,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4199
4198
|
*/
|
|
4200
4199
|
async functionControllerGetOne(id, options) {
|
|
4201
4200
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerGetOne(id, options);
|
|
4202
|
-
const
|
|
4203
|
-
const
|
|
4204
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4201
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4202
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerGetOne']?.[index]?.url;
|
|
4203
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4205
4204
|
},
|
|
4206
4205
|
/**
|
|
4207
4206
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `FunctionControllerRemove`
|
|
@@ -4212,9 +4211,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4212
4211
|
*/
|
|
4213
4212
|
async functionControllerRemove(id, options) {
|
|
4214
4213
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerRemove(id, options);
|
|
4215
|
-
const
|
|
4216
|
-
const
|
|
4217
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4214
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4215
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerRemove']?.[index]?.url;
|
|
4216
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4218
4217
|
},
|
|
4219
4218
|
/**
|
|
4220
4219
|
* Search functions Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerSearch`
|
|
@@ -4225,9 +4224,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4225
4224
|
*/
|
|
4226
4225
|
async functionControllerSearch(functionSearchInputDTO, options) {
|
|
4227
4226
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerSearch(functionSearchInputDTO, options);
|
|
4228
|
-
const
|
|
4229
|
-
const
|
|
4230
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4227
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4228
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerSearch']?.[index]?.url;
|
|
4229
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4231
4230
|
},
|
|
4232
4231
|
/**
|
|
4233
4232
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `FunctionControllerUpdate`
|
|
@@ -4239,9 +4238,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4239
4238
|
*/
|
|
4240
4239
|
async functionControllerUpdate(id, functionUpdateDTO, options) {
|
|
4241
4240
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerUpdate(id, functionUpdateDTO, options);
|
|
4242
|
-
const
|
|
4243
|
-
const
|
|
4244
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4241
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4242
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerUpdate']?.[index]?.url;
|
|
4243
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4245
4244
|
},
|
|
4246
4245
|
};
|
|
4247
4246
|
};
|
|
@@ -5231,9 +5230,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5231
5230
|
*/
|
|
5232
5231
|
async gameServerControllerBanPlayer(gameServerId, playerId, banPlayerInputDTO, options) {
|
|
5233
5232
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerBanPlayer(gameServerId, playerId, banPlayerInputDTO, options);
|
|
5234
|
-
const
|
|
5235
|
-
const
|
|
5236
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5233
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5234
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerBanPlayer']?.[index]?.url;
|
|
5235
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5237
5236
|
},
|
|
5238
5237
|
/**
|
|
5239
5238
|
* Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
|
|
@@ -5244,9 +5243,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5244
5243
|
*/
|
|
5245
5244
|
async gameServerControllerCreate(gameServerCreateDTO, options) {
|
|
5246
5245
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerCreate(gameServerCreateDTO, options);
|
|
5247
|
-
const
|
|
5248
|
-
const
|
|
5249
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5246
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5247
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerCreate']?.[index]?.url;
|
|
5248
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5250
5249
|
},
|
|
5251
5250
|
/**
|
|
5252
5251
|
* Execute a raw command on a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerExecuteCommand`
|
|
@@ -5258,9 +5257,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5258
5257
|
*/
|
|
5259
5258
|
async gameServerControllerExecuteCommand(id, commandExecuteInputDTO, options) {
|
|
5260
5259
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerExecuteCommand(id, commandExecuteInputDTO, options);
|
|
5261
|
-
const
|
|
5262
|
-
const
|
|
5263
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5260
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5261
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerExecuteCommand']?.[index]?.url;
|
|
5262
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5264
5263
|
},
|
|
5265
5264
|
/**
|
|
5266
5265
|
* Fetch status of an import from CSMM Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
|
|
@@ -5272,9 +5271,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5272
5271
|
*/
|
|
5273
5272
|
async gameServerControllerGetImport(id, options) {
|
|
5274
5273
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetImport(id, options);
|
|
5275
|
-
const
|
|
5276
|
-
const
|
|
5277
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5274
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5275
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetImport']?.[index]?.url;
|
|
5276
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5278
5277
|
},
|
|
5279
5278
|
/**
|
|
5280
5279
|
* Fetch a job status Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetJob`
|
|
@@ -5286,9 +5285,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5286
5285
|
*/
|
|
5287
5286
|
async gameServerControllerGetJob(type, id, options) {
|
|
5288
5287
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetJob(type, id, options);
|
|
5289
|
-
const
|
|
5290
|
-
const
|
|
5291
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5288
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5289
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetJob']?.[index]?.url;
|
|
5290
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5292
5291
|
},
|
|
5293
5292
|
/**
|
|
5294
5293
|
* Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
|
|
@@ -5299,9 +5298,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5299
5298
|
*/
|
|
5300
5299
|
async gameServerControllerGetMapInfo(id, options) {
|
|
5301
5300
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetMapInfo(id, options);
|
|
5302
|
-
const
|
|
5303
|
-
const
|
|
5304
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5301
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5302
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetMapInfo']?.[index]?.url;
|
|
5303
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5305
5304
|
},
|
|
5306
5305
|
/**
|
|
5307
5306
|
* Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
|
|
@@ -5315,9 +5314,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5315
5314
|
*/
|
|
5316
5315
|
async gameServerControllerGetMapTile(id, x, y, z, options) {
|
|
5317
5316
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetMapTile(id, x, y, z, options);
|
|
5318
|
-
const
|
|
5319
|
-
const
|
|
5320
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5317
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5318
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetMapTile']?.[index]?.url;
|
|
5319
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5321
5320
|
},
|
|
5322
5321
|
/**
|
|
5323
5322
|
* Fetch a gameserver by id<br> OperationId: `GameServerControllerGetOne`
|
|
@@ -5328,9 +5327,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5328
5327
|
*/
|
|
5329
5328
|
async gameServerControllerGetOne(id, options) {
|
|
5330
5329
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetOne(id, options);
|
|
5331
|
-
const
|
|
5332
|
-
const
|
|
5333
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5330
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5331
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetOne']?.[index]?.url;
|
|
5332
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5334
5333
|
},
|
|
5335
5334
|
/**
|
|
5336
5335
|
* Fetch a list of players on a gameserver. Requires gameserver to be online and reachable. Please use the Player on GameServer (PoG) search endpoint instead: `POST /gameserver/player/search` for more flexible filtering, sorting, and pagination options. Required permissions: `READ_PLAYERS`<br> OperationId: `GameServerControllerGetPlayers`
|
|
@@ -5342,9 +5341,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5342
5341
|
*/
|
|
5343
5342
|
async gameServerControllerGetPlayers(id, options) {
|
|
5344
5343
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetPlayers(id, options);
|
|
5345
|
-
const
|
|
5346
|
-
const
|
|
5347
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5344
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5345
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetPlayers']?.[index]?.url;
|
|
5346
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5348
5347
|
},
|
|
5349
5348
|
/**
|
|
5350
5349
|
* Fetch gameserver types (7dtd, Rust, ...)<br> OperationId: `GameServerControllerGetTypes`
|
|
@@ -5354,9 +5353,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5354
5353
|
*/
|
|
5355
5354
|
async gameServerControllerGetTypes(options) {
|
|
5356
5355
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetTypes(options);
|
|
5357
|
-
const
|
|
5358
|
-
const
|
|
5359
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5356
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5357
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetTypes']?.[index]?.url;
|
|
5358
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5360
5359
|
},
|
|
5361
5360
|
/**
|
|
5362
5361
|
* Give an item to a player. Accepts item UUID (preferred) or item code. Requires gameserver to be online and reachable. Depending on the underlying game implementation, it\'s possible that the item is dropped on the ground instead of placed directly in the player\'s inventory. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGiveItem`
|
|
@@ -5369,9 +5368,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5369
5368
|
*/
|
|
5370
5369
|
async gameServerControllerGiveItem(gameServerId, playerId, giveItemInputDTO, options) {
|
|
5371
5370
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGiveItem(gameServerId, playerId, giveItemInputDTO, options);
|
|
5372
|
-
const
|
|
5373
|
-
const
|
|
5374
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5371
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5372
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGiveItem']?.[index]?.url;
|
|
5373
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5375
5374
|
},
|
|
5376
5375
|
/**
|
|
5377
5376
|
* Import a gameserver from CSMM. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerImportFromCSMM`
|
|
@@ -5381,9 +5380,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5381
5380
|
*/
|
|
5382
5381
|
async gameServerControllerImportFromCSMM(options) {
|
|
5383
5382
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerImportFromCSMM(options);
|
|
5384
|
-
const
|
|
5385
|
-
const
|
|
5386
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5383
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5384
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerImportFromCSMM']?.[index]?.url;
|
|
5385
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5387
5386
|
},
|
|
5388
5387
|
/**
|
|
5389
5388
|
* Kick a player from a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerKickPlayer`
|
|
@@ -5396,9 +5395,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5396
5395
|
*/
|
|
5397
5396
|
async gameServerControllerKickPlayer(gameServerId, playerId, kickPlayerInputDTO, options) {
|
|
5398
5397
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerKickPlayer(gameServerId, playerId, kickPlayerInputDTO, options);
|
|
5399
|
-
const
|
|
5400
|
-
const
|
|
5401
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5398
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5399
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerKickPlayer']?.[index]?.url;
|
|
5400
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5402
5401
|
},
|
|
5403
5402
|
/**
|
|
5404
5403
|
* List bans for a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerListBans`
|
|
@@ -5410,9 +5409,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5410
5409
|
*/
|
|
5411
5410
|
async gameServerControllerListBans(id, options) {
|
|
5412
5411
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerListBans(id, options);
|
|
5413
|
-
const
|
|
5414
|
-
const
|
|
5415
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5412
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5413
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerListBans']?.[index]?.url;
|
|
5414
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5416
5415
|
},
|
|
5417
5416
|
/**
|
|
5418
5417
|
* Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
|
|
@@ -5422,9 +5421,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5422
5421
|
*/
|
|
5423
5422
|
async gameServerControllerRegenerateRegistrationToken(options) {
|
|
5424
5423
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerRegenerateRegistrationToken(options);
|
|
5425
|
-
const
|
|
5426
|
-
const
|
|
5427
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5424
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5425
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerRegenerateRegistrationToken']?.[index]?.url;
|
|
5426
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5428
5427
|
},
|
|
5429
5428
|
/**
|
|
5430
5429
|
* Delete a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRemove`
|
|
@@ -5435,9 +5434,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5435
5434
|
*/
|
|
5436
5435
|
async gameServerControllerRemove(id, options) {
|
|
5437
5436
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerRemove(id, options);
|
|
5438
|
-
const
|
|
5439
|
-
const
|
|
5440
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5437
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5438
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerRemove']?.[index]?.url;
|
|
5439
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5441
5440
|
},
|
|
5442
5441
|
/**
|
|
5443
5442
|
* Resets all players\' currency to 0 on the specified game server. This action is irreversible. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerResetCurrency`
|
|
@@ -5448,9 +5447,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5448
5447
|
*/
|
|
5449
5448
|
async gameServerControllerResetCurrency(id, options) {
|
|
5450
5449
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerResetCurrency(id, options);
|
|
5451
|
-
const
|
|
5452
|
-
const
|
|
5453
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5450
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5451
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerResetCurrency']?.[index]?.url;
|
|
5452
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5454
5453
|
},
|
|
5455
5454
|
/**
|
|
5456
5455
|
* Fetch gameservers<br> OperationId: `GameServerControllerSearch`
|
|
@@ -5461,9 +5460,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5461
5460
|
*/
|
|
5462
5461
|
async gameServerControllerSearch(gameServerSearchInputDTO, options) {
|
|
5463
5462
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerSearch(gameServerSearchInputDTO, options);
|
|
5464
|
-
const
|
|
5465
|
-
const
|
|
5466
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5463
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5464
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerSearch']?.[index]?.url;
|
|
5465
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5467
5466
|
},
|
|
5468
5467
|
/**
|
|
5469
5468
|
* Send a message in gameserver chat. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerSendMessage`
|
|
@@ -5475,9 +5474,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5475
5474
|
*/
|
|
5476
5475
|
async gameServerControllerSendMessage(id, messageSendInputDTO, options) {
|
|
5477
5476
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerSendMessage(id, messageSendInputDTO, options);
|
|
5478
|
-
const
|
|
5479
|
-
const
|
|
5480
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5477
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5478
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerSendMessage']?.[index]?.url;
|
|
5479
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5481
5480
|
},
|
|
5482
5481
|
/**
|
|
5483
5482
|
* Shuts down the gameserver. This is a \'soft\' shutdown, meaning the gameserver will be stopped gracefully. If the gameserver is not reachable, this will have no effect. Note that most hosting providers will automatically restart the gameserver after a shutdown, which makes this operation act as a \'restart\' instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerShutdown`
|
|
@@ -5488,9 +5487,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5488
5487
|
*/
|
|
5489
5488
|
async gameServerControllerShutdown(id, options) {
|
|
5490
5489
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerShutdown(id, options);
|
|
5491
|
-
const
|
|
5492
|
-
const
|
|
5493
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5490
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5491
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerShutdown']?.[index]?.url;
|
|
5492
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5494
5493
|
},
|
|
5495
5494
|
/**
|
|
5496
5495
|
* Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
|
|
@@ -5503,9 +5502,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5503
5502
|
*/
|
|
5504
5503
|
async gameServerControllerTeleportPlayer(gameServerId, playerId, teleportPlayerInputDTO, options) {
|
|
5505
5504
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerTeleportPlayer(gameServerId, playerId, teleportPlayerInputDTO, options);
|
|
5506
|
-
const
|
|
5507
|
-
const
|
|
5508
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5505
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5506
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTeleportPlayer']?.[index]?.url;
|
|
5507
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5509
5508
|
},
|
|
5510
5509
|
/**
|
|
5511
5510
|
* Test if Takaro can connect to a gameserver. Will do a thorough check and report details.<br> OperationId: `GameServerControllerTestReachability`
|
|
@@ -5516,9 +5515,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5516
5515
|
*/
|
|
5517
5516
|
async gameServerControllerTestReachability(gameServerTestReachabilityInputDTO, options) {
|
|
5518
5517
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerTestReachability(gameServerTestReachabilityInputDTO, options);
|
|
5519
|
-
const
|
|
5520
|
-
const
|
|
5521
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5518
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5519
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTestReachability']?.[index]?.url;
|
|
5520
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5522
5521
|
},
|
|
5523
5522
|
/**
|
|
5524
5523
|
* Test if Takaro can connect to a gameserver. Will do a thorough check and report details.<br> OperationId: `GameServerControllerTestReachabilityForId`
|
|
@@ -5529,10 +5528,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5529
5528
|
*/
|
|
5530
5529
|
async gameServerControllerTestReachabilityForId(id, options) {
|
|
5531
5530
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerTestReachabilityForId(id, options);
|
|
5532
|
-
const
|
|
5533
|
-
const
|
|
5534
|
-
|
|
5535
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5531
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5532
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTestReachabilityForId']?.[index]?.url;
|
|
5533
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5536
5534
|
},
|
|
5537
5535
|
/**
|
|
5538
5536
|
* Manually trigger a job, you can poll the status with the GET endpoint Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTriggerJob`
|
|
@@ -5544,9 +5542,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5544
5542
|
*/
|
|
5545
5543
|
async gameServerControllerTriggerJob(type, id, options) {
|
|
5546
5544
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerTriggerJob(type, id, options);
|
|
5547
|
-
const
|
|
5548
|
-
const
|
|
5549
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5545
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5546
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTriggerJob']?.[index]?.url;
|
|
5547
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5550
5548
|
},
|
|
5551
5549
|
/**
|
|
5552
5550
|
* Unban a player from a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerUnbanPlayer`
|
|
@@ -5559,9 +5557,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5559
5557
|
*/
|
|
5560
5558
|
async gameServerControllerUnbanPlayer(gameServerId, playerId, options) {
|
|
5561
5559
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerUnbanPlayer(gameServerId, playerId, options);
|
|
5562
|
-
const
|
|
5563
|
-
const
|
|
5564
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5560
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5561
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerUnbanPlayer']?.[index]?.url;
|
|
5562
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5565
5563
|
},
|
|
5566
5564
|
/**
|
|
5567
5565
|
* Update a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerUpdate`
|
|
@@ -5573,9 +5571,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5573
5571
|
*/
|
|
5574
5572
|
async gameServerControllerUpdate(id, gameServerUpdateDTO, options) {
|
|
5575
5573
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerUpdate(id, gameServerUpdateDTO, options);
|
|
5576
|
-
const
|
|
5577
|
-
const
|
|
5578
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5574
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5575
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerUpdate']?.[index]?.url;
|
|
5576
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5579
5577
|
},
|
|
5580
5578
|
};
|
|
5581
5579
|
};
|
|
@@ -6499,9 +6497,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6499
6497
|
*/
|
|
6500
6498
|
async hookControllerCreate(hookCreateDTO, options) {
|
|
6501
6499
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerCreate(hookCreateDTO, options);
|
|
6502
|
-
const
|
|
6503
|
-
const
|
|
6504
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6500
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6501
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerCreate']?.[index]?.url;
|
|
6502
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6505
6503
|
},
|
|
6506
6504
|
/**
|
|
6507
6505
|
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
@@ -6514,9 +6512,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6514
6512
|
*/
|
|
6515
6513
|
async hookControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
6516
6514
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
6517
|
-
const
|
|
6518
|
-
const
|
|
6519
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6515
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6516
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerGetExecutions']?.[index]?.url;
|
|
6517
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6520
6518
|
},
|
|
6521
6519
|
/**
|
|
6522
6520
|
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
@@ -6527,9 +6525,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6527
6525
|
*/
|
|
6528
6526
|
async hookControllerGetOne(id, options) {
|
|
6529
6527
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetOne(id, options);
|
|
6530
|
-
const
|
|
6531
|
-
const
|
|
6532
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6528
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6529
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerGetOne']?.[index]?.url;
|
|
6530
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6533
6531
|
},
|
|
6534
6532
|
/**
|
|
6535
6533
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
@@ -6540,9 +6538,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6540
6538
|
*/
|
|
6541
6539
|
async hookControllerRemove(id, options) {
|
|
6542
6540
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerRemove(id, options);
|
|
6543
|
-
const
|
|
6544
|
-
const
|
|
6545
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6541
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6542
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerRemove']?.[index]?.url;
|
|
6543
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6546
6544
|
},
|
|
6547
6545
|
/**
|
|
6548
6546
|
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
@@ -6553,9 +6551,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6553
6551
|
*/
|
|
6554
6552
|
async hookControllerSearch(hookSearchInputDTO, options) {
|
|
6555
6553
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerSearch(hookSearchInputDTO, options);
|
|
6556
|
-
const
|
|
6557
|
-
const
|
|
6558
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6554
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6555
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerSearch']?.[index]?.url;
|
|
6556
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6559
6557
|
},
|
|
6560
6558
|
/**
|
|
6561
6559
|
* Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
|
|
@@ -6566,9 +6564,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6566
6564
|
*/
|
|
6567
6565
|
async hookControllerTrigger(hookTriggerDTO, options) {
|
|
6568
6566
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerTrigger(hookTriggerDTO, options);
|
|
6569
|
-
const
|
|
6570
|
-
const
|
|
6571
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6567
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6568
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerTrigger']?.[index]?.url;
|
|
6569
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6572
6570
|
},
|
|
6573
6571
|
/**
|
|
6574
6572
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
@@ -6580,9 +6578,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6580
6578
|
*/
|
|
6581
6579
|
async hookControllerUpdate(id, hookUpdateDTO, options) {
|
|
6582
6580
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerUpdate(id, hookUpdateDTO, options);
|
|
6583
|
-
const
|
|
6584
|
-
const
|
|
6585
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6581
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6582
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerUpdate']?.[index]?.url;
|
|
6583
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6586
6584
|
},
|
|
6587
6585
|
};
|
|
6588
6586
|
};
|
|
@@ -6854,9 +6852,9 @@ export const ItemApiFp = function (configuration) {
|
|
|
6854
6852
|
*/
|
|
6855
6853
|
async itemControllerFindOne(id, options) {
|
|
6856
6854
|
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerFindOne(id, options);
|
|
6857
|
-
const
|
|
6858
|
-
const
|
|
6859
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6855
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6856
|
+
const operationBasePath = operationServerMap['ItemApi.itemControllerFindOne']?.[index]?.url;
|
|
6857
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6860
6858
|
},
|
|
6861
6859
|
/**
|
|
6862
6860
|
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
@@ -6867,9 +6865,9 @@ export const ItemApiFp = function (configuration) {
|
|
|
6867
6865
|
*/
|
|
6868
6866
|
async itemControllerSearch(itemSearchInputDTO, options) {
|
|
6869
6867
|
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerSearch(itemSearchInputDTO, options);
|
|
6870
|
-
const
|
|
6871
|
-
const
|
|
6872
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6868
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6869
|
+
const operationBasePath = operationServerMap['ItemApi.itemControllerSearch']?.[index]?.url;
|
|
6870
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6873
6871
|
},
|
|
6874
6872
|
};
|
|
6875
6873
|
};
|
|
@@ -7109,9 +7107,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7109
7107
|
*/
|
|
7110
7108
|
async metaGetHealth(options) {
|
|
7111
7109
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetHealth(options);
|
|
7112
|
-
const
|
|
7113
|
-
const
|
|
7114
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7110
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7111
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetHealth']?.[index]?.url;
|
|
7112
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7115
7113
|
},
|
|
7116
7114
|
/**
|
|
7117
7115
|
* <br> OperationId: `MetaGetMetrics`
|
|
@@ -7121,9 +7119,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7121
7119
|
*/
|
|
7122
7120
|
async metaGetMetrics(options) {
|
|
7123
7121
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetMetrics(options);
|
|
7124
|
-
const
|
|
7125
|
-
const
|
|
7126
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7122
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7123
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetMetrics']?.[index]?.url;
|
|
7124
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7127
7125
|
},
|
|
7128
7126
|
/**
|
|
7129
7127
|
* <br> OperationId: `MetaGetOpenApi`
|
|
@@ -7133,9 +7131,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7133
7131
|
*/
|
|
7134
7132
|
async metaGetOpenApi(options) {
|
|
7135
7133
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetOpenApi(options);
|
|
7136
|
-
const
|
|
7137
|
-
const
|
|
7138
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7134
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7135
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetOpenApi']?.[index]?.url;
|
|
7136
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7139
7137
|
},
|
|
7140
7138
|
/**
|
|
7141
7139
|
* <br> OperationId: `MetaGetOpenApiHtml`
|
|
@@ -7145,9 +7143,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7145
7143
|
*/
|
|
7146
7144
|
async metaGetOpenApiHtml(options) {
|
|
7147
7145
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetOpenApiHtml(options);
|
|
7148
|
-
const
|
|
7149
|
-
const
|
|
7150
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7146
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7147
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetOpenApiHtml']?.[index]?.url;
|
|
7148
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7151
7149
|
},
|
|
7152
7150
|
/**
|
|
7153
7151
|
* <br> OperationId: `MetaGetReadiness`
|
|
@@ -7157,9 +7155,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7157
7155
|
*/
|
|
7158
7156
|
async metaGetReadiness(options) {
|
|
7159
7157
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetReadiness(options);
|
|
7160
|
-
const
|
|
7161
|
-
const
|
|
7162
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7158
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7159
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetReadiness']?.[index]?.url;
|
|
7160
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7163
7161
|
},
|
|
7164
7162
|
/**
|
|
7165
7163
|
* <br> OperationId: `MetaGetRoot`
|
|
@@ -7169,9 +7167,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7169
7167
|
*/
|
|
7170
7168
|
async metaGetRoot(options) {
|
|
7171
7169
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetRoot(options);
|
|
7172
|
-
const
|
|
7173
|
-
const
|
|
7174
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7170
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7171
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetRoot']?.[index]?.url;
|
|
7172
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7175
7173
|
},
|
|
7176
7174
|
};
|
|
7177
7175
|
};
|
|
@@ -7764,9 +7762,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7764
7762
|
*/
|
|
7765
7763
|
async moduleControllerCreate(moduleCreateAPIDTO, options) {
|
|
7766
7764
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerCreate(moduleCreateAPIDTO, options);
|
|
7767
|
-
const
|
|
7768
|
-
const
|
|
7769
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7765
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7766
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerCreate']?.[index]?.url;
|
|
7767
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7770
7768
|
},
|
|
7771
7769
|
/**
|
|
7772
7770
|
* Exports a module to a format that can be imported into another Takaro instance. This endpoint will export all known versions of the module Required permissions: `READ_MODULES`<br> OperationId: `ModuleControllerExport`
|
|
@@ -7778,9 +7776,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7778
7776
|
*/
|
|
7779
7777
|
async moduleControllerExport(id, moduleExportOptionsDTO, options) {
|
|
7780
7778
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerExport(id, moduleExportOptionsDTO, options);
|
|
7781
|
-
const
|
|
7782
|
-
const
|
|
7783
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7779
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7780
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerExport']?.[index]?.url;
|
|
7781
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7784
7782
|
},
|
|
7785
7783
|
/**
|
|
7786
7784
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleControllerGetOne`
|
|
@@ -7791,9 +7789,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7791
7789
|
*/
|
|
7792
7790
|
async moduleControllerGetOne(id, options) {
|
|
7793
7791
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerGetOne(id, options);
|
|
7794
|
-
const
|
|
7795
|
-
const
|
|
7796
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7792
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7793
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerGetOne']?.[index]?.url;
|
|
7794
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7797
7795
|
},
|
|
7798
7796
|
/**
|
|
7799
7797
|
* Imports a module from a format that was exported from another Takaro instance Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerImport`
|
|
@@ -7804,9 +7802,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7804
7802
|
*/
|
|
7805
7803
|
async moduleControllerImport(body, options) {
|
|
7806
7804
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerImport(body, options);
|
|
7807
|
-
const
|
|
7808
|
-
const
|
|
7809
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7805
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7806
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerImport']?.[index]?.url;
|
|
7807
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7810
7808
|
},
|
|
7811
7809
|
/**
|
|
7812
7810
|
* Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
|
|
@@ -7817,9 +7815,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7817
7815
|
*/
|
|
7818
7816
|
async moduleControllerRemove(id, options) {
|
|
7819
7817
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerRemove(id, options);
|
|
7820
|
-
const
|
|
7821
|
-
const
|
|
7822
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7818
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7819
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerRemove']?.[index]?.url;
|
|
7820
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7823
7821
|
},
|
|
7824
7822
|
/**
|
|
7825
7823
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleControllerSearch`
|
|
@@ -7830,9 +7828,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7830
7828
|
*/
|
|
7831
7829
|
async moduleControllerSearch(moduleSearchInputDTO, options) {
|
|
7832
7830
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerSearch(moduleSearchInputDTO, options);
|
|
7833
|
-
const
|
|
7834
|
-
const
|
|
7835
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7831
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7832
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerSearch']?.[index]?.url;
|
|
7833
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7836
7834
|
},
|
|
7837
7835
|
/**
|
|
7838
7836
|
* Update a module Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerUpdate`
|
|
@@ -7844,9 +7842,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7844
7842
|
*/
|
|
7845
7843
|
async moduleControllerUpdate(id, moduleUpdateDTO, options) {
|
|
7846
7844
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerUpdate(id, moduleUpdateDTO, options);
|
|
7847
|
-
const
|
|
7848
|
-
const
|
|
7849
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7845
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7846
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerUpdate']?.[index]?.url;
|
|
7847
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7850
7848
|
},
|
|
7851
7849
|
/**
|
|
7852
7850
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
@@ -7857,10 +7855,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7857
7855
|
*/
|
|
7858
7856
|
async moduleInstallationsControllerGetInstalledModules(moduleInstallationSearchInputDTO, options) {
|
|
7859
7857
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleInstallationsControllerGetInstalledModules(moduleInstallationSearchInputDTO, options);
|
|
7860
|
-
const
|
|
7861
|
-
const
|
|
7862
|
-
|
|
7863
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7858
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7859
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerGetInstalledModules']?.[index]?.url;
|
|
7860
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7864
7861
|
},
|
|
7865
7862
|
/**
|
|
7866
7863
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetModuleInstallation`
|
|
@@ -7872,9 +7869,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7872
7869
|
*/
|
|
7873
7870
|
async moduleInstallationsControllerGetModuleInstallation(moduleId, gameServerId, options) {
|
|
7874
7871
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleInstallationsControllerGetModuleInstallation(moduleId, gameServerId, options);
|
|
7875
|
-
const
|
|
7876
|
-
const
|
|
7877
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7872
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7873
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerGetModuleInstallation']?.[index]?.url;
|
|
7874
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7878
7875
|
},
|
|
7879
7876
|
/**
|
|
7880
7877
|
* Install a module on a gameserver. You can have multiple installations of the same module on the same gameserver. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `ModuleInstallationsControllerInstallModule`
|
|
@@ -7885,9 +7882,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7885
7882
|
*/
|
|
7886
7883
|
async moduleInstallationsControllerInstallModule(installModuleDTO, options) {
|
|
7887
7884
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleInstallationsControllerInstallModule(installModuleDTO, options);
|
|
7888
|
-
const
|
|
7889
|
-
const
|
|
7890
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7885
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7886
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerInstallModule']?.[index]?.url;
|
|
7887
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7891
7888
|
},
|
|
7892
7889
|
/**
|
|
7893
7890
|
* Uninstall a module from a gameserver. This will not delete the module from the database. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `ModuleInstallationsControllerUninstallModule`
|
|
@@ -7899,10 +7896,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7899
7896
|
*/
|
|
7900
7897
|
async moduleInstallationsControllerUninstallModule(moduleId, gameServerId, options) {
|
|
7901
7898
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleInstallationsControllerUninstallModule(moduleId, gameServerId, options);
|
|
7902
|
-
const
|
|
7903
|
-
const
|
|
7904
|
-
|
|
7905
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7899
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7900
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerUninstallModule']?.[index]?.url;
|
|
7901
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7906
7902
|
},
|
|
7907
7903
|
/**
|
|
7908
7904
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleVersionControllerGetModuleVersion`
|
|
@@ -7913,9 +7909,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7913
7909
|
*/
|
|
7914
7910
|
async moduleVersionControllerGetModuleVersion(id, options) {
|
|
7915
7911
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleVersionControllerGetModuleVersion(id, options);
|
|
7916
|
-
const
|
|
7917
|
-
const
|
|
7918
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7912
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7913
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleVersionControllerGetModuleVersion']?.[index]?.url;
|
|
7914
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7919
7915
|
},
|
|
7920
7916
|
/**
|
|
7921
7917
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleVersionControllerSearchVersions`
|
|
@@ -7926,9 +7922,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7926
7922
|
*/
|
|
7927
7923
|
async moduleVersionControllerSearchVersions(moduleVersionSearchInputDTO, options) {
|
|
7928
7924
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleVersionControllerSearchVersions(moduleVersionSearchInputDTO, options);
|
|
7929
|
-
const
|
|
7930
|
-
const
|
|
7931
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7925
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7926
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleVersionControllerSearchVersions']?.[index]?.url;
|
|
7927
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7932
7928
|
},
|
|
7933
7929
|
/**
|
|
7934
7930
|
* Creates a new version of a module, copying all config (commands,hooks,cronjobs,...) from the \"latest\" version into a new, immutable version Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleVersionControllerTagVersion`
|
|
@@ -7939,9 +7935,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7939
7935
|
*/
|
|
7940
7936
|
async moduleVersionControllerTagVersion(moduleVersionCreateAPIDTO, options) {
|
|
7941
7937
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleVersionControllerTagVersion(moduleVersionCreateAPIDTO, options);
|
|
7942
|
-
const
|
|
7943
|
-
const
|
|
7944
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7938
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7939
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleVersionControllerTagVersion']?.[index]?.url;
|
|
7940
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7945
7941
|
},
|
|
7946
7942
|
};
|
|
7947
7943
|
};
|
|
@@ -8700,9 +8696,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8700
8696
|
*/
|
|
8701
8697
|
async banControllerCreate(banCreateDTO, options) {
|
|
8702
8698
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerCreate(banCreateDTO, options);
|
|
8703
|
-
const
|
|
8704
|
-
const
|
|
8705
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8699
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8700
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerCreate']?.[index]?.url;
|
|
8701
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8706
8702
|
},
|
|
8707
8703
|
/**
|
|
8708
8704
|
* Unban player. This will remove the ban from Takaro and the gameserver(s) Required permissions: `MANAGE_PLAYERS`<br> OperationId: `BanControllerDelete`
|
|
@@ -8713,9 +8709,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8713
8709
|
*/
|
|
8714
8710
|
async banControllerDelete(id, options) {
|
|
8715
8711
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerDelete(id, options);
|
|
8716
|
-
const
|
|
8717
|
-
const
|
|
8718
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8712
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8713
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerDelete']?.[index]?.url;
|
|
8714
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8719
8715
|
},
|
|
8720
8716
|
/**
|
|
8721
8717
|
* Get a single ban Required permissions: `READ_PLAYERS`<br> OperationId: `BanControllerGetOne`
|
|
@@ -8726,9 +8722,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8726
8722
|
*/
|
|
8727
8723
|
async banControllerGetOne(id, options) {
|
|
8728
8724
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerGetOne(id, options);
|
|
8729
|
-
const
|
|
8730
|
-
const
|
|
8731
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8725
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8726
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerGetOne']?.[index]?.url;
|
|
8727
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8732
8728
|
},
|
|
8733
8729
|
/**
|
|
8734
8730
|
* Search for bans Required permissions: `READ_PLAYERS`<br> OperationId: `BanControllerSearch`
|
|
@@ -8739,9 +8735,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8739
8735
|
*/
|
|
8740
8736
|
async banControllerSearch(banSearchInputDTO, options) {
|
|
8741
8737
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerSearch(banSearchInputDTO, options);
|
|
8742
|
-
const
|
|
8743
|
-
const
|
|
8744
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8738
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8739
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerSearch']?.[index]?.url;
|
|
8740
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8745
8741
|
},
|
|
8746
8742
|
/**
|
|
8747
8743
|
* Update an existing ban, updating a ban via the API will always make it takaro managed. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `BanControllerUpdate`
|
|
@@ -8753,9 +8749,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8753
8749
|
*/
|
|
8754
8750
|
async banControllerUpdate(id, banUpdateDTO, options) {
|
|
8755
8751
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerUpdate(id, banUpdateDTO, options);
|
|
8756
|
-
const
|
|
8757
|
-
const
|
|
8758
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8752
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8753
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerUpdate']?.[index]?.url;
|
|
8754
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8759
8755
|
},
|
|
8760
8756
|
/**
|
|
8761
8757
|
* Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerAssignRole`
|
|
@@ -8768,9 +8764,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8768
8764
|
*/
|
|
8769
8765
|
async playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options) {
|
|
8770
8766
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options);
|
|
8771
|
-
const
|
|
8772
|
-
const
|
|
8773
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8767
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8768
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerAssignRole']?.[index]?.url;
|
|
8769
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8774
8770
|
},
|
|
8775
8771
|
/**
|
|
8776
8772
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
@@ -8781,9 +8777,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8781
8777
|
*/
|
|
8782
8778
|
async playerControllerBulkDelete(playerBulkDeleteInputDTO, options) {
|
|
8783
8779
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerBulkDelete(playerBulkDeleteInputDTO, options);
|
|
8784
|
-
const
|
|
8785
|
-
const
|
|
8786
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8780
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8781
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerBulkDelete']?.[index]?.url;
|
|
8782
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8787
8783
|
},
|
|
8788
8784
|
/**
|
|
8789
8785
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
@@ -8794,9 +8790,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8794
8790
|
*/
|
|
8795
8791
|
async playerControllerDelete(id, options) {
|
|
8796
8792
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerDelete(id, options);
|
|
8797
|
-
const
|
|
8798
|
-
const
|
|
8799
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8793
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8794
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerDelete']?.[index]?.url;
|
|
8795
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8800
8796
|
},
|
|
8801
8797
|
/**
|
|
8802
8798
|
* Get the player that is currently authenticated. This is a low-privilege route, returning limited data.<br> OperationId: `PlayerControllerGetMe`
|
|
@@ -8806,9 +8802,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8806
8802
|
*/
|
|
8807
8803
|
async playerControllerGetMe(options) {
|
|
8808
8804
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerGetMe(options);
|
|
8809
|
-
const
|
|
8810
|
-
const
|
|
8811
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8805
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8806
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerGetMe']?.[index]?.url;
|
|
8807
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8812
8808
|
},
|
|
8813
8809
|
/**
|
|
8814
8810
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerGetOne`
|
|
@@ -8819,9 +8815,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8819
8815
|
*/
|
|
8820
8816
|
async playerControllerGetOne(id, options) {
|
|
8821
8817
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerGetOne(id, options);
|
|
8822
|
-
const
|
|
8823
|
-
const
|
|
8824
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8818
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8819
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerGetOne']?.[index]?.url;
|
|
8820
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8825
8821
|
},
|
|
8826
8822
|
/**
|
|
8827
8823
|
* Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
|
|
@@ -8834,9 +8830,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8834
8830
|
*/
|
|
8835
8831
|
async playerControllerRemoveRole(id, roleId, playerRoleAssignChangeDTO, options) {
|
|
8836
8832
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerRemoveRole(id, roleId, playerRoleAssignChangeDTO, options);
|
|
8837
|
-
const
|
|
8838
|
-
const
|
|
8839
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8833
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8834
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerRemoveRole']?.[index]?.url;
|
|
8835
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8840
8836
|
},
|
|
8841
8837
|
/**
|
|
8842
8838
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerSearch`
|
|
@@ -8847,9 +8843,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8847
8843
|
*/
|
|
8848
8844
|
async playerControllerSearch(playerSearchInputDTO, options) {
|
|
8849
8845
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerSearch(playerSearchInputDTO, options);
|
|
8850
|
-
const
|
|
8851
|
-
const
|
|
8852
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8846
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8847
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerSearch']?.[index]?.url;
|
|
8848
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8853
8849
|
},
|
|
8854
8850
|
};
|
|
8855
8851
|
};
|
|
@@ -9469,9 +9465,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9469
9465
|
*/
|
|
9470
9466
|
async playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9471
9467
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
9472
|
-
const
|
|
9473
|
-
const
|
|
9474
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9468
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9469
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerAddCurrency']?.[index]?.url;
|
|
9470
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9475
9471
|
},
|
|
9476
9472
|
/**
|
|
9477
9473
|
* Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
|
|
@@ -9483,9 +9479,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9483
9479
|
*/
|
|
9484
9480
|
async playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
9485
9481
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options);
|
|
9486
|
-
const
|
|
9487
|
-
const
|
|
9488
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9482
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9483
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkDelete']?.[index]?.url;
|
|
9484
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9489
9485
|
},
|
|
9490
9486
|
/**
|
|
9491
9487
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
@@ -9498,9 +9494,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9498
9494
|
*/
|
|
9499
9495
|
async playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9500
9496
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
9501
|
-
const
|
|
9502
|
-
const
|
|
9503
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9497
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9498
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDeductCurrency']?.[index]?.url;
|
|
9499
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9504
9500
|
},
|
|
9505
9501
|
/**
|
|
9506
9502
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
@@ -9512,10 +9508,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9512
9508
|
*/
|
|
9513
9509
|
async playerOnGameServerControllerDelete(gameServerId, playerId, options) {
|
|
9514
9510
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDelete(gameServerId, playerId, options);
|
|
9515
|
-
const
|
|
9516
|
-
const
|
|
9517
|
-
|
|
9518
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9511
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9512
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDelete']?.[index]?.url;
|
|
9513
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9519
9514
|
},
|
|
9520
9515
|
/**
|
|
9521
9516
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
@@ -9527,10 +9522,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9527
9522
|
*/
|
|
9528
9523
|
async playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
|
|
9529
9524
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerGetOne(gameServerId, playerId, options);
|
|
9530
|
-
const
|
|
9531
|
-
const
|
|
9532
|
-
|
|
9533
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9525
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9526
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerGetOne']?.[index]?.url;
|
|
9527
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9534
9528
|
},
|
|
9535
9529
|
/**
|
|
9536
9530
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
|
|
@@ -9541,10 +9535,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9541
9535
|
*/
|
|
9542
9536
|
async playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
|
|
9543
9537
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options);
|
|
9544
|
-
const
|
|
9545
|
-
const
|
|
9546
|
-
|
|
9547
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9538
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9539
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSearch']?.[index]?.url;
|
|
9540
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9548
9541
|
},
|
|
9549
9542
|
/**
|
|
9550
9543
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
|
|
@@ -9557,9 +9550,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9557
9550
|
*/
|
|
9558
9551
|
async playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9559
9552
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
9560
|
-
const
|
|
9561
|
-
const
|
|
9562
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9553
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9554
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSetCurrency']?.[index]?.url;
|
|
9555
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9563
9556
|
},
|
|
9564
9557
|
/**
|
|
9565
9558
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
|
|
@@ -9573,9 +9566,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9573
9566
|
*/
|
|
9574
9567
|
async playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9575
9568
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options);
|
|
9576
|
-
const
|
|
9577
|
-
const
|
|
9578
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9569
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9570
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerTransactBetweenPlayers']?.[index]?.url;
|
|
9571
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9579
9572
|
},
|
|
9580
9573
|
};
|
|
9581
9574
|
};
|
|
@@ -10018,9 +10011,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10018
10011
|
*/
|
|
10019
10012
|
async roleControllerCreate(roleCreateInputDTO, options) {
|
|
10020
10013
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerCreate(roleCreateInputDTO, options);
|
|
10021
|
-
const
|
|
10022
|
-
const
|
|
10023
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10014
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10015
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerCreate']?.[index]?.url;
|
|
10016
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10024
10017
|
},
|
|
10025
10018
|
/**
|
|
10026
10019
|
* Required permissions: `READ_ROLES`<br> OperationId: `RoleControllerGetOne`
|
|
@@ -10031,9 +10024,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10031
10024
|
*/
|
|
10032
10025
|
async roleControllerGetOne(id, options) {
|
|
10033
10026
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerGetOne(id, options);
|
|
10034
|
-
const
|
|
10035
|
-
const
|
|
10036
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10027
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10028
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerGetOne']?.[index]?.url;
|
|
10029
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10037
10030
|
},
|
|
10038
10031
|
/**
|
|
10039
10032
|
* <br> OperationId: `RoleControllerGetPermissions`
|
|
@@ -10043,9 +10036,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10043
10036
|
*/
|
|
10044
10037
|
async roleControllerGetPermissions(options) {
|
|
10045
10038
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerGetPermissions(options);
|
|
10046
|
-
const
|
|
10047
|
-
const
|
|
10048
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10039
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10040
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerGetPermissions']?.[index]?.url;
|
|
10041
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10049
10042
|
},
|
|
10050
10043
|
/**
|
|
10051
10044
|
* Required permissions: `MANAGE_ROLES`<br> OperationId: `RoleControllerRemove`
|
|
@@ -10056,9 +10049,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10056
10049
|
*/
|
|
10057
10050
|
async roleControllerRemove(id, options) {
|
|
10058
10051
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerRemove(id, options);
|
|
10059
|
-
const
|
|
10060
|
-
const
|
|
10061
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10052
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10053
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerRemove']?.[index]?.url;
|
|
10054
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10062
10055
|
},
|
|
10063
10056
|
/**
|
|
10064
10057
|
* Required permissions: `READ_ROLES`<br> OperationId: `RoleControllerSearch`
|
|
@@ -10069,9 +10062,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10069
10062
|
*/
|
|
10070
10063
|
async roleControllerSearch(roleSearchInputDTO, options) {
|
|
10071
10064
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerSearch(roleSearchInputDTO, options);
|
|
10072
|
-
const
|
|
10073
|
-
const
|
|
10074
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10065
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10066
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerSearch']?.[index]?.url;
|
|
10067
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10075
10068
|
},
|
|
10076
10069
|
/**
|
|
10077
10070
|
* Required permissions: `MANAGE_ROLES`<br> OperationId: `RoleControllerUpdate`
|
|
@@ -10083,9 +10076,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10083
10076
|
*/
|
|
10084
10077
|
async roleControllerUpdate(id, roleUpdateInputDTO, options) {
|
|
10085
10078
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerUpdate(id, roleUpdateInputDTO, options);
|
|
10086
|
-
const
|
|
10087
|
-
const
|
|
10088
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10079
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10080
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerUpdate']?.[index]?.url;
|
|
10081
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10089
10082
|
},
|
|
10090
10083
|
};
|
|
10091
10084
|
};
|
|
@@ -10403,9 +10396,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10403
10396
|
*/
|
|
10404
10397
|
async settingsControllerDelete(key, gameServerId, options) {
|
|
10405
10398
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerDelete(key, gameServerId, options);
|
|
10406
|
-
const
|
|
10407
|
-
const
|
|
10408
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10399
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10400
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerDelete']?.[index]?.url;
|
|
10401
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10409
10402
|
},
|
|
10410
10403
|
/**
|
|
10411
10404
|
* <br> OperationId: `SettingsControllerGet`
|
|
@@ -10417,9 +10410,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10417
10410
|
*/
|
|
10418
10411
|
async settingsControllerGet(keys, gameServerId, options) {
|
|
10419
10412
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerGet(keys, gameServerId, options);
|
|
10420
|
-
const
|
|
10421
|
-
const
|
|
10422
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10413
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10414
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerGet']?.[index]?.url;
|
|
10415
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10423
10416
|
},
|
|
10424
10417
|
/**
|
|
10425
10418
|
* <br> OperationId: `SettingsControllerGetOne`
|
|
@@ -10431,9 +10424,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10431
10424
|
*/
|
|
10432
10425
|
async settingsControllerGetOne(key, gameServerId, options) {
|
|
10433
10426
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerGetOne(key, gameServerId, options);
|
|
10434
|
-
const
|
|
10435
|
-
const
|
|
10436
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10427
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10428
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerGetOne']?.[index]?.url;
|
|
10429
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10437
10430
|
},
|
|
10438
10431
|
/**
|
|
10439
10432
|
* Required permissions: `MANAGE_SETTINGS`<br> OperationId: `SettingsControllerSet`
|
|
@@ -10445,9 +10438,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10445
10438
|
*/
|
|
10446
10439
|
async settingsControllerSet(key, settingsSetDTO, options) {
|
|
10447
10440
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerSet(key, settingsSetDTO, options);
|
|
10448
|
-
const
|
|
10449
|
-
const
|
|
10450
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10441
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10442
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerSet']?.[index]?.url;
|
|
10443
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10451
10444
|
},
|
|
10452
10445
|
};
|
|
10453
10446
|
};
|
|
@@ -11375,9 +11368,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11375
11368
|
*/
|
|
11376
11369
|
async shopCategoryControllerBulkAssign(shopCategoryBulkAssignDTO, options) {
|
|
11377
11370
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerBulkAssign(shopCategoryBulkAssignDTO, options);
|
|
11378
|
-
const
|
|
11379
|
-
const
|
|
11380
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11371
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11372
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerBulkAssign']?.[index]?.url;
|
|
11373
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11381
11374
|
},
|
|
11382
11375
|
/**
|
|
11383
11376
|
* Create a new shop category Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerCreate`
|
|
@@ -11388,9 +11381,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11388
11381
|
*/
|
|
11389
11382
|
async shopCategoryControllerCreate(shopCategoryCreateDTO, options) {
|
|
11390
11383
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerCreate(shopCategoryCreateDTO, options);
|
|
11391
|
-
const
|
|
11392
|
-
const
|
|
11393
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11384
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11385
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerCreate']?.[index]?.url;
|
|
11386
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11394
11387
|
},
|
|
11395
11388
|
/**
|
|
11396
11389
|
* Get all shop categories<br> OperationId: `ShopCategoryControllerGetAll`
|
|
@@ -11401,9 +11394,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11401
11394
|
*/
|
|
11402
11395
|
async shopCategoryControllerGetAll(gameServerId, options) {
|
|
11403
11396
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerGetAll(gameServerId, options);
|
|
11404
|
-
const
|
|
11405
|
-
const
|
|
11406
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11397
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11398
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerGetAll']?.[index]?.url;
|
|
11399
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11407
11400
|
},
|
|
11408
11401
|
/**
|
|
11409
11402
|
* Get a shop category by id<br> OperationId: `ShopCategoryControllerGetOne`
|
|
@@ -11415,9 +11408,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11415
11408
|
*/
|
|
11416
11409
|
async shopCategoryControllerGetOne(id, gameServerId, options) {
|
|
11417
11410
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerGetOne(id, gameServerId, options);
|
|
11418
|
-
const
|
|
11419
|
-
const
|
|
11420
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11411
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11412
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerGetOne']?.[index]?.url;
|
|
11413
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11421
11414
|
},
|
|
11422
11415
|
/**
|
|
11423
11416
|
* Move a shop category to a different parent Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerMove`
|
|
@@ -11429,9 +11422,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11429
11422
|
*/
|
|
11430
11423
|
async shopCategoryControllerMove(id, shopCategoryMoveDTO, options) {
|
|
11431
11424
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerMove(id, shopCategoryMoveDTO, options);
|
|
11432
|
-
const
|
|
11433
|
-
const
|
|
11434
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11425
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11426
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerMove']?.[index]?.url;
|
|
11427
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11435
11428
|
},
|
|
11436
11429
|
/**
|
|
11437
11430
|
* Delete a shop category Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerRemove`
|
|
@@ -11442,9 +11435,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11442
11435
|
*/
|
|
11443
11436
|
async shopCategoryControllerRemove(id, options) {
|
|
11444
11437
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerRemove(id, options);
|
|
11445
|
-
const
|
|
11446
|
-
const
|
|
11447
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11438
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11439
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerRemove']?.[index]?.url;
|
|
11440
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11448
11441
|
},
|
|
11449
11442
|
/**
|
|
11450
11443
|
* Search shop categories<br> OperationId: `ShopCategoryControllerSearch`
|
|
@@ -11455,9 +11448,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11455
11448
|
*/
|
|
11456
11449
|
async shopCategoryControllerSearch(shopCategorySearchInputDTO, options) {
|
|
11457
11450
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerSearch(shopCategorySearchInputDTO, options);
|
|
11458
|
-
const
|
|
11459
|
-
const
|
|
11460
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11451
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11452
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerSearch']?.[index]?.url;
|
|
11453
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11461
11454
|
},
|
|
11462
11455
|
/**
|
|
11463
11456
|
* Update a shop category Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerUpdate`
|
|
@@ -11469,9 +11462,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11469
11462
|
*/
|
|
11470
11463
|
async shopCategoryControllerUpdate(id, shopCategoryUpdateDTO, options) {
|
|
11471
11464
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerUpdate(id, shopCategoryUpdateDTO, options);
|
|
11472
|
-
const
|
|
11473
|
-
const
|
|
11474
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11465
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11466
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerUpdate']?.[index]?.url;
|
|
11467
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11475
11468
|
},
|
|
11476
11469
|
};
|
|
11477
11470
|
};
|
|
@@ -11892,9 +11885,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11892
11885
|
*/
|
|
11893
11886
|
async shopListingControllerCreate(shopListingCreateDTO, options) {
|
|
11894
11887
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerCreate(shopListingCreateDTO, options);
|
|
11895
|
-
const
|
|
11896
|
-
const
|
|
11897
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11888
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11889
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerCreate']?.[index]?.url;
|
|
11890
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11898
11891
|
},
|
|
11899
11892
|
/**
|
|
11900
11893
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerDelete`
|
|
@@ -11905,9 +11898,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11905
11898
|
*/
|
|
11906
11899
|
async shopListingControllerDelete(id, options) {
|
|
11907
11900
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerDelete(id, options);
|
|
11908
|
-
const
|
|
11909
|
-
const
|
|
11910
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11901
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11902
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerDelete']?.[index]?.url;
|
|
11903
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11911
11904
|
},
|
|
11912
11905
|
/**
|
|
11913
11906
|
* <br> OperationId: `ShopListingControllerGetOne`
|
|
@@ -11918,9 +11911,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11918
11911
|
*/
|
|
11919
11912
|
async shopListingControllerGetOne(id, options) {
|
|
11920
11913
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerGetOne(id, options);
|
|
11921
|
-
const
|
|
11922
|
-
const
|
|
11923
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11914
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11915
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerGetOne']?.[index]?.url;
|
|
11916
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11924
11917
|
},
|
|
11925
11918
|
/**
|
|
11926
11919
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerImportListings`
|
|
@@ -11930,9 +11923,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11930
11923
|
*/
|
|
11931
11924
|
async shopListingControllerImportListings(options) {
|
|
11932
11925
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
11933
|
-
const
|
|
11934
|
-
const
|
|
11935
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11926
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11927
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerImportListings']?.[index]?.url;
|
|
11928
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11936
11929
|
},
|
|
11937
11930
|
/**
|
|
11938
11931
|
* Search shop listings<br> OperationId: `ShopListingControllerSearch`
|
|
@@ -11943,9 +11936,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11943
11936
|
*/
|
|
11944
11937
|
async shopListingControllerSearch(shopListingSearchInputDTO, options) {
|
|
11945
11938
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerSearch(shopListingSearchInputDTO, options);
|
|
11946
|
-
const
|
|
11947
|
-
const
|
|
11948
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11939
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11940
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerSearch']?.[index]?.url;
|
|
11941
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11949
11942
|
},
|
|
11950
11943
|
/**
|
|
11951
11944
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerUpdate`
|
|
@@ -11957,9 +11950,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11957
11950
|
*/
|
|
11958
11951
|
async shopListingControllerUpdate(id, shopListingUpdateDTO, options) {
|
|
11959
11952
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerUpdate(id, shopListingUpdateDTO, options);
|
|
11960
|
-
const
|
|
11961
|
-
const
|
|
11962
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11953
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11954
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerUpdate']?.[index]?.url;
|
|
11955
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11963
11956
|
},
|
|
11964
11957
|
};
|
|
11965
11958
|
};
|
|
@@ -12293,9 +12286,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
12293
12286
|
*/
|
|
12294
12287
|
async shopOrderControllerCancel(id, options) {
|
|
12295
12288
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
12296
|
-
const
|
|
12297
|
-
const
|
|
12298
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12289
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12290
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[index]?.url;
|
|
12291
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12299
12292
|
},
|
|
12300
12293
|
/**
|
|
12301
12294
|
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
@@ -12306,9 +12299,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
12306
12299
|
*/
|
|
12307
12300
|
async shopOrderControllerClaim(id, options) {
|
|
12308
12301
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
12309
|
-
const
|
|
12310
|
-
const
|
|
12311
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12302
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12303
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[index]?.url;
|
|
12304
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12312
12305
|
},
|
|
12313
12306
|
/**
|
|
12314
12307
|
* <br> OperationId: `ShopOrderControllerCreate`
|
|
@@ -12319,9 +12312,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
12319
12312
|
*/
|
|
12320
12313
|
async shopOrderControllerCreate(shopOrderCreateDTO, options) {
|
|
12321
12314
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCreate(shopOrderCreateDTO, options);
|
|
12322
|
-
const
|
|
12323
|
-
const
|
|
12324
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12315
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12316
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerCreate']?.[index]?.url;
|
|
12317
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12325
12318
|
},
|
|
12326
12319
|
/**
|
|
12327
12320
|
* Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
|
|
@@ -12332,9 +12325,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
12332
12325
|
*/
|
|
12333
12326
|
async shopOrderControllerGetOne(id, options) {
|
|
12334
12327
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerGetOne(id, options);
|
|
12335
|
-
const
|
|
12336
|
-
const
|
|
12337
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12328
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12329
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerGetOne']?.[index]?.url;
|
|
12330
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12338
12331
|
},
|
|
12339
12332
|
/**
|
|
12340
12333
|
* Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
|
|
@@ -12345,9 +12338,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
12345
12338
|
*/
|
|
12346
12339
|
async shopOrderControllerSearch(shopOrderSearchInputDTO, options) {
|
|
12347
12340
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerSearch(shopOrderSearchInputDTO, options);
|
|
12348
|
-
const
|
|
12349
|
-
const
|
|
12350
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12341
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12342
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerSearch']?.[index]?.url;
|
|
12343
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12351
12344
|
},
|
|
12352
12345
|
};
|
|
12353
12346
|
};
|
|
@@ -12499,8 +12492,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12499
12492
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
12500
12493
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
12501
12494
|
* @param {string} [gameServerId]
|
|
12502
|
-
* @param {
|
|
12503
|
-
* @param {
|
|
12495
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12496
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12504
12497
|
* @param {*} [options] Override http request option.
|
|
12505
12498
|
* @throws {RequiredError}
|
|
12506
12499
|
*/
|
|
@@ -12578,8 +12571,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12578
12571
|
* @summary Get currency stats
|
|
12579
12572
|
* @param {string} gameServerId
|
|
12580
12573
|
* @param {string} [playerId]
|
|
12581
|
-
* @param {
|
|
12582
|
-
* @param {
|
|
12574
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12575
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12583
12576
|
* @param {*} [options] Override http request option.
|
|
12584
12577
|
* @throws {RequiredError}
|
|
12585
12578
|
*/
|
|
@@ -12627,8 +12620,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12627
12620
|
* @param {string} [moduleId]
|
|
12628
12621
|
* @param {string} [playerId]
|
|
12629
12622
|
* @param {string} [userId]
|
|
12630
|
-
* @param {
|
|
12631
|
-
* @param {
|
|
12623
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12624
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12632
12625
|
* @param {*} [options] Override http request option.
|
|
12633
12626
|
* @throws {RequiredError}
|
|
12634
12627
|
*/
|
|
@@ -12687,8 +12680,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12687
12680
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
12688
12681
|
* @summary Get latency stats
|
|
12689
12682
|
* @param {string} gameServerId
|
|
12690
|
-
* @param {
|
|
12691
|
-
* @param {
|
|
12683
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12684
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12692
12685
|
* @param {*} [options] Override http request option.
|
|
12693
12686
|
* @throws {RequiredError}
|
|
12694
12687
|
*/
|
|
@@ -12728,8 +12721,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12728
12721
|
* @summary Get ping stats
|
|
12729
12722
|
* @param {string} gameServerId
|
|
12730
12723
|
* @param {string} playerId
|
|
12731
|
-
* @param {
|
|
12732
|
-
* @param {
|
|
12724
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12725
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12733
12726
|
* @param {*} [options] Override http request option.
|
|
12734
12727
|
* @throws {RequiredError}
|
|
12735
12728
|
*/
|
|
@@ -12773,8 +12766,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12773
12766
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
12774
12767
|
* @summary Get player online stats
|
|
12775
12768
|
* @param {string} [gameServerId]
|
|
12776
|
-
* @param {
|
|
12777
|
-
* @param {
|
|
12769
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12770
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12778
12771
|
* @param {*} [options] Override http request option.
|
|
12779
12772
|
* @throws {RequiredError}
|
|
12780
12773
|
*/
|
|
@@ -12822,16 +12815,16 @@ export const StatsApiFp = function (configuration) {
|
|
|
12822
12815
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
12823
12816
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
12824
12817
|
* @param {string} [gameServerId]
|
|
12825
|
-
* @param {
|
|
12826
|
-
* @param {
|
|
12818
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12819
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12827
12820
|
* @param {*} [options] Override http request option.
|
|
12828
12821
|
* @throws {RequiredError}
|
|
12829
12822
|
*/
|
|
12830
12823
|
async statsControllerGetActivityStats(timeType, dataType, gameServerId, startDate, endDate, options) {
|
|
12831
12824
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetActivityStats(timeType, dataType, gameServerId, startDate, endDate, options);
|
|
12832
|
-
const
|
|
12833
|
-
const
|
|
12834
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12825
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12826
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetActivityStats']?.[index]?.url;
|
|
12827
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12835
12828
|
},
|
|
12836
12829
|
/**
|
|
12837
12830
|
* Calculates how many players are from each country. Returns a count per country (ISO3166). Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetCountryStats`
|
|
@@ -12842,25 +12835,25 @@ export const StatsApiFp = function (configuration) {
|
|
|
12842
12835
|
*/
|
|
12843
12836
|
async statsControllerGetCountryStats(gameServerId, options) {
|
|
12844
12837
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetCountryStats(gameServerId, options);
|
|
12845
|
-
const
|
|
12846
|
-
const
|
|
12847
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12838
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12839
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetCountryStats']?.[index]?.url;
|
|
12840
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12848
12841
|
},
|
|
12849
12842
|
/**
|
|
12850
12843
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetCurrencyStats`
|
|
12851
12844
|
* @summary Get currency stats
|
|
12852
12845
|
* @param {string} gameServerId
|
|
12853
12846
|
* @param {string} [playerId]
|
|
12854
|
-
* @param {
|
|
12855
|
-
* @param {
|
|
12847
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12848
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12856
12849
|
* @param {*} [options] Override http request option.
|
|
12857
12850
|
* @throws {RequiredError}
|
|
12858
12851
|
*/
|
|
12859
12852
|
async statsControllerGetCurrencyStats(gameServerId, playerId, startDate, endDate, options) {
|
|
12860
12853
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetCurrencyStats(gameServerId, playerId, startDate, endDate, options);
|
|
12861
|
-
const
|
|
12862
|
-
const
|
|
12863
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12854
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12855
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetCurrencyStats']?.[index]?.url;
|
|
12856
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12864
12857
|
},
|
|
12865
12858
|
/**
|
|
12866
12859
|
* Calculates how many times an event type has occured over `bucketStep` time. Supports different filters and can return multiple series at a time. Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetEventsCount`
|
|
@@ -12872,62 +12865,62 @@ export const StatsApiFp = function (configuration) {
|
|
|
12872
12865
|
* @param {string} [moduleId]
|
|
12873
12866
|
* @param {string} [playerId]
|
|
12874
12867
|
* @param {string} [userId]
|
|
12875
|
-
* @param {
|
|
12876
|
-
* @param {
|
|
12868
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12869
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12877
12870
|
* @param {*} [options] Override http request option.
|
|
12878
12871
|
* @throws {RequiredError}
|
|
12879
12872
|
*/
|
|
12880
12873
|
async statsControllerGetEventsCount(eventName, bucketStep, sumBy, gameServerId, moduleId, playerId, userId, startDate, endDate, options) {
|
|
12881
12874
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetEventsCount(eventName, bucketStep, sumBy, gameServerId, moduleId, playerId, userId, startDate, endDate, options);
|
|
12882
|
-
const
|
|
12883
|
-
const
|
|
12884
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12875
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12876
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetEventsCount']?.[index]?.url;
|
|
12877
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12885
12878
|
},
|
|
12886
12879
|
/**
|
|
12887
12880
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
12888
12881
|
* @summary Get latency stats
|
|
12889
12882
|
* @param {string} gameServerId
|
|
12890
|
-
* @param {
|
|
12891
|
-
* @param {
|
|
12883
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12884
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12892
12885
|
* @param {*} [options] Override http request option.
|
|
12893
12886
|
* @throws {RequiredError}
|
|
12894
12887
|
*/
|
|
12895
12888
|
async statsControllerGetLatencyStats(gameServerId, startDate, endDate, options) {
|
|
12896
12889
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetLatencyStats(gameServerId, startDate, endDate, options);
|
|
12897
|
-
const
|
|
12898
|
-
const
|
|
12899
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12890
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12891
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetLatencyStats']?.[index]?.url;
|
|
12892
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12900
12893
|
},
|
|
12901
12894
|
/**
|
|
12902
12895
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPingStats`
|
|
12903
12896
|
* @summary Get ping stats
|
|
12904
12897
|
* @param {string} gameServerId
|
|
12905
12898
|
* @param {string} playerId
|
|
12906
|
-
* @param {
|
|
12907
|
-
* @param {
|
|
12899
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12900
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12908
12901
|
* @param {*} [options] Override http request option.
|
|
12909
12902
|
* @throws {RequiredError}
|
|
12910
12903
|
*/
|
|
12911
12904
|
async statsControllerGetPingStats(gameServerId, playerId, startDate, endDate, options) {
|
|
12912
12905
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetPingStats(gameServerId, playerId, startDate, endDate, options);
|
|
12913
|
-
const
|
|
12914
|
-
const
|
|
12915
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12906
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12907
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetPingStats']?.[index]?.url;
|
|
12908
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12916
12909
|
},
|
|
12917
12910
|
/**
|
|
12918
12911
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
12919
12912
|
* @summary Get player online stats
|
|
12920
12913
|
* @param {string} [gameServerId]
|
|
12921
|
-
* @param {
|
|
12922
|
-
* @param {
|
|
12914
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12915
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12923
12916
|
* @param {*} [options] Override http request option.
|
|
12924
12917
|
* @throws {RequiredError}
|
|
12925
12918
|
*/
|
|
12926
12919
|
async statsControllerGetPlayerOnlineStats(gameServerId, startDate, endDate, options) {
|
|
12927
12920
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetPlayerOnlineStats(gameServerId, startDate, endDate, options);
|
|
12928
|
-
const
|
|
12929
|
-
const
|
|
12930
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12921
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12922
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetPlayerOnlineStats']?.[index]?.url;
|
|
12923
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12931
12924
|
},
|
|
12932
12925
|
};
|
|
12933
12926
|
};
|
|
@@ -12944,8 +12937,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12944
12937
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
12945
12938
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
12946
12939
|
* @param {string} [gameServerId]
|
|
12947
|
-
* @param {
|
|
12948
|
-
* @param {
|
|
12940
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12941
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12949
12942
|
* @param {*} [options] Override http request option.
|
|
12950
12943
|
* @throws {RequiredError}
|
|
12951
12944
|
*/
|
|
@@ -12971,8 +12964,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12971
12964
|
* @summary Get currency stats
|
|
12972
12965
|
* @param {string} gameServerId
|
|
12973
12966
|
* @param {string} [playerId]
|
|
12974
|
-
* @param {
|
|
12975
|
-
* @param {
|
|
12967
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12968
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12976
12969
|
* @param {*} [options] Override http request option.
|
|
12977
12970
|
* @throws {RequiredError}
|
|
12978
12971
|
*/
|
|
@@ -12991,8 +12984,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12991
12984
|
* @param {string} [moduleId]
|
|
12992
12985
|
* @param {string} [playerId]
|
|
12993
12986
|
* @param {string} [userId]
|
|
12994
|
-
* @param {
|
|
12995
|
-
* @param {
|
|
12987
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12988
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12996
12989
|
* @param {*} [options] Override http request option.
|
|
12997
12990
|
* @throws {RequiredError}
|
|
12998
12991
|
*/
|
|
@@ -13005,8 +12998,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
13005
12998
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
13006
12999
|
* @summary Get latency stats
|
|
13007
13000
|
* @param {string} gameServerId
|
|
13008
|
-
* @param {
|
|
13009
|
-
* @param {
|
|
13001
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13002
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13010
13003
|
* @param {*} [options] Override http request option.
|
|
13011
13004
|
* @throws {RequiredError}
|
|
13012
13005
|
*/
|
|
@@ -13020,8 +13013,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
13020
13013
|
* @summary Get ping stats
|
|
13021
13014
|
* @param {string} gameServerId
|
|
13022
13015
|
* @param {string} playerId
|
|
13023
|
-
* @param {
|
|
13024
|
-
* @param {
|
|
13016
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13017
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13025
13018
|
* @param {*} [options] Override http request option.
|
|
13026
13019
|
* @throws {RequiredError}
|
|
13027
13020
|
*/
|
|
@@ -13034,8 +13027,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
13034
13027
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
13035
13028
|
* @summary Get player online stats
|
|
13036
13029
|
* @param {string} [gameServerId]
|
|
13037
|
-
* @param {
|
|
13038
|
-
* @param {
|
|
13030
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13031
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13039
13032
|
* @param {*} [options] Override http request option.
|
|
13040
13033
|
* @throws {RequiredError}
|
|
13041
13034
|
*/
|
|
@@ -13059,8 +13052,8 @@ export class StatsApi extends BaseAPI {
|
|
|
13059
13052
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
13060
13053
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
13061
13054
|
* @param {string} [gameServerId]
|
|
13062
|
-
* @param {
|
|
13063
|
-
* @param {
|
|
13055
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13056
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13064
13057
|
* @param {*} [options] Override http request option.
|
|
13065
13058
|
* @throws {RequiredError}
|
|
13066
13059
|
* @memberof StatsApi
|
|
@@ -13088,8 +13081,8 @@ export class StatsApi extends BaseAPI {
|
|
|
13088
13081
|
* @summary Get currency stats
|
|
13089
13082
|
* @param {string} gameServerId
|
|
13090
13083
|
* @param {string} [playerId]
|
|
13091
|
-
* @param {
|
|
13092
|
-
* @param {
|
|
13084
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13085
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13093
13086
|
* @param {*} [options] Override http request option.
|
|
13094
13087
|
* @throws {RequiredError}
|
|
13095
13088
|
* @memberof StatsApi
|
|
@@ -13109,8 +13102,8 @@ export class StatsApi extends BaseAPI {
|
|
|
13109
13102
|
* @param {string} [moduleId]
|
|
13110
13103
|
* @param {string} [playerId]
|
|
13111
13104
|
* @param {string} [userId]
|
|
13112
|
-
* @param {
|
|
13113
|
-
* @param {
|
|
13105
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13106
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13114
13107
|
* @param {*} [options] Override http request option.
|
|
13115
13108
|
* @throws {RequiredError}
|
|
13116
13109
|
* @memberof StatsApi
|
|
@@ -13124,8 +13117,8 @@ export class StatsApi extends BaseAPI {
|
|
|
13124
13117
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
13125
13118
|
* @summary Get latency stats
|
|
13126
13119
|
* @param {string} gameServerId
|
|
13127
|
-
* @param {
|
|
13128
|
-
* @param {
|
|
13120
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13121
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13129
13122
|
* @param {*} [options] Override http request option.
|
|
13130
13123
|
* @throws {RequiredError}
|
|
13131
13124
|
* @memberof StatsApi
|
|
@@ -13140,8 +13133,8 @@ export class StatsApi extends BaseAPI {
|
|
|
13140
13133
|
* @summary Get ping stats
|
|
13141
13134
|
* @param {string} gameServerId
|
|
13142
13135
|
* @param {string} playerId
|
|
13143
|
-
* @param {
|
|
13144
|
-
* @param {
|
|
13136
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13137
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13145
13138
|
* @param {*} [options] Override http request option.
|
|
13146
13139
|
* @throws {RequiredError}
|
|
13147
13140
|
* @memberof StatsApi
|
|
@@ -13155,8 +13148,8 @@ export class StatsApi extends BaseAPI {
|
|
|
13155
13148
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
13156
13149
|
* @summary Get player online stats
|
|
13157
13150
|
* @param {string} [gameServerId]
|
|
13158
|
-
* @param {
|
|
13159
|
-
* @param {
|
|
13151
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13152
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13160
13153
|
* @param {*} [options] Override http request option.
|
|
13161
13154
|
* @throws {RequiredError}
|
|
13162
13155
|
* @memberof StatsApi
|
|
@@ -13417,9 +13410,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
13417
13410
|
*/
|
|
13418
13411
|
async trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options) {
|
|
13419
13412
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options);
|
|
13420
|
-
const
|
|
13421
|
-
const
|
|
13422
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
13413
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13414
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetBoundingBoxPlayers']?.[index]?.url;
|
|
13415
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13423
13416
|
},
|
|
13424
13417
|
/**
|
|
13425
13418
|
* Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
|
|
@@ -13430,10 +13423,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
13430
13423
|
*/
|
|
13431
13424
|
async trackingControllerGetPlayerInventoryHistory(playerInventoryHistoryInputDTO, options) {
|
|
13432
13425
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPlayerInventoryHistory(playerInventoryHistoryInputDTO, options);
|
|
13433
|
-
const
|
|
13434
|
-
const
|
|
13435
|
-
|
|
13436
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13426
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13427
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetPlayerInventoryHistory']?.[index]?.url;
|
|
13428
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13437
13429
|
},
|
|
13438
13430
|
/**
|
|
13439
13431
|
* Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
|
|
@@ -13444,10 +13436,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
13444
13436
|
*/
|
|
13445
13437
|
async trackingControllerGetPlayerMovementHistory(playerMovementHistoryInputDTO, options) {
|
|
13446
13438
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPlayerMovementHistory(playerMovementHistoryInputDTO, options);
|
|
13447
|
-
const
|
|
13448
|
-
const
|
|
13449
|
-
|
|
13450
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13439
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13440
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetPlayerMovementHistory']?.[index]?.url;
|
|
13441
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13451
13442
|
},
|
|
13452
13443
|
/**
|
|
13453
13444
|
* Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
|
|
@@ -13458,9 +13449,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
13458
13449
|
*/
|
|
13459
13450
|
async trackingControllerGetPlayersByItem(playersByItemInputDTO, options) {
|
|
13460
13451
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPlayersByItem(playersByItemInputDTO, options);
|
|
13461
|
-
const
|
|
13462
|
-
const
|
|
13463
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
13452
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13453
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetPlayersByItem']?.[index]?.url;
|
|
13454
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13464
13455
|
},
|
|
13465
13456
|
/**
|
|
13466
13457
|
* Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
|
|
@@ -13471,9 +13462,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
13471
13462
|
*/
|
|
13472
13463
|
async trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options) {
|
|
13473
13464
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options);
|
|
13474
|
-
const
|
|
13475
|
-
const
|
|
13476
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
13465
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13466
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetRadiusPlayers']?.[index]?.url;
|
|
13467
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13477
13468
|
},
|
|
13478
13469
|
};
|
|
13479
13470
|
};
|
|
@@ -14058,9 +14049,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14058
14049
|
*/
|
|
14059
14050
|
async userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options) {
|
|
14060
14051
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options);
|
|
14061
|
-
const
|
|
14062
|
-
const
|
|
14063
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14052
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14053
|
+
const operationBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[index]?.url;
|
|
14054
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14064
14055
|
},
|
|
14065
14056
|
/**
|
|
14066
14057
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
@@ -14071,9 +14062,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14071
14062
|
*/
|
|
14072
14063
|
async userControllerCreate(userCreateInputDTO, options) {
|
|
14073
14064
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCreate(userCreateInputDTO, options);
|
|
14074
|
-
const
|
|
14075
|
-
const
|
|
14076
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14065
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14066
|
+
const operationBasePath = operationServerMap['UserApi.userControllerCreate']?.[index]?.url;
|
|
14067
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14077
14068
|
},
|
|
14078
14069
|
/**
|
|
14079
14070
|
* Unset the selected domain for the user, this will clear the domain cookie. On the next request, the backend will set this again.<br> OperationId: `UserControllerDeleteSelectedDomainCookie`
|
|
@@ -14083,9 +14074,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14083
14074
|
*/
|
|
14084
14075
|
async userControllerDeleteSelectedDomainCookie(options) {
|
|
14085
14076
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerDeleteSelectedDomainCookie(options);
|
|
14086
|
-
const
|
|
14087
|
-
const
|
|
14088
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14077
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14078
|
+
const operationBasePath = operationServerMap['UserApi.userControllerDeleteSelectedDomainCookie']?.[index]?.url;
|
|
14079
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14089
14080
|
},
|
|
14090
14081
|
/**
|
|
14091
14082
|
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerGetOne`
|
|
@@ -14096,9 +14087,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14096
14087
|
*/
|
|
14097
14088
|
async userControllerGetOne(id, options) {
|
|
14098
14089
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerGetOne(id, options);
|
|
14099
|
-
const
|
|
14100
|
-
const
|
|
14101
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14090
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14091
|
+
const operationBasePath = operationServerMap['UserApi.userControllerGetOne']?.[index]?.url;
|
|
14092
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14102
14093
|
},
|
|
14103
14094
|
/**
|
|
14104
14095
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerInvite`
|
|
@@ -14109,9 +14100,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14109
14100
|
*/
|
|
14110
14101
|
async userControllerInvite(inviteCreateDTO, options) {
|
|
14111
14102
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerInvite(inviteCreateDTO, options);
|
|
14112
|
-
const
|
|
14113
|
-
const
|
|
14114
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14103
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14104
|
+
const operationBasePath = operationServerMap['UserApi.userControllerInvite']?.[index]?.url;
|
|
14105
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14115
14106
|
},
|
|
14116
14107
|
/**
|
|
14117
14108
|
* Link your player profile to Takaro, allowing web access for things like shop and stats. To get the code, use the /link command in the game.<br> OperationId: `UserControllerLinkPlayerProfile`
|
|
@@ -14122,9 +14113,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14122
14113
|
*/
|
|
14123
14114
|
async userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options) {
|
|
14124
14115
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options);
|
|
14125
|
-
const
|
|
14126
|
-
const
|
|
14127
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14116
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14117
|
+
const operationBasePath = operationServerMap['UserApi.userControllerLinkPlayerProfile']?.[index]?.url;
|
|
14118
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14128
14119
|
},
|
|
14129
14120
|
/**
|
|
14130
14121
|
* <br> OperationId: `UserControllerLogin`
|
|
@@ -14135,9 +14126,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14135
14126
|
*/
|
|
14136
14127
|
async userControllerLogin(loginDTO, options) {
|
|
14137
14128
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerLogin(loginDTO, options);
|
|
14138
|
-
const
|
|
14139
|
-
const
|
|
14140
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14129
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14130
|
+
const operationBasePath = operationServerMap['UserApi.userControllerLogin']?.[index]?.url;
|
|
14131
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14141
14132
|
},
|
|
14142
14133
|
/**
|
|
14143
14134
|
* <br> OperationId: `UserControllerLogout`
|
|
@@ -14147,9 +14138,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14147
14138
|
*/
|
|
14148
14139
|
async userControllerLogout(options) {
|
|
14149
14140
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerLogout(options);
|
|
14150
|
-
const
|
|
14151
|
-
const
|
|
14152
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14141
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14142
|
+
const operationBasePath = operationServerMap['UserApi.userControllerLogout']?.[index]?.url;
|
|
14143
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14153
14144
|
},
|
|
14154
14145
|
/**
|
|
14155
14146
|
* Get the current user and the domains that the user has access to. Note that you can only make requests in the scope of a single domain. In order to switch the domain, you need to use the domain selection endpoints<br> OperationId: `UserControllerMe`
|
|
@@ -14159,9 +14150,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14159
14150
|
*/
|
|
14160
14151
|
async userControllerMe(options) {
|
|
14161
14152
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerMe(options);
|
|
14162
|
-
const
|
|
14163
|
-
const
|
|
14164
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14153
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14154
|
+
const operationBasePath = operationServerMap['UserApi.userControllerMe']?.[index]?.url;
|
|
14155
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14165
14156
|
},
|
|
14166
14157
|
/**
|
|
14167
14158
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerRemove`
|
|
@@ -14172,9 +14163,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14172
14163
|
*/
|
|
14173
14164
|
async userControllerRemove(id, options) {
|
|
14174
14165
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerRemove(id, options);
|
|
14175
|
-
const
|
|
14176
|
-
const
|
|
14177
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14166
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14167
|
+
const operationBasePath = operationServerMap['UserApi.userControllerRemove']?.[index]?.url;
|
|
14168
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14178
14169
|
},
|
|
14179
14170
|
/**
|
|
14180
14171
|
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `UserControllerRemoveRole`
|
|
@@ -14186,9 +14177,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14186
14177
|
*/
|
|
14187
14178
|
async userControllerRemoveRole(id, roleId, options) {
|
|
14188
14179
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerRemoveRole(id, roleId, options);
|
|
14189
|
-
const
|
|
14190
|
-
const
|
|
14191
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14180
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14181
|
+
const operationBasePath = operationServerMap['UserApi.userControllerRemoveRole']?.[index]?.url;
|
|
14182
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14192
14183
|
},
|
|
14193
14184
|
/**
|
|
14194
14185
|
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerSearch`
|
|
@@ -14199,9 +14190,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14199
14190
|
*/
|
|
14200
14191
|
async userControllerSearch(userSearchInputDTO, options) {
|
|
14201
14192
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerSearch(userSearchInputDTO, options);
|
|
14202
|
-
const
|
|
14203
|
-
const
|
|
14204
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14193
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14194
|
+
const operationBasePath = operationServerMap['UserApi.userControllerSearch']?.[index]?.url;
|
|
14195
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14205
14196
|
},
|
|
14206
14197
|
/**
|
|
14207
14198
|
* One user can have multiple domains, this endpoint is a helper to set the selected domain for the user<br> OperationId: `UserControllerSetSelectedDomain`
|
|
@@ -14212,9 +14203,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14212
14203
|
*/
|
|
14213
14204
|
async userControllerSetSelectedDomain(domainId, options) {
|
|
14214
14205
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerSetSelectedDomain(domainId, options);
|
|
14215
|
-
const
|
|
14216
|
-
const
|
|
14217
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14206
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14207
|
+
const operationBasePath = operationServerMap['UserApi.userControllerSetSelectedDomain']?.[index]?.url;
|
|
14208
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14218
14209
|
},
|
|
14219
14210
|
/**
|
|
14220
14211
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerUpdate`
|
|
@@ -14226,9 +14217,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14226
14217
|
*/
|
|
14227
14218
|
async userControllerUpdate(id, userUpdateDTO, options) {
|
|
14228
14219
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerUpdate(id, userUpdateDTO, options);
|
|
14229
|
-
const
|
|
14230
|
-
const
|
|
14231
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14220
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14221
|
+
const operationBasePath = operationServerMap['UserApi.userControllerUpdate']?.[index]?.url;
|
|
14222
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14232
14223
|
},
|
|
14233
14224
|
};
|
|
14234
14225
|
};
|
|
@@ -14749,9 +14740,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14749
14740
|
*/
|
|
14750
14741
|
async variableControllerCreate(variableCreateDTO, options) {
|
|
14751
14742
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerCreate(variableCreateDTO, options);
|
|
14752
|
-
const
|
|
14753
|
-
const
|
|
14754
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14743
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14744
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerCreate']?.[index]?.url;
|
|
14745
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14755
14746
|
},
|
|
14756
14747
|
/**
|
|
14757
14748
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerDelete`
|
|
@@ -14762,9 +14753,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14762
14753
|
*/
|
|
14763
14754
|
async variableControllerDelete(id, options) {
|
|
14764
14755
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerDelete(id, options);
|
|
14765
|
-
const
|
|
14766
|
-
const
|
|
14767
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14756
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14757
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerDelete']?.[index]?.url;
|
|
14758
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14768
14759
|
},
|
|
14769
14760
|
/**
|
|
14770
14761
|
* Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerFindOne`
|
|
@@ -14775,9 +14766,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14775
14766
|
*/
|
|
14776
14767
|
async variableControllerFindOne(id, options) {
|
|
14777
14768
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerFindOne(id, options);
|
|
14778
|
-
const
|
|
14779
|
-
const
|
|
14780
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14769
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14770
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerFindOne']?.[index]?.url;
|
|
14771
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14781
14772
|
},
|
|
14782
14773
|
/**
|
|
14783
14774
|
* Search variables Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerSearch`
|
|
@@ -14788,9 +14779,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14788
14779
|
*/
|
|
14789
14780
|
async variableControllerSearch(variableSearchInputDTO, options) {
|
|
14790
14781
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerSearch(variableSearchInputDTO, options);
|
|
14791
|
-
const
|
|
14792
|
-
const
|
|
14793
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14782
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14783
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerSearch']?.[index]?.url;
|
|
14784
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14794
14785
|
},
|
|
14795
14786
|
/**
|
|
14796
14787
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerUpdate`
|
|
@@ -14802,9 +14793,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14802
14793
|
*/
|
|
14803
14794
|
async variableControllerUpdate(id, variableUpdateDTO, options) {
|
|
14804
14795
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerUpdate(id, variableUpdateDTO, options);
|
|
14805
|
-
const
|
|
14806
|
-
const
|
|
14807
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14796
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14797
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerUpdate']?.[index]?.url;
|
|
14798
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14808
14799
|
},
|
|
14809
14800
|
};
|
|
14810
14801
|
};
|