@takaro/apiclient 0.0.0-dev.573074e → 0.0.0-dev.57b3384

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.
@@ -170,6 +170,7 @@ export const EventCreateDTOEventNameEnum = {
170
170
  SettingsSet: 'settings-set',
171
171
  PlayerNewIpDetected: 'player-new-ip-detected',
172
172
  PlayerNewNameDetected: 'player-new-name-detected',
173
+ PlayerIdentityConflict: 'player-identity-conflict',
173
174
  ServerStatusChanged: 'server-status-changed',
174
175
  ModuleCreated: 'module-created',
175
176
  ModuleUpdated: 'module-updated',
@@ -184,8 +185,11 @@ export const EventCreateDTOEventNameEnum = {
184
185
  ShopOrderStatusChanged: 'shop-order-status-changed',
185
186
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
186
187
  PlayerLinked: 'player-linked',
188
+ PlayerUnlinked: 'player-unlinked',
189
+ PlayerMerged: 'player-merged',
187
190
  GameserverCreated: 'gameserver-created',
188
191
  GameserverUpdated: 'gameserver-updated',
192
+ GameserverVersionChanged: 'gameserver-version-changed',
189
193
  GameserverDeleted: 'gameserver-deleted',
190
194
  PlayerBanned: 'player-banned',
191
195
  PlayerUnbanned: 'player-unbanned',
@@ -213,6 +217,15 @@ export const EventCreateDTOEventNameEnum = {
213
217
  PlayerDeath: 'player-death',
214
218
  EntityKilled: 'entity-killed',
215
219
  };
220
+ export const EventInventoryChangedCauseEnum = {
221
+ Pickup: 'pickup',
222
+ Drop: 'drop',
223
+ Craft: 'craft',
224
+ Loot: 'loot',
225
+ Trade: 'trade',
226
+ Death: 'death',
227
+ Other: 'other',
228
+ };
216
229
  export const EventOutputDTOEventNameEnum = {
217
230
  RoleAssigned: 'role-assigned',
218
231
  RoleRemoved: 'role-removed',
@@ -229,6 +242,7 @@ export const EventOutputDTOEventNameEnum = {
229
242
  SettingsSet: 'settings-set',
230
243
  PlayerNewIpDetected: 'player-new-ip-detected',
231
244
  PlayerNewNameDetected: 'player-new-name-detected',
245
+ PlayerIdentityConflict: 'player-identity-conflict',
232
246
  ServerStatusChanged: 'server-status-changed',
233
247
  ModuleCreated: 'module-created',
234
248
  ModuleUpdated: 'module-updated',
@@ -243,8 +257,11 @@ export const EventOutputDTOEventNameEnum = {
243
257
  ShopOrderStatusChanged: 'shop-order-status-changed',
244
258
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
245
259
  PlayerLinked: 'player-linked',
260
+ PlayerUnlinked: 'player-unlinked',
261
+ PlayerMerged: 'player-merged',
246
262
  GameserverCreated: 'gameserver-created',
247
263
  GameserverUpdated: 'gameserver-updated',
264
+ GameserverVersionChanged: 'gameserver-version-changed',
248
265
  GameserverDeleted: 'gameserver-deleted',
249
266
  PlayerBanned: 'player-banned',
250
267
  PlayerUnbanned: 'player-unbanned',
@@ -279,6 +296,7 @@ export const FixtureHistoryConflictDTOKindEnum = {
279
296
  export const FixtureHistoryDeleteInputDTOStoreEnum = {
280
297
  Analytics: 'analytics',
281
298
  Postgres: 'postgres',
299
+ Tracking: 'tracking',
282
300
  };
283
301
  export const FixtureHistoryEventDTOEventNameEnum = {
284
302
  PlayerConnected: 'player-connected',
@@ -297,18 +315,44 @@ export const FixtureHistoryOrderDTOStatusEnum = {
297
315
  Completed: 'COMPLETED',
298
316
  Canceled: 'CANCELED',
299
317
  };
318
+ export const FixtureHistoryTrackingChangeDTOChangeTypeEnum = {
319
+ Added: 'added',
320
+ Removed: 'removed',
321
+ Changed: 'changed',
322
+ };
323
+ export const FixtureHistoryTrackingChangeDTOCauseEnum = {
324
+ Pickup: 'pickup',
325
+ Drop: 'drop',
326
+ Craft: 'craft',
327
+ Loot: 'loot',
328
+ Trade: 'trade',
329
+ Death: 'death',
330
+ Other: 'other',
331
+ };
300
332
  export const GameServerCreateDTOTypeEnum = {
301
333
  Sevendaystodie: 'SEVENDAYSTODIE',
302
334
  Rust: 'RUST',
303
335
  Generic: 'GENERIC',
304
336
  Mock: 'MOCK',
305
337
  };
338
+ export const GameServerCreateDTONameSourceEnum = {
339
+ Connector: 'connector',
340
+ Operator: 'operator',
341
+ };
342
+ export const GameServerIdentifyInputDTOProtocolVersionEnum = {
343
+ NUMBER_0: 0,
344
+ NUMBER_1: 1,
345
+ };
306
346
  export const GameServerOutputDTOTypeEnum = {
307
347
  Sevendaystodie: 'SEVENDAYSTODIE',
308
348
  Rust: 'RUST',
309
349
  Generic: 'GENERIC',
310
350
  Mock: 'MOCK',
311
351
  };
352
+ export const GameServerOutputDTONameSourceEnum = {
353
+ Connector: 'connector',
354
+ Operator: 'operator',
355
+ };
312
356
  export const GameServerTypesOutputDTOTypeEnum = {
313
357
  Sevendaystodie: 'SEVENDAYSTODIE',
314
358
  Rust: 'RUST',
@@ -331,14 +375,17 @@ export const GetJobInputDTOTypeEnum = {
331
375
  SyncItems: 'syncItems',
332
376
  SyncEntities: 'syncEntities',
333
377
  SyncBans: 'syncBans',
378
+ SyncLocations: 'syncLocations',
334
379
  SyncMapImages: 'syncMapImages',
335
380
  SyncMapUploads: 'syncMapUploads',
381
+ SyncGameIcons: 'syncGameIcons',
336
382
  SyncSteam: 'syncSteam',
337
383
  SyncDiscordRoles: 'syncDiscordRoles',
338
384
  EmitRateLimitSummary: 'emitRateLimitSummary',
339
385
  CleanRevokedApiKeys: 'cleanRevokedApiKeys',
340
386
  CleanExecutionClaims: 'cleanExecutionClaims',
341
387
  DeleteClickHouseEvents: 'deleteClickHouseEvents',
388
+ RepointClickHouseEvents: 'repointClickHouseEvents',
342
389
  CleanConnectorMigrations: 'cleanConnectorMigrations',
343
390
  };
344
391
  export const HookCreateDTOEventTypeEnum = {
@@ -364,6 +411,7 @@ export const HookCreateDTOEventTypeEnum = {
364
411
  SettingsSet: 'settings-set',
365
412
  PlayerNewIpDetected: 'player-new-ip-detected',
366
413
  PlayerNewNameDetected: 'player-new-name-detected',
414
+ PlayerIdentityConflict: 'player-identity-conflict',
367
415
  ServerStatusChanged: 'server-status-changed',
368
416
  ModuleCreated: 'module-created',
369
417
  ModuleUpdated: 'module-updated',
@@ -378,8 +426,11 @@ export const HookCreateDTOEventTypeEnum = {
378
426
  ShopOrderStatusChanged: 'shop-order-status-changed',
379
427
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
380
428
  PlayerLinked: 'player-linked',
429
+ PlayerUnlinked: 'player-unlinked',
430
+ PlayerMerged: 'player-merged',
381
431
  GameserverCreated: 'gameserver-created',
382
432
  GameserverUpdated: 'gameserver-updated',
433
+ GameserverVersionChanged: 'gameserver-version-changed',
383
434
  GameserverDeleted: 'gameserver-deleted',
384
435
  PlayerBanned: 'player-banned',
385
436
  PlayerUnbanned: 'player-unbanned',
@@ -425,6 +476,7 @@ export const HookOutputDTOEventTypeEnum = {
425
476
  SettingsSet: 'settings-set',
426
477
  PlayerNewIpDetected: 'player-new-ip-detected',
427
478
  PlayerNewNameDetected: 'player-new-name-detected',
479
+ PlayerIdentityConflict: 'player-identity-conflict',
428
480
  ServerStatusChanged: 'server-status-changed',
429
481
  ModuleCreated: 'module-created',
430
482
  ModuleUpdated: 'module-updated',
@@ -439,8 +491,11 @@ export const HookOutputDTOEventTypeEnum = {
439
491
  ShopOrderStatusChanged: 'shop-order-status-changed',
440
492
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
441
493
  PlayerLinked: 'player-linked',
494
+ PlayerUnlinked: 'player-unlinked',
495
+ PlayerMerged: 'player-merged',
442
496
  GameserverCreated: 'gameserver-created',
443
497
  GameserverUpdated: 'gameserver-updated',
498
+ GameserverVersionChanged: 'gameserver-version-changed',
444
499
  GameserverDeleted: 'gameserver-deleted',
445
500
  PlayerBanned: 'player-banned',
446
501
  PlayerUnbanned: 'player-unbanned',
@@ -486,6 +541,7 @@ export const HookTriggerDTOEventTypeEnum = {
486
541
  SettingsSet: 'settings-set',
487
542
  PlayerNewIpDetected: 'player-new-ip-detected',
488
543
  PlayerNewNameDetected: 'player-new-name-detected',
544
+ PlayerIdentityConflict: 'player-identity-conflict',
489
545
  ServerStatusChanged: 'server-status-changed',
490
546
  ModuleCreated: 'module-created',
491
547
  ModuleUpdated: 'module-updated',
@@ -500,8 +556,11 @@ export const HookTriggerDTOEventTypeEnum = {
500
556
  ShopOrderStatusChanged: 'shop-order-status-changed',
501
557
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
502
558
  PlayerLinked: 'player-linked',
559
+ PlayerUnlinked: 'player-unlinked',
560
+ PlayerMerged: 'player-merged',
503
561
  GameserverCreated: 'gameserver-created',
504
562
  GameserverUpdated: 'gameserver-updated',
563
+ GameserverVersionChanged: 'gameserver-version-changed',
505
564
  GameserverDeleted: 'gameserver-deleted',
506
565
  PlayerBanned: 'player-banned',
507
566
  PlayerUnbanned: 'player-unbanned',
@@ -547,6 +606,7 @@ export const HookUpdateDTOEventTypeEnum = {
547
606
  SettingsSet: 'settings-set',
548
607
  PlayerNewIpDetected: 'player-new-ip-detected',
549
608
  PlayerNewNameDetected: 'player-new-name-detected',
609
+ PlayerIdentityConflict: 'player-identity-conflict',
550
610
  ServerStatusChanged: 'server-status-changed',
551
611
  ModuleCreated: 'module-created',
552
612
  ModuleUpdated: 'module-updated',
@@ -561,8 +621,11 @@ export const HookUpdateDTOEventTypeEnum = {
561
621
  ShopOrderStatusChanged: 'shop-order-status-changed',
562
622
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
563
623
  PlayerLinked: 'player-linked',
624
+ PlayerUnlinked: 'player-unlinked',
625
+ PlayerMerged: 'player-merged',
564
626
  GameserverCreated: 'gameserver-created',
565
627
  GameserverUpdated: 'gameserver-updated',
628
+ GameserverVersionChanged: 'gameserver-version-changed',
566
629
  GameserverDeleted: 'gameserver-deleted',
567
630
  PlayerBanned: 'player-banned',
568
631
  PlayerUnbanned: 'player-unbanned',
@@ -613,6 +676,7 @@ export const IHookEventTypeEnum = {
613
676
  SettingsSet: 'settings-set',
614
677
  PlayerNewIpDetected: 'player-new-ip-detected',
615
678
  PlayerNewNameDetected: 'player-new-name-detected',
679
+ PlayerIdentityConflict: 'player-identity-conflict',
616
680
  ServerStatusChanged: 'server-status-changed',
617
681
  ModuleCreated: 'module-created',
618
682
  ModuleUpdated: 'module-updated',
@@ -627,8 +691,11 @@ export const IHookEventTypeEnum = {
627
691
  ShopOrderStatusChanged: 'shop-order-status-changed',
628
692
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
629
693
  PlayerLinked: 'player-linked',
694
+ PlayerUnlinked: 'player-unlinked',
695
+ PlayerMerged: 'player-merged',
630
696
  GameserverCreated: 'gameserver-created',
631
697
  GameserverUpdated: 'gameserver-updated',
698
+ GameserverVersionChanged: 'gameserver-version-changed',
632
699
  GameserverDeleted: 'gameserver-deleted',
633
700
  PlayerBanned: 'player-banned',
634
701
  PlayerUnbanned: 'player-unbanned',
@@ -655,6 +722,29 @@ export const ITakaroQuerySortDirectionEnum = {
655
722
  Asc: 'asc',
656
723
  Desc: 'desc',
657
724
  };
725
+ export const InventoryChangeCounterpartDTOKindEnum = {
726
+ Container: 'container',
727
+ Player: 'player',
728
+ };
729
+ export const InventoryChangeDTOChangeTypeEnum = {
730
+ Added: 'added',
731
+ Removed: 'removed',
732
+ Changed: 'changed',
733
+ };
734
+ export const InventoryChangeDTOCauseEnum = {
735
+ Pickup: 'pickup',
736
+ Drop: 'drop',
737
+ Craft: 'craft',
738
+ Loot: 'loot',
739
+ Trade: 'trade',
740
+ Death: 'death',
741
+ Other: 'other',
742
+ Unknown: 'unknown',
743
+ };
744
+ export const InventoryCounterpartDTOKindEnum = {
745
+ Container: 'container',
746
+ Player: 'player',
747
+ };
658
748
  export const InviteLinkCreateResultDTOStatusEnum = {
659
749
  Active: 'ACTIVE',
660
750
  Revoked: 'REVOKED',
@@ -760,6 +850,8 @@ export const PERMISSIONS = {
760
850
  ViewDiscordInfo: 'VIEW_DISCORD_INFO',
761
851
  SendDiscordMessage: 'SEND_DISCORD_MESSAGE',
762
852
  ManageApiKeys: 'MANAGE_API_KEYS',
853
+ ReadMap: 'READ_MAP',
854
+ ReadTracking: 'READ_TRACKING',
763
855
  };
764
856
  export const PlanChangeOutputDTOActionEnum = {
765
857
  Create: 'create',
@@ -793,6 +885,11 @@ export const PlayerSearchInputDTOSortDirectionEnum = {
793
885
  Asc: 'asc',
794
886
  Desc: 'desc',
795
887
  };
888
+ export const PositionAreaShapeDTOTypeEnum = {
889
+ Circle: 'circle',
890
+ Rectangle: 'rectangle',
891
+ Polygon: 'polygon',
892
+ };
796
893
  export const RecentOrderDTOStatusEnum = {
797
894
  Completed: 'COMPLETED',
798
895
  Paid: 'PAID',
@@ -965,16 +1062,68 @@ export const TakaroEventDomainCreatedOriginEnum = {
965
1062
  Subscription: 'subscription',
966
1063
  AdminSecret: 'admin_secret',
967
1064
  };
1065
+ export const TakaroEventInventoryCounterpartKindEnum = {
1066
+ Container: 'container',
1067
+ Player: 'player',
1068
+ };
968
1069
  export const TakaroEventItemsGivenLineResultEnum = {
969
1070
  Delivered: 'DELIVERED',
970
1071
  Failed: 'FAILED',
971
1072
  Unknown: 'UNKNOWN',
972
1073
  };
1074
+ export const TakaroEventPlayerIdentityConflictUnwrittenIdentifiersEnum = {
1075
+ SteamId: 'steamId',
1076
+ EpicOnlineServicesId: 'epicOnlineServicesId',
1077
+ XboxLiveId: 'xboxLiveId',
1078
+ PlatformId: 'platformId',
1079
+ };
1080
+ export const TakaroEventPlayerIdentityConflictMatchMatchedOnEnum = {
1081
+ SteamId: 'steamId',
1082
+ EpicOnlineServicesId: 'epicOnlineServicesId',
1083
+ XboxLiveId: 'xboxLiveId',
1084
+ PlatformId: 'platformId',
1085
+ };
973
1086
  export const TakaroEventPlayerInventoryChangedChangeTypeEnum = {
974
1087
  Added: 'added',
975
1088
  Removed: 'removed',
976
1089
  Changed: 'changed',
977
1090
  };
1091
+ export const TakaroEventPlayerInventoryChangedCauseEnum = {
1092
+ Pickup: 'pickup',
1093
+ Drop: 'drop',
1094
+ Craft: 'craft',
1095
+ Loot: 'loot',
1096
+ Trade: 'trade',
1097
+ Death: 'death',
1098
+ Other: 'other',
1099
+ };
1100
+ export const TakaroEventPlayerLinkedSourceEnum = {
1101
+ GameCode: 'game-code',
1102
+ WebCode: 'web-code',
1103
+ SteamAuto: 'steam-auto',
1104
+ Admin: 'admin',
1105
+ Unknown: 'unknown',
1106
+ };
1107
+ export const TakaroEventPlayerMergedMovedIdentifiersEnum = {
1108
+ SteamId: 'steamId',
1109
+ EpicOnlineServicesId: 'epicOnlineServicesId',
1110
+ XboxLiveId: 'xboxLiveId',
1111
+ PlatformId: 'platformId',
1112
+ };
1113
+ export const TakaroEventPlayerMergedServerOutcomeEnum = {
1114
+ Moved: 'moved',
1115
+ Combined: 'combined',
1116
+ };
1117
+ export const TakaroEventPlayerMergedServerKeptPogFromEnum = {
1118
+ Survivor: 'survivor',
1119
+ Absorbed: 'absorbed',
1120
+ };
1121
+ export const TakaroEventPlayerUnlinkedReasonEnum = {
1122
+ Self: 'self',
1123
+ Admin: 'admin',
1124
+ Displaced: 'displaced',
1125
+ Merged: 'merged',
1126
+ };
978
1127
  export const TakaroEventRateLimitedScopeEnum = {
979
1128
  Server: 'server',
980
1129
  Domain: 'domain',
@@ -1119,11 +1268,27 @@ export const TriggerJobInputDTOTypeEnum = {
1119
1268
  SyncItems: 'syncItems',
1120
1269
  SyncEntities: 'syncEntities',
1121
1270
  SyncBans: 'syncBans',
1271
+ SyncLocations: 'syncLocations',
1122
1272
  SyncMapImages: 'syncMapImages',
1123
1273
  SyncMapUploads: 'syncMapUploads',
1274
+ SyncGameIcons: 'syncGameIcons',
1124
1275
  SyncSteam: 'syncSteam',
1125
1276
  SyncDiscordRoles: 'syncDiscordRoles',
1126
1277
  };
1278
+ export const UserOutputDTOPlayerLinkSourceEnum = {
1279
+ GameCode: 'game-code',
1280
+ WebCode: 'web-code',
1281
+ SteamAuto: 'steam-auto',
1282
+ Admin: 'admin',
1283
+ Unknown: 'unknown',
1284
+ };
1285
+ export const UserOutputWithRolesDTOPlayerLinkSourceEnum = {
1286
+ GameCode: 'game-code',
1287
+ WebCode: 'web-code',
1288
+ SteamAuto: 'steam-auto',
1289
+ Admin: 'admin',
1290
+ Unknown: 'unknown',
1291
+ };
1127
1292
  export const UserSearchInputDTOExtendEnum = {
1128
1293
  Roles: 'roles',
1129
1294
  };
@@ -3009,6 +3174,40 @@ export const DomainApiAxiosParamCreator = function (configuration) {
3009
3174
  options: localVarRequestOptions,
3010
3175
  };
3011
3176
  },
3177
+ /**
3178
+ * For a domain with neither a Subscription nor a Distributor; refused for either, since Stripe or the Distributor chooses those Plans. Applies the Plan’s limits at once, keeping any limit override. On the first assignment of a domain that predates Plans, its hand-set limits that differ from the Plan are kept as overrides.<br> OperationId: `DomainControllerSetPlanByStaff`
3179
+ * @summary Put an Unbacked domain on a Plan
3180
+ * @param {string} id
3181
+ * @param {StaffDomainPlanInputDTO} [staffDomainPlanInputDTO] StaffDomainPlanInputDTO
3182
+ * @param {*} [options] Override http request option.
3183
+ * @throws {RequiredError}
3184
+ */
3185
+ domainControllerSetPlanByStaff: async (id, staffDomainPlanInputDTO, options = {}) => {
3186
+ // verify required parameter 'id' is not null or undefined
3187
+ assertParamExists('domainControllerSetPlanByStaff', 'id', id);
3188
+ const localVarPath = `/staff/domains/{id}/plan`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
3189
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3190
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3191
+ let baseOptions;
3192
+ if (configuration) {
3193
+ baseOptions = configuration.baseOptions;
3194
+ }
3195
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
3196
+ const localVarHeaderParameter = {};
3197
+ const localVarQueryParameter = {};
3198
+ // authentication staffSession required
3199
+ // authentication adminAuth required
3200
+ await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
3201
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3202
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3203
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3204
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3205
+ localVarRequestOptions.data = serializeDataIfNeeded(staffDomainPlanInputDTO, localVarRequestOptions, configuration);
3206
+ return {
3207
+ url: toPathString(localVarUrlObj),
3208
+ options: localVarRequestOptions,
3209
+ };
3210
+ },
3012
3211
  /**
3013
3212
  * <br> OperationId: `DomainControllerUpdate`
3014
3213
  * @summary Update
@@ -3186,6 +3385,20 @@ export const DomainApiFp = function (configuration) {
3186
3385
  const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerSetPlan']?.[localVarOperationServerIndex]?.url;
3187
3386
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3188
3387
  },
3388
+ /**
3389
+ * For a domain with neither a Subscription nor a Distributor; refused for either, since Stripe or the Distributor chooses those Plans. Applies the Plan’s limits at once, keeping any limit override. On the first assignment of a domain that predates Plans, its hand-set limits that differ from the Plan are kept as overrides.<br> OperationId: `DomainControllerSetPlanByStaff`
3390
+ * @summary Put an Unbacked domain on a Plan
3391
+ * @param {string} id
3392
+ * @param {StaffDomainPlanInputDTO} [staffDomainPlanInputDTO] StaffDomainPlanInputDTO
3393
+ * @param {*} [options] Override http request option.
3394
+ * @throws {RequiredError}
3395
+ */
3396
+ async domainControllerSetPlanByStaff(id, staffDomainPlanInputDTO, options) {
3397
+ const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerSetPlanByStaff(id, staffDomainPlanInputDTO, options);
3398
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3399
+ const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerSetPlanByStaff']?.[localVarOperationServerIndex]?.url;
3400
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3401
+ },
3189
3402
  /**
3190
3403
  * <br> OperationId: `DomainControllerUpdate`
3191
3404
  * @summary Update
@@ -3325,6 +3538,19 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
3325
3538
  .domainControllerSetPlan(id, domainPlanInputDTO, options)
3326
3539
  .then((request) => request(axios, basePath));
3327
3540
  },
3541
+ /**
3542
+ * For a domain with neither a Subscription nor a Distributor; refused for either, since Stripe or the Distributor chooses those Plans. Applies the Plan’s limits at once, keeping any limit override. On the first assignment of a domain that predates Plans, its hand-set limits that differ from the Plan are kept as overrides.<br> OperationId: `DomainControllerSetPlanByStaff`
3543
+ * @summary Put an Unbacked domain on a Plan
3544
+ * @param {string} id
3545
+ * @param {StaffDomainPlanInputDTO} [staffDomainPlanInputDTO] StaffDomainPlanInputDTO
3546
+ * @param {*} [options] Override http request option.
3547
+ * @throws {RequiredError}
3548
+ */
3549
+ domainControllerSetPlanByStaff(id, staffDomainPlanInputDTO, options) {
3550
+ return localVarFp
3551
+ .domainControllerSetPlanByStaff(id, staffDomainPlanInputDTO, options)
3552
+ .then((request) => request(axios, basePath));
3553
+ },
3328
3554
  /**
3329
3555
  * <br> OperationId: `DomainControllerUpdate`
3330
3556
  * @summary Update
@@ -3481,6 +3707,20 @@ export class DomainApi extends BaseAPI {
3481
3707
  .domainControllerSetPlan(id, domainPlanInputDTO, options)
3482
3708
  .then((request) => request(this.axios, this.basePath));
3483
3709
  }
3710
+ /**
3711
+ * For a domain with neither a Subscription nor a Distributor; refused for either, since Stripe or the Distributor chooses those Plans. Applies the Plan’s limits at once, keeping any limit override. On the first assignment of a domain that predates Plans, its hand-set limits that differ from the Plan are kept as overrides.<br> OperationId: `DomainControllerSetPlanByStaff`
3712
+ * @summary Put an Unbacked domain on a Plan
3713
+ * @param {string} id
3714
+ * @param {StaffDomainPlanInputDTO} [staffDomainPlanInputDTO] StaffDomainPlanInputDTO
3715
+ * @param {*} [options] Override http request option.
3716
+ * @throws {RequiredError}
3717
+ * @memberof DomainApi
3718
+ */
3719
+ domainControllerSetPlanByStaff(id, staffDomainPlanInputDTO, options) {
3720
+ return DomainApiFp(this.configuration)
3721
+ .domainControllerSetPlanByStaff(id, staffDomainPlanInputDTO, options)
3722
+ .then((request) => request(this.axios, this.basePath));
3723
+ }
3484
3724
  /**
3485
3725
  * <br> OperationId: `DomainControllerUpdate`
3486
3726
  * @summary Update
@@ -3953,6 +4193,72 @@ export const FixtureHistoryApiAxiosParamCreator = function (configuration) {
3953
4193
  options: localVarRequestOptions,
3954
4194
  };
3955
4195
  },
4196
+ /**
4197
+ * <br> OperationId: `FixtureHistoryControllerTrackingInventory`
4198
+ * @summary Write owned, back-dated inventory snapshots and changes into the Tracking store (idempotent on id)
4199
+ * @param {string} domainId
4200
+ * @param {FixtureHistoryTrackingInventoryInputDTO} [fixtureHistoryTrackingInventoryInputDTO] FixtureHistoryTrackingInventoryInputDTO
4201
+ * @param {*} [options] Override http request option.
4202
+ * @throws {RequiredError}
4203
+ */
4204
+ fixtureHistoryControllerTrackingInventory: async (domainId, fixtureHistoryTrackingInventoryInputDTO, options = {}) => {
4205
+ // verify required parameter 'domainId' is not null or undefined
4206
+ assertParamExists('fixtureHistoryControllerTrackingInventory', 'domainId', domainId);
4207
+ const localVarPath = `/fixture-history/domains/{domainId}/tracking/inventory`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
4208
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4209
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4210
+ let baseOptions;
4211
+ if (configuration) {
4212
+ baseOptions = configuration.baseOptions;
4213
+ }
4214
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4215
+ const localVarHeaderParameter = {};
4216
+ const localVarQueryParameter = {};
4217
+ // authentication adminAuth required
4218
+ await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
4219
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4220
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4221
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4222
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4223
+ localVarRequestOptions.data = serializeDataIfNeeded(fixtureHistoryTrackingInventoryInputDTO, localVarRequestOptions, configuration);
4224
+ return {
4225
+ url: toPathString(localVarUrlObj),
4226
+ options: localVarRequestOptions,
4227
+ };
4228
+ },
4229
+ /**
4230
+ * Columnar: each track is one player-on-gameserver with flattened x, y, z triples sampled every intervalMs from `from`.<br> OperationId: `FixtureHistoryControllerTrackingPositions`
4231
+ * @summary Write owned, back-dated walked paths into the Tracking store (inserts only missing samples)
4232
+ * @param {string} domainId
4233
+ * @param {FixtureHistoryTrackingPositionsInputDTO} [fixtureHistoryTrackingPositionsInputDTO] FixtureHistoryTrackingPositionsInputDTO
4234
+ * @param {*} [options] Override http request option.
4235
+ * @throws {RequiredError}
4236
+ */
4237
+ fixtureHistoryControllerTrackingPositions: async (domainId, fixtureHistoryTrackingPositionsInputDTO, options = {}) => {
4238
+ // verify required parameter 'domainId' is not null or undefined
4239
+ assertParamExists('fixtureHistoryControllerTrackingPositions', 'domainId', domainId);
4240
+ const localVarPath = `/fixture-history/domains/{domainId}/tracking/positions`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
4241
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4242
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4243
+ let baseOptions;
4244
+ if (configuration) {
4245
+ baseOptions = configuration.baseOptions;
4246
+ }
4247
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4248
+ const localVarHeaderParameter = {};
4249
+ const localVarQueryParameter = {};
4250
+ // authentication adminAuth required
4251
+ await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
4252
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4253
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4254
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4255
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4256
+ localVarRequestOptions.data = serializeDataIfNeeded(fixtureHistoryTrackingPositionsInputDTO, localVarRequestOptions, configuration);
4257
+ return {
4258
+ url: toPathString(localVarUrlObj),
4259
+ options: localVarRequestOptions,
4260
+ };
4261
+ },
3956
4262
  };
3957
4263
  };
3958
4264
  /**
@@ -4151,6 +4457,34 @@ export const FixtureHistoryApiFp = function (configuration) {
4151
4457
  ?.url;
4152
4458
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4153
4459
  },
4460
+ /**
4461
+ * <br> OperationId: `FixtureHistoryControllerTrackingInventory`
4462
+ * @summary Write owned, back-dated inventory snapshots and changes into the Tracking store (idempotent on id)
4463
+ * @param {string} domainId
4464
+ * @param {FixtureHistoryTrackingInventoryInputDTO} [fixtureHistoryTrackingInventoryInputDTO] FixtureHistoryTrackingInventoryInputDTO
4465
+ * @param {*} [options] Override http request option.
4466
+ * @throws {RequiredError}
4467
+ */
4468
+ async fixtureHistoryControllerTrackingInventory(domainId, fixtureHistoryTrackingInventoryInputDTO, options) {
4469
+ const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerTrackingInventory(domainId, fixtureHistoryTrackingInventoryInputDTO, options);
4470
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4471
+ const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerTrackingInventory']?.[localVarOperationServerIndex]?.url;
4472
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4473
+ },
4474
+ /**
4475
+ * Columnar: each track is one player-on-gameserver with flattened x, y, z triples sampled every intervalMs from `from`.<br> OperationId: `FixtureHistoryControllerTrackingPositions`
4476
+ * @summary Write owned, back-dated walked paths into the Tracking store (inserts only missing samples)
4477
+ * @param {string} domainId
4478
+ * @param {FixtureHistoryTrackingPositionsInputDTO} [fixtureHistoryTrackingPositionsInputDTO] FixtureHistoryTrackingPositionsInputDTO
4479
+ * @param {*} [options] Override http request option.
4480
+ * @throws {RequiredError}
4481
+ */
4482
+ async fixtureHistoryControllerTrackingPositions(domainId, fixtureHistoryTrackingPositionsInputDTO, options) {
4483
+ const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerTrackingPositions(domainId, fixtureHistoryTrackingPositionsInputDTO, options);
4484
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4485
+ const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerTrackingPositions']?.[localVarOperationServerIndex]?.url;
4486
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4487
+ },
4154
4488
  };
4155
4489
  };
4156
4490
  /**
@@ -4332,6 +4666,32 @@ export const FixtureHistoryApiFactory = function (configuration, basePath, axios
4332
4666
  .fixtureHistoryControllerTerminalState(domainId, fixtureDatasetId, cursor, options)
4333
4667
  .then((request) => request(axios, basePath));
4334
4668
  },
4669
+ /**
4670
+ * <br> OperationId: `FixtureHistoryControllerTrackingInventory`
4671
+ * @summary Write owned, back-dated inventory snapshots and changes into the Tracking store (idempotent on id)
4672
+ * @param {string} domainId
4673
+ * @param {FixtureHistoryTrackingInventoryInputDTO} [fixtureHistoryTrackingInventoryInputDTO] FixtureHistoryTrackingInventoryInputDTO
4674
+ * @param {*} [options] Override http request option.
4675
+ * @throws {RequiredError}
4676
+ */
4677
+ fixtureHistoryControllerTrackingInventory(domainId, fixtureHistoryTrackingInventoryInputDTO, options) {
4678
+ return localVarFp
4679
+ .fixtureHistoryControllerTrackingInventory(domainId, fixtureHistoryTrackingInventoryInputDTO, options)
4680
+ .then((request) => request(axios, basePath));
4681
+ },
4682
+ /**
4683
+ * Columnar: each track is one player-on-gameserver with flattened x, y, z triples sampled every intervalMs from `from`.<br> OperationId: `FixtureHistoryControllerTrackingPositions`
4684
+ * @summary Write owned, back-dated walked paths into the Tracking store (inserts only missing samples)
4685
+ * @param {string} domainId
4686
+ * @param {FixtureHistoryTrackingPositionsInputDTO} [fixtureHistoryTrackingPositionsInputDTO] FixtureHistoryTrackingPositionsInputDTO
4687
+ * @param {*} [options] Override http request option.
4688
+ * @throws {RequiredError}
4689
+ */
4690
+ fixtureHistoryControllerTrackingPositions(domainId, fixtureHistoryTrackingPositionsInputDTO, options) {
4691
+ return localVarFp
4692
+ .fixtureHistoryControllerTrackingPositions(domainId, fixtureHistoryTrackingPositionsInputDTO, options)
4693
+ .then((request) => request(axios, basePath));
4694
+ },
4335
4695
  };
4336
4696
  };
4337
4697
  /**
@@ -4526,6 +4886,34 @@ export class FixtureHistoryApi extends BaseAPI {
4526
4886
  .fixtureHistoryControllerTerminalState(domainId, fixtureDatasetId, cursor, options)
4527
4887
  .then((request) => request(this.axios, this.basePath));
4528
4888
  }
4889
+ /**
4890
+ * <br> OperationId: `FixtureHistoryControllerTrackingInventory`
4891
+ * @summary Write owned, back-dated inventory snapshots and changes into the Tracking store (idempotent on id)
4892
+ * @param {string} domainId
4893
+ * @param {FixtureHistoryTrackingInventoryInputDTO} [fixtureHistoryTrackingInventoryInputDTO] FixtureHistoryTrackingInventoryInputDTO
4894
+ * @param {*} [options] Override http request option.
4895
+ * @throws {RequiredError}
4896
+ * @memberof FixtureHistoryApi
4897
+ */
4898
+ fixtureHistoryControllerTrackingInventory(domainId, fixtureHistoryTrackingInventoryInputDTO, options) {
4899
+ return FixtureHistoryApiFp(this.configuration)
4900
+ .fixtureHistoryControllerTrackingInventory(domainId, fixtureHistoryTrackingInventoryInputDTO, options)
4901
+ .then((request) => request(this.axios, this.basePath));
4902
+ }
4903
+ /**
4904
+ * Columnar: each track is one player-on-gameserver with flattened x, y, z triples sampled every intervalMs from `from`.<br> OperationId: `FixtureHistoryControllerTrackingPositions`
4905
+ * @summary Write owned, back-dated walked paths into the Tracking store (inserts only missing samples)
4906
+ * @param {string} domainId
4907
+ * @param {FixtureHistoryTrackingPositionsInputDTO} [fixtureHistoryTrackingPositionsInputDTO] FixtureHistoryTrackingPositionsInputDTO
4908
+ * @param {*} [options] Override http request option.
4909
+ * @throws {RequiredError}
4910
+ * @memberof FixtureHistoryApi
4911
+ */
4912
+ fixtureHistoryControllerTrackingPositions(domainId, fixtureHistoryTrackingPositionsInputDTO, options) {
4913
+ return FixtureHistoryApiFp(this.configuration)
4914
+ .fixtureHistoryControllerTrackingPositions(domainId, fixtureHistoryTrackingPositionsInputDTO, options)
4915
+ .then((request) => request(this.axios, this.basePath));
4916
+ }
4529
4917
  }
4530
4918
  /**
4531
4919
  * MetaApi - axios parameter creator