@mittwald/api-client 0.0.0-development-559bf74-20260622 → 0.0.0-development-11873f7-20260707
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 +14 -6
- package/dist/esm/generated/v2/client.js +16 -10
- package/dist/esm/generated/v2/descriptors.js +42 -24
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +145 -77
- package/dist/types/generated/v2/client.d.ts +618 -395
- package/dist/types/generated/v2/descriptors.d.ts +17 -11
- package/dist/types/generated/v2/types.d.ts +1217 -697
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -20,6 +20,8 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
20
20
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
21
21
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
22
22
|
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
23
|
+
/** Get ai hosting subscriptions of a customer. */
|
|
24
|
+
customerGetSubscriptions: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetSubscriptions, baseClient.aiHosting.customerGetSubscriptions).getApiResource,
|
|
23
25
|
});
|
|
24
26
|
const buildAppApi = (baseClient) => ({
|
|
25
27
|
/** Get an App. */
|
|
@@ -86,10 +88,14 @@ const buildContainerApi = (baseClient) => ({
|
|
|
86
88
|
getRegistry: new ApiCallAsyncResourceFactory(descriptors.containerGetRegistry, baseClient.container.getRegistry).getApiResource,
|
|
87
89
|
/** Get a Volume belonging to a Stack. */
|
|
88
90
|
getVolume: new ApiCallAsyncResourceFactory(descriptors.containerGetVolume, baseClient.container.getVolume).getApiResource,
|
|
91
|
+
/** Get a ContainerImageConfig. */
|
|
92
|
+
getContainerImageConfig: new ApiCallAsyncResourceFactory(descriptors.containerGetContainerImageConfig, baseClient.container.getContainerImageConfig).getApiResource,
|
|
89
93
|
/** Get logs belonging to a Service. */
|
|
90
94
|
getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
|
|
91
95
|
/** Get a Service belonging to a Stack. */
|
|
92
96
|
getService: new ApiCallAsyncResourceFactory(descriptors.containerGetService, baseClient.container.getService).getApiResource,
|
|
97
|
+
/** Get a Container Template icon. */
|
|
98
|
+
getTemplateIcon: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateIcon, baseClient.container.getTemplateIcon).getApiResource,
|
|
93
99
|
/** Get a Container Template by ID. */
|
|
94
100
|
getTemplate: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplate, baseClient.container.getTemplate).getApiResource,
|
|
95
101
|
/** List Stacks belonging to the executing user. */
|
|
@@ -102,8 +108,10 @@ const buildContainerApi = (baseClient) => ({
|
|
|
102
108
|
listTemplates: new ApiCallAsyncResourceFactory(descriptors.containerListTemplates, baseClient.container.listTemplates).getApiResource,
|
|
103
109
|
/** List Volumes belonging to a Project. */
|
|
104
110
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
105
|
-
/** Get
|
|
106
|
-
|
|
111
|
+
/** Get Container Template statistics. */
|
|
112
|
+
getTemplateStatistics: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateStatistics, baseClient.container.getTemplateStatistics).getApiResource,
|
|
113
|
+
/** Get Container Template statistics by category. */
|
|
114
|
+
getTemplateStatisticsByCategory: new ApiCallAsyncResourceFactory(descriptors.containerGetTemplateStatisticsByCategory, baseClient.container.getTemplateStatisticsByCategory).getApiResource,
|
|
107
115
|
});
|
|
108
116
|
const buildContractApi = (baseClient) => ({
|
|
109
117
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -448,8 +456,12 @@ const buildProjectApi = (baseClient) => ({
|
|
|
448
456
|
getSelfMembershipForProject: new ApiCallAsyncResourceFactory(descriptors.projectGetSelfMembershipForProject, baseClient.project.getSelfMembershipForProject).getApiResource,
|
|
449
457
|
/** Get a Server. */
|
|
450
458
|
getServer: new ApiCallAsyncResourceFactory(descriptors.projectGetServer, baseClient.project.getServer).getApiResource,
|
|
459
|
+
/** List Projects belonging to a Customer. */
|
|
460
|
+
listCustomerProjects: new ApiCallAsyncResourceFactory(descriptors.projectListCustomerProjects, baseClient.project.listCustomerProjects).getApiResource,
|
|
451
461
|
/** List Memberships belonging to a Project. */
|
|
452
462
|
listMembershipsForProject: new ApiCallAsyncResourceFactory(descriptors.projectListMembershipsForProject, baseClient.project.listMembershipsForProject).getApiResource,
|
|
463
|
+
/** Get the activities of a project. */
|
|
464
|
+
listProjectActivities: new ApiCallAsyncResourceFactory(descriptors.projectListProjectActivities, baseClient.project.listProjectActivities).getApiResource,
|
|
453
465
|
/** List ProjectInvites belonging to the executing user. */
|
|
454
466
|
listProjectInvites: new ApiCallAsyncResourceFactory(descriptors.projectListProjectInvites, baseClient.project.listProjectInvites).getApiResource,
|
|
455
467
|
/** List ProjectMemberships belonging to the executing user. */
|
|
@@ -462,10 +474,6 @@ const buildProjectApi = (baseClient) => ({
|
|
|
462
474
|
storagespaceGetProjectStatistics: new ApiCallAsyncResourceFactory(descriptors.storagespaceGetProjectStatistics, baseClient.project.storagespaceGetProjectStatistics).getApiResource,
|
|
463
475
|
/** Get storage space Statistics belonging to a Server. */
|
|
464
476
|
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,
|
|
469
477
|
});
|
|
470
478
|
const buildProjectFileSystemApi = (baseClient) => ({
|
|
471
479
|
/** List directories belonging to a Project. */
|
|
@@ -40,6 +40,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
40
40
|
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
41
41
|
/** Links a container with a project licence. */
|
|
42
42
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
43
|
+
/** Get ai hosting subscriptions of a customer. */
|
|
44
|
+
customerGetSubscriptions: this.requestFunctionFactory(descriptors.aiHostingCustomerGetSubscriptions),
|
|
43
45
|
};
|
|
44
46
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
45
47
|
app = {
|
|
@@ -162,10 +164,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
162
164
|
getVolume: this.requestFunctionFactory(descriptors.containerGetVolume),
|
|
163
165
|
/** Delete a Volume belonging to a Stack. */
|
|
164
166
|
deleteVolume: this.requestFunctionFactory(descriptors.containerDeleteVolume),
|
|
167
|
+
/** Get a ContainerImageConfig. */
|
|
168
|
+
getContainerImageConfig: this.requestFunctionFactory(descriptors.containerGetContainerImageConfig),
|
|
165
169
|
/** Get logs belonging to a Service. */
|
|
166
170
|
getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
|
|
167
171
|
/** Get a Service belonging to a Stack. */
|
|
168
172
|
getService: this.requestFunctionFactory(descriptors.containerGetService),
|
|
173
|
+
/** Get a Container Template icon. */
|
|
174
|
+
getTemplateIcon: this.requestFunctionFactory(descriptors.containerGetTemplateIcon),
|
|
169
175
|
/** Get a Container Template by ID. */
|
|
170
176
|
getTemplate: this.requestFunctionFactory(descriptors.containerGetTemplate),
|
|
171
177
|
/** List Stacks belonging to the executing user. */
|
|
@@ -186,16 +192,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
186
192
|
restartService: this.requestFunctionFactory(descriptors.containerRestartService),
|
|
187
193
|
/** Create or rotate pull-image webhook token */
|
|
188
194
|
rotatePullImageWebhookForService: this.requestFunctionFactory(descriptors.containerRotatePullImageWebhookForService),
|
|
189
|
-
/** Replace the description of a Stack. */
|
|
190
|
-
setStackDescription: this.requestFunctionFactory(descriptors.containerSetStackDescription),
|
|
191
195
|
/** Set an update schedule for a Stack. */
|
|
192
196
|
setStackUpdateSchedule: this.requestFunctionFactory(descriptors.containerSetStackUpdateSchedule),
|
|
193
197
|
/** Start a stopped Service. */
|
|
194
198
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
195
199
|
/** Stop a started Service. */
|
|
196
200
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
197
|
-
/** Get
|
|
198
|
-
|
|
201
|
+
/** Get Container Template statistics. */
|
|
202
|
+
getTemplateStatistics: this.requestFunctionFactory(descriptors.containerGetTemplateStatistics),
|
|
203
|
+
/** Get Container Template statistics by category. */
|
|
204
|
+
getTemplateStatisticsByCategory: this.requestFunctionFactory(descriptors.containerGetTemplateStatisticsByCategory),
|
|
199
205
|
};
|
|
200
206
|
/** The contract API allows you to manage your contracts and orders */
|
|
201
207
|
contract = {
|
|
@@ -714,6 +720,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
714
720
|
migrationRequestMailMigration: this.requestFunctionFactory(descriptors.mailMigrationRequestMailMigration),
|
|
715
721
|
/** Recover emails for a MailAddress from a backup. */
|
|
716
722
|
recoverMailAddressEmails: this.requestFunctionFactory(descriptors.mailRecoverMailAddressEmails),
|
|
723
|
+
/** Request a rate limit change for a MailAddress. */
|
|
724
|
+
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
717
725
|
/** Update the description of a DeliveryBox. */
|
|
718
726
|
updateDeliveryBoxDescription: this.requestFunctionFactory(descriptors.mailUpdateDeliveryBoxDescription),
|
|
719
727
|
/** Update the password of a DeliveryBox. */
|
|
@@ -722,8 +730,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
722
730
|
updateMailAddressAddress: this.requestFunctionFactory(descriptors.mailUpdateMailAddressAddress),
|
|
723
731
|
/** Update the catch-all of a MailAddress. */
|
|
724
732
|
updateMailAddressCatchAll: this.requestFunctionFactory(descriptors.mailUpdateMailAddressCatchAll),
|
|
725
|
-
/** Request a rate limit change for a MailAddress. */
|
|
726
|
-
requestMailAddressRateLimitChange: this.requestFunctionFactory(descriptors.mailRequestMailAddressRateLimitChange),
|
|
727
733
|
};
|
|
728
734
|
/** The notification API allows you to manage your notifications. */
|
|
729
735
|
notification = {
|
|
@@ -972,8 +978,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
972
978
|
getSelfMembershipForProject: this.requestFunctionFactory(descriptors.projectGetSelfMembershipForProject),
|
|
973
979
|
/** Get a Server. */
|
|
974
980
|
getServer: this.requestFunctionFactory(descriptors.projectGetServer),
|
|
981
|
+
/** List Projects belonging to a Customer. */
|
|
982
|
+
listCustomerProjects: this.requestFunctionFactory(descriptors.projectListCustomerProjects),
|
|
975
983
|
/** List Memberships belonging to a Project. */
|
|
976
984
|
listMembershipsForProject: this.requestFunctionFactory(descriptors.projectListMembershipsForProject),
|
|
985
|
+
/** Get the activities of a project. */
|
|
986
|
+
listProjectActivities: this.requestFunctionFactory(descriptors.projectListProjectActivities),
|
|
977
987
|
/** List ProjectInvites belonging to the executing user. */
|
|
978
988
|
listProjectInvites: this.requestFunctionFactory(descriptors.projectListProjectInvites),
|
|
979
989
|
/** List ProjectMemberships belonging to the executing user. */
|
|
@@ -996,10 +1006,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
996
1006
|
storagespaceReplaceProjectNotificationThreshold: this.requestFunctionFactory(descriptors.storagespaceReplaceProjectNotificationThreshold),
|
|
997
1007
|
/** Update a Server's storage space notification threshold. */
|
|
998
1008
|
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),
|
|
1003
1009
|
};
|
|
1004
1010
|
/** The filesystem API allows you to directly access the filesystem of your project. */
|
|
1005
1011
|
projectFileSystem = {
|
|
@@ -430,6 +430,12 @@ 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
|
+
};
|
|
433
439
|
/** Get logs belonging to a Service. */
|
|
434
440
|
export const containerGetServiceLogs = {
|
|
435
441
|
path: "/v2/stacks/{stackId}/services/{serviceId}/logs",
|
|
@@ -442,6 +448,12 @@ export const containerGetService = {
|
|
|
442
448
|
method: "GET",
|
|
443
449
|
operationId: "container-get-service",
|
|
444
450
|
};
|
|
451
|
+
/** Get a Container Template icon. */
|
|
452
|
+
export const containerGetTemplateIcon = {
|
|
453
|
+
path: "/v2/container-templates/{templateId}/icon",
|
|
454
|
+
method: "GET",
|
|
455
|
+
operationId: "container-get-template-icon",
|
|
456
|
+
};
|
|
445
457
|
/** Get a Container Template by ID. */
|
|
446
458
|
export const containerGetTemplate = {
|
|
447
459
|
path: "/v2/container-templates/{templateId}",
|
|
@@ -502,12 +514,6 @@ export const containerRotatePullImageWebhookForService = {
|
|
|
502
514
|
method: "POST",
|
|
503
515
|
operationId: "container-rotate-pull-image-webhook-for-service",
|
|
504
516
|
};
|
|
505
|
-
/** Replace the description of a Stack. */
|
|
506
|
-
export const containerSetStackDescription = {
|
|
507
|
-
path: "/v2/stacks/{stackId}/description",
|
|
508
|
-
method: "PUT",
|
|
509
|
-
operationId: "container-set-stack-description",
|
|
510
|
-
};
|
|
511
517
|
/** Set an update schedule for a Stack. */
|
|
512
518
|
export const containerSetStackUpdateSchedule = {
|
|
513
519
|
path: "/v2/stacks/{stackId}/update-schedule",
|
|
@@ -2044,6 +2050,12 @@ export const mailRecoverMailAddressEmails = {
|
|
|
2044
2050
|
method: "POST",
|
|
2045
2051
|
operationId: "mail-recover-mail-address-emails",
|
|
2046
2052
|
};
|
|
2053
|
+
/** Request a rate limit change for a MailAddress. */
|
|
2054
|
+
export const mailRequestMailAddressRateLimitChange = {
|
|
2055
|
+
path: "/v2/mail-addresses/{mailAddressId}/request-rate-limit-change",
|
|
2056
|
+
method: "POST",
|
|
2057
|
+
operationId: "mail-request-mail-address-rate-limit-change",
|
|
2058
|
+
};
|
|
2047
2059
|
/** Update the description of a DeliveryBox. */
|
|
2048
2060
|
export const mailUpdateDeliveryBoxDescription = {
|
|
2049
2061
|
path: "/v2/delivery-boxes/{deliveryBoxId}/description",
|
|
@@ -2344,12 +2356,24 @@ export const projectGetServer = {
|
|
|
2344
2356
|
method: "GET",
|
|
2345
2357
|
operationId: "project-get-server",
|
|
2346
2358
|
};
|
|
2359
|
+
/** List Projects belonging to a Customer. */
|
|
2360
|
+
export const projectListCustomerProjects = {
|
|
2361
|
+
path: "/v2/customers/{customerId}/projects",
|
|
2362
|
+
method: "GET",
|
|
2363
|
+
operationId: "project-list-customer-projects",
|
|
2364
|
+
};
|
|
2347
2365
|
/** List Memberships belonging to a Project. */
|
|
2348
2366
|
export const projectListMembershipsForProject = {
|
|
2349
2367
|
path: "/v2/projects/{projectId}/memberships",
|
|
2350
2368
|
method: "GET",
|
|
2351
2369
|
operationId: "project-list-memberships-for-project",
|
|
2352
2370
|
};
|
|
2371
|
+
/** Get the activities of a project. */
|
|
2372
|
+
export const projectListProjectActivities = {
|
|
2373
|
+
path: "/v2/projects/{projectId}/activities",
|
|
2374
|
+
method: "GET",
|
|
2375
|
+
operationId: "project-list-project-activities",
|
|
2376
|
+
};
|
|
2353
2377
|
/** List ProjectInvites belonging to the executing user. */
|
|
2354
2378
|
export const projectListProjectInvites = {
|
|
2355
2379
|
path: "/v2/project-invites",
|
|
@@ -2878,27 +2902,21 @@ export const verificationVerifyCompany = {
|
|
|
2878
2902
|
method: "POST",
|
|
2879
2903
|
operationId: "verification-verify-company",
|
|
2880
2904
|
};
|
|
2881
|
-
/** Get a
|
|
2882
|
-
export const
|
|
2883
|
-
path: "/v2/
|
|
2905
|
+
/** Get ai hosting subscriptions of a customer. */
|
|
2906
|
+
export const aiHostingCustomerGetSubscriptions = {
|
|
2907
|
+
path: "/v2/customers/{customerId}/ai-subscriptions",
|
|
2884
2908
|
method: "GET",
|
|
2885
|
-
operationId: "
|
|
2909
|
+
operationId: "ai-hosting-customer-get-subscriptions",
|
|
2886
2910
|
};
|
|
2887
|
-
/**
|
|
2888
|
-
export const
|
|
2889
|
-
path: "/v2/
|
|
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",
|
|
2911
|
+
/** Get Container Template statistics. */
|
|
2912
|
+
export const containerGetTemplateStatistics = {
|
|
2913
|
+
path: "/v2/container-templates/{templateId}/statistics",
|
|
2896
2914
|
method: "GET",
|
|
2897
|
-
operationId: "
|
|
2915
|
+
operationId: "container-get-template-statistics",
|
|
2898
2916
|
};
|
|
2899
|
-
/**
|
|
2900
|
-
export const
|
|
2901
|
-
path: "/v2/
|
|
2917
|
+
/** Get Container Template statistics by category. */
|
|
2918
|
+
export const containerGetTemplateStatisticsByCategory = {
|
|
2919
|
+
path: "/v2/container-template-categories/{category}/statistics",
|
|
2902
2920
|
method: "GET",
|
|
2903
|
-
operationId: "
|
|
2921
|
+
operationId: "container-get-template-statistics-by-category",
|
|
2904
2922
|
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.405.0';
|
|
@@ -7,6 +7,10 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
7
7
|
headers?: {
|
|
8
8
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
9
9
|
} | undefined;
|
|
10
|
+
queryParameters?: {
|
|
11
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
12
|
+
subscriptionId?: string | undefined;
|
|
13
|
+
} | undefined;
|
|
10
14
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
|
|
11
15
|
/** Get a key of a customer. */
|
|
12
16
|
customerGetKey: (conf: {
|
|
@@ -25,6 +29,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
25
29
|
name: string;
|
|
26
30
|
projectId?: string | undefined;
|
|
27
31
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
32
|
+
subscriptionId?: string | undefined;
|
|
28
33
|
tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
|
|
29
34
|
}>;
|
|
30
35
|
/** Get a list of currently active models. */
|
|
@@ -43,6 +48,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
43
48
|
queryParameters?: {
|
|
44
49
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
45
50
|
topUsageCount?: number | undefined;
|
|
51
|
+
subscriptionId?: string | undefined;
|
|
46
52
|
} | undefined;
|
|
47
53
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
48
54
|
customerId: string;
|
|
@@ -51,6 +57,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
51
57
|
modelTermsApprovalRequired: boolean;
|
|
52
58
|
nextTokenReset: string;
|
|
53
59
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
60
|
+
subscriptionId?: string | undefined;
|
|
54
61
|
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
55
62
|
topUsages?: {
|
|
56
63
|
keyId?: string;
|
|
@@ -71,6 +78,10 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
71
78
|
headers?: {
|
|
72
79
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
73
80
|
} | undefined;
|
|
81
|
+
queryParameters?: {
|
|
82
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
83
|
+
subscriptionId?: string | undefined;
|
|
84
|
+
} | undefined;
|
|
74
85
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
|
|
75
86
|
/** Get a key of a project. */
|
|
76
87
|
projectGetKey: (conf: {
|
|
@@ -89,6 +100,7 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
89
100
|
name: string;
|
|
90
101
|
projectId?: string | undefined;
|
|
91
102
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
103
|
+
subscriptionId?: string | undefined;
|
|
92
104
|
tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
|
|
93
105
|
}>;
|
|
94
106
|
/** Get a list of currently active models. */
|
|
@@ -104,12 +116,25 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
104
116
|
headers?: {
|
|
105
117
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
106
118
|
} | undefined;
|
|
119
|
+
queryParameters?: {
|
|
120
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
121
|
+
subscriptionId?: string | undefined;
|
|
122
|
+
} | undefined;
|
|
107
123
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
108
124
|
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
109
125
|
modelTermsApprovalRequired: boolean;
|
|
110
126
|
nextTokenReset?: string | undefined;
|
|
111
127
|
projectId: string;
|
|
112
128
|
}>;
|
|
129
|
+
/** Get ai hosting subscriptions of a customer. */
|
|
130
|
+
customerGetSubscriptions: (conf: {
|
|
131
|
+
customerId: string;
|
|
132
|
+
headers?: {
|
|
133
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
134
|
+
} | undefined;
|
|
135
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
136
|
+
subscriptionIds: string[];
|
|
137
|
+
}>;
|
|
113
138
|
};
|
|
114
139
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
115
140
|
/** Get an App. */
|
|
@@ -604,6 +629,34 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
604
629
|
storageUsageInBytes: number;
|
|
605
630
|
storageUsageInBytesSetAt: string;
|
|
606
631
|
}>;
|
|
632
|
+
/** Get a ContainerImageConfig. */
|
|
633
|
+
getContainerImageConfig: (conf: {
|
|
634
|
+
queryParameters: {
|
|
635
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
636
|
+
imageReference: string;
|
|
637
|
+
useCredentialsForProjectId?: string | undefined;
|
|
638
|
+
useCredentialsForRegistryId?: string | undefined;
|
|
639
|
+
generateAiData?: boolean | undefined;
|
|
640
|
+
};
|
|
641
|
+
headers?: {
|
|
642
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
643
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
644
|
+
"x-access-token"?: string | undefined;
|
|
645
|
+
} | undefined;
|
|
646
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
647
|
+
command?: string[] | undefined;
|
|
648
|
+
digest: string;
|
|
649
|
+
entrypoint?: string[] | undefined;
|
|
650
|
+
env?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigEnv[] | undefined;
|
|
651
|
+
exposedPorts?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigExposedPort[] | undefined;
|
|
652
|
+
hasAiGeneratedData: boolean;
|
|
653
|
+
isAiAvailable: boolean;
|
|
654
|
+
isUserRoot: boolean;
|
|
655
|
+
overwritingUser?: number | undefined;
|
|
656
|
+
user: string;
|
|
657
|
+
userId: number;
|
|
658
|
+
volumes?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigVolume[] | undefined;
|
|
659
|
+
}>;
|
|
607
660
|
/** Get logs belonging to a Service. */
|
|
608
661
|
getServiceLogs: (conf: {
|
|
609
662
|
stackId: string;
|
|
@@ -641,6 +694,13 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
641
694
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceStatus;
|
|
642
695
|
statusSetAt: string;
|
|
643
696
|
}>;
|
|
697
|
+
/** Get a Container Template icon. */
|
|
698
|
+
getTemplateIcon: (conf: {
|
|
699
|
+
templateId: string;
|
|
700
|
+
headers?: {
|
|
701
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
702
|
+
} | undefined;
|
|
703
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<string>;
|
|
644
704
|
/** Get a Container Template by ID. */
|
|
645
705
|
getTemplate: (conf: {
|
|
646
706
|
templateId: string;
|
|
@@ -649,29 +709,42 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
649
709
|
} | undefined;
|
|
650
710
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
651
711
|
categories: string[];
|
|
652
|
-
description:
|
|
653
|
-
de: string;
|
|
654
|
-
en: string;
|
|
655
|
-
};
|
|
712
|
+
description: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplateTranslatedString;
|
|
656
713
|
developer: string;
|
|
657
714
|
domains?: {
|
|
658
715
|
port: string;
|
|
716
|
+
purpose?: string;
|
|
659
717
|
service: string;
|
|
660
718
|
userInput: string;
|
|
661
719
|
}[] | undefined;
|
|
662
|
-
|
|
720
|
+
help?: {
|
|
721
|
+
alerts?: {
|
|
722
|
+
content: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplateTranslatedString;
|
|
723
|
+
heading: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplateTranslatedString;
|
|
724
|
+
link?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplateTranslatedString;
|
|
725
|
+
linkText?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplateTranslatedString;
|
|
726
|
+
status: string;
|
|
727
|
+
}[];
|
|
728
|
+
technicalDetails?: {
|
|
729
|
+
key: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplateTranslatedString;
|
|
730
|
+
value: string;
|
|
731
|
+
}[];
|
|
732
|
+
} | undefined;
|
|
733
|
+
iconUrl: string;
|
|
663
734
|
id: string;
|
|
664
|
-
license?:
|
|
735
|
+
license?: {
|
|
736
|
+
link?: string;
|
|
737
|
+
name: string;
|
|
738
|
+
} | undefined;
|
|
665
739
|
manifestVersion: string;
|
|
666
|
-
name:
|
|
740
|
+
name: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplateTranslatedString;
|
|
667
741
|
repository?: string | undefined;
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
en: string;
|
|
671
|
-
};
|
|
742
|
+
supportLink?: string | undefined;
|
|
743
|
+
tagline: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplateTranslatedString;
|
|
672
744
|
userInputs?: {
|
|
673
745
|
dataSource?: string;
|
|
674
746
|
defaultValue?: string;
|
|
747
|
+
label?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplateTranslatedString;
|
|
675
748
|
name: string;
|
|
676
749
|
required: boolean;
|
|
677
750
|
validationSchema?: string;
|
|
@@ -737,6 +810,7 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
737
810
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
738
811
|
category?: string | undefined;
|
|
739
812
|
searchTerm?: string | undefined;
|
|
813
|
+
type?: "component" | "standalone" | undefined;
|
|
740
814
|
limit?: number | undefined;
|
|
741
815
|
skip?: number | undefined;
|
|
742
816
|
page?: number | undefined;
|
|
@@ -759,33 +833,26 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
759
833
|
page?: number | undefined;
|
|
760
834
|
} | undefined;
|
|
761
835
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
|
|
762
|
-
/** Get
|
|
763
|
-
|
|
764
|
-
|
|
836
|
+
/** Get Container Template statistics. */
|
|
837
|
+
getTemplateStatistics: (conf: {
|
|
838
|
+
templateId: string;
|
|
839
|
+
headers?: {
|
|
765
840
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
|
|
841
|
+
} | undefined;
|
|
842
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
843
|
+
id: string;
|
|
844
|
+
installations: number;
|
|
845
|
+
installations30Days: number;
|
|
846
|
+
}>;
|
|
847
|
+
/** Get Container Template statistics by category. */
|
|
848
|
+
getTemplateStatisticsByCategory: (conf: {
|
|
849
|
+
category: string;
|
|
771
850
|
headers?: {
|
|
772
851
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
773
|
-
"Accept-Language"?: "de" | "en" | undefined;
|
|
774
|
-
"x-access-token"?: string | undefined;
|
|
775
852
|
} | undefined;
|
|
776
853
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
777
|
-
|
|
778
|
-
|
|
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;
|
|
854
|
+
category: string;
|
|
855
|
+
templates: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerTemplateStatsResponse[];
|
|
789
856
|
}>;
|
|
790
857
|
};
|
|
791
858
|
declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
@@ -1536,6 +1603,7 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1536
1603
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1537
1604
|
extensionId?: string | undefined;
|
|
1538
1605
|
extensionInstanceId?: string | undefined;
|
|
1606
|
+
state?: import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstanceWebhookExecutionState[] | undefined;
|
|
1539
1607
|
limit?: number | undefined;
|
|
1540
1608
|
skip?: number | undefined;
|
|
1541
1609
|
page?: number | undefined;
|
|
@@ -1681,13 +1749,7 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1681
1749
|
category?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationCategory | undefined;
|
|
1682
1750
|
conversationId: string;
|
|
1683
1751
|
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
1752
|
lastMessageAt?: string | undefined;
|
|
1690
|
-
lastMessageBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
1691
1753
|
mainUser: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
|
|
1692
1754
|
notificationRoles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationNotificationRole[] | undefined;
|
|
1693
1755
|
relatedTo?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationRelatedAggregateReference | undefined;
|
|
@@ -1697,6 +1759,12 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1697
1759
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationStatus;
|
|
1698
1760
|
title: string;
|
|
1699
1761
|
visibility: "shared" | "private";
|
|
1762
|
+
createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
1763
|
+
lastMessage?: {
|
|
1764
|
+
createdAt: string;
|
|
1765
|
+
createdBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser;
|
|
1766
|
+
} | undefined;
|
|
1767
|
+
lastMessageBy?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationUser | undefined;
|
|
1700
1768
|
}>;
|
|
1701
1769
|
/** Request an access token for the File belonging to the Conversation. */
|
|
1702
1770
|
getFileAccessToken: (conf: {
|
|
@@ -3459,6 +3527,23 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3459
3527
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServerStatus;
|
|
3460
3528
|
storage: string;
|
|
3461
3529
|
}>;
|
|
3530
|
+
/** List Projects belonging to a Customer. */
|
|
3531
|
+
listCustomerProjects: (conf: {
|
|
3532
|
+
customerId: string;
|
|
3533
|
+
headers?: {
|
|
3534
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3535
|
+
"x-access-token"?: string | undefined;
|
|
3536
|
+
} | undefined;
|
|
3537
|
+
queryParameters?: {
|
|
3538
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3539
|
+
searchTerm?: string | undefined;
|
|
3540
|
+
limit?: number | undefined;
|
|
3541
|
+
skip?: number | undefined;
|
|
3542
|
+
page?: number | undefined;
|
|
3543
|
+
sort?: "createdAt" | "description" | undefined;
|
|
3544
|
+
order?: "asc" | "desc" | undefined;
|
|
3545
|
+
} | undefined;
|
|
3546
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectListItem[]>;
|
|
3462
3547
|
/** List Memberships belonging to a Project. */
|
|
3463
3548
|
listMembershipsForProject: (conf: {
|
|
3464
3549
|
projectId: string;
|
|
@@ -3477,6 +3562,27 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3477
3562
|
searchTerm?: string | undefined;
|
|
3478
3563
|
} | undefined;
|
|
3479
3564
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MembershipProjectMembership[]>;
|
|
3565
|
+
/** Get the activities of a project. */
|
|
3566
|
+
listProjectActivities: (conf: {
|
|
3567
|
+
projectId: string;
|
|
3568
|
+
headers?: {
|
|
3569
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3570
|
+
} | undefined;
|
|
3571
|
+
queryParameters?: {
|
|
3572
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3573
|
+
aggregateName?: string | undefined;
|
|
3574
|
+
aggregateDomain?: string | undefined;
|
|
3575
|
+
aggregateId?: string | undefined;
|
|
3576
|
+
startTime?: string | undefined;
|
|
3577
|
+
endTime?: string | undefined;
|
|
3578
|
+
fulltextSearch?: string | undefined;
|
|
3579
|
+
limit?: number | undefined;
|
|
3580
|
+
skip?: number | undefined;
|
|
3581
|
+
page?: number | undefined;
|
|
3582
|
+
sort?: "dateTime" | undefined;
|
|
3583
|
+
order?: "asc" | "desc" | undefined;
|
|
3584
|
+
} | undefined;
|
|
3585
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ActivitylogLogEntry[]>;
|
|
3480
3586
|
/** List ProjectInvites belonging to the executing user. */
|
|
3481
3587
|
listProjectInvites: (conf?: {
|
|
3482
3588
|
headers?: {
|
|
@@ -3575,44 +3681,6 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3575
3681
|
notificationThresholdInBytes?: number | undefined;
|
|
3576
3682
|
statisticCategories?: import("./types.js").MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategory[] | undefined;
|
|
3577
3683
|
}>;
|
|
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[]>;
|
|
3616
3684
|
};
|
|
3617
3685
|
declare const buildProjectFileSystemApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3618
3686
|
/** List directories belonging to a Project. */
|