@mittwald/api-client 4.511.0 → 4.514.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.
@@ -2054,6 +2054,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2054
2054
  userInputs: import("./types.js").MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
2055
2055
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2056
2056
  [x: string]: unknown;
2057
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
2058
+ [x: string]: unknown;
2057
2059
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
2058
2060
  [x: string]: unknown;
2059
2061
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -2108,6 +2110,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2108
2110
  userInputs: import("./types.js").MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
2109
2111
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
2110
2112
  [x: string]: unknown;
2113
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
2114
+ [x: string]: unknown;
2111
2115
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
2112
2116
  [x: string]: unknown;
2113
2117
  }, 429, "application/json">>>;
@@ -2164,6 +2168,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2164
2168
  appInstallationId: string;
2165
2169
  data?: {
2166
2170
  appVersionId?: string | undefined;
2171
+ autoUpdatesActivated?: boolean | undefined;
2167
2172
  customDocumentRoot?: string | undefined;
2168
2173
  databases?: {
2169
2174
  [x: string]: {
@@ -2190,6 +2195,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2190
2195
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
2191
2196
  data: {
2192
2197
  appVersionId?: string | undefined;
2198
+ autoUpdatesActivated?: boolean | undefined;
2193
2199
  customDocumentRoot?: string | undefined;
2194
2200
  databases?: {
2195
2201
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppPatchLinkedDatabase;
@@ -2218,6 +2224,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
2218
2224
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
2219
2225
  data: {
2220
2226
  appVersionId?: string | undefined;
2227
+ autoUpdatesActivated?: boolean | undefined;
2221
2228
  customDocumentRoot?: string | undefined;
2222
2229
  databases?: {
2223
2230
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppPatchLinkedDatabase;
@@ -17786,6 +17793,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17786
17793
  [x: string]: unknown;
17787
17794
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
17788
17795
  [x: string]: unknown;
17796
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
17797
+ [x: string]: unknown;
17789
17798
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
17790
17799
  [x: string]: unknown;
17791
17800
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -17827,6 +17836,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17827
17836
  [x: string]: unknown;
17828
17837
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
17829
17838
  [x: string]: unknown;
17839
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
17840
+ [x: string]: unknown;
17830
17841
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
17831
17842
  [x: string]: unknown;
17832
17843
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -18194,6 +18205,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18194
18205
  [x: string]: unknown;
18195
18206
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18196
18207
  [x: string]: unknown;
18208
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
18209
+ [x: string]: unknown;
18197
18210
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18198
18211
  [x: string]: unknown;
18199
18212
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -18232,6 +18245,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
18232
18245
  [x: string]: unknown;
18233
18246
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
18234
18247
  [x: string]: unknown;
18248
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
18249
+ [x: string]: unknown;
18235
18250
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
18236
18251
  [x: string]: unknown;
18237
18252
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -24205,6 +24220,41 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24205
24220
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
24206
24221
  [x: string]: unknown;
24207
24222
  }, 429, "application/json">>>;
24223
+ /** Reset notification settings to their defaults. */
24224
+ sresetNotificationSettings: (request?: {
24225
+ headers?: {
24226
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
24227
+ "x-access-token"?: string | undefined;
24228
+ } | undefined;
24229
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
24230
+ headers?: Partial<{
24231
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
24232
+ }>;
24233
+ } & {
24234
+ headers: {
24235
+ "x-access-token"?: string | undefined;
24236
+ } & Partial<{
24237
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
24238
+ }>;
24239
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
24240
+ [x: string]: unknown;
24241
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
24242
+ [x: string]: unknown;
24243
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
24244
+ headers?: Partial<{
24245
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
24246
+ }>;
24247
+ } & {
24248
+ headers: {
24249
+ "x-access-token"?: string | undefined;
24250
+ } & Partial<{
24251
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
24252
+ }>;
24253
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
24254
+ [x: string]: unknown;
24255
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
24256
+ [x: string]: unknown;
24257
+ }, 429, "application/json">>>;
24208
24258
  /** Update a notification's read status. */
24209
24259
  supdateNotificationStatus: (request: {
24210
24260
  data: {
@@ -24475,8 +24525,24 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24475
24525
  authenticateMfa: (request: {
24476
24526
  data: {
24477
24527
  email: string;
24478
- multiFactorCode: string;
24479
24528
  password: string;
24529
+ multiFactorCode?: string | undefined;
24530
+ passkeyCredential?: {
24531
+ challengeId: string;
24532
+ credential: {
24533
+ clientExtensionResults: {};
24534
+ id: string;
24535
+ rawId: string;
24536
+ response: {
24537
+ authenticatorData: string;
24538
+ clientDataJSON: string;
24539
+ signature: string;
24540
+ userHandle?: string | undefined;
24541
+ };
24542
+ type: string;
24543
+ authenticatorAttachment?: string | undefined;
24544
+ };
24545
+ } | undefined;
24480
24546
  };
24481
24547
  headers?: {
24482
24548
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
@@ -24488,7 +24554,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24488
24554
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
24489
24555
  data: {
24490
24556
  email: string;
24491
- multiFactorCode: string;
24557
+ multiFactorCode?: string | undefined;
24558
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24492
24559
  password: string;
24493
24560
  };
24494
24561
  } & {
@@ -24514,7 +24581,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24514
24581
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
24515
24582
  data: {
24516
24583
  email: string;
24517
- multiFactorCode: string;
24584
+ multiFactorCode?: string | undefined;
24585
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24518
24586
  password: string;
24519
24587
  };
24520
24588
  } & {
@@ -24538,6 +24606,78 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24538
24606
  }, 408, "application/json"> | import("@mittwald/api-client-commons").Response<{
24539
24607
  [x: string]: unknown;
24540
24608
  }, 429, "application/json">>>;
24609
+ /** Authenticate yourself with a passkey to get an access token. */
24610
+ authenticatePasskey: (request: {
24611
+ data: {
24612
+ challengeId: string;
24613
+ credential: {
24614
+ clientExtensionResults: {};
24615
+ id: string;
24616
+ rawId: string;
24617
+ response: {
24618
+ authenticatorData: string;
24619
+ clientDataJSON: string;
24620
+ signature: string;
24621
+ userHandle?: string | undefined;
24622
+ };
24623
+ type: string;
24624
+ authenticatorAttachment?: string | undefined;
24625
+ };
24626
+ };
24627
+ headers?: {
24628
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
24629
+ } | undefined;
24630
+ queryParameters?: {
24631
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
24632
+ cookieOnly?: boolean | undefined;
24633
+ } | undefined;
24634
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
24635
+ data: {
24636
+ challengeId: string;
24637
+ credential: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyAuthenticationResponse;
24638
+ };
24639
+ } & {
24640
+ headers?: Partial<{
24641
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
24642
+ }>;
24643
+ } & {
24644
+ queryParameters: {
24645
+ cookieOnly?: boolean | undefined;
24646
+ } & Partial<{
24647
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
24648
+ }>;
24649
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
24650
+ expires: string;
24651
+ refreshToken: string;
24652
+ token: string;
24653
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2AuthenticatePasskey.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
24654
+ [x: string]: unknown;
24655
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
24656
+ [x: string]: unknown;
24657
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
24658
+ data: {
24659
+ challengeId: string;
24660
+ credential: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyAuthenticationResponse;
24661
+ };
24662
+ } & {
24663
+ headers?: Partial<{
24664
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
24665
+ }>;
24666
+ } & {
24667
+ queryParameters: {
24668
+ cookieOnly?: boolean | undefined;
24669
+ } & Partial<{
24670
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
24671
+ }>;
24672
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
24673
+ expires: string;
24674
+ refreshToken: string;
24675
+ token: string;
24676
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2AuthenticatePasskey.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
24677
+ [x: string]: unknown;
24678
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
24679
+ [x: string]: unknown;
24680
+ }, 500, "application/json">>>;
24541
24681
  /** Authenticate yourself to get an access token. */
24542
24682
  authenticate: (request: {
24543
24683
  data: {
@@ -24571,7 +24711,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24571
24711
  refreshToken: string;
24572
24712
  token: string;
24573
24713
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
24714
+ availableSecondFactors: ("totp" | "passkey")[];
24574
24715
  name?: "SecondFactorRequired" | undefined;
24716
+ passkeyChallenge?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyChallenge | undefined;
24575
24717
  }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
24576
24718
  [x: string]: unknown;
24577
24719
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -24594,7 +24736,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24594
24736
  refreshToken: string;
24595
24737
  token: string;
24596
24738
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
24739
+ availableSecondFactors: ("totp" | "passkey")[];
24597
24740
  name?: "SecondFactorRequired" | undefined;
24741
+ passkeyChallenge?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyChallenge | undefined;
24598
24742
  }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
24599
24743
  [x: string]: unknown;
24600
24744
  }, 429, "application/json">>>;
@@ -24737,6 +24881,22 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24737
24881
  newPassword: string;
24738
24882
  oldPassword: string;
24739
24883
  multiFactorCode?: string | undefined;
24884
+ passkeyCredential?: {
24885
+ challengeId: string;
24886
+ credential: {
24887
+ clientExtensionResults: {};
24888
+ id: string;
24889
+ rawId: string;
24890
+ response: {
24891
+ authenticatorData: string;
24892
+ clientDataJSON: string;
24893
+ signature: string;
24894
+ userHandle?: string | undefined;
24895
+ };
24896
+ type: string;
24897
+ authenticatorAttachment?: string | undefined;
24898
+ };
24899
+ } | undefined;
24740
24900
  };
24741
24901
  headers?: {
24742
24902
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
@@ -24747,6 +24907,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24747
24907
  multiFactorCode?: string | undefined;
24748
24908
  newPassword: string;
24749
24909
  oldPassword: string;
24910
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24750
24911
  };
24751
24912
  } & {
24752
24913
  headers?: Partial<{
@@ -24775,6 +24936,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24775
24936
  multiFactorCode?: string | undefined;
24776
24937
  newPassword: string;
24777
24938
  oldPassword: string;
24939
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24778
24940
  };
24779
24941
  } & {
24780
24942
  headers?: Partial<{
@@ -24837,17 +24999,34 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24837
24999
  [x: string]: unknown;
24838
25000
  }, 429, "application/json">>>;
24839
25001
  /** Reset RecoveryCodes for MFA. */
24840
- resetRecoverycodes: (request: {
24841
- data: {
24842
- multiFactorCode: string;
24843
- };
25002
+ resetRecoverycodes: (request?: {
25003
+ data?: {
25004
+ multiFactorCode?: string | undefined;
25005
+ passkeyCredential?: {
25006
+ challengeId: string;
25007
+ credential: {
25008
+ clientExtensionResults: {};
25009
+ id: string;
25010
+ rawId: string;
25011
+ response: {
25012
+ authenticatorData: string;
25013
+ clientDataJSON: string;
25014
+ signature: string;
25015
+ userHandle?: string | undefined;
25016
+ };
25017
+ type: string;
25018
+ authenticatorAttachment?: string | undefined;
25019
+ };
25020
+ } | undefined;
25021
+ } | undefined;
24844
25022
  headers?: {
24845
25023
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
24846
25024
  "x-access-token"?: string | undefined;
24847
25025
  } | undefined;
24848
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25026
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
24849
25027
  data: {
24850
- multiFactorCode: string;
25028
+ multiFactorCode?: string | undefined;
25029
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24851
25030
  };
24852
25031
  } & {
24853
25032
  headers?: Partial<{
@@ -24869,7 +25048,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24869
25048
  [x: string]: unknown;
24870
25049
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
24871
25050
  data: {
24872
- multiFactorCode: string;
25051
+ multiFactorCode?: string | undefined;
25052
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24873
25053
  };
24874
25054
  } & {
24875
25055
  headers?: Partial<{
@@ -24945,17 +25125,34 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24945
25125
  [x: string]: unknown;
24946
25126
  }, 429, "application/json">>>;
24947
25127
  /** Disable Multi Factor Authentication. */
24948
- disableMfa: (request: {
24949
- data: {
24950
- multiFactorCode: string;
24951
- };
25128
+ disableMfa: (request?: {
25129
+ data?: {
25130
+ multiFactorCode?: string | undefined;
25131
+ passkeyCredential?: {
25132
+ challengeId: string;
25133
+ credential: {
25134
+ clientExtensionResults: {};
25135
+ id: string;
25136
+ rawId: string;
25137
+ response: {
25138
+ authenticatorData: string;
25139
+ clientDataJSON: string;
25140
+ signature: string;
25141
+ userHandle?: string | undefined;
25142
+ };
25143
+ type: string;
25144
+ authenticatorAttachment?: string | undefined;
25145
+ };
25146
+ } | undefined;
25147
+ } | undefined;
24952
25148
  headers?: {
24953
25149
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
24954
25150
  "x-access-token"?: string | undefined;
24955
25151
  } | undefined;
24956
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25152
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
24957
25153
  data: {
24958
- multiFactorCode: string;
25154
+ multiFactorCode?: string | undefined;
25155
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24959
25156
  };
24960
25157
  } & {
24961
25158
  headers?: Partial<{
@@ -24975,7 +25172,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24975
25172
  [x: string]: unknown;
24976
25173
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
24977
25174
  data: {
24978
- multiFactorCode: string;
25175
+ multiFactorCode?: string | undefined;
25176
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24979
25177
  };
24980
25178
  } & {
24981
25179
  headers?: Partial<{
@@ -25208,28 +25406,48 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25208
25406
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
25209
25407
  [x: string]: unknown;
25210
25408
  }, 429, "application/json">>>;
25211
- /** Get your stored ssh-keys. */
25212
- listSshKeys: (request?: {
25409
+ /** Create a challenge for a passkey login. */
25410
+ createPasskeyChallenge: (request?: {
25213
25411
  headers?: {
25214
25412
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25215
- "x-access-token"?: string | undefined;
25216
- } | undefined;
25217
- queryParameters?: {
25218
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25219
- limit?: number | undefined;
25220
- skip?: number | undefined;
25221
- page?: number | undefined;
25222
25413
  } | undefined;
25223
25414
  } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25224
25415
  headers?: Partial<{
25225
25416
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25226
25417
  }>;
25227
- } & {
25228
- queryParameters: {
25229
- limit?: number | undefined;
25230
- skip?: number | undefined;
25231
- page?: number | undefined;
25232
- } & Partial<{
25418
+ }, import("@mittwald/api-client-commons").Response<{
25419
+ challengeId: string;
25420
+ options: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyRequestOptions;
25421
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
25422
+ message: string;
25423
+ type: string;
25424
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25425
+ [x: string]: unknown;
25426
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25427
+ [x: string]: unknown;
25428
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25429
+ headers?: Partial<{
25430
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25431
+ }>;
25432
+ }, import("@mittwald/api-client-commons").Response<{
25433
+ challengeId: string;
25434
+ options: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyRequestOptions;
25435
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
25436
+ message: string;
25437
+ type: string;
25438
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25439
+ [x: string]: unknown;
25440
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25441
+ [x: string]: unknown;
25442
+ }, 500, "application/json">>>;
25443
+ /** Create a challenge to confirm an action with a passkey. */
25444
+ createPasskeyConfirmationChallenge: (request?: {
25445
+ headers?: {
25446
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25447
+ "x-access-token"?: string | undefined;
25448
+ } | undefined;
25449
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25450
+ headers?: Partial<{
25233
25451
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25234
25452
  }>;
25235
25453
  } & {
@@ -25239,21 +25457,19 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25239
25457
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25240
25458
  }>;
25241
25459
  }, import("@mittwald/api-client-commons").Response<{
25242
- sshKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey[] | undefined;
25243
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25460
+ challengeId: string;
25461
+ options: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyRequestOptions;
25462
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
25463
+ message: string;
25464
+ type: string;
25465
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25244
25466
  [x: string]: unknown;
25245
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25467
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25468
+ [x: string]: unknown;
25469
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25246
25470
  headers?: Partial<{
25247
25471
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25248
25472
  }>;
25249
- } & {
25250
- queryParameters: {
25251
- limit?: number | undefined;
25252
- skip?: number | undefined;
25253
- page?: number | undefined;
25254
- } & Partial<{
25255
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25256
- }>;
25257
25473
  } & {
25258
25474
  headers: {
25259
25475
  "x-access-token"?: string | undefined;
@@ -25261,15 +25477,37 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25261
25477
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25262
25478
  }>;
25263
25479
  }, import("@mittwald/api-client-commons").Response<{
25264
- sshKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey[] | undefined;
25265
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25480
+ challengeId: string;
25481
+ options: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyRequestOptions;
25482
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
25483
+ message: string;
25484
+ type: string;
25485
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25266
25486
  [x: string]: unknown;
25267
- }, 429, "application/json">>>;
25268
- /** Store a new ssh-key. */
25269
- createSshKey: (request: {
25487
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25488
+ [x: string]: unknown;
25489
+ }, 500, "application/json">>>;
25490
+ /** Create a challenge to register a new passkey. */
25491
+ createPasskeyRegistrationChallenge: (request: {
25270
25492
  data: {
25271
- publicKey: string;
25272
- expiresAt?: (string | Date) | undefined;
25493
+ password: string;
25494
+ multiFactorCode?: string | undefined;
25495
+ passkeyCredential?: {
25496
+ challengeId: string;
25497
+ credential: {
25498
+ clientExtensionResults: {};
25499
+ id: string;
25500
+ rawId: string;
25501
+ response: {
25502
+ authenticatorData: string;
25503
+ clientDataJSON: string;
25504
+ signature: string;
25505
+ userHandle?: string | undefined;
25506
+ };
25507
+ type: string;
25508
+ authenticatorAttachment?: string | undefined;
25509
+ };
25510
+ } | undefined;
25273
25511
  };
25274
25512
  headers?: {
25275
25513
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
@@ -25277,8 +25515,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25277
25515
  } | undefined;
25278
25516
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25279
25517
  data: {
25280
- expiresAt?: (string | Date) | undefined;
25281
- publicKey: string;
25518
+ multiFactorCode?: string | undefined;
25519
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
25520
+ password: string;
25282
25521
  };
25283
25522
  } & {
25284
25523
  headers?: Partial<{
@@ -25290,14 +25529,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25290
25529
  } & Partial<{
25291
25530
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25292
25531
  }>;
25293
- }, import("@mittwald/api-client-commons").Response<{}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
25532
+ }, import("@mittwald/api-client-commons").Response<{
25533
+ challengeId: string;
25534
+ options: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCreationOptions;
25535
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
25294
25536
  [x: string]: unknown;
25295
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25537
+ }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2UsersSelfPasskeyRegistrationChallenges.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25538
+ message: string;
25539
+ type: string;
25540
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
25296
25541
  [x: string]: unknown;
25297
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25542
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25543
+ [x: string]: unknown;
25544
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25298
25545
  data: {
25299
- expiresAt?: (string | Date) | undefined;
25300
- publicKey: string;
25546
+ multiFactorCode?: string | undefined;
25547
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
25548
+ password: string;
25301
25549
  };
25302
25550
  } & {
25303
25551
  headers?: Partial<{
@@ -25309,19 +25557,264 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25309
25557
  } & Partial<{
25310
25558
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25311
25559
  }>;
25312
- }, import("@mittwald/api-client-commons").Response<{}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
25560
+ }, import("@mittwald/api-client-commons").Response<{
25561
+ challengeId: string;
25562
+ options: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCreationOptions;
25563
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
25313
25564
  [x: string]: unknown;
25314
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25565
+ }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2UsersSelfPasskeyRegistrationChallenges.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25566
+ message: string;
25567
+ type: string;
25568
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
25315
25569
  [x: string]: unknown;
25316
- }, 429, "application/json">>>;
25317
- /** Get a specific ApiToken. */
25318
- getApiToken: (request: {
25319
- apiTokenId: string;
25570
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25571
+ [x: string]: unknown;
25572
+ }, 500, "application/json">>>;
25573
+ /** Get your registered passkeys. */
25574
+ listPasskeys: (request?: {
25320
25575
  headers?: {
25321
25576
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25322
25577
  "x-access-token"?: string | undefined;
25323
25578
  } | undefined;
25324
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25579
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25580
+ headers?: Partial<{
25581
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25582
+ }>;
25583
+ } & {
25584
+ headers: {
25585
+ "x-access-token"?: string | undefined;
25586
+ } & Partial<{
25587
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25588
+ }>;
25589
+ }, import("@mittwald/api-client-commons").Response<{
25590
+ aaguid: string;
25591
+ backupEligible: boolean;
25592
+ backupState: boolean;
25593
+ createdAt: string;
25594
+ credentialId: string;
25595
+ id: string;
25596
+ name: string;
25597
+ rpId: string;
25598
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25599
+ [x: string]: unknown;
25600
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25601
+ [x: string]: unknown;
25602
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25603
+ headers?: Partial<{
25604
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25605
+ }>;
25606
+ } & {
25607
+ headers: {
25608
+ "x-access-token"?: string | undefined;
25609
+ } & Partial<{
25610
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25611
+ }>;
25612
+ }, import("@mittwald/api-client-commons").Response<{
25613
+ aaguid: string;
25614
+ backupEligible: boolean;
25615
+ backupState: boolean;
25616
+ createdAt: string;
25617
+ credentialId: string;
25618
+ id: string;
25619
+ name: string;
25620
+ rpId: string;
25621
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25622
+ [x: string]: unknown;
25623
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25624
+ [x: string]: unknown;
25625
+ }, 500, "application/json">>>;
25626
+ /** Register a new passkey. */
25627
+ createPasskey: (request: {
25628
+ data: {
25629
+ challengeId: string;
25630
+ credential: {
25631
+ clientExtensionResults: {};
25632
+ id: string;
25633
+ rawId: string;
25634
+ response: {
25635
+ attestationObject: string;
25636
+ authenticatorData: string;
25637
+ clientDataJSON: string;
25638
+ publicKeyAlgorithm: number;
25639
+ transports: string[];
25640
+ publicKey?: string | undefined;
25641
+ };
25642
+ type: string;
25643
+ authenticatorAttachment?: string | undefined;
25644
+ };
25645
+ name: string;
25646
+ };
25647
+ headers?: {
25648
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25649
+ "x-access-token"?: string | undefined;
25650
+ } | undefined;
25651
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25652
+ data: {
25653
+ challengeId: string;
25654
+ credential: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyRegistrationResponse;
25655
+ name: string;
25656
+ };
25657
+ } & {
25658
+ headers?: Partial<{
25659
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25660
+ }>;
25661
+ } & {
25662
+ headers: {
25663
+ "x-access-token"?: string | undefined;
25664
+ } & Partial<{
25665
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25666
+ }>;
25667
+ }, import("@mittwald/api-client-commons").Response<{
25668
+ message: string;
25669
+ type: string;
25670
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
25671
+ id: string;
25672
+ recoveryCodes?: string[] | undefined;
25673
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2UsersSelfPasskeys.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25674
+ [x: string]: unknown;
25675
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25676
+ [x: string]: unknown;
25677
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25678
+ data: {
25679
+ challengeId: string;
25680
+ credential: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyRegistrationResponse;
25681
+ name: string;
25682
+ };
25683
+ } & {
25684
+ headers?: Partial<{
25685
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25686
+ }>;
25687
+ } & {
25688
+ headers: {
25689
+ "x-access-token"?: string | undefined;
25690
+ } & Partial<{
25691
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25692
+ }>;
25693
+ }, import("@mittwald/api-client-commons").Response<{
25694
+ message: string;
25695
+ type: string;
25696
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
25697
+ id: string;
25698
+ recoveryCodes?: string[] | undefined;
25699
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2UsersSelfPasskeys.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25700
+ [x: string]: unknown;
25701
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25702
+ [x: string]: unknown;
25703
+ }, 500, "application/json">>>;
25704
+ /** Get your stored ssh-keys. */
25705
+ listSshKeys: (request?: {
25706
+ headers?: {
25707
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25708
+ "x-access-token"?: string | undefined;
25709
+ } | undefined;
25710
+ queryParameters?: {
25711
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25712
+ limit?: number | undefined;
25713
+ skip?: number | undefined;
25714
+ page?: number | undefined;
25715
+ } | undefined;
25716
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25717
+ headers?: Partial<{
25718
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25719
+ }>;
25720
+ } & {
25721
+ queryParameters: {
25722
+ limit?: number | undefined;
25723
+ skip?: number | undefined;
25724
+ page?: number | undefined;
25725
+ } & Partial<{
25726
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25727
+ }>;
25728
+ } & {
25729
+ headers: {
25730
+ "x-access-token"?: string | undefined;
25731
+ } & Partial<{
25732
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25733
+ }>;
25734
+ }, import("@mittwald/api-client-commons").Response<{
25735
+ sshKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey[] | undefined;
25736
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25737
+ [x: string]: unknown;
25738
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25739
+ headers?: Partial<{
25740
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25741
+ }>;
25742
+ } & {
25743
+ queryParameters: {
25744
+ limit?: number | undefined;
25745
+ skip?: number | undefined;
25746
+ page?: number | undefined;
25747
+ } & Partial<{
25748
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25749
+ }>;
25750
+ } & {
25751
+ headers: {
25752
+ "x-access-token"?: string | undefined;
25753
+ } & Partial<{
25754
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25755
+ }>;
25756
+ }, import("@mittwald/api-client-commons").Response<{
25757
+ sshKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey[] | undefined;
25758
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25759
+ [x: string]: unknown;
25760
+ }, 429, "application/json">>>;
25761
+ /** Store a new ssh-key. */
25762
+ createSshKey: (request: {
25763
+ data: {
25764
+ publicKey: string;
25765
+ expiresAt?: (string | Date) | undefined;
25766
+ };
25767
+ headers?: {
25768
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25769
+ "x-access-token"?: string | undefined;
25770
+ } | undefined;
25771
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25772
+ data: {
25773
+ expiresAt?: (string | Date) | undefined;
25774
+ publicKey: string;
25775
+ };
25776
+ } & {
25777
+ headers?: Partial<{
25778
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25779
+ }>;
25780
+ } & {
25781
+ headers: {
25782
+ "x-access-token"?: string | undefined;
25783
+ } & Partial<{
25784
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25785
+ }>;
25786
+ }, import("@mittwald/api-client-commons").Response<{}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
25787
+ [x: string]: unknown;
25788
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25789
+ [x: string]: unknown;
25790
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25791
+ data: {
25792
+ expiresAt?: (string | Date) | undefined;
25793
+ publicKey: string;
25794
+ };
25795
+ } & {
25796
+ headers?: Partial<{
25797
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25798
+ }>;
25799
+ } & {
25800
+ headers: {
25801
+ "x-access-token"?: string | undefined;
25802
+ } & Partial<{
25803
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25804
+ }>;
25805
+ }, import("@mittwald/api-client-commons").Response<{}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
25806
+ [x: string]: unknown;
25807
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25808
+ [x: string]: unknown;
25809
+ }, 429, "application/json">>>;
25810
+ /** Get a specific ApiToken. */
25811
+ getApiToken: (request: {
25812
+ apiTokenId: string;
25813
+ headers?: {
25814
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25815
+ "x-access-token"?: string | undefined;
25816
+ } | undefined;
25817
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25325
25818
  headers?: Partial<{
25326
25819
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25327
25820
  }>;
@@ -25472,6 +25965,158 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25472
25965
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25473
25966
  [x: string]: unknown;
25474
25967
  }, 429, "application/json">>>;
25968
+ /** Delete a passkey. */
25969
+ deletePasskey: (request: {
25970
+ passkeyId: string;
25971
+ data?: {
25972
+ multiFactorCode?: string | undefined;
25973
+ passkeyCredential?: {
25974
+ challengeId: string;
25975
+ credential: {
25976
+ clientExtensionResults: {};
25977
+ id: string;
25978
+ rawId: string;
25979
+ response: {
25980
+ authenticatorData: string;
25981
+ clientDataJSON: string;
25982
+ signature: string;
25983
+ userHandle?: string | undefined;
25984
+ };
25985
+ type: string;
25986
+ authenticatorAttachment?: string | undefined;
25987
+ };
25988
+ } | undefined;
25989
+ } | undefined;
25990
+ headers?: {
25991
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25992
+ "x-access-token"?: string | undefined;
25993
+ } | undefined;
25994
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25995
+ data: {
25996
+ multiFactorCode?: string | undefined;
25997
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
25998
+ };
25999
+ } & {
26000
+ pathParameters: {
26001
+ passkeyId: string;
26002
+ };
26003
+ } & {
26004
+ headers?: Partial<{
26005
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26006
+ }>;
26007
+ } & {
26008
+ headers: {
26009
+ "x-access-token"?: string | undefined;
26010
+ } & Partial<{
26011
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26012
+ }>;
26013
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26014
+ type: "ValidationError";
26015
+ message?: string | undefined;
26016
+ validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
26017
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26018
+ message: string;
26019
+ type: string;
26020
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26021
+ [x: string]: unknown;
26022
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26023
+ [x: string]: unknown;
26024
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26025
+ data: {
26026
+ multiFactorCode?: string | undefined;
26027
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
26028
+ };
26029
+ } & {
26030
+ pathParameters: {
26031
+ passkeyId: string;
26032
+ };
26033
+ } & {
26034
+ headers?: Partial<{
26035
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26036
+ }>;
26037
+ } & {
26038
+ headers: {
26039
+ "x-access-token"?: string | undefined;
26040
+ } & Partial<{
26041
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26042
+ }>;
26043
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26044
+ type: "ValidationError";
26045
+ message?: string | undefined;
26046
+ validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
26047
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26048
+ message: string;
26049
+ type: string;
26050
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26051
+ [x: string]: unknown;
26052
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26053
+ [x: string]: unknown;
26054
+ }, 500, "application/json">>>;
26055
+ /** Rename a passkey. */
26056
+ updatePasskey: (request: {
26057
+ data: {
26058
+ name: string;
26059
+ };
26060
+ passkeyId: string;
26061
+ headers?: {
26062
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26063
+ "x-access-token"?: string | undefined;
26064
+ } | undefined;
26065
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26066
+ data: {
26067
+ name: string;
26068
+ };
26069
+ } & {
26070
+ pathParameters: {
26071
+ passkeyId: string;
26072
+ };
26073
+ } & {
26074
+ headers?: Partial<{
26075
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26076
+ }>;
26077
+ } & {
26078
+ headers: {
26079
+ "x-access-token"?: string | undefined;
26080
+ } & Partial<{
26081
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26082
+ }>;
26083
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26084
+ message: string;
26085
+ type: string;
26086
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26087
+ [x: string]: unknown;
26088
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26089
+ [x: string]: unknown;
26090
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26091
+ [x: string]: unknown;
26092
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26093
+ data: {
26094
+ name: string;
26095
+ };
26096
+ } & {
26097
+ pathParameters: {
26098
+ passkeyId: string;
26099
+ };
26100
+ } & {
26101
+ headers?: Partial<{
26102
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26103
+ }>;
26104
+ } & {
26105
+ headers: {
26106
+ "x-access-token"?: string | undefined;
26107
+ } & Partial<{
26108
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26109
+ }>;
26110
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26111
+ message: string;
26112
+ type: string;
26113
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26114
+ [x: string]: unknown;
26115
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26116
+ [x: string]: unknown;
26117
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26118
+ [x: string]: unknown;
26119
+ }, 500, "application/json">>>;
25475
26120
  /** Get a specific stored ssh-key. */
25476
26121
  getSshKey: (request: {
25477
26122
  sshKeyId: string;
@@ -25623,6 +26268,22 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25623
26268
  data: {
25624
26269
  password: string;
25625
26270
  multiFactorCode?: string | undefined;
26271
+ passkeyCredential?: {
26272
+ challengeId: string;
26273
+ credential: {
26274
+ clientExtensionResults: {};
26275
+ id: string;
26276
+ rawId: string;
26277
+ response: {
26278
+ authenticatorData: string;
26279
+ clientDataJSON: string;
26280
+ signature: string;
26281
+ userHandle?: string | undefined;
26282
+ };
26283
+ type: string;
26284
+ authenticatorAttachment?: string | undefined;
26285
+ };
26286
+ } | undefined;
25626
26287
  };
25627
26288
  headers?: {
25628
26289
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
@@ -25631,6 +26292,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25631
26292
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25632
26293
  data: {
25633
26294
  multiFactorCode?: string | undefined;
26295
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
25634
26296
  password: string;
25635
26297
  };
25636
26298
  } & {
@@ -25647,15 +26309,17 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25647
26309
  type: "ValidationError";
25648
26310
  message?: string | undefined;
25649
26311
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
25650
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
26312
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26313
+ message: string;
26314
+ type: string;
26315
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
25651
26316
  [x: string]: unknown;
25652
26317
  }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<{
25653
26318
  [x: string]: unknown;
25654
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
25655
- [x: string]: unknown;
25656
26319
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25657
26320
  data: {
25658
26321
  multiFactorCode?: string | undefined;
26322
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
25659
26323
  password: string;
25660
26324
  };
25661
26325
  } & {
@@ -25672,12 +26336,13 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25672
26336
  type: "ValidationError";
25673
26337
  message?: string | undefined;
25674
26338
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
25675
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
26339
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26340
+ message: string;
26341
+ type: string;
26342
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
25676
26343
  [x: string]: unknown;
25677
26344
  }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<{
25678
26345
  [x: string]: unknown;
25679
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
25680
- [x: string]: unknown;
25681
26346
  }, 429, "application/json">>>;
25682
26347
  /** Check status of the current session. */
25683
26348
  getCurrentSessionStatus: (request?: {
@@ -26218,6 +26883,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26218
26883
  userId: string;
26219
26884
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26220
26885
  [x: string]: unknown;
26886
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26887
+ [x: string]: unknown;
26888
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
26889
+ [x: string]: unknown;
26221
26890
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26222
26891
  [x: string]: unknown;
26223
26892
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -26260,6 +26929,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26260
26929
  userId: string;
26261
26930
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26262
26931
  [x: string]: unknown;
26932
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26933
+ [x: string]: unknown;
26934
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
26935
+ [x: string]: unknown;
26263
26936
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26264
26937
  [x: string]: unknown;
26265
26938
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{