@mittwald/api-client 3.1.29 → 3.1.30

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.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { assertStatus } from '@mittwald/api-client-commons';
2
- import { M as MittwaldAPIV2Client } from './shared/api-client.dea97105.mjs';
3
- export { a as MittwaldAPIV2 } from './shared/api-client.dea97105.mjs';
2
+ import { M as MittwaldAPIV2Client } from './shared/api-client.9e27893c.mjs';
3
+ export { a as MittwaldAPIV2 } from './shared/api-client.9e27893c.mjs';
4
4
  import '.yarn/__virtual__/@mittwald-api-client-commons-virtual-7b98ca03c4/1/packages/commons/dist/shared/api-client-commons.5e434015.mjs';
5
5
 
6
6
  declare class MittwaldAPIClient extends MittwaldAPIV2Client {
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { assertStatus } from '@mittwald/api-client-commons';
2
- import { M as MittwaldAPIV2Client } from './shared/api-client.dea97105.js';
3
- export { a as MittwaldAPIV2 } from './shared/api-client.dea97105.js';
2
+ import { M as MittwaldAPIV2Client } from './shared/api-client.9e27893c.js';
3
+ export { a as MittwaldAPIV2 } from './shared/api-client.9e27893c.js';
4
4
  import '.yarn/__virtual__/@mittwald-api-client-commons-virtual-7b98ca03c4/1/packages/commons/dist/shared/api-client-commons.5e434015.mjs';
5
5
 
6
6
  declare class MittwaldAPIClient extends MittwaldAPIV2Client {
package/dist/react.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _mittwald_react_use_promise from '@mittwald/react-use-promise';
2
- import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.dea97105.mjs';
2
+ import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.9e27893c.mjs';
3
3
  import '@mittwald/api-client-commons';
4
4
  import '.yarn/__virtual__/@mittwald-api-client-commons-virtual-7b98ca03c4/1/packages/commons/dist/shared/api-client-commons.5e434015.mjs';
5
5
 
@@ -1708,12 +1708,13 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1708
1708
  imageRefId?: string | undefined;
1709
1709
  isReady: boolean;
1710
1710
  projectHostingId?: string | undefined;
1711
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
1711
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
1712
1712
  serverId?: string | undefined;
1713
1713
  serverShortId?: string | undefined;
1714
1714
  shortId: string;
1715
1715
  spec?: MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec | MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | undefined;
1716
1716
  statisticsBaseDomain?: string | undefined;
1717
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
1717
1718
  }>;
1718
1719
  /** Get a ProjectInvite by token. */
1719
1720
  getProjectTokenInvite: (conf: {
@@ -1765,7 +1766,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1765
1766
  imageRefId?: string | undefined;
1766
1767
  isReady: boolean;
1767
1768
  machineType: MittwaldAPIV2.Components.Schemas.ProjectMachineType;
1768
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
1769
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectServerReadinessStatus;
1769
1770
  shortId: string;
1770
1771
  statisticsBaseDomain?: string | undefined;
1771
1772
  storage: string;
@@ -1831,9 +1832,10 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1831
1832
  imageRefId?: string | undefined;
1832
1833
  isReady: boolean;
1833
1834
  projectHostingId?: string | undefined;
1834
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
1835
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
1835
1836
  serverId?: string | undefined;
1836
1837
  shortId: string;
1838
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
1837
1839
  }[]>;
1838
1840
  /** List Servers belonging to the executing user. */
1839
1841
  listServers: (conf?: {
package/dist/react.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _mittwald_react_use_promise from '@mittwald/react-use-promise';
2
- import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.dea97105.js';
2
+ import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.9e27893c.js';
3
3
  import '@mittwald/api-client-commons';
4
4
  import '.yarn/__virtual__/@mittwald-api-client-commons-virtual-7b98ca03c4/1/packages/commons/dist/shared/api-client-commons.5e434015.mjs';
5
5
 
@@ -1708,12 +1708,13 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1708
1708
  imageRefId?: string | undefined;
1709
1709
  isReady: boolean;
1710
1710
  projectHostingId?: string | undefined;
1711
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
1711
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
1712
1712
  serverId?: string | undefined;
1713
1713
  serverShortId?: string | undefined;
1714
1714
  shortId: string;
1715
1715
  spec?: MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec | MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | undefined;
1716
1716
  statisticsBaseDomain?: string | undefined;
1717
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
1717
1718
  }>;
1718
1719
  /** Get a ProjectInvite by token. */
1719
1720
  getProjectTokenInvite: (conf: {
@@ -1765,7 +1766,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1765
1766
  imageRefId?: string | undefined;
1766
1767
  isReady: boolean;
1767
1768
  machineType: MittwaldAPIV2.Components.Schemas.ProjectMachineType;
1768
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
1769
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectServerReadinessStatus;
1769
1770
  shortId: string;
1770
1771
  statisticsBaseDomain?: string | undefined;
1771
1772
  storage: string;
@@ -1831,9 +1832,10 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
1831
1832
  imageRefId?: string | undefined;
1832
1833
  isReady: boolean;
1833
1834
  projectHostingId?: string | undefined;
1834
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
1835
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
1835
1836
  serverId?: string | undefined;
1836
1837
  shortId: string;
1838
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
1837
1839
  }[]>;
1838
1840
  /** List Servers belonging to the executing user. */
1839
1841
  listServers: (conf?: {
@@ -3381,7 +3381,7 @@ declare namespace MittwaldAPIV2 {
3381
3381
  };
3382
3382
  };
3383
3383
  }
3384
- type ProjectDisableReason = "maliciousCode" | "illegalContent" | "maliciousConduct" | "suspended";
3384
+ type ProjectDeprecatedProjectReadinessStatus = "creating" | "ready" | "unready";
3385
3385
  interface ProjectFilesystemDirectoryListing {
3386
3386
  absolutePath: string;
3387
3387
  isDirectory?: boolean;
@@ -3411,6 +3411,8 @@ declare namespace MittwaldAPIV2 {
3411
3411
  memory: string;
3412
3412
  name: string;
3413
3413
  }
3414
+ type ProjectDisableReason = "maliciousCode" | "illegalContent" | "maliciousConduct" | "suspended";
3415
+ type ProjectProjectStatus = "pending" | "ready" | "preparingForVolumeMigration" | "migratingVolume" | "error" | "disabled";
3414
3416
  interface ProjectProject {
3415
3417
  clusterDomain?: string;
3416
3418
  clusterID?: string;
@@ -3425,19 +3427,21 @@ declare namespace MittwaldAPIV2 {
3425
3427
  id: string;
3426
3428
  imageRefId?: string;
3427
3429
  /**
3430
+ * @deprecated
3428
3431
  * deprecated
3429
3432
  */
3430
3433
  isReady: boolean;
3431
3434
  projectHostingId?: string;
3432
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
3435
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
3433
3436
  serverId?: string;
3434
3437
  serverShortId?: string;
3435
3438
  shortId: string;
3436
3439
  spec?: MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec;
3437
3440
  statisticsBaseDomain?: string;
3441
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
3438
3442
  }
3439
- type ProjectProjectReadinessStatus = "creating" | "ready" | "unready";
3440
3443
  type ProjectServerDisableReason = "suspended";
3444
+ type ProjectServerReadinessStatus = "creating" | "ready" | "unready";
3441
3445
  interface ProjectServer {
3442
3446
  clusterName: string;
3443
3447
  createdAt: string;
@@ -3448,7 +3452,7 @@ declare namespace MittwaldAPIV2 {
3448
3452
  imageRefId?: string;
3449
3453
  isReady: boolean;
3450
3454
  machineType: MittwaldAPIV2.Components.Schemas.ProjectMachineType;
3451
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
3455
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectServerReadinessStatus;
3452
3456
  shortId: string;
3453
3457
  statisticsBaseDomain?: string;
3454
3458
  storage: string;
@@ -13261,13 +13265,15 @@ declare namespace MittwaldAPIV2 {
13261
13265
  id: string;
13262
13266
  imageRefId?: string;
13263
13267
  /**
13268
+ * @deprecated
13264
13269
  * deprecated
13265
13270
  */
13266
13271
  isReady: boolean;
13267
13272
  projectHostingId?: string;
13268
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
13273
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
13269
13274
  serverId?: string;
13270
13275
  shortId: string;
13276
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
13271
13277
  }[];
13272
13278
  }
13273
13279
  }
@@ -24774,12 +24780,13 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24774
24780
  imageRefId?: string | undefined;
24775
24781
  isReady: boolean;
24776
24782
  projectHostingId?: string | undefined;
24777
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
24783
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
24778
24784
  serverId?: string | undefined;
24779
24785
  serverShortId?: string | undefined;
24780
24786
  shortId: string;
24781
24787
  spec?: MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec | MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | undefined;
24782
24788
  statisticsBaseDomain?: string | undefined;
24789
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
24783
24790
  }, 200, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
24784
24791
  [x: string]: unknown;
24785
24792
  }, 403, "application/json">>>;
@@ -24961,7 +24968,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24961
24968
  imageRefId?: string | undefined;
24962
24969
  isReady: boolean;
24963
24970
  machineType: MittwaldAPIV2.Components.Schemas.ProjectMachineType;
24964
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
24971
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectServerReadinessStatus;
24965
24972
  shortId: string;
24966
24973
  statisticsBaseDomain?: string | undefined;
24967
24974
  storage: string;
@@ -25138,9 +25145,10 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
25138
25145
  imageRefId?: string | undefined;
25139
25146
  isReady: boolean;
25140
25147
  projectHostingId?: string | undefined;
25141
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
25148
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
25142
25149
  serverId?: string | undefined;
25143
25150
  shortId: string;
25151
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
25144
25152
  }[], 200, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
25145
25153
  [x: string]: unknown;
25146
25154
  }, 400, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
@@ -3381,7 +3381,7 @@ declare namespace MittwaldAPIV2 {
3381
3381
  };
3382
3382
  };
3383
3383
  }
3384
- type ProjectDisableReason = "maliciousCode" | "illegalContent" | "maliciousConduct" | "suspended";
3384
+ type ProjectDeprecatedProjectReadinessStatus = "creating" | "ready" | "unready";
3385
3385
  interface ProjectFilesystemDirectoryListing {
3386
3386
  absolutePath: string;
3387
3387
  isDirectory?: boolean;
@@ -3411,6 +3411,8 @@ declare namespace MittwaldAPIV2 {
3411
3411
  memory: string;
3412
3412
  name: string;
3413
3413
  }
3414
+ type ProjectDisableReason = "maliciousCode" | "illegalContent" | "maliciousConduct" | "suspended";
3415
+ type ProjectProjectStatus = "pending" | "ready" | "preparingForVolumeMigration" | "migratingVolume" | "error" | "disabled";
3414
3416
  interface ProjectProject {
3415
3417
  clusterDomain?: string;
3416
3418
  clusterID?: string;
@@ -3425,19 +3427,21 @@ declare namespace MittwaldAPIV2 {
3425
3427
  id: string;
3426
3428
  imageRefId?: string;
3427
3429
  /**
3430
+ * @deprecated
3428
3431
  * deprecated
3429
3432
  */
3430
3433
  isReady: boolean;
3431
3434
  projectHostingId?: string;
3432
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
3435
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
3433
3436
  serverId?: string;
3434
3437
  serverShortId?: string;
3435
3438
  shortId: string;
3436
3439
  spec?: MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec;
3437
3440
  statisticsBaseDomain?: string;
3441
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
3438
3442
  }
3439
- type ProjectProjectReadinessStatus = "creating" | "ready" | "unready";
3440
3443
  type ProjectServerDisableReason = "suspended";
3444
+ type ProjectServerReadinessStatus = "creating" | "ready" | "unready";
3441
3445
  interface ProjectServer {
3442
3446
  clusterName: string;
3443
3447
  createdAt: string;
@@ -3448,7 +3452,7 @@ declare namespace MittwaldAPIV2 {
3448
3452
  imageRefId?: string;
3449
3453
  isReady: boolean;
3450
3454
  machineType: MittwaldAPIV2.Components.Schemas.ProjectMachineType;
3451
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
3455
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectServerReadinessStatus;
3452
3456
  shortId: string;
3453
3457
  statisticsBaseDomain?: string;
3454
3458
  storage: string;
@@ -13261,13 +13265,15 @@ declare namespace MittwaldAPIV2 {
13261
13265
  id: string;
13262
13266
  imageRefId?: string;
13263
13267
  /**
13268
+ * @deprecated
13264
13269
  * deprecated
13265
13270
  */
13266
13271
  isReady: boolean;
13267
13272
  projectHostingId?: string;
13268
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
13273
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
13269
13274
  serverId?: string;
13270
13275
  shortId: string;
13276
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
13271
13277
  }[];
13272
13278
  }
13273
13279
  }
@@ -24774,12 +24780,13 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24774
24780
  imageRefId?: string | undefined;
24775
24781
  isReady: boolean;
24776
24782
  projectHostingId?: string | undefined;
24777
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
24783
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
24778
24784
  serverId?: string | undefined;
24779
24785
  serverShortId?: string | undefined;
24780
24786
  shortId: string;
24781
24787
  spec?: MittwaldAPIV2.Components.Schemas.ProjectHardwareSpec | MittwaldAPIV2.Components.Schemas.ProjectVisitorSpec | undefined;
24782
24788
  statisticsBaseDomain?: string | undefined;
24789
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
24783
24790
  }, 200, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
24784
24791
  [x: string]: unknown;
24785
24792
  }, 403, "application/json">>>;
@@ -24961,7 +24968,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24961
24968
  imageRefId?: string | undefined;
24962
24969
  isReady: boolean;
24963
24970
  machineType: MittwaldAPIV2.Components.Schemas.ProjectMachineType;
24964
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
24971
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectServerReadinessStatus;
24965
24972
  shortId: string;
24966
24973
  statisticsBaseDomain?: string | undefined;
24967
24974
  storage: string;
@@ -25138,9 +25145,10 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
25138
25145
  imageRefId?: string | undefined;
25139
25146
  isReady: boolean;
25140
25147
  projectHostingId?: string | undefined;
25141
- readiness: MittwaldAPIV2.Components.Schemas.ProjectProjectReadinessStatus;
25148
+ readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
25142
25149
  serverId?: string | undefined;
25143
25150
  shortId: string;
25151
+ status: MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
25144
25152
  }[], 200, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
25145
25153
  [x: string]: unknown;
25146
25154
  }, 400, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '3.1.29';
1
+ export declare const MittwaldAPIClientVersion = '3.1.30';
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '3.1.29';
1
+ export const MittwaldAPIClientVersion = '3.1.30';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "3.1.29",
3
+ "version": "3.1.30",
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",