@takaro/apiclient 0.0.0-dev.5ce9265 → 0.0.0-dev.5e8eaed

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,6 +185,8 @@ 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',
189
192
  GameserverVersionChanged: 'gameserver-version-changed',
@@ -193,6 +196,7 @@ export const EventCreateDTOEventNameEnum = {
193
196
  PlayerDeleted: 'player-deleted',
194
197
  ShopActionExecuted: 'shop-action-executed',
195
198
  PlayerInventoryChanged: 'player-inventory-changed',
199
+ PlayerLevelChanged: 'player-level-changed',
196
200
  EventRateLimited: 'event-rate-limited',
197
201
  PlayerSyncSnapshot: 'player-sync-snapshot',
198
202
  InviteLinkCreated: 'invite-link-created',
@@ -214,6 +218,15 @@ export const EventCreateDTOEventNameEnum = {
214
218
  PlayerDeath: 'player-death',
215
219
  EntityKilled: 'entity-killed',
216
220
  };
221
+ export const EventInventoryChangedCauseEnum = {
222
+ Pickup: 'pickup',
223
+ Drop: 'drop',
224
+ Craft: 'craft',
225
+ Loot: 'loot',
226
+ Trade: 'trade',
227
+ Death: 'death',
228
+ Other: 'other',
229
+ };
217
230
  export const EventOutputDTOEventNameEnum = {
218
231
  RoleAssigned: 'role-assigned',
219
232
  RoleRemoved: 'role-removed',
@@ -230,6 +243,7 @@ export const EventOutputDTOEventNameEnum = {
230
243
  SettingsSet: 'settings-set',
231
244
  PlayerNewIpDetected: 'player-new-ip-detected',
232
245
  PlayerNewNameDetected: 'player-new-name-detected',
246
+ PlayerIdentityConflict: 'player-identity-conflict',
233
247
  ServerStatusChanged: 'server-status-changed',
234
248
  ModuleCreated: 'module-created',
235
249
  ModuleUpdated: 'module-updated',
@@ -244,6 +258,8 @@ export const EventOutputDTOEventNameEnum = {
244
258
  ShopOrderStatusChanged: 'shop-order-status-changed',
245
259
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
246
260
  PlayerLinked: 'player-linked',
261
+ PlayerUnlinked: 'player-unlinked',
262
+ PlayerMerged: 'player-merged',
247
263
  GameserverCreated: 'gameserver-created',
248
264
  GameserverUpdated: 'gameserver-updated',
249
265
  GameserverVersionChanged: 'gameserver-version-changed',
@@ -253,6 +269,7 @@ export const EventOutputDTOEventNameEnum = {
253
269
  PlayerDeleted: 'player-deleted',
254
270
  ShopActionExecuted: 'shop-action-executed',
255
271
  PlayerInventoryChanged: 'player-inventory-changed',
272
+ PlayerLevelChanged: 'player-level-changed',
256
273
  EventRateLimited: 'event-rate-limited',
257
274
  PlayerSyncSnapshot: 'player-sync-snapshot',
258
275
  InviteLinkCreated: 'invite-link-created',
@@ -281,6 +298,7 @@ export const FixtureHistoryConflictDTOKindEnum = {
281
298
  export const FixtureHistoryDeleteInputDTOStoreEnum = {
282
299
  Analytics: 'analytics',
283
300
  Postgres: 'postgres',
301
+ Tracking: 'tracking',
284
302
  };
285
303
  export const FixtureHistoryEventDTOEventNameEnum = {
286
304
  PlayerConnected: 'player-connected',
@@ -299,6 +317,20 @@ export const FixtureHistoryOrderDTOStatusEnum = {
299
317
  Completed: 'COMPLETED',
300
318
  Canceled: 'CANCELED',
301
319
  };
320
+ export const FixtureHistoryTrackingChangeDTOChangeTypeEnum = {
321
+ Added: 'added',
322
+ Removed: 'removed',
323
+ Changed: 'changed',
324
+ };
325
+ export const FixtureHistoryTrackingChangeDTOCauseEnum = {
326
+ Pickup: 'pickup',
327
+ Drop: 'drop',
328
+ Craft: 'craft',
329
+ Loot: 'loot',
330
+ Trade: 'trade',
331
+ Death: 'death',
332
+ Other: 'other',
333
+ };
302
334
  export const GameServerCreateDTOTypeEnum = {
303
335
  Sevendaystodie: 'SEVENDAYSTODIE',
304
336
  Rust: 'RUST',
@@ -345,6 +377,7 @@ export const GetJobInputDTOTypeEnum = {
345
377
  SyncItems: 'syncItems',
346
378
  SyncEntities: 'syncEntities',
347
379
  SyncBans: 'syncBans',
380
+ SyncLocations: 'syncLocations',
348
381
  SyncMapImages: 'syncMapImages',
349
382
  SyncMapUploads: 'syncMapUploads',
350
383
  SyncGameIcons: 'syncGameIcons',
@@ -354,6 +387,7 @@ export const GetJobInputDTOTypeEnum = {
354
387
  CleanRevokedApiKeys: 'cleanRevokedApiKeys',
355
388
  CleanExecutionClaims: 'cleanExecutionClaims',
356
389
  DeleteClickHouseEvents: 'deleteClickHouseEvents',
390
+ RepointClickHouseEvents: 'repointClickHouseEvents',
357
391
  CleanConnectorMigrations: 'cleanConnectorMigrations',
358
392
  };
359
393
  export const HookCreateDTOEventTypeEnum = {
@@ -379,6 +413,7 @@ export const HookCreateDTOEventTypeEnum = {
379
413
  SettingsSet: 'settings-set',
380
414
  PlayerNewIpDetected: 'player-new-ip-detected',
381
415
  PlayerNewNameDetected: 'player-new-name-detected',
416
+ PlayerIdentityConflict: 'player-identity-conflict',
382
417
  ServerStatusChanged: 'server-status-changed',
383
418
  ModuleCreated: 'module-created',
384
419
  ModuleUpdated: 'module-updated',
@@ -393,6 +428,8 @@ export const HookCreateDTOEventTypeEnum = {
393
428
  ShopOrderStatusChanged: 'shop-order-status-changed',
394
429
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
395
430
  PlayerLinked: 'player-linked',
431
+ PlayerUnlinked: 'player-unlinked',
432
+ PlayerMerged: 'player-merged',
396
433
  GameserverCreated: 'gameserver-created',
397
434
  GameserverUpdated: 'gameserver-updated',
398
435
  GameserverVersionChanged: 'gameserver-version-changed',
@@ -402,6 +439,7 @@ export const HookCreateDTOEventTypeEnum = {
402
439
  PlayerDeleted: 'player-deleted',
403
440
  ShopActionExecuted: 'shop-action-executed',
404
441
  PlayerInventoryChanged: 'player-inventory-changed',
442
+ PlayerLevelChanged: 'player-level-changed',
405
443
  EventRateLimited: 'event-rate-limited',
406
444
  PlayerSyncSnapshot: 'player-sync-snapshot',
407
445
  InviteLinkCreated: 'invite-link-created',
@@ -441,6 +479,7 @@ export const HookOutputDTOEventTypeEnum = {
441
479
  SettingsSet: 'settings-set',
442
480
  PlayerNewIpDetected: 'player-new-ip-detected',
443
481
  PlayerNewNameDetected: 'player-new-name-detected',
482
+ PlayerIdentityConflict: 'player-identity-conflict',
444
483
  ServerStatusChanged: 'server-status-changed',
445
484
  ModuleCreated: 'module-created',
446
485
  ModuleUpdated: 'module-updated',
@@ -455,6 +494,8 @@ export const HookOutputDTOEventTypeEnum = {
455
494
  ShopOrderStatusChanged: 'shop-order-status-changed',
456
495
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
457
496
  PlayerLinked: 'player-linked',
497
+ PlayerUnlinked: 'player-unlinked',
498
+ PlayerMerged: 'player-merged',
458
499
  GameserverCreated: 'gameserver-created',
459
500
  GameserverUpdated: 'gameserver-updated',
460
501
  GameserverVersionChanged: 'gameserver-version-changed',
@@ -464,6 +505,7 @@ export const HookOutputDTOEventTypeEnum = {
464
505
  PlayerDeleted: 'player-deleted',
465
506
  ShopActionExecuted: 'shop-action-executed',
466
507
  PlayerInventoryChanged: 'player-inventory-changed',
508
+ PlayerLevelChanged: 'player-level-changed',
467
509
  EventRateLimited: 'event-rate-limited',
468
510
  PlayerSyncSnapshot: 'player-sync-snapshot',
469
511
  InviteLinkCreated: 'invite-link-created',
@@ -503,6 +545,7 @@ export const HookTriggerDTOEventTypeEnum = {
503
545
  SettingsSet: 'settings-set',
504
546
  PlayerNewIpDetected: 'player-new-ip-detected',
505
547
  PlayerNewNameDetected: 'player-new-name-detected',
548
+ PlayerIdentityConflict: 'player-identity-conflict',
506
549
  ServerStatusChanged: 'server-status-changed',
507
550
  ModuleCreated: 'module-created',
508
551
  ModuleUpdated: 'module-updated',
@@ -517,6 +560,8 @@ export const HookTriggerDTOEventTypeEnum = {
517
560
  ShopOrderStatusChanged: 'shop-order-status-changed',
518
561
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
519
562
  PlayerLinked: 'player-linked',
563
+ PlayerUnlinked: 'player-unlinked',
564
+ PlayerMerged: 'player-merged',
520
565
  GameserverCreated: 'gameserver-created',
521
566
  GameserverUpdated: 'gameserver-updated',
522
567
  GameserverVersionChanged: 'gameserver-version-changed',
@@ -526,6 +571,7 @@ export const HookTriggerDTOEventTypeEnum = {
526
571
  PlayerDeleted: 'player-deleted',
527
572
  ShopActionExecuted: 'shop-action-executed',
528
573
  PlayerInventoryChanged: 'player-inventory-changed',
574
+ PlayerLevelChanged: 'player-level-changed',
529
575
  EventRateLimited: 'event-rate-limited',
530
576
  PlayerSyncSnapshot: 'player-sync-snapshot',
531
577
  InviteLinkCreated: 'invite-link-created',
@@ -565,6 +611,7 @@ export const HookUpdateDTOEventTypeEnum = {
565
611
  SettingsSet: 'settings-set',
566
612
  PlayerNewIpDetected: 'player-new-ip-detected',
567
613
  PlayerNewNameDetected: 'player-new-name-detected',
614
+ PlayerIdentityConflict: 'player-identity-conflict',
568
615
  ServerStatusChanged: 'server-status-changed',
569
616
  ModuleCreated: 'module-created',
570
617
  ModuleUpdated: 'module-updated',
@@ -579,6 +626,8 @@ export const HookUpdateDTOEventTypeEnum = {
579
626
  ShopOrderStatusChanged: 'shop-order-status-changed',
580
627
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
581
628
  PlayerLinked: 'player-linked',
629
+ PlayerUnlinked: 'player-unlinked',
630
+ PlayerMerged: 'player-merged',
582
631
  GameserverCreated: 'gameserver-created',
583
632
  GameserverUpdated: 'gameserver-updated',
584
633
  GameserverVersionChanged: 'gameserver-version-changed',
@@ -588,6 +637,7 @@ export const HookUpdateDTOEventTypeEnum = {
588
637
  PlayerDeleted: 'player-deleted',
589
638
  ShopActionExecuted: 'shop-action-executed',
590
639
  PlayerInventoryChanged: 'player-inventory-changed',
640
+ PlayerLevelChanged: 'player-level-changed',
591
641
  EventRateLimited: 'event-rate-limited',
592
642
  PlayerSyncSnapshot: 'player-sync-snapshot',
593
643
  InviteLinkCreated: 'invite-link-created',
@@ -632,6 +682,7 @@ export const IHookEventTypeEnum = {
632
682
  SettingsSet: 'settings-set',
633
683
  PlayerNewIpDetected: 'player-new-ip-detected',
634
684
  PlayerNewNameDetected: 'player-new-name-detected',
685
+ PlayerIdentityConflict: 'player-identity-conflict',
635
686
  ServerStatusChanged: 'server-status-changed',
636
687
  ModuleCreated: 'module-created',
637
688
  ModuleUpdated: 'module-updated',
@@ -646,6 +697,8 @@ export const IHookEventTypeEnum = {
646
697
  ShopOrderStatusChanged: 'shop-order-status-changed',
647
698
  ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
648
699
  PlayerLinked: 'player-linked',
700
+ PlayerUnlinked: 'player-unlinked',
701
+ PlayerMerged: 'player-merged',
649
702
  GameserverCreated: 'gameserver-created',
650
703
  GameserverUpdated: 'gameserver-updated',
651
704
  GameserverVersionChanged: 'gameserver-version-changed',
@@ -655,6 +708,7 @@ export const IHookEventTypeEnum = {
655
708
  PlayerDeleted: 'player-deleted',
656
709
  ShopActionExecuted: 'shop-action-executed',
657
710
  PlayerInventoryChanged: 'player-inventory-changed',
711
+ PlayerLevelChanged: 'player-level-changed',
658
712
  EventRateLimited: 'event-rate-limited',
659
713
  PlayerSyncSnapshot: 'player-sync-snapshot',
660
714
  InviteLinkCreated: 'invite-link-created',
@@ -675,6 +729,29 @@ export const ITakaroQuerySortDirectionEnum = {
675
729
  Asc: 'asc',
676
730
  Desc: 'desc',
677
731
  };
732
+ export const InventoryChangeCounterpartDTOKindEnum = {
733
+ Container: 'container',
734
+ Player: 'player',
735
+ };
736
+ export const InventoryChangeDTOChangeTypeEnum = {
737
+ Added: 'added',
738
+ Removed: 'removed',
739
+ Changed: 'changed',
740
+ };
741
+ export const InventoryChangeDTOCauseEnum = {
742
+ Pickup: 'pickup',
743
+ Drop: 'drop',
744
+ Craft: 'craft',
745
+ Loot: 'loot',
746
+ Trade: 'trade',
747
+ Death: 'death',
748
+ Other: 'other',
749
+ Unknown: 'unknown',
750
+ };
751
+ export const InventoryCounterpartDTOKindEnum = {
752
+ Container: 'container',
753
+ Player: 'player',
754
+ };
678
755
  export const InviteLinkCreateResultDTOStatusEnum = {
679
756
  Active: 'ACTIVE',
680
757
  Revoked: 'REVOKED',
@@ -780,6 +857,8 @@ export const PERMISSIONS = {
780
857
  ViewDiscordInfo: 'VIEW_DISCORD_INFO',
781
858
  SendDiscordMessage: 'SEND_DISCORD_MESSAGE',
782
859
  ManageApiKeys: 'MANAGE_API_KEYS',
860
+ ReadMap: 'READ_MAP',
861
+ ReadTracking: 'READ_TRACKING',
783
862
  };
784
863
  export const PlanChangeOutputDTOActionEnum = {
785
864
  Create: 'create',
@@ -813,6 +892,15 @@ export const PlayerSearchInputDTOSortDirectionEnum = {
813
892
  Asc: 'asc',
814
893
  Desc: 'desc',
815
894
  };
895
+ export const PogProgressionOutputDTOSourceEnum = {
896
+ Server: 'server',
897
+ ClientReported: 'client-reported',
898
+ };
899
+ export const PositionAreaShapeDTOTypeEnum = {
900
+ Circle: 'circle',
901
+ Rectangle: 'rectangle',
902
+ Polygon: 'polygon',
903
+ };
816
904
  export const RecentOrderDTOStatusEnum = {
817
905
  Completed: 'COMPLETED',
818
906
  Paid: 'PAID',
@@ -985,16 +1073,76 @@ export const TakaroEventDomainCreatedOriginEnum = {
985
1073
  Subscription: 'subscription',
986
1074
  AdminSecret: 'admin_secret',
987
1075
  };
1076
+ export const TakaroEventInventoryCounterpartKindEnum = {
1077
+ Container: 'container',
1078
+ Player: 'player',
1079
+ };
988
1080
  export const TakaroEventItemsGivenLineResultEnum = {
989
1081
  Delivered: 'DELIVERED',
990
1082
  Failed: 'FAILED',
991
1083
  Unknown: 'UNKNOWN',
992
1084
  };
1085
+ export const TakaroEventPlayerIdentityConflictUnwrittenIdentifiersEnum = {
1086
+ SteamId: 'steamId',
1087
+ EpicOnlineServicesId: 'epicOnlineServicesId',
1088
+ XboxLiveId: 'xboxLiveId',
1089
+ PlatformId: 'platformId',
1090
+ };
1091
+ export const TakaroEventPlayerIdentityConflictMatchMatchedOnEnum = {
1092
+ SteamId: 'steamId',
1093
+ EpicOnlineServicesId: 'epicOnlineServicesId',
1094
+ XboxLiveId: 'xboxLiveId',
1095
+ PlatformId: 'platformId',
1096
+ };
993
1097
  export const TakaroEventPlayerInventoryChangedChangeTypeEnum = {
994
1098
  Added: 'added',
995
1099
  Removed: 'removed',
996
1100
  Changed: 'changed',
997
1101
  };
1102
+ export const TakaroEventPlayerInventoryChangedCauseEnum = {
1103
+ Pickup: 'pickup',
1104
+ Drop: 'drop',
1105
+ Craft: 'craft',
1106
+ Loot: 'loot',
1107
+ Trade: 'trade',
1108
+ Death: 'death',
1109
+ Other: 'other',
1110
+ };
1111
+ export const TakaroEventPlayerLevelChangedDirectionEnum = {
1112
+ Up: 'up',
1113
+ Down: 'down',
1114
+ };
1115
+ export const TakaroEventPlayerLevelChangedSourceEnum = {
1116
+ Server: 'server',
1117
+ ClientReported: 'client-reported',
1118
+ };
1119
+ export const TakaroEventPlayerLinkedSourceEnum = {
1120
+ GameCode: 'game-code',
1121
+ WebCode: 'web-code',
1122
+ SteamAuto: 'steam-auto',
1123
+ Admin: 'admin',
1124
+ Unknown: 'unknown',
1125
+ };
1126
+ export const TakaroEventPlayerMergedMovedIdentifiersEnum = {
1127
+ SteamId: 'steamId',
1128
+ EpicOnlineServicesId: 'epicOnlineServicesId',
1129
+ XboxLiveId: 'xboxLiveId',
1130
+ PlatformId: 'platformId',
1131
+ };
1132
+ export const TakaroEventPlayerMergedServerOutcomeEnum = {
1133
+ Moved: 'moved',
1134
+ Combined: 'combined',
1135
+ };
1136
+ export const TakaroEventPlayerMergedServerKeptPogFromEnum = {
1137
+ Survivor: 'survivor',
1138
+ Absorbed: 'absorbed',
1139
+ };
1140
+ export const TakaroEventPlayerUnlinkedReasonEnum = {
1141
+ Self: 'self',
1142
+ Admin: 'admin',
1143
+ Displaced: 'displaced',
1144
+ Merged: 'merged',
1145
+ };
998
1146
  export const TakaroEventRateLimitedScopeEnum = {
999
1147
  Server: 'server',
1000
1148
  Domain: 'domain',
@@ -1139,12 +1287,27 @@ export const TriggerJobInputDTOTypeEnum = {
1139
1287
  SyncItems: 'syncItems',
1140
1288
  SyncEntities: 'syncEntities',
1141
1289
  SyncBans: 'syncBans',
1290
+ SyncLocations: 'syncLocations',
1142
1291
  SyncMapImages: 'syncMapImages',
1143
1292
  SyncMapUploads: 'syncMapUploads',
1144
1293
  SyncGameIcons: 'syncGameIcons',
1145
1294
  SyncSteam: 'syncSteam',
1146
1295
  SyncDiscordRoles: 'syncDiscordRoles',
1147
1296
  };
1297
+ export const UserOutputDTOPlayerLinkSourceEnum = {
1298
+ GameCode: 'game-code',
1299
+ WebCode: 'web-code',
1300
+ SteamAuto: 'steam-auto',
1301
+ Admin: 'admin',
1302
+ Unknown: 'unknown',
1303
+ };
1304
+ export const UserOutputWithRolesDTOPlayerLinkSourceEnum = {
1305
+ GameCode: 'game-code',
1306
+ WebCode: 'web-code',
1307
+ SteamAuto: 'steam-auto',
1308
+ Admin: 'admin',
1309
+ Unknown: 'unknown',
1310
+ };
1148
1311
  export const UserSearchInputDTOExtendEnum = {
1149
1312
  Roles: 'roles',
1150
1313
  };
@@ -3030,6 +3193,40 @@ export const DomainApiAxiosParamCreator = function (configuration) {
3030
3193
  options: localVarRequestOptions,
3031
3194
  };
3032
3195
  },
3196
+ /**
3197
+ * 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`
3198
+ * @summary Put an Unbacked domain on a Plan
3199
+ * @param {string} id
3200
+ * @param {StaffDomainPlanInputDTO} [staffDomainPlanInputDTO] StaffDomainPlanInputDTO
3201
+ * @param {*} [options] Override http request option.
3202
+ * @throws {RequiredError}
3203
+ */
3204
+ domainControllerSetPlanByStaff: async (id, staffDomainPlanInputDTO, options = {}) => {
3205
+ // verify required parameter 'id' is not null or undefined
3206
+ assertParamExists('domainControllerSetPlanByStaff', 'id', id);
3207
+ const localVarPath = `/staff/domains/{id}/plan`.replace(`{${'id'}}`, encodeURIComponent(String(id)));
3208
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
3209
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3210
+ let baseOptions;
3211
+ if (configuration) {
3212
+ baseOptions = configuration.baseOptions;
3213
+ }
3214
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options };
3215
+ const localVarHeaderParameter = {};
3216
+ const localVarQueryParameter = {};
3217
+ // authentication staffSession required
3218
+ // authentication adminAuth required
3219
+ await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
3220
+ localVarHeaderParameter['Content-Type'] = 'application/json';
3221
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
3222
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3223
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
3224
+ localVarRequestOptions.data = serializeDataIfNeeded(staffDomainPlanInputDTO, localVarRequestOptions, configuration);
3225
+ return {
3226
+ url: toPathString(localVarUrlObj),
3227
+ options: localVarRequestOptions,
3228
+ };
3229
+ },
3033
3230
  /**
3034
3231
  * <br> OperationId: `DomainControllerUpdate`
3035
3232
  * @summary Update
@@ -3207,6 +3404,20 @@ export const DomainApiFp = function (configuration) {
3207
3404
  const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerSetPlan']?.[localVarOperationServerIndex]?.url;
3208
3405
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3209
3406
  },
3407
+ /**
3408
+ * 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`
3409
+ * @summary Put an Unbacked domain on a Plan
3410
+ * @param {string} id
3411
+ * @param {StaffDomainPlanInputDTO} [staffDomainPlanInputDTO] StaffDomainPlanInputDTO
3412
+ * @param {*} [options] Override http request option.
3413
+ * @throws {RequiredError}
3414
+ */
3415
+ async domainControllerSetPlanByStaff(id, staffDomainPlanInputDTO, options) {
3416
+ const localVarAxiosArgs = await localVarAxiosParamCreator.domainControllerSetPlanByStaff(id, staffDomainPlanInputDTO, options);
3417
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
3418
+ const localVarOperationServerBasePath = operationServerMap['DomainApi.domainControllerSetPlanByStaff']?.[localVarOperationServerIndex]?.url;
3419
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
3420
+ },
3210
3421
  /**
3211
3422
  * <br> OperationId: `DomainControllerUpdate`
3212
3423
  * @summary Update
@@ -3346,6 +3557,19 @@ export const DomainApiFactory = function (configuration, basePath, axios) {
3346
3557
  .domainControllerSetPlan(id, domainPlanInputDTO, options)
3347
3558
  .then((request) => request(axios, basePath));
3348
3559
  },
3560
+ /**
3561
+ * 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`
3562
+ * @summary Put an Unbacked domain on a Plan
3563
+ * @param {string} id
3564
+ * @param {StaffDomainPlanInputDTO} [staffDomainPlanInputDTO] StaffDomainPlanInputDTO
3565
+ * @param {*} [options] Override http request option.
3566
+ * @throws {RequiredError}
3567
+ */
3568
+ domainControllerSetPlanByStaff(id, staffDomainPlanInputDTO, options) {
3569
+ return localVarFp
3570
+ .domainControllerSetPlanByStaff(id, staffDomainPlanInputDTO, options)
3571
+ .then((request) => request(axios, basePath));
3572
+ },
3349
3573
  /**
3350
3574
  * <br> OperationId: `DomainControllerUpdate`
3351
3575
  * @summary Update
@@ -3502,6 +3726,20 @@ export class DomainApi extends BaseAPI {
3502
3726
  .domainControllerSetPlan(id, domainPlanInputDTO, options)
3503
3727
  .then((request) => request(this.axios, this.basePath));
3504
3728
  }
3729
+ /**
3730
+ * 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`
3731
+ * @summary Put an Unbacked domain on a Plan
3732
+ * @param {string} id
3733
+ * @param {StaffDomainPlanInputDTO} [staffDomainPlanInputDTO] StaffDomainPlanInputDTO
3734
+ * @param {*} [options] Override http request option.
3735
+ * @throws {RequiredError}
3736
+ * @memberof DomainApi
3737
+ */
3738
+ domainControllerSetPlanByStaff(id, staffDomainPlanInputDTO, options) {
3739
+ return DomainApiFp(this.configuration)
3740
+ .domainControllerSetPlanByStaff(id, staffDomainPlanInputDTO, options)
3741
+ .then((request) => request(this.axios, this.basePath));
3742
+ }
3505
3743
  /**
3506
3744
  * <br> OperationId: `DomainControllerUpdate`
3507
3745
  * @summary Update
@@ -3974,6 +4212,72 @@ export const FixtureHistoryApiAxiosParamCreator = function (configuration) {
3974
4212
  options: localVarRequestOptions,
3975
4213
  };
3976
4214
  },
4215
+ /**
4216
+ * <br> OperationId: `FixtureHistoryControllerTrackingInventory`
4217
+ * @summary Write owned, back-dated inventory snapshots and changes into the Tracking store (idempotent on id)
4218
+ * @param {string} domainId
4219
+ * @param {FixtureHistoryTrackingInventoryInputDTO} [fixtureHistoryTrackingInventoryInputDTO] FixtureHistoryTrackingInventoryInputDTO
4220
+ * @param {*} [options] Override http request option.
4221
+ * @throws {RequiredError}
4222
+ */
4223
+ fixtureHistoryControllerTrackingInventory: async (domainId, fixtureHistoryTrackingInventoryInputDTO, options = {}) => {
4224
+ // verify required parameter 'domainId' is not null or undefined
4225
+ assertParamExists('fixtureHistoryControllerTrackingInventory', 'domainId', domainId);
4226
+ const localVarPath = `/fixture-history/domains/{domainId}/tracking/inventory`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
4227
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4228
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4229
+ let baseOptions;
4230
+ if (configuration) {
4231
+ baseOptions = configuration.baseOptions;
4232
+ }
4233
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4234
+ const localVarHeaderParameter = {};
4235
+ const localVarQueryParameter = {};
4236
+ // authentication adminAuth required
4237
+ await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
4238
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4239
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4240
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4241
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4242
+ localVarRequestOptions.data = serializeDataIfNeeded(fixtureHistoryTrackingInventoryInputDTO, localVarRequestOptions, configuration);
4243
+ return {
4244
+ url: toPathString(localVarUrlObj),
4245
+ options: localVarRequestOptions,
4246
+ };
4247
+ },
4248
+ /**
4249
+ * Columnar: each track is one player-on-gameserver with flattened x, y, z triples sampled every intervalMs from `from`.<br> OperationId: `FixtureHistoryControllerTrackingPositions`
4250
+ * @summary Write owned, back-dated walked paths into the Tracking store (inserts only missing samples)
4251
+ * @param {string} domainId
4252
+ * @param {FixtureHistoryTrackingPositionsInputDTO} [fixtureHistoryTrackingPositionsInputDTO] FixtureHistoryTrackingPositionsInputDTO
4253
+ * @param {*} [options] Override http request option.
4254
+ * @throws {RequiredError}
4255
+ */
4256
+ fixtureHistoryControllerTrackingPositions: async (domainId, fixtureHistoryTrackingPositionsInputDTO, options = {}) => {
4257
+ // verify required parameter 'domainId' is not null or undefined
4258
+ assertParamExists('fixtureHistoryControllerTrackingPositions', 'domainId', domainId);
4259
+ const localVarPath = `/fixture-history/domains/{domainId}/tracking/positions`.replace(`{${'domainId'}}`, encodeURIComponent(String(domainId)));
4260
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
4261
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4262
+ let baseOptions;
4263
+ if (configuration) {
4264
+ baseOptions = configuration.baseOptions;
4265
+ }
4266
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options };
4267
+ const localVarHeaderParameter = {};
4268
+ const localVarQueryParameter = {};
4269
+ // authentication adminAuth required
4270
+ await setApiKeyToObject(localVarHeaderParameter, 'x-takaro-admin-token', configuration);
4271
+ localVarHeaderParameter['Content-Type'] = 'application/json';
4272
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
4273
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
4274
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
4275
+ localVarRequestOptions.data = serializeDataIfNeeded(fixtureHistoryTrackingPositionsInputDTO, localVarRequestOptions, configuration);
4276
+ return {
4277
+ url: toPathString(localVarUrlObj),
4278
+ options: localVarRequestOptions,
4279
+ };
4280
+ },
3977
4281
  };
3978
4282
  };
3979
4283
  /**
@@ -4172,6 +4476,34 @@ export const FixtureHistoryApiFp = function (configuration) {
4172
4476
  ?.url;
4173
4477
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4174
4478
  },
4479
+ /**
4480
+ * <br> OperationId: `FixtureHistoryControllerTrackingInventory`
4481
+ * @summary Write owned, back-dated inventory snapshots and changes into the Tracking store (idempotent on id)
4482
+ * @param {string} domainId
4483
+ * @param {FixtureHistoryTrackingInventoryInputDTO} [fixtureHistoryTrackingInventoryInputDTO] FixtureHistoryTrackingInventoryInputDTO
4484
+ * @param {*} [options] Override http request option.
4485
+ * @throws {RequiredError}
4486
+ */
4487
+ async fixtureHistoryControllerTrackingInventory(domainId, fixtureHistoryTrackingInventoryInputDTO, options) {
4488
+ const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerTrackingInventory(domainId, fixtureHistoryTrackingInventoryInputDTO, options);
4489
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4490
+ const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerTrackingInventory']?.[localVarOperationServerIndex]?.url;
4491
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4492
+ },
4493
+ /**
4494
+ * Columnar: each track is one player-on-gameserver with flattened x, y, z triples sampled every intervalMs from `from`.<br> OperationId: `FixtureHistoryControllerTrackingPositions`
4495
+ * @summary Write owned, back-dated walked paths into the Tracking store (inserts only missing samples)
4496
+ * @param {string} domainId
4497
+ * @param {FixtureHistoryTrackingPositionsInputDTO} [fixtureHistoryTrackingPositionsInputDTO] FixtureHistoryTrackingPositionsInputDTO
4498
+ * @param {*} [options] Override http request option.
4499
+ * @throws {RequiredError}
4500
+ */
4501
+ async fixtureHistoryControllerTrackingPositions(domainId, fixtureHistoryTrackingPositionsInputDTO, options) {
4502
+ const localVarAxiosArgs = await localVarAxiosParamCreator.fixtureHistoryControllerTrackingPositions(domainId, fixtureHistoryTrackingPositionsInputDTO, options);
4503
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
4504
+ const localVarOperationServerBasePath = operationServerMap['FixtureHistoryApi.fixtureHistoryControllerTrackingPositions']?.[localVarOperationServerIndex]?.url;
4505
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
4506
+ },
4175
4507
  };
4176
4508
  };
4177
4509
  /**
@@ -4353,6 +4685,32 @@ export const FixtureHistoryApiFactory = function (configuration, basePath, axios
4353
4685
  .fixtureHistoryControllerTerminalState(domainId, fixtureDatasetId, cursor, options)
4354
4686
  .then((request) => request(axios, basePath));
4355
4687
  },
4688
+ /**
4689
+ * <br> OperationId: `FixtureHistoryControllerTrackingInventory`
4690
+ * @summary Write owned, back-dated inventory snapshots and changes into the Tracking store (idempotent on id)
4691
+ * @param {string} domainId
4692
+ * @param {FixtureHistoryTrackingInventoryInputDTO} [fixtureHistoryTrackingInventoryInputDTO] FixtureHistoryTrackingInventoryInputDTO
4693
+ * @param {*} [options] Override http request option.
4694
+ * @throws {RequiredError}
4695
+ */
4696
+ fixtureHistoryControllerTrackingInventory(domainId, fixtureHistoryTrackingInventoryInputDTO, options) {
4697
+ return localVarFp
4698
+ .fixtureHistoryControllerTrackingInventory(domainId, fixtureHistoryTrackingInventoryInputDTO, options)
4699
+ .then((request) => request(axios, basePath));
4700
+ },
4701
+ /**
4702
+ * Columnar: each track is one player-on-gameserver with flattened x, y, z triples sampled every intervalMs from `from`.<br> OperationId: `FixtureHistoryControllerTrackingPositions`
4703
+ * @summary Write owned, back-dated walked paths into the Tracking store (inserts only missing samples)
4704
+ * @param {string} domainId
4705
+ * @param {FixtureHistoryTrackingPositionsInputDTO} [fixtureHistoryTrackingPositionsInputDTO] FixtureHistoryTrackingPositionsInputDTO
4706
+ * @param {*} [options] Override http request option.
4707
+ * @throws {RequiredError}
4708
+ */
4709
+ fixtureHistoryControllerTrackingPositions(domainId, fixtureHistoryTrackingPositionsInputDTO, options) {
4710
+ return localVarFp
4711
+ .fixtureHistoryControllerTrackingPositions(domainId, fixtureHistoryTrackingPositionsInputDTO, options)
4712
+ .then((request) => request(axios, basePath));
4713
+ },
4356
4714
  };
4357
4715
  };
4358
4716
  /**
@@ -4547,6 +4905,34 @@ export class FixtureHistoryApi extends BaseAPI {
4547
4905
  .fixtureHistoryControllerTerminalState(domainId, fixtureDatasetId, cursor, options)
4548
4906
  .then((request) => request(this.axios, this.basePath));
4549
4907
  }
4908
+ /**
4909
+ * <br> OperationId: `FixtureHistoryControllerTrackingInventory`
4910
+ * @summary Write owned, back-dated inventory snapshots and changes into the Tracking store (idempotent on id)
4911
+ * @param {string} domainId
4912
+ * @param {FixtureHistoryTrackingInventoryInputDTO} [fixtureHistoryTrackingInventoryInputDTO] FixtureHistoryTrackingInventoryInputDTO
4913
+ * @param {*} [options] Override http request option.
4914
+ * @throws {RequiredError}
4915
+ * @memberof FixtureHistoryApi
4916
+ */
4917
+ fixtureHistoryControllerTrackingInventory(domainId, fixtureHistoryTrackingInventoryInputDTO, options) {
4918
+ return FixtureHistoryApiFp(this.configuration)
4919
+ .fixtureHistoryControllerTrackingInventory(domainId, fixtureHistoryTrackingInventoryInputDTO, options)
4920
+ .then((request) => request(this.axios, this.basePath));
4921
+ }
4922
+ /**
4923
+ * Columnar: each track is one player-on-gameserver with flattened x, y, z triples sampled every intervalMs from `from`.<br> OperationId: `FixtureHistoryControllerTrackingPositions`
4924
+ * @summary Write owned, back-dated walked paths into the Tracking store (inserts only missing samples)
4925
+ * @param {string} domainId
4926
+ * @param {FixtureHistoryTrackingPositionsInputDTO} [fixtureHistoryTrackingPositionsInputDTO] FixtureHistoryTrackingPositionsInputDTO
4927
+ * @param {*} [options] Override http request option.
4928
+ * @throws {RequiredError}
4929
+ * @memberof FixtureHistoryApi
4930
+ */
4931
+ fixtureHistoryControllerTrackingPositions(domainId, fixtureHistoryTrackingPositionsInputDTO, options) {
4932
+ return FixtureHistoryApiFp(this.configuration)
4933
+ .fixtureHistoryControllerTrackingPositions(domainId, fixtureHistoryTrackingPositionsInputDTO, options)
4934
+ .then((request) => request(this.axios, this.basePath));
4935
+ }
4550
4936
  }
4551
4937
  /**
4552
4938
  * MetaApi - axios parameter creator