@mittwald/api-client 4.113.0 → 4.114.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.
@@ -180,6 +180,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
180
180
  extensionGetExtension: this.requestFunctionFactory(descriptors.extensionGetExtension),
181
181
  /** Get Extension of own contributor. */
182
182
  extensionGetOwnExtension: this.requestFunctionFactory(descriptors.extensionGetOwnExtension),
183
+ /** Patch Extension. */
184
+ extensionPatchExtension: this.requestFunctionFactory(descriptors.extensionPatchExtension),
183
185
  /** Get the public key to verify the webhook signature. */
184
186
  extensionGetPublicKey: this.requestFunctionFactory(descriptors.extensionGetPublicKey),
185
187
  /** List Contributors. */
@@ -188,6 +190,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
188
190
  extensionListExtensions: this.requestFunctionFactory(descriptors.extensionListExtensions),
189
191
  /** List Extensions of own contributor. */
190
192
  extensionListOwnExtensions: this.requestFunctionFactory(descriptors.extensionListOwnExtensions),
193
+ /** Register an Extension. */
194
+ extensionRegisterExtension: this.requestFunctionFactory(descriptors.extensionRegisterExtension),
191
195
  };
192
196
  /** The conversation API allows you to manage your support conversations. */
193
197
  conversation = {
@@ -1030,6 +1030,12 @@ export const extensionGetOwnExtension = {
1030
1030
  method: "GET",
1031
1031
  operationId: "extension-get-own-extension",
1032
1032
  };
1033
+ /** Patch Extension. */
1034
+ export const extensionPatchExtension = {
1035
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}",
1036
+ method: "PATCH",
1037
+ operationId: "extension-patch-extension",
1038
+ };
1033
1039
  /** Get the public key to verify the webhook signature. */
1034
1040
  export const extensionGetPublicKey = {
1035
1041
  path: "/v2/webhook-public-keys/{serial}",
@@ -1054,6 +1060,12 @@ export const extensionListOwnExtensions = {
1054
1060
  method: "GET",
1055
1061
  operationId: "extension-list-own-extensions",
1056
1062
  };
1063
+ /** Register an Extension. */
1064
+ export const extensionRegisterExtension = {
1065
+ path: "/v2/contributors/{contributorId}/extensions",
1066
+ method: "POST",
1067
+ operationId: "extension-register-extension",
1068
+ };
1057
1069
  /** Create a File. */
1058
1070
  export const fileCreateFile = {
1059
1071
  path: "/v2/files",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.112.0';
1
+ export const MittwaldAPIClientVersion = '4.113.0';
@@ -1527,6 +1527,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1527
1527
  webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
1528
1528
  } | undefined;
1529
1529
  scopes?: string[] | undefined;
1530
+ secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
1530
1531
  state?: "enabled" | "blocked" | "disabled" | undefined;
1531
1532
  statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
1532
1533
  subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
@@ -5213,6 +5213,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5213
5213
  webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
5214
5214
  } | undefined;
5215
5215
  scopes?: string[] | undefined;
5216
+ secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
5216
5217
  state?: "enabled" | "blocked" | "disabled" | undefined;
5217
5218
  statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
5218
5219
  subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
@@ -5266,6 +5267,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5266
5267
  webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
5267
5268
  } | undefined;
5268
5269
  scopes?: string[] | undefined;
5270
+ secrets: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
5269
5271
  state?: "enabled" | "blocked" | "disabled" | undefined;
5270
5272
  statistics: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionStatistics;
5271
5273
  subTitle?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle | undefined;
@@ -5279,6 +5281,215 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5279
5281
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5280
5282
  [x: string]: unknown;
5281
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">>>;
5282
5493
  /** Get the public key to verify the webhook signature. */
5283
5494
  extensionGetPublicKey: (request: {
5284
5495
  serial: string;
@@ -5463,6 +5674,134 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5463
5674
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5464
5675
  [x: string]: unknown;
5465
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">>>;
5466
5805
  };
5467
5806
  /** The conversation API allows you to manage your support conversations. */
5468
5807
  readonly conversation: {
@@ -347,6 +347,8 @@ export declare const extensionGetExtensionInstanceForProject: OpenAPIOperation<R
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
348
  /** Get Extension of own contributor. */
349
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">>;
350
352
  /** Get the public key to verify the webhook signature. */
351
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">>;
352
354
  /** List Contributors. */
@@ -355,6 +357,8 @@ export declare const extensionListContributors: OpenAPIOperation<RequestType<Sim
355
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">>;
356
358
  /** List Extensions of own contributor. */
357
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">>;
358
362
  /** Create a File. */
359
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">>;
360
364
  /** Get a File's meta. */
@@ -690,6 +690,10 @@ export declare namespace MittwaldAPIV2 {
690
690
  type RequestData = InferredRequestData<typeof descriptors.extensionGetOwnExtension>;
691
691
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionGetOwnExtension, TStatus>;
692
692
  }
693
+ namespace ExtensionPatchExtension {
694
+ type RequestData = InferredRequestData<typeof descriptors.extensionPatchExtension>;
695
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionPatchExtension, TStatus>;
696
+ }
693
697
  namespace ExtensionGetPublicKey {
694
698
  type RequestData = InferredRequestData<typeof descriptors.extensionGetPublicKey>;
695
699
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionGetPublicKey, TStatus>;
@@ -706,6 +710,10 @@ export declare namespace MittwaldAPIV2 {
706
710
  type RequestData = InferredRequestData<typeof descriptors.extensionListOwnExtensions>;
707
711
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionListOwnExtensions, TStatus>;
708
712
  }
713
+ namespace ExtensionRegisterExtension {
714
+ type RequestData = InferredRequestData<typeof descriptors.extensionRegisterExtension>;
715
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionRegisterExtension, TStatus>;
716
+ }
709
717
  namespace FileCreateFile {
710
718
  type RequestData = InferredRequestData<typeof descriptors.fileCreateFile>;
711
719
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileCreateFile, TStatus>;
@@ -2624,6 +2632,7 @@ export declare namespace MittwaldAPIV2 {
2624
2632
  webhookUrls?: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
2625
2633
  };
2626
2634
  scopes?: string[];
2635
+ secrets: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionSecret[];
2627
2636
  /**
2628
2637
  * deprecated
2629
2638
  */
@@ -4165,6 +4174,10 @@ export declare namespace MittwaldAPIV2 {
4165
4174
  name: string;
4166
4175
  value: string;
4167
4176
  }
4177
+ interface MarketplaceExtensionSecret {
4178
+ secretId: string;
4179
+ usableUntil?: string;
4180
+ }
4168
4181
  interface CommonsAddress {
4169
4182
  street: string;
4170
4183
  houseNumber: string;
@@ -12549,6 +12562,73 @@ export declare namespace MittwaldAPIV2 {
12549
12562
  }
12550
12563
  }
12551
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
+ }
12552
12632
  }
12553
12633
  namespace V2WebhookPublicKeysSerial {
12554
12634
  namespace Get {
@@ -12693,6 +12773,60 @@ export declare namespace MittwaldAPIV2 {
12693
12773
  }
12694
12774
  }
12695
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
+ }
12696
12830
  }
12697
12831
  namespace V2Files {
12698
12832
  namespace Post {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.112.0';
1
+ export declare const MittwaldAPIClientVersion = '4.113.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.113.0",
3
+ "version": "4.114.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": "f18037c73168c10e878254430ff5be4e4cdf56cf"
83
+ "gitHead": "47e54bed9d6c7cbfe4e0b416cc5b98dd751fcba1"
84
84
  }