@takaro/apiclient 0.0.0-dev.7ef2191 → 0.0.0-dev.8168003

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.
@@ -3322,6 +3322,315 @@ export interface EventEntityKilled {
3322
3322
  */
3323
3323
  msg?: string;
3324
3324
  }
3325
+ /**
3326
+ *
3327
+ * @export
3328
+ * @interface EventExploreCursorDTO
3329
+ */
3330
+ export interface EventExploreCursorDTO {
3331
+ /**
3332
+ *
3333
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
3334
+ * @memberof EventExploreCursorDTO
3335
+ */
3336
+ time: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
3337
+ /**
3338
+ *
3339
+ * @type {string}
3340
+ * @memberof EventExploreCursorDTO
3341
+ */
3342
+ id: string;
3343
+ }
3344
+ /**
3345
+ *
3346
+ * @export
3347
+ * @interface EventExploreFiltersDTO
3348
+ */
3349
+ export interface EventExploreFiltersDTO {
3350
+ /**
3351
+ *
3352
+ * @type {Array<string>}
3353
+ * @memberof EventExploreFiltersDTO
3354
+ */
3355
+ id?: Array<string>;
3356
+ /**
3357
+ *
3358
+ * @type {Array<string>}
3359
+ * @memberof EventExploreFiltersDTO
3360
+ */
3361
+ eventName?: Array<EventExploreFiltersDTOEventNameEnum>;
3362
+ /**
3363
+ *
3364
+ * @type {Array<string>}
3365
+ * @memberof EventExploreFiltersDTO
3366
+ */
3367
+ playerId?: Array<string>;
3368
+ /**
3369
+ *
3370
+ * @type {Array<string>}
3371
+ * @memberof EventExploreFiltersDTO
3372
+ */
3373
+ gameserverId?: Array<string>;
3374
+ /**
3375
+ *
3376
+ * @type {Array<string>}
3377
+ * @memberof EventExploreFiltersDTO
3378
+ */
3379
+ moduleId?: Array<string>;
3380
+ /**
3381
+ *
3382
+ * @type {Array<string>}
3383
+ * @memberof EventExploreFiltersDTO
3384
+ */
3385
+ userId?: Array<string>;
3386
+ /**
3387
+ *
3388
+ * @type {Array<string>}
3389
+ * @memberof EventExploreFiltersDTO
3390
+ */
3391
+ actingUserId?: Array<string>;
3392
+ /**
3393
+ *
3394
+ * @type {Array<string>}
3395
+ * @memberof EventExploreFiltersDTO
3396
+ */
3397
+ actingModuleId?: Array<string>;
3398
+ }
3399
+
3400
+ export const EventExploreFiltersDTOEventNameEnum = {
3401
+ RoleAssigned: 'role-assigned',
3402
+ RoleRemoved: 'role-removed',
3403
+ RoleCreated: 'role-created',
3404
+ RoleUpdated: 'role-updated',
3405
+ RoleDeleted: 'role-deleted',
3406
+ CommandExecuted: 'command-executed',
3407
+ CommandExecutionDenied: 'command-execution-denied',
3408
+ HookExecuted: 'hook-executed',
3409
+ CronjobExecuted: 'cronjob-executed',
3410
+ CurrencyAdded: 'currency-added',
3411
+ CurrencyDeducted: 'currency-deducted',
3412
+ CurrencyResetAll: 'currency-reset-all',
3413
+ SettingsSet: 'settings-set',
3414
+ PlayerNewIpDetected: 'player-new-ip-detected',
3415
+ PlayerNewNameDetected: 'player-new-name-detected',
3416
+ ServerStatusChanged: 'server-status-changed',
3417
+ ModuleCreated: 'module-created',
3418
+ ModuleUpdated: 'module-updated',
3419
+ ModuleDeleted: 'module-deleted',
3420
+ ModuleInstalled: 'module-installed',
3421
+ ModuleUninstalled: 'module-uninstalled',
3422
+ PlayerCreated: 'player-created',
3423
+ ShopListingCreated: 'shop-listing-created',
3424
+ ShopListingUpdated: 'shop-listing-updated',
3425
+ ShopListingDeleted: 'shop-listing-deleted',
3426
+ ShopOrderCreated: 'shop-order-created',
3427
+ ShopOrderStatusChanged: 'shop-order-status-changed',
3428
+ ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
3429
+ PlayerLinked: 'player-linked',
3430
+ GameserverCreated: 'gameserver-created',
3431
+ GameserverUpdated: 'gameserver-updated',
3432
+ GameserverDeleted: 'gameserver-deleted',
3433
+ PlayerBanned: 'player-banned',
3434
+ PlayerUnbanned: 'player-unbanned',
3435
+ PlayerDeleted: 'player-deleted',
3436
+ ShopActionExecuted: 'shop-action-executed',
3437
+ PlayerInventoryChanged: 'player-inventory-changed',
3438
+ EventRateLimited: 'event-rate-limited',
3439
+ PlayerSyncSnapshot: 'player-sync-snapshot',
3440
+ PlayerConnected: 'player-connected',
3441
+ PlayerDisconnected: 'player-disconnected',
3442
+ ChatMessage: 'chat-message',
3443
+ PlayerDeath: 'player-death',
3444
+ EntityKilled: 'entity-killed',
3445
+ } as const;
3446
+
3447
+ export type EventExploreFiltersDTOEventNameEnum =
3448
+ (typeof EventExploreFiltersDTOEventNameEnum)[keyof typeof EventExploreFiltersDTOEventNameEnum];
3449
+
3450
+ /**
3451
+ *
3452
+ * @export
3453
+ * @interface EventExploreInputDTO
3454
+ */
3455
+ export interface EventExploreInputDTO {
3456
+ /**
3457
+ *
3458
+ * @type {EventExploreFiltersDTO}
3459
+ * @memberof EventExploreInputDTO
3460
+ */
3461
+ filters?: EventExploreFiltersDTO;
3462
+ /**
3463
+ *
3464
+ * @type {Array<MetaFilterGroupOrLeafDTO>}
3465
+ * @memberof EventExploreInputDTO
3466
+ */
3467
+ metaFilters?: Array<MetaFilterGroupOrLeafDTO>;
3468
+ /**
3469
+ *
3470
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
3471
+ * @memberof EventExploreInputDTO
3472
+ */
3473
+ startDate?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
3474
+ /**
3475
+ *
3476
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
3477
+ * @memberof EventExploreInputDTO
3478
+ */
3479
+ endDate?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
3480
+ /**
3481
+ *
3482
+ * @type {EventExploreCursorDTO}
3483
+ * @memberof EventExploreInputDTO
3484
+ */
3485
+ cursor?: EventExploreCursorDTO;
3486
+ /**
3487
+ *
3488
+ * @type {number}
3489
+ * @memberof EventExploreInputDTO
3490
+ */
3491
+ limit?: number;
3492
+ }
3493
+ /**
3494
+ *
3495
+ * @export
3496
+ * @interface EventExploreOutputDTO
3497
+ */
3498
+ export interface EventExploreOutputDTO {
3499
+ /**
3500
+ *
3501
+ * @type {Array<EventExploreRowDTO>}
3502
+ * @memberof EventExploreOutputDTO
3503
+ */
3504
+ rows: Array<EventExploreRowDTO>;
3505
+ /**
3506
+ *
3507
+ * @type {any}
3508
+ * @memberof EventExploreOutputDTO
3509
+ */
3510
+ nextCursor?: any;
3511
+ }
3512
+ /**
3513
+ *
3514
+ * @export
3515
+ * @interface EventExploreOutputDTOAPI
3516
+ */
3517
+ export interface EventExploreOutputDTOAPI {
3518
+ /**
3519
+ *
3520
+ * @type {EventExploreOutputDTO}
3521
+ * @memberof EventExploreOutputDTOAPI
3522
+ */
3523
+ data: EventExploreOutputDTO;
3524
+ /**
3525
+ *
3526
+ * @type {MetadataOutput}
3527
+ * @memberof EventExploreOutputDTOAPI
3528
+ */
3529
+ meta: MetadataOutput;
3530
+ }
3531
+ /**
3532
+ *
3533
+ * @export
3534
+ * @interface EventExploreRowDTO
3535
+ */
3536
+ export interface EventExploreRowDTO {
3537
+ /**
3538
+ *
3539
+ * @type {string}
3540
+ * @memberof EventExploreRowDTO
3541
+ */
3542
+ id: string;
3543
+ /**
3544
+ *
3545
+ * @type {string}
3546
+ * @memberof EventExploreRowDTO
3547
+ */
3548
+ eventName: string;
3549
+ /**
3550
+ *
3551
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
3552
+ * @memberof EventExploreRowDTO
3553
+ */
3554
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
3555
+ /**
3556
+ *
3557
+ * @type {string}
3558
+ * @memberof EventExploreRowDTO
3559
+ */
3560
+ playerId?: string;
3561
+ /**
3562
+ *
3563
+ * @type {string}
3564
+ * @memberof EventExploreRowDTO
3565
+ */
3566
+ playerName?: string;
3567
+ /**
3568
+ *
3569
+ * @type {string}
3570
+ * @memberof EventExploreRowDTO
3571
+ */
3572
+ gameserverId?: string;
3573
+ /**
3574
+ *
3575
+ * @type {string}
3576
+ * @memberof EventExploreRowDTO
3577
+ */
3578
+ gameServerName?: string;
3579
+ /**
3580
+ *
3581
+ * @type {string}
3582
+ * @memberof EventExploreRowDTO
3583
+ */
3584
+ moduleId?: string;
3585
+ /**
3586
+ *
3587
+ * @type {string}
3588
+ * @memberof EventExploreRowDTO
3589
+ */
3590
+ moduleName?: string;
3591
+ /**
3592
+ *
3593
+ * @type {string}
3594
+ * @memberof EventExploreRowDTO
3595
+ */
3596
+ userId?: string;
3597
+ /**
3598
+ *
3599
+ * @type {string}
3600
+ * @memberof EventExploreRowDTO
3601
+ */
3602
+ userName?: string;
3603
+ /**
3604
+ *
3605
+ * @type {string}
3606
+ * @memberof EventExploreRowDTO
3607
+ */
3608
+ actingUserId?: string;
3609
+ /**
3610
+ *
3611
+ * @type {string}
3612
+ * @memberof EventExploreRowDTO
3613
+ */
3614
+ actingUserName?: string;
3615
+ /**
3616
+ *
3617
+ * @type {string}
3618
+ * @memberof EventExploreRowDTO
3619
+ */
3620
+ actingModuleId?: string;
3621
+ /**
3622
+ *
3623
+ * @type {string}
3624
+ * @memberof EventExploreRowDTO
3625
+ */
3626
+ actingModuleName?: string;
3627
+ /**
3628
+ *
3629
+ * @type {object}
3630
+ * @memberof EventExploreRowDTO
3631
+ */
3632
+ meta: object;
3633
+ }
3325
3634
  /**
3326
3635
  *
3327
3636
  * @export
@@ -3791,41 +4100,200 @@ export interface EventSearchInputDTO {
3791
4100
  page?: number;
3792
4101
  /**
3793
4102
  *
3794
- * @type {number}
3795
- * @memberof EventSearchInputDTO
4103
+ * @type {number}
4104
+ * @memberof EventSearchInputDTO
4105
+ */
4106
+ limit?: number;
4107
+ /**
4108
+ *
4109
+ * @type {string}
4110
+ * @memberof EventSearchInputDTO
4111
+ */
4112
+ sortBy?: string;
4113
+ /**
4114
+ *
4115
+ * @type {string}
4116
+ * @memberof EventSearchInputDTO
4117
+ */
4118
+ sortDirection?: EventSearchInputDTOSortDirectionEnum;
4119
+ }
4120
+
4121
+ export const EventSearchInputDTOExtendEnum = {
4122
+ Module: 'module',
4123
+ GameServer: 'gameServer',
4124
+ Player: 'player',
4125
+ User: 'user',
4126
+ } as const;
4127
+
4128
+ export type EventSearchInputDTOExtendEnum =
4129
+ (typeof EventSearchInputDTOExtendEnum)[keyof typeof EventSearchInputDTOExtendEnum];
4130
+ export const EventSearchInputDTOSortDirectionEnum = {
4131
+ Asc: 'asc',
4132
+ Desc: 'desc',
4133
+ } as const;
4134
+
4135
+ export type EventSearchInputDTOSortDirectionEnum =
4136
+ (typeof EventSearchInputDTOSortDirectionEnum)[keyof typeof EventSearchInputDTOSortDirectionEnum];
4137
+
4138
+ /**
4139
+ *
4140
+ * @export
4141
+ * @interface EventVolumeDimensionTotalDTO
4142
+ */
4143
+ export interface EventVolumeDimensionTotalDTO {
4144
+ /**
4145
+ *
4146
+ * @type {string}
4147
+ * @memberof EventVolumeDimensionTotalDTO
4148
+ */
4149
+ key: string;
4150
+ /**
4151
+ *
4152
+ * @type {string}
4153
+ * @memberof EventVolumeDimensionTotalDTO
4154
+ */
4155
+ name?: string;
4156
+ /**
4157
+ *
4158
+ * @type {number}
4159
+ * @memberof EventVolumeDimensionTotalDTO
4160
+ */
4161
+ count: number;
4162
+ }
4163
+ /**
4164
+ *
4165
+ * @export
4166
+ * @interface EventVolumeInputDTO
4167
+ */
4168
+ export interface EventVolumeInputDTO {
4169
+ /**
4170
+ *
4171
+ * @type {EventExploreFiltersDTO}
4172
+ * @memberof EventVolumeInputDTO
4173
+ */
4174
+ filters?: EventExploreFiltersDTO;
4175
+ /**
4176
+ *
4177
+ * @type {Array<MetaFilterGroupOrLeafDTO>}
4178
+ * @memberof EventVolumeInputDTO
4179
+ */
4180
+ metaFilters?: Array<MetaFilterGroupOrLeafDTO>;
4181
+ /**
4182
+ *
4183
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
4184
+ * @memberof EventVolumeInputDTO
4185
+ */
4186
+ startDate?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
4187
+ /**
4188
+ *
4189
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
4190
+ * @memberof EventVolumeInputDTO
4191
+ */
4192
+ endDate?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
4193
+ /**
4194
+ *
4195
+ * @type {string}
4196
+ * @memberof EventVolumeInputDTO
4197
+ */
4198
+ groupBy?: EventVolumeInputDTOGroupByEnum;
4199
+ /**
4200
+ *
4201
+ * @type {string}
4202
+ * @memberof EventVolumeInputDTO
4203
+ */
4204
+ period?: string;
4205
+ }
4206
+
4207
+ export const EventVolumeInputDTOGroupByEnum = {
4208
+ EventName: 'eventName',
4209
+ GameServerId: 'gameServerId',
4210
+ } as const;
4211
+
4212
+ export type EventVolumeInputDTOGroupByEnum =
4213
+ (typeof EventVolumeInputDTOGroupByEnum)[keyof typeof EventVolumeInputDTOGroupByEnum];
4214
+
4215
+ /**
4216
+ *
4217
+ * @export
4218
+ * @interface EventVolumeOutputDTO
4219
+ */
4220
+ export interface EventVolumeOutputDTO {
4221
+ /**
4222
+ *
4223
+ * @type {Array<EventVolumeSeriesDTO>}
4224
+ * @memberof EventVolumeOutputDTO
4225
+ */
4226
+ series: Array<EventVolumeSeriesDTO>;
4227
+ /**
4228
+ *
4229
+ * @type {Array<EventVolumeDimensionTotalDTO>}
4230
+ * @memberof EventVolumeOutputDTO
4231
+ */
4232
+ totalsByDimension: Array<EventVolumeDimensionTotalDTO>;
4233
+ }
4234
+ /**
4235
+ *
4236
+ * @export
4237
+ * @interface EventVolumeOutputDTOAPI
4238
+ */
4239
+ export interface EventVolumeOutputDTOAPI {
4240
+ /**
4241
+ *
4242
+ * @type {EventVolumeOutputDTO}
4243
+ * @memberof EventVolumeOutputDTOAPI
4244
+ */
4245
+ data: EventVolumeOutputDTO;
4246
+ /**
4247
+ *
4248
+ * @type {MetadataOutput}
4249
+ * @memberof EventVolumeOutputDTOAPI
4250
+ */
4251
+ meta: MetadataOutput;
4252
+ }
4253
+ /**
4254
+ *
4255
+ * @export
4256
+ * @interface EventVolumePointDTO
4257
+ */
4258
+ export interface EventVolumePointDTO {
4259
+ /**
4260
+ *
4261
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
4262
+ * @memberof EventVolumePointDTO
4263
+ */
4264
+ timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
4265
+ /**
4266
+ *
4267
+ * @type {number}
4268
+ * @memberof EventVolumePointDTO
4269
+ */
4270
+ value: number;
4271
+ }
4272
+ /**
4273
+ *
4274
+ * @export
4275
+ * @interface EventVolumeSeriesDTO
4276
+ */
4277
+ export interface EventVolumeSeriesDTO {
4278
+ /**
4279
+ *
4280
+ * @type {string}
4281
+ * @memberof EventVolumeSeriesDTO
3796
4282
  */
3797
- limit?: number;
4283
+ key: string;
3798
4284
  /**
3799
4285
  *
3800
4286
  * @type {string}
3801
- * @memberof EventSearchInputDTO
4287
+ * @memberof EventVolumeSeriesDTO
3802
4288
  */
3803
- sortBy?: string;
4289
+ name?: string;
3804
4290
  /**
3805
4291
  *
3806
- * @type {string}
3807
- * @memberof EventSearchInputDTO
4292
+ * @type {Array<EventVolumePointDTO>}
4293
+ * @memberof EventVolumeSeriesDTO
3808
4294
  */
3809
- sortDirection?: EventSearchInputDTOSortDirectionEnum;
4295
+ points: Array<EventVolumePointDTO>;
3810
4296
  }
3811
-
3812
- export const EventSearchInputDTOExtendEnum = {
3813
- Module: 'module',
3814
- GameServer: 'gameServer',
3815
- Player: 'player',
3816
- User: 'user',
3817
- } as const;
3818
-
3819
- export type EventSearchInputDTOExtendEnum =
3820
- (typeof EventSearchInputDTOExtendEnum)[keyof typeof EventSearchInputDTOExtendEnum];
3821
- export const EventSearchInputDTOSortDirectionEnum = {
3822
- Asc: 'asc',
3823
- Desc: 'desc',
3824
- } as const;
3825
-
3826
- export type EventSearchInputDTOSortDirectionEnum =
3827
- (typeof EventSearchInputDTOSortDirectionEnum)[keyof typeof EventSearchInputDTOSortDirectionEnum];
3828
-
3829
4297
  /**
3830
4298
  *
3831
4299
  * @export
@@ -7200,6 +7668,62 @@ export interface MessageSendInputDTO {
7200
7668
  */
7201
7669
  opts?: IMessageOptsDTO;
7202
7670
  }
7671
+ /**
7672
+ *
7673
+ * @export
7674
+ * @interface MetaFilterGroupOrLeafDTO
7675
+ */
7676
+ export interface MetaFilterGroupOrLeafDTO {
7677
+ /**
7678
+ *
7679
+ * @type {string}
7680
+ * @memberof MetaFilterGroupOrLeafDTO
7681
+ */
7682
+ logicalOperator?: MetaFilterGroupOrLeafDTOLogicalOperatorEnum;
7683
+ /**
7684
+ *
7685
+ * @type {Array<MetaFilterGroupOrLeafDTO>}
7686
+ * @memberof MetaFilterGroupOrLeafDTO
7687
+ */
7688
+ filters?: Array<MetaFilterGroupOrLeafDTO>;
7689
+ /**
7690
+ *
7691
+ * @type {string}
7692
+ * @memberof MetaFilterGroupOrLeafDTO
7693
+ */
7694
+ field?: string;
7695
+ /**
7696
+ *
7697
+ * @type {string}
7698
+ * @memberof MetaFilterGroupOrLeafDTO
7699
+ */
7700
+ operator?: MetaFilterGroupOrLeafDTOOperatorEnum;
7701
+ /**
7702
+ *
7703
+ * @type {string}
7704
+ * @memberof MetaFilterGroupOrLeafDTO
7705
+ */
7706
+ value?: string;
7707
+ }
7708
+
7709
+ export const MetaFilterGroupOrLeafDTOLogicalOperatorEnum = {
7710
+ And: 'AND',
7711
+ Or: 'OR',
7712
+ } as const;
7713
+
7714
+ export type MetaFilterGroupOrLeafDTOLogicalOperatorEnum =
7715
+ (typeof MetaFilterGroupOrLeafDTOLogicalOperatorEnum)[keyof typeof MetaFilterGroupOrLeafDTOLogicalOperatorEnum];
7716
+ export const MetaFilterGroupOrLeafDTOOperatorEnum = {
7717
+ Equal: '=',
7718
+ NotEqual: '!=',
7719
+ GreaterThan: '>',
7720
+ LessThan: '<',
7721
+ ArrayContains: 'array_contains',
7722
+ } as const;
7723
+
7724
+ export type MetaFilterGroupOrLeafDTOOperatorEnum =
7725
+ (typeof MetaFilterGroupOrLeafDTOOperatorEnum)[keyof typeof MetaFilterGroupOrLeafDTOOperatorEnum];
7726
+
7203
7727
  /**
7204
7728
  *
7205
7729
  * @export
@@ -8853,6 +9377,19 @@ export const ParamKeyKeyEnum = {
8853
9377
 
8854
9378
  export type ParamKeyKeyEnum = (typeof ParamKeyKeyEnum)[keyof typeof ParamKeyKeyEnum];
8855
9379
 
9380
+ /**
9381
+ *
9382
+ * @export
9383
+ * @interface ParamRoleId
9384
+ */
9385
+ export interface ParamRoleId {
9386
+ /**
9387
+ *
9388
+ * @type {string}
9389
+ * @memberof ParamRoleId
9390
+ */
9391
+ roleId: string;
9392
+ }
8856
9393
  /**
8857
9394
  *
8858
9395
  * @export
@@ -9177,6 +9714,94 @@ export interface PlayerActivityMixEntryDTOAPI {
9177
9714
  */
9178
9715
  meta: MetadataOutput;
9179
9716
  }
9717
+ /**
9718
+ *
9719
+ * @export
9720
+ * @interface PlayerBulkAssignRoleErrorDTO
9721
+ */
9722
+ export interface PlayerBulkAssignRoleErrorDTO {
9723
+ /**
9724
+ *
9725
+ * @type {string}
9726
+ * @memberof PlayerBulkAssignRoleErrorDTO
9727
+ */
9728
+ playerId: string;
9729
+ /**
9730
+ *
9731
+ * @type {string}
9732
+ * @memberof PlayerBulkAssignRoleErrorDTO
9733
+ */
9734
+ reason: string;
9735
+ }
9736
+ /**
9737
+ *
9738
+ * @export
9739
+ * @interface PlayerBulkAssignRoleInputDTO
9740
+ */
9741
+ export interface PlayerBulkAssignRoleInputDTO {
9742
+ /**
9743
+ *
9744
+ * @type {Array<string>}
9745
+ * @memberof PlayerBulkAssignRoleInputDTO
9746
+ */
9747
+ playerIds: Array<string>;
9748
+ /**
9749
+ *
9750
+ * @type {string}
9751
+ * @memberof PlayerBulkAssignRoleInputDTO
9752
+ */
9753
+ gameServerId?: string;
9754
+ /**
9755
+ *
9756
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
9757
+ * @memberof PlayerBulkAssignRoleInputDTO
9758
+ */
9759
+ expiresAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
9760
+ }
9761
+ /**
9762
+ *
9763
+ * @export
9764
+ * @interface PlayerBulkAssignRoleOutputDTO
9765
+ */
9766
+ export interface PlayerBulkAssignRoleOutputDTO {
9767
+ /**
9768
+ *
9769
+ * @type {number}
9770
+ * @memberof PlayerBulkAssignRoleOutputDTO
9771
+ */
9772
+ success: number;
9773
+ /**
9774
+ *
9775
+ * @type {number}
9776
+ * @memberof PlayerBulkAssignRoleOutputDTO
9777
+ */
9778
+ failed: number;
9779
+ /**
9780
+ *
9781
+ * @type {Array<PlayerBulkAssignRoleErrorDTO>}
9782
+ * @memberof PlayerBulkAssignRoleOutputDTO
9783
+ */
9784
+ errors: Array<PlayerBulkAssignRoleErrorDTO>;
9785
+ }
9786
+ /**
9787
+ *
9788
+ * @export
9789
+ * @interface PlayerBulkAssignRoleOutputDTOAPI
9790
+ */
9791
+ export interface PlayerBulkAssignRoleOutputDTOAPI {
9792
+ /**
9793
+ *
9794
+ * @type {PlayerBulkAssignRoleOutputDTO}
9795
+ * @memberof PlayerBulkAssignRoleOutputDTOAPI
9796
+ */
9797
+ data: PlayerBulkAssignRoleOutputDTO;
9798
+ /**
9799
+ *
9800
+ * @type {MetadataOutput}
9801
+ * @memberof PlayerBulkAssignRoleOutputDTOAPI
9802
+ */
9803
+ meta: MetadataOutput;
9804
+ }
9180
9805
  /**
9181
9806
  *
9182
9807
  * @export
@@ -10934,6 +11559,88 @@ export interface PlayersByItemInputDTO {
10934
11559
  */
10935
11560
  endDate?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
10936
11561
  }
11562
+ /**
11563
+ *
11564
+ * @export
11565
+ * @interface PogBulkAddCurrencyErrorDTO
11566
+ */
11567
+ export interface PogBulkAddCurrencyErrorDTO {
11568
+ /**
11569
+ *
11570
+ * @type {string}
11571
+ * @memberof PogBulkAddCurrencyErrorDTO
11572
+ */
11573
+ playerId: string;
11574
+ /**
11575
+ *
11576
+ * @type {string}
11577
+ * @memberof PogBulkAddCurrencyErrorDTO
11578
+ */
11579
+ reason: string;
11580
+ }
11581
+ /**
11582
+ *
11583
+ * @export
11584
+ * @interface PogBulkAddCurrencyInputDTO
11585
+ */
11586
+ export interface PogBulkAddCurrencyInputDTO {
11587
+ /**
11588
+ *
11589
+ * @type {Array<string>}
11590
+ * @memberof PogBulkAddCurrencyInputDTO
11591
+ */
11592
+ playerIds: Array<string>;
11593
+ /**
11594
+ *
11595
+ * @type {number}
11596
+ * @memberof PogBulkAddCurrencyInputDTO
11597
+ */
11598
+ amount: number;
11599
+ }
11600
+ /**
11601
+ *
11602
+ * @export
11603
+ * @interface PogBulkAddCurrencyOutputDTO
11604
+ */
11605
+ export interface PogBulkAddCurrencyOutputDTO {
11606
+ /**
11607
+ *
11608
+ * @type {number}
11609
+ * @memberof PogBulkAddCurrencyOutputDTO
11610
+ */
11611
+ success: number;
11612
+ /**
11613
+ *
11614
+ * @type {number}
11615
+ * @memberof PogBulkAddCurrencyOutputDTO
11616
+ */
11617
+ failed: number;
11618
+ /**
11619
+ *
11620
+ * @type {Array<PogBulkAddCurrencyErrorDTO>}
11621
+ * @memberof PogBulkAddCurrencyOutputDTO
11622
+ */
11623
+ errors: Array<PogBulkAddCurrencyErrorDTO>;
11624
+ }
11625
+ /**
11626
+ *
11627
+ * @export
11628
+ * @interface PogBulkAddCurrencyOutputDTOAPI
11629
+ */
11630
+ export interface PogBulkAddCurrencyOutputDTOAPI {
11631
+ /**
11632
+ *
11633
+ * @type {PogBulkAddCurrencyOutputDTO}
11634
+ * @memberof PogBulkAddCurrencyOutputDTOAPI
11635
+ */
11636
+ data: PogBulkAddCurrencyOutputDTO;
11637
+ /**
11638
+ *
11639
+ * @type {MetadataOutput}
11640
+ * @memberof PogBulkAddCurrencyOutputDTOAPI
11641
+ */
11642
+ meta: MetadataOutput;
11643
+ }
10937
11644
  /**
10938
11645
  *
10939
11646
  * @export
@@ -24709,24 +25416,98 @@ export class EntityApi extends BaseAPI {
24709
25416
  }
24710
25417
  }
24711
25418
 
24712
- /**
24713
- * EventApi - axios parameter creator
24714
- * @export
24715
- */
24716
- export const EventApiAxiosParamCreator = function (configuration?: Configuration) {
24717
- return {
25419
+ /**
25420
+ * EventApi - axios parameter creator
25421
+ * @export
25422
+ */
25423
+ export const EventApiAxiosParamCreator = function (configuration?: Configuration) {
25424
+ return {
25425
+ /**
25426
+ * Required permissions: `MANAGE_EVENTS`<br> OperationId: `EventControllerCreate`
25427
+ * @summary Create
25428
+ * @param {EventCreateDTO} [eventCreateDTO] EventCreateDTO
25429
+ * @param {*} [options] Override http request option.
25430
+ * @throws {RequiredError}
25431
+ */
25432
+ eventControllerCreate: async (
25433
+ eventCreateDTO?: EventCreateDTO,
25434
+ options: RawAxiosRequestConfig = {},
25435
+ ): Promise<RequestArgs> => {
25436
+ const localVarPath = `/event`;
25437
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25438
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25439
+ let baseOptions;
25440
+ if (configuration) {
25441
+ baseOptions = configuration.baseOptions;
25442
+ }
25443
+
25444
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
25445
+ const localVarHeaderParameter = {} as any;
25446
+ const localVarQueryParameter = {} as any;
25447
+
25448
+ // authentication domainAuth required
25449
+
25450
+ localVarHeaderParameter['Content-Type'] = 'application/json';
25451
+
25452
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25453
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25454
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
25455
+ localVarRequestOptions.data = serializeDataIfNeeded(eventCreateDTO, localVarRequestOptions, configuration);
25456
+
25457
+ return {
25458
+ url: toPathString(localVarUrlObj),
25459
+ options: localVarRequestOptions,
25460
+ };
25461
+ },
25462
+ /**
25463
+ * Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
25464
+ * @summary Explore events
25465
+ * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
25466
+ * @param {*} [options] Override http request option.
25467
+ * @throws {RequiredError}
25468
+ */
25469
+ eventControllerExplore: async (
25470
+ eventExploreInputDTO?: EventExploreInputDTO,
25471
+ options: RawAxiosRequestConfig = {},
25472
+ ): Promise<RequestArgs> => {
25473
+ const localVarPath = `/event/explore`;
25474
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
25475
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
25476
+ let baseOptions;
25477
+ if (configuration) {
25478
+ baseOptions = configuration.baseOptions;
25479
+ }
25480
+
25481
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
25482
+ const localVarHeaderParameter = {} as any;
25483
+ const localVarQueryParameter = {} as any;
25484
+
25485
+ // authentication domainAuth required
25486
+
25487
+ localVarHeaderParameter['Content-Type'] = 'application/json';
25488
+
25489
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
25490
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25491
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
25492
+ localVarRequestOptions.data = serializeDataIfNeeded(eventExploreInputDTO, localVarRequestOptions, configuration);
25493
+
25494
+ return {
25495
+ url: toPathString(localVarUrlObj),
25496
+ options: localVarRequestOptions,
25497
+ };
25498
+ },
24718
25499
  /**
24719
- * Required permissions: `MANAGE_EVENTS`<br> OperationId: `EventControllerCreate`
24720
- * @summary Create
24721
- * @param {EventCreateDTO} [eventCreateDTO] EventCreateDTO
25500
+ * Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
25501
+ * @summary Get event volume time-series with optional grouping
25502
+ * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
24722
25503
  * @param {*} [options] Override http request option.
24723
25504
  * @throws {RequiredError}
24724
25505
  */
24725
- eventControllerCreate: async (
24726
- eventCreateDTO?: EventCreateDTO,
25506
+ eventControllerExploreVolume: async (
25507
+ eventVolumeInputDTO?: EventVolumeInputDTO,
24727
25508
  options: RawAxiosRequestConfig = {},
24728
25509
  ): Promise<RequestArgs> => {
24729
- const localVarPath = `/event`;
25510
+ const localVarPath = `/event/explore/volume`;
24730
25511
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
24731
25512
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24732
25513
  let baseOptions;
@@ -24745,7 +25526,7 @@ export const EventApiAxiosParamCreator = function (configuration?: Configuration
24745
25526
  setSearchParams(localVarUrlObj, localVarQueryParameter);
24746
25527
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24747
25528
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24748
- localVarRequestOptions.data = serializeDataIfNeeded(eventCreateDTO, localVarRequestOptions, configuration);
25529
+ localVarRequestOptions.data = serializeDataIfNeeded(eventVolumeInputDTO, localVarRequestOptions, configuration);
24749
25530
 
24750
25531
  return {
24751
25532
  url: toPathString(localVarUrlObj),
@@ -24929,6 +25710,55 @@ export const EventApiFp = function (configuration?: Configuration) {
24929
25710
  configuration,
24930
25711
  )(axios, localVarOperationServerBasePath || basePath);
24931
25712
  },
25713
+ /**
25714
+ * Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
25715
+ * @summary Explore events
25716
+ * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
25717
+ * @param {*} [options] Override http request option.
25718
+ * @throws {RequiredError}
25719
+ */
25720
+ async eventControllerExplore(
25721
+ eventExploreInputDTO?: EventExploreInputDTO,
25722
+ options?: RawAxiosRequestConfig,
25723
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventExploreOutputDTOAPI>> {
25724
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExplore(eventExploreInputDTO, options);
25725
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25726
+ const localVarOperationServerBasePath =
25727
+ operationServerMap['EventApi.eventControllerExplore']?.[localVarOperationServerIndex]?.url;
25728
+ return (axios, basePath) =>
25729
+ createRequestFunction(
25730
+ localVarAxiosArgs,
25731
+ globalAxios,
25732
+ BASE_PATH,
25733
+ configuration,
25734
+ )(axios, localVarOperationServerBasePath || basePath);
25735
+ },
25736
+ /**
25737
+ * Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
25738
+ * @summary Get event volume time-series with optional grouping
25739
+ * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
25740
+ * @param {*} [options] Override http request option.
25741
+ * @throws {RequiredError}
25742
+ */
25743
+ async eventControllerExploreVolume(
25744
+ eventVolumeInputDTO?: EventVolumeInputDTO,
25745
+ options?: RawAxiosRequestConfig,
25746
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EventVolumeOutputDTOAPI>> {
25747
+ const localVarAxiosArgs = await localVarAxiosParamCreator.eventControllerExploreVolume(
25748
+ eventVolumeInputDTO,
25749
+ options,
25750
+ );
25751
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25752
+ const localVarOperationServerBasePath =
25753
+ operationServerMap['EventApi.eventControllerExploreVolume']?.[localVarOperationServerIndex]?.url;
25754
+ return (axios, basePath) =>
25755
+ createRequestFunction(
25756
+ localVarAxiosArgs,
25757
+ globalAxios,
25758
+ BASE_PATH,
25759
+ configuration,
25760
+ )(axios, localVarOperationServerBasePath || basePath);
25761
+ },
24932
25762
  /**
24933
25763
  * Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
24934
25764
  * @summary Export events to CSV
@@ -25047,6 +25877,36 @@ export const EventApiFactory = function (configuration?: Configuration, basePath
25047
25877
  ): AxiosPromise<EventOutputDTO> {
25048
25878
  return localVarFp.eventControllerCreate(eventCreateDTO, options).then((request) => request(axios, basePath));
25049
25879
  },
25880
+ /**
25881
+ * Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
25882
+ * @summary Explore events
25883
+ * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
25884
+ * @param {*} [options] Override http request option.
25885
+ * @throws {RequiredError}
25886
+ */
25887
+ eventControllerExplore(
25888
+ eventExploreInputDTO?: EventExploreInputDTO,
25889
+ options?: RawAxiosRequestConfig,
25890
+ ): AxiosPromise<EventExploreOutputDTOAPI> {
25891
+ return localVarFp
25892
+ .eventControllerExplore(eventExploreInputDTO, options)
25893
+ .then((request) => request(axios, basePath));
25894
+ },
25895
+ /**
25896
+ * Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
25897
+ * @summary Get event volume time-series with optional grouping
25898
+ * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
25899
+ * @param {*} [options] Override http request option.
25900
+ * @throws {RequiredError}
25901
+ */
25902
+ eventControllerExploreVolume(
25903
+ eventVolumeInputDTO?: EventVolumeInputDTO,
25904
+ options?: RawAxiosRequestConfig,
25905
+ ): AxiosPromise<EventVolumeOutputDTOAPI> {
25906
+ return localVarFp
25907
+ .eventControllerExploreVolume(eventVolumeInputDTO, options)
25908
+ .then((request) => request(axios, basePath));
25909
+ },
25050
25910
  /**
25051
25911
  * Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
25052
25912
  * @summary Export events to CSV
@@ -25122,6 +25982,34 @@ export class EventApi extends BaseAPI {
25122
25982
  .then((request) => request(this.axios, this.basePath));
25123
25983
  }
25124
25984
 
25985
+ /**
25986
+ * Cursor-paginated event search. Rows are hydrated with the current display names of their related entities (player, gameserver, module, user). Use the returned `nextCursor` to fetch older events; pass `cursor: null` (or omit) to start from the newest. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExplore`
25987
+ * @summary Explore events
25988
+ * @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
25989
+ * @param {*} [options] Override http request option.
25990
+ * @throws {RequiredError}
25991
+ * @memberof EventApi
25992
+ */
25993
+ public eventControllerExplore(eventExploreInputDTO?: EventExploreInputDTO, options?: RawAxiosRequestConfig) {
25994
+ return EventApiFp(this.configuration)
25995
+ .eventControllerExplore(eventExploreInputDTO, options)
25996
+ .then((request) => request(this.axios, this.basePath));
25997
+ }
25998
+
25999
+ /**
26000
+ * Returns time-bucketed event counts, optionally stacked by event name or game server. Accepts the same filter shape as `/event/explore` so the graph matches the stream. Bucket size adapts to the range. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExploreVolume`
26001
+ * @summary Get event volume time-series with optional grouping
26002
+ * @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
26003
+ * @param {*} [options] Override http request option.
26004
+ * @throws {RequiredError}
26005
+ * @memberof EventApi
26006
+ */
26007
+ public eventControllerExploreVolume(eventVolumeInputDTO?: EventVolumeInputDTO, options?: RawAxiosRequestConfig) {
26008
+ return EventApiFp(this.configuration)
26009
+ .eventControllerExploreVolume(eventVolumeInputDTO, options)
26010
+ .then((request) => request(this.axios, this.basePath));
26011
+ }
26012
+
25125
26013
  /**
25126
26014
  * Export events matching the search criteria to CSV format. Accepts the same parameters as the search endpoint. Maximum time range is 90 days. Required permissions: `READ_EVENTS`<br> OperationId: `EventControllerExport`
25127
26015
  * @summary Export events to CSV
@@ -31326,6 +32214,51 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
31326
32214
  options: localVarRequestOptions,
31327
32215
  };
31328
32216
  },
32217
+ /**
32218
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
32219
+ * @summary Bulk assign role
32220
+ * @param {string} roleId
32221
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
32222
+ * @param {*} [options] Override http request option.
32223
+ * @throws {RequiredError}
32224
+ */
32225
+ playerControllerBulkAssignRole: async (
32226
+ roleId: string,
32227
+ playerBulkAssignRoleInputDTO?: PlayerBulkAssignRoleInputDTO,
32228
+ options: RawAxiosRequestConfig = {},
32229
+ ): Promise<RequestArgs> => {
32230
+ // verify required parameter 'roleId' is not null or undefined
32231
+ assertParamExists('playerControllerBulkAssignRole', 'roleId', roleId);
32232
+ const localVarPath = `/player/role/{roleId}`.replace(`{${'roleId'}}`, encodeURIComponent(String(roleId)));
32233
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
32234
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
32235
+ let baseOptions;
32236
+ if (configuration) {
32237
+ baseOptions = configuration.baseOptions;
32238
+ }
32239
+
32240
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
32241
+ const localVarHeaderParameter = {} as any;
32242
+ const localVarQueryParameter = {} as any;
32243
+
32244
+ // authentication domainAuth required
32245
+
32246
+ localVarHeaderParameter['Content-Type'] = 'application/json';
32247
+
32248
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
32249
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
32250
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
32251
+ localVarRequestOptions.data = serializeDataIfNeeded(
32252
+ playerBulkAssignRoleInputDTO,
32253
+ localVarRequestOptions,
32254
+ configuration,
32255
+ );
32256
+
32257
+ return {
32258
+ url: toPathString(localVarUrlObj),
32259
+ options: localVarRequestOptions,
32260
+ };
32261
+ },
31329
32262
  /**
31330
32263
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
31331
32264
  * @summary Bulk delete
@@ -31710,6 +32643,35 @@ export const PlayerApiFp = function (configuration?: Configuration) {
31710
32643
  configuration,
31711
32644
  )(axios, localVarOperationServerBasePath || basePath);
31712
32645
  },
32646
+ /**
32647
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
32648
+ * @summary Bulk assign role
32649
+ * @param {string} roleId
32650
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
32651
+ * @param {*} [options] Override http request option.
32652
+ * @throws {RequiredError}
32653
+ */
32654
+ async playerControllerBulkAssignRole(
32655
+ roleId: string,
32656
+ playerBulkAssignRoleInputDTO?: PlayerBulkAssignRoleInputDTO,
32657
+ options?: RawAxiosRequestConfig,
32658
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PlayerBulkAssignRoleOutputDTOAPI>> {
32659
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerBulkAssignRole(
32660
+ roleId,
32661
+ playerBulkAssignRoleInputDTO,
32662
+ options,
32663
+ );
32664
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
32665
+ const localVarOperationServerBasePath =
32666
+ operationServerMap['PlayerApi.playerControllerBulkAssignRole']?.[localVarOperationServerIndex]?.url;
32667
+ return (axios, basePath) =>
32668
+ createRequestFunction(
32669
+ localVarAxiosArgs,
32670
+ globalAxios,
32671
+ BASE_PATH,
32672
+ configuration,
32673
+ )(axios, localVarOperationServerBasePath || basePath);
32674
+ },
31713
32675
  /**
31714
32676
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
31715
32677
  * @summary Bulk delete
@@ -31945,6 +32907,23 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
31945
32907
  .playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
31946
32908
  .then((request) => request(axios, basePath));
31947
32909
  },
32910
+ /**
32911
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
32912
+ * @summary Bulk assign role
32913
+ * @param {string} roleId
32914
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
32915
+ * @param {*} [options] Override http request option.
32916
+ * @throws {RequiredError}
32917
+ */
32918
+ playerControllerBulkAssignRole(
32919
+ roleId: string,
32920
+ playerBulkAssignRoleInputDTO?: PlayerBulkAssignRoleInputDTO,
32921
+ options?: RawAxiosRequestConfig,
32922
+ ): AxiosPromise<PlayerBulkAssignRoleOutputDTOAPI> {
32923
+ return localVarFp
32924
+ .playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options)
32925
+ .then((request) => request(axios, basePath));
32926
+ },
31948
32927
  /**
31949
32928
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
31950
32929
  * @summary Bulk delete
@@ -32125,6 +33104,25 @@ export class PlayerApi extends BaseAPI {
32125
33104
  .then((request) => request(this.axios, this.basePath));
32126
33105
  }
32127
33106
 
33107
+ /**
33108
+ * Bulk assign a role to multiple players. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`, `MANAGE_ROLES`<br> OperationId: `PlayerControllerBulkAssignRole`
33109
+ * @summary Bulk assign role
33110
+ * @param {string} roleId
33111
+ * @param {PlayerBulkAssignRoleInputDTO} [playerBulkAssignRoleInputDTO] PlayerBulkAssignRoleInputDTO
33112
+ * @param {*} [options] Override http request option.
33113
+ * @throws {RequiredError}
33114
+ * @memberof PlayerApi
33115
+ */
33116
+ public playerControllerBulkAssignRole(
33117
+ roleId: string,
33118
+ playerBulkAssignRoleInputDTO?: PlayerBulkAssignRoleInputDTO,
33119
+ options?: RawAxiosRequestConfig,
33120
+ ) {
33121
+ return PlayerApiFp(this.configuration)
33122
+ .playerControllerBulkAssignRole(roleId, playerBulkAssignRoleInputDTO, options)
33123
+ .then((request) => request(this.axios, this.basePath));
33124
+ }
33125
+
32128
33126
  /**
32129
33127
  * Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
32130
33128
  * @summary Bulk delete
@@ -32276,6 +33274,54 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration?:
32276
33274
  options: localVarRequestOptions,
32277
33275
  };
32278
33276
  },
33277
+ /**
33278
+ * Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
33279
+ * @summary Bulk add currency
33280
+ * @param {string} gameServerId
33281
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
33282
+ * @param {*} [options] Override http request option.
33283
+ * @throws {RequiredError}
33284
+ */
33285
+ playerOnGameServerControllerBulkAddCurrency: async (
33286
+ gameServerId: string,
33287
+ pogBulkAddCurrencyInputDTO?: PogBulkAddCurrencyInputDTO,
33288
+ options: RawAxiosRequestConfig = {},
33289
+ ): Promise<RequestArgs> => {
33290
+ // verify required parameter 'gameServerId' is not null or undefined
33291
+ assertParamExists('playerOnGameServerControllerBulkAddCurrency', 'gameServerId', gameServerId);
33292
+ const localVarPath = `/gameserver/{gameServerId}/addCurrency`.replace(
33293
+ `{${'gameServerId'}}`,
33294
+ encodeURIComponent(String(gameServerId)),
33295
+ );
33296
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
33297
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
33298
+ let baseOptions;
33299
+ if (configuration) {
33300
+ baseOptions = configuration.baseOptions;
33301
+ }
33302
+
33303
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
33304
+ const localVarHeaderParameter = {} as any;
33305
+ const localVarQueryParameter = {} as any;
33306
+
33307
+ // authentication domainAuth required
33308
+
33309
+ localVarHeaderParameter['Content-Type'] = 'application/json';
33310
+
33311
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
33312
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
33313
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
33314
+ localVarRequestOptions.data = serializeDataIfNeeded(
33315
+ pogBulkAddCurrencyInputDTO,
33316
+ localVarRequestOptions,
33317
+ configuration,
33318
+ );
33319
+
33320
+ return {
33321
+ url: toPathString(localVarUrlObj),
33322
+ options: localVarRequestOptions,
33323
+ };
33324
+ },
32279
33325
  /**
32280
33326
  * Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
32281
33327
  * @summary Bulk delete
@@ -32647,6 +33693,37 @@ export const PlayerOnGameServerApiFp = function (configuration?: Configuration)
32647
33693
  configuration,
32648
33694
  )(axios, localVarOperationServerBasePath || basePath);
32649
33695
  },
33696
+ /**
33697
+ * Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
33698
+ * @summary Bulk add currency
33699
+ * @param {string} gameServerId
33700
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
33701
+ * @param {*} [options] Override http request option.
33702
+ * @throws {RequiredError}
33703
+ */
33704
+ async playerOnGameServerControllerBulkAddCurrency(
33705
+ gameServerId: string,
33706
+ pogBulkAddCurrencyInputDTO?: PogBulkAddCurrencyInputDTO,
33707
+ options?: RawAxiosRequestConfig,
33708
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PogBulkAddCurrencyOutputDTOAPI>> {
33709
+ const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerBulkAddCurrency(
33710
+ gameServerId,
33711
+ pogBulkAddCurrencyInputDTO,
33712
+ options,
33713
+ );
33714
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
33715
+ const localVarOperationServerBasePath =
33716
+ operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerBulkAddCurrency']?.[
33717
+ localVarOperationServerIndex
33718
+ ]?.url;
33719
+ return (axios, basePath) =>
33720
+ createRequestFunction(
33721
+ localVarAxiosArgs,
33722
+ globalAxios,
33723
+ BASE_PATH,
33724
+ configuration,
33725
+ )(axios, localVarOperationServerBasePath || basePath);
33726
+ },
32650
33727
  /**
32651
33728
  * Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
32652
33729
  * @summary Bulk delete
@@ -32903,6 +33980,23 @@ export const PlayerOnGameServerApiFactory = function (
32903
33980
  .playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
32904
33981
  .then((request) => request(axios, basePath));
32905
33982
  },
33983
+ /**
33984
+ * Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
33985
+ * @summary Bulk add currency
33986
+ * @param {string} gameServerId
33987
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
33988
+ * @param {*} [options] Override http request option.
33989
+ * @throws {RequiredError}
33990
+ */
33991
+ playerOnGameServerControllerBulkAddCurrency(
33992
+ gameServerId: string,
33993
+ pogBulkAddCurrencyInputDTO?: PogBulkAddCurrencyInputDTO,
33994
+ options?: RawAxiosRequestConfig,
33995
+ ): AxiosPromise<PogBulkAddCurrencyOutputDTOAPI> {
33996
+ return localVarFp
33997
+ .playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options)
33998
+ .then((request) => request(axios, basePath));
33999
+ },
32906
34000
  /**
32907
34001
  * Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
32908
34002
  * @summary Bulk delete
@@ -33070,6 +34164,25 @@ export class PlayerOnGameServerApi extends BaseAPI {
33070
34164
  .then((request) => request(this.axios, this.basePath));
33071
34165
  }
33072
34166
 
34167
+ /**
34168
+ * Bulk add currency to multiple players on a game server. Processes each player individually and reports partial failures. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkAddCurrency`
34169
+ * @summary Bulk add currency
34170
+ * @param {string} gameServerId
34171
+ * @param {PogBulkAddCurrencyInputDTO} [pogBulkAddCurrencyInputDTO] PogBulkAddCurrencyInputDTO
34172
+ * @param {*} [options] Override http request option.
34173
+ * @throws {RequiredError}
34174
+ * @memberof PlayerOnGameServerApi
34175
+ */
34176
+ public playerOnGameServerControllerBulkAddCurrency(
34177
+ gameServerId: string,
34178
+ pogBulkAddCurrencyInputDTO?: PogBulkAddCurrencyInputDTO,
34179
+ options?: RawAxiosRequestConfig,
34180
+ ) {
34181
+ return PlayerOnGameServerApiFp(this.configuration)
34182
+ .playerOnGameServerControllerBulkAddCurrency(gameServerId, pogBulkAddCurrencyInputDTO, options)
34183
+ .then((request) => request(this.axios, this.basePath));
34184
+ }
34185
+
33073
34186
  /**
33074
34187
  * Bulk delete POG records by player IDs for a specific gameserver. Deletes POG records only, Player records remain intact. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerBulkDelete`
33075
34188
  * @summary Bulk delete