@mittwald/api-client 0.0.0-development-dbfaa98-20250828 → 0.0.0-development-d086739-20250902

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.
@@ -112,6 +112,8 @@ const buildContractApi = (baseClient) => ({
112
112
  orderListProjectOrders: new ApiCallAsyncResourceFactory(descriptors.orderListProjectOrders, baseClient.contract.orderListProjectOrders).getApiResource,
113
113
  });
114
114
  const buildMarketplaceApi = (baseClient) => ({
115
+ /** Get a Contributor. */
116
+ extensionGetContributor: new ApiCallAsyncResourceFactory(descriptors.extensionGetContributor, baseClient.marketplace.extensionGetContributor).getApiResource,
115
117
  /** Get Contributor Billing Information. */
116
118
  contributorGetBillingInformation: new ApiCallAsyncResourceFactory(descriptors.contributorGetBillingInformation, baseClient.marketplace.contributorGetBillingInformation).getApiResource,
117
119
  /** Get the Stripe Billing Portal Link for a Customer */
@@ -132,8 +134,6 @@ const buildMarketplaceApi = (baseClient) => ({
132
134
  extensionGetExtensionInstance: new ApiCallAsyncResourceFactory(descriptors.extensionGetExtensionInstance, baseClient.marketplace.extensionGetExtensionInstance).getApiResource,
133
135
  /** Get Extension of own contributor. */
134
136
  extensionGetOwnExtension: new ApiCallAsyncResourceFactory(descriptors.extensionGetOwnExtension, baseClient.marketplace.extensionGetOwnExtension).getApiResource,
135
- /** Get a Contributor. */
136
- extensionGetContributor: new ApiCallAsyncResourceFactory(descriptors.extensionGetContributor, baseClient.marketplace.extensionGetContributor).getApiResource,
137
137
  /** Get all open extension orders for given customer */
138
138
  extensionGetCustomerExtensionInstanceOrders: new ApiCallAsyncResourceFactory(descriptors.extensionGetCustomerExtensionInstanceOrders, baseClient.marketplace.extensionGetCustomerExtensionInstanceOrders).getApiResource,
139
139
  /** Get the Contract Strategy of an Extension Instance */
@@ -203,6 +203,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
203
203
  };
204
204
  /** The marketplace API allows you to manage extensions and more information regaring the marketplace. */
205
205
  marketplace = {
206
+ /** Get a Contributor. */
207
+ extensionGetContributor: this.requestFunctionFactory(descriptors.extensionGetContributor),
208
+ /** Delete a Contributor. */
209
+ contributorDeleteContributor: this.requestFunctionFactory(descriptors.contributorDeleteContributor),
210
+ /** Patch Contributor. */
211
+ contributorPatchContributor: this.requestFunctionFactory(descriptors.contributorPatchContributor),
212
+ /** Express interest to be a contributor. */
213
+ contributorExpressInterestToContribute: this.requestFunctionFactory(descriptors.contributorExpressInterestToContribute),
206
214
  /** Get Contributor Billing Information. */
207
215
  contributorGetBillingInformation: this.requestFunctionFactory(descriptors.contributorGetBillingInformation),
208
216
  /** Update Contributor Billing Information. */
@@ -261,8 +269,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
261
269
  extensionGenerateExtensionSecret: this.requestFunctionFactory(descriptors.extensionGenerateExtensionSecret),
262
270
  /** Generate a session token to transmit it to the extensions frontend fragment. */
263
271
  extensionGenerateSessionToken: this.requestFunctionFactory(descriptors.extensionGenerateSessionToken),
264
- /** Get a Contributor. */
265
- extensionGetContributor: this.requestFunctionFactory(descriptors.extensionGetContributor),
266
272
  /** Get all open extension orders for given customer */
267
273
  extensionGetCustomerExtensionInstanceOrders: this.requestFunctionFactory(descriptors.extensionGetCustomerExtensionInstanceOrders),
268
274
  /** Get the Contract Strategy of an Extension Instance */
@@ -311,8 +317,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
311
317
  customerGetPaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerGetPaymentMethod),
312
318
  /** Get the link to update the marketplace payment method */
313
319
  customerUpdatePaymentMethod: this.requestFunctionFactory(descriptors.marketplaceCustomerUpdatePaymentMethod),
314
- /** Express interest to be a contributor. */
315
- contributorExpressInterestToContribute: this.requestFunctionFactory(descriptors.contributorExpressInterestToContribute),
316
320
  };
317
321
  /** The conversation API allows you to manage your support conversations. */
318
322
  conversation = {
@@ -609,6 +613,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
609
613
  updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
610
614
  /** Update a mail setting of a Project. */
611
615
  updateProjectMailSetting: this.requestFunctionFactory(descriptors.mailUpdateProjectMailSetting),
616
+ /** Disable a MailAddress Archive. */
617
+ disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
612
618
  };
613
619
  /** The notification API allows you to manage your notifications. */
614
620
  notification = {
@@ -222,7 +222,7 @@ export const backupDeleteProjectBackup = {
222
222
  };
223
223
  /** Get table of contents for a Project Backup. */
224
224
  export const backupGetProjectBackupToc = {
225
- path: "/v2/project-backups/toc/{projectId}/{projectBackupId}",
225
+ path: "/v2/project-backups/{projectBackupId}/toc",
226
226
  method: "GET",
227
227
  operationId: "backup-get-project-backup-toc",
228
228
  };
@@ -466,6 +466,30 @@ export const contractListContracts = {
466
466
  method: "GET",
467
467
  operationId: "contract-list-contracts",
468
468
  };
469
+ /** Get a Contributor. */
470
+ export const extensionGetContributor = {
471
+ path: "/v2/contributors/{contributorId}",
472
+ method: "GET",
473
+ operationId: "extension-get-contributor",
474
+ };
475
+ /** Delete a Contributor. */
476
+ export const contributorDeleteContributor = {
477
+ path: "/v2/contributors/{contributorId}",
478
+ method: "DELETE",
479
+ operationId: "contributor-delete-contributor",
480
+ };
481
+ /** Patch Contributor. */
482
+ export const contributorPatchContributor = {
483
+ path: "/v2/contributors/{contributorId}",
484
+ method: "PATCH",
485
+ operationId: "contributor-patch-contributor",
486
+ };
487
+ /** Express interest to be a contributor. */
488
+ export const contributorExpressInterestToContribute = {
489
+ path: "/v2/customers/{customerId}/contributor",
490
+ method: "POST",
491
+ operationId: "contributor-express-interest-to-contribute",
492
+ };
469
493
  /** Get Contributor Billing Information. */
470
494
  export const contributorGetBillingInformation = {
471
495
  path: "/v2/contributors/{contributorId}/billing-information",
@@ -1264,12 +1288,6 @@ export const extensionGenerateSessionToken = {
1264
1288
  method: "POST",
1265
1289
  operationId: "extension-generate-session-token",
1266
1290
  };
1267
- /** Get a Contributor. */
1268
- export const extensionGetContributor = {
1269
- path: "/v2/contributors/{contributorId}",
1270
- method: "GET",
1271
- operationId: "extension-get-contributor",
1272
- };
1273
1291
  /** Get all open extension orders for given customer */
1274
1292
  export const extensionGetCustomerExtensionInstanceOrders = {
1275
1293
  path: "/v2/customers/{customerId}/extension-orders",
@@ -2536,9 +2554,9 @@ export const verificationVerifyCompany = {
2536
2554
  method: "POST",
2537
2555
  operationId: "verification-verify-company",
2538
2556
  };
2539
- /** Express interest to be a contributor. */
2540
- export const contributorExpressInterestToContribute = {
2541
- path: "/v2/customers/{customerId}/contributor",
2542
- method: "POST",
2543
- operationId: "contributor-express-interest-to-contribute",
2557
+ /** Disable a MailAddress Archive. */
2558
+ export const mailDisableMailArchive = {
2559
+ path: "/v2/mail-archive/{mailArchiveId}",
2560
+ method: "DELETE",
2561
+ operationId: "mail-disable-mail-archive",
2544
2562
  };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '0.0.0-development-6c3be68-20250827';
1
+ export const MittwaldAPIClientVersion = '0.0.0-development-909fd1d-20250901';
@@ -34,6 +34,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
34
34
  lockedBy?: {
35
35
  [k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
36
36
  } | undefined;
37
+ phase: import("./types.js").MittwaldAPIV2.Components.Schemas.AppPhase;
37
38
  projectId: string;
38
39
  screenshotId?: string | undefined;
39
40
  screenshotRef?: string | undefined;
@@ -346,12 +347,10 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
346
347
  }>;
347
348
  /** Get table of contents for a Project Backup. */
348
349
  getProjectBackupToc: (conf: {
349
- projectId: string;
350
350
  projectBackupId: string;
351
351
  queryParameters?: {
352
352
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
353
353
  directory?: string | undefined;
354
- namespace?: string | undefined;
355
354
  } | undefined;
356
355
  headers?: {
357
356
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -363,7 +362,7 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
363
362
  isExecutable?: boolean | undefined;
364
363
  isFile?: boolean | undefined;
365
364
  isSymlink?: boolean | undefined;
366
- items?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupTOC[] | undefined;
365
+ items?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupDirectory[] | undefined;
367
366
  name: string;
368
367
  size: number;
369
368
  target?: string | undefined;
@@ -882,6 +881,13 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
882
881
  }) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
883
882
  };
884
883
  declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
884
+ /** Get a Contributor. */
885
+ extensionGetContributor: (conf: {
886
+ contributorId: string;
887
+ headers?: {
888
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
889
+ } | undefined;
890
+ }) => import("@mittwald/react-use-promise").AsyncResource<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$200.Content.ApplicationJson>>;
885
891
  /** Get Contributor Billing Information. */
886
892
  contributorGetBillingInformation: (conf: {
887
893
  contributorId: string;
@@ -1056,7 +1062,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1056
1062
  id: string;
1057
1063
  logoRefId?: string | undefined;
1058
1064
  name: string;
1059
- pricing?: (import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricingStrategy | import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy) | undefined;
1065
+ pricing?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy | undefined;
1060
1066
  published: boolean;
1061
1067
  requestedChanges?: {
1062
1068
  context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
@@ -1076,13 +1082,6 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
1076
1082
  verified: boolean;
1077
1083
  webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
1078
1084
  }>;
1079
- /** Get a Contributor. */
1080
- extensionGetContributor: (conf: {
1081
- contributorId: string;
1082
- headers?: {
1083
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1084
- } | undefined;
1085
- }) => import("@mittwald/react-use-promise").AsyncResource<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$200.Content.ApplicationJson>>;
1086
1085
  /** Get all open extension orders for given customer */
1087
1086
  extensionGetCustomerExtensionInstanceOrders: (conf: {
1088
1087
  customerId: string;