@mittwald/api-client 4.324.0 → 4.326.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 +627 -627
- package/dist/types/generated/v2/descriptors.d.ts +14 -14
- package/dist/types/generated/v2/types.d.ts +1119 -1119
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -84,6 +84,8 @@ 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,
|
|
87
89
|
/** List Services belonging to a Project. */
|
|
88
90
|
listServices: new ApiCallAsyncResourceFactory(descriptors.containerListServices, baseClient.container.listServices).getApiResource,
|
|
89
91
|
/** List Volumes belonging to a Stack. */
|
|
@@ -92,8 +94,6 @@ const buildContainerApi = (baseClient) => ({
|
|
|
92
94
|
listStacks: new ApiCallAsyncResourceFactory(descriptors.containerListStacks, baseClient.container.listStacks).getApiResource,
|
|
93
95
|
/** List Volumes belonging to a Project. */
|
|
94
96
|
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,6 +327,12 @@ 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
|
+
});
|
|
330
336
|
const buildMailApi = (baseClient) => ({
|
|
331
337
|
/** List DeliveryBoxes belonging to a Project. */
|
|
332
338
|
listDeliveryBoxes: new ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
|
|
@@ -449,12 +455,6 @@ const buildSshsftpUserApi = (baseClient) => ({
|
|
|
449
455
|
/** Get an SSHUser. */
|
|
450
456
|
sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
|
|
451
457
|
});
|
|
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,6 +484,8 @@ 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;
|
|
487
489
|
/** The mail API allows you to manage your mail accounts. */
|
|
488
490
|
mail;
|
|
489
491
|
/** API endpoints that are not related to any specific API domain */
|
|
@@ -500,8 +502,6 @@ export class MittwaldAPIV2ClientReact {
|
|
|
500
502
|
projectFileSystem;
|
|
501
503
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
502
504
|
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,6 +517,7 @@ 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);
|
|
520
521
|
this.mail = buildMailApi(baseClient);
|
|
521
522
|
this.misc = buildMiscApi(baseClient);
|
|
522
523
|
this.notification = buildNotificationApi(baseClient);
|
|
@@ -525,7 +526,6 @@ export class MittwaldAPIV2ClientReact {
|
|
|
525
526
|
this.project = buildProjectApi(baseClient);
|
|
526
527
|
this.projectFileSystem = buildProjectFileSystemApi(baseClient);
|
|
527
528
|
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),
|
|
122
124
|
/** Restore a ProjectBackup. */
|
|
123
125
|
requestProjectBackupRestoreV2Experimental: this.requestFunctionFactory(descriptors.backupRequestProjectBackupRestoreV2Experimental),
|
|
124
126
|
/** Change the description of a ProjectBackup. */
|
|
125
127
|
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,6 +154,8 @@ 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),
|
|
157
159
|
/** List Services belonging to a Project. */
|
|
158
160
|
listServices: this.requestFunctionFactory(descriptors.containerListServices),
|
|
159
161
|
/** List Volumes belonging to a Stack. */
|
|
@@ -168,6 +170,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
168
170
|
recreateService: this.requestFunctionFactory(descriptors.containerRecreateService),
|
|
169
171
|
/** Restart a started Service. */
|
|
170
172
|
restartService: this.requestFunctionFactory(descriptors.containerRestartService),
|
|
173
|
+
/** Set an update schedule for a Stack. */
|
|
174
|
+
setStackUpdateSchedule: this.requestFunctionFactory(descriptors.containerSetStackUpdateSchedule),
|
|
171
175
|
/** Start a stopped Service. */
|
|
172
176
|
startService: this.requestFunctionFactory(descriptors.containerStartService),
|
|
173
177
|
/** Stop a started Service. */
|
|
@@ -176,10 +180,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
176
180
|
validateContainerRegistryUri: this.requestFunctionFactory(descriptors.containerValidateContainerRegistryUri),
|
|
177
181
|
/** Validate a Registries' credentials. */
|
|
178
182
|
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,6 +847,17 @@ 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
|
+
};
|
|
850
861
|
/** API endpoints that are not related to any specific API domain */
|
|
851
862
|
misc = {
|
|
852
863
|
/** List valid time zones. */
|
|
@@ -979,16 +990,5 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
979
990
|
/** Update an SSHUser. */
|
|
980
991
|
sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
|
|
981
992
|
};
|
|
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,6 +310,12 @@ 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
|
+
};
|
|
313
319
|
/** Restore a ProjectBackup. */
|
|
314
320
|
export const backupRequestProjectBackupRestoreV2Experimental = {
|
|
315
321
|
path: "/v2/project-backups/{projectBackupId}/restore",
|
|
@@ -400,6 +406,12 @@ export const containerGetService = {
|
|
|
400
406
|
method: "GET",
|
|
401
407
|
operationId: "container-get-service",
|
|
402
408
|
};
|
|
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
|
+
};
|
|
403
415
|
/** List Services belonging to a Project. */
|
|
404
416
|
export const containerListServices = {
|
|
405
417
|
path: "/v2/projects/{projectId}/services",
|
|
@@ -442,6 +454,12 @@ export const containerRestartService = {
|
|
|
442
454
|
method: "POST",
|
|
443
455
|
operationId: "container-restart-service",
|
|
444
456
|
};
|
|
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
|
+
};
|
|
445
463
|
/** Start a stopped Service. */
|
|
446
464
|
export const containerStartService = {
|
|
447
465
|
path: "/v2/stacks/{stackId}/services/{serviceId}/actions/start",
|
|
@@ -1786,6 +1804,30 @@ export const leadfyndrRemoveUnlockedLeadReservation = {
|
|
|
1786
1804
|
method: "DELETE",
|
|
1787
1805
|
operationId: "leadfyndr-remove-unlocked-lead-reservation",
|
|
1788
1806
|
};
|
|
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
|
+
};
|
|
1789
1831
|
/** List DeliveryBoxes belonging to a Project. */
|
|
1790
1832
|
export const mailListDeliveryBoxes = {
|
|
1791
1833
|
path: "/v2/projects/{projectId}/delivery-boxes",
|
|
@@ -2698,45 +2740,3 @@ export const verificationVerifyCompany = {
|
|
|
2698
2740
|
method: "POST",
|
|
2699
2741
|
operationId: "verification-verify-company",
|
|
2700
2742
|
};
|
|
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.325.0';
|
|
@@ -609,6 +609,19 @@ 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[]>;
|
|
612
625
|
/** List Services belonging to a Project. */
|
|
613
626
|
listServices: (conf: {
|
|
614
627
|
projectId: string;
|
|
@@ -675,19 +688,6 @@ declare const buildContainerApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
675
688
|
page?: number | undefined;
|
|
676
689
|
} | undefined;
|
|
677
690
|
}) => 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,6 +2555,39 @@ 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
|
+
};
|
|
2558
2591
|
declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2559
2592
|
/** List DeliveryBoxes belonging to a Project. */
|
|
2560
2593
|
listDeliveryBoxes: (conf: {
|
|
@@ -3486,39 +3519,6 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3486
3519
|
userName: string;
|
|
3487
3520
|
}>;
|
|
3488
3521
|
};
|
|
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,6 +3548,8 @@ 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>;
|
|
3551
3553
|
/** The mail API allows you to manage your mail accounts. */
|
|
3552
3554
|
readonly mail: ReturnType<typeof buildMailApi>;
|
|
3553
3555
|
/** API endpoints that are not related to any specific API domain */
|
|
@@ -3564,8 +3566,6 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
3564
3566
|
readonly projectFileSystem: ReturnType<typeof buildProjectFileSystemApi>;
|
|
3565
3567
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
3566
3568
|
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
|
}
|