@takaro/apiclient 0.4.3 → 0.4.6
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 +297 -51
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +190 -39
- package/dist/generated/api.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/api.ts +437 -51
package/dist/generated/api.js
CHANGED
|
@@ -55,16 +55,19 @@ export const DomainCreateInputDTOStateEnum = {
|
|
|
55
55
|
Active: 'ACTIVE',
|
|
56
56
|
Disabled: 'DISABLED',
|
|
57
57
|
Maintenance: 'MAINTENANCE',
|
|
58
|
+
Deleted: 'DELETED',
|
|
58
59
|
};
|
|
59
60
|
export const DomainOutputDTOStateEnum = {
|
|
60
61
|
Active: 'ACTIVE',
|
|
61
62
|
Disabled: 'DISABLED',
|
|
62
63
|
Maintenance: 'MAINTENANCE',
|
|
64
|
+
Deleted: 'DELETED',
|
|
63
65
|
};
|
|
64
66
|
export const DomainSearchInputAllowedFiltersStateEnum = {
|
|
65
67
|
Active: 'ACTIVE',
|
|
66
68
|
Disabled: 'DISABLED',
|
|
67
69
|
Maintenance: 'MAINTENANCE',
|
|
70
|
+
Deleted: 'DELETED',
|
|
68
71
|
};
|
|
69
72
|
export const DomainSearchInputDTOSortDirectionEnum = {
|
|
70
73
|
Asc: 'asc',
|
|
@@ -74,6 +77,7 @@ export const DomainUpdateInputDTOStateEnum = {
|
|
|
74
77
|
Active: 'ACTIVE',
|
|
75
78
|
Disabled: 'DISABLED',
|
|
76
79
|
Maintenance: 'MAINTENANCE',
|
|
80
|
+
Deleted: 'DELETED',
|
|
77
81
|
};
|
|
78
82
|
export const EntityCreateDTOTypeEnum = {
|
|
79
83
|
Hostile: 'hostile',
|
|
@@ -298,10 +302,10 @@ export const EventsCountInputDTOBucketStepEnum = {
|
|
|
298
302
|
_24h: '24h',
|
|
299
303
|
};
|
|
300
304
|
export const FunctionSearchInputDTOExtendEnum = {
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
+
Version: 'version',
|
|
306
|
+
CronJob: 'cronJob',
|
|
307
|
+
Hook: 'hook',
|
|
308
|
+
Command: 'command',
|
|
305
309
|
};
|
|
306
310
|
export const FunctionSearchInputDTOSortDirectionEnum = {
|
|
307
311
|
Asc: 'asc',
|
|
@@ -374,6 +378,8 @@ export const GetSettingsInputKeysEnum = {
|
|
|
374
378
|
DomainName: 'domainName',
|
|
375
379
|
DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
|
|
376
380
|
DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
|
|
381
|
+
UnknownCommandFeedbackEnabled: 'unknownCommandFeedbackEnabled',
|
|
382
|
+
UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
|
|
377
383
|
};
|
|
378
384
|
export const GuildSearchInputDTOSortDirectionEnum = {
|
|
379
385
|
Asc: 'asc',
|
|
@@ -661,7 +667,7 @@ export const ITakaroQuerySortDirectionEnum = {
|
|
|
661
667
|
Desc: 'desc',
|
|
662
668
|
};
|
|
663
669
|
export const ItemSearchInputDTOExtendEnum = {
|
|
664
|
-
|
|
670
|
+
Gameserver: 'gameserver',
|
|
665
671
|
};
|
|
666
672
|
export const ItemSearchInputDTOSortDirectionEnum = {
|
|
667
673
|
Asc: 'asc',
|
|
@@ -735,6 +741,8 @@ export const ParamKeyKeyEnum = {
|
|
|
735
741
|
DomainName: 'domainName',
|
|
736
742
|
DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
|
|
737
743
|
DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
|
|
744
|
+
UnknownCommandFeedbackEnabled: 'unknownCommandFeedbackEnabled',
|
|
745
|
+
UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
|
|
738
746
|
};
|
|
739
747
|
export const PlayerOnGameServerSearchInputDTOExtendEnum = {
|
|
740
748
|
GameServer: 'gameServer',
|
|
@@ -776,6 +784,8 @@ export const SettingsOutputDTOKeyEnum = {
|
|
|
776
784
|
DomainName: 'domainName',
|
|
777
785
|
DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
|
|
778
786
|
DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
|
|
787
|
+
UnknownCommandFeedbackEnabled: 'unknownCommandFeedbackEnabled',
|
|
788
|
+
UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
|
|
779
789
|
};
|
|
780
790
|
export const SettingsOutputDTOTypeEnum = {
|
|
781
791
|
Override: 'override',
|
|
@@ -795,7 +805,7 @@ export const ShopCategorySearchInputDTOSortDirectionEnum = {
|
|
|
795
805
|
};
|
|
796
806
|
export const ShopListingSearchInputDTOExtendEnum = {
|
|
797
807
|
GameServer: 'gameServer',
|
|
798
|
-
|
|
808
|
+
Items: 'items',
|
|
799
809
|
Categories: 'categories',
|
|
800
810
|
};
|
|
801
811
|
export const ShopListingSearchInputDTOSortDirectionEnum = {
|
|
@@ -811,7 +821,6 @@ export const ShopOrderSearchInputDTOExtendEnum = {
|
|
|
811
821
|
Listing: 'listing',
|
|
812
822
|
ListingItems: 'listing.items',
|
|
813
823
|
ListingItemsItem: 'listing.items.item',
|
|
814
|
-
Player: 'player',
|
|
815
824
|
};
|
|
816
825
|
export const ShopOrderSearchInputDTOSortDirectionEnum = {
|
|
817
826
|
Asc: 'asc',
|
|
@@ -1146,7 +1155,7 @@ export const CommandApiAxiosParamCreator = function (configuration) {
|
|
|
1146
1155
|
};
|
|
1147
1156
|
},
|
|
1148
1157
|
/**
|
|
1149
|
-
*
|
|
1158
|
+
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
1150
1159
|
* @summary Search
|
|
1151
1160
|
* @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
|
|
1152
1161
|
* @param {*} [options] Override http request option.
|
|
@@ -1360,7 +1369,7 @@ export const CommandApiFp = function (configuration) {
|
|
|
1360
1369
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1361
1370
|
},
|
|
1362
1371
|
/**
|
|
1363
|
-
*
|
|
1372
|
+
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
1364
1373
|
* @summary Search
|
|
1365
1374
|
* @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
|
|
1366
1375
|
* @param {*} [options] Override http request option.
|
|
@@ -1490,7 +1499,7 @@ export const CommandApiFactory = function (configuration, basePath, axios) {
|
|
|
1490
1499
|
return localVarFp.commandControllerRemoveArgument(id, options).then((request) => request(axios, basePath));
|
|
1491
1500
|
},
|
|
1492
1501
|
/**
|
|
1493
|
-
*
|
|
1502
|
+
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
1494
1503
|
* @summary Search
|
|
1495
1504
|
* @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
|
|
1496
1505
|
* @param {*} [options] Override http request option.
|
|
@@ -1630,7 +1639,7 @@ export class CommandApi extends BaseAPI {
|
|
|
1630
1639
|
.then((request) => request(this.axios, this.basePath));
|
|
1631
1640
|
}
|
|
1632
1641
|
/**
|
|
1633
|
-
*
|
|
1642
|
+
* Search commands Required permissions: `READ_MODULES`<br> OperationId: `CommandControllerSearch`
|
|
1634
1643
|
* @summary Search
|
|
1635
1644
|
* @param {CommandSearchInputDTO} [commandSearchInputDTO] CommandSearchInputDTO
|
|
1636
1645
|
* @param {*} [options] Override http request option.
|
|
@@ -1817,7 +1826,7 @@ export const CronJobApiAxiosParamCreator = function (configuration) {
|
|
|
1817
1826
|
};
|
|
1818
1827
|
},
|
|
1819
1828
|
/**
|
|
1820
|
-
*
|
|
1829
|
+
* Search cronjobs Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
1821
1830
|
* @summary Search
|
|
1822
1831
|
* @param {CronJobSearchInputDTO} [cronJobSearchInputDTO] CronJobSearchInputDTO
|
|
1823
1832
|
* @param {*} [options] Override http request option.
|
|
@@ -1970,7 +1979,7 @@ export const CronJobApiFp = function (configuration) {
|
|
|
1970
1979
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1971
1980
|
},
|
|
1972
1981
|
/**
|
|
1973
|
-
*
|
|
1982
|
+
* Search cronjobs Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
1974
1983
|
* @summary Search
|
|
1975
1984
|
* @param {CronJobSearchInputDTO} [cronJobSearchInputDTO] CronJobSearchInputDTO
|
|
1976
1985
|
* @param {*} [options] Override http request option.
|
|
@@ -2063,7 +2072,7 @@ export const CronJobApiFactory = function (configuration, basePath, axios) {
|
|
|
2063
2072
|
return localVarFp.cronJobControllerRemove(id, options).then((request) => request(axios, basePath));
|
|
2064
2073
|
},
|
|
2065
2074
|
/**
|
|
2066
|
-
*
|
|
2075
|
+
* Search cronjobs Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
2067
2076
|
* @summary Search
|
|
2068
2077
|
* @param {CronJobSearchInputDTO} [cronJobSearchInputDTO] CronJobSearchInputDTO
|
|
2069
2078
|
* @param {*} [options] Override http request option.
|
|
@@ -2163,7 +2172,7 @@ export class CronJobApi extends BaseAPI {
|
|
|
2163
2172
|
.then((request) => request(this.axios, this.basePath));
|
|
2164
2173
|
}
|
|
2165
2174
|
/**
|
|
2166
|
-
*
|
|
2175
|
+
* Search cronjobs Required permissions: `READ_MODULES`<br> OperationId: `CronJobControllerSearch`
|
|
2167
2176
|
* @summary Search
|
|
2168
2177
|
* @param {CronJobSearchInputDTO} [cronJobSearchInputDTO] CronJobSearchInputDTO
|
|
2169
2178
|
* @param {*} [options] Override http request option.
|
|
@@ -3586,7 +3595,7 @@ export const EventApiAxiosParamCreator = function (configuration) {
|
|
|
3586
3595
|
};
|
|
3587
3596
|
},
|
|
3588
3597
|
/**
|
|
3589
|
-
*
|
|
3598
|
+
* Search events Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
3590
3599
|
* @summary Search
|
|
3591
3600
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
3592
3601
|
* @param {*} [options] Override http request option.
|
|
@@ -3676,7 +3685,7 @@ export const EventApiFp = function (configuration) {
|
|
|
3676
3685
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
3677
3686
|
},
|
|
3678
3687
|
/**
|
|
3679
|
-
*
|
|
3688
|
+
* Search events Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
3680
3689
|
* @summary Search
|
|
3681
3690
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
3682
3691
|
* @param {*} [options] Override http request option.
|
|
@@ -3740,7 +3749,7 @@ export const EventApiFactory = function (configuration, basePath, axios) {
|
|
|
3740
3749
|
return localVarFp.eventControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
3741
3750
|
},
|
|
3742
3751
|
/**
|
|
3743
|
-
*
|
|
3752
|
+
* Search events Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
3744
3753
|
* @summary Search
|
|
3745
3754
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
3746
3755
|
* @param {*} [options] Override http request option.
|
|
@@ -3811,7 +3820,7 @@ export class EventApi extends BaseAPI {
|
|
|
3811
3820
|
.then((request) => request(this.axios, this.basePath));
|
|
3812
3821
|
}
|
|
3813
3822
|
/**
|
|
3814
|
-
*
|
|
3823
|
+
* Search events Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerSearch`
|
|
3815
3824
|
* @summary Search
|
|
3816
3825
|
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
3817
3826
|
* @param {*} [options] Override http request option.
|
|
@@ -4080,7 +4089,7 @@ export const FunctionApiAxiosParamCreator = function (configuration) {
|
|
|
4080
4089
|
};
|
|
4081
4090
|
},
|
|
4082
4091
|
/**
|
|
4083
|
-
*
|
|
4092
|
+
* Search functions Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerSearch`
|
|
4084
4093
|
* @summary Search
|
|
4085
4094
|
* @param {FunctionSearchInputDTO} [functionSearchInputDTO] FunctionSearchInputDTO
|
|
4086
4095
|
* @param {*} [options] Override http request option.
|
|
@@ -4189,7 +4198,7 @@ export const FunctionApiFp = function (configuration) {
|
|
|
4189
4198
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4190
4199
|
},
|
|
4191
4200
|
/**
|
|
4192
|
-
*
|
|
4201
|
+
* Search functions Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerSearch`
|
|
4193
4202
|
* @summary Search
|
|
4194
4203
|
* @param {FunctionSearchInputDTO} [functionSearchInputDTO] FunctionSearchInputDTO
|
|
4195
4204
|
* @param {*} [options] Override http request option.
|
|
@@ -4257,7 +4266,7 @@ export const FunctionApiFactory = function (configuration, basePath, axios) {
|
|
|
4257
4266
|
return localVarFp.functionControllerRemove(id, options).then((request) => request(axios, basePath));
|
|
4258
4267
|
},
|
|
4259
4268
|
/**
|
|
4260
|
-
*
|
|
4269
|
+
* Search functions Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerSearch`
|
|
4261
4270
|
* @summary Search
|
|
4262
4271
|
* @param {FunctionSearchInputDTO} [functionSearchInputDTO] FunctionSearchInputDTO
|
|
4263
4272
|
* @param {*} [options] Override http request option.
|
|
@@ -4330,7 +4339,7 @@ export class FunctionApi extends BaseAPI {
|
|
|
4330
4339
|
.then((request) => request(this.axios, this.basePath));
|
|
4331
4340
|
}
|
|
4332
4341
|
/**
|
|
4333
|
-
*
|
|
4342
|
+
* Search functions Required permissions: `READ_MODULES`<br> OperationId: `FunctionControllerSearch`
|
|
4334
4343
|
* @summary Search
|
|
4335
4344
|
* @param {FunctionSearchInputDTO} [functionSearchInputDTO] FunctionSearchInputDTO
|
|
4336
4345
|
* @param {*} [options] Override http request option.
|
|
@@ -6364,7 +6373,7 @@ export const HookApiAxiosParamCreator = function (configuration) {
|
|
|
6364
6373
|
};
|
|
6365
6374
|
},
|
|
6366
6375
|
/**
|
|
6367
|
-
*
|
|
6376
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
6368
6377
|
* @summary Search
|
|
6369
6378
|
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
6370
6379
|
* @param {*} [options] Override http request option.
|
|
@@ -6517,7 +6526,7 @@ export const HookApiFp = function (configuration) {
|
|
|
6517
6526
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6518
6527
|
},
|
|
6519
6528
|
/**
|
|
6520
|
-
*
|
|
6529
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
6521
6530
|
* @summary Search
|
|
6522
6531
|
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
6523
6532
|
* @param {*} [options] Override http request option.
|
|
@@ -6610,7 +6619,7 @@ export const HookApiFactory = function (configuration, basePath, axios) {
|
|
|
6610
6619
|
return localVarFp.hookControllerRemove(id, options).then((request) => request(axios, basePath));
|
|
6611
6620
|
},
|
|
6612
6621
|
/**
|
|
6613
|
-
*
|
|
6622
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
6614
6623
|
* @summary Search
|
|
6615
6624
|
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
6616
6625
|
* @param {*} [options] Override http request option.
|
|
@@ -6704,7 +6713,7 @@ export class HookApi extends BaseAPI {
|
|
|
6704
6713
|
.then((request) => request(this.axios, this.basePath));
|
|
6705
6714
|
}
|
|
6706
6715
|
/**
|
|
6707
|
-
*
|
|
6716
|
+
* Search hooks Required permissions: `READ_MODULES`<br> OperationId: `HookControllerSearch`
|
|
6708
6717
|
* @summary Search
|
|
6709
6718
|
* @param {HookSearchInputDTO} [hookSearchInputDTO] HookSearchInputDTO
|
|
6710
6719
|
* @param {*} [options] Override http request option.
|
|
@@ -6780,7 +6789,7 @@ export const ItemApiAxiosParamCreator = function (configuration) {
|
|
|
6780
6789
|
};
|
|
6781
6790
|
},
|
|
6782
6791
|
/**
|
|
6783
|
-
*
|
|
6792
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
6784
6793
|
* @summary Search
|
|
6785
6794
|
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
6786
6795
|
* @param {*} [options] Override http request option.
|
|
@@ -6831,7 +6840,7 @@ export const ItemApiFp = function (configuration) {
|
|
|
6831
6840
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
6832
6841
|
},
|
|
6833
6842
|
/**
|
|
6834
|
-
*
|
|
6843
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
6835
6844
|
* @summary Search
|
|
6836
6845
|
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
6837
6846
|
* @param {*} [options] Override http request option.
|
|
@@ -6863,7 +6872,7 @@ export const ItemApiFactory = function (configuration, basePath, axios) {
|
|
|
6863
6872
|
return localVarFp.itemControllerFindOne(id, options).then((request) => request(axios, basePath));
|
|
6864
6873
|
},
|
|
6865
6874
|
/**
|
|
6866
|
-
*
|
|
6875
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
6867
6876
|
* @summary Search
|
|
6868
6877
|
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
6869
6878
|
* @param {*} [options] Override http request option.
|
|
@@ -6895,7 +6904,7 @@ export class ItemApi extends BaseAPI {
|
|
|
6895
6904
|
.then((request) => request(this.axios, this.basePath));
|
|
6896
6905
|
}
|
|
6897
6906
|
/**
|
|
6898
|
-
*
|
|
6907
|
+
* Search items Required permissions: `READ_ITEMS`<br> OperationId: `ItemControllerSearch`
|
|
6899
6908
|
* @summary Search
|
|
6900
6909
|
* @param {ItemSearchInputDTO} [itemSearchInputDTO] ItemSearchInputDTO
|
|
6901
6910
|
* @param {*} [options] Override http request option.
|
|
@@ -8475,6 +8484,35 @@ export const PlayerApiAxiosParamCreator = function (configuration) {
|
|
|
8475
8484
|
options: localVarRequestOptions,
|
|
8476
8485
|
};
|
|
8477
8486
|
},
|
|
8487
|
+
/**
|
|
8488
|
+
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
8489
|
+
* @summary Bulk delete
|
|
8490
|
+
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
8491
|
+
* @param {*} [options] Override http request option.
|
|
8492
|
+
* @throws {RequiredError}
|
|
8493
|
+
*/
|
|
8494
|
+
playerControllerBulkDelete: async (playerBulkDeleteInputDTO, options = {}) => {
|
|
8495
|
+
const localVarPath = `/player`;
|
|
8496
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
8497
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
8498
|
+
let baseOptions;
|
|
8499
|
+
if (configuration) {
|
|
8500
|
+
baseOptions = configuration.baseOptions;
|
|
8501
|
+
}
|
|
8502
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
8503
|
+
const localVarHeaderParameter = {};
|
|
8504
|
+
const localVarQueryParameter = {};
|
|
8505
|
+
// authentication domainAuth required
|
|
8506
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
8507
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
8508
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8509
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
8510
|
+
localVarRequestOptions.data = serializeDataIfNeeded(playerBulkDeleteInputDTO, localVarRequestOptions, configuration);
|
|
8511
|
+
return {
|
|
8512
|
+
url: toPathString(localVarUrlObj),
|
|
8513
|
+
options: localVarRequestOptions,
|
|
8514
|
+
};
|
|
8515
|
+
},
|
|
8478
8516
|
/**
|
|
8479
8517
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
8480
8518
|
* @summary Delete
|
|
@@ -8715,6 +8753,19 @@ export const PlayerApiFp = function (configuration) {
|
|
|
8715
8753
|
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerAssignRole']?.[localVarOperationServerIndex]?.url;
|
|
8716
8754
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8717
8755
|
},
|
|
8756
|
+
/**
|
|
8757
|
+
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
8758
|
+
* @summary Bulk delete
|
|
8759
|
+
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
8760
|
+
* @param {*} [options] Override http request option.
|
|
8761
|
+
* @throws {RequiredError}
|
|
8762
|
+
*/
|
|
8763
|
+
async playerControllerBulkDelete(playerBulkDeleteInputDTO, options) {
|
|
8764
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerBulkDelete(playerBulkDeleteInputDTO, options);
|
|
8765
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
8766
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerApi.playerControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
|
|
8767
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
8768
|
+
},
|
|
8718
8769
|
/**
|
|
8719
8770
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
8720
8771
|
* @summary Delete
|
|
@@ -8855,6 +8906,18 @@ export const PlayerApiFactory = function (configuration, basePath, axios) {
|
|
|
8855
8906
|
.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
|
|
8856
8907
|
.then((request) => request(axios, basePath));
|
|
8857
8908
|
},
|
|
8909
|
+
/**
|
|
8910
|
+
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
8911
|
+
* @summary Bulk delete
|
|
8912
|
+
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
8913
|
+
* @param {*} [options] Override http request option.
|
|
8914
|
+
* @throws {RequiredError}
|
|
8915
|
+
*/
|
|
8916
|
+
playerControllerBulkDelete(playerBulkDeleteInputDTO, options) {
|
|
8917
|
+
return localVarFp
|
|
8918
|
+
.playerControllerBulkDelete(playerBulkDeleteInputDTO, options)
|
|
8919
|
+
.then((request) => request(axios, basePath));
|
|
8920
|
+
},
|
|
8858
8921
|
/**
|
|
8859
8922
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
8860
8923
|
* @summary Delete
|
|
@@ -9000,6 +9063,19 @@ export class PlayerApi extends BaseAPI {
|
|
|
9000
9063
|
.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
|
|
9001
9064
|
.then((request) => request(this.axios, this.basePath));
|
|
9002
9065
|
}
|
|
9066
|
+
/**
|
|
9067
|
+
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
9068
|
+
* @summary Bulk delete
|
|
9069
|
+
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
9070
|
+
* @param {*} [options] Override http request option.
|
|
9071
|
+
* @throws {RequiredError}
|
|
9072
|
+
* @memberof PlayerApi
|
|
9073
|
+
*/
|
|
9074
|
+
playerControllerBulkDelete(playerBulkDeleteInputDTO, options) {
|
|
9075
|
+
return PlayerApiFp(this.configuration)
|
|
9076
|
+
.playerControllerBulkDelete(playerBulkDeleteInputDTO, options)
|
|
9077
|
+
.then((request) => request(this.axios, this.basePath));
|
|
9078
|
+
}
|
|
9003
9079
|
/**
|
|
9004
9080
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
9005
9081
|
* @summary Delete
|
|
@@ -9110,6 +9186,38 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration) {
|
|
|
9110
9186
|
options: localVarRequestOptions,
|
|
9111
9187
|
};
|
|
9112
9188
|
},
|
|
9189
|
+
/**
|
|
9190
|
+
* 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`
|
|
9191
|
+
* @summary Bulk delete
|
|
9192
|
+
* @param {string} gameServerId
|
|
9193
|
+
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
9194
|
+
* @param {*} [options] Override http request option.
|
|
9195
|
+
* @throws {RequiredError}
|
|
9196
|
+
*/
|
|
9197
|
+
playerOnGameServerControllerBulkDelete: async (gameServerId, pogBulkDeleteInputDTO, options = {}) => {
|
|
9198
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
9199
|
+
assertParamExists('playerOnGameServerControllerBulkDelete', 'gameServerId', gameServerId);
|
|
9200
|
+
const localVarPath = `/gameserver/{gameServerId}/player`.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)));
|
|
9201
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
9202
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
9203
|
+
let baseOptions;
|
|
9204
|
+
if (configuration) {
|
|
9205
|
+
baseOptions = configuration.baseOptions;
|
|
9206
|
+
}
|
|
9207
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
9208
|
+
const localVarHeaderParameter = {};
|
|
9209
|
+
const localVarQueryParameter = {};
|
|
9210
|
+
// authentication domainAuth required
|
|
9211
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
9212
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
9213
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
9214
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
9215
|
+
localVarRequestOptions.data = serializeDataIfNeeded(pogBulkDeleteInputDTO, localVarRequestOptions, configuration);
|
|
9216
|
+
return {
|
|
9217
|
+
url: toPathString(localVarUrlObj),
|
|
9218
|
+
options: localVarRequestOptions,
|
|
9219
|
+
};
|
|
9220
|
+
},
|
|
9113
9221
|
/**
|
|
9114
9222
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
9115
9223
|
* @summary Deduct currency
|
|
@@ -9346,6 +9454,20 @@ export const PlayerOnGameServerApiFp = function (configuration) {
|
|
|
9346
9454
|
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerAddCurrency']?.[localVarOperationServerIndex]?.url;
|
|
9347
9455
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9348
9456
|
},
|
|
9457
|
+
/**
|
|
9458
|
+
* 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`
|
|
9459
|
+
* @summary Bulk delete
|
|
9460
|
+
* @param {string} gameServerId
|
|
9461
|
+
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
9462
|
+
* @param {*} [options] Override http request option.
|
|
9463
|
+
* @throws {RequiredError}
|
|
9464
|
+
*/
|
|
9465
|
+
async playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
9466
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options);
|
|
9467
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
9468
|
+
const localVarOperationServerBasePath = operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
|
|
9469
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
9470
|
+
},
|
|
9349
9471
|
/**
|
|
9350
9472
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
9351
9473
|
* @summary Deduct currency
|
|
@@ -9459,6 +9581,19 @@ export const PlayerOnGameServerApiFactory = function (configuration, basePath, a
|
|
|
9459
9581
|
.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
9460
9582
|
.then((request) => request(axios, basePath));
|
|
9461
9583
|
},
|
|
9584
|
+
/**
|
|
9585
|
+
* 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`
|
|
9586
|
+
* @summary Bulk delete
|
|
9587
|
+
* @param {string} gameServerId
|
|
9588
|
+
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
9589
|
+
* @param {*} [options] Override http request option.
|
|
9590
|
+
* @throws {RequiredError}
|
|
9591
|
+
*/
|
|
9592
|
+
playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
9593
|
+
return localVarFp
|
|
9594
|
+
.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options)
|
|
9595
|
+
.then((request) => request(axios, basePath));
|
|
9596
|
+
},
|
|
9462
9597
|
/**
|
|
9463
9598
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
9464
9599
|
* @summary Deduct currency
|
|
@@ -9564,6 +9699,20 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
9564
9699
|
.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
9565
9700
|
.then((request) => request(this.axios, this.basePath));
|
|
9566
9701
|
}
|
|
9702
|
+
/**
|
|
9703
|
+
* 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`
|
|
9704
|
+
* @summary Bulk delete
|
|
9705
|
+
* @param {string} gameServerId
|
|
9706
|
+
* @param {PogBulkDeleteInputDTO} [pogBulkDeleteInputDTO] PogBulkDeleteInputDTO
|
|
9707
|
+
* @param {*} [options] Override http request option.
|
|
9708
|
+
* @throws {RequiredError}
|
|
9709
|
+
* @memberof PlayerOnGameServerApi
|
|
9710
|
+
*/
|
|
9711
|
+
playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options) {
|
|
9712
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
9713
|
+
.playerOnGameServerControllerBulkDelete(gameServerId, pogBulkDeleteInputDTO, options)
|
|
9714
|
+
.then((request) => request(this.axios, this.basePath));
|
|
9715
|
+
}
|
|
9567
9716
|
/**
|
|
9568
9717
|
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDeductCurrency`
|
|
9569
9718
|
* @summary Deduct currency
|
|
@@ -10417,6 +10566,8 @@ export const SettingsControllerGetKeysEnum = {
|
|
|
10417
10566
|
DomainName: 'domainName',
|
|
10418
10567
|
DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
|
|
10419
10568
|
DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
|
|
10569
|
+
UnknownCommandFeedbackEnabled: 'unknownCommandFeedbackEnabled',
|
|
10570
|
+
UnknownCommandFeedbackMessage: 'unknownCommandFeedbackMessage',
|
|
10420
10571
|
};
|
|
10421
10572
|
/**
|
|
10422
10573
|
* ShopCategoryApi - axios parameter creator
|
|
@@ -11124,7 +11275,7 @@ export const ShopListingApiAxiosParamCreator = function (configuration) {
|
|
|
11124
11275
|
};
|
|
11125
11276
|
},
|
|
11126
11277
|
/**
|
|
11127
|
-
* <br> OperationId: `ShopListingControllerSearch`
|
|
11278
|
+
* Search shop listings<br> OperationId: `ShopListingControllerSearch`
|
|
11128
11279
|
* @summary Search
|
|
11129
11280
|
* @param {ShopListingSearchInputDTO} [shopListingSearchInputDTO] ShopListingSearchInputDTO
|
|
11130
11281
|
* @param {*} [options] Override http request option.
|
|
@@ -11245,7 +11396,7 @@ export const ShopListingApiFp = function (configuration) {
|
|
|
11245
11396
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
11246
11397
|
},
|
|
11247
11398
|
/**
|
|
11248
|
-
* <br> OperationId: `ShopListingControllerSearch`
|
|
11399
|
+
* Search shop listings<br> OperationId: `ShopListingControllerSearch`
|
|
11249
11400
|
* @summary Search
|
|
11250
11401
|
* @param {ShopListingSearchInputDTO} [shopListingSearchInputDTO] ShopListingSearchInputDTO
|
|
11251
11402
|
* @param {*} [options] Override http request option.
|
|
@@ -11322,7 +11473,7 @@ export const ShopListingApiFactory = function (configuration, basePath, axios) {
|
|
|
11322
11473
|
return localVarFp.shopListingControllerImportListings(options).then((request) => request(axios, basePath));
|
|
11323
11474
|
},
|
|
11324
11475
|
/**
|
|
11325
|
-
* <br> OperationId: `ShopListingControllerSearch`
|
|
11476
|
+
* Search shop listings<br> OperationId: `ShopListingControllerSearch`
|
|
11326
11477
|
* @summary Search
|
|
11327
11478
|
* @param {ShopListingSearchInputDTO} [shopListingSearchInputDTO] ShopListingSearchInputDTO
|
|
11328
11479
|
* @param {*} [options] Override http request option.
|
|
@@ -11407,7 +11558,7 @@ export class ShopListingApi extends BaseAPI {
|
|
|
11407
11558
|
.then((request) => request(this.axios, this.basePath));
|
|
11408
11559
|
}
|
|
11409
11560
|
/**
|
|
11410
|
-
* <br> OperationId: `ShopListingControllerSearch`
|
|
11561
|
+
* Search shop listings<br> OperationId: `ShopListingControllerSearch`
|
|
11411
11562
|
* @summary Search
|
|
11412
11563
|
* @param {ShopListingSearchInputDTO} [shopListingSearchInputDTO] ShopListingSearchInputDTO
|
|
11413
11564
|
* @param {*} [options] Override http request option.
|
|
@@ -13980,7 +14131,7 @@ export const VariableApiAxiosParamCreator = function (configuration) {
|
|
|
13980
14131
|
};
|
|
13981
14132
|
},
|
|
13982
14133
|
/**
|
|
13983
|
-
*
|
|
14134
|
+
* Search variables Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerSearch`
|
|
13984
14135
|
* @summary Search
|
|
13985
14136
|
* @param {VariableSearchInputDTO} [variableSearchInputDTO] VariableSearchInputDTO
|
|
13986
14137
|
* @param {*} [options] Override http request option.
|
|
@@ -14089,7 +14240,7 @@ export const VariableApiFp = function (configuration) {
|
|
|
14089
14240
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
14090
14241
|
},
|
|
14091
14242
|
/**
|
|
14092
|
-
*
|
|
14243
|
+
* Search variables Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerSearch`
|
|
14093
14244
|
* @summary Search
|
|
14094
14245
|
* @param {VariableSearchInputDTO} [variableSearchInputDTO] VariableSearchInputDTO
|
|
14095
14246
|
* @param {*} [options] Override http request option.
|
|
@@ -14157,7 +14308,7 @@ export const VariableApiFactory = function (configuration, basePath, axios) {
|
|
|
14157
14308
|
return localVarFp.variableControllerFindOne(id, options).then((request) => request(axios, basePath));
|
|
14158
14309
|
},
|
|
14159
14310
|
/**
|
|
14160
|
-
*
|
|
14311
|
+
* Search variables Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerSearch`
|
|
14161
14312
|
* @summary Search
|
|
14162
14313
|
* @param {VariableSearchInputDTO} [variableSearchInputDTO] VariableSearchInputDTO
|
|
14163
14314
|
* @param {*} [options] Override http request option.
|
|
@@ -14230,7 +14381,7 @@ export class VariableApi extends BaseAPI {
|
|
|
14230
14381
|
.then((request) => request(this.axios, this.basePath));
|
|
14231
14382
|
}
|
|
14232
14383
|
/**
|
|
14233
|
-
*
|
|
14384
|
+
* Search variables Required permissions: `READ_VARIABLES`<br> OperationId: `VariableControllerSearch`
|
|
14234
14385
|
* @summary Search
|
|
14235
14386
|
* @param {VariableSearchInputDTO} [variableSearchInputDTO] VariableSearchInputDTO
|
|
14236
14387
|
* @param {*} [options] Override http request option.
|