@mittwald/api-client 3.0.21 → 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.
@@ -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. */
@@ -1234,17 +1234,25 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1234
1234
  }) => import("@mittwald/react-use-promise/types").AsyncResource<string>;
1235
1235
  };
1236
1236
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1237
- /** Get all deliveryboxes by project ID */
1238
- deliveryboxList: (conf: {
1237
+ /** List DeliveryBoxes belonging to a Project. */
1238
+ listDeliveryBoxes: (conf: {
1239
1239
  projectId: string;
1240
1240
  headers?: {
1241
1241
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1242
1242
  "x-access-token"?: string | undefined;
1243
1243
  } | undefined;
1244
1244
  }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[]>;
1245
- /** Get a specific deliverybox */
1246
- deliveryboxGetSpecific: (conf: {
1247
- id: string;
1245
+ /** List MailAddresses belonging to a Project. */
1246
+ listMailAddresses: (conf: {
1247
+ projectId: string;
1248
+ headers?: {
1249
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1250
+ "x-access-token"?: string | undefined;
1251
+ } | undefined;
1252
+ }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
1253
+ /** Get a DeliveryBox. */
1254
+ getDeliveryBox: (conf: {
1255
+ deliveryBoxId: string;
1248
1256
  headers?: {
1249
1257
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1250
1258
  "x-access-token"?: string | undefined;
@@ -1259,17 +1267,9 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1259
1267
  sendingEnabled: boolean;
1260
1268
  updatedAt: string;
1261
1269
  }>;
1262
- /** Get all mail addresses for a project ID */
1263
- mailaddressList: (conf: {
1264
- projectId: string;
1265
- headers?: {
1266
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1267
- "x-access-token"?: string | undefined;
1268
- } | undefined;
1269
- }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
1270
- /** Get a specific mail address */
1271
- mailaddressGetSpecific: (conf: {
1272
- id: string;
1270
+ /** Get a MailAddress. */
1271
+ getMailAddress: (conf: {
1272
+ mailAddressId: string;
1273
1273
  headers?: {
1274
1274
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1275
1275
  "x-access-token"?: string | undefined;
@@ -1307,8 +1307,8 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1307
1307
  receivingDisabled: boolean;
1308
1308
  updatedAt: string;
1309
1309
  }>;
1310
- /** Get settings for a given project ID */
1311
- projectsettingGetSpecific: (conf: {
1310
+ /** List mail settings of a Project. */
1311
+ listProjectMailSettings: (conf: {
1312
1312
  projectId: string;
1313
1313
  headers?: {
1314
1314
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -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. */
@@ -211,16 +211,16 @@ const buildFileApi = (baseClient) => ({
211
211
  getFile: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
212
212
  });
213
213
  const buildMailApi = (baseClient) => ({
214
- /** Get all deliveryboxes by project ID */
215
- deliveryboxList: new react_1.ApiCallAsyncResourceFactory(descriptors.mailDeliveryboxList, baseClient.mail.deliveryboxList).getApiResource,
216
- /** Get a specific deliverybox */
217
- deliveryboxGetSpecific: new react_1.ApiCallAsyncResourceFactory(descriptors.mailDeliveryboxGetSpecific, baseClient.mail.deliveryboxGetSpecific).getApiResource,
218
- /** Get all mail addresses for a project ID */
219
- mailaddressList: new react_1.ApiCallAsyncResourceFactory(descriptors.mailMailaddressList, baseClient.mail.mailaddressList).getApiResource,
220
- /** Get a specific mail address */
221
- mailaddressGetSpecific: new react_1.ApiCallAsyncResourceFactory(descriptors.mailMailaddressGetSpecific, baseClient.mail.mailaddressGetSpecific).getApiResource,
222
- /** Get settings for a given project ID */
223
- projectsettingGetSpecific: new react_1.ApiCallAsyncResourceFactory(descriptors.mailProjectsettingGetSpecific, baseClient.mail.projectsettingGetSpecific).getApiResource,
214
+ /** List DeliveryBoxes belonging to a Project. */
215
+ listDeliveryBoxes: new react_1.ApiCallAsyncResourceFactory(descriptors.mailListDeliveryBoxes, baseClient.mail.listDeliveryBoxes).getApiResource,
216
+ /** List MailAddresses belonging to a Project. */
217
+ listMailAddresses: new react_1.ApiCallAsyncResourceFactory(descriptors.mailListMailAddresses, baseClient.mail.listMailAddresses).getApiResource,
218
+ /** Get a DeliveryBox. */
219
+ getDeliveryBox: new react_1.ApiCallAsyncResourceFactory(descriptors.mailGetDeliveryBox, baseClient.mail.getDeliveryBox).getApiResource,
220
+ /** Get a MailAddress. */
221
+ getMailAddress: new react_1.ApiCallAsyncResourceFactory(descriptors.mailGetMailAddress, baseClient.mail.getMailAddress).getApiResource,
222
+ /** List mail settings of a Project. */
223
+ listProjectMailSettings: new react_1.ApiCallAsyncResourceFactory(descriptors.mailListProjectMailSettings, baseClient.mail.listProjectMailSettings).getApiResource,
224
224
  });
225
225
  const buildNotificationApi = (baseClient) => ({
226
226
  /** Getting the subscription status of the subscription. */