@mittwald/api-client 4.315.0 → 4.316.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 +377 -377
- package/dist/types/generated/v2/descriptors.d.ts +8 -8
- package/dist/types/generated/v2/types.d.ts +1035 -1035
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -325,6 +325,12 @@ 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
|
+
});
|
|
328
334
|
const buildMailApi = (baseClient) => ({
|
|
329
335
|
/** List DeliveryBoxes belonging to a Project. */
|
|
330
336
|
listDeliveryBoxes: new ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
|
|
@@ -447,12 +453,6 @@ const buildSshsftpUserApi = (baseClient) => ({
|
|
|
447
453
|
/** Get an SSHUser. */
|
|
448
454
|
sshUserGetSshUser: new ApiCallAsyncResourceFactory(descriptors.sshUserGetSshUser, baseClient.sshsftpUser.sshUserGetSshUser).getApiResource,
|
|
449
455
|
});
|
|
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,6 +482,8 @@ 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;
|
|
485
487
|
/** The mail API allows you to manage your mail accounts. */
|
|
486
488
|
mail;
|
|
487
489
|
/** API endpoints that are not related to any specific API domain */
|
|
@@ -498,8 +500,6 @@ export class MittwaldAPIV2ClientReact {
|
|
|
498
500
|
projectFileSystem;
|
|
499
501
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
500
502
|
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,6 +515,7 @@ 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);
|
|
518
519
|
this.mail = buildMailApi(baseClient);
|
|
519
520
|
this.misc = buildMiscApi(baseClient);
|
|
520
521
|
this.notification = buildNotificationApi(baseClient);
|
|
@@ -523,7 +524,6 @@ export class MittwaldAPIV2ClientReact {
|
|
|
523
524
|
this.project = buildProjectApi(baseClient);
|
|
524
525
|
this.projectFileSystem = buildProjectFileSystemApi(baseClient);
|
|
525
526
|
this.sshsftpUser = buildSshsftpUserApi(baseClient);
|
|
526
|
-
this.license = buildLicenseApi(baseClient);
|
|
527
527
|
}
|
|
528
528
|
static fromBaseClient(baseClient) {
|
|
529
529
|
return new MittwaldAPIV2ClientReact(baseClient);
|
|
@@ -843,6 +843,17 @@ 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
|
+
};
|
|
846
857
|
/** API endpoints that are not related to any specific API domain */
|
|
847
858
|
misc = {
|
|
848
859
|
/** List valid time zones. */
|
|
@@ -975,16 +986,5 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
975
986
|
/** Update an SSHUser. */
|
|
976
987
|
sshUserUpdateSshUser: this.requestFunctionFactory(descriptors.sshUserUpdateSshUser),
|
|
977
988
|
};
|
|
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,6 +1786,30 @@ 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
|
+
};
|
|
1789
1813
|
/** List DeliveryBoxes belonging to a Project. */
|
|
1790
1814
|
export const mailListDeliveryBoxes = {
|
|
1791
1815
|
path: "/v2/projects/{projectId}/delivery-boxes",
|
|
@@ -2698,30 +2722,6 @@ export const verificationVerifyCompany = {
|
|
|
2698
2722
|
method: "POST",
|
|
2699
2723
|
operationId: "verification-verify-company",
|
|
2700
2724
|
};
|
|
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.315.0';
|
|
@@ -2542,6 +2542,39 @@ 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
|
+
};
|
|
2545
2578
|
declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2546
2579
|
/** List DeliveryBoxes belonging to a Project. */
|
|
2547
2580
|
listDeliveryBoxes: (conf: {
|
|
@@ -3473,39 +3506,6 @@ declare const buildSshsftpUserApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
3473
3506
|
userName: string;
|
|
3474
3507
|
}>;
|
|
3475
3508
|
};
|
|
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,6 +3535,8 @@ 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>;
|
|
3538
3540
|
/** The mail API allows you to manage your mail accounts. */
|
|
3539
3541
|
readonly mail: ReturnType<typeof buildMailApi>;
|
|
3540
3542
|
/** API endpoints that are not related to any specific API domain */
|
|
@@ -3551,8 +3553,6 @@ export declare class MittwaldAPIV2ClientReact {
|
|
|
3551
3553
|
readonly projectFileSystem: ReturnType<typeof buildProjectFileSystemApi>;
|
|
3552
3554
|
/** The SSH/SFTP User API allows you to manage your SSH/SFTP users within a project. */
|
|
3553
3555
|
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
|
}
|