@mittwald/api-client 3.0.22 → 3.0.24
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/cjs/generated/v2/client-react.d.ts +21 -19
- package/dist/cjs/generated/v2/client-react.js +7 -7
- package/dist/cjs/generated/v2/client.d.ts +315 -325
- package/dist/cjs/generated/v2/client.js +28 -28
- package/dist/cjs/generated/v2/descriptors.d.ts +28 -28
- package/dist/cjs/generated/v2/descriptors.js +79 -79
- package/dist/cjs/generated/v2/types.d.ts +2102 -2103
- package/dist/esm/generated/v2/client-react.d.ts +21 -19
- package/dist/esm/generated/v2/client-react.js +7 -7
- package/dist/esm/generated/v2/client.d.ts +315 -325
- package/dist/esm/generated/v2/client.js +28 -28
- package/dist/esm/generated/v2/descriptors.d.ts +28 -28
- package/dist/esm/generated/v2/descriptors.js +75 -75
- package/dist/esm/generated/v2/types.d.ts +2102 -2103
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -306,6 +306,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
306
306
|
articles: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractArticle[];
|
|
307
307
|
contractPeriod: number;
|
|
308
308
|
description: string;
|
|
309
|
+
freeTrialDays: number;
|
|
309
310
|
groupByProjectId?: string | undefined;
|
|
310
311
|
invoicingPeriod: number;
|
|
311
312
|
isActivated: boolean;
|
|
@@ -391,6 +392,7 @@ declare const buildContractApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
391
392
|
articles: import("./types.js").MittwaldAPIV2.Components.Schemas.ContractArticle[];
|
|
392
393
|
contractPeriod: number;
|
|
393
394
|
description: string;
|
|
395
|
+
freeTrialDays: number;
|
|
394
396
|
groupByProjectId?: string | undefined;
|
|
395
397
|
invoicingPeriod: number;
|
|
396
398
|
isActivated: boolean;
|
|
@@ -1064,16 +1066,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1064
1066
|
transferInAuthCode?: string | undefined;
|
|
1065
1067
|
usesDefaultNameserver: boolean;
|
|
1066
1068
|
}>;
|
|
1067
|
-
/** Get a HandleSchema. */
|
|
1068
|
-
getHandleFields: (conf: {
|
|
1069
|
-
domainName: string;
|
|
1070
|
-
headers?: {
|
|
1071
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1072
|
-
} | undefined;
|
|
1073
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1074
|
-
jsonSchemaAdminC?: {} | undefined;
|
|
1075
|
-
jsonSchemaOwnerC: {};
|
|
1076
|
-
}>;
|
|
1077
1069
|
/** Get File Service Reference for a Screenshot of a domain. */
|
|
1078
1070
|
getScreenshotForDomain: (conf: {
|
|
1079
1071
|
data: {
|
|
@@ -1088,8 +1080,8 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1088
1080
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1089
1081
|
references?: string[] | undefined;
|
|
1090
1082
|
}>;
|
|
1091
|
-
/** Get a
|
|
1092
|
-
|
|
1083
|
+
/** Get a DomainOwnership. */
|
|
1084
|
+
getDomainOwnership: (conf: {
|
|
1093
1085
|
domainOwnershipId: string;
|
|
1094
1086
|
headers?: {
|
|
1095
1087
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -1101,13 +1093,7 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1101
1093
|
projectId: string;
|
|
1102
1094
|
txtRecord: string;
|
|
1103
1095
|
}>;
|
|
1104
|
-
/** List
|
|
1105
|
-
getSupportedTlds: (conf?: {
|
|
1106
|
-
headers?: {
|
|
1107
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1108
|
-
} | undefined;
|
|
1109
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
|
|
1110
|
-
/** List all domain ownerships of a project. */
|
|
1096
|
+
/** List the DomainOwnerships of a project. */
|
|
1111
1097
|
listDomainOwnerships: (conf: {
|
|
1112
1098
|
projectId: string;
|
|
1113
1099
|
headers?: {
|
|
@@ -1164,6 +1150,22 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1164
1150
|
"x-access-token"?: string | undefined;
|
|
1165
1151
|
} | undefined;
|
|
1166
1152
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.IngressIngress[]>;
|
|
1153
|
+
/** List TLDs. */
|
|
1154
|
+
listTlds: (conf?: {
|
|
1155
|
+
headers?: {
|
|
1156
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1157
|
+
} | undefined;
|
|
1158
|
+
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
|
|
1159
|
+
/** List the contact schemas for a TLD. */
|
|
1160
|
+
listTldContactSchemas: (conf: {
|
|
1161
|
+
tld: string;
|
|
1162
|
+
headers?: {
|
|
1163
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1164
|
+
} | undefined;
|
|
1165
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1166
|
+
jsonSchemaAdminC?: {} | undefined;
|
|
1167
|
+
jsonSchemaOwnerC: {};
|
|
1168
|
+
}>;
|
|
1167
1169
|
};
|
|
1168
1170
|
declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1169
1171
|
/** Get a File's meta. */
|
|
@@ -181,15 +181,11 @@ const buildDomainApi = (baseClient) => ({
|
|
|
181
181
|
dnsZonesForProject: new react_1.ApiCallAsyncResourceFactory(descriptors.dnsZonesForProject, baseClient.domain.dnsZonesForProject).getApiResource,
|
|
182
182
|
/** Get a Domain. */
|
|
183
183
|
getDomain: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
184
|
-
/** Get a HandleSchema. */
|
|
185
|
-
getHandleFields: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetHandleFields, baseClient.domain.getHandleFields).getApiResource,
|
|
186
184
|
/** Get File Service Reference for a Screenshot of a domain. */
|
|
187
185
|
getScreenshotForDomain: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetScreenshotForDomain, baseClient.domain.getScreenshotForDomain).getApiResource,
|
|
188
|
-
/** Get a
|
|
189
|
-
|
|
190
|
-
/** List
|
|
191
|
-
getSupportedTlds: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetSupportedTlds, baseClient.domain.getSupportedTlds).getApiResource,
|
|
192
|
-
/** List all domain ownerships of a project. */
|
|
186
|
+
/** Get a DomainOwnership. */
|
|
187
|
+
getDomainOwnership: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
|
|
188
|
+
/** List the DomainOwnerships of a project. */
|
|
193
189
|
listDomainOwnerships: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
|
|
194
190
|
/** List Domains belonging to a Project. */
|
|
195
191
|
listDomains: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
|
|
@@ -199,6 +195,10 @@ const buildDomainApi = (baseClient) => ({
|
|
|
199
195
|
ingressListAccessible: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressListAccessible, baseClient.domain.ingressListAccessible).getApiResource,
|
|
200
196
|
/** List Ingresses belonging to a project. */
|
|
201
197
|
ingressListForProject: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressListForProject, baseClient.domain.ingressListForProject).getApiResource,
|
|
198
|
+
/** List TLDs. */
|
|
199
|
+
listTlds: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
200
|
+
/** List the contact schemas for a TLD. */
|
|
201
|
+
listTldContactSchemas: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
202
202
|
});
|
|
203
203
|
const buildFileApi = (baseClient) => ({
|
|
204
204
|
/** Get a File's meta. */
|