@mittwald/api-client 3.1.11 → 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 +22 -22
- package/dist/cjs/generated/v2/client-react.js +6 -6
- package/dist/cjs/generated/v2/client.d.ts +67 -67
- package/dist/cjs/generated/v2/client.js +6 -6
- package/dist/cjs/generated/v2/descriptors.d.ts +7 -7
- package/dist/cjs/generated/v2/descriptors.js +24 -24
- package/dist/cjs/generated/v2/types.d.ts +113 -110
- package/dist/esm/generated/v2/client-react.d.ts +22 -22
- package/dist/esm/generated/v2/client-react.js +6 -6
- package/dist/esm/generated/v2/client.d.ts +67 -67
- package/dist/esm/generated/v2/client.js +6 -6
- package/dist/esm/generated/v2/descriptors.d.ts +7 -7
- package/dist/esm/generated/v2/descriptors.js +19 -19
- package/dist/esm/generated/v2/types.d.ts +113 -110
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -620,12 +620,6 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
620
620
|
status: "open" | "answered" | "closed";
|
|
621
621
|
title: string;
|
|
622
622
|
}>;
|
|
623
|
-
/** Get all conversation categories. */
|
|
624
|
-
listCategories: (conf?: {
|
|
625
|
-
headers?: {
|
|
626
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
627
|
-
} | undefined;
|
|
628
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationCategory[]>;
|
|
629
623
|
/** Request an access token for the File belonging to the Conversation. */
|
|
630
624
|
getFileAccessToken: (conf: {
|
|
631
625
|
conversationId: string;
|
|
@@ -637,6 +631,12 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
637
631
|
accessToken: string;
|
|
638
632
|
expiresAt: string;
|
|
639
633
|
}>;
|
|
634
|
+
/** Get all conversation categories. */
|
|
635
|
+
listCategories: (conf?: {
|
|
636
|
+
headers?: {
|
|
637
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
638
|
+
} | undefined;
|
|
639
|
+
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationCategory[]>;
|
|
640
640
|
};
|
|
641
641
|
declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
642
642
|
/** List Cronjobs belonging to a Project. */
|
|
@@ -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. */
|
|
@@ -113,10 +113,10 @@ const buildConversationApi = (baseClient) => ({
|
|
|
113
113
|
getCategory: new react_1.ApiCallAsyncResourceFactory(descriptors.conversationGetCategory, baseClient.conversation.getCategory).getApiResource,
|
|
114
114
|
/** Get a support conversation. */
|
|
115
115
|
getConversation: new react_1.ApiCallAsyncResourceFactory(descriptors.conversationGetConversation, baseClient.conversation.getConversation).getApiResource,
|
|
116
|
-
/** Get all conversation categories. */
|
|
117
|
-
listCategories: new react_1.ApiCallAsyncResourceFactory(descriptors.conversationListCategories, baseClient.conversation.listCategories).getApiResource,
|
|
118
116
|
/** Request an access token for the File belonging to the Conversation. */
|
|
119
117
|
getFileAccessToken: new react_1.ApiCallAsyncResourceFactory(descriptors.conversationGetFileAccessToken, baseClient.conversation.getFileAccessToken).getApiResource,
|
|
118
|
+
/** Get all conversation categories. */
|
|
119
|
+
listCategories: new react_1.ApiCallAsyncResourceFactory(descriptors.conversationListCategories, baseClient.conversation.listCategories).getApiResource,
|
|
120
120
|
});
|
|
121
121
|
const buildCronjobApi = (baseClient) => ({
|
|
122
122
|
/** List Cronjobs 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. */
|
|
@@ -2342,6 +2342,30 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2342
2342
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2343
2343
|
[x: string]: unknown;
|
|
2344
2344
|
}, 404, "application/json">>>;
|
|
2345
|
+
/** Request an access token for the File belonging to the Conversation. */
|
|
2346
|
+
getFileAccessToken: (request: {
|
|
2347
|
+
conversationId: string;
|
|
2348
|
+
fileId: string;
|
|
2349
|
+
headers?: {
|
|
2350
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2351
|
+
} | undefined;
|
|
2352
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
2353
|
+
headers?: Partial<{
|
|
2354
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
2355
|
+
}> | undefined;
|
|
2356
|
+
} & {
|
|
2357
|
+
pathParameters: {
|
|
2358
|
+
conversationId: string;
|
|
2359
|
+
fileId: string;
|
|
2360
|
+
};
|
|
2361
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
2362
|
+
accessToken: string;
|
|
2363
|
+
expiresAt: string;
|
|
2364
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2365
|
+
[x: string]: unknown;
|
|
2366
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2367
|
+
[x: string]: unknown;
|
|
2368
|
+
}, 404, "application/json">>>;
|
|
2345
2369
|
/** Get all conversation categories. */
|
|
2346
2370
|
listCategories: (request?: {
|
|
2347
2371
|
headers?: {
|
|
@@ -2450,30 +2474,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2450
2474
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2451
2475
|
[x: string]: unknown;
|
|
2452
2476
|
}, 404, "application/json">>>;
|
|
2453
|
-
/** Request an access token for the File belonging to the Conversation. */
|
|
2454
|
-
getFileAccessToken: (request: {
|
|
2455
|
-
conversationId: string;
|
|
2456
|
-
fileId: string;
|
|
2457
|
-
headers?: {
|
|
2458
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2459
|
-
} | undefined;
|
|
2460
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
2461
|
-
headers?: Partial<{
|
|
2462
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
2463
|
-
}> | undefined;
|
|
2464
|
-
} & {
|
|
2465
|
-
pathParameters: {
|
|
2466
|
-
conversationId: string;
|
|
2467
|
-
fileId: string;
|
|
2468
|
-
};
|
|
2469
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
2470
|
-
accessToken: string;
|
|
2471
|
-
expiresAt: string;
|
|
2472
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2473
|
-
[x: string]: unknown;
|
|
2474
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2475
|
-
[x: string]: unknown;
|
|
2476
|
-
}, 404, "application/json">>>;
|
|
2477
2477
|
};
|
|
2478
2478
|
/** The cronjob API allows you to manage cronjobs within a project. */
|
|
2479
2479
|
readonly cronjob: {
|
|
@@ -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<{
|
|
@@ -178,6 +178,8 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
|
|
|
178
178
|
getConversation: this.requestFunctionFactory(descriptors.conversationGetConversation),
|
|
179
179
|
/** Update the basic properties of the conversation. */
|
|
180
180
|
updateConversation: this.requestFunctionFactory(descriptors.conversationUpdateConversation),
|
|
181
|
+
/** Request an access token for the File belonging to the Conversation. */
|
|
182
|
+
getFileAccessToken: this.requestFunctionFactory(descriptors.conversationGetFileAccessToken),
|
|
181
183
|
/** Get all conversation categories. */
|
|
182
184
|
listCategories: this.requestFunctionFactory(descriptors.conversationListCategories),
|
|
183
185
|
/** Request a file upload token for the conversation. */
|
|
@@ -186,8 +188,6 @@ class MittwaldAPIV2Client extends api_client_commons_1.ApiClientBase {
|
|
|
186
188
|
setConversationStatus: this.requestFunctionFactory(descriptors.conversationSetConversationStatus),
|
|
187
189
|
/** Update the content of the message */
|
|
188
190
|
updateMessage: this.requestFunctionFactory(descriptors.conversationUpdateMessage),
|
|
189
|
-
/** Request an access token for the File belonging to the Conversation. */
|
|
190
|
-
getFileAccessToken: this.requestFunctionFactory(descriptors.conversationGetFileAccessToken),
|
|
191
191
|
};
|
|
192
192
|
/** The cronjob API allows you to manage cronjobs within a project. */
|
|
193
193
|
this.cronjob = {
|
|
@@ -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 = {
|
|
@@ -113,6 +113,8 @@ export declare const conversationGetCategory: OpenAPIOperation<RequestType<Simpl
|
|
|
113
113
|
export declare const conversationGetConversation: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
114
114
|
/** Update the basic properties of the conversation. */
|
|
115
115
|
export declare const conversationUpdateConversation: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Put.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Put.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Put.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationId.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
116
|
+
/** Request an access token for the File belonging to the Conversation. */
|
|
117
|
+
export declare const conversationGetFileAccessToken: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
116
118
|
/** Get all conversation categories. */
|
|
117
119
|
export declare const conversationListCategories: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ConversationCategories.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ConversationCategories.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ConversationCategories.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ConversationCategories.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationCategories.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
118
120
|
/** Request a file upload token for the conversation. */
|
|
@@ -297,10 +299,6 @@ export declare const domainVerifyDomainOwnership: OpenAPIOperation<RequestType<S
|
|
|
297
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">>;
|
|
298
300
|
/** Get a File's meta. */
|
|
299
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">>;
|
|
300
|
-
/** Get a Token's upload rules. */
|
|
301
|
-
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">>;
|
|
302
|
-
/** Get a Type's upload rules. */
|
|
303
|
-
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">>;
|
|
304
302
|
/** Get a File. */
|
|
305
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">>;
|
|
306
304
|
/** List Ingresses. */
|
|
@@ -362,7 +360,7 @@ export declare const mailUpdateMailAddressQuota: OpenAPIOperation<RequestType<Si
|
|
|
362
360
|
/** Update the spam protection of a MailAddress. */
|
|
363
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">>;
|
|
364
362
|
/** Update a mail setting of a Project. */
|
|
365
|
-
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">>;
|
|
366
364
|
/** Getting the subscription status of the subscription. */
|
|
367
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">>;
|
|
368
366
|
/** Unsubscribe a user from the mStudio newsletter. */
|
|
@@ -583,7 +581,9 @@ export declare const userVerifyEmail: OpenAPIOperation<RequestType<Simplify<Mitt
|
|
|
583
581
|
export declare const userVerifyPhoneNumber: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
584
582
|
/** Verify your registration. */
|
|
585
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">>;
|
|
586
|
-
/** Request an access token for the File belonging to the Conversation. */
|
|
587
|
-
export declare const conversationGetFileAccessToken: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ConversationsConversationIdFilesFileIdAccessToken.Get.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">>;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
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
|
-
exports.
|
|
5
|
-
exports.
|
|
6
|
-
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 =
|
|
7
|
-
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 =
|
|
8
|
-
exports.
|
|
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.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}",
|
|
@@ -336,6 +336,12 @@ exports.conversationUpdateConversation = {
|
|
|
336
336
|
method: "PUT",
|
|
337
337
|
operationId: "conversation-update-conversation",
|
|
338
338
|
};
|
|
339
|
+
/** Request an access token for the File belonging to the Conversation. */
|
|
340
|
+
exports.conversationGetFileAccessToken = {
|
|
341
|
+
path: "/v2/conversations/{conversationId}/files/{fileId}/access-token",
|
|
342
|
+
method: "GET",
|
|
343
|
+
operationId: "conversation-get-file-access-token",
|
|
344
|
+
};
|
|
339
345
|
/** Get all conversation categories. */
|
|
340
346
|
exports.conversationListCategories = {
|
|
341
347
|
path: "/v2/conversation-categories",
|
|
@@ -888,18 +894,6 @@ exports.fileGetFileMeta = {
|
|
|
888
894
|
method: "GET",
|
|
889
895
|
operationId: "file-get-file-meta",
|
|
890
896
|
};
|
|
891
|
-
/** Get a Token's upload rules. */
|
|
892
|
-
exports.fileGetFileTokenRules = {
|
|
893
|
-
path: "/v2/file-token-rules/{token}",
|
|
894
|
-
method: "GET",
|
|
895
|
-
operationId: "file-get-file-token-rules",
|
|
896
|
-
};
|
|
897
|
-
/** Get a Type's upload rules. */
|
|
898
|
-
exports.fileGetFileTypeRules = {
|
|
899
|
-
path: "/v2/file-type-rules/{name}",
|
|
900
|
-
method: "GET",
|
|
901
|
-
operationId: "file-get-file-type-rules",
|
|
902
|
-
};
|
|
903
897
|
/** Get a File. */
|
|
904
898
|
exports.fileGetFile = {
|
|
905
899
|
path: "/v2/files/{fileId}",
|
|
@@ -1082,7 +1076,7 @@ exports.mailUpdateMailAddressSpamProtection = {
|
|
|
1082
1076
|
};
|
|
1083
1077
|
/** Update a mail setting of a Project. */
|
|
1084
1078
|
exports.mailUpdateProjectMailSetting = {
|
|
1085
|
-
path: "/v2/projects/{projectId}/mail-settings/{
|
|
1079
|
+
path: "/v2/projects/{projectId}/mail-settings/{mailSetting}",
|
|
1086
1080
|
method: "PATCH",
|
|
1087
1081
|
operationId: "mail-update-project-mail-setting",
|
|
1088
1082
|
};
|
|
@@ -1746,15 +1740,21 @@ exports.userVerifyRegistration = {
|
|
|
1746
1740
|
method: "POST",
|
|
1747
1741
|
operationId: "user-verify-registration",
|
|
1748
1742
|
};
|
|
1749
|
-
/** Request an access token for the File belonging to the Conversation. */
|
|
1750
|
-
exports.conversationGetFileAccessToken = {
|
|
1751
|
-
path: "/v2/conversations/{conversationId}/files/{fileId}/access-token",
|
|
1752
|
-
method: "GET",
|
|
1753
|
-
operationId: "conversation-get-file-access-token",
|
|
1754
|
-
};
|
|
1755
1743
|
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
1756
1744
|
exports.domainGetLatestScreenshot = {
|
|
1757
1745
|
path: "/v2/domains/{domainId}/latest-screenshot",
|
|
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
|
+
};
|