@mittwald/api-client 0.0.0-development-f0bf198-20260910 → 0.0.0-development-cff844b-20260915
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 +0 -4
- package/dist/esm/generated/v2/client.js +2 -8
- package/dist/esm/generated/v2/descriptors.js +6 -24
- package/dist/esm/generated/v3-next/client-react.js +0 -4
- package/dist/esm/generated/v3-next/client.js +2 -8
- package/dist/esm/generated/v3-next/descriptors.js +6 -24
- package/dist/esm/version.js +1 -1
- package/dist/types/generated/v2/client-react.d.ts +2 -40
- package/dist/types/generated/v2/client.d.ts +65 -313
- package/dist/types/generated/v2/descriptors.d.ts +2 -8
- package/dist/types/generated/v2/types.d.ts +250 -284
- package/dist/types/generated/v3-next/client-react.d.ts +2 -40
- package/dist/types/generated/v3-next/client.d.ts +65 -313
- package/dist/types/generated/v3-next/descriptors.d.ts +2 -8
- package/dist/types/generated/v3-next/types.d.ts +250 -284
- package/dist/types/version.d.ts +1 -1
- package/package.json +4 -4
|
@@ -330,10 +330,6 @@ const buildDomainApi = (baseClient) => ({
|
|
|
330
330
|
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
331
331
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
332
332
|
sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
|
|
333
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
334
|
-
dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
|
|
335
|
-
/** Get the status of a DNS zone-file import job. */
|
|
336
|
-
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
337
333
|
});
|
|
338
334
|
const buildFileApi = (baseClient) => ({
|
|
339
335
|
/** Get a File's meta. */
|
|
@@ -573,6 +573,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
573
573
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
574
574
|
/** Update the tls settings of an Ingress. */
|
|
575
575
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
576
|
+
/** Create a DNSZone. */
|
|
577
|
+
dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
|
|
576
578
|
/** Get a DNSZone. */
|
|
577
579
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
578
580
|
/** Delete a DNSZone. */
|
|
@@ -581,8 +583,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
581
583
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
582
584
|
/** List DNSZones belonging to a Project. */
|
|
583
585
|
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
584
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
585
|
-
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
586
586
|
/** Set a record set on a DNSZone to managed. */
|
|
587
587
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
588
588
|
/** Update a record set on a DNSZone. */
|
|
@@ -667,12 +667,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
667
667
|
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
668
668
|
/** Update the certificate of a CertificateRequest. */
|
|
669
669
|
sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
|
|
670
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
671
|
-
dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
|
|
672
|
-
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
673
|
-
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
674
|
-
/** Get the status of a DNS zone-file import job. */
|
|
675
|
-
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
676
670
|
};
|
|
677
671
|
/** The mail API allows you to manage your mail accounts. */
|
|
678
672
|
mail = {
|
|
@@ -1282,6 +1282,12 @@ export const userUpdateAccount = {
|
|
|
1282
1282
|
method: "PUT",
|
|
1283
1283
|
operationId: "user-update-account",
|
|
1284
1284
|
};
|
|
1285
|
+
/** Create a DNSZone. */
|
|
1286
|
+
export const dnsCreateDnsZone = {
|
|
1287
|
+
path: "/v2/dns-zones",
|
|
1288
|
+
method: "POST",
|
|
1289
|
+
operationId: "dns-create-dns-zone",
|
|
1290
|
+
};
|
|
1285
1291
|
/** Get a DNSZone. */
|
|
1286
1292
|
export const dnsGetDnsZone = {
|
|
1287
1293
|
path: "/v2/dns-zones/{dnsZoneId}",
|
|
@@ -1306,12 +1312,6 @@ export const dnsListDnsZones = {
|
|
|
1306
1312
|
method: "GET",
|
|
1307
1313
|
operationId: "dns-list-dns-zones",
|
|
1308
1314
|
};
|
|
1309
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
1310
|
-
export const dnsCreateProjectDnsZone = {
|
|
1311
|
-
path: "/v2/projects/{projectId}/dns-zones",
|
|
1312
|
-
method: "POST",
|
|
1313
|
-
operationId: "dns-create-project-dns-zone",
|
|
1314
|
-
};
|
|
1315
1315
|
/** Set a record set on a DNSZone to managed. */
|
|
1316
1316
|
export const dnsSetRecordSetManaged = {
|
|
1317
1317
|
path: "/v2/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
|
|
@@ -2938,21 +2938,3 @@ export const verificationVerifyCompany = {
|
|
|
2938
2938
|
method: "POST",
|
|
2939
2939
|
operationId: "verification-verify-company",
|
|
2940
2940
|
};
|
|
2941
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
2942
|
-
export const dnsListDnsZoneFileImports = {
|
|
2943
|
-
path: "/v2/projects/{projectId}/dns-zone-imports",
|
|
2944
|
-
method: "GET",
|
|
2945
|
-
operationId: "dns-list-dns-zone-file-imports",
|
|
2946
|
-
};
|
|
2947
|
-
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
2948
|
-
export const dnsCreateDnsZoneFileImport = {
|
|
2949
|
-
path: "/v2/projects/{projectId}/dns-zone-imports",
|
|
2950
|
-
method: "POST",
|
|
2951
|
-
operationId: "dns-create-dns-zone-file-import",
|
|
2952
|
-
};
|
|
2953
|
-
/** Get the status of a DNS zone-file import job. */
|
|
2954
|
-
export const dnsGetDnsZoneFileImport = {
|
|
2955
|
-
path: "/v2/dns-zone-imports/{zoneFileImportId}",
|
|
2956
|
-
method: "GET",
|
|
2957
|
-
operationId: "dns-get-dns-zone-file-import",
|
|
2958
|
-
};
|
|
@@ -330,10 +330,6 @@ const buildDomainApi = (baseClient) => ({
|
|
|
330
330
|
sslGetCertificate: new ApiCallAsyncResourceFactory(descriptors.sslGetCertificate, baseClient.domain.sslGetCertificate).getApiResource,
|
|
331
331
|
/** List Certificates belonging to a Project or an Ingress. */
|
|
332
332
|
sslListCertificates: new ApiCallAsyncResourceFactory(descriptors.sslListCertificates, baseClient.domain.sslListCertificates).getApiResource,
|
|
333
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
334
|
-
dnsListDnsZoneFileImports: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZoneFileImports, baseClient.domain.dnsListDnsZoneFileImports).getApiResource,
|
|
335
|
-
/** Get the status of a DNS zone-file import job. */
|
|
336
|
-
dnsGetDnsZoneFileImport: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZoneFileImport, baseClient.domain.dnsGetDnsZoneFileImport).getApiResource,
|
|
337
333
|
});
|
|
338
334
|
const buildFileApi = (baseClient) => ({
|
|
339
335
|
/** Get a File's meta. */
|
|
@@ -573,6 +573,8 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
573
573
|
ingressUpdateIngressPaths: this.requestFunctionFactory(descriptors.ingressUpdateIngressPaths),
|
|
574
574
|
/** Update the tls settings of an Ingress. */
|
|
575
575
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
576
|
+
/** Create a DNSZone. */
|
|
577
|
+
dnsCreateDnsZone: this.requestFunctionFactory(descriptors.dnsCreateDnsZone),
|
|
576
578
|
/** Get a DNSZone. */
|
|
577
579
|
dnsGetDnsZone: this.requestFunctionFactory(descriptors.dnsGetDnsZone),
|
|
578
580
|
/** Delete a DNSZone. */
|
|
@@ -581,8 +583,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
581
583
|
dnsGetZoneFile: this.requestFunctionFactory(descriptors.dnsGetZoneFile),
|
|
582
584
|
/** List DNSZones belonging to a Project. */
|
|
583
585
|
dnsListDnsZones: this.requestFunctionFactory(descriptors.dnsListDnsZones),
|
|
584
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
585
|
-
dnsCreateProjectDnsZone: this.requestFunctionFactory(descriptors.dnsCreateProjectDnsZone),
|
|
586
586
|
/** Set a record set on a DNSZone to managed. */
|
|
587
587
|
dnsSetRecordSetManaged: this.requestFunctionFactory(descriptors.dnsSetRecordSetManaged),
|
|
588
588
|
/** Update a record set on a DNSZone. */
|
|
@@ -667,12 +667,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
|
|
|
667
667
|
sslListCertificates: this.requestFunctionFactory(descriptors.sslListCertificates),
|
|
668
668
|
/** Update the certificate of a CertificateRequest. */
|
|
669
669
|
sslSetCertificateRequestCertificate: this.requestFunctionFactory(descriptors.sslSetCertificateRequestCertificate),
|
|
670
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
671
|
-
dnsListDnsZoneFileImports: this.requestFunctionFactory(descriptors.dnsListDnsZoneFileImports),
|
|
672
|
-
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
673
|
-
dnsCreateDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsCreateDnsZoneFileImport),
|
|
674
|
-
/** Get the status of a DNS zone-file import job. */
|
|
675
|
-
dnsGetDnsZoneFileImport: this.requestFunctionFactory(descriptors.dnsGetDnsZoneFileImport),
|
|
676
670
|
};
|
|
677
671
|
/** The mail API allows you to manage your mail accounts. */
|
|
678
672
|
mail = {
|
|
@@ -1282,6 +1282,12 @@ export const userUpdateAccount = {
|
|
|
1282
1282
|
method: "PUT",
|
|
1283
1283
|
operationId: "user-update-account",
|
|
1284
1284
|
};
|
|
1285
|
+
/** Create a DNSZone. */
|
|
1286
|
+
export const dnsCreateDnsZone = {
|
|
1287
|
+
path: "/v3-next/dns-zones",
|
|
1288
|
+
method: "POST",
|
|
1289
|
+
operationId: "dns-create-dns-zone",
|
|
1290
|
+
};
|
|
1285
1291
|
/** Get a DNSZone. */
|
|
1286
1292
|
export const dnsGetDnsZone = {
|
|
1287
1293
|
path: "/v3-next/dns-zones/{dnsZoneId}",
|
|
@@ -1306,12 +1312,6 @@ export const dnsListDnsZones = {
|
|
|
1306
1312
|
method: "GET",
|
|
1307
1313
|
operationId: "dns-list-dns-zones",
|
|
1308
1314
|
};
|
|
1309
|
-
/** Create a DNSZone for a domain in a Project. */
|
|
1310
|
-
export const dnsCreateProjectDnsZone = {
|
|
1311
|
-
path: "/v3-next/projects/{projectId}/dns-zones",
|
|
1312
|
-
method: "POST",
|
|
1313
|
-
operationId: "dns-create-project-dns-zone",
|
|
1314
|
-
};
|
|
1315
1315
|
/** Set a record set on a DNSZone to managed. */
|
|
1316
1316
|
export const dnsSetRecordSetManaged = {
|
|
1317
1317
|
path: "/v3-next/dns-zones/{dnsZoneId}/record-sets/{recordSet}/actions/set-managed",
|
|
@@ -2938,21 +2938,3 @@ export const verificationVerifyCompany = {
|
|
|
2938
2938
|
method: "POST",
|
|
2939
2939
|
operationId: "verification-verify-company",
|
|
2940
2940
|
};
|
|
2941
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
2942
|
-
export const dnsListDnsZoneFileImports = {
|
|
2943
|
-
path: "/v3-next/projects/{projectId}/dns-zone-imports",
|
|
2944
|
-
method: "GET",
|
|
2945
|
-
operationId: "dns-list-dns-zone-file-imports",
|
|
2946
|
-
};
|
|
2947
|
-
/** Import a DNS zone file into a Project, or preview it with dry-run. */
|
|
2948
|
-
export const dnsCreateDnsZoneFileImport = {
|
|
2949
|
-
path: "/v3-next/projects/{projectId}/dns-zone-imports",
|
|
2950
|
-
method: "POST",
|
|
2951
|
-
operationId: "dns-create-dns-zone-file-import",
|
|
2952
|
-
};
|
|
2953
|
-
/** Get the status of a DNS zone-file import job. */
|
|
2954
|
-
export const dnsGetDnsZoneFileImport = {
|
|
2955
|
-
path: "/v3-next/dns-zone-imports/{zoneFileImportId}",
|
|
2956
|
-
method: "GET",
|
|
2957
|
-
operationId: "dns-get-dns-zone-file-import",
|
|
2958
|
-
};
|
package/dist/esm/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '
|
|
1
|
+
export const MittwaldAPIClientVersion = '4.463.0';
|
|
@@ -140,7 +140,6 @@ declare const buildAiHostingApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
140
140
|
name: string;
|
|
141
141
|
}[];
|
|
142
142
|
modelShare: {
|
|
143
|
-
displayName?: string;
|
|
144
143
|
model: string;
|
|
145
144
|
tokens: number;
|
|
146
145
|
}[];
|
|
@@ -1504,11 +1503,12 @@ declare const buildMarketplaceApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1504
1503
|
searchTerm?: string | undefined;
|
|
1505
1504
|
anchor?: string | undefined;
|
|
1506
1505
|
hasAcceptedAllScopes?: boolean | undefined;
|
|
1506
|
+
"contract.interactionRequired"?: boolean | undefined;
|
|
1507
1507
|
parentCustomerId?: string | undefined;
|
|
1508
1508
|
limit?: number | undefined;
|
|
1509
1509
|
skip?: number | undefined;
|
|
1510
1510
|
page?: number | undefined;
|
|
1511
|
-
sort?: ("createdAt" | "extensionId" | "extensionName")[] | undefined;
|
|
1511
|
+
sort?: ("createdAt" | "extensionId" | "extensionName" | "unacceptedScopeChanges" | "contract.interactionRequired")[] | undefined;
|
|
1512
1512
|
order?: ("asc" | "desc")[] | undefined;
|
|
1513
1513
|
} | undefined;
|
|
1514
1514
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MarketplaceExtensionInstance[]>;
|
|
@@ -2645,44 +2645,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
2645
2645
|
ingressId?: string | undefined;
|
|
2646
2646
|
} | undefined;
|
|
2647
2647
|
} | null | undefined) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.SslCertificate[]>;
|
|
2648
|
-
/** List DNS zone-file import jobs belonging to a Project. */
|
|
2649
|
-
dnsListDnsZoneFileImports: (conf: {
|
|
2650
|
-
projectId: string;
|
|
2651
|
-
headers?: {
|
|
2652
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2653
|
-
"x-access-token"?: string | undefined;
|
|
2654
|
-
} | undefined;
|
|
2655
|
-
queryParameters?: {
|
|
2656
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2657
|
-
limit?: number | undefined;
|
|
2658
|
-
skip?: number | undefined;
|
|
2659
|
-
page?: number | undefined;
|
|
2660
|
-
sort?: "createdAt" | undefined;
|
|
2661
|
-
order?: "asc" | "desc" | undefined;
|
|
2662
|
-
} | undefined;
|
|
2663
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZoneFileImport[]>;
|
|
2664
|
-
/** Get the status of a DNS zone-file import job. */
|
|
2665
|
-
dnsGetDnsZoneFileImport: (conf: {
|
|
2666
|
-
zoneFileImportId: string;
|
|
2667
|
-
headers?: {
|
|
2668
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2669
|
-
"x-access-token"?: string | undefined;
|
|
2670
|
-
} | undefined;
|
|
2671
|
-
}) => import("@mittwald/react-use-promise").AsyncResource<{
|
|
2672
|
-
createdAt: string;
|
|
2673
|
-
failedZones: {
|
|
2674
|
-
error: string;
|
|
2675
|
-
name: string;
|
|
2676
|
-
}[];
|
|
2677
|
-
id: string;
|
|
2678
|
-
importedZones: string[];
|
|
2679
|
-
projectId: string;
|
|
2680
|
-
skippedZones: {
|
|
2681
|
-
name: string;
|
|
2682
|
-
reason: string;
|
|
2683
|
-
}[];
|
|
2684
|
-
status: "running" | "succeeded" | "failed" | "completedWithErrors";
|
|
2685
|
-
}>;
|
|
2686
2648
|
};
|
|
2687
2649
|
declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
2688
2650
|
/** Get a File's meta. */
|