@takaro/apiclient 0.3.3 → 0.4.0
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 +1244 -9
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +536 -0
- package/dist/generated/api.js.map +1 -1
- package/dist/lib/client.d.ts +2 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +6 -1
- package/dist/lib/client.js.map +1 -1
- package/package.json +1 -1
- package/src/generated/api.ts +1645 -7
- package/src/lib/client.ts +11 -0
- package/src/generated/.openapi-generator/FILES +0 -423
- package/src/generated/.openapi-generator/VERSION +0 -1
package/src/generated/api.ts
CHANGED
|
@@ -650,6 +650,37 @@ export interface BoundingBoxSearchInputDTO {
|
|
|
650
650
|
*/
|
|
651
651
|
gameserverId: string;
|
|
652
652
|
}
|
|
653
|
+
/**
|
|
654
|
+
*
|
|
655
|
+
* @export
|
|
656
|
+
* @interface CategoryPerformanceDTO
|
|
657
|
+
*/
|
|
658
|
+
export interface CategoryPerformanceDTO {
|
|
659
|
+
/**
|
|
660
|
+
*
|
|
661
|
+
* @type {string}
|
|
662
|
+
* @memberof CategoryPerformanceDTO
|
|
663
|
+
*/
|
|
664
|
+
name: string;
|
|
665
|
+
/**
|
|
666
|
+
*
|
|
667
|
+
* @type {number}
|
|
668
|
+
* @memberof CategoryPerformanceDTO
|
|
669
|
+
*/
|
|
670
|
+
revenue: number;
|
|
671
|
+
/**
|
|
672
|
+
*
|
|
673
|
+
* @type {number}
|
|
674
|
+
* @memberof CategoryPerformanceDTO
|
|
675
|
+
*/
|
|
676
|
+
orders: number;
|
|
677
|
+
/**
|
|
678
|
+
*
|
|
679
|
+
* @type {number}
|
|
680
|
+
* @memberof CategoryPerformanceDTO
|
|
681
|
+
*/
|
|
682
|
+
percentage: number;
|
|
683
|
+
}
|
|
653
684
|
/**
|
|
654
685
|
*
|
|
655
686
|
* @export
|
|
@@ -1543,6 +1574,99 @@ export interface CronJobUpdateDTO {
|
|
|
1543
1574
|
*/
|
|
1544
1575
|
function?: string;
|
|
1545
1576
|
}
|
|
1577
|
+
/**
|
|
1578
|
+
*
|
|
1579
|
+
* @export
|
|
1580
|
+
* @interface CustomerMetricsDTO
|
|
1581
|
+
*/
|
|
1582
|
+
export interface CustomerMetricsDTO {
|
|
1583
|
+
/**
|
|
1584
|
+
*
|
|
1585
|
+
* @type {Array<CustomerSegmentDTO>}
|
|
1586
|
+
* @memberof CustomerMetricsDTO
|
|
1587
|
+
*/
|
|
1588
|
+
segments: Array<CustomerSegmentDTO>;
|
|
1589
|
+
/**
|
|
1590
|
+
*
|
|
1591
|
+
* @type {Array<TopBuyerDTO>}
|
|
1592
|
+
* @memberof CustomerMetricsDTO
|
|
1593
|
+
*/
|
|
1594
|
+
topBuyers: Array<TopBuyerDTO>;
|
|
1595
|
+
/**
|
|
1596
|
+
*
|
|
1597
|
+
* @type {number}
|
|
1598
|
+
* @memberof CustomerMetricsDTO
|
|
1599
|
+
*/
|
|
1600
|
+
repeatRate: number;
|
|
1601
|
+
/**
|
|
1602
|
+
*
|
|
1603
|
+
* @type {number}
|
|
1604
|
+
* @memberof CustomerMetricsDTO
|
|
1605
|
+
*/
|
|
1606
|
+
newCustomers: number;
|
|
1607
|
+
/**
|
|
1608
|
+
*
|
|
1609
|
+
* @type {number}
|
|
1610
|
+
* @memberof CustomerMetricsDTO
|
|
1611
|
+
*/
|
|
1612
|
+
totalCustomers: number;
|
|
1613
|
+
}
|
|
1614
|
+
/**
|
|
1615
|
+
*
|
|
1616
|
+
* @export
|
|
1617
|
+
* @interface CustomerSegmentDTO
|
|
1618
|
+
*/
|
|
1619
|
+
export interface CustomerSegmentDTO {
|
|
1620
|
+
/**
|
|
1621
|
+
*
|
|
1622
|
+
* @type {string}
|
|
1623
|
+
* @memberof CustomerSegmentDTO
|
|
1624
|
+
*/
|
|
1625
|
+
name: string;
|
|
1626
|
+
/**
|
|
1627
|
+
*
|
|
1628
|
+
* @type {number}
|
|
1629
|
+
* @memberof CustomerSegmentDTO
|
|
1630
|
+
*/
|
|
1631
|
+
count: number;
|
|
1632
|
+
/**
|
|
1633
|
+
*
|
|
1634
|
+
* @type {number}
|
|
1635
|
+
* @memberof CustomerSegmentDTO
|
|
1636
|
+
*/
|
|
1637
|
+
percentage: number;
|
|
1638
|
+
/**
|
|
1639
|
+
*
|
|
1640
|
+
* @type {string}
|
|
1641
|
+
* @memberof CustomerSegmentDTO
|
|
1642
|
+
*/
|
|
1643
|
+
color: string;
|
|
1644
|
+
}
|
|
1645
|
+
/**
|
|
1646
|
+
*
|
|
1647
|
+
* @export
|
|
1648
|
+
* @interface DeadStockItemDTO
|
|
1649
|
+
*/
|
|
1650
|
+
export interface DeadStockItemDTO {
|
|
1651
|
+
/**
|
|
1652
|
+
*
|
|
1653
|
+
* @type {string}
|
|
1654
|
+
* @memberof DeadStockItemDTO
|
|
1655
|
+
*/
|
|
1656
|
+
id: string;
|
|
1657
|
+
/**
|
|
1658
|
+
*
|
|
1659
|
+
* @type {string}
|
|
1660
|
+
* @memberof DeadStockItemDTO
|
|
1661
|
+
*/
|
|
1662
|
+
name: string;
|
|
1663
|
+
/**
|
|
1664
|
+
*
|
|
1665
|
+
* @type {number}
|
|
1666
|
+
* @memberof DeadStockItemDTO
|
|
1667
|
+
*/
|
|
1668
|
+
daysSinceCreated: number;
|
|
1669
|
+
}
|
|
1546
1670
|
/**
|
|
1547
1671
|
*
|
|
1548
1672
|
* @export
|
|
@@ -1761,6 +1885,25 @@ export interface DiscordInviteOutputDTO {
|
|
|
1761
1885
|
*/
|
|
1762
1886
|
meta: MetadataOutput;
|
|
1763
1887
|
}
|
|
1888
|
+
/**
|
|
1889
|
+
*
|
|
1890
|
+
* @export
|
|
1891
|
+
* @interface DiscordMessageParams
|
|
1892
|
+
*/
|
|
1893
|
+
export interface DiscordMessageParams {
|
|
1894
|
+
/**
|
|
1895
|
+
*
|
|
1896
|
+
* @type {string}
|
|
1897
|
+
* @memberof DiscordMessageParams
|
|
1898
|
+
*/
|
|
1899
|
+
channelId: string;
|
|
1900
|
+
/**
|
|
1901
|
+
*
|
|
1902
|
+
* @type {string}
|
|
1903
|
+
* @memberof DiscordMessageParams
|
|
1904
|
+
*/
|
|
1905
|
+
messageId: string;
|
|
1906
|
+
}
|
|
1764
1907
|
/**
|
|
1765
1908
|
*
|
|
1766
1909
|
* @export
|
|
@@ -2767,8 +2910,10 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
2767
2910
|
CronjobExecuted: 'cronjob-executed',
|
|
2768
2911
|
CurrencyAdded: 'currency-added',
|
|
2769
2912
|
CurrencyDeducted: 'currency-deducted',
|
|
2913
|
+
CurrencyResetAll: 'currency-reset-all',
|
|
2770
2914
|
SettingsSet: 'settings-set',
|
|
2771
2915
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
2916
|
+
PlayerNewNameDetected: 'player-new-name-detected',
|
|
2772
2917
|
ServerStatusChanged: 'server-status-changed',
|
|
2773
2918
|
ModuleCreated: 'module-created',
|
|
2774
2919
|
ModuleUpdated: 'module-updated',
|
|
@@ -2788,6 +2933,7 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
2788
2933
|
GameserverDeleted: 'gameserver-deleted',
|
|
2789
2934
|
PlayerBanned: 'player-banned',
|
|
2790
2935
|
PlayerUnbanned: 'player-unbanned',
|
|
2936
|
+
PlayerDeleted: 'player-deleted',
|
|
2791
2937
|
PlayerConnected: 'player-connected',
|
|
2792
2938
|
PlayerDisconnected: 'player-disconnected',
|
|
2793
2939
|
ChatMessage: 'chat-message',
|
|
@@ -3039,8 +3185,10 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
3039
3185
|
CronjobExecuted: 'cronjob-executed',
|
|
3040
3186
|
CurrencyAdded: 'currency-added',
|
|
3041
3187
|
CurrencyDeducted: 'currency-deducted',
|
|
3188
|
+
CurrencyResetAll: 'currency-reset-all',
|
|
3042
3189
|
SettingsSet: 'settings-set',
|
|
3043
3190
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
3191
|
+
PlayerNewNameDetected: 'player-new-name-detected',
|
|
3044
3192
|
ServerStatusChanged: 'server-status-changed',
|
|
3045
3193
|
ModuleCreated: 'module-created',
|
|
3046
3194
|
ModuleUpdated: 'module-updated',
|
|
@@ -3060,6 +3208,7 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
3060
3208
|
GameserverDeleted: 'gameserver-deleted',
|
|
3061
3209
|
PlayerBanned: 'player-banned',
|
|
3062
3210
|
PlayerUnbanned: 'player-unbanned',
|
|
3211
|
+
PlayerDeleted: 'player-deleted',
|
|
3063
3212
|
PlayerConnected: 'player-connected',
|
|
3064
3213
|
PlayerDisconnected: 'player-disconnected',
|
|
3065
3214
|
ChatMessage: 'chat-message',
|
|
@@ -3087,6 +3236,7 @@ export type EventOutputDTOMeta =
|
|
|
3087
3236
|
| TakaroEventCronjobExecuted
|
|
3088
3237
|
| TakaroEventCurrencyAdded
|
|
3089
3238
|
| TakaroEventCurrencyDeducted
|
|
3239
|
+
| TakaroEventCurrencyResetAll
|
|
3090
3240
|
| TakaroEventGameserverCreated
|
|
3091
3241
|
| TakaroEventGameserverDeleted
|
|
3092
3242
|
| TakaroEventGameserverUpdated
|
|
@@ -3098,8 +3248,10 @@ export type EventOutputDTOMeta =
|
|
|
3098
3248
|
| TakaroEventModuleUpdated
|
|
3099
3249
|
| TakaroEventPlayerBanned
|
|
3100
3250
|
| TakaroEventPlayerCreated
|
|
3251
|
+
| TakaroEventPlayerDeleted
|
|
3101
3252
|
| TakaroEventPlayerLinked
|
|
3102
3253
|
| TakaroEventPlayerNewIpDetected
|
|
3254
|
+
| TakaroEventPlayerNewNameDetected
|
|
3103
3255
|
| TakaroEventPlayerUnbanned
|
|
3104
3256
|
| TakaroEventRoleAssigned
|
|
3105
3257
|
| TakaroEventRoleCreated
|
|
@@ -3264,8 +3416,10 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
3264
3416
|
CronjobExecuted: 'cronjob-executed',
|
|
3265
3417
|
CurrencyAdded: 'currency-added',
|
|
3266
3418
|
CurrencyDeducted: 'currency-deducted',
|
|
3419
|
+
CurrencyResetAll: 'currency-reset-all',
|
|
3267
3420
|
SettingsSet: 'settings-set',
|
|
3268
3421
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
3422
|
+
PlayerNewNameDetected: 'player-new-name-detected',
|
|
3269
3423
|
ServerStatusChanged: 'server-status-changed',
|
|
3270
3424
|
ModuleCreated: 'module-created',
|
|
3271
3425
|
ModuleUpdated: 'module-updated',
|
|
@@ -3285,6 +3439,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
|
|
|
3285
3439
|
GameserverDeleted: 'gameserver-deleted',
|
|
3286
3440
|
PlayerBanned: 'player-banned',
|
|
3287
3441
|
PlayerUnbanned: 'player-unbanned',
|
|
3442
|
+
PlayerDeleted: 'player-deleted',
|
|
3288
3443
|
PlayerConnected: 'player-connected',
|
|
3289
3444
|
PlayerDisconnected: 'player-disconnected',
|
|
3290
3445
|
ChatMessage: 'chat-message',
|
|
@@ -3448,8 +3603,10 @@ export const EventsCountInputDTOEventNameEnum = {
|
|
|
3448
3603
|
CronjobExecuted: 'cronjob-executed',
|
|
3449
3604
|
CurrencyAdded: 'currency-added',
|
|
3450
3605
|
CurrencyDeducted: 'currency-deducted',
|
|
3606
|
+
CurrencyResetAll: 'currency-reset-all',
|
|
3451
3607
|
SettingsSet: 'settings-set',
|
|
3452
3608
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
3609
|
+
PlayerNewNameDetected: 'player-new-name-detected',
|
|
3453
3610
|
ServerStatusChanged: 'server-status-changed',
|
|
3454
3611
|
ModuleCreated: 'module-created',
|
|
3455
3612
|
ModuleUpdated: 'module-updated',
|
|
@@ -3469,6 +3626,7 @@ export const EventsCountInputDTOEventNameEnum = {
|
|
|
3469
3626
|
GameserverDeleted: 'gameserver-deleted',
|
|
3470
3627
|
PlayerBanned: 'player-banned',
|
|
3471
3628
|
PlayerUnbanned: 'player-unbanned',
|
|
3629
|
+
PlayerDeleted: 'player-deleted',
|
|
3472
3630
|
PlayerConnected: 'player-connected',
|
|
3473
3631
|
PlayerDisconnected: 'player-disconnected',
|
|
3474
3632
|
ChatMessage: 'chat-message',
|
|
@@ -4264,6 +4422,7 @@ export const GetJobInputDTOTypeEnum = {
|
|
|
4264
4422
|
SyncEntities: 'syncEntities',
|
|
4265
4423
|
SyncBans: 'syncBans',
|
|
4266
4424
|
SyncSteam: 'syncSteam',
|
|
4425
|
+
SyncDiscordRoles: 'syncDiscordRoles',
|
|
4267
4426
|
} as const;
|
|
4268
4427
|
|
|
4269
4428
|
export type GetJobInputDTOTypeEnum = (typeof GetJobInputDTOTypeEnum)[keyof typeof GetJobInputDTOTypeEnum];
|
|
@@ -4296,6 +4455,8 @@ export const GetSettingsInputKeysEnum = {
|
|
|
4296
4455
|
DeveloperMode: 'developerMode',
|
|
4297
4456
|
MessagePrefix: 'messagePrefix',
|
|
4298
4457
|
DomainName: 'domainName',
|
|
4458
|
+
DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
|
|
4459
|
+
DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
|
|
4299
4460
|
} as const;
|
|
4300
4461
|
|
|
4301
4462
|
export type GetSettingsInputKeysEnum = (typeof GetSettingsInputKeysEnum)[keyof typeof GetSettingsInputKeysEnum];
|
|
@@ -4610,6 +4771,31 @@ export interface HealthOutputDTO {
|
|
|
4610
4771
|
*/
|
|
4611
4772
|
healthy: boolean;
|
|
4612
4773
|
}
|
|
4774
|
+
/**
|
|
4775
|
+
*
|
|
4776
|
+
* @export
|
|
4777
|
+
* @interface HeatmapDataPointDTO
|
|
4778
|
+
*/
|
|
4779
|
+
export interface HeatmapDataPointDTO {
|
|
4780
|
+
/**
|
|
4781
|
+
*
|
|
4782
|
+
* @type {number}
|
|
4783
|
+
* @memberof HeatmapDataPointDTO
|
|
4784
|
+
*/
|
|
4785
|
+
day: number;
|
|
4786
|
+
/**
|
|
4787
|
+
*
|
|
4788
|
+
* @type {number}
|
|
4789
|
+
* @memberof HeatmapDataPointDTO
|
|
4790
|
+
*/
|
|
4791
|
+
hour: number;
|
|
4792
|
+
/**
|
|
4793
|
+
*
|
|
4794
|
+
* @type {number}
|
|
4795
|
+
* @memberof HeatmapDataPointDTO
|
|
4796
|
+
*/
|
|
4797
|
+
value: number;
|
|
4798
|
+
}
|
|
4613
4799
|
/**
|
|
4614
4800
|
*
|
|
4615
4801
|
* @export
|
|
@@ -4673,8 +4859,10 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
4673
4859
|
CronjobExecuted: 'cronjob-executed',
|
|
4674
4860
|
CurrencyAdded: 'currency-added',
|
|
4675
4861
|
CurrencyDeducted: 'currency-deducted',
|
|
4862
|
+
CurrencyResetAll: 'currency-reset-all',
|
|
4676
4863
|
SettingsSet: 'settings-set',
|
|
4677
4864
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
4865
|
+
PlayerNewNameDetected: 'player-new-name-detected',
|
|
4678
4866
|
ServerStatusChanged: 'server-status-changed',
|
|
4679
4867
|
ModuleCreated: 'module-created',
|
|
4680
4868
|
ModuleUpdated: 'module-updated',
|
|
@@ -4694,6 +4882,7 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
4694
4882
|
GameserverDeleted: 'gameserver-deleted',
|
|
4695
4883
|
PlayerBanned: 'player-banned',
|
|
4696
4884
|
PlayerUnbanned: 'player-unbanned',
|
|
4885
|
+
PlayerDeleted: 'player-deleted',
|
|
4697
4886
|
} as const;
|
|
4698
4887
|
|
|
4699
4888
|
export type HookCreateDTOEventTypeEnum = (typeof HookCreateDTOEventTypeEnum)[keyof typeof HookCreateDTOEventTypeEnum];
|
|
@@ -4829,8 +5018,10 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
4829
5018
|
CronjobExecuted: 'cronjob-executed',
|
|
4830
5019
|
CurrencyAdded: 'currency-added',
|
|
4831
5020
|
CurrencyDeducted: 'currency-deducted',
|
|
5021
|
+
CurrencyResetAll: 'currency-reset-all',
|
|
4832
5022
|
SettingsSet: 'settings-set',
|
|
4833
5023
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
5024
|
+
PlayerNewNameDetected: 'player-new-name-detected',
|
|
4834
5025
|
ServerStatusChanged: 'server-status-changed',
|
|
4835
5026
|
ModuleCreated: 'module-created',
|
|
4836
5027
|
ModuleUpdated: 'module-updated',
|
|
@@ -4850,6 +5041,7 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
4850
5041
|
GameserverDeleted: 'gameserver-deleted',
|
|
4851
5042
|
PlayerBanned: 'player-banned',
|
|
4852
5043
|
PlayerUnbanned: 'player-unbanned',
|
|
5044
|
+
PlayerDeleted: 'player-deleted',
|
|
4853
5045
|
} as const;
|
|
4854
5046
|
|
|
4855
5047
|
export type HookOutputDTOEventTypeEnum = (typeof HookOutputDTOEventTypeEnum)[keyof typeof HookOutputDTOEventTypeEnum];
|
|
@@ -4930,8 +5122,10 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
4930
5122
|
CronjobExecuted: 'cronjob-executed',
|
|
4931
5123
|
CurrencyAdded: 'currency-added',
|
|
4932
5124
|
CurrencyDeducted: 'currency-deducted',
|
|
5125
|
+
CurrencyResetAll: 'currency-reset-all',
|
|
4933
5126
|
SettingsSet: 'settings-set',
|
|
4934
5127
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
5128
|
+
PlayerNewNameDetected: 'player-new-name-detected',
|
|
4935
5129
|
ServerStatusChanged: 'server-status-changed',
|
|
4936
5130
|
ModuleCreated: 'module-created',
|
|
4937
5131
|
ModuleUpdated: 'module-updated',
|
|
@@ -4951,6 +5145,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
|
|
|
4951
5145
|
GameserverDeleted: 'gameserver-deleted',
|
|
4952
5146
|
PlayerBanned: 'player-banned',
|
|
4953
5147
|
PlayerUnbanned: 'player-unbanned',
|
|
5148
|
+
PlayerDeleted: 'player-deleted',
|
|
4954
5149
|
} as const;
|
|
4955
5150
|
|
|
4956
5151
|
export type HookSearchInputAllowedFiltersEventTypeEnum =
|
|
@@ -5103,8 +5298,10 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
5103
5298
|
CronjobExecuted: 'cronjob-executed',
|
|
5104
5299
|
CurrencyAdded: 'currency-added',
|
|
5105
5300
|
CurrencyDeducted: 'currency-deducted',
|
|
5301
|
+
CurrencyResetAll: 'currency-reset-all',
|
|
5106
5302
|
SettingsSet: 'settings-set',
|
|
5107
5303
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
5304
|
+
PlayerNewNameDetected: 'player-new-name-detected',
|
|
5108
5305
|
ServerStatusChanged: 'server-status-changed',
|
|
5109
5306
|
ModuleCreated: 'module-created',
|
|
5110
5307
|
ModuleUpdated: 'module-updated',
|
|
@@ -5124,6 +5321,7 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
5124
5321
|
GameserverDeleted: 'gameserver-deleted',
|
|
5125
5322
|
PlayerBanned: 'player-banned',
|
|
5126
5323
|
PlayerUnbanned: 'player-unbanned',
|
|
5324
|
+
PlayerDeleted: 'player-deleted',
|
|
5127
5325
|
} as const;
|
|
5128
5326
|
|
|
5129
5327
|
export type HookTriggerDTOEventTypeEnum =
|
|
@@ -5186,8 +5384,10 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
5186
5384
|
CronjobExecuted: 'cronjob-executed',
|
|
5187
5385
|
CurrencyAdded: 'currency-added',
|
|
5188
5386
|
CurrencyDeducted: 'currency-deducted',
|
|
5387
|
+
CurrencyResetAll: 'currency-reset-all',
|
|
5189
5388
|
SettingsSet: 'settings-set',
|
|
5190
5389
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
5390
|
+
PlayerNewNameDetected: 'player-new-name-detected',
|
|
5191
5391
|
ServerStatusChanged: 'server-status-changed',
|
|
5192
5392
|
ModuleCreated: 'module-created',
|
|
5193
5393
|
ModuleUpdated: 'module-updated',
|
|
@@ -5207,6 +5407,7 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
5207
5407
|
GameserverDeleted: 'gameserver-deleted',
|
|
5208
5408
|
PlayerBanned: 'player-banned',
|
|
5209
5409
|
PlayerUnbanned: 'player-unbanned',
|
|
5410
|
+
PlayerDeleted: 'player-deleted',
|
|
5210
5411
|
} as const;
|
|
5211
5412
|
|
|
5212
5413
|
export type HookUpdateDTOEventTypeEnum = (typeof HookUpdateDTOEventTypeEnum)[keyof typeof HookUpdateDTOEventTypeEnum];
|
|
@@ -5511,8 +5712,10 @@ export const IHookEventTypeEnum = {
|
|
|
5511
5712
|
CronjobExecuted: 'cronjob-executed',
|
|
5512
5713
|
CurrencyAdded: 'currency-added',
|
|
5513
5714
|
CurrencyDeducted: 'currency-deducted',
|
|
5715
|
+
CurrencyResetAll: 'currency-reset-all',
|
|
5514
5716
|
SettingsSet: 'settings-set',
|
|
5515
5717
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
5718
|
+
PlayerNewNameDetected: 'player-new-name-detected',
|
|
5516
5719
|
ServerStatusChanged: 'server-status-changed',
|
|
5517
5720
|
ModuleCreated: 'module-created',
|
|
5518
5721
|
ModuleUpdated: 'module-updated',
|
|
@@ -5532,6 +5735,7 @@ export const IHookEventTypeEnum = {
|
|
|
5532
5735
|
GameserverDeleted: 'gameserver-deleted',
|
|
5533
5736
|
PlayerBanned: 'player-banned',
|
|
5534
5737
|
PlayerUnbanned: 'player-unbanned',
|
|
5738
|
+
PlayerDeleted: 'player-deleted',
|
|
5535
5739
|
} as const;
|
|
5536
5740
|
|
|
5537
5741
|
export type IHookEventTypeEnum = (typeof IHookEventTypeEnum)[keyof typeof IHookEventTypeEnum];
|
|
@@ -5855,6 +6059,43 @@ export interface ImportOutputDTOAPI {
|
|
|
5855
6059
|
*/
|
|
5856
6060
|
meta: MetadataOutput;
|
|
5857
6061
|
}
|
|
6062
|
+
/**
|
|
6063
|
+
*
|
|
6064
|
+
* @export
|
|
6065
|
+
* @interface InsightDTO
|
|
6066
|
+
*/
|
|
6067
|
+
export interface InsightDTO {
|
|
6068
|
+
/**
|
|
6069
|
+
*
|
|
6070
|
+
* @type {string}
|
|
6071
|
+
* @memberof InsightDTO
|
|
6072
|
+
*/
|
|
6073
|
+
type: string;
|
|
6074
|
+
/**
|
|
6075
|
+
*
|
|
6076
|
+
* @type {string}
|
|
6077
|
+
* @memberof InsightDTO
|
|
6078
|
+
*/
|
|
6079
|
+
title: string;
|
|
6080
|
+
/**
|
|
6081
|
+
*
|
|
6082
|
+
* @type {string}
|
|
6083
|
+
* @memberof InsightDTO
|
|
6084
|
+
*/
|
|
6085
|
+
description: string;
|
|
6086
|
+
/**
|
|
6087
|
+
*
|
|
6088
|
+
* @type {string}
|
|
6089
|
+
* @memberof InsightDTO
|
|
6090
|
+
*/
|
|
6091
|
+
value?: string;
|
|
6092
|
+
/**
|
|
6093
|
+
*
|
|
6094
|
+
* @type {string}
|
|
6095
|
+
* @memberof InsightDTO
|
|
6096
|
+
*/
|
|
6097
|
+
icon: string;
|
|
6098
|
+
}
|
|
5858
6099
|
/**
|
|
5859
6100
|
*
|
|
5860
6101
|
* @export
|
|
@@ -6307,6 +6548,67 @@ export interface JobStatusOutputDTOAPI {
|
|
|
6307
6548
|
*/
|
|
6308
6549
|
meta: MetadataOutput;
|
|
6309
6550
|
}
|
|
6551
|
+
/**
|
|
6552
|
+
*
|
|
6553
|
+
* @export
|
|
6554
|
+
* @interface KPIMetricsDTO
|
|
6555
|
+
*/
|
|
6556
|
+
export interface KPIMetricsDTO {
|
|
6557
|
+
/**
|
|
6558
|
+
*
|
|
6559
|
+
* @type {number}
|
|
6560
|
+
* @memberof KPIMetricsDTO
|
|
6561
|
+
*/
|
|
6562
|
+
totalRevenue: number;
|
|
6563
|
+
/**
|
|
6564
|
+
*
|
|
6565
|
+
* @type {number}
|
|
6566
|
+
* @memberof KPIMetricsDTO
|
|
6567
|
+
*/
|
|
6568
|
+
revenueChange: number;
|
|
6569
|
+
/**
|
|
6570
|
+
*
|
|
6571
|
+
* @type {Array<number>}
|
|
6572
|
+
* @memberof KPIMetricsDTO
|
|
6573
|
+
*/
|
|
6574
|
+
revenueSparkline?: Array<number>;
|
|
6575
|
+
/**
|
|
6576
|
+
*
|
|
6577
|
+
* @type {number}
|
|
6578
|
+
* @memberof KPIMetricsDTO
|
|
6579
|
+
*/
|
|
6580
|
+
ordersToday: number;
|
|
6581
|
+
/**
|
|
6582
|
+
*
|
|
6583
|
+
* @type {number}
|
|
6584
|
+
* @memberof KPIMetricsDTO
|
|
6585
|
+
*/
|
|
6586
|
+
ordersChange: number;
|
|
6587
|
+
/**
|
|
6588
|
+
*
|
|
6589
|
+
* @type {number}
|
|
6590
|
+
* @memberof KPIMetricsDTO
|
|
6591
|
+
*/
|
|
6592
|
+
activeCustomers: number;
|
|
6593
|
+
/**
|
|
6594
|
+
*
|
|
6595
|
+
* @type {number}
|
|
6596
|
+
* @memberof KPIMetricsDTO
|
|
6597
|
+
*/
|
|
6598
|
+
customersChange: number;
|
|
6599
|
+
/**
|
|
6600
|
+
*
|
|
6601
|
+
* @type {number}
|
|
6602
|
+
* @memberof KPIMetricsDTO
|
|
6603
|
+
*/
|
|
6604
|
+
averageOrderValue: number;
|
|
6605
|
+
/**
|
|
6606
|
+
*
|
|
6607
|
+
* @type {number}
|
|
6608
|
+
* @memberof KPIMetricsDTO
|
|
6609
|
+
*/
|
|
6610
|
+
aovChange: number;
|
|
6611
|
+
}
|
|
6310
6612
|
/**
|
|
6311
6613
|
*
|
|
6312
6614
|
* @export
|
|
@@ -6564,6 +6866,62 @@ export interface MeOutputDTO {
|
|
|
6564
6866
|
*/
|
|
6565
6867
|
pogs: Array<PlayerOnGameserverOutputDTO>;
|
|
6566
6868
|
}
|
|
6869
|
+
/**
|
|
6870
|
+
*
|
|
6871
|
+
* @export
|
|
6872
|
+
* @interface MessageOutputDTO
|
|
6873
|
+
*/
|
|
6874
|
+
export interface MessageOutputDTO {
|
|
6875
|
+
/**
|
|
6876
|
+
*
|
|
6877
|
+
* @type {string}
|
|
6878
|
+
* @memberof MessageOutputDTO
|
|
6879
|
+
*/
|
|
6880
|
+
id: string;
|
|
6881
|
+
/**
|
|
6882
|
+
*
|
|
6883
|
+
* @type {string}
|
|
6884
|
+
* @memberof MessageOutputDTO
|
|
6885
|
+
*/
|
|
6886
|
+
channelId: string;
|
|
6887
|
+
/**
|
|
6888
|
+
*
|
|
6889
|
+
* @type {string}
|
|
6890
|
+
* @memberof MessageOutputDTO
|
|
6891
|
+
*/
|
|
6892
|
+
guildId: string;
|
|
6893
|
+
/**
|
|
6894
|
+
*
|
|
6895
|
+
* @type {string}
|
|
6896
|
+
* @memberof MessageOutputDTO
|
|
6897
|
+
*/
|
|
6898
|
+
content?: string;
|
|
6899
|
+
/**
|
|
6900
|
+
*
|
|
6901
|
+
* @type {DiscordEmbedInputDTO}
|
|
6902
|
+
* @memberof MessageOutputDTO
|
|
6903
|
+
*/
|
|
6904
|
+
embed?: DiscordEmbedInputDTO;
|
|
6905
|
+
}
|
|
6906
|
+
/**
|
|
6907
|
+
*
|
|
6908
|
+
* @export
|
|
6909
|
+
* @interface MessageOutputDTOAPI
|
|
6910
|
+
*/
|
|
6911
|
+
export interface MessageOutputDTOAPI {
|
|
6912
|
+
/**
|
|
6913
|
+
*
|
|
6914
|
+
* @type {MessageOutputDTO}
|
|
6915
|
+
* @memberof MessageOutputDTOAPI
|
|
6916
|
+
*/
|
|
6917
|
+
data: MessageOutputDTO;
|
|
6918
|
+
/**
|
|
6919
|
+
*
|
|
6920
|
+
* @type {MetadataOutput}
|
|
6921
|
+
* @memberof MessageOutputDTOAPI
|
|
6922
|
+
*/
|
|
6923
|
+
meta: MetadataOutput;
|
|
6924
|
+
}
|
|
6567
6925
|
/**
|
|
6568
6926
|
*
|
|
6569
6927
|
* @export
|
|
@@ -7685,6 +8043,37 @@ export interface NOTDOMAINSCOPEDTakaroModelDTO {
|
|
|
7685
8043
|
*/
|
|
7686
8044
|
export type NOTDOMAINSCOPEDTakaroModelDTOCreatedAt = string;
|
|
7687
8045
|
|
|
8046
|
+
/**
|
|
8047
|
+
*
|
|
8048
|
+
* @export
|
|
8049
|
+
* @interface NameHistoryOutputDTO
|
|
8050
|
+
*/
|
|
8051
|
+
export interface NameHistoryOutputDTO {
|
|
8052
|
+
/**
|
|
8053
|
+
*
|
|
8054
|
+
* @type {string}
|
|
8055
|
+
* @memberof NameHistoryOutputDTO
|
|
8056
|
+
*/
|
|
8057
|
+
name: string;
|
|
8058
|
+
/**
|
|
8059
|
+
*
|
|
8060
|
+
* @type {string}
|
|
8061
|
+
* @memberof NameHistoryOutputDTO
|
|
8062
|
+
*/
|
|
8063
|
+
id: string;
|
|
8064
|
+
/**
|
|
8065
|
+
*
|
|
8066
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
8067
|
+
* @memberof NameHistoryOutputDTO
|
|
8068
|
+
*/
|
|
8069
|
+
createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
8070
|
+
/**
|
|
8071
|
+
*
|
|
8072
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
8073
|
+
* @memberof NameHistoryOutputDTO
|
|
8074
|
+
*/
|
|
8075
|
+
updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
8076
|
+
}
|
|
7688
8077
|
/**
|
|
7689
8078
|
*
|
|
7690
8079
|
* @export
|
|
@@ -7719,12 +8108,78 @@ export interface OptionalPogStatsInputDTO {
|
|
|
7719
8108
|
/**
|
|
7720
8109
|
*
|
|
7721
8110
|
* @export
|
|
7722
|
-
* @
|
|
8111
|
+
* @interface OrderMetricsDTO
|
|
7723
8112
|
*/
|
|
7724
|
-
|
|
7725
|
-
|
|
7726
|
-
|
|
7727
|
-
|
|
8113
|
+
export interface OrderMetricsDTO {
|
|
8114
|
+
/**
|
|
8115
|
+
*
|
|
8116
|
+
* @type {Array<OrderStatusCountDTO>}
|
|
8117
|
+
* @memberof OrderMetricsDTO
|
|
8118
|
+
*/
|
|
8119
|
+
statusBreakdown: Array<OrderStatusCountDTO>;
|
|
8120
|
+
/**
|
|
8121
|
+
*
|
|
8122
|
+
* @type {Array<RecentOrderDTO>}
|
|
8123
|
+
* @memberof OrderMetricsDTO
|
|
8124
|
+
*/
|
|
8125
|
+
recentOrders: Array<RecentOrderDTO>;
|
|
8126
|
+
/**
|
|
8127
|
+
*
|
|
8128
|
+
* @type {number}
|
|
8129
|
+
* @memberof OrderMetricsDTO
|
|
8130
|
+
*/
|
|
8131
|
+
totalOrders: number;
|
|
8132
|
+
/**
|
|
8133
|
+
*
|
|
8134
|
+
* @type {number}
|
|
8135
|
+
* @memberof OrderMetricsDTO
|
|
8136
|
+
*/
|
|
8137
|
+
completionRate: number;
|
|
8138
|
+
}
|
|
8139
|
+
/**
|
|
8140
|
+
*
|
|
8141
|
+
* @export
|
|
8142
|
+
* @interface OrderStatusCountDTO
|
|
8143
|
+
*/
|
|
8144
|
+
export interface OrderStatusCountDTO {
|
|
8145
|
+
/**
|
|
8146
|
+
*
|
|
8147
|
+
* @type {string}
|
|
8148
|
+
* @memberof OrderStatusCountDTO
|
|
8149
|
+
*/
|
|
8150
|
+
status: OrderStatusCountDTOStatusEnum;
|
|
8151
|
+
/**
|
|
8152
|
+
*
|
|
8153
|
+
* @type {number}
|
|
8154
|
+
* @memberof OrderStatusCountDTO
|
|
8155
|
+
*/
|
|
8156
|
+
count: number;
|
|
8157
|
+
/**
|
|
8158
|
+
*
|
|
8159
|
+
* @type {number}
|
|
8160
|
+
* @memberof OrderStatusCountDTO
|
|
8161
|
+
*/
|
|
8162
|
+
percentage: number;
|
|
8163
|
+
}
|
|
8164
|
+
|
|
8165
|
+
export const OrderStatusCountDTOStatusEnum = {
|
|
8166
|
+
Completed: 'COMPLETED',
|
|
8167
|
+
Paid: 'PAID',
|
|
8168
|
+
Canceled: 'CANCELED',
|
|
8169
|
+
} as const;
|
|
8170
|
+
|
|
8171
|
+
export type OrderStatusCountDTOStatusEnum =
|
|
8172
|
+
(typeof OrderStatusCountDTOStatusEnum)[keyof typeof OrderStatusCountDTOStatusEnum];
|
|
8173
|
+
|
|
8174
|
+
/**
|
|
8175
|
+
*
|
|
8176
|
+
* @export
|
|
8177
|
+
* @enum {string}
|
|
8178
|
+
*/
|
|
8179
|
+
|
|
8180
|
+
export const PERMISSIONS = {
|
|
8181
|
+
Root: 'ROOT',
|
|
8182
|
+
ManageUsers: 'MANAGE_USERS',
|
|
7728
8183
|
ReadUsers: 'READ_USERS',
|
|
7729
8184
|
ManageRoles: 'MANAGE_ROLES',
|
|
7730
8185
|
ReadRoles: 'READ_ROLES',
|
|
@@ -7849,6 +8304,8 @@ export const ParamKeyKeyEnum = {
|
|
|
7849
8304
|
DeveloperMode: 'developerMode',
|
|
7850
8305
|
MessagePrefix: 'messagePrefix',
|
|
7851
8306
|
DomainName: 'domainName',
|
|
8307
|
+
DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
|
|
8308
|
+
DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
|
|
7852
8309
|
} as const;
|
|
7853
8310
|
|
|
7854
8311
|
export type ParamKeyKeyEnum = (typeof ParamKeyKeyEnum)[keyof typeof ParamKeyKeyEnum];
|
|
@@ -8188,6 +8645,12 @@ export interface PlayerInventoryOutputDTO {
|
|
|
8188
8645
|
* @memberof PlayerInventoryOutputDTO
|
|
8189
8646
|
*/
|
|
8190
8647
|
playerId: string;
|
|
8648
|
+
/**
|
|
8649
|
+
*
|
|
8650
|
+
* @type {string}
|
|
8651
|
+
* @memberof PlayerInventoryOutputDTO
|
|
8652
|
+
*/
|
|
8653
|
+
pogId: string;
|
|
8191
8654
|
/**
|
|
8192
8655
|
*
|
|
8193
8656
|
* @type {string}
|
|
@@ -8212,6 +8675,12 @@ export interface PlayerInventoryOutputDTO {
|
|
|
8212
8675
|
* @memberof PlayerInventoryOutputDTO
|
|
8213
8676
|
*/
|
|
8214
8677
|
quantity: number;
|
|
8678
|
+
/**
|
|
8679
|
+
*
|
|
8680
|
+
* @type {string}
|
|
8681
|
+
* @memberof PlayerInventoryOutputDTO
|
|
8682
|
+
*/
|
|
8683
|
+
quality?: string;
|
|
8215
8684
|
/**
|
|
8216
8685
|
*
|
|
8217
8686
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -8262,6 +8731,12 @@ export interface PlayerItemHistoryOutputDTO {
|
|
|
8262
8731
|
* @memberof PlayerItemHistoryOutputDTO
|
|
8263
8732
|
*/
|
|
8264
8733
|
playerId: string;
|
|
8734
|
+
/**
|
|
8735
|
+
*
|
|
8736
|
+
* @type {string}
|
|
8737
|
+
* @memberof PlayerItemHistoryOutputDTO
|
|
8738
|
+
*/
|
|
8739
|
+
pogId: string;
|
|
8265
8740
|
/**
|
|
8266
8741
|
*
|
|
8267
8742
|
* @type {number}
|
|
@@ -8324,6 +8799,12 @@ export interface PlayerLocationOutputDTO {
|
|
|
8324
8799
|
* @memberof PlayerLocationOutputDTO
|
|
8325
8800
|
*/
|
|
8326
8801
|
playerId: string;
|
|
8802
|
+
/**
|
|
8803
|
+
*
|
|
8804
|
+
* @type {string}
|
|
8805
|
+
* @memberof PlayerLocationOutputDTO
|
|
8806
|
+
*/
|
|
8807
|
+
pogId: string;
|
|
8327
8808
|
/**
|
|
8328
8809
|
*
|
|
8329
8810
|
* @type {number}
|
|
@@ -9032,6 +9513,12 @@ export interface PlayerOutputDTO {
|
|
|
9032
9513
|
* @memberof PlayerOutputDTO
|
|
9033
9514
|
*/
|
|
9034
9515
|
ipHistory: Array<IpHistoryOutputDTO>;
|
|
9516
|
+
/**
|
|
9517
|
+
*
|
|
9518
|
+
* @type {Array<NameHistoryOutputDTO>}
|
|
9519
|
+
* @memberof PlayerOutputDTO
|
|
9520
|
+
*/
|
|
9521
|
+
nameHistory: Array<NameHistoryOutputDTO>;
|
|
9035
9522
|
/**
|
|
9036
9523
|
*
|
|
9037
9524
|
* @type {string}
|
|
@@ -9196,6 +9683,12 @@ export interface PlayerOutputWithRolesDTO {
|
|
|
9196
9683
|
* @memberof PlayerOutputWithRolesDTO
|
|
9197
9684
|
*/
|
|
9198
9685
|
ipHistory: Array<IpHistoryOutputDTO>;
|
|
9686
|
+
/**
|
|
9687
|
+
*
|
|
9688
|
+
* @type {Array<NameHistoryOutputDTO>}
|
|
9689
|
+
* @memberof PlayerOutputWithRolesDTO
|
|
9690
|
+
*/
|
|
9691
|
+
nameHistory: Array<NameHistoryOutputDTO>;
|
|
9199
9692
|
}
|
|
9200
9693
|
/**
|
|
9201
9694
|
*
|
|
@@ -9647,6 +10140,43 @@ export interface PogStatsInputDTO {
|
|
|
9647
10140
|
*/
|
|
9648
10141
|
endDate?: string;
|
|
9649
10142
|
}
|
|
10143
|
+
/**
|
|
10144
|
+
*
|
|
10145
|
+
* @export
|
|
10146
|
+
* @interface ProductMetricsDTO
|
|
10147
|
+
*/
|
|
10148
|
+
export interface ProductMetricsDTO {
|
|
10149
|
+
/**
|
|
10150
|
+
*
|
|
10151
|
+
* @type {Array<TopItemDTO>}
|
|
10152
|
+
* @memberof ProductMetricsDTO
|
|
10153
|
+
*/
|
|
10154
|
+
topItems: Array<TopItemDTO>;
|
|
10155
|
+
/**
|
|
10156
|
+
*
|
|
10157
|
+
* @type {Array<CategoryPerformanceDTO>}
|
|
10158
|
+
* @memberof ProductMetricsDTO
|
|
10159
|
+
*/
|
|
10160
|
+
categories: Array<CategoryPerformanceDTO>;
|
|
10161
|
+
/**
|
|
10162
|
+
*
|
|
10163
|
+
* @type {number}
|
|
10164
|
+
* @memberof ProductMetricsDTO
|
|
10165
|
+
*/
|
|
10166
|
+
deadStock: number;
|
|
10167
|
+
/**
|
|
10168
|
+
*
|
|
10169
|
+
* @type {Array<DeadStockItemDTO>}
|
|
10170
|
+
* @memberof ProductMetricsDTO
|
|
10171
|
+
*/
|
|
10172
|
+
deadStockItems?: Array<DeadStockItemDTO>;
|
|
10173
|
+
/**
|
|
10174
|
+
*
|
|
10175
|
+
* @type {number}
|
|
10176
|
+
* @memberof ProductMetricsDTO
|
|
10177
|
+
*/
|
|
10178
|
+
totalProducts: number;
|
|
10179
|
+
}
|
|
9650
10180
|
/**
|
|
9651
10181
|
*
|
|
9652
10182
|
* @export
|
|
@@ -9715,6 +10245,58 @@ export interface RangeFilterCreatedAndUpdatedAt {
|
|
|
9715
10245
|
*/
|
|
9716
10246
|
updatedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
9717
10247
|
}
|
|
10248
|
+
/**
|
|
10249
|
+
*
|
|
10250
|
+
* @export
|
|
10251
|
+
* @interface RecentOrderDTO
|
|
10252
|
+
*/
|
|
10253
|
+
export interface RecentOrderDTO {
|
|
10254
|
+
/**
|
|
10255
|
+
*
|
|
10256
|
+
* @type {string}
|
|
10257
|
+
* @memberof RecentOrderDTO
|
|
10258
|
+
*/
|
|
10259
|
+
id: string;
|
|
10260
|
+
/**
|
|
10261
|
+
*
|
|
10262
|
+
* @type {string}
|
|
10263
|
+
* @memberof RecentOrderDTO
|
|
10264
|
+
*/
|
|
10265
|
+
playerName: string;
|
|
10266
|
+
/**
|
|
10267
|
+
*
|
|
10268
|
+
* @type {string}
|
|
10269
|
+
* @memberof RecentOrderDTO
|
|
10270
|
+
*/
|
|
10271
|
+
itemName: string;
|
|
10272
|
+
/**
|
|
10273
|
+
*
|
|
10274
|
+
* @type {number}
|
|
10275
|
+
* @memberof RecentOrderDTO
|
|
10276
|
+
*/
|
|
10277
|
+
value: number;
|
|
10278
|
+
/**
|
|
10279
|
+
*
|
|
10280
|
+
* @type {string}
|
|
10281
|
+
* @memberof RecentOrderDTO
|
|
10282
|
+
*/
|
|
10283
|
+
time: string;
|
|
10284
|
+
/**
|
|
10285
|
+
*
|
|
10286
|
+
* @type {string}
|
|
10287
|
+
* @memberof RecentOrderDTO
|
|
10288
|
+
*/
|
|
10289
|
+
status: RecentOrderDTOStatusEnum;
|
|
10290
|
+
}
|
|
10291
|
+
|
|
10292
|
+
export const RecentOrderDTOStatusEnum = {
|
|
10293
|
+
Completed: 'COMPLETED',
|
|
10294
|
+
Paid: 'PAID',
|
|
10295
|
+
Canceled: 'CANCELED',
|
|
10296
|
+
} as const;
|
|
10297
|
+
|
|
10298
|
+
export type RecentOrderDTOStatusEnum = (typeof RecentOrderDTOStatusEnum)[keyof typeof RecentOrderDTOStatusEnum];
|
|
10299
|
+
|
|
9718
10300
|
/**
|
|
9719
10301
|
*
|
|
9720
10302
|
* @export
|
|
@@ -9741,6 +10323,43 @@ export interface ResolveRegistrationTokenInputDTO {
|
|
|
9741
10323
|
*/
|
|
9742
10324
|
registrationToken: string;
|
|
9743
10325
|
}
|
|
10326
|
+
/**
|
|
10327
|
+
*
|
|
10328
|
+
* @export
|
|
10329
|
+
* @interface RevenueMetricsDTO
|
|
10330
|
+
*/
|
|
10331
|
+
export interface RevenueMetricsDTO {
|
|
10332
|
+
/**
|
|
10333
|
+
*
|
|
10334
|
+
* @type {Array<TimeSeriesDataPointDTO>}
|
|
10335
|
+
* @memberof RevenueMetricsDTO
|
|
10336
|
+
*/
|
|
10337
|
+
timeSeries: Array<TimeSeriesDataPointDTO>;
|
|
10338
|
+
/**
|
|
10339
|
+
*
|
|
10340
|
+
* @type {Array<HeatmapDataPointDTO>}
|
|
10341
|
+
* @memberof RevenueMetricsDTO
|
|
10342
|
+
*/
|
|
10343
|
+
heatmap: Array<HeatmapDataPointDTO>;
|
|
10344
|
+
/**
|
|
10345
|
+
*
|
|
10346
|
+
* @type {number}
|
|
10347
|
+
* @memberof RevenueMetricsDTO
|
|
10348
|
+
*/
|
|
10349
|
+
growth: number;
|
|
10350
|
+
/**
|
|
10351
|
+
*
|
|
10352
|
+
* @type {string}
|
|
10353
|
+
* @memberof RevenueMetricsDTO
|
|
10354
|
+
*/
|
|
10355
|
+
peakHour: string;
|
|
10356
|
+
/**
|
|
10357
|
+
*
|
|
10358
|
+
* @type {string}
|
|
10359
|
+
* @memberof RevenueMetricsDTO
|
|
10360
|
+
*/
|
|
10361
|
+
peakDay: string;
|
|
10362
|
+
}
|
|
9744
10363
|
/**
|
|
9745
10364
|
*
|
|
9746
10365
|
* @export
|
|
@@ -9759,6 +10378,12 @@ export interface RoleCreateInputDTO {
|
|
|
9759
10378
|
* @memberof RoleCreateInputDTO
|
|
9760
10379
|
*/
|
|
9761
10380
|
permissions: Array<PermissionInputDTO>;
|
|
10381
|
+
/**
|
|
10382
|
+
*
|
|
10383
|
+
* @type {string}
|
|
10384
|
+
* @memberof RoleCreateInputDTO
|
|
10385
|
+
*/
|
|
10386
|
+
linkedDiscordRoleId?: string;
|
|
9762
10387
|
}
|
|
9763
10388
|
/**
|
|
9764
10389
|
*
|
|
@@ -9879,6 +10504,12 @@ export interface RoleOutputDTO {
|
|
|
9879
10504
|
* @memberof RoleOutputDTO
|
|
9880
10505
|
*/
|
|
9881
10506
|
system: boolean;
|
|
10507
|
+
/**
|
|
10508
|
+
*
|
|
10509
|
+
* @type {string}
|
|
10510
|
+
* @memberof RoleOutputDTO
|
|
10511
|
+
*/
|
|
10512
|
+
linkedDiscordRoleId?: string;
|
|
9882
10513
|
/**
|
|
9883
10514
|
*
|
|
9884
10515
|
* @type {string}
|
|
@@ -10043,6 +10674,12 @@ export interface RoleUpdateInputDTO {
|
|
|
10043
10674
|
* @memberof RoleUpdateInputDTO
|
|
10044
10675
|
*/
|
|
10045
10676
|
permissions?: Array<PermissionInputDTO>;
|
|
10677
|
+
/**
|
|
10678
|
+
*
|
|
10679
|
+
* @type {string}
|
|
10680
|
+
* @memberof RoleUpdateInputDTO
|
|
10681
|
+
*/
|
|
10682
|
+
linkedDiscordRoleId?: string;
|
|
10046
10683
|
}
|
|
10047
10684
|
/**
|
|
10048
10685
|
*
|
|
@@ -10174,6 +10811,12 @@ export interface ServiceRoleCreateInputDTO {
|
|
|
10174
10811
|
* @memberof ServiceRoleCreateInputDTO
|
|
10175
10812
|
*/
|
|
10176
10813
|
system?: boolean;
|
|
10814
|
+
/**
|
|
10815
|
+
*
|
|
10816
|
+
* @type {string}
|
|
10817
|
+
* @memberof ServiceRoleCreateInputDTO
|
|
10818
|
+
*/
|
|
10819
|
+
linkedDiscordRoleId?: string;
|
|
10177
10820
|
}
|
|
10178
10821
|
/**
|
|
10179
10822
|
*
|
|
@@ -10223,6 +10866,18 @@ export interface Settings {
|
|
|
10223
10866
|
* @memberof Settings
|
|
10224
10867
|
*/
|
|
10225
10868
|
domainName: string;
|
|
10869
|
+
/**
|
|
10870
|
+
*
|
|
10871
|
+
* @type {string}
|
|
10872
|
+
* @memberof Settings
|
|
10873
|
+
*/
|
|
10874
|
+
discordRoleSyncEnabled: string;
|
|
10875
|
+
/**
|
|
10876
|
+
*
|
|
10877
|
+
* @type {string}
|
|
10878
|
+
* @memberof Settings
|
|
10879
|
+
*/
|
|
10880
|
+
discordRoleSyncPreferDiscord: string;
|
|
10226
10881
|
/**
|
|
10227
10882
|
*
|
|
10228
10883
|
* @type {string}
|
|
@@ -10307,6 +10962,8 @@ export const SettingsOutputDTOKeyEnum = {
|
|
|
10307
10962
|
DeveloperMode: 'developerMode',
|
|
10308
10963
|
MessagePrefix: 'messagePrefix',
|
|
10309
10964
|
DomainName: 'domainName',
|
|
10965
|
+
DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
|
|
10966
|
+
DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
|
|
10310
10967
|
} as const;
|
|
10311
10968
|
|
|
10312
10969
|
export type SettingsOutputDTOKeyEnum = (typeof SettingsOutputDTOKeyEnum)[keyof typeof SettingsOutputDTOKeyEnum];
|
|
@@ -10357,6 +11014,141 @@ export interface SettingsSetDTO {
|
|
|
10357
11014
|
*/
|
|
10358
11015
|
value: any;
|
|
10359
11016
|
}
|
|
11017
|
+
/**
|
|
11018
|
+
*
|
|
11019
|
+
* @export
|
|
11020
|
+
* @interface ShopAnalyticsInputDTO
|
|
11021
|
+
*/
|
|
11022
|
+
export interface ShopAnalyticsInputDTO {
|
|
11023
|
+
/**
|
|
11024
|
+
*
|
|
11025
|
+
* @type {Array<string>}
|
|
11026
|
+
* @memberof ShopAnalyticsInputDTO
|
|
11027
|
+
*/
|
|
11028
|
+
gameServerIds?: Array<string>;
|
|
11029
|
+
/**
|
|
11030
|
+
*
|
|
11031
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
11032
|
+
* @memberof ShopAnalyticsInputDTO
|
|
11033
|
+
*/
|
|
11034
|
+
startDate?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
11035
|
+
/**
|
|
11036
|
+
*
|
|
11037
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
11038
|
+
* @memberof ShopAnalyticsInputDTO
|
|
11039
|
+
*/
|
|
11040
|
+
endDate?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
11041
|
+
}
|
|
11042
|
+
/**
|
|
11043
|
+
*
|
|
11044
|
+
* @export
|
|
11045
|
+
* @interface ShopAnalyticsOutputDTO
|
|
11046
|
+
*/
|
|
11047
|
+
export interface ShopAnalyticsOutputDTO {
|
|
11048
|
+
/**
|
|
11049
|
+
*
|
|
11050
|
+
* @type {KPIMetricsDTO}
|
|
11051
|
+
* @memberof ShopAnalyticsOutputDTO
|
|
11052
|
+
*/
|
|
11053
|
+
kpis: KPIMetricsDTO;
|
|
11054
|
+
/**
|
|
11055
|
+
*
|
|
11056
|
+
* @type {RevenueMetricsDTO}
|
|
11057
|
+
* @memberof ShopAnalyticsOutputDTO
|
|
11058
|
+
*/
|
|
11059
|
+
revenue: RevenueMetricsDTO;
|
|
11060
|
+
/**
|
|
11061
|
+
*
|
|
11062
|
+
* @type {ProductMetricsDTO}
|
|
11063
|
+
* @memberof ShopAnalyticsOutputDTO
|
|
11064
|
+
*/
|
|
11065
|
+
products: ProductMetricsDTO;
|
|
11066
|
+
/**
|
|
11067
|
+
*
|
|
11068
|
+
* @type {OrderMetricsDTO}
|
|
11069
|
+
* @memberof ShopAnalyticsOutputDTO
|
|
11070
|
+
*/
|
|
11071
|
+
orders: OrderMetricsDTO;
|
|
11072
|
+
/**
|
|
11073
|
+
*
|
|
11074
|
+
* @type {CustomerMetricsDTO}
|
|
11075
|
+
* @memberof ShopAnalyticsOutputDTO
|
|
11076
|
+
*/
|
|
11077
|
+
customers: CustomerMetricsDTO;
|
|
11078
|
+
/**
|
|
11079
|
+
*
|
|
11080
|
+
* @type {Array<InsightDTO>}
|
|
11081
|
+
* @memberof ShopAnalyticsOutputDTO
|
|
11082
|
+
*/
|
|
11083
|
+
insights: Array<InsightDTO>;
|
|
11084
|
+
/**
|
|
11085
|
+
*
|
|
11086
|
+
* @type {string}
|
|
11087
|
+
* @memberof ShopAnalyticsOutputDTO
|
|
11088
|
+
*/
|
|
11089
|
+
lastUpdated: string;
|
|
11090
|
+
/**
|
|
11091
|
+
*
|
|
11092
|
+
* @type {string}
|
|
11093
|
+
* @memberof ShopAnalyticsOutputDTO
|
|
11094
|
+
*/
|
|
11095
|
+
dateRange: string;
|
|
11096
|
+
/**
|
|
11097
|
+
*
|
|
11098
|
+
* @type {Array<string>}
|
|
11099
|
+
* @memberof ShopAnalyticsOutputDTO
|
|
11100
|
+
*/
|
|
11101
|
+
gameServerIds?: Array<string>;
|
|
11102
|
+
}
|
|
11103
|
+
/**
|
|
11104
|
+
*
|
|
11105
|
+
* @export
|
|
11106
|
+
* @interface ShopAnalyticsOutputDTOAPI
|
|
11107
|
+
*/
|
|
11108
|
+
export interface ShopAnalyticsOutputDTOAPI {
|
|
11109
|
+
/**
|
|
11110
|
+
*
|
|
11111
|
+
* @type {ShopAnalyticsOutputDTO}
|
|
11112
|
+
* @memberof ShopAnalyticsOutputDTOAPI
|
|
11113
|
+
*/
|
|
11114
|
+
data: ShopAnalyticsOutputDTO;
|
|
11115
|
+
/**
|
|
11116
|
+
*
|
|
11117
|
+
* @type {MetadataOutput}
|
|
11118
|
+
* @memberof ShopAnalyticsOutputDTOAPI
|
|
11119
|
+
*/
|
|
11120
|
+
meta: MetadataOutput;
|
|
11121
|
+
}
|
|
11122
|
+
/**
|
|
11123
|
+
*
|
|
11124
|
+
* @export
|
|
11125
|
+
* @interface ShopAnalyticsQueryDTO
|
|
11126
|
+
*/
|
|
11127
|
+
export interface ShopAnalyticsQueryDTO {
|
|
11128
|
+
/**
|
|
11129
|
+
*
|
|
11130
|
+
* @type {Array<string>}
|
|
11131
|
+
* @memberof ShopAnalyticsQueryDTO
|
|
11132
|
+
*/
|
|
11133
|
+
gameServerIds?: Array<string>;
|
|
11134
|
+
/**
|
|
11135
|
+
*
|
|
11136
|
+
* @type {string}
|
|
11137
|
+
* @memberof ShopAnalyticsQueryDTO
|
|
11138
|
+
*/
|
|
11139
|
+
period?: ShopAnalyticsQueryDTOPeriodEnum;
|
|
11140
|
+
}
|
|
11141
|
+
|
|
11142
|
+
export const ShopAnalyticsQueryDTOPeriodEnum = {
|
|
11143
|
+
Last24Hours: 'last24Hours',
|
|
11144
|
+
Last7Days: 'last7Days',
|
|
11145
|
+
Last30Days: 'last30Days',
|
|
11146
|
+
Last90Days: 'last90Days',
|
|
11147
|
+
} as const;
|
|
11148
|
+
|
|
11149
|
+
export type ShopAnalyticsQueryDTOPeriodEnum =
|
|
11150
|
+
(typeof ShopAnalyticsQueryDTOPeriodEnum)[keyof typeof ShopAnalyticsQueryDTOPeriodEnum];
|
|
11151
|
+
|
|
10360
11152
|
/**
|
|
10361
11153
|
*
|
|
10362
11154
|
* @export
|
|
@@ -11699,6 +12491,25 @@ export interface TakaroEventCurrencyDeducted {
|
|
|
11699
12491
|
*/
|
|
11700
12492
|
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
11701
12493
|
}
|
|
12494
|
+
/**
|
|
12495
|
+
*
|
|
12496
|
+
* @export
|
|
12497
|
+
* @interface TakaroEventCurrencyResetAll
|
|
12498
|
+
*/
|
|
12499
|
+
export interface TakaroEventCurrencyResetAll {
|
|
12500
|
+
/**
|
|
12501
|
+
*
|
|
12502
|
+
* @type {number}
|
|
12503
|
+
* @memberof TakaroEventCurrencyResetAll
|
|
12504
|
+
*/
|
|
12505
|
+
affectedPlayerCount: number;
|
|
12506
|
+
/**
|
|
12507
|
+
*
|
|
12508
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
12509
|
+
* @memberof TakaroEventCurrencyResetAll
|
|
12510
|
+
*/
|
|
12511
|
+
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12512
|
+
}
|
|
11702
12513
|
/**
|
|
11703
12514
|
*
|
|
11704
12515
|
* @export
|
|
@@ -11902,6 +12713,42 @@ export interface TakaroEventModuleUninstalled {
|
|
|
11902
12713
|
* @interface TakaroEventModuleUpdated
|
|
11903
12714
|
*/
|
|
11904
12715
|
export interface TakaroEventModuleUpdated {
|
|
12716
|
+
/**
|
|
12717
|
+
*
|
|
12718
|
+
* @type {string}
|
|
12719
|
+
* @memberof TakaroEventModuleUpdated
|
|
12720
|
+
*/
|
|
12721
|
+
changeType?: string;
|
|
12722
|
+
/**
|
|
12723
|
+
*
|
|
12724
|
+
* @type {string}
|
|
12725
|
+
* @memberof TakaroEventModuleUpdated
|
|
12726
|
+
*/
|
|
12727
|
+
componentType?: string;
|
|
12728
|
+
/**
|
|
12729
|
+
*
|
|
12730
|
+
* @type {string}
|
|
12731
|
+
* @memberof TakaroEventModuleUpdated
|
|
12732
|
+
*/
|
|
12733
|
+
componentName?: string;
|
|
12734
|
+
/**
|
|
12735
|
+
*
|
|
12736
|
+
* @type {string}
|
|
12737
|
+
* @memberof TakaroEventModuleUpdated
|
|
12738
|
+
*/
|
|
12739
|
+
componentId?: string;
|
|
12740
|
+
/**
|
|
12741
|
+
*
|
|
12742
|
+
* @type {any}
|
|
12743
|
+
* @memberof TakaroEventModuleUpdated
|
|
12744
|
+
*/
|
|
12745
|
+
previousValue?: any;
|
|
12746
|
+
/**
|
|
12747
|
+
*
|
|
12748
|
+
* @type {any}
|
|
12749
|
+
* @memberof TakaroEventModuleUpdated
|
|
12750
|
+
*/
|
|
12751
|
+
newValue?: any;
|
|
11905
12752
|
/**
|
|
11906
12753
|
*
|
|
11907
12754
|
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
@@ -11959,6 +12806,25 @@ export interface TakaroEventPlayerCreated {
|
|
|
11959
12806
|
*/
|
|
11960
12807
|
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
11961
12808
|
}
|
|
12809
|
+
/**
|
|
12810
|
+
*
|
|
12811
|
+
* @export
|
|
12812
|
+
* @interface TakaroEventPlayerDeleted
|
|
12813
|
+
*/
|
|
12814
|
+
export interface TakaroEventPlayerDeleted {
|
|
12815
|
+
/**
|
|
12816
|
+
*
|
|
12817
|
+
* @type {string}
|
|
12818
|
+
* @memberof TakaroEventPlayerDeleted
|
|
12819
|
+
*/
|
|
12820
|
+
playerName?: string;
|
|
12821
|
+
/**
|
|
12822
|
+
*
|
|
12823
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
12824
|
+
* @memberof TakaroEventPlayerDeleted
|
|
12825
|
+
*/
|
|
12826
|
+
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12827
|
+
}
|
|
11962
12828
|
/**
|
|
11963
12829
|
*
|
|
11964
12830
|
* @export
|
|
@@ -12015,6 +12881,31 @@ export interface TakaroEventPlayerNewIpDetected {
|
|
|
12015
12881
|
*/
|
|
12016
12882
|
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12017
12883
|
}
|
|
12884
|
+
/**
|
|
12885
|
+
*
|
|
12886
|
+
* @export
|
|
12887
|
+
* @interface TakaroEventPlayerNewNameDetected
|
|
12888
|
+
*/
|
|
12889
|
+
export interface TakaroEventPlayerNewNameDetected {
|
|
12890
|
+
/**
|
|
12891
|
+
*
|
|
12892
|
+
* @type {string}
|
|
12893
|
+
* @memberof TakaroEventPlayerNewNameDetected
|
|
12894
|
+
*/
|
|
12895
|
+
oldName?: string;
|
|
12896
|
+
/**
|
|
12897
|
+
*
|
|
12898
|
+
* @type {string}
|
|
12899
|
+
* @memberof TakaroEventPlayerNewNameDetected
|
|
12900
|
+
*/
|
|
12901
|
+
newName: string;
|
|
12902
|
+
/**
|
|
12903
|
+
*
|
|
12904
|
+
* @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
|
|
12905
|
+
* @memberof TakaroEventPlayerNewNameDetected
|
|
12906
|
+
*/
|
|
12907
|
+
timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
|
|
12908
|
+
}
|
|
12018
12909
|
/**
|
|
12019
12910
|
*
|
|
12020
12911
|
* @export
|
|
@@ -12478,6 +13369,31 @@ export interface TestReachabilityOutputDTO {
|
|
|
12478
13369
|
*/
|
|
12479
13370
|
latency?: number;
|
|
12480
13371
|
}
|
|
13372
|
+
/**
|
|
13373
|
+
*
|
|
13374
|
+
* @export
|
|
13375
|
+
* @interface TimeSeriesDataPointDTO
|
|
13376
|
+
*/
|
|
13377
|
+
export interface TimeSeriesDataPointDTO {
|
|
13378
|
+
/**
|
|
13379
|
+
*
|
|
13380
|
+
* @type {string}
|
|
13381
|
+
* @memberof TimeSeriesDataPointDTO
|
|
13382
|
+
*/
|
|
13383
|
+
date: string;
|
|
13384
|
+
/**
|
|
13385
|
+
*
|
|
13386
|
+
* @type {number}
|
|
13387
|
+
* @memberof TimeSeriesDataPointDTO
|
|
13388
|
+
*/
|
|
13389
|
+
value: number;
|
|
13390
|
+
/**
|
|
13391
|
+
*
|
|
13392
|
+
* @type {number}
|
|
13393
|
+
* @memberof TimeSeriesDataPointDTO
|
|
13394
|
+
*/
|
|
13395
|
+
comparison?: number;
|
|
13396
|
+
}
|
|
12481
13397
|
/**
|
|
12482
13398
|
*
|
|
12483
13399
|
* @export
|
|
@@ -12523,6 +13439,80 @@ export interface TokenOutputDTOAPI {
|
|
|
12523
13439
|
*/
|
|
12524
13440
|
meta: MetadataOutput;
|
|
12525
13441
|
}
|
|
13442
|
+
/**
|
|
13443
|
+
*
|
|
13444
|
+
* @export
|
|
13445
|
+
* @interface TopBuyerDTO
|
|
13446
|
+
*/
|
|
13447
|
+
export interface TopBuyerDTO {
|
|
13448
|
+
/**
|
|
13449
|
+
*
|
|
13450
|
+
* @type {string}
|
|
13451
|
+
* @memberof TopBuyerDTO
|
|
13452
|
+
*/
|
|
13453
|
+
id: string;
|
|
13454
|
+
/**
|
|
13455
|
+
*
|
|
13456
|
+
* @type {string}
|
|
13457
|
+
* @memberof TopBuyerDTO
|
|
13458
|
+
*/
|
|
13459
|
+
name: string;
|
|
13460
|
+
/**
|
|
13461
|
+
*
|
|
13462
|
+
* @type {number}
|
|
13463
|
+
* @memberof TopBuyerDTO
|
|
13464
|
+
*/
|
|
13465
|
+
totalSpent: number;
|
|
13466
|
+
/**
|
|
13467
|
+
*
|
|
13468
|
+
* @type {number}
|
|
13469
|
+
* @memberof TopBuyerDTO
|
|
13470
|
+
*/
|
|
13471
|
+
orderCount: number;
|
|
13472
|
+
/**
|
|
13473
|
+
*
|
|
13474
|
+
* @type {string}
|
|
13475
|
+
* @memberof TopBuyerDTO
|
|
13476
|
+
*/
|
|
13477
|
+
lastPurchase: string;
|
|
13478
|
+
}
|
|
13479
|
+
/**
|
|
13480
|
+
*
|
|
13481
|
+
* @export
|
|
13482
|
+
* @interface TopItemDTO
|
|
13483
|
+
*/
|
|
13484
|
+
export interface TopItemDTO {
|
|
13485
|
+
/**
|
|
13486
|
+
*
|
|
13487
|
+
* @type {string}
|
|
13488
|
+
* @memberof TopItemDTO
|
|
13489
|
+
*/
|
|
13490
|
+
id: string;
|
|
13491
|
+
/**
|
|
13492
|
+
*
|
|
13493
|
+
* @type {string}
|
|
13494
|
+
* @memberof TopItemDTO
|
|
13495
|
+
*/
|
|
13496
|
+
name: string;
|
|
13497
|
+
/**
|
|
13498
|
+
*
|
|
13499
|
+
* @type {number}
|
|
13500
|
+
* @memberof TopItemDTO
|
|
13501
|
+
*/
|
|
13502
|
+
quantity: number;
|
|
13503
|
+
/**
|
|
13504
|
+
*
|
|
13505
|
+
* @type {number}
|
|
13506
|
+
* @memberof TopItemDTO
|
|
13507
|
+
*/
|
|
13508
|
+
revenue: number;
|
|
13509
|
+
/**
|
|
13510
|
+
*
|
|
13511
|
+
* @type {number}
|
|
13512
|
+
* @memberof TopItemDTO
|
|
13513
|
+
*/
|
|
13514
|
+
percentage: number;
|
|
13515
|
+
}
|
|
12526
13516
|
/**
|
|
12527
13517
|
*
|
|
12528
13518
|
* @export
|
|
@@ -13357,6 +14347,164 @@ export interface VariableUpdateDTO {
|
|
|
13357
14347
|
moduleId?: string;
|
|
13358
14348
|
}
|
|
13359
14349
|
|
|
14350
|
+
/**
|
|
14351
|
+
* AnalyticsApi - axios parameter creator
|
|
14352
|
+
* @export
|
|
14353
|
+
*/
|
|
14354
|
+
export const AnalyticsApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
14355
|
+
return {
|
|
14356
|
+
/**
|
|
14357
|
+
* Retrieve comprehensive analytics for shop performance across selected game servers Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `AnalyticsControllerGetShopAnalytics`
|
|
14358
|
+
* @summary Get shop analytics
|
|
14359
|
+
* @param {Array<string>} [gameServerIds]
|
|
14360
|
+
* @param {AnalyticsControllerGetShopAnalyticsPeriodEnum} [period]
|
|
14361
|
+
* @param {*} [options] Override http request option.
|
|
14362
|
+
* @throws {RequiredError}
|
|
14363
|
+
*/
|
|
14364
|
+
analyticsControllerGetShopAnalytics: async (
|
|
14365
|
+
gameServerIds?: Array<string>,
|
|
14366
|
+
period?: AnalyticsControllerGetShopAnalyticsPeriodEnum,
|
|
14367
|
+
options: RawAxiosRequestConfig = {},
|
|
14368
|
+
): Promise<RequestArgs> => {
|
|
14369
|
+
const localVarPath = `/analytics/shop`;
|
|
14370
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
14371
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
14372
|
+
let baseOptions;
|
|
14373
|
+
if (configuration) {
|
|
14374
|
+
baseOptions = configuration.baseOptions;
|
|
14375
|
+
}
|
|
14376
|
+
|
|
14377
|
+
const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
|
|
14378
|
+
const localVarHeaderParameter = {} as any;
|
|
14379
|
+
const localVarQueryParameter = {} as any;
|
|
14380
|
+
|
|
14381
|
+
// authentication domainAuth required
|
|
14382
|
+
|
|
14383
|
+
if (gameServerIds) {
|
|
14384
|
+
localVarQueryParameter['gameServerIds'] = gameServerIds;
|
|
14385
|
+
}
|
|
14386
|
+
|
|
14387
|
+
if (period !== undefined) {
|
|
14388
|
+
localVarQueryParameter['period'] = period;
|
|
14389
|
+
}
|
|
14390
|
+
|
|
14391
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
14392
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
14393
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
14394
|
+
|
|
14395
|
+
return {
|
|
14396
|
+
url: toPathString(localVarUrlObj),
|
|
14397
|
+
options: localVarRequestOptions,
|
|
14398
|
+
};
|
|
14399
|
+
},
|
|
14400
|
+
};
|
|
14401
|
+
};
|
|
14402
|
+
|
|
14403
|
+
/**
|
|
14404
|
+
* AnalyticsApi - functional programming interface
|
|
14405
|
+
* @export
|
|
14406
|
+
*/
|
|
14407
|
+
export const AnalyticsApiFp = function (configuration?: Configuration) {
|
|
14408
|
+
const localVarAxiosParamCreator = AnalyticsApiAxiosParamCreator(configuration);
|
|
14409
|
+
return {
|
|
14410
|
+
/**
|
|
14411
|
+
* Retrieve comprehensive analytics for shop performance across selected game servers Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `AnalyticsControllerGetShopAnalytics`
|
|
14412
|
+
* @summary Get shop analytics
|
|
14413
|
+
* @param {Array<string>} [gameServerIds]
|
|
14414
|
+
* @param {AnalyticsControllerGetShopAnalyticsPeriodEnum} [period]
|
|
14415
|
+
* @param {*} [options] Override http request option.
|
|
14416
|
+
* @throws {RequiredError}
|
|
14417
|
+
*/
|
|
14418
|
+
async analyticsControllerGetShopAnalytics(
|
|
14419
|
+
gameServerIds?: Array<string>,
|
|
14420
|
+
period?: AnalyticsControllerGetShopAnalyticsPeriodEnum,
|
|
14421
|
+
options?: RawAxiosRequestConfig,
|
|
14422
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopAnalyticsOutputDTOAPI>> {
|
|
14423
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.analyticsControllerGetShopAnalytics(
|
|
14424
|
+
gameServerIds,
|
|
14425
|
+
period,
|
|
14426
|
+
options,
|
|
14427
|
+
);
|
|
14428
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
14429
|
+
const localVarOperationServerBasePath =
|
|
14430
|
+
operationServerMap['AnalyticsApi.analyticsControllerGetShopAnalytics']?.[localVarOperationServerIndex]?.url;
|
|
14431
|
+
return (axios, basePath) =>
|
|
14432
|
+
createRequestFunction(
|
|
14433
|
+
localVarAxiosArgs,
|
|
14434
|
+
globalAxios,
|
|
14435
|
+
BASE_PATH,
|
|
14436
|
+
configuration,
|
|
14437
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
14438
|
+
},
|
|
14439
|
+
};
|
|
14440
|
+
};
|
|
14441
|
+
|
|
14442
|
+
/**
|
|
14443
|
+
* AnalyticsApi - factory interface
|
|
14444
|
+
* @export
|
|
14445
|
+
*/
|
|
14446
|
+
export const AnalyticsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
14447
|
+
const localVarFp = AnalyticsApiFp(configuration);
|
|
14448
|
+
return {
|
|
14449
|
+
/**
|
|
14450
|
+
* Retrieve comprehensive analytics for shop performance across selected game servers Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `AnalyticsControllerGetShopAnalytics`
|
|
14451
|
+
* @summary Get shop analytics
|
|
14452
|
+
* @param {Array<string>} [gameServerIds]
|
|
14453
|
+
* @param {AnalyticsControllerGetShopAnalyticsPeriodEnum} [period]
|
|
14454
|
+
* @param {*} [options] Override http request option.
|
|
14455
|
+
* @throws {RequiredError}
|
|
14456
|
+
*/
|
|
14457
|
+
analyticsControllerGetShopAnalytics(
|
|
14458
|
+
gameServerIds?: Array<string>,
|
|
14459
|
+
period?: AnalyticsControllerGetShopAnalyticsPeriodEnum,
|
|
14460
|
+
options?: RawAxiosRequestConfig,
|
|
14461
|
+
): AxiosPromise<ShopAnalyticsOutputDTOAPI> {
|
|
14462
|
+
return localVarFp
|
|
14463
|
+
.analyticsControllerGetShopAnalytics(gameServerIds, period, options)
|
|
14464
|
+
.then((request) => request(axios, basePath));
|
|
14465
|
+
},
|
|
14466
|
+
};
|
|
14467
|
+
};
|
|
14468
|
+
|
|
14469
|
+
/**
|
|
14470
|
+
* AnalyticsApi - object-oriented interface
|
|
14471
|
+
* @export
|
|
14472
|
+
* @class AnalyticsApi
|
|
14473
|
+
* @extends {BaseAPI}
|
|
14474
|
+
*/
|
|
14475
|
+
export class AnalyticsApi extends BaseAPI {
|
|
14476
|
+
/**
|
|
14477
|
+
* Retrieve comprehensive analytics for shop performance across selected game servers Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `AnalyticsControllerGetShopAnalytics`
|
|
14478
|
+
* @summary Get shop analytics
|
|
14479
|
+
* @param {Array<string>} [gameServerIds]
|
|
14480
|
+
* @param {AnalyticsControllerGetShopAnalyticsPeriodEnum} [period]
|
|
14481
|
+
* @param {*} [options] Override http request option.
|
|
14482
|
+
* @throws {RequiredError}
|
|
14483
|
+
* @memberof AnalyticsApi
|
|
14484
|
+
*/
|
|
14485
|
+
public analyticsControllerGetShopAnalytics(
|
|
14486
|
+
gameServerIds?: Array<string>,
|
|
14487
|
+
period?: AnalyticsControllerGetShopAnalyticsPeriodEnum,
|
|
14488
|
+
options?: RawAxiosRequestConfig,
|
|
14489
|
+
) {
|
|
14490
|
+
return AnalyticsApiFp(this.configuration)
|
|
14491
|
+
.analyticsControllerGetShopAnalytics(gameServerIds, period, options)
|
|
14492
|
+
.then((request) => request(this.axios, this.basePath));
|
|
14493
|
+
}
|
|
14494
|
+
}
|
|
14495
|
+
|
|
14496
|
+
/**
|
|
14497
|
+
* @export
|
|
14498
|
+
*/
|
|
14499
|
+
export const AnalyticsControllerGetShopAnalyticsPeriodEnum = {
|
|
14500
|
+
Last24Hours: 'last24Hours',
|
|
14501
|
+
Last7Days: 'last7Days',
|
|
14502
|
+
Last30Days: 'last30Days',
|
|
14503
|
+
Last90Days: 'last90Days',
|
|
14504
|
+
} as const;
|
|
14505
|
+
export type AnalyticsControllerGetShopAnalyticsPeriodEnum =
|
|
14506
|
+
(typeof AnalyticsControllerGetShopAnalyticsPeriodEnum)[keyof typeof AnalyticsControllerGetShopAnalyticsPeriodEnum];
|
|
14507
|
+
|
|
13360
14508
|
/**
|
|
13361
14509
|
* CommandApi - axios parameter creator
|
|
13362
14510
|
* @export
|
|
@@ -15027,6 +16175,46 @@ export class CronJobApi extends BaseAPI {
|
|
|
15027
16175
|
*/
|
|
15028
16176
|
export const DiscordApiAxiosParamCreator = function (configuration?: Configuration) {
|
|
15029
16177
|
return {
|
|
16178
|
+
/**
|
|
16179
|
+
* Delete a Discord message. The bot must have sent the original message or have appropriate permissions. Returns an empty response on success. Required permissions: `SEND_DISCORD_MESSAGE`<br> OperationId: `DiscordControllerDeleteMessage`
|
|
16180
|
+
* @summary Delete Discord message
|
|
16181
|
+
* @param {string} channelId
|
|
16182
|
+
* @param {string} messageId
|
|
16183
|
+
* @param {*} [options] Override http request option.
|
|
16184
|
+
* @throws {RequiredError}
|
|
16185
|
+
*/
|
|
16186
|
+
discordControllerDeleteMessage: async (
|
|
16187
|
+
channelId: string,
|
|
16188
|
+
messageId: string,
|
|
16189
|
+
options: RawAxiosRequestConfig = {},
|
|
16190
|
+
): Promise<RequestArgs> => {
|
|
16191
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
16192
|
+
assertParamExists('discordControllerDeleteMessage', 'channelId', channelId);
|
|
16193
|
+
// verify required parameter 'messageId' is not null or undefined
|
|
16194
|
+
assertParamExists('discordControllerDeleteMessage', 'messageId', messageId);
|
|
16195
|
+
const localVarPath = `/discord/channels/{channelId}/messages/{messageId}`
|
|
16196
|
+
.replace(`{${'channelId'}}`, encodeURIComponent(String(channelId)))
|
|
16197
|
+
.replace(`{${'messageId'}}`, encodeURIComponent(String(messageId)));
|
|
16198
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16199
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16200
|
+
let baseOptions;
|
|
16201
|
+
if (configuration) {
|
|
16202
|
+
baseOptions = configuration.baseOptions;
|
|
16203
|
+
}
|
|
16204
|
+
|
|
16205
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
16206
|
+
const localVarHeaderParameter = {} as any;
|
|
16207
|
+
const localVarQueryParameter = {} as any;
|
|
16208
|
+
|
|
16209
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16210
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16211
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
16212
|
+
|
|
16213
|
+
return {
|
|
16214
|
+
url: toPathString(localVarUrlObj),
|
|
16215
|
+
options: localVarRequestOptions,
|
|
16216
|
+
};
|
|
16217
|
+
},
|
|
15030
16218
|
/**
|
|
15031
16219
|
* Retrieve all channels (text, voice, etc.) in a specific Discord guild. Useful for selecting channels for notifications or commands. Required permissions: `VIEW_DISCORD_INFO`<br> OperationId: `DiscordControllerGetChannels`
|
|
15032
16220
|
* @summary Get guild channels
|
|
@@ -15225,6 +16413,51 @@ export const DiscordApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15225
16413
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
15226
16414
|
localVarRequestOptions.data = serializeDataIfNeeded(guildApiUpdateDTO, localVarRequestOptions, configuration);
|
|
15227
16415
|
|
|
16416
|
+
return {
|
|
16417
|
+
url: toPathString(localVarUrlObj),
|
|
16418
|
+
options: localVarRequestOptions,
|
|
16419
|
+
};
|
|
16420
|
+
},
|
|
16421
|
+
/**
|
|
16422
|
+
* Update an existing Discord message with new content or embed. Requires the bot to have sent the original message. Required permissions: `SEND_DISCORD_MESSAGE`<br> OperationId: `DiscordControllerUpdateMessage`
|
|
16423
|
+
* @summary Update Discord message
|
|
16424
|
+
* @param {string} channelId
|
|
16425
|
+
* @param {string} messageId
|
|
16426
|
+
* @param {SendMessageInputDTO} [sendMessageInputDTO] SendMessageInputDTO
|
|
16427
|
+
* @param {*} [options] Override http request option.
|
|
16428
|
+
* @throws {RequiredError}
|
|
16429
|
+
*/
|
|
16430
|
+
discordControllerUpdateMessage: async (
|
|
16431
|
+
channelId: string,
|
|
16432
|
+
messageId: string,
|
|
16433
|
+
sendMessageInputDTO?: SendMessageInputDTO,
|
|
16434
|
+
options: RawAxiosRequestConfig = {},
|
|
16435
|
+
): Promise<RequestArgs> => {
|
|
16436
|
+
// verify required parameter 'channelId' is not null or undefined
|
|
16437
|
+
assertParamExists('discordControllerUpdateMessage', 'channelId', channelId);
|
|
16438
|
+
// verify required parameter 'messageId' is not null or undefined
|
|
16439
|
+
assertParamExists('discordControllerUpdateMessage', 'messageId', messageId);
|
|
16440
|
+
const localVarPath = `/discord/channels/{channelId}/messages/{messageId}`
|
|
16441
|
+
.replace(`{${'channelId'}}`, encodeURIComponent(String(channelId)))
|
|
16442
|
+
.replace(`{${'messageId'}}`, encodeURIComponent(String(messageId)));
|
|
16443
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
16444
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
16445
|
+
let baseOptions;
|
|
16446
|
+
if (configuration) {
|
|
16447
|
+
baseOptions = configuration.baseOptions;
|
|
16448
|
+
}
|
|
16449
|
+
|
|
16450
|
+
const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
|
|
16451
|
+
const localVarHeaderParameter = {} as any;
|
|
16452
|
+
const localVarQueryParameter = {} as any;
|
|
16453
|
+
|
|
16454
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
16455
|
+
|
|
16456
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
16457
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
16458
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
16459
|
+
localVarRequestOptions.data = serializeDataIfNeeded(sendMessageInputDTO, localVarRequestOptions, configuration);
|
|
16460
|
+
|
|
15228
16461
|
return {
|
|
15229
16462
|
url: toPathString(localVarUrlObj),
|
|
15230
16463
|
options: localVarRequestOptions,
|
|
@@ -15240,6 +16473,35 @@ export const DiscordApiAxiosParamCreator = function (configuration?: Configurati
|
|
|
15240
16473
|
export const DiscordApiFp = function (configuration?: Configuration) {
|
|
15241
16474
|
const localVarAxiosParamCreator = DiscordApiAxiosParamCreator(configuration);
|
|
15242
16475
|
return {
|
|
16476
|
+
/**
|
|
16477
|
+
* Delete a Discord message. The bot must have sent the original message or have appropriate permissions. Returns an empty response on success. Required permissions: `SEND_DISCORD_MESSAGE`<br> OperationId: `DiscordControllerDeleteMessage`
|
|
16478
|
+
* @summary Delete Discord message
|
|
16479
|
+
* @param {string} channelId
|
|
16480
|
+
* @param {string} messageId
|
|
16481
|
+
* @param {*} [options] Override http request option.
|
|
16482
|
+
* @throws {RequiredError}
|
|
16483
|
+
*/
|
|
16484
|
+
async discordControllerDeleteMessage(
|
|
16485
|
+
channelId: string,
|
|
16486
|
+
messageId: string,
|
|
16487
|
+
options?: RawAxiosRequestConfig,
|
|
16488
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
16489
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerDeleteMessage(
|
|
16490
|
+
channelId,
|
|
16491
|
+
messageId,
|
|
16492
|
+
options,
|
|
16493
|
+
);
|
|
16494
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16495
|
+
const localVarOperationServerBasePath =
|
|
16496
|
+
operationServerMap['DiscordApi.discordControllerDeleteMessage']?.[localVarOperationServerIndex]?.url;
|
|
16497
|
+
return (axios, basePath) =>
|
|
16498
|
+
createRequestFunction(
|
|
16499
|
+
localVarAxiosArgs,
|
|
16500
|
+
globalAxios,
|
|
16501
|
+
BASE_PATH,
|
|
16502
|
+
configuration,
|
|
16503
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
16504
|
+
},
|
|
15243
16505
|
/**
|
|
15244
16506
|
* Retrieve all channels (text, voice, etc.) in a specific Discord guild. Useful for selecting channels for notifications or commands. Required permissions: `VIEW_DISCORD_INFO`<br> OperationId: `DiscordControllerGetChannels`
|
|
15245
16507
|
* @summary Get guild channels
|
|
@@ -15342,7 +16604,7 @@ export const DiscordApiFp = function (configuration?: Configuration) {
|
|
|
15342
16604
|
id: string,
|
|
15343
16605
|
sendMessageInputDTO?: SendMessageInputDTO,
|
|
15344
16606
|
options?: RawAxiosRequestConfig,
|
|
15345
|
-
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<
|
|
16607
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessageOutputDTOAPI>> {
|
|
15346
16608
|
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerSendMessage(
|
|
15347
16609
|
id,
|
|
15348
16610
|
sendMessageInputDTO,
|
|
@@ -15388,6 +16650,38 @@ export const DiscordApiFp = function (configuration?: Configuration) {
|
|
|
15388
16650
|
configuration,
|
|
15389
16651
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
15390
16652
|
},
|
|
16653
|
+
/**
|
|
16654
|
+
* Update an existing Discord message with new content or embed. Requires the bot to have sent the original message. Required permissions: `SEND_DISCORD_MESSAGE`<br> OperationId: `DiscordControllerUpdateMessage`
|
|
16655
|
+
* @summary Update Discord message
|
|
16656
|
+
* @param {string} channelId
|
|
16657
|
+
* @param {string} messageId
|
|
16658
|
+
* @param {SendMessageInputDTO} [sendMessageInputDTO] SendMessageInputDTO
|
|
16659
|
+
* @param {*} [options] Override http request option.
|
|
16660
|
+
* @throws {RequiredError}
|
|
16661
|
+
*/
|
|
16662
|
+
async discordControllerUpdateMessage(
|
|
16663
|
+
channelId: string,
|
|
16664
|
+
messageId: string,
|
|
16665
|
+
sendMessageInputDTO?: SendMessageInputDTO,
|
|
16666
|
+
options?: RawAxiosRequestConfig,
|
|
16667
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessageOutputDTOAPI>> {
|
|
16668
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerUpdateMessage(
|
|
16669
|
+
channelId,
|
|
16670
|
+
messageId,
|
|
16671
|
+
sendMessageInputDTO,
|
|
16672
|
+
options,
|
|
16673
|
+
);
|
|
16674
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
16675
|
+
const localVarOperationServerBasePath =
|
|
16676
|
+
operationServerMap['DiscordApi.discordControllerUpdateMessage']?.[localVarOperationServerIndex]?.url;
|
|
16677
|
+
return (axios, basePath) =>
|
|
16678
|
+
createRequestFunction(
|
|
16679
|
+
localVarAxiosArgs,
|
|
16680
|
+
globalAxios,
|
|
16681
|
+
BASE_PATH,
|
|
16682
|
+
configuration,
|
|
16683
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
16684
|
+
},
|
|
15391
16685
|
};
|
|
15392
16686
|
};
|
|
15393
16687
|
|
|
@@ -15398,6 +16692,23 @@ export const DiscordApiFp = function (configuration?: Configuration) {
|
|
|
15398
16692
|
export const DiscordApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
|
|
15399
16693
|
const localVarFp = DiscordApiFp(configuration);
|
|
15400
16694
|
return {
|
|
16695
|
+
/**
|
|
16696
|
+
* Delete a Discord message. The bot must have sent the original message or have appropriate permissions. Returns an empty response on success. Required permissions: `SEND_DISCORD_MESSAGE`<br> OperationId: `DiscordControllerDeleteMessage`
|
|
16697
|
+
* @summary Delete Discord message
|
|
16698
|
+
* @param {string} channelId
|
|
16699
|
+
* @param {string} messageId
|
|
16700
|
+
* @param {*} [options] Override http request option.
|
|
16701
|
+
* @throws {RequiredError}
|
|
16702
|
+
*/
|
|
16703
|
+
discordControllerDeleteMessage(
|
|
16704
|
+
channelId: string,
|
|
16705
|
+
messageId: string,
|
|
16706
|
+
options?: RawAxiosRequestConfig,
|
|
16707
|
+
): AxiosPromise<APIOutput> {
|
|
16708
|
+
return localVarFp
|
|
16709
|
+
.discordControllerDeleteMessage(channelId, messageId, options)
|
|
16710
|
+
.then((request) => request(axios, basePath));
|
|
16711
|
+
},
|
|
15401
16712
|
/**
|
|
15402
16713
|
* Retrieve all channels (text, voice, etc.) in a specific Discord guild. Useful for selecting channels for notifications or commands. Required permissions: `VIEW_DISCORD_INFO`<br> OperationId: `DiscordControllerGetChannels`
|
|
15403
16714
|
* @summary Get guild channels
|
|
@@ -15457,7 +16768,7 @@ export const DiscordApiFactory = function (configuration?: Configuration, basePa
|
|
|
15457
16768
|
id: string,
|
|
15458
16769
|
sendMessageInputDTO?: SendMessageInputDTO,
|
|
15459
16770
|
options?: RawAxiosRequestConfig,
|
|
15460
|
-
): AxiosPromise<
|
|
16771
|
+
): AxiosPromise<MessageOutputDTOAPI> {
|
|
15461
16772
|
return localVarFp
|
|
15462
16773
|
.discordControllerSendMessage(id, sendMessageInputDTO, options)
|
|
15463
16774
|
.then((request) => request(axios, basePath));
|
|
@@ -15479,6 +16790,25 @@ export const DiscordApiFactory = function (configuration?: Configuration, basePa
|
|
|
15479
16790
|
.discordControllerUpdateGuild(id, guildApiUpdateDTO, options)
|
|
15480
16791
|
.then((request) => request(axios, basePath));
|
|
15481
16792
|
},
|
|
16793
|
+
/**
|
|
16794
|
+
* Update an existing Discord message with new content or embed. Requires the bot to have sent the original message. Required permissions: `SEND_DISCORD_MESSAGE`<br> OperationId: `DiscordControllerUpdateMessage`
|
|
16795
|
+
* @summary Update Discord message
|
|
16796
|
+
* @param {string} channelId
|
|
16797
|
+
* @param {string} messageId
|
|
16798
|
+
* @param {SendMessageInputDTO} [sendMessageInputDTO] SendMessageInputDTO
|
|
16799
|
+
* @param {*} [options] Override http request option.
|
|
16800
|
+
* @throws {RequiredError}
|
|
16801
|
+
*/
|
|
16802
|
+
discordControllerUpdateMessage(
|
|
16803
|
+
channelId: string,
|
|
16804
|
+
messageId: string,
|
|
16805
|
+
sendMessageInputDTO?: SendMessageInputDTO,
|
|
16806
|
+
options?: RawAxiosRequestConfig,
|
|
16807
|
+
): AxiosPromise<MessageOutputDTOAPI> {
|
|
16808
|
+
return localVarFp
|
|
16809
|
+
.discordControllerUpdateMessage(channelId, messageId, sendMessageInputDTO, options)
|
|
16810
|
+
.then((request) => request(axios, basePath));
|
|
16811
|
+
},
|
|
15482
16812
|
};
|
|
15483
16813
|
};
|
|
15484
16814
|
|
|
@@ -15489,6 +16819,21 @@ export const DiscordApiFactory = function (configuration?: Configuration, basePa
|
|
|
15489
16819
|
* @extends {BaseAPI}
|
|
15490
16820
|
*/
|
|
15491
16821
|
export class DiscordApi extends BaseAPI {
|
|
16822
|
+
/**
|
|
16823
|
+
* Delete a Discord message. The bot must have sent the original message or have appropriate permissions. Returns an empty response on success. Required permissions: `SEND_DISCORD_MESSAGE`<br> OperationId: `DiscordControllerDeleteMessage`
|
|
16824
|
+
* @summary Delete Discord message
|
|
16825
|
+
* @param {string} channelId
|
|
16826
|
+
* @param {string} messageId
|
|
16827
|
+
* @param {*} [options] Override http request option.
|
|
16828
|
+
* @throws {RequiredError}
|
|
16829
|
+
* @memberof DiscordApi
|
|
16830
|
+
*/
|
|
16831
|
+
public discordControllerDeleteMessage(channelId: string, messageId: string, options?: RawAxiosRequestConfig) {
|
|
16832
|
+
return DiscordApiFp(this.configuration)
|
|
16833
|
+
.discordControllerDeleteMessage(channelId, messageId, options)
|
|
16834
|
+
.then((request) => request(this.axios, this.basePath));
|
|
16835
|
+
}
|
|
16836
|
+
|
|
15492
16837
|
/**
|
|
15493
16838
|
* Retrieve all channels (text, voice, etc.) in a specific Discord guild. Useful for selecting channels for notifications or commands. Required permissions: `VIEW_DISCORD_INFO`<br> OperationId: `DiscordControllerGetChannels`
|
|
15494
16839
|
* @summary Get guild channels
|
|
@@ -15581,6 +16926,27 @@ export class DiscordApi extends BaseAPI {
|
|
|
15581
16926
|
.discordControllerUpdateGuild(id, guildApiUpdateDTO, options)
|
|
15582
16927
|
.then((request) => request(this.axios, this.basePath));
|
|
15583
16928
|
}
|
|
16929
|
+
|
|
16930
|
+
/**
|
|
16931
|
+
* Update an existing Discord message with new content or embed. Requires the bot to have sent the original message. Required permissions: `SEND_DISCORD_MESSAGE`<br> OperationId: `DiscordControllerUpdateMessage`
|
|
16932
|
+
* @summary Update Discord message
|
|
16933
|
+
* @param {string} channelId
|
|
16934
|
+
* @param {string} messageId
|
|
16935
|
+
* @param {SendMessageInputDTO} [sendMessageInputDTO] SendMessageInputDTO
|
|
16936
|
+
* @param {*} [options] Override http request option.
|
|
16937
|
+
* @throws {RequiredError}
|
|
16938
|
+
* @memberof DiscordApi
|
|
16939
|
+
*/
|
|
16940
|
+
public discordControllerUpdateMessage(
|
|
16941
|
+
channelId: string,
|
|
16942
|
+
messageId: string,
|
|
16943
|
+
sendMessageInputDTO?: SendMessageInputDTO,
|
|
16944
|
+
options?: RawAxiosRequestConfig,
|
|
16945
|
+
) {
|
|
16946
|
+
return DiscordApiFp(this.configuration)
|
|
16947
|
+
.discordControllerUpdateMessage(channelId, messageId, sendMessageInputDTO, options)
|
|
16948
|
+
.then((request) => request(this.axios, this.basePath));
|
|
16949
|
+
}
|
|
15584
16950
|
}
|
|
15585
16951
|
|
|
15586
16952
|
/**
|
|
@@ -18234,6 +19600,42 @@ export const GameServerApiAxiosParamCreator = function (configuration?: Configur
|
|
|
18234
19600
|
options: localVarRequestOptions,
|
|
18235
19601
|
};
|
|
18236
19602
|
},
|
|
19603
|
+
/**
|
|
19604
|
+
* Resets all players\' currency to 0 on the specified game server. This action is irreversible. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerResetCurrency`
|
|
19605
|
+
* @summary Reset currency
|
|
19606
|
+
* @param {string} id
|
|
19607
|
+
* @param {*} [options] Override http request option.
|
|
19608
|
+
* @throws {RequiredError}
|
|
19609
|
+
*/
|
|
19610
|
+
gameServerControllerResetCurrency: async (
|
|
19611
|
+
id: string,
|
|
19612
|
+
options: RawAxiosRequestConfig = {},
|
|
19613
|
+
): Promise<RequestArgs> => {
|
|
19614
|
+
// verify required parameter 'id' is not null or undefined
|
|
19615
|
+
assertParamExists('gameServerControllerResetCurrency', 'id', id);
|
|
19616
|
+
const localVarPath = `/gameserver/{id}/reset-currency`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
19617
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
19618
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
19619
|
+
let baseOptions;
|
|
19620
|
+
if (configuration) {
|
|
19621
|
+
baseOptions = configuration.baseOptions;
|
|
19622
|
+
}
|
|
19623
|
+
|
|
19624
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
|
|
19625
|
+
const localVarHeaderParameter = {} as any;
|
|
19626
|
+
const localVarQueryParameter = {} as any;
|
|
19627
|
+
|
|
19628
|
+
// authentication domainAuth required
|
|
19629
|
+
|
|
19630
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
19631
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
19632
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
19633
|
+
|
|
19634
|
+
return {
|
|
19635
|
+
url: toPathString(localVarUrlObj),
|
|
19636
|
+
options: localVarRequestOptions,
|
|
19637
|
+
};
|
|
19638
|
+
},
|
|
18237
19639
|
/**
|
|
18238
19640
|
* Fetch gameservers<br> OperationId: `GameServerControllerSearch`
|
|
18239
19641
|
* @summary Search
|
|
@@ -19026,6 +20428,29 @@ export const GameServerApiFp = function (configuration?: Configuration) {
|
|
|
19026
20428
|
configuration,
|
|
19027
20429
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
19028
20430
|
},
|
|
20431
|
+
/**
|
|
20432
|
+
* Resets all players\' currency to 0 on the specified game server. This action is irreversible. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerResetCurrency`
|
|
20433
|
+
* @summary Reset currency
|
|
20434
|
+
* @param {string} id
|
|
20435
|
+
* @param {*} [options] Override http request option.
|
|
20436
|
+
* @throws {RequiredError}
|
|
20437
|
+
*/
|
|
20438
|
+
async gameServerControllerResetCurrency(
|
|
20439
|
+
id: string,
|
|
20440
|
+
options?: RawAxiosRequestConfig,
|
|
20441
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
20442
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerResetCurrency(id, options);
|
|
20443
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
20444
|
+
const localVarOperationServerBasePath =
|
|
20445
|
+
operationServerMap['GameServerApi.gameServerControllerResetCurrency']?.[localVarOperationServerIndex]?.url;
|
|
20446
|
+
return (axios, basePath) =>
|
|
20447
|
+
createRequestFunction(
|
|
20448
|
+
localVarAxiosArgs,
|
|
20449
|
+
globalAxios,
|
|
20450
|
+
BASE_PATH,
|
|
20451
|
+
configuration,
|
|
20452
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
20453
|
+
},
|
|
19029
20454
|
/**
|
|
19030
20455
|
* Fetch gameservers<br> OperationId: `GameServerControllerSearch`
|
|
19031
20456
|
* @summary Search
|
|
@@ -19501,6 +20926,16 @@ export const GameServerApiFactory = function (configuration?: Configuration, bas
|
|
|
19501
20926
|
gameServerControllerRemove(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
19502
20927
|
return localVarFp.gameServerControllerRemove(id, options).then((request) => request(axios, basePath));
|
|
19503
20928
|
},
|
|
20929
|
+
/**
|
|
20930
|
+
* Resets all players\' currency to 0 on the specified game server. This action is irreversible. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerResetCurrency`
|
|
20931
|
+
* @summary Reset currency
|
|
20932
|
+
* @param {string} id
|
|
20933
|
+
* @param {*} [options] Override http request option.
|
|
20934
|
+
* @throws {RequiredError}
|
|
20935
|
+
*/
|
|
20936
|
+
gameServerControllerResetCurrency(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
20937
|
+
return localVarFp.gameServerControllerResetCurrency(id, options).then((request) => request(axios, basePath));
|
|
20938
|
+
},
|
|
19504
20939
|
/**
|
|
19505
20940
|
* Fetch gameservers<br> OperationId: `GameServerControllerSearch`
|
|
19506
20941
|
* @summary Search
|
|
@@ -19907,6 +21342,20 @@ export class GameServerApi extends BaseAPI {
|
|
|
19907
21342
|
.then((request) => request(this.axios, this.basePath));
|
|
19908
21343
|
}
|
|
19909
21344
|
|
|
21345
|
+
/**
|
|
21346
|
+
* Resets all players\' currency to 0 on the specified game server. This action is irreversible. Required permissions: `MANAGE_GAMESERVERS`<br> OperationId: `GameServerControllerResetCurrency`
|
|
21347
|
+
* @summary Reset currency
|
|
21348
|
+
* @param {string} id
|
|
21349
|
+
* @param {*} [options] Override http request option.
|
|
21350
|
+
* @throws {RequiredError}
|
|
21351
|
+
* @memberof GameServerApi
|
|
21352
|
+
*/
|
|
21353
|
+
public gameServerControllerResetCurrency(id: string, options?: RawAxiosRequestConfig) {
|
|
21354
|
+
return GameServerApiFp(this.configuration)
|
|
21355
|
+
.gameServerControllerResetCurrency(id, options)
|
|
21356
|
+
.then((request) => request(this.axios, this.basePath));
|
|
21357
|
+
}
|
|
21358
|
+
|
|
19910
21359
|
/**
|
|
19911
21360
|
* Fetch gameservers<br> OperationId: `GameServerControllerSearch`
|
|
19912
21361
|
* @summary Search
|
|
@@ -22997,6 +24446,39 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
|
|
|
22997
24446
|
options: localVarRequestOptions,
|
|
22998
24447
|
};
|
|
22999
24448
|
},
|
|
24449
|
+
/**
|
|
24450
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
24451
|
+
* @summary Delete
|
|
24452
|
+
* @param {string} id
|
|
24453
|
+
* @param {*} [options] Override http request option.
|
|
24454
|
+
* @throws {RequiredError}
|
|
24455
|
+
*/
|
|
24456
|
+
playerControllerDelete: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
24457
|
+
// verify required parameter 'id' is not null or undefined
|
|
24458
|
+
assertParamExists('playerControllerDelete', 'id', id);
|
|
24459
|
+
const localVarPath = `/player/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
|
|
24460
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
24461
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
24462
|
+
let baseOptions;
|
|
24463
|
+
if (configuration) {
|
|
24464
|
+
baseOptions = configuration.baseOptions;
|
|
24465
|
+
}
|
|
24466
|
+
|
|
24467
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
24468
|
+
const localVarHeaderParameter = {} as any;
|
|
24469
|
+
const localVarQueryParameter = {} as any;
|
|
24470
|
+
|
|
24471
|
+
// authentication domainAuth required
|
|
24472
|
+
|
|
24473
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
24474
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
24475
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
24476
|
+
|
|
24477
|
+
return {
|
|
24478
|
+
url: toPathString(localVarUrlObj),
|
|
24479
|
+
options: localVarRequestOptions,
|
|
24480
|
+
};
|
|
24481
|
+
},
|
|
23000
24482
|
/**
|
|
23001
24483
|
* Get the player that is currently authenticated. This is a low-privilege route, returning limited data.<br> OperationId: `PlayerControllerGetMe`
|
|
23002
24484
|
* @summary Get current player
|
|
@@ -23307,6 +24789,29 @@ export const PlayerApiFp = function (configuration?: Configuration) {
|
|
|
23307
24789
|
configuration,
|
|
23308
24790
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
23309
24791
|
},
|
|
24792
|
+
/**
|
|
24793
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
24794
|
+
* @summary Delete
|
|
24795
|
+
* @param {string} id
|
|
24796
|
+
* @param {*} [options] Override http request option.
|
|
24797
|
+
* @throws {RequiredError}
|
|
24798
|
+
*/
|
|
24799
|
+
async playerControllerDelete(
|
|
24800
|
+
id: string,
|
|
24801
|
+
options?: RawAxiosRequestConfig,
|
|
24802
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
24803
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerControllerDelete(id, options);
|
|
24804
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
24805
|
+
const localVarOperationServerBasePath =
|
|
24806
|
+
operationServerMap['PlayerApi.playerControllerDelete']?.[localVarOperationServerIndex]?.url;
|
|
24807
|
+
return (axios, basePath) =>
|
|
24808
|
+
createRequestFunction(
|
|
24809
|
+
localVarAxiosArgs,
|
|
24810
|
+
globalAxios,
|
|
24811
|
+
BASE_PATH,
|
|
24812
|
+
configuration,
|
|
24813
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
24814
|
+
},
|
|
23310
24815
|
/**
|
|
23311
24816
|
* Get the player that is currently authenticated. This is a low-privilege route, returning limited data.<br> OperationId: `PlayerControllerGetMe`
|
|
23312
24817
|
* @summary Get current player
|
|
@@ -23493,6 +24998,16 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
|
|
|
23493
24998
|
.playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
|
|
23494
24999
|
.then((request) => request(axios, basePath));
|
|
23495
25000
|
},
|
|
25001
|
+
/**
|
|
25002
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
25003
|
+
* @summary Delete
|
|
25004
|
+
* @param {string} id
|
|
25005
|
+
* @param {*} [options] Override http request option.
|
|
25006
|
+
* @throws {RequiredError}
|
|
25007
|
+
*/
|
|
25008
|
+
playerControllerDelete(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
|
|
25009
|
+
return localVarFp.playerControllerDelete(id, options).then((request) => request(axios, basePath));
|
|
25010
|
+
},
|
|
23496
25011
|
/**
|
|
23497
25012
|
* Get the player that is currently authenticated. This is a low-privilege route, returning limited data.<br> OperationId: `PlayerControllerGetMe`
|
|
23498
25013
|
* @summary Get current player
|
|
@@ -23648,6 +25163,20 @@ export class PlayerApi extends BaseAPI {
|
|
|
23648
25163
|
.then((request) => request(this.axios, this.basePath));
|
|
23649
25164
|
}
|
|
23650
25165
|
|
|
25166
|
+
/**
|
|
25167
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerControllerDelete`
|
|
25168
|
+
* @summary Delete
|
|
25169
|
+
* @param {string} id
|
|
25170
|
+
* @param {*} [options] Override http request option.
|
|
25171
|
+
* @throws {RequiredError}
|
|
25172
|
+
* @memberof PlayerApi
|
|
25173
|
+
*/
|
|
25174
|
+
public playerControllerDelete(id: string, options?: RawAxiosRequestConfig) {
|
|
25175
|
+
return PlayerApiFp(this.configuration)
|
|
25176
|
+
.playerControllerDelete(id, options)
|
|
25177
|
+
.then((request) => request(this.axios, this.basePath));
|
|
25178
|
+
}
|
|
25179
|
+
|
|
23651
25180
|
/**
|
|
23652
25181
|
* Get the player that is currently authenticated. This is a low-privilege route, returning limited data.<br> OperationId: `PlayerControllerGetMe`
|
|
23653
25182
|
* @summary Get current player
|
|
@@ -23819,6 +25348,48 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration?:
|
|
|
23819
25348
|
options: localVarRequestOptions,
|
|
23820
25349
|
};
|
|
23821
25350
|
},
|
|
25351
|
+
/**
|
|
25352
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
25353
|
+
* @summary Delete
|
|
25354
|
+
* @param {string} gameServerId
|
|
25355
|
+
* @param {string} playerId
|
|
25356
|
+
* @param {*} [options] Override http request option.
|
|
25357
|
+
* @throws {RequiredError}
|
|
25358
|
+
*/
|
|
25359
|
+
playerOnGameServerControllerDelete: async (
|
|
25360
|
+
gameServerId: string,
|
|
25361
|
+
playerId: string,
|
|
25362
|
+
options: RawAxiosRequestConfig = {},
|
|
25363
|
+
): Promise<RequestArgs> => {
|
|
25364
|
+
// verify required parameter 'gameServerId' is not null or undefined
|
|
25365
|
+
assertParamExists('playerOnGameServerControllerDelete', 'gameServerId', gameServerId);
|
|
25366
|
+
// verify required parameter 'playerId' is not null or undefined
|
|
25367
|
+
assertParamExists('playerOnGameServerControllerDelete', 'playerId', playerId);
|
|
25368
|
+
const localVarPath = `/gameserver/{gameServerId}/player/{playerId}`
|
|
25369
|
+
.replace(`{${'gameServerId'}}`, encodeURIComponent(String(gameServerId)))
|
|
25370
|
+
.replace(`{${'playerId'}}`, encodeURIComponent(String(playerId)));
|
|
25371
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
25372
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
25373
|
+
let baseOptions;
|
|
25374
|
+
if (configuration) {
|
|
25375
|
+
baseOptions = configuration.baseOptions;
|
|
25376
|
+
}
|
|
25377
|
+
|
|
25378
|
+
const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options };
|
|
25379
|
+
const localVarHeaderParameter = {} as any;
|
|
25380
|
+
const localVarQueryParameter = {} as any;
|
|
25381
|
+
|
|
25382
|
+
// authentication domainAuth required
|
|
25383
|
+
|
|
25384
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
25385
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
25386
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
25387
|
+
|
|
25388
|
+
return {
|
|
25389
|
+
url: toPathString(localVarUrlObj),
|
|
25390
|
+
options: localVarRequestOptions,
|
|
25391
|
+
};
|
|
25392
|
+
},
|
|
23822
25393
|
/**
|
|
23823
25394
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
23824
25395
|
* @summary Get one
|
|
@@ -24087,6 +25658,36 @@ export const PlayerOnGameServerApiFp = function (configuration?: Configuration)
|
|
|
24087
25658
|
configuration,
|
|
24088
25659
|
)(axios, localVarOperationServerBasePath || basePath);
|
|
24089
25660
|
},
|
|
25661
|
+
/**
|
|
25662
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
25663
|
+
* @summary Delete
|
|
25664
|
+
* @param {string} gameServerId
|
|
25665
|
+
* @param {string} playerId
|
|
25666
|
+
* @param {*} [options] Override http request option.
|
|
25667
|
+
* @throws {RequiredError}
|
|
25668
|
+
*/
|
|
25669
|
+
async playerOnGameServerControllerDelete(
|
|
25670
|
+
gameServerId: string,
|
|
25671
|
+
playerId: string,
|
|
25672
|
+
options?: RawAxiosRequestConfig,
|
|
25673
|
+
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
|
|
25674
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.playerOnGameServerControllerDelete(
|
|
25675
|
+
gameServerId,
|
|
25676
|
+
playerId,
|
|
25677
|
+
options,
|
|
25678
|
+
);
|
|
25679
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
25680
|
+
const localVarOperationServerBasePath =
|
|
25681
|
+
operationServerMap['PlayerOnGameServerApi.playerOnGameServerControllerDelete']?.[localVarOperationServerIndex]
|
|
25682
|
+
?.url;
|
|
25683
|
+
return (axios, basePath) =>
|
|
25684
|
+
createRequestFunction(
|
|
25685
|
+
localVarAxiosArgs,
|
|
25686
|
+
globalAxios,
|
|
25687
|
+
BASE_PATH,
|
|
25688
|
+
configuration,
|
|
25689
|
+
)(axios, localVarOperationServerBasePath || basePath);
|
|
25690
|
+
},
|
|
24090
25691
|
/**
|
|
24091
25692
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
24092
25693
|
* @summary Get one
|
|
@@ -24272,6 +25873,23 @@ export const PlayerOnGameServerApiFactory = function (
|
|
|
24272
25873
|
)
|
|
24273
25874
|
.then((request) => request(axios, basePath));
|
|
24274
25875
|
},
|
|
25876
|
+
/**
|
|
25877
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
25878
|
+
* @summary Delete
|
|
25879
|
+
* @param {string} gameServerId
|
|
25880
|
+
* @param {string} playerId
|
|
25881
|
+
* @param {*} [options] Override http request option.
|
|
25882
|
+
* @throws {RequiredError}
|
|
25883
|
+
*/
|
|
25884
|
+
playerOnGameServerControllerDelete(
|
|
25885
|
+
gameServerId: string,
|
|
25886
|
+
playerId: string,
|
|
25887
|
+
options?: RawAxiosRequestConfig,
|
|
25888
|
+
): AxiosPromise<APIOutput> {
|
|
25889
|
+
return localVarFp
|
|
25890
|
+
.playerOnGameServerControllerDelete(gameServerId, playerId, options)
|
|
25891
|
+
.then((request) => request(axios, basePath));
|
|
25892
|
+
},
|
|
24275
25893
|
/**
|
|
24276
25894
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
24277
25895
|
* @summary Get one
|
|
@@ -24407,6 +26025,21 @@ export class PlayerOnGameServerApi extends BaseAPI {
|
|
|
24407
26025
|
.then((request) => request(this.axios, this.basePath));
|
|
24408
26026
|
}
|
|
24409
26027
|
|
|
26028
|
+
/**
|
|
26029
|
+
* Required permissions: `MANAGE_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerDelete`
|
|
26030
|
+
* @summary Delete
|
|
26031
|
+
* @param {string} gameServerId
|
|
26032
|
+
* @param {string} playerId
|
|
26033
|
+
* @param {*} [options] Override http request option.
|
|
26034
|
+
* @throws {RequiredError}
|
|
26035
|
+
* @memberof PlayerOnGameServerApi
|
|
26036
|
+
*/
|
|
26037
|
+
public playerOnGameServerControllerDelete(gameServerId: string, playerId: string, options?: RawAxiosRequestConfig) {
|
|
26038
|
+
return PlayerOnGameServerApiFp(this.configuration)
|
|
26039
|
+
.playerOnGameServerControllerDelete(gameServerId, playerId, options)
|
|
26040
|
+
.then((request) => request(this.axios, this.basePath));
|
|
26041
|
+
}
|
|
26042
|
+
|
|
24410
26043
|
/**
|
|
24411
26044
|
* Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
|
|
24412
26045
|
* @summary Get one
|
|
@@ -25477,6 +27110,8 @@ export const SettingsControllerGetKeysEnum = {
|
|
|
25477
27110
|
DeveloperMode: 'developerMode',
|
|
25478
27111
|
MessagePrefix: 'messagePrefix',
|
|
25479
27112
|
DomainName: 'domainName',
|
|
27113
|
+
DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
|
|
27114
|
+
DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
|
|
25480
27115
|
} as const;
|
|
25481
27116
|
export type SettingsControllerGetKeysEnum =
|
|
25482
27117
|
(typeof SettingsControllerGetKeysEnum)[keyof typeof SettingsControllerGetKeysEnum];
|
|
@@ -28385,8 +30020,10 @@ export const StatsControllerGetEventsCountEventNameEnum = {
|
|
|
28385
30020
|
CronjobExecuted: 'cronjob-executed',
|
|
28386
30021
|
CurrencyAdded: 'currency-added',
|
|
28387
30022
|
CurrencyDeducted: 'currency-deducted',
|
|
30023
|
+
CurrencyResetAll: 'currency-reset-all',
|
|
28388
30024
|
SettingsSet: 'settings-set',
|
|
28389
30025
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
30026
|
+
PlayerNewNameDetected: 'player-new-name-detected',
|
|
28390
30027
|
ServerStatusChanged: 'server-status-changed',
|
|
28391
30028
|
ModuleCreated: 'module-created',
|
|
28392
30029
|
ModuleUpdated: 'module-updated',
|
|
@@ -28406,6 +30043,7 @@ export const StatsControllerGetEventsCountEventNameEnum = {
|
|
|
28406
30043
|
GameserverDeleted: 'gameserver-deleted',
|
|
28407
30044
|
PlayerBanned: 'player-banned',
|
|
28408
30045
|
PlayerUnbanned: 'player-unbanned',
|
|
30046
|
+
PlayerDeleted: 'player-deleted',
|
|
28409
30047
|
PlayerConnected: 'player-connected',
|
|
28410
30048
|
PlayerDisconnected: 'player-disconnected',
|
|
28411
30049
|
ChatMessage: 'chat-message',
|