Skip to content

Commit aee0ed7

Browse files
feat: update generated client
1 parent 15b3928 commit aee0ed7

2 files changed

Lines changed: 30 additions & 26 deletions

File tree

packages/mittwald/spec/openapi.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

packages/mittwald/src/generated/v2/types.ts

Lines changed: 29 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4691,6 +4691,19 @@ export declare module MittwaldAPIV2 {
46914691
tags: string[];
46924692
}
46934693

4694+
/**
4695+
* The following assets are the media that are associated with the extension and will be shown in extension details page.
4696+
*/
4697+
export interface MarketplaceExtensionAsset {
4698+
assetType: "image" | "video";
4699+
fileName: string;
4700+
/**
4701+
* The asset ID and reference ID to its file. Retrieve the file with this id on `/v2/files/{id}
4702+
*/
4703+
id: string;
4704+
index: number;
4705+
}
4706+
46944707
/**
46954708
* @deprecated
46964709
*/
@@ -4779,6 +4792,17 @@ export declare module MittwaldAPIV2 {
47794792
amountOfInstances: number;
47804793
}
47814794

4795+
export interface MarketplaceWebhookUrl {
4796+
url: string;
4797+
}
4798+
4799+
export interface MarketplaceWebhookUrls {
4800+
extensionAddedToContext: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4801+
extensionInstanceRemovedFromContext: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4802+
extensionInstanceSecretRotated: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4803+
extensionInstanceUpdated: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4804+
}
4805+
47824806
export interface MarketplaceExternalComponent {
47834807
name: string;
47844808
url: string;
@@ -6704,30 +6728,6 @@ export declare module MittwaldAPIV2 {
67046728
value: string;
67056729
}
67066730

6707-
/**
6708-
* The following assets are the media that are associated with the extension and will be shown in extension details page.
6709-
*/
6710-
export interface MarketplaceExtensionAsset {
6711-
assetType: "image" | "video";
6712-
fileName: string;
6713-
/**
6714-
* The asset ID and reference ID to its file. Retrieve the file with this id on `/v2/files/{id}
6715-
*/
6716-
id: string;
6717-
index: number;
6718-
}
6719-
6720-
export interface MarketplaceWebhookUrl {
6721-
url: string;
6722-
}
6723-
6724-
export interface MarketplaceWebhookUrls {
6725-
extensionAddedToContext: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
6726-
extensionInstanceRemovedFromContext: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
6727-
extensionInstanceSecretRotated: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
6728-
extensionInstanceUpdated: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
6729-
}
6730-
67316731
export interface CommonsAddress {
67326732
street: string;
67336733
houseNumber: string;
@@ -17021,7 +17021,11 @@ export declare module MittwaldAPIV2 {
1702117021
namespace Get {
1702217022
namespace Parameters {
1702317023
export type Path = {
17024-
fileUploadType: "avatar" | "conversation";
17024+
fileUploadType:
17025+
| "avatar"
17026+
| "extensionAssetImage"
17027+
| "extensionAssetVideo"
17028+
| "conversation";
1702517029
};
1702617030

1702717031
export type Header = {};

0 commit comments

Comments
 (0)