@takaro/apiclient 0.0.0-dev.e0b130e → 0.0.0-dev.e1347f2
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.
- package/dist/.source-hash +1 -1
- package/dist/generated/api.d.ts +4700 -96
- package/dist/generated/api.d.ts.map +1 -1
- package/dist/generated/api.js +2131 -171
- package/dist/generated/api.js.map +1 -1
- package/dist/generated-management/api.d.ts +7949 -5713
- package/dist/generated-management/api.d.ts.map +1 -1
- package/dist/generated-management/api.js +292 -0
- package/dist/generated-management/api.js.map +1 -1
- package/dist/lib/client.d.ts +3 -1
- package/dist/lib/client.d.ts.map +1 -1
- package/dist/lib/client.js +20 -9
- package/dist/lib/client.js.map +1 -1
- package/dist/main.d.ts +1 -1
- package/dist/main.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -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',
|
|
@@ -214,6 +217,15 @@ export const EventCreateDTOEventNameEnum = {
|
|
|
214
217
|
PlayerDeath: 'player-death',
|
|
215
218
|
EntityKilled: 'entity-killed',
|
|
216
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
|
+
};
|
|
217
229
|
export const EventOutputDTOEventNameEnum = {
|
|
218
230
|
RoleAssigned: 'role-assigned',
|
|
219
231
|
RoleRemoved: 'role-removed',
|
|
@@ -230,6 +242,7 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
230
242
|
SettingsSet: 'settings-set',
|
|
231
243
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
232
244
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
245
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
233
246
|
ServerStatusChanged: 'server-status-changed',
|
|
234
247
|
ModuleCreated: 'module-created',
|
|
235
248
|
ModuleUpdated: 'module-updated',
|
|
@@ -244,6 +257,8 @@ export const EventOutputDTOEventNameEnum = {
|
|
|
244
257
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
245
258
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
246
259
|
PlayerLinked: 'player-linked',
|
|
260
|
+
PlayerUnlinked: 'player-unlinked',
|
|
261
|
+
PlayerMerged: 'player-merged',
|
|
247
262
|
GameserverCreated: 'gameserver-created',
|
|
248
263
|
GameserverUpdated: 'gameserver-updated',
|
|
249
264
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -281,6 +296,7 @@ export const FixtureHistoryConflictDTOKindEnum = {
|
|
|
281
296
|
export const FixtureHistoryDeleteInputDTOStoreEnum = {
|
|
282
297
|
Analytics: 'analytics',
|
|
283
298
|
Postgres: 'postgres',
|
|
299
|
+
Tracking: 'tracking',
|
|
284
300
|
};
|
|
285
301
|
export const FixtureHistoryEventDTOEventNameEnum = {
|
|
286
302
|
PlayerConnected: 'player-connected',
|
|
@@ -299,6 +315,20 @@ export const FixtureHistoryOrderDTOStatusEnum = {
|
|
|
299
315
|
Completed: 'COMPLETED',
|
|
300
316
|
Canceled: 'CANCELED',
|
|
301
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
|
+
};
|
|
302
332
|
export const GameServerCreateDTOTypeEnum = {
|
|
303
333
|
Sevendaystodie: 'SEVENDAYSTODIE',
|
|
304
334
|
Rust: 'RUST',
|
|
@@ -345,6 +375,7 @@ export const GetJobInputDTOTypeEnum = {
|
|
|
345
375
|
SyncItems: 'syncItems',
|
|
346
376
|
SyncEntities: 'syncEntities',
|
|
347
377
|
SyncBans: 'syncBans',
|
|
378
|
+
SyncLocations: 'syncLocations',
|
|
348
379
|
SyncMapImages: 'syncMapImages',
|
|
349
380
|
SyncMapUploads: 'syncMapUploads',
|
|
350
381
|
SyncGameIcons: 'syncGameIcons',
|
|
@@ -354,6 +385,7 @@ export const GetJobInputDTOTypeEnum = {
|
|
|
354
385
|
CleanRevokedApiKeys: 'cleanRevokedApiKeys',
|
|
355
386
|
CleanExecutionClaims: 'cleanExecutionClaims',
|
|
356
387
|
DeleteClickHouseEvents: 'deleteClickHouseEvents',
|
|
388
|
+
RepointClickHouseEvents: 'repointClickHouseEvents',
|
|
357
389
|
CleanConnectorMigrations: 'cleanConnectorMigrations',
|
|
358
390
|
};
|
|
359
391
|
export const HookCreateDTOEventTypeEnum = {
|
|
@@ -379,6 +411,7 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
379
411
|
SettingsSet: 'settings-set',
|
|
380
412
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
381
413
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
414
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
382
415
|
ServerStatusChanged: 'server-status-changed',
|
|
383
416
|
ModuleCreated: 'module-created',
|
|
384
417
|
ModuleUpdated: 'module-updated',
|
|
@@ -393,6 +426,8 @@ export const HookCreateDTOEventTypeEnum = {
|
|
|
393
426
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
394
427
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
395
428
|
PlayerLinked: 'player-linked',
|
|
429
|
+
PlayerUnlinked: 'player-unlinked',
|
|
430
|
+
PlayerMerged: 'player-merged',
|
|
396
431
|
GameserverCreated: 'gameserver-created',
|
|
397
432
|
GameserverUpdated: 'gameserver-updated',
|
|
398
433
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -441,6 +476,7 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
441
476
|
SettingsSet: 'settings-set',
|
|
442
477
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
443
478
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
479
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
444
480
|
ServerStatusChanged: 'server-status-changed',
|
|
445
481
|
ModuleCreated: 'module-created',
|
|
446
482
|
ModuleUpdated: 'module-updated',
|
|
@@ -455,6 +491,8 @@ export const HookOutputDTOEventTypeEnum = {
|
|
|
455
491
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
456
492
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
457
493
|
PlayerLinked: 'player-linked',
|
|
494
|
+
PlayerUnlinked: 'player-unlinked',
|
|
495
|
+
PlayerMerged: 'player-merged',
|
|
458
496
|
GameserverCreated: 'gameserver-created',
|
|
459
497
|
GameserverUpdated: 'gameserver-updated',
|
|
460
498
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -503,6 +541,7 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
503
541
|
SettingsSet: 'settings-set',
|
|
504
542
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
505
543
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
544
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
506
545
|
ServerStatusChanged: 'server-status-changed',
|
|
507
546
|
ModuleCreated: 'module-created',
|
|
508
547
|
ModuleUpdated: 'module-updated',
|
|
@@ -517,6 +556,8 @@ export const HookTriggerDTOEventTypeEnum = {
|
|
|
517
556
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
518
557
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
519
558
|
PlayerLinked: 'player-linked',
|
|
559
|
+
PlayerUnlinked: 'player-unlinked',
|
|
560
|
+
PlayerMerged: 'player-merged',
|
|
520
561
|
GameserverCreated: 'gameserver-created',
|
|
521
562
|
GameserverUpdated: 'gameserver-updated',
|
|
522
563
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -565,6 +606,7 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
565
606
|
SettingsSet: 'settings-set',
|
|
566
607
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
567
608
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
609
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
568
610
|
ServerStatusChanged: 'server-status-changed',
|
|
569
611
|
ModuleCreated: 'module-created',
|
|
570
612
|
ModuleUpdated: 'module-updated',
|
|
@@ -579,6 +621,8 @@ export const HookUpdateDTOEventTypeEnum = {
|
|
|
579
621
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
580
622
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
581
623
|
PlayerLinked: 'player-linked',
|
|
624
|
+
PlayerUnlinked: 'player-unlinked',
|
|
625
|
+
PlayerMerged: 'player-merged',
|
|
582
626
|
GameserverCreated: 'gameserver-created',
|
|
583
627
|
GameserverUpdated: 'gameserver-updated',
|
|
584
628
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -632,6 +676,7 @@ export const IHookEventTypeEnum = {
|
|
|
632
676
|
SettingsSet: 'settings-set',
|
|
633
677
|
PlayerNewIpDetected: 'player-new-ip-detected',
|
|
634
678
|
PlayerNewNameDetected: 'player-new-name-detected',
|
|
679
|
+
PlayerIdentityConflict: 'player-identity-conflict',
|
|
635
680
|
ServerStatusChanged: 'server-status-changed',
|
|
636
681
|
ModuleCreated: 'module-created',
|
|
637
682
|
ModuleUpdated: 'module-updated',
|
|
@@ -646,6 +691,8 @@ export const IHookEventTypeEnum = {
|
|
|
646
691
|
ShopOrderStatusChanged: 'shop-order-status-changed',
|
|
647
692
|
ShopOrderDeliveryFailed: 'shop-order-delivery-failed',
|
|
648
693
|
PlayerLinked: 'player-linked',
|
|
694
|
+
PlayerUnlinked: 'player-unlinked',
|
|
695
|
+
PlayerMerged: 'player-merged',
|
|
649
696
|
GameserverCreated: 'gameserver-created',
|
|
650
697
|
GameserverUpdated: 'gameserver-updated',
|
|
651
698
|
GameserverVersionChanged: 'gameserver-version-changed',
|
|
@@ -675,6 +722,29 @@ export const ITakaroQuerySortDirectionEnum = {
|
|
|
675
722
|
Asc: 'asc',
|
|
676
723
|
Desc: 'desc',
|
|
677
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
|
+
};
|
|
678
748
|
export const InviteLinkCreateResultDTOStatusEnum = {
|
|
679
749
|
Active: 'ACTIVE',
|
|
680
750
|
Revoked: 'REVOKED',
|
|
@@ -780,6 +850,8 @@ export const PERMISSIONS = {
|
|
|
780
850
|
ViewDiscordInfo: 'VIEW_DISCORD_INFO',
|
|
781
851
|
SendDiscordMessage: 'SEND_DISCORD_MESSAGE',
|
|
782
852
|
ManageApiKeys: 'MANAGE_API_KEYS',
|
|
853
|
+
ReadMap: 'READ_MAP',
|
|
854
|
+
ReadTracking: 'READ_TRACKING',
|
|
783
855
|
};
|
|
784
856
|
export const PlanChangeOutputDTOActionEnum = {
|
|
785
857
|
Create: 'create',
|
|
@@ -813,6 +885,11 @@ export const PlayerSearchInputDTOSortDirectionEnum = {
|
|
|
813
885
|
Asc: 'asc',
|
|
814
886
|
Desc: 'desc',
|
|
815
887
|
};
|
|
888
|
+
export const PositionAreaShapeDTOTypeEnum = {
|
|
889
|
+
Circle: 'circle',
|
|
890
|
+
Rectangle: 'rectangle',
|
|
891
|
+
Polygon: 'polygon',
|
|
892
|
+
};
|
|
816
893
|
export const RecentOrderDTOStatusEnum = {
|
|
817
894
|
Completed: 'COMPLETED',
|
|
818
895
|
Paid: 'PAID',
|
|
@@ -985,16 +1062,68 @@ export const TakaroEventDomainCreatedOriginEnum = {
|
|
|
985
1062
|
Subscription: 'subscription',
|
|
986
1063
|
AdminSecret: 'admin_secret',
|
|
987
1064
|
};
|
|
1065
|
+
export const TakaroEventInventoryCounterpartKindEnum = {
|
|
1066
|
+
Container: 'container',
|
|
1067
|
+
Player: 'player',
|
|
1068
|
+
};
|
|
988
1069
|
export const TakaroEventItemsGivenLineResultEnum = {
|
|
989
1070
|
Delivered: 'DELIVERED',
|
|
990
1071
|
Failed: 'FAILED',
|
|
991
1072
|
Unknown: 'UNKNOWN',
|
|
992
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
|
+
};
|
|
993
1086
|
export const TakaroEventPlayerInventoryChangedChangeTypeEnum = {
|
|
994
1087
|
Added: 'added',
|
|
995
1088
|
Removed: 'removed',
|
|
996
1089
|
Changed: 'changed',
|
|
997
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
|
+
};
|
|
998
1127
|
export const TakaroEventRateLimitedScopeEnum = {
|
|
999
1128
|
Server: 'server',
|
|
1000
1129
|
Domain: 'domain',
|
|
@@ -1139,12 +1268,27 @@ export const TriggerJobInputDTOTypeEnum = {
|
|
|
1139
1268
|
SyncItems: 'syncItems',
|
|
1140
1269
|
SyncEntities: 'syncEntities',
|
|
1141
1270
|
SyncBans: 'syncBans',
|
|
1271
|
+
SyncLocations: 'syncLocations',
|
|
1142
1272
|
SyncMapImages: 'syncMapImages',
|
|
1143
1273
|
SyncMapUploads: 'syncMapUploads',
|
|
1144
1274
|
SyncGameIcons: 'syncGameIcons',
|
|
1145
1275
|
SyncSteam: 'syncSteam',
|
|
1146
1276
|
SyncDiscordRoles: 'syncDiscordRoles',
|
|
1147
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
|
+
};
|
|
1148
1292
|
export const UserSearchInputDTOExtendEnum = {
|
|
1149
1293
|
Roles: 'roles',
|
|
1150
1294
|
};
|
|
@@ -4049,6 +4193,72 @@ export const FixtureHistoryApiAxiosParamCreator = function (configuration) {
|
|
|
4049
4193
|
options: localVarRequestOptions,
|
|
4050
4194
|
};
|
|
4051
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
|
+
},
|
|
4052
4262
|
};
|
|
4053
4263
|
};
|
|
4054
4264
|
/**
|
|
@@ -4247,6 +4457,34 @@ export const FixtureHistoryApiFp = function (configuration) {
|
|
|
4247
4457
|
?.url;
|
|
4248
4458
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
4249
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
|
+
},
|
|
4250
4488
|
};
|
|
4251
4489
|
};
|
|
4252
4490
|
/**
|
|
@@ -4428,6 +4666,32 @@ export const FixtureHistoryApiFactory = function (configuration, basePath, axios
|
|
|
4428
4666
|
.fixtureHistoryControllerTerminalState(domainId, fixtureDatasetId, cursor, options)
|
|
4429
4667
|
.then((request) => request(axios, basePath));
|
|
4430
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
|
+
},
|
|
4431
4695
|
};
|
|
4432
4696
|
};
|
|
4433
4697
|
/**
|
|
@@ -4622,6 +4886,34 @@ export class FixtureHistoryApi extends BaseAPI {
|
|
|
4622
4886
|
.fixtureHistoryControllerTerminalState(domainId, fixtureDatasetId, cursor, options)
|
|
4623
4887
|
.then((request) => request(this.axios, this.basePath));
|
|
4624
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
|
+
}
|
|
4625
4917
|
}
|
|
4626
4918
|
/**
|
|
4627
4919
|
* MetaApi - axios parameter creator
|