@mittwald/api-client 2.0.10 → 2.0.11

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.
@@ -7595,10 +7595,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7595
7595
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7596
7596
  }>;
7597
7597
  }, import("@mittwald/api-client-commons").Response<{
7598
+ clusterName: string;
7598
7599
  createdAt: string;
7599
7600
  customerId: string;
7600
7601
  description: string;
7601
- disabledReason?: "nonPayment" | undefined;
7602
+ disabledReason?: "suspended" | undefined;
7602
7603
  id: string;
7603
7604
  imageRefId?: string | undefined;
7604
7605
  isReady: boolean;
@@ -7857,7 +7858,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7857
7858
  } & Partial<{
7858
7859
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7859
7860
  }>;
7860
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServer[], 200, "application/json">>>;
7861
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServer[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7862
+ [x: string]: unknown;
7863
+ }, 403, "application/json">>>;
7861
7864
  /** Resend the mail for a ProjectInvite. */
7862
7865
  resendProjectInviteMail: (request: {
7863
7866
  pathParameters: {
@@ -460,7 +460,7 @@ export declare const projectListProjectMemberships: OpenAPIOperation<RequestType
460
460
  /** List Project's for an Organization or Server. */
461
461
  export declare const projectListProjects: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Projects.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Projects.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Projects.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Projects.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Projects.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Projects.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
462
462
  /** List Servers for an Organization or User. */
463
- export declare const projectListServers: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
463
+ export declare const projectListServers: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
464
464
  /** Resend the mail for a ProjectInvite. */
465
465
  export declare const projectResendProjectInviteMail: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
466
466
  /** Update a Project's description. */
@@ -1412,7 +1412,7 @@ export declare module MittwaldAPIV2 {
1412
1412
  };
1413
1413
  };
1414
1414
  }
1415
- type ProjectDisableReason = "maliciousCode" | "illegalContent" | "maliciousConduct";
1415
+ type ProjectDisableReason = "maliciousCode" | "illegalContent" | "maliciousConduct" | "suspended";
1416
1416
  interface ProjectFilesystemDirectoryListing {
1417
1417
  absolutePath: string;
1418
1418
  isDirectory?: boolean;
@@ -1467,8 +1467,9 @@ export declare module MittwaldAPIV2 {
1467
1467
  spec?: MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec;
1468
1468
  }
1469
1469
  type ProjectProjectReadinessStatus = "creating" | "ready" | "unready";
1470
- type ProjectServerDisableReason = "nonPayment";
1470
+ type ProjectServerDisableReason = "suspended";
1471
1471
  interface ProjectServer {
1472
+ clusterName: string;
1472
1473
  createdAt: string;
1473
1474
  customerId: string;
1474
1475
  description: string;
@@ -10604,6 +10605,13 @@ export declare module MittwaldAPIV2 {
10604
10605
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.ProjectServer[];
10605
10606
  }
10606
10607
  }
10608
+ namespace $403 {
10609
+ namespace Content {
10610
+ interface ApplicationJson {
10611
+ [k: string]: unknown;
10612
+ }
10613
+ }
10614
+ }
10607
10615
  namespace Default {
10608
10616
  namespace Content {
10609
10617
  interface ApplicationJson {
@@ -7595,10 +7595,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7595
7595
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7596
7596
  }>;
7597
7597
  }, import("@mittwald/api-client-commons").Response<{
7598
+ clusterName: string;
7598
7599
  createdAt: string;
7599
7600
  customerId: string;
7600
7601
  description: string;
7601
- disabledReason?: "nonPayment" | undefined;
7602
+ disabledReason?: "suspended" | undefined;
7602
7603
  id: string;
7603
7604
  imageRefId?: string | undefined;
7604
7605
  isReady: boolean;
@@ -7857,7 +7858,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7857
7858
  } & Partial<{
7858
7859
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7859
7860
  }>;
7860
- }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServer[], 200, "application/json">>>;
7861
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServer[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7862
+ [x: string]: unknown;
7863
+ }, 403, "application/json">>>;
7861
7864
  /** Resend the mail for a ProjectInvite. */
7862
7865
  resendProjectInviteMail: (request: {
7863
7866
  pathParameters: {
@@ -460,7 +460,7 @@ export declare const projectListProjectMemberships: OpenAPIOperation<RequestType
460
460
  /** List Project's for an Organization or Server. */
461
461
  export declare const projectListProjects: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Projects.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Projects.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Projects.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Projects.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Projects.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Projects.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
462
462
  /** List Servers for an Organization or User. */
463
- export declare const projectListServers: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
463
+ export declare const projectListServers: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Servers.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
464
464
  /** Resend the mail for a ProjectInvite. */
465
465
  export declare const projectResendProjectInviteMail: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectInvitesInviteIdActionsResend.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
466
466
  /** Update a Project's description. */
@@ -1412,7 +1412,7 @@ export declare module MittwaldAPIV2 {
1412
1412
  };
1413
1413
  };
1414
1414
  }
1415
- type ProjectDisableReason = "maliciousCode" | "illegalContent" | "maliciousConduct";
1415
+ type ProjectDisableReason = "maliciousCode" | "illegalContent" | "maliciousConduct" | "suspended";
1416
1416
  interface ProjectFilesystemDirectoryListing {
1417
1417
  absolutePath: string;
1418
1418
  isDirectory?: boolean;
@@ -1467,8 +1467,9 @@ export declare module MittwaldAPIV2 {
1467
1467
  spec?: MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec;
1468
1468
  }
1469
1469
  type ProjectProjectReadinessStatus = "creating" | "ready" | "unready";
1470
- type ProjectServerDisableReason = "nonPayment";
1470
+ type ProjectServerDisableReason = "suspended";
1471
1471
  interface ProjectServer {
1472
+ clusterName: string;
1472
1473
  createdAt: string;
1473
1474
  customerId: string;
1474
1475
  description: string;
@@ -10604,6 +10605,13 @@ export declare module MittwaldAPIV2 {
10604
10605
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.ProjectServer[];
10605
10606
  }
10606
10607
  }
10608
+ namespace $403 {
10609
+ namespace Content {
10610
+ interface ApplicationJson {
10611
+ [k: string]: unknown;
10612
+ }
10613
+ }
10614
+ }
10607
10615
  namespace Default {
10608
10616
  namespace Content {
10609
10617
  interface ApplicationJson {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "2.0.10",
3
+ "version": "2.0.11",
4
4
  "description": "Auto-generated client for the mittwald API",
5
5
  "license": "MIT",
6
6
  "repository": "github:mittwald/api-client-js",