@mittwald/api-client 4.269.0 → 4.271.0

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.
@@ -842,6 +842,14 @@ export declare namespace MittwaldAPIV2 {
842
842
  type RequestData = InferredRequestData<typeof descriptors.extensionCancelExtensionTermination>;
843
843
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionCancelExtensionTermination, TStatus>;
844
844
  }
845
+ namespace ExtensionScheduleExtensionVariantChange {
846
+ type RequestData = InferredRequestData<typeof descriptors.extensionScheduleExtensionVariantChange>;
847
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionScheduleExtensionVariantChange, TStatus>;
848
+ }
849
+ namespace ExtensionCancelExtensionVariantChange {
850
+ type RequestData = InferredRequestData<typeof descriptors.extensionCancelExtensionVariantChange>;
851
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionCancelExtensionVariantChange, TStatus>;
852
+ }
845
853
  namespace ExtensionChangeContext {
846
854
  type RequestData = InferredRequestData<typeof descriptors.extensionChangeContext>;
847
855
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionChangeContext, TStatus>;
@@ -1470,6 +1478,42 @@ export declare namespace MittwaldAPIV2 {
1470
1478
  type RequestData = InferredRequestData<typeof descriptors.sshUserUpdateSshUser>;
1471
1479
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sshUserUpdateSshUser, TStatus>;
1472
1480
  }
1481
+ namespace SslCheckReplaceCertificate {
1482
+ type RequestData = InferredRequestData<typeof descriptors.sslCheckReplaceCertificate>;
1483
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslCheckReplaceCertificate, TStatus>;
1484
+ }
1485
+ namespace SslListCertificateRequests {
1486
+ type RequestData = InferredRequestData<typeof descriptors.sslListCertificateRequests>;
1487
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslListCertificateRequests, TStatus>;
1488
+ }
1489
+ namespace SslCreateCertificateRequest {
1490
+ type RequestData = InferredRequestData<typeof descriptors.sslCreateCertificateRequest>;
1491
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslCreateCertificateRequest, TStatus>;
1492
+ }
1493
+ namespace SslDeleteCertificateRequest {
1494
+ type RequestData = InferredRequestData<typeof descriptors.sslDeleteCertificateRequest>;
1495
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslDeleteCertificateRequest, TStatus>;
1496
+ }
1497
+ namespace SslDeleteCertificate {
1498
+ type RequestData = InferredRequestData<typeof descriptors.sslDeleteCertificate>;
1499
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslDeleteCertificate, TStatus>;
1500
+ }
1501
+ namespace SslGetCertificateRequest {
1502
+ type RequestData = InferredRequestData<typeof descriptors.sslGetCertificateRequest>;
1503
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslGetCertificateRequest, TStatus>;
1504
+ }
1505
+ namespace SslGetCertificate {
1506
+ type RequestData = InferredRequestData<typeof descriptors.sslGetCertificate>;
1507
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslGetCertificate, TStatus>;
1508
+ }
1509
+ namespace SslReplaceCertificate {
1510
+ type RequestData = InferredRequestData<typeof descriptors.sslReplaceCertificate>;
1511
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslReplaceCertificate, TStatus>;
1512
+ }
1513
+ namespace SslListCertificates {
1514
+ type RequestData = InferredRequestData<typeof descriptors.sslListCertificates>;
1515
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslListCertificates, TStatus>;
1516
+ }
1473
1517
  namespace StoragespaceGetProjectStatistics {
1474
1518
  type RequestData = InferredRequestData<typeof descriptors.storagespaceGetProjectStatistics>;
1475
1519
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceGetProjectStatistics, TStatus>;
@@ -1706,57 +1750,9 @@ export declare namespace MittwaldAPIV2 {
1706
1750
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1707
1751
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1708
1752
  }
1709
- namespace SslCheckReplaceCertificate {
1710
- type RequestData = InferredRequestData<typeof descriptors.sslCheckReplaceCertificate>;
1711
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslCheckReplaceCertificate, TStatus>;
1712
- }
1713
- namespace SslGetCertificate {
1714
- type RequestData = InferredRequestData<typeof descriptors.sslGetCertificate>;
1715
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslGetCertificate, TStatus>;
1716
- }
1717
- namespace SslReplaceCertificate {
1718
- type RequestData = InferredRequestData<typeof descriptors.sslReplaceCertificate>;
1719
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslReplaceCertificate, TStatus>;
1720
- }
1721
- namespace SslListCertificateRequests {
1722
- type RequestData = InferredRequestData<typeof descriptors.sslListCertificateRequests>;
1723
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslListCertificateRequests, TStatus>;
1724
- }
1725
- namespace SslCreateCertificateRequest {
1726
- type RequestData = InferredRequestData<typeof descriptors.sslCreateCertificateRequest>;
1727
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslCreateCertificateRequest, TStatus>;
1728
- }
1729
- namespace SslGetCertificateRequest {
1730
- type RequestData = InferredRequestData<typeof descriptors.sslGetCertificateRequest>;
1731
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslGetCertificateRequest, TStatus>;
1732
- }
1733
- namespace SslListCertificates {
1734
- type RequestData = InferredRequestData<typeof descriptors.sslListCertificates>;
1735
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslListCertificates, TStatus>;
1736
- }
1737
- namespace SslDeleteCertificateRequest {
1738
- type RequestData = InferredRequestData<typeof descriptors.sslDeleteCertificateRequest>;
1739
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslDeleteCertificateRequest, TStatus>;
1740
- }
1741
- namespace SslDeleteCertificate {
1742
- type RequestData = InferredRequestData<typeof descriptors.sslDeleteCertificate>;
1743
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslDeleteCertificate, TStatus>;
1744
- }
1745
- namespace ContributorRejectContributorInternal {
1746
- type RequestData = InferredRequestData<typeof descriptors.contributorRejectContributorInternal>;
1747
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorRejectContributorInternal, TStatus>;
1748
- }
1749
- namespace ContributorVerifyContributorInternal {
1750
- type RequestData = InferredRequestData<typeof descriptors.contributorVerifyContributorInternal>;
1751
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.contributorVerifyContributorInternal, TStatus>;
1752
- }
1753
- namespace ExtensionScheduleExtensionVariantChange {
1754
- type RequestData = InferredRequestData<typeof descriptors.extensionScheduleExtensionVariantChange>;
1755
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionScheduleExtensionVariantChange, TStatus>;
1756
- }
1757
- namespace ExtensionCancelExtensionVariantChange {
1758
- type RequestData = InferredRequestData<typeof descriptors.extensionCancelExtensionVariantChange>;
1759
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.extensionCancelExtensionVariantChange, TStatus>;
1753
+ namespace MailListMailAddressesForUser {
1754
+ type RequestData = InferredRequestData<typeof descriptors.mailListMailAddressesForUser>;
1755
+ type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.mailListMailAddressesForUser, TStatus>;
1760
1756
  }
1761
1757
  }
1762
1758
  namespace Components {
@@ -5169,6 +5165,101 @@ export declare namespace MittwaldAPIV2 {
5169
5165
  updatedAt?: string;
5170
5166
  userName: string;
5171
5167
  }
5168
+ interface SslCertificate {
5169
+ caBundle?: string;
5170
+ certificate: string;
5171
+ certificateOrderId?: string;
5172
+ certificateRequestId: string;
5173
+ certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
5174
+ commonName?: string;
5175
+ contact?: MittwaldAPIV2.Components.Schemas.SslContact;
5176
+ dnsNames?: string[];
5177
+ id: string;
5178
+ isExpired: boolean;
5179
+ issuer?: string;
5180
+ lastExpirationThresholdHit: number;
5181
+ projectId: string;
5182
+ validFrom: string;
5183
+ validTo: string;
5184
+ }
5185
+ interface SslCertificateData {
5186
+ caBundle?: string;
5187
+ certificate?: string;
5188
+ signingRequest?: string;
5189
+ }
5190
+ interface SslCertificateError {
5191
+ message: "certificate_read_failed" | "certificate_decode_failed" | "certificate_parsing_failed" | "certificate_self_signed" | "certificate_not_authorized_to_sign" | "certificate_expired" | "ca_not_authorized_for_this_name" | "too_many_intermediates" | "incompatible_usage" | "unknown_authority" | "private_key_read_failed" | "private_key_decode_failed" | "private_key_parse_failed" | "private_key_encrypted" | "private_key_not_rsa" | "private_key_mismatch" | "unknown_cloudflare_error" | "unknown";
5192
+ }
5193
+ interface SslCertificateRequest {
5194
+ certificateData: MittwaldAPIV2.Components.Schemas.SslCertificateData;
5195
+ certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
5196
+ commonName?: string;
5197
+ contact?: MittwaldAPIV2.Components.Schemas.SslContact;
5198
+ createdAt: string;
5199
+ dnsNames?: string[];
5200
+ id: string;
5201
+ isCompleted: boolean;
5202
+ issuer?: string;
5203
+ projectId: string;
5204
+ validFrom?: string;
5205
+ validTo?: string;
5206
+ }
5207
+ interface SslCertificateRequestCreateRequest {
5208
+ certificate: string;
5209
+ privateKey: string;
5210
+ projectId: string;
5211
+ }
5212
+ interface SslCertificateRequestCreateResponse {
5213
+ commonName?: string;
5214
+ contact: MittwaldAPIV2.Components.Schemas.SslContact;
5215
+ dnsNames?: string[];
5216
+ id: string;
5217
+ issuer?: string;
5218
+ signingRequest?: string;
5219
+ validFrom?: string;
5220
+ validTo?: string;
5221
+ }
5222
+ interface SslCertificateRequestCreateWithCSRRequest {
5223
+ commonName: string;
5224
+ contact: MittwaldAPIV2.Components.Schemas.SslContact;
5225
+ projectId: string;
5226
+ }
5227
+ type SslCertificateType = 0 | 1 | 2;
5228
+ interface SslCheckReplaceChanges {
5229
+ commonName?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
5230
+ dnsNames?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceSliceChange;
5231
+ issuer?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
5232
+ validFrom?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
5233
+ validTo?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
5234
+ }
5235
+ interface SslCheckReplaceDateChange {
5236
+ newValue: string;
5237
+ oldValue: string;
5238
+ }
5239
+ interface SslCheckReplaceFieldChange {
5240
+ newValue: string;
5241
+ oldValue: string;
5242
+ }
5243
+ interface SslCheckReplaceCertificateResponse {
5244
+ changes?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceChanges;
5245
+ errors?: MittwaldAPIV2.Components.Schemas.SslCertificateError[];
5246
+ isReplaceable: boolean;
5247
+ }
5248
+ interface SslCheckReplaceSliceChange {
5249
+ addedValues: string[];
5250
+ removedValues: string[];
5251
+ values: string[];
5252
+ }
5253
+ interface SslContact {
5254
+ city?: string;
5255
+ company?: string;
5256
+ /**
5257
+ * Two letter abbreviation - country code (ISO 3166-1 Alpha-2).
5258
+ */
5259
+ country?: string;
5260
+ organizationalUnit?: string;
5261
+ state?: string;
5262
+ }
5172
5263
  type StoragespaceStatisticsCategoryKind = "webspace" | "projectBackup" | "mailAddress" | "mysqlDatabase" | "redisDatabase" | "containerVolume";
5173
5264
  interface StoragespaceStatisticsCategory {
5174
5265
  kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategoryKind;
@@ -5437,140 +5528,45 @@ export declare namespace MittwaldAPIV2 {
5437
5528
  }
5438
5529
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
5439
5530
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
5440
- interface SslCheckReplaceDateChange {
5441
- newValue: string;
5442
- oldValue: string;
5443
- }
5444
- interface SslContact {
5445
- city?: string;
5446
- company?: string;
5531
+ interface CommonsAddress {
5532
+ street: string;
5533
+ houseNumber: string;
5534
+ city: string;
5535
+ zip: string;
5447
5536
  /**
5448
- * Two letter abbreviation - country code (ISO 3166-1 Alpha-2).
5537
+ * ISO 3166-1 alpha-2 country code
5449
5538
  */
5450
- country?: string;
5451
- organizationalUnit?: string;
5452
- state?: string;
5453
- }
5454
- type SslCertificateType = 0 | 1 | 2;
5455
- interface SslCertificateRequestCreateResponse {
5456
- commonName?: string;
5457
- contact: MittwaldAPIV2.Components.Schemas.SslContact;
5458
- dnsNames?: string[];
5459
- id: string;
5460
- issuer?: string;
5461
- signingRequest?: string;
5462
- validFrom?: string;
5463
- validTo?: string;
5539
+ countryCode: string;
5540
+ addressPrefix?: string;
5464
5541
  }
5465
- interface SslCertificateData {
5466
- caBundle?: string;
5467
- certificate?: string;
5468
- signingRequest?: string;
5542
+ interface CommonsContact {
5543
+ firstName?: string;
5544
+ lastName?: string;
5545
+ title?: string;
5546
+ salutation: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
5547
+ company?: string;
5548
+ address: MittwaldAPIV2.Components.Schemas.CommonsAddress;
5549
+ emailAddress?: string;
5550
+ phoneNumbers?: string[];
5551
+ useFormalTerm?: boolean;
5469
5552
  }
5470
- interface SslCheckReplaceCertificateResponse {
5471
- changes?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceChanges;
5472
- errors?: MittwaldAPIV2.Components.Schemas.SslCertificateError[];
5473
- isReplaceable: boolean;
5553
+ interface CommonsError {
5554
+ message: string;
5555
+ type: string;
5474
5556
  }
5475
- interface SslCheckReplaceSliceChange {
5476
- addedValues: string[];
5477
- removedValues: string[];
5478
- values: string[];
5479
- }
5480
- interface SslCheckReplaceChanges {
5481
- commonName?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
5482
- dnsNames?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceSliceChange;
5483
- issuer?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
5484
- validFrom?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
5485
- validTo?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
5486
- }
5487
- interface SslCertificateRequestCreateRequest {
5488
- certificate: string;
5489
- privateKey: string;
5490
- projectId: string;
5491
- }
5492
- interface SslCertificateRequest {
5493
- certificateData: MittwaldAPIV2.Components.Schemas.SslCertificateData;
5494
- certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
5495
- commonName?: string;
5496
- contact?: MittwaldAPIV2.Components.Schemas.SslContact;
5497
- createdAt: string;
5498
- dnsNames?: string[];
5499
- id: string;
5500
- isCompleted: boolean;
5501
- issuer?: string;
5502
- projectId: string;
5503
- validFrom?: string;
5504
- validTo?: string;
5505
- }
5506
- interface SslCertificateRequestCreateWithCSRRequest {
5507
- commonName: string;
5508
- contact: MittwaldAPIV2.Components.Schemas.SslContact;
5509
- projectId: string;
5510
- }
5511
- interface SslCheckReplaceFieldChange {
5512
- newValue: string;
5513
- oldValue: string;
5514
- }
5515
- interface SslCertificate {
5516
- caBundle?: string;
5517
- certificate: string;
5518
- certificateOrderId?: string;
5519
- certificateRequestId: string;
5520
- certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
5521
- commonName?: string;
5522
- contact?: MittwaldAPIV2.Components.Schemas.SslContact;
5523
- dnsNames?: string[];
5524
- id: string;
5525
- isExpired: boolean;
5526
- issuer?: string;
5527
- lastExpirationThresholdHit: number;
5528
- projectId: string;
5529
- validFrom: string;
5530
- validTo: string;
5531
- }
5532
- interface SslCertificateError {
5533
- message: "certificate_read_failed" | "certificate_decode_failed" | "certificate_parsing_failed" | "certificate_self_signed" | "certificate_not_authorized_to_sign" | "certificate_expired" | "ca_not_authorized_for_this_name" | "too_many_intermediates" | "incompatible_usage" | "unknown_authority" | "private_key_read_failed" | "private_key_decode_failed" | "private_key_parse_failed" | "private_key_encrypted" | "private_key_not_rsa" | "private_key_mismatch" | "unknown_cloudflare_error" | "unknown";
5534
- }
5535
- interface CommonsAddress {
5536
- street: string;
5537
- houseNumber: string;
5538
- city: string;
5539
- zip: string;
5540
- /**
5541
- * ISO 3166-1 alpha-2 country code
5542
- */
5543
- countryCode: string;
5544
- addressPrefix?: string;
5545
- }
5546
- interface CommonsContact {
5547
- firstName?: string;
5548
- lastName?: string;
5549
- title?: string;
5550
- salutation: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
5551
- company?: string;
5552
- address: MittwaldAPIV2.Components.Schemas.CommonsAddress;
5553
- emailAddress?: string;
5554
- phoneNumbers?: string[];
5555
- useFormalTerm?: boolean;
5556
- }
5557
- interface CommonsError {
5558
- message: string;
5559
- type: string;
5560
- }
5561
- /**
5562
- * The users personal information, e.g. first name.
5563
- */
5564
- interface CommonsPerson {
5565
- /**
5566
- * The users first name
5567
- */
5568
- firstName: string;
5569
- /**
5570
- * The users last name
5571
- */
5572
- lastName: string;
5573
- title?: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
5557
+ /**
5558
+ * The users personal information, e.g. first name.
5559
+ */
5560
+ interface CommonsPerson {
5561
+ /**
5562
+ * The users first name
5563
+ */
5564
+ firstName: string;
5565
+ /**
5566
+ * The users last name
5567
+ */
5568
+ lastName: string;
5569
+ title?: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
5574
5570
  }
5575
5571
  type CommonsSalutation = "mr" | "ms" | "other";
5576
5572
  interface CommonsValidationErrorSchema {
@@ -5653,6 +5649,9 @@ export declare namespace MittwaldAPIV2 {
5653
5649
  interface ApplicationJson {
5654
5650
  }
5655
5651
  }
5652
+ namespace SslValidationError {
5653
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateError;
5654
+ }
5656
5655
  namespace SignupInternalServerError {
5657
5656
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
5658
5657
  name?: "InternalServerError";
@@ -5681,9 +5680,6 @@ export declare namespace MittwaldAPIV2 {
5681
5680
  name: "SecondFactorRequired";
5682
5681
  };
5683
5682
  }
5684
- namespace SslValidationError {
5685
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateError;
5686
- }
5687
5683
  namespace CommonsDefaultError {
5688
5684
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
5689
5685
  }
@@ -16297,6 +16293,115 @@ export declare namespace MittwaldAPIV2 {
16297
16293
  }
16298
16294
  }
16299
16295
  }
16296
+ namespace V2ExtensionInstancesExtensionInstanceIdContractVariantChange {
16297
+ namespace Post {
16298
+ namespace Parameters {
16299
+ type Path = {
16300
+ extensionInstanceId: string;
16301
+ };
16302
+ interface RequestBody {
16303
+ /**
16304
+ * The target variant key to change to.
16305
+ */
16306
+ targetVariantKey?: string;
16307
+ }
16308
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
16309
+ type Query = {};
16310
+ }
16311
+ namespace Responses {
16312
+ namespace $201 {
16313
+ namespace Content {
16314
+ interface ApplicationJson {
16315
+ /**
16316
+ * The Date the variant change will be executed.
16317
+ */
16318
+ effectiveDate?: string;
16319
+ /**
16320
+ * The ID of the Extension Instance the variant change was scheduled for.
16321
+ */
16322
+ extensionInstanceId?: string;
16323
+ }
16324
+ }
16325
+ }
16326
+ namespace $400 {
16327
+ namespace Content {
16328
+ interface ApplicationJson {
16329
+ [k: string]: unknown;
16330
+ }
16331
+ }
16332
+ }
16333
+ namespace $404 {
16334
+ namespace Content {
16335
+ interface ApplicationJson {
16336
+ [k: string]: unknown;
16337
+ }
16338
+ }
16339
+ }
16340
+ namespace $429 {
16341
+ namespace Content {
16342
+ interface ApplicationJson {
16343
+ [k: string]: unknown;
16344
+ }
16345
+ }
16346
+ }
16347
+ namespace Default {
16348
+ namespace Content {
16349
+ interface ApplicationJson {
16350
+ [k: string]: unknown;
16351
+ }
16352
+ }
16353
+ }
16354
+ }
16355
+ }
16356
+ namespace Delete {
16357
+ namespace Parameters {
16358
+ type Path = {
16359
+ extensionInstanceId: string;
16360
+ };
16361
+ interface RequestBody {
16362
+ }
16363
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
16364
+ type Query = {};
16365
+ }
16366
+ namespace Responses {
16367
+ namespace $200 {
16368
+ namespace Content {
16369
+ interface ApplicationJson {
16370
+ extensionInstanceId: string;
16371
+ }
16372
+ }
16373
+ }
16374
+ namespace $400 {
16375
+ namespace Content {
16376
+ interface ApplicationJson {
16377
+ [k: string]: unknown;
16378
+ }
16379
+ }
16380
+ }
16381
+ namespace $404 {
16382
+ namespace Content {
16383
+ interface ApplicationJson {
16384
+ [k: string]: unknown;
16385
+ }
16386
+ }
16387
+ }
16388
+ namespace $429 {
16389
+ namespace Content {
16390
+ interface ApplicationJson {
16391
+ [k: string]: unknown;
16392
+ }
16393
+ }
16394
+ }
16395
+ namespace Default {
16396
+ namespace Content {
16397
+ interface ApplicationJson {
16398
+ [k: string]: unknown;
16399
+ }
16400
+ }
16401
+ }
16402
+ }
16403
+ }
16404
+ }
16300
16405
  namespace V2ContributorsContributorIdExtensionsExtensionIdContext {
16301
16406
  namespace Put {
16302
16407
  namespace Parameters {
@@ -24647,33 +24752,23 @@ export declare namespace MittwaldAPIV2 {
24647
24752
  }
24648
24753
  }
24649
24754
  namespace V2SshusersSshUserId { }
24650
- namespace V2ProjectsProjectIdStorageSpaceStatistics {
24651
- namespace Get {
24755
+ namespace V2CertificatesCertificateIdActionsCheckReplaceCertificate {
24756
+ namespace Post {
24652
24757
  namespace Parameters {
24653
24758
  type Path = {
24654
- projectId: string;
24759
+ certificateId: string;
24655
24760
  };
24761
+ interface RequestBody {
24762
+ certificate: string;
24763
+ privateKey?: string;
24764
+ }
24656
24765
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24657
24766
  type Query = {};
24658
24767
  }
24659
24768
  namespace Responses {
24660
24769
  namespace $200 {
24661
24770
  namespace Content {
24662
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
24663
- }
24664
- }
24665
- namespace $400 {
24666
- namespace Content {
24667
- interface ApplicationJson {
24668
- [k: string]: unknown;
24669
- }
24670
- }
24671
- }
24672
- namespace $403 {
24673
- namespace Content {
24674
- interface ApplicationJson {
24675
- [k: string]: unknown;
24676
- }
24771
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCheckReplaceCertificateResponse;
24677
24772
  }
24678
24773
  }
24679
24774
  namespace $404 {
@@ -24690,13 +24785,6 @@ export declare namespace MittwaldAPIV2 {
24690
24785
  }
24691
24786
  }
24692
24787
  }
24693
- namespace $500 {
24694
- namespace Content {
24695
- interface ApplicationJson {
24696
- [k: string]: unknown;
24697
- }
24698
- }
24699
- }
24700
24788
  namespace Default {
24701
24789
  namespace Content {
24702
24790
  interface ApplicationJson {
@@ -24707,50 +24795,30 @@ export declare namespace MittwaldAPIV2 {
24707
24795
  }
24708
24796
  }
24709
24797
  }
24710
- namespace V2ServersServerIdStorageSpaceStatistics {
24798
+ namespace V2CertificateRequests {
24711
24799
  namespace Get {
24712
24800
  namespace Parameters {
24713
- type Path = {
24714
- serverId: string;
24715
- };
24801
+ type Path = {};
24716
24802
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24717
- type Query = {};
24803
+ type Query = {
24804
+ projectId?: string;
24805
+ ingressId?: string;
24806
+ };
24718
24807
  }
24719
24808
  namespace Responses {
24720
24809
  namespace $200 {
24721
24810
  namespace Content {
24722
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
24811
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest[];
24723
24812
  }
24724
24813
  }
24725
- namespace $400 {
24814
+ namespace $404 {
24726
24815
  namespace Content {
24727
24816
  interface ApplicationJson {
24728
24817
  [k: string]: unknown;
24729
24818
  }
24730
24819
  }
24731
24820
  }
24732
- namespace $403 {
24733
- namespace Content {
24734
- interface ApplicationJson {
24735
- [k: string]: unknown;
24736
- }
24737
- }
24738
- }
24739
- namespace $404 {
24740
- namespace Content {
24741
- interface ApplicationJson {
24742
- [k: string]: unknown;
24743
- }
24744
- }
24745
- }
24746
- namespace $429 {
24747
- namespace Content {
24748
- interface ApplicationJson {
24749
- [k: string]: unknown;
24750
- }
24751
- }
24752
- }
24753
- namespace $500 {
24821
+ namespace $429 {
24754
24822
  namespace Content {
24755
24823
  interface ApplicationJson {
24756
24824
  [k: string]: unknown;
@@ -24766,40 +24834,34 @@ export declare namespace MittwaldAPIV2 {
24766
24834
  }
24767
24835
  }
24768
24836
  }
24769
- }
24770
- namespace V2ProjectsProjectIdStorageSpaceNotificationThreshold {
24771
- namespace Put {
24837
+ namespace Post {
24772
24838
  namespace Parameters {
24773
- type Path = {
24774
- projectId: string;
24775
- };
24776
- interface RequestBody {
24777
- notificationThresholdInBytes?: number;
24778
- }
24839
+ type Path = {};
24840
+ type RequestBody = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateRequest | MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateWithCSRRequest;
24779
24841
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24780
24842
  type Query = {};
24781
24843
  }
24782
24844
  namespace Responses {
24783
- namespace $204 {
24845
+ namespace $201 {
24784
24846
  namespace Content {
24785
- type Empty = unknown;
24847
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateResponse;
24786
24848
  }
24787
24849
  }
24788
- namespace $403 {
24850
+ namespace $400 {
24789
24851
  namespace Content {
24790
24852
  interface ApplicationJson {
24791
24853
  [k: string]: unknown;
24792
24854
  }
24793
24855
  }
24794
24856
  }
24795
- namespace $429 {
24857
+ namespace $404 {
24796
24858
  namespace Content {
24797
24859
  interface ApplicationJson {
24798
24860
  [k: string]: unknown;
24799
24861
  }
24800
24862
  }
24801
24863
  }
24802
- namespace $500 {
24864
+ namespace $429 {
24803
24865
  namespace Content {
24804
24866
  interface ApplicationJson {
24805
24867
  [k: string]: unknown;
@@ -24816,15 +24878,12 @@ export declare namespace MittwaldAPIV2 {
24816
24878
  }
24817
24879
  }
24818
24880
  }
24819
- namespace V2ServersServerIdStorageSpaceNotificationThreshold {
24820
- namespace Put {
24881
+ namespace V2CertificateRequestCertificateRequestId {
24882
+ namespace Delete {
24821
24883
  namespace Parameters {
24822
24884
  type Path = {
24823
- serverId: string;
24885
+ certificateRequestId: string;
24824
24886
  };
24825
- interface RequestBody {
24826
- notificationThresholdInBytes?: number;
24827
- }
24828
24887
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24829
24888
  type Query = {};
24830
24889
  }
@@ -24834,7 +24893,7 @@ export declare namespace MittwaldAPIV2 {
24834
24893
  type Empty = unknown;
24835
24894
  }
24836
24895
  }
24837
- namespace $403 {
24896
+ namespace $404 {
24838
24897
  namespace Content {
24839
24898
  interface ApplicationJson {
24840
24899
  [k: string]: unknown;
@@ -24848,13 +24907,6 @@ export declare namespace MittwaldAPIV2 {
24848
24907
  }
24849
24908
  }
24850
24909
  }
24851
- namespace $500 {
24852
- namespace Content {
24853
- interface ApplicationJson {
24854
- [k: string]: unknown;
24855
- }
24856
- }
24857
- }
24858
24910
  namespace Default {
24859
24911
  namespace Content {
24860
24912
  interface ApplicationJson {
@@ -24865,15 +24917,12 @@ export declare namespace MittwaldAPIV2 {
24865
24917
  }
24866
24918
  }
24867
24919
  }
24868
- namespace V2UsersUserIdPhone {
24869
- namespace Post {
24920
+ namespace V2CertificateCertificateId {
24921
+ namespace Delete {
24870
24922
  namespace Parameters {
24871
24923
  type Path = {
24872
- userId: string;
24924
+ certificateId: string;
24873
24925
  };
24874
- interface RequestBody {
24875
- phoneNumber: string;
24876
- }
24877
24926
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24878
24927
  type Query = {};
24879
24928
  }
@@ -24883,14 +24932,7 @@ export declare namespace MittwaldAPIV2 {
24883
24932
  type Empty = unknown;
24884
24933
  }
24885
24934
  }
24886
- namespace $400 {
24887
- namespace Content {
24888
- interface ApplicationJson {
24889
- [k: string]: unknown;
24890
- }
24891
- }
24892
- }
24893
- namespace $409 {
24935
+ namespace $404 {
24894
24936
  namespace Content {
24895
24937
  interface ApplicationJson {
24896
24938
  [k: string]: unknown;
@@ -24913,28 +24955,23 @@ export declare namespace MittwaldAPIV2 {
24913
24955
  }
24914
24956
  }
24915
24957
  }
24916
- namespace Delete {
24958
+ }
24959
+ namespace V2CertificateRequestsCertificateRequestId {
24960
+ namespace Get {
24917
24961
  namespace Parameters {
24918
24962
  type Path = {
24919
- userId: string;
24963
+ certificateRequestId: string;
24920
24964
  };
24921
24965
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24922
24966
  type Query = {};
24923
24967
  }
24924
24968
  namespace Responses {
24925
- namespace $204 {
24926
- namespace Content {
24927
- type Empty = unknown;
24928
- }
24929
- }
24930
- namespace $400 {
24969
+ namespace $200 {
24931
24970
  namespace Content {
24932
- interface ApplicationJson {
24933
- [k: string]: unknown;
24934
- }
24971
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest;
24935
24972
  }
24936
24973
  }
24937
- namespace $412 {
24974
+ namespace $404 {
24938
24975
  namespace Content {
24939
24976
  interface ApplicationJson {
24940
24977
  [k: string]: unknown;
@@ -24958,57 +24995,26 @@ export declare namespace MittwaldAPIV2 {
24958
24995
  }
24959
24996
  }
24960
24997
  }
24961
- namespace V2SignupAuthenticationMfa { }
24962
- namespace V2AuthenticateMfa {
24963
- namespace Post {
24998
+ namespace V2CertificatesCertificateId {
24999
+ namespace Get {
24964
25000
  namespace Parameters {
24965
- type Path = {};
24966
- interface RequestBody {
24967
- /**
24968
- * The email of the user.
24969
- */
24970
- email: string;
24971
- /**
24972
- * The second factor - otp code or recovery code.
24973
- */
24974
- multiFactorCode: string;
24975
- /**
24976
- * The password of the user.
24977
- */
24978
- password: string;
24979
- }
24980
- type Header = {};
25001
+ type Path = {
25002
+ certificateId: string;
25003
+ };
25004
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24981
25005
  type Query = {};
24982
25006
  }
24983
25007
  namespace Responses {
24984
25008
  namespace $200 {
24985
25009
  namespace Content {
24986
- interface ApplicationJson {
24987
- /**
24988
- * The expiration date of the token.
24989
- */
24990
- expires: string;
24991
- /**
24992
- * Refresh token to refresh your access token even after it has expired.
24993
- */
24994
- refreshToken: string;
24995
- /**
24996
- * Public token to identify yourself against the api gateway.
24997
- */
24998
- token: string;
24999
- }
25000
- }
25001
- }
25002
- namespace $400 {
25003
- namespace Content {
25004
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25010
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate;
25005
25011
  }
25006
25012
  }
25007
- namespace $408 {
25013
+ namespace $404 {
25008
25014
  namespace Content {
25009
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
25010
- name?: "FirstAuthenticationFactorExpired";
25011
- };
25015
+ interface ApplicationJson {
25016
+ [k: string]: unknown;
25017
+ }
25012
25018
  }
25013
25019
  }
25014
25020
  namespace $429 {
@@ -25027,59 +25033,36 @@ export declare namespace MittwaldAPIV2 {
25027
25033
  }
25028
25034
  }
25029
25035
  }
25030
- }
25031
- namespace V2SignupAuthentication { }
25032
- namespace V2Authenticate {
25033
- namespace Post {
25036
+ namespace Put {
25034
25037
  namespace Parameters {
25035
- type Path = {};
25038
+ type Path = {
25039
+ certificateId: string;
25040
+ };
25036
25041
  interface RequestBody {
25037
- /**
25038
- * The users Email-Address.
25039
- */
25040
- email: string;
25041
- /**
25042
- * Password of the User.
25043
- */
25044
- password: string;
25042
+ certificate: string;
25043
+ privateKey?: string;
25045
25044
  }
25046
- type Header = {};
25045
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25047
25046
  type Query = {};
25048
25047
  }
25049
25048
  namespace Responses {
25050
- namespace $200 {
25049
+ namespace $204 {
25051
25050
  namespace Content {
25052
- interface ApplicationJson {
25053
- /**
25054
- * The expiration date of the token.
25055
- */
25056
- expires: string;
25057
- /**
25058
- * Refresh token to refresh your access token even after it has expired.
25059
- */
25060
- refreshToken: string;
25061
- /**
25062
- * Public token to identify yourself against the api gateway.
25063
- */
25064
- token: string;
25065
- }
25051
+ type Empty = unknown;
25066
25052
  }
25067
25053
  }
25068
- namespace $202 {
25054
+ namespace $400 {
25069
25055
  namespace Content {
25070
25056
  interface ApplicationJson {
25071
- name?: "SecondFactorRequired";
25057
+ [k: string]: unknown;
25072
25058
  }
25073
25059
  }
25074
25060
  }
25075
- namespace $400 {
25076
- namespace Content {
25077
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
25078
- }
25079
- }
25080
- namespace $401 {
25061
+ namespace $404 {
25081
25062
  namespace Content {
25082
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25063
+ interface ApplicationJson {
25064
+ [k: string]: unknown;
25065
+ }
25083
25066
  }
25084
25067
  }
25085
25068
  namespace $429 {
@@ -25099,37 +25082,23 @@ export declare namespace MittwaldAPIV2 {
25099
25082
  }
25100
25083
  }
25101
25084
  }
25102
- namespace V2AuthenticateTokenRetrievalKey {
25103
- namespace Post {
25085
+ namespace V2Certificates {
25086
+ namespace Get {
25104
25087
  namespace Parameters {
25105
25088
  type Path = {};
25106
- interface RequestBody {
25107
- accessTokenRetrievalKey: string;
25108
- userId: string;
25109
- }
25110
- type Header = {};
25111
- type Query = {};
25089
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25090
+ type Query = {
25091
+ projectId?: string;
25092
+ ingressId?: string;
25093
+ };
25112
25094
  }
25113
25095
  namespace Responses {
25114
25096
  namespace $200 {
25115
25097
  namespace Content {
25116
- interface ApplicationJson {
25117
- /**
25118
- * The expiration date of the token.
25119
- */
25120
- expiresAt: string;
25121
- /**
25122
- * Refresh token to refresh your access token even after it has expired.
25123
- */
25124
- refreshToken: string;
25125
- /**
25126
- * Public token to identify yourself against the public api.
25127
- */
25128
- token: string;
25129
- }
25098
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate[];
25130
25099
  }
25131
25100
  }
25132
- namespace $400 {
25101
+ namespace $404 {
25133
25102
  namespace Content {
25134
25103
  interface ApplicationJson {
25135
25104
  [k: string]: unknown;
@@ -25153,68 +25122,50 @@ export declare namespace MittwaldAPIV2 {
25153
25122
  }
25154
25123
  }
25155
25124
  }
25156
- namespace V2UsersSelfCredentialsEmail {
25125
+ namespace V2ProjectsProjectIdStorageSpaceStatistics {
25157
25126
  namespace Get {
25158
25127
  namespace Parameters {
25159
- type Path = {};
25128
+ type Path = {
25129
+ projectId: string;
25130
+ };
25160
25131
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25161
25132
  type Query = {};
25162
25133
  }
25163
25134
  namespace Responses {
25164
25135
  namespace $200 {
25136
+ namespace Content {
25137
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
25138
+ }
25139
+ }
25140
+ namespace $400 {
25165
25141
  namespace Content {
25166
25142
  interface ApplicationJson {
25167
- email: string;
25143
+ [k: string]: unknown;
25168
25144
  }
25169
25145
  }
25170
25146
  }
25171
- namespace $404 {
25147
+ namespace $403 {
25172
25148
  namespace Content {
25173
25149
  interface ApplicationJson {
25174
25150
  [k: string]: unknown;
25175
25151
  }
25176
25152
  }
25177
25153
  }
25178
- namespace $429 {
25154
+ namespace $404 {
25179
25155
  namespace Content {
25180
25156
  interface ApplicationJson {
25181
25157
  [k: string]: unknown;
25182
25158
  }
25183
25159
  }
25184
25160
  }
25185
- namespace Default {
25161
+ namespace $429 {
25186
25162
  namespace Content {
25187
25163
  interface ApplicationJson {
25188
25164
  [k: string]: unknown;
25189
25165
  }
25190
25166
  }
25191
25167
  }
25192
- }
25193
- }
25194
- namespace Put {
25195
- namespace Parameters {
25196
- type Path = {};
25197
- interface RequestBody {
25198
- /**
25199
- * The new Email-Address
25200
- */
25201
- email: string;
25202
- }
25203
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25204
- type Query = {};
25205
- }
25206
- namespace Responses {
25207
- namespace $204 {
25208
- namespace Content {
25209
- type Empty = unknown;
25210
- }
25211
- }
25212
- namespace $400 {
25213
- namespace Content {
25214
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25215
- }
25216
- }
25217
- namespace $429 {
25168
+ namespace $500 {
25218
25169
  namespace Content {
25219
25170
  interface ApplicationJson {
25220
25171
  [k: string]: unknown;
@@ -25231,94 +25182,50 @@ export declare namespace MittwaldAPIV2 {
25231
25182
  }
25232
25183
  }
25233
25184
  }
25234
- namespace V2SignupPassword { }
25235
- namespace V2UsersSelfCredentialsPassword {
25236
- namespace Put {
25185
+ namespace V2ServersServerIdStorageSpaceStatistics {
25186
+ namespace Get {
25237
25187
  namespace Parameters {
25238
- type Path = {};
25239
- interface RequestBody {
25240
- /**
25241
- * Multi Factor Code to confirm MFA.
25242
- * This is optional, depending on the MFA activation status of the profile.
25243
- *
25244
- */
25245
- multiFactorCode?: string;
25246
- /**
25247
- * The new password.
25248
- */
25249
- newPassword: string;
25250
- /**
25251
- * The old password.
25252
- */
25253
- oldPassword: string;
25254
- }
25188
+ type Path = {
25189
+ serverId: string;
25190
+ };
25255
25191
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25256
25192
  type Query = {};
25257
25193
  }
25258
25194
  namespace Responses {
25259
25195
  namespace $200 {
25260
25196
  namespace Content {
25261
- interface ApplicationJson {
25262
- /**
25263
- * The expiration date of the token.
25264
- */
25265
- expires: string;
25266
- /**
25267
- * Public token to identify yourself against the api gateway.
25268
- */
25269
- token: string;
25270
- }
25197
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
25271
25198
  }
25272
25199
  }
25273
- namespace $202 {
25200
+ namespace $400 {
25274
25201
  namespace Content {
25275
25202
  interface ApplicationJson {
25276
25203
  [k: string]: unknown;
25277
25204
  }
25278
25205
  }
25279
25206
  }
25280
- namespace $400 {
25281
- namespace Content {
25282
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25283
- }
25284
- }
25285
- namespace $429 {
25207
+ namespace $403 {
25286
25208
  namespace Content {
25287
25209
  interface ApplicationJson {
25288
25210
  [k: string]: unknown;
25289
25211
  }
25290
25212
  }
25291
25213
  }
25292
- namespace Default {
25214
+ namespace $404 {
25293
25215
  namespace Content {
25294
25216
  interface ApplicationJson {
25295
25217
  [k: string]: unknown;
25296
25218
  }
25297
25219
  }
25298
25220
  }
25299
- }
25300
- }
25301
- }
25302
- namespace V2SignupTokenCheck { }
25303
- namespace V2UsersSelfCredentialsToken {
25304
- namespace Post {
25305
- namespace Parameters {
25306
- type Path = {};
25307
- interface RequestBody {
25308
- }
25309
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25310
- type Query = {};
25311
- }
25312
- namespace Responses {
25313
- namespace $200 {
25221
+ namespace $429 {
25314
25222
  namespace Content {
25315
25223
  interface ApplicationJson {
25316
- id: string;
25317
- publicToken: string;
25224
+ [k: string]: unknown;
25318
25225
  }
25319
25226
  }
25320
25227
  }
25321
- namespace $429 {
25228
+ namespace $500 {
25322
25229
  namespace Content {
25323
25230
  interface ApplicationJson {
25324
25231
  [k: string]: unknown;
@@ -25335,90 +25242,39 @@ export declare namespace MittwaldAPIV2 {
25335
25242
  }
25336
25243
  }
25337
25244
  }
25338
- namespace V2SignupMfaConfirm { }
25339
- namespace V2UsersSelfCredentialsMfa {
25340
- namespace Get {
25245
+ namespace V2ProjectsProjectIdStorageSpaceNotificationThreshold {
25246
+ namespace Put {
25341
25247
  namespace Parameters {
25342
- type Path = {};
25248
+ type Path = {
25249
+ projectId: string;
25250
+ };
25251
+ interface RequestBody {
25252
+ notificationThresholdInBytes?: number;
25253
+ }
25343
25254
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25344
25255
  type Query = {};
25345
25256
  }
25346
25257
  namespace Responses {
25347
- namespace $200 {
25258
+ namespace $204 {
25348
25259
  namespace Content {
25349
- interface ApplicationJson {
25350
- confirmed: boolean;
25351
- initialized: boolean;
25352
- }
25260
+ type Empty = unknown;
25353
25261
  }
25354
25262
  }
25355
- namespace $429 {
25263
+ namespace $403 {
25356
25264
  namespace Content {
25357
25265
  interface ApplicationJson {
25358
25266
  [k: string]: unknown;
25359
25267
  }
25360
25268
  }
25361
25269
  }
25362
- namespace Default {
25270
+ namespace $429 {
25363
25271
  namespace Content {
25364
25272
  interface ApplicationJson {
25365
25273
  [k: string]: unknown;
25366
25274
  }
25367
25275
  }
25368
25276
  }
25369
- }
25370
- }
25371
- namespace Put {
25372
- namespace Parameters {
25373
- type Path = {};
25374
- interface RequestBody {
25375
- /**
25376
- * Multi Factor Code to authorize your request.
25377
- */
25378
- multiFactorCode: string;
25379
- }
25380
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25381
- type Query = {};
25382
- }
25383
- namespace Responses {
25384
- namespace $200 {
25385
- namespace Content {
25386
- interface ApplicationJson {
25387
- /**
25388
- * @minItems 20
25389
- * @maxItems 20
25390
- */
25391
- recoveryCodesList: [
25392
- string,
25393
- string,
25394
- string,
25395
- string,
25396
- string,
25397
- string,
25398
- string,
25399
- string,
25400
- string,
25401
- string,
25402
- string,
25403
- string,
25404
- string,
25405
- string,
25406
- string,
25407
- string,
25408
- string,
25409
- string,
25410
- string,
25411
- string
25412
- ];
25413
- }
25414
- }
25415
- }
25416
- namespace $400 {
25417
- namespace Content {
25418
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25419
- }
25420
- }
25421
- namespace $429 {
25277
+ namespace $500 {
25422
25278
  namespace Content {
25423
25279
  interface ApplicationJson {
25424
25280
  [k: string]: unknown;
@@ -25434,57 +25290,40 @@ export declare namespace MittwaldAPIV2 {
25434
25290
  }
25435
25291
  }
25436
25292
  }
25437
- namespace Post {
25293
+ }
25294
+ namespace V2ServersServerIdStorageSpaceNotificationThreshold {
25295
+ namespace Put {
25438
25296
  namespace Parameters {
25439
- type Path = {};
25297
+ type Path = {
25298
+ serverId: string;
25299
+ };
25440
25300
  interface RequestBody {
25441
- /**
25442
- * Multi Factor Code to confirm MFA.
25443
- */
25444
- multiFactorCode: string;
25301
+ notificationThresholdInBytes?: number;
25445
25302
  }
25446
25303
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25447
25304
  type Query = {};
25448
25305
  }
25449
25306
  namespace Responses {
25450
- namespace $200 {
25307
+ namespace $204 {
25308
+ namespace Content {
25309
+ type Empty = unknown;
25310
+ }
25311
+ }
25312
+ namespace $403 {
25451
25313
  namespace Content {
25452
25314
  interface ApplicationJson {
25453
- /**
25454
- * @minItems 20
25455
- * @maxItems 20
25456
- */
25457
- recoveryCodesList: [
25458
- string,
25459
- string,
25460
- string,
25461
- string,
25462
- string,
25463
- string,
25464
- string,
25465
- string,
25466
- string,
25467
- string,
25468
- string,
25469
- string,
25470
- string,
25471
- string,
25472
- string,
25473
- string,
25474
- string,
25475
- string,
25476
- string,
25477
- string
25478
- ];
25315
+ [k: string]: unknown;
25479
25316
  }
25480
25317
  }
25481
25318
  }
25482
- namespace $400 {
25319
+ namespace $429 {
25483
25320
  namespace Content {
25484
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25321
+ interface ApplicationJson {
25322
+ [k: string]: unknown;
25323
+ }
25485
25324
  }
25486
25325
  }
25487
- namespace $429 {
25326
+ namespace $500 {
25488
25327
  namespace Content {
25489
25328
  interface ApplicationJson {
25490
25329
  [k: string]: unknown;
@@ -25500,14 +25339,15 @@ export declare namespace MittwaldAPIV2 {
25500
25339
  }
25501
25340
  }
25502
25341
  }
25503
- namespace Delete {
25342
+ }
25343
+ namespace V2UsersUserIdPhone {
25344
+ namespace Post {
25504
25345
  namespace Parameters {
25505
- type Path = {};
25346
+ type Path = {
25347
+ userId: string;
25348
+ };
25506
25349
  interface RequestBody {
25507
- /**
25508
- * Multi Factor Code to confirm MFA.
25509
- */
25510
- multiFactorCode: string;
25350
+ phoneNumber: string;
25511
25351
  }
25512
25352
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25513
25353
  type Query = {};
@@ -25520,7 +25360,16 @@ export declare namespace MittwaldAPIV2 {
25520
25360
  }
25521
25361
  namespace $400 {
25522
25362
  namespace Content {
25523
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25363
+ interface ApplicationJson {
25364
+ [k: string]: unknown;
25365
+ }
25366
+ }
25367
+ }
25368
+ namespace $409 {
25369
+ namespace Content {
25370
+ interface ApplicationJson {
25371
+ [k: string]: unknown;
25372
+ }
25524
25373
  }
25525
25374
  }
25526
25375
  namespace $429 {
@@ -25539,26 +25388,12 @@ export declare namespace MittwaldAPIV2 {
25539
25388
  }
25540
25389
  }
25541
25390
  }
25542
- }
25543
- namespace V2UsersSelfCredentialsPasswordConfirmReset {
25544
- namespace Post {
25391
+ namespace Delete {
25545
25392
  namespace Parameters {
25546
- type Path = {};
25547
- interface RequestBody {
25548
- /**
25549
- * The new password.
25550
- */
25551
- password: string;
25552
- /**
25553
- * Password reset token
25554
- */
25555
- token: string;
25556
- /**
25557
- * UserId of the user to reset the password for.
25558
- */
25393
+ type Path = {
25559
25394
  userId: string;
25560
- }
25561
- type Header = {};
25395
+ };
25396
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25562
25397
  type Query = {};
25563
25398
  }
25564
25399
  namespace Responses {
@@ -25568,45 +25403,19 @@ export declare namespace MittwaldAPIV2 {
25568
25403
  }
25569
25404
  }
25570
25405
  namespace $400 {
25571
- namespace Content {
25572
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25573
- }
25574
- }
25575
- namespace $429 {
25576
25406
  namespace Content {
25577
25407
  interface ApplicationJson {
25578
25408
  [k: string]: unknown;
25579
25409
  }
25580
25410
  }
25581
25411
  }
25582
- namespace Default {
25412
+ namespace $412 {
25583
25413
  namespace Content {
25584
25414
  interface ApplicationJson {
25585
25415
  [k: string]: unknown;
25586
25416
  }
25587
25417
  }
25588
25418
  }
25589
- }
25590
- }
25591
- }
25592
- namespace V2SignupTokenApi { }
25593
- namespace V2UsersSelfApiTokens {
25594
- namespace Get {
25595
- namespace Parameters {
25596
- type Path = {};
25597
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25598
- type Query = {
25599
- limit?: number;
25600
- skip?: number;
25601
- page?: number;
25602
- };
25603
- }
25604
- namespace Responses {
25605
- namespace $200 {
25606
- namespace Content {
25607
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken[];
25608
- }
25609
- }
25610
25419
  namespace $429 {
25611
25420
  namespace Content {
25612
25421
  interface ApplicationJson {
@@ -25623,28 +25432,43 @@ export declare namespace MittwaldAPIV2 {
25623
25432
  }
25624
25433
  }
25625
25434
  }
25435
+ }
25436
+ namespace V2SignupAuthenticationMfa { }
25437
+ namespace V2AuthenticateMfa {
25626
25438
  namespace Post {
25627
25439
  namespace Parameters {
25628
25440
  type Path = {};
25629
25441
  interface RequestBody {
25630
- description: string;
25631
- expiresAt?: string;
25632
25442
  /**
25633
- * Determines the access rights of the ApiToken.
25634
- *
25635
- * @minItems 1
25443
+ * The email of the user.
25636
25444
  */
25637
- roles: ["api_read" | "api_write", ...("api_read" | "api_write")[]];
25445
+ email: string;
25446
+ /**
25447
+ * The second factor - otp code or recovery code.
25448
+ */
25449
+ multiFactorCode: string;
25450
+ /**
25451
+ * The password of the user.
25452
+ */
25453
+ password: string;
25638
25454
  }
25639
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25455
+ type Header = {};
25640
25456
  type Query = {};
25641
25457
  }
25642
25458
  namespace Responses {
25643
- namespace $201 {
25459
+ namespace $200 {
25644
25460
  namespace Content {
25645
25461
  interface ApplicationJson {
25646
25462
  /**
25647
- * The `ApiToken`.
25463
+ * The expiration date of the token.
25464
+ */
25465
+ expires: string;
25466
+ /**
25467
+ * Refresh token to refresh your access token even after it has expired.
25468
+ */
25469
+ refreshToken: string;
25470
+ /**
25471
+ * Public token to identify yourself against the api gateway.
25648
25472
  */
25649
25473
  token: string;
25650
25474
  }
@@ -25652,9 +25476,14 @@ export declare namespace MittwaldAPIV2 {
25652
25476
  }
25653
25477
  namespace $400 {
25654
25478
  namespace Content {
25655
- interface ApplicationJson {
25656
- [k: string]: unknown;
25657
- }
25479
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25480
+ }
25481
+ }
25482
+ namespace $408 {
25483
+ namespace Content {
25484
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
25485
+ name?: "FirstAuthenticationFactorExpired";
25486
+ };
25658
25487
  }
25659
25488
  }
25660
25489
  namespace $429 {
@@ -25674,91 +25503,58 @@ export declare namespace MittwaldAPIV2 {
25674
25503
  }
25675
25504
  }
25676
25505
  }
25677
- namespace V2UsersSelfFeedback {
25506
+ namespace V2SignupAuthentication { }
25507
+ namespace V2Authenticate {
25678
25508
  namespace Post {
25679
25509
  namespace Parameters {
25680
25510
  type Path = {};
25681
25511
  interface RequestBody {
25682
25512
  /**
25683
- * Personal feedback message.
25684
- */
25685
- message?: string;
25686
- /**
25687
- * Origin of the feedback.
25688
- */
25689
- origin?: string;
25690
- /**
25691
- * Descriptive subject.
25692
- */
25693
- subject: string;
25694
- /**
25695
- * Type of feedback.
25513
+ * The users Email-Address.
25696
25514
  */
25697
- type?: "feedback" | "bug";
25515
+ email: string;
25698
25516
  /**
25699
- * Feedback rating from bad to good. Set to 0 or skip this field to not vote at all.
25517
+ * Password of the User.
25700
25518
  */
25701
- vote?: number;
25519
+ password: string;
25702
25520
  }
25703
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25521
+ type Header = {};
25704
25522
  type Query = {};
25705
25523
  }
25706
25524
  namespace Responses {
25707
- namespace $201 {
25708
- namespace Content {
25709
- interface ApplicationJson {
25710
- }
25711
- }
25712
- }
25713
- namespace $401 {
25714
- namespace Content {
25715
- interface ApplicationJson {
25716
- [k: string]: unknown;
25717
- }
25718
- }
25719
- }
25720
- namespace $404 {
25525
+ namespace $200 {
25721
25526
  namespace Content {
25722
25527
  interface ApplicationJson {
25723
- [k: string]: unknown;
25528
+ /**
25529
+ * The expiration date of the token.
25530
+ */
25531
+ expires: string;
25532
+ /**
25533
+ * Refresh token to refresh your access token even after it has expired.
25534
+ */
25535
+ refreshToken: string;
25536
+ /**
25537
+ * Public token to identify yourself against the api gateway.
25538
+ */
25539
+ token: string;
25724
25540
  }
25725
25541
  }
25726
25542
  }
25727
- namespace $429 {
25543
+ namespace $202 {
25728
25544
  namespace Content {
25729
25545
  interface ApplicationJson {
25730
- [k: string]: unknown;
25546
+ name?: "SecondFactorRequired";
25731
25547
  }
25732
25548
  }
25733
25549
  }
25734
- namespace Default {
25550
+ namespace $400 {
25735
25551
  namespace Content {
25736
- interface ApplicationJson {
25737
- [k: string]: unknown;
25738
- }
25552
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
25739
25553
  }
25740
25554
  }
25741
- }
25742
- }
25743
- }
25744
- namespace V2SignupSsh { }
25745
- namespace V2UsersSelfSshKeys {
25746
- namespace Get {
25747
- namespace Parameters {
25748
- type Path = {};
25749
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25750
- type Query = {
25751
- limit?: number;
25752
- skip?: number;
25753
- page?: number;
25754
- };
25755
- }
25756
- namespace Responses {
25757
- namespace $200 {
25555
+ namespace $401 {
25758
25556
  namespace Content {
25759
- interface ApplicationJson {
25760
- sshKeys?: MittwaldAPIV2.Components.Schemas.SignupSshKey[];
25761
- }
25557
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25762
25558
  }
25763
25559
  }
25764
25560
  namespace $429 {
@@ -25777,20 +25573,34 @@ export declare namespace MittwaldAPIV2 {
25777
25573
  }
25778
25574
  }
25779
25575
  }
25576
+ }
25577
+ namespace V2AuthenticateTokenRetrievalKey {
25780
25578
  namespace Post {
25781
25579
  namespace Parameters {
25782
25580
  type Path = {};
25783
25581
  interface RequestBody {
25784
- expiresAt?: string;
25785
- publicKey: string;
25582
+ accessTokenRetrievalKey: string;
25583
+ userId: string;
25786
25584
  }
25787
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25585
+ type Header = {};
25788
25586
  type Query = {};
25789
25587
  }
25790
25588
  namespace Responses {
25791
- namespace $201 {
25589
+ namespace $200 {
25792
25590
  namespace Content {
25793
25591
  interface ApplicationJson {
25592
+ /**
25593
+ * The expiration date of the token.
25594
+ */
25595
+ expiresAt: string;
25596
+ /**
25597
+ * Refresh token to refresh your access token even after it has expired.
25598
+ */
25599
+ refreshToken: string;
25600
+ /**
25601
+ * Public token to identify yourself against the public api.
25602
+ */
25603
+ token: string;
25794
25604
  }
25795
25605
  }
25796
25606
  }
@@ -25818,19 +25628,19 @@ export declare namespace MittwaldAPIV2 {
25818
25628
  }
25819
25629
  }
25820
25630
  }
25821
- namespace V2UsersSelfApiTokensApiTokenId {
25631
+ namespace V2UsersSelfCredentialsEmail {
25822
25632
  namespace Get {
25823
25633
  namespace Parameters {
25824
- type Path = {
25825
- apiTokenId: string;
25826
- };
25634
+ type Path = {};
25827
25635
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25828
25636
  type Query = {};
25829
25637
  }
25830
25638
  namespace Responses {
25831
25639
  namespace $200 {
25832
25640
  namespace Content {
25833
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken;
25641
+ interface ApplicationJson {
25642
+ email: string;
25643
+ }
25834
25644
  }
25835
25645
  }
25836
25646
  namespace $404 {
@@ -25858,12 +25668,12 @@ export declare namespace MittwaldAPIV2 {
25858
25668
  }
25859
25669
  namespace Put {
25860
25670
  namespace Parameters {
25861
- type Path = {
25862
- apiTokenId: string;
25863
- };
25671
+ type Path = {};
25864
25672
  interface RequestBody {
25865
- description: string;
25866
- expiresAt?: string;
25673
+ /**
25674
+ * The new Email-Address
25675
+ */
25676
+ email: string;
25867
25677
  }
25868
25678
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25869
25679
  type Query = {};
@@ -25876,9 +25686,7 @@ export declare namespace MittwaldAPIV2 {
25876
25686
  }
25877
25687
  namespace $400 {
25878
25688
  namespace Content {
25879
- interface ApplicationJson {
25880
- [k: string]: unknown;
25881
- }
25689
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25882
25690
  }
25883
25691
  }
25884
25692
  namespace $429 {
@@ -25897,27 +25705,58 @@ export declare namespace MittwaldAPIV2 {
25897
25705
  }
25898
25706
  }
25899
25707
  }
25900
- namespace Delete {
25708
+ }
25709
+ namespace V2SignupPassword { }
25710
+ namespace V2UsersSelfCredentialsPassword {
25711
+ namespace Put {
25901
25712
  namespace Parameters {
25902
- type Path = {
25903
- apiTokenId: string;
25904
- };
25713
+ type Path = {};
25714
+ interface RequestBody {
25715
+ /**
25716
+ * Multi Factor Code to confirm MFA.
25717
+ * This is optional, depending on the MFA activation status of the profile.
25718
+ *
25719
+ */
25720
+ multiFactorCode?: string;
25721
+ /**
25722
+ * The new password.
25723
+ */
25724
+ newPassword: string;
25725
+ /**
25726
+ * The old password.
25727
+ */
25728
+ oldPassword: string;
25729
+ }
25905
25730
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25906
25731
  type Query = {};
25907
25732
  }
25908
25733
  namespace Responses {
25909
- namespace $204 {
25734
+ namespace $200 {
25910
25735
  namespace Content {
25911
- type Empty = unknown;
25736
+ interface ApplicationJson {
25737
+ /**
25738
+ * The expiration date of the token.
25739
+ */
25740
+ expires: string;
25741
+ /**
25742
+ * Public token to identify yourself against the api gateway.
25743
+ */
25744
+ token: string;
25745
+ }
25912
25746
  }
25913
25747
  }
25914
- namespace $400 {
25748
+ namespace $202 {
25915
25749
  namespace Content {
25916
25750
  interface ApplicationJson {
25917
25751
  [k: string]: unknown;
25918
25752
  }
25919
25753
  }
25920
25754
  }
25755
+ namespace $400 {
25756
+ namespace Content {
25757
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25758
+ }
25759
+ }
25921
25760
  namespace $429 {
25922
25761
  namespace Content {
25923
25762
  interface ApplicationJson {
@@ -25935,12 +25774,13 @@ export declare namespace MittwaldAPIV2 {
25935
25774
  }
25936
25775
  }
25937
25776
  }
25938
- namespace V2UsersSelfSshKeysSshKeyId {
25939
- namespace Get {
25777
+ namespace V2SignupTokenCheck { }
25778
+ namespace V2UsersSelfCredentialsToken {
25779
+ namespace Post {
25940
25780
  namespace Parameters {
25941
- type Path = {
25942
- sshKeyId: string;
25943
- };
25781
+ type Path = {};
25782
+ interface RequestBody {
25783
+ }
25944
25784
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25945
25785
  type Query = {};
25946
25786
  }
@@ -25948,14 +25788,8 @@ export declare namespace MittwaldAPIV2 {
25948
25788
  namespace $200 {
25949
25789
  namespace Content {
25950
25790
  interface ApplicationJson {
25951
- sshKey: MittwaldAPIV2.Components.Schemas.SignupSshKey;
25952
- }
25953
- }
25954
- }
25955
- namespace $404 {
25956
- namespace Content {
25957
- interface ApplicationJson {
25958
- [k: string]: unknown;
25791
+ id: string;
25792
+ publicToken: string;
25959
25793
  }
25960
25794
  }
25961
25795
  }
@@ -25975,28 +25809,21 @@ export declare namespace MittwaldAPIV2 {
25975
25809
  }
25976
25810
  }
25977
25811
  }
25978
- namespace Put {
25812
+ }
25813
+ namespace V2SignupMfaConfirm { }
25814
+ namespace V2UsersSelfCredentialsMfa {
25815
+ namespace Get {
25979
25816
  namespace Parameters {
25980
- type Path = {
25981
- sshKeyId: string;
25982
- };
25983
- interface RequestBody {
25984
- comment: string;
25985
- expiresAt?: string;
25986
- }
25817
+ type Path = {};
25987
25818
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25988
25819
  type Query = {};
25989
25820
  }
25990
25821
  namespace Responses {
25991
- namespace $204 {
25992
- namespace Content {
25993
- type Empty = unknown;
25994
- }
25995
- }
25996
- namespace $400 {
25822
+ namespace $200 {
25997
25823
  namespace Content {
25998
25824
  interface ApplicationJson {
25999
- [k: string]: unknown;
25825
+ confirmed: boolean;
25826
+ initialized: boolean;
26000
25827
  }
26001
25828
  }
26002
25829
  }
@@ -26016,18 +25843,54 @@ export declare namespace MittwaldAPIV2 {
26016
25843
  }
26017
25844
  }
26018
25845
  }
26019
- namespace Delete {
25846
+ namespace Put {
26020
25847
  namespace Parameters {
26021
- type Path = {
26022
- sshKeyId: string;
26023
- };
25848
+ type Path = {};
25849
+ interface RequestBody {
25850
+ /**
25851
+ * Multi Factor Code to authorize your request.
25852
+ */
25853
+ multiFactorCode: string;
25854
+ }
26024
25855
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26025
25856
  type Query = {};
26026
25857
  }
26027
25858
  namespace Responses {
26028
- namespace $204 {
25859
+ namespace $200 {
26029
25860
  namespace Content {
26030
- type Empty = unknown;
25861
+ interface ApplicationJson {
25862
+ /**
25863
+ * @minItems 20
25864
+ * @maxItems 20
25865
+ */
25866
+ recoveryCodesList: [
25867
+ string,
25868
+ string,
25869
+ string,
25870
+ string,
25871
+ string,
25872
+ string,
25873
+ string,
25874
+ string,
25875
+ string,
25876
+ string,
25877
+ string,
25878
+ string,
25879
+ string,
25880
+ string,
25881
+ string,
25882
+ string,
25883
+ string,
25884
+ string,
25885
+ string,
25886
+ string
25887
+ ];
25888
+ }
25889
+ }
25890
+ }
25891
+ namespace $400 {
25892
+ namespace Content {
25893
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26031
25894
  }
26032
25895
  }
26033
25896
  namespace $429 {
@@ -26046,31 +25909,48 @@ export declare namespace MittwaldAPIV2 {
26046
25909
  }
26047
25910
  }
26048
25911
  }
26049
- }
26050
- namespace V2UsersSelf {
26051
- namespace Delete {
25912
+ namespace Post {
26052
25913
  namespace Parameters {
26053
25914
  type Path = {};
26054
25915
  interface RequestBody {
26055
25916
  /**
26056
- * Multi Factor Code to authorize your request.
25917
+ * Multi Factor Code to confirm MFA.
26057
25918
  */
26058
- multiFactorCode?: string;
26059
- password: string;
25919
+ multiFactorCode: string;
26060
25920
  }
26061
25921
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26062
25922
  type Query = {};
26063
25923
  }
26064
25924
  namespace Responses {
26065
25925
  namespace $200 {
26066
- namespace Content {
26067
- type Empty = unknown;
26068
- }
26069
- }
26070
- namespace $202 {
26071
25926
  namespace Content {
26072
25927
  interface ApplicationJson {
26073
- [k: string]: unknown;
25928
+ /**
25929
+ * @minItems 20
25930
+ * @maxItems 20
25931
+ */
25932
+ recoveryCodesList: [
25933
+ string,
25934
+ string,
25935
+ string,
25936
+ string,
25937
+ string,
25938
+ string,
25939
+ string,
25940
+ string,
25941
+ string,
25942
+ string,
25943
+ string,
25944
+ string,
25945
+ string,
25946
+ string,
25947
+ string,
25948
+ string,
25949
+ string,
25950
+ string,
25951
+ string,
25952
+ string
25953
+ ];
26074
25954
  }
26075
25955
  }
26076
25956
  }
@@ -26079,13 +25959,6 @@ export declare namespace MittwaldAPIV2 {
26079
25959
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26080
25960
  }
26081
25961
  }
26082
- namespace $409 {
26083
- namespace Content {
26084
- interface ApplicationJson {
26085
- [k: string]: unknown;
26086
- }
26087
- }
26088
- }
26089
25962
  namespace $429 {
26090
25963
  namespace Content {
26091
25964
  interface ApplicationJson {
@@ -26102,22 +25975,27 @@ export declare namespace MittwaldAPIV2 {
26102
25975
  }
26103
25976
  }
26104
25977
  }
26105
- }
26106
- namespace V2UsersSelfCredentialsPasswordUpdatedAt {
26107
- namespace Get {
25978
+ namespace Delete {
26108
25979
  namespace Parameters {
26109
25980
  type Path = {};
26110
25981
  interface RequestBody {
25982
+ /**
25983
+ * Multi Factor Code to confirm MFA.
25984
+ */
25985
+ multiFactorCode: string;
26111
25986
  }
26112
25987
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26113
25988
  type Query = {};
26114
25989
  }
26115
25990
  namespace Responses {
26116
- namespace $200 {
25991
+ namespace $204 {
26117
25992
  namespace Content {
26118
- interface ApplicationJson {
26119
- passwordUpdatedAt: string;
26120
- }
25993
+ type Empty = unknown;
25994
+ }
25995
+ }
25996
+ namespace $400 {
25997
+ namespace Content {
25998
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26121
25999
  }
26122
26000
  }
26123
26001
  namespace $429 {
@@ -26137,21 +26015,36 @@ export declare namespace MittwaldAPIV2 {
26137
26015
  }
26138
26016
  }
26139
26017
  }
26140
- namespace V2UsersUserIdSettings {
26141
- namespace Get {
26018
+ namespace V2UsersSelfCredentialsPasswordConfirmReset {
26019
+ namespace Post {
26142
26020
  namespace Parameters {
26143
- type Path = {
26021
+ type Path = {};
26022
+ interface RequestBody {
26023
+ /**
26024
+ * The new password.
26025
+ */
26026
+ password: string;
26027
+ /**
26028
+ * Password reset token
26029
+ */
26030
+ token: string;
26031
+ /**
26032
+ * UserId of the user to reset the password for.
26033
+ */
26144
26034
  userId: string;
26145
- };
26146
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26035
+ }
26036
+ type Header = {};
26147
26037
  type Query = {};
26148
26038
  }
26149
26039
  namespace Responses {
26150
- namespace $200 {
26040
+ namespace $204 {
26151
26041
  namespace Content {
26152
- interface ApplicationJson {
26153
- settingsString?: string;
26154
- }
26042
+ type Empty = unknown;
26043
+ }
26044
+ }
26045
+ namespace $400 {
26046
+ namespace Content {
26047
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26155
26048
  }
26156
26049
  }
26157
26050
  namespace $429 {
@@ -26170,28 +26063,23 @@ export declare namespace MittwaldAPIV2 {
26170
26063
  }
26171
26064
  }
26172
26065
  }
26173
- namespace Put {
26066
+ }
26067
+ namespace V2SignupTokenApi { }
26068
+ namespace V2UsersSelfApiTokens {
26069
+ namespace Get {
26174
26070
  namespace Parameters {
26175
- type Path = {
26176
- userId: string;
26177
- };
26178
- interface RequestBody {
26179
- settingsString: string;
26180
- }
26071
+ type Path = {};
26181
26072
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26182
- type Query = {};
26073
+ type Query = {
26074
+ limit?: number;
26075
+ skip?: number;
26076
+ page?: number;
26077
+ };
26183
26078
  }
26184
26079
  namespace Responses {
26185
- namespace $204 {
26186
- namespace Content {
26187
- type Empty = unknown;
26188
- }
26189
- }
26190
- namespace $400 {
26080
+ namespace $200 {
26191
26081
  namespace Content {
26192
- interface ApplicationJson {
26193
- [k: string]: unknown;
26194
- }
26082
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken[];
26195
26083
  }
26196
26084
  }
26197
26085
  namespace $429 {
@@ -26210,30 +26098,34 @@ export declare namespace MittwaldAPIV2 {
26210
26098
  }
26211
26099
  }
26212
26100
  }
26213
- }
26214
- namespace V2PollSettingsUserId {
26215
- namespace Get {
26101
+ namespace Post {
26216
26102
  namespace Parameters {
26217
- type Path = {
26218
- userId: string;
26219
- };
26220
- type Header = {};
26103
+ type Path = {};
26104
+ interface RequestBody {
26105
+ description: string;
26106
+ expiresAt?: string;
26107
+ /**
26108
+ * Determines the access rights of the ApiToken.
26109
+ *
26110
+ * @minItems 1
26111
+ */
26112
+ roles: ["api_read" | "api_write", ...("api_read" | "api_write")[]];
26113
+ }
26114
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26221
26115
  type Query = {};
26222
26116
  }
26223
26117
  namespace Responses {
26224
- namespace $200 {
26225
- namespace Content {
26226
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26227
- }
26228
- }
26229
- namespace $400 {
26118
+ namespace $201 {
26230
26119
  namespace Content {
26231
26120
  interface ApplicationJson {
26232
- [k: string]: unknown;
26121
+ /**
26122
+ * The `ApiToken`.
26123
+ */
26124
+ token: string;
26233
26125
  }
26234
26126
  }
26235
26127
  }
26236
- namespace $404 {
26128
+ namespace $400 {
26237
26129
  namespace Content {
26238
26130
  interface ApplicationJson {
26239
26131
  [k: string]: unknown;
@@ -26256,32 +26148,51 @@ export declare namespace MittwaldAPIV2 {
26256
26148
  }
26257
26149
  }
26258
26150
  }
26151
+ }
26152
+ namespace V2UsersSelfFeedback {
26259
26153
  namespace Post {
26260
26154
  namespace Parameters {
26261
- type Path = {
26262
- userId: string;
26263
- };
26155
+ type Path = {};
26264
26156
  interface RequestBody {
26265
- status: "completed" | "muted" | "ignored";
26266
- userId: string;
26157
+ /**
26158
+ * Personal feedback message.
26159
+ */
26160
+ message?: string;
26161
+ /**
26162
+ * Origin of the feedback.
26163
+ */
26164
+ origin?: string;
26165
+ /**
26166
+ * Descriptive subject.
26167
+ */
26168
+ subject: string;
26169
+ /**
26170
+ * Type of feedback.
26171
+ */
26172
+ type?: "feedback" | "bug";
26173
+ /**
26174
+ * Feedback rating from bad to good. Set to 0 or skip this field to not vote at all.
26175
+ */
26176
+ vote?: number;
26267
26177
  }
26268
- type Header = {};
26178
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26269
26179
  type Query = {};
26270
26180
  }
26271
26181
  namespace Responses {
26272
- namespace $200 {
26182
+ namespace $201 {
26273
26183
  namespace Content {
26274
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26184
+ interface ApplicationJson {
26185
+ }
26275
26186
  }
26276
26187
  }
26277
- namespace $400 {
26188
+ namespace $401 {
26278
26189
  namespace Content {
26279
26190
  interface ApplicationJson {
26280
26191
  [k: string]: unknown;
26281
26192
  }
26282
26193
  }
26283
26194
  }
26284
- namespace $403 {
26195
+ namespace $404 {
26285
26196
  namespace Content {
26286
26197
  interface ApplicationJson {
26287
26198
  [k: string]: unknown;
@@ -26305,25 +26216,23 @@ export declare namespace MittwaldAPIV2 {
26305
26216
  }
26306
26217
  }
26307
26218
  }
26308
- namespace V2UsersSelfSessionsTokenId {
26219
+ namespace V2SignupSsh { }
26220
+ namespace V2UsersSelfSshKeys {
26309
26221
  namespace Get {
26310
26222
  namespace Parameters {
26311
- type Path = {
26312
- tokenId: string;
26313
- };
26223
+ type Path = {};
26314
26224
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26315
- type Query = {};
26225
+ type Query = {
26226
+ limit?: number;
26227
+ skip?: number;
26228
+ page?: number;
26229
+ };
26316
26230
  }
26317
26231
  namespace Responses {
26318
26232
  namespace $200 {
26319
- namespace Content {
26320
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession;
26321
- }
26322
- }
26323
- namespace $404 {
26324
26233
  namespace Content {
26325
26234
  interface ApplicationJson {
26326
- [k: string]: unknown;
26235
+ sshKeys?: MittwaldAPIV2.Components.Schemas.SignupSshKey[];
26327
26236
  }
26328
26237
  }
26329
26238
  }
@@ -26343,21 +26252,24 @@ export declare namespace MittwaldAPIV2 {
26343
26252
  }
26344
26253
  }
26345
26254
  }
26346
- namespace Delete {
26255
+ namespace Post {
26347
26256
  namespace Parameters {
26348
- type Path = {
26349
- tokenId: string;
26350
- };
26257
+ type Path = {};
26258
+ interface RequestBody {
26259
+ expiresAt?: string;
26260
+ publicKey: string;
26261
+ }
26351
26262
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26352
26263
  type Query = {};
26353
26264
  }
26354
26265
  namespace Responses {
26355
- namespace $204 {
26266
+ namespace $201 {
26356
26267
  namespace Content {
26357
- type Empty = unknown;
26268
+ interface ApplicationJson {
26269
+ }
26358
26270
  }
26359
26271
  }
26360
- namespace $404 {
26272
+ namespace $400 {
26361
26273
  namespace Content {
26362
26274
  interface ApplicationJson {
26363
26275
  [k: string]: unknown;
@@ -26381,11 +26293,11 @@ export declare namespace MittwaldAPIV2 {
26381
26293
  }
26382
26294
  }
26383
26295
  }
26384
- namespace V2UsersUserId {
26296
+ namespace V2UsersSelfApiTokensApiTokenId {
26385
26297
  namespace Get {
26386
26298
  namespace Parameters {
26387
26299
  type Path = {
26388
- userId: string;
26300
+ apiTokenId: string;
26389
26301
  };
26390
26302
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26391
26303
  type Query = {};
@@ -26393,14 +26305,7 @@ export declare namespace MittwaldAPIV2 {
26393
26305
  namespace Responses {
26394
26306
  namespace $200 {
26395
26307
  namespace Content {
26396
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUser;
26397
- }
26398
- }
26399
- namespace $403 {
26400
- namespace Content {
26401
- interface ApplicationJson {
26402
- [k: string]: unknown;
26403
- }
26308
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken;
26404
26309
  }
26405
26310
  }
26406
26311
  namespace $404 {
@@ -26410,7 +26315,7 @@ export declare namespace MittwaldAPIV2 {
26410
26315
  }
26411
26316
  }
26412
26317
  }
26413
- namespace $412 {
26318
+ namespace $429 {
26414
26319
  namespace Content {
26415
26320
  interface ApplicationJson {
26416
26321
  [k: string]: unknown;
@@ -26429,10 +26334,11 @@ export declare namespace MittwaldAPIV2 {
26429
26334
  namespace Put {
26430
26335
  namespace Parameters {
26431
26336
  type Path = {
26432
- userId: string;
26337
+ apiTokenId: string;
26433
26338
  };
26434
26339
  interface RequestBody {
26435
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
26340
+ description: string;
26341
+ expiresAt?: string;
26436
26342
  }
26437
26343
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26438
26344
  type Query = {};
@@ -26466,37 +26372,25 @@ export declare namespace MittwaldAPIV2 {
26466
26372
  }
26467
26373
  }
26468
26374
  }
26469
- }
26470
- namespace V2UsersSelfCredentialsInitMfa {
26471
- namespace Post {
26375
+ namespace Delete {
26472
26376
  namespace Parameters {
26473
- type Path = {};
26474
- interface RequestBody {
26475
- }
26377
+ type Path = {
26378
+ apiTokenId: string;
26379
+ };
26476
26380
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26477
26381
  type Query = {};
26478
26382
  }
26479
- namespace Responses {
26480
- namespace $200 {
26481
- namespace Content {
26482
- interface ApplicationJson {
26483
- /**
26484
- * base64 encoded barcode content to scan from your mfa app. e.g. `iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAAAAADYoy...`. You
26485
- * can display it with `<img src="data:image/png;base64,iVBORw0KGgoAAAANSUh.." />`
26486
- *
26487
- */
26488
- barcode: string;
26489
- /**
26490
- * Same as barcode, but in URL form.
26491
- *
26492
- */
26493
- url: string;
26494
- }
26383
+ namespace Responses {
26384
+ namespace $204 {
26385
+ namespace Content {
26386
+ type Empty = unknown;
26495
26387
  }
26496
26388
  }
26497
26389
  namespace $400 {
26498
26390
  namespace Content {
26499
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26391
+ interface ApplicationJson {
26392
+ [k: string]: unknown;
26393
+ }
26500
26394
  }
26501
26395
  }
26502
26396
  namespace $429 {
@@ -26516,29 +26410,28 @@ export declare namespace MittwaldAPIV2 {
26516
26410
  }
26517
26411
  }
26518
26412
  }
26519
- namespace V2UsersSelfCredentialsActionsInitPasswordReset {
26520
- namespace Post {
26413
+ namespace V2UsersSelfSshKeysSshKeyId {
26414
+ namespace Get {
26521
26415
  namespace Parameters {
26522
- type Path = {};
26523
- interface RequestBody {
26524
- /**
26525
- * Email address to reset the password for.
26526
- */
26527
- email: string;
26528
- }
26529
- type Header = {};
26416
+ type Path = {
26417
+ sshKeyId: string;
26418
+ };
26419
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26530
26420
  type Query = {};
26531
26421
  }
26532
26422
  namespace Responses {
26533
- namespace $201 {
26423
+ namespace $200 {
26534
26424
  namespace Content {
26535
26425
  interface ApplicationJson {
26426
+ sshKey: MittwaldAPIV2.Components.Schemas.SignupSshKey;
26536
26427
  }
26537
26428
  }
26538
26429
  }
26539
- namespace $400 {
26430
+ namespace $404 {
26540
26431
  namespace Content {
26541
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26432
+ interface ApplicationJson {
26433
+ [k: string]: unknown;
26434
+ }
26542
26435
  }
26543
26436
  }
26544
26437
  namespace $429 {
@@ -26557,22 +26450,29 @@ export declare namespace MittwaldAPIV2 {
26557
26450
  }
26558
26451
  }
26559
26452
  }
26560
- }
26561
- namespace V2UsersUserIdFeedback {
26562
- namespace Get {
26453
+ namespace Put {
26563
26454
  namespace Parameters {
26564
26455
  type Path = {
26565
- userId: string;
26456
+ sshKeyId: string;
26566
26457
  };
26458
+ interface RequestBody {
26459
+ comment: string;
26460
+ expiresAt?: string;
26461
+ }
26567
26462
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26568
- type Query = {
26569
- subject?: string;
26570
- };
26463
+ type Query = {};
26571
26464
  }
26572
26465
  namespace Responses {
26573
- namespace $200 {
26466
+ namespace $204 {
26574
26467
  namespace Content {
26575
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUserFeedback[];
26468
+ type Empty = unknown;
26469
+ }
26470
+ }
26471
+ namespace $400 {
26472
+ namespace Content {
26473
+ interface ApplicationJson {
26474
+ [k: string]: unknown;
26475
+ }
26576
26476
  }
26577
26477
  }
26578
26478
  namespace $429 {
@@ -26591,22 +26491,18 @@ export declare namespace MittwaldAPIV2 {
26591
26491
  }
26592
26492
  }
26593
26493
  }
26594
- }
26595
- namespace V2UsersSelfSessions {
26596
- namespace Get {
26494
+ namespace Delete {
26597
26495
  namespace Parameters {
26598
- type Path = {};
26599
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26600
- type Query = {
26601
- limit?: number;
26602
- skip?: number;
26603
- page?: number;
26496
+ type Path = {
26497
+ sshKeyId: string;
26604
26498
  };
26499
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26500
+ type Query = {};
26605
26501
  }
26606
26502
  namespace Responses {
26607
- namespace $200 {
26503
+ namespace $204 {
26608
26504
  namespace Content {
26609
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession[];
26505
+ type Empty = unknown;
26610
26506
  }
26611
26507
  }
26612
26508
  namespace $429 {
@@ -26625,35 +26521,40 @@ export declare namespace MittwaldAPIV2 {
26625
26521
  }
26626
26522
  }
26627
26523
  }
26628
- namespace Put {
26524
+ }
26525
+ namespace V2UsersSelf {
26526
+ namespace Delete {
26629
26527
  namespace Parameters {
26630
26528
  type Path = {};
26631
26529
  interface RequestBody {
26632
- refreshToken: string;
26530
+ /**
26531
+ * Multi Factor Code to authorize your request.
26532
+ */
26533
+ multiFactorCode?: string;
26534
+ password: string;
26633
26535
  }
26634
26536
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26635
26537
  type Query = {};
26636
26538
  }
26637
26539
  namespace Responses {
26638
26540
  namespace $200 {
26541
+ namespace Content {
26542
+ type Empty = unknown;
26543
+ }
26544
+ }
26545
+ namespace $202 {
26639
26546
  namespace Content {
26640
26547
  interface ApplicationJson {
26641
- /**
26642
- * The expiration date of the token.
26643
- */
26644
- expiresAt: string;
26645
- /**
26646
- * Refresh token to refresh your access token even after it has expired.
26647
- */
26648
- refreshToken: string;
26649
- /**
26650
- * Public token to identify yourself against the public api.
26651
- */
26652
- token: string;
26548
+ [k: string]: unknown;
26653
26549
  }
26654
26550
  }
26655
26551
  }
26656
26552
  namespace $400 {
26553
+ namespace Content {
26554
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26555
+ }
26556
+ }
26557
+ namespace $409 {
26657
26558
  namespace Content {
26658
26559
  interface ApplicationJson {
26659
26560
  [k: string]: unknown;
@@ -26676,16 +26577,22 @@ export declare namespace MittwaldAPIV2 {
26676
26577
  }
26677
26578
  }
26678
26579
  }
26679
- namespace Delete {
26580
+ }
26581
+ namespace V2UsersSelfCredentialsPasswordUpdatedAt {
26582
+ namespace Get {
26680
26583
  namespace Parameters {
26681
26584
  type Path = {};
26585
+ interface RequestBody {
26586
+ }
26682
26587
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26683
26588
  type Query = {};
26684
26589
  }
26685
26590
  namespace Responses {
26686
- namespace $204 {
26591
+ namespace $200 {
26687
26592
  namespace Content {
26688
- type Empty = unknown;
26593
+ interface ApplicationJson {
26594
+ passwordUpdatedAt: string;
26595
+ }
26689
26596
  }
26690
26597
  }
26691
26598
  namespace $429 {
@@ -26705,24 +26612,21 @@ export declare namespace MittwaldAPIV2 {
26705
26612
  }
26706
26613
  }
26707
26614
  }
26708
- namespace V2Logout {
26709
- namespace Put {
26615
+ namespace V2UsersUserIdSettings {
26616
+ namespace Get {
26710
26617
  namespace Parameters {
26711
- type Path = {};
26712
- interface RequestBody {
26713
- }
26618
+ type Path = {
26619
+ userId: string;
26620
+ };
26714
26621
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26715
26622
  type Query = {};
26716
26623
  }
26717
26624
  namespace Responses {
26718
- namespace $204 {
26719
- namespace Content {
26720
- type Empty = unknown;
26721
- }
26722
- }
26723
- namespace $400 {
26625
+ namespace $200 {
26724
26626
  namespace Content {
26725
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26627
+ interface ApplicationJson {
26628
+ settingsString?: string;
26629
+ }
26726
26630
  }
26727
26631
  }
26728
26632
  namespace $429 {
@@ -26741,26 +26645,19 @@ export declare namespace MittwaldAPIV2 {
26741
26645
  }
26742
26646
  }
26743
26647
  }
26744
- }
26745
- namespace V2Oauth2Authorize {
26746
- namespace Get {
26648
+ namespace Put {
26747
26649
  namespace Parameters {
26748
- type Path = {};
26749
- type Header = {};
26750
- type Query = {
26751
- grant_consent?: boolean;
26752
- grant_type?: "authorization_code";
26753
- response_type: "code";
26754
- client_id: string;
26755
- redirect_uri?: string;
26756
- scope?: string;
26757
- state?: string;
26758
- code_challenge?: string;
26759
- code_challenge_method?: "S256";
26650
+ type Path = {
26651
+ userId: string;
26760
26652
  };
26653
+ interface RequestBody {
26654
+ settingsString: string;
26655
+ }
26656
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26657
+ type Query = {};
26761
26658
  }
26762
26659
  namespace Responses {
26763
- namespace $302 {
26660
+ namespace $204 {
26764
26661
  namespace Content {
26765
26662
  type Empty = unknown;
26766
26663
  }
@@ -26768,8 +26665,7 @@ export declare namespace MittwaldAPIV2 {
26768
26665
  namespace $400 {
26769
26666
  namespace Content {
26770
26667
  interface ApplicationJson {
26771
- error: "invalid_request";
26772
- error_description?: string;
26668
+ [k: string]: unknown;
26773
26669
  }
26774
26670
  }
26775
26671
  }
@@ -26790,60 +26686,32 @@ export declare namespace MittwaldAPIV2 {
26790
26686
  }
26791
26687
  }
26792
26688
  }
26793
- namespace V2Oauth2Token {
26794
- namespace Post {
26689
+ namespace V2PollSettingsUserId {
26690
+ namespace Get {
26795
26691
  namespace Parameters {
26796
- type Path = {};
26797
- interface RequestBody {
26798
- [k: string]: unknown;
26799
- }
26800
- type Header = {
26801
- Authorization?: string;
26692
+ type Path = {
26693
+ userId: string;
26802
26694
  };
26695
+ type Header = {};
26803
26696
  type Query = {};
26804
26697
  }
26805
26698
  namespace Responses {
26806
26699
  namespace $200 {
26700
+ namespace Content {
26701
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26702
+ }
26703
+ }
26704
+ namespace $400 {
26807
26705
  namespace Content {
26808
26706
  interface ApplicationJson {
26809
- /**
26810
- * The access token issued by the authorization server.
26811
- *
26812
- */
26813
- access_token: string;
26814
- /**
26815
- * The lifetime in seconds of the access token. For
26816
- * example, the value "3600" denotes that the access
26817
- * token will expire in one hour from the time the
26818
- * response was generated.
26819
- *
26820
- */
26821
- expires_in: number;
26822
- /**
26823
- * The refresh token issued by the authorization server.
26824
- *
26825
- */
26826
- refresh_token: string;
26827
- /**
26828
- * The scope of the access token as described by
26829
- * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-3.3).
26830
- *
26831
- */
26832
- scope?: string;
26833
- /**
26834
- * The type of the token issued as described in
26835
- * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-7.1).
26836
- *
26837
- */
26838
- token_type: "bearer";
26707
+ [k: string]: unknown;
26839
26708
  }
26840
26709
  }
26841
26710
  }
26842
- namespace $400 {
26711
+ namespace $404 {
26843
26712
  namespace Content {
26844
26713
  interface ApplicationJson {
26845
- error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
26846
- error_description?: string;
26714
+ [k: string]: unknown;
26847
26715
  }
26848
26716
  }
26849
26717
  }
@@ -26863,37 +26731,36 @@ export declare namespace MittwaldAPIV2 {
26863
26731
  }
26864
26732
  }
26865
26733
  }
26866
- }
26867
- namespace V2SignupRegistration { }
26868
- namespace V2Register {
26869
26734
  namespace Post {
26870
26735
  namespace Parameters {
26871
- type Path = {};
26736
+ type Path = {
26737
+ userId: string;
26738
+ };
26872
26739
  interface RequestBody {
26873
- /**
26874
- * The users email address
26875
- */
26876
- email: string;
26877
- /**
26878
- * The users password.
26879
- */
26880
- password: string;
26881
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
26740
+ status: "completed" | "muted" | "ignored";
26741
+ userId: string;
26882
26742
  }
26883
26743
  type Header = {};
26884
26744
  type Query = {};
26885
26745
  }
26886
26746
  namespace Responses {
26887
- namespace $201 {
26747
+ namespace $200 {
26748
+ namespace Content {
26749
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26750
+ }
26751
+ }
26752
+ namespace $400 {
26888
26753
  namespace Content {
26889
26754
  interface ApplicationJson {
26890
- userId: string;
26755
+ [k: string]: unknown;
26891
26756
  }
26892
26757
  }
26893
26758
  }
26894
- namespace $400 {
26759
+ namespace $403 {
26895
26760
  namespace Content {
26896
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26761
+ interface ApplicationJson {
26762
+ [k: string]: unknown;
26763
+ }
26897
26764
  }
26898
26765
  }
26899
26766
  namespace $429 {
@@ -26913,62 +26780,22 @@ export declare namespace MittwaldAPIV2 {
26913
26780
  }
26914
26781
  }
26915
26782
  }
26916
- namespace V2UsersUserIdAvatar {
26917
- namespace Post {
26783
+ namespace V2UsersSelfSessionsTokenId {
26784
+ namespace Get {
26918
26785
  namespace Parameters {
26919
26786
  type Path = {
26920
- userId: string;
26787
+ tokenId: string;
26921
26788
  };
26922
- interface RequestBody {
26923
- }
26924
26789
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26925
26790
  type Query = {};
26926
26791
  }
26927
26792
  namespace Responses {
26928
26793
  namespace $200 {
26929
26794
  namespace Content {
26930
- interface ApplicationJson {
26931
- /**
26932
- * The `refId` to be used to upload your avatar to the /v2/files/:refId route.
26933
- */
26934
- refId: string;
26935
- /**
26936
- * Contstraints for the avatar image upload.
26937
- */
26938
- rules: {
26939
- /**
26940
- * Maximum size in Bytes of the avatar image.
26941
- */
26942
- maxSizeInBytes: number;
26943
- /**
26944
- * @deprecated
26945
- * Deprecated. Maximum size in kilobytes of the avatar image.
26946
- */
26947
- maxSizeInKB: number;
26948
- /**
26949
- * List of supported mime types.
26950
- */
26951
- mimeTypes: string[];
26952
- properties?: {
26953
- /**
26954
- * Supported range of dimensions for the avatar image.
26955
- */
26956
- imageDimensions?: {
26957
- max?: {
26958
- height?: number;
26959
- width?: number;
26960
- };
26961
- min?: {
26962
- height?: number;
26963
- width?: number;
26964
- };
26965
- };
26966
- };
26967
- };
26968
- }
26795
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession;
26969
26796
  }
26970
26797
  }
26971
- namespace $400 {
26798
+ namespace $404 {
26972
26799
  namespace Content {
26973
26800
  interface ApplicationJson {
26974
26801
  [k: string]: unknown;
@@ -26994,7 +26821,7 @@ export declare namespace MittwaldAPIV2 {
26994
26821
  namespace Delete {
26995
26822
  namespace Parameters {
26996
26823
  type Path = {
26997
- userId: string;
26824
+ tokenId: string;
26998
26825
  };
26999
26826
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27000
26827
  type Query = {};
@@ -27005,7 +26832,7 @@ export declare namespace MittwaldAPIV2 {
27005
26832
  type Empty = unknown;
27006
26833
  }
27007
26834
  }
27008
- namespace $400 {
26835
+ namespace $404 {
27009
26836
  namespace Content {
27010
26837
  interface ApplicationJson {
27011
26838
  [k: string]: unknown;
@@ -27029,29 +26856,36 @@ export declare namespace MittwaldAPIV2 {
27029
26856
  }
27030
26857
  }
27031
26858
  }
27032
- namespace V2UsersSelfCredentialsEmailActionsResendEmail {
27033
- namespace Post {
26859
+ namespace V2UsersUserId {
26860
+ namespace Get {
27034
26861
  namespace Parameters {
27035
- type Path = {};
27036
- interface RequestBody {
27037
- email: string;
26862
+ type Path = {
27038
26863
  userId: string;
27039
- }
27040
- type Header = {};
26864
+ };
26865
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27041
26866
  type Query = {};
27042
26867
  }
27043
26868
  namespace Responses {
27044
- namespace $204 {
26869
+ namespace $200 {
27045
26870
  namespace Content {
27046
- type Empty = unknown;
26871
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUser;
27047
26872
  }
27048
26873
  }
27049
- namespace $400 {
26874
+ namespace $403 {
27050
26875
  namespace Content {
27051
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26876
+ interface ApplicationJson {
26877
+ [k: string]: unknown;
26878
+ }
27052
26879
  }
27053
26880
  }
27054
- namespace $429 {
26881
+ namespace $404 {
26882
+ namespace Content {
26883
+ interface ApplicationJson {
26884
+ [k: string]: unknown;
26885
+ }
26886
+ }
26887
+ }
26888
+ namespace $412 {
27055
26889
  namespace Content {
27056
26890
  interface ApplicationJson {
27057
26891
  [k: string]: unknown;
@@ -27067,31 +26901,27 @@ export declare namespace MittwaldAPIV2 {
27067
26901
  }
27068
26902
  }
27069
26903
  }
27070
- }
27071
- namespace V2SignupMfaResetRecoverycodes { }
27072
- namespace V2SignupSupportcode { }
27073
- namespace V2SignupSupportcodes { }
27074
- namespace V2UsersSelfCredentialsSupportCode {
27075
- namespace Get {
26904
+ namespace Put {
27076
26905
  namespace Parameters {
27077
- type Path = {};
27078
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27079
- type Query = {
27080
- forceRecreate?: boolean;
26906
+ type Path = {
26907
+ userId: string;
27081
26908
  };
26909
+ interface RequestBody {
26910
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
26911
+ }
26912
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26913
+ type Query = {};
27082
26914
  }
27083
26915
  namespace Responses {
27084
- namespace $200 {
26916
+ namespace $204 {
26917
+ namespace Content {
26918
+ type Empty = unknown;
26919
+ }
26920
+ }
26921
+ namespace $400 {
27085
26922
  namespace Content {
27086
26923
  interface ApplicationJson {
27087
- /**
27088
- * Expiration of the support code
27089
- */
27090
- expiresAt: string;
27091
- /**
27092
- * support code to authenticate yourself against the mittwald support via telephone
27093
- */
27094
- supportCode: string;
26924
+ [k: string]: unknown;
27095
26925
  }
27096
26926
  }
27097
26927
  }
@@ -27112,27 +26942,31 @@ export declare namespace MittwaldAPIV2 {
27112
26942
  }
27113
26943
  }
27114
26944
  }
27115
- namespace V2UsersSelfCredentialsEmailActionsVerifyEmail {
26945
+ namespace V2UsersSelfCredentialsInitMfa {
27116
26946
  namespace Post {
27117
26947
  namespace Parameters {
27118
26948
  type Path = {};
27119
26949
  interface RequestBody {
27120
- /**
27121
- * The Email-Address to verify.
27122
- */
27123
- email: string;
27124
- /**
27125
- * The token found in the verification email.
27126
- */
27127
- token?: string;
27128
26950
  }
27129
26951
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27130
26952
  type Query = {};
27131
26953
  }
27132
26954
  namespace Responses {
27133
- namespace $204 {
26955
+ namespace $200 {
27134
26956
  namespace Content {
27135
- type Empty = unknown;
26957
+ interface ApplicationJson {
26958
+ /**
26959
+ * base64 encoded barcode content to scan from your mfa app. e.g. `iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAAAAADYoy...`. You
26960
+ * can display it with `<img src="data:image/png;base64,iVBORw0KGgoAAAANSUh.." />`
26961
+ *
26962
+ */
26963
+ barcode: string;
26964
+ /**
26965
+ * Same as barcode, but in URL form.
26966
+ *
26967
+ */
26968
+ url: string;
26969
+ }
27136
26970
  }
27137
26971
  }
27138
26972
  namespace $400 {
@@ -27140,13 +26974,6 @@ export declare namespace MittwaldAPIV2 {
27140
26974
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27141
26975
  }
27142
26976
  }
27143
- namespace $404 {
27144
- namespace Content {
27145
- interface ApplicationJson {
27146
- [k: string]: unknown;
27147
- }
27148
- }
27149
- }
27150
26977
  namespace $429 {
27151
26978
  namespace Content {
27152
26979
  interface ApplicationJson {
@@ -27164,47 +26991,65 @@ export declare namespace MittwaldAPIV2 {
27164
26991
  }
27165
26992
  }
27166
26993
  }
27167
- namespace V2UsersUserIdPhoneVerify { }
27168
- namespace V2UsersUserIdActionsVerifyPhone {
26994
+ namespace V2UsersSelfCredentialsActionsInitPasswordReset {
27169
26995
  namespace Post {
27170
26996
  namespace Parameters {
27171
- type Path = {
27172
- userId: string;
27173
- };
26997
+ type Path = {};
27174
26998
  interface RequestBody {
27175
- code: string;
27176
- phoneNumber: string;
26999
+ /**
27000
+ * Email address to reset the password for.
27001
+ */
27002
+ email: string;
27177
27003
  }
27178
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27004
+ type Header = {};
27179
27005
  type Query = {};
27180
27006
  }
27181
27007
  namespace Responses {
27182
- namespace $204 {
27008
+ namespace $201 {
27183
27009
  namespace Content {
27184
- type Empty = unknown;
27010
+ interface ApplicationJson {
27011
+ }
27185
27012
  }
27186
27013
  }
27187
27014
  namespace $400 {
27188
27015
  namespace Content {
27189
- interface ApplicationJson {
27190
- [k: string]: unknown;
27191
- }
27016
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27192
27017
  }
27193
27018
  }
27194
- namespace $404 {
27019
+ namespace $429 {
27195
27020
  namespace Content {
27196
27021
  interface ApplicationJson {
27197
27022
  [k: string]: unknown;
27198
27023
  }
27199
27024
  }
27200
27025
  }
27201
- namespace $409 {
27026
+ namespace Default {
27202
27027
  namespace Content {
27203
27028
  interface ApplicationJson {
27204
27029
  [k: string]: unknown;
27205
27030
  }
27206
27031
  }
27207
27032
  }
27033
+ }
27034
+ }
27035
+ }
27036
+ namespace V2UsersUserIdFeedback {
27037
+ namespace Get {
27038
+ namespace Parameters {
27039
+ type Path = {
27040
+ userId: string;
27041
+ };
27042
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27043
+ type Query = {
27044
+ subject?: string;
27045
+ };
27046
+ }
27047
+ namespace Responses {
27048
+ namespace $200 {
27049
+ namespace Content {
27050
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUserFeedback[];
27051
+ }
27052
+ }
27208
27053
  namespace $429 {
27209
27054
  namespace Content {
27210
27055
  interface ApplicationJson {
@@ -27222,45 +27067,21 @@ export declare namespace MittwaldAPIV2 {
27222
27067
  }
27223
27068
  }
27224
27069
  }
27225
- namespace V2SignupRegistrationVerification { }
27226
- namespace V2VerifyRegistration {
27227
- namespace Post {
27070
+ namespace V2UsersSelfSessions {
27071
+ namespace Get {
27228
27072
  namespace Parameters {
27229
27073
  type Path = {};
27230
- interface RequestBody {
27231
- /**
27232
- * The users email address.
27233
- */
27234
- email: string;
27235
- /**
27236
- * The token that was send to your email address
27237
- */
27238
- token: string;
27239
- /**
27240
- * UUID of the registered user.
27241
- */
27242
- userId: string;
27243
- }
27244
- type Header = {};
27245
- type Query = {};
27074
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27075
+ type Query = {
27076
+ limit?: number;
27077
+ skip?: number;
27078
+ page?: number;
27079
+ };
27246
27080
  }
27247
27081
  namespace Responses {
27248
27082
  namespace $200 {
27249
27083
  namespace Content {
27250
- interface ApplicationJson {
27251
- }
27252
- }
27253
- }
27254
- namespace $400 {
27255
- namespace Content {
27256
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27257
- }
27258
- }
27259
- namespace $404 {
27260
- namespace Content {
27261
- interface ApplicationJson {
27262
- [k: string]: unknown;
27263
- }
27084
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession[];
27264
27085
  }
27265
27086
  }
27266
27087
  namespace $429 {
@@ -27279,21 +27100,32 @@ export declare namespace MittwaldAPIV2 {
27279
27100
  }
27280
27101
  }
27281
27102
  }
27282
- }
27283
- namespace V2ActionsDetectPhishingEmail {
27284
- namespace Post {
27103
+ namespace Put {
27285
27104
  namespace Parameters {
27286
27105
  type Path = {};
27287
27106
  interface RequestBody {
27288
- [k: string]: unknown;
27107
+ refreshToken: string;
27289
27108
  }
27290
- type Header = {};
27109
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27291
27110
  type Query = {};
27292
27111
  }
27293
27112
  namespace Responses {
27294
27113
  namespace $200 {
27295
27114
  namespace Content {
27296
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.VerificationEmailDetectPhishingMailResponse;
27115
+ interface ApplicationJson {
27116
+ /**
27117
+ * The expiration date of the token.
27118
+ */
27119
+ expiresAt: string;
27120
+ /**
27121
+ * Refresh token to refresh your access token even after it has expired.
27122
+ */
27123
+ refreshToken: string;
27124
+ /**
27125
+ * Public token to identify yourself against the public api.
27126
+ */
27127
+ token: string;
27128
+ }
27297
27129
  }
27298
27130
  }
27299
27131
  namespace $400 {
@@ -27319,32 +27151,16 @@ export declare namespace MittwaldAPIV2 {
27319
27151
  }
27320
27152
  }
27321
27153
  }
27322
- }
27323
- namespace V2ActionsVerifyAddress {
27324
- namespace Post {
27154
+ namespace Delete {
27325
27155
  namespace Parameters {
27326
27156
  type Path = {};
27327
- interface RequestBody {
27328
- city: string;
27329
- /**
27330
- * Accepts the whole english or german name as well as the ISO 3166-2 country codes.
27331
- */
27332
- country: string;
27333
- /**
27334
- * Includes the house number.
27335
- */
27336
- street: string;
27337
- zip: string;
27338
- }
27339
- type Header = {};
27157
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27340
27158
  type Query = {};
27341
27159
  }
27342
27160
  namespace Responses {
27343
- namespace $200 {
27161
+ namespace $204 {
27344
27162
  namespace Content {
27345
- interface ApplicationJson {
27346
- exists: boolean;
27347
- }
27163
+ type Empty = unknown;
27348
27164
  }
27349
27165
  }
27350
27166
  namespace $429 {
@@ -27354,11 +27170,6 @@ export declare namespace MittwaldAPIV2 {
27354
27170
  }
27355
27171
  }
27356
27172
  }
27357
- namespace $500 {
27358
- namespace Content {
27359
- type Empty = unknown;
27360
- }
27361
- }
27362
27173
  namespace Default {
27363
27174
  namespace Content {
27364
27175
  interface ApplicationJson {
@@ -27369,27 +27180,24 @@ export declare namespace MittwaldAPIV2 {
27369
27180
  }
27370
27181
  }
27371
27182
  }
27372
- namespace V2ActionsVerifyCompany {
27373
- namespace Post {
27183
+ namespace V2Logout {
27184
+ namespace Put {
27374
27185
  namespace Parameters {
27375
27186
  type Path = {};
27376
27187
  interface RequestBody {
27377
- name: string;
27378
27188
  }
27379
27189
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27380
27190
  type Query = {};
27381
27191
  }
27382
27192
  namespace Responses {
27383
- namespace $200 {
27193
+ namespace $204 {
27384
27194
  namespace Content {
27385
- interface ApplicationJson {
27386
- exists: boolean;
27387
- }
27195
+ type Empty = unknown;
27388
27196
  }
27389
27197
  }
27390
- namespace $412 {
27198
+ namespace $400 {
27391
27199
  namespace Content {
27392
- type Empty = unknown;
27200
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27393
27201
  }
27394
27202
  }
27395
27203
  namespace $429 {
@@ -27399,11 +27207,6 @@ export declare namespace MittwaldAPIV2 {
27399
27207
  }
27400
27208
  }
27401
27209
  }
27402
- namespace $500 {
27403
- namespace Content {
27404
- type Empty = unknown;
27405
- }
27406
- }
27407
27210
  namespace Default {
27408
27211
  namespace Content {
27409
27212
  interface ApplicationJson {
@@ -27414,29 +27217,34 @@ export declare namespace MittwaldAPIV2 {
27414
27217
  }
27415
27218
  }
27416
27219
  }
27417
- namespace V2CertificatesCertificateIdActionsCheckReplaceCertificate {
27418
- namespace Post {
27220
+ namespace V2Oauth2Authorize {
27221
+ namespace Get {
27419
27222
  namespace Parameters {
27420
- type Path = {
27421
- certificateId: string;
27223
+ type Path = {};
27224
+ type Header = {};
27225
+ type Query = {
27226
+ grant_consent?: boolean;
27227
+ grant_type?: "authorization_code";
27228
+ response_type: "code";
27229
+ client_id: string;
27230
+ redirect_uri?: string;
27231
+ scope?: string;
27232
+ state?: string;
27233
+ code_challenge?: string;
27234
+ code_challenge_method?: "S256";
27422
27235
  };
27423
- interface RequestBody {
27424
- certificate: string;
27425
- privateKey?: string;
27426
- }
27427
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27428
- type Query = {};
27429
27236
  }
27430
27237
  namespace Responses {
27431
- namespace $200 {
27238
+ namespace $302 {
27432
27239
  namespace Content {
27433
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCheckReplaceCertificateResponse;
27240
+ type Empty = unknown;
27434
27241
  }
27435
27242
  }
27436
- namespace $404 {
27243
+ namespace $400 {
27437
27244
  namespace Content {
27438
27245
  interface ApplicationJson {
27439
- [k: string]: unknown;
27246
+ error: "invalid_request";
27247
+ error_description?: string;
27440
27248
  }
27441
27249
  }
27442
27250
  }
@@ -27457,25 +27265,60 @@ export declare namespace MittwaldAPIV2 {
27457
27265
  }
27458
27266
  }
27459
27267
  }
27460
- namespace V2CertificatesCertificateId {
27461
- namespace Get {
27268
+ namespace V2Oauth2Token {
27269
+ namespace Post {
27462
27270
  namespace Parameters {
27463
- type Path = {
27464
- certificateId: string;
27271
+ type Path = {};
27272
+ interface RequestBody {
27273
+ [k: string]: unknown;
27274
+ }
27275
+ type Header = {
27276
+ Authorization?: string;
27465
27277
  };
27466
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27467
27278
  type Query = {};
27468
27279
  }
27469
27280
  namespace Responses {
27470
27281
  namespace $200 {
27471
27282
  namespace Content {
27472
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate;
27283
+ interface ApplicationJson {
27284
+ /**
27285
+ * The access token issued by the authorization server.
27286
+ *
27287
+ */
27288
+ access_token: string;
27289
+ /**
27290
+ * The lifetime in seconds of the access token. For
27291
+ * example, the value "3600" denotes that the access
27292
+ * token will expire in one hour from the time the
27293
+ * response was generated.
27294
+ *
27295
+ */
27296
+ expires_in: number;
27297
+ /**
27298
+ * The refresh token issued by the authorization server.
27299
+ *
27300
+ */
27301
+ refresh_token: string;
27302
+ /**
27303
+ * The scope of the access token as described by
27304
+ * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-3.3).
27305
+ *
27306
+ */
27307
+ scope?: string;
27308
+ /**
27309
+ * The type of the token issued as described in
27310
+ * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-7.1).
27311
+ *
27312
+ */
27313
+ token_type: "bearer";
27314
+ }
27473
27315
  }
27474
27316
  }
27475
- namespace $404 {
27317
+ namespace $400 {
27476
27318
  namespace Content {
27477
27319
  interface ApplicationJson {
27478
- [k: string]: unknown;
27320
+ error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
27321
+ error_description?: string;
27479
27322
  }
27480
27323
  }
27481
27324
  }
@@ -27495,36 +27338,37 @@ export declare namespace MittwaldAPIV2 {
27495
27338
  }
27496
27339
  }
27497
27340
  }
27498
- namespace Put {
27341
+ }
27342
+ namespace V2SignupRegistration { }
27343
+ namespace V2Register {
27344
+ namespace Post {
27499
27345
  namespace Parameters {
27500
- type Path = {
27501
- certificateId: string;
27502
- };
27346
+ type Path = {};
27503
27347
  interface RequestBody {
27504
- certificate: string;
27505
- privateKey?: string;
27348
+ /**
27349
+ * The users email address
27350
+ */
27351
+ email: string;
27352
+ /**
27353
+ * The users password.
27354
+ */
27355
+ password: string;
27356
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
27506
27357
  }
27507
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27358
+ type Header = {};
27508
27359
  type Query = {};
27509
27360
  }
27510
27361
  namespace Responses {
27511
- namespace $204 {
27512
- namespace Content {
27513
- type Empty = unknown;
27514
- }
27515
- }
27516
- namespace $400 {
27362
+ namespace $201 {
27517
27363
  namespace Content {
27518
27364
  interface ApplicationJson {
27519
- [k: string]: unknown;
27365
+ userId: string;
27520
27366
  }
27521
27367
  }
27522
27368
  }
27523
- namespace $404 {
27369
+ namespace $400 {
27524
27370
  namespace Content {
27525
- interface ApplicationJson {
27526
- [k: string]: unknown;
27527
- }
27371
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27528
27372
  }
27529
27373
  }
27530
27374
  namespace $429 {
@@ -27544,23 +27388,62 @@ export declare namespace MittwaldAPIV2 {
27544
27388
  }
27545
27389
  }
27546
27390
  }
27547
- namespace V2CertificateRequests {
27548
- namespace Get {
27391
+ namespace V2UsersUserIdAvatar {
27392
+ namespace Post {
27549
27393
  namespace Parameters {
27550
- type Path = {};
27551
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27552
- type Query = {
27553
- projectId?: string;
27554
- ingressId?: string;
27394
+ type Path = {
27395
+ userId: string;
27555
27396
  };
27397
+ interface RequestBody {
27398
+ }
27399
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27400
+ type Query = {};
27556
27401
  }
27557
27402
  namespace Responses {
27558
27403
  namespace $200 {
27559
27404
  namespace Content {
27560
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest[];
27405
+ interface ApplicationJson {
27406
+ /**
27407
+ * The `refId` to be used to upload your avatar to the /v2/files/:refId route.
27408
+ */
27409
+ refId: string;
27410
+ /**
27411
+ * Contstraints for the avatar image upload.
27412
+ */
27413
+ rules: {
27414
+ /**
27415
+ * Maximum size in Bytes of the avatar image.
27416
+ */
27417
+ maxSizeInBytes: number;
27418
+ /**
27419
+ * @deprecated
27420
+ * Deprecated. Maximum size in kilobytes of the avatar image.
27421
+ */
27422
+ maxSizeInKB: number;
27423
+ /**
27424
+ * List of supported mime types.
27425
+ */
27426
+ mimeTypes: string[];
27427
+ properties?: {
27428
+ /**
27429
+ * Supported range of dimensions for the avatar image.
27430
+ */
27431
+ imageDimensions?: {
27432
+ max?: {
27433
+ height?: number;
27434
+ width?: number;
27435
+ };
27436
+ min?: {
27437
+ height?: number;
27438
+ width?: number;
27439
+ };
27440
+ };
27441
+ };
27442
+ };
27443
+ }
27561
27444
  }
27562
27445
  }
27563
- namespace $404 {
27446
+ namespace $400 {
27564
27447
  namespace Content {
27565
27448
  interface ApplicationJson {
27566
27449
  [k: string]: unknown;
@@ -27583,27 +27466,21 @@ export declare namespace MittwaldAPIV2 {
27583
27466
  }
27584
27467
  }
27585
27468
  }
27586
- namespace Post {
27469
+ namespace Delete {
27587
27470
  namespace Parameters {
27588
- type Path = {};
27589
- type RequestBody = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateRequest | MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateWithCSRRequest;
27471
+ type Path = {
27472
+ userId: string;
27473
+ };
27590
27474
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27591
27475
  type Query = {};
27592
27476
  }
27593
27477
  namespace Responses {
27594
- namespace $201 {
27595
- namespace Content {
27596
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateResponse;
27597
- }
27598
- }
27599
- namespace $400 {
27478
+ namespace $204 {
27600
27479
  namespace Content {
27601
- interface ApplicationJson {
27602
- [k: string]: unknown;
27603
- }
27480
+ type Empty = unknown;
27604
27481
  }
27605
27482
  }
27606
- namespace $404 {
27483
+ namespace $400 {
27607
27484
  namespace Content {
27608
27485
  interface ApplicationJson {
27609
27486
  [k: string]: unknown;
@@ -27627,26 +27504,26 @@ export declare namespace MittwaldAPIV2 {
27627
27504
  }
27628
27505
  }
27629
27506
  }
27630
- namespace V2CertificateRequestsCertificateRequestId {
27631
- namespace Get {
27507
+ namespace V2UsersSelfCredentialsEmailActionsResendEmail {
27508
+ namespace Post {
27632
27509
  namespace Parameters {
27633
- type Path = {
27634
- certificateRequestId: string;
27635
- };
27636
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27510
+ type Path = {};
27511
+ interface RequestBody {
27512
+ email: string;
27513
+ userId: string;
27514
+ }
27515
+ type Header = {};
27637
27516
  type Query = {};
27638
27517
  }
27639
27518
  namespace Responses {
27640
- namespace $200 {
27519
+ namespace $204 {
27641
27520
  namespace Content {
27642
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest;
27521
+ type Empty = unknown;
27643
27522
  }
27644
27523
  }
27645
- namespace $404 {
27524
+ namespace $400 {
27646
27525
  namespace Content {
27647
- interface ApplicationJson {
27648
- [k: string]: unknown;
27649
- }
27526
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27650
27527
  }
27651
27528
  }
27652
27529
  namespace $429 {
@@ -27666,26 +27543,30 @@ export declare namespace MittwaldAPIV2 {
27666
27543
  }
27667
27544
  }
27668
27545
  }
27669
- namespace V2Certificates {
27546
+ namespace V2SignupMfaResetRecoverycodes { }
27547
+ namespace V2SignupSupportcode { }
27548
+ namespace V2SignupSupportcodes { }
27549
+ namespace V2UsersSelfCredentialsSupportCode {
27670
27550
  namespace Get {
27671
27551
  namespace Parameters {
27672
27552
  type Path = {};
27673
27553
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27674
27554
  type Query = {
27675
- projectId?: string;
27676
- ingressId?: string;
27555
+ forceRecreate?: boolean;
27677
27556
  };
27678
27557
  }
27679
27558
  namespace Responses {
27680
27559
  namespace $200 {
27681
- namespace Content {
27682
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate[];
27683
- }
27684
- }
27685
- namespace $404 {
27686
27560
  namespace Content {
27687
27561
  interface ApplicationJson {
27688
- [k: string]: unknown;
27562
+ /**
27563
+ * Expiration of the support code
27564
+ */
27565
+ expiresAt: string;
27566
+ /**
27567
+ * support code to authenticate yourself against the mittwald support via telephone
27568
+ */
27569
+ supportCode: string;
27689
27570
  }
27690
27571
  }
27691
27572
  }
@@ -27706,12 +27587,20 @@ export declare namespace MittwaldAPIV2 {
27706
27587
  }
27707
27588
  }
27708
27589
  }
27709
- namespace V2CertificateRequestCertificateRequestId {
27710
- namespace Delete {
27590
+ namespace V2UsersSelfCredentialsEmailActionsVerifyEmail {
27591
+ namespace Post {
27711
27592
  namespace Parameters {
27712
- type Path = {
27713
- certificateRequestId: string;
27714
- };
27593
+ type Path = {};
27594
+ interface RequestBody {
27595
+ /**
27596
+ * The Email-Address to verify.
27597
+ */
27598
+ email: string;
27599
+ /**
27600
+ * The token found in the verification email.
27601
+ */
27602
+ token?: string;
27603
+ }
27715
27604
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27716
27605
  type Query = {};
27717
27606
  }
@@ -27721,6 +27610,11 @@ export declare namespace MittwaldAPIV2 {
27721
27610
  type Empty = unknown;
27722
27611
  }
27723
27612
  }
27613
+ namespace $400 {
27614
+ namespace Content {
27615
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27616
+ }
27617
+ }
27724
27618
  namespace $404 {
27725
27619
  namespace Content {
27726
27620
  interface ApplicationJson {
@@ -27745,12 +27639,17 @@ export declare namespace MittwaldAPIV2 {
27745
27639
  }
27746
27640
  }
27747
27641
  }
27748
- namespace V2CertificateCertificateId {
27749
- namespace Delete {
27642
+ namespace V2UsersUserIdPhoneVerify { }
27643
+ namespace V2UsersUserIdActionsVerifyPhone {
27644
+ namespace Post {
27750
27645
  namespace Parameters {
27751
27646
  type Path = {
27752
- certificateId: string;
27647
+ userId: string;
27753
27648
  };
27649
+ interface RequestBody {
27650
+ code: string;
27651
+ phoneNumber: string;
27652
+ }
27754
27653
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27755
27654
  type Query = {};
27756
27655
  }
@@ -27760,6 +27659,13 @@ export declare namespace MittwaldAPIV2 {
27760
27659
  type Empty = unknown;
27761
27660
  }
27762
27661
  }
27662
+ namespace $400 {
27663
+ namespace Content {
27664
+ interface ApplicationJson {
27665
+ [k: string]: unknown;
27666
+ }
27667
+ }
27668
+ }
27763
27669
  namespace $404 {
27764
27670
  namespace Content {
27765
27671
  interface ApplicationJson {
@@ -27767,6 +27673,13 @@ export declare namespace MittwaldAPIV2 {
27767
27673
  }
27768
27674
  }
27769
27675
  }
27676
+ namespace $409 {
27677
+ namespace Content {
27678
+ interface ApplicationJson {
27679
+ [k: string]: unknown;
27680
+ }
27681
+ }
27682
+ }
27770
27683
  namespace $429 {
27771
27684
  namespace Content {
27772
27685
  interface ApplicationJson {
@@ -27784,22 +27697,41 @@ export declare namespace MittwaldAPIV2 {
27784
27697
  }
27785
27698
  }
27786
27699
  }
27787
- namespace InternalV2ContributorsContributorIdActionsReject {
27700
+ namespace V2SignupRegistrationVerification { }
27701
+ namespace V2VerifyRegistration {
27788
27702
  namespace Post {
27789
27703
  namespace Parameters {
27790
- type Path = {
27791
- contributorId: string;
27792
- };
27793
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27704
+ type Path = {};
27705
+ interface RequestBody {
27706
+ /**
27707
+ * The users email address.
27708
+ */
27709
+ email: string;
27710
+ /**
27711
+ * The token that was send to your email address
27712
+ */
27713
+ token: string;
27714
+ /**
27715
+ * UUID of the registered user.
27716
+ */
27717
+ userId: string;
27718
+ }
27719
+ type Header = {};
27794
27720
  type Query = {};
27795
27721
  }
27796
27722
  namespace Responses {
27797
- namespace $201 {
27723
+ namespace $200 {
27798
27724
  namespace Content {
27799
- type Empty = unknown;
27725
+ interface ApplicationJson {
27726
+ }
27800
27727
  }
27801
27728
  }
27802
27729
  namespace $400 {
27730
+ namespace Content {
27731
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27732
+ }
27733
+ }
27734
+ namespace $404 {
27803
27735
  namespace Content {
27804
27736
  interface ApplicationJson {
27805
27737
  [k: string]: unknown;
@@ -27823,19 +27755,20 @@ export declare namespace MittwaldAPIV2 {
27823
27755
  }
27824
27756
  }
27825
27757
  }
27826
- namespace InternalV2ContributorsContributorIdActionsVerify {
27758
+ namespace V2ActionsDetectPhishingEmail {
27827
27759
  namespace Post {
27828
27760
  namespace Parameters {
27829
- type Path = {
27830
- contributorId: string;
27831
- };
27832
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27761
+ type Path = {};
27762
+ interface RequestBody {
27763
+ [k: string]: unknown;
27764
+ }
27765
+ type Header = {};
27833
27766
  type Query = {};
27834
27767
  }
27835
27768
  namespace Responses {
27836
- namespace $201 {
27769
+ namespace $200 {
27837
27770
  namespace Content {
27838
- type Empty = unknown;
27771
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.VerificationEmailDetectPhishingMailResponse;
27839
27772
  }
27840
27773
  }
27841
27774
  namespace $400 {
@@ -27862,50 +27795,78 @@ export declare namespace MittwaldAPIV2 {
27862
27795
  }
27863
27796
  }
27864
27797
  }
27865
- namespace V2ExtensionInstancesExtensionInstanceIdContractVariantChange {
27798
+ namespace V2ActionsVerifyAddress {
27866
27799
  namespace Post {
27867
27800
  namespace Parameters {
27868
- type Path = {
27869
- extensionInstanceId: string;
27870
- };
27801
+ type Path = {};
27871
27802
  interface RequestBody {
27803
+ city: string;
27872
27804
  /**
27873
- * The target variant key to change to.
27805
+ * Accepts the whole english or german name as well as the ISO 3166-2 country codes.
27874
27806
  */
27875
- targetVariantKey?: string;
27807
+ country: string;
27808
+ /**
27809
+ * Includes the house number.
27810
+ */
27811
+ street: string;
27812
+ zip: string;
27876
27813
  }
27877
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27814
+ type Header = {};
27878
27815
  type Query = {};
27879
27816
  }
27880
27817
  namespace Responses {
27881
- namespace $201 {
27818
+ namespace $200 {
27882
27819
  namespace Content {
27883
27820
  interface ApplicationJson {
27884
- /**
27885
- * The Date the variant change will be executed.
27886
- */
27887
- effectiveDate?: string;
27888
- /**
27889
- * The ID of the Extension Instance the variant change was scheduled for.
27890
- */
27891
- extensionInstanceId?: string;
27821
+ exists: boolean;
27892
27822
  }
27893
27823
  }
27894
27824
  }
27895
- namespace $400 {
27825
+ namespace $429 {
27896
27826
  namespace Content {
27897
27827
  interface ApplicationJson {
27898
27828
  [k: string]: unknown;
27899
27829
  }
27900
27830
  }
27901
27831
  }
27902
- namespace $404 {
27832
+ namespace $500 {
27833
+ namespace Content {
27834
+ type Empty = unknown;
27835
+ }
27836
+ }
27837
+ namespace Default {
27903
27838
  namespace Content {
27904
27839
  interface ApplicationJson {
27905
27840
  [k: string]: unknown;
27906
27841
  }
27907
27842
  }
27908
27843
  }
27844
+ }
27845
+ }
27846
+ }
27847
+ namespace V2ActionsVerifyCompany {
27848
+ namespace Post {
27849
+ namespace Parameters {
27850
+ type Path = {};
27851
+ interface RequestBody {
27852
+ name: string;
27853
+ }
27854
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27855
+ type Query = {};
27856
+ }
27857
+ namespace Responses {
27858
+ namespace $200 {
27859
+ namespace Content {
27860
+ interface ApplicationJson {
27861
+ exists: boolean;
27862
+ }
27863
+ }
27864
+ }
27865
+ namespace $412 {
27866
+ namespace Content {
27867
+ type Empty = unknown;
27868
+ }
27869
+ }
27909
27870
  namespace $429 {
27910
27871
  namespace Content {
27911
27872
  interface ApplicationJson {
@@ -27913,6 +27874,11 @@ export declare namespace MittwaldAPIV2 {
27913
27874
  }
27914
27875
  }
27915
27876
  }
27877
+ namespace $500 {
27878
+ namespace Content {
27879
+ type Empty = unknown;
27880
+ }
27881
+ }
27916
27882
  namespace Default {
27917
27883
  namespace Content {
27918
27884
  interface ApplicationJson {
@@ -27922,25 +27888,40 @@ export declare namespace MittwaldAPIV2 {
27922
27888
  }
27923
27889
  }
27924
27890
  }
27925
- namespace Delete {
27891
+ }
27892
+ namespace V2MailAddresses {
27893
+ namespace Get {
27926
27894
  namespace Parameters {
27927
- type Path = {
27928
- extensionInstanceId: string;
27929
- };
27930
- interface RequestBody {
27931
- }
27895
+ type Path = {};
27932
27896
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27933
- type Query = {};
27897
+ type Query = {
27898
+ projectId?: string;
27899
+ search?: string;
27900
+ forwardAddress?: boolean;
27901
+ catchAll?: boolean;
27902
+ autoResponder?: boolean;
27903
+ mailArchive?: boolean;
27904
+ limit?: number;
27905
+ skip?: number;
27906
+ page?: number;
27907
+ sort?: ("address.domain" | "address.local" | "updatedAt" | "projectId" | "mailbox.quota" | "mailbox.name" | "mailbox.storageInBytes.current" | "mailbox.storageInBytes.limit")[];
27908
+ order?: ("asc" | "desc")[];
27909
+ };
27934
27910
  }
27935
27911
  namespace Responses {
27936
27912
  namespace $200 {
27913
+ namespace Content {
27914
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.MailMailAddress[];
27915
+ }
27916
+ }
27917
+ namespace $400 {
27937
27918
  namespace Content {
27938
27919
  interface ApplicationJson {
27939
- extensionInstanceId: string;
27920
+ [k: string]: unknown;
27940
27921
  }
27941
27922
  }
27942
27923
  }
27943
- namespace $400 {
27924
+ namespace $403 {
27944
27925
  namespace Content {
27945
27926
  interface ApplicationJson {
27946
27927
  [k: string]: unknown;
@@ -27961,6 +27942,20 @@ export declare namespace MittwaldAPIV2 {
27961
27942
  }
27962
27943
  }
27963
27944
  }
27945
+ namespace $500 {
27946
+ namespace Content {
27947
+ interface ApplicationJson {
27948
+ [k: string]: unknown;
27949
+ }
27950
+ }
27951
+ }
27952
+ namespace $503 {
27953
+ namespace Content {
27954
+ interface ApplicationJson {
27955
+ [k: string]: unknown;
27956
+ }
27957
+ }
27958
+ }
27964
27959
  namespace Default {
27965
27960
  namespace Content {
27966
27961
  interface ApplicationJson {