@takaro/apiclient 0.0.0-dev.e8fdb96 → 0.0.0-dev.ef2c5cb

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.
@@ -1,7 +1,7 @@
1
1
  /* tslint:disable */
2
2
  /* eslint-disable */
3
3
  /**
4
- * Takaro app-api
4
+ * Takaro API
5
5
  * No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
6
6
  *
7
7
  * The version of the OpenAPI document: 0.0.0
@@ -2934,6 +2934,7 @@ export const EventCreateDTOEventNameEnum = {
2934
2934
  PlayerBanned: 'player-banned',
2935
2935
  PlayerUnbanned: 'player-unbanned',
2936
2936
  PlayerDeleted: 'player-deleted',
2937
+ ShopActionExecuted: 'shop-action-executed',
2937
2938
  PlayerConnected: 'player-connected',
2938
2939
  PlayerDisconnected: 'player-disconnected',
2939
2940
  ChatMessage: 'chat-message',
@@ -3209,6 +3210,7 @@ export const EventOutputDTOEventNameEnum = {
3209
3210
  PlayerBanned: 'player-banned',
3210
3211
  PlayerUnbanned: 'player-unbanned',
3211
3212
  PlayerDeleted: 'player-deleted',
3213
+ ShopActionExecuted: 'shop-action-executed',
3212
3214
  PlayerConnected: 'player-connected',
3213
3215
  PlayerDisconnected: 'player-disconnected',
3214
3216
  ChatMessage: 'chat-message',
@@ -3260,6 +3262,7 @@ export type EventOutputDTOMeta =
3260
3262
  | TakaroEventRoleUpdated
3261
3263
  | TakaroEventServerStatusChanged
3262
3264
  | TakaroEventSettingsSet
3265
+ | TakaroEventShopActionExecuted
3263
3266
  | TakaroEventShopListingCreated
3264
3267
  | TakaroEventShopListingDeleted
3265
3268
  | TakaroEventShopListingUpdated
@@ -3440,6 +3443,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
3440
3443
  PlayerBanned: 'player-banned',
3441
3444
  PlayerUnbanned: 'player-unbanned',
3442
3445
  PlayerDeleted: 'player-deleted',
3446
+ ShopActionExecuted: 'shop-action-executed',
3443
3447
  PlayerConnected: 'player-connected',
3444
3448
  PlayerDisconnected: 'player-disconnected',
3445
3449
  ChatMessage: 'chat-message',
@@ -3627,6 +3631,7 @@ export const EventsCountInputDTOEventNameEnum = {
3627
3631
  PlayerBanned: 'player-banned',
3628
3632
  PlayerUnbanned: 'player-unbanned',
3629
3633
  PlayerDeleted: 'player-deleted',
3634
+ ShopActionExecuted: 'shop-action-executed',
3630
3635
  PlayerConnected: 'player-connected',
3631
3636
  PlayerDisconnected: 'player-disconnected',
3632
3637
  ChatMessage: 'chat-message',
@@ -4898,6 +4903,7 @@ export const HookCreateDTOEventTypeEnum = {
4898
4903
  PlayerBanned: 'player-banned',
4899
4904
  PlayerUnbanned: 'player-unbanned',
4900
4905
  PlayerDeleted: 'player-deleted',
4906
+ ShopActionExecuted: 'shop-action-executed',
4901
4907
  } as const;
4902
4908
 
4903
4909
  export type HookCreateDTOEventTypeEnum = (typeof HookCreateDTOEventTypeEnum)[keyof typeof HookCreateDTOEventTypeEnum];
@@ -5057,6 +5063,7 @@ export const HookOutputDTOEventTypeEnum = {
5057
5063
  PlayerBanned: 'player-banned',
5058
5064
  PlayerUnbanned: 'player-unbanned',
5059
5065
  PlayerDeleted: 'player-deleted',
5066
+ ShopActionExecuted: 'shop-action-executed',
5060
5067
  } as const;
5061
5068
 
5062
5069
  export type HookOutputDTOEventTypeEnum = (typeof HookOutputDTOEventTypeEnum)[keyof typeof HookOutputDTOEventTypeEnum];
@@ -5161,6 +5168,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
5161
5168
  PlayerBanned: 'player-banned',
5162
5169
  PlayerUnbanned: 'player-unbanned',
5163
5170
  PlayerDeleted: 'player-deleted',
5171
+ ShopActionExecuted: 'shop-action-executed',
5164
5172
  } as const;
5165
5173
 
5166
5174
  export type HookSearchInputAllowedFiltersEventTypeEnum =
@@ -5337,6 +5345,7 @@ export const HookTriggerDTOEventTypeEnum = {
5337
5345
  PlayerBanned: 'player-banned',
5338
5346
  PlayerUnbanned: 'player-unbanned',
5339
5347
  PlayerDeleted: 'player-deleted',
5348
+ ShopActionExecuted: 'shop-action-executed',
5340
5349
  } as const;
5341
5350
 
5342
5351
  export type HookTriggerDTOEventTypeEnum =
@@ -5423,6 +5432,7 @@ export const HookUpdateDTOEventTypeEnum = {
5423
5432
  PlayerBanned: 'player-banned',
5424
5433
  PlayerUnbanned: 'player-unbanned',
5425
5434
  PlayerDeleted: 'player-deleted',
5435
+ ShopActionExecuted: 'shop-action-executed',
5426
5436
  } as const;
5427
5437
 
5428
5438
  export type HookUpdateDTOEventTypeEnum = (typeof HookUpdateDTOEventTypeEnum)[keyof typeof HookUpdateDTOEventTypeEnum];
@@ -5751,6 +5761,7 @@ export const IHookEventTypeEnum = {
5751
5761
  PlayerBanned: 'player-banned',
5752
5762
  PlayerUnbanned: 'player-unbanned',
5753
5763
  PlayerDeleted: 'player-deleted',
5764
+ ShopActionExecuted: 'shop-action-executed',
5754
5765
  } as const;
5755
5766
 
5756
5767
  export type IHookEventTypeEnum = (typeof IHookEventTypeEnum)[keyof typeof IHookEventTypeEnum];
@@ -5941,6 +5952,31 @@ export interface IPosition {
5941
5952
  */
5942
5953
  dimension?: string;
5943
5954
  }
5955
+ /**
5956
+ *
5957
+ * @export
5958
+ * @interface IShopAction
5959
+ */
5960
+ export interface IShopAction {
5961
+ /**
5962
+ *
5963
+ * @type {string}
5964
+ * @memberof IShopAction
5965
+ */
5966
+ name: string;
5967
+ /**
5968
+ *
5969
+ * @type {string}
5970
+ * @memberof IShopAction
5971
+ */
5972
+ description?: string;
5973
+ /**
5974
+ *
5975
+ * @type {string}
5976
+ * @memberof IShopAction
5977
+ */
5978
+ function: string;
5979
+ }
5944
5980
  /**
5945
5981
  *
5946
5982
  * @export
@@ -7696,6 +7732,12 @@ export interface ModuleTransferVersionDTO {
7696
7732
  * @memberof ModuleTransferVersionDTO
7697
7733
  */
7698
7734
  permissions?: Array<IPermission>;
7735
+ /**
7736
+ *
7737
+ * @type {Array<IShopAction>}
7738
+ * @memberof ModuleTransferVersionDTO
7739
+ */
7740
+ shopActions?: Array<IShopAction>;
7699
7741
  }
7700
7742
  /**
7701
7743
  *
@@ -7844,6 +7886,12 @@ export interface ModuleVersionOutputDTO {
7844
7886
  * @memberof ModuleVersionOutputDTO
7845
7887
  */
7846
7888
  permissions: Array<PermissionOutputDTO>;
7889
+ /**
7890
+ *
7891
+ * @type {Array<ShopActionOutputDTO>}
7892
+ * @memberof ModuleVersionOutputDTO
7893
+ */
7894
+ shopActions: Array<ShopActionOutputDTO>;
7847
7895
  /**
7848
7896
  *
7849
7897
  * @type {string}
@@ -8265,6 +8313,19 @@ export interface PaginationParamsWithGameServer {
8265
8313
  */
8266
8314
  limit?: number;
8267
8315
  }
8316
+ /**
8317
+ *
8318
+ * @export
8319
+ * @interface ParamGameServerId
8320
+ */
8321
+ export interface ParamGameServerId {
8322
+ /**
8323
+ *
8324
+ * @type {string}
8325
+ * @memberof ParamGameServerId
8326
+ */
8327
+ gameServerId: string;
8328
+ }
8268
8329
  /**
8269
8330
  *
8270
8331
  * @export
@@ -9161,6 +9222,12 @@ export interface PlayerOnGameServerSetCurrencyInputDTO {
9161
9222
  * @memberof PlayerOnGameServerSetCurrencyInputDTO
9162
9223
  */
9163
9224
  currency: number;
9225
+ /**
9226
+ *
9227
+ * @type {string}
9228
+ * @memberof PlayerOnGameServerSetCurrencyInputDTO
9229
+ */
9230
+ reason?: string;
9164
9231
  }
9165
9232
  /**
9166
9233
  *
@@ -11197,6 +11264,263 @@ export interface SettingsSetDTO {
11197
11264
  */
11198
11265
  value: any;
11199
11266
  }
11267
+ /**
11268
+ *
11269
+ * @export
11270
+ * @interface ShopActionCreateDTO
11271
+ */
11272
+ export interface ShopActionCreateDTO {
11273
+ /**
11274
+ *
11275
+ * @type {string}
11276
+ * @memberof ShopActionCreateDTO
11277
+ */
11278
+ name: string;
11279
+ /**
11280
+ *
11281
+ * @type {string}
11282
+ * @memberof ShopActionCreateDTO
11283
+ */
11284
+ description?: string;
11285
+ /**
11286
+ *
11287
+ * @type {string}
11288
+ * @memberof ShopActionCreateDTO
11289
+ */
11290
+ versionId: string;
11291
+ /**
11292
+ *
11293
+ * @type {string}
11294
+ * @memberof ShopActionCreateDTO
11295
+ */
11296
+ function?: string;
11297
+ }
11298
+ /**
11299
+ *
11300
+ * @export
11301
+ * @interface ShopActionOutputArrayDTOAPI
11302
+ */
11303
+ export interface ShopActionOutputArrayDTOAPI {
11304
+ /**
11305
+ *
11306
+ * @type {Array<ShopActionOutputDTO>}
11307
+ * @memberof ShopActionOutputArrayDTOAPI
11308
+ */
11309
+ data: Array<ShopActionOutputDTO>;
11310
+ /**
11311
+ *
11312
+ * @type {MetadataOutput}
11313
+ * @memberof ShopActionOutputArrayDTOAPI
11314
+ */
11315
+ meta: MetadataOutput;
11316
+ }
11317
+ /**
11318
+ *
11319
+ * @export
11320
+ * @interface ShopActionOutputDTO
11321
+ */
11322
+ export interface ShopActionOutputDTO {
11323
+ /**
11324
+ *
11325
+ * @type {string}
11326
+ * @memberof ShopActionOutputDTO
11327
+ */
11328
+ name: string;
11329
+ /**
11330
+ *
11331
+ * @type {string}
11332
+ * @memberof ShopActionOutputDTO
11333
+ */
11334
+ description?: string;
11335
+ /**
11336
+ *
11337
+ * @type {FunctionOutputDTO}
11338
+ * @memberof ShopActionOutputDTO
11339
+ */
11340
+ function: FunctionOutputDTO;
11341
+ /**
11342
+ *
11343
+ * @type {string}
11344
+ * @memberof ShopActionOutputDTO
11345
+ */
11346
+ versionId: string;
11347
+ /**
11348
+ *
11349
+ * @type {string}
11350
+ * @memberof ShopActionOutputDTO
11351
+ */
11352
+ id: string;
11353
+ /**
11354
+ *
11355
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
11356
+ * @memberof ShopActionOutputDTO
11357
+ */
11358
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
11359
+ /**
11360
+ *
11361
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
11362
+ * @memberof ShopActionOutputDTO
11363
+ */
11364
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
11365
+ }
11366
+ /**
11367
+ *
11368
+ * @export
11369
+ * @interface ShopActionOutputDTOAPI
11370
+ */
11371
+ export interface ShopActionOutputDTOAPI {
11372
+ /**
11373
+ *
11374
+ * @type {ShopActionOutputDTO}
11375
+ * @memberof ShopActionOutputDTOAPI
11376
+ */
11377
+ data: ShopActionOutputDTO;
11378
+ /**
11379
+ *
11380
+ * @type {MetadataOutput}
11381
+ * @memberof ShopActionOutputDTOAPI
11382
+ */
11383
+ meta: MetadataOutput;
11384
+ }
11385
+ /**
11386
+ *
11387
+ * @export
11388
+ * @interface ShopActionSearchInputAllowedFilters
11389
+ */
11390
+ export interface ShopActionSearchInputAllowedFilters {
11391
+ /**
11392
+ *
11393
+ * @type {Array<string>}
11394
+ * @memberof ShopActionSearchInputAllowedFilters
11395
+ */
11396
+ moduleId?: Array<string>;
11397
+ /**
11398
+ *
11399
+ * @type {Array<string>}
11400
+ * @memberof ShopActionSearchInputAllowedFilters
11401
+ */
11402
+ versionId?: Array<string>;
11403
+ /**
11404
+ *
11405
+ * @type {Array<string>}
11406
+ * @memberof ShopActionSearchInputAllowedFilters
11407
+ */
11408
+ name?: Array<string>;
11409
+ /**
11410
+ *
11411
+ * @type {Array<string>}
11412
+ * @memberof ShopActionSearchInputAllowedFilters
11413
+ */
11414
+ id?: Array<string>;
11415
+ }
11416
+ /**
11417
+ *
11418
+ * @export
11419
+ * @interface ShopActionSearchInputAllowedSearch
11420
+ */
11421
+ export interface ShopActionSearchInputAllowedSearch {
11422
+ /**
11423
+ *
11424
+ * @type {Array<string>}
11425
+ * @memberof ShopActionSearchInputAllowedSearch
11426
+ */
11427
+ name?: Array<string>;
11428
+ }
11429
+ /**
11430
+ *
11431
+ * @export
11432
+ * @interface ShopActionSearchInputDTO
11433
+ */
11434
+ export interface ShopActionSearchInputDTO {
11435
+ /**
11436
+ *
11437
+ * @type {ShopActionSearchInputAllowedFilters}
11438
+ * @memberof ShopActionSearchInputDTO
11439
+ */
11440
+ filters?: ShopActionSearchInputAllowedFilters;
11441
+ /**
11442
+ *
11443
+ * @type {ShopActionSearchInputAllowedSearch}
11444
+ * @memberof ShopActionSearchInputDTO
11445
+ */
11446
+ search?: ShopActionSearchInputAllowedSearch;
11447
+ /**
11448
+ *
11449
+ * @type {any}
11450
+ * @memberof ShopActionSearchInputDTO
11451
+ */
11452
+ greaterThan?: any;
11453
+ /**
11454
+ *
11455
+ * @type {any}
11456
+ * @memberof ShopActionSearchInputDTO
11457
+ */
11458
+ lessThan?: any;
11459
+ /**
11460
+ *
11461
+ * @type {number}
11462
+ * @memberof ShopActionSearchInputDTO
11463
+ */
11464
+ page?: number;
11465
+ /**
11466
+ *
11467
+ * @type {number}
11468
+ * @memberof ShopActionSearchInputDTO
11469
+ */
11470
+ limit?: number;
11471
+ /**
11472
+ *
11473
+ * @type {string}
11474
+ * @memberof ShopActionSearchInputDTO
11475
+ */
11476
+ sortBy?: string;
11477
+ /**
11478
+ *
11479
+ * @type {string}
11480
+ * @memberof ShopActionSearchInputDTO
11481
+ */
11482
+ sortDirection?: ShopActionSearchInputDTOSortDirectionEnum;
11483
+ /**
11484
+ *
11485
+ * @type {Array<string>}
11486
+ * @memberof ShopActionSearchInputDTO
11487
+ */
11488
+ extend?: Array<string>;
11489
+ }
11490
+
11491
+ export const ShopActionSearchInputDTOSortDirectionEnum = {
11492
+ Asc: 'asc',
11493
+ Desc: 'desc',
11494
+ } as const;
11495
+
11496
+ export type ShopActionSearchInputDTOSortDirectionEnum =
11497
+ (typeof ShopActionSearchInputDTOSortDirectionEnum)[keyof typeof ShopActionSearchInputDTOSortDirectionEnum];
11498
+
11499
+ /**
11500
+ *
11501
+ * @export
11502
+ * @interface ShopActionUpdateDTO
11503
+ */
11504
+ export interface ShopActionUpdateDTO {
11505
+ /**
11506
+ *
11507
+ * @type {string}
11508
+ * @memberof ShopActionUpdateDTO
11509
+ */
11510
+ name?: string;
11511
+ /**
11512
+ *
11513
+ * @type {string}
11514
+ * @memberof ShopActionUpdateDTO
11515
+ */
11516
+ description?: string;
11517
+ /**
11518
+ *
11519
+ * @type {string}
11520
+ * @memberof ShopActionUpdateDTO
11521
+ */
11522
+ function?: string;
11523
+ }
11200
11524
  /**
11201
11525
  *
11202
11526
  * @export
@@ -11675,7 +11999,7 @@ export interface ShopListingCreateDTO {
11675
11999
  * @type {Array<ShopListingItemMetaInputDTO>}
11676
12000
  * @memberof ShopListingCreateDTO
11677
12001
  */
11678
- items: Array<ShopListingItemMetaInputDTO>;
12002
+ items?: Array<ShopListingItemMetaInputDTO>;
11679
12003
  /**
11680
12004
  *
11681
12005
  * @type {number}
@@ -11694,6 +12018,12 @@ export interface ShopListingCreateDTO {
11694
12018
  * @memberof ShopListingCreateDTO
11695
12019
  */
11696
12020
  draft?: boolean;
12021
+ /**
12022
+ *
12023
+ * @type {string}
12024
+ * @memberof ShopListingCreateDTO
12025
+ */
12026
+ shopActionId?: string;
11697
12027
  /**
11698
12028
  *
11699
12029
  * @type {Array<string>}
@@ -11842,6 +12172,12 @@ export interface ShopListingOutputDTO {
11842
12172
  * @memberof ShopListingOutputDTO
11843
12173
  */
11844
12174
  draft: boolean;
12175
+ /**
12176
+ *
12177
+ * @type {string}
12178
+ * @memberof ShopListingOutputDTO
12179
+ */
12180
+ shopActionId?: string;
11845
12181
  /**
11846
12182
  *
11847
12183
  * @type {Array<ShopCategoryOutputDTO>}
@@ -12058,11 +12394,17 @@ export interface ShopListingUpdateDTO {
12058
12394
  draft?: boolean;
12059
12395
  /**
12060
12396
  *
12061
- * @type {Array<string>}
12397
+ * @type {string}
12062
12398
  * @memberof ShopListingUpdateDTO
12063
12399
  */
12064
- categoryIds?: Array<string>;
12065
- }
12400
+ shopActionId?: string;
12401
+ /**
12402
+ *
12403
+ * @type {Array<string>}
12404
+ * @memberof ShopListingUpdateDTO
12405
+ */
12406
+ categoryIds?: Array<string>;
12407
+ }
12066
12408
  /**
12067
12409
  *
12068
12410
  * @export
@@ -12635,6 +12977,12 @@ export interface TakaroEventCurrencyAdded {
12635
12977
  * @memberof TakaroEventCurrencyAdded
12636
12978
  */
12637
12979
  amount: number;
12980
+ /**
12981
+ *
12982
+ * @type {string}
12983
+ * @memberof TakaroEventCurrencyAdded
12984
+ */
12985
+ reason?: string;
12638
12986
  /**
12639
12987
  *
12640
12988
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
@@ -12654,6 +13002,12 @@ export interface TakaroEventCurrencyDeducted {
12654
13002
  * @memberof TakaroEventCurrencyDeducted
12655
13003
  */
12656
13004
  amount: number;
13005
+ /**
13006
+ *
13007
+ * @type {string}
13008
+ * @memberof TakaroEventCurrencyDeducted
13009
+ */
13010
+ reason?: string;
12657
13011
  /**
12658
13012
  *
12659
13013
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
@@ -13265,6 +13619,50 @@ export interface TakaroEventSettingsSet {
13265
13619
  */
13266
13620
  timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
13267
13621
  }
13622
+ /**
13623
+ *
13624
+ * @export
13625
+ * @interface TakaroEventShopActionDetails
13626
+ */
13627
+ export interface TakaroEventShopActionDetails {
13628
+ /**
13629
+ *
13630
+ * @type {string}
13631
+ * @memberof TakaroEventShopActionDetails
13632
+ */
13633
+ id: string;
13634
+ /**
13635
+ *
13636
+ * @type {string}
13637
+ * @memberof TakaroEventShopActionDetails
13638
+ */
13639
+ name: string;
13640
+ }
13641
+ /**
13642
+ *
13643
+ * @export
13644
+ * @interface TakaroEventShopActionExecuted
13645
+ */
13646
+ export interface TakaroEventShopActionExecuted {
13647
+ /**
13648
+ *
13649
+ * @type {TakaroEventFunctionResult}
13650
+ * @memberof TakaroEventShopActionExecuted
13651
+ */
13652
+ result: TakaroEventFunctionResult;
13653
+ /**
13654
+ *
13655
+ * @type {TakaroEventShopActionDetails}
13656
+ * @memberof TakaroEventShopActionExecuted
13657
+ */
13658
+ shopAction?: TakaroEventShopActionDetails;
13659
+ /**
13660
+ *
13661
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
13662
+ * @memberof TakaroEventShopActionExecuted
13663
+ */
13664
+ timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
13665
+ }
13268
13666
  /**
13269
13667
  *
13270
13668
  * @export
@@ -27513,6 +27911,712 @@ export const SettingsControllerGetKeysEnum = {
27513
27911
  export type SettingsControllerGetKeysEnum =
27514
27912
  (typeof SettingsControllerGetKeysEnum)[keyof typeof SettingsControllerGetKeysEnum];
27515
27913
 
27914
+ /**
27915
+ * ShopActionApi - axios parameter creator
27916
+ * @export
27917
+ */
27918
+ export const ShopActionApiAxiosParamCreator = function (configuration?: Configuration) {
27919
+ return {
27920
+ /**
27921
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
27922
+ * @summary Create
27923
+ * @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
27924
+ * @param {*} [options] Override http request option.
27925
+ * @throws {RequiredError}
27926
+ */
27927
+ shopActionControllerCreate: async (
27928
+ shopActionCreateDTO?: ShopActionCreateDTO,
27929
+ options: RawAxiosRequestConfig = {},
27930
+ ): Promise<RequestArgs> => {
27931
+ const localVarPath = `/shopaction`;
27932
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27933
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27934
+ let baseOptions;
27935
+ if (configuration) {
27936
+ baseOptions = configuration.baseOptions;
27937
+ }
27938
+
27939
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
27940
+ const localVarHeaderParameter = {} as any;
27941
+ const localVarQueryParameter = {} as any;
27942
+
27943
+ // authentication domainAuth required
27944
+
27945
+ localVarHeaderParameter['Content-Type'] = 'application/json';
27946
+
27947
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27948
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27949
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
27950
+ localVarRequestOptions.data = serializeDataIfNeeded(shopActionCreateDTO, localVarRequestOptions, configuration);
27951
+
27952
+ return {
27953
+ url: toPathString(localVarUrlObj),
27954
+ options: localVarRequestOptions,
27955
+ };
27956
+ },
27957
+ /**
27958
+ * Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
27959
+ * @summary Get available
27960
+ * @param {string} gameServerId
27961
+ * @param {*} [options] Override http request option.
27962
+ * @throws {RequiredError}
27963
+ */
27964
+ shopActionControllerGetAvailable: async (
27965
+ gameServerId: string,
27966
+ options: RawAxiosRequestConfig = {},
27967
+ ): Promise<RequestArgs> => {
27968
+ // verify required parameter 'gameServerId' is not null or undefined
27969
+ assertParamExists('shopActionControllerGetAvailable', 'gameServerId', gameServerId);
27970
+ const localVarPath = `/shopaction/gameserver/{gameServerId}/available`.replace(
27971
+ `{${'gameServerId'}}`,
27972
+ encodeURIComponent(String(gameServerId)),
27973
+ );
27974
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
27975
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
27976
+ let baseOptions;
27977
+ if (configuration) {
27978
+ baseOptions = configuration.baseOptions;
27979
+ }
27980
+
27981
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
27982
+ const localVarHeaderParameter = {} as any;
27983
+ const localVarQueryParameter = {} as any;
27984
+
27985
+ // authentication domainAuth required
27986
+
27987
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
27988
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
27989
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
27990
+
27991
+ return {
27992
+ url: toPathString(localVarUrlObj),
27993
+ options: localVarRequestOptions,
27994
+ };
27995
+ },
27996
+ /**
27997
+ * Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
27998
+ * @summary Get executions
27999
+ * @param {string} id
28000
+ * @param {any} [success]
28001
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
28002
+ * @param {*} [options] Override http request option.
28003
+ * @throws {RequiredError}
28004
+ */
28005
+ shopActionControllerGetExecutions: async (
28006
+ id: string,
28007
+ success?: any,
28008
+ eventSearchInputDTO?: EventSearchInputDTO,
28009
+ options: RawAxiosRequestConfig = {},
28010
+ ): Promise<RequestArgs> => {
28011
+ // verify required parameter 'id' is not null or undefined
28012
+ assertParamExists('shopActionControllerGetExecutions', 'id', id);
28013
+ const localVarPath = `/shopaction/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
28014
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28015
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28016
+ let baseOptions;
28017
+ if (configuration) {
28018
+ baseOptions = configuration.baseOptions;
28019
+ }
28020
+
28021
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
28022
+ const localVarHeaderParameter = {} as any;
28023
+ const localVarQueryParameter = {} as any;
28024
+
28025
+ // authentication domainAuth required
28026
+
28027
+ if (success !== undefined) {
28028
+ for (const [key, value] of Object.entries(success)) {
28029
+ localVarQueryParameter[key] = value;
28030
+ }
28031
+ }
28032
+
28033
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28034
+
28035
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28036
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28037
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
28038
+ localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
28039
+
28040
+ return {
28041
+ url: toPathString(localVarUrlObj),
28042
+ options: localVarRequestOptions,
28043
+ };
28044
+ },
28045
+ /**
28046
+ * Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
28047
+ * @summary Get one
28048
+ * @param {string} id
28049
+ * @param {*} [options] Override http request option.
28050
+ * @throws {RequiredError}
28051
+ */
28052
+ shopActionControllerGetOne: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28053
+ // verify required parameter 'id' is not null or undefined
28054
+ assertParamExists('shopActionControllerGetOne', 'id', id);
28055
+ const localVarPath = `/shopaction/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
28056
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28057
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28058
+ let baseOptions;
28059
+ if (configuration) {
28060
+ baseOptions = configuration.baseOptions;
28061
+ }
28062
+
28063
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
28064
+ const localVarHeaderParameter = {} as any;
28065
+ const localVarQueryParameter = {} as any;
28066
+
28067
+ // authentication domainAuth required
28068
+
28069
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28070
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28071
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
28072
+
28073
+ return {
28074
+ url: toPathString(localVarUrlObj),
28075
+ options: localVarRequestOptions,
28076
+ };
28077
+ },
28078
+ /**
28079
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
28080
+ * @summary Remove
28081
+ * @param {string} id
28082
+ * @param {*} [options] Override http request option.
28083
+ * @throws {RequiredError}
28084
+ */
28085
+ shopActionControllerRemove: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28086
+ // verify required parameter 'id' is not null or undefined
28087
+ assertParamExists('shopActionControllerRemove', 'id', id);
28088
+ const localVarPath = `/shopaction/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
28089
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28090
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28091
+ let baseOptions;
28092
+ if (configuration) {
28093
+ baseOptions = configuration.baseOptions;
28094
+ }
28095
+
28096
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
28097
+ const localVarHeaderParameter = {} as any;
28098
+ const localVarQueryParameter = {} as any;
28099
+
28100
+ // authentication domainAuth required
28101
+
28102
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28103
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28104
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
28105
+
28106
+ return {
28107
+ url: toPathString(localVarUrlObj),
28108
+ options: localVarRequestOptions,
28109
+ };
28110
+ },
28111
+ /**
28112
+ * Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
28113
+ * @summary Search
28114
+ * @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
28115
+ * @param {*} [options] Override http request option.
28116
+ * @throws {RequiredError}
28117
+ */
28118
+ shopActionControllerSearch: async (
28119
+ shopActionSearchInputDTO?: ShopActionSearchInputDTO,
28120
+ options: RawAxiosRequestConfig = {},
28121
+ ): Promise<RequestArgs> => {
28122
+ const localVarPath = `/shopaction/search`;
28123
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28124
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28125
+ let baseOptions;
28126
+ if (configuration) {
28127
+ baseOptions = configuration.baseOptions;
28128
+ }
28129
+
28130
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
28131
+ const localVarHeaderParameter = {} as any;
28132
+ const localVarQueryParameter = {} as any;
28133
+
28134
+ // authentication domainAuth required
28135
+
28136
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28137
+
28138
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28139
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28140
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
28141
+ localVarRequestOptions.data = serializeDataIfNeeded(
28142
+ shopActionSearchInputDTO,
28143
+ localVarRequestOptions,
28144
+ configuration,
28145
+ );
28146
+
28147
+ return {
28148
+ url: toPathString(localVarUrlObj),
28149
+ options: localVarRequestOptions,
28150
+ };
28151
+ },
28152
+ /**
28153
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
28154
+ * @summary Update
28155
+ * @param {string} id
28156
+ * @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
28157
+ * @param {*} [options] Override http request option.
28158
+ * @throws {RequiredError}
28159
+ */
28160
+ shopActionControllerUpdate: async (
28161
+ id: string,
28162
+ shopActionUpdateDTO?: ShopActionUpdateDTO,
28163
+ options: RawAxiosRequestConfig = {},
28164
+ ): Promise<RequestArgs> => {
28165
+ // verify required parameter 'id' is not null or undefined
28166
+ assertParamExists('shopActionControllerUpdate', 'id', id);
28167
+ const localVarPath = `/shopaction/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
28168
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
28169
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
28170
+ let baseOptions;
28171
+ if (configuration) {
28172
+ baseOptions = configuration.baseOptions;
28173
+ }
28174
+
28175
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
28176
+ const localVarHeaderParameter = {} as any;
28177
+ const localVarQueryParameter = {} as any;
28178
+
28179
+ // authentication domainAuth required
28180
+
28181
+ localVarHeaderParameter['Content-Type'] = 'application/json';
28182
+
28183
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
28184
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
28185
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
28186
+ localVarRequestOptions.data = serializeDataIfNeeded(shopActionUpdateDTO, localVarRequestOptions, configuration);
28187
+
28188
+ return {
28189
+ url: toPathString(localVarUrlObj),
28190
+ options: localVarRequestOptions,
28191
+ };
28192
+ },
28193
+ };
28194
+ };
28195
+
28196
+ /**
28197
+ * ShopActionApi - functional programming interface
28198
+ * @export
28199
+ */
28200
+ export const ShopActionApiFp = function (configuration?: Configuration) {
28201
+ const localVarAxiosParamCreator = ShopActionApiAxiosParamCreator(configuration);
28202
+ return {
28203
+ /**
28204
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
28205
+ * @summary Create
28206
+ * @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
28207
+ * @param {*} [options] Override http request option.
28208
+ * @throws {RequiredError}
28209
+ */
28210
+ async shopActionControllerCreate(
28211
+ shopActionCreateDTO?: ShopActionCreateDTO,
28212
+ options?: RawAxiosRequestConfig,
28213
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopActionOutputDTOAPI>> {
28214
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerCreate(
28215
+ shopActionCreateDTO,
28216
+ options,
28217
+ );
28218
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28219
+ const localVarOperationServerBasePath =
28220
+ operationServerMap['ShopActionApi.shopActionControllerCreate']?.[localVarOperationServerIndex]?.url;
28221
+ return (axios, basePath) =>
28222
+ createRequestFunction(
28223
+ localVarAxiosArgs,
28224
+ globalAxios,
28225
+ BASE_PATH,
28226
+ configuration,
28227
+ )(axios, localVarOperationServerBasePath || basePath);
28228
+ },
28229
+ /**
28230
+ * Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
28231
+ * @summary Get available
28232
+ * @param {string} gameServerId
28233
+ * @param {*} [options] Override http request option.
28234
+ * @throws {RequiredError}
28235
+ */
28236
+ async shopActionControllerGetAvailable(
28237
+ gameServerId: string,
28238
+ options?: RawAxiosRequestConfig,
28239
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopActionOutputArrayDTOAPI>> {
28240
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerGetAvailable(gameServerId, options);
28241
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28242
+ const localVarOperationServerBasePath =
28243
+ operationServerMap['ShopActionApi.shopActionControllerGetAvailable']?.[localVarOperationServerIndex]?.url;
28244
+ return (axios, basePath) =>
28245
+ createRequestFunction(
28246
+ localVarAxiosArgs,
28247
+ globalAxios,
28248
+ BASE_PATH,
28249
+ configuration,
28250
+ )(axios, localVarOperationServerBasePath || basePath);
28251
+ },
28252
+ /**
28253
+ * Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
28254
+ * @summary Get executions
28255
+ * @param {string} id
28256
+ * @param {any} [success]
28257
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
28258
+ * @param {*} [options] Override http request option.
28259
+ * @throws {RequiredError}
28260
+ */
28261
+ async shopActionControllerGetExecutions(
28262
+ id: string,
28263
+ success?: any,
28264
+ eventSearchInputDTO?: EventSearchInputDTO,
28265
+ options?: RawAxiosRequestConfig,
28266
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventOutputArrayDTOAPI>> {
28267
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerGetExecutions(
28268
+ id,
28269
+ success,
28270
+ eventSearchInputDTO,
28271
+ options,
28272
+ );
28273
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28274
+ const localVarOperationServerBasePath =
28275
+ operationServerMap['ShopActionApi.shopActionControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
28276
+ return (axios, basePath) =>
28277
+ createRequestFunction(
28278
+ localVarAxiosArgs,
28279
+ globalAxios,
28280
+ BASE_PATH,
28281
+ configuration,
28282
+ )(axios, localVarOperationServerBasePath || basePath);
28283
+ },
28284
+ /**
28285
+ * Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
28286
+ * @summary Get one
28287
+ * @param {string} id
28288
+ * @param {*} [options] Override http request option.
28289
+ * @throws {RequiredError}
28290
+ */
28291
+ async shopActionControllerGetOne(
28292
+ id: string,
28293
+ options?: RawAxiosRequestConfig,
28294
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopActionOutputDTOAPI>> {
28295
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerGetOne(id, options);
28296
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28297
+ const localVarOperationServerBasePath =
28298
+ operationServerMap['ShopActionApi.shopActionControllerGetOne']?.[localVarOperationServerIndex]?.url;
28299
+ return (axios, basePath) =>
28300
+ createRequestFunction(
28301
+ localVarAxiosArgs,
28302
+ globalAxios,
28303
+ BASE_PATH,
28304
+ configuration,
28305
+ )(axios, localVarOperationServerBasePath || basePath);
28306
+ },
28307
+ /**
28308
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
28309
+ * @summary Remove
28310
+ * @param {string} id
28311
+ * @param {*} [options] Override http request option.
28312
+ * @throws {RequiredError}
28313
+ */
28314
+ async shopActionControllerRemove(
28315
+ id: string,
28316
+ options?: RawAxiosRequestConfig,
28317
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
28318
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerRemove(id, options);
28319
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28320
+ const localVarOperationServerBasePath =
28321
+ operationServerMap['ShopActionApi.shopActionControllerRemove']?.[localVarOperationServerIndex]?.url;
28322
+ return (axios, basePath) =>
28323
+ createRequestFunction(
28324
+ localVarAxiosArgs,
28325
+ globalAxios,
28326
+ BASE_PATH,
28327
+ configuration,
28328
+ )(axios, localVarOperationServerBasePath || basePath);
28329
+ },
28330
+ /**
28331
+ * Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
28332
+ * @summary Search
28333
+ * @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
28334
+ * @param {*} [options] Override http request option.
28335
+ * @throws {RequiredError}
28336
+ */
28337
+ async shopActionControllerSearch(
28338
+ shopActionSearchInputDTO?: ShopActionSearchInputDTO,
28339
+ options?: RawAxiosRequestConfig,
28340
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopActionOutputArrayDTOAPI>> {
28341
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerSearch(
28342
+ shopActionSearchInputDTO,
28343
+ options,
28344
+ );
28345
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28346
+ const localVarOperationServerBasePath =
28347
+ operationServerMap['ShopActionApi.shopActionControllerSearch']?.[localVarOperationServerIndex]?.url;
28348
+ return (axios, basePath) =>
28349
+ createRequestFunction(
28350
+ localVarAxiosArgs,
28351
+ globalAxios,
28352
+ BASE_PATH,
28353
+ configuration,
28354
+ )(axios, localVarOperationServerBasePath || basePath);
28355
+ },
28356
+ /**
28357
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
28358
+ * @summary Update
28359
+ * @param {string} id
28360
+ * @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
28361
+ * @param {*} [options] Override http request option.
28362
+ * @throws {RequiredError}
28363
+ */
28364
+ async shopActionControllerUpdate(
28365
+ id: string,
28366
+ shopActionUpdateDTO?: ShopActionUpdateDTO,
28367
+ options?: RawAxiosRequestConfig,
28368
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopActionOutputDTOAPI>> {
28369
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerUpdate(
28370
+ id,
28371
+ shopActionUpdateDTO,
28372
+ options,
28373
+ );
28374
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
28375
+ const localVarOperationServerBasePath =
28376
+ operationServerMap['ShopActionApi.shopActionControllerUpdate']?.[localVarOperationServerIndex]?.url;
28377
+ return (axios, basePath) =>
28378
+ createRequestFunction(
28379
+ localVarAxiosArgs,
28380
+ globalAxios,
28381
+ BASE_PATH,
28382
+ configuration,
28383
+ )(axios, localVarOperationServerBasePath || basePath);
28384
+ },
28385
+ };
28386
+ };
28387
+
28388
+ /**
28389
+ * ShopActionApi - factory interface
28390
+ * @export
28391
+ */
28392
+ export const ShopActionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
28393
+ const localVarFp = ShopActionApiFp(configuration);
28394
+ return {
28395
+ /**
28396
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
28397
+ * @summary Create
28398
+ * @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
28399
+ * @param {*} [options] Override http request option.
28400
+ * @throws {RequiredError}
28401
+ */
28402
+ shopActionControllerCreate(
28403
+ shopActionCreateDTO?: ShopActionCreateDTO,
28404
+ options?: RawAxiosRequestConfig,
28405
+ ): AxiosPromise<ShopActionOutputDTOAPI> {
28406
+ return localVarFp
28407
+ .shopActionControllerCreate(shopActionCreateDTO, options)
28408
+ .then((request) => request(axios, basePath));
28409
+ },
28410
+ /**
28411
+ * Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
28412
+ * @summary Get available
28413
+ * @param {string} gameServerId
28414
+ * @param {*} [options] Override http request option.
28415
+ * @throws {RequiredError}
28416
+ */
28417
+ shopActionControllerGetAvailable(
28418
+ gameServerId: string,
28419
+ options?: RawAxiosRequestConfig,
28420
+ ): AxiosPromise<ShopActionOutputArrayDTOAPI> {
28421
+ return localVarFp
28422
+ .shopActionControllerGetAvailable(gameServerId, options)
28423
+ .then((request) => request(axios, basePath));
28424
+ },
28425
+ /**
28426
+ * Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
28427
+ * @summary Get executions
28428
+ * @param {string} id
28429
+ * @param {any} [success]
28430
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
28431
+ * @param {*} [options] Override http request option.
28432
+ * @throws {RequiredError}
28433
+ */
28434
+ shopActionControllerGetExecutions(
28435
+ id: string,
28436
+ success?: any,
28437
+ eventSearchInputDTO?: EventSearchInputDTO,
28438
+ options?: RawAxiosRequestConfig,
28439
+ ): AxiosPromise<EventOutputArrayDTOAPI> {
28440
+ return localVarFp
28441
+ .shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options)
28442
+ .then((request) => request(axios, basePath));
28443
+ },
28444
+ /**
28445
+ * Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
28446
+ * @summary Get one
28447
+ * @param {string} id
28448
+ * @param {*} [options] Override http request option.
28449
+ * @throws {RequiredError}
28450
+ */
28451
+ shopActionControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopActionOutputDTOAPI> {
28452
+ return localVarFp.shopActionControllerGetOne(id, options).then((request) => request(axios, basePath));
28453
+ },
28454
+ /**
28455
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
28456
+ * @summary Remove
28457
+ * @param {string} id
28458
+ * @param {*} [options] Override http request option.
28459
+ * @throws {RequiredError}
28460
+ */
28461
+ shopActionControllerRemove(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
28462
+ return localVarFp.shopActionControllerRemove(id, options).then((request) => request(axios, basePath));
28463
+ },
28464
+ /**
28465
+ * Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
28466
+ * @summary Search
28467
+ * @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
28468
+ * @param {*} [options] Override http request option.
28469
+ * @throws {RequiredError}
28470
+ */
28471
+ shopActionControllerSearch(
28472
+ shopActionSearchInputDTO?: ShopActionSearchInputDTO,
28473
+ options?: RawAxiosRequestConfig,
28474
+ ): AxiosPromise<ShopActionOutputArrayDTOAPI> {
28475
+ return localVarFp
28476
+ .shopActionControllerSearch(shopActionSearchInputDTO, options)
28477
+ .then((request) => request(axios, basePath));
28478
+ },
28479
+ /**
28480
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
28481
+ * @summary Update
28482
+ * @param {string} id
28483
+ * @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
28484
+ * @param {*} [options] Override http request option.
28485
+ * @throws {RequiredError}
28486
+ */
28487
+ shopActionControllerUpdate(
28488
+ id: string,
28489
+ shopActionUpdateDTO?: ShopActionUpdateDTO,
28490
+ options?: RawAxiosRequestConfig,
28491
+ ): AxiosPromise<ShopActionOutputDTOAPI> {
28492
+ return localVarFp
28493
+ .shopActionControllerUpdate(id, shopActionUpdateDTO, options)
28494
+ .then((request) => request(axios, basePath));
28495
+ },
28496
+ };
28497
+ };
28498
+
28499
+ /**
28500
+ * ShopActionApi - object-oriented interface
28501
+ * @export
28502
+ * @class ShopActionApi
28503
+ * @extends {BaseAPI}
28504
+ */
28505
+ export class ShopActionApi extends BaseAPI {
28506
+ /**
28507
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
28508
+ * @summary Create
28509
+ * @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
28510
+ * @param {*} [options] Override http request option.
28511
+ * @throws {RequiredError}
28512
+ * @memberof ShopActionApi
28513
+ */
28514
+ public shopActionControllerCreate(shopActionCreateDTO?: ShopActionCreateDTO, options?: RawAxiosRequestConfig) {
28515
+ return ShopActionApiFp(this.configuration)
28516
+ .shopActionControllerCreate(shopActionCreateDTO, options)
28517
+ .then((request) => request(this.axios, this.basePath));
28518
+ }
28519
+
28520
+ /**
28521
+ * Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
28522
+ * @summary Get available
28523
+ * @param {string} gameServerId
28524
+ * @param {*} [options] Override http request option.
28525
+ * @throws {RequiredError}
28526
+ * @memberof ShopActionApi
28527
+ */
28528
+ public shopActionControllerGetAvailable(gameServerId: string, options?: RawAxiosRequestConfig) {
28529
+ return ShopActionApiFp(this.configuration)
28530
+ .shopActionControllerGetAvailable(gameServerId, options)
28531
+ .then((request) => request(this.axios, this.basePath));
28532
+ }
28533
+
28534
+ /**
28535
+ * Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
28536
+ * @summary Get executions
28537
+ * @param {string} id
28538
+ * @param {any} [success]
28539
+ * @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
28540
+ * @param {*} [options] Override http request option.
28541
+ * @throws {RequiredError}
28542
+ * @memberof ShopActionApi
28543
+ */
28544
+ public shopActionControllerGetExecutions(
28545
+ id: string,
28546
+ success?: any,
28547
+ eventSearchInputDTO?: EventSearchInputDTO,
28548
+ options?: RawAxiosRequestConfig,
28549
+ ) {
28550
+ return ShopActionApiFp(this.configuration)
28551
+ .shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options)
28552
+ .then((request) => request(this.axios, this.basePath));
28553
+ }
28554
+
28555
+ /**
28556
+ * Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
28557
+ * @summary Get one
28558
+ * @param {string} id
28559
+ * @param {*} [options] Override http request option.
28560
+ * @throws {RequiredError}
28561
+ * @memberof ShopActionApi
28562
+ */
28563
+ public shopActionControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
28564
+ return ShopActionApiFp(this.configuration)
28565
+ .shopActionControllerGetOne(id, options)
28566
+ .then((request) => request(this.axios, this.basePath));
28567
+ }
28568
+
28569
+ /**
28570
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
28571
+ * @summary Remove
28572
+ * @param {string} id
28573
+ * @param {*} [options] Override http request option.
28574
+ * @throws {RequiredError}
28575
+ * @memberof ShopActionApi
28576
+ */
28577
+ public shopActionControllerRemove(id: string, options?: RawAxiosRequestConfig) {
28578
+ return ShopActionApiFp(this.configuration)
28579
+ .shopActionControllerRemove(id, options)
28580
+ .then((request) => request(this.axios, this.basePath));
28581
+ }
28582
+
28583
+ /**
28584
+ * Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
28585
+ * @summary Search
28586
+ * @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
28587
+ * @param {*} [options] Override http request option.
28588
+ * @throws {RequiredError}
28589
+ * @memberof ShopActionApi
28590
+ */
28591
+ public shopActionControllerSearch(
28592
+ shopActionSearchInputDTO?: ShopActionSearchInputDTO,
28593
+ options?: RawAxiosRequestConfig,
28594
+ ) {
28595
+ return ShopActionApiFp(this.configuration)
28596
+ .shopActionControllerSearch(shopActionSearchInputDTO, options)
28597
+ .then((request) => request(this.axios, this.basePath));
28598
+ }
28599
+
28600
+ /**
28601
+ * Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
28602
+ * @summary Update
28603
+ * @param {string} id
28604
+ * @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
28605
+ * @param {*} [options] Override http request option.
28606
+ * @throws {RequiredError}
28607
+ * @memberof ShopActionApi
28608
+ */
28609
+ public shopActionControllerUpdate(
28610
+ id: string,
28611
+ shopActionUpdateDTO?: ShopActionUpdateDTO,
28612
+ options?: RawAxiosRequestConfig,
28613
+ ) {
28614
+ return ShopActionApiFp(this.configuration)
28615
+ .shopActionControllerUpdate(id, shopActionUpdateDTO, options)
28616
+ .then((request) => request(this.axios, this.basePath));
28617
+ }
28618
+ }
28619
+
27516
28620
  /**
27517
28621
  * ShopCategoryApi - axios parameter creator
27518
28622
  * @export
@@ -30441,6 +31545,7 @@ export const StatsControllerGetEventsCountEventNameEnum = {
30441
31545
  PlayerBanned: 'player-banned',
30442
31546
  PlayerUnbanned: 'player-unbanned',
30443
31547
  PlayerDeleted: 'player-deleted',
31548
+ ShopActionExecuted: 'shop-action-executed',
30444
31549
  PlayerConnected: 'player-connected',
30445
31550
  PlayerDisconnected: 'player-disconnected',
30446
31551
  ChatMessage: 'chat-message',