@mittwald/api-client 3.0.24 → 3.0.26
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 +34 -34
- package/dist/cjs/generated/v2/client-react.js +10 -10
- package/dist/cjs/generated/v2/client.d.ts +465 -589
- package/dist/cjs/generated/v2/client.js +32 -42
- package/dist/cjs/generated/v2/descriptors.d.ts +32 -42
- package/dist/cjs/generated/v2/descriptors.js +87 -117
- package/dist/cjs/generated/v2/types.d.ts +383 -561
- package/dist/esm/generated/v2/client-react.d.ts +34 -34
- package/dist/esm/generated/v2/client-react.js +10 -10
- package/dist/esm/generated/v2/client.d.ts +465 -589
- package/dist/esm/generated/v2/client.js +32 -42
- package/dist/esm/generated/v2/descriptors.d.ts +32 -42
- package/dist/esm/generated/v2/descriptors.js +83 -113
- package/dist/esm/generated/v2/types.d.ts +383 -561
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1015,9 +1015,9 @@ declare const buildDatabaseApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1015
1015
|
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DatabaseRedisVersion[]>;
|
|
1016
1016
|
};
|
|
1017
1017
|
declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1018
|
-
/**
|
|
1019
|
-
|
|
1020
|
-
|
|
1018
|
+
/** Get a DNSZone. */
|
|
1019
|
+
dnsGetDnsZone: (conf: {
|
|
1020
|
+
dnsZoneId: string;
|
|
1021
1021
|
headers?: {
|
|
1022
1022
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1023
1023
|
"x-access-token"?: string | undefined;
|
|
@@ -1033,8 +1033,8 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1033
1033
|
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
1034
1034
|
};
|
|
1035
1035
|
}>;
|
|
1036
|
-
/**
|
|
1037
|
-
|
|
1036
|
+
/** List DNSZones belonging to a Project. */
|
|
1037
|
+
dnsListDnsZones: (conf: {
|
|
1038
1038
|
projectId: string;
|
|
1039
1039
|
headers?: {
|
|
1040
1040
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
@@ -1066,6 +1066,19 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1066
1066
|
transferInAuthCode?: string | undefined;
|
|
1067
1067
|
usesDefaultNameserver: boolean;
|
|
1068
1068
|
}>;
|
|
1069
|
+
/** Get a DomainOwnership. */
|
|
1070
|
+
getDomainOwnership: (conf: {
|
|
1071
|
+
domainOwnershipId: string;
|
|
1072
|
+
headers?: {
|
|
1073
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1074
|
+
"x-access-token"?: string | undefined;
|
|
1075
|
+
} | undefined;
|
|
1076
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1077
|
+
domain: string;
|
|
1078
|
+
id: string;
|
|
1079
|
+
projectId: string;
|
|
1080
|
+
txtRecord: string;
|
|
1081
|
+
}>;
|
|
1069
1082
|
/** Get File Service Reference for a Screenshot of a domain. */
|
|
1070
1083
|
getScreenshotForDomain: (conf: {
|
|
1071
1084
|
data: {
|
|
@@ -1080,19 +1093,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1080
1093
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1081
1094
|
references?: string[] | undefined;
|
|
1082
1095
|
}>;
|
|
1083
|
-
/** Get a DomainOwnership. */
|
|
1084
|
-
getDomainOwnership: (conf: {
|
|
1085
|
-
domainOwnershipId: string;
|
|
1086
|
-
headers?: {
|
|
1087
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1088
|
-
"x-access-token"?: string | undefined;
|
|
1089
|
-
} | undefined;
|
|
1090
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1091
|
-
domain: string;
|
|
1092
|
-
id: string;
|
|
1093
|
-
projectId: string;
|
|
1094
|
-
txtRecord: string;
|
|
1095
|
-
}>;
|
|
1096
1096
|
/** List the DomainOwnerships of a project. */
|
|
1097
1097
|
listDomainOwnerships: (conf: {
|
|
1098
1098
|
projectId: string;
|
|
@@ -1115,6 +1115,22 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1115
1115
|
domainSearchName?: string | undefined;
|
|
1116
1116
|
} | undefined;
|
|
1117
1117
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
|
|
1118
|
+
/** List the contact schemas for a TLD. */
|
|
1119
|
+
listTldContactSchemas: (conf: {
|
|
1120
|
+
tld: string;
|
|
1121
|
+
headers?: {
|
|
1122
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1123
|
+
} | undefined;
|
|
1124
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1125
|
+
jsonSchemaAdminC?: {} | undefined;
|
|
1126
|
+
jsonSchemaOwnerC: {};
|
|
1127
|
+
}>;
|
|
1128
|
+
/** List TLDs. */
|
|
1129
|
+
listTlds: (conf?: {
|
|
1130
|
+
headers?: {
|
|
1131
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1132
|
+
} | undefined;
|
|
1133
|
+
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
|
|
1118
1134
|
/** Get an Ingress. */
|
|
1119
1135
|
ingressGetSpecific: (conf: {
|
|
1120
1136
|
ingressId: string;
|
|
@@ -1150,22 +1166,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1150
1166
|
"x-access-token"?: string | undefined;
|
|
1151
1167
|
} | undefined;
|
|
1152
1168
|
}) => 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
|
-
}>;
|
|
1169
1169
|
};
|
|
1170
1170
|
declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1171
1171
|
/** Get a File's meta. */
|
|
@@ -175,30 +175,30 @@ const buildDatabaseApi = (baseClient) => ({
|
|
|
175
175
|
listRedisVersions: new react_1.ApiCallAsyncResourceFactory(descriptors.databaseListRedisVersions, baseClient.database.listRedisVersions).getApiResource,
|
|
176
176
|
});
|
|
177
177
|
const buildDomainApi = (baseClient) => ({
|
|
178
|
-
/**
|
|
179
|
-
|
|
180
|
-
/**
|
|
181
|
-
|
|
178
|
+
/** Get a DNSZone. */
|
|
179
|
+
dnsGetDnsZone: new react_1.ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
|
|
180
|
+
/** List DNSZones belonging to a Project. */
|
|
181
|
+
dnsListDnsZones: new react_1.ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
182
182
|
/** Get a Domain. */
|
|
183
183
|
getDomain: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
184
|
-
/** Get File Service Reference for a Screenshot of a domain. */
|
|
185
|
-
getScreenshotForDomain: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetScreenshotForDomain, baseClient.domain.getScreenshotForDomain).getApiResource,
|
|
186
184
|
/** Get a DomainOwnership. */
|
|
187
185
|
getDomainOwnership: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
|
|
186
|
+
/** Get File Service Reference for a Screenshot of a domain. */
|
|
187
|
+
getScreenshotForDomain: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetScreenshotForDomain, baseClient.domain.getScreenshotForDomain).getApiResource,
|
|
188
188
|
/** List the DomainOwnerships of a project. */
|
|
189
189
|
listDomainOwnerships: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
|
|
190
190
|
/** List Domains belonging to a Project. */
|
|
191
191
|
listDomains: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
|
|
192
|
+
/** List the contact schemas for a TLD. */
|
|
193
|
+
listTldContactSchemas: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
194
|
+
/** List TLDs. */
|
|
195
|
+
listTlds: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
192
196
|
/** Get an Ingress. */
|
|
193
197
|
ingressGetSpecific: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressGetSpecific, baseClient.domain.ingressGetSpecific).getApiResource,
|
|
194
198
|
/** List Ingresses the user has access to. */
|
|
195
199
|
ingressListAccessible: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressListAccessible, baseClient.domain.ingressListAccessible).getApiResource,
|
|
196
200
|
/** List Ingresses belonging to a project. */
|
|
197
201
|
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. */
|