@takaro/apiclient 0.3.2 → 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.
@@ -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',
@@ -3807,6 +3965,19 @@ export const GameServerCreateDTOTypeEnum = {
3807
3965
  export type GameServerCreateDTOTypeEnum =
3808
3966
  (typeof GameServerCreateDTOTypeEnum)[keyof typeof GameServerCreateDTOTypeEnum];
3809
3967
 
3968
+ /**
3969
+ *
3970
+ * @export
3971
+ * @interface GameServerIdQueryParam
3972
+ */
3973
+ export interface GameServerIdQueryParam {
3974
+ /**
3975
+ *
3976
+ * @type {string}
3977
+ * @memberof GameServerIdQueryParam
3978
+ */
3979
+ gameServerId?: string;
3980
+ }
3810
3981
  /**
3811
3982
  *
3812
3983
  * @export
@@ -4251,6 +4422,7 @@ export const GetJobInputDTOTypeEnum = {
4251
4422
  SyncEntities: 'syncEntities',
4252
4423
  SyncBans: 'syncBans',
4253
4424
  SyncSteam: 'syncSteam',
4425
+ SyncDiscordRoles: 'syncDiscordRoles',
4254
4426
  } as const;
4255
4427
 
4256
4428
  export type GetJobInputDTOTypeEnum = (typeof GetJobInputDTOTypeEnum)[keyof typeof GetJobInputDTOTypeEnum];
@@ -4283,6 +4455,8 @@ export const GetSettingsInputKeysEnum = {
4283
4455
  DeveloperMode: 'developerMode',
4284
4456
  MessagePrefix: 'messagePrefix',
4285
4457
  DomainName: 'domainName',
4458
+ DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
4459
+ DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
4286
4460
  } as const;
4287
4461
 
4288
4462
  export type GetSettingsInputKeysEnum = (typeof GetSettingsInputKeysEnum)[keyof typeof GetSettingsInputKeysEnum];
@@ -4597,6 +4771,31 @@ export interface HealthOutputDTO {
4597
4771
  */
4598
4772
  healthy: boolean;
4599
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
+ }
4600
4799
  /**
4601
4800
  *
4602
4801
  * @export
@@ -4660,8 +4859,10 @@ export const HookCreateDTOEventTypeEnum = {
4660
4859
  CronjobExecuted: 'cronjob-executed',
4661
4860
  CurrencyAdded: 'currency-added',
4662
4861
  CurrencyDeducted: 'currency-deducted',
4862
+ CurrencyResetAll: 'currency-reset-all',
4663
4863
  SettingsSet: 'settings-set',
4664
4864
  PlayerNewIpDetected: 'player-new-ip-detected',
4865
+ PlayerNewNameDetected: 'player-new-name-detected',
4665
4866
  ServerStatusChanged: 'server-status-changed',
4666
4867
  ModuleCreated: 'module-created',
4667
4868
  ModuleUpdated: 'module-updated',
@@ -4681,6 +4882,7 @@ export const HookCreateDTOEventTypeEnum = {
4681
4882
  GameserverDeleted: 'gameserver-deleted',
4682
4883
  PlayerBanned: 'player-banned',
4683
4884
  PlayerUnbanned: 'player-unbanned',
4885
+ PlayerDeleted: 'player-deleted',
4684
4886
  } as const;
4685
4887
 
4686
4888
  export type HookCreateDTOEventTypeEnum = (typeof HookCreateDTOEventTypeEnum)[keyof typeof HookCreateDTOEventTypeEnum];
@@ -4816,8 +5018,10 @@ export const HookOutputDTOEventTypeEnum = {
4816
5018
  CronjobExecuted: 'cronjob-executed',
4817
5019
  CurrencyAdded: 'currency-added',
4818
5020
  CurrencyDeducted: 'currency-deducted',
5021
+ CurrencyResetAll: 'currency-reset-all',
4819
5022
  SettingsSet: 'settings-set',
4820
5023
  PlayerNewIpDetected: 'player-new-ip-detected',
5024
+ PlayerNewNameDetected: 'player-new-name-detected',
4821
5025
  ServerStatusChanged: 'server-status-changed',
4822
5026
  ModuleCreated: 'module-created',
4823
5027
  ModuleUpdated: 'module-updated',
@@ -4837,6 +5041,7 @@ export const HookOutputDTOEventTypeEnum = {
4837
5041
  GameserverDeleted: 'gameserver-deleted',
4838
5042
  PlayerBanned: 'player-banned',
4839
5043
  PlayerUnbanned: 'player-unbanned',
5044
+ PlayerDeleted: 'player-deleted',
4840
5045
  } as const;
4841
5046
 
4842
5047
  export type HookOutputDTOEventTypeEnum = (typeof HookOutputDTOEventTypeEnum)[keyof typeof HookOutputDTOEventTypeEnum];
@@ -4917,8 +5122,10 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
4917
5122
  CronjobExecuted: 'cronjob-executed',
4918
5123
  CurrencyAdded: 'currency-added',
4919
5124
  CurrencyDeducted: 'currency-deducted',
5125
+ CurrencyResetAll: 'currency-reset-all',
4920
5126
  SettingsSet: 'settings-set',
4921
5127
  PlayerNewIpDetected: 'player-new-ip-detected',
5128
+ PlayerNewNameDetected: 'player-new-name-detected',
4922
5129
  ServerStatusChanged: 'server-status-changed',
4923
5130
  ModuleCreated: 'module-created',
4924
5131
  ModuleUpdated: 'module-updated',
@@ -4938,6 +5145,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
4938
5145
  GameserverDeleted: 'gameserver-deleted',
4939
5146
  PlayerBanned: 'player-banned',
4940
5147
  PlayerUnbanned: 'player-unbanned',
5148
+ PlayerDeleted: 'player-deleted',
4941
5149
  } as const;
4942
5150
 
4943
5151
  export type HookSearchInputAllowedFiltersEventTypeEnum =
@@ -5090,8 +5298,10 @@ export const HookTriggerDTOEventTypeEnum = {
5090
5298
  CronjobExecuted: 'cronjob-executed',
5091
5299
  CurrencyAdded: 'currency-added',
5092
5300
  CurrencyDeducted: 'currency-deducted',
5301
+ CurrencyResetAll: 'currency-reset-all',
5093
5302
  SettingsSet: 'settings-set',
5094
5303
  PlayerNewIpDetected: 'player-new-ip-detected',
5304
+ PlayerNewNameDetected: 'player-new-name-detected',
5095
5305
  ServerStatusChanged: 'server-status-changed',
5096
5306
  ModuleCreated: 'module-created',
5097
5307
  ModuleUpdated: 'module-updated',
@@ -5111,6 +5321,7 @@ export const HookTriggerDTOEventTypeEnum = {
5111
5321
  GameserverDeleted: 'gameserver-deleted',
5112
5322
  PlayerBanned: 'player-banned',
5113
5323
  PlayerUnbanned: 'player-unbanned',
5324
+ PlayerDeleted: 'player-deleted',
5114
5325
  } as const;
5115
5326
 
5116
5327
  export type HookTriggerDTOEventTypeEnum =
@@ -5173,8 +5384,10 @@ export const HookUpdateDTOEventTypeEnum = {
5173
5384
  CronjobExecuted: 'cronjob-executed',
5174
5385
  CurrencyAdded: 'currency-added',
5175
5386
  CurrencyDeducted: 'currency-deducted',
5387
+ CurrencyResetAll: 'currency-reset-all',
5176
5388
  SettingsSet: 'settings-set',
5177
5389
  PlayerNewIpDetected: 'player-new-ip-detected',
5390
+ PlayerNewNameDetected: 'player-new-name-detected',
5178
5391
  ServerStatusChanged: 'server-status-changed',
5179
5392
  ModuleCreated: 'module-created',
5180
5393
  ModuleUpdated: 'module-updated',
@@ -5194,6 +5407,7 @@ export const HookUpdateDTOEventTypeEnum = {
5194
5407
  GameserverDeleted: 'gameserver-deleted',
5195
5408
  PlayerBanned: 'player-banned',
5196
5409
  PlayerUnbanned: 'player-unbanned',
5410
+ PlayerDeleted: 'player-deleted',
5197
5411
  } as const;
5198
5412
 
5199
5413
  export type HookUpdateDTOEventTypeEnum = (typeof HookUpdateDTOEventTypeEnum)[keyof typeof HookUpdateDTOEventTypeEnum];
@@ -5498,8 +5712,10 @@ export const IHookEventTypeEnum = {
5498
5712
  CronjobExecuted: 'cronjob-executed',
5499
5713
  CurrencyAdded: 'currency-added',
5500
5714
  CurrencyDeducted: 'currency-deducted',
5715
+ CurrencyResetAll: 'currency-reset-all',
5501
5716
  SettingsSet: 'settings-set',
5502
5717
  PlayerNewIpDetected: 'player-new-ip-detected',
5718
+ PlayerNewNameDetected: 'player-new-name-detected',
5503
5719
  ServerStatusChanged: 'server-status-changed',
5504
5720
  ModuleCreated: 'module-created',
5505
5721
  ModuleUpdated: 'module-updated',
@@ -5519,6 +5735,7 @@ export const IHookEventTypeEnum = {
5519
5735
  GameserverDeleted: 'gameserver-deleted',
5520
5736
  PlayerBanned: 'player-banned',
5521
5737
  PlayerUnbanned: 'player-unbanned',
5738
+ PlayerDeleted: 'player-deleted',
5522
5739
  } as const;
5523
5740
 
5524
5741
  export type IHookEventTypeEnum = (typeof IHookEventTypeEnum)[keyof typeof IHookEventTypeEnum];
@@ -5842,6 +6059,43 @@ export interface ImportOutputDTOAPI {
5842
6059
  */
5843
6060
  meta: MetadataOutput;
5844
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
+ }
5845
6099
  /**
5846
6100
  *
5847
6101
  * @export
@@ -6294,6 +6548,67 @@ export interface JobStatusOutputDTOAPI {
6294
6548
  */
6295
6549
  meta: MetadataOutput;
6296
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
+ }
6297
6612
  /**
6298
6613
  *
6299
6614
  * @export
@@ -6551,6 +6866,62 @@ export interface MeOutputDTO {
6551
6866
  */
6552
6867
  pogs: Array<PlayerOnGameserverOutputDTO>;
6553
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
+ }
6554
6925
  /**
6555
6926
  *
6556
6927
  * @export
@@ -7675,38 +8046,135 @@ export type NOTDOMAINSCOPEDTakaroModelDTOCreatedAt = string;
7675
8046
  /**
7676
8047
  *
7677
8048
  * @export
7678
- * @interface OptionalPogStatsInputDTO
8049
+ * @interface NameHistoryOutputDTO
7679
8050
  */
7680
- export interface OptionalPogStatsInputDTO {
8051
+ export interface NameHistoryOutputDTO {
7681
8052
  /**
7682
8053
  *
7683
8054
  * @type {string}
7684
- * @memberof OptionalPogStatsInputDTO
8055
+ * @memberof NameHistoryOutputDTO
7685
8056
  */
7686
- gameServerId: string;
8057
+ name: string;
7687
8058
  /**
7688
8059
  *
7689
8060
  * @type {string}
7690
- * @memberof OptionalPogStatsInputDTO
8061
+ * @memberof NameHistoryOutputDTO
7691
8062
  */
7692
- playerId?: string;
8063
+ id: string;
7693
8064
  /**
7694
8065
  *
7695
- * @type {string}
7696
- * @memberof OptionalPogStatsInputDTO
8066
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
8067
+ * @memberof NameHistoryOutputDTO
7697
8068
  */
7698
- startDate?: string;
8069
+ createdAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7699
8070
  /**
7700
8071
  *
7701
- * @type {string}
7702
- * @memberof OptionalPogStatsInputDTO
8072
+ * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
8073
+ * @memberof NameHistoryOutputDTO
7703
8074
  */
7704
- endDate?: string;
8075
+ updatedAt: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
7705
8076
  }
7706
8077
  /**
7707
8078
  *
7708
8079
  * @export
7709
- * @enum {string}
8080
+ * @interface OptionalPogStatsInputDTO
8081
+ */
8082
+ export interface OptionalPogStatsInputDTO {
8083
+ /**
8084
+ *
8085
+ * @type {string}
8086
+ * @memberof OptionalPogStatsInputDTO
8087
+ */
8088
+ gameServerId: string;
8089
+ /**
8090
+ *
8091
+ * @type {string}
8092
+ * @memberof OptionalPogStatsInputDTO
8093
+ */
8094
+ playerId?: string;
8095
+ /**
8096
+ *
8097
+ * @type {string}
8098
+ * @memberof OptionalPogStatsInputDTO
8099
+ */
8100
+ startDate?: string;
8101
+ /**
8102
+ *
8103
+ * @type {string}
8104
+ * @memberof OptionalPogStatsInputDTO
8105
+ */
8106
+ endDate?: string;
8107
+ }
8108
+ /**
8109
+ *
8110
+ * @export
8111
+ * @interface OrderMetricsDTO
8112
+ */
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}
7710
8178
  */
7711
8179
 
7712
8180
  export const PERMISSIONS = {
@@ -7836,6 +8304,8 @@ export const ParamKeyKeyEnum = {
7836
8304
  DeveloperMode: 'developerMode',
7837
8305
  MessagePrefix: 'messagePrefix',
7838
8306
  DomainName: 'domainName',
8307
+ DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
8308
+ DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
7839
8309
  } as const;
7840
8310
 
7841
8311
  export type ParamKeyKeyEnum = (typeof ParamKeyKeyEnum)[keyof typeof ParamKeyKeyEnum];
@@ -8175,6 +8645,12 @@ export interface PlayerInventoryOutputDTO {
8175
8645
  * @memberof PlayerInventoryOutputDTO
8176
8646
  */
8177
8647
  playerId: string;
8648
+ /**
8649
+ *
8650
+ * @type {string}
8651
+ * @memberof PlayerInventoryOutputDTO
8652
+ */
8653
+ pogId: string;
8178
8654
  /**
8179
8655
  *
8180
8656
  * @type {string}
@@ -8199,6 +8675,12 @@ export interface PlayerInventoryOutputDTO {
8199
8675
  * @memberof PlayerInventoryOutputDTO
8200
8676
  */
8201
8677
  quantity: number;
8678
+ /**
8679
+ *
8680
+ * @type {string}
8681
+ * @memberof PlayerInventoryOutputDTO
8682
+ */
8683
+ quality?: string;
8202
8684
  /**
8203
8685
  *
8204
8686
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
@@ -8249,6 +8731,12 @@ export interface PlayerItemHistoryOutputDTO {
8249
8731
  * @memberof PlayerItemHistoryOutputDTO
8250
8732
  */
8251
8733
  playerId: string;
8734
+ /**
8735
+ *
8736
+ * @type {string}
8737
+ * @memberof PlayerItemHistoryOutputDTO
8738
+ */
8739
+ pogId: string;
8252
8740
  /**
8253
8741
  *
8254
8742
  * @type {number}
@@ -8311,6 +8799,12 @@ export interface PlayerLocationOutputDTO {
8311
8799
  * @memberof PlayerLocationOutputDTO
8312
8800
  */
8313
8801
  playerId: string;
8802
+ /**
8803
+ *
8804
+ * @type {string}
8805
+ * @memberof PlayerLocationOutputDTO
8806
+ */
8807
+ pogId: string;
8314
8808
  /**
8315
8809
  *
8316
8810
  * @type {number}
@@ -9019,6 +9513,12 @@ export interface PlayerOutputDTO {
9019
9513
  * @memberof PlayerOutputDTO
9020
9514
  */
9021
9515
  ipHistory: Array<IpHistoryOutputDTO>;
9516
+ /**
9517
+ *
9518
+ * @type {Array<NameHistoryOutputDTO>}
9519
+ * @memberof PlayerOutputDTO
9520
+ */
9521
+ nameHistory: Array<NameHistoryOutputDTO>;
9022
9522
  /**
9023
9523
  *
9024
9524
  * @type {string}
@@ -9183,6 +9683,12 @@ export interface PlayerOutputWithRolesDTO {
9183
9683
  * @memberof PlayerOutputWithRolesDTO
9184
9684
  */
9185
9685
  ipHistory: Array<IpHistoryOutputDTO>;
9686
+ /**
9687
+ *
9688
+ * @type {Array<NameHistoryOutputDTO>}
9689
+ * @memberof PlayerOutputWithRolesDTO
9690
+ */
9691
+ nameHistory: Array<NameHistoryOutputDTO>;
9186
9692
  }
9187
9693
  /**
9188
9694
  *
@@ -9634,6 +10140,43 @@ export interface PogStatsInputDTO {
9634
10140
  */
9635
10141
  endDate?: string;
9636
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
+ }
9637
10180
  /**
9638
10181
  *
9639
10182
  * @export
@@ -9702,6 +10245,58 @@ export interface RangeFilterCreatedAndUpdatedAt {
9702
10245
  */
9703
10246
  updatedAt?: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
9704
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
+
9705
10300
  /**
9706
10301
  *
9707
10302
  * @export
@@ -9728,6 +10323,43 @@ export interface ResolveRegistrationTokenInputDTO {
9728
10323
  */
9729
10324
  registrationToken: string;
9730
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
+ }
9731
10363
  /**
9732
10364
  *
9733
10365
  * @export
@@ -9746,6 +10378,12 @@ export interface RoleCreateInputDTO {
9746
10378
  * @memberof RoleCreateInputDTO
9747
10379
  */
9748
10380
  permissions: Array<PermissionInputDTO>;
10381
+ /**
10382
+ *
10383
+ * @type {string}
10384
+ * @memberof RoleCreateInputDTO
10385
+ */
10386
+ linkedDiscordRoleId?: string;
9749
10387
  }
9750
10388
  /**
9751
10389
  *
@@ -9866,6 +10504,12 @@ export interface RoleOutputDTO {
9866
10504
  * @memberof RoleOutputDTO
9867
10505
  */
9868
10506
  system: boolean;
10507
+ /**
10508
+ *
10509
+ * @type {string}
10510
+ * @memberof RoleOutputDTO
10511
+ */
10512
+ linkedDiscordRoleId?: string;
9869
10513
  /**
9870
10514
  *
9871
10515
  * @type {string}
@@ -10030,6 +10674,12 @@ export interface RoleUpdateInputDTO {
10030
10674
  * @memberof RoleUpdateInputDTO
10031
10675
  */
10032
10676
  permissions?: Array<PermissionInputDTO>;
10677
+ /**
10678
+ *
10679
+ * @type {string}
10680
+ * @memberof RoleUpdateInputDTO
10681
+ */
10682
+ linkedDiscordRoleId?: string;
10033
10683
  }
10034
10684
  /**
10035
10685
  *
@@ -10161,6 +10811,12 @@ export interface ServiceRoleCreateInputDTO {
10161
10811
  * @memberof ServiceRoleCreateInputDTO
10162
10812
  */
10163
10813
  system?: boolean;
10814
+ /**
10815
+ *
10816
+ * @type {string}
10817
+ * @memberof ServiceRoleCreateInputDTO
10818
+ */
10819
+ linkedDiscordRoleId?: string;
10164
10820
  }
10165
10821
  /**
10166
10822
  *
@@ -10210,6 +10866,18 @@ export interface Settings {
10210
10866
  * @memberof Settings
10211
10867
  */
10212
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;
10213
10881
  /**
10214
10882
  *
10215
10883
  * @type {string}
@@ -10294,6 +10962,8 @@ export const SettingsOutputDTOKeyEnum = {
10294
10962
  DeveloperMode: 'developerMode',
10295
10963
  MessagePrefix: 'messagePrefix',
10296
10964
  DomainName: 'domainName',
10965
+ DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
10966
+ DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
10297
10967
  } as const;
10298
10968
 
10299
10969
  export type SettingsOutputDTOKeyEnum = (typeof SettingsOutputDTOKeyEnum)[keyof typeof SettingsOutputDTOKeyEnum];
@@ -10344,6 +11014,141 @@ export interface SettingsSetDTO {
10344
11014
  */
10345
11015
  value: any;
10346
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
+
10347
11152
  /**
10348
11153
  *
10349
11154
  * @export
@@ -10530,6 +11335,12 @@ export interface ShopCategorySearchInputAllowedFilters {
10530
11335
  * @memberof ShopCategorySearchInputAllowedFilters
10531
11336
  */
10532
11337
  parentId?: Array<string>;
11338
+ /**
11339
+ *
11340
+ * @type {Array<string>}
11341
+ * @memberof ShopCategorySearchInputAllowedFilters
11342
+ */
11343
+ gameServerId?: Array<string>;
10533
11344
  }
10534
11345
  /**
10535
11346
  *
@@ -11680,6 +12491,25 @@ export interface TakaroEventCurrencyDeducted {
11680
12491
  */
11681
12492
  timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
11682
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
+ }
11683
12513
  /**
11684
12514
  *
11685
12515
  * @export
@@ -11883,6 +12713,42 @@ export interface TakaroEventModuleUninstalled {
11883
12713
  * @interface TakaroEventModuleUpdated
11884
12714
  */
11885
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;
11886
12752
  /**
11887
12753
  *
11888
12754
  * @type {NOTDOMAINSCOPEDTakaroModelDTOCreatedAt}
@@ -11940,6 +12806,25 @@ export interface TakaroEventPlayerCreated {
11940
12806
  */
11941
12807
  timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
11942
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
+ }
11943
12828
  /**
11944
12829
  *
11945
12830
  * @export
@@ -11996,6 +12881,31 @@ export interface TakaroEventPlayerNewIpDetected {
11996
12881
  */
11997
12882
  timestamp: NOTDOMAINSCOPEDTakaroModelDTOCreatedAt;
11998
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
+ }
11999
12909
  /**
12000
12910
  *
12001
12911
  * @export
@@ -12459,6 +13369,31 @@ export interface TestReachabilityOutputDTO {
12459
13369
  */
12460
13370
  latency?: number;
12461
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
+ }
12462
13397
  /**
12463
13398
  *
12464
13399
  * @export
@@ -12480,29 +13415,103 @@ export interface TokenInputDTO {
12480
13415
  export interface TokenOutputDTO {
12481
13416
  /**
12482
13417
  *
12483
- * @type {string}
12484
- * @memberof TokenOutputDTO
13418
+ * @type {string}
13419
+ * @memberof TokenOutputDTO
13420
+ */
13421
+ token: string;
13422
+ }
13423
+ /**
13424
+ *
13425
+ * @export
13426
+ * @interface TokenOutputDTOAPI
13427
+ */
13428
+ export interface TokenOutputDTOAPI {
13429
+ /**
13430
+ *
13431
+ * @type {TokenOutputDTO}
13432
+ * @memberof TokenOutputDTOAPI
13433
+ */
13434
+ data: TokenOutputDTO;
13435
+ /**
13436
+ *
13437
+ * @type {MetadataOutput}
13438
+ * @memberof TokenOutputDTOAPI
13439
+ */
13440
+ meta: MetadataOutput;
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
12485
13501
  */
12486
- token: string;
12487
- }
12488
- /**
12489
- *
12490
- * @export
12491
- * @interface TokenOutputDTOAPI
12492
- */
12493
- export interface TokenOutputDTOAPI {
13502
+ quantity: number;
12494
13503
  /**
12495
13504
  *
12496
- * @type {TokenOutputDTO}
12497
- * @memberof TokenOutputDTOAPI
13505
+ * @type {number}
13506
+ * @memberof TopItemDTO
12498
13507
  */
12499
- data: TokenOutputDTO;
13508
+ revenue: number;
12500
13509
  /**
12501
13510
  *
12502
- * @type {MetadataOutput}
12503
- * @memberof TokenOutputDTOAPI
13511
+ * @type {number}
13512
+ * @memberof TopItemDTO
12504
13513
  */
12505
- meta: MetadataOutput;
13514
+ percentage: number;
12506
13515
  }
12507
13516
  /**
12508
13517
  *
@@ -13338,6 +14347,164 @@ export interface VariableUpdateDTO {
13338
14347
  moduleId?: string;
13339
14348
  }
13340
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
+
13341
14508
  /**
13342
14509
  * CommandApi - axios parameter creator
13343
14510
  * @export
@@ -15008,6 +16175,46 @@ export class CronJobApi extends BaseAPI {
15008
16175
  */
15009
16176
  export const DiscordApiAxiosParamCreator = function (configuration?: Configuration) {
15010
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
+ },
15011
16218
  /**
15012
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`
15013
16220
  * @summary Get guild channels
@@ -15206,6 +16413,51 @@ export const DiscordApiAxiosParamCreator = function (configuration?: Configurati
15206
16413
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
15207
16414
  localVarRequestOptions.data = serializeDataIfNeeded(guildApiUpdateDTO, localVarRequestOptions, configuration);
15208
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
+
15209
16461
  return {
15210
16462
  url: toPathString(localVarUrlObj),
15211
16463
  options: localVarRequestOptions,
@@ -15221,6 +16473,35 @@ export const DiscordApiAxiosParamCreator = function (configuration?: Configurati
15221
16473
  export const DiscordApiFp = function (configuration?: Configuration) {
15222
16474
  const localVarAxiosParamCreator = DiscordApiAxiosParamCreator(configuration);
15223
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
+ },
15224
16505
  /**
15225
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`
15226
16507
  * @summary Get guild channels
@@ -15323,7 +16604,7 @@ export const DiscordApiFp = function (configuration?: Configuration) {
15323
16604
  id: string,
15324
16605
  sendMessageInputDTO?: SendMessageInputDTO,
15325
16606
  options?: RawAxiosRequestConfig,
15326
- ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<APIOutput>> {
16607
+ ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<MessageOutputDTOAPI>> {
15327
16608
  const localVarAxiosArgs = await localVarAxiosParamCreator.discordControllerSendMessage(
15328
16609
  id,
15329
16610
  sendMessageInputDTO,
@@ -15369,6 +16650,38 @@ export const DiscordApiFp = function (configuration?: Configuration) {
15369
16650
  configuration,
15370
16651
  )(axios, localVarOperationServerBasePath || basePath);
15371
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
+ },
15372
16685
  };
15373
16686
  };
15374
16687
 
@@ -15379,6 +16692,23 @@ export const DiscordApiFp = function (configuration?: Configuration) {
15379
16692
  export const DiscordApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
15380
16693
  const localVarFp = DiscordApiFp(configuration);
15381
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
+ },
15382
16712
  /**
15383
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`
15384
16714
  * @summary Get guild channels
@@ -15438,7 +16768,7 @@ export const DiscordApiFactory = function (configuration?: Configuration, basePa
15438
16768
  id: string,
15439
16769
  sendMessageInputDTO?: SendMessageInputDTO,
15440
16770
  options?: RawAxiosRequestConfig,
15441
- ): AxiosPromise<APIOutput> {
16771
+ ): AxiosPromise<MessageOutputDTOAPI> {
15442
16772
  return localVarFp
15443
16773
  .discordControllerSendMessage(id, sendMessageInputDTO, options)
15444
16774
  .then((request) => request(axios, basePath));
@@ -15460,6 +16790,25 @@ export const DiscordApiFactory = function (configuration?: Configuration, basePa
15460
16790
  .discordControllerUpdateGuild(id, guildApiUpdateDTO, options)
15461
16791
  .then((request) => request(axios, basePath));
15462
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
+ },
15463
16812
  };
15464
16813
  };
15465
16814
 
@@ -15470,6 +16819,21 @@ export const DiscordApiFactory = function (configuration?: Configuration, basePa
15470
16819
  * @extends {BaseAPI}
15471
16820
  */
15472
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
+
15473
16837
  /**
15474
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`
15475
16839
  * @summary Get guild channels
@@ -15562,6 +16926,27 @@ export class DiscordApi extends BaseAPI {
15562
16926
  .discordControllerUpdateGuild(id, guildApiUpdateDTO, options)
15563
16927
  .then((request) => request(this.axios, this.basePath));
15564
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
+ }
15565
16950
  }
15566
16951
 
15567
16952
  /**
@@ -18215,6 +19600,42 @@ export const GameServerApiAxiosParamCreator = function (configuration?: Configur
18215
19600
  options: localVarRequestOptions,
18216
19601
  };
18217
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
+ },
18218
19639
  /**
18219
19640
  * Fetch gameservers<br> OperationId: `GameServerControllerSearch`
18220
19641
  * @summary Search
@@ -19007,6 +20428,29 @@ export const GameServerApiFp = function (configuration?: Configuration) {
19007
20428
  configuration,
19008
20429
  )(axios, localVarOperationServerBasePath || basePath);
19009
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
+ },
19010
20454
  /**
19011
20455
  * Fetch gameservers<br> OperationId: `GameServerControllerSearch`
19012
20456
  * @summary Search
@@ -19482,6 +20926,16 @@ export const GameServerApiFactory = function (configuration?: Configuration, bas
19482
20926
  gameServerControllerRemove(id: string, options?: RawAxiosRequestConfig): AxiosPromise<APIOutput> {
19483
20927
  return localVarFp.gameServerControllerRemove(id, options).then((request) => request(axios, basePath));
19484
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
+ },
19485
20939
  /**
19486
20940
  * Fetch gameservers<br> OperationId: `GameServerControllerSearch`
19487
20941
  * @summary Search
@@ -19888,6 +21342,20 @@ export class GameServerApi extends BaseAPI {
19888
21342
  .then((request) => request(this.axios, this.basePath));
19889
21343
  }
19890
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
+
19891
21359
  /**
19892
21360
  * Fetch gameservers<br> OperationId: `GameServerControllerSearch`
19893
21361
  * @summary Search
@@ -22978,6 +24446,39 @@ export const PlayerApiAxiosParamCreator = function (configuration?: Configuratio
22978
24446
  options: localVarRequestOptions,
22979
24447
  };
22980
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
+ },
22981
24482
  /**
22982
24483
  * Get the player that is currently authenticated. This is a low-privilege route, returning limited data.<br> OperationId: `PlayerControllerGetMe`
22983
24484
  * @summary Get current player
@@ -23288,6 +24789,29 @@ export const PlayerApiFp = function (configuration?: Configuration) {
23288
24789
  configuration,
23289
24790
  )(axios, localVarOperationServerBasePath || basePath);
23290
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
+ },
23291
24815
  /**
23292
24816
  * Get the player that is currently authenticated. This is a low-privilege route, returning limited data.<br> OperationId: `PlayerControllerGetMe`
23293
24817
  * @summary Get current player
@@ -23474,6 +24998,16 @@ export const PlayerApiFactory = function (configuration?: Configuration, basePat
23474
24998
  .playerControllerAssignRole(id, roleId, playerRoleAssignChangeDTO, options)
23475
24999
  .then((request) => request(axios, basePath));
23476
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
+ },
23477
25011
  /**
23478
25012
  * Get the player that is currently authenticated. This is a low-privilege route, returning limited data.<br> OperationId: `PlayerControllerGetMe`
23479
25013
  * @summary Get current player
@@ -23629,6 +25163,20 @@ export class PlayerApi extends BaseAPI {
23629
25163
  .then((request) => request(this.axios, this.basePath));
23630
25164
  }
23631
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
+
23632
25180
  /**
23633
25181
  * Get the player that is currently authenticated. This is a low-privilege route, returning limited data.<br> OperationId: `PlayerControllerGetMe`
23634
25182
  * @summary Get current player
@@ -23800,6 +25348,48 @@ export const PlayerOnGameServerApiAxiosParamCreator = function (configuration?:
23800
25348
  options: localVarRequestOptions,
23801
25349
  };
23802
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
+ },
23803
25393
  /**
23804
25394
  * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
23805
25395
  * @summary Get one
@@ -24068,6 +25658,36 @@ export const PlayerOnGameServerApiFp = function (configuration?: Configuration)
24068
25658
  configuration,
24069
25659
  )(axios, localVarOperationServerBasePath || basePath);
24070
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
+ },
24071
25691
  /**
24072
25692
  * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
24073
25693
  * @summary Get one
@@ -24253,6 +25873,23 @@ export const PlayerOnGameServerApiFactory = function (
24253
25873
  )
24254
25874
  .then((request) => request(axios, basePath));
24255
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
+ },
24256
25893
  /**
24257
25894
  * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
24258
25895
  * @summary Get one
@@ -24388,6 +26025,21 @@ export class PlayerOnGameServerApi extends BaseAPI {
24388
26025
  .then((request) => request(this.axios, this.basePath));
24389
26026
  }
24390
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
+
24391
26043
  /**
24392
26044
  * Required permissions: `READ_PLAYERS`<br> OperationId: `PlayerOnGameServerControllerGetOne`
24393
26045
  * @summary Get one
@@ -25458,6 +27110,8 @@ export const SettingsControllerGetKeysEnum = {
25458
27110
  DeveloperMode: 'developerMode',
25459
27111
  MessagePrefix: 'messagePrefix',
25460
27112
  DomainName: 'domainName',
27113
+ DiscordRoleSyncEnabled: 'discordRoleSyncEnabled',
27114
+ DiscordRoleSyncPreferDiscord: 'discordRoleSyncPreferDiscord',
25461
27115
  } as const;
25462
27116
  export type SettingsControllerGetKeysEnum =
25463
27117
  (typeof SettingsControllerGetKeysEnum)[keyof typeof SettingsControllerGetKeysEnum];
@@ -25549,10 +27203,14 @@ export const ShopCategoryApiAxiosParamCreator = function (configuration?: Config
25549
27203
  /**
25550
27204
  * Get all shop categories<br> OperationId: `ShopCategoryControllerGetAll`
25551
27205
  * @summary Get all
27206
+ * @param {string} [gameServerId]
25552
27207
  * @param {*} [options] Override http request option.
25553
27208
  * @throws {RequiredError}
25554
27209
  */
25555
- shopCategoryControllerGetAll: async (options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27210
+ shopCategoryControllerGetAll: async (
27211
+ gameServerId?: string,
27212
+ options: RawAxiosRequestConfig = {},
27213
+ ): Promise<RequestArgs> => {
25556
27214
  const localVarPath = `/shop/category/`;
25557
27215
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
25558
27216
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -25567,6 +27225,10 @@ export const ShopCategoryApiAxiosParamCreator = function (configuration?: Config
25567
27225
 
25568
27226
  // authentication domainAuth required
25569
27227
 
27228
+ if (gameServerId !== undefined) {
27229
+ localVarQueryParameter['gameServerId'] = gameServerId;
27230
+ }
27231
+
25570
27232
  setSearchParams(localVarUrlObj, localVarQueryParameter);
25571
27233
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25572
27234
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -25580,10 +27242,15 @@ export const ShopCategoryApiAxiosParamCreator = function (configuration?: Config
25580
27242
  * Get a shop category by id<br> OperationId: `ShopCategoryControllerGetOne`
25581
27243
  * @summary Get one
25582
27244
  * @param {string} id
27245
+ * @param {string} [gameServerId]
25583
27246
  * @param {*} [options] Override http request option.
25584
27247
  * @throws {RequiredError}
25585
27248
  */
25586
- shopCategoryControllerGetOne: async (id: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
27249
+ shopCategoryControllerGetOne: async (
27250
+ id: string,
27251
+ gameServerId?: string,
27252
+ options: RawAxiosRequestConfig = {},
27253
+ ): Promise<RequestArgs> => {
25587
27254
  // verify required parameter 'id' is not null or undefined
25588
27255
  assertParamExists('shopCategoryControllerGetOne', 'id', id);
25589
27256
  const localVarPath = `/shop/category/{id}`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
@@ -25600,6 +27267,10 @@ export const ShopCategoryApiAxiosParamCreator = function (configuration?: Config
25600
27267
 
25601
27268
  // authentication domainAuth required
25602
27269
 
27270
+ if (gameServerId !== undefined) {
27271
+ localVarQueryParameter['gameServerId'] = gameServerId;
27272
+ }
27273
+
25603
27274
  setSearchParams(localVarUrlObj, localVarQueryParameter);
25604
27275
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
25605
27276
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -25830,13 +27501,15 @@ export const ShopCategoryApiFp = function (configuration?: Configuration) {
25830
27501
  /**
25831
27502
  * Get all shop categories<br> OperationId: `ShopCategoryControllerGetAll`
25832
27503
  * @summary Get all
27504
+ * @param {string} [gameServerId]
25833
27505
  * @param {*} [options] Override http request option.
25834
27506
  * @throws {RequiredError}
25835
27507
  */
25836
27508
  async shopCategoryControllerGetAll(
27509
+ gameServerId?: string,
25837
27510
  options?: RawAxiosRequestConfig,
25838
27511
  ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopCategoryOutputArrayDTOAPI>> {
25839
- const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerGetAll(options);
27512
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerGetAll(gameServerId, options);
25840
27513
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25841
27514
  const localVarOperationServerBasePath =
25842
27515
  operationServerMap['ShopCategoryApi.shopCategoryControllerGetAll']?.[localVarOperationServerIndex]?.url;
@@ -25852,14 +27525,16 @@ export const ShopCategoryApiFp = function (configuration?: Configuration) {
25852
27525
  * Get a shop category by id<br> OperationId: `ShopCategoryControllerGetOne`
25853
27526
  * @summary Get one
25854
27527
  * @param {string} id
27528
+ * @param {string} [gameServerId]
25855
27529
  * @param {*} [options] Override http request option.
25856
27530
  * @throws {RequiredError}
25857
27531
  */
25858
27532
  async shopCategoryControllerGetOne(
25859
27533
  id: string,
27534
+ gameServerId?: string,
25860
27535
  options?: RawAxiosRequestConfig,
25861
27536
  ): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ShopCategoryOutputDTOAPI>> {
25862
- const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerGetOne(id, options);
27537
+ const localVarAxiosArgs = await localVarAxiosParamCreator.shopCategoryControllerGetOne(id, gameServerId, options);
25863
27538
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
25864
27539
  const localVarOperationServerBasePath =
25865
27540
  operationServerMap['ShopCategoryApi.shopCategoryControllerGetOne']?.[localVarOperationServerIndex]?.url;
@@ -26025,21 +27700,32 @@ export const ShopCategoryApiFactory = function (
26025
27700
  /**
26026
27701
  * Get all shop categories<br> OperationId: `ShopCategoryControllerGetAll`
26027
27702
  * @summary Get all
27703
+ * @param {string} [gameServerId]
26028
27704
  * @param {*} [options] Override http request option.
26029
27705
  * @throws {RequiredError}
26030
27706
  */
26031
- shopCategoryControllerGetAll(options?: RawAxiosRequestConfig): AxiosPromise<ShopCategoryOutputArrayDTOAPI> {
26032
- return localVarFp.shopCategoryControllerGetAll(options).then((request) => request(axios, basePath));
27707
+ shopCategoryControllerGetAll(
27708
+ gameServerId?: string,
27709
+ options?: RawAxiosRequestConfig,
27710
+ ): AxiosPromise<ShopCategoryOutputArrayDTOAPI> {
27711
+ return localVarFp.shopCategoryControllerGetAll(gameServerId, options).then((request) => request(axios, basePath));
26033
27712
  },
26034
27713
  /**
26035
27714
  * Get a shop category by id<br> OperationId: `ShopCategoryControllerGetOne`
26036
27715
  * @summary Get one
26037
27716
  * @param {string} id
27717
+ * @param {string} [gameServerId]
26038
27718
  * @param {*} [options] Override http request option.
26039
27719
  * @throws {RequiredError}
26040
27720
  */
26041
- shopCategoryControllerGetOne(id: string, options?: RawAxiosRequestConfig): AxiosPromise<ShopCategoryOutputDTOAPI> {
26042
- return localVarFp.shopCategoryControllerGetOne(id, options).then((request) => request(axios, basePath));
27721
+ shopCategoryControllerGetOne(
27722
+ id: string,
27723
+ gameServerId?: string,
27724
+ options?: RawAxiosRequestConfig,
27725
+ ): AxiosPromise<ShopCategoryOutputDTOAPI> {
27726
+ return localVarFp
27727
+ .shopCategoryControllerGetOne(id, gameServerId, options)
27728
+ .then((request) => request(axios, basePath));
26043
27729
  },
26044
27730
  /**
26045
27731
  * Move a shop category to a different parent Required permissions: `MANAGE_SHOP_LISTINGS`<br> OperationId: `ShopCategoryControllerMove`
@@ -26144,13 +27830,14 @@ export class ShopCategoryApi extends BaseAPI {
26144
27830
  /**
26145
27831
  * Get all shop categories<br> OperationId: `ShopCategoryControllerGetAll`
26146
27832
  * @summary Get all
27833
+ * @param {string} [gameServerId]
26147
27834
  * @param {*} [options] Override http request option.
26148
27835
  * @throws {RequiredError}
26149
27836
  * @memberof ShopCategoryApi
26150
27837
  */
26151
- public shopCategoryControllerGetAll(options?: RawAxiosRequestConfig) {
27838
+ public shopCategoryControllerGetAll(gameServerId?: string, options?: RawAxiosRequestConfig) {
26152
27839
  return ShopCategoryApiFp(this.configuration)
26153
- .shopCategoryControllerGetAll(options)
27840
+ .shopCategoryControllerGetAll(gameServerId, options)
26154
27841
  .then((request) => request(this.axios, this.basePath));
26155
27842
  }
26156
27843
 
@@ -26158,13 +27845,14 @@ export class ShopCategoryApi extends BaseAPI {
26158
27845
  * Get a shop category by id<br> OperationId: `ShopCategoryControllerGetOne`
26159
27846
  * @summary Get one
26160
27847
  * @param {string} id
27848
+ * @param {string} [gameServerId]
26161
27849
  * @param {*} [options] Override http request option.
26162
27850
  * @throws {RequiredError}
26163
27851
  * @memberof ShopCategoryApi
26164
27852
  */
26165
- public shopCategoryControllerGetOne(id: string, options?: RawAxiosRequestConfig) {
27853
+ public shopCategoryControllerGetOne(id: string, gameServerId?: string, options?: RawAxiosRequestConfig) {
26166
27854
  return ShopCategoryApiFp(this.configuration)
26167
- .shopCategoryControllerGetOne(id, options)
27855
+ .shopCategoryControllerGetOne(id, gameServerId, options)
26168
27856
  .then((request) => request(this.axios, this.basePath));
26169
27857
  }
26170
27858
 
@@ -28332,8 +30020,10 @@ export const StatsControllerGetEventsCountEventNameEnum = {
28332
30020
  CronjobExecuted: 'cronjob-executed',
28333
30021
  CurrencyAdded: 'currency-added',
28334
30022
  CurrencyDeducted: 'currency-deducted',
30023
+ CurrencyResetAll: 'currency-reset-all',
28335
30024
  SettingsSet: 'settings-set',
28336
30025
  PlayerNewIpDetected: 'player-new-ip-detected',
30026
+ PlayerNewNameDetected: 'player-new-name-detected',
28337
30027
  ServerStatusChanged: 'server-status-changed',
28338
30028
  ModuleCreated: 'module-created',
28339
30029
  ModuleUpdated: 'module-updated',
@@ -28353,6 +30043,7 @@ export const StatsControllerGetEventsCountEventNameEnum = {
28353
30043
  GameserverDeleted: 'gameserver-deleted',
28354
30044
  PlayerBanned: 'player-banned',
28355
30045
  PlayerUnbanned: 'player-unbanned',
30046
+ PlayerDeleted: 'player-deleted',
28356
30047
  PlayerConnected: 'player-connected',
28357
30048
  PlayerDisconnected: 'player-disconnected',
28358
30049
  ChatMessage: 'chat-message',