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