@takaro/apiclient 0.4.3 → 0.4.4
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 +293 -51
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +186 -39
- package/dist/generated/api.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/api.ts +433 -51
package/dist/generated/api.js
CHANGED
|
@@ -298,10 +298,10 @@ export const EventsCountInputDTOBucketStepEnum = {
|
|
|
298
298
|
_24h: '24h',
|
|
299
299
|
};
|
|
300
300
|
export const FunctionSearchInputDTOExtendEnum = {
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
301
|
+
Version: 'version',
|
|
302
|
+
CronJob: 'cronJob',
|
|
303
|
+
Hook: 'hook',
|
|
304
|
+
Command: 'command',
|
|
305
305
|
};
|
|
306
306
|
export const FunctionSearchInputDTOSortDirectionEnum = {
|
|
307
307
|
Asc: 'asc',
|
|
@@ -374,6 +374,8 @@ export const GetSettingsInputKeysEnum = {
|
|
|
374
374
|
DomainName: 'domainName',
|
|
375
375
|
DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
|
|
376
376
|
DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
|
|
377
|
+
UnknownCommandFeedbackEnabled: 'unknownCommandFeedbackEnabled',
|
|
378
|
+
UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
|
|
377
379
|
};
|
|
378
380
|
export const GuildSearchInputDTOSortDirectionEnum = {
|
|
379
381
|
Asc: 'asc',
|
|
@@ -661,7 +663,7 @@ export const ITakaroQuerySortDirectionEnum = {
|
|
|
661
663
|
Desc: 'desc',
|
|
662
664
|
};
|
|
663
665
|
export const ItemSearchInputDTOExtendEnum = {
|
|
664
|
-
|
|
666
|
+
Gameserver: 'gameserver',
|
|
665
667
|
};
|
|
666
668
|
export const ItemSearchInputDTOSortDirectionEnum = {
|
|
667
669
|
Asc: 'asc',
|
|
@@ -735,6 +737,8 @@ export const ParamKeyKeyEnum = {
|
|
|
735
737
|
DomainName: 'domainName',
|
|
736
738
|
DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
|
|
737
739
|
DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
|
|
740
|
+
UnknownCommandFeedbackEnabled: 'unknownCommandFeedbackEnabled',
|
|
741
|
+
UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
|
|
738
742
|
};
|
|
739
743
|
export const PlayerOnGameServerSearchInputDTOExtendEnum = {
|
|
740
744
|
GameServer: 'gameServer',
|
|
@@ -776,6 +780,8 @@ export const SettingsOutputDTOKeyEnum = {
|
|
|
776
780
|
DomainName: 'domainName',
|
|
777
781
|
DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
|
|
778
782
|
DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
|
|
783
|
+
UnknownCommandFeedbackEnabled: 'unknownCommandFeedbackEnabled',
|
|
784
|
+
UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
|
|
779
785
|
};
|
|
780
786
|
export const SettingsOutputDTOTypeEnum = {
|
|
781
787
|
Override: 'override',
|
|
@@ -795,7 +801,7 @@ export const ShopCategorySearchInputDTOSortDirectionEnum = {
|
|
|
795
801
|
};
|
|
796
802
|
export const ShopListingSearchInputDTOExtendEnum = {
|
|
797
803
|
GameServer: 'gameServer',
|
|
798
|
-
|
|
804
|
+
Items: 'items',
|
|
799
805
|
Categories: 'categories',
|
|
800
806
|
};
|
|
801
807
|
export const ShopListingSearchInputDTOSortDirectionEnum = {
|
|
@@ -811,7 +817,6 @@ export const ShopOrderSearchInputDTOExtendEnum = {
|
|
|
811
817
|
Listing: 'listing',
|
|
812
818
|
ListingItems: 'listing.items',
|
|
813
819
|
ListingItemsItem: 'listing.items.item',
|
|
814
|
-
Player: 'player',
|
|
815
820
|
};
|
|
816
821
|
export const ShopOrderSearchInputDTOSortDirectionEnum = {
|
|
817
822
|
Asc: 'asc',
|
|
@@ -1146,7 +1151,7 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
1146
1151
|
};
|
|
1147
1152
|
},
|
|
1148
1153
|
/**
|
|
1149
|
-
*
|
|
1154
|
+
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
1150
1155
|
* @summary Search
|
|
1151
1156
|
* @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
|
|
1152
1157
|
* @param {*} [options] Override http request option.
|
|
@@ -1360,7 +1365,7 @@ export const CommandApiFp = function (configuration) {
|
|
|
1360
1365
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1361
1366
|
},
|
|
1362
1367
|
/**
|
|
1363
|
-
*
|
|
1368
|
+
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
1364
1369
|
* @summary Search
|
|
1365
1370
|
* @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
|
|
1366
1371
|
* @param {*} [options] Override http request option.
|
|
@@ -1490,7 +1495,7 @@ export const CommandApiFactory = function (configuration, basePath, axios) {
|
|
|
1490
1495
|
return localVarFp.commandControllerRemoveArgument(id, options).then((request) => request(axios, basePath));
|
|
1491
1496
|
},
|
|
1492
1497
|
/**
|
|
1493
|
-
*
|
|
1498
|
+
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
1494
1499
|
* @summary Search
|
|
1495
1500
|
* @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
|
|
1496
1501
|
* @param {*} [options] Override http request option.
|
|
@@ -1630,7 +1635,7 @@ export class CommandApi extends BaseAPI {
|
|
|
1630
1635
|
.then((request) => request(this.axios, this.basePath));
|
|
1631
1636
|
}
|
|
1632
1637
|
/**
|
|
1633
|
-
*
|
|
1638
|
+
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
1634
1639
|
* @summary Search
|
|
1635
1640
|
* @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
|
|
1636
1641
|
* @param {*} [options] Override http request option.
|
|
@@ -1817,7 +1822,7 @@ export const CronJobApiAxiosParamCreator = function (configuration) {
|
|
|
1817
1822
|
};
|
|
1818
1823
|
},
|
|
1819
1824
|
/**
|
|
1820
|
-
*
|
|
1825
|
+
* Search cronjobs Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
1821
1826
|
* @summary Search
|
|
1822
1827
|
* @param {CronJobSearchInputDTO} [cronJobSearchInputDTO] CronJobSearchInputDTO
|
|
1823
1828
|
* @param {*} [options] Override http request option.
|
|
@@ -1970,7 +1975,7 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1970
1975
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1971
1976
|
},
|
|
1972
1977
|
/**
|
|
1973
|
-
*
|
|
1978
|
+
* Search cronjobs Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
1974
1979
|
* @summary Search
|
|
1975
1980
|
* @param {CronJobSearchInputDTO} [cronJobSearchInputDTO] CronJobSearchInputDTO
|
|
1976
1981
|
* @param {*} [options] Override http request option.
|
|
@@ -2063,7 +2068,7 @@ export const CronJobApiFactory = function (configuration, basePath, axios) {
|
|
|
2063
2068
|
return localVarFp.cronJobControllerRemove(id, options).then((request) => request(axios, basePath));
|
|
2064
2069
|
},
|
|
2065
2070
|
/**
|
|
2066
|
-
*
|
|
2071
|
+
* Search cronjobs Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
2067
2072
|
* @summary Search
|
|
2068
2073
|
* @param {CronJobSearchInputDTO} [cronJobSearchInputDTO] CronJobSearchInputDTO
|
|
2069
2074
|
* @param {*} [options] Override http request option.
|
|
@@ -2163,7 +2168,7 @@ export class CronJobApi extends BaseAPI {
|
|
|
2163
2168
|
.then((request) => request(this.axios, this.basePath));
|
|
2164
2169
|
}
|
|
2165
2170
|
/**
|
|
2166
|
-
*
|
|
2171
|
+
* Search cronjobs Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
2167
2172
|
* @summary Search
|
|
2168
2173
|
* @param {CronJobSearchInputDTO} [cronJobSearchInputDTO] CronJobSearchInputDTO
|
|
2169
2174
|
* @param {*} [options] Override http request option.
|
|
@@ -3586,7 +3591,7 @@ export const EventApiAxiosParamCreator = function (configuration) {
|
|
|
3586
3591
|
};
|
|
3587
3592
|
},
|
|
3588
3593
|
/**
|
|
3589
|
-
*
|
|
3594
|
+
* Search events Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
3590
3595
|
* @summary Search
|
|
3591
3596
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
3592
3597
|
* @param {*} [options] Override http request option.
|
|
@@ -3676,7 +3681,7 @@ export const EventApiFp = function (configuration) {
|
|
|
3676
3681
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3677
3682
|
},
|
|
3678
3683
|
/**
|
|
3679
|
-
*
|
|
3684
|
+
* Search events Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
3680
3685
|
* @summary Search
|
|
3681
3686
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
3682
3687
|
* @param {*} [options] Override http request option.
|
|
@@ -3740,7 +3745,7 @@ export const EventApiFactory = function (configuration, basePath, axios) {
|
|
|
3740
3745
|
return localVarFp.eventControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
3741
3746
|
},
|
|
3742
3747
|
/**
|
|
3743
|
-
*
|
|
3748
|
+
* Search events Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
3744
3749
|
* @summary Search
|
|
3745
3750
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
3746
3751
|
* @param {*} [options] Override http request option.
|
|
@@ -3811,7 +3816,7 @@ export class EventApi extends BaseAPI {
|
|
|
3811
3816
|
.then((request) => request(this.axios, this.basePath));
|
|
3812
3817
|
}
|
|
3813
3818
|
/**
|
|
3814
|
-
*
|
|
3819
|
+
* Search events Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
3815
3820
|
* @summary Search
|
|
3816
3821
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
3817
3822
|
* @param {*} [options] Override http request option.
|
|
@@ -4080,7 +4085,7 @@ export const FunctionApiAxiosParamCreator = function (configuration) {
|
|
|
4080
4085
|
};
|
|
4081
4086
|
},
|
|
4082
4087
|
/**
|
|
4083
|
-
*
|
|
4088
|
+
* Search functions Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerSearch`
|
|
4084
4089
|
* @summary Search
|
|
4085
4090
|
* @param {FunctionSearchInputDTO} [functionSearchInputDTO] FunctionSearchInputDTO
|
|
4086
4091
|
* @param {*} [options] Override http request option.
|
|
@@ -4189,7 +4194,7 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4189
4194
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4190
4195
|
},
|
|
4191
4196
|
/**
|
|
4192
|
-
*
|
|
4197
|
+
* Search functions Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerSearch`
|
|
4193
4198
|
* @summary Search
|
|
4194
4199
|
* @param {FunctionSearchInputDTO} [functionSearchInputDTO] FunctionSearchInputDTO
|
|
4195
4200
|
* @param {*} [options] Override http request option.
|
|
@@ -4257,7 +4262,7 @@ export const FunctionApiFactory = function (configuration, basePath, axios) {
|
|
|
4257
4262
|
return localVarFp.functionControllerRemove(id, options).then((request) => request(axios, basePath));
|
|
4258
4263
|
},
|
|
4259
4264
|
/**
|
|
4260
|
-
*
|
|
4265
|
+
* Search functions Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerSearch`
|
|
4261
4266
|
* @summary Search
|
|
4262
4267
|
* @param {FunctionSearchInputDTO} [functionSearchInputDTO] FunctionSearchInputDTO
|
|
4263
4268
|
* @param {*} [options] Override http request option.
|
|
@@ -4330,7 +4335,7 @@ export class FunctionApi extends BaseAPI {
|
|
|
4330
4335
|
.then((request) => request(this.axios, this.basePath));
|
|
4331
4336
|
}
|
|
4332
4337
|
/**
|
|
4333
|
-
*
|
|
4338
|
+
* Search functions Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerSearch`
|
|
4334
4339
|
* @summary Search
|
|
4335
4340
|
* @param {FunctionSearchInputDTO} [functionSearchInputDTO] FunctionSearchInputDTO
|
|
4336
4341
|
* @param {*} [options] Override http request option.
|
|
@@ -6364,7 +6369,7 @@ export const HookApiAxiosParamCreator = function (configuration) {
|
|
|
6364
6369
|
};
|
|
6365
6370
|
},
|
|
6366
6371
|
/**
|
|
6367
|
-
*
|
|
6372
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
6368
6373
|
* @summary Search
|
|
6369
6374
|
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
6370
6375
|
* @param {*} [options] Override http request option.
|
|
@@ -6517,7 +6522,7 @@ export const HookApiFp = function (configuration) {
|
|
|
6517
6522
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6518
6523
|
},
|
|
6519
6524
|
/**
|
|
6520
|
-
*
|
|
6525
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
6521
6526
|
* @summary Search
|
|
6522
6527
|
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
6523
6528
|
* @param {*} [options] Override http request option.
|
|
@@ -6610,7 +6615,7 @@ export const HookApiFactory = function (configuration, basePath, axios) {
|
|
|
6610
6615
|
return localVarFp.hookControllerRemove(id, options).then((request) => request(axios, basePath));
|
|
6611
6616
|
},
|
|
6612
6617
|
/**
|
|
6613
|
-
*
|
|
6618
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
6614
6619
|
* @summary Search
|
|
6615
6620
|
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
6616
6621
|
* @param {*} [options] Override http request option.
|
|
@@ -6704,7 +6709,7 @@ export class HookApi extends BaseAPI {
|
|
|
6704
6709
|
.then((request) => request(this.axios, this.basePath));
|
|
6705
6710
|
}
|
|
6706
6711
|
/**
|
|
6707
|
-
*
|
|
6712
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
6708
6713
|
* @summary Search
|
|
6709
6714
|
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
6710
6715
|
* @param {*} [options] Override http request option.
|
|
@@ -6780,7 +6785,7 @@ export const ItemApiAxiosParamCreator = function (configuration) {
|
|
|
6780
6785
|
};
|
|
6781
6786
|
},
|
|
6782
6787
|
/**
|
|
6783
|
-
*
|
|
6788
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
6784
6789
|
* @summary Search
|
|
6785
6790
|
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
6786
6791
|
* @param {*} [options] Override http request option.
|
|
@@ -6831,7 +6836,7 @@ export const ItemApiFp = function (configuration) {
|
|
|
6831
6836
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6832
6837
|
},
|
|
6833
6838
|
/**
|
|
6834
|
-
*
|
|
6839
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
6835
6840
|
* @summary Search
|
|
6836
6841
|
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
6837
6842
|
* @param {*} [options] Override http request option.
|
|
@@ -6863,7 +6868,7 @@ export const ItemApiFactory = function (configuration, basePath, axios) {
|
|
|
6863
6868
|
return localVarFp.itemControllerFindOne(id, options).then((request) => request(axios, basePath));
|
|
6864
6869
|
},
|
|
6865
6870
|
/**
|
|
6866
|
-
*
|
|
6871
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
6867
6872
|
* @summary Search
|
|
6868
6873
|
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
6869
6874
|
* @param {*} [options] Override http request option.
|
|
@@ -6895,7 +6900,7 @@ export class ItemApi extends BaseAPI {
|
|
|
6895
6900
|
.then((request) => request(this.axios, this.basePath));
|
|
6896
6901
|
}
|
|
6897
6902
|
/**
|
|
6898
|
-
*
|
|
6903
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
6899
6904
|
* @summary Search
|
|
6900
6905
|
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
6901
6906
|
* @param {*} [options] Override http request option.
|
|
@@ -8475,6 +8480,35 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
8475
8480
|
options: localVarRequestOptions,
|
|
8476
8481
|
};
|
|
8477
8482
|
},
|
|
8483
|
+
/**
|
|
8484
|
+
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
8485
|
+
* @summary Bulk delete
|
|
8486
|
+
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
8487
|
+
* @param {*} [options] Override http request option.
|
|
8488
|
+
* @throws {RequiredError}
|
|
8489
|
+
*/
|
|
8490
|
+
playerControllerBulkDelete: async (playerBulkDeleteInputDTO, options = {}) => {
|
|
8491
|
+
const localVarPath = `/player`;
|
|
8492
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8493
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8494
|
+
let baseOptions;
|
|
8495
|
+
if (configuration) {
|
|
8496
|
+
baseOptions = configuration.baseOptions;
|
|
8497
|
+
}
|
|
8498
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
8499
|
+
const localVarHeaderParameter = {};
|
|
8500
|
+
const localVarQueryParameter = {};
|
|
8501
|
+
// authentication domainAuth required
|
|
8502
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8503
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8504
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8505
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8506
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playerBulkDeleteInputDTO, localVarRequestOptions, configuration);
|
|
8507
|
+
return {
|
|
8508
|
+
url: toPathString(localVarUrlObj),
|
|
8509
|
+
options: localVarRequestOptions,
|
|
8510
|
+
};
|
|
8511
|
+
},
|
|
8478
8512
|
/**
|
|
8479
8513
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
8480
8514
|
* @summary Delete
|
|
@@ -8715,6 +8749,19 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8715
8749
|
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
8716
8750
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8717
8751
|
},
|
|
8752
|
+
/**
|
|
8753
|
+
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
8754
|
+
* @summary Bulk delete
|
|
8755
|
+
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
8756
|
+
* @param {*} [options] Override http request option.
|
|
8757
|
+
* @throws {RequiredError}
|
|
8758
|
+
*/
|
|
8759
|
+
async playerControllerBulkDelete(playerBulkDeleteInputDTO, options) {
|
|
8760
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerBulkDelete(playerBulkDeleteInputDTO, options);
|
|
8761
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8762
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
|
|
8763
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8764
|
+
},
|
|
8718
8765
|
/**
|
|
8719
8766
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
8720
8767
|
* @summary Delete
|
|
@@ -8855,6 +8902,18 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
8855
8902
|
.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
|
|
8856
8903
|
.then((request) => request(axios, basePath));
|
|
8857
8904
|
},
|
|
8905
|
+
/**
|
|
8906
|
+
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
8907
|
+
* @summary Bulk delete
|
|
8908
|
+
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
8909
|
+
* @param {*} [options] Override http request option.
|
|
8910
|
+
* @throws {RequiredError}
|
|
8911
|
+
*/
|
|
8912
|
+
playerControllerBulkDelete(playerBulkDeleteInputDTO, options) {
|
|
8913
|
+
return localVarFp
|
|
8914
|
+
.playerControllerBulkDelete(playerBulkDeleteInputDTO, options)
|
|
8915
|
+
.then((request) => request(axios, basePath));
|
|
8916
|
+
},
|
|
8858
8917
|
/**
|
|
8859
8918
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
8860
8919
|
* @summary Delete
|
|
@@ -9000,6 +9059,19 @@ export class PlayerApi extends BaseAPI {
|
|
|
9000
9059
|
.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
|
|
9001
9060
|
.then((request) => request(this.axios, this.basePath));
|
|
9002
9061
|
}
|
|
9062
|
+
/**
|
|
9063
|
+
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
9064
|
+
* @summary Bulk delete
|
|
9065
|
+
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
9066
|
+
* @param {*} [options] Override http request option.
|
|
9067
|
+
* @throws {RequiredError}
|
|
9068
|
+
* @memberof PlayerApi
|
|
9069
|
+
*/
|
|
9070
|
+
playerControllerBulkDelete(playerBulkDeleteInputDTO, options) {
|
|
9071
|
+
return PlayerApiFp(this.configuration)
|
|
9072
|
+
.playerControllerBulkDelete(playerBulkDeleteInputDTO, options)
|
|
9073
|
+
.then((request) => request(this.axios, this.basePath));
|
|
9074
|
+
}
|
|
9003
9075
|
/**
|
|
9004
9076
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
9005
9077
|
* @summary Delete
|
|
@@ -9110,6 +9182,38 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
9110
9182
|
options: localVarRequestOptions,
|
|
9111
9183
|
};
|
|
9112
9184
|
},
|
|
9185
|
+
/**
|
|
9186
|
+
* 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`
|
|
9187
|
+
* @summary Bulk delete
|
|
9188
|
+
* @param {string} gameServerId
|
|
9189
|
+
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
9190
|
+
* @param {*} [options] Override http request option.
|
|
9191
|
+
* @throws {RequiredError}
|
|
9192
|
+
*/
|
|
9193
|
+
playerOnGameServerControllerBulkDelete: async (gameServerId, pogBulkDeleteInputDTO, options = {}) => {
|
|
9194
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
9195
|
+
assertParamExists('playerOnGameServerControllerBulkDelete', 'gameServerId', gameServerId);
|
|
9196
|
+
const localVarPath = `/gameserver/{gameServerId}/player`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
9197
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9198
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9199
|
+
let baseOptions;
|
|
9200
|
+
if (configuration) {
|
|
9201
|
+
baseOptions = configuration.baseOptions;
|
|
9202
|
+
}
|
|
9203
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
9204
|
+
const localVarHeaderParameter = {};
|
|
9205
|
+
const localVarQueryParameter = {};
|
|
9206
|
+
// authentication domainAuth required
|
|
9207
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9208
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9209
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9210
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9211
|
+
localVarRequestOptions.data = serializeDataIfNeeded(pogBulkDeleteInputDTO, localVarRequestOptions, configuration);
|
|
9212
|
+
return {
|
|
9213
|
+
url: toPathString(localVarUrlObj),
|
|
9214
|
+
options: localVarRequestOptions,
|
|
9215
|
+
};
|
|
9216
|
+
},
|
|
9113
9217
|
/**
|
|
9114
9218
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
9115
9219
|
* @summary Deduct currency
|
|
@@ -9346,6 +9450,20 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9346
9450
|
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerAddCurrency']?.[localVarOperationServerIndex]?.url;
|
|
9347
9451
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9348
9452
|
},
|
|
9453
|
+
/**
|
|
9454
|
+
* 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`
|
|
9455
|
+
* @summary Bulk delete
|
|
9456
|
+
* @param {string} gameServerId
|
|
9457
|
+
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
9458
|
+
* @param {*} [options] Override http request option.
|
|
9459
|
+
* @throws {RequiredError}
|
|
9460
|
+
*/
|
|
9461
|
+
async playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
9462
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options);
|
|
9463
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9464
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
|
|
9465
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9466
|
+
},
|
|
9349
9467
|
/**
|
|
9350
9468
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
9351
9469
|
* @summary Deduct currency
|
|
@@ -9459,6 +9577,19 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
9459
9577
|
.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
9460
9578
|
.then((request) => request(axios, basePath));
|
|
9461
9579
|
},
|
|
9580
|
+
/**
|
|
9581
|
+
* 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`
|
|
9582
|
+
* @summary Bulk delete
|
|
9583
|
+
* @param {string} gameServerId
|
|
9584
|
+
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
9585
|
+
* @param {*} [options] Override http request option.
|
|
9586
|
+
* @throws {RequiredError}
|
|
9587
|
+
*/
|
|
9588
|
+
playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
9589
|
+
return localVarFp
|
|
9590
|
+
.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options)
|
|
9591
|
+
.then((request) => request(axios, basePath));
|
|
9592
|
+
},
|
|
9462
9593
|
/**
|
|
9463
9594
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
9464
9595
|
* @summary Deduct currency
|
|
@@ -9564,6 +9695,20 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
9564
9695
|
.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
9565
9696
|
.then((request) => request(this.axios, this.basePath));
|
|
9566
9697
|
}
|
|
9698
|
+
/**
|
|
9699
|
+
* 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`
|
|
9700
|
+
* @summary Bulk delete
|
|
9701
|
+
* @param {string} gameServerId
|
|
9702
|
+
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
9703
|
+
* @param {*} [options] Override http request option.
|
|
9704
|
+
* @throws {RequiredError}
|
|
9705
|
+
* @memberof PlayerOnGameServerApi
|
|
9706
|
+
*/
|
|
9707
|
+
playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
9708
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
9709
|
+
.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options)
|
|
9710
|
+
.then((request) => request(this.axios, this.basePath));
|
|
9711
|
+
}
|
|
9567
9712
|
/**
|
|
9568
9713
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
9569
9714
|
* @summary Deduct currency
|
|
@@ -10417,6 +10562,8 @@ export const SettingsControllerGetKeysEnum = {
|
|
|
10417
10562
|
DomainName: 'domainName',
|
|
10418
10563
|
DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
|
|
10419
10564
|
DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
|
|
10565
|
+
UnknownCommandFeedbackEnabled: 'unknownCommandFeedbackEnabled',
|
|
10566
|
+
UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
|
|
10420
10567
|
};
|
|
10421
10568
|
/**
|
|
10422
10569
|
* ShopCategoryApi - axios parameter creator
|
|
@@ -11124,7 +11271,7 @@ export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
|
11124
11271
|
};
|
|
11125
11272
|
},
|
|
11126
11273
|
/**
|
|
11127
|
-
* <br> OperationId: `ShopListingControllerSearch`
|
|
11274
|
+
* Search shop listings<br> OperationId: `ShopListingControllerSearch`
|
|
11128
11275
|
* @summary Search
|
|
11129
11276
|
* @param {ShopListingSearchInputDTO} [shopListingSearchInputDTO] ShopListingSearchInputDTO
|
|
11130
11277
|
* @param {*} [options] Override http request option.
|
|
@@ -11245,7 +11392,7 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11245
11392
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11246
11393
|
},
|
|
11247
11394
|
/**
|
|
11248
|
-
* <br> OperationId: `ShopListingControllerSearch`
|
|
11395
|
+
* Search shop listings<br> OperationId: `ShopListingControllerSearch`
|
|
11249
11396
|
* @summary Search
|
|
11250
11397
|
* @param {ShopListingSearchInputDTO} [shopListingSearchInputDTO] ShopListingSearchInputDTO
|
|
11251
11398
|
* @param {*} [options] Override http request option.
|
|
@@ -11322,7 +11469,7 @@ export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
|
11322
11469
|
return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
|
|
11323
11470
|
},
|
|
11324
11471
|
/**
|
|
11325
|
-
* <br> OperationId: `ShopListingControllerSearch`
|
|
11472
|
+
* Search shop listings<br> OperationId: `ShopListingControllerSearch`
|
|
11326
11473
|
* @summary Search
|
|
11327
11474
|
* @param {ShopListingSearchInputDTO} [shopListingSearchInputDTO] ShopListingSearchInputDTO
|
|
11328
11475
|
* @param {*} [options] Override http request option.
|
|
@@ -11407,7 +11554,7 @@ export class ShopListingApi extends BaseAPI {
|
|
|
11407
11554
|
.then((request) => request(this.axios, this.basePath));
|
|
11408
11555
|
}
|
|
11409
11556
|
/**
|
|
11410
|
-
* <br> OperationId: `ShopListingControllerSearch`
|
|
11557
|
+
* Search shop listings<br> OperationId: `ShopListingControllerSearch`
|
|
11411
11558
|
* @summary Search
|
|
11412
11559
|
* @param {ShopListingSearchInputDTO} [shopListingSearchInputDTO] ShopListingSearchInputDTO
|
|
11413
11560
|
* @param {*} [options] Override http request option.
|
|
@@ -13980,7 +14127,7 @@ export const VariableApiAxiosParamCreator = function (configuration) {
|
|
|
13980
14127
|
};
|
|
13981
14128
|
},
|
|
13982
14129
|
/**
|
|
13983
|
-
*
|
|
14130
|
+
* Search variables Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerSearch`
|
|
13984
14131
|
* @summary Search
|
|
13985
14132
|
* @param {VariableSearchInputDTO} [variableSearchInputDTO] VariableSearchInputDTO
|
|
13986
14133
|
* @param {*} [options] Override http request option.
|
|
@@ -14089,7 +14236,7 @@ export const VariableApiFp = function (configuration) {
|
|
|
14089
14236
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14090
14237
|
},
|
|
14091
14238
|
/**
|
|
14092
|
-
*
|
|
14239
|
+
* Search variables Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerSearch`
|
|
14093
14240
|
* @summary Search
|
|
14094
14241
|
* @param {VariableSearchInputDTO} [variableSearchInputDTO] VariableSearchInputDTO
|
|
14095
14242
|
* @param {*} [options] Override http request option.
|
|
@@ -14157,7 +14304,7 @@ export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
|
14157
14304
|
return localVarFp.variableControllerFindOne(id, options).then((request) => request(axios, basePath));
|
|
14158
14305
|
},
|
|
14159
14306
|
/**
|
|
14160
|
-
*
|
|
14307
|
+
* Search variables Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerSearch`
|
|
14161
14308
|
* @summary Search
|
|
14162
14309
|
* @param {VariableSearchInputDTO} [variableSearchInputDTO] VariableSearchInputDTO
|
|
14163
14310
|
* @param {*} [options] Override http request option.
|
|
@@ -14230,7 +14377,7 @@ export class VariableApi extends BaseAPI {
|
|
|
14230
14377
|
.then((request) => request(this.axios, this.basePath));
|
|
14231
14378
|
}
|
|
14232
14379
|
/**
|
|
14233
|
-
*
|
|
14380
|
+
* Search variables Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerSearch`
|
|
14234
14381
|
* @summary Search
|
|
14235
14382
|
* @param {VariableSearchInputDTO} [variableSearchInputDTO] VariableSearchInputDTO
|
|
14236
14383
|
* @param {*} [options] Override http request option.
|