@mittwald/api-client 4.355.0 → 4.356.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.
@@ -866,8 +866,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
866
866
  misc = {
867
867
  /** List valid time zones. */
868
868
  ellaneousListTimeZones: this.requestFunctionFactory(descriptors.miscellaneousListTimeZones),
869
- /** Obtain a service token. */
870
- servicetokenAuthenticateService: this.requestFunctionFactory(descriptors.servicetokenAuthenticateService),
871
869
  /** Check if an email is from mittwald. */
872
870
  verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
873
871
  /** Check if an address exists. */
@@ -2278,12 +2278,6 @@ export const relocationCreateRelocation = {
2278
2278
  method: "POST",
2279
2279
  operationId: "relocation-create-relocation",
2280
2280
  };
2281
- /** Obtain a service token. */
2282
- export const servicetokenAuthenticateService = {
2283
- path: "/v2/services/{accessKeyId}/actions/authenticate",
2284
- method: "POST",
2285
- operationId: "servicetoken-authenticate-service",
2286
- };
2287
2281
  /** Get all SFTPUsers for a Project. */
2288
2282
  export const sftpUserListSftpUsers = {
2289
2283
  path: "/v2/projects/{projectId}/sftp-users",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.354.0';
1
+ export const MittwaldAPIClientVersion = '4.355.0';
@@ -23210,7 +23210,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
23210
23210
  [x: string]: unknown;
23211
23211
  }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<{
23212
23212
  [x: string]: unknown;
23213
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
23213
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
23214
23214
  [x: string]: unknown;
23215
23215
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
23216
23216
  data: {
@@ -23235,7 +23235,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
23235
23235
  [x: string]: unknown;
23236
23236
  }, 202, "application/json"> | import("@mittwald/api-client-commons").Response<{
23237
23237
  [x: string]: unknown;
23238
- }, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
23238
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
23239
23239
  [x: string]: unknown;
23240
23240
  }, 429, "application/json">>>;
23241
23241
  /** The timestamp of your latest password change. */
@@ -26423,79 +26423,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26423
26423
  }, import("@mittwald/api-client-commons").Response<string[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26424
26424
  [x: string]: unknown;
26425
26425
  }, 429, "application/json">>>;
26426
- /** Obtain a service token. */
26427
- servicetokenAuthenticateService: (request: {
26428
- data: {
26429
- secretAccessKey: string;
26430
- };
26431
- accessKeyId: string;
26432
- headers?: {
26433
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
26434
- "x-access-token"?: string | undefined;
26435
- } | undefined;
26436
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26437
- data: {
26438
- secretAccessKey: string;
26439
- };
26440
- } & {
26441
- pathParameters: {
26442
- accessKeyId: string;
26443
- };
26444
- } & {
26445
- headers?: Partial<{
26446
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26447
- }>;
26448
- } & {
26449
- headers: {
26450
- "x-access-token"?: string | undefined;
26451
- } & Partial<{
26452
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26453
- }>;
26454
- }, import("@mittwald/api-client-commons").Response<{
26455
- accessToken: {
26456
- id: string;
26457
- jwtClaims: {
26458
- exp: string;
26459
- iat: string;
26460
- iss: string;
26461
- sub: string;
26462
- };
26463
- publicToken: string;
26464
- };
26465
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26466
- [x: string]: unknown;
26467
- }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26468
- data: {
26469
- secretAccessKey: string;
26470
- };
26471
- } & {
26472
- pathParameters: {
26473
- accessKeyId: string;
26474
- };
26475
- } & {
26476
- headers?: Partial<{
26477
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26478
- }>;
26479
- } & {
26480
- headers: {
26481
- "x-access-token"?: string | undefined;
26482
- } & Partial<{
26483
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
26484
- }>;
26485
- }, import("@mittwald/api-client-commons").Response<{
26486
- accessToken: {
26487
- id: string;
26488
- jwtClaims: {
26489
- exp: string;
26490
- iat: string;
26491
- iss: string;
26492
- sub: string;
26493
- };
26494
- publicToken: string;
26495
- };
26496
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26497
- [x: string]: unknown;
26498
- }, 429, "application/json">>>;
26499
26426
  /** Check if an email is from mittwald. */
26500
26427
  verificationDetectPhishingEmail: (request?: {
26501
26428
  data?: {
@@ -763,8 +763,6 @@ export declare const projectUpdateServerDescription: OpenAPIOperation<RequestTyp
763
763
  export declare const relocationCreateLegacyTariffChange: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2LegacyTariffChange.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
764
764
  /** Relocate an external Project to mittwald. */
765
765
  export declare const relocationCreateRelocation: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Relocation.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
766
- /** Obtain a service token. */
767
- export declare const servicetokenAuthenticateService: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ServicesAccessKeyIdActionsAuthenticate.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
768
766
  /** Get all SFTPUsers for a Project. */
769
767
  export declare const sftpUserListSftpUsers: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdSftpUsers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
770
768
  /** Create an SFTPUser for a Project. */
@@ -862,7 +860,7 @@ export declare const userEditSshKey: OpenAPIOperation<RequestType<Simplify<Mittw
862
860
  /** Remove a ssh-key. */
863
861
  export declare const userDeleteSshKey: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeysSshKeyId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeysSshKeyId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeysSshKeyId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeysSshKeyId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeysSshKeyId.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeysSshKeyId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
864
862
  /** Delete your account and all your personal data. */
865
- export declare const userDeleteUser: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.$202.Content.ApplicationJson>, 202, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
863
+ export declare const userDeleteUser: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.$202.Content.ApplicationJson>, 202, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelf.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
866
864
  /** The timestamp of your latest password change. */
867
865
  export declare const userGetPasswordUpdatedAt: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsPasswordUpdatedAt.Get.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsPasswordUpdatedAt.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsPasswordUpdatedAt.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsPasswordUpdatedAt.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsPasswordUpdatedAt.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsPasswordUpdatedAt.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsPasswordUpdatedAt.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
868
866
  /** Get personalized settings. */
@@ -1522,10 +1522,6 @@ export declare namespace MittwaldAPIV2 {
1522
1522
  type RequestData = InferredRequestData<typeof descriptors.relocationCreateRelocation>;
1523
1523
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.relocationCreateRelocation, TStatus>;
1524
1524
  }
1525
- namespace ServicetokenAuthenticateService {
1526
- type RequestData = InferredRequestData<typeof descriptors.servicetokenAuthenticateService>;
1527
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.servicetokenAuthenticateService, TStatus>;
1528
- }
1529
1525
  namespace SftpUserListSftpUsers {
1530
1526
  type RequestData = InferredRequestData<typeof descriptors.sftpUserListSftpUsers>;
1531
1527
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sftpUserListSftpUsers, TStatus>;
@@ -26258,53 +26254,6 @@ export declare namespace MittwaldAPIV2 {
26258
26254
  }
26259
26255
  }
26260
26256
  }
26261
- namespace V2ServiceAccessKeyIdActionsAuthenticate { }
26262
- namespace V2ServicesAccessKeyIdActionsAuthenticate {
26263
- namespace Post {
26264
- namespace Parameters {
26265
- type Path = {
26266
- accessKeyId: string;
26267
- };
26268
- interface RequestBody {
26269
- secretAccessKey: string;
26270
- }
26271
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26272
- type Query = {};
26273
- }
26274
- namespace Responses {
26275
- namespace $200 {
26276
- namespace Content {
26277
- interface ApplicationJson {
26278
- accessToken: {
26279
- id: string;
26280
- jwtClaims: {
26281
- exp: string;
26282
- iat: string;
26283
- iss: string;
26284
- sub: string;
26285
- };
26286
- publicToken: string;
26287
- };
26288
- }
26289
- }
26290
- }
26291
- namespace $429 {
26292
- namespace Content {
26293
- interface ApplicationJson {
26294
- [k: string]: unknown;
26295
- }
26296
- }
26297
- }
26298
- namespace Default {
26299
- namespace Content {
26300
- interface ApplicationJson {
26301
- [k: string]: unknown;
26302
- }
26303
- }
26304
- }
26305
- }
26306
- }
26307
- }
26308
26257
  namespace V2ProjectsProjectIdSftpUsers {
26309
26258
  namespace Get {
26310
26259
  namespace Parameters {
@@ -28601,7 +28550,7 @@ export declare namespace MittwaldAPIV2 {
28601
28550
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
28602
28551
  }
28603
28552
  }
28604
- namespace $409 {
28553
+ namespace $412 {
28605
28554
  namespace Content {
28606
28555
  interface ApplicationJson {
28607
28556
  [k: string]: unknown;
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.354.0';
1
+ export declare const MittwaldAPIClientVersion = '4.355.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.355.0",
3
+ "version": "4.356.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.355.0",
49
+ "@mittwald/api-client-commons": "^4.356.0",
50
50
  "browser-or-node": "^3.0.0"
51
51
  },
52
52
  "devDependencies": {
53
- "@mittwald/api-code-generator": "^4.355.0",
53
+ "@mittwald/api-code-generator": "^4.356.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": "56b3904abf7e636311cf697860006a53f1fecbb5"
83
+ "gitHead": "6b3ba9263c9d785a3a07241680b45c4871c8f51f"
84
84
  }