@takaro/apiclient 0.0.0-dev.fc39ea2 → 0.0.0-next.09a4350
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 +1256 -432
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +1146 -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 +2 -2
- package/dist/generated/configuration.js.map +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 +2315 -1349
- package/src/generated/base.ts +1 -1
- package/src/generated/common.ts +1 -1
- package/src/generated/configuration.ts +2 -2
- 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,8 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
141
141
|
PlayerBanned: 'player-banned',
|
|
142
142
|
PlayerUnbanned: 'player-unbanned',
|
|
143
143
|
PlayerDeleted: 'player-deleted',
|
|
144
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
145
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
144
146
|
PlayerConnected: 'player-connected',
|
|
145
147
|
PlayerDisconnected: 'player-disconnected',
|
|
146
148
|
ChatMessage: 'chat-message',
|
|
@@ -183,6 +185,8 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
183
185
|
PlayerBanned: 'player-banned',
|
|
184
186
|
PlayerUnbanned: 'player-unbanned',
|
|
185
187
|
PlayerDeleted: 'player-deleted',
|
|
188
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
189
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
186
190
|
PlayerConnected: 'player-connected',
|
|
187
191
|
PlayerDisconnected: 'player-disconnected',
|
|
188
192
|
ChatMessage: 'chat-message',
|
|
@@ -225,6 +229,8 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
225
229
|
PlayerBanned: 'player-banned',
|
|
226
230
|
PlayerUnbanned: 'player-unbanned',
|
|
227
231
|
PlayerDeleted: 'player-deleted',
|
|
232
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
233
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
228
234
|
PlayerConnected: 'player-connected',
|
|
229
235
|
PlayerDisconnected: 'player-disconnected',
|
|
230
236
|
ChatMessage: 'chat-message',
|
|
@@ -277,6 +283,8 @@ export const EventsCountInputDTOEventNameEnum = {
|
|
|
277
283
|
PlayerBanned: 'player-banned',
|
|
278
284
|
PlayerUnbanned: 'player-unbanned',
|
|
279
285
|
PlayerDeleted: 'player-deleted',
|
|
286
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
287
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
280
288
|
PlayerConnected: 'player-connected',
|
|
281
289
|
PlayerDisconnected: 'player-disconnected',
|
|
282
290
|
ChatMessage: 'chat-message',
|
|
@@ -424,6 +432,8 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
424
432
|
PlayerBanned: 'player-banned',
|
|
425
433
|
PlayerUnbanned: 'player-unbanned',
|
|
426
434
|
PlayerDeleted: 'player-deleted',
|
|
435
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
436
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
427
437
|
};
|
|
428
438
|
export const HookOutputDTOEventTypeEnum = {
|
|
429
439
|
Log: 'log',
|
|
@@ -468,6 +478,8 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
468
478
|
PlayerBanned: 'player-banned',
|
|
469
479
|
PlayerUnbanned: 'player-unbanned',
|
|
470
480
|
PlayerDeleted: 'player-deleted',
|
|
481
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
482
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
471
483
|
};
|
|
472
484
|
export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
473
485
|
Log: 'log',
|
|
@@ -512,6 +524,8 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
512
524
|
PlayerBanned: 'player-banned',
|
|
513
525
|
PlayerUnbanned: 'player-unbanned',
|
|
514
526
|
PlayerDeleted: 'player-deleted',
|
|
527
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
528
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
515
529
|
};
|
|
516
530
|
export const HookSearchInputDTOExtendEnum = {
|
|
517
531
|
Module: 'module',
|
|
@@ -564,6 +578,8 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
564
578
|
PlayerBanned: 'player-banned',
|
|
565
579
|
PlayerUnbanned: 'player-unbanned',
|
|
566
580
|
PlayerDeleted: 'player-deleted',
|
|
581
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
582
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
567
583
|
};
|
|
568
584
|
export const HookUpdateDTOEventTypeEnum = {
|
|
569
585
|
Log: 'log',
|
|
@@ -608,6 +624,8 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
608
624
|
PlayerBanned: 'player-banned',
|
|
609
625
|
PlayerUnbanned: 'player-unbanned',
|
|
610
626
|
PlayerDeleted: 'player-deleted',
|
|
627
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
628
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
611
629
|
};
|
|
612
630
|
export const IEntityDTOTypeEnum = {
|
|
613
631
|
Hostile: 'hostile',
|
|
@@ -657,6 +675,8 @@ export const IHookEventTypeEnum = {
|
|
|
657
675
|
PlayerBanned: 'player-banned',
|
|
658
676
|
PlayerUnbanned: 'player-unbanned',
|
|
659
677
|
PlayerDeleted: 'player-deleted',
|
|
678
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
679
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
660
680
|
};
|
|
661
681
|
export const ITakaroQuerySortDirectionEnum = {
|
|
662
682
|
Asc: 'asc',
|
|
@@ -789,6 +809,10 @@ export const SettingsOutputDTOTypeEnum = {
|
|
|
789
809
|
Global: 'global',
|
|
790
810
|
Default: 'default',
|
|
791
811
|
};
|
|
812
|
+
export const ShopActionSearchInputDTOSortDirectionEnum = {
|
|
813
|
+
Asc: 'asc',
|
|
814
|
+
Desc: 'desc',
|
|
815
|
+
};
|
|
792
816
|
export const ShopAnalyticsQueryDTOPeriodEnum = {
|
|
793
817
|
Last24Hours: 'last24Hours',
|
|
794
818
|
Last7Days: 'last7Days',
|
|
@@ -827,6 +851,11 @@ export const ShopOrderUpdateDTOStatusEnum = {
|
|
|
827
851
|
Paid: 'PAID',
|
|
828
852
|
Canceled: 'CANCELED',
|
|
829
853
|
};
|
|
854
|
+
export const TakaroEventPlayerInventoryChangedChangeTypeEnum = {
|
|
855
|
+
Added: 'added',
|
|
856
|
+
Removed: 'removed',
|
|
857
|
+
Changed: 'changed',
|
|
858
|
+
};
|
|
830
859
|
export const UserSearchInputDTOExtendEnum = {
|
|
831
860
|
Roles: 'roles',
|
|
832
861
|
};
|
|
@@ -902,9 +931,9 @@ export const AnalyticsApiFp = function (configuration) {
|
|
|
902
931
|
*/
|
|
903
932
|
async analyticsControllerGetShopAnalytics(gameServerIds, period, options) {
|
|
904
933
|
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetShopAnalytics(gameServerIds, period, options);
|
|
905
|
-
const
|
|
906
|
-
const
|
|
907
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
934
|
+
const index = configuration?.serverIndex ?? 0;
|
|
935
|
+
const operationBasePath = operationServerMap['AnalyticsApi.analyticsControllerGetShopAnalytics']?.[index]?.url;
|
|
936
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
908
937
|
},
|
|
909
938
|
};
|
|
910
939
|
};
|
|
@@ -1293,9 +1322,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1293
1322
|
*/
|
|
1294
1323
|
async commandControllerCreate(commandCreateDTO, options) {
|
|
1295
1324
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreate(commandCreateDTO, options);
|
|
1296
|
-
const
|
|
1297
|
-
const
|
|
1298
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1325
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1326
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerCreate']?.[index]?.url;
|
|
1327
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1299
1328
|
},
|
|
1300
1329
|
/**
|
|
1301
1330
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerCreateArgument`
|
|
@@ -1306,9 +1335,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1306
1335
|
*/
|
|
1307
1336
|
async commandControllerCreateArgument(commandArgumentCreateDTO, options) {
|
|
1308
1337
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerCreateArgument(commandArgumentCreateDTO, options);
|
|
1309
|
-
const
|
|
1310
|
-
const
|
|
1311
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1338
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1339
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerCreateArgument']?.[index]?.url;
|
|
1340
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1312
1341
|
},
|
|
1313
1342
|
/**
|
|
1314
1343
|
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetExecutions`
|
|
@@ -1321,9 +1350,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1321
1350
|
*/
|
|
1322
1351
|
async commandControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
1323
1352
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
1324
|
-
const
|
|
1325
|
-
const
|
|
1326
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1353
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1354
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerGetExecutions']?.[index]?.url;
|
|
1355
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1327
1356
|
},
|
|
1328
1357
|
/**
|
|
1329
1358
|
* Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerGetOne`
|
|
@@ -1334,9 +1363,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1334
1363
|
*/
|
|
1335
1364
|
async commandControllerGetOne(id, options) {
|
|
1336
1365
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerGetOne(id, options);
|
|
1337
|
-
const
|
|
1338
|
-
const
|
|
1339
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1366
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1367
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerGetOne']?.[index]?.url;
|
|
1368
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1340
1369
|
},
|
|
1341
1370
|
/**
|
|
1342
1371
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemove`
|
|
@@ -1347,9 +1376,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1347
1376
|
*/
|
|
1348
1377
|
async commandControllerRemove(id, options) {
|
|
1349
1378
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemove(id, options);
|
|
1350
|
-
const
|
|
1351
|
-
const
|
|
1352
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1379
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1380
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerRemove']?.[index]?.url;
|
|
1381
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1353
1382
|
},
|
|
1354
1383
|
/**
|
|
1355
1384
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerRemoveArgument`
|
|
@@ -1360,9 +1389,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1360
1389
|
*/
|
|
1361
1390
|
async commandControllerRemoveArgument(id, options) {
|
|
1362
1391
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerRemoveArgument(id, options);
|
|
1363
|
-
const
|
|
1364
|
-
const
|
|
1365
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1392
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1393
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerRemoveArgument']?.[index]?.url;
|
|
1394
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1366
1395
|
},
|
|
1367
1396
|
/**
|
|
1368
1397
|
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
@@ -1373,9 +1402,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1373
1402
|
*/
|
|
1374
1403
|
async commandControllerSearch(commandSearchInputDTO, options) {
|
|
1375
1404
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerSearch(commandSearchInputDTO, options);
|
|
1376
|
-
const
|
|
1377
|
-
const
|
|
1378
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1405
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1406
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerSearch']?.[index]?.url;
|
|
1407
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1379
1408
|
},
|
|
1380
1409
|
/**
|
|
1381
1410
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerTrigger`
|
|
@@ -1387,9 +1416,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1387
1416
|
*/
|
|
1388
1417
|
async commandControllerTrigger(id, commandTriggerDTO, options) {
|
|
1389
1418
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerTrigger(id, commandTriggerDTO, options);
|
|
1390
|
-
const
|
|
1391
|
-
const
|
|
1392
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1419
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1420
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerTrigger']?.[index]?.url;
|
|
1421
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1393
1422
|
},
|
|
1394
1423
|
/**
|
|
1395
1424
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdate`
|
|
@@ -1401,9 +1430,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1401
1430
|
*/
|
|
1402
1431
|
async commandControllerUpdate(id, commandUpdateDTO, options) {
|
|
1403
1432
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerUpdate(id, commandUpdateDTO, options);
|
|
1404
|
-
const
|
|
1405
|
-
const
|
|
1406
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1433
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1434
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerUpdate']?.[index]?.url;
|
|
1435
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1407
1436
|
},
|
|
1408
1437
|
/**
|
|
1409
1438
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CommandControllerUpdateArgument`
|
|
@@ -1415,9 +1444,9 @@ export const CommandApiFp = function (configuration) {
|
|
|
1415
1444
|
*/
|
|
1416
1445
|
async commandControllerUpdateArgument(id, commandArgumentUpdateDTO, options) {
|
|
1417
1446
|
const localVarAxiosArgs = await localVarAxiosParamCreator.commandControllerUpdateArgument(id, commandArgumentUpdateDTO, options);
|
|
1418
|
-
const
|
|
1419
|
-
const
|
|
1420
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1447
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1448
|
+
const operationBasePath = operationServerMap['CommandApi.commandControllerUpdateArgument']?.[index]?.url;
|
|
1449
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1421
1450
|
},
|
|
1422
1451
|
};
|
|
1423
1452
|
};
|
|
@@ -1929,9 +1958,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1929
1958
|
*/
|
|
1930
1959
|
async cronJobControllerCreate(cronJobCreateDTO, options) {
|
|
1931
1960
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerCreate(cronJobCreateDTO, options);
|
|
1932
|
-
const
|
|
1933
|
-
const
|
|
1934
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1961
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1962
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerCreate']?.[index]?.url;
|
|
1963
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1935
1964
|
},
|
|
1936
1965
|
/**
|
|
1937
1966
|
* Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetExecutions`
|
|
@@ -1944,9 +1973,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1944
1973
|
*/
|
|
1945
1974
|
async cronJobControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
1946
1975
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
1947
|
-
const
|
|
1948
|
-
const
|
|
1949
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1976
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1977
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerGetExecutions']?.[index]?.url;
|
|
1978
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1950
1979
|
},
|
|
1951
1980
|
/**
|
|
1952
1981
|
* Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetOne`
|
|
@@ -1957,9 +1986,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1957
1986
|
*/
|
|
1958
1987
|
async cronJobControllerGetOne(id, options) {
|
|
1959
1988
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerGetOne(id, options);
|
|
1960
|
-
const
|
|
1961
|
-
const
|
|
1962
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
1989
|
+
const index = configuration?.serverIndex ?? 0;
|
|
1990
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerGetOne']?.[index]?.url;
|
|
1991
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1963
1992
|
},
|
|
1964
1993
|
/**
|
|
1965
1994
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerRemove`
|
|
@@ -1970,9 +1999,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1970
1999
|
*/
|
|
1971
2000
|
async cronJobControllerRemove(id, options) {
|
|
1972
2001
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerRemove(id, options);
|
|
1973
|
-
const
|
|
1974
|
-
const
|
|
1975
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2002
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2003
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerRemove']?.[index]?.url;
|
|
2004
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1976
2005
|
},
|
|
1977
2006
|
/**
|
|
1978
2007
|
* Search cronjobs Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
@@ -1983,9 +2012,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1983
2012
|
*/
|
|
1984
2013
|
async cronJobControllerSearch(cronJobSearchInputDTO, options) {
|
|
1985
2014
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerSearch(cronJobSearchInputDTO, options);
|
|
1986
|
-
const
|
|
1987
|
-
const
|
|
1988
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2015
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2016
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerSearch']?.[index]?.url;
|
|
2017
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
1989
2018
|
},
|
|
1990
2019
|
/**
|
|
1991
2020
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerTrigger`
|
|
@@ -1996,9 +2025,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1996
2025
|
*/
|
|
1997
2026
|
async cronJobControllerTrigger(cronJobTriggerDTO, options) {
|
|
1998
2027
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerTrigger(cronJobTriggerDTO, options);
|
|
1999
|
-
const
|
|
2000
|
-
const
|
|
2001
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2028
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2029
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerTrigger']?.[index]?.url;
|
|
2030
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2002
2031
|
},
|
|
2003
2032
|
/**
|
|
2004
2033
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerUpdate`
|
|
@@ -2010,9 +2039,9 @@ export const CronJobApiFp = function (configuration) {
|
|
|
2010
2039
|
*/
|
|
2011
2040
|
async cronJobControllerUpdate(id, cronJobUpdateDTO, options) {
|
|
2012
2041
|
const localVarAxiosArgs = await localVarAxiosParamCreator.cronJobControllerUpdate(id, cronJobUpdateDTO, options);
|
|
2013
|
-
const
|
|
2014
|
-
const
|
|
2015
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2042
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2043
|
+
const operationBasePath = operationServerMap['CronJobApi.cronJobControllerUpdate']?.[index]?.url;
|
|
2044
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2016
2045
|
},
|
|
2017
2046
|
};
|
|
2018
2047
|
};
|
|
@@ -2473,9 +2502,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2473
2502
|
*/
|
|
2474
2503
|
async discordControllerDeleteMessage(channelId, messageId, options) {
|
|
2475
2504
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerDeleteMessage(channelId, messageId, options);
|
|
2476
|
-
const
|
|
2477
|
-
const
|
|
2478
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2505
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2506
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerDeleteMessage']?.[index]?.url;
|
|
2507
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2479
2508
|
},
|
|
2480
2509
|
/**
|
|
2481
2510
|
* Retrieve all channels (text, voice, etc.) in a specific Discord guild. Useful for selecting channels for notifications or commands. Required permissions: `VIEW_DISCORD_INFO`<br> OperationId: `DiscordControllerGetChannels`
|
|
@@ -2486,9 +2515,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2486
2515
|
*/
|
|
2487
2516
|
async discordControllerGetChannels(id, options) {
|
|
2488
2517
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerGetChannels(id, options);
|
|
2489
|
-
const
|
|
2490
|
-
const
|
|
2491
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2518
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2519
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerGetChannels']?.[index]?.url;
|
|
2520
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2492
2521
|
},
|
|
2493
2522
|
/**
|
|
2494
2523
|
* 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 +2527,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2498
2527
|
*/
|
|
2499
2528
|
async discordControllerGetInvite(options) {
|
|
2500
2529
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerGetInvite(options);
|
|
2501
|
-
const
|
|
2502
|
-
const
|
|
2503
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2530
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2531
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerGetInvite']?.[index]?.url;
|
|
2532
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2504
2533
|
},
|
|
2505
2534
|
/**
|
|
2506
2535
|
* Retrieve all roles available in a specific Discord guild. Useful for role-based integrations and permissions mapping. Required permissions: `VIEW_DISCORD_INFO`<br> OperationId: `DiscordControllerGetRoles`
|
|
@@ -2511,9 +2540,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2511
2540
|
*/
|
|
2512
2541
|
async discordControllerGetRoles(id, options) {
|
|
2513
2542
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerGetRoles(id, options);
|
|
2514
|
-
const
|
|
2515
|
-
const
|
|
2516
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2543
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2544
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerGetRoles']?.[index]?.url;
|
|
2545
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2517
2546
|
},
|
|
2518
2547
|
/**
|
|
2519
2548
|
* Search for Discord guilds (servers) that the bot has access to. Supports filtering by name, Discord ID, and whether Takaro is enabled. Required permissions: `VIEW_DISCORD_INFO`<br> OperationId: `DiscordControllerSearch`
|
|
@@ -2524,9 +2553,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2524
2553
|
*/
|
|
2525
2554
|
async discordControllerSearch(guildSearchInputDTO, options) {
|
|
2526
2555
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerSearch(guildSearchInputDTO, options);
|
|
2527
|
-
const
|
|
2528
|
-
const
|
|
2529
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2556
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2557
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerSearch']?.[index]?.url;
|
|
2558
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2530
2559
|
},
|
|
2531
2560
|
/**
|
|
2532
2561
|
* Send a text message or rich embed to a specific Discord channel. Requires the bot to have appropriate permissions in the channel. Required permissions: `SEND_DISCORD_MESSAGE`<br> OperationId: `DiscordControllerSendMessage`
|
|
@@ -2538,9 +2567,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2538
2567
|
*/
|
|
2539
2568
|
async discordControllerSendMessage(id, sendMessageInputDTO, options) {
|
|
2540
2569
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerSendMessage(id, sendMessageInputDTO, options);
|
|
2541
|
-
const
|
|
2542
|
-
const
|
|
2543
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2570
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2571
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerSendMessage']?.[index]?.url;
|
|
2572
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2544
2573
|
},
|
|
2545
2574
|
/**
|
|
2546
2575
|
* Update Takaro-specific settings for a Discord guild, such as enabling or disabling Takaro features. Required permissions: `MANAGE_SETTINGS`<br> OperationId: `DiscordControllerUpdateGuild`
|
|
@@ -2552,9 +2581,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2552
2581
|
*/
|
|
2553
2582
|
async discordControllerUpdateGuild(id, guildApiUpdateDTO, options) {
|
|
2554
2583
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerUpdateGuild(id, guildApiUpdateDTO, options);
|
|
2555
|
-
const
|
|
2556
|
-
const
|
|
2557
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2584
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2585
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerUpdateGuild']?.[index]?.url;
|
|
2586
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2558
2587
|
},
|
|
2559
2588
|
/**
|
|
2560
2589
|
* Update an existing Discord message with new content or embed. Requires the bot to have sent the original message. Required permissions: `SEND_DISCORD_MESSAGE`<br> OperationId: `DiscordControllerUpdateMessage`
|
|
@@ -2567,9 +2596,9 @@ export const DiscordApiFp = function (configuration) {
|
|
|
2567
2596
|
*/
|
|
2568
2597
|
async discordControllerUpdateMessage(channelId, messageId, sendMessageInputDTO, options) {
|
|
2569
2598
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerUpdateMessage(channelId, messageId, sendMessageInputDTO, options);
|
|
2570
|
-
const
|
|
2571
|
-
const
|
|
2572
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
2599
|
+
const index = configuration?.serverIndex ?? 0;
|
|
2600
|
+
const operationBasePath = operationServerMap['DiscordApi.discordControllerUpdateMessage']?.[index]?.url;
|
|
2601
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
2573
2602
|
},
|
|
2574
2603
|
};
|
|
2575
2604
|
};
|
|
@@ -3035,9 +3064,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3035
3064
|
*/
|
|
3036
3065
|
async domainControllerCreate(domainCreateInputDTO, options) {
|
|
3037
3066
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerCreate(domainCreateInputDTO, options);
|
|
3038
|
-
const
|
|
3039
|
-
const
|
|
3040
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3067
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3068
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerCreate']?.[index]?.url;
|
|
3069
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3041
3070
|
},
|
|
3042
3071
|
/**
|
|
3043
3072
|
* <br> OperationId: `DomainControllerGetOne`
|
|
@@ -3048,9 +3077,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3048
3077
|
*/
|
|
3049
3078
|
async domainControllerGetOne(id, options) {
|
|
3050
3079
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerGetOne(id, options);
|
|
3051
|
-
const
|
|
3052
|
-
const
|
|
3053
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3080
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3081
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerGetOne']?.[index]?.url;
|
|
3082
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3054
3083
|
},
|
|
3055
3084
|
/**
|
|
3056
3085
|
* <br> OperationId: `DomainControllerGetToken`
|
|
@@ -3061,9 +3090,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3061
3090
|
*/
|
|
3062
3091
|
async domainControllerGetToken(tokenInputDTO, options) {
|
|
3063
3092
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerGetToken(tokenInputDTO, options);
|
|
3064
|
-
const
|
|
3065
|
-
const
|
|
3066
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3093
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3094
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerGetToken']?.[index]?.url;
|
|
3095
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3067
3096
|
},
|
|
3068
3097
|
/**
|
|
3069
3098
|
* <br> OperationId: `DomainControllerRemove`
|
|
@@ -3075,9 +3104,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3075
3104
|
*/
|
|
3076
3105
|
async domainControllerRemove(id, hardDelete, options) {
|
|
3077
3106
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerRemove(id, hardDelete, options);
|
|
3078
|
-
const
|
|
3079
|
-
const
|
|
3080
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3107
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3108
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerRemove']?.[index]?.url;
|
|
3109
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3081
3110
|
},
|
|
3082
3111
|
/**
|
|
3083
3112
|
* <br> OperationId: `DomainControllerResolveRegistrationToken`
|
|
@@ -3088,9 +3117,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3088
3117
|
*/
|
|
3089
3118
|
async domainControllerResolveRegistrationToken(resolveRegistrationTokenInputDTO, options) {
|
|
3090
3119
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerResolveRegistrationToken(resolveRegistrationTokenInputDTO, options);
|
|
3091
|
-
const
|
|
3092
|
-
const
|
|
3093
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3120
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3121
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerResolveRegistrationToken']?.[index]?.url;
|
|
3122
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3094
3123
|
},
|
|
3095
3124
|
/**
|
|
3096
3125
|
* <br> OperationId: `DomainControllerSearch`
|
|
@@ -3101,9 +3130,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3101
3130
|
*/
|
|
3102
3131
|
async domainControllerSearch(domainSearchInputDTO, options) {
|
|
3103
3132
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerSearch(domainSearchInputDTO, options);
|
|
3104
|
-
const
|
|
3105
|
-
const
|
|
3106
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3133
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3134
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerSearch']?.[index]?.url;
|
|
3135
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3107
3136
|
},
|
|
3108
3137
|
/**
|
|
3109
3138
|
* <br> OperationId: `DomainControllerUpdate`
|
|
@@ -3115,9 +3144,9 @@ export const DomainApiFp = function (configuration) {
|
|
|
3115
3144
|
*/
|
|
3116
3145
|
async domainControllerUpdate(id, domainUpdateInputDTO, options) {
|
|
3117
3146
|
const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerUpdate(id, domainUpdateInputDTO, options);
|
|
3118
|
-
const
|
|
3119
|
-
const
|
|
3120
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3147
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3148
|
+
const operationBasePath = operationServerMap['DomainApi.domainControllerUpdate']?.[index]?.url;
|
|
3149
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3121
3150
|
},
|
|
3122
3151
|
};
|
|
3123
3152
|
};
|
|
@@ -3393,9 +3422,9 @@ export const EntityApiFp = function (configuration) {
|
|
|
3393
3422
|
*/
|
|
3394
3423
|
async entityControllerFindOne(id, options) {
|
|
3395
3424
|
const localVarAxiosArgs = await localVarAxiosParamCreator.entityControllerFindOne(id, options);
|
|
3396
|
-
const
|
|
3397
|
-
const
|
|
3398
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3425
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3426
|
+
const operationBasePath = operationServerMap['EntityApi.entityControllerFindOne']?.[index]?.url;
|
|
3427
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3399
3428
|
},
|
|
3400
3429
|
/**
|
|
3401
3430
|
* Required permissions: `READ_ENTITIES`<br> OperationId: `EntityControllerSearch`
|
|
@@ -3406,9 +3435,9 @@ export const EntityApiFp = function (configuration) {
|
|
|
3406
3435
|
*/
|
|
3407
3436
|
async entityControllerSearch(entitySearchInputDTO, options) {
|
|
3408
3437
|
const localVarAxiosArgs = await localVarAxiosParamCreator.entityControllerSearch(entitySearchInputDTO, options);
|
|
3409
|
-
const
|
|
3410
|
-
const
|
|
3411
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3438
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3439
|
+
const operationBasePath = operationServerMap['EntityApi.entityControllerSearch']?.[index]?.url;
|
|
3440
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3412
3441
|
},
|
|
3413
3442
|
};
|
|
3414
3443
|
};
|
|
@@ -3646,9 +3675,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3646
3675
|
*/
|
|
3647
3676
|
async eventControllerCreate(eventCreateDTO, options) {
|
|
3648
3677
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerCreate(eventCreateDTO, options);
|
|
3649
|
-
const
|
|
3650
|
-
const
|
|
3651
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3678
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3679
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerCreate']?.[index]?.url;
|
|
3680
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3652
3681
|
},
|
|
3653
3682
|
/**
|
|
3654
3683
|
* Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
|
|
@@ -3659,9 +3688,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3659
3688
|
*/
|
|
3660
3689
|
async eventControllerExport(eventSearchInputDTO, options) {
|
|
3661
3690
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExport(eventSearchInputDTO, options);
|
|
3662
|
-
const
|
|
3663
|
-
const
|
|
3664
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3691
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3692
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerExport']?.[index]?.url;
|
|
3693
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3665
3694
|
},
|
|
3666
3695
|
/**
|
|
3667
3696
|
* 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 +3701,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3672
3701
|
*/
|
|
3673
3702
|
async eventControllerGetFailedFunctions(eventSearchInputDTO, options) {
|
|
3674
3703
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerGetFailedFunctions(eventSearchInputDTO, options);
|
|
3675
|
-
const
|
|
3676
|
-
const
|
|
3677
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3704
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3705
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerGetFailedFunctions']?.[index]?.url;
|
|
3706
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3678
3707
|
},
|
|
3679
3708
|
/**
|
|
3680
3709
|
* Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerGetOne`
|
|
@@ -3685,9 +3714,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3685
3714
|
*/
|
|
3686
3715
|
async eventControllerGetOne(id, options) {
|
|
3687
3716
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerGetOne(id, options);
|
|
3688
|
-
const
|
|
3689
|
-
const
|
|
3690
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3717
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3718
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerGetOne']?.[index]?.url;
|
|
3719
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3691
3720
|
},
|
|
3692
3721
|
/**
|
|
3693
3722
|
* Search events Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
@@ -3698,9 +3727,9 @@ export const EventApiFp = function (configuration) {
|
|
|
3698
3727
|
*/
|
|
3699
3728
|
async eventControllerSearch(eventSearchInputDTO, options) {
|
|
3700
3729
|
const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerSearch(eventSearchInputDTO, options);
|
|
3701
|
-
const
|
|
3702
|
-
const
|
|
3703
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3730
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3731
|
+
const operationBasePath = operationServerMap['EventApi.eventControllerSearch']?.[index]?.url;
|
|
3732
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3704
3733
|
},
|
|
3705
3734
|
};
|
|
3706
3735
|
};
|
|
@@ -3918,9 +3947,9 @@ export const ExternalAuthApiFp = function (configuration) {
|
|
|
3918
3947
|
*/
|
|
3919
3948
|
async externalAuthControllerAuthDiscord(redirect, options) {
|
|
3920
3949
|
const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscord(redirect, options);
|
|
3921
|
-
const
|
|
3922
|
-
const
|
|
3923
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
3950
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3951
|
+
const operationBasePath = operationServerMap['ExternalAuthApi.externalAuthControllerAuthDiscord']?.[index]?.url;
|
|
3952
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3924
3953
|
},
|
|
3925
3954
|
/**
|
|
3926
3955
|
* <br> OperationId: `ExternalAuthControllerAuthDiscordReturn`
|
|
@@ -3930,10 +3959,9 @@ export const ExternalAuthApiFp = function (configuration) {
|
|
|
3930
3959
|
*/
|
|
3931
3960
|
async externalAuthControllerAuthDiscordReturn(options) {
|
|
3932
3961
|
const localVarAxiosArgs = await localVarAxiosParamCreator.externalAuthControllerAuthDiscordReturn(options);
|
|
3933
|
-
const
|
|
3934
|
-
const
|
|
3935
|
-
|
|
3936
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3962
|
+
const index = configuration?.serverIndex ?? 0;
|
|
3963
|
+
const operationBasePath = operationServerMap['ExternalAuthApi.externalAuthControllerAuthDiscordReturn']?.[index]?.url;
|
|
3964
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
3937
3965
|
},
|
|
3938
3966
|
};
|
|
3939
3967
|
};
|
|
@@ -4172,9 +4200,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4172
4200
|
*/
|
|
4173
4201
|
async functionControllerCreate(functionCreateDTO, options) {
|
|
4174
4202
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerCreate(functionCreateDTO, options);
|
|
4175
|
-
const
|
|
4176
|
-
const
|
|
4177
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4203
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4204
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerCreate']?.[index]?.url;
|
|
4205
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4178
4206
|
},
|
|
4179
4207
|
/**
|
|
4180
4208
|
* Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerGetOne`
|
|
@@ -4185,9 +4213,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4185
4213
|
*/
|
|
4186
4214
|
async functionControllerGetOne(id, options) {
|
|
4187
4215
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerGetOne(id, options);
|
|
4188
|
-
const
|
|
4189
|
-
const
|
|
4190
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4216
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4217
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerGetOne']?.[index]?.url;
|
|
4218
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4191
4219
|
},
|
|
4192
4220
|
/**
|
|
4193
4221
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `FunctionControllerRemove`
|
|
@@ -4198,9 +4226,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4198
4226
|
*/
|
|
4199
4227
|
async functionControllerRemove(id, options) {
|
|
4200
4228
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerRemove(id, options);
|
|
4201
|
-
const
|
|
4202
|
-
const
|
|
4203
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4229
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4230
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerRemove']?.[index]?.url;
|
|
4231
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4204
4232
|
},
|
|
4205
4233
|
/**
|
|
4206
4234
|
* Search functions Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerSearch`
|
|
@@ -4211,9 +4239,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4211
4239
|
*/
|
|
4212
4240
|
async functionControllerSearch(functionSearchInputDTO, options) {
|
|
4213
4241
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerSearch(functionSearchInputDTO, options);
|
|
4214
|
-
const
|
|
4215
|
-
const
|
|
4216
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4242
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4243
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerSearch']?.[index]?.url;
|
|
4244
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4217
4245
|
},
|
|
4218
4246
|
/**
|
|
4219
4247
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `FunctionControllerUpdate`
|
|
@@ -4225,9 +4253,9 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4225
4253
|
*/
|
|
4226
4254
|
async functionControllerUpdate(id, functionUpdateDTO, options) {
|
|
4227
4255
|
const localVarAxiosArgs = await localVarAxiosParamCreator.functionControllerUpdate(id, functionUpdateDTO, options);
|
|
4228
|
-
const
|
|
4229
|
-
const
|
|
4230
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
4256
|
+
const index = configuration?.serverIndex ?? 0;
|
|
4257
|
+
const operationBasePath = operationServerMap['FunctionApi.functionControllerUpdate']?.[index]?.url;
|
|
4258
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
4231
4259
|
},
|
|
4232
4260
|
};
|
|
4233
4261
|
};
|
|
@@ -5217,9 +5245,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5217
5245
|
*/
|
|
5218
5246
|
async gameServerControllerBanPlayer(gameServerId, playerId, banPlayerInputDTO, options) {
|
|
5219
5247
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerBanPlayer(gameServerId, playerId, banPlayerInputDTO, options);
|
|
5220
|
-
const
|
|
5221
|
-
const
|
|
5222
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5248
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5249
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerBanPlayer']?.[index]?.url;
|
|
5250
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5223
5251
|
},
|
|
5224
5252
|
/**
|
|
5225
5253
|
* Create a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerCreate`
|
|
@@ -5230,9 +5258,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5230
5258
|
*/
|
|
5231
5259
|
async gameServerControllerCreate(gameServerCreateDTO, options) {
|
|
5232
5260
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerCreate(gameServerCreateDTO, options);
|
|
5233
|
-
const
|
|
5234
|
-
const
|
|
5235
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5261
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5262
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerCreate']?.[index]?.url;
|
|
5263
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5236
5264
|
},
|
|
5237
5265
|
/**
|
|
5238
5266
|
* Execute a raw command on a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerExecuteCommand`
|
|
@@ -5244,9 +5272,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5244
5272
|
*/
|
|
5245
5273
|
async gameServerControllerExecuteCommand(id, commandExecuteInputDTO, options) {
|
|
5246
5274
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerExecuteCommand(id, commandExecuteInputDTO, options);
|
|
5247
|
-
const
|
|
5248
|
-
const
|
|
5249
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5275
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5276
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerExecuteCommand']?.[index]?.url;
|
|
5277
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5250
5278
|
},
|
|
5251
5279
|
/**
|
|
5252
5280
|
* Fetch status of an import from CSMM Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetImport`
|
|
@@ -5258,9 +5286,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5258
5286
|
*/
|
|
5259
5287
|
async gameServerControllerGetImport(id, options) {
|
|
5260
5288
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetImport(id, options);
|
|
5261
|
-
const
|
|
5262
|
-
const
|
|
5263
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5289
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5290
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetImport']?.[index]?.url;
|
|
5291
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5264
5292
|
},
|
|
5265
5293
|
/**
|
|
5266
5294
|
* Fetch a job status Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGetJob`
|
|
@@ -5272,9 +5300,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5272
5300
|
*/
|
|
5273
5301
|
async gameServerControllerGetJob(type, id, options) {
|
|
5274
5302
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetJob(type, id, options);
|
|
5275
|
-
const
|
|
5276
|
-
const
|
|
5277
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5303
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5304
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetJob']?.[index]?.url;
|
|
5305
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5278
5306
|
},
|
|
5279
5307
|
/**
|
|
5280
5308
|
* Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
|
|
@@ -5285,9 +5313,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5285
5313
|
*/
|
|
5286
5314
|
async gameServerControllerGetMapInfo(id, options) {
|
|
5287
5315
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetMapInfo(id, options);
|
|
5288
|
-
const
|
|
5289
|
-
const
|
|
5290
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5316
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5317
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetMapInfo']?.[index]?.url;
|
|
5318
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5291
5319
|
},
|
|
5292
5320
|
/**
|
|
5293
5321
|
* Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
|
|
@@ -5301,9 +5329,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5301
5329
|
*/
|
|
5302
5330
|
async gameServerControllerGetMapTile(id, x, y, z, options) {
|
|
5303
5331
|
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,
|
|
5332
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5333
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetMapTile']?.[index]?.url;
|
|
5334
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5307
5335
|
},
|
|
5308
5336
|
/**
|
|
5309
5337
|
* Fetch a gameserver by id<br> OperationId: `GameServerControllerGetOne`
|
|
@@ -5314,9 +5342,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5314
5342
|
*/
|
|
5315
5343
|
async gameServerControllerGetOne(id, options) {
|
|
5316
5344
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetOne(id, options);
|
|
5317
|
-
const
|
|
5318
|
-
const
|
|
5319
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5345
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5346
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetOne']?.[index]?.url;
|
|
5347
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5320
5348
|
},
|
|
5321
5349
|
/**
|
|
5322
5350
|
* Fetch a list of players on a gameserver. Requires gameserver to be online and reachable. Please use the Player on GameServer (PoG) search endpoint instead: `POST /gameserver/player/search` for more flexible filtering, sorting, and pagination options. Required permissions: `READ_PLAYERS`<br> OperationId: `GameServerControllerGetPlayers`
|
|
@@ -5328,9 +5356,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5328
5356
|
*/
|
|
5329
5357
|
async gameServerControllerGetPlayers(id, options) {
|
|
5330
5358
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetPlayers(id, options);
|
|
5331
|
-
const
|
|
5332
|
-
const
|
|
5333
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5359
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5360
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetPlayers']?.[index]?.url;
|
|
5361
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5334
5362
|
},
|
|
5335
5363
|
/**
|
|
5336
5364
|
* Fetch gameserver types (7dtd, Rust, ...)<br> OperationId: `GameServerControllerGetTypes`
|
|
@@ -5340,9 +5368,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5340
5368
|
*/
|
|
5341
5369
|
async gameServerControllerGetTypes(options) {
|
|
5342
5370
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetTypes(options);
|
|
5343
|
-
const
|
|
5344
|
-
const
|
|
5345
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5371
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5372
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGetTypes']?.[index]?.url;
|
|
5373
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5346
5374
|
},
|
|
5347
5375
|
/**
|
|
5348
5376
|
* Give an item to a player. Accepts item UUID (preferred) or item code. Requires gameserver to be online and reachable. Depending on the underlying game implementation, it\'s possible that the item is dropped on the ground instead of placed directly in the player\'s inventory. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerGiveItem`
|
|
@@ -5355,9 +5383,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5355
5383
|
*/
|
|
5356
5384
|
async gameServerControllerGiveItem(gameServerId, playerId, giveItemInputDTO, options) {
|
|
5357
5385
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGiveItem(gameServerId, playerId, giveItemInputDTO, options);
|
|
5358
|
-
const
|
|
5359
|
-
const
|
|
5360
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5386
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5387
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerGiveItem']?.[index]?.url;
|
|
5388
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5361
5389
|
},
|
|
5362
5390
|
/**
|
|
5363
5391
|
* Import a gameserver from CSMM. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerImportFromCSMM`
|
|
@@ -5367,9 +5395,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5367
5395
|
*/
|
|
5368
5396
|
async gameServerControllerImportFromCSMM(options) {
|
|
5369
5397
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerImportFromCSMM(options);
|
|
5370
|
-
const
|
|
5371
|
-
const
|
|
5372
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5398
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5399
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerImportFromCSMM']?.[index]?.url;
|
|
5400
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5373
5401
|
},
|
|
5374
5402
|
/**
|
|
5375
5403
|
* Kick a player from a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerKickPlayer`
|
|
@@ -5382,9 +5410,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5382
5410
|
*/
|
|
5383
5411
|
async gameServerControllerKickPlayer(gameServerId, playerId, kickPlayerInputDTO, options) {
|
|
5384
5412
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerKickPlayer(gameServerId, playerId, kickPlayerInputDTO, options);
|
|
5385
|
-
const
|
|
5386
|
-
const
|
|
5387
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5413
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5414
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerKickPlayer']?.[index]?.url;
|
|
5415
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5388
5416
|
},
|
|
5389
5417
|
/**
|
|
5390
5418
|
* List bans for a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerListBans`
|
|
@@ -5396,9 +5424,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5396
5424
|
*/
|
|
5397
5425
|
async gameServerControllerListBans(id, options) {
|
|
5398
5426
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerListBans(id, options);
|
|
5399
|
-
const
|
|
5400
|
-
const
|
|
5401
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5427
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5428
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerListBans']?.[index]?.url;
|
|
5429
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5402
5430
|
},
|
|
5403
5431
|
/**
|
|
5404
5432
|
* Regenerate the registration token for a gameserver. Careful, this will invalidate all existing connections. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRegenerateRegistrationToken`
|
|
@@ -5408,9 +5436,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5408
5436
|
*/
|
|
5409
5437
|
async gameServerControllerRegenerateRegistrationToken(options) {
|
|
5410
5438
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerRegenerateRegistrationToken(options);
|
|
5411
|
-
const
|
|
5412
|
-
const
|
|
5413
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5439
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5440
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerRegenerateRegistrationToken']?.[index]?.url;
|
|
5441
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5414
5442
|
},
|
|
5415
5443
|
/**
|
|
5416
5444
|
* Delete a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerRemove`
|
|
@@ -5421,9 +5449,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5421
5449
|
*/
|
|
5422
5450
|
async gameServerControllerRemove(id, options) {
|
|
5423
5451
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerRemove(id, options);
|
|
5424
|
-
const
|
|
5425
|
-
const
|
|
5426
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5452
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5453
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerRemove']?.[index]?.url;
|
|
5454
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5427
5455
|
},
|
|
5428
5456
|
/**
|
|
5429
5457
|
* Resets all players\' currency to 0 on the specified game server. This action is irreversible. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerResetCurrency`
|
|
@@ -5434,9 +5462,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5434
5462
|
*/
|
|
5435
5463
|
async gameServerControllerResetCurrency(id, options) {
|
|
5436
5464
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerResetCurrency(id, options);
|
|
5437
|
-
const
|
|
5438
|
-
const
|
|
5439
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5465
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5466
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerResetCurrency']?.[index]?.url;
|
|
5467
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5440
5468
|
},
|
|
5441
5469
|
/**
|
|
5442
5470
|
* Fetch gameservers<br> OperationId: `GameServerControllerSearch`
|
|
@@ -5447,9 +5475,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5447
5475
|
*/
|
|
5448
5476
|
async gameServerControllerSearch(gameServerSearchInputDTO, options) {
|
|
5449
5477
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerSearch(gameServerSearchInputDTO, options);
|
|
5450
|
-
const
|
|
5451
|
-
const
|
|
5452
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5478
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5479
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerSearch']?.[index]?.url;
|
|
5480
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5453
5481
|
},
|
|
5454
5482
|
/**
|
|
5455
5483
|
* Send a message in gameserver chat. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerSendMessage`
|
|
@@ -5461,9 +5489,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5461
5489
|
*/
|
|
5462
5490
|
async gameServerControllerSendMessage(id, messageSendInputDTO, options) {
|
|
5463
5491
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerSendMessage(id, messageSendInputDTO, options);
|
|
5464
|
-
const
|
|
5465
|
-
const
|
|
5466
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5492
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5493
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerSendMessage']?.[index]?.url;
|
|
5494
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5467
5495
|
},
|
|
5468
5496
|
/**
|
|
5469
5497
|
* Shuts down the gameserver. This is a \'soft\' shutdown, meaning the gameserver will be stopped gracefully. If the gameserver is not reachable, this will have no effect. Note that most hosting providers will automatically restart the gameserver after a shutdown, which makes this operation act as a \'restart\' instead. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerShutdown`
|
|
@@ -5474,9 +5502,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5474
5502
|
*/
|
|
5475
5503
|
async gameServerControllerShutdown(id, options) {
|
|
5476
5504
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerShutdown(id, options);
|
|
5477
|
-
const
|
|
5478
|
-
const
|
|
5479
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5505
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5506
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerShutdown']?.[index]?.url;
|
|
5507
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5480
5508
|
},
|
|
5481
5509
|
/**
|
|
5482
5510
|
* Teleport a player to a location. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTeleportPlayer`
|
|
@@ -5489,9 +5517,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5489
5517
|
*/
|
|
5490
5518
|
async gameServerControllerTeleportPlayer(gameServerId, playerId, teleportPlayerInputDTO, options) {
|
|
5491
5519
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerTeleportPlayer(gameServerId, playerId, teleportPlayerInputDTO, options);
|
|
5492
|
-
const
|
|
5493
|
-
const
|
|
5494
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5520
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5521
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTeleportPlayer']?.[index]?.url;
|
|
5522
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5495
5523
|
},
|
|
5496
5524
|
/**
|
|
5497
5525
|
* Test if Takaro can connect to a gameserver. Will do a thorough check and report details.<br> OperationId: `GameServerControllerTestReachability`
|
|
@@ -5502,9 +5530,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5502
5530
|
*/
|
|
5503
5531
|
async gameServerControllerTestReachability(gameServerTestReachabilityInputDTO, options) {
|
|
5504
5532
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerTestReachability(gameServerTestReachabilityInputDTO, options);
|
|
5505
|
-
const
|
|
5506
|
-
const
|
|
5507
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5533
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5534
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTestReachability']?.[index]?.url;
|
|
5535
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5508
5536
|
},
|
|
5509
5537
|
/**
|
|
5510
5538
|
* Test if Takaro can connect to a gameserver. Will do a thorough check and report details.<br> OperationId: `GameServerControllerTestReachabilityForId`
|
|
@@ -5515,10 +5543,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5515
5543
|
*/
|
|
5516
5544
|
async gameServerControllerTestReachabilityForId(id, options) {
|
|
5517
5545
|
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);
|
|
5546
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5547
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTestReachabilityForId']?.[index]?.url;
|
|
5548
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5522
5549
|
},
|
|
5523
5550
|
/**
|
|
5524
5551
|
* Manually trigger a job, you can poll the status with the GET endpoint Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerTriggerJob`
|
|
@@ -5530,9 +5557,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5530
5557
|
*/
|
|
5531
5558
|
async gameServerControllerTriggerJob(type, id, options) {
|
|
5532
5559
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerTriggerJob(type, id, options);
|
|
5533
|
-
const
|
|
5534
|
-
const
|
|
5535
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5560
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5561
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerTriggerJob']?.[index]?.url;
|
|
5562
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5536
5563
|
},
|
|
5537
5564
|
/**
|
|
5538
5565
|
* Unban a player from a gameserver. Requires gameserver to be online and reachable. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerUnbanPlayer`
|
|
@@ -5545,9 +5572,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5545
5572
|
*/
|
|
5546
5573
|
async gameServerControllerUnbanPlayer(gameServerId, playerId, options) {
|
|
5547
5574
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerUnbanPlayer(gameServerId, playerId, options);
|
|
5548
|
-
const
|
|
5549
|
-
const
|
|
5550
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5575
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5576
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerUnbanPlayer']?.[index]?.url;
|
|
5577
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5551
5578
|
},
|
|
5552
5579
|
/**
|
|
5553
5580
|
* Update a gameserver Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerUpdate`
|
|
@@ -5559,9 +5586,9 @@ export const GameServerApiFp = function (configuration) {
|
|
|
5559
5586
|
*/
|
|
5560
5587
|
async gameServerControllerUpdate(id, gameServerUpdateDTO, options) {
|
|
5561
5588
|
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerUpdate(id, gameServerUpdateDTO, options);
|
|
5562
|
-
const
|
|
5563
|
-
const
|
|
5564
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
5589
|
+
const index = configuration?.serverIndex ?? 0;
|
|
5590
|
+
const operationBasePath = operationServerMap['GameServerApi.gameServerControllerUpdate']?.[index]?.url;
|
|
5591
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
5565
5592
|
},
|
|
5566
5593
|
};
|
|
5567
5594
|
};
|
|
@@ -6485,9 +6512,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6485
6512
|
*/
|
|
6486
6513
|
async hookControllerCreate(hookCreateDTO, options) {
|
|
6487
6514
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerCreate(hookCreateDTO, options);
|
|
6488
|
-
const
|
|
6489
|
-
const
|
|
6490
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6515
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6516
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerCreate']?.[index]?.url;
|
|
6517
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6491
6518
|
},
|
|
6492
6519
|
/**
|
|
6493
6520
|
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetExecutions`
|
|
@@ -6500,9 +6527,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6500
6527
|
*/
|
|
6501
6528
|
async hookControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
6502
6529
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
6503
|
-
const
|
|
6504
|
-
const
|
|
6505
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6530
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6531
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerGetExecutions']?.[index]?.url;
|
|
6532
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6506
6533
|
},
|
|
6507
6534
|
/**
|
|
6508
6535
|
* Required permissions: `READ_MODULES`<br> OperationId: `HookControllerGetOne`
|
|
@@ -6513,9 +6540,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6513
6540
|
*/
|
|
6514
6541
|
async hookControllerGetOne(id, options) {
|
|
6515
6542
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerGetOne(id, options);
|
|
6516
|
-
const
|
|
6517
|
-
const
|
|
6518
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6543
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6544
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerGetOne']?.[index]?.url;
|
|
6545
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6519
6546
|
},
|
|
6520
6547
|
/**
|
|
6521
6548
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerRemove`
|
|
@@ -6526,9 +6553,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6526
6553
|
*/
|
|
6527
6554
|
async hookControllerRemove(id, options) {
|
|
6528
6555
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerRemove(id, options);
|
|
6529
|
-
const
|
|
6530
|
-
const
|
|
6531
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6556
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6557
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerRemove']?.[index]?.url;
|
|
6558
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6532
6559
|
},
|
|
6533
6560
|
/**
|
|
6534
6561
|
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
@@ -6539,9 +6566,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6539
6566
|
*/
|
|
6540
6567
|
async hookControllerSearch(hookSearchInputDTO, options) {
|
|
6541
6568
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerSearch(hookSearchInputDTO, options);
|
|
6542
|
-
const
|
|
6543
|
-
const
|
|
6544
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6569
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6570
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerSearch']?.[index]?.url;
|
|
6571
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6545
6572
|
},
|
|
6546
6573
|
/**
|
|
6547
6574
|
* Trigger a hook. This is used for testing purposes, the event will not actually be created but the hook-logic will be executed. You can pass any data you want, but it must validate against the corresponding event metadata. Eg to trigger the `chat-message` event, you must pass an object with a `message` property Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerTrigger`
|
|
@@ -6552,9 +6579,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6552
6579
|
*/
|
|
6553
6580
|
async hookControllerTrigger(hookTriggerDTO, options) {
|
|
6554
6581
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerTrigger(hookTriggerDTO, options);
|
|
6555
|
-
const
|
|
6556
|
-
const
|
|
6557
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6582
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6583
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerTrigger']?.[index]?.url;
|
|
6584
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6558
6585
|
},
|
|
6559
6586
|
/**
|
|
6560
6587
|
* Required permissions: `MANAGE_MODULES`<br> OperationId: `HookControllerUpdate`
|
|
@@ -6566,9 +6593,9 @@ export const HookApiFp = function (configuration) {
|
|
|
6566
6593
|
*/
|
|
6567
6594
|
async hookControllerUpdate(id, hookUpdateDTO, options) {
|
|
6568
6595
|
const localVarAxiosArgs = await localVarAxiosParamCreator.hookControllerUpdate(id, hookUpdateDTO, options);
|
|
6569
|
-
const
|
|
6570
|
-
const
|
|
6571
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6596
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6597
|
+
const operationBasePath = operationServerMap['HookApi.hookControllerUpdate']?.[index]?.url;
|
|
6598
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6572
6599
|
},
|
|
6573
6600
|
};
|
|
6574
6601
|
};
|
|
@@ -6840,9 +6867,9 @@ export const ItemApiFp = function (configuration) {
|
|
|
6840
6867
|
*/
|
|
6841
6868
|
async itemControllerFindOne(id, options) {
|
|
6842
6869
|
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerFindOne(id, options);
|
|
6843
|
-
const
|
|
6844
|
-
const
|
|
6845
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6870
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6871
|
+
const operationBasePath = operationServerMap['ItemApi.itemControllerFindOne']?.[index]?.url;
|
|
6872
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6846
6873
|
},
|
|
6847
6874
|
/**
|
|
6848
6875
|
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
@@ -6853,9 +6880,9 @@ export const ItemApiFp = function (configuration) {
|
|
|
6853
6880
|
*/
|
|
6854
6881
|
async itemControllerSearch(itemSearchInputDTO, options) {
|
|
6855
6882
|
const localVarAxiosArgs = await localVarAxiosParamCreator.itemControllerSearch(itemSearchInputDTO, options);
|
|
6856
|
-
const
|
|
6857
|
-
const
|
|
6858
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
6883
|
+
const index = configuration?.serverIndex ?? 0;
|
|
6884
|
+
const operationBasePath = operationServerMap['ItemApi.itemControllerSearch']?.[index]?.url;
|
|
6885
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
6859
6886
|
},
|
|
6860
6887
|
};
|
|
6861
6888
|
};
|
|
@@ -7095,9 +7122,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7095
7122
|
*/
|
|
7096
7123
|
async metaGetHealth(options) {
|
|
7097
7124
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetHealth(options);
|
|
7098
|
-
const
|
|
7099
|
-
const
|
|
7100
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7125
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7126
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetHealth']?.[index]?.url;
|
|
7127
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7101
7128
|
},
|
|
7102
7129
|
/**
|
|
7103
7130
|
* <br> OperationId: `MetaGetMetrics`
|
|
@@ -7107,9 +7134,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7107
7134
|
*/
|
|
7108
7135
|
async metaGetMetrics(options) {
|
|
7109
7136
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetMetrics(options);
|
|
7110
|
-
const
|
|
7111
|
-
const
|
|
7112
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7137
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7138
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetMetrics']?.[index]?.url;
|
|
7139
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7113
7140
|
},
|
|
7114
7141
|
/**
|
|
7115
7142
|
* <br> OperationId: `MetaGetOpenApi`
|
|
@@ -7119,9 +7146,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7119
7146
|
*/
|
|
7120
7147
|
async metaGetOpenApi(options) {
|
|
7121
7148
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetOpenApi(options);
|
|
7122
|
-
const
|
|
7123
|
-
const
|
|
7124
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7149
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7150
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetOpenApi']?.[index]?.url;
|
|
7151
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7125
7152
|
},
|
|
7126
7153
|
/**
|
|
7127
7154
|
* <br> OperationId: `MetaGetOpenApiHtml`
|
|
@@ -7131,9 +7158,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7131
7158
|
*/
|
|
7132
7159
|
async metaGetOpenApiHtml(options) {
|
|
7133
7160
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetOpenApiHtml(options);
|
|
7134
|
-
const
|
|
7135
|
-
const
|
|
7136
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7161
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7162
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetOpenApiHtml']?.[index]?.url;
|
|
7163
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7137
7164
|
},
|
|
7138
7165
|
/**
|
|
7139
7166
|
* <br> OperationId: `MetaGetReadiness`
|
|
@@ -7143,9 +7170,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7143
7170
|
*/
|
|
7144
7171
|
async metaGetReadiness(options) {
|
|
7145
7172
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetReadiness(options);
|
|
7146
|
-
const
|
|
7147
|
-
const
|
|
7148
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7173
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7174
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetReadiness']?.[index]?.url;
|
|
7175
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7149
7176
|
},
|
|
7150
7177
|
/**
|
|
7151
7178
|
* <br> OperationId: `MetaGetRoot`
|
|
@@ -7155,9 +7182,9 @@ export const MetaApiFp = function (configuration) {
|
|
|
7155
7182
|
*/
|
|
7156
7183
|
async metaGetRoot(options) {
|
|
7157
7184
|
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetRoot(options);
|
|
7158
|
-
const
|
|
7159
|
-
const
|
|
7160
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7185
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7186
|
+
const operationBasePath = operationServerMap['MetaApi.metaGetRoot']?.[index]?.url;
|
|
7187
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7161
7188
|
},
|
|
7162
7189
|
};
|
|
7163
7190
|
};
|
|
@@ -7750,9 +7777,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7750
7777
|
*/
|
|
7751
7778
|
async moduleControllerCreate(moduleCreateAPIDTO, options) {
|
|
7752
7779
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerCreate(moduleCreateAPIDTO, options);
|
|
7753
|
-
const
|
|
7754
|
-
const
|
|
7755
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7780
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7781
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerCreate']?.[index]?.url;
|
|
7782
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7756
7783
|
},
|
|
7757
7784
|
/**
|
|
7758
7785
|
* Exports a module to a format that can be imported into another Takaro instance. This endpoint will export all known versions of the module Required permissions: `READ_MODULES`<br> OperationId: `ModuleControllerExport`
|
|
@@ -7764,9 +7791,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7764
7791
|
*/
|
|
7765
7792
|
async moduleControllerExport(id, moduleExportOptionsDTO, options) {
|
|
7766
7793
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerExport(id, moduleExportOptionsDTO, options);
|
|
7767
|
-
const
|
|
7768
|
-
const
|
|
7769
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7794
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7795
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerExport']?.[index]?.url;
|
|
7796
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7770
7797
|
},
|
|
7771
7798
|
/**
|
|
7772
7799
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleControllerGetOne`
|
|
@@ -7777,9 +7804,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7777
7804
|
*/
|
|
7778
7805
|
async moduleControllerGetOne(id, options) {
|
|
7779
7806
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerGetOne(id, options);
|
|
7780
|
-
const
|
|
7781
|
-
const
|
|
7782
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7807
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7808
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerGetOne']?.[index]?.url;
|
|
7809
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7783
7810
|
},
|
|
7784
7811
|
/**
|
|
7785
7812
|
* Imports a module from a format that was exported from another Takaro instance Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerImport`
|
|
@@ -7790,9 +7817,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7790
7817
|
*/
|
|
7791
7818
|
async moduleControllerImport(body, options) {
|
|
7792
7819
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerImport(body, options);
|
|
7793
|
-
const
|
|
7794
|
-
const
|
|
7795
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7820
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7821
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerImport']?.[index]?.url;
|
|
7822
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7796
7823
|
},
|
|
7797
7824
|
/**
|
|
7798
7825
|
* Removes a module, including all versions and config Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerRemove`
|
|
@@ -7803,9 +7830,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7803
7830
|
*/
|
|
7804
7831
|
async moduleControllerRemove(id, options) {
|
|
7805
7832
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerRemove(id, options);
|
|
7806
|
-
const
|
|
7807
|
-
const
|
|
7808
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7833
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7834
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerRemove']?.[index]?.url;
|
|
7835
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7809
7836
|
},
|
|
7810
7837
|
/**
|
|
7811
7838
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleControllerSearch`
|
|
@@ -7816,9 +7843,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7816
7843
|
*/
|
|
7817
7844
|
async moduleControllerSearch(moduleSearchInputDTO, options) {
|
|
7818
7845
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerSearch(moduleSearchInputDTO, options);
|
|
7819
|
-
const
|
|
7820
|
-
const
|
|
7821
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7846
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7847
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerSearch']?.[index]?.url;
|
|
7848
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7822
7849
|
},
|
|
7823
7850
|
/**
|
|
7824
7851
|
* Update a module Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleControllerUpdate`
|
|
@@ -7830,9 +7857,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7830
7857
|
*/
|
|
7831
7858
|
async moduleControllerUpdate(id, moduleUpdateDTO, options) {
|
|
7832
7859
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleControllerUpdate(id, moduleUpdateDTO, options);
|
|
7833
|
-
const
|
|
7834
|
-
const
|
|
7835
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7860
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7861
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleControllerUpdate']?.[index]?.url;
|
|
7862
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7836
7863
|
},
|
|
7837
7864
|
/**
|
|
7838
7865
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
@@ -7843,10 +7870,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7843
7870
|
*/
|
|
7844
7871
|
async moduleInstallationsControllerGetInstalledModules(moduleInstallationSearchInputDTO, options) {
|
|
7845
7872
|
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);
|
|
7873
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7874
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerGetInstalledModules']?.[index]?.url;
|
|
7875
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7850
7876
|
},
|
|
7851
7877
|
/**
|
|
7852
7878
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetModuleInstallation`
|
|
@@ -7858,9 +7884,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7858
7884
|
*/
|
|
7859
7885
|
async moduleInstallationsControllerGetModuleInstallation(moduleId, gameServerId, options) {
|
|
7860
7886
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleInstallationsControllerGetModuleInstallation(moduleId, gameServerId, options);
|
|
7861
|
-
const
|
|
7862
|
-
const
|
|
7863
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7887
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7888
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerGetModuleInstallation']?.[index]?.url;
|
|
7889
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7864
7890
|
},
|
|
7865
7891
|
/**
|
|
7866
7892
|
* Install a module on a gameserver. You can have multiple installations of the same module on the same gameserver. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `ModuleInstallationsControllerInstallModule`
|
|
@@ -7871,9 +7897,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7871
7897
|
*/
|
|
7872
7898
|
async moduleInstallationsControllerInstallModule(installModuleDTO, options) {
|
|
7873
7899
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleInstallationsControllerInstallModule(installModuleDTO, options);
|
|
7874
|
-
const
|
|
7875
|
-
const
|
|
7876
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7900
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7901
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerInstallModule']?.[index]?.url;
|
|
7902
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7877
7903
|
},
|
|
7878
7904
|
/**
|
|
7879
7905
|
* Uninstall a module from a gameserver. This will not delete the module from the database. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `ModuleInstallationsControllerUninstallModule`
|
|
@@ -7885,10 +7911,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7885
7911
|
*/
|
|
7886
7912
|
async moduleInstallationsControllerUninstallModule(moduleId, gameServerId, options) {
|
|
7887
7913
|
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);
|
|
7914
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7915
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleInstallationsControllerUninstallModule']?.[index]?.url;
|
|
7916
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7892
7917
|
},
|
|
7893
7918
|
/**
|
|
7894
7919
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleVersionControllerGetModuleVersion`
|
|
@@ -7899,9 +7924,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7899
7924
|
*/
|
|
7900
7925
|
async moduleVersionControllerGetModuleVersion(id, options) {
|
|
7901
7926
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleVersionControllerGetModuleVersion(id, options);
|
|
7902
|
-
const
|
|
7903
|
-
const
|
|
7904
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7927
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7928
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleVersionControllerGetModuleVersion']?.[index]?.url;
|
|
7929
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7905
7930
|
},
|
|
7906
7931
|
/**
|
|
7907
7932
|
* Required permissions: `READ_MODULES`<br> OperationId: `ModuleVersionControllerSearchVersions`
|
|
@@ -7912,9 +7937,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7912
7937
|
*/
|
|
7913
7938
|
async moduleVersionControllerSearchVersions(moduleVersionSearchInputDTO, options) {
|
|
7914
7939
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleVersionControllerSearchVersions(moduleVersionSearchInputDTO, options);
|
|
7915
|
-
const
|
|
7916
|
-
const
|
|
7917
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7940
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7941
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleVersionControllerSearchVersions']?.[index]?.url;
|
|
7942
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7918
7943
|
},
|
|
7919
7944
|
/**
|
|
7920
7945
|
* Creates a new version of a module, copying all config (commands,hooks,cronjobs,...) from the \"latest\" version into a new, immutable version Required permissions: `MANAGE_MODULES`<br> OperationId: `ModuleVersionControllerTagVersion`
|
|
@@ -7925,9 +7950,9 @@ export const ModuleApiFp = function (configuration) {
|
|
|
7925
7950
|
*/
|
|
7926
7951
|
async moduleVersionControllerTagVersion(moduleVersionCreateAPIDTO, options) {
|
|
7927
7952
|
const localVarAxiosArgs = await localVarAxiosParamCreator.moduleVersionControllerTagVersion(moduleVersionCreateAPIDTO, options);
|
|
7928
|
-
const
|
|
7929
|
-
const
|
|
7930
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
7953
|
+
const index = configuration?.serverIndex ?? 0;
|
|
7954
|
+
const operationBasePath = operationServerMap['ModuleApi.moduleVersionControllerTagVersion']?.[index]?.url;
|
|
7955
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
7931
7956
|
},
|
|
7932
7957
|
};
|
|
7933
7958
|
};
|
|
@@ -8686,9 +8711,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8686
8711
|
*/
|
|
8687
8712
|
async banControllerCreate(banCreateDTO, options) {
|
|
8688
8713
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerCreate(banCreateDTO, options);
|
|
8689
|
-
const
|
|
8690
|
-
const
|
|
8691
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8714
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8715
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerCreate']?.[index]?.url;
|
|
8716
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8692
8717
|
},
|
|
8693
8718
|
/**
|
|
8694
8719
|
* Unban player. This will remove the ban from Takaro and the gameserver(s) Required permissions: `MANAGE_PLAYERS`<br> OperationId: `BanControllerDelete`
|
|
@@ -8699,9 +8724,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8699
8724
|
*/
|
|
8700
8725
|
async banControllerDelete(id, options) {
|
|
8701
8726
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerDelete(id, options);
|
|
8702
|
-
const
|
|
8703
|
-
const
|
|
8704
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8727
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8728
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerDelete']?.[index]?.url;
|
|
8729
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8705
8730
|
},
|
|
8706
8731
|
/**
|
|
8707
8732
|
* Get a single ban Required permissions: `READ_PLAYERS`<br> OperationId: `BanControllerGetOne`
|
|
@@ -8712,9 +8737,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8712
8737
|
*/
|
|
8713
8738
|
async banControllerGetOne(id, options) {
|
|
8714
8739
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerGetOne(id, options);
|
|
8715
|
-
const
|
|
8716
|
-
const
|
|
8717
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8740
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8741
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerGetOne']?.[index]?.url;
|
|
8742
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8718
8743
|
},
|
|
8719
8744
|
/**
|
|
8720
8745
|
* Search for bans Required permissions: `READ_PLAYERS`<br> OperationId: `BanControllerSearch`
|
|
@@ -8725,9 +8750,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8725
8750
|
*/
|
|
8726
8751
|
async banControllerSearch(banSearchInputDTO, options) {
|
|
8727
8752
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerSearch(banSearchInputDTO, options);
|
|
8728
|
-
const
|
|
8729
|
-
const
|
|
8730
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8753
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8754
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerSearch']?.[index]?.url;
|
|
8755
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8731
8756
|
},
|
|
8732
8757
|
/**
|
|
8733
8758
|
* 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 +8764,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8739
8764
|
*/
|
|
8740
8765
|
async banControllerUpdate(id, banUpdateDTO, options) {
|
|
8741
8766
|
const localVarAxiosArgs = await localVarAxiosParamCreator.banControllerUpdate(id, banUpdateDTO, options);
|
|
8742
|
-
const
|
|
8743
|
-
const
|
|
8744
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8767
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8768
|
+
const operationBasePath = operationServerMap['PlayerApi.banControllerUpdate']?.[index]?.url;
|
|
8769
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8745
8770
|
},
|
|
8746
8771
|
/**
|
|
8747
8772
|
* Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerAssignRole`
|
|
@@ -8754,9 +8779,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8754
8779
|
*/
|
|
8755
8780
|
async playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options) {
|
|
8756
8781
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options);
|
|
8757
|
-
const
|
|
8758
|
-
const
|
|
8759
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8782
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8783
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerAssignRole']?.[index]?.url;
|
|
8784
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8760
8785
|
},
|
|
8761
8786
|
/**
|
|
8762
8787
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
@@ -8767,9 +8792,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8767
8792
|
*/
|
|
8768
8793
|
async playerControllerBulkDelete(playerBulkDeleteInputDTO, options) {
|
|
8769
8794
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerBulkDelete(playerBulkDeleteInputDTO, options);
|
|
8770
|
-
const
|
|
8771
|
-
const
|
|
8772
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8795
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8796
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerBulkDelete']?.[index]?.url;
|
|
8797
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8773
8798
|
},
|
|
8774
8799
|
/**
|
|
8775
8800
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
@@ -8780,9 +8805,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8780
8805
|
*/
|
|
8781
8806
|
async playerControllerDelete(id, options) {
|
|
8782
8807
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerDelete(id, options);
|
|
8783
|
-
const
|
|
8784
|
-
const
|
|
8785
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8808
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8809
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerDelete']?.[index]?.url;
|
|
8810
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8786
8811
|
},
|
|
8787
8812
|
/**
|
|
8788
8813
|
* Get the player that is currently authenticated. This is a low-privilege route, returning limited data.<br> OperationId: `PlayerControllerGetMe`
|
|
@@ -8792,9 +8817,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8792
8817
|
*/
|
|
8793
8818
|
async playerControllerGetMe(options) {
|
|
8794
8819
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerGetMe(options);
|
|
8795
|
-
const
|
|
8796
|
-
const
|
|
8797
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8820
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8821
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerGetMe']?.[index]?.url;
|
|
8822
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8798
8823
|
},
|
|
8799
8824
|
/**
|
|
8800
8825
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerGetOne`
|
|
@@ -8805,9 +8830,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8805
8830
|
*/
|
|
8806
8831
|
async playerControllerGetOne(id, options) {
|
|
8807
8832
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerGetOne(id, options);
|
|
8808
|
-
const
|
|
8809
|
-
const
|
|
8810
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8833
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8834
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerGetOne']?.[index]?.url;
|
|
8835
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8811
8836
|
},
|
|
8812
8837
|
/**
|
|
8813
8838
|
* Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
|
|
@@ -8820,9 +8845,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8820
8845
|
*/
|
|
8821
8846
|
async playerControllerRemoveRole(id, roleId, playerRoleAssignChangeDTO, options) {
|
|
8822
8847
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerRemoveRole(id, roleId, playerRoleAssignChangeDTO, options);
|
|
8823
|
-
const
|
|
8824
|
-
const
|
|
8825
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8848
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8849
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerRemoveRole']?.[index]?.url;
|
|
8850
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8826
8851
|
},
|
|
8827
8852
|
/**
|
|
8828
8853
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerSearch`
|
|
@@ -8833,9 +8858,9 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8833
8858
|
*/
|
|
8834
8859
|
async playerControllerSearch(playerSearchInputDTO, options) {
|
|
8835
8860
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerSearch(playerSearchInputDTO, options);
|
|
8836
|
-
const
|
|
8837
|
-
const
|
|
8838
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
8861
|
+
const index = configuration?.serverIndex ?? 0;
|
|
8862
|
+
const operationBasePath = operationServerMap['PlayerApi.playerControllerSearch']?.[index]?.url;
|
|
8863
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
8839
8864
|
},
|
|
8840
8865
|
};
|
|
8841
8866
|
};
|
|
@@ -9455,9 +9480,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9455
9480
|
*/
|
|
9456
9481
|
async playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9457
9482
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
9458
|
-
const
|
|
9459
|
-
const
|
|
9460
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9483
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9484
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerAddCurrency']?.[index]?.url;
|
|
9485
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9461
9486
|
},
|
|
9462
9487
|
/**
|
|
9463
9488
|
* Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
|
|
@@ -9469,9 +9494,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9469
9494
|
*/
|
|
9470
9495
|
async playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
9471
9496
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options);
|
|
9472
|
-
const
|
|
9473
|
-
const
|
|
9474
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9497
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9498
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkDelete']?.[index]?.url;
|
|
9499
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9475
9500
|
},
|
|
9476
9501
|
/**
|
|
9477
9502
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
@@ -9484,9 +9509,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9484
9509
|
*/
|
|
9485
9510
|
async playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9486
9511
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDeductCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
9487
|
-
const
|
|
9488
|
-
const
|
|
9489
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9512
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9513
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDeductCurrency']?.[index]?.url;
|
|
9514
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9490
9515
|
},
|
|
9491
9516
|
/**
|
|
9492
9517
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
@@ -9498,10 +9523,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9498
9523
|
*/
|
|
9499
9524
|
async playerOnGameServerControllerDelete(gameServerId, playerId, options) {
|
|
9500
9525
|
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);
|
|
9526
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9527
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDelete']?.[index]?.url;
|
|
9528
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9505
9529
|
},
|
|
9506
9530
|
/**
|
|
9507
9531
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
@@ -9513,10 +9537,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9513
9537
|
*/
|
|
9514
9538
|
async playerOnGameServerControllerGetOne(gameServerId, playerId, options) {
|
|
9515
9539
|
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);
|
|
9540
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9541
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerGetOne']?.[index]?.url;
|
|
9542
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9520
9543
|
},
|
|
9521
9544
|
/**
|
|
9522
9545
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
|
|
@@ -9527,10 +9550,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9527
9550
|
*/
|
|
9528
9551
|
async playerOnGameServerControllerSearch(playerOnGameServerSearchInputDTO, options) {
|
|
9529
9552
|
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);
|
|
9553
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9554
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSearch']?.[index]?.url;
|
|
9555
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9534
9556
|
},
|
|
9535
9557
|
/**
|
|
9536
9558
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
|
|
@@ -9543,9 +9565,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9543
9565
|
*/
|
|
9544
9566
|
async playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9545
9567
|
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerSetCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options);
|
|
9546
|
-
const
|
|
9547
|
-
const
|
|
9548
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
9568
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9569
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerSetCurrency']?.[index]?.url;
|
|
9570
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9549
9571
|
},
|
|
9550
9572
|
/**
|
|
9551
9573
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
|
|
@@ -9559,9 +9581,9 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9559
9581
|
*/
|
|
9560
9582
|
async playerOnGameServerControllerTransactBetweenPlayers(gameServerId, sender, receiver, playerOnGameServerSetCurrencyInputDTO, options) {
|
|
9561
9583
|
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,
|
|
9584
|
+
const index = configuration?.serverIndex ?? 0;
|
|
9585
|
+
const operationBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerTransactBetweenPlayers']?.[index]?.url;
|
|
9586
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
9565
9587
|
},
|
|
9566
9588
|
};
|
|
9567
9589
|
};
|
|
@@ -10004,9 +10026,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10004
10026
|
*/
|
|
10005
10027
|
async roleControllerCreate(roleCreateInputDTO, options) {
|
|
10006
10028
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerCreate(roleCreateInputDTO, options);
|
|
10007
|
-
const
|
|
10008
|
-
const
|
|
10009
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10029
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10030
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerCreate']?.[index]?.url;
|
|
10031
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10010
10032
|
},
|
|
10011
10033
|
/**
|
|
10012
10034
|
* Required permissions: `READ_ROLES`<br> OperationId: `RoleControllerGetOne`
|
|
@@ -10017,9 +10039,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10017
10039
|
*/
|
|
10018
10040
|
async roleControllerGetOne(id, options) {
|
|
10019
10041
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerGetOne(id, options);
|
|
10020
|
-
const
|
|
10021
|
-
const
|
|
10022
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10042
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10043
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerGetOne']?.[index]?.url;
|
|
10044
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10023
10045
|
},
|
|
10024
10046
|
/**
|
|
10025
10047
|
* <br> OperationId: `RoleControllerGetPermissions`
|
|
@@ -10029,9 +10051,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10029
10051
|
*/
|
|
10030
10052
|
async roleControllerGetPermissions(options) {
|
|
10031
10053
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerGetPermissions(options);
|
|
10032
|
-
const
|
|
10033
|
-
const
|
|
10034
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10054
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10055
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerGetPermissions']?.[index]?.url;
|
|
10056
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10035
10057
|
},
|
|
10036
10058
|
/**
|
|
10037
10059
|
* Required permissions: `MANAGE_ROLES`<br> OperationId: `RoleControllerRemove`
|
|
@@ -10042,9 +10064,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10042
10064
|
*/
|
|
10043
10065
|
async roleControllerRemove(id, options) {
|
|
10044
10066
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerRemove(id, options);
|
|
10045
|
-
const
|
|
10046
|
-
const
|
|
10047
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10067
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10068
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerRemove']?.[index]?.url;
|
|
10069
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10048
10070
|
},
|
|
10049
10071
|
/**
|
|
10050
10072
|
* Required permissions: `READ_ROLES`<br> OperationId: `RoleControllerSearch`
|
|
@@ -10055,9 +10077,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10055
10077
|
*/
|
|
10056
10078
|
async roleControllerSearch(roleSearchInputDTO, options) {
|
|
10057
10079
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerSearch(roleSearchInputDTO, options);
|
|
10058
|
-
const
|
|
10059
|
-
const
|
|
10060
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10080
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10081
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerSearch']?.[index]?.url;
|
|
10082
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10061
10083
|
},
|
|
10062
10084
|
/**
|
|
10063
10085
|
* Required permissions: `MANAGE_ROLES`<br> OperationId: `RoleControllerUpdate`
|
|
@@ -10069,9 +10091,9 @@ export const RoleApiFp = function (configuration) {
|
|
|
10069
10091
|
*/
|
|
10070
10092
|
async roleControllerUpdate(id, roleUpdateInputDTO, options) {
|
|
10071
10093
|
const localVarAxiosArgs = await localVarAxiosParamCreator.roleControllerUpdate(id, roleUpdateInputDTO, options);
|
|
10072
|
-
const
|
|
10073
|
-
const
|
|
10074
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10094
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10095
|
+
const operationBasePath = operationServerMap['RoleApi.roleControllerUpdate']?.[index]?.url;
|
|
10096
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10075
10097
|
},
|
|
10076
10098
|
};
|
|
10077
10099
|
};
|
|
@@ -10389,9 +10411,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10389
10411
|
*/
|
|
10390
10412
|
async settingsControllerDelete(key, gameServerId, options) {
|
|
10391
10413
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerDelete(key, gameServerId, options);
|
|
10392
|
-
const
|
|
10393
|
-
const
|
|
10394
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10414
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10415
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerDelete']?.[index]?.url;
|
|
10416
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10395
10417
|
},
|
|
10396
10418
|
/**
|
|
10397
10419
|
* <br> OperationId: `SettingsControllerGet`
|
|
@@ -10403,9 +10425,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10403
10425
|
*/
|
|
10404
10426
|
async settingsControllerGet(keys, gameServerId, options) {
|
|
10405
10427
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerGet(keys, gameServerId, options);
|
|
10406
|
-
const
|
|
10407
|
-
const
|
|
10408
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10428
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10429
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerGet']?.[index]?.url;
|
|
10430
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10409
10431
|
},
|
|
10410
10432
|
/**
|
|
10411
10433
|
* <br> OperationId: `SettingsControllerGetOne`
|
|
@@ -10417,9 +10439,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10417
10439
|
*/
|
|
10418
10440
|
async settingsControllerGetOne(key, gameServerId, options) {
|
|
10419
10441
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerGetOne(key, gameServerId, options);
|
|
10420
|
-
const
|
|
10421
|
-
const
|
|
10422
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10442
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10443
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerGetOne']?.[index]?.url;
|
|
10444
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10423
10445
|
},
|
|
10424
10446
|
/**
|
|
10425
10447
|
* Required permissions: `MANAGE_SETTINGS`<br> OperationId: `SettingsControllerSet`
|
|
@@ -10431,9 +10453,9 @@ export const SettingsApiFp = function (configuration) {
|
|
|
10431
10453
|
*/
|
|
10432
10454
|
async settingsControllerSet(key, settingsSetDTO, options) {
|
|
10433
10455
|
const localVarAxiosArgs = await localVarAxiosParamCreator.settingsControllerSet(key, settingsSetDTO, options);
|
|
10434
|
-
const
|
|
10435
|
-
const
|
|
10436
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
10456
|
+
const index = configuration?.serverIndex ?? 0;
|
|
10457
|
+
const operationBasePath = operationServerMap['SettingsApi.settingsControllerSet']?.[index]?.url;
|
|
10458
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10437
10459
|
},
|
|
10438
10460
|
};
|
|
10439
10461
|
};
|
|
@@ -10574,6 +10596,526 @@ export const SettingsControllerGetKeysEnum = {
|
|
|
10574
10596
|
UnknownCommandFeedbackEnabled: 'unknownCommandFeedbackEnabled',
|
|
10575
10597
|
UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
|
|
10576
10598
|
};
|
|
10599
|
+
/**
|
|
10600
|
+
* ShopActionApi - axios parameter creator
|
|
10601
|
+
* @export
|
|
10602
|
+
*/
|
|
10603
|
+
export const ShopActionApiAxiosParamCreator = function (configuration) {
|
|
10604
|
+
return {
|
|
10605
|
+
/**
|
|
10606
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
|
|
10607
|
+
* @summary Create
|
|
10608
|
+
* @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
|
|
10609
|
+
* @param {*} [options] Override http request option.
|
|
10610
|
+
* @throws {RequiredError}
|
|
10611
|
+
*/
|
|
10612
|
+
shopActionControllerCreate: async (shopActionCreateDTO, options = {}) => {
|
|
10613
|
+
const localVarPath = `/shopaction`;
|
|
10614
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10615
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10616
|
+
let baseOptions;
|
|
10617
|
+
if (configuration) {
|
|
10618
|
+
baseOptions = configuration.baseOptions;
|
|
10619
|
+
}
|
|
10620
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10621
|
+
const localVarHeaderParameter = {};
|
|
10622
|
+
const localVarQueryParameter = {};
|
|
10623
|
+
// authentication domainAuth required
|
|
10624
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10625
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10626
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10627
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10628
|
+
localVarRequestOptions.data = serializeDataIfNeeded(shopActionCreateDTO, localVarRequestOptions, configuration);
|
|
10629
|
+
return {
|
|
10630
|
+
url: toPathString(localVarUrlObj),
|
|
10631
|
+
options: localVarRequestOptions,
|
|
10632
|
+
};
|
|
10633
|
+
},
|
|
10634
|
+
/**
|
|
10635
|
+
* Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
|
|
10636
|
+
* @summary Get available
|
|
10637
|
+
* @param {string} gameServerId
|
|
10638
|
+
* @param {*} [options] Override http request option.
|
|
10639
|
+
* @throws {RequiredError}
|
|
10640
|
+
*/
|
|
10641
|
+
shopActionControllerGetAvailable: async (gameServerId, options = {}) => {
|
|
10642
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
10643
|
+
assertParamExists('shopActionControllerGetAvailable', 'gameServerId', gameServerId);
|
|
10644
|
+
const localVarPath = `/shopaction/gameserver/{gameServerId}/available`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
10645
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10646
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10647
|
+
let baseOptions;
|
|
10648
|
+
if (configuration) {
|
|
10649
|
+
baseOptions = configuration.baseOptions;
|
|
10650
|
+
}
|
|
10651
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
10652
|
+
const localVarHeaderParameter = {};
|
|
10653
|
+
const localVarQueryParameter = {};
|
|
10654
|
+
// authentication domainAuth required
|
|
10655
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10656
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10657
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10658
|
+
return {
|
|
10659
|
+
url: toPathString(localVarUrlObj),
|
|
10660
|
+
options: localVarRequestOptions,
|
|
10661
|
+
};
|
|
10662
|
+
},
|
|
10663
|
+
/**
|
|
10664
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
|
|
10665
|
+
* @summary Get executions
|
|
10666
|
+
* @param {string} id
|
|
10667
|
+
* @param {any} [success]
|
|
10668
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10669
|
+
* @param {*} [options] Override http request option.
|
|
10670
|
+
* @throws {RequiredError}
|
|
10671
|
+
*/
|
|
10672
|
+
shopActionControllerGetExecutions: async (id, success, eventSearchInputDTO, options = {}) => {
|
|
10673
|
+
// verify required parameter 'id' is not null or undefined
|
|
10674
|
+
assertParamExists('shopActionControllerGetExecutions', 'id', id);
|
|
10675
|
+
const localVarPath = `/shopaction/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10676
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10677
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10678
|
+
let baseOptions;
|
|
10679
|
+
if (configuration) {
|
|
10680
|
+
baseOptions = configuration.baseOptions;
|
|
10681
|
+
}
|
|
10682
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10683
|
+
const localVarHeaderParameter = {};
|
|
10684
|
+
const localVarQueryParameter = {};
|
|
10685
|
+
// authentication domainAuth required
|
|
10686
|
+
if (success !== undefined) {
|
|
10687
|
+
for (const [key, value] of Object.entries(success)) {
|
|
10688
|
+
localVarQueryParameter[key] = value;
|
|
10689
|
+
}
|
|
10690
|
+
}
|
|
10691
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10692
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10693
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10694
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10695
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
10696
|
+
return {
|
|
10697
|
+
url: toPathString(localVarUrlObj),
|
|
10698
|
+
options: localVarRequestOptions,
|
|
10699
|
+
};
|
|
10700
|
+
},
|
|
10701
|
+
/**
|
|
10702
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
|
|
10703
|
+
* @summary Get one
|
|
10704
|
+
* @param {string} id
|
|
10705
|
+
* @param {*} [options] Override http request option.
|
|
10706
|
+
* @throws {RequiredError}
|
|
10707
|
+
*/
|
|
10708
|
+
shopActionControllerGetOne: async (id, options = {}) => {
|
|
10709
|
+
// verify required parameter 'id' is not null or undefined
|
|
10710
|
+
assertParamExists('shopActionControllerGetOne', 'id', id);
|
|
10711
|
+
const localVarPath = `/shopaction/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10712
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10713
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10714
|
+
let baseOptions;
|
|
10715
|
+
if (configuration) {
|
|
10716
|
+
baseOptions = configuration.baseOptions;
|
|
10717
|
+
}
|
|
10718
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
10719
|
+
const localVarHeaderParameter = {};
|
|
10720
|
+
const localVarQueryParameter = {};
|
|
10721
|
+
// authentication domainAuth required
|
|
10722
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10723
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10724
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10725
|
+
return {
|
|
10726
|
+
url: toPathString(localVarUrlObj),
|
|
10727
|
+
options: localVarRequestOptions,
|
|
10728
|
+
};
|
|
10729
|
+
},
|
|
10730
|
+
/**
|
|
10731
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
|
|
10732
|
+
* @summary Remove
|
|
10733
|
+
* @param {string} id
|
|
10734
|
+
* @param {*} [options] Override http request option.
|
|
10735
|
+
* @throws {RequiredError}
|
|
10736
|
+
*/
|
|
10737
|
+
shopActionControllerRemove: async (id, options = {}) => {
|
|
10738
|
+
// verify required parameter 'id' is not null or undefined
|
|
10739
|
+
assertParamExists('shopActionControllerRemove', 'id', id);
|
|
10740
|
+
const localVarPath = `/shopaction/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10741
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10742
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10743
|
+
let baseOptions;
|
|
10744
|
+
if (configuration) {
|
|
10745
|
+
baseOptions = configuration.baseOptions;
|
|
10746
|
+
}
|
|
10747
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
10748
|
+
const localVarHeaderParameter = {};
|
|
10749
|
+
const localVarQueryParameter = {};
|
|
10750
|
+
// authentication domainAuth required
|
|
10751
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10752
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10753
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10754
|
+
return {
|
|
10755
|
+
url: toPathString(localVarUrlObj),
|
|
10756
|
+
options: localVarRequestOptions,
|
|
10757
|
+
};
|
|
10758
|
+
},
|
|
10759
|
+
/**
|
|
10760
|
+
* Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
|
|
10761
|
+
* @summary Search
|
|
10762
|
+
* @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
|
|
10763
|
+
* @param {*} [options] Override http request option.
|
|
10764
|
+
* @throws {RequiredError}
|
|
10765
|
+
*/
|
|
10766
|
+
shopActionControllerSearch: async (shopActionSearchInputDTO, options = {}) => {
|
|
10767
|
+
const localVarPath = `/shopaction/search`;
|
|
10768
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10769
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10770
|
+
let baseOptions;
|
|
10771
|
+
if (configuration) {
|
|
10772
|
+
baseOptions = configuration.baseOptions;
|
|
10773
|
+
}
|
|
10774
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
10775
|
+
const localVarHeaderParameter = {};
|
|
10776
|
+
const localVarQueryParameter = {};
|
|
10777
|
+
// authentication domainAuth required
|
|
10778
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10779
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10780
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10781
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10782
|
+
localVarRequestOptions.data = serializeDataIfNeeded(shopActionSearchInputDTO, localVarRequestOptions, configuration);
|
|
10783
|
+
return {
|
|
10784
|
+
url: toPathString(localVarUrlObj),
|
|
10785
|
+
options: localVarRequestOptions,
|
|
10786
|
+
};
|
|
10787
|
+
},
|
|
10788
|
+
/**
|
|
10789
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
|
|
10790
|
+
* @summary Update
|
|
10791
|
+
* @param {string} id
|
|
10792
|
+
* @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
|
|
10793
|
+
* @param {*} [options] Override http request option.
|
|
10794
|
+
* @throws {RequiredError}
|
|
10795
|
+
*/
|
|
10796
|
+
shopActionControllerUpdate: async (id, shopActionUpdateDTO, options = {}) => {
|
|
10797
|
+
// verify required parameter 'id' is not null or undefined
|
|
10798
|
+
assertParamExists('shopActionControllerUpdate', 'id', id);
|
|
10799
|
+
const localVarPath = `/shopaction/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
10800
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
10801
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
10802
|
+
let baseOptions;
|
|
10803
|
+
if (configuration) {
|
|
10804
|
+
baseOptions = configuration.baseOptions;
|
|
10805
|
+
}
|
|
10806
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
10807
|
+
const localVarHeaderParameter = {};
|
|
10808
|
+
const localVarQueryParameter = {};
|
|
10809
|
+
// authentication domainAuth required
|
|
10810
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
10811
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
10812
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
10813
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
10814
|
+
localVarRequestOptions.data = serializeDataIfNeeded(shopActionUpdateDTO, localVarRequestOptions, configuration);
|
|
10815
|
+
return {
|
|
10816
|
+
url: toPathString(localVarUrlObj),
|
|
10817
|
+
options: localVarRequestOptions,
|
|
10818
|
+
};
|
|
10819
|
+
},
|
|
10820
|
+
};
|
|
10821
|
+
};
|
|
10822
|
+
/**
|
|
10823
|
+
* ShopActionApi - functional programming interface
|
|
10824
|
+
* @export
|
|
10825
|
+
*/
|
|
10826
|
+
export const ShopActionApiFp = function (configuration) {
|
|
10827
|
+
const localVarAxiosParamCreator = ShopActionApiAxiosParamCreator(configuration);
|
|
10828
|
+
return {
|
|
10829
|
+
/**
|
|
10830
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
|
|
10831
|
+
* @summary Create
|
|
10832
|
+
* @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
|
|
10833
|
+
* @param {*} [options] Override http request option.
|
|
10834
|
+
* @throws {RequiredError}
|
|
10835
|
+
*/
|
|
10836
|
+
async shopActionControllerCreate(shopActionCreateDTO, options) {
|
|
10837
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerCreate(shopActionCreateDTO, options);
|
|
10838
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10839
|
+
const localVarOperationServerBasePath = operationServerMap['ShopActionApi.shopActionControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
10840
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10841
|
+
},
|
|
10842
|
+
/**
|
|
10843
|
+
* Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
|
|
10844
|
+
* @summary Get available
|
|
10845
|
+
* @param {string} gameServerId
|
|
10846
|
+
* @param {*} [options] Override http request option.
|
|
10847
|
+
* @throws {RequiredError}
|
|
10848
|
+
*/
|
|
10849
|
+
async shopActionControllerGetAvailable(gameServerId, options) {
|
|
10850
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerGetAvailable(gameServerId, options);
|
|
10851
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10852
|
+
const localVarOperationServerBasePath = operationServerMap['ShopActionApi.shopActionControllerGetAvailable']?.[localVarOperationServerIndex]?.url;
|
|
10853
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10854
|
+
},
|
|
10855
|
+
/**
|
|
10856
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
|
|
10857
|
+
* @summary Get executions
|
|
10858
|
+
* @param {string} id
|
|
10859
|
+
* @param {any} [success]
|
|
10860
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10861
|
+
* @param {*} [options] Override http request option.
|
|
10862
|
+
* @throws {RequiredError}
|
|
10863
|
+
*/
|
|
10864
|
+
async shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
10865
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options);
|
|
10866
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10867
|
+
const localVarOperationServerBasePath = operationServerMap['ShopActionApi.shopActionControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
|
|
10868
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10869
|
+
},
|
|
10870
|
+
/**
|
|
10871
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
|
|
10872
|
+
* @summary Get one
|
|
10873
|
+
* @param {string} id
|
|
10874
|
+
* @param {*} [options] Override http request option.
|
|
10875
|
+
* @throws {RequiredError}
|
|
10876
|
+
*/
|
|
10877
|
+
async shopActionControllerGetOne(id, options) {
|
|
10878
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerGetOne(id, options);
|
|
10879
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10880
|
+
const localVarOperationServerBasePath = operationServerMap['ShopActionApi.shopActionControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
10881
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10882
|
+
},
|
|
10883
|
+
/**
|
|
10884
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
|
|
10885
|
+
* @summary Remove
|
|
10886
|
+
* @param {string} id
|
|
10887
|
+
* @param {*} [options] Override http request option.
|
|
10888
|
+
* @throws {RequiredError}
|
|
10889
|
+
*/
|
|
10890
|
+
async shopActionControllerRemove(id, options) {
|
|
10891
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerRemove(id, options);
|
|
10892
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10893
|
+
const localVarOperationServerBasePath = operationServerMap['ShopActionApi.shopActionControllerRemove']?.[localVarOperationServerIndex]?.url;
|
|
10894
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10895
|
+
},
|
|
10896
|
+
/**
|
|
10897
|
+
* Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
|
|
10898
|
+
* @summary Search
|
|
10899
|
+
* @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
|
|
10900
|
+
* @param {*} [options] Override http request option.
|
|
10901
|
+
* @throws {RequiredError}
|
|
10902
|
+
*/
|
|
10903
|
+
async shopActionControllerSearch(shopActionSearchInputDTO, options) {
|
|
10904
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerSearch(shopActionSearchInputDTO, options);
|
|
10905
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10906
|
+
const localVarOperationServerBasePath = operationServerMap['ShopActionApi.shopActionControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
10907
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10908
|
+
},
|
|
10909
|
+
/**
|
|
10910
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
|
|
10911
|
+
* @summary Update
|
|
10912
|
+
* @param {string} id
|
|
10913
|
+
* @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
|
|
10914
|
+
* @param {*} [options] Override http request option.
|
|
10915
|
+
* @throws {RequiredError}
|
|
10916
|
+
*/
|
|
10917
|
+
async shopActionControllerUpdate(id, shopActionUpdateDTO, options) {
|
|
10918
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerUpdate(id, shopActionUpdateDTO, options);
|
|
10919
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
10920
|
+
const localVarOperationServerBasePath = operationServerMap['ShopActionApi.shopActionControllerUpdate']?.[localVarOperationServerIndex]?.url;
|
|
10921
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
10922
|
+
},
|
|
10923
|
+
};
|
|
10924
|
+
};
|
|
10925
|
+
/**
|
|
10926
|
+
* ShopActionApi - factory interface
|
|
10927
|
+
* @export
|
|
10928
|
+
*/
|
|
10929
|
+
export const ShopActionApiFactory = function (configuration, basePath, axios) {
|
|
10930
|
+
const localVarFp = ShopActionApiFp(configuration);
|
|
10931
|
+
return {
|
|
10932
|
+
/**
|
|
10933
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
|
|
10934
|
+
* @summary Create
|
|
10935
|
+
* @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
|
|
10936
|
+
* @param {*} [options] Override http request option.
|
|
10937
|
+
* @throws {RequiredError}
|
|
10938
|
+
*/
|
|
10939
|
+
shopActionControllerCreate(shopActionCreateDTO, options) {
|
|
10940
|
+
return localVarFp
|
|
10941
|
+
.shopActionControllerCreate(shopActionCreateDTO, options)
|
|
10942
|
+
.then((request) => request(axios, basePath));
|
|
10943
|
+
},
|
|
10944
|
+
/**
|
|
10945
|
+
* Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
|
|
10946
|
+
* @summary Get available
|
|
10947
|
+
* @param {string} gameServerId
|
|
10948
|
+
* @param {*} [options] Override http request option.
|
|
10949
|
+
* @throws {RequiredError}
|
|
10950
|
+
*/
|
|
10951
|
+
shopActionControllerGetAvailable(gameServerId, options) {
|
|
10952
|
+
return localVarFp
|
|
10953
|
+
.shopActionControllerGetAvailable(gameServerId, options)
|
|
10954
|
+
.then((request) => request(axios, basePath));
|
|
10955
|
+
},
|
|
10956
|
+
/**
|
|
10957
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
|
|
10958
|
+
* @summary Get executions
|
|
10959
|
+
* @param {string} id
|
|
10960
|
+
* @param {any} [success]
|
|
10961
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
10962
|
+
* @param {*} [options] Override http request option.
|
|
10963
|
+
* @throws {RequiredError}
|
|
10964
|
+
*/
|
|
10965
|
+
shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
10966
|
+
return localVarFp
|
|
10967
|
+
.shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options)
|
|
10968
|
+
.then((request) => request(axios, basePath));
|
|
10969
|
+
},
|
|
10970
|
+
/**
|
|
10971
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
|
|
10972
|
+
* @summary Get one
|
|
10973
|
+
* @param {string} id
|
|
10974
|
+
* @param {*} [options] Override http request option.
|
|
10975
|
+
* @throws {RequiredError}
|
|
10976
|
+
*/
|
|
10977
|
+
shopActionControllerGetOne(id, options) {
|
|
10978
|
+
return localVarFp.shopActionControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
10979
|
+
},
|
|
10980
|
+
/**
|
|
10981
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
|
|
10982
|
+
* @summary Remove
|
|
10983
|
+
* @param {string} id
|
|
10984
|
+
* @param {*} [options] Override http request option.
|
|
10985
|
+
* @throws {RequiredError}
|
|
10986
|
+
*/
|
|
10987
|
+
shopActionControllerRemove(id, options) {
|
|
10988
|
+
return localVarFp.shopActionControllerRemove(id, options).then((request) => request(axios, basePath));
|
|
10989
|
+
},
|
|
10990
|
+
/**
|
|
10991
|
+
* Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
|
|
10992
|
+
* @summary Search
|
|
10993
|
+
* @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
|
|
10994
|
+
* @param {*} [options] Override http request option.
|
|
10995
|
+
* @throws {RequiredError}
|
|
10996
|
+
*/
|
|
10997
|
+
shopActionControllerSearch(shopActionSearchInputDTO, options) {
|
|
10998
|
+
return localVarFp
|
|
10999
|
+
.shopActionControllerSearch(shopActionSearchInputDTO, options)
|
|
11000
|
+
.then((request) => request(axios, basePath));
|
|
11001
|
+
},
|
|
11002
|
+
/**
|
|
11003
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
|
|
11004
|
+
* @summary Update
|
|
11005
|
+
* @param {string} id
|
|
11006
|
+
* @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
|
|
11007
|
+
* @param {*} [options] Override http request option.
|
|
11008
|
+
* @throws {RequiredError}
|
|
11009
|
+
*/
|
|
11010
|
+
shopActionControllerUpdate(id, shopActionUpdateDTO, options) {
|
|
11011
|
+
return localVarFp
|
|
11012
|
+
.shopActionControllerUpdate(id, shopActionUpdateDTO, options)
|
|
11013
|
+
.then((request) => request(axios, basePath));
|
|
11014
|
+
},
|
|
11015
|
+
};
|
|
11016
|
+
};
|
|
11017
|
+
/**
|
|
11018
|
+
* ShopActionApi - object-oriented interface
|
|
11019
|
+
* @export
|
|
11020
|
+
* @class ShopActionApi
|
|
11021
|
+
* @extends {BaseAPI}
|
|
11022
|
+
*/
|
|
11023
|
+
export class ShopActionApi extends BaseAPI {
|
|
11024
|
+
/**
|
|
11025
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
|
|
11026
|
+
* @summary Create
|
|
11027
|
+
* @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
|
|
11028
|
+
* @param {*} [options] Override http request option.
|
|
11029
|
+
* @throws {RequiredError}
|
|
11030
|
+
* @memberof ShopActionApi
|
|
11031
|
+
*/
|
|
11032
|
+
shopActionControllerCreate(shopActionCreateDTO, options) {
|
|
11033
|
+
return ShopActionApiFp(this.configuration)
|
|
11034
|
+
.shopActionControllerCreate(shopActionCreateDTO, options)
|
|
11035
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11036
|
+
}
|
|
11037
|
+
/**
|
|
11038
|
+
* Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
|
|
11039
|
+
* @summary Get available
|
|
11040
|
+
* @param {string} gameServerId
|
|
11041
|
+
* @param {*} [options] Override http request option.
|
|
11042
|
+
* @throws {RequiredError}
|
|
11043
|
+
* @memberof ShopActionApi
|
|
11044
|
+
*/
|
|
11045
|
+
shopActionControllerGetAvailable(gameServerId, options) {
|
|
11046
|
+
return ShopActionApiFp(this.configuration)
|
|
11047
|
+
.shopActionControllerGetAvailable(gameServerId, options)
|
|
11048
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11049
|
+
}
|
|
11050
|
+
/**
|
|
11051
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
|
|
11052
|
+
* @summary Get executions
|
|
11053
|
+
* @param {string} id
|
|
11054
|
+
* @param {any} [success]
|
|
11055
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
11056
|
+
* @param {*} [options] Override http request option.
|
|
11057
|
+
* @throws {RequiredError}
|
|
11058
|
+
* @memberof ShopActionApi
|
|
11059
|
+
*/
|
|
11060
|
+
shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options) {
|
|
11061
|
+
return ShopActionApiFp(this.configuration)
|
|
11062
|
+
.shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options)
|
|
11063
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11064
|
+
}
|
|
11065
|
+
/**
|
|
11066
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
|
|
11067
|
+
* @summary Get one
|
|
11068
|
+
* @param {string} id
|
|
11069
|
+
* @param {*} [options] Override http request option.
|
|
11070
|
+
* @throws {RequiredError}
|
|
11071
|
+
* @memberof ShopActionApi
|
|
11072
|
+
*/
|
|
11073
|
+
shopActionControllerGetOne(id, options) {
|
|
11074
|
+
return ShopActionApiFp(this.configuration)
|
|
11075
|
+
.shopActionControllerGetOne(id, options)
|
|
11076
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11077
|
+
}
|
|
11078
|
+
/**
|
|
11079
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
|
|
11080
|
+
* @summary Remove
|
|
11081
|
+
* @param {string} id
|
|
11082
|
+
* @param {*} [options] Override http request option.
|
|
11083
|
+
* @throws {RequiredError}
|
|
11084
|
+
* @memberof ShopActionApi
|
|
11085
|
+
*/
|
|
11086
|
+
shopActionControllerRemove(id, options) {
|
|
11087
|
+
return ShopActionApiFp(this.configuration)
|
|
11088
|
+
.shopActionControllerRemove(id, options)
|
|
11089
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11090
|
+
}
|
|
11091
|
+
/**
|
|
11092
|
+
* Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
|
|
11093
|
+
* @summary Search
|
|
11094
|
+
* @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
|
|
11095
|
+
* @param {*} [options] Override http request option.
|
|
11096
|
+
* @throws {RequiredError}
|
|
11097
|
+
* @memberof ShopActionApi
|
|
11098
|
+
*/
|
|
11099
|
+
shopActionControllerSearch(shopActionSearchInputDTO, options) {
|
|
11100
|
+
return ShopActionApiFp(this.configuration)
|
|
11101
|
+
.shopActionControllerSearch(shopActionSearchInputDTO, options)
|
|
11102
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11103
|
+
}
|
|
11104
|
+
/**
|
|
11105
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
|
|
11106
|
+
* @summary Update
|
|
11107
|
+
* @param {string} id
|
|
11108
|
+
* @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
|
|
11109
|
+
* @param {*} [options] Override http request option.
|
|
11110
|
+
* @throws {RequiredError}
|
|
11111
|
+
* @memberof ShopActionApi
|
|
11112
|
+
*/
|
|
11113
|
+
shopActionControllerUpdate(id, shopActionUpdateDTO, options) {
|
|
11114
|
+
return ShopActionApiFp(this.configuration)
|
|
11115
|
+
.shopActionControllerUpdate(id, shopActionUpdateDTO, options)
|
|
11116
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11117
|
+
}
|
|
11118
|
+
}
|
|
10577
11119
|
/**
|
|
10578
11120
|
* ShopCategoryApi - axios parameter creator
|
|
10579
11121
|
* @export
|
|
@@ -10841,9 +11383,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10841
11383
|
*/
|
|
10842
11384
|
async shopCategoryControllerBulkAssign(shopCategoryBulkAssignDTO, options) {
|
|
10843
11385
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerBulkAssign(shopCategoryBulkAssignDTO, options);
|
|
10844
|
-
const
|
|
10845
|
-
const
|
|
10846
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11386
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11387
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerBulkAssign']?.[index]?.url;
|
|
11388
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10847
11389
|
},
|
|
10848
11390
|
/**
|
|
10849
11391
|
* Create a new shop category Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerCreate`
|
|
@@ -10854,9 +11396,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10854
11396
|
*/
|
|
10855
11397
|
async shopCategoryControllerCreate(shopCategoryCreateDTO, options) {
|
|
10856
11398
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerCreate(shopCategoryCreateDTO, options);
|
|
10857
|
-
const
|
|
10858
|
-
const
|
|
10859
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11399
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11400
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerCreate']?.[index]?.url;
|
|
11401
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10860
11402
|
},
|
|
10861
11403
|
/**
|
|
10862
11404
|
* Get all shop categories<br> OperationId: `ShopCategoryControllerGetAll`
|
|
@@ -10867,9 +11409,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10867
11409
|
*/
|
|
10868
11410
|
async shopCategoryControllerGetAll(gameServerId, options) {
|
|
10869
11411
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerGetAll(gameServerId, options);
|
|
10870
|
-
const
|
|
10871
|
-
const
|
|
10872
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11412
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11413
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerGetAll']?.[index]?.url;
|
|
11414
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10873
11415
|
},
|
|
10874
11416
|
/**
|
|
10875
11417
|
* Get a shop category by id<br> OperationId: `ShopCategoryControllerGetOne`
|
|
@@ -10881,9 +11423,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10881
11423
|
*/
|
|
10882
11424
|
async shopCategoryControllerGetOne(id, gameServerId, options) {
|
|
10883
11425
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerGetOne(id, gameServerId, options);
|
|
10884
|
-
const
|
|
10885
|
-
const
|
|
10886
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11426
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11427
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerGetOne']?.[index]?.url;
|
|
11428
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10887
11429
|
},
|
|
10888
11430
|
/**
|
|
10889
11431
|
* Move a shop category to a different parent Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerMove`
|
|
@@ -10895,9 +11437,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10895
11437
|
*/
|
|
10896
11438
|
async shopCategoryControllerMove(id, shopCategoryMoveDTO, options) {
|
|
10897
11439
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerMove(id, shopCategoryMoveDTO, options);
|
|
10898
|
-
const
|
|
10899
|
-
const
|
|
10900
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11440
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11441
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerMove']?.[index]?.url;
|
|
11442
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10901
11443
|
},
|
|
10902
11444
|
/**
|
|
10903
11445
|
* Delete a shop category Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerRemove`
|
|
@@ -10908,9 +11450,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10908
11450
|
*/
|
|
10909
11451
|
async shopCategoryControllerRemove(id, options) {
|
|
10910
11452
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerRemove(id, options);
|
|
10911
|
-
const
|
|
10912
|
-
const
|
|
10913
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11453
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11454
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerRemove']?.[index]?.url;
|
|
11455
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10914
11456
|
},
|
|
10915
11457
|
/**
|
|
10916
11458
|
* Search shop categories<br> OperationId: `ShopCategoryControllerSearch`
|
|
@@ -10921,9 +11463,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10921
11463
|
*/
|
|
10922
11464
|
async shopCategoryControllerSearch(shopCategorySearchInputDTO, options) {
|
|
10923
11465
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerSearch(shopCategorySearchInputDTO, options);
|
|
10924
|
-
const
|
|
10925
|
-
const
|
|
10926
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11466
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11467
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerSearch']?.[index]?.url;
|
|
11468
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10927
11469
|
},
|
|
10928
11470
|
/**
|
|
10929
11471
|
* Update a shop category Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerUpdate`
|
|
@@ -10935,9 +11477,9 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
10935
11477
|
*/
|
|
10936
11478
|
async shopCategoryControllerUpdate(id, shopCategoryUpdateDTO, options) {
|
|
10937
11479
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerUpdate(id, shopCategoryUpdateDTO, options);
|
|
10938
|
-
const
|
|
10939
|
-
const
|
|
10940
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11480
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11481
|
+
const operationBasePath = operationServerMap['ShopCategoryApi.shopCategoryControllerUpdate']?.[index]?.url;
|
|
11482
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
10941
11483
|
},
|
|
10942
11484
|
};
|
|
10943
11485
|
};
|
|
@@ -11358,9 +11900,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11358
11900
|
*/
|
|
11359
11901
|
async shopListingControllerCreate(shopListingCreateDTO, options) {
|
|
11360
11902
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerCreate(shopListingCreateDTO, options);
|
|
11361
|
-
const
|
|
11362
|
-
const
|
|
11363
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11903
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11904
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerCreate']?.[index]?.url;
|
|
11905
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11364
11906
|
},
|
|
11365
11907
|
/**
|
|
11366
11908
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerDelete`
|
|
@@ -11371,9 +11913,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11371
11913
|
*/
|
|
11372
11914
|
async shopListingControllerDelete(id, options) {
|
|
11373
11915
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerDelete(id, options);
|
|
11374
|
-
const
|
|
11375
|
-
const
|
|
11376
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11916
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11917
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerDelete']?.[index]?.url;
|
|
11918
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11377
11919
|
},
|
|
11378
11920
|
/**
|
|
11379
11921
|
* <br> OperationId: `ShopListingControllerGetOne`
|
|
@@ -11384,9 +11926,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11384
11926
|
*/
|
|
11385
11927
|
async shopListingControllerGetOne(id, options) {
|
|
11386
11928
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerGetOne(id, options);
|
|
11387
|
-
const
|
|
11388
|
-
const
|
|
11389
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11929
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11930
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerGetOne']?.[index]?.url;
|
|
11931
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11390
11932
|
},
|
|
11391
11933
|
/**
|
|
11392
11934
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerImportListings`
|
|
@@ -11396,9 +11938,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11396
11938
|
*/
|
|
11397
11939
|
async shopListingControllerImportListings(options) {
|
|
11398
11940
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerImportListings(options);
|
|
11399
|
-
const
|
|
11400
|
-
const
|
|
11401
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11941
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11942
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerImportListings']?.[index]?.url;
|
|
11943
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11402
11944
|
},
|
|
11403
11945
|
/**
|
|
11404
11946
|
* Search shop listings<br> OperationId: `ShopListingControllerSearch`
|
|
@@ -11409,9 +11951,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11409
11951
|
*/
|
|
11410
11952
|
async shopListingControllerSearch(shopListingSearchInputDTO, options) {
|
|
11411
11953
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerSearch(shopListingSearchInputDTO, options);
|
|
11412
|
-
const
|
|
11413
|
-
const
|
|
11414
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11954
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11955
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerSearch']?.[index]?.url;
|
|
11956
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11415
11957
|
},
|
|
11416
11958
|
/**
|
|
11417
11959
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerUpdate`
|
|
@@ -11423,9 +11965,9 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11423
11965
|
*/
|
|
11424
11966
|
async shopListingControllerUpdate(id, shopListingUpdateDTO, options) {
|
|
11425
11967
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerUpdate(id, shopListingUpdateDTO, options);
|
|
11426
|
-
const
|
|
11427
|
-
const
|
|
11428
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
11968
|
+
const index = configuration?.serverIndex ?? 0;
|
|
11969
|
+
const operationBasePath = operationServerMap['ShopListingApi.shopListingControllerUpdate']?.[index]?.url;
|
|
11970
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11429
11971
|
},
|
|
11430
11972
|
};
|
|
11431
11973
|
};
|
|
@@ -11759,9 +12301,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
11759
12301
|
*/
|
|
11760
12302
|
async shopOrderControllerCancel(id, options) {
|
|
11761
12303
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCancel(id, options);
|
|
11762
|
-
const
|
|
11763
|
-
const
|
|
11764
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12304
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12305
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerCancel']?.[index]?.url;
|
|
12306
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11765
12307
|
},
|
|
11766
12308
|
/**
|
|
11767
12309
|
* Claiming an order will mark it as completed and give the user the item in-game<br> OperationId: `ShopOrderControllerClaim`
|
|
@@ -11772,9 +12314,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
11772
12314
|
*/
|
|
11773
12315
|
async shopOrderControllerClaim(id, options) {
|
|
11774
12316
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerClaim(id, options);
|
|
11775
|
-
const
|
|
11776
|
-
const
|
|
11777
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12317
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12318
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerClaim']?.[index]?.url;
|
|
12319
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11778
12320
|
},
|
|
11779
12321
|
/**
|
|
11780
12322
|
* <br> OperationId: `ShopOrderControllerCreate`
|
|
@@ -11785,9 +12327,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
11785
12327
|
*/
|
|
11786
12328
|
async shopOrderControllerCreate(shopOrderCreateDTO, options) {
|
|
11787
12329
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerCreate(shopOrderCreateDTO, options);
|
|
11788
|
-
const
|
|
11789
|
-
const
|
|
11790
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12330
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12331
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerCreate']?.[index]?.url;
|
|
12332
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11791
12333
|
},
|
|
11792
12334
|
/**
|
|
11793
12335
|
* Get an order by its ID. This endpoint only returns orders that belong to the caller. When the caller has permission to view all orders, they can get any order.<br> OperationId: `ShopOrderControllerGetOne`
|
|
@@ -11798,9 +12340,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
11798
12340
|
*/
|
|
11799
12341
|
async shopOrderControllerGetOne(id, options) {
|
|
11800
12342
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerGetOne(id, options);
|
|
11801
|
-
const
|
|
11802
|
-
const
|
|
11803
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12343
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12344
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerGetOne']?.[index]?.url;
|
|
12345
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11804
12346
|
},
|
|
11805
12347
|
/**
|
|
11806
12348
|
* Search for orders. By default, this endpoint only returns your own orders. When the caller has permission to view all orders, they can search for all orders.<br> OperationId: `ShopOrderControllerSearch`
|
|
@@ -11811,9 +12353,9 @@ export const ShopOrderApiFp = function (configuration) {
|
|
|
11811
12353
|
*/
|
|
11812
12354
|
async shopOrderControllerSearch(shopOrderSearchInputDTO, options) {
|
|
11813
12355
|
const localVarAxiosArgs = await localVarAxiosParamCreator.shopOrderControllerSearch(shopOrderSearchInputDTO, options);
|
|
11814
|
-
const
|
|
11815
|
-
const
|
|
11816
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12356
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12357
|
+
const operationBasePath = operationServerMap['ShopOrderApi.shopOrderControllerSearch']?.[index]?.url;
|
|
12358
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
11817
12359
|
},
|
|
11818
12360
|
};
|
|
11819
12361
|
};
|
|
@@ -11965,8 +12507,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
11965
12507
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
11966
12508
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
11967
12509
|
* @param {string} [gameServerId]
|
|
11968
|
-
* @param {
|
|
11969
|
-
* @param {
|
|
12510
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12511
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
11970
12512
|
* @param {*} [options] Override http request option.
|
|
11971
12513
|
* @throws {RequiredError}
|
|
11972
12514
|
*/
|
|
@@ -12044,8 +12586,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12044
12586
|
* @summary Get currency stats
|
|
12045
12587
|
* @param {string} gameServerId
|
|
12046
12588
|
* @param {string} [playerId]
|
|
12047
|
-
* @param {
|
|
12048
|
-
* @param {
|
|
12589
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12590
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12049
12591
|
* @param {*} [options] Override http request option.
|
|
12050
12592
|
* @throws {RequiredError}
|
|
12051
12593
|
*/
|
|
@@ -12093,8 +12635,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12093
12635
|
* @param {string} [moduleId]
|
|
12094
12636
|
* @param {string} [playerId]
|
|
12095
12637
|
* @param {string} [userId]
|
|
12096
|
-
* @param {
|
|
12097
|
-
* @param {
|
|
12638
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12639
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12098
12640
|
* @param {*} [options] Override http request option.
|
|
12099
12641
|
* @throws {RequiredError}
|
|
12100
12642
|
*/
|
|
@@ -12153,8 +12695,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12153
12695
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
12154
12696
|
* @summary Get latency stats
|
|
12155
12697
|
* @param {string} gameServerId
|
|
12156
|
-
* @param {
|
|
12157
|
-
* @param {
|
|
12698
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12699
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12158
12700
|
* @param {*} [options] Override http request option.
|
|
12159
12701
|
* @throws {RequiredError}
|
|
12160
12702
|
*/
|
|
@@ -12194,8 +12736,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12194
12736
|
* @summary Get ping stats
|
|
12195
12737
|
* @param {string} gameServerId
|
|
12196
12738
|
* @param {string} playerId
|
|
12197
|
-
* @param {
|
|
12198
|
-
* @param {
|
|
12739
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12740
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12199
12741
|
* @param {*} [options] Override http request option.
|
|
12200
12742
|
* @throws {RequiredError}
|
|
12201
12743
|
*/
|
|
@@ -12239,8 +12781,8 @@ export const StatsApiAxiosParamCreator = function (configuration) {
|
|
|
12239
12781
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
12240
12782
|
* @summary Get player online stats
|
|
12241
12783
|
* @param {string} [gameServerId]
|
|
12242
|
-
* @param {
|
|
12243
|
-
* @param {
|
|
12784
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12785
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12244
12786
|
* @param {*} [options] Override http request option.
|
|
12245
12787
|
* @throws {RequiredError}
|
|
12246
12788
|
*/
|
|
@@ -12288,16 +12830,16 @@ export const StatsApiFp = function (configuration) {
|
|
|
12288
12830
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
12289
12831
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
12290
12832
|
* @param {string} [gameServerId]
|
|
12291
|
-
* @param {
|
|
12292
|
-
* @param {
|
|
12833
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12834
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12293
12835
|
* @param {*} [options] Override http request option.
|
|
12294
12836
|
* @throws {RequiredError}
|
|
12295
12837
|
*/
|
|
12296
12838
|
async statsControllerGetActivityStats(timeType, dataType, gameServerId, startDate, endDate, options) {
|
|
12297
12839
|
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,
|
|
12840
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12841
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetActivityStats']?.[index]?.url;
|
|
12842
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12301
12843
|
},
|
|
12302
12844
|
/**
|
|
12303
12845
|
* Calculates how many players are from each country. Returns a count per country (ISO3166). Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetCountryStats`
|
|
@@ -12308,25 +12850,25 @@ export const StatsApiFp = function (configuration) {
|
|
|
12308
12850
|
*/
|
|
12309
12851
|
async statsControllerGetCountryStats(gameServerId, options) {
|
|
12310
12852
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetCountryStats(gameServerId, options);
|
|
12311
|
-
const
|
|
12312
|
-
const
|
|
12313
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12853
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12854
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetCountryStats']?.[index]?.url;
|
|
12855
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12314
12856
|
},
|
|
12315
12857
|
/**
|
|
12316
12858
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetCurrencyStats`
|
|
12317
12859
|
* @summary Get currency stats
|
|
12318
12860
|
* @param {string} gameServerId
|
|
12319
12861
|
* @param {string} [playerId]
|
|
12320
|
-
* @param {
|
|
12321
|
-
* @param {
|
|
12862
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12863
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12322
12864
|
* @param {*} [options] Override http request option.
|
|
12323
12865
|
* @throws {RequiredError}
|
|
12324
12866
|
*/
|
|
12325
12867
|
async statsControllerGetCurrencyStats(gameServerId, playerId, startDate, endDate, options) {
|
|
12326
12868
|
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,
|
|
12869
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12870
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetCurrencyStats']?.[index]?.url;
|
|
12871
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12330
12872
|
},
|
|
12331
12873
|
/**
|
|
12332
12874
|
* Calculates how many times an event type has occured over `bucketStep` time. Supports different filters and can return multiple series at a time. Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetEventsCount`
|
|
@@ -12338,62 +12880,62 @@ export const StatsApiFp = function (configuration) {
|
|
|
12338
12880
|
* @param {string} [moduleId]
|
|
12339
12881
|
* @param {string} [playerId]
|
|
12340
12882
|
* @param {string} [userId]
|
|
12341
|
-
* @param {
|
|
12342
|
-
* @param {
|
|
12883
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12884
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12343
12885
|
* @param {*} [options] Override http request option.
|
|
12344
12886
|
* @throws {RequiredError}
|
|
12345
12887
|
*/
|
|
12346
12888
|
async statsControllerGetEventsCount(eventName, bucketStep, sumBy, gameServerId, moduleId, playerId, userId, startDate, endDate, options) {
|
|
12347
12889
|
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,
|
|
12890
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12891
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetEventsCount']?.[index]?.url;
|
|
12892
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12351
12893
|
},
|
|
12352
12894
|
/**
|
|
12353
12895
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
12354
12896
|
* @summary Get latency stats
|
|
12355
12897
|
* @param {string} gameServerId
|
|
12356
|
-
* @param {
|
|
12357
|
-
* @param {
|
|
12898
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12899
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12358
12900
|
* @param {*} [options] Override http request option.
|
|
12359
12901
|
* @throws {RequiredError}
|
|
12360
12902
|
*/
|
|
12361
12903
|
async statsControllerGetLatencyStats(gameServerId, startDate, endDate, options) {
|
|
12362
12904
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetLatencyStats(gameServerId, startDate, endDate, options);
|
|
12363
|
-
const
|
|
12364
|
-
const
|
|
12365
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12905
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12906
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetLatencyStats']?.[index]?.url;
|
|
12907
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12366
12908
|
},
|
|
12367
12909
|
/**
|
|
12368
12910
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPingStats`
|
|
12369
12911
|
* @summary Get ping stats
|
|
12370
12912
|
* @param {string} gameServerId
|
|
12371
12913
|
* @param {string} playerId
|
|
12372
|
-
* @param {
|
|
12373
|
-
* @param {
|
|
12914
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12915
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12374
12916
|
* @param {*} [options] Override http request option.
|
|
12375
12917
|
* @throws {RequiredError}
|
|
12376
12918
|
*/
|
|
12377
12919
|
async statsControllerGetPingStats(gameServerId, playerId, startDate, endDate, options) {
|
|
12378
12920
|
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,
|
|
12921
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12922
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetPingStats']?.[index]?.url;
|
|
12923
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12382
12924
|
},
|
|
12383
12925
|
/**
|
|
12384
12926
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
12385
12927
|
* @summary Get player online stats
|
|
12386
12928
|
* @param {string} [gameServerId]
|
|
12387
|
-
* @param {
|
|
12388
|
-
* @param {
|
|
12929
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12930
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12389
12931
|
* @param {*} [options] Override http request option.
|
|
12390
12932
|
* @throws {RequiredError}
|
|
12391
12933
|
*/
|
|
12392
12934
|
async statsControllerGetPlayerOnlineStats(gameServerId, startDate, endDate, options) {
|
|
12393
12935
|
const localVarAxiosArgs = await localVarAxiosParamCreator.statsControllerGetPlayerOnlineStats(gameServerId, startDate, endDate, options);
|
|
12394
|
-
const
|
|
12395
|
-
const
|
|
12396
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
12936
|
+
const index = configuration?.serverIndex ?? 0;
|
|
12937
|
+
const operationBasePath = operationServerMap['StatsApi.statsControllerGetPlayerOnlineStats']?.[index]?.url;
|
|
12938
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12397
12939
|
},
|
|
12398
12940
|
};
|
|
12399
12941
|
};
|
|
@@ -12410,8 +12952,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12410
12952
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
12411
12953
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
12412
12954
|
* @param {string} [gameServerId]
|
|
12413
|
-
* @param {
|
|
12414
|
-
* @param {
|
|
12955
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12956
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12415
12957
|
* @param {*} [options] Override http request option.
|
|
12416
12958
|
* @throws {RequiredError}
|
|
12417
12959
|
*/
|
|
@@ -12437,8 +12979,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12437
12979
|
* @summary Get currency stats
|
|
12438
12980
|
* @param {string} gameServerId
|
|
12439
12981
|
* @param {string} [playerId]
|
|
12440
|
-
* @param {
|
|
12441
|
-
* @param {
|
|
12982
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
12983
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12442
12984
|
* @param {*} [options] Override http request option.
|
|
12443
12985
|
* @throws {RequiredError}
|
|
12444
12986
|
*/
|
|
@@ -12457,8 +12999,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12457
12999
|
* @param {string} [moduleId]
|
|
12458
13000
|
* @param {string} [playerId]
|
|
12459
13001
|
* @param {string} [userId]
|
|
12460
|
-
* @param {
|
|
12461
|
-
* @param {
|
|
13002
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13003
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12462
13004
|
* @param {*} [options] Override http request option.
|
|
12463
13005
|
* @throws {RequiredError}
|
|
12464
13006
|
*/
|
|
@@ -12471,8 +13013,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12471
13013
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
12472
13014
|
* @summary Get latency stats
|
|
12473
13015
|
* @param {string} gameServerId
|
|
12474
|
-
* @param {
|
|
12475
|
-
* @param {
|
|
13016
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13017
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12476
13018
|
* @param {*} [options] Override http request option.
|
|
12477
13019
|
* @throws {RequiredError}
|
|
12478
13020
|
*/
|
|
@@ -12486,8 +13028,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12486
13028
|
* @summary Get ping stats
|
|
12487
13029
|
* @param {string} gameServerId
|
|
12488
13030
|
* @param {string} playerId
|
|
12489
|
-
* @param {
|
|
12490
|
-
* @param {
|
|
13031
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13032
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12491
13033
|
* @param {*} [options] Override http request option.
|
|
12492
13034
|
* @throws {RequiredError}
|
|
12493
13035
|
*/
|
|
@@ -12500,8 +13042,8 @@ export const StatsApiFactory = function (configuration, basePath, axios) {
|
|
|
12500
13042
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
12501
13043
|
* @summary Get player online stats
|
|
12502
13044
|
* @param {string} [gameServerId]
|
|
12503
|
-
* @param {
|
|
12504
|
-
* @param {
|
|
13045
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13046
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12505
13047
|
* @param {*} [options] Override http request option.
|
|
12506
13048
|
* @throws {RequiredError}
|
|
12507
13049
|
*/
|
|
@@ -12525,8 +13067,8 @@ export class StatsApi extends BaseAPI {
|
|
|
12525
13067
|
* @param {StatsControllerGetActivityStatsTimeTypeEnum} timeType
|
|
12526
13068
|
* @param {StatsControllerGetActivityStatsDataTypeEnum} dataType
|
|
12527
13069
|
* @param {string} [gameServerId]
|
|
12528
|
-
* @param {
|
|
12529
|
-
* @param {
|
|
13070
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13071
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12530
13072
|
* @param {*} [options] Override http request option.
|
|
12531
13073
|
* @throws {RequiredError}
|
|
12532
13074
|
* @memberof StatsApi
|
|
@@ -12554,8 +13096,8 @@ export class StatsApi extends BaseAPI {
|
|
|
12554
13096
|
* @summary Get currency stats
|
|
12555
13097
|
* @param {string} gameServerId
|
|
12556
13098
|
* @param {string} [playerId]
|
|
12557
|
-
* @param {
|
|
12558
|
-
* @param {
|
|
13099
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13100
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12559
13101
|
* @param {*} [options] Override http request option.
|
|
12560
13102
|
* @throws {RequiredError}
|
|
12561
13103
|
* @memberof StatsApi
|
|
@@ -12575,8 +13117,8 @@ export class StatsApi extends BaseAPI {
|
|
|
12575
13117
|
* @param {string} [moduleId]
|
|
12576
13118
|
* @param {string} [playerId]
|
|
12577
13119
|
* @param {string} [userId]
|
|
12578
|
-
* @param {
|
|
12579
|
-
* @param {
|
|
13120
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13121
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12580
13122
|
* @param {*} [options] Override http request option.
|
|
12581
13123
|
* @throws {RequiredError}
|
|
12582
13124
|
* @memberof StatsApi
|
|
@@ -12590,8 +13132,8 @@ export class StatsApi extends BaseAPI {
|
|
|
12590
13132
|
* The roundtrip time for reachability tests between Takaro and the game server<br> OperationId: `StatsControllerGetLatencyStats`
|
|
12591
13133
|
* @summary Get latency stats
|
|
12592
13134
|
* @param {string} gameServerId
|
|
12593
|
-
* @param {
|
|
12594
|
-
* @param {
|
|
13135
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13136
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12595
13137
|
* @param {*} [options] Override http request option.
|
|
12596
13138
|
* @throws {RequiredError}
|
|
12597
13139
|
* @memberof StatsApi
|
|
@@ -12606,8 +13148,8 @@ export class StatsApi extends BaseAPI {
|
|
|
12606
13148
|
* @summary Get ping stats
|
|
12607
13149
|
* @param {string} gameServerId
|
|
12608
13150
|
* @param {string} playerId
|
|
12609
|
-
* @param {
|
|
12610
|
-
* @param {
|
|
13151
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13152
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12611
13153
|
* @param {*} [options] Override http request option.
|
|
12612
13154
|
* @throws {RequiredError}
|
|
12613
13155
|
* @memberof StatsApi
|
|
@@ -12621,8 +13163,8 @@ export class StatsApi extends BaseAPI {
|
|
|
12621
13163
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `StatsControllerGetPlayerOnlineStats`
|
|
12622
13164
|
* @summary Get player online stats
|
|
12623
13165
|
* @param {string} [gameServerId]
|
|
12624
|
-
* @param {
|
|
12625
|
-
* @param {
|
|
13166
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [startDate]
|
|
13167
|
+
* @param {StatsControllerGetPingStatsStartDateParameter} [endDate]
|
|
12626
13168
|
* @param {*} [options] Override http request option.
|
|
12627
13169
|
* @throws {RequiredError}
|
|
12628
13170
|
* @memberof StatsApi
|
|
@@ -12687,6 +13229,8 @@ export const StatsControllerGetEventsCountEventNameEnum = {
|
|
|
12687
13229
|
PlayerBanned: 'player-banned',
|
|
12688
13230
|
PlayerUnbanned: 'player-unbanned',
|
|
12689
13231
|
PlayerDeleted: 'player-deleted',
|
|
13232
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
13233
|
+
PlayerInventoryChanged: 'player-inventory-changed',
|
|
12690
13234
|
PlayerConnected: 'player-connected',
|
|
12691
13235
|
PlayerDisconnected: 'player-disconnected',
|
|
12692
13236
|
ChatMessage: 'chat-message',
|
|
@@ -12882,9 +13426,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
12882
13426
|
*/
|
|
12883
13427
|
async trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options) {
|
|
12884
13428
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options);
|
|
12885
|
-
const
|
|
12886
|
-
const
|
|
12887
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
13429
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13430
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetBoundingBoxPlayers']?.[index]?.url;
|
|
13431
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12888
13432
|
},
|
|
12889
13433
|
/**
|
|
12890
13434
|
* Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
|
|
@@ -12895,10 +13439,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
12895
13439
|
*/
|
|
12896
13440
|
async trackingControllerGetPlayerInventoryHistory(playerInventoryHistoryInputDTO, options) {
|
|
12897
13441
|
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);
|
|
13442
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13443
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetPlayerInventoryHistory']?.[index]?.url;
|
|
13444
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12902
13445
|
},
|
|
12903
13446
|
/**
|
|
12904
13447
|
* Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
|
|
@@ -12909,10 +13452,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
12909
13452
|
*/
|
|
12910
13453
|
async trackingControllerGetPlayerMovementHistory(playerMovementHistoryInputDTO, options) {
|
|
12911
13454
|
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);
|
|
13455
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13456
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetPlayerMovementHistory']?.[index]?.url;
|
|
13457
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12916
13458
|
},
|
|
12917
13459
|
/**
|
|
12918
13460
|
* Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
|
|
@@ -12923,9 +13465,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
12923
13465
|
*/
|
|
12924
13466
|
async trackingControllerGetPlayersByItem(playersByItemInputDTO, options) {
|
|
12925
13467
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPlayersByItem(playersByItemInputDTO, options);
|
|
12926
|
-
const
|
|
12927
|
-
const
|
|
12928
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
13468
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13469
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetPlayersByItem']?.[index]?.url;
|
|
13470
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12929
13471
|
},
|
|
12930
13472
|
/**
|
|
12931
13473
|
* Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
|
|
@@ -12936,9 +13478,9 @@ export const TrackingApiFp = function (configuration) {
|
|
|
12936
13478
|
*/
|
|
12937
13479
|
async trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options) {
|
|
12938
13480
|
const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options);
|
|
12939
|
-
const
|
|
12940
|
-
const
|
|
12941
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
13481
|
+
const index = configuration?.serverIndex ?? 0;
|
|
13482
|
+
const operationBasePath = operationServerMap['TrackingApi.trackingControllerGetRadiusPlayers']?.[index]?.url;
|
|
13483
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
12942
13484
|
},
|
|
12943
13485
|
};
|
|
12944
13486
|
};
|
|
@@ -13523,9 +14065,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13523
14065
|
*/
|
|
13524
14066
|
async userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options) {
|
|
13525
14067
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerAssignRole(id, roleId, userRoleAssignChangeDTO, options);
|
|
13526
|
-
const
|
|
13527
|
-
const
|
|
13528
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14068
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14069
|
+
const operationBasePath = operationServerMap['UserApi.userControllerAssignRole']?.[index]?.url;
|
|
14070
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13529
14071
|
},
|
|
13530
14072
|
/**
|
|
13531
14073
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerCreate`
|
|
@@ -13536,9 +14078,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13536
14078
|
*/
|
|
13537
14079
|
async userControllerCreate(userCreateInputDTO, options) {
|
|
13538
14080
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerCreate(userCreateInputDTO, options);
|
|
13539
|
-
const
|
|
13540
|
-
const
|
|
13541
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14081
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14082
|
+
const operationBasePath = operationServerMap['UserApi.userControllerCreate']?.[index]?.url;
|
|
14083
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13542
14084
|
},
|
|
13543
14085
|
/**
|
|
13544
14086
|
* Unset the selected domain for the user, this will clear the domain cookie. On the next request, the backend will set this again.<br> OperationId: `UserControllerDeleteSelectedDomainCookie`
|
|
@@ -13548,9 +14090,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13548
14090
|
*/
|
|
13549
14091
|
async userControllerDeleteSelectedDomainCookie(options) {
|
|
13550
14092
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerDeleteSelectedDomainCookie(options);
|
|
13551
|
-
const
|
|
13552
|
-
const
|
|
13553
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14093
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14094
|
+
const operationBasePath = operationServerMap['UserApi.userControllerDeleteSelectedDomainCookie']?.[index]?.url;
|
|
14095
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13554
14096
|
},
|
|
13555
14097
|
/**
|
|
13556
14098
|
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerGetOne`
|
|
@@ -13561,9 +14103,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13561
14103
|
*/
|
|
13562
14104
|
async userControllerGetOne(id, options) {
|
|
13563
14105
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerGetOne(id, options);
|
|
13564
|
-
const
|
|
13565
|
-
const
|
|
13566
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14106
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14107
|
+
const operationBasePath = operationServerMap['UserApi.userControllerGetOne']?.[index]?.url;
|
|
14108
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13567
14109
|
},
|
|
13568
14110
|
/**
|
|
13569
14111
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerInvite`
|
|
@@ -13574,9 +14116,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13574
14116
|
*/
|
|
13575
14117
|
async userControllerInvite(inviteCreateDTO, options) {
|
|
13576
14118
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerInvite(inviteCreateDTO, options);
|
|
13577
|
-
const
|
|
13578
|
-
const
|
|
13579
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14119
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14120
|
+
const operationBasePath = operationServerMap['UserApi.userControllerInvite']?.[index]?.url;
|
|
14121
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13580
14122
|
},
|
|
13581
14123
|
/**
|
|
13582
14124
|
* Link your player profile to Takaro, allowing web access for things like shop and stats. To get the code, use the /link command in the game.<br> OperationId: `UserControllerLinkPlayerProfile`
|
|
@@ -13587,9 +14129,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13587
14129
|
*/
|
|
13588
14130
|
async userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options) {
|
|
13589
14131
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerLinkPlayerProfile(linkPlayerUnauthedInputDTO, options);
|
|
13590
|
-
const
|
|
13591
|
-
const
|
|
13592
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14132
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14133
|
+
const operationBasePath = operationServerMap['UserApi.userControllerLinkPlayerProfile']?.[index]?.url;
|
|
14134
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13593
14135
|
},
|
|
13594
14136
|
/**
|
|
13595
14137
|
* <br> OperationId: `UserControllerLogin`
|
|
@@ -13600,9 +14142,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13600
14142
|
*/
|
|
13601
14143
|
async userControllerLogin(loginDTO, options) {
|
|
13602
14144
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerLogin(loginDTO, options);
|
|
13603
|
-
const
|
|
13604
|
-
const
|
|
13605
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14145
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14146
|
+
const operationBasePath = operationServerMap['UserApi.userControllerLogin']?.[index]?.url;
|
|
14147
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13606
14148
|
},
|
|
13607
14149
|
/**
|
|
13608
14150
|
* <br> OperationId: `UserControllerLogout`
|
|
@@ -13612,9 +14154,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13612
14154
|
*/
|
|
13613
14155
|
async userControllerLogout(options) {
|
|
13614
14156
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerLogout(options);
|
|
13615
|
-
const
|
|
13616
|
-
const
|
|
13617
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14157
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14158
|
+
const operationBasePath = operationServerMap['UserApi.userControllerLogout']?.[index]?.url;
|
|
14159
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13618
14160
|
},
|
|
13619
14161
|
/**
|
|
13620
14162
|
* Get the current user and the domains that the user has access to. Note that you can only make requests in the scope of a single domain. In order to switch the domain, you need to use the domain selection endpoints<br> OperationId: `UserControllerMe`
|
|
@@ -13624,9 +14166,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13624
14166
|
*/
|
|
13625
14167
|
async userControllerMe(options) {
|
|
13626
14168
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerMe(options);
|
|
13627
|
-
const
|
|
13628
|
-
const
|
|
13629
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14169
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14170
|
+
const operationBasePath = operationServerMap['UserApi.userControllerMe']?.[index]?.url;
|
|
14171
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13630
14172
|
},
|
|
13631
14173
|
/**
|
|
13632
14174
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerRemove`
|
|
@@ -13637,9 +14179,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13637
14179
|
*/
|
|
13638
14180
|
async userControllerRemove(id, options) {
|
|
13639
14181
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerRemove(id, options);
|
|
13640
|
-
const
|
|
13641
|
-
const
|
|
13642
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14182
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14183
|
+
const operationBasePath = operationServerMap['UserApi.userControllerRemove']?.[index]?.url;
|
|
14184
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13643
14185
|
},
|
|
13644
14186
|
/**
|
|
13645
14187
|
* Required permissions: `MANAGE_USERS`, `MANAGE_ROLES`<br> OperationId: `UserControllerRemoveRole`
|
|
@@ -13651,9 +14193,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13651
14193
|
*/
|
|
13652
14194
|
async userControllerRemoveRole(id, roleId, options) {
|
|
13653
14195
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerRemoveRole(id, roleId, options);
|
|
13654
|
-
const
|
|
13655
|
-
const
|
|
13656
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14196
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14197
|
+
const operationBasePath = operationServerMap['UserApi.userControllerRemoveRole']?.[index]?.url;
|
|
14198
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13657
14199
|
},
|
|
13658
14200
|
/**
|
|
13659
14201
|
* Required permissions: `READ_USERS`<br> OperationId: `UserControllerSearch`
|
|
@@ -13664,9 +14206,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13664
14206
|
*/
|
|
13665
14207
|
async userControllerSearch(userSearchInputDTO, options) {
|
|
13666
14208
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerSearch(userSearchInputDTO, options);
|
|
13667
|
-
const
|
|
13668
|
-
const
|
|
13669
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14209
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14210
|
+
const operationBasePath = operationServerMap['UserApi.userControllerSearch']?.[index]?.url;
|
|
14211
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13670
14212
|
},
|
|
13671
14213
|
/**
|
|
13672
14214
|
* One user can have multiple domains, this endpoint is a helper to set the selected domain for the user<br> OperationId: `UserControllerSetSelectedDomain`
|
|
@@ -13677,9 +14219,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13677
14219
|
*/
|
|
13678
14220
|
async userControllerSetSelectedDomain(domainId, options) {
|
|
13679
14221
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerSetSelectedDomain(domainId, options);
|
|
13680
|
-
const
|
|
13681
|
-
const
|
|
13682
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14222
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14223
|
+
const operationBasePath = operationServerMap['UserApi.userControllerSetSelectedDomain']?.[index]?.url;
|
|
14224
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13683
14225
|
},
|
|
13684
14226
|
/**
|
|
13685
14227
|
* Required permissions: `MANAGE_USERS`<br> OperationId: `UserControllerUpdate`
|
|
@@ -13691,9 +14233,9 @@ export const UserApiFp = function (configuration) {
|
|
|
13691
14233
|
*/
|
|
13692
14234
|
async userControllerUpdate(id, userUpdateDTO, options) {
|
|
13693
14235
|
const localVarAxiosArgs = await localVarAxiosParamCreator.userControllerUpdate(id, userUpdateDTO, options);
|
|
13694
|
-
const
|
|
13695
|
-
const
|
|
13696
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14236
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14237
|
+
const operationBasePath = operationServerMap['UserApi.userControllerUpdate']?.[index]?.url;
|
|
14238
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
13697
14239
|
},
|
|
13698
14240
|
};
|
|
13699
14241
|
};
|
|
@@ -14214,9 +14756,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14214
14756
|
*/
|
|
14215
14757
|
async variableControllerCreate(variableCreateDTO, options) {
|
|
14216
14758
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerCreate(variableCreateDTO, options);
|
|
14217
|
-
const
|
|
14218
|
-
const
|
|
14219
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14759
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14760
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerCreate']?.[index]?.url;
|
|
14761
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14220
14762
|
},
|
|
14221
14763
|
/**
|
|
14222
14764
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerDelete`
|
|
@@ -14227,9 +14769,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14227
14769
|
*/
|
|
14228
14770
|
async variableControllerDelete(id, options) {
|
|
14229
14771
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerDelete(id, options);
|
|
14230
|
-
const
|
|
14231
|
-
const
|
|
14232
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14772
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14773
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerDelete']?.[index]?.url;
|
|
14774
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14233
14775
|
},
|
|
14234
14776
|
/**
|
|
14235
14777
|
* Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerFindOne`
|
|
@@ -14240,9 +14782,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14240
14782
|
*/
|
|
14241
14783
|
async variableControllerFindOne(id, options) {
|
|
14242
14784
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerFindOne(id, options);
|
|
14243
|
-
const
|
|
14244
|
-
const
|
|
14245
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14785
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14786
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerFindOne']?.[index]?.url;
|
|
14787
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14246
14788
|
},
|
|
14247
14789
|
/**
|
|
14248
14790
|
* Search variables Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerSearch`
|
|
@@ -14253,9 +14795,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14253
14795
|
*/
|
|
14254
14796
|
async variableControllerSearch(variableSearchInputDTO, options) {
|
|
14255
14797
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerSearch(variableSearchInputDTO, options);
|
|
14256
|
-
const
|
|
14257
|
-
const
|
|
14258
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14798
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14799
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerSearch']?.[index]?.url;
|
|
14800
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14259
14801
|
},
|
|
14260
14802
|
/**
|
|
14261
14803
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerUpdate`
|
|
@@ -14267,9 +14809,9 @@ export const VariableApiFp = function (configuration) {
|
|
|
14267
14809
|
*/
|
|
14268
14810
|
async variableControllerUpdate(id, variableUpdateDTO, options) {
|
|
14269
14811
|
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerUpdate(id, variableUpdateDTO, options);
|
|
14270
|
-
const
|
|
14271
|
-
const
|
|
14272
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios,
|
|
14812
|
+
const index = configuration?.serverIndex ?? 0;
|
|
14813
|
+
const operationBasePath = operationServerMap['VariableApi.variableControllerUpdate']?.[index]?.url;
|
|
14814
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, operationBasePath || basePath);
|
|
14273
14815
|
},
|
|
14274
14816
|
};
|
|
14275
14817
|
};
|