@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. */
|
|
@@ -152,15 +152,11 @@ const buildDomainApi = (baseClient) => ({
|
|
|
152
152
|
dnsZonesForProject: new ApiCallAsyncResourceFactory(descriptors.dnsZonesForProject, baseClient.domain.dnsZonesForProject).getApiResource,
|
|
153
153
|
/** Get a Domain. */
|
|
154
154
|
getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
155
|
-
/** Get a HandleSchema. */
|
|
156
|
-
getHandleFields: new ApiCallAsyncResourceFactory(descriptors.domainGetHandleFields, baseClient.domain.getHandleFields).getApiResource,
|
|
157
155
|
/** Get File Service Reference for a Screenshot of a domain. */
|
|
158
156
|
getScreenshotForDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetScreenshotForDomain, baseClient.domain.getScreenshotForDomain).getApiResource,
|
|
159
|
-
/** Get a
|
|
160
|
-
|
|
161
|
-
/** List
|
|
162
|
-
getSupportedTlds: new ApiCallAsyncResourceFactory(descriptors.domainGetSupportedTlds, baseClient.domain.getSupportedTlds).getApiResource,
|
|
163
|
-
/** List all domain ownerships of a project. */
|
|
157
|
+
/** Get a DomainOwnership. */
|
|
158
|
+
getDomainOwnership: new ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
|
|
159
|
+
/** List the DomainOwnerships of a project. */
|
|
164
160
|
listDomainOwnerships: new ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
|
|
165
161
|
/** List Domains belonging to a Project. */
|
|
166
162
|
listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
|
|
@@ -170,6 +166,10 @@ const buildDomainApi = (baseClient) => ({
|
|
|
170
166
|
ingressListAccessible: new ApiCallAsyncResourceFactory(descriptors.ingressListAccessible, baseClient.domain.ingressListAccessible).getApiResource,
|
|
171
167
|
/** List Ingresses belonging to a project. */
|
|
172
168
|
ingressListForProject: new ApiCallAsyncResourceFactory(descriptors.ingressListForProject, baseClient.domain.ingressListForProject).getApiResource,
|
|
169
|
+
/** List TLDs. */
|
|
170
|
+
listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
171
|
+
/** List the contact schemas for a TLD. */
|
|
172
|
+
listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
173
173
|
});
|
|
174
174
|
const buildFileApi = (baseClient) => ({
|
|
175
175
|
/** Get a File's meta. */
|