@takaro/apiclient 0.0.0-dev.fdd3e46 → 0.0.0-dev.fe2b054
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 +808 -264
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +518 -246
- package/dist/generated/api.js.map +1 -1
- package/dist/lib/adminClient.d.ts +1 -1
- package/dist/lib/adminClient.d.ts.map +1 -1
- package/dist/lib/adminClient.js +2 -1
- package/dist/lib/adminClient.js.map +1 -1
- package/dist/lib/baseClient.d.ts +1 -1
- package/dist/lib/baseClient.d.ts.map +1 -1
- package/dist/lib/baseClient.js +4 -3
- package/dist/lib/baseClient.js.map +1 -1
- package/dist/lib/client.d.ts +3 -2
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +10 -4
- package/dist/lib/client.js.map +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.d.ts.map +1 -1
- package/package.json +13 -5
- package/src/__tests__/main.integration.test.ts +0 -39
- package/src/generated/.openapi-generator-ignore +0 -23
- package/src/generated/api.ts +0 -43516
- package/src/generated/base.ts +0 -91
- package/src/generated/common.ts +0 -164
- package/src/generated/configuration.ts +0 -123
- package/src/generated/git_push.sh +0 -57
- package/src/generated/index.ts +0 -16
- package/src/lib/__tests__/baseClient.unit.test.ts +0 -17
- package/src/lib/adminClient.ts +0 -37
- package/src/lib/baseClient.ts +0 -175
- package/src/lib/client.ts +0 -319
- package/src/main.ts +0 -9
- package/tsconfig.build.json +0 -10
- package/tsconfig.json +0 -8
- package/typedoc.json +0 -3
package/dist/generated/api.js
CHANGED
|
@@ -831,6 +831,10 @@ export const PlayerOnGameServerSearchInputDTOSortDirectionEnum = {
|
|
|
831
831
|
Asc: 'asc',
|
|
832
832
|
Desc: 'desc',
|
|
833
833
|
};
|
|
834
|
+
export const PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum = {
|
|
835
|
+
Global: 'global',
|
|
836
|
+
GameServer: 'gameServer',
|
|
837
|
+
};
|
|
834
838
|
export const PlayerSearchInputDTOExtendEnum = {
|
|
835
839
|
PlayerOnGameServers: 'playerOnGameServers',
|
|
836
840
|
Roles: 'roles',
|
|
@@ -880,6 +884,11 @@ export const ShopCategorySearchInputDTOSortDirectionEnum = {
|
|
|
880
884
|
Asc: 'asc',
|
|
881
885
|
Desc: 'desc',
|
|
882
886
|
};
|
|
887
|
+
export const ShopListingBulkInputDTOActionEnum = {
|
|
888
|
+
Delete: 'delete',
|
|
889
|
+
Publish: 'publish',
|
|
890
|
+
Unpublish: 'unpublish',
|
|
891
|
+
};
|
|
883
892
|
export const ShopListingSearchInputDTOExtendEnum = {
|
|
884
893
|
GameServer: 'gameServer',
|
|
885
894
|
Items: 'items',
|
|
@@ -5417,8 +5426,8 @@ export class CommandApi extends BaseAPI {
|
|
|
5417
5426
|
export const CronJobApiAxiosParamCreator = function (configuration) {
|
|
5418
5427
|
return {
|
|
5419
5428
|
/**
|
|
5420
|
-
*
|
|
5421
|
-
* @summary Create
|
|
5429
|
+
* Adds a cron job to a module version, running a function on a schedule. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerCreate`
|
|
5430
|
+
* @summary Create a cron job
|
|
5422
5431
|
* @param {CronJobCreateDTO} [cronJobCreateDTO] CronJobCreateDTO
|
|
5423
5432
|
* @param {*} [options] Override http request option.
|
|
5424
5433
|
* @throws {RequiredError}
|
|
@@ -5446,8 +5455,8 @@ export const CronJobApiAxiosParamCreator = function (configuration) {
|
|
|
5446
5455
|
};
|
|
5447
5456
|
},
|
|
5448
5457
|
/**
|
|
5449
|
-
*
|
|
5450
|
-
* @summary Get
|
|
5458
|
+
* Returns the executions of a cron job on a game server. By default it returns only the runs that fail, with the error output each one produced; pass success=true for the runs that succeeded instead. Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetExecutions`
|
|
5459
|
+
* @summary Get the execution history of a cron job
|
|
5451
5460
|
* @param {string} id
|
|
5452
5461
|
* @param {any} [success]
|
|
5453
5462
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
@@ -5484,8 +5493,8 @@ export const CronJobApiAxiosParamCreator = function (configuration) {
|
|
|
5484
5493
|
};
|
|
5485
5494
|
},
|
|
5486
5495
|
/**
|
|
5487
|
-
*
|
|
5488
|
-
* @summary Get one
|
|
5496
|
+
* Fetch a single cron job with its schedule and the function it runs. Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetOne`
|
|
5497
|
+
* @summary Get one cron job
|
|
5489
5498
|
* @param {string} id
|
|
5490
5499
|
* @param {*} [options] Override http request option.
|
|
5491
5500
|
* @throws {RequiredError}
|
|
@@ -5513,8 +5522,8 @@ export const CronJobApiAxiosParamCreator = function (configuration) {
|
|
|
5513
5522
|
};
|
|
5514
5523
|
},
|
|
5515
5524
|
/**
|
|
5516
|
-
*
|
|
5517
|
-
* @summary
|
|
5525
|
+
* Removes a cron job from its module version. Installed game servers stop running it. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerRemove`
|
|
5526
|
+
* @summary Delete a cron job
|
|
5518
5527
|
* @param {string} id
|
|
5519
5528
|
* @param {*} [options] Override http request option.
|
|
5520
5529
|
* @throws {RequiredError}
|
|
@@ -5542,8 +5551,8 @@ export const CronJobApiAxiosParamCreator = function (configuration) {
|
|
|
5542
5551
|
};
|
|
5543
5552
|
},
|
|
5544
5553
|
/**
|
|
5545
|
-
*
|
|
5546
|
-
* @summary Search
|
|
5554
|
+
* Find the cron jobs defined in a module version, by name or by the module they belong to. Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
5555
|
+
* @summary Search cron jobs
|
|
5547
5556
|
* @param {CronJobSearchInputDTO} [cronJobSearchInputDTO] CronJobSearchInputDTO
|
|
5548
5557
|
* @param {*} [options] Override http request option.
|
|
5549
5558
|
* @throws {RequiredError}
|
|
@@ -5571,8 +5580,8 @@ export const CronJobApiAxiosParamCreator = function (configuration) {
|
|
|
5571
5580
|
};
|
|
5572
5581
|
},
|
|
5573
5582
|
/**
|
|
5574
|
-
*
|
|
5575
|
-
* @summary Trigger
|
|
5583
|
+
* Runs a cron job now on a specific game server, without waiting for its schedule. Every installation of the module on that server runs it. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerTrigger`
|
|
5584
|
+
* @summary Trigger a cron job manually
|
|
5576
5585
|
* @param {CronJobTriggerDTO} [cronJobTriggerDTO] CronJobTriggerDTO
|
|
5577
5586
|
* @param {*} [options] Override http request option.
|
|
5578
5587
|
* @throws {RequiredError}
|
|
@@ -5600,8 +5609,8 @@ export const CronJobApiAxiosParamCreator = function (configuration) {
|
|
|
5600
5609
|
};
|
|
5601
5610
|
},
|
|
5602
5611
|
/**
|
|
5603
|
-
*
|
|
5604
|
-
* @summary Update
|
|
5612
|
+
* Change a cron job\'s name, schedule or the function it runs. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerUpdate`
|
|
5613
|
+
* @summary Update a cron job
|
|
5605
5614
|
* @param {string} id
|
|
5606
5615
|
* @param {CronJobUpdateDTO} [cronJobUpdateDTO] CronJobUpdateDTO
|
|
5607
5616
|
* @param {*} [options] Override http request option.
|
|
@@ -5641,8 +5650,8 @@ export const CronJobApiFp = function (configuration) {
|
|
|
5641
5650
|
const localVarAxiosParamCreator = CronJobApiAxiosParamCreator(configuration);
|
|
5642
5651
|
return {
|
|
5643
5652
|
/**
|
|
5644
|
-
*
|
|
5645
|
-
* @summary Create
|
|
5653
|
+
* Adds a cron job to a module version, running a function on a schedule. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerCreate`
|
|
5654
|
+
* @summary Create a cron job
|
|
5646
5655
|
* @param {CronJobCreateDTO} [cronJobCreateDTO] CronJobCreateDTO
|
|
5647
5656
|
* @param {*} [options] Override http request option.
|
|
5648
5657
|
* @throws {RequiredError}
|
|
@@ -5654,8 +5663,8 @@ export const CronJobApiFp = function (configuration) {
|
|
|
5654
5663
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5655
5664
|
},
|
|
5656
5665
|
/**
|
|
5657
|
-
*
|
|
5658
|
-
* @summary Get
|
|
5666
|
+
* Returns the executions of a cron job on a game server. By default it returns only the runs that fail, with the error output each one produced; pass success=true for the runs that succeeded instead. Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetExecutions`
|
|
5667
|
+
* @summary Get the execution history of a cron job
|
|
5659
5668
|
* @param {string} id
|
|
5660
5669
|
* @param {any} [success]
|
|
5661
5670
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
@@ -5669,8 +5678,8 @@ export const CronJobApiFp = function (configuration) {
|
|
|
5669
5678
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5670
5679
|
},
|
|
5671
5680
|
/**
|
|
5672
|
-
*
|
|
5673
|
-
* @summary Get one
|
|
5681
|
+
* Fetch a single cron job with its schedule and the function it runs. Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetOne`
|
|
5682
|
+
* @summary Get one cron job
|
|
5674
5683
|
* @param {string} id
|
|
5675
5684
|
* @param {*} [options] Override http request option.
|
|
5676
5685
|
* @throws {RequiredError}
|
|
@@ -5682,8 +5691,8 @@ export const CronJobApiFp = function (configuration) {
|
|
|
5682
5691
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5683
5692
|
},
|
|
5684
5693
|
/**
|
|
5685
|
-
*
|
|
5686
|
-
* @summary
|
|
5694
|
+
* Removes a cron job from its module version. Installed game servers stop running it. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerRemove`
|
|
5695
|
+
* @summary Delete a cron job
|
|
5687
5696
|
* @param {string} id
|
|
5688
5697
|
* @param {*} [options] Override http request option.
|
|
5689
5698
|
* @throws {RequiredError}
|
|
@@ -5695,8 +5704,8 @@ export const CronJobApiFp = function (configuration) {
|
|
|
5695
5704
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5696
5705
|
},
|
|
5697
5706
|
/**
|
|
5698
|
-
*
|
|
5699
|
-
* @summary Search
|
|
5707
|
+
* Find the cron jobs defined in a module version, by name or by the module they belong to. Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
5708
|
+
* @summary Search cron jobs
|
|
5700
5709
|
* @param {CronJobSearchInputDTO} [cronJobSearchInputDTO] CronJobSearchInputDTO
|
|
5701
5710
|
* @param {*} [options] Override http request option.
|
|
5702
5711
|
* @throws {RequiredError}
|
|
@@ -5708,8 +5717,8 @@ export const CronJobApiFp = function (configuration) {
|
|
|
5708
5717
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5709
5718
|
},
|
|
5710
5719
|
/**
|
|
5711
|
-
*
|
|
5712
|
-
* @summary Trigger
|
|
5720
|
+
* Runs a cron job now on a specific game server, without waiting for its schedule. Every installation of the module on that server runs it. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerTrigger`
|
|
5721
|
+
* @summary Trigger a cron job manually
|
|
5713
5722
|
* @param {CronJobTriggerDTO} [cronJobTriggerDTO] CronJobTriggerDTO
|
|
5714
5723
|
* @param {*} [options] Override http request option.
|
|
5715
5724
|
* @throws {RequiredError}
|
|
@@ -5721,8 +5730,8 @@ export const CronJobApiFp = function (configuration) {
|
|
|
5721
5730
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
5722
5731
|
},
|
|
5723
5732
|
/**
|
|
5724
|
-
*
|
|
5725
|
-
* @summary Update
|
|
5733
|
+
* Change a cron job\'s name, schedule or the function it runs. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerUpdate`
|
|
5734
|
+
* @summary Update a cron job
|
|
5726
5735
|
* @param {string} id
|
|
5727
5736
|
* @param {CronJobUpdateDTO} [cronJobUpdateDTO] CronJobUpdateDTO
|
|
5728
5737
|
* @param {*} [options] Override http request option.
|
|
@@ -5744,8 +5753,8 @@ export const CronJobApiFactory = function (configuration, basePath, axios) {
|
|
|
5744
5753
|
const localVarFp = CronJobApiFp(configuration);
|
|
5745
5754
|
return {
|
|
5746
5755
|
/**
|
|
5747
|
-
*
|
|
5748
|
-
* @summary Create
|
|
5756
|
+
* Adds a cron job to a module version, running a function on a schedule. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerCreate`
|
|
5757
|
+
* @summary Create a cron job
|
|
5749
5758
|
* @param {CronJobCreateDTO} [cronJobCreateDTO] CronJobCreateDTO
|
|
5750
5759
|
* @param {*} [options] Override http request option.
|
|
5751
5760
|
* @throws {RequiredError}
|
|
@@ -5754,8 +5763,8 @@ export const CronJobApiFactory = function (configuration, basePath, axios) {
|
|
|
5754
5763
|
return localVarFp.cronJobControllerCreate(cronJobCreateDTO, options).then((request) => request(axios, basePath));
|
|
5755
5764
|
},
|
|
5756
5765
|
/**
|
|
5757
|
-
*
|
|
5758
|
-
* @summary Get
|
|
5766
|
+
* Returns the executions of a cron job on a game server. By default it returns only the runs that fail, with the error output each one produced; pass success=true for the runs that succeeded instead. Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetExecutions`
|
|
5767
|
+
* @summary Get the execution history of a cron job
|
|
5759
5768
|
* @param {string} id
|
|
5760
5769
|
* @param {any} [success]
|
|
5761
5770
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
@@ -5768,8 +5777,8 @@ export const CronJobApiFactory = function (configuration, basePath, axios) {
|
|
|
5768
5777
|
.then((request) => request(axios, basePath));
|
|
5769
5778
|
},
|
|
5770
5779
|
/**
|
|
5771
|
-
*
|
|
5772
|
-
* @summary Get one
|
|
5780
|
+
* Fetch a single cron job with its schedule and the function it runs. Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetOne`
|
|
5781
|
+
* @summary Get one cron job
|
|
5773
5782
|
* @param {string} id
|
|
5774
5783
|
* @param {*} [options] Override http request option.
|
|
5775
5784
|
* @throws {RequiredError}
|
|
@@ -5778,8 +5787,8 @@ export const CronJobApiFactory = function (configuration, basePath, axios) {
|
|
|
5778
5787
|
return localVarFp.cronJobControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
5779
5788
|
},
|
|
5780
5789
|
/**
|
|
5781
|
-
*
|
|
5782
|
-
* @summary
|
|
5790
|
+
* Removes a cron job from its module version. Installed game servers stop running it. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerRemove`
|
|
5791
|
+
* @summary Delete a cron job
|
|
5783
5792
|
* @param {string} id
|
|
5784
5793
|
* @param {*} [options] Override http request option.
|
|
5785
5794
|
* @throws {RequiredError}
|
|
@@ -5788,8 +5797,8 @@ export const CronJobApiFactory = function (configuration, basePath, axios) {
|
|
|
5788
5797
|
return localVarFp.cronJobControllerRemove(id, options).then((request) => request(axios, basePath));
|
|
5789
5798
|
},
|
|
5790
5799
|
/**
|
|
5791
|
-
*
|
|
5792
|
-
* @summary Search
|
|
5800
|
+
* Find the cron jobs defined in a module version, by name or by the module they belong to. Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
5801
|
+
* @summary Search cron jobs
|
|
5793
5802
|
* @param {CronJobSearchInputDTO} [cronJobSearchInputDTO] CronJobSearchInputDTO
|
|
5794
5803
|
* @param {*} [options] Override http request option.
|
|
5795
5804
|
* @throws {RequiredError}
|
|
@@ -5800,8 +5809,8 @@ export const CronJobApiFactory = function (configuration, basePath, axios) {
|
|
|
5800
5809
|
.then((request) => request(axios, basePath));
|
|
5801
5810
|
},
|
|
5802
5811
|
/**
|
|
5803
|
-
*
|
|
5804
|
-
* @summary Trigger
|
|
5812
|
+
* Runs a cron job now on a specific game server, without waiting for its schedule. Every installation of the module on that server runs it. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerTrigger`
|
|
5813
|
+
* @summary Trigger a cron job manually
|
|
5805
5814
|
* @param {CronJobTriggerDTO} [cronJobTriggerDTO] CronJobTriggerDTO
|
|
5806
5815
|
* @param {*} [options] Override http request option.
|
|
5807
5816
|
* @throws {RequiredError}
|
|
@@ -5812,8 +5821,8 @@ export const CronJobApiFactory = function (configuration, basePath, axios) {
|
|
|
5812
5821
|
.then((request) => request(axios, basePath));
|
|
5813
5822
|
},
|
|
5814
5823
|
/**
|
|
5815
|
-
*
|
|
5816
|
-
* @summary Update
|
|
5824
|
+
* Change a cron job\'s name, schedule or the function it runs. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerUpdate`
|
|
5825
|
+
* @summary Update a cron job
|
|
5817
5826
|
* @param {string} id
|
|
5818
5827
|
* @param {CronJobUpdateDTO} [cronJobUpdateDTO] CronJobUpdateDTO
|
|
5819
5828
|
* @param {*} [options] Override http request option.
|
|
@@ -5834,8 +5843,8 @@ export const CronJobApiFactory = function (configuration, basePath, axios) {
|
|
|
5834
5843
|
*/
|
|
5835
5844
|
export class CronJobApi extends BaseAPI {
|
|
5836
5845
|
/**
|
|
5837
|
-
*
|
|
5838
|
-
* @summary Create
|
|
5846
|
+
* Adds a cron job to a module version, running a function on a schedule. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerCreate`
|
|
5847
|
+
* @summary Create a cron job
|
|
5839
5848
|
* @param {CronJobCreateDTO} [cronJobCreateDTO] CronJobCreateDTO
|
|
5840
5849
|
* @param {*} [options] Override http request option.
|
|
5841
5850
|
* @throws {RequiredError}
|
|
@@ -5847,8 +5856,8 @@ export class CronJobApi extends BaseAPI {
|
|
|
5847
5856
|
.then((request) => request(this.axios, this.basePath));
|
|
5848
5857
|
}
|
|
5849
5858
|
/**
|
|
5850
|
-
*
|
|
5851
|
-
* @summary Get
|
|
5859
|
+
* Returns the executions of a cron job on a game server. By default it returns only the runs that fail, with the error output each one produced; pass success=true for the runs that succeeded instead. Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetExecutions`
|
|
5860
|
+
* @summary Get the execution history of a cron job
|
|
5852
5861
|
* @param {string} id
|
|
5853
5862
|
* @param {any} [success]
|
|
5854
5863
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
@@ -5862,8 +5871,8 @@ export class CronJobApi extends BaseAPI {
|
|
|
5862
5871
|
.then((request) => request(this.axios, this.basePath));
|
|
5863
5872
|
}
|
|
5864
5873
|
/**
|
|
5865
|
-
*
|
|
5866
|
-
* @summary Get one
|
|
5874
|
+
* Fetch a single cron job with its schedule and the function it runs. Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerGetOne`
|
|
5875
|
+
* @summary Get one cron job
|
|
5867
5876
|
* @param {string} id
|
|
5868
5877
|
* @param {*} [options] Override http request option.
|
|
5869
5878
|
* @throws {RequiredError}
|
|
@@ -5875,8 +5884,8 @@ export class CronJobApi extends BaseAPI {
|
|
|
5875
5884
|
.then((request) => request(this.axios, this.basePath));
|
|
5876
5885
|
}
|
|
5877
5886
|
/**
|
|
5878
|
-
*
|
|
5879
|
-
* @summary
|
|
5887
|
+
* Removes a cron job from its module version. Installed game servers stop running it. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerRemove`
|
|
5888
|
+
* @summary Delete a cron job
|
|
5880
5889
|
* @param {string} id
|
|
5881
5890
|
* @param {*} [options] Override http request option.
|
|
5882
5891
|
* @throws {RequiredError}
|
|
@@ -5888,8 +5897,8 @@ export class CronJobApi extends BaseAPI {
|
|
|
5888
5897
|
.then((request) => request(this.axios, this.basePath));
|
|
5889
5898
|
}
|
|
5890
5899
|
/**
|
|
5891
|
-
*
|
|
5892
|
-
* @summary Search
|
|
5900
|
+
* Find the cron jobs defined in a module version, by name or by the module they belong to. Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
5901
|
+
* @summary Search cron jobs
|
|
5893
5902
|
* @param {CronJobSearchInputDTO} [cronJobSearchInputDTO] CronJobSearchInputDTO
|
|
5894
5903
|
* @param {*} [options] Override http request option.
|
|
5895
5904
|
* @throws {RequiredError}
|
|
@@ -5901,8 +5910,8 @@ export class CronJobApi extends BaseAPI {
|
|
|
5901
5910
|
.then((request) => request(this.axios, this.basePath));
|
|
5902
5911
|
}
|
|
5903
5912
|
/**
|
|
5904
|
-
*
|
|
5905
|
-
* @summary Trigger
|
|
5913
|
+
* Runs a cron job now on a specific game server, without waiting for its schedule. Every installation of the module on that server runs it. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerTrigger`
|
|
5914
|
+
* @summary Trigger a cron job manually
|
|
5906
5915
|
* @param {CronJobTriggerDTO} [cronJobTriggerDTO] CronJobTriggerDTO
|
|
5907
5916
|
* @param {*} [options] Override http request option.
|
|
5908
5917
|
* @throws {RequiredError}
|
|
@@ -5914,8 +5923,8 @@ export class CronJobApi extends BaseAPI {
|
|
|
5914
5923
|
.then((request) => request(this.axios, this.basePath));
|
|
5915
5924
|
}
|
|
5916
5925
|
/**
|
|
5917
|
-
*
|
|
5918
|
-
* @summary Update
|
|
5926
|
+
* Change a cron job\'s name, schedule or the function it runs. Required permissions: `MANAGE_MODULES`<br> OperationId: `CronJobControllerUpdate`
|
|
5927
|
+
* @summary Update a cron job
|
|
5919
5928
|
* @param {string} id
|
|
5920
5929
|
* @param {CronJobUpdateDTO} [cronJobUpdateDTO] CronJobUpdateDTO
|
|
5921
5930
|
* @param {*} [options] Override http request option.
|
|
@@ -6550,7 +6559,7 @@ export const DomainApiAxiosParamCreator = function (configuration) {
|
|
|
6550
6559
|
},
|
|
6551
6560
|
/**
|
|
6552
6561
|
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
6553
|
-
* @summary Create
|
|
6562
|
+
* @summary Create staff-recovery invite link for a domain
|
|
6554
6563
|
* @param {string} id
|
|
6555
6564
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6556
6565
|
* @param {*} [options] Override http request option.
|
|
@@ -6794,7 +6803,7 @@ export const DomainApiFp = function (configuration) {
|
|
|
6794
6803
|
},
|
|
6795
6804
|
/**
|
|
6796
6805
|
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
6797
|
-
* @summary Create
|
|
6806
|
+
* @summary Create staff-recovery invite link for a domain
|
|
6798
6807
|
* @param {string} id
|
|
6799
6808
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6800
6809
|
* @param {*} [options] Override http request option.
|
|
@@ -6909,7 +6918,7 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
|
|
|
6909
6918
|
},
|
|
6910
6919
|
/**
|
|
6911
6920
|
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
6912
|
-
* @summary Create
|
|
6921
|
+
* @summary Create staff-recovery invite link for a domain
|
|
6913
6922
|
* @param {string} id
|
|
6914
6923
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
6915
6924
|
* @param {*} [options] Override http request option.
|
|
@@ -7012,7 +7021,7 @@ export class DomainApi extends BaseAPI {
|
|
|
7012
7021
|
}
|
|
7013
7022
|
/**
|
|
7014
7023
|
* Creates a staff-recovery invite link scoped to the target domain. The `token` and `inviteUrl` fields are returned ONCE and are not stored on the server — distribute securely. Hardened for recovery use: expiry is forced to 24 hours and maxUses is forced to 1, regardless of request body values. roleIds is passed through as-is; omit it to grant no extra roles (plain member). Attribution is limited: the admin secret is a single shared identity; this event records that staff acted on the domain but cannot name the individual.<br> OperationId: `DomainControllerCreateInviteLink`
|
|
7015
|
-
* @summary Create
|
|
7024
|
+
* @summary Create staff-recovery invite link for a domain
|
|
7016
7025
|
* @param {string} id
|
|
7017
7026
|
* @param {InviteLinkCreateInputDTO} [inviteLinkCreateInputDTO] InviteLinkCreateInputDTO
|
|
7018
7027
|
* @param {*} [options] Override http request option.
|
|
@@ -7452,8 +7461,8 @@ export const EventApiAxiosParamCreator = function (configuration) {
|
|
|
7452
7461
|
};
|
|
7453
7462
|
},
|
|
7454
7463
|
/**
|
|
7455
|
-
*
|
|
7456
|
-
* @summary
|
|
7464
|
+
* Find what happened on your game servers: chat messages, player deaths and kills, connects and disconnects, commands executed, and module activity. Filter by event name, player, game server or time range, and sort by createdAt descending for the most recent first. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
7465
|
+
* @summary Find recent activity: chat messages, deaths, connections
|
|
7457
7466
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
7458
7467
|
* @param {*} [options] Override http request option.
|
|
7459
7468
|
* @throws {RequiredError}
|
|
@@ -7568,8 +7577,8 @@ export const EventApiFp = function (configuration) {
|
|
|
7568
7577
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
7569
7578
|
},
|
|
7570
7579
|
/**
|
|
7571
|
-
*
|
|
7572
|
-
* @summary
|
|
7580
|
+
* Find what happened on your game servers: chat messages, player deaths and kills, connects and disconnects, commands executed, and module activity. Filter by event name, player, game server or time range, and sort by createdAt descending for the most recent first. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
7581
|
+
* @summary Find recent activity: chat messages, deaths, connections
|
|
7573
7582
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
7574
7583
|
* @param {*} [options] Override http request option.
|
|
7575
7584
|
* @throws {RequiredError}
|
|
@@ -7656,8 +7665,8 @@ export const EventApiFactory = function (configuration, basePath, axios) {
|
|
|
7656
7665
|
return localVarFp.eventControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
7657
7666
|
},
|
|
7658
7667
|
/**
|
|
7659
|
-
*
|
|
7660
|
-
* @summary
|
|
7668
|
+
* Find what happened on your game servers: chat messages, player deaths and kills, connects and disconnects, commands executed, and module activity. Filter by event name, player, game server or time range, and sort by createdAt descending for the most recent first. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
7669
|
+
* @summary Find recent activity: chat messages, deaths, connections
|
|
7661
7670
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
7662
7671
|
* @param {*} [options] Override http request option.
|
|
7663
7672
|
* @throws {RequiredError}
|
|
@@ -7753,8 +7762,8 @@ export class EventApi extends BaseAPI {
|
|
|
7753
7762
|
.then((request) => request(this.axios, this.basePath));
|
|
7754
7763
|
}
|
|
7755
7764
|
/**
|
|
7756
|
-
*
|
|
7757
|
-
* @summary
|
|
7765
|
+
* Find what happened on your game servers: chat messages, player deaths and kills, connects and disconnects, commands executed, and module activity. Filter by event name, player, game server or time range, and sort by createdAt descending for the most recent first. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
7766
|
+
* @summary Find recent activity: chat messages, deaths, connections
|
|
7758
7767
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
7759
7768
|
* @param {*} [options] Override http request option.
|
|
7760
7769
|
* @throws {RequiredError}
|
|
@@ -7775,13 +7784,11 @@ export const ExternalAuthApiAxiosParamCreator = function (configuration) {
|
|
|
7775
7784
|
/**
|
|
7776
7785
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7777
7786
|
* @summary Auth discord
|
|
7778
|
-
* @param {string} redirect
|
|
7787
|
+
* @param {string} [redirect]
|
|
7779
7788
|
* @param {*} [options] Override http request option.
|
|
7780
7789
|
* @throws {RequiredError}
|
|
7781
7790
|
*/
|
|
7782
7791
|
externalAuthControllerAuthDiscord: async (redirect, options = {}) => {
|
|
7783
|
-
// verify required parameter 'redirect' is not null or undefined
|
|
7784
|
-
assertParamExists('externalAuthControllerAuthDiscord', 'redirect', redirect);
|
|
7785
7792
|
const localVarPath = `/auth/discord`;
|
|
7786
7793
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
7787
7794
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
@@ -7840,7 +7847,7 @@ export const ExternalAuthApiFp = function (configuration) {
|
|
|
7840
7847
|
/**
|
|
7841
7848
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7842
7849
|
* @summary Auth discord
|
|
7843
|
-
* @param {string} redirect
|
|
7850
|
+
* @param {string} [redirect]
|
|
7844
7851
|
* @param {*} [options] Override http request option.
|
|
7845
7852
|
* @throws {RequiredError}
|
|
7846
7853
|
*/
|
|
@@ -7875,7 +7882,7 @@ export const ExternalAuthApiFactory = function (configuration, basePath, axios)
|
|
|
7875
7882
|
/**
|
|
7876
7883
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7877
7884
|
* @summary Auth discord
|
|
7878
|
-
* @param {string} redirect
|
|
7885
|
+
* @param {string} [redirect]
|
|
7879
7886
|
* @param {*} [options] Override http request option.
|
|
7880
7887
|
* @throws {RequiredError}
|
|
7881
7888
|
*/
|
|
@@ -7905,7 +7912,7 @@ export class ExternalAuthApi extends BaseAPI {
|
|
|
7905
7912
|
/**
|
|
7906
7913
|
* <br> OperationId: `ExternalAuthControllerAuthDiscord`
|
|
7907
7914
|
* @summary Auth discord
|
|
7908
|
-
* @param {string} redirect
|
|
7915
|
+
* @param {string} [redirect]
|
|
7909
7916
|
* @param {*} [options] Override http request option.
|
|
7910
7917
|
* @throws {RequiredError}
|
|
7911
7918
|
* @memberof ExternalAuthApi
|
|
@@ -8570,7 +8577,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
|
|
|
8570
8577
|
},
|
|
8571
8578
|
/**
|
|
8572
8579
|
* 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`
|
|
8573
|
-
* @summary
|
|
8580
|
+
* @summary List the players currently online on a game server
|
|
8574
8581
|
* @param {string} id
|
|
8575
8582
|
* @param {*} [options] Override http request option.
|
|
8576
8583
|
* @deprecated
|
|
@@ -8966,8 +8973,8 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
|
|
|
8966
8973
|
};
|
|
8967
8974
|
},
|
|
8968
8975
|
/**
|
|
8969
|
-
*
|
|
8970
|
-
* @summary Test
|
|
8976
|
+
* Checks whether the connection details you are about to save can actually reach a game server that Takaro does not know about yet. Does a thorough check and reports details.<br> OperationId: `GameServerControllerTestReachability`
|
|
8977
|
+
* @summary Test connection settings before creating a game server
|
|
8971
8978
|
* @param {GameServerTestReachabilityInputDTO} [gameServerTestReachabilityInputDTO] GameServerTestReachabilityInputDTO
|
|
8972
8979
|
* @param {*} [options] Override http request option.
|
|
8973
8980
|
* @throws {RequiredError}
|
|
@@ -8995,8 +9002,8 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
|
|
|
8995
9002
|
};
|
|
8996
9003
|
},
|
|
8997
9004
|
/**
|
|
8998
|
-
*
|
|
8999
|
-
* @summary Test
|
|
9005
|
+
* Checks whether Takaro can still reach a game server it already knows about, using the connection details stored for it. Does a thorough check and reports details.<br> OperationId: `GameServerControllerTestReachabilityForId`
|
|
9006
|
+
* @summary Test whether an existing game server is reachable
|
|
9000
9007
|
* @param {string} id
|
|
9001
9008
|
* @param {*} [options] Override http request option.
|
|
9002
9009
|
* @throws {RequiredError}
|
|
@@ -9248,7 +9255,7 @@ export const GameServerApiFp = function (configuration) {
|
|
|
9248
9255
|
},
|
|
9249
9256
|
/**
|
|
9250
9257
|
* 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`
|
|
9251
|
-
* @summary
|
|
9258
|
+
* @summary List the players currently online on a game server
|
|
9252
9259
|
* @param {string} id
|
|
9253
9260
|
* @param {*} [options] Override http request option.
|
|
9254
9261
|
* @deprecated
|
|
@@ -9422,8 +9429,8 @@ export const GameServerApiFp = function (configuration) {
|
|
|
9422
9429
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9423
9430
|
},
|
|
9424
9431
|
/**
|
|
9425
|
-
*
|
|
9426
|
-
* @summary Test
|
|
9432
|
+
* Checks whether the connection details you are about to save can actually reach a game server that Takaro does not know about yet. Does a thorough check and reports details.<br> OperationId: `GameServerControllerTestReachability`
|
|
9433
|
+
* @summary Test connection settings before creating a game server
|
|
9427
9434
|
* @param {GameServerTestReachabilityInputDTO} [gameServerTestReachabilityInputDTO] GameServerTestReachabilityInputDTO
|
|
9428
9435
|
* @param {*} [options] Override http request option.
|
|
9429
9436
|
* @throws {RequiredError}
|
|
@@ -9435,8 +9442,8 @@ export const GameServerApiFp = function (configuration) {
|
|
|
9435
9442
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9436
9443
|
},
|
|
9437
9444
|
/**
|
|
9438
|
-
*
|
|
9439
|
-
* @summary Test
|
|
9445
|
+
* Checks whether Takaro can still reach a game server it already knows about, using the connection details stored for it. Does a thorough check and reports details.<br> OperationId: `GameServerControllerTestReachabilityForId`
|
|
9446
|
+
* @summary Test whether an existing game server is reachable
|
|
9440
9447
|
* @param {string} id
|
|
9441
9448
|
* @param {*} [options] Override http request option.
|
|
9442
9449
|
* @throws {RequiredError}
|
|
@@ -9599,7 +9606,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
|
|
|
9599
9606
|
},
|
|
9600
9607
|
/**
|
|
9601
9608
|
* 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`
|
|
9602
|
-
* @summary
|
|
9609
|
+
* @summary List the players currently online on a game server
|
|
9603
9610
|
* @param {string} id
|
|
9604
9611
|
* @param {*} [options] Override http request option.
|
|
9605
9612
|
* @deprecated
|
|
@@ -9746,8 +9753,8 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
|
|
|
9746
9753
|
.then((request) => request(axios, basePath));
|
|
9747
9754
|
},
|
|
9748
9755
|
/**
|
|
9749
|
-
*
|
|
9750
|
-
* @summary Test
|
|
9756
|
+
* Checks whether the connection details you are about to save can actually reach a game server that Takaro does not know about yet. Does a thorough check and reports details.<br> OperationId: `GameServerControllerTestReachability`
|
|
9757
|
+
* @summary Test connection settings before creating a game server
|
|
9751
9758
|
* @param {GameServerTestReachabilityInputDTO} [gameServerTestReachabilityInputDTO] GameServerTestReachabilityInputDTO
|
|
9752
9759
|
* @param {*} [options] Override http request option.
|
|
9753
9760
|
* @throws {RequiredError}
|
|
@@ -9758,8 +9765,8 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
|
|
|
9758
9765
|
.then((request) => request(axios, basePath));
|
|
9759
9766
|
},
|
|
9760
9767
|
/**
|
|
9761
|
-
*
|
|
9762
|
-
* @summary Test
|
|
9768
|
+
* Checks whether Takaro can still reach a game server it already knows about, using the connection details stored for it. Does a thorough check and reports details.<br> OperationId: `GameServerControllerTestReachabilityForId`
|
|
9769
|
+
* @summary Test whether an existing game server is reachable
|
|
9763
9770
|
* @param {string} id
|
|
9764
9771
|
* @param {*} [options] Override http request option.
|
|
9765
9772
|
* @throws {RequiredError}
|
|
@@ -9931,7 +9938,7 @@ export class GameServerApi extends BaseAPI {
|
|
|
9931
9938
|
}
|
|
9932
9939
|
/**
|
|
9933
9940
|
* 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`
|
|
9934
|
-
* @summary
|
|
9941
|
+
* @summary List the players currently online on a game server
|
|
9935
9942
|
* @param {string} id
|
|
9936
9943
|
* @param {*} [options] Override http request option.
|
|
9937
9944
|
* @deprecated
|
|
@@ -10105,8 +10112,8 @@ export class GameServerApi extends BaseAPI {
|
|
|
10105
10112
|
.then((request) => request(this.axios, this.basePath));
|
|
10106
10113
|
}
|
|
10107
10114
|
/**
|
|
10108
|
-
*
|
|
10109
|
-
* @summary Test
|
|
10115
|
+
* Checks whether the connection details you are about to save can actually reach a game server that Takaro does not know about yet. Does a thorough check and reports details.<br> OperationId: `GameServerControllerTestReachability`
|
|
10116
|
+
* @summary Test connection settings before creating a game server
|
|
10110
10117
|
* @param {GameServerTestReachabilityInputDTO} [gameServerTestReachabilityInputDTO] GameServerTestReachabilityInputDTO
|
|
10111
10118
|
* @param {*} [options] Override http request option.
|
|
10112
10119
|
* @throws {RequiredError}
|
|
@@ -10118,8 +10125,8 @@ export class GameServerApi extends BaseAPI {
|
|
|
10118
10125
|
.then((request) => request(this.axios, this.basePath));
|
|
10119
10126
|
}
|
|
10120
10127
|
/**
|
|
10121
|
-
*
|
|
10122
|
-
* @summary Test
|
|
10128
|
+
* Checks whether Takaro can still reach a game server it already knows about, using the connection details stored for it. Does a thorough check and reports details.<br> OperationId: `GameServerControllerTestReachabilityForId`
|
|
10129
|
+
* @summary Test whether an existing game server is reachable
|
|
10123
10130
|
* @param {string} id
|
|
10124
10131
|
* @param {*} [options] Override http request option.
|
|
10125
10132
|
* @throws {RequiredError}
|
|
@@ -11244,6 +11251,31 @@ export const MetaApiAxiosParamCreator = function (configuration) {
|
|
|
11244
11251
|
options: localVarRequestOptions,
|
|
11245
11252
|
};
|
|
11246
11253
|
},
|
|
11254
|
+
/**
|
|
11255
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11256
|
+
* @summary Get liveness
|
|
11257
|
+
* @param {*} [options] Override http request option.
|
|
11258
|
+
* @throws {RequiredError}
|
|
11259
|
+
*/
|
|
11260
|
+
metaGetLiveness: async (options = {}) => {
|
|
11261
|
+
const localVarPath = `/livez`;
|
|
11262
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
11263
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
11264
|
+
let baseOptions;
|
|
11265
|
+
if (configuration) {
|
|
11266
|
+
baseOptions = configuration.baseOptions;
|
|
11267
|
+
}
|
|
11268
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
11269
|
+
const localVarHeaderParameter = {};
|
|
11270
|
+
const localVarQueryParameter = {};
|
|
11271
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
11272
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
11273
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
11274
|
+
return {
|
|
11275
|
+
url: toPathString(localVarUrlObj),
|
|
11276
|
+
options: localVarRequestOptions,
|
|
11277
|
+
};
|
|
11278
|
+
},
|
|
11247
11279
|
/**
|
|
11248
11280
|
* <br> OperationId: `MetaGetMetrics`
|
|
11249
11281
|
* @summary Get metrics
|
|
@@ -11390,6 +11422,18 @@ export const MetaApiFp = function (configuration) {
|
|
|
11390
11422
|
const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetHealth']?.[localVarOperationServerIndex]?.url;
|
|
11391
11423
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11392
11424
|
},
|
|
11425
|
+
/**
|
|
11426
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11427
|
+
* @summary Get liveness
|
|
11428
|
+
* @param {*} [options] Override http request option.
|
|
11429
|
+
* @throws {RequiredError}
|
|
11430
|
+
*/
|
|
11431
|
+
async metaGetLiveness(options) {
|
|
11432
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.metaGetLiveness(options);
|
|
11433
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
11434
|
+
const localVarOperationServerBasePath = operationServerMap['MetaApi.metaGetLiveness']?.[localVarOperationServerIndex]?.url;
|
|
11435
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11436
|
+
},
|
|
11393
11437
|
/**
|
|
11394
11438
|
* <br> OperationId: `MetaGetMetrics`
|
|
11395
11439
|
* @summary Get metrics
|
|
@@ -11468,6 +11512,15 @@ export const MetaApiFactory = function (configuration, basePath, axios) {
|
|
|
11468
11512
|
metaGetHealth(options) {
|
|
11469
11513
|
return localVarFp.metaGetHealth(options).then((request) => request(axios, basePath));
|
|
11470
11514
|
},
|
|
11515
|
+
/**
|
|
11516
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11517
|
+
* @summary Get liveness
|
|
11518
|
+
* @param {*} [options] Override http request option.
|
|
11519
|
+
* @throws {RequiredError}
|
|
11520
|
+
*/
|
|
11521
|
+
metaGetLiveness(options) {
|
|
11522
|
+
return localVarFp.metaGetLiveness(options).then((request) => request(axios, basePath));
|
|
11523
|
+
},
|
|
11471
11524
|
/**
|
|
11472
11525
|
* <br> OperationId: `MetaGetMetrics`
|
|
11473
11526
|
* @summary Get metrics
|
|
@@ -11534,6 +11587,18 @@ export class MetaApi extends BaseAPI {
|
|
|
11534
11587
|
.metaGetHealth(options)
|
|
11535
11588
|
.then((request) => request(this.axios, this.basePath));
|
|
11536
11589
|
}
|
|
11590
|
+
/**
|
|
11591
|
+
* <br> OperationId: `MetaGetLiveness`
|
|
11592
|
+
* @summary Get liveness
|
|
11593
|
+
* @param {*} [options] Override http request option.
|
|
11594
|
+
* @throws {RequiredError}
|
|
11595
|
+
* @memberof MetaApi
|
|
11596
|
+
*/
|
|
11597
|
+
metaGetLiveness(options) {
|
|
11598
|
+
return MetaApiFp(this.configuration)
|
|
11599
|
+
.metaGetLiveness(options)
|
|
11600
|
+
.then((request) => request(this.axios, this.basePath));
|
|
11601
|
+
}
|
|
11537
11602
|
/**
|
|
11538
11603
|
* <br> OperationId: `MetaGetMetrics`
|
|
11539
11604
|
* @summary Get metrics
|
|
@@ -11811,8 +11876,8 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
11811
11876
|
};
|
|
11812
11877
|
},
|
|
11813
11878
|
/**
|
|
11814
|
-
*
|
|
11815
|
-
* @summary
|
|
11879
|
+
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
11880
|
+
* @summary List the modules installed on a game server
|
|
11816
11881
|
* @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
|
|
11817
11882
|
* @param {*} [options] Override http request option.
|
|
11818
11883
|
* @throws {RequiredError}
|
|
@@ -11840,8 +11905,8 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
11840
11905
|
};
|
|
11841
11906
|
},
|
|
11842
11907
|
/**
|
|
11843
|
-
*
|
|
11844
|
-
* @summary Get one installation
|
|
11908
|
+
* Fetch the installation of a specific module on a specific game server, with the configuration it was given. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetModuleInstallation`
|
|
11909
|
+
* @summary Get one module installation
|
|
11845
11910
|
* @param {string} moduleId
|
|
11846
11911
|
* @param {string} gameServerId
|
|
11847
11912
|
* @param {*} [options] Override http request option.
|
|
@@ -11874,8 +11939,8 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
11874
11939
|
};
|
|
11875
11940
|
},
|
|
11876
11941
|
/**
|
|
11877
|
-
*
|
|
11878
|
-
* @summary Install module
|
|
11942
|
+
* Installs a module version on a game server, so its commands, hooks and cron jobs start running there. You can have multiple installations of the same module on the same gameserver. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `ModuleInstallationsControllerInstallModule`
|
|
11943
|
+
* @summary Install a module on a game server
|
|
11879
11944
|
* @param {InstallModuleDTO} [installModuleDTO] InstallModuleDTO
|
|
11880
11945
|
* @param {*} [options] Override http request option.
|
|
11881
11946
|
* @throws {RequiredError}
|
|
@@ -11904,7 +11969,7 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
|
|
|
11904
11969
|
},
|
|
11905
11970
|
/**
|
|
11906
11971
|
* Uninstall a module from a gameserver. This will not delete the module from the database. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `ModuleInstallationsControllerUninstallModule`
|
|
11907
|
-
* @summary Uninstall module
|
|
11972
|
+
* @summary Uninstall a module from a game server
|
|
11908
11973
|
* @param {string} moduleId
|
|
11909
11974
|
* @param {string} gameServerId
|
|
11910
11975
|
* @param {*} [options] Override http request option.
|
|
@@ -12126,8 +12191,8 @@ export const ModuleApiFp = function (configuration) {
|
|
|
12126
12191
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12127
12192
|
},
|
|
12128
12193
|
/**
|
|
12129
|
-
*
|
|
12130
|
-
* @summary
|
|
12194
|
+
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
12195
|
+
* @summary List the modules installed on a game server
|
|
12131
12196
|
* @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
|
|
12132
12197
|
* @param {*} [options] Override http request option.
|
|
12133
12198
|
* @throws {RequiredError}
|
|
@@ -12140,8 +12205,8 @@ export const ModuleApiFp = function (configuration) {
|
|
|
12140
12205
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12141
12206
|
},
|
|
12142
12207
|
/**
|
|
12143
|
-
*
|
|
12144
|
-
* @summary Get one installation
|
|
12208
|
+
* Fetch the installation of a specific module on a specific game server, with the configuration it was given. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetModuleInstallation`
|
|
12209
|
+
* @summary Get one module installation
|
|
12145
12210
|
* @param {string} moduleId
|
|
12146
12211
|
* @param {string} gameServerId
|
|
12147
12212
|
* @param {*} [options] Override http request option.
|
|
@@ -12154,8 +12219,8 @@ export const ModuleApiFp = function (configuration) {
|
|
|
12154
12219
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
12155
12220
|
},
|
|
12156
12221
|
/**
|
|
12157
|
-
*
|
|
12158
|
-
* @summary Install module
|
|
12222
|
+
* Installs a module version on a game server, so its commands, hooks and cron jobs start running there. You can have multiple installations of the same module on the same gameserver. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `ModuleInstallationsControllerInstallModule`
|
|
12223
|
+
* @summary Install a module on a game server
|
|
12159
12224
|
* @param {InstallModuleDTO} [installModuleDTO] InstallModuleDTO
|
|
12160
12225
|
* @param {*} [options] Override http request option.
|
|
12161
12226
|
* @throws {RequiredError}
|
|
@@ -12168,7 +12233,7 @@ export const ModuleApiFp = function (configuration) {
|
|
|
12168
12233
|
},
|
|
12169
12234
|
/**
|
|
12170
12235
|
* Uninstall a module from a gameserver. This will not delete the module from the database. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `ModuleInstallationsControllerUninstallModule`
|
|
12171
|
-
* @summary Uninstall module
|
|
12236
|
+
* @summary Uninstall a module from a game server
|
|
12172
12237
|
* @param {string} moduleId
|
|
12173
12238
|
* @param {string} gameServerId
|
|
12174
12239
|
* @param {*} [options] Override http request option.
|
|
@@ -12308,8 +12373,8 @@ export const ModuleApiFactory = function (configuration, basePath, axios) {
|
|
|
12308
12373
|
.then((request) => request(axios, basePath));
|
|
12309
12374
|
},
|
|
12310
12375
|
/**
|
|
12311
|
-
*
|
|
12312
|
-
* @summary
|
|
12376
|
+
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
12377
|
+
* @summary List the modules installed on a game server
|
|
12313
12378
|
* @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
|
|
12314
12379
|
* @param {*} [options] Override http request option.
|
|
12315
12380
|
* @throws {RequiredError}
|
|
@@ -12320,8 +12385,8 @@ export const ModuleApiFactory = function (configuration, basePath, axios) {
|
|
|
12320
12385
|
.then((request) => request(axios, basePath));
|
|
12321
12386
|
},
|
|
12322
12387
|
/**
|
|
12323
|
-
*
|
|
12324
|
-
* @summary Get one installation
|
|
12388
|
+
* Fetch the installation of a specific module on a specific game server, with the configuration it was given. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetModuleInstallation`
|
|
12389
|
+
* @summary Get one module installation
|
|
12325
12390
|
* @param {string} moduleId
|
|
12326
12391
|
* @param {string} gameServerId
|
|
12327
12392
|
* @param {*} [options] Override http request option.
|
|
@@ -12333,8 +12398,8 @@ export const ModuleApiFactory = function (configuration, basePath, axios) {
|
|
|
12333
12398
|
.then((request) => request(axios, basePath));
|
|
12334
12399
|
},
|
|
12335
12400
|
/**
|
|
12336
|
-
*
|
|
12337
|
-
* @summary Install module
|
|
12401
|
+
* Installs a module version on a game server, so its commands, hooks and cron jobs start running there. You can have multiple installations of the same module on the same gameserver. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `ModuleInstallationsControllerInstallModule`
|
|
12402
|
+
* @summary Install a module on a game server
|
|
12338
12403
|
* @param {InstallModuleDTO} [installModuleDTO] InstallModuleDTO
|
|
12339
12404
|
* @param {*} [options] Override http request option.
|
|
12340
12405
|
* @throws {RequiredError}
|
|
@@ -12346,7 +12411,7 @@ export const ModuleApiFactory = function (configuration, basePath, axios) {
|
|
|
12346
12411
|
},
|
|
12347
12412
|
/**
|
|
12348
12413
|
* Uninstall a module from a gameserver. This will not delete the module from the database. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `ModuleInstallationsControllerUninstallModule`
|
|
12349
|
-
* @summary Uninstall module
|
|
12414
|
+
* @summary Uninstall a module from a game server
|
|
12350
12415
|
* @param {string} moduleId
|
|
12351
12416
|
* @param {string} gameServerId
|
|
12352
12417
|
* @param {*} [options] Override http request option.
|
|
@@ -12496,8 +12561,8 @@ export class ModuleApi extends BaseAPI {
|
|
|
12496
12561
|
.then((request) => request(this.axios, this.basePath));
|
|
12497
12562
|
}
|
|
12498
12563
|
/**
|
|
12499
|
-
*
|
|
12500
|
-
* @summary
|
|
12564
|
+
* Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
|
|
12565
|
+
* @summary List the modules installed on a game server
|
|
12501
12566
|
* @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
|
|
12502
12567
|
* @param {*} [options] Override http request option.
|
|
12503
12568
|
* @throws {RequiredError}
|
|
@@ -12509,8 +12574,8 @@ export class ModuleApi extends BaseAPI {
|
|
|
12509
12574
|
.then((request) => request(this.axios, this.basePath));
|
|
12510
12575
|
}
|
|
12511
12576
|
/**
|
|
12512
|
-
*
|
|
12513
|
-
* @summary Get one installation
|
|
12577
|
+
* Fetch the installation of a specific module on a specific game server, with the configuration it was given. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetModuleInstallation`
|
|
12578
|
+
* @summary Get one module installation
|
|
12514
12579
|
* @param {string} moduleId
|
|
12515
12580
|
* @param {string} gameServerId
|
|
12516
12581
|
* @param {*} [options] Override http request option.
|
|
@@ -12523,8 +12588,8 @@ export class ModuleApi extends BaseAPI {
|
|
|
12523
12588
|
.then((request) => request(this.axios, this.basePath));
|
|
12524
12589
|
}
|
|
12525
12590
|
/**
|
|
12526
|
-
*
|
|
12527
|
-
* @summary Install module
|
|
12591
|
+
* Installs a module version on a game server, so its commands, hooks and cron jobs start running there. You can have multiple installations of the same module on the same gameserver. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `ModuleInstallationsControllerInstallModule`
|
|
12592
|
+
* @summary Install a module on a game server
|
|
12528
12593
|
* @param {InstallModuleDTO} [installModuleDTO] InstallModuleDTO
|
|
12529
12594
|
* @param {*} [options] Override http request option.
|
|
12530
12595
|
* @throws {RequiredError}
|
|
@@ -12537,7 +12602,7 @@ export class ModuleApi extends BaseAPI {
|
|
|
12537
12602
|
}
|
|
12538
12603
|
/**
|
|
12539
12604
|
* Uninstall a module from a gameserver. This will not delete the module from the database. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `ModuleInstallationsControllerUninstallModule`
|
|
12540
|
-
* @summary Uninstall module
|
|
12605
|
+
* @summary Uninstall a module from a game server
|
|
12541
12606
|
* @param {string} moduleId
|
|
12542
12607
|
* @param {string} gameServerId
|
|
12543
12608
|
* @param {*} [options] Override http request option.
|
|
@@ -12744,8 +12809,8 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
12744
12809
|
};
|
|
12745
12810
|
},
|
|
12746
12811
|
/**
|
|
12747
|
-
*
|
|
12748
|
-
* @summary Assign role
|
|
12812
|
+
* Gives a role to a player, granting them its permissions. The role can be scoped to a single game server and can be set to expire. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerAssignRole`
|
|
12813
|
+
* @summary Assign a role to a player
|
|
12749
12814
|
* @param {string} id
|
|
12750
12815
|
* @param {string} roleId
|
|
12751
12816
|
* @param {PlayerRoleAssignChangeDTO} [playerRoleAssignChangeDTO] PlayerRoleAssignChangeDTO
|
|
@@ -12781,8 +12846,8 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
12781
12846
|
};
|
|
12782
12847
|
},
|
|
12783
12848
|
/**
|
|
12784
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12785
|
-
* @summary
|
|
12849
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
12850
|
+
* @summary Assign a role to many players at once
|
|
12786
12851
|
* @param {string} roleId
|
|
12787
12852
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
12788
12853
|
* @param {*} [options] Override http request option.
|
|
@@ -12813,7 +12878,7 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
12813
12878
|
};
|
|
12814
12879
|
},
|
|
12815
12880
|
/**
|
|
12816
|
-
* Bulk delete players by
|
|
12881
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
12817
12882
|
* @summary Bulk delete
|
|
12818
12883
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
12819
12884
|
* @param {*} [options] Override http request option.
|
|
@@ -12897,8 +12962,8 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
12897
12962
|
};
|
|
12898
12963
|
},
|
|
12899
12964
|
/**
|
|
12900
|
-
*
|
|
12901
|
-
* @summary Get one
|
|
12965
|
+
* Fetch a single player by their Takaro player id, with the platform identifiers and roles attached to them. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerGetOne`
|
|
12966
|
+
* @summary Get one player
|
|
12902
12967
|
* @param {string} id
|
|
12903
12968
|
* @param {*} [options] Override http request option.
|
|
12904
12969
|
* @throws {RequiredError}
|
|
@@ -12926,8 +12991,8 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
12926
12991
|
};
|
|
12927
12992
|
},
|
|
12928
12993
|
/**
|
|
12929
|
-
*
|
|
12930
|
-
* @summary Remove role
|
|
12994
|
+
* Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
|
|
12995
|
+
* @summary Remove a role from a player
|
|
12931
12996
|
* @param {string} id
|
|
12932
12997
|
* @param {string} roleId
|
|
12933
12998
|
* @param {PlayerRoleAssignChangeDTO} [playerRoleAssignChangeDTO] PlayerRoleAssignChangeDTO
|
|
@@ -12963,8 +13028,8 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
12963
13028
|
};
|
|
12964
13029
|
},
|
|
12965
13030
|
/**
|
|
12966
|
-
*
|
|
12967
|
-
* @summary
|
|
13031
|
+
* Search every player Takaro knows about, across all game servers. Match on their name or on a platform identifier: Steam ID, Xbox live ID, Epic Online Services ID, or their Takaro player id. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerSearch`
|
|
13032
|
+
* @summary Find a player by name or platform id
|
|
12968
13033
|
* @param {PlayerSearchInputDTO} [playerSearchInputDTO] PlayerSearchInputDTO
|
|
12969
13034
|
* @param {*} [options] Override http request option.
|
|
12970
13035
|
* @throws {RequiredError}
|
|
@@ -13067,8 +13132,8 @@ export const PlayerApiFp = function (configuration) {
|
|
|
13067
13132
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13068
13133
|
},
|
|
13069
13134
|
/**
|
|
13070
|
-
*
|
|
13071
|
-
* @summary Assign role
|
|
13135
|
+
* Gives a role to a player, granting them its permissions. The role can be scoped to a single game server and can be set to expire. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerAssignRole`
|
|
13136
|
+
* @summary Assign a role to a player
|
|
13072
13137
|
* @param {string} id
|
|
13073
13138
|
* @param {string} roleId
|
|
13074
13139
|
* @param {PlayerRoleAssignChangeDTO} [playerRoleAssignChangeDTO] PlayerRoleAssignChangeDTO
|
|
@@ -13082,8 +13147,8 @@ export const PlayerApiFp = function (configuration) {
|
|
|
13082
13147
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13083
13148
|
},
|
|
13084
13149
|
/**
|
|
13085
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13086
|
-
* @summary
|
|
13150
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13151
|
+
* @summary Assign a role to many players at once
|
|
13087
13152
|
* @param {string} roleId
|
|
13088
13153
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
13089
13154
|
* @param {*} [options] Override http request option.
|
|
@@ -13096,7 +13161,7 @@ export const PlayerApiFp = function (configuration) {
|
|
|
13096
13161
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13097
13162
|
},
|
|
13098
13163
|
/**
|
|
13099
|
-
* Bulk delete players by
|
|
13164
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
13100
13165
|
* @summary Bulk delete
|
|
13101
13166
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
13102
13167
|
* @param {*} [options] Override http request option.
|
|
@@ -13134,8 +13199,8 @@ export const PlayerApiFp = function (configuration) {
|
|
|
13134
13199
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13135
13200
|
},
|
|
13136
13201
|
/**
|
|
13137
|
-
*
|
|
13138
|
-
* @summary Get one
|
|
13202
|
+
* Fetch a single player by their Takaro player id, with the platform identifiers and roles attached to them. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerGetOne`
|
|
13203
|
+
* @summary Get one player
|
|
13139
13204
|
* @param {string} id
|
|
13140
13205
|
* @param {*} [options] Override http request option.
|
|
13141
13206
|
* @throws {RequiredError}
|
|
@@ -13147,8 +13212,8 @@ export const PlayerApiFp = function (configuration) {
|
|
|
13147
13212
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13148
13213
|
},
|
|
13149
13214
|
/**
|
|
13150
|
-
*
|
|
13151
|
-
* @summary Remove role
|
|
13215
|
+
* Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
|
|
13216
|
+
* @summary Remove a role from a player
|
|
13152
13217
|
* @param {string} id
|
|
13153
13218
|
* @param {string} roleId
|
|
13154
13219
|
* @param {PlayerRoleAssignChangeDTO} [playerRoleAssignChangeDTO] PlayerRoleAssignChangeDTO
|
|
@@ -13162,8 +13227,8 @@ export const PlayerApiFp = function (configuration) {
|
|
|
13162
13227
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13163
13228
|
},
|
|
13164
13229
|
/**
|
|
13165
|
-
*
|
|
13166
|
-
* @summary
|
|
13230
|
+
* Search every player Takaro knows about, across all game servers. Match on their name or on a platform identifier: Steam ID, Xbox live ID, Epic Online Services ID, or their Takaro player id. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerSearch`
|
|
13231
|
+
* @summary Find a player by name or platform id
|
|
13167
13232
|
* @param {PlayerSearchInputDTO} [playerSearchInputDTO] PlayerSearchInputDTO
|
|
13168
13233
|
* @param {*} [options] Override http request option.
|
|
13169
13234
|
* @throws {RequiredError}
|
|
@@ -13235,8 +13300,8 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
13235
13300
|
return localVarFp.banControllerUpdate(id, banUpdateDTO, options).then((request) => request(axios, basePath));
|
|
13236
13301
|
},
|
|
13237
13302
|
/**
|
|
13238
|
-
*
|
|
13239
|
-
* @summary Assign role
|
|
13303
|
+
* Gives a role to a player, granting them its permissions. The role can be scoped to a single game server and can be set to expire. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerAssignRole`
|
|
13304
|
+
* @summary Assign a role to a player
|
|
13240
13305
|
* @param {string} id
|
|
13241
13306
|
* @param {string} roleId
|
|
13242
13307
|
* @param {PlayerRoleAssignChangeDTO} [playerRoleAssignChangeDTO] PlayerRoleAssignChangeDTO
|
|
@@ -13249,8 +13314,8 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
13249
13314
|
.then((request) => request(axios, basePath));
|
|
13250
13315
|
},
|
|
13251
13316
|
/**
|
|
13252
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13253
|
-
* @summary
|
|
13317
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13318
|
+
* @summary Assign a role to many players at once
|
|
13254
13319
|
* @param {string} roleId
|
|
13255
13320
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
13256
13321
|
* @param {*} [options] Override http request option.
|
|
@@ -13262,7 +13327,7 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
13262
13327
|
.then((request) => request(axios, basePath));
|
|
13263
13328
|
},
|
|
13264
13329
|
/**
|
|
13265
|
-
* Bulk delete players by
|
|
13330
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
13266
13331
|
* @summary Bulk delete
|
|
13267
13332
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
13268
13333
|
* @param {*} [options] Override http request option.
|
|
@@ -13293,8 +13358,8 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
13293
13358
|
return localVarFp.playerControllerGetMe(options).then((request) => request(axios, basePath));
|
|
13294
13359
|
},
|
|
13295
13360
|
/**
|
|
13296
|
-
*
|
|
13297
|
-
* @summary Get one
|
|
13361
|
+
* Fetch a single player by their Takaro player id, with the platform identifiers and roles attached to them. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerGetOne`
|
|
13362
|
+
* @summary Get one player
|
|
13298
13363
|
* @param {string} id
|
|
13299
13364
|
* @param {*} [options] Override http request option.
|
|
13300
13365
|
* @throws {RequiredError}
|
|
@@ -13303,8 +13368,8 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
13303
13368
|
return localVarFp.playerControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
13304
13369
|
},
|
|
13305
13370
|
/**
|
|
13306
|
-
*
|
|
13307
|
-
* @summary Remove role
|
|
13371
|
+
* Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
|
|
13372
|
+
* @summary Remove a role from a player
|
|
13308
13373
|
* @param {string} id
|
|
13309
13374
|
* @param {string} roleId
|
|
13310
13375
|
* @param {PlayerRoleAssignChangeDTO} [playerRoleAssignChangeDTO] PlayerRoleAssignChangeDTO
|
|
@@ -13317,8 +13382,8 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
13317
13382
|
.then((request) => request(axios, basePath));
|
|
13318
13383
|
},
|
|
13319
13384
|
/**
|
|
13320
|
-
*
|
|
13321
|
-
* @summary
|
|
13385
|
+
* Search every player Takaro knows about, across all game servers. Match on their name or on a platform identifier: Steam ID, Xbox live ID, Epic Online Services ID, or their Takaro player id. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerSearch`
|
|
13386
|
+
* @summary Find a player by name or platform id
|
|
13322
13387
|
* @param {PlayerSearchInputDTO} [playerSearchInputDTO] PlayerSearchInputDTO
|
|
13323
13388
|
* @param {*} [options] Override http request option.
|
|
13324
13389
|
* @throws {RequiredError}
|
|
@@ -13404,8 +13469,8 @@ export class PlayerApi extends BaseAPI {
|
|
|
13404
13469
|
.then((request) => request(this.axios, this.basePath));
|
|
13405
13470
|
}
|
|
13406
13471
|
/**
|
|
13407
|
-
*
|
|
13408
|
-
* @summary Assign role
|
|
13472
|
+
* Gives a role to a player, granting them its permissions. The role can be scoped to a single game server and can be set to expire. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerAssignRole`
|
|
13473
|
+
* @summary Assign a role to a player
|
|
13409
13474
|
* @param {string} id
|
|
13410
13475
|
* @param {string} roleId
|
|
13411
13476
|
* @param {PlayerRoleAssignChangeDTO} [playerRoleAssignChangeDTO] PlayerRoleAssignChangeDTO
|
|
@@ -13419,8 +13484,8 @@ export class PlayerApi extends BaseAPI {
|
|
|
13419
13484
|
.then((request) => request(this.axios, this.basePath));
|
|
13420
13485
|
}
|
|
13421
13486
|
/**
|
|
13422
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13423
|
-
* @summary
|
|
13487
|
+
* Bulk assign a role to multiple players, targeted by ids or by a search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
13488
|
+
* @summary Assign a role to many players at once
|
|
13424
13489
|
* @param {string} roleId
|
|
13425
13490
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
13426
13491
|
* @param {*} [options] Override http request option.
|
|
@@ -13433,7 +13498,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
13433
13498
|
.then((request) => request(this.axios, this.basePath));
|
|
13434
13499
|
}
|
|
13435
13500
|
/**
|
|
13436
|
-
* Bulk delete players by
|
|
13501
|
+
* Bulk delete players, targeted by ids or by a search query. Deletes Player records which cascades to POG records. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
13437
13502
|
* @summary Bulk delete
|
|
13438
13503
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
13439
13504
|
* @param {*} [options] Override http request option.
|
|
@@ -13471,8 +13536,8 @@ export class PlayerApi extends BaseAPI {
|
|
|
13471
13536
|
.then((request) => request(this.axios, this.basePath));
|
|
13472
13537
|
}
|
|
13473
13538
|
/**
|
|
13474
|
-
*
|
|
13475
|
-
* @summary Get one
|
|
13539
|
+
* Fetch a single player by their Takaro player id, with the platform identifiers and roles attached to them. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerGetOne`
|
|
13540
|
+
* @summary Get one player
|
|
13476
13541
|
* @param {string} id
|
|
13477
13542
|
* @param {*} [options] Override http request option.
|
|
13478
13543
|
* @throws {RequiredError}
|
|
@@ -13484,8 +13549,8 @@ export class PlayerApi extends BaseAPI {
|
|
|
13484
13549
|
.then((request) => request(this.axios, this.basePath));
|
|
13485
13550
|
}
|
|
13486
13551
|
/**
|
|
13487
|
-
*
|
|
13488
|
-
* @summary Remove role
|
|
13552
|
+
* Takes a role away from a player, revoking the permissions it granted them. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerRemoveRole`
|
|
13553
|
+
* @summary Remove a role from a player
|
|
13489
13554
|
* @param {string} id
|
|
13490
13555
|
* @param {string} roleId
|
|
13491
13556
|
* @param {PlayerRoleAssignChangeDTO} [playerRoleAssignChangeDTO] PlayerRoleAssignChangeDTO
|
|
@@ -13499,8 +13564,8 @@ export class PlayerApi extends BaseAPI {
|
|
|
13499
13564
|
.then((request) => request(this.axios, this.basePath));
|
|
13500
13565
|
}
|
|
13501
13566
|
/**
|
|
13502
|
-
*
|
|
13503
|
-
* @summary
|
|
13567
|
+
* Search every player Takaro knows about, across all game servers. Match on their name or on a platform identifier: Steam ID, Xbox live ID, Epic Online Services ID, or their Takaro player id. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerControllerSearch`
|
|
13568
|
+
* @summary Find a player by name or platform id
|
|
13504
13569
|
* @param {PlayerSearchInputDTO} [playerSearchInputDTO] PlayerSearchInputDTO
|
|
13505
13570
|
* @param {*} [options] Override http request option.
|
|
13506
13571
|
* @throws {RequiredError}
|
|
@@ -13519,8 +13584,8 @@ export class PlayerApi extends BaseAPI {
|
|
|
13519
13584
|
export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
13520
13585
|
return {
|
|
13521
13586
|
/**
|
|
13522
|
-
*
|
|
13523
|
-
* @summary
|
|
13587
|
+
* Grant currency to a player on a game server as a reward, a payout or a manual correction. The amount is added to the balance they already have. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
|
|
13588
|
+
* @summary Give a player currency
|
|
13524
13589
|
* @param {string} gameServerId
|
|
13525
13590
|
* @param {string} playerId
|
|
13526
13591
|
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
@@ -13556,8 +13621,8 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
13556
13621
|
};
|
|
13557
13622
|
},
|
|
13558
13623
|
/**
|
|
13559
|
-
* Bulk add currency to
|
|
13560
|
-
* @summary
|
|
13624
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
13625
|
+
* @summary Give several players currency at once
|
|
13561
13626
|
* @param {string} gameServerId
|
|
13562
13627
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
13563
13628
|
* @param {*} [options] Override http request option.
|
|
@@ -13589,7 +13654,7 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
13589
13654
|
},
|
|
13590
13655
|
/**
|
|
13591
13656
|
* 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`
|
|
13592
|
-
* @summary
|
|
13657
|
+
* @summary Permanently delete several players\' records and their history
|
|
13593
13658
|
* @param {string} gameServerId
|
|
13594
13659
|
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
13595
13660
|
* @param {*} [options] Override http request option.
|
|
@@ -13620,8 +13685,8 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
13620
13685
|
};
|
|
13621
13686
|
},
|
|
13622
13687
|
/**
|
|
13623
|
-
*
|
|
13624
|
-
* @summary
|
|
13688
|
+
* Remove currency from a player on a game server as a fine or a manual correction. The amount is subtracted from the balance they already have. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
13689
|
+
* @summary Take currency away from a player
|
|
13625
13690
|
* @param {string} gameServerId
|
|
13626
13691
|
* @param {string} playerId
|
|
13627
13692
|
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
@@ -13657,8 +13722,8 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
13657
13722
|
};
|
|
13658
13723
|
},
|
|
13659
13724
|
/**
|
|
13660
|
-
*
|
|
13661
|
-
* @summary
|
|
13725
|
+
* Removes the per-server record only. The player themselves, and their records on other game servers, remain untouched. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
13726
|
+
* @summary Permanently delete a player\'s record and its history
|
|
13662
13727
|
* @param {string} gameServerId
|
|
13663
13728
|
* @param {string} playerId
|
|
13664
13729
|
* @param {*} [options] Override http request option.
|
|
@@ -13691,8 +13756,8 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
13691
13756
|
};
|
|
13692
13757
|
},
|
|
13693
13758
|
/**
|
|
13694
|
-
*
|
|
13695
|
-
* @summary Get one
|
|
13759
|
+
* Fetch a single player\'s record on a specific game server, with their currency balance, playtime and online status. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
13760
|
+
* @summary Get one player on a game server
|
|
13696
13761
|
* @param {string} gameServerId
|
|
13697
13762
|
* @param {string} playerId
|
|
13698
13763
|
* @param {*} [options] Override http request option.
|
|
@@ -13725,8 +13790,8 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
13725
13790
|
};
|
|
13726
13791
|
},
|
|
13727
13792
|
/**
|
|
13728
|
-
*
|
|
13729
|
-
* @summary Search
|
|
13793
|
+
* Find the per-server record of a player: their currency balance, playtime, online status and when they were last seen on that game server. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
|
|
13794
|
+
* @summary Search players on a game server
|
|
13730
13795
|
* @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
|
|
13731
13796
|
* @param {*} [options] Override http request option.
|
|
13732
13797
|
* @throws {RequiredError}
|
|
@@ -13754,8 +13819,8 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
13754
13819
|
};
|
|
13755
13820
|
},
|
|
13756
13821
|
/**
|
|
13757
|
-
*
|
|
13758
|
-
* @summary Set currency
|
|
13822
|
+
* Overwrite a player\'s currency balance on a game server with an exact amount, rather than adding to or subtracting from it. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
|
|
13823
|
+
* @summary Set a player\'s currency balance
|
|
13759
13824
|
* @param {string} gameServerId
|
|
13760
13825
|
* @param {string} playerId
|
|
13761
13826
|
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
@@ -13791,8 +13856,8 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
13791
13856
|
};
|
|
13792
13857
|
},
|
|
13793
13858
|
/**
|
|
13794
|
-
*
|
|
13795
|
-
* @summary
|
|
13859
|
+
* Move currency from one player to another on the same game server, deducting from the sender and adding to the receiver in a single operation. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
|
|
13860
|
+
* @summary Transfer currency between two players
|
|
13796
13861
|
* @param {string} gameServerId
|
|
13797
13862
|
* @param {string} sender
|
|
13798
13863
|
* @param {string} receiver
|
|
@@ -13841,8 +13906,8 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
13841
13906
|
const localVarAxiosParamCreator = PlayerOnGameServerApiAxiosParamCreator(configuration);
|
|
13842
13907
|
return {
|
|
13843
13908
|
/**
|
|
13844
|
-
*
|
|
13845
|
-
* @summary
|
|
13909
|
+
* Grant currency to a player on a game server as a reward, a payout or a manual correction. The amount is added to the balance they already have. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
|
|
13910
|
+
* @summary Give a player currency
|
|
13846
13911
|
* @param {string} gameServerId
|
|
13847
13912
|
* @param {string} playerId
|
|
13848
13913
|
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
@@ -13856,8 +13921,8 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
13856
13921
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13857
13922
|
},
|
|
13858
13923
|
/**
|
|
13859
|
-
* Bulk add currency to
|
|
13860
|
-
* @summary
|
|
13924
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
13925
|
+
* @summary Give several players currency at once
|
|
13861
13926
|
* @param {string} gameServerId
|
|
13862
13927
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
13863
13928
|
* @param {*} [options] Override http request option.
|
|
@@ -13871,7 +13936,7 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
13871
13936
|
},
|
|
13872
13937
|
/**
|
|
13873
13938
|
* 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`
|
|
13874
|
-
* @summary
|
|
13939
|
+
* @summary Permanently delete several players\' records and their history
|
|
13875
13940
|
* @param {string} gameServerId
|
|
13876
13941
|
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
13877
13942
|
* @param {*} [options] Override http request option.
|
|
@@ -13884,8 +13949,8 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
13884
13949
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13885
13950
|
},
|
|
13886
13951
|
/**
|
|
13887
|
-
*
|
|
13888
|
-
* @summary
|
|
13952
|
+
* Remove currency from a player on a game server as a fine or a manual correction. The amount is subtracted from the balance they already have. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
13953
|
+
* @summary Take currency away from a player
|
|
13889
13954
|
* @param {string} gameServerId
|
|
13890
13955
|
* @param {string} playerId
|
|
13891
13956
|
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
@@ -13899,8 +13964,8 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
13899
13964
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13900
13965
|
},
|
|
13901
13966
|
/**
|
|
13902
|
-
*
|
|
13903
|
-
* @summary
|
|
13967
|
+
* Removes the per-server record only. The player themselves, and their records on other game servers, remain untouched. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
13968
|
+
* @summary Permanently delete a player\'s record and its history
|
|
13904
13969
|
* @param {string} gameServerId
|
|
13905
13970
|
* @param {string} playerId
|
|
13906
13971
|
* @param {*} [options] Override http request option.
|
|
@@ -13914,8 +13979,8 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
13914
13979
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13915
13980
|
},
|
|
13916
13981
|
/**
|
|
13917
|
-
*
|
|
13918
|
-
* @summary Get one
|
|
13982
|
+
* Fetch a single player\'s record on a specific game server, with their currency balance, playtime and online status. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
13983
|
+
* @summary Get one player on a game server
|
|
13919
13984
|
* @param {string} gameServerId
|
|
13920
13985
|
* @param {string} playerId
|
|
13921
13986
|
* @param {*} [options] Override http request option.
|
|
@@ -13929,8 +13994,8 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
13929
13994
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13930
13995
|
},
|
|
13931
13996
|
/**
|
|
13932
|
-
*
|
|
13933
|
-
* @summary Search
|
|
13997
|
+
* Find the per-server record of a player: their currency balance, playtime, online status and when they were last seen on that game server. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
|
|
13998
|
+
* @summary Search players on a game server
|
|
13934
13999
|
* @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
|
|
13935
14000
|
* @param {*} [options] Override http request option.
|
|
13936
14001
|
* @throws {RequiredError}
|
|
@@ -13943,8 +14008,8 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
13943
14008
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13944
14009
|
},
|
|
13945
14010
|
/**
|
|
13946
|
-
*
|
|
13947
|
-
* @summary Set currency
|
|
14011
|
+
* Overwrite a player\'s currency balance on a game server with an exact amount, rather than adding to or subtracting from it. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
|
|
14012
|
+
* @summary Set a player\'s currency balance
|
|
13948
14013
|
* @param {string} gameServerId
|
|
13949
14014
|
* @param {string} playerId
|
|
13950
14015
|
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
@@ -13958,8 +14023,8 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
13958
14023
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
13959
14024
|
},
|
|
13960
14025
|
/**
|
|
13961
|
-
*
|
|
13962
|
-
* @summary
|
|
14026
|
+
* Move currency from one player to another on the same game server, deducting from the sender and adding to the receiver in a single operation. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
|
|
14027
|
+
* @summary Transfer currency between two players
|
|
13963
14028
|
* @param {string} gameServerId
|
|
13964
14029
|
* @param {string} sender
|
|
13965
14030
|
* @param {string} receiver
|
|
@@ -13983,8 +14048,8 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
13983
14048
|
const localVarFp = PlayerOnGameServerApiFp(configuration);
|
|
13984
14049
|
return {
|
|
13985
14050
|
/**
|
|
13986
|
-
*
|
|
13987
|
-
* @summary
|
|
14051
|
+
* Grant currency to a player on a game server as a reward, a payout or a manual correction. The amount is added to the balance they already have. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
|
|
14052
|
+
* @summary Give a player currency
|
|
13988
14053
|
* @param {string} gameServerId
|
|
13989
14054
|
* @param {string} playerId
|
|
13990
14055
|
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
@@ -13997,8 +14062,8 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
13997
14062
|
.then((request) => request(axios, basePath));
|
|
13998
14063
|
},
|
|
13999
14064
|
/**
|
|
14000
|
-
* Bulk add currency to
|
|
14001
|
-
* @summary
|
|
14065
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
14066
|
+
* @summary Give several players currency at once
|
|
14002
14067
|
* @param {string} gameServerId
|
|
14003
14068
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
14004
14069
|
* @param {*} [options] Override http request option.
|
|
@@ -14011,7 +14076,7 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
14011
14076
|
},
|
|
14012
14077
|
/**
|
|
14013
14078
|
* 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`
|
|
14014
|
-
* @summary
|
|
14079
|
+
* @summary Permanently delete several players\' records and their history
|
|
14015
14080
|
* @param {string} gameServerId
|
|
14016
14081
|
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
14017
14082
|
* @param {*} [options] Override http request option.
|
|
@@ -14023,8 +14088,8 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
14023
14088
|
.then((request) => request(axios, basePath));
|
|
14024
14089
|
},
|
|
14025
14090
|
/**
|
|
14026
|
-
*
|
|
14027
|
-
* @summary
|
|
14091
|
+
* Remove currency from a player on a game server as a fine or a manual correction. The amount is subtracted from the balance they already have. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
14092
|
+
* @summary Take currency away from a player
|
|
14028
14093
|
* @param {string} gameServerId
|
|
14029
14094
|
* @param {string} playerId
|
|
14030
14095
|
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
@@ -14037,8 +14102,8 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
14037
14102
|
.then((request) => request(axios, basePath));
|
|
14038
14103
|
},
|
|
14039
14104
|
/**
|
|
14040
|
-
*
|
|
14041
|
-
* @summary
|
|
14105
|
+
* Removes the per-server record only. The player themselves, and their records on other game servers, remain untouched. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
14106
|
+
* @summary Permanently delete a player\'s record and its history
|
|
14042
14107
|
* @param {string} gameServerId
|
|
14043
14108
|
* @param {string} playerId
|
|
14044
14109
|
* @param {*} [options] Override http request option.
|
|
@@ -14050,8 +14115,8 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
14050
14115
|
.then((request) => request(axios, basePath));
|
|
14051
14116
|
},
|
|
14052
14117
|
/**
|
|
14053
|
-
*
|
|
14054
|
-
* @summary Get one
|
|
14118
|
+
* Fetch a single player\'s record on a specific game server, with their currency balance, playtime and online status. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
14119
|
+
* @summary Get one player on a game server
|
|
14055
14120
|
* @param {string} gameServerId
|
|
14056
14121
|
* @param {string} playerId
|
|
14057
14122
|
* @param {*} [options] Override http request option.
|
|
@@ -14063,8 +14128,8 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
14063
14128
|
.then((request) => request(axios, basePath));
|
|
14064
14129
|
},
|
|
14065
14130
|
/**
|
|
14066
|
-
*
|
|
14067
|
-
* @summary Search
|
|
14131
|
+
* Find the per-server record of a player: their currency balance, playtime, online status and when they were last seen on that game server. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
|
|
14132
|
+
* @summary Search players on a game server
|
|
14068
14133
|
* @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
|
|
14069
14134
|
* @param {*} [options] Override http request option.
|
|
14070
14135
|
* @throws {RequiredError}
|
|
@@ -14075,8 +14140,8 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
14075
14140
|
.then((request) => request(axios, basePath));
|
|
14076
14141
|
},
|
|
14077
14142
|
/**
|
|
14078
|
-
*
|
|
14079
|
-
* @summary Set currency
|
|
14143
|
+
* Overwrite a player\'s currency balance on a game server with an exact amount, rather than adding to or subtracting from it. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
|
|
14144
|
+
* @summary Set a player\'s currency balance
|
|
14080
14145
|
* @param {string} gameServerId
|
|
14081
14146
|
* @param {string} playerId
|
|
14082
14147
|
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
@@ -14089,8 +14154,8 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
14089
14154
|
.then((request) => request(axios, basePath));
|
|
14090
14155
|
},
|
|
14091
14156
|
/**
|
|
14092
|
-
*
|
|
14093
|
-
* @summary
|
|
14157
|
+
* Move currency from one player to another on the same game server, deducting from the sender and adding to the receiver in a single operation. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
|
|
14158
|
+
* @summary Transfer currency between two players
|
|
14094
14159
|
* @param {string} gameServerId
|
|
14095
14160
|
* @param {string} sender
|
|
14096
14161
|
* @param {string} receiver
|
|
@@ -14113,8 +14178,8 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
14113
14178
|
*/
|
|
14114
14179
|
export class PlayerOnGameServerApi extends BaseAPI {
|
|
14115
14180
|
/**
|
|
14116
|
-
*
|
|
14117
|
-
* @summary
|
|
14181
|
+
* Grant currency to a player on a game server as a reward, a payout or a manual correction. The amount is added to the balance they already have. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerAddCurrency`
|
|
14182
|
+
* @summary Give a player currency
|
|
14118
14183
|
* @param {string} gameServerId
|
|
14119
14184
|
* @param {string} playerId
|
|
14120
14185
|
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
@@ -14128,8 +14193,8 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
14128
14193
|
.then((request) => request(this.axios, this.basePath));
|
|
14129
14194
|
}
|
|
14130
14195
|
/**
|
|
14131
|
-
* Bulk add currency to
|
|
14132
|
-
* @summary
|
|
14196
|
+
* Bulk add currency to players on a game server, targeted by player ids or by a player-on-game-server search query (at most 1000 resolved players). Processes each player individually and reports partial failures. `playerIds` is deprecated; use `ids`. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
|
|
14197
|
+
* @summary Give several players currency at once
|
|
14133
14198
|
* @param {string} gameServerId
|
|
14134
14199
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
14135
14200
|
* @param {*} [options] Override http request option.
|
|
@@ -14143,7 +14208,7 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
14143
14208
|
}
|
|
14144
14209
|
/**
|
|
14145
14210
|
* 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`
|
|
14146
|
-
* @summary
|
|
14211
|
+
* @summary Permanently delete several players\' records and their history
|
|
14147
14212
|
* @param {string} gameServerId
|
|
14148
14213
|
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
14149
14214
|
* @param {*} [options] Override http request option.
|
|
@@ -14156,8 +14221,8 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
14156
14221
|
.then((request) => request(this.axios, this.basePath));
|
|
14157
14222
|
}
|
|
14158
14223
|
/**
|
|
14159
|
-
*
|
|
14160
|
-
* @summary
|
|
14224
|
+
* Remove currency from a player on a game server as a fine or a manual correction. The amount is subtracted from the balance they already have. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
14225
|
+
* @summary Take currency away from a player
|
|
14161
14226
|
* @param {string} gameServerId
|
|
14162
14227
|
* @param {string} playerId
|
|
14163
14228
|
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
@@ -14171,8 +14236,8 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
14171
14236
|
.then((request) => request(this.axios, this.basePath));
|
|
14172
14237
|
}
|
|
14173
14238
|
/**
|
|
14174
|
-
*
|
|
14175
|
-
* @summary
|
|
14239
|
+
* Removes the per-server record only. The player themselves, and their records on other game servers, remain untouched. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
14240
|
+
* @summary Permanently delete a player\'s record and its history
|
|
14176
14241
|
* @param {string} gameServerId
|
|
14177
14242
|
* @param {string} playerId
|
|
14178
14243
|
* @param {*} [options] Override http request option.
|
|
@@ -14185,8 +14250,8 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
14185
14250
|
.then((request) => request(this.axios, this.basePath));
|
|
14186
14251
|
}
|
|
14187
14252
|
/**
|
|
14188
|
-
*
|
|
14189
|
-
* @summary Get one
|
|
14253
|
+
* Fetch a single player\'s record on a specific game server, with their currency balance, playtime and online status. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
14254
|
+
* @summary Get one player on a game server
|
|
14190
14255
|
* @param {string} gameServerId
|
|
14191
14256
|
* @param {string} playerId
|
|
14192
14257
|
* @param {*} [options] Override http request option.
|
|
@@ -14199,8 +14264,8 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
14199
14264
|
.then((request) => request(this.axios, this.basePath));
|
|
14200
14265
|
}
|
|
14201
14266
|
/**
|
|
14202
|
-
*
|
|
14203
|
-
* @summary Search
|
|
14267
|
+
* Find the per-server record of a player: their currency balance, playtime, online status and when they were last seen on that game server. Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSearch`
|
|
14268
|
+
* @summary Search players on a game server
|
|
14204
14269
|
* @param {PlayerOnGameServerSearchInputDTO} [playerOnGameServerSearchInputDTO] PlayerOnGameServerSearchInputDTO
|
|
14205
14270
|
* @param {*} [options] Override http request option.
|
|
14206
14271
|
* @throws {RequiredError}
|
|
@@ -14212,8 +14277,8 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
14212
14277
|
.then((request) => request(this.axios, this.basePath));
|
|
14213
14278
|
}
|
|
14214
14279
|
/**
|
|
14215
|
-
*
|
|
14216
|
-
* @summary Set currency
|
|
14280
|
+
* Overwrite a player\'s currency balance on a game server with an exact amount, rather than adding to or subtracting from it. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerSetCurrency`
|
|
14281
|
+
* @summary Set a player\'s currency balance
|
|
14217
14282
|
* @param {string} gameServerId
|
|
14218
14283
|
* @param {string} playerId
|
|
14219
14284
|
* @param {PlayerOnGameServerSetCurrencyInputDTO} [playerOnGameServerSetCurrencyInputDTO] PlayerOnGameServerSetCurrencyInputDTO
|
|
@@ -14227,8 +14292,8 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
14227
14292
|
.then((request) => request(this.axios, this.basePath));
|
|
14228
14293
|
}
|
|
14229
14294
|
/**
|
|
14230
|
-
*
|
|
14231
|
-
* @summary
|
|
14295
|
+
* Move currency from one player to another on the same game server, deducting from the sender and adding to the receiver in a single operation. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerTransactBetweenPlayers`
|
|
14296
|
+
* @summary Transfer currency between two players
|
|
14232
14297
|
* @param {string} gameServerId
|
|
14233
14298
|
* @param {string} sender
|
|
14234
14299
|
* @param {string} receiver
|
|
@@ -14671,8 +14736,8 @@ export const RoleApiAxiosParamCreator = function (configuration) {
|
|
|
14671
14736
|
};
|
|
14672
14737
|
},
|
|
14673
14738
|
/**
|
|
14674
|
-
*
|
|
14675
|
-
* @summary
|
|
14739
|
+
* Returns the full catalogue of permissions that can be assigned to a role, including the ones modules contribute.<br> OperationId: `RoleControllerGetPermissions`
|
|
14740
|
+
* @summary List every permission a role can grant
|
|
14676
14741
|
* @param {*} [options] Override http request option.
|
|
14677
14742
|
* @throws {RequiredError}
|
|
14678
14743
|
*/
|
|
@@ -14822,8 +14887,8 @@ export const RoleApiFp = function (configuration) {
|
|
|
14822
14887
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14823
14888
|
},
|
|
14824
14889
|
/**
|
|
14825
|
-
*
|
|
14826
|
-
* @summary
|
|
14890
|
+
* Returns the full catalogue of permissions that can be assigned to a role, including the ones modules contribute.<br> OperationId: `RoleControllerGetPermissions`
|
|
14891
|
+
* @summary List every permission a role can grant
|
|
14827
14892
|
* @param {*} [options] Override http request option.
|
|
14828
14893
|
* @throws {RequiredError}
|
|
14829
14894
|
*/
|
|
@@ -14903,8 +14968,8 @@ export const RoleApiFactory = function (configuration, basePath, axios) {
|
|
|
14903
14968
|
return localVarFp.roleControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
14904
14969
|
},
|
|
14905
14970
|
/**
|
|
14906
|
-
*
|
|
14907
|
-
* @summary
|
|
14971
|
+
* Returns the full catalogue of permissions that can be assigned to a role, including the ones modules contribute.<br> OperationId: `RoleControllerGetPermissions`
|
|
14972
|
+
* @summary List every permission a role can grant
|
|
14908
14973
|
* @param {*} [options] Override http request option.
|
|
14909
14974
|
* @throws {RequiredError}
|
|
14910
14975
|
*/
|
|
@@ -14980,8 +15045,8 @@ export class RoleApi extends BaseAPI {
|
|
|
14980
15045
|
.then((request) => request(this.axios, this.basePath));
|
|
14981
15046
|
}
|
|
14982
15047
|
/**
|
|
14983
|
-
*
|
|
14984
|
-
* @summary
|
|
15048
|
+
* Returns the full catalogue of permissions that can be assigned to a role, including the ones modules contribute.<br> OperationId: `RoleControllerGetPermissions`
|
|
15049
|
+
* @summary List every permission a role can grant
|
|
14985
15050
|
* @param {*} [options] Override http request option.
|
|
14986
15051
|
* @throws {RequiredError}
|
|
14987
15052
|
* @memberof RoleApi
|
|
@@ -15901,7 +15966,7 @@ export class ShopActionApi extends BaseAPI {
|
|
|
15901
15966
|
export const ShopCategoryApiAxiosParamCreator = function (configuration) {
|
|
15902
15967
|
return {
|
|
15903
15968
|
/**
|
|
15904
|
-
* Bulk assign categories to
|
|
15969
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
15905
15970
|
* @summary Bulk assign
|
|
15906
15971
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
15907
15972
|
* @param {*} [options] Override http request option.
|
|
@@ -16153,7 +16218,7 @@ export const ShopCategoryApiFp = function (configuration) {
|
|
|
16153
16218
|
const localVarAxiosParamCreator = ShopCategoryApiAxiosParamCreator(configuration);
|
|
16154
16219
|
return {
|
|
16155
16220
|
/**
|
|
16156
|
-
* Bulk assign categories to
|
|
16221
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
16157
16222
|
* @summary Bulk assign
|
|
16158
16223
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
16159
16224
|
* @param {*} [options] Override http request option.
|
|
@@ -16269,7 +16334,7 @@ export const ShopCategoryApiFactory = function (configuration, basePath, axios)
|
|
|
16269
16334
|
const localVarFp = ShopCategoryApiFp(configuration);
|
|
16270
16335
|
return {
|
|
16271
16336
|
/**
|
|
16272
|
-
* Bulk assign categories to
|
|
16337
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
16273
16338
|
* @summary Bulk assign
|
|
16274
16339
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
16275
16340
|
* @param {*} [options] Override http request option.
|
|
@@ -16373,7 +16438,7 @@ export const ShopCategoryApiFactory = function (configuration, basePath, axios)
|
|
|
16373
16438
|
*/
|
|
16374
16439
|
export class ShopCategoryApi extends BaseAPI {
|
|
16375
16440
|
/**
|
|
16376
|
-
* Bulk assign categories to
|
|
16441
|
+
* Bulk assign categories to shop listings, targeted by ids or by a listing search query. `listingIds` is deprecated; use `ids`. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerBulkAssign`
|
|
16377
16442
|
* @summary Bulk assign
|
|
16378
16443
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
16379
16444
|
* @param {*} [options] Override http request option.
|
|
@@ -16486,6 +16551,35 @@ export class ShopCategoryApi extends BaseAPI {
|
|
|
16486
16551
|
*/
|
|
16487
16552
|
export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
16488
16553
|
return {
|
|
16554
|
+
/**
|
|
16555
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
16556
|
+
* @summary Bulk
|
|
16557
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
16558
|
+
* @param {*} [options] Override http request option.
|
|
16559
|
+
* @throws {RequiredError}
|
|
16560
|
+
*/
|
|
16561
|
+
shopListingControllerBulk: async (shopListingBulkInputDTO, options = {}) => {
|
|
16562
|
+
const localVarPath = `/shop/listing/bulk`;
|
|
16563
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16564
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16565
|
+
let baseOptions;
|
|
16566
|
+
if (configuration) {
|
|
16567
|
+
baseOptions = configuration.baseOptions;
|
|
16568
|
+
}
|
|
16569
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
16570
|
+
const localVarHeaderParameter = {};
|
|
16571
|
+
const localVarQueryParameter = {};
|
|
16572
|
+
// authentication domainAuth required
|
|
16573
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16574
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16575
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16576
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
16577
|
+
localVarRequestOptions.data = serializeDataIfNeeded(shopListingBulkInputDTO, localVarRequestOptions, configuration);
|
|
16578
|
+
return {
|
|
16579
|
+
url: toPathString(localVarUrlObj),
|
|
16580
|
+
options: localVarRequestOptions,
|
|
16581
|
+
};
|
|
16582
|
+
},
|
|
16489
16583
|
/**
|
|
16490
16584
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16491
16585
|
* @summary Create
|
|
@@ -16669,6 +16763,19 @@ export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
|
16669
16763
|
export const ShopListingApiFp = function (configuration) {
|
|
16670
16764
|
const localVarAxiosParamCreator = ShopListingApiAxiosParamCreator(configuration);
|
|
16671
16765
|
return {
|
|
16766
|
+
/**
|
|
16767
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
16768
|
+
* @summary Bulk
|
|
16769
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
16770
|
+
* @param {*} [options] Override http request option.
|
|
16771
|
+
* @throws {RequiredError}
|
|
16772
|
+
*/
|
|
16773
|
+
async shopListingControllerBulk(shopListingBulkInputDTO, options) {
|
|
16774
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerBulk(shopListingBulkInputDTO, options);
|
|
16775
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16776
|
+
const localVarOperationServerBasePath = operationServerMap['ShopListingApi.shopListingControllerBulk']?.[localVarOperationServerIndex]?.url;
|
|
16777
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
16778
|
+
},
|
|
16672
16779
|
/**
|
|
16673
16780
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16674
16781
|
* @summary Create
|
|
@@ -16756,6 +16863,18 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
16756
16863
|
export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
16757
16864
|
const localVarFp = ShopListingApiFp(configuration);
|
|
16758
16865
|
return {
|
|
16866
|
+
/**
|
|
16867
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
16868
|
+
* @summary Bulk
|
|
16869
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
16870
|
+
* @param {*} [options] Override http request option.
|
|
16871
|
+
* @throws {RequiredError}
|
|
16872
|
+
*/
|
|
16873
|
+
shopListingControllerBulk(shopListingBulkInputDTO, options) {
|
|
16874
|
+
return localVarFp
|
|
16875
|
+
.shopListingControllerBulk(shopListingBulkInputDTO, options)
|
|
16876
|
+
.then((request) => request(axios, basePath));
|
|
16877
|
+
},
|
|
16759
16878
|
/**
|
|
16760
16879
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16761
16880
|
* @summary Create
|
|
@@ -16831,6 +16950,19 @@ export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
|
16831
16950
|
* @extends {BaseAPI}
|
|
16832
16951
|
*/
|
|
16833
16952
|
export class ShopListingApi extends BaseAPI {
|
|
16953
|
+
/**
|
|
16954
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
16955
|
+
* @summary Bulk
|
|
16956
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
16957
|
+
* @param {*} [options] Override http request option.
|
|
16958
|
+
* @throws {RequiredError}
|
|
16959
|
+
* @memberof ShopListingApi
|
|
16960
|
+
*/
|
|
16961
|
+
shopListingControllerBulk(shopListingBulkInputDTO, options) {
|
|
16962
|
+
return ShopListingApiFp(this.configuration)
|
|
16963
|
+
.shopListingControllerBulk(shopListingBulkInputDTO, options)
|
|
16964
|
+
.then((request) => request(this.axios, this.basePath));
|
|
16965
|
+
}
|
|
16834
16966
|
/**
|
|
16835
16967
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
16836
16968
|
* @summary Create
|
|
@@ -17334,6 +17466,38 @@ export const StorefrontConfigApiAxiosParamCreator = function (configuration) {
|
|
|
17334
17466
|
options: localVarRequestOptions,
|
|
17335
17467
|
};
|
|
17336
17468
|
},
|
|
17469
|
+
/**
|
|
17470
|
+
* Render the storefront for a game server from an unsaved template id and values, using the same validation and render path as the public page. Persists nothing. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerPreviewConfig`
|
|
17471
|
+
* @summary Preview config
|
|
17472
|
+
* @param {string} gameServerId
|
|
17473
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17474
|
+
* @param {*} [options] Override http request option.
|
|
17475
|
+
* @throws {RequiredError}
|
|
17476
|
+
*/
|
|
17477
|
+
storefrontConfigControllerPreviewConfig: async (gameServerId, storefrontConfigUpsertBody, options = {}) => {
|
|
17478
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
17479
|
+
assertParamExists('storefrontConfigControllerPreviewConfig', 'gameServerId', gameServerId);
|
|
17480
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config/preview`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
17481
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
17482
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
17483
|
+
let baseOptions;
|
|
17484
|
+
if (configuration) {
|
|
17485
|
+
baseOptions = configuration.baseOptions;
|
|
17486
|
+
}
|
|
17487
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
17488
|
+
const localVarHeaderParameter = {};
|
|
17489
|
+
const localVarQueryParameter = {};
|
|
17490
|
+
// authentication domainAuth required
|
|
17491
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
17492
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
17493
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
17494
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
17495
|
+
localVarRequestOptions.data = serializeDataIfNeeded(storefrontConfigUpsertBody, localVarRequestOptions, configuration);
|
|
17496
|
+
return {
|
|
17497
|
+
url: toPathString(localVarUrlObj),
|
|
17498
|
+
options: localVarRequestOptions,
|
|
17499
|
+
};
|
|
17500
|
+
},
|
|
17337
17501
|
/**
|
|
17338
17502
|
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
17339
17503
|
* @summary Set config
|
|
@@ -17400,6 +17564,20 @@ export const StorefrontConfigApiFp = function (configuration) {
|
|
|
17400
17564
|
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerListTemplates']?.[localVarOperationServerIndex]?.url;
|
|
17401
17565
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17402
17566
|
},
|
|
17567
|
+
/**
|
|
17568
|
+
* Render the storefront for a game server from an unsaved template id and values, using the same validation and render path as the public page. Persists nothing. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerPreviewConfig`
|
|
17569
|
+
* @summary Preview config
|
|
17570
|
+
* @param {string} gameServerId
|
|
17571
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17572
|
+
* @param {*} [options] Override http request option.
|
|
17573
|
+
* @throws {RequiredError}
|
|
17574
|
+
*/
|
|
17575
|
+
async storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17576
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options);
|
|
17577
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
17578
|
+
const localVarOperationServerBasePath = operationServerMap['StorefrontConfigApi.storefrontConfigControllerPreviewConfig']?.[localVarOperationServerIndex]?.url;
|
|
17579
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
17580
|
+
},
|
|
17403
17581
|
/**
|
|
17404
17582
|
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
17405
17583
|
* @summary Set config
|
|
@@ -17445,6 +17623,19 @@ export const StorefrontConfigApiFactory = function (configuration, basePath, axi
|
|
|
17445
17623
|
storefrontConfigControllerListTemplates(options) {
|
|
17446
17624
|
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
17447
17625
|
},
|
|
17626
|
+
/**
|
|
17627
|
+
* Render the storefront for a game server from an unsaved template id and values, using the same validation and render path as the public page. Persists nothing. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerPreviewConfig`
|
|
17628
|
+
* @summary Preview config
|
|
17629
|
+
* @param {string} gameServerId
|
|
17630
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17631
|
+
* @param {*} [options] Override http request option.
|
|
17632
|
+
* @throws {RequiredError}
|
|
17633
|
+
*/
|
|
17634
|
+
storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17635
|
+
return localVarFp
|
|
17636
|
+
.storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
17637
|
+
.then((request) => request(axios, basePath));
|
|
17638
|
+
},
|
|
17448
17639
|
/**
|
|
17449
17640
|
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
17450
17641
|
* @summary Set config
|
|
@@ -17492,6 +17683,20 @@ export class StorefrontConfigApi extends BaseAPI {
|
|
|
17492
17683
|
.storefrontConfigControllerListTemplates(options)
|
|
17493
17684
|
.then((request) => request(this.axios, this.basePath));
|
|
17494
17685
|
}
|
|
17686
|
+
/**
|
|
17687
|
+
* Render the storefront for a game server from an unsaved template id and values, using the same validation and render path as the public page. Persists nothing. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerPreviewConfig`
|
|
17688
|
+
* @summary Preview config
|
|
17689
|
+
* @param {string} gameServerId
|
|
17690
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
17691
|
+
* @param {*} [options] Override http request option.
|
|
17692
|
+
* @throws {RequiredError}
|
|
17693
|
+
* @memberof StorefrontConfigApi
|
|
17694
|
+
*/
|
|
17695
|
+
storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options) {
|
|
17696
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
17697
|
+
.storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
17698
|
+
.then((request) => request(this.axios, this.basePath));
|
|
17699
|
+
}
|
|
17495
17700
|
/**
|
|
17496
17701
|
* Set the storefront configuration for a game server. Validates the template id and values against the template schema. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `StorefrontConfigControllerSetConfig`
|
|
17497
17702
|
* @summary Set config
|
|
@@ -18905,6 +19110,35 @@ export class UserApi extends BaseAPI {
|
|
|
18905
19110
|
*/
|
|
18906
19111
|
export const VariableApiAxiosParamCreator = function (configuration) {
|
|
18907
19112
|
return {
|
|
19113
|
+
/**
|
|
19114
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19115
|
+
* @summary Bulk delete
|
|
19116
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19117
|
+
* @param {*} [options] Override http request option.
|
|
19118
|
+
* @throws {RequiredError}
|
|
19119
|
+
*/
|
|
19120
|
+
variableControllerBulkDelete: async (variableBulkDeleteInputDTO, options = {}) => {
|
|
19121
|
+
const localVarPath = `/variables`;
|
|
19122
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19123
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19124
|
+
let baseOptions;
|
|
19125
|
+
if (configuration) {
|
|
19126
|
+
baseOptions = configuration.baseOptions;
|
|
19127
|
+
}
|
|
19128
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
19129
|
+
const localVarHeaderParameter = {};
|
|
19130
|
+
const localVarQueryParameter = {};
|
|
19131
|
+
// authentication domainAuth required
|
|
19132
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
19133
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19134
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19135
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
19136
|
+
localVarRequestOptions.data = serializeDataIfNeeded(variableBulkDeleteInputDTO, localVarRequestOptions, configuration);
|
|
19137
|
+
return {
|
|
19138
|
+
url: toPathString(localVarUrlObj),
|
|
19139
|
+
options: localVarRequestOptions,
|
|
19140
|
+
};
|
|
19141
|
+
},
|
|
18908
19142
|
/**
|
|
18909
19143
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
18910
19144
|
* @summary Create
|
|
@@ -19062,6 +19296,19 @@ export const VariableApiAxiosParamCreator = function (configuration) {
|
|
|
19062
19296
|
export const VariableApiFp = function (configuration) {
|
|
19063
19297
|
const localVarAxiosParamCreator = VariableApiAxiosParamCreator(configuration);
|
|
19064
19298
|
return {
|
|
19299
|
+
/**
|
|
19300
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19301
|
+
* @summary Bulk delete
|
|
19302
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19303
|
+
* @param {*} [options] Override http request option.
|
|
19304
|
+
* @throws {RequiredError}
|
|
19305
|
+
*/
|
|
19306
|
+
async variableControllerBulkDelete(variableBulkDeleteInputDTO, options) {
|
|
19307
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerBulkDelete(variableBulkDeleteInputDTO, options);
|
|
19308
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
19309
|
+
const localVarOperationServerBasePath = operationServerMap['VariableApi.variableControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
|
|
19310
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
19311
|
+
},
|
|
19065
19312
|
/**
|
|
19066
19313
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
19067
19314
|
* @summary Create
|
|
@@ -19137,6 +19384,18 @@ export const VariableApiFp = function (configuration) {
|
|
|
19137
19384
|
export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
19138
19385
|
const localVarFp = VariableApiFp(configuration);
|
|
19139
19386
|
return {
|
|
19387
|
+
/**
|
|
19388
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19389
|
+
* @summary Bulk delete
|
|
19390
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19391
|
+
* @param {*} [options] Override http request option.
|
|
19392
|
+
* @throws {RequiredError}
|
|
19393
|
+
*/
|
|
19394
|
+
variableControllerBulkDelete(variableBulkDeleteInputDTO, options) {
|
|
19395
|
+
return localVarFp
|
|
19396
|
+
.variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
|
|
19397
|
+
.then((request) => request(axios, basePath));
|
|
19398
|
+
},
|
|
19140
19399
|
/**
|
|
19141
19400
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
19142
19401
|
* @summary Create
|
|
@@ -19203,6 +19462,19 @@ export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
|
19203
19462
|
* @extends {BaseAPI}
|
|
19204
19463
|
*/
|
|
19205
19464
|
export class VariableApi extends BaseAPI {
|
|
19465
|
+
/**
|
|
19466
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
19467
|
+
* @summary Bulk delete
|
|
19468
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
19469
|
+
* @param {*} [options] Override http request option.
|
|
19470
|
+
* @throws {RequiredError}
|
|
19471
|
+
* @memberof VariableApi
|
|
19472
|
+
*/
|
|
19473
|
+
variableControllerBulkDelete(variableBulkDeleteInputDTO, options) {
|
|
19474
|
+
return VariableApiFp(this.configuration)
|
|
19475
|
+
.variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
|
|
19476
|
+
.then((request) => request(this.axios, this.basePath));
|
|
19477
|
+
}
|
|
19206
19478
|
/**
|
|
19207
19479
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
19208
19480
|
* @summary Create
|