@mittwald/api-client 4.316.0 → 4.317.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 +484 -482
- package/dist/types/generated/v2/descriptors.d.ts +8 -8
- package/dist/types/generated/v2/types.d.ts +912 -908
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -325,12 +325,6 @@ const buildLeadFyndrApi = (baseClient) => ({
|
|
|
325
325
|
/** Get all unlocked leads. Organisation can unlock leads. */
|
|
326
326
|
leadfyndrListUnlockedLeads: new ApiCallAsyncResourceFactory(descriptors.leadfyndrListUnlockedLeads, baseClient.leadFyndr.leadfyndrListUnlockedLeads).getApiResource,
|
|
327
327
|
});
|
|
328
|
-
const buildLicenseApi = (baseClient) => ({
|
|
329
|
-
/** Get a license. */
|
|
330
|
-
getLicense: new ApiCallAsyncResourceFactory(descriptors.licenseGetLicense, baseClient.license.getLicense).getApiResource,
|
|
331
|
-
/** List Licenses belonging to a Project. */
|
|
332
|
-
listLicensesForProject: new ApiCallAsyncResourceFactory(descriptors.licenseListLicensesForProject, baseClient.license.listLicensesForProject).getApiResource,
|
|
333
|
-
});
|
|
334
328
|
const buildMailApi = (baseClient) => ({
|
|
335
329
|
/** List DeliveryBoxes belonging to a Project. */
|
|
336
330
|
listDeliveryBoxes: new ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
|
|
@@ -453,6 +447,12 @@ const buildSshsftpUserApi = (baseClient) => ({
|
|
|
453
447
|
/** Get an SSHUser. */
|
|
454
448
|
sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
|
|
455
449
|
});
|
|
450
|
+
const buildLicenseApi = (baseClient) => ({
|
|
451
|
+
/** Get a license. */
|
|
452
|
+
getLicense: new ApiCallAsyncResourceFactory(descriptors.licenseGetLicense, baseClient.license.getLicense).getApiResource,
|
|
453
|
+
/** List Licenses belonging to a Project. */
|
|
454
|
+
listLicensesForProject: new ApiCallAsyncResourceFactory(descriptors.licenseListLicensesForProject, baseClient.license.listLicensesForProject).getApiResource,
|
|
455
|
+
});
|
|
456
456
|
export class MittwaldAPIV2ClientReact {
|
|
457
457
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
458
458
|
aiHosting;
|
|
@@ -482,8 +482,6 @@ export class MittwaldAPIV2ClientReact {
|
|
|
482
482
|
file;
|
|
483
483
|
/** The lead fyndr api allow you to manage you leads and your fyndr profile. */
|
|
484
484
|
leadFyndr;
|
|
485
|
-
/** The license API allows you to manage your paid licenses. */
|
|
486
|
-
license;
|
|
487
485
|
/** The mail API allows you to manage your mail accounts. */
|
|
488
486
|
mail;
|
|
489
487
|
/** API endpoints that are not related to any specific API domain */
|
|
@@ -500,6 +498,8 @@ export class MittwaldAPIV2ClientReact {
|
|
|
500
498
|
projectFileSystem;
|
|
501
499
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
502
500
|
sshsftpUser;
|
|
501
|
+
/** The license API allows you to manage your paid licenses. */
|
|
502
|
+
license;
|
|
503
503
|
constructor(baseClient) {
|
|
504
504
|
this.aiHosting = buildAiHostingApi(baseClient);
|
|
505
505
|
this.app = buildAppApi(baseClient);
|
|
@@ -515,7 +515,6 @@ export class MittwaldAPIV2ClientReact {
|
|
|
515
515
|
this.domain = buildDomainApi(baseClient);
|
|
516
516
|
this.file = buildFileApi(baseClient);
|
|
517
517
|
this.leadFyndr = buildLeadFyndrApi(baseClient);
|
|
518
|
-
this.license = buildLicenseApi(baseClient);
|
|
519
518
|
this.mail = buildMailApi(baseClient);
|
|
520
519
|
this.misc = buildMiscApi(baseClient);
|
|
521
520
|
this.notification = buildNotificationApi(baseClient);
|
|
@@ -524,6 +523,7 @@ export class MittwaldAPIV2ClientReact {
|
|
|
524
523
|
this.project = buildProjectApi(baseClient);
|
|
525
524
|
this.projectFileSystem = buildProjectFileSystemApi(baseClient);
|
|
526
525
|
this.sshsftpUser = buildSshsftpUserApi(baseClient);
|
|
526
|
+
this.license = buildLicenseApi(baseClient);
|
|
527
527
|
}
|
|
528
528
|
static fromBaseClient(baseClient) {
|
|
529
529
|
return new MittwaldAPIV2ClientReact(baseClient);
|
|
@@ -843,17 +843,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
843
843
|
/** Removes a reservation on a unlocked lead for the given customerId. */
|
|
844
844
|
leadfyndrRemoveUnlockedLeadReservation: this.requestFunctionFactory(descriptors.leadfyndrRemoveUnlockedLeadReservation),
|
|
845
845
|
};
|
|
846
|
-
/** The license API allows you to manage your paid licenses. */
|
|
847
|
-
license = {
|
|
848
|
-
/** Get a license. */
|
|
849
|
-
getLicense: this.requestFunctionFactory(descriptors.licenseGetLicense),
|
|
850
|
-
/** List Licenses belonging to a Project. */
|
|
851
|
-
listLicensesForProject: this.requestFunctionFactory(descriptors.licenseListLicensesForProject),
|
|
852
|
-
/** rotate a License's key, i.e. revoke the old and generate a new one. */
|
|
853
|
-
rotateLicenseKey: this.requestFunctionFactory(descriptors.licenseRotateLicenseKey),
|
|
854
|
-
/** Validate a License's key for a project. */
|
|
855
|
-
validateLicenseKeyForProject: this.requestFunctionFactory(descriptors.licenseValidateLicenseKeyForProject),
|
|
856
|
-
};
|
|
857
846
|
/** API endpoints that are not related to any specific API domain */
|
|
858
847
|
misc = {
|
|
859
848
|
/** List valid time zones. */
|
|
@@ -986,5 +975,16 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
986
975
|
/** Update an SSHUser. */
|
|
987
976
|
sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
|
|
988
977
|
};
|
|
978
|
+
/** The license API allows you to manage your paid licenses. */
|
|
979
|
+
license = {
|
|
980
|
+
/** Get a license. */
|
|
981
|
+
getLicense: this.requestFunctionFactory(descriptors.licenseGetLicense),
|
|
982
|
+
/** List Licenses belonging to a Project. */
|
|
983
|
+
listLicensesForProject: this.requestFunctionFactory(descriptors.licenseListLicensesForProject),
|
|
984
|
+
/** rotate a License's key, i.e. revoke the old and generate a new one. */
|
|
985
|
+
rotateLicenseKey: this.requestFunctionFactory(descriptors.licenseRotateLicenseKey),
|
|
986
|
+
/** Validate a License's key for a project. */
|
|
987
|
+
validateLicenseKeyForProject: this.requestFunctionFactory(descriptors.licenseValidateLicenseKeyForProject),
|
|
988
|
+
};
|
|
989
989
|
}
|
|
990
990
|
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.316.0';
|
|
@@ -2542,39 +2542,6 @@ declare const buildLeadFyndrApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2542
2542
|
totalCount: number;
|
|
2543
2543
|
}>;
|
|
2544
2544
|
};
|
|
2545
|
-
declare const buildLicenseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2546
|
-
/** Get a license. */
|
|
2547
|
-
getLicense: (conf: {
|
|
2548
|
-
licenseId: string;
|
|
2549
|
-
headers?: {
|
|
2550
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2551
|
-
"x-access-token"?: string | undefined;
|
|
2552
|
-
} | undefined;
|
|
2553
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2554
|
-
description: string;
|
|
2555
|
-
expiryDate?: string | undefined;
|
|
2556
|
-
id: string;
|
|
2557
|
-
keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
|
|
2558
|
-
kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
|
|
2559
|
-
meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
|
|
2560
|
-
reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
|
|
2561
|
-
volume?: number | undefined;
|
|
2562
|
-
}>;
|
|
2563
|
-
/** List Licenses belonging to a Project. */
|
|
2564
|
-
listLicensesForProject: (conf: {
|
|
2565
|
-
projectId: string;
|
|
2566
|
-
headers?: {
|
|
2567
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2568
|
-
"x-access-token"?: string | undefined;
|
|
2569
|
-
} | undefined;
|
|
2570
|
-
queryParameters?: {
|
|
2571
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2572
|
-
limit?: number | undefined;
|
|
2573
|
-
skip?: number | undefined;
|
|
2574
|
-
page?: number | undefined;
|
|
2575
|
-
} | undefined;
|
|
2576
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseLicense[]>;
|
|
2577
|
-
};
|
|
2578
2545
|
declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2579
2546
|
/** List DeliveryBoxes belonging to a Project. */
|
|
2580
2547
|
listDeliveryBoxes: (conf: {
|
|
@@ -3506,6 +3473,39 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3506
3473
|
userName: string;
|
|
3507
3474
|
}>;
|
|
3508
3475
|
};
|
|
3476
|
+
declare const buildLicenseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
3477
|
+
/** Get a license. */
|
|
3478
|
+
getLicense: (conf: {
|
|
3479
|
+
licenseId: string;
|
|
3480
|
+
headers?: {
|
|
3481
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3482
|
+
"x-access-token"?: string | undefined;
|
|
3483
|
+
} | undefined;
|
|
3484
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
3485
|
+
description: string;
|
|
3486
|
+
expiryDate?: string | undefined;
|
|
3487
|
+
id: string;
|
|
3488
|
+
keyReference?: (import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKey | import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseExternalKey) | undefined;
|
|
3489
|
+
kind: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseKind;
|
|
3490
|
+
meta: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseMeta;
|
|
3491
|
+
reference: import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseReference;
|
|
3492
|
+
volume?: number | undefined;
|
|
3493
|
+
}>;
|
|
3494
|
+
/** List Licenses belonging to a Project. */
|
|
3495
|
+
listLicensesForProject: (conf: {
|
|
3496
|
+
projectId: string;
|
|
3497
|
+
headers?: {
|
|
3498
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3499
|
+
"x-access-token"?: string | undefined;
|
|
3500
|
+
} | undefined;
|
|
3501
|
+
queryParameters?: {
|
|
3502
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
3503
|
+
limit?: number | undefined;
|
|
3504
|
+
skip?: number | undefined;
|
|
3505
|
+
page?: number | undefined;
|
|
3506
|
+
} | undefined;
|
|
3507
|
+
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.LicenseLicense[]>;
|
|
3508
|
+
};
|
|
3509
3509
|
export declare class MittwaldAPIV2ClientReact {
|
|
3510
3510
|
/** The AI hosting provides access to multiple large language and embedding models – GDPR compliant and hosted in Germany. */
|
|
3511
3511
|
readonly aiHosting: ReturnType<typeof buildAiHostingApi>;
|
|
@@ -3535,8 +3535,6 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
3535
3535
|
readonly file: ReturnType<typeof buildFileApi>;
|
|
3536
3536
|
/** The lead fyndr api allow you to manage you leads and your fyndr profile. */
|
|
3537
3537
|
readonly leadFyndr: ReturnType<typeof buildLeadFyndrApi>;
|
|
3538
|
-
/** The license API allows you to manage your paid licenses. */
|
|
3539
|
-
readonly license: ReturnType<typeof buildLicenseApi>;
|
|
3540
3538
|
/** The mail API allows you to manage your mail accounts. */
|
|
3541
3539
|
readonly mail: ReturnType<typeof buildMailApi>;
|
|
3542
3540
|
/** API endpoints that are not related to any specific API domain */
|
|
@@ -3553,6 +3551,8 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
3553
3551
|
readonly projectFileSystem: ReturnType<typeof buildProjectFileSystemApi>;
|
|
3554
3552
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
3555
3553
|
readonly sshsftpUser: ReturnType<typeof buildSshsftpUserApi>;
|
|
3554
|
+
/** The license API allows you to manage your paid licenses. */
|
|
3555
|
+
readonly license: ReturnType<typeof buildLicenseApi>;
|
|
3556
3556
|
private constructor();
|
|
3557
3557
|
static fromBaseClient(baseClient: MittwaldAPIV2Client): MittwaldAPIV2ClientReact;
|
|
3558
3558
|
}
|