@takaro/apiclient 0.0.0-dev.d4f306c → 0.0.0-dev.d604ff8

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.
@@ -59,6 +59,20 @@ export const ApiKeySearchInputDTOSortDirectionEnum = {
59
59
  Asc: 'asc',
60
60
  Desc: 'desc',
61
61
  };
62
+ export const AreaGainDTOCauseEnum = {
63
+ Pickup: 'pickup',
64
+ Drop: 'drop',
65
+ Craft: 'craft',
66
+ Loot: 'loot',
67
+ Trade: 'trade',
68
+ Death: 'death',
69
+ Other: 'other',
70
+ Unknown: 'unknown',
71
+ };
72
+ export const AreaGainDTOPositionSourceEnum = {
73
+ Reported: 'reported',
74
+ Sampled: 'sampled',
75
+ };
62
76
  export const BanSearchInputDTOExtendEnum = {
63
77
  Player: 'player',
64
78
  GameServer: 'gameServer',
@@ -293,6 +307,7 @@ export const EventCreateDTOEventNameEnum = {
293
307
  PlayerDeleted: 'player-deleted',
294
308
  ShopActionExecuted: 'shop-action-executed',
295
309
  PlayerInventoryChanged: 'player-inventory-changed',
310
+ PlayerLevelChanged: 'player-level-changed',
296
311
  EventRateLimited: 'event-rate-limited',
297
312
  PlayerSyncSnapshot: 'player-sync-snapshot',
298
313
  InviteLinkCreated: 'invite-link-created',
@@ -356,6 +371,7 @@ export const EventExploreFiltersDTOEventNameEnum = {
356
371
  PlayerDeleted: 'player-deleted',
357
372
  ShopActionExecuted: 'shop-action-executed',
358
373
  PlayerInventoryChanged: 'player-inventory-changed',
374
+ PlayerLevelChanged: 'player-level-changed',
359
375
  EventRateLimited: 'event-rate-limited',
360
376
  PlayerSyncSnapshot: 'player-sync-snapshot',
361
377
  InviteLinkCreated: 'invite-link-created',
@@ -377,6 +393,15 @@ export const EventExploreFiltersDTOEventNameEnum = {
377
393
  PlayerDeath: 'player-death',
378
394
  EntityKilled: 'entity-killed',
379
395
  };
396
+ export const EventInventoryChangedCauseEnum = {
397
+ Pickup: 'pickup',
398
+ Drop: 'drop',
399
+ Craft: 'craft',
400
+ Loot: 'loot',
401
+ Trade: 'trade',
402
+ Death: 'death',
403
+ Other: 'other',
404
+ };
380
405
  export const EventOutputDTOEventNameEnum = {
381
406
  RoleAssigned: 'role-assigned',
382
407
  RoleRemoved: 'role-removed',
@@ -419,6 +444,7 @@ export const EventOutputDTOEventNameEnum = {
419
444
  PlayerDeleted: 'player-deleted',
420
445
  ShopActionExecuted: 'shop-action-executed',
421
446
  PlayerInventoryChanged: 'player-inventory-changed',
447
+ PlayerLevelChanged: 'player-level-changed',
422
448
  EventRateLimited: 'event-rate-limited',
423
449
  PlayerSyncSnapshot: 'player-sync-snapshot',
424
450
  InviteLinkCreated: 'invite-link-created',
@@ -482,6 +508,7 @@ export const EventSearchInputAllowedFiltersEventNameEnum = {
482
508
  PlayerDeleted: 'player-deleted',
483
509
  ShopActionExecuted: 'shop-action-executed',
484
510
  PlayerInventoryChanged: 'player-inventory-changed',
511
+ PlayerLevelChanged: 'player-level-changed',
485
512
  EventRateLimited: 'event-rate-limited',
486
513
  PlayerSyncSnapshot: 'player-sync-snapshot',
487
514
  InviteLinkCreated: 'invite-link-created',
@@ -598,6 +625,7 @@ export const GetJobInputDTOTypeEnum = {
598
625
  SyncItems: 'syncItems',
599
626
  SyncEntities: 'syncEntities',
600
627
  SyncBans: 'syncBans',
628
+ SyncLocations: 'syncLocations',
601
629
  SyncMapImages: 'syncMapImages',
602
630
  SyncMapUploads: 'syncMapUploads',
603
631
  SyncGameIcons: 'syncGameIcons',
@@ -682,6 +710,7 @@ export const HookCreateDTOEventTypeEnum = {
682
710
  PlayerDeleted: 'player-deleted',
683
711
  ShopActionExecuted: 'shop-action-executed',
684
712
  PlayerInventoryChanged: 'player-inventory-changed',
713
+ PlayerLevelChanged: 'player-level-changed',
685
714
  EventRateLimited: 'event-rate-limited',
686
715
  PlayerSyncSnapshot: 'player-sync-snapshot',
687
716
  InviteLinkCreated: 'invite-link-created',
@@ -747,6 +776,7 @@ export const HookOutputDTOEventTypeEnum = {
747
776
  PlayerDeleted: 'player-deleted',
748
777
  ShopActionExecuted: 'shop-action-executed',
749
778
  PlayerInventoryChanged: 'player-inventory-changed',
779
+ PlayerLevelChanged: 'player-level-changed',
750
780
  EventRateLimited: 'event-rate-limited',
751
781
  PlayerSyncSnapshot: 'player-sync-snapshot',
752
782
  InviteLinkCreated: 'invite-link-created',
@@ -812,6 +842,7 @@ export const HookSearchInputAllowedFiltersEventTypeEnum = {
812
842
  PlayerDeleted: 'player-deleted',
813
843
  ShopActionExecuted: 'shop-action-executed',
814
844
  PlayerInventoryChanged: 'player-inventory-changed',
845
+ PlayerLevelChanged: 'player-level-changed',
815
846
  EventRateLimited: 'event-rate-limited',
816
847
  PlayerSyncSnapshot: 'player-sync-snapshot',
817
848
  InviteLinkCreated: 'invite-link-created',
@@ -885,6 +916,7 @@ export const HookTriggerDTOEventTypeEnum = {
885
916
  PlayerDeleted: 'player-deleted',
886
917
  ShopActionExecuted: 'shop-action-executed',
887
918
  PlayerInventoryChanged: 'player-inventory-changed',
919
+ PlayerLevelChanged: 'player-level-changed',
888
920
  EventRateLimited: 'event-rate-limited',
889
921
  PlayerSyncSnapshot: 'player-sync-snapshot',
890
922
  InviteLinkCreated: 'invite-link-created',
@@ -950,6 +982,7 @@ export const HookUpdateDTOEventTypeEnum = {
950
982
  PlayerDeleted: 'player-deleted',
951
983
  ShopActionExecuted: 'shop-action-executed',
952
984
  PlayerInventoryChanged: 'player-inventory-changed',
985
+ PlayerLevelChanged: 'player-level-changed',
953
986
  EventRateLimited: 'event-rate-limited',
954
987
  PlayerSyncSnapshot: 'player-sync-snapshot',
955
988
  InviteLinkCreated: 'invite-link-created',
@@ -1020,6 +1053,7 @@ export const IHookEventTypeEnum = {
1020
1053
  PlayerDeleted: 'player-deleted',
1021
1054
  ShopActionExecuted: 'shop-action-executed',
1022
1055
  PlayerInventoryChanged: 'player-inventory-changed',
1056
+ PlayerLevelChanged: 'player-level-changed',
1023
1057
  EventRateLimited: 'event-rate-limited',
1024
1058
  PlayerSyncSnapshot: 'player-sync-snapshot',
1025
1059
  InviteLinkCreated: 'invite-link-created',
@@ -1040,6 +1074,29 @@ export const ITakaroQuerySortDirectionEnum = {
1040
1074
  Asc: 'asc',
1041
1075
  Desc: 'desc',
1042
1076
  };
1077
+ export const InventoryChangeCounterpartDTOKindEnum = {
1078
+ Container: 'container',
1079
+ Player: 'player',
1080
+ };
1081
+ export const InventoryChangeDTOChangeTypeEnum = {
1082
+ Added: 'added',
1083
+ Removed: 'removed',
1084
+ Changed: 'changed',
1085
+ };
1086
+ export const InventoryChangeDTOCauseEnum = {
1087
+ Pickup: 'pickup',
1088
+ Drop: 'drop',
1089
+ Craft: 'craft',
1090
+ Loot: 'loot',
1091
+ Trade: 'trade',
1092
+ Death: 'death',
1093
+ Other: 'other',
1094
+ Unknown: 'unknown',
1095
+ };
1096
+ export const InventoryCounterpartDTOKindEnum = {
1097
+ Container: 'container',
1098
+ Player: 'player',
1099
+ };
1043
1100
  export const InviteLinkCreateResultDTOStatusEnum = {
1044
1101
  Active: 'ACTIVE',
1045
1102
  Revoked: 'REVOKED',
@@ -1062,6 +1119,21 @@ export const InviteLinkSearchInputDTOSortDirectionEnum = {
1062
1119
  Asc: 'asc',
1063
1120
  Desc: 'desc',
1064
1121
  };
1122
+ export const ItemHolderChangeDTOChangeTypeEnum = {
1123
+ Added: 'added',
1124
+ Removed: 'removed',
1125
+ Changed: 'changed',
1126
+ };
1127
+ export const ItemHolderChangeDTOCauseEnum = {
1128
+ Pickup: 'pickup',
1129
+ Drop: 'drop',
1130
+ Craft: 'craft',
1131
+ Loot: 'loot',
1132
+ Trade: 'trade',
1133
+ Death: 'death',
1134
+ Other: 'other',
1135
+ Unknown: 'unknown',
1136
+ };
1065
1137
  export const ItemSearchInputDTOExtendEnum = {
1066
1138
  Gameserver: 'gameserver',
1067
1139
  };
@@ -1095,6 +1167,10 @@ export const JobStatusOutputDTOStatusEnum = {
1095
1167
  Waiting: 'waiting',
1096
1168
  WaitingChildren: 'waiting-children',
1097
1169
  };
1170
+ export const LocationSearchInputDTOSortDirectionEnum = {
1171
+ Asc: 'asc',
1172
+ Desc: 'desc',
1173
+ };
1098
1174
  export const LoginQueryParamsLocaleEnum = {
1099
1175
  En: 'en',
1100
1176
  Nl: 'nl',
@@ -1160,6 +1236,12 @@ export const MetaFilterGroupOrLeafDTOOperatorEnum = {
1160
1236
  LessThan: '<',
1161
1237
  ArrayContains: 'array_contains',
1162
1238
  };
1239
+ export const ModuleInstallationComponentKpiDTOTypeEnum = {
1240
+ Hook: 'hook',
1241
+ Cron: 'cron',
1242
+ Command: 'command',
1243
+ ShopAction: 'shopAction',
1244
+ };
1163
1245
  export const ModuleInstallationKpisQueryDTOPeriodEnum = {
1164
1246
  _24h: '24h',
1165
1247
  _7d: '7d',
@@ -1214,6 +1296,8 @@ export const PERMISSIONS = {
1214
1296
  ViewDiscordInfo: 'VIEW_DISCORD_INFO',
1215
1297
  SendDiscordMessage: 'SEND_DISCORD_MESSAGE',
1216
1298
  ManageApiKeys: 'MANAGE_API_KEYS',
1299
+ ReadMap: 'READ_MAP',
1300
+ ReadTracking: 'READ_TRACKING',
1217
1301
  };
1218
1302
  export const ParamKeyKeyEnum = {
1219
1303
  CommandPrefix: 'commandPrefix',
@@ -1302,6 +1386,23 @@ export const PlayerSearchInputDTOSortDirectionEnum = {
1302
1386
  Asc: 'asc',
1303
1387
  Desc: 'desc',
1304
1388
  };
1389
+ export const PogProgressionOutputDTOSourceEnum = {
1390
+ Server: 'server',
1391
+ ClientReported: 'client-reported',
1392
+ };
1393
+ export const PositionAreaShapeDTOTypeEnum = {
1394
+ Circle: 'circle',
1395
+ Rectangle: 'rectangle',
1396
+ Polygon: 'polygon',
1397
+ };
1398
+ export const ProgressionHistoryPointDTOKindEnum = {
1399
+ LevelChange: 'level-change',
1400
+ Experience: 'experience',
1401
+ };
1402
+ export const ProgressionHistoryPointDTOSourceEnum = {
1403
+ Server: 'server',
1404
+ ClientReported: 'client-reported',
1405
+ };
1305
1406
  export const RecentOrderDTOStatusEnum = {
1306
1407
  Completed: 'COMPLETED',
1307
1408
  Paid: 'PAID',
@@ -1464,6 +1565,10 @@ export const TakaroEventDomainCreatedOriginEnum = {
1464
1565
  Subscription: 'subscription',
1465
1566
  AdminSecret: 'admin_secret',
1466
1567
  };
1568
+ export const TakaroEventInventoryCounterpartKindEnum = {
1569
+ Container: 'container',
1570
+ Player: 'player',
1571
+ };
1467
1572
  export const TakaroEventItemsGivenLineResultEnum = {
1468
1573
  Delivered: 'DELIVERED',
1469
1574
  Failed: 'FAILED',
@@ -1486,6 +1591,23 @@ export const TakaroEventPlayerInventoryChangedChangeTypeEnum = {
1486
1591
  Removed: 'removed',
1487
1592
  Changed: 'changed',
1488
1593
  };
1594
+ export const TakaroEventPlayerInventoryChangedCauseEnum = {
1595
+ Pickup: 'pickup',
1596
+ Drop: 'drop',
1597
+ Craft: 'craft',
1598
+ Loot: 'loot',
1599
+ Trade: 'trade',
1600
+ Death: 'death',
1601
+ Other: 'other',
1602
+ };
1603
+ export const TakaroEventPlayerLevelChangedDirectionEnum = {
1604
+ Up: 'up',
1605
+ Down: 'down',
1606
+ };
1607
+ export const TakaroEventPlayerLevelChangedSourceEnum = {
1608
+ Server: 'server',
1609
+ ClientReported: 'client-reported',
1610
+ };
1489
1611
  export const TakaroEventPlayerLinkedSourceEnum = {
1490
1612
  GameCode: 'game-code',
1491
1613
  WebCode: 'web-code',
@@ -1648,6 +1770,16 @@ export const ThreadWithStepsOutputDTOOriginSurfaceEnum = {
1648
1770
  EventFailure: 'eventFailure',
1649
1771
  CsmmMigration: 'csmmMigration',
1650
1772
  };
1773
+ export const TrackingEventDTOEventNameEnum = {
1774
+ PlayerDeath: 'player-death',
1775
+ EntityKilled: 'entity-killed',
1776
+ PlayerConnected: 'player-connected',
1777
+ PlayerDisconnected: 'player-disconnected',
1778
+ };
1779
+ export const TrackingEventDTOPositionSourceEnum = {
1780
+ Reported: 'reported',
1781
+ Sampled: 'sampled',
1782
+ };
1651
1783
  export const TriggerJobInputDTOTypeEnum = {
1652
1784
  SeedModules: 'seedModules',
1653
1785
  CleanEvents: 'cleanEvents',
@@ -1657,6 +1789,7 @@ export const TriggerJobInputDTOTypeEnum = {
1657
1789
  SyncItems: 'syncItems',
1658
1790
  SyncEntities: 'syncEntities',
1659
1791
  SyncBans: 'syncBans',
1792
+ SyncLocations: 'syncLocations',
1660
1793
  SyncMapImages: 'syncMapImages',
1661
1794
  SyncMapUploads: 'syncMapUploads',
1662
1795
  SyncGameIcons: 'syncGameIcons',
@@ -10051,7 +10184,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10051
10184
  };
10052
10185
  },
10053
10186
  /**
10054
- * A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid.<br> OperationId: `GameServerControllerGetDimensionMapTile`
10187
+ * A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetDimensionMapTile`
10055
10188
  * @summary Get dimension map tile
10056
10189
  * @param {string} id
10057
10190
  * @param {string} dimension
@@ -10210,7 +10343,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10210
10343
  };
10211
10344
  },
10212
10345
  /**
10213
- * The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes.<br> OperationId: `GameServerControllerGetMap`
10346
+ * The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMap`
10214
10347
  * @summary Get map
10215
10348
  * @param {string} id
10216
10349
  * @param {*} [options] Override http request option.
@@ -10242,7 +10375,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10242
10375
  };
10243
10376
  },
10244
10377
  /**
10245
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
10378
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
10246
10379
  * @summary Get map info
10247
10380
  * @param {string} id
10248
10381
  * @param {*} [options] Override http request option.
@@ -10274,7 +10407,39 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10274
10407
  };
10275
10408
  },
10276
10409
  /**
10277
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
10410
+ * Offline players of a game server at their last known Position, newest first, limited to the Domain\'s retention window and to 1000 players. Positions are raw game coordinates. Required permissions: `READ_MAP`, `READ_PLAYERS`<br> OperationId: `GameServerControllerGetMapOfflinePlayers`
10411
+ * @summary Get map offline players
10412
+ * @param {string} id
10413
+ * @param {*} [options] Override http request option.
10414
+ * @throws {RequiredError}
10415
+ */
10416
+ gameServerControllerGetMapOfflinePlayers: async (id, options = {}) => {
10417
+ // verify required parameter 'id' is not null or undefined
10418
+ assertParamExists('gameServerControllerGetMapOfflinePlayers', 'id', id);
10419
+ const localVarPath = `/gameserver/{id}/map/offline-players`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10420
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10421
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10422
+ let baseOptions;
10423
+ if (configuration) {
10424
+ baseOptions = configuration.baseOptions;
10425
+ }
10426
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
10427
+ const localVarHeaderParameter = {};
10428
+ const localVarQueryParameter = {};
10429
+ // authentication bearerAuth required
10430
+ // http bearer authentication required
10431
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
10432
+ // authentication domainAuth required
10433
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10434
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10435
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10436
+ return {
10437
+ url: toPathString(localVarUrlObj),
10438
+ options: localVarRequestOptions,
10439
+ };
10440
+ },
10441
+ /**
10442
+ * Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
10278
10443
  * @summary Get map tile
10279
10444
  * @param {string} id
10280
10445
  * @param {string} x
@@ -10595,10 +10760,11 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10595
10760
  };
10596
10761
  },
10597
10762
  /**
10598
- * Static locations the game reports (traders, spawns). Requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`.<br> OperationId: `GameServerControllerListLocations`
10763
+ * Deprecated: use `POST /location/search`, which reads the stored Locations and works while the server is offline. This asks the game live and requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerListLocations`
10599
10764
  * @summary List locations
10600
10765
  * @param {string} id
10601
10766
  * @param {*} [options] Override http request option.
10767
+ * @deprecated
10602
10768
  * @throws {RequiredError}
10603
10769
  */
10604
10770
  gameServerControllerListLocations: async (id, options = {}) => {
@@ -11388,7 +11554,7 @@ export const GameServerApiFp = function (configuration) {
11388
11554
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11389
11555
  },
11390
11556
  /**
11391
- * A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid.<br> OperationId: `GameServerControllerGetDimensionMapTile`
11557
+ * A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetDimensionMapTile`
11392
11558
  * @summary Get dimension map tile
11393
11559
  * @param {string} id
11394
11560
  * @param {string} dimension
@@ -11449,7 +11615,7 @@ export const GameServerApiFp = function (configuration) {
11449
11615
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11450
11616
  },
11451
11617
  /**
11452
- * The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes.<br> OperationId: `GameServerControllerGetMap`
11618
+ * The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMap`
11453
11619
  * @summary Get map
11454
11620
  * @param {string} id
11455
11621
  * @param {*} [options] Override http request option.
@@ -11462,7 +11628,7 @@ export const GameServerApiFp = function (configuration) {
11462
11628
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11463
11629
  },
11464
11630
  /**
11465
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
11631
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
11466
11632
  * @summary Get map info
11467
11633
  * @param {string} id
11468
11634
  * @param {*} [options] Override http request option.
@@ -11475,7 +11641,21 @@ export const GameServerApiFp = function (configuration) {
11475
11641
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11476
11642
  },
11477
11643
  /**
11478
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
11644
+ * Offline players of a game server at their last known Position, newest first, limited to the Domain\'s retention window and to 1000 players. Positions are raw game coordinates. Required permissions: `READ_MAP`, `READ_PLAYERS`<br> OperationId: `GameServerControllerGetMapOfflinePlayers`
11645
+ * @summary Get map offline players
11646
+ * @param {string} id
11647
+ * @param {*} [options] Override http request option.
11648
+ * @throws {RequiredError}
11649
+ */
11650
+ async gameServerControllerGetMapOfflinePlayers(id, options) {
11651
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetMapOfflinePlayers(id, options);
11652
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11653
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerGetMapOfflinePlayers']?.[localVarOperationServerIndex]
11654
+ ?.url;
11655
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11656
+ },
11657
+ /**
11658
+ * Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
11479
11659
  * @summary Get map tile
11480
11660
  * @param {string} id
11481
11661
  * @param {string} x
@@ -11601,10 +11781,11 @@ export const GameServerApiFp = function (configuration) {
11601
11781
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11602
11782
  },
11603
11783
  /**
11604
- * Static locations the game reports (traders, spawns). Requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`.<br> OperationId: `GameServerControllerListLocations`
11784
+ * Deprecated: use `POST /location/search`, which reads the stored Locations and works while the server is offline. This asks the game live and requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerListLocations`
11605
11785
  * @summary List locations
11606
11786
  * @param {string} id
11607
11787
  * @param {*} [options] Override http request option.
11788
+ * @deprecated
11608
11789
  * @throws {RequiredError}
11609
11790
  */
11610
11791
  async gameServerControllerListLocations(id, options) {
@@ -11971,7 +12152,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11971
12152
  return localVarFp.gameServerControllerGetCapabilities(id, options).then((request) => request(axios, basePath));
11972
12153
  },
11973
12154
  /**
11974
- * A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid.<br> OperationId: `GameServerControllerGetDimensionMapTile`
12155
+ * A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetDimensionMapTile`
11975
12156
  * @summary Get dimension map tile
11976
12157
  * @param {string} id
11977
12158
  * @param {string} dimension
@@ -12021,7 +12202,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
12021
12202
  return localVarFp.gameServerControllerGetJob(type, id, options).then((request) => request(axios, basePath));
12022
12203
  },
12023
12204
  /**
12024
- * The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes.<br> OperationId: `GameServerControllerGetMap`
12205
+ * The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMap`
12025
12206
  * @summary Get map
12026
12207
  * @param {string} id
12027
12208
  * @param {*} [options] Override http request option.
@@ -12031,7 +12212,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
12031
12212
  return localVarFp.gameServerControllerGetMap(id, options).then((request) => request(axios, basePath));
12032
12213
  },
12033
12214
  /**
12034
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
12215
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
12035
12216
  * @summary Get map info
12036
12217
  * @param {string} id
12037
12218
  * @param {*} [options] Override http request option.
@@ -12041,7 +12222,19 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
12041
12222
  return localVarFp.gameServerControllerGetMapInfo(id, options).then((request) => request(axios, basePath));
12042
12223
  },
12043
12224
  /**
12044
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
12225
+ * Offline players of a game server at their last known Position, newest first, limited to the Domain\'s retention window and to 1000 players. Positions are raw game coordinates. Required permissions: `READ_MAP`, `READ_PLAYERS`<br> OperationId: `GameServerControllerGetMapOfflinePlayers`
12226
+ * @summary Get map offline players
12227
+ * @param {string} id
12228
+ * @param {*} [options] Override http request option.
12229
+ * @throws {RequiredError}
12230
+ */
12231
+ gameServerControllerGetMapOfflinePlayers(id, options) {
12232
+ return localVarFp
12233
+ .gameServerControllerGetMapOfflinePlayers(id, options)
12234
+ .then((request) => request(axios, basePath));
12235
+ },
12236
+ /**
12237
+ * Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
12045
12238
  * @summary Get map tile
12046
12239
  * @param {string} id
12047
12240
  * @param {string} x
@@ -12148,10 +12341,11 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
12148
12341
  return localVarFp.gameServerControllerListBans(id, options).then((request) => request(axios, basePath));
12149
12342
  },
12150
12343
  /**
12151
- * Static locations the game reports (traders, spawns). Requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`.<br> OperationId: `GameServerControllerListLocations`
12344
+ * Deprecated: use `POST /location/search`, which reads the stored Locations and works while the server is offline. This asks the game live and requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerListLocations`
12152
12345
  * @summary List locations
12153
12346
  * @param {string} id
12154
12347
  * @param {*} [options] Override http request option.
12348
+ * @deprecated
12155
12349
  * @throws {RequiredError}
12156
12350
  */
12157
12351
  gameServerControllerListLocations(id, options) {
@@ -12494,7 +12688,7 @@ export class GameServerApi extends BaseAPI {
12494
12688
  .then((request) => request(this.axios, this.basePath));
12495
12689
  }
12496
12690
  /**
12497
- * A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid.<br> OperationId: `GameServerControllerGetDimensionMapTile`
12691
+ * A map tile of one Dimension in the standard (zoom, x, y) layout, zoom 0 covering the Dimension\'s bounds. Returns the image bytes with their MIME type. A tile the game has not rendered yet is returned as a transparent image with header X-Takaro-Map-Tile: empty. Tiles of a tiled source are cached for a few minutes. Source precedence: the operator\'s uploaded image, then the game\'s tiled source, then the game\'s image; a source that is not built yet is skipped. The response header X-Takaro-Map-Source says which one answered (upload, tiled or image). An upload or image source is served from the tile pyramid Takaro cut: the response carries X-Takaro-Map-Revision, and when the optional query parameter v equals that revision the tile is cacheable for a day (immutable), otherwise for a minute. A v that names a stored pyramid of this Dimension pins that pyramid. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetDimensionMapTile`
12498
12692
  * @summary Get dimension map tile
12499
12693
  * @param {string} id
12500
12694
  * @param {string} dimension
@@ -12554,7 +12748,7 @@ export class GameServerApi extends BaseAPI {
12554
12748
  .then((request) => request(this.axios, this.basePath));
12555
12749
  }
12556
12750
  /**
12557
- * The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes.<br> OperationId: `GameServerControllerGetMap`
12751
+ * The effective map of a game server: the Dimensions its `map` Capability declares, in declared order (the first is the default), followed by the Dimensions an operator defined by uploading a map image. `supported` is true when there is at least one Dimension; `declared` is true when the game itself declares a map. An operator\'s upload takes precedence over the game\'s map source. Positions are raw game coordinates; clients convert them with each Dimension\'s axes. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMap`
12558
12752
  * @summary Get map
12559
12753
  * @param {string} id
12560
12754
  * @param {*} [options] Override http request option.
@@ -12567,7 +12761,7 @@ export class GameServerApi extends BaseAPI {
12567
12761
  .then((request) => request(this.axios, this.basePath));
12568
12762
  }
12569
12763
  /**
12570
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
12764
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
12571
12765
  * @summary Get map info
12572
12766
  * @param {string} id
12573
12767
  * @param {*} [options] Override http request option.
@@ -12580,7 +12774,20 @@ export class GameServerApi extends BaseAPI {
12580
12774
  .then((request) => request(this.axios, this.basePath));
12581
12775
  }
12582
12776
  /**
12583
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
12777
+ * Offline players of a game server at their last known Position, newest first, limited to the Domain\'s retention window and to 1000 players. Positions are raw game coordinates. Required permissions: `READ_MAP`, `READ_PLAYERS`<br> OperationId: `GameServerControllerGetMapOfflinePlayers`
12778
+ * @summary Get map offline players
12779
+ * @param {string} id
12780
+ * @param {*} [options] Override http request option.
12781
+ * @throws {RequiredError}
12782
+ * @memberof GameServerApi
12783
+ */
12784
+ gameServerControllerGetMapOfflinePlayers(id, options) {
12785
+ return GameServerApiFp(this.configuration)
12786
+ .gameServerControllerGetMapOfflinePlayers(id, options)
12787
+ .then((request) => request(this.axios, this.basePath));
12788
+ }
12789
+ /**
12790
+ * Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
12584
12791
  * @summary Get map tile
12585
12792
  * @param {string} id
12586
12793
  * @param {string} x
@@ -12706,10 +12913,11 @@ export class GameServerApi extends BaseAPI {
12706
12913
  .then((request) => request(this.axios, this.basePath));
12707
12914
  }
12708
12915
  /**
12709
- * Static locations the game reports (traders, spawns). Requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`.<br> OperationId: `GameServerControllerListLocations`
12916
+ * Deprecated: use `POST /location/search`, which reads the stored Locations and works while the server is offline. This asks the game live and requires the game server to be online and to declare `locations.list`; otherwise fails with GameProtocolError `unsupported`. Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerListLocations`
12710
12917
  * @summary List locations
12711
12918
  * @param {string} id
12712
12919
  * @param {*} [options] Override http request option.
12920
+ * @deprecated
12713
12921
  * @throws {RequiredError}
12714
12922
  * @memberof GameServerApi
12715
12923
  */
@@ -14519,6 +14727,110 @@ export class ItemSetApi extends BaseAPI {
14519
14727
  .then((request) => request(this.axios, this.basePath));
14520
14728
  }
14521
14729
  }
14730
+ /**
14731
+ * LocationApi - axios parameter creator
14732
+ * @export
14733
+ */
14734
+ export const LocationApiAxiosParamCreator = function (configuration) {
14735
+ return {
14736
+ /**
14737
+ * Search the Locations stored for game servers, as the game last reported them. They stay available while the game server is offline. A Location the game reported without a Dimension is stored under the game server\'s default Dimension. Filterable by category, a free-form string the game chooses. Required permissions: `READ_MAP`<br> OperationId: `LocationControllerSearch`
14738
+ * @summary Search
14739
+ * @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
14740
+ * @param {*} [options] Override http request option.
14741
+ * @throws {RequiredError}
14742
+ */
14743
+ locationControllerSearch: async (locationSearchInputDTO, options = {}) => {
14744
+ const localVarPath = `/location/search`;
14745
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14746
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14747
+ let baseOptions;
14748
+ if (configuration) {
14749
+ baseOptions = configuration.baseOptions;
14750
+ }
14751
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
14752
+ const localVarHeaderParameter = {};
14753
+ const localVarQueryParameter = {};
14754
+ // authentication bearerAuth required
14755
+ // http bearer authentication required
14756
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
14757
+ // authentication domainAuth required
14758
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14759
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14760
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14761
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
14762
+ localVarRequestOptions.data = serializeDataIfNeeded(locationSearchInputDTO, localVarRequestOptions, configuration);
14763
+ return {
14764
+ url: toPathString(localVarUrlObj),
14765
+ options: localVarRequestOptions,
14766
+ };
14767
+ },
14768
+ };
14769
+ };
14770
+ /**
14771
+ * LocationApi - functional programming interface
14772
+ * @export
14773
+ */
14774
+ export const LocationApiFp = function (configuration) {
14775
+ const localVarAxiosParamCreator = LocationApiAxiosParamCreator(configuration);
14776
+ return {
14777
+ /**
14778
+ * Search the Locations stored for game servers, as the game last reported them. They stay available while the game server is offline. A Location the game reported without a Dimension is stored under the game server\'s default Dimension. Filterable by category, a free-form string the game chooses. Required permissions: `READ_MAP`<br> OperationId: `LocationControllerSearch`
14779
+ * @summary Search
14780
+ * @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
14781
+ * @param {*} [options] Override http request option.
14782
+ * @throws {RequiredError}
14783
+ */
14784
+ async locationControllerSearch(locationSearchInputDTO, options) {
14785
+ const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerSearch(locationSearchInputDTO, options);
14786
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14787
+ const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerSearch']?.[localVarOperationServerIndex]?.url;
14788
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14789
+ },
14790
+ };
14791
+ };
14792
+ /**
14793
+ * LocationApi - factory interface
14794
+ * @export
14795
+ */
14796
+ export const LocationApiFactory = function (configuration, basePath, axios) {
14797
+ const localVarFp = LocationApiFp(configuration);
14798
+ return {
14799
+ /**
14800
+ * Search the Locations stored for game servers, as the game last reported them. They stay available while the game server is offline. A Location the game reported without a Dimension is stored under the game server\'s default Dimension. Filterable by category, a free-form string the game chooses. Required permissions: `READ_MAP`<br> OperationId: `LocationControllerSearch`
14801
+ * @summary Search
14802
+ * @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
14803
+ * @param {*} [options] Override http request option.
14804
+ * @throws {RequiredError}
14805
+ */
14806
+ locationControllerSearch(locationSearchInputDTO, options) {
14807
+ return localVarFp
14808
+ .locationControllerSearch(locationSearchInputDTO, options)
14809
+ .then((request) => request(axios, basePath));
14810
+ },
14811
+ };
14812
+ };
14813
+ /**
14814
+ * LocationApi - object-oriented interface
14815
+ * @export
14816
+ * @class LocationApi
14817
+ * @extends {BaseAPI}
14818
+ */
14819
+ export class LocationApi extends BaseAPI {
14820
+ /**
14821
+ * Search the Locations stored for game servers, as the game last reported them. They stay available while the game server is offline. A Location the game reported without a Dimension is stored under the game server\'s default Dimension. Filterable by category, a free-form string the game chooses. Required permissions: `READ_MAP`<br> OperationId: `LocationControllerSearch`
14822
+ * @summary Search
14823
+ * @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
14824
+ * @param {*} [options] Override http request option.
14825
+ * @throws {RequiredError}
14826
+ * @memberof LocationApi
14827
+ */
14828
+ locationControllerSearch(locationSearchInputDTO, options) {
14829
+ return LocationApiFp(this.configuration)
14830
+ .locationControllerSearch(locationSearchInputDTO, options)
14831
+ .then((request) => request(this.axios, this.basePath));
14832
+ }
14833
+ }
14522
14834
  /**
14523
14835
  * MetaApi - axios parameter creator
14524
14836
  * @export
@@ -15173,7 +15485,7 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
15173
15485
  };
15174
15486
  },
15175
15487
  /**
15176
- * Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
15488
+ * Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. `filters.enabled` matches `systemConfig.enabled`, and an installation without the value counts as enabled. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
15177
15489
  * @summary List the modules installed on a game server
15178
15490
  * @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
15179
15491
  * @param {*} [options] Override http request option.
@@ -15523,7 +15835,7 @@ export const ModuleApiFp = function (configuration) {
15523
15835
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15524
15836
  },
15525
15837
  /**
15526
- * Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
15838
+ * Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. `filters.enabled` matches `systemConfig.enabled`, and an installation without the value counts as enabled. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
15527
15839
  * @summary List the modules installed on a game server
15528
15840
  * @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
15529
15841
  * @param {*} [options] Override http request option.
@@ -15716,7 +16028,7 @@ export const ModuleApiFactory = function (configuration, basePath, axios) {
15716
16028
  .then((request) => request(axios, basePath));
15717
16029
  },
15718
16030
  /**
15719
- * Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
16031
+ * Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. `filters.enabled` matches `systemConfig.enabled`, and an installation without the value counts as enabled. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
15720
16032
  * @summary List the modules installed on a game server
15721
16033
  * @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
15722
16034
  * @param {*} [options] Override http request option.
@@ -15918,7 +16230,7 @@ export class ModuleApi extends BaseAPI {
15918
16230
  .then((request) => request(this.axios, this.basePath));
15919
16231
  }
15920
16232
  /**
15921
- * Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
16233
+ * Find module installations, optionally narrowed to one game server or one module, with the configuration each installation was given. Besides the installation columns, `sortBy` accepts `moduleName` to order by the installed module\'s name, case-insensitively. `filters.enabled` matches `systemConfig.enabled`, and an installation without the value counts as enabled. Required permissions: `READ_MODULES`<br> OperationId: `ModuleInstallationsControllerGetInstalledModules`
15922
16234
  * @summary List the modules installed on a game server
15923
16235
  * @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
15924
16236
  * @param {*} [options] Override http request option.
@@ -23518,7 +23830,7 @@ export class ThreadApi extends BaseAPI {
23518
23830
  export const TrackingApiAxiosParamCreator = function (configuration) {
23519
23831
  return {
23520
23832
  /**
23521
- * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
23833
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
23522
23834
  * @summary Get bounding box players
23523
23835
  * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
23524
23836
  * @param {*} [options] Override http request option.
@@ -23550,14 +23862,14 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
23550
23862
  };
23551
23863
  },
23552
23864
  /**
23553
- * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
23554
- * @summary Get player inventory history
23555
- * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
23865
+ * A player\'s inventory on a game server at a moment, reconstructed from their latest inventory snapshot at or before the moment (within 31 days) plus the changes after it. snapshotTime is absent when no snapshot exists, meaning the inventory is not known. At most 1000 items; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryAt`
23866
+ * @summary Get inventory at
23867
+ * @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
23556
23868
  * @param {*} [options] Override http request option.
23557
23869
  * @throws {RequiredError}
23558
23870
  */
23559
- trackingControllerGetPlayerInventoryHistory: async (playerInventoryHistoryInputDTO, options = {}) => {
23560
- const localVarPath = `/tracking/inventory/player`;
23871
+ trackingControllerGetInventoryAt: async (inventoryAtInputDTO, options = {}) => {
23872
+ const localVarPath = `/tracking/inventory/at`;
23561
23873
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23562
23874
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23563
23875
  let baseOptions;
@@ -23575,21 +23887,21 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
23575
23887
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23576
23888
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23577
23889
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23578
- localVarRequestOptions.data = serializeDataIfNeeded(playerInventoryHistoryInputDTO, localVarRequestOptions, configuration);
23890
+ localVarRequestOptions.data = serializeDataIfNeeded(inventoryAtInputDTO, localVarRequestOptions, configuration);
23579
23891
  return {
23580
23892
  url: toPathString(localVarUrlObj),
23581
23893
  options: localVarRequestOptions,
23582
23894
  };
23583
23895
  },
23584
23896
  /**
23585
- * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
23586
- * @summary Get player movement history
23587
- * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
23897
+ * A player\'s inventory changes on a game server in a time range (at most 31 days), in time order, with cause, Position and counterpart where the game reported them. Cause `unknown` marks a correction found by an hourly snapshot. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryChanges`
23898
+ * @summary Get inventory changes
23899
+ * @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
23588
23900
  * @param {*} [options] Override http request option.
23589
23901
  * @throws {RequiredError}
23590
23902
  */
23591
- trackingControllerGetPlayerMovementHistory: async (playerMovementHistoryInputDTO, options = {}) => {
23592
- const localVarPath = `/tracking/location`;
23903
+ trackingControllerGetInventoryChanges: async (inventoryChangesInputDTO, options = {}) => {
23904
+ const localVarPath = `/tracking/inventory/changes`;
23593
23905
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23594
23906
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23595
23907
  let baseOptions;
@@ -23607,21 +23919,21 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
23607
23919
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23608
23920
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23609
23921
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23610
- localVarRequestOptions.data = serializeDataIfNeeded(playerMovementHistoryInputDTO, localVarRequestOptions, configuration);
23922
+ localVarRequestOptions.data = serializeDataIfNeeded(inventoryChangesInputDTO, localVarRequestOptions, configuration);
23611
23923
  return {
23612
23924
  url: toPathString(localVarUrlObj),
23613
23925
  options: localVarRequestOptions,
23614
23926
  };
23615
23927
  },
23616
23928
  /**
23617
- * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
23618
- * @summary Get players by item
23619
- * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
23929
+ * Who held an item of a game server during a time range (at most 31 days): per player, the periods they held it, reconstructed from inventory snapshots and changes, plus each gain and loss of the item in time order with cause, Position and counterpart where reported. A period with heldAtStart began before the range; one without end lasted past it. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetItemHolders`
23930
+ * @summary Get item holders
23931
+ * @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
23620
23932
  * @param {*} [options] Override http request option.
23621
23933
  * @throws {RequiredError}
23622
23934
  */
23623
- trackingControllerGetPlayersByItem: async (playersByItemInputDTO, options = {}) => {
23624
- const localVarPath = `/tracking/inventory/item`;
23935
+ trackingControllerGetItemHolders: async (itemHoldersInputDTO, options = {}) => {
23936
+ const localVarPath = `/tracking/items/holders`;
23625
23937
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23626
23938
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23627
23939
  let baseOptions;
@@ -23639,21 +23951,21 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
23639
23951
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23640
23952
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23641
23953
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23642
- localVarRequestOptions.data = serializeDataIfNeeded(playersByItemInputDTO, localVarRequestOptions, configuration);
23954
+ localVarRequestOptions.data = serializeDataIfNeeded(itemHoldersInputDTO, localVarRequestOptions, configuration);
23643
23955
  return {
23644
23956
  url: toPathString(localVarUrlObj),
23645
23957
  options: localVarRequestOptions,
23646
23958
  };
23647
23959
  },
23648
23960
  /**
23649
- * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
23650
- * @summary Get radius players
23651
- * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
23961
+ * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
23962
+ * @summary Get player inventory history
23963
+ * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
23652
23964
  * @param {*} [options] Override http request option.
23653
23965
  * @throws {RequiredError}
23654
23966
  */
23655
- trackingControllerGetRadiusPlayers: async (radiusSearchInputDTO, options = {}) => {
23656
- const localVarPath = `/tracking/location/radius`;
23967
+ trackingControllerGetPlayerInventoryHistory: async (playerInventoryHistoryInputDTO, options = {}) => {
23968
+ const localVarPath = `/tracking/inventory/player`;
23657
23969
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23658
23970
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23659
23971
  let baseOptions;
@@ -23671,51 +23983,410 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
23671
23983
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23672
23984
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23673
23985
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23674
- localVarRequestOptions.data = serializeDataIfNeeded(radiusSearchInputDTO, localVarRequestOptions, configuration);
23986
+ localVarRequestOptions.data = serializeDataIfNeeded(playerInventoryHistoryInputDTO, localVarRequestOptions, configuration);
23675
23987
  return {
23676
23988
  url: toPathString(localVarUrlObj),
23677
23989
  options: localVarRequestOptions,
23678
23990
  };
23679
23991
  },
23680
- };
23681
- };
23682
- /**
23683
- * TrackingApi - functional programming interface
23684
- * @export
23685
- */
23686
- export const TrackingApiFp = function (configuration) {
23687
- const localVarAxiosParamCreator = TrackingApiAxiosParamCreator(configuration);
23688
- return {
23689
23992
  /**
23690
- * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
23691
- * @summary Get bounding box players
23692
- * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
23993
+ * Get movement history for players within date bounds, optionally scoped to one game server (`gameServerId`) and one dimension (`dimension`). Without `gameServerId`, samples from every game server the players are on are returned together. Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
23994
+ * @summary Get player movement history
23995
+ * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
23693
23996
  * @param {*} [options] Override http request option.
23694
23997
  * @throws {RequiredError}
23695
23998
  */
23696
- async trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options) {
23697
- const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options);
23698
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23699
- const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetBoundingBoxPlayers']?.[localVarOperationServerIndex]?.url;
23700
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23999
+ trackingControllerGetPlayerMovementHistory: async (playerMovementHistoryInputDTO, options = {}) => {
24000
+ const localVarPath = `/tracking/location`;
24001
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24002
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24003
+ let baseOptions;
24004
+ if (configuration) {
24005
+ baseOptions = configuration.baseOptions;
24006
+ }
24007
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24008
+ const localVarHeaderParameter = {};
24009
+ const localVarQueryParameter = {};
24010
+ // authentication bearerAuth required
24011
+ // http bearer authentication required
24012
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24013
+ // authentication domainAuth required
24014
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24015
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24016
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24017
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24018
+ localVarRequestOptions.data = serializeDataIfNeeded(playerMovementHistoryInputDTO, localVarRequestOptions, configuration);
24019
+ return {
24020
+ url: toPathString(localVarUrlObj),
24021
+ options: localVarRequestOptions,
24022
+ };
23701
24023
  },
23702
24024
  /**
23703
- * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
23704
- * @summary Get player inventory history
23705
- * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
24025
+ * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
24026
+ * @summary Get players by item
24027
+ * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
23706
24028
  * @param {*} [options] Override http request option.
23707
24029
  * @throws {RequiredError}
23708
24030
  */
23709
- async trackingControllerGetPlayerInventoryHistory(playerInventoryHistoryInputDTO, options) {
23710
- const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPlayerInventoryHistory(playerInventoryHistoryInputDTO, options);
23711
- const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
23712
- const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetPlayerInventoryHistory']?.[localVarOperationServerIndex]
23713
- ?.url;
23714
- return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23715
- },
23716
- /**
23717
- * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
23718
- * @summary Get player movement history
24031
+ trackingControllerGetPlayersByItem: async (playersByItemInputDTO, options = {}) => {
24032
+ const localVarPath = `/tracking/inventory/item`;
24033
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24034
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24035
+ let baseOptions;
24036
+ if (configuration) {
24037
+ baseOptions = configuration.baseOptions;
24038
+ }
24039
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24040
+ const localVarHeaderParameter = {};
24041
+ const localVarQueryParameter = {};
24042
+ // authentication bearerAuth required
24043
+ // http bearer authentication required
24044
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24045
+ // authentication domainAuth required
24046
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24047
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24048
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24049
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24050
+ localVarRequestOptions.data = serializeDataIfNeeded(playersByItemInputDTO, localVarRequestOptions, configuration);
24051
+ return {
24052
+ url: toPathString(localVarUrlObj),
24053
+ options: localVarRequestOptions,
24054
+ };
24055
+ },
24056
+ /**
24057
+ * The Position samples inside an area, in time order, optionally for chosen players. Same input as the area search, within 31 days. At most 10000 samples; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionAreaSamples`
24058
+ * @summary Get position area samples
24059
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24060
+ * @param {*} [options] Override http request option.
24061
+ * @throws {RequiredError}
24062
+ */
24063
+ trackingControllerGetPositionAreaSamples: async (positionAreaInputDTO, options = {}) => {
24064
+ const localVarPath = `/tracking/positions/area/samples`;
24065
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24066
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24067
+ let baseOptions;
24068
+ if (configuration) {
24069
+ baseOptions = configuration.baseOptions;
24070
+ }
24071
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24072
+ const localVarHeaderParameter = {};
24073
+ const localVarQueryParameter = {};
24074
+ // authentication bearerAuth required
24075
+ // http bearer authentication required
24076
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24077
+ // authentication domainAuth required
24078
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24079
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24080
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24081
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24082
+ localVarRequestOptions.data = serializeDataIfNeeded(positionAreaInputDTO, localVarRequestOptions, configuration);
24083
+ return {
24084
+ url: toPathString(localVarUrlObj),
24085
+ options: localVarRequestOptions,
24086
+ };
24087
+ },
24088
+ /**
24089
+ * Where every player of a game server was at a moment, in one Dimension: each player\'s last Position sample at or before the moment, omitting players with no sample in the two minutes before it. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionSnapshot`
24090
+ * @summary Get position snapshot
24091
+ * @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
24092
+ * @param {*} [options] Override http request option.
24093
+ * @throws {RequiredError}
24094
+ */
24095
+ trackingControllerGetPositionSnapshot: async (positionSnapshotInputDTO, options = {}) => {
24096
+ const localVarPath = `/tracking/positions/snapshot`;
24097
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24098
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24099
+ let baseOptions;
24100
+ if (configuration) {
24101
+ baseOptions = configuration.baseOptions;
24102
+ }
24103
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24104
+ const localVarHeaderParameter = {};
24105
+ const localVarQueryParameter = {};
24106
+ // authentication bearerAuth required
24107
+ // http bearer authentication required
24108
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24109
+ // authentication domainAuth required
24110
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24111
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24112
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24113
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24114
+ localVarRequestOptions.data = serializeDataIfNeeded(positionSnapshotInputDTO, localVarRequestOptions, configuration);
24115
+ return {
24116
+ url: toPathString(localVarUrlObj),
24117
+ options: localVarRequestOptions,
24118
+ };
24119
+ },
24120
+ /**
24121
+ * Position samples per player for a game server, Dimension and time range (at most 31 days), optionally for chosen players. Downsampled on the server: one sample per player per bucket, where bucketMs grows with the range. At most 100000 samples in all; `truncated` is true when whole players were left out to stay within that. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionTracks`
24122
+ * @summary Get position tracks
24123
+ * @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
24124
+ * @param {*} [options] Override http request option.
24125
+ * @throws {RequiredError}
24126
+ */
24127
+ trackingControllerGetPositionTracks: async (positionTracksInputDTO, options = {}) => {
24128
+ const localVarPath = `/tracking/positions/tracks`;
24129
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24130
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24131
+ let baseOptions;
24132
+ if (configuration) {
24133
+ baseOptions = configuration.baseOptions;
24134
+ }
24135
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24136
+ const localVarHeaderParameter = {};
24137
+ const localVarQueryParameter = {};
24138
+ // authentication bearerAuth required
24139
+ // http bearer authentication required
24140
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24141
+ // authentication domainAuth required
24142
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24143
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24144
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24145
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24146
+ localVarRequestOptions.data = serializeDataIfNeeded(positionTracksInputDTO, localVarRequestOptions, configuration);
24147
+ return {
24148
+ url: toPathString(localVarUrlObj),
24149
+ options: localVarRequestOptions,
24150
+ };
24151
+ },
24152
+ /**
24153
+ * A player\'s Progression history on a game server in a time range (at most 366 days), grouped by track with the character track first, each track\'s points in time order. Level changes are recorded for every level the player gained or lost; experience samples are recorded about every fifteen minutes. Experience samples expire with the domain\'s event retention, level changes are kept. Optionally restrict to `trackKeys`. At most 10000 points; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetProgressionHistory`
24154
+ * @summary Get progression history
24155
+ * @param {ProgressionHistoryInputDTO} [progressionHistoryInputDTO] ProgressionHistoryInputDTO
24156
+ * @param {*} [options] Override http request option.
24157
+ * @throws {RequiredError}
24158
+ */
24159
+ trackingControllerGetProgressionHistory: async (progressionHistoryInputDTO, options = {}) => {
24160
+ const localVarPath = `/tracking/progression/history`;
24161
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24162
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24163
+ let baseOptions;
24164
+ if (configuration) {
24165
+ baseOptions = configuration.baseOptions;
24166
+ }
24167
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24168
+ const localVarHeaderParameter = {};
24169
+ const localVarQueryParameter = {};
24170
+ // authentication bearerAuth required
24171
+ // http bearer authentication required
24172
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24173
+ // authentication domainAuth required
24174
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24175
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24176
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24177
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24178
+ localVarRequestOptions.data = serializeDataIfNeeded(progressionHistoryInputDTO, localVarRequestOptions, configuration);
24179
+ return {
24180
+ url: toPathString(localVarUrlObj),
24181
+ options: localVarRequestOptions,
24182
+ };
24183
+ },
24184
+ /**
24185
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
24186
+ * @summary Get radius players
24187
+ * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
24188
+ * @param {*} [options] Override http request option.
24189
+ * @throws {RequiredError}
24190
+ */
24191
+ trackingControllerGetRadiusPlayers: async (radiusSearchInputDTO, options = {}) => {
24192
+ const localVarPath = `/tracking/location/radius`;
24193
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24194
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24195
+ let baseOptions;
24196
+ if (configuration) {
24197
+ baseOptions = configuration.baseOptions;
24198
+ }
24199
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24200
+ const localVarHeaderParameter = {};
24201
+ const localVarQueryParameter = {};
24202
+ // authentication bearerAuth required
24203
+ // http bearer authentication required
24204
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24205
+ // authentication domainAuth required
24206
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24207
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24208
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24209
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24210
+ localVarRequestOptions.data = serializeDataIfNeeded(radiusSearchInputDTO, localVarRequestOptions, configuration);
24211
+ return {
24212
+ url: toPathString(localVarUrlObj),
24213
+ options: localVarRequestOptions,
24214
+ };
24215
+ },
24216
+ /**
24217
+ * Inventory gains on a game server during a time range (at most 7 days) by players whose Position at the moment of the gain was inside a shape (circle, rectangle or polygon) in a Dimension, with an optional height range. The Position is the one the game reported with the change, else the player\'s last Position sample at most 2 minutes earlier; `positionSource` says which. In time order, with cause and counterpart where reported. This is evidence, not proof of theft. At most 5000 gains; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchAreaGains`
24218
+ * @summary Search area gains
24219
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24220
+ * @param {*} [options] Override http request option.
24221
+ * @throws {RequiredError}
24222
+ */
24223
+ trackingControllerSearchAreaGains: async (positionAreaInputDTO, options = {}) => {
24224
+ const localVarPath = `/tracking/inventory/area-gains`;
24225
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24226
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24227
+ let baseOptions;
24228
+ if (configuration) {
24229
+ baseOptions = configuration.baseOptions;
24230
+ }
24231
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24232
+ const localVarHeaderParameter = {};
24233
+ const localVarQueryParameter = {};
24234
+ // authentication bearerAuth required
24235
+ // http bearer authentication required
24236
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24237
+ // authentication domainAuth required
24238
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24239
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24240
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24241
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24242
+ localVarRequestOptions.data = serializeDataIfNeeded(positionAreaInputDTO, localVarRequestOptions, configuration);
24243
+ return {
24244
+ url: toPathString(localVarUrlObj),
24245
+ options: localVarRequestOptions,
24246
+ };
24247
+ },
24248
+ /**
24249
+ * Deaths, kills, connects and disconnects of a game server during a time range (at most 31 days), in time order, each with a Position: the one the game reported with the event, else the player\'s nearest Position sample within 2 minutes before or after (positionSource \'sampled\', approximate), else none. At most 2000 events; truncated is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`, `READ_EVENTS`<br> OperationId: `TrackingControllerSearchEvents`
24250
+ * @summary Search events
24251
+ * @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
24252
+ * @param {*} [options] Override http request option.
24253
+ * @throws {RequiredError}
24254
+ */
24255
+ trackingControllerSearchEvents: async (trackingEventsInputDTO, options = {}) => {
24256
+ const localVarPath = `/tracking/events`;
24257
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24258
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24259
+ let baseOptions;
24260
+ if (configuration) {
24261
+ baseOptions = configuration.baseOptions;
24262
+ }
24263
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24264
+ const localVarHeaderParameter = {};
24265
+ const localVarQueryParameter = {};
24266
+ // authentication bearerAuth required
24267
+ // http bearer authentication required
24268
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24269
+ // authentication domainAuth required
24270
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24271
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24272
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24273
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24274
+ localVarRequestOptions.data = serializeDataIfNeeded(trackingEventsInputDTO, localVarRequestOptions, configuration);
24275
+ return {
24276
+ url: toPathString(localVarUrlObj),
24277
+ options: localVarRequestOptions,
24278
+ };
24279
+ },
24280
+ /**
24281
+ * Who was inside an area of a game server\'s Dimension during a time range (at most 31 days): per player, first seen, last seen and sample count. The shape (circle, rectangle or polygon) is given in game coordinates on the Dimension\'s two map axes; height (the third axis) is ignored unless minHeight or maxHeight is given. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchPositionArea`
24282
+ * @summary Search position area
24283
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24284
+ * @param {*} [options] Override http request option.
24285
+ * @throws {RequiredError}
24286
+ */
24287
+ trackingControllerSearchPositionArea: async (positionAreaInputDTO, options = {}) => {
24288
+ const localVarPath = `/tracking/positions/area`;
24289
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24290
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24291
+ let baseOptions;
24292
+ if (configuration) {
24293
+ baseOptions = configuration.baseOptions;
24294
+ }
24295
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24296
+ const localVarHeaderParameter = {};
24297
+ const localVarQueryParameter = {};
24298
+ // authentication bearerAuth required
24299
+ // http bearer authentication required
24300
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24301
+ // authentication domainAuth required
24302
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24303
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24304
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24305
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24306
+ localVarRequestOptions.data = serializeDataIfNeeded(positionAreaInputDTO, localVarRequestOptions, configuration);
24307
+ return {
24308
+ url: toPathString(localVarUrlObj),
24309
+ options: localVarRequestOptions,
24310
+ };
24311
+ },
24312
+ };
24313
+ };
24314
+ /**
24315
+ * TrackingApi - functional programming interface
24316
+ * @export
24317
+ */
24318
+ export const TrackingApiFp = function (configuration) {
24319
+ const localVarAxiosParamCreator = TrackingApiAxiosParamCreator(configuration);
24320
+ return {
24321
+ /**
24322
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
24323
+ * @summary Get bounding box players
24324
+ * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
24325
+ * @param {*} [options] Override http request option.
24326
+ * @throws {RequiredError}
24327
+ */
24328
+ async trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options) {
24329
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetBoundingBoxPlayers(boundingBoxSearchInputDTO, options);
24330
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24331
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetBoundingBoxPlayers']?.[localVarOperationServerIndex]?.url;
24332
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24333
+ },
24334
+ /**
24335
+ * A player\'s inventory on a game server at a moment, reconstructed from their latest inventory snapshot at or before the moment (within 31 days) plus the changes after it. snapshotTime is absent when no snapshot exists, meaning the inventory is not known. At most 1000 items; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryAt`
24336
+ * @summary Get inventory at
24337
+ * @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
24338
+ * @param {*} [options] Override http request option.
24339
+ * @throws {RequiredError}
24340
+ */
24341
+ async trackingControllerGetInventoryAt(inventoryAtInputDTO, options) {
24342
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetInventoryAt(inventoryAtInputDTO, options);
24343
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24344
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetInventoryAt']?.[localVarOperationServerIndex]?.url;
24345
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24346
+ },
24347
+ /**
24348
+ * A player\'s inventory changes on a game server in a time range (at most 31 days), in time order, with cause, Position and counterpart where the game reported them. Cause `unknown` marks a correction found by an hourly snapshot. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryChanges`
24349
+ * @summary Get inventory changes
24350
+ * @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
24351
+ * @param {*} [options] Override http request option.
24352
+ * @throws {RequiredError}
24353
+ */
24354
+ async trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options) {
24355
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options);
24356
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24357
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetInventoryChanges']?.[localVarOperationServerIndex]?.url;
24358
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24359
+ },
24360
+ /**
24361
+ * Who held an item of a game server during a time range (at most 31 days): per player, the periods they held it, reconstructed from inventory snapshots and changes, plus each gain and loss of the item in time order with cause, Position and counterpart where reported. A period with heldAtStart began before the range; one without end lasted past it. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetItemHolders`
24362
+ * @summary Get item holders
24363
+ * @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
24364
+ * @param {*} [options] Override http request option.
24365
+ * @throws {RequiredError}
24366
+ */
24367
+ async trackingControllerGetItemHolders(itemHoldersInputDTO, options) {
24368
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetItemHolders(itemHoldersInputDTO, options);
24369
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24370
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetItemHolders']?.[localVarOperationServerIndex]?.url;
24371
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24372
+ },
24373
+ /**
24374
+ * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
24375
+ * @summary Get player inventory history
24376
+ * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
24377
+ * @param {*} [options] Override http request option.
24378
+ * @throws {RequiredError}
24379
+ */
24380
+ async trackingControllerGetPlayerInventoryHistory(playerInventoryHistoryInputDTO, options) {
24381
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPlayerInventoryHistory(playerInventoryHistoryInputDTO, options);
24382
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24383
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetPlayerInventoryHistory']?.[localVarOperationServerIndex]
24384
+ ?.url;
24385
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24386
+ },
24387
+ /**
24388
+ * Get movement history for players within date bounds, optionally scoped to one game server (`gameServerId`) and one dimension (`dimension`). Without `gameServerId`, samples from every game server the players are on are returned together. Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
24389
+ * @summary Get player movement history
23719
24390
  * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
23720
24391
  * @param {*} [options] Override http request option.
23721
24392
  * @throws {RequiredError}
@@ -23728,7 +24399,7 @@ export const TrackingApiFp = function (configuration) {
23728
24399
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23729
24400
  },
23730
24401
  /**
23731
- * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
24402
+ * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
23732
24403
  * @summary Get players by item
23733
24404
  * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
23734
24405
  * @param {*} [options] Override http request option.
@@ -23741,7 +24412,59 @@ export const TrackingApiFp = function (configuration) {
23741
24412
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23742
24413
  },
23743
24414
  /**
23744
- * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
24415
+ * The Position samples inside an area, in time order, optionally for chosen players. Same input as the area search, within 31 days. At most 10000 samples; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionAreaSamples`
24416
+ * @summary Get position area samples
24417
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24418
+ * @param {*} [options] Override http request option.
24419
+ * @throws {RequiredError}
24420
+ */
24421
+ async trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options) {
24422
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options);
24423
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24424
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetPositionAreaSamples']?.[localVarOperationServerIndex]?.url;
24425
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24426
+ },
24427
+ /**
24428
+ * Where every player of a game server was at a moment, in one Dimension: each player\'s last Position sample at or before the moment, omitting players with no sample in the two minutes before it. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionSnapshot`
24429
+ * @summary Get position snapshot
24430
+ * @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
24431
+ * @param {*} [options] Override http request option.
24432
+ * @throws {RequiredError}
24433
+ */
24434
+ async trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options) {
24435
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options);
24436
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24437
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetPositionSnapshot']?.[localVarOperationServerIndex]?.url;
24438
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24439
+ },
24440
+ /**
24441
+ * Position samples per player for a game server, Dimension and time range (at most 31 days), optionally for chosen players. Downsampled on the server: one sample per player per bucket, where bucketMs grows with the range. At most 100000 samples in all; `truncated` is true when whole players were left out to stay within that. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionTracks`
24442
+ * @summary Get position tracks
24443
+ * @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
24444
+ * @param {*} [options] Override http request option.
24445
+ * @throws {RequiredError}
24446
+ */
24447
+ async trackingControllerGetPositionTracks(positionTracksInputDTO, options) {
24448
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPositionTracks(positionTracksInputDTO, options);
24449
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24450
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetPositionTracks']?.[localVarOperationServerIndex]?.url;
24451
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24452
+ },
24453
+ /**
24454
+ * A player\'s Progression history on a game server in a time range (at most 366 days), grouped by track with the character track first, each track\'s points in time order. Level changes are recorded for every level the player gained or lost; experience samples are recorded about every fifteen minutes. Experience samples expire with the domain\'s event retention, level changes are kept. Optionally restrict to `trackKeys`. At most 10000 points; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetProgressionHistory`
24455
+ * @summary Get progression history
24456
+ * @param {ProgressionHistoryInputDTO} [progressionHistoryInputDTO] ProgressionHistoryInputDTO
24457
+ * @param {*} [options] Override http request option.
24458
+ * @throws {RequiredError}
24459
+ */
24460
+ async trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options) {
24461
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options);
24462
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24463
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetProgressionHistory']?.[localVarOperationServerIndex]?.url;
24464
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24465
+ },
24466
+ /**
24467
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
23745
24468
  * @summary Get radius players
23746
24469
  * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
23747
24470
  * @param {*} [options] Override http request option.
@@ -23753,6 +24476,45 @@ export const TrackingApiFp = function (configuration) {
23753
24476
  const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetRadiusPlayers']?.[localVarOperationServerIndex]?.url;
23754
24477
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23755
24478
  },
24479
+ /**
24480
+ * Inventory gains on a game server during a time range (at most 7 days) by players whose Position at the moment of the gain was inside a shape (circle, rectangle or polygon) in a Dimension, with an optional height range. The Position is the one the game reported with the change, else the player\'s last Position sample at most 2 minutes earlier; `positionSource` says which. In time order, with cause and counterpart where reported. This is evidence, not proof of theft. At most 5000 gains; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchAreaGains`
24481
+ * @summary Search area gains
24482
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24483
+ * @param {*} [options] Override http request option.
24484
+ * @throws {RequiredError}
24485
+ */
24486
+ async trackingControllerSearchAreaGains(positionAreaInputDTO, options) {
24487
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerSearchAreaGains(positionAreaInputDTO, options);
24488
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24489
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerSearchAreaGains']?.[localVarOperationServerIndex]?.url;
24490
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24491
+ },
24492
+ /**
24493
+ * Deaths, kills, connects and disconnects of a game server during a time range (at most 31 days), in time order, each with a Position: the one the game reported with the event, else the player\'s nearest Position sample within 2 minutes before or after (positionSource \'sampled\', approximate), else none. At most 2000 events; truncated is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`, `READ_EVENTS`<br> OperationId: `TrackingControllerSearchEvents`
24494
+ * @summary Search events
24495
+ * @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
24496
+ * @param {*} [options] Override http request option.
24497
+ * @throws {RequiredError}
24498
+ */
24499
+ async trackingControllerSearchEvents(trackingEventsInputDTO, options) {
24500
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerSearchEvents(trackingEventsInputDTO, options);
24501
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24502
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerSearchEvents']?.[localVarOperationServerIndex]?.url;
24503
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24504
+ },
24505
+ /**
24506
+ * Who was inside an area of a game server\'s Dimension during a time range (at most 31 days): per player, first seen, last seen and sample count. The shape (circle, rectangle or polygon) is given in game coordinates on the Dimension\'s two map axes; height (the third axis) is ignored unless minHeight or maxHeight is given. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchPositionArea`
24507
+ * @summary Search position area
24508
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24509
+ * @param {*} [options] Override http request option.
24510
+ * @throws {RequiredError}
24511
+ */
24512
+ async trackingControllerSearchPositionArea(positionAreaInputDTO, options) {
24513
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerSearchPositionArea(positionAreaInputDTO, options);
24514
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24515
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerSearchPositionArea']?.[localVarOperationServerIndex]?.url;
24516
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24517
+ },
23756
24518
  };
23757
24519
  };
23758
24520
  /**
@@ -23763,7 +24525,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
23763
24525
  const localVarFp = TrackingApiFp(configuration);
23764
24526
  return {
23765
24527
  /**
23766
- * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
24528
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
23767
24529
  * @summary Get bounding box players
23768
24530
  * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
23769
24531
  * @param {*} [options] Override http request option.
@@ -23775,7 +24537,43 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
23775
24537
  .then((request) => request(axios, basePath));
23776
24538
  },
23777
24539
  /**
23778
- * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
24540
+ * A player\'s inventory on a game server at a moment, reconstructed from their latest inventory snapshot at or before the moment (within 31 days) plus the changes after it. snapshotTime is absent when no snapshot exists, meaning the inventory is not known. At most 1000 items; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryAt`
24541
+ * @summary Get inventory at
24542
+ * @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
24543
+ * @param {*} [options] Override http request option.
24544
+ * @throws {RequiredError}
24545
+ */
24546
+ trackingControllerGetInventoryAt(inventoryAtInputDTO, options) {
24547
+ return localVarFp
24548
+ .trackingControllerGetInventoryAt(inventoryAtInputDTO, options)
24549
+ .then((request) => request(axios, basePath));
24550
+ },
24551
+ /**
24552
+ * A player\'s inventory changes on a game server in a time range (at most 31 days), in time order, with cause, Position and counterpart where the game reported them. Cause `unknown` marks a correction found by an hourly snapshot. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryChanges`
24553
+ * @summary Get inventory changes
24554
+ * @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
24555
+ * @param {*} [options] Override http request option.
24556
+ * @throws {RequiredError}
24557
+ */
24558
+ trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options) {
24559
+ return localVarFp
24560
+ .trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options)
24561
+ .then((request) => request(axios, basePath));
24562
+ },
24563
+ /**
24564
+ * Who held an item of a game server during a time range (at most 31 days): per player, the periods they held it, reconstructed from inventory snapshots and changes, plus each gain and loss of the item in time order with cause, Position and counterpart where reported. A period with heldAtStart began before the range; one without end lasted past it. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetItemHolders`
24565
+ * @summary Get item holders
24566
+ * @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
24567
+ * @param {*} [options] Override http request option.
24568
+ * @throws {RequiredError}
24569
+ */
24570
+ trackingControllerGetItemHolders(itemHoldersInputDTO, options) {
24571
+ return localVarFp
24572
+ .trackingControllerGetItemHolders(itemHoldersInputDTO, options)
24573
+ .then((request) => request(axios, basePath));
24574
+ },
24575
+ /**
24576
+ * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
23779
24577
  * @summary Get player inventory history
23780
24578
  * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
23781
24579
  * @param {*} [options] Override http request option.
@@ -23787,7 +24585,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
23787
24585
  .then((request) => request(axios, basePath));
23788
24586
  },
23789
24587
  /**
23790
- * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
24588
+ * Get movement history for players within date bounds, optionally scoped to one game server (`gameServerId`) and one dimension (`dimension`). Without `gameServerId`, samples from every game server the players are on are returned together. Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
23791
24589
  * @summary Get player movement history
23792
24590
  * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
23793
24591
  * @param {*} [options] Override http request option.
@@ -23799,7 +24597,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
23799
24597
  .then((request) => request(axios, basePath));
23800
24598
  },
23801
24599
  /**
23802
- * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
24600
+ * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
23803
24601
  * @summary Get players by item
23804
24602
  * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
23805
24603
  * @param {*} [options] Override http request option.
@@ -23811,7 +24609,55 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
23811
24609
  .then((request) => request(axios, basePath));
23812
24610
  },
23813
24611
  /**
23814
- * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
24612
+ * The Position samples inside an area, in time order, optionally for chosen players. Same input as the area search, within 31 days. At most 10000 samples; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionAreaSamples`
24613
+ * @summary Get position area samples
24614
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24615
+ * @param {*} [options] Override http request option.
24616
+ * @throws {RequiredError}
24617
+ */
24618
+ trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options) {
24619
+ return localVarFp
24620
+ .trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options)
24621
+ .then((request) => request(axios, basePath));
24622
+ },
24623
+ /**
24624
+ * Where every player of a game server was at a moment, in one Dimension: each player\'s last Position sample at or before the moment, omitting players with no sample in the two minutes before it. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionSnapshot`
24625
+ * @summary Get position snapshot
24626
+ * @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
24627
+ * @param {*} [options] Override http request option.
24628
+ * @throws {RequiredError}
24629
+ */
24630
+ trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options) {
24631
+ return localVarFp
24632
+ .trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options)
24633
+ .then((request) => request(axios, basePath));
24634
+ },
24635
+ /**
24636
+ * Position samples per player for a game server, Dimension and time range (at most 31 days), optionally for chosen players. Downsampled on the server: one sample per player per bucket, where bucketMs grows with the range. At most 100000 samples in all; `truncated` is true when whole players were left out to stay within that. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionTracks`
24637
+ * @summary Get position tracks
24638
+ * @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
24639
+ * @param {*} [options] Override http request option.
24640
+ * @throws {RequiredError}
24641
+ */
24642
+ trackingControllerGetPositionTracks(positionTracksInputDTO, options) {
24643
+ return localVarFp
24644
+ .trackingControllerGetPositionTracks(positionTracksInputDTO, options)
24645
+ .then((request) => request(axios, basePath));
24646
+ },
24647
+ /**
24648
+ * A player\'s Progression history on a game server in a time range (at most 366 days), grouped by track with the character track first, each track\'s points in time order. Level changes are recorded for every level the player gained or lost; experience samples are recorded about every fifteen minutes. Experience samples expire with the domain\'s event retention, level changes are kept. Optionally restrict to `trackKeys`. At most 10000 points; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetProgressionHistory`
24649
+ * @summary Get progression history
24650
+ * @param {ProgressionHistoryInputDTO} [progressionHistoryInputDTO] ProgressionHistoryInputDTO
24651
+ * @param {*} [options] Override http request option.
24652
+ * @throws {RequiredError}
24653
+ */
24654
+ trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options) {
24655
+ return localVarFp
24656
+ .trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options)
24657
+ .then((request) => request(axios, basePath));
24658
+ },
24659
+ /**
24660
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
23815
24661
  * @summary Get radius players
23816
24662
  * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
23817
24663
  * @param {*} [options] Override http request option.
@@ -23822,6 +24668,42 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
23822
24668
  .trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options)
23823
24669
  .then((request) => request(axios, basePath));
23824
24670
  },
24671
+ /**
24672
+ * Inventory gains on a game server during a time range (at most 7 days) by players whose Position at the moment of the gain was inside a shape (circle, rectangle or polygon) in a Dimension, with an optional height range. The Position is the one the game reported with the change, else the player\'s last Position sample at most 2 minutes earlier; `positionSource` says which. In time order, with cause and counterpart where reported. This is evidence, not proof of theft. At most 5000 gains; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchAreaGains`
24673
+ * @summary Search area gains
24674
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24675
+ * @param {*} [options] Override http request option.
24676
+ * @throws {RequiredError}
24677
+ */
24678
+ trackingControllerSearchAreaGains(positionAreaInputDTO, options) {
24679
+ return localVarFp
24680
+ .trackingControllerSearchAreaGains(positionAreaInputDTO, options)
24681
+ .then((request) => request(axios, basePath));
24682
+ },
24683
+ /**
24684
+ * Deaths, kills, connects and disconnects of a game server during a time range (at most 31 days), in time order, each with a Position: the one the game reported with the event, else the player\'s nearest Position sample within 2 minutes before or after (positionSource \'sampled\', approximate), else none. At most 2000 events; truncated is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`, `READ_EVENTS`<br> OperationId: `TrackingControllerSearchEvents`
24685
+ * @summary Search events
24686
+ * @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
24687
+ * @param {*} [options] Override http request option.
24688
+ * @throws {RequiredError}
24689
+ */
24690
+ trackingControllerSearchEvents(trackingEventsInputDTO, options) {
24691
+ return localVarFp
24692
+ .trackingControllerSearchEvents(trackingEventsInputDTO, options)
24693
+ .then((request) => request(axios, basePath));
24694
+ },
24695
+ /**
24696
+ * Who was inside an area of a game server\'s Dimension during a time range (at most 31 days): per player, first seen, last seen and sample count. The shape (circle, rectangle or polygon) is given in game coordinates on the Dimension\'s two map axes; height (the third axis) is ignored unless minHeight or maxHeight is given. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchPositionArea`
24697
+ * @summary Search position area
24698
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24699
+ * @param {*} [options] Override http request option.
24700
+ * @throws {RequiredError}
24701
+ */
24702
+ trackingControllerSearchPositionArea(positionAreaInputDTO, options) {
24703
+ return localVarFp
24704
+ .trackingControllerSearchPositionArea(positionAreaInputDTO, options)
24705
+ .then((request) => request(axios, basePath));
24706
+ },
23825
24707
  };
23826
24708
  };
23827
24709
  /**
@@ -23832,7 +24714,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
23832
24714
  */
23833
24715
  export class TrackingApi extends BaseAPI {
23834
24716
  /**
23835
- * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
24717
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
23836
24718
  * @summary Get bounding box players
23837
24719
  * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
23838
24720
  * @param {*} [options] Override http request option.
@@ -23845,7 +24727,46 @@ export class TrackingApi extends BaseAPI {
23845
24727
  .then((request) => request(this.axios, this.basePath));
23846
24728
  }
23847
24729
  /**
23848
- * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
24730
+ * A player\'s inventory on a game server at a moment, reconstructed from their latest inventory snapshot at or before the moment (within 31 days) plus the changes after it. snapshotTime is absent when no snapshot exists, meaning the inventory is not known. At most 1000 items; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryAt`
24731
+ * @summary Get inventory at
24732
+ * @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
24733
+ * @param {*} [options] Override http request option.
24734
+ * @throws {RequiredError}
24735
+ * @memberof TrackingApi
24736
+ */
24737
+ trackingControllerGetInventoryAt(inventoryAtInputDTO, options) {
24738
+ return TrackingApiFp(this.configuration)
24739
+ .trackingControllerGetInventoryAt(inventoryAtInputDTO, options)
24740
+ .then((request) => request(this.axios, this.basePath));
24741
+ }
24742
+ /**
24743
+ * A player\'s inventory changes on a game server in a time range (at most 31 days), in time order, with cause, Position and counterpart where the game reported them. Cause `unknown` marks a correction found by an hourly snapshot. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetInventoryChanges`
24744
+ * @summary Get inventory changes
24745
+ * @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
24746
+ * @param {*} [options] Override http request option.
24747
+ * @throws {RequiredError}
24748
+ * @memberof TrackingApi
24749
+ */
24750
+ trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options) {
24751
+ return TrackingApiFp(this.configuration)
24752
+ .trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options)
24753
+ .then((request) => request(this.axios, this.basePath));
24754
+ }
24755
+ /**
24756
+ * Who held an item of a game server during a time range (at most 31 days): per player, the periods they held it, reconstructed from inventory snapshots and changes, plus each gain and loss of the item in time order with cause, Position and counterpart where reported. A period with heldAtStart began before the range; one without end lasted past it. At most 5000 changes; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetItemHolders`
24757
+ * @summary Get item holders
24758
+ * @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
24759
+ * @param {*} [options] Override http request option.
24760
+ * @throws {RequiredError}
24761
+ * @memberof TrackingApi
24762
+ */
24763
+ trackingControllerGetItemHolders(itemHoldersInputDTO, options) {
24764
+ return TrackingApiFp(this.configuration)
24765
+ .trackingControllerGetItemHolders(itemHoldersInputDTO, options)
24766
+ .then((request) => request(this.axios, this.basePath));
24767
+ }
24768
+ /**
24769
+ * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
23849
24770
  * @summary Get player inventory history
23850
24771
  * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
23851
24772
  * @param {*} [options] Override http request option.
@@ -23858,7 +24779,7 @@ export class TrackingApi extends BaseAPI {
23858
24779
  .then((request) => request(this.axios, this.basePath));
23859
24780
  }
23860
24781
  /**
23861
- * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
24782
+ * Get movement history for players within date bounds, optionally scoped to one game server (`gameServerId`) and one dimension (`dimension`). Without `gameServerId`, samples from every game server the players are on are returned together. Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
23862
24783
  * @summary Get player movement history
23863
24784
  * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
23864
24785
  * @param {*} [options] Override http request option.
@@ -23871,7 +24792,7 @@ export class TrackingApi extends BaseAPI {
23871
24792
  .then((request) => request(this.axios, this.basePath));
23872
24793
  }
23873
24794
  /**
23874
- * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
24795
+ * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
23875
24796
  * @summary Get players by item
23876
24797
  * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
23877
24798
  * @param {*} [options] Override http request option.
@@ -23884,7 +24805,59 @@ export class TrackingApi extends BaseAPI {
23884
24805
  .then((request) => request(this.axios, this.basePath));
23885
24806
  }
23886
24807
  /**
23887
- * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
24808
+ * The Position samples inside an area, in time order, optionally for chosen players. Same input as the area search, within 31 days. At most 10000 samples; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionAreaSamples`
24809
+ * @summary Get position area samples
24810
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24811
+ * @param {*} [options] Override http request option.
24812
+ * @throws {RequiredError}
24813
+ * @memberof TrackingApi
24814
+ */
24815
+ trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options) {
24816
+ return TrackingApiFp(this.configuration)
24817
+ .trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options)
24818
+ .then((request) => request(this.axios, this.basePath));
24819
+ }
24820
+ /**
24821
+ * Where every player of a game server was at a moment, in one Dimension: each player\'s last Position sample at or before the moment, omitting players with no sample in the two minutes before it. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionSnapshot`
24822
+ * @summary Get position snapshot
24823
+ * @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
24824
+ * @param {*} [options] Override http request option.
24825
+ * @throws {RequiredError}
24826
+ * @memberof TrackingApi
24827
+ */
24828
+ trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options) {
24829
+ return TrackingApiFp(this.configuration)
24830
+ .trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options)
24831
+ .then((request) => request(this.axios, this.basePath));
24832
+ }
24833
+ /**
24834
+ * Position samples per player for a game server, Dimension and time range (at most 31 days), optionally for chosen players. Downsampled on the server: one sample per player per bucket, where bucketMs grows with the range. At most 100000 samples in all; `truncated` is true when whole players were left out to stay within that. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetPositionTracks`
24835
+ * @summary Get position tracks
24836
+ * @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
24837
+ * @param {*} [options] Override http request option.
24838
+ * @throws {RequiredError}
24839
+ * @memberof TrackingApi
24840
+ */
24841
+ trackingControllerGetPositionTracks(positionTracksInputDTO, options) {
24842
+ return TrackingApiFp(this.configuration)
24843
+ .trackingControllerGetPositionTracks(positionTracksInputDTO, options)
24844
+ .then((request) => request(this.axios, this.basePath));
24845
+ }
24846
+ /**
24847
+ * A player\'s Progression history on a game server in a time range (at most 366 days), grouped by track with the character track first, each track\'s points in time order. Level changes are recorded for every level the player gained or lost; experience samples are recorded about every fifteen minutes. Experience samples expire with the domain\'s event retention, level changes are kept. Optionally restrict to `trackKeys`. At most 10000 points; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerGetProgressionHistory`
24848
+ * @summary Get progression history
24849
+ * @param {ProgressionHistoryInputDTO} [progressionHistoryInputDTO] ProgressionHistoryInputDTO
24850
+ * @param {*} [options] Override http request option.
24851
+ * @throws {RequiredError}
24852
+ * @memberof TrackingApi
24853
+ */
24854
+ trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options) {
24855
+ return TrackingApiFp(this.configuration)
24856
+ .trackingControllerGetProgressionHistory(progressionHistoryInputDTO, options)
24857
+ .then((request) => request(this.axios, this.basePath));
24858
+ }
24859
+ /**
24860
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
23888
24861
  * @summary Get radius players
23889
24862
  * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
23890
24863
  * @param {*} [options] Override http request option.
@@ -23896,6 +24869,45 @@ export class TrackingApi extends BaseAPI {
23896
24869
  .trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options)
23897
24870
  .then((request) => request(this.axios, this.basePath));
23898
24871
  }
24872
+ /**
24873
+ * Inventory gains on a game server during a time range (at most 7 days) by players whose Position at the moment of the gain was inside a shape (circle, rectangle or polygon) in a Dimension, with an optional height range. The Position is the one the game reported with the change, else the player\'s last Position sample at most 2 minutes earlier; `positionSource` says which. In time order, with cause and counterpart where reported. This is evidence, not proof of theft. At most 5000 gains; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchAreaGains`
24874
+ * @summary Search area gains
24875
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24876
+ * @param {*} [options] Override http request option.
24877
+ * @throws {RequiredError}
24878
+ * @memberof TrackingApi
24879
+ */
24880
+ trackingControllerSearchAreaGains(positionAreaInputDTO, options) {
24881
+ return TrackingApiFp(this.configuration)
24882
+ .trackingControllerSearchAreaGains(positionAreaInputDTO, options)
24883
+ .then((request) => request(this.axios, this.basePath));
24884
+ }
24885
+ /**
24886
+ * Deaths, kills, connects and disconnects of a game server during a time range (at most 31 days), in time order, each with a Position: the one the game reported with the event, else the player\'s nearest Position sample within 2 minutes before or after (positionSource \'sampled\', approximate), else none. At most 2000 events; truncated is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`, `READ_EVENTS`<br> OperationId: `TrackingControllerSearchEvents`
24887
+ * @summary Search events
24888
+ * @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
24889
+ * @param {*} [options] Override http request option.
24890
+ * @throws {RequiredError}
24891
+ * @memberof TrackingApi
24892
+ */
24893
+ trackingControllerSearchEvents(trackingEventsInputDTO, options) {
24894
+ return TrackingApiFp(this.configuration)
24895
+ .trackingControllerSearchEvents(trackingEventsInputDTO, options)
24896
+ .then((request) => request(this.axios, this.basePath));
24897
+ }
24898
+ /**
24899
+ * Who was inside an area of a game server\'s Dimension during a time range (at most 31 days): per player, first seen, last seen and sample count. The shape (circle, rectangle or polygon) is given in game coordinates on the Dimension\'s two map axes; height (the third axis) is ignored unless minHeight or maxHeight is given. At most 1000 players; `truncated` is true when there were more. Read from Tracking history; 503 when history is unavailable. Required permissions: `READ_TRACKING`<br> OperationId: `TrackingControllerSearchPositionArea`
24900
+ * @summary Search position area
24901
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24902
+ * @param {*} [options] Override http request option.
24903
+ * @throws {RequiredError}
24904
+ * @memberof TrackingApi
24905
+ */
24906
+ trackingControllerSearchPositionArea(positionAreaInputDTO, options) {
24907
+ return TrackingApiFp(this.configuration)
24908
+ .trackingControllerSearchPositionArea(positionAreaInputDTO, options)
24909
+ .then((request) => request(this.axios, this.basePath));
24910
+ }
23899
24911
  }
23900
24912
  /**
23901
24913
  * UserApi - axios parameter creator