@mittwald/api-client 4.106.0 → 4.108.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/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.107.0';
|
|
@@ -1462,6 +1462,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1462
1462
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1463
1463
|
} | undefined;
|
|
1464
1464
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1465
|
+
assets: [] | [import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset] | [import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset] | [import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset] | [import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset];
|
|
1465
1466
|
blocked: boolean;
|
|
1466
1467
|
context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
1467
1468
|
contributorId: string;
|
|
@@ -1469,6 +1470,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1469
1470
|
description: string;
|
|
1470
1471
|
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
1471
1472
|
disabled: boolean;
|
|
1473
|
+
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
1472
1474
|
frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
1473
1475
|
frontendFragments?: {
|
|
1474
1476
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
@@ -1525,6 +1527,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1525
1527
|
contributorId: string;
|
|
1526
1528
|
headers?: {
|
|
1527
1529
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1530
|
+
"x-access-token"?: string | undefined;
|
|
1528
1531
|
} | undefined;
|
|
1529
1532
|
queryParameters?: {
|
|
1530
1533
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -1583,7 +1586,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1583
1586
|
}>;
|
|
1584
1587
|
/** Get a FileUploadType's rules. */
|
|
1585
1588
|
getFileUploadTypeRules: (conf: {
|
|
1586
|
-
fileUploadType: "avatar" | "conversation";
|
|
1589
|
+
fileUploadType: "avatar" | "extensionAssetImage" | "extensionAssetVideo" | "conversation";
|
|
1587
1590
|
headers?: {
|
|
1588
1591
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1589
1592
|
} | undefined;
|
|
@@ -5077,6 +5077,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5077
5077
|
extensionId: string;
|
|
5078
5078
|
};
|
|
5079
5079
|
}, import("@mittwald/api-client-commons").Response<{
|
|
5080
|
+
assets: [] | [import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset] | [import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset] | [import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset] | [import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset];
|
|
5080
5081
|
blocked: boolean;
|
|
5081
5082
|
context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
5082
5083
|
contributorId: string;
|
|
@@ -5084,6 +5085,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5084
5085
|
description: string;
|
|
5085
5086
|
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
5086
5087
|
disabled: boolean;
|
|
5088
|
+
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5087
5089
|
frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5088
5090
|
frontendFragments?: {
|
|
5089
5091
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
@@ -5111,6 +5113,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5111
5113
|
extensionId: string;
|
|
5112
5114
|
};
|
|
5113
5115
|
}, import("@mittwald/api-client-commons").Response<{
|
|
5116
|
+
assets: [] | [import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset] | [import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset] | [import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset] | [import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset, import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset];
|
|
5114
5117
|
blocked: boolean;
|
|
5115
5118
|
context: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
5116
5119
|
contributorId: string;
|
|
@@ -5118,6 +5121,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5118
5121
|
description: string;
|
|
5119
5122
|
detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
|
|
5120
5123
|
disabled: boolean;
|
|
5124
|
+
externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5121
5125
|
frontendComponents?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
|
|
5122
5126
|
frontendFragments?: {
|
|
5123
5127
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
@@ -5264,6 +5268,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5264
5268
|
contributorId: string;
|
|
5265
5269
|
headers?: {
|
|
5266
5270
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5271
|
+
"x-access-token"?: string | undefined;
|
|
5267
5272
|
} | undefined;
|
|
5268
5273
|
queryParameters?: {
|
|
5269
5274
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -5287,6 +5292,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5287
5292
|
} & Partial<{
|
|
5288
5293
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5289
5294
|
}>;
|
|
5295
|
+
} & {
|
|
5296
|
+
headers: {
|
|
5297
|
+
"x-access-token"?: string | undefined;
|
|
5298
|
+
} & Partial<{
|
|
5299
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5300
|
+
}>;
|
|
5290
5301
|
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5291
5302
|
[x: string]: unknown;
|
|
5292
5303
|
}, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
@@ -5305,6 +5316,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5305
5316
|
} & Partial<{
|
|
5306
5317
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5307
5318
|
}>;
|
|
5319
|
+
} & {
|
|
5320
|
+
headers: {
|
|
5321
|
+
"x-access-token"?: string | undefined;
|
|
5322
|
+
} & Partial<{
|
|
5323
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5324
|
+
}>;
|
|
5308
5325
|
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5309
5326
|
[x: string]: unknown;
|
|
5310
5327
|
}, 429, "application/json">>>;
|
|
@@ -17141,7 +17158,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
17141
17158
|
}, 500, "application/json">>>;
|
|
17142
17159
|
/** Get a FileUploadType's rules. */
|
|
17143
17160
|
getFileUploadTypeRules: (request: {
|
|
17144
|
-
fileUploadType: "avatar" | "conversation";
|
|
17161
|
+
fileUploadType: "avatar" | "extensionAssetImage" | "extensionAssetVideo" | "conversation";
|
|
17145
17162
|
headers?: {
|
|
17146
17163
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
17147
17164
|
} | undefined;
|
|
@@ -17151,7 +17168,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
17151
17168
|
}>;
|
|
17152
17169
|
} & {
|
|
17153
17170
|
pathParameters: {
|
|
17154
|
-
fileUploadType: "avatar" | "conversation";
|
|
17171
|
+
fileUploadType: "avatar" | "extensionAssetImage" | "extensionAssetVideo" | "conversation";
|
|
17155
17172
|
};
|
|
17156
17173
|
}, import("@mittwald/api-client-commons").Response<{
|
|
17157
17174
|
extensions: string[];
|
|
@@ -17184,7 +17201,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
17184
17201
|
}>;
|
|
17185
17202
|
} & {
|
|
17186
17203
|
pathParameters: {
|
|
17187
|
-
fileUploadType: "avatar" | "conversation";
|
|
17204
|
+
fileUploadType: "avatar" | "extensionAssetImage" | "extensionAssetVideo" | "conversation";
|
|
17188
17205
|
};
|
|
17189
17206
|
}, import("@mittwald/api-client-commons").Response<{
|
|
17190
17207
|
extensions: string[];
|
|
@@ -2409,6 +2409,24 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2409
2409
|
}
|
|
2410
2410
|
type MarketplaceContributorState = "enabled" | "disabled";
|
|
2411
2411
|
interface MarketplaceExtension {
|
|
2412
|
+
/**
|
|
2413
|
+
* The assets/media (images and videos) of the extension.
|
|
2414
|
+
*
|
|
2415
|
+
* @maxItems 4
|
|
2416
|
+
*/
|
|
2417
|
+
assets: [] | [MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset] | [
|
|
2418
|
+
MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset,
|
|
2419
|
+
MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset
|
|
2420
|
+
] | [
|
|
2421
|
+
MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset,
|
|
2422
|
+
MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset,
|
|
2423
|
+
MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset
|
|
2424
|
+
] | [
|
|
2425
|
+
MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset,
|
|
2426
|
+
MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset,
|
|
2427
|
+
MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset,
|
|
2428
|
+
MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset
|
|
2429
|
+
];
|
|
2412
2430
|
/**
|
|
2413
2431
|
* @deprecated
|
|
2414
2432
|
*/
|
|
@@ -2422,6 +2440,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2422
2440
|
description: string;
|
|
2423
2441
|
detailedDescriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions;
|
|
2424
2442
|
disabled: boolean;
|
|
2443
|
+
externalFrontends?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
|
|
2444
|
+
/**
|
|
2445
|
+
* @deprecated
|
|
2446
|
+
*/
|
|
2425
2447
|
frontendComponents?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
|
|
2426
2448
|
frontendFragments?: {
|
|
2427
2449
|
[k: string]: MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
@@ -2450,9 +2472,27 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2450
2472
|
*/
|
|
2451
2473
|
tags: string[];
|
|
2452
2474
|
}
|
|
2475
|
+
/**
|
|
2476
|
+
* The following assets are the media that are associated with the extension and will be shown in extension details page.
|
|
2477
|
+
*/
|
|
2478
|
+
interface MarketplaceExtensionAsset {
|
|
2479
|
+
assetType: "image" | "video";
|
|
2480
|
+
fileName: string;
|
|
2481
|
+
/**
|
|
2482
|
+
* The asset ID and reference ID to its file. Retrieve the file with this id on `/v2/files/{id}
|
|
2483
|
+
*/
|
|
2484
|
+
id: string;
|
|
2485
|
+
index: number;
|
|
2486
|
+
}
|
|
2487
|
+
/**
|
|
2488
|
+
* @deprecated
|
|
2489
|
+
*/
|
|
2453
2490
|
interface MarketplaceBackendComponent {
|
|
2454
2491
|
url: string;
|
|
2455
2492
|
}
|
|
2493
|
+
/**
|
|
2494
|
+
* @deprecated
|
|
2495
|
+
*/
|
|
2456
2496
|
interface MarketplaceBackendComponents {
|
|
2457
2497
|
extensionAddedToContext?: MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponent;
|
|
2458
2498
|
extensionInstanceRemovedFromContext?: MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponent;
|
|
@@ -2522,6 +2562,15 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2522
2562
|
interface MarketplaceExtensionStatistics {
|
|
2523
2563
|
amountOfInstances: number;
|
|
2524
2564
|
}
|
|
2565
|
+
interface MarketplaceWebhookUrl {
|
|
2566
|
+
url: string;
|
|
2567
|
+
}
|
|
2568
|
+
interface MarketplaceWebhookUrls {
|
|
2569
|
+
extensionAddedToContext: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
|
|
2570
|
+
extensionInstanceRemovedFromContext: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
|
|
2571
|
+
extensionInstanceSecretRotated: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
|
|
2572
|
+
extensionInstanceUpdated: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
|
|
2573
|
+
}
|
|
2525
2574
|
interface MarketplaceExternalComponent {
|
|
2526
2575
|
name: string;
|
|
2527
2576
|
url: string;
|
|
@@ -2532,6 +2581,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2532
2581
|
};
|
|
2533
2582
|
} & MittwaldAPIV2.Components.Schemas.MarketplaceUrlFrontendFragment;
|
|
2534
2583
|
interface MarketplaceOwnExtension {
|
|
2584
|
+
assets: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
|
|
2535
2585
|
backendComponents?: MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents;
|
|
2536
2586
|
/**
|
|
2537
2587
|
* @deprecated
|
|
@@ -2543,6 +2593,10 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2543
2593
|
description?: string;
|
|
2544
2594
|
detailedDescriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions;
|
|
2545
2595
|
disabled?: boolean;
|
|
2596
|
+
externalFrontends?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
|
|
2597
|
+
/**
|
|
2598
|
+
* @deprecated
|
|
2599
|
+
*/
|
|
2546
2600
|
frontendComponents?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
|
|
2547
2601
|
frontendFragments?: {
|
|
2548
2602
|
[k: string]: MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
|
|
@@ -2558,7 +2612,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2558
2612
|
requestedChanges?: {
|
|
2559
2613
|
context?: MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
2560
2614
|
scopes?: string[];
|
|
2561
|
-
webhookUrls?: MittwaldAPIV2.Components.Schemas.
|
|
2615
|
+
webhookUrls?: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
|
|
2562
2616
|
};
|
|
2563
2617
|
scopes?: string[];
|
|
2564
2618
|
/**
|
|
@@ -2574,6 +2628,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
2574
2628
|
tags?: string[];
|
|
2575
2629
|
verificationRequested: boolean;
|
|
2576
2630
|
verified: boolean;
|
|
2631
|
+
webhookUrls?: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
|
|
2577
2632
|
}
|
|
2578
2633
|
interface MarketplacePublicKey {
|
|
2579
2634
|
algorithm: string;
|
|
@@ -12568,7 +12623,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
12568
12623
|
type Path = {
|
|
12569
12624
|
contributorId: string;
|
|
12570
12625
|
};
|
|
12571
|
-
type Header = {};
|
|
12626
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
12572
12627
|
type Query = {
|
|
12573
12628
|
limit?: number;
|
|
12574
12629
|
skip?: number;
|
|
@@ -12803,7 +12858,7 @@ export declare namespace MittwaldAPIV2 {
|
|
|
12803
12858
|
namespace Get {
|
|
12804
12859
|
namespace Parameters {
|
|
12805
12860
|
type Path = {
|
|
12806
|
-
fileUploadType: "avatar" | "conversation";
|
|
12861
|
+
fileUploadType: "avatar" | "extensionAssetImage" | "extensionAssetVideo" | "conversation";
|
|
12807
12862
|
};
|
|
12808
12863
|
type Header = {};
|
|
12809
12864
|
type Query = {};
|
package/dist/types/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '4.107.0';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mittwald/api-client",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.108.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": "ffbc9f49c06017be016f295f259d668e0eab7b88"
|
|
84
84
|
}
|