@mittwald/api-client 4.511.0 → 4.512.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<{
@@ -24475,8 +24490,24 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24475
24490
  authenticateMfa: (request: {
24476
24491
  data: {
24477
24492
  email: string;
24478
- multiFactorCode: string;
24479
24493
  password: string;
24494
+ multiFactorCode?: string | undefined;
24495
+ passkeyCredential?: {
24496
+ challengeId: string;
24497
+ credential: {
24498
+ clientExtensionResults: {};
24499
+ id: string;
24500
+ rawId: string;
24501
+ response: {
24502
+ authenticatorData: string;
24503
+ clientDataJSON: string;
24504
+ signature: string;
24505
+ userHandle?: string | undefined;
24506
+ };
24507
+ type: string;
24508
+ authenticatorAttachment?: string | undefined;
24509
+ };
24510
+ } | undefined;
24480
24511
  };
24481
24512
  headers?: {
24482
24513
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
@@ -24488,7 +24519,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24488
24519
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
24489
24520
  data: {
24490
24521
  email: string;
24491
- multiFactorCode: string;
24522
+ multiFactorCode?: string | undefined;
24523
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24492
24524
  password: string;
24493
24525
  };
24494
24526
  } & {
@@ -24514,7 +24546,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24514
24546
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
24515
24547
  data: {
24516
24548
  email: string;
24517
- multiFactorCode: string;
24549
+ multiFactorCode?: string | undefined;
24550
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24518
24551
  password: string;
24519
24552
  };
24520
24553
  } & {
@@ -24571,7 +24604,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24571
24604
  refreshToken: string;
24572
24605
  token: string;
24573
24606
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
24607
+ availableSecondFactors: ("totp" | "passkey")[];
24574
24608
  name?: "SecondFactorRequired" | undefined;
24609
+ passkeyChallenge?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyChallenge | undefined;
24575
24610
  }, 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
24611
  [x: string]: unknown;
24577
24612
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -24594,7 +24629,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24594
24629
  refreshToken: string;
24595
24630
  token: string;
24596
24631
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
24632
+ availableSecondFactors: ("totp" | "passkey")[];
24597
24633
  name?: "SecondFactorRequired" | undefined;
24634
+ passkeyChallenge?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyChallenge | undefined;
24598
24635
  }, 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
24636
  [x: string]: unknown;
24600
24637
  }, 429, "application/json">>>;
@@ -24737,6 +24774,22 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24737
24774
  newPassword: string;
24738
24775
  oldPassword: string;
24739
24776
  multiFactorCode?: string | undefined;
24777
+ passkeyCredential?: {
24778
+ challengeId: string;
24779
+ credential: {
24780
+ clientExtensionResults: {};
24781
+ id: string;
24782
+ rawId: string;
24783
+ response: {
24784
+ authenticatorData: string;
24785
+ clientDataJSON: string;
24786
+ signature: string;
24787
+ userHandle?: string | undefined;
24788
+ };
24789
+ type: string;
24790
+ authenticatorAttachment?: string | undefined;
24791
+ };
24792
+ } | undefined;
24740
24793
  };
24741
24794
  headers?: {
24742
24795
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
@@ -24747,6 +24800,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24747
24800
  multiFactorCode?: string | undefined;
24748
24801
  newPassword: string;
24749
24802
  oldPassword: string;
24803
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24750
24804
  };
24751
24805
  } & {
24752
24806
  headers?: Partial<{
@@ -24775,6 +24829,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24775
24829
  multiFactorCode?: string | undefined;
24776
24830
  newPassword: string;
24777
24831
  oldPassword: string;
24832
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24778
24833
  };
24779
24834
  } & {
24780
24835
  headers?: Partial<{
@@ -24837,17 +24892,34 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24837
24892
  [x: string]: unknown;
24838
24893
  }, 429, "application/json">>>;
24839
24894
  /** Reset RecoveryCodes for MFA. */
24840
- resetRecoverycodes: (request: {
24841
- data: {
24842
- multiFactorCode: string;
24843
- };
24895
+ resetRecoverycodes: (request?: {
24896
+ data?: {
24897
+ multiFactorCode?: string | undefined;
24898
+ passkeyCredential?: {
24899
+ challengeId: string;
24900
+ credential: {
24901
+ clientExtensionResults: {};
24902
+ id: string;
24903
+ rawId: string;
24904
+ response: {
24905
+ authenticatorData: string;
24906
+ clientDataJSON: string;
24907
+ signature: string;
24908
+ userHandle?: string | undefined;
24909
+ };
24910
+ type: string;
24911
+ authenticatorAttachment?: string | undefined;
24912
+ };
24913
+ } | undefined;
24914
+ } | undefined;
24844
24915
  headers?: {
24845
24916
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
24846
24917
  "x-access-token"?: string | undefined;
24847
24918
  } | undefined;
24848
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
24919
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
24849
24920
  data: {
24850
- multiFactorCode: string;
24921
+ multiFactorCode?: string | undefined;
24922
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24851
24923
  };
24852
24924
  } & {
24853
24925
  headers?: Partial<{
@@ -24869,7 +24941,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24869
24941
  [x: string]: unknown;
24870
24942
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
24871
24943
  data: {
24872
- multiFactorCode: string;
24944
+ multiFactorCode?: string | undefined;
24945
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24873
24946
  };
24874
24947
  } & {
24875
24948
  headers?: Partial<{
@@ -24945,17 +25018,34 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24945
25018
  [x: string]: unknown;
24946
25019
  }, 429, "application/json">>>;
24947
25020
  /** Disable Multi Factor Authentication. */
24948
- disableMfa: (request: {
24949
- data: {
24950
- multiFactorCode: string;
24951
- };
25021
+ disableMfa: (request?: {
25022
+ data?: {
25023
+ multiFactorCode?: string | undefined;
25024
+ passkeyCredential?: {
25025
+ challengeId: string;
25026
+ credential: {
25027
+ clientExtensionResults: {};
25028
+ id: string;
25029
+ rawId: string;
25030
+ response: {
25031
+ authenticatorData: string;
25032
+ clientDataJSON: string;
25033
+ signature: string;
25034
+ userHandle?: string | undefined;
25035
+ };
25036
+ type: string;
25037
+ authenticatorAttachment?: string | undefined;
25038
+ };
25039
+ } | undefined;
25040
+ } | undefined;
24952
25041
  headers?: {
24953
25042
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
24954
25043
  "x-access-token"?: string | undefined;
24955
25044
  } | undefined;
24956
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25045
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
24957
25046
  data: {
24958
- multiFactorCode: string;
25047
+ multiFactorCode?: string | undefined;
25048
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24959
25049
  };
24960
25050
  } & {
24961
25051
  headers?: Partial<{
@@ -24975,7 +25065,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
24975
25065
  [x: string]: unknown;
24976
25066
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
24977
25067
  data: {
24978
- multiFactorCode: string;
25068
+ multiFactorCode?: string | undefined;
25069
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
24979
25070
  };
24980
25071
  } & {
24981
25072
  headers?: Partial<{
@@ -25623,6 +25714,22 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25623
25714
  data: {
25624
25715
  password: string;
25625
25716
  multiFactorCode?: string | undefined;
25717
+ passkeyCredential?: {
25718
+ challengeId: string;
25719
+ credential: {
25720
+ clientExtensionResults: {};
25721
+ id: string;
25722
+ rawId: string;
25723
+ response: {
25724
+ authenticatorData: string;
25725
+ clientDataJSON: string;
25726
+ signature: string;
25727
+ userHandle?: string | undefined;
25728
+ };
25729
+ type: string;
25730
+ authenticatorAttachment?: string | undefined;
25731
+ };
25732
+ } | undefined;
25626
25733
  };
25627
25734
  headers?: {
25628
25735
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
@@ -25631,6 +25738,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25631
25738
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25632
25739
  data: {
25633
25740
  multiFactorCode?: string | undefined;
25741
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
25634
25742
  password: string;
25635
25743
  };
25636
25744
  } & {
@@ -25650,12 +25758,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25650
25758
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
25651
25759
  [x: string]: unknown;
25652
25760
  }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<{
25653
- [x: string]: unknown;
25761
+ message: string;
25762
+ type: string;
25654
25763
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
25655
25764
  [x: string]: unknown;
25656
25765
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25657
25766
  data: {
25658
25767
  multiFactorCode?: string | undefined;
25768
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
25659
25769
  password: string;
25660
25770
  };
25661
25771
  } & {
@@ -25675,7 +25785,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
25675
25785
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
25676
25786
  [x: string]: unknown;
25677
25787
  }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<{
25678
- [x: string]: unknown;
25788
+ message: string;
25789
+ type: string;
25679
25790
  }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
25680
25791
  [x: string]: unknown;
25681
25792
  }, 429, "application/json">>>;
@@ -27297,6 +27408,525 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27297
27408
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27298
27409
  [x: string]: unknown;
27299
27410
  }, 429, "application/json">>>;
27411
+ /** Authenticate yourself with a passkey to get an access token. */
27412
+ authenticatePasskey: (request: {
27413
+ data: {
27414
+ challengeId: string;
27415
+ credential: {
27416
+ clientExtensionResults: {};
27417
+ id: string;
27418
+ rawId: string;
27419
+ response: {
27420
+ authenticatorData: string;
27421
+ clientDataJSON: string;
27422
+ signature: string;
27423
+ userHandle?: string | undefined;
27424
+ };
27425
+ type: string;
27426
+ authenticatorAttachment?: string | undefined;
27427
+ };
27428
+ };
27429
+ headers?: {
27430
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27431
+ } | undefined;
27432
+ queryParameters?: {
27433
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27434
+ cookieOnly?: boolean | undefined;
27435
+ } | undefined;
27436
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27437
+ data: {
27438
+ challengeId: string;
27439
+ credential: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyAuthenticationResponse;
27440
+ };
27441
+ } & {
27442
+ headers?: Partial<{
27443
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27444
+ }>;
27445
+ } & {
27446
+ queryParameters: {
27447
+ cookieOnly?: boolean | undefined;
27448
+ } & Partial<{
27449
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27450
+ }>;
27451
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27452
+ expires: string;
27453
+ refreshToken: string;
27454
+ token: string;
27455
+ }, 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<{
27456
+ [x: string]: unknown;
27457
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27458
+ [x: string]: unknown;
27459
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27460
+ data: {
27461
+ challengeId: string;
27462
+ credential: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyAuthenticationResponse;
27463
+ };
27464
+ } & {
27465
+ headers?: Partial<{
27466
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27467
+ }>;
27468
+ } & {
27469
+ queryParameters: {
27470
+ cookieOnly?: boolean | undefined;
27471
+ } & Partial<{
27472
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27473
+ }>;
27474
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27475
+ expires: string;
27476
+ refreshToken: string;
27477
+ token: string;
27478
+ }, 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<{
27479
+ [x: string]: unknown;
27480
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27481
+ [x: string]: unknown;
27482
+ }, 500, "application/json">>>;
27483
+ /** Create a challenge for a passkey login. */
27484
+ createPasskeyChallenge: (request?: {
27485
+ headers?: {
27486
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27487
+ } | undefined;
27488
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27489
+ headers?: Partial<{
27490
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27491
+ }>;
27492
+ }, import("@mittwald/api-client-commons").Response<{
27493
+ challengeId: string;
27494
+ options: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyRequestOptions;
27495
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
27496
+ message: string;
27497
+ type: string;
27498
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27499
+ [x: string]: unknown;
27500
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27501
+ [x: string]: unknown;
27502
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27503
+ headers?: Partial<{
27504
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27505
+ }>;
27506
+ }, import("@mittwald/api-client-commons").Response<{
27507
+ challengeId: string;
27508
+ options: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyRequestOptions;
27509
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
27510
+ message: string;
27511
+ type: string;
27512
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27513
+ [x: string]: unknown;
27514
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27515
+ [x: string]: unknown;
27516
+ }, 500, "application/json">>>;
27517
+ /** Delete a passkey. */
27518
+ deletePasskey: (request: {
27519
+ passkeyId: string;
27520
+ data?: {
27521
+ multiFactorCode?: string | undefined;
27522
+ passkeyCredential?: {
27523
+ challengeId: string;
27524
+ credential: {
27525
+ clientExtensionResults: {};
27526
+ id: string;
27527
+ rawId: string;
27528
+ response: {
27529
+ authenticatorData: string;
27530
+ clientDataJSON: string;
27531
+ signature: string;
27532
+ userHandle?: string | undefined;
27533
+ };
27534
+ type: string;
27535
+ authenticatorAttachment?: string | undefined;
27536
+ };
27537
+ } | undefined;
27538
+ } | undefined;
27539
+ headers?: {
27540
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27541
+ "x-access-token"?: string | undefined;
27542
+ } | undefined;
27543
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27544
+ data: {
27545
+ multiFactorCode?: string | undefined;
27546
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
27547
+ };
27548
+ } & {
27549
+ pathParameters: {
27550
+ passkeyId: string;
27551
+ };
27552
+ } & {
27553
+ headers?: Partial<{
27554
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27555
+ }>;
27556
+ } & {
27557
+ headers: {
27558
+ "x-access-token"?: string | undefined;
27559
+ } & Partial<{
27560
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27561
+ }>;
27562
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27563
+ type: "ValidationError";
27564
+ message?: string | undefined;
27565
+ validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
27566
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27567
+ message: string;
27568
+ type: string;
27569
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27570
+ [x: string]: unknown;
27571
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27572
+ [x: string]: unknown;
27573
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27574
+ data: {
27575
+ multiFactorCode?: string | undefined;
27576
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
27577
+ };
27578
+ } & {
27579
+ pathParameters: {
27580
+ passkeyId: string;
27581
+ };
27582
+ } & {
27583
+ headers?: Partial<{
27584
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27585
+ }>;
27586
+ } & {
27587
+ headers: {
27588
+ "x-access-token"?: string | undefined;
27589
+ } & Partial<{
27590
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27591
+ }>;
27592
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27593
+ type: "ValidationError";
27594
+ message?: string | undefined;
27595
+ validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
27596
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27597
+ message: string;
27598
+ type: string;
27599
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27600
+ [x: string]: unknown;
27601
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27602
+ [x: string]: unknown;
27603
+ }, 500, "application/json">>>;
27604
+ /** Rename a passkey. */
27605
+ updatePasskey: (request: {
27606
+ data: {
27607
+ name: string;
27608
+ };
27609
+ passkeyId: string;
27610
+ headers?: {
27611
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27612
+ "x-access-token"?: string | undefined;
27613
+ } | undefined;
27614
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27615
+ data: {
27616
+ name: string;
27617
+ };
27618
+ } & {
27619
+ pathParameters: {
27620
+ passkeyId: string;
27621
+ };
27622
+ } & {
27623
+ headers?: Partial<{
27624
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27625
+ }>;
27626
+ } & {
27627
+ headers: {
27628
+ "x-access-token"?: string | undefined;
27629
+ } & Partial<{
27630
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27631
+ }>;
27632
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27633
+ message: string;
27634
+ type: string;
27635
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27636
+ [x: string]: unknown;
27637
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27638
+ [x: string]: unknown;
27639
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27640
+ [x: string]: unknown;
27641
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27642
+ data: {
27643
+ name: string;
27644
+ };
27645
+ } & {
27646
+ pathParameters: {
27647
+ passkeyId: string;
27648
+ };
27649
+ } & {
27650
+ headers?: Partial<{
27651
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27652
+ }>;
27653
+ } & {
27654
+ headers: {
27655
+ "x-access-token"?: string | undefined;
27656
+ } & Partial<{
27657
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27658
+ }>;
27659
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27660
+ message: string;
27661
+ type: string;
27662
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27663
+ [x: string]: unknown;
27664
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27665
+ [x: string]: unknown;
27666
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27667
+ [x: string]: unknown;
27668
+ }, 500, "application/json">>>;
27669
+ /** Get your registered passkeys. */
27670
+ listPasskeys: (request?: {
27671
+ headers?: {
27672
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27673
+ "x-access-token"?: string | undefined;
27674
+ } | undefined;
27675
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27676
+ headers?: Partial<{
27677
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27678
+ }>;
27679
+ } & {
27680
+ headers: {
27681
+ "x-access-token"?: string | undefined;
27682
+ } & Partial<{
27683
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27684
+ }>;
27685
+ }, import("@mittwald/api-client-commons").Response<{
27686
+ aaguid: string;
27687
+ backupEligible: boolean;
27688
+ backupState: boolean;
27689
+ createdAt: string;
27690
+ credentialId: string;
27691
+ id: string;
27692
+ name: string;
27693
+ rpId: string;
27694
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27695
+ [x: string]: unknown;
27696
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27697
+ [x: string]: unknown;
27698
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27699
+ headers?: Partial<{
27700
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27701
+ }>;
27702
+ } & {
27703
+ headers: {
27704
+ "x-access-token"?: string | undefined;
27705
+ } & Partial<{
27706
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27707
+ }>;
27708
+ }, import("@mittwald/api-client-commons").Response<{
27709
+ aaguid: string;
27710
+ backupEligible: boolean;
27711
+ backupState: boolean;
27712
+ createdAt: string;
27713
+ credentialId: string;
27714
+ id: string;
27715
+ name: string;
27716
+ rpId: string;
27717
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27718
+ [x: string]: unknown;
27719
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27720
+ [x: string]: unknown;
27721
+ }, 500, "application/json">>>;
27722
+ /** Register a new passkey. */
27723
+ createPasskey: (request: {
27724
+ data: {
27725
+ challengeId: string;
27726
+ credential: {
27727
+ clientExtensionResults: {};
27728
+ id: string;
27729
+ rawId: string;
27730
+ response: {
27731
+ attestationObject: string;
27732
+ authenticatorData: string;
27733
+ clientDataJSON: string;
27734
+ publicKeyAlgorithm: number;
27735
+ transports: string[];
27736
+ publicKey?: string | undefined;
27737
+ };
27738
+ type: string;
27739
+ authenticatorAttachment?: string | undefined;
27740
+ };
27741
+ name: string;
27742
+ };
27743
+ headers?: {
27744
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27745
+ "x-access-token"?: string | undefined;
27746
+ } | undefined;
27747
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27748
+ data: {
27749
+ challengeId: string;
27750
+ credential: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyRegistrationResponse;
27751
+ name: string;
27752
+ };
27753
+ } & {
27754
+ headers?: Partial<{
27755
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27756
+ }>;
27757
+ } & {
27758
+ headers: {
27759
+ "x-access-token"?: string | undefined;
27760
+ } & Partial<{
27761
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27762
+ }>;
27763
+ }, import("@mittwald/api-client-commons").Response<{
27764
+ message: string;
27765
+ type: string;
27766
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27767
+ id: string;
27768
+ recoveryCodes?: string[] | undefined;
27769
+ }, 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<{
27770
+ [x: string]: unknown;
27771
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27772
+ [x: string]: unknown;
27773
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27774
+ data: {
27775
+ challengeId: string;
27776
+ credential: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyRegistrationResponse;
27777
+ name: string;
27778
+ };
27779
+ } & {
27780
+ headers?: Partial<{
27781
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27782
+ }>;
27783
+ } & {
27784
+ headers: {
27785
+ "x-access-token"?: string | undefined;
27786
+ } & Partial<{
27787
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27788
+ }>;
27789
+ }, import("@mittwald/api-client-commons").Response<{
27790
+ message: string;
27791
+ type: string;
27792
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27793
+ id: string;
27794
+ recoveryCodes?: string[] | undefined;
27795
+ }, 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<{
27796
+ [x: string]: unknown;
27797
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27798
+ [x: string]: unknown;
27799
+ }, 500, "application/json">>>;
27800
+ /** Create a challenge to confirm an action with a passkey. */
27801
+ createPasskeyConfirmationChallenge: (request?: {
27802
+ headers?: {
27803
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27804
+ "x-access-token"?: string | undefined;
27805
+ } | undefined;
27806
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27807
+ headers?: Partial<{
27808
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27809
+ }>;
27810
+ } & {
27811
+ headers: {
27812
+ "x-access-token"?: string | undefined;
27813
+ } & Partial<{
27814
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27815
+ }>;
27816
+ }, import("@mittwald/api-client-commons").Response<{
27817
+ challengeId: string;
27818
+ options: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyRequestOptions;
27819
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
27820
+ message: string;
27821
+ type: string;
27822
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27823
+ [x: string]: unknown;
27824
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27825
+ [x: string]: unknown;
27826
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27827
+ headers?: Partial<{
27828
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27829
+ }>;
27830
+ } & {
27831
+ headers: {
27832
+ "x-access-token"?: string | undefined;
27833
+ } & Partial<{
27834
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27835
+ }>;
27836
+ }, import("@mittwald/api-client-commons").Response<{
27837
+ challengeId: string;
27838
+ options: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyRequestOptions;
27839
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
27840
+ message: string;
27841
+ type: string;
27842
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27843
+ [x: string]: unknown;
27844
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27845
+ [x: string]: unknown;
27846
+ }, 500, "application/json">>>;
27847
+ /** Create a challenge to register a new passkey. */
27848
+ createPasskeyRegistrationChallenge: (request: {
27849
+ data: {
27850
+ password: string;
27851
+ multiFactorCode?: string | undefined;
27852
+ passkeyCredential?: {
27853
+ challengeId: string;
27854
+ credential: {
27855
+ clientExtensionResults: {};
27856
+ id: string;
27857
+ rawId: string;
27858
+ response: {
27859
+ authenticatorData: string;
27860
+ clientDataJSON: string;
27861
+ signature: string;
27862
+ userHandle?: string | undefined;
27863
+ };
27864
+ type: string;
27865
+ authenticatorAttachment?: string | undefined;
27866
+ };
27867
+ } | undefined;
27868
+ };
27869
+ headers?: {
27870
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27871
+ "x-access-token"?: string | undefined;
27872
+ } | undefined;
27873
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27874
+ data: {
27875
+ multiFactorCode?: string | undefined;
27876
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
27877
+ password: string;
27878
+ };
27879
+ } & {
27880
+ headers?: Partial<{
27881
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27882
+ }>;
27883
+ } & {
27884
+ headers: {
27885
+ "x-access-token"?: string | undefined;
27886
+ } & Partial<{
27887
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27888
+ }>;
27889
+ }, import("@mittwald/api-client-commons").Response<{
27890
+ message: string;
27891
+ type: string;
27892
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27893
+ challengeId: string;
27894
+ options: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCreationOptions;
27895
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
27896
+ [x: string]: unknown;
27897
+ }, 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<{
27898
+ [x: string]: unknown;
27899
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27900
+ [x: string]: unknown;
27901
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27902
+ data: {
27903
+ multiFactorCode?: string | undefined;
27904
+ passkeyCredential?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCredential | undefined;
27905
+ password: string;
27906
+ };
27907
+ } & {
27908
+ headers?: Partial<{
27909
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27910
+ }>;
27911
+ } & {
27912
+ headers: {
27913
+ "x-access-token"?: string | undefined;
27914
+ } & Partial<{
27915
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27916
+ }>;
27917
+ }, import("@mittwald/api-client-commons").Response<{
27918
+ message: string;
27919
+ type: string;
27920
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27921
+ challengeId: string;
27922
+ options: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupPasskeyCreationOptions;
27923
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
27924
+ [x: string]: unknown;
27925
+ }, 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<{
27926
+ [x: string]: unknown;
27927
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27928
+ [x: string]: unknown;
27929
+ }, 500, "application/json">>>;
27300
27930
  };
27301
27931
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
27302
27932
  readonly file: {