@mittwald/api-client 4.115.1 → 4.116.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-react.js +2 -0
- 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 +44 -0
- package/dist/types/generated/v2/client.d.ts +454 -0
- package/dist/types/generated/v2/descriptors.d.ts +6 -0
- package/dist/types/generated/v2/types.d.ts +178 -0
- package/dist/types/version.d.ts +1 -1
- package/package.json +2 -2
|
@@ -202,6 +202,8 @@ const buildMarketplaceApi = (baseClient) => ({
|
|
|
202
202
|
extensionGetExtensionInstanceForProject: new ApiCallAsyncResourceFactory(descriptors.extensionGetExtensionInstanceForProject, baseClient.marketplace.extensionGetExtensionInstanceForProject).getApiResource,
|
|
203
203
|
/** Get an Extension. */
|
|
204
204
|
extensionGetExtension: new ApiCallAsyncResourceFactory(descriptors.extensionGetExtension, baseClient.marketplace.extensionGetExtension).getApiResource,
|
|
205
|
+
/** Get Extension of own contributor. */
|
|
206
|
+
extensionGetOwnExtension: new ApiCallAsyncResourceFactory(descriptors.extensionGetOwnExtension, baseClient.marketplace.extensionGetOwnExtension).getApiResource,
|
|
205
207
|
/** Get the public key to verify the webhook signature. */
|
|
206
208
|
extensionGetPublicKey: new ApiCallAsyncResourceFactory(descriptors.extensionGetPublicKey, baseClient.marketplace.extensionGetPublicKey).getApiResource,
|
|
207
209
|
/** List Contributors. */
|
|
@@ -178,6 +178,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
178
178
|
extensionGetExtensionInstanceForProject: this.requestFunctionFactory(descriptors.extensionGetExtensionInstanceForProject),
|
|
179
179
|
/** Get an Extension. */
|
|
180
180
|
extensionGetExtension: this.requestFunctionFactory(descriptors.extensionGetExtension),
|
|
181
|
+
/** Get Extension of own contributor. */
|
|
182
|
+
extensionGetOwnExtension: this.requestFunctionFactory(descriptors.extensionGetOwnExtension),
|
|
183
|
+
/** Patch Extension. */
|
|
184
|
+
extensionPatchExtension: this.requestFunctionFactory(descriptors.extensionPatchExtension),
|
|
181
185
|
/** Get the public key to verify the webhook signature. */
|
|
182
186
|
extensionGetPublicKey: this.requestFunctionFactory(descriptors.extensionGetPublicKey),
|
|
183
187
|
/** List Contributors. */
|
|
@@ -186,6 +190,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
186
190
|
extensionListExtensions: this.requestFunctionFactory(descriptors.extensionListExtensions),
|
|
187
191
|
/** List Extensions of own contributor. */
|
|
188
192
|
extensionListOwnExtensions: this.requestFunctionFactory(descriptors.extensionListOwnExtensions),
|
|
193
|
+
/** Register an Extension. */
|
|
194
|
+
extensionRegisterExtension: this.requestFunctionFactory(descriptors.extensionRegisterExtension),
|
|
189
195
|
};
|
|
190
196
|
/** The conversation API allows you to manage your support conversations. */
|
|
191
197
|
conversation = {
|
|
@@ -1024,6 +1024,18 @@ export const extensionGetExtension = {
|
|
|
1024
1024
|
method: "GET",
|
|
1025
1025
|
operationId: "extension-get-extension",
|
|
1026
1026
|
};
|
|
1027
|
+
/** Get Extension of own contributor. */
|
|
1028
|
+
export const extensionGetOwnExtension = {
|
|
1029
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}",
|
|
1030
|
+
method: "GET",
|
|
1031
|
+
operationId: "extension-get-own-extension",
|
|
1032
|
+
};
|
|
1033
|
+
/** Patch Extension. */
|
|
1034
|
+
export const extensionPatchExtension = {
|
|
1035
|
+
path: "/v2/contributors/{contributorId}/extensions/{extensionId}",
|
|
1036
|
+
method: "PATCH",
|
|
1037
|
+
operationId: "extension-patch-extension",
|
|
1038
|
+
};
|
|
1027
1039
|
/** Get the public key to verify the webhook signature. */
|
|
1028
1040
|
export const extensionGetPublicKey = {
|
|
1029
1041
|
path: "/v2/webhook-public-keys/{serial}",
|
|
@@ -1048,6 +1060,12 @@ export const extensionListOwnExtensions = {
|
|
|
1048
1060
|
method: "GET",
|
|
1049
1061
|
operationId: "extension-list-own-extensions",
|
|
1050
1062
|
};
|
|
1063
|
+
/** Register an Extension. */
|
|
1064
|
+
export const extensionRegisterExtension = {
|
|
1065
|
+
path: "/v2/contributors/{contributorId}/extensions",
|
|
1066
|
+
method: "POST",
|
|
1067
|
+
operationId: "extension-register-extension",
|
|
1068
|
+
};
|
|
1051
1069
|
/** Create a File. */
|
|
1052
1070
|
export const fileCreateFile = {
|
|
1053
1071
|
path: "/v2/files",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.115.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.115.1';
|
|
@@ -1493,6 +1493,50 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1493
1493
|
support: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta;
|
|
1494
1494
|
tags: string[];
|
|
1495
1495
|
}>;
|
|
1496
|
+
/** Get Extension of own contributor. */
|
|
1497
|
+
extensionGetOwnExtension: (conf: {
|
|
1498
|
+
contributorId: string;
|
|
1499
|
+
extensionId: string;
|
|
1500
|
+
headers?: {
|
|
1501
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1502
|
+
"x-access-token"?: string | undefined;
|
|
1503
|
+
} | undefined;
|
|
1504
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1505
|
+
assets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
|
|
1506
|
+
backendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents | undefined;
|
|
1507
|
+
blocked?: boolean | undefined;
|
|
1508
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
|
|
1509
|
+
contributorId: string;
|
|
1510
|
+
deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
|
|
1511
|
+
description?: string | undefined;
|
|
1512
|
+
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
1513
|
+
disabled?: boolean | undefined;
|
|
1514
|
+
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
1515
|
+
frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
1516
|
+
frontendFragments?: {
|
|
1517
|
+
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
1518
|
+
} | undefined;
|
|
1519
|
+
functional: boolean;
|
|
1520
|
+
id: string;
|
|
1521
|
+
logoRefId?: string | undefined;
|
|
1522
|
+
name: string;
|
|
1523
|
+
published: boolean;
|
|
1524
|
+
requestedChanges?: {
|
|
1525
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
1526
|
+
scopes?: string[];
|
|
1527
|
+
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
|
|
1528
|
+
} | undefined;
|
|
1529
|
+
scopes?: string[] | undefined;
|
|
1530
|
+
secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
|
|
1531
|
+
state?: "enabled" | "blocked" | "disabled" | undefined;
|
|
1532
|
+
statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
|
|
1533
|
+
subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
1534
|
+
support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
|
|
1535
|
+
tags?: string[] | undefined;
|
|
1536
|
+
verificationRequested: boolean;
|
|
1537
|
+
verified: boolean;
|
|
1538
|
+
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
|
|
1539
|
+
}>;
|
|
1496
1540
|
/** Get the public key to verify the webhook signature. */
|
|
1497
1541
|
extensionGetPublicKey: (conf: {
|
|
1498
1542
|
serial: string;
|
|
@@ -5164,6 +5164,332 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5164
5164
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5165
5165
|
[x: string]: unknown;
|
|
5166
5166
|
}, 429, "application/json">>>;
|
|
5167
|
+
/** Get Extension of own contributor. */
|
|
5168
|
+
extensionGetOwnExtension: (request: {
|
|
5169
|
+
contributorId: string;
|
|
5170
|
+
extensionId: string;
|
|
5171
|
+
headers?: {
|
|
5172
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5173
|
+
"x-access-token"?: string | undefined;
|
|
5174
|
+
} | undefined;
|
|
5175
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5176
|
+
headers?: Partial<{
|
|
5177
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5178
|
+
}>;
|
|
5179
|
+
} & {
|
|
5180
|
+
pathParameters: {
|
|
5181
|
+
contributorId: string;
|
|
5182
|
+
extensionId: string;
|
|
5183
|
+
};
|
|
5184
|
+
} & {
|
|
5185
|
+
headers: {
|
|
5186
|
+
"x-access-token"?: string | undefined;
|
|
5187
|
+
} & Partial<{
|
|
5188
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5189
|
+
}>;
|
|
5190
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
5191
|
+
assets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
|
|
5192
|
+
backendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents | undefined;
|
|
5193
|
+
blocked?: boolean | undefined;
|
|
5194
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
|
|
5195
|
+
contributorId: string;
|
|
5196
|
+
deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
|
|
5197
|
+
description?: string | undefined;
|
|
5198
|
+
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
5199
|
+
disabled?: boolean | undefined;
|
|
5200
|
+
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5201
|
+
frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5202
|
+
frontendFragments?: {
|
|
5203
|
+
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
5204
|
+
} | undefined;
|
|
5205
|
+
functional: boolean;
|
|
5206
|
+
id: string;
|
|
5207
|
+
logoRefId?: string | undefined;
|
|
5208
|
+
name: string;
|
|
5209
|
+
published: boolean;
|
|
5210
|
+
requestedChanges?: {
|
|
5211
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
5212
|
+
scopes?: string[];
|
|
5213
|
+
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
|
|
5214
|
+
} | undefined;
|
|
5215
|
+
scopes?: string[] | undefined;
|
|
5216
|
+
secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
|
|
5217
|
+
state?: "enabled" | "blocked" | "disabled" | undefined;
|
|
5218
|
+
statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
|
|
5219
|
+
subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
5220
|
+
support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
|
|
5221
|
+
tags?: string[] | undefined;
|
|
5222
|
+
verificationRequested: boolean;
|
|
5223
|
+
verified: boolean;
|
|
5224
|
+
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
|
|
5225
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5226
|
+
[x: string]: unknown;
|
|
5227
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5228
|
+
[x: string]: unknown;
|
|
5229
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5230
|
+
headers?: Partial<{
|
|
5231
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5232
|
+
}>;
|
|
5233
|
+
} & {
|
|
5234
|
+
pathParameters: {
|
|
5235
|
+
contributorId: string;
|
|
5236
|
+
extensionId: string;
|
|
5237
|
+
};
|
|
5238
|
+
} & {
|
|
5239
|
+
headers: {
|
|
5240
|
+
"x-access-token"?: string | undefined;
|
|
5241
|
+
} & Partial<{
|
|
5242
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5243
|
+
}>;
|
|
5244
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
5245
|
+
assets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
|
|
5246
|
+
backendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents | undefined;
|
|
5247
|
+
blocked?: boolean | undefined;
|
|
5248
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
|
|
5249
|
+
contributorId: string;
|
|
5250
|
+
deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
|
|
5251
|
+
description?: string | undefined;
|
|
5252
|
+
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
5253
|
+
disabled?: boolean | undefined;
|
|
5254
|
+
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5255
|
+
frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5256
|
+
frontendFragments?: {
|
|
5257
|
+
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
5258
|
+
} | undefined;
|
|
5259
|
+
functional: boolean;
|
|
5260
|
+
id: string;
|
|
5261
|
+
logoRefId?: string | undefined;
|
|
5262
|
+
name: string;
|
|
5263
|
+
published: boolean;
|
|
5264
|
+
requestedChanges?: {
|
|
5265
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
5266
|
+
scopes?: string[];
|
|
5267
|
+
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
|
|
5268
|
+
} | undefined;
|
|
5269
|
+
scopes?: string[] | undefined;
|
|
5270
|
+
secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
|
|
5271
|
+
state?: "enabled" | "blocked" | "disabled" | undefined;
|
|
5272
|
+
statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
|
|
5273
|
+
subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
5274
|
+
support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
|
|
5275
|
+
tags?: string[] | undefined;
|
|
5276
|
+
verificationRequested: boolean;
|
|
5277
|
+
verified: boolean;
|
|
5278
|
+
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
|
|
5279
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5280
|
+
[x: string]: unknown;
|
|
5281
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5282
|
+
[x: string]: unknown;
|
|
5283
|
+
}, 429, "application/json">>>;
|
|
5284
|
+
/** Patch Extension. */
|
|
5285
|
+
extensionPatchExtension: (request: {
|
|
5286
|
+
contributorId: string;
|
|
5287
|
+
extensionId: string;
|
|
5288
|
+
data?: {
|
|
5289
|
+
deprecation?: {
|
|
5290
|
+
deprecatedAt: string;
|
|
5291
|
+
note?: string | undefined;
|
|
5292
|
+
successorId?: string | undefined;
|
|
5293
|
+
} | undefined;
|
|
5294
|
+
description?: string | undefined;
|
|
5295
|
+
detailedDescriptions?: {
|
|
5296
|
+
de: {
|
|
5297
|
+
markdown: string;
|
|
5298
|
+
plain?: string | undefined;
|
|
5299
|
+
};
|
|
5300
|
+
en?: {
|
|
5301
|
+
markdown: string;
|
|
5302
|
+
plain?: string | undefined;
|
|
5303
|
+
} | undefined;
|
|
5304
|
+
} | undefined;
|
|
5305
|
+
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5306
|
+
frontendFragments?: {
|
|
5307
|
+
[x: string]: {
|
|
5308
|
+
url: string;
|
|
5309
|
+
additionalProperties?: {
|
|
5310
|
+
[x: string]: string;
|
|
5311
|
+
} | undefined;
|
|
5312
|
+
};
|
|
5313
|
+
} | undefined;
|
|
5314
|
+
name?: string | undefined;
|
|
5315
|
+
scopes?: string[] | undefined;
|
|
5316
|
+
subTitle?: {
|
|
5317
|
+
de: string;
|
|
5318
|
+
en?: string | undefined;
|
|
5319
|
+
} | undefined;
|
|
5320
|
+
support?: {
|
|
5321
|
+
email?: string | undefined;
|
|
5322
|
+
phone?: string | undefined;
|
|
5323
|
+
} | undefined;
|
|
5324
|
+
tags?: string[] | undefined;
|
|
5325
|
+
webhookUrls?: {
|
|
5326
|
+
extensionAddedToContext: {
|
|
5327
|
+
url: string;
|
|
5328
|
+
};
|
|
5329
|
+
extensionInstanceRemovedFromContext: {
|
|
5330
|
+
url: string;
|
|
5331
|
+
};
|
|
5332
|
+
extensionInstanceSecretRotated: {
|
|
5333
|
+
url: string;
|
|
5334
|
+
};
|
|
5335
|
+
extensionInstanceUpdated: {
|
|
5336
|
+
url: string;
|
|
5337
|
+
};
|
|
5338
|
+
} | undefined;
|
|
5339
|
+
} | undefined;
|
|
5340
|
+
headers?: {
|
|
5341
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5342
|
+
"x-access-token"?: string | undefined;
|
|
5343
|
+
} | undefined;
|
|
5344
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5345
|
+
data: {
|
|
5346
|
+
deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
|
|
5347
|
+
description?: string | undefined;
|
|
5348
|
+
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
5349
|
+
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5350
|
+
frontendFragments?: {
|
|
5351
|
+
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
5352
|
+
} | undefined;
|
|
5353
|
+
name?: string | undefined;
|
|
5354
|
+
scopes?: string[] | undefined;
|
|
5355
|
+
subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
5356
|
+
support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
|
|
5357
|
+
tags?: string[] | undefined;
|
|
5358
|
+
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
|
|
5359
|
+
};
|
|
5360
|
+
} & {
|
|
5361
|
+
pathParameters: {
|
|
5362
|
+
contributorId: string;
|
|
5363
|
+
extensionId: string;
|
|
5364
|
+
};
|
|
5365
|
+
} & {
|
|
5366
|
+
headers?: Partial<{
|
|
5367
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5368
|
+
}>;
|
|
5369
|
+
} & {
|
|
5370
|
+
headers: {
|
|
5371
|
+
"x-access-token"?: string | undefined;
|
|
5372
|
+
} & Partial<{
|
|
5373
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5374
|
+
}>;
|
|
5375
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
5376
|
+
assets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
|
|
5377
|
+
backendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents | undefined;
|
|
5378
|
+
blocked?: boolean | undefined;
|
|
5379
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
|
|
5380
|
+
contributorId: string;
|
|
5381
|
+
deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
|
|
5382
|
+
description?: string | undefined;
|
|
5383
|
+
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
5384
|
+
disabled?: boolean | undefined;
|
|
5385
|
+
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5386
|
+
frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5387
|
+
frontendFragments?: {
|
|
5388
|
+
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
5389
|
+
} | undefined;
|
|
5390
|
+
functional: boolean;
|
|
5391
|
+
id: string;
|
|
5392
|
+
logoRefId?: string | undefined;
|
|
5393
|
+
name: string;
|
|
5394
|
+
published: boolean;
|
|
5395
|
+
requestedChanges?: {
|
|
5396
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
5397
|
+
scopes?: string[];
|
|
5398
|
+
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
|
|
5399
|
+
} | undefined;
|
|
5400
|
+
scopes?: string[] | undefined;
|
|
5401
|
+
secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
|
|
5402
|
+
state?: "enabled" | "blocked" | "disabled" | undefined;
|
|
5403
|
+
statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
|
|
5404
|
+
subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
5405
|
+
support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
|
|
5406
|
+
tags?: string[] | undefined;
|
|
5407
|
+
verificationRequested: boolean;
|
|
5408
|
+
verified: boolean;
|
|
5409
|
+
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
|
|
5410
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5411
|
+
[x: string]: unknown;
|
|
5412
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5413
|
+
[x: string]: unknown;
|
|
5414
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5415
|
+
[x: string]: unknown;
|
|
5416
|
+
}, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5417
|
+
[x: string]: unknown;
|
|
5418
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5419
|
+
data: {
|
|
5420
|
+
deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
|
|
5421
|
+
description?: string | undefined;
|
|
5422
|
+
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
5423
|
+
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5424
|
+
frontendFragments?: {
|
|
5425
|
+
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
5426
|
+
} | undefined;
|
|
5427
|
+
name?: string | undefined;
|
|
5428
|
+
scopes?: string[] | undefined;
|
|
5429
|
+
subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
5430
|
+
support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
|
|
5431
|
+
tags?: string[] | undefined;
|
|
5432
|
+
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
|
|
5433
|
+
};
|
|
5434
|
+
} & {
|
|
5435
|
+
pathParameters: {
|
|
5436
|
+
contributorId: string;
|
|
5437
|
+
extensionId: string;
|
|
5438
|
+
};
|
|
5439
|
+
} & {
|
|
5440
|
+
headers?: Partial<{
|
|
5441
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5442
|
+
}>;
|
|
5443
|
+
} & {
|
|
5444
|
+
headers: {
|
|
5445
|
+
"x-access-token"?: string | undefined;
|
|
5446
|
+
} & Partial<{
|
|
5447
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5448
|
+
}>;
|
|
5449
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
5450
|
+
assets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
|
|
5451
|
+
backendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents | undefined;
|
|
5452
|
+
blocked?: boolean | undefined;
|
|
5453
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
|
|
5454
|
+
contributorId: string;
|
|
5455
|
+
deprecation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation | undefined;
|
|
5456
|
+
description?: string | undefined;
|
|
5457
|
+
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
5458
|
+
disabled?: boolean | undefined;
|
|
5459
|
+
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5460
|
+
frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5461
|
+
frontendFragments?: {
|
|
5462
|
+
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
5463
|
+
} | undefined;
|
|
5464
|
+
functional: boolean;
|
|
5465
|
+
id: string;
|
|
5466
|
+
logoRefId?: string | undefined;
|
|
5467
|
+
name: string;
|
|
5468
|
+
published: boolean;
|
|
5469
|
+
requestedChanges?: {
|
|
5470
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
5471
|
+
scopes?: string[];
|
|
5472
|
+
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
|
|
5473
|
+
} | undefined;
|
|
5474
|
+
scopes?: string[] | undefined;
|
|
5475
|
+
secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
|
|
5476
|
+
state?: "enabled" | "blocked" | "disabled" | undefined;
|
|
5477
|
+
statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
|
|
5478
|
+
subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
5479
|
+
support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
|
|
5480
|
+
tags?: string[] | undefined;
|
|
5481
|
+
verificationRequested: boolean;
|
|
5482
|
+
verified: boolean;
|
|
5483
|
+
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
|
|
5484
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5485
|
+
[x: string]: unknown;
|
|
5486
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5487
|
+
[x: string]: unknown;
|
|
5488
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5489
|
+
[x: string]: unknown;
|
|
5490
|
+
}, 409, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5491
|
+
[x: string]: unknown;
|
|
5492
|
+
}, 429, "application/json">>>;
|
|
5167
5493
|
/** Get the public key to verify the webhook signature. */
|
|
5168
5494
|
extensionGetPublicKey: (request: {
|
|
5169
5495
|
serial: string;
|
|
@@ -5348,6 +5674,134 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5348
5674
|
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5349
5675
|
[x: string]: unknown;
|
|
5350
5676
|
}, 429, "application/json">>>;
|
|
5677
|
+
/** Register an Extension. */
|
|
5678
|
+
extensionRegisterExtension: (request: {
|
|
5679
|
+
data: {
|
|
5680
|
+
name: string;
|
|
5681
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
|
|
5682
|
+
description?: string | undefined;
|
|
5683
|
+
detailedDescriptions?: {
|
|
5684
|
+
de: {
|
|
5685
|
+
markdown: string;
|
|
5686
|
+
plain?: string | undefined;
|
|
5687
|
+
};
|
|
5688
|
+
en?: {
|
|
5689
|
+
markdown: string;
|
|
5690
|
+
plain?: string | undefined;
|
|
5691
|
+
} | undefined;
|
|
5692
|
+
} | undefined;
|
|
5693
|
+
externalFrontend?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5694
|
+
frontendFragments?: {
|
|
5695
|
+
[x: string]: {
|
|
5696
|
+
url: string;
|
|
5697
|
+
additionalProperties?: {
|
|
5698
|
+
[x: string]: string;
|
|
5699
|
+
} | undefined;
|
|
5700
|
+
};
|
|
5701
|
+
} | undefined;
|
|
5702
|
+
scopes?: string[] | undefined;
|
|
5703
|
+
subTitle?: {
|
|
5704
|
+
de: string;
|
|
5705
|
+
en?: string | undefined;
|
|
5706
|
+
} | undefined;
|
|
5707
|
+
support?: {
|
|
5708
|
+
email?: string | undefined;
|
|
5709
|
+
phone?: string | undefined;
|
|
5710
|
+
} | undefined;
|
|
5711
|
+
tags?: string[] | undefined;
|
|
5712
|
+
webhookURLs?: {
|
|
5713
|
+
extensionAddedToContext: {
|
|
5714
|
+
url: string;
|
|
5715
|
+
};
|
|
5716
|
+
extensionInstanceRemovedFromContext: {
|
|
5717
|
+
url: string;
|
|
5718
|
+
};
|
|
5719
|
+
extensionInstanceSecretRotated: {
|
|
5720
|
+
url: string;
|
|
5721
|
+
};
|
|
5722
|
+
extensionInstanceUpdated: {
|
|
5723
|
+
url: string;
|
|
5724
|
+
};
|
|
5725
|
+
} | undefined;
|
|
5726
|
+
};
|
|
5727
|
+
contributorId: string;
|
|
5728
|
+
headers?: {
|
|
5729
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5730
|
+
"x-access-token"?: string | undefined;
|
|
5731
|
+
} | undefined;
|
|
5732
|
+
}, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5733
|
+
data: {
|
|
5734
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
|
|
5735
|
+
description?: string | undefined;
|
|
5736
|
+
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
5737
|
+
externalFrontend?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5738
|
+
frontendFragments?: {
|
|
5739
|
+
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
5740
|
+
} | undefined;
|
|
5741
|
+
name: string;
|
|
5742
|
+
scopes?: string[] | undefined;
|
|
5743
|
+
subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
5744
|
+
support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
|
|
5745
|
+
tags?: string[] | undefined;
|
|
5746
|
+
webhookURLs?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
|
|
5747
|
+
};
|
|
5748
|
+
} & {
|
|
5749
|
+
pathParameters: {
|
|
5750
|
+
contributorId: string;
|
|
5751
|
+
};
|
|
5752
|
+
} & {
|
|
5753
|
+
headers?: Partial<{
|
|
5754
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5755
|
+
}>;
|
|
5756
|
+
} & {
|
|
5757
|
+
headers: {
|
|
5758
|
+
"x-access-token"?: string | undefined;
|
|
5759
|
+
} & Partial<{
|
|
5760
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5761
|
+
}>;
|
|
5762
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
5763
|
+
id: string;
|
|
5764
|
+
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5765
|
+
[x: string]: unknown;
|
|
5766
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5767
|
+
[x: string]: unknown;
|
|
5768
|
+
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5769
|
+
data: {
|
|
5770
|
+
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext | undefined;
|
|
5771
|
+
description?: string | undefined;
|
|
5772
|
+
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
5773
|
+
externalFrontend?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5774
|
+
frontendFragments?: {
|
|
5775
|
+
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
5776
|
+
} | undefined;
|
|
5777
|
+
name: string;
|
|
5778
|
+
scopes?: string[] | undefined;
|
|
5779
|
+
subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
|
|
5780
|
+
support?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
|
|
5781
|
+
tags?: string[] | undefined;
|
|
5782
|
+
webhookURLs?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
|
|
5783
|
+
};
|
|
5784
|
+
} & {
|
|
5785
|
+
pathParameters: {
|
|
5786
|
+
contributorId: string;
|
|
5787
|
+
};
|
|
5788
|
+
} & {
|
|
5789
|
+
headers?: Partial<{
|
|
5790
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5791
|
+
}>;
|
|
5792
|
+
} & {
|
|
5793
|
+
headers: {
|
|
5794
|
+
"x-access-token"?: string | undefined;
|
|
5795
|
+
} & Partial<{
|
|
5796
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5797
|
+
}>;
|
|
5798
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
5799
|
+
id: string;
|
|
5800
|
+
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5801
|
+
[x: string]: unknown;
|
|
5802
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5803
|
+
[x: string]: unknown;
|
|
5804
|
+
}, 429, "application/json">>>;
|
|
5351
5805
|
};
|
|
5352
5806
|
/** The conversation API allows you to manage your support conversations. */
|
|
5353
5807
|
readonly conversation: {
|
|
@@ -345,6 +345,10 @@ export declare const extensionGetExtensionInstanceForCustomer: OpenAPIOperation<
|
|
|
345
345
|
export declare const extensionGetExtensionInstanceForProject: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdExtensionsExtensionId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdExtensionsExtensionId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdExtensionsExtensionId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdExtensionsExtensionId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdExtensionsExtensionId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdExtensionsExtensionId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdExtensionsExtensionId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
346
346
|
/** Get an Extension. */
|
|
347
347
|
export declare const extensionGetExtension: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionsExtensionId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
348
|
+
/** Get Extension of own contributor. */
|
|
349
|
+
export declare const extensionGetOwnExtension: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
350
|
+
/** Patch Extension. */
|
|
351
|
+
export declare const extensionPatchExtension: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Patch.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Patch.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionId.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
348
352
|
/** Get the public key to verify the webhook signature. */
|
|
349
353
|
export declare const extensionGetPublicKey: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2WebhookPublicKeysSerial.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2WebhookPublicKeysSerial.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2WebhookPublicKeysSerial.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2WebhookPublicKeysSerial.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2WebhookPublicKeysSerial.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2WebhookPublicKeysSerial.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2WebhookPublicKeysSerial.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
350
354
|
/** List Contributors. */
|
|
@@ -353,6 +357,8 @@ export declare const extensionListContributors: OpenAPIOperation<RequestType<Sim
|
|
|
353
357
|
export declare const extensionListExtensions: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Extensions.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Extensions.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Extensions.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Extensions.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Extensions.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Extensions.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
354
358
|
/** List Extensions of own contributor. */
|
|
355
359
|
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">>;
|
|
360
|
+
/** Register an Extension. */
|
|
361
|
+
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">>;
|
|
356
362
|
/** Create a File. */
|
|
357
363
|
export declare const fileCreateFile: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$401.Content.ApplicationJson>, 401, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$406.Content.ApplicationJson>, 406, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$422.Content.ApplicationJson>, 422, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
358
364
|
/** Get a File's meta. */
|
|
@@ -686,6 +686,14 @@ export declare namespace MittwaldAPIV2 {
|
|
|
686
686
|
type RequestData = InferredRequestData<typeof descriptors.extensionGetExtension>;
|
|
687
687
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionGetExtension, TStatus>;
|
|
688
688
|
}
|
|
689
|
+
namespace ExtensionGetOwnExtension {
|
|
690
|
+
type RequestData = InferredRequestData<typeof descriptors.extensionGetOwnExtension>;
|
|
691
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionGetOwnExtension, TStatus>;
|
|
692
|
+
}
|
|
693
|
+
namespace ExtensionPatchExtension {
|
|
694
|
+
type RequestData = InferredRequestData<typeof descriptors.extensionPatchExtension>;
|
|
695
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionPatchExtension, TStatus>;
|
|
696
|
+
}
|
|
689
697
|
namespace ExtensionGetPublicKey {
|
|
690
698
|
type RequestData = InferredRequestData<typeof descriptors.extensionGetPublicKey>;
|
|
691
699
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionGetPublicKey, TStatus>;
|
|
@@ -702,6 +710,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
702
710
|
type RequestData = InferredRequestData<typeof descriptors.extensionListOwnExtensions>;
|
|
703
711
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionListOwnExtensions, TStatus>;
|
|
704
712
|
}
|
|
713
|
+
namespace ExtensionRegisterExtension {
|
|
714
|
+
type RequestData = InferredRequestData<typeof descriptors.extensionRegisterExtension>;
|
|
715
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionRegisterExtension, TStatus>;
|
|
716
|
+
}
|
|
705
717
|
namespace FileCreateFile {
|
|
706
718
|
type RequestData = InferredRequestData<typeof descriptors.fileCreateFile>;
|
|
707
719
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileCreateFile, TStatus>;
|
|
@@ -2561,6 +2573,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2561
2573
|
removalIsPending: boolean;
|
|
2562
2574
|
webhooksAreHalted: boolean;
|
|
2563
2575
|
}
|
|
2576
|
+
interface MarketplaceExtensionSecret {
|
|
2577
|
+
secretId: string;
|
|
2578
|
+
usableUntil?: string;
|
|
2579
|
+
}
|
|
2564
2580
|
interface MarketplaceExtensionStatistics {
|
|
2565
2581
|
/**
|
|
2566
2582
|
* The amout of instances for this extension. Accurate for the Contributor. Publicly rounded to the next lower hundred.
|
|
@@ -2620,6 +2636,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2620
2636
|
webhookUrls?: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
|
|
2621
2637
|
};
|
|
2622
2638
|
scopes?: string[];
|
|
2639
|
+
secrets: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
|
|
2623
2640
|
/**
|
|
2624
2641
|
* deprecated
|
|
2625
2642
|
*/
|
|
@@ -12506,6 +12523,113 @@ export declare namespace MittwaldAPIV2 {
|
|
|
12506
12523
|
}
|
|
12507
12524
|
}
|
|
12508
12525
|
}
|
|
12526
|
+
namespace V2ContributorsContributorIdExtensionsExtensionId {
|
|
12527
|
+
namespace Get {
|
|
12528
|
+
namespace Parameters {
|
|
12529
|
+
type Path = {
|
|
12530
|
+
contributorId: string;
|
|
12531
|
+
extensionId: string;
|
|
12532
|
+
};
|
|
12533
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
12534
|
+
type Query = {};
|
|
12535
|
+
}
|
|
12536
|
+
namespace Responses {
|
|
12537
|
+
namespace $200 {
|
|
12538
|
+
namespace Content {
|
|
12539
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension;
|
|
12540
|
+
}
|
|
12541
|
+
}
|
|
12542
|
+
namespace $404 {
|
|
12543
|
+
namespace Content {
|
|
12544
|
+
interface ApplicationJson {
|
|
12545
|
+
[k: string]: unknown;
|
|
12546
|
+
}
|
|
12547
|
+
}
|
|
12548
|
+
}
|
|
12549
|
+
namespace $429 {
|
|
12550
|
+
namespace Content {
|
|
12551
|
+
interface ApplicationJson {
|
|
12552
|
+
[k: string]: unknown;
|
|
12553
|
+
}
|
|
12554
|
+
}
|
|
12555
|
+
}
|
|
12556
|
+
namespace Default {
|
|
12557
|
+
namespace Content {
|
|
12558
|
+
interface ApplicationJson {
|
|
12559
|
+
[k: string]: unknown;
|
|
12560
|
+
}
|
|
12561
|
+
}
|
|
12562
|
+
}
|
|
12563
|
+
}
|
|
12564
|
+
}
|
|
12565
|
+
namespace Patch {
|
|
12566
|
+
namespace Parameters {
|
|
12567
|
+
type Path = {
|
|
12568
|
+
contributorId: string;
|
|
12569
|
+
extensionId: string;
|
|
12570
|
+
};
|
|
12571
|
+
interface RequestBody {
|
|
12572
|
+
deprecation?: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionDeprecation;
|
|
12573
|
+
description?: string;
|
|
12574
|
+
detailedDescriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions;
|
|
12575
|
+
externalFrontends?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
|
|
12576
|
+
frontendFragments?: {
|
|
12577
|
+
[k: string]: MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
12578
|
+
};
|
|
12579
|
+
name?: string;
|
|
12580
|
+
scopes?: string[];
|
|
12581
|
+
subTitle?: MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle;
|
|
12582
|
+
support?: MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta;
|
|
12583
|
+
tags?: string[];
|
|
12584
|
+
webhookUrls?: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
|
|
12585
|
+
}
|
|
12586
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
12587
|
+
type Query = {};
|
|
12588
|
+
}
|
|
12589
|
+
namespace Responses {
|
|
12590
|
+
namespace $200 {
|
|
12591
|
+
namespace Content {
|
|
12592
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension;
|
|
12593
|
+
}
|
|
12594
|
+
}
|
|
12595
|
+
namespace $400 {
|
|
12596
|
+
namespace Content {
|
|
12597
|
+
interface ApplicationJson {
|
|
12598
|
+
[k: string]: unknown;
|
|
12599
|
+
}
|
|
12600
|
+
}
|
|
12601
|
+
}
|
|
12602
|
+
namespace $404 {
|
|
12603
|
+
namespace Content {
|
|
12604
|
+
interface ApplicationJson {
|
|
12605
|
+
[k: string]: unknown;
|
|
12606
|
+
}
|
|
12607
|
+
}
|
|
12608
|
+
}
|
|
12609
|
+
namespace $409 {
|
|
12610
|
+
namespace Content {
|
|
12611
|
+
interface ApplicationJson {
|
|
12612
|
+
[k: string]: unknown;
|
|
12613
|
+
}
|
|
12614
|
+
}
|
|
12615
|
+
}
|
|
12616
|
+
namespace $429 {
|
|
12617
|
+
namespace Content {
|
|
12618
|
+
interface ApplicationJson {
|
|
12619
|
+
[k: string]: unknown;
|
|
12620
|
+
}
|
|
12621
|
+
}
|
|
12622
|
+
}
|
|
12623
|
+
namespace Default {
|
|
12624
|
+
namespace Content {
|
|
12625
|
+
interface ApplicationJson {
|
|
12626
|
+
[k: string]: unknown;
|
|
12627
|
+
}
|
|
12628
|
+
}
|
|
12629
|
+
}
|
|
12630
|
+
}
|
|
12631
|
+
}
|
|
12632
|
+
}
|
|
12509
12633
|
namespace V2WebhookPublicKeysSerial {
|
|
12510
12634
|
namespace Get {
|
|
12511
12635
|
namespace Parameters {
|
|
@@ -12649,6 +12773,60 @@ export declare namespace MittwaldAPIV2 {
|
|
|
12649
12773
|
}
|
|
12650
12774
|
}
|
|
12651
12775
|
}
|
|
12776
|
+
namespace Post {
|
|
12777
|
+
namespace Parameters {
|
|
12778
|
+
type Path = {
|
|
12779
|
+
contributorId: string;
|
|
12780
|
+
};
|
|
12781
|
+
interface RequestBody {
|
|
12782
|
+
context?: MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
12783
|
+
description?: string;
|
|
12784
|
+
detailedDescriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions;
|
|
12785
|
+
externalFrontend?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
|
|
12786
|
+
frontendFragments?: {
|
|
12787
|
+
[k: string]: MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
12788
|
+
};
|
|
12789
|
+
name: string;
|
|
12790
|
+
scopes?: string[];
|
|
12791
|
+
subTitle?: MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle;
|
|
12792
|
+
support?: MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta;
|
|
12793
|
+
tags?: string[];
|
|
12794
|
+
webhookURLs?: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
|
|
12795
|
+
}
|
|
12796
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
12797
|
+
type Query = {};
|
|
12798
|
+
}
|
|
12799
|
+
namespace Responses {
|
|
12800
|
+
namespace $201 {
|
|
12801
|
+
namespace Content {
|
|
12802
|
+
interface ApplicationJson {
|
|
12803
|
+
id: string;
|
|
12804
|
+
}
|
|
12805
|
+
}
|
|
12806
|
+
}
|
|
12807
|
+
namespace $400 {
|
|
12808
|
+
namespace Content {
|
|
12809
|
+
interface ApplicationJson {
|
|
12810
|
+
[k: string]: unknown;
|
|
12811
|
+
}
|
|
12812
|
+
}
|
|
12813
|
+
}
|
|
12814
|
+
namespace $429 {
|
|
12815
|
+
namespace Content {
|
|
12816
|
+
interface ApplicationJson {
|
|
12817
|
+
[k: string]: unknown;
|
|
12818
|
+
}
|
|
12819
|
+
}
|
|
12820
|
+
}
|
|
12821
|
+
namespace Default {
|
|
12822
|
+
namespace Content {
|
|
12823
|
+
interface ApplicationJson {
|
|
12824
|
+
[k: string]: unknown;
|
|
12825
|
+
}
|
|
12826
|
+
}
|
|
12827
|
+
}
|
|
12828
|
+
}
|
|
12829
|
+
}
|
|
12652
12830
|
}
|
|
12653
12831
|
namespace V2Files {
|
|
12654
12832
|
namespace Post {
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.115.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.115.1';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.116.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": "3d601c3dad1d69e072fc887199c97c2147c3cc36"
|
|
84
84
|
}
|