@mittwald/api-client 0.0.0-development-7d1b6db-20261028 → 0.0.0-development-01577e1-20261106
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 +2 -4
- package/dist/esm/generated/v2/client.js +18 -18
- package/dist/esm/generated/v2/descriptors.js +66 -66
- package/dist/esm/generated/v3-next/client-react.js +2 -4
- package/dist/esm/generated/v3-next/client.js +18 -18
- package/dist/esm/generated/v3-next/descriptors.js +66 -66
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +18 -37
- package/dist/types/generated/v2/client.d.ts +1348 -1346
- package/dist/types/generated/v2/descriptors.d.ts +31 -31
- package/dist/types/generated/v2/types.d.ts +1004 -1324
- package/dist/types/generated/v3-next/client-react.d.ts +18 -37
- package/dist/types/generated/v3-next/client.d.ts +1346 -1344
- package/dist/types/generated/v3-next/descriptors.d.ts +31 -31
- package/dist/types/generated/v3-next/types.d.ts +1004 -1324
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -274,8 +274,6 @@ const buildCustomerApi = (baseClient) => ({
|
|
|
274
274
|
listCustomerMemberships: new ApiCallAsyncResourceFactory(descriptors.customerListCustomerMemberships, baseClient.customer.listCustomerMemberships).getApiResource,
|
|
275
275
|
/** List Memberships belonging to a Customer. */
|
|
276
276
|
listMembershipsForCustomer: new ApiCallAsyncResourceFactory(descriptors.customerListMembershipsForCustomer, baseClient.customer.listMembershipsForCustomer).getApiResource,
|
|
277
|
-
/** Get the activities of an organization. */
|
|
278
|
-
listCustomerActivities: new ApiCallAsyncResourceFactory(descriptors.customerListCustomerActivities, baseClient.customer.listCustomerActivities).getApiResource,
|
|
279
277
|
});
|
|
280
278
|
const buildDatabaseApi = (baseClient) => ({
|
|
281
279
|
/** List MySQLDatabases belonging to a Project. */
|
|
@@ -436,6 +434,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
436
434
|
getMfaStatus: new ApiCallAsyncResourceFactory(descriptors.userGetMfaStatus, baseClient.user.getMfaStatus).getApiResource,
|
|
437
435
|
/** List all of your ApiTokens. */
|
|
438
436
|
listApiTokens: new ApiCallAsyncResourceFactory(descriptors.userListApiTokens, baseClient.user.listApiTokens).getApiResource,
|
|
437
|
+
/** Get your registered passkeys. */
|
|
438
|
+
listPasskeys: new ApiCallAsyncResourceFactory(descriptors.userListPasskeys, baseClient.user.listPasskeys).getApiResource,
|
|
439
439
|
/** Get your stored ssh-keys. */
|
|
440
440
|
listSshKeys: new ApiCallAsyncResourceFactory(descriptors.userListSshKeys, baseClient.user.listSshKeys).getApiResource,
|
|
441
441
|
/** Get a specific ApiToken. */
|
|
@@ -466,8 +466,6 @@ const buildUserApi = (baseClient) => ({
|
|
|
466
466
|
searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
|
|
467
467
|
/** Request a support code. */
|
|
468
468
|
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
469
|
-
/** Get your registered passkeys. */
|
|
470
|
-
listPasskeys: new ApiCallAsyncResourceFactory(descriptors.userListPasskeys, baseClient.user.listPasskeys).getApiResource,
|
|
471
469
|
});
|
|
472
470
|
const buildProjectApi = (baseClient) => ({
|
|
473
471
|
/** List Invites belonging to a Project. */
|
|
@@ -527,8 +527,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
527
527
|
resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
|
|
528
528
|
/** Set how the customer became aware of mittwald. */
|
|
529
529
|
setCustomerReferralSource: this.requestFunctionFactory(descriptors.customerSetCustomerReferralSource),
|
|
530
|
-
/** Get the activities of an organization. */
|
|
531
|
-
listCustomerActivities: this.requestFunctionFactory(descriptors.customerListCustomerActivities),
|
|
532
530
|
};
|
|
533
531
|
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
534
532
|
database = {
|
|
@@ -767,6 +765,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
767
765
|
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
|
|
768
766
|
/** Mark all notifications as read. */
|
|
769
767
|
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
|
|
768
|
+
/** Reset notification settings to their defaults. */
|
|
769
|
+
sresetNotificationSettings: this.requestFunctionFactory(descriptors.notificationsResetNotificationSettings),
|
|
770
770
|
/** Update a notification's read status. */
|
|
771
771
|
supdateNotificationStatus: this.requestFunctionFactory(descriptors.notificationsUpdateNotificationStatus),
|
|
772
772
|
};
|
|
@@ -782,6 +782,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
782
782
|
removePhoneNumber: this.requestFunctionFactory(descriptors.userRemovePhoneNumber),
|
|
783
783
|
/** Validate your second factor. */
|
|
784
784
|
authenticateMfa: this.requestFunctionFactory(descriptors.userAuthenticateMfa),
|
|
785
|
+
/** Authenticate yourself with a passkey to get an access token. */
|
|
786
|
+
authenticatePasskey: this.requestFunctionFactory(descriptors.userAuthenticatePasskey),
|
|
785
787
|
/** Authenticate yourself to get an access token. */
|
|
786
788
|
authenticate: this.requestFunctionFactory(descriptors.userAuthenticate),
|
|
787
789
|
/** Authenticate an user with an access token retrieval key. */
|
|
@@ -808,6 +810,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
808
810
|
createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken),
|
|
809
811
|
/** Submit your user feedback. */
|
|
810
812
|
createFeedback: this.requestFunctionFactory(descriptors.userCreateFeedback),
|
|
813
|
+
/** Create a challenge for a passkey login. */
|
|
814
|
+
createPasskeyChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyChallenge),
|
|
815
|
+
/** Create a challenge to confirm an action with a passkey. */
|
|
816
|
+
createPasskeyConfirmationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyConfirmationChallenge),
|
|
817
|
+
/** Create a challenge to register a new passkey. */
|
|
818
|
+
createPasskeyRegistrationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyRegistrationChallenge),
|
|
819
|
+
/** Get your registered passkeys. */
|
|
820
|
+
listPasskeys: this.requestFunctionFactory(descriptors.userListPasskeys),
|
|
821
|
+
/** Register a new passkey. */
|
|
822
|
+
createPasskey: this.requestFunctionFactory(descriptors.userCreatePasskey),
|
|
811
823
|
/** Get your stored ssh-keys. */
|
|
812
824
|
listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys),
|
|
813
825
|
/** Store a new ssh-key. */
|
|
@@ -818,6 +830,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
818
830
|
editApiToken: this.requestFunctionFactory(descriptors.userEditApiToken),
|
|
819
831
|
/** Deletes an ApiToken. */
|
|
820
832
|
deleteApiToken: this.requestFunctionFactory(descriptors.userDeleteApiToken),
|
|
833
|
+
/** Delete a passkey. */
|
|
834
|
+
deletePasskey: this.requestFunctionFactory(descriptors.userDeletePasskey),
|
|
835
|
+
/** Rename a passkey. */
|
|
836
|
+
updatePasskey: this.requestFunctionFactory(descriptors.userUpdatePasskey),
|
|
821
837
|
/** Get a specific stored ssh-key. */
|
|
822
838
|
getSshKey: this.requestFunctionFactory(descriptors.userGetSshKey),
|
|
823
839
|
/** Edit a stored ssh-key. */
|
|
@@ -888,22 +904,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
888
904
|
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
889
905
|
/** Verify your registration. */
|
|
890
906
|
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
|
|
891
|
-
/** Authenticate yourself with a passkey to get an access token. */
|
|
892
|
-
authenticateWithPasskey: this.requestFunctionFactory(descriptors.userAuthenticateWithPasskey),
|
|
893
|
-
/** Create a challenge for a passkey login. */
|
|
894
|
-
createPasskeyChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyChallenge),
|
|
895
|
-
/** Delete a passkey. */
|
|
896
|
-
deletePasskey: this.requestFunctionFactory(descriptors.userDeletePasskey),
|
|
897
|
-
/** Rename a passkey. */
|
|
898
|
-
updatePasskey: this.requestFunctionFactory(descriptors.userUpdatePasskey),
|
|
899
|
-
/** Get your registered passkeys. */
|
|
900
|
-
listPasskeys: this.requestFunctionFactory(descriptors.userListPasskeys),
|
|
901
|
-
/** Register a new passkey. */
|
|
902
|
-
createPasskey: this.requestFunctionFactory(descriptors.userCreatePasskey),
|
|
903
|
-
/** Create a challenge to confirm an action with a passkey. */
|
|
904
|
-
createOwnPasskeyChallenge: this.requestFunctionFactory(descriptors.userCreateOwnPasskeyChallenge),
|
|
905
|
-
/** Create a challenge to register a new passkey. */
|
|
906
|
-
createPasskeyRegistrationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyRegistrationChallenge),
|
|
907
907
|
};
|
|
908
908
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
909
909
|
file = {
|
|
@@ -148,6 +148,18 @@ export const aiHostingProjectRotateKey = {
|
|
|
148
148
|
method: "POST",
|
|
149
149
|
operationId: "ai-hosting-project-rotate-key",
|
|
150
150
|
};
|
|
151
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
152
|
+
export const aiHostingUserGetKeys = {
|
|
153
|
+
path: "/v2/ai-hosting-keys",
|
|
154
|
+
method: "GET",
|
|
155
|
+
operationId: "ai-hosting-user-get-keys",
|
|
156
|
+
};
|
|
157
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
158
|
+
export const aiHostingUserGetPlans = {
|
|
159
|
+
path: "/v2/ai-hostings",
|
|
160
|
+
method: "GET",
|
|
161
|
+
operationId: "ai-hosting-user-get-plans",
|
|
162
|
+
};
|
|
151
163
|
/** Detach a staging AppInstallation from its source. */
|
|
152
164
|
export const appDetachAppinstallationStaging = {
|
|
153
165
|
path: "/v2/app-installations/{appInstallationId}/actions/detach-staging",
|
|
@@ -2194,6 +2206,12 @@ export const notificationsReadAllNotifications = {
|
|
|
2194
2206
|
method: "POST",
|
|
2195
2207
|
operationId: "notifications-read-all-notifications",
|
|
2196
2208
|
};
|
|
2209
|
+
/** Reset notification settings to their defaults. */
|
|
2210
|
+
export const notificationsResetNotificationSettings = {
|
|
2211
|
+
path: "/v2/notification-settings/actions/reset",
|
|
2212
|
+
method: "POST",
|
|
2213
|
+
operationId: "notifications-reset-notification-settings",
|
|
2214
|
+
};
|
|
2197
2215
|
/** Update a notification's read status. */
|
|
2198
2216
|
export const notificationsUpdateNotificationStatus = {
|
|
2199
2217
|
path: "/v2/notifications/{notificationId}/status",
|
|
@@ -2650,6 +2668,12 @@ export const userAuthenticateMfa = {
|
|
|
2650
2668
|
method: "POST",
|
|
2651
2669
|
operationId: "user-authenticate-mfa",
|
|
2652
2670
|
};
|
|
2671
|
+
/** Authenticate yourself with a passkey to get an access token. */
|
|
2672
|
+
export const userAuthenticatePasskey = {
|
|
2673
|
+
path: "/v2/authenticate-passkey",
|
|
2674
|
+
method: "POST",
|
|
2675
|
+
operationId: "user-authenticate-passkey",
|
|
2676
|
+
};
|
|
2653
2677
|
/** Authenticate yourself to get an access token. */
|
|
2654
2678
|
export const userAuthenticate = {
|
|
2655
2679
|
path: "/v2/authenticate",
|
|
@@ -2728,6 +2752,36 @@ export const userCreateFeedback = {
|
|
|
2728
2752
|
method: "POST",
|
|
2729
2753
|
operationId: "user-create-feedback",
|
|
2730
2754
|
};
|
|
2755
|
+
/** Create a challenge for a passkey login. */
|
|
2756
|
+
export const userCreatePasskeyChallenge = {
|
|
2757
|
+
path: "/v2/passkey-challenges",
|
|
2758
|
+
method: "POST",
|
|
2759
|
+
operationId: "user-create-passkey-challenge",
|
|
2760
|
+
};
|
|
2761
|
+
/** Create a challenge to confirm an action with a passkey. */
|
|
2762
|
+
export const userCreatePasskeyConfirmationChallenge = {
|
|
2763
|
+
path: "/v2/users/self/passkey-challenges",
|
|
2764
|
+
method: "POST",
|
|
2765
|
+
operationId: "user-create-passkey-confirmation-challenge",
|
|
2766
|
+
};
|
|
2767
|
+
/** Create a challenge to register a new passkey. */
|
|
2768
|
+
export const userCreatePasskeyRegistrationChallenge = {
|
|
2769
|
+
path: "/v2/users/self/passkey-registration-challenges",
|
|
2770
|
+
method: "POST",
|
|
2771
|
+
operationId: "user-create-passkey-registration-challenge",
|
|
2772
|
+
};
|
|
2773
|
+
/** Get your registered passkeys. */
|
|
2774
|
+
export const userListPasskeys = {
|
|
2775
|
+
path: "/v2/users/self/passkeys",
|
|
2776
|
+
method: "GET",
|
|
2777
|
+
operationId: "user-list-passkeys",
|
|
2778
|
+
};
|
|
2779
|
+
/** Register a new passkey. */
|
|
2780
|
+
export const userCreatePasskey = {
|
|
2781
|
+
path: "/v2/users/self/passkeys",
|
|
2782
|
+
method: "POST",
|
|
2783
|
+
operationId: "user-create-passkey",
|
|
2784
|
+
};
|
|
2731
2785
|
/** Get your stored ssh-keys. */
|
|
2732
2786
|
export const userListSshKeys = {
|
|
2733
2787
|
path: "/v2/users/self/ssh-keys",
|
|
@@ -2758,6 +2812,18 @@ export const userDeleteApiToken = {
|
|
|
2758
2812
|
method: "DELETE",
|
|
2759
2813
|
operationId: "user-delete-api-token",
|
|
2760
2814
|
};
|
|
2815
|
+
/** Delete a passkey. */
|
|
2816
|
+
export const userDeletePasskey = {
|
|
2817
|
+
path: "/v2/users/self/passkeys/{passkeyId}",
|
|
2818
|
+
method: "DELETE",
|
|
2819
|
+
operationId: "user-delete-passkey",
|
|
2820
|
+
};
|
|
2821
|
+
/** Rename a passkey. */
|
|
2822
|
+
export const userUpdatePasskey = {
|
|
2823
|
+
path: "/v2/users/self/passkeys/{passkeyId}",
|
|
2824
|
+
method: "PATCH",
|
|
2825
|
+
operationId: "user-update-passkey",
|
|
2826
|
+
};
|
|
2761
2827
|
/** Get a specific stored ssh-key. */
|
|
2762
2828
|
export const userGetSshKey = {
|
|
2763
2829
|
path: "/v2/users/self/ssh-keys/{sshKeyId}",
|
|
@@ -2986,69 +3052,3 @@ export const verificationVerifyCompany = {
|
|
|
2986
3052
|
method: "POST",
|
|
2987
3053
|
operationId: "verification-verify-company",
|
|
2988
3054
|
};
|
|
2989
|
-
/** Get all ai hosting keys the authenticated user can access. */
|
|
2990
|
-
export const aiHostingUserGetKeys = {
|
|
2991
|
-
path: "/v2/ai-hosting-keys",
|
|
2992
|
-
method: "GET",
|
|
2993
|
-
operationId: "ai-hosting-user-get-keys",
|
|
2994
|
-
};
|
|
2995
|
-
/** Get all ai hosting plans the authenticated user can access. */
|
|
2996
|
-
export const aiHostingUserGetPlans = {
|
|
2997
|
-
path: "/v2/ai-hostings",
|
|
2998
|
-
method: "GET",
|
|
2999
|
-
operationId: "ai-hosting-user-get-plans",
|
|
3000
|
-
};
|
|
3001
|
-
/** Get the activities of an organization. */
|
|
3002
|
-
export const customerListCustomerActivities = {
|
|
3003
|
-
path: "/v2/customers/{customerId}/activities",
|
|
3004
|
-
method: "GET",
|
|
3005
|
-
operationId: "customer-list-customer-activities",
|
|
3006
|
-
};
|
|
3007
|
-
/** Authenticate yourself with a passkey to get an access token. */
|
|
3008
|
-
export const userAuthenticateWithPasskey = {
|
|
3009
|
-
path: "/v2/authenticate-passkey",
|
|
3010
|
-
method: "POST",
|
|
3011
|
-
operationId: "user-authenticate-with-passkey",
|
|
3012
|
-
};
|
|
3013
|
-
/** Create a challenge for a passkey login. */
|
|
3014
|
-
export const userCreatePasskeyChallenge = {
|
|
3015
|
-
path: "/v2/passkey-challenges",
|
|
3016
|
-
method: "POST",
|
|
3017
|
-
operationId: "user-create-passkey-challenge",
|
|
3018
|
-
};
|
|
3019
|
-
/** Delete a passkey. */
|
|
3020
|
-
export const userDeletePasskey = {
|
|
3021
|
-
path: "/v2/users/self/passkeys/{passkeyId}",
|
|
3022
|
-
method: "DELETE",
|
|
3023
|
-
operationId: "user-delete-passkey",
|
|
3024
|
-
};
|
|
3025
|
-
/** Rename a passkey. */
|
|
3026
|
-
export const userUpdatePasskey = {
|
|
3027
|
-
path: "/v2/users/self/passkeys/{passkeyId}",
|
|
3028
|
-
method: "PATCH",
|
|
3029
|
-
operationId: "user-update-passkey",
|
|
3030
|
-
};
|
|
3031
|
-
/** Get your registered passkeys. */
|
|
3032
|
-
export const userListPasskeys = {
|
|
3033
|
-
path: "/v2/users/self/passkeys",
|
|
3034
|
-
method: "GET",
|
|
3035
|
-
operationId: "user-list-passkeys",
|
|
3036
|
-
};
|
|
3037
|
-
/** Register a new passkey. */
|
|
3038
|
-
export const userCreatePasskey = {
|
|
3039
|
-
path: "/v2/users/self/passkeys",
|
|
3040
|
-
method: "POST",
|
|
3041
|
-
operationId: "user-create-passkey",
|
|
3042
|
-
};
|
|
3043
|
-
/** Create a challenge to confirm an action with a passkey. */
|
|
3044
|
-
export const userCreateOwnPasskeyChallenge = {
|
|
3045
|
-
path: "/v2/users/self/passkey-challenges",
|
|
3046
|
-
method: "POST",
|
|
3047
|
-
operationId: "user-create-own-passkey-challenge",
|
|
3048
|
-
};
|
|
3049
|
-
/** Create a challenge to register a new passkey. */
|
|
3050
|
-
export const userCreatePasskeyRegistrationChallenge = {
|
|
3051
|
-
path: "/v2/users/self/passkey-registration-challenges",
|
|
3052
|
-
method: "POST",
|
|
3053
|
-
operationId: "user-create-passkey-registration-challenge",
|
|
3054
|
-
};
|
|
@@ -274,8 +274,6 @@ const buildCustomerApi = (baseClient) => ({
|
|
|
274
274
|
listCustomerMemberships: new ApiCallAsyncResourceFactory(descriptors.customerListCustomerMemberships, baseClient.customer.listCustomerMemberships).getApiResource,
|
|
275
275
|
/** List Memberships belonging to a Customer. */
|
|
276
276
|
listMembershipsForCustomer: new ApiCallAsyncResourceFactory(descriptors.customerListMembershipsForCustomer, baseClient.customer.listMembershipsForCustomer).getApiResource,
|
|
277
|
-
/** Get the activities of an organization. */
|
|
278
|
-
listCustomerActivities: new ApiCallAsyncResourceFactory(descriptors.customerListCustomerActivities, baseClient.customer.listCustomerActivities).getApiResource,
|
|
279
277
|
});
|
|
280
278
|
const buildDatabaseApi = (baseClient) => ({
|
|
281
279
|
/** List MySQLDatabases belonging to a Project. */
|
|
@@ -436,6 +434,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
436
434
|
getMfaStatus: new ApiCallAsyncResourceFactory(descriptors.userGetMfaStatus, baseClient.user.getMfaStatus).getApiResource,
|
|
437
435
|
/** List all of your ApiTokens. */
|
|
438
436
|
listApiTokens: new ApiCallAsyncResourceFactory(descriptors.userListApiTokens, baseClient.user.listApiTokens).getApiResource,
|
|
437
|
+
/** Get your registered passkeys. */
|
|
438
|
+
listPasskeys: new ApiCallAsyncResourceFactory(descriptors.userListPasskeys, baseClient.user.listPasskeys).getApiResource,
|
|
439
439
|
/** Get your stored ssh-keys. */
|
|
440
440
|
listSshKeys: new ApiCallAsyncResourceFactory(descriptors.userListSshKeys, baseClient.user.listSshKeys).getApiResource,
|
|
441
441
|
/** Get a specific ApiToken. */
|
|
@@ -466,8 +466,6 @@ const buildUserApi = (baseClient) => ({
|
|
|
466
466
|
searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
|
|
467
467
|
/** Request a support code. */
|
|
468
468
|
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
469
|
-
/** Get your registered passkeys. */
|
|
470
|
-
listPasskeys: new ApiCallAsyncResourceFactory(descriptors.userListPasskeys, baseClient.user.listPasskeys).getApiResource,
|
|
471
469
|
});
|
|
472
470
|
const buildProjectApi = (baseClient) => ({
|
|
473
471
|
/** List Invites belonging to a Project. */
|
|
@@ -527,8 +527,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
527
527
|
resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
|
|
528
528
|
/** Set how the customer became aware of mittwald. */
|
|
529
529
|
setCustomerReferralSource: this.requestFunctionFactory(descriptors.customerSetCustomerReferralSource),
|
|
530
|
-
/** Get the activities of an organization. */
|
|
531
|
-
listCustomerActivities: this.requestFunctionFactory(descriptors.customerListCustomerActivities),
|
|
532
530
|
};
|
|
533
531
|
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
534
532
|
database = {
|
|
@@ -767,6 +765,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
767
765
|
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
|
|
768
766
|
/** Mark all notifications as read. */
|
|
769
767
|
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
|
|
768
|
+
/** Reset notification settings to their defaults. */
|
|
769
|
+
sresetNotificationSettings: this.requestFunctionFactory(descriptors.notificationsResetNotificationSettings),
|
|
770
770
|
/** Update a notification's read status. */
|
|
771
771
|
supdateNotificationStatus: this.requestFunctionFactory(descriptors.notificationsUpdateNotificationStatus),
|
|
772
772
|
};
|
|
@@ -782,6 +782,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
782
782
|
removePhoneNumber: this.requestFunctionFactory(descriptors.userRemovePhoneNumber),
|
|
783
783
|
/** Validate your second factor. */
|
|
784
784
|
authenticateMfa: this.requestFunctionFactory(descriptors.userAuthenticateMfa),
|
|
785
|
+
/** Authenticate yourself with a passkey to get an access token. */
|
|
786
|
+
authenticatePasskey: this.requestFunctionFactory(descriptors.userAuthenticatePasskey),
|
|
785
787
|
/** Authenticate yourself to get an access token. */
|
|
786
788
|
authenticate: this.requestFunctionFactory(descriptors.userAuthenticate),
|
|
787
789
|
/** Authenticate an user with an access token retrieval key. */
|
|
@@ -808,6 +810,16 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
808
810
|
createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken),
|
|
809
811
|
/** Submit your user feedback. */
|
|
810
812
|
createFeedback: this.requestFunctionFactory(descriptors.userCreateFeedback),
|
|
813
|
+
/** Create a challenge for a passkey login. */
|
|
814
|
+
createPasskeyChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyChallenge),
|
|
815
|
+
/** Create a challenge to confirm an action with a passkey. */
|
|
816
|
+
createPasskeyConfirmationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyConfirmationChallenge),
|
|
817
|
+
/** Create a challenge to register a new passkey. */
|
|
818
|
+
createPasskeyRegistrationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyRegistrationChallenge),
|
|
819
|
+
/** Get your registered passkeys. */
|
|
820
|
+
listPasskeys: this.requestFunctionFactory(descriptors.userListPasskeys),
|
|
821
|
+
/** Register a new passkey. */
|
|
822
|
+
createPasskey: this.requestFunctionFactory(descriptors.userCreatePasskey),
|
|
811
823
|
/** Get your stored ssh-keys. */
|
|
812
824
|
listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys),
|
|
813
825
|
/** Store a new ssh-key. */
|
|
@@ -818,6 +830,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
818
830
|
editApiToken: this.requestFunctionFactory(descriptors.userEditApiToken),
|
|
819
831
|
/** Deletes an ApiToken. */
|
|
820
832
|
deleteApiToken: this.requestFunctionFactory(descriptors.userDeleteApiToken),
|
|
833
|
+
/** Delete a passkey. */
|
|
834
|
+
deletePasskey: this.requestFunctionFactory(descriptors.userDeletePasskey),
|
|
835
|
+
/** Rename a passkey. */
|
|
836
|
+
updatePasskey: this.requestFunctionFactory(descriptors.userUpdatePasskey),
|
|
821
837
|
/** Get a specific stored ssh-key. */
|
|
822
838
|
getSshKey: this.requestFunctionFactory(descriptors.userGetSshKey),
|
|
823
839
|
/** Edit a stored ssh-key. */
|
|
@@ -888,22 +904,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
888
904
|
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
889
905
|
/** Verify your registration. */
|
|
890
906
|
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
|
|
891
|
-
/** Authenticate yourself with a passkey to get an access token. */
|
|
892
|
-
authenticateWithPasskey: this.requestFunctionFactory(descriptors.userAuthenticateWithPasskey),
|
|
893
|
-
/** Create a challenge for a passkey login. */
|
|
894
|
-
createPasskeyChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyChallenge),
|
|
895
|
-
/** Delete a passkey. */
|
|
896
|
-
deletePasskey: this.requestFunctionFactory(descriptors.userDeletePasskey),
|
|
897
|
-
/** Rename a passkey. */
|
|
898
|
-
updatePasskey: this.requestFunctionFactory(descriptors.userUpdatePasskey),
|
|
899
|
-
/** Get your registered passkeys. */
|
|
900
|
-
listPasskeys: this.requestFunctionFactory(descriptors.userListPasskeys),
|
|
901
|
-
/** Register a new passkey. */
|
|
902
|
-
createPasskey: this.requestFunctionFactory(descriptors.userCreatePasskey),
|
|
903
|
-
/** Create a challenge to confirm an action with a passkey. */
|
|
904
|
-
createOwnPasskeyChallenge: this.requestFunctionFactory(descriptors.userCreateOwnPasskeyChallenge),
|
|
905
|
-
/** Create a challenge to register a new passkey. */
|
|
906
|
-
createPasskeyRegistrationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyRegistrationChallenge),
|
|
907
907
|
};
|
|
908
908
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
909
909
|
file = {
|
|
@@ -148,6 +148,18 @@ export const aiHostingProjectRotateKey = {
|
|
|
148
148
|
method: "POST",
|
|
149
149
|
operationId: "ai-hosting-project-rotate-key",
|
|
150
150
|
};
|
|
151
|
+
/** Get all ai hosting keys the authenticated user can access. */
|
|
152
|
+
export const aiHostingUserGetKeys = {
|
|
153
|
+
path: "/v3-next/ai-hosting-keys",
|
|
154
|
+
method: "GET",
|
|
155
|
+
operationId: "ai-hosting-user-get-keys",
|
|
156
|
+
};
|
|
157
|
+
/** Get all ai hosting plans the authenticated user can access. */
|
|
158
|
+
export const aiHostingUserGetPlans = {
|
|
159
|
+
path: "/v3-next/ai-hostings",
|
|
160
|
+
method: "GET",
|
|
161
|
+
operationId: "ai-hosting-user-get-plans",
|
|
162
|
+
};
|
|
151
163
|
/** Detach a staging AppInstallation from its source. */
|
|
152
164
|
export const appDetachAppinstallationStaging = {
|
|
153
165
|
path: "/v3-next/app-installations/{appInstallationId}/actions/detach-staging",
|
|
@@ -2194,6 +2206,12 @@ export const notificationsReadAllNotifications = {
|
|
|
2194
2206
|
method: "POST",
|
|
2195
2207
|
operationId: "notifications-read-all-notifications",
|
|
2196
2208
|
};
|
|
2209
|
+
/** Reset notification settings to their defaults. */
|
|
2210
|
+
export const notificationsResetNotificationSettings = {
|
|
2211
|
+
path: "/v3-next/notification-settings/actions/reset",
|
|
2212
|
+
method: "POST",
|
|
2213
|
+
operationId: "notifications-reset-notification-settings",
|
|
2214
|
+
};
|
|
2197
2215
|
/** Update a notification's read status. */
|
|
2198
2216
|
export const notificationsUpdateNotificationStatus = {
|
|
2199
2217
|
path: "/v3-next/notifications/{notificationId}/status",
|
|
@@ -2650,6 +2668,12 @@ export const userAuthenticateMfa = {
|
|
|
2650
2668
|
method: "POST",
|
|
2651
2669
|
operationId: "user-authenticate-mfa",
|
|
2652
2670
|
};
|
|
2671
|
+
/** Authenticate yourself with a passkey to get an access token. */
|
|
2672
|
+
export const userAuthenticatePasskey = {
|
|
2673
|
+
path: "/v3-next/authenticate-passkey",
|
|
2674
|
+
method: "POST",
|
|
2675
|
+
operationId: "user-authenticate-passkey",
|
|
2676
|
+
};
|
|
2653
2677
|
/** Authenticate yourself to get an access token. */
|
|
2654
2678
|
export const userAuthenticate = {
|
|
2655
2679
|
path: "/v3-next/authenticate",
|
|
@@ -2728,6 +2752,36 @@ export const userCreateFeedback = {
|
|
|
2728
2752
|
method: "POST",
|
|
2729
2753
|
operationId: "user-create-feedback",
|
|
2730
2754
|
};
|
|
2755
|
+
/** Create a challenge for a passkey login. */
|
|
2756
|
+
export const userCreatePasskeyChallenge = {
|
|
2757
|
+
path: "/v3-next/passkey-challenges",
|
|
2758
|
+
method: "POST",
|
|
2759
|
+
operationId: "user-create-passkey-challenge",
|
|
2760
|
+
};
|
|
2761
|
+
/** Create a challenge to confirm an action with a passkey. */
|
|
2762
|
+
export const userCreatePasskeyConfirmationChallenge = {
|
|
2763
|
+
path: "/v3-next/users/self/passkey-challenges",
|
|
2764
|
+
method: "POST",
|
|
2765
|
+
operationId: "user-create-passkey-confirmation-challenge",
|
|
2766
|
+
};
|
|
2767
|
+
/** Create a challenge to register a new passkey. */
|
|
2768
|
+
export const userCreatePasskeyRegistrationChallenge = {
|
|
2769
|
+
path: "/v3-next/users/self/passkey-registration-challenges",
|
|
2770
|
+
method: "POST",
|
|
2771
|
+
operationId: "user-create-passkey-registration-challenge",
|
|
2772
|
+
};
|
|
2773
|
+
/** Get your registered passkeys. */
|
|
2774
|
+
export const userListPasskeys = {
|
|
2775
|
+
path: "/v3-next/users/self/passkeys",
|
|
2776
|
+
method: "GET",
|
|
2777
|
+
operationId: "user-list-passkeys",
|
|
2778
|
+
};
|
|
2779
|
+
/** Register a new passkey. */
|
|
2780
|
+
export const userCreatePasskey = {
|
|
2781
|
+
path: "/v3-next/users/self/passkeys",
|
|
2782
|
+
method: "POST",
|
|
2783
|
+
operationId: "user-create-passkey",
|
|
2784
|
+
};
|
|
2731
2785
|
/** Get your stored ssh-keys. */
|
|
2732
2786
|
export const userListSshKeys = {
|
|
2733
2787
|
path: "/v3-next/users/self/ssh-keys",
|
|
@@ -2758,6 +2812,18 @@ export const userDeleteApiToken = {
|
|
|
2758
2812
|
method: "DELETE",
|
|
2759
2813
|
operationId: "user-delete-api-token",
|
|
2760
2814
|
};
|
|
2815
|
+
/** Delete a passkey. */
|
|
2816
|
+
export const userDeletePasskey = {
|
|
2817
|
+
path: "/v3-next/users/self/passkeys/{passkeyId}",
|
|
2818
|
+
method: "DELETE",
|
|
2819
|
+
operationId: "user-delete-passkey",
|
|
2820
|
+
};
|
|
2821
|
+
/** Rename a passkey. */
|
|
2822
|
+
export const userUpdatePasskey = {
|
|
2823
|
+
path: "/v3-next/users/self/passkeys/{passkeyId}",
|
|
2824
|
+
method: "PATCH",
|
|
2825
|
+
operationId: "user-update-passkey",
|
|
2826
|
+
};
|
|
2761
2827
|
/** Get a specific stored ssh-key. */
|
|
2762
2828
|
export const userGetSshKey = {
|
|
2763
2829
|
path: "/v3-next/users/self/ssh-keys/{sshKeyId}",
|
|
@@ -2986,69 +3052,3 @@ export const verificationVerifyCompany = {
|
|
|
2986
3052
|
method: "POST",
|
|
2987
3053
|
operationId: "verification-verify-company",
|
|
2988
3054
|
};
|
|
2989
|
-
/** Get all ai hosting keys the authenticated user can access. */
|
|
2990
|
-
export const aiHostingUserGetKeys = {
|
|
2991
|
-
path: "/v3-next/ai-hosting-keys",
|
|
2992
|
-
method: "GET",
|
|
2993
|
-
operationId: "ai-hosting-user-get-keys",
|
|
2994
|
-
};
|
|
2995
|
-
/** Get all ai hosting plans the authenticated user can access. */
|
|
2996
|
-
export const aiHostingUserGetPlans = {
|
|
2997
|
-
path: "/v3-next/ai-hostings",
|
|
2998
|
-
method: "GET",
|
|
2999
|
-
operationId: "ai-hosting-user-get-plans",
|
|
3000
|
-
};
|
|
3001
|
-
/** Get the activities of an organization. */
|
|
3002
|
-
export const customerListCustomerActivities = {
|
|
3003
|
-
path: "/v3-next/customers/{customerId}/activities",
|
|
3004
|
-
method: "GET",
|
|
3005
|
-
operationId: "customer-list-customer-activities",
|
|
3006
|
-
};
|
|
3007
|
-
/** Authenticate yourself with a passkey to get an access token. */
|
|
3008
|
-
export const userAuthenticateWithPasskey = {
|
|
3009
|
-
path: "/v3-next/authenticate-passkey",
|
|
3010
|
-
method: "POST",
|
|
3011
|
-
operationId: "user-authenticate-with-passkey",
|
|
3012
|
-
};
|
|
3013
|
-
/** Create a challenge for a passkey login. */
|
|
3014
|
-
export const userCreatePasskeyChallenge = {
|
|
3015
|
-
path: "/v3-next/passkey-challenges",
|
|
3016
|
-
method: "POST",
|
|
3017
|
-
operationId: "user-create-passkey-challenge",
|
|
3018
|
-
};
|
|
3019
|
-
/** Delete a passkey. */
|
|
3020
|
-
export const userDeletePasskey = {
|
|
3021
|
-
path: "/v3-next/users/self/passkeys/{passkeyId}",
|
|
3022
|
-
method: "DELETE",
|
|
3023
|
-
operationId: "user-delete-passkey",
|
|
3024
|
-
};
|
|
3025
|
-
/** Rename a passkey. */
|
|
3026
|
-
export const userUpdatePasskey = {
|
|
3027
|
-
path: "/v3-next/users/self/passkeys/{passkeyId}",
|
|
3028
|
-
method: "PATCH",
|
|
3029
|
-
operationId: "user-update-passkey",
|
|
3030
|
-
};
|
|
3031
|
-
/** Get your registered passkeys. */
|
|
3032
|
-
export const userListPasskeys = {
|
|
3033
|
-
path: "/v3-next/users/self/passkeys",
|
|
3034
|
-
method: "GET",
|
|
3035
|
-
operationId: "user-list-passkeys",
|
|
3036
|
-
};
|
|
3037
|
-
/** Register a new passkey. */
|
|
3038
|
-
export const userCreatePasskey = {
|
|
3039
|
-
path: "/v3-next/users/self/passkeys",
|
|
3040
|
-
method: "POST",
|
|
3041
|
-
operationId: "user-create-passkey",
|
|
3042
|
-
};
|
|
3043
|
-
/** Create a challenge to confirm an action with a passkey. */
|
|
3044
|
-
export const userCreateOwnPasskeyChallenge = {
|
|
3045
|
-
path: "/v3-next/users/self/passkey-challenges",
|
|
3046
|
-
method: "POST",
|
|
3047
|
-
operationId: "user-create-own-passkey-challenge",
|
|
3048
|
-
};
|
|
3049
|
-
/** Create a challenge to register a new passkey. */
|
|
3050
|
-
export const userCreatePasskeyRegistrationChallenge = {
|
|
3051
|
-
path: "/v3-next/users/self/passkey-registration-challenges",
|
|
3052
|
-
method: "POST",
|
|
3053
|
-
operationId: "user-create-passkey-registration-challenge",
|
|
3054
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.517.0';
|
|
@@ -283,6 +283,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
283
283
|
description?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppTranslatedString | undefined;
|
|
284
284
|
id: string;
|
|
285
285
|
name: string;
|
|
286
|
+
stagingAllowed: boolean;
|
|
286
287
|
tags: string[];
|
|
287
288
|
}>;
|
|
288
289
|
/** Get an analysis of the error of an AppInstallation. */
|
|
@@ -2289,27 +2290,6 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2289
2290
|
"x-access-token"?: string | undefined;
|
|
2290
2291
|
} | undefined;
|
|
2291
2292
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipCustomerMembership[]>;
|
|
2292
|
-
/** Get the activities of an organization. */
|
|
2293
|
-
listCustomerActivities: (conf: {
|
|
2294
|
-
customerId: string;
|
|
2295
|
-
queryParameters?: {
|
|
2296
|
-
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
2297
|
-
aggregateName?: string | undefined;
|
|
2298
|
-
aggregateDomain?: string | undefined;
|
|
2299
|
-
aggregateId?: string | undefined;
|
|
2300
|
-
startTime?: (string | Date) | undefined;
|
|
2301
|
-
endTime?: (string | Date) | undefined;
|
|
2302
|
-
fulltextSearch?: string | undefined;
|
|
2303
|
-
limit?: number | undefined;
|
|
2304
|
-
skip?: number | undefined;
|
|
2305
|
-
page?: number | undefined;
|
|
2306
|
-
sort?: "dateTime" | undefined;
|
|
2307
|
-
order?: "asc" | "desc" | undefined;
|
|
2308
|
-
} | undefined;
|
|
2309
|
-
headers?: {
|
|
2310
|
-
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
2311
|
-
} | undefined;
|
|
2312
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ActivitylogCustomerLogEntry[]>;
|
|
2313
2293
|
};
|
|
2314
2294
|
declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2315
2295
|
/** List MySQLDatabases belonging to a Project. */
|
|
@@ -2675,6 +2655,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2675
2655
|
"x-access-token"?: string | undefined;
|
|
2676
2656
|
} | undefined;
|
|
2677
2657
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2658
|
+
accessProtection?: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressAccessProtection | undefined;
|
|
2678
2659
|
dnsValidationErrors: ("ERROR_UNSPECIFIED" | "ERROR_QUAD_A" | "ERROR_NO_A_RECORD" | "ERROR_ACME_CERTIFICATE_REQUEST_DEADLINE_EXCEEDED")[];
|
|
2679
2660
|
hostname: string;
|
|
2680
2661
|
id: string;
|
|
@@ -3493,6 +3474,22 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3493
3474
|
page?: number | undefined;
|
|
3494
3475
|
} | undefined;
|
|
3495
3476
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SignupApiToken[]>;
|
|
3477
|
+
/** Get your registered passkeys. */
|
|
3478
|
+
listPasskeys: (conf?: {
|
|
3479
|
+
headers?: {
|
|
3480
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
3481
|
+
"x-access-token"?: string | undefined;
|
|
3482
|
+
} | undefined;
|
|
3483
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3484
|
+
aaguid: string;
|
|
3485
|
+
backupEligible: boolean;
|
|
3486
|
+
backupState: boolean;
|
|
3487
|
+
createdAt: string;
|
|
3488
|
+
credentialId: string;
|
|
3489
|
+
id: string;
|
|
3490
|
+
name: string;
|
|
3491
|
+
rpId: string;
|
|
3492
|
+
}[]>;
|
|
3496
3493
|
/** Get your stored ssh-keys. */
|
|
3497
3494
|
listSshKeys: (conf?: {
|
|
3498
3495
|
headers?: {
|
|
@@ -3698,22 +3695,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3698
3695
|
expiresAt: string;
|
|
3699
3696
|
supportCode: string;
|
|
3700
3697
|
}>;
|
|
3701
|
-
/** Get your registered passkeys. */
|
|
3702
|
-
listPasskeys: (conf?: {
|
|
3703
|
-
headers?: {
|
|
3704
|
-
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
3705
|
-
"x-access-token"?: string | undefined;
|
|
3706
|
-
} | undefined;
|
|
3707
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3708
|
-
aaguid: string;
|
|
3709
|
-
backupEligible: boolean;
|
|
3710
|
-
backupState: boolean;
|
|
3711
|
-
createdAt: string;
|
|
3712
|
-
credentialId: string;
|
|
3713
|
-
id: string;
|
|
3714
|
-
name: string;
|
|
3715
|
-
rpId: string;
|
|
3716
|
-
}[]>;
|
|
3717
3698
|
};
|
|
3718
3699
|
declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3719
3700
|
/** List Invites belonging to a Project. */
|