@mittwald/api-client 4.325.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 +9 -9
- package/dist/esm/generated/v2/client.js +11 -11
- package/dist/esm/generated/v2/descriptors.js +24 -24
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +35 -35
- package/dist/types/generated/v2/client.d.ts +376 -376
- package/dist/types/generated/v2/descriptors.d.ts +8 -8
- package/dist/types/generated/v2/types.d.ts +907 -907
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -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);
|
|
@@ -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;
|
|
@@ -1786,30 +1786,6 @@ export const leadfyndrRemoveUnlockedLeadReservation = {
|
|
|
1786
1786
|
method: "DELETE",
|
|
1787
1787
|
operationId: "leadfyndr-remove-unlocked-lead-reservation",
|
|
1788
1788
|
};
|
|
1789
|
-
/** Get a license. */
|
|
1790
|
-
export const licenseGetLicense = {
|
|
1791
|
-
path: "/v2/licenses/{licenseId}",
|
|
1792
|
-
method: "GET",
|
|
1793
|
-
operationId: "license-get-license",
|
|
1794
|
-
};
|
|
1795
|
-
/** List Licenses belonging to a Project. */
|
|
1796
|
-
export const licenseListLicensesForProject = {
|
|
1797
|
-
path: "/v2/projects/{projectId}/licenses",
|
|
1798
|
-
method: "GET",
|
|
1799
|
-
operationId: "license-list-licenses-for-project",
|
|
1800
|
-
};
|
|
1801
|
-
/** rotate a License's key, i.e. revoke the old and generate a new one. */
|
|
1802
|
-
export const licenseRotateLicenseKey = {
|
|
1803
|
-
path: "/v2/licenses/{licenseId}/actions/rotate-key",
|
|
1804
|
-
method: "POST",
|
|
1805
|
-
operationId: "license-rotate-license-key",
|
|
1806
|
-
};
|
|
1807
|
-
/** Validate a License's key for a project. */
|
|
1808
|
-
export const licenseValidateLicenseKeyForProject = {
|
|
1809
|
-
path: "/v2/projects/{projectId}/actions/validate-license-key",
|
|
1810
|
-
method: "POST",
|
|
1811
|
-
operationId: "license-validate-license-key-for-project",
|
|
1812
|
-
};
|
|
1813
1789
|
/** List DeliveryBoxes belonging to a Project. */
|
|
1814
1790
|
export const mailListDeliveryBoxes = {
|
|
1815
1791
|
path: "/v2/projects/{projectId}/delivery-boxes",
|
|
@@ -2722,6 +2698,30 @@ export const verificationVerifyCompany = {
|
|
|
2722
2698
|
method: "POST",
|
|
2723
2699
|
operationId: "verification-verify-company",
|
|
2724
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
2725
|
/** Set an update schedule for a Stack. */
|
|
2726
2726
|
export const containerSetStackUpdateSchedule = {
|
|
2727
2727
|
path: "/v2/stacks/{stackId}/update-schedule",
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '4.
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.326.0';
|
|
@@ -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
|
}
|