@mittwald/api-client 3.1.16 → 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 +145 -32
- package/dist/cjs/generated/v2/client.js +6 -2
- package/dist/cjs/generated/v2/descriptors.d.ts +8 -4
- package/dist/cjs/generated/v2/descriptors.js +28 -16
- package/dist/cjs/generated/v2/types.d.ts +223 -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 +145 -32
- package/dist/esm/generated/v2/client.js +6 -2
- package/dist/esm/generated/v2/descriptors.d.ts +8 -4
- package/dist/esm/generated/v2/descriptors.js +24 -12
- package/dist/esm/generated/v2/types.d.ts +223 -89
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -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>;
|
|
@@ -666,10 +674,18 @@ export declare module MittwaldAPIV2 {
|
|
|
666
674
|
type RequestData = InferredRequestData<typeof descriptors.mailListDeliveryBoxes>;
|
|
667
675
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailListDeliveryBoxes, TStatus>;
|
|
668
676
|
}
|
|
677
|
+
namespace MailCreateDeliverybox {
|
|
678
|
+
type RequestData = InferredRequestData<typeof descriptors.mailCreateDeliverybox>;
|
|
679
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailCreateDeliverybox, TStatus>;
|
|
680
|
+
}
|
|
669
681
|
namespace MailListMailAddresses {
|
|
670
682
|
type RequestData = InferredRequestData<typeof descriptors.mailListMailAddresses>;
|
|
671
683
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailListMailAddresses, TStatus>;
|
|
672
684
|
}
|
|
685
|
+
namespace MailCreateMailAddress {
|
|
686
|
+
type RequestData = InferredRequestData<typeof descriptors.mailCreateMailAddress>;
|
|
687
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailCreateMailAddress, TStatus>;
|
|
688
|
+
}
|
|
673
689
|
namespace MailListProjectMailSettings {
|
|
674
690
|
type RequestData = InferredRequestData<typeof descriptors.mailListProjectMailSettings>;
|
|
675
691
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailListProjectMailSettings, TStatus>;
|
|
@@ -1154,14 +1170,6 @@ export declare module MittwaldAPIV2 {
|
|
|
1154
1170
|
type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
|
|
1155
1171
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
|
|
1156
1172
|
}
|
|
1157
|
-
namespace FileGetFileUploadTokenRules {
|
|
1158
|
-
type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTokenRules>;
|
|
1159
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTokenRules, TStatus>;
|
|
1160
|
-
}
|
|
1161
|
-
namespace FileGetFileUploadTypeRules {
|
|
1162
|
-
type RequestData = InferredRequestData<typeof descriptors.fileGetFileUploadTypeRules>;
|
|
1163
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileUploadTypeRules, TStatus>;
|
|
1164
|
-
}
|
|
1165
1173
|
}
|
|
1166
1174
|
namespace Components {
|
|
1167
1175
|
namespace Schemas {
|
|
@@ -2143,6 +2151,7 @@ export declare module MittwaldAPIV2 {
|
|
|
2143
2151
|
* Has to be `true`, as ssl cannot be deactivated.
|
|
2144
2152
|
*/
|
|
2145
2153
|
acme: boolean;
|
|
2154
|
+
requestDeadline?: string;
|
|
2146
2155
|
}
|
|
2147
2156
|
interface IngressTlsCertificate {
|
|
2148
2157
|
certificateId: string;
|
|
@@ -7798,10 +7807,13 @@ export declare module MittwaldAPIV2 {
|
|
|
7798
7807
|
}
|
|
7799
7808
|
}
|
|
7800
7809
|
}
|
|
7810
|
+
namespace V2AppinstallationsAppInstallationIdDatabases { }
|
|
7801
7811
|
namespace V2DomainsDomainIdContracts { }
|
|
7802
7812
|
namespace V2ProjectsProjectIdContracts { }
|
|
7803
7813
|
namespace V2ServersServerIdContracts { }
|
|
7804
7814
|
namespace V2DomainsDomainIdScreenshotsNewest { }
|
|
7815
|
+
namespace V2FileTokenRulesToken { }
|
|
7816
|
+
namespace V2FileTypeRulesName { }
|
|
7805
7817
|
namespace V2NewsletterSubscriptions {
|
|
7806
7818
|
namespace Post {
|
|
7807
7819
|
namespace Parameters {
|
|
@@ -8863,6 +8875,84 @@ export declare module MittwaldAPIV2 {
|
|
|
8863
8875
|
}
|
|
8864
8876
|
}
|
|
8865
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
|
+
}
|
|
8866
8956
|
namespace V2FilesFileId {
|
|
8867
8957
|
namespace Get {
|
|
8868
8958
|
namespace Parameters {
|
|
@@ -9623,6 +9713,70 @@ export declare module MittwaldAPIV2 {
|
|
|
9623
9713
|
}
|
|
9624
9714
|
}
|
|
9625
9715
|
}
|
|
9716
|
+
namespace Post {
|
|
9717
|
+
namespace Parameters {
|
|
9718
|
+
type Path = {
|
|
9719
|
+
projectId: string;
|
|
9720
|
+
};
|
|
9721
|
+
interface RequestBody {
|
|
9722
|
+
description: string;
|
|
9723
|
+
password: string;
|
|
9724
|
+
}
|
|
9725
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
9726
|
+
type Query = {};
|
|
9727
|
+
}
|
|
9728
|
+
namespace Responses {
|
|
9729
|
+
namespace $201 {
|
|
9730
|
+
namespace Content {
|
|
9731
|
+
interface ApplicationJson {
|
|
9732
|
+
id: string;
|
|
9733
|
+
}
|
|
9734
|
+
}
|
|
9735
|
+
}
|
|
9736
|
+
namespace $400 {
|
|
9737
|
+
namespace Content {
|
|
9738
|
+
interface ApplicationJson {
|
|
9739
|
+
[k: string]: unknown;
|
|
9740
|
+
}
|
|
9741
|
+
}
|
|
9742
|
+
}
|
|
9743
|
+
namespace $403 {
|
|
9744
|
+
namespace Content {
|
|
9745
|
+
interface ApplicationJson {
|
|
9746
|
+
[k: string]: unknown;
|
|
9747
|
+
}
|
|
9748
|
+
}
|
|
9749
|
+
}
|
|
9750
|
+
namespace $404 {
|
|
9751
|
+
namespace Content {
|
|
9752
|
+
interface ApplicationJson {
|
|
9753
|
+
[k: string]: unknown;
|
|
9754
|
+
}
|
|
9755
|
+
}
|
|
9756
|
+
}
|
|
9757
|
+
namespace $500 {
|
|
9758
|
+
namespace Content {
|
|
9759
|
+
interface ApplicationJson {
|
|
9760
|
+
[k: string]: unknown;
|
|
9761
|
+
}
|
|
9762
|
+
}
|
|
9763
|
+
}
|
|
9764
|
+
namespace $503 {
|
|
9765
|
+
namespace Content {
|
|
9766
|
+
interface ApplicationJson {
|
|
9767
|
+
[k: string]: unknown;
|
|
9768
|
+
}
|
|
9769
|
+
}
|
|
9770
|
+
}
|
|
9771
|
+
namespace Default {
|
|
9772
|
+
namespace Content {
|
|
9773
|
+
interface ApplicationJson {
|
|
9774
|
+
[k: string]: unknown;
|
|
9775
|
+
}
|
|
9776
|
+
}
|
|
9777
|
+
}
|
|
9778
|
+
}
|
|
9779
|
+
}
|
|
9626
9780
|
}
|
|
9627
9781
|
namespace V2ProjectsProjectIdMailaddresses { }
|
|
9628
9782
|
namespace V2ProjectsProjectIdMailAddresses {
|
|
@@ -9684,6 +9838,67 @@ export declare module MittwaldAPIV2 {
|
|
|
9684
9838
|
}
|
|
9685
9839
|
}
|
|
9686
9840
|
}
|
|
9841
|
+
namespace Post {
|
|
9842
|
+
namespace Parameters {
|
|
9843
|
+
type Path = {
|
|
9844
|
+
projectId: string;
|
|
9845
|
+
};
|
|
9846
|
+
type RequestBody = MittwaldAPIV2.Components.Schemas.MailCreateForwardAddress | MittwaldAPIV2.Components.Schemas.MailCreateMailAddress;
|
|
9847
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
9848
|
+
type Query = {};
|
|
9849
|
+
}
|
|
9850
|
+
namespace Responses {
|
|
9851
|
+
namespace $201 {
|
|
9852
|
+
namespace Content {
|
|
9853
|
+
interface ApplicationJson {
|
|
9854
|
+
id: string;
|
|
9855
|
+
}
|
|
9856
|
+
}
|
|
9857
|
+
}
|
|
9858
|
+
namespace $400 {
|
|
9859
|
+
namespace Content {
|
|
9860
|
+
interface ApplicationJson {
|
|
9861
|
+
[k: string]: unknown;
|
|
9862
|
+
}
|
|
9863
|
+
}
|
|
9864
|
+
}
|
|
9865
|
+
namespace $403 {
|
|
9866
|
+
namespace Content {
|
|
9867
|
+
interface ApplicationJson {
|
|
9868
|
+
[k: string]: unknown;
|
|
9869
|
+
}
|
|
9870
|
+
}
|
|
9871
|
+
}
|
|
9872
|
+
namespace $404 {
|
|
9873
|
+
namespace Content {
|
|
9874
|
+
interface ApplicationJson {
|
|
9875
|
+
[k: string]: unknown;
|
|
9876
|
+
}
|
|
9877
|
+
}
|
|
9878
|
+
}
|
|
9879
|
+
namespace $500 {
|
|
9880
|
+
namespace Content {
|
|
9881
|
+
interface ApplicationJson {
|
|
9882
|
+
[k: string]: unknown;
|
|
9883
|
+
}
|
|
9884
|
+
}
|
|
9885
|
+
}
|
|
9886
|
+
namespace $503 {
|
|
9887
|
+
namespace Content {
|
|
9888
|
+
interface ApplicationJson {
|
|
9889
|
+
[k: string]: unknown;
|
|
9890
|
+
}
|
|
9891
|
+
}
|
|
9892
|
+
}
|
|
9893
|
+
namespace Default {
|
|
9894
|
+
namespace Content {
|
|
9895
|
+
interface ApplicationJson {
|
|
9896
|
+
[k: string]: unknown;
|
|
9897
|
+
}
|
|
9898
|
+
}
|
|
9899
|
+
}
|
|
9900
|
+
}
|
|
9901
|
+
}
|
|
9687
9902
|
}
|
|
9688
9903
|
namespace V2ProjectsProjectIdMailsettings { }
|
|
9689
9904
|
namespace V2ProjectsProjectIdMailSettings {
|
|
@@ -14557,86 +14772,5 @@ export declare module MittwaldAPIV2 {
|
|
|
14557
14772
|
}
|
|
14558
14773
|
}
|
|
14559
14774
|
}
|
|
14560
|
-
namespace V2AppinstallationsAppInstallationIdDatabases { }
|
|
14561
|
-
namespace V2FileUploadTokensFileUploadTokenRules {
|
|
14562
|
-
namespace Get {
|
|
14563
|
-
namespace Parameters {
|
|
14564
|
-
type Path = {
|
|
14565
|
-
fileUploadToken: string;
|
|
14566
|
-
};
|
|
14567
|
-
type Header = {};
|
|
14568
|
-
type Query = {};
|
|
14569
|
-
}
|
|
14570
|
-
namespace Responses {
|
|
14571
|
-
namespace $200 {
|
|
14572
|
-
namespace Content {
|
|
14573
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
14574
|
-
}
|
|
14575
|
-
}
|
|
14576
|
-
namespace $404 {
|
|
14577
|
-
namespace Content {
|
|
14578
|
-
interface ApplicationJson {
|
|
14579
|
-
[k: string]: unknown;
|
|
14580
|
-
}
|
|
14581
|
-
}
|
|
14582
|
-
}
|
|
14583
|
-
namespace $500 {
|
|
14584
|
-
namespace Content {
|
|
14585
|
-
interface ApplicationJson {
|
|
14586
|
-
[k: string]: unknown;
|
|
14587
|
-
}
|
|
14588
|
-
}
|
|
14589
|
-
}
|
|
14590
|
-
namespace Default {
|
|
14591
|
-
namespace Content {
|
|
14592
|
-
interface ApplicationJson {
|
|
14593
|
-
[k: string]: unknown;
|
|
14594
|
-
}
|
|
14595
|
-
}
|
|
14596
|
-
}
|
|
14597
|
-
}
|
|
14598
|
-
}
|
|
14599
|
-
}
|
|
14600
|
-
namespace V2FileUploadTypesFileUploadTypeRules {
|
|
14601
|
-
namespace Get {
|
|
14602
|
-
namespace Parameters {
|
|
14603
|
-
type Path = {
|
|
14604
|
-
fileUploadType: "avatar" | "conversation";
|
|
14605
|
-
};
|
|
14606
|
-
type Header = {};
|
|
14607
|
-
type Query = {};
|
|
14608
|
-
}
|
|
14609
|
-
namespace Responses {
|
|
14610
|
-
namespace $200 {
|
|
14611
|
-
namespace Content {
|
|
14612
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
14613
|
-
}
|
|
14614
|
-
}
|
|
14615
|
-
namespace $404 {
|
|
14616
|
-
namespace Content {
|
|
14617
|
-
interface ApplicationJson {
|
|
14618
|
-
[k: string]: unknown;
|
|
14619
|
-
}
|
|
14620
|
-
}
|
|
14621
|
-
}
|
|
14622
|
-
namespace $500 {
|
|
14623
|
-
namespace Content {
|
|
14624
|
-
interface ApplicationJson {
|
|
14625
|
-
[k: string]: unknown;
|
|
14626
|
-
}
|
|
14627
|
-
}
|
|
14628
|
-
}
|
|
14629
|
-
namespace Default {
|
|
14630
|
-
namespace Content {
|
|
14631
|
-
interface ApplicationJson {
|
|
14632
|
-
[k: string]: unknown;
|
|
14633
|
-
}
|
|
14634
|
-
}
|
|
14635
|
-
}
|
|
14636
|
-
}
|
|
14637
|
-
}
|
|
14638
|
-
}
|
|
14639
|
-
namespace V2FileTokenRulesToken { }
|
|
14640
|
-
namespace V2FileTypeRulesName { }
|
|
14641
14775
|
}
|
|
14642
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. */
|
|
@@ -5830,6 +5830,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5830
5830
|
ingressUpdateIngressTls: (request: {
|
|
5831
5831
|
data: {
|
|
5832
5832
|
acme: boolean;
|
|
5833
|
+
requestDeadline?: string | undefined;
|
|
5833
5834
|
};
|
|
5834
5835
|
ingressId: string;
|
|
5835
5836
|
headers?: {
|
|
@@ -5848,6 +5849,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5848
5849
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
|
|
5849
5850
|
data: {
|
|
5850
5851
|
acme: boolean;
|
|
5852
|
+
requestDeadline?: string | undefined;
|
|
5851
5853
|
};
|
|
5852
5854
|
} | {
|
|
5853
5855
|
data: {
|
|
@@ -5929,38 +5931,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5929
5931
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5930
5932
|
[x: string]: unknown;
|
|
5931
5933
|
}, 404, "application/json">>>;
|
|
5932
|
-
/** Get a File. */
|
|
5933
|
-
getFile: (request: {
|
|
5934
|
-
fileId: string;
|
|
5935
|
-
headers?: {
|
|
5936
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5937
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
5938
|
-
Download?: boolean | undefined;
|
|
5939
|
-
Token?: string | undefined;
|
|
5940
|
-
} | undefined;
|
|
5941
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5942
|
-
headers?: Partial<{
|
|
5943
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5944
|
-
}> | undefined;
|
|
5945
|
-
} & {
|
|
5946
|
-
pathParameters: {
|
|
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
5934
|
/** Get a FileUploadToken's rules. */
|
|
5965
5935
|
getFileUploadTokenRules: (request: {
|
|
5966
5936
|
fileUploadToken: string;
|
|
@@ -6029,6 +5999,38 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6029
5999
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6030
6000
|
[x: string]: unknown;
|
|
6031
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">>>;
|
|
6032
6034
|
};
|
|
6033
6035
|
/** The mail API allows you to manage your mail accounts. */
|
|
6034
6036
|
readonly mail: {
|
|
@@ -6233,6 +6235,49 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6233
6235
|
}, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6234
6236
|
[x: string]: unknown;
|
|
6235
6237
|
}, 503, "application/json">>>;
|
|
6238
|
+
/** Create a DeliveryBox. */
|
|
6239
|
+
createDeliverybox: (request: {
|
|
6240
|
+
data: {
|
|
6241
|
+
description: string;
|
|
6242
|
+
password: string;
|
|
6243
|
+
};
|
|
6244
|
+
projectId: string;
|
|
6245
|
+
headers?: {
|
|
6246
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6247
|
+
"x-access-token"?: string | undefined;
|
|
6248
|
+
} | undefined;
|
|
6249
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6250
|
+
data: {
|
|
6251
|
+
description: string;
|
|
6252
|
+
password: string;
|
|
6253
|
+
};
|
|
6254
|
+
} & {
|
|
6255
|
+
pathParameters: {
|
|
6256
|
+
projectId: string;
|
|
6257
|
+
};
|
|
6258
|
+
} & {
|
|
6259
|
+
headers?: Partial<{
|
|
6260
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6261
|
+
}> | undefined;
|
|
6262
|
+
} & {
|
|
6263
|
+
headers: {
|
|
6264
|
+
"x-access-token"?: string | undefined;
|
|
6265
|
+
} & Partial<{
|
|
6266
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6267
|
+
}>;
|
|
6268
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
6269
|
+
id: string;
|
|
6270
|
+
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6271
|
+
[x: string]: unknown;
|
|
6272
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6273
|
+
[x: string]: unknown;
|
|
6274
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6275
|
+
[x: string]: unknown;
|
|
6276
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6277
|
+
[x: string]: unknown;
|
|
6278
|
+
}, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6279
|
+
[x: string]: unknown;
|
|
6280
|
+
}, 503, "application/json">>>;
|
|
6236
6281
|
/** List MailAddresses belonging to a Project. */
|
|
6237
6282
|
listMailAddresses: (request: {
|
|
6238
6283
|
projectId: string;
|
|
@@ -6265,6 +6310,74 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6265
6310
|
}, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6266
6311
|
[x: string]: unknown;
|
|
6267
6312
|
}, 503, "application/json">>>;
|
|
6313
|
+
/** Create a MailAddress. */
|
|
6314
|
+
createMailAddress: (request: {
|
|
6315
|
+
data: {
|
|
6316
|
+
address: string;
|
|
6317
|
+
forwardAddresses: string[];
|
|
6318
|
+
};
|
|
6319
|
+
projectId: string;
|
|
6320
|
+
headers?: {
|
|
6321
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6322
|
+
"x-access-token"?: string | undefined;
|
|
6323
|
+
} | undefined;
|
|
6324
|
+
} | {
|
|
6325
|
+
data: {
|
|
6326
|
+
address: string;
|
|
6327
|
+
isCatchAll: boolean;
|
|
6328
|
+
mailbox: {
|
|
6329
|
+
enableSpamProtection: boolean;
|
|
6330
|
+
password: string;
|
|
6331
|
+
quotaInBytes: number;
|
|
6332
|
+
};
|
|
6333
|
+
};
|
|
6334
|
+
projectId: string;
|
|
6335
|
+
headers?: {
|
|
6336
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6337
|
+
"x-access-token"?: string | undefined;
|
|
6338
|
+
} | undefined;
|
|
6339
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<({
|
|
6340
|
+
data: {
|
|
6341
|
+
address: string;
|
|
6342
|
+
forwardAddresses: string[];
|
|
6343
|
+
};
|
|
6344
|
+
} | {
|
|
6345
|
+
data: {
|
|
6346
|
+
address: string;
|
|
6347
|
+
isCatchAll: boolean;
|
|
6348
|
+
mailbox: {
|
|
6349
|
+
enableSpamProtection: boolean;
|
|
6350
|
+
password: string;
|
|
6351
|
+
quotaInBytes: number;
|
|
6352
|
+
};
|
|
6353
|
+
};
|
|
6354
|
+
}) & {
|
|
6355
|
+
pathParameters: {
|
|
6356
|
+
projectId: string;
|
|
6357
|
+
};
|
|
6358
|
+
} & {
|
|
6359
|
+
headers?: Partial<{
|
|
6360
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6361
|
+
}> | undefined;
|
|
6362
|
+
} & {
|
|
6363
|
+
headers: {
|
|
6364
|
+
"x-access-token"?: string | undefined;
|
|
6365
|
+
} & Partial<{
|
|
6366
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6367
|
+
}>;
|
|
6368
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
6369
|
+
id: string;
|
|
6370
|
+
}, 201, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6371
|
+
[x: string]: unknown;
|
|
6372
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6373
|
+
[x: string]: unknown;
|
|
6374
|
+
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6375
|
+
[x: string]: unknown;
|
|
6376
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6377
|
+
[x: string]: unknown;
|
|
6378
|
+
}, 500, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6379
|
+
[x: string]: unknown;
|
|
6380
|
+
}, 503, "application/json">>>;
|
|
6268
6381
|
/** List mail settings of a Project. */
|
|
6269
6382
|
listProjectMailSettings: (request: {
|
|
6270
6383
|
projectId: string;
|
|
@@ -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 = {
|
|
@@ -401,8 +401,12 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
401
401
|
deleteMailAddress: this.requestFunctionFactory(descriptors.mailDeleteMailAddress),
|
|
402
402
|
/** List DeliveryBoxes belonging to a Project. */
|
|
403
403
|
listDeliveryBoxes: this.requestFunctionFactory(descriptors.mailListDeliveryBoxes),
|
|
404
|
+
/** Create a DeliveryBox. */
|
|
405
|
+
createDeliverybox: this.requestFunctionFactory(descriptors.mailCreateDeliverybox),
|
|
404
406
|
/** List MailAddresses belonging to a Project. */
|
|
405
407
|
listMailAddresses: this.requestFunctionFactory(descriptors.mailListMailAddresses),
|
|
408
|
+
/** Create a MailAddress. */
|
|
409
|
+
createMailAddress: this.requestFunctionFactory(descriptors.mailCreateMailAddress),
|
|
406
410
|
/** List mail settings of a Project. */
|
|
407
411
|
listProjectMailSettings: this.requestFunctionFactory(descriptors.mailListProjectMailSettings),
|
|
408
412
|
/** Update the description of a DeliveryBox. */
|