@mittwald/api-client 3.1.11 → 3.1.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/generated/v2/client-react.d.ts +22 -22
- package/dist/cjs/generated/v2/client-react.js +6 -6
- package/dist/cjs/generated/v2/client.d.ts +67 -67
- package/dist/cjs/generated/v2/client.js +6 -6
- package/dist/cjs/generated/v2/descriptors.d.ts +7 -7
- package/dist/cjs/generated/v2/descriptors.js +24 -24
- package/dist/cjs/generated/v2/types.d.ts +113 -110
- package/dist/esm/generated/v2/client-react.d.ts +22 -22
- package/dist/esm/generated/v2/client-react.js +6 -6
- package/dist/esm/generated/v2/client.d.ts +67 -67
- package/dist/esm/generated/v2/client.js +6 -6
- package/dist/esm/generated/v2/descriptors.d.ts +7 -7
- package/dist/esm/generated/v2/descriptors.js +19 -19
- package/dist/esm/generated/v2/types.d.ts +113 -110
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
|
@@ -222,6 +222,10 @@ export declare module MittwaldAPIV2 {
|
|
|
222
222
|
type RequestData = InferredRequestData<typeof descriptors.conversationUpdateConversation>;
|
|
223
223
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.conversationUpdateConversation, TStatus>;
|
|
224
224
|
}
|
|
225
|
+
namespace ConversationGetFileAccessToken {
|
|
226
|
+
type RequestData = InferredRequestData<typeof descriptors.conversationGetFileAccessToken>;
|
|
227
|
+
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.conversationGetFileAccessToken, TStatus>;
|
|
228
|
+
}
|
|
225
229
|
namespace ConversationListCategories {
|
|
226
230
|
type RequestData = InferredRequestData<typeof descriptors.conversationListCategories>;
|
|
227
231
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.conversationListCategories, TStatus>;
|
|
@@ -590,14 +594,6 @@ export declare module MittwaldAPIV2 {
|
|
|
590
594
|
type RequestData = InferredRequestData<typeof descriptors.fileGetFileMeta>;
|
|
591
595
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileMeta, TStatus>;
|
|
592
596
|
}
|
|
593
|
-
namespace FileGetFileTokenRules {
|
|
594
|
-
type RequestData = InferredRequestData<typeof descriptors.fileGetFileTokenRules>;
|
|
595
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileTokenRules, TStatus>;
|
|
596
|
-
}
|
|
597
|
-
namespace FileGetFileTypeRules {
|
|
598
|
-
type RequestData = InferredRequestData<typeof descriptors.fileGetFileTypeRules>;
|
|
599
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFileTypeRules, TStatus>;
|
|
600
|
-
}
|
|
601
597
|
namespace FileGetFile {
|
|
602
598
|
type RequestData = InferredRequestData<typeof descriptors.fileGetFile>;
|
|
603
599
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.fileGetFile, TStatus>;
|
|
@@ -1162,14 +1158,18 @@ export declare module MittwaldAPIV2 {
|
|
|
1162
1158
|
type RequestData = InferredRequestData<typeof descriptors.userVerifyRegistration>;
|
|
1163
1159
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.userVerifyRegistration, TStatus>;
|
|
1164
1160
|
}
|
|
1165
|
-
namespace ConversationGetFileAccessToken {
|
|
1166
|
-
type RequestData = InferredRequestData<typeof descriptors.conversationGetFileAccessToken>;
|
|
1167
|
-
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.conversationGetFileAccessToken, TStatus>;
|
|
1168
|
-
}
|
|
1169
1161
|
namespace DomainGetLatestScreenshot {
|
|
1170
1162
|
type RequestData = InferredRequestData<typeof descriptors.domainGetLatestScreenshot>;
|
|
1171
1163
|
type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.domainGetLatestScreenshot, TStatus>;
|
|
1172
1164
|
}
|
|
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 {
|
|
@@ -5192,6 +5192,51 @@ export declare module MittwaldAPIV2 {
|
|
|
5192
5192
|
}
|
|
5193
5193
|
}
|
|
5194
5194
|
}
|
|
5195
|
+
namespace V2ConversationsConversationIdFilesFileIdAccessToken {
|
|
5196
|
+
namespace Get {
|
|
5197
|
+
namespace Parameters {
|
|
5198
|
+
type Path = {
|
|
5199
|
+
conversationId: string;
|
|
5200
|
+
fileId: string;
|
|
5201
|
+
};
|
|
5202
|
+
interface RequestBody {
|
|
5203
|
+
}
|
|
5204
|
+
type Header = {};
|
|
5205
|
+
type Query = {};
|
|
5206
|
+
}
|
|
5207
|
+
namespace Responses {
|
|
5208
|
+
namespace $200 {
|
|
5209
|
+
namespace Content {
|
|
5210
|
+
interface ApplicationJson {
|
|
5211
|
+
accessToken: string;
|
|
5212
|
+
expiresAt: string;
|
|
5213
|
+
}
|
|
5214
|
+
}
|
|
5215
|
+
}
|
|
5216
|
+
namespace $400 {
|
|
5217
|
+
namespace Content {
|
|
5218
|
+
interface ApplicationJson {
|
|
5219
|
+
[k: string]: unknown;
|
|
5220
|
+
}
|
|
5221
|
+
}
|
|
5222
|
+
}
|
|
5223
|
+
namespace $404 {
|
|
5224
|
+
namespace Content {
|
|
5225
|
+
interface ApplicationJson {
|
|
5226
|
+
[k: string]: unknown;
|
|
5227
|
+
}
|
|
5228
|
+
}
|
|
5229
|
+
}
|
|
5230
|
+
namespace Default {
|
|
5231
|
+
namespace Content {
|
|
5232
|
+
interface ApplicationJson {
|
|
5233
|
+
[k: string]: unknown;
|
|
5234
|
+
}
|
|
5235
|
+
}
|
|
5236
|
+
}
|
|
5237
|
+
}
|
|
5238
|
+
}
|
|
5239
|
+
}
|
|
5195
5240
|
namespace V2ConversationCategories {
|
|
5196
5241
|
namespace Get {
|
|
5197
5242
|
namespace Parameters {
|
|
@@ -8787,84 +8832,6 @@ export declare module MittwaldAPIV2 {
|
|
|
8787
8832
|
}
|
|
8788
8833
|
}
|
|
8789
8834
|
}
|
|
8790
|
-
namespace V2FileTokenRulesToken {
|
|
8791
|
-
namespace Get {
|
|
8792
|
-
namespace Parameters {
|
|
8793
|
-
type Path = {
|
|
8794
|
-
token: string;
|
|
8795
|
-
};
|
|
8796
|
-
type Header = {};
|
|
8797
|
-
type Query = {};
|
|
8798
|
-
}
|
|
8799
|
-
namespace Responses {
|
|
8800
|
-
namespace $200 {
|
|
8801
|
-
namespace Content {
|
|
8802
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
8803
|
-
}
|
|
8804
|
-
}
|
|
8805
|
-
namespace $404 {
|
|
8806
|
-
namespace Content {
|
|
8807
|
-
interface ApplicationJson {
|
|
8808
|
-
[k: string]: unknown;
|
|
8809
|
-
}
|
|
8810
|
-
}
|
|
8811
|
-
}
|
|
8812
|
-
namespace $500 {
|
|
8813
|
-
namespace Content {
|
|
8814
|
-
interface ApplicationJson {
|
|
8815
|
-
[k: string]: unknown;
|
|
8816
|
-
}
|
|
8817
|
-
}
|
|
8818
|
-
}
|
|
8819
|
-
namespace Default {
|
|
8820
|
-
namespace Content {
|
|
8821
|
-
interface ApplicationJson {
|
|
8822
|
-
[k: string]: unknown;
|
|
8823
|
-
}
|
|
8824
|
-
}
|
|
8825
|
-
}
|
|
8826
|
-
}
|
|
8827
|
-
}
|
|
8828
|
-
}
|
|
8829
|
-
namespace V2FileTypeRulesName {
|
|
8830
|
-
namespace Get {
|
|
8831
|
-
namespace Parameters {
|
|
8832
|
-
type Path = {
|
|
8833
|
-
name: "avatar" | "conversation";
|
|
8834
|
-
};
|
|
8835
|
-
type Header = {};
|
|
8836
|
-
type Query = {};
|
|
8837
|
-
}
|
|
8838
|
-
namespace Responses {
|
|
8839
|
-
namespace $200 {
|
|
8840
|
-
namespace Content {
|
|
8841
|
-
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
8842
|
-
}
|
|
8843
|
-
}
|
|
8844
|
-
namespace $404 {
|
|
8845
|
-
namespace Content {
|
|
8846
|
-
interface ApplicationJson {
|
|
8847
|
-
[k: string]: unknown;
|
|
8848
|
-
}
|
|
8849
|
-
}
|
|
8850
|
-
}
|
|
8851
|
-
namespace $500 {
|
|
8852
|
-
namespace Content {
|
|
8853
|
-
interface ApplicationJson {
|
|
8854
|
-
[k: string]: unknown;
|
|
8855
|
-
}
|
|
8856
|
-
}
|
|
8857
|
-
}
|
|
8858
|
-
namespace Default {
|
|
8859
|
-
namespace Content {
|
|
8860
|
-
interface ApplicationJson {
|
|
8861
|
-
[k: string]: unknown;
|
|
8862
|
-
}
|
|
8863
|
-
}
|
|
8864
|
-
}
|
|
8865
|
-
}
|
|
8866
|
-
}
|
|
8867
|
-
}
|
|
8868
8835
|
namespace V2FilesFileId {
|
|
8869
8836
|
namespace Get {
|
|
8870
8837
|
namespace Parameters {
|
|
@@ -10464,12 +10431,12 @@ export declare module MittwaldAPIV2 {
|
|
|
10464
10431
|
}
|
|
10465
10432
|
}
|
|
10466
10433
|
namespace V2MailaddressesMailAddressIdSpamprotection { }
|
|
10467
|
-
namespace
|
|
10434
|
+
namespace V2ProjectsProjectIdMailSettingsMailSetting {
|
|
10468
10435
|
namespace Patch {
|
|
10469
10436
|
namespace Parameters {
|
|
10470
10437
|
type Path = {
|
|
10471
10438
|
projectId: string;
|
|
10472
|
-
|
|
10439
|
+
mailSetting: "blacklist" | "whitelist";
|
|
10473
10440
|
};
|
|
10474
10441
|
type RequestBody = {
|
|
10475
10442
|
blacklist: string[];
|
|
@@ -10530,6 +10497,7 @@ export declare module MittwaldAPIV2 {
|
|
|
10530
10497
|
}
|
|
10531
10498
|
}
|
|
10532
10499
|
}
|
|
10500
|
+
namespace V2ProjectsProjectIdMailSettingsSetting { }
|
|
10533
10501
|
namespace V2NewsletterSubscriptionsSelf {
|
|
10534
10502
|
namespace Get {
|
|
10535
10503
|
namespace Parameters {
|
|
@@ -14683,34 +14651,61 @@ export declare module MittwaldAPIV2 {
|
|
|
14683
14651
|
}
|
|
14684
14652
|
}
|
|
14685
14653
|
}
|
|
14686
|
-
namespace
|
|
14654
|
+
namespace V2DomainsDomainIdScreenshotsNewest { }
|
|
14655
|
+
namespace V2DomainsDomainIdLatestScreenshot {
|
|
14687
14656
|
namespace Get {
|
|
14688
14657
|
namespace Parameters {
|
|
14689
14658
|
type Path = {
|
|
14690
|
-
|
|
14691
|
-
fileId: string;
|
|
14659
|
+
domainId: string;
|
|
14692
14660
|
};
|
|
14693
14661
|
interface RequestBody {
|
|
14662
|
+
domainName: string;
|
|
14663
|
+
path: string;
|
|
14694
14664
|
}
|
|
14695
|
-
type Header = {};
|
|
14665
|
+
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
14696
14666
|
type Query = {};
|
|
14697
14667
|
}
|
|
14698
14668
|
namespace Responses {
|
|
14699
14669
|
namespace $200 {
|
|
14700
14670
|
namespace Content {
|
|
14701
14671
|
interface ApplicationJson {
|
|
14702
|
-
|
|
14703
|
-
expiresAt: string;
|
|
14672
|
+
reference?: string;
|
|
14704
14673
|
}
|
|
14705
14674
|
}
|
|
14706
14675
|
}
|
|
14707
|
-
namespace $
|
|
14676
|
+
namespace $404 {
|
|
14677
|
+
namespace Content {
|
|
14678
|
+
interface ApplicationJson {
|
|
14679
|
+
[k: string]: unknown;
|
|
14680
|
+
}
|
|
14681
|
+
}
|
|
14682
|
+
}
|
|
14683
|
+
namespace Default {
|
|
14708
14684
|
namespace Content {
|
|
14709
14685
|
interface ApplicationJson {
|
|
14710
14686
|
[k: string]: unknown;
|
|
14711
14687
|
}
|
|
14712
14688
|
}
|
|
14713
14689
|
}
|
|
14690
|
+
}
|
|
14691
|
+
}
|
|
14692
|
+
}
|
|
14693
|
+
namespace V2AppinstallationsAppInstallationIdDatabases { }
|
|
14694
|
+
namespace V2FileUploadTokensFileUploadTokenRules {
|
|
14695
|
+
namespace Get {
|
|
14696
|
+
namespace Parameters {
|
|
14697
|
+
type Path = {
|
|
14698
|
+
fileUploadToken: string;
|
|
14699
|
+
};
|
|
14700
|
+
type Header = {};
|
|
14701
|
+
type Query = {};
|
|
14702
|
+
}
|
|
14703
|
+
namespace Responses {
|
|
14704
|
+
namespace $200 {
|
|
14705
|
+
namespace Content {
|
|
14706
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
14707
|
+
}
|
|
14708
|
+
}
|
|
14714
14709
|
namespace $404 {
|
|
14715
14710
|
namespace Content {
|
|
14716
14711
|
interface ApplicationJson {
|
|
@@ -14718,6 +14713,13 @@ export declare module MittwaldAPIV2 {
|
|
|
14718
14713
|
}
|
|
14719
14714
|
}
|
|
14720
14715
|
}
|
|
14716
|
+
namespace $500 {
|
|
14717
|
+
namespace Content {
|
|
14718
|
+
interface ApplicationJson {
|
|
14719
|
+
[k: string]: unknown;
|
|
14720
|
+
}
|
|
14721
|
+
}
|
|
14722
|
+
}
|
|
14721
14723
|
namespace Default {
|
|
14722
14724
|
namespace Content {
|
|
14723
14725
|
interface ApplicationJson {
|
|
@@ -14728,29 +14730,29 @@ export declare module MittwaldAPIV2 {
|
|
|
14728
14730
|
}
|
|
14729
14731
|
}
|
|
14730
14732
|
}
|
|
14731
|
-
namespace
|
|
14732
|
-
namespace V2DomainsDomainIdLatestScreenshot {
|
|
14733
|
+
namespace V2FileUploadTypesFileUploadTypeRules {
|
|
14733
14734
|
namespace Get {
|
|
14734
14735
|
namespace Parameters {
|
|
14735
14736
|
type Path = {
|
|
14736
|
-
|
|
14737
|
+
fileUploadType: "avatar" | "conversation";
|
|
14737
14738
|
};
|
|
14738
|
-
|
|
14739
|
-
domainName: string;
|
|
14740
|
-
path: string;
|
|
14741
|
-
}
|
|
14742
|
-
type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
|
|
14739
|
+
type Header = {};
|
|
14743
14740
|
type Query = {};
|
|
14744
14741
|
}
|
|
14745
14742
|
namespace Responses {
|
|
14746
14743
|
namespace $200 {
|
|
14744
|
+
namespace Content {
|
|
14745
|
+
type ApplicationJson = MittwaldAPIV2.Components.Schemas.FileFileUploadRules;
|
|
14746
|
+
}
|
|
14747
|
+
}
|
|
14748
|
+
namespace $404 {
|
|
14747
14749
|
namespace Content {
|
|
14748
14750
|
interface ApplicationJson {
|
|
14749
|
-
|
|
14751
|
+
[k: string]: unknown;
|
|
14750
14752
|
}
|
|
14751
14753
|
}
|
|
14752
14754
|
}
|
|
14753
|
-
namespace $
|
|
14755
|
+
namespace $500 {
|
|
14754
14756
|
namespace Content {
|
|
14755
14757
|
interface ApplicationJson {
|
|
14756
14758
|
[k: string]: unknown;
|
|
@@ -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
|
}
|
|
@@ -620,12 +620,6 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
620
620
|
status: "open" | "answered" | "closed";
|
|
621
621
|
title: string;
|
|
622
622
|
}>;
|
|
623
|
-
/** Get all conversation categories. */
|
|
624
|
-
listCategories: (conf?: {
|
|
625
|
-
headers?: {
|
|
626
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
627
|
-
} | undefined;
|
|
628
|
-
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationCategory[]>;
|
|
629
623
|
/** Request an access token for the File belonging to the Conversation. */
|
|
630
624
|
getFileAccessToken: (conf: {
|
|
631
625
|
conversationId: string;
|
|
@@ -637,6 +631,12 @@ declare const buildConversationApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
637
631
|
accessToken: string;
|
|
638
632
|
expiresAt: string;
|
|
639
633
|
}>;
|
|
634
|
+
/** Get all conversation categories. */
|
|
635
|
+
listCategories: (conf?: {
|
|
636
|
+
headers?: {
|
|
637
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
638
|
+
} | undefined;
|
|
639
|
+
} | null | undefined) => import("@mittwald/react-use-promise/types").AsyncResource<import("./types.js").MittwaldAPIV2.Components.Schemas.ConversationCategory[]>;
|
|
640
640
|
};
|
|
641
641
|
declare const buildCronjobApi: (baseClient: MittwaldAPIV2Client) => {
|
|
642
642
|
/** List Cronjobs belonging to a Project. */
|
|
@@ -1188,9 +1188,19 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1188
1188
|
sizeInBytes: number;
|
|
1189
1189
|
type: string;
|
|
1190
1190
|
}>;
|
|
1191
|
-
/** Get a
|
|
1192
|
-
|
|
1193
|
-
|
|
1191
|
+
/** Get a File. */
|
|
1192
|
+
getFile: (conf: {
|
|
1193
|
+
fileId: string;
|
|
1194
|
+
headers?: {
|
|
1195
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1196
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
1197
|
+
Download?: boolean | undefined;
|
|
1198
|
+
Token?: string | undefined;
|
|
1199
|
+
} | undefined;
|
|
1200
|
+
}) => import("@mittwald/react-use-promise/types").AsyncResource<string>;
|
|
1201
|
+
/** Get a FileUploadToken's rules. */
|
|
1202
|
+
getFileUploadTokenRules: (conf: {
|
|
1203
|
+
fileUploadToken: string;
|
|
1194
1204
|
headers?: {
|
|
1195
1205
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1196
1206
|
} | undefined;
|
|
@@ -1210,9 +1220,9 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1210
1220
|
} | undefined;
|
|
1211
1221
|
} | undefined;
|
|
1212
1222
|
}>;
|
|
1213
|
-
/** Get a
|
|
1214
|
-
|
|
1215
|
-
|
|
1223
|
+
/** Get a FileUploadType's rules. */
|
|
1224
|
+
getFileUploadTypeRules: (conf: {
|
|
1225
|
+
fileUploadType: "avatar" | "conversation";
|
|
1216
1226
|
headers?: {
|
|
1217
1227
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1218
1228
|
} | undefined;
|
|
@@ -1232,16 +1242,6 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
|
|
|
1232
1242
|
} | undefined;
|
|
1233
1243
|
} | undefined;
|
|
1234
1244
|
}>;
|
|
1235
|
-
/** Get a File. */
|
|
1236
|
-
getFile: (conf: {
|
|
1237
|
-
fileId: string;
|
|
1238
|
-
headers?: {
|
|
1239
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
1240
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
1241
|
-
Download?: boolean | undefined;
|
|
1242
|
-
Token?: string | undefined;
|
|
1243
|
-
} | undefined;
|
|
1244
|
-
}) => import("@mittwald/react-use-promise/types").AsyncResource<string>;
|
|
1245
1245
|
};
|
|
1246
1246
|
declare const buildMailApi: (baseClient: MittwaldAPIV2Client) => {
|
|
1247
1247
|
/** List DeliveryBoxes belonging to a Project. */
|
|
@@ -84,10 +84,10 @@ const buildConversationApi = (baseClient) => ({
|
|
|
84
84
|
getCategory: new ApiCallAsyncResourceFactory(descriptors.conversationGetCategory, baseClient.conversation.getCategory).getApiResource,
|
|
85
85
|
/** Get a support conversation. */
|
|
86
86
|
getConversation: new ApiCallAsyncResourceFactory(descriptors.conversationGetConversation, baseClient.conversation.getConversation).getApiResource,
|
|
87
|
-
/** Get all conversation categories. */
|
|
88
|
-
listCategories: new ApiCallAsyncResourceFactory(descriptors.conversationListCategories, baseClient.conversation.listCategories).getApiResource,
|
|
89
87
|
/** Request an access token for the File belonging to the Conversation. */
|
|
90
88
|
getFileAccessToken: new ApiCallAsyncResourceFactory(descriptors.conversationGetFileAccessToken, baseClient.conversation.getFileAccessToken).getApiResource,
|
|
89
|
+
/** Get all conversation categories. */
|
|
90
|
+
listCategories: new ApiCallAsyncResourceFactory(descriptors.conversationListCategories, baseClient.conversation.listCategories).getApiResource,
|
|
91
91
|
});
|
|
92
92
|
const buildCronjobApi = (baseClient) => ({
|
|
93
93
|
/** List Cronjobs belonging to a Project. */
|
|
@@ -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 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. */
|
|
@@ -2342,6 +2342,30 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2342
2342
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2343
2343
|
[x: string]: unknown;
|
|
2344
2344
|
}, 404, "application/json">>>;
|
|
2345
|
+
/** Request an access token for the File belonging to the Conversation. */
|
|
2346
|
+
getFileAccessToken: (request: {
|
|
2347
|
+
conversationId: string;
|
|
2348
|
+
fileId: string;
|
|
2349
|
+
headers?: {
|
|
2350
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2351
|
+
} | undefined;
|
|
2352
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
2353
|
+
headers?: Partial<{
|
|
2354
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
2355
|
+
}> | undefined;
|
|
2356
|
+
} & {
|
|
2357
|
+
pathParameters: {
|
|
2358
|
+
conversationId: string;
|
|
2359
|
+
fileId: string;
|
|
2360
|
+
};
|
|
2361
|
+
}, import("@mittwald/api-client-commons").Response<{
|
|
2362
|
+
accessToken: string;
|
|
2363
|
+
expiresAt: string;
|
|
2364
|
+
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2365
|
+
[x: string]: unknown;
|
|
2366
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2367
|
+
[x: string]: unknown;
|
|
2368
|
+
}, 404, "application/json">>>;
|
|
2345
2369
|
/** Get all conversation categories. */
|
|
2346
2370
|
listCategories: (request?: {
|
|
2347
2371
|
headers?: {
|
|
@@ -2450,30 +2474,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
2450
2474
|
}, 403, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2451
2475
|
[x: string]: unknown;
|
|
2452
2476
|
}, 404, "application/json">>>;
|
|
2453
|
-
/** Request an access token for the File belonging to the Conversation. */
|
|
2454
|
-
getFileAccessToken: (request: {
|
|
2455
|
-
conversationId: string;
|
|
2456
|
-
fileId: string;
|
|
2457
|
-
headers?: {
|
|
2458
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
2459
|
-
} | undefined;
|
|
2460
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
2461
|
-
headers?: Partial<{
|
|
2462
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
2463
|
-
}> | undefined;
|
|
2464
|
-
} & {
|
|
2465
|
-
pathParameters: {
|
|
2466
|
-
conversationId: string;
|
|
2467
|
-
fileId: string;
|
|
2468
|
-
};
|
|
2469
|
-
}, import("@mittwald/api-client-commons").Response<{
|
|
2470
|
-
accessToken: string;
|
|
2471
|
-
expiresAt: string;
|
|
2472
|
-
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2473
|
-
[x: string]: unknown;
|
|
2474
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
2475
|
-
[x: string]: unknown;
|
|
2476
|
-
}, 404, "application/json">>>;
|
|
2477
2477
|
};
|
|
2478
2478
|
/** The cronjob API allows you to manage cronjobs within a project. */
|
|
2479
2479
|
readonly cronjob: {
|
|
@@ -5929,11 +5929,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5929
5929
|
}, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5930
5930
|
[x: string]: unknown;
|
|
5931
5931
|
}, 404, "application/json">>>;
|
|
5932
|
-
/** Get a
|
|
5933
|
-
|
|
5934
|
-
|
|
5932
|
+
/** Get a File. */
|
|
5933
|
+
getFile: (request: {
|
|
5934
|
+
fileId: string;
|
|
5935
5935
|
headers?: {
|
|
5936
5936
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5937
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
5938
|
+
Download?: boolean | undefined;
|
|
5939
|
+
Token?: string | undefined;
|
|
5937
5940
|
} | undefined;
|
|
5938
5941
|
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5939
5942
|
headers?: Partial<{
|
|
@@ -5941,7 +5944,36 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5941
5944
|
}> | undefined;
|
|
5942
5945
|
} & {
|
|
5943
5946
|
pathParameters: {
|
|
5944
|
-
|
|
5947
|
+
fileId: string;
|
|
5948
|
+
};
|
|
5949
|
+
} & {
|
|
5950
|
+
headers: {
|
|
5951
|
+
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
5952
|
+
Download?: boolean | undefined;
|
|
5953
|
+
Token?: string | undefined;
|
|
5954
|
+
} & Partial<{
|
|
5955
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5956
|
+
}>;
|
|
5957
|
+
}, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "base64"> | import("@mittwald/api-client-commons").Response<string, 200, "ocr"> | import("@mittwald/api-client-commons").Response<{
|
|
5958
|
+
[x: string]: unknown;
|
|
5959
|
+
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5960
|
+
[x: string]: unknown;
|
|
5961
|
+
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5962
|
+
[x: string]: unknown;
|
|
5963
|
+
}, 500, "application/json">>>;
|
|
5964
|
+
/** Get a FileUploadToken's rules. */
|
|
5965
|
+
getFileUploadTokenRules: (request: {
|
|
5966
|
+
fileUploadToken: string;
|
|
5967
|
+
headers?: {
|
|
5968
|
+
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5969
|
+
} | undefined;
|
|
5970
|
+
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
5971
|
+
headers?: Partial<{
|
|
5972
|
+
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
5973
|
+
}> | undefined;
|
|
5974
|
+
} & {
|
|
5975
|
+
pathParameters: {
|
|
5976
|
+
fileUploadToken: string;
|
|
5945
5977
|
};
|
|
5946
5978
|
}, import("@mittwald/api-client-commons").Response<{
|
|
5947
5979
|
maxSizeInKB: number;
|
|
@@ -5963,9 +5995,9 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5963
5995
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5964
5996
|
[x: string]: unknown;
|
|
5965
5997
|
}, 500, "application/json">>>;
|
|
5966
|
-
/** Get a
|
|
5967
|
-
|
|
5968
|
-
|
|
5998
|
+
/** Get a FileUploadType's rules. */
|
|
5999
|
+
getFileUploadTypeRules: (request: {
|
|
6000
|
+
fileUploadType: "avatar" | "conversation";
|
|
5969
6001
|
headers?: {
|
|
5970
6002
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
5971
6003
|
} | undefined;
|
|
@@ -5975,7 +6007,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5975
6007
|
}> | undefined;
|
|
5976
6008
|
} & {
|
|
5977
6009
|
pathParameters: {
|
|
5978
|
-
|
|
6010
|
+
fileUploadType: "avatar" | "conversation";
|
|
5979
6011
|
};
|
|
5980
6012
|
}, import("@mittwald/api-client-commons").Response<{
|
|
5981
6013
|
maxSizeInKB: number;
|
|
@@ -5997,38 +6029,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
5997
6029
|
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
5998
6030
|
[x: string]: unknown;
|
|
5999
6031
|
}, 500, "application/json">>>;
|
|
6000
|
-
/** Get a File. */
|
|
6001
|
-
getFile: (request: {
|
|
6002
|
-
fileId: string;
|
|
6003
|
-
headers?: {
|
|
6004
|
-
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6005
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
6006
|
-
Download?: boolean | undefined;
|
|
6007
|
-
Token?: string | undefined;
|
|
6008
|
-
} | undefined;
|
|
6009
|
-
}) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
|
|
6010
|
-
headers?: Partial<{
|
|
6011
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6012
|
-
}> | undefined;
|
|
6013
|
-
} & {
|
|
6014
|
-
pathParameters: {
|
|
6015
|
-
fileId: string;
|
|
6016
|
-
};
|
|
6017
|
-
} & {
|
|
6018
|
-
headers: {
|
|
6019
|
-
Accept?: "binary" | "base64" | "ocr" | undefined;
|
|
6020
|
-
Download?: boolean | undefined;
|
|
6021
|
-
Token?: string | undefined;
|
|
6022
|
-
} & Partial<{
|
|
6023
|
-
[TKey: string]: (string | number | boolean) | (string | number | boolean)[];
|
|
6024
|
-
}>;
|
|
6025
|
-
}, import("@mittwald/api-client-commons").Response<string, 200, "application/octet-stream"> | import("@mittwald/api-client-commons").Response<string, 200, "base64"> | import("@mittwald/api-client-commons").Response<string, 200, "ocr"> | import("@mittwald/api-client-commons").Response<{
|
|
6026
|
-
[x: string]: unknown;
|
|
6027
|
-
}, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6028
|
-
[x: string]: unknown;
|
|
6029
|
-
}, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
|
|
6030
|
-
[x: string]: unknown;
|
|
6031
|
-
}, 500, "application/json">>>;
|
|
6032
6032
|
};
|
|
6033
6033
|
/** The mail API allows you to manage your mail accounts. */
|
|
6034
6034
|
readonly mail: {
|
|
@@ -6789,7 +6789,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6789
6789
|
blacklist: string[];
|
|
6790
6790
|
};
|
|
6791
6791
|
projectId: string;
|
|
6792
|
-
|
|
6792
|
+
mailSetting: "blacklist" | "whitelist";
|
|
6793
6793
|
headers?: {
|
|
6794
6794
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6795
6795
|
"x-access-token"?: string | undefined;
|
|
@@ -6799,7 +6799,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6799
6799
|
whitelist: string[];
|
|
6800
6800
|
};
|
|
6801
6801
|
projectId: string;
|
|
6802
|
-
|
|
6802
|
+
mailSetting: "blacklist" | "whitelist";
|
|
6803
6803
|
headers?: {
|
|
6804
6804
|
[x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
|
|
6805
6805
|
"x-access-token"?: string | undefined;
|
|
@@ -6815,7 +6815,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
6815
6815
|
}) & {
|
|
6816
6816
|
pathParameters: {
|
|
6817
6817
|
projectId: string;
|
|
6818
|
-
|
|
6818
|
+
mailSetting: "blacklist" | "whitelist";
|
|
6819
6819
|
};
|
|
6820
6820
|
} & {
|
|
6821
6821
|
headers?: Partial<{
|