@mittwald/api-client 1.0.1 → 1.0.3
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.
|
@@ -4689,7 +4689,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4689
4689
|
id: string;
|
|
4690
4690
|
};
|
|
4691
4691
|
headers?: {
|
|
4692
|
-
Accept?: "binary" | "base64" | undefined;
|
|
4692
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
4693
4693
|
Download?: boolean | undefined;
|
|
4694
4694
|
} | undefined;
|
|
4695
4695
|
}) => import("@mittwald/api-client-commons/dist/types/RequestFunction.js").ResponsePromise<import("@mittwald/api-client-commons/dist/types/OpenAPIOperation.js").OpenAPIOperation<object & {
|
|
@@ -4698,10 +4698,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4698
4698
|
};
|
|
4699
4699
|
} & {
|
|
4700
4700
|
headers: {
|
|
4701
|
-
Accept?: "binary" | "base64" | undefined;
|
|
4701
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
4702
4702
|
Download?: boolean | undefined;
|
|
4703
4703
|
};
|
|
4704
|
-
}, import("@mittwald/api-client-commons/dist/types/Response.js").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<string, 200, "base64"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$404.Content.ApplicationJson, 404, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$500.Content.ApplicationJson, 500, "application/json">>>;
|
|
4704
|
+
}, import("@mittwald/api-client-commons/dist/types/Response.js").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<string, 200, "base64"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<string, 200, "ocr"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$400.Content.ApplicationJson, 400, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$404.Content.ApplicationJson, 404, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$500.Content.ApplicationJson, 500, "application/json">>>;
|
|
4705
4705
|
};
|
|
4706
4706
|
/** The mail API allows you to manage your mail accounts. */
|
|
4707
4707
|
readonly mail: {
|
|
@@ -350,7 +350,7 @@ export declare const fileGetFileTokenRules: OpenAPIOperation<Request<Simplify<nu
|
|
|
350
350
|
/** Get a Type's upload rules. */
|
|
351
351
|
export declare const fileGetFileTypeRules: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$200.Content.ApplicationJson, 200, "application/json"> | Response<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$404.Content.ApplicationJson, 404, "application/json"> | Response<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$500.Content.ApplicationJson, 500, "application/json"> | Response<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
|
|
352
352
|
/** Get a File. */
|
|
353
|
-
export declare const fileGetFile: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.ApplicationOctetStream, 200, "application/octet-stream"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.Base64, 200, "base64"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$404.Content.ApplicationJson, 404, "application/json"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$500.Content.ApplicationJson, 500, "application/json"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
|
|
353
|
+
export declare const fileGetFile: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.ApplicationOctetStream, 200, "application/octet-stream"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.Base64, 200, "base64"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.Ocr, 200, "ocr"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$400.Content.ApplicationJson, 400, "application/json"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$404.Content.ApplicationJson, 404, "application/json"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$500.Content.ApplicationJson, 500, "application/json"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
|
|
354
354
|
/** Create an Ingress. */
|
|
355
355
|
export declare const ingressCreate: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2Ingresses.Post.Responses.$201.Content.ApplicationJson, 201, "application/json"> | Response<MittwaldAPIV2.Paths.V2Ingresses.Post.Responses.$404.Content.ApplicationJson, 404, "application/json"> | Response<MittwaldAPIV2.Paths.V2Ingresses.Post.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
|
|
356
356
|
/** Get an Ingress. */
|
|
@@ -2034,7 +2034,7 @@ declare namespace MittwaldAPIV2 {
|
|
|
2034
2034
|
*/
|
|
2035
2035
|
firstName: string;
|
|
2036
2036
|
/**
|
|
2037
|
-
*
|
|
2037
|
+
* The users last name
|
|
2038
2038
|
*/
|
|
2039
2039
|
lastName: string;
|
|
2040
2040
|
title?: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
|
|
@@ -9799,7 +9799,7 @@ declare namespace MittwaldAPIV2 {
|
|
|
9799
9799
|
};
|
|
9800
9800
|
|
|
9801
9801
|
export type Header = {
|
|
9802
|
-
Accept?: "binary" | "base64";
|
|
9802
|
+
Accept?: "binary" | "base64" | "ocr";
|
|
9803
9803
|
Download?: boolean;
|
|
9804
9804
|
};
|
|
9805
9805
|
|
|
@@ -9811,6 +9811,16 @@ declare namespace MittwaldAPIV2 {
|
|
|
9811
9811
|
export type ApplicationOctetStream = string;
|
|
9812
9812
|
|
|
9813
9813
|
export type Base64 = string;
|
|
9814
|
+
|
|
9815
|
+
export type Ocr = string;
|
|
9816
|
+
}
|
|
9817
|
+
}
|
|
9818
|
+
|
|
9819
|
+
namespace $400 {
|
|
9820
|
+
namespace Content {
|
|
9821
|
+
export interface ApplicationJson {
|
|
9822
|
+
[k: string]: unknown;
|
|
9823
|
+
}
|
|
9814
9824
|
}
|
|
9815
9825
|
}
|
|
9816
9826
|
|
|
@@ -4689,7 +4689,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4689
4689
|
id: string;
|
|
4690
4690
|
};
|
|
4691
4691
|
headers?: {
|
|
4692
|
-
Accept?: "binary" | "base64" | undefined;
|
|
4692
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
4693
4693
|
Download?: boolean | undefined;
|
|
4694
4694
|
} | undefined;
|
|
4695
4695
|
}) => import("@mittwald/api-client-commons/dist/types/RequestFunction.js").ResponsePromise<import("@mittwald/api-client-commons/dist/types/OpenAPIOperation.js").OpenAPIOperation<object & {
|
|
@@ -4698,10 +4698,10 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
4698
4698
|
};
|
|
4699
4699
|
} & {
|
|
4700
4700
|
headers: {
|
|
4701
|
-
Accept?: "binary" | "base64" | undefined;
|
|
4701
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
4702
4702
|
Download?: boolean | undefined;
|
|
4703
4703
|
};
|
|
4704
|
-
}, import("@mittwald/api-client-commons/dist/types/Response.js").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<string, 200, "base64"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$404.Content.ApplicationJson, 404, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$500.Content.ApplicationJson, 500, "application/json">>>;
|
|
4704
|
+
}, import("@mittwald/api-client-commons/dist/types/Response.js").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<string, 200, "base64"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<string, 200, "ocr"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$400.Content.ApplicationJson, 400, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$404.Content.ApplicationJson, 404, "application/json"> | import("@mittwald/api-client-commons/dist/types/Response.js").Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$500.Content.ApplicationJson, 500, "application/json">>>;
|
|
4705
4705
|
};
|
|
4706
4706
|
/** The mail API allows you to manage your mail accounts. */
|
|
4707
4707
|
readonly mail: {
|
|
@@ -350,7 +350,7 @@ export declare const fileGetFileTokenRules: OpenAPIOperation<Request<Simplify<nu
|
|
|
350
350
|
/** Get a Type's upload rules. */
|
|
351
351
|
export declare const fileGetFileTypeRules: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$200.Content.ApplicationJson, 200, "application/json"> | Response<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$404.Content.ApplicationJson, 404, "application/json"> | Response<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$500.Content.ApplicationJson, 500, "application/json"> | Response<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
|
|
352
352
|
/** Get a File. */
|
|
353
|
-
export declare const fileGetFile: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.ApplicationOctetStream, 200, "application/octet-stream"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.Base64, 200, "base64"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$404.Content.ApplicationJson, 404, "application/json"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$500.Content.ApplicationJson, 500, "application/json"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
|
|
353
|
+
export declare const fileGetFile: OpenAPIOperation<Request<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesId.Get.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.ApplicationOctetStream, 200, "application/octet-stream"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.Base64, 200, "base64"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$200.Content.Ocr, 200, "ocr"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$400.Content.ApplicationJson, 400, "application/json"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$404.Content.ApplicationJson, 404, "application/json"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.$500.Content.ApplicationJson, 500, "application/json"> | Response<MittwaldAPIV2.Paths.V2FilesId.Get.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
|
|
354
354
|
/** Create an Ingress. */
|
|
355
355
|
export declare const ingressCreate: OpenAPIOperation<Request<Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Ingresses.Post.Parameters.Header>>, Response<MittwaldAPIV2.Paths.V2Ingresses.Post.Responses.$201.Content.ApplicationJson, 201, "application/json"> | Response<MittwaldAPIV2.Paths.V2Ingresses.Post.Responses.$404.Content.ApplicationJson, 404, "application/json"> | Response<MittwaldAPIV2.Paths.V2Ingresses.Post.Responses.Default.Content.ApplicationJson, "default", "application/json">>;
|
|
356
356
|
/** Get an Ingress. */
|