@mittwald/api-client 0.0.0-development-e8f2771-20260612 → 0.0.0-development-559bf74-20260622
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 +10 -2
- package/dist/esm/generated/v2/client.js +12 -2
- package/dist/esm/generated/v2/descriptors.js +36 -6
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +90 -54
- package/dist/types/generated/v2/client.d.ts +474 -182
- package/dist/types/generated/v2/descriptors.d.ts +14 -4
- package/dist/types/generated/v2/types.d.ts +1024 -631
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -86,8 +86,6 @@ const buildContainerApi = (baseClient) => ({
|
|
|
86
86
|
getRegistry: new ApiCallAsyncResourceFactory(descriptors.containerGetRegistry, baseClient.container.getRegistry).getApiResource,
|
|
87
87
|
/** Get a Volume belonging to a Stack. */
|
|
88
88
|
getVolume: new ApiCallAsyncResourceFactory(descriptors.containerGetVolume, baseClient.container.getVolume).getApiResource,
|
|
89
|
-
/** Get a ContainerImageConfig. */
|
|
90
|
-
getContainerImageConfig: new ApiCallAsyncResourceFactory(descriptors.containerGetContainerImageConfig, baseClient.container.getContainerImageConfig).getApiResource,
|
|
91
89
|
/** Get logs belonging to a Service. */
|
|
92
90
|
getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
|
|
93
91
|
/** Get a Service belonging to a Stack. */
|
|
@@ -104,6 +102,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
104
102
|
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
105
103
|
/** List Volumes belonging to a Project. */
|
|
106
104
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
105
|
+
/** Get a ContainerImageConfig. */
|
|
106
|
+
getContainerImageConfig: new ApiCallAsyncResourceFactory(descriptors.containerGetContainerImageConfig, baseClient.container.getContainerImageConfig).getApiResource,
|
|
107
107
|
});
|
|
108
108
|
const buildContractApi = (baseClient) => ({
|
|
109
109
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -362,10 +362,14 @@ const buildMailApi = (baseClient) => ({
|
|
|
362
362
|
getDeliveryBox: new ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
|
|
363
363
|
/** Get a MailAddress. */
|
|
364
364
|
getMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
|
|
365
|
+
/** Get a Mail RateLimit. */
|
|
366
|
+
getMailRateLimit: new ApiCallAsyncResourceFactory(descriptors.mailGetMailRateLimit, baseClient.mail.getMailRateLimit).getApiResource,
|
|
365
367
|
/** List backups belonging to a MailAddress. */
|
|
366
368
|
listBackupsForMailAddress: new ApiCallAsyncResourceFactory(descriptors.mailListBackupsForMailAddress, baseClient.mail.listBackupsForMailAddress).getApiResource,
|
|
367
369
|
/** List MailAddresses. */
|
|
368
370
|
listMailAddressesForUser: new ApiCallAsyncResourceFactory(descriptors.mailListMailAddressesForUser, baseClient.mail.listMailAddressesForUser).getApiResource,
|
|
371
|
+
/** List Mail RateLimits. */
|
|
372
|
+
listMailRateLimits: new ApiCallAsyncResourceFactory(descriptors.mailListMailRateLimits, baseClient.mail.listMailRateLimits).getApiResource,
|
|
369
373
|
/** List mail settings of a Project. */
|
|
370
374
|
listProjectMailSettings: new ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
|
|
371
375
|
/** Get a Migration. */
|
|
@@ -458,6 +462,10 @@ const buildProjectApi = (baseClient) => ({
|
|
|
458
462
|
storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
|
|
459
463
|
/** Get storage space Statistics belonging to a Server. */
|
|
460
464
|
storagespaceGetServerStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetServerStatistics, baseClient.project.storagespaceGetServerStatistics).getApiResource,
|
|
465
|
+
/** Get the activities of a project. */
|
|
466
|
+
listProjectActivities: new ApiCallAsyncResourceFactory(descriptors.projectListProjectActivities, baseClient.project.listProjectActivities).getApiResource,
|
|
467
|
+
/** List Projects belonging to a Customer. */
|
|
468
|
+
listCustomerProjects: new ApiCallAsyncResourceFactory(descriptors.projectListCustomerProjects, baseClient.project.listCustomerProjects).getApiResource,
|
|
461
469
|
});
|
|
462
470
|
const buildProjectFileSystemApi = (baseClient) => ({
|
|
463
471
|
/** List directories belonging to a Project. */
|
|
@@ -162,8 +162,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
162
162
|
getVolume: this.requestFunctionFactory(descriptors.containerGetVolume),
|
|
163
163
|
/** Delete a Volume belonging to a Stack. */
|
|
164
164
|
deleteVolume: this.requestFunctionFactory(descriptors.containerDeleteVolume),
|
|
165
|
-
/** Get a ContainerImageConfig. */
|
|
166
|
-
getContainerImageConfig: this.requestFunctionFactory(descriptors.containerGetContainerImageConfig),
|
|
167
165
|
/** Get logs belonging to a Service. */
|
|
168
166
|
getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
|
|
169
167
|
/** Get a Service belonging to a Stack. */
|
|
@@ -196,6 +194,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
196
194
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
197
195
|
/** Stop a started Service. */
|
|
198
196
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
197
|
+
/** Get a ContainerImageConfig. */
|
|
198
|
+
getContainerImageConfig: this.requestFunctionFactory(descriptors.containerGetContainerImageConfig),
|
|
199
199
|
};
|
|
200
200
|
/** The contract API allows you to manage your contracts and orders */
|
|
201
201
|
contract = {
|
|
@@ -694,10 +694,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
694
694
|
deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
|
|
695
695
|
/** Disable the mail-archive of a MailAddress. */
|
|
696
696
|
disableMailArchive: this.requestFunctionFactory(descriptors.mailDisableMailArchive),
|
|
697
|
+
/** Get a Mail RateLimit. */
|
|
698
|
+
getMailRateLimit: this.requestFunctionFactory(descriptors.mailGetMailRateLimit),
|
|
697
699
|
/** List backups belonging to a MailAddress. */
|
|
698
700
|
listBackupsForMailAddress: this.requestFunctionFactory(descriptors.mailListBackupsForMailAddress),
|
|
699
701
|
/** List MailAddresses. */
|
|
700
702
|
listMailAddressesForUser: this.requestFunctionFactory(descriptors.mailListMailAddressesForUser),
|
|
703
|
+
/** List Mail RateLimits. */
|
|
704
|
+
listMailRateLimits: this.requestFunctionFactory(descriptors.mailListMailRateLimits),
|
|
701
705
|
/** List mail settings of a Project. */
|
|
702
706
|
listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
|
|
703
707
|
/** Check if a Migration between two projects is possible. */
|
|
@@ -718,6 +722,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
718
722
|
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
719
723
|
/** Update the catch-all of a MailAddress. */
|
|
720
724
|
updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
|
|
725
|
+
/** Request a rate limit change for a MailAddress. */
|
|
726
|
+
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
721
727
|
};
|
|
722
728
|
/** The notification API allows you to manage your notifications. */
|
|
723
729
|
notification = {
|
|
@@ -990,6 +996,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
990
996
|
storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
|
|
991
997
|
/** Update a Server's storage space notification threshold. */
|
|
992
998
|
storagespaceReplaceServerNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceServerNotificationThreshold),
|
|
999
|
+
/** Get the activities of a project. */
|
|
1000
|
+
listProjectActivities: this.requestFunctionFactory(descriptors.projectListProjectActivities),
|
|
1001
|
+
/** List Projects belonging to a Customer. */
|
|
1002
|
+
listCustomerProjects: this.requestFunctionFactory(descriptors.projectListCustomerProjects),
|
|
993
1003
|
};
|
|
994
1004
|
/** The filesystem API allows you to directly access the filesystem of your project. */
|
|
995
1005
|
projectFileSystem = {
|
|
@@ -430,12 +430,6 @@ export const containerDeleteVolume = {
|
|
|
430
430
|
method: "DELETE",
|
|
431
431
|
operationId: "container-delete-volume",
|
|
432
432
|
};
|
|
433
|
-
/** Get a ContainerImageConfig. */
|
|
434
|
-
export const containerGetContainerImageConfig = {
|
|
435
|
-
path: "/v2/container-image-config",
|
|
436
|
-
method: "GET",
|
|
437
|
-
operationId: "container-get-container-image-config",
|
|
438
|
-
};
|
|
439
433
|
/** Get logs belonging to a Service. */
|
|
440
434
|
export const containerGetServiceLogs = {
|
|
441
435
|
path: "/v2/stacks/{stackId}/services/{serviceId}/logs",
|
|
@@ -1990,6 +1984,12 @@ export const mailDisableMailArchive = {
|
|
|
1990
1984
|
method: "DELETE",
|
|
1991
1985
|
operationId: "mail-disable-mail-archive",
|
|
1992
1986
|
};
|
|
1987
|
+
/** Get a Mail RateLimit. */
|
|
1988
|
+
export const mailGetMailRateLimit = {
|
|
1989
|
+
path: "/v2/mail-rate-limits/{mailRateLimitId}",
|
|
1990
|
+
method: "GET",
|
|
1991
|
+
operationId: "mail-get-mail-rate-limit",
|
|
1992
|
+
};
|
|
1993
1993
|
/** List backups belonging to a MailAddress. */
|
|
1994
1994
|
export const mailListBackupsForMailAddress = {
|
|
1995
1995
|
path: "/v2/mail-addresses/{mailAddressId}/backups",
|
|
@@ -2002,6 +2002,12 @@ export const mailListMailAddressesForUser = {
|
|
|
2002
2002
|
method: "GET",
|
|
2003
2003
|
operationId: "mail-list-mail-addresses-for-user",
|
|
2004
2004
|
};
|
|
2005
|
+
/** List Mail RateLimits. */
|
|
2006
|
+
export const mailListMailRateLimits = {
|
|
2007
|
+
path: "/v2/mail-rate-limits",
|
|
2008
|
+
method: "GET",
|
|
2009
|
+
operationId: "mail-list-mail-rate-limits",
|
|
2010
|
+
};
|
|
2005
2011
|
/** List mail settings of a Project. */
|
|
2006
2012
|
export const mailListProjectMailSettings = {
|
|
2007
2013
|
path: "/v2/projects/{projectId}/mail-settings",
|
|
@@ -2872,3 +2878,27 @@ export const verificationVerifyCompany = {
|
|
|
2872
2878
|
method: "POST",
|
|
2873
2879
|
operationId: "verification-verify-company",
|
|
2874
2880
|
};
|
|
2881
|
+
/** Get a ContainerImageConfig. */
|
|
2882
|
+
export const containerGetContainerImageConfig = {
|
|
2883
|
+
path: "/v2/container-image-config",
|
|
2884
|
+
method: "GET",
|
|
2885
|
+
operationId: "container-get-container-image-config",
|
|
2886
|
+
};
|
|
2887
|
+
/** Request a rate limit change for a MailAddress. */
|
|
2888
|
+
export const mailRequestMailAddressRateLimitChange = {
|
|
2889
|
+
path: "/v2/mail-addresses/{mailAddressId}/request-rate-limit-change",
|
|
2890
|
+
method: "POST",
|
|
2891
|
+
operationId: "mail-request-mail-address-rate-limit-change",
|
|
2892
|
+
};
|
|
2893
|
+
/** Get the activities of a project. */
|
|
2894
|
+
export const projectListProjectActivities = {
|
|
2895
|
+
path: "/v2/projects/{projectId}/activities",
|
|
2896
|
+
method: "GET",
|
|
2897
|
+
operationId: "project-list-project-activities",
|
|
2898
|
+
};
|
|
2899
|
+
/** List Projects belonging to a Customer. */
|
|
2900
|
+
export const projectListCustomerProjects = {
|
|
2901
|
+
path: "/v2/customers/{customerId}/projects",
|
|
2902
|
+
method: "GET",
|
|
2903
|
+
operationId: "project-list-customer-projects",
|
|
2904
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.389.0';
|
|
@@ -604,33 +604,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
604
604
|
storageUsageInBytes: number;
|
|
605
605
|
storageUsageInBytesSetAt: string;
|
|
606
606
|
}>;
|
|
607
|
-
/** Get a ContainerImageConfig. */
|
|
608
|
-
getContainerImageConfig: (conf: {
|
|
609
|
-
queryParameters: {
|
|
610
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
611
|
-
imageReference: string;
|
|
612
|
-
useCredentialsForProjectId?: string | undefined;
|
|
613
|
-
useCredentialsForRegistryId?: string | undefined;
|
|
614
|
-
generateAiData?: boolean | undefined;
|
|
615
|
-
};
|
|
616
|
-
headers?: {
|
|
617
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
618
|
-
"x-access-token"?: string | undefined;
|
|
619
|
-
} | undefined;
|
|
620
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
621
|
-
command?: string[] | undefined;
|
|
622
|
-
digest: string;
|
|
623
|
-
entrypoint?: string[] | undefined;
|
|
624
|
-
env?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigEnv[] | undefined;
|
|
625
|
-
exposedPorts?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigExposedPort[] | undefined;
|
|
626
|
-
hasAiGeneratedData: boolean;
|
|
627
|
-
isAiAvailable: boolean;
|
|
628
|
-
isUserRoot: boolean;
|
|
629
|
-
overwritingUser?: number | undefined;
|
|
630
|
-
user: string;
|
|
631
|
-
userId: number;
|
|
632
|
-
volumes?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigVolume[] | undefined;
|
|
633
|
-
}>;
|
|
634
607
|
/** Get logs belonging to a Service. */
|
|
635
608
|
getServiceLogs: (conf: {
|
|
636
609
|
stackId: string;
|
|
@@ -661,6 +634,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
661
634
|
pendingState: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceState;
|
|
662
635
|
projectId: string;
|
|
663
636
|
requiresRecreate: boolean;
|
|
637
|
+
restartPolicy?: "no" | "always" | "on-failure" | "unless-stopped" | undefined;
|
|
664
638
|
serviceName: string;
|
|
665
639
|
shortId: string;
|
|
666
640
|
stackId: string;
|
|
@@ -785,6 +759,34 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
785
759
|
page?: number | undefined;
|
|
786
760
|
} | undefined;
|
|
787
761
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
|
|
762
|
+
/** Get a ContainerImageConfig. */
|
|
763
|
+
getContainerImageConfig: (conf: {
|
|
764
|
+
queryParameters: {
|
|
765
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
766
|
+
imageReference: string;
|
|
767
|
+
useCredentialsForProjectId?: string | undefined;
|
|
768
|
+
useCredentialsForRegistryId?: string | undefined;
|
|
769
|
+
generateAiData?: boolean | undefined;
|
|
770
|
+
};
|
|
771
|
+
headers?: {
|
|
772
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
773
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
774
|
+
"x-access-token"?: string | undefined;
|
|
775
|
+
} | undefined;
|
|
776
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
777
|
+
command?: string[] | undefined;
|
|
778
|
+
digest: string;
|
|
779
|
+
entrypoint?: string[] | undefined;
|
|
780
|
+
env?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigEnv[] | undefined;
|
|
781
|
+
exposedPorts?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigExposedPort[] | undefined;
|
|
782
|
+
hasAiGeneratedData: boolean;
|
|
783
|
+
isAiAvailable: boolean;
|
|
784
|
+
isUserRoot: boolean;
|
|
785
|
+
overwritingUser?: number | undefined;
|
|
786
|
+
user: string;
|
|
787
|
+
userId: number;
|
|
788
|
+
volumes?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigVolume[] | undefined;
|
|
789
|
+
}>;
|
|
788
790
|
};
|
|
789
791
|
declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
790
792
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -1783,6 +1785,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1783
1785
|
cronjobId: string;
|
|
1784
1786
|
headers?: {
|
|
1785
1787
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1788
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
1786
1789
|
"x-access-token"?: string | undefined;
|
|
1787
1790
|
} | undefined;
|
|
1788
1791
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
@@ -2335,6 +2338,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2335
2338
|
id: string;
|
|
2336
2339
|
ips: {
|
|
2337
2340
|
v4: string[];
|
|
2341
|
+
v6: string[];
|
|
2338
2342
|
};
|
|
2339
2343
|
isDefault: boolean;
|
|
2340
2344
|
isDomain?: boolean | undefined;
|
|
@@ -2840,6 +2844,7 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2840
2844
|
isBackupInProgress: boolean;
|
|
2841
2845
|
isCatchAll: boolean;
|
|
2842
2846
|
mailbox?: {
|
|
2847
|
+
mailsystemSettings: import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailsystemSettings;
|
|
2843
2848
|
name: string;
|
|
2844
2849
|
passwordUpdatedAt: string;
|
|
2845
2850
|
sendingEnabled: boolean;
|
|
@@ -2858,9 +2863,22 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2858
2863
|
};
|
|
2859
2864
|
} | undefined;
|
|
2860
2865
|
projectId: string;
|
|
2866
|
+
rateLimitChangeRequest?: {
|
|
2867
|
+
rateLimitId: string;
|
|
2868
|
+
} | undefined;
|
|
2861
2869
|
receivingDisabled: boolean;
|
|
2862
2870
|
updatedAt: string;
|
|
2863
2871
|
}>;
|
|
2872
|
+
/** Get a Mail RateLimit. */
|
|
2873
|
+
getMailRateLimit: (conf: {
|
|
2874
|
+
mailRateLimitId: string;
|
|
2875
|
+
headers?: {
|
|
2876
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2877
|
+
} | undefined;
|
|
2878
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2879
|
+
id: string;
|
|
2880
|
+
rateLimit: number;
|
|
2881
|
+
}>;
|
|
2864
2882
|
/** List backups belonging to a MailAddress. */
|
|
2865
2883
|
listBackupsForMailAddress: (conf: {
|
|
2866
2884
|
mailAddressId: string;
|
|
@@ -2890,6 +2908,12 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2890
2908
|
order?: ("asc" | "desc")[] | undefined;
|
|
2891
2909
|
} | undefined;
|
|
2892
2910
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
|
|
2911
|
+
/** List Mail RateLimits. */
|
|
2912
|
+
listMailRateLimits: (conf?: {
|
|
2913
|
+
headers?: {
|
|
2914
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2915
|
+
} | undefined;
|
|
2916
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailsystemRateLimit[]>;
|
|
2893
2917
|
/** List mail settings of a Project. */
|
|
2894
2918
|
listProjectMailSettings: (conf: {
|
|
2895
2919
|
projectId: string;
|
|
@@ -3499,33 +3523,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3499
3523
|
sort?: "createdAt" | "description" | undefined;
|
|
3500
3524
|
order?: "asc" | "desc" | undefined;
|
|
3501
3525
|
} | undefined;
|
|
3502
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<
|
|
3503
|
-
backupStorageUsageInBytes: number;
|
|
3504
|
-
backupStorageUsageInBytesSetAt: string;
|
|
3505
|
-
createdAt: string;
|
|
3506
|
-
customerId: string;
|
|
3507
|
-
customerMeta: {
|
|
3508
|
-
id: string;
|
|
3509
|
-
};
|
|
3510
|
-
description: string;
|
|
3511
|
-
disableReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDisableReason;
|
|
3512
|
-
disabledAt?: string;
|
|
3513
|
-
enabled: boolean;
|
|
3514
|
-
features?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
|
|
3515
|
-
id: string;
|
|
3516
|
-
imageRefId?: string;
|
|
3517
|
-
isReady: boolean;
|
|
3518
|
-
projectHostingId?: string;
|
|
3519
|
-
readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
|
|
3520
|
-
serverGroupId: string;
|
|
3521
|
-
serverId?: string;
|
|
3522
|
-
shortId: string;
|
|
3523
|
-
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
|
|
3524
|
-
statusSetAt: string;
|
|
3525
|
-
supportedFeatures: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectFeature[];
|
|
3526
|
-
webStorageUsageInBytes: number;
|
|
3527
|
-
webStorageUsageInBytesSetAt: string;
|
|
3528
|
-
}[]>;
|
|
3526
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectListItem[]>;
|
|
3529
3527
|
/** List Servers belonging to the executing user. */
|
|
3530
3528
|
listServers: (conf?: {
|
|
3531
3529
|
headers?: {
|
|
@@ -3577,6 +3575,44 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3577
3575
|
notificationThresholdInBytes?: number | undefined;
|
|
3578
3576
|
statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
|
|
3579
3577
|
}>;
|
|
3578
|
+
/** Get the activities of a project. */
|
|
3579
|
+
listProjectActivities: (conf: {
|
|
3580
|
+
projectId: string;
|
|
3581
|
+
headers?: {
|
|
3582
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3583
|
+
} | undefined;
|
|
3584
|
+
queryParameters?: {
|
|
3585
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3586
|
+
aggregateName?: string | undefined;
|
|
3587
|
+
aggregateDomain?: string | undefined;
|
|
3588
|
+
aggregateId?: string | undefined;
|
|
3589
|
+
startTime?: string | undefined;
|
|
3590
|
+
endTime?: string | undefined;
|
|
3591
|
+
fulltextSearch?: string | undefined;
|
|
3592
|
+
limit?: number | undefined;
|
|
3593
|
+
skip?: number | undefined;
|
|
3594
|
+
page?: number | undefined;
|
|
3595
|
+
sort?: "dateTime" | undefined;
|
|
3596
|
+
order?: "asc" | "desc" | undefined;
|
|
3597
|
+
} | undefined;
|
|
3598
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[]>;
|
|
3599
|
+
/** List Projects belonging to a Customer. */
|
|
3600
|
+
listCustomerProjects: (conf: {
|
|
3601
|
+
customerId: string;
|
|
3602
|
+
headers?: {
|
|
3603
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3604
|
+
"x-access-token"?: string | undefined;
|
|
3605
|
+
} | undefined;
|
|
3606
|
+
queryParameters?: {
|
|
3607
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3608
|
+
searchTerm?: string | undefined;
|
|
3609
|
+
limit?: number | undefined;
|
|
3610
|
+
skip?: number | undefined;
|
|
3611
|
+
page?: number | undefined;
|
|
3612
|
+
sort?: "createdAt" | "description" | undefined;
|
|
3613
|
+
order?: "asc" | "desc" | undefined;
|
|
3614
|
+
} | undefined;
|
|
3615
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectListItem[]>;
|
|
3580
3616
|
};
|
|
3581
3617
|
declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3582
3618
|
/** List directories belonging to a Project. */
|