@mittwald/api-client 4.119.0 → 4.121.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.
- package/dist/esm/generated/v2/client.js +6 -0
- package/dist/esm/generated/v2/descriptors.js +18 -0
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +1 -1
- package/dist/types/generated/v2/client.d.ts +260 -2
- package/dist/types/generated/v2/descriptors.d.ts +6 -0
- package/dist/types/generated/v2/types.d.ts +213 -1
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -194,8 +194,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
194
194
|
extensionListOwnExtensions: this.requestFunctionFactory(descriptors.extensionListOwnExtensions),
|
|
195
195
|
/** Register an Extension. */
|
|
196
196
|
extensionRegisterExtension: this.requestFunctionFactory(descriptors.extensionRegisterExtension),
|
|
197
|
+
/** Remove an asset of an extension. */
|
|
198
|
+
extensionRemoveAsset: this.requestFunctionFactory(descriptors.extensionRemoveAsset),
|
|
199
|
+
/** Add an asset to an extension. */
|
|
200
|
+
extensionRequestAssetUpload: this.requestFunctionFactory(descriptors.extensionRequestAssetUpload),
|
|
197
201
|
/** Start the verification process of an Extension. */
|
|
198
202
|
extensionRequestExtensionVerification: this.requestFunctionFactory(descriptors.extensionRequestExtensionVerification),
|
|
203
|
+
/** Add a logo to an extension. */
|
|
204
|
+
extensionRequestLogoUpload: this.requestFunctionFactory(descriptors.extensionRequestLogoUpload),
|
|
199
205
|
/** Publish or withdraw an Extension. */
|
|
200
206
|
extensionSetExtensionPublishedState: this.requestFunctionFactory(descriptors.extensionSetExtensionPublishedState),
|
|
201
207
|
};
|
|
@@ -1072,12 +1072,30 @@ export const extensionRegisterExtension = {
|
|
|
1072
1072
|
method: "POST",
|
|
1073
1073
|
operationId: "extension-register-extension",
|
|
1074
1074
|
};
|
|
1075
|
+
/** Remove an asset of an extension. */
|
|
1076
|
+
export const extensionRemoveAsset = {
|
|
1077
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/assets/{assetRefId}",
|
|
1078
|
+
method: "DELETE",
|
|
1079
|
+
operationId: "extension-remove-asset",
|
|
1080
|
+
};
|
|
1081
|
+
/** Add an asset to an extension. */
|
|
1082
|
+
export const extensionRequestAssetUpload = {
|
|
1083
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/assets",
|
|
1084
|
+
method: "POST",
|
|
1085
|
+
operationId: "extension-request-asset-upload",
|
|
1086
|
+
};
|
|
1075
1087
|
/** Start the verification process of an Extension. */
|
|
1076
1088
|
export const extensionRequestExtensionVerification = {
|
|
1077
1089
|
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/verification-process",
|
|
1078
1090
|
method: "POST",
|
|
1079
1091
|
operationId: "extension-request-extension-verification",
|
|
1080
1092
|
};
|
|
1093
|
+
/** Add a logo to an extension. */
|
|
1094
|
+
export const extensionRequestLogoUpload = {
|
|
1095
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/logo",
|
|
1096
|
+
method: "POST",
|
|
1097
|
+
operationId: "extension-request-logo-upload",
|
|
1098
|
+
};
|
|
1081
1099
|
/** Publish or withdraw an Extension. */
|
|
1082
1100
|
export const extensionSetExtensionPublishedState = {
|
|
1083
1101
|
path: "/v2/contributors/{contributorId}/extensions/{extensionId}/published",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.120.0';
|
|
@@ -1483,7 +1483,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1483
1483
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
1484
1484
|
} | undefined;
|
|
1485
1485
|
id: string;
|
|
1486
|
-
logoRefId
|
|
1486
|
+
logoRefId: string;
|
|
1487
1487
|
name: string;
|
|
1488
1488
|
published: boolean;
|
|
1489
1489
|
scopes: string[];
|
|
@@ -5169,7 +5169,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5169
5169
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
5170
5170
|
} | undefined;
|
|
5171
5171
|
id: string;
|
|
5172
|
-
logoRefId
|
|
5172
|
+
logoRefId: string;
|
|
5173
5173
|
name: string;
|
|
5174
5174
|
published: boolean;
|
|
5175
5175
|
scopes: string[];
|
|
@@ -5205,7 +5205,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5205
5205
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
5206
5206
|
} | undefined;
|
|
5207
5207
|
id: string;
|
|
5208
|
-
logoRefId
|
|
5208
|
+
logoRefId: string;
|
|
5209
5209
|
name: string;
|
|
5210
5210
|
published: boolean;
|
|
5211
5211
|
scopes: string[];
|
|
@@ -5746,6 +5746,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5746
5746
|
} | undefined;
|
|
5747
5747
|
} | undefined;
|
|
5748
5748
|
externalFrontend?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5749
|
+
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5749
5750
|
frontendFragments?: {
|
|
5750
5751
|
[x: string]: {
|
|
5751
5752
|
url: string;
|
|
@@ -5790,6 +5791,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5790
5791
|
description?: string | undefined;
|
|
5791
5792
|
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
5792
5793
|
externalFrontend?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5794
|
+
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5793
5795
|
frontendFragments?: {
|
|
5794
5796
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
5795
5797
|
} | undefined;
|
|
@@ -5826,6 +5828,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5826
5828
|
description?: string | undefined;
|
|
5827
5829
|
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
5828
5830
|
externalFrontend?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5831
|
+
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5829
5832
|
frontendFragments?: {
|
|
5830
5833
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
5831
5834
|
} | undefined;
|
|
@@ -5857,6 +5860,168 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5857
5860
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5858
5861
|
[x: string]: unknown;
|
|
5859
5862
|
}, 429, "application/json">>>;
|
|
5863
|
+
/** Remove an asset of an extension. */
|
|
5864
|
+
extensionRemoveAsset: (request: {
|
|
5865
|
+
contributorId: string;
|
|
5866
|
+
extensionId: string;
|
|
5867
|
+
assetRefId: string;
|
|
5868
|
+
headers?: {
|
|
5869
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5870
|
+
"x-access-token"?: string | undefined;
|
|
5871
|
+
} | undefined;
|
|
5872
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5873
|
+
headers?: Partial<{
|
|
5874
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5875
|
+
}>;
|
|
5876
|
+
} & {
|
|
5877
|
+
pathParameters: {
|
|
5878
|
+
contributorId: string;
|
|
5879
|
+
extensionId: string;
|
|
5880
|
+
assetRefId: string;
|
|
5881
|
+
};
|
|
5882
|
+
} & {
|
|
5883
|
+
headers: {
|
|
5884
|
+
"x-access-token"?: string | undefined;
|
|
5885
|
+
} & Partial<{
|
|
5886
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5887
|
+
}>;
|
|
5888
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
5889
|
+
[x: string]: unknown;
|
|
5890
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5891
|
+
[x: string]: unknown;
|
|
5892
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5893
|
+
headers?: Partial<{
|
|
5894
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5895
|
+
}>;
|
|
5896
|
+
} & {
|
|
5897
|
+
pathParameters: {
|
|
5898
|
+
contributorId: string;
|
|
5899
|
+
extensionId: string;
|
|
5900
|
+
assetRefId: string;
|
|
5901
|
+
};
|
|
5902
|
+
} & {
|
|
5903
|
+
headers: {
|
|
5904
|
+
"x-access-token"?: string | undefined;
|
|
5905
|
+
} & Partial<{
|
|
5906
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5907
|
+
}>;
|
|
5908
|
+
}, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
|
|
5909
|
+
[x: string]: unknown;
|
|
5910
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5911
|
+
[x: string]: unknown;
|
|
5912
|
+
}, 429, "application/json">>>;
|
|
5913
|
+
/** Add an asset to an extension. */
|
|
5914
|
+
extensionRequestAssetUpload: (request: {
|
|
5915
|
+
data: {
|
|
5916
|
+
assetType: "image" | "video";
|
|
5917
|
+
};
|
|
5918
|
+
contributorId: string;
|
|
5919
|
+
extensionId: string;
|
|
5920
|
+
headers?: {
|
|
5921
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5922
|
+
"x-access-token"?: string | undefined;
|
|
5923
|
+
} | undefined;
|
|
5924
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5925
|
+
data: {
|
|
5926
|
+
assetType: "image" | "video";
|
|
5927
|
+
};
|
|
5928
|
+
} & {
|
|
5929
|
+
pathParameters: {
|
|
5930
|
+
contributorId: string;
|
|
5931
|
+
extensionId: string;
|
|
5932
|
+
};
|
|
5933
|
+
} & {
|
|
5934
|
+
headers?: Partial<{
|
|
5935
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5936
|
+
}>;
|
|
5937
|
+
} & {
|
|
5938
|
+
headers: {
|
|
5939
|
+
"x-access-token"?: string | undefined;
|
|
5940
|
+
} & Partial<{
|
|
5941
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5942
|
+
}>;
|
|
5943
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
5944
|
+
assetRefId: string;
|
|
5945
|
+
rules: {
|
|
5946
|
+
extensions: string[];
|
|
5947
|
+
fileTypes: {
|
|
5948
|
+
extensions: string[];
|
|
5949
|
+
mimeType: string;
|
|
5950
|
+
}[];
|
|
5951
|
+
maxSizeInBytes: number;
|
|
5952
|
+
mimeTypes: string[];
|
|
5953
|
+
properties?: {
|
|
5954
|
+
imageDimensions?: {
|
|
5955
|
+
max: {
|
|
5956
|
+
height?: number;
|
|
5957
|
+
width?: number;
|
|
5958
|
+
};
|
|
5959
|
+
min: {
|
|
5960
|
+
height?: number;
|
|
5961
|
+
width?: number;
|
|
5962
|
+
};
|
|
5963
|
+
};
|
|
5964
|
+
};
|
|
5965
|
+
};
|
|
5966
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5967
|
+
[x: string]: unknown;
|
|
5968
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5969
|
+
[x: string]: unknown;
|
|
5970
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5971
|
+
[x: string]: unknown;
|
|
5972
|
+
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5973
|
+
[x: string]: unknown;
|
|
5974
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5975
|
+
data: {
|
|
5976
|
+
assetType: "image" | "video";
|
|
5977
|
+
};
|
|
5978
|
+
} & {
|
|
5979
|
+
pathParameters: {
|
|
5980
|
+
contributorId: string;
|
|
5981
|
+
extensionId: string;
|
|
5982
|
+
};
|
|
5983
|
+
} & {
|
|
5984
|
+
headers?: Partial<{
|
|
5985
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5986
|
+
}>;
|
|
5987
|
+
} & {
|
|
5988
|
+
headers: {
|
|
5989
|
+
"x-access-token"?: string | undefined;
|
|
5990
|
+
} & Partial<{
|
|
5991
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5992
|
+
}>;
|
|
5993
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
5994
|
+
assetRefId: string;
|
|
5995
|
+
rules: {
|
|
5996
|
+
extensions: string[];
|
|
5997
|
+
fileTypes: {
|
|
5998
|
+
extensions: string[];
|
|
5999
|
+
mimeType: string;
|
|
6000
|
+
}[];
|
|
6001
|
+
maxSizeInBytes: number;
|
|
6002
|
+
mimeTypes: string[];
|
|
6003
|
+
properties?: {
|
|
6004
|
+
imageDimensions?: {
|
|
6005
|
+
max: {
|
|
6006
|
+
height?: number;
|
|
6007
|
+
width?: number;
|
|
6008
|
+
};
|
|
6009
|
+
min: {
|
|
6010
|
+
height?: number;
|
|
6011
|
+
width?: number;
|
|
6012
|
+
};
|
|
6013
|
+
};
|
|
6014
|
+
};
|
|
6015
|
+
};
|
|
6016
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6017
|
+
[x: string]: unknown;
|
|
6018
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6019
|
+
[x: string]: unknown;
|
|
6020
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6021
|
+
[x: string]: unknown;
|
|
6022
|
+
}, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6023
|
+
[x: string]: unknown;
|
|
6024
|
+
}, 429, "application/json">>>;
|
|
5860
6025
|
/** Start the verification process of an Extension. */
|
|
5861
6026
|
extensionRequestExtensionVerification: (request: {
|
|
5862
6027
|
contributorId: string;
|
|
@@ -5904,6 +6069,99 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5904
6069
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5905
6070
|
[x: string]: unknown;
|
|
5906
6071
|
}, 429, "application/json">>>;
|
|
6072
|
+
/** Add a logo to an extension. */
|
|
6073
|
+
extensionRequestLogoUpload: (request: {
|
|
6074
|
+
contributorId: string;
|
|
6075
|
+
extensionId: string;
|
|
6076
|
+
headers?: {
|
|
6077
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6078
|
+
"x-access-token"?: string | undefined;
|
|
6079
|
+
} | undefined;
|
|
6080
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6081
|
+
headers?: Partial<{
|
|
6082
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6083
|
+
}>;
|
|
6084
|
+
} & {
|
|
6085
|
+
pathParameters: {
|
|
6086
|
+
contributorId: string;
|
|
6087
|
+
extensionId: string;
|
|
6088
|
+
};
|
|
6089
|
+
} & {
|
|
6090
|
+
headers: {
|
|
6091
|
+
"x-access-token"?: string | undefined;
|
|
6092
|
+
} & Partial<{
|
|
6093
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6094
|
+
}>;
|
|
6095
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
6096
|
+
logoRefId: string;
|
|
6097
|
+
rules: {
|
|
6098
|
+
extensions: string[];
|
|
6099
|
+
fileTypes: {
|
|
6100
|
+
extensions: string[];
|
|
6101
|
+
mimeType: string;
|
|
6102
|
+
}[];
|
|
6103
|
+
maxSizeInBytes: number;
|
|
6104
|
+
mimeTypes: string[];
|
|
6105
|
+
properties?: {
|
|
6106
|
+
imageDimensions?: {
|
|
6107
|
+
max: {
|
|
6108
|
+
height?: number;
|
|
6109
|
+
width?: number;
|
|
6110
|
+
};
|
|
6111
|
+
min: {
|
|
6112
|
+
height?: number;
|
|
6113
|
+
width?: number;
|
|
6114
|
+
};
|
|
6115
|
+
};
|
|
6116
|
+
};
|
|
6117
|
+
};
|
|
6118
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6119
|
+
[x: string]: unknown;
|
|
6120
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6121
|
+
[x: string]: unknown;
|
|
6122
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6123
|
+
headers?: Partial<{
|
|
6124
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6125
|
+
}>;
|
|
6126
|
+
} & {
|
|
6127
|
+
pathParameters: {
|
|
6128
|
+
contributorId: string;
|
|
6129
|
+
extensionId: string;
|
|
6130
|
+
};
|
|
6131
|
+
} & {
|
|
6132
|
+
headers: {
|
|
6133
|
+
"x-access-token"?: string | undefined;
|
|
6134
|
+
} & Partial<{
|
|
6135
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6136
|
+
}>;
|
|
6137
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
6138
|
+
logoRefId: string;
|
|
6139
|
+
rules: {
|
|
6140
|
+
extensions: string[];
|
|
6141
|
+
fileTypes: {
|
|
6142
|
+
extensions: string[];
|
|
6143
|
+
mimeType: string;
|
|
6144
|
+
}[];
|
|
6145
|
+
maxSizeInBytes: number;
|
|
6146
|
+
mimeTypes: string[];
|
|
6147
|
+
properties?: {
|
|
6148
|
+
imageDimensions?: {
|
|
6149
|
+
max: {
|
|
6150
|
+
height?: number;
|
|
6151
|
+
width?: number;
|
|
6152
|
+
};
|
|
6153
|
+
min: {
|
|
6154
|
+
height?: number;
|
|
6155
|
+
width?: number;
|
|
6156
|
+
};
|
|
6157
|
+
};
|
|
6158
|
+
};
|
|
6159
|
+
};
|
|
6160
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6161
|
+
[x: string]: unknown;
|
|
6162
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6163
|
+
[x: string]: unknown;
|
|
6164
|
+
}, 429, "application/json">>>;
|
|
5907
6165
|
/** Publish or withdraw an Extension. */
|
|
5908
6166
|
extensionSetExtensionPublishedState: (request: {
|
|
5909
6167
|
data: {
|
|
@@ -361,8 +361,14 @@ export declare const extensionListExtensions: OpenAPIOperation<RequestType<Simpl
|
|
|
361
361
|
export declare const extensionListOwnExtensions: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
362
362
|
/** Register an Extension. */
|
|
363
363
|
export declare const extensionRegisterExtension: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensions.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
364
|
+
/** Remove an asset of an extension. */
|
|
365
|
+
export declare const extensionRemoveAsset: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId.Delete.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
366
|
+
/** Add an asset to an extension. */
|
|
367
|
+
export declare const extensionRequestAssetUpload: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
364
368
|
/** Start the verification process of an Extension. */
|
|
365
369
|
export declare const extensionRequestExtensionVerification: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Responses.$204.Content.ApplicationJson>, 204, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
370
|
+
/** Add a logo to an extension. */
|
|
371
|
+
export declare const extensionRequestLogoUpload: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdLogo.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdLogo.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdLogo.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdLogo.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdLogo.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdLogo.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdLogo.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
366
372
|
/** Publish or withdraw an Extension. */
|
|
367
373
|
export declare const extensionSetExtensionPublishedState: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
368
374
|
/** Create a File. */
|
|
@@ -718,10 +718,22 @@ export declare namespace MittwaldAPIV2 {
|
|
|
718
718
|
type RequestData = InferredRequestData<typeof descriptors.extensionRegisterExtension>;
|
|
719
719
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionRegisterExtension, TStatus>;
|
|
720
720
|
}
|
|
721
|
+
namespace ExtensionRemoveAsset {
|
|
722
|
+
type RequestData = InferredRequestData<typeof descriptors.extensionRemoveAsset>;
|
|
723
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionRemoveAsset, TStatus>;
|
|
724
|
+
}
|
|
725
|
+
namespace ExtensionRequestAssetUpload {
|
|
726
|
+
type RequestData = InferredRequestData<typeof descriptors.extensionRequestAssetUpload>;
|
|
727
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionRequestAssetUpload, TStatus>;
|
|
728
|
+
}
|
|
721
729
|
namespace ExtensionRequestExtensionVerification {
|
|
722
730
|
type RequestData = InferredRequestData<typeof descriptors.extensionRequestExtensionVerification>;
|
|
723
731
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionRequestExtensionVerification, TStatus>;
|
|
724
732
|
}
|
|
733
|
+
namespace ExtensionRequestLogoUpload {
|
|
734
|
+
type RequestData = InferredRequestData<typeof descriptors.extensionRequestLogoUpload>;
|
|
735
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionRequestLogoUpload, TStatus>;
|
|
736
|
+
}
|
|
725
737
|
namespace ExtensionSetExtensionPublishedState {
|
|
726
738
|
type RequestData = InferredRequestData<typeof descriptors.extensionSetExtensionPublishedState>;
|
|
727
739
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionSetExtensionPublishedState, TStatus>;
|
|
@@ -2478,7 +2490,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2478
2490
|
/**
|
|
2479
2491
|
* This is the FileId of the Logo. Retrieve the file with this id on `/v2/files/{logoRefId}`.
|
|
2480
2492
|
*/
|
|
2481
|
-
logoRefId
|
|
2493
|
+
logoRefId: string;
|
|
2482
2494
|
name: string;
|
|
2483
2495
|
/**
|
|
2484
2496
|
* Whether the extension has been published by the contributor.
|
|
@@ -12849,7 +12861,11 @@ export declare namespace MittwaldAPIV2 {
|
|
|
12849
12861
|
context?: MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
12850
12862
|
description?: string;
|
|
12851
12863
|
detailedDescriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions;
|
|
12864
|
+
/**
|
|
12865
|
+
* @deprecated
|
|
12866
|
+
*/
|
|
12852
12867
|
externalFrontend?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
|
|
12868
|
+
externalFrontends?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
|
|
12853
12869
|
frontendFragments?: {
|
|
12854
12870
|
[k: string]: MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
12855
12871
|
};
|
|
@@ -12895,6 +12911,133 @@ export declare namespace MittwaldAPIV2 {
|
|
|
12895
12911
|
}
|
|
12896
12912
|
}
|
|
12897
12913
|
}
|
|
12914
|
+
namespace V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId {
|
|
12915
|
+
namespace Delete {
|
|
12916
|
+
namespace Parameters {
|
|
12917
|
+
type Path = {
|
|
12918
|
+
contributorId: string;
|
|
12919
|
+
extensionId: string;
|
|
12920
|
+
assetRefId: string;
|
|
12921
|
+
};
|
|
12922
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
12923
|
+
type Query = {};
|
|
12924
|
+
}
|
|
12925
|
+
namespace Responses {
|
|
12926
|
+
namespace $204 {
|
|
12927
|
+
namespace Content {
|
|
12928
|
+
type Empty = unknown;
|
|
12929
|
+
}
|
|
12930
|
+
}
|
|
12931
|
+
namespace $404 {
|
|
12932
|
+
namespace Content {
|
|
12933
|
+
interface ApplicationJson {
|
|
12934
|
+
[k: string]: unknown;
|
|
12935
|
+
}
|
|
12936
|
+
}
|
|
12937
|
+
}
|
|
12938
|
+
namespace $429 {
|
|
12939
|
+
namespace Content {
|
|
12940
|
+
interface ApplicationJson {
|
|
12941
|
+
[k: string]: unknown;
|
|
12942
|
+
}
|
|
12943
|
+
}
|
|
12944
|
+
}
|
|
12945
|
+
namespace Default {
|
|
12946
|
+
namespace Content {
|
|
12947
|
+
interface ApplicationJson {
|
|
12948
|
+
[k: string]: unknown;
|
|
12949
|
+
}
|
|
12950
|
+
}
|
|
12951
|
+
}
|
|
12952
|
+
}
|
|
12953
|
+
}
|
|
12954
|
+
}
|
|
12955
|
+
namespace V2ContributorsContributorIdExtensionsExtensionIdAssets {
|
|
12956
|
+
namespace Post {
|
|
12957
|
+
namespace Parameters {
|
|
12958
|
+
type Path = {
|
|
12959
|
+
contributorId: string;
|
|
12960
|
+
extensionId: string;
|
|
12961
|
+
};
|
|
12962
|
+
interface RequestBody {
|
|
12963
|
+
assetType: "image" | "video";
|
|
12964
|
+
}
|
|
12965
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
12966
|
+
type Query = {};
|
|
12967
|
+
}
|
|
12968
|
+
namespace Responses {
|
|
12969
|
+
namespace $200 {
|
|
12970
|
+
namespace Content {
|
|
12971
|
+
interface ApplicationJson {
|
|
12972
|
+
/**
|
|
12973
|
+
* Use the ID as upload token at `/v2/files/{assetRefId}`. This ID will also be the ID of your asset in extension.
|
|
12974
|
+
*/
|
|
12975
|
+
assetRefId: string;
|
|
12976
|
+
/**
|
|
12977
|
+
* Constraints for the asset image or video upload, defers on the given assetType.
|
|
12978
|
+
*/
|
|
12979
|
+
rules: {
|
|
12980
|
+
extensions: string[];
|
|
12981
|
+
fileTypes: {
|
|
12982
|
+
extensions: string[];
|
|
12983
|
+
mimeType: string;
|
|
12984
|
+
}[];
|
|
12985
|
+
maxSizeInBytes: number;
|
|
12986
|
+
mimeTypes: string[];
|
|
12987
|
+
properties?: {
|
|
12988
|
+
imageDimensions?: {
|
|
12989
|
+
max: {
|
|
12990
|
+
height?: number;
|
|
12991
|
+
width?: number;
|
|
12992
|
+
};
|
|
12993
|
+
min: {
|
|
12994
|
+
height?: number;
|
|
12995
|
+
width?: number;
|
|
12996
|
+
};
|
|
12997
|
+
};
|
|
12998
|
+
};
|
|
12999
|
+
};
|
|
13000
|
+
}
|
|
13001
|
+
}
|
|
13002
|
+
}
|
|
13003
|
+
namespace $400 {
|
|
13004
|
+
namespace Content {
|
|
13005
|
+
interface ApplicationJson {
|
|
13006
|
+
[k: string]: unknown;
|
|
13007
|
+
}
|
|
13008
|
+
}
|
|
13009
|
+
}
|
|
13010
|
+
namespace $404 {
|
|
13011
|
+
namespace Content {
|
|
13012
|
+
interface ApplicationJson {
|
|
13013
|
+
[k: string]: unknown;
|
|
13014
|
+
}
|
|
13015
|
+
}
|
|
13016
|
+
}
|
|
13017
|
+
namespace $412 {
|
|
13018
|
+
namespace Content {
|
|
13019
|
+
interface ApplicationJson {
|
|
13020
|
+
[k: string]: unknown;
|
|
13021
|
+
}
|
|
13022
|
+
}
|
|
13023
|
+
}
|
|
13024
|
+
namespace $429 {
|
|
13025
|
+
namespace Content {
|
|
13026
|
+
interface ApplicationJson {
|
|
13027
|
+
[k: string]: unknown;
|
|
13028
|
+
}
|
|
13029
|
+
}
|
|
13030
|
+
}
|
|
13031
|
+
namespace Default {
|
|
13032
|
+
namespace Content {
|
|
13033
|
+
interface ApplicationJson {
|
|
13034
|
+
[k: string]: unknown;
|
|
13035
|
+
}
|
|
13036
|
+
}
|
|
13037
|
+
}
|
|
13038
|
+
}
|
|
13039
|
+
}
|
|
13040
|
+
}
|
|
12898
13041
|
namespace V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess {
|
|
12899
13042
|
namespace Post {
|
|
12900
13043
|
namespace Parameters {
|
|
@@ -12936,6 +13079,75 @@ export declare namespace MittwaldAPIV2 {
|
|
|
12936
13079
|
}
|
|
12937
13080
|
}
|
|
12938
13081
|
}
|
|
13082
|
+
namespace V2ContributorsContributorIdExtensionsExtensionIdLogo {
|
|
13083
|
+
namespace Post {
|
|
13084
|
+
namespace Parameters {
|
|
13085
|
+
type Path = {
|
|
13086
|
+
contributorId: string;
|
|
13087
|
+
extensionId: string;
|
|
13088
|
+
};
|
|
13089
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
13090
|
+
type Query = {};
|
|
13091
|
+
}
|
|
13092
|
+
namespace Responses {
|
|
13093
|
+
namespace $200 {
|
|
13094
|
+
namespace Content {
|
|
13095
|
+
interface ApplicationJson {
|
|
13096
|
+
/**
|
|
13097
|
+
* Use the logoRefId as updload token at `/v2/files/{logoRefId}`.
|
|
13098
|
+
*/
|
|
13099
|
+
logoRefId: string;
|
|
13100
|
+
/**
|
|
13101
|
+
* Constraints for the logo image upload.
|
|
13102
|
+
*/
|
|
13103
|
+
rules: {
|
|
13104
|
+
extensions: string[];
|
|
13105
|
+
fileTypes: {
|
|
13106
|
+
extensions: string[];
|
|
13107
|
+
mimeType: string;
|
|
13108
|
+
}[];
|
|
13109
|
+
maxSizeInBytes: number;
|
|
13110
|
+
mimeTypes: string[];
|
|
13111
|
+
properties?: {
|
|
13112
|
+
imageDimensions?: {
|
|
13113
|
+
max: {
|
|
13114
|
+
height?: number;
|
|
13115
|
+
width?: number;
|
|
13116
|
+
};
|
|
13117
|
+
min: {
|
|
13118
|
+
height?: number;
|
|
13119
|
+
width?: number;
|
|
13120
|
+
};
|
|
13121
|
+
};
|
|
13122
|
+
};
|
|
13123
|
+
};
|
|
13124
|
+
}
|
|
13125
|
+
}
|
|
13126
|
+
}
|
|
13127
|
+
namespace $404 {
|
|
13128
|
+
namespace Content {
|
|
13129
|
+
interface ApplicationJson {
|
|
13130
|
+
[k: string]: unknown;
|
|
13131
|
+
}
|
|
13132
|
+
}
|
|
13133
|
+
}
|
|
13134
|
+
namespace $429 {
|
|
13135
|
+
namespace Content {
|
|
13136
|
+
interface ApplicationJson {
|
|
13137
|
+
[k: string]: unknown;
|
|
13138
|
+
}
|
|
13139
|
+
}
|
|
13140
|
+
}
|
|
13141
|
+
namespace Default {
|
|
13142
|
+
namespace Content {
|
|
13143
|
+
interface ApplicationJson {
|
|
13144
|
+
[k: string]: unknown;
|
|
13145
|
+
}
|
|
13146
|
+
}
|
|
13147
|
+
}
|
|
13148
|
+
}
|
|
13149
|
+
}
|
|
13150
|
+
}
|
|
12939
13151
|
namespace V2ContributorsContributorIdExtensionsExtensionIdPublished {
|
|
12940
13152
|
namespace Put {
|
|
12941
13153
|
namespace Parameters {
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.120.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.121.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": "
|
|
83
|
+
"gitHead": "90daab9ab063106ee7d06da77c2c32dfa4468628"
|
|
84
84
|
}
|