@mittwald/api-client 3.0.24 → 3.0.25
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 +39 -39
- package/dist/cjs/generated/v2/client-react.js +6 -6
- package/dist/cjs/generated/v2/client.d.ts +342 -466
- package/dist/cjs/generated/v2/client.js +16 -26
- package/dist/cjs/generated/v2/descriptors.d.ts +18 -28
- package/dist/cjs/generated/v2/descriptors.js +56 -86
- package/dist/cjs/generated/v2/types.d.ts +448 -626
- package/dist/esm/generated/v2/client-react.d.ts +39 -39
- package/dist/esm/generated/v2/client-react.js +6 -6
- package/dist/esm/generated/v2/client.d.ts +342 -466
- package/dist/esm/generated/v2/client.js +16 -26
- package/dist/esm/generated/v2/descriptors.d.ts +18 -28
- package/dist/esm/generated/v2/descriptors.js +52 -82
- package/dist/esm/generated/v2/types.d.ts +448 -626
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1015,32 +1015,6 @@ 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
|
-
/** gets a specific zone */
|
|
1019
|
-
dnsZoneGetSpecific: (conf: {
|
|
1020
|
-
zoneId: 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
|
-
/** gets all dns zones by project id */
|
|
1037
|
-
dnsZonesForProject: (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[]>;
|
|
1044
1018
|
/** Get a Domain. */
|
|
1045
1019
|
getDomain: (conf: {
|
|
1046
1020
|
domainId: string;
|
|
@@ -1080,19 +1054,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1080
1054
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1081
1055
|
references?: string[] | undefined;
|
|
1082
1056
|
}>;
|
|
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
1057
|
/** List the DomainOwnerships of a project. */
|
|
1097
1058
|
listDomainOwnerships: (conf: {
|
|
1098
1059
|
projectId: string;
|
|
@@ -1115,6 +1076,19 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1115
1076
|
domainSearchName?: string | undefined;
|
|
1116
1077
|
} | undefined;
|
|
1117
1078
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
|
|
1079
|
+
/** Get a DomainOwnership. */
|
|
1080
|
+
getDomainOwnership: (conf: {
|
|
1081
|
+
domainOwnershipId: string;
|
|
1082
|
+
headers?: {
|
|
1083
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1084
|
+
"x-access-token"?: string | undefined;
|
|
1085
|
+
} | undefined;
|
|
1086
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1087
|
+
domain: string;
|
|
1088
|
+
id: string;
|
|
1089
|
+
projectId: string;
|
|
1090
|
+
txtRecord: string;
|
|
1091
|
+
}>;
|
|
1118
1092
|
/** Get an Ingress. */
|
|
1119
1093
|
ingressGetSpecific: (conf: {
|
|
1120
1094
|
ingressId: string;
|
|
@@ -1166,6 +1140,32 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1166
1140
|
jsonSchemaAdminC?: {} | undefined;
|
|
1167
1141
|
jsonSchemaOwnerC: {};
|
|
1168
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,20 +175,16 @@ const buildDatabaseApi = (baseClient) => ({
|
|
|
175
175
|
listRedisVersions: new react_1.ApiCallAsyncResourceFactory(descriptors.databaseListRedisVersions, baseClient.database.listRedisVersions).getApiResource,
|
|
176
176
|
});
|
|
177
177
|
const buildDomainApi = (baseClient) => ({
|
|
178
|
-
/** gets a specific zone */
|
|
179
|
-
dnsZoneGetSpecific: new react_1.ApiCallAsyncResourceFactory(descriptors.dnsZoneGetSpecific, baseClient.domain.dnsZoneGetSpecific).getApiResource,
|
|
180
|
-
/** gets all dns zones by project id */
|
|
181
|
-
dnsZonesForProject: new react_1.ApiCallAsyncResourceFactory(descriptors.dnsZonesForProject, baseClient.domain.dnsZonesForProject).getApiResource,
|
|
182
178
|
/** Get a Domain. */
|
|
183
179
|
getDomain: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
184
180
|
/** Get File Service Reference for a Screenshot of a domain. */
|
|
185
181
|
getScreenshotForDomain: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetScreenshotForDomain, baseClient.domain.getScreenshotForDomain).getApiResource,
|
|
186
|
-
/** Get a DomainOwnership. */
|
|
187
|
-
getDomainOwnership: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
|
|
188
182
|
/** List the DomainOwnerships of a project. */
|
|
189
183
|
listDomainOwnerships: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
|
|
190
184
|
/** List Domains belonging to a Project. */
|
|
191
185
|
listDomains: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
|
|
186
|
+
/** Get a DomainOwnership. */
|
|
187
|
+
getDomainOwnership: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
|
|
192
188
|
/** Get an Ingress. */
|
|
193
189
|
ingressGetSpecific: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressGetSpecific, baseClient.domain.ingressGetSpecific).getApiResource,
|
|
194
190
|
/** List Ingresses the user has access to. */
|
|
@@ -199,6 +195,10 @@ const buildDomainApi = (baseClient) => ({
|
|
|
199
195
|
listTlds: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
200
196
|
/** List the contact schemas for a TLD. */
|
|
201
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. */
|