@mittwald/api-client 4.130.0 → 4.131.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.
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.129.2';
1
+ export const MittwaldAPIClientVersion = '4.130.0';
@@ -1611,18 +1611,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1611
1611
  headers?: {
1612
1612
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1613
1613
  } | undefined;
1614
- }) => import("@mittwald/react-use-promise").AsyncResource<{
1615
- customerId: string;
1616
- description?: string | undefined;
1617
- email?: string | undefined;
1618
- id: string;
1619
- logoRefId?: string | undefined;
1620
- name: string;
1621
- phone?: string | undefined;
1622
- state: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributorState;
1623
- supportInformation: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta;
1624
- url?: string | undefined;
1625
- }>;
1614
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$200.Content.ApplicationJson>>;
1626
1615
  /** Get the ExtensionInstance of a specific customer and extension, if existing. */
1627
1616
  extensionGetExtensionInstanceForCustomer: (conf: {
1628
1617
  customerId: string;
@@ -7162,18 +7162,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7162
7162
  pathParameters: {
7163
7163
  contributorId: string;
7164
7164
  };
7165
- }, import("@mittwald/api-client-commons").Response<{
7166
- customerId: string;
7167
- description?: string | undefined;
7168
- email?: string | undefined;
7169
- id: string;
7170
- logoRefId?: string | undefined;
7171
- name: string;
7172
- phone?: string | undefined;
7173
- state: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributorState;
7174
- supportInformation: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta;
7175
- url?: string | undefined;
7176
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7165
+ }, import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7177
7166
  [x: string]: unknown;
7178
7167
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7179
7168
  [x: string]: unknown;
@@ -7185,18 +7174,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7185
7174
  pathParameters: {
7186
7175
  contributorId: string;
7187
7176
  };
7188
- }, import("@mittwald/api-client-commons").Response<{
7189
- customerId: string;
7190
- description?: string | undefined;
7191
- email?: string | undefined;
7192
- id: string;
7193
- logoRefId?: string | undefined;
7194
- name: string;
7195
- phone?: string | undefined;
7196
- state: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributorState;
7197
- supportInformation: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta;
7198
- url?: string | undefined;
7199
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7177
+ }, import("@mittwald/api-client-commons").Response<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7200
7178
  [x: string]: unknown;
7201
7179
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7202
7180
  [x: string]: unknown;
@@ -2973,6 +2973,26 @@ export declare namespace MittwaldAPIV2 {
2973
2973
  [k: string]: string;
2974
2974
  };
2975
2975
  } & MittwaldAPIV2.Components.Schemas.MarketplaceUrlFrontendFragment;
2976
+ interface MarketplaceOwnContributor {
2977
+ contactPersonUserId: string;
2978
+ contractOwner: MittwaldAPIV2.Components.Schemas.CustomerContact;
2979
+ customerId: string;
2980
+ description?: string;
2981
+ /**
2982
+ * @deprecated
2983
+ */
2984
+ email?: string;
2985
+ id: string;
2986
+ logoRefId?: string;
2987
+ name: string;
2988
+ /**
2989
+ * @deprecated
2990
+ */
2991
+ phone?: string;
2992
+ state: MittwaldAPIV2.Components.Schemas.MarketplaceContributorState;
2993
+ supportInformation: MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta;
2994
+ url?: string;
2995
+ }
2976
2996
  interface MarketplaceOwnExtension {
2977
2997
  assets: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
2978
2998
  backendComponents?: MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponents;
@@ -14545,7 +14565,7 @@ export declare namespace MittwaldAPIV2 {
14545
14565
  namespace Responses {
14546
14566
  namespace $200 {
14547
14567
  namespace Content {
14548
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.MarketplaceContributor;
14568
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MarketplaceContributor | MittwaldAPIV2.Components.Schemas.MarketplaceOwnContributor;
14549
14569
  }
14550
14570
  }
14551
14571
  namespace $404 {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.129.2';
1
+ export declare const MittwaldAPIClientVersion = '4.130.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.130.0",
3
+ "version": "4.131.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": "37404ed27918c2b20bb488020c8cc14b293893dd"
83
+ "gitHead": "4b8f1f7b22d0dae5cb6ba304ccedb92edf35fb4a"
84
84
  }