@mittwald/api-client 2.0.1 → 2.0.2

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.
@@ -5084,7 +5084,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5084
5084
  updatedAt: string;
5085
5085
  value: number;
5086
5086
  };
5087
- limit: number;
5087
+ limit: number; /** Confirm Multi Factor Authentication. */
5088
5088
  };
5089
5089
  } | undefined;
5090
5090
  projectId: string;
@@ -6699,18 +6699,20 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6699
6699
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
6700
6700
  [x: string]: unknown;
6701
6701
  }, 400, "application/json">>>;
6702
- /** Authenticate yourself to get an access token. */
6703
- authenticate: (request: {
6702
+ /** Validate your second factor. */
6703
+ authenticateMfa: (request: {
6704
6704
  data: {
6705
- email: string;
6706
- password: string;
6705
+ multiFactorCode: string;
6706
+ email?: string | undefined;
6707
+ password?: string | undefined;
6707
6708
  };
6708
6709
  pathParameters?: {} | undefined;
6709
6710
  headers?: {} | undefined;
6710
6711
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6711
6712
  data: {
6712
- email: string;
6713
- password: string;
6713
+ email?: string | undefined;
6714
+ multiFactorCode: string;
6715
+ password?: string | undefined;
6714
6716
  };
6715
6717
  } & {
6716
6718
  pathParameters: {};
@@ -6720,30 +6722,26 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6720
6722
  expires: string;
6721
6723
  token: string;
6722
6724
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6723
- name?: "SecondFactorRequired" | undefined;
6724
- }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<{
6725
6725
  type: "ValidationError";
6726
6726
  message?: string | undefined;
6727
6727
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
6728
6728
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6729
- type: "ValidationError";
6730
- message?: string | undefined;
6731
- validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
6732
- }, 401, "application/json">>>;
6733
- /** Validate your second factor. */
6734
- authenticateMfa: (request: {
6729
+ info?: {} | undefined;
6730
+ message: string;
6731
+ name: "FirstAuthenticationFactorExpired";
6732
+ }, 408, "application/json">>>;
6733
+ /** Authenticate yourself to get an access token. */
6734
+ authenticate: (request: {
6735
6735
  data: {
6736
- multiFactorCode: string;
6737
- email?: string | undefined;
6738
- password?: string | undefined;
6736
+ email: string;
6737
+ password: string;
6739
6738
  };
6740
6739
  pathParameters?: {} | undefined;
6741
6740
  headers?: {} | undefined;
6742
6741
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6743
6742
  data: {
6744
- email?: string | undefined;
6745
- multiFactorCode: string;
6746
- password?: string | undefined;
6743
+ email: string;
6744
+ password: string;
6747
6745
  };
6748
6746
  } & {
6749
6747
  pathParameters: {};
@@ -6757,12 +6755,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6757
6755
  expires: string;
6758
6756
  token: string;
6759
6757
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6760
- info?: {} | undefined;
6761
- message: string;
6762
- name: "FirstAuthenticationFactorExpired";
6763
- }, 408, "application/json">>>;
6764
- /** Get your primary verified Email-Address */
6765
- getEmail: (request?: {
6758
+ name?: "SecondFactorRequired" | undefined;
6759
+ }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<{
6760
+ type: "ValidationError";
6761
+ message?: string | undefined;
6762
+ validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
6763
+ }, 401, "application/json">>>;
6764
+ /** Get your verified Email-Address. */
6765
+ getOwnEmail: (request?: {
6766
6766
  pathParameters?: {} | undefined;
6767
6767
  headers?: {
6768
6768
  "x-access-token"?: string | undefined;
@@ -6778,7 +6778,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6778
6778
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6779
6779
  [x: string]: unknown;
6780
6780
  }, 404, "application/json">>>;
6781
- /** Change your Email-Address */
6781
+ /** Change your Email-Address. */
6782
6782
  changeEmail: (request: {
6783
6783
  data: {
6784
6784
  email: string;
@@ -6797,30 +6797,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6797
6797
  headers: {
6798
6798
  "x-access-token"?: string | undefined;
6799
6799
  };
6800
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6800
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
6801
6801
  type: "ValidationError";
6802
6802
  message?: string | undefined;
6803
6803
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
6804
6804
  }, 400, "application/json">>>;
6805
- /** The timestamp of your latest password change */
6806
- getPasswordUpdatedAt: (request?: {
6807
- data?: {} | undefined;
6808
- pathParameters?: {} | undefined;
6809
- headers?: {
6810
- "x-access-token"?: string | undefined;
6811
- } | undefined;
6812
- } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6813
- data: {};
6814
- } & {
6815
- pathParameters: {};
6816
- } & {
6817
- headers: {
6818
- "x-access-token"?: string | undefined;
6819
- };
6820
- }, import("@mittwald/api-client-commons").Response<{
6821
- passwordUpdatedAt: string;
6822
- }, 200, "application/json">>>;
6823
- /** Change your password */
6805
+ /** Change your password. */
6824
6806
  changePassword: (request: {
6825
6807
  data: {
6826
6808
  newPassword: string;
@@ -6853,8 +6835,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6853
6835
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6854
6836
  [x: string]: unknown;
6855
6837
  }, 202, "application/json">>>;
6856
- /** Get your profile information */
6857
- getOwnProfile: (request?: {
6838
+ /** Check token for validity. */
6839
+ checkToken: (request?: {
6858
6840
  data?: {} | undefined;
6859
6841
  pathParameters?: {} | undefined;
6860
6842
  headers?: {
@@ -6869,48 +6851,29 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6869
6851
  "x-access-token"?: string | undefined;
6870
6852
  };
6871
6853
  }, import("@mittwald/api-client-commons").Response<{
6872
- email?: string | undefined;
6873
- mfaDetails?: {
6874
- mfaConfirmed?: boolean | undefined;
6875
- mfaInitialized?: boolean | undefined;
6876
- } | undefined;
6877
- passwordUpdatedAt?: string | undefined;
6878
- person?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson | undefined;
6879
- userId?: string | undefined;
6854
+ id: string;
6855
+ publicToken: string;
6880
6856
  }, 200, "application/json">>>;
6881
- /** Change your profile information */
6882
- changeProfile: (request: {
6883
- data: {
6884
- person: {
6885
- firstName: string;
6886
- lastName: string;
6887
- title?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsSalutation | undefined;
6888
- };
6889
- };
6857
+ /** Get your current multi factor auth status. */
6858
+ getMfaStatus: (request?: {
6890
6859
  pathParameters?: {} | undefined;
6891
6860
  headers?: {
6892
6861
  "x-access-token"?: string | undefined;
6893
6862
  } | undefined;
6894
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6895
- data: {
6896
- person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
6897
- };
6898
- } & {
6863
+ } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<object & {
6899
6864
  pathParameters: {};
6900
6865
  } & {
6901
6866
  headers: {
6902
6867
  "x-access-token"?: string | undefined;
6903
6868
  };
6904
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6905
- type: "ValidationError";
6906
- message?: string | undefined;
6907
- validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
6908
- }, 400, "application/json">>>;
6909
- /** Delete your profile and all your personal data */
6910
- deleteProfile: (request: {
6869
+ }, import("@mittwald/api-client-commons").Response<{
6870
+ confirmed: boolean;
6871
+ initialized: boolean;
6872
+ }, 200, "application/json">>>;
6873
+ /** Reset RecoveryCodes for MFA. */
6874
+ resetRecoverycodes: (request: {
6911
6875
  data: {
6912
- password: string;
6913
- multiFactorCode?: string | undefined;
6876
+ multiFactorCode: string;
6914
6877
  };
6915
6878
  pathParameters?: {} | undefined;
6916
6879
  headers?: {
@@ -6918,8 +6881,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6918
6881
  } | undefined;
6919
6882
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6920
6883
  data: {
6921
- multiFactorCode?: string | undefined;
6922
- password: string;
6884
+ multiFactorCode: string;
6923
6885
  };
6924
6886
  } & {
6925
6887
  pathParameters: {};
@@ -6927,24 +6889,26 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6927
6889
  headers: {
6928
6890
  "x-access-token"?: string | undefined;
6929
6891
  };
6930
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6892
+ }, import("@mittwald/api-client-commons").Response<{
6931
6893
  type: "ValidationError";
6932
6894
  message?: string | undefined;
6933
6895
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
6934
6896
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6935
- [x: string]: unknown;
6936
- }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<{
6937
- [x: string]: unknown;
6938
- }, 409, "application/json">>>;
6939
- /** Check a token for validity */
6940
- checkToken: (request?: {
6941
- data?: {} | undefined;
6897
+ recoveryCodesList: [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
6898
+ }, 200, "application/json">>>;
6899
+ /** Confirm Multi Factor Authentication. */
6900
+ confirmMfa: (request: {
6901
+ data: {
6902
+ multiFactorCode: string;
6903
+ };
6942
6904
  pathParameters?: {} | undefined;
6943
6905
  headers?: {
6944
6906
  "x-access-token"?: string | undefined;
6945
6907
  } | undefined;
6946
- } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6947
- data: {};
6908
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6909
+ data: {
6910
+ multiFactorCode: string;
6911
+ };
6948
6912
  } & {
6949
6913
  pathParameters: {};
6950
6914
  } & {
@@ -6956,11 +6920,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6956
6920
  message?: string | undefined;
6957
6921
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
6958
6922
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6959
- id: string;
6960
- publicToken: string;
6923
+ recoveryCodesList: [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
6961
6924
  }, 200, "application/json">>>;
6962
- /** Confirm Multi Factor Authentication */
6963
- confirmMfa: (request: {
6925
+ /** Disable Multi Factor Authentication. */
6926
+ disableMfa: (request: {
6964
6927
  data: {
6965
6928
  multiFactorCode: string;
6966
6929
  };
@@ -6978,14 +6941,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
6978
6941
  headers: {
6979
6942
  "x-access-token"?: string | undefined;
6980
6943
  };
6981
- }, import("@mittwald/api-client-commons").Response<{
6944
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
6982
6945
  type: "ValidationError";
6983
6946
  message?: string | undefined;
6984
6947
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
6985
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6986
- recoveryCodesList: [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
6987
- }, 200, "application/json">>>;
6988
- /** Confirm password reset */
6948
+ }, 400, "application/json">>>;
6949
+ /** Confirm password reset. */
6989
6950
  confirmPasswordReset: (request: {
6990
6951
  data: {
6991
6952
  password: string;
@@ -7004,12 +6965,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7004
6965
  pathParameters: {};
7005
6966
  } & {
7006
6967
  headers: {};
7007
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
6968
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7008
6969
  type: "ValidationError";
7009
6970
  message?: string | undefined;
7010
6971
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7011
6972
  }, 400, "application/json">>>;
7012
- /** List all ApiTokens of the user */
6973
+ /** List all of your ApiTokens. */
7013
6974
  listApiTokens: (request?: {
7014
6975
  pathParameters?: {} | undefined;
7015
6976
  headers?: {
@@ -7022,7 +6983,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7022
6983
  "x-access-token"?: string | undefined;
7023
6984
  };
7024
6985
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.SignupApiToken[], 200, "application/json">>>;
7025
- /** Store a new ApiToken */
6986
+ /** Store a new ApiToken. */
7026
6987
  createApiToken: (request: {
7027
6988
  data: {
7028
6989
  description: string;
@@ -7046,12 +7007,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7046
7007
  "x-access-token"?: string | undefined;
7047
7008
  };
7048
7009
  }, import("@mittwald/api-client-commons").Response<{
7049
- type: "ValidationError";
7050
- message?: string | undefined;
7051
- validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7052
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7053
7010
  token: string;
7054
- }, 201, "application/json">>>;
7011
+ }, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
7012
+ [x: string]: unknown;
7013
+ }, 400, "application/json">>>;
7055
7014
  /** Submit your user feedback. */
7056
7015
  createFeedback: (request: {
7057
7016
  data: {
@@ -7108,7 +7067,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7108
7067
  "x-access-token"?: string | undefined;
7109
7068
  };
7110
7069
  }, import("@mittwald/api-client-commons").Response<{}, 201, "empty">>>;
7111
- /** Get your stored ssh keys */
7070
+ /** Get your stored ssh-keys. */
7112
7071
  listSshKeys: (request?: {
7113
7072
  pathParameters?: {} | undefined;
7114
7073
  headers?: {
@@ -7123,7 +7082,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7123
7082
  }, import("@mittwald/api-client-commons").Response<{
7124
7083
  sshKeys?: import("./types.js").MittwaldAPIV2.Components.Schemas.SignupSshKey[] | undefined;
7125
7084
  }, 200, "application/json">>>;
7126
- /** Store a new SSH key */
7085
+ /** Store a new ssh-key. */
7127
7086
  createSshKey: (request: {
7128
7087
  data: {
7129
7088
  publicKey: string;
@@ -7144,12 +7103,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7144
7103
  headers: {
7145
7104
  "x-access-token"?: string | undefined;
7146
7105
  };
7147
- }, import("@mittwald/api-client-commons").Response<{
7148
- type: "ValidationError";
7149
- message?: string | undefined;
7150
- validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7151
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 201, "empty">>>;
7152
- /** Get a specific ApiToken */
7106
+ }, import("@mittwald/api-client-commons").Response<{}, 201, "empty"> | import("@mittwald/api-client-commons").Response<{
7107
+ [x: string]: unknown;
7108
+ }, 400, "application/json">>>;
7109
+ /** Get a specific ApiToken. */
7153
7110
  getApiToken: (request: {
7154
7111
  pathParameters: {
7155
7112
  apiTokenId: string;
@@ -7171,8 +7128,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7171
7128
  description: string;
7172
7129
  expiresAt?: string | undefined;
7173
7130
  roles: ("api_read" | "api_write")[];
7174
- }, 200, "application/json">>>;
7175
- /** Update an existing `ApiToken` */
7131
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7132
+ [x: string]: unknown;
7133
+ }, 404, "application/json">>>;
7134
+ /** Update an existing `ApiToken`. */
7176
7135
  editApiToken: (request: {
7177
7136
  data: {
7178
7137
  description: string;
@@ -7197,12 +7156,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7197
7156
  headers: {
7198
7157
  "x-access-token"?: string | undefined;
7199
7158
  };
7200
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
7201
- type: "ValidationError";
7202
- message?: string | undefined;
7203
- validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7159
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7160
+ [x: string]: unknown;
7204
7161
  }, 400, "application/json">>>;
7205
- /** Deletes an ApiToken */
7162
+ /** Deletes an ApiToken. */
7206
7163
  deleteApiToken: (request: {
7207
7164
  pathParameters: {
7208
7165
  apiTokenId: string;
@@ -7218,12 +7175,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7218
7175
  headers: {
7219
7176
  "x-access-token"?: string | undefined;
7220
7177
  };
7221
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
7222
- type: "ValidationError";
7223
- message?: string | undefined;
7224
- validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7178
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7179
+ [x: string]: unknown;
7225
7180
  }, 400, "application/json">>>;
7226
- /** Get a specific stored SshKey */
7181
+ /** Get a specific stored ssh-key. */
7227
7182
  getSshKey: (request: {
7228
7183
  pathParameters: {
7229
7184
  sshKeyId: string;
@@ -7244,7 +7199,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7244
7199
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7245
7200
  [x: string]: unknown;
7246
7201
  }, 404, "application/json">>>;
7247
- /** Edit a stored SshKey */
7202
+ /** Edit a stored ssh-key. */
7248
7203
  editSshKey: (request: {
7249
7204
  data: {
7250
7205
  comment: string;
@@ -7269,12 +7224,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7269
7224
  headers: {
7270
7225
  "x-access-token"?: string | undefined;
7271
7226
  };
7272
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
7273
- type: "ValidationError";
7274
- message?: string | undefined;
7275
- validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7227
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7228
+ [x: string]: unknown;
7276
7229
  }, 400, "application/json">>>;
7277
- /** Remove a SSH-key */
7230
+ /** Remove a ssh-key. */
7278
7231
  deleteSshKey: (request: {
7279
7232
  pathParameters: {
7280
7233
  sshKeyId: string;
@@ -7290,25 +7243,39 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7290
7243
  headers: {
7291
7244
  "x-access-token"?: string | undefined;
7292
7245
  };
7293
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty">>>;
7294
- /** Get your current multi factor auth status */
7295
- getMfaStatus: (request?: {
7246
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty">>>;
7247
+ /** Delete your account and all your personal data. */
7248
+ deleteUser: (request: {
7249
+ data: {
7250
+ password: string;
7251
+ multiFactorCode?: string | undefined;
7252
+ };
7296
7253
  pathParameters?: {} | undefined;
7297
7254
  headers?: {
7298
7255
  "x-access-token"?: string | undefined;
7299
7256
  } | undefined;
7300
- } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<object & {
7257
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7258
+ data: {
7259
+ multiFactorCode?: string | undefined;
7260
+ password: string;
7261
+ };
7262
+ } & {
7301
7263
  pathParameters: {};
7302
7264
  } & {
7303
7265
  headers: {
7304
7266
  "x-access-token"?: string | undefined;
7305
7267
  };
7306
- }, import("@mittwald/api-client-commons").Response<{
7307
- confirmed: boolean;
7308
- initialized: boolean;
7309
- }, 200, "application/json">>>;
7310
- /** Initialize Multi Factor Authentication. If successfull, it needs to be confirmed, before usage of mfa. */
7311
- initMfa: (request?: {
7268
+ }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
7269
+ type: "ValidationError";
7270
+ message?: string | undefined;
7271
+ validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7272
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7273
+ [x: string]: unknown;
7274
+ }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<{
7275
+ [x: string]: unknown;
7276
+ }, 409, "application/json">>>;
7277
+ /** Get your account information. */
7278
+ getOwnAccount: (request?: {
7312
7279
  data?: {} | undefined;
7313
7280
  pathParameters?: {} | undefined;
7314
7281
  headers?: {
@@ -7323,17 +7290,23 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7323
7290
  "x-access-token"?: string | undefined;
7324
7291
  };
7325
7292
  }, import("@mittwald/api-client-commons").Response<{
7326
- type: "ValidationError";
7327
- message?: string | undefined;
7328
- validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7329
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7330
- barcode: string;
7331
- url: string;
7293
+ email?: string | undefined;
7294
+ mfaDetails?: {
7295
+ mfaConfirmed?: boolean | undefined;
7296
+ mfaInitialized?: boolean | undefined;
7297
+ } | undefined;
7298
+ passwordUpdatedAt?: string | undefined;
7299
+ person?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson | undefined;
7300
+ userId?: string | undefined;
7332
7301
  }, 200, "application/json">>>;
7333
- /** Disable Multi Factor Authentication. */
7334
- disableMfa: (request: {
7302
+ /** Update your account information. */
7303
+ updateAccount: (request: {
7335
7304
  data: {
7336
- multiFactorCode: string;
7305
+ person: {
7306
+ firstName: string;
7307
+ lastName: string;
7308
+ title?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsSalutation | undefined;
7309
+ };
7337
7310
  };
7338
7311
  pathParameters?: {} | undefined;
7339
7312
  headers?: {
@@ -7341,7 +7314,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7341
7314
  } | undefined;
7342
7315
  }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7343
7316
  data: {
7344
- multiFactorCode: string;
7317
+ person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
7345
7318
  };
7346
7319
  } & {
7347
7320
  pathParameters: {};
@@ -7349,11 +7322,29 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7349
7322
  headers: {
7350
7323
  "x-access-token"?: string | undefined;
7351
7324
  };
7352
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
7325
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7353
7326
  type: "ValidationError";
7354
7327
  message?: string | undefined;
7355
7328
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7356
7329
  }, 400, "application/json">>>;
7330
+ /** The timestamp of your latest password change. */
7331
+ getPasswordUpdatedAt: (request?: {
7332
+ data?: {} | undefined;
7333
+ pathParameters?: {} | undefined;
7334
+ headers?: {
7335
+ "x-access-token"?: string | undefined;
7336
+ } | undefined;
7337
+ } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7338
+ data: {};
7339
+ } & {
7340
+ pathParameters: {};
7341
+ } & {
7342
+ headers: {
7343
+ "x-access-token"?: string | undefined;
7344
+ };
7345
+ }, import("@mittwald/api-client-commons").Response<{
7346
+ passwordUpdatedAt: string;
7347
+ }, 200, "application/json">>>;
7357
7348
  /** Get personalized settings. */
7358
7349
  getPersonalizedSettings: (request: {
7359
7350
  pathParameters: {
@@ -7399,7 +7390,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7399
7390
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7400
7391
  [x: string]: unknown;
7401
7392
  }, 400, "application/json">>>;
7402
- /** Get a specific Session */
7393
+ /** Get a specific session. */
7403
7394
  getSession: (request: {
7404
7395
  pathParameters: {
7405
7396
  tokenId: string;
@@ -7424,7 +7415,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7424
7415
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7425
7416
  [x: string]: unknown;
7426
7417
  }, 404, "application/json">>>;
7427
- /** Terminate a specific Session */
7418
+ /** Terminate a specific Session. */
7428
7419
  terminateSession: (request: {
7429
7420
  pathParameters: {
7430
7421
  tokenId: string;
@@ -7440,7 +7431,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7440
7431
  headers: {
7441
7432
  "x-access-token"?: string | undefined;
7442
7433
  };
7443
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
7434
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7444
7435
  [x: string]: unknown;
7445
7436
  }, 404, "application/json">>>;
7446
7437
  /** Get profile information for a user. */
@@ -7502,7 +7493,30 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7502
7493
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7503
7494
  [x: string]: unknown;
7504
7495
  }, 400, "application/json">>>;
7505
- /** Initialize password reset process */
7496
+ /** Initialize Multi Factor Authentication. If successful, it needs to be confirmed, before usage of mfa. */
7497
+ initMfa: (request?: {
7498
+ data?: {} | undefined;
7499
+ pathParameters?: {} | undefined;
7500
+ headers?: {
7501
+ "x-access-token"?: string | undefined;
7502
+ } | undefined;
7503
+ } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7504
+ data: {};
7505
+ } & {
7506
+ pathParameters: {};
7507
+ } & {
7508
+ headers: {
7509
+ "x-access-token"?: string | undefined;
7510
+ };
7511
+ }, import("@mittwald/api-client-commons").Response<{
7512
+ type: "ValidationError";
7513
+ message?: string | undefined;
7514
+ validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7515
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7516
+ barcode: string;
7517
+ url: string;
7518
+ }, 200, "application/json">>>;
7519
+ /** Initialize password reset process. */
7506
7520
  initPasswordReset: (request: {
7507
7521
  data: {
7508
7522
  email: string;
@@ -7517,11 +7531,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7517
7531
  pathParameters: {};
7518
7532
  } & {
7519
7533
  headers: {};
7520
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
7534
+ }, import("@mittwald/api-client-commons").Response<{
7521
7535
  type: "ValidationError";
7522
7536
  message?: string | undefined;
7523
7537
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7524
- }, 400, "application/json">>>;
7538
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{}, 201, "empty">>>;
7525
7539
  /** Submitted feedback of the given user. */
7526
7540
  listFeedback: (request: {
7527
7541
  pathParameters: {
@@ -7539,7 +7553,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7539
7553
  "x-access-token"?: string | undefined;
7540
7554
  };
7541
7555
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.UserUserFeedback[], 200, "application/json">>>;
7542
- /** List all active sessions */
7556
+ /** List all sessions. */
7543
7557
  listSessions: (request?: {
7544
7558
  pathParameters?: {} | undefined;
7545
7559
  headers?: {
@@ -7552,7 +7566,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7552
7566
  "x-access-token"?: string | undefined;
7553
7567
  };
7554
7568
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.SignupUserSession[], 200, "application/json">>>;
7555
- /** Terminate all sessions, except the current Session */
7569
+ /** Terminate all sessions, except the current session. */
7556
7570
  terminateAllSessions: (request?: {
7557
7571
  pathParameters?: {} | undefined;
7558
7572
  headers?: {
@@ -7564,8 +7578,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7564
7578
  headers: {
7565
7579
  "x-access-token"?: string | undefined;
7566
7580
  };
7567
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty">>>;
7568
- /** Terminate session and invalidate access token */
7581
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty">>>;
7582
+ /** Terminate session and invalidate access token. */
7569
7583
  logout: (request?: {
7570
7584
  data?: {} | undefined;
7571
7585
  pathParameters?: {} | undefined;
@@ -7580,7 +7594,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7580
7594
  headers: {
7581
7595
  "x-access-token"?: string | undefined;
7582
7596
  };
7583
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
7597
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7584
7598
  type: "ValidationError";
7585
7599
  message?: string | undefined;
7586
7600
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
@@ -7674,18 +7688,18 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7674
7688
  }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7675
7689
  [x: string]: unknown;
7676
7690
  }, 400, "application/json">>>;
7677
- /** Resend the Email-Address verification email */
7678
- resendVerificationEmail: (request?: {
7679
- data?: {
7680
- email?: string | undefined;
7681
- userId?: string | undefined;
7682
- } | undefined;
7691
+ /** Resend the Email-Address verification email. */
7692
+ resendVerificationEmail: (request: {
7693
+ data: {
7694
+ email: string;
7695
+ userId: string;
7696
+ };
7683
7697
  pathParameters?: {} | undefined;
7684
7698
  headers?: {} | undefined;
7685
- } | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7699
+ }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7686
7700
  data: {
7687
- email?: string | undefined;
7688
- userId?: string | undefined;
7701
+ email: string;
7702
+ userId: string;
7689
7703
  };
7690
7704
  } & {
7691
7705
  pathParameters: {};
@@ -7696,33 +7710,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7696
7710
  message?: string | undefined;
7697
7711
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7698
7712
  }, 400, "application/json">>>;
7699
- /** Reset RecoveryCodes for MFA */
7700
- resetRecoverycodes: (request: {
7701
- data: {
7702
- multiFactorCode: string;
7703
- };
7704
- pathParameters?: {} | undefined;
7705
- headers?: {
7706
- "x-access-token"?: string | undefined;
7707
- } | undefined;
7708
- }) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7709
- data: {
7710
- multiFactorCode: string;
7711
- };
7712
- } & {
7713
- pathParameters: {};
7714
- } & {
7715
- headers: {
7716
- "x-access-token"?: string | undefined;
7717
- };
7718
- }, import("@mittwald/api-client-commons").Response<{
7719
- type: "ValidationError";
7720
- message?: string | undefined;
7721
- validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
7722
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7723
- recoveryCodesList: [string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string, string];
7724
- }, 200, "application/json">>>;
7725
- /** Request a support code */
7713
+ /** Request a support code. */
7726
7714
  supportCodeRequest: (request?: {
7727
7715
  pathParameters?: {} | undefined;
7728
7716
  headers?: {
@@ -7738,7 +7726,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7738
7726
  expiresAt?: string | undefined;
7739
7727
  supportCode?: string | undefined;
7740
7728
  }, 200, "application/json">>>;
7741
- /** Verify an added Email-Address */
7729
+ /** Verify an added Email-Address. */
7742
7730
  verifyEmail: (request: {
7743
7731
  data: {
7744
7732
  email: string;
@@ -7759,7 +7747,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7759
7747
  headers: {
7760
7748
  "x-access-token"?: string | undefined;
7761
7749
  };
7762
- }, import("@mittwald/api-client-commons").Response<{}, 200, "empty"> | import("@mittwald/api-client-commons").Response<{
7750
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
7763
7751
  type: "ValidationError";
7764
7752
  message?: string | undefined;
7765
7753
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
@@ -7798,7 +7786,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7798
7786
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7799
7787
  [x: string]: unknown;
7800
7788
  }, 409, "application/json">>>;
7801
- /** Verify your registration */
7789
+ /** Verify your registration. */
7802
7790
  verifyRegistration: (request: {
7803
7791
  data: {
7804
7792
  email: string;