@mittwald/api-client 4.512.0 → 4.515.0

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