@mittwald/api-client 0.0.0-development-6c3be68-20250827 → 0.0.0-development-909fd1d-20250901
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.
- package/dist/esm/generated/v2/client-react.js +2 -2
- package/dist/esm/generated/v2/client.js +10 -2
- package/dist/esm/generated/v2/descriptors.js +31 -7
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +14 -11
- package/dist/types/generated/v2/client.d.ts +422 -49
- package/dist/types/generated/v2/descriptors.d.ts +12 -4
- package/dist/types/generated/v2/types.d.ts +354 -73
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -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 */
|
|
@@ -607,6 +613,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
607
613
|
updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
|
|
608
614
|
/** Update a mail setting of a Project. */
|
|
609
615
|
updateProjectMailSetting: this.requestFunctionFactory(descriptors.mailUpdateProjectMailSetting),
|
|
616
|
+
/** Disable a MailAddress Archive. */
|
|
617
|
+
disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
|
|
610
618
|
};
|
|
611
619
|
/** The notification API allows you to manage your notifications. */
|
|
612
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/
|
|
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,3 +2554,9 @@ export const verificationVerifyCompany = {
|
|
|
2536
2554
|
method: "POST",
|
|
2537
2555
|
operationId: "verification-verify-company",
|
|
2538
2556
|
};
|
|
2557
|
+
/** Disable a MailAddress Archive. */
|
|
2558
|
+
export const mailDisableMailArchive = {
|
|
2559
|
+
path: "/v2/mail-archive/{mailArchiveId}",
|
|
2560
|
+
method: "DELETE",
|
|
2561
|
+
operationId: "mail-disable-mail-archive",
|
|
2562
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.213.0';
|
|
@@ -346,12 +346,10 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
346
346
|
}>;
|
|
347
347
|
/** Get table of contents for a Project Backup. */
|
|
348
348
|
getProjectBackupToc: (conf: {
|
|
349
|
-
projectId: string;
|
|
350
349
|
projectBackupId: string;
|
|
351
350
|
queryParameters?: {
|
|
352
351
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
353
352
|
directory?: string | undefined;
|
|
354
|
-
namespace?: string | undefined;
|
|
355
353
|
} | undefined;
|
|
356
354
|
headers?: {
|
|
357
355
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -363,7 +361,7 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
363
361
|
isExecutable?: boolean | undefined;
|
|
364
362
|
isFile?: boolean | undefined;
|
|
365
363
|
isSymlink?: boolean | undefined;
|
|
366
|
-
items?: import("./types.js").MittwaldAPIV2.Components.Schemas.
|
|
364
|
+
items?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupDirectory[] | undefined;
|
|
367
365
|
name: string;
|
|
368
366
|
size: number;
|
|
369
367
|
target?: string | undefined;
|
|
@@ -462,6 +460,10 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
462
460
|
getServiceLogs: (conf: {
|
|
463
461
|
stackId: string;
|
|
464
462
|
serviceId: string;
|
|
463
|
+
queryParameters?: {
|
|
464
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
465
|
+
tail?: number | undefined;
|
|
466
|
+
} | undefined;
|
|
465
467
|
headers?: {
|
|
466
468
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
467
469
|
"x-access-token"?: string | undefined;
|
|
@@ -878,6 +880,13 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
878
880
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.OrderCustomerOrder[]>;
|
|
879
881
|
};
|
|
880
882
|
declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
883
|
+
/** Get a Contributor. */
|
|
884
|
+
extensionGetContributor: (conf: {
|
|
885
|
+
contributorId: string;
|
|
886
|
+
headers?: {
|
|
887
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
888
|
+
} | undefined;
|
|
889
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$200.Content.ApplicationJson>>;
|
|
881
890
|
/** Get Contributor Billing Information. */
|
|
882
891
|
contributorGetBillingInformation: (conf: {
|
|
883
892
|
contributorId: string;
|
|
@@ -1052,7 +1061,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1052
1061
|
id: string;
|
|
1053
1062
|
logoRefId?: string | undefined;
|
|
1054
1063
|
name: string;
|
|
1055
|
-
pricing?:
|
|
1064
|
+
pricing?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy | undefined;
|
|
1056
1065
|
published: boolean;
|
|
1057
1066
|
requestedChanges?: {
|
|
1058
1067
|
context?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceContext;
|
|
@@ -1072,13 +1081,6 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1072
1081
|
verified: boolean;
|
|
1073
1082
|
webhookUrls?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls | undefined;
|
|
1074
1083
|
}>;
|
|
1075
|
-
/** Get a Contributor. */
|
|
1076
|
-
extensionGetContributor: (conf: {
|
|
1077
|
-
contributorId: string;
|
|
1078
|
-
headers?: {
|
|
1079
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1080
|
-
} | undefined;
|
|
1081
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("@mittwald/api-client-commons").Simplify<import("./types.js").MittwaldAPIV2.Paths.V2ContributorsContributorId.Get.Responses.$200.Content.ApplicationJson>>;
|
|
1082
1084
|
/** Get all open extension orders for given customer */
|
|
1083
1085
|
extensionGetCustomerExtensionInstanceOrders: (conf: {
|
|
1084
1086
|
customerId: string;
|
|
@@ -2298,6 +2300,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2298
2300
|
forwardAddress?: boolean | undefined;
|
|
2299
2301
|
catchAll?: boolean | undefined;
|
|
2300
2302
|
autoResponder?: boolean | undefined;
|
|
2303
|
+
mailArchive?: boolean | undefined;
|
|
2301
2304
|
limit?: number | undefined;
|
|
2302
2305
|
skip?: number | undefined;
|
|
2303
2306
|
page?: number | undefined;
|