@mittwald/api-client 3.1.12 → 3.1.14
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 +30 -30
- package/dist/cjs/generated/v2/client-react.js +6 -6
- package/dist/cjs/generated/v2/client.d.ts +78 -78
- package/dist/cjs/generated/v2/client.js +6 -6
- package/dist/cjs/generated/v2/descriptors.d.ts +7 -7
- package/dist/cjs/generated/v2/descriptors.js +21 -21
- package/dist/cjs/generated/v2/types.d.ts +104 -101
- package/dist/esm/generated/v2/client-react.d.ts +30 -30
- package/dist/esm/generated/v2/client-react.js +6 -6
- package/dist/esm/generated/v2/client.d.ts +78 -78
- package/dist/esm/generated/v2/client.js +6 -6
- package/dist/esm/generated/v2/descriptors.d.ts +7 -7
- package/dist/esm/generated/v2/descriptors.js +17 -17
- package/dist/esm/generated/v2/types.d.ts +104 -101
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -550,6 +550,10 @@ export declare module MittwaldAPIV2 {
|
|
|
550
550
|
type RequestData = InferredRequestData<typeof descriptors.domainGetDomainOwnership>;
|
|
551
551
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetDomainOwnership, TStatus>;
|
|
552
552
|
}
|
|
553
|
+
namespace DomainGetLatestScreenshot {
|
|
554
|
+
type RequestData = InferredRequestData<typeof descriptors.domainGetLatestScreenshot>;
|
|
555
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetLatestScreenshot, TStatus>;
|
|
556
|
+
}
|
|
553
557
|
namespace DomainListDomainOwnerships {
|
|
554
558
|
type RequestData = InferredRequestData<typeof descriptors.domainListDomainOwnerships>;
|
|
555
559
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainListDomainOwnerships, TStatus>;
|
|
@@ -594,14 +598,6 @@ export declare module MittwaldAPIV2 {
|
|
|
594
598
|
type RequestData = InferredRequestData<typeof descriptors.fileGetFileMeta>;
|
|
595
599
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileMeta, TStatus>;
|
|
596
600
|
}
|
|
597
|
-
namespace FileGetFileTokenRules {
|
|
598
|
-
type RequestData = InferredRequestData<typeof descriptors.fileGetFileTokenRules>;
|
|
599
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileTokenRules, TStatus>;
|
|
600
|
-
}
|
|
601
|
-
namespace FileGetFileTypeRules {
|
|
602
|
-
type RequestData = InferredRequestData<typeof descriptors.fileGetFileTypeRules>;
|
|
603
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileTypeRules, TStatus>;
|
|
604
|
-
}
|
|
605
601
|
namespace FileGetFile {
|
|
606
602
|
type RequestData = InferredRequestData<typeof descriptors.fileGetFile>;
|
|
607
603
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFile, TStatus>;
|
|
@@ -1166,9 +1162,13 @@ export declare module MittwaldAPIV2 {
|
|
|
1166
1162
|
type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
|
|
1167
1163
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
|
|
1168
1164
|
}
|
|
1169
|
-
namespace
|
|
1170
|
-
type RequestData = InferredRequestData<typeof descriptors.
|
|
1171
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.
|
|
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
1172
|
}
|
|
1173
1173
|
}
|
|
1174
1174
|
namespace Components {
|
|
@@ -7809,6 +7809,7 @@ export declare module MittwaldAPIV2 {
|
|
|
7809
7809
|
namespace V2DomainsDomainIdContracts { }
|
|
7810
7810
|
namespace V2ProjectsProjectIdContracts { }
|
|
7811
7811
|
namespace V2ServersServerIdContracts { }
|
|
7812
|
+
namespace V2DomainsDomainIdScreenshotsNewest { }
|
|
7812
7813
|
namespace V2NewsletterSubscriptions {
|
|
7813
7814
|
namespace Post {
|
|
7814
7815
|
namespace Parameters {
|
|
@@ -8416,6 +8417,44 @@ export declare module MittwaldAPIV2 {
|
|
|
8416
8417
|
}
|
|
8417
8418
|
}
|
|
8418
8419
|
namespace V2DomainsHandleSchemaDomainName { }
|
|
8420
|
+
namespace V2DomainsDomainIdLatestScreenshot {
|
|
8421
|
+
namespace Get {
|
|
8422
|
+
namespace Parameters {
|
|
8423
|
+
type Path = {
|
|
8424
|
+
domainId: string;
|
|
8425
|
+
};
|
|
8426
|
+
interface RequestBody {
|
|
8427
|
+
domainName: string;
|
|
8428
|
+
path: string;
|
|
8429
|
+
}
|
|
8430
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
8431
|
+
type Query = {};
|
|
8432
|
+
}
|
|
8433
|
+
namespace Responses {
|
|
8434
|
+
namespace $200 {
|
|
8435
|
+
namespace Content {
|
|
8436
|
+
interface ApplicationJson {
|
|
8437
|
+
reference?: string;
|
|
8438
|
+
}
|
|
8439
|
+
}
|
|
8440
|
+
}
|
|
8441
|
+
namespace $404 {
|
|
8442
|
+
namespace Content {
|
|
8443
|
+
interface ApplicationJson {
|
|
8444
|
+
[k: string]: unknown;
|
|
8445
|
+
}
|
|
8446
|
+
}
|
|
8447
|
+
}
|
|
8448
|
+
namespace Default {
|
|
8449
|
+
namespace Content {
|
|
8450
|
+
interface ApplicationJson {
|
|
8451
|
+
[k: string]: unknown;
|
|
8452
|
+
}
|
|
8453
|
+
}
|
|
8454
|
+
}
|
|
8455
|
+
}
|
|
8456
|
+
}
|
|
8457
|
+
}
|
|
8419
8458
|
namespace V2ProjectsProjectIdDomainOwnerships {
|
|
8420
8459
|
namespace Get {
|
|
8421
8460
|
namespace Parameters {
|
|
@@ -8832,84 +8871,6 @@ export declare module MittwaldAPIV2 {
|
|
|
8832
8871
|
}
|
|
8833
8872
|
}
|
|
8834
8873
|
}
|
|
8835
|
-
namespace V2FileTokenRulesToken {
|
|
8836
|
-
namespace Get {
|
|
8837
|
-
namespace Parameters {
|
|
8838
|
-
type Path = {
|
|
8839
|
-
token: string;
|
|
8840
|
-
};
|
|
8841
|
-
type Header = {};
|
|
8842
|
-
type Query = {};
|
|
8843
|
-
}
|
|
8844
|
-
namespace Responses {
|
|
8845
|
-
namespace $200 {
|
|
8846
|
-
namespace Content {
|
|
8847
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
8848
|
-
}
|
|
8849
|
-
}
|
|
8850
|
-
namespace $404 {
|
|
8851
|
-
namespace Content {
|
|
8852
|
-
interface ApplicationJson {
|
|
8853
|
-
[k: string]: unknown;
|
|
8854
|
-
}
|
|
8855
|
-
}
|
|
8856
|
-
}
|
|
8857
|
-
namespace $500 {
|
|
8858
|
-
namespace Content {
|
|
8859
|
-
interface ApplicationJson {
|
|
8860
|
-
[k: string]: unknown;
|
|
8861
|
-
}
|
|
8862
|
-
}
|
|
8863
|
-
}
|
|
8864
|
-
namespace Default {
|
|
8865
|
-
namespace Content {
|
|
8866
|
-
interface ApplicationJson {
|
|
8867
|
-
[k: string]: unknown;
|
|
8868
|
-
}
|
|
8869
|
-
}
|
|
8870
|
-
}
|
|
8871
|
-
}
|
|
8872
|
-
}
|
|
8873
|
-
}
|
|
8874
|
-
namespace V2FileTypeRulesName {
|
|
8875
|
-
namespace Get {
|
|
8876
|
-
namespace Parameters {
|
|
8877
|
-
type Path = {
|
|
8878
|
-
name: "avatar" | "conversation";
|
|
8879
|
-
};
|
|
8880
|
-
type Header = {};
|
|
8881
|
-
type Query = {};
|
|
8882
|
-
}
|
|
8883
|
-
namespace Responses {
|
|
8884
|
-
namespace $200 {
|
|
8885
|
-
namespace Content {
|
|
8886
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
8887
|
-
}
|
|
8888
|
-
}
|
|
8889
|
-
namespace $404 {
|
|
8890
|
-
namespace Content {
|
|
8891
|
-
interface ApplicationJson {
|
|
8892
|
-
[k: string]: unknown;
|
|
8893
|
-
}
|
|
8894
|
-
}
|
|
8895
|
-
}
|
|
8896
|
-
namespace $500 {
|
|
8897
|
-
namespace Content {
|
|
8898
|
-
interface ApplicationJson {
|
|
8899
|
-
[k: string]: unknown;
|
|
8900
|
-
}
|
|
8901
|
-
}
|
|
8902
|
-
}
|
|
8903
|
-
namespace Default {
|
|
8904
|
-
namespace Content {
|
|
8905
|
-
interface ApplicationJson {
|
|
8906
|
-
[k: string]: unknown;
|
|
8907
|
-
}
|
|
8908
|
-
}
|
|
8909
|
-
}
|
|
8910
|
-
}
|
|
8911
|
-
}
|
|
8912
|
-
}
|
|
8913
8874
|
namespace V2FilesFileId {
|
|
8914
8875
|
namespace Get {
|
|
8915
8876
|
namespace Parameters {
|
|
@@ -10509,12 +10470,12 @@ export declare module MittwaldAPIV2 {
|
|
|
10509
10470
|
}
|
|
10510
10471
|
}
|
|
10511
10472
|
namespace V2MailaddressesMailAddressIdSpamprotection { }
|
|
10512
|
-
namespace
|
|
10473
|
+
namespace V2ProjectsProjectIdMailSettingsMailSetting {
|
|
10513
10474
|
namespace Patch {
|
|
10514
10475
|
namespace Parameters {
|
|
10515
10476
|
type Path = {
|
|
10516
10477
|
projectId: string;
|
|
10517
|
-
|
|
10478
|
+
mailSetting: "blacklist" | "whitelist";
|
|
10518
10479
|
};
|
|
10519
10480
|
type RequestBody = {
|
|
10520
10481
|
blacklist: string[];
|
|
@@ -10575,6 +10536,7 @@ export declare module MittwaldAPIV2 {
|
|
|
10575
10536
|
}
|
|
10576
10537
|
}
|
|
10577
10538
|
}
|
|
10539
|
+
namespace V2ProjectsProjectIdMailSettingsSetting { }
|
|
10578
10540
|
namespace V2NewsletterSubscriptionsSelf {
|
|
10579
10541
|
namespace Get {
|
|
10580
10542
|
namespace Parameters {
|
|
@@ -14728,28 +14690,61 @@ export declare module MittwaldAPIV2 {
|
|
|
14728
14690
|
}
|
|
14729
14691
|
}
|
|
14730
14692
|
}
|
|
14731
|
-
namespace
|
|
14732
|
-
namespace
|
|
14693
|
+
namespace V2AppinstallationsAppInstallationIdDatabases { }
|
|
14694
|
+
namespace V2FileUploadTokensFileUploadTokenRules {
|
|
14733
14695
|
namespace Get {
|
|
14734
14696
|
namespace Parameters {
|
|
14735
14697
|
type Path = {
|
|
14736
|
-
|
|
14698
|
+
fileUploadToken: string;
|
|
14737
14699
|
};
|
|
14738
|
-
|
|
14739
|
-
domainName: string;
|
|
14740
|
-
path: string;
|
|
14741
|
-
}
|
|
14742
|
-
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
14700
|
+
type Header = {};
|
|
14743
14701
|
type Query = {};
|
|
14744
14702
|
}
|
|
14745
14703
|
namespace Responses {
|
|
14746
14704
|
namespace $200 {
|
|
14705
|
+
namespace Content {
|
|
14706
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
14707
|
+
}
|
|
14708
|
+
}
|
|
14709
|
+
namespace $404 {
|
|
14747
14710
|
namespace Content {
|
|
14748
14711
|
interface ApplicationJson {
|
|
14749
|
-
|
|
14712
|
+
[k: string]: unknown;
|
|
14713
|
+
}
|
|
14714
|
+
}
|
|
14715
|
+
}
|
|
14716
|
+
namespace $500 {
|
|
14717
|
+
namespace Content {
|
|
14718
|
+
interface ApplicationJson {
|
|
14719
|
+
[k: string]: unknown;
|
|
14750
14720
|
}
|
|
14751
14721
|
}
|
|
14752
14722
|
}
|
|
14723
|
+
namespace Default {
|
|
14724
|
+
namespace Content {
|
|
14725
|
+
interface ApplicationJson {
|
|
14726
|
+
[k: string]: unknown;
|
|
14727
|
+
}
|
|
14728
|
+
}
|
|
14729
|
+
}
|
|
14730
|
+
}
|
|
14731
|
+
}
|
|
14732
|
+
}
|
|
14733
|
+
namespace V2FileUploadTypesFileUploadTypeRules {
|
|
14734
|
+
namespace Get {
|
|
14735
|
+
namespace Parameters {
|
|
14736
|
+
type Path = {
|
|
14737
|
+
fileUploadType: "avatar" | "conversation";
|
|
14738
|
+
};
|
|
14739
|
+
type Header = {};
|
|
14740
|
+
type Query = {};
|
|
14741
|
+
}
|
|
14742
|
+
namespace Responses {
|
|
14743
|
+
namespace $200 {
|
|
14744
|
+
namespace Content {
|
|
14745
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
14746
|
+
}
|
|
14747
|
+
}
|
|
14753
14748
|
namespace $404 {
|
|
14754
14749
|
namespace Content {
|
|
14755
14750
|
interface ApplicationJson {
|
|
@@ -14757,6 +14752,13 @@ export declare module MittwaldAPIV2 {
|
|
|
14757
14752
|
}
|
|
14758
14753
|
}
|
|
14759
14754
|
}
|
|
14755
|
+
namespace $500 {
|
|
14756
|
+
namespace Content {
|
|
14757
|
+
interface ApplicationJson {
|
|
14758
|
+
[k: string]: unknown;
|
|
14759
|
+
}
|
|
14760
|
+
}
|
|
14761
|
+
}
|
|
14760
14762
|
namespace Default {
|
|
14761
14763
|
namespace Content {
|
|
14762
14764
|
interface ApplicationJson {
|
|
@@ -14767,6 +14769,7 @@ export declare module MittwaldAPIV2 {
|
|
|
14767
14769
|
}
|
|
14768
14770
|
}
|
|
14769
14771
|
}
|
|
14770
|
-
namespace
|
|
14772
|
+
namespace V2FileTokenRulesToken { }
|
|
14773
|
+
namespace V2FileTypeRulesName { }
|
|
14771
14774
|
}
|
|
14772
14775
|
}
|
|
@@ -1090,6 +1090,20 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1090
1090
|
projectId: string;
|
|
1091
1091
|
txtRecord: string;
|
|
1092
1092
|
}>;
|
|
1093
|
+
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
1094
|
+
getLatestScreenshot: (conf: {
|
|
1095
|
+
data: {
|
|
1096
|
+
domainName: string;
|
|
1097
|
+
path: string;
|
|
1098
|
+
};
|
|
1099
|
+
domainId: string;
|
|
1100
|
+
headers?: {
|
|
1101
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1102
|
+
"x-access-token"?: string | undefined;
|
|
1103
|
+
} | undefined;
|
|
1104
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1105
|
+
reference?: string | undefined;
|
|
1106
|
+
}>;
|
|
1093
1107
|
/** List the DomainOwnerships of a project. */
|
|
1094
1108
|
listDomainOwnerships: (conf: {
|
|
1095
1109
|
projectId: string;
|
|
@@ -1159,20 +1173,6 @@ declare const buildDomainApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1159
1173
|
projectId: string;
|
|
1160
1174
|
tls: import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsAcme | import("./types.js").MittwaldAPIV2.Components.Schemas.IngressTlsCertificate;
|
|
1161
1175
|
}>;
|
|
1162
|
-
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
1163
|
-
getLatestScreenshot: (conf: {
|
|
1164
|
-
data: {
|
|
1165
|
-
domainName: string;
|
|
1166
|
-
path: string;
|
|
1167
|
-
};
|
|
1168
|
-
domainId: string;
|
|
1169
|
-
headers?: {
|
|
1170
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1171
|
-
"x-access-token"?: string | undefined;
|
|
1172
|
-
} | undefined;
|
|
1173
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<{
|
|
1174
|
-
reference?: string | undefined;
|
|
1175
|
-
}>;
|
|
1176
1176
|
};
|
|
1177
1177
|
declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1178
1178
|
/** Get a File's meta. */
|
|
@@ -1188,9 +1188,19 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1188
1188
|
sizeInBytes: number;
|
|
1189
1189
|
type: string;
|
|
1190
1190
|
}>;
|
|
1191
|
-
/** Get a
|
|
1192
|
-
|
|
1193
|
-
|
|
1191
|
+
/** Get a File. */
|
|
1192
|
+
getFile: (conf: {
|
|
1193
|
+
fileId: string;
|
|
1194
|
+
headers?: {
|
|
1195
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1196
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
1197
|
+
Download?: boolean | undefined;
|
|
1198
|
+
Token?: string | undefined;
|
|
1199
|
+
} | undefined;
|
|
1200
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<string>;
|
|
1201
|
+
/** Get a FileUploadToken's rules. */
|
|
1202
|
+
getFileUploadTokenRules: (conf: {
|
|
1203
|
+
fileUploadToken: string;
|
|
1194
1204
|
headers?: {
|
|
1195
1205
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1196
1206
|
} | undefined;
|
|
@@ -1210,9 +1220,9 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1210
1220
|
} | undefined;
|
|
1211
1221
|
} | undefined;
|
|
1212
1222
|
}>;
|
|
1213
|
-
/** Get a
|
|
1214
|
-
|
|
1215
|
-
|
|
1223
|
+
/** Get a FileUploadType's rules. */
|
|
1224
|
+
getFileUploadTypeRules: (conf: {
|
|
1225
|
+
fileUploadType: "avatar" | "conversation";
|
|
1216
1226
|
headers?: {
|
|
1217
1227
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1218
1228
|
} | undefined;
|
|
@@ -1232,16 +1242,6 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1232
1242
|
} | undefined;
|
|
1233
1243
|
} | undefined;
|
|
1234
1244
|
}>;
|
|
1235
|
-
/** Get a File. */
|
|
1236
|
-
getFile: (conf: {
|
|
1237
|
-
fileId: string;
|
|
1238
|
-
headers?: {
|
|
1239
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1240
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
1241
|
-
Download?: boolean | undefined;
|
|
1242
|
-
Token?: string | undefined;
|
|
1243
|
-
} | undefined;
|
|
1244
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<string>;
|
|
1245
1245
|
};
|
|
1246
1246
|
declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1247
1247
|
/** List DeliveryBoxes belonging to a Project. */
|
|
@@ -156,6 +156,8 @@ const buildDomainApi = (baseClient) => ({
|
|
|
156
156
|
getDomain: new ApiCallAsyncResourceFactory(descriptors.domainGetDomain, baseClient.domain.getDomain).getApiResource,
|
|
157
157
|
/** Get a DomainOwnership. */
|
|
158
158
|
getDomainOwnership: new ApiCallAsyncResourceFactory(descriptors.domainGetDomainOwnership, baseClient.domain.getDomainOwnership).getApiResource,
|
|
159
|
+
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
160
|
+
getLatestScreenshot: new ApiCallAsyncResourceFactory(descriptors.domainGetLatestScreenshot, baseClient.domain.getLatestScreenshot).getApiResource,
|
|
159
161
|
/** List the DomainOwnerships of a project. */
|
|
160
162
|
listDomainOwnerships: new ApiCallAsyncResourceFactory(descriptors.domainListDomainOwnerships, baseClient.domain.listDomainOwnerships).getApiResource,
|
|
161
163
|
/** List Domains belonging to a Project. */
|
|
@@ -168,18 +170,16 @@ const buildDomainApi = (baseClient) => ({
|
|
|
168
170
|
ingressListIngresses: new ApiCallAsyncResourceFactory(descriptors.ingressListIngresses, baseClient.domain.ingressListIngresses).getApiResource,
|
|
169
171
|
/** Get an Ingress. */
|
|
170
172
|
ingressGetIngress: new ApiCallAsyncResourceFactory(descriptors.ingressGetIngress, baseClient.domain.ingressGetIngress).getApiResource,
|
|
171
|
-
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
172
|
-
getLatestScreenshot: new ApiCallAsyncResourceFactory(descriptors.domainGetLatestScreenshot, baseClient.domain.getLatestScreenshot).getApiResource,
|
|
173
173
|
});
|
|
174
174
|
const buildFileApi = (baseClient) => ({
|
|
175
175
|
/** Get a File's meta. */
|
|
176
176
|
getFileMeta: new ApiCallAsyncResourceFactory(descriptors.fileGetFileMeta, baseClient.file.getFileMeta).getApiResource,
|
|
177
|
-
/** Get a Token's upload rules. */
|
|
178
|
-
getFileTokenRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileTokenRules, baseClient.file.getFileTokenRules).getApiResource,
|
|
179
|
-
/** Get a Type's upload rules. */
|
|
180
|
-
getFileTypeRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileTypeRules, baseClient.file.getFileTypeRules).getApiResource,
|
|
181
177
|
/** Get a File. */
|
|
182
178
|
getFile: new ApiCallAsyncResourceFactory(descriptors.fileGetFile, baseClient.file.getFile).getApiResource,
|
|
179
|
+
/** Get a FileUploadToken's rules. */
|
|
180
|
+
getFileUploadTokenRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTokenRules, baseClient.file.getFileUploadTokenRules).getApiResource,
|
|
181
|
+
/** Get a FileUploadType's rules. */
|
|
182
|
+
getFileUploadTypeRules: new ApiCallAsyncResourceFactory(descriptors.fileGetFileUploadTypeRules, baseClient.file.getFileUploadTypeRules).getApiResource,
|
|
183
183
|
});
|
|
184
184
|
const buildMailApi = (baseClient) => ({
|
|
185
185
|
/** List DeliveryBoxes belonging to a Project. */
|
|
@@ -5356,6 +5356,41 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5356
5356
|
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5357
5357
|
[x: string]: unknown;
|
|
5358
5358
|
}, 404, "application/json">>>;
|
|
5359
|
+
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
5360
|
+
getLatestScreenshot: (request: {
|
|
5361
|
+
data: {
|
|
5362
|
+
domainName: string;
|
|
5363
|
+
path: string;
|
|
5364
|
+
};
|
|
5365
|
+
domainId: string;
|
|
5366
|
+
headers?: {
|
|
5367
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5368
|
+
"x-access-token"?: string | undefined;
|
|
5369
|
+
} | undefined;
|
|
5370
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5371
|
+
data: {
|
|
5372
|
+
domainName: string;
|
|
5373
|
+
path: string;
|
|
5374
|
+
};
|
|
5375
|
+
} & {
|
|
5376
|
+
pathParameters: {
|
|
5377
|
+
domainId: string;
|
|
5378
|
+
};
|
|
5379
|
+
} & {
|
|
5380
|
+
headers?: Partial<{
|
|
5381
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5382
|
+
}> | undefined;
|
|
5383
|
+
} & {
|
|
5384
|
+
headers: {
|
|
5385
|
+
"x-access-token"?: string | undefined;
|
|
5386
|
+
} & Partial<{
|
|
5387
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5388
|
+
}>;
|
|
5389
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
5390
|
+
reference?: string | undefined;
|
|
5391
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5392
|
+
[x: string]: unknown;
|
|
5393
|
+
}, 404, "application/json">>>;
|
|
5359
5394
|
/** List the DomainOwnerships of a project. */
|
|
5360
5395
|
listDomainOwnerships: (request: {
|
|
5361
5396
|
projectId: string;
|
|
@@ -5835,41 +5870,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5835
5870
|
}, import("@mittwald/api-client-commons").Response<{}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5836
5871
|
[x: string]: unknown;
|
|
5837
5872
|
}, 404, "application/json">>>;
|
|
5838
|
-
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
5839
|
-
getLatestScreenshot: (request: {
|
|
5840
|
-
data: {
|
|
5841
|
-
domainName: string;
|
|
5842
|
-
path: string;
|
|
5843
|
-
};
|
|
5844
|
-
domainId: string;
|
|
5845
|
-
headers?: {
|
|
5846
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5847
|
-
"x-access-token"?: string | undefined;
|
|
5848
|
-
} | undefined;
|
|
5849
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5850
|
-
data: {
|
|
5851
|
-
domainName: string;
|
|
5852
|
-
path: string;
|
|
5853
|
-
};
|
|
5854
|
-
} & {
|
|
5855
|
-
pathParameters: {
|
|
5856
|
-
domainId: string;
|
|
5857
|
-
};
|
|
5858
|
-
} & {
|
|
5859
|
-
headers?: Partial<{
|
|
5860
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5861
|
-
}> | undefined;
|
|
5862
|
-
} & {
|
|
5863
|
-
headers: {
|
|
5864
|
-
"x-access-token"?: string | undefined;
|
|
5865
|
-
} & Partial<{
|
|
5866
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5867
|
-
}>;
|
|
5868
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
5869
|
-
reference?: string | undefined;
|
|
5870
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5871
|
-
[x: string]: unknown;
|
|
5872
|
-
}, 404, "application/json">>>;
|
|
5873
5873
|
};
|
|
5874
5874
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
5875
5875
|
readonly file: {
|
|
@@ -5929,11 +5929,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5929
5929
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5930
5930
|
[x: string]: unknown;
|
|
5931
5931
|
}, 404, "application/json">>>;
|
|
5932
|
-
/** Get a
|
|
5933
|
-
|
|
5934
|
-
|
|
5932
|
+
/** Get a File. */
|
|
5933
|
+
getFile: (request: {
|
|
5934
|
+
fileId: string;
|
|
5935
5935
|
headers?: {
|
|
5936
5936
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5937
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
5938
|
+
Download?: boolean | undefined;
|
|
5939
|
+
Token?: string | undefined;
|
|
5937
5940
|
} | undefined;
|
|
5938
5941
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5939
5942
|
headers?: Partial<{
|
|
@@ -5941,7 +5944,36 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5941
5944
|
}> | undefined;
|
|
5942
5945
|
} & {
|
|
5943
5946
|
pathParameters: {
|
|
5944
|
-
|
|
5947
|
+
fileId: string;
|
|
5948
|
+
};
|
|
5949
|
+
} & {
|
|
5950
|
+
headers: {
|
|
5951
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
5952
|
+
Download?: boolean | undefined;
|
|
5953
|
+
Token?: string | undefined;
|
|
5954
|
+
} & Partial<{
|
|
5955
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5956
|
+
}>;
|
|
5957
|
+
}, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "base64"> | import("@mittwald/api-client-commons").Response<string, 200, "ocr"> | import("@mittwald/api-client-commons").Response<{
|
|
5958
|
+
[x: string]: unknown;
|
|
5959
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5960
|
+
[x: string]: unknown;
|
|
5961
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5962
|
+
[x: string]: unknown;
|
|
5963
|
+
}, 500, "application/json">>>;
|
|
5964
|
+
/** Get a FileUploadToken's rules. */
|
|
5965
|
+
getFileUploadTokenRules: (request: {
|
|
5966
|
+
fileUploadToken: string;
|
|
5967
|
+
headers?: {
|
|
5968
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5969
|
+
} | undefined;
|
|
5970
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5971
|
+
headers?: Partial<{
|
|
5972
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5973
|
+
}> | undefined;
|
|
5974
|
+
} & {
|
|
5975
|
+
pathParameters: {
|
|
5976
|
+
fileUploadToken: string;
|
|
5945
5977
|
};
|
|
5946
5978
|
}, import("@mittwald/api-client-commons").Response<{
|
|
5947
5979
|
maxSizeInKB: number;
|
|
@@ -5963,9 +5995,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5963
5995
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5964
5996
|
[x: string]: unknown;
|
|
5965
5997
|
}, 500, "application/json">>>;
|
|
5966
|
-
/** Get a
|
|
5967
|
-
|
|
5968
|
-
|
|
5998
|
+
/** Get a FileUploadType's rules. */
|
|
5999
|
+
getFileUploadTypeRules: (request: {
|
|
6000
|
+
fileUploadType: "avatar" | "conversation";
|
|
5969
6001
|
headers?: {
|
|
5970
6002
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5971
6003
|
} | undefined;
|
|
@@ -5975,7 +6007,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5975
6007
|
}> | undefined;
|
|
5976
6008
|
} & {
|
|
5977
6009
|
pathParameters: {
|
|
5978
|
-
|
|
6010
|
+
fileUploadType: "avatar" | "conversation";
|
|
5979
6011
|
};
|
|
5980
6012
|
}, import("@mittwald/api-client-commons").Response<{
|
|
5981
6013
|
maxSizeInKB: number;
|
|
@@ -5997,38 +6029,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5997
6029
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5998
6030
|
[x: string]: unknown;
|
|
5999
6031
|
}, 500, "application/json">>>;
|
|
6000
|
-
/** Get a File. */
|
|
6001
|
-
getFile: (request: {
|
|
6002
|
-
fileId: string;
|
|
6003
|
-
headers?: {
|
|
6004
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6005
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
6006
|
-
Download?: boolean | undefined;
|
|
6007
|
-
Token?: string | undefined;
|
|
6008
|
-
} | undefined;
|
|
6009
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6010
|
-
headers?: Partial<{
|
|
6011
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6012
|
-
}> | undefined;
|
|
6013
|
-
} & {
|
|
6014
|
-
pathParameters: {
|
|
6015
|
-
fileId: string;
|
|
6016
|
-
};
|
|
6017
|
-
} & {
|
|
6018
|
-
headers: {
|
|
6019
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
6020
|
-
Download?: boolean | undefined;
|
|
6021
|
-
Token?: string | undefined;
|
|
6022
|
-
} & Partial<{
|
|
6023
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6024
|
-
}>;
|
|
6025
|
-
}, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "base64"> | import("@mittwald/api-client-commons").Response<string, 200, "ocr"> | import("@mittwald/api-client-commons").Response<{
|
|
6026
|
-
[x: string]: unknown;
|
|
6027
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6028
|
-
[x: string]: unknown;
|
|
6029
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6030
|
-
[x: string]: unknown;
|
|
6031
|
-
}, 500, "application/json">>>;
|
|
6032
6032
|
};
|
|
6033
6033
|
/** The mail API allows you to manage your mail accounts. */
|
|
6034
6034
|
readonly mail: {
|
|
@@ -6789,7 +6789,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6789
6789
|
blacklist: string[];
|
|
6790
6790
|
};
|
|
6791
6791
|
projectId: string;
|
|
6792
|
-
|
|
6792
|
+
mailSetting: "blacklist" | "whitelist";
|
|
6793
6793
|
headers?: {
|
|
6794
6794
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6795
6795
|
"x-access-token"?: string | undefined;
|
|
@@ -6799,7 +6799,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6799
6799
|
whitelist: string[];
|
|
6800
6800
|
};
|
|
6801
6801
|
projectId: string;
|
|
6802
|
-
|
|
6802
|
+
mailSetting: "blacklist" | "whitelist";
|
|
6803
6803
|
headers?: {
|
|
6804
6804
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6805
6805
|
"x-access-token"?: string | undefined;
|
|
@@ -6815,7 +6815,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6815
6815
|
}) & {
|
|
6816
6816
|
pathParameters: {
|
|
6817
6817
|
projectId: string;
|
|
6818
|
-
|
|
6818
|
+
mailSetting: "blacklist" | "whitelist";
|
|
6819
6819
|
};
|
|
6820
6820
|
} & {
|
|
6821
6821
|
headers?: Partial<{
|