@mittwald/api-client 4.120.0 → 4.122.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.
@@ -194,8 +194,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
194
194
  extensionListOwnExtensions: this.requestFunctionFactory(descriptors.extensionListOwnExtensions),
195
195
  /** Register an Extension. */
196
196
  extensionRegisterExtension: this.requestFunctionFactory(descriptors.extensionRegisterExtension),
197
+ /** Remove an asset of an extension. */
198
+ extensionRemoveAsset: this.requestFunctionFactory(descriptors.extensionRemoveAsset),
199
+ /** Add an asset to an extension. */
200
+ extensionRequestAssetUpload: this.requestFunctionFactory(descriptors.extensionRequestAssetUpload),
197
201
  /** Start the verification process of an Extension. */
198
202
  extensionRequestExtensionVerification: this.requestFunctionFactory(descriptors.extensionRequestExtensionVerification),
203
+ /** Add a logo to an extension. */
204
+ extensionRequestLogoUpload: this.requestFunctionFactory(descriptors.extensionRequestLogoUpload),
199
205
  /** Publish or withdraw an Extension. */
200
206
  extensionSetExtensionPublishedState: this.requestFunctionFactory(descriptors.extensionSetExtensionPublishedState),
201
207
  };
@@ -1072,12 +1072,30 @@ export const extensionRegisterExtension = {
1072
1072
  method: "POST",
1073
1073
  operationId: "extension-register-extension",
1074
1074
  };
1075
+ /** Remove an asset of an extension. */
1076
+ export const extensionRemoveAsset = {
1077
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}/assets/{assetRefId}",
1078
+ method: "DELETE",
1079
+ operationId: "extension-remove-asset",
1080
+ };
1081
+ /** Add an asset to an extension. */
1082
+ export const extensionRequestAssetUpload = {
1083
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}/assets",
1084
+ method: "POST",
1085
+ operationId: "extension-request-asset-upload",
1086
+ };
1075
1087
  /** Start the verification process of an Extension. */
1076
1088
  export const extensionRequestExtensionVerification = {
1077
1089
  path: "/v2/contributors/{contributorId}/extensions/{extensionId}/verification-process",
1078
1090
  method: "POST",
1079
1091
  operationId: "extension-request-extension-verification",
1080
1092
  };
1093
+ /** Add a logo to an extension. */
1094
+ export const extensionRequestLogoUpload = {
1095
+ path: "/v2/contributors/{contributorId}/extensions/{extensionId}/logo",
1096
+ method: "POST",
1097
+ operationId: "extension-request-logo-upload",
1098
+ };
1081
1099
  /** Publish or withdraw an Extension. */
1082
1100
  export const extensionSetExtensionPublishedState = {
1083
1101
  path: "/v2/contributors/{contributorId}/extensions/{extensionId}/published",
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.119.0';
1
+ export const MittwaldAPIClientVersion = '4.121.0';
@@ -292,8 +292,12 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
292
292
  } | undefined;
293
293
  queryParameters?: {
294
294
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
295
+ searchTerm?: string | undefined;
295
296
  withExportsOnly?: boolean | undefined;
296
297
  sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupBackupSortOrder | undefined;
298
+ limit?: number | undefined;
299
+ skip?: number | undefined;
300
+ page?: number | undefined;
297
301
  } | undefined;
298
302
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackup[]>;
299
303
  /** Get a ProjectBackupSchedule. */
@@ -926,8 +930,10 @@ declare const buildCustomerApi: (baseClient: MittwaldAPIV2Client) => {
926
930
  customerId: string;
927
931
  customerNumber: string;
928
932
  executingUserRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
933
+ flags?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
929
934
  isBanned?: boolean | undefined;
930
935
  isInDefaultOfPayment?: boolean | undefined;
936
+ levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
931
937
  memberCount: number;
932
938
  name: string;
933
939
  owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
@@ -1483,7 +1489,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1483
1489
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
1484
1490
  } | undefined;
1485
1491
  id: string;
1486
- logoRefId?: string | undefined;
1492
+ logoRefId: string;
1487
1493
  name: string;
1488
1494
  published: boolean;
1489
1495
  scopes: string[];
@@ -1777,8 +1777,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1777
1777
  } | undefined;
1778
1778
  queryParameters?: {
1779
1779
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1780
+ searchTerm?: string | undefined;
1780
1781
  withExportsOnly?: boolean | undefined;
1781
1782
  sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupBackupSortOrder | undefined;
1783
+ limit?: number | undefined;
1784
+ skip?: number | undefined;
1785
+ page?: number | undefined;
1782
1786
  } | undefined;
1783
1787
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
1784
1788
  headers?: Partial<{
@@ -1790,8 +1794,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1790
1794
  };
1791
1795
  } & {
1792
1796
  queryParameters: {
1797
+ searchTerm?: string | undefined;
1793
1798
  withExportsOnly?: boolean | undefined;
1794
1799
  sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupBackupSortOrder | undefined;
1800
+ limit?: number | undefined;
1801
+ skip?: number | undefined;
1802
+ page?: number | undefined;
1795
1803
  } & Partial<{
1796
1804
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1797
1805
  }>;
@@ -1813,8 +1821,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
1813
1821
  };
1814
1822
  } & {
1815
1823
  queryParameters: {
1824
+ searchTerm?: string | undefined;
1816
1825
  withExportsOnly?: boolean | undefined;
1817
1826
  sortOrder?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupBackupSortOrder | undefined;
1827
+ limit?: number | undefined;
1828
+ skip?: number | undefined;
1829
+ page?: number | undefined;
1818
1830
  } & Partial<{
1819
1831
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
1820
1832
  }>;
@@ -5169,7 +5181,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5169
5181
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
5170
5182
  } | undefined;
5171
5183
  id: string;
5172
- logoRefId?: string | undefined;
5184
+ logoRefId: string;
5173
5185
  name: string;
5174
5186
  published: boolean;
5175
5187
  scopes: string[];
@@ -5205,7 +5217,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5205
5217
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
5206
5218
  } | undefined;
5207
5219
  id: string;
5208
- logoRefId?: string | undefined;
5220
+ logoRefId: string;
5209
5221
  name: string;
5210
5222
  published: boolean;
5211
5223
  scopes: string[];
@@ -5746,6 +5758,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5746
5758
  } | undefined;
5747
5759
  } | undefined;
5748
5760
  externalFrontend?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
5761
+ externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
5749
5762
  frontendFragments?: {
5750
5763
  [x: string]: {
5751
5764
  url: string;
@@ -5790,6 +5803,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5790
5803
  description?: string | undefined;
5791
5804
  detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
5792
5805
  externalFrontend?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
5806
+ externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
5793
5807
  frontendFragments?: {
5794
5808
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
5795
5809
  } | undefined;
@@ -5826,6 +5840,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5826
5840
  description?: string | undefined;
5827
5841
  detailedDescriptions?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions | undefined;
5828
5842
  externalFrontend?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
5843
+ externalFrontends?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[] | undefined;
5829
5844
  frontendFragments?: {
5830
5845
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
5831
5846
  } | undefined;
@@ -5857,6 +5872,168 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5857
5872
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5858
5873
  [x: string]: unknown;
5859
5874
  }, 429, "application/json">>>;
5875
+ /** Remove an asset of an extension. */
5876
+ extensionRemoveAsset: (request: {
5877
+ contributorId: string;
5878
+ extensionId: string;
5879
+ assetRefId: string;
5880
+ headers?: {
5881
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5882
+ "x-access-token"?: string | undefined;
5883
+ } | undefined;
5884
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5885
+ headers?: Partial<{
5886
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5887
+ }>;
5888
+ } & {
5889
+ pathParameters: {
5890
+ contributorId: string;
5891
+ extensionId: string;
5892
+ assetRefId: string;
5893
+ };
5894
+ } & {
5895
+ headers: {
5896
+ "x-access-token"?: string | undefined;
5897
+ } & Partial<{
5898
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5899
+ }>;
5900
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5901
+ [x: string]: unknown;
5902
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5903
+ [x: string]: unknown;
5904
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5905
+ headers?: Partial<{
5906
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5907
+ }>;
5908
+ } & {
5909
+ pathParameters: {
5910
+ contributorId: string;
5911
+ extensionId: string;
5912
+ assetRefId: string;
5913
+ };
5914
+ } & {
5915
+ headers: {
5916
+ "x-access-token"?: string | undefined;
5917
+ } & Partial<{
5918
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5919
+ }>;
5920
+ }, import("@mittwald/api-client-commons").Response<{}, 204, "empty"> | import("@mittwald/api-client-commons").Response<{
5921
+ [x: string]: unknown;
5922
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5923
+ [x: string]: unknown;
5924
+ }, 429, "application/json">>>;
5925
+ /** Add an asset to an extension. */
5926
+ extensionRequestAssetUpload: (request: {
5927
+ data: {
5928
+ assetType: "image" | "video";
5929
+ };
5930
+ contributorId: string;
5931
+ extensionId: string;
5932
+ headers?: {
5933
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
5934
+ "x-access-token"?: string | undefined;
5935
+ } | undefined;
5936
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
5937
+ data: {
5938
+ assetType: "image" | "video";
5939
+ };
5940
+ } & {
5941
+ pathParameters: {
5942
+ contributorId: string;
5943
+ extensionId: string;
5944
+ };
5945
+ } & {
5946
+ headers?: Partial<{
5947
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5948
+ }>;
5949
+ } & {
5950
+ headers: {
5951
+ "x-access-token"?: string | undefined;
5952
+ } & Partial<{
5953
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5954
+ }>;
5955
+ }, import("@mittwald/api-client-commons").Response<{
5956
+ assetRefId: string;
5957
+ rules: {
5958
+ extensions: string[];
5959
+ fileTypes: {
5960
+ extensions: string[];
5961
+ mimeType: string;
5962
+ }[];
5963
+ maxSizeInBytes: number;
5964
+ mimeTypes: string[];
5965
+ properties?: {
5966
+ imageDimensions?: {
5967
+ max: {
5968
+ height?: number;
5969
+ width?: number;
5970
+ };
5971
+ min: {
5972
+ height?: number;
5973
+ width?: number;
5974
+ };
5975
+ };
5976
+ };
5977
+ };
5978
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
5979
+ [x: string]: unknown;
5980
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5981
+ [x: string]: unknown;
5982
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
5983
+ [x: string]: unknown;
5984
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
5985
+ [x: string]: unknown;
5986
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
5987
+ data: {
5988
+ assetType: "image" | "video";
5989
+ };
5990
+ } & {
5991
+ pathParameters: {
5992
+ contributorId: string;
5993
+ extensionId: string;
5994
+ };
5995
+ } & {
5996
+ headers?: Partial<{
5997
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
5998
+ }>;
5999
+ } & {
6000
+ headers: {
6001
+ "x-access-token"?: string | undefined;
6002
+ } & Partial<{
6003
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6004
+ }>;
6005
+ }, import("@mittwald/api-client-commons").Response<{
6006
+ assetRefId: string;
6007
+ rules: {
6008
+ extensions: string[];
6009
+ fileTypes: {
6010
+ extensions: string[];
6011
+ mimeType: string;
6012
+ }[];
6013
+ maxSizeInBytes: number;
6014
+ mimeTypes: string[];
6015
+ properties?: {
6016
+ imageDimensions?: {
6017
+ max: {
6018
+ height?: number;
6019
+ width?: number;
6020
+ };
6021
+ min: {
6022
+ height?: number;
6023
+ width?: number;
6024
+ };
6025
+ };
6026
+ };
6027
+ };
6028
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6029
+ [x: string]: unknown;
6030
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
6031
+ [x: string]: unknown;
6032
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6033
+ [x: string]: unknown;
6034
+ }, 412, "application/json"> | import("@mittwald/api-client-commons").Response<{
6035
+ [x: string]: unknown;
6036
+ }, 429, "application/json">>>;
5860
6037
  /** Start the verification process of an Extension. */
5861
6038
  extensionRequestExtensionVerification: (request: {
5862
6039
  contributorId: string;
@@ -5904,6 +6081,99 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
5904
6081
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
5905
6082
  [x: string]: unknown;
5906
6083
  }, 429, "application/json">>>;
6084
+ /** Add a logo to an extension. */
6085
+ extensionRequestLogoUpload: (request: {
6086
+ contributorId: string;
6087
+ extensionId: string;
6088
+ headers?: {
6089
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
6090
+ "x-access-token"?: string | undefined;
6091
+ } | undefined;
6092
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
6093
+ headers?: Partial<{
6094
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6095
+ }>;
6096
+ } & {
6097
+ pathParameters: {
6098
+ contributorId: string;
6099
+ extensionId: string;
6100
+ };
6101
+ } & {
6102
+ headers: {
6103
+ "x-access-token"?: string | undefined;
6104
+ } & Partial<{
6105
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6106
+ }>;
6107
+ }, import("@mittwald/api-client-commons").Response<{
6108
+ logoRefId: string;
6109
+ rules: {
6110
+ extensions: string[];
6111
+ fileTypes: {
6112
+ extensions: string[];
6113
+ mimeType: string;
6114
+ }[];
6115
+ maxSizeInBytes: number;
6116
+ mimeTypes: string[];
6117
+ properties?: {
6118
+ imageDimensions?: {
6119
+ max: {
6120
+ height?: number;
6121
+ width?: number;
6122
+ };
6123
+ min: {
6124
+ height?: number;
6125
+ width?: number;
6126
+ };
6127
+ };
6128
+ };
6129
+ };
6130
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6131
+ [x: string]: unknown;
6132
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6133
+ [x: string]: unknown;
6134
+ }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
6135
+ headers?: Partial<{
6136
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6137
+ }>;
6138
+ } & {
6139
+ pathParameters: {
6140
+ contributorId: string;
6141
+ extensionId: string;
6142
+ };
6143
+ } & {
6144
+ headers: {
6145
+ "x-access-token"?: string | undefined;
6146
+ } & Partial<{
6147
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
6148
+ }>;
6149
+ }, import("@mittwald/api-client-commons").Response<{
6150
+ logoRefId: string;
6151
+ rules: {
6152
+ extensions: string[];
6153
+ fileTypes: {
6154
+ extensions: string[];
6155
+ mimeType: string;
6156
+ }[];
6157
+ maxSizeInBytes: number;
6158
+ mimeTypes: string[];
6159
+ properties?: {
6160
+ imageDimensions?: {
6161
+ max: {
6162
+ height?: number;
6163
+ width?: number;
6164
+ };
6165
+ min: {
6166
+ height?: number;
6167
+ width?: number;
6168
+ };
6169
+ };
6170
+ };
6171
+ };
6172
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
6173
+ [x: string]: unknown;
6174
+ }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
6175
+ [x: string]: unknown;
6176
+ }, 429, "application/json">>>;
5907
6177
  /** Publish or withdraw an Extension. */
5908
6178
  extensionSetExtensionPublishedState: (request: {
5909
6179
  data: {
@@ -8341,8 +8611,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8341
8611
  customerId: string;
8342
8612
  customerNumber: string;
8343
8613
  executingUserRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
8614
+ flags?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
8344
8615
  isBanned?: boolean | undefined;
8345
8616
  isInDefaultOfPayment?: boolean | undefined;
8617
+ levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
8346
8618
  memberCount: number;
8347
8619
  name: string;
8348
8620
  owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
@@ -8381,8 +8653,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
8381
8653
  customerId: string;
8382
8654
  customerNumber: string;
8383
8655
  executingUserRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerRole[] | undefined;
8656
+ flags?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[] | undefined;
8384
8657
  isBanned?: boolean | undefined;
8385
8658
  isInDefaultOfPayment?: boolean | undefined;
8659
+ levelOfUndeliverableDunningNotice?: "first" | "second" | undefined;
8386
8660
  memberCount: number;
8387
8661
  name: string;
8388
8662
  owner?: import("./types.js").MittwaldAPIV2.Components.Schemas.CustomerContact | undefined;
@@ -361,8 +361,14 @@ export declare const extensionListExtensions: OpenAPIOperation<RequestType<Simpl
361
361
  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">>;
362
362
  /** Register an Extension. */
363
363
  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">>;
364
+ /** Remove an asset of an extension. */
365
+ export declare const extensionRemoveAsset: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId.Delete.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId.Delete.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId.Delete.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
366
+ /** Add an asset to an extension. */
367
+ export declare const extensionRequestAssetUpload: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Responses.$412.Content.ApplicationJson>, 412, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdAssets.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
364
368
  /** Start the verification process of an Extension. */
365
369
  export declare const extensionRequestExtensionVerification: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Responses.$204.Content.ApplicationJson>, 204, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
370
+ /** Add a logo to an extension. */
371
+ export declare const extensionRequestLogoUpload: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdLogo.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdLogo.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdLogo.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdLogo.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdLogo.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdLogo.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdLogo.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
366
372
  /** Publish or withdraw an Extension. */
367
373
  export declare const extensionSetExtensionPublishedState: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ContributorsContributorIdExtensionsExtensionIdPublished.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
368
374
  /** Create a File. */
@@ -718,10 +718,22 @@ export declare namespace MittwaldAPIV2 {
718
718
  type RequestData = InferredRequestData<typeof descriptors.extensionRegisterExtension>;
719
719
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionRegisterExtension, TStatus>;
720
720
  }
721
+ namespace ExtensionRemoveAsset {
722
+ type RequestData = InferredRequestData<typeof descriptors.extensionRemoveAsset>;
723
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionRemoveAsset, TStatus>;
724
+ }
725
+ namespace ExtensionRequestAssetUpload {
726
+ type RequestData = InferredRequestData<typeof descriptors.extensionRequestAssetUpload>;
727
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionRequestAssetUpload, TStatus>;
728
+ }
721
729
  namespace ExtensionRequestExtensionVerification {
722
730
  type RequestData = InferredRequestData<typeof descriptors.extensionRequestExtensionVerification>;
723
731
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionRequestExtensionVerification, TStatus>;
724
732
  }
733
+ namespace ExtensionRequestLogoUpload {
734
+ type RequestData = InferredRequestData<typeof descriptors.extensionRequestLogoUpload>;
735
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionRequestLogoUpload, TStatus>;
736
+ }
725
737
  namespace ExtensionSetExtensionPublishedState {
726
738
  type RequestData = InferredRequestData<typeof descriptors.extensionSetExtensionPublishedState>;
727
739
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionSetExtensionPublishedState, TStatus>;
@@ -2080,6 +2092,7 @@ export declare namespace MittwaldAPIV2 {
2080
2092
  title?: string;
2081
2093
  useFormalTerm?: boolean;
2082
2094
  }
2095
+ type CustomerCustomerFlag = "agency" | "employee";
2083
2096
  interface CustomerCustomerMeta {
2084
2097
  avatarRefId?: string;
2085
2098
  customerId: string;
@@ -2099,8 +2112,10 @@ export declare namespace MittwaldAPIV2 {
2099
2112
  customerId: string;
2100
2113
  customerNumber: string;
2101
2114
  executingUserRoles?: MittwaldAPIV2.Components.Schemas.CustomerRole[];
2115
+ flags?: MittwaldAPIV2.Components.Schemas.CustomerCustomerFlag[];
2102
2116
  isBanned?: boolean;
2103
2117
  isInDefaultOfPayment?: boolean;
2118
+ levelOfUndeliverableDunningNotice?: "first" | "second";
2104
2119
  memberCount: number;
2105
2120
  name: string;
2106
2121
  owner?: MittwaldAPIV2.Components.Schemas.CustomerContact;
@@ -2478,7 +2493,7 @@ export declare namespace MittwaldAPIV2 {
2478
2493
  /**
2479
2494
  * This is the FileId of the Logo. Retrieve the file with this id on `/v2/files/{logoRefId}`.
2480
2495
  */
2481
- logoRefId?: string;
2496
+ logoRefId: string;
2482
2497
  name: string;
2483
2498
  /**
2484
2499
  * Whether the extension has been published by the contributor.
@@ -5659,8 +5674,12 @@ export declare namespace MittwaldAPIV2 {
5659
5674
  };
5660
5675
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
5661
5676
  type Query = {
5677
+ searchTerm?: string;
5662
5678
  withExportsOnly?: boolean;
5663
5679
  sortOrder?: MittwaldAPIV2.Components.Schemas.BackupBackupSortOrder;
5680
+ limit?: number;
5681
+ skip?: number;
5682
+ page?: number;
5664
5683
  };
5665
5684
  }
5666
5685
  namespace Responses {
@@ -12849,7 +12868,11 @@ export declare namespace MittwaldAPIV2 {
12849
12868
  context?: MittwaldAPIV2.Components.Schemas.MarketplaceContext;
12850
12869
  description?: string;
12851
12870
  detailedDescriptions?: MittwaldAPIV2.Components.Schemas.MarketplaceDetailedDescriptions;
12871
+ /**
12872
+ * @deprecated
12873
+ */
12852
12874
  externalFrontend?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
12875
+ externalFrontends?: MittwaldAPIV2.Components.Schemas.MarketplaceExternalComponent[];
12853
12876
  frontendFragments?: {
12854
12877
  [k: string]: MittwaldAPIV2.Components.Schemas.MarketplaceFrontendFragment;
12855
12878
  };
@@ -12895,6 +12918,133 @@ export declare namespace MittwaldAPIV2 {
12895
12918
  }
12896
12919
  }
12897
12920
  }
12921
+ namespace V2ContributorsContributorIdExtensionsExtensionIdAssetsAssetRefId {
12922
+ namespace Delete {
12923
+ namespace Parameters {
12924
+ type Path = {
12925
+ contributorId: string;
12926
+ extensionId: string;
12927
+ assetRefId: string;
12928
+ };
12929
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
12930
+ type Query = {};
12931
+ }
12932
+ namespace Responses {
12933
+ namespace $204 {
12934
+ namespace Content {
12935
+ type Empty = unknown;
12936
+ }
12937
+ }
12938
+ namespace $404 {
12939
+ namespace Content {
12940
+ interface ApplicationJson {
12941
+ [k: string]: unknown;
12942
+ }
12943
+ }
12944
+ }
12945
+ namespace $429 {
12946
+ namespace Content {
12947
+ interface ApplicationJson {
12948
+ [k: string]: unknown;
12949
+ }
12950
+ }
12951
+ }
12952
+ namespace Default {
12953
+ namespace Content {
12954
+ interface ApplicationJson {
12955
+ [k: string]: unknown;
12956
+ }
12957
+ }
12958
+ }
12959
+ }
12960
+ }
12961
+ }
12962
+ namespace V2ContributorsContributorIdExtensionsExtensionIdAssets {
12963
+ namespace Post {
12964
+ namespace Parameters {
12965
+ type Path = {
12966
+ contributorId: string;
12967
+ extensionId: string;
12968
+ };
12969
+ interface RequestBody {
12970
+ assetType: "image" | "video";
12971
+ }
12972
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
12973
+ type Query = {};
12974
+ }
12975
+ namespace Responses {
12976
+ namespace $200 {
12977
+ namespace Content {
12978
+ interface ApplicationJson {
12979
+ /**
12980
+ * Use the ID as upload token at `/v2/files/{assetRefId}`. This ID will also be the ID of your asset in extension.
12981
+ */
12982
+ assetRefId: string;
12983
+ /**
12984
+ * Constraints for the asset image or video upload, defers on the given assetType.
12985
+ */
12986
+ rules: {
12987
+ extensions: string[];
12988
+ fileTypes: {
12989
+ extensions: string[];
12990
+ mimeType: string;
12991
+ }[];
12992
+ maxSizeInBytes: number;
12993
+ mimeTypes: string[];
12994
+ properties?: {
12995
+ imageDimensions?: {
12996
+ max: {
12997
+ height?: number;
12998
+ width?: number;
12999
+ };
13000
+ min: {
13001
+ height?: number;
13002
+ width?: number;
13003
+ };
13004
+ };
13005
+ };
13006
+ };
13007
+ }
13008
+ }
13009
+ }
13010
+ namespace $400 {
13011
+ namespace Content {
13012
+ interface ApplicationJson {
13013
+ [k: string]: unknown;
13014
+ }
13015
+ }
13016
+ }
13017
+ namespace $404 {
13018
+ namespace Content {
13019
+ interface ApplicationJson {
13020
+ [k: string]: unknown;
13021
+ }
13022
+ }
13023
+ }
13024
+ namespace $412 {
13025
+ namespace Content {
13026
+ interface ApplicationJson {
13027
+ [k: string]: unknown;
13028
+ }
13029
+ }
13030
+ }
13031
+ namespace $429 {
13032
+ namespace Content {
13033
+ interface ApplicationJson {
13034
+ [k: string]: unknown;
13035
+ }
13036
+ }
13037
+ }
13038
+ namespace Default {
13039
+ namespace Content {
13040
+ interface ApplicationJson {
13041
+ [k: string]: unknown;
13042
+ }
13043
+ }
13044
+ }
13045
+ }
13046
+ }
13047
+ }
12898
13048
  namespace V2ContributorsContributorIdExtensionsExtensionIdVerificationProcess {
12899
13049
  namespace Post {
12900
13050
  namespace Parameters {
@@ -12936,6 +13086,75 @@ export declare namespace MittwaldAPIV2 {
12936
13086
  }
12937
13087
  }
12938
13088
  }
13089
+ namespace V2ContributorsContributorIdExtensionsExtensionIdLogo {
13090
+ namespace Post {
13091
+ namespace Parameters {
13092
+ type Path = {
13093
+ contributorId: string;
13094
+ extensionId: string;
13095
+ };
13096
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
13097
+ type Query = {};
13098
+ }
13099
+ namespace Responses {
13100
+ namespace $200 {
13101
+ namespace Content {
13102
+ interface ApplicationJson {
13103
+ /**
13104
+ * Use the logoRefId as updload token at `/v2/files/{logoRefId}`.
13105
+ */
13106
+ logoRefId: string;
13107
+ /**
13108
+ * Constraints for the logo image upload.
13109
+ */
13110
+ rules: {
13111
+ extensions: string[];
13112
+ fileTypes: {
13113
+ extensions: string[];
13114
+ mimeType: string;
13115
+ }[];
13116
+ maxSizeInBytes: number;
13117
+ mimeTypes: string[];
13118
+ properties?: {
13119
+ imageDimensions?: {
13120
+ max: {
13121
+ height?: number;
13122
+ width?: number;
13123
+ };
13124
+ min: {
13125
+ height?: number;
13126
+ width?: number;
13127
+ };
13128
+ };
13129
+ };
13130
+ };
13131
+ }
13132
+ }
13133
+ }
13134
+ namespace $404 {
13135
+ namespace Content {
13136
+ interface ApplicationJson {
13137
+ [k: string]: unknown;
13138
+ }
13139
+ }
13140
+ }
13141
+ namespace $429 {
13142
+ namespace Content {
13143
+ interface ApplicationJson {
13144
+ [k: string]: unknown;
13145
+ }
13146
+ }
13147
+ }
13148
+ namespace Default {
13149
+ namespace Content {
13150
+ interface ApplicationJson {
13151
+ [k: string]: unknown;
13152
+ }
13153
+ }
13154
+ }
13155
+ }
13156
+ }
13157
+ }
12939
13158
  namespace V2ContributorsContributorIdExtensionsExtensionIdPublished {
12940
13159
  namespace Put {
12941
13160
  namespace Parameters {
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '4.119.0';
1
+ export declare const MittwaldAPIClientVersion = '4.121.0';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "4.120.0",
3
+ "version": "4.122.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": "df7a169b4b93d605aa99dcac5ae6909e783e0d39"
83
+ "gitHead": "b4f1c1c7503e65d0f6bb24ebd61184eba0f1b69e"
84
84
  }