@takaro/apiclient 0.5.2 → 0.6.0
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 +440 -279
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +610 -603
- package/dist/generated/api.js.map +1 -1
- package/dist/generated/configuration.js +1 -1
- package/dist/generated/configuration.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/api.ts +1039 -1178
- package/src/generated/configuration.ts +1 -1
package/dist/generated/api.js
CHANGED
|
@@ -142,6 +142,7 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
142
142
|
PlayerUnbanned: 'player-unbanned',
|
|
143
143
|
PlayerDeleted: 'player-deleted',
|
|
144
144
|
ShopActionExecuted: 'shop-action-executed',
|
|
145
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
145
146
|
PlayerConnected: 'player-connected',
|
|
146
147
|
PlayerDisconnected: 'player-disconnected',
|
|
147
148
|
ChatMessage: 'chat-message',
|
|
@@ -185,6 +186,7 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
185
186
|
PlayerUnbanned: 'player-unbanned',
|
|
186
187
|
PlayerDeleted: 'player-deleted',
|
|
187
188
|
ShopActionExecuted: 'shop-action-executed',
|
|
189
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
188
190
|
PlayerConnected: 'player-connected',
|
|
189
191
|
PlayerDisconnected: 'player-disconnected',
|
|
190
192
|
ChatMessage: 'chat-message',
|
|
@@ -228,6 +230,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
228
230
|
PlayerUnbanned: 'player-unbanned',
|
|
229
231
|
PlayerDeleted: 'player-deleted',
|
|
230
232
|
ShopActionExecuted: 'shop-action-executed',
|
|
233
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
231
234
|
PlayerConnected: 'player-connected',
|
|
232
235
|
PlayerDisconnected: 'player-disconnected',
|
|
233
236
|
ChatMessage: 'chat-message',
|
|
@@ -281,6 +284,7 @@ export const EventsCountInputDTOEventNameEnum = {
|
|
|
281
284
|
PlayerUnbanned: 'player-unbanned',
|
|
282
285
|
PlayerDeleted: 'player-deleted',
|
|
283
286
|
ShopActionExecuted: 'shop-action-executed',
|
|
287
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
284
288
|
PlayerConnected: 'player-connected',
|
|
285
289
|
PlayerDisconnected: 'player-disconnected',
|
|
286
290
|
ChatMessage: 'chat-message',
|
|
@@ -429,6 +433,7 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
429
433
|
PlayerUnbanned: 'player-unbanned',
|
|
430
434
|
PlayerDeleted: 'player-deleted',
|
|
431
435
|
ShopActionExecuted: 'shop-action-executed',
|
|
436
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
432
437
|
};
|
|
433
438
|
export const HookOutputDTOEventTypeEnum = {
|
|
434
439
|
Log: 'log',
|
|
@@ -474,6 +479,7 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
474
479
|
PlayerUnbanned: 'player-unbanned',
|
|
475
480
|
PlayerDeleted: 'player-deleted',
|
|
476
481
|
ShopActionExecuted: 'shop-action-executed',
|
|
482
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
477
483
|
};
|
|
478
484
|
export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
479
485
|
Log: 'log',
|
|
@@ -519,6 +525,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
519
525
|
PlayerUnbanned: 'player-unbanned',
|
|
520
526
|
PlayerDeleted: 'player-deleted',
|
|
521
527
|
ShopActionExecuted: 'shop-action-executed',
|
|
528
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
522
529
|
};
|
|
523
530
|
export const HookSearchInputDTOExtendEnum = {
|
|
524
531
|
Module: 'module',
|
|
@@ -572,6 +579,7 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
572
579
|
PlayerUnbanned: 'player-unbanned',
|
|
573
580
|
PlayerDeleted: 'player-deleted',
|
|
574
581
|
ShopActionExecuted: 'shop-action-executed',
|
|
582
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
575
583
|
};
|
|
576
584
|
export const HookUpdateDTOEventTypeEnum = {
|
|
577
585
|
Log: 'log',
|
|
@@ -617,6 +625,7 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
617
625
|
PlayerUnbanned: 'player-unbanned',
|
|
618
626
|
PlayerDeleted: 'player-deleted',
|
|
619
627
|
ShopActionExecuted: 'shop-action-executed',
|
|
628
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
620
629
|
};
|
|
621
630
|
export const IEntityDTOTypeEnum = {
|
|
622
631
|
Hostile: 'hostile',
|
|
@@ -667,6 +676,7 @@ export const IHookEventTypeEnum = {
|
|
|
667
676
|
PlayerUnbanned: 'player-unbanned',
|
|
668
677
|
PlayerDeleted: 'player-deleted',
|
|
669
678
|
ShopActionExecuted: 'shop-action-executed',
|
|
679
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
670
680
|
};
|
|
671
681
|
export const ITakaroQuerySortDirectionEnum = {
|
|
672
682
|
Asc: 'asc',
|
|
@@ -841,6 +851,11 @@ export const ShopOrderUpdateDTOStatusEnum = {
|
|
|
841
851
|
Paid: 'PAID',
|
|
842
852
|
Canceled: 'CANCELED',
|
|
843
853
|
};
|
|
854
|
+
export const TakaroEventPlayerInventoryChangedChangeTypeEnum = {
|
|
855
|
+
Added: 'added',
|
|
856
|
+
Removed: 'removed',
|
|
857
|
+
Changed: 'changed',
|
|
858
|
+
};
|
|
844
859
|
export const UserSearchInputDTOExtendEnum = {
|
|
845
860
|
Roles: 'roles',
|
|
846
861
|
};
|
|
@@ -916,9 +931,9 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
916
931
|
*/
|
|
917
932
|
async analyticsControllerGetShopAnalytics(gameServerIds, period, options) {
|
|
918
933
|
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetShopAnalytics(gameServerIds, period, options);
|
|
919
|
-
const
|
|
920
|
-
const
|
|
921
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
934
|
+
const index = configuration?.serverIndex ?? 0;
|
|
935
|
+
const operationBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetShopAnalytics']?.[index]?.url;
|
|
936
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
922
937
|
},
|
|
923
938
|
};
|
|
924
939
|
};
|
|
@@ -1307,9 +1322,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1307
1322
|
*/
|
|
1308
1323
|
async commandControllerCreate(commandCreateDTO, options) {
|
|
1309
1324
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreate(commandCreateDTO, options);
|
|
1310
|
-
const
|
|
1311
|
-
const
|
|
1312
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1325
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1326
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerCreate']?.[index]?.url;
|
|
1327
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1313
1328
|
},
|
|
1314
1329
|
/**
|
|
1315
1330
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
|
|
@@ -1320,9 +1335,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1320
1335
|
*/
|
|
1321
1336
|
async commandControllerCreateArgument(commandArgumentCreateDTO, options) {
|
|
1322
1337
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreateArgument(commandArgumentCreateDTO, options);
|
|
1323
|
-
const
|
|
1324
|
-
const
|
|
1325
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1338
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1339
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerCreateArgument']?.[index]?.url;
|
|
1340
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1326
1341
|
},
|
|
1327
1342
|
/**
|
|
1328
1343
|
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
|
|
@@ -1335,9 +1350,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1335
1350
|
*/
|
|
1336
1351
|
async commandControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
1337
1352
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
1338
|
-
const
|
|
1339
|
-
const
|
|
1340
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1353
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1354
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerGetExecutions']?.[index]?.url;
|
|
1355
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1341
1356
|
},
|
|
1342
1357
|
/**
|
|
1343
1358
|
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
|
|
@@ -1348,9 +1363,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1348
1363
|
*/
|
|
1349
1364
|
async commandControllerGetOne(id, options) {
|
|
1350
1365
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetOne(id, options);
|
|
1351
|
-
const
|
|
1352
|
-
const
|
|
1353
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1366
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1367
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerGetOne']?.[index]?.url;
|
|
1368
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1354
1369
|
},
|
|
1355
1370
|
/**
|
|
1356
1371
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
|
|
@@ -1361,9 +1376,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1361
1376
|
*/
|
|
1362
1377
|
async commandControllerRemove(id, options) {
|
|
1363
1378
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemove(id, options);
|
|
1364
|
-
const
|
|
1365
|
-
const
|
|
1366
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1379
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1380
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerRemove']?.[index]?.url;
|
|
1381
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1367
1382
|
},
|
|
1368
1383
|
/**
|
|
1369
1384
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
|
|
@@ -1374,9 +1389,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1374
1389
|
*/
|
|
1375
1390
|
async commandControllerRemoveArgument(id, options) {
|
|
1376
1391
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemoveArgument(id, options);
|
|
1377
|
-
const
|
|
1378
|
-
const
|
|
1379
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1392
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1393
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerRemoveArgument']?.[index]?.url;
|
|
1394
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1380
1395
|
},
|
|
1381
1396
|
/**
|
|
1382
1397
|
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
@@ -1387,9 +1402,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1387
1402
|
*/
|
|
1388
1403
|
async commandControllerSearch(commandSearchInputDTO, options) {
|
|
1389
1404
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerSearch(commandSearchInputDTO, options);
|
|
1390
|
-
const
|
|
1391
|
-
const
|
|
1392
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1405
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1406
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerSearch']?.[index]?.url;
|
|
1407
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1393
1408
|
},
|
|
1394
1409
|
/**
|
|
1395
1410
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
|
|
@@ -1401,9 +1416,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1401
1416
|
*/
|
|
1402
1417
|
async commandControllerTrigger(id, commandTriggerDTO, options) {
|
|
1403
1418
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerTrigger(id, commandTriggerDTO, options);
|
|
1404
|
-
const
|
|
1405
|
-
const
|
|
1406
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1419
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1420
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerTrigger']?.[index]?.url;
|
|
1421
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1407
1422
|
},
|
|
1408
1423
|
/**
|
|
1409
1424
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
|
|
@@ -1415,9 +1430,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1415
1430
|
*/
|
|
1416
1431
|
async commandControllerUpdate(id, commandUpdateDTO, options) {
|
|
1417
1432
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerUpdate(id, commandUpdateDTO, options);
|
|
1418
|
-
const
|
|
1419
|
-
const
|
|
1420
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1433
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1434
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerUpdate']?.[index]?.url;
|
|
1435
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1421
1436
|
},
|
|
1422
1437
|
/**
|
|
1423
1438
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdateArgument`
|
|
@@ -1429,9 +1444,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1429
1444
|
*/
|
|
1430
1445
|
async commandControllerUpdateArgument(id, commandArgumentUpdateDTO, options) {
|
|
1431
1446
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerUpdateArgument(id, commandArgumentUpdateDTO, options);
|
|
1432
|
-
const
|
|
1433
|
-
const
|
|
1434
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1447
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1448
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerUpdateArgument']?.[index]?.url;
|
|
1449
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1435
1450
|
},
|
|
1436
1451
|
};
|
|
1437
1452
|
};
|
|
@@ -1943,9 +1958,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1943
1958
|
*/
|
|
1944
1959
|
async cronJobControllerCreate(cronJobCreateDTO, options) {
|
|
1945
1960
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerCreate(cronJobCreateDTO, options);
|
|
1946
|
-
const
|
|
1947
|
-
const
|
|
1948
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1961
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1962
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerCreate']?.[index]?.url;
|
|
1963
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1949
1964
|
},
|
|
1950
1965
|
/**
|
|
1951
1966
|
* Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetExecutions`
|
|
@@ -1958,9 +1973,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1958
1973
|
*/
|
|
1959
1974
|
async cronJobControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
1960
1975
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
1961
|
-
const
|
|
1962
|
-
const
|
|
1963
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1976
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1977
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerGetExecutions']?.[index]?.url;
|
|
1978
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1964
1979
|
},
|
|
1965
1980
|
/**
|
|
1966
1981
|
* Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetOne`
|
|
@@ -1971,9 +1986,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1971
1986
|
*/
|
|
1972
1987
|
async cronJobControllerGetOne(id, options) {
|
|
1973
1988
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerGetOne(id, options);
|
|
1974
|
-
const
|
|
1975
|
-
const
|
|
1976
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1989
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1990
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerGetOne']?.[index]?.url;
|
|
1991
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1977
1992
|
},
|
|
1978
1993
|
/**
|
|
1979
1994
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerRemove`
|
|
@@ -1984,9 +1999,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1984
1999
|
*/
|
|
1985
2000
|
async cronJobControllerRemove(id, options) {
|
|
1986
2001
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerRemove(id, options);
|
|
1987
|
-
const
|
|
1988
|
-
const
|
|
1989
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2002
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2003
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerRemove']?.[index]?.url;
|
|
2004
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1990
2005
|
},
|
|
1991
2006
|
/**
|
|
1992
2007
|
* Search cronjobs Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
@@ -1997,9 +2012,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1997
2012
|
*/
|
|
1998
2013
|
async cronJobControllerSearch(cronJobSearchInputDTO, options) {
|
|
1999
2014
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerSearch(cronJobSearchInputDTO, options);
|
|
2000
|
-
const
|
|
2001
|
-
const
|
|
2002
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2015
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2016
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerSearch']?.[index]?.url;
|
|
2017
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2003
2018
|
},
|
|
2004
2019
|
/**
|
|
2005
2020
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerTrigger`
|
|
@@ -2010,9 +2025,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
2010
2025
|
*/
|
|
2011
2026
|
async cronJobControllerTrigger(cronJobTriggerDTO, options) {
|
|
2012
2027
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerTrigger(cronJobTriggerDTO, options);
|
|
2013
|
-
const
|
|
2014
|
-
const
|
|
2015
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2028
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2029
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerTrigger']?.[index]?.url;
|
|
2030
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2016
2031
|
},
|
|
2017
2032
|
/**
|
|
2018
2033
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerUpdate`
|
|
@@ -2024,9 +2039,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
2024
2039
|
*/
|
|
2025
2040
|
async cronJobControllerUpdate(id, cronJobUpdateDTO, options) {
|
|
2026
2041
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerUpdate(id, cronJobUpdateDTO, options);
|
|
2027
|
-
const
|
|
2028
|
-
const
|
|
2029
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2042
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2043
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerUpdate']?.[index]?.url;
|
|
2044
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2030
2045
|
},
|
|
2031
2046
|
};
|
|
2032
2047
|
};
|
|
@@ -2487,9 +2502,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2487
2502
|
*/
|
|
2488
2503
|
async discordControllerDeleteMessage(channelId, messageId, options) {
|
|
2489
2504
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerDeleteMessage(channelId, messageId, options);
|
|
2490
|
-
const
|
|
2491
|
-
const
|
|
2492
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2505
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2506
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerDeleteMessage']?.[index]?.url;
|
|
2507
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2493
2508
|
},
|
|
2494
2509
|
/**
|
|
2495
2510
|
* 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 +2515,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2500
2515
|
*/
|
|
2501
2516
|
async discordControllerGetChannels(id, options) {
|
|
2502
2517
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerGetChannels(id, options);
|
|
2503
|
-
const
|
|
2504
|
-
const
|
|
2505
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2518
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2519
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerGetChannels']?.[index]?.url;
|
|
2520
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2506
2521
|
},
|
|
2507
2522
|
/**
|
|
2508
2523
|
* 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 +2527,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2512
2527
|
*/
|
|
2513
2528
|
async discordControllerGetInvite(options) {
|
|
2514
2529
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerGetInvite(options);
|
|
2515
|
-
const
|
|
2516
|
-
const
|
|
2517
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2530
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2531
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerGetInvite']?.[index]?.url;
|
|
2532
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2518
2533
|
},
|
|
2519
2534
|
/**
|
|
2520
2535
|
* 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 +2540,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2525
2540
|
*/
|
|
2526
2541
|
async discordControllerGetRoles(id, options) {
|
|
2527
2542
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerGetRoles(id, options);
|
|
2528
|
-
const
|
|
2529
|
-
const
|
|
2530
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2543
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2544
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerGetRoles']?.[index]?.url;
|
|
2545
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2531
2546
|
},
|
|
2532
2547
|
/**
|
|
2533
2548
|
* 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 +2553,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2538
2553
|
*/
|
|
2539
2554
|
async discordControllerSearch(guildSearchInputDTO, options) {
|
|
2540
2555
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerSearch(guildSearchInputDTO, options);
|
|
2541
|
-
const
|
|
2542
|
-
const
|
|
2543
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2556
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2557
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerSearch']?.[index]?.url;
|
|
2558
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2544
2559
|
},
|
|
2545
2560
|
/**
|
|
2546
2561
|
* 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 +2567,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2552
2567
|
*/
|
|
2553
2568
|
async discordControllerSendMessage(id, sendMessageInputDTO, options) {
|
|
2554
2569
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerSendMessage(id, sendMessageInputDTO, options);
|
|
2555
|
-
const
|
|
2556
|
-
const
|
|
2557
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2570
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2571
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerSendMessage']?.[index]?.url;
|
|
2572
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2558
2573
|
},
|
|
2559
2574
|
/**
|
|
2560
2575
|
* Update Takaro-specific settings for a Discord guild, such as enabling or disabling Takaro features. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `DiscordControllerUpdateGuild`
|
|
@@ -2566,9 +2581,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2566
2581
|
*/
|
|
2567
2582
|
async discordControllerUpdateGuild(id, guildApiUpdateDTO, options) {
|
|
2568
2583
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerUpdateGuild(id, guildApiUpdateDTO, options);
|
|
2569
|
-
const
|
|
2570
|
-
const
|
|
2571
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2584
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2585
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerUpdateGuild']?.[index]?.url;
|
|
2586
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2572
2587
|
},
|
|
2573
2588
|
/**
|
|
2574
2589
|
* 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 +2596,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2581
2596
|
*/
|
|
2582
2597
|
async discordControllerUpdateMessage(channelId, messageId, sendMessageInputDTO, options) {
|
|
2583
2598
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerUpdateMessage(channelId, messageId, sendMessageInputDTO, options);
|
|
2584
|
-
const
|
|
2585
|
-
const
|
|
2586
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2599
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2600
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerUpdateMessage']?.[index]?.url;
|
|
2601
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2587
2602
|
},
|
|
2588
2603
|
};
|
|
2589
2604
|
};
|
|
@@ -3049,9 +3064,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3049
3064
|
*/
|
|
3050
3065
|
async domainControllerCreate(domainCreateInputDTO, options) {
|
|
3051
3066
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreate(domainCreateInputDTO, options);
|
|
3052
|
-
const
|
|
3053
|
-
const
|
|
3054
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3067
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3068
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerCreate']?.[index]?.url;
|
|
3069
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3055
3070
|
},
|
|
3056
3071
|
/**
|
|
3057
3072
|
* <br> OperationId: `DomainControllerGetOne`
|
|
@@ -3062,9 +3077,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3062
3077
|
*/
|
|
3063
3078
|
async domainControllerGetOne(id, options) {
|
|
3064
3079
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerGetOne(id, options);
|
|
3065
|
-
const
|
|
3066
|
-
const
|
|
3067
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3080
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3081
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerGetOne']?.[index]?.url;
|
|
3082
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3068
3083
|
},
|
|
3069
3084
|
/**
|
|
3070
3085
|
* <br> OperationId: `DomainControllerGetToken`
|
|
@@ -3075,9 +3090,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3075
3090
|
*/
|
|
3076
3091
|
async domainControllerGetToken(tokenInputDTO, options) {
|
|
3077
3092
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerGetToken(tokenInputDTO, options);
|
|
3078
|
-
const
|
|
3079
|
-
const
|
|
3080
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3093
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3094
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerGetToken']?.[index]?.url;
|
|
3095
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3081
3096
|
},
|
|
3082
3097
|
/**
|
|
3083
3098
|
* <br> OperationId: `DomainControllerRemove`
|
|
@@ -3089,9 +3104,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3089
3104
|
*/
|
|
3090
3105
|
async domainControllerRemove(id, hardDelete, options) {
|
|
3091
3106
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerRemove(id, hardDelete, options);
|
|
3092
|
-
const
|
|
3093
|
-
const
|
|
3094
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3107
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3108
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerRemove']?.[index]?.url;
|
|
3109
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3095
3110
|
},
|
|
3096
3111
|
/**
|
|
3097
3112
|
* <br> OperationId: `DomainControllerResolveRegistrationToken`
|
|
@@ -3102,9 +3117,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3102
3117
|
*/
|
|
3103
3118
|
async domainControllerResolveRegistrationToken(resolveRegistrationTokenInputDTO, options) {
|
|
3104
3119
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerResolveRegistrationToken(resolveRegistrationTokenInputDTO, options);
|
|
3105
|
-
const
|
|
3106
|
-
const
|
|
3107
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3120
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3121
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerResolveRegistrationToken']?.[index]?.url;
|
|
3122
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3108
3123
|
},
|
|
3109
3124
|
/**
|
|
3110
3125
|
* <br> OperationId: `DomainControllerSearch`
|
|
@@ -3115,9 +3130,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3115
3130
|
*/
|
|
3116
3131
|
async domainControllerSearch(domainSearchInputDTO, options) {
|
|
3117
3132
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerSearch(domainSearchInputDTO, options);
|
|
3118
|
-
const
|
|
3119
|
-
const
|
|
3120
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3133
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3134
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerSearch']?.[index]?.url;
|
|
3135
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3121
3136
|
},
|
|
3122
3137
|
/**
|
|
3123
3138
|
* <br> OperationId: `DomainControllerUpdate`
|
|
@@ -3129,9 +3144,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3129
3144
|
*/
|
|
3130
3145
|
async domainControllerUpdate(id, domainUpdateInputDTO, options) {
|
|
3131
3146
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerUpdate(id, domainUpdateInputDTO, options);
|
|
3132
|
-
const
|
|
3133
|
-
const
|
|
3134
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3147
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3148
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerUpdate']?.[index]?.url;
|
|
3149
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3135
3150
|
},
|
|
3136
3151
|
};
|
|
3137
3152
|
};
|
|
@@ -3407,9 +3422,9 @@ export const EntityApiFp = function (configuration) {
|
|
|
3407
3422
|
*/
|
|
3408
3423
|
async entityControllerFindOne(id, options) {
|
|
3409
3424
|
const localVarAxiosArgs = await localVarAxiosParamCreator.entityControllerFindOne(id, options);
|
|
3410
|
-
const
|
|
3411
|
-
const
|
|
3412
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3425
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3426
|
+
const operationBasePath = operationServerMap['EntityApi.entityControllerFindOne']?.[index]?.url;
|
|
3427
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3413
3428
|
},
|
|
3414
3429
|
/**
|
|
3415
3430
|
* Required permissions: `READ_ENTITIES`<br> OperationId: `EntityControllerSearch`
|
|
@@ -3420,9 +3435,9 @@ export const EntityApiFp = function (configuration) {
|
|
|
3420
3435
|
*/
|
|
3421
3436
|
async entityControllerSearch(entitySearchInputDTO, options) {
|
|
3422
3437
|
const localVarAxiosArgs = await localVarAxiosParamCreator.entityControllerSearch(entitySearchInputDTO, options);
|
|
3423
|
-
const
|
|
3424
|
-
const
|
|
3425
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3438
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3439
|
+
const operationBasePath = operationServerMap['EntityApi.entityControllerSearch']?.[index]?.url;
|
|
3440
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3426
3441
|
},
|
|
3427
3442
|
};
|
|
3428
3443
|
};
|
|
@@ -3660,9 +3675,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3660
3675
|
*/
|
|
3661
3676
|
async eventControllerCreate(eventCreateDTO, options) {
|
|
3662
3677
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerCreate(eventCreateDTO, options);
|
|
3663
|
-
const
|
|
3664
|
-
const
|
|
3665
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3678
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3679
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerCreate']?.[index]?.url;
|
|
3680
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3666
3681
|
},
|
|
3667
3682
|
/**
|
|
3668
3683
|
* 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 +3688,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3673
3688
|
*/
|
|
3674
3689
|
async eventControllerExport(eventSearchInputDTO, options) {
|
|
3675
3690
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExport(eventSearchInputDTO, options);
|
|
3676
|
-
const
|
|
3677
|
-
const
|
|
3678
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3691
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3692
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerExport']?.[index]?.url;
|
|
3693
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3679
3694
|
},
|
|
3680
3695
|
/**
|
|
3681
3696
|
* 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 +3701,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3686
3701
|
*/
|
|
3687
3702
|
async eventControllerGetFailedFunctions(eventSearchInputDTO, options) {
|
|
3688
3703
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerGetFailedFunctions(eventSearchInputDTO, options);
|
|
3689
|
-
const
|
|
3690
|
-
const
|
|
3691
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3704
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3705
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerGetFailedFunctions']?.[index]?.url;
|
|
3706
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3692
3707
|
},
|
|
3693
3708
|
/**
|
|
3694
3709
|
* Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerGetOne`
|
|
@@ -3699,9 +3714,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3699
3714
|
*/
|
|
3700
3715
|
async eventControllerGetOne(id, options) {
|
|
3701
3716
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerGetOne(id, options);
|
|
3702
|
-
const
|
|
3703
|
-
const
|
|
3704
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3717
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3718
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerGetOne']?.[index]?.url;
|
|
3719
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3705
3720
|
},
|
|
3706
3721
|
/**
|
|
3707
3722
|
* Search events Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
@@ -3712,9 +3727,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3712
3727
|
*/
|
|
3713
3728
|
async eventControllerSearch(eventSearchInputDTO, options) {
|
|
3714
3729
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerSearch(eventSearchInputDTO, options);
|
|
3715
|
-
const
|
|
3716
|
-
const
|
|
3717
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3730
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3731
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerSearch']?.[index]?.url;
|
|
3732
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3718
3733
|
},
|
|
3719
3734
|
};
|
|
3720
3735
|
};
|
|
@@ -3932,9 +3947,9 @@ export const ExternalAuthApiFp = function (configuration) {
|
|
|
3932
3947
|
*/
|
|
3933
3948
|
async externalAuthControllerAuthDiscord(redirect, options) {
|
|
3934
3949
|
const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscord(redirect, options);
|
|
3935
|
-
const
|
|
3936
|
-
const
|
|
3937
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3950
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3951
|
+
const operationBasePath = operationServerMap['ExternalAuthApi.externalAuthControllerAuthDiscord']?.[index]?.url;
|
|
3952
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3938
3953
|
},
|
|
3939
3954
|
/**
|
|
3940
3955
|
* <br> OperationId: `ExternalAuthControllerAuthDiscordReturn`
|
|
@@ -3944,10 +3959,9 @@ export const ExternalAuthApiFp = function (configuration) {
|
|
|
3944
3959
|
*/
|
|
3945
3960
|
async externalAuthControllerAuthDiscordReturn(options) {
|
|
3946
3961
|
const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscordReturn(options);
|
|
3947
|
-
const
|
|
3948
|
-
const
|
|
3949
|
-
|
|
3950
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3962
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3963
|
+
const operationBasePath = operationServerMap['ExternalAuthApi.externalAuthControllerAuthDiscordReturn']?.[index]?.url;
|
|
3964
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3951
3965
|
},
|
|
3952
3966
|
};
|
|
3953
3967
|
};
|
|
@@ -4186,9 +4200,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4186
4200
|
*/
|
|
4187
4201
|
async functionControllerCreate(functionCreateDTO, options) {
|
|
4188
4202
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerCreate(functionCreateDTO, options);
|
|
4189
|
-
const
|
|
4190
|
-
const
|
|
4191
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4203
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4204
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerCreate']?.[index]?.url;
|
|
4205
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4192
4206
|
},
|
|
4193
4207
|
/**
|
|
4194
4208
|
* Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerGetOne`
|
|
@@ -4199,9 +4213,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4199
4213
|
*/
|
|
4200
4214
|
async functionControllerGetOne(id, options) {
|
|
4201
4215
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerGetOne(id, options);
|
|
4202
|
-
const
|
|
4203
|
-
const
|
|
4204
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4216
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4217
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerGetOne']?.[index]?.url;
|
|
4218
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4205
4219
|
},
|
|
4206
4220
|
/**
|
|
4207
4221
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `FunctionControllerRemove`
|
|
@@ -4212,9 +4226,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4212
4226
|
*/
|
|
4213
4227
|
async functionControllerRemove(id, options) {
|
|
4214
4228
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerRemove(id, options);
|
|
4215
|
-
const
|
|
4216
|
-
const
|
|
4217
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4229
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4230
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerRemove']?.[index]?.url;
|
|
4231
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4218
4232
|
},
|
|
4219
4233
|
/**
|
|
4220
4234
|
* Search functions Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerSearch`
|
|
@@ -4225,9 +4239,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4225
4239
|
*/
|
|
4226
4240
|
async functionControllerSearch(functionSearchInputDTO, options) {
|
|
4227
4241
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerSearch(functionSearchInputDTO, options);
|
|
4228
|
-
const
|
|
4229
|
-
const
|
|
4230
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4242
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4243
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerSearch']?.[index]?.url;
|
|
4244
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4231
4245
|
},
|
|
4232
4246
|
/**
|
|
4233
4247
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `FunctionControllerUpdate`
|
|
@@ -4239,9 +4253,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4239
4253
|
*/
|
|
4240
4254
|
async functionControllerUpdate(id, functionUpdateDTO, options) {
|
|
4241
4255
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerUpdate(id, functionUpdateDTO, options);
|
|
4242
|
-
const
|
|
4243
|
-
const
|
|
4244
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4256
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4257
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerUpdate']?.[index]?.url;
|
|
4258
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4245
4259
|
},
|
|
4246
4260
|
};
|
|
4247
4261
|
};
|
|
@@ -5231,9 +5245,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5231
5245
|
*/
|
|
5232
5246
|
async gameServerControllerBanPlayer(gameServerId, playerId, banPlayerInputDTO, options) {
|
|
5233
5247
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerBanPlayer(gameServerId, playerId, banPlayerInputDTO, options);
|
|
5234
|
-
const
|
|
5235
|
-
const
|
|
5236
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5248
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5249
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerBanPlayer']?.[index]?.url;
|
|
5250
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5237
5251
|
},
|
|
5238
5252
|
/**
|
|
5239
5253
|
* Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
|
|
@@ -5244,9 +5258,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5244
5258
|
*/
|
|
5245
5259
|
async gameServerControllerCreate(gameServerCreateDTO, options) {
|
|
5246
5260
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerCreate(gameServerCreateDTO, options);
|
|
5247
|
-
const
|
|
5248
|
-
const
|
|
5249
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5261
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5262
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerCreate']?.[index]?.url;
|
|
5263
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5250
5264
|
},
|
|
5251
5265
|
/**
|
|
5252
5266
|
* Execute a raw command on a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerExecuteCommand`
|
|
@@ -5258,9 +5272,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5258
5272
|
*/
|
|
5259
5273
|
async gameServerControllerExecuteCommand(id, commandExecuteInputDTO, options) {
|
|
5260
5274
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerExecuteCommand(id, commandExecuteInputDTO, options);
|
|
5261
|
-
const
|
|
5262
|
-
const
|
|
5263
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5275
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5276
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerExecuteCommand']?.[index]?.url;
|
|
5277
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5264
5278
|
},
|
|
5265
5279
|
/**
|
|
5266
5280
|
* Fetch status of an import from CSMM Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
|
|
@@ -5272,9 +5286,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5272
5286
|
*/
|
|
5273
5287
|
async gameServerControllerGetImport(id, options) {
|
|
5274
5288
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetImport(id, options);
|
|
5275
|
-
const
|
|
5276
|
-
const
|
|
5277
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5289
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5290
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetImport']?.[index]?.url;
|
|
5291
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5278
5292
|
},
|
|
5279
5293
|
/**
|
|
5280
5294
|
* Fetch a job status Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetJob`
|
|
@@ -5286,9 +5300,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5286
5300
|
*/
|
|
5287
5301
|
async gameServerControllerGetJob(type, id, options) {
|
|
5288
5302
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetJob(type, id, options);
|
|
5289
|
-
const
|
|
5290
|
-
const
|
|
5291
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5303
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5304
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetJob']?.[index]?.url;
|
|
5305
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5292
5306
|
},
|
|
5293
5307
|
/**
|
|
5294
5308
|
* Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
|
|
@@ -5299,9 +5313,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5299
5313
|
*/
|
|
5300
5314
|
async gameServerControllerGetMapInfo(id, options) {
|
|
5301
5315
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetMapInfo(id, options);
|
|
5302
|
-
const
|
|
5303
|
-
const
|
|
5304
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5316
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5317
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetMapInfo']?.[index]?.url;
|
|
5318
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5305
5319
|
},
|
|
5306
5320
|
/**
|
|
5307
5321
|
* Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
|
|
@@ -5315,9 +5329,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5315
5329
|
*/
|
|
5316
5330
|
async gameServerControllerGetMapTile(id, x, y, z, options) {
|
|
5317
5331
|
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,
|
|
5332
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5333
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetMapTile']?.[index]?.url;
|
|
5334
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5321
5335
|
},
|
|
5322
5336
|
/**
|
|
5323
5337
|
* Fetch a gameserver by id<br> OperationId: `GameServerControllerGetOne`
|
|
@@ -5328,9 +5342,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5328
5342
|
*/
|
|
5329
5343
|
async gameServerControllerGetOne(id, options) {
|
|
5330
5344
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetOne(id, options);
|
|
5331
|
-
const
|
|
5332
|
-
const
|
|
5333
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5345
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5346
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetOne']?.[index]?.url;
|
|
5347
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5334
5348
|
},
|
|
5335
5349
|
/**
|
|
5336
5350
|
* 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 +5356,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5342
5356
|
*/
|
|
5343
5357
|
async gameServerControllerGetPlayers(id, options) {
|
|
5344
5358
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetPlayers(id, options);
|
|
5345
|
-
const
|
|
5346
|
-
const
|
|
5347
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5359
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5360
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetPlayers']?.[index]?.url;
|
|
5361
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5348
5362
|
},
|
|
5349
5363
|
/**
|
|
5350
5364
|
* Fetch gameserver types (7dtd, Rust, ...)<br> OperationId: `GameServerControllerGetTypes`
|
|
@@ -5354,9 +5368,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5354
5368
|
*/
|
|
5355
5369
|
async gameServerControllerGetTypes(options) {
|
|
5356
5370
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetTypes(options);
|
|
5357
|
-
const
|
|
5358
|
-
const
|
|
5359
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5371
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5372
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetTypes']?.[index]?.url;
|
|
5373
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5360
5374
|
},
|
|
5361
5375
|
/**
|
|
5362
5376
|
* 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 +5383,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5369
5383
|
*/
|
|
5370
5384
|
async gameServerControllerGiveItem(gameServerId, playerId, giveItemInputDTO, options) {
|
|
5371
5385
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGiveItem(gameServerId, playerId, giveItemInputDTO, options);
|
|
5372
|
-
const
|
|
5373
|
-
const
|
|
5374
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5386
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5387
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGiveItem']?.[index]?.url;
|
|
5388
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5375
5389
|
},
|
|
5376
5390
|
/**
|
|
5377
5391
|
* Import a gameserver from CSMM. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerImportFromCSMM`
|
|
@@ -5381,9 +5395,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5381
5395
|
*/
|
|
5382
5396
|
async gameServerControllerImportFromCSMM(options) {
|
|
5383
5397
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerImportFromCSMM(options);
|
|
5384
|
-
const
|
|
5385
|
-
const
|
|
5386
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5398
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5399
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerImportFromCSMM']?.[index]?.url;
|
|
5400
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5387
5401
|
},
|
|
5388
5402
|
/**
|
|
5389
5403
|
* Kick a player from a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerKickPlayer`
|
|
@@ -5396,9 +5410,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5396
5410
|
*/
|
|
5397
5411
|
async gameServerControllerKickPlayer(gameServerId, playerId, kickPlayerInputDTO, options) {
|
|
5398
5412
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerKickPlayer(gameServerId, playerId, kickPlayerInputDTO, options);
|
|
5399
|
-
const
|
|
5400
|
-
const
|
|
5401
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5413
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5414
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerKickPlayer']?.[index]?.url;
|
|
5415
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5402
5416
|
},
|
|
5403
5417
|
/**
|
|
5404
5418
|
* List bans for a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerListBans`
|
|
@@ -5410,9 +5424,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5410
5424
|
*/
|
|
5411
5425
|
async gameServerControllerListBans(id, options) {
|
|
5412
5426
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerListBans(id, options);
|
|
5413
|
-
const
|
|
5414
|
-
const
|
|
5415
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5427
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5428
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerListBans']?.[index]?.url;
|
|
5429
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5416
5430
|
},
|
|
5417
5431
|
/**
|
|
5418
5432
|
* Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
|
|
@@ -5422,9 +5436,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5422
5436
|
*/
|
|
5423
5437
|
async gameServerControllerRegenerateRegistrationToken(options) {
|
|
5424
5438
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerRegenerateRegistrationToken(options);
|
|
5425
|
-
const
|
|
5426
|
-
const
|
|
5427
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5439
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5440
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerRegenerateRegistrationToken']?.[index]?.url;
|
|
5441
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5428
5442
|
},
|
|
5429
5443
|
/**
|
|
5430
5444
|
* Delete a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRemove`
|
|
@@ -5435,9 +5449,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5435
5449
|
*/
|
|
5436
5450
|
async gameServerControllerRemove(id, options) {
|
|
5437
5451
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerRemove(id, options);
|
|
5438
|
-
const
|
|
5439
|
-
const
|
|
5440
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5452
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5453
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerRemove']?.[index]?.url;
|
|
5454
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5441
5455
|
},
|
|
5442
5456
|
/**
|
|
5443
5457
|
* Resets all players\' currency to 0 on the specified game server. This action is irreversible. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerResetCurrency`
|
|
@@ -5448,9 +5462,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5448
5462
|
*/
|
|
5449
5463
|
async gameServerControllerResetCurrency(id, options) {
|
|
5450
5464
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerResetCurrency(id, options);
|
|
5451
|
-
const
|
|
5452
|
-
const
|
|
5453
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5465
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5466
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerResetCurrency']?.[index]?.url;
|
|
5467
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5454
5468
|
},
|
|
5455
5469
|
/**
|
|
5456
5470
|
* Fetch gameservers<br> OperationId: `GameServerControllerSearch`
|
|
@@ -5461,9 +5475,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5461
5475
|
*/
|
|
5462
5476
|
async gameServerControllerSearch(gameServerSearchInputDTO, options) {
|
|
5463
5477
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerSearch(gameServerSearchInputDTO, options);
|
|
5464
|
-
const
|
|
5465
|
-
const
|
|
5466
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5478
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5479
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerSearch']?.[index]?.url;
|
|
5480
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5467
5481
|
},
|
|
5468
5482
|
/**
|
|
5469
5483
|
* Send a message in gameserver chat. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerSendMessage`
|
|
@@ -5475,9 +5489,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5475
5489
|
*/
|
|
5476
5490
|
async gameServerControllerSendMessage(id, messageSendInputDTO, options) {
|
|
5477
5491
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerSendMessage(id, messageSendInputDTO, options);
|
|
5478
|
-
const
|
|
5479
|
-
const
|
|
5480
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5492
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5493
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerSendMessage']?.[index]?.url;
|
|
5494
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5481
5495
|
},
|
|
5482
5496
|
/**
|
|
5483
5497
|
* 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 +5502,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5488
5502
|
*/
|
|
5489
5503
|
async gameServerControllerShutdown(id, options) {
|
|
5490
5504
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerShutdown(id, options);
|
|
5491
|
-
const
|
|
5492
|
-
const
|
|
5493
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5505
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5506
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerShutdown']?.[index]?.url;
|
|
5507
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5494
5508
|
},
|
|
5495
5509
|
/**
|
|
5496
5510
|
* Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
|
|
@@ -5503,9 +5517,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5503
5517
|
*/
|
|
5504
5518
|
async gameServerControllerTeleportPlayer(gameServerId, playerId, teleportPlayerInputDTO, options) {
|
|
5505
5519
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerTeleportPlayer(gameServerId, playerId, teleportPlayerInputDTO, options);
|
|
5506
|
-
const
|
|
5507
|
-
const
|
|
5508
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5520
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5521
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTeleportPlayer']?.[index]?.url;
|
|
5522
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5509
5523
|
},
|
|
5510
5524
|
/**
|
|
5511
5525
|
* Test if Takaro can connect to a gameserver. Will do a thorough check and report details.<br> OperationId: `GameServerControllerTestReachability`
|
|
@@ -5516,9 +5530,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5516
5530
|
*/
|
|
5517
5531
|
async gameServerControllerTestReachability(gameServerTestReachabilityInputDTO, options) {
|
|
5518
5532
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerTestReachability(gameServerTestReachabilityInputDTO, options);
|
|
5519
|
-
const
|
|
5520
|
-
const
|
|
5521
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5533
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5534
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTestReachability']?.[index]?.url;
|
|
5535
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5522
5536
|
},
|
|
5523
5537
|
/**
|
|
5524
5538
|
* Test if Takaro can connect to a gameserver. Will do a thorough check and report details.<br> OperationId: `GameServerControllerTestReachabilityForId`
|
|
@@ -5529,10 +5543,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5529
5543
|
*/
|
|
5530
5544
|
async gameServerControllerTestReachabilityForId(id, options) {
|
|
5531
5545
|
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);
|
|
5546
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5547
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTestReachabilityForId']?.[index]?.url;
|
|
5548
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5536
5549
|
},
|
|
5537
5550
|
/**
|
|
5538
5551
|
* Manually trigger a job, you can poll the status with the GET endpoint Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTriggerJob`
|
|
@@ -5544,9 +5557,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5544
5557
|
*/
|
|
5545
5558
|
async gameServerControllerTriggerJob(type, id, options) {
|
|
5546
5559
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerTriggerJob(type, id, options);
|
|
5547
|
-
const
|
|
5548
|
-
const
|
|
5549
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5560
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5561
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTriggerJob']?.[index]?.url;
|
|
5562
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5550
5563
|
},
|
|
5551
5564
|
/**
|
|
5552
5565
|
* Unban a player from a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerUnbanPlayer`
|
|
@@ -5559,9 +5572,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5559
5572
|
*/
|
|
5560
5573
|
async gameServerControllerUnbanPlayer(gameServerId, playerId, options) {
|
|
5561
5574
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerUnbanPlayer(gameServerId, playerId, options);
|
|
5562
|
-
const
|
|
5563
|
-
const
|
|
5564
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5575
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5576
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerUnbanPlayer']?.[index]?.url;
|
|
5577
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5565
5578
|
},
|
|
5566
5579
|
/**
|
|
5567
5580
|
* Update a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerUpdate`
|
|
@@ -5573,9 +5586,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5573
5586
|
*/
|
|
5574
5587
|
async gameServerControllerUpdate(id, gameServerUpdateDTO, options) {
|
|
5575
5588
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerUpdate(id, gameServerUpdateDTO, options);
|
|
5576
|
-
const
|
|
5577
|
-
const
|
|
5578
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5589
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5590
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerUpdate']?.[index]?.url;
|
|
5591
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5579
5592
|
},
|
|
5580
5593
|
};
|
|
5581
5594
|
};
|
|
@@ -6499,9 +6512,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6499
6512
|
*/
|
|
6500
6513
|
async hookControllerCreate(hookCreateDTO, options) {
|
|
6501
6514
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerCreate(hookCreateDTO, options);
|
|
6502
|
-
const
|
|
6503
|
-
const
|
|
6504
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6515
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6516
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerCreate']?.[index]?.url;
|
|
6517
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6505
6518
|
},
|
|
6506
6519
|
/**
|
|
6507
6520
|
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
@@ -6514,9 +6527,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6514
6527
|
*/
|
|
6515
6528
|
async hookControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
6516
6529
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
6517
|
-
const
|
|
6518
|
-
const
|
|
6519
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6530
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6531
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerGetExecutions']?.[index]?.url;
|
|
6532
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6520
6533
|
},
|
|
6521
6534
|
/**
|
|
6522
6535
|
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
@@ -6527,9 +6540,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6527
6540
|
*/
|
|
6528
6541
|
async hookControllerGetOne(id, options) {
|
|
6529
6542
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetOne(id, options);
|
|
6530
|
-
const
|
|
6531
|
-
const
|
|
6532
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6543
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6544
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerGetOne']?.[index]?.url;
|
|
6545
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6533
6546
|
},
|
|
6534
6547
|
/**
|
|
6535
6548
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
@@ -6540,9 +6553,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6540
6553
|
*/
|
|
6541
6554
|
async hookControllerRemove(id, options) {
|
|
6542
6555
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerRemove(id, options);
|
|
6543
|
-
const
|
|
6544
|
-
const
|
|
6545
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6556
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6557
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerRemove']?.[index]?.url;
|
|
6558
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6546
6559
|
},
|
|
6547
6560
|
/**
|
|
6548
6561
|
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
@@ -6553,9 +6566,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6553
6566
|
*/
|
|
6554
6567
|
async hookControllerSearch(hookSearchInputDTO, options) {
|
|
6555
6568
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerSearch(hookSearchInputDTO, options);
|
|
6556
|
-
const
|
|
6557
|
-
const
|
|
6558
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6569
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6570
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerSearch']?.[index]?.url;
|
|
6571
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6559
6572
|
},
|
|
6560
6573
|
/**
|
|
6561
6574
|
* 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 +6579,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6566
6579
|
*/
|
|
6567
6580
|
async hookControllerTrigger(hookTriggerDTO, options) {
|
|
6568
6581
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerTrigger(hookTriggerDTO, options);
|
|
6569
|
-
const
|
|
6570
|
-
const
|
|
6571
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6582
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6583
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerTrigger']?.[index]?.url;
|
|
6584
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6572
6585
|
},
|
|
6573
6586
|
/**
|
|
6574
6587
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
@@ -6580,9 +6593,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6580
6593
|
*/
|
|
6581
6594
|
async hookControllerUpdate(id, hookUpdateDTO, options) {
|
|
6582
6595
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerUpdate(id, hookUpdateDTO, options);
|
|
6583
|
-
const
|
|
6584
|
-
const
|
|
6585
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6596
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6597
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerUpdate']?.[index]?.url;
|
|
6598
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6586
6599
|
},
|
|
6587
6600
|
};
|
|
6588
6601
|
};
|
|
@@ -6854,9 +6867,9 @@ export const ItemApiFp = function (configuration) {
|
|
|
6854
6867
|
*/
|
|
6855
6868
|
async itemControllerFindOne(id, options) {
|
|
6856
6869
|
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerFindOne(id, options);
|
|
6857
|
-
const
|
|
6858
|
-
const
|
|
6859
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6870
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6871
|
+
const operationBasePath = operationServerMap['ItemApi.itemControllerFindOne']?.[index]?.url;
|
|
6872
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6860
6873
|
},
|
|
6861
6874
|
/**
|
|
6862
6875
|
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
@@ -6867,9 +6880,9 @@ export const ItemApiFp = function (configuration) {
|
|
|
6867
6880
|
*/
|
|
6868
6881
|
async itemControllerSearch(itemSearchInputDTO, options) {
|
|
6869
6882
|
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerSearch(itemSearchInputDTO, options);
|
|
6870
|
-
const
|
|
6871
|
-
const
|
|
6872
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6883
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6884
|
+
const operationBasePath = operationServerMap['ItemApi.itemControllerSearch']?.[index]?.url;
|
|
6885
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6873
6886
|
},
|
|
6874
6887
|
};
|
|
6875
6888
|
};
|
|
@@ -7109,9 +7122,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7109
7122
|
*/
|
|
7110
7123
|
async metaGetHealth(options) {
|
|
7111
7124
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetHealth(options);
|
|
7112
|
-
const
|
|
7113
|
-
const
|
|
7114
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7125
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7126
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetHealth']?.[index]?.url;
|
|
7127
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7115
7128
|
},
|
|
7116
7129
|
/**
|
|
7117
7130
|
* <br> OperationId: `MetaGetMetrics`
|
|
@@ -7121,9 +7134,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7121
7134
|
*/
|
|
7122
7135
|
async metaGetMetrics(options) {
|
|
7123
7136
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetMetrics(options);
|
|
7124
|
-
const
|
|
7125
|
-
const
|
|
7126
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7137
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7138
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetMetrics']?.[index]?.url;
|
|
7139
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7127
7140
|
},
|
|
7128
7141
|
/**
|
|
7129
7142
|
* <br> OperationId: `MetaGetOpenApi`
|
|
@@ -7133,9 +7146,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7133
7146
|
*/
|
|
7134
7147
|
async metaGetOpenApi(options) {
|
|
7135
7148
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetOpenApi(options);
|
|
7136
|
-
const
|
|
7137
|
-
const
|
|
7138
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7149
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7150
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetOpenApi']?.[index]?.url;
|
|
7151
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7139
7152
|
},
|
|
7140
7153
|
/**
|
|
7141
7154
|
* <br> OperationId: `MetaGetOpenApiHtml`
|
|
@@ -7145,9 +7158,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7145
7158
|
*/
|
|
7146
7159
|
async metaGetOpenApiHtml(options) {
|
|
7147
7160
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetOpenApiHtml(options);
|
|
7148
|
-
const
|
|
7149
|
-
const
|
|
7150
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7161
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7162
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetOpenApiHtml']?.[index]?.url;
|
|
7163
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7151
7164
|
},
|
|
7152
7165
|
/**
|
|
7153
7166
|
* <br> OperationId: `MetaGetReadiness`
|
|
@@ -7157,9 +7170,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7157
7170
|
*/
|
|
7158
7171
|
async metaGetReadiness(options) {
|
|
7159
7172
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetReadiness(options);
|
|
7160
|
-
const
|
|
7161
|
-
const
|
|
7162
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7173
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7174
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetReadiness']?.[index]?.url;
|
|
7175
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7163
7176
|
},
|
|
7164
7177
|
/**
|
|
7165
7178
|
* <br> OperationId: `MetaGetRoot`
|
|
@@ -7169,9 +7182,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7169
7182
|
*/
|
|
7170
7183
|
async metaGetRoot(options) {
|
|
7171
7184
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetRoot(options);
|
|
7172
|
-
const
|
|
7173
|
-
const
|
|
7174
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7185
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7186
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetRoot']?.[index]?.url;
|
|
7187
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7175
7188
|
},
|
|
7176
7189
|
};
|
|
7177
7190
|
};
|
|
@@ -7764,9 +7777,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7764
7777
|
*/
|
|
7765
7778
|
async moduleControllerCreate(moduleCreateAPIDTO, options) {
|
|
7766
7779
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerCreate(moduleCreateAPIDTO, options);
|
|
7767
|
-
const
|
|
7768
|
-
const
|
|
7769
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7780
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7781
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerCreate']?.[index]?.url;
|
|
7782
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7770
7783
|
},
|
|
7771
7784
|
/**
|
|
7772
7785
|
* 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 +7791,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7778
7791
|
*/
|
|
7779
7792
|
async moduleControllerExport(id, moduleExportOptionsDTO, options) {
|
|
7780
7793
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerExport(id, moduleExportOptionsDTO, options);
|
|
7781
|
-
const
|
|
7782
|
-
const
|
|
7783
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7794
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7795
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerExport']?.[index]?.url;
|
|
7796
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7784
7797
|
},
|
|
7785
7798
|
/**
|
|
7786
7799
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleControllerGetOne`
|
|
@@ -7791,9 +7804,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7791
7804
|
*/
|
|
7792
7805
|
async moduleControllerGetOne(id, options) {
|
|
7793
7806
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerGetOne(id, options);
|
|
7794
|
-
const
|
|
7795
|
-
const
|
|
7796
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7807
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7808
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerGetOne']?.[index]?.url;
|
|
7809
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7797
7810
|
},
|
|
7798
7811
|
/**
|
|
7799
7812
|
* Imports a module from a format that was exported from another Takaro instance Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerImport`
|
|
@@ -7804,9 +7817,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7804
7817
|
*/
|
|
7805
7818
|
async moduleControllerImport(body, options) {
|
|
7806
7819
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerImport(body, options);
|
|
7807
|
-
const
|
|
7808
|
-
const
|
|
7809
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7820
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7821
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerImport']?.[index]?.url;
|
|
7822
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7810
7823
|
},
|
|
7811
7824
|
/**
|
|
7812
7825
|
* Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
|
|
@@ -7817,9 +7830,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7817
7830
|
*/
|
|
7818
7831
|
async moduleControllerRemove(id, options) {
|
|
7819
7832
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerRemove(id, options);
|
|
7820
|
-
const
|
|
7821
|
-
const
|
|
7822
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7833
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7834
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerRemove']?.[index]?.url;
|
|
7835
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7823
7836
|
},
|
|
7824
7837
|
/**
|
|
7825
7838
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleControllerSearch`
|
|
@@ -7830,9 +7843,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7830
7843
|
*/
|
|
7831
7844
|
async moduleControllerSearch(moduleSearchInputDTO, options) {
|
|
7832
7845
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerSearch(moduleSearchInputDTO, options);
|
|
7833
|
-
const
|
|
7834
|
-
const
|
|
7835
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7846
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7847
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerSearch']?.[index]?.url;
|
|
7848
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7836
7849
|
},
|
|
7837
7850
|
/**
|
|
7838
7851
|
* Update a module Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerUpdate`
|
|
@@ -7844,9 +7857,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7844
7857
|
*/
|
|
7845
7858
|
async moduleControllerUpdate(id, moduleUpdateDTO, options) {
|
|
7846
7859
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerUpdate(id, moduleUpdateDTO, options);
|
|
7847
|
-
const
|
|
7848
|
-
const
|
|
7849
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7860
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7861
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerUpdate']?.[index]?.url;
|
|
7862
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7850
7863
|
},
|
|
7851
7864
|
/**
|
|
7852
7865
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
@@ -7857,10 +7870,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7857
7870
|
*/
|
|
7858
7871
|
async moduleInstallationsControllerGetInstalledModules(moduleInstallationSearchInputDTO, options) {
|
|
7859
7872
|
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);
|
|
7873
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7874
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerGetInstalledModules']?.[index]?.url;
|
|
7875
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7864
7876
|
},
|
|
7865
7877
|
/**
|
|
7866
7878
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetModuleInstallation`
|
|
@@ -7872,9 +7884,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7872
7884
|
*/
|
|
7873
7885
|
async moduleInstallationsControllerGetModuleInstallation(moduleId, gameServerId, options) {
|
|
7874
7886
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleInstallationsControllerGetModuleInstallation(moduleId, gameServerId, options);
|
|
7875
|
-
const
|
|
7876
|
-
const
|
|
7877
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7887
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7888
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerGetModuleInstallation']?.[index]?.url;
|
|
7889
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7878
7890
|
},
|
|
7879
7891
|
/**
|
|
7880
7892
|
* 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 +7897,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7885
7897
|
*/
|
|
7886
7898
|
async moduleInstallationsControllerInstallModule(installModuleDTO, options) {
|
|
7887
7899
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleInstallationsControllerInstallModule(installModuleDTO, options);
|
|
7888
|
-
const
|
|
7889
|
-
const
|
|
7890
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7900
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7901
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerInstallModule']?.[index]?.url;
|
|
7902
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7891
7903
|
},
|
|
7892
7904
|
/**
|
|
7893
7905
|
* Uninstall a module from a gameserver. This will not delete the module from the database. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `ModuleInstallationsControllerUninstallModule`
|
|
@@ -7899,10 +7911,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7899
7911
|
*/
|
|
7900
7912
|
async moduleInstallationsControllerUninstallModule(moduleId, gameServerId, options) {
|
|
7901
7913
|
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);
|
|
7914
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7915
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerUninstallModule']?.[index]?.url;
|
|
7916
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7906
7917
|
},
|
|
7907
7918
|
/**
|
|
7908
7919
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleVersionControllerGetModuleVersion`
|
|
@@ -7913,9 +7924,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7913
7924
|
*/
|
|
7914
7925
|
async moduleVersionControllerGetModuleVersion(id, options) {
|
|
7915
7926
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleVersionControllerGetModuleVersion(id, options);
|
|
7916
|
-
const
|
|
7917
|
-
const
|
|
7918
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7927
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7928
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleVersionControllerGetModuleVersion']?.[index]?.url;
|
|
7929
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7919
7930
|
},
|
|
7920
7931
|
/**
|
|
7921
7932
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleVersionControllerSearchVersions`
|
|
@@ -7926,9 +7937,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7926
7937
|
*/
|
|
7927
7938
|
async moduleVersionControllerSearchVersions(moduleVersionSearchInputDTO, options) {
|
|
7928
7939
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleVersionControllerSearchVersions(moduleVersionSearchInputDTO, options);
|
|
7929
|
-
const
|
|
7930
|
-
const
|
|
7931
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7940
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7941
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleVersionControllerSearchVersions']?.[index]?.url;
|
|
7942
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7932
7943
|
},
|
|
7933
7944
|
/**
|
|
7934
7945
|
* 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 +7950,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7939
7950
|
*/
|
|
7940
7951
|
async moduleVersionControllerTagVersion(moduleVersionCreateAPIDTO, options) {
|
|
7941
7952
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleVersionControllerTagVersion(moduleVersionCreateAPIDTO, options);
|
|
7942
|
-
const
|
|
7943
|
-
const
|
|
7944
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7953
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7954
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleVersionControllerTagVersion']?.[index]?.url;
|
|
7955
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7945
7956
|
},
|
|
7946
7957
|
};
|
|
7947
7958
|
};
|
|
@@ -8700,9 +8711,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8700
8711
|
*/
|
|
8701
8712
|
async banControllerCreate(banCreateDTO, options) {
|
|
8702
8713
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerCreate(banCreateDTO, options);
|
|
8703
|
-
const
|
|
8704
|
-
const
|
|
8705
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8714
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8715
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerCreate']?.[index]?.url;
|
|
8716
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8706
8717
|
},
|
|
8707
8718
|
/**
|
|
8708
8719
|
* Unban player. This will remove the ban from Takaro and the gameserver(s) Required permissions: `MANAGE_PLAYERS`<br> OperationId: `BanControllerDelete`
|
|
@@ -8713,9 +8724,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8713
8724
|
*/
|
|
8714
8725
|
async banControllerDelete(id, options) {
|
|
8715
8726
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerDelete(id, options);
|
|
8716
|
-
const
|
|
8717
|
-
const
|
|
8718
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8727
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8728
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerDelete']?.[index]?.url;
|
|
8729
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8719
8730
|
},
|
|
8720
8731
|
/**
|
|
8721
8732
|
* Get a single ban Required permissions: `READ_PLAYERS`<br> OperationId: `BanControllerGetOne`
|
|
@@ -8726,9 +8737,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8726
8737
|
*/
|
|
8727
8738
|
async banControllerGetOne(id, options) {
|
|
8728
8739
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerGetOne(id, options);
|
|
8729
|
-
const
|
|
8730
|
-
const
|
|
8731
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8740
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8741
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerGetOne']?.[index]?.url;
|
|
8742
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8732
8743
|
},
|
|
8733
8744
|
/**
|
|
8734
8745
|
* Search for bans Required permissions: `READ_PLAYERS`<br> OperationId: `BanControllerSearch`
|
|
@@ -8739,9 +8750,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8739
8750
|
*/
|
|
8740
8751
|
async banControllerSearch(banSearchInputDTO, options) {
|
|
8741
8752
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerSearch(banSearchInputDTO, options);
|
|
8742
|
-
const
|
|
8743
|
-
const
|
|
8744
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8753
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8754
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerSearch']?.[index]?.url;
|
|
8755
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8745
8756
|
},
|
|
8746
8757
|
/**
|
|
8747
8758
|
* 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 +8764,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8753
8764
|
*/
|
|
8754
8765
|
async banControllerUpdate(id, banUpdateDTO, options) {
|
|
8755
8766
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerUpdate(id, banUpdateDTO, options);
|
|
8756
|
-
const
|
|
8757
|
-
const
|
|
8758
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8767
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8768
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerUpdate']?.[index]?.url;
|
|
8769
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8759
8770
|
},
|
|
8760
8771
|
/**
|
|
8761
8772
|
* Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerAssignRole`
|
|
@@ -8768,9 +8779,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8768
8779
|
*/
|
|
8769
8780
|
async playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options) {
|
|
8770
8781
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options);
|
|
8771
|
-
const
|
|
8772
|
-
const
|
|
8773
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8782
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8783
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerAssignRole']?.[index]?.url;
|
|
8784
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8774
8785
|
},
|
|
8775
8786
|
/**
|
|
8776
8787
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
@@ -8781,9 +8792,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8781
8792
|
*/
|
|
8782
8793
|
async playerControllerBulkDelete(playerBulkDeleteInputDTO, options) {
|
|
8783
8794
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerBulkDelete(playerBulkDeleteInputDTO, options);
|
|
8784
|
-
const
|
|
8785
|
-
const
|
|
8786
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8795
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8796
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerBulkDelete']?.[index]?.url;
|
|
8797
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8787
8798
|
},
|
|
8788
8799
|
/**
|
|
8789
8800
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
@@ -8794,9 +8805,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8794
8805
|
*/
|
|
8795
8806
|
async playerControllerDelete(id, options) {
|
|
8796
8807
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerDelete(id, options);
|
|
8797
|
-
const
|
|
8798
|
-
const
|
|
8799
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8808
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8809
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerDelete']?.[index]?.url;
|
|
8810
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8800
8811
|
},
|
|
8801
8812
|
/**
|
|
8802
8813
|
* Get the player that is currently authenticated. This is a low-privilege route, returning limited data.<br> OperationId: `PlayerControllerGetMe`
|
|
@@ -8806,9 +8817,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8806
8817
|
*/
|
|
8807
8818
|
async playerControllerGetMe(options) {
|
|
8808
8819
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerGetMe(options);
|
|
8809
|
-
const
|
|
8810
|
-
const
|
|
8811
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8820
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8821
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerGetMe']?.[index]?.url;
|
|
8822
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8812
8823
|
},
|
|
8813
8824
|
/**
|
|
8814
8825
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerGetOne`
|
|
@@ -8819,9 +8830,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8819
8830
|
*/
|
|
8820
8831
|
async playerControllerGetOne(id, options) {
|
|
8821
8832
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerGetOne(id, options);
|
|
8822
|
-
const
|
|
8823
|
-
const
|
|
8824
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8833
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8834
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerGetOne']?.[index]?.url;
|
|
8835
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8825
8836
|
},
|
|
8826
8837
|
/**
|
|
8827
8838
|
* Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
|
|
@@ -8834,9 +8845,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8834
8845
|
*/
|
|
8835
8846
|
async playerControllerRemoveRole(id, roleId, playerRoleAssignChangeDTO, options) {
|
|
8836
8847
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerRemoveRole(id, roleId, playerRoleAssignChangeDTO, options);
|
|
8837
|
-
const
|
|
8838
|
-
const
|
|
8839
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8848
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8849
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerRemoveRole']?.[index]?.url;
|
|
8850
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8840
8851
|
},
|
|
8841
8852
|
/**
|
|
8842
8853
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerSearch`
|
|
@@ -8847,9 +8858,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8847
8858
|
*/
|
|
8848
8859
|
async playerControllerSearch(playerSearchInputDTO, options) {
|
|
8849
8860
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerSearch(playerSearchInputDTO, options);
|
|
8850
|
-
const
|
|
8851
|
-
const
|
|
8852
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8861
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8862
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerSearch']?.[index]?.url;
|
|
8863
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8853
8864
|
},
|
|
8854
8865
|
};
|
|
8855
8866
|
};
|
|
@@ -9469,9 +9480,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9469
9480
|
*/
|
|
9470
9481
|
async playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9471
9482
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
9472
|
-
const
|
|
9473
|
-
const
|
|
9474
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9483
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9484
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerAddCurrency']?.[index]?.url;
|
|
9485
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9475
9486
|
},
|
|
9476
9487
|
/**
|
|
9477
9488
|
* 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 +9494,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9483
9494
|
*/
|
|
9484
9495
|
async playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
9485
9496
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options);
|
|
9486
|
-
const
|
|
9487
|
-
const
|
|
9488
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9497
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9498
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkDelete']?.[index]?.url;
|
|
9499
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9489
9500
|
},
|
|
9490
9501
|
/**
|
|
9491
9502
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
@@ -9498,9 +9509,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9498
9509
|
*/
|
|
9499
9510
|
async playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9500
9511
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
9501
|
-
const
|
|
9502
|
-
const
|
|
9503
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9512
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9513
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDeductCurrency']?.[index]?.url;
|
|
9514
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9504
9515
|
},
|
|
9505
9516
|
/**
|
|
9506
9517
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
@@ -9512,10 +9523,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9512
9523
|
*/
|
|
9513
9524
|
async playerOnGameServerControllerDelete(gameServerId, playerId, options) {
|
|
9514
9525
|
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);
|
|
9526
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9527
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDelete']?.[index]?.url;
|
|
9528
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9519
9529
|
},
|
|
9520
9530
|
/**
|
|
9521
9531
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
@@ -9527,10 +9537,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9527
9537
|
*/
|
|
9528
9538
|
async playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
|
|
9529
9539
|
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);
|
|
9540
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9541
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerGetOne']?.[index]?.url;
|
|
9542
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9534
9543
|
},
|
|
9535
9544
|
/**
|
|
9536
9545
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
|
|
@@ -9541,10 +9550,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9541
9550
|
*/
|
|
9542
9551
|
async playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
|
|
9543
9552
|
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);
|
|
9553
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9554
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSearch']?.[index]?.url;
|
|
9555
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9548
9556
|
},
|
|
9549
9557
|
/**
|
|
9550
9558
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
|
|
@@ -9557,9 +9565,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9557
9565
|
*/
|
|
9558
9566
|
async playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9559
9567
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
9560
|
-
const
|
|
9561
|
-
const
|
|
9562
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9568
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9569
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSetCurrency']?.[index]?.url;
|
|
9570
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9563
9571
|
},
|
|
9564
9572
|
/**
|
|
9565
9573
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
|
|
@@ -9573,9 +9581,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9573
9581
|
*/
|
|
9574
9582
|
async playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9575
9583
|
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,
|
|
9584
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9585
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerTransactBetweenPlayers']?.[index]?.url;
|
|
9586
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9579
9587
|
},
|
|
9580
9588
|
};
|
|
9581
9589
|
};
|
|
@@ -10018,9 +10026,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10018
10026
|
*/
|
|
10019
10027
|
async roleControllerCreate(roleCreateInputDTO, options) {
|
|
10020
10028
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerCreate(roleCreateInputDTO, options);
|
|
10021
|
-
const
|
|
10022
|
-
const
|
|
10023
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10029
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10030
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerCreate']?.[index]?.url;
|
|
10031
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10024
10032
|
},
|
|
10025
10033
|
/**
|
|
10026
10034
|
* Required permissions: `READ_ROLES`<br> OperationId: `RoleControllerGetOne`
|
|
@@ -10031,9 +10039,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10031
10039
|
*/
|
|
10032
10040
|
async roleControllerGetOne(id, options) {
|
|
10033
10041
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerGetOne(id, options);
|
|
10034
|
-
const
|
|
10035
|
-
const
|
|
10036
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10042
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10043
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerGetOne']?.[index]?.url;
|
|
10044
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10037
10045
|
},
|
|
10038
10046
|
/**
|
|
10039
10047
|
* <br> OperationId: `RoleControllerGetPermissions`
|
|
@@ -10043,9 +10051,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10043
10051
|
*/
|
|
10044
10052
|
async roleControllerGetPermissions(options) {
|
|
10045
10053
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerGetPermissions(options);
|
|
10046
|
-
const
|
|
10047
|
-
const
|
|
10048
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10054
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10055
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerGetPermissions']?.[index]?.url;
|
|
10056
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10049
10057
|
},
|
|
10050
10058
|
/**
|
|
10051
10059
|
* Required permissions: `MANAGE_ROLES`<br> OperationId: `RoleControllerRemove`
|
|
@@ -10056,9 +10064,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10056
10064
|
*/
|
|
10057
10065
|
async roleControllerRemove(id, options) {
|
|
10058
10066
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerRemove(id, options);
|
|
10059
|
-
const
|
|
10060
|
-
const
|
|
10061
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10067
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10068
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerRemove']?.[index]?.url;
|
|
10069
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10062
10070
|
},
|
|
10063
10071
|
/**
|
|
10064
10072
|
* Required permissions: `READ_ROLES`<br> OperationId: `RoleControllerSearch`
|
|
@@ -10069,9 +10077,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10069
10077
|
*/
|
|
10070
10078
|
async roleControllerSearch(roleSearchInputDTO, options) {
|
|
10071
10079
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerSearch(roleSearchInputDTO, options);
|
|
10072
|
-
const
|
|
10073
|
-
const
|
|
10074
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10080
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10081
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerSearch']?.[index]?.url;
|
|
10082
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10075
10083
|
},
|
|
10076
10084
|
/**
|
|
10077
10085
|
* Required permissions: `MANAGE_ROLES`<br> OperationId: `RoleControllerUpdate`
|
|
@@ -10083,9 +10091,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10083
10091
|
*/
|
|
10084
10092
|
async roleControllerUpdate(id, roleUpdateInputDTO, options) {
|
|
10085
10093
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerUpdate(id, roleUpdateInputDTO, options);
|
|
10086
|
-
const
|
|
10087
|
-
const
|
|
10088
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10094
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10095
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerUpdate']?.[index]?.url;
|
|
10096
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10089
10097
|
},
|
|
10090
10098
|
};
|
|
10091
10099
|
};
|
|
@@ -10403,9 +10411,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10403
10411
|
*/
|
|
10404
10412
|
async settingsControllerDelete(key, gameServerId, options) {
|
|
10405
10413
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerDelete(key, gameServerId, options);
|
|
10406
|
-
const
|
|
10407
|
-
const
|
|
10408
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10414
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10415
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerDelete']?.[index]?.url;
|
|
10416
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10409
10417
|
},
|
|
10410
10418
|
/**
|
|
10411
10419
|
* <br> OperationId: `SettingsControllerGet`
|
|
@@ -10417,9 +10425,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10417
10425
|
*/
|
|
10418
10426
|
async settingsControllerGet(keys, gameServerId, options) {
|
|
10419
10427
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerGet(keys, gameServerId, options);
|
|
10420
|
-
const
|
|
10421
|
-
const
|
|
10422
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10428
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10429
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerGet']?.[index]?.url;
|
|
10430
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10423
10431
|
},
|
|
10424
10432
|
/**
|
|
10425
10433
|
* <br> OperationId: `SettingsControllerGetOne`
|
|
@@ -10431,9 +10439,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10431
10439
|
*/
|
|
10432
10440
|
async settingsControllerGetOne(key, gameServerId, options) {
|
|
10433
10441
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerGetOne(key, gameServerId, options);
|
|
10434
|
-
const
|
|
10435
|
-
const
|
|
10436
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10442
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10443
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerGetOne']?.[index]?.url;
|
|
10444
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10437
10445
|
},
|
|
10438
10446
|
/**
|
|
10439
10447
|
* Required permissions: `MANAGE_SETTINGS`<br> OperationId: `SettingsControllerSet`
|
|
@@ -10445,9 +10453,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10445
10453
|
*/
|
|
10446
10454
|
async settingsControllerSet(key, settingsSetDTO, options) {
|
|
10447
10455
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerSet(key, settingsSetDTO, options);
|
|
10448
|
-
const
|
|
10449
|
-
const
|
|
10450
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10456
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10457
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerSet']?.[index]?.url;
|
|
10458
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10451
10459
|
},
|
|
10452
10460
|
};
|
|
10453
10461
|
};
|
|
@@ -11375,9 +11383,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11375
11383
|
*/
|
|
11376
11384
|
async shopCategoryControllerBulkAssign(shopCategoryBulkAssignDTO, options) {
|
|
11377
11385
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerBulkAssign(shopCategoryBulkAssignDTO, options);
|
|
11378
|
-
const
|
|
11379
|
-
const
|
|
11380
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11386
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11387
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerBulkAssign']?.[index]?.url;
|
|
11388
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11381
11389
|
},
|
|
11382
11390
|
/**
|
|
11383
11391
|
* Create a new shop category Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerCreate`
|
|
@@ -11388,9 +11396,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11388
11396
|
*/
|
|
11389
11397
|
async shopCategoryControllerCreate(shopCategoryCreateDTO, options) {
|
|
11390
11398
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerCreate(shopCategoryCreateDTO, options);
|
|
11391
|
-
const
|
|
11392
|
-
const
|
|
11393
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11399
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11400
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerCreate']?.[index]?.url;
|
|
11401
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11394
11402
|
},
|
|
11395
11403
|
/**
|
|
11396
11404
|
* Get all shop categories<br> OperationId: `ShopCategoryControllerGetAll`
|
|
@@ -11401,9 +11409,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11401
11409
|
*/
|
|
11402
11410
|
async shopCategoryControllerGetAll(gameServerId, options) {
|
|
11403
11411
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerGetAll(gameServerId, options);
|
|
11404
|
-
const
|
|
11405
|
-
const
|
|
11406
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11412
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11413
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerGetAll']?.[index]?.url;
|
|
11414
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11407
11415
|
},
|
|
11408
11416
|
/**
|
|
11409
11417
|
* Get a shop category by id<br> OperationId: `ShopCategoryControllerGetOne`
|
|
@@ -11415,9 +11423,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11415
11423
|
*/
|
|
11416
11424
|
async shopCategoryControllerGetOne(id, gameServerId, options) {
|
|
11417
11425
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerGetOne(id, gameServerId, options);
|
|
11418
|
-
const
|
|
11419
|
-
const
|
|
11420
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11426
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11427
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerGetOne']?.[index]?.url;
|
|
11428
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11421
11429
|
},
|
|
11422
11430
|
/**
|
|
11423
11431
|
* Move a shop category to a different parent Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerMove`
|
|
@@ -11429,9 +11437,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11429
11437
|
*/
|
|
11430
11438
|
async shopCategoryControllerMove(id, shopCategoryMoveDTO, options) {
|
|
11431
11439
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerMove(id, shopCategoryMoveDTO, options);
|
|
11432
|
-
const
|
|
11433
|
-
const
|
|
11434
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11440
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11441
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerMove']?.[index]?.url;
|
|
11442
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11435
11443
|
},
|
|
11436
11444
|
/**
|
|
11437
11445
|
* Delete a shop category Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerRemove`
|
|
@@ -11442,9 +11450,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11442
11450
|
*/
|
|
11443
11451
|
async shopCategoryControllerRemove(id, options) {
|
|
11444
11452
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerRemove(id, options);
|
|
11445
|
-
const
|
|
11446
|
-
const
|
|
11447
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11453
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11454
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerRemove']?.[index]?.url;
|
|
11455
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11448
11456
|
},
|
|
11449
11457
|
/**
|
|
11450
11458
|
* Search shop categories<br> OperationId: `ShopCategoryControllerSearch`
|
|
@@ -11455,9 +11463,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11455
11463
|
*/
|
|
11456
11464
|
async shopCategoryControllerSearch(shopCategorySearchInputDTO, options) {
|
|
11457
11465
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerSearch(shopCategorySearchInputDTO, options);
|
|
11458
|
-
const
|
|
11459
|
-
const
|
|
11460
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11466
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11467
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerSearch']?.[index]?.url;
|
|
11468
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11461
11469
|
},
|
|
11462
11470
|
/**
|
|
11463
11471
|
* Update a shop category Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerUpdate`
|
|
@@ -11469,9 +11477,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
11469
11477
|
*/
|
|
11470
11478
|
async shopCategoryControllerUpdate(id, shopCategoryUpdateDTO, options) {
|
|
11471
11479
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerUpdate(id, shopCategoryUpdateDTO, options);
|
|
11472
|
-
const
|
|
11473
|
-
const
|
|
11474
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11480
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11481
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerUpdate']?.[index]?.url;
|
|
11482
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11475
11483
|
},
|
|
11476
11484
|
};
|
|
11477
11485
|
};
|
|
@@ -11892,9 +11900,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11892
11900
|
*/
|
|
11893
11901
|
async shopListingControllerCreate(shopListingCreateDTO, options) {
|
|
11894
11902
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerCreate(shopListingCreateDTO, options);
|
|
11895
|
-
const
|
|
11896
|
-
const
|
|
11897
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11903
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11904
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerCreate']?.[index]?.url;
|
|
11905
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11898
11906
|
},
|
|
11899
11907
|
/**
|
|
11900
11908
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerDelete`
|
|
@@ -11905,9 +11913,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11905
11913
|
*/
|
|
11906
11914
|
async shopListingControllerDelete(id, options) {
|
|
11907
11915
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerDelete(id, options);
|
|
11908
|
-
const
|
|
11909
|
-
const
|
|
11910
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11916
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11917
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerDelete']?.[index]?.url;
|
|
11918
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11911
11919
|
},
|
|
11912
11920
|
/**
|
|
11913
11921
|
* <br> OperationId: `ShopListingControllerGetOne`
|
|
@@ -11918,9 +11926,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11918
11926
|
*/
|
|
11919
11927
|
async shopListingControllerGetOne(id, options) {
|
|
11920
11928
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerGetOne(id, options);
|
|
11921
|
-
const
|
|
11922
|
-
const
|
|
11923
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11929
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11930
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerGetOne']?.[index]?.url;
|
|
11931
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11924
11932
|
},
|
|
11925
11933
|
/**
|
|
11926
11934
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerImportListings`
|
|
@@ -11930,9 +11938,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11930
11938
|
*/
|
|
11931
11939
|
async shopListingControllerImportListings(options) {
|
|
11932
11940
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
11933
|
-
const
|
|
11934
|
-
const
|
|
11935
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11941
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11942
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerImportListings']?.[index]?.url;
|
|
11943
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11936
11944
|
},
|
|
11937
11945
|
/**
|
|
11938
11946
|
* Search shop listings<br> OperationId: `ShopListingControllerSearch`
|
|
@@ -11943,9 +11951,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11943
11951
|
*/
|
|
11944
11952
|
async shopListingControllerSearch(shopListingSearchInputDTO, options) {
|
|
11945
11953
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerSearch(shopListingSearchInputDTO, options);
|
|
11946
|
-
const
|
|
11947
|
-
const
|
|
11948
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11954
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11955
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerSearch']?.[index]?.url;
|
|
11956
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11949
11957
|
},
|
|
11950
11958
|
/**
|
|
11951
11959
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerUpdate`
|
|
@@ -11957,9 +11965,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11957
11965
|
*/
|
|
11958
11966
|
async shopListingControllerUpdate(id, shopListingUpdateDTO, options) {
|
|
11959
11967
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerUpdate(id, shopListingUpdateDTO, options);
|
|
11960
|
-
const
|
|
11961
|
-
const
|
|
11962
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11968
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11969
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerUpdate']?.[index]?.url;
|
|
11970
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11963
11971
|
},
|
|
11964
11972
|
};
|
|
11965
11973
|
};
|
|
@@ -12293,9 +12301,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
12293
12301
|
*/
|
|
12294
12302
|
async shopOrderControllerCancel(id, options) {
|
|
12295
12303
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
12296
|
-
const
|
|
12297
|
-
const
|
|
12298
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12304
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12305
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[index]?.url;
|
|
12306
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12299
12307
|
},
|
|
12300
12308
|
/**
|
|
12301
12309
|
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
@@ -12306,9 +12314,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
12306
12314
|
*/
|
|
12307
12315
|
async shopOrderControllerClaim(id, options) {
|
|
12308
12316
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
12309
|
-
const
|
|
12310
|
-
const
|
|
12311
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12317
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12318
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[index]?.url;
|
|
12319
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12312
12320
|
},
|
|
12313
12321
|
/**
|
|
12314
12322
|
* <br> OperationId: `ShopOrderControllerCreate`
|
|
@@ -12319,9 +12327,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
12319
12327
|
*/
|
|
12320
12328
|
async shopOrderControllerCreate(shopOrderCreateDTO, options) {
|
|
12321
12329
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCreate(shopOrderCreateDTO, options);
|
|
12322
|
-
const
|
|
12323
|
-
const
|
|
12324
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12330
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12331
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerCreate']?.[index]?.url;
|
|
12332
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12325
12333
|
},
|
|
12326
12334
|
/**
|
|
12327
12335
|
* 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 +12340,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
12332
12340
|
*/
|
|
12333
12341
|
async shopOrderControllerGetOne(id, options) {
|
|
12334
12342
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerGetOne(id, options);
|
|
12335
|
-
const
|
|
12336
|
-
const
|
|
12337
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12343
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12344
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerGetOne']?.[index]?.url;
|
|
12345
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12338
12346
|
},
|
|
12339
12347
|
/**
|
|
12340
12348
|
* 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 +12353,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
12345
12353
|
*/
|
|
12346
12354
|
async shopOrderControllerSearch(shopOrderSearchInputDTO, options) {
|
|
12347
12355
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerSearch(shopOrderSearchInputDTO, options);
|
|
12348
|
-
const
|
|
12349
|
-
const
|
|
12350
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12356
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12357
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerSearch']?.[index]?.url;
|
|
12358
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12351
12359
|
},
|
|
12352
12360
|
};
|
|
12353
12361
|
};
|
|
@@ -12499,8 +12507,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12499
12507
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
12500
12508
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
12501
12509
|
* @param {string} [gameServerId]
|
|
12502
|
-
* @param {
|
|
12503
|
-
* @param {
|
|
12510
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12511
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12504
12512
|
* @param {*} [options] Override http request option.
|
|
12505
12513
|
* @throws {RequiredError}
|
|
12506
12514
|
*/
|
|
@@ -12578,8 +12586,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12578
12586
|
* @summary Get currency stats
|
|
12579
12587
|
* @param {string} gameServerId
|
|
12580
12588
|
* @param {string} [playerId]
|
|
12581
|
-
* @param {
|
|
12582
|
-
* @param {
|
|
12589
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12590
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12583
12591
|
* @param {*} [options] Override http request option.
|
|
12584
12592
|
* @throws {RequiredError}
|
|
12585
12593
|
*/
|
|
@@ -12627,8 +12635,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12627
12635
|
* @param {string} [moduleId]
|
|
12628
12636
|
* @param {string} [playerId]
|
|
12629
12637
|
* @param {string} [userId]
|
|
12630
|
-
* @param {
|
|
12631
|
-
* @param {
|
|
12638
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12639
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12632
12640
|
* @param {*} [options] Override http request option.
|
|
12633
12641
|
* @throws {RequiredError}
|
|
12634
12642
|
*/
|
|
@@ -12687,8 +12695,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12687
12695
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
12688
12696
|
* @summary Get latency stats
|
|
12689
12697
|
* @param {string} gameServerId
|
|
12690
|
-
* @param {
|
|
12691
|
-
* @param {
|
|
12698
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12699
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12692
12700
|
* @param {*} [options] Override http request option.
|
|
12693
12701
|
* @throws {RequiredError}
|
|
12694
12702
|
*/
|
|
@@ -12728,8 +12736,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12728
12736
|
* @summary Get ping stats
|
|
12729
12737
|
* @param {string} gameServerId
|
|
12730
12738
|
* @param {string} playerId
|
|
12731
|
-
* @param {
|
|
12732
|
-
* @param {
|
|
12739
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12740
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12733
12741
|
* @param {*} [options] Override http request option.
|
|
12734
12742
|
* @throws {RequiredError}
|
|
12735
12743
|
*/
|
|
@@ -12773,8 +12781,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12773
12781
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
12774
12782
|
* @summary Get player online stats
|
|
12775
12783
|
* @param {string} [gameServerId]
|
|
12776
|
-
* @param {
|
|
12777
|
-
* @param {
|
|
12784
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12785
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12778
12786
|
* @param {*} [options] Override http request option.
|
|
12779
12787
|
* @throws {RequiredError}
|
|
12780
12788
|
*/
|
|
@@ -12822,16 +12830,16 @@ export const StatsApiFp = function (configuration) {
|
|
|
12822
12830
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
12823
12831
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
12824
12832
|
* @param {string} [gameServerId]
|
|
12825
|
-
* @param {
|
|
12826
|
-
* @param {
|
|
12833
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12834
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12827
12835
|
* @param {*} [options] Override http request option.
|
|
12828
12836
|
* @throws {RequiredError}
|
|
12829
12837
|
*/
|
|
12830
12838
|
async statsControllerGetActivityStats(timeType, dataType, gameServerId, startDate, endDate, options) {
|
|
12831
12839
|
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,
|
|
12840
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12841
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetActivityStats']?.[index]?.url;
|
|
12842
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12835
12843
|
},
|
|
12836
12844
|
/**
|
|
12837
12845
|
* Calculates how many players are from each country. Returns a count per country (ISO3166). Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetCountryStats`
|
|
@@ -12842,25 +12850,25 @@ export const StatsApiFp = function (configuration) {
|
|
|
12842
12850
|
*/
|
|
12843
12851
|
async statsControllerGetCountryStats(gameServerId, options) {
|
|
12844
12852
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetCountryStats(gameServerId, options);
|
|
12845
|
-
const
|
|
12846
|
-
const
|
|
12847
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12853
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12854
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetCountryStats']?.[index]?.url;
|
|
12855
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12848
12856
|
},
|
|
12849
12857
|
/**
|
|
12850
12858
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetCurrencyStats`
|
|
12851
12859
|
* @summary Get currency stats
|
|
12852
12860
|
* @param {string} gameServerId
|
|
12853
12861
|
* @param {string} [playerId]
|
|
12854
|
-
* @param {
|
|
12855
|
-
* @param {
|
|
12862
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12863
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12856
12864
|
* @param {*} [options] Override http request option.
|
|
12857
12865
|
* @throws {RequiredError}
|
|
12858
12866
|
*/
|
|
12859
12867
|
async statsControllerGetCurrencyStats(gameServerId, playerId, startDate, endDate, options) {
|
|
12860
12868
|
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,
|
|
12869
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12870
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetCurrencyStats']?.[index]?.url;
|
|
12871
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12864
12872
|
},
|
|
12865
12873
|
/**
|
|
12866
12874
|
* 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 +12880,62 @@ export const StatsApiFp = function (configuration) {
|
|
|
12872
12880
|
* @param {string} [moduleId]
|
|
12873
12881
|
* @param {string} [playerId]
|
|
12874
12882
|
* @param {string} [userId]
|
|
12875
|
-
* @param {
|
|
12876
|
-
* @param {
|
|
12883
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12884
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12877
12885
|
* @param {*} [options] Override http request option.
|
|
12878
12886
|
* @throws {RequiredError}
|
|
12879
12887
|
*/
|
|
12880
12888
|
async statsControllerGetEventsCount(eventName, bucketStep, sumBy, gameServerId, moduleId, playerId, userId, startDate, endDate, options) {
|
|
12881
12889
|
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,
|
|
12890
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12891
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetEventsCount']?.[index]?.url;
|
|
12892
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12885
12893
|
},
|
|
12886
12894
|
/**
|
|
12887
12895
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
12888
12896
|
* @summary Get latency stats
|
|
12889
12897
|
* @param {string} gameServerId
|
|
12890
|
-
* @param {
|
|
12891
|
-
* @param {
|
|
12898
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12899
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12892
12900
|
* @param {*} [options] Override http request option.
|
|
12893
12901
|
* @throws {RequiredError}
|
|
12894
12902
|
*/
|
|
12895
12903
|
async statsControllerGetLatencyStats(gameServerId, startDate, endDate, options) {
|
|
12896
12904
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetLatencyStats(gameServerId, startDate, endDate, options);
|
|
12897
|
-
const
|
|
12898
|
-
const
|
|
12899
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12905
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12906
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetLatencyStats']?.[index]?.url;
|
|
12907
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12900
12908
|
},
|
|
12901
12909
|
/**
|
|
12902
12910
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPingStats`
|
|
12903
12911
|
* @summary Get ping stats
|
|
12904
12912
|
* @param {string} gameServerId
|
|
12905
12913
|
* @param {string} playerId
|
|
12906
|
-
* @param {
|
|
12907
|
-
* @param {
|
|
12914
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12915
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12908
12916
|
* @param {*} [options] Override http request option.
|
|
12909
12917
|
* @throws {RequiredError}
|
|
12910
12918
|
*/
|
|
12911
12919
|
async statsControllerGetPingStats(gameServerId, playerId, startDate, endDate, options) {
|
|
12912
12920
|
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,
|
|
12921
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12922
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetPingStats']?.[index]?.url;
|
|
12923
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12916
12924
|
},
|
|
12917
12925
|
/**
|
|
12918
12926
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
12919
12927
|
* @summary Get player online stats
|
|
12920
12928
|
* @param {string} [gameServerId]
|
|
12921
|
-
* @param {
|
|
12922
|
-
* @param {
|
|
12929
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12930
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12923
12931
|
* @param {*} [options] Override http request option.
|
|
12924
12932
|
* @throws {RequiredError}
|
|
12925
12933
|
*/
|
|
12926
12934
|
async statsControllerGetPlayerOnlineStats(gameServerId, startDate, endDate, options) {
|
|
12927
12935
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetPlayerOnlineStats(gameServerId, startDate, endDate, options);
|
|
12928
|
-
const
|
|
12929
|
-
const
|
|
12930
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12936
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12937
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetPlayerOnlineStats']?.[index]?.url;
|
|
12938
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12931
12939
|
},
|
|
12932
12940
|
};
|
|
12933
12941
|
};
|
|
@@ -12944,8 +12952,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12944
12952
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
12945
12953
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
12946
12954
|
* @param {string} [gameServerId]
|
|
12947
|
-
* @param {
|
|
12948
|
-
* @param {
|
|
12955
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12956
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12949
12957
|
* @param {*} [options] Override http request option.
|
|
12950
12958
|
* @throws {RequiredError}
|
|
12951
12959
|
*/
|
|
@@ -12971,8 +12979,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12971
12979
|
* @summary Get currency stats
|
|
12972
12980
|
* @param {string} gameServerId
|
|
12973
12981
|
* @param {string} [playerId]
|
|
12974
|
-
* @param {
|
|
12975
|
-
* @param {
|
|
12982
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12983
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12976
12984
|
* @param {*} [options] Override http request option.
|
|
12977
12985
|
* @throws {RequiredError}
|
|
12978
12986
|
*/
|
|
@@ -12991,8 +12999,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12991
12999
|
* @param {string} [moduleId]
|
|
12992
13000
|
* @param {string} [playerId]
|
|
12993
13001
|
* @param {string} [userId]
|
|
12994
|
-
* @param {
|
|
12995
|
-
* @param {
|
|
13002
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13003
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12996
13004
|
* @param {*} [options] Override http request option.
|
|
12997
13005
|
* @throws {RequiredError}
|
|
12998
13006
|
*/
|
|
@@ -13005,8 +13013,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
13005
13013
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
13006
13014
|
* @summary Get latency stats
|
|
13007
13015
|
* @param {string} gameServerId
|
|
13008
|
-
* @param {
|
|
13009
|
-
* @param {
|
|
13016
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13017
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13010
13018
|
* @param {*} [options] Override http request option.
|
|
13011
13019
|
* @throws {RequiredError}
|
|
13012
13020
|
*/
|
|
@@ -13020,8 +13028,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
13020
13028
|
* @summary Get ping stats
|
|
13021
13029
|
* @param {string} gameServerId
|
|
13022
13030
|
* @param {string} playerId
|
|
13023
|
-
* @param {
|
|
13024
|
-
* @param {
|
|
13031
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13032
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13025
13033
|
* @param {*} [options] Override http request option.
|
|
13026
13034
|
* @throws {RequiredError}
|
|
13027
13035
|
*/
|
|
@@ -13034,8 +13042,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
13034
13042
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
13035
13043
|
* @summary Get player online stats
|
|
13036
13044
|
* @param {string} [gameServerId]
|
|
13037
|
-
* @param {
|
|
13038
|
-
* @param {
|
|
13045
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13046
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13039
13047
|
* @param {*} [options] Override http request option.
|
|
13040
13048
|
* @throws {RequiredError}
|
|
13041
13049
|
*/
|
|
@@ -13059,8 +13067,8 @@ export class StatsApi extends BaseAPI {
|
|
|
13059
13067
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
13060
13068
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
13061
13069
|
* @param {string} [gameServerId]
|
|
13062
|
-
* @param {
|
|
13063
|
-
* @param {
|
|
13070
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13071
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13064
13072
|
* @param {*} [options] Override http request option.
|
|
13065
13073
|
* @throws {RequiredError}
|
|
13066
13074
|
* @memberof StatsApi
|
|
@@ -13088,8 +13096,8 @@ export class StatsApi extends BaseAPI {
|
|
|
13088
13096
|
* @summary Get currency stats
|
|
13089
13097
|
* @param {string} gameServerId
|
|
13090
13098
|
* @param {string} [playerId]
|
|
13091
|
-
* @param {
|
|
13092
|
-
* @param {
|
|
13099
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13100
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13093
13101
|
* @param {*} [options] Override http request option.
|
|
13094
13102
|
* @throws {RequiredError}
|
|
13095
13103
|
* @memberof StatsApi
|
|
@@ -13109,8 +13117,8 @@ export class StatsApi extends BaseAPI {
|
|
|
13109
13117
|
* @param {string} [moduleId]
|
|
13110
13118
|
* @param {string} [playerId]
|
|
13111
13119
|
* @param {string} [userId]
|
|
13112
|
-
* @param {
|
|
13113
|
-
* @param {
|
|
13120
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13121
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13114
13122
|
* @param {*} [options] Override http request option.
|
|
13115
13123
|
* @throws {RequiredError}
|
|
13116
13124
|
* @memberof StatsApi
|
|
@@ -13124,8 +13132,8 @@ export class StatsApi extends BaseAPI {
|
|
|
13124
13132
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
13125
13133
|
* @summary Get latency stats
|
|
13126
13134
|
* @param {string} gameServerId
|
|
13127
|
-
* @param {
|
|
13128
|
-
* @param {
|
|
13135
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13136
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13129
13137
|
* @param {*} [options] Override http request option.
|
|
13130
13138
|
* @throws {RequiredError}
|
|
13131
13139
|
* @memberof StatsApi
|
|
@@ -13140,8 +13148,8 @@ export class StatsApi extends BaseAPI {
|
|
|
13140
13148
|
* @summary Get ping stats
|
|
13141
13149
|
* @param {string} gameServerId
|
|
13142
13150
|
* @param {string} playerId
|
|
13143
|
-
* @param {
|
|
13144
|
-
* @param {
|
|
13151
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13152
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13145
13153
|
* @param {*} [options] Override http request option.
|
|
13146
13154
|
* @throws {RequiredError}
|
|
13147
13155
|
* @memberof StatsApi
|
|
@@ -13155,8 +13163,8 @@ export class StatsApi extends BaseAPI {
|
|
|
13155
13163
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
13156
13164
|
* @summary Get player online stats
|
|
13157
13165
|
* @param {string} [gameServerId]
|
|
13158
|
-
* @param {
|
|
13159
|
-
* @param {
|
|
13166
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13167
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
13160
13168
|
* @param {*} [options] Override http request option.
|
|
13161
13169
|
* @throws {RequiredError}
|
|
13162
13170
|
* @memberof StatsApi
|
|
@@ -13222,6 +13230,7 @@ export const StatsControllerGetEventsCountEventNameEnum = {
|
|
|
13222
13230
|
PlayerUnbanned: 'player-unbanned',
|
|
13223
13231
|
PlayerDeleted: 'player-deleted',
|
|
13224
13232
|
ShopActionExecuted: 'shop-action-executed',
|
|
13233
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
13225
13234
|
PlayerConnected: 'player-connected',
|
|
13226
13235
|
PlayerDisconnected: 'player-disconnected',
|
|
13227
13236
|
ChatMessage: 'chat-message',
|
|
@@ -13417,9 +13426,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
13417
13426
|
*/
|
|
13418
13427
|
async trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options) {
|
|
13419
13428
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options);
|
|
13420
|
-
const
|
|
13421
|
-
const
|
|
13422
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
13429
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13430
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetBoundingBoxPlayers']?.[index]?.url;
|
|
13431
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13423
13432
|
},
|
|
13424
13433
|
/**
|
|
13425
13434
|
* Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
|
|
@@ -13430,10 +13439,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
13430
13439
|
*/
|
|
13431
13440
|
async trackingControllerGetPlayerInventoryHistory(playerInventoryHistoryInputDTO, options) {
|
|
13432
13441
|
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);
|
|
13442
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13443
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetPlayerInventoryHistory']?.[index]?.url;
|
|
13444
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13437
13445
|
},
|
|
13438
13446
|
/**
|
|
13439
13447
|
* Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
|
|
@@ -13444,10 +13452,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
13444
13452
|
*/
|
|
13445
13453
|
async trackingControllerGetPlayerMovementHistory(playerMovementHistoryInputDTO, options) {
|
|
13446
13454
|
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);
|
|
13455
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13456
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetPlayerMovementHistory']?.[index]?.url;
|
|
13457
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13451
13458
|
},
|
|
13452
13459
|
/**
|
|
13453
13460
|
* Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
|
|
@@ -13458,9 +13465,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
13458
13465
|
*/
|
|
13459
13466
|
async trackingControllerGetPlayersByItem(playersByItemInputDTO, options) {
|
|
13460
13467
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPlayersByItem(playersByItemInputDTO, options);
|
|
13461
|
-
const
|
|
13462
|
-
const
|
|
13463
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
13468
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13469
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetPlayersByItem']?.[index]?.url;
|
|
13470
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13464
13471
|
},
|
|
13465
13472
|
/**
|
|
13466
13473
|
* Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
|
|
@@ -13471,9 +13478,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
13471
13478
|
*/
|
|
13472
13479
|
async trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options) {
|
|
13473
13480
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options);
|
|
13474
|
-
const
|
|
13475
|
-
const
|
|
13476
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
13481
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13482
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetRadiusPlayers']?.[index]?.url;
|
|
13483
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13477
13484
|
},
|
|
13478
13485
|
};
|
|
13479
13486
|
};
|
|
@@ -14058,9 +14065,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14058
14065
|
*/
|
|
14059
14066
|
async userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options) {
|
|
14060
14067
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options);
|
|
14061
|
-
const
|
|
14062
|
-
const
|
|
14063
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14068
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14069
|
+
const operationBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[index]?.url;
|
|
14070
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14064
14071
|
},
|
|
14065
14072
|
/**
|
|
14066
14073
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
@@ -14071,9 +14078,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14071
14078
|
*/
|
|
14072
14079
|
async userControllerCreate(userCreateInputDTO, options) {
|
|
14073
14080
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCreate(userCreateInputDTO, options);
|
|
14074
|
-
const
|
|
14075
|
-
const
|
|
14076
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14081
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14082
|
+
const operationBasePath = operationServerMap['UserApi.userControllerCreate']?.[index]?.url;
|
|
14083
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14077
14084
|
},
|
|
14078
14085
|
/**
|
|
14079
14086
|
* 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 +14090,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14083
14090
|
*/
|
|
14084
14091
|
async userControllerDeleteSelectedDomainCookie(options) {
|
|
14085
14092
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerDeleteSelectedDomainCookie(options);
|
|
14086
|
-
const
|
|
14087
|
-
const
|
|
14088
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14093
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14094
|
+
const operationBasePath = operationServerMap['UserApi.userControllerDeleteSelectedDomainCookie']?.[index]?.url;
|
|
14095
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14089
14096
|
},
|
|
14090
14097
|
/**
|
|
14091
14098
|
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerGetOne`
|
|
@@ -14096,9 +14103,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14096
14103
|
*/
|
|
14097
14104
|
async userControllerGetOne(id, options) {
|
|
14098
14105
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerGetOne(id, options);
|
|
14099
|
-
const
|
|
14100
|
-
const
|
|
14101
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14106
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14107
|
+
const operationBasePath = operationServerMap['UserApi.userControllerGetOne']?.[index]?.url;
|
|
14108
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14102
14109
|
},
|
|
14103
14110
|
/**
|
|
14104
14111
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerInvite`
|
|
@@ -14109,9 +14116,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14109
14116
|
*/
|
|
14110
14117
|
async userControllerInvite(inviteCreateDTO, options) {
|
|
14111
14118
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerInvite(inviteCreateDTO, options);
|
|
14112
|
-
const
|
|
14113
|
-
const
|
|
14114
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14119
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14120
|
+
const operationBasePath = operationServerMap['UserApi.userControllerInvite']?.[index]?.url;
|
|
14121
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14115
14122
|
},
|
|
14116
14123
|
/**
|
|
14117
14124
|
* 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 +14129,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14122
14129
|
*/
|
|
14123
14130
|
async userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options) {
|
|
14124
14131
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options);
|
|
14125
|
-
const
|
|
14126
|
-
const
|
|
14127
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14132
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14133
|
+
const operationBasePath = operationServerMap['UserApi.userControllerLinkPlayerProfile']?.[index]?.url;
|
|
14134
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14128
14135
|
},
|
|
14129
14136
|
/**
|
|
14130
14137
|
* <br> OperationId: `UserControllerLogin`
|
|
@@ -14135,9 +14142,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14135
14142
|
*/
|
|
14136
14143
|
async userControllerLogin(loginDTO, options) {
|
|
14137
14144
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerLogin(loginDTO, options);
|
|
14138
|
-
const
|
|
14139
|
-
const
|
|
14140
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14145
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14146
|
+
const operationBasePath = operationServerMap['UserApi.userControllerLogin']?.[index]?.url;
|
|
14147
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14141
14148
|
},
|
|
14142
14149
|
/**
|
|
14143
14150
|
* <br> OperationId: `UserControllerLogout`
|
|
@@ -14147,9 +14154,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14147
14154
|
*/
|
|
14148
14155
|
async userControllerLogout(options) {
|
|
14149
14156
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerLogout(options);
|
|
14150
|
-
const
|
|
14151
|
-
const
|
|
14152
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14157
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14158
|
+
const operationBasePath = operationServerMap['UserApi.userControllerLogout']?.[index]?.url;
|
|
14159
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14153
14160
|
},
|
|
14154
14161
|
/**
|
|
14155
14162
|
* 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 +14166,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14159
14166
|
*/
|
|
14160
14167
|
async userControllerMe(options) {
|
|
14161
14168
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerMe(options);
|
|
14162
|
-
const
|
|
14163
|
-
const
|
|
14164
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14169
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14170
|
+
const operationBasePath = operationServerMap['UserApi.userControllerMe']?.[index]?.url;
|
|
14171
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14165
14172
|
},
|
|
14166
14173
|
/**
|
|
14167
14174
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerRemove`
|
|
@@ -14172,9 +14179,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14172
14179
|
*/
|
|
14173
14180
|
async userControllerRemove(id, options) {
|
|
14174
14181
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerRemove(id, options);
|
|
14175
|
-
const
|
|
14176
|
-
const
|
|
14177
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14182
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14183
|
+
const operationBasePath = operationServerMap['UserApi.userControllerRemove']?.[index]?.url;
|
|
14184
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14178
14185
|
},
|
|
14179
14186
|
/**
|
|
14180
14187
|
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `UserControllerRemoveRole`
|
|
@@ -14186,9 +14193,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14186
14193
|
*/
|
|
14187
14194
|
async userControllerRemoveRole(id, roleId, options) {
|
|
14188
14195
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerRemoveRole(id, roleId, options);
|
|
14189
|
-
const
|
|
14190
|
-
const
|
|
14191
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14196
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14197
|
+
const operationBasePath = operationServerMap['UserApi.userControllerRemoveRole']?.[index]?.url;
|
|
14198
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14192
14199
|
},
|
|
14193
14200
|
/**
|
|
14194
14201
|
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerSearch`
|
|
@@ -14199,9 +14206,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14199
14206
|
*/
|
|
14200
14207
|
async userControllerSearch(userSearchInputDTO, options) {
|
|
14201
14208
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerSearch(userSearchInputDTO, options);
|
|
14202
|
-
const
|
|
14203
|
-
const
|
|
14204
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14209
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14210
|
+
const operationBasePath = operationServerMap['UserApi.userControllerSearch']?.[index]?.url;
|
|
14211
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14205
14212
|
},
|
|
14206
14213
|
/**
|
|
14207
14214
|
* One user can have multiple domains, this endpoint is a helper to set the selected domain for the user<br> OperationId: `UserControllerSetSelectedDomain`
|
|
@@ -14212,9 +14219,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14212
14219
|
*/
|
|
14213
14220
|
async userControllerSetSelectedDomain(domainId, options) {
|
|
14214
14221
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerSetSelectedDomain(domainId, options);
|
|
14215
|
-
const
|
|
14216
|
-
const
|
|
14217
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14222
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14223
|
+
const operationBasePath = operationServerMap['UserApi.userControllerSetSelectedDomain']?.[index]?.url;
|
|
14224
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14218
14225
|
},
|
|
14219
14226
|
/**
|
|
14220
14227
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerUpdate`
|
|
@@ -14226,9 +14233,9 @@ export const UserApiFp = function (configuration) {
|
|
|
14226
14233
|
*/
|
|
14227
14234
|
async userControllerUpdate(id, userUpdateDTO, options) {
|
|
14228
14235
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerUpdate(id, userUpdateDTO, options);
|
|
14229
|
-
const
|
|
14230
|
-
const
|
|
14231
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14236
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14237
|
+
const operationBasePath = operationServerMap['UserApi.userControllerUpdate']?.[index]?.url;
|
|
14238
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14232
14239
|
},
|
|
14233
14240
|
};
|
|
14234
14241
|
};
|
|
@@ -14749,9 +14756,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14749
14756
|
*/
|
|
14750
14757
|
async variableControllerCreate(variableCreateDTO, options) {
|
|
14751
14758
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerCreate(variableCreateDTO, options);
|
|
14752
|
-
const
|
|
14753
|
-
const
|
|
14754
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14759
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14760
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerCreate']?.[index]?.url;
|
|
14761
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14755
14762
|
},
|
|
14756
14763
|
/**
|
|
14757
14764
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerDelete`
|
|
@@ -14762,9 +14769,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14762
14769
|
*/
|
|
14763
14770
|
async variableControllerDelete(id, options) {
|
|
14764
14771
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerDelete(id, options);
|
|
14765
|
-
const
|
|
14766
|
-
const
|
|
14767
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14772
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14773
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerDelete']?.[index]?.url;
|
|
14774
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14768
14775
|
},
|
|
14769
14776
|
/**
|
|
14770
14777
|
* Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerFindOne`
|
|
@@ -14775,9 +14782,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14775
14782
|
*/
|
|
14776
14783
|
async variableControllerFindOne(id, options) {
|
|
14777
14784
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerFindOne(id, options);
|
|
14778
|
-
const
|
|
14779
|
-
const
|
|
14780
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14785
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14786
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerFindOne']?.[index]?.url;
|
|
14787
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14781
14788
|
},
|
|
14782
14789
|
/**
|
|
14783
14790
|
* Search variables Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerSearch`
|
|
@@ -14788,9 +14795,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14788
14795
|
*/
|
|
14789
14796
|
async variableControllerSearch(variableSearchInputDTO, options) {
|
|
14790
14797
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerSearch(variableSearchInputDTO, options);
|
|
14791
|
-
const
|
|
14792
|
-
const
|
|
14793
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14798
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14799
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerSearch']?.[index]?.url;
|
|
14800
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14794
14801
|
},
|
|
14795
14802
|
/**
|
|
14796
14803
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerUpdate`
|
|
@@ -14802,9 +14809,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14802
14809
|
*/
|
|
14803
14810
|
async variableControllerUpdate(id, variableUpdateDTO, options) {
|
|
14804
14811
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerUpdate(id, variableUpdateDTO, options);
|
|
14805
|
-
const
|
|
14806
|
-
const
|
|
14807
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14812
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14813
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerUpdate']?.[index]?.url;
|
|
14814
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14808
14815
|
},
|
|
14809
14816
|
};
|
|
14810
14817
|
};
|