@mittwald/api-client 4.326.0 → 4.327.0
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 +42 -42
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +48 -48
- package/dist/types/generated/v2/client.d.ts +614 -614
- package/dist/types/generated/v2/descriptors.d.ts +14 -14
- package/dist/types/generated/v2/types.d.ts +990 -990
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -84,8 +84,6 @@ const buildContainerApi = (baseClient) => ({
|
|
|
84
84
|
getServiceLogs: new ApiCallAsyncResourceFactory(descriptors.containerGetServiceLogs, baseClient.container.getServiceLogs).getApiResource,
|
|
85
85
|
/** Get a Service belonging to a Stack. */
|
|
86
86
|
getService: new ApiCallAsyncResourceFactory(descriptors.containerGetService, baseClient.container.getService).getApiResource,
|
|
87
|
-
/** List Stacks belonging to the executing user. */
|
|
88
|
-
listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
|
|
89
87
|
/** List Services belonging to a Project. */
|
|
90
88
|
listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
|
|
91
89
|
/** List Volumes belonging to a Stack. */
|
|
@@ -94,6 +92,8 @@ const buildContainerApi = (baseClient) => ({
|
|
|
94
92
|
listStacks: new ApiCallAsyncResourceFactory(descriptors.containerListStacks, baseClient.container.listStacks).getApiResource,
|
|
95
93
|
/** List Volumes belonging to a Project. */
|
|
96
94
|
listVolumes: new ApiCallAsyncResourceFactory(descriptors.containerListVolumes, baseClient.container.listVolumes).getApiResource,
|
|
95
|
+
/** List Stacks belonging to the executing user. */
|
|
96
|
+
listSelfStacks: new ApiCallAsyncResourceFactory(descriptors.containerListSelfStacks, baseClient.container.listSelfStacks).getApiResource,
|
|
97
97
|
});
|
|
98
98
|
const buildContractApi = (baseClient) => ({
|
|
99
99
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -327,12 +327,6 @@ const buildLeadFyndrApi = (baseClient) => ({
|
|
|
327
327
|
/** Get all unlocked leads. Organisation can unlock leads. */
|
|
328
328
|
leadfyndrListUnlockedLeads: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListUnlockedLeads, baseClient.leadFyndr.leadfyndrListUnlockedLeads).getApiResource,
|
|
329
329
|
});
|
|
330
|
-
const buildLicenseApi = (baseClient) => ({
|
|
331
|
-
/** Get a license. */
|
|
332
|
-
getLicense: new ApiCallAsyncResourceFactory(descriptors.licenseGetLicense, baseClient.license.getLicense).getApiResource,
|
|
333
|
-
/** List Licenses belonging to a Project. */
|
|
334
|
-
listLicensesForProject: new ApiCallAsyncResourceFactory(descriptors.licenseListLicensesForProject, baseClient.license.listLicensesForProject).getApiResource,
|
|
335
|
-
});
|
|
336
330
|
const buildMailApi = (baseClient) => ({
|
|
337
331
|
/** List DeliveryBoxes belonging to a Project. */
|
|
338
332
|
listDeliveryBoxes: new ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
|
|
@@ -455,6 +449,12 @@ const buildSshsftpUserApi = (baseClient) => ({
|
|
|
455
449
|
/** Get an SSHUser. */
|
|
456
450
|
sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
|
|
457
451
|
});
|
|
452
|
+
const buildLicenseApi = (baseClient) => ({
|
|
453
|
+
/** Get a license. */
|
|
454
|
+
getLicense: new ApiCallAsyncResourceFactory(descriptors.licenseGetLicense, baseClient.license.getLicense).getApiResource,
|
|
455
|
+
/** List Licenses belonging to a Project. */
|
|
456
|
+
listLicensesForProject: new ApiCallAsyncResourceFactory(descriptors.licenseListLicensesForProject, baseClient.license.listLicensesForProject).getApiResource,
|
|
457
|
+
});
|
|
458
458
|
export class MittwaldAPIV2ClientReact {
|
|
459
459
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
460
460
|
aiHosting;
|
|
@@ -484,8 +484,6 @@ export class MittwaldAPIV2ClientReact {
|
|
|
484
484
|
file;
|
|
485
485
|
/** The lead fyndr api allow you to manage you leads and your fyndr profile. */
|
|
486
486
|
leadFyndr;
|
|
487
|
-
/** The license API allows you to manage your paid licenses. */
|
|
488
|
-
license;
|
|
489
487
|
/** The mail API allows you to manage your mail accounts. */
|
|
490
488
|
mail;
|
|
491
489
|
/** API endpoints that are not related to any specific API domain */
|
|
@@ -502,6 +500,8 @@ export class MittwaldAPIV2ClientReact {
|
|
|
502
500
|
projectFileSystem;
|
|
503
501
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
504
502
|
sshsftpUser;
|
|
503
|
+
/** The license API allows you to manage your paid licenses. */
|
|
504
|
+
license;
|
|
505
505
|
constructor(baseClient) {
|
|
506
506
|
this.aiHosting = buildAiHostingApi(baseClient);
|
|
507
507
|
this.app = buildAppApi(baseClient);
|
|
@@ -517,7 +517,6 @@ export class MittwaldAPIV2ClientReact {
|
|
|
517
517
|
this.domain = buildDomainApi(baseClient);
|
|
518
518
|
this.file = buildFileApi(baseClient);
|
|
519
519
|
this.leadFyndr = buildLeadFyndrApi(baseClient);
|
|
520
|
-
this.license = buildLicenseApi(baseClient);
|
|
521
520
|
this.mail = buildMailApi(baseClient);
|
|
522
521
|
this.misc = buildMiscApi(baseClient);
|
|
523
522
|
this.notification = buildNotificationApi(baseClient);
|
|
@@ -526,6 +525,7 @@ export class MittwaldAPIV2ClientReact {
|
|
|
526
525
|
this.project = buildProjectApi(baseClient);
|
|
527
526
|
this.projectFileSystem = buildProjectFileSystemApi(baseClient);
|
|
528
527
|
this.sshsftpUser = buildSshsftpUserApi(baseClient);
|
|
528
|
+
this.license = buildLicenseApi(baseClient);
|
|
529
529
|
}
|
|
530
530
|
static fromBaseClient(baseClient) {
|
|
531
531
|
return new MittwaldAPIV2ClientReact(baseClient);
|
|
@@ -119,12 +119,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
119
119
|
getProjectBackupDatabaseDumpsV2Experimental: this.requestFunctionFactory(descriptors.backupGetProjectBackupDatabaseDumpsV2Experimental),
|
|
120
120
|
/** List paths for a ProjectBackup. */
|
|
121
121
|
getProjectBackupDirectories: this.requestFunctionFactory(descriptors.backupGetProjectBackupDirectories),
|
|
122
|
-
/** Update a Backup's expiration time. */
|
|
123
|
-
replaceProjectBackupExpirationTime: this.requestFunctionFactory(descriptors.backupReplaceProjectBackupExpirationTime),
|
|
124
122
|
/** Restore a ProjectBackup. */
|
|
125
123
|
requestProjectBackupRestoreV2Experimental: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestoreV2Experimental),
|
|
126
124
|
/** Change the description of a ProjectBackup. */
|
|
127
125
|
updateProjectBackupDescription: this.requestFunctionFactory(descriptors.backupUpdateProjectBackupDescription),
|
|
126
|
+
/** Update a Backup's expiration time. */
|
|
127
|
+
replaceProjectBackupExpirationTime: this.requestFunctionFactory(descriptors.backupReplaceProjectBackupExpirationTime),
|
|
128
128
|
};
|
|
129
129
|
/** The container API allows you to manage your stacks, containers, volumes and registries. */
|
|
130
130
|
container = {
|
|
@@ -154,8 +154,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
154
154
|
getServiceLogs: this.requestFunctionFactory(descriptors.containerGetServiceLogs),
|
|
155
155
|
/** Get a Service belonging to a Stack. */
|
|
156
156
|
getService: this.requestFunctionFactory(descriptors.containerGetService),
|
|
157
|
-
/** List Stacks belonging to the executing user. */
|
|
158
|
-
listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
|
|
159
157
|
/** List Services belonging to a Project. */
|
|
160
158
|
listServices: this.requestFunctionFactory(descriptors.containerListServices),
|
|
161
159
|
/** List Volumes belonging to a Stack. */
|
|
@@ -170,8 +168,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
170
168
|
recreateService: this.requestFunctionFactory(descriptors.containerRecreateService),
|
|
171
169
|
/** Restart a started Service. */
|
|
172
170
|
restartService: this.requestFunctionFactory(descriptors.containerRestartService),
|
|
173
|
-
/** Set an update schedule for a Stack. */
|
|
174
|
-
setStackUpdateSchedule: this.requestFunctionFactory(descriptors.containerSetStackUpdateSchedule),
|
|
175
171
|
/** Start a stopped Service. */
|
|
176
172
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
177
173
|
/** Stop a started Service. */
|
|
@@ -180,6 +176,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
180
176
|
validateContainerRegistryUri: this.requestFunctionFactory(descriptors.containerValidateContainerRegistryUri),
|
|
181
177
|
/** Validate a Registries' credentials. */
|
|
182
178
|
validateRegistryCredentials: this.requestFunctionFactory(descriptors.containerValidateRegistryCredentials),
|
|
179
|
+
/** Set an update schedule for a Stack. */
|
|
180
|
+
setStackUpdateSchedule: this.requestFunctionFactory(descriptors.containerSetStackUpdateSchedule),
|
|
181
|
+
/** List Stacks belonging to the executing user. */
|
|
182
|
+
listSelfStacks: this.requestFunctionFactory(descriptors.containerListSelfStacks),
|
|
183
183
|
};
|
|
184
184
|
/** The contract API allows you to manage your contracts and orders */
|
|
185
185
|
contract = {
|
|
@@ -847,17 +847,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
847
847
|
/** Removes a reservation on a unlocked lead for the given customerId. */
|
|
848
848
|
leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
|
|
849
849
|
};
|
|
850
|
-
/** The license API allows you to manage your paid licenses. */
|
|
851
|
-
license = {
|
|
852
|
-
/** Get a license. */
|
|
853
|
-
getLicense: this.requestFunctionFactory(descriptors.licenseGetLicense),
|
|
854
|
-
/** List Licenses belonging to a Project. */
|
|
855
|
-
listLicensesForProject: this.requestFunctionFactory(descriptors.licenseListLicensesForProject),
|
|
856
|
-
/** rotate a License's key, i.e. revoke the old and generate a new one. */
|
|
857
|
-
rotateLicenseKey: this.requestFunctionFactory(descriptors.licenseRotateLicenseKey),
|
|
858
|
-
/** Validate a License's key for a project. */
|
|
859
|
-
validateLicenseKeyForProject: this.requestFunctionFactory(descriptors.licenseValidateLicenseKeyForProject),
|
|
860
|
-
};
|
|
861
850
|
/** API endpoints that are not related to any specific API domain */
|
|
862
851
|
misc = {
|
|
863
852
|
/** List valid time zones. */
|
|
@@ -990,5 +979,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
990
979
|
/** Update an SSHUser. */
|
|
991
980
|
sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
|
|
992
981
|
};
|
|
982
|
+
/** The license API allows you to manage your paid licenses. */
|
|
983
|
+
license = {
|
|
984
|
+
/** Get a license. */
|
|
985
|
+
getLicense: this.requestFunctionFactory(descriptors.licenseGetLicense),
|
|
986
|
+
/** List Licenses belonging to a Project. */
|
|
987
|
+
listLicensesForProject: this.requestFunctionFactory(descriptors.licenseListLicensesForProject),
|
|
988
|
+
/** rotate a License's key, i.e. revoke the old and generate a new one. */
|
|
989
|
+
rotateLicenseKey: this.requestFunctionFactory(descriptors.licenseRotateLicenseKey),
|
|
990
|
+
/** Validate a License's key for a project. */
|
|
991
|
+
validateLicenseKeyForProject: this.requestFunctionFactory(descriptors.licenseValidateLicenseKeyForProject),
|
|
992
|
+
};
|
|
993
993
|
}
|
|
994
994
|
export default MittwaldAPIV2Client;
|
|
@@ -310,12 +310,6 @@ export const backupGetProjectBackupDirectories = {
|
|
|
310
310
|
method: "GET",
|
|
311
311
|
operationId: "backup-get-project-backup-directories",
|
|
312
312
|
};
|
|
313
|
-
/** Update a Backup's expiration time. */
|
|
314
|
-
export const backupReplaceProjectBackupExpirationTime = {
|
|
315
|
-
path: "/v2/project-backups/{projectBackupId}/expiration-time",
|
|
316
|
-
method: "PUT",
|
|
317
|
-
operationId: "backup-replace-project-backup-expiration-time",
|
|
318
|
-
};
|
|
319
313
|
/** Restore a ProjectBackup. */
|
|
320
314
|
export const backupRequestProjectBackupRestoreV2Experimental = {
|
|
321
315
|
path: "/v2/project-backups/{projectBackupId}/restore",
|
|
@@ -406,12 +400,6 @@ export const containerGetService = {
|
|
|
406
400
|
method: "GET",
|
|
407
401
|
operationId: "container-get-service",
|
|
408
402
|
};
|
|
409
|
-
/** List Stacks belonging to the executing user. */
|
|
410
|
-
export const containerListSelfStacks = {
|
|
411
|
-
path: "/v2/stacks",
|
|
412
|
-
method: "GET",
|
|
413
|
-
operationId: "container-list-self-stacks",
|
|
414
|
-
};
|
|
415
403
|
/** List Services belonging to a Project. */
|
|
416
404
|
export const containerListServices = {
|
|
417
405
|
path: "/v2/projects/{projectId}/services",
|
|
@@ -454,12 +442,6 @@ export const containerRestartService = {
|
|
|
454
442
|
method: "POST",
|
|
455
443
|
operationId: "container-restart-service",
|
|
456
444
|
};
|
|
457
|
-
/** Set an update schedule for a Stack. */
|
|
458
|
-
export const containerSetStackUpdateSchedule = {
|
|
459
|
-
path: "/v2/stacks/{stackId}/update-schedule",
|
|
460
|
-
method: "PUT",
|
|
461
|
-
operationId: "container-set-stack-update-schedule",
|
|
462
|
-
};
|
|
463
445
|
/** Start a stopped Service. */
|
|
464
446
|
export const containerStartService = {
|
|
465
447
|
path: "/v2/stacks/{stackId}/services/{serviceId}/actions/start",
|
|
@@ -1804,30 +1786,6 @@ export const leadfyndrRemoveUnlockedLeadReservation = {
|
|
|
1804
1786
|
method: "DELETE",
|
|
1805
1787
|
operationId: "leadfyndr-remove-unlocked-lead-reservation",
|
|
1806
1788
|
};
|
|
1807
|
-
/** Get a license. */
|
|
1808
|
-
export const licenseGetLicense = {
|
|
1809
|
-
path: "/v2/licenses/{licenseId}",
|
|
1810
|
-
method: "GET",
|
|
1811
|
-
operationId: "license-get-license",
|
|
1812
|
-
};
|
|
1813
|
-
/** List Licenses belonging to a Project. */
|
|
1814
|
-
export const licenseListLicensesForProject = {
|
|
1815
|
-
path: "/v2/projects/{projectId}/licenses",
|
|
1816
|
-
method: "GET",
|
|
1817
|
-
operationId: "license-list-licenses-for-project",
|
|
1818
|
-
};
|
|
1819
|
-
/** rotate a License's key, i.e. revoke the old and generate a new one. */
|
|
1820
|
-
export const licenseRotateLicenseKey = {
|
|
1821
|
-
path: "/v2/licenses/{licenseId}/actions/rotate-key",
|
|
1822
|
-
method: "POST",
|
|
1823
|
-
operationId: "license-rotate-license-key",
|
|
1824
|
-
};
|
|
1825
|
-
/** Validate a License's key for a project. */
|
|
1826
|
-
export const licenseValidateLicenseKeyForProject = {
|
|
1827
|
-
path: "/v2/projects/{projectId}/actions/validate-license-key",
|
|
1828
|
-
method: "POST",
|
|
1829
|
-
operationId: "license-validate-license-key-for-project",
|
|
1830
|
-
};
|
|
1831
1789
|
/** List DeliveryBoxes belonging to a Project. */
|
|
1832
1790
|
export const mailListDeliveryBoxes = {
|
|
1833
1791
|
path: "/v2/projects/{projectId}/delivery-boxes",
|
|
@@ -2740,3 +2698,45 @@ export const verificationVerifyCompany = {
|
|
|
2740
2698
|
method: "POST",
|
|
2741
2699
|
operationId: "verification-verify-company",
|
|
2742
2700
|
};
|
|
2701
|
+
/** Get a license. */
|
|
2702
|
+
export const licenseGetLicense = {
|
|
2703
|
+
path: "/v2/licenses/{licenseId}",
|
|
2704
|
+
method: "GET",
|
|
2705
|
+
operationId: "license-get-license",
|
|
2706
|
+
};
|
|
2707
|
+
/** List Licenses belonging to a Project. */
|
|
2708
|
+
export const licenseListLicensesForProject = {
|
|
2709
|
+
path: "/v2/projects/{projectId}/licenses",
|
|
2710
|
+
method: "GET",
|
|
2711
|
+
operationId: "license-list-licenses-for-project",
|
|
2712
|
+
};
|
|
2713
|
+
/** rotate a License's key, i.e. revoke the old and generate a new one. */
|
|
2714
|
+
export const licenseRotateLicenseKey = {
|
|
2715
|
+
path: "/v2/licenses/{licenseId}/actions/rotate-key",
|
|
2716
|
+
method: "POST",
|
|
2717
|
+
operationId: "license-rotate-license-key",
|
|
2718
|
+
};
|
|
2719
|
+
/** Validate a License's key for a project. */
|
|
2720
|
+
export const licenseValidateLicenseKeyForProject = {
|
|
2721
|
+
path: "/v2/projects/{projectId}/actions/validate-license-key",
|
|
2722
|
+
method: "POST",
|
|
2723
|
+
operationId: "license-validate-license-key-for-project",
|
|
2724
|
+
};
|
|
2725
|
+
/** Set an update schedule for a Stack. */
|
|
2726
|
+
export const containerSetStackUpdateSchedule = {
|
|
2727
|
+
path: "/v2/stacks/{stackId}/update-schedule",
|
|
2728
|
+
method: "PUT",
|
|
2729
|
+
operationId: "container-set-stack-update-schedule",
|
|
2730
|
+
};
|
|
2731
|
+
/** List Stacks belonging to the executing user. */
|
|
2732
|
+
export const containerListSelfStacks = {
|
|
2733
|
+
path: "/v2/stacks",
|
|
2734
|
+
method: "GET",
|
|
2735
|
+
operationId: "container-list-self-stacks",
|
|
2736
|
+
};
|
|
2737
|
+
/** Update a Backup's expiration time. */
|
|
2738
|
+
export const backupReplaceProjectBackupExpirationTime = {
|
|
2739
|
+
path: "/v2/project-backups/{projectBackupId}/expiration-time",
|
|
2740
|
+
method: "PUT",
|
|
2741
|
+
operationId: "backup-replace-project-backup-expiration-time",
|
|
2742
|
+
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.326.0';
|
|
@@ -609,19 +609,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
609
609
|
status: import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerServiceStatus;
|
|
610
610
|
statusSetAt: string;
|
|
611
611
|
}>;
|
|
612
|
-
/** List Stacks belonging to the executing user. */
|
|
613
|
-
listSelfStacks: (conf?: {
|
|
614
|
-
headers?: {
|
|
615
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
616
|
-
"x-access-token"?: string | undefined;
|
|
617
|
-
} | undefined;
|
|
618
|
-
queryParameters?: {
|
|
619
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
620
|
-
limit?: number | undefined;
|
|
621
|
-
skip?: number | undefined;
|
|
622
|
-
page?: number | undefined;
|
|
623
|
-
} | undefined;
|
|
624
|
-
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[]>;
|
|
625
612
|
/** List Services belonging to a Project. */
|
|
626
613
|
listServices: (conf: {
|
|
627
614
|
projectId: string;
|
|
@@ -688,6 +675,19 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
688
675
|
page?: number | undefined;
|
|
689
676
|
} | undefined;
|
|
690
677
|
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerVolumeResponse[]>;
|
|
678
|
+
/** List Stacks belonging to the executing user. */
|
|
679
|
+
listSelfStacks: (conf?: {
|
|
680
|
+
headers?: {
|
|
681
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
682
|
+
"x-access-token"?: string | undefined;
|
|
683
|
+
} | undefined;
|
|
684
|
+
queryParameters?: {
|
|
685
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
686
|
+
limit?: number | undefined;
|
|
687
|
+
skip?: number | undefined;
|
|
688
|
+
page?: number | undefined;
|
|
689
|
+
} | undefined;
|
|
690
|
+
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ContainerStackResponse[]>;
|
|
691
691
|
};
|
|
692
692
|
declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
693
693
|
/** Return the BaseItem of the Contract with the given ID. */
|
|
@@ -2555,39 +2555,6 @@ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2555
2555
|
totalCount: number;
|
|
2556
2556
|
}>;
|
|
2557
2557
|
};
|
|
2558
|
-
declare const buildLicenseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2559
|
-
/** Get a license. */
|
|
2560
|
-
getLicense: (conf: {
|
|
2561
|
-
licenseId: string;
|
|
2562
|
-
headers?: {
|
|
2563
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2564
|
-
"x-access-token"?: string | undefined;
|
|
2565
|
-
} | undefined;
|
|
2566
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2567
|
-
description: string;
|
|
2568
|
-
expiryDate?: string | undefined;
|
|
2569
|
-
id: string;
|
|
2570
|
-
keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
|
|
2571
|
-
kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
|
|
2572
|
-
meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
|
|
2573
|
-
reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
|
|
2574
|
-
volume?: number | undefined;
|
|
2575
|
-
}>;
|
|
2576
|
-
/** List Licenses belonging to a Project. */
|
|
2577
|
-
listLicensesForProject: (conf: {
|
|
2578
|
-
projectId: string;
|
|
2579
|
-
headers?: {
|
|
2580
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2581
|
-
"x-access-token"?: string | undefined;
|
|
2582
|
-
} | undefined;
|
|
2583
|
-
queryParameters?: {
|
|
2584
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2585
|
-
limit?: number | undefined;
|
|
2586
|
-
skip?: number | undefined;
|
|
2587
|
-
page?: number | undefined;
|
|
2588
|
-
} | undefined;
|
|
2589
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseLicense[]>;
|
|
2590
|
-
};
|
|
2591
2558
|
declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2592
2559
|
/** List DeliveryBoxes belonging to a Project. */
|
|
2593
2560
|
listDeliveryBoxes: (conf: {
|
|
@@ -3519,6 +3486,39 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3519
3486
|
userName: string;
|
|
3520
3487
|
}>;
|
|
3521
3488
|
};
|
|
3489
|
+
declare const buildLicenseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3490
|
+
/** Get a license. */
|
|
3491
|
+
getLicense: (conf: {
|
|
3492
|
+
licenseId: string;
|
|
3493
|
+
headers?: {
|
|
3494
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3495
|
+
"x-access-token"?: string | undefined;
|
|
3496
|
+
} | undefined;
|
|
3497
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3498
|
+
description: string;
|
|
3499
|
+
expiryDate?: string | undefined;
|
|
3500
|
+
id: string;
|
|
3501
|
+
keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
|
|
3502
|
+
kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
|
|
3503
|
+
meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
|
|
3504
|
+
reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
|
|
3505
|
+
volume?: number | undefined;
|
|
3506
|
+
}>;
|
|
3507
|
+
/** List Licenses belonging to a Project. */
|
|
3508
|
+
listLicensesForProject: (conf: {
|
|
3509
|
+
projectId: string;
|
|
3510
|
+
headers?: {
|
|
3511
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3512
|
+
"x-access-token"?: string | undefined;
|
|
3513
|
+
} | undefined;
|
|
3514
|
+
queryParameters?: {
|
|
3515
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3516
|
+
limit?: number | undefined;
|
|
3517
|
+
skip?: number | undefined;
|
|
3518
|
+
page?: number | undefined;
|
|
3519
|
+
} | undefined;
|
|
3520
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseLicense[]>;
|
|
3521
|
+
};
|
|
3522
3522
|
export declare class MittwaldAPIV2ClientReact {
|
|
3523
3523
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
3524
3524
|
readonly aiHosting: ReturnType<typeof buildAiHostingApi>;
|
|
@@ -3548,8 +3548,6 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
3548
3548
|
readonly file: ReturnType<typeof buildFileApi>;
|
|
3549
3549
|
/** The lead fyndr api allow you to manage you leads and your fyndr profile. */
|
|
3550
3550
|
readonly leadFyndr: ReturnType<typeof buildLeadFyndrApi>;
|
|
3551
|
-
/** The license API allows you to manage your paid licenses. */
|
|
3552
|
-
readonly license: ReturnType<typeof buildLicenseApi>;
|
|
3553
3551
|
/** The mail API allows you to manage your mail accounts. */
|
|
3554
3552
|
readonly mail: ReturnType<typeof buildMailApi>;
|
|
3555
3553
|
/** API endpoints that are not related to any specific API domain */
|
|
@@ -3566,6 +3564,8 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
3566
3564
|
readonly projectFileSystem: ReturnType<typeof buildProjectFileSystemApi>;
|
|
3567
3565
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
3568
3566
|
readonly sshsftpUser: ReturnType<typeof buildSshsftpUserApi>;
|
|
3567
|
+
/** The license API allows you to manage your paid licenses. */
|
|
3568
|
+
readonly license: ReturnType<typeof buildLicenseApi>;
|
|
3569
3569
|
private constructor();
|
|
3570
3570
|
static fromBaseClient(baseClient: MittwaldAPIV2Client): MittwaldAPIV2ClientReact;
|
|
3571
3571
|
}
|