@mittwald/api-client 4.363.0 → 4.366.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.
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.362.0';
1
+ export const MittwaldAPIClientVersion = '4.365.0';
@@ -22227,14 +22227,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
22227
22227
  } & Partial<{
22228
22228
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
22229
22229
  }>;
22230
- }, import("@mittwald/api-client-commons").Response<{
22230
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
22231
22231
  type: "ValidationError";
22232
22232
  message?: string | undefined;
22233
22233
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
22234
22234
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
22235
- expires?: string | undefined;
22236
- refreshToken?: string | undefined;
22237
- token?: string | undefined;
22235
+ expires: string;
22236
+ refreshToken: string;
22237
+ token: string;
22238
22238
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
22239
22239
  [x: string]: unknown;
22240
22240
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -22257,14 +22257,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
22257
22257
  } & Partial<{
22258
22258
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
22259
22259
  }>;
22260
- }, import("@mittwald/api-client-commons").Response<{
22260
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
22261
22261
  type: "ValidationError";
22262
22262
  message?: string | undefined;
22263
22263
  validationErrors: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
22264
22264
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
22265
- expires?: string | undefined;
22266
- refreshToken?: string | undefined;
22267
- token?: string | undefined;
22265
+ expires: string;
22266
+ refreshToken: string;
22267
+ token: string;
22268
22268
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
22269
22269
  [x: string]: unknown;
22270
22270
  }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
@@ -22300,10 +22300,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
22300
22300
  } & Partial<{
22301
22301
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
22302
22302
  }>;
22303
- }, import("@mittwald/api-client-commons").Response<{
22304
- expires?: string | undefined;
22305
- refreshToken?: string | undefined;
22306
- token?: string | undefined;
22303
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
22304
+ expires: string;
22305
+ refreshToken: string;
22306
+ token: string;
22307
22307
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
22308
22308
  name?: "SecondFactorRequired" | undefined;
22309
22309
  }, 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<{
@@ -22323,10 +22323,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
22323
22323
  } & Partial<{
22324
22324
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
22325
22325
  }>;
22326
- }, import("@mittwald/api-client-commons").Response<{
22327
- expires?: string | undefined;
22328
- refreshToken?: string | undefined;
22329
- token?: string | undefined;
22326
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
22327
+ expires: string;
22328
+ refreshToken: string;
22329
+ token: string;
22330
22330
  }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
22331
22331
  name?: "SecondFactorRequired" | undefined;
22332
22332
  }, 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<{
@@ -814,9 +814,9 @@ export declare const userAddPhoneNumber: OpenAPIOperation<RequestType<Simplify<M
814
814
  /** Remove phone number. */
815
815
  export declare const userRemovePhoneNumber: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhone.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
816
816
  /** Validate your second factor. */
817
- export declare const userAuthenticateMfa: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$408.Content.ApplicationJson>, 408, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
817
+ export declare const userAuthenticateMfa: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$408.Content.ApplicationJson>, 408, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateMfa.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
818
818
  /** Authenticate yourself to get an access token. */
819
- export declare const userAuthenticate: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$202.Content.ApplicationJson>, 202, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
819
+ export declare const userAuthenticate: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$202.Content.ApplicationJson>, 202, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Authenticate.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
820
820
  /** Authenticate an user with an access token retrieval key. */
821
821
  export declare const userAuthenticateWithAccessTokenRetrievalKey: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
822
822
  /** Get your verified Email-Address. */
@@ -2210,6 +2210,8 @@ export declare namespace MittwaldAPIV2 {
2210
2210
  interface AppVersionStatus {
2211
2211
  current?: string;
2212
2212
  desired: string;
2213
+ lastChangeBy?: string;
2214
+ previous?: string;
2213
2215
  }
2214
2216
  type BackupBackupSortOrder = "oldestFirst" | "newestFirst";
2215
2217
  interface BackupBackupTemplate {
@@ -6184,11 +6186,11 @@ export declare namespace MittwaldAPIV2 {
6184
6186
  type: "email";
6185
6187
  value: string;
6186
6188
  }
6189
+ type DomainContactVerificationStatus = "created" | "pending" | "completed" | "failed";
6187
6190
  interface DomainContactVerificationNameData {
6188
6191
  type: "name";
6189
6192
  value: string;
6190
6193
  }
6191
- type DomainContactVerificationStatus = "created" | "pending" | "completed" | "failed";
6192
6194
  type DomainContactVerificationType = "name" | "address" | "email";
6193
6195
  interface CommonsAddress {
6194
6196
  street: string;
@@ -27503,18 +27505,23 @@ export declare namespace MittwaldAPIV2 {
27503
27505
  /**
27504
27506
  * The expiration date of the token.
27505
27507
  */
27506
- expires?: string;
27508
+ expires: string;
27507
27509
  /**
27508
27510
  * Refresh token to refresh your access token even after it has expired.
27509
27511
  */
27510
- refreshToken?: string;
27512
+ refreshToken: string;
27511
27513
  /**
27512
27514
  * Public token to identify yourself against the api gateway.
27513
27515
  */
27514
- token?: string;
27516
+ token: string;
27515
27517
  }
27516
27518
  }
27517
27519
  }
27520
+ namespace $204 {
27521
+ namespace Content {
27522
+ type Empty = unknown;
27523
+ }
27524
+ }
27518
27525
  namespace $400 {
27519
27526
  namespace Content {
27520
27527
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
@@ -27571,15 +27578,15 @@ export declare namespace MittwaldAPIV2 {
27571
27578
  /**
27572
27579
  * The expiration date of the token.
27573
27580
  */
27574
- expires?: string;
27581
+ expires: string;
27575
27582
  /**
27576
27583
  * Refresh token to refresh your access token even after it has expired.
27577
27584
  */
27578
- refreshToken?: string;
27585
+ refreshToken: string;
27579
27586
  /**
27580
27587
  * Public token to identify yourself against the api gateway.
27581
27588
  */
27582
- token?: string;
27589
+ token: string;
27583
27590
  }
27584
27591
  }
27585
27592
  }
@@ -27590,6 +27597,11 @@ export declare namespace MittwaldAPIV2 {
27590
27597
  }
27591
27598
  }
27592
27599
  }
27600
+ namespace $204 {
27601
+ namespace Content {
27602
+ type Empty = unknown;
27603
+ }
27604
+ }
27593
27605
  namespace $400 {
27594
27606
  namespace Content {
27595
27607
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.362.0';
1
+ export declare const MittwaldAPIClientVersion = '4.365.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.363.0",
3
+ "version": "4.366.0",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",
@@ -46,11 +46,11 @@
46
46
  "test:compile": "run tsc --noEmit"
47
47
  },
48
48
  "dependencies": {
49
- "@mittwald/api-client-commons": "^4.363.0",
49
+ "@mittwald/api-client-commons": "^4.366.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.363.0",
53
+ "@mittwald/api-code-generator": "^4.366.0",
54
54
  "@mittwald/react-use-promise": "^2.6.2",
55
55
  "@types/node": "^22.18.11",
56
56
  "@types/react": "^18.3.26",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "bc89cd5c876f133860943d52335e4090a5629651"
83
+ "gitHead": "2e0c46b1e2407bf2d474fb79a8bf85183ceb844c"
84
84
  }