@takaro/apiclient 0.0.0-dev.aa9d682 → 0.0.0-dev.aadd942

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',
@@ -377,6 +391,15 @@ export const EventExploreFiltersDTOEventNameEnum = {
377
391
  PlayerDeath: 'player-death',
378
392
  EntityKilled: 'entity-killed',
379
393
  };
394
+ export const EventInventoryChangedCauseEnum = {
395
+ Pickup: 'pickup',
396
+ Drop: 'drop',
397
+ Craft: 'craft',
398
+ Loot: 'loot',
399
+ Trade: 'trade',
400
+ Death: 'death',
401
+ Other: 'other',
402
+ };
380
403
  export const EventOutputDTOEventNameEnum = {
381
404
  RoleAssigned: 'role-assigned',
382
405
  RoleRemoved: 'role-removed',
@@ -598,6 +621,7 @@ export const GetJobInputDTOTypeEnum = {
598
621
  SyncItems: 'syncItems',
599
622
  SyncEntities: 'syncEntities',
600
623
  SyncBans: 'syncBans',
624
+ SyncLocations: 'syncLocations',
601
625
  SyncMapImages: 'syncMapImages',
602
626
  SyncMapUploads: 'syncMapUploads',
603
627
  SyncGameIcons: 'syncGameIcons',
@@ -1040,6 +1064,29 @@ export const ITakaroQuerySortDirectionEnum = {
1040
1064
  Asc: 'asc',
1041
1065
  Desc: 'desc',
1042
1066
  };
1067
+ export const InventoryChangeCounterpartDTOKindEnum = {
1068
+ Container: 'container',
1069
+ Player: 'player',
1070
+ };
1071
+ export const InventoryChangeDTOChangeTypeEnum = {
1072
+ Added: 'added',
1073
+ Removed: 'removed',
1074
+ Changed: 'changed',
1075
+ };
1076
+ export const InventoryChangeDTOCauseEnum = {
1077
+ Pickup: 'pickup',
1078
+ Drop: 'drop',
1079
+ Craft: 'craft',
1080
+ Loot: 'loot',
1081
+ Trade: 'trade',
1082
+ Death: 'death',
1083
+ Other: 'other',
1084
+ Unknown: 'unknown',
1085
+ };
1086
+ export const InventoryCounterpartDTOKindEnum = {
1087
+ Container: 'container',
1088
+ Player: 'player',
1089
+ };
1043
1090
  export const InviteLinkCreateResultDTOStatusEnum = {
1044
1091
  Active: 'ACTIVE',
1045
1092
  Revoked: 'REVOKED',
@@ -1062,6 +1109,21 @@ export const InviteLinkSearchInputDTOSortDirectionEnum = {
1062
1109
  Asc: 'asc',
1063
1110
  Desc: 'desc',
1064
1111
  };
1112
+ export const ItemHolderChangeDTOChangeTypeEnum = {
1113
+ Added: 'added',
1114
+ Removed: 'removed',
1115
+ Changed: 'changed',
1116
+ };
1117
+ export const ItemHolderChangeDTOCauseEnum = {
1118
+ Pickup: 'pickup',
1119
+ Drop: 'drop',
1120
+ Craft: 'craft',
1121
+ Loot: 'loot',
1122
+ Trade: 'trade',
1123
+ Death: 'death',
1124
+ Other: 'other',
1125
+ Unknown: 'unknown',
1126
+ };
1065
1127
  export const ItemSearchInputDTOExtendEnum = {
1066
1128
  Gameserver: 'gameserver',
1067
1129
  };
@@ -1095,6 +1157,10 @@ export const JobStatusOutputDTOStatusEnum = {
1095
1157
  Waiting: 'waiting',
1096
1158
  WaitingChildren: 'waiting-children',
1097
1159
  };
1160
+ export const LocationSearchInputDTOSortDirectionEnum = {
1161
+ Asc: 'asc',
1162
+ Desc: 'desc',
1163
+ };
1098
1164
  export const LoginQueryParamsLocaleEnum = {
1099
1165
  En: 'en',
1100
1166
  Nl: 'nl',
@@ -1160,6 +1226,12 @@ export const MetaFilterGroupOrLeafDTOOperatorEnum = {
1160
1226
  LessThan: '<',
1161
1227
  ArrayContains: 'array_contains',
1162
1228
  };
1229
+ export const ModuleInstallationComponentKpiDTOTypeEnum = {
1230
+ Hook: 'hook',
1231
+ Cron: 'cron',
1232
+ Command: 'command',
1233
+ ShopAction: 'shopAction',
1234
+ };
1163
1235
  export const ModuleInstallationKpisQueryDTOPeriodEnum = {
1164
1236
  _24h: '24h',
1165
1237
  _7d: '7d',
@@ -1214,6 +1286,8 @@ export const PERMISSIONS = {
1214
1286
  ViewDiscordInfo: 'VIEW_DISCORD_INFO',
1215
1287
  SendDiscordMessage: 'SEND_DISCORD_MESSAGE',
1216
1288
  ManageApiKeys: 'MANAGE_API_KEYS',
1289
+ ReadMap: 'READ_MAP',
1290
+ ReadTracking: 'READ_TRACKING',
1217
1291
  };
1218
1292
  export const ParamKeyKeyEnum = {
1219
1293
  CommandPrefix: 'commandPrefix',
@@ -1302,6 +1376,11 @@ export const PlayerSearchInputDTOSortDirectionEnum = {
1302
1376
  Asc: 'asc',
1303
1377
  Desc: 'desc',
1304
1378
  };
1379
+ export const PositionAreaShapeDTOTypeEnum = {
1380
+ Circle: 'circle',
1381
+ Rectangle: 'rectangle',
1382
+ Polygon: 'polygon',
1383
+ };
1305
1384
  export const RecentOrderDTOStatusEnum = {
1306
1385
  Completed: 'COMPLETED',
1307
1386
  Paid: 'PAID',
@@ -1464,6 +1543,10 @@ export const TakaroEventDomainCreatedOriginEnum = {
1464
1543
  Subscription: 'subscription',
1465
1544
  AdminSecret: 'admin_secret',
1466
1545
  };
1546
+ export const TakaroEventInventoryCounterpartKindEnum = {
1547
+ Container: 'container',
1548
+ Player: 'player',
1549
+ };
1467
1550
  export const TakaroEventItemsGivenLineResultEnum = {
1468
1551
  Delivered: 'DELIVERED',
1469
1552
  Failed: 'FAILED',
@@ -1486,6 +1569,15 @@ export const TakaroEventPlayerInventoryChangedChangeTypeEnum = {
1486
1569
  Removed: 'removed',
1487
1570
  Changed: 'changed',
1488
1571
  };
1572
+ export const TakaroEventPlayerInventoryChangedCauseEnum = {
1573
+ Pickup: 'pickup',
1574
+ Drop: 'drop',
1575
+ Craft: 'craft',
1576
+ Loot: 'loot',
1577
+ Trade: 'trade',
1578
+ Death: 'death',
1579
+ Other: 'other',
1580
+ };
1489
1581
  export const TakaroEventPlayerLinkedSourceEnum = {
1490
1582
  GameCode: 'game-code',
1491
1583
  WebCode: 'web-code',
@@ -1648,6 +1740,16 @@ export const ThreadWithStepsOutputDTOOriginSurfaceEnum = {
1648
1740
  EventFailure: 'eventFailure',
1649
1741
  CsmmMigration: 'csmmMigration',
1650
1742
  };
1743
+ export const TrackingEventDTOEventNameEnum = {
1744
+ PlayerDeath: 'player-death',
1745
+ EntityKilled: 'entity-killed',
1746
+ PlayerConnected: 'player-connected',
1747
+ PlayerDisconnected: 'player-disconnected',
1748
+ };
1749
+ export const TrackingEventDTOPositionSourceEnum = {
1750
+ Reported: 'reported',
1751
+ Sampled: 'sampled',
1752
+ };
1651
1753
  export const TriggerJobInputDTOTypeEnum = {
1652
1754
  SeedModules: 'seedModules',
1653
1755
  CleanEvents: 'cleanEvents',
@@ -1657,6 +1759,7 @@ export const TriggerJobInputDTOTypeEnum = {
1657
1759
  SyncItems: 'syncItems',
1658
1760
  SyncEntities: 'syncEntities',
1659
1761
  SyncBans: 'syncBans',
1762
+ SyncLocations: 'syncLocations',
1660
1763
  SyncMapImages: 'syncMapImages',
1661
1764
  SyncMapUploads: 'syncMapUploads',
1662
1765
  SyncGameIcons: 'syncGameIcons',
@@ -10051,7 +10154,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10051
10154
  };
10052
10155
  },
10053
10156
  /**
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`
10157
+ * 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
10158
  * @summary Get dimension map tile
10056
10159
  * @param {string} id
10057
10160
  * @param {string} dimension
@@ -10210,7 +10313,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10210
10313
  };
10211
10314
  },
10212
10315
  /**
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`
10316
+ * 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
10317
  * @summary Get map
10215
10318
  * @param {string} id
10216
10319
  * @param {*} [options] Override http request option.
@@ -10242,7 +10345,7 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10242
10345
  };
10243
10346
  },
10244
10347
  /**
10245
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
10348
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
10246
10349
  * @summary Get map info
10247
10350
  * @param {string} id
10248
10351
  * @param {*} [options] Override http request option.
@@ -10274,7 +10377,39 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10274
10377
  };
10275
10378
  },
10276
10379
  /**
10277
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
10380
+ * 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`
10381
+ * @summary Get map offline players
10382
+ * @param {string} id
10383
+ * @param {*} [options] Override http request option.
10384
+ * @throws {RequiredError}
10385
+ */
10386
+ gameServerControllerGetMapOfflinePlayers: async (id, options = {}) => {
10387
+ // verify required parameter 'id' is not null or undefined
10388
+ assertParamExists('gameServerControllerGetMapOfflinePlayers', 'id', id);
10389
+ const localVarPath = `/gameserver/{id}/map/offline-players`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
10390
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
10391
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
10392
+ let baseOptions;
10393
+ if (configuration) {
10394
+ baseOptions = configuration.baseOptions;
10395
+ }
10396
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options };
10397
+ const localVarHeaderParameter = {};
10398
+ const localVarQueryParameter = {};
10399
+ // authentication bearerAuth required
10400
+ // http bearer authentication required
10401
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
10402
+ // authentication domainAuth required
10403
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
10404
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
10405
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
10406
+ return {
10407
+ url: toPathString(localVarUrlObj),
10408
+ options: localVarRequestOptions,
10409
+ };
10410
+ },
10411
+ /**
10412
+ * Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
10278
10413
  * @summary Get map tile
10279
10414
  * @param {string} id
10280
10415
  * @param {string} x
@@ -10595,10 +10730,11 @@ export const GameServerApiAxiosParamCreator = function (configuration) {
10595
10730
  };
10596
10731
  },
10597
10732
  /**
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`
10733
+ * 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
10734
  * @summary List locations
10600
10735
  * @param {string} id
10601
10736
  * @param {*} [options] Override http request option.
10737
+ * @deprecated
10602
10738
  * @throws {RequiredError}
10603
10739
  */
10604
10740
  gameServerControllerListLocations: async (id, options = {}) => {
@@ -11388,7 +11524,7 @@ export const GameServerApiFp = function (configuration) {
11388
11524
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11389
11525
  },
11390
11526
  /**
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`
11527
+ * 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
11528
  * @summary Get dimension map tile
11393
11529
  * @param {string} id
11394
11530
  * @param {string} dimension
@@ -11449,7 +11585,7 @@ export const GameServerApiFp = function (configuration) {
11449
11585
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11450
11586
  },
11451
11587
  /**
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`
11588
+ * 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
11589
  * @summary Get map
11454
11590
  * @param {string} id
11455
11591
  * @param {*} [options] Override http request option.
@@ -11462,7 +11598,7 @@ export const GameServerApiFp = function (configuration) {
11462
11598
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11463
11599
  },
11464
11600
  /**
11465
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
11601
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
11466
11602
  * @summary Get map info
11467
11603
  * @param {string} id
11468
11604
  * @param {*} [options] Override http request option.
@@ -11475,7 +11611,21 @@ export const GameServerApiFp = function (configuration) {
11475
11611
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11476
11612
  },
11477
11613
  /**
11478
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
11614
+ * 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`
11615
+ * @summary Get map offline players
11616
+ * @param {string} id
11617
+ * @param {*} [options] Override http request option.
11618
+ * @throws {RequiredError}
11619
+ */
11620
+ async gameServerControllerGetMapOfflinePlayers(id, options) {
11621
+ const localVarAxiosArgs = await localVarAxiosParamCreator.gameServerControllerGetMapOfflinePlayers(id, options);
11622
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
11623
+ const localVarOperationServerBasePath = operationServerMap['GameServerApi.gameServerControllerGetMapOfflinePlayers']?.[localVarOperationServerIndex]
11624
+ ?.url;
11625
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11626
+ },
11627
+ /**
11628
+ * Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
11479
11629
  * @summary Get map tile
11480
11630
  * @param {string} id
11481
11631
  * @param {string} x
@@ -11601,10 +11751,11 @@ export const GameServerApiFp = function (configuration) {
11601
11751
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
11602
11752
  },
11603
11753
  /**
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`
11754
+ * 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
11755
  * @summary List locations
11606
11756
  * @param {string} id
11607
11757
  * @param {*} [options] Override http request option.
11758
+ * @deprecated
11608
11759
  * @throws {RequiredError}
11609
11760
  */
11610
11761
  async gameServerControllerListLocations(id, options) {
@@ -11971,7 +12122,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
11971
12122
  return localVarFp.gameServerControllerGetCapabilities(id, options).then((request) => request(axios, basePath));
11972
12123
  },
11973
12124
  /**
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`
12125
+ * 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
12126
  * @summary Get dimension map tile
11976
12127
  * @param {string} id
11977
12128
  * @param {string} dimension
@@ -12021,7 +12172,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
12021
12172
  return localVarFp.gameServerControllerGetJob(type, id, options).then((request) => request(axios, basePath));
12022
12173
  },
12023
12174
  /**
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`
12175
+ * 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
12176
  * @summary Get map
12026
12177
  * @param {string} id
12027
12178
  * @param {*} [options] Override http request option.
@@ -12031,7 +12182,7 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
12031
12182
  return localVarFp.gameServerControllerGetMap(id, options).then((request) => request(axios, basePath));
12032
12183
  },
12033
12184
  /**
12034
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
12185
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
12035
12186
  * @summary Get map info
12036
12187
  * @param {string} id
12037
12188
  * @param {*} [options] Override http request option.
@@ -12041,7 +12192,19 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
12041
12192
  return localVarFp.gameServerControllerGetMapInfo(id, options).then((request) => request(axios, basePath));
12042
12193
  },
12043
12194
  /**
12044
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
12195
+ * 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`
12196
+ * @summary Get map offline players
12197
+ * @param {string} id
12198
+ * @param {*} [options] Override http request option.
12199
+ * @throws {RequiredError}
12200
+ */
12201
+ gameServerControllerGetMapOfflinePlayers(id, options) {
12202
+ return localVarFp
12203
+ .gameServerControllerGetMapOfflinePlayers(id, options)
12204
+ .then((request) => request(axios, basePath));
12205
+ },
12206
+ /**
12207
+ * Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
12045
12208
  * @summary Get map tile
12046
12209
  * @param {string} id
12047
12210
  * @param {string} x
@@ -12148,10 +12311,11 @@ export const GameServerApiFactory = function (configuration, basePath, axios) {
12148
12311
  return localVarFp.gameServerControllerListBans(id, options).then((request) => request(axios, basePath));
12149
12312
  },
12150
12313
  /**
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`
12314
+ * 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
12315
  * @summary List locations
12153
12316
  * @param {string} id
12154
12317
  * @param {*} [options] Override http request option.
12318
+ * @deprecated
12155
12319
  * @throws {RequiredError}
12156
12320
  */
12157
12321
  gameServerControllerListLocations(id, options) {
@@ -12494,7 +12658,7 @@ export class GameServerApi extends BaseAPI {
12494
12658
  .then((request) => request(this.axios, this.basePath));
12495
12659
  }
12496
12660
  /**
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`
12661
+ * 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
12662
  * @summary Get dimension map tile
12499
12663
  * @param {string} id
12500
12664
  * @param {string} dimension
@@ -12554,7 +12718,7 @@ export class GameServerApi extends BaseAPI {
12554
12718
  .then((request) => request(this.axios, this.basePath));
12555
12719
  }
12556
12720
  /**
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`
12721
+ * 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
12722
  * @summary Get map
12559
12723
  * @param {string} id
12560
12724
  * @param {*} [options] Override http request option.
@@ -12567,7 +12731,7 @@ export class GameServerApi extends BaseAPI {
12567
12731
  .then((request) => request(this.axios, this.basePath));
12568
12732
  }
12569
12733
  /**
12570
- * Get map metadata<br> OperationId: `GameServerControllerGetMapInfo`
12734
+ * Get map metadata Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapInfo`
12571
12735
  * @summary Get map info
12572
12736
  * @param {string} id
12573
12737
  * @param {*} [options] Override http request option.
@@ -12580,7 +12744,20 @@ export class GameServerApi extends BaseAPI {
12580
12744
  .then((request) => request(this.axios, this.basePath));
12581
12745
  }
12582
12746
  /**
12583
- * Get a map tile<br> OperationId: `GameServerControllerGetMapTile`
12747
+ * 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`
12748
+ * @summary Get map offline players
12749
+ * @param {string} id
12750
+ * @param {*} [options] Override http request option.
12751
+ * @throws {RequiredError}
12752
+ * @memberof GameServerApi
12753
+ */
12754
+ gameServerControllerGetMapOfflinePlayers(id, options) {
12755
+ return GameServerApiFp(this.configuration)
12756
+ .gameServerControllerGetMapOfflinePlayers(id, options)
12757
+ .then((request) => request(this.axios, this.basePath));
12758
+ }
12759
+ /**
12760
+ * Get a map tile Required permissions: `READ_MAP`<br> OperationId: `GameServerControllerGetMapTile`
12584
12761
  * @summary Get map tile
12585
12762
  * @param {string} id
12586
12763
  * @param {string} x
@@ -12706,10 +12883,11 @@ export class GameServerApi extends BaseAPI {
12706
12883
  .then((request) => request(this.axios, this.basePath));
12707
12884
  }
12708
12885
  /**
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`
12886
+ * 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
12887
  * @summary List locations
12711
12888
  * @param {string} id
12712
12889
  * @param {*} [options] Override http request option.
12890
+ * @deprecated
12713
12891
  * @throws {RequiredError}
12714
12892
  * @memberof GameServerApi
12715
12893
  */
@@ -14519,6 +14697,110 @@ export class ItemSetApi extends BaseAPI {
14519
14697
  .then((request) => request(this.axios, this.basePath));
14520
14698
  }
14521
14699
  }
14700
+ /**
14701
+ * LocationApi - axios parameter creator
14702
+ * @export
14703
+ */
14704
+ export const LocationApiAxiosParamCreator = function (configuration) {
14705
+ return {
14706
+ /**
14707
+ * 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`
14708
+ * @summary Search
14709
+ * @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
14710
+ * @param {*} [options] Override http request option.
14711
+ * @throws {RequiredError}
14712
+ */
14713
+ locationControllerSearch: async (locationSearchInputDTO, options = {}) => {
14714
+ const localVarPath = `/location/search`;
14715
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
14716
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
14717
+ let baseOptions;
14718
+ if (configuration) {
14719
+ baseOptions = configuration.baseOptions;
14720
+ }
14721
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
14722
+ const localVarHeaderParameter = {};
14723
+ const localVarQueryParameter = {};
14724
+ // authentication bearerAuth required
14725
+ // http bearer authentication required
14726
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
14727
+ // authentication domainAuth required
14728
+ localVarHeaderParameter['Content-Type'] = 'application/json';
14729
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
14730
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
14731
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
14732
+ localVarRequestOptions.data = serializeDataIfNeeded(locationSearchInputDTO, localVarRequestOptions, configuration);
14733
+ return {
14734
+ url: toPathString(localVarUrlObj),
14735
+ options: localVarRequestOptions,
14736
+ };
14737
+ },
14738
+ };
14739
+ };
14740
+ /**
14741
+ * LocationApi - functional programming interface
14742
+ * @export
14743
+ */
14744
+ export const LocationApiFp = function (configuration) {
14745
+ const localVarAxiosParamCreator = LocationApiAxiosParamCreator(configuration);
14746
+ return {
14747
+ /**
14748
+ * 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`
14749
+ * @summary Search
14750
+ * @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
14751
+ * @param {*} [options] Override http request option.
14752
+ * @throws {RequiredError}
14753
+ */
14754
+ async locationControllerSearch(locationSearchInputDTO, options) {
14755
+ const localVarAxiosArgs = await localVarAxiosParamCreator.locationControllerSearch(locationSearchInputDTO, options);
14756
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
14757
+ const localVarOperationServerBasePath = operationServerMap['LocationApi.locationControllerSearch']?.[localVarOperationServerIndex]?.url;
14758
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
14759
+ },
14760
+ };
14761
+ };
14762
+ /**
14763
+ * LocationApi - factory interface
14764
+ * @export
14765
+ */
14766
+ export const LocationApiFactory = function (configuration, basePath, axios) {
14767
+ const localVarFp = LocationApiFp(configuration);
14768
+ return {
14769
+ /**
14770
+ * 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`
14771
+ * @summary Search
14772
+ * @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
14773
+ * @param {*} [options] Override http request option.
14774
+ * @throws {RequiredError}
14775
+ */
14776
+ locationControllerSearch(locationSearchInputDTO, options) {
14777
+ return localVarFp
14778
+ .locationControllerSearch(locationSearchInputDTO, options)
14779
+ .then((request) => request(axios, basePath));
14780
+ },
14781
+ };
14782
+ };
14783
+ /**
14784
+ * LocationApi - object-oriented interface
14785
+ * @export
14786
+ * @class LocationApi
14787
+ * @extends {BaseAPI}
14788
+ */
14789
+ export class LocationApi extends BaseAPI {
14790
+ /**
14791
+ * 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`
14792
+ * @summary Search
14793
+ * @param {LocationSearchInputDTO} [locationSearchInputDTO] LocationSearchInputDTO
14794
+ * @param {*} [options] Override http request option.
14795
+ * @throws {RequiredError}
14796
+ * @memberof LocationApi
14797
+ */
14798
+ locationControllerSearch(locationSearchInputDTO, options) {
14799
+ return LocationApiFp(this.configuration)
14800
+ .locationControllerSearch(locationSearchInputDTO, options)
14801
+ .then((request) => request(this.axios, this.basePath));
14802
+ }
14803
+ }
14522
14804
  /**
14523
14805
  * MetaApi - axios parameter creator
14524
14806
  * @export
@@ -15173,7 +15455,7 @@ export const ModuleApiAxiosParamCreator = function (configuration) {
15173
15455
  };
15174
15456
  },
15175
15457
  /**
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`
15458
+ * 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
15459
  * @summary List the modules installed on a game server
15178
15460
  * @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
15179
15461
  * @param {*} [options] Override http request option.
@@ -15523,7 +15805,7 @@ export const ModuleApiFp = function (configuration) {
15523
15805
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
15524
15806
  },
15525
15807
  /**
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`
15808
+ * 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
15809
  * @summary List the modules installed on a game server
15528
15810
  * @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
15529
15811
  * @param {*} [options] Override http request option.
@@ -15716,7 +15998,7 @@ export const ModuleApiFactory = function (configuration, basePath, axios) {
15716
15998
  .then((request) => request(axios, basePath));
15717
15999
  },
15718
16000
  /**
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`
16001
+ * 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
16002
  * @summary List the modules installed on a game server
15721
16003
  * @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
15722
16004
  * @param {*} [options] Override http request option.
@@ -15918,7 +16200,7 @@ export class ModuleApi extends BaseAPI {
15918
16200
  .then((request) => request(this.axios, this.basePath));
15919
16201
  }
15920
16202
  /**
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`
16203
+ * 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
16204
  * @summary List the modules installed on a game server
15923
16205
  * @param {ModuleInstallationSearchInputDTO} [moduleInstallationSearchInputDTO] ModuleInstallationSearchInputDTO
15924
16206
  * @param {*} [options] Override http request option.
@@ -23518,7 +23800,7 @@ export class ThreadApi extends BaseAPI {
23518
23800
  export const TrackingApiAxiosParamCreator = function (configuration) {
23519
23801
  return {
23520
23802
  /**
23521
- * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
23803
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
23522
23804
  * @summary Get bounding box players
23523
23805
  * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
23524
23806
  * @param {*} [options] Override http request option.
@@ -23550,7 +23832,103 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
23550
23832
  };
23551
23833
  },
23552
23834
  /**
23553
- * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
23835
+ * 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`
23836
+ * @summary Get inventory at
23837
+ * @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
23838
+ * @param {*} [options] Override http request option.
23839
+ * @throws {RequiredError}
23840
+ */
23841
+ trackingControllerGetInventoryAt: async (inventoryAtInputDTO, options = {}) => {
23842
+ const localVarPath = `/tracking/inventory/at`;
23843
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23844
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23845
+ let baseOptions;
23846
+ if (configuration) {
23847
+ baseOptions = configuration.baseOptions;
23848
+ }
23849
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
23850
+ const localVarHeaderParameter = {};
23851
+ const localVarQueryParameter = {};
23852
+ // authentication bearerAuth required
23853
+ // http bearer authentication required
23854
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
23855
+ // authentication domainAuth required
23856
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23857
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23858
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23859
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23860
+ localVarRequestOptions.data = serializeDataIfNeeded(inventoryAtInputDTO, localVarRequestOptions, configuration);
23861
+ return {
23862
+ url: toPathString(localVarUrlObj),
23863
+ options: localVarRequestOptions,
23864
+ };
23865
+ },
23866
+ /**
23867
+ * 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`
23868
+ * @summary Get inventory changes
23869
+ * @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
23870
+ * @param {*} [options] Override http request option.
23871
+ * @throws {RequiredError}
23872
+ */
23873
+ trackingControllerGetInventoryChanges: async (inventoryChangesInputDTO, options = {}) => {
23874
+ const localVarPath = `/tracking/inventory/changes`;
23875
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23876
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23877
+ let baseOptions;
23878
+ if (configuration) {
23879
+ baseOptions = configuration.baseOptions;
23880
+ }
23881
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
23882
+ const localVarHeaderParameter = {};
23883
+ const localVarQueryParameter = {};
23884
+ // authentication bearerAuth required
23885
+ // http bearer authentication required
23886
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
23887
+ // authentication domainAuth required
23888
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23889
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23890
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23891
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23892
+ localVarRequestOptions.data = serializeDataIfNeeded(inventoryChangesInputDTO, localVarRequestOptions, configuration);
23893
+ return {
23894
+ url: toPathString(localVarUrlObj),
23895
+ options: localVarRequestOptions,
23896
+ };
23897
+ },
23898
+ /**
23899
+ * 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`
23900
+ * @summary Get item holders
23901
+ * @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
23902
+ * @param {*} [options] Override http request option.
23903
+ * @throws {RequiredError}
23904
+ */
23905
+ trackingControllerGetItemHolders: async (itemHoldersInputDTO, options = {}) => {
23906
+ const localVarPath = `/tracking/items/holders`;
23907
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23908
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23909
+ let baseOptions;
23910
+ if (configuration) {
23911
+ baseOptions = configuration.baseOptions;
23912
+ }
23913
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
23914
+ const localVarHeaderParameter = {};
23915
+ const localVarQueryParameter = {};
23916
+ // authentication bearerAuth required
23917
+ // http bearer authentication required
23918
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
23919
+ // authentication domainAuth required
23920
+ localVarHeaderParameter['Content-Type'] = 'application/json';
23921
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23922
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23923
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23924
+ localVarRequestOptions.data = serializeDataIfNeeded(itemHoldersInputDTO, localVarRequestOptions, configuration);
23925
+ return {
23926
+ url: toPathString(localVarUrlObj),
23927
+ options: localVarRequestOptions,
23928
+ };
23929
+ },
23930
+ /**
23931
+ * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
23554
23932
  * @summary Get player inventory history
23555
23933
  * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
23556
23934
  * @param {*} [options] Override http request option.
@@ -23582,7 +23960,7 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
23582
23960
  };
23583
23961
  },
23584
23962
  /**
23585
- * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
23963
+ * 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`
23586
23964
  * @summary Get player movement history
23587
23965
  * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
23588
23966
  * @param {*} [options] Override http request option.
@@ -23614,7 +23992,7 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
23614
23992
  };
23615
23993
  },
23616
23994
  /**
23617
- * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
23995
+ * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
23618
23996
  * @summary Get players by item
23619
23997
  * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
23620
23998
  * @param {*} [options] Override http request option.
@@ -23646,14 +24024,14 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
23646
24024
  };
23647
24025
  },
23648
24026
  /**
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
24027
+ * 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`
24028
+ * @summary Get position area samples
24029
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
23652
24030
  * @param {*} [options] Override http request option.
23653
24031
  * @throws {RequiredError}
23654
24032
  */
23655
- trackingControllerGetRadiusPlayers: async (radiusSearchInputDTO, options = {}) => {
23656
- const localVarPath = `/tracking/location/radius`;
24033
+ trackingControllerGetPositionAreaSamples: async (positionAreaInputDTO, options = {}) => {
24034
+ const localVarPath = `/tracking/positions/area/samples`;
23657
24035
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
23658
24036
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23659
24037
  let baseOptions;
@@ -23671,23 +24049,215 @@ export const TrackingApiAxiosParamCreator = function (configuration) {
23671
24049
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23672
24050
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23673
24051
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
23674
- localVarRequestOptions.data = serializeDataIfNeeded(radiusSearchInputDTO, localVarRequestOptions, configuration);
24052
+ localVarRequestOptions.data = serializeDataIfNeeded(positionAreaInputDTO, localVarRequestOptions, configuration);
23675
24053
  return {
23676
24054
  url: toPathString(localVarUrlObj),
23677
24055
  options: localVarRequestOptions,
23678
24056
  };
23679
24057
  },
23680
- };
23681
- };
23682
- /**
23683
- * TrackingApi - functional programming interface
23684
- * @export
23685
- */
23686
- export const TrackingApiFp = function (configuration) {
24058
+ /**
24059
+ * 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`
24060
+ * @summary Get position snapshot
24061
+ * @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
24062
+ * @param {*} [options] Override http request option.
24063
+ * @throws {RequiredError}
24064
+ */
24065
+ trackingControllerGetPositionSnapshot: async (positionSnapshotInputDTO, options = {}) => {
24066
+ const localVarPath = `/tracking/positions/snapshot`;
24067
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24068
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24069
+ let baseOptions;
24070
+ if (configuration) {
24071
+ baseOptions = configuration.baseOptions;
24072
+ }
24073
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24074
+ const localVarHeaderParameter = {};
24075
+ const localVarQueryParameter = {};
24076
+ // authentication bearerAuth required
24077
+ // http bearer authentication required
24078
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24079
+ // authentication domainAuth required
24080
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24081
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24082
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24083
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24084
+ localVarRequestOptions.data = serializeDataIfNeeded(positionSnapshotInputDTO, localVarRequestOptions, configuration);
24085
+ return {
24086
+ url: toPathString(localVarUrlObj),
24087
+ options: localVarRequestOptions,
24088
+ };
24089
+ },
24090
+ /**
24091
+ * 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`
24092
+ * @summary Get position tracks
24093
+ * @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
24094
+ * @param {*} [options] Override http request option.
24095
+ * @throws {RequiredError}
24096
+ */
24097
+ trackingControllerGetPositionTracks: async (positionTracksInputDTO, options = {}) => {
24098
+ const localVarPath = `/tracking/positions/tracks`;
24099
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24100
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24101
+ let baseOptions;
24102
+ if (configuration) {
24103
+ baseOptions = configuration.baseOptions;
24104
+ }
24105
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24106
+ const localVarHeaderParameter = {};
24107
+ const localVarQueryParameter = {};
24108
+ // authentication bearerAuth required
24109
+ // http bearer authentication required
24110
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24111
+ // authentication domainAuth required
24112
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24113
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24114
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24115
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24116
+ localVarRequestOptions.data = serializeDataIfNeeded(positionTracksInputDTO, localVarRequestOptions, configuration);
24117
+ return {
24118
+ url: toPathString(localVarUrlObj),
24119
+ options: localVarRequestOptions,
24120
+ };
24121
+ },
24122
+ /**
24123
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
24124
+ * @summary Get radius players
24125
+ * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
24126
+ * @param {*} [options] Override http request option.
24127
+ * @throws {RequiredError}
24128
+ */
24129
+ trackingControllerGetRadiusPlayers: async (radiusSearchInputDTO, options = {}) => {
24130
+ const localVarPath = `/tracking/location/radius`;
24131
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24132
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24133
+ let baseOptions;
24134
+ if (configuration) {
24135
+ baseOptions = configuration.baseOptions;
24136
+ }
24137
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24138
+ const localVarHeaderParameter = {};
24139
+ const localVarQueryParameter = {};
24140
+ // authentication bearerAuth required
24141
+ // http bearer authentication required
24142
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24143
+ // authentication domainAuth required
24144
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24145
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24146
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24147
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24148
+ localVarRequestOptions.data = serializeDataIfNeeded(radiusSearchInputDTO, localVarRequestOptions, configuration);
24149
+ return {
24150
+ url: toPathString(localVarUrlObj),
24151
+ options: localVarRequestOptions,
24152
+ };
24153
+ },
24154
+ /**
24155
+ * 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`
24156
+ * @summary Search area gains
24157
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24158
+ * @param {*} [options] Override http request option.
24159
+ * @throws {RequiredError}
24160
+ */
24161
+ trackingControllerSearchAreaGains: async (positionAreaInputDTO, options = {}) => {
24162
+ const localVarPath = `/tracking/inventory/area-gains`;
24163
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24164
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24165
+ let baseOptions;
24166
+ if (configuration) {
24167
+ baseOptions = configuration.baseOptions;
24168
+ }
24169
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24170
+ const localVarHeaderParameter = {};
24171
+ const localVarQueryParameter = {};
24172
+ // authentication bearerAuth required
24173
+ // http bearer authentication required
24174
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24175
+ // authentication domainAuth required
24176
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24177
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24178
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24179
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24180
+ localVarRequestOptions.data = serializeDataIfNeeded(positionAreaInputDTO, localVarRequestOptions, configuration);
24181
+ return {
24182
+ url: toPathString(localVarUrlObj),
24183
+ options: localVarRequestOptions,
24184
+ };
24185
+ },
24186
+ /**
24187
+ * 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`
24188
+ * @summary Search events
24189
+ * @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
24190
+ * @param {*} [options] Override http request option.
24191
+ * @throws {RequiredError}
24192
+ */
24193
+ trackingControllerSearchEvents: async (trackingEventsInputDTO, options = {}) => {
24194
+ const localVarPath = `/tracking/events`;
24195
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24196
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24197
+ let baseOptions;
24198
+ if (configuration) {
24199
+ baseOptions = configuration.baseOptions;
24200
+ }
24201
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24202
+ const localVarHeaderParameter = {};
24203
+ const localVarQueryParameter = {};
24204
+ // authentication bearerAuth required
24205
+ // http bearer authentication required
24206
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24207
+ // authentication domainAuth required
24208
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24209
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24210
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24211
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24212
+ localVarRequestOptions.data = serializeDataIfNeeded(trackingEventsInputDTO, localVarRequestOptions, configuration);
24213
+ return {
24214
+ url: toPathString(localVarUrlObj),
24215
+ options: localVarRequestOptions,
24216
+ };
24217
+ },
24218
+ /**
24219
+ * 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`
24220
+ * @summary Search position area
24221
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24222
+ * @param {*} [options] Override http request option.
24223
+ * @throws {RequiredError}
24224
+ */
24225
+ trackingControllerSearchPositionArea: async (positionAreaInputDTO, options = {}) => {
24226
+ const localVarPath = `/tracking/positions/area`;
24227
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
24228
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
24229
+ let baseOptions;
24230
+ if (configuration) {
24231
+ baseOptions = configuration.baseOptions;
24232
+ }
24233
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
24234
+ const localVarHeaderParameter = {};
24235
+ const localVarQueryParameter = {};
24236
+ // authentication bearerAuth required
24237
+ // http bearer authentication required
24238
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
24239
+ // authentication domainAuth required
24240
+ localVarHeaderParameter['Content-Type'] = 'application/json';
24241
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
24242
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
24243
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
24244
+ localVarRequestOptions.data = serializeDataIfNeeded(positionAreaInputDTO, localVarRequestOptions, configuration);
24245
+ return {
24246
+ url: toPathString(localVarUrlObj),
24247
+ options: localVarRequestOptions,
24248
+ };
24249
+ },
24250
+ };
24251
+ };
24252
+ /**
24253
+ * TrackingApi - functional programming interface
24254
+ * @export
24255
+ */
24256
+ export const TrackingApiFp = function (configuration) {
23687
24257
  const localVarAxiosParamCreator = TrackingApiAxiosParamCreator(configuration);
23688
24258
  return {
23689
24259
  /**
23690
- * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
24260
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
23691
24261
  * @summary Get bounding box players
23692
24262
  * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
23693
24263
  * @param {*} [options] Override http request option.
@@ -23700,7 +24270,46 @@ export const TrackingApiFp = function (configuration) {
23700
24270
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23701
24271
  },
23702
24272
  /**
23703
- * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
24273
+ * 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`
24274
+ * @summary Get inventory at
24275
+ * @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
24276
+ * @param {*} [options] Override http request option.
24277
+ * @throws {RequiredError}
24278
+ */
24279
+ async trackingControllerGetInventoryAt(inventoryAtInputDTO, options) {
24280
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetInventoryAt(inventoryAtInputDTO, options);
24281
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24282
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetInventoryAt']?.[localVarOperationServerIndex]?.url;
24283
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24284
+ },
24285
+ /**
24286
+ * 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`
24287
+ * @summary Get inventory changes
24288
+ * @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
24289
+ * @param {*} [options] Override http request option.
24290
+ * @throws {RequiredError}
24291
+ */
24292
+ async trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options) {
24293
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options);
24294
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24295
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetInventoryChanges']?.[localVarOperationServerIndex]?.url;
24296
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24297
+ },
24298
+ /**
24299
+ * 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`
24300
+ * @summary Get item holders
24301
+ * @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
24302
+ * @param {*} [options] Override http request option.
24303
+ * @throws {RequiredError}
24304
+ */
24305
+ async trackingControllerGetItemHolders(itemHoldersInputDTO, options) {
24306
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetItemHolders(itemHoldersInputDTO, options);
24307
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24308
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetItemHolders']?.[localVarOperationServerIndex]?.url;
24309
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24310
+ },
24311
+ /**
24312
+ * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
23704
24313
  * @summary Get player inventory history
23705
24314
  * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
23706
24315
  * @param {*} [options] Override http request option.
@@ -23714,7 +24323,7 @@ export const TrackingApiFp = function (configuration) {
23714
24323
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23715
24324
  },
23716
24325
  /**
23717
- * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
24326
+ * 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`
23718
24327
  * @summary Get player movement history
23719
24328
  * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
23720
24329
  * @param {*} [options] Override http request option.
@@ -23728,7 +24337,7 @@ export const TrackingApiFp = function (configuration) {
23728
24337
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23729
24338
  },
23730
24339
  /**
23731
- * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
24340
+ * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
23732
24341
  * @summary Get players by item
23733
24342
  * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
23734
24343
  * @param {*} [options] Override http request option.
@@ -23741,7 +24350,46 @@ export const TrackingApiFp = function (configuration) {
23741
24350
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23742
24351
  },
23743
24352
  /**
23744
- * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
24353
+ * 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`
24354
+ * @summary Get position area samples
24355
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24356
+ * @param {*} [options] Override http request option.
24357
+ * @throws {RequiredError}
24358
+ */
24359
+ async trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options) {
24360
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options);
24361
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24362
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetPositionAreaSamples']?.[localVarOperationServerIndex]?.url;
24363
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24364
+ },
24365
+ /**
24366
+ * 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`
24367
+ * @summary Get position snapshot
24368
+ * @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
24369
+ * @param {*} [options] Override http request option.
24370
+ * @throws {RequiredError}
24371
+ */
24372
+ async trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options) {
24373
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options);
24374
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24375
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetPositionSnapshot']?.[localVarOperationServerIndex]?.url;
24376
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24377
+ },
24378
+ /**
24379
+ * 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`
24380
+ * @summary Get position tracks
24381
+ * @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
24382
+ * @param {*} [options] Override http request option.
24383
+ * @throws {RequiredError}
24384
+ */
24385
+ async trackingControllerGetPositionTracks(positionTracksInputDTO, options) {
24386
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerGetPositionTracks(positionTracksInputDTO, options);
24387
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24388
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetPositionTracks']?.[localVarOperationServerIndex]?.url;
24389
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24390
+ },
24391
+ /**
24392
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
23745
24393
  * @summary Get radius players
23746
24394
  * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
23747
24395
  * @param {*} [options] Override http request option.
@@ -23753,6 +24401,45 @@ export const TrackingApiFp = function (configuration) {
23753
24401
  const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerGetRadiusPlayers']?.[localVarOperationServerIndex]?.url;
23754
24402
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
23755
24403
  },
24404
+ /**
24405
+ * 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`
24406
+ * @summary Search area gains
24407
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24408
+ * @param {*} [options] Override http request option.
24409
+ * @throws {RequiredError}
24410
+ */
24411
+ async trackingControllerSearchAreaGains(positionAreaInputDTO, options) {
24412
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerSearchAreaGains(positionAreaInputDTO, options);
24413
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24414
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerSearchAreaGains']?.[localVarOperationServerIndex]?.url;
24415
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24416
+ },
24417
+ /**
24418
+ * 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`
24419
+ * @summary Search events
24420
+ * @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
24421
+ * @param {*} [options] Override http request option.
24422
+ * @throws {RequiredError}
24423
+ */
24424
+ async trackingControllerSearchEvents(trackingEventsInputDTO, options) {
24425
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerSearchEvents(trackingEventsInputDTO, options);
24426
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24427
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerSearchEvents']?.[localVarOperationServerIndex]?.url;
24428
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24429
+ },
24430
+ /**
24431
+ * 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`
24432
+ * @summary Search position area
24433
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24434
+ * @param {*} [options] Override http request option.
24435
+ * @throws {RequiredError}
24436
+ */
24437
+ async trackingControllerSearchPositionArea(positionAreaInputDTO, options) {
24438
+ const localVarAxiosArgs = await localVarAxiosParamCreator.trackingControllerSearchPositionArea(positionAreaInputDTO, options);
24439
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
24440
+ const localVarOperationServerBasePath = operationServerMap['TrackingApi.trackingControllerSearchPositionArea']?.[localVarOperationServerIndex]?.url;
24441
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
24442
+ },
23756
24443
  };
23757
24444
  };
23758
24445
  /**
@@ -23763,7 +24450,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
23763
24450
  const localVarFp = TrackingApiFp(configuration);
23764
24451
  return {
23765
24452
  /**
23766
- * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
24453
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
23767
24454
  * @summary Get bounding box players
23768
24455
  * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
23769
24456
  * @param {*} [options] Override http request option.
@@ -23775,7 +24462,43 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
23775
24462
  .then((request) => request(axios, basePath));
23776
24463
  },
23777
24464
  /**
23778
- * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
24465
+ * 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`
24466
+ * @summary Get inventory at
24467
+ * @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
24468
+ * @param {*} [options] Override http request option.
24469
+ * @throws {RequiredError}
24470
+ */
24471
+ trackingControllerGetInventoryAt(inventoryAtInputDTO, options) {
24472
+ return localVarFp
24473
+ .trackingControllerGetInventoryAt(inventoryAtInputDTO, options)
24474
+ .then((request) => request(axios, basePath));
24475
+ },
24476
+ /**
24477
+ * 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`
24478
+ * @summary Get inventory changes
24479
+ * @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
24480
+ * @param {*} [options] Override http request option.
24481
+ * @throws {RequiredError}
24482
+ */
24483
+ trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options) {
24484
+ return localVarFp
24485
+ .trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options)
24486
+ .then((request) => request(axios, basePath));
24487
+ },
24488
+ /**
24489
+ * 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`
24490
+ * @summary Get item holders
24491
+ * @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
24492
+ * @param {*} [options] Override http request option.
24493
+ * @throws {RequiredError}
24494
+ */
24495
+ trackingControllerGetItemHolders(itemHoldersInputDTO, options) {
24496
+ return localVarFp
24497
+ .trackingControllerGetItemHolders(itemHoldersInputDTO, options)
24498
+ .then((request) => request(axios, basePath));
24499
+ },
24500
+ /**
24501
+ * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
23779
24502
  * @summary Get player inventory history
23780
24503
  * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
23781
24504
  * @param {*} [options] Override http request option.
@@ -23787,7 +24510,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
23787
24510
  .then((request) => request(axios, basePath));
23788
24511
  },
23789
24512
  /**
23790
- * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
24513
+ * 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
24514
  * @summary Get player movement history
23792
24515
  * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
23793
24516
  * @param {*} [options] Override http request option.
@@ -23799,7 +24522,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
23799
24522
  .then((request) => request(axios, basePath));
23800
24523
  },
23801
24524
  /**
23802
- * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
24525
+ * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
23803
24526
  * @summary Get players by item
23804
24527
  * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
23805
24528
  * @param {*} [options] Override http request option.
@@ -23811,7 +24534,43 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
23811
24534
  .then((request) => request(axios, basePath));
23812
24535
  },
23813
24536
  /**
23814
- * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
24537
+ * 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`
24538
+ * @summary Get position area samples
24539
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24540
+ * @param {*} [options] Override http request option.
24541
+ * @throws {RequiredError}
24542
+ */
24543
+ trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options) {
24544
+ return localVarFp
24545
+ .trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options)
24546
+ .then((request) => request(axios, basePath));
24547
+ },
24548
+ /**
24549
+ * 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`
24550
+ * @summary Get position snapshot
24551
+ * @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
24552
+ * @param {*} [options] Override http request option.
24553
+ * @throws {RequiredError}
24554
+ */
24555
+ trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options) {
24556
+ return localVarFp
24557
+ .trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options)
24558
+ .then((request) => request(axios, basePath));
24559
+ },
24560
+ /**
24561
+ * 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`
24562
+ * @summary Get position tracks
24563
+ * @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
24564
+ * @param {*} [options] Override http request option.
24565
+ * @throws {RequiredError}
24566
+ */
24567
+ trackingControllerGetPositionTracks(positionTracksInputDTO, options) {
24568
+ return localVarFp
24569
+ .trackingControllerGetPositionTracks(positionTracksInputDTO, options)
24570
+ .then((request) => request(axios, basePath));
24571
+ },
24572
+ /**
24573
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
23815
24574
  * @summary Get radius players
23816
24575
  * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
23817
24576
  * @param {*} [options] Override http request option.
@@ -23822,6 +24581,42 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
23822
24581
  .trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options)
23823
24582
  .then((request) => request(axios, basePath));
23824
24583
  },
24584
+ /**
24585
+ * 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`
24586
+ * @summary Search area gains
24587
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24588
+ * @param {*} [options] Override http request option.
24589
+ * @throws {RequiredError}
24590
+ */
24591
+ trackingControllerSearchAreaGains(positionAreaInputDTO, options) {
24592
+ return localVarFp
24593
+ .trackingControllerSearchAreaGains(positionAreaInputDTO, options)
24594
+ .then((request) => request(axios, basePath));
24595
+ },
24596
+ /**
24597
+ * 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`
24598
+ * @summary Search events
24599
+ * @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
24600
+ * @param {*} [options] Override http request option.
24601
+ * @throws {RequiredError}
24602
+ */
24603
+ trackingControllerSearchEvents(trackingEventsInputDTO, options) {
24604
+ return localVarFp
24605
+ .trackingControllerSearchEvents(trackingEventsInputDTO, options)
24606
+ .then((request) => request(axios, basePath));
24607
+ },
24608
+ /**
24609
+ * 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`
24610
+ * @summary Search position area
24611
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24612
+ * @param {*} [options] Override http request option.
24613
+ * @throws {RequiredError}
24614
+ */
24615
+ trackingControllerSearchPositionArea(positionAreaInputDTO, options) {
24616
+ return localVarFp
24617
+ .trackingControllerSearchPositionArea(positionAreaInputDTO, options)
24618
+ .then((request) => request(axios, basePath));
24619
+ },
23825
24620
  };
23826
24621
  };
23827
24622
  /**
@@ -23832,7 +24627,7 @@ export const TrackingApiFactory = function (configuration, basePath, axios) {
23832
24627
  */
23833
24628
  export class TrackingApi extends BaseAPI {
23834
24629
  /**
23835
- * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
24630
+ * Find all players within a 3D rectangular volume at a specific time Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetBoundingBoxPlayers`
23836
24631
  * @summary Get bounding box players
23837
24632
  * @param {BoundingBoxSearchInputDTO} [boundingBoxSearchInputDTO] BoundingBoxSearchInputDTO
23838
24633
  * @param {*} [options] Override http request option.
@@ -23845,7 +24640,46 @@ export class TrackingApi extends BaseAPI {
23845
24640
  .then((request) => request(this.axios, this.basePath));
23846
24641
  }
23847
24642
  /**
23848
- * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
24643
+ * 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`
24644
+ * @summary Get inventory at
24645
+ * @param {InventoryAtInputDTO} [inventoryAtInputDTO] InventoryAtInputDTO
24646
+ * @param {*} [options] Override http request option.
24647
+ * @throws {RequiredError}
24648
+ * @memberof TrackingApi
24649
+ */
24650
+ trackingControllerGetInventoryAt(inventoryAtInputDTO, options) {
24651
+ return TrackingApiFp(this.configuration)
24652
+ .trackingControllerGetInventoryAt(inventoryAtInputDTO, options)
24653
+ .then((request) => request(this.axios, this.basePath));
24654
+ }
24655
+ /**
24656
+ * 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`
24657
+ * @summary Get inventory changes
24658
+ * @param {InventoryChangesInputDTO} [inventoryChangesInputDTO] InventoryChangesInputDTO
24659
+ * @param {*} [options] Override http request option.
24660
+ * @throws {RequiredError}
24661
+ * @memberof TrackingApi
24662
+ */
24663
+ trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options) {
24664
+ return TrackingApiFp(this.configuration)
24665
+ .trackingControllerGetInventoryChanges(inventoryChangesInputDTO, options)
24666
+ .then((request) => request(this.axios, this.basePath));
24667
+ }
24668
+ /**
24669
+ * 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`
24670
+ * @summary Get item holders
24671
+ * @param {ItemHoldersInputDTO} [itemHoldersInputDTO] ItemHoldersInputDTO
24672
+ * @param {*} [options] Override http request option.
24673
+ * @throws {RequiredError}
24674
+ * @memberof TrackingApi
24675
+ */
24676
+ trackingControllerGetItemHolders(itemHoldersInputDTO, options) {
24677
+ return TrackingApiFp(this.configuration)
24678
+ .trackingControllerGetItemHolders(itemHoldersInputDTO, options)
24679
+ .then((request) => request(this.axios, this.basePath));
24680
+ }
24681
+ /**
24682
+ * Get inventory changes for a player between two timestamps Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayerInventoryHistory`
23849
24683
  * @summary Get player inventory history
23850
24684
  * @param {PlayerInventoryHistoryInputDTO} [playerInventoryHistoryInputDTO] PlayerInventoryHistoryInputDTO
23851
24685
  * @param {*} [options] Override http request option.
@@ -23858,7 +24692,7 @@ export class TrackingApi extends BaseAPI {
23858
24692
  .then((request) => request(this.axios, this.basePath));
23859
24693
  }
23860
24694
  /**
23861
- * Get movement history for players within date bounds Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayerMovementHistory`
24695
+ * 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
24696
  * @summary Get player movement history
23863
24697
  * @param {PlayerMovementHistoryInputDTO} [playerMovementHistoryInputDTO] PlayerMovementHistoryInputDTO
23864
24698
  * @param {*} [options] Override http request option.
@@ -23871,7 +24705,7 @@ export class TrackingApi extends BaseAPI {
23871
24705
  .then((request) => request(this.axios, this.basePath));
23872
24706
  }
23873
24707
  /**
23874
- * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetPlayersByItem`
24708
+ * Find all players who have had a specific item in their inventory Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetPlayersByItem`
23875
24709
  * @summary Get players by item
23876
24710
  * @param {PlayersByItemInputDTO} [playersByItemInputDTO] PlayersByItemInputDTO
23877
24711
  * @param {*} [options] Override http request option.
@@ -23884,7 +24718,46 @@ export class TrackingApi extends BaseAPI {
23884
24718
  .then((request) => request(this.axios, this.basePath));
23885
24719
  }
23886
24720
  /**
23887
- * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`<br> OperationId: `TrackingControllerGetRadiusPlayers`
24721
+ * 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`
24722
+ * @summary Get position area samples
24723
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24724
+ * @param {*} [options] Override http request option.
24725
+ * @throws {RequiredError}
24726
+ * @memberof TrackingApi
24727
+ */
24728
+ trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options) {
24729
+ return TrackingApiFp(this.configuration)
24730
+ .trackingControllerGetPositionAreaSamples(positionAreaInputDTO, options)
24731
+ .then((request) => request(this.axios, this.basePath));
24732
+ }
24733
+ /**
24734
+ * 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`
24735
+ * @summary Get position snapshot
24736
+ * @param {PositionSnapshotInputDTO} [positionSnapshotInputDTO] PositionSnapshotInputDTO
24737
+ * @param {*} [options] Override http request option.
24738
+ * @throws {RequiredError}
24739
+ * @memberof TrackingApi
24740
+ */
24741
+ trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options) {
24742
+ return TrackingApiFp(this.configuration)
24743
+ .trackingControllerGetPositionSnapshot(positionSnapshotInputDTO, options)
24744
+ .then((request) => request(this.axios, this.basePath));
24745
+ }
24746
+ /**
24747
+ * 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`
24748
+ * @summary Get position tracks
24749
+ * @param {PositionTracksInputDTO} [positionTracksInputDTO] PositionTracksInputDTO
24750
+ * @param {*} [options] Override http request option.
24751
+ * @throws {RequiredError}
24752
+ * @memberof TrackingApi
24753
+ */
24754
+ trackingControllerGetPositionTracks(positionTracksInputDTO, options) {
24755
+ return TrackingApiFp(this.configuration)
24756
+ .trackingControllerGetPositionTracks(positionTracksInputDTO, options)
24757
+ .then((request) => request(this.axios, this.basePath));
24758
+ }
24759
+ /**
24760
+ * Find all players within a spherical area from a center point Required permissions: `READ_PLAYERS`, `READ_TRACKING`<br> OperationId: `TrackingControllerGetRadiusPlayers`
23888
24761
  * @summary Get radius players
23889
24762
  * @param {RadiusSearchInputDTO} [radiusSearchInputDTO] RadiusSearchInputDTO
23890
24763
  * @param {*} [options] Override http request option.
@@ -23896,6 +24769,45 @@ export class TrackingApi extends BaseAPI {
23896
24769
  .trackingControllerGetRadiusPlayers(radiusSearchInputDTO, options)
23897
24770
  .then((request) => request(this.axios, this.basePath));
23898
24771
  }
24772
+ /**
24773
+ * 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`
24774
+ * @summary Search area gains
24775
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24776
+ * @param {*} [options] Override http request option.
24777
+ * @throws {RequiredError}
24778
+ * @memberof TrackingApi
24779
+ */
24780
+ trackingControllerSearchAreaGains(positionAreaInputDTO, options) {
24781
+ return TrackingApiFp(this.configuration)
24782
+ .trackingControllerSearchAreaGains(positionAreaInputDTO, options)
24783
+ .then((request) => request(this.axios, this.basePath));
24784
+ }
24785
+ /**
24786
+ * 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`
24787
+ * @summary Search events
24788
+ * @param {TrackingEventsInputDTO} [trackingEventsInputDTO] TrackingEventsInputDTO
24789
+ * @param {*} [options] Override http request option.
24790
+ * @throws {RequiredError}
24791
+ * @memberof TrackingApi
24792
+ */
24793
+ trackingControllerSearchEvents(trackingEventsInputDTO, options) {
24794
+ return TrackingApiFp(this.configuration)
24795
+ .trackingControllerSearchEvents(trackingEventsInputDTO, options)
24796
+ .then((request) => request(this.axios, this.basePath));
24797
+ }
24798
+ /**
24799
+ * 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`
24800
+ * @summary Search position area
24801
+ * @param {PositionAreaInputDTO} [positionAreaInputDTO] PositionAreaInputDTO
24802
+ * @param {*} [options] Override http request option.
24803
+ * @throws {RequiredError}
24804
+ * @memberof TrackingApi
24805
+ */
24806
+ trackingControllerSearchPositionArea(positionAreaInputDTO, options) {
24807
+ return TrackingApiFp(this.configuration)
24808
+ .trackingControllerSearchPositionArea(positionAreaInputDTO, options)
24809
+ .then((request) => request(this.axios, this.basePath));
24810
+ }
23899
24811
  }
23900
24812
  /**
23901
24813
  * UserApi - axios parameter creator