@mittwald/api-client 4.89.0 → 4.90.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.
@@ -208,6 +208,8 @@ const buildMarketplaceApi = (baseClient) => ({
208
208
  extensionListContributors: new ApiCallAsyncResourceFactory(descriptors.extensionListContributors, baseClient.marketplace.extensionListContributors).getApiResource,
209
209
  /** List Extensions. */
210
210
  extensionListExtensions: new ApiCallAsyncResourceFactory(descriptors.extensionListExtensions, baseClient.marketplace.extensionListExtensions).getApiResource,
211
+ /** List Extensions of own contributor. */
212
+ extensionListOwnExtensions: new ApiCallAsyncResourceFactory(descriptors.extensionListOwnExtensions, baseClient.marketplace.extensionListOwnExtensions).getApiResource,
211
213
  });
212
214
  const buildFileApi = (baseClient) => ({
213
215
  /** Get a File's meta. */
@@ -184,6 +184,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
184
184
  extensionListContributors: this.requestFunctionFactory(descriptors.extensionListContributors),
185
185
  /** List Extensions. */
186
186
  extensionListExtensions: this.requestFunctionFactory(descriptors.extensionListExtensions),
187
+ /** List Extensions of own contributor. */
188
+ extensionListOwnExtensions: this.requestFunctionFactory(descriptors.extensionListOwnExtensions),
187
189
  };
188
190
  /** The conversation API allows you to manage your support conversations. */
189
191
  conversation = {
@@ -2038,3 +2038,9 @@ export const verificationVerifyCompany = {
2038
2038
  method: "POST",
2039
2039
  operationId: "verification-verify-company",
2040
2040
  };
2041
+ /** List Extensions of own contributor. */
2042
+ export const extensionListOwnExtensions = {
2043
+ path: "/v2/contributors/{contributorId}/extensions",
2044
+ method: "GET",
2045
+ operationId: "extension-list-own-extensions",
2046
+ };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.88.0';
1
+ export const MittwaldAPIClientVersion = '4.89.0';
@@ -1510,6 +1510,19 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1510
1510
  page?: number | undefined;
1511
1511
  } | undefined;
1512
1512
  } | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[]>;
1513
+ /** List Extensions of own contributor. */
1514
+ extensionListOwnExtensions: (conf: {
1515
+ contributorId: string;
1516
+ headers?: {
1517
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1518
+ } | undefined;
1519
+ queryParameters?: {
1520
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1521
+ limit?: number | undefined;
1522
+ skip?: number | undefined;
1523
+ page?: number | undefined;
1524
+ } | undefined;
1525
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[]>;
1513
1526
  };
1514
1527
  declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1515
1528
  /** Get a File's meta. */
@@ -5255,6 +5255,55 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5255
5255
  }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5256
5256
  [x: string]: unknown;
5257
5257
  }, 429, "application/json">>>;
5258
+ /** List Extensions of own contributor. */
5259
+ extensionListOwnExtensions: (request: {
5260
+ contributorId: string;
5261
+ headers?: {
5262
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5263
+ } | undefined;
5264
+ queryParameters?: {
5265
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5266
+ limit?: number | undefined;
5267
+ skip?: number | undefined;
5268
+ page?: number | undefined;
5269
+ } | undefined;
5270
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5271
+ headers?: Partial<{
5272
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5273
+ }>;
5274
+ } & {
5275
+ pathParameters: {
5276
+ contributorId: string;
5277
+ };
5278
+ } & {
5279
+ queryParameters: {
5280
+ limit?: number | undefined;
5281
+ skip?: number | undefined;
5282
+ page?: number | undefined;
5283
+ } & Partial<{
5284
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5285
+ }>;
5286
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5287
+ [x: string]: unknown;
5288
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5289
+ headers?: Partial<{
5290
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5291
+ }>;
5292
+ } & {
5293
+ pathParameters: {
5294
+ contributorId: string;
5295
+ };
5296
+ } & {
5297
+ queryParameters: {
5298
+ limit?: number | undefined;
5299
+ skip?: number | undefined;
5300
+ page?: number | undefined;
5301
+ } & Partial<{
5302
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5303
+ }>;
5304
+ }, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[], 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5305
+ [x: string]: unknown;
5306
+ }, 429, "application/json">>>;
5258
5307
  };
5259
5308
  /** The conversation API allows you to manage your support conversations. */
5260
5309
  readonly conversation: {
@@ -683,3 +683,5 @@ export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simpli
683
683
  export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
684
684
  /** Check if a company exists. */
685
685
  export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$500.Content.Empty>, 500, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
686
+ /** List Extensions of own contributor. */
687
+ 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">>;
@@ -1362,6 +1362,10 @@ export declare namespace MittwaldAPIV2 {
1362
1362
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1363
1363
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1364
1364
  }
1365
+ namespace ExtensionListOwnExtensions {
1366
+ type RequestData = InferredRequestData<typeof descriptors.extensionListOwnExtensions>;
1367
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionListOwnExtensions, TStatus>;
1368
+ }
1365
1369
  }
1366
1370
  namespace Components {
1367
1371
  namespace Schemas {
@@ -4058,6 +4062,34 @@ export declare namespace MittwaldAPIV2 {
4058
4062
  };
4059
4063
  userId: string;
4060
4064
  }
4065
+ interface MarketplaceOwnExtension {
4066
+ backendComponents?: MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents;
4067
+ /**
4068
+ * @deprecated
4069
+ */
4070
+ blocked?: boolean;
4071
+ context?: MittwaldAPIV2.Components.Schemas.MarketplaceContext;
4072
+ contributorId: string;
4073
+ description?: string;
4074
+ detailedDescriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions;
4075
+ disabled?: boolean;
4076
+ frontendComponents?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
4077
+ frontendFragments?: {
4078
+ [k: string]: MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
4079
+ };
4080
+ id: string;
4081
+ name: string;
4082
+ scopes?: string[];
4083
+ /**
4084
+ * deprecated
4085
+ */
4086
+ state?: "enabled" | "blocked" | "disabled";
4087
+ support?: MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta;
4088
+ /**
4089
+ * @minItems 0
4090
+ */
4091
+ tags?: string[];
4092
+ }
4061
4093
  interface CommonsAddress {
4062
4094
  street: string;
4063
4095
  houseNumber: string;
@@ -20636,5 +20668,41 @@ export declare namespace MittwaldAPIV2 {
20636
20668
  }
20637
20669
  }
20638
20670
  }
20671
+ namespace V2ContributorsContributorIdExtensions {
20672
+ namespace Get {
20673
+ namespace Parameters {
20674
+ type Path = {
20675
+ contributorId: string;
20676
+ };
20677
+ type Header = {};
20678
+ type Query = {
20679
+ limit?: number;
20680
+ skip?: number;
20681
+ page?: number;
20682
+ };
20683
+ }
20684
+ namespace Responses {
20685
+ namespace $200 {
20686
+ namespace Content {
20687
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MarketplaceOwnExtension[];
20688
+ }
20689
+ }
20690
+ namespace $429 {
20691
+ namespace Content {
20692
+ interface ApplicationJson {
20693
+ [k: string]: unknown;
20694
+ }
20695
+ }
20696
+ }
20697
+ namespace Default {
20698
+ namespace Content {
20699
+ interface ApplicationJson {
20700
+ [k: string]: unknown;
20701
+ }
20702
+ }
20703
+ }
20704
+ }
20705
+ }
20706
+ }
20639
20707
  }
20640
20708
  }
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.88.0';
1
+ export declare const MittwaldAPIClientVersion = '4.89.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.89.0",
3
+ "version": "4.90.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": "f5befe8768968824b41e873160a28f9fdfa6dbfb"
83
+ "gitHead": "21774263942b857e7c081f9f431571c21feae0c2"
84
84
  }