@takaro/apiclient 0.0.0-dev.814dfa1 → 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.
- package/dist/generated/api.d.ts +328 -24
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +169 -12
- package/dist/generated/api.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/api.ts +485 -24
package/src/generated/api.ts
CHANGED
|
@@ -3461,10 +3461,10 @@ export interface EventExploreInputDTO {
|
|
|
3461
3461
|
filters?: EventExploreFiltersDTO;
|
|
3462
3462
|
/**
|
|
3463
3463
|
*
|
|
3464
|
-
* @type {Array<
|
|
3464
|
+
* @type {Array<MetaFilterGroupOrLeafDTO>}
|
|
3465
3465
|
* @memberof EventExploreInputDTO
|
|
3466
3466
|
*/
|
|
3467
|
-
metaFilters?: Array<
|
|
3467
|
+
metaFilters?: Array<MetaFilterGroupOrLeafDTO>;
|
|
3468
3468
|
/**
|
|
3469
3469
|
*
|
|
3470
3470
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -4148,12 +4148,11 @@ export interface EventVolumeDimensionTotalDTO {
|
|
|
4148
4148
|
*/
|
|
4149
4149
|
key: string;
|
|
4150
4150
|
/**
|
|
4151
|
-
*
|
|
4152
|
-
* "other" bucket or when the entity no longer exists.
|
|
4151
|
+
*
|
|
4153
4152
|
* @type {string}
|
|
4154
4153
|
* @memberof EventVolumeDimensionTotalDTO
|
|
4155
4154
|
*/
|
|
4156
|
-
name?: string
|
|
4155
|
+
name?: string;
|
|
4157
4156
|
/**
|
|
4158
4157
|
*
|
|
4159
4158
|
* @type {number}
|
|
@@ -4175,10 +4174,10 @@ export interface EventVolumeInputDTO {
|
|
|
4175
4174
|
filters?: EventExploreFiltersDTO;
|
|
4176
4175
|
/**
|
|
4177
4176
|
*
|
|
4178
|
-
* @type {Array<
|
|
4177
|
+
* @type {Array<MetaFilterGroupOrLeafDTO>}
|
|
4179
4178
|
* @memberof EventVolumeInputDTO
|
|
4180
4179
|
*/
|
|
4181
|
-
metaFilters?: Array<
|
|
4180
|
+
metaFilters?: Array<MetaFilterGroupOrLeafDTO>;
|
|
4182
4181
|
/**
|
|
4183
4182
|
*
|
|
4184
4183
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -4198,8 +4197,7 @@ export interface EventVolumeInputDTO {
|
|
|
4198
4197
|
*/
|
|
4199
4198
|
groupBy?: EventVolumeInputDTOGroupByEnum;
|
|
4200
4199
|
/**
|
|
4201
|
-
*
|
|
4202
|
-
* for standard preset windows with empty filters.
|
|
4200
|
+
*
|
|
4203
4201
|
* @type {string}
|
|
4204
4202
|
* @memberof EventVolumeInputDTO
|
|
4205
4203
|
*/
|
|
@@ -4284,12 +4282,11 @@ export interface EventVolumeSeriesDTO {
|
|
|
4284
4282
|
*/
|
|
4285
4283
|
key: string;
|
|
4286
4284
|
/**
|
|
4287
|
-
*
|
|
4288
|
-
* "other" bucket or when the entity no longer exists.
|
|
4285
|
+
*
|
|
4289
4286
|
* @type {string}
|
|
4290
4287
|
* @memberof EventVolumeSeriesDTO
|
|
4291
4288
|
*/
|
|
4292
|
-
name?: string
|
|
4289
|
+
name?: string;
|
|
4293
4290
|
/**
|
|
4294
4291
|
*
|
|
4295
4292
|
* @type {Array<EventVolumePointDTO>}
|
|
@@ -7671,6 +7668,62 @@ export interface MessageSendInputDTO {
|
|
|
7671
7668
|
*/
|
|
7672
7669
|
opts?: IMessageOptsDTO;
|
|
7673
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
|
+
|
|
7674
7727
|
/**
|
|
7675
7728
|
*
|
|
7676
7729
|
* @export
|
|
@@ -9324,6 +9377,19 @@ export const ParamKeyKeyEnum = {
|
|
|
9324
9377
|
|
|
9325
9378
|
export type ParamKeyKeyEnum = (typeof ParamKeyKeyEnum)[keyof typeof ParamKeyKeyEnum];
|
|
9326
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
|
+
}
|
|
9327
9393
|
/**
|
|
9328
9394
|
*
|
|
9329
9395
|
* @export
|
|
@@ -9648,6 +9714,94 @@ export interface PlayerActivityMixEntryDTOAPI {
|
|
|
9648
9714
|
*/
|
|
9649
9715
|
meta: MetadataOutput;
|
|
9650
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
|
+
}
|
|
9651
9805
|
/**
|
|
9652
9806
|
*
|
|
9653
9807
|
* @export
|
|
@@ -11405,6 +11559,88 @@ export interface PlayersByItemInputDTO {
|
|
|
11405
11559
|
*/
|
|
11406
11560
|
endDate?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
11407
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
|
+
}
|
|
11408
11644
|
/**
|
|
11409
11645
|
*
|
|
11410
11646
|
* @export
|
|
@@ -25224,8 +25460,8 @@ export const EventApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
25224
25460
|
};
|
|
25225
25461
|
},
|
|
25226
25462
|
/**
|
|
25227
|
-
* Cursor-paginated event search
|
|
25228
|
-
* @summary Explore events
|
|
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
|
|
25229
25465
|
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
25230
25466
|
* @param {*} [options] Override http request option.
|
|
25231
25467
|
* @throws {RequiredError}
|
|
@@ -25261,7 +25497,7 @@ export const EventApiAxiosParamCreator = function (configuration?: Configuration
|
|
|
25261
25497
|
};
|
|
25262
25498
|
},
|
|
25263
25499
|
/**
|
|
25264
|
-
* 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.
|
|
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`
|
|
25265
25501
|
* @summary Get event volume time-series with optional grouping
|
|
25266
25502
|
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
25267
25503
|
* @param {*} [options] Override http request option.
|
|
@@ -25475,8 +25711,8 @@ export const EventApiFp = function (configuration?: Configuration) {
|
|
|
25475
25711
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
25476
25712
|
},
|
|
25477
25713
|
/**
|
|
25478
|
-
* Cursor-paginated event search
|
|
25479
|
-
* @summary Explore events
|
|
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
|
|
25480
25716
|
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
25481
25717
|
* @param {*} [options] Override http request option.
|
|
25482
25718
|
* @throws {RequiredError}
|
|
@@ -25498,7 +25734,7 @@ export const EventApiFp = function (configuration?: Configuration) {
|
|
|
25498
25734
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
25499
25735
|
},
|
|
25500
25736
|
/**
|
|
25501
|
-
* 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.
|
|
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`
|
|
25502
25738
|
* @summary Get event volume time-series with optional grouping
|
|
25503
25739
|
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
25504
25740
|
* @param {*} [options] Override http request option.
|
|
@@ -25642,8 +25878,8 @@ export const EventApiFactory = function (configuration?: Configuration, basePath
|
|
|
25642
25878
|
return localVarFp.eventControllerCreate(eventCreateDTO, options).then((request) => request(axios, basePath));
|
|
25643
25879
|
},
|
|
25644
25880
|
/**
|
|
25645
|
-
* Cursor-paginated event search
|
|
25646
|
-
* @summary Explore events
|
|
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
|
|
25647
25883
|
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
25648
25884
|
* @param {*} [options] Override http request option.
|
|
25649
25885
|
* @throws {RequiredError}
|
|
@@ -25657,7 +25893,7 @@ export const EventApiFactory = function (configuration?: Configuration, basePath
|
|
|
25657
25893
|
.then((request) => request(axios, basePath));
|
|
25658
25894
|
},
|
|
25659
25895
|
/**
|
|
25660
|
-
* 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.
|
|
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`
|
|
25661
25897
|
* @summary Get event volume time-series with optional grouping
|
|
25662
25898
|
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
25663
25899
|
* @param {*} [options] Override http request option.
|
|
@@ -25747,8 +25983,8 @@ export class EventApi extends BaseAPI {
|
|
|
25747
25983
|
}
|
|
25748
25984
|
|
|
25749
25985
|
/**
|
|
25750
|
-
* Cursor-paginated event search
|
|
25751
|
-
* @summary Explore events
|
|
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
|
|
25752
25988
|
* @param {EventExploreInputDTO} [eventExploreInputDTO] EventExploreInputDTO
|
|
25753
25989
|
* @param {*} [options] Override http request option.
|
|
25754
25990
|
* @throws {RequiredError}
|
|
@@ -25761,7 +25997,7 @@ export class EventApi extends BaseAPI {
|
|
|
25761
25997
|
}
|
|
25762
25998
|
|
|
25763
25999
|
/**
|
|
25764
|
-
* 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.
|
|
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`
|
|
25765
26001
|
* @summary Get event volume time-series with optional grouping
|
|
25766
26002
|
* @param {EventVolumeInputDTO} [eventVolumeInputDTO] EventVolumeInputDTO
|
|
25767
26003
|
* @param {*} [options] Override http request option.
|
|
@@ -31978,6 +32214,51 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
31978
32214
|
options: localVarRequestOptions,
|
|
31979
32215
|
};
|
|
31980
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
|
+
},
|
|
31981
32262
|
/**
|
|
31982
32263
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
31983
32264
|
* @summary Bulk delete
|
|
@@ -32362,6 +32643,35 @@ export const PlayerApiFp = function (configuration?: Configuration) {
|
|
|
32362
32643
|
configuration,
|
|
32363
32644
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
32364
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
|
+
},
|
|
32365
32675
|
/**
|
|
32366
32676
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
32367
32677
|
* @summary Bulk delete
|
|
@@ -32597,6 +32907,23 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
|
|
|
32597
32907
|
.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
|
|
32598
32908
|
.then((request) => request(axios, basePath));
|
|
32599
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
|
+
},
|
|
32600
32927
|
/**
|
|
32601
32928
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
32602
32929
|
* @summary Bulk delete
|
|
@@ -32777,6 +33104,25 @@ export class PlayerApi extends BaseAPI {
|
|
|
32777
33104
|
.then((request) => request(this.axios, this.basePath));
|
|
32778
33105
|
}
|
|
32779
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
|
+
|
|
32780
33126
|
/**
|
|
32781
33127
|
* Bulk delete players by their IDs. Deletes Player records which cascades to POG records. Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerBulkDelete`
|
|
32782
33128
|
* @summary Bulk delete
|
|
@@ -32928,6 +33274,54 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration?:
|
|
|
32928
33274
|
options: localVarRequestOptions,
|
|
32929
33275
|
};
|
|
32930
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
|
+
},
|
|
32931
33325
|
/**
|
|
32932
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`
|
|
32933
33327
|
* @summary Bulk delete
|
|
@@ -33299,6 +33693,37 @@ export const PlayerOnGameServerApiFp = function (configuration?: Configuration)
|
|
|
33299
33693
|
configuration,
|
|
33300
33694
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
33301
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
|
+
},
|
|
33302
33727
|
/**
|
|
33303
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`
|
|
33304
33729
|
* @summary Bulk delete
|
|
@@ -33555,6 +33980,23 @@ export const PlayerOnGameServerApiFactory = function (
|
|
|
33555
33980
|
.playerOnGameServerControllerAddCurrency(gameServerId, playerId, playerOnGameServerSetCurrencyInputDTO, options)
|
|
33556
33981
|
.then((request) => request(axios, basePath));
|
|
33557
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
|
+
},
|
|
33558
34000
|
/**
|
|
33559
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`
|
|
33560
34002
|
* @summary Bulk delete
|
|
@@ -33722,6 +34164,25 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
33722
34164
|
.then((request) => request(this.axios, this.basePath));
|
|
33723
34165
|
}
|
|
33724
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
|
+
|
|
33725
34186
|
/**
|
|
33726
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`
|
|
33727
34188
|
* @summary Bulk delete
|