@mittwald/api-client 0.0.0-development-492ba61-20261027 → 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 +3 -1
- package/dist/esm/generated/v2/client.js +19 -1
- package/dist/esm/generated/v2/descriptors.js +67 -13
- package/dist/esm/generated/v3-next/client-react.js +3 -1
- package/dist/esm/generated/v3-next/client.js +19 -1
- package/dist/esm/generated/v3-next/descriptors.js +67 -13
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +19 -1
- package/dist/types/generated/v2/client.d.ts +764 -68
- package/dist/types/generated/v2/descriptors.d.ts +32 -14
- package/dist/types/generated/v2/types.d.ts +1302 -333
- package/dist/types/generated/v3-next/client-react.d.ts +19 -1
- package/dist/types/generated/v3-next/client.d.ts +762 -66
- package/dist/types/generated/v3-next/descriptors.d.ts +32 -14
- package/dist/types/generated/v3-next/types.d.ts +1302 -333
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -114,7 +114,7 @@ const buildContainerApi = (baseClient) => ({
|
|
|
114
114
|
getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
|
|
115
115
|
/** List Services the executing user has access to. */
|
|
116
116
|
listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
|
|
117
|
-
/** List Stacks
|
|
117
|
+
/** List Stacks of the Projects in which the executing user is owner or external member. */
|
|
118
118
|
listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
|
|
119
119
|
/** List Services belonging to a Project. */
|
|
120
120
|
listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
|
|
@@ -434,6 +434,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
434
434
|
getMfaStatus: new ApiCallAsyncResourceFactory(descriptors.userGetMfaStatus, baseClient.user.getMfaStatus).getApiResource,
|
|
435
435
|
/** List all of your ApiTokens. */
|
|
436
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,
|
|
437
439
|
/** Get your stored ssh-keys. */
|
|
438
440
|
listSshKeys: new ApiCallAsyncResourceFactory(descriptors.userListSshKeys, baseClient.user.listSshKeys).getApiResource,
|
|
439
441
|
/** Get a specific ApiToken. */
|
|
@@ -198,7 +198,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
198
198
|
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
199
199
|
/** List Services the executing user has access to. */
|
|
200
200
|
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
201
|
-
/** List Stacks
|
|
201
|
+
/** List Stacks of the Projects in which the executing user is owner or external member. */
|
|
202
202
|
listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
|
|
203
203
|
/** List Services belonging to a Project. */
|
|
204
204
|
listServices: this.requestFunctionFactory(descriptors.containerListServices),
|
|
@@ -765,6 +765,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
765
765
|
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
|
|
766
766
|
/** Mark all notifications as read. */
|
|
767
767
|
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
|
|
768
|
+
/** Reset notification settings to their defaults. */
|
|
769
|
+
sresetNotificationSettings: this.requestFunctionFactory(descriptors.notificationsResetNotificationSettings),
|
|
768
770
|
/** Update a notification's read status. */
|
|
769
771
|
supdateNotificationStatus: this.requestFunctionFactory(descriptors.notificationsUpdateNotificationStatus),
|
|
770
772
|
};
|
|
@@ -780,6 +782,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
780
782
|
removePhoneNumber: this.requestFunctionFactory(descriptors.userRemovePhoneNumber),
|
|
781
783
|
/** Validate your second factor. */
|
|
782
784
|
authenticateMfa: this.requestFunctionFactory(descriptors.userAuthenticateMfa),
|
|
785
|
+
/** Authenticate yourself with a passkey to get an access token. */
|
|
786
|
+
authenticatePasskey: this.requestFunctionFactory(descriptors.userAuthenticatePasskey),
|
|
783
787
|
/** Authenticate yourself to get an access token. */
|
|
784
788
|
authenticate: this.requestFunctionFactory(descriptors.userAuthenticate),
|
|
785
789
|
/** Authenticate an user with an access token retrieval key. */
|
|
@@ -806,6 +810,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
806
810
|
createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken),
|
|
807
811
|
/** Submit your user feedback. */
|
|
808
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),
|
|
809
823
|
/** Get your stored ssh-keys. */
|
|
810
824
|
listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys),
|
|
811
825
|
/** Store a new ssh-key. */
|
|
@@ -816,6 +830,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
816
830
|
editApiToken: this.requestFunctionFactory(descriptors.userEditApiToken),
|
|
817
831
|
/** Deletes an ApiToken. */
|
|
818
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),
|
|
819
837
|
/** Get a specific stored ssh-key. */
|
|
820
838
|
getSshKey: this.requestFunctionFactory(descriptors.userGetSshKey),
|
|
821
839
|
/** Edit a stored ssh-key. */
|
|
@@ -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",
|
|
@@ -526,7 +538,7 @@ export const containerListAccessibleServices = {
|
|
|
526
538
|
method: "GET",
|
|
527
539
|
operationId: "container-list-accessible-services",
|
|
528
540
|
};
|
|
529
|
-
/** List Stacks
|
|
541
|
+
/** List Stacks of the Projects in which the executing user is owner or external member. */
|
|
530
542
|
export const containerListSelfStacks = {
|
|
531
543
|
path: "/v2/stacks",
|
|
532
544
|
method: "GET",
|
|
@@ -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,15 +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
|
-
};
|
|
@@ -114,7 +114,7 @@ const buildContainerApi = (baseClient) => ({
|
|
|
114
114
|
getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
|
|
115
115
|
/** List Services the executing user has access to. */
|
|
116
116
|
listAccessibleServices: new ApiCallAsyncResourceFactory(descriptors.containerListAccessibleServices, baseClient.container.listAccessibleServices).getApiResource,
|
|
117
|
-
/** List Stacks
|
|
117
|
+
/** List Stacks of the Projects in which the executing user is owner or external member. */
|
|
118
118
|
listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
|
|
119
119
|
/** List Services belonging to a Project. */
|
|
120
120
|
listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
|
|
@@ -434,6 +434,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
434
434
|
getMfaStatus: new ApiCallAsyncResourceFactory(descriptors.userGetMfaStatus, baseClient.user.getMfaStatus).getApiResource,
|
|
435
435
|
/** List all of your ApiTokens. */
|
|
436
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,
|
|
437
439
|
/** Get your stored ssh-keys. */
|
|
438
440
|
listSshKeys: new ApiCallAsyncResourceFactory(descriptors.userListSshKeys, baseClient.user.listSshKeys).getApiResource,
|
|
439
441
|
/** Get a specific ApiToken. */
|
|
@@ -198,7 +198,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
198
198
|
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
199
199
|
/** List Services the executing user has access to. */
|
|
200
200
|
listAccessibleServices: this.requestFunctionFactory(descriptors.containerListAccessibleServices),
|
|
201
|
-
/** List Stacks
|
|
201
|
+
/** List Stacks of the Projects in which the executing user is owner or external member. */
|
|
202
202
|
listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
|
|
203
203
|
/** List Services belonging to a Project. */
|
|
204
204
|
listServices: this.requestFunctionFactory(descriptors.containerListServices),
|
|
@@ -765,6 +765,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
765
765
|
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
|
|
766
766
|
/** Mark all notifications as read. */
|
|
767
767
|
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
|
|
768
|
+
/** Reset notification settings to their defaults. */
|
|
769
|
+
sresetNotificationSettings: this.requestFunctionFactory(descriptors.notificationsResetNotificationSettings),
|
|
768
770
|
/** Update a notification's read status. */
|
|
769
771
|
supdateNotificationStatus: this.requestFunctionFactory(descriptors.notificationsUpdateNotificationStatus),
|
|
770
772
|
};
|
|
@@ -780,6 +782,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
780
782
|
removePhoneNumber: this.requestFunctionFactory(descriptors.userRemovePhoneNumber),
|
|
781
783
|
/** Validate your second factor. */
|
|
782
784
|
authenticateMfa: this.requestFunctionFactory(descriptors.userAuthenticateMfa),
|
|
785
|
+
/** Authenticate yourself with a passkey to get an access token. */
|
|
786
|
+
authenticatePasskey: this.requestFunctionFactory(descriptors.userAuthenticatePasskey),
|
|
783
787
|
/** Authenticate yourself to get an access token. */
|
|
784
788
|
authenticate: this.requestFunctionFactory(descriptors.userAuthenticate),
|
|
785
789
|
/** Authenticate an user with an access token retrieval key. */
|
|
@@ -806,6 +810,16 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
806
810
|
createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken),
|
|
807
811
|
/** Submit your user feedback. */
|
|
808
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),
|
|
809
823
|
/** Get your stored ssh-keys. */
|
|
810
824
|
listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys),
|
|
811
825
|
/** Store a new ssh-key. */
|
|
@@ -816,6 +830,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
816
830
|
editApiToken: this.requestFunctionFactory(descriptors.userEditApiToken),
|
|
817
831
|
/** Deletes an ApiToken. */
|
|
818
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),
|
|
819
837
|
/** Get a specific stored ssh-key. */
|
|
820
838
|
getSshKey: this.requestFunctionFactory(descriptors.userGetSshKey),
|
|
821
839
|
/** Edit a stored ssh-key. */
|
|
@@ -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",
|
|
@@ -526,7 +538,7 @@ export const containerListAccessibleServices = {
|
|
|
526
538
|
method: "GET",
|
|
527
539
|
operationId: "container-list-accessible-services",
|
|
528
540
|
};
|
|
529
|
-
/** List Stacks
|
|
541
|
+
/** List Stacks of the Projects in which the executing user is owner or external member. */
|
|
530
542
|
export const containerListSelfStacks = {
|
|
531
543
|
path: "/v3-next/stacks",
|
|
532
544
|
method: "GET",
|
|
@@ -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,15 +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
|
-
};
|
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. */
|
|
@@ -940,7 +941,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
940
941
|
page?: number | undefined;
|
|
941
942
|
} | undefined;
|
|
942
943
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceResponse[]>;
|
|
943
|
-
/** List Stacks
|
|
944
|
+
/** List Stacks of the Projects in which the executing user is owner or external member. */
|
|
944
945
|
listSelfStacks: (conf?: {
|
|
945
946
|
headers?: {
|
|
946
947
|
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
@@ -2654,6 +2655,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2654
2655
|
"x-access-token"?: string | undefined;
|
|
2655
2656
|
} | undefined;
|
|
2656
2657
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2658
|
+
accessProtection?: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressAccessProtection | undefined;
|
|
2657
2659
|
dnsValidationErrors: ("ERROR_UNSPECIFIED" | "ERROR_QUAD_A" | "ERROR_NO_A_RECORD" | "ERROR_ACME_CERTIFICATE_REQUEST_DEADLINE_EXCEEDED")[];
|
|
2658
2660
|
hostname: string;
|
|
2659
2661
|
id: string;
|
|
@@ -3472,6 +3474,22 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3472
3474
|
page?: number | undefined;
|
|
3473
3475
|
} | undefined;
|
|
3474
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
|
+
}[]>;
|
|
3475
3493
|
/** Get your stored ssh-keys. */
|
|
3476
3494
|
listSshKeys: (conf?: {
|
|
3477
3495
|
headers?: {
|