@mittwald/api-client 0.0.0-development-93599d7-20260507 → 0.0.0-development-9f66b59-20260619

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.
@@ -69,7 +69,7 @@ const buildBackupApi = (baseClient) => ({
69
69
  /** Get a ProjectBackup. */
70
70
  getProjectBackup: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackup, baseClient.backup.getProjectBackup).getApiResource,
71
71
  /** List database dump's for a ProjectBackup. */
72
- getProjectBackupDatabaseDumpsV2Experimental: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDatabaseDumpsV2Experimental, baseClient.backup.getProjectBackupDatabaseDumpsV2Experimental).getApiResource,
72
+ getProjectBackupDatabaseDumps: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDatabaseDumps, baseClient.backup.getProjectBackupDatabaseDumps).getApiResource,
73
73
  /** List paths for a ProjectBackup. */
74
74
  getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
75
75
  });
@@ -186,6 +186,8 @@ const buildMarketplaceApi = (baseClient) => ({
186
186
  extensionGetProjectExtensionInstanceOrders: new ApiCallAsyncResourceFactory(descriptors.extensionGetProjectExtensionInstanceOrders, baseClient.marketplace.extensionGetProjectExtensionInstanceOrders).getApiResource,
187
187
  /** Get the public key to verify the webhook signature. */
188
188
  extensionGetPublicKey: new ApiCallAsyncResourceFactory(descriptors.extensionGetPublicKey, baseClient.marketplace.extensionGetPublicKey).getApiResource,
189
+ /** List all Webhook Executions. */
190
+ extensionListAllExtensionInstanceWebhookExecutions: new ApiCallAsyncResourceFactory(descriptors.extensionListAllExtensionInstanceWebhookExecutions, baseClient.marketplace.extensionListAllExtensionInstanceWebhookExecutions).getApiResource,
189
191
  /** List Contributors. */
190
192
  extensionListContributors: new ApiCallAsyncResourceFactory(descriptors.extensionListContributors, baseClient.marketplace.extensionListContributors).getApiResource,
191
193
  /** List Extensions. */
@@ -294,8 +296,10 @@ const buildDomainApi = (baseClient) => ({
294
296
  listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
295
297
  /** List TLDs. */
296
298
  listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
297
- /** List Domain-Migrations belonging to a p-Account. */
298
- migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrations, baseClient.domain.migrationListMigrations).getApiResource,
299
+ /** List Domain-Migrations belonging to a pAccount. */
300
+ migrationListMigrationsByPaccount: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrationsByPaccount, baseClient.domain.migrationListMigrationsByPaccount).getApiResource,
301
+ /** List Domain-Migrations belonging to a Project. */
302
+ migrationListMigrationsByProjectId: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrationsByProjectId, baseClient.domain.migrationListMigrationsByProjectId).getApiResource,
299
303
  /** Suggest a list of domains based on a prompt using AI. */
300
304
  suggest: new ApiCallAsyncResourceFactory(descriptors.domainSuggest, baseClient.domain.suggest).getApiResource,
301
305
  /** List Ingresses. */
@@ -358,10 +362,14 @@ const buildMailApi = (baseClient) => ({
358
362
  getDeliveryBox: new ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
359
363
  /** Get a MailAddress. */
360
364
  getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
365
+ /** Get a Mail RateLimit. */
366
+ getMailRateLimit: new ApiCallAsyncResourceFactory(descriptors.mailGetMailRateLimit, baseClient.mail.getMailRateLimit).getApiResource,
361
367
  /** List backups belonging to a MailAddress. */
362
368
  listBackupsForMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailListBackupsForMailAddress, baseClient.mail.listBackupsForMailAddress).getApiResource,
363
369
  /** List MailAddresses. */
364
370
  listMailAddressesForUser: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddressesForUser, baseClient.mail.listMailAddressesForUser).getApiResource,
371
+ /** List Mail RateLimits. */
372
+ listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
365
373
  /** List mail settings of a Project. */
366
374
  listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
367
375
  /** Get a Migration. */
@@ -404,6 +412,8 @@ const buildUserApi = (baseClient) => ({
404
412
  getApiToken: new ApiCallAsyncResourceFactory(descriptors.userGetApiToken, baseClient.user.getApiToken).getApiResource,
405
413
  /** Get a specific stored ssh-key. */
406
414
  getSshKey: new ApiCallAsyncResourceFactory(descriptors.userGetSshKey, baseClient.user.getSshKey).getApiResource,
415
+ /** Check status of the current session. */
416
+ getCurrentSessionStatus: new ApiCallAsyncResourceFactory(descriptors.userGetCurrentSessionStatus, baseClient.user.getCurrentSessionStatus).getApiResource,
407
417
  /** The timestamp of your latest password change. */
408
418
  getPasswordUpdatedAt: new ApiCallAsyncResourceFactory(descriptors.userGetPasswordUpdatedAt, baseClient.user.getPasswordUpdatedAt).getApiResource,
409
419
  /** Get personalized settings. */
@@ -440,6 +450,8 @@ const buildProjectApi = (baseClient) => ({
440
450
  getServer: new ApiCallAsyncResourceFactory(descriptors.projectGetServer, baseClient.project.getServer).getApiResource,
441
451
  /** List Memberships belonging to a Project. */
442
452
  listMembershipsForProject: new ApiCallAsyncResourceFactory(descriptors.projectListMembershipsForProject, baseClient.project.listMembershipsForProject).getApiResource,
453
+ /** Get the activities of a project. */
454
+ listProjectActivities: new ApiCallAsyncResourceFactory(descriptors.projectListProjectActivities, baseClient.project.listProjectActivities).getApiResource,
443
455
  /** List ProjectInvites belonging to the executing user. */
444
456
  listProjectInvites: new ApiCallAsyncResourceFactory(descriptors.projectListProjectInvites, baseClient.project.listProjectInvites).getApiResource,
445
457
  /** List ProjectMemberships belonging to the executing user. */
@@ -38,6 +38,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
38
38
  projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
39
39
  /** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
40
40
  projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
41
+ /** Links a container with a project licence. */
42
+ projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
41
43
  };
42
44
  /** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
43
45
  app = {
@@ -120,13 +122,13 @@ export class MittwaldAPIV2Client extends ApiClientBase {
120
122
  /** Delete a ProjectBackup. */
121
123
  deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
122
124
  /** List database dump's for a ProjectBackup. */
123
- getProjectBackupDatabaseDumpsV2Experimental: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumpsV2Experimental),
125
+ getProjectBackupDatabaseDumps: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumps),
124
126
  /** List paths for a ProjectBackup. */
125
127
  getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
126
128
  /** Update a Backup's expiration time. */
127
129
  replaceProjectBackupExpirationTime: this.requestFunctionFactory(descriptors.backupReplaceProjectBackupExpirationTime),
128
130
  /** Restore a ProjectBackup. */
129
- requestProjectBackupRestoreV2Experimental: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestoreV2Experimental),
131
+ requestProjectBackupRestore: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestore),
130
132
  /** Change the description of a ProjectBackup. */
131
133
  updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
132
134
  };
@@ -326,7 +328,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
326
328
  extensionDeleteExtensionInstance: this.requestFunctionFactory(descriptors.extensionDeleteExtensionInstance),
327
329
  /** Get Extension of own contributor. */
328
330
  extensionGetOwnExtension: this.requestFunctionFactory(descriptors.extensionGetOwnExtension),
329
- /** Delete an extension. */
331
+ /** Delete an Extension. */
330
332
  extensionDeleteExtension: this.requestFunctionFactory(descriptors.extensionDeleteExtension),
331
333
  /** Patch Extension. */
332
334
  extensionPatchExtension: this.requestFunctionFactory(descriptors.extensionPatchExtension),
@@ -358,6 +360,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
358
360
  extensionGetPublicKey: this.requestFunctionFactory(descriptors.extensionGetPublicKey),
359
361
  /** Invalidate the given Extension secret immediately. */
360
362
  extensionInvalidateExtensionSecret: this.requestFunctionFactory(descriptors.extensionInvalidateExtensionSecret),
363
+ /** List all Webhook Executions. */
364
+ extensionListAllExtensionInstanceWebhookExecutions: this.requestFunctionFactory(descriptors.extensionListAllExtensionInstanceWebhookExecutions),
361
365
  /** List Contributors. */
362
366
  extensionListContributors: this.requestFunctionFactory(descriptors.extensionListContributors),
363
367
  /** List Extensions. */
@@ -516,6 +520,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
516
520
  getMysqlDatabase: this.requestFunctionFactory(descriptors.databaseGetMysqlDatabase),
517
521
  /** Delete a MySQLDatabase. */
518
522
  deleteMysqlDatabase: this.requestFunctionFactory(descriptors.databaseDeleteMysqlDatabase),
523
+ /** Update a MySqlDatabase. */
524
+ patchMysqlDatabase: this.requestFunctionFactory(descriptors.databasePatchMysqlDatabase),
519
525
  /** Get a MySQLUser. */
520
526
  getMysqlUser: this.requestFunctionFactory(descriptors.databaseGetMysqlUser),
521
527
  /** Update a MySQLUser. */
@@ -526,6 +532,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
526
532
  getRedisDatabase: this.requestFunctionFactory(descriptors.databaseGetRedisDatabase),
527
533
  /** Delete a RedisDatabase. */
528
534
  deleteRedisDatabase: this.requestFunctionFactory(descriptors.databaseDeleteRedisDatabase),
535
+ /** Update a RedisDatabase. */
536
+ patchRedisDatabase: this.requestFunctionFactory(descriptors.databasePatchRedisDatabase),
529
537
  /** Disable a MySQLUser. */
530
538
  disableMysqlUser: this.requestFunctionFactory(descriptors.databaseDisableMysqlUser),
531
539
  /** Enable a MySQLUser. */
@@ -601,10 +609,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
601
609
  listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
602
610
  /** Check if a Domain-Migration from a pAccount into a Project is possible. */
603
611
  migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.domainMigrationCheckMigrationIsPossible),
604
- /** List Domain-Migrations belonging to a p-Account. */
605
- migrationListMigrations: this.requestFunctionFactory(descriptors.domainMigrationListMigrations),
606
- /** Create a Domain-Migration from a pAccount into a Project. */
607
- migrationRequestDomainMigration: this.requestFunctionFactory(descriptors.domainMigrationRequestDomainMigration),
612
+ /** List Domain-Migrations belonging to a pAccount. */
613
+ migrationListMigrationsByPaccount: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByPaccount),
614
+ /** List Domain-Migrations belonging to a Project. */
615
+ migrationListMigrationsByProjectId: this.requestFunctionFactory(descriptors.domainMigrationListMigrationsByProjectId),
616
+ /** Order a Domain-Migration from a pAccount into a Project. */
617
+ migrationOrderDomainMigration: this.requestFunctionFactory(descriptors.domainMigrationOrderDomainMigration),
608
618
  /** Resends a Contact-Verification email. */
609
619
  resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
610
620
  /** Resend a Domain email. */
@@ -684,10 +694,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
684
694
  deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
685
695
  /** Disable the mail-archive of a MailAddress. */
686
696
  disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
697
+ /** Get a Mail RateLimit. */
698
+ getMailRateLimit: this.requestFunctionFactory(descriptors.mailGetMailRateLimit),
687
699
  /** List backups belonging to a MailAddress. */
688
700
  listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
689
701
  /** List MailAddresses. */
690
702
  listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
703
+ /** List Mail RateLimits. */
704
+ listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
691
705
  /** List mail settings of a Project. */
692
706
  listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
693
707
  /** Check if a Migration between two projects is possible. */
@@ -708,6 +722,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
708
722
  updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
709
723
  /** Update the catch-all of a MailAddress. */
710
724
  updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
725
+ /** Request a rate limit change for a MailAddress. */
726
+ requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
711
727
  };
712
728
  /** The notification API allows you to manage your notifications. */
713
729
  notification = {
@@ -748,8 +764,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
748
764
  changeEmail: this.requestFunctionFactory(descriptors.userChangeEmail),
749
765
  /** Change your password. */
750
766
  changePassword: this.requestFunctionFactory(descriptors.userChangePassword),
751
- /** Check token for validity. */
752
- checkToken: this.requestFunctionFactory(descriptors.userCheckToken),
753
767
  /** Get your current multi factor auth status. */
754
768
  getMfaStatus: this.requestFunctionFactory(descriptors.userGetMfaStatus),
755
769
  /** Reset RecoveryCodes for MFA. */
@@ -784,6 +798,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
784
798
  deleteSshKey: this.requestFunctionFactory(descriptors.userDeleteSshKey),
785
799
  /** Delete your account and all your personal data. */
786
800
  deleteUser: this.requestFunctionFactory(descriptors.userDeleteUser),
801
+ /** Check status of the current session. */
802
+ getCurrentSessionStatus: this.requestFunctionFactory(descriptors.userGetCurrentSessionStatus),
787
803
  /** The timestamp of your latest password change. */
788
804
  getPasswordUpdatedAt: this.requestFunctionFactory(descriptors.userGetPasswordUpdatedAt),
789
805
  /** Get personalized settings. */
@@ -958,6 +974,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
958
974
  getServer: this.requestFunctionFactory(descriptors.projectGetServer),
959
975
  /** List Memberships belonging to a Project. */
960
976
  listMembershipsForProject: this.requestFunctionFactory(descriptors.projectListMembershipsForProject),
977
+ /** Get the activities of a project. */
978
+ listProjectActivities: this.requestFunctionFactory(descriptors.projectListProjectActivities),
961
979
  /** List ProjectInvites belonging to the executing user. */
962
980
  listProjectInvites: this.requestFunctionFactory(descriptors.projectListProjectInvites),
963
981
  /** List ProjectMemberships belonging to the executing user. */
@@ -94,6 +94,12 @@ export const aiHostingProjectGetUsage = {
94
94
  method: "GET",
95
95
  operationId: "ai-hosting-project-get-usage",
96
96
  };
97
+ /** Links a container with a project licence. */
98
+ export const aiHostingProjectLinkContainer = {
99
+ path: "/v2/projects/{projectId}/ai-hosting-keys/{keyId}/actions/link-container",
100
+ method: "POST",
101
+ operationId: "ai-hosting-project-link-container",
102
+ };
97
103
  /** Get an App. */
98
104
  export const appGetApp = {
99
105
  path: "/v2/apps/{appId}",
@@ -311,10 +317,10 @@ export const backupDeleteProjectBackup = {
311
317
  operationId: "backup-delete-project-backup",
312
318
  };
313
319
  /** List database dump's for a ProjectBackup. */
314
- export const backupGetProjectBackupDatabaseDumpsV2Experimental = {
320
+ export const backupGetProjectBackupDatabaseDumps = {
315
321
  path: "/v2/project-backups/{projectBackupId}/database-dumps",
316
322
  method: "GET",
317
- operationId: "backup-get-project-backup-database-dumps-v2-experimental",
323
+ operationId: "backup-get-project-backup-database-dumps",
318
324
  };
319
325
  /** List paths for a ProjectBackup. */
320
326
  export const backupGetProjectBackupDirectories = {
@@ -329,10 +335,10 @@ export const backupReplaceProjectBackupExpirationTime = {
329
335
  operationId: "backup-replace-project-backup-expiration-time",
330
336
  };
331
337
  /** Restore a ProjectBackup. */
332
- export const backupRequestProjectBackupRestoreV2Experimental = {
338
+ export const backupRequestProjectBackupRestore = {
333
339
  path: "/v2/project-backups/{projectBackupId}/restore",
334
340
  method: "POST",
335
- operationId: "backup-request-project-backup-restore-v2-experimental",
341
+ operationId: "backup-request-project-backup-restore",
336
342
  };
337
343
  /** Change the description of a ProjectBackup. */
338
344
  export const backupUpdateProjectBackupDescription = {
@@ -1078,6 +1084,12 @@ export const databaseDeleteMysqlDatabase = {
1078
1084
  method: "DELETE",
1079
1085
  operationId: "database-delete-mysql-database",
1080
1086
  };
1087
+ /** Update a MySqlDatabase. */
1088
+ export const databasePatchMysqlDatabase = {
1089
+ path: "/v2/mysql-databases/{mysqlDatabaseId}",
1090
+ method: "PATCH",
1091
+ operationId: "database-patch-mysql-database",
1092
+ };
1081
1093
  /** Get a MySQLUser. */
1082
1094
  export const databaseGetMysqlUser = {
1083
1095
  path: "/v2/mysql-users/{mysqlUserId}",
@@ -1108,6 +1120,12 @@ export const databaseDeleteRedisDatabase = {
1108
1120
  method: "DELETE",
1109
1121
  operationId: "database-delete-redis-database",
1110
1122
  };
1123
+ /** Update a RedisDatabase. */
1124
+ export const databasePatchRedisDatabase = {
1125
+ path: "/v2/redis-databases/{redisDatabaseId}",
1126
+ method: "PATCH",
1127
+ operationId: "database-patch-redis-database",
1128
+ };
1111
1129
  /** Disable a MySQLUser. */
1112
1130
  export const databaseDisableMysqlUser = {
1113
1131
  path: "/v2/mysql-users/{mysqlUserId}/actions/disable",
@@ -1372,17 +1390,23 @@ export const domainMigrationCheckMigrationIsPossible = {
1372
1390
  method: "POST",
1373
1391
  operationId: "domain-migration-check-migration-is-possible",
1374
1392
  };
1375
- /** List Domain-Migrations belonging to a p-Account. */
1376
- export const domainMigrationListMigrations = {
1377
- path: "/v2/domain-migrations",
1393
+ /** List Domain-Migrations belonging to a pAccount. */
1394
+ export const domainMigrationListMigrationsByPaccount = {
1395
+ path: "/v2/p-accounts/{pAccount}/domain-migrations",
1396
+ method: "GET",
1397
+ operationId: "domain-migration-list-migrations-by-p-account",
1398
+ };
1399
+ /** List Domain-Migrations belonging to a Project. */
1400
+ export const domainMigrationListMigrationsByProjectId = {
1401
+ path: "/v2/projects/{projectId}/domain-migrations",
1378
1402
  method: "GET",
1379
- operationId: "domain-migration-list-migrations",
1403
+ operationId: "domain-migration-list-migrations-by-project-id",
1380
1404
  };
1381
- /** Create a Domain-Migration from a pAccount into a Project. */
1382
- export const domainMigrationRequestDomainMigration = {
1383
- path: "/v2/domain-migrations/actions/request",
1405
+ /** Order a Domain-Migration from a pAccount into a Project. */
1406
+ export const domainMigrationOrderDomainMigration = {
1407
+ path: "/v2/domain-migrations",
1384
1408
  method: "POST",
1385
- operationId: "domain-migration-request-domain-migration",
1409
+ operationId: "domain-migration-order-domain-migration",
1386
1410
  };
1387
1411
  /** Resends a Contact-Verification email. */
1388
1412
  export const domainResendContactVerificationEmail = {
@@ -1516,7 +1540,7 @@ export const extensionGetOwnExtension = {
1516
1540
  method: "GET",
1517
1541
  operationId: "extension-get-own-extension",
1518
1542
  };
1519
- /** Delete an extension. */
1543
+ /** Delete an Extension. */
1520
1544
  export const extensionDeleteExtension = {
1521
1545
  path: "/v2/contributors/{contributorId}/extensions/{extensionId}",
1522
1546
  method: "DELETE",
@@ -1612,6 +1636,12 @@ export const extensionInvalidateExtensionSecret = {
1612
1636
  method: "DELETE",
1613
1637
  operationId: "extension-invalidate-extension-secret",
1614
1638
  };
1639
+ /** List all Webhook Executions. */
1640
+ export const extensionListAllExtensionInstanceWebhookExecutions = {
1641
+ path: "/v2/contributors/{contributorId}/webhook-executions",
1642
+ method: "GET",
1643
+ operationId: "extension-list-all-extension-instance-webhook-executions",
1644
+ };
1615
1645
  /** List Contributors. */
1616
1646
  export const extensionListContributors = {
1617
1647
  path: "/v2/contributors",
@@ -1960,6 +1990,12 @@ export const mailDisableMailArchive = {
1960
1990
  method: "DELETE",
1961
1991
  operationId: "mail-disable-mail-archive",
1962
1992
  };
1993
+ /** Get a Mail RateLimit. */
1994
+ export const mailGetMailRateLimit = {
1995
+ path: "/v2/mail-rate-limits/{mailRateLimitId}",
1996
+ method: "GET",
1997
+ operationId: "mail-get-mail-rate-limit",
1998
+ };
1963
1999
  /** List backups belonging to a MailAddress. */
1964
2000
  export const mailListBackupsForMailAddress = {
1965
2001
  path: "/v2/mail-addresses/{mailAddressId}/backups",
@@ -1972,6 +2008,12 @@ export const mailListMailAddressesForUser = {
1972
2008
  method: "GET",
1973
2009
  operationId: "mail-list-mail-addresses-for-user",
1974
2010
  };
2011
+ /** List Mail RateLimits. */
2012
+ export const mailListMailRateLimits = {
2013
+ path: "/v2/mail-rate-limits",
2014
+ method: "GET",
2015
+ operationId: "mail-list-mail-rate-limits",
2016
+ };
1975
2017
  /** List mail settings of a Project. */
1976
2018
  export const mailListProjectMailSettings = {
1977
2019
  path: "/v2/projects/{projectId}/mail-settings",
@@ -2314,6 +2356,12 @@ export const projectListMembershipsForProject = {
2314
2356
  method: "GET",
2315
2357
  operationId: "project-list-memberships-for-project",
2316
2358
  };
2359
+ /** Get the activities of a project. */
2360
+ export const projectListProjectActivities = {
2361
+ path: "/v2/projects/{projectId}/activities",
2362
+ method: "GET",
2363
+ operationId: "project-list-project-activities",
2364
+ };
2317
2365
  /** List ProjectInvites belonging to the executing user. */
2318
2366
  export const projectListProjectInvites = {
2319
2367
  path: "/v2/project-invites",
@@ -2560,12 +2608,6 @@ export const userChangePassword = {
2560
2608
  method: "PUT",
2561
2609
  operationId: "user-change-password",
2562
2610
  };
2563
- /** Check token for validity. */
2564
- export const userCheckToken = {
2565
- path: "/v2/users/self/credentials/token",
2566
- method: "POST",
2567
- operationId: "user-check-token",
2568
- };
2569
2611
  /** Get your current multi factor auth status. */
2570
2612
  export const userGetMfaStatus = {
2571
2613
  path: "/v2/users/self/credentials/mfa",
@@ -2668,6 +2710,12 @@ export const userDeleteUser = {
2668
2710
  method: "DELETE",
2669
2711
  operationId: "user-delete-user",
2670
2712
  };
2713
+ /** Check status of the current session. */
2714
+ export const userGetCurrentSessionStatus = {
2715
+ path: "/v2/users/self/sessions/current/status",
2716
+ method: "GET",
2717
+ operationId: "user-get-current-session-status",
2718
+ };
2671
2719
  /** The timestamp of your latest password change. */
2672
2720
  export const userGetPasswordUpdatedAt = {
2673
2721
  path: "/v2/users/self/credentials/password-updated-at",
@@ -2842,3 +2890,9 @@ export const verificationVerifyCompany = {
2842
2890
  method: "POST",
2843
2891
  operationId: "verification-verify-company",
2844
2892
  };
2893
+ /** Request a rate limit change for a MailAddress. */
2894
+ export const mailRequestMailAddressRateLimitChange = {
2895
+ path: "/v2/mail-addresses/{mailAddressId}/request-rate-limit-change",
2896
+ method: "POST",
2897
+ operationId: "mail-request-mail-address-rate-limit-change",
2898
+ };
package/dist/esm/index.js CHANGED
@@ -1,3 +1,4 @@
1
1
  export { assertStatus, assertOneOfStatus, extractTotalCountHeader, } from "@mittwald/api-client-commons";
2
2
  export * as Commons from "@mittwald/api-client-commons";
3
+ export * as Descriptors from "./generated/v2/descriptors.js";
3
4
  export { MittwaldAPIClient as MittwaldAPIV2Client } from "./v2/default.js";
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.357.0';
1
+ export const MittwaldAPIClientVersion = '4.387.0';