@mittwald/api-client 3.0.22 → 3.0.23
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 +29 -29
- package/dist/cjs/generated/v2/client-react.js +6 -6
- package/dist/cjs/generated/v2/client.d.ts +330 -330
- package/dist/cjs/generated/v2/client.js +26 -26
- package/dist/cjs/generated/v2/descriptors.d.ts +26 -26
- package/dist/cjs/generated/v2/descriptors.js +82 -82
- package/dist/cjs/generated/v2/types.d.ts +2129 -2129
- package/dist/esm/generated/v2/client-react.d.ts +29 -29
- package/dist/esm/generated/v2/client-react.js +6 -6
- package/dist/esm/generated/v2/client.d.ts +330 -330
- package/dist/esm/generated/v2/client.js +26 -26
- package/dist/esm/generated/v2/descriptors.d.ts +26 -26
- package/dist/esm/generated/v2/descriptors.js +78 -78
- package/dist/esm/generated/v2/types.d.ts +2129 -2129
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1064,16 +1064,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1064
1064
|
transferInAuthCode?: string | undefined;
|
|
1065
1065
|
usesDefaultNameserver: boolean;
|
|
1066
1066
|
}>;
|
|
1067
|
-
/** Get a HandleSchema. */
|
|
1068
|
-
getHandleFields: (conf: {
|
|
1069
|
-
domainName: string;
|
|
1070
|
-
headers?: {
|
|
1071
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1072
|
-
} | undefined;
|
|
1073
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1074
|
-
jsonSchemaAdminC?: {} | undefined;
|
|
1075
|
-
jsonSchemaOwnerC: {};
|
|
1076
|
-
}>;
|
|
1077
1067
|
/** Get File Service Reference for a Screenshot of a domain. */
|
|
1078
1068
|
getScreenshotForDomain: (conf: {
|
|
1079
1069
|
data: {
|
|
@@ -1088,25 +1078,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1088
1078
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1089
1079
|
references?: string[] | undefined;
|
|
1090
1080
|
}>;
|
|
1091
|
-
/** Get a domain ownership. */
|
|
1092
|
-
getSpecificDomainOwnership: (conf: {
|
|
1093
|
-
domainOwnershipId: string;
|
|
1094
|
-
headers?: {
|
|
1095
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1096
|
-
"x-access-token"?: string | undefined;
|
|
1097
|
-
} | undefined;
|
|
1098
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1099
|
-
domain: string;
|
|
1100
|
-
id: string;
|
|
1101
|
-
projectId: string;
|
|
1102
|
-
txtRecord: string;
|
|
1103
|
-
}>;
|
|
1104
|
-
/** List all supported top level domains. */
|
|
1105
|
-
getSupportedTlds: (conf?: {
|
|
1106
|
-
headers?: {
|
|
1107
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1108
|
-
} | undefined;
|
|
1109
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
|
|
1110
1081
|
/** List all domain ownerships of a project. */
|
|
1111
1082
|
listDomainOwnerships: (conf: {
|
|
1112
1083
|
projectId: string;
|
|
@@ -1129,6 +1100,19 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1129
1100
|
domainSearchName?: string | undefined;
|
|
1130
1101
|
} | undefined;
|
|
1131
1102
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainDomain[]>;
|
|
1103
|
+
/** Get a domain ownership. */
|
|
1104
|
+
getSpecificDomainOwnership: (conf: {
|
|
1105
|
+
domainOwnershipId: string;
|
|
1106
|
+
headers?: {
|
|
1107
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1108
|
+
"x-access-token"?: string | undefined;
|
|
1109
|
+
} | undefined;
|
|
1110
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1111
|
+
domain: string;
|
|
1112
|
+
id: string;
|
|
1113
|
+
projectId: string;
|
|
1114
|
+
txtRecord: string;
|
|
1115
|
+
}>;
|
|
1132
1116
|
/** Get an Ingress. */
|
|
1133
1117
|
ingressGetSpecific: (conf: {
|
|
1134
1118
|
ingressId: string;
|
|
@@ -1164,6 +1148,22 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1164
1148
|
"x-access-token"?: string | undefined;
|
|
1165
1149
|
} | undefined;
|
|
1166
1150
|
}) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.IngressIngress[]>;
|
|
1151
|
+
/** Get a HandleSchema. */
|
|
1152
|
+
getHandleFields: (conf: {
|
|
1153
|
+
domainName: string;
|
|
1154
|
+
headers?: {
|
|
1155
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1156
|
+
} | undefined;
|
|
1157
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1158
|
+
jsonSchemaAdminC?: {} | undefined;
|
|
1159
|
+
jsonSchemaOwnerC: {};
|
|
1160
|
+
}>;
|
|
1161
|
+
/** List all supported top level domains. */
|
|
1162
|
+
getSupportedTlds: (conf?: {
|
|
1163
|
+
headers?: {
|
|
1164
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1165
|
+
} | undefined;
|
|
1166
|
+
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.DomainTopLevel[]>;
|
|
1167
1167
|
};
|
|
1168
1168
|
declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1169
1169
|
/** Get a File's meta. */
|
|
@@ -181,24 +181,24 @@ const buildDomainApi = (baseClient) => ({
|
|
|
181
181
|
dnsZonesForProject: new react_1.ApiCallAsyncResourceFactory(descriptors.dnsZonesForProject, baseClient.domain.dnsZonesForProject).getApiResource,
|
|
182
182
|
/** Get a Domain. */
|
|
183
183
|
getDomain: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
184
|
-
/** Get a HandleSchema. */
|
|
185
|
-
getHandleFields: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetHandleFields, baseClient.domain.getHandleFields).getApiResource,
|
|
186
184
|
/** Get File Service Reference for a Screenshot of a domain. */
|
|
187
185
|
getScreenshotForDomain: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetScreenshotForDomain, baseClient.domain.getScreenshotForDomain).getApiResource,
|
|
188
|
-
/** Get a domain ownership. */
|
|
189
|
-
getSpecificDomainOwnership: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetSpecificDomainOwnership, baseClient.domain.getSpecificDomainOwnership).getApiResource,
|
|
190
|
-
/** List all supported top level domains. */
|
|
191
|
-
getSupportedTlds: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetSupportedTlds, baseClient.domain.getSupportedTlds).getApiResource,
|
|
192
186
|
/** List all domain ownerships of a project. */
|
|
193
187
|
listDomainOwnerships: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
|
|
194
188
|
/** List Domains belonging to a Project. */
|
|
195
189
|
listDomains: new react_1.ApiCallAsyncResourceFactory(descriptors.domainListDomains, baseClient.domain.listDomains).getApiResource,
|
|
190
|
+
/** Get a domain ownership. */
|
|
191
|
+
getSpecificDomainOwnership: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetSpecificDomainOwnership, baseClient.domain.getSpecificDomainOwnership).getApiResource,
|
|
196
192
|
/** Get an Ingress. */
|
|
197
193
|
ingressGetSpecific: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressGetSpecific, baseClient.domain.ingressGetSpecific).getApiResource,
|
|
198
194
|
/** List Ingresses the user has access to. */
|
|
199
195
|
ingressListAccessible: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressListAccessible, baseClient.domain.ingressListAccessible).getApiResource,
|
|
200
196
|
/** List Ingresses belonging to a project. */
|
|
201
197
|
ingressListForProject: new react_1.ApiCallAsyncResourceFactory(descriptors.ingressListForProject, baseClient.domain.ingressListForProject).getApiResource,
|
|
198
|
+
/** Get a HandleSchema. */
|
|
199
|
+
getHandleFields: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetHandleFields, baseClient.domain.getHandleFields).getApiResource,
|
|
200
|
+
/** List all supported top level domains. */
|
|
201
|
+
getSupportedTlds: new react_1.ApiCallAsyncResourceFactory(descriptors.domainGetSupportedTlds, baseClient.domain.getSupportedTlds).getApiResource,
|
|
202
202
|
});
|
|
203
203
|
const buildFileApi = (baseClient) => ({
|
|
204
204
|
/** Get a File's meta. */
|