@mittwald/api-client 4.512.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.
@@ -24220,6 +24220,41 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
24220
24220
  }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
24221
24221
  [x: string]: unknown;
24222
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">>>;
24223
24258
  /** Update a notification's read status. */
24224
24259
  supdateNotificationStatus: (request: {
24225
24260
  data: {
@@ -24571,6 +24606,78 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
24571
24606
  }, 408, "application/json"> | import("@mittwald/api-client-commons").Response<{
24572
24607
  [x: string]: unknown;
24573
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyAuthenticationResponse;
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").MittwaldAPIV3Next.Paths.V3NextAuthenticatePasskey.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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyAuthenticationResponse;
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").MittwaldAPIV3Next.Paths.V3NextAuthenticatePasskey.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">>>;
24574
24681
  /** Authenticate yourself to get an access token. */
24575
24682
  authenticate: (request: {
24576
24683
  data: {
@@ -25299,28 +25406,48 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25299
25406
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
25300
25407
  [x: string]: unknown;
25301
25408
  }, 429, "application/json">>>;
25302
- /** Get your stored ssh-keys. */
25303
- listSshKeys: (request?: {
25409
+ /** Create a challenge for a passkey login. */
25410
+ createPasskeyChallenge: (request?: {
25304
25411
  headers?: {
25305
25412
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25306
- "x-access-token"?: string | undefined;
25307
- } | undefined;
25308
- queryParameters?: {
25309
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25310
- limit?: number | undefined;
25311
- skip?: number | undefined;
25312
- page?: number | undefined;
25313
25413
  } | undefined;
25314
25414
  } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25315
25415
  headers?: Partial<{
25316
25416
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25317
25417
  }>;
25318
- } & {
25319
- queryParameters: {
25320
- limit?: number | undefined;
25321
- skip?: number | undefined;
25322
- page?: number | undefined;
25323
- } & Partial<{
25418
+ }, import("@mittwald/api-client-commons").Response<{
25419
+ challengeId: string;
25420
+ options: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyRequestOptions;
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyRequestOptions;
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<{
25324
25451
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25325
25452
  }>;
25326
25453
  } & {
@@ -25330,21 +25457,19 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25330
25457
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25331
25458
  }>;
25332
25459
  }, import("@mittwald/api-client-commons").Response<{
25333
- sshKeys?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupSshKey[] | undefined;
25334
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25460
+ challengeId: string;
25461
+ options: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyRequestOptions;
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<{
25335
25466
  [x: string]: unknown;
25336
- }, 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<{
25337
25470
  headers?: Partial<{
25338
25471
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25339
25472
  }>;
25340
- } & {
25341
- queryParameters: {
25342
- limit?: number | undefined;
25343
- skip?: number | undefined;
25344
- page?: number | undefined;
25345
- } & Partial<{
25346
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25347
- }>;
25348
25473
  } & {
25349
25474
  headers: {
25350
25475
  "x-access-token"?: string | undefined;
@@ -25352,15 +25477,37 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25352
25477
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25353
25478
  }>;
25354
25479
  }, import("@mittwald/api-client-commons").Response<{
25355
- sshKeys?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupSshKey[] | undefined;
25356
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25480
+ challengeId: string;
25481
+ options: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyRequestOptions;
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<{
25357
25486
  [x: string]: unknown;
25358
- }, 429, "application/json">>>;
25359
- /** Store a new ssh-key. */
25360
- 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: {
25361
25492
  data: {
25362
- publicKey: string;
25363
- 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;
25364
25511
  };
25365
25512
  headers?: {
25366
25513
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
@@ -25368,8 +25515,9 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25368
25515
  } | undefined;
25369
25516
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25370
25517
  data: {
25371
- expiresAt?: (string | Date) | undefined;
25372
- publicKey: string;
25518
+ multiFactorCode?: string | undefined;
25519
+ passkeyCredential?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential | undefined;
25520
+ password: string;
25373
25521
  };
25374
25522
  } & {
25375
25523
  headers?: Partial<{
@@ -25381,14 +25529,23 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25381
25529
  } & Partial<{
25382
25530
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25383
25531
  }>;
25384
- }, 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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCreationOptions;
25535
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
25385
25536
  [x: string]: unknown;
25386
- }, 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").MittwaldAPIV3Next.Paths.V3NextUsersSelfPasskeyRegistrationChallenges.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<{
25387
25541
  [x: string]: unknown;
25388
- }, 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<{
25389
25545
  data: {
25390
- expiresAt?: (string | Date) | undefined;
25391
- publicKey: string;
25546
+ multiFactorCode?: string | undefined;
25547
+ passkeyCredential?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential | undefined;
25548
+ password: string;
25392
25549
  };
25393
25550
  } & {
25394
25551
  headers?: Partial<{
@@ -25400,26 +25557,29 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25400
25557
  } & Partial<{
25401
25558
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25402
25559
  }>;
25403
- }, 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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCreationOptions;
25563
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
25404
25564
  [x: string]: unknown;
25405
- }, 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").MittwaldAPIV3Next.Paths.V3NextUsersSelfPasskeyRegistrationChallenges.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<{
25406
25569
  [x: string]: unknown;
25407
- }, 429, "application/json">>>;
25408
- /** Get a specific ApiToken. */
25409
- getApiToken: (request: {
25410
- 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?: {
25411
25575
  headers?: {
25412
25576
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25413
25577
  "x-access-token"?: string | undefined;
25414
25578
  } | undefined;
25415
- }, 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<{
25416
25580
  headers?: Partial<{
25417
25581
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25418
25582
  }>;
25419
- } & {
25420
- pathParameters: {
25421
- apiTokenId: string;
25422
- };
25423
25583
  } & {
25424
25584
  headers: {
25425
25585
  "x-access-token"?: string | undefined;
@@ -25427,23 +25587,22 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25427
25587
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25428
25588
  }>;
25429
25589
  }, import("@mittwald/api-client-commons").Response<{
25430
- apiTokenId: string;
25590
+ aaguid: string;
25591
+ backupEligible: boolean;
25592
+ backupState: boolean;
25431
25593
  createdAt: string;
25432
- description: string;
25433
- expiresAt?: string | undefined;
25434
- roles: ("api_read" | "api_write")[];
25435
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25594
+ credentialId: string;
25595
+ id: string;
25596
+ name: string;
25597
+ rpId: string;
25598
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25436
25599
  [x: string]: unknown;
25437
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
25600
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25438
25601
  [x: string]: unknown;
25439
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25602
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25440
25603
  headers?: Partial<{
25441
25604
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25442
25605
  }>;
25443
- } & {
25444
- pathParameters: {
25445
- apiTokenId: string;
25446
- };
25447
25606
  } & {
25448
25607
  headers: {
25449
25608
  "x-access-token"?: string | undefined;
@@ -25451,35 +25610,49 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25451
25610
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25452
25611
  }>;
25453
25612
  }, import("@mittwald/api-client-commons").Response<{
25454
- apiTokenId: string;
25613
+ aaguid: string;
25614
+ backupEligible: boolean;
25615
+ backupState: boolean;
25455
25616
  createdAt: string;
25456
- description: string;
25457
- expiresAt?: string | undefined;
25458
- roles: ("api_read" | "api_write")[];
25459
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25617
+ credentialId: string;
25618
+ id: string;
25619
+ name: string;
25620
+ rpId: string;
25621
+ }[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25460
25622
  [x: string]: unknown;
25461
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
25623
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25462
25624
  [x: string]: unknown;
25463
- }, 429, "application/json">>>;
25464
- /** Update an existing `ApiToken`. */
25465
- editApiToken: (request: {
25625
+ }, 500, "application/json">>>;
25626
+ /** Register a new passkey. */
25627
+ createPasskey: (request: {
25466
25628
  data: {
25467
- description: string;
25468
- expiresAt?: (string | Date) | undefined;
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;
25469
25646
  };
25470
- apiTokenId: string;
25471
25647
  headers?: {
25472
25648
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25473
25649
  "x-access-token"?: string | undefined;
25474
25650
  } | undefined;
25475
25651
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25476
25652
  data: {
25477
- description: string;
25478
- expiresAt?: (string | Date) | undefined;
25479
- };
25480
- } & {
25481
- pathParameters: {
25482
- apiTokenId: string;
25653
+ challengeId: string;
25654
+ credential: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyRegistrationResponse;
25655
+ name: string;
25483
25656
  };
25484
25657
  } & {
25485
25658
  headers?: Partial<{
@@ -25491,81 +25664,152 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25491
25664
  } & Partial<{
25492
25665
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25493
25666
  }>;
25494
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
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").MittwaldAPIV3Next.Paths.V3NextUsersSelfPasskeys.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25495
25674
  [x: string]: unknown;
25496
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25675
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
25497
25676
  [x: string]: unknown;
25498
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25677
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25499
25678
  data: {
25500
- description: string;
25501
- expiresAt?: (string | Date) | undefined;
25679
+ challengeId: string;
25680
+ credential: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyRegistrationResponse;
25681
+ name: string;
25502
25682
  };
25503
25683
  } & {
25504
- pathParameters: {
25505
- apiTokenId: string;
25506
- };
25684
+ headers?: Partial<{
25685
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25686
+ }>;
25507
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").MittwaldAPIV3Next.Paths.V3NextUsersSelfPasskeys.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<{
25508
25717
  headers?: Partial<{
25509
25718
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25510
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
+ }>;
25511
25728
  } & {
25512
25729
  headers: {
25513
25730
  "x-access-token"?: string | undefined;
25514
25731
  } & Partial<{
25515
25732
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25516
25733
  }>;
25517
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
25734
+ }, import("@mittwald/api-client-commons").Response<{
25735
+ sshKeys?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupSshKey[] | undefined;
25736
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25518
25737
  [x: string]: unknown;
25519
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupSshKey[] | undefined;
25758
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25520
25759
  [x: string]: unknown;
25521
25760
  }, 429, "application/json">>>;
25522
- /** Deletes an ApiToken. */
25523
- deleteApiToken: (request: {
25524
- apiTokenId: string;
25761
+ /** Store a new ssh-key. */
25762
+ createSshKey: (request: {
25763
+ data: {
25764
+ publicKey: string;
25765
+ expiresAt?: (string | Date) | undefined;
25766
+ };
25525
25767
  headers?: {
25526
25768
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25527
25769
  "x-access-token"?: string | undefined;
25528
25770
  } | undefined;
25529
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
+ } & {
25530
25777
  headers?: Partial<{
25531
25778
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25532
25779
  }>;
25533
- } & {
25534
- pathParameters: {
25535
- apiTokenId: string;
25536
- };
25537
25780
  } & {
25538
25781
  headers: {
25539
25782
  "x-access-token"?: string | undefined;
25540
25783
  } & Partial<{
25541
25784
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25542
25785
  }>;
25543
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
25786
+ }, import("@mittwald/api-client-commons").Response<{}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
25544
25787
  [x: string]: unknown;
25545
25788
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25546
25789
  [x: string]: unknown;
25547
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
+ } & {
25548
25796
  headers?: Partial<{
25549
25797
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25550
25798
  }>;
25551
- } & {
25552
- pathParameters: {
25553
- apiTokenId: string;
25554
- };
25555
25799
  } & {
25556
25800
  headers: {
25557
25801
  "x-access-token"?: string | undefined;
25558
25802
  } & Partial<{
25559
25803
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25560
25804
  }>;
25561
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
25805
+ }, import("@mittwald/api-client-commons").Response<{}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
25562
25806
  [x: string]: unknown;
25563
25807
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25564
25808
  [x: string]: unknown;
25565
25809
  }, 429, "application/json">>>;
25566
- /** Get a specific stored ssh-key. */
25567
- getSshKey: (request: {
25568
- sshKeyId: string;
25810
+ /** Get a specific ApiToken. */
25811
+ getApiToken: (request: {
25812
+ apiTokenId: string;
25569
25813
  headers?: {
25570
25814
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25571
25815
  "x-access-token"?: string | undefined;
@@ -25576,7 +25820,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25576
25820
  }>;
25577
25821
  } & {
25578
25822
  pathParameters: {
25579
- sshKeyId: string;
25823
+ apiTokenId: string;
25580
25824
  };
25581
25825
  } & {
25582
25826
  headers: {
@@ -25585,7 +25829,11 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25585
25829
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25586
25830
  }>;
25587
25831
  }, import("@mittwald/api-client-commons").Response<{
25588
- sshKey: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupSshKey;
25832
+ apiTokenId: string;
25833
+ createdAt: string;
25834
+ description: string;
25835
+ expiresAt?: string | undefined;
25836
+ roles: ("api_read" | "api_write")[];
25589
25837
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25590
25838
  [x: string]: unknown;
25591
25839
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -25596,7 +25844,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25596
25844
  }>;
25597
25845
  } & {
25598
25846
  pathParameters: {
25599
- sshKeyId: string;
25847
+ apiTokenId: string;
25600
25848
  };
25601
25849
  } & {
25602
25850
  headers: {
@@ -25605,31 +25853,35 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25605
25853
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25606
25854
  }>;
25607
25855
  }, import("@mittwald/api-client-commons").Response<{
25608
- sshKey: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupSshKey;
25856
+ apiTokenId: string;
25857
+ createdAt: string;
25858
+ description: string;
25859
+ expiresAt?: string | undefined;
25860
+ roles: ("api_read" | "api_write")[];
25609
25861
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25610
25862
  [x: string]: unknown;
25611
25863
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
25612
25864
  [x: string]: unknown;
25613
25865
  }, 429, "application/json">>>;
25614
- /** Edit a stored ssh-key. */
25615
- editSshKey: (request: {
25866
+ /** Update an existing `ApiToken`. */
25867
+ editApiToken: (request: {
25616
25868
  data: {
25617
- comment: string;
25869
+ description: string;
25618
25870
  expiresAt?: (string | Date) | undefined;
25619
25871
  };
25620
- sshKeyId: string;
25872
+ apiTokenId: string;
25621
25873
  headers?: {
25622
25874
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25623
25875
  "x-access-token"?: string | undefined;
25624
25876
  } | undefined;
25625
25877
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25626
25878
  data: {
25627
- comment: string;
25879
+ description: string;
25628
25880
  expiresAt?: (string | Date) | undefined;
25629
25881
  };
25630
25882
  } & {
25631
25883
  pathParameters: {
25632
- sshKeyId: string;
25884
+ apiTokenId: string;
25633
25885
  };
25634
25886
  } & {
25635
25887
  headers?: Partial<{
@@ -25647,12 +25899,12 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25647
25899
  [x: string]: unknown;
25648
25900
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25649
25901
  data: {
25650
- comment: string;
25902
+ description: string;
25651
25903
  expiresAt?: (string | Date) | undefined;
25652
25904
  };
25653
25905
  } & {
25654
25906
  pathParameters: {
25655
- sshKeyId: string;
25907
+ apiTokenId: string;
25656
25908
  };
25657
25909
  } & {
25658
25910
  headers?: Partial<{
@@ -25669,9 +25921,9 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25669
25921
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25670
25922
  [x: string]: unknown;
25671
25923
  }, 429, "application/json">>>;
25672
- /** Remove a ssh-key. */
25673
- deleteSshKey: (request: {
25674
- sshKeyId: string;
25924
+ /** Deletes an ApiToken. */
25925
+ deleteApiToken: (request: {
25926
+ apiTokenId: string;
25675
25927
  headers?: {
25676
25928
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25677
25929
  "x-access-token"?: string | undefined;
@@ -25682,7 +25934,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25682
25934
  }>;
25683
25935
  } & {
25684
25936
  pathParameters: {
25685
- sshKeyId: string;
25937
+ apiTokenId: string;
25686
25938
  };
25687
25939
  } & {
25688
25940
  headers: {
@@ -25692,13 +25944,15 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25692
25944
  }>;
25693
25945
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
25694
25946
  [x: string]: unknown;
25947
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25948
+ [x: string]: unknown;
25695
25949
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25696
25950
  headers?: Partial<{
25697
25951
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25698
25952
  }>;
25699
25953
  } & {
25700
25954
  pathParameters: {
25701
- sshKeyId: string;
25955
+ apiTokenId: string;
25702
25956
  };
25703
25957
  } & {
25704
25958
  headers: {
@@ -25708,11 +25962,13 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25708
25962
  }>;
25709
25963
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
25710
25964
  [x: string]: unknown;
25965
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25966
+ [x: string]: unknown;
25711
25967
  }, 429, "application/json">>>;
25712
- /** Delete your account and all your personal data. */
25713
- deleteUser: (request: {
25714
- data: {
25715
- password: string;
25968
+ /** Delete a passkey. */
25969
+ deletePasskey: (request: {
25970
+ passkeyId: string;
25971
+ data?: {
25716
25972
  multiFactorCode?: string | undefined;
25717
25973
  passkeyCredential?: {
25718
25974
  challengeId: string;
@@ -25730,7 +25986,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25730
25986
  authenticatorAttachment?: string | undefined;
25731
25987
  };
25732
25988
  } | undefined;
25733
- };
25989
+ } | undefined;
25734
25990
  headers?: {
25735
25991
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25736
25992
  "x-access-token"?: string | undefined;
@@ -25739,10 +25995,13 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25739
25995
  data: {
25740
25996
  multiFactorCode?: string | undefined;
25741
25997
  passkeyCredential?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential | undefined;
25742
- password: string;
25743
25998
  };
25744
25999
  } & {
25745
- headers?: Partial<{
26000
+ pathParameters: {
26001
+ passkeyId: string;
26002
+ };
26003
+ } & {
26004
+ headers?: Partial<{
25746
26005
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25747
26006
  }>;
25748
26007
  } & {
@@ -25751,22 +26010,25 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25751
26010
  } & Partial<{
25752
26011
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25753
26012
  }>;
25754
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
26013
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
25755
26014
  type: "ValidationError";
25756
26015
  message?: string | undefined;
25757
26016
  validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
25758
26017
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25759
- [x: string]: unknown;
25760
- }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<{
25761
26018
  message: string;
25762
26019
  type: string;
25763
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
26020
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
25764
26021
  [x: string]: unknown;
25765
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
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<{
25766
26025
  data: {
25767
26026
  multiFactorCode?: string | undefined;
25768
26027
  passkeyCredential?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential | undefined;
25769
- password: string;
26028
+ };
26029
+ } & {
26030
+ pathParameters: {
26031
+ passkeyId: string;
25770
26032
  };
25771
26033
  } & {
25772
26034
  headers?: Partial<{
@@ -25778,66 +26040,37 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25778
26040
  } & Partial<{
25779
26041
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25780
26042
  }>;
25781
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
26043
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
25782
26044
  type: "ValidationError";
25783
26045
  message?: string | undefined;
25784
26046
  validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
25785
26047
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25786
- [x: string]: unknown;
25787
- }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<{
25788
26048
  message: string;
25789
26049
  type: string;
25790
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
26050
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
25791
26051
  [x: string]: unknown;
25792
- }, 429, "application/json">>>;
25793
- /** Check status of the current session. */
25794
- getCurrentSessionStatus: (request?: {
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;
25795
26061
  headers?: {
25796
26062
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25797
26063
  "x-access-token"?: string | undefined;
25798
26064
  } | undefined;
25799
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25800
- headers?: Partial<{
25801
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25802
- }>;
26065
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26066
+ data: {
26067
+ name: string;
26068
+ };
25803
26069
  } & {
25804
- headers: {
25805
- "x-access-token"?: string | undefined;
25806
- } & Partial<{
25807
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25808
- }>;
25809
- }, import("@mittwald/api-client-commons").Response<{
25810
- isEmployee: boolean;
25811
- isImpersonated: boolean;
25812
- tokenId: string;
25813
- userId: string;
25814
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25815
- [x: string]: unknown;
25816
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25817
- headers?: Partial<{
25818
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25819
- }>;
26070
+ pathParameters: {
26071
+ passkeyId: string;
26072
+ };
25820
26073
  } & {
25821
- headers: {
25822
- "x-access-token"?: string | undefined;
25823
- } & Partial<{
25824
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25825
- }>;
25826
- }, import("@mittwald/api-client-commons").Response<{
25827
- isEmployee: boolean;
25828
- isImpersonated: boolean;
25829
- tokenId: string;
25830
- userId: string;
25831
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25832
- [x: string]: unknown;
25833
- }, 429, "application/json">>>;
25834
- /** The timestamp of your latest password change. */
25835
- getPasswordUpdatedAt: (request?: {
25836
- headers?: {
25837
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25838
- "x-access-token"?: string | undefined;
25839
- } | undefined;
25840
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25841
26074
  headers?: Partial<{
25842
26075
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25843
26076
  }>;
@@ -25847,11 +26080,24 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25847
26080
  } & Partial<{
25848
26081
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25849
26082
  }>;
25850
- }, import("@mittwald/api-client-commons").Response<{
25851
- passwordUpdatedAt: string;
25852
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
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<{
25853
26087
  [x: string]: unknown;
25854
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
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
+ } & {
25855
26101
  headers?: Partial<{
25856
26102
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25857
26103
  }>;
@@ -25861,14 +26107,19 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25861
26107
  } & Partial<{
25862
26108
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25863
26109
  }>;
25864
- }, import("@mittwald/api-client-commons").Response<{
25865
- passwordUpdatedAt: string;
25866
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
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<{
25867
26114
  [x: string]: unknown;
25868
- }, 429, "application/json">>>;
25869
- /** Get personalized settings. */
25870
- getPersonalizedSettings: (request: {
25871
- userId: string;
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">>>;
26120
+ /** Get a specific stored ssh-key. */
26121
+ getSshKey: (request: {
26122
+ sshKeyId: string;
25872
26123
  headers?: {
25873
26124
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25874
26125
  "x-access-token"?: string | undefined;
@@ -25879,7 +26130,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25879
26130
  }>;
25880
26131
  } & {
25881
26132
  pathParameters: {
25882
- userId: string;
26133
+ sshKeyId: string;
25883
26134
  };
25884
26135
  } & {
25885
26136
  headers: {
@@ -25888,16 +26139,18 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25888
26139
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25889
26140
  }>;
25890
26141
  }, import("@mittwald/api-client-commons").Response<{
25891
- settingsString?: string | undefined;
26142
+ sshKey: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupSshKey;
25892
26143
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25893
26144
  [x: string]: unknown;
26145
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26146
+ [x: string]: unknown;
25894
26147
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25895
26148
  headers?: Partial<{
25896
26149
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25897
26150
  }>;
25898
26151
  } & {
25899
26152
  pathParameters: {
25900
- userId: string;
26153
+ sshKeyId: string;
25901
26154
  };
25902
26155
  } & {
25903
26156
  headers: {
@@ -25906,27 +26159,31 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25906
26159
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
25907
26160
  }>;
25908
26161
  }, import("@mittwald/api-client-commons").Response<{
25909
- settingsString?: string | undefined;
26162
+ sshKey: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupSshKey;
25910
26163
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25911
26164
  [x: string]: unknown;
26165
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26166
+ [x: string]: unknown;
25912
26167
  }, 429, "application/json">>>;
25913
- /** Update personalized GUI settings. */
25914
- updatePersonalizedSettings: (request: {
26168
+ /** Edit a stored ssh-key. */
26169
+ editSshKey: (request: {
25915
26170
  data: {
25916
- settingsString: string;
26171
+ comment: string;
26172
+ expiresAt?: (string | Date) | undefined;
25917
26173
  };
25918
- userId: string;
26174
+ sshKeyId: string;
25919
26175
  headers?: {
25920
26176
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
25921
26177
  "x-access-token"?: string | undefined;
25922
26178
  } | undefined;
25923
26179
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25924
26180
  data: {
25925
- settingsString: string;
26181
+ comment: string;
26182
+ expiresAt?: (string | Date) | undefined;
25926
26183
  };
25927
26184
  } & {
25928
26185
  pathParameters: {
25929
- userId: string;
26186
+ sshKeyId: string;
25930
26187
  };
25931
26188
  } & {
25932
26189
  headers?: Partial<{
@@ -25944,11 +26201,12 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25944
26201
  [x: string]: unknown;
25945
26202
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25946
26203
  data: {
25947
- settingsString: string;
26204
+ comment: string;
26205
+ expiresAt?: (string | Date) | undefined;
25948
26206
  };
25949
26207
  } & {
25950
26208
  pathParameters: {
25951
- userId: string;
26209
+ sshKeyId: string;
25952
26210
  };
25953
26211
  } & {
25954
26212
  headers?: Partial<{
@@ -25965,11 +26223,12 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25965
26223
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25966
26224
  [x: string]: unknown;
25967
26225
  }, 429, "application/json">>>;
25968
- /** Get poll settings for the specified user. */
25969
- getPollStatus: (request: {
25970
- userId: string;
26226
+ /** Remove a ssh-key. */
26227
+ deleteSshKey: (request: {
26228
+ sshKeyId: string;
25971
26229
  headers?: {
25972
26230
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26231
+ "x-access-token"?: string | undefined;
25973
26232
  } | undefined;
25974
26233
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
25975
26234
  headers?: Partial<{
@@ -25977,20 +26236,15 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25977
26236
  }>;
25978
26237
  } & {
25979
26238
  pathParameters: {
25980
- userId: string;
26239
+ sshKeyId: string;
25981
26240
  };
25982
- }, import("@mittwald/api-client-commons").Response<{
25983
- completedAt?: string | undefined;
25984
- dontShowUntil?: string | undefined;
25985
- ignoredAt?: string | undefined;
25986
- shouldShow: boolean;
25987
- status: "completed" | "muted" | "ignored" | "new";
25988
- userId: string;
25989
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
25990
- [x: string]: unknown;
25991
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
25992
- [x: string]: unknown;
25993
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26241
+ } & {
26242
+ headers: {
26243
+ "x-access-token"?: string | undefined;
26244
+ } & Partial<{
26245
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26246
+ }>;
26247
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
25994
26248
  [x: string]: unknown;
25995
26249
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
25996
26250
  headers?: Partial<{
@@ -25998,100 +26252,108 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
25998
26252
  }>;
25999
26253
  } & {
26000
26254
  pathParameters: {
26001
- userId: string;
26255
+ sshKeyId: string;
26002
26256
  };
26003
- }, import("@mittwald/api-client-commons").Response<{
26004
- completedAt?: string | undefined;
26005
- dontShowUntil?: string | undefined;
26006
- ignoredAt?: string | undefined;
26007
- shouldShow: boolean;
26008
- status: "completed" | "muted" | "ignored" | "new";
26009
- userId: string;
26010
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26011
- [x: string]: unknown;
26012
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26013
- [x: string]: unknown;
26014
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26257
+ } & {
26258
+ headers: {
26259
+ "x-access-token"?: string | undefined;
26260
+ } & Partial<{
26261
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26262
+ }>;
26263
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26015
26264
  [x: string]: unknown;
26016
26265
  }, 429, "application/json">>>;
26017
- /** Store new or update poll settings. */
26018
- postPollStatus: (request: {
26266
+ /** Delete your account and all your personal data. */
26267
+ deleteUser: (request: {
26019
26268
  data: {
26020
- status: "completed" | "muted" | "ignored";
26021
- userId: string;
26269
+ password: string;
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;
26022
26287
  };
26023
- userId: string;
26024
26288
  headers?: {
26025
26289
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26290
+ "x-access-token"?: string | undefined;
26026
26291
  } | undefined;
26027
26292
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26028
26293
  data: {
26029
- status: "completed" | "muted" | "ignored";
26030
- userId: string;
26031
- };
26032
- } & {
26033
- pathParameters: {
26034
- userId: string;
26294
+ multiFactorCode?: string | undefined;
26295
+ passkeyCredential?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential | undefined;
26296
+ password: string;
26035
26297
  };
26036
26298
  } & {
26037
26299
  headers?: Partial<{
26038
26300
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26039
26301
  }>;
26040
- }, import("@mittwald/api-client-commons").Response<{
26041
- completedAt?: string | undefined;
26042
- dontShowUntil?: string | undefined;
26043
- ignoredAt?: string | undefined;
26044
- shouldShow: boolean;
26045
- status: "completed" | "muted" | "ignored" | "new";
26046
- userId: string;
26047
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26048
- [x: string]: unknown;
26049
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26050
- [x: string]: unknown;
26051
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26052
- [x: string]: unknown;
26053
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26054
- data: {
26055
- status: "completed" | "muted" | "ignored";
26056
- userId: string;
26057
- };
26058
26302
  } & {
26059
- pathParameters: {
26060
- userId: string;
26303
+ headers: {
26304
+ "x-access-token"?: string | undefined;
26305
+ } & Partial<{
26306
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26307
+ }>;
26308
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
26309
+ type: "ValidationError";
26310
+ message?: string | undefined;
26311
+ validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
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<{
26316
+ [x: string]: unknown;
26317
+ }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<{
26318
+ [x: string]: unknown;
26319
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26320
+ data: {
26321
+ multiFactorCode?: string | undefined;
26322
+ passkeyCredential?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential | undefined;
26323
+ password: string;
26061
26324
  };
26062
26325
  } & {
26063
26326
  headers?: Partial<{
26064
26327
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26065
26328
  }>;
26066
- }, import("@mittwald/api-client-commons").Response<{
26067
- completedAt?: string | undefined;
26068
- dontShowUntil?: string | undefined;
26069
- ignoredAt?: string | undefined;
26070
- shouldShow: boolean;
26071
- status: "completed" | "muted" | "ignored" | "new";
26072
- userId: string;
26073
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26074
- [x: string]: unknown;
26329
+ } & {
26330
+ headers: {
26331
+ "x-access-token"?: string | undefined;
26332
+ } & Partial<{
26333
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26334
+ }>;
26335
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
26336
+ type: "ValidationError";
26337
+ message?: string | undefined;
26338
+ validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
26075
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<{
26076
26343
  [x: string]: unknown;
26077
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26344
+ }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<{
26078
26345
  [x: string]: unknown;
26079
26346
  }, 429, "application/json">>>;
26080
- /** Get a specific session. */
26081
- getSession: (request: {
26082
- tokenId: string;
26347
+ /** Check status of the current session. */
26348
+ getCurrentSessionStatus: (request?: {
26083
26349
  headers?: {
26084
26350
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26085
26351
  "x-access-token"?: string | undefined;
26086
26352
  } | undefined;
26087
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26353
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26088
26354
  headers?: Partial<{
26089
26355
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26090
26356
  }>;
26091
- } & {
26092
- pathParameters: {
26093
- tokenId: string;
26094
- };
26095
26357
  } & {
26096
26358
  headers: {
26097
26359
  "x-access-token"?: string | undefined;
@@ -26099,23 +26361,16 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26099
26361
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26100
26362
  }>;
26101
26363
  }, import("@mittwald/api-client-commons").Response<{
26102
- created: string;
26103
- device: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupDeviceInfo;
26104
- lastAccess?: string | undefined;
26105
- location?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupLocation | undefined;
26364
+ isEmployee: boolean;
26365
+ isImpersonated: boolean;
26106
26366
  tokenId: string;
26367
+ userId: string;
26107
26368
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26108
26369
  [x: string]: unknown;
26109
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26110
- [x: string]: unknown;
26111
26370
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26112
26371
  headers?: Partial<{
26113
26372
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26114
26373
  }>;
26115
- } & {
26116
- pathParameters: {
26117
- tokenId: string;
26118
- };
26119
26374
  } & {
26120
26375
  headers: {
26121
26376
  "x-access-token"?: string | undefined;
@@ -26123,63 +26378,51 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26123
26378
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26124
26379
  }>;
26125
26380
  }, import("@mittwald/api-client-commons").Response<{
26126
- created: string;
26127
- device: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupDeviceInfo;
26128
- lastAccess?: string | undefined;
26129
- location?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupLocation | undefined;
26381
+ isEmployee: boolean;
26382
+ isImpersonated: boolean;
26130
26383
  tokenId: string;
26384
+ userId: string;
26131
26385
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26132
26386
  [x: string]: unknown;
26133
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26134
- [x: string]: unknown;
26135
26387
  }, 429, "application/json">>>;
26136
- /** Terminate a specific Session. */
26137
- terminateSession: (request: {
26138
- tokenId: string;
26388
+ /** The timestamp of your latest password change. */
26389
+ getPasswordUpdatedAt: (request?: {
26139
26390
  headers?: {
26140
26391
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26141
26392
  "x-access-token"?: string | undefined;
26142
26393
  } | undefined;
26143
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26394
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26144
26395
  headers?: Partial<{
26145
26396
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26146
26397
  }>;
26147
- } & {
26148
- pathParameters: {
26149
- tokenId: string;
26150
- };
26151
26398
  } & {
26152
26399
  headers: {
26153
26400
  "x-access-token"?: string | undefined;
26154
26401
  } & Partial<{
26155
26402
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26156
26403
  }>;
26157
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26158
- [x: string]: unknown;
26159
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26404
+ }, import("@mittwald/api-client-commons").Response<{
26405
+ passwordUpdatedAt: string;
26406
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26160
26407
  [x: string]: unknown;
26161
26408
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26162
26409
  headers?: Partial<{
26163
26410
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26164
26411
  }>;
26165
- } & {
26166
- pathParameters: {
26167
- tokenId: string;
26168
- };
26169
26412
  } & {
26170
26413
  headers: {
26171
26414
  "x-access-token"?: string | undefined;
26172
26415
  } & Partial<{
26173
26416
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26174
26417
  }>;
26175
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26176
- [x: string]: unknown;
26177
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26418
+ }, import("@mittwald/api-client-commons").Response<{
26419
+ passwordUpdatedAt: string;
26420
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26178
26421
  [x: string]: unknown;
26179
26422
  }, 429, "application/json">>>;
26180
- /** Submitted feedback of the given user. */
26181
- getSpotlightInfo: (request: {
26182
- spotlightId: string;
26423
+ /** Get personalized settings. */
26424
+ getPersonalizedSettings: (request: {
26425
+ userId: string;
26183
26426
  headers?: {
26184
26427
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26185
26428
  "x-access-token"?: string | undefined;
@@ -26190,7 +26433,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26190
26433
  }>;
26191
26434
  } & {
26192
26435
  pathParameters: {
26193
- spotlightId: string;
26436
+ userId: string;
26194
26437
  };
26195
26438
  } & {
26196
26439
  headers: {
@@ -26199,10 +26442,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26199
26442
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26200
26443
  }>;
26201
26444
  }, import("@mittwald/api-client-commons").Response<{
26202
- acknowledged: boolean;
26203
- decision?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedbackSpotlightDecision | undefined;
26204
- spotlightId: string;
26205
- used: boolean;
26445
+ settingsString?: string | undefined;
26206
26446
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26207
26447
  [x: string]: unknown;
26208
26448
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
@@ -26211,7 +26451,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26211
26451
  }>;
26212
26452
  } & {
26213
26453
  pathParameters: {
26214
- spotlightId: string;
26454
+ userId: string;
26215
26455
  };
26216
26456
  } & {
26217
26457
  headers: {
@@ -26220,34 +26460,27 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26220
26460
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26221
26461
  }>;
26222
26462
  }, import("@mittwald/api-client-commons").Response<{
26223
- acknowledged: boolean;
26224
- decision?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedbackSpotlightDecision | undefined;
26225
- spotlightId: string;
26226
- used: boolean;
26463
+ settingsString?: string | undefined;
26227
26464
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26228
26465
  [x: string]: unknown;
26229
26466
  }, 429, "application/json">>>;
26230
- /** Submit your usage of the spotlight. */
26231
- spotlightUsage: (request: {
26232
- spotlightId: string;
26233
- data?: {
26234
- acknowledged?: boolean | undefined;
26235
- owner?: string | undefined;
26236
- used?: boolean | undefined;
26237
- } | undefined;
26467
+ /** Update personalized GUI settings. */
26468
+ updatePersonalizedSettings: (request: {
26469
+ data: {
26470
+ settingsString: string;
26471
+ };
26472
+ userId: string;
26238
26473
  headers?: {
26239
26474
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26240
26475
  "x-access-token"?: string | undefined;
26241
26476
  } | undefined;
26242
26477
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26243
26478
  data: {
26244
- acknowledged?: boolean | undefined;
26245
- owner?: string | undefined;
26246
- used?: boolean | undefined;
26479
+ settingsString: string;
26247
26480
  };
26248
26481
  } & {
26249
26482
  pathParameters: {
26250
- spotlightId: string;
26483
+ userId: string;
26251
26484
  };
26252
26485
  } & {
26253
26486
  headers?: Partial<{
@@ -26261,15 +26494,15 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26261
26494
  }>;
26262
26495
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26263
26496
  [x: string]: unknown;
26497
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26498
+ [x: string]: unknown;
26264
26499
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26265
26500
  data: {
26266
- acknowledged?: boolean | undefined;
26267
- owner?: string | undefined;
26268
- used?: boolean | undefined;
26501
+ settingsString: string;
26269
26502
  };
26270
26503
  } & {
26271
26504
  pathParameters: {
26272
- spotlightId: string;
26505
+ userId: string;
26273
26506
  };
26274
26507
  } & {
26275
26508
  headers?: Partial<{
@@ -26283,13 +26516,14 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26283
26516
  }>;
26284
26517
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26285
26518
  [x: string]: unknown;
26519
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26520
+ [x: string]: unknown;
26286
26521
  }, 429, "application/json">>>;
26287
- /** Get profile information for a user. */
26288
- getUser: (request: {
26522
+ /** Get poll settings for the specified user. */
26523
+ getPollStatus: (request: {
26289
26524
  userId: string;
26290
26525
  headers?: {
26291
26526
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26292
- "x-access-token"?: string | undefined;
26293
26527
  } | undefined;
26294
26528
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26295
26529
  headers?: Partial<{
@@ -26299,41 +26533,20 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26299
26533
  pathParameters: {
26300
26534
  userId: string;
26301
26535
  };
26302
- } & {
26303
- headers: {
26304
- "x-access-token"?: string | undefined;
26305
- } & Partial<{
26306
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26307
- }>;
26308
26536
  }, import("@mittwald/api-client-commons").Response<{
26309
- avatarRef?: string | undefined;
26310
- customerMemberships?: {
26311
- [k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserCustomerMembership;
26312
- } | undefined;
26313
- email?: string | undefined;
26314
- employeeInformation?: {
26315
- department: string;
26316
- } | undefined;
26317
- isEmployee?: boolean | undefined;
26318
- mfa?: {
26319
- active: boolean;
26320
- setup: boolean;
26321
- } | undefined;
26322
- passwordUpdatedAt?: string | undefined;
26323
- person: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsPerson;
26324
- phoneNumber?: string | undefined;
26325
- projectMemberships?: {
26326
- [k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserProjectMembership;
26327
- } | undefined;
26328
- registeredAt?: string | undefined;
26537
+ completedAt?: string | undefined;
26538
+ dontShowUntil?: string | undefined;
26539
+ ignoredAt?: string | undefined;
26540
+ shouldShow: boolean;
26541
+ status: "completed" | "muted" | "ignored" | "new";
26329
26542
  userId: string;
26330
26543
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26331
26544
  [x: string]: unknown;
26332
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26545
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26333
26546
  [x: string]: unknown;
26334
26547
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26335
26548
  [x: string]: unknown;
26336
- }, 412, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26549
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26337
26550
  headers?: Partial<{
26338
26551
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26339
26552
  }>;
@@ -26341,58 +26554,34 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26341
26554
  pathParameters: {
26342
26555
  userId: string;
26343
26556
  };
26344
- } & {
26345
- headers: {
26346
- "x-access-token"?: string | undefined;
26347
- } & Partial<{
26348
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26349
- }>;
26350
26557
  }, import("@mittwald/api-client-commons").Response<{
26351
- avatarRef?: string | undefined;
26352
- customerMemberships?: {
26353
- [k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserCustomerMembership;
26354
- } | undefined;
26355
- email?: string | undefined;
26356
- employeeInformation?: {
26357
- department: string;
26358
- } | undefined;
26359
- isEmployee?: boolean | undefined;
26360
- mfa?: {
26361
- active: boolean;
26362
- setup: boolean;
26363
- } | undefined;
26364
- passwordUpdatedAt?: string | undefined;
26365
- person: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsPerson;
26366
- phoneNumber?: string | undefined;
26367
- projectMemberships?: {
26368
- [k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserProjectMembership;
26369
- } | undefined;
26370
- registeredAt?: string | undefined;
26558
+ completedAt?: string | undefined;
26559
+ dontShowUntil?: string | undefined;
26560
+ ignoredAt?: string | undefined;
26561
+ shouldShow: boolean;
26562
+ status: "completed" | "muted" | "ignored" | "new";
26371
26563
  userId: string;
26372
26564
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26373
26565
  [x: string]: unknown;
26374
- }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26566
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26375
26567
  [x: string]: unknown;
26376
26568
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26377
26569
  [x: string]: unknown;
26378
- }, 412, "application/json">>>;
26379
- /** Change personal information. */
26380
- updatePersonalInformation: (request: {
26570
+ }, 429, "application/json">>>;
26571
+ /** Store new or update poll settings. */
26572
+ postPollStatus: (request: {
26381
26573
  data: {
26382
- person: {
26383
- firstName: string;
26384
- lastName: string;
26385
- title?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsSalutation | undefined;
26386
- };
26574
+ status: "completed" | "muted" | "ignored";
26575
+ userId: string;
26387
26576
  };
26388
26577
  userId: string;
26389
26578
  headers?: {
26390
26579
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26391
- "x-access-token"?: string | undefined;
26392
26580
  } | undefined;
26393
26581
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26394
26582
  data: {
26395
- person: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsPerson;
26583
+ status: "completed" | "muted" | "ignored";
26584
+ userId: string;
26396
26585
  };
26397
26586
  } & {
26398
26587
  pathParameters: {
@@ -26402,19 +26591,23 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26402
26591
  headers?: Partial<{
26403
26592
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26404
26593
  }>;
26405
- } & {
26406
- headers: {
26407
- "x-access-token"?: string | undefined;
26408
- } & Partial<{
26409
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26410
- }>;
26411
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26594
+ }, import("@mittwald/api-client-commons").Response<{
26595
+ completedAt?: string | undefined;
26596
+ dontShowUntil?: string | undefined;
26597
+ ignoredAt?: string | undefined;
26598
+ shouldShow: boolean;
26599
+ status: "completed" | "muted" | "ignored" | "new";
26600
+ userId: string;
26601
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26412
26602
  [x: string]: unknown;
26413
26603
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26414
26604
  [x: string]: unknown;
26605
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26606
+ [x: string]: unknown;
26415
26607
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26416
26608
  data: {
26417
- person: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsPerson;
26609
+ status: "completed" | "muted" | "ignored";
26610
+ userId: string;
26418
26611
  };
26419
26612
  } & {
26420
26613
  pathParameters: {
@@ -26424,27 +26617,35 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26424
26617
  headers?: Partial<{
26425
26618
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26426
26619
  }>;
26427
- } & {
26428
- headers: {
26429
- "x-access-token"?: string | undefined;
26430
- } & Partial<{
26431
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26432
- }>;
26433
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26620
+ }, import("@mittwald/api-client-commons").Response<{
26621
+ completedAt?: string | undefined;
26622
+ dontShowUntil?: string | undefined;
26623
+ ignoredAt?: string | undefined;
26624
+ shouldShow: boolean;
26625
+ status: "completed" | "muted" | "ignored" | "new";
26626
+ userId: string;
26627
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26434
26628
  [x: string]: unknown;
26435
26629
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26436
26630
  [x: string]: unknown;
26631
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26632
+ [x: string]: unknown;
26437
26633
  }, 429, "application/json">>>;
26438
- /** Initialize Multi Factor Authentication. If successful, it needs to be confirmed, before usage of mfa. */
26439
- initMfa: (request?: {
26634
+ /** Get a specific session. */
26635
+ getSession: (request: {
26636
+ tokenId: string;
26440
26637
  headers?: {
26441
26638
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26442
26639
  "x-access-token"?: string | undefined;
26443
26640
  } | undefined;
26444
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26641
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26445
26642
  headers?: Partial<{
26446
26643
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26447
26644
  }>;
26645
+ } & {
26646
+ pathParameters: {
26647
+ tokenId: string;
26648
+ };
26448
26649
  } & {
26449
26650
  headers: {
26450
26651
  "x-access-token"?: string | undefined;
@@ -26452,18 +26653,23 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26452
26653
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26453
26654
  }>;
26454
26655
  }, import("@mittwald/api-client-commons").Response<{
26455
- type: "ValidationError";
26456
- message?: string | undefined;
26457
- validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
26458
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26459
- barcode: string;
26460
- url: string;
26656
+ created: string;
26657
+ device: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupDeviceInfo;
26658
+ lastAccess?: string | undefined;
26659
+ location?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupLocation | undefined;
26660
+ tokenId: string;
26461
26661
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26462
26662
  [x: string]: unknown;
26663
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26664
+ [x: string]: unknown;
26463
26665
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26464
26666
  headers?: Partial<{
26465
26667
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26466
26668
  }>;
26669
+ } & {
26670
+ pathParameters: {
26671
+ tokenId: string;
26672
+ };
26467
26673
  } & {
26468
26674
  headers: {
26469
26675
  "x-access-token"?: string | undefined;
@@ -26471,59 +26677,19 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26471
26677
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26472
26678
  }>;
26473
26679
  }, import("@mittwald/api-client-commons").Response<{
26474
- type: "ValidationError";
26475
- message?: string | undefined;
26476
- validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
26477
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26478
- barcode: string;
26479
- url: string;
26680
+ created: string;
26681
+ device: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupDeviceInfo;
26682
+ lastAccess?: string | undefined;
26683
+ location?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupLocation | undefined;
26684
+ tokenId: string;
26480
26685
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26481
26686
  [x: string]: unknown;
26482
- }, 429, "application/json">>>;
26483
- /** Initialize password reset process. */
26484
- initPasswordReset: (request: {
26485
- data: {
26486
- email: string;
26487
- };
26488
- headers?: {
26489
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26490
- } | undefined;
26491
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26492
- data: {
26493
- email: string;
26494
- };
26495
- } & {
26496
- headers?: Partial<{
26497
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26498
- }>;
26499
- }, import("@mittwald/api-client-commons").Response<{
26500
- type: "ValidationError";
26501
- message?: string | undefined;
26502
- validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
26503
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
26504
- [x: string]: unknown;
26505
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26506
- data: {
26507
- email: string;
26508
- };
26509
- } & {
26510
- headers?: Partial<{
26511
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26512
- }>;
26513
- }, import("@mittwald/api-client-commons").Response<{
26514
- type: "ValidationError";
26515
- message?: string | undefined;
26516
- validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
26517
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
26687
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26518
26688
  [x: string]: unknown;
26519
26689
  }, 429, "application/json">>>;
26520
- /** Submitted feedback of the given user. */
26521
- listFeedback: (request: {
26522
- userId: string;
26523
- queryParameters?: {
26524
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26525
- subject?: string | undefined;
26526
- } | undefined;
26690
+ /** Terminate a specific Session. */
26691
+ terminateSession: (request: {
26692
+ tokenId: string;
26527
26693
  headers?: {
26528
26694
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26529
26695
  "x-access-token"?: string | undefined;
@@ -26534,21 +26700,17 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26534
26700
  }>;
26535
26701
  } & {
26536
26702
  pathParameters: {
26537
- userId: string;
26703
+ tokenId: string;
26538
26704
  };
26539
- } & {
26540
- queryParameters: {
26541
- subject?: string | undefined;
26542
- } & Partial<{
26543
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26544
- }>;
26545
26705
  } & {
26546
26706
  headers: {
26547
26707
  "x-access-token"?: string | undefined;
26548
26708
  } & Partial<{
26549
26709
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26550
26710
  }>;
26551
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedback[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26711
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26712
+ [x: string]: unknown;
26713
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26552
26714
  [x: string]: unknown;
26553
26715
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26554
26716
  headers?: Partial<{
@@ -26556,88 +26718,90 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26556
26718
  }>;
26557
26719
  } & {
26558
26720
  pathParameters: {
26559
- userId: string;
26721
+ tokenId: string;
26560
26722
  };
26561
- } & {
26562
- queryParameters: {
26563
- subject?: string | undefined;
26564
- } & Partial<{
26565
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26566
- }>;
26567
26723
  } & {
26568
26724
  headers: {
26569
26725
  "x-access-token"?: string | undefined;
26570
26726
  } & Partial<{
26571
26727
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26572
26728
  }>;
26573
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedback[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26729
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26730
+ [x: string]: unknown;
26731
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26574
26732
  [x: string]: unknown;
26575
26733
  }, 429, "application/json">>>;
26576
- /** List all sessions. */
26577
- listSessions: (request?: {
26734
+ /** Submitted feedback of the given user. */
26735
+ getSpotlightInfo: (request: {
26736
+ spotlightId: string;
26578
26737
  headers?: {
26579
26738
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26580
26739
  "x-access-token"?: string | undefined;
26581
26740
  } | undefined;
26582
- queryParameters?: {
26583
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26584
- limit?: number | undefined;
26585
- skip?: number | undefined;
26586
- page?: number | undefined;
26587
- } | undefined;
26588
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26741
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26589
26742
  headers?: Partial<{
26590
26743
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26591
26744
  }>;
26592
26745
  } & {
26593
- queryParameters: {
26594
- limit?: number | undefined;
26595
- skip?: number | undefined;
26596
- page?: number | undefined;
26597
- } & Partial<{
26598
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26599
- }>;
26746
+ pathParameters: {
26747
+ spotlightId: string;
26748
+ };
26600
26749
  } & {
26601
26750
  headers: {
26602
26751
  "x-access-token"?: string | undefined;
26603
26752
  } & Partial<{
26604
26753
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26605
26754
  }>;
26606
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupUserSession[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26755
+ }, import("@mittwald/api-client-commons").Response<{
26756
+ acknowledged: boolean;
26757
+ decision?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedbackSpotlightDecision | undefined;
26758
+ spotlightId: string;
26759
+ used: boolean;
26760
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26607
26761
  [x: string]: unknown;
26608
26762
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26609
26763
  headers?: Partial<{
26610
26764
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26611
26765
  }>;
26612
26766
  } & {
26613
- queryParameters: {
26614
- limit?: number | undefined;
26615
- skip?: number | undefined;
26616
- page?: number | undefined;
26617
- } & Partial<{
26618
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26619
- }>;
26767
+ pathParameters: {
26768
+ spotlightId: string;
26769
+ };
26620
26770
  } & {
26621
26771
  headers: {
26622
26772
  "x-access-token"?: string | undefined;
26623
26773
  } & Partial<{
26624
26774
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26625
26775
  }>;
26626
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupUserSession[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26776
+ }, import("@mittwald/api-client-commons").Response<{
26777
+ acknowledged: boolean;
26778
+ decision?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedbackSpotlightDecision | undefined;
26779
+ spotlightId: string;
26780
+ used: boolean;
26781
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26627
26782
  [x: string]: unknown;
26628
26783
  }, 429, "application/json">>>;
26629
- /** Refresh a session. */
26630
- refreshSession: (request: {
26631
- data: {
26632
- refreshToken: string;
26633
- };
26784
+ /** Submit your usage of the spotlight. */
26785
+ spotlightUsage: (request: {
26786
+ spotlightId: string;
26787
+ data?: {
26788
+ acknowledged?: boolean | undefined;
26789
+ owner?: string | undefined;
26790
+ used?: boolean | undefined;
26791
+ } | undefined;
26634
26792
  headers?: {
26635
26793
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26636
26794
  "x-access-token"?: string | undefined;
26637
26795
  } | undefined;
26638
26796
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26639
26797
  data: {
26640
- refreshToken: string;
26798
+ acknowledged?: boolean | undefined;
26799
+ owner?: string | undefined;
26800
+ used?: boolean | undefined;
26801
+ };
26802
+ } & {
26803
+ pathParameters: {
26804
+ spotlightId: string;
26641
26805
  };
26642
26806
  } & {
26643
26807
  headers?: Partial<{
@@ -26649,17 +26813,17 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26649
26813
  } & Partial<{
26650
26814
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26651
26815
  }>;
26652
- }, import("@mittwald/api-client-commons").Response<{
26653
- expiresAt: string;
26654
- refreshToken: string;
26655
- token: string;
26656
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26657
- [x: string]: unknown;
26658
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26816
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26659
26817
  [x: string]: unknown;
26660
26818
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26661
26819
  data: {
26662
- refreshToken: string;
26820
+ acknowledged?: boolean | undefined;
26821
+ owner?: string | undefined;
26822
+ used?: boolean | undefined;
26823
+ };
26824
+ } & {
26825
+ pathParameters: {
26826
+ spotlightId: string;
26663
26827
  };
26664
26828
  } & {
26665
26829
  headers?: Partial<{
@@ -26671,219 +26835,217 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26671
26835
  } & Partial<{
26672
26836
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26673
26837
  }>;
26674
- }, import("@mittwald/api-client-commons").Response<{
26675
- expiresAt: string;
26676
- refreshToken: string;
26677
- token: string;
26678
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26679
- [x: string]: unknown;
26680
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26838
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26681
26839
  [x: string]: unknown;
26682
26840
  }, 429, "application/json">>>;
26683
- /** Terminate all sessions, except the current session. */
26684
- terminateAllSessions: (request?: {
26841
+ /** Get profile information for a user. */
26842
+ getUser: (request: {
26843
+ userId: string;
26685
26844
  headers?: {
26686
26845
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26687
26846
  "x-access-token"?: string | undefined;
26688
26847
  } | undefined;
26689
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26848
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26690
26849
  headers?: Partial<{
26691
26850
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26692
26851
  }>;
26693
26852
  } & {
26694
- headers: {
26695
- "x-access-token"?: string | undefined;
26696
- } & Partial<{
26697
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26698
- }>;
26699
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26700
- [x: string]: unknown;
26701
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26702
- headers?: Partial<{
26703
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26704
- }>;
26853
+ pathParameters: {
26854
+ userId: string;
26855
+ };
26705
26856
  } & {
26706
26857
  headers: {
26707
26858
  "x-access-token"?: string | undefined;
26708
26859
  } & Partial<{
26709
26860
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26710
26861
  }>;
26711
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26712
- [x: string]: unknown;
26713
- }, 429, "application/json">>>;
26714
- /** Terminate session and invalidate access token. */
26715
- logout: (request?: {
26716
- headers?: {
26717
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26718
- "x-access-token"?: string | undefined;
26862
+ }, import("@mittwald/api-client-commons").Response<{
26863
+ avatarRef?: string | undefined;
26864
+ customerMemberships?: {
26865
+ [k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserCustomerMembership;
26719
26866
  } | undefined;
26720
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26721
- headers?: Partial<{
26722
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26723
- }>;
26724
- } & {
26725
- headers: {
26726
- "x-access-token"?: string | undefined;
26727
- } & Partial<{
26728
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26729
- }>;
26730
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26731
- type: "ValidationError";
26732
- message?: string | undefined;
26733
- validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
26867
+ email?: string | undefined;
26868
+ employeeInformation?: {
26869
+ department: string;
26870
+ } | undefined;
26871
+ isEmployee?: boolean | undefined;
26872
+ mfa?: {
26873
+ active: boolean;
26874
+ setup: boolean;
26875
+ } | undefined;
26876
+ passwordUpdatedAt?: string | undefined;
26877
+ person: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsPerson;
26878
+ phoneNumber?: string | undefined;
26879
+ projectMemberships?: {
26880
+ [k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserProjectMembership;
26881
+ } | undefined;
26882
+ registeredAt?: string | undefined;
26883
+ userId: string;
26884
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26885
+ [x: string]: unknown;
26734
26886
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26735
26887
  [x: string]: unknown;
26736
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26888
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
26889
+ [x: string]: unknown;
26890
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26891
+ [x: string]: unknown;
26892
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26893
+ [x: string]: unknown;
26894
+ }, 412, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26737
26895
  headers?: Partial<{
26738
26896
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26739
26897
  }>;
26898
+ } & {
26899
+ pathParameters: {
26900
+ userId: string;
26901
+ };
26740
26902
  } & {
26741
26903
  headers: {
26742
26904
  "x-access-token"?: string | undefined;
26743
26905
  } & Partial<{
26744
26906
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26745
26907
  }>;
26746
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26747
- type: "ValidationError";
26748
- message?: string | undefined;
26749
- validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
26908
+ }, import("@mittwald/api-client-commons").Response<{
26909
+ avatarRef?: string | undefined;
26910
+ customerMemberships?: {
26911
+ [k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserCustomerMembership;
26912
+ } | undefined;
26913
+ email?: string | undefined;
26914
+ employeeInformation?: {
26915
+ department: string;
26916
+ } | undefined;
26917
+ isEmployee?: boolean | undefined;
26918
+ mfa?: {
26919
+ active: boolean;
26920
+ setup: boolean;
26921
+ } | undefined;
26922
+ passwordUpdatedAt?: string | undefined;
26923
+ person: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsPerson;
26924
+ phoneNumber?: string | undefined;
26925
+ projectMemberships?: {
26926
+ [k: string]: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserProjectMembership;
26927
+ } | undefined;
26928
+ registeredAt?: string | undefined;
26929
+ userId: string;
26930
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26931
+ [x: string]: unknown;
26750
26932
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26751
26933
  [x: string]: unknown;
26752
- }, 429, "application/json">>>;
26753
- /** Obtain authorization from the resource owner. */
26754
- oauthGetAuthorization: (request: {
26755
- queryParameters: {
26756
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26757
- response_type: "code";
26758
- client_id: string;
26759
- grant_consent?: boolean | undefined;
26760
- grant_type?: "authorization_code" | undefined;
26761
- redirect_uri?: string | undefined;
26762
- scope?: string | undefined;
26763
- state?: string | undefined;
26764
- code_challenge?: string | undefined;
26765
- code_challenge_method?: "S256" | undefined;
26934
+ }, 401, "application/json"> | import("@mittwald/api-client-commons").Response<{
26935
+ [x: string]: unknown;
26936
+ }, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
26937
+ [x: string]: unknown;
26938
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
26939
+ [x: string]: unknown;
26940
+ }, 412, "application/json">>>;
26941
+ /** Change personal information. */
26942
+ updatePersonalInformation: (request: {
26943
+ data: {
26944
+ person: {
26945
+ firstName: string;
26946
+ lastName: string;
26947
+ title?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsSalutation | undefined;
26948
+ };
26766
26949
  };
26950
+ userId: string;
26767
26951
  headers?: {
26768
26952
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26953
+ "x-access-token"?: string | undefined;
26769
26954
  } | undefined;
26770
26955
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26956
+ data: {
26957
+ person: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsPerson;
26958
+ };
26959
+ } & {
26960
+ pathParameters: {
26961
+ userId: string;
26962
+ };
26963
+ } & {
26771
26964
  headers?: Partial<{
26772
26965
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26773
26966
  }>;
26774
26967
  } & {
26775
- queryParameters: {
26776
- grant_consent?: boolean | undefined;
26777
- grant_type?: "authorization_code" | undefined;
26778
- response_type: "code";
26779
- client_id: string;
26780
- redirect_uri?: string | undefined;
26781
- scope?: string | undefined;
26782
- state?: string | undefined;
26783
- code_challenge?: string | undefined;
26784
- code_challenge_method?: "S256" | undefined;
26968
+ headers: {
26969
+ "x-access-token"?: string | undefined;
26785
26970
  } & Partial<{
26786
26971
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26787
26972
  }>;
26788
- }, import("@mittwald/api-client-commons").Response<{}, 302, "empty"> | import("@mittwald/api-client-commons").Response<{
26789
- error: "invalid_request";
26790
- error_description?: string | undefined;
26973
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26974
+ [x: string]: unknown;
26791
26975
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26792
26976
  [x: string]: unknown;
26793
26977
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26978
+ data: {
26979
+ person: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsPerson;
26980
+ };
26981
+ } & {
26982
+ pathParameters: {
26983
+ userId: string;
26984
+ };
26985
+ } & {
26794
26986
  headers?: Partial<{
26795
26987
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26796
26988
  }>;
26797
26989
  } & {
26798
- queryParameters: {
26799
- grant_consent?: boolean | undefined;
26800
- grant_type?: "authorization_code" | undefined;
26801
- response_type: "code";
26802
- client_id: string;
26803
- redirect_uri?: string | undefined;
26804
- scope?: string | undefined;
26805
- state?: string | undefined;
26806
- code_challenge?: string | undefined;
26807
- code_challenge_method?: "S256" | undefined;
26990
+ headers: {
26991
+ "x-access-token"?: string | undefined;
26808
26992
  } & Partial<{
26809
26993
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26810
26994
  }>;
26811
- }, import("@mittwald/api-client-commons").Response<{}, 302, "empty"> | import("@mittwald/api-client-commons").Response<{
26812
- error: "invalid_request";
26813
- error_description?: string | undefined;
26995
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
26996
+ [x: string]: unknown;
26814
26997
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26815
26998
  [x: string]: unknown;
26816
26999
  }, 429, "application/json">>>;
26817
- /** Retrieve an OAuth access token. */
26818
- oauthRetrieveAccessToken: (request?: {
26819
- data?: {
26820
- [x: string]: unknown;
26821
- } | undefined;
27000
+ /** Initialize Multi Factor Authentication. If successful, it needs to be confirmed, before usage of mfa. */
27001
+ initMfa: (request?: {
26822
27002
  headers?: {
26823
27003
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26824
- Authorization?: string | undefined;
27004
+ "x-access-token"?: string | undefined;
26825
27005
  } | undefined;
26826
27006
  } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26827
- data: {
26828
- [x: string]: unknown;
26829
- };
26830
- } & {
26831
27007
  headers?: Partial<{
26832
27008
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26833
27009
  }>;
26834
27010
  } & {
26835
27011
  headers: {
26836
- Authorization?: string | undefined;
27012
+ "x-access-token"?: string | undefined;
26837
27013
  } & Partial<{
26838
27014
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26839
27015
  }>;
26840
27016
  }, import("@mittwald/api-client-commons").Response<{
26841
- access_token: string;
26842
- expires_in: number;
26843
- refresh_token: string;
26844
- scope?: string | undefined;
26845
- token_type: "bearer";
26846
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26847
- error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
26848
- error_description?: string | undefined;
27017
+ type: "ValidationError";
27018
+ message?: string | undefined;
27019
+ validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
26849
27020
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27021
+ barcode: string;
27022
+ url: string;
27023
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26850
27024
  [x: string]: unknown;
26851
27025
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26852
- data: {
26853
- [x: string]: unknown;
26854
- };
26855
- } & {
26856
27026
  headers?: Partial<{
26857
27027
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26858
27028
  }>;
26859
27029
  } & {
26860
27030
  headers: {
26861
- Authorization?: string | undefined;
27031
+ "x-access-token"?: string | undefined;
26862
27032
  } & Partial<{
26863
27033
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26864
27034
  }>;
26865
27035
  }, import("@mittwald/api-client-commons").Response<{
26866
- access_token: string;
26867
- expires_in: number;
26868
- refresh_token: string;
26869
- scope?: string | undefined;
26870
- token_type: "bearer";
26871
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26872
- error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
26873
- error_description?: string | undefined;
27036
+ type: "ValidationError";
27037
+ message?: string | undefined;
27038
+ validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
26874
27039
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27040
+ barcode: string;
27041
+ url: string;
27042
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26875
27043
  [x: string]: unknown;
26876
27044
  }, 429, "application/json">>>;
26877
- /** Register with email and password. */
26878
- register: (request: {
27045
+ /** Initialize password reset process. */
27046
+ initPasswordReset: (request: {
26879
27047
  data: {
26880
27048
  email: string;
26881
- password: string;
26882
- person: {
26883
- firstName: string;
26884
- lastName: string;
26885
- title?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsSalutation | undefined;
26886
- };
26887
27049
  };
26888
27050
  headers?: {
26889
27051
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
@@ -26891,8 +27053,6 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26891
27053
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26892
27054
  data: {
26893
27055
  email: string;
26894
- password: string;
26895
- person: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsPerson;
26896
27056
  };
26897
27057
  } & {
26898
27058
  headers?: Partial<{
@@ -26902,15 +27062,11 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26902
27062
  type: "ValidationError";
26903
27063
  message?: string | undefined;
26904
27064
  validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
26905
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26906
- userId: string;
26907
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
27065
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
26908
27066
  [x: string]: unknown;
26909
27067
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26910
27068
  data: {
26911
27069
  email: string;
26912
- password: string;
26913
- person: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsPerson;
26914
27070
  };
26915
27071
  } & {
26916
27072
  headers?: Partial<{
@@ -26920,14 +27076,16 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26920
27076
  type: "ValidationError";
26921
27077
  message?: string | undefined;
26922
27078
  validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
26923
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26924
- userId: string;
26925
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
27079
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
26926
27080
  [x: string]: unknown;
26927
27081
  }, 429, "application/json">>>;
26928
- /** Request a new avatar image upload. */
26929
- requestAvatarUpload: (request: {
27082
+ /** Submitted feedback of the given user. */
27083
+ listFeedback: (request: {
26930
27084
  userId: string;
27085
+ queryParameters?: {
27086
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27087
+ subject?: string | undefined;
27088
+ } | undefined;
26931
27089
  headers?: {
26932
27090
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26933
27091
  "x-access-token"?: string | undefined;
@@ -26940,34 +27098,19 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26940
27098
  pathParameters: {
26941
27099
  userId: string;
26942
27100
  };
27101
+ } & {
27102
+ queryParameters: {
27103
+ subject?: string | undefined;
27104
+ } & Partial<{
27105
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27106
+ }>;
26943
27107
  } & {
26944
27108
  headers: {
26945
27109
  "x-access-token"?: string | undefined;
26946
27110
  } & Partial<{
26947
27111
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26948
27112
  }>;
26949
- }, import("@mittwald/api-client-commons").Response<{
26950
- refId: string;
26951
- rules: {
26952
- maxSizeInBytes: number;
26953
- maxSizeInKB: number;
26954
- mimeTypes: string[];
26955
- properties?: {
26956
- imageDimensions?: {
26957
- max?: {
26958
- height?: number;
26959
- width?: number;
26960
- };
26961
- min?: {
26962
- height?: number;
26963
- width?: number;
26964
- };
26965
- };
26966
- };
26967
- };
26968
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26969
- [x: string]: unknown;
26970
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27113
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedback[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26971
27114
  [x: string]: unknown;
26972
27115
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26973
27116
  headers?: Partial<{
@@ -26977,178 +27120,86 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
26977
27120
  pathParameters: {
26978
27121
  userId: string;
26979
27122
  };
27123
+ } & {
27124
+ queryParameters: {
27125
+ subject?: string | undefined;
27126
+ } & Partial<{
27127
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27128
+ }>;
26980
27129
  } & {
26981
27130
  headers: {
26982
27131
  "x-access-token"?: string | undefined;
26983
27132
  } & Partial<{
26984
27133
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26985
27134
  }>;
26986
- }, import("@mittwald/api-client-commons").Response<{
26987
- refId: string;
26988
- rules: {
26989
- maxSizeInBytes: number;
26990
- maxSizeInKB: number;
26991
- mimeTypes: string[];
26992
- properties?: {
26993
- imageDimensions?: {
26994
- max?: {
26995
- height?: number;
26996
- width?: number;
26997
- };
26998
- min?: {
26999
- height?: number;
27000
- width?: number;
27001
- };
27002
- };
27003
- };
27004
- };
27005
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27006
- [x: string]: unknown;
27007
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27135
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedback[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27008
27136
  [x: string]: unknown;
27009
27137
  }, 429, "application/json">>>;
27010
- /** Remove Avatar. */
27011
- removeAvatar: (request: {
27012
- userId: string;
27138
+ /** List all sessions. */
27139
+ listSessions: (request?: {
27013
27140
  headers?: {
27014
27141
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27015
27142
  "x-access-token"?: string | undefined;
27016
27143
  } | undefined;
27017
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27144
+ queryParameters?: {
27145
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27146
+ limit?: number | undefined;
27147
+ skip?: number | undefined;
27148
+ page?: number | undefined;
27149
+ } | undefined;
27150
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27018
27151
  headers?: Partial<{
27019
27152
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27020
27153
  }>;
27021
27154
  } & {
27022
- pathParameters: {
27023
- userId: string;
27024
- };
27025
- } & {
27026
- headers: {
27027
- "x-access-token"?: string | undefined;
27155
+ queryParameters: {
27156
+ limit?: number | undefined;
27157
+ skip?: number | undefined;
27158
+ page?: number | undefined;
27028
27159
  } & Partial<{
27029
27160
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27030
27161
  }>;
27031
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27032
- [x: string]: unknown;
27033
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27034
- [x: string]: unknown;
27035
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27036
- headers?: Partial<{
27037
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27038
- }>;
27039
- } & {
27040
- pathParameters: {
27041
- userId: string;
27042
- };
27043
27162
  } & {
27044
27163
  headers: {
27045
27164
  "x-access-token"?: string | undefined;
27046
27165
  } & Partial<{
27047
27166
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27048
27167
  }>;
27049
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27050
- [x: string]: unknown;
27051
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27052
- [x: string]: unknown;
27053
- }, 429, "application/json">>>;
27054
- /** Resend the Email-Address verification email. */
27055
- resendVerificationEmail: (request: {
27056
- data: {
27057
- email: string;
27058
- userId: string;
27059
- };
27060
- headers?: {
27061
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27062
- } | undefined;
27063
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27064
- data: {
27065
- email: string;
27066
- userId: string;
27067
- };
27068
- } & {
27069
- headers?: Partial<{
27070
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27071
- }>;
27072
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27073
- type: "ValidationError";
27074
- message?: string | undefined;
27075
- validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
27076
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27077
- message: string;
27078
- type: string;
27079
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27168
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupUserSession[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27080
27169
  [x: string]: unknown;
27081
27170
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27082
- data: {
27083
- email: string;
27084
- userId: string;
27085
- };
27086
- } & {
27087
27171
  headers?: Partial<{
27088
27172
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27089
27173
  }>;
27090
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27091
- type: "ValidationError";
27092
- message?: string | undefined;
27093
- validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
27094
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27095
- message: string;
27096
- type: string;
27097
- }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27098
- [x: string]: unknown;
27099
- }, 429, "application/json">>>;
27100
- /** Check if a password is leaked. */
27101
- searchedLeakedPasswordsByRange: (request: {
27102
- passwordHashPrefix: string;
27103
- headers?: {
27104
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27105
- } | undefined;
27106
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27107
- headers?: Partial<{
27174
+ } & {
27175
+ queryParameters: {
27176
+ limit?: number | undefined;
27177
+ skip?: number | undefined;
27178
+ page?: number | undefined;
27179
+ } & Partial<{
27108
27180
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27109
27181
  }>;
27110
27182
  } & {
27111
- pathParameters: {
27112
- passwordHashPrefix: string;
27113
- };
27114
- }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27115
- [x: string]: unknown;
27116
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27117
- [x: string]: unknown;
27118
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27119
- headers?: Partial<{
27183
+ headers: {
27184
+ "x-access-token"?: string | undefined;
27185
+ } & Partial<{
27120
27186
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27121
27187
  }>;
27122
- } & {
27123
- pathParameters: {
27124
- passwordHashPrefix: string;
27125
- };
27126
- }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27127
- [x: string]: unknown;
27128
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27188
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupUserSession[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27129
27189
  [x: string]: unknown;
27130
27190
  }, 429, "application/json">>>;
27131
- /** Submit your spotlight usage. */
27132
- spotlightFeedback: (request: {
27191
+ /** Refresh a session. */
27192
+ refreshSession: (request: {
27133
27193
  data: {
27134
- decision: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedbackSpotlightDecision;
27135
- message?: string | undefined;
27136
- owner?: string | undefined;
27194
+ refreshToken: string;
27137
27195
  };
27138
- spotlightId: string;
27139
27196
  headers?: {
27140
27197
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27141
27198
  "x-access-token"?: string | undefined;
27142
27199
  } | undefined;
27143
27200
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27144
27201
  data: {
27145
- decision: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedbackSpotlightDecision;
27146
- message?: string | undefined;
27147
- owner?: string | undefined;
27148
- };
27149
- } & {
27150
- pathParameters: {
27151
- spotlightId: string;
27202
+ refreshToken: string;
27152
27203
  };
27153
27204
  } & {
27154
27205
  headers?: Partial<{
@@ -27160,17 +27211,17 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27160
27211
  } & Partial<{
27161
27212
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27162
27213
  }>;
27163
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27214
+ }, import("@mittwald/api-client-commons").Response<{
27215
+ expiresAt: string;
27216
+ refreshToken: string;
27217
+ token: string;
27218
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27219
+ [x: string]: unknown;
27220
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27164
27221
  [x: string]: unknown;
27165
27222
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27166
27223
  data: {
27167
- decision: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedbackSpotlightDecision;
27168
- message?: string | undefined;
27169
- owner?: string | undefined;
27170
- };
27171
- } & {
27172
- pathParameters: {
27173
- spotlightId: string;
27224
+ refreshToken: string;
27174
27225
  };
27175
27226
  } & {
27176
27227
  headers?: Partial<{
@@ -27182,78 +27233,53 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27182
27233
  } & Partial<{
27183
27234
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27184
27235
  }>;
27185
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27236
+ }, import("@mittwald/api-client-commons").Response<{
27237
+ expiresAt: string;
27238
+ refreshToken: string;
27239
+ token: string;
27240
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27241
+ [x: string]: unknown;
27242
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27186
27243
  [x: string]: unknown;
27187
27244
  }, 429, "application/json">>>;
27188
- /** Request a support code. */
27189
- supportCodeRequest: (request?: {
27245
+ /** Terminate all sessions, except the current session. */
27246
+ terminateAllSessions: (request?: {
27190
27247
  headers?: {
27191
27248
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27192
27249
  "x-access-token"?: string | undefined;
27193
27250
  } | undefined;
27194
- queryParameters?: {
27195
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27196
- forceRecreate?: boolean | undefined;
27197
- } | undefined;
27198
27251
  } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27199
27252
  headers?: Partial<{
27200
27253
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27201
27254
  }>;
27202
- } & {
27203
- queryParameters: {
27204
- forceRecreate?: boolean | undefined;
27205
- } & Partial<{
27206
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27207
- }>;
27208
27255
  } & {
27209
27256
  headers: {
27210
27257
  "x-access-token"?: string | undefined;
27211
27258
  } & Partial<{
27212
27259
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27213
27260
  }>;
27214
- }, import("@mittwald/api-client-commons").Response<{
27215
- expiresAt: string;
27216
- supportCode: string;
27217
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27261
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27218
27262
  [x: string]: unknown;
27219
27263
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27220
27264
  headers?: Partial<{
27221
27265
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27222
27266
  }>;
27223
- } & {
27224
- queryParameters: {
27225
- forceRecreate?: boolean | undefined;
27226
- } & Partial<{
27227
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27228
- }>;
27229
27267
  } & {
27230
27268
  headers: {
27231
27269
  "x-access-token"?: string | undefined;
27232
27270
  } & Partial<{
27233
27271
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27234
27272
  }>;
27235
- }, import("@mittwald/api-client-commons").Response<{
27236
- expiresAt: string;
27237
- supportCode: string;
27238
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27273
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27239
27274
  [x: string]: unknown;
27240
27275
  }, 429, "application/json">>>;
27241
- /** Verify an added Email-Address. */
27242
- verifyEmail: (request: {
27243
- data: {
27244
- email: string;
27245
- token?: string | undefined;
27246
- };
27276
+ /** Terminate session and invalidate access token. */
27277
+ logout: (request?: {
27247
27278
  headers?: {
27248
27279
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27249
27280
  "x-access-token"?: string | undefined;
27250
27281
  } | undefined;
27251
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27252
- data: {
27253
- email: string;
27254
- token?: string | undefined;
27255
- };
27256
- } & {
27282
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27257
27283
  headers?: Partial<{
27258
27284
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27259
27285
  }>;
@@ -27269,14 +27295,7 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27269
27295
  validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
27270
27296
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27271
27297
  [x: string]: unknown;
27272
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27273
- [x: string]: unknown;
27274
27298
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27275
- data: {
27276
- email: string;
27277
- token?: string | undefined;
27278
- };
27279
- } & {
27280
27299
  headers?: Partial<{
27281
27300
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27282
27301
  }>;
@@ -27292,28 +27311,83 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27292
27311
  validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
27293
27312
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27294
27313
  [x: string]: unknown;
27295
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27296
- [x: string]: unknown;
27297
27314
  }, 429, "application/json">>>;
27298
- /** Verify phone number. */
27299
- verifyPhoneNumber: (request: {
27300
- data: {
27301
- code: string;
27302
- phoneNumber: string;
27315
+ /** Obtain authorization from the resource owner. */
27316
+ oauthGetAuthorization: (request: {
27317
+ queryParameters: {
27318
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27319
+ response_type: "code";
27320
+ client_id: string;
27321
+ grant_consent?: boolean | undefined;
27322
+ grant_type?: "authorization_code" | undefined;
27323
+ redirect_uri?: string | undefined;
27324
+ scope?: string | undefined;
27325
+ state?: string | undefined;
27326
+ code_challenge?: string | undefined;
27327
+ code_challenge_method?: "S256" | undefined;
27303
27328
  };
27304
- userId: string;
27305
27329
  headers?: {
27306
27330
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27307
- "x-access-token"?: string | undefined;
27308
27331
  } | undefined;
27309
27332
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27310
- data: {
27311
- code: string;
27312
- phoneNumber: string;
27313
- };
27333
+ headers?: Partial<{
27334
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27335
+ }>;
27314
27336
  } & {
27315
- pathParameters: {
27316
- userId: string;
27337
+ queryParameters: {
27338
+ grant_consent?: boolean | undefined;
27339
+ grant_type?: "authorization_code" | undefined;
27340
+ response_type: "code";
27341
+ client_id: string;
27342
+ redirect_uri?: string | undefined;
27343
+ scope?: string | undefined;
27344
+ state?: string | undefined;
27345
+ code_challenge?: string | undefined;
27346
+ code_challenge_method?: "S256" | undefined;
27347
+ } & Partial<{
27348
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27349
+ }>;
27350
+ }, import("@mittwald/api-client-commons").Response<{}, 302, "empty"> | import("@mittwald/api-client-commons").Response<{
27351
+ error: "invalid_request";
27352
+ error_description?: string | undefined;
27353
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27354
+ [x: string]: unknown;
27355
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27356
+ headers?: Partial<{
27357
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27358
+ }>;
27359
+ } & {
27360
+ queryParameters: {
27361
+ grant_consent?: boolean | undefined;
27362
+ grant_type?: "authorization_code" | undefined;
27363
+ response_type: "code";
27364
+ client_id: string;
27365
+ redirect_uri?: string | undefined;
27366
+ scope?: string | undefined;
27367
+ state?: string | undefined;
27368
+ code_challenge?: string | undefined;
27369
+ code_challenge_method?: "S256" | undefined;
27370
+ } & Partial<{
27371
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27372
+ }>;
27373
+ }, import("@mittwald/api-client-commons").Response<{}, 302, "empty"> | import("@mittwald/api-client-commons").Response<{
27374
+ error: "invalid_request";
27375
+ error_description?: string | undefined;
27376
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27377
+ [x: string]: unknown;
27378
+ }, 429, "application/json">>>;
27379
+ /** Retrieve an OAuth access token. */
27380
+ oauthRetrieveAccessToken: (request?: {
27381
+ data?: {
27382
+ [x: string]: unknown;
27383
+ } | undefined;
27384
+ headers?: {
27385
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27386
+ Authorization?: string | undefined;
27387
+ } | undefined;
27388
+ } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27389
+ data: {
27390
+ [x: string]: unknown;
27317
27391
  };
27318
27392
  } & {
27319
27393
  headers?: Partial<{
@@ -27321,26 +27395,24 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27321
27395
  }>;
27322
27396
  } & {
27323
27397
  headers: {
27324
- "x-access-token"?: string | undefined;
27398
+ Authorization?: string | undefined;
27325
27399
  } & Partial<{
27326
27400
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27327
27401
  }>;
27328
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27329
- [x: string]: unknown;
27402
+ }, import("@mittwald/api-client-commons").Response<{
27403
+ access_token: string;
27404
+ expires_in: number;
27405
+ refresh_token: string;
27406
+ scope?: string | undefined;
27407
+ token_type: "bearer";
27408
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27409
+ error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
27410
+ error_description?: string | undefined;
27330
27411
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27331
27412
  [x: string]: unknown;
27332
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27333
- [x: string]: unknown;
27334
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
27335
- [x: string]: unknown;
27336
27413
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27337
27414
  data: {
27338
- code: string;
27339
- phoneNumber: string;
27340
- };
27341
- } & {
27342
- pathParameters: {
27343
- userId: string;
27415
+ [x: string]: unknown;
27344
27416
  };
27345
27417
  } & {
27346
27418
  headers?: Partial<{
@@ -27348,25 +27420,32 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27348
27420
  }>;
27349
27421
  } & {
27350
27422
  headers: {
27351
- "x-access-token"?: string | undefined;
27423
+ Authorization?: string | undefined;
27352
27424
  } & Partial<{
27353
27425
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27354
27426
  }>;
27355
- }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27356
- [x: string]: unknown;
27427
+ }, import("@mittwald/api-client-commons").Response<{
27428
+ access_token: string;
27429
+ expires_in: number;
27430
+ refresh_token: string;
27431
+ scope?: string | undefined;
27432
+ token_type: "bearer";
27433
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27434
+ error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
27435
+ error_description?: string | undefined;
27357
27436
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27358
27437
  [x: string]: unknown;
27359
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27360
- [x: string]: unknown;
27361
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
27362
- [x: string]: unknown;
27363
27438
  }, 429, "application/json">>>;
27364
- /** Verify your registration. */
27365
- verifyRegistration: (request: {
27439
+ /** Register with email and password. */
27440
+ register: (request: {
27366
27441
  data: {
27367
27442
  email: string;
27368
- token: string;
27369
- userId: string;
27443
+ password: string;
27444
+ person: {
27445
+ firstName: string;
27446
+ lastName: string;
27447
+ title?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsSalutation | undefined;
27448
+ };
27370
27449
  };
27371
27450
  headers?: {
27372
27451
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
@@ -27374,8 +27453,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27374
27453
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27375
27454
  data: {
27376
27455
  email: string;
27377
- token: string;
27378
- userId: string;
27456
+ password: string;
27457
+ person: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsPerson;
27379
27458
  };
27380
27459
  } & {
27381
27460
  headers?: Partial<{
@@ -27385,15 +27464,15 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27385
27464
  type: "ValidationError";
27386
27465
  message?: string | undefined;
27387
27466
  validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
27388
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27389
- [x: string]: unknown;
27390
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27467
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27468
+ userId: string;
27469
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
27391
27470
  [x: string]: unknown;
27392
27471
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27393
27472
  data: {
27394
27473
  email: string;
27395
- token: string;
27396
- userId: string;
27474
+ password: string;
27475
+ person: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsPerson;
27397
27476
  };
27398
27477
  } & {
27399
27478
  headers?: Partial<{
@@ -27403,162 +27482,155 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27403
27482
  type: "ValidationError";
27404
27483
  message?: string | undefined;
27405
27484
  validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
27406
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27407
- [x: string]: unknown;
27408
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27485
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27486
+ userId: string;
27487
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
27409
27488
  [x: string]: unknown;
27410
27489
  }, 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
- };
27490
+ /** Request a new avatar image upload. */
27491
+ requestAvatarUpload: (request: {
27492
+ userId: string;
27429
27493
  headers?: {
27430
27494
  [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;
27495
+ "x-access-token"?: string | undefined;
27435
27496
  } | undefined;
27436
27497
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27437
- data: {
27438
- challengeId: string;
27439
- credential: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyAuthenticationResponse;
27440
- };
27441
- } & {
27442
27498
  headers?: Partial<{
27443
27499
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27444
27500
  }>;
27445
27501
  } & {
27446
- queryParameters: {
27447
- cookieOnly?: boolean | undefined;
27502
+ pathParameters: {
27503
+ userId: string;
27504
+ };
27505
+ } & {
27506
+ headers: {
27507
+ "x-access-token"?: string | undefined;
27448
27508
  } & Partial<{
27449
27509
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27450
27510
  }>;
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").MittwaldAPIV3Next.Paths.V3NextAuthenticatePasskey.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27511
+ }, import("@mittwald/api-client-commons").Response<{
27512
+ refId: string;
27513
+ rules: {
27514
+ maxSizeInBytes: number;
27515
+ maxSizeInKB: number;
27516
+ mimeTypes: string[];
27517
+ properties?: {
27518
+ imageDimensions?: {
27519
+ max?: {
27520
+ height?: number;
27521
+ width?: number;
27522
+ };
27523
+ min?: {
27524
+ height?: number;
27525
+ width?: number;
27526
+ };
27527
+ };
27528
+ };
27529
+ };
27530
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27456
27531
  [x: string]: unknown;
27457
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27532
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27458
27533
  [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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyAuthenticationResponse;
27463
- };
27464
- } & {
27534
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27465
27535
  headers?: Partial<{
27466
27536
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27467
27537
  }>;
27468
27538
  } & {
27469
- queryParameters: {
27470
- cookieOnly?: boolean | undefined;
27539
+ pathParameters: {
27540
+ userId: string;
27541
+ };
27542
+ } & {
27543
+ headers: {
27544
+ "x-access-token"?: string | undefined;
27471
27545
  } & Partial<{
27472
27546
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27473
27547
  }>;
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").MittwaldAPIV3Next.Paths.V3NextAuthenticatePasskey.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27548
+ }, import("@mittwald/api-client-commons").Response<{
27549
+ refId: string;
27550
+ rules: {
27551
+ maxSizeInBytes: number;
27552
+ maxSizeInKB: number;
27553
+ mimeTypes: string[];
27554
+ properties?: {
27555
+ imageDimensions?: {
27556
+ max?: {
27557
+ height?: number;
27558
+ width?: number;
27559
+ };
27560
+ min?: {
27561
+ height?: number;
27562
+ width?: number;
27563
+ };
27564
+ };
27565
+ };
27566
+ };
27567
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27479
27568
  [x: string]: unknown;
27480
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27569
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27481
27570
  [x: string]: unknown;
27482
- }, 500, "application/json">>>;
27483
- /** Create a challenge for a passkey login. */
27484
- createPasskeyChallenge: (request?: {
27571
+ }, 429, "application/json">>>;
27572
+ /** Remove Avatar. */
27573
+ removeAvatar: (request: {
27574
+ userId: string;
27485
27575
  headers?: {
27486
27576
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27577
+ "x-access-token"?: string | undefined;
27487
27578
  } | undefined;
27488
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27579
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27489
27580
  headers?: Partial<{
27490
27581
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27491
27582
  }>;
27492
- }, import("@mittwald/api-client-commons").Response<{
27493
- challengeId: string;
27494
- options: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyRequestOptions;
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<{
27583
+ } & {
27584
+ pathParameters: {
27585
+ userId: string;
27586
+ };
27587
+ } & {
27588
+ headers: {
27589
+ "x-access-token"?: string | undefined;
27590
+ } & Partial<{
27591
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27592
+ }>;
27593
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27499
27594
  [x: string]: unknown;
27500
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27595
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27501
27596
  [x: string]: unknown;
27502
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27597
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27503
27598
  headers?: Partial<{
27504
27599
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27505
27600
  }>;
27506
- }, import("@mittwald/api-client-commons").Response<{
27507
- challengeId: string;
27508
- options: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyRequestOptions;
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<{
27601
+ } & {
27602
+ pathParameters: {
27603
+ userId: string;
27604
+ };
27605
+ } & {
27606
+ headers: {
27607
+ "x-access-token"?: string | undefined;
27608
+ } & Partial<{
27609
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27610
+ }>;
27611
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27513
27612
  [x: string]: unknown;
27514
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27613
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27515
27614
  [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;
27615
+ }, 429, "application/json">>>;
27616
+ /** Resend the Email-Address verification email. */
27617
+ resendVerificationEmail: (request: {
27618
+ data: {
27619
+ email: string;
27620
+ userId: string;
27621
+ };
27539
27622
  headers?: {
27540
27623
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27541
- "x-access-token"?: string | undefined;
27542
27624
  } | undefined;
27543
27625
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27544
27626
  data: {
27545
- multiFactorCode?: string | undefined;
27546
- passkeyCredential?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential | undefined;
27547
- };
27548
- } & {
27549
- pathParameters: {
27550
- passkeyId: string;
27627
+ email: string;
27628
+ userId: string;
27551
27629
  };
27552
27630
  } & {
27553
27631
  headers?: Partial<{
27554
27632
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27555
27633
  }>;
27556
- } & {
27557
- headers: {
27558
- "x-access-token"?: string | undefined;
27559
- } & Partial<{
27560
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27561
- }>;
27562
27634
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27563
27635
  type: "ValidationError";
27564
27636
  message?: string | undefined;
@@ -27566,29 +27638,17 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27566
27638
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27567
27639
  message: string;
27568
27640
  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<{
27641
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27572
27642
  [x: string]: unknown;
27573
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27643
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27574
27644
  data: {
27575
- multiFactorCode?: string | undefined;
27576
- passkeyCredential?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential | undefined;
27577
- };
27578
- } & {
27579
- pathParameters: {
27580
- passkeyId: string;
27645
+ email: string;
27646
+ userId: string;
27581
27647
  };
27582
27648
  } & {
27583
27649
  headers?: Partial<{
27584
27650
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27585
27651
  }>;
27586
- } & {
27587
- headers: {
27588
- "x-access-token"?: string | undefined;
27589
- } & Partial<{
27590
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27591
- }>;
27592
27652
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27593
27653
  type: "ValidationError";
27594
27654
  message?: string | undefined;
@@ -27596,28 +27656,61 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27596
27656
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27597
27657
  message: string;
27598
27658
  type: string;
27599
- }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27659
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
27600
27660
  [x: string]: unknown;
27601
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27661
+ }, 429, "application/json">>>;
27662
+ /** Check if a password is leaked. */
27663
+ searchedLeakedPasswordsByRange: (request: {
27664
+ passwordHashPrefix: string;
27665
+ headers?: {
27666
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27667
+ } | undefined;
27668
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27669
+ headers?: Partial<{
27670
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27671
+ }>;
27672
+ } & {
27673
+ pathParameters: {
27674
+ passwordHashPrefix: string;
27675
+ };
27676
+ }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27602
27677
  [x: string]: unknown;
27603
- }, 500, "application/json">>>;
27604
- /** Rename a passkey. */
27605
- updatePasskey: (request: {
27678
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27679
+ [x: string]: unknown;
27680
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27681
+ headers?: Partial<{
27682
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27683
+ }>;
27684
+ } & {
27685
+ pathParameters: {
27686
+ passwordHashPrefix: string;
27687
+ };
27688
+ }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27689
+ [x: string]: unknown;
27690
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27691
+ [x: string]: unknown;
27692
+ }, 429, "application/json">>>;
27693
+ /** Submit your spotlight usage. */
27694
+ spotlightFeedback: (request: {
27606
27695
  data: {
27607
- name: string;
27696
+ decision: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedbackSpotlightDecision;
27697
+ message?: string | undefined;
27698
+ owner?: string | undefined;
27608
27699
  };
27609
- passkeyId: string;
27700
+ spotlightId: string;
27610
27701
  headers?: {
27611
27702
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27612
27703
  "x-access-token"?: string | undefined;
27613
27704
  } | undefined;
27614
27705
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27615
27706
  data: {
27616
- name: string;
27707
+ decision: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedbackSpotlightDecision;
27708
+ message?: string | undefined;
27709
+ owner?: string | undefined;
27617
27710
  };
27618
27711
  } & {
27619
27712
  pathParameters: {
27620
- passkeyId: string;
27713
+ spotlightId: string;
27621
27714
  };
27622
27715
  } & {
27623
27716
  headers?: Partial<{
@@ -27630,21 +27723,16 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27630
27723
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27631
27724
  }>;
27632
27725
  }, 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
27726
  [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<{
27727
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27642
27728
  data: {
27643
- name: string;
27729
+ decision: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldUserUserFeedbackSpotlightDecision;
27730
+ message?: string | undefined;
27731
+ owner?: string | undefined;
27644
27732
  };
27645
27733
  } & {
27646
27734
  pathParameters: {
27647
- passkeyId: string;
27735
+ spotlightId: string;
27648
27736
  };
27649
27737
  } & {
27650
27738
  headers?: Partial<{
@@ -27657,25 +27745,28 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27657
27745
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27658
27746
  }>;
27659
27747
  }, 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?: {
27748
+ [x: string]: unknown;
27749
+ }, 429, "application/json">>>;
27750
+ /** Request a support code. */
27751
+ supportCodeRequest: (request?: {
27671
27752
  headers?: {
27672
27753
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27673
27754
  "x-access-token"?: string | undefined;
27674
27755
  } | undefined;
27756
+ queryParameters?: {
27757
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27758
+ forceRecreate?: boolean | undefined;
27759
+ } | undefined;
27675
27760
  } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27676
27761
  headers?: Partial<{
27677
27762
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27678
27763
  }>;
27764
+ } & {
27765
+ queryParameters: {
27766
+ forceRecreate?: boolean | undefined;
27767
+ } & Partial<{
27768
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27769
+ }>;
27679
27770
  } & {
27680
27771
  headers: {
27681
27772
  "x-access-token"?: string | undefined;
@@ -27683,22 +27774,20 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27683
27774
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27684
27775
  }>;
27685
27776
  }, 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<{
27777
+ expiresAt: string;
27778
+ supportCode: string;
27779
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27697
27780
  [x: string]: unknown;
27698
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27781
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27699
27782
  headers?: Partial<{
27700
27783
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27701
27784
  }>;
27785
+ } & {
27786
+ queryParameters: {
27787
+ forceRecreate?: boolean | undefined;
27788
+ } & Partial<{
27789
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27790
+ }>;
27702
27791
  } & {
27703
27792
  headers: {
27704
27793
  "x-access-token"?: string | undefined;
@@ -27706,39 +27795,16 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27706
27795
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27707
27796
  }>;
27708
27797
  }, 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<{
27798
+ expiresAt: string;
27799
+ supportCode: string;
27800
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27720
27801
  [x: string]: unknown;
27721
- }, 500, "application/json">>>;
27722
- /** Register a new passkey. */
27723
- createPasskey: (request: {
27802
+ }, 429, "application/json">>>;
27803
+ /** Verify an added Email-Address. */
27804
+ verifyEmail: (request: {
27724
27805
  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;
27806
+ email: string;
27807
+ token?: string | undefined;
27742
27808
  };
27743
27809
  headers?: {
27744
27810
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
@@ -27746,9 +27812,8 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27746
27812
  } | undefined;
27747
27813
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27748
27814
  data: {
27749
- challengeId: string;
27750
- credential: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyRegistrationResponse;
27751
- name: string;
27815
+ email: string;
27816
+ token?: string | undefined;
27752
27817
  };
27753
27818
  } & {
27754
27819
  headers?: Partial<{
@@ -27760,21 +27825,18 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27760
27825
  } & Partial<{
27761
27826
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27762
27827
  }>;
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").MittwaldAPIV3Next.Paths.V3NextUsersSelfPasskeys.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27828
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27829
+ type: "ValidationError";
27830
+ message?: string | undefined;
27831
+ validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
27832
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27770
27833
  [x: string]: unknown;
27771
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27834
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27772
27835
  [x: string]: unknown;
27773
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27836
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27774
27837
  data: {
27775
- challengeId: string;
27776
- credential: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyRegistrationResponse;
27777
- name: string;
27838
+ email: string;
27839
+ token?: string | undefined;
27778
27840
  };
27779
27841
  } & {
27780
27842
  headers?: Partial<{
@@ -27786,24 +27848,36 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27786
27848
  } & Partial<{
27787
27849
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27788
27850
  }>;
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").MittwaldAPIV3Next.Paths.V3NextUsersSelfPasskeys.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27851
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27852
+ type: "ValidationError";
27853
+ message?: string | undefined;
27854
+ validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
27855
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27796
27856
  [x: string]: unknown;
27797
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27857
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27798
27858
  [x: string]: unknown;
27799
- }, 500, "application/json">>>;
27800
- /** Create a challenge to confirm an action with a passkey. */
27801
- createPasskeyConfirmationChallenge: (request?: {
27859
+ }, 429, "application/json">>>;
27860
+ /** Verify phone number. */
27861
+ verifyPhoneNumber: (request: {
27862
+ data: {
27863
+ code: string;
27864
+ phoneNumber: string;
27865
+ };
27866
+ userId: string;
27802
27867
  headers?: {
27803
27868
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27804
27869
  "x-access-token"?: string | undefined;
27805
27870
  } | undefined;
27806
- } | null | undefined, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27871
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27872
+ data: {
27873
+ code: string;
27874
+ phoneNumber: string;
27875
+ };
27876
+ } & {
27877
+ pathParameters: {
27878
+ userId: string;
27879
+ };
27880
+ } & {
27807
27881
  headers?: Partial<{
27808
27882
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27809
27883
  }>;
@@ -27813,17 +27887,24 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27813
27887
  } & Partial<{
27814
27888
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27815
27889
  }>;
27816
- }, import("@mittwald/api-client-commons").Response<{
27817
- challengeId: string;
27818
- options: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyRequestOptions;
27819
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
27820
- message: string;
27821
- type: string;
27890
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27891
+ [x: string]: unknown;
27822
27892
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27823
27893
  [x: string]: unknown;
27824
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27894
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27825
27895
  [x: string]: unknown;
27826
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27896
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
27897
+ [x: string]: unknown;
27898
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27899
+ data: {
27900
+ code: string;
27901
+ phoneNumber: string;
27902
+ };
27903
+ } & {
27904
+ pathParameters: {
27905
+ userId: string;
27906
+ };
27907
+ } & {
27827
27908
  headers?: Partial<{
27828
27909
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27829
27910
  }>;
@@ -27833,100 +27914,62 @@ export declare class MittwaldAPIV3NextClient extends ApiClientBase {
27833
27914
  } & Partial<{
27834
27915
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27835
27916
  }>;
27836
- }, import("@mittwald/api-client-commons").Response<{
27837
- challengeId: string;
27838
- options: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyRequestOptions;
27839
- }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
27840
- message: string;
27841
- type: string;
27917
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
27918
+ [x: string]: unknown;
27842
27919
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27843
27920
  [x: string]: unknown;
27844
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27921
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27845
27922
  [x: string]: unknown;
27846
- }, 500, "application/json">>>;
27847
- /** Create a challenge to register a new passkey. */
27848
- createPasskeyRegistrationChallenge: (request: {
27923
+ }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
27924
+ [x: string]: unknown;
27925
+ }, 429, "application/json">>>;
27926
+ /** Verify your registration. */
27927
+ verifyRegistration: (request: {
27849
27928
  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;
27929
+ email: string;
27930
+ token: string;
27931
+ userId: string;
27868
27932
  };
27869
27933
  headers?: {
27870
27934
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27871
- "x-access-token"?: string | undefined;
27872
27935
  } | undefined;
27873
27936
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27874
27937
  data: {
27875
- multiFactorCode?: string | undefined;
27876
- passkeyCredential?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential | undefined;
27877
- password: string;
27938
+ email: string;
27939
+ token: string;
27940
+ userId: string;
27878
27941
  };
27879
27942
  } & {
27880
27943
  headers?: Partial<{
27881
27944
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27882
27945
  }>;
27883
- } & {
27884
- headers: {
27885
- "x-access-token"?: string | undefined;
27886
- } & Partial<{
27887
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27888
- }>;
27889
27946
  }, 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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCreationOptions;
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").MittwaldAPIV3Next.Paths.V3NextUsersSelfPasskeyRegistrationChallenges.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27947
+ type: "ValidationError";
27948
+ message?: string | undefined;
27949
+ validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
27950
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27898
27951
  [x: string]: unknown;
27899
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27952
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27900
27953
  [x: string]: unknown;
27901
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27954
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27902
27955
  data: {
27903
- multiFactorCode?: string | undefined;
27904
- passkeyCredential?: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCredential | undefined;
27905
- password: string;
27956
+ email: string;
27957
+ token: string;
27958
+ userId: string;
27906
27959
  };
27907
27960
  } & {
27908
27961
  headers?: Partial<{
27909
27962
  [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27910
27963
  }>;
27911
- } & {
27912
- headers: {
27913
- "x-access-token"?: string | undefined;
27914
- } & Partial<{
27915
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27916
- }>;
27917
27964
  }, 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").MittwaldAPIV3Next.Components.Schemas.DeMittwaldSignupPasskeyCreationOptions;
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").MittwaldAPIV3Next.Paths.V3NextUsersSelfPasskeyRegistrationChallenges.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27965
+ type: "ValidationError";
27966
+ message?: string | undefined;
27967
+ validationErrors: import("./types.js").MittwaldAPIV3Next.Components.Schemas.DeMittwaldCommonsValidationErrorSchema[];
27968
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27926
27969
  [x: string]: unknown;
27927
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27970
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27928
27971
  [x: string]: unknown;
27929
- }, 500, "application/json">>>;
27972
+ }, 429, "application/json">>>;
27930
27973
  };
27931
27974
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
27932
27975
  readonly file: {