@takaro/apiclient 0.0.0-dev.7322b11 → 0.0.0-dev.789f690
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/generated/api.d.ts +1104 -407
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1130 -604
- package/dist/generated/api.js.map +1 -1
- package/dist/generated/base.d.ts +1 -1
- package/dist/generated/base.js +1 -1
- package/dist/generated/common.d.ts +1 -1
- package/dist/generated/common.js +1 -1
- package/dist/generated/configuration.d.ts +1 -1
- package/dist/generated/configuration.js +1 -1
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/index.js +1 -1
- package/dist/lib/client.d.ts +2 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +6 -1
- package/dist/lib/client.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/api.ts +2183 -1349
- package/src/generated/base.ts +1 -1
- package/src/generated/common.ts +1 -1
- package/src/generated/configuration.ts +1 -1
- package/src/generated/index.ts +1 -1
- package/src/lib/client.ts +11 -0
package/dist/generated/api.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Takaro
|
|
4
|
+
* Takaro API
|
|
5
5
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
6
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 0.0.0
|
|
@@ -141,6 +141,7 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
141
141
|
PlayerBanned: 'player-banned',
|
|
142
142
|
PlayerUnbanned: 'player-unbanned',
|
|
143
143
|
PlayerDeleted: 'player-deleted',
|
|
144
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
144
145
|
PlayerConnected: 'player-connected',
|
|
145
146
|
PlayerDisconnected: 'player-disconnected',
|
|
146
147
|
ChatMessage: 'chat-message',
|
|
@@ -183,6 +184,7 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
183
184
|
PlayerBanned: 'player-banned',
|
|
184
185
|
PlayerUnbanned: 'player-unbanned',
|
|
185
186
|
PlayerDeleted: 'player-deleted',
|
|
187
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
186
188
|
PlayerConnected: 'player-connected',
|
|
187
189
|
PlayerDisconnected: 'player-disconnected',
|
|
188
190
|
ChatMessage: 'chat-message',
|
|
@@ -225,6 +227,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
225
227
|
PlayerBanned: 'player-banned',
|
|
226
228
|
PlayerUnbanned: 'player-unbanned',
|
|
227
229
|
PlayerDeleted: 'player-deleted',
|
|
230
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
228
231
|
PlayerConnected: 'player-connected',
|
|
229
232
|
PlayerDisconnected: 'player-disconnected',
|
|
230
233
|
ChatMessage: 'chat-message',
|
|
@@ -277,6 +280,7 @@ export const EventsCountInputDTOEventNameEnum = {
|
|
|
277
280
|
PlayerBanned: 'player-banned',
|
|
278
281
|
PlayerUnbanned: 'player-unbanned',
|
|
279
282
|
PlayerDeleted: 'player-deleted',
|
|
283
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
280
284
|
PlayerConnected: 'player-connected',
|
|
281
285
|
PlayerDisconnected: 'player-disconnected',
|
|
282
286
|
ChatMessage: 'chat-message',
|
|
@@ -424,6 +428,7 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
424
428
|
PlayerBanned: 'player-banned',
|
|
425
429
|
PlayerUnbanned: 'player-unbanned',
|
|
426
430
|
PlayerDeleted: 'player-deleted',
|
|
431
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
427
432
|
};
|
|
428
433
|
export const HookOutputDTOEventTypeEnum = {
|
|
429
434
|
Log: 'log',
|
|
@@ -468,6 +473,7 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
468
473
|
PlayerBanned: 'player-banned',
|
|
469
474
|
PlayerUnbanned: 'player-unbanned',
|
|
470
475
|
PlayerDeleted: 'player-deleted',
|
|
476
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
471
477
|
};
|
|
472
478
|
export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
473
479
|
Log: 'log',
|
|
@@ -512,6 +518,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
512
518
|
PlayerBanned: 'player-banned',
|
|
513
519
|
PlayerUnbanned: 'player-unbanned',
|
|
514
520
|
PlayerDeleted: 'player-deleted',
|
|
521
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
515
522
|
};
|
|
516
523
|
export const HookSearchInputDTOExtendEnum = {
|
|
517
524
|
Module: 'module',
|
|
@@ -564,6 +571,7 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
564
571
|
PlayerBanned: 'player-banned',
|
|
565
572
|
PlayerUnbanned: 'player-unbanned',
|
|
566
573
|
PlayerDeleted: 'player-deleted',
|
|
574
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
567
575
|
};
|
|
568
576
|
export const HookUpdateDTOEventTypeEnum = {
|
|
569
577
|
Log: 'log',
|
|
@@ -608,6 +616,7 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
608
616
|
PlayerBanned: 'player-banned',
|
|
609
617
|
PlayerUnbanned: 'player-unbanned',
|
|
610
618
|
PlayerDeleted: 'player-deleted',
|
|
619
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
611
620
|
};
|
|
612
621
|
export const IEntityDTOTypeEnum = {
|
|
613
622
|
Hostile: 'hostile',
|
|
@@ -657,6 +666,7 @@ export const IHookEventTypeEnum = {
|
|
|
657
666
|
PlayerBanned: 'player-banned',
|
|
658
667
|
PlayerUnbanned: 'player-unbanned',
|
|
659
668
|
PlayerDeleted: 'player-deleted',
|
|
669
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
660
670
|
};
|
|
661
671
|
export const ITakaroQuerySortDirectionEnum = {
|
|
662
672
|
Asc: 'asc',
|
|
@@ -789,6 +799,10 @@ export const SettingsOutputDTOTypeEnum = {
|
|
|
789
799
|
Global: 'global',
|
|
790
800
|
Default: 'default',
|
|
791
801
|
};
|
|
802
|
+
export const ShopActionSearchInputDTOSortDirectionEnum = {
|
|
803
|
+
Asc: 'asc',
|
|
804
|
+
Desc: 'desc',
|
|
805
|
+
};
|
|
792
806
|
export const ShopAnalyticsQueryDTOPeriodEnum = {
|
|
793
807
|
Last24Hours: 'last24Hours',
|
|
794
808
|
Last7Days: 'last7Days',
|
|
@@ -902,9 +916,9 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
902
916
|
*/
|
|
903
917
|
async analyticsControllerGetShopAnalytics(gameServerIds, period, options) {
|
|
904
918
|
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetShopAnalytics(gameServerIds, period, options);
|
|
905
|
-
const
|
|
906
|
-
const
|
|
907
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
919
|
+
const index = configuration?.serverIndex ?? 0;
|
|
920
|
+
const operationBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetShopAnalytics']?.[index]?.url;
|
|
921
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
908
922
|
},
|
|
909
923
|
};
|
|
910
924
|
};
|
|
@@ -1293,9 +1307,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1293
1307
|
*/
|
|
1294
1308
|
async commandControllerCreate(commandCreateDTO, options) {
|
|
1295
1309
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreate(commandCreateDTO, options);
|
|
1296
|
-
const
|
|
1297
|
-
const
|
|
1298
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1310
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1311
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerCreate']?.[index]?.url;
|
|
1312
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1299
1313
|
},
|
|
1300
1314
|
/**
|
|
1301
1315
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
|
|
@@ -1306,9 +1320,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1306
1320
|
*/
|
|
1307
1321
|
async commandControllerCreateArgument(commandArgumentCreateDTO, options) {
|
|
1308
1322
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreateArgument(commandArgumentCreateDTO, options);
|
|
1309
|
-
const
|
|
1310
|
-
const
|
|
1311
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1323
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1324
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerCreateArgument']?.[index]?.url;
|
|
1325
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1312
1326
|
},
|
|
1313
1327
|
/**
|
|
1314
1328
|
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
|
|
@@ -1321,9 +1335,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1321
1335
|
*/
|
|
1322
1336
|
async commandControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
1323
1337
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
1324
|
-
const
|
|
1325
|
-
const
|
|
1326
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1338
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1339
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerGetExecutions']?.[index]?.url;
|
|
1340
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1327
1341
|
},
|
|
1328
1342
|
/**
|
|
1329
1343
|
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
|
|
@@ -1334,9 +1348,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1334
1348
|
*/
|
|
1335
1349
|
async commandControllerGetOne(id, options) {
|
|
1336
1350
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetOne(id, options);
|
|
1337
|
-
const
|
|
1338
|
-
const
|
|
1339
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1351
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1352
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerGetOne']?.[index]?.url;
|
|
1353
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1340
1354
|
},
|
|
1341
1355
|
/**
|
|
1342
1356
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
|
|
@@ -1347,9 +1361,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1347
1361
|
*/
|
|
1348
1362
|
async commandControllerRemove(id, options) {
|
|
1349
1363
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemove(id, options);
|
|
1350
|
-
const
|
|
1351
|
-
const
|
|
1352
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1364
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1365
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerRemove']?.[index]?.url;
|
|
1366
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1353
1367
|
},
|
|
1354
1368
|
/**
|
|
1355
1369
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
|
|
@@ -1360,9 +1374,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1360
1374
|
*/
|
|
1361
1375
|
async commandControllerRemoveArgument(id, options) {
|
|
1362
1376
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemoveArgument(id, options);
|
|
1363
|
-
const
|
|
1364
|
-
const
|
|
1365
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1377
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1378
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerRemoveArgument']?.[index]?.url;
|
|
1379
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1366
1380
|
},
|
|
1367
1381
|
/**
|
|
1368
1382
|
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
@@ -1373,9 +1387,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1373
1387
|
*/
|
|
1374
1388
|
async commandControllerSearch(commandSearchInputDTO, options) {
|
|
1375
1389
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerSearch(commandSearchInputDTO, options);
|
|
1376
|
-
const
|
|
1377
|
-
const
|
|
1378
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1390
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1391
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerSearch']?.[index]?.url;
|
|
1392
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1379
1393
|
},
|
|
1380
1394
|
/**
|
|
1381
1395
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
|
|
@@ -1387,9 +1401,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1387
1401
|
*/
|
|
1388
1402
|
async commandControllerTrigger(id, commandTriggerDTO, options) {
|
|
1389
1403
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerTrigger(id, commandTriggerDTO, options);
|
|
1390
|
-
const
|
|
1391
|
-
const
|
|
1392
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1404
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1405
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerTrigger']?.[index]?.url;
|
|
1406
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1393
1407
|
},
|
|
1394
1408
|
/**
|
|
1395
1409
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
|
|
@@ -1401,9 +1415,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1401
1415
|
*/
|
|
1402
1416
|
async commandControllerUpdate(id, commandUpdateDTO, options) {
|
|
1403
1417
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerUpdate(id, commandUpdateDTO, options);
|
|
1404
|
-
const
|
|
1405
|
-
const
|
|
1406
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1418
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1419
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerUpdate']?.[index]?.url;
|
|
1420
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1407
1421
|
},
|
|
1408
1422
|
/**
|
|
1409
1423
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdateArgument`
|
|
@@ -1415,9 +1429,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1415
1429
|
*/
|
|
1416
1430
|
async commandControllerUpdateArgument(id, commandArgumentUpdateDTO, options) {
|
|
1417
1431
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerUpdateArgument(id, commandArgumentUpdateDTO, options);
|
|
1418
|
-
const
|
|
1419
|
-
const
|
|
1420
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1432
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1433
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerUpdateArgument']?.[index]?.url;
|
|
1434
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1421
1435
|
},
|
|
1422
1436
|
};
|
|
1423
1437
|
};
|
|
@@ -1929,9 +1943,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1929
1943
|
*/
|
|
1930
1944
|
async cronJobControllerCreate(cronJobCreateDTO, options) {
|
|
1931
1945
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerCreate(cronJobCreateDTO, options);
|
|
1932
|
-
const
|
|
1933
|
-
const
|
|
1934
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1946
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1947
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerCreate']?.[index]?.url;
|
|
1948
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1935
1949
|
},
|
|
1936
1950
|
/**
|
|
1937
1951
|
* Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetExecutions`
|
|
@@ -1944,9 +1958,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1944
1958
|
*/
|
|
1945
1959
|
async cronJobControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
1946
1960
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
1947
|
-
const
|
|
1948
|
-
const
|
|
1949
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1961
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1962
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerGetExecutions']?.[index]?.url;
|
|
1963
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1950
1964
|
},
|
|
1951
1965
|
/**
|
|
1952
1966
|
* Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetOne`
|
|
@@ -1957,9 +1971,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1957
1971
|
*/
|
|
1958
1972
|
async cronJobControllerGetOne(id, options) {
|
|
1959
1973
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerGetOne(id, options);
|
|
1960
|
-
const
|
|
1961
|
-
const
|
|
1962
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1974
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1975
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerGetOne']?.[index]?.url;
|
|
1976
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1963
1977
|
},
|
|
1964
1978
|
/**
|
|
1965
1979
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerRemove`
|
|
@@ -1970,9 +1984,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1970
1984
|
*/
|
|
1971
1985
|
async cronJobControllerRemove(id, options) {
|
|
1972
1986
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerRemove(id, options);
|
|
1973
|
-
const
|
|
1974
|
-
const
|
|
1975
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1987
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1988
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerRemove']?.[index]?.url;
|
|
1989
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1976
1990
|
},
|
|
1977
1991
|
/**
|
|
1978
1992
|
* Search cronjobs Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
@@ -1983,9 +1997,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1983
1997
|
*/
|
|
1984
1998
|
async cronJobControllerSearch(cronJobSearchInputDTO, options) {
|
|
1985
1999
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerSearch(cronJobSearchInputDTO, options);
|
|
1986
|
-
const
|
|
1987
|
-
const
|
|
1988
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2000
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2001
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerSearch']?.[index]?.url;
|
|
2002
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1989
2003
|
},
|
|
1990
2004
|
/**
|
|
1991
2005
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerTrigger`
|
|
@@ -1996,9 +2010,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1996
2010
|
*/
|
|
1997
2011
|
async cronJobControllerTrigger(cronJobTriggerDTO, options) {
|
|
1998
2012
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerTrigger(cronJobTriggerDTO, options);
|
|
1999
|
-
const
|
|
2000
|
-
const
|
|
2001
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2013
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2014
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerTrigger']?.[index]?.url;
|
|
2015
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2002
2016
|
},
|
|
2003
2017
|
/**
|
|
2004
2018
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerUpdate`
|
|
@@ -2010,9 +2024,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
2010
2024
|
*/
|
|
2011
2025
|
async cronJobControllerUpdate(id, cronJobUpdateDTO, options) {
|
|
2012
2026
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerUpdate(id, cronJobUpdateDTO, options);
|
|
2013
|
-
const
|
|
2014
|
-
const
|
|
2015
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2027
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2028
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerUpdate']?.[index]?.url;
|
|
2029
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2016
2030
|
},
|
|
2017
2031
|
};
|
|
2018
2032
|
};
|
|
@@ -2473,9 +2487,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2473
2487
|
*/
|
|
2474
2488
|
async discordControllerDeleteMessage(channelId, messageId, options) {
|
|
2475
2489
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerDeleteMessage(channelId, messageId, options);
|
|
2476
|
-
const
|
|
2477
|
-
const
|
|
2478
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2490
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2491
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerDeleteMessage']?.[index]?.url;
|
|
2492
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2479
2493
|
},
|
|
2480
2494
|
/**
|
|
2481
2495
|
* Retrieve all channels (text, voice, etc.) in a specific Discord guild. Useful for selecting channels for notifications or commands. Required permissions: `VIEW_DISCORD_INFO`<br> OperationId: `DiscordControllerGetChannels`
|
|
@@ -2486,9 +2500,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2486
2500
|
*/
|
|
2487
2501
|
async discordControllerGetChannels(id, options) {
|
|
2488
2502
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerGetChannels(id, options);
|
|
2489
|
-
const
|
|
2490
|
-
const
|
|
2491
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2503
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2504
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerGetChannels']?.[index]?.url;
|
|
2505
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2492
2506
|
},
|
|
2493
2507
|
/**
|
|
2494
2508
|
* Get the invite link to add the Takaro bot to a Discord server, along with the developer Discord server link.<br> OperationId: `DiscordControllerGetInvite`
|
|
@@ -2498,9 +2512,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2498
2512
|
*/
|
|
2499
2513
|
async discordControllerGetInvite(options) {
|
|
2500
2514
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerGetInvite(options);
|
|
2501
|
-
const
|
|
2502
|
-
const
|
|
2503
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2515
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2516
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerGetInvite']?.[index]?.url;
|
|
2517
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2504
2518
|
},
|
|
2505
2519
|
/**
|
|
2506
2520
|
* Retrieve all roles available in a specific Discord guild. Useful for role-based integrations and permissions mapping. Required permissions: `VIEW_DISCORD_INFO`<br> OperationId: `DiscordControllerGetRoles`
|
|
@@ -2511,9 +2525,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2511
2525
|
*/
|
|
2512
2526
|
async discordControllerGetRoles(id, options) {
|
|
2513
2527
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerGetRoles(id, options);
|
|
2514
|
-
const
|
|
2515
|
-
const
|
|
2516
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2528
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2529
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerGetRoles']?.[index]?.url;
|
|
2530
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2517
2531
|
},
|
|
2518
2532
|
/**
|
|
2519
2533
|
* Search for Discord guilds (servers) that the bot has access to. Supports filtering by name, Discord ID, and whether Takaro is enabled. Required permissions: `VIEW_DISCORD_INFO`<br> OperationId: `DiscordControllerSearch`
|
|
@@ -2524,9 +2538,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2524
2538
|
*/
|
|
2525
2539
|
async discordControllerSearch(guildSearchInputDTO, options) {
|
|
2526
2540
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerSearch(guildSearchInputDTO, options);
|
|
2527
|
-
const
|
|
2528
|
-
const
|
|
2529
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2541
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2542
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerSearch']?.[index]?.url;
|
|
2543
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2530
2544
|
},
|
|
2531
2545
|
/**
|
|
2532
2546
|
* Send a text message or rich embed to a specific Discord channel. Requires the bot to have appropriate permissions in the channel. Required permissions: `SEND_DISCORD_MESSAGE`<br> OperationId: `DiscordControllerSendMessage`
|
|
@@ -2538,9 +2552,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2538
2552
|
*/
|
|
2539
2553
|
async discordControllerSendMessage(id, sendMessageInputDTO, options) {
|
|
2540
2554
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerSendMessage(id, sendMessageInputDTO, options);
|
|
2541
|
-
const
|
|
2542
|
-
const
|
|
2543
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2555
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2556
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerSendMessage']?.[index]?.url;
|
|
2557
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2544
2558
|
},
|
|
2545
2559
|
/**
|
|
2546
2560
|
* Update Takaro-specific settings for a Discord guild, such as enabling or disabling Takaro features. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `DiscordControllerUpdateGuild`
|
|
@@ -2552,9 +2566,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2552
2566
|
*/
|
|
2553
2567
|
async discordControllerUpdateGuild(id, guildApiUpdateDTO, options) {
|
|
2554
2568
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerUpdateGuild(id, guildApiUpdateDTO, options);
|
|
2555
|
-
const
|
|
2556
|
-
const
|
|
2557
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2569
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2570
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerUpdateGuild']?.[index]?.url;
|
|
2571
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2558
2572
|
},
|
|
2559
2573
|
/**
|
|
2560
2574
|
* Update an existing Discord message with new content or embed. Requires the bot to have sent the original message. Required permissions: `SEND_DISCORD_MESSAGE`<br> OperationId: `DiscordControllerUpdateMessage`
|
|
@@ -2567,9 +2581,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2567
2581
|
*/
|
|
2568
2582
|
async discordControllerUpdateMessage(channelId, messageId, sendMessageInputDTO, options) {
|
|
2569
2583
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerUpdateMessage(channelId, messageId, sendMessageInputDTO, options);
|
|
2570
|
-
const
|
|
2571
|
-
const
|
|
2572
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2584
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2585
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerUpdateMessage']?.[index]?.url;
|
|
2586
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2573
2587
|
},
|
|
2574
2588
|
};
|
|
2575
2589
|
};
|
|
@@ -3035,9 +3049,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3035
3049
|
*/
|
|
3036
3050
|
async domainControllerCreate(domainCreateInputDTO, options) {
|
|
3037
3051
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreate(domainCreateInputDTO, options);
|
|
3038
|
-
const
|
|
3039
|
-
const
|
|
3040
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3052
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3053
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerCreate']?.[index]?.url;
|
|
3054
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3041
3055
|
},
|
|
3042
3056
|
/**
|
|
3043
3057
|
* <br> OperationId: `DomainControllerGetOne`
|
|
@@ -3048,9 +3062,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3048
3062
|
*/
|
|
3049
3063
|
async domainControllerGetOne(id, options) {
|
|
3050
3064
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerGetOne(id, options);
|
|
3051
|
-
const
|
|
3052
|
-
const
|
|
3053
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3065
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3066
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerGetOne']?.[index]?.url;
|
|
3067
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3054
3068
|
},
|
|
3055
3069
|
/**
|
|
3056
3070
|
* <br> OperationId: `DomainControllerGetToken`
|
|
@@ -3061,9 +3075,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3061
3075
|
*/
|
|
3062
3076
|
async domainControllerGetToken(tokenInputDTO, options) {
|
|
3063
3077
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerGetToken(tokenInputDTO, options);
|
|
3064
|
-
const
|
|
3065
|
-
const
|
|
3066
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3078
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3079
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerGetToken']?.[index]?.url;
|
|
3080
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3067
3081
|
},
|
|
3068
3082
|
/**
|
|
3069
3083
|
* <br> OperationId: `DomainControllerRemove`
|
|
@@ -3075,9 +3089,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3075
3089
|
*/
|
|
3076
3090
|
async domainControllerRemove(id, hardDelete, options) {
|
|
3077
3091
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerRemove(id, hardDelete, options);
|
|
3078
|
-
const
|
|
3079
|
-
const
|
|
3080
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3092
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3093
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerRemove']?.[index]?.url;
|
|
3094
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3081
3095
|
},
|
|
3082
3096
|
/**
|
|
3083
3097
|
* <br> OperationId: `DomainControllerResolveRegistrationToken`
|
|
@@ -3088,9 +3102,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3088
3102
|
*/
|
|
3089
3103
|
async domainControllerResolveRegistrationToken(resolveRegistrationTokenInputDTO, options) {
|
|
3090
3104
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerResolveRegistrationToken(resolveRegistrationTokenInputDTO, options);
|
|
3091
|
-
const
|
|
3092
|
-
const
|
|
3093
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3105
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3106
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerResolveRegistrationToken']?.[index]?.url;
|
|
3107
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3094
3108
|
},
|
|
3095
3109
|
/**
|
|
3096
3110
|
* <br> OperationId: `DomainControllerSearch`
|
|
@@ -3101,9 +3115,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3101
3115
|
*/
|
|
3102
3116
|
async domainControllerSearch(domainSearchInputDTO, options) {
|
|
3103
3117
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerSearch(domainSearchInputDTO, options);
|
|
3104
|
-
const
|
|
3105
|
-
const
|
|
3106
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3118
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3119
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerSearch']?.[index]?.url;
|
|
3120
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3107
3121
|
},
|
|
3108
3122
|
/**
|
|
3109
3123
|
* <br> OperationId: `DomainControllerUpdate`
|
|
@@ -3115,9 +3129,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3115
3129
|
*/
|
|
3116
3130
|
async domainControllerUpdate(id, domainUpdateInputDTO, options) {
|
|
3117
3131
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerUpdate(id, domainUpdateInputDTO, options);
|
|
3118
|
-
const
|
|
3119
|
-
const
|
|
3120
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3132
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3133
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerUpdate']?.[index]?.url;
|
|
3134
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3121
3135
|
},
|
|
3122
3136
|
};
|
|
3123
3137
|
};
|
|
@@ -3393,9 +3407,9 @@ export const EntityApiFp = function (configuration) {
|
|
|
3393
3407
|
*/
|
|
3394
3408
|
async entityControllerFindOne(id, options) {
|
|
3395
3409
|
const localVarAxiosArgs = await localVarAxiosParamCreator.entityControllerFindOne(id, options);
|
|
3396
|
-
const
|
|
3397
|
-
const
|
|
3398
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3410
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3411
|
+
const operationBasePath = operationServerMap['EntityApi.entityControllerFindOne']?.[index]?.url;
|
|
3412
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3399
3413
|
},
|
|
3400
3414
|
/**
|
|
3401
3415
|
* Required permissions: `READ_ENTITIES`<br> OperationId: `EntityControllerSearch`
|
|
@@ -3406,9 +3420,9 @@ export const EntityApiFp = function (configuration) {
|
|
|
3406
3420
|
*/
|
|
3407
3421
|
async entityControllerSearch(entitySearchInputDTO, options) {
|
|
3408
3422
|
const localVarAxiosArgs = await localVarAxiosParamCreator.entityControllerSearch(entitySearchInputDTO, options);
|
|
3409
|
-
const
|
|
3410
|
-
const
|
|
3411
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3423
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3424
|
+
const operationBasePath = operationServerMap['EntityApi.entityControllerSearch']?.[index]?.url;
|
|
3425
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3412
3426
|
},
|
|
3413
3427
|
};
|
|
3414
3428
|
};
|
|
@@ -3646,9 +3660,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3646
3660
|
*/
|
|
3647
3661
|
async eventControllerCreate(eventCreateDTO, options) {
|
|
3648
3662
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerCreate(eventCreateDTO, options);
|
|
3649
|
-
const
|
|
3650
|
-
const
|
|
3651
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3663
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3664
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerCreate']?.[index]?.url;
|
|
3665
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3652
3666
|
},
|
|
3653
3667
|
/**
|
|
3654
3668
|
* Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
|
|
@@ -3659,9 +3673,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3659
3673
|
*/
|
|
3660
3674
|
async eventControllerExport(eventSearchInputDTO, options) {
|
|
3661
3675
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExport(eventSearchInputDTO, options);
|
|
3662
|
-
const
|
|
3663
|
-
const
|
|
3664
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3676
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3677
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerExport']?.[index]?.url;
|
|
3678
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3665
3679
|
},
|
|
3666
3680
|
/**
|
|
3667
3681
|
* Fetches events where cronjob, hook and command failed. Supports all the common query parameters Required permissions: `READ_MODULES`, `READ_EVENTS`<br> OperationId: `EventControllerGetFailedFunctions`
|
|
@@ -3672,9 +3686,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3672
3686
|
*/
|
|
3673
3687
|
async eventControllerGetFailedFunctions(eventSearchInputDTO, options) {
|
|
3674
3688
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerGetFailedFunctions(eventSearchInputDTO, options);
|
|
3675
|
-
const
|
|
3676
|
-
const
|
|
3677
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3689
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3690
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerGetFailedFunctions']?.[index]?.url;
|
|
3691
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3678
3692
|
},
|
|
3679
3693
|
/**
|
|
3680
3694
|
* Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerGetOne`
|
|
@@ -3685,9 +3699,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3685
3699
|
*/
|
|
3686
3700
|
async eventControllerGetOne(id, options) {
|
|
3687
3701
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerGetOne(id, options);
|
|
3688
|
-
const
|
|
3689
|
-
const
|
|
3690
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3702
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3703
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerGetOne']?.[index]?.url;
|
|
3704
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3691
3705
|
},
|
|
3692
3706
|
/**
|
|
3693
3707
|
* Search events Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
@@ -3698,9 +3712,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3698
3712
|
*/
|
|
3699
3713
|
async eventControllerSearch(eventSearchInputDTO, options) {
|
|
3700
3714
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerSearch(eventSearchInputDTO, options);
|
|
3701
|
-
const
|
|
3702
|
-
const
|
|
3703
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3715
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3716
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerSearch']?.[index]?.url;
|
|
3717
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3704
3718
|
},
|
|
3705
3719
|
};
|
|
3706
3720
|
};
|
|
@@ -3918,9 +3932,9 @@ export const ExternalAuthApiFp = function (configuration) {
|
|
|
3918
3932
|
*/
|
|
3919
3933
|
async externalAuthControllerAuthDiscord(redirect, options) {
|
|
3920
3934
|
const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscord(redirect, options);
|
|
3921
|
-
const
|
|
3922
|
-
const
|
|
3923
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3935
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3936
|
+
const operationBasePath = operationServerMap['ExternalAuthApi.externalAuthControllerAuthDiscord']?.[index]?.url;
|
|
3937
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3924
3938
|
},
|
|
3925
3939
|
/**
|
|
3926
3940
|
* <br> OperationId: `ExternalAuthControllerAuthDiscordReturn`
|
|
@@ -3930,10 +3944,9 @@ export const ExternalAuthApiFp = function (configuration) {
|
|
|
3930
3944
|
*/
|
|
3931
3945
|
async externalAuthControllerAuthDiscordReturn(options) {
|
|
3932
3946
|
const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscordReturn(options);
|
|
3933
|
-
const
|
|
3934
|
-
const
|
|
3935
|
-
|
|
3936
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3947
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3948
|
+
const operationBasePath = operationServerMap['ExternalAuthApi.externalAuthControllerAuthDiscordReturn']?.[index]?.url;
|
|
3949
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3937
3950
|
},
|
|
3938
3951
|
};
|
|
3939
3952
|
};
|
|
@@ -4172,9 +4185,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4172
4185
|
*/
|
|
4173
4186
|
async functionControllerCreate(functionCreateDTO, options) {
|
|
4174
4187
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerCreate(functionCreateDTO, options);
|
|
4175
|
-
const
|
|
4176
|
-
const
|
|
4177
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4188
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4189
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerCreate']?.[index]?.url;
|
|
4190
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4178
4191
|
},
|
|
4179
4192
|
/**
|
|
4180
4193
|
* Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerGetOne`
|
|
@@ -4185,9 +4198,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4185
4198
|
*/
|
|
4186
4199
|
async functionControllerGetOne(id, options) {
|
|
4187
4200
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerGetOne(id, options);
|
|
4188
|
-
const
|
|
4189
|
-
const
|
|
4190
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4201
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4202
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerGetOne']?.[index]?.url;
|
|
4203
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4191
4204
|
},
|
|
4192
4205
|
/**
|
|
4193
4206
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `FunctionControllerRemove`
|
|
@@ -4198,9 +4211,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4198
4211
|
*/
|
|
4199
4212
|
async functionControllerRemove(id, options) {
|
|
4200
4213
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerRemove(id, options);
|
|
4201
|
-
const
|
|
4202
|
-
const
|
|
4203
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4214
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4215
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerRemove']?.[index]?.url;
|
|
4216
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4204
4217
|
},
|
|
4205
4218
|
/**
|
|
4206
4219
|
* Search functions Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerSearch`
|
|
@@ -4211,9 +4224,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4211
4224
|
*/
|
|
4212
4225
|
async functionControllerSearch(functionSearchInputDTO, options) {
|
|
4213
4226
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerSearch(functionSearchInputDTO, options);
|
|
4214
|
-
const
|
|
4215
|
-
const
|
|
4216
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4227
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4228
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerSearch']?.[index]?.url;
|
|
4229
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4217
4230
|
},
|
|
4218
4231
|
/**
|
|
4219
4232
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `FunctionControllerUpdate`
|
|
@@ -4225,9 +4238,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4225
4238
|
*/
|
|
4226
4239
|
async functionControllerUpdate(id, functionUpdateDTO, options) {
|
|
4227
4240
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerUpdate(id, functionUpdateDTO, options);
|
|
4228
|
-
const
|
|
4229
|
-
const
|
|
4230
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4241
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4242
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerUpdate']?.[index]?.url;
|
|
4243
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4231
4244
|
},
|
|
4232
4245
|
};
|
|
4233
4246
|
};
|
|
@@ -5217,9 +5230,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5217
5230
|
*/
|
|
5218
5231
|
async gameServerControllerBanPlayer(gameServerId, playerId, banPlayerInputDTO, options) {
|
|
5219
5232
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerBanPlayer(gameServerId, playerId, banPlayerInputDTO, options);
|
|
5220
|
-
const
|
|
5221
|
-
const
|
|
5222
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5233
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5234
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerBanPlayer']?.[index]?.url;
|
|
5235
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5223
5236
|
},
|
|
5224
5237
|
/**
|
|
5225
5238
|
* Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
|
|
@@ -5230,9 +5243,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5230
5243
|
*/
|
|
5231
5244
|
async gameServerControllerCreate(gameServerCreateDTO, options) {
|
|
5232
5245
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerCreate(gameServerCreateDTO, options);
|
|
5233
|
-
const
|
|
5234
|
-
const
|
|
5235
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5246
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5247
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerCreate']?.[index]?.url;
|
|
5248
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5236
5249
|
},
|
|
5237
5250
|
/**
|
|
5238
5251
|
* Execute a raw command on a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerExecuteCommand`
|
|
@@ -5244,9 +5257,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5244
5257
|
*/
|
|
5245
5258
|
async gameServerControllerExecuteCommand(id, commandExecuteInputDTO, options) {
|
|
5246
5259
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerExecuteCommand(id, commandExecuteInputDTO, options);
|
|
5247
|
-
const
|
|
5248
|
-
const
|
|
5249
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5260
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5261
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerExecuteCommand']?.[index]?.url;
|
|
5262
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5250
5263
|
},
|
|
5251
5264
|
/**
|
|
5252
5265
|
* Fetch status of an import from CSMM Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
|
|
@@ -5258,9 +5271,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5258
5271
|
*/
|
|
5259
5272
|
async gameServerControllerGetImport(id, options) {
|
|
5260
5273
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetImport(id, options);
|
|
5261
|
-
const
|
|
5262
|
-
const
|
|
5263
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5274
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5275
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetImport']?.[index]?.url;
|
|
5276
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5264
5277
|
},
|
|
5265
5278
|
/**
|
|
5266
5279
|
* Fetch a job status Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetJob`
|
|
@@ -5272,9 +5285,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5272
5285
|
*/
|
|
5273
5286
|
async gameServerControllerGetJob(type, id, options) {
|
|
5274
5287
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetJob(type, id, options);
|
|
5275
|
-
const
|
|
5276
|
-
const
|
|
5277
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5288
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5289
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetJob']?.[index]?.url;
|
|
5290
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5278
5291
|
},
|
|
5279
5292
|
/**
|
|
5280
5293
|
* Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
|
|
@@ -5285,9 +5298,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5285
5298
|
*/
|
|
5286
5299
|
async gameServerControllerGetMapInfo(id, options) {
|
|
5287
5300
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetMapInfo(id, options);
|
|
5288
|
-
const
|
|
5289
|
-
const
|
|
5290
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5301
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5302
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetMapInfo']?.[index]?.url;
|
|
5303
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5291
5304
|
},
|
|
5292
5305
|
/**
|
|
5293
5306
|
* Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
|
|
@@ -5301,9 +5314,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5301
5314
|
*/
|
|
5302
5315
|
async gameServerControllerGetMapTile(id, x, y, z, options) {
|
|
5303
5316
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetMapTile(id, x, y, z, options);
|
|
5304
|
-
const
|
|
5305
|
-
const
|
|
5306
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5317
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5318
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetMapTile']?.[index]?.url;
|
|
5319
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5307
5320
|
},
|
|
5308
5321
|
/**
|
|
5309
5322
|
* Fetch a gameserver by id<br> OperationId: `GameServerControllerGetOne`
|
|
@@ -5314,9 +5327,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5314
5327
|
*/
|
|
5315
5328
|
async gameServerControllerGetOne(id, options) {
|
|
5316
5329
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetOne(id, options);
|
|
5317
|
-
const
|
|
5318
|
-
const
|
|
5319
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5330
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5331
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetOne']?.[index]?.url;
|
|
5332
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5320
5333
|
},
|
|
5321
5334
|
/**
|
|
5322
5335
|
* Fetch a list of players on a gameserver. Requires gameserver to be online and reachable. Please use the Player on GameServer (PoG) search endpoint instead: `POST /gameserver/player/search` for more flexible filtering, sorting, and pagination options. Required permissions: `READ_PLAYERS`<br> OperationId: `GameServerControllerGetPlayers`
|
|
@@ -5328,9 +5341,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5328
5341
|
*/
|
|
5329
5342
|
async gameServerControllerGetPlayers(id, options) {
|
|
5330
5343
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetPlayers(id, options);
|
|
5331
|
-
const
|
|
5332
|
-
const
|
|
5333
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5344
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5345
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetPlayers']?.[index]?.url;
|
|
5346
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5334
5347
|
},
|
|
5335
5348
|
/**
|
|
5336
5349
|
* Fetch gameserver types (7dtd, Rust, ...)<br> OperationId: `GameServerControllerGetTypes`
|
|
@@ -5340,9 +5353,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5340
5353
|
*/
|
|
5341
5354
|
async gameServerControllerGetTypes(options) {
|
|
5342
5355
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetTypes(options);
|
|
5343
|
-
const
|
|
5344
|
-
const
|
|
5345
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5356
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5357
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetTypes']?.[index]?.url;
|
|
5358
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5346
5359
|
},
|
|
5347
5360
|
/**
|
|
5348
5361
|
* Give an item to a player. Accepts item UUID (preferred) or item code. Requires gameserver to be online and reachable. Depending on the underlying game implementation, it\'s possible that the item is dropped on the ground instead of placed directly in the player\'s inventory. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGiveItem`
|
|
@@ -5355,9 +5368,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5355
5368
|
*/
|
|
5356
5369
|
async gameServerControllerGiveItem(gameServerId, playerId, giveItemInputDTO, options) {
|
|
5357
5370
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGiveItem(gameServerId, playerId, giveItemInputDTO, options);
|
|
5358
|
-
const
|
|
5359
|
-
const
|
|
5360
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5371
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5372
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGiveItem']?.[index]?.url;
|
|
5373
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5361
5374
|
},
|
|
5362
5375
|
/**
|
|
5363
5376
|
* Import a gameserver from CSMM. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerImportFromCSMM`
|
|
@@ -5367,9 +5380,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5367
5380
|
*/
|
|
5368
5381
|
async gameServerControllerImportFromCSMM(options) {
|
|
5369
5382
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerImportFromCSMM(options);
|
|
5370
|
-
const
|
|
5371
|
-
const
|
|
5372
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5383
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5384
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerImportFromCSMM']?.[index]?.url;
|
|
5385
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5373
5386
|
},
|
|
5374
5387
|
/**
|
|
5375
5388
|
* Kick a player from a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerKickPlayer`
|
|
@@ -5382,9 +5395,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5382
5395
|
*/
|
|
5383
5396
|
async gameServerControllerKickPlayer(gameServerId, playerId, kickPlayerInputDTO, options) {
|
|
5384
5397
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerKickPlayer(gameServerId, playerId, kickPlayerInputDTO, options);
|
|
5385
|
-
const
|
|
5386
|
-
const
|
|
5387
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5398
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5399
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerKickPlayer']?.[index]?.url;
|
|
5400
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5388
5401
|
},
|
|
5389
5402
|
/**
|
|
5390
5403
|
* List bans for a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerListBans`
|
|
@@ -5396,9 +5409,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5396
5409
|
*/
|
|
5397
5410
|
async gameServerControllerListBans(id, options) {
|
|
5398
5411
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerListBans(id, options);
|
|
5399
|
-
const
|
|
5400
|
-
const
|
|
5401
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5412
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5413
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerListBans']?.[index]?.url;
|
|
5414
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5402
5415
|
},
|
|
5403
5416
|
/**
|
|
5404
5417
|
* Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
|
|
@@ -5408,9 +5421,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5408
5421
|
*/
|
|
5409
5422
|
async gameServerControllerRegenerateRegistrationToken(options) {
|
|
5410
5423
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerRegenerateRegistrationToken(options);
|
|
5411
|
-
const
|
|
5412
|
-
const
|
|
5413
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5424
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5425
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerRegenerateRegistrationToken']?.[index]?.url;
|
|
5426
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5414
5427
|
},
|
|
5415
5428
|
/**
|
|
5416
5429
|
* Delete a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRemove`
|
|
@@ -5421,9 +5434,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5421
5434
|
*/
|
|
5422
5435
|
async gameServerControllerRemove(id, options) {
|
|
5423
5436
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerRemove(id, options);
|
|
5424
|
-
const
|
|
5425
|
-
const
|
|
5426
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5437
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5438
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerRemove']?.[index]?.url;
|
|
5439
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5427
5440
|
},
|
|
5428
5441
|
/**
|
|
5429
5442
|
* Resets all players\' currency to 0 on the specified game server. This action is irreversible. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerResetCurrency`
|
|
@@ -5434,9 +5447,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5434
5447
|
*/
|
|
5435
5448
|
async gameServerControllerResetCurrency(id, options) {
|
|
5436
5449
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerResetCurrency(id, options);
|
|
5437
|
-
const
|
|
5438
|
-
const
|
|
5439
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5450
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5451
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerResetCurrency']?.[index]?.url;
|
|
5452
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5440
5453
|
},
|
|
5441
5454
|
/**
|
|
5442
5455
|
* Fetch gameservers<br> OperationId: `GameServerControllerSearch`
|
|
@@ -5447,9 +5460,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5447
5460
|
*/
|
|
5448
5461
|
async gameServerControllerSearch(gameServerSearchInputDTO, options) {
|
|
5449
5462
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerSearch(gameServerSearchInputDTO, options);
|
|
5450
|
-
const
|
|
5451
|
-
const
|
|
5452
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5463
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5464
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerSearch']?.[index]?.url;
|
|
5465
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5453
5466
|
},
|
|
5454
5467
|
/**
|
|
5455
5468
|
* Send a message in gameserver chat. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerSendMessage`
|
|
@@ -5461,9 +5474,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5461
5474
|
*/
|
|
5462
5475
|
async gameServerControllerSendMessage(id, messageSendInputDTO, options) {
|
|
5463
5476
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerSendMessage(id, messageSendInputDTO, options);
|
|
5464
|
-
const
|
|
5465
|
-
const
|
|
5466
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5477
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5478
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerSendMessage']?.[index]?.url;
|
|
5479
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5467
5480
|
},
|
|
5468
5481
|
/**
|
|
5469
5482
|
* Shuts down the gameserver. This is a \'soft\' shutdown, meaning the gameserver will be stopped gracefully. If the gameserver is not reachable, this will have no effect. Note that most hosting providers will automatically restart the gameserver after a shutdown, which makes this operation act as a \'restart\' instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerShutdown`
|
|
@@ -5474,9 +5487,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5474
5487
|
*/
|
|
5475
5488
|
async gameServerControllerShutdown(id, options) {
|
|
5476
5489
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerShutdown(id, options);
|
|
5477
|
-
const
|
|
5478
|
-
const
|
|
5479
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5490
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5491
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerShutdown']?.[index]?.url;
|
|
5492
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5480
5493
|
},
|
|
5481
5494
|
/**
|
|
5482
5495
|
* Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
|
|
@@ -5489,9 +5502,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5489
5502
|
*/
|
|
5490
5503
|
async gameServerControllerTeleportPlayer(gameServerId, playerId, teleportPlayerInputDTO, options) {
|
|
5491
5504
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerTeleportPlayer(gameServerId, playerId, teleportPlayerInputDTO, options);
|
|
5492
|
-
const
|
|
5493
|
-
const
|
|
5494
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5505
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5506
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTeleportPlayer']?.[index]?.url;
|
|
5507
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5495
5508
|
},
|
|
5496
5509
|
/**
|
|
5497
5510
|
* Test if Takaro can connect to a gameserver. Will do a thorough check and report details.<br> OperationId: `GameServerControllerTestReachability`
|
|
@@ -5502,9 +5515,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5502
5515
|
*/
|
|
5503
5516
|
async gameServerControllerTestReachability(gameServerTestReachabilityInputDTO, options) {
|
|
5504
5517
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerTestReachability(gameServerTestReachabilityInputDTO, options);
|
|
5505
|
-
const
|
|
5506
|
-
const
|
|
5507
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5518
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5519
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTestReachability']?.[index]?.url;
|
|
5520
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5508
5521
|
},
|
|
5509
5522
|
/**
|
|
5510
5523
|
* Test if Takaro can connect to a gameserver. Will do a thorough check and report details.<br> OperationId: `GameServerControllerTestReachabilityForId`
|
|
@@ -5515,10 +5528,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5515
5528
|
*/
|
|
5516
5529
|
async gameServerControllerTestReachabilityForId(id, options) {
|
|
5517
5530
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerTestReachabilityForId(id, options);
|
|
5518
|
-
const
|
|
5519
|
-
const
|
|
5520
|
-
|
|
5521
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5531
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5532
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTestReachabilityForId']?.[index]?.url;
|
|
5533
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5522
5534
|
},
|
|
5523
5535
|
/**
|
|
5524
5536
|
* Manually trigger a job, you can poll the status with the GET endpoint Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTriggerJob`
|
|
@@ -5530,9 +5542,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5530
5542
|
*/
|
|
5531
5543
|
async gameServerControllerTriggerJob(type, id, options) {
|
|
5532
5544
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerTriggerJob(type, id, options);
|
|
5533
|
-
const
|
|
5534
|
-
const
|
|
5535
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5545
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5546
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTriggerJob']?.[index]?.url;
|
|
5547
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5536
5548
|
},
|
|
5537
5549
|
/**
|
|
5538
5550
|
* Unban a player from a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerUnbanPlayer`
|
|
@@ -5545,9 +5557,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5545
5557
|
*/
|
|
5546
5558
|
async gameServerControllerUnbanPlayer(gameServerId, playerId, options) {
|
|
5547
5559
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerUnbanPlayer(gameServerId, playerId, options);
|
|
5548
|
-
const
|
|
5549
|
-
const
|
|
5550
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5560
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5561
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerUnbanPlayer']?.[index]?.url;
|
|
5562
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5551
5563
|
},
|
|
5552
5564
|
/**
|
|
5553
5565
|
* Update a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerUpdate`
|
|
@@ -5559,9 +5571,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5559
5571
|
*/
|
|
5560
5572
|
async gameServerControllerUpdate(id, gameServerUpdateDTO, options) {
|
|
5561
5573
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerUpdate(id, gameServerUpdateDTO, options);
|
|
5562
|
-
const
|
|
5563
|
-
const
|
|
5564
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5574
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5575
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerUpdate']?.[index]?.url;
|
|
5576
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5565
5577
|
},
|
|
5566
5578
|
};
|
|
5567
5579
|
};
|
|
@@ -6485,9 +6497,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6485
6497
|
*/
|
|
6486
6498
|
async hookControllerCreate(hookCreateDTO, options) {
|
|
6487
6499
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerCreate(hookCreateDTO, options);
|
|
6488
|
-
const
|
|
6489
|
-
const
|
|
6490
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6500
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6501
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerCreate']?.[index]?.url;
|
|
6502
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6491
6503
|
},
|
|
6492
6504
|
/**
|
|
6493
6505
|
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
@@ -6500,9 +6512,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6500
6512
|
*/
|
|
6501
6513
|
async hookControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
6502
6514
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
6503
|
-
const
|
|
6504
|
-
const
|
|
6505
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6515
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6516
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerGetExecutions']?.[index]?.url;
|
|
6517
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6506
6518
|
},
|
|
6507
6519
|
/**
|
|
6508
6520
|
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
@@ -6513,9 +6525,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6513
6525
|
*/
|
|
6514
6526
|
async hookControllerGetOne(id, options) {
|
|
6515
6527
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetOne(id, options);
|
|
6516
|
-
const
|
|
6517
|
-
const
|
|
6518
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6528
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6529
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerGetOne']?.[index]?.url;
|
|
6530
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6519
6531
|
},
|
|
6520
6532
|
/**
|
|
6521
6533
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
@@ -6526,9 +6538,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6526
6538
|
*/
|
|
6527
6539
|
async hookControllerRemove(id, options) {
|
|
6528
6540
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerRemove(id, options);
|
|
6529
|
-
const
|
|
6530
|
-
const
|
|
6531
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6541
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6542
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerRemove']?.[index]?.url;
|
|
6543
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6532
6544
|
},
|
|
6533
6545
|
/**
|
|
6534
6546
|
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
@@ -6539,9 +6551,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6539
6551
|
*/
|
|
6540
6552
|
async hookControllerSearch(hookSearchInputDTO, options) {
|
|
6541
6553
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerSearch(hookSearchInputDTO, options);
|
|
6542
|
-
const
|
|
6543
|
-
const
|
|
6544
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6554
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6555
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerSearch']?.[index]?.url;
|
|
6556
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6545
6557
|
},
|
|
6546
6558
|
/**
|
|
6547
6559
|
* Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
|
|
@@ -6552,9 +6564,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6552
6564
|
*/
|
|
6553
6565
|
async hookControllerTrigger(hookTriggerDTO, options) {
|
|
6554
6566
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerTrigger(hookTriggerDTO, options);
|
|
6555
|
-
const
|
|
6556
|
-
const
|
|
6557
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6567
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6568
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerTrigger']?.[index]?.url;
|
|
6569
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6558
6570
|
},
|
|
6559
6571
|
/**
|
|
6560
6572
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
@@ -6566,9 +6578,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6566
6578
|
*/
|
|
6567
6579
|
async hookControllerUpdate(id, hookUpdateDTO, options) {
|
|
6568
6580
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerUpdate(id, hookUpdateDTO, options);
|
|
6569
|
-
const
|
|
6570
|
-
const
|
|
6571
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6581
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6582
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerUpdate']?.[index]?.url;
|
|
6583
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6572
6584
|
},
|
|
6573
6585
|
};
|
|
6574
6586
|
};
|
|
@@ -6840,9 +6852,9 @@ export const ItemApiFp = function (configuration) {
|
|
|
6840
6852
|
*/
|
|
6841
6853
|
async itemControllerFindOne(id, options) {
|
|
6842
6854
|
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerFindOne(id, options);
|
|
6843
|
-
const
|
|
6844
|
-
const
|
|
6845
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6855
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6856
|
+
const operationBasePath = operationServerMap['ItemApi.itemControllerFindOne']?.[index]?.url;
|
|
6857
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6846
6858
|
},
|
|
6847
6859
|
/**
|
|
6848
6860
|
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
@@ -6853,9 +6865,9 @@ export const ItemApiFp = function (configuration) {
|
|
|
6853
6865
|
*/
|
|
6854
6866
|
async itemControllerSearch(itemSearchInputDTO, options) {
|
|
6855
6867
|
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerSearch(itemSearchInputDTO, options);
|
|
6856
|
-
const
|
|
6857
|
-
const
|
|
6858
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6868
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6869
|
+
const operationBasePath = operationServerMap['ItemApi.itemControllerSearch']?.[index]?.url;
|
|
6870
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6859
6871
|
},
|
|
6860
6872
|
};
|
|
6861
6873
|
};
|
|
@@ -7095,9 +7107,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7095
7107
|
*/
|
|
7096
7108
|
async metaGetHealth(options) {
|
|
7097
7109
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetHealth(options);
|
|
7098
|
-
const
|
|
7099
|
-
const
|
|
7100
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7110
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7111
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetHealth']?.[index]?.url;
|
|
7112
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7101
7113
|
},
|
|
7102
7114
|
/**
|
|
7103
7115
|
* <br> OperationId: `MetaGetMetrics`
|
|
@@ -7107,9 +7119,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7107
7119
|
*/
|
|
7108
7120
|
async metaGetMetrics(options) {
|
|
7109
7121
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetMetrics(options);
|
|
7110
|
-
const
|
|
7111
|
-
const
|
|
7112
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7122
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7123
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetMetrics']?.[index]?.url;
|
|
7124
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7113
7125
|
},
|
|
7114
7126
|
/**
|
|
7115
7127
|
* <br> OperationId: `MetaGetOpenApi`
|
|
@@ -7119,9 +7131,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7119
7131
|
*/
|
|
7120
7132
|
async metaGetOpenApi(options) {
|
|
7121
7133
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetOpenApi(options);
|
|
7122
|
-
const
|
|
7123
|
-
const
|
|
7124
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7134
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7135
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetOpenApi']?.[index]?.url;
|
|
7136
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7125
7137
|
},
|
|
7126
7138
|
/**
|
|
7127
7139
|
* <br> OperationId: `MetaGetOpenApiHtml`
|
|
@@ -7131,9 +7143,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7131
7143
|
*/
|
|
7132
7144
|
async metaGetOpenApiHtml(options) {
|
|
7133
7145
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetOpenApiHtml(options);
|
|
7134
|
-
const
|
|
7135
|
-
const
|
|
7136
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7146
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7147
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetOpenApiHtml']?.[index]?.url;
|
|
7148
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7137
7149
|
},
|
|
7138
7150
|
/**
|
|
7139
7151
|
* <br> OperationId: `MetaGetReadiness`
|
|
@@ -7143,9 +7155,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7143
7155
|
*/
|
|
7144
7156
|
async metaGetReadiness(options) {
|
|
7145
7157
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetReadiness(options);
|
|
7146
|
-
const
|
|
7147
|
-
const
|
|
7148
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7158
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7159
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetReadiness']?.[index]?.url;
|
|
7160
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7149
7161
|
},
|
|
7150
7162
|
/**
|
|
7151
7163
|
* <br> OperationId: `MetaGetRoot`
|
|
@@ -7155,9 +7167,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7155
7167
|
*/
|
|
7156
7168
|
async metaGetRoot(options) {
|
|
7157
7169
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetRoot(options);
|
|
7158
|
-
const
|
|
7159
|
-
const
|
|
7160
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7170
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7171
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetRoot']?.[index]?.url;
|
|
7172
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7161
7173
|
},
|
|
7162
7174
|
};
|
|
7163
7175
|
};
|
|
@@ -7750,9 +7762,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7750
7762
|
*/
|
|
7751
7763
|
async moduleControllerCreate(moduleCreateAPIDTO, options) {
|
|
7752
7764
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerCreate(moduleCreateAPIDTO, options);
|
|
7753
|
-
const
|
|
7754
|
-
const
|
|
7755
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7765
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7766
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerCreate']?.[index]?.url;
|
|
7767
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7756
7768
|
},
|
|
7757
7769
|
/**
|
|
7758
7770
|
* Exports a module to a format that can be imported into another Takaro instance. This endpoint will export all known versions of the module Required permissions: `READ_MODULES`<br> OperationId: `ModuleControllerExport`
|
|
@@ -7764,9 +7776,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7764
7776
|
*/
|
|
7765
7777
|
async moduleControllerExport(id, moduleExportOptionsDTO, options) {
|
|
7766
7778
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerExport(id, moduleExportOptionsDTO, options);
|
|
7767
|
-
const
|
|
7768
|
-
const
|
|
7769
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7779
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7780
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerExport']?.[index]?.url;
|
|
7781
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7770
7782
|
},
|
|
7771
7783
|
/**
|
|
7772
7784
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleControllerGetOne`
|
|
@@ -7777,9 +7789,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7777
7789
|
*/
|
|
7778
7790
|
async moduleControllerGetOne(id, options) {
|
|
7779
7791
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerGetOne(id, options);
|
|
7780
|
-
const
|
|
7781
|
-
const
|
|
7782
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7792
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7793
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerGetOne']?.[index]?.url;
|
|
7794
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7783
7795
|
},
|
|
7784
7796
|
/**
|
|
7785
7797
|
* Imports a module from a format that was exported from another Takaro instance Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerImport`
|
|
@@ -7790,9 +7802,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7790
7802
|
*/
|
|
7791
7803
|
async moduleControllerImport(body, options) {
|
|
7792
7804
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerImport(body, options);
|
|
7793
|
-
const
|
|
7794
|
-
const
|
|
7795
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7805
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7806
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerImport']?.[index]?.url;
|
|
7807
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7796
7808
|
},
|
|
7797
7809
|
/**
|
|
7798
7810
|
* Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
|
|
@@ -7803,9 +7815,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7803
7815
|
*/
|
|
7804
7816
|
async moduleControllerRemove(id, options) {
|
|
7805
7817
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerRemove(id, options);
|
|
7806
|
-
const
|
|
7807
|
-
const
|
|
7808
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7818
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7819
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerRemove']?.[index]?.url;
|
|
7820
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7809
7821
|
},
|
|
7810
7822
|
/**
|
|
7811
7823
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleControllerSearch`
|
|
@@ -7816,9 +7828,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7816
7828
|
*/
|
|
7817
7829
|
async moduleControllerSearch(moduleSearchInputDTO, options) {
|
|
7818
7830
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerSearch(moduleSearchInputDTO, options);
|
|
7819
|
-
const
|
|
7820
|
-
const
|
|
7821
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7831
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7832
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerSearch']?.[index]?.url;
|
|
7833
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7822
7834
|
},
|
|
7823
7835
|
/**
|
|
7824
7836
|
* Update a module Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerUpdate`
|
|
@@ -7830,9 +7842,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7830
7842
|
*/
|
|
7831
7843
|
async moduleControllerUpdate(id, moduleUpdateDTO, options) {
|
|
7832
7844
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerUpdate(id, moduleUpdateDTO, options);
|
|
7833
|
-
const
|
|
7834
|
-
const
|
|
7835
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7845
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7846
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerUpdate']?.[index]?.url;
|
|
7847
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7836
7848
|
},
|
|
7837
7849
|
/**
|
|
7838
7850
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
@@ -7843,10 +7855,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7843
7855
|
*/
|
|
7844
7856
|
async moduleInstallationsControllerGetInstalledModules(moduleInstallationSearchInputDTO, options) {
|
|
7845
7857
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleInstallationsControllerGetInstalledModules(moduleInstallationSearchInputDTO, options);
|
|
7846
|
-
const
|
|
7847
|
-
const
|
|
7848
|
-
|
|
7849
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7858
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7859
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerGetInstalledModules']?.[index]?.url;
|
|
7860
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7850
7861
|
},
|
|
7851
7862
|
/**
|
|
7852
7863
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetModuleInstallation`
|
|
@@ -7858,9 +7869,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7858
7869
|
*/
|
|
7859
7870
|
async moduleInstallationsControllerGetModuleInstallation(moduleId, gameServerId, options) {
|
|
7860
7871
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleInstallationsControllerGetModuleInstallation(moduleId, gameServerId, options);
|
|
7861
|
-
const
|
|
7862
|
-
const
|
|
7863
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7872
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7873
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerGetModuleInstallation']?.[index]?.url;
|
|
7874
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7864
7875
|
},
|
|
7865
7876
|
/**
|
|
7866
7877
|
* Install a module on a gameserver. You can have multiple installations of the same module on the same gameserver. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `ModuleInstallationsControllerInstallModule`
|
|
@@ -7871,9 +7882,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7871
7882
|
*/
|
|
7872
7883
|
async moduleInstallationsControllerInstallModule(installModuleDTO, options) {
|
|
7873
7884
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleInstallationsControllerInstallModule(installModuleDTO, options);
|
|
7874
|
-
const
|
|
7875
|
-
const
|
|
7876
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7885
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7886
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerInstallModule']?.[index]?.url;
|
|
7887
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7877
7888
|
},
|
|
7878
7889
|
/**
|
|
7879
7890
|
* Uninstall a module from a gameserver. This will not delete the module from the database. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `ModuleInstallationsControllerUninstallModule`
|
|
@@ -7885,10 +7896,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7885
7896
|
*/
|
|
7886
7897
|
async moduleInstallationsControllerUninstallModule(moduleId, gameServerId, options) {
|
|
7887
7898
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleInstallationsControllerUninstallModule(moduleId, gameServerId, options);
|
|
7888
|
-
const
|
|
7889
|
-
const
|
|
7890
|
-
|
|
7891
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7899
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7900
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerUninstallModule']?.[index]?.url;
|
|
7901
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7892
7902
|
},
|
|
7893
7903
|
/**
|
|
7894
7904
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleVersionControllerGetModuleVersion`
|
|
@@ -7899,9 +7909,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7899
7909
|
*/
|
|
7900
7910
|
async moduleVersionControllerGetModuleVersion(id, options) {
|
|
7901
7911
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleVersionControllerGetModuleVersion(id, options);
|
|
7902
|
-
const
|
|
7903
|
-
const
|
|
7904
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7912
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7913
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleVersionControllerGetModuleVersion']?.[index]?.url;
|
|
7914
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7905
7915
|
},
|
|
7906
7916
|
/**
|
|
7907
7917
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleVersionControllerSearchVersions`
|
|
@@ -7912,9 +7922,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7912
7922
|
*/
|
|
7913
7923
|
async moduleVersionControllerSearchVersions(moduleVersionSearchInputDTO, options) {
|
|
7914
7924
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleVersionControllerSearchVersions(moduleVersionSearchInputDTO, options);
|
|
7915
|
-
const
|
|
7916
|
-
const
|
|
7917
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7925
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7926
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleVersionControllerSearchVersions']?.[index]?.url;
|
|
7927
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7918
7928
|
},
|
|
7919
7929
|
/**
|
|
7920
7930
|
* Creates a new version of a module, copying all config (commands,hooks,cronjobs,...) from the \"latest\" version into a new, immutable version Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleVersionControllerTagVersion`
|
|
@@ -7925,9 +7935,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7925
7935
|
*/
|
|
7926
7936
|
async moduleVersionControllerTagVersion(moduleVersionCreateAPIDTO, options) {
|
|
7927
7937
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleVersionControllerTagVersion(moduleVersionCreateAPIDTO, options);
|
|
7928
|
-
const
|
|
7929
|
-
const
|
|
7930
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7938
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7939
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleVersionControllerTagVersion']?.[index]?.url;
|
|
7940
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7931
7941
|
},
|
|
7932
7942
|
};
|
|
7933
7943
|
};
|
|
@@ -8686,9 +8696,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8686
8696
|
*/
|
|
8687
8697
|
async banControllerCreate(banCreateDTO, options) {
|
|
8688
8698
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerCreate(banCreateDTO, options);
|
|
8689
|
-
const
|
|
8690
|
-
const
|
|
8691
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8699
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8700
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerCreate']?.[index]?.url;
|
|
8701
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8692
8702
|
},
|
|
8693
8703
|
/**
|
|
8694
8704
|
* Unban player. This will remove the ban from Takaro and the gameserver(s) Required permissions: `MANAGE_PLAYERS`<br> OperationId: `BanControllerDelete`
|
|
@@ -8699,9 +8709,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8699
8709
|
*/
|
|
8700
8710
|
async banControllerDelete(id, options) {
|
|
8701
8711
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerDelete(id, options);
|
|
8702
|
-
const
|
|
8703
|
-
const
|
|
8704
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8712
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8713
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerDelete']?.[index]?.url;
|
|
8714
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8705
8715
|
},
|
|
8706
8716
|
/**
|
|
8707
8717
|
* Get a single ban Required permissions: `READ_PLAYERS`<br> OperationId: `BanControllerGetOne`
|
|
@@ -8712,9 +8722,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8712
8722
|
*/
|
|
8713
8723
|
async banControllerGetOne(id, options) {
|
|
8714
8724
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerGetOne(id, options);
|
|
8715
|
-
const
|
|
8716
|
-
const
|
|
8717
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8725
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8726
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerGetOne']?.[index]?.url;
|
|
8727
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8718
8728
|
},
|
|
8719
8729
|
/**
|
|
8720
8730
|
* Search for bans Required permissions: `READ_PLAYERS`<br> OperationId: `BanControllerSearch`
|
|
@@ -8725,9 +8735,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8725
8735
|
*/
|
|
8726
8736
|
async banControllerSearch(banSearchInputDTO, options) {
|
|
8727
8737
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerSearch(banSearchInputDTO, options);
|
|
8728
|
-
const
|
|
8729
|
-
const
|
|
8730
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8738
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8739
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerSearch']?.[index]?.url;
|
|
8740
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8731
8741
|
},
|
|
8732
8742
|
/**
|
|
8733
8743
|
* Update an existing ban, updating a ban via the API will always make it takaro managed. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `BanControllerUpdate`
|
|
@@ -8739,9 +8749,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8739
8749
|
*/
|
|
8740
8750
|
async banControllerUpdate(id, banUpdateDTO, options) {
|
|
8741
8751
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerUpdate(id, banUpdateDTO, options);
|
|
8742
|
-
const
|
|
8743
|
-
const
|
|
8744
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8752
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8753
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerUpdate']?.[index]?.url;
|
|
8754
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8745
8755
|
},
|
|
8746
8756
|
/**
|
|
8747
8757
|
* Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerAssignRole`
|
|
@@ -8754,9 +8764,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8754
8764
|
*/
|
|
8755
8765
|
async playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options) {
|
|
8756
8766
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options);
|
|
8757
|
-
const
|
|
8758
|
-
const
|
|
8759
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8767
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8768
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerAssignRole']?.[index]?.url;
|
|
8769
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8760
8770
|
},
|
|
8761
8771
|
/**
|
|
8762
8772
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
@@ -8767,9 +8777,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8767
8777
|
*/
|
|
8768
8778
|
async playerControllerBulkDelete(playerBulkDeleteInputDTO, options) {
|
|
8769
8779
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerBulkDelete(playerBulkDeleteInputDTO, options);
|
|
8770
|
-
const
|
|
8771
|
-
const
|
|
8772
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8780
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8781
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerBulkDelete']?.[index]?.url;
|
|
8782
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8773
8783
|
},
|
|
8774
8784
|
/**
|
|
8775
8785
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
@@ -8780,9 +8790,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8780
8790
|
*/
|
|
8781
8791
|
async playerControllerDelete(id, options) {
|
|
8782
8792
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerDelete(id, options);
|
|
8783
|
-
const
|
|
8784
|
-
const
|
|
8785
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8793
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8794
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerDelete']?.[index]?.url;
|
|
8795
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8786
8796
|
},
|
|
8787
8797
|
/**
|
|
8788
8798
|
* Get the player that is currently authenticated. This is a low-privilege route, returning limited data.<br> OperationId: `PlayerControllerGetMe`
|
|
@@ -8792,9 +8802,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8792
8802
|
*/
|
|
8793
8803
|
async playerControllerGetMe(options) {
|
|
8794
8804
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerGetMe(options);
|
|
8795
|
-
const
|
|
8796
|
-
const
|
|
8797
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8805
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8806
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerGetMe']?.[index]?.url;
|
|
8807
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8798
8808
|
},
|
|
8799
8809
|
/**
|
|
8800
8810
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerGetOne`
|
|
@@ -8805,9 +8815,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8805
8815
|
*/
|
|
8806
8816
|
async playerControllerGetOne(id, options) {
|
|
8807
8817
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerGetOne(id, options);
|
|
8808
|
-
const
|
|
8809
|
-
const
|
|
8810
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8818
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8819
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerGetOne']?.[index]?.url;
|
|
8820
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8811
8821
|
},
|
|
8812
8822
|
/**
|
|
8813
8823
|
* Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
|
|
@@ -8820,9 +8830,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8820
8830
|
*/
|
|
8821
8831
|
async playerControllerRemoveRole(id, roleId, playerRoleAssignChangeDTO, options) {
|
|
8822
8832
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerRemoveRole(id, roleId, playerRoleAssignChangeDTO, options);
|
|
8823
|
-
const
|
|
8824
|
-
const
|
|
8825
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8833
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8834
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerRemoveRole']?.[index]?.url;
|
|
8835
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8826
8836
|
},
|
|
8827
8837
|
/**
|
|
8828
8838
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerSearch`
|
|
@@ -8833,9 +8843,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8833
8843
|
*/
|
|
8834
8844
|
async playerControllerSearch(playerSearchInputDTO, options) {
|
|
8835
8845
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerSearch(playerSearchInputDTO, options);
|
|
8836
|
-
const
|
|
8837
|
-
const
|
|
8838
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8846
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8847
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerSearch']?.[index]?.url;
|
|
8848
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8839
8849
|
},
|
|
8840
8850
|
};
|
|
8841
8851
|
};
|
|
@@ -9455,9 +9465,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9455
9465
|
*/
|
|
9456
9466
|
async playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9457
9467
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
9458
|
-
const
|
|
9459
|
-
const
|
|
9460
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9468
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9469
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerAddCurrency']?.[index]?.url;
|
|
9470
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9461
9471
|
},
|
|
9462
9472
|
/**
|
|
9463
9473
|
* Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
|
|
@@ -9469,9 +9479,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9469
9479
|
*/
|
|
9470
9480
|
async playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
9471
9481
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options);
|
|
9472
|
-
const
|
|
9473
|
-
const
|
|
9474
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9482
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9483
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkDelete']?.[index]?.url;
|
|
9484
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9475
9485
|
},
|
|
9476
9486
|
/**
|
|
9477
9487
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
@@ -9484,9 +9494,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9484
9494
|
*/
|
|
9485
9495
|
async playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9486
9496
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
9487
|
-
const
|
|
9488
|
-
const
|
|
9489
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9497
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9498
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDeductCurrency']?.[index]?.url;
|
|
9499
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9490
9500
|
},
|
|
9491
9501
|
/**
|
|
9492
9502
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
@@ -9498,10 +9508,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9498
9508
|
*/
|
|
9499
9509
|
async playerOnGameServerControllerDelete(gameServerId, playerId, options) {
|
|
9500
9510
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDelete(gameServerId, playerId, options);
|
|
9501
|
-
const
|
|
9502
|
-
const
|
|
9503
|
-
|
|
9504
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9511
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9512
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDelete']?.[index]?.url;
|
|
9513
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9505
9514
|
},
|
|
9506
9515
|
/**
|
|
9507
9516
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
@@ -9513,10 +9522,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9513
9522
|
*/
|
|
9514
9523
|
async playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
|
|
9515
9524
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerGetOne(gameServerId, playerId, options);
|
|
9516
|
-
const
|
|
9517
|
-
const
|
|
9518
|
-
|
|
9519
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9525
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9526
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerGetOne']?.[index]?.url;
|
|
9527
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9520
9528
|
},
|
|
9521
9529
|
/**
|
|
9522
9530
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
|
|
@@ -9527,10 +9535,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9527
9535
|
*/
|
|
9528
9536
|
async playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
|
|
9529
9537
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options);
|
|
9530
|
-
const
|
|
9531
|
-
const
|
|
9532
|
-
|
|
9533
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9538
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9539
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSearch']?.[index]?.url;
|
|
9540
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9534
9541
|
},
|
|
9535
9542
|
/**
|
|
9536
9543
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
|
|
@@ -9543,9 +9550,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9543
9550
|
*/
|
|
9544
9551
|
async playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9545
9552
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
9546
|
-
const
|
|
9547
|
-
const
|
|
9548
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9553
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9554
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSetCurrency']?.[index]?.url;
|
|
9555
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9549
9556
|
},
|
|
9550
9557
|
/**
|
|
9551
9558
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
|
|
@@ -9559,9 +9566,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9559
9566
|
*/
|
|
9560
9567
|
async playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9561
9568
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options);
|
|
9562
|
-
const
|
|
9563
|
-
const
|
|
9564
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9569
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9570
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerTransactBetweenPlayers']?.[index]?.url;
|
|
9571
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9565
9572
|
},
|
|
9566
9573
|
};
|
|
9567
9574
|
};
|
|
@@ -10004,9 +10011,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10004
10011
|
*/
|
|
10005
10012
|
async roleControllerCreate(roleCreateInputDTO, options) {
|
|
10006
10013
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerCreate(roleCreateInputDTO, options);
|
|
10007
|
-
const
|
|
10008
|
-
const
|
|
10009
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10014
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10015
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerCreate']?.[index]?.url;
|
|
10016
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10010
10017
|
},
|
|
10011
10018
|
/**
|
|
10012
10019
|
* Required permissions: `READ_ROLES`<br> OperationId: `RoleControllerGetOne`
|
|
@@ -10017,9 +10024,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10017
10024
|
*/
|
|
10018
10025
|
async roleControllerGetOne(id, options) {
|
|
10019
10026
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerGetOne(id, options);
|
|
10020
|
-
const
|
|
10021
|
-
const
|
|
10022
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10027
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10028
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerGetOne']?.[index]?.url;
|
|
10029
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10023
10030
|
},
|
|
10024
10031
|
/**
|
|
10025
10032
|
* <br> OperationId: `RoleControllerGetPermissions`
|
|
@@ -10029,9 +10036,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10029
10036
|
*/
|
|
10030
10037
|
async roleControllerGetPermissions(options) {
|
|
10031
10038
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerGetPermissions(options);
|
|
10032
|
-
const
|
|
10033
|
-
const
|
|
10034
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10039
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10040
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerGetPermissions']?.[index]?.url;
|
|
10041
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10035
10042
|
},
|
|
10036
10043
|
/**
|
|
10037
10044
|
* Required permissions: `MANAGE_ROLES`<br> OperationId: `RoleControllerRemove`
|
|
@@ -10042,9 +10049,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10042
10049
|
*/
|
|
10043
10050
|
async roleControllerRemove(id, options) {
|
|
10044
10051
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerRemove(id, options);
|
|
10045
|
-
const
|
|
10046
|
-
const
|
|
10047
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10052
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10053
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerRemove']?.[index]?.url;
|
|
10054
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10048
10055
|
},
|
|
10049
10056
|
/**
|
|
10050
10057
|
* Required permissions: `READ_ROLES`<br> OperationId: `RoleControllerSearch`
|
|
@@ -10055,9 +10062,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10055
10062
|
*/
|
|
10056
10063
|
async roleControllerSearch(roleSearchInputDTO, options) {
|
|
10057
10064
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerSearch(roleSearchInputDTO, options);
|
|
10058
|
-
const
|
|
10059
|
-
const
|
|
10060
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10065
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10066
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerSearch']?.[index]?.url;
|
|
10067
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10061
10068
|
},
|
|
10062
10069
|
/**
|
|
10063
10070
|
* Required permissions: `MANAGE_ROLES`<br> OperationId: `RoleControllerUpdate`
|
|
@@ -10069,9 +10076,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10069
10076
|
*/
|
|
10070
10077
|
async roleControllerUpdate(id, roleUpdateInputDTO, options) {
|
|
10071
10078
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerUpdate(id, roleUpdateInputDTO, options);
|
|
10072
|
-
const
|
|
10073
|
-
const
|
|
10074
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10079
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10080
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerUpdate']?.[index]?.url;
|
|
10081
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10075
10082
|
},
|
|
10076
10083
|
};
|
|
10077
10084
|
};
|
|
@@ -10389,9 +10396,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10389
10396
|
*/
|
|
10390
10397
|
async settingsControllerDelete(key, gameServerId, options) {
|
|
10391
10398
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerDelete(key, gameServerId, options);
|
|
10392
|
-
const
|
|
10393
|
-
const
|
|
10394
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10399
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10400
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerDelete']?.[index]?.url;
|
|
10401
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10395
10402
|
},
|
|
10396
10403
|
/**
|
|
10397
10404
|
* <br> OperationId: `SettingsControllerGet`
|
|
@@ -10403,9 +10410,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10403
10410
|
*/
|
|
10404
10411
|
async settingsControllerGet(keys, gameServerId, options) {
|
|
10405
10412
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerGet(keys, gameServerId, options);
|
|
10406
|
-
const
|
|
10407
|
-
const
|
|
10408
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10413
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10414
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerGet']?.[index]?.url;
|
|
10415
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10409
10416
|
},
|
|
10410
10417
|
/**
|
|
10411
10418
|
* <br> OperationId: `SettingsControllerGetOne`
|
|
@@ -10417,9 +10424,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10417
10424
|
*/
|
|
10418
10425
|
async settingsControllerGetOne(key, gameServerId, options) {
|
|
10419
10426
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerGetOne(key, gameServerId, options);
|
|
10420
|
-
const
|
|
10421
|
-
const
|
|
10422
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10427
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10428
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerGetOne']?.[index]?.url;
|
|
10429
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10423
10430
|
},
|
|
10424
10431
|
/**
|
|
10425
10432
|
* Required permissions: `MANAGE_SETTINGS`<br> OperationId: `SettingsControllerSet`
|
|
@@ -10431,9 +10438,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10431
10438
|
*/
|
|
10432
10439
|
async settingsControllerSet(key, settingsSetDTO, options) {
|
|
10433
10440
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerSet(key, settingsSetDTO, options);
|
|
10434
|
-
const
|
|
10435
|
-
const
|
|
10436
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10441
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10442
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerSet']?.[index]?.url;
|
|
10443
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10437
10444
|
},
|
|
10438
10445
|
};
|
|
10439
10446
|
};
|
|
@@ -10574,6 +10581,526 @@ export const SettingsControllerGetKeysEnum = {
|
|
|
10574
10581
|
UnknownCommandFeedbackEnabled: 'unknownCommandFeedbackEnabled',
|
|
10575
10582
|
UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
|
|
10576
10583
|
};
|
|
10584
|
+
/**
|
|
10585
|
+
* ShopActionApi - axios parameter creator
|
|
10586
|
+
* @export
|
|
10587
|
+
*/
|
|
10588
|
+
export const ShopActionApiAxiosParamCreator = function (configuration) {
|
|
10589
|
+
return {
|
|
10590
|
+
/**
|
|
10591
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
|
|
10592
|
+
* @summary Create
|
|
10593
|
+
* @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
|
|
10594
|
+
* @param {*} [options] Override http request option.
|
|
10595
|
+
* @throws {RequiredError}
|
|
10596
|
+
*/
|
|
10597
|
+
shopActionControllerCreate: async (shopActionCreateDTO, options = {}) => {
|
|
10598
|
+
const localVarPath = `/shopaction`;
|
|
10599
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10600
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10601
|
+
let baseOptions;
|
|
10602
|
+
if (configuration) {
|
|
10603
|
+
baseOptions = configuration.baseOptions;
|
|
10604
|
+
}
|
|
10605
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10606
|
+
const localVarHeaderParameter = {};
|
|
10607
|
+
const localVarQueryParameter = {};
|
|
10608
|
+
// authentication domainAuth required
|
|
10609
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10610
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10611
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10612
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10613
|
+
localVarRequestOptions.data = serializeDataIfNeeded(shopActionCreateDTO, localVarRequestOptions, configuration);
|
|
10614
|
+
return {
|
|
10615
|
+
url: toPathString(localVarUrlObj),
|
|
10616
|
+
options: localVarRequestOptions,
|
|
10617
|
+
};
|
|
10618
|
+
},
|
|
10619
|
+
/**
|
|
10620
|
+
* Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
|
|
10621
|
+
* @summary Get available
|
|
10622
|
+
* @param {string} gameServerId
|
|
10623
|
+
* @param {*} [options] Override http request option.
|
|
10624
|
+
* @throws {RequiredError}
|
|
10625
|
+
*/
|
|
10626
|
+
shopActionControllerGetAvailable: async (gameServerId, options = {}) => {
|
|
10627
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
10628
|
+
assertParamExists('shopActionControllerGetAvailable', 'gameServerId', gameServerId);
|
|
10629
|
+
const localVarPath = `/shopaction/gameserver/{gameServerId}/available`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
10630
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10631
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10632
|
+
let baseOptions;
|
|
10633
|
+
if (configuration) {
|
|
10634
|
+
baseOptions = configuration.baseOptions;
|
|
10635
|
+
}
|
|
10636
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
10637
|
+
const localVarHeaderParameter = {};
|
|
10638
|
+
const localVarQueryParameter = {};
|
|
10639
|
+
// authentication domainAuth required
|
|
10640
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10641
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10642
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10643
|
+
return {
|
|
10644
|
+
url: toPathString(localVarUrlObj),
|
|
10645
|
+
options: localVarRequestOptions,
|
|
10646
|
+
};
|
|
10647
|
+
},
|
|
10648
|
+
/**
|
|
10649
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
|
|
10650
|
+
* @summary Get executions
|
|
10651
|
+
* @param {string} id
|
|
10652
|
+
* @param {any} [success]
|
|
10653
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10654
|
+
* @param {*} [options] Override http request option.
|
|
10655
|
+
* @throws {RequiredError}
|
|
10656
|
+
*/
|
|
10657
|
+
shopActionControllerGetExecutions: async (id, success, eventSearchInputDTO, options = {}) => {
|
|
10658
|
+
// verify required parameter 'id' is not null or undefined
|
|
10659
|
+
assertParamExists('shopActionControllerGetExecutions', 'id', id);
|
|
10660
|
+
const localVarPath = `/shopaction/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10661
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10662
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10663
|
+
let baseOptions;
|
|
10664
|
+
if (configuration) {
|
|
10665
|
+
baseOptions = configuration.baseOptions;
|
|
10666
|
+
}
|
|
10667
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10668
|
+
const localVarHeaderParameter = {};
|
|
10669
|
+
const localVarQueryParameter = {};
|
|
10670
|
+
// authentication domainAuth required
|
|
10671
|
+
if (success !== undefined) {
|
|
10672
|
+
for (const [key, value] of Object.entries(success)) {
|
|
10673
|
+
localVarQueryParameter[key] = value;
|
|
10674
|
+
}
|
|
10675
|
+
}
|
|
10676
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10677
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10678
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10679
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10680
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
10681
|
+
return {
|
|
10682
|
+
url: toPathString(localVarUrlObj),
|
|
10683
|
+
options: localVarRequestOptions,
|
|
10684
|
+
};
|
|
10685
|
+
},
|
|
10686
|
+
/**
|
|
10687
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
|
|
10688
|
+
* @summary Get one
|
|
10689
|
+
* @param {string} id
|
|
10690
|
+
* @param {*} [options] Override http request option.
|
|
10691
|
+
* @throws {RequiredError}
|
|
10692
|
+
*/
|
|
10693
|
+
shopActionControllerGetOne: async (id, options = {}) => {
|
|
10694
|
+
// verify required parameter 'id' is not null or undefined
|
|
10695
|
+
assertParamExists('shopActionControllerGetOne', 'id', id);
|
|
10696
|
+
const localVarPath = `/shopaction/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10697
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10698
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10699
|
+
let baseOptions;
|
|
10700
|
+
if (configuration) {
|
|
10701
|
+
baseOptions = configuration.baseOptions;
|
|
10702
|
+
}
|
|
10703
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
10704
|
+
const localVarHeaderParameter = {};
|
|
10705
|
+
const localVarQueryParameter = {};
|
|
10706
|
+
// authentication domainAuth required
|
|
10707
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10708
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10709
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10710
|
+
return {
|
|
10711
|
+
url: toPathString(localVarUrlObj),
|
|
10712
|
+
options: localVarRequestOptions,
|
|
10713
|
+
};
|
|
10714
|
+
},
|
|
10715
|
+
/**
|
|
10716
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
|
|
10717
|
+
* @summary Remove
|
|
10718
|
+
* @param {string} id
|
|
10719
|
+
* @param {*} [options] Override http request option.
|
|
10720
|
+
* @throws {RequiredError}
|
|
10721
|
+
*/
|
|
10722
|
+
shopActionControllerRemove: async (id, options = {}) => {
|
|
10723
|
+
// verify required parameter 'id' is not null or undefined
|
|
10724
|
+
assertParamExists('shopActionControllerRemove', 'id', id);
|
|
10725
|
+
const localVarPath = `/shopaction/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10726
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10727
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10728
|
+
let baseOptions;
|
|
10729
|
+
if (configuration) {
|
|
10730
|
+
baseOptions = configuration.baseOptions;
|
|
10731
|
+
}
|
|
10732
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
10733
|
+
const localVarHeaderParameter = {};
|
|
10734
|
+
const localVarQueryParameter = {};
|
|
10735
|
+
// authentication domainAuth required
|
|
10736
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10737
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10738
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10739
|
+
return {
|
|
10740
|
+
url: toPathString(localVarUrlObj),
|
|
10741
|
+
options: localVarRequestOptions,
|
|
10742
|
+
};
|
|
10743
|
+
},
|
|
10744
|
+
/**
|
|
10745
|
+
* Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
|
|
10746
|
+
* @summary Search
|
|
10747
|
+
* @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
|
|
10748
|
+
* @param {*} [options] Override http request option.
|
|
10749
|
+
* @throws {RequiredError}
|
|
10750
|
+
*/
|
|
10751
|
+
shopActionControllerSearch: async (shopActionSearchInputDTO, options = {}) => {
|
|
10752
|
+
const localVarPath = `/shopaction/search`;
|
|
10753
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10754
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10755
|
+
let baseOptions;
|
|
10756
|
+
if (configuration) {
|
|
10757
|
+
baseOptions = configuration.baseOptions;
|
|
10758
|
+
}
|
|
10759
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10760
|
+
const localVarHeaderParameter = {};
|
|
10761
|
+
const localVarQueryParameter = {};
|
|
10762
|
+
// authentication domainAuth required
|
|
10763
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10764
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10765
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10766
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10767
|
+
localVarRequestOptions.data = serializeDataIfNeeded(shopActionSearchInputDTO, localVarRequestOptions, configuration);
|
|
10768
|
+
return {
|
|
10769
|
+
url: toPathString(localVarUrlObj),
|
|
10770
|
+
options: localVarRequestOptions,
|
|
10771
|
+
};
|
|
10772
|
+
},
|
|
10773
|
+
/**
|
|
10774
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
|
|
10775
|
+
* @summary Update
|
|
10776
|
+
* @param {string} id
|
|
10777
|
+
* @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
|
|
10778
|
+
* @param {*} [options] Override http request option.
|
|
10779
|
+
* @throws {RequiredError}
|
|
10780
|
+
*/
|
|
10781
|
+
shopActionControllerUpdate: async (id, shopActionUpdateDTO, options = {}) => {
|
|
10782
|
+
// verify required parameter 'id' is not null or undefined
|
|
10783
|
+
assertParamExists('shopActionControllerUpdate', 'id', id);
|
|
10784
|
+
const localVarPath = `/shopaction/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10785
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10786
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10787
|
+
let baseOptions;
|
|
10788
|
+
if (configuration) {
|
|
10789
|
+
baseOptions = configuration.baseOptions;
|
|
10790
|
+
}
|
|
10791
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
10792
|
+
const localVarHeaderParameter = {};
|
|
10793
|
+
const localVarQueryParameter = {};
|
|
10794
|
+
// authentication domainAuth required
|
|
10795
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10796
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10797
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10798
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10799
|
+
localVarRequestOptions.data = serializeDataIfNeeded(shopActionUpdateDTO, localVarRequestOptions, configuration);
|
|
10800
|
+
return {
|
|
10801
|
+
url: toPathString(localVarUrlObj),
|
|
10802
|
+
options: localVarRequestOptions,
|
|
10803
|
+
};
|
|
10804
|
+
},
|
|
10805
|
+
};
|
|
10806
|
+
};
|
|
10807
|
+
/**
|
|
10808
|
+
* ShopActionApi - functional programming interface
|
|
10809
|
+
* @export
|
|
10810
|
+
*/
|
|
10811
|
+
export const ShopActionApiFp = function (configuration) {
|
|
10812
|
+
const localVarAxiosParamCreator = ShopActionApiAxiosParamCreator(configuration);
|
|
10813
|
+
return {
|
|
10814
|
+
/**
|
|
10815
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
|
|
10816
|
+
* @summary Create
|
|
10817
|
+
* @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
|
|
10818
|
+
* @param {*} [options] Override http request option.
|
|
10819
|
+
* @throws {RequiredError}
|
|
10820
|
+
*/
|
|
10821
|
+
async shopActionControllerCreate(shopActionCreateDTO, options) {
|
|
10822
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerCreate(shopActionCreateDTO, options);
|
|
10823
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10824
|
+
const localVarOperationServerBasePath = operationServerMap['ShopActionApi.shopActionControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
10825
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10826
|
+
},
|
|
10827
|
+
/**
|
|
10828
|
+
* Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
|
|
10829
|
+
* @summary Get available
|
|
10830
|
+
* @param {string} gameServerId
|
|
10831
|
+
* @param {*} [options] Override http request option.
|
|
10832
|
+
* @throws {RequiredError}
|
|
10833
|
+
*/
|
|
10834
|
+
async shopActionControllerGetAvailable(gameServerId, options) {
|
|
10835
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerGetAvailable(gameServerId, options);
|
|
10836
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10837
|
+
const localVarOperationServerBasePath = operationServerMap['ShopActionApi.shopActionControllerGetAvailable']?.[localVarOperationServerIndex]?.url;
|
|
10838
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10839
|
+
},
|
|
10840
|
+
/**
|
|
10841
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
|
|
10842
|
+
* @summary Get executions
|
|
10843
|
+
* @param {string} id
|
|
10844
|
+
* @param {any} [success]
|
|
10845
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10846
|
+
* @param {*} [options] Override http request option.
|
|
10847
|
+
* @throws {RequiredError}
|
|
10848
|
+
*/
|
|
10849
|
+
async shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
10850
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
10851
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10852
|
+
const localVarOperationServerBasePath = operationServerMap['ShopActionApi.shopActionControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
|
|
10853
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10854
|
+
},
|
|
10855
|
+
/**
|
|
10856
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
|
|
10857
|
+
* @summary Get one
|
|
10858
|
+
* @param {string} id
|
|
10859
|
+
* @param {*} [options] Override http request option.
|
|
10860
|
+
* @throws {RequiredError}
|
|
10861
|
+
*/
|
|
10862
|
+
async shopActionControllerGetOne(id, options) {
|
|
10863
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerGetOne(id, options);
|
|
10864
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10865
|
+
const localVarOperationServerBasePath = operationServerMap['ShopActionApi.shopActionControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
10866
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10867
|
+
},
|
|
10868
|
+
/**
|
|
10869
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
|
|
10870
|
+
* @summary Remove
|
|
10871
|
+
* @param {string} id
|
|
10872
|
+
* @param {*} [options] Override http request option.
|
|
10873
|
+
* @throws {RequiredError}
|
|
10874
|
+
*/
|
|
10875
|
+
async shopActionControllerRemove(id, options) {
|
|
10876
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerRemove(id, options);
|
|
10877
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10878
|
+
const localVarOperationServerBasePath = operationServerMap['ShopActionApi.shopActionControllerRemove']?.[localVarOperationServerIndex]?.url;
|
|
10879
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10880
|
+
},
|
|
10881
|
+
/**
|
|
10882
|
+
* Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
|
|
10883
|
+
* @summary Search
|
|
10884
|
+
* @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
|
|
10885
|
+
* @param {*} [options] Override http request option.
|
|
10886
|
+
* @throws {RequiredError}
|
|
10887
|
+
*/
|
|
10888
|
+
async shopActionControllerSearch(shopActionSearchInputDTO, options) {
|
|
10889
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerSearch(shopActionSearchInputDTO, options);
|
|
10890
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10891
|
+
const localVarOperationServerBasePath = operationServerMap['ShopActionApi.shopActionControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
10892
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10893
|
+
},
|
|
10894
|
+
/**
|
|
10895
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
|
|
10896
|
+
* @summary Update
|
|
10897
|
+
* @param {string} id
|
|
10898
|
+
* @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
|
|
10899
|
+
* @param {*} [options] Override http request option.
|
|
10900
|
+
* @throws {RequiredError}
|
|
10901
|
+
*/
|
|
10902
|
+
async shopActionControllerUpdate(id, shopActionUpdateDTO, options) {
|
|
10903
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerUpdate(id, shopActionUpdateDTO, options);
|
|
10904
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10905
|
+
const localVarOperationServerBasePath = operationServerMap['ShopActionApi.shopActionControllerUpdate']?.[localVarOperationServerIndex]?.url;
|
|
10906
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10907
|
+
},
|
|
10908
|
+
};
|
|
10909
|
+
};
|
|
10910
|
+
/**
|
|
10911
|
+
* ShopActionApi - factory interface
|
|
10912
|
+
* @export
|
|
10913
|
+
*/
|
|
10914
|
+
export const ShopActionApiFactory = function (configuration, basePath, axios) {
|
|
10915
|
+
const localVarFp = ShopActionApiFp(configuration);
|
|
10916
|
+
return {
|
|
10917
|
+
/**
|
|
10918
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
|
|
10919
|
+
* @summary Create
|
|
10920
|
+
* @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
|
|
10921
|
+
* @param {*} [options] Override http request option.
|
|
10922
|
+
* @throws {RequiredError}
|
|
10923
|
+
*/
|
|
10924
|
+
shopActionControllerCreate(shopActionCreateDTO, options) {
|
|
10925
|
+
return localVarFp
|
|
10926
|
+
.shopActionControllerCreate(shopActionCreateDTO, options)
|
|
10927
|
+
.then((request) => request(axios, basePath));
|
|
10928
|
+
},
|
|
10929
|
+
/**
|
|
10930
|
+
* Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
|
|
10931
|
+
* @summary Get available
|
|
10932
|
+
* @param {string} gameServerId
|
|
10933
|
+
* @param {*} [options] Override http request option.
|
|
10934
|
+
* @throws {RequiredError}
|
|
10935
|
+
*/
|
|
10936
|
+
shopActionControllerGetAvailable(gameServerId, options) {
|
|
10937
|
+
return localVarFp
|
|
10938
|
+
.shopActionControllerGetAvailable(gameServerId, options)
|
|
10939
|
+
.then((request) => request(axios, basePath));
|
|
10940
|
+
},
|
|
10941
|
+
/**
|
|
10942
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
|
|
10943
|
+
* @summary Get executions
|
|
10944
|
+
* @param {string} id
|
|
10945
|
+
* @param {any} [success]
|
|
10946
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10947
|
+
* @param {*} [options] Override http request option.
|
|
10948
|
+
* @throws {RequiredError}
|
|
10949
|
+
*/
|
|
10950
|
+
shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
10951
|
+
return localVarFp
|
|
10952
|
+
.shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options)
|
|
10953
|
+
.then((request) => request(axios, basePath));
|
|
10954
|
+
},
|
|
10955
|
+
/**
|
|
10956
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
|
|
10957
|
+
* @summary Get one
|
|
10958
|
+
* @param {string} id
|
|
10959
|
+
* @param {*} [options] Override http request option.
|
|
10960
|
+
* @throws {RequiredError}
|
|
10961
|
+
*/
|
|
10962
|
+
shopActionControllerGetOne(id, options) {
|
|
10963
|
+
return localVarFp.shopActionControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
10964
|
+
},
|
|
10965
|
+
/**
|
|
10966
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
|
|
10967
|
+
* @summary Remove
|
|
10968
|
+
* @param {string} id
|
|
10969
|
+
* @param {*} [options] Override http request option.
|
|
10970
|
+
* @throws {RequiredError}
|
|
10971
|
+
*/
|
|
10972
|
+
shopActionControllerRemove(id, options) {
|
|
10973
|
+
return localVarFp.shopActionControllerRemove(id, options).then((request) => request(axios, basePath));
|
|
10974
|
+
},
|
|
10975
|
+
/**
|
|
10976
|
+
* Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
|
|
10977
|
+
* @summary Search
|
|
10978
|
+
* @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
|
|
10979
|
+
* @param {*} [options] Override http request option.
|
|
10980
|
+
* @throws {RequiredError}
|
|
10981
|
+
*/
|
|
10982
|
+
shopActionControllerSearch(shopActionSearchInputDTO, options) {
|
|
10983
|
+
return localVarFp
|
|
10984
|
+
.shopActionControllerSearch(shopActionSearchInputDTO, options)
|
|
10985
|
+
.then((request) => request(axios, basePath));
|
|
10986
|
+
},
|
|
10987
|
+
/**
|
|
10988
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
|
|
10989
|
+
* @summary Update
|
|
10990
|
+
* @param {string} id
|
|
10991
|
+
* @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
|
|
10992
|
+
* @param {*} [options] Override http request option.
|
|
10993
|
+
* @throws {RequiredError}
|
|
10994
|
+
*/
|
|
10995
|
+
shopActionControllerUpdate(id, shopActionUpdateDTO, options) {
|
|
10996
|
+
return localVarFp
|
|
10997
|
+
.shopActionControllerUpdate(id, shopActionUpdateDTO, options)
|
|
10998
|
+
.then((request) => request(axios, basePath));
|
|
10999
|
+
},
|
|
11000
|
+
};
|
|
11001
|
+
};
|
|
11002
|
+
/**
|
|
11003
|
+
* ShopActionApi - object-oriented interface
|
|
11004
|
+
* @export
|
|
11005
|
+
* @class ShopActionApi
|
|
11006
|
+
* @extends {BaseAPI}
|
|
11007
|
+
*/
|
|
11008
|
+
export class ShopActionApi extends BaseAPI {
|
|
11009
|
+
/**
|
|
11010
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
|
|
11011
|
+
* @summary Create
|
|
11012
|
+
* @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
|
|
11013
|
+
* @param {*} [options] Override http request option.
|
|
11014
|
+
* @throws {RequiredError}
|
|
11015
|
+
* @memberof ShopActionApi
|
|
11016
|
+
*/
|
|
11017
|
+
shopActionControllerCreate(shopActionCreateDTO, options) {
|
|
11018
|
+
return ShopActionApiFp(this.configuration)
|
|
11019
|
+
.shopActionControllerCreate(shopActionCreateDTO, options)
|
|
11020
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11021
|
+
}
|
|
11022
|
+
/**
|
|
11023
|
+
* Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
|
|
11024
|
+
* @summary Get available
|
|
11025
|
+
* @param {string} gameServerId
|
|
11026
|
+
* @param {*} [options] Override http request option.
|
|
11027
|
+
* @throws {RequiredError}
|
|
11028
|
+
* @memberof ShopActionApi
|
|
11029
|
+
*/
|
|
11030
|
+
shopActionControllerGetAvailable(gameServerId, options) {
|
|
11031
|
+
return ShopActionApiFp(this.configuration)
|
|
11032
|
+
.shopActionControllerGetAvailable(gameServerId, options)
|
|
11033
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11034
|
+
}
|
|
11035
|
+
/**
|
|
11036
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
|
|
11037
|
+
* @summary Get executions
|
|
11038
|
+
* @param {string} id
|
|
11039
|
+
* @param {any} [success]
|
|
11040
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
11041
|
+
* @param {*} [options] Override http request option.
|
|
11042
|
+
* @throws {RequiredError}
|
|
11043
|
+
* @memberof ShopActionApi
|
|
11044
|
+
*/
|
|
11045
|
+
shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
11046
|
+
return ShopActionApiFp(this.configuration)
|
|
11047
|
+
.shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options)
|
|
11048
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11049
|
+
}
|
|
11050
|
+
/**
|
|
11051
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
|
|
11052
|
+
* @summary Get one
|
|
11053
|
+
* @param {string} id
|
|
11054
|
+
* @param {*} [options] Override http request option.
|
|
11055
|
+
* @throws {RequiredError}
|
|
11056
|
+
* @memberof ShopActionApi
|
|
11057
|
+
*/
|
|
11058
|
+
shopActionControllerGetOne(id, options) {
|
|
11059
|
+
return ShopActionApiFp(this.configuration)
|
|
11060
|
+
.shopActionControllerGetOne(id, options)
|
|
11061
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11062
|
+
}
|
|
11063
|
+
/**
|
|
11064
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
|
|
11065
|
+
* @summary Remove
|
|
11066
|
+
* @param {string} id
|
|
11067
|
+
* @param {*} [options] Override http request option.
|
|
11068
|
+
* @throws {RequiredError}
|
|
11069
|
+
* @memberof ShopActionApi
|
|
11070
|
+
*/
|
|
11071
|
+
shopActionControllerRemove(id, options) {
|
|
11072
|
+
return ShopActionApiFp(this.configuration)
|
|
11073
|
+
.shopActionControllerRemove(id, options)
|
|
11074
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11075
|
+
}
|
|
11076
|
+
/**
|
|
11077
|
+
* Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
|
|
11078
|
+
* @summary Search
|
|
11079
|
+
* @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
|
|
11080
|
+
* @param {*} [options] Override http request option.
|
|
11081
|
+
* @throws {RequiredError}
|
|
11082
|
+
* @memberof ShopActionApi
|
|
11083
|
+
*/
|
|
11084
|
+
shopActionControllerSearch(shopActionSearchInputDTO, options) {
|
|
11085
|
+
return ShopActionApiFp(this.configuration)
|
|
11086
|
+
.shopActionControllerSearch(shopActionSearchInputDTO, options)
|
|
11087
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11088
|
+
}
|
|
11089
|
+
/**
|
|
11090
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
|
|
11091
|
+
* @summary Update
|
|
11092
|
+
* @param {string} id
|
|
11093
|
+
* @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
|
|
11094
|
+
* @param {*} [options] Override http request option.
|
|
11095
|
+
* @throws {RequiredError}
|
|
11096
|
+
* @memberof ShopActionApi
|
|
11097
|
+
*/
|
|
11098
|
+
shopActionControllerUpdate(id, shopActionUpdateDTO, options) {
|
|
11099
|
+
return ShopActionApiFp(this.configuration)
|
|
11100
|
+
.shopActionControllerUpdate(id, shopActionUpdateDTO, options)
|
|
11101
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11102
|
+
}
|
|
11103
|
+
}
|
|
10577
11104
|
/**
|
|
10578
11105
|
* ShopCategoryApi - axios parameter creator
|
|
10579
11106
|
* @export
|
|
@@ -10841,9 +11368,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10841
11368
|
*/
|
|
10842
11369
|
async shopCategoryControllerBulkAssign(shopCategoryBulkAssignDTO, options) {
|
|
10843
11370
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerBulkAssign(shopCategoryBulkAssignDTO, options);
|
|
10844
|
-
const
|
|
10845
|
-
const
|
|
10846
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11371
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11372
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerBulkAssign']?.[index]?.url;
|
|
11373
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10847
11374
|
},
|
|
10848
11375
|
/**
|
|
10849
11376
|
* Create a new shop category Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerCreate`
|
|
@@ -10854,9 +11381,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10854
11381
|
*/
|
|
10855
11382
|
async shopCategoryControllerCreate(shopCategoryCreateDTO, options) {
|
|
10856
11383
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerCreate(shopCategoryCreateDTO, options);
|
|
10857
|
-
const
|
|
10858
|
-
const
|
|
10859
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11384
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11385
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerCreate']?.[index]?.url;
|
|
11386
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10860
11387
|
},
|
|
10861
11388
|
/**
|
|
10862
11389
|
* Get all shop categories<br> OperationId: `ShopCategoryControllerGetAll`
|
|
@@ -10867,9 +11394,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10867
11394
|
*/
|
|
10868
11395
|
async shopCategoryControllerGetAll(gameServerId, options) {
|
|
10869
11396
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerGetAll(gameServerId, options);
|
|
10870
|
-
const
|
|
10871
|
-
const
|
|
10872
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11397
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11398
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerGetAll']?.[index]?.url;
|
|
11399
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10873
11400
|
},
|
|
10874
11401
|
/**
|
|
10875
11402
|
* Get a shop category by id<br> OperationId: `ShopCategoryControllerGetOne`
|
|
@@ -10881,9 +11408,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10881
11408
|
*/
|
|
10882
11409
|
async shopCategoryControllerGetOne(id, gameServerId, options) {
|
|
10883
11410
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerGetOne(id, gameServerId, options);
|
|
10884
|
-
const
|
|
10885
|
-
const
|
|
10886
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11411
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11412
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerGetOne']?.[index]?.url;
|
|
11413
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10887
11414
|
},
|
|
10888
11415
|
/**
|
|
10889
11416
|
* Move a shop category to a different parent Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerMove`
|
|
@@ -10895,9 +11422,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10895
11422
|
*/
|
|
10896
11423
|
async shopCategoryControllerMove(id, shopCategoryMoveDTO, options) {
|
|
10897
11424
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerMove(id, shopCategoryMoveDTO, options);
|
|
10898
|
-
const
|
|
10899
|
-
const
|
|
10900
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11425
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11426
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerMove']?.[index]?.url;
|
|
11427
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10901
11428
|
},
|
|
10902
11429
|
/**
|
|
10903
11430
|
* Delete a shop category Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerRemove`
|
|
@@ -10908,9 +11435,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10908
11435
|
*/
|
|
10909
11436
|
async shopCategoryControllerRemove(id, options) {
|
|
10910
11437
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerRemove(id, options);
|
|
10911
|
-
const
|
|
10912
|
-
const
|
|
10913
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11438
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11439
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerRemove']?.[index]?.url;
|
|
11440
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10914
11441
|
},
|
|
10915
11442
|
/**
|
|
10916
11443
|
* Search shop categories<br> OperationId: `ShopCategoryControllerSearch`
|
|
@@ -10921,9 +11448,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10921
11448
|
*/
|
|
10922
11449
|
async shopCategoryControllerSearch(shopCategorySearchInputDTO, options) {
|
|
10923
11450
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerSearch(shopCategorySearchInputDTO, options);
|
|
10924
|
-
const
|
|
10925
|
-
const
|
|
10926
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11451
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11452
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerSearch']?.[index]?.url;
|
|
11453
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10927
11454
|
},
|
|
10928
11455
|
/**
|
|
10929
11456
|
* Update a shop category Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerUpdate`
|
|
@@ -10935,9 +11462,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10935
11462
|
*/
|
|
10936
11463
|
async shopCategoryControllerUpdate(id, shopCategoryUpdateDTO, options) {
|
|
10937
11464
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerUpdate(id, shopCategoryUpdateDTO, options);
|
|
10938
|
-
const
|
|
10939
|
-
const
|
|
10940
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11465
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11466
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerUpdate']?.[index]?.url;
|
|
11467
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10941
11468
|
},
|
|
10942
11469
|
};
|
|
10943
11470
|
};
|
|
@@ -11358,9 +11885,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11358
11885
|
*/
|
|
11359
11886
|
async shopListingControllerCreate(shopListingCreateDTO, options) {
|
|
11360
11887
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerCreate(shopListingCreateDTO, options);
|
|
11361
|
-
const
|
|
11362
|
-
const
|
|
11363
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11888
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11889
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerCreate']?.[index]?.url;
|
|
11890
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11364
11891
|
},
|
|
11365
11892
|
/**
|
|
11366
11893
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerDelete`
|
|
@@ -11371,9 +11898,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11371
11898
|
*/
|
|
11372
11899
|
async shopListingControllerDelete(id, options) {
|
|
11373
11900
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerDelete(id, options);
|
|
11374
|
-
const
|
|
11375
|
-
const
|
|
11376
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11901
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11902
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerDelete']?.[index]?.url;
|
|
11903
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11377
11904
|
},
|
|
11378
11905
|
/**
|
|
11379
11906
|
* <br> OperationId: `ShopListingControllerGetOne`
|
|
@@ -11384,9 +11911,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11384
11911
|
*/
|
|
11385
11912
|
async shopListingControllerGetOne(id, options) {
|
|
11386
11913
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerGetOne(id, options);
|
|
11387
|
-
const
|
|
11388
|
-
const
|
|
11389
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11914
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11915
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerGetOne']?.[index]?.url;
|
|
11916
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11390
11917
|
},
|
|
11391
11918
|
/**
|
|
11392
11919
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerImportListings`
|
|
@@ -11396,9 +11923,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11396
11923
|
*/
|
|
11397
11924
|
async shopListingControllerImportListings(options) {
|
|
11398
11925
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
11399
|
-
const
|
|
11400
|
-
const
|
|
11401
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11926
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11927
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerImportListings']?.[index]?.url;
|
|
11928
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11402
11929
|
},
|
|
11403
11930
|
/**
|
|
11404
11931
|
* Search shop listings<br> OperationId: `ShopListingControllerSearch`
|
|
@@ -11409,9 +11936,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11409
11936
|
*/
|
|
11410
11937
|
async shopListingControllerSearch(shopListingSearchInputDTO, options) {
|
|
11411
11938
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerSearch(shopListingSearchInputDTO, options);
|
|
11412
|
-
const
|
|
11413
|
-
const
|
|
11414
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11939
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11940
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerSearch']?.[index]?.url;
|
|
11941
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11415
11942
|
},
|
|
11416
11943
|
/**
|
|
11417
11944
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerUpdate`
|
|
@@ -11423,9 +11950,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11423
11950
|
*/
|
|
11424
11951
|
async shopListingControllerUpdate(id, shopListingUpdateDTO, options) {
|
|
11425
11952
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerUpdate(id, shopListingUpdateDTO, options);
|
|
11426
|
-
const
|
|
11427
|
-
const
|
|
11428
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11953
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11954
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerUpdate']?.[index]?.url;
|
|
11955
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11429
11956
|
},
|
|
11430
11957
|
};
|
|
11431
11958
|
};
|
|
@@ -11759,9 +12286,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
11759
12286
|
*/
|
|
11760
12287
|
async shopOrderControllerCancel(id, options) {
|
|
11761
12288
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
11762
|
-
const
|
|
11763
|
-
const
|
|
11764
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12289
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12290
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[index]?.url;
|
|
12291
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11765
12292
|
},
|
|
11766
12293
|
/**
|
|
11767
12294
|
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
@@ -11772,9 +12299,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
11772
12299
|
*/
|
|
11773
12300
|
async shopOrderControllerClaim(id, options) {
|
|
11774
12301
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
11775
|
-
const
|
|
11776
|
-
const
|
|
11777
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12302
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12303
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[index]?.url;
|
|
12304
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11778
12305
|
},
|
|
11779
12306
|
/**
|
|
11780
12307
|
* <br> OperationId: `ShopOrderControllerCreate`
|
|
@@ -11785,9 +12312,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
11785
12312
|
*/
|
|
11786
12313
|
async shopOrderControllerCreate(shopOrderCreateDTO, options) {
|
|
11787
12314
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCreate(shopOrderCreateDTO, options);
|
|
11788
|
-
const
|
|
11789
|
-
const
|
|
11790
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12315
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12316
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerCreate']?.[index]?.url;
|
|
12317
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11791
12318
|
},
|
|
11792
12319
|
/**
|
|
11793
12320
|
* Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
|
|
@@ -11798,9 +12325,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
11798
12325
|
*/
|
|
11799
12326
|
async shopOrderControllerGetOne(id, options) {
|
|
11800
12327
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerGetOne(id, options);
|
|
11801
|
-
const
|
|
11802
|
-
const
|
|
11803
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12328
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12329
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerGetOne']?.[index]?.url;
|
|
12330
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11804
12331
|
},
|
|
11805
12332
|
/**
|
|
11806
12333
|
* Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
|
|
@@ -11811,9 +12338,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
11811
12338
|
*/
|
|
11812
12339
|
async shopOrderControllerSearch(shopOrderSearchInputDTO, options) {
|
|
11813
12340
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerSearch(shopOrderSearchInputDTO, options);
|
|
11814
|
-
const
|
|
11815
|
-
const
|
|
11816
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12341
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12342
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerSearch']?.[index]?.url;
|
|
12343
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11817
12344
|
},
|
|
11818
12345
|
};
|
|
11819
12346
|
};
|
|
@@ -11965,8 +12492,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
11965
12492
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
11966
12493
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
11967
12494
|
* @param {string} [gameServerId]
|
|
11968
|
-
* @param {
|
|
11969
|
-
* @param {
|
|
12495
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12496
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
11970
12497
|
* @param {*} [options] Override http request option.
|
|
11971
12498
|
* @throws {RequiredError}
|
|
11972
12499
|
*/
|
|
@@ -12044,8 +12571,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12044
12571
|
* @summary Get currency stats
|
|
12045
12572
|
* @param {string} gameServerId
|
|
12046
12573
|
* @param {string} [playerId]
|
|
12047
|
-
* @param {
|
|
12048
|
-
* @param {
|
|
12574
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12575
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12049
12576
|
* @param {*} [options] Override http request option.
|
|
12050
12577
|
* @throws {RequiredError}
|
|
12051
12578
|
*/
|
|
@@ -12093,8 +12620,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12093
12620
|
* @param {string} [moduleId]
|
|
12094
12621
|
* @param {string} [playerId]
|
|
12095
12622
|
* @param {string} [userId]
|
|
12096
|
-
* @param {
|
|
12097
|
-
* @param {
|
|
12623
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12624
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12098
12625
|
* @param {*} [options] Override http request option.
|
|
12099
12626
|
* @throws {RequiredError}
|
|
12100
12627
|
*/
|
|
@@ -12153,8 +12680,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12153
12680
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
12154
12681
|
* @summary Get latency stats
|
|
12155
12682
|
* @param {string} gameServerId
|
|
12156
|
-
* @param {
|
|
12157
|
-
* @param {
|
|
12683
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12684
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12158
12685
|
* @param {*} [options] Override http request option.
|
|
12159
12686
|
* @throws {RequiredError}
|
|
12160
12687
|
*/
|
|
@@ -12194,8 +12721,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12194
12721
|
* @summary Get ping stats
|
|
12195
12722
|
* @param {string} gameServerId
|
|
12196
12723
|
* @param {string} playerId
|
|
12197
|
-
* @param {
|
|
12198
|
-
* @param {
|
|
12724
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12725
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12199
12726
|
* @param {*} [options] Override http request option.
|
|
12200
12727
|
* @throws {RequiredError}
|
|
12201
12728
|
*/
|
|
@@ -12239,8 +12766,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12239
12766
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
12240
12767
|
* @summary Get player online stats
|
|
12241
12768
|
* @param {string} [gameServerId]
|
|
12242
|
-
* @param {
|
|
12243
|
-
* @param {
|
|
12769
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12770
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12244
12771
|
* @param {*} [options] Override http request option.
|
|
12245
12772
|
* @throws {RequiredError}
|
|
12246
12773
|
*/
|
|
@@ -12288,16 +12815,16 @@ export const StatsApiFp = function (configuration) {
|
|
|
12288
12815
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
12289
12816
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
12290
12817
|
* @param {string} [gameServerId]
|
|
12291
|
-
* @param {
|
|
12292
|
-
* @param {
|
|
12818
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12819
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12293
12820
|
* @param {*} [options] Override http request option.
|
|
12294
12821
|
* @throws {RequiredError}
|
|
12295
12822
|
*/
|
|
12296
12823
|
async statsControllerGetActivityStats(timeType, dataType, gameServerId, startDate, endDate, options) {
|
|
12297
12824
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetActivityStats(timeType, dataType, gameServerId, startDate, endDate, options);
|
|
12298
|
-
const
|
|
12299
|
-
const
|
|
12300
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12825
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12826
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetActivityStats']?.[index]?.url;
|
|
12827
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12301
12828
|
},
|
|
12302
12829
|
/**
|
|
12303
12830
|
* Calculates how many players are from each country. Returns a count per country (ISO3166). Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetCountryStats`
|
|
@@ -12308,25 +12835,25 @@ export const StatsApiFp = function (configuration) {
|
|
|
12308
12835
|
*/
|
|
12309
12836
|
async statsControllerGetCountryStats(gameServerId, options) {
|
|
12310
12837
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetCountryStats(gameServerId, options);
|
|
12311
|
-
const
|
|
12312
|
-
const
|
|
12313
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12838
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12839
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetCountryStats']?.[index]?.url;
|
|
12840
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12314
12841
|
},
|
|
12315
12842
|
/**
|
|
12316
12843
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetCurrencyStats`
|
|
12317
12844
|
* @summary Get currency stats
|
|
12318
12845
|
* @param {string} gameServerId
|
|
12319
12846
|
* @param {string} [playerId]
|
|
12320
|
-
* @param {
|
|
12321
|
-
* @param {
|
|
12847
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12848
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12322
12849
|
* @param {*} [options] Override http request option.
|
|
12323
12850
|
* @throws {RequiredError}
|
|
12324
12851
|
*/
|
|
12325
12852
|
async statsControllerGetCurrencyStats(gameServerId, playerId, startDate, endDate, options) {
|
|
12326
12853
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetCurrencyStats(gameServerId, playerId, startDate, endDate, options);
|
|
12327
|
-
const
|
|
12328
|
-
const
|
|
12329
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12854
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12855
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetCurrencyStats']?.[index]?.url;
|
|
12856
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12330
12857
|
},
|
|
12331
12858
|
/**
|
|
12332
12859
|
* Calculates how many times an event type has occured over `bucketStep` time. Supports different filters and can return multiple series at a time. Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetEventsCount`
|
|
@@ -12338,62 +12865,62 @@ export const StatsApiFp = function (configuration) {
|
|
|
12338
12865
|
* @param {string} [moduleId]
|
|
12339
12866
|
* @param {string} [playerId]
|
|
12340
12867
|
* @param {string} [userId]
|
|
12341
|
-
* @param {
|
|
12342
|
-
* @param {
|
|
12868
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12869
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12343
12870
|
* @param {*} [options] Override http request option.
|
|
12344
12871
|
* @throws {RequiredError}
|
|
12345
12872
|
*/
|
|
12346
12873
|
async statsControllerGetEventsCount(eventName, bucketStep, sumBy, gameServerId, moduleId, playerId, userId, startDate, endDate, options) {
|
|
12347
12874
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetEventsCount(eventName, bucketStep, sumBy, gameServerId, moduleId, playerId, userId, startDate, endDate, options);
|
|
12348
|
-
const
|
|
12349
|
-
const
|
|
12350
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12875
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12876
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetEventsCount']?.[index]?.url;
|
|
12877
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12351
12878
|
},
|
|
12352
12879
|
/**
|
|
12353
12880
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
12354
12881
|
* @summary Get latency stats
|
|
12355
12882
|
* @param {string} gameServerId
|
|
12356
|
-
* @param {
|
|
12357
|
-
* @param {
|
|
12883
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12884
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12358
12885
|
* @param {*} [options] Override http request option.
|
|
12359
12886
|
* @throws {RequiredError}
|
|
12360
12887
|
*/
|
|
12361
12888
|
async statsControllerGetLatencyStats(gameServerId, startDate, endDate, options) {
|
|
12362
12889
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetLatencyStats(gameServerId, startDate, endDate, options);
|
|
12363
|
-
const
|
|
12364
|
-
const
|
|
12365
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12890
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12891
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetLatencyStats']?.[index]?.url;
|
|
12892
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12366
12893
|
},
|
|
12367
12894
|
/**
|
|
12368
12895
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPingStats`
|
|
12369
12896
|
* @summary Get ping stats
|
|
12370
12897
|
* @param {string} gameServerId
|
|
12371
12898
|
* @param {string} playerId
|
|
12372
|
-
* @param {
|
|
12373
|
-
* @param {
|
|
12899
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12900
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12374
12901
|
* @param {*} [options] Override http request option.
|
|
12375
12902
|
* @throws {RequiredError}
|
|
12376
12903
|
*/
|
|
12377
12904
|
async statsControllerGetPingStats(gameServerId, playerId, startDate, endDate, options) {
|
|
12378
12905
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetPingStats(gameServerId, playerId, startDate, endDate, options);
|
|
12379
|
-
const
|
|
12380
|
-
const
|
|
12381
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12906
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12907
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetPingStats']?.[index]?.url;
|
|
12908
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12382
12909
|
},
|
|
12383
12910
|
/**
|
|
12384
12911
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
12385
12912
|
* @summary Get player online stats
|
|
12386
12913
|
* @param {string} [gameServerId]
|
|
12387
|
-
* @param {
|
|
12388
|
-
* @param {
|
|
12914
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12915
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12389
12916
|
* @param {*} [options] Override http request option.
|
|
12390
12917
|
* @throws {RequiredError}
|
|
12391
12918
|
*/
|
|
12392
12919
|
async statsControllerGetPlayerOnlineStats(gameServerId, startDate, endDate, options) {
|
|
12393
12920
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetPlayerOnlineStats(gameServerId, startDate, endDate, options);
|
|
12394
|
-
const
|
|
12395
|
-
const
|
|
12396
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12921
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12922
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetPlayerOnlineStats']?.[index]?.url;
|
|
12923
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12397
12924
|
},
|
|
12398
12925
|
};
|
|
12399
12926
|
};
|
|
@@ -12410,8 +12937,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12410
12937
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
12411
12938
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
12412
12939
|
* @param {string} [gameServerId]
|
|
12413
|
-
* @param {
|
|
12414
|
-
* @param {
|
|
12940
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12941
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12415
12942
|
* @param {*} [options] Override http request option.
|
|
12416
12943
|
* @throws {RequiredError}
|
|
12417
12944
|
*/
|
|
@@ -12437,8 +12964,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12437
12964
|
* @summary Get currency stats
|
|
12438
12965
|
* @param {string} gameServerId
|
|
12439
12966
|
* @param {string} [playerId]
|
|
12440
|
-
* @param {
|
|
12441
|
-
* @param {
|
|
12967
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12968
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12442
12969
|
* @param {*} [options] Override http request option.
|
|
12443
12970
|
* @throws {RequiredError}
|
|
12444
12971
|
*/
|
|
@@ -12457,8 +12984,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12457
12984
|
* @param {string} [moduleId]
|
|
12458
12985
|
* @param {string} [playerId]
|
|
12459
12986
|
* @param {string} [userId]
|
|
12460
|
-
* @param {
|
|
12461
|
-
* @param {
|
|
12987
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12988
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12462
12989
|
* @param {*} [options] Override http request option.
|
|
12463
12990
|
* @throws {RequiredError}
|
|
12464
12991
|
*/
|
|
@@ -12471,8 +12998,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12471
12998
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
12472
12999
|
* @summary Get latency stats
|
|
12473
13000
|
* @param {string} gameServerId
|
|
12474
|
-
* @param {
|
|
12475
|
-
* @param {
|
|
13001
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13002
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12476
13003
|
* @param {*} [options] Override http request option.
|
|
12477
13004
|
* @throws {RequiredError}
|
|
12478
13005
|
*/
|
|
@@ -12486,8 +13013,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12486
13013
|
* @summary Get ping stats
|
|
12487
13014
|
* @param {string} gameServerId
|
|
12488
13015
|
* @param {string} playerId
|
|
12489
|
-
* @param {
|
|
12490
|
-
* @param {
|
|
13016
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13017
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12491
13018
|
* @param {*} [options] Override http request option.
|
|
12492
13019
|
* @throws {RequiredError}
|
|
12493
13020
|
*/
|
|
@@ -12500,8 +13027,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12500
13027
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
12501
13028
|
* @summary Get player online stats
|
|
12502
13029
|
* @param {string} [gameServerId]
|
|
12503
|
-
* @param {
|
|
12504
|
-
* @param {
|
|
13030
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13031
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12505
13032
|
* @param {*} [options] Override http request option.
|
|
12506
13033
|
* @throws {RequiredError}
|
|
12507
13034
|
*/
|
|
@@ -12525,8 +13052,8 @@ export class StatsApi extends BaseAPI {
|
|
|
12525
13052
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
12526
13053
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
12527
13054
|
* @param {string} [gameServerId]
|
|
12528
|
-
* @param {
|
|
12529
|
-
* @param {
|
|
13055
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13056
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12530
13057
|
* @param {*} [options] Override http request option.
|
|
12531
13058
|
* @throws {RequiredError}
|
|
12532
13059
|
* @memberof StatsApi
|
|
@@ -12554,8 +13081,8 @@ export class StatsApi extends BaseAPI {
|
|
|
12554
13081
|
* @summary Get currency stats
|
|
12555
13082
|
* @param {string} gameServerId
|
|
12556
13083
|
* @param {string} [playerId]
|
|
12557
|
-
* @param {
|
|
12558
|
-
* @param {
|
|
13084
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13085
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12559
13086
|
* @param {*} [options] Override http request option.
|
|
12560
13087
|
* @throws {RequiredError}
|
|
12561
13088
|
* @memberof StatsApi
|
|
@@ -12575,8 +13102,8 @@ export class StatsApi extends BaseAPI {
|
|
|
12575
13102
|
* @param {string} [moduleId]
|
|
12576
13103
|
* @param {string} [playerId]
|
|
12577
13104
|
* @param {string} [userId]
|
|
12578
|
-
* @param {
|
|
12579
|
-
* @param {
|
|
13105
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13106
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12580
13107
|
* @param {*} [options] Override http request option.
|
|
12581
13108
|
* @throws {RequiredError}
|
|
12582
13109
|
* @memberof StatsApi
|
|
@@ -12590,8 +13117,8 @@ export class StatsApi extends BaseAPI {
|
|
|
12590
13117
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
12591
13118
|
* @summary Get latency stats
|
|
12592
13119
|
* @param {string} gameServerId
|
|
12593
|
-
* @param {
|
|
12594
|
-
* @param {
|
|
13120
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13121
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12595
13122
|
* @param {*} [options] Override http request option.
|
|
12596
13123
|
* @throws {RequiredError}
|
|
12597
13124
|
* @memberof StatsApi
|
|
@@ -12606,8 +13133,8 @@ export class StatsApi extends BaseAPI {
|
|
|
12606
13133
|
* @summary Get ping stats
|
|
12607
13134
|
* @param {string} gameServerId
|
|
12608
13135
|
* @param {string} playerId
|
|
12609
|
-
* @param {
|
|
12610
|
-
* @param {
|
|
13136
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13137
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12611
13138
|
* @param {*} [options] Override http request option.
|
|
12612
13139
|
* @throws {RequiredError}
|
|
12613
13140
|
* @memberof StatsApi
|
|
@@ -12621,8 +13148,8 @@ export class StatsApi extends BaseAPI {
|
|
|
12621
13148
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
12622
13149
|
* @summary Get player online stats
|
|
12623
13150
|
* @param {string} [gameServerId]
|
|
12624
|
-
* @param {
|
|
12625
|
-
* @param {
|
|
13151
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13152
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12626
13153
|
* @param {*} [options] Override http request option.
|
|
12627
13154
|
* @throws {RequiredError}
|
|
12628
13155
|
* @memberof StatsApi
|
|
@@ -12687,6 +13214,7 @@ export const StatsControllerGetEventsCountEventNameEnum = {
|
|
|
12687
13214
|
PlayerBanned: 'player-banned',
|
|
12688
13215
|
PlayerUnbanned: 'player-unbanned',
|
|
12689
13216
|
PlayerDeleted: 'player-deleted',
|
|
13217
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
12690
13218
|
PlayerConnected: 'player-connected',
|
|
12691
13219
|
PlayerDisconnected: 'player-disconnected',
|
|
12692
13220
|
ChatMessage: 'chat-message',
|
|
@@ -12882,9 +13410,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
12882
13410
|
*/
|
|
12883
13411
|
async trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options) {
|
|
12884
13412
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options);
|
|
12885
|
-
const
|
|
12886
|
-
const
|
|
12887
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
13413
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13414
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetBoundingBoxPlayers']?.[index]?.url;
|
|
13415
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12888
13416
|
},
|
|
12889
13417
|
/**
|
|
12890
13418
|
* Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
|
|
@@ -12895,10 +13423,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
12895
13423
|
*/
|
|
12896
13424
|
async trackingControllerGetPlayerInventoryHistory(playerInventoryHistoryInputDTO, options) {
|
|
12897
13425
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPlayerInventoryHistory(playerInventoryHistoryInputDTO, options);
|
|
12898
|
-
const
|
|
12899
|
-
const
|
|
12900
|
-
|
|
12901
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13426
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13427
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetPlayerInventoryHistory']?.[index]?.url;
|
|
13428
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12902
13429
|
},
|
|
12903
13430
|
/**
|
|
12904
13431
|
* Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
|
|
@@ -12909,10 +13436,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
12909
13436
|
*/
|
|
12910
13437
|
async trackingControllerGetPlayerMovementHistory(playerMovementHistoryInputDTO, options) {
|
|
12911
13438
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPlayerMovementHistory(playerMovementHistoryInputDTO, options);
|
|
12912
|
-
const
|
|
12913
|
-
const
|
|
12914
|
-
|
|
12915
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13439
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13440
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetPlayerMovementHistory']?.[index]?.url;
|
|
13441
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12916
13442
|
},
|
|
12917
13443
|
/**
|
|
12918
13444
|
* Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
|
|
@@ -12923,9 +13449,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
12923
13449
|
*/
|
|
12924
13450
|
async trackingControllerGetPlayersByItem(playersByItemInputDTO, options) {
|
|
12925
13451
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPlayersByItem(playersByItemInputDTO, options);
|
|
12926
|
-
const
|
|
12927
|
-
const
|
|
12928
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
13452
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13453
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetPlayersByItem']?.[index]?.url;
|
|
13454
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12929
13455
|
},
|
|
12930
13456
|
/**
|
|
12931
13457
|
* Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
|
|
@@ -12936,9 +13462,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
12936
13462
|
*/
|
|
12937
13463
|
async trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options) {
|
|
12938
13464
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options);
|
|
12939
|
-
const
|
|
12940
|
-
const
|
|
12941
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
13465
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13466
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetRadiusPlayers']?.[index]?.url;
|
|
13467
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12942
13468
|
},
|
|
12943
13469
|
};
|
|
12944
13470
|
};
|
|
@@ -13523,9 +14049,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13523
14049
|
*/
|
|
13524
14050
|
async userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options) {
|
|
13525
14051
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options);
|
|
13526
|
-
const
|
|
13527
|
-
const
|
|
13528
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14052
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14053
|
+
const operationBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[index]?.url;
|
|
14054
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13529
14055
|
},
|
|
13530
14056
|
/**
|
|
13531
14057
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
@@ -13536,9 +14062,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13536
14062
|
*/
|
|
13537
14063
|
async userControllerCreate(userCreateInputDTO, options) {
|
|
13538
14064
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCreate(userCreateInputDTO, options);
|
|
13539
|
-
const
|
|
13540
|
-
const
|
|
13541
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14065
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14066
|
+
const operationBasePath = operationServerMap['UserApi.userControllerCreate']?.[index]?.url;
|
|
14067
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13542
14068
|
},
|
|
13543
14069
|
/**
|
|
13544
14070
|
* Unset the selected domain for the user, this will clear the domain cookie. On the next request, the backend will set this again.<br> OperationId: `UserControllerDeleteSelectedDomainCookie`
|
|
@@ -13548,9 +14074,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13548
14074
|
*/
|
|
13549
14075
|
async userControllerDeleteSelectedDomainCookie(options) {
|
|
13550
14076
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerDeleteSelectedDomainCookie(options);
|
|
13551
|
-
const
|
|
13552
|
-
const
|
|
13553
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14077
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14078
|
+
const operationBasePath = operationServerMap['UserApi.userControllerDeleteSelectedDomainCookie']?.[index]?.url;
|
|
14079
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13554
14080
|
},
|
|
13555
14081
|
/**
|
|
13556
14082
|
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerGetOne`
|
|
@@ -13561,9 +14087,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13561
14087
|
*/
|
|
13562
14088
|
async userControllerGetOne(id, options) {
|
|
13563
14089
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerGetOne(id, options);
|
|
13564
|
-
const
|
|
13565
|
-
const
|
|
13566
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14090
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14091
|
+
const operationBasePath = operationServerMap['UserApi.userControllerGetOne']?.[index]?.url;
|
|
14092
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13567
14093
|
},
|
|
13568
14094
|
/**
|
|
13569
14095
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerInvite`
|
|
@@ -13574,9 +14100,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13574
14100
|
*/
|
|
13575
14101
|
async userControllerInvite(inviteCreateDTO, options) {
|
|
13576
14102
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerInvite(inviteCreateDTO, options);
|
|
13577
|
-
const
|
|
13578
|
-
const
|
|
13579
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14103
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14104
|
+
const operationBasePath = operationServerMap['UserApi.userControllerInvite']?.[index]?.url;
|
|
14105
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13580
14106
|
},
|
|
13581
14107
|
/**
|
|
13582
14108
|
* Link your player profile to Takaro, allowing web access for things like shop and stats. To get the code, use the /link command in the game.<br> OperationId: `UserControllerLinkPlayerProfile`
|
|
@@ -13587,9 +14113,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13587
14113
|
*/
|
|
13588
14114
|
async userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options) {
|
|
13589
14115
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options);
|
|
13590
|
-
const
|
|
13591
|
-
const
|
|
13592
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14116
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14117
|
+
const operationBasePath = operationServerMap['UserApi.userControllerLinkPlayerProfile']?.[index]?.url;
|
|
14118
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13593
14119
|
},
|
|
13594
14120
|
/**
|
|
13595
14121
|
* <br> OperationId: `UserControllerLogin`
|
|
@@ -13600,9 +14126,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13600
14126
|
*/
|
|
13601
14127
|
async userControllerLogin(loginDTO, options) {
|
|
13602
14128
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerLogin(loginDTO, options);
|
|
13603
|
-
const
|
|
13604
|
-
const
|
|
13605
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14129
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14130
|
+
const operationBasePath = operationServerMap['UserApi.userControllerLogin']?.[index]?.url;
|
|
14131
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13606
14132
|
},
|
|
13607
14133
|
/**
|
|
13608
14134
|
* <br> OperationId: `UserControllerLogout`
|
|
@@ -13612,9 +14138,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13612
14138
|
*/
|
|
13613
14139
|
async userControllerLogout(options) {
|
|
13614
14140
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerLogout(options);
|
|
13615
|
-
const
|
|
13616
|
-
const
|
|
13617
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14141
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14142
|
+
const operationBasePath = operationServerMap['UserApi.userControllerLogout']?.[index]?.url;
|
|
14143
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13618
14144
|
},
|
|
13619
14145
|
/**
|
|
13620
14146
|
* Get the current user and the domains that the user has access to. Note that you can only make requests in the scope of a single domain. In order to switch the domain, you need to use the domain selection endpoints<br> OperationId: `UserControllerMe`
|
|
@@ -13624,9 +14150,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13624
14150
|
*/
|
|
13625
14151
|
async userControllerMe(options) {
|
|
13626
14152
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerMe(options);
|
|
13627
|
-
const
|
|
13628
|
-
const
|
|
13629
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14153
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14154
|
+
const operationBasePath = operationServerMap['UserApi.userControllerMe']?.[index]?.url;
|
|
14155
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13630
14156
|
},
|
|
13631
14157
|
/**
|
|
13632
14158
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerRemove`
|
|
@@ -13637,9 +14163,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13637
14163
|
*/
|
|
13638
14164
|
async userControllerRemove(id, options) {
|
|
13639
14165
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerRemove(id, options);
|
|
13640
|
-
const
|
|
13641
|
-
const
|
|
13642
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14166
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14167
|
+
const operationBasePath = operationServerMap['UserApi.userControllerRemove']?.[index]?.url;
|
|
14168
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13643
14169
|
},
|
|
13644
14170
|
/**
|
|
13645
14171
|
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `UserControllerRemoveRole`
|
|
@@ -13651,9 +14177,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13651
14177
|
*/
|
|
13652
14178
|
async userControllerRemoveRole(id, roleId, options) {
|
|
13653
14179
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerRemoveRole(id, roleId, options);
|
|
13654
|
-
const
|
|
13655
|
-
const
|
|
13656
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14180
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14181
|
+
const operationBasePath = operationServerMap['UserApi.userControllerRemoveRole']?.[index]?.url;
|
|
14182
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13657
14183
|
},
|
|
13658
14184
|
/**
|
|
13659
14185
|
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerSearch`
|
|
@@ -13664,9 +14190,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13664
14190
|
*/
|
|
13665
14191
|
async userControllerSearch(userSearchInputDTO, options) {
|
|
13666
14192
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerSearch(userSearchInputDTO, options);
|
|
13667
|
-
const
|
|
13668
|
-
const
|
|
13669
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14193
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14194
|
+
const operationBasePath = operationServerMap['UserApi.userControllerSearch']?.[index]?.url;
|
|
14195
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13670
14196
|
},
|
|
13671
14197
|
/**
|
|
13672
14198
|
* One user can have multiple domains, this endpoint is a helper to set the selected domain for the user<br> OperationId: `UserControllerSetSelectedDomain`
|
|
@@ -13677,9 +14203,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13677
14203
|
*/
|
|
13678
14204
|
async userControllerSetSelectedDomain(domainId, options) {
|
|
13679
14205
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerSetSelectedDomain(domainId, options);
|
|
13680
|
-
const
|
|
13681
|
-
const
|
|
13682
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14206
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14207
|
+
const operationBasePath = operationServerMap['UserApi.userControllerSetSelectedDomain']?.[index]?.url;
|
|
14208
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13683
14209
|
},
|
|
13684
14210
|
/**
|
|
13685
14211
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerUpdate`
|
|
@@ -13691,9 +14217,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13691
14217
|
*/
|
|
13692
14218
|
async userControllerUpdate(id, userUpdateDTO, options) {
|
|
13693
14219
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerUpdate(id, userUpdateDTO, options);
|
|
13694
|
-
const
|
|
13695
|
-
const
|
|
13696
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14220
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14221
|
+
const operationBasePath = operationServerMap['UserApi.userControllerUpdate']?.[index]?.url;
|
|
14222
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13697
14223
|
},
|
|
13698
14224
|
};
|
|
13699
14225
|
};
|
|
@@ -14214,9 +14740,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14214
14740
|
*/
|
|
14215
14741
|
async variableControllerCreate(variableCreateDTO, options) {
|
|
14216
14742
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerCreate(variableCreateDTO, options);
|
|
14217
|
-
const
|
|
14218
|
-
const
|
|
14219
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14743
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14744
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerCreate']?.[index]?.url;
|
|
14745
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14220
14746
|
},
|
|
14221
14747
|
/**
|
|
14222
14748
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerDelete`
|
|
@@ -14227,9 +14753,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14227
14753
|
*/
|
|
14228
14754
|
async variableControllerDelete(id, options) {
|
|
14229
14755
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerDelete(id, options);
|
|
14230
|
-
const
|
|
14231
|
-
const
|
|
14232
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14756
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14757
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerDelete']?.[index]?.url;
|
|
14758
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14233
14759
|
},
|
|
14234
14760
|
/**
|
|
14235
14761
|
* Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerFindOne`
|
|
@@ -14240,9 +14766,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14240
14766
|
*/
|
|
14241
14767
|
async variableControllerFindOne(id, options) {
|
|
14242
14768
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerFindOne(id, options);
|
|
14243
|
-
const
|
|
14244
|
-
const
|
|
14245
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14769
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14770
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerFindOne']?.[index]?.url;
|
|
14771
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14246
14772
|
},
|
|
14247
14773
|
/**
|
|
14248
14774
|
* Search variables Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerSearch`
|
|
@@ -14253,9 +14779,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14253
14779
|
*/
|
|
14254
14780
|
async variableControllerSearch(variableSearchInputDTO, options) {
|
|
14255
14781
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerSearch(variableSearchInputDTO, options);
|
|
14256
|
-
const
|
|
14257
|
-
const
|
|
14258
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14782
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14783
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerSearch']?.[index]?.url;
|
|
14784
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14259
14785
|
},
|
|
14260
14786
|
/**
|
|
14261
14787
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerUpdate`
|
|
@@ -14267,9 +14793,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14267
14793
|
*/
|
|
14268
14794
|
async variableControllerUpdate(id, variableUpdateDTO, options) {
|
|
14269
14795
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerUpdate(id, variableUpdateDTO, options);
|
|
14270
|
-
const
|
|
14271
|
-
const
|
|
14272
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14796
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14797
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerUpdate']?.[index]?.url;
|
|
14798
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14273
14799
|
},
|
|
14274
14800
|
};
|
|
14275
14801
|
};
|