@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. */
|
|
@@ -146,20 +146,16 @@ const buildDatabaseApi = (baseClient) => ({
|
|
|
146
146
|
listRedisVersions: new ApiCallAsyncResourceFactory(descriptors.databaseListRedisVersions, baseClient.database.listRedisVersions).getApiResource,
|
|
147
147
|
});
|
|
148
148
|
const buildDomainApi = (baseClient) => ({
|
|
149
|
-
/** gets a specific zone */
|
|
150
|
-
dnsZoneGetSpecific: new ApiCallAsyncResourceFactory(descriptors.dnsZoneGetSpecific, baseClient.domain.dnsZoneGetSpecific).getApiResource,
|
|
151
|
-
/** gets all dns zones by project id */
|
|
152
|
-
dnsZonesForProject: new ApiCallAsyncResourceFactory(descriptors.dnsZonesForProject, baseClient.domain.dnsZonesForProject).getApiResource,
|
|
153
149
|
/** Get a Domain. */
|
|
154
150
|
getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
155
151
|
/** Get File Service Reference for a Screenshot of a domain. */
|
|
156
152
|
getScreenshotForDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetScreenshotForDomain, baseClient.domain.getScreenshotForDomain).getApiResource,
|
|
157
|
-
/** Get a DomainOwnership. */
|
|
158
|
-
getDomainOwnership: new ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
|
|
159
153
|
/** List the DomainOwnerships of a project. */
|
|
160
154
|
listDomainOwnerships: new ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
|
|
161
155
|
/** List Domains belonging to a Project. */
|
|
162
156
|
listDomains: new ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
|
|
157
|
+
/** Get a DomainOwnership. */
|
|
158
|
+
getDomainOwnership: new ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
|
|
163
159
|
/** Get an Ingress. */
|
|
164
160
|
ingressGetSpecific: new ApiCallAsyncResourceFactory(descriptors.ingressGetSpecific, baseClient.domain.ingressGetSpecific).getApiResource,
|
|
165
161
|
/** List Ingresses the user has access to. */
|
|
@@ -170,6 +166,10 @@ const buildDomainApi = (baseClient) => ({
|
|
|
170
166
|
listTlds: new ApiCallAsyncResourceFactory(descriptors.domainListTlds, baseClient.domain.listTlds).getApiResource,
|
|
171
167
|
/** List the contact schemas for a TLD. */
|
|
172
168
|
listTldContactSchemas: new ApiCallAsyncResourceFactory(descriptors.domainListTldContactSchemas, baseClient.domain.listTldContactSchemas).getApiResource,
|
|
169
|
+
/** Get a DNSZone. */
|
|
170
|
+
dnsGetDnsZone: new ApiCallAsyncResourceFactory(descriptors.dnsGetDnsZone, baseClient.domain.dnsGetDnsZone).getApiResource,
|
|
171
|
+
/** List DNSZones belonging to a Project. */
|
|
172
|
+
dnsListDnsZones: new ApiCallAsyncResourceFactory(descriptors.dnsListDnsZones, baseClient.domain.dnsListDnsZones).getApiResource,
|
|
173
173
|
});
|
|
174
174
|
const buildFileApi = (baseClient) => ({
|
|
175
175
|
/** Get a File's meta. */
|