@mittwald/api-client 0.0.0-development-20132a5-20260318 → 0.0.0-development-a638234-20260416
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 +8 -4
- package/dist/esm/generated/v2/client.js +16 -10
- package/dist/esm/generated/v2/descriptors.js +48 -30
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +49 -16
- package/dist/types/generated/v2/client.d.ts +473 -241
- package/dist/types/generated/v2/descriptors.d.ts +16 -10
- package/dist/types/generated/v2/types.d.ts +555 -321
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -6,6 +6,8 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
6
6
|
customerGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKeys, baseClient.aiHosting.customerGetKeys).getApiResource,
|
|
7
7
|
/** Get a key of a customer. */
|
|
8
8
|
customerGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetKey, baseClient.aiHosting.customerGetKey).getApiResource,
|
|
9
|
+
/** Get a list of currently active models. */
|
|
10
|
+
customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
|
|
9
11
|
/** Get ai hosting plan and usages of a customer. */
|
|
10
12
|
customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
|
|
11
13
|
/** Get a list of currently active models. */
|
|
@@ -14,12 +16,10 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
14
16
|
projectGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKeys, baseClient.aiHosting.projectGetKeys).getApiResource,
|
|
15
17
|
/** Get a key of a project. */
|
|
16
18
|
projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
|
|
17
|
-
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
18
|
-
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
19
|
-
/** Get a list of currently active models. */
|
|
20
|
-
customerGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetDetailedModels, baseClient.aiHosting.customerGetDetailedModels).getApiResource,
|
|
21
19
|
/** Get a list of currently active models. */
|
|
22
20
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
21
|
+
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
22
|
+
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
23
23
|
});
|
|
24
24
|
const buildAppApi = (baseClient) => ({
|
|
25
25
|
/** Get an App. */
|
|
@@ -74,6 +74,8 @@ const buildBackupApi = (baseClient) => ({
|
|
|
74
74
|
getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
|
|
75
75
|
});
|
|
76
76
|
const buildContainerApi = (baseClient) => ({
|
|
77
|
+
/** Call pull-image webhook */
|
|
78
|
+
callPullImageWebhookForService: new ApiCallAsyncResourceFactory(descriptors.containerCallPullImageWebhookForService, baseClient.container.callPullImageWebhookForService).getApiResource,
|
|
77
79
|
/** List Registries belonging to a Project. */
|
|
78
80
|
listRegistries: new ApiCallAsyncResourceFactory(descriptors.containerListRegistries, baseClient.container.listRegistries).getApiResource,
|
|
79
81
|
/** Get a Stack. */
|
|
@@ -284,6 +286,8 @@ const buildDomainApi = (baseClient) => ({
|
|
|
284
286
|
listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
285
287
|
/** List TLDs. */
|
|
286
288
|
listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
289
|
+
/** List Domain-Migrations belonging to a p-Account. */
|
|
290
|
+
migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.domainMigrationListMigrations, baseClient.domain.migrationListMigrations).getApiResource,
|
|
287
291
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
288
292
|
suggest: new ApiCallAsyncResourceFactory(descriptors.domainSuggest, baseClient.domain.suggest).getApiResource,
|
|
289
293
|
/** List Ingresses. */
|
|
@@ -6,6 +6,8 @@ import { ApiClientBase } from "@mittwald/api-client-commons";
|
|
|
6
6
|
export class MittwaldAPIV2Client extends ApiClientBase {
|
|
7
7
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
8
8
|
aiHosting = {
|
|
9
|
+
/** Accepts the model terms for a customer. */
|
|
10
|
+
customerAcceptModelTerms: this.requestFunctionFactory(descriptors.aiHostingCustomerAcceptModelTerms),
|
|
9
11
|
/** Get a list of already created keys. */
|
|
10
12
|
customerGetKeys: this.requestFunctionFactory(descriptors.aiHostingCustomerGetKeys),
|
|
11
13
|
/** Creates a new key. */
|
|
@@ -16,6 +18,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
16
18
|
customerUpdateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdateKey),
|
|
17
19
|
/** Delete a key for a customer. */
|
|
18
20
|
customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
|
|
21
|
+
/** Get a list of currently active models. */
|
|
22
|
+
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
19
23
|
/** Get ai hosting plan and usages of a customer. */
|
|
20
24
|
customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
|
|
21
25
|
/** Get a list of currently active models. */
|
|
@@ -30,19 +34,13 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
30
34
|
projectUpdateKey: this.requestFunctionFactory(descriptors.aiHostingProjectUpdateKey),
|
|
31
35
|
/** Delete a key for a project. */
|
|
32
36
|
projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
|
|
33
|
-
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
34
|
-
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
35
|
-
/** Get a list of currently active models. */
|
|
36
|
-
customerGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingCustomerGetDetailedModels),
|
|
37
37
|
/** Get a list of currently active models. */
|
|
38
38
|
projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
|
|
39
|
-
/**
|
|
40
|
-
|
|
39
|
+
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
40
|
+
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
41
41
|
};
|
|
42
42
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
43
43
|
app = {
|
|
44
|
-
/** Trigger a runtime action belonging to an AppInstallation. */
|
|
45
|
-
executeAction: this.requestFunctionFactory(descriptors.appExecuteAction),
|
|
46
44
|
/** Get an App. */
|
|
47
45
|
getApp: this.requestFunctionFactory(descriptors.appGetApp),
|
|
48
46
|
/** Get an AppInstallation. */
|
|
@@ -134,6 +132,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
134
132
|
};
|
|
135
133
|
/** The container API allows you to manage your stacks, containers, volumes and registries. */
|
|
136
134
|
container = {
|
|
135
|
+
/** Call pull-image webhook */
|
|
136
|
+
callPullImageWebhookForService: this.requestFunctionFactory(descriptors.containerCallPullImageWebhookForService),
|
|
137
137
|
/** List Registries belonging to a Project. */
|
|
138
138
|
listRegistries: this.requestFunctionFactory(descriptors.containerListRegistries),
|
|
139
139
|
/** Create a Registry. */
|
|
@@ -176,14 +176,14 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
176
176
|
recreateService: this.requestFunctionFactory(descriptors.containerRecreateService),
|
|
177
177
|
/** Restart a started Service. */
|
|
178
178
|
restartService: this.requestFunctionFactory(descriptors.containerRestartService),
|
|
179
|
+
/** Create or rotate pull-image webhook token */
|
|
180
|
+
rotatePullImageWebhookForService: this.requestFunctionFactory(descriptors.containerRotatePullImageWebhookForService),
|
|
179
181
|
/** Set an update schedule for a Stack. */
|
|
180
182
|
setStackUpdateSchedule: this.requestFunctionFactory(descriptors.containerSetStackUpdateSchedule),
|
|
181
183
|
/** Start a stopped Service. */
|
|
182
184
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
183
185
|
/** Stop a started Service. */
|
|
184
186
|
stopService: this.requestFunctionFactory(descriptors.containerStopService),
|
|
185
|
-
/** Validate a Registries' URI. */
|
|
186
|
-
validateContainerRegistryUri: this.requestFunctionFactory(descriptors.containerValidateContainerRegistryUri),
|
|
187
187
|
/** Validate a Registries' credentials. */
|
|
188
188
|
validateRegistryCredentials: this.requestFunctionFactory(descriptors.containerValidateRegistryCredentials),
|
|
189
189
|
};
|
|
@@ -587,6 +587,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
587
587
|
listTldContactSchemas: this.requestFunctionFactory(descriptors.domainListTldContactSchemas),
|
|
588
588
|
/** List TLDs. */
|
|
589
589
|
listTlds: this.requestFunctionFactory(descriptors.domainListTlds),
|
|
590
|
+
/** Check if a Domain-Migration from a pAccount into a Project is possible. */
|
|
591
|
+
migrationCheckMigrationIsPossible: this.requestFunctionFactory(descriptors.domainMigrationCheckMigrationIsPossible),
|
|
592
|
+
/** List Domain-Migrations belonging to a p-Account. */
|
|
593
|
+
migrationListMigrations: this.requestFunctionFactory(descriptors.domainMigrationListMigrations),
|
|
594
|
+
/** Create a Domain-Migration from a pAccount into a Project. */
|
|
595
|
+
migrationRequestDomainMigration: this.requestFunctionFactory(descriptors.domainMigrationRequestDomainMigration),
|
|
590
596
|
/** Resend a Domain email. */
|
|
591
597
|
resendDomainEmail: this.requestFunctionFactory(descriptors.domainResendDomainEmail),
|
|
592
598
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
@@ -1,3 +1,9 @@
|
|
|
1
|
+
/** Accepts the model terms for a customer. */
|
|
2
|
+
export const aiHostingCustomerAcceptModelTerms = {
|
|
3
|
+
path: "/v2/customers/{customerId}/ai-hosting-models/actions/accept-terms",
|
|
4
|
+
method: "POST",
|
|
5
|
+
operationId: "ai-hosting-customer-accept-model-terms",
|
|
6
|
+
};
|
|
1
7
|
/** Get a list of already created keys. */
|
|
2
8
|
export const aiHostingCustomerGetKeys = {
|
|
3
9
|
path: "/v2/customers/{customerId}/ai-hosting-keys",
|
|
@@ -28,6 +34,12 @@ export const aiHostingCustomerDeleteKey = {
|
|
|
28
34
|
method: "DELETE",
|
|
29
35
|
operationId: "ai-hosting-customer-delete-key",
|
|
30
36
|
};
|
|
37
|
+
/** Get a list of currently active models. */
|
|
38
|
+
export const aiHostingCustomerGetDetailedModels = {
|
|
39
|
+
path: "/v2/customers/{customerId}/ai-hosting-models",
|
|
40
|
+
method: "GET",
|
|
41
|
+
operationId: "ai-hosting-customer-get-detailed-models",
|
|
42
|
+
};
|
|
31
43
|
/** Get ai hosting plan and usages of a customer. */
|
|
32
44
|
export const aiHostingCustomerGetUsage = {
|
|
33
45
|
path: "/v2/customers/{customerId}/ai-hosting",
|
|
@@ -70,18 +82,18 @@ export const aiHostingProjectDeleteKey = {
|
|
|
70
82
|
method: "DELETE",
|
|
71
83
|
operationId: "ai-hosting-project-delete-key",
|
|
72
84
|
};
|
|
85
|
+
/** Get a list of currently active models. */
|
|
86
|
+
export const aiHostingProjectGetDetailedModels = {
|
|
87
|
+
path: "/v2/projects/{projectId}/ai-hosting-models",
|
|
88
|
+
method: "GET",
|
|
89
|
+
operationId: "ai-hosting-project-get-detailed-models",
|
|
90
|
+
};
|
|
73
91
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
74
92
|
export const aiHostingProjectGetUsage = {
|
|
75
93
|
path: "/v2/projects/{projectId}/ai-hosting",
|
|
76
94
|
method: "GET",
|
|
77
95
|
operationId: "ai-hosting-project-get-usage",
|
|
78
96
|
};
|
|
79
|
-
/** Trigger a runtime action belonging to an AppInstallation. */
|
|
80
|
-
export const appExecuteAction = {
|
|
81
|
-
path: "/v2/app-installations/{appInstallationId}/actions/{action}",
|
|
82
|
-
method: "POST",
|
|
83
|
-
operationId: "app-execute-action",
|
|
84
|
-
};
|
|
85
97
|
/** Get an App. */
|
|
86
98
|
export const appGetApp = {
|
|
87
99
|
path: "/v2/apps/{appId}",
|
|
@@ -328,6 +340,12 @@ export const backupUpdateProjectBackupDescription = {
|
|
|
328
340
|
method: "PATCH",
|
|
329
341
|
operationId: "backup-update-project-backup-description",
|
|
330
342
|
};
|
|
343
|
+
/** Call pull-image webhook */
|
|
344
|
+
export const containerCallPullImageWebhookForService = {
|
|
345
|
+
path: "/v2/stacks/{stackId}/webhooks/pull-image",
|
|
346
|
+
method: "GET",
|
|
347
|
+
operationId: "container-call-pull-image-webhook-for-service",
|
|
348
|
+
};
|
|
331
349
|
/** List Registries belonging to a Project. */
|
|
332
350
|
export const containerListRegistries = {
|
|
333
351
|
path: "/v2/projects/{projectId}/registries",
|
|
@@ -454,6 +472,12 @@ export const containerRestartService = {
|
|
|
454
472
|
method: "POST",
|
|
455
473
|
operationId: "container-restart-service",
|
|
456
474
|
};
|
|
475
|
+
/** Create or rotate pull-image webhook token */
|
|
476
|
+
export const containerRotatePullImageWebhookForService = {
|
|
477
|
+
path: "/v2/stacks/{stackId}/services/{serviceId}/webhook-token",
|
|
478
|
+
method: "POST",
|
|
479
|
+
operationId: "container-rotate-pull-image-webhook-for-service",
|
|
480
|
+
};
|
|
457
481
|
/** Set an update schedule for a Stack. */
|
|
458
482
|
export const containerSetStackUpdateSchedule = {
|
|
459
483
|
path: "/v2/stacks/{stackId}/update-schedule",
|
|
@@ -472,12 +496,6 @@ export const containerStopService = {
|
|
|
472
496
|
method: "POST",
|
|
473
497
|
operationId: "container-stop-service",
|
|
474
498
|
};
|
|
475
|
-
/** Validate a Registries' URI. */
|
|
476
|
-
export const containerValidateContainerRegistryUri = {
|
|
477
|
-
path: "/v2/actions/validate-container-registry-uri",
|
|
478
|
-
method: "POST",
|
|
479
|
-
operationId: "container-validate-container-registry-uri",
|
|
480
|
-
};
|
|
481
499
|
/** Validate a Registries' credentials. */
|
|
482
500
|
export const containerValidateRegistryCredentials = {
|
|
483
501
|
path: "/v2/registries/{registryId}/actions/validate-credentials",
|
|
@@ -1312,6 +1330,24 @@ export const domainListTlds = {
|
|
|
1312
1330
|
method: "GET",
|
|
1313
1331
|
operationId: "domain-list-tlds",
|
|
1314
1332
|
};
|
|
1333
|
+
/** Check if a Domain-Migration from a pAccount into a Project is possible. */
|
|
1334
|
+
export const domainMigrationCheckMigrationIsPossible = {
|
|
1335
|
+
path: "/v2/domain-migrations/actions/possibility-check",
|
|
1336
|
+
method: "POST",
|
|
1337
|
+
operationId: "domain-migration-check-migration-is-possible",
|
|
1338
|
+
};
|
|
1339
|
+
/** List Domain-Migrations belonging to a p-Account. */
|
|
1340
|
+
export const domainMigrationListMigrations = {
|
|
1341
|
+
path: "/v2/domain-migrations",
|
|
1342
|
+
method: "GET",
|
|
1343
|
+
operationId: "domain-migration-list-migrations",
|
|
1344
|
+
};
|
|
1345
|
+
/** Create a Domain-Migration from a pAccount into a Project. */
|
|
1346
|
+
export const domainMigrationRequestDomainMigration = {
|
|
1347
|
+
path: "/v2/domain-migrations/actions/request",
|
|
1348
|
+
method: "POST",
|
|
1349
|
+
operationId: "domain-migration-request-domain-migration",
|
|
1350
|
+
};
|
|
1315
1351
|
/** Resend a Domain email. */
|
|
1316
1352
|
export const domainResendDomainEmail = {
|
|
1317
1353
|
path: "/v2/domains/{domainId}/actions/resend-email",
|
|
@@ -2764,21 +2800,3 @@ export const verificationVerifyCompany = {
|
|
|
2764
2800
|
method: "POST",
|
|
2765
2801
|
operationId: "verification-verify-company",
|
|
2766
2802
|
};
|
|
2767
|
-
/** Get a list of currently active models. */
|
|
2768
|
-
export const aiHostingCustomerGetDetailedModels = {
|
|
2769
|
-
path: "/v2/customers/{customerId}/ai-hosting-models",
|
|
2770
|
-
method: "GET",
|
|
2771
|
-
operationId: "ai-hosting-customer-get-detailed-models",
|
|
2772
|
-
};
|
|
2773
|
-
/** Get a list of currently active models. */
|
|
2774
|
-
export const aiHostingProjectGetDetailedModels = {
|
|
2775
|
-
path: "/v2/projects/{projectId}/ai-hosting-models",
|
|
2776
|
-
method: "GET",
|
|
2777
|
-
operationId: "ai-hosting-project-get-detailed-models",
|
|
2778
|
-
};
|
|
2779
|
-
/** Accepts the model terms for a customer. */
|
|
2780
|
-
export const aiHostingCustomerAcceptModelTerms = {
|
|
2781
|
-
path: "/v2/customers/{customerId}/ai-hosting-models/actions/accept-terms",
|
|
2782
|
-
method: "POST",
|
|
2783
|
-
operationId: "ai-hosting-customer-accept-model-terms",
|
|
2784
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.346.0';
|
|
@@ -27,6 +27,13 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
27
27
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
28
28
|
tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
|
|
29
29
|
}>;
|
|
30
|
+
/** Get a list of currently active models. */
|
|
31
|
+
customerGetDetailedModels: (conf: {
|
|
32
|
+
customerId: string;
|
|
33
|
+
headers?: {
|
|
34
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
35
|
+
} | undefined;
|
|
36
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[]>;
|
|
30
37
|
/** Get ai hosting plan and usages of a customer. */
|
|
31
38
|
customerGetUsage: (conf: {
|
|
32
39
|
customerId: string;
|
|
@@ -84,6 +91,13 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
84
91
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
85
92
|
tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
|
|
86
93
|
}>;
|
|
94
|
+
/** Get a list of currently active models. */
|
|
95
|
+
projectGetDetailedModels: (conf: {
|
|
96
|
+
projectId: string;
|
|
97
|
+
headers?: {
|
|
98
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
99
|
+
} | undefined;
|
|
100
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[]>;
|
|
87
101
|
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
88
102
|
projectGetUsage: (conf: {
|
|
89
103
|
projectId: string;
|
|
@@ -96,20 +110,6 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
96
110
|
nextTokenReset?: string | undefined;
|
|
97
111
|
projectId: string;
|
|
98
112
|
}>;
|
|
99
|
-
/** Get a list of currently active models. */
|
|
100
|
-
customerGetDetailedModels: (conf: {
|
|
101
|
-
customerId: string;
|
|
102
|
-
headers?: {
|
|
103
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
104
|
-
} | undefined;
|
|
105
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingCustomerDetailedModel[]>;
|
|
106
|
-
/** Get a list of currently active models. */
|
|
107
|
-
projectGetDetailedModels: (conf: {
|
|
108
|
-
projectId: string;
|
|
109
|
-
headers?: {
|
|
110
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
111
|
-
} | undefined;
|
|
112
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[]>;
|
|
113
113
|
};
|
|
114
114
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
115
115
|
/** Get an App. */
|
|
@@ -133,7 +133,9 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
133
133
|
"x-access-token"?: string | undefined;
|
|
134
134
|
} | undefined;
|
|
135
135
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
136
|
+
appExternalVersion: string;
|
|
136
137
|
appId: string;
|
|
138
|
+
appName: string;
|
|
137
139
|
appVersion: import("./types.js").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
|
|
138
140
|
createdAt: string;
|
|
139
141
|
customDocumentRoot?: string | undefined;
|
|
@@ -148,11 +150,13 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
148
150
|
[k: string]: import("./types.js").MittwaldAPIV2.Components.Schemas.AppLockPurpose;
|
|
149
151
|
} | undefined;
|
|
150
152
|
phase: import("./types.js").MittwaldAPIV2.Components.Schemas.AppPhase;
|
|
153
|
+
projectDescription: string;
|
|
151
154
|
projectId: string;
|
|
152
155
|
screenshotId?: string | undefined;
|
|
153
156
|
screenshotRef?: string | undefined;
|
|
154
157
|
shortId: string;
|
|
155
158
|
systemSoftware: import("./types.js").MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[];
|
|
159
|
+
updateAvailable: boolean;
|
|
156
160
|
updatePolicy: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy;
|
|
157
161
|
userInputs: import("./types.js").MittwaldAPIV2.Components.Schemas.AppSavedUserInput[];
|
|
158
162
|
}>;
|
|
@@ -330,6 +334,10 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
330
334
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
331
335
|
"x-access-token"?: string | undefined;
|
|
332
336
|
} | undefined;
|
|
337
|
+
queryParameters?: {
|
|
338
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
339
|
+
onlyRecommended?: boolean | undefined;
|
|
340
|
+
} | undefined;
|
|
333
341
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppVersion[]>;
|
|
334
342
|
/** Get runtime status belonging to an AppInstallation. */
|
|
335
343
|
retrieveStatus: (conf: {
|
|
@@ -496,6 +504,17 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
496
504
|
}>;
|
|
497
505
|
};
|
|
498
506
|
declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
507
|
+
/** Call pull-image webhook */
|
|
508
|
+
callPullImageWebhookForService: (conf: {
|
|
509
|
+
queryParameters: {
|
|
510
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
511
|
+
token: string;
|
|
512
|
+
};
|
|
513
|
+
stackId: string;
|
|
514
|
+
headers?: {
|
|
515
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
516
|
+
} | undefined;
|
|
517
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<never>;
|
|
499
518
|
/** List Registries belonging to a Project. */
|
|
500
519
|
listRegistries: (conf: {
|
|
501
520
|
projectId: string;
|
|
@@ -1612,7 +1631,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1612
1631
|
} | undefined;
|
|
1613
1632
|
queryParameters?: {
|
|
1614
1633
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1615
|
-
|
|
1634
|
+
includeServiceCronjobs?: boolean | undefined;
|
|
1616
1635
|
limit?: number | undefined;
|
|
1617
1636
|
skip?: number | undefined;
|
|
1618
1637
|
page?: number | undefined;
|
|
@@ -1660,7 +1679,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1660
1679
|
nextExecutionTime?: string | undefined;
|
|
1661
1680
|
projectId?: string | undefined;
|
|
1662
1681
|
shortId: string;
|
|
1663
|
-
target?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobAppInstallationTarget | import("./types.js").MittwaldAPIV2.Components.Schemas.
|
|
1682
|
+
target?: (import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobAppInstallationTarget | import("./types.js").MittwaldAPIV2.Components.Schemas.CronjobServiceTargetResponse) | undefined;
|
|
1664
1683
|
timeZone?: string | undefined;
|
|
1665
1684
|
timeout: number;
|
|
1666
1685
|
updatedAt: string;
|
|
@@ -2137,6 +2156,17 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2137
2156
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2138
2157
|
} | undefined;
|
|
2139
2158
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
|
|
2159
|
+
/** List Domain-Migrations belonging to a p-Account. */
|
|
2160
|
+
migrationListMigrations: (conf: {
|
|
2161
|
+
headers: {
|
|
2162
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2163
|
+
Authorization: string;
|
|
2164
|
+
};
|
|
2165
|
+
queryParameters: {
|
|
2166
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2167
|
+
pAccountName: string;
|
|
2168
|
+
};
|
|
2169
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainmigrationMigration[]>;
|
|
2140
2170
|
/** Suggest a list of domains based on a prompt using AI. */
|
|
2141
2171
|
suggest: (conf: {
|
|
2142
2172
|
queryParameters: {
|
|
@@ -3192,6 +3222,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3192
3222
|
isReady: boolean;
|
|
3193
3223
|
projectHostingId?: string | undefined;
|
|
3194
3224
|
readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
|
|
3225
|
+
serverGroupId: string;
|
|
3195
3226
|
serverId?: string | undefined;
|
|
3196
3227
|
serverShortId?: string | undefined;
|
|
3197
3228
|
shortId: string;
|
|
@@ -3256,6 +3287,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3256
3287
|
customerId: string;
|
|
3257
3288
|
description: string;
|
|
3258
3289
|
disabledReason?: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason | undefined;
|
|
3290
|
+
groupId: string;
|
|
3259
3291
|
id: string;
|
|
3260
3292
|
imageRefId?: string | undefined;
|
|
3261
3293
|
isReady: boolean;
|
|
@@ -3347,6 +3379,7 @@ declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3347
3379
|
isReady: boolean;
|
|
3348
3380
|
projectHostingId?: string;
|
|
3349
3381
|
readiness: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectDeprecatedProjectReadinessStatus;
|
|
3382
|
+
serverGroupId: string;
|
|
3350
3383
|
serverId?: string;
|
|
3351
3384
|
shortId: string;
|
|
3352
3385
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ProjectProjectStatus;
|