@mittwald/api-client 3.1.17 → 3.1.18
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 +10 -10
- package/dist/cjs/generated/v2/client-react.js +2 -2
- package/dist/cjs/generated/v2/client.d.ts +32 -32
- package/dist/cjs/generated/v2/client.js +2 -2
- package/dist/cjs/generated/v2/descriptors.d.ts +4 -4
- package/dist/cjs/generated/v2/descriptors.js +16 -16
- package/dist/cjs/generated/v2/types.d.ts +89 -89
- package/dist/esm/generated/v2/client-react.d.ts +10 -10
- package/dist/esm/generated/v2/client-react.js +2 -2
- package/dist/esm/generated/v2/client.d.ts +32 -32
- package/dist/esm/generated/v2/client.js +2 -2
- package/dist/esm/generated/v2/descriptors.d.ts +4 -4
- package/dist/esm/generated/v2/descriptors.js +12 -12
- package/dist/esm/generated/v2/types.d.ts +89 -89
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -1188,16 +1188,6 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1188
1188
|
sizeInBytes: number;
|
|
1189
1189
|
type: string;
|
|
1190
1190
|
}>;
|
|
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
1191
|
/** Get a FileUploadToken's rules. */
|
|
1202
1192
|
getFileUploadTokenRules: (conf: {
|
|
1203
1193
|
fileUploadToken: string;
|
|
@@ -1242,6 +1232,16 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1242
1232
|
} | undefined;
|
|
1243
1233
|
} | undefined;
|
|
1244
1234
|
}>;
|
|
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
|
/** Get a DeliveryBox. */
|
|
@@ -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 File. */
|
|
207
|
-
getFile: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
|
|
208
206
|
/** Get a FileUploadToken's rules. */
|
|
209
207
|
getFileUploadTokenRules: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTokenRules, baseClient.file.getFileUploadTokenRules).getApiResource,
|
|
210
208
|
/** Get a FileUploadType's rules. */
|
|
211
209
|
getFileUploadTypeRules: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTypeRules, baseClient.file.getFileUploadTypeRules).getApiResource,
|
|
210
|
+
/** Get a File. */
|
|
211
|
+
getFile: new react_1.ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
|
|
212
212
|
});
|
|
213
213
|
const buildMailApi = (baseClient) => ({
|
|
214
214
|
/** Get a DeliveryBox. */
|
|
@@ -5931,38 +5931,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5931
5931
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5932
5932
|
[x: string]: unknown;
|
|
5933
5933
|
}, 404, "application/json">>>;
|
|
5934
|
-
/** Get a File. */
|
|
5935
|
-
getFile: (request: {
|
|
5936
|
-
fileId: string;
|
|
5937
|
-
headers?: {
|
|
5938
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5939
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
5940
|
-
Download?: boolean | undefined;
|
|
5941
|
-
Token?: string | undefined;
|
|
5942
|
-
} | undefined;
|
|
5943
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5944
|
-
headers?: Partial<{
|
|
5945
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5946
|
-
}> | undefined;
|
|
5947
|
-
} & {
|
|
5948
|
-
pathParameters: {
|
|
5949
|
-
fileId: string;
|
|
5950
|
-
};
|
|
5951
|
-
} & {
|
|
5952
|
-
headers: {
|
|
5953
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
5954
|
-
Download?: boolean | undefined;
|
|
5955
|
-
Token?: string | undefined;
|
|
5956
|
-
} & Partial<{
|
|
5957
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5958
|
-
}>;
|
|
5959
|
-
}, 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<{
|
|
5960
|
-
[x: string]: unknown;
|
|
5961
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5962
|
-
[x: string]: unknown;
|
|
5963
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5964
|
-
[x: string]: unknown;
|
|
5965
|
-
}, 500, "application/json">>>;
|
|
5966
5934
|
/** Get a FileUploadToken's rules. */
|
|
5967
5935
|
getFileUploadTokenRules: (request: {
|
|
5968
5936
|
fileUploadToken: string;
|
|
@@ -6031,6 +5999,38 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6031
5999
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6032
6000
|
[x: string]: unknown;
|
|
6033
6001
|
}, 500, "application/json">>>;
|
|
6002
|
+
/** Get a File. */
|
|
6003
|
+
getFile: (request: {
|
|
6004
|
+
fileId: string;
|
|
6005
|
+
headers?: {
|
|
6006
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6007
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
6008
|
+
Download?: boolean | undefined;
|
|
6009
|
+
Token?: string | undefined;
|
|
6010
|
+
} | undefined;
|
|
6011
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6012
|
+
headers?: Partial<{
|
|
6013
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6014
|
+
}> | undefined;
|
|
6015
|
+
} & {
|
|
6016
|
+
pathParameters: {
|
|
6017
|
+
fileId: string;
|
|
6018
|
+
};
|
|
6019
|
+
} & {
|
|
6020
|
+
headers: {
|
|
6021
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
6022
|
+
Download?: boolean | undefined;
|
|
6023
|
+
Token?: string | undefined;
|
|
6024
|
+
} & Partial<{
|
|
6025
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6026
|
+
}>;
|
|
6027
|
+
}, 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<{
|
|
6028
|
+
[x: string]: unknown;
|
|
6029
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6030
|
+
[x: string]: unknown;
|
|
6031
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6032
|
+
[x: string]: unknown;
|
|
6033
|
+
}, 500, "application/json">>>;
|
|
6034
6034
|
};
|
|
6035
6035
|
/** The mail API allows you to manage your mail accounts. */
|
|
6036
6036
|
readonly mail: {
|
|
@@ -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 File. */
|
|
414
|
-
getFile: this.requestFunctionFactory(descriptors.fileGetFile),
|
|
415
413
|
/** Get a FileUploadToken's rules. */
|
|
416
414
|
getFileUploadTokenRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTokenRules),
|
|
417
415
|
/** Get a FileUploadType's rules. */
|
|
418
416
|
getFileUploadTypeRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTypeRules),
|
|
417
|
+
/** Get a File. */
|
|
418
|
+
getFile: this.requestFunctionFactory(descriptors.fileGetFile),
|
|
419
419
|
};
|
|
420
420
|
/** The mail API allows you to manage your mail accounts. */
|
|
421
421
|
this.mail = {
|
|
@@ -301,6 +301,10 @@ export declare const domainVerifyDomainOwnership: OpenAPIOperation<RequestType<S
|
|
|
301
301
|
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">>;
|
|
302
302
|
/** Get a File's meta. */
|
|
303
303
|
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">>;
|
|
304
|
+
/** Get a FileUploadToken's rules. */
|
|
305
|
+
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">>;
|
|
306
|
+
/** Get a FileUploadType's rules. */
|
|
307
|
+
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">>;
|
|
304
308
|
/** Get a File. */
|
|
305
309
|
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
310
|
/** List Ingresses. */
|
|
@@ -583,7 +587,3 @@ export declare const userVerifyEmail: OpenAPIOperation<RequestType<Simplify<Mitt
|
|
|
583
587
|
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
588
|
/** Verify your registration. */
|
|
585
589
|
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
|
-
/** 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.
|
|
7
|
-
exports.
|
|
8
|
-
exports.
|
|
5
|
+
exports.fileGetFileUploadTokenRules = exports.fileGetFileMeta = exports.fileCreateFile = exports.domainVerifyDomainOwnership = exports.domainUpdateDomainProjectId = exports.domainUpdateDomainContact = exports.domainUpdateDomainAuthCode = exports.domainResendDomainEmail = exports.domainListTlds = exports.domainListTldContactSchemas = exports.domainListDomains = exports.domainListDomainOwnerships = exports.domainGetLatestScreenshot = 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.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.mailCreateMailAddress = exports.mailListMailAddresses = exports.mailCreateDeliverybox = exports.mailListDeliveryBoxes = exports.mailDeleteMailAddress = exports.mailGetMailAddress = exports.mailDeleteDeliveryBox = exports.mailGetDeliveryBox = exports.invoiceListCustomerInvoices = exports.invoiceUpdateInvoiceSettings = exports.invoiceGetDetailOfInvoiceSettings = exports.invoiceDetailOfInvoice = exports.ingressUpdateIngressTls = exports.ingressRequestIngressAcmeCertificateIssuance = exports.ingressUpdateIngressPaths = exports.ingressDeleteIngress = exports.ingressGetIngress = exports.ingressCreateIngress = exports.ingressListIngresses = exports.fileGetFile = exports.fileGetFileUploadTypeRules = void 0;
|
|
7
|
+
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 = exports.projectRequestProjectAvatarUpload = exports.projectDeclineProjectInvite = exports.projectCreateProject = void 0;
|
|
8
|
+
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 = exports.userGetMfaStatus = exports.userCheckToken = exports.userChangePassword = 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}",
|
|
@@ -900,6 +900,18 @@ exports.fileGetFileMeta = {
|
|
|
900
900
|
method: "GET",
|
|
901
901
|
operationId: "file-get-file-meta",
|
|
902
902
|
};
|
|
903
|
+
/** Get a FileUploadToken's rules. */
|
|
904
|
+
exports.fileGetFileUploadTokenRules = {
|
|
905
|
+
path: "/v2/file-upload-tokens/{fileUploadToken}/rules",
|
|
906
|
+
method: "GET",
|
|
907
|
+
operationId: "file-get-file-upload-token-rules",
|
|
908
|
+
};
|
|
909
|
+
/** Get a FileUploadType's rules. */
|
|
910
|
+
exports.fileGetFileUploadTypeRules = {
|
|
911
|
+
path: "/v2/file-upload-types/{fileUploadType}/rules",
|
|
912
|
+
method: "GET",
|
|
913
|
+
operationId: "file-get-file-upload-type-rules",
|
|
914
|
+
};
|
|
903
915
|
/** Get a File. */
|
|
904
916
|
exports.fileGetFile = {
|
|
905
917
|
path: "/v2/files/{fileId}",
|
|
@@ -1746,15 +1758,3 @@ exports.userVerifyRegistration = {
|
|
|
1746
1758
|
method: "POST",
|
|
1747
1759
|
operationId: "user-verify-registration",
|
|
1748
1760
|
};
|
|
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
|
-
};
|
|
@@ -598,6 +598,14 @@ export declare module MittwaldAPIV2 {
|
|
|
598
598
|
type RequestData = InferredRequestData<typeof descriptors.fileGetFileMeta>;
|
|
599
599
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileMeta, TStatus>;
|
|
600
600
|
}
|
|
601
|
+
namespace FileGetFileUploadTokenRules {
|
|
602
|
+
type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTokenRules>;
|
|
603
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTokenRules, TStatus>;
|
|
604
|
+
}
|
|
605
|
+
namespace FileGetFileUploadTypeRules {
|
|
606
|
+
type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTypeRules>;
|
|
607
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTypeRules, TStatus>;
|
|
608
|
+
}
|
|
601
609
|
namespace FileGetFile {
|
|
602
610
|
type RequestData = InferredRequestData<typeof descriptors.fileGetFile>;
|
|
603
611
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFile, TStatus>;
|
|
@@ -1162,14 +1170,6 @@ export declare module MittwaldAPIV2 {
|
|
|
1162
1170
|
type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
|
|
1163
1171
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
|
|
1164
1172
|
}
|
|
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 {
|
|
@@ -7807,10 +7807,13 @@ export declare module MittwaldAPIV2 {
|
|
|
7807
7807
|
}
|
|
7808
7808
|
}
|
|
7809
7809
|
}
|
|
7810
|
+
namespace V2AppinstallationsAppInstallationIdDatabases { }
|
|
7810
7811
|
namespace V2DomainsDomainIdContracts { }
|
|
7811
7812
|
namespace V2ProjectsProjectIdContracts { }
|
|
7812
7813
|
namespace V2ServersServerIdContracts { }
|
|
7813
7814
|
namespace V2DomainsDomainIdScreenshotsNewest { }
|
|
7815
|
+
namespace V2FileTokenRulesToken { }
|
|
7816
|
+
namespace V2FileTypeRulesName { }
|
|
7814
7817
|
namespace V2NewsletterSubscriptions {
|
|
7815
7818
|
namespace Post {
|
|
7816
7819
|
namespace Parameters {
|
|
@@ -8872,6 +8875,84 @@ export declare module MittwaldAPIV2 {
|
|
|
8872
8875
|
}
|
|
8873
8876
|
}
|
|
8874
8877
|
}
|
|
8878
|
+
namespace V2FileUploadTokensFileUploadTokenRules {
|
|
8879
|
+
namespace Get {
|
|
8880
|
+
namespace Parameters {
|
|
8881
|
+
type Path = {
|
|
8882
|
+
fileUploadToken: string;
|
|
8883
|
+
};
|
|
8884
|
+
type Header = {};
|
|
8885
|
+
type Query = {};
|
|
8886
|
+
}
|
|
8887
|
+
namespace Responses {
|
|
8888
|
+
namespace $200 {
|
|
8889
|
+
namespace Content {
|
|
8890
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
8891
|
+
}
|
|
8892
|
+
}
|
|
8893
|
+
namespace $404 {
|
|
8894
|
+
namespace Content {
|
|
8895
|
+
interface ApplicationJson {
|
|
8896
|
+
[k: string]: unknown;
|
|
8897
|
+
}
|
|
8898
|
+
}
|
|
8899
|
+
}
|
|
8900
|
+
namespace $500 {
|
|
8901
|
+
namespace Content {
|
|
8902
|
+
interface ApplicationJson {
|
|
8903
|
+
[k: string]: unknown;
|
|
8904
|
+
}
|
|
8905
|
+
}
|
|
8906
|
+
}
|
|
8907
|
+
namespace Default {
|
|
8908
|
+
namespace Content {
|
|
8909
|
+
interface ApplicationJson {
|
|
8910
|
+
[k: string]: unknown;
|
|
8911
|
+
}
|
|
8912
|
+
}
|
|
8913
|
+
}
|
|
8914
|
+
}
|
|
8915
|
+
}
|
|
8916
|
+
}
|
|
8917
|
+
namespace V2FileUploadTypesFileUploadTypeRules {
|
|
8918
|
+
namespace Get {
|
|
8919
|
+
namespace Parameters {
|
|
8920
|
+
type Path = {
|
|
8921
|
+
fileUploadType: "avatar" | "conversation";
|
|
8922
|
+
};
|
|
8923
|
+
type Header = {};
|
|
8924
|
+
type Query = {};
|
|
8925
|
+
}
|
|
8926
|
+
namespace Responses {
|
|
8927
|
+
namespace $200 {
|
|
8928
|
+
namespace Content {
|
|
8929
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
8930
|
+
}
|
|
8931
|
+
}
|
|
8932
|
+
namespace $404 {
|
|
8933
|
+
namespace Content {
|
|
8934
|
+
interface ApplicationJson {
|
|
8935
|
+
[k: string]: unknown;
|
|
8936
|
+
}
|
|
8937
|
+
}
|
|
8938
|
+
}
|
|
8939
|
+
namespace $500 {
|
|
8940
|
+
namespace Content {
|
|
8941
|
+
interface ApplicationJson {
|
|
8942
|
+
[k: string]: unknown;
|
|
8943
|
+
}
|
|
8944
|
+
}
|
|
8945
|
+
}
|
|
8946
|
+
namespace Default {
|
|
8947
|
+
namespace Content {
|
|
8948
|
+
interface ApplicationJson {
|
|
8949
|
+
[k: string]: unknown;
|
|
8950
|
+
}
|
|
8951
|
+
}
|
|
8952
|
+
}
|
|
8953
|
+
}
|
|
8954
|
+
}
|
|
8955
|
+
}
|
|
8875
8956
|
namespace V2FilesFileId {
|
|
8876
8957
|
namespace Get {
|
|
8877
8958
|
namespace Parameters {
|
|
@@ -14691,86 +14772,5 @@ export declare module MittwaldAPIV2 {
|
|
|
14691
14772
|
}
|
|
14692
14773
|
}
|
|
14693
14774
|
}
|
|
14694
|
-
namespace V2AppinstallationsAppInstallationIdDatabases { }
|
|
14695
|
-
namespace V2FileUploadTokensFileUploadTokenRules {
|
|
14696
|
-
namespace Get {
|
|
14697
|
-
namespace Parameters {
|
|
14698
|
-
type Path = {
|
|
14699
|
-
fileUploadToken: string;
|
|
14700
|
-
};
|
|
14701
|
-
type Header = {};
|
|
14702
|
-
type Query = {};
|
|
14703
|
-
}
|
|
14704
|
-
namespace Responses {
|
|
14705
|
-
namespace $200 {
|
|
14706
|
-
namespace Content {
|
|
14707
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
14708
|
-
}
|
|
14709
|
-
}
|
|
14710
|
-
namespace $404 {
|
|
14711
|
-
namespace Content {
|
|
14712
|
-
interface ApplicationJson {
|
|
14713
|
-
[k: string]: unknown;
|
|
14714
|
-
}
|
|
14715
|
-
}
|
|
14716
|
-
}
|
|
14717
|
-
namespace $500 {
|
|
14718
|
-
namespace Content {
|
|
14719
|
-
interface ApplicationJson {
|
|
14720
|
-
[k: string]: unknown;
|
|
14721
|
-
}
|
|
14722
|
-
}
|
|
14723
|
-
}
|
|
14724
|
-
namespace Default {
|
|
14725
|
-
namespace Content {
|
|
14726
|
-
interface ApplicationJson {
|
|
14727
|
-
[k: string]: unknown;
|
|
14728
|
-
}
|
|
14729
|
-
}
|
|
14730
|
-
}
|
|
14731
|
-
}
|
|
14732
|
-
}
|
|
14733
|
-
}
|
|
14734
|
-
namespace V2FileUploadTypesFileUploadTypeRules {
|
|
14735
|
-
namespace Get {
|
|
14736
|
-
namespace Parameters {
|
|
14737
|
-
type Path = {
|
|
14738
|
-
fileUploadType: "avatar" | "conversation";
|
|
14739
|
-
};
|
|
14740
|
-
type Header = {};
|
|
14741
|
-
type Query = {};
|
|
14742
|
-
}
|
|
14743
|
-
namespace Responses {
|
|
14744
|
-
namespace $200 {
|
|
14745
|
-
namespace Content {
|
|
14746
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
14747
|
-
}
|
|
14748
|
-
}
|
|
14749
|
-
namespace $404 {
|
|
14750
|
-
namespace Content {
|
|
14751
|
-
interface ApplicationJson {
|
|
14752
|
-
[k: string]: unknown;
|
|
14753
|
-
}
|
|
14754
|
-
}
|
|
14755
|
-
}
|
|
14756
|
-
namespace $500 {
|
|
14757
|
-
namespace Content {
|
|
14758
|
-
interface ApplicationJson {
|
|
14759
|
-
[k: string]: unknown;
|
|
14760
|
-
}
|
|
14761
|
-
}
|
|
14762
|
-
}
|
|
14763
|
-
namespace Default {
|
|
14764
|
-
namespace Content {
|
|
14765
|
-
interface ApplicationJson {
|
|
14766
|
-
[k: string]: unknown;
|
|
14767
|
-
}
|
|
14768
|
-
}
|
|
14769
|
-
}
|
|
14770
|
-
}
|
|
14771
|
-
}
|
|
14772
|
-
}
|
|
14773
|
-
namespace V2FileTokenRulesToken { }
|
|
14774
|
-
namespace V2FileTypeRulesName { }
|
|
14775
14775
|
}
|
|
14776
14776
|
}
|
|
@@ -1188,16 +1188,6 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1188
1188
|
sizeInBytes: number;
|
|
1189
1189
|
type: string;
|
|
1190
1190
|
}>;
|
|
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
1191
|
/** Get a FileUploadToken's rules. */
|
|
1202
1192
|
getFileUploadTokenRules: (conf: {
|
|
1203
1193
|
fileUploadToken: string;
|
|
@@ -1242,6 +1232,16 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1242
1232
|
} | undefined;
|
|
1243
1233
|
} | undefined;
|
|
1244
1234
|
}>;
|
|
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
|
/** Get a DeliveryBox. */
|
|
@@ -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 File. */
|
|
178
|
-
getFile: new ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
|
|
179
177
|
/** Get a FileUploadToken's rules. */
|
|
180
178
|
getFileUploadTokenRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTokenRules, baseClient.file.getFileUploadTokenRules).getApiResource,
|
|
181
179
|
/** Get a FileUploadType's rules. */
|
|
182
180
|
getFileUploadTypeRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTypeRules, baseClient.file.getFileUploadTypeRules).getApiResource,
|
|
181
|
+
/** Get a File. */
|
|
182
|
+
getFile: new ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
|
|
183
183
|
});
|
|
184
184
|
const buildMailApi = (baseClient) => ({
|
|
185
185
|
/** Get a DeliveryBox. */
|
|
@@ -5931,38 +5931,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5931
5931
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5932
5932
|
[x: string]: unknown;
|
|
5933
5933
|
}, 404, "application/json">>>;
|
|
5934
|
-
/** Get a File. */
|
|
5935
|
-
getFile: (request: {
|
|
5936
|
-
fileId: string;
|
|
5937
|
-
headers?: {
|
|
5938
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5939
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
5940
|
-
Download?: boolean | undefined;
|
|
5941
|
-
Token?: string | undefined;
|
|
5942
|
-
} | undefined;
|
|
5943
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5944
|
-
headers?: Partial<{
|
|
5945
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5946
|
-
}> | undefined;
|
|
5947
|
-
} & {
|
|
5948
|
-
pathParameters: {
|
|
5949
|
-
fileId: string;
|
|
5950
|
-
};
|
|
5951
|
-
} & {
|
|
5952
|
-
headers: {
|
|
5953
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
5954
|
-
Download?: boolean | undefined;
|
|
5955
|
-
Token?: string | undefined;
|
|
5956
|
-
} & Partial<{
|
|
5957
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5958
|
-
}>;
|
|
5959
|
-
}, 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<{
|
|
5960
|
-
[x: string]: unknown;
|
|
5961
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5962
|
-
[x: string]: unknown;
|
|
5963
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5964
|
-
[x: string]: unknown;
|
|
5965
|
-
}, 500, "application/json">>>;
|
|
5966
5934
|
/** Get a FileUploadToken's rules. */
|
|
5967
5935
|
getFileUploadTokenRules: (request: {
|
|
5968
5936
|
fileUploadToken: string;
|
|
@@ -6031,6 +5999,38 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6031
5999
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6032
6000
|
[x: string]: unknown;
|
|
6033
6001
|
}, 500, "application/json">>>;
|
|
6002
|
+
/** Get a File. */
|
|
6003
|
+
getFile: (request: {
|
|
6004
|
+
fileId: string;
|
|
6005
|
+
headers?: {
|
|
6006
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6007
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
6008
|
+
Download?: boolean | undefined;
|
|
6009
|
+
Token?: string | undefined;
|
|
6010
|
+
} | undefined;
|
|
6011
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6012
|
+
headers?: Partial<{
|
|
6013
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6014
|
+
}> | undefined;
|
|
6015
|
+
} & {
|
|
6016
|
+
pathParameters: {
|
|
6017
|
+
fileId: string;
|
|
6018
|
+
};
|
|
6019
|
+
} & {
|
|
6020
|
+
headers: {
|
|
6021
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
6022
|
+
Download?: boolean | undefined;
|
|
6023
|
+
Token?: string | undefined;
|
|
6024
|
+
} & Partial<{
|
|
6025
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6026
|
+
}>;
|
|
6027
|
+
}, 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<{
|
|
6028
|
+
[x: string]: unknown;
|
|
6029
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6030
|
+
[x: string]: unknown;
|
|
6031
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6032
|
+
[x: string]: unknown;
|
|
6033
|
+
}, 500, "application/json">>>;
|
|
6034
6034
|
};
|
|
6035
6035
|
/** The mail API allows you to manage your mail accounts. */
|
|
6036
6036
|
readonly mail: {
|
|
@@ -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 File. */
|
|
386
|
-
getFile: this.requestFunctionFactory(descriptors.fileGetFile),
|
|
387
385
|
/** Get a FileUploadToken's rules. */
|
|
388
386
|
getFileUploadTokenRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTokenRules),
|
|
389
387
|
/** Get a FileUploadType's rules. */
|
|
390
388
|
getFileUploadTypeRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTypeRules),
|
|
389
|
+
/** Get a File. */
|
|
390
|
+
getFile: this.requestFunctionFactory(descriptors.fileGetFile),
|
|
391
391
|
};
|
|
392
392
|
/** The mail API allows you to manage your mail accounts. */
|
|
393
393
|
mail = {
|
|
@@ -301,6 +301,10 @@ export declare const domainVerifyDomainOwnership: OpenAPIOperation<RequestType<S
|
|
|
301
301
|
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">>;
|
|
302
302
|
/** Get a File's meta. */
|
|
303
303
|
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">>;
|
|
304
|
+
/** Get a FileUploadToken's rules. */
|
|
305
|
+
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">>;
|
|
306
|
+
/** Get a FileUploadType's rules. */
|
|
307
|
+
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">>;
|
|
304
308
|
/** Get a File. */
|
|
305
309
|
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
310
|
/** List Ingresses. */
|
|
@@ -583,7 +587,3 @@ export declare const userVerifyEmail: OpenAPIOperation<RequestType<Simplify<Mitt
|
|
|
583
587
|
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
588
|
/** Verify your registration. */
|
|
585
589
|
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
|
-
/** 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">>;
|
|
@@ -892,6 +892,18 @@ export const fileGetFileMeta = {
|
|
|
892
892
|
method: "GET",
|
|
893
893
|
operationId: "file-get-file-meta",
|
|
894
894
|
};
|
|
895
|
+
/** Get a FileUploadToken's rules. */
|
|
896
|
+
export const fileGetFileUploadTokenRules = {
|
|
897
|
+
path: "/v2/file-upload-tokens/{fileUploadToken}/rules",
|
|
898
|
+
method: "GET",
|
|
899
|
+
operationId: "file-get-file-upload-token-rules",
|
|
900
|
+
};
|
|
901
|
+
/** Get a FileUploadType's rules. */
|
|
902
|
+
export const fileGetFileUploadTypeRules = {
|
|
903
|
+
path: "/v2/file-upload-types/{fileUploadType}/rules",
|
|
904
|
+
method: "GET",
|
|
905
|
+
operationId: "file-get-file-upload-type-rules",
|
|
906
|
+
};
|
|
895
907
|
/** Get a File. */
|
|
896
908
|
export const fileGetFile = {
|
|
897
909
|
path: "/v2/files/{fileId}",
|
|
@@ -1738,15 +1750,3 @@ export const userVerifyRegistration = {
|
|
|
1738
1750
|
method: "POST",
|
|
1739
1751
|
operationId: "user-verify-registration",
|
|
1740
1752
|
};
|
|
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
|
-
};
|
|
@@ -598,6 +598,14 @@ export declare module MittwaldAPIV2 {
|
|
|
598
598
|
type RequestData = InferredRequestData<typeof descriptors.fileGetFileMeta>;
|
|
599
599
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileMeta, TStatus>;
|
|
600
600
|
}
|
|
601
|
+
namespace FileGetFileUploadTokenRules {
|
|
602
|
+
type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTokenRules>;
|
|
603
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTokenRules, TStatus>;
|
|
604
|
+
}
|
|
605
|
+
namespace FileGetFileUploadTypeRules {
|
|
606
|
+
type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTypeRules>;
|
|
607
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTypeRules, TStatus>;
|
|
608
|
+
}
|
|
601
609
|
namespace FileGetFile {
|
|
602
610
|
type RequestData = InferredRequestData<typeof descriptors.fileGetFile>;
|
|
603
611
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFile, TStatus>;
|
|
@@ -1162,14 +1170,6 @@ export declare module MittwaldAPIV2 {
|
|
|
1162
1170
|
type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
|
|
1163
1171
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
|
|
1164
1172
|
}
|
|
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 {
|
|
@@ -7807,10 +7807,13 @@ export declare module MittwaldAPIV2 {
|
|
|
7807
7807
|
}
|
|
7808
7808
|
}
|
|
7809
7809
|
}
|
|
7810
|
+
namespace V2AppinstallationsAppInstallationIdDatabases { }
|
|
7810
7811
|
namespace V2DomainsDomainIdContracts { }
|
|
7811
7812
|
namespace V2ProjectsProjectIdContracts { }
|
|
7812
7813
|
namespace V2ServersServerIdContracts { }
|
|
7813
7814
|
namespace V2DomainsDomainIdScreenshotsNewest { }
|
|
7815
|
+
namespace V2FileTokenRulesToken { }
|
|
7816
|
+
namespace V2FileTypeRulesName { }
|
|
7814
7817
|
namespace V2NewsletterSubscriptions {
|
|
7815
7818
|
namespace Post {
|
|
7816
7819
|
namespace Parameters {
|
|
@@ -8872,6 +8875,84 @@ export declare module MittwaldAPIV2 {
|
|
|
8872
8875
|
}
|
|
8873
8876
|
}
|
|
8874
8877
|
}
|
|
8878
|
+
namespace V2FileUploadTokensFileUploadTokenRules {
|
|
8879
|
+
namespace Get {
|
|
8880
|
+
namespace Parameters {
|
|
8881
|
+
type Path = {
|
|
8882
|
+
fileUploadToken: string;
|
|
8883
|
+
};
|
|
8884
|
+
type Header = {};
|
|
8885
|
+
type Query = {};
|
|
8886
|
+
}
|
|
8887
|
+
namespace Responses {
|
|
8888
|
+
namespace $200 {
|
|
8889
|
+
namespace Content {
|
|
8890
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
8891
|
+
}
|
|
8892
|
+
}
|
|
8893
|
+
namespace $404 {
|
|
8894
|
+
namespace Content {
|
|
8895
|
+
interface ApplicationJson {
|
|
8896
|
+
[k: string]: unknown;
|
|
8897
|
+
}
|
|
8898
|
+
}
|
|
8899
|
+
}
|
|
8900
|
+
namespace $500 {
|
|
8901
|
+
namespace Content {
|
|
8902
|
+
interface ApplicationJson {
|
|
8903
|
+
[k: string]: unknown;
|
|
8904
|
+
}
|
|
8905
|
+
}
|
|
8906
|
+
}
|
|
8907
|
+
namespace Default {
|
|
8908
|
+
namespace Content {
|
|
8909
|
+
interface ApplicationJson {
|
|
8910
|
+
[k: string]: unknown;
|
|
8911
|
+
}
|
|
8912
|
+
}
|
|
8913
|
+
}
|
|
8914
|
+
}
|
|
8915
|
+
}
|
|
8916
|
+
}
|
|
8917
|
+
namespace V2FileUploadTypesFileUploadTypeRules {
|
|
8918
|
+
namespace Get {
|
|
8919
|
+
namespace Parameters {
|
|
8920
|
+
type Path = {
|
|
8921
|
+
fileUploadType: "avatar" | "conversation";
|
|
8922
|
+
};
|
|
8923
|
+
type Header = {};
|
|
8924
|
+
type Query = {};
|
|
8925
|
+
}
|
|
8926
|
+
namespace Responses {
|
|
8927
|
+
namespace $200 {
|
|
8928
|
+
namespace Content {
|
|
8929
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
8930
|
+
}
|
|
8931
|
+
}
|
|
8932
|
+
namespace $404 {
|
|
8933
|
+
namespace Content {
|
|
8934
|
+
interface ApplicationJson {
|
|
8935
|
+
[k: string]: unknown;
|
|
8936
|
+
}
|
|
8937
|
+
}
|
|
8938
|
+
}
|
|
8939
|
+
namespace $500 {
|
|
8940
|
+
namespace Content {
|
|
8941
|
+
interface ApplicationJson {
|
|
8942
|
+
[k: string]: unknown;
|
|
8943
|
+
}
|
|
8944
|
+
}
|
|
8945
|
+
}
|
|
8946
|
+
namespace Default {
|
|
8947
|
+
namespace Content {
|
|
8948
|
+
interface ApplicationJson {
|
|
8949
|
+
[k: string]: unknown;
|
|
8950
|
+
}
|
|
8951
|
+
}
|
|
8952
|
+
}
|
|
8953
|
+
}
|
|
8954
|
+
}
|
|
8955
|
+
}
|
|
8875
8956
|
namespace V2FilesFileId {
|
|
8876
8957
|
namespace Get {
|
|
8877
8958
|
namespace Parameters {
|
|
@@ -14691,86 +14772,5 @@ export declare module MittwaldAPIV2 {
|
|
|
14691
14772
|
}
|
|
14692
14773
|
}
|
|
14693
14774
|
}
|
|
14694
|
-
namespace V2AppinstallationsAppInstallationIdDatabases { }
|
|
14695
|
-
namespace V2FileUploadTokensFileUploadTokenRules {
|
|
14696
|
-
namespace Get {
|
|
14697
|
-
namespace Parameters {
|
|
14698
|
-
type Path = {
|
|
14699
|
-
fileUploadToken: string;
|
|
14700
|
-
};
|
|
14701
|
-
type Header = {};
|
|
14702
|
-
type Query = {};
|
|
14703
|
-
}
|
|
14704
|
-
namespace Responses {
|
|
14705
|
-
namespace $200 {
|
|
14706
|
-
namespace Content {
|
|
14707
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
14708
|
-
}
|
|
14709
|
-
}
|
|
14710
|
-
namespace $404 {
|
|
14711
|
-
namespace Content {
|
|
14712
|
-
interface ApplicationJson {
|
|
14713
|
-
[k: string]: unknown;
|
|
14714
|
-
}
|
|
14715
|
-
}
|
|
14716
|
-
}
|
|
14717
|
-
namespace $500 {
|
|
14718
|
-
namespace Content {
|
|
14719
|
-
interface ApplicationJson {
|
|
14720
|
-
[k: string]: unknown;
|
|
14721
|
-
}
|
|
14722
|
-
}
|
|
14723
|
-
}
|
|
14724
|
-
namespace Default {
|
|
14725
|
-
namespace Content {
|
|
14726
|
-
interface ApplicationJson {
|
|
14727
|
-
[k: string]: unknown;
|
|
14728
|
-
}
|
|
14729
|
-
}
|
|
14730
|
-
}
|
|
14731
|
-
}
|
|
14732
|
-
}
|
|
14733
|
-
}
|
|
14734
|
-
namespace V2FileUploadTypesFileUploadTypeRules {
|
|
14735
|
-
namespace Get {
|
|
14736
|
-
namespace Parameters {
|
|
14737
|
-
type Path = {
|
|
14738
|
-
fileUploadType: "avatar" | "conversation";
|
|
14739
|
-
};
|
|
14740
|
-
type Header = {};
|
|
14741
|
-
type Query = {};
|
|
14742
|
-
}
|
|
14743
|
-
namespace Responses {
|
|
14744
|
-
namespace $200 {
|
|
14745
|
-
namespace Content {
|
|
14746
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
14747
|
-
}
|
|
14748
|
-
}
|
|
14749
|
-
namespace $404 {
|
|
14750
|
-
namespace Content {
|
|
14751
|
-
interface ApplicationJson {
|
|
14752
|
-
[k: string]: unknown;
|
|
14753
|
-
}
|
|
14754
|
-
}
|
|
14755
|
-
}
|
|
14756
|
-
namespace $500 {
|
|
14757
|
-
namespace Content {
|
|
14758
|
-
interface ApplicationJson {
|
|
14759
|
-
[k: string]: unknown;
|
|
14760
|
-
}
|
|
14761
|
-
}
|
|
14762
|
-
}
|
|
14763
|
-
namespace Default {
|
|
14764
|
-
namespace Content {
|
|
14765
|
-
interface ApplicationJson {
|
|
14766
|
-
[k: string]: unknown;
|
|
14767
|
-
}
|
|
14768
|
-
}
|
|
14769
|
-
}
|
|
14770
|
-
}
|
|
14771
|
-
}
|
|
14772
|
-
}
|
|
14773
|
-
namespace V2FileTokenRulesToken { }
|
|
14774
|
-
namespace V2FileTypeRulesName { }
|
|
14775
14775
|
}
|
|
14776
14776
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '3.1.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '3.1.18';
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '3.1.
|
|
1
|
+
export const MittwaldAPIClientVersion = '3.1.18';
|