@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
|
@@ -341,6 +341,8 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
341
341
|
deleteDomain: this.requestFunctionFactory(descriptors.domainDeleteDomain),
|
|
342
342
|
/** Get a DomainOwnership. */
|
|
343
343
|
getDomainOwnership: this.requestFunctionFactory(descriptors.domainGetDomainOwnership),
|
|
344
|
+
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
345
|
+
getLatestScreenshot: this.requestFunctionFactory(descriptors.domainGetLatestScreenshot),
|
|
344
346
|
/** List the DomainOwnerships of a project. */
|
|
345
347
|
listDomainOwnerships: this.requestFunctionFactory(descriptors.domainListDomainOwnerships),
|
|
346
348
|
/** List Domains belonging to a Project. */
|
|
@@ -373,8 +375,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
|
|
|
373
375
|
ingressRequestIngressAcmeCertificateIssuance: this.requestFunctionFactory(descriptors.ingressRequestIngressAcmeCertificateIssuance),
|
|
374
376
|
/** Update the tls settings of an Ingress. */
|
|
375
377
|
ingressUpdateIngressTls: this.requestFunctionFactory(descriptors.ingressUpdateIngressTls),
|
|
376
|
-
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
377
|
-
getLatestScreenshot: this.requestFunctionFactory(descriptors.domainGetLatestScreenshot),
|
|
378
378
|
};
|
|
379
379
|
/** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
|
|
380
380
|
file = {
|
|
@@ -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 Token's upload rules. */
|
|
386
|
-
getFileTokenRules: this.requestFunctionFactory(descriptors.fileGetFileTokenRules),
|
|
387
|
-
/** Get a Type's upload rules. */
|
|
388
|
-
getFileTypeRules: this.requestFunctionFactory(descriptors.fileGetFileTypeRules),
|
|
389
385
|
/** Get a File. */
|
|
390
386
|
getFile: this.requestFunctionFactory(descriptors.fileGetFile),
|
|
387
|
+
/** Get a FileUploadToken's rules. */
|
|
388
|
+
getFileUploadTokenRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTokenRules),
|
|
389
|
+
/** Get a FileUploadType's rules. */
|
|
390
|
+
getFileUploadTypeRules: this.requestFunctionFactory(descriptors.fileGetFileUploadTypeRules),
|
|
391
391
|
};
|
|
392
392
|
/** The mail API allows you to manage your mail accounts. */
|
|
393
393
|
mail = {
|
|
@@ -277,6 +277,8 @@ export declare const domainGetDomain: OpenAPIOperation<RequestType<Simplify<null
|
|
|
277
277
|
export declare const domainDeleteDomain: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainId.Delete.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
278
278
|
/** Get a DomainOwnership. */
|
|
279
279
|
export declare const domainGetDomainOwnership: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainOwnershipsDomainOwnershipId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
280
|
+
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
281
|
+
export declare const domainGetLatestScreenshot: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdLatestScreenshot.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
280
282
|
/** List the DomainOwnerships of a project. */
|
|
281
283
|
export declare const domainListDomainOwnerships: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdDomainOwnerships.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
282
284
|
/** List Domains belonging to a Project. */
|
|
@@ -299,10 +301,6 @@ export declare const domainVerifyDomainOwnership: OpenAPIOperation<RequestType<S
|
|
|
299
301
|
export declare const fileCreateFile: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Files.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Files.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
300
302
|
/** Get a File's meta. */
|
|
301
303
|
export declare const fileGetFileMeta: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileIdMeta.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
302
|
-
/** Get a Token's upload rules. */
|
|
303
|
-
export declare const fileGetFileTokenRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTokenRulesToken.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
304
|
-
/** Get a Type's upload rules. */
|
|
305
|
-
export declare const fileGetFileTypeRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileTypeRulesName.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
306
304
|
/** Get a File. */
|
|
307
305
|
export declare const fileGetFile: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.ApplicationOctetStream>, 200, "application/octet-stream"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.Base64>, 200, "base64"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$200.Content.Ocr>, 200, "ocr"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FilesFileId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
308
306
|
/** List Ingresses. */
|
|
@@ -364,7 +362,7 @@ export declare const mailUpdateMailAddressQuota: OpenAPIOperation<RequestType<Si
|
|
|
364
362
|
/** Update the spam protection of a MailAddress. */
|
|
365
363
|
export declare const mailUpdateMailAddressSpamProtection: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2MailAddressesMailAddressIdSpamProtection.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
366
364
|
/** Update a mail setting of a Project. */
|
|
367
|
-
export declare const mailUpdateProjectMailSetting: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.
|
|
365
|
+
export declare const mailUpdateProjectMailSetting: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.$503.Content.ApplicationJson>, 503, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ProjectsProjectIdMailSettingsMailSetting.Patch.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
368
366
|
/** Getting the subscription status of the subscription. */
|
|
369
367
|
export declare const newsletterGetInfo: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2NewsletterSubscriptionsSelf.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
370
368
|
/** Unsubscribe a user from the mStudio newsletter. */
|
|
@@ -585,5 +583,7 @@ export declare const userVerifyEmail: OpenAPIOperation<RequestType<Simplify<Mitt
|
|
|
585
583
|
export declare const userVerifyPhoneNumber: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdPhoneVerify.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
586
584
|
/** Verify your registration. */
|
|
587
585
|
export declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
588
|
-
/** Get
|
|
589
|
-
export declare const
|
|
586
|
+
/** Get a FileUploadToken's rules. */
|
|
587
|
+
export declare const fileGetFileUploadTokenRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTokensFileUploadTokenRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
588
|
+
/** Get a FileUploadType's rules. */
|
|
589
|
+
export declare const fileGetFileUploadTypeRules: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2FileUploadTypesFileUploadTypeRules.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
|
|
@@ -820,6 +820,12 @@ export const domainGetDomainOwnership = {
|
|
|
820
820
|
method: "GET",
|
|
821
821
|
operationId: "domain-get-domain-ownership",
|
|
822
822
|
};
|
|
823
|
+
/** Get the latest screenshot's FileReference belonging to a Domain. */
|
|
824
|
+
export const domainGetLatestScreenshot = {
|
|
825
|
+
path: "/v2/domains/{domainId}/latest-screenshot",
|
|
826
|
+
method: "GET",
|
|
827
|
+
operationId: "domain-get-latest-screenshot",
|
|
828
|
+
};
|
|
823
829
|
/** List the DomainOwnerships of a project. */
|
|
824
830
|
export const domainListDomainOwnerships = {
|
|
825
831
|
path: "/v2/projects/{projectId}/domain-ownerships",
|
|
@@ -886,18 +892,6 @@ export const fileGetFileMeta = {
|
|
|
886
892
|
method: "GET",
|
|
887
893
|
operationId: "file-get-file-meta",
|
|
888
894
|
};
|
|
889
|
-
/** Get a Token's upload rules. */
|
|
890
|
-
export const fileGetFileTokenRules = {
|
|
891
|
-
path: "/v2/file-token-rules/{token}",
|
|
892
|
-
method: "GET",
|
|
893
|
-
operationId: "file-get-file-token-rules",
|
|
894
|
-
};
|
|
895
|
-
/** Get a Type's upload rules. */
|
|
896
|
-
export const fileGetFileTypeRules = {
|
|
897
|
-
path: "/v2/file-type-rules/{name}",
|
|
898
|
-
method: "GET",
|
|
899
|
-
operationId: "file-get-file-type-rules",
|
|
900
|
-
};
|
|
901
895
|
/** Get a File. */
|
|
902
896
|
export const fileGetFile = {
|
|
903
897
|
path: "/v2/files/{fileId}",
|
|
@@ -1080,7 +1074,7 @@ export const mailUpdateMailAddressSpamProtection = {
|
|
|
1080
1074
|
};
|
|
1081
1075
|
/** Update a mail setting of a Project. */
|
|
1082
1076
|
export const mailUpdateProjectMailSetting = {
|
|
1083
|
-
path: "/v2/projects/{projectId}/mail-settings/{
|
|
1077
|
+
path: "/v2/projects/{projectId}/mail-settings/{mailSetting}",
|
|
1084
1078
|
method: "PATCH",
|
|
1085
1079
|
operationId: "mail-update-project-mail-setting",
|
|
1086
1080
|
};
|
|
@@ -1744,9 +1738,15 @@ export const userVerifyRegistration = {
|
|
|
1744
1738
|
method: "POST",
|
|
1745
1739
|
operationId: "user-verify-registration",
|
|
1746
1740
|
};
|
|
1747
|
-
/** Get
|
|
1748
|
-
export const
|
|
1749
|
-
path: "/v2/
|
|
1741
|
+
/** Get a FileUploadToken's rules. */
|
|
1742
|
+
export const fileGetFileUploadTokenRules = {
|
|
1743
|
+
path: "/v2/file-upload-tokens/{fileUploadToken}/rules",
|
|
1750
1744
|
method: "GET",
|
|
1751
|
-
operationId: "
|
|
1745
|
+
operationId: "file-get-file-upload-token-rules",
|
|
1746
|
+
};
|
|
1747
|
+
/** Get a FileUploadType's rules. */
|
|
1748
|
+
export const fileGetFileUploadTypeRules = {
|
|
1749
|
+
path: "/v2/file-upload-types/{fileUploadType}/rules",
|
|
1750
|
+
method: "GET",
|
|
1751
|
+
operationId: "file-get-file-upload-type-rules",
|
|
1752
1752
|
};
|
|
@@ -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
|
}
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const MittwaldAPIClientVersion = '3.1.
|
|
1
|
+
export declare const MittwaldAPIClientVersion = '3.1.14';
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const MittwaldAPIClientVersion = '3.1.
|
|
1
|
+
export const MittwaldAPIClientVersion = '3.1.14';
|