@mittwald/api-client 4.107.0 → 4.109.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.106.0';
1
+ export const MittwaldAPIClientVersion = '4.108.0';
@@ -1586,7 +1586,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1586
1586
  }>;
1587
1587
  /** Get a FileUploadType's rules. */
1588
1588
  getFileUploadTypeRules: (conf: {
1589
- fileUploadType: "avatar" | "conversation";
1589
+ fileUploadType: "avatar" | "extensionAssetImage" | "extensionAssetVideo" | "conversation";
1590
1590
  headers?: {
1591
1591
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1592
1592
  } | undefined;
@@ -17158,7 +17158,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17158
17158
  }, 500, "application/json">>>;
17159
17159
  /** Get a FileUploadType's rules. */
17160
17160
  getFileUploadTypeRules: (request: {
17161
- fileUploadType: "avatar" | "conversation";
17161
+ fileUploadType: "avatar" | "extensionAssetImage" | "extensionAssetVideo" | "conversation";
17162
17162
  headers?: {
17163
17163
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
17164
17164
  } | undefined;
@@ -17168,7 +17168,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17168
17168
  }>;
17169
17169
  } & {
17170
17170
  pathParameters: {
17171
- fileUploadType: "avatar" | "conversation";
17171
+ fileUploadType: "avatar" | "extensionAssetImage" | "extensionAssetVideo" | "conversation";
17172
17172
  };
17173
17173
  }, import("@mittwald/api-client-commons").Response<{
17174
17174
  extensions: string[];
@@ -17201,7 +17201,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
17201
17201
  }>;
17202
17202
  } & {
17203
17203
  pathParameters: {
17204
- fileUploadType: "avatar" | "conversation";
17204
+ fileUploadType: "avatar" | "extensionAssetImage" | "extensionAssetVideo" | "conversation";
17205
17205
  };
17206
17206
  }, import("@mittwald/api-client-commons").Response<{
17207
17207
  extensions: string[];
@@ -2472,6 +2472,18 @@ export declare namespace MittwaldAPIV2 {
2472
2472
  */
2473
2473
  tags: string[];
2474
2474
  }
2475
+ /**
2476
+ * The following assets are the media that are associated with the extension and will be shown in extension details page.
2477
+ */
2478
+ interface MarketplaceExtensionAsset {
2479
+ assetType: "image" | "video";
2480
+ fileName: string;
2481
+ /**
2482
+ * The asset ID and reference ID to its file. Retrieve the file with this id on `/v2/files/{id}
2483
+ */
2484
+ id: string;
2485
+ index: number;
2486
+ }
2475
2487
  /**
2476
2488
  * @deprecated
2477
2489
  */
@@ -2550,6 +2562,15 @@ export declare namespace MittwaldAPIV2 {
2550
2562
  interface MarketplaceExtensionStatistics {
2551
2563
  amountOfInstances: number;
2552
2564
  }
2565
+ interface MarketplaceWebhookUrl {
2566
+ url: string;
2567
+ }
2568
+ interface MarketplaceWebhookUrls {
2569
+ extensionAddedToContext: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
2570
+ extensionInstanceRemovedFromContext: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
2571
+ extensionInstanceSecretRotated: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
2572
+ extensionInstanceUpdated: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
2573
+ }
2553
2574
  interface MarketplaceExternalComponent {
2554
2575
  name: string;
2555
2576
  url: string;
@@ -3678,32 +3699,7 @@ export declare namespace MittwaldAPIV2 {
3678
3699
  webStorageUsageInBytes: number;
3679
3700
  webStorageUsageInBytesSetAt: string;
3680
3701
  }
3681
- interface ProjectScaling {
3682
- maximum: number;
3683
- minimum: number;
3684
- }
3685
3702
  type ProjectServerDisableReason = "suspended";
3686
- interface ProjectServerInternal {
3687
- clusterName: string;
3688
- createdAt: string;
3689
- customerId: string;
3690
- description: string;
3691
- disabledReason?: MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason;
3692
- id: string;
3693
- imageRefId?: string;
3694
- /**
3695
- * @deprecated
3696
- * deprecated by property status
3697
- */
3698
- isReady: boolean;
3699
- machineType: MittwaldAPIV2.Components.Schemas.ProjectMachineType;
3700
- readiness: MittwaldAPIV2.Components.Schemas.ProjectDeprecatedServerReadinessStatus;
3701
- scaling?: MittwaldAPIV2.Components.Schemas.ProjectScaling;
3702
- shortId: string;
3703
- statisticsBaseDomain?: string;
3704
- status: MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
3705
- storage: string;
3706
- }
3707
3703
  type ProjectServerStatus = "pending" | "ready" | "unready";
3708
3704
  interface ProjectServer {
3709
3705
  clusterName: string;
@@ -4160,27 +4156,6 @@ export declare namespace MittwaldAPIV2 {
4160
4156
  name: string;
4161
4157
  value: string;
4162
4158
  }
4163
- /**
4164
- * The following assets are the media that are associated with the extension and will be shown in extension details page.
4165
- */
4166
- interface MarketplaceExtensionAsset {
4167
- assetType: "image" | "video";
4168
- fileName: string;
4169
- /**
4170
- * The asset ID and reference ID to its file. Retrieve the file with this id on `/v2/files/{id}
4171
- */
4172
- id: string;
4173
- index: number;
4174
- }
4175
- interface MarketplaceWebhookUrl {
4176
- url: string;
4177
- }
4178
- interface MarketplaceWebhookUrls {
4179
- extensionAddedToContext: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4180
- extensionInstanceRemovedFromContext: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4181
- extensionInstanceSecretRotated: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4182
- extensionInstanceUpdated: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4183
- }
4184
4159
  interface CommonsAddress {
4185
4160
  street: string;
4186
4161
  houseNumber: string;
@@ -12858,7 +12833,7 @@ export declare namespace MittwaldAPIV2 {
12858
12833
  namespace Get {
12859
12834
  namespace Parameters {
12860
12835
  type Path = {
12861
- fileUploadType: "avatar" | "conversation";
12836
+ fileUploadType: "avatar" | "extensionAssetImage" | "extensionAssetVideo" | "conversation";
12862
12837
  };
12863
12838
  type Header = {};
12864
12839
  type Query = {};
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.106.0';
1
+ export declare const MittwaldAPIClientVersion = '4.108.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.107.0",
3
+ "version": "4.109.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",
@@ -80,5 +80,5 @@
80
80
  "optional": true
81
81
  }
82
82
  },
83
- "gitHead": "15b392827ec77cff6a4a2b56037e95f6671a7a11"
83
+ "gitHead": "81f9a7ad5a6b5b63ea7522913d4078657aae0c2b"
84
84
  }