@mittwald/api-client 4.512.0 → 4.515.0
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 -2
- package/dist/esm/generated/v2/client.js +20 -18
- package/dist/esm/generated/v2/descriptors.js +58 -52
- package/dist/esm/generated/v3-next/client-react.js +2 -2
- package/dist/esm/generated/v3-next/client.js +20 -18
- package/dist/esm/generated/v3-next/descriptors.js +58 -52
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +17 -16
- package/dist/types/generated/v2/client.d.ts +1392 -1341
- package/dist/types/generated/v2/descriptors.d.ts +22 -20
- package/dist/types/generated/v2/types.d.ts +933 -861
- package/dist/types/generated/v3-next/client-react.d.ts +17 -16
- package/dist/types/generated/v3-next/client.d.ts +1392 -1341
- package/dist/types/generated/v3-next/descriptors.d.ts +22 -20
- package/dist/types/generated/v3-next/types.d.ts +979 -907
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -428,6 +428,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
428
428
|
getMfaStatus: new ApiCallAsyncResourceFactory(descriptors.userGetMfaStatus, baseClient.user.getMfaStatus).getApiResource,
|
|
429
429
|
/** List all of your ApiTokens. */
|
|
430
430
|
listApiTokens: new ApiCallAsyncResourceFactory(descriptors.userListApiTokens, baseClient.user.listApiTokens).getApiResource,
|
|
431
|
+
/** Get your registered passkeys. */
|
|
432
|
+
listPasskeys: new ApiCallAsyncResourceFactory(descriptors.userListPasskeys, baseClient.user.listPasskeys).getApiResource,
|
|
431
433
|
/** Get your stored ssh-keys. */
|
|
432
434
|
listSshKeys: new ApiCallAsyncResourceFactory(descriptors.userListSshKeys, baseClient.user.listSshKeys).getApiResource,
|
|
433
435
|
/** Get a specific ApiToken. */
|
|
@@ -458,8 +460,6 @@ const buildUserApi = (baseClient) => ({
|
|
|
458
460
|
searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
|
|
459
461
|
/** Request a support code. */
|
|
460
462
|
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
461
|
-
/** Get your registered passkeys. */
|
|
462
|
-
listPasskeys: new ApiCallAsyncResourceFactory(descriptors.userListPasskeys, baseClient.user.listPasskeys).getApiResource,
|
|
463
463
|
});
|
|
464
464
|
const buildProjectApi = (baseClient) => ({
|
|
465
465
|
/** List Invites belonging to a Project. */
|
|
@@ -360,8 +360,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
360
360
|
extensionPatchExtension: this.requestFunctionFactory(descriptors.extensionPatchExtension),
|
|
361
361
|
/** Disable an ExtensionInstance. */
|
|
362
362
|
extensionDisableExtensionInstance: this.requestFunctionFactory(descriptors.extensionDisableExtensionInstance),
|
|
363
|
-
/** Dry run a webhook with random or given values. */
|
|
364
|
-
extensionDryRunWebhook: this.requestFunctionFactory(descriptors.extensionDryRunWebhook),
|
|
365
363
|
/** Enable an ExtensionInstance. */
|
|
366
364
|
extensionEnableExtensionInstance: this.requestFunctionFactory(descriptors.extensionEnableExtensionInstance),
|
|
367
365
|
/** Generate an Extension secret for the given Extension. */
|
|
@@ -420,6 +418,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
420
418
|
customerGetPaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerGetPaymentMethod),
|
|
421
419
|
/** Get the link to update the marketplace payment method */
|
|
422
420
|
customerUpdatePaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerUpdatePaymentMethod),
|
|
421
|
+
/** Dry run a webhook with random or given values. */
|
|
422
|
+
extensionDryRunWebhook: this.requestFunctionFactory(descriptors.extensionDryRunWebhook),
|
|
423
423
|
};
|
|
424
424
|
/** The conversation API allows you to manage your support conversations. */
|
|
425
425
|
conversation = {
|
|
@@ -749,6 +749,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
749
749
|
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
|
|
750
750
|
/** Mark all notifications as read. */
|
|
751
751
|
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
|
|
752
|
+
/** Reset notification settings to their defaults. */
|
|
753
|
+
sresetNotificationSettings: this.requestFunctionFactory(descriptors.notificationsResetNotificationSettings),
|
|
752
754
|
/** Update a notification's read status. */
|
|
753
755
|
supdateNotificationStatus: this.requestFunctionFactory(descriptors.notificationsUpdateNotificationStatus),
|
|
754
756
|
};
|
|
@@ -764,6 +766,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
764
766
|
removePhoneNumber: this.requestFunctionFactory(descriptors.userRemovePhoneNumber),
|
|
765
767
|
/** Validate your second factor. */
|
|
766
768
|
authenticateMfa: this.requestFunctionFactory(descriptors.userAuthenticateMfa),
|
|
769
|
+
/** Authenticate yourself with a passkey to get an access token. */
|
|
770
|
+
authenticatePasskey: this.requestFunctionFactory(descriptors.userAuthenticatePasskey),
|
|
767
771
|
/** Authenticate yourself to get an access token. */
|
|
768
772
|
authenticate: this.requestFunctionFactory(descriptors.userAuthenticate),
|
|
769
773
|
/** Authenticate an user with an access token retrieval key. */
|
|
@@ -790,6 +794,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
790
794
|
createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken),
|
|
791
795
|
/** Submit your user feedback. */
|
|
792
796
|
createFeedback: this.requestFunctionFactory(descriptors.userCreateFeedback),
|
|
797
|
+
/** Create a challenge for a passkey login. */
|
|
798
|
+
createPasskeyChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyChallenge),
|
|
799
|
+
/** Create a challenge to confirm an action with a passkey. */
|
|
800
|
+
createPasskeyConfirmationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyConfirmationChallenge),
|
|
801
|
+
/** Create a challenge to register a new passkey. */
|
|
802
|
+
createPasskeyRegistrationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyRegistrationChallenge),
|
|
803
|
+
/** Get your registered passkeys. */
|
|
804
|
+
listPasskeys: this.requestFunctionFactory(descriptors.userListPasskeys),
|
|
805
|
+
/** Register a new passkey. */
|
|
806
|
+
createPasskey: this.requestFunctionFactory(descriptors.userCreatePasskey),
|
|
793
807
|
/** Get your stored ssh-keys. */
|
|
794
808
|
listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys),
|
|
795
809
|
/** Store a new ssh-key. */
|
|
@@ -800,6 +814,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
800
814
|
editApiToken: this.requestFunctionFactory(descriptors.userEditApiToken),
|
|
801
815
|
/** Deletes an ApiToken. */
|
|
802
816
|
deleteApiToken: this.requestFunctionFactory(descriptors.userDeleteApiToken),
|
|
817
|
+
/** Delete a passkey. */
|
|
818
|
+
deletePasskey: this.requestFunctionFactory(descriptors.userDeletePasskey),
|
|
819
|
+
/** Rename a passkey. */
|
|
820
|
+
updatePasskey: this.requestFunctionFactory(descriptors.userUpdatePasskey),
|
|
803
821
|
/** Get a specific stored ssh-key. */
|
|
804
822
|
getSshKey: this.requestFunctionFactory(descriptors.userGetSshKey),
|
|
805
823
|
/** Edit a stored ssh-key. */
|
|
@@ -870,22 +888,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
870
888
|
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
871
889
|
/** Verify your registration. */
|
|
872
890
|
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
|
|
873
|
-
/** Authenticate yourself with a passkey to get an access token. */
|
|
874
|
-
authenticatePasskey: this.requestFunctionFactory(descriptors.userAuthenticatePasskey),
|
|
875
|
-
/** Create a challenge for a passkey login. */
|
|
876
|
-
createPasskeyChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyChallenge),
|
|
877
|
-
/** Delete a passkey. */
|
|
878
|
-
deletePasskey: this.requestFunctionFactory(descriptors.userDeletePasskey),
|
|
879
|
-
/** Rename a passkey. */
|
|
880
|
-
updatePasskey: this.requestFunctionFactory(descriptors.userUpdatePasskey),
|
|
881
|
-
/** Get your registered passkeys. */
|
|
882
|
-
listPasskeys: this.requestFunctionFactory(descriptors.userListPasskeys),
|
|
883
|
-
/** Register a new passkey. */
|
|
884
|
-
createPasskey: this.requestFunctionFactory(descriptors.userCreatePasskey),
|
|
885
|
-
/** Create a challenge to confirm an action with a passkey. */
|
|
886
|
-
createPasskeyConfirmationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyConfirmationChallenge),
|
|
887
|
-
/** Create a challenge to register a new passkey. */
|
|
888
|
-
createPasskeyRegistrationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyRegistrationChallenge),
|
|
889
891
|
};
|
|
890
892
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
891
893
|
file = {
|
|
@@ -1600,12 +1600,6 @@ export const extensionDisableExtensionInstance = {
|
|
|
1600
1600
|
method: "POST",
|
|
1601
1601
|
operationId: "extension-disable-extension-instance",
|
|
1602
1602
|
};
|
|
1603
|
-
/** Dry run a webhook with random or given values. */
|
|
1604
|
-
export const extensionDryRunWebhook = {
|
|
1605
|
-
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/actions/dry-run/{webhookKind}",
|
|
1606
|
-
method: "POST",
|
|
1607
|
-
operationId: "extension-dry-run-webhook",
|
|
1608
|
-
};
|
|
1609
1603
|
/** Enable an ExtensionInstance. */
|
|
1610
1604
|
export const extensionEnableExtensionInstance = {
|
|
1611
1605
|
path: "/v2/extension-instances/{extensionInstanceId}/actions/enable",
|
|
@@ -2164,6 +2158,12 @@ export const notificationsReadAllNotifications = {
|
|
|
2164
2158
|
method: "POST",
|
|
2165
2159
|
operationId: "notifications-read-all-notifications",
|
|
2166
2160
|
};
|
|
2161
|
+
/** Reset notification settings to their defaults. */
|
|
2162
|
+
export const notificationsResetNotificationSettings = {
|
|
2163
|
+
path: "/v2/notification-settings/actions/reset",
|
|
2164
|
+
method: "POST",
|
|
2165
|
+
operationId: "notifications-reset-notification-settings",
|
|
2166
|
+
};
|
|
2167
2167
|
/** Update a notification's read status. */
|
|
2168
2168
|
export const notificationsUpdateNotificationStatus = {
|
|
2169
2169
|
path: "/v2/notifications/{notificationId}/status",
|
|
@@ -2614,6 +2614,12 @@ export const userAuthenticateMfa = {
|
|
|
2614
2614
|
method: "POST",
|
|
2615
2615
|
operationId: "user-authenticate-mfa",
|
|
2616
2616
|
};
|
|
2617
|
+
/** Authenticate yourself with a passkey to get an access token. */
|
|
2618
|
+
export const userAuthenticatePasskey = {
|
|
2619
|
+
path: "/v2/authenticate-passkey",
|
|
2620
|
+
method: "POST",
|
|
2621
|
+
operationId: "user-authenticate-passkey",
|
|
2622
|
+
};
|
|
2617
2623
|
/** Authenticate yourself to get an access token. */
|
|
2618
2624
|
export const userAuthenticate = {
|
|
2619
2625
|
path: "/v2/authenticate",
|
|
@@ -2692,6 +2698,36 @@ export const userCreateFeedback = {
|
|
|
2692
2698
|
method: "POST",
|
|
2693
2699
|
operationId: "user-create-feedback",
|
|
2694
2700
|
};
|
|
2701
|
+
/** Create a challenge for a passkey login. */
|
|
2702
|
+
export const userCreatePasskeyChallenge = {
|
|
2703
|
+
path: "/v2/passkey-challenges",
|
|
2704
|
+
method: "POST",
|
|
2705
|
+
operationId: "user-create-passkey-challenge",
|
|
2706
|
+
};
|
|
2707
|
+
/** Create a challenge to confirm an action with a passkey. */
|
|
2708
|
+
export const userCreatePasskeyConfirmationChallenge = {
|
|
2709
|
+
path: "/v2/users/self/passkey-challenges",
|
|
2710
|
+
method: "POST",
|
|
2711
|
+
operationId: "user-create-passkey-confirmation-challenge",
|
|
2712
|
+
};
|
|
2713
|
+
/** Create a challenge to register a new passkey. */
|
|
2714
|
+
export const userCreatePasskeyRegistrationChallenge = {
|
|
2715
|
+
path: "/v2/users/self/passkey-registration-challenges",
|
|
2716
|
+
method: "POST",
|
|
2717
|
+
operationId: "user-create-passkey-registration-challenge",
|
|
2718
|
+
};
|
|
2719
|
+
/** Get your registered passkeys. */
|
|
2720
|
+
export const userListPasskeys = {
|
|
2721
|
+
path: "/v2/users/self/passkeys",
|
|
2722
|
+
method: "GET",
|
|
2723
|
+
operationId: "user-list-passkeys",
|
|
2724
|
+
};
|
|
2725
|
+
/** Register a new passkey. */
|
|
2726
|
+
export const userCreatePasskey = {
|
|
2727
|
+
path: "/v2/users/self/passkeys",
|
|
2728
|
+
method: "POST",
|
|
2729
|
+
operationId: "user-create-passkey",
|
|
2730
|
+
};
|
|
2695
2731
|
/** Get your stored ssh-keys. */
|
|
2696
2732
|
export const userListSshKeys = {
|
|
2697
2733
|
path: "/v2/users/self/ssh-keys",
|
|
@@ -2722,6 +2758,18 @@ export const userDeleteApiToken = {
|
|
|
2722
2758
|
method: "DELETE",
|
|
2723
2759
|
operationId: "user-delete-api-token",
|
|
2724
2760
|
};
|
|
2761
|
+
/** Delete a passkey. */
|
|
2762
|
+
export const userDeletePasskey = {
|
|
2763
|
+
path: "/v2/users/self/passkeys/{passkeyId}",
|
|
2764
|
+
method: "DELETE",
|
|
2765
|
+
operationId: "user-delete-passkey",
|
|
2766
|
+
};
|
|
2767
|
+
/** Rename a passkey. */
|
|
2768
|
+
export const userUpdatePasskey = {
|
|
2769
|
+
path: "/v2/users/self/passkeys/{passkeyId}",
|
|
2770
|
+
method: "PATCH",
|
|
2771
|
+
operationId: "user-update-passkey",
|
|
2772
|
+
};
|
|
2725
2773
|
/** Get a specific stored ssh-key. */
|
|
2726
2774
|
export const userGetSshKey = {
|
|
2727
2775
|
path: "/v2/users/self/ssh-keys/{sshKeyId}",
|
|
@@ -2950,51 +2998,9 @@ export const verificationVerifyCompany = {
|
|
|
2950
2998
|
method: "POST",
|
|
2951
2999
|
operationId: "verification-verify-company",
|
|
2952
3000
|
};
|
|
2953
|
-
/**
|
|
2954
|
-
export const
|
|
2955
|
-
path: "/v2/
|
|
2956
|
-
method: "POST",
|
|
2957
|
-
operationId: "user-authenticate-passkey",
|
|
2958
|
-
};
|
|
2959
|
-
/** Create a challenge for a passkey login. */
|
|
2960
|
-
export const userCreatePasskeyChallenge = {
|
|
2961
|
-
path: "/v2/passkey-challenges",
|
|
2962
|
-
method: "POST",
|
|
2963
|
-
operationId: "user-create-passkey-challenge",
|
|
2964
|
-
};
|
|
2965
|
-
/** Delete a passkey. */
|
|
2966
|
-
export const userDeletePasskey = {
|
|
2967
|
-
path: "/v2/users/self/passkeys/{passkeyId}",
|
|
2968
|
-
method: "DELETE",
|
|
2969
|
-
operationId: "user-delete-passkey",
|
|
2970
|
-
};
|
|
2971
|
-
/** Rename a passkey. */
|
|
2972
|
-
export const userUpdatePasskey = {
|
|
2973
|
-
path: "/v2/users/self/passkeys/{passkeyId}",
|
|
2974
|
-
method: "PATCH",
|
|
2975
|
-
operationId: "user-update-passkey",
|
|
2976
|
-
};
|
|
2977
|
-
/** Get your registered passkeys. */
|
|
2978
|
-
export const userListPasskeys = {
|
|
2979
|
-
path: "/v2/users/self/passkeys",
|
|
2980
|
-
method: "GET",
|
|
2981
|
-
operationId: "user-list-passkeys",
|
|
2982
|
-
};
|
|
2983
|
-
/** Register a new passkey. */
|
|
2984
|
-
export const userCreatePasskey = {
|
|
2985
|
-
path: "/v2/users/self/passkeys",
|
|
2986
|
-
method: "POST",
|
|
2987
|
-
operationId: "user-create-passkey",
|
|
2988
|
-
};
|
|
2989
|
-
/** Create a challenge to confirm an action with a passkey. */
|
|
2990
|
-
export const userCreatePasskeyConfirmationChallenge = {
|
|
2991
|
-
path: "/v2/users/self/passkey-challenges",
|
|
2992
|
-
method: "POST",
|
|
2993
|
-
operationId: "user-create-passkey-confirmation-challenge",
|
|
2994
|
-
};
|
|
2995
|
-
/** Create a challenge to register a new passkey. */
|
|
2996
|
-
export const userCreatePasskeyRegistrationChallenge = {
|
|
2997
|
-
path: "/v2/users/self/passkey-registration-challenges",
|
|
3001
|
+
/** Dry run a webhook with random or given values. */
|
|
3002
|
+
export const extensionDryRunWebhook = {
|
|
3003
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/actions/dry-run/{webhookKind}",
|
|
2998
3004
|
method: "POST",
|
|
2999
|
-
operationId: "
|
|
3005
|
+
operationId: "extension-dry-run-webhook",
|
|
3000
3006
|
};
|
|
@@ -428,6 +428,8 @@ const buildUserApi = (baseClient) => ({
|
|
|
428
428
|
getMfaStatus: new ApiCallAsyncResourceFactory(descriptors.userGetMfaStatus, baseClient.user.getMfaStatus).getApiResource,
|
|
429
429
|
/** List all of your ApiTokens. */
|
|
430
430
|
listApiTokens: new ApiCallAsyncResourceFactory(descriptors.userListApiTokens, baseClient.user.listApiTokens).getApiResource,
|
|
431
|
+
/** Get your registered passkeys. */
|
|
432
|
+
listPasskeys: new ApiCallAsyncResourceFactory(descriptors.userListPasskeys, baseClient.user.listPasskeys).getApiResource,
|
|
431
433
|
/** Get your stored ssh-keys. */
|
|
432
434
|
listSshKeys: new ApiCallAsyncResourceFactory(descriptors.userListSshKeys, baseClient.user.listSshKeys).getApiResource,
|
|
433
435
|
/** Get a specific ApiToken. */
|
|
@@ -458,8 +460,6 @@ const buildUserApi = (baseClient) => ({
|
|
|
458
460
|
searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
|
|
459
461
|
/** Request a support code. */
|
|
460
462
|
supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
|
|
461
|
-
/** Get your registered passkeys. */
|
|
462
|
-
listPasskeys: new ApiCallAsyncResourceFactory(descriptors.userListPasskeys, baseClient.user.listPasskeys).getApiResource,
|
|
463
463
|
});
|
|
464
464
|
const buildProjectApi = (baseClient) => ({
|
|
465
465
|
/** List Invites belonging to a Project. */
|
|
@@ -360,8 +360,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
360
360
|
extensionPatchExtension: this.requestFunctionFactory(descriptors.extensionPatchExtension),
|
|
361
361
|
/** Disable an ExtensionInstance. */
|
|
362
362
|
extensionDisableExtensionInstance: this.requestFunctionFactory(descriptors.extensionDisableExtensionInstance),
|
|
363
|
-
/** Dry run a webhook with random or given values. */
|
|
364
|
-
extensionDryRunWebhook: this.requestFunctionFactory(descriptors.extensionDryRunWebhook),
|
|
365
363
|
/** Enable an ExtensionInstance. */
|
|
366
364
|
extensionEnableExtensionInstance: this.requestFunctionFactory(descriptors.extensionEnableExtensionInstance),
|
|
367
365
|
/** Generate an Extension secret for the given Extension. */
|
|
@@ -420,6 +418,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
420
418
|
customerGetPaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerGetPaymentMethod),
|
|
421
419
|
/** Get the link to update the marketplace payment method */
|
|
422
420
|
customerUpdatePaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerUpdatePaymentMethod),
|
|
421
|
+
/** Dry run a webhook with random or given values. */
|
|
422
|
+
extensionDryRunWebhook: this.requestFunctionFactory(descriptors.extensionDryRunWebhook),
|
|
423
423
|
};
|
|
424
424
|
/** The conversation API allows you to manage your support conversations. */
|
|
425
425
|
conversation = {
|
|
@@ -749,6 +749,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
749
749
|
slistNotifications: this.requestFunctionFactory(descriptors.notificationsListNotifications),
|
|
750
750
|
/** Mark all notifications as read. */
|
|
751
751
|
sreadAllNotifications: this.requestFunctionFactory(descriptors.notificationsReadAllNotifications),
|
|
752
|
+
/** Reset notification settings to their defaults. */
|
|
753
|
+
sresetNotificationSettings: this.requestFunctionFactory(descriptors.notificationsResetNotificationSettings),
|
|
752
754
|
/** Update a notification's read status. */
|
|
753
755
|
supdateNotificationStatus: this.requestFunctionFactory(descriptors.notificationsUpdateNotificationStatus),
|
|
754
756
|
};
|
|
@@ -764,6 +766,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
764
766
|
removePhoneNumber: this.requestFunctionFactory(descriptors.userRemovePhoneNumber),
|
|
765
767
|
/** Validate your second factor. */
|
|
766
768
|
authenticateMfa: this.requestFunctionFactory(descriptors.userAuthenticateMfa),
|
|
769
|
+
/** Authenticate yourself with a passkey to get an access token. */
|
|
770
|
+
authenticatePasskey: this.requestFunctionFactory(descriptors.userAuthenticatePasskey),
|
|
767
771
|
/** Authenticate yourself to get an access token. */
|
|
768
772
|
authenticate: this.requestFunctionFactory(descriptors.userAuthenticate),
|
|
769
773
|
/** Authenticate an user with an access token retrieval key. */
|
|
@@ -790,6 +794,16 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
790
794
|
createApiToken: this.requestFunctionFactory(descriptors.userCreateApiToken),
|
|
791
795
|
/** Submit your user feedback. */
|
|
792
796
|
createFeedback: this.requestFunctionFactory(descriptors.userCreateFeedback),
|
|
797
|
+
/** Create a challenge for a passkey login. */
|
|
798
|
+
createPasskeyChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyChallenge),
|
|
799
|
+
/** Create a challenge to confirm an action with a passkey. */
|
|
800
|
+
createPasskeyConfirmationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyConfirmationChallenge),
|
|
801
|
+
/** Create a challenge to register a new passkey. */
|
|
802
|
+
createPasskeyRegistrationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyRegistrationChallenge),
|
|
803
|
+
/** Get your registered passkeys. */
|
|
804
|
+
listPasskeys: this.requestFunctionFactory(descriptors.userListPasskeys),
|
|
805
|
+
/** Register a new passkey. */
|
|
806
|
+
createPasskey: this.requestFunctionFactory(descriptors.userCreatePasskey),
|
|
793
807
|
/** Get your stored ssh-keys. */
|
|
794
808
|
listSshKeys: this.requestFunctionFactory(descriptors.userListSshKeys),
|
|
795
809
|
/** Store a new ssh-key. */
|
|
@@ -800,6 +814,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
800
814
|
editApiToken: this.requestFunctionFactory(descriptors.userEditApiToken),
|
|
801
815
|
/** Deletes an ApiToken. */
|
|
802
816
|
deleteApiToken: this.requestFunctionFactory(descriptors.userDeleteApiToken),
|
|
817
|
+
/** Delete a passkey. */
|
|
818
|
+
deletePasskey: this.requestFunctionFactory(descriptors.userDeletePasskey),
|
|
819
|
+
/** Rename a passkey. */
|
|
820
|
+
updatePasskey: this.requestFunctionFactory(descriptors.userUpdatePasskey),
|
|
803
821
|
/** Get a specific stored ssh-key. */
|
|
804
822
|
getSshKey: this.requestFunctionFactory(descriptors.userGetSshKey),
|
|
805
823
|
/** Edit a stored ssh-key. */
|
|
@@ -870,22 +888,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
870
888
|
verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
|
|
871
889
|
/** Verify your registration. */
|
|
872
890
|
verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
|
|
873
|
-
/** Authenticate yourself with a passkey to get an access token. */
|
|
874
|
-
authenticatePasskey: this.requestFunctionFactory(descriptors.userAuthenticatePasskey),
|
|
875
|
-
/** Create a challenge for a passkey login. */
|
|
876
|
-
createPasskeyChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyChallenge),
|
|
877
|
-
/** Delete a passkey. */
|
|
878
|
-
deletePasskey: this.requestFunctionFactory(descriptors.userDeletePasskey),
|
|
879
|
-
/** Rename a passkey. */
|
|
880
|
-
updatePasskey: this.requestFunctionFactory(descriptors.userUpdatePasskey),
|
|
881
|
-
/** Get your registered passkeys. */
|
|
882
|
-
listPasskeys: this.requestFunctionFactory(descriptors.userListPasskeys),
|
|
883
|
-
/** Register a new passkey. */
|
|
884
|
-
createPasskey: this.requestFunctionFactory(descriptors.userCreatePasskey),
|
|
885
|
-
/** Create a challenge to confirm an action with a passkey. */
|
|
886
|
-
createPasskeyConfirmationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyConfirmationChallenge),
|
|
887
|
-
/** Create a challenge to register a new passkey. */
|
|
888
|
-
createPasskeyRegistrationChallenge: this.requestFunctionFactory(descriptors.userCreatePasskeyRegistrationChallenge),
|
|
889
891
|
};
|
|
890
892
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
891
893
|
file = {
|
|
@@ -1600,12 +1600,6 @@ export const extensionDisableExtensionInstance = {
|
|
|
1600
1600
|
method: "POST",
|
|
1601
1601
|
operationId: "extension-disable-extension-instance",
|
|
1602
1602
|
};
|
|
1603
|
-
/** Dry run a webhook with random or given values. */
|
|
1604
|
-
export const extensionDryRunWebhook = {
|
|
1605
|
-
path: "/v3-next/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/actions/dry-run/{webhookKind}",
|
|
1606
|
-
method: "POST",
|
|
1607
|
-
operationId: "extension-dry-run-webhook",
|
|
1608
|
-
};
|
|
1609
1603
|
/** Enable an ExtensionInstance. */
|
|
1610
1604
|
export const extensionEnableExtensionInstance = {
|
|
1611
1605
|
path: "/v3-next/extension-instances/{extensionInstanceId}/actions/enable",
|
|
@@ -2164,6 +2158,12 @@ export const notificationsReadAllNotifications = {
|
|
|
2164
2158
|
method: "POST",
|
|
2165
2159
|
operationId: "notifications-read-all-notifications",
|
|
2166
2160
|
};
|
|
2161
|
+
/** Reset notification settings to their defaults. */
|
|
2162
|
+
export const notificationsResetNotificationSettings = {
|
|
2163
|
+
path: "/v3-next/notification-settings/actions/reset",
|
|
2164
|
+
method: "POST",
|
|
2165
|
+
operationId: "notifications-reset-notification-settings",
|
|
2166
|
+
};
|
|
2167
2167
|
/** Update a notification's read status. */
|
|
2168
2168
|
export const notificationsUpdateNotificationStatus = {
|
|
2169
2169
|
path: "/v3-next/notifications/{notificationId}/status",
|
|
@@ -2614,6 +2614,12 @@ export const userAuthenticateMfa = {
|
|
|
2614
2614
|
method: "POST",
|
|
2615
2615
|
operationId: "user-authenticate-mfa",
|
|
2616
2616
|
};
|
|
2617
|
+
/** Authenticate yourself with a passkey to get an access token. */
|
|
2618
|
+
export const userAuthenticatePasskey = {
|
|
2619
|
+
path: "/v3-next/authenticate-passkey",
|
|
2620
|
+
method: "POST",
|
|
2621
|
+
operationId: "user-authenticate-passkey",
|
|
2622
|
+
};
|
|
2617
2623
|
/** Authenticate yourself to get an access token. */
|
|
2618
2624
|
export const userAuthenticate = {
|
|
2619
2625
|
path: "/v3-next/authenticate",
|
|
@@ -2692,6 +2698,36 @@ export const userCreateFeedback = {
|
|
|
2692
2698
|
method: "POST",
|
|
2693
2699
|
operationId: "user-create-feedback",
|
|
2694
2700
|
};
|
|
2701
|
+
/** Create a challenge for a passkey login. */
|
|
2702
|
+
export const userCreatePasskeyChallenge = {
|
|
2703
|
+
path: "/v3-next/passkey-challenges",
|
|
2704
|
+
method: "POST",
|
|
2705
|
+
operationId: "user-create-passkey-challenge",
|
|
2706
|
+
};
|
|
2707
|
+
/** Create a challenge to confirm an action with a passkey. */
|
|
2708
|
+
export const userCreatePasskeyConfirmationChallenge = {
|
|
2709
|
+
path: "/v3-next/users/self/passkey-challenges",
|
|
2710
|
+
method: "POST",
|
|
2711
|
+
operationId: "user-create-passkey-confirmation-challenge",
|
|
2712
|
+
};
|
|
2713
|
+
/** Create a challenge to register a new passkey. */
|
|
2714
|
+
export const userCreatePasskeyRegistrationChallenge = {
|
|
2715
|
+
path: "/v3-next/users/self/passkey-registration-challenges",
|
|
2716
|
+
method: "POST",
|
|
2717
|
+
operationId: "user-create-passkey-registration-challenge",
|
|
2718
|
+
};
|
|
2719
|
+
/** Get your registered passkeys. */
|
|
2720
|
+
export const userListPasskeys = {
|
|
2721
|
+
path: "/v3-next/users/self/passkeys",
|
|
2722
|
+
method: "GET",
|
|
2723
|
+
operationId: "user-list-passkeys",
|
|
2724
|
+
};
|
|
2725
|
+
/** Register a new passkey. */
|
|
2726
|
+
export const userCreatePasskey = {
|
|
2727
|
+
path: "/v3-next/users/self/passkeys",
|
|
2728
|
+
method: "POST",
|
|
2729
|
+
operationId: "user-create-passkey",
|
|
2730
|
+
};
|
|
2695
2731
|
/** Get your stored ssh-keys. */
|
|
2696
2732
|
export const userListSshKeys = {
|
|
2697
2733
|
path: "/v3-next/users/self/ssh-keys",
|
|
@@ -2722,6 +2758,18 @@ export const userDeleteApiToken = {
|
|
|
2722
2758
|
method: "DELETE",
|
|
2723
2759
|
operationId: "user-delete-api-token",
|
|
2724
2760
|
};
|
|
2761
|
+
/** Delete a passkey. */
|
|
2762
|
+
export const userDeletePasskey = {
|
|
2763
|
+
path: "/v3-next/users/self/passkeys/{passkeyId}",
|
|
2764
|
+
method: "DELETE",
|
|
2765
|
+
operationId: "user-delete-passkey",
|
|
2766
|
+
};
|
|
2767
|
+
/** Rename a passkey. */
|
|
2768
|
+
export const userUpdatePasskey = {
|
|
2769
|
+
path: "/v3-next/users/self/passkeys/{passkeyId}",
|
|
2770
|
+
method: "PATCH",
|
|
2771
|
+
operationId: "user-update-passkey",
|
|
2772
|
+
};
|
|
2725
2773
|
/** Get a specific stored ssh-key. */
|
|
2726
2774
|
export const userGetSshKey = {
|
|
2727
2775
|
path: "/v3-next/users/self/ssh-keys/{sshKeyId}",
|
|
@@ -2950,51 +2998,9 @@ export const verificationVerifyCompany = {
|
|
|
2950
2998
|
method: "POST",
|
|
2951
2999
|
operationId: "verification-verify-company",
|
|
2952
3000
|
};
|
|
2953
|
-
/**
|
|
2954
|
-
export const
|
|
2955
|
-
path: "/v3-next/
|
|
2956
|
-
method: "POST",
|
|
2957
|
-
operationId: "user-authenticate-passkey",
|
|
2958
|
-
};
|
|
2959
|
-
/** Create a challenge for a passkey login. */
|
|
2960
|
-
export const userCreatePasskeyChallenge = {
|
|
2961
|
-
path: "/v3-next/passkey-challenges",
|
|
2962
|
-
method: "POST",
|
|
2963
|
-
operationId: "user-create-passkey-challenge",
|
|
2964
|
-
};
|
|
2965
|
-
/** Delete a passkey. */
|
|
2966
|
-
export const userDeletePasskey = {
|
|
2967
|
-
path: "/v3-next/users/self/passkeys/{passkeyId}",
|
|
2968
|
-
method: "DELETE",
|
|
2969
|
-
operationId: "user-delete-passkey",
|
|
2970
|
-
};
|
|
2971
|
-
/** Rename a passkey. */
|
|
2972
|
-
export const userUpdatePasskey = {
|
|
2973
|
-
path: "/v3-next/users/self/passkeys/{passkeyId}",
|
|
2974
|
-
method: "PATCH",
|
|
2975
|
-
operationId: "user-update-passkey",
|
|
2976
|
-
};
|
|
2977
|
-
/** Get your registered passkeys. */
|
|
2978
|
-
export const userListPasskeys = {
|
|
2979
|
-
path: "/v3-next/users/self/passkeys",
|
|
2980
|
-
method: "GET",
|
|
2981
|
-
operationId: "user-list-passkeys",
|
|
2982
|
-
};
|
|
2983
|
-
/** Register a new passkey. */
|
|
2984
|
-
export const userCreatePasskey = {
|
|
2985
|
-
path: "/v3-next/users/self/passkeys",
|
|
2986
|
-
method: "POST",
|
|
2987
|
-
operationId: "user-create-passkey",
|
|
2988
|
-
};
|
|
2989
|
-
/** Create a challenge to confirm an action with a passkey. */
|
|
2990
|
-
export const userCreatePasskeyConfirmationChallenge = {
|
|
2991
|
-
path: "/v3-next/users/self/passkey-challenges",
|
|
2992
|
-
method: "POST",
|
|
2993
|
-
operationId: "user-create-passkey-confirmation-challenge",
|
|
2994
|
-
};
|
|
2995
|
-
/** Create a challenge to register a new passkey. */
|
|
2996
|
-
export const userCreatePasskeyRegistrationChallenge = {
|
|
2997
|
-
path: "/v3-next/users/self/passkey-registration-challenges",
|
|
3001
|
+
/** Dry run a webhook with random or given values. */
|
|
3002
|
+
export const extensionDryRunWebhook = {
|
|
3003
|
+
path: "/v3-next/contributors/{contributorId}/extensions/{extensionId}/extension-instances/{extensionInstanceId}/actions/dry-run/{webhookKind}",
|
|
2998
3004
|
method: "POST",
|
|
2999
|
-
operationId: "
|
|
3005
|
+
operationId: "extension-dry-run-webhook",
|
|
3000
3006
|
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.514.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. */
|
|
@@ -3434,6 +3435,22 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3434
3435
|
page?: number | undefined;
|
|
3435
3436
|
} | undefined;
|
|
3436
3437
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SignupApiToken[]>;
|
|
3438
|
+
/** Get your registered passkeys. */
|
|
3439
|
+
listPasskeys: (conf?: {
|
|
3440
|
+
headers?: {
|
|
3441
|
+
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
3442
|
+
"x-access-token"?: string | undefined;
|
|
3443
|
+
} | undefined;
|
|
3444
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3445
|
+
aaguid: string;
|
|
3446
|
+
backupEligible: boolean;
|
|
3447
|
+
backupState: boolean;
|
|
3448
|
+
createdAt: string;
|
|
3449
|
+
credentialId: string;
|
|
3450
|
+
id: string;
|
|
3451
|
+
name: string;
|
|
3452
|
+
rpId: string;
|
|
3453
|
+
}[]>;
|
|
3437
3454
|
/** Get your stored ssh-keys. */
|
|
3438
3455
|
listSshKeys: (conf?: {
|
|
3439
3456
|
headers?: {
|
|
@@ -3639,22 +3656,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3639
3656
|
expiresAt: string;
|
|
3640
3657
|
supportCode: string;
|
|
3641
3658
|
}>;
|
|
3642
|
-
/** Get your registered passkeys. */
|
|
3643
|
-
listPasskeys: (conf?: {
|
|
3644
|
-
headers?: {
|
|
3645
|
-
[x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
|
|
3646
|
-
"x-access-token"?: string | undefined;
|
|
3647
|
-
} | undefined;
|
|
3648
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3649
|
-
aaguid: string;
|
|
3650
|
-
backupEligible: boolean;
|
|
3651
|
-
backupState: boolean;
|
|
3652
|
-
createdAt: string;
|
|
3653
|
-
credentialId: string;
|
|
3654
|
-
id: string;
|
|
3655
|
-
name: string;
|
|
3656
|
-
rpId: string;
|
|
3657
|
-
}[]>;
|
|
3658
3659
|
};
|
|
3659
3660
|
declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3660
3661
|
/** List Invites belonging to a Project. */
|