@mittwald/api-client 0.0.0-development-3c2e654-20260107 → 0.0.0-development-6a8e041-20260115
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 +11 -11
- package/dist/esm/generated/v2/client.js +17 -17
- package/dist/esm/generated/v2/descriptors.js +20 -20
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +34 -29
- package/dist/types/generated/v2/client.d.ts +272 -253
- package/dist/types/generated/v2/descriptors.d.ts +9 -9
- package/dist/types/generated/v2/types.d.ts +252 -225
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -6,7 +6,7 @@ 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 ai hosting
|
|
9
|
+
/** Get ai hosting plan and usages of a customer. */
|
|
10
10
|
customerGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingCustomerGetUsage, baseClient.aiHosting.customerGetUsage).getApiResource,
|
|
11
11
|
/** Get a list of currently active models. */
|
|
12
12
|
getModels: new ApiCallAsyncResourceFactory(descriptors.aiHostingGetModels, baseClient.aiHosting.getModels).getApiResource,
|
|
@@ -14,7 +14,7 @@ const buildAiHostingApi = (baseClient) => ({
|
|
|
14
14
|
projectGetKeys: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKeys, baseClient.aiHosting.projectGetKeys).getApiResource,
|
|
15
15
|
/** Get a key of a project. */
|
|
16
16
|
projectGetKey: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetKey, baseClient.aiHosting.projectGetKey).getApiResource,
|
|
17
|
-
/** Get ai hosting
|
|
17
|
+
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
18
18
|
projectGetUsage: new ApiCallAsyncResourceFactory(descriptors.aiHostingProjectGetUsage, baseClient.aiHosting.projectGetUsage).getApiResource,
|
|
19
19
|
});
|
|
20
20
|
const buildAppApi = (baseClient) => ({
|
|
@@ -64,10 +64,10 @@ const buildBackupApi = (baseClient) => ({
|
|
|
64
64
|
getProjectBackupSchedule: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupSchedule, baseClient.backup.getProjectBackupSchedule).getApiResource,
|
|
65
65
|
/** Get a ProjectBackup. */
|
|
66
66
|
getProjectBackup: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackup, baseClient.backup.getProjectBackup).getApiResource,
|
|
67
|
-
/** List paths for a ProjectBackup. */
|
|
68
|
-
getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
|
|
69
67
|
/** List database dump's for a ProjectBackup. */
|
|
70
68
|
getProjectBackupDatabaseDumps: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDatabaseDumps, baseClient.backup.getProjectBackupDatabaseDumps).getApiResource,
|
|
69
|
+
/** List paths for a ProjectBackup. */
|
|
70
|
+
getProjectBackupDirectories: new ApiCallAsyncResourceFactory(descriptors.backupGetProjectBackupDirectories, baseClient.backup.getProjectBackupDirectories).getApiResource,
|
|
71
71
|
});
|
|
72
72
|
const buildContainerApi = (baseClient) => ({
|
|
73
73
|
/** List Registries belonging to a Project. */
|
|
@@ -341,6 +341,10 @@ const buildMailApi = (baseClient) => ({
|
|
|
341
341
|
/** List Migrations belonging to a Project in customer center or mStudio. */
|
|
342
342
|
migrationListMigrations: new ApiCallAsyncResourceFactory(descriptors.mailMigrationListMigrations, baseClient.mail.migrationListMigrations).getApiResource,
|
|
343
343
|
});
|
|
344
|
+
const buildMiscApi = (baseClient) => ({
|
|
345
|
+
/** List valid time zones. */
|
|
346
|
+
ellaneousListTimeZones: new ApiCallAsyncResourceFactory(descriptors.miscellaneousListTimeZones, baseClient.misc.ellaneousListTimeZones).getApiResource,
|
|
347
|
+
});
|
|
344
348
|
const buildNotificationApi = (baseClient) => ({
|
|
345
349
|
/** Getting the subscription status of the subscription. */
|
|
346
350
|
newsletterGetInfo: new ApiCallAsyncResourceFactory(descriptors.newsletterGetInfo, baseClient.notification.newsletterGetInfo).getApiResource,
|
|
@@ -443,10 +447,6 @@ const buildSshsftpUserApi = (baseClient) => ({
|
|
|
443
447
|
/** Get an SSHUser. */
|
|
444
448
|
sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
|
|
445
449
|
});
|
|
446
|
-
const buildMiscApi = (baseClient) => ({
|
|
447
|
-
/** List valid time zones. */
|
|
448
|
-
ellaneousListTimeZones: new ApiCallAsyncResourceFactory(descriptors.miscellaneousListTimeZones, baseClient.misc.ellaneousListTimeZones).getApiResource,
|
|
449
|
-
});
|
|
450
450
|
export class MittwaldAPIV2ClientReact {
|
|
451
451
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
452
452
|
aiHosting;
|
|
@@ -478,6 +478,8 @@ export class MittwaldAPIV2ClientReact {
|
|
|
478
478
|
leadFyndr;
|
|
479
479
|
/** The mail API allows you to manage your mail accounts. */
|
|
480
480
|
mail;
|
|
481
|
+
/** API endpoints that are not related to any specific API domain */
|
|
482
|
+
misc;
|
|
481
483
|
/** The notification API allows you to manage your notifications. */
|
|
482
484
|
notification;
|
|
483
485
|
/** The page insights API allows you to get page insights information. */
|
|
@@ -490,8 +492,6 @@ export class MittwaldAPIV2ClientReact {
|
|
|
490
492
|
projectFileSystem;
|
|
491
493
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
492
494
|
sshsftpUser;
|
|
493
|
-
/** API endpoints that are not related to any specific API domain */
|
|
494
|
-
misc;
|
|
495
495
|
constructor(baseClient) {
|
|
496
496
|
this.aiHosting = buildAiHostingApi(baseClient);
|
|
497
497
|
this.app = buildAppApi(baseClient);
|
|
@@ -508,13 +508,13 @@ export class MittwaldAPIV2ClientReact {
|
|
|
508
508
|
this.file = buildFileApi(baseClient);
|
|
509
509
|
this.leadFyndr = buildLeadFyndrApi(baseClient);
|
|
510
510
|
this.mail = buildMailApi(baseClient);
|
|
511
|
+
this.misc = buildMiscApi(baseClient);
|
|
511
512
|
this.notification = buildNotificationApi(baseClient);
|
|
512
513
|
this.pageInsights = buildPageInsightsApi(baseClient);
|
|
513
514
|
this.user = buildUserApi(baseClient);
|
|
514
515
|
this.project = buildProjectApi(baseClient);
|
|
515
516
|
this.projectFileSystem = buildProjectFileSystemApi(baseClient);
|
|
516
517
|
this.sshsftpUser = buildSshsftpUserApi(baseClient);
|
|
517
|
-
this.misc = buildMiscApi(baseClient);
|
|
518
518
|
}
|
|
519
519
|
static fromBaseClient(baseClient) {
|
|
520
520
|
return new MittwaldAPIV2ClientReact(baseClient);
|
|
@@ -16,7 +16,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
16
16
|
customerUpdateKey: this.requestFunctionFactory(descriptors.aiHostingCustomerUpdateKey),
|
|
17
17
|
/** Delete a key for a customer. */
|
|
18
18
|
customerDeleteKey: this.requestFunctionFactory(descriptors.aiHostingCustomerDeleteKey),
|
|
19
|
-
/** Get ai hosting
|
|
19
|
+
/** Get ai hosting plan and usages of a customer. */
|
|
20
20
|
customerGetUsage: this.requestFunctionFactory(descriptors.aiHostingCustomerGetUsage),
|
|
21
21
|
/** Get a list of currently active models. */
|
|
22
22
|
getModels: this.requestFunctionFactory(descriptors.aiHostingGetModels),
|
|
@@ -30,7 +30,7 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
30
30
|
projectUpdateKey: this.requestFunctionFactory(descriptors.aiHostingProjectUpdateKey),
|
|
31
31
|
/** Delete a key for a project. */
|
|
32
32
|
projectDeleteKey: this.requestFunctionFactory(descriptors.aiHostingProjectDeleteKey),
|
|
33
|
-
/** Get ai hosting
|
|
33
|
+
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
34
34
|
projectGetUsage: this.requestFunctionFactory(descriptors.aiHostingProjectGetUsage),
|
|
35
35
|
};
|
|
36
36
|
/** The App API allows you to manage your apps within a project, and all the system softwares that are installed as dependencies. */
|
|
@@ -115,16 +115,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
115
115
|
getProjectBackup: this.requestFunctionFactory(descriptors.backupGetProjectBackup),
|
|
116
116
|
/** Delete a ProjectBackup. */
|
|
117
117
|
deleteProjectBackup: this.requestFunctionFactory(descriptors.backupDeleteProjectBackup),
|
|
118
|
+
/** List database dump's for a ProjectBackup. */
|
|
119
|
+
getProjectBackupDatabaseDumps: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumps),
|
|
118
120
|
/** List paths for a ProjectBackup. */
|
|
119
121
|
getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
|
|
120
122
|
/** Restore a ProjectBackup's path. */
|
|
121
123
|
requestProjectBackupRestorePath: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestorePath),
|
|
122
|
-
/** Change the description of a ProjectBackup. */
|
|
123
|
-
updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
|
|
124
|
-
/** List database dump's for a ProjectBackup. */
|
|
125
|
-
getProjectBackupDatabaseDumps: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumps),
|
|
126
124
|
/** Restore a ProjectBackup. */
|
|
127
125
|
requestProjectBackupRestore: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestore),
|
|
126
|
+
/** Change the description of a ProjectBackup. */
|
|
127
|
+
updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
|
|
128
128
|
};
|
|
129
129
|
/** The container API allows you to manage your stacks, containers, volumes and registries. */
|
|
130
130
|
container = {
|
|
@@ -849,6 +849,17 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
849
849
|
/** Removes a reservation on a unlocked lead for the given customerId. */
|
|
850
850
|
leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
|
|
851
851
|
};
|
|
852
|
+
/** API endpoints that are not related to any specific API domain */
|
|
853
|
+
misc = {
|
|
854
|
+
/** List valid time zones. */
|
|
855
|
+
ellaneousListTimeZones: this.requestFunctionFactory(descriptors.miscellaneousListTimeZones),
|
|
856
|
+
/** Check if an email is from mittwald. */
|
|
857
|
+
verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
|
|
858
|
+
/** Check if an address exists. */
|
|
859
|
+
verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
|
|
860
|
+
/** Check if a company exists. */
|
|
861
|
+
verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
|
|
862
|
+
};
|
|
852
863
|
/** The page insights API allows you to get page insights information. */
|
|
853
864
|
pageInsights = {
|
|
854
865
|
/** Get detailed performance data for a given domain and path. */
|
|
@@ -968,16 +979,5 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
968
979
|
/** Update an SSHUser. */
|
|
969
980
|
sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
|
|
970
981
|
};
|
|
971
|
-
/** API endpoints that are not related to any specific API domain */
|
|
972
|
-
misc = {
|
|
973
|
-
/** Check if an email is from mittwald. */
|
|
974
|
-
verificationDetectPhishingEmail: this.requestFunctionFactory(descriptors.verificationDetectPhishingEmail),
|
|
975
|
-
/** Check if an address exists. */
|
|
976
|
-
verificationVerifyAddress: this.requestFunctionFactory(descriptors.verificationVerifyAddress),
|
|
977
|
-
/** Check if a company exists. */
|
|
978
|
-
verificationVerifyCompany: this.requestFunctionFactory(descriptors.verificationVerifyCompany),
|
|
979
|
-
/** List valid time zones. */
|
|
980
|
-
ellaneousListTimeZones: this.requestFunctionFactory(descriptors.miscellaneousListTimeZones),
|
|
981
|
-
};
|
|
982
982
|
}
|
|
983
983
|
export default MittwaldAPIV2Client;
|
|
@@ -28,7 +28,7 @@ export const aiHostingCustomerDeleteKey = {
|
|
|
28
28
|
method: "DELETE",
|
|
29
29
|
operationId: "ai-hosting-customer-delete-key",
|
|
30
30
|
};
|
|
31
|
-
/** Get ai hosting
|
|
31
|
+
/** Get ai hosting plan and usages of a customer. */
|
|
32
32
|
export const aiHostingCustomerGetUsage = {
|
|
33
33
|
path: "/v2/customers/{customerId}/ai-hosting",
|
|
34
34
|
method: "GET",
|
|
@@ -70,7 +70,7 @@ export const aiHostingProjectDeleteKey = {
|
|
|
70
70
|
method: "DELETE",
|
|
71
71
|
operationId: "ai-hosting-project-delete-key",
|
|
72
72
|
};
|
|
73
|
-
/** Get ai hosting
|
|
73
|
+
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
74
74
|
export const aiHostingProjectGetUsage = {
|
|
75
75
|
path: "/v2/projects/{projectId}/ai-hosting",
|
|
76
76
|
method: "GET",
|
|
@@ -298,6 +298,12 @@ export const backupDeleteProjectBackup = {
|
|
|
298
298
|
method: "DELETE",
|
|
299
299
|
operationId: "backup-delete-project-backup",
|
|
300
300
|
};
|
|
301
|
+
/** List database dump's for a ProjectBackup. */
|
|
302
|
+
export const backupGetProjectBackupDatabaseDumps = {
|
|
303
|
+
path: "/v2/project-backups/{projectBackupId}/database-dumps",
|
|
304
|
+
method: "GET",
|
|
305
|
+
operationId: "backup-get-project-backup-database-dumps",
|
|
306
|
+
};
|
|
301
307
|
/** List paths for a ProjectBackup. */
|
|
302
308
|
export const backupGetProjectBackupDirectories = {
|
|
303
309
|
path: "/v2/project-backups/{projectBackupId}/path",
|
|
@@ -310,6 +316,12 @@ export const backupRequestProjectBackupRestorePath = {
|
|
|
310
316
|
method: "POST",
|
|
311
317
|
operationId: "backup-request-project-backup-restore-path",
|
|
312
318
|
};
|
|
319
|
+
/** Restore a ProjectBackup. */
|
|
320
|
+
export const backupRequestProjectBackupRestore = {
|
|
321
|
+
path: "/v2/project-backups/{projectBackupId}/restore",
|
|
322
|
+
method: "POST",
|
|
323
|
+
operationId: "backup-request-project-backup-restore",
|
|
324
|
+
};
|
|
313
325
|
/** Change the description of a ProjectBackup. */
|
|
314
326
|
export const backupUpdateProjectBackupDescription = {
|
|
315
327
|
path: "/v2/project-backups/{projectBackupId}/description",
|
|
@@ -1930,6 +1942,12 @@ export const marketplaceCustomerUpdatePaymentMethod = {
|
|
|
1930
1942
|
method: "PUT",
|
|
1931
1943
|
operationId: "marketplace-customer-update-payment-method",
|
|
1932
1944
|
};
|
|
1945
|
+
/** List valid time zones. */
|
|
1946
|
+
export const miscellaneousListTimeZones = {
|
|
1947
|
+
path: "/v2/time-zones",
|
|
1948
|
+
method: "GET",
|
|
1949
|
+
operationId: "miscellaneous-list-time-zones",
|
|
1950
|
+
};
|
|
1933
1951
|
/** Getting the subscription status of the subscription. */
|
|
1934
1952
|
export const newsletterGetInfo = {
|
|
1935
1953
|
path: "/v2/newsletter-subscriptions/self",
|
|
@@ -2722,21 +2740,3 @@ export const verificationVerifyCompany = {
|
|
|
2722
2740
|
method: "POST",
|
|
2723
2741
|
operationId: "verification-verify-company",
|
|
2724
2742
|
};
|
|
2725
|
-
/** List valid time zones. */
|
|
2726
|
-
export const miscellaneousListTimeZones = {
|
|
2727
|
-
path: "/v2/time-zones",
|
|
2728
|
-
method: "GET",
|
|
2729
|
-
operationId: "miscellaneous-list-time-zones",
|
|
2730
|
-
};
|
|
2731
|
-
/** List database dump's for a ProjectBackup. */
|
|
2732
|
-
export const backupGetProjectBackupDatabaseDumps = {
|
|
2733
|
-
path: "/v2/project-backups/{projectBackupId}/database-dumps",
|
|
2734
|
-
method: "GET",
|
|
2735
|
-
operationId: "backup-get-project-backup-database-dumps",
|
|
2736
|
-
};
|
|
2737
|
-
/** Restore a ProjectBackup. */
|
|
2738
|
-
export const backupRequestProjectBackupRestore = {
|
|
2739
|
-
path: "/v2/project-backups/{projectBackupId}/restore",
|
|
2740
|
-
method: "POST",
|
|
2741
|
-
operationId: "backup-request-project-backup-restore",
|
|
2742
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.282.0';
|
|
@@ -27,7 +27,7 @@ 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 ai hosting
|
|
30
|
+
/** Get ai hosting plan and usages of a customer. */
|
|
31
31
|
customerGetUsage: (conf: {
|
|
32
32
|
customerId: string;
|
|
33
33
|
headers?: {
|
|
@@ -40,10 +40,10 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
40
40
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
41
41
|
customerId: string;
|
|
42
42
|
deletedAt?: string | undefined;
|
|
43
|
-
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.
|
|
43
|
+
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
44
44
|
nextTokenReset: string;
|
|
45
45
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
46
|
-
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.
|
|
46
|
+
tokens: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsageBig;
|
|
47
47
|
topUsages?: {
|
|
48
48
|
keyId?: string;
|
|
49
49
|
name: string;
|
|
@@ -83,14 +83,14 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
83
83
|
rateLimit: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingRateLimit;
|
|
84
84
|
tokenUsage: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingTokenUsage;
|
|
85
85
|
}>;
|
|
86
|
-
/** Get ai hosting
|
|
86
|
+
/** Get ai hosting plan and usages of a project. Same as the customer route, but less details. */
|
|
87
87
|
projectGetUsage: (conf: {
|
|
88
88
|
projectId: string;
|
|
89
89
|
headers?: {
|
|
90
90
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
91
91
|
} | undefined;
|
|
92
92
|
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
93
|
-
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.
|
|
93
|
+
keys: import("./types.js").MittwaldAPIV2.Components.Schemas.AihostingPlanUsage;
|
|
94
94
|
nextTokenReset?: string | undefined;
|
|
95
95
|
projectId: string;
|
|
96
96
|
}>;
|
|
@@ -354,7 +354,7 @@ declare const buildArticleApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
354
354
|
} | undefined;
|
|
355
355
|
modifierArticles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
|
|
356
356
|
name: string;
|
|
357
|
-
orderable: "
|
|
357
|
+
orderable: "full" | "forbidden" | "internal" | "beta_testing" | "deprecated";
|
|
358
358
|
possibleArticleChanges?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[] | undefined;
|
|
359
359
|
price?: number | undefined;
|
|
360
360
|
tags?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleArticleTag[] | undefined;
|
|
@@ -444,6 +444,16 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
444
444
|
restorePath?: import("./types.js").MittwaldAPIV2.Components.Schemas.BackupProjectBackupRestorePathDeprecated | undefined;
|
|
445
445
|
status: string;
|
|
446
446
|
}>;
|
|
447
|
+
/** List database dump's for a ProjectBackup. */
|
|
448
|
+
getProjectBackupDatabaseDumps: (conf: {
|
|
449
|
+
projectBackupId: string;
|
|
450
|
+
headers?: {
|
|
451
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
452
|
+
"x-access-token"?: string | undefined;
|
|
453
|
+
} | undefined;
|
|
454
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
455
|
+
databases: string[];
|
|
456
|
+
}>;
|
|
447
457
|
/** List paths for a ProjectBackup. */
|
|
448
458
|
getProjectBackupDirectories: (conf: {
|
|
449
459
|
projectBackupId: string;
|
|
@@ -466,16 +476,6 @@ declare const buildBackupApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
466
476
|
size: number;
|
|
467
477
|
target?: string | undefined;
|
|
468
478
|
}>;
|
|
469
|
-
/** List database dump's for a ProjectBackup. */
|
|
470
|
-
getProjectBackupDatabaseDumps: (conf: {
|
|
471
|
-
projectBackupId: string;
|
|
472
|
-
headers?: {
|
|
473
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
474
|
-
"x-access-token"?: string | undefined;
|
|
475
|
-
} | undefined;
|
|
476
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
477
|
-
databases: string[];
|
|
478
|
-
}>;
|
|
479
479
|
};
|
|
480
480
|
declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
481
481
|
/** List Registries belonging to a Project. */
|
|
@@ -1441,7 +1441,12 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1441
1441
|
} | undefined;
|
|
1442
1442
|
queryParameters?: {
|
|
1443
1443
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1444
|
-
|
|
1444
|
+
fullTextSearch?: string | undefined;
|
|
1445
|
+
status?: ("open" | "closed")[] | undefined;
|
|
1446
|
+
limit?: number | undefined;
|
|
1447
|
+
skip?: number | undefined;
|
|
1448
|
+
page?: number | undefined;
|
|
1449
|
+
sort?: ("createdAt" | "lastMessage.createdAt" | "title" | "shortId" | "conversationId")[] | undefined;
|
|
1445
1450
|
order?: ("asc" | "desc")[] | undefined;
|
|
1446
1451
|
} | undefined;
|
|
1447
1452
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationConversation[]>;
|
|
@@ -1624,7 +1629,7 @@ declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1624
1629
|
id: string;
|
|
1625
1630
|
logPath?: string | undefined;
|
|
1626
1631
|
start?: string | undefined;
|
|
1627
|
-
status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut"
|
|
1632
|
+
status: "Complete" | "Failed" | "AbortedBySystem" | "Pending" | "Running" | "AbortedByUser" | "TimedOut";
|
|
1628
1633
|
successful: boolean;
|
|
1629
1634
|
triggeredBy?: {
|
|
1630
1635
|
id?: string;
|
|
@@ -2671,6 +2676,15 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2671
2676
|
} | undefined;
|
|
2672
2677
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailmigrationMigration[]>;
|
|
2673
2678
|
};
|
|
2679
|
+
declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2680
|
+
/** List valid time zones. */
|
|
2681
|
+
ellaneousListTimeZones: (conf?: {
|
|
2682
|
+
headers?: {
|
|
2683
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2684
|
+
"x-access-token"?: string | undefined;
|
|
2685
|
+
} | undefined;
|
|
2686
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
|
|
2687
|
+
};
|
|
2674
2688
|
declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2675
2689
|
/** Getting the subscription status of the subscription. */
|
|
2676
2690
|
newsletterGetInfo: (conf?: {
|
|
@@ -3450,15 +3464,6 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3450
3464
|
userName: string;
|
|
3451
3465
|
}>;
|
|
3452
3466
|
};
|
|
3453
|
-
declare const buildMiscApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3454
|
-
/** List valid time zones. */
|
|
3455
|
-
ellaneousListTimeZones: (conf?: {
|
|
3456
|
-
headers?: {
|
|
3457
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3458
|
-
"x-access-token"?: string | undefined;
|
|
3459
|
-
} | undefined;
|
|
3460
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<string[]>;
|
|
3461
|
-
};
|
|
3462
3467
|
export declare class MittwaldAPIV2ClientReact {
|
|
3463
3468
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
3464
3469
|
readonly aiHosting: ReturnType<typeof buildAiHostingApi>;
|
|
@@ -3490,6 +3495,8 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
3490
3495
|
readonly leadFyndr: ReturnType<typeof buildLeadFyndrApi>;
|
|
3491
3496
|
/** The mail API allows you to manage your mail accounts. */
|
|
3492
3497
|
readonly mail: ReturnType<typeof buildMailApi>;
|
|
3498
|
+
/** API endpoints that are not related to any specific API domain */
|
|
3499
|
+
readonly misc: ReturnType<typeof buildMiscApi>;
|
|
3493
3500
|
/** The notification API allows you to manage your notifications. */
|
|
3494
3501
|
readonly notification: ReturnType<typeof buildNotificationApi>;
|
|
3495
3502
|
/** The page insights API allows you to get page insights information. */
|
|
@@ -3502,8 +3509,6 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
3502
3509
|
readonly projectFileSystem: ReturnType<typeof buildProjectFileSystemApi>;
|
|
3503
3510
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
3504
3511
|
readonly sshsftpUser: ReturnType<typeof buildSshsftpUserApi>;
|
|
3505
|
-
/** API endpoints that are not related to any specific API domain */
|
|
3506
|
-
readonly misc: ReturnType<typeof buildMiscApi>;
|
|
3507
3512
|
private constructor();
|
|
3508
3513
|
static fromBaseClient(baseClient: MittwaldAPIV2Client): MittwaldAPIV2ClientReact;
|
|
3509
3514
|
}
|