@mittwald/api-client 0.0.0-development-64a6f01-20260504 → 0.0.0-development-e8f2771-20260612
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/esm/generated/v2/client-react.js +13 -7
- package/dist/esm/generated/v2/client.js +25 -15
- package/dist/esm/generated/v2/descriptors.js +67 -37
- package/dist/esm/index.js +1 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +83 -30
- package/dist/types/generated/v2/client.d.ts +692 -315
- package/dist/types/generated/v2/descriptors.d.ts +28 -18
- package/dist/types/generated/v2/types.d.ts +969 -253
- package/dist/types/index.d.ts +1 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -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
|
-
|
|
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. */
|
|
@@ -284,14 +286,20 @@ const buildDomainApi = (baseClient) => ({
|
|
|
284
286
|
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
285
287
|
/** Get a Domain. */
|
|
286
288
|
getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
289
|
+
/** Get a Contact-Verification. */
|
|
290
|
+
getContactVerification: new ApiCallAsyncResourceFactory(descriptors.domainGetContactVerification, baseClient.domain.getContactVerification).getApiResource,
|
|
287
291
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
288
292
|
getLatestScreenshot: new ApiCallAsyncResourceFactory(descriptors.domainGetLatestScreenshot, baseClient.domain.getLatestScreenshot).getApiResource,
|
|
293
|
+
/** List Contact-Verifications belonging to the executing user. */
|
|
294
|
+
listContactVerifications: new ApiCallAsyncResourceFactory(descriptors.domainListContactVerifications, baseClient.domain.listContactVerifications).getApiResource,
|
|
289
295
|
/** List the contact schemas for a TLD. */
|
|
290
296
|
listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
291
297
|
/** List TLDs. */
|
|
292
298
|
listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
293
|
-
/** List Domain-Migrations belonging to a
|
|
294
|
-
|
|
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,
|
|
295
303
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
296
304
|
suggest: new ApiCallAsyncResourceFactory(descriptors.domainSuggest, baseClient.domain.suggest).getApiResource,
|
|
297
305
|
/** List Ingresses. */
|
|
@@ -306,10 +314,6 @@ const buildDomainApi = (baseClient) => ({
|
|
|
306
314
|
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
307
315
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
308
316
|
sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
|
|
309
|
-
/** Get a Contact-Verification. */
|
|
310
|
-
getContactVerification: new ApiCallAsyncResourceFactory(descriptors.domainGetContactVerification, baseClient.domain.getContactVerification).getApiResource,
|
|
311
|
-
/** List Contact-Verifications belonging to the executing user. */
|
|
312
|
-
listContactVerifications: new ApiCallAsyncResourceFactory(descriptors.domainListContactVerifications, baseClient.domain.listContactVerifications).getApiResource,
|
|
313
317
|
});
|
|
314
318
|
const buildFileApi = (baseClient) => ({
|
|
315
319
|
/** Get a File's meta. */
|
|
@@ -404,6 +408,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
404
408
|
getApiToken: new ApiCallAsyncResourceFactory(descriptors.userGetApiToken, baseClient.user.getApiToken).getApiResource,
|
|
405
409
|
/** Get a specific stored ssh-key. */
|
|
406
410
|
getSshKey: new ApiCallAsyncResourceFactory(descriptors.userGetSshKey, baseClient.user.getSshKey).getApiResource,
|
|
411
|
+
/** Check status of the current session. */
|
|
412
|
+
getCurrentSessionStatus: new ApiCallAsyncResourceFactory(descriptors.userGetCurrentSessionStatus, baseClient.user.getCurrentSessionStatus).getApiResource,
|
|
407
413
|
/** The timestamp of your latest password change. */
|
|
408
414
|
getPasswordUpdatedAt: new ApiCallAsyncResourceFactory(descriptors.userGetPasswordUpdatedAt, baseClient.user.getPasswordUpdatedAt).getApiResource,
|
|
409
415
|
/** Get personalized settings. */
|
|
@@ -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
|
-
|
|
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
|
-
|
|
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
|
|
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. */
|
|
@@ -589,18 +597,26 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
589
597
|
getDomain: this.requestFunctionFactory(descriptors.domainGetDomain),
|
|
590
598
|
/** Delete a Domain. */
|
|
591
599
|
deleteDomain: this.requestFunctionFactory(descriptors.domainDeleteDomain),
|
|
600
|
+
/** Get a Contact-Verification. */
|
|
601
|
+
getContactVerification: this.requestFunctionFactory(descriptors.domainGetContactVerification),
|
|
592
602
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
593
603
|
getLatestScreenshot: this.requestFunctionFactory(descriptors.domainGetLatestScreenshot),
|
|
604
|
+
/** List Contact-Verifications belonging to the executing user. */
|
|
605
|
+
listContactVerifications: this.requestFunctionFactory(descriptors.domainListContactVerifications),
|
|
594
606
|
/** List the contact schemas for a TLD. */
|
|
595
607
|
listTldContactSchemas: this.requestFunctionFactory(descriptors.domainListTldContactSchemas),
|
|
596
608
|
/** List TLDs. */
|
|
597
609
|
listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
|
|
598
610
|
/** Check if a Domain-Migration from a pAccount into a Project is possible. */
|
|
599
611
|
migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.domainMigrationCheckMigrationIsPossible),
|
|
600
|
-
/** List Domain-Migrations belonging to a
|
|
601
|
-
|
|
602
|
-
/**
|
|
603
|
-
|
|
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),
|
|
618
|
+
/** Resends a Contact-Verification email. */
|
|
619
|
+
resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
|
|
604
620
|
/** Resend a Domain email. */
|
|
605
621
|
resendDomainEmail: this.requestFunctionFactory(descriptors.domainResendDomainEmail),
|
|
606
622
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
@@ -645,12 +661,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
645
661
|
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
646
662
|
/** Update the certificate of a CertificateRequest. */
|
|
647
663
|
sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
|
|
648
|
-
/** Get a Contact-Verification. */
|
|
649
|
-
getContactVerification: this.requestFunctionFactory(descriptors.domainGetContactVerification),
|
|
650
|
-
/** List Contact-Verifications belonging to the executing user. */
|
|
651
|
-
listContactVerifications: this.requestFunctionFactory(descriptors.domainListContactVerifications),
|
|
652
|
-
/** Resends a Contact-Verification email. */
|
|
653
|
-
resendContactVerificationEmail: this.requestFunctionFactory(descriptors.domainResendContactVerificationEmail),
|
|
654
664
|
};
|
|
655
665
|
/** The mail API allows you to manage your mail accounts. */
|
|
656
666
|
mail = {
|
|
@@ -748,8 +758,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
748
758
|
changeEmail: this.requestFunctionFactory(descriptors.userChangeEmail),
|
|
749
759
|
/** Change your password. */
|
|
750
760
|
changePassword: this.requestFunctionFactory(descriptors.userChangePassword),
|
|
751
|
-
/** Check token for validity. */
|
|
752
|
-
checkToken: this.requestFunctionFactory(descriptors.userCheckToken),
|
|
753
761
|
/** Get your current multi factor auth status. */
|
|
754
762
|
getMfaStatus: this.requestFunctionFactory(descriptors.userGetMfaStatus),
|
|
755
763
|
/** Reset RecoveryCodes for MFA. */
|
|
@@ -784,6 +792,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
784
792
|
deleteSshKey: this.requestFunctionFactory(descriptors.userDeleteSshKey),
|
|
785
793
|
/** Delete your account and all your personal data. */
|
|
786
794
|
deleteUser: this.requestFunctionFactory(descriptors.userDeleteUser),
|
|
795
|
+
/** Check status of the current session. */
|
|
796
|
+
getCurrentSessionStatus: this.requestFunctionFactory(descriptors.userGetCurrentSessionStatus),
|
|
787
797
|
/** The timestamp of your latest password change. */
|
|
788
798
|
getPasswordUpdatedAt: this.requestFunctionFactory(descriptors.userGetPasswordUpdatedAt),
|
|
789
799
|
/** Get personalized settings. */
|
|
@@ -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
|
|
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
|
|
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
|
|
338
|
+
export const backupRequestProjectBackupRestore = {
|
|
333
339
|
path: "/v2/project-backups/{projectBackupId}/restore",
|
|
334
340
|
method: "POST",
|
|
335
|
-
operationId: "backup-request-project-backup-restore
|
|
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",
|
|
@@ -1336,12 +1354,24 @@ export const domainDeleteDomain = {
|
|
|
1336
1354
|
method: "DELETE",
|
|
1337
1355
|
operationId: "domain-delete-domain",
|
|
1338
1356
|
};
|
|
1357
|
+
/** Get a Contact-Verification. */
|
|
1358
|
+
export const domainGetContactVerification = {
|
|
1359
|
+
path: "/v2/contact-verifications/{contactVerificationId}",
|
|
1360
|
+
method: "GET",
|
|
1361
|
+
operationId: "domain-get-contact-verification",
|
|
1362
|
+
};
|
|
1339
1363
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
1340
1364
|
export const domainGetLatestScreenshot = {
|
|
1341
1365
|
path: "/v2/domains/latest-screenshot",
|
|
1342
1366
|
method: "GET",
|
|
1343
1367
|
operationId: "domain-get-latest-screenshot",
|
|
1344
1368
|
};
|
|
1369
|
+
/** List Contact-Verifications belonging to the executing user. */
|
|
1370
|
+
export const domainListContactVerifications = {
|
|
1371
|
+
path: "/v2/contact-verifications",
|
|
1372
|
+
method: "GET",
|
|
1373
|
+
operationId: "domain-list-contact-verifications",
|
|
1374
|
+
};
|
|
1345
1375
|
/** List the contact schemas for a TLD. */
|
|
1346
1376
|
export const domainListTldContactSchemas = {
|
|
1347
1377
|
path: "/v2/domain-tlds/{tld}/contact-schemas",
|
|
@@ -1360,17 +1390,29 @@ export const domainMigrationCheckMigrationIsPossible = {
|
|
|
1360
1390
|
method: "POST",
|
|
1361
1391
|
operationId: "domain-migration-check-migration-is-possible",
|
|
1362
1392
|
};
|
|
1363
|
-
/** List Domain-Migrations belonging to a
|
|
1364
|
-
export const
|
|
1365
|
-
path: "/v2/domain-migrations",
|
|
1393
|
+
/** List Domain-Migrations belonging to a pAccount. */
|
|
1394
|
+
export const domainMigrationListMigrationsByPaccount = {
|
|
1395
|
+
path: "/v2/p-accounts/{pAccount}/domain-migrations",
|
|
1366
1396
|
method: "GET",
|
|
1367
|
-
operationId: "domain-migration-list-migrations",
|
|
1397
|
+
operationId: "domain-migration-list-migrations-by-p-account",
|
|
1368
1398
|
};
|
|
1369
|
-
/**
|
|
1370
|
-
export const
|
|
1371
|
-
path: "/v2/domain-migrations
|
|
1399
|
+
/** List Domain-Migrations belonging to a Project. */
|
|
1400
|
+
export const domainMigrationListMigrationsByProjectId = {
|
|
1401
|
+
path: "/v2/projects/{projectId}/domain-migrations",
|
|
1402
|
+
method: "GET",
|
|
1403
|
+
operationId: "domain-migration-list-migrations-by-project-id",
|
|
1404
|
+
};
|
|
1405
|
+
/** Order a Domain-Migration from a pAccount into a Project. */
|
|
1406
|
+
export const domainMigrationOrderDomainMigration = {
|
|
1407
|
+
path: "/v2/domain-migrations",
|
|
1408
|
+
method: "POST",
|
|
1409
|
+
operationId: "domain-migration-order-domain-migration",
|
|
1410
|
+
};
|
|
1411
|
+
/** Resends a Contact-Verification email. */
|
|
1412
|
+
export const domainResendContactVerificationEmail = {
|
|
1413
|
+
path: "/v2/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email",
|
|
1372
1414
|
method: "POST",
|
|
1373
|
-
operationId: "domain-
|
|
1415
|
+
operationId: "domain-resend-contact-verification-email",
|
|
1374
1416
|
};
|
|
1375
1417
|
/** Resend a Domain email. */
|
|
1376
1418
|
export const domainResendDomainEmail = {
|
|
@@ -1498,7 +1540,7 @@ export const extensionGetOwnExtension = {
|
|
|
1498
1540
|
method: "GET",
|
|
1499
1541
|
operationId: "extension-get-own-extension",
|
|
1500
1542
|
};
|
|
1501
|
-
/** Delete an
|
|
1543
|
+
/** Delete an Extension. */
|
|
1502
1544
|
export const extensionDeleteExtension = {
|
|
1503
1545
|
path: "/v2/contributors/{contributorId}/extensions/{extensionId}",
|
|
1504
1546
|
method: "DELETE",
|
|
@@ -1594,6 +1636,12 @@ export const extensionInvalidateExtensionSecret = {
|
|
|
1594
1636
|
method: "DELETE",
|
|
1595
1637
|
operationId: "extension-invalidate-extension-secret",
|
|
1596
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
|
+
};
|
|
1597
1645
|
/** List Contributors. */
|
|
1598
1646
|
export const extensionListContributors = {
|
|
1599
1647
|
path: "/v2/contributors",
|
|
@@ -2542,12 +2590,6 @@ export const userChangePassword = {
|
|
|
2542
2590
|
method: "PUT",
|
|
2543
2591
|
operationId: "user-change-password",
|
|
2544
2592
|
};
|
|
2545
|
-
/** Check token for validity. */
|
|
2546
|
-
export const userCheckToken = {
|
|
2547
|
-
path: "/v2/users/self/credentials/token",
|
|
2548
|
-
method: "POST",
|
|
2549
|
-
operationId: "user-check-token",
|
|
2550
|
-
};
|
|
2551
2593
|
/** Get your current multi factor auth status. */
|
|
2552
2594
|
export const userGetMfaStatus = {
|
|
2553
2595
|
path: "/v2/users/self/credentials/mfa",
|
|
@@ -2650,6 +2692,12 @@ export const userDeleteUser = {
|
|
|
2650
2692
|
method: "DELETE",
|
|
2651
2693
|
operationId: "user-delete-user",
|
|
2652
2694
|
};
|
|
2695
|
+
/** Check status of the current session. */
|
|
2696
|
+
export const userGetCurrentSessionStatus = {
|
|
2697
|
+
path: "/v2/users/self/sessions/current/status",
|
|
2698
|
+
method: "GET",
|
|
2699
|
+
operationId: "user-get-current-session-status",
|
|
2700
|
+
};
|
|
2653
2701
|
/** The timestamp of your latest password change. */
|
|
2654
2702
|
export const userGetPasswordUpdatedAt = {
|
|
2655
2703
|
path: "/v2/users/self/credentials/password-updated-at",
|
|
@@ -2824,21 +2872,3 @@ export const verificationVerifyCompany = {
|
|
|
2824
2872
|
method: "POST",
|
|
2825
2873
|
operationId: "verification-verify-company",
|
|
2826
2874
|
};
|
|
2827
|
-
/** Get a Contact-Verification. */
|
|
2828
|
-
export const domainGetContactVerification = {
|
|
2829
|
-
path: "/v2/contact-verifications/{contactVerificationId}",
|
|
2830
|
-
method: "GET",
|
|
2831
|
-
operationId: "domain-get-contact-verification",
|
|
2832
|
-
};
|
|
2833
|
-
/** List Contact-Verifications belonging to the executing user. */
|
|
2834
|
-
export const domainListContactVerifications = {
|
|
2835
|
-
path: "/v2/contact-verifications",
|
|
2836
|
-
method: "GET",
|
|
2837
|
-
operationId: "domain-list-contact-verifications",
|
|
2838
|
-
};
|
|
2839
|
-
/** Resends a Contact-Verification email. */
|
|
2840
|
-
export const domainResendContactVerificationEmail = {
|
|
2841
|
-
path: "/v2/contact-verifications/{contactVerificationId}/actions/resend-contact-verification-email",
|
|
2842
|
-
method: "POST",
|
|
2843
|
-
operationId: "domain-resend-contact-verification-email",
|
|
2844
|
-
};
|
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";
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.383.0';
|
|
@@ -142,6 +142,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
142
142
|
deletionRequested?: boolean | undefined;
|
|
143
143
|
description: string;
|
|
144
144
|
disabled: boolean;
|
|
145
|
+
hostname?: string | undefined;
|
|
145
146
|
id: string;
|
|
146
147
|
installationPath: string;
|
|
147
148
|
lastError?: string | undefined;
|
|
@@ -150,6 +151,10 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
150
151
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
|
|
151
152
|
} | undefined;
|
|
152
153
|
phase: import("./types.js").MittwaldAPIV2.Components.Schemas.AppPhase;
|
|
154
|
+
ports?: {
|
|
155
|
+
name?: string;
|
|
156
|
+
port?: number;
|
|
157
|
+
}[] | undefined;
|
|
153
158
|
projectDescription: string;
|
|
154
159
|
projectId: string;
|
|
155
160
|
screenshotId?: string | undefined;
|
|
@@ -254,6 +259,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
254
259
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
255
260
|
appIds?: string[] | undefined;
|
|
256
261
|
searchTerm?: string | undefined;
|
|
262
|
+
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
|
|
257
263
|
limit?: number | undefined;
|
|
258
264
|
skip?: number | undefined;
|
|
259
265
|
page?: number | undefined;
|
|
@@ -270,6 +276,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
270
276
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
271
277
|
appIds?: string[] | undefined;
|
|
272
278
|
searchTerm?: string | undefined;
|
|
279
|
+
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppInstallationSortOrder | undefined;
|
|
273
280
|
limit?: number | undefined;
|
|
274
281
|
skip?: number | undefined;
|
|
275
282
|
page?: number | undefined;
|
|
@@ -427,6 +434,7 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
427
434
|
withExportsOnly?: boolean | undefined;
|
|
428
435
|
sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupBackupSortOrder | undefined;
|
|
429
436
|
runningRestoresOnly?: boolean | undefined;
|
|
437
|
+
runningBackupsOnly?: boolean | undefined;
|
|
430
438
|
limit?: number | undefined;
|
|
431
439
|
skip?: number | undefined;
|
|
432
440
|
page?: number | undefined;
|
|
@@ -471,7 +479,7 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
471
479
|
status: string;
|
|
472
480
|
}>;
|
|
473
481
|
/** List database dump's for a ProjectBackup. */
|
|
474
|
-
|
|
482
|
+
getProjectBackupDatabaseDumps: (conf: {
|
|
475
483
|
projectBackupId: string;
|
|
476
484
|
headers?: {
|
|
477
485
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -1322,9 +1330,11 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1322
1330
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
1323
1331
|
} | undefined;
|
|
1324
1332
|
id: string;
|
|
1333
|
+
nextScheduledWebhookExecution?: string | undefined;
|
|
1325
1334
|
pendingInstallation: boolean;
|
|
1326
1335
|
pendingRemoval: boolean;
|
|
1327
1336
|
variantKey?: string | undefined;
|
|
1337
|
+
webhookExecutionHalted: boolean;
|
|
1328
1338
|
}>;
|
|
1329
1339
|
/** Get Extension of own contributor. */
|
|
1330
1340
|
extensionGetOwnExtension: (conf: {
|
|
@@ -1438,9 +1448,11 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1438
1448
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
1439
1449
|
} | undefined;
|
|
1440
1450
|
id: string;
|
|
1451
|
+
nextScheduledWebhookExecution?: string | undefined;
|
|
1441
1452
|
pendingInstallation: boolean;
|
|
1442
1453
|
pendingRemoval: boolean;
|
|
1443
1454
|
variantKey?: string | undefined;
|
|
1455
|
+
webhookExecutionHalted: boolean;
|
|
1444
1456
|
}>;
|
|
1445
1457
|
/** Get the ExtensionInstance of a specific project and extension, if existing. */
|
|
1446
1458
|
extensionGetExtensionInstanceForProject: (conf: {
|
|
@@ -1470,9 +1482,11 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1470
1482
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
1471
1483
|
} | undefined;
|
|
1472
1484
|
id: string;
|
|
1485
|
+
nextScheduledWebhookExecution?: string | undefined;
|
|
1473
1486
|
pendingInstallation: boolean;
|
|
1474
1487
|
pendingRemoval: boolean;
|
|
1475
1488
|
variantKey?: string | undefined;
|
|
1489
|
+
webhookExecutionHalted: boolean;
|
|
1476
1490
|
}>;
|
|
1477
1491
|
/** Get an Extension. */
|
|
1478
1492
|
extensionGetExtension: (conf: {
|
|
@@ -1509,6 +1523,24 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1509
1523
|
key: string;
|
|
1510
1524
|
serial: string;
|
|
1511
1525
|
}>;
|
|
1526
|
+
/** List all Webhook Executions. */
|
|
1527
|
+
extensionListAllExtensionInstanceWebhookExecutions: (conf: {
|
|
1528
|
+
contributorId: string;
|
|
1529
|
+
headers?: {
|
|
1530
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1531
|
+
"x-access-token"?: string | undefined;
|
|
1532
|
+
} | undefined;
|
|
1533
|
+
queryParameters?: {
|
|
1534
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1535
|
+
extensionId?: string | undefined;
|
|
1536
|
+
extensionInstanceId?: string | undefined;
|
|
1537
|
+
limit?: number | undefined;
|
|
1538
|
+
skip?: number | undefined;
|
|
1539
|
+
page?: number | undefined;
|
|
1540
|
+
sort?: ("attempts" | "nextScheduledExecution")[] | undefined;
|
|
1541
|
+
order?: ("asc" | "desc")[] | undefined;
|
|
1542
|
+
} | undefined;
|
|
1543
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceWebhookExecution[]>;
|
|
1512
1544
|
/** List Contributors. */
|
|
1513
1545
|
extensionListContributors: (conf?: {
|
|
1514
1546
|
headers?: {
|
|
@@ -1796,6 +1828,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1796
1828
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1797
1829
|
limit?: number | undefined;
|
|
1798
1830
|
skip?: number | undefined;
|
|
1831
|
+
searchTerm?: string | undefined;
|
|
1799
1832
|
} | undefined;
|
|
1800
1833
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerInvite[]>;
|
|
1801
1834
|
/** Get all customer profiles the authenticated user has access to. */
|
|
@@ -1965,6 +1998,7 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1965
1998
|
skip?: number | undefined;
|
|
1966
1999
|
hasExpiry?: boolean | undefined;
|
|
1967
2000
|
role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerRoles | undefined;
|
|
2001
|
+
searchTerm?: string | undefined;
|
|
1968
2002
|
} | undefined;
|
|
1969
2003
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
|
|
1970
2004
|
};
|
|
@@ -2188,6 +2222,18 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2188
2222
|
transferInAuthCode?: string | undefined;
|
|
2189
2223
|
usesDefaultNameserver: boolean;
|
|
2190
2224
|
}>;
|
|
2225
|
+
/** Get a Contact-Verification. */
|
|
2226
|
+
getContactVerification: (conf: {
|
|
2227
|
+
contactVerificationId: string;
|
|
2228
|
+
headers?: {
|
|
2229
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2230
|
+
"x-access-token"?: string | undefined;
|
|
2231
|
+
} | undefined;
|
|
2232
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2233
|
+
id: string;
|
|
2234
|
+
status: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationStatus;
|
|
2235
|
+
typeData: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationAddressData | import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationEmailData | import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationNameData;
|
|
2236
|
+
}>;
|
|
2191
2237
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
2192
2238
|
getLatestScreenshot: (conf: {
|
|
2193
2239
|
queryParameters: {
|
|
@@ -2201,6 +2247,18 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2201
2247
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2202
2248
|
reference?: string | undefined;
|
|
2203
2249
|
}>;
|
|
2250
|
+
/** List Contact-Verifications belonging to the executing user. */
|
|
2251
|
+
listContactVerifications: (conf?: {
|
|
2252
|
+
headers?: {
|
|
2253
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2254
|
+
"x-access-token"?: string | undefined;
|
|
2255
|
+
} | undefined;
|
|
2256
|
+
queryParameters?: {
|
|
2257
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2258
|
+
value?: string | undefined;
|
|
2259
|
+
type?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationType | undefined;
|
|
2260
|
+
} | undefined;
|
|
2261
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerification[]>;
|
|
2204
2262
|
/** List the contact schemas for a TLD. */
|
|
2205
2263
|
listTldContactSchemas: (conf: {
|
|
2206
2264
|
tld: string;
|
|
@@ -2217,16 +2275,21 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2217
2275
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2218
2276
|
} | undefined;
|
|
2219
2277
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
|
|
2220
|
-
/** List Domain-Migrations belonging to a
|
|
2221
|
-
|
|
2278
|
+
/** List Domain-Migrations belonging to a pAccount. */
|
|
2279
|
+
migrationListMigrationsByPaccount: (conf: {
|
|
2222
2280
|
headers: {
|
|
2223
2281
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2224
2282
|
Authorization: string;
|
|
2225
2283
|
};
|
|
2226
|
-
|
|
2284
|
+
pAccount: string;
|
|
2285
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainmigrationMigration[]>;
|
|
2286
|
+
/** List Domain-Migrations belonging to a Project. */
|
|
2287
|
+
migrationListMigrationsByProjectId: (conf: {
|
|
2288
|
+
projectId: string;
|
|
2289
|
+
headers?: {
|
|
2227
2290
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2228
|
-
|
|
2229
|
-
};
|
|
2291
|
+
"x-access-token"?: string | undefined;
|
|
2292
|
+
} | undefined;
|
|
2230
2293
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainmigrationMigration[]>;
|
|
2231
2294
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
2232
2295
|
suggest: (conf: {
|
|
@@ -2354,30 +2417,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2354
2417
|
ingressId?: string | undefined;
|
|
2355
2418
|
} | undefined;
|
|
2356
2419
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificate[]>;
|
|
2357
|
-
/** Get a Contact-Verification. */
|
|
2358
|
-
getContactVerification: (conf: {
|
|
2359
|
-
contactVerificationId: string;
|
|
2360
|
-
headers?: {
|
|
2361
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2362
|
-
"x-access-token"?: string | undefined;
|
|
2363
|
-
} | undefined;
|
|
2364
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2365
|
-
id: string;
|
|
2366
|
-
status: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationStatus;
|
|
2367
|
-
typeData: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationAddressData | import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationEmailData | import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationNameData;
|
|
2368
|
-
}>;
|
|
2369
|
-
/** List Contact-Verifications belonging to the executing user. */
|
|
2370
|
-
listContactVerifications: (conf?: {
|
|
2371
|
-
headers?: {
|
|
2372
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2373
|
-
"x-access-token"?: string | undefined;
|
|
2374
|
-
} | undefined;
|
|
2375
|
-
queryParameters?: {
|
|
2376
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2377
|
-
value?: string | undefined;
|
|
2378
|
-
type?: import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerificationType | undefined;
|
|
2379
|
-
} | undefined;
|
|
2380
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainContactVerification[]>;
|
|
2381
2420
|
};
|
|
2382
2421
|
declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2383
2422
|
/** Get a File's meta. */
|
|
@@ -3089,6 +3128,18 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3089
3128
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3090
3129
|
sshKey: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey;
|
|
3091
3130
|
}>;
|
|
3131
|
+
/** Check status of the current session. */
|
|
3132
|
+
getCurrentSessionStatus: (conf?: {
|
|
3133
|
+
headers?: {
|
|
3134
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3135
|
+
"x-access-token"?: string | undefined;
|
|
3136
|
+
} | undefined;
|
|
3137
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3138
|
+
isEmployee: boolean;
|
|
3139
|
+
isImpersonated: boolean;
|
|
3140
|
+
tokenId: string;
|
|
3141
|
+
userId: string;
|
|
3142
|
+
}>;
|
|
3092
3143
|
/** The timestamp of your latest password change. */
|
|
3093
3144
|
getPasswordUpdatedAt: (conf?: {
|
|
3094
3145
|
headers?: {
|
|
@@ -3236,6 +3287,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3236
3287
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3237
3288
|
limit?: number | undefined;
|
|
3238
3289
|
skip?: number | undefined;
|
|
3290
|
+
searchTerm?: string | undefined;
|
|
3239
3291
|
} | undefined;
|
|
3240
3292
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectInvite[]>;
|
|
3241
3293
|
/** Get a ProjectInvite. */
|
|
@@ -3398,6 +3450,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3398
3450
|
isInherited?: boolean | undefined;
|
|
3399
3451
|
role?: import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectRoles | undefined;
|
|
3400
3452
|
hasMfa?: boolean | undefined;
|
|
3453
|
+
searchTerm?: string | undefined;
|
|
3401
3454
|
} | undefined;
|
|
3402
3455
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
|
|
3403
3456
|
/** List ProjectInvites belonging to the executing user. */
|