@mittwald/api-client 4.210.0 → 4.212.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.
@@ -257,6 +257,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
257
257
  extensionListContributors: this.requestFunctionFactory(descriptors.extensionListContributors),
258
258
  /** Get a Contributor. */
259
259
  extensionGetContributor: this.requestFunctionFactory(descriptors.extensionGetContributor),
260
+ /** Patch Contributor. */
261
+ contributorPatchContributor: this.requestFunctionFactory(descriptors.contributorPatchContributor),
260
262
  /** Enable an ExtensionInstance. */
261
263
  extensionEnableExtensionInstance: this.requestFunctionFactory(descriptors.extensionEnableExtensionInstance),
262
264
  /** List Scopes. */
@@ -2350,6 +2350,12 @@ export const extensionGetContributor = {
2350
2350
  method: "GET",
2351
2351
  operationId: "extension-get-contributor",
2352
2352
  };
2353
+ /** Patch Contributor. */
2354
+ export const contributorPatchContributor = {
2355
+ path: "/v2/contributors/{contributorId}",
2356
+ method: "PATCH",
2357
+ operationId: "contributor-patch-contributor",
2358
+ };
2353
2359
  /** Enable an ExtensionInstance. */
2354
2360
  export const extensionEnableExtensionInstance = {
2355
2361
  path: "/v2/extension-instances/{extensionInstanceId}/actions/enable",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.209.0';
1
+ export const MittwaldAPIClientVersion = '4.211.0';
@@ -1182,7 +1182,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1182
1182
  id: string;
1183
1183
  logoRefId?: string | undefined;
1184
1184
  name: string;
1185
- pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
1185
+ pricing?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy | undefined;
1186
1186
  published: boolean;
1187
1187
  requestedChanges?: {
1188
1188
  context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
@@ -7841,6 +7841,153 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
7841
7841
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7842
7842
  [x: string]: unknown;
7843
7843
  }, 429, "application/json">>>;
7844
+ /** Patch Contributor. */
7845
+ contributorPatchContributor: (request: {
7846
+ contributorId: string;
7847
+ data?: {
7848
+ contactPersonUserId?: string | undefined;
7849
+ descriptions?: {
7850
+ de: string;
7851
+ en?: string | undefined;
7852
+ } | undefined;
7853
+ deviatingContractOwner?: {
7854
+ contact: {
7855
+ salutation: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsSalutation;
7856
+ address: {
7857
+ street: string;
7858
+ houseNumber: string;
7859
+ city: string;
7860
+ zip: string;
7861
+ countryCode: string;
7862
+ addressPrefix?: string | undefined;
7863
+ };
7864
+ firstName?: string | undefined;
7865
+ lastName?: string | undefined;
7866
+ title?: string | undefined;
7867
+ company?: string | undefined;
7868
+ emailAddress?: string | undefined;
7869
+ phoneNumbers?: string[] | undefined;
7870
+ useFormalTerm?: boolean | undefined;
7871
+ };
7872
+ inherited: boolean;
7873
+ } | undefined;
7874
+ deviatingName?: string | undefined;
7875
+ deviatingSupportInformation?: {
7876
+ email: string;
7877
+ phone?: string | undefined;
7878
+ } | undefined;
7879
+ homepage?: string | undefined;
7880
+ imprint?: {
7881
+ text: string;
7882
+ } | {
7883
+ url: string;
7884
+ } | undefined;
7885
+ } | undefined;
7886
+ headers?: {
7887
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
7888
+ "x-access-token"?: string | undefined;
7889
+ } | undefined;
7890
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
7891
+ data: {
7892
+ contactPersonUserId?: string | undefined;
7893
+ descriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceLocalizedDescription | undefined;
7894
+ deviatingContractOwner?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractOwner | undefined;
7895
+ deviatingName?: string | undefined;
7896
+ deviatingSupportInformation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
7897
+ homepage?: string | undefined;
7898
+ imprint?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributorImprint | undefined;
7899
+ };
7900
+ } & {
7901
+ pathParameters: {
7902
+ contributorId: string;
7903
+ };
7904
+ } & {
7905
+ headers?: Partial<{
7906
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7907
+ }>;
7908
+ } & {
7909
+ headers: {
7910
+ "x-access-token"?: string | undefined;
7911
+ } & Partial<{
7912
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7913
+ }>;
7914
+ }, import("@mittwald/api-client-commons").Response<{
7915
+ contactPersonUserId: string;
7916
+ contractOwner: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractOwner;
7917
+ contributorNumber: string;
7918
+ customerId: string;
7919
+ description?: string | undefined;
7920
+ descriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceLocalizedDescription | undefined;
7921
+ email: string;
7922
+ homepage?: string | undefined;
7923
+ id: string;
7924
+ imprint?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributorImprint | undefined;
7925
+ logoRefId?: string | undefined;
7926
+ name: string;
7927
+ nameInherited: boolean;
7928
+ phone?: string | undefined;
7929
+ state: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributorState;
7930
+ supportInformation: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta & {
7931
+ inherited: boolean;
7932
+ };
7933
+ url?: string | undefined;
7934
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7935
+ [x: string]: unknown;
7936
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7937
+ [x: string]: unknown;
7938
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7939
+ [x: string]: unknown;
7940
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
7941
+ data: {
7942
+ contactPersonUserId?: string | undefined;
7943
+ descriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceLocalizedDescription | undefined;
7944
+ deviatingContractOwner?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractOwner | undefined;
7945
+ deviatingName?: string | undefined;
7946
+ deviatingSupportInformation?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta | undefined;
7947
+ homepage?: string | undefined;
7948
+ imprint?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributorImprint | undefined;
7949
+ };
7950
+ } & {
7951
+ pathParameters: {
7952
+ contributorId: string;
7953
+ };
7954
+ } & {
7955
+ headers?: Partial<{
7956
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7957
+ }>;
7958
+ } & {
7959
+ headers: {
7960
+ "x-access-token"?: string | undefined;
7961
+ } & Partial<{
7962
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
7963
+ }>;
7964
+ }, import("@mittwald/api-client-commons").Response<{
7965
+ contactPersonUserId: string;
7966
+ contractOwner: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContractOwner;
7967
+ contributorNumber: string;
7968
+ customerId: string;
7969
+ description?: string | undefined;
7970
+ descriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceLocalizedDescription | undefined;
7971
+ email: string;
7972
+ homepage?: string | undefined;
7973
+ id: string;
7974
+ imprint?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributorImprint | undefined;
7975
+ logoRefId?: string | undefined;
7976
+ name: string;
7977
+ nameInherited: boolean;
7978
+ phone?: string | undefined;
7979
+ state: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContributorState;
7980
+ supportInformation: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta & {
7981
+ inherited: boolean;
7982
+ };
7983
+ url?: string | undefined;
7984
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
7985
+ [x: string]: unknown;
7986
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
7987
+ [x: string]: unknown;
7988
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
7989
+ [x: string]: unknown;
7990
+ }, 429, "application/json">>>;
7844
7991
  /** Enable an ExtensionInstance. */
7845
7992
  extensionEnableExtensionInstance: (request: {
7846
7993
  extensionInstanceId: string;
@@ -8819,7 +8966,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8819
8966
  id: string;
8820
8967
  logoRefId?: string | undefined;
8821
8968
  name: string;
8822
- pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
8969
+ pricing?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy | undefined;
8823
8970
  published: boolean;
8824
8971
  requestedChanges?: {
8825
8972
  context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
@@ -8876,7 +9023,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8876
9023
  id: string;
8877
9024
  logoRefId?: string | undefined;
8878
9025
  name: string;
8879
- pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
9026
+ pricing?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy | undefined;
8880
9027
  published: boolean;
8881
9028
  requestedChanges?: {
8882
9029
  context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
@@ -9070,7 +9217,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9070
9217
  id: string;
9071
9218
  logoRefId?: string | undefined;
9072
9219
  name: string;
9073
- pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
9220
+ pricing?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy | undefined;
9074
9221
  published: boolean;
9075
9222
  requestedChanges?: {
9076
9223
  context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
@@ -9148,7 +9295,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
9148
9295
  id: string;
9149
9296
  logoRefId?: string | undefined;
9150
9297
  name: string;
9151
- pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
9298
+ pricing?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy | undefined;
9152
9299
  published: boolean;
9153
9300
  requestedChanges?: {
9154
9301
  context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
@@ -787,6 +787,8 @@ export declare const extensionCreateRetrievalKey: OpenAPIOperation<RequestType<S
787
787
  export declare const extensionListContributors: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Contributors.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Contributors.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Contributors.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Contributors.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Contributors.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Contributors.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
788
788
  /** Get a Contributor. */
789
789
  export declare const extensionGetContributor: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
790
+ /** Patch Contributor. */
791
+ export declare const contributorPatchContributor: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorId.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
790
792
  /** Enable an ExtensionInstance. */
791
793
  export declare const extensionEnableExtensionInstance: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ExtensionInstancesExtensionInstanceIdActionsEnable.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ExtensionInstancesExtensionInstanceIdActionsEnable.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ExtensionInstancesExtensionInstanceIdActionsEnable.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionInstancesExtensionInstanceIdActionsEnable.Post.Responses.$204.Content.ApplicationJson>, 204, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionInstancesExtensionInstanceIdActionsEnable.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionInstancesExtensionInstanceIdActionsEnable.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ExtensionInstancesExtensionInstanceIdActionsEnable.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
792
794
  /** List Scopes. */
@@ -1570,6 +1570,10 @@ export declare namespace MittwaldAPIV2 {
1570
1570
  type RequestData = InferredRequestData<typeof descriptors.extensionGetContributor>;
1571
1571
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionGetContributor, TStatus>;
1572
1572
  }
1573
+ namespace ContributorPatchContributor {
1574
+ type RequestData = InferredRequestData<typeof descriptors.contributorPatchContributor>;
1575
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorPatchContributor, TStatus>;
1576
+ }
1573
1577
  namespace ExtensionEnableExtensionInstance {
1574
1578
  type RequestData = InferredRequestData<typeof descriptors.extensionEnableExtensionInstance>;
1575
1579
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionEnableExtensionInstance, TStatus>;
@@ -4774,25 +4778,6 @@ export declare namespace MittwaldAPIV2 {
4774
4778
  */
4775
4779
  index: number;
4776
4780
  }
4777
- interface MarketplaceExtensionInstance {
4778
- aggregateReference: {
4779
- aggregate: string;
4780
- domain: string;
4781
- id: string;
4782
- };
4783
- chargeability?: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability;
4784
- consentedScopes: string[];
4785
- contributorId: string;
4786
- contributorName: string;
4787
- createdAt?: string;
4788
- disabled: boolean;
4789
- extensionId: string;
4790
- extensionName: string;
4791
- extensionSubTitle?: MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle;
4792
- id: string;
4793
- pendingInstallation: boolean;
4794
- pendingRemoval: boolean;
4795
- }
4796
4781
  interface MarketplaceContractOwner {
4797
4782
  contact: MittwaldAPIV2.Components.Schemas.CommonsContact;
4798
4783
  inherited: boolean;
@@ -4811,32 +4796,6 @@ export declare namespace MittwaldAPIV2 {
4811
4796
  markdown: string;
4812
4797
  plain?: string;
4813
4798
  }
4814
- interface MarketplaceWebhookUrls {
4815
- extensionAddedToContext: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4816
- extensionInstanceRemovedFromContext: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4817
- extensionInstanceSecretRotated: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4818
- extensionInstanceUpdated: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4819
- }
4820
- type MarketplaceWebhookKind = "extension-added-to-context" | "extension-instance-updated" | "extension-instance-secret-rotated" | "extension-instance-removed-from-context";
4821
- interface MarketplaceAggregateReferenceFilter {
4822
- aggregate?: "project" | "customer";
4823
- domain?: "project" | "customer";
4824
- id?: string;
4825
- }
4826
- /**
4827
- * @deprecated
4828
- */
4829
- interface MarketplaceBackendComponents {
4830
- extensionAddedToContext?: MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponent;
4831
- extensionInstanceRemovedFromContext?: MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponent;
4832
- extensionInstanceSecretRotated?: MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponent;
4833
- extensionInstanceUpdated?: MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponent;
4834
- }
4835
- type MarketplaceFrontendFragment = {
4836
- additionalProperties?: {
4837
- [k: string]: string;
4838
- };
4839
- } & MittwaldAPIV2.Components.Schemas.MarketplaceUrlFrontendFragment;
4840
4799
  interface MarketplaceExtensionInstanceChargeability {
4841
4800
  isChargeable: boolean;
4842
4801
  reasons: {
@@ -4851,6 +4810,12 @@ export declare namespace MittwaldAPIV2 {
4851
4810
  name: string;
4852
4811
  url: string;
4853
4812
  }
4813
+ interface MarketplaceExtensionStatistics {
4814
+ /**
4815
+ * The amout of instances for this extension. Accurate for the Contributor. Publicly rounded to the next lower hundred.
4816
+ */
4817
+ amountOfInstances?: number;
4818
+ }
4854
4819
  interface MarketplacePublicKey {
4855
4820
  algorithm: string;
4856
4821
  key: string;
@@ -4867,6 +4832,9 @@ export declare namespace MittwaldAPIV2 {
4867
4832
  */
4868
4833
  successorId?: string;
4869
4834
  }
4835
+ interface MarketplaceWebhookUrl {
4836
+ url: string;
4837
+ }
4870
4838
  interface MarketplaceExtensionInstanceHealth {
4871
4839
  aggregateReference: {
4872
4840
  aggregate: string;
@@ -4879,10 +4847,6 @@ export declare namespace MittwaldAPIV2 {
4879
4847
  removalIsPending: boolean;
4880
4848
  webhooksAreHalted: boolean;
4881
4849
  }
4882
- interface MarketplaceExtensionSecret {
4883
- secretId: string;
4884
- usableUntil?: string;
4885
- }
4886
4850
  interface MarketplaceUnpublishedExtension {
4887
4851
  /**
4888
4852
  * The assets/media (images and videos) of the extension.
@@ -4929,7 +4893,7 @@ export declare namespace MittwaldAPIV2 {
4929
4893
  */
4930
4894
  logoRefId?: string;
4931
4895
  name: string;
4932
- pricing?: MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy;
4896
+ pricing?: MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy;
4933
4897
  /**
4934
4898
  * Whether the extension has been published by the contributor.
4935
4899
  */
@@ -4950,8 +4914,9 @@ export declare namespace MittwaldAPIV2 {
4950
4914
  };
4951
4915
  tags: string[];
4952
4916
  }
4953
- interface MarketplaceWebhookUrl {
4954
- url: string;
4917
+ interface MarketplaceExtensionSecret {
4918
+ secretId: string;
4919
+ usableUntil?: string;
4955
4920
  }
4956
4921
  interface MarketplaceContractPartner {
4957
4922
  contractPartner: {
@@ -4966,27 +4931,144 @@ export declare namespace MittwaldAPIV2 {
4966
4931
  extensionInstanceId: string;
4967
4932
  parentCustomerId: string;
4968
4933
  }
4934
+ type MarketplaceContributorState = "enabled" | "disabled";
4935
+ interface MarketplaceWebhookUrls {
4936
+ extensionAddedToContext: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4937
+ extensionInstanceRemovedFromContext: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4938
+ extensionInstanceSecretRotated: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4939
+ extensionInstanceUpdated: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrl;
4940
+ }
4941
+ interface MarketplaceExtensionInstance {
4942
+ aggregateReference: {
4943
+ aggregate: string;
4944
+ domain: string;
4945
+ id: string;
4946
+ };
4947
+ chargeability?: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceChargeability;
4948
+ consentedScopes: string[];
4949
+ contributorId: string;
4950
+ contributorName: string;
4951
+ createdAt?: string;
4952
+ disabled: boolean;
4953
+ extensionId: string;
4954
+ extensionName: string;
4955
+ extensionSubTitle?: MittwaldAPIV2.Components.Schemas.MarketplaceSubTitle;
4956
+ id: string;
4957
+ pendingInstallation: boolean;
4958
+ pendingRemoval: boolean;
4959
+ }
4960
+ type MarketplaceWebhookKind = "extension-added-to-context" | "extension-instance-updated" | "extension-instance-secret-rotated" | "extension-instance-removed-from-context";
4969
4961
  /**
4970
- * A few words to promote your Extension.
4962
+ * @deprecated
4971
4963
  */
4972
- interface MarketplaceSubTitle {
4964
+ interface MarketplaceBackendComponents {
4965
+ extensionAddedToContext?: MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponent;
4966
+ extensionInstanceRemovedFromContext?: MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponent;
4967
+ extensionInstanceSecretRotated?: MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponent;
4968
+ extensionInstanceUpdated?: MittwaldAPIV2.Components.Schemas.MarketplaceBackendComponent;
4969
+ }
4970
+ interface MarketplaceAggregateReferenceFilter {
4971
+ aggregate?: "project" | "customer";
4972
+ domain?: "project" | "customer";
4973
+ id?: string;
4974
+ }
4975
+ type MarketplaceFrontendFragment = {
4976
+ additionalProperties?: {
4977
+ [k: string]: string;
4978
+ };
4979
+ } & MittwaldAPIV2.Components.Schemas.MarketplaceUrlFrontendFragment;
4980
+ interface MarketplaceContributor {
4981
+ customerId: string;
4982
+ description?: string;
4983
+ descriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceLocalizedDescription;
4984
+ /**
4985
+ * @deprecated
4986
+ */
4987
+ email: string;
4988
+ homepage?: string;
4989
+ id: string;
4990
+ imprint?: MittwaldAPIV2.Components.Schemas.MarketplaceContributorImprint;
4991
+ logoRefId?: string;
4992
+ name: string;
4993
+ /**
4994
+ * @deprecated
4995
+ */
4996
+ phone?: string;
4997
+ state: MittwaldAPIV2.Components.Schemas.MarketplaceContributorState;
4998
+ supportInformation: MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta & {
4999
+ /**
5000
+ * Whether the support information is inherited from the customer.
5001
+ */
5002
+ inherited: boolean;
5003
+ };
5004
+ /**
5005
+ * @deprecated
5006
+ */
5007
+ url?: string;
5008
+ }
5009
+ interface MarketplaceOwnContributor {
5010
+ contactPersonUserId: string;
5011
+ contractOwner: MittwaldAPIV2.Components.Schemas.MarketplaceContractOwner;
5012
+ contributorNumber: string;
5013
+ customerId: string;
5014
+ description?: string;
5015
+ descriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceLocalizedDescription;
5016
+ /**
5017
+ * @deprecated
5018
+ */
5019
+ email: string;
5020
+ homepage?: string;
5021
+ id: string;
5022
+ imprint?: MittwaldAPIV2.Components.Schemas.MarketplaceContributorImprint;
5023
+ logoRefId?: string;
5024
+ name: string;
5025
+ nameInherited: boolean;
5026
+ /**
5027
+ * @deprecated
5028
+ */
5029
+ phone?: string;
5030
+ state: MittwaldAPIV2.Components.Schemas.MarketplaceContributorState;
5031
+ supportInformation: MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta & {
5032
+ /**
5033
+ * Whether the support information is inherited from the customer.
5034
+ */
5035
+ inherited: boolean;
5036
+ };
5037
+ /**
5038
+ * @deprecated
5039
+ */
5040
+ url?: string;
5041
+ }
5042
+ /**
5043
+ * A few words about the introduction as a contributor
5044
+ */
5045
+ interface MarketplaceLocalizedDescription {
4973
5046
  de: string;
4974
5047
  en?: string;
4975
5048
  }
4976
- interface MarketplaceUrlFrontendFragment {
4977
- url: string;
4978
- }
4979
- type MarketplaceContributorState = "enabled" | "disabled";
4980
5049
  type MarketplaceContributorImprint = {
4981
5050
  text: string;
4982
5051
  } | {
4983
5052
  url: string;
4984
5053
  };
4985
- interface MarketplaceExtensionStatistics {
5054
+ interface MarketplaceUrlFrontendFragment {
5055
+ url: string;
5056
+ }
5057
+ /**
5058
+ * A few words to promote your Extension.
5059
+ */
5060
+ interface MarketplaceSubTitle {
5061
+ de: string;
5062
+ en?: string;
5063
+ }
5064
+ /**
5065
+ * A strategy for pricing that occurs monthly.
5066
+ */
5067
+ interface MarketplaceMonthlyPricingStrategy {
4986
5068
  /**
4987
- * The amout of instances for this extension. Accurate for the Contributor. Publicly rounded to the next lower hundred.
5069
+ * The monthly price in Euro Cents before tax.
4988
5070
  */
4989
- amountOfInstances?: number;
5071
+ netPrice: number;
4990
5072
  }
4991
5073
  interface MarketplaceOwnExtension {
4992
5074
  assets: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionAsset[];
@@ -5016,7 +5098,7 @@ export declare namespace MittwaldAPIV2 {
5016
5098
  */
5017
5099
  logoRefId?: string;
5018
5100
  name: string;
5019
- pricing?: MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy;
5101
+ pricing?: MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy;
5020
5102
  published: boolean;
5021
5103
  requestedChanges?: {
5022
5104
  context?: MittwaldAPIV2.Components.Schemas.MarketplaceContext;
@@ -5045,75 +5127,6 @@ export declare namespace MittwaldAPIV2 {
5045
5127
  verified: boolean;
5046
5128
  webhookUrls?: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
5047
5129
  }
5048
- /**
5049
- * A strategy for pricing that occurs monthly.
5050
- */
5051
- interface MarketplaceMonthlyPricingStrategy {
5052
- /**
5053
- * The monthly price in Euro Cents before tax.
5054
- */
5055
- netPrice: number;
5056
- }
5057
- interface MarketplaceContributor {
5058
- customerId: string;
5059
- description?: string;
5060
- descriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceLocalizedDescription;
5061
- /**
5062
- * @deprecated
5063
- */
5064
- email?: string;
5065
- homepage?: string;
5066
- id: string;
5067
- imprint?: MittwaldAPIV2.Components.Schemas.MarketplaceContributorImprint;
5068
- logoRefId?: string;
5069
- name: string;
5070
- /**
5071
- * @deprecated
5072
- */
5073
- phone?: string;
5074
- state: MittwaldAPIV2.Components.Schemas.MarketplaceContributorState;
5075
- supportInformation: MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta & {
5076
- /**
5077
- * Whether the support information is inherited from the customer.
5078
- */
5079
- inherited: boolean;
5080
- };
5081
- url?: string;
5082
- }
5083
- interface MarketplaceOwnContributor {
5084
- contactPersonUserId: string;
5085
- contractOwner: MittwaldAPIV2.Components.Schemas.MarketplaceContractOwner;
5086
- contributorNumber: string;
5087
- customerId: string;
5088
- description?: string;
5089
- /**
5090
- * @deprecated
5091
- */
5092
- email?: string;
5093
- id: string;
5094
- imprint?: MittwaldAPIV2.Components.Schemas.MarketplaceContributorImprint;
5095
- logoRefId?: string;
5096
- name: string;
5097
- /**
5098
- * @deprecated
5099
- */
5100
- phone?: string;
5101
- state: MittwaldAPIV2.Components.Schemas.MarketplaceContributorState;
5102
- supportInformation: MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta & {
5103
- /**
5104
- * Whether the support information is inherited from the customer.
5105
- */
5106
- inherited: boolean;
5107
- };
5108
- url?: string;
5109
- }
5110
- /**
5111
- * A few words about the introduction as a contributor
5112
- */
5113
- interface MarketplaceLocalizedDescription {
5114
- de: string;
5115
- en?: string;
5116
- }
5117
5130
  interface MarketplaceExtensionHealth {
5118
5131
  extensionInstances: MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceHealth[];
5119
5132
  functional: boolean;
@@ -5169,7 +5182,7 @@ export declare namespace MittwaldAPIV2 {
5169
5182
  */
5170
5183
  logoRefId: string;
5171
5184
  name: string;
5172
- pricing?: MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy;
5185
+ pricing?: MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy;
5173
5186
  /**
5174
5187
  * Whether the extension has been published by the contributor.
5175
5188
  */
@@ -25156,6 +25169,59 @@ export declare namespace MittwaldAPIV2 {
25156
25169
  }
25157
25170
  }
25158
25171
  }
25172
+ namespace Patch {
25173
+ namespace Parameters {
25174
+ type Path = {
25175
+ contributorId: string;
25176
+ };
25177
+ interface RequestBody {
25178
+ contactPersonUserId?: string;
25179
+ descriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceLocalizedDescription;
25180
+ deviatingContractOwner?: MittwaldAPIV2.Components.Schemas.MarketplaceContractOwner;
25181
+ deviatingName?: string;
25182
+ deviatingSupportInformation?: MittwaldAPIV2.Components.Schemas.MarketplaceSupportMeta;
25183
+ homepage?: string;
25184
+ imprint?: MittwaldAPIV2.Components.Schemas.MarketplaceContributorImprint;
25185
+ }
25186
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25187
+ type Query = {};
25188
+ }
25189
+ namespace Responses {
25190
+ namespace $200 {
25191
+ namespace Content {
25192
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MarketplaceOwnContributor;
25193
+ }
25194
+ }
25195
+ namespace $400 {
25196
+ namespace Content {
25197
+ interface ApplicationJson {
25198
+ [k: string]: unknown;
25199
+ }
25200
+ }
25201
+ }
25202
+ namespace $404 {
25203
+ namespace Content {
25204
+ interface ApplicationJson {
25205
+ [k: string]: unknown;
25206
+ }
25207
+ }
25208
+ }
25209
+ namespace $429 {
25210
+ namespace Content {
25211
+ interface ApplicationJson {
25212
+ [k: string]: unknown;
25213
+ }
25214
+ }
25215
+ }
25216
+ namespace Default {
25217
+ namespace Content {
25218
+ interface ApplicationJson {
25219
+ [k: string]: unknown;
25220
+ }
25221
+ }
25222
+ }
25223
+ }
25224
+ }
25159
25225
  }
25160
25226
  namespace V2ExtensionInstancesExtensionInstanceIdActionsEnable {
25161
25227
  namespace Post {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.209.0';
1
+ export declare const MittwaldAPIClientVersion = '4.211.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.210.0",
3
+ "version": "4.212.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": "3ca3d287a7d9269ce9dbfd949074bb94cb5cc0eb"
83
+ "gitHead": "2576ad945b6279e24e81d4c624e86efa925bde91"
84
84
  }