@takaro/apiclient 0.0.0-dev.eae51e8 → 0.0.0-dev.ec22120

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.
@@ -1335,6 +1335,149 @@ export interface CommandUpdateDTO {
1335
1335
  */
1336
1336
  requiredPermissions?: Array<string>;
1337
1337
  }
1338
+ /**
1339
+ *
1340
+ * @export
1341
+ * @interface ConnectorMigrationClaimInputDTO
1342
+ */
1343
+ export interface ConnectorMigrationClaimInputDTO {
1344
+ /**
1345
+ *
1346
+ * @type {string}
1347
+ * @memberof ConnectorMigrationClaimInputDTO
1348
+ */
1349
+ identityToken: string;
1350
+ /**
1351
+ *
1352
+ * @type {Array<CapabilityDTO>}
1353
+ * @memberof ConnectorMigrationClaimInputDTO
1354
+ */
1355
+ capabilities?: Array<CapabilityDTO>;
1356
+ }
1357
+ /**
1358
+ *
1359
+ * @export
1360
+ * @interface ConnectorMigrationOutputDTO
1361
+ */
1362
+ export interface ConnectorMigrationOutputDTO {
1363
+ /**
1364
+ *
1365
+ * @type {string}
1366
+ * @memberof ConnectorMigrationOutputDTO
1367
+ */
1368
+ status: ConnectorMigrationOutputDTOStatusEnum;
1369
+ /**
1370
+ *
1371
+ * @type {FixtureHistoryControllerSummarySinceParameter}
1372
+ * @memberof ConnectorMigrationOutputDTO
1373
+ */
1374
+ startedAt: FixtureHistoryControllerSummarySinceParameter;
1375
+ /**
1376
+ *
1377
+ * @type {FixtureHistoryControllerSummarySinceParameter}
1378
+ * @memberof ConnectorMigrationOutputDTO
1379
+ */
1380
+ completedAt?: FixtureHistoryControllerSummarySinceParameter;
1381
+ /**
1382
+ *
1383
+ * @type {string}
1384
+ * @memberof ConnectorMigrationOutputDTO
1385
+ */
1386
+ legacyType?: ConnectorMigrationOutputDTOLegacyTypeEnum;
1387
+ /**
1388
+ *
1389
+ * @type {string}
1390
+ * @memberof ConnectorMigrationOutputDTO
1391
+ */
1392
+ refusalReason?: string;
1393
+ /**
1394
+ *
1395
+ * @type {FixtureHistoryControllerSummarySinceParameter}
1396
+ * @memberof ConnectorMigrationOutputDTO
1397
+ */
1398
+ refusedAt?: FixtureHistoryControllerSummarySinceParameter;
1399
+ /**
1400
+ *
1401
+ * @type {FixtureHistoryControllerSummarySinceParameter}
1402
+ * @memberof ConnectorMigrationOutputDTO
1403
+ */
1404
+ cancelledAt?: FixtureHistoryControllerSummarySinceParameter;
1405
+ /**
1406
+ *
1407
+ * @type {FixtureHistoryControllerSummarySinceParameter}
1408
+ * @memberof ConnectorMigrationOutputDTO
1409
+ */
1410
+ revertedAt?: FixtureHistoryControllerSummarySinceParameter;
1411
+ /**
1412
+ *
1413
+ * @type {FixtureHistoryControllerSummarySinceParameter}
1414
+ * @memberof ConnectorMigrationOutputDTO
1415
+ */
1416
+ revertUntil?: FixtureHistoryControllerSummarySinceParameter;
1417
+ /**
1418
+ *
1419
+ * @type {FixtureHistoryControllerSummarySinceParameter}
1420
+ * @memberof ConnectorMigrationOutputDTO
1421
+ */
1422
+ firstPlayerSyncAt?: FixtureHistoryControllerSummarySinceParameter;
1423
+ /**
1424
+ *
1425
+ * @type {FixtureHistoryControllerSummarySinceParameter}
1426
+ * @memberof ConnectorMigrationOutputDTO
1427
+ */
1428
+ firstBanSyncAt?: FixtureHistoryControllerSummarySinceParameter;
1429
+ }
1430
+ export declare const ConnectorMigrationOutputDTOStatusEnum: {
1431
+ readonly Pending: "pending";
1432
+ readonly Completed: "completed";
1433
+ readonly Cancelled: "cancelled";
1434
+ readonly Reverted: "reverted";
1435
+ };
1436
+ export type ConnectorMigrationOutputDTOStatusEnum = (typeof ConnectorMigrationOutputDTOStatusEnum)[keyof typeof ConnectorMigrationOutputDTOStatusEnum];
1437
+ export declare const ConnectorMigrationOutputDTOLegacyTypeEnum: {
1438
+ readonly Sevendaystodie: "SEVENDAYSTODIE";
1439
+ readonly Rust: "RUST";
1440
+ readonly Generic: "GENERIC";
1441
+ readonly Mock: "MOCK";
1442
+ };
1443
+ export type ConnectorMigrationOutputDTOLegacyTypeEnum = (typeof ConnectorMigrationOutputDTOLegacyTypeEnum)[keyof typeof ConnectorMigrationOutputDTOLegacyTypeEnum];
1444
+ /**
1445
+ *
1446
+ * @export
1447
+ * @interface ConnectorMigrationReportOutputDTO
1448
+ */
1449
+ export interface ConnectorMigrationReportOutputDTO {
1450
+ /**
1451
+ *
1452
+ * @type {FixtureHistoryControllerSummarySinceParameter}
1453
+ * @memberof ConnectorMigrationReportOutputDTO
1454
+ */
1455
+ completedAt: FixtureHistoryControllerSummarySinceParameter;
1456
+ /**
1457
+ *
1458
+ * @type {number}
1459
+ * @memberof ConnectorMigrationReportOutputDTO
1460
+ */
1461
+ playersMatched: number;
1462
+ /**
1463
+ *
1464
+ * @type {number}
1465
+ * @memberof ConnectorMigrationReportOutputDTO
1466
+ */
1467
+ playersNew: number;
1468
+ /**
1469
+ *
1470
+ * @type {number}
1471
+ * @memberof ConnectorMigrationReportOutputDTO
1472
+ */
1473
+ itemsReused: number;
1474
+ /**
1475
+ *
1476
+ * @type {number}
1477
+ * @memberof ConnectorMigrationReportOutputDTO
1478
+ */
1479
+ itemsNew: number;
1480
+ }
1338
1481
  /**
1339
1482
  *
1340
1483
  * @export
@@ -3980,6 +4123,10 @@ export declare const EventCreateDTOEventNameEnum: {
3980
4123
  readonly DomainCreated: "domain-created";
3981
4124
  readonly DomainRegistrationTokenRegenerated: "domain-registration-token-regenerated";
3982
4125
  readonly DomainPlanChanged: "domain-plan-changed";
4126
+ readonly ConnectorMigrationStarted: "connector-migration-started";
4127
+ readonly ConnectorMigrationCompleted: "connector-migration-completed";
4128
+ readonly ConnectorMigrationCancelled: "connector-migration-cancelled";
4129
+ readonly ConnectorMigrationReverted: "connector-migration-reverted";
3983
4130
  readonly DiscordGuildEnabled: "discord-guild-enabled";
3984
4131
  readonly ItemsGiven: "items-given";
3985
4132
  readonly PlayerConnected: "player-connected";
@@ -4257,6 +4404,10 @@ export declare const EventOutputDTOEventNameEnum: {
4257
4404
  readonly DomainCreated: "domain-created";
4258
4405
  readonly DomainRegistrationTokenRegenerated: "domain-registration-token-regenerated";
4259
4406
  readonly DomainPlanChanged: "domain-plan-changed";
4407
+ readonly ConnectorMigrationStarted: "connector-migration-started";
4408
+ readonly ConnectorMigrationCompleted: "connector-migration-completed";
4409
+ readonly ConnectorMigrationCancelled: "connector-migration-cancelled";
4410
+ readonly ConnectorMigrationReverted: "connector-migration-reverted";
4260
4411
  readonly DiscordGuildEnabled: "discord-guild-enabled";
4261
4412
  readonly ItemsGiven: "items-given";
4262
4413
  readonly PlayerConnected: "player-connected";
@@ -4270,7 +4421,7 @@ export type EventOutputDTOEventNameEnum = (typeof EventOutputDTOEventNameEnum)[k
4270
4421
  * @type EventOutputDTOMeta
4271
4422
  * @export
4272
4423
  */
4273
- export type EventOutputDTOMeta = EventChatMessage | EventEntityKilled | EventLogLine | EventPlayerConnected | EventPlayerDeath | EventPlayerDisconnected | HookEventDiscordMessage | TakaroEventApiKeyCreated | TakaroEventApiKeyRevoked | TakaroEventApiKeyRotated | TakaroEventCommandExecuted | TakaroEventCommandExecutionDenied | TakaroEventCronjobExecuted | TakaroEventCurrencyAdded | TakaroEventCurrencyDeducted | TakaroEventCurrencyResetAll | TakaroEventDiscordGuildEnabled | TakaroEventDomainCreated | TakaroEventDomainPlanChanged | TakaroEventDomainRegistrationTokenRegenerated | TakaroEventGameserverCreated | TakaroEventGameserverDeleted | TakaroEventGameserverUpdated | TakaroEventHookExecuted | TakaroEventInviteLinkCreated | TakaroEventItemsGiven | TakaroEventModuleCreated | TakaroEventModuleDeleted | TakaroEventModuleInstalled | TakaroEventModuleUninstalled | TakaroEventModuleUpdated | TakaroEventPlayerBanned | TakaroEventPlayerCreated | TakaroEventPlayerDeleted | TakaroEventPlayerInventoryChanged | TakaroEventPlayerLinked | TakaroEventPlayerNewIpDetected | TakaroEventPlayerNewNameDetected | TakaroEventPlayerSyncSnapshot | TakaroEventPlayerUnbanned | TakaroEventRateLimited | TakaroEventRoleAssigned | TakaroEventRoleCreated | TakaroEventRoleDeleted | TakaroEventRoleRemoved | TakaroEventRoleUpdated | TakaroEventServerStatusChanged | TakaroEventSettingsSet | TakaroEventShopActionExecuted | TakaroEventShopListingCreated | TakaroEventShopListingDeleted | TakaroEventShopListingUpdated | TakaroEventShopOrderCreated | TakaroEventShopOrderDeliveryFailed | TakaroEventShopOrderStatusChanged;
4424
+ export type EventOutputDTOMeta = EventChatMessage | EventEntityKilled | EventLogLine | EventPlayerConnected | EventPlayerDeath | EventPlayerDisconnected | HookEventDiscordMessage | TakaroEventApiKeyCreated | TakaroEventApiKeyRevoked | TakaroEventApiKeyRotated | TakaroEventCommandExecuted | TakaroEventCommandExecutionDenied | TakaroEventConnectorMigrationCancelled | TakaroEventConnectorMigrationCompleted | TakaroEventConnectorMigrationReverted | TakaroEventConnectorMigrationStarted | TakaroEventCronjobExecuted | TakaroEventCurrencyAdded | TakaroEventCurrencyDeducted | TakaroEventCurrencyResetAll | TakaroEventDiscordGuildEnabled | TakaroEventDomainCreated | TakaroEventDomainPlanChanged | TakaroEventDomainRegistrationTokenRegenerated | TakaroEventGameserverCreated | TakaroEventGameserverDeleted | TakaroEventGameserverUpdated | TakaroEventHookExecuted | TakaroEventInviteLinkCreated | TakaroEventItemsGiven | TakaroEventModuleCreated | TakaroEventModuleDeleted | TakaroEventModuleInstalled | TakaroEventModuleUninstalled | TakaroEventModuleUpdated | TakaroEventPlayerBanned | TakaroEventPlayerCreated | TakaroEventPlayerDeleted | TakaroEventPlayerInventoryChanged | TakaroEventPlayerLinked | TakaroEventPlayerNewIpDetected | TakaroEventPlayerNewNameDetected | TakaroEventPlayerSyncSnapshot | TakaroEventPlayerUnbanned | TakaroEventRateLimited | TakaroEventRoleAssigned | TakaroEventRoleCreated | TakaroEventRoleDeleted | TakaroEventRoleRemoved | TakaroEventRoleUpdated | TakaroEventServerStatusChanged | TakaroEventSettingsSet | TakaroEventShopActionExecuted | TakaroEventShopListingCreated | TakaroEventShopListingDeleted | TakaroEventShopListingUpdated | TakaroEventShopOrderCreated | TakaroEventShopOrderDeliveryFailed | TakaroEventShopOrderStatusChanged;
4274
4425
  /**
4275
4426
  *
4276
4427
  * @export
@@ -5916,6 +6067,19 @@ export declare const GameServerCreateDTOTypeEnum: {
5916
6067
  readonly Mock: "MOCK";
5917
6068
  };
5918
6069
  export type GameServerCreateDTOTypeEnum = (typeof GameServerCreateDTOTypeEnum)[keyof typeof GameServerCreateDTOTypeEnum];
6070
+ /**
6071
+ *
6072
+ * @export
6073
+ * @interface GameServerGameInputDTO
6074
+ */
6075
+ export interface GameServerGameInputDTO {
6076
+ /**
6077
+ *
6078
+ * @type {string}
6079
+ * @memberof GameServerGameInputDTO
6080
+ */
6081
+ game?: string | null;
6082
+ }
5919
6083
  /**
5920
6084
  *
5921
6085
  * @export
@@ -6002,6 +6166,24 @@ export interface GameServerOutputDTO {
6002
6166
  * @memberof GameServerOutputDTO
6003
6167
  */
6004
6168
  identityToken?: string;
6169
+ /**
6170
+ *
6171
+ * @type {string}
6172
+ * @memberof GameServerOutputDTO
6173
+ */
6174
+ game?: string | null;
6175
+ /**
6176
+ *
6177
+ * @type {ConnectorMigrationOutputDTO}
6178
+ * @memberof GameServerOutputDTO
6179
+ */
6180
+ connectorMigration?: ConnectorMigrationOutputDTO;
6181
+ /**
6182
+ *
6183
+ * @type {string}
6184
+ * @memberof GameServerOutputDTO
6185
+ */
6186
+ connectorMigrationSource?: string;
6005
6187
  /**
6006
6188
  *
6007
6189
  * @type {number}
@@ -6083,7 +6265,7 @@ export interface GameServerUpdateDTO {
6083
6265
  * @type {string}
6084
6266
  * @memberof GameServerUpdateDTO
6085
6267
  */
6086
- type: GameServerUpdateDTOTypeEnum;
6268
+ type?: GameServerUpdateDTOTypeEnum;
6087
6269
  /**
6088
6270
  *
6089
6271
  * @type {boolean}
@@ -6153,6 +6335,7 @@ export declare const GetJobInputDTOTypeEnum: {
6153
6335
  readonly EmitRateLimitSummary: "emitRateLimitSummary";
6154
6336
  readonly CleanRevokedApiKeys: "cleanRevokedApiKeys";
6155
6337
  readonly CleanExecutionClaims: "cleanExecutionClaims";
6338
+ readonly CleanConnectorMigrations: "cleanConnectorMigrations";
6156
6339
  };
6157
6340
  export type GetJobInputDTOTypeEnum = (typeof GetJobInputDTOTypeEnum)[keyof typeof GetJobInputDTOTypeEnum];
6158
6341
  /**
@@ -6377,6 +6560,10 @@ export declare const HookCreateDTOEventTypeEnum: {
6377
6560
  readonly DomainCreated: "domain-created";
6378
6561
  readonly DomainRegistrationTokenRegenerated: "domain-registration-token-regenerated";
6379
6562
  readonly DomainPlanChanged: "domain-plan-changed";
6563
+ readonly ConnectorMigrationStarted: "connector-migration-started";
6564
+ readonly ConnectorMigrationCompleted: "connector-migration-completed";
6565
+ readonly ConnectorMigrationCancelled: "connector-migration-cancelled";
6566
+ readonly ConnectorMigrationReverted: "connector-migration-reverted";
6380
6567
  readonly DiscordGuildEnabled: "discord-guild-enabled";
6381
6568
  readonly ItemsGiven: "items-given";
6382
6569
  };
@@ -6533,6 +6720,10 @@ export declare const HookOutputDTOEventTypeEnum: {
6533
6720
  readonly DomainCreated: "domain-created";
6534
6721
  readonly DomainRegistrationTokenRegenerated: "domain-registration-token-regenerated";
6535
6722
  readonly DomainPlanChanged: "domain-plan-changed";
6723
+ readonly ConnectorMigrationStarted: "connector-migration-started";
6724
+ readonly ConnectorMigrationCompleted: "connector-migration-completed";
6725
+ readonly ConnectorMigrationCancelled: "connector-migration-cancelled";
6726
+ readonly ConnectorMigrationReverted: "connector-migration-reverted";
6536
6727
  readonly DiscordGuildEnabled: "discord-guild-enabled";
6537
6728
  readonly ItemsGiven: "items-given";
6538
6729
  };
@@ -6628,6 +6819,10 @@ export declare const HookTriggerDTOEventTypeEnum: {
6628
6819
  readonly DomainCreated: "domain-created";
6629
6820
  readonly DomainRegistrationTokenRegenerated: "domain-registration-token-regenerated";
6630
6821
  readonly DomainPlanChanged: "domain-plan-changed";
6822
+ readonly ConnectorMigrationStarted: "connector-migration-started";
6823
+ readonly ConnectorMigrationCompleted: "connector-migration-completed";
6824
+ readonly ConnectorMigrationCancelled: "connector-migration-cancelled";
6825
+ readonly ConnectorMigrationReverted: "connector-migration-reverted";
6631
6826
  readonly DiscordGuildEnabled: "discord-guild-enabled";
6632
6827
  readonly ItemsGiven: "items-given";
6633
6828
  };
@@ -6723,6 +6918,10 @@ export declare const HookUpdateDTOEventTypeEnum: {
6723
6918
  readonly DomainCreated: "domain-created";
6724
6919
  readonly DomainRegistrationTokenRegenerated: "domain-registration-token-regenerated";
6725
6920
  readonly DomainPlanChanged: "domain-plan-changed";
6921
+ readonly ConnectorMigrationStarted: "connector-migration-started";
6922
+ readonly ConnectorMigrationCompleted: "connector-migration-completed";
6923
+ readonly ConnectorMigrationCancelled: "connector-migration-cancelled";
6924
+ readonly ConnectorMigrationReverted: "connector-migration-reverted";
6726
6925
  readonly DiscordGuildEnabled: "discord-guild-enabled";
6727
6926
  readonly ItemsGiven: "items-given";
6728
6927
  };
@@ -7058,6 +7257,10 @@ export declare const IHookEventTypeEnum: {
7058
7257
  readonly DomainCreated: "domain-created";
7059
7258
  readonly DomainRegistrationTokenRegenerated: "domain-registration-token-regenerated";
7060
7259
  readonly DomainPlanChanged: "domain-plan-changed";
7260
+ readonly ConnectorMigrationStarted: "connector-migration-started";
7261
+ readonly ConnectorMigrationCompleted: "connector-migration-completed";
7262
+ readonly ConnectorMigrationCancelled: "connector-migration-cancelled";
7263
+ readonly ConnectorMigrationReverted: "connector-migration-reverted";
7061
7264
  readonly DiscordGuildEnabled: "discord-guild-enabled";
7062
7265
  readonly ItemsGiven: "items-given";
7063
7266
  };
@@ -15236,6 +15439,106 @@ export interface TakaroEventCommandExecutionDenied {
15236
15439
  */
15237
15440
  takaroAi?: TakaroAiEventMarkerDTO;
15238
15441
  }
15442
+ /**
15443
+ *
15444
+ * @export
15445
+ * @interface TakaroEventConnectorMigrationCancelled
15446
+ */
15447
+ export interface TakaroEventConnectorMigrationCancelled {
15448
+ /**
15449
+ *
15450
+ * @type {string}
15451
+ * @memberof TakaroEventConnectorMigrationCancelled
15452
+ */
15453
+ legacyType: string;
15454
+ /**
15455
+ *
15456
+ * @type {FixtureHistoryControllerSummarySinceParameter}
15457
+ * @memberof TakaroEventConnectorMigrationCancelled
15458
+ */
15459
+ timestamp: FixtureHistoryControllerSummarySinceParameter;
15460
+ /**
15461
+ *
15462
+ * @type {TakaroAiEventMarkerDTO}
15463
+ * @memberof TakaroEventConnectorMigrationCancelled
15464
+ */
15465
+ takaroAi?: TakaroAiEventMarkerDTO;
15466
+ }
15467
+ /**
15468
+ *
15469
+ * @export
15470
+ * @interface TakaroEventConnectorMigrationCompleted
15471
+ */
15472
+ export interface TakaroEventConnectorMigrationCompleted {
15473
+ /**
15474
+ *
15475
+ * @type {string}
15476
+ * @memberof TakaroEventConnectorMigrationCompleted
15477
+ */
15478
+ legacyType: string;
15479
+ /**
15480
+ *
15481
+ * @type {FixtureHistoryControllerSummarySinceParameter}
15482
+ * @memberof TakaroEventConnectorMigrationCompleted
15483
+ */
15484
+ timestamp: FixtureHistoryControllerSummarySinceParameter;
15485
+ /**
15486
+ *
15487
+ * @type {TakaroAiEventMarkerDTO}
15488
+ * @memberof TakaroEventConnectorMigrationCompleted
15489
+ */
15490
+ takaroAi?: TakaroAiEventMarkerDTO;
15491
+ }
15492
+ /**
15493
+ *
15494
+ * @export
15495
+ * @interface TakaroEventConnectorMigrationReverted
15496
+ */
15497
+ export interface TakaroEventConnectorMigrationReverted {
15498
+ /**
15499
+ *
15500
+ * @type {string}
15501
+ * @memberof TakaroEventConnectorMigrationReverted
15502
+ */
15503
+ legacyType: string;
15504
+ /**
15505
+ *
15506
+ * @type {FixtureHistoryControllerSummarySinceParameter}
15507
+ * @memberof TakaroEventConnectorMigrationReverted
15508
+ */
15509
+ timestamp: FixtureHistoryControllerSummarySinceParameter;
15510
+ /**
15511
+ *
15512
+ * @type {TakaroAiEventMarkerDTO}
15513
+ * @memberof TakaroEventConnectorMigrationReverted
15514
+ */
15515
+ takaroAi?: TakaroAiEventMarkerDTO;
15516
+ }
15517
+ /**
15518
+ *
15519
+ * @export
15520
+ * @interface TakaroEventConnectorMigrationStarted
15521
+ */
15522
+ export interface TakaroEventConnectorMigrationStarted {
15523
+ /**
15524
+ *
15525
+ * @type {string}
15526
+ * @memberof TakaroEventConnectorMigrationStarted
15527
+ */
15528
+ legacyType: string;
15529
+ /**
15530
+ *
15531
+ * @type {FixtureHistoryControllerSummarySinceParameter}
15532
+ * @memberof TakaroEventConnectorMigrationStarted
15533
+ */
15534
+ timestamp: FixtureHistoryControllerSummarySinceParameter;
15535
+ /**
15536
+ *
15537
+ * @type {TakaroAiEventMarkerDTO}
15538
+ * @memberof TakaroEventConnectorMigrationStarted
15539
+ */
15540
+ takaroAi?: TakaroAiEventMarkerDTO;
15541
+ }
15239
15542
  /**
15240
15543
  *
15241
15544
  * @export