@mittwald/api-client 3.0.25 → 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 +50 -50
- package/dist/cjs/generated/v2/client-react.js +10 -10
- package/dist/cjs/generated/v2/client.d.ts +459 -459
- package/dist/cjs/generated/v2/client.js +34 -34
- package/dist/cjs/generated/v2/descriptors.d.ts +36 -36
- package/dist/cjs/generated/v2/descriptors.js +111 -111
- package/dist/cjs/generated/v2/types.d.ts +2299 -2299
- package/dist/esm/generated/v2/client-react.d.ts +50 -50
- package/dist/esm/generated/v2/client-react.js +10 -10
- package/dist/esm/generated/v2/client.d.ts +459 -459
- package/dist/esm/generated/v2/client.js +34 -34
- package/dist/esm/generated/v2/descriptors.d.ts +36 -36
- package/dist/esm/generated/v2/descriptors.js +107 -107
- package/dist/esm/generated/v2/types.d.ts +2299 -2299
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1015,6 +1015,32 @@ 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
|
+
/** Get a DNSZone. */
|
|
1019
|
+
dnsGetDnsZone: (conf: {
|
|
1020
|
+
dnsZoneId: string;
|
|
1021
|
+
headers?: {
|
|
1022
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1023
|
+
"x-access-token"?: string | undefined;
|
|
1024
|
+
} | undefined;
|
|
1025
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1026
|
+
domain: string;
|
|
1027
|
+
id: string;
|
|
1028
|
+
recordSet: {
|
|
1029
|
+
cname: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
|
|
1030
|
+
combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
|
|
1031
|
+
mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
|
|
1032
|
+
srv: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
|
|
1033
|
+
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
1034
|
+
};
|
|
1035
|
+
}>;
|
|
1036
|
+
/** List DNSZones belonging to a Project. */
|
|
1037
|
+
dnsListDnsZones: (conf: {
|
|
1038
|
+
projectId: string;
|
|
1039
|
+
headers?: {
|
|
1040
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1041
|
+
"x-access-token"?: string | undefined;
|
|
1042
|
+
} | undefined;
|
|
1043
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
|
|
1018
1044
|
/** Get a Domain. */
|
|
1019
1045
|
getDomain: (conf: {
|
|
1020
1046
|
domainId: string;
|
|
@@ -1040,6 +1066,19 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1040
1066
|
transferInAuthCode?: string | undefined;
|
|
1041
1067
|
usesDefaultNameserver: boolean;
|
|
1042
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
|
+
}>;
|
|
1043
1082
|
/** Get File Service Reference for a Screenshot of a domain. */
|
|
1044
1083
|
getScreenshotForDomain: (conf: {
|
|
1045
1084
|
data: {
|
|
@@ -1076,19 +1115,22 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1076
1115
|
domainSearchName?: string | undefined;
|
|
1077
1116
|
} | undefined;
|
|
1078
1117
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
|
|
1079
|
-
/**
|
|
1080
|
-
|
|
1081
|
-
|
|
1118
|
+
/** List the contact schemas for a TLD. */
|
|
1119
|
+
listTldContactSchemas: (conf: {
|
|
1120
|
+
tld: string;
|
|
1082
1121
|
headers?: {
|
|
1083
1122
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1084
|
-
"x-access-token"?: string | undefined;
|
|
1085
1123
|
} | undefined;
|
|
1086
1124
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
projectId: string;
|
|
1090
|
-
txtRecord: string;
|
|
1125
|
+
jsonSchemaAdminC?: {} | undefined;
|
|
1126
|
+
jsonSchemaOwnerC: {};
|
|
1091
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[]>;
|
|
1092
1134
|
/** Get an Ingress. */
|
|
1093
1135
|
ingressGetSpecific: (conf: {
|
|
1094
1136
|
ingressId: string;
|
|
@@ -1124,48 +1166,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1124
1166
|
"x-access-token"?: string | undefined;
|
|
1125
1167
|
} | undefined;
|
|
1126
1168
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.IngressIngress[]>;
|
|
1127
|
-
/** List TLDs. */
|
|
1128
|
-
listTlds: (conf?: {
|
|
1129
|
-
headers?: {
|
|
1130
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1131
|
-
} | undefined;
|
|
1132
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
|
|
1133
|
-
/** List the contact schemas for a TLD. */
|
|
1134
|
-
listTldContactSchemas: (conf: {
|
|
1135
|
-
tld: string;
|
|
1136
|
-
headers?: {
|
|
1137
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1138
|
-
} | undefined;
|
|
1139
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1140
|
-
jsonSchemaAdminC?: {} | undefined;
|
|
1141
|
-
jsonSchemaOwnerC: {};
|
|
1142
|
-
}>;
|
|
1143
|
-
/** Get a DNSZone. */
|
|
1144
|
-
dnsGetDnsZone: (conf: {
|
|
1145
|
-
dnsZoneId: string;
|
|
1146
|
-
headers?: {
|
|
1147
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1148
|
-
"x-access-token"?: string | undefined;
|
|
1149
|
-
} | undefined;
|
|
1150
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1151
|
-
domain: string;
|
|
1152
|
-
id: string;
|
|
1153
|
-
recordSet: {
|
|
1154
|
-
cname: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCNAME;
|
|
1155
|
-
combinedARecords: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordCombinedA;
|
|
1156
|
-
mx: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordMX;
|
|
1157
|
-
srv: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordSRV;
|
|
1158
|
-
txt: import("./types.js").MittwaldAPIV2.Components.Schemas.DnsRecordTXT;
|
|
1159
|
-
};
|
|
1160
|
-
}>;
|
|
1161
|
-
/** List DNSZones belonging to a Project. */
|
|
1162
|
-
dnsListDnsZones: (conf: {
|
|
1163
|
-
projectId: string;
|
|
1164
|
-
headers?: {
|
|
1165
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1166
|
-
"x-access-token"?: string | undefined;
|
|
1167
|
-
} | undefined;
|
|
1168
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DnsZone[]>;
|
|
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
|
+
/** 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,
|
|
178
182
|
/** Get a Domain. */
|
|
179
183
|
getDomain: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
184
|
+
/** Get a DomainOwnership. */
|
|
185
|
+
getDomainOwnership: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
|
|
180
186
|
/** Get File Service Reference for a Screenshot of a domain. */
|
|
181
187
|
getScreenshotForDomain: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetScreenshotForDomain, baseClient.domain.getScreenshotForDomain).getApiResource,
|
|
182
188
|
/** List the DomainOwnerships of a project. */
|
|
183
189
|
listDomainOwnerships: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
|
|
184
190
|
/** List Domains belonging to a Project. */
|
|
185
191
|
listDomains: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
|
|
186
|
-
/**
|
|
187
|
-
|
|
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,
|
|
188
196
|
/** Get an Ingress. */
|
|
189
197
|
ingressGetSpecific: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressGetSpecific, baseClient.domain.ingressGetSpecific).getApiResource,
|
|
190
198
|
/** List Ingresses the user has access to. */
|
|
191
199
|
ingressListAccessible: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressListAccessible, baseClient.domain.ingressListAccessible).getApiResource,
|
|
192
200
|
/** List Ingresses belonging to a project. */
|
|
193
201
|
ingressListForProject: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressListForProject, baseClient.domain.ingressListForProject).getApiResource,
|
|
194
|
-
/** List TLDs. */
|
|
195
|
-
listTlds: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
196
|
-
/** List the contact schemas for a TLD. */
|
|
197
|
-
listTldContactSchemas: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
198
|
-
/** Get a DNSZone. */
|
|
199
|
-
dnsGetDnsZone: new react_1.ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
|
|
200
|
-
/** List DNSZones belonging to a Project. */
|
|
201
|
-
dnsListDnsZones: new react_1.ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
202
202
|
});
|
|
203
203
|
const buildFileApi = (baseClient) => ({
|
|
204
204
|
/** Get a File's meta. */
|