@takaro/apiclient 0.0.0-dev.8e5452a → 0.0.0-dev.90511a7
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 +672 -3
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +536 -1
- package/dist/generated/api.js.map +1 -1
- package/dist/generated/base.d.ts +1 -1
- package/dist/generated/base.js +1 -1
- package/dist/generated/common.d.ts +1 -1
- package/dist/generated/common.js +1 -1
- package/dist/generated/configuration.d.ts +1 -1
- package/dist/generated/configuration.js +1 -1
- package/dist/generated/index.d.ts +1 -1
- package/dist/generated/index.js +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/package.json +1 -1
- package/src/generated/api.ts +1115 -4
- package/src/generated/base.ts +1 -1
- package/src/generated/common.ts +1 -1
- package/src/generated/configuration.ts +1 -1
- package/src/generated/index.ts +1 -1
- package/src/lib/client.ts +11 -0
package/src/generated/api.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/* tslint:disable */
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
|
-
* Takaro
|
|
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
|
|
@@ -8713,6 +8774,12 @@ export interface PlayerInventoryHistoryInputDTO {
|
|
|
8713
8774
|
* @memberof PlayerInventoryHistoryInputDTO
|
|
8714
8775
|
*/
|
|
8715
8776
|
playerId: string;
|
|
8777
|
+
/**
|
|
8778
|
+
*
|
|
8779
|
+
* @type {string}
|
|
8780
|
+
* @memberof PlayerInventoryHistoryInputDTO
|
|
8781
|
+
*/
|
|
8782
|
+
gameServerId: string;
|
|
8716
8783
|
/**
|
|
8717
8784
|
*
|
|
8718
8785
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -9161,6 +9228,12 @@ export interface PlayerOnGameServerSetCurrencyInputDTO {
|
|
|
9161
9228
|
* @memberof PlayerOnGameServerSetCurrencyInputDTO
|
|
9162
9229
|
*/
|
|
9163
9230
|
currency: number;
|
|
9231
|
+
/**
|
|
9232
|
+
*
|
|
9233
|
+
* @type {string}
|
|
9234
|
+
* @memberof PlayerOnGameServerSetCurrencyInputDTO
|
|
9235
|
+
*/
|
|
9236
|
+
reason?: string;
|
|
9164
9237
|
}
|
|
9165
9238
|
/**
|
|
9166
9239
|
*
|
|
@@ -11197,6 +11270,263 @@ export interface SettingsSetDTO {
|
|
|
11197
11270
|
*/
|
|
11198
11271
|
value: any;
|
|
11199
11272
|
}
|
|
11273
|
+
/**
|
|
11274
|
+
*
|
|
11275
|
+
* @export
|
|
11276
|
+
* @interface ShopActionCreateDTO
|
|
11277
|
+
*/
|
|
11278
|
+
export interface ShopActionCreateDTO {
|
|
11279
|
+
/**
|
|
11280
|
+
*
|
|
11281
|
+
* @type {string}
|
|
11282
|
+
* @memberof ShopActionCreateDTO
|
|
11283
|
+
*/
|
|
11284
|
+
name: string;
|
|
11285
|
+
/**
|
|
11286
|
+
*
|
|
11287
|
+
* @type {string}
|
|
11288
|
+
* @memberof ShopActionCreateDTO
|
|
11289
|
+
*/
|
|
11290
|
+
description?: string;
|
|
11291
|
+
/**
|
|
11292
|
+
*
|
|
11293
|
+
* @type {string}
|
|
11294
|
+
* @memberof ShopActionCreateDTO
|
|
11295
|
+
*/
|
|
11296
|
+
versionId: string;
|
|
11297
|
+
/**
|
|
11298
|
+
*
|
|
11299
|
+
* @type {string}
|
|
11300
|
+
* @memberof ShopActionCreateDTO
|
|
11301
|
+
*/
|
|
11302
|
+
function?: string;
|
|
11303
|
+
}
|
|
11304
|
+
/**
|
|
11305
|
+
*
|
|
11306
|
+
* @export
|
|
11307
|
+
* @interface ShopActionOutputArrayDTOAPI
|
|
11308
|
+
*/
|
|
11309
|
+
export interface ShopActionOutputArrayDTOAPI {
|
|
11310
|
+
/**
|
|
11311
|
+
*
|
|
11312
|
+
* @type {Array<ShopActionOutputDTO>}
|
|
11313
|
+
* @memberof ShopActionOutputArrayDTOAPI
|
|
11314
|
+
*/
|
|
11315
|
+
data: Array<ShopActionOutputDTO>;
|
|
11316
|
+
/**
|
|
11317
|
+
*
|
|
11318
|
+
* @type {MetadataOutput}
|
|
11319
|
+
* @memberof ShopActionOutputArrayDTOAPI
|
|
11320
|
+
*/
|
|
11321
|
+
meta: MetadataOutput;
|
|
11322
|
+
}
|
|
11323
|
+
/**
|
|
11324
|
+
*
|
|
11325
|
+
* @export
|
|
11326
|
+
* @interface ShopActionOutputDTO
|
|
11327
|
+
*/
|
|
11328
|
+
export interface ShopActionOutputDTO {
|
|
11329
|
+
/**
|
|
11330
|
+
*
|
|
11331
|
+
* @type {string}
|
|
11332
|
+
* @memberof ShopActionOutputDTO
|
|
11333
|
+
*/
|
|
11334
|
+
name: string;
|
|
11335
|
+
/**
|
|
11336
|
+
*
|
|
11337
|
+
* @type {string}
|
|
11338
|
+
* @memberof ShopActionOutputDTO
|
|
11339
|
+
*/
|
|
11340
|
+
description?: string;
|
|
11341
|
+
/**
|
|
11342
|
+
*
|
|
11343
|
+
* @type {FunctionOutputDTO}
|
|
11344
|
+
* @memberof ShopActionOutputDTO
|
|
11345
|
+
*/
|
|
11346
|
+
function: FunctionOutputDTO;
|
|
11347
|
+
/**
|
|
11348
|
+
*
|
|
11349
|
+
* @type {string}
|
|
11350
|
+
* @memberof ShopActionOutputDTO
|
|
11351
|
+
*/
|
|
11352
|
+
versionId: string;
|
|
11353
|
+
/**
|
|
11354
|
+
*
|
|
11355
|
+
* @type {string}
|
|
11356
|
+
* @memberof ShopActionOutputDTO
|
|
11357
|
+
*/
|
|
11358
|
+
id: string;
|
|
11359
|
+
/**
|
|
11360
|
+
*
|
|
11361
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
11362
|
+
* @memberof ShopActionOutputDTO
|
|
11363
|
+
*/
|
|
11364
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
11365
|
+
/**
|
|
11366
|
+
*
|
|
11367
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
11368
|
+
* @memberof ShopActionOutputDTO
|
|
11369
|
+
*/
|
|
11370
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
11371
|
+
}
|
|
11372
|
+
/**
|
|
11373
|
+
*
|
|
11374
|
+
* @export
|
|
11375
|
+
* @interface ShopActionOutputDTOAPI
|
|
11376
|
+
*/
|
|
11377
|
+
export interface ShopActionOutputDTOAPI {
|
|
11378
|
+
/**
|
|
11379
|
+
*
|
|
11380
|
+
* @type {ShopActionOutputDTO}
|
|
11381
|
+
* @memberof ShopActionOutputDTOAPI
|
|
11382
|
+
*/
|
|
11383
|
+
data: ShopActionOutputDTO;
|
|
11384
|
+
/**
|
|
11385
|
+
*
|
|
11386
|
+
* @type {MetadataOutput}
|
|
11387
|
+
* @memberof ShopActionOutputDTOAPI
|
|
11388
|
+
*/
|
|
11389
|
+
meta: MetadataOutput;
|
|
11390
|
+
}
|
|
11391
|
+
/**
|
|
11392
|
+
*
|
|
11393
|
+
* @export
|
|
11394
|
+
* @interface ShopActionSearchInputAllowedFilters
|
|
11395
|
+
*/
|
|
11396
|
+
export interface ShopActionSearchInputAllowedFilters {
|
|
11397
|
+
/**
|
|
11398
|
+
*
|
|
11399
|
+
* @type {Array<string>}
|
|
11400
|
+
* @memberof ShopActionSearchInputAllowedFilters
|
|
11401
|
+
*/
|
|
11402
|
+
moduleId?: Array<string>;
|
|
11403
|
+
/**
|
|
11404
|
+
*
|
|
11405
|
+
* @type {Array<string>}
|
|
11406
|
+
* @memberof ShopActionSearchInputAllowedFilters
|
|
11407
|
+
*/
|
|
11408
|
+
versionId?: Array<string>;
|
|
11409
|
+
/**
|
|
11410
|
+
*
|
|
11411
|
+
* @type {Array<string>}
|
|
11412
|
+
* @memberof ShopActionSearchInputAllowedFilters
|
|
11413
|
+
*/
|
|
11414
|
+
name?: Array<string>;
|
|
11415
|
+
/**
|
|
11416
|
+
*
|
|
11417
|
+
* @type {Array<string>}
|
|
11418
|
+
* @memberof ShopActionSearchInputAllowedFilters
|
|
11419
|
+
*/
|
|
11420
|
+
id?: Array<string>;
|
|
11421
|
+
}
|
|
11422
|
+
/**
|
|
11423
|
+
*
|
|
11424
|
+
* @export
|
|
11425
|
+
* @interface ShopActionSearchInputAllowedSearch
|
|
11426
|
+
*/
|
|
11427
|
+
export interface ShopActionSearchInputAllowedSearch {
|
|
11428
|
+
/**
|
|
11429
|
+
*
|
|
11430
|
+
* @type {Array<string>}
|
|
11431
|
+
* @memberof ShopActionSearchInputAllowedSearch
|
|
11432
|
+
*/
|
|
11433
|
+
name?: Array<string>;
|
|
11434
|
+
}
|
|
11435
|
+
/**
|
|
11436
|
+
*
|
|
11437
|
+
* @export
|
|
11438
|
+
* @interface ShopActionSearchInputDTO
|
|
11439
|
+
*/
|
|
11440
|
+
export interface ShopActionSearchInputDTO {
|
|
11441
|
+
/**
|
|
11442
|
+
*
|
|
11443
|
+
* @type {ShopActionSearchInputAllowedFilters}
|
|
11444
|
+
* @memberof ShopActionSearchInputDTO
|
|
11445
|
+
*/
|
|
11446
|
+
filters?: ShopActionSearchInputAllowedFilters;
|
|
11447
|
+
/**
|
|
11448
|
+
*
|
|
11449
|
+
* @type {ShopActionSearchInputAllowedSearch}
|
|
11450
|
+
* @memberof ShopActionSearchInputDTO
|
|
11451
|
+
*/
|
|
11452
|
+
search?: ShopActionSearchInputAllowedSearch;
|
|
11453
|
+
/**
|
|
11454
|
+
*
|
|
11455
|
+
* @type {any}
|
|
11456
|
+
* @memberof ShopActionSearchInputDTO
|
|
11457
|
+
*/
|
|
11458
|
+
greaterThan?: any;
|
|
11459
|
+
/**
|
|
11460
|
+
*
|
|
11461
|
+
* @type {any}
|
|
11462
|
+
* @memberof ShopActionSearchInputDTO
|
|
11463
|
+
*/
|
|
11464
|
+
lessThan?: any;
|
|
11465
|
+
/**
|
|
11466
|
+
*
|
|
11467
|
+
* @type {number}
|
|
11468
|
+
* @memberof ShopActionSearchInputDTO
|
|
11469
|
+
*/
|
|
11470
|
+
page?: number;
|
|
11471
|
+
/**
|
|
11472
|
+
*
|
|
11473
|
+
* @type {number}
|
|
11474
|
+
* @memberof ShopActionSearchInputDTO
|
|
11475
|
+
*/
|
|
11476
|
+
limit?: number;
|
|
11477
|
+
/**
|
|
11478
|
+
*
|
|
11479
|
+
* @type {string}
|
|
11480
|
+
* @memberof ShopActionSearchInputDTO
|
|
11481
|
+
*/
|
|
11482
|
+
sortBy?: string;
|
|
11483
|
+
/**
|
|
11484
|
+
*
|
|
11485
|
+
* @type {string}
|
|
11486
|
+
* @memberof ShopActionSearchInputDTO
|
|
11487
|
+
*/
|
|
11488
|
+
sortDirection?: ShopActionSearchInputDTOSortDirectionEnum;
|
|
11489
|
+
/**
|
|
11490
|
+
*
|
|
11491
|
+
* @type {Array<string>}
|
|
11492
|
+
* @memberof ShopActionSearchInputDTO
|
|
11493
|
+
*/
|
|
11494
|
+
extend?: Array<string>;
|
|
11495
|
+
}
|
|
11496
|
+
|
|
11497
|
+
export const ShopActionSearchInputDTOSortDirectionEnum = {
|
|
11498
|
+
Asc: 'asc',
|
|
11499
|
+
Desc: 'desc',
|
|
11500
|
+
} as const;
|
|
11501
|
+
|
|
11502
|
+
export type ShopActionSearchInputDTOSortDirectionEnum =
|
|
11503
|
+
(typeof ShopActionSearchInputDTOSortDirectionEnum)[keyof typeof ShopActionSearchInputDTOSortDirectionEnum];
|
|
11504
|
+
|
|
11505
|
+
/**
|
|
11506
|
+
*
|
|
11507
|
+
* @export
|
|
11508
|
+
* @interface ShopActionUpdateDTO
|
|
11509
|
+
*/
|
|
11510
|
+
export interface ShopActionUpdateDTO {
|
|
11511
|
+
/**
|
|
11512
|
+
*
|
|
11513
|
+
* @type {string}
|
|
11514
|
+
* @memberof ShopActionUpdateDTO
|
|
11515
|
+
*/
|
|
11516
|
+
name?: string;
|
|
11517
|
+
/**
|
|
11518
|
+
*
|
|
11519
|
+
* @type {string}
|
|
11520
|
+
* @memberof ShopActionUpdateDTO
|
|
11521
|
+
*/
|
|
11522
|
+
description?: string;
|
|
11523
|
+
/**
|
|
11524
|
+
*
|
|
11525
|
+
* @type {string}
|
|
11526
|
+
* @memberof ShopActionUpdateDTO
|
|
11527
|
+
*/
|
|
11528
|
+
function?: string;
|
|
11529
|
+
}
|
|
11200
11530
|
/**
|
|
11201
11531
|
*
|
|
11202
11532
|
* @export
|
|
@@ -11675,7 +12005,7 @@ export interface ShopListingCreateDTO {
|
|
|
11675
12005
|
* @type {Array<ShopListingItemMetaInputDTO>}
|
|
11676
12006
|
* @memberof ShopListingCreateDTO
|
|
11677
12007
|
*/
|
|
11678
|
-
items
|
|
12008
|
+
items?: Array<ShopListingItemMetaInputDTO>;
|
|
11679
12009
|
/**
|
|
11680
12010
|
*
|
|
11681
12011
|
* @type {number}
|
|
@@ -11694,6 +12024,12 @@ export interface ShopListingCreateDTO {
|
|
|
11694
12024
|
* @memberof ShopListingCreateDTO
|
|
11695
12025
|
*/
|
|
11696
12026
|
draft?: boolean;
|
|
12027
|
+
/**
|
|
12028
|
+
*
|
|
12029
|
+
* @type {string}
|
|
12030
|
+
* @memberof ShopListingCreateDTO
|
|
12031
|
+
*/
|
|
12032
|
+
shopActionId?: string;
|
|
11697
12033
|
/**
|
|
11698
12034
|
*
|
|
11699
12035
|
* @type {Array<string>}
|
|
@@ -11844,10 +12180,16 @@ export interface ShopListingOutputDTO {
|
|
|
11844
12180
|
draft: boolean;
|
|
11845
12181
|
/**
|
|
11846
12182
|
*
|
|
11847
|
-
* @type {
|
|
12183
|
+
* @type {string}
|
|
11848
12184
|
* @memberof ShopListingOutputDTO
|
|
11849
12185
|
*/
|
|
11850
|
-
|
|
12186
|
+
shopActionId?: string;
|
|
12187
|
+
/**
|
|
12188
|
+
*
|
|
12189
|
+
* @type {Array<ShopCategoryOutputDTO>}
|
|
12190
|
+
* @memberof ShopListingOutputDTO
|
|
12191
|
+
*/
|
|
12192
|
+
categories?: Array<ShopCategoryOutputDTO>;
|
|
11851
12193
|
/**
|
|
11852
12194
|
*
|
|
11853
12195
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -12056,6 +12398,12 @@ export interface ShopListingUpdateDTO {
|
|
|
12056
12398
|
* @memberof ShopListingUpdateDTO
|
|
12057
12399
|
*/
|
|
12058
12400
|
draft?: boolean;
|
|
12401
|
+
/**
|
|
12402
|
+
*
|
|
12403
|
+
* @type {string}
|
|
12404
|
+
* @memberof ShopListingUpdateDTO
|
|
12405
|
+
*/
|
|
12406
|
+
shopActionId?: string;
|
|
12059
12407
|
/**
|
|
12060
12408
|
*
|
|
12061
12409
|
* @type {Array<string>}
|
|
@@ -12635,6 +12983,12 @@ export interface TakaroEventCurrencyAdded {
|
|
|
12635
12983
|
* @memberof TakaroEventCurrencyAdded
|
|
12636
12984
|
*/
|
|
12637
12985
|
amount: number;
|
|
12986
|
+
/**
|
|
12987
|
+
*
|
|
12988
|
+
* @type {string}
|
|
12989
|
+
* @memberof TakaroEventCurrencyAdded
|
|
12990
|
+
*/
|
|
12991
|
+
reason?: string;
|
|
12638
12992
|
/**
|
|
12639
12993
|
*
|
|
12640
12994
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -12654,6 +13008,12 @@ export interface TakaroEventCurrencyDeducted {
|
|
|
12654
13008
|
* @memberof TakaroEventCurrencyDeducted
|
|
12655
13009
|
*/
|
|
12656
13010
|
amount: number;
|
|
13011
|
+
/**
|
|
13012
|
+
*
|
|
13013
|
+
* @type {string}
|
|
13014
|
+
* @memberof TakaroEventCurrencyDeducted
|
|
13015
|
+
*/
|
|
13016
|
+
reason?: string;
|
|
12657
13017
|
/**
|
|
12658
13018
|
*
|
|
12659
13019
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -13265,6 +13625,50 @@ export interface TakaroEventSettingsSet {
|
|
|
13265
13625
|
*/
|
|
13266
13626
|
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
13267
13627
|
}
|
|
13628
|
+
/**
|
|
13629
|
+
*
|
|
13630
|
+
* @export
|
|
13631
|
+
* @interface TakaroEventShopActionDetails
|
|
13632
|
+
*/
|
|
13633
|
+
export interface TakaroEventShopActionDetails {
|
|
13634
|
+
/**
|
|
13635
|
+
*
|
|
13636
|
+
* @type {string}
|
|
13637
|
+
* @memberof TakaroEventShopActionDetails
|
|
13638
|
+
*/
|
|
13639
|
+
id: string;
|
|
13640
|
+
/**
|
|
13641
|
+
*
|
|
13642
|
+
* @type {string}
|
|
13643
|
+
* @memberof TakaroEventShopActionDetails
|
|
13644
|
+
*/
|
|
13645
|
+
name: string;
|
|
13646
|
+
}
|
|
13647
|
+
/**
|
|
13648
|
+
*
|
|
13649
|
+
* @export
|
|
13650
|
+
* @interface TakaroEventShopActionExecuted
|
|
13651
|
+
*/
|
|
13652
|
+
export interface TakaroEventShopActionExecuted {
|
|
13653
|
+
/**
|
|
13654
|
+
*
|
|
13655
|
+
* @type {TakaroEventFunctionResult}
|
|
13656
|
+
* @memberof TakaroEventShopActionExecuted
|
|
13657
|
+
*/
|
|
13658
|
+
result: TakaroEventFunctionResult;
|
|
13659
|
+
/**
|
|
13660
|
+
*
|
|
13661
|
+
* @type {TakaroEventShopActionDetails}
|
|
13662
|
+
* @memberof TakaroEventShopActionExecuted
|
|
13663
|
+
*/
|
|
13664
|
+
shopAction?: TakaroEventShopActionDetails;
|
|
13665
|
+
/**
|
|
13666
|
+
*
|
|
13667
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
13668
|
+
* @memberof TakaroEventShopActionExecuted
|
|
13669
|
+
*/
|
|
13670
|
+
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
13671
|
+
}
|
|
13268
13672
|
/**
|
|
13269
13673
|
*
|
|
13270
13674
|
* @export
|
|
@@ -27513,6 +27917,712 @@ export const SettingsControllerGetKeysEnum = {
|
|
|
27513
27917
|
export type SettingsControllerGetKeysEnum =
|
|
27514
27918
|
(typeof SettingsControllerGetKeysEnum)[keyof typeof SettingsControllerGetKeysEnum];
|
|
27515
27919
|
|
|
27920
|
+
/**
|
|
27921
|
+
* ShopActionApi - axios parameter creator
|
|
27922
|
+
* @export
|
|
27923
|
+
*/
|
|
27924
|
+
export const ShopActionApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
27925
|
+
return {
|
|
27926
|
+
/**
|
|
27927
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
|
|
27928
|
+
* @summary Create
|
|
27929
|
+
* @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
|
|
27930
|
+
* @param {*} [options] Override http request option.
|
|
27931
|
+
* @throws {RequiredError}
|
|
27932
|
+
*/
|
|
27933
|
+
shopActionControllerCreate: async (
|
|
27934
|
+
shopActionCreateDTO?: ShopActionCreateDTO,
|
|
27935
|
+
options: RawAxiosRequestConfig = {},
|
|
27936
|
+
): Promise<RequestArgs> => {
|
|
27937
|
+
const localVarPath = `/shopaction`;
|
|
27938
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27939
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27940
|
+
let baseOptions;
|
|
27941
|
+
if (configuration) {
|
|
27942
|
+
baseOptions = configuration.baseOptions;
|
|
27943
|
+
}
|
|
27944
|
+
|
|
27945
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
27946
|
+
const localVarHeaderParameter = {} as any;
|
|
27947
|
+
const localVarQueryParameter = {} as any;
|
|
27948
|
+
|
|
27949
|
+
// authentication domainAuth required
|
|
27950
|
+
|
|
27951
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
27952
|
+
|
|
27953
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27954
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27955
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
27956
|
+
localVarRequestOptions.data = serializeDataIfNeeded(shopActionCreateDTO, localVarRequestOptions, configuration);
|
|
27957
|
+
|
|
27958
|
+
return {
|
|
27959
|
+
url: toPathString(localVarUrlObj),
|
|
27960
|
+
options: localVarRequestOptions,
|
|
27961
|
+
};
|
|
27962
|
+
},
|
|
27963
|
+
/**
|
|
27964
|
+
* Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
|
|
27965
|
+
* @summary Get available
|
|
27966
|
+
* @param {string} gameServerId
|
|
27967
|
+
* @param {*} [options] Override http request option.
|
|
27968
|
+
* @throws {RequiredError}
|
|
27969
|
+
*/
|
|
27970
|
+
shopActionControllerGetAvailable: async (
|
|
27971
|
+
gameServerId: string,
|
|
27972
|
+
options: RawAxiosRequestConfig = {},
|
|
27973
|
+
): Promise<RequestArgs> => {
|
|
27974
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
27975
|
+
assertParamExists('shopActionControllerGetAvailable', 'gameServerId', gameServerId);
|
|
27976
|
+
const localVarPath = `/shopaction/gameserver/{gameServerId}/available`.replace(
|
|
27977
|
+
`{${'gameServerId'}}`,
|
|
27978
|
+
encodeURIComponent(String(gameServerId)),
|
|
27979
|
+
);
|
|
27980
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
27981
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
27982
|
+
let baseOptions;
|
|
27983
|
+
if (configuration) {
|
|
27984
|
+
baseOptions = configuration.baseOptions;
|
|
27985
|
+
}
|
|
27986
|
+
|
|
27987
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
27988
|
+
const localVarHeaderParameter = {} as any;
|
|
27989
|
+
const localVarQueryParameter = {} as any;
|
|
27990
|
+
|
|
27991
|
+
// authentication domainAuth required
|
|
27992
|
+
|
|
27993
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
27994
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
27995
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
27996
|
+
|
|
27997
|
+
return {
|
|
27998
|
+
url: toPathString(localVarUrlObj),
|
|
27999
|
+
options: localVarRequestOptions,
|
|
28000
|
+
};
|
|
28001
|
+
},
|
|
28002
|
+
/**
|
|
28003
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
|
|
28004
|
+
* @summary Get executions
|
|
28005
|
+
* @param {string} id
|
|
28006
|
+
* @param {any} [success]
|
|
28007
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
28008
|
+
* @param {*} [options] Override http request option.
|
|
28009
|
+
* @throws {RequiredError}
|
|
28010
|
+
*/
|
|
28011
|
+
shopActionControllerGetExecutions: async (
|
|
28012
|
+
id: string,
|
|
28013
|
+
success?: any,
|
|
28014
|
+
eventSearchInputDTO?: EventSearchInputDTO,
|
|
28015
|
+
options: RawAxiosRequestConfig = {},
|
|
28016
|
+
): Promise<RequestArgs> => {
|
|
28017
|
+
// verify required parameter 'id' is not null or undefined
|
|
28018
|
+
assertParamExists('shopActionControllerGetExecutions', 'id', id);
|
|
28019
|
+
const localVarPath = `/shopaction/{id}/executions`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
28020
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28021
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28022
|
+
let baseOptions;
|
|
28023
|
+
if (configuration) {
|
|
28024
|
+
baseOptions = configuration.baseOptions;
|
|
28025
|
+
}
|
|
28026
|
+
|
|
28027
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
28028
|
+
const localVarHeaderParameter = {} as any;
|
|
28029
|
+
const localVarQueryParameter = {} as any;
|
|
28030
|
+
|
|
28031
|
+
// authentication domainAuth required
|
|
28032
|
+
|
|
28033
|
+
if (success !== undefined) {
|
|
28034
|
+
for (const [key, value] of Object.entries(success)) {
|
|
28035
|
+
localVarQueryParameter[key] = value;
|
|
28036
|
+
}
|
|
28037
|
+
}
|
|
28038
|
+
|
|
28039
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28040
|
+
|
|
28041
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28042
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28043
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
28044
|
+
localVarRequestOptions.data = serializeDataIfNeeded(eventSearchInputDTO, localVarRequestOptions, configuration);
|
|
28045
|
+
|
|
28046
|
+
return {
|
|
28047
|
+
url: toPathString(localVarUrlObj),
|
|
28048
|
+
options: localVarRequestOptions,
|
|
28049
|
+
};
|
|
28050
|
+
},
|
|
28051
|
+
/**
|
|
28052
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
|
|
28053
|
+
* @summary Get one
|
|
28054
|
+
* @param {string} id
|
|
28055
|
+
* @param {*} [options] Override http request option.
|
|
28056
|
+
* @throws {RequiredError}
|
|
28057
|
+
*/
|
|
28058
|
+
shopActionControllerGetOne: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28059
|
+
// verify required parameter 'id' is not null or undefined
|
|
28060
|
+
assertParamExists('shopActionControllerGetOne', 'id', id);
|
|
28061
|
+
const localVarPath = `/shopaction/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
28062
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28063
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28064
|
+
let baseOptions;
|
|
28065
|
+
if (configuration) {
|
|
28066
|
+
baseOptions = configuration.baseOptions;
|
|
28067
|
+
}
|
|
28068
|
+
|
|
28069
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
28070
|
+
const localVarHeaderParameter = {} as any;
|
|
28071
|
+
const localVarQueryParameter = {} as any;
|
|
28072
|
+
|
|
28073
|
+
// authentication domainAuth required
|
|
28074
|
+
|
|
28075
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28076
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28077
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
28078
|
+
|
|
28079
|
+
return {
|
|
28080
|
+
url: toPathString(localVarUrlObj),
|
|
28081
|
+
options: localVarRequestOptions,
|
|
28082
|
+
};
|
|
28083
|
+
},
|
|
28084
|
+
/**
|
|
28085
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
|
|
28086
|
+
* @summary Remove
|
|
28087
|
+
* @param {string} id
|
|
28088
|
+
* @param {*} [options] Override http request option.
|
|
28089
|
+
* @throws {RequiredError}
|
|
28090
|
+
*/
|
|
28091
|
+
shopActionControllerRemove: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
28092
|
+
// verify required parameter 'id' is not null or undefined
|
|
28093
|
+
assertParamExists('shopActionControllerRemove', 'id', id);
|
|
28094
|
+
const localVarPath = `/shopaction/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
28095
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28096
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28097
|
+
let baseOptions;
|
|
28098
|
+
if (configuration) {
|
|
28099
|
+
baseOptions = configuration.baseOptions;
|
|
28100
|
+
}
|
|
28101
|
+
|
|
28102
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
28103
|
+
const localVarHeaderParameter = {} as any;
|
|
28104
|
+
const localVarQueryParameter = {} as any;
|
|
28105
|
+
|
|
28106
|
+
// authentication domainAuth required
|
|
28107
|
+
|
|
28108
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28109
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28110
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
28111
|
+
|
|
28112
|
+
return {
|
|
28113
|
+
url: toPathString(localVarUrlObj),
|
|
28114
|
+
options: localVarRequestOptions,
|
|
28115
|
+
};
|
|
28116
|
+
},
|
|
28117
|
+
/**
|
|
28118
|
+
* Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
|
|
28119
|
+
* @summary Search
|
|
28120
|
+
* @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
|
|
28121
|
+
* @param {*} [options] Override http request option.
|
|
28122
|
+
* @throws {RequiredError}
|
|
28123
|
+
*/
|
|
28124
|
+
shopActionControllerSearch: async (
|
|
28125
|
+
shopActionSearchInputDTO?: ShopActionSearchInputDTO,
|
|
28126
|
+
options: RawAxiosRequestConfig = {},
|
|
28127
|
+
): Promise<RequestArgs> => {
|
|
28128
|
+
const localVarPath = `/shopaction/search`;
|
|
28129
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28130
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28131
|
+
let baseOptions;
|
|
28132
|
+
if (configuration) {
|
|
28133
|
+
baseOptions = configuration.baseOptions;
|
|
28134
|
+
}
|
|
28135
|
+
|
|
28136
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
28137
|
+
const localVarHeaderParameter = {} as any;
|
|
28138
|
+
const localVarQueryParameter = {} as any;
|
|
28139
|
+
|
|
28140
|
+
// authentication domainAuth required
|
|
28141
|
+
|
|
28142
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28143
|
+
|
|
28144
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28145
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28146
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
28147
|
+
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
28148
|
+
shopActionSearchInputDTO,
|
|
28149
|
+
localVarRequestOptions,
|
|
28150
|
+
configuration,
|
|
28151
|
+
);
|
|
28152
|
+
|
|
28153
|
+
return {
|
|
28154
|
+
url: toPathString(localVarUrlObj),
|
|
28155
|
+
options: localVarRequestOptions,
|
|
28156
|
+
};
|
|
28157
|
+
},
|
|
28158
|
+
/**
|
|
28159
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
|
|
28160
|
+
* @summary Update
|
|
28161
|
+
* @param {string} id
|
|
28162
|
+
* @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
|
|
28163
|
+
* @param {*} [options] Override http request option.
|
|
28164
|
+
* @throws {RequiredError}
|
|
28165
|
+
*/
|
|
28166
|
+
shopActionControllerUpdate: async (
|
|
28167
|
+
id: string,
|
|
28168
|
+
shopActionUpdateDTO?: ShopActionUpdateDTO,
|
|
28169
|
+
options: RawAxiosRequestConfig = {},
|
|
28170
|
+
): Promise<RequestArgs> => {
|
|
28171
|
+
// verify required parameter 'id' is not null or undefined
|
|
28172
|
+
assertParamExists('shopActionControllerUpdate', 'id', id);
|
|
28173
|
+
const localVarPath = `/shopaction/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
28174
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
28175
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
28176
|
+
let baseOptions;
|
|
28177
|
+
if (configuration) {
|
|
28178
|
+
baseOptions = configuration.baseOptions;
|
|
28179
|
+
}
|
|
28180
|
+
|
|
28181
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
28182
|
+
const localVarHeaderParameter = {} as any;
|
|
28183
|
+
const localVarQueryParameter = {} as any;
|
|
28184
|
+
|
|
28185
|
+
// authentication domainAuth required
|
|
28186
|
+
|
|
28187
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
28188
|
+
|
|
28189
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
28190
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
28191
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
28192
|
+
localVarRequestOptions.data = serializeDataIfNeeded(shopActionUpdateDTO, localVarRequestOptions, configuration);
|
|
28193
|
+
|
|
28194
|
+
return {
|
|
28195
|
+
url: toPathString(localVarUrlObj),
|
|
28196
|
+
options: localVarRequestOptions,
|
|
28197
|
+
};
|
|
28198
|
+
},
|
|
28199
|
+
};
|
|
28200
|
+
};
|
|
28201
|
+
|
|
28202
|
+
/**
|
|
28203
|
+
* ShopActionApi - functional programming interface
|
|
28204
|
+
* @export
|
|
28205
|
+
*/
|
|
28206
|
+
export const ShopActionApiFp = function (configuration?: Configuration) {
|
|
28207
|
+
const localVarAxiosParamCreator = ShopActionApiAxiosParamCreator(configuration);
|
|
28208
|
+
return {
|
|
28209
|
+
/**
|
|
28210
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
|
|
28211
|
+
* @summary Create
|
|
28212
|
+
* @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
|
|
28213
|
+
* @param {*} [options] Override http request option.
|
|
28214
|
+
* @throws {RequiredError}
|
|
28215
|
+
*/
|
|
28216
|
+
async shopActionControllerCreate(
|
|
28217
|
+
shopActionCreateDTO?: ShopActionCreateDTO,
|
|
28218
|
+
options?: RawAxiosRequestConfig,
|
|
28219
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopActionOutputDTOAPI>> {
|
|
28220
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerCreate(
|
|
28221
|
+
shopActionCreateDTO,
|
|
28222
|
+
options,
|
|
28223
|
+
);
|
|
28224
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28225
|
+
const localVarOperationServerBasePath =
|
|
28226
|
+
operationServerMap['ShopActionApi.shopActionControllerCreate']?.[localVarOperationServerIndex]?.url;
|
|
28227
|
+
return (axios, basePath) =>
|
|
28228
|
+
createRequestFunction(
|
|
28229
|
+
localVarAxiosArgs,
|
|
28230
|
+
globalAxios,
|
|
28231
|
+
BASE_PATH,
|
|
28232
|
+
configuration,
|
|
28233
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
28234
|
+
},
|
|
28235
|
+
/**
|
|
28236
|
+
* Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
|
|
28237
|
+
* @summary Get available
|
|
28238
|
+
* @param {string} gameServerId
|
|
28239
|
+
* @param {*} [options] Override http request option.
|
|
28240
|
+
* @throws {RequiredError}
|
|
28241
|
+
*/
|
|
28242
|
+
async shopActionControllerGetAvailable(
|
|
28243
|
+
gameServerId: string,
|
|
28244
|
+
options?: RawAxiosRequestConfig,
|
|
28245
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopActionOutputArrayDTOAPI>> {
|
|
28246
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerGetAvailable(gameServerId, options);
|
|
28247
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28248
|
+
const localVarOperationServerBasePath =
|
|
28249
|
+
operationServerMap['ShopActionApi.shopActionControllerGetAvailable']?.[localVarOperationServerIndex]?.url;
|
|
28250
|
+
return (axios, basePath) =>
|
|
28251
|
+
createRequestFunction(
|
|
28252
|
+
localVarAxiosArgs,
|
|
28253
|
+
globalAxios,
|
|
28254
|
+
BASE_PATH,
|
|
28255
|
+
configuration,
|
|
28256
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
28257
|
+
},
|
|
28258
|
+
/**
|
|
28259
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
|
|
28260
|
+
* @summary Get executions
|
|
28261
|
+
* @param {string} id
|
|
28262
|
+
* @param {any} [success]
|
|
28263
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
28264
|
+
* @param {*} [options] Override http request option.
|
|
28265
|
+
* @throws {RequiredError}
|
|
28266
|
+
*/
|
|
28267
|
+
async shopActionControllerGetExecutions(
|
|
28268
|
+
id: string,
|
|
28269
|
+
success?: any,
|
|
28270
|
+
eventSearchInputDTO?: EventSearchInputDTO,
|
|
28271
|
+
options?: RawAxiosRequestConfig,
|
|
28272
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventOutputArrayDTOAPI>> {
|
|
28273
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerGetExecutions(
|
|
28274
|
+
id,
|
|
28275
|
+
success,
|
|
28276
|
+
eventSearchInputDTO,
|
|
28277
|
+
options,
|
|
28278
|
+
);
|
|
28279
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28280
|
+
const localVarOperationServerBasePath =
|
|
28281
|
+
operationServerMap['ShopActionApi.shopActionControllerGetExecutions']?.[localVarOperationServerIndex]?.url;
|
|
28282
|
+
return (axios, basePath) =>
|
|
28283
|
+
createRequestFunction(
|
|
28284
|
+
localVarAxiosArgs,
|
|
28285
|
+
globalAxios,
|
|
28286
|
+
BASE_PATH,
|
|
28287
|
+
configuration,
|
|
28288
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
28289
|
+
},
|
|
28290
|
+
/**
|
|
28291
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
|
|
28292
|
+
* @summary Get one
|
|
28293
|
+
* @param {string} id
|
|
28294
|
+
* @param {*} [options] Override http request option.
|
|
28295
|
+
* @throws {RequiredError}
|
|
28296
|
+
*/
|
|
28297
|
+
async shopActionControllerGetOne(
|
|
28298
|
+
id: string,
|
|
28299
|
+
options?: RawAxiosRequestConfig,
|
|
28300
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopActionOutputDTOAPI>> {
|
|
28301
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerGetOne(id, options);
|
|
28302
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28303
|
+
const localVarOperationServerBasePath =
|
|
28304
|
+
operationServerMap['ShopActionApi.shopActionControllerGetOne']?.[localVarOperationServerIndex]?.url;
|
|
28305
|
+
return (axios, basePath) =>
|
|
28306
|
+
createRequestFunction(
|
|
28307
|
+
localVarAxiosArgs,
|
|
28308
|
+
globalAxios,
|
|
28309
|
+
BASE_PATH,
|
|
28310
|
+
configuration,
|
|
28311
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
28312
|
+
},
|
|
28313
|
+
/**
|
|
28314
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
|
|
28315
|
+
* @summary Remove
|
|
28316
|
+
* @param {string} id
|
|
28317
|
+
* @param {*} [options] Override http request option.
|
|
28318
|
+
* @throws {RequiredError}
|
|
28319
|
+
*/
|
|
28320
|
+
async shopActionControllerRemove(
|
|
28321
|
+
id: string,
|
|
28322
|
+
options?: RawAxiosRequestConfig,
|
|
28323
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
28324
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerRemove(id, options);
|
|
28325
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28326
|
+
const localVarOperationServerBasePath =
|
|
28327
|
+
operationServerMap['ShopActionApi.shopActionControllerRemove']?.[localVarOperationServerIndex]?.url;
|
|
28328
|
+
return (axios, basePath) =>
|
|
28329
|
+
createRequestFunction(
|
|
28330
|
+
localVarAxiosArgs,
|
|
28331
|
+
globalAxios,
|
|
28332
|
+
BASE_PATH,
|
|
28333
|
+
configuration,
|
|
28334
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
28335
|
+
},
|
|
28336
|
+
/**
|
|
28337
|
+
* Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
|
|
28338
|
+
* @summary Search
|
|
28339
|
+
* @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
|
|
28340
|
+
* @param {*} [options] Override http request option.
|
|
28341
|
+
* @throws {RequiredError}
|
|
28342
|
+
*/
|
|
28343
|
+
async shopActionControllerSearch(
|
|
28344
|
+
shopActionSearchInputDTO?: ShopActionSearchInputDTO,
|
|
28345
|
+
options?: RawAxiosRequestConfig,
|
|
28346
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopActionOutputArrayDTOAPI>> {
|
|
28347
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerSearch(
|
|
28348
|
+
shopActionSearchInputDTO,
|
|
28349
|
+
options,
|
|
28350
|
+
);
|
|
28351
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28352
|
+
const localVarOperationServerBasePath =
|
|
28353
|
+
operationServerMap['ShopActionApi.shopActionControllerSearch']?.[localVarOperationServerIndex]?.url;
|
|
28354
|
+
return (axios, basePath) =>
|
|
28355
|
+
createRequestFunction(
|
|
28356
|
+
localVarAxiosArgs,
|
|
28357
|
+
globalAxios,
|
|
28358
|
+
BASE_PATH,
|
|
28359
|
+
configuration,
|
|
28360
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
28361
|
+
},
|
|
28362
|
+
/**
|
|
28363
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
|
|
28364
|
+
* @summary Update
|
|
28365
|
+
* @param {string} id
|
|
28366
|
+
* @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
|
|
28367
|
+
* @param {*} [options] Override http request option.
|
|
28368
|
+
* @throws {RequiredError}
|
|
28369
|
+
*/
|
|
28370
|
+
async shopActionControllerUpdate(
|
|
28371
|
+
id: string,
|
|
28372
|
+
shopActionUpdateDTO?: ShopActionUpdateDTO,
|
|
28373
|
+
options?: RawAxiosRequestConfig,
|
|
28374
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopActionOutputDTOAPI>> {
|
|
28375
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.shopActionControllerUpdate(
|
|
28376
|
+
id,
|
|
28377
|
+
shopActionUpdateDTO,
|
|
28378
|
+
options,
|
|
28379
|
+
);
|
|
28380
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
28381
|
+
const localVarOperationServerBasePath =
|
|
28382
|
+
operationServerMap['ShopActionApi.shopActionControllerUpdate']?.[localVarOperationServerIndex]?.url;
|
|
28383
|
+
return (axios, basePath) =>
|
|
28384
|
+
createRequestFunction(
|
|
28385
|
+
localVarAxiosArgs,
|
|
28386
|
+
globalAxios,
|
|
28387
|
+
BASE_PATH,
|
|
28388
|
+
configuration,
|
|
28389
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
28390
|
+
},
|
|
28391
|
+
};
|
|
28392
|
+
};
|
|
28393
|
+
|
|
28394
|
+
/**
|
|
28395
|
+
* ShopActionApi - factory interface
|
|
28396
|
+
* @export
|
|
28397
|
+
*/
|
|
28398
|
+
export const ShopActionApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
28399
|
+
const localVarFp = ShopActionApiFp(configuration);
|
|
28400
|
+
return {
|
|
28401
|
+
/**
|
|
28402
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
|
|
28403
|
+
* @summary Create
|
|
28404
|
+
* @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
|
|
28405
|
+
* @param {*} [options] Override http request option.
|
|
28406
|
+
* @throws {RequiredError}
|
|
28407
|
+
*/
|
|
28408
|
+
shopActionControllerCreate(
|
|
28409
|
+
shopActionCreateDTO?: ShopActionCreateDTO,
|
|
28410
|
+
options?: RawAxiosRequestConfig,
|
|
28411
|
+
): AxiosPromise<ShopActionOutputDTOAPI> {
|
|
28412
|
+
return localVarFp
|
|
28413
|
+
.shopActionControllerCreate(shopActionCreateDTO, options)
|
|
28414
|
+
.then((request) => request(axios, basePath));
|
|
28415
|
+
},
|
|
28416
|
+
/**
|
|
28417
|
+
* Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
|
|
28418
|
+
* @summary Get available
|
|
28419
|
+
* @param {string} gameServerId
|
|
28420
|
+
* @param {*} [options] Override http request option.
|
|
28421
|
+
* @throws {RequiredError}
|
|
28422
|
+
*/
|
|
28423
|
+
shopActionControllerGetAvailable(
|
|
28424
|
+
gameServerId: string,
|
|
28425
|
+
options?: RawAxiosRequestConfig,
|
|
28426
|
+
): AxiosPromise<ShopActionOutputArrayDTOAPI> {
|
|
28427
|
+
return localVarFp
|
|
28428
|
+
.shopActionControllerGetAvailable(gameServerId, options)
|
|
28429
|
+
.then((request) => request(axios, basePath));
|
|
28430
|
+
},
|
|
28431
|
+
/**
|
|
28432
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
|
|
28433
|
+
* @summary Get executions
|
|
28434
|
+
* @param {string} id
|
|
28435
|
+
* @param {any} [success]
|
|
28436
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
28437
|
+
* @param {*} [options] Override http request option.
|
|
28438
|
+
* @throws {RequiredError}
|
|
28439
|
+
*/
|
|
28440
|
+
shopActionControllerGetExecutions(
|
|
28441
|
+
id: string,
|
|
28442
|
+
success?: any,
|
|
28443
|
+
eventSearchInputDTO?: EventSearchInputDTO,
|
|
28444
|
+
options?: RawAxiosRequestConfig,
|
|
28445
|
+
): AxiosPromise<EventOutputArrayDTOAPI> {
|
|
28446
|
+
return localVarFp
|
|
28447
|
+
.shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options)
|
|
28448
|
+
.then((request) => request(axios, basePath));
|
|
28449
|
+
},
|
|
28450
|
+
/**
|
|
28451
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
|
|
28452
|
+
* @summary Get one
|
|
28453
|
+
* @param {string} id
|
|
28454
|
+
* @param {*} [options] Override http request option.
|
|
28455
|
+
* @throws {RequiredError}
|
|
28456
|
+
*/
|
|
28457
|
+
shopActionControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopActionOutputDTOAPI> {
|
|
28458
|
+
return localVarFp.shopActionControllerGetOne(id, options).then((request) => request(axios, basePath));
|
|
28459
|
+
},
|
|
28460
|
+
/**
|
|
28461
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
|
|
28462
|
+
* @summary Remove
|
|
28463
|
+
* @param {string} id
|
|
28464
|
+
* @param {*} [options] Override http request option.
|
|
28465
|
+
* @throws {RequiredError}
|
|
28466
|
+
*/
|
|
28467
|
+
shopActionControllerRemove(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
28468
|
+
return localVarFp.shopActionControllerRemove(id, options).then((request) => request(axios, basePath));
|
|
28469
|
+
},
|
|
28470
|
+
/**
|
|
28471
|
+
* Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
|
|
28472
|
+
* @summary Search
|
|
28473
|
+
* @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
|
|
28474
|
+
* @param {*} [options] Override http request option.
|
|
28475
|
+
* @throws {RequiredError}
|
|
28476
|
+
*/
|
|
28477
|
+
shopActionControllerSearch(
|
|
28478
|
+
shopActionSearchInputDTO?: ShopActionSearchInputDTO,
|
|
28479
|
+
options?: RawAxiosRequestConfig,
|
|
28480
|
+
): AxiosPromise<ShopActionOutputArrayDTOAPI> {
|
|
28481
|
+
return localVarFp
|
|
28482
|
+
.shopActionControllerSearch(shopActionSearchInputDTO, options)
|
|
28483
|
+
.then((request) => request(axios, basePath));
|
|
28484
|
+
},
|
|
28485
|
+
/**
|
|
28486
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
|
|
28487
|
+
* @summary Update
|
|
28488
|
+
* @param {string} id
|
|
28489
|
+
* @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
|
|
28490
|
+
* @param {*} [options] Override http request option.
|
|
28491
|
+
* @throws {RequiredError}
|
|
28492
|
+
*/
|
|
28493
|
+
shopActionControllerUpdate(
|
|
28494
|
+
id: string,
|
|
28495
|
+
shopActionUpdateDTO?: ShopActionUpdateDTO,
|
|
28496
|
+
options?: RawAxiosRequestConfig,
|
|
28497
|
+
): AxiosPromise<ShopActionOutputDTOAPI> {
|
|
28498
|
+
return localVarFp
|
|
28499
|
+
.shopActionControllerUpdate(id, shopActionUpdateDTO, options)
|
|
28500
|
+
.then((request) => request(axios, basePath));
|
|
28501
|
+
},
|
|
28502
|
+
};
|
|
28503
|
+
};
|
|
28504
|
+
|
|
28505
|
+
/**
|
|
28506
|
+
* ShopActionApi - object-oriented interface
|
|
28507
|
+
* @export
|
|
28508
|
+
* @class ShopActionApi
|
|
28509
|
+
* @extends {BaseAPI}
|
|
28510
|
+
*/
|
|
28511
|
+
export class ShopActionApi extends BaseAPI {
|
|
28512
|
+
/**
|
|
28513
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerCreate`
|
|
28514
|
+
* @summary Create
|
|
28515
|
+
* @param {ShopActionCreateDTO} [shopActionCreateDTO] ShopActionCreateDTO
|
|
28516
|
+
* @param {*} [options] Override http request option.
|
|
28517
|
+
* @throws {RequiredError}
|
|
28518
|
+
* @memberof ShopActionApi
|
|
28519
|
+
*/
|
|
28520
|
+
public shopActionControllerCreate(shopActionCreateDTO?: ShopActionCreateDTO, options?: RawAxiosRequestConfig) {
|
|
28521
|
+
return ShopActionApiFp(this.configuration)
|
|
28522
|
+
.shopActionControllerCreate(shopActionCreateDTO, options)
|
|
28523
|
+
.then((request) => request(this.axios, this.basePath));
|
|
28524
|
+
}
|
|
28525
|
+
|
|
28526
|
+
/**
|
|
28527
|
+
* Get available shop actions for a game server (from installed modules) Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetAvailable`
|
|
28528
|
+
* @summary Get available
|
|
28529
|
+
* @param {string} gameServerId
|
|
28530
|
+
* @param {*} [options] Override http request option.
|
|
28531
|
+
* @throws {RequiredError}
|
|
28532
|
+
* @memberof ShopActionApi
|
|
28533
|
+
*/
|
|
28534
|
+
public shopActionControllerGetAvailable(gameServerId: string, options?: RawAxiosRequestConfig) {
|
|
28535
|
+
return ShopActionApiFp(this.configuration)
|
|
28536
|
+
.shopActionControllerGetAvailable(gameServerId, options)
|
|
28537
|
+
.then((request) => request(this.axios, this.basePath));
|
|
28538
|
+
}
|
|
28539
|
+
|
|
28540
|
+
/**
|
|
28541
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetExecutions`
|
|
28542
|
+
* @summary Get executions
|
|
28543
|
+
* @param {string} id
|
|
28544
|
+
* @param {any} [success]
|
|
28545
|
+
* @param {EventSearchInputDTO} [eventSearchInputDTO] EventSearchInputDTO
|
|
28546
|
+
* @param {*} [options] Override http request option.
|
|
28547
|
+
* @throws {RequiredError}
|
|
28548
|
+
* @memberof ShopActionApi
|
|
28549
|
+
*/
|
|
28550
|
+
public shopActionControllerGetExecutions(
|
|
28551
|
+
id: string,
|
|
28552
|
+
success?: any,
|
|
28553
|
+
eventSearchInputDTO?: EventSearchInputDTO,
|
|
28554
|
+
options?: RawAxiosRequestConfig,
|
|
28555
|
+
) {
|
|
28556
|
+
return ShopActionApiFp(this.configuration)
|
|
28557
|
+
.shopActionControllerGetExecutions(id, success, eventSearchInputDTO, options)
|
|
28558
|
+
.then((request) => request(this.axios, this.basePath));
|
|
28559
|
+
}
|
|
28560
|
+
|
|
28561
|
+
/**
|
|
28562
|
+
* Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerGetOne`
|
|
28563
|
+
* @summary Get one
|
|
28564
|
+
* @param {string} id
|
|
28565
|
+
* @param {*} [options] Override http request option.
|
|
28566
|
+
* @throws {RequiredError}
|
|
28567
|
+
* @memberof ShopActionApi
|
|
28568
|
+
*/
|
|
28569
|
+
public shopActionControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
|
|
28570
|
+
return ShopActionApiFp(this.configuration)
|
|
28571
|
+
.shopActionControllerGetOne(id, options)
|
|
28572
|
+
.then((request) => request(this.axios, this.basePath));
|
|
28573
|
+
}
|
|
28574
|
+
|
|
28575
|
+
/**
|
|
28576
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerRemove`
|
|
28577
|
+
* @summary Remove
|
|
28578
|
+
* @param {string} id
|
|
28579
|
+
* @param {*} [options] Override http request option.
|
|
28580
|
+
* @throws {RequiredError}
|
|
28581
|
+
* @memberof ShopActionApi
|
|
28582
|
+
*/
|
|
28583
|
+
public shopActionControllerRemove(id: string, options?: RawAxiosRequestConfig) {
|
|
28584
|
+
return ShopActionApiFp(this.configuration)
|
|
28585
|
+
.shopActionControllerRemove(id, options)
|
|
28586
|
+
.then((request) => request(this.axios, this.basePath));
|
|
28587
|
+
}
|
|
28588
|
+
|
|
28589
|
+
/**
|
|
28590
|
+
* Search shop actions Required permissions: `READ_MODULES`<br> OperationId: `ShopActionControllerSearch`
|
|
28591
|
+
* @summary Search
|
|
28592
|
+
* @param {ShopActionSearchInputDTO} [shopActionSearchInputDTO] ShopActionSearchInputDTO
|
|
28593
|
+
* @param {*} [options] Override http request option.
|
|
28594
|
+
* @throws {RequiredError}
|
|
28595
|
+
* @memberof ShopActionApi
|
|
28596
|
+
*/
|
|
28597
|
+
public shopActionControllerSearch(
|
|
28598
|
+
shopActionSearchInputDTO?: ShopActionSearchInputDTO,
|
|
28599
|
+
options?: RawAxiosRequestConfig,
|
|
28600
|
+
) {
|
|
28601
|
+
return ShopActionApiFp(this.configuration)
|
|
28602
|
+
.shopActionControllerSearch(shopActionSearchInputDTO, options)
|
|
28603
|
+
.then((request) => request(this.axios, this.basePath));
|
|
28604
|
+
}
|
|
28605
|
+
|
|
28606
|
+
/**
|
|
28607
|
+
* Required permissions: `MANAGE_MODULES`<br> OperationId: `ShopActionControllerUpdate`
|
|
28608
|
+
* @summary Update
|
|
28609
|
+
* @param {string} id
|
|
28610
|
+
* @param {ShopActionUpdateDTO} [shopActionUpdateDTO] ShopActionUpdateDTO
|
|
28611
|
+
* @param {*} [options] Override http request option.
|
|
28612
|
+
* @throws {RequiredError}
|
|
28613
|
+
* @memberof ShopActionApi
|
|
28614
|
+
*/
|
|
28615
|
+
public shopActionControllerUpdate(
|
|
28616
|
+
id: string,
|
|
28617
|
+
shopActionUpdateDTO?: ShopActionUpdateDTO,
|
|
28618
|
+
options?: RawAxiosRequestConfig,
|
|
28619
|
+
) {
|
|
28620
|
+
return ShopActionApiFp(this.configuration)
|
|
28621
|
+
.shopActionControllerUpdate(id, shopActionUpdateDTO, options)
|
|
28622
|
+
.then((request) => request(this.axios, this.basePath));
|
|
28623
|
+
}
|
|
28624
|
+
}
|
|
28625
|
+
|
|
27516
28626
|
/**
|
|
27517
28627
|
* ShopCategoryApi - axios parameter creator
|
|
27518
28628
|
* @export
|
|
@@ -30441,6 +31551,7 @@ export const StatsControllerGetEventsCountEventNameEnum = {
|
|
|
30441
31551
|
PlayerBanned: 'player-banned',
|
|
30442
31552
|
PlayerUnbanned: 'player-unbanned',
|
|
30443
31553
|
PlayerDeleted: 'player-deleted',
|
|
31554
|
+
ShopActionExecuted: 'shop-action-executed',
|
|
30444
31555
|
PlayerConnected: 'player-connected',
|
|
30445
31556
|
PlayerDisconnected: 'player-disconnected',
|
|
30446
31557
|
ChatMessage: 'chat-message',
|