@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.
- package/dist/cjs/generated/v2/client-react.d.ts +19 -18
- package/dist/cjs/generated/v2/client-react.js +10 -10
- package/dist/cjs/generated/v2/client.d.ts +397 -255
- package/dist/cjs/generated/v2/client.js +38 -42
- package/dist/cjs/generated/v2/descriptors.d.ts +40 -44
- package/dist/cjs/generated/v2/descriptors.js +95 -107
- package/dist/cjs/generated/v2/types.d.ts +777 -405
- package/dist/esm/generated/v2/client-react.d.ts +19 -18
- package/dist/esm/generated/v2/client-react.js +10 -10
- package/dist/esm/generated/v2/client.d.ts +397 -255
- package/dist/esm/generated/v2/client.js +38 -42
- package/dist/esm/generated/v2/descriptors.d.ts +40 -44
- package/dist/esm/generated/v2/descriptors.js +89 -101
- package/dist/esm/generated/v2/types.d.ts +777 -405
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
/**
|
|
1237
|
-
|
|
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
|
-
/**
|
|
1245
|
-
|
|
1246
|
-
|
|
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
|
|
1262
|
-
|
|
1263
|
-
|
|
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
|
-
/**
|
|
1310
|
-
|
|
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
|
-
/**
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
|
|
218
|
-
/** Get
|
|
219
|
-
|
|
220
|
-
/** Get a
|
|
221
|
-
|
|
222
|
-
/**
|
|
223
|
-
|
|
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. */
|