@mittwald/api-client 0.0.0-development-9f66b59-20260619 → 0.0.0-development-8335166-20260625
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 -0
- package/dist/esm/generated/v2/client.js +4 -4
- package/dist/esm/generated/v2/descriptors.js +12 -12
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +26 -33
- package/dist/types/generated/v2/client.d.ts +176 -188
- package/dist/types/generated/v2/descriptors.d.ts +4 -4
- package/dist/types/generated/v2/types.d.ts +280 -222
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -448,6 +448,8 @@ const buildProjectApi = (baseClient) => ({
|
|
|
448
448
|
getSelfMembershipForProject: new ApiCallAsyncResourceFactory(descriptors.projectGetSelfMembershipForProject, baseClient.project.getSelfMembershipForProject).getApiResource,
|
|
449
449
|
/** Get a Server. */
|
|
450
450
|
getServer: new ApiCallAsyncResourceFactory(descriptors.projectGetServer, baseClient.project.getServer).getApiResource,
|
|
451
|
+
/** List Projects belonging to a Customer. */
|
|
452
|
+
listCustomerProjects: new ApiCallAsyncResourceFactory(descriptors.projectListCustomerProjects, baseClient.project.listCustomerProjects).getApiResource,
|
|
451
453
|
/** List Memberships belonging to a Project. */
|
|
452
454
|
listMembershipsForProject: new ApiCallAsyncResourceFactory(descriptors.projectListMembershipsForProject, baseClient.project.listMembershipsForProject).getApiResource,
|
|
453
455
|
/** Get the activities of a project. */
|
|
@@ -188,8 +188,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
188
188
|
restartService: this.requestFunctionFactory(descriptors.containerRestartService),
|
|
189
189
|
/** Create or rotate pull-image webhook token */
|
|
190
190
|
rotatePullImageWebhookForService: this.requestFunctionFactory(descriptors.containerRotatePullImageWebhookForService),
|
|
191
|
-
/** Replace the description of a Stack. */
|
|
192
|
-
setStackDescription: this.requestFunctionFactory(descriptors.containerSetStackDescription),
|
|
193
191
|
/** Set an update schedule for a Stack. */
|
|
194
192
|
setStackUpdateSchedule: this.requestFunctionFactory(descriptors.containerSetStackUpdateSchedule),
|
|
195
193
|
/** Start a stopped Service. */
|
|
@@ -714,6 +712,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
714
712
|
migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
|
|
715
713
|
/** Recover emails for a MailAddress from a backup. */
|
|
716
714
|
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
715
|
+
/** Request a rate limit change for a MailAddress. */
|
|
716
|
+
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
717
717
|
/** Update the description of a DeliveryBox. */
|
|
718
718
|
updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
|
|
719
719
|
/** Update the password of a DeliveryBox. */
|
|
@@ -722,8 +722,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
722
722
|
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
723
723
|
/** Update the catch-all of a MailAddress. */
|
|
724
724
|
updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
|
|
725
|
-
/** Request a rate limit change for a MailAddress. */
|
|
726
|
-
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
727
725
|
};
|
|
728
726
|
/** The notification API allows you to manage your notifications. */
|
|
729
727
|
notification = {
|
|
@@ -972,6 +970,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
972
970
|
getSelfMembershipForProject: this.requestFunctionFactory(descriptors.projectGetSelfMembershipForProject),
|
|
973
971
|
/** Get a Server. */
|
|
974
972
|
getServer: this.requestFunctionFactory(descriptors.projectGetServer),
|
|
973
|
+
/** List Projects belonging to a Customer. */
|
|
974
|
+
listCustomerProjects: this.requestFunctionFactory(descriptors.projectListCustomerProjects),
|
|
975
975
|
/** List Memberships belonging to a Project. */
|
|
976
976
|
listMembershipsForProject: this.requestFunctionFactory(descriptors.projectListMembershipsForProject),
|
|
977
977
|
/** Get the activities of a project. */
|
|
@@ -508,12 +508,6 @@ export const containerRotatePullImageWebhookForService = {
|
|
|
508
508
|
method: "POST",
|
|
509
509
|
operationId: "container-rotate-pull-image-webhook-for-service",
|
|
510
510
|
};
|
|
511
|
-
/** Replace the description of a Stack. */
|
|
512
|
-
export const containerSetStackDescription = {
|
|
513
|
-
path: "/v2/stacks/{stackId}/description",
|
|
514
|
-
method: "PUT",
|
|
515
|
-
operationId: "container-set-stack-description",
|
|
516
|
-
};
|
|
517
511
|
/** Set an update schedule for a Stack. */
|
|
518
512
|
export const containerSetStackUpdateSchedule = {
|
|
519
513
|
path: "/v2/stacks/{stackId}/update-schedule",
|
|
@@ -2050,6 +2044,12 @@ export const mailRecoverMailAddressEmails = {
|
|
|
2050
2044
|
method: "POST",
|
|
2051
2045
|
operationId: "mail-recover-mail-address-emails",
|
|
2052
2046
|
};
|
|
2047
|
+
/** Request a rate limit change for a MailAddress. */
|
|
2048
|
+
export const mailRequestMailAddressRateLimitChange = {
|
|
2049
|
+
path: "/v2/mail-addresses/{mailAddressId}/request-rate-limit-change",
|
|
2050
|
+
method: "POST",
|
|
2051
|
+
operationId: "mail-request-mail-address-rate-limit-change",
|
|
2052
|
+
};
|
|
2053
2053
|
/** Update the description of a DeliveryBox. */
|
|
2054
2054
|
export const mailUpdateDeliveryBoxDescription = {
|
|
2055
2055
|
path: "/v2/delivery-boxes/{deliveryBoxId}/description",
|
|
@@ -2350,6 +2350,12 @@ export const projectGetServer = {
|
|
|
2350
2350
|
method: "GET",
|
|
2351
2351
|
operationId: "project-get-server",
|
|
2352
2352
|
};
|
|
2353
|
+
/** List Projects belonging to a Customer. */
|
|
2354
|
+
export const projectListCustomerProjects = {
|
|
2355
|
+
path: "/v2/customers/{customerId}/projects",
|
|
2356
|
+
method: "GET",
|
|
2357
|
+
operationId: "project-list-customer-projects",
|
|
2358
|
+
};
|
|
2353
2359
|
/** List Memberships belonging to a Project. */
|
|
2354
2360
|
export const projectListMembershipsForProject = {
|
|
2355
2361
|
path: "/v2/projects/{projectId}/memberships",
|
|
@@ -2890,9 +2896,3 @@ export const verificationVerifyCompany = {
|
|
|
2890
2896
|
method: "POST",
|
|
2891
2897
|
operationId: "verification-verify-company",
|
|
2892
2898
|
};
|
|
2893
|
-
/** Request a rate limit change for a MailAddress. */
|
|
2894
|
-
export const mailRequestMailAddressRateLimitChange = {
|
|
2895
|
-
path: "/v2/mail-addresses/{mailAddressId}/request-rate-limit-change",
|
|
2896
|
-
method: "POST",
|
|
2897
|
-
operationId: "mail-request-mail-address-rate-limit-change",
|
|
2898
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.397.0';
|
|
@@ -1536,6 +1536,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1536
1536
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1537
1537
|
extensionId?: string | undefined;
|
|
1538
1538
|
extensionInstanceId?: string | undefined;
|
|
1539
|
+
state?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceWebhookExecutionState[] | undefined;
|
|
1539
1540
|
limit?: number | undefined;
|
|
1540
1541
|
skip?: number | undefined;
|
|
1541
1542
|
page?: number | undefined;
|
|
@@ -1681,13 +1682,7 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1681
1682
|
category?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationCategory | undefined;
|
|
1682
1683
|
conversationId: string;
|
|
1683
1684
|
createdAt: string;
|
|
1684
|
-
createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
1685
|
-
lastMessage?: {
|
|
1686
|
-
createdAt: string;
|
|
1687
|
-
createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
|
|
1688
|
-
} | undefined;
|
|
1689
1685
|
lastMessageAt?: string | undefined;
|
|
1690
|
-
lastMessageBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
1691
1686
|
mainUser: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
|
|
1692
1687
|
notificationRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[] | undefined;
|
|
1693
1688
|
relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference | undefined;
|
|
@@ -1697,6 +1692,12 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1697
1692
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatus;
|
|
1698
1693
|
title: string;
|
|
1699
1694
|
visibility: "shared" | "private";
|
|
1695
|
+
createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
1696
|
+
lastMessage?: {
|
|
1697
|
+
createdAt: string;
|
|
1698
|
+
createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
|
|
1699
|
+
} | undefined;
|
|
1700
|
+
lastMessageBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
1700
1701
|
}>;
|
|
1701
1702
|
/** Request an access token for the File belonging to the Conversation. */
|
|
1702
1703
|
getFileAccessToken: (conf: {
|
|
@@ -2844,6 +2845,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2844
2845
|
isBackupInProgress: boolean;
|
|
2845
2846
|
isCatchAll: boolean;
|
|
2846
2847
|
mailbox?: {
|
|
2848
|
+
mailsystemSettings: import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailsystemSettings;
|
|
2847
2849
|
name: string;
|
|
2848
2850
|
passwordUpdatedAt: string;
|
|
2849
2851
|
sendingEnabled: boolean;
|
|
@@ -3458,6 +3460,23 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3458
3460
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
|
|
3459
3461
|
storage: string;
|
|
3460
3462
|
}>;
|
|
3463
|
+
/** List Projects belonging to a Customer. */
|
|
3464
|
+
listCustomerProjects: (conf: {
|
|
3465
|
+
customerId: string;
|
|
3466
|
+
headers?: {
|
|
3467
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3468
|
+
"x-access-token"?: string | undefined;
|
|
3469
|
+
} | undefined;
|
|
3470
|
+
queryParameters?: {
|
|
3471
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3472
|
+
searchTerm?: string | undefined;
|
|
3473
|
+
limit?: number | undefined;
|
|
3474
|
+
skip?: number | undefined;
|
|
3475
|
+
page?: number | undefined;
|
|
3476
|
+
sort?: "createdAt" | "description" | undefined;
|
|
3477
|
+
order?: "asc" | "desc" | undefined;
|
|
3478
|
+
} | undefined;
|
|
3479
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectListItem[]>;
|
|
3461
3480
|
/** List Memberships belonging to a Project. */
|
|
3462
3481
|
listMembershipsForProject: (conf: {
|
|
3463
3482
|
projectId: string;
|
|
@@ -3543,33 +3562,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3543
3562
|
sort?: "createdAt" | "description" | undefined;
|
|
3544
3563
|
order?: "asc" | "desc" | undefined;
|
|
3545
3564
|
} | undefined;
|
|
3546
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<
|
|
3547
|
-
backupStorageUsageInBytes: number;
|
|
3548
|
-
backupStorageUsageInBytesSetAt: string;
|
|
3549
|
-
createdAt: string;
|
|
3550
|
-
customerId: string;
|
|
3551
|
-
customerMeta: {
|
|
3552
|
-
id: string;
|
|
3553
|
-
};
|
|
3554
|
-
description: string;
|
|
3555
|
-
disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
|
|
3556
|
-
disabledAt?: string;
|
|
3557
|
-
enabled: boolean;
|
|
3558
|
-
features?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
|
|
3559
|
-
id: string;
|
|
3560
|
-
imageRefId?: string;
|
|
3561
|
-
isReady: boolean;
|
|
3562
|
-
projectHostingId?: string;
|
|
3563
|
-
readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
|
|
3564
|
-
serverGroupId: string;
|
|
3565
|
-
serverId?: string;
|
|
3566
|
-
shortId: string;
|
|
3567
|
-
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
|
|
3568
|
-
statusSetAt: string;
|
|
3569
|
-
supportedFeatures: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
|
|
3570
|
-
webStorageUsageInBytes: number;
|
|
3571
|
-
webStorageUsageInBytesSetAt: string;
|
|
3572
|
-
}[]>;
|
|
3565
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectListItem[]>;
|
|
3573
3566
|
/** List Servers belonging to the executing user. */
|
|
3574
3567
|
listServers: (conf?: {
|
|
3575
3568
|
headers?: {
|