@mittwald/api-client 3.1.12 → 3.1.13
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 +16 -16
- package/dist/cjs/generated/v2/client-react.js +4 -4
- package/dist/cjs/generated/v2/client.d.ts +43 -43
- package/dist/cjs/generated/v2/client.js +4 -4
- package/dist/cjs/generated/v2/descriptors.d.ts +5 -5
- package/dist/cjs/generated/v2/descriptors.js +17 -17
- package/dist/cjs/generated/v2/types.d.ts +91 -88
- package/dist/esm/generated/v2/client-react.d.ts +16 -16
- package/dist/esm/generated/v2/client-react.js +4 -4
- package/dist/esm/generated/v2/client.d.ts +43 -43
- package/dist/esm/generated/v2/client.js +4 -4
- package/dist/esm/generated/v2/descriptors.d.ts +5 -5
- package/dist/esm/generated/v2/descriptors.js +13 -13
- package/dist/esm/generated/v2/types.d.ts +91 -88
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1188,9 +1188,19 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1188
1188
|
sizeInBytes: number;
|
|
1189
1189
|
type: string;
|
|
1190
1190
|
}>;
|
|
1191
|
-
/** Get a
|
|
1192
|
-
|
|
1193
|
-
|
|
1191
|
+
/** Get a File. */
|
|
1192
|
+
getFile: (conf: {
|
|
1193
|
+
fileId: string;
|
|
1194
|
+
headers?: {
|
|
1195
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1196
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
1197
|
+
Download?: boolean | undefined;
|
|
1198
|
+
Token?: string | undefined;
|
|
1199
|
+
} | undefined;
|
|
1200
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<string>;
|
|
1201
|
+
/** Get a FileUploadToken's rules. */
|
|
1202
|
+
getFileUploadTokenRules: (conf: {
|
|
1203
|
+
fileUploadToken: string;
|
|
1194
1204
|
headers?: {
|
|
1195
1205
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1196
1206
|
} | undefined;
|
|
@@ -1210,9 +1220,9 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1210
1220
|
} | undefined;
|
|
1211
1221
|
} | undefined;
|
|
1212
1222
|
}>;
|
|
1213
|
-
/** Get a
|
|
1214
|
-
|
|
1215
|
-
|
|
1223
|
+
/** Get a FileUploadType's rules. */
|
|
1224
|
+
getFileUploadTypeRules: (conf: {
|
|
1225
|
+
fileUploadType: "avatar" | "conversation";
|
|
1216
1226
|
headers?: {
|
|
1217
1227
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1218
1228
|
} | undefined;
|
|
@@ -1232,16 +1242,6 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1232
1242
|
} | undefined;
|
|
1233
1243
|
} | undefined;
|
|
1234
1244
|
}>;
|
|
1235
|
-
/** Get a File. */
|
|
1236
|
-
getFile: (conf: {
|
|
1237
|
-
fileId: string;
|
|
1238
|
-
headers?: {
|
|
1239
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1240
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
1241
|
-
Download?: boolean | undefined;
|
|
1242
|
-
Token?: string | undefined;
|
|
1243
|
-
} | undefined;
|
|
1244
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<string>;
|
|
1245
1245
|
};
|
|
1246
1246
|
declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1247
1247
|
/** List DeliveryBoxes belonging to a Project. */
|
|
@@ -203,12 +203,12 @@ const buildDomainApi = (baseClient) => ({
|
|
|
203
203
|
const buildFileApi = (baseClient) => ({
|
|
204
204
|
/** Get a File's meta. */
|
|
205
205
|
getFileMeta: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFileMeta, baseClient.file.getFileMeta).getApiResource,
|
|
206
|
-
/** Get a Token's upload rules. */
|
|
207
|
-
getFileTokenRules: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFileTokenRules, baseClient.file.getFileTokenRules).getApiResource,
|
|
208
|
-
/** Get a Type's upload rules. */
|
|
209
|
-
getFileTypeRules: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFileTypeRules, baseClient.file.getFileTypeRules).getApiResource,
|
|
210
206
|
/** Get a File. */
|
|
211
207
|
getFile: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
|
|
208
|
+
/** Get a FileUploadToken's rules. */
|
|
209
|
+
getFileUploadTokenRules: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTokenRules, baseClient.file.getFileUploadTokenRules).getApiResource,
|
|
210
|
+
/** Get a FileUploadType's rules. */
|
|
211
|
+
getFileUploadTypeRules: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTypeRules, baseClient.file.getFileUploadTypeRules).getApiResource,
|
|
212
212
|
});
|
|
213
213
|
const buildMailApi = (baseClient) => ({
|
|
214
214
|
/** List DeliveryBoxes belonging to a Project. */
|
|
@@ -5929,11 +5929,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5929
5929
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5930
5930
|
[x: string]: unknown;
|
|
5931
5931
|
}, 404, "application/json">>>;
|
|
5932
|
-
/** Get a
|
|
5933
|
-
|
|
5934
|
-
|
|
5932
|
+
/** Get a File. */
|
|
5933
|
+
getFile: (request: {
|
|
5934
|
+
fileId: string;
|
|
5935
5935
|
headers?: {
|
|
5936
5936
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5937
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
5938
|
+
Download?: boolean | undefined;
|
|
5939
|
+
Token?: string | undefined;
|
|
5937
5940
|
} | undefined;
|
|
5938
5941
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5939
5942
|
headers?: Partial<{
|
|
@@ -5941,7 +5944,36 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5941
5944
|
}> | undefined;
|
|
5942
5945
|
} & {
|
|
5943
5946
|
pathParameters: {
|
|
5944
|
-
|
|
5947
|
+
fileId: string;
|
|
5948
|
+
};
|
|
5949
|
+
} & {
|
|
5950
|
+
headers: {
|
|
5951
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
5952
|
+
Download?: boolean | undefined;
|
|
5953
|
+
Token?: string | undefined;
|
|
5954
|
+
} & Partial<{
|
|
5955
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5956
|
+
}>;
|
|
5957
|
+
}, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "base64"> | import("@mittwald/api-client-commons").Response<string, 200, "ocr"> | import("@mittwald/api-client-commons").Response<{
|
|
5958
|
+
[x: string]: unknown;
|
|
5959
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5960
|
+
[x: string]: unknown;
|
|
5961
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5962
|
+
[x: string]: unknown;
|
|
5963
|
+
}, 500, "application/json">>>;
|
|
5964
|
+
/** Get a FileUploadToken's rules. */
|
|
5965
|
+
getFileUploadTokenRules: (request: {
|
|
5966
|
+
fileUploadToken: string;
|
|
5967
|
+
headers?: {
|
|
5968
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5969
|
+
} | undefined;
|
|
5970
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5971
|
+
headers?: Partial<{
|
|
5972
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5973
|
+
}> | undefined;
|
|
5974
|
+
} & {
|
|
5975
|
+
pathParameters: {
|
|
5976
|
+
fileUploadToken: string;
|
|
5945
5977
|
};
|
|
5946
5978
|
}, import("@mittwald/api-client-commons").Response<{
|
|
5947
5979
|
maxSizeInKB: number;
|
|
@@ -5963,9 +5995,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5963
5995
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5964
5996
|
[x: string]: unknown;
|
|
5965
5997
|
}, 500, "application/json">>>;
|
|
5966
|
-
/** Get a
|
|
5967
|
-
|
|
5968
|
-
|
|
5998
|
+
/** Get a FileUploadType's rules. */
|
|
5999
|
+
getFileUploadTypeRules: (request: {
|
|
6000
|
+
fileUploadType: "avatar" | "conversation";
|
|
5969
6001
|
headers?: {
|
|
5970
6002
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5971
6003
|
} | undefined;
|
|
@@ -5975,7 +6007,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5975
6007
|
}> | undefined;
|
|
5976
6008
|
} & {
|
|
5977
6009
|
pathParameters: {
|
|
5978
|
-
|
|
6010
|
+
fileUploadType: "avatar" | "conversation";
|
|
5979
6011
|
};
|
|
5980
6012
|
}, import("@mittwald/api-client-commons").Response<{
|
|
5981
6013
|
maxSizeInKB: number;
|
|
@@ -5997,38 +6029,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5997
6029
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5998
6030
|
[x: string]: unknown;
|
|
5999
6031
|
}, 500, "application/json">>>;
|
|
6000
|
-
/** Get a File. */
|
|
6001
|
-
getFile: (request: {
|
|
6002
|
-
fileId: string;
|
|
6003
|
-
headers?: {
|
|
6004
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6005
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
6006
|
-
Download?: boolean | undefined;
|
|
6007
|
-
Token?: string | undefined;
|
|
6008
|
-
} | undefined;
|
|
6009
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6010
|
-
headers?: Partial<{
|
|
6011
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6012
|
-
}> | undefined;
|
|
6013
|
-
} & {
|
|
6014
|
-
pathParameters: {
|
|
6015
|
-
fileId: string;
|
|
6016
|
-
};
|
|
6017
|
-
} & {
|
|
6018
|
-
headers: {
|
|
6019
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
6020
|
-
Download?: boolean | undefined;
|
|
6021
|
-
Token?: string | undefined;
|
|
6022
|
-
} & Partial<{
|
|
6023
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6024
|
-
}>;
|
|
6025
|
-
}, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "base64"> | import("@mittwald/api-client-commons").Response<string, 200, "ocr"> | import("@mittwald/api-client-commons").Response<{
|
|
6026
|
-
[x: string]: unknown;
|
|
6027
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6028
|
-
[x: string]: unknown;
|
|
6029
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6030
|
-
[x: string]: unknown;
|
|
6031
|
-
}, 500, "application/json">>>;
|
|
6032
6032
|
};
|
|
6033
6033
|
/** The mail API allows you to manage your mail accounts. */
|
|
6034
6034
|
readonly mail: {
|
|
@@ -6789,7 +6789,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6789
6789
|
blacklist: string[];
|
|
6790
6790
|
};
|
|
6791
6791
|
projectId: string;
|
|
6792
|
-
|
|
6792
|
+
mailSetting: "blacklist" | "whitelist";
|
|
6793
6793
|
headers?: {
|
|
6794
6794
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6795
6795
|
"x-access-token"?: string | undefined;
|
|
@@ -6799,7 +6799,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6799
6799
|
whitelist: string[];
|
|
6800
6800
|
};
|
|
6801
6801
|
projectId: string;
|
|
6802
|
-
|
|
6802
|
+
mailSetting: "blacklist" | "whitelist";
|
|
6803
6803
|
headers?: {
|
|
6804
6804
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6805
6805
|
"x-access-token"?: string | undefined;
|
|
@@ -6815,7 +6815,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6815
6815
|
}) & {
|
|
6816
6816
|
pathParameters: {
|
|
6817
6817
|
projectId: string;
|
|
6818
|
-
|
|
6818
|
+
mailSetting: "blacklist" | "whitelist";
|
|
6819
6819
|
};
|
|
6820
6820
|
} & {
|
|
6821
6821
|
headers?: Partial<{
|
|
@@ -410,12 +410,12 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
|
|
|
410
410
|
createFile: this.requestFunctionFactory(descriptors.fileCreateFile),
|
|
411
411
|
/** Get a File's meta. */
|
|
412
412
|
getFileMeta: this.requestFunctionFactory(descriptors.fileGetFileMeta),
|
|
413
|
-
/** Get a Token's upload rules. */
|
|
414
|
-
getFileTokenRules: this.requestFunctionFactory(descriptors.fileGetFileTokenRules),
|
|
415
|
-
/** Get a Type's upload rules. */
|
|
416
|
-
getFileTypeRules: this.requestFunctionFactory(descriptors.fileGetFileTypeRules),
|
|
417
413
|
/** Get a File. */
|
|
418
414
|
getFile: this.requestFunctionFactory(descriptors.fileGetFile),
|
|
415
|
+
/** Get a FileUploadToken's rules. */
|
|
416
|
+
getFileUploadTokenRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTokenRules),
|
|
417
|
+
/** Get a FileUploadType's rules. */
|
|
418
|
+
getFileUploadTypeRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTypeRules),
|
|
419
419
|
};
|
|
420
420
|
/** The mail API allows you to manage your mail accounts. */
|
|
421
421
|
this.mail = {
|
|
@@ -299,10 +299,6 @@ export declare const domainVerifyDomainOwnership: OpenAPIOperation<RequestType<S
|
|
|
299
299
|
export declare const fileCreateFile: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
300
300
|
/** Get a File's meta. */
|
|
301
301
|
export declare const fileGetFileMeta: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
302
|
-
/** Get a Token's upload rules. */
|
|
303
|
-
export declare const fileGetFileTokenRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
304
|
-
/** Get a Type's upload rules. */
|
|
305
|
-
export declare const fileGetFileTypeRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
306
302
|
/** Get a File. */
|
|
307
303
|
export declare const fileGetFile: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.ApplicationOctetStream>, 200, "application/octet-stream"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.Base64>, 200, "base64"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.Ocr>, 200, "ocr"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
308
304
|
/** List Ingresses. */
|
|
@@ -364,7 +360,7 @@ export declare const mailUpdateMailAddressQuota: OpenAPIOperation<RequestType<Si
|
|
|
364
360
|
/** Update the spam protection of a MailAddress. */
|
|
365
361
|
export declare const mailUpdateMailAddressSpamProtection: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
366
362
|
/** Update a mail setting of a Project. */
|
|
367
|
-
export declare const mailUpdateProjectMailSetting: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.
|
|
363
|
+
export declare const mailUpdateProjectMailSetting: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
368
364
|
/** Getting the subscription status of the subscription. */
|
|
369
365
|
export declare const newsletterGetInfo: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
370
366
|
/** Unsubscribe a user from the mStudio newsletter. */
|
|
@@ -587,3 +583,7 @@ export declare const userVerifyPhoneNumber: OpenAPIOperation<RequestType<Simplif
|
|
|
587
583
|
export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
588
584
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
589
585
|
export declare const domainGetLatestScreenshot: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
586
|
+
/** Get a FileUploadToken's rules. */
|
|
587
|
+
export declare const fileGetFileUploadTokenRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
588
|
+
/** Get a FileUploadType's rules. */
|
|
589
|
+
export declare const fileGetFileUploadTypeRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.conversationCreateConversation = exports.conversationListConversations = exports.contractListContracts = exports.contractGetNextTerminationDateForItem = exports.contractGetDetailOfContract = exports.contractGetDetailOfContractItem = exports.contractGetDetailOfContractByServer = exports.contractGetDetailOfContractByProject = exports.contractGetDetailOfContractByDomain = exports.contractGetBaseItemOfContract = exports.contractCancelContractTermination = exports.contractTerminateContract = exports.contractCancelContractTariffChange = exports.contractCancelContractItemTermination = exports.contractTerminateContractItem = exports.backupUpdateProjectBackupDescription = exports.backupDeleteProjectBackup = exports.backupGetProjectBackup = exports.backupUpdateProjectBackupSchedule = exports.backupDeleteProjectBackupSchedule = exports.backupGetProjectBackupSchedule = exports.backupCreateProjectBackup = exports.backupListProjectBackups = exports.backupCreateProjectBackupSchedule = exports.backupListProjectBackupSchedules = exports.backupDeleteProjectBackupExport = exports.backupCreateProjectBackupExport = exports.articleListArticles = exports.articleGetArticle = exports.appUnlinkDatabase = exports.appSetDatabaseUsers = exports.appRetrieveStatus = exports.appRequestAppinstallationCopy = exports.appListUpdateCandidatesForAppversion = exports.appListSystemsoftwareversions = exports.appListSystemsoftwares = exports.appListAppversions = exports.appListApps = exports.appRequestAppinstallation = exports.appListAppinstallations = exports.appLinkDatabase = exports.appGetSystemsoftwareversion = exports.appGetSystemsoftware = exports.appGetMissingDependenciesForAppinstallation = exports.appGetAppversion = exports.appPatchAppinstallation = exports.appUninstallAppinstallation = exports.appGetAppinstallation = exports.appGetApp = exports.appExecuteAction = void 0;
|
|
4
4
|
exports.databaseCreateMysqlDatabase = exports.databaseListMysqlDatabases = exports.customerResendCustomerInviteMail = exports.customerRemoveAvatar = exports.customerRequestAvatarUpload = exports.customerListMembershipsForCustomer = exports.customerListInvitesForCustomer = exports.customerListCustomerMemberships = exports.customerListCustomerInvites = exports.customerLeaveCustomer = exports.customerIsCustomerLegallyCompetent = exports.customerGetCustomerTokenInvite = exports.customerDeleteCustomer = exports.customerUpdateCustomer = exports.customerGetCustomer = exports.customerUpdateCustomerMembership = exports.customerDeleteCustomerMembership = exports.customerGetCustomerMembership = exports.customerDeleteCustomerInvite = exports.customerGetCustomerInvite = exports.customerDeleteCategory = exports.customerUpdateCategory = exports.customerGetCustomerCategory = exports.customerDeclineCustomerInvite = exports.customerCreateCustomer = exports.customerListCustomers = exports.customerCreateCustomerInvite = exports.customerCreateCategory = exports.customerListOfCustomerCategories = exports.customerAcceptCustomerInvite = exports.cronjobUpdateCronjobAppId = exports.cronjobGetExecution = exports.cronjobUpdateCronjob = exports.cronjobDeleteCronjob = exports.cronjobGetCronjob = exports.cronjobCreateExecution = exports.cronjobListExecutions = exports.cronjobCreateCronjob = exports.cronjobListCronjobs = exports.cronjobAbortExecution = exports.conversationUpdateMessage = exports.conversationSetConversationStatus = exports.conversationRequestFileUpload = exports.conversationListCategories = exports.conversationGetFileAccessToken = exports.conversationUpdateConversation = exports.conversationGetConversation = exports.conversationGetCategory = exports.conversationCreateMessage = exports.conversationListMessagesByConversation = void 0;
|
|
5
|
-
exports.
|
|
6
|
-
exports.projectCreateProject = exports.projectCreateProjectInvite = exports.projectAcceptProjectInvite = exports.passwordValidationGetPasswordPolicy = exports.pageinsightsListPerformanceDataForProject = exports.pageinsightsGetPerformanceData = exports.orderPreviewTariffChange = exports.orderPreviewOrder = exports.orderListProjectOrders = exports.orderListCustomerOrders = exports.orderGetOrder = exports.orderCreateTariffChange = exports.orderCreateOrder = exports.notificationsReadNotification = exports.notificationsReadAllNotifications = exports.notificationsListNotifications = exports.notificationsCountUnreadNotifications = exports.newsletterUnsubscribeUser = exports.newsletterGetInfo = exports.mailUpdateProjectMailSetting = exports.mailUpdateMailAddressSpamProtection = exports.mailUpdateMailAddressQuota = exports.mailUpdateMailAddressPassword = exports.mailUpdateMailAddressForwardAddresses = exports.mailUpdateMailAddressCatchAll = exports.mailUpdateMailAddressAutoresponder = exports.mailUpdateMailAddressAddress = exports.mailUpdateDeliveryBoxPassword = exports.mailUpdateDeliveryBoxDescription = exports.mailListProjectMailSettings = exports.mailDeleteMailAddress = exports.mailGetMailAddress = exports.mailDeleteDeliveryBox = exports.mailGetDeliveryBox = exports.mailCreateMailAddress = exports.mailListMailAddresses = exports.mailCreateDeliverybox = exports.mailListDeliveryBoxes = exports.invoiceListCustomerInvoices = exports.invoiceUpdateInvoiceSettings = exports.invoiceGetDetailOfInvoiceSettings = exports.invoiceDetailOfInvoice = exports.ingressUpdateIngressTls = exports.ingressRequestIngressAcmeCertificateIssuance = exports.ingressUpdateIngressPaths = exports.ingressDeleteIngress = exports.ingressGetIngress = exports.ingressCreateIngress =
|
|
7
|
-
exports.userChangePassword = exports.userChangeEmail = exports.userGetOwnEmail = exports.userAuthenticate = exports.userAuthenticateMfa = exports.userRemovePhoneNumber = exports.userAddPhoneNumber = exports.sshUserUpdateSshUser = exports.sshUserDeleteSshUser = exports.sshUserGetSshUser = exports.sshUserCreateSshUser = exports.sshUserListSshUsers = exports.sftpUserUpdateSftpUser = exports.sftpUserDeleteSftpUser = exports.sftpUserGetSftpUser = exports.sftpUserCreateSftpUser = exports.sftpUserListSftpUsers = exports.servicetokenAuthenticateService = exports.relocationCreateRelocation = exports.relocationCreateLegacyTariffChange = exports.projectUpdateServerDescription = exports.projectUpdateProjectDescription = exports.projectResendProjectInviteMail = exports.projectListServers = exports.projectListProjects = exports.projectListProjectMemberships = exports.projectListProjectInvites = exports.projectListMembershipsForProject = exports.projectListInvitesForProject = exports.projectLeaveProject = exports.projectGetServer = exports.projectGetSelfMembershipForProject = exports.projectGetProjectTokenInvite = exports.projectFileSystemListFiles = exports.projectFileSystemGetJwt = exports.projectFileSystemGetFileContent = exports.projectFileSystemGetDiskUsage = exports.projectFileSystemGetDirectories = exports.projectDeleteServerAvatar = exports.projectRequestServerAvatarUpload = exports.projectDeleteProject = exports.projectGetProject = exports.projectUpdateProjectMembership = exports.projectDeleteProjectMembership = exports.projectGetProjectMembership = exports.projectDeleteProjectInvite = exports.projectGetProjectInvite = exports.projectDeleteProjectAvatar =
|
|
8
|
-
exports.domainGetLatestScreenshot = exports.userVerifyRegistration = exports.userVerifyPhoneNumber = exports.userVerifyEmail = exports.userSupportCodeRequest = exports.userResendVerificationEmail = exports.userRemoveAvatar = exports.userRequestAvatarUpload = exports.userRegister = exports.userLogout = exports.userTerminateAllSessions = exports.userListSessions = exports.userListFeedback = exports.userInitPasswordReset = exports.userInitMfa = exports.userUpdatePersonalInformation = exports.userGetUser = exports.userTerminateSession = exports.userGetSession = exports.userUpdatePersonalizedSettings = exports.userGetPersonalizedSettings = exports.userGetPasswordUpdatedAt = exports.userUpdateAccount = exports.userGetOwnAccount = exports.userDeleteUser = exports.userDeleteSshKey = exports.userEditSshKey = exports.userGetSshKey = exports.userDeleteApiToken = exports.userEditApiToken = exports.userGetApiToken = exports.userCreateSshKey = exports.userListSshKeys = exports.userCreateFeedback = exports.userCreateApiToken = exports.userListApiTokens = exports.userConfirmPasswordReset = exports.userDisableMfa = exports.userConfirmMfa = exports.userResetRecoverycodes =
|
|
5
|
+
exports.ingressListIngresses = exports.fileGetFile = exports.fileGetFileMeta = exports.fileCreateFile = exports.domainVerifyDomainOwnership = exports.domainUpdateDomainProjectId = exports.domainUpdateDomainContact = exports.domainUpdateDomainAuthCode = exports.domainResendDomainEmail = exports.domainListTlds = exports.domainListTldContactSchemas = exports.domainListDomains = exports.domainListDomainOwnerships = exports.domainGetDomainOwnership = exports.domainDeleteDomain = exports.domainGetDomain = exports.domainUpdateDomainNameservers = exports.domainCreateDomainAuthCode = exports.domainCreateDomainAuthCode2 = exports.domainCheckDomainRegistrability = exports.domainAbortDomainDeclaration = exports.dnsUpdateRecordSet = exports.dnsSetRecordSetManaged = exports.dnsListDnsZones = exports.dnsDeleteDnsZone = exports.dnsGetDnsZone = exports.dnsCreateDnsZone = exports.newsletterSubscribeUser = exports.databaseUpdateRedisDatabaseDescription = exports.databaseUpdateRedisDatabaseConfiguration = exports.databaseUpdateMysqlUserPassword = exports.databaseUpdateMysqlDatabaseDescription = exports.databaseUpdateMysqlDatabaseDefaultCharset = exports.databaseListRedisVersions = exports.databaseListMysqlVersions = exports.databaseListMysqlCharsets = exports.databaseGetMysqlUserPhpMyAdminUrl = exports.databaseEnableMysqlUser = exports.databaseDisableMysqlUser = exports.databaseDeleteRedisDatabase = exports.databaseGetRedisDatabase = exports.databaseDeleteMysqlUser = exports.databaseUpdateMysqlUser = exports.databaseGetMysqlUser = exports.databaseDeleteMysqlDatabase = exports.databaseGetMysqlDatabase = exports.databaseCreateRedisDatabase = exports.databaseListRedisDatabases = exports.databaseCreateMysqlUser = exports.databaseListMysqlUsers = void 0;
|
|
6
|
+
exports.projectRequestProjectAvatarUpload = exports.projectDeclineProjectInvite = exports.projectCreateProject = exports.projectCreateProjectInvite = exports.projectAcceptProjectInvite = exports.passwordValidationGetPasswordPolicy = exports.pageinsightsListPerformanceDataForProject = exports.pageinsightsGetPerformanceData = exports.orderPreviewTariffChange = exports.orderPreviewOrder = exports.orderListProjectOrders = exports.orderListCustomerOrders = exports.orderGetOrder = exports.orderCreateTariffChange = exports.orderCreateOrder = exports.notificationsReadNotification = exports.notificationsReadAllNotifications = exports.notificationsListNotifications = exports.notificationsCountUnreadNotifications = exports.newsletterUnsubscribeUser = exports.newsletterGetInfo = exports.mailUpdateProjectMailSetting = exports.mailUpdateMailAddressSpamProtection = exports.mailUpdateMailAddressQuota = exports.mailUpdateMailAddressPassword = exports.mailUpdateMailAddressForwardAddresses = exports.mailUpdateMailAddressCatchAll = exports.mailUpdateMailAddressAutoresponder = exports.mailUpdateMailAddressAddress = exports.mailUpdateDeliveryBoxPassword = exports.mailUpdateDeliveryBoxDescription = exports.mailListProjectMailSettings = exports.mailDeleteMailAddress = exports.mailGetMailAddress = exports.mailDeleteDeliveryBox = exports.mailGetDeliveryBox = exports.mailCreateMailAddress = exports.mailListMailAddresses = exports.mailCreateDeliverybox = exports.mailListDeliveryBoxes = exports.invoiceListCustomerInvoices = exports.invoiceUpdateInvoiceSettings = exports.invoiceGetDetailOfInvoiceSettings = exports.invoiceDetailOfInvoice = exports.ingressUpdateIngressTls = exports.ingressRequestIngressAcmeCertificateIssuance = exports.ingressUpdateIngressPaths = exports.ingressDeleteIngress = exports.ingressGetIngress = exports.ingressCreateIngress = void 0;
|
|
7
|
+
exports.userGetMfaStatus = exports.userCheckToken = exports.userChangePassword = exports.userChangeEmail = exports.userGetOwnEmail = exports.userAuthenticate = exports.userAuthenticateMfa = exports.userRemovePhoneNumber = exports.userAddPhoneNumber = exports.sshUserUpdateSshUser = exports.sshUserDeleteSshUser = exports.sshUserGetSshUser = exports.sshUserCreateSshUser = exports.sshUserListSshUsers = exports.sftpUserUpdateSftpUser = exports.sftpUserDeleteSftpUser = exports.sftpUserGetSftpUser = exports.sftpUserCreateSftpUser = exports.sftpUserListSftpUsers = exports.servicetokenAuthenticateService = exports.relocationCreateRelocation = exports.relocationCreateLegacyTariffChange = exports.projectUpdateServerDescription = exports.projectUpdateProjectDescription = exports.projectResendProjectInviteMail = exports.projectListServers = exports.projectListProjects = exports.projectListProjectMemberships = exports.projectListProjectInvites = exports.projectListMembershipsForProject = exports.projectListInvitesForProject = exports.projectLeaveProject = exports.projectGetServer = exports.projectGetSelfMembershipForProject = exports.projectGetProjectTokenInvite = exports.projectFileSystemListFiles = exports.projectFileSystemGetJwt = exports.projectFileSystemGetFileContent = exports.projectFileSystemGetDiskUsage = exports.projectFileSystemGetDirectories = exports.projectDeleteServerAvatar = exports.projectRequestServerAvatarUpload = exports.projectDeleteProject = exports.projectGetProject = exports.projectUpdateProjectMembership = exports.projectDeleteProjectMembership = exports.projectGetProjectMembership = exports.projectDeleteProjectInvite = exports.projectGetProjectInvite = exports.projectDeleteProjectAvatar = void 0;
|
|
8
|
+
exports.fileGetFileUploadTypeRules = exports.fileGetFileUploadTokenRules = exports.domainGetLatestScreenshot = exports.userVerifyRegistration = exports.userVerifyPhoneNumber = exports.userVerifyEmail = exports.userSupportCodeRequest = exports.userResendVerificationEmail = exports.userRemoveAvatar = exports.userRequestAvatarUpload = exports.userRegister = exports.userLogout = exports.userTerminateAllSessions = exports.userListSessions = exports.userListFeedback = exports.userInitPasswordReset = exports.userInitMfa = exports.userUpdatePersonalInformation = exports.userGetUser = exports.userTerminateSession = exports.userGetSession = exports.userUpdatePersonalizedSettings = exports.userGetPersonalizedSettings = exports.userGetPasswordUpdatedAt = exports.userUpdateAccount = exports.userGetOwnAccount = exports.userDeleteUser = exports.userDeleteSshKey = exports.userEditSshKey = exports.userGetSshKey = exports.userDeleteApiToken = exports.userEditApiToken = exports.userGetApiToken = exports.userCreateSshKey = exports.userListSshKeys = exports.userCreateFeedback = exports.userCreateApiToken = exports.userListApiTokens = exports.userConfirmPasswordReset = exports.userDisableMfa = exports.userConfirmMfa = exports.userResetRecoverycodes = void 0;
|
|
9
9
|
/** Execute a runtime concerning action on a specific `AppInstallation`. */
|
|
10
10
|
exports.appExecuteAction = {
|
|
11
11
|
path: "/v2/app-installations/{appInstallationId}/actions/{action}",
|
|
@@ -894,18 +894,6 @@ exports.fileGetFileMeta = {
|
|
|
894
894
|
method: "GET",
|
|
895
895
|
operationId: "file-get-file-meta",
|
|
896
896
|
};
|
|
897
|
-
/** Get a Token's upload rules. */
|
|
898
|
-
exports.fileGetFileTokenRules = {
|
|
899
|
-
path: "/v2/file-token-rules/{token}",
|
|
900
|
-
method: "GET",
|
|
901
|
-
operationId: "file-get-file-token-rules",
|
|
902
|
-
};
|
|
903
|
-
/** Get a Type's upload rules. */
|
|
904
|
-
exports.fileGetFileTypeRules = {
|
|
905
|
-
path: "/v2/file-type-rules/{name}",
|
|
906
|
-
method: "GET",
|
|
907
|
-
operationId: "file-get-file-type-rules",
|
|
908
|
-
};
|
|
909
897
|
/** Get a File. */
|
|
910
898
|
exports.fileGetFile = {
|
|
911
899
|
path: "/v2/files/{fileId}",
|
|
@@ -1088,7 +1076,7 @@ exports.mailUpdateMailAddressSpamProtection = {
|
|
|
1088
1076
|
};
|
|
1089
1077
|
/** Update a mail setting of a Project. */
|
|
1090
1078
|
exports.mailUpdateProjectMailSetting = {
|
|
1091
|
-
path: "/v2/projects/{projectId}/mail-settings/{
|
|
1079
|
+
path: "/v2/projects/{projectId}/mail-settings/{mailSetting}",
|
|
1092
1080
|
method: "PATCH",
|
|
1093
1081
|
operationId: "mail-update-project-mail-setting",
|
|
1094
1082
|
};
|
|
@@ -1758,3 +1746,15 @@ exports.domainGetLatestScreenshot = {
|
|
|
1758
1746
|
method: "GET",
|
|
1759
1747
|
operationId: "domain-get-latest-screenshot",
|
|
1760
1748
|
};
|
|
1749
|
+
/** Get a FileUploadToken's rules. */
|
|
1750
|
+
exports.fileGetFileUploadTokenRules = {
|
|
1751
|
+
path: "/v2/file-upload-tokens/{fileUploadToken}/rules",
|
|
1752
|
+
method: "GET",
|
|
1753
|
+
operationId: "file-get-file-upload-token-rules",
|
|
1754
|
+
};
|
|
1755
|
+
/** Get a FileUploadType's rules. */
|
|
1756
|
+
exports.fileGetFileUploadTypeRules = {
|
|
1757
|
+
path: "/v2/file-upload-types/{fileUploadType}/rules",
|
|
1758
|
+
method: "GET",
|
|
1759
|
+
operationId: "file-get-file-upload-type-rules",
|
|
1760
|
+
};
|
|
@@ -594,14 +594,6 @@ export declare module MittwaldAPIV2 {
|
|
|
594
594
|
type RequestData = InferredRequestData<typeof descriptors.fileGetFileMeta>;
|
|
595
595
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileMeta, TStatus>;
|
|
596
596
|
}
|
|
597
|
-
namespace FileGetFileTokenRules {
|
|
598
|
-
type RequestData = InferredRequestData<typeof descriptors.fileGetFileTokenRules>;
|
|
599
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileTokenRules, TStatus>;
|
|
600
|
-
}
|
|
601
|
-
namespace FileGetFileTypeRules {
|
|
602
|
-
type RequestData = InferredRequestData<typeof descriptors.fileGetFileTypeRules>;
|
|
603
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileTypeRules, TStatus>;
|
|
604
|
-
}
|
|
605
597
|
namespace FileGetFile {
|
|
606
598
|
type RequestData = InferredRequestData<typeof descriptors.fileGetFile>;
|
|
607
599
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFile, TStatus>;
|
|
@@ -1170,6 +1162,14 @@ export declare module MittwaldAPIV2 {
|
|
|
1170
1162
|
type RequestData = InferredRequestData<typeof descriptors.domainGetLatestScreenshot>;
|
|
1171
1163
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetLatestScreenshot, TStatus>;
|
|
1172
1164
|
}
|
|
1165
|
+
namespace FileGetFileUploadTokenRules {
|
|
1166
|
+
type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTokenRules>;
|
|
1167
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTokenRules, TStatus>;
|
|
1168
|
+
}
|
|
1169
|
+
namespace FileGetFileUploadTypeRules {
|
|
1170
|
+
type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTypeRules>;
|
|
1171
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTypeRules, TStatus>;
|
|
1172
|
+
}
|
|
1173
1173
|
}
|
|
1174
1174
|
namespace Components {
|
|
1175
1175
|
namespace Schemas {
|
|
@@ -8832,84 +8832,6 @@ export declare module MittwaldAPIV2 {
|
|
|
8832
8832
|
}
|
|
8833
8833
|
}
|
|
8834
8834
|
}
|
|
8835
|
-
namespace V2FileTokenRulesToken {
|
|
8836
|
-
namespace Get {
|
|
8837
|
-
namespace Parameters {
|
|
8838
|
-
type Path = {
|
|
8839
|
-
token: string;
|
|
8840
|
-
};
|
|
8841
|
-
type Header = {};
|
|
8842
|
-
type Query = {};
|
|
8843
|
-
}
|
|
8844
|
-
namespace Responses {
|
|
8845
|
-
namespace $200 {
|
|
8846
|
-
namespace Content {
|
|
8847
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
8848
|
-
}
|
|
8849
|
-
}
|
|
8850
|
-
namespace $404 {
|
|
8851
|
-
namespace Content {
|
|
8852
|
-
interface ApplicationJson {
|
|
8853
|
-
[k: string]: unknown;
|
|
8854
|
-
}
|
|
8855
|
-
}
|
|
8856
|
-
}
|
|
8857
|
-
namespace $500 {
|
|
8858
|
-
namespace Content {
|
|
8859
|
-
interface ApplicationJson {
|
|
8860
|
-
[k: string]: unknown;
|
|
8861
|
-
}
|
|
8862
|
-
}
|
|
8863
|
-
}
|
|
8864
|
-
namespace Default {
|
|
8865
|
-
namespace Content {
|
|
8866
|
-
interface ApplicationJson {
|
|
8867
|
-
[k: string]: unknown;
|
|
8868
|
-
}
|
|
8869
|
-
}
|
|
8870
|
-
}
|
|
8871
|
-
}
|
|
8872
|
-
}
|
|
8873
|
-
}
|
|
8874
|
-
namespace V2FileTypeRulesName {
|
|
8875
|
-
namespace Get {
|
|
8876
|
-
namespace Parameters {
|
|
8877
|
-
type Path = {
|
|
8878
|
-
name: "avatar" | "conversation";
|
|
8879
|
-
};
|
|
8880
|
-
type Header = {};
|
|
8881
|
-
type Query = {};
|
|
8882
|
-
}
|
|
8883
|
-
namespace Responses {
|
|
8884
|
-
namespace $200 {
|
|
8885
|
-
namespace Content {
|
|
8886
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
8887
|
-
}
|
|
8888
|
-
}
|
|
8889
|
-
namespace $404 {
|
|
8890
|
-
namespace Content {
|
|
8891
|
-
interface ApplicationJson {
|
|
8892
|
-
[k: string]: unknown;
|
|
8893
|
-
}
|
|
8894
|
-
}
|
|
8895
|
-
}
|
|
8896
|
-
namespace $500 {
|
|
8897
|
-
namespace Content {
|
|
8898
|
-
interface ApplicationJson {
|
|
8899
|
-
[k: string]: unknown;
|
|
8900
|
-
}
|
|
8901
|
-
}
|
|
8902
|
-
}
|
|
8903
|
-
namespace Default {
|
|
8904
|
-
namespace Content {
|
|
8905
|
-
interface ApplicationJson {
|
|
8906
|
-
[k: string]: unknown;
|
|
8907
|
-
}
|
|
8908
|
-
}
|
|
8909
|
-
}
|
|
8910
|
-
}
|
|
8911
|
-
}
|
|
8912
|
-
}
|
|
8913
8835
|
namespace V2FilesFileId {
|
|
8914
8836
|
namespace Get {
|
|
8915
8837
|
namespace Parameters {
|
|
@@ -10509,12 +10431,12 @@ export declare module MittwaldAPIV2 {
|
|
|
10509
10431
|
}
|
|
10510
10432
|
}
|
|
10511
10433
|
namespace V2MailaddressesMailAddressIdSpamprotection { }
|
|
10512
|
-
namespace
|
|
10434
|
+
namespace V2ProjectsProjectIdMailSettingsMailSetting {
|
|
10513
10435
|
namespace Patch {
|
|
10514
10436
|
namespace Parameters {
|
|
10515
10437
|
type Path = {
|
|
10516
10438
|
projectId: string;
|
|
10517
|
-
|
|
10439
|
+
mailSetting: "blacklist" | "whitelist";
|
|
10518
10440
|
};
|
|
10519
10441
|
type RequestBody = {
|
|
10520
10442
|
blacklist: string[];
|
|
@@ -10575,6 +10497,7 @@ export declare module MittwaldAPIV2 {
|
|
|
10575
10497
|
}
|
|
10576
10498
|
}
|
|
10577
10499
|
}
|
|
10500
|
+
namespace V2ProjectsProjectIdMailSettingsSetting { }
|
|
10578
10501
|
namespace V2NewsletterSubscriptionsSelf {
|
|
10579
10502
|
namespace Get {
|
|
10580
10503
|
namespace Parameters {
|
|
@@ -14768,5 +14691,85 @@ export declare module MittwaldAPIV2 {
|
|
|
14768
14691
|
}
|
|
14769
14692
|
}
|
|
14770
14693
|
namespace V2AppinstallationsAppInstallationIdDatabases { }
|
|
14694
|
+
namespace V2FileUploadTokensFileUploadTokenRules {
|
|
14695
|
+
namespace Get {
|
|
14696
|
+
namespace Parameters {
|
|
14697
|
+
type Path = {
|
|
14698
|
+
fileUploadToken: string;
|
|
14699
|
+
};
|
|
14700
|
+
type Header = {};
|
|
14701
|
+
type Query = {};
|
|
14702
|
+
}
|
|
14703
|
+
namespace Responses {
|
|
14704
|
+
namespace $200 {
|
|
14705
|
+
namespace Content {
|
|
14706
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
14707
|
+
}
|
|
14708
|
+
}
|
|
14709
|
+
namespace $404 {
|
|
14710
|
+
namespace Content {
|
|
14711
|
+
interface ApplicationJson {
|
|
14712
|
+
[k: string]: unknown;
|
|
14713
|
+
}
|
|
14714
|
+
}
|
|
14715
|
+
}
|
|
14716
|
+
namespace $500 {
|
|
14717
|
+
namespace Content {
|
|
14718
|
+
interface ApplicationJson {
|
|
14719
|
+
[k: string]: unknown;
|
|
14720
|
+
}
|
|
14721
|
+
}
|
|
14722
|
+
}
|
|
14723
|
+
namespace Default {
|
|
14724
|
+
namespace Content {
|
|
14725
|
+
interface ApplicationJson {
|
|
14726
|
+
[k: string]: unknown;
|
|
14727
|
+
}
|
|
14728
|
+
}
|
|
14729
|
+
}
|
|
14730
|
+
}
|
|
14731
|
+
}
|
|
14732
|
+
}
|
|
14733
|
+
namespace V2FileUploadTypesFileUploadTypeRules {
|
|
14734
|
+
namespace Get {
|
|
14735
|
+
namespace Parameters {
|
|
14736
|
+
type Path = {
|
|
14737
|
+
fileUploadType: "avatar" | "conversation";
|
|
14738
|
+
};
|
|
14739
|
+
type Header = {};
|
|
14740
|
+
type Query = {};
|
|
14741
|
+
}
|
|
14742
|
+
namespace Responses {
|
|
14743
|
+
namespace $200 {
|
|
14744
|
+
namespace Content {
|
|
14745
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
14746
|
+
}
|
|
14747
|
+
}
|
|
14748
|
+
namespace $404 {
|
|
14749
|
+
namespace Content {
|
|
14750
|
+
interface ApplicationJson {
|
|
14751
|
+
[k: string]: unknown;
|
|
14752
|
+
}
|
|
14753
|
+
}
|
|
14754
|
+
}
|
|
14755
|
+
namespace $500 {
|
|
14756
|
+
namespace Content {
|
|
14757
|
+
interface ApplicationJson {
|
|
14758
|
+
[k: string]: unknown;
|
|
14759
|
+
}
|
|
14760
|
+
}
|
|
14761
|
+
}
|
|
14762
|
+
namespace Default {
|
|
14763
|
+
namespace Content {
|
|
14764
|
+
interface ApplicationJson {
|
|
14765
|
+
[k: string]: unknown;
|
|
14766
|
+
}
|
|
14767
|
+
}
|
|
14768
|
+
}
|
|
14769
|
+
}
|
|
14770
|
+
}
|
|
14771
|
+
}
|
|
14772
|
+
namespace V2FileTokenRulesToken { }
|
|
14773
|
+
namespace V2FileTypeRulesName { }
|
|
14771
14774
|
}
|
|
14772
14775
|
}
|
|
@@ -1188,9 +1188,19 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1188
1188
|
sizeInBytes: number;
|
|
1189
1189
|
type: string;
|
|
1190
1190
|
}>;
|
|
1191
|
-
/** Get a
|
|
1192
|
-
|
|
1193
|
-
|
|
1191
|
+
/** Get a File. */
|
|
1192
|
+
getFile: (conf: {
|
|
1193
|
+
fileId: string;
|
|
1194
|
+
headers?: {
|
|
1195
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1196
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
1197
|
+
Download?: boolean | undefined;
|
|
1198
|
+
Token?: string | undefined;
|
|
1199
|
+
} | undefined;
|
|
1200
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<string>;
|
|
1201
|
+
/** Get a FileUploadToken's rules. */
|
|
1202
|
+
getFileUploadTokenRules: (conf: {
|
|
1203
|
+
fileUploadToken: string;
|
|
1194
1204
|
headers?: {
|
|
1195
1205
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1196
1206
|
} | undefined;
|
|
@@ -1210,9 +1220,9 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1210
1220
|
} | undefined;
|
|
1211
1221
|
} | undefined;
|
|
1212
1222
|
}>;
|
|
1213
|
-
/** Get a
|
|
1214
|
-
|
|
1215
|
-
|
|
1223
|
+
/** Get a FileUploadType's rules. */
|
|
1224
|
+
getFileUploadTypeRules: (conf: {
|
|
1225
|
+
fileUploadType: "avatar" | "conversation";
|
|
1216
1226
|
headers?: {
|
|
1217
1227
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1218
1228
|
} | undefined;
|
|
@@ -1232,16 +1242,6 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1232
1242
|
} | undefined;
|
|
1233
1243
|
} | undefined;
|
|
1234
1244
|
}>;
|
|
1235
|
-
/** Get a File. */
|
|
1236
|
-
getFile: (conf: {
|
|
1237
|
-
fileId: string;
|
|
1238
|
-
headers?: {
|
|
1239
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1240
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
1241
|
-
Download?: boolean | undefined;
|
|
1242
|
-
Token?: string | undefined;
|
|
1243
|
-
} | undefined;
|
|
1244
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<string>;
|
|
1245
1245
|
};
|
|
1246
1246
|
declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1247
1247
|
/** List DeliveryBoxes belonging to a Project. */
|
|
@@ -174,12 +174,12 @@ const buildDomainApi = (baseClient) => ({
|
|
|
174
174
|
const buildFileApi = (baseClient) => ({
|
|
175
175
|
/** Get a File's meta. */
|
|
176
176
|
getFileMeta: new ApiCallAsyncResourceFactory(descriptors.fileGetFileMeta, baseClient.file.getFileMeta).getApiResource,
|
|
177
|
-
/** Get a Token's upload rules. */
|
|
178
|
-
getFileTokenRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileTokenRules, baseClient.file.getFileTokenRules).getApiResource,
|
|
179
|
-
/** Get a Type's upload rules. */
|
|
180
|
-
getFileTypeRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileTypeRules, baseClient.file.getFileTypeRules).getApiResource,
|
|
181
177
|
/** Get a File. */
|
|
182
178
|
getFile: new ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
|
|
179
|
+
/** Get a FileUploadToken's rules. */
|
|
180
|
+
getFileUploadTokenRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTokenRules, baseClient.file.getFileUploadTokenRules).getApiResource,
|
|
181
|
+
/** Get a FileUploadType's rules. */
|
|
182
|
+
getFileUploadTypeRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTypeRules, baseClient.file.getFileUploadTypeRules).getApiResource,
|
|
183
183
|
});
|
|
184
184
|
const buildMailApi = (baseClient) => ({
|
|
185
185
|
/** List DeliveryBoxes belonging to a Project. */
|
|
@@ -5929,11 +5929,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5929
5929
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5930
5930
|
[x: string]: unknown;
|
|
5931
5931
|
}, 404, "application/json">>>;
|
|
5932
|
-
/** Get a
|
|
5933
|
-
|
|
5934
|
-
|
|
5932
|
+
/** Get a File. */
|
|
5933
|
+
getFile: (request: {
|
|
5934
|
+
fileId: string;
|
|
5935
5935
|
headers?: {
|
|
5936
5936
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5937
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
5938
|
+
Download?: boolean | undefined;
|
|
5939
|
+
Token?: string | undefined;
|
|
5937
5940
|
} | undefined;
|
|
5938
5941
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5939
5942
|
headers?: Partial<{
|
|
@@ -5941,7 +5944,36 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5941
5944
|
}> | undefined;
|
|
5942
5945
|
} & {
|
|
5943
5946
|
pathParameters: {
|
|
5944
|
-
|
|
5947
|
+
fileId: string;
|
|
5948
|
+
};
|
|
5949
|
+
} & {
|
|
5950
|
+
headers: {
|
|
5951
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
5952
|
+
Download?: boolean | undefined;
|
|
5953
|
+
Token?: string | undefined;
|
|
5954
|
+
} & Partial<{
|
|
5955
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5956
|
+
}>;
|
|
5957
|
+
}, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "base64"> | import("@mittwald/api-client-commons").Response<string, 200, "ocr"> | import("@mittwald/api-client-commons").Response<{
|
|
5958
|
+
[x: string]: unknown;
|
|
5959
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5960
|
+
[x: string]: unknown;
|
|
5961
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5962
|
+
[x: string]: unknown;
|
|
5963
|
+
}, 500, "application/json">>>;
|
|
5964
|
+
/** Get a FileUploadToken's rules. */
|
|
5965
|
+
getFileUploadTokenRules: (request: {
|
|
5966
|
+
fileUploadToken: string;
|
|
5967
|
+
headers?: {
|
|
5968
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5969
|
+
} | undefined;
|
|
5970
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5971
|
+
headers?: Partial<{
|
|
5972
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5973
|
+
}> | undefined;
|
|
5974
|
+
} & {
|
|
5975
|
+
pathParameters: {
|
|
5976
|
+
fileUploadToken: string;
|
|
5945
5977
|
};
|
|
5946
5978
|
}, import("@mittwald/api-client-commons").Response<{
|
|
5947
5979
|
maxSizeInKB: number;
|
|
@@ -5963,9 +5995,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5963
5995
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5964
5996
|
[x: string]: unknown;
|
|
5965
5997
|
}, 500, "application/json">>>;
|
|
5966
|
-
/** Get a
|
|
5967
|
-
|
|
5968
|
-
|
|
5998
|
+
/** Get a FileUploadType's rules. */
|
|
5999
|
+
getFileUploadTypeRules: (request: {
|
|
6000
|
+
fileUploadType: "avatar" | "conversation";
|
|
5969
6001
|
headers?: {
|
|
5970
6002
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5971
6003
|
} | undefined;
|
|
@@ -5975,7 +6007,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5975
6007
|
}> | undefined;
|
|
5976
6008
|
} & {
|
|
5977
6009
|
pathParameters: {
|
|
5978
|
-
|
|
6010
|
+
fileUploadType: "avatar" | "conversation";
|
|
5979
6011
|
};
|
|
5980
6012
|
}, import("@mittwald/api-client-commons").Response<{
|
|
5981
6013
|
maxSizeInKB: number;
|
|
@@ -5997,38 +6029,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5997
6029
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5998
6030
|
[x: string]: unknown;
|
|
5999
6031
|
}, 500, "application/json">>>;
|
|
6000
|
-
/** Get a File. */
|
|
6001
|
-
getFile: (request: {
|
|
6002
|
-
fileId: string;
|
|
6003
|
-
headers?: {
|
|
6004
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6005
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
6006
|
-
Download?: boolean | undefined;
|
|
6007
|
-
Token?: string | undefined;
|
|
6008
|
-
} | undefined;
|
|
6009
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6010
|
-
headers?: Partial<{
|
|
6011
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6012
|
-
}> | undefined;
|
|
6013
|
-
} & {
|
|
6014
|
-
pathParameters: {
|
|
6015
|
-
fileId: string;
|
|
6016
|
-
};
|
|
6017
|
-
} & {
|
|
6018
|
-
headers: {
|
|
6019
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
6020
|
-
Download?: boolean | undefined;
|
|
6021
|
-
Token?: string | undefined;
|
|
6022
|
-
} & Partial<{
|
|
6023
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6024
|
-
}>;
|
|
6025
|
-
}, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "base64"> | import("@mittwald/api-client-commons").Response<string, 200, "ocr"> | import("@mittwald/api-client-commons").Response<{
|
|
6026
|
-
[x: string]: unknown;
|
|
6027
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6028
|
-
[x: string]: unknown;
|
|
6029
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6030
|
-
[x: string]: unknown;
|
|
6031
|
-
}, 500, "application/json">>>;
|
|
6032
6032
|
};
|
|
6033
6033
|
/** The mail API allows you to manage your mail accounts. */
|
|
6034
6034
|
readonly mail: {
|
|
@@ -6789,7 +6789,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6789
6789
|
blacklist: string[];
|
|
6790
6790
|
};
|
|
6791
6791
|
projectId: string;
|
|
6792
|
-
|
|
6792
|
+
mailSetting: "blacklist" | "whitelist";
|
|
6793
6793
|
headers?: {
|
|
6794
6794
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6795
6795
|
"x-access-token"?: string | undefined;
|
|
@@ -6799,7 +6799,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6799
6799
|
whitelist: string[];
|
|
6800
6800
|
};
|
|
6801
6801
|
projectId: string;
|
|
6802
|
-
|
|
6802
|
+
mailSetting: "blacklist" | "whitelist";
|
|
6803
6803
|
headers?: {
|
|
6804
6804
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6805
6805
|
"x-access-token"?: string | undefined;
|
|
@@ -6815,7 +6815,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6815
6815
|
}) & {
|
|
6816
6816
|
pathParameters: {
|
|
6817
6817
|
projectId: string;
|
|
6818
|
-
|
|
6818
|
+
mailSetting: "blacklist" | "whitelist";
|
|
6819
6819
|
};
|
|
6820
6820
|
} & {
|
|
6821
6821
|
headers?: Partial<{
|
|
@@ -382,12 +382,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
382
382
|
createFile: this.requestFunctionFactory(descriptors.fileCreateFile),
|
|
383
383
|
/** Get a File's meta. */
|
|
384
384
|
getFileMeta: this.requestFunctionFactory(descriptors.fileGetFileMeta),
|
|
385
|
-
/** Get a Token's upload rules. */
|
|
386
|
-
getFileTokenRules: this.requestFunctionFactory(descriptors.fileGetFileTokenRules),
|
|
387
|
-
/** Get a Type's upload rules. */
|
|
388
|
-
getFileTypeRules: this.requestFunctionFactory(descriptors.fileGetFileTypeRules),
|
|
389
385
|
/** Get a File. */
|
|
390
386
|
getFile: this.requestFunctionFactory(descriptors.fileGetFile),
|
|
387
|
+
/** Get a FileUploadToken's rules. */
|
|
388
|
+
getFileUploadTokenRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTokenRules),
|
|
389
|
+
/** Get a FileUploadType's rules. */
|
|
390
|
+
getFileUploadTypeRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTypeRules),
|
|
391
391
|
};
|
|
392
392
|
/** The mail API allows you to manage your mail accounts. */
|
|
393
393
|
mail = {
|
|
@@ -299,10 +299,6 @@ export declare const domainVerifyDomainOwnership: OpenAPIOperation<RequestType<S
|
|
|
299
299
|
export declare const fileCreateFile: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
300
300
|
/** Get a File's meta. */
|
|
301
301
|
export declare const fileGetFileMeta: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
302
|
-
/** Get a Token's upload rules. */
|
|
303
|
-
export declare const fileGetFileTokenRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
304
|
-
/** Get a Type's upload rules. */
|
|
305
|
-
export declare const fileGetFileTypeRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
306
302
|
/** Get a File. */
|
|
307
303
|
export declare const fileGetFile: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.ApplicationOctetStream>, 200, "application/octet-stream"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.Base64>, 200, "base64"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.Ocr>, 200, "ocr"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
308
304
|
/** List Ingresses. */
|
|
@@ -364,7 +360,7 @@ export declare const mailUpdateMailAddressQuota: OpenAPIOperation<RequestType<Si
|
|
|
364
360
|
/** Update the spam protection of a MailAddress. */
|
|
365
361
|
export declare const mailUpdateMailAddressSpamProtection: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
366
362
|
/** Update a mail setting of a Project. */
|
|
367
|
-
export declare const mailUpdateProjectMailSetting: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.
|
|
363
|
+
export declare const mailUpdateProjectMailSetting: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
368
364
|
/** Getting the subscription status of the subscription. */
|
|
369
365
|
export declare const newsletterGetInfo: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
370
366
|
/** Unsubscribe a user from the mStudio newsletter. */
|
|
@@ -587,3 +583,7 @@ export declare const userVerifyPhoneNumber: OpenAPIOperation<RequestType<Simplif
|
|
|
587
583
|
export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
588
584
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
589
585
|
export declare const domainGetLatestScreenshot: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
586
|
+
/** Get a FileUploadToken's rules. */
|
|
587
|
+
export declare const fileGetFileUploadTokenRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
588
|
+
/** Get a FileUploadType's rules. */
|
|
589
|
+
export declare const fileGetFileUploadTypeRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -886,18 +886,6 @@ export const fileGetFileMeta = {
|
|
|
886
886
|
method: "GET",
|
|
887
887
|
operationId: "file-get-file-meta",
|
|
888
888
|
};
|
|
889
|
-
/** Get a Token's upload rules. */
|
|
890
|
-
export const fileGetFileTokenRules = {
|
|
891
|
-
path: "/v2/file-token-rules/{token}",
|
|
892
|
-
method: "GET",
|
|
893
|
-
operationId: "file-get-file-token-rules",
|
|
894
|
-
};
|
|
895
|
-
/** Get a Type's upload rules. */
|
|
896
|
-
export const fileGetFileTypeRules = {
|
|
897
|
-
path: "/v2/file-type-rules/{name}",
|
|
898
|
-
method: "GET",
|
|
899
|
-
operationId: "file-get-file-type-rules",
|
|
900
|
-
};
|
|
901
889
|
/** Get a File. */
|
|
902
890
|
export const fileGetFile = {
|
|
903
891
|
path: "/v2/files/{fileId}",
|
|
@@ -1080,7 +1068,7 @@ export const mailUpdateMailAddressSpamProtection = {
|
|
|
1080
1068
|
};
|
|
1081
1069
|
/** Update a mail setting of a Project. */
|
|
1082
1070
|
export const mailUpdateProjectMailSetting = {
|
|
1083
|
-
path: "/v2/projects/{projectId}/mail-settings/{
|
|
1071
|
+
path: "/v2/projects/{projectId}/mail-settings/{mailSetting}",
|
|
1084
1072
|
method: "PATCH",
|
|
1085
1073
|
operationId: "mail-update-project-mail-setting",
|
|
1086
1074
|
};
|
|
@@ -1750,3 +1738,15 @@ export const domainGetLatestScreenshot = {
|
|
|
1750
1738
|
method: "GET",
|
|
1751
1739
|
operationId: "domain-get-latest-screenshot",
|
|
1752
1740
|
};
|
|
1741
|
+
/** Get a FileUploadToken's rules. */
|
|
1742
|
+
export const fileGetFileUploadTokenRules = {
|
|
1743
|
+
path: "/v2/file-upload-tokens/{fileUploadToken}/rules",
|
|
1744
|
+
method: "GET",
|
|
1745
|
+
operationId: "file-get-file-upload-token-rules",
|
|
1746
|
+
};
|
|
1747
|
+
/** Get a FileUploadType's rules. */
|
|
1748
|
+
export const fileGetFileUploadTypeRules = {
|
|
1749
|
+
path: "/v2/file-upload-types/{fileUploadType}/rules",
|
|
1750
|
+
method: "GET",
|
|
1751
|
+
operationId: "file-get-file-upload-type-rules",
|
|
1752
|
+
};
|
|
@@ -594,14 +594,6 @@ export declare module MittwaldAPIV2 {
|
|
|
594
594
|
type RequestData = InferredRequestData<typeof descriptors.fileGetFileMeta>;
|
|
595
595
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileMeta, TStatus>;
|
|
596
596
|
}
|
|
597
|
-
namespace FileGetFileTokenRules {
|
|
598
|
-
type RequestData = InferredRequestData<typeof descriptors.fileGetFileTokenRules>;
|
|
599
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileTokenRules, TStatus>;
|
|
600
|
-
}
|
|
601
|
-
namespace FileGetFileTypeRules {
|
|
602
|
-
type RequestData = InferredRequestData<typeof descriptors.fileGetFileTypeRules>;
|
|
603
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileTypeRules, TStatus>;
|
|
604
|
-
}
|
|
605
597
|
namespace FileGetFile {
|
|
606
598
|
type RequestData = InferredRequestData<typeof descriptors.fileGetFile>;
|
|
607
599
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFile, TStatus>;
|
|
@@ -1170,6 +1162,14 @@ export declare module MittwaldAPIV2 {
|
|
|
1170
1162
|
type RequestData = InferredRequestData<typeof descriptors.domainGetLatestScreenshot>;
|
|
1171
1163
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetLatestScreenshot, TStatus>;
|
|
1172
1164
|
}
|
|
1165
|
+
namespace FileGetFileUploadTokenRules {
|
|
1166
|
+
type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTokenRules>;
|
|
1167
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTokenRules, TStatus>;
|
|
1168
|
+
}
|
|
1169
|
+
namespace FileGetFileUploadTypeRules {
|
|
1170
|
+
type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTypeRules>;
|
|
1171
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTypeRules, TStatus>;
|
|
1172
|
+
}
|
|
1173
1173
|
}
|
|
1174
1174
|
namespace Components {
|
|
1175
1175
|
namespace Schemas {
|
|
@@ -8832,84 +8832,6 @@ export declare module MittwaldAPIV2 {
|
|
|
8832
8832
|
}
|
|
8833
8833
|
}
|
|
8834
8834
|
}
|
|
8835
|
-
namespace V2FileTokenRulesToken {
|
|
8836
|
-
namespace Get {
|
|
8837
|
-
namespace Parameters {
|
|
8838
|
-
type Path = {
|
|
8839
|
-
token: string;
|
|
8840
|
-
};
|
|
8841
|
-
type Header = {};
|
|
8842
|
-
type Query = {};
|
|
8843
|
-
}
|
|
8844
|
-
namespace Responses {
|
|
8845
|
-
namespace $200 {
|
|
8846
|
-
namespace Content {
|
|
8847
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
8848
|
-
}
|
|
8849
|
-
}
|
|
8850
|
-
namespace $404 {
|
|
8851
|
-
namespace Content {
|
|
8852
|
-
interface ApplicationJson {
|
|
8853
|
-
[k: string]: unknown;
|
|
8854
|
-
}
|
|
8855
|
-
}
|
|
8856
|
-
}
|
|
8857
|
-
namespace $500 {
|
|
8858
|
-
namespace Content {
|
|
8859
|
-
interface ApplicationJson {
|
|
8860
|
-
[k: string]: unknown;
|
|
8861
|
-
}
|
|
8862
|
-
}
|
|
8863
|
-
}
|
|
8864
|
-
namespace Default {
|
|
8865
|
-
namespace Content {
|
|
8866
|
-
interface ApplicationJson {
|
|
8867
|
-
[k: string]: unknown;
|
|
8868
|
-
}
|
|
8869
|
-
}
|
|
8870
|
-
}
|
|
8871
|
-
}
|
|
8872
|
-
}
|
|
8873
|
-
}
|
|
8874
|
-
namespace V2FileTypeRulesName {
|
|
8875
|
-
namespace Get {
|
|
8876
|
-
namespace Parameters {
|
|
8877
|
-
type Path = {
|
|
8878
|
-
name: "avatar" | "conversation";
|
|
8879
|
-
};
|
|
8880
|
-
type Header = {};
|
|
8881
|
-
type Query = {};
|
|
8882
|
-
}
|
|
8883
|
-
namespace Responses {
|
|
8884
|
-
namespace $200 {
|
|
8885
|
-
namespace Content {
|
|
8886
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
8887
|
-
}
|
|
8888
|
-
}
|
|
8889
|
-
namespace $404 {
|
|
8890
|
-
namespace Content {
|
|
8891
|
-
interface ApplicationJson {
|
|
8892
|
-
[k: string]: unknown;
|
|
8893
|
-
}
|
|
8894
|
-
}
|
|
8895
|
-
}
|
|
8896
|
-
namespace $500 {
|
|
8897
|
-
namespace Content {
|
|
8898
|
-
interface ApplicationJson {
|
|
8899
|
-
[k: string]: unknown;
|
|
8900
|
-
}
|
|
8901
|
-
}
|
|
8902
|
-
}
|
|
8903
|
-
namespace Default {
|
|
8904
|
-
namespace Content {
|
|
8905
|
-
interface ApplicationJson {
|
|
8906
|
-
[k: string]: unknown;
|
|
8907
|
-
}
|
|
8908
|
-
}
|
|
8909
|
-
}
|
|
8910
|
-
}
|
|
8911
|
-
}
|
|
8912
|
-
}
|
|
8913
8835
|
namespace V2FilesFileId {
|
|
8914
8836
|
namespace Get {
|
|
8915
8837
|
namespace Parameters {
|
|
@@ -10509,12 +10431,12 @@ export declare module MittwaldAPIV2 {
|
|
|
10509
10431
|
}
|
|
10510
10432
|
}
|
|
10511
10433
|
namespace V2MailaddressesMailAddressIdSpamprotection { }
|
|
10512
|
-
namespace
|
|
10434
|
+
namespace V2ProjectsProjectIdMailSettingsMailSetting {
|
|
10513
10435
|
namespace Patch {
|
|
10514
10436
|
namespace Parameters {
|
|
10515
10437
|
type Path = {
|
|
10516
10438
|
projectId: string;
|
|
10517
|
-
|
|
10439
|
+
mailSetting: "blacklist" | "whitelist";
|
|
10518
10440
|
};
|
|
10519
10441
|
type RequestBody = {
|
|
10520
10442
|
blacklist: string[];
|
|
@@ -10575,6 +10497,7 @@ export declare module MittwaldAPIV2 {
|
|
|
10575
10497
|
}
|
|
10576
10498
|
}
|
|
10577
10499
|
}
|
|
10500
|
+
namespace V2ProjectsProjectIdMailSettingsSetting { }
|
|
10578
10501
|
namespace V2NewsletterSubscriptionsSelf {
|
|
10579
10502
|
namespace Get {
|
|
10580
10503
|
namespace Parameters {
|
|
@@ -14768,5 +14691,85 @@ export declare module MittwaldAPIV2 {
|
|
|
14768
14691
|
}
|
|
14769
14692
|
}
|
|
14770
14693
|
namespace V2AppinstallationsAppInstallationIdDatabases { }
|
|
14694
|
+
namespace V2FileUploadTokensFileUploadTokenRules {
|
|
14695
|
+
namespace Get {
|
|
14696
|
+
namespace Parameters {
|
|
14697
|
+
type Path = {
|
|
14698
|
+
fileUploadToken: string;
|
|
14699
|
+
};
|
|
14700
|
+
type Header = {};
|
|
14701
|
+
type Query = {};
|
|
14702
|
+
}
|
|
14703
|
+
namespace Responses {
|
|
14704
|
+
namespace $200 {
|
|
14705
|
+
namespace Content {
|
|
14706
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
14707
|
+
}
|
|
14708
|
+
}
|
|
14709
|
+
namespace $404 {
|
|
14710
|
+
namespace Content {
|
|
14711
|
+
interface ApplicationJson {
|
|
14712
|
+
[k: string]: unknown;
|
|
14713
|
+
}
|
|
14714
|
+
}
|
|
14715
|
+
}
|
|
14716
|
+
namespace $500 {
|
|
14717
|
+
namespace Content {
|
|
14718
|
+
interface ApplicationJson {
|
|
14719
|
+
[k: string]: unknown;
|
|
14720
|
+
}
|
|
14721
|
+
}
|
|
14722
|
+
}
|
|
14723
|
+
namespace Default {
|
|
14724
|
+
namespace Content {
|
|
14725
|
+
interface ApplicationJson {
|
|
14726
|
+
[k: string]: unknown;
|
|
14727
|
+
}
|
|
14728
|
+
}
|
|
14729
|
+
}
|
|
14730
|
+
}
|
|
14731
|
+
}
|
|
14732
|
+
}
|
|
14733
|
+
namespace V2FileUploadTypesFileUploadTypeRules {
|
|
14734
|
+
namespace Get {
|
|
14735
|
+
namespace Parameters {
|
|
14736
|
+
type Path = {
|
|
14737
|
+
fileUploadType: "avatar" | "conversation";
|
|
14738
|
+
};
|
|
14739
|
+
type Header = {};
|
|
14740
|
+
type Query = {};
|
|
14741
|
+
}
|
|
14742
|
+
namespace Responses {
|
|
14743
|
+
namespace $200 {
|
|
14744
|
+
namespace Content {
|
|
14745
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
14746
|
+
}
|
|
14747
|
+
}
|
|
14748
|
+
namespace $404 {
|
|
14749
|
+
namespace Content {
|
|
14750
|
+
interface ApplicationJson {
|
|
14751
|
+
[k: string]: unknown;
|
|
14752
|
+
}
|
|
14753
|
+
}
|
|
14754
|
+
}
|
|
14755
|
+
namespace $500 {
|
|
14756
|
+
namespace Content {
|
|
14757
|
+
interface ApplicationJson {
|
|
14758
|
+
[k: string]: unknown;
|
|
14759
|
+
}
|
|
14760
|
+
}
|
|
14761
|
+
}
|
|
14762
|
+
namespace Default {
|
|
14763
|
+
namespace Content {
|
|
14764
|
+
interface ApplicationJson {
|
|
14765
|
+
[k: string]: unknown;
|
|
14766
|
+
}
|
|
14767
|
+
}
|
|
14768
|
+
}
|
|
14769
|
+
}
|
|
14770
|
+
}
|
|
14771
|
+
}
|
|
14772
|
+
namespace V2FileTokenRulesToken { }
|
|
14773
|
+
namespace V2FileTypeRulesName { }
|
|
14771
14774
|
}
|
|
14772
14775
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '3.1.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '3.1.13';
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '3.1.
|
|
1
|
+
export const MittwaldAPIClientVersion = '3.1.13';
|