@mittwald/api-client 3.0.13 → 3.0.15
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/README.md +9 -3
- package/dist/cjs/generated/v2/client-react.d.ts +11 -4
- package/dist/cjs/generated/v2/client-react.js +2 -0
- package/dist/cjs/generated/v2/client.d.ts +55 -44
- package/dist/cjs/generated/v2/client.js +2 -0
- package/dist/cjs/generated/v2/descriptors.d.ts +2 -0
- package/dist/cjs/generated/v2/descriptors.js +10 -4
- package/dist/cjs/generated/v2/types.d.ts +1238 -4
- package/dist/esm/generated/v2/client-react.d.ts +11 -4
- package/dist/esm/generated/v2/client-react.js +2 -0
- package/dist/esm/generated/v2/client.d.ts +55 -44
- package/dist/esm/generated/v2/client.js +2 -0
- package/dist/esm/generated/v2/descriptors.d.ts +2 -0
- package/dist/esm/generated/v2/descriptors.js +6 -0
- package/dist/esm/generated/v2/types.d.ts +1238 -4
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -233,13 +233,19 @@ To intercept requests or responses you can use
|
|
|
233
233
|
All response and request types can be imported from the `MittwaldAPIV2`
|
|
234
234
|
namespace.
|
|
235
235
|
|
|
236
|
-
###
|
|
236
|
+
### Referencing request/response types
|
|
237
237
|
|
|
238
238
|
```typescript
|
|
239
239
|
import { MittwaldAPIV2 } from "@mittwald/api-client";
|
|
240
240
|
|
|
241
|
-
type
|
|
242
|
-
|
|
241
|
+
type ProjectData = MittwaldAPIV2.Operations.ProjectGetProject.ResponseData;
|
|
242
|
+
|
|
243
|
+
// Reference "non-200" response type
|
|
244
|
+
type ProjectNotFoundData =
|
|
245
|
+
MittwaldAPIV2.Operations.ProjectGetProject.ResponseData<404>;
|
|
246
|
+
|
|
247
|
+
type CreateProjectData =
|
|
248
|
+
MittwaldAPIV2.Operations.ProjectCreateProject.RequestData;
|
|
243
249
|
```
|
|
244
250
|
|
|
245
251
|
## Migrating from package version V2 to V3
|
|
@@ -212,7 +212,7 @@ declare const buildArticleApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
212
212
|
} | undefined;
|
|
213
213
|
modifierArticles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
|
|
214
214
|
name: string;
|
|
215
|
-
orderable: "
|
|
215
|
+
orderable: "full" | "forbidden" | "internal" | "beta_testing" | "deprecated";
|
|
216
216
|
picture?: string | undefined;
|
|
217
217
|
possibleArticleChanges?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[] | undefined;
|
|
218
218
|
price?: number | undefined;
|
|
@@ -233,7 +233,7 @@ declare const buildArticleApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
233
233
|
tags?: string[] | undefined;
|
|
234
234
|
templateNames?: string[] | undefined;
|
|
235
235
|
articleIds?: string[] | undefined;
|
|
236
|
-
orderable?: ("
|
|
236
|
+
orderable?: ("full" | "forbidden" | "internal" | "beta_testing" | "deprecated")[] | undefined;
|
|
237
237
|
name?: string | undefined;
|
|
238
238
|
} | undefined;
|
|
239
239
|
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableArticle[]>;
|
|
@@ -498,6 +498,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
498
498
|
printedInvoices?: boolean | undefined;
|
|
499
499
|
recipient?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceRecipient | undefined;
|
|
500
500
|
recipientSameAsOwner?: boolean | undefined;
|
|
501
|
+
status?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceInvoiceSettingsStatus[] | undefined;
|
|
501
502
|
targetDay?: number | undefined;
|
|
502
503
|
}>;
|
|
503
504
|
/** List Invoices of a Customer. */
|
|
@@ -613,7 +614,7 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
613
614
|
relations?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference[] | undefined;
|
|
614
615
|
sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
|
|
615
616
|
shortId: string;
|
|
616
|
-
status: "open" | "
|
|
617
|
+
status: "open" | "answered" | "closed";
|
|
617
618
|
title: string;
|
|
618
619
|
}>;
|
|
619
620
|
/** Get all conversation categories. */
|
|
@@ -1099,6 +1100,12 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1099
1100
|
projectId: string;
|
|
1100
1101
|
txtRecord: string;
|
|
1101
1102
|
}>;
|
|
1103
|
+
/** List all supported top level domains. */
|
|
1104
|
+
getSupportedTlds: (conf?: {
|
|
1105
|
+
headers?: {
|
|
1106
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1107
|
+
} | undefined;
|
|
1108
|
+
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
|
|
1102
1109
|
/** List all domain ownerships of a project. */
|
|
1103
1110
|
listDomainOwnerships: (conf: {
|
|
1104
1111
|
projectId: string;
|
|
@@ -1345,7 +1352,7 @@ declare const buildNotificationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1345
1352
|
} | undefined;
|
|
1346
1353
|
queryParameters?: {
|
|
1347
1354
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1348
|
-
status?: "
|
|
1355
|
+
status?: "unread" | "read" | undefined;
|
|
1349
1356
|
} | undefined;
|
|
1350
1357
|
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MessagingNotification[]>;
|
|
1351
1358
|
};
|
|
@@ -187,6 +187,8 @@ const buildDomainApi = (baseClient) => ({
|
|
|
187
187
|
getScreenshotForDomain: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetScreenshotForDomain, baseClient.domain.getScreenshotForDomain).getApiResource,
|
|
188
188
|
/** Get a domain ownership. */
|
|
189
189
|
getSpecificDomainOwnership: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetSpecificDomainOwnership, baseClient.domain.getSpecificDomainOwnership).getApiResource,
|
|
190
|
+
/** List all supported top level domains. */
|
|
191
|
+
getSupportedTlds: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetSupportedTlds, baseClient.domain.getSupportedTlds).getApiResource,
|
|
190
192
|
/** List all domain ownerships of a project. */
|
|
191
193
|
listDomainOwnerships: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
|
|
192
194
|
/** List Domains belonging to a Project. */
|
|
@@ -729,7 +729,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
729
729
|
} | undefined;
|
|
730
730
|
modifierArticles?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableModifierArticleOptions[] | undefined;
|
|
731
731
|
name: string;
|
|
732
|
-
orderable: "
|
|
732
|
+
orderable: "full" | "forbidden" | "internal" | "beta_testing" | "deprecated";
|
|
733
733
|
picture?: string | undefined;
|
|
734
734
|
possibleArticleChanges?: import("./types.js").MittwaldAPIV2.Components.Schemas.ArticleReadableChangeArticleOptions[] | undefined;
|
|
735
735
|
price?: number | undefined;
|
|
@@ -752,7 +752,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
752
752
|
tags?: string[] | undefined;
|
|
753
753
|
templateNames?: string[] | undefined;
|
|
754
754
|
articleIds?: string[] | undefined;
|
|
755
|
-
orderable?: ("
|
|
755
|
+
orderable?: ("full" | "forbidden" | "internal" | "beta_testing" | "deprecated")[] | undefined;
|
|
756
756
|
name?: string | undefined;
|
|
757
757
|
} | undefined;
|
|
758
758
|
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
@@ -768,7 +768,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
768
768
|
tags?: string[] | undefined;
|
|
769
769
|
templateNames?: string[] | undefined;
|
|
770
770
|
articleIds?: string[] | undefined;
|
|
771
|
-
orderable?: ("
|
|
771
|
+
orderable?: ("full" | "forbidden" | "internal" | "beta_testing" | "deprecated")[] | undefined;
|
|
772
772
|
name?: string | undefined;
|
|
773
773
|
} & Partial<{
|
|
774
774
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
@@ -1743,6 +1743,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1743
1743
|
printedInvoices?: boolean | undefined;
|
|
1744
1744
|
recipient?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceRecipient | undefined;
|
|
1745
1745
|
recipientSameAsOwner?: boolean | undefined;
|
|
1746
|
+
status?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceInvoiceSettingsStatus[] | undefined;
|
|
1746
1747
|
targetDay?: number | undefined;
|
|
1747
1748
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1748
1749
|
[x: string]: unknown;
|
|
@@ -1755,9 +1756,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1755
1756
|
invoicePeriod: number;
|
|
1756
1757
|
paymentSettings: {
|
|
1757
1758
|
accountHolder: string;
|
|
1758
|
-
bic: string;
|
|
1759
1759
|
iban: string;
|
|
1760
1760
|
method: "debit";
|
|
1761
|
+
bic?: string | undefined;
|
|
1761
1762
|
} | {
|
|
1762
1763
|
method: "invoice";
|
|
1763
1764
|
};
|
|
@@ -1821,6 +1822,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1821
1822
|
printedInvoices?: boolean | undefined;
|
|
1822
1823
|
recipient?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceRecipient | undefined;
|
|
1823
1824
|
recipientSameAsOwner?: boolean | undefined;
|
|
1825
|
+
status?: import("./types.js").MittwaldAPIV2.Components.Schemas.InvoiceInvoiceSettingsStatus[] | undefined;
|
|
1824
1826
|
targetDay?: number | undefined;
|
|
1825
1827
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
1826
1828
|
[x: string]: unknown;
|
|
@@ -1873,14 +1875,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1873
1875
|
orderCreateOrder: (request?: {
|
|
1874
1876
|
data?: {
|
|
1875
1877
|
orderData?: {
|
|
1876
|
-
domain: string;
|
|
1877
|
-
handleData: {
|
|
1878
|
-
ownerC: [import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainHandleField[]];
|
|
1879
|
-
adminC?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainHandleField[] | undefined;
|
|
1880
|
-
};
|
|
1881
|
-
projectId: string;
|
|
1882
|
-
authCode?: string | undefined;
|
|
1883
|
-
} | {
|
|
1884
1878
|
customerId: string;
|
|
1885
1879
|
description: string;
|
|
1886
1880
|
diskspaceInGiB: number;
|
|
@@ -1898,8 +1892,16 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1898
1892
|
diskspaceInGiB: number;
|
|
1899
1893
|
machineType: string;
|
|
1900
1894
|
useFreeTrial?: boolean | undefined;
|
|
1895
|
+
} | {
|
|
1896
|
+
domain: string;
|
|
1897
|
+
handleData: {
|
|
1898
|
+
ownerC: [import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainHandleField, ...import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainHandleField[]];
|
|
1899
|
+
adminC?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainHandleField[] | undefined;
|
|
1900
|
+
};
|
|
1901
|
+
projectId: string;
|
|
1902
|
+
authCode?: string | undefined;
|
|
1901
1903
|
} | undefined;
|
|
1902
|
-
orderType?: "
|
|
1904
|
+
orderType?: "domain" | "server" | "projectHosting" | undefined;
|
|
1903
1905
|
} | undefined;
|
|
1904
1906
|
headers?: {
|
|
1905
1907
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -1907,8 +1909,8 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
1907
1909
|
} | undefined;
|
|
1908
1910
|
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
1909
1911
|
data: {
|
|
1910
|
-
orderData?: import("./types.js").MittwaldAPIV2.Components.Schemas.
|
|
1911
|
-
orderType?: "
|
|
1912
|
+
orderData?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderProjectHostingOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderServerOrder | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainOrder | undefined;
|
|
1913
|
+
orderType?: "domain" | "server" | "projectHosting" | undefined;
|
|
1912
1914
|
};
|
|
1913
1915
|
} & {
|
|
1914
1916
|
headers?: Partial<{
|
|
@@ -2091,10 +2093,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2091
2093
|
orderPreviewOrder: (request?: {
|
|
2092
2094
|
data?: {
|
|
2093
2095
|
orderData?: {
|
|
2094
|
-
domain: string;
|
|
2095
|
-
authCode?: string | undefined;
|
|
2096
|
-
projectId?: string | undefined;
|
|
2097
|
-
} | {
|
|
2098
2096
|
diskspaceInGiB: number;
|
|
2099
2097
|
spec: {
|
|
2100
2098
|
ram?: number | undefined;
|
|
@@ -2109,16 +2107,20 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2109
2107
|
machineType: string;
|
|
2110
2108
|
customerId?: string | undefined;
|
|
2111
2109
|
description?: string | undefined;
|
|
2110
|
+
} | {
|
|
2111
|
+
domain: string;
|
|
2112
|
+
authCode?: string | undefined;
|
|
2113
|
+
projectId?: string | undefined;
|
|
2112
2114
|
} | undefined;
|
|
2113
|
-
orderType?: "
|
|
2115
|
+
orderType?: "domain" | "server" | "projectHosting" | undefined;
|
|
2114
2116
|
} | undefined;
|
|
2115
2117
|
headers?: {
|
|
2116
2118
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2117
2119
|
} | undefined;
|
|
2118
2120
|
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
2119
2121
|
data: {
|
|
2120
|
-
orderData?: import("./types.js").MittwaldAPIV2.Components.Schemas.
|
|
2121
|
-
orderType?: "
|
|
2122
|
+
orderData?: import("./types.js").MittwaldAPIV2.Components.Schemas.OrderProjectHostingOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderServerOrderPreview | import("./types.js").MittwaldAPIV2.Components.Schemas.OrderDomainOrderPreview | undefined;
|
|
2123
|
+
orderType?: "domain" | "server" | "projectHosting" | undefined;
|
|
2122
2124
|
};
|
|
2123
2125
|
} & {
|
|
2124
2126
|
headers?: Partial<{
|
|
@@ -2314,7 +2316,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2314
2316
|
relations?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference[] | undefined;
|
|
2315
2317
|
sharedWith?: import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationAggregateReference | undefined;
|
|
2316
2318
|
shortId: string;
|
|
2317
|
-
status: "open" | "
|
|
2319
|
+
status: "open" | "answered" | "closed";
|
|
2318
2320
|
title: string;
|
|
2319
2321
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2320
2322
|
[x: string]: unknown;
|
|
@@ -2410,7 +2412,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2410
2412
|
/** Update the status of a conversation. */
|
|
2411
2413
|
setConversationStatus: (request: {
|
|
2412
2414
|
data: {
|
|
2413
|
-
status: "open" | "
|
|
2415
|
+
status: "open" | "answered" | "closed";
|
|
2414
2416
|
};
|
|
2415
2417
|
conversationId: string;
|
|
2416
2418
|
headers?: {
|
|
@@ -2418,7 +2420,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2418
2420
|
} | undefined;
|
|
2419
2421
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
2420
2422
|
data: {
|
|
2421
|
-
status: "open" | "
|
|
2423
|
+
status: "open" | "answered" | "closed";
|
|
2422
2424
|
};
|
|
2423
2425
|
} & {
|
|
2424
2426
|
pathParameters: {
|
|
@@ -4736,7 +4738,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4736
4738
|
} | undefined;
|
|
4737
4739
|
queryParameters?: {
|
|
4738
4740
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
4739
|
-
status?: "
|
|
4741
|
+
status?: "unread" | "read" | undefined;
|
|
4740
4742
|
} | undefined;
|
|
4741
4743
|
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
4742
4744
|
headers?: Partial<{
|
|
@@ -4744,7 +4746,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4744
4746
|
}> | undefined;
|
|
4745
4747
|
} & {
|
|
4746
4748
|
queryParameters: {
|
|
4747
|
-
status?: "
|
|
4749
|
+
status?: "unread" | "read" | undefined;
|
|
4748
4750
|
} & Partial<{
|
|
4749
4751
|
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
4750
4752
|
}>;
|
|
@@ -5168,7 +5170,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5168
5170
|
combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
|
|
5169
5171
|
mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
|
|
5170
5172
|
srv: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
|
|
5171
|
-
/** Enable or disable the catchAll flag for a specific mail address */
|
|
5172
5173
|
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
5173
5174
|
};
|
|
5174
5175
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
@@ -5679,6 +5680,16 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5679
5680
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5680
5681
|
[x: string]: unknown;
|
|
5681
5682
|
}, 404, "application/json">>>;
|
|
5683
|
+
/** List all supported top level domains. */
|
|
5684
|
+
getSupportedTlds: (request?: {
|
|
5685
|
+
headers?: {
|
|
5686
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5687
|
+
} | undefined;
|
|
5688
|
+
} | null | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5689
|
+
headers?: Partial<{
|
|
5690
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5691
|
+
}> | undefined;
|
|
5692
|
+
}, import("@mittwald/api-client-commons").Response<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[], 200, "application/json">>>;
|
|
5682
5693
|
/** List all domain ownerships of a project. */
|
|
5683
5694
|
listDomainOwnerships: (request: {
|
|
5684
5695
|
projectId: string;
|
|
@@ -6358,12 +6369,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6358
6369
|
mailaddressCreate: (request: {
|
|
6359
6370
|
data: {
|
|
6360
6371
|
address: string;
|
|
6361
|
-
|
|
6362
|
-
mailbox: {
|
|
6363
|
-
enableSpamProtection: boolean;
|
|
6364
|
-
password: string;
|
|
6365
|
-
quotaInBytes: number;
|
|
6366
|
-
};
|
|
6372
|
+
forwardAddresses: string[];
|
|
6367
6373
|
};
|
|
6368
6374
|
projectId: string;
|
|
6369
6375
|
headers?: {
|
|
@@ -6373,7 +6379,12 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6373
6379
|
} | {
|
|
6374
6380
|
data: {
|
|
6375
6381
|
address: string;
|
|
6376
|
-
|
|
6382
|
+
isCatchAll: boolean;
|
|
6383
|
+
mailbox: {
|
|
6384
|
+
enableSpamProtection: boolean;
|
|
6385
|
+
password: string;
|
|
6386
|
+
quotaInBytes: number;
|
|
6387
|
+
};
|
|
6377
6388
|
};
|
|
6378
6389
|
projectId: string;
|
|
6379
6390
|
headers?: {
|
|
@@ -6381,6 +6392,11 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6381
6392
|
"x-access-token"?: string | undefined;
|
|
6382
6393
|
} | undefined;
|
|
6383
6394
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
|
|
6395
|
+
data: {
|
|
6396
|
+
address: string;
|
|
6397
|
+
forwardAddresses: string[];
|
|
6398
|
+
};
|
|
6399
|
+
} | {
|
|
6384
6400
|
data: {
|
|
6385
6401
|
address: string;
|
|
6386
6402
|
isCatchAll: boolean;
|
|
@@ -6390,11 +6406,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6390
6406
|
quotaInBytes: number;
|
|
6391
6407
|
};
|
|
6392
6408
|
};
|
|
6393
|
-
} | {
|
|
6394
|
-
data: {
|
|
6395
|
-
address: string;
|
|
6396
|
-
forwardAddresses: string[];
|
|
6397
|
-
};
|
|
6398
6409
|
}) & {
|
|
6399
6410
|
pathParameters: {
|
|
6400
6411
|
projectId: string;
|
|
@@ -7975,7 +7986,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
7975
7986
|
};
|
|
7976
7987
|
description: string;
|
|
7977
7988
|
directories: [string, ...string[]];
|
|
7978
|
-
accessLevel?: "
|
|
7989
|
+
accessLevel?: "read" | "full" | undefined;
|
|
7979
7990
|
expiresAt?: string | undefined;
|
|
7980
7991
|
};
|
|
7981
7992
|
projectId: string;
|
|
@@ -7985,7 +7996,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
7985
7996
|
} | undefined;
|
|
7986
7997
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
7987
7998
|
data: {
|
|
7988
|
-
accessLevel?: "
|
|
7999
|
+
accessLevel?: "read" | "full" | undefined;
|
|
7989
8000
|
authentication: import("./types.js").MittwaldAPIV2.Components.Schemas.SshuserAuthentication;
|
|
7990
8001
|
description: string;
|
|
7991
8002
|
directories: [string, ...string[]];
|
|
@@ -8086,7 +8097,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
8086
8097
|
sftpUserUpdateSftpUser: (request: {
|
|
8087
8098
|
sftpUserId: string;
|
|
8088
8099
|
data?: {
|
|
8089
|
-
accessLevel?: "
|
|
8100
|
+
accessLevel?: "read" | "full" | undefined;
|
|
8090
8101
|
active?: boolean | undefined;
|
|
8091
8102
|
description?: string | undefined;
|
|
8092
8103
|
directories?: [string, ...string[]] | undefined;
|
|
@@ -8100,7 +8111,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
8100
8111
|
} | undefined;
|
|
8101
8112
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
8102
8113
|
data: {
|
|
8103
|
-
accessLevel?: "
|
|
8114
|
+
accessLevel?: "read" | "full" | undefined;
|
|
8104
8115
|
active?: boolean | undefined;
|
|
8105
8116
|
description?: string | undefined;
|
|
8106
8117
|
directories?: [string, ...string[]] | undefined;
|
|
@@ -391,6 +391,8 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
|
|
|
391
391
|
getSpecificDomainOwnership: this.requestFunctionFactory(descriptors.domainGetSpecificDomainOwnership),
|
|
392
392
|
/** Verify a domain ownership. */
|
|
393
393
|
verifyDomainOwnership: this.requestFunctionFactory(descriptors.domainVerifyDomainOwnership),
|
|
394
|
+
/** List all supported top level domains. */
|
|
395
|
+
getSupportedTlds: this.requestFunctionFactory(descriptors.domainGetSupportedTlds),
|
|
394
396
|
/** List all domain ownerships of a project. */
|
|
395
397
|
listDomainOwnerships: this.requestFunctionFactory(descriptors.domainListDomainOwnerships),
|
|
396
398
|
/** List Domains belonging to a Project. */
|
|
@@ -299,6 +299,8 @@ export declare const domainGetScreenshotForDomain: OpenAPIOperation<RequestType<
|
|
|
299
299
|
export declare const domainGetSpecificDomainOwnership: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
300
300
|
/** Verify a domain ownership. */
|
|
301
301
|
export declare const domainVerifyDomainOwnership: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
302
|
+
/** List all supported top level domains. */
|
|
303
|
+
export declare const domainGetSupportedTlds: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2DomainsSupportedTlds.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsSupportedTlds.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsSupportedTlds.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsSupportedTlds.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsSupportedTlds.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
302
304
|
/** List all domain ownerships of a project. */
|
|
303
305
|
export declare const domainListDomainOwnerships: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
304
306
|
/** List Domains belonging to a Project. */
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.conversationListConversations = exports.contractListContracts = exports.contractGetNextTerminationDateForItem = exports.contractGetDetailOfContract = exports.contractGetDetailOfContractItem = exports.contractGetDetailOfContractByServer = exports.contractGetDetailOfContractByProject = exports.contractGetDetailOfContractByDomain = exports.contractGetBaseItemOfContract = exports.contractCancelContractTermination = exports.contractTerminateContract = exports.contractCancelContractTariffChange = exports.contractCancelContractItemTermination = exports.contractTerminateContractItem = exports.backupUpdateProjectBackupDescription = exports.backupDeleteProjectBackup = exports.backupGetProjectBackup = exports.backupUpdateProjectBackupSchedule = exports.backupDeleteProjectBackupSchedule = exports.backupGetProjectBackupSchedule = exports.backupCreateProjectBackup = exports.backupListProjectBackups = exports.backupCreateProjectBackupSchedule = exports.backupListProjectBackupSchedules = exports.backupDeleteProjectBackupExport = exports.backupCreateProjectBackupExport = exports.articleListArticles = exports.articleGetArticle = exports.appUnlinkDatabase = exports.appSetDatabaseUsers = exports.appRetrieveStatus = exports.appRequestAppinstallationCopy = exports.appReconcileDetectedApps = exports.appListUpdateCandidatesForAppversion = exports.appListSystemsoftwareversions = exports.appListSystemsoftwares = exports.appListAppversions = exports.appListApps = exports.appRequestAppinstallation = exports.appListAppinstallations = exports.appLinkDatabase = exports.appGetSystemsoftwareversion = exports.appGetSystemsoftware = exports.appGetMissingDependenciesForAppinstallation = exports.appGetAppversion = exports.appPatchAppinstallation = exports.appUninstallAppinstallation = exports.appGetAppinstallation = exports.appGetApp = exports.appExecuteAction = void 0;
|
|
4
4
|
exports.databaseCreateMysqlDatabase = exports.databaseListMysqlDatabases = exports.customerResendCustomerInviteMail = exports.customerRemoveAvatar = exports.customerRequestAvatarUpload = exports.customerListMembershipsForCustomer = exports.customerListInvitesForCustomer = exports.customerListCustomerMemberships = exports.customerListCustomerInvites = exports.customerLeaveCustomer = exports.customerIsCustomerLegallyCompetent = exports.customerGetCustomerTokenInvite = exports.customerDeleteCustomer = exports.customerUpdateCustomer = exports.customerGetCustomer = exports.customerUpdateCustomerMembership = exports.customerDeleteCustomerMembership = exports.customerGetCustomerMembership = exports.customerDeleteCustomerInvite = exports.customerGetCustomerInvite = exports.customerDeleteCategory = exports.customerUpdateCategory = exports.customerGetCustomerCategory = exports.customerDeclineCustomerInvite = exports.customerCreateCustomer = exports.customerListCustomers = exports.customerCreateCustomerInvite = exports.customerCreateCategory = exports.customerListOfCustomerCategories = exports.customerAcceptCustomerInvite = exports.cronjobUpdateCronjobAppId = exports.cronjobGetExecution = exports.cronjobUpdateCronjob = exports.cronjobDeleteCronjob = exports.cronjobGetCronjob = exports.cronjobCreateExecution = exports.cronjobListExecutions = exports.cronjobCreateCronjob = exports.cronjobListCronjobs = exports.cronjobAbortExecution = exports.conversationUpdateMessage = exports.conversationSetConversationStatus = exports.conversationRequestFileUpload = exports.conversationListCategories = exports.conversationUpdateConversation = exports.conversationGetConversation = exports.conversationGetCategory = exports.conversationCreateMessage = exports.conversationListMessagesByConversation = exports.conversationCreateConversation = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.
|
|
7
|
-
exports.
|
|
8
|
-
exports.userVerifyRegistration = exports.userVerifyPhoneNumber = exports.userVerifyEmail = exports.userSupportCodeRequest = exports.userResendVerificationEmail = exports.userRemoveAvatar = exports.userRequestAvatarUpload = exports.userRegister = exports.userLogout = exports.userTerminateAllSessions = exports.userListSessions = exports.userListFeedback = exports.userInitPasswordReset = exports.userInitMfa = exports.userUpdatePersonalInformation = exports.userGetUser = exports.userTerminateSession = exports.userGetSession = exports.userUpdatePersonalizedSettings = exports.userGetPersonalizedSettings = exports.userGetPasswordUpdatedAt = exports.userUpdateAccount = exports.userGetOwnAccount = exports.userDeleteUser = exports.userDeleteSshKey = exports.userEditSshKey = exports.userGetSshKey = exports.userDeleteApiToken = exports.userEditApiToken = exports.userGetApiToken = exports.userCreateSshKey = exports.userListSshKeys = exports.userCreateFeedback = exports.userCreateApiToken = exports.userListApiTokens = exports.userConfirmPasswordReset = exports.userDisableMfa = exports.userConfirmMfa = exports.userResetRecoverycodes = exports.userGetMfaStatus = exports.userCheckToken = exports.userChangePassword = exports.userChangeEmail = exports.userGetOwnEmail = exports.userAuthenticate = exports.userAuthenticateMfa = exports.userRemovePhoneNumber = exports.userAddPhoneNumber = void 0;
|
|
5
|
+
exports.domainListDomainOwnerships = exports.domainGetSupportedTlds = exports.domainVerifyDomainOwnership = exports.domainGetSpecificDomainOwnership = exports.domainGetScreenshotForDomain = exports.domainGetHandleFields = exports.domainDeleteDomain = exports.domainGetDomain = exports.domainDeclareProcessChangeHandles = exports.domainDeclareProcessChangeAuthcode = exports.domainDeclareNameservers = exports.domainCreateAuthcode2ForDomain = exports.domainCreateAuthcodeForDomain = exports.domainCheckDomainAvailability = exports.domainChangeProjectOfDomain = exports.domainChangeOwnercOfDomain = exports.domainAbortDeclareProcess = exports.dnsZonesForProject = exports.dnsZoneGetSpecific = exports.dnsSubZoneCreate = exports.dnsRecordTxtSet = exports.dnsRecordSrvSet = exports.dnsRecordMxSetManaged = exports.dnsRecordMxSetCustom = exports.dnsRecordCnameSet = exports.dnsRecordAsetManagedByIngress = exports.dnsRecordAsetCustom = exports.newsletterSubscribeUser = exports.databaseUpdateRedisDatabaseDescription = exports.databaseUpdateRedisDatabaseConfiguration = exports.databaseUpdateMysqlUserPassword = exports.databaseUpdateMysqlDatabaseDescription = exports.databaseUpdateMysqlDatabaseDefaultCharset = exports.databaseListRedisVersions = exports.databaseListMysqlVersions = exports.databaseListMysqlCharsets = exports.databaseGetMysqlUserPhpMyAdminUrl = exports.databaseEnableMysqlUser = exports.databaseDisableMysqlUser = exports.databaseDeleteRedisDatabase = exports.databaseGetRedisDatabase = exports.databaseDeleteMysqlUser = exports.databaseUpdateMysqlUser = exports.databaseGetMysqlUser = exports.databaseDeleteMysqlDatabase = exports.databaseGetMysqlDatabase = exports.databaseCreateRedisDatabase = exports.databaseListRedisDatabases = exports.databaseCreateMysqlUser = exports.databaseListMysqlUsers = void 0;
|
|
6
|
+
exports.orderListProjectOrders = exports.orderListCustomerOrders = exports.orderGetOrder = exports.orderCreateTariffChange = exports.orderCreateOrder = exports.notificationsReadNotification = exports.notificationsReadAllNotifications = exports.notificationsListNotifications = exports.notificationsCountUnreadNotifications = exports.newsletterUnsubscribeUser = exports.newsletterGetInfo = exports.mailProjectsettingUpdateWhitelist = exports.mailProjectsettingUpdateBlacklist = exports.mailProjectsettingGetSpecific = exports.mailMailaddressUpdateSpamprotection = exports.mailMailaddressUpdateQuota = exports.mailMailaddressUpdatePassword = exports.mailMailaddressUpdateForwardaddresses = exports.mailMailaddressUpdateCatchall = exports.mailMailaddressUpdateAutoresponder = exports.mailMailaddressUpdateAddress = exports.mailMailaddressDelete = exports.mailMailaddressGetSpecific = exports.mailMailaddressCreate = exports.mailMailaddressList = exports.mailDeliveryboxUpdatePassword = exports.mailDeliveryboxUpdateDescription = exports.mailDeliveryboxDelete = exports.mailDeliveryboxGetSpecific = exports.mailDeliveryboxCreate = exports.mailDeliveryboxList = exports.invoiceListCustomerInvoices = exports.invoiceUpdateInvoiceSettings = exports.invoiceGetDetailOfInvoiceSettings = exports.invoiceDetailOfInvoice = exports.ingressTls = exports.ingressRequestAcmeCertificateIssuance = exports.ingressPaths = exports.ingressListForProject = exports.ingressListAccessible = exports.ingressDelete = exports.ingressGetSpecific = exports.ingressCreate = exports.fileGetFile = exports.fileGetFileTypeRules = exports.fileGetFileTokenRules = exports.fileGetFileMeta = exports.fileCreateFile = exports.domainResendDomainEmail = exports.domainListDomains = void 0;
|
|
7
|
+
exports.sshUserDeleteSshUser = exports.sshUserGetSshUser = exports.sshUserCreateSshUser = exports.sshUserListSshUsers = exports.sftpUserUpdateSftpUser = exports.sftpUserDeleteSftpUser = exports.sftpUserGetSftpUser = exports.sftpUserCreateSftpUser = exports.sftpUserListSftpUsers = exports.servicetokenAuthenticateService = exports.relocationCreateLegacyTariffChange = exports.redirectusCreateRelocation = exports.projectUpdateServerDescription = exports.projectUpdateProjectDescription = exports.projectResendProjectInviteMail = exports.projectListServers = exports.projectListProjects = exports.projectListProjectMemberships = exports.projectListProjectInvites = exports.projectListMembershipsForProject = exports.projectListInvitesForProject = exports.projectLeaveProject = exports.projectGetServer = exports.projectGetSelfMembershipForProject = exports.projectGetProject = exports.projectGetProjectTokenInvite = exports.projectFileSystemListFiles = exports.projectFileSystemGetJwt = exports.projectFileSystemGetFileContent = exports.projectFileSystemGetDiskUsage = exports.projectFileSystemGetDirectories = exports.projectDeleteServerAvatar = exports.projectRequestServerAvatarUpload = exports.projectDeleteProject = exports.projectUpdateProjectMembership = exports.projectDeleteProjectMembership = exports.projectGetProjectMembership = exports.projectDeleteProjectInvite = exports.projectGetProjectInvite = exports.projectDeleteProjectAvatar = exports.projectRequestProjectAvatarUpload = exports.projectDeclineProjectInvite = exports.projectCreateProject = exports.projectCreateProjectInvite = exports.projectAcceptProjectInvite = exports.passwordValidationGetPasswordPolicy = exports.pageinsightsListPerformanceDataForProject = exports.pageinsightsGetPerformanceData = exports.orderPreviewTariffChange = exports.orderPreviewOrder = void 0;
|
|
8
|
+
exports.userVerifyRegistration = exports.userVerifyPhoneNumber = exports.userVerifyEmail = exports.userSupportCodeRequest = exports.userResendVerificationEmail = exports.userRemoveAvatar = exports.userRequestAvatarUpload = exports.userRegister = exports.userLogout = exports.userTerminateAllSessions = exports.userListSessions = exports.userListFeedback = exports.userInitPasswordReset = exports.userInitMfa = exports.userUpdatePersonalInformation = exports.userGetUser = exports.userTerminateSession = exports.userGetSession = exports.userUpdatePersonalizedSettings = exports.userGetPersonalizedSettings = exports.userGetPasswordUpdatedAt = exports.userUpdateAccount = exports.userGetOwnAccount = exports.userDeleteUser = exports.userDeleteSshKey = exports.userEditSshKey = exports.userGetSshKey = exports.userDeleteApiToken = exports.userEditApiToken = exports.userGetApiToken = exports.userCreateSshKey = exports.userListSshKeys = exports.userCreateFeedback = exports.userCreateApiToken = exports.userListApiTokens = exports.userConfirmPasswordReset = exports.userDisableMfa = exports.userConfirmMfa = exports.userResetRecoverycodes = exports.userGetMfaStatus = exports.userCheckToken = exports.userChangePassword = exports.userChangeEmail = exports.userGetOwnEmail = exports.userAuthenticate = exports.userAuthenticateMfa = exports.userRemovePhoneNumber = exports.userAddPhoneNumber = exports.sshUserUpdateSshUser = void 0;
|
|
9
9
|
/** execute a runtime concerning action on a specific `AppInstallation` */
|
|
10
10
|
exports.appExecuteAction = {
|
|
11
11
|
path: "/v2/appinstallations/{appInstallationId}/actions/{action}",
|
|
@@ -894,6 +894,12 @@ exports.domainVerifyDomainOwnership = {
|
|
|
894
894
|
method: "POST",
|
|
895
895
|
operationId: "domain-verify-domain-ownership",
|
|
896
896
|
};
|
|
897
|
+
/** List all supported top level domains. */
|
|
898
|
+
exports.domainGetSupportedTlds = {
|
|
899
|
+
path: "/v2/domains/supported-tlds",
|
|
900
|
+
method: "GET",
|
|
901
|
+
operationId: "domain-get-supported-tlds",
|
|
902
|
+
};
|
|
897
903
|
/** List all domain ownerships of a project. */
|
|
898
904
|
exports.domainListDomainOwnerships = {
|
|
899
905
|
path: "/v2/projects/{projectId}/domain-ownerships",
|