@mittwald/api-client 0.0.0-development-bf8b0ba-20260902 → 0.0.0-development-0cc8aa7-20260904
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 +6 -2
- package/dist/esm/generated/v2/client.js +9 -5
- package/dist/esm/generated/v2/descriptors.js +25 -13
- package/dist/esm/generated/v3-next/client-react.js +6 -2
- package/dist/esm/generated/v3-next/client.js +9 -5
- package/dist/esm/generated/v3-next/descriptors.js +25 -13
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +57 -10
- package/dist/types/generated/v2/client.d.ts +347 -136
- package/dist/types/generated/v2/descriptors.d.ts +12 -8
- package/dist/types/generated/v2/types.d.ts +317 -133
- package/dist/types/generated/v3-next/client-react.d.ts +57 -10
- package/dist/types/generated/v3-next/client.d.ts +347 -136
- package/dist/types/generated/v3-next/descriptors.d.ts +12 -8
- package/dist/types/generated/v3-next/types.d.ts +317 -133
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -20,16 +20,18 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
20
20
|
projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
|
|
21
21
|
/** Get a list of currently active models. */
|
|
22
22
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
23
|
-
/** Get all ai hosting plans and usages of a project. */
|
|
24
|
-
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
25
23
|
/** Get ai hosting plan and usages of a project by planId. */
|
|
26
24
|
projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
|
|
25
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
26
|
+
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
27
27
|
});
|
|
28
28
|
const buildAppApi = (baseClient) => ({
|
|
29
29
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
30
30
|
getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
|
|
31
31
|
/** Get an App. */
|
|
32
32
|
getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
|
|
33
|
+
/** Get an analysis of the error of an AppInstallation. */
|
|
34
|
+
getAppinstallationErrorAnalysis: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallationErrorAnalysis, baseClient.app.getAppinstallationErrorAnalysis).getApiResource,
|
|
33
35
|
/** Get an AppInstallation. */
|
|
34
36
|
getAppinstallation: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallation, baseClient.app.getAppinstallation).getApiResource,
|
|
35
37
|
/** Get an AppVersion. */
|
|
@@ -92,6 +94,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
92
94
|
getVolume: new ApiCallAsyncResourceFactory(descriptors.containerGetVolume, baseClient.container.getVolume).getApiResource,
|
|
93
95
|
/** Get a ContainerImageConfig. */
|
|
94
96
|
getContainerImageConfig: new ApiCallAsyncResourceFactory(descriptors.containerGetContainerImageConfig, baseClient.container.getContainerImageConfig).getApiResource,
|
|
97
|
+
/** Get an analysis of the logs belonging to a Service. */
|
|
98
|
+
getServiceLogsAnalysis: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogsAnalysis, baseClient.container.getServiceLogsAnalysis).getApiResource,
|
|
95
99
|
/** Get logs belonging to a Service. */
|
|
96
100
|
getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
|
|
97
101
|
/** Get a Service belonging to a Stack. */
|
|
@@ -42,12 +42,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
42
42
|
projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
|
|
43
43
|
/** Get a list of currently active models. */
|
|
44
44
|
projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
|
|
45
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
46
|
+
projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
|
|
45
47
|
/** Get all ai hosting plans and usages of a project. */
|
|
46
48
|
projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
|
|
47
49
|
/** Links a container with a project licence. */
|
|
48
50
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
49
|
-
/** Get ai hosting plan and usages of a project by planId. */
|
|
50
|
-
projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
|
|
51
51
|
};
|
|
52
52
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
53
53
|
app = {
|
|
@@ -57,6 +57,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
57
57
|
getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
|
|
58
58
|
/** Get an App. */
|
|
59
59
|
getApp: this.requestFunctionFactory(descriptors.appGetApp),
|
|
60
|
+
/** Get an analysis of the error of an AppInstallation. */
|
|
61
|
+
getAppinstallationErrorAnalysis: this.requestFunctionFactory(descriptors.appGetAppinstallationErrorAnalysis),
|
|
60
62
|
/** Get an AppInstallation. */
|
|
61
63
|
getAppinstallation: this.requestFunctionFactory(descriptors.appGetAppinstallation),
|
|
62
64
|
/** Trigger an uninstallation process for an AppInstallation. */
|
|
@@ -172,6 +174,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
172
174
|
deleteVolume: this.requestFunctionFactory(descriptors.containerDeleteVolume),
|
|
173
175
|
/** Get a ContainerImageConfig. */
|
|
174
176
|
getContainerImageConfig: this.requestFunctionFactory(descriptors.containerGetContainerImageConfig),
|
|
177
|
+
/** Get an analysis of the logs belonging to a Service. */
|
|
178
|
+
getServiceLogsAnalysis: this.requestFunctionFactory(descriptors.containerGetServiceLogsAnalysis),
|
|
175
179
|
/** Get logs belonging to a Service. */
|
|
176
180
|
getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
|
|
177
181
|
/** Get a Service belonging to a Stack. */
|
|
@@ -505,6 +509,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
505
509
|
removeAvatar: this.requestFunctionFactory(descriptors.customerRemoveAvatar),
|
|
506
510
|
/** Resend the mail for a CustomerInvite. */
|
|
507
511
|
resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
|
|
512
|
+
/** Set how the customer became aware of mittwald. */
|
|
513
|
+
setCustomerReferralSource: this.requestFunctionFactory(descriptors.customerSetCustomerReferralSource),
|
|
508
514
|
};
|
|
509
515
|
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
510
516
|
database = {
|
|
@@ -565,7 +571,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
565
571
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
566
572
|
/** List DNS zone-file import jobs belonging to a Project. */
|
|
567
573
|
dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
|
|
568
|
-
/**
|
|
574
|
+
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
569
575
|
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
570
576
|
/** List DNSZones belonging to a Project. */
|
|
571
577
|
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
@@ -579,8 +585,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
579
585
|
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
580
586
|
/** Get a zone file for a DNSZone. */
|
|
581
587
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
582
|
-
/** Preview a DNS zone-file import for a Project. */
|
|
583
|
-
dnsPreviewProjectDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsPreviewProjectDnsZoneFileImport),
|
|
584
588
|
/** Set a record set on a DNSZone to managed. */
|
|
585
589
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
586
590
|
/** Update a record set on a DNSZone. */
|
|
@@ -106,6 +106,12 @@ export const aiHostingProjectGetDetailedModels = {
|
|
|
106
106
|
method: "GET",
|
|
107
107
|
operationId: "ai-hosting-project-get-detailed-models",
|
|
108
108
|
};
|
|
109
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
110
|
+
export const aiHostingProjectGetPlan = {
|
|
111
|
+
path: "/v2/projects/{projectId}/ai-hostings/{planId}",
|
|
112
|
+
method: "GET",
|
|
113
|
+
operationId: "ai-hosting-project-get-plan",
|
|
114
|
+
};
|
|
109
115
|
/** Get all ai hosting plans and usages of a project. */
|
|
110
116
|
export const aiHostingProjectGetPlans = {
|
|
111
117
|
path: "/v2/projects/{projectId}/ai-hostings",
|
|
@@ -136,6 +142,12 @@ export const appGetApp = {
|
|
|
136
142
|
method: "GET",
|
|
137
143
|
operationId: "app-get-app",
|
|
138
144
|
};
|
|
145
|
+
/** Get an analysis of the error of an AppInstallation. */
|
|
146
|
+
export const appGetAppinstallationErrorAnalysis = {
|
|
147
|
+
path: "/v2/app-installations/{appInstallationId}/error-analysis",
|
|
148
|
+
method: "GET",
|
|
149
|
+
operationId: "app-get-appinstallation-error-analysis",
|
|
150
|
+
};
|
|
139
151
|
/** Get an AppInstallation. */
|
|
140
152
|
export const appGetAppinstallation = {
|
|
141
153
|
path: "/v2/app-installations/{appInstallationId}",
|
|
@@ -454,6 +466,12 @@ export const containerGetContainerImageConfig = {
|
|
|
454
466
|
method: "GET",
|
|
455
467
|
operationId: "container-get-container-image-config",
|
|
456
468
|
};
|
|
469
|
+
/** Get an analysis of the logs belonging to a Service. */
|
|
470
|
+
export const containerGetServiceLogsAnalysis = {
|
|
471
|
+
path: "/v2/stacks/{stackId}/services/{serviceId}/log-analysis",
|
|
472
|
+
method: "GET",
|
|
473
|
+
operationId: "container-get-service-logs-analysis",
|
|
474
|
+
};
|
|
457
475
|
/** Get logs belonging to a Service. */
|
|
458
476
|
export const containerGetServiceLogs = {
|
|
459
477
|
path: "/v2/stacks/{stackId}/services/{serviceId}/logs",
|
|
@@ -1042,6 +1060,12 @@ export const customerResendCustomerInviteMail = {
|
|
|
1042
1060
|
method: "POST",
|
|
1043
1061
|
operationId: "customer-resend-customer-invite-mail",
|
|
1044
1062
|
};
|
|
1063
|
+
/** Set how the customer became aware of mittwald. */
|
|
1064
|
+
export const customerSetCustomerReferralSource = {
|
|
1065
|
+
path: "/v2/customers/{customerId}/referral-source",
|
|
1066
|
+
method: "PUT",
|
|
1067
|
+
operationId: "customer-set-customer-referral-source",
|
|
1068
|
+
};
|
|
1045
1069
|
/** Copy a MySQLDatabase with a MySQLUser. */
|
|
1046
1070
|
export const databaseCopyMysqlDatabase = {
|
|
1047
1071
|
path: "/v2/mysql-databases/{mysqlDatabaseId}/actions/copy",
|
|
@@ -1252,7 +1276,7 @@ export const dnsListDnsZoneFileImports = {
|
|
|
1252
1276
|
method: "GET",
|
|
1253
1277
|
operationId: "dns-list-dns-zone-file-imports",
|
|
1254
1278
|
};
|
|
1255
|
-
/**
|
|
1279
|
+
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
1256
1280
|
export const dnsCreateDnsZoneFileImport = {
|
|
1257
1281
|
path: "/v2/projects/{projectId}/dns-zone-imports",
|
|
1258
1282
|
method: "POST",
|
|
@@ -1294,12 +1318,6 @@ export const dnsGetZoneFile = {
|
|
|
1294
1318
|
method: "GET",
|
|
1295
1319
|
operationId: "dns-get-zone-file",
|
|
1296
1320
|
};
|
|
1297
|
-
/** Preview a DNS zone-file import for a Project. */
|
|
1298
|
-
export const dnsPreviewProjectDnsZoneFileImport = {
|
|
1299
|
-
path: "/v2/projects/{projectId}/dns-zones/actions/import-preview",
|
|
1300
|
-
method: "POST",
|
|
1301
|
-
operationId: "dns-preview-project-dns-zone-file-import",
|
|
1302
|
-
};
|
|
1303
1321
|
/** Set a record set on a DNSZone to managed. */
|
|
1304
1322
|
export const dnsSetRecordSetManaged = {
|
|
1305
1323
|
path: "/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
|
|
@@ -2908,9 +2926,3 @@ export const verificationVerifyCompany = {
|
|
|
2908
2926
|
method: "POST",
|
|
2909
2927
|
operationId: "verification-verify-company",
|
|
2910
2928
|
};
|
|
2911
|
-
/** Get ai hosting plan and usages of a project by planId. */
|
|
2912
|
-
export const aiHostingProjectGetPlan = {
|
|
2913
|
-
path: "/v2/projects/{projectId}/ai-hostings/{planId}",
|
|
2914
|
-
method: "GET",
|
|
2915
|
-
operationId: "ai-hosting-project-get-plan",
|
|
2916
|
-
};
|
|
@@ -20,16 +20,18 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
20
20
|
projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
|
|
21
21
|
/** Get a list of currently active models. */
|
|
22
22
|
projectGetDetailedModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetDetailedModels, baseClient.aiHosting.projectGetDetailedModels).getApiResource,
|
|
23
|
-
/** Get all ai hosting plans and usages of a project. */
|
|
24
|
-
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
25
23
|
/** Get ai hosting plan and usages of a project by planId. */
|
|
26
24
|
projectGetPlan: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlan, baseClient.aiHosting.projectGetPlan).getApiResource,
|
|
25
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
26
|
+
projectGetPlans: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetPlans, baseClient.aiHosting.projectGetPlans).getApiResource,
|
|
27
27
|
});
|
|
28
28
|
const buildAppApi = (baseClient) => ({
|
|
29
29
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
30
30
|
getAppInstallationSystemSoftware: new ApiCallAsyncResourceFactory(descriptors.appGetAppInstallationSystemSoftware, baseClient.app.getAppInstallationSystemSoftware).getApiResource,
|
|
31
31
|
/** Get an App. */
|
|
32
32
|
getApp: new ApiCallAsyncResourceFactory(descriptors.appGetApp, baseClient.app.getApp).getApiResource,
|
|
33
|
+
/** Get an analysis of the error of an AppInstallation. */
|
|
34
|
+
getAppinstallationErrorAnalysis: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallationErrorAnalysis, baseClient.app.getAppinstallationErrorAnalysis).getApiResource,
|
|
33
35
|
/** Get an AppInstallation. */
|
|
34
36
|
getAppinstallation: new ApiCallAsyncResourceFactory(descriptors.appGetAppinstallation, baseClient.app.getAppinstallation).getApiResource,
|
|
35
37
|
/** Get an AppVersion. */
|
|
@@ -92,6 +94,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
92
94
|
getVolume: new ApiCallAsyncResourceFactory(descriptors.containerGetVolume, baseClient.container.getVolume).getApiResource,
|
|
93
95
|
/** Get a ContainerImageConfig. */
|
|
94
96
|
getContainerImageConfig: new ApiCallAsyncResourceFactory(descriptors.containerGetContainerImageConfig, baseClient.container.getContainerImageConfig).getApiResource,
|
|
97
|
+
/** Get an analysis of the logs belonging to a Service. */
|
|
98
|
+
getServiceLogsAnalysis: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogsAnalysis, baseClient.container.getServiceLogsAnalysis).getApiResource,
|
|
95
99
|
/** Get logs belonging to a Service. */
|
|
96
100
|
getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
|
|
97
101
|
/** Get a Service belonging to a Stack. */
|
|
@@ -42,12 +42,12 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
42
42
|
projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
|
|
43
43
|
/** Get a list of currently active models. */
|
|
44
44
|
projectGetDetailedModels: this.requestFunctionFactory(descriptors.aiHostingProjectGetDetailedModels),
|
|
45
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
46
|
+
projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
|
|
45
47
|
/** Get all ai hosting plans and usages of a project. */
|
|
46
48
|
projectGetPlans: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlans),
|
|
47
49
|
/** Links a container with a project licence. */
|
|
48
50
|
projectLinkContainer: this.requestFunctionFactory(descriptors.aiHostingProjectLinkContainer),
|
|
49
|
-
/** Get ai hosting plan and usages of a project by planId. */
|
|
50
|
-
projectGetPlan: this.requestFunctionFactory(descriptors.aiHostingProjectGetPlan),
|
|
51
51
|
};
|
|
52
52
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
53
53
|
app = {
|
|
@@ -57,6 +57,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
57
57
|
getAppInstallationSystemSoftware: this.requestFunctionFactory(descriptors.appGetAppInstallationSystemSoftware),
|
|
58
58
|
/** Get an App. */
|
|
59
59
|
getApp: this.requestFunctionFactory(descriptors.appGetApp),
|
|
60
|
+
/** Get an analysis of the error of an AppInstallation. */
|
|
61
|
+
getAppinstallationErrorAnalysis: this.requestFunctionFactory(descriptors.appGetAppinstallationErrorAnalysis),
|
|
60
62
|
/** Get an AppInstallation. */
|
|
61
63
|
getAppinstallation: this.requestFunctionFactory(descriptors.appGetAppinstallation),
|
|
62
64
|
/** Trigger an uninstallation process for an AppInstallation. */
|
|
@@ -172,6 +174,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
172
174
|
deleteVolume: this.requestFunctionFactory(descriptors.containerDeleteVolume),
|
|
173
175
|
/** Get a ContainerImageConfig. */
|
|
174
176
|
getContainerImageConfig: this.requestFunctionFactory(descriptors.containerGetContainerImageConfig),
|
|
177
|
+
/** Get an analysis of the logs belonging to a Service. */
|
|
178
|
+
getServiceLogsAnalysis: this.requestFunctionFactory(descriptors.containerGetServiceLogsAnalysis),
|
|
175
179
|
/** Get logs belonging to a Service. */
|
|
176
180
|
getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
|
|
177
181
|
/** Get a Service belonging to a Stack. */
|
|
@@ -505,6 +509,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
505
509
|
removeAvatar: this.requestFunctionFactory(descriptors.customerRemoveAvatar),
|
|
506
510
|
/** Resend the mail for a CustomerInvite. */
|
|
507
511
|
resendCustomerInviteMail: this.requestFunctionFactory(descriptors.customerResendCustomerInviteMail),
|
|
512
|
+
/** Set how the customer became aware of mittwald. */
|
|
513
|
+
setCustomerReferralSource: this.requestFunctionFactory(descriptors.customerSetCustomerReferralSource),
|
|
508
514
|
};
|
|
509
515
|
/** The database API allows you to manage your databases, like MySQL and Redis databases. */
|
|
510
516
|
database = {
|
|
@@ -565,7 +571,7 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
565
571
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
566
572
|
/** List DNS zone-file import jobs belonging to a Project. */
|
|
567
573
|
dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
|
|
568
|
-
/**
|
|
574
|
+
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
569
575
|
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
570
576
|
/** List DNSZones belonging to a Project. */
|
|
571
577
|
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
@@ -579,8 +585,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
579
585
|
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
580
586
|
/** Get a zone file for a DNSZone. */
|
|
581
587
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
582
|
-
/** Preview a DNS zone-file import for a Project. */
|
|
583
|
-
dnsPreviewProjectDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsPreviewProjectDnsZoneFileImport),
|
|
584
588
|
/** Set a record set on a DNSZone to managed. */
|
|
585
589
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
586
590
|
/** Update a record set on a DNSZone. */
|
|
@@ -106,6 +106,12 @@ export const aiHostingProjectGetDetailedModels = {
|
|
|
106
106
|
method: "GET",
|
|
107
107
|
operationId: "ai-hosting-project-get-detailed-models",
|
|
108
108
|
};
|
|
109
|
+
/** Get ai hosting plan and usages of a project by planId. */
|
|
110
|
+
export const aiHostingProjectGetPlan = {
|
|
111
|
+
path: "/v3-next/projects/{projectId}/ai-hostings/{planId}",
|
|
112
|
+
method: "GET",
|
|
113
|
+
operationId: "ai-hosting-project-get-plan",
|
|
114
|
+
};
|
|
109
115
|
/** Get all ai hosting plans and usages of a project. */
|
|
110
116
|
export const aiHostingProjectGetPlans = {
|
|
111
117
|
path: "/v3-next/projects/{projectId}/ai-hostings",
|
|
@@ -136,6 +142,12 @@ export const appGetApp = {
|
|
|
136
142
|
method: "GET",
|
|
137
143
|
operationId: "app-get-app",
|
|
138
144
|
};
|
|
145
|
+
/** Get an analysis of the error of an AppInstallation. */
|
|
146
|
+
export const appGetAppinstallationErrorAnalysis = {
|
|
147
|
+
path: "/v3-next/app-installations/{appInstallationId}/error-analysis",
|
|
148
|
+
method: "GET",
|
|
149
|
+
operationId: "app-get-appinstallation-error-analysis",
|
|
150
|
+
};
|
|
139
151
|
/** Get an AppInstallation. */
|
|
140
152
|
export const appGetAppinstallation = {
|
|
141
153
|
path: "/v3-next/app-installations/{appInstallationId}",
|
|
@@ -454,6 +466,12 @@ export const containerGetContainerImageConfig = {
|
|
|
454
466
|
method: "GET",
|
|
455
467
|
operationId: "container-get-container-image-config",
|
|
456
468
|
};
|
|
469
|
+
/** Get an analysis of the logs belonging to a Service. */
|
|
470
|
+
export const containerGetServiceLogsAnalysis = {
|
|
471
|
+
path: "/v3-next/stacks/{stackId}/services/{serviceId}/log-analysis",
|
|
472
|
+
method: "GET",
|
|
473
|
+
operationId: "container-get-service-logs-analysis",
|
|
474
|
+
};
|
|
457
475
|
/** Get logs belonging to a Service. */
|
|
458
476
|
export const containerGetServiceLogs = {
|
|
459
477
|
path: "/v3-next/stacks/{stackId}/services/{serviceId}/logs",
|
|
@@ -1042,6 +1060,12 @@ export const customerResendCustomerInviteMail = {
|
|
|
1042
1060
|
method: "POST",
|
|
1043
1061
|
operationId: "customer-resend-customer-invite-mail",
|
|
1044
1062
|
};
|
|
1063
|
+
/** Set how the customer became aware of mittwald. */
|
|
1064
|
+
export const customerSetCustomerReferralSource = {
|
|
1065
|
+
path: "/v3-next/customers/{customerId}/referral-source",
|
|
1066
|
+
method: "PUT",
|
|
1067
|
+
operationId: "customer-set-customer-referral-source",
|
|
1068
|
+
};
|
|
1045
1069
|
/** Copy a MySQLDatabase with a MySQLUser. */
|
|
1046
1070
|
export const databaseCopyMysqlDatabase = {
|
|
1047
1071
|
path: "/v3-next/mysql-databases/{mysqlDatabaseId}/actions/copy",
|
|
@@ -1252,7 +1276,7 @@ export const dnsListDnsZoneFileImports = {
|
|
|
1252
1276
|
method: "GET",
|
|
1253
1277
|
operationId: "dns-list-dns-zone-file-imports",
|
|
1254
1278
|
};
|
|
1255
|
-
/**
|
|
1279
|
+
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
1256
1280
|
export const dnsCreateDnsZoneFileImport = {
|
|
1257
1281
|
path: "/v3-next/projects/{projectId}/dns-zone-imports",
|
|
1258
1282
|
method: "POST",
|
|
@@ -1294,12 +1318,6 @@ export const dnsGetZoneFile = {
|
|
|
1294
1318
|
method: "GET",
|
|
1295
1319
|
operationId: "dns-get-zone-file",
|
|
1296
1320
|
};
|
|
1297
|
-
/** Preview a DNS zone-file import for a Project. */
|
|
1298
|
-
export const dnsPreviewProjectDnsZoneFileImport = {
|
|
1299
|
-
path: "/v3-next/projects/{projectId}/dns-zones/actions/import-preview",
|
|
1300
|
-
method: "POST",
|
|
1301
|
-
operationId: "dns-preview-project-dns-zone-file-import",
|
|
1302
|
-
};
|
|
1303
1321
|
/** Set a record set on a DNSZone to managed. */
|
|
1304
1322
|
export const dnsSetRecordSetManaged = {
|
|
1305
1323
|
path: "/v3-next/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
|
|
@@ -2908,9 +2926,3 @@ export const verificationVerifyCompany = {
|
|
|
2908
2926
|
method: "POST",
|
|
2909
2927
|
operationId: "verification-verify-company",
|
|
2910
2928
|
};
|
|
2911
|
-
/** Get ai hosting plan and usages of a project by planId. */
|
|
2912
|
-
export const aiHostingProjectGetPlan = {
|
|
2913
|
-
path: "/v3-next/projects/{projectId}/ai-hostings/{planId}",
|
|
2914
|
-
method: "GET",
|
|
2915
|
-
operationId: "ai-hosting-project-get-plan",
|
|
2916
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.456.0';
|
|
@@ -10,6 +10,9 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
10
10
|
queryParameters?: {
|
|
11
11
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
12
12
|
planId?: string | undefined;
|
|
13
|
+
limit?: number | undefined;
|
|
14
|
+
skip?: number | undefined;
|
|
15
|
+
page?: number | undefined;
|
|
13
16
|
} | undefined;
|
|
14
17
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
|
|
15
18
|
/** Get all ai hosting plans of a customer. */
|
|
@@ -21,6 +24,9 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
21
24
|
queryParameters?: {
|
|
22
25
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
23
26
|
topUsageCount?: number | undefined;
|
|
27
|
+
limit?: number | undefined;
|
|
28
|
+
skip?: number | undefined;
|
|
29
|
+
page?: number | undefined;
|
|
24
30
|
} | undefined;
|
|
25
31
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
26
32
|
modelTermsApprovalRequired: boolean;
|
|
@@ -97,6 +103,9 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
97
103
|
queryParameters?: {
|
|
98
104
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
99
105
|
planId?: string | undefined;
|
|
106
|
+
limit?: number | undefined;
|
|
107
|
+
skip?: number | undefined;
|
|
108
|
+
page?: number | undefined;
|
|
100
109
|
} | undefined;
|
|
101
110
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingKey[]>;
|
|
102
111
|
/** Get a key of a project. */
|
|
@@ -127,16 +136,6 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
127
136
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
128
137
|
} | undefined;
|
|
129
138
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectDetailedModel[]>;
|
|
130
|
-
/** Get all ai hosting plans and usages of a project. */
|
|
131
|
-
projectGetPlans: (conf: {
|
|
132
|
-
projectId: string;
|
|
133
|
-
headers?: {
|
|
134
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
135
|
-
} | undefined;
|
|
136
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
137
|
-
modelTermsApprovalRequired: boolean;
|
|
138
|
-
plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectPlan[];
|
|
139
|
-
}>;
|
|
140
139
|
/** Get ai hosting plan and usages of a project by planId. */
|
|
141
140
|
projectGetPlan: (conf: {
|
|
142
141
|
projectId: string;
|
|
@@ -152,6 +151,22 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
152
151
|
planId: string;
|
|
153
152
|
projectId: string;
|
|
154
153
|
}>;
|
|
154
|
+
/** Get all ai hosting plans and usages of a project. */
|
|
155
|
+
projectGetPlans: (conf: {
|
|
156
|
+
projectId: string;
|
|
157
|
+
headers?: {
|
|
158
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
159
|
+
} | undefined;
|
|
160
|
+
queryParameters?: {
|
|
161
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
162
|
+
limit?: number | undefined;
|
|
163
|
+
skip?: number | undefined;
|
|
164
|
+
page?: number | undefined;
|
|
165
|
+
} | undefined;
|
|
166
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
167
|
+
modelTermsApprovalRequired: boolean;
|
|
168
|
+
plans: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingProjectPlan[];
|
|
169
|
+
}>;
|
|
155
170
|
};
|
|
156
171
|
declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
157
172
|
/** Get the installed `SystemSoftware' for a specific `AppInstallation`. */
|
|
@@ -179,6 +194,18 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
179
194
|
name: string;
|
|
180
195
|
tags: string[];
|
|
181
196
|
}>;
|
|
197
|
+
/** Get an analysis of the error of an AppInstallation. */
|
|
198
|
+
getAppinstallationErrorAnalysis: (conf: {
|
|
199
|
+
appInstallationId: string;
|
|
200
|
+
headers?: {
|
|
201
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
202
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
203
|
+
"x-access-token"?: string | undefined;
|
|
204
|
+
} | undefined;
|
|
205
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
206
|
+
recommendation?: string | undefined;
|
|
207
|
+
summary: string;
|
|
208
|
+
}>;
|
|
182
209
|
/** Get an AppInstallation. */
|
|
183
210
|
getAppinstallation: (conf: {
|
|
184
211
|
appInstallationId: string;
|
|
@@ -191,6 +218,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
191
218
|
appId: string;
|
|
192
219
|
appName: string;
|
|
193
220
|
appVersion: import("./types.js").MittwaldAPIV2.Components.Schemas.AppVersionStatus;
|
|
221
|
+
autoUpdatesActivated?: boolean | undefined;
|
|
194
222
|
createdAt: string;
|
|
195
223
|
customDocumentRoot?: string | undefined;
|
|
196
224
|
deletionRequested?: boolean | undefined;
|
|
@@ -677,6 +705,19 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
677
705
|
userId: number;
|
|
678
706
|
volumes?: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerContainerImageConfigVolume[] | undefined;
|
|
679
707
|
}>;
|
|
708
|
+
/** Get an analysis of the logs belonging to a Service. */
|
|
709
|
+
getServiceLogsAnalysis: (conf: {
|
|
710
|
+
stackId: string;
|
|
711
|
+
serviceId: string;
|
|
712
|
+
headers?: {
|
|
713
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
714
|
+
"Accept-Language"?: "de" | "en" | undefined;
|
|
715
|
+
"x-access-token"?: string | undefined;
|
|
716
|
+
} | undefined;
|
|
717
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
718
|
+
recommendation?: string | undefined;
|
|
719
|
+
summary: string;
|
|
720
|
+
}>;
|
|
680
721
|
/** Get logs belonging to a Service. */
|
|
681
722
|
getServiceLogs: (conf: {
|
|
682
723
|
stackId: string;
|
|
@@ -1096,9 +1137,13 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1096
1137
|
} | undefined;
|
|
1097
1138
|
queryParameters?: {
|
|
1098
1139
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1140
|
+
search?: string | undefined;
|
|
1141
|
+
baseArticleNames?: string[] | undefined;
|
|
1099
1142
|
limit?: number | undefined;
|
|
1100
1143
|
skip?: number | undefined;
|
|
1101
1144
|
page?: number | undefined;
|
|
1145
|
+
sort?: "description" | "contractNumber" | undefined;
|
|
1146
|
+
order?: "asc" | "desc" | undefined;
|
|
1102
1147
|
} | undefined;
|
|
1103
1148
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContractContract[]>;
|
|
1104
1149
|
/** Get details of an Invoice. */
|
|
@@ -1907,6 +1952,8 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1907
1952
|
} | undefined;
|
|
1908
1953
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
1909
1954
|
message: string;
|
|
1955
|
+
recommendation?: string | undefined;
|
|
1956
|
+
summary: string;
|
|
1910
1957
|
}>;
|
|
1911
1958
|
/** Get a CronjobExecution. */
|
|
1912
1959
|
getExecution: (conf: {
|