@takaro/apiclient 0.0.0-dev.3f7926c → 0.0.0-dev.4046cbc
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 +474 -20
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +232 -16
- package/dist/generated/api.js.map +1 -1
- package/dist/lib/client.d.ts +2 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +6 -1
- package/dist/lib/client.js.map +1 -1
- package/generated.manifest.json +2 -2
- package/openapi.json +3537 -3082
- package/package.json +1 -1
- package/src/generated/api.ts +689 -20
- package/src/lib/client.ts +11 -0
package/src/generated/api.ts
CHANGED
|
@@ -780,6 +780,88 @@ export interface BoundingBoxSearchInputDTO {
|
|
|
780
780
|
*/
|
|
781
781
|
gameserverId: string;
|
|
782
782
|
}
|
|
783
|
+
/**
|
|
784
|
+
*
|
|
785
|
+
* @export
|
|
786
|
+
* @interface BulkActionFailureDTO
|
|
787
|
+
*/
|
|
788
|
+
export interface BulkActionFailureDTO {
|
|
789
|
+
/**
|
|
790
|
+
*
|
|
791
|
+
* @type {string}
|
|
792
|
+
* @memberof BulkActionFailureDTO
|
|
793
|
+
*/
|
|
794
|
+
id: string;
|
|
795
|
+
/**
|
|
796
|
+
*
|
|
797
|
+
* @type {string}
|
|
798
|
+
* @memberof BulkActionFailureDTO
|
|
799
|
+
*/
|
|
800
|
+
name: string;
|
|
801
|
+
/**
|
|
802
|
+
*
|
|
803
|
+
* @type {string}
|
|
804
|
+
* @memberof BulkActionFailureDTO
|
|
805
|
+
*/
|
|
806
|
+
reason: string;
|
|
807
|
+
}
|
|
808
|
+
/**
|
|
809
|
+
*
|
|
810
|
+
* @export
|
|
811
|
+
* @interface BulkActionResultDTO
|
|
812
|
+
*/
|
|
813
|
+
export interface BulkActionResultDTO {
|
|
814
|
+
/**
|
|
815
|
+
*
|
|
816
|
+
* @type {number}
|
|
817
|
+
* @memberof BulkActionResultDTO
|
|
818
|
+
*/
|
|
819
|
+
succeeded: number;
|
|
820
|
+
/**
|
|
821
|
+
*
|
|
822
|
+
* @type {Array<BulkActionFailureDTO>}
|
|
823
|
+
* @memberof BulkActionResultDTO
|
|
824
|
+
*/
|
|
825
|
+
failed: Array<BulkActionFailureDTO>;
|
|
826
|
+
}
|
|
827
|
+
/**
|
|
828
|
+
*
|
|
829
|
+
* @export
|
|
830
|
+
* @interface BulkActionResultDTOAPI
|
|
831
|
+
*/
|
|
832
|
+
export interface BulkActionResultDTOAPI {
|
|
833
|
+
/**
|
|
834
|
+
*
|
|
835
|
+
* @type {BulkActionResultDTO}
|
|
836
|
+
* @memberof BulkActionResultDTOAPI
|
|
837
|
+
*/
|
|
838
|
+
data: BulkActionResultDTO;
|
|
839
|
+
/**
|
|
840
|
+
*
|
|
841
|
+
* @type {MetadataOutput}
|
|
842
|
+
* @memberof BulkActionResultDTOAPI
|
|
843
|
+
*/
|
|
844
|
+
meta: MetadataOutput;
|
|
845
|
+
}
|
|
846
|
+
/**
|
|
847
|
+
*
|
|
848
|
+
* @export
|
|
849
|
+
* @interface BulkTargetDTO
|
|
850
|
+
*/
|
|
851
|
+
export interface BulkTargetDTO {
|
|
852
|
+
/**
|
|
853
|
+
*
|
|
854
|
+
* @type {Array<string>}
|
|
855
|
+
* @memberof BulkTargetDTO
|
|
856
|
+
*/
|
|
857
|
+
ids?: Array<string>;
|
|
858
|
+
/**
|
|
859
|
+
*
|
|
860
|
+
* @type {Array<string>}
|
|
861
|
+
* @memberof BulkTargetDTO
|
|
862
|
+
*/
|
|
863
|
+
excludedIds?: Array<string>;
|
|
864
|
+
}
|
|
783
865
|
/**
|
|
784
866
|
*
|
|
785
867
|
* @export
|
|
@@ -10445,7 +10527,13 @@ export interface PlayerBulkAssignRoleInputDTO {
|
|
|
10445
10527
|
* @type {Array<string>}
|
|
10446
10528
|
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10447
10529
|
*/
|
|
10448
|
-
playerIds
|
|
10530
|
+
playerIds?: Array<string>;
|
|
10531
|
+
/**
|
|
10532
|
+
*
|
|
10533
|
+
* @type {PlayerSearchInputDTO}
|
|
10534
|
+
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10535
|
+
*/
|
|
10536
|
+
query?: PlayerSearchInputDTO;
|
|
10449
10537
|
/**
|
|
10450
10538
|
*
|
|
10451
10539
|
* @type {string}
|
|
@@ -10458,6 +10546,18 @@ export interface PlayerBulkAssignRoleInputDTO {
|
|
|
10458
10546
|
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10459
10547
|
*/
|
|
10460
10548
|
expiresAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
10549
|
+
/**
|
|
10550
|
+
*
|
|
10551
|
+
* @type {Array<string>}
|
|
10552
|
+
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10553
|
+
*/
|
|
10554
|
+
ids?: Array<string>;
|
|
10555
|
+
/**
|
|
10556
|
+
*
|
|
10557
|
+
* @type {Array<string>}
|
|
10558
|
+
* @memberof PlayerBulkAssignRoleInputDTO
|
|
10559
|
+
*/
|
|
10560
|
+
excludedIds?: Array<string>;
|
|
10461
10561
|
}
|
|
10462
10562
|
/**
|
|
10463
10563
|
*
|
|
@@ -10533,7 +10633,25 @@ export interface PlayerBulkDeleteInputDTO {
|
|
|
10533
10633
|
* @type {Array<string>}
|
|
10534
10634
|
* @memberof PlayerBulkDeleteInputDTO
|
|
10535
10635
|
*/
|
|
10536
|
-
playerIds
|
|
10636
|
+
playerIds?: Array<string>;
|
|
10637
|
+
/**
|
|
10638
|
+
*
|
|
10639
|
+
* @type {PlayerSearchInputDTO}
|
|
10640
|
+
* @memberof PlayerBulkDeleteInputDTO
|
|
10641
|
+
*/
|
|
10642
|
+
query?: PlayerSearchInputDTO;
|
|
10643
|
+
/**
|
|
10644
|
+
*
|
|
10645
|
+
* @type {Array<string>}
|
|
10646
|
+
* @memberof PlayerBulkDeleteInputDTO
|
|
10647
|
+
*/
|
|
10648
|
+
ids?: Array<string>;
|
|
10649
|
+
/**
|
|
10650
|
+
*
|
|
10651
|
+
* @type {Array<string>}
|
|
10652
|
+
* @memberof PlayerBulkDeleteInputDTO
|
|
10653
|
+
*/
|
|
10654
|
+
excludedIds?: Array<string>;
|
|
10537
10655
|
}
|
|
10538
10656
|
/**
|
|
10539
10657
|
*
|
|
@@ -11105,6 +11223,12 @@ export interface PlayerOnGameServerSearchInputAllowedRangeFilter {
|
|
|
11105
11223
|
* @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
|
|
11106
11224
|
*/
|
|
11107
11225
|
playtimeSeconds?: number;
|
|
11226
|
+
/**
|
|
11227
|
+
*
|
|
11228
|
+
* @type {number}
|
|
11229
|
+
* @memberof PlayerOnGameServerSearchInputAllowedRangeFilter
|
|
11230
|
+
*/
|
|
11231
|
+
currency?: number;
|
|
11108
11232
|
/**
|
|
11109
11233
|
*
|
|
11110
11234
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -12032,6 +12156,24 @@ export interface PlayerSearchInputAllowedFilters {
|
|
|
12032
12156
|
* @memberof PlayerSearchInputAllowedFilters
|
|
12033
12157
|
*/
|
|
12034
12158
|
roleId?: Array<string>;
|
|
12159
|
+
/**
|
|
12160
|
+
*
|
|
12161
|
+
* @type {Array<boolean>}
|
|
12162
|
+
* @memberof PlayerSearchInputAllowedFilters
|
|
12163
|
+
*/
|
|
12164
|
+
online?: Array<boolean>;
|
|
12165
|
+
/**
|
|
12166
|
+
*
|
|
12167
|
+
* @type {Array<string>}
|
|
12168
|
+
* @memberof PlayerSearchInputAllowedFilters
|
|
12169
|
+
*/
|
|
12170
|
+
roleAssignmentScope?: Array<PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum>;
|
|
12171
|
+
/**
|
|
12172
|
+
*
|
|
12173
|
+
* @type {Array<string>}
|
|
12174
|
+
* @memberof PlayerSearchInputAllowedFilters
|
|
12175
|
+
*/
|
|
12176
|
+
roleAssignmentGameServerId?: Array<string>;
|
|
12035
12177
|
/**
|
|
12036
12178
|
*
|
|
12037
12179
|
* @type {Array<string>}
|
|
@@ -12039,6 +12181,15 @@ export interface PlayerSearchInputAllowedFilters {
|
|
|
12039
12181
|
*/
|
|
12040
12182
|
id?: Array<string>;
|
|
12041
12183
|
}
|
|
12184
|
+
|
|
12185
|
+
export const PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum = {
|
|
12186
|
+
Global: 'global',
|
|
12187
|
+
GameServer: 'gameServer',
|
|
12188
|
+
} as const;
|
|
12189
|
+
|
|
12190
|
+
export type PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum =
|
|
12191
|
+
(typeof PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum)[keyof typeof PlayerSearchInputAllowedFiltersRoleAssignmentScopeEnum];
|
|
12192
|
+
|
|
12042
12193
|
/**
|
|
12043
12194
|
*
|
|
12044
12195
|
* @export
|
|
@@ -12290,13 +12441,31 @@ export interface PogBulkAddCurrencyInputDTO {
|
|
|
12290
12441
|
* @type {Array<string>}
|
|
12291
12442
|
* @memberof PogBulkAddCurrencyInputDTO
|
|
12292
12443
|
*/
|
|
12293
|
-
playerIds
|
|
12444
|
+
playerIds?: Array<string>;
|
|
12445
|
+
/**
|
|
12446
|
+
*
|
|
12447
|
+
* @type {PlayerOnGameServerSearchInputDTO}
|
|
12448
|
+
* @memberof PogBulkAddCurrencyInputDTO
|
|
12449
|
+
*/
|
|
12450
|
+
query?: PlayerOnGameServerSearchInputDTO;
|
|
12294
12451
|
/**
|
|
12295
12452
|
*
|
|
12296
12453
|
* @type {number}
|
|
12297
12454
|
* @memberof PogBulkAddCurrencyInputDTO
|
|
12298
12455
|
*/
|
|
12299
12456
|
amount: number;
|
|
12457
|
+
/**
|
|
12458
|
+
*
|
|
12459
|
+
* @type {Array<string>}
|
|
12460
|
+
* @memberof PogBulkAddCurrencyInputDTO
|
|
12461
|
+
*/
|
|
12462
|
+
ids?: Array<string>;
|
|
12463
|
+
/**
|
|
12464
|
+
*
|
|
12465
|
+
* @type {Array<string>}
|
|
12466
|
+
* @memberof PogBulkAddCurrencyInputDTO
|
|
12467
|
+
*/
|
|
12468
|
+
excludedIds?: Array<string>;
|
|
12300
12469
|
}
|
|
12301
12470
|
/**
|
|
12302
12471
|
*
|
|
@@ -14160,7 +14329,13 @@ export interface ShopCategoryBulkAssignDTO {
|
|
|
14160
14329
|
* @type {Array<string>}
|
|
14161
14330
|
* @memberof ShopCategoryBulkAssignDTO
|
|
14162
14331
|
*/
|
|
14163
|
-
listingIds
|
|
14332
|
+
listingIds?: Array<string>;
|
|
14333
|
+
/**
|
|
14334
|
+
*
|
|
14335
|
+
* @type {ShopListingSearchInputDTO}
|
|
14336
|
+
* @memberof ShopCategoryBulkAssignDTO
|
|
14337
|
+
*/
|
|
14338
|
+
query?: ShopListingSearchInputDTO;
|
|
14164
14339
|
/**
|
|
14165
14340
|
*
|
|
14166
14341
|
* @type {Array<string>}
|
|
@@ -14173,6 +14348,18 @@ export interface ShopCategoryBulkAssignDTO {
|
|
|
14173
14348
|
* @memberof ShopCategoryBulkAssignDTO
|
|
14174
14349
|
*/
|
|
14175
14350
|
removeCategoryIds?: Array<string>;
|
|
14351
|
+
/**
|
|
14352
|
+
*
|
|
14353
|
+
* @type {Array<string>}
|
|
14354
|
+
* @memberof ShopCategoryBulkAssignDTO
|
|
14355
|
+
*/
|
|
14356
|
+
ids?: Array<string>;
|
|
14357
|
+
/**
|
|
14358
|
+
*
|
|
14359
|
+
* @type {Array<string>}
|
|
14360
|
+
* @memberof ShopCategoryBulkAssignDTO
|
|
14361
|
+
*/
|
|
14362
|
+
excludedIds?: Array<string>;
|
|
14176
14363
|
}
|
|
14177
14364
|
/**
|
|
14178
14365
|
*
|
|
@@ -14787,6 +14974,60 @@ export interface ShopKpisDTOAPI {
|
|
|
14787
14974
|
*/
|
|
14788
14975
|
meta: MetadataOutput;
|
|
14789
14976
|
}
|
|
14977
|
+
/**
|
|
14978
|
+
*
|
|
14979
|
+
* @export
|
|
14980
|
+
* @interface ShopListingBulkInputDTO
|
|
14981
|
+
*/
|
|
14982
|
+
export interface ShopListingBulkInputDTO {
|
|
14983
|
+
/**
|
|
14984
|
+
*
|
|
14985
|
+
* @type {ShopListingBulkTargetDTO}
|
|
14986
|
+
* @memberof ShopListingBulkInputDTO
|
|
14987
|
+
*/
|
|
14988
|
+
target: ShopListingBulkTargetDTO;
|
|
14989
|
+
/**
|
|
14990
|
+
*
|
|
14991
|
+
* @type {string}
|
|
14992
|
+
* @memberof ShopListingBulkInputDTO
|
|
14993
|
+
*/
|
|
14994
|
+
action: ShopListingBulkInputDTOActionEnum;
|
|
14995
|
+
}
|
|
14996
|
+
|
|
14997
|
+
export const ShopListingBulkInputDTOActionEnum = {
|
|
14998
|
+
Delete: 'delete',
|
|
14999
|
+
Publish: 'publish',
|
|
15000
|
+
Unpublish: 'unpublish',
|
|
15001
|
+
} as const;
|
|
15002
|
+
|
|
15003
|
+
export type ShopListingBulkInputDTOActionEnum =
|
|
15004
|
+
(typeof ShopListingBulkInputDTOActionEnum)[keyof typeof ShopListingBulkInputDTOActionEnum];
|
|
15005
|
+
|
|
15006
|
+
/**
|
|
15007
|
+
*
|
|
15008
|
+
* @export
|
|
15009
|
+
* @interface ShopListingBulkTargetDTO
|
|
15010
|
+
*/
|
|
15011
|
+
export interface ShopListingBulkTargetDTO {
|
|
15012
|
+
/**
|
|
15013
|
+
*
|
|
15014
|
+
* @type {ShopListingSearchInputDTO}
|
|
15015
|
+
* @memberof ShopListingBulkTargetDTO
|
|
15016
|
+
*/
|
|
15017
|
+
query?: ShopListingSearchInputDTO;
|
|
15018
|
+
/**
|
|
15019
|
+
*
|
|
15020
|
+
* @type {Array<string>}
|
|
15021
|
+
* @memberof ShopListingBulkTargetDTO
|
|
15022
|
+
*/
|
|
15023
|
+
ids?: Array<string>;
|
|
15024
|
+
/**
|
|
15025
|
+
*
|
|
15026
|
+
* @type {Array<string>}
|
|
15027
|
+
* @memberof ShopListingBulkTargetDTO
|
|
15028
|
+
*/
|
|
15029
|
+
excludedIds?: Array<string>;
|
|
15030
|
+
}
|
|
14790
15031
|
/**
|
|
14791
15032
|
*
|
|
14792
15033
|
* @export
|
|
@@ -14835,6 +15076,12 @@ export interface ShopListingCreateDTO {
|
|
|
14835
15076
|
* @memberof ShopListingCreateDTO
|
|
14836
15077
|
*/
|
|
14837
15078
|
categoryIds?: Array<string>;
|
|
15079
|
+
/**
|
|
15080
|
+
*
|
|
15081
|
+
* @type {Array<string>}
|
|
15082
|
+
* @memberof ShopListingCreateDTO
|
|
15083
|
+
*/
|
|
15084
|
+
roleIds?: Array<string>;
|
|
14838
15085
|
/**
|
|
14839
15086
|
*
|
|
14840
15087
|
* @type {number}
|
|
@@ -15001,6 +15248,12 @@ export interface ShopListingOutputDTO {
|
|
|
15001
15248
|
* @memberof ShopListingOutputDTO
|
|
15002
15249
|
*/
|
|
15003
15250
|
categories?: Array<ShopCategoryOutputDTO>;
|
|
15251
|
+
/**
|
|
15252
|
+
*
|
|
15253
|
+
* @type {Array<ShopListingRoleOutputDTO>}
|
|
15254
|
+
* @memberof ShopListingOutputDTO
|
|
15255
|
+
*/
|
|
15256
|
+
roles?: Array<ShopListingRoleOutputDTO>;
|
|
15004
15257
|
/**
|
|
15005
15258
|
*
|
|
15006
15259
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -15033,6 +15286,37 @@ export interface ShopListingOutputDTOAPI {
|
|
|
15033
15286
|
*/
|
|
15034
15287
|
meta: MetadataOutput;
|
|
15035
15288
|
}
|
|
15289
|
+
/**
|
|
15290
|
+
*
|
|
15291
|
+
* @export
|
|
15292
|
+
* @interface ShopListingRoleOutputDTO
|
|
15293
|
+
*/
|
|
15294
|
+
export interface ShopListingRoleOutputDTO {
|
|
15295
|
+
/**
|
|
15296
|
+
*
|
|
15297
|
+
* @type {string}
|
|
15298
|
+
* @memberof ShopListingRoleOutputDTO
|
|
15299
|
+
*/
|
|
15300
|
+
id: string;
|
|
15301
|
+
/**
|
|
15302
|
+
*
|
|
15303
|
+
* @type {string}
|
|
15304
|
+
* @memberof ShopListingRoleOutputDTO
|
|
15305
|
+
*/
|
|
15306
|
+
name: string;
|
|
15307
|
+
/**
|
|
15308
|
+
*
|
|
15309
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
15310
|
+
* @memberof ShopListingRoleOutputDTO
|
|
15311
|
+
*/
|
|
15312
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
15313
|
+
/**
|
|
15314
|
+
*
|
|
15315
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
15316
|
+
* @memberof ShopListingRoleOutputDTO
|
|
15317
|
+
*/
|
|
15318
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
15319
|
+
}
|
|
15036
15320
|
/**
|
|
15037
15321
|
*
|
|
15038
15322
|
* @export
|
|
@@ -15081,6 +15365,12 @@ export interface ShopListingSearchInputAllowedFilters {
|
|
|
15081
15365
|
* @memberof ShopListingSearchInputAllowedFilters
|
|
15082
15366
|
*/
|
|
15083
15367
|
uncategorized?: boolean;
|
|
15368
|
+
/**
|
|
15369
|
+
*
|
|
15370
|
+
* @type {Array<string>}
|
|
15371
|
+
* @memberof ShopListingSearchInputAllowedFilters
|
|
15372
|
+
*/
|
|
15373
|
+
visibleToRoleIds?: Array<string>;
|
|
15084
15374
|
}
|
|
15085
15375
|
/**
|
|
15086
15376
|
*
|
|
@@ -15227,6 +15517,12 @@ export interface ShopListingUpdateDTO {
|
|
|
15227
15517
|
* @memberof ShopListingUpdateDTO
|
|
15228
15518
|
*/
|
|
15229
15519
|
categoryIds?: Array<string>;
|
|
15520
|
+
/**
|
|
15521
|
+
*
|
|
15522
|
+
* @type {Array<string>}
|
|
15523
|
+
* @memberof ShopListingUpdateDTO
|
|
15524
|
+
*/
|
|
15525
|
+
roleIds?: Array<string>;
|
|
15230
15526
|
}
|
|
15231
15527
|
/**
|
|
15232
15528
|
*
|
|
@@ -15974,6 +16270,38 @@ export interface StorefrontConfigUpsertDTO {
|
|
|
15974
16270
|
*/
|
|
15975
16271
|
values: object;
|
|
15976
16272
|
}
|
|
16273
|
+
/**
|
|
16274
|
+
*
|
|
16275
|
+
* @export
|
|
16276
|
+
* @interface StorefrontPreviewDTO
|
|
16277
|
+
*/
|
|
16278
|
+
export interface StorefrontPreviewDTO {
|
|
16279
|
+
/**
|
|
16280
|
+
*
|
|
16281
|
+
* @type {string}
|
|
16282
|
+
* @memberof StorefrontPreviewDTO
|
|
16283
|
+
*/
|
|
16284
|
+
html: string;
|
|
16285
|
+
}
|
|
16286
|
+
/**
|
|
16287
|
+
*
|
|
16288
|
+
* @export
|
|
16289
|
+
* @interface StorefrontPreviewOutputDTOAPI
|
|
16290
|
+
*/
|
|
16291
|
+
export interface StorefrontPreviewOutputDTOAPI {
|
|
16292
|
+
/**
|
|
16293
|
+
*
|
|
16294
|
+
* @type {StorefrontPreviewDTO}
|
|
16295
|
+
* @memberof StorefrontPreviewOutputDTOAPI
|
|
16296
|
+
*/
|
|
16297
|
+
data: StorefrontPreviewDTO;
|
|
16298
|
+
/**
|
|
16299
|
+
*
|
|
16300
|
+
* @type {MetadataOutput}
|
|
16301
|
+
* @memberof StorefrontPreviewOutputDTOAPI
|
|
16302
|
+
*/
|
|
16303
|
+
meta: MetadataOutput;
|
|
16304
|
+
}
|
|
15977
16305
|
/**
|
|
15978
16306
|
*
|
|
15979
16307
|
* @export
|
|
@@ -18255,6 +18583,31 @@ export interface UserUpdateDTO {
|
|
|
18255
18583
|
*/
|
|
18256
18584
|
isDashboardUser?: boolean;
|
|
18257
18585
|
}
|
|
18586
|
+
/**
|
|
18587
|
+
*
|
|
18588
|
+
* @export
|
|
18589
|
+
* @interface VariableBulkDeleteInputDTO
|
|
18590
|
+
*/
|
|
18591
|
+
export interface VariableBulkDeleteInputDTO {
|
|
18592
|
+
/**
|
|
18593
|
+
*
|
|
18594
|
+
* @type {VariableSearchInputDTO}
|
|
18595
|
+
* @memberof VariableBulkDeleteInputDTO
|
|
18596
|
+
*/
|
|
18597
|
+
query?: VariableSearchInputDTO;
|
|
18598
|
+
/**
|
|
18599
|
+
*
|
|
18600
|
+
* @type {Array<string>}
|
|
18601
|
+
* @memberof VariableBulkDeleteInputDTO
|
|
18602
|
+
*/
|
|
18603
|
+
ids?: Array<string>;
|
|
18604
|
+
/**
|
|
18605
|
+
*
|
|
18606
|
+
* @type {Array<string>}
|
|
18607
|
+
* @memberof VariableBulkDeleteInputDTO
|
|
18608
|
+
*/
|
|
18609
|
+
excludedIds?: Array<string>;
|
|
18610
|
+
}
|
|
18258
18611
|
/**
|
|
18259
18612
|
*
|
|
18260
18613
|
* @export
|
|
@@ -18464,6 +18817,12 @@ export interface VariableSearchInputAllowedSearch {
|
|
|
18464
18817
|
* @memberof VariableSearchInputAllowedSearch
|
|
18465
18818
|
*/
|
|
18466
18819
|
key?: Array<string>;
|
|
18820
|
+
/**
|
|
18821
|
+
*
|
|
18822
|
+
* @type {Array<string>}
|
|
18823
|
+
* @memberof VariableSearchInputAllowedSearch
|
|
18824
|
+
*/
|
|
18825
|
+
value?: Array<string>;
|
|
18467
18826
|
}
|
|
18468
18827
|
/**
|
|
18469
18828
|
*
|
|
@@ -34849,7 +35208,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
34849
35208
|
};
|
|
34850
35209
|
},
|
|
34851
35210
|
/**
|
|
34852
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
35211
|
+
* 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`
|
|
34853
35212
|
* @summary Bulk assign role
|
|
34854
35213
|
* @param {string} roleId
|
|
34855
35214
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -34894,7 +35253,7 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
34894
35253
|
};
|
|
34895
35254
|
},
|
|
34896
35255
|
/**
|
|
34897
|
-
* Bulk delete players by
|
|
35256
|
+
* 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`
|
|
34898
35257
|
* @summary Bulk delete
|
|
34899
35258
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
34900
35259
|
* @param {*} [options] Override http request option.
|
|
@@ -35278,7 +35637,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
|
|
|
35278
35637
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
35279
35638
|
},
|
|
35280
35639
|
/**
|
|
35281
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
35640
|
+
* 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`
|
|
35282
35641
|
* @summary Bulk assign role
|
|
35283
35642
|
* @param {string} roleId
|
|
35284
35643
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -35307,7 +35666,7 @@ export const PlayerApiFp = function (configuration?: Configuration) {
|
|
|
35307
35666
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
35308
35667
|
},
|
|
35309
35668
|
/**
|
|
35310
|
-
* Bulk delete players by
|
|
35669
|
+
* 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`
|
|
35311
35670
|
* @summary Bulk delete
|
|
35312
35671
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
35313
35672
|
* @param {*} [options] Override http request option.
|
|
@@ -35542,7 +35901,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
|
|
|
35542
35901
|
.then((request) => request(axios, basePath));
|
|
35543
35902
|
},
|
|
35544
35903
|
/**
|
|
35545
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
35904
|
+
* 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`
|
|
35546
35905
|
* @summary Bulk assign role
|
|
35547
35906
|
* @param {string} roleId
|
|
35548
35907
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -35559,7 +35918,7 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
|
|
|
35559
35918
|
.then((request) => request(axios, basePath));
|
|
35560
35919
|
},
|
|
35561
35920
|
/**
|
|
35562
|
-
* Bulk delete players by
|
|
35921
|
+
* 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`
|
|
35563
35922
|
* @summary Bulk delete
|
|
35564
35923
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
35565
35924
|
* @param {*} [options] Override http request option.
|
|
@@ -35739,7 +36098,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
35739
36098
|
}
|
|
35740
36099
|
|
|
35741
36100
|
/**
|
|
35742
|
-
* Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
|
|
36101
|
+
* 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`
|
|
35743
36102
|
* @summary Bulk assign role
|
|
35744
36103
|
* @param {string} roleId
|
|
35745
36104
|
* @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
|
|
@@ -35758,7 +36117,7 @@ export class PlayerApi extends BaseAPI {
|
|
|
35758
36117
|
}
|
|
35759
36118
|
|
|
35760
36119
|
/**
|
|
35761
|
-
* Bulk delete players by
|
|
36120
|
+
* 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`
|
|
35762
36121
|
* @summary Bulk delete
|
|
35763
36122
|
* @param {PlayerBulkDeleteInputDTO} [playerBulkDeleteInputDTO] PlayerBulkDeleteInputDTO
|
|
35764
36123
|
* @param {*} [options] Override http request option.
|
|
@@ -35909,7 +36268,7 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration?:
|
|
|
35909
36268
|
};
|
|
35910
36269
|
},
|
|
35911
36270
|
/**
|
|
35912
|
-
* Bulk add currency to
|
|
36271
|
+
* 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`
|
|
35913
36272
|
* @summary Bulk add currency
|
|
35914
36273
|
* @param {string} gameServerId
|
|
35915
36274
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -36328,7 +36687,7 @@ export const PlayerOnGameServerApiFp = function (configuration?: Configuration)
|
|
|
36328
36687
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
36329
36688
|
},
|
|
36330
36689
|
/**
|
|
36331
|
-
* Bulk add currency to
|
|
36690
|
+
* 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`
|
|
36332
36691
|
* @summary Bulk add currency
|
|
36333
36692
|
* @param {string} gameServerId
|
|
36334
36693
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -36615,7 +36974,7 @@ export const PlayerOnGameServerApiFactory = function (
|
|
|
36615
36974
|
.then((request) => request(axios, basePath));
|
|
36616
36975
|
},
|
|
36617
36976
|
/**
|
|
36618
|
-
* Bulk add currency to
|
|
36977
|
+
* 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`
|
|
36619
36978
|
* @summary Bulk add currency
|
|
36620
36979
|
* @param {string} gameServerId
|
|
36621
36980
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -36799,7 +37158,7 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
36799
37158
|
}
|
|
36800
37159
|
|
|
36801
37160
|
/**
|
|
36802
|
-
* Bulk add currency to
|
|
37161
|
+
* 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`
|
|
36803
37162
|
* @summary Bulk add currency
|
|
36804
37163
|
* @param {string} gameServerId
|
|
36805
37164
|
* @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
|
|
@@ -39139,7 +39498,7 @@ export class ShopActionApi extends BaseAPI {
|
|
|
39139
39498
|
export const ShopCategoryApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
39140
39499
|
return {
|
|
39141
39500
|
/**
|
|
39142
|
-
* Bulk assign categories to
|
|
39501
|
+
* 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`
|
|
39143
39502
|
* @summary Bulk assign
|
|
39144
39503
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
39145
39504
|
* @param {*} [options] Override http request option.
|
|
@@ -39463,7 +39822,7 @@ export const ShopCategoryApiFp = function (configuration?: Configuration) {
|
|
|
39463
39822
|
const localVarAxiosParamCreator = ShopCategoryApiAxiosParamCreator(configuration);
|
|
39464
39823
|
return {
|
|
39465
39824
|
/**
|
|
39466
|
-
* Bulk assign categories to
|
|
39825
|
+
* 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`
|
|
39467
39826
|
* @summary Bulk assign
|
|
39468
39827
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
39469
39828
|
* @param {*} [options] Override http request option.
|
|
@@ -39684,7 +40043,7 @@ export const ShopCategoryApiFactory = function (
|
|
|
39684
40043
|
const localVarFp = ShopCategoryApiFp(configuration);
|
|
39685
40044
|
return {
|
|
39686
40045
|
/**
|
|
39687
|
-
* Bulk assign categories to
|
|
40046
|
+
* 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`
|
|
39688
40047
|
* @summary Bulk assign
|
|
39689
40048
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
39690
40049
|
* @param {*} [options] Override http request option.
|
|
@@ -39813,7 +40172,7 @@ export const ShopCategoryApiFactory = function (
|
|
|
39813
40172
|
*/
|
|
39814
40173
|
export class ShopCategoryApi extends BaseAPI {
|
|
39815
40174
|
/**
|
|
39816
|
-
* Bulk assign categories to
|
|
40175
|
+
* 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`
|
|
39817
40176
|
* @summary Bulk assign
|
|
39818
40177
|
* @param {ShopCategoryBulkAssignDTO} [shopCategoryBulkAssignDTO] ShopCategoryBulkAssignDTO
|
|
39819
40178
|
* @param {*} [options] Override http request option.
|
|
@@ -39948,6 +40307,47 @@ export class ShopCategoryApi extends BaseAPI {
|
|
|
39948
40307
|
*/
|
|
39949
40308
|
export const ShopListingApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
39950
40309
|
return {
|
|
40310
|
+
/**
|
|
40311
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
40312
|
+
* @summary Bulk
|
|
40313
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
40314
|
+
* @param {*} [options] Override http request option.
|
|
40315
|
+
* @throws {RequiredError}
|
|
40316
|
+
*/
|
|
40317
|
+
shopListingControllerBulk: async (
|
|
40318
|
+
shopListingBulkInputDTO?: ShopListingBulkInputDTO,
|
|
40319
|
+
options: RawAxiosRequestConfig = {},
|
|
40320
|
+
): Promise<RequestArgs> => {
|
|
40321
|
+
const localVarPath = `/shop/listing/bulk`;
|
|
40322
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
40323
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
40324
|
+
let baseOptions;
|
|
40325
|
+
if (configuration) {
|
|
40326
|
+
baseOptions = configuration.baseOptions;
|
|
40327
|
+
}
|
|
40328
|
+
|
|
40329
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
40330
|
+
const localVarHeaderParameter = {} as any;
|
|
40331
|
+
const localVarQueryParameter = {} as any;
|
|
40332
|
+
|
|
40333
|
+
// authentication domainAuth required
|
|
40334
|
+
|
|
40335
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
40336
|
+
|
|
40337
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
40338
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
40339
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
40340
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
40341
|
+
shopListingBulkInputDTO,
|
|
40342
|
+
localVarRequestOptions,
|
|
40343
|
+
configuration,
|
|
40344
|
+
);
|
|
40345
|
+
|
|
40346
|
+
return {
|
|
40347
|
+
url: toPathString(localVarUrlObj),
|
|
40348
|
+
options: localVarRequestOptions,
|
|
40349
|
+
};
|
|
40350
|
+
},
|
|
39951
40351
|
/**
|
|
39952
40352
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
39953
40353
|
* @summary Create
|
|
@@ -40173,6 +40573,32 @@ export const ShopListingApiAxiosParamCreator = function (configuration?: Configu
|
|
|
40173
40573
|
export const ShopListingApiFp = function (configuration?: Configuration) {
|
|
40174
40574
|
const localVarAxiosParamCreator = ShopListingApiAxiosParamCreator(configuration);
|
|
40175
40575
|
return {
|
|
40576
|
+
/**
|
|
40577
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
40578
|
+
* @summary Bulk
|
|
40579
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
40580
|
+
* @param {*} [options] Override http request option.
|
|
40581
|
+
* @throws {RequiredError}
|
|
40582
|
+
*/
|
|
40583
|
+
async shopListingControllerBulk(
|
|
40584
|
+
shopListingBulkInputDTO?: ShopListingBulkInputDTO,
|
|
40585
|
+
options?: RawAxiosRequestConfig,
|
|
40586
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkActionResultDTOAPI>> {
|
|
40587
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopListingControllerBulk(
|
|
40588
|
+
shopListingBulkInputDTO,
|
|
40589
|
+
options,
|
|
40590
|
+
);
|
|
40591
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
40592
|
+
const localVarOperationServerBasePath =
|
|
40593
|
+
operationServerMap['ShopListingApi.shopListingControllerBulk']?.[localVarOperationServerIndex]?.url;
|
|
40594
|
+
return (axios, basePath) =>
|
|
40595
|
+
createRequestFunction(
|
|
40596
|
+
localVarAxiosArgs,
|
|
40597
|
+
globalAxios,
|
|
40598
|
+
BASE_PATH,
|
|
40599
|
+
configuration,
|
|
40600
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
40601
|
+
},
|
|
40176
40602
|
/**
|
|
40177
40603
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
40178
40604
|
* @summary Create
|
|
@@ -40335,6 +40761,21 @@ export const ShopListingApiFactory = function (
|
|
|
40335
40761
|
) {
|
|
40336
40762
|
const localVarFp = ShopListingApiFp(configuration);
|
|
40337
40763
|
return {
|
|
40764
|
+
/**
|
|
40765
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
40766
|
+
* @summary Bulk
|
|
40767
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
40768
|
+
* @param {*} [options] Override http request option.
|
|
40769
|
+
* @throws {RequiredError}
|
|
40770
|
+
*/
|
|
40771
|
+
shopListingControllerBulk(
|
|
40772
|
+
shopListingBulkInputDTO?: ShopListingBulkInputDTO,
|
|
40773
|
+
options?: RawAxiosRequestConfig,
|
|
40774
|
+
): AxiosPromise<BulkActionResultDTOAPI> {
|
|
40775
|
+
return localVarFp
|
|
40776
|
+
.shopListingControllerBulk(shopListingBulkInputDTO, options)
|
|
40777
|
+
.then((request) => request(axios, basePath));
|
|
40778
|
+
},
|
|
40338
40779
|
/**
|
|
40339
40780
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
40340
40781
|
* @summary Create
|
|
@@ -40421,6 +40862,20 @@ export const ShopListingApiFactory = function (
|
|
|
40421
40862
|
* @extends {BaseAPI}
|
|
40422
40863
|
*/
|
|
40423
40864
|
export class ShopListingApi extends BaseAPI {
|
|
40865
|
+
/**
|
|
40866
|
+
* Bulk delete/publish/unpublish shop listings, targeted by ids or by a search query. Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerBulk`
|
|
40867
|
+
* @summary Bulk
|
|
40868
|
+
* @param {ShopListingBulkInputDTO} [shopListingBulkInputDTO] ShopListingBulkInputDTO
|
|
40869
|
+
* @param {*} [options] Override http request option.
|
|
40870
|
+
* @throws {RequiredError}
|
|
40871
|
+
* @memberof ShopListingApi
|
|
40872
|
+
*/
|
|
40873
|
+
public shopListingControllerBulk(shopListingBulkInputDTO?: ShopListingBulkInputDTO, options?: RawAxiosRequestConfig) {
|
|
40874
|
+
return ShopListingApiFp(this.configuration)
|
|
40875
|
+
.shopListingControllerBulk(shopListingBulkInputDTO, options)
|
|
40876
|
+
.then((request) => request(this.axios, this.basePath));
|
|
40877
|
+
}
|
|
40878
|
+
|
|
40424
40879
|
/**
|
|
40425
40880
|
* Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopListingControllerCreate`
|
|
40426
40881
|
* @summary Create
|
|
@@ -41050,6 +41505,54 @@ export const StorefrontConfigApiAxiosParamCreator = function (configuration?: Co
|
|
|
41050
41505
|
options: localVarRequestOptions,
|
|
41051
41506
|
};
|
|
41052
41507
|
},
|
|
41508
|
+
/**
|
|
41509
|
+
* 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`
|
|
41510
|
+
* @summary Preview config
|
|
41511
|
+
* @param {string} gameServerId
|
|
41512
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
41513
|
+
* @param {*} [options] Override http request option.
|
|
41514
|
+
* @throws {RequiredError}
|
|
41515
|
+
*/
|
|
41516
|
+
storefrontConfigControllerPreviewConfig: async (
|
|
41517
|
+
gameServerId: string,
|
|
41518
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
41519
|
+
options: RawAxiosRequestConfig = {},
|
|
41520
|
+
): Promise<RequestArgs> => {
|
|
41521
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
41522
|
+
assertParamExists('storefrontConfigControllerPreviewConfig', 'gameServerId', gameServerId);
|
|
41523
|
+
const localVarPath = `/gameserver/{gameServerId}/storefront-config/preview`.replace(
|
|
41524
|
+
`{${'gameServerId'}}`,
|
|
41525
|
+
encodeURIComponent(String(gameServerId)),
|
|
41526
|
+
);
|
|
41527
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
41528
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
41529
|
+
let baseOptions;
|
|
41530
|
+
if (configuration) {
|
|
41531
|
+
baseOptions = configuration.baseOptions;
|
|
41532
|
+
}
|
|
41533
|
+
|
|
41534
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
41535
|
+
const localVarHeaderParameter = {} as any;
|
|
41536
|
+
const localVarQueryParameter = {} as any;
|
|
41537
|
+
|
|
41538
|
+
// authentication domainAuth required
|
|
41539
|
+
|
|
41540
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
41541
|
+
|
|
41542
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
41543
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
41544
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
41545
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
41546
|
+
storefrontConfigUpsertBody,
|
|
41547
|
+
localVarRequestOptions,
|
|
41548
|
+
configuration,
|
|
41549
|
+
);
|
|
41550
|
+
|
|
41551
|
+
return {
|
|
41552
|
+
url: toPathString(localVarUrlObj),
|
|
41553
|
+
options: localVarRequestOptions,
|
|
41554
|
+
};
|
|
41555
|
+
},
|
|
41053
41556
|
/**
|
|
41054
41557
|
* 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`
|
|
41055
41558
|
* @summary Set config
|
|
@@ -41159,6 +41662,37 @@ export const StorefrontConfigApiFp = function (configuration?: Configuration) {
|
|
|
41159
41662
|
configuration,
|
|
41160
41663
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
41161
41664
|
},
|
|
41665
|
+
/**
|
|
41666
|
+
* 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`
|
|
41667
|
+
* @summary Preview config
|
|
41668
|
+
* @param {string} gameServerId
|
|
41669
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
41670
|
+
* @param {*} [options] Override http request option.
|
|
41671
|
+
* @throws {RequiredError}
|
|
41672
|
+
*/
|
|
41673
|
+
async storefrontConfigControllerPreviewConfig(
|
|
41674
|
+
gameServerId: string,
|
|
41675
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
41676
|
+
options?: RawAxiosRequestConfig,
|
|
41677
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<StorefrontPreviewOutputDTOAPI>> {
|
|
41678
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.storefrontConfigControllerPreviewConfig(
|
|
41679
|
+
gameServerId,
|
|
41680
|
+
storefrontConfigUpsertBody,
|
|
41681
|
+
options,
|
|
41682
|
+
);
|
|
41683
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
41684
|
+
const localVarOperationServerBasePath =
|
|
41685
|
+
operationServerMap['StorefrontConfigApi.storefrontConfigControllerPreviewConfig']?.[
|
|
41686
|
+
localVarOperationServerIndex
|
|
41687
|
+
]?.url;
|
|
41688
|
+
return (axios, basePath) =>
|
|
41689
|
+
createRequestFunction(
|
|
41690
|
+
localVarAxiosArgs,
|
|
41691
|
+
globalAxios,
|
|
41692
|
+
BASE_PATH,
|
|
41693
|
+
configuration,
|
|
41694
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
41695
|
+
},
|
|
41162
41696
|
/**
|
|
41163
41697
|
* 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`
|
|
41164
41698
|
* @summary Set config
|
|
@@ -41229,6 +41763,23 @@ export const StorefrontConfigApiFactory = function (
|
|
|
41229
41763
|
): AxiosPromise<StorefrontTemplateOutputArrayDTOAPI> {
|
|
41230
41764
|
return localVarFp.storefrontConfigControllerListTemplates(options).then((request) => request(axios, basePath));
|
|
41231
41765
|
},
|
|
41766
|
+
/**
|
|
41767
|
+
* 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`
|
|
41768
|
+
* @summary Preview config
|
|
41769
|
+
* @param {string} gameServerId
|
|
41770
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
41771
|
+
* @param {*} [options] Override http request option.
|
|
41772
|
+
* @throws {RequiredError}
|
|
41773
|
+
*/
|
|
41774
|
+
storefrontConfigControllerPreviewConfig(
|
|
41775
|
+
gameServerId: string,
|
|
41776
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
41777
|
+
options?: RawAxiosRequestConfig,
|
|
41778
|
+
): AxiosPromise<StorefrontPreviewOutputDTOAPI> {
|
|
41779
|
+
return localVarFp
|
|
41780
|
+
.storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
41781
|
+
.then((request) => request(axios, basePath));
|
|
41782
|
+
},
|
|
41232
41783
|
/**
|
|
41233
41784
|
* 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`
|
|
41234
41785
|
* @summary Set config
|
|
@@ -41283,6 +41834,25 @@ export class StorefrontConfigApi extends BaseAPI {
|
|
|
41283
41834
|
.then((request) => request(this.axios, this.basePath));
|
|
41284
41835
|
}
|
|
41285
41836
|
|
|
41837
|
+
/**
|
|
41838
|
+
* 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`
|
|
41839
|
+
* @summary Preview config
|
|
41840
|
+
* @param {string} gameServerId
|
|
41841
|
+
* @param {StorefrontConfigUpsertBody} [storefrontConfigUpsertBody] StorefrontConfigUpsertBody
|
|
41842
|
+
* @param {*} [options] Override http request option.
|
|
41843
|
+
* @throws {RequiredError}
|
|
41844
|
+
* @memberof StorefrontConfigApi
|
|
41845
|
+
*/
|
|
41846
|
+
public storefrontConfigControllerPreviewConfig(
|
|
41847
|
+
gameServerId: string,
|
|
41848
|
+
storefrontConfigUpsertBody?: StorefrontConfigUpsertBody,
|
|
41849
|
+
options?: RawAxiosRequestConfig,
|
|
41850
|
+
) {
|
|
41851
|
+
return StorefrontConfigApiFp(this.configuration)
|
|
41852
|
+
.storefrontConfigControllerPreviewConfig(gameServerId, storefrontConfigUpsertBody, options)
|
|
41853
|
+
.then((request) => request(this.axios, this.basePath));
|
|
41854
|
+
}
|
|
41855
|
+
|
|
41286
41856
|
/**
|
|
41287
41857
|
* 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`
|
|
41288
41858
|
* @summary Set config
|
|
@@ -43167,6 +43737,47 @@ export class UserApi extends BaseAPI {
|
|
|
43167
43737
|
*/
|
|
43168
43738
|
export const VariableApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
43169
43739
|
return {
|
|
43740
|
+
/**
|
|
43741
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
43742
|
+
* @summary Bulk delete
|
|
43743
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
43744
|
+
* @param {*} [options] Override http request option.
|
|
43745
|
+
* @throws {RequiredError}
|
|
43746
|
+
*/
|
|
43747
|
+
variableControllerBulkDelete: async (
|
|
43748
|
+
variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
|
|
43749
|
+
options: RawAxiosRequestConfig = {},
|
|
43750
|
+
): Promise<RequestArgs> => {
|
|
43751
|
+
const localVarPath = `/variables`;
|
|
43752
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
43753
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
43754
|
+
let baseOptions;
|
|
43755
|
+
if (configuration) {
|
|
43756
|
+
baseOptions = configuration.baseOptions;
|
|
43757
|
+
}
|
|
43758
|
+
|
|
43759
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
43760
|
+
const localVarHeaderParameter = {} as any;
|
|
43761
|
+
const localVarQueryParameter = {} as any;
|
|
43762
|
+
|
|
43763
|
+
// authentication domainAuth required
|
|
43764
|
+
|
|
43765
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
43766
|
+
|
|
43767
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
43768
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
43769
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
43770
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
43771
|
+
variableBulkDeleteInputDTO,
|
|
43772
|
+
localVarRequestOptions,
|
|
43773
|
+
configuration,
|
|
43774
|
+
);
|
|
43775
|
+
|
|
43776
|
+
return {
|
|
43777
|
+
url: toPathString(localVarUrlObj),
|
|
43778
|
+
options: localVarRequestOptions,
|
|
43779
|
+
};
|
|
43780
|
+
},
|
|
43170
43781
|
/**
|
|
43171
43782
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
43172
43783
|
* @summary Create
|
|
@@ -43362,6 +43973,32 @@ export const VariableApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
43362
43973
|
export const VariableApiFp = function (configuration?: Configuration) {
|
|
43363
43974
|
const localVarAxiosParamCreator = VariableApiAxiosParamCreator(configuration);
|
|
43364
43975
|
return {
|
|
43976
|
+
/**
|
|
43977
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
43978
|
+
* @summary Bulk delete
|
|
43979
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
43980
|
+
* @param {*} [options] Override http request option.
|
|
43981
|
+
* @throws {RequiredError}
|
|
43982
|
+
*/
|
|
43983
|
+
async variableControllerBulkDelete(
|
|
43984
|
+
variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
|
|
43985
|
+
options?: RawAxiosRequestConfig,
|
|
43986
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<BulkActionResultDTOAPI>> {
|
|
43987
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.variableControllerBulkDelete(
|
|
43988
|
+
variableBulkDeleteInputDTO,
|
|
43989
|
+
options,
|
|
43990
|
+
);
|
|
43991
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
43992
|
+
const localVarOperationServerBasePath =
|
|
43993
|
+
operationServerMap['VariableApi.variableControllerBulkDelete']?.[localVarOperationServerIndex]?.url;
|
|
43994
|
+
return (axios, basePath) =>
|
|
43995
|
+
createRequestFunction(
|
|
43996
|
+
localVarAxiosArgs,
|
|
43997
|
+
globalAxios,
|
|
43998
|
+
BASE_PATH,
|
|
43999
|
+
configuration,
|
|
44000
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
44001
|
+
},
|
|
43365
44002
|
/**
|
|
43366
44003
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
43367
44004
|
* @summary Create
|
|
@@ -43496,6 +44133,21 @@ export const VariableApiFp = function (configuration?: Configuration) {
|
|
|
43496
44133
|
export const VariableApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
43497
44134
|
const localVarFp = VariableApiFp(configuration);
|
|
43498
44135
|
return {
|
|
44136
|
+
/**
|
|
44137
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
44138
|
+
* @summary Bulk delete
|
|
44139
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
44140
|
+
* @param {*} [options] Override http request option.
|
|
44141
|
+
* @throws {RequiredError}
|
|
44142
|
+
*/
|
|
44143
|
+
variableControllerBulkDelete(
|
|
44144
|
+
variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
|
|
44145
|
+
options?: RawAxiosRequestConfig,
|
|
44146
|
+
): AxiosPromise<BulkActionResultDTOAPI> {
|
|
44147
|
+
return localVarFp
|
|
44148
|
+
.variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
|
|
44149
|
+
.then((request) => request(axios, basePath));
|
|
44150
|
+
},
|
|
43499
44151
|
/**
|
|
43500
44152
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
43501
44153
|
* @summary Create
|
|
@@ -43573,6 +44225,23 @@ export const VariableApiFactory = function (configuration?: Configuration, baseP
|
|
|
43573
44225
|
* @extends {BaseAPI}
|
|
43574
44226
|
*/
|
|
43575
44227
|
export class VariableApi extends BaseAPI {
|
|
44228
|
+
/**
|
|
44229
|
+
* Bulk delete variables by ids or by a search query. Reports per-item failures. Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerBulkDelete`
|
|
44230
|
+
* @summary Bulk delete
|
|
44231
|
+
* @param {VariableBulkDeleteInputDTO} [variableBulkDeleteInputDTO] VariableBulkDeleteInputDTO
|
|
44232
|
+
* @param {*} [options] Override http request option.
|
|
44233
|
+
* @throws {RequiredError}
|
|
44234
|
+
* @memberof VariableApi
|
|
44235
|
+
*/
|
|
44236
|
+
public variableControllerBulkDelete(
|
|
44237
|
+
variableBulkDeleteInputDTO?: VariableBulkDeleteInputDTO,
|
|
44238
|
+
options?: RawAxiosRequestConfig,
|
|
44239
|
+
) {
|
|
44240
|
+
return VariableApiFp(this.configuration)
|
|
44241
|
+
.variableControllerBulkDelete(variableBulkDeleteInputDTO, options)
|
|
44242
|
+
.then((request) => request(this.axios, this.basePath));
|
|
44243
|
+
}
|
|
44244
|
+
|
|
43576
44245
|
/**
|
|
43577
44246
|
* Required permissions: `MANAGE_VARIABLES`<br> OperationId: `VariableControllerCreate`
|
|
43578
44247
|
* @summary Create
|