@mittwald/api-client 3.0.20 → 3.0.22

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.
@@ -34,6 +34,7 @@ declare const buildAppApi: (baseClient: MittwaldAPIV2Client) => {
34
34
  projectId?: string | undefined;
35
35
  screenshotId?: string | undefined;
36
36
  screenshotRef?: string | undefined;
37
+ shortId: string;
37
38
  systemSoftware?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppInstalledSystemSoftware[] | undefined;
38
39
  updatePolicy?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppAppUpdatePolicy | undefined;
39
40
  userInputs?: import("./types.js").MittwaldAPIV2.Components.Schemas.AppSavedUserInput[] | undefined;
@@ -1233,17 +1234,25 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1233
1234
  }) => import("@mittwald/react-use-promise/types").AsyncResource<string>;
1234
1235
  };
1235
1236
  declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1236
- /** Get all deliveryboxes by project ID */
1237
- deliveryboxList: (conf: {
1237
+ /** List DeliveryBoxes belonging to a Project. */
1238
+ listDeliveryBoxes: (conf: {
1238
1239
  projectId: string;
1239
1240
  headers?: {
1240
1241
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1241
1242
  "x-access-token"?: string | undefined;
1242
1243
  } | undefined;
1243
1244
  }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailDeliverybox[]>;
1244
- /** Get a specific deliverybox */
1245
- deliveryboxGetSpecific: (conf: {
1246
- 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;
1247
1256
  headers?: {
1248
1257
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1249
1258
  "x-access-token"?: string | undefined;
@@ -1258,17 +1267,9 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1258
1267
  sendingEnabled: boolean;
1259
1268
  updatedAt: string;
1260
1269
  }>;
1261
- /** Get all mail addresses for a project ID */
1262
- mailaddressList: (conf: {
1263
- projectId: string;
1264
- headers?: {
1265
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1266
- "x-access-token"?: string | undefined;
1267
- } | undefined;
1268
- }) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.MailMailAddress[]>;
1269
- /** Get a specific mail address */
1270
- mailaddressGetSpecific: (conf: {
1271
- id: string;
1270
+ /** Get a MailAddress. */
1271
+ getMailAddress: (conf: {
1272
+ mailAddressId: string;
1272
1273
  headers?: {
1273
1274
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1274
1275
  "x-access-token"?: string | undefined;
@@ -1306,8 +1307,8 @@ declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
1306
1307
  receivingDisabled: boolean;
1307
1308
  updatedAt: string;
1308
1309
  }>;
1309
- /** Get settings for a given project ID */
1310
- projectsettingGetSpecific: (conf: {
1310
+ /** List mail settings of a Project. */
1311
+ listProjectMailSettings: (conf: {
1311
1312
  projectId: string;
1312
1313
  headers?: {
1313
1314
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
@@ -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. */