@mittwald/api-client 4.260.0 → 4.262.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.
@@ -1470,42 +1470,6 @@ export declare namespace MittwaldAPIV2 {
1470
1470
  type RequestData = InferredRequestData<typeof descriptors.sshUserUpdateSshUser>;
1471
1471
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sshUserUpdateSshUser, TStatus>;
1472
1472
  }
1473
- namespace SslCheckReplaceCertificate {
1474
- type RequestData = InferredRequestData<typeof descriptors.sslCheckReplaceCertificate>;
1475
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslCheckReplaceCertificate, TStatus>;
1476
- }
1477
- namespace SslListCertificateRequests {
1478
- type RequestData = InferredRequestData<typeof descriptors.sslListCertificateRequests>;
1479
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslListCertificateRequests, TStatus>;
1480
- }
1481
- namespace SslCreateCertificateRequest {
1482
- type RequestData = InferredRequestData<typeof descriptors.sslCreateCertificateRequest>;
1483
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslCreateCertificateRequest, TStatus>;
1484
- }
1485
- namespace SslDeleteCertificateRequest {
1486
- type RequestData = InferredRequestData<typeof descriptors.sslDeleteCertificateRequest>;
1487
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslDeleteCertificateRequest, TStatus>;
1488
- }
1489
- namespace SslDeleteCertificate {
1490
- type RequestData = InferredRequestData<typeof descriptors.sslDeleteCertificate>;
1491
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslDeleteCertificate, TStatus>;
1492
- }
1493
- namespace SslGetCertificateRequest {
1494
- type RequestData = InferredRequestData<typeof descriptors.sslGetCertificateRequest>;
1495
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslGetCertificateRequest, TStatus>;
1496
- }
1497
- namespace SslGetCertificate {
1498
- type RequestData = InferredRequestData<typeof descriptors.sslGetCertificate>;
1499
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslGetCertificate, TStatus>;
1500
- }
1501
- namespace SslReplaceCertificate {
1502
- type RequestData = InferredRequestData<typeof descriptors.sslReplaceCertificate>;
1503
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslReplaceCertificate, TStatus>;
1504
- }
1505
- namespace SslListCertificates {
1506
- type RequestData = InferredRequestData<typeof descriptors.sslListCertificates>;
1507
- type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.sslListCertificates, TStatus>;
1508
- }
1509
1473
  namespace StoragespaceGetProjectStatistics {
1510
1474
  type RequestData = InferredRequestData<typeof descriptors.storagespaceGetProjectStatistics>;
1511
1475
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.storagespaceGetProjectStatistics, TStatus>;
@@ -1742,6 +1706,42 @@ export declare namespace MittwaldAPIV2 {
1742
1706
  type RequestData = InferredRequestData<typeof descriptors.verificationVerifyCompany>;
1743
1707
  type ResponseData<TStatus extends HttpStatus = 200> = InferredResponseData<typeof descriptors.verificationVerifyCompany, TStatus>;
1744
1708
  }
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
1745
  }
1746
1746
  namespace Components {
1747
1747
  namespace Schemas {
@@ -3284,6 +3284,7 @@ export declare namespace MittwaldAPIV2 {
3284
3284
  logoRefId: string;
3285
3285
  name: string;
3286
3286
  pricing?: MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy;
3287
+ pricingDetails?: MittwaldAPIV2.Components.Schemas.MarketplacePricePlanDetails;
3287
3288
  /**
3288
3289
  * Whether the extension has been published by the contributor.
3289
3290
  */
@@ -3519,6 +3520,7 @@ export declare namespace MittwaldAPIV2 {
3519
3520
  logoRefId?: string;
3520
3521
  name: string;
3521
3522
  pricing?: MittwaldAPIV2.Components.Schemas.MarketplaceMonthlyPricePlanStrategy;
3523
+ pricingDetails?: MittwaldAPIV2.Components.Schemas.MarketplacePricePlanDetails;
3522
3524
  published: boolean;
3523
3525
  requestedChanges?: {
3524
3526
  context?: MittwaldAPIV2.Components.Schemas.MarketplaceContext;
@@ -3548,11 +3550,21 @@ export declare namespace MittwaldAPIV2 {
3548
3550
  verified: boolean;
3549
3551
  webhookUrls?: MittwaldAPIV2.Components.Schemas.MarketplaceWebhookUrls;
3550
3552
  }
3553
+ /**
3554
+ * The details section of the price plan. It informs if choosing different variants as a upgrade or downgrade is possible.
3555
+ */
3556
+ interface MarketplacePricePlanDetails {
3557
+ isDowngradeAllowed: boolean;
3558
+ isUpgradeAllowed: boolean;
3559
+ }
3551
3560
  /**
3552
3561
  * A price plan with (multiple) variants, including different prices for different included service descriptions
3553
3562
  */
3554
3563
  type MarketplaceMonthlyPricePlanStrategy = {
3555
3564
  description?: string;
3565
+ /**
3566
+ * If a variant is no longer bookable the existing extension instances will not be removed but no new ones can be created.
3567
+ */
3556
3568
  isBookingStopped: boolean;
3557
3569
  key: string;
3558
3570
  name?: string;
@@ -5127,101 +5139,6 @@ export declare namespace MittwaldAPIV2 {
5127
5139
  updatedAt?: string;
5128
5140
  userName: string;
5129
5141
  }
5130
- interface SslCertificate {
5131
- caBundle?: string;
5132
- certificate: string;
5133
- certificateOrderId?: string;
5134
- certificateRequestId: string;
5135
- certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
5136
- commonName?: string;
5137
- contact?: MittwaldAPIV2.Components.Schemas.SslContact;
5138
- dnsNames?: string[];
5139
- id: string;
5140
- isExpired: boolean;
5141
- issuer?: string;
5142
- lastExpirationThresholdHit: number;
5143
- projectId: string;
5144
- validFrom: string;
5145
- validTo: string;
5146
- }
5147
- interface SslCertificateData {
5148
- caBundle?: string;
5149
- certificate?: string;
5150
- signingRequest?: string;
5151
- }
5152
- interface SslCertificateError {
5153
- 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";
5154
- }
5155
- interface SslCertificateRequest {
5156
- certificateData: MittwaldAPIV2.Components.Schemas.SslCertificateData;
5157
- certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
5158
- commonName?: string;
5159
- contact?: MittwaldAPIV2.Components.Schemas.SslContact;
5160
- createdAt: string;
5161
- dnsNames?: string[];
5162
- id: string;
5163
- isCompleted: boolean;
5164
- issuer?: string;
5165
- projectId: string;
5166
- validFrom?: string;
5167
- validTo?: string;
5168
- }
5169
- interface SslCertificateRequestCreateRequest {
5170
- certificate: string;
5171
- privateKey: string;
5172
- projectId: string;
5173
- }
5174
- interface SslCertificateRequestCreateResponse {
5175
- commonName?: string;
5176
- contact: MittwaldAPIV2.Components.Schemas.SslContact;
5177
- dnsNames?: string[];
5178
- id: string;
5179
- issuer?: string;
5180
- signingRequest?: string;
5181
- validFrom?: string;
5182
- validTo?: string;
5183
- }
5184
- interface SslCertificateRequestCreateWithCSRRequest {
5185
- commonName: string;
5186
- contact: MittwaldAPIV2.Components.Schemas.SslContact;
5187
- projectId: string;
5188
- }
5189
- type SslCertificateType = 0 | 1 | 2;
5190
- interface SslCheckReplaceChanges {
5191
- commonName?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
5192
- dnsNames?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceSliceChange;
5193
- issuer?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
5194
- validFrom?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
5195
- validTo?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
5196
- }
5197
- interface SslCheckReplaceDateChange {
5198
- newValue: string;
5199
- oldValue: string;
5200
- }
5201
- interface SslCheckReplaceFieldChange {
5202
- newValue: string;
5203
- oldValue: string;
5204
- }
5205
- interface SslCheckReplaceCertificateResponse {
5206
- changes?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceChanges;
5207
- errors?: MittwaldAPIV2.Components.Schemas.SslCertificateError[];
5208
- isReplaceable: boolean;
5209
- }
5210
- interface SslCheckReplaceSliceChange {
5211
- addedValues: string[];
5212
- removedValues: string[];
5213
- values: string[];
5214
- }
5215
- interface SslContact {
5216
- city?: string;
5217
- company?: string;
5218
- /**
5219
- * Two letter abbreviation - country code (ISO 3166-1 Alpha-2).
5220
- */
5221
- country?: string;
5222
- organizationalUnit?: string;
5223
- state?: string;
5224
- }
5225
5142
  type StoragespaceStatisticsCategoryKind = "webspace" | "projectBackup" | "mailAddress" | "mysqlDatabase" | "redisDatabase" | "containerVolume";
5226
5143
  interface StoragespaceStatisticsCategory {
5227
5144
  kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategoryKind;
@@ -5490,82 +5407,177 @@ export declare namespace MittwaldAPIV2 {
5490
5407
  }
5491
5408
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
5492
5409
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
5493
- interface CommonsAddress {
5494
- street: string;
5495
- houseNumber: string;
5496
- city: string;
5497
- zip: string;
5498
- /**
5499
- * ISO 3166-1 alpha-2 country code
5500
- */
5501
- countryCode: string;
5502
- addressPrefix?: string;
5503
- }
5504
- interface CommonsContact {
5505
- firstName?: string;
5506
- lastName?: string;
5507
- title?: string;
5508
- salutation: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
5410
+ interface SslContact {
5411
+ city?: string;
5509
5412
  company?: string;
5510
- address: MittwaldAPIV2.Components.Schemas.CommonsAddress;
5511
- emailAddress?: string;
5512
- phoneNumbers?: string[];
5513
- useFormalTerm?: boolean;
5514
- }
5515
- interface CommonsError {
5516
- message: string;
5517
- type: string;
5518
- }
5519
- /**
5520
- * The users personal information, e.g. first name.
5521
- */
5522
- interface CommonsPerson {
5523
- /**
5524
- * The users first name
5525
- */
5526
- firstName: string;
5527
5413
  /**
5528
- * The users last name
5414
+ * Two letter abbreviation - country code (ISO 3166-1 Alpha-2).
5529
5415
  */
5530
- lastName: string;
5531
- title?: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
5416
+ country?: string;
5417
+ organizationalUnit?: string;
5418
+ state?: string;
5532
5419
  }
5533
- type CommonsSalutation = "mr" | "ms" | "other";
5534
- interface CommonsValidationErrorSchema {
5535
- /**
5536
- * The standard error message
5537
- */
5538
- message: string;
5539
- /**
5540
- * The path to the part of the data that was validated. JavaScript property access notation (e.g., ".prop[1].subProp") is used.
5541
- *
5542
- */
5543
- path: string;
5544
- /**
5545
- * ajv validation error type (e.g. "format", "required", "type") or own validation error types
5546
- */
5547
- type: string;
5548
- /**
5549
- * The object with the additional information about the error that can be used to create custom error messages. Keys depend on the
5550
- * type that failed validation (e.g. "missingProperty" for type "required")
5551
- *
5552
- */
5553
- context?: {
5554
- [k: string]: string;
5555
- };
5420
+ interface SslCheckReplaceDateChange {
5421
+ newValue: string;
5422
+ oldValue: string;
5556
5423
  }
5557
- interface CommonsValidationErrors {
5558
- type: "ValidationError";
5559
- message?: string;
5560
- validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
5424
+ type SslCertificateType = 0 | 1 | 2;
5425
+ interface SslCertificateData {
5426
+ caBundle?: string;
5427
+ certificate?: string;
5428
+ signingRequest?: string;
5561
5429
  }
5562
- }
5563
- namespace Parameters { }
5564
- namespace RequestBodies { }
5565
- namespace Responses {
5566
- namespace AppGenericResponse {
5567
- interface ApplicationJson {
5568
- }
5430
+ interface SslCertificateRequestCreateResponse {
5431
+ commonName?: string;
5432
+ contact: MittwaldAPIV2.Components.Schemas.SslContact;
5433
+ dnsNames?: string[];
5434
+ id: string;
5435
+ issuer?: string;
5436
+ signingRequest?: string;
5437
+ validFrom?: string;
5438
+ validTo?: string;
5439
+ }
5440
+ interface SslCheckReplaceChanges {
5441
+ commonName?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
5442
+ dnsNames?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceSliceChange;
5443
+ issuer?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
5444
+ validFrom?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
5445
+ validTo?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
5446
+ }
5447
+ interface SslCheckReplaceSliceChange {
5448
+ addedValues: string[];
5449
+ removedValues: string[];
5450
+ values: string[];
5451
+ }
5452
+ interface SslCertificateRequestCreateRequest {
5453
+ certificate: string;
5454
+ privateKey: string;
5455
+ projectId: string;
5456
+ }
5457
+ interface SslCheckReplaceFieldChange {
5458
+ newValue: string;
5459
+ oldValue: string;
5460
+ }
5461
+ interface SslCertificateRequestCreateWithCSRRequest {
5462
+ commonName: string;
5463
+ contact: MittwaldAPIV2.Components.Schemas.SslContact;
5464
+ projectId: string;
5465
+ }
5466
+ interface SslCheckReplaceCertificateResponse {
5467
+ changes?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceChanges;
5468
+ errors?: MittwaldAPIV2.Components.Schemas.SslCertificateError[];
5469
+ isReplaceable: boolean;
5470
+ }
5471
+ interface SslCertificateRequest {
5472
+ certificateData: MittwaldAPIV2.Components.Schemas.SslCertificateData;
5473
+ certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
5474
+ commonName?: string;
5475
+ contact?: MittwaldAPIV2.Components.Schemas.SslContact;
5476
+ createdAt: string;
5477
+ dnsNames?: string[];
5478
+ id: string;
5479
+ isCompleted: boolean;
5480
+ issuer?: string;
5481
+ projectId: string;
5482
+ validFrom?: string;
5483
+ validTo?: string;
5484
+ }
5485
+ interface SslCertificateError {
5486
+ 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";
5487
+ }
5488
+ interface SslCertificate {
5489
+ caBundle?: string;
5490
+ certificate: string;
5491
+ certificateOrderId?: string;
5492
+ certificateRequestId: string;
5493
+ certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
5494
+ commonName?: string;
5495
+ contact?: MittwaldAPIV2.Components.Schemas.SslContact;
5496
+ dnsNames?: string[];
5497
+ id: string;
5498
+ isExpired: boolean;
5499
+ issuer?: string;
5500
+ lastExpirationThresholdHit: number;
5501
+ projectId: string;
5502
+ validFrom: string;
5503
+ validTo: string;
5504
+ }
5505
+ interface CommonsAddress {
5506
+ street: string;
5507
+ houseNumber: string;
5508
+ city: string;
5509
+ zip: string;
5510
+ /**
5511
+ * ISO 3166-1 alpha-2 country code
5512
+ */
5513
+ countryCode: string;
5514
+ addressPrefix?: string;
5515
+ }
5516
+ interface CommonsContact {
5517
+ firstName?: string;
5518
+ lastName?: string;
5519
+ title?: string;
5520
+ salutation: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
5521
+ company?: string;
5522
+ address: MittwaldAPIV2.Components.Schemas.CommonsAddress;
5523
+ emailAddress?: string;
5524
+ phoneNumbers?: string[];
5525
+ useFormalTerm?: boolean;
5526
+ }
5527
+ interface CommonsError {
5528
+ message: string;
5529
+ type: string;
5530
+ }
5531
+ /**
5532
+ * The users personal information, e.g. first name.
5533
+ */
5534
+ interface CommonsPerson {
5535
+ /**
5536
+ * The users first name
5537
+ */
5538
+ firstName: string;
5539
+ /**
5540
+ * The users last name
5541
+ */
5542
+ lastName: string;
5543
+ title?: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
5544
+ }
5545
+ type CommonsSalutation = "mr" | "ms" | "other";
5546
+ interface CommonsValidationErrorSchema {
5547
+ /**
5548
+ * The standard error message
5549
+ */
5550
+ message: string;
5551
+ /**
5552
+ * The path to the part of the data that was validated. JavaScript property access notation (e.g., ".prop[1].subProp") is used.
5553
+ *
5554
+ */
5555
+ path: string;
5556
+ /**
5557
+ * ajv validation error type (e.g. "format", "required", "type") or own validation error types
5558
+ */
5559
+ type: string;
5560
+ /**
5561
+ * The object with the additional information about the error that can be used to create custom error messages. Keys depend on the
5562
+ * type that failed validation (e.g. "missingProperty" for type "required")
5563
+ *
5564
+ */
5565
+ context?: {
5566
+ [k: string]: string;
5567
+ };
5568
+ }
5569
+ interface CommonsValidationErrors {
5570
+ type: "ValidationError";
5571
+ message?: string;
5572
+ validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
5573
+ }
5574
+ }
5575
+ namespace Parameters { }
5576
+ namespace RequestBodies { }
5577
+ namespace Responses {
5578
+ namespace AppGenericResponse {
5579
+ interface ApplicationJson {
5580
+ }
5569
5581
  }
5570
5582
  namespace CustomerGenericResponse {
5571
5583
  interface ApplicationJson {
@@ -5611,9 +5623,6 @@ export declare namespace MittwaldAPIV2 {
5611
5623
  interface ApplicationJson {
5612
5624
  }
5613
5625
  }
5614
- namespace SslValidationError {
5615
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateError;
5616
- }
5617
5626
  namespace SignupInternalServerError {
5618
5627
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
5619
5628
  name?: "InternalServerError";
@@ -5642,6 +5651,9 @@ export declare namespace MittwaldAPIV2 {
5642
5651
  name: "SecondFactorRequired";
5643
5652
  };
5644
5653
  }
5654
+ namespace SslValidationError {
5655
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateError;
5656
+ }
5645
5657
  namespace CommonsDefaultError {
5646
5658
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
5647
5659
  }
@@ -16609,13 +16621,6 @@ export declare namespace MittwaldAPIV2 {
16609
16621
  }
16610
16622
  }
16611
16623
  }
16612
- namespace $404 {
16613
- namespace Content {
16614
- interface ApplicationJson {
16615
- [k: string]: unknown;
16616
- }
16617
- }
16618
- }
16619
16624
  namespace $412 {
16620
16625
  namespace Content {
16621
16626
  interface ApplicationJson {
@@ -24598,73 +24603,50 @@ export declare namespace MittwaldAPIV2 {
24598
24603
  }
24599
24604
  }
24600
24605
  namespace V2SshusersSshUserId { }
24601
- namespace V2CertificatesCertificateIdActionsCheckReplaceCertificate {
24602
- namespace Post {
24606
+ namespace V2ProjectsProjectIdStorageSpaceStatistics {
24607
+ namespace Get {
24603
24608
  namespace Parameters {
24604
24609
  type Path = {
24605
- certificateId: string;
24610
+ projectId: string;
24606
24611
  };
24607
- interface RequestBody {
24608
- certificate: string;
24609
- privateKey?: string;
24610
- }
24611
24612
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24612
24613
  type Query = {};
24613
24614
  }
24614
24615
  namespace Responses {
24615
24616
  namespace $200 {
24616
24617
  namespace Content {
24617
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCheckReplaceCertificateResponse;
24618
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
24618
24619
  }
24619
24620
  }
24620
- namespace $404 {
24621
+ namespace $400 {
24621
24622
  namespace Content {
24622
24623
  interface ApplicationJson {
24623
24624
  [k: string]: unknown;
24624
24625
  }
24625
24626
  }
24626
24627
  }
24627
- namespace $429 {
24628
+ namespace $403 {
24628
24629
  namespace Content {
24629
24630
  interface ApplicationJson {
24630
24631
  [k: string]: unknown;
24631
24632
  }
24632
24633
  }
24633
24634
  }
24634
- namespace Default {
24635
+ namespace $404 {
24635
24636
  namespace Content {
24636
24637
  interface ApplicationJson {
24637
24638
  [k: string]: unknown;
24638
24639
  }
24639
24640
  }
24640
24641
  }
24641
- }
24642
- }
24643
- }
24644
- namespace V2CertificateRequests {
24645
- namespace Get {
24646
- namespace Parameters {
24647
- type Path = {};
24648
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24649
- type Query = {
24650
- projectId?: string;
24651
- ingressId?: string;
24652
- };
24653
- }
24654
- namespace Responses {
24655
- namespace $200 {
24656
- namespace Content {
24657
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest[];
24658
- }
24659
- }
24660
- namespace $404 {
24642
+ namespace $429 {
24661
24643
  namespace Content {
24662
24644
  interface ApplicationJson {
24663
24645
  [k: string]: unknown;
24664
24646
  }
24665
24647
  }
24666
24648
  }
24667
- namespace $429 {
24649
+ namespace $500 {
24668
24650
  namespace Content {
24669
24651
  interface ApplicationJson {
24670
24652
  [k: string]: unknown;
@@ -24680,17 +24662,20 @@ export declare namespace MittwaldAPIV2 {
24680
24662
  }
24681
24663
  }
24682
24664
  }
24683
- namespace Post {
24665
+ }
24666
+ namespace V2ServersServerIdStorageSpaceStatistics {
24667
+ namespace Get {
24684
24668
  namespace Parameters {
24685
- type Path = {};
24686
- type RequestBody = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateRequest | MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateWithCSRRequest;
24669
+ type Path = {
24670
+ serverId: string;
24671
+ };
24687
24672
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24688
24673
  type Query = {};
24689
24674
  }
24690
24675
  namespace Responses {
24691
- namespace $201 {
24676
+ namespace $200 {
24692
24677
  namespace Content {
24693
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateResponse;
24678
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
24694
24679
  }
24695
24680
  }
24696
24681
  namespace $400 {
@@ -24700,6 +24685,13 @@ export declare namespace MittwaldAPIV2 {
24700
24685
  }
24701
24686
  }
24702
24687
  }
24688
+ namespace $403 {
24689
+ namespace Content {
24690
+ interface ApplicationJson {
24691
+ [k: string]: unknown;
24692
+ }
24693
+ }
24694
+ }
24703
24695
  namespace $404 {
24704
24696
  namespace Content {
24705
24697
  interface ApplicationJson {
@@ -24714,6 +24706,13 @@ export declare namespace MittwaldAPIV2 {
24714
24706
  }
24715
24707
  }
24716
24708
  }
24709
+ namespace $500 {
24710
+ namespace Content {
24711
+ interface ApplicationJson {
24712
+ [k: string]: unknown;
24713
+ }
24714
+ }
24715
+ }
24717
24716
  namespace Default {
24718
24717
  namespace Content {
24719
24718
  interface ApplicationJson {
@@ -24724,12 +24723,15 @@ export declare namespace MittwaldAPIV2 {
24724
24723
  }
24725
24724
  }
24726
24725
  }
24727
- namespace V2CertificateRequestCertificateRequestId {
24728
- namespace Delete {
24726
+ namespace V2ProjectsProjectIdStorageSpaceNotificationThreshold {
24727
+ namespace Put {
24729
24728
  namespace Parameters {
24730
24729
  type Path = {
24731
- certificateRequestId: string;
24730
+ projectId: string;
24732
24731
  };
24732
+ interface RequestBody {
24733
+ notificationThresholdInBytes?: number;
24734
+ }
24733
24735
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24734
24736
  type Query = {};
24735
24737
  }
@@ -24739,7 +24741,7 @@ export declare namespace MittwaldAPIV2 {
24739
24741
  type Empty = unknown;
24740
24742
  }
24741
24743
  }
24742
- namespace $404 {
24744
+ namespace $403 {
24743
24745
  namespace Content {
24744
24746
  interface ApplicationJson {
24745
24747
  [k: string]: unknown;
@@ -24753,6 +24755,13 @@ export declare namespace MittwaldAPIV2 {
24753
24755
  }
24754
24756
  }
24755
24757
  }
24758
+ namespace $500 {
24759
+ namespace Content {
24760
+ interface ApplicationJson {
24761
+ [k: string]: unknown;
24762
+ }
24763
+ }
24764
+ }
24756
24765
  namespace Default {
24757
24766
  namespace Content {
24758
24767
  interface ApplicationJson {
@@ -24763,12 +24772,15 @@ export declare namespace MittwaldAPIV2 {
24763
24772
  }
24764
24773
  }
24765
24774
  }
24766
- namespace V2CertificateCertificateId {
24767
- namespace Delete {
24775
+ namespace V2ServersServerIdStorageSpaceNotificationThreshold {
24776
+ namespace Put {
24768
24777
  namespace Parameters {
24769
24778
  type Path = {
24770
- certificateId: string;
24779
+ serverId: string;
24771
24780
  };
24781
+ interface RequestBody {
24782
+ notificationThresholdInBytes?: number;
24783
+ }
24772
24784
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24773
24785
  type Query = {};
24774
24786
  }
@@ -24778,7 +24790,7 @@ export declare namespace MittwaldAPIV2 {
24778
24790
  type Empty = unknown;
24779
24791
  }
24780
24792
  }
24781
- namespace $404 {
24793
+ namespace $403 {
24782
24794
  namespace Content {
24783
24795
  interface ApplicationJson {
24784
24796
  [k: string]: unknown;
@@ -24792,6 +24804,13 @@ export declare namespace MittwaldAPIV2 {
24792
24804
  }
24793
24805
  }
24794
24806
  }
24807
+ namespace $500 {
24808
+ namespace Content {
24809
+ interface ApplicationJson {
24810
+ [k: string]: unknown;
24811
+ }
24812
+ }
24813
+ }
24795
24814
  namespace Default {
24796
24815
  namespace Content {
24797
24816
  interface ApplicationJson {
@@ -24802,22 +24821,32 @@ export declare namespace MittwaldAPIV2 {
24802
24821
  }
24803
24822
  }
24804
24823
  }
24805
- namespace V2CertificateRequestsCertificateRequestId {
24806
- namespace Get {
24824
+ namespace V2UsersUserIdPhone {
24825
+ namespace Post {
24807
24826
  namespace Parameters {
24808
24827
  type Path = {
24809
- certificateRequestId: string;
24828
+ userId: string;
24810
24829
  };
24830
+ interface RequestBody {
24831
+ phoneNumber: string;
24832
+ }
24811
24833
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24812
24834
  type Query = {};
24813
24835
  }
24814
24836
  namespace Responses {
24815
- namespace $200 {
24837
+ namespace $204 {
24816
24838
  namespace Content {
24817
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest;
24839
+ type Empty = unknown;
24818
24840
  }
24819
24841
  }
24820
- namespace $404 {
24842
+ namespace $400 {
24843
+ namespace Content {
24844
+ interface ApplicationJson {
24845
+ [k: string]: unknown;
24846
+ }
24847
+ }
24848
+ }
24849
+ namespace $409 {
24821
24850
  namespace Content {
24822
24851
  interface ApplicationJson {
24823
24852
  [k: string]: unknown;
@@ -24840,23 +24869,28 @@ export declare namespace MittwaldAPIV2 {
24840
24869
  }
24841
24870
  }
24842
24871
  }
24843
- }
24844
- namespace V2CertificatesCertificateId {
24845
- namespace Get {
24872
+ namespace Delete {
24846
24873
  namespace Parameters {
24847
24874
  type Path = {
24848
- certificateId: string;
24875
+ userId: string;
24849
24876
  };
24850
24877
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24851
24878
  type Query = {};
24852
24879
  }
24853
24880
  namespace Responses {
24854
- namespace $200 {
24881
+ namespace $204 {
24855
24882
  namespace Content {
24856
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate;
24883
+ type Empty = unknown;
24857
24884
  }
24858
24885
  }
24859
- namespace $404 {
24886
+ namespace $400 {
24887
+ namespace Content {
24888
+ interface ApplicationJson {
24889
+ [k: string]: unknown;
24890
+ }
24891
+ }
24892
+ }
24893
+ namespace $412 {
24860
24894
  namespace Content {
24861
24895
  interface ApplicationJson {
24862
24896
  [k: string]: unknown;
@@ -24879,36 +24913,58 @@ export declare namespace MittwaldAPIV2 {
24879
24913
  }
24880
24914
  }
24881
24915
  }
24882
- namespace Put {
24916
+ }
24917
+ namespace V2SignupAuthenticationMfa { }
24918
+ namespace V2AuthenticateMfa {
24919
+ namespace Post {
24883
24920
  namespace Parameters {
24884
- type Path = {
24885
- certificateId: string;
24886
- };
24921
+ type Path = {};
24887
24922
  interface RequestBody {
24888
- certificate: string;
24889
- privateKey?: string;
24923
+ /**
24924
+ * The email of the user.
24925
+ */
24926
+ email: string;
24927
+ /**
24928
+ * The second factor - otp code or recovery code.
24929
+ */
24930
+ multiFactorCode: string;
24931
+ /**
24932
+ * The password of the user.
24933
+ */
24934
+ password: string;
24890
24935
  }
24891
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24936
+ type Header = {};
24892
24937
  type Query = {};
24893
24938
  }
24894
24939
  namespace Responses {
24895
- namespace $204 {
24940
+ namespace $200 {
24896
24941
  namespace Content {
24897
- type Empty = unknown;
24942
+ interface ApplicationJson {
24943
+ /**
24944
+ * The expiration date of the token.
24945
+ */
24946
+ expires: string;
24947
+ /**
24948
+ * Refresh token to refresh your access token even after it has expired.
24949
+ */
24950
+ refreshToken: string;
24951
+ /**
24952
+ * Public token to identify yourself against the api gateway.
24953
+ */
24954
+ token: string;
24955
+ }
24898
24956
  }
24899
24957
  }
24900
24958
  namespace $400 {
24901
24959
  namespace Content {
24902
- interface ApplicationJson {
24903
- [k: string]: unknown;
24904
- }
24960
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
24905
24961
  }
24906
24962
  }
24907
- namespace $404 {
24963
+ namespace $408 {
24908
24964
  namespace Content {
24909
- interface ApplicationJson {
24910
- [k: string]: unknown;
24911
- }
24965
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
24966
+ name?: "FirstAuthenticationFactorExpired";
24967
+ };
24912
24968
  }
24913
24969
  }
24914
24970
  namespace $429 {
@@ -24928,29 +24984,60 @@ export declare namespace MittwaldAPIV2 {
24928
24984
  }
24929
24985
  }
24930
24986
  }
24931
- namespace V2Certificates {
24932
- namespace Get {
24987
+ namespace V2SignupAuthentication { }
24988
+ namespace V2Authenticate {
24989
+ namespace Post {
24933
24990
  namespace Parameters {
24934
24991
  type Path = {};
24935
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24936
- type Query = {
24937
- projectId?: string;
24938
- ingressId?: string;
24939
- };
24992
+ interface RequestBody {
24993
+ /**
24994
+ * The users Email-Address.
24995
+ */
24996
+ email: string;
24997
+ /**
24998
+ * Password of the User.
24999
+ */
25000
+ password: string;
25001
+ }
25002
+ type Header = {};
25003
+ type Query = {};
24940
25004
  }
24941
25005
  namespace Responses {
24942
25006
  namespace $200 {
24943
25007
  namespace Content {
24944
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate[];
25008
+ interface ApplicationJson {
25009
+ /**
25010
+ * The expiration date of the token.
25011
+ */
25012
+ expires: string;
25013
+ /**
25014
+ * Refresh token to refresh your access token even after it has expired.
25015
+ */
25016
+ refreshToken: string;
25017
+ /**
25018
+ * Public token to identify yourself against the api gateway.
25019
+ */
25020
+ token: string;
25021
+ }
24945
25022
  }
24946
25023
  }
24947
- namespace $404 {
25024
+ namespace $202 {
24948
25025
  namespace Content {
24949
25026
  interface ApplicationJson {
24950
- [k: string]: unknown;
25027
+ name?: "SecondFactorRequired";
24951
25028
  }
24952
25029
  }
24953
25030
  }
25031
+ namespace $400 {
25032
+ namespace Content {
25033
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
25034
+ }
25035
+ }
25036
+ namespace $401 {
25037
+ namespace Content {
25038
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25039
+ }
25040
+ }
24954
25041
  namespace $429 {
24955
25042
  namespace Content {
24956
25043
  interface ApplicationJson {
@@ -24968,36 +25055,37 @@ export declare namespace MittwaldAPIV2 {
24968
25055
  }
24969
25056
  }
24970
25057
  }
24971
- namespace V2ProjectsProjectIdStorageSpaceStatistics {
24972
- namespace Get {
25058
+ namespace V2AuthenticateTokenRetrievalKey {
25059
+ namespace Post {
24973
25060
  namespace Parameters {
24974
- type Path = {
24975
- projectId: string;
24976
- };
24977
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25061
+ type Path = {};
25062
+ interface RequestBody {
25063
+ accessTokenRetrievalKey: string;
25064
+ userId: string;
25065
+ }
25066
+ type Header = {};
24978
25067
  type Query = {};
24979
25068
  }
24980
25069
  namespace Responses {
24981
25070
  namespace $200 {
24982
- namespace Content {
24983
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
24984
- }
24985
- }
24986
- namespace $400 {
24987
- namespace Content {
24988
- interface ApplicationJson {
24989
- [k: string]: unknown;
24990
- }
24991
- }
24992
- }
24993
- namespace $403 {
24994
25071
  namespace Content {
24995
25072
  interface ApplicationJson {
24996
- [k: string]: unknown;
25073
+ /**
25074
+ * The expiration date of the token.
25075
+ */
25076
+ expiresAt: string;
25077
+ /**
25078
+ * Refresh token to refresh your access token even after it has expired.
25079
+ */
25080
+ refreshToken: string;
25081
+ /**
25082
+ * Public token to identify yourself against the public api.
25083
+ */
25084
+ token: string;
24997
25085
  }
24998
25086
  }
24999
25087
  }
25000
- namespace $404 {
25088
+ namespace $400 {
25001
25089
  namespace Content {
25002
25090
  interface ApplicationJson {
25003
25091
  [k: string]: unknown;
@@ -25011,13 +25099,6 @@ export declare namespace MittwaldAPIV2 {
25011
25099
  }
25012
25100
  }
25013
25101
  }
25014
- namespace $500 {
25015
- namespace Content {
25016
- interface ApplicationJson {
25017
- [k: string]: unknown;
25018
- }
25019
- }
25020
- }
25021
25102
  namespace Default {
25022
25103
  namespace Content {
25023
25104
  interface ApplicationJson {
@@ -25028,32 +25109,18 @@ export declare namespace MittwaldAPIV2 {
25028
25109
  }
25029
25110
  }
25030
25111
  }
25031
- namespace V2ServersServerIdStorageSpaceStatistics {
25112
+ namespace V2UsersSelfCredentialsEmail {
25032
25113
  namespace Get {
25033
25114
  namespace Parameters {
25034
- type Path = {
25035
- serverId: string;
25036
- };
25115
+ type Path = {};
25037
25116
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25038
25117
  type Query = {};
25039
25118
  }
25040
25119
  namespace Responses {
25041
25120
  namespace $200 {
25042
- namespace Content {
25043
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
25044
- }
25045
- }
25046
- namespace $400 {
25047
- namespace Content {
25048
- interface ApplicationJson {
25049
- [k: string]: unknown;
25050
- }
25051
- }
25052
- }
25053
- namespace $403 {
25054
25121
  namespace Content {
25055
25122
  interface ApplicationJson {
25056
- [k: string]: unknown;
25123
+ email: string;
25057
25124
  }
25058
25125
  }
25059
25126
  }
@@ -25071,13 +25138,6 @@ export declare namespace MittwaldAPIV2 {
25071
25138
  }
25072
25139
  }
25073
25140
  }
25074
- namespace $500 {
25075
- namespace Content {
25076
- interface ApplicationJson {
25077
- [k: string]: unknown;
25078
- }
25079
- }
25080
- }
25081
25141
  namespace Default {
25082
25142
  namespace Content {
25083
25143
  interface ApplicationJson {
@@ -25087,15 +25147,14 @@ export declare namespace MittwaldAPIV2 {
25087
25147
  }
25088
25148
  }
25089
25149
  }
25090
- }
25091
- namespace V2ProjectsProjectIdStorageSpaceNotificationThreshold {
25092
25150
  namespace Put {
25093
25151
  namespace Parameters {
25094
- type Path = {
25095
- projectId: string;
25096
- };
25152
+ type Path = {};
25097
25153
  interface RequestBody {
25098
- notificationThresholdInBytes?: number;
25154
+ /**
25155
+ * The new Email-Address
25156
+ */
25157
+ email: string;
25099
25158
  }
25100
25159
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25101
25160
  type Query = {};
@@ -25106,11 +25165,9 @@ export declare namespace MittwaldAPIV2 {
25106
25165
  type Empty = unknown;
25107
25166
  }
25108
25167
  }
25109
- namespace $403 {
25168
+ namespace $400 {
25110
25169
  namespace Content {
25111
- interface ApplicationJson {
25112
- [k: string]: unknown;
25113
- }
25170
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25114
25171
  }
25115
25172
  }
25116
25173
  namespace $429 {
@@ -25120,14 +25177,7 @@ export declare namespace MittwaldAPIV2 {
25120
25177
  }
25121
25178
  }
25122
25179
  }
25123
- namespace $500 {
25124
- namespace Content {
25125
- interface ApplicationJson {
25126
- [k: string]: unknown;
25127
- }
25128
- }
25129
- }
25130
- namespace Default {
25180
+ namespace Default {
25131
25181
  namespace Content {
25132
25182
  interface ApplicationJson {
25133
25183
  [k: string]: unknown;
@@ -25137,39 +25187,58 @@ export declare namespace MittwaldAPIV2 {
25137
25187
  }
25138
25188
  }
25139
25189
  }
25140
- namespace V2ServersServerIdStorageSpaceNotificationThreshold {
25190
+ namespace V2SignupPassword { }
25191
+ namespace V2UsersSelfCredentialsPassword {
25141
25192
  namespace Put {
25142
25193
  namespace Parameters {
25143
- type Path = {
25144
- serverId: string;
25145
- };
25194
+ type Path = {};
25146
25195
  interface RequestBody {
25147
- notificationThresholdInBytes?: number;
25196
+ /**
25197
+ * Multi Factor Code to confirm MFA.
25198
+ * This is optional, depending on the MFA activation status of the profile.
25199
+ *
25200
+ */
25201
+ multiFactorCode?: string;
25202
+ /**
25203
+ * The new password.
25204
+ */
25205
+ newPassword: string;
25206
+ /**
25207
+ * The old password.
25208
+ */
25209
+ oldPassword: string;
25148
25210
  }
25149
25211
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25150
25212
  type Query = {};
25151
25213
  }
25152
25214
  namespace Responses {
25153
- namespace $204 {
25215
+ namespace $200 {
25154
25216
  namespace Content {
25155
- type Empty = unknown;
25217
+ interface ApplicationJson {
25218
+ /**
25219
+ * The expiration date of the token.
25220
+ */
25221
+ expires: string;
25222
+ /**
25223
+ * Public token to identify yourself against the api gateway.
25224
+ */
25225
+ token: string;
25226
+ }
25156
25227
  }
25157
25228
  }
25158
- namespace $403 {
25229
+ namespace $202 {
25159
25230
  namespace Content {
25160
25231
  interface ApplicationJson {
25161
25232
  [k: string]: unknown;
25162
25233
  }
25163
25234
  }
25164
25235
  }
25165
- namespace $429 {
25236
+ namespace $400 {
25166
25237
  namespace Content {
25167
- interface ApplicationJson {
25168
- [k: string]: unknown;
25169
- }
25238
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25170
25239
  }
25171
25240
  }
25172
- namespace $500 {
25241
+ namespace $429 {
25173
25242
  namespace Content {
25174
25243
  interface ApplicationJson {
25175
25244
  [k: string]: unknown;
@@ -25186,35 +25255,22 @@ export declare namespace MittwaldAPIV2 {
25186
25255
  }
25187
25256
  }
25188
25257
  }
25189
- namespace V2UsersUserIdPhone {
25258
+ namespace V2SignupTokenCheck { }
25259
+ namespace V2UsersSelfCredentialsToken {
25190
25260
  namespace Post {
25191
25261
  namespace Parameters {
25192
- type Path = {
25193
- userId: string;
25194
- };
25262
+ type Path = {};
25195
25263
  interface RequestBody {
25196
- phoneNumber: string;
25197
25264
  }
25198
25265
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25199
25266
  type Query = {};
25200
25267
  }
25201
25268
  namespace Responses {
25202
- namespace $204 {
25203
- namespace Content {
25204
- type Empty = unknown;
25205
- }
25206
- }
25207
- namespace $400 {
25208
- namespace Content {
25209
- interface ApplicationJson {
25210
- [k: string]: unknown;
25211
- }
25212
- }
25213
- }
25214
- namespace $409 {
25269
+ namespace $200 {
25215
25270
  namespace Content {
25216
25271
  interface ApplicationJson {
25217
- [k: string]: unknown;
25272
+ id: string;
25273
+ publicToken: string;
25218
25274
  }
25219
25275
  }
25220
25276
  }
@@ -25234,31 +25290,21 @@ export declare namespace MittwaldAPIV2 {
25234
25290
  }
25235
25291
  }
25236
25292
  }
25237
- namespace Delete {
25293
+ }
25294
+ namespace V2SignupMfaConfirm { }
25295
+ namespace V2UsersSelfCredentialsMfa {
25296
+ namespace Get {
25238
25297
  namespace Parameters {
25239
- type Path = {
25240
- userId: string;
25241
- };
25298
+ type Path = {};
25242
25299
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25243
25300
  type Query = {};
25244
25301
  }
25245
25302
  namespace Responses {
25246
- namespace $204 {
25247
- namespace Content {
25248
- type Empty = unknown;
25249
- }
25250
- }
25251
- namespace $400 {
25252
- namespace Content {
25253
- interface ApplicationJson {
25254
- [k: string]: unknown;
25255
- }
25256
- }
25257
- }
25258
- namespace $412 {
25303
+ namespace $200 {
25259
25304
  namespace Content {
25260
25305
  interface ApplicationJson {
25261
- [k: string]: unknown;
25306
+ confirmed: boolean;
25307
+ initialized: boolean;
25262
25308
  }
25263
25309
  }
25264
25310
  }
@@ -25278,27 +25324,16 @@ export declare namespace MittwaldAPIV2 {
25278
25324
  }
25279
25325
  }
25280
25326
  }
25281
- }
25282
- namespace V2SignupAuthenticationMfa { }
25283
- namespace V2AuthenticateMfa {
25284
- namespace Post {
25327
+ namespace Put {
25285
25328
  namespace Parameters {
25286
25329
  type Path = {};
25287
25330
  interface RequestBody {
25288
25331
  /**
25289
- * The email of the user.
25290
- */
25291
- email: string;
25292
- /**
25293
- * The second factor - otp code or recovery code.
25332
+ * Multi Factor Code to authorize your request.
25294
25333
  */
25295
25334
  multiFactorCode: string;
25296
- /**
25297
- * The password of the user.
25298
- */
25299
- password: string;
25300
25335
  }
25301
- type Header = {};
25336
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25302
25337
  type Query = {};
25303
25338
  }
25304
25339
  namespace Responses {
@@ -25306,17 +25341,31 @@ export declare namespace MittwaldAPIV2 {
25306
25341
  namespace Content {
25307
25342
  interface ApplicationJson {
25308
25343
  /**
25309
- * The expiration date of the token.
25310
- */
25311
- expires: string;
25312
- /**
25313
- * Refresh token to refresh your access token even after it has expired.
25314
- */
25315
- refreshToken: string;
25316
- /**
25317
- * Public token to identify yourself against the api gateway.
25344
+ * @minItems 20
25345
+ * @maxItems 20
25318
25346
  */
25319
- token: string;
25347
+ recoveryCodesList: [
25348
+ string,
25349
+ string,
25350
+ string,
25351
+ string,
25352
+ string,
25353
+ string,
25354
+ string,
25355
+ string,
25356
+ string,
25357
+ string,
25358
+ string,
25359
+ string,
25360
+ string,
25361
+ string,
25362
+ string,
25363
+ string,
25364
+ string,
25365
+ string,
25366
+ string,
25367
+ string
25368
+ ];
25320
25369
  }
25321
25370
  }
25322
25371
  }
@@ -25325,13 +25374,6 @@ export declare namespace MittwaldAPIV2 {
25325
25374
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25326
25375
  }
25327
25376
  }
25328
- namespace $408 {
25329
- namespace Content {
25330
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
25331
- name?: "FirstAuthenticationFactorExpired";
25332
- };
25333
- }
25334
- }
25335
25377
  namespace $429 {
25336
25378
  namespace Content {
25337
25379
  interface ApplicationJson {
@@ -25348,23 +25390,16 @@ export declare namespace MittwaldAPIV2 {
25348
25390
  }
25349
25391
  }
25350
25392
  }
25351
- }
25352
- namespace V2SignupAuthentication { }
25353
- namespace V2Authenticate {
25354
25393
  namespace Post {
25355
25394
  namespace Parameters {
25356
25395
  type Path = {};
25357
25396
  interface RequestBody {
25358
25397
  /**
25359
- * The users Email-Address.
25360
- */
25361
- email: string;
25362
- /**
25363
- * Password of the User.
25398
+ * Multi Factor Code to confirm MFA.
25364
25399
  */
25365
- password: string;
25400
+ multiFactorCode: string;
25366
25401
  }
25367
- type Header = {};
25402
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25368
25403
  type Query = {};
25369
25404
  }
25370
25405
  namespace Responses {
@@ -25372,33 +25407,35 @@ export declare namespace MittwaldAPIV2 {
25372
25407
  namespace Content {
25373
25408
  interface ApplicationJson {
25374
25409
  /**
25375
- * The expiration date of the token.
25376
- */
25377
- expires: string;
25378
- /**
25379
- * Refresh token to refresh your access token even after it has expired.
25380
- */
25381
- refreshToken: string;
25382
- /**
25383
- * Public token to identify yourself against the api gateway.
25410
+ * @minItems 20
25411
+ * @maxItems 20
25384
25412
  */
25385
- token: string;
25386
- }
25387
- }
25388
- }
25389
- namespace $202 {
25390
- namespace Content {
25391
- interface ApplicationJson {
25392
- name?: "SecondFactorRequired";
25413
+ recoveryCodesList: [
25414
+ string,
25415
+ string,
25416
+ string,
25417
+ string,
25418
+ string,
25419
+ string,
25420
+ string,
25421
+ string,
25422
+ string,
25423
+ string,
25424
+ string,
25425
+ string,
25426
+ string,
25427
+ string,
25428
+ string,
25429
+ string,
25430
+ string,
25431
+ string,
25432
+ string,
25433
+ string
25434
+ ];
25393
25435
  }
25394
25436
  }
25395
25437
  }
25396
25438
  namespace $400 {
25397
- namespace Content {
25398
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
25399
- }
25400
- }
25401
- namespace $401 {
25402
25439
  namespace Content {
25403
25440
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25404
25441
  }
@@ -25419,42 +25456,27 @@ export declare namespace MittwaldAPIV2 {
25419
25456
  }
25420
25457
  }
25421
25458
  }
25422
- }
25423
- namespace V2AuthenticateTokenRetrievalKey {
25424
- namespace Post {
25459
+ namespace Delete {
25425
25460
  namespace Parameters {
25426
25461
  type Path = {};
25427
25462
  interface RequestBody {
25428
- accessTokenRetrievalKey: string;
25429
- userId: string;
25463
+ /**
25464
+ * Multi Factor Code to confirm MFA.
25465
+ */
25466
+ multiFactorCode: string;
25430
25467
  }
25431
- type Header = {};
25468
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25432
25469
  type Query = {};
25433
25470
  }
25434
25471
  namespace Responses {
25435
- namespace $200 {
25472
+ namespace $204 {
25436
25473
  namespace Content {
25437
- interface ApplicationJson {
25438
- /**
25439
- * The expiration date of the token.
25440
- */
25441
- expiresAt: string;
25442
- /**
25443
- * Refresh token to refresh your access token even after it has expired.
25444
- */
25445
- refreshToken: string;
25446
- /**
25447
- * Public token to identify yourself against the public api.
25448
- */
25449
- token: string;
25450
- }
25474
+ type Empty = unknown;
25451
25475
  }
25452
25476
  }
25453
25477
  namespace $400 {
25454
25478
  namespace Content {
25455
- interface ApplicationJson {
25456
- [k: string]: unknown;
25457
- }
25479
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25458
25480
  }
25459
25481
  }
25460
25482
  namespace $429 {
@@ -25474,26 +25496,36 @@ export declare namespace MittwaldAPIV2 {
25474
25496
  }
25475
25497
  }
25476
25498
  }
25477
- namespace V2UsersSelfCredentialsEmail {
25478
- namespace Get {
25499
+ namespace V2UsersSelfCredentialsPasswordConfirmReset {
25500
+ namespace Post {
25479
25501
  namespace Parameters {
25480
25502
  type Path = {};
25481
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25503
+ interface RequestBody {
25504
+ /**
25505
+ * The new password.
25506
+ */
25507
+ password: string;
25508
+ /**
25509
+ * Password reset token
25510
+ */
25511
+ token: string;
25512
+ /**
25513
+ * UserId of the user to reset the password for.
25514
+ */
25515
+ userId: string;
25516
+ }
25517
+ type Header = {};
25482
25518
  type Query = {};
25483
25519
  }
25484
25520
  namespace Responses {
25485
- namespace $200 {
25521
+ namespace $204 {
25486
25522
  namespace Content {
25487
- interface ApplicationJson {
25488
- email: string;
25489
- }
25523
+ type Empty = unknown;
25490
25524
  }
25491
25525
  }
25492
- namespace $404 {
25526
+ namespace $400 {
25493
25527
  namespace Content {
25494
- interface ApplicationJson {
25495
- [k: string]: unknown;
25496
- }
25528
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25497
25529
  }
25498
25530
  }
25499
25531
  namespace $429 {
@@ -25512,27 +25544,23 @@ export declare namespace MittwaldAPIV2 {
25512
25544
  }
25513
25545
  }
25514
25546
  }
25515
- namespace Put {
25547
+ }
25548
+ namespace V2SignupTokenApi { }
25549
+ namespace V2UsersSelfApiTokens {
25550
+ namespace Get {
25516
25551
  namespace Parameters {
25517
25552
  type Path = {};
25518
- interface RequestBody {
25519
- /**
25520
- * The new Email-Address
25521
- */
25522
- email: string;
25523
- }
25524
25553
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25525
- type Query = {};
25554
+ type Query = {
25555
+ limit?: number;
25556
+ skip?: number;
25557
+ page?: number;
25558
+ };
25526
25559
  }
25527
25560
  namespace Responses {
25528
- namespace $204 {
25529
- namespace Content {
25530
- type Empty = unknown;
25531
- }
25532
- }
25533
- namespace $400 {
25561
+ namespace $200 {
25534
25562
  namespace Content {
25535
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25563
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken[];
25536
25564
  }
25537
25565
  }
25538
25566
  namespace $429 {
@@ -25551,58 +25579,40 @@ export declare namespace MittwaldAPIV2 {
25551
25579
  }
25552
25580
  }
25553
25581
  }
25554
- }
25555
- namespace V2SignupPassword { }
25556
- namespace V2UsersSelfCredentialsPassword {
25557
- namespace Put {
25582
+ namespace Post {
25558
25583
  namespace Parameters {
25559
25584
  type Path = {};
25560
25585
  interface RequestBody {
25586
+ description: string;
25587
+ expiresAt?: string;
25561
25588
  /**
25562
- * Multi Factor Code to confirm MFA.
25563
- * This is optional, depending on the MFA activation status of the profile.
25589
+ * Determines the access rights of the ApiToken.
25564
25590
  *
25591
+ * @minItems 1
25565
25592
  */
25566
- multiFactorCode?: string;
25567
- /**
25568
- * The new password.
25569
- */
25570
- newPassword: string;
25571
- /**
25572
- * The old password.
25573
- */
25574
- oldPassword: string;
25593
+ roles: ["api_read" | "api_write", ...("api_read" | "api_write")[]];
25575
25594
  }
25576
25595
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25577
25596
  type Query = {};
25578
25597
  }
25579
25598
  namespace Responses {
25580
- namespace $200 {
25599
+ namespace $201 {
25581
25600
  namespace Content {
25582
25601
  interface ApplicationJson {
25583
25602
  /**
25584
- * The expiration date of the token.
25585
- */
25586
- expires: string;
25587
- /**
25588
- * Public token to identify yourself against the api gateway.
25603
+ * The `ApiToken`.
25589
25604
  */
25590
25605
  token: string;
25591
25606
  }
25592
25607
  }
25593
25608
  }
25594
- namespace $202 {
25609
+ namespace $400 {
25595
25610
  namespace Content {
25596
25611
  interface ApplicationJson {
25597
25612
  [k: string]: unknown;
25598
25613
  }
25599
25614
  }
25600
25615
  }
25601
- namespace $400 {
25602
- namespace Content {
25603
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25604
- }
25605
- }
25606
25616
  namespace $429 {
25607
25617
  namespace Content {
25608
25618
  interface ApplicationJson {
@@ -25620,123 +25630,91 @@ export declare namespace MittwaldAPIV2 {
25620
25630
  }
25621
25631
  }
25622
25632
  }
25623
- namespace V2SignupTokenCheck { }
25624
- namespace V2UsersSelfCredentialsToken {
25633
+ namespace V2UsersSelfFeedback {
25625
25634
  namespace Post {
25626
25635
  namespace Parameters {
25627
25636
  type Path = {};
25628
25637
  interface RequestBody {
25638
+ /**
25639
+ * Personal feedback message.
25640
+ */
25641
+ message?: string;
25642
+ /**
25643
+ * Origin of the feedback.
25644
+ */
25645
+ origin?: string;
25646
+ /**
25647
+ * Descriptive subject.
25648
+ */
25649
+ subject: string;
25650
+ /**
25651
+ * Type of feedback.
25652
+ */
25653
+ type?: "feedback" | "bug";
25654
+ /**
25655
+ * Feedback rating from bad to good. Set to 0 or skip this field to not vote at all.
25656
+ */
25657
+ vote?: number;
25629
25658
  }
25630
25659
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25631
25660
  type Query = {};
25632
25661
  }
25633
25662
  namespace Responses {
25634
- namespace $200 {
25663
+ namespace $201 {
25635
25664
  namespace Content {
25636
25665
  interface ApplicationJson {
25637
- id: string;
25638
- publicToken: string;
25639
25666
  }
25640
25667
  }
25641
25668
  }
25642
- namespace $429 {
25669
+ namespace $401 {
25643
25670
  namespace Content {
25644
25671
  interface ApplicationJson {
25645
25672
  [k: string]: unknown;
25646
25673
  }
25647
25674
  }
25648
25675
  }
25649
- namespace Default {
25676
+ namespace $404 {
25650
25677
  namespace Content {
25651
25678
  interface ApplicationJson {
25652
25679
  [k: string]: unknown;
25653
25680
  }
25654
25681
  }
25655
25682
  }
25656
- }
25657
- }
25658
- }
25659
- namespace V2SignupMfaConfirm { }
25660
- namespace V2UsersSelfCredentialsMfa {
25661
- namespace Get {
25662
- namespace Parameters {
25663
- type Path = {};
25664
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25665
- type Query = {};
25666
- }
25667
- namespace Responses {
25668
- namespace $200 {
25669
- namespace Content {
25670
- interface ApplicationJson {
25671
- confirmed: boolean;
25672
- initialized: boolean;
25673
- }
25674
- }
25675
- }
25676
25683
  namespace $429 {
25677
25684
  namespace Content {
25678
25685
  interface ApplicationJson {
25679
25686
  [k: string]: unknown;
25680
25687
  }
25681
25688
  }
25682
- }
25683
- namespace Default {
25684
- namespace Content {
25685
- interface ApplicationJson {
25686
- [k: string]: unknown;
25687
- }
25688
- }
25689
- }
25690
- }
25691
- }
25692
- namespace Put {
25693
- namespace Parameters {
25694
- type Path = {};
25695
- interface RequestBody {
25696
- /**
25697
- * Multi Factor Code to authorize your request.
25698
- */
25699
- multiFactorCode: string;
25700
- }
25701
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25702
- type Query = {};
25703
- }
25704
- namespace Responses {
25705
- namespace $200 {
25706
- namespace Content {
25707
- interface ApplicationJson {
25708
- /**
25709
- * @minItems 20
25710
- * @maxItems 20
25711
- */
25712
- recoveryCodesList: [
25713
- string,
25714
- string,
25715
- string,
25716
- string,
25717
- string,
25718
- string,
25719
- string,
25720
- string,
25721
- string,
25722
- string,
25723
- string,
25724
- string,
25725
- string,
25726
- string,
25727
- string,
25728
- string,
25729
- string,
25730
- string,
25731
- string,
25732
- string
25733
- ];
25689
+ }
25690
+ namespace Default {
25691
+ namespace Content {
25692
+ interface ApplicationJson {
25693
+ [k: string]: unknown;
25734
25694
  }
25735
25695
  }
25736
25696
  }
25737
- namespace $400 {
25697
+ }
25698
+ }
25699
+ }
25700
+ namespace V2SignupSsh { }
25701
+ namespace V2UsersSelfSshKeys {
25702
+ namespace Get {
25703
+ namespace Parameters {
25704
+ type Path = {};
25705
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25706
+ type Query = {
25707
+ limit?: number;
25708
+ skip?: number;
25709
+ page?: number;
25710
+ };
25711
+ }
25712
+ namespace Responses {
25713
+ namespace $200 {
25738
25714
  namespace Content {
25739
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25715
+ interface ApplicationJson {
25716
+ sshKeys?: MittwaldAPIV2.Components.Schemas.SignupSshKey[];
25717
+ }
25740
25718
  }
25741
25719
  }
25742
25720
  namespace $429 {
@@ -25759,50 +25737,24 @@ export declare namespace MittwaldAPIV2 {
25759
25737
  namespace Parameters {
25760
25738
  type Path = {};
25761
25739
  interface RequestBody {
25762
- /**
25763
- * Multi Factor Code to confirm MFA.
25764
- */
25765
- multiFactorCode: string;
25740
+ expiresAt?: string;
25741
+ publicKey: string;
25766
25742
  }
25767
25743
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25768
25744
  type Query = {};
25769
25745
  }
25770
25746
  namespace Responses {
25771
- namespace $200 {
25747
+ namespace $201 {
25772
25748
  namespace Content {
25773
25749
  interface ApplicationJson {
25774
- /**
25775
- * @minItems 20
25776
- * @maxItems 20
25777
- */
25778
- recoveryCodesList: [
25779
- string,
25780
- string,
25781
- string,
25782
- string,
25783
- string,
25784
- string,
25785
- string,
25786
- string,
25787
- string,
25788
- string,
25789
- string,
25790
- string,
25791
- string,
25792
- string,
25793
- string,
25794
- string,
25795
- string,
25796
- string,
25797
- string,
25798
- string
25799
- ];
25800
25750
  }
25801
25751
  }
25802
25752
  }
25803
25753
  namespace $400 {
25804
25754
  namespace Content {
25805
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25755
+ interface ApplicationJson {
25756
+ [k: string]: unknown;
25757
+ }
25806
25758
  }
25807
25759
  }
25808
25760
  namespace $429 {
@@ -25821,27 +25773,27 @@ export declare namespace MittwaldAPIV2 {
25821
25773
  }
25822
25774
  }
25823
25775
  }
25824
- namespace Delete {
25776
+ }
25777
+ namespace V2UsersSelfApiTokensApiTokenId {
25778
+ namespace Get {
25825
25779
  namespace Parameters {
25826
- type Path = {};
25827
- interface RequestBody {
25828
- /**
25829
- * Multi Factor Code to confirm MFA.
25830
- */
25831
- multiFactorCode: string;
25832
- }
25780
+ type Path = {
25781
+ apiTokenId: string;
25782
+ };
25833
25783
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25834
25784
  type Query = {};
25835
25785
  }
25836
25786
  namespace Responses {
25837
- namespace $204 {
25787
+ namespace $200 {
25838
25788
  namespace Content {
25839
- type Empty = unknown;
25789
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken;
25840
25790
  }
25841
25791
  }
25842
- namespace $400 {
25792
+ namespace $404 {
25843
25793
  namespace Content {
25844
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25794
+ interface ApplicationJson {
25795
+ [k: string]: unknown;
25796
+ }
25845
25797
  }
25846
25798
  }
25847
25799
  namespace $429 {
@@ -25860,26 +25812,16 @@ export declare namespace MittwaldAPIV2 {
25860
25812
  }
25861
25813
  }
25862
25814
  }
25863
- }
25864
- namespace V2UsersSelfCredentialsPasswordConfirmReset {
25865
- namespace Post {
25815
+ namespace Put {
25866
25816
  namespace Parameters {
25867
- type Path = {};
25817
+ type Path = {
25818
+ apiTokenId: string;
25819
+ };
25868
25820
  interface RequestBody {
25869
- /**
25870
- * The new password.
25871
- */
25872
- password: string;
25873
- /**
25874
- * Password reset token
25875
- */
25876
- token: string;
25877
- /**
25878
- * UserId of the user to reset the password for.
25879
- */
25880
- userId: string;
25821
+ description: string;
25822
+ expiresAt?: string;
25881
25823
  }
25882
- type Header = {};
25824
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25883
25825
  type Query = {};
25884
25826
  }
25885
25827
  namespace Responses {
@@ -25890,7 +25832,9 @@ export declare namespace MittwaldAPIV2 {
25890
25832
  }
25891
25833
  namespace $400 {
25892
25834
  namespace Content {
25893
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25835
+ interface ApplicationJson {
25836
+ [k: string]: unknown;
25837
+ }
25894
25838
  }
25895
25839
  }
25896
25840
  namespace $429 {
@@ -25909,23 +25853,25 @@ export declare namespace MittwaldAPIV2 {
25909
25853
  }
25910
25854
  }
25911
25855
  }
25912
- }
25913
- namespace V2SignupTokenApi { }
25914
- namespace V2UsersSelfApiTokens {
25915
- namespace Get {
25856
+ namespace Delete {
25916
25857
  namespace Parameters {
25917
- type Path = {};
25918
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25919
- type Query = {
25920
- limit?: number;
25921
- skip?: number;
25922
- page?: number;
25858
+ type Path = {
25859
+ apiTokenId: string;
25923
25860
  };
25861
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25862
+ type Query = {};
25924
25863
  }
25925
25864
  namespace Responses {
25926
- namespace $200 {
25865
+ namespace $204 {
25927
25866
  namespace Content {
25928
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken[];
25867
+ type Empty = unknown;
25868
+ }
25869
+ }
25870
+ namespace $400 {
25871
+ namespace Content {
25872
+ interface ApplicationJson {
25873
+ [k: string]: unknown;
25874
+ }
25929
25875
  }
25930
25876
  }
25931
25877
  namespace $429 {
@@ -25944,34 +25890,25 @@ export declare namespace MittwaldAPIV2 {
25944
25890
  }
25945
25891
  }
25946
25892
  }
25947
- namespace Post {
25893
+ }
25894
+ namespace V2UsersSelfSshKeysSshKeyId {
25895
+ namespace Get {
25948
25896
  namespace Parameters {
25949
- type Path = {};
25950
- interface RequestBody {
25951
- description: string;
25952
- expiresAt?: string;
25953
- /**
25954
- * Determines the access rights of the ApiToken.
25955
- *
25956
- * @minItems 1
25957
- */
25958
- roles: ["api_read" | "api_write", ...("api_read" | "api_write")[]];
25959
- }
25897
+ type Path = {
25898
+ sshKeyId: string;
25899
+ };
25960
25900
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25961
25901
  type Query = {};
25962
25902
  }
25963
25903
  namespace Responses {
25964
- namespace $201 {
25904
+ namespace $200 {
25965
25905
  namespace Content {
25966
25906
  interface ApplicationJson {
25967
- /**
25968
- * The `ApiToken`.
25969
- */
25970
- token: string;
25907
+ sshKey: MittwaldAPIV2.Components.Schemas.SignupSshKey;
25971
25908
  }
25972
25909
  }
25973
25910
  }
25974
- namespace $400 {
25911
+ namespace $404 {
25975
25912
  namespace Content {
25976
25913
  interface ApplicationJson {
25977
25914
  [k: string]: unknown;
@@ -25994,57 +25931,61 @@ export declare namespace MittwaldAPIV2 {
25994
25931
  }
25995
25932
  }
25996
25933
  }
25997
- }
25998
- namespace V2UsersSelfFeedback {
25999
- namespace Post {
25934
+ namespace Put {
26000
25935
  namespace Parameters {
26001
- type Path = {};
25936
+ type Path = {
25937
+ sshKeyId: string;
25938
+ };
26002
25939
  interface RequestBody {
26003
- /**
26004
- * Personal feedback message.
26005
- */
26006
- message?: string;
26007
- /**
26008
- * Origin of the feedback.
26009
- */
26010
- origin?: string;
26011
- /**
26012
- * Descriptive subject.
26013
- */
26014
- subject: string;
26015
- /**
26016
- * Type of feedback.
26017
- */
26018
- type?: "feedback" | "bug";
26019
- /**
26020
- * Feedback rating from bad to good. Set to 0 or skip this field to not vote at all.
26021
- */
26022
- vote?: number;
25940
+ comment: string;
25941
+ expiresAt?: string;
26023
25942
  }
26024
25943
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26025
25944
  type Query = {};
26026
25945
  }
26027
25946
  namespace Responses {
26028
- namespace $201 {
25947
+ namespace $204 {
25948
+ namespace Content {
25949
+ type Empty = unknown;
25950
+ }
25951
+ }
25952
+ namespace $400 {
26029
25953
  namespace Content {
26030
25954
  interface ApplicationJson {
25955
+ [k: string]: unknown;
26031
25956
  }
26032
25957
  }
26033
25958
  }
26034
- namespace $401 {
25959
+ namespace $429 {
26035
25960
  namespace Content {
26036
25961
  interface ApplicationJson {
26037
25962
  [k: string]: unknown;
26038
25963
  }
26039
25964
  }
26040
25965
  }
26041
- namespace $404 {
25966
+ namespace Default {
26042
25967
  namespace Content {
26043
25968
  interface ApplicationJson {
26044
25969
  [k: string]: unknown;
26045
25970
  }
26046
25971
  }
26047
25972
  }
25973
+ }
25974
+ }
25975
+ namespace Delete {
25976
+ namespace Parameters {
25977
+ type Path = {
25978
+ sshKeyId: string;
25979
+ };
25980
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25981
+ type Query = {};
25982
+ }
25983
+ namespace Responses {
25984
+ namespace $204 {
25985
+ namespace Content {
25986
+ type Empty = unknown;
25987
+ }
25988
+ }
26048
25989
  namespace $429 {
26049
25990
  namespace Content {
26050
25991
  interface ApplicationJson {
@@ -26062,23 +26003,42 @@ export declare namespace MittwaldAPIV2 {
26062
26003
  }
26063
26004
  }
26064
26005
  }
26065
- namespace V2SignupSsh { }
26066
- namespace V2UsersSelfSshKeys {
26067
- namespace Get {
26006
+ namespace V2UsersSelf {
26007
+ namespace Delete {
26068
26008
  namespace Parameters {
26069
26009
  type Path = {};
26010
+ interface RequestBody {
26011
+ /**
26012
+ * Multi Factor Code to authorize your request.
26013
+ */
26014
+ multiFactorCode?: string;
26015
+ password: string;
26016
+ }
26070
26017
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26071
- type Query = {
26072
- limit?: number;
26073
- skip?: number;
26074
- page?: number;
26075
- };
26018
+ type Query = {};
26076
26019
  }
26077
26020
  namespace Responses {
26078
26021
  namespace $200 {
26022
+ namespace Content {
26023
+ type Empty = unknown;
26024
+ }
26025
+ }
26026
+ namespace $202 {
26027
+ namespace Content {
26028
+ interface ApplicationJson {
26029
+ [k: string]: unknown;
26030
+ }
26031
+ }
26032
+ }
26033
+ namespace $400 {
26034
+ namespace Content {
26035
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26036
+ }
26037
+ }
26038
+ namespace $409 {
26079
26039
  namespace Content {
26080
26040
  interface ApplicationJson {
26081
- sshKeys?: MittwaldAPIV2.Components.Schemas.SignupSshKey[];
26041
+ [k: string]: unknown;
26082
26042
  }
26083
26043
  }
26084
26044
  }
@@ -26098,27 +26058,21 @@ export declare namespace MittwaldAPIV2 {
26098
26058
  }
26099
26059
  }
26100
26060
  }
26101
- namespace Post {
26061
+ }
26062
+ namespace V2UsersSelfCredentialsPasswordUpdatedAt {
26063
+ namespace Get {
26102
26064
  namespace Parameters {
26103
26065
  type Path = {};
26104
26066
  interface RequestBody {
26105
- expiresAt?: string;
26106
- publicKey: string;
26107
26067
  }
26108
26068
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26109
26069
  type Query = {};
26110
26070
  }
26111
26071
  namespace Responses {
26112
- namespace $201 {
26113
- namespace Content {
26114
- interface ApplicationJson {
26115
- }
26116
- }
26117
- }
26118
- namespace $400 {
26072
+ namespace $200 {
26119
26073
  namespace Content {
26120
26074
  interface ApplicationJson {
26121
- [k: string]: unknown;
26075
+ passwordUpdatedAt: string;
26122
26076
  }
26123
26077
  }
26124
26078
  }
@@ -26139,25 +26093,20 @@ export declare namespace MittwaldAPIV2 {
26139
26093
  }
26140
26094
  }
26141
26095
  }
26142
- namespace V2UsersSelfApiTokensApiTokenId {
26096
+ namespace V2UsersUserIdSettings {
26143
26097
  namespace Get {
26144
26098
  namespace Parameters {
26145
26099
  type Path = {
26146
- apiTokenId: string;
26100
+ userId: string;
26147
26101
  };
26148
26102
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26149
26103
  type Query = {};
26150
26104
  }
26151
26105
  namespace Responses {
26152
26106
  namespace $200 {
26153
- namespace Content {
26154
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken;
26155
- }
26156
- }
26157
- namespace $404 {
26158
26107
  namespace Content {
26159
26108
  interface ApplicationJson {
26160
- [k: string]: unknown;
26109
+ settingsString?: string;
26161
26110
  }
26162
26111
  }
26163
26112
  }
@@ -26180,11 +26129,10 @@ export declare namespace MittwaldAPIV2 {
26180
26129
  namespace Put {
26181
26130
  namespace Parameters {
26182
26131
  type Path = {
26183
- apiTokenId: string;
26132
+ userId: string;
26184
26133
  };
26185
26134
  interface RequestBody {
26186
- description: string;
26187
- expiresAt?: string;
26135
+ settingsString: string;
26188
26136
  }
26189
26137
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26190
26138
  type Query = {};
@@ -26218,18 +26166,20 @@ export declare namespace MittwaldAPIV2 {
26218
26166
  }
26219
26167
  }
26220
26168
  }
26221
- namespace Delete {
26169
+ }
26170
+ namespace V2PollSettingsUserId {
26171
+ namespace Get {
26222
26172
  namespace Parameters {
26223
26173
  type Path = {
26224
- apiTokenId: string;
26174
+ userId: string;
26225
26175
  };
26226
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26176
+ type Header = {};
26227
26177
  type Query = {};
26228
26178
  }
26229
26179
  namespace Responses {
26230
- namespace $204 {
26180
+ namespace $200 {
26231
26181
  namespace Content {
26232
- type Empty = unknown;
26182
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26233
26183
  }
26234
26184
  }
26235
26185
  namespace $400 {
@@ -26239,6 +26189,13 @@ export declare namespace MittwaldAPIV2 {
26239
26189
  }
26240
26190
  }
26241
26191
  }
26192
+ namespace $404 {
26193
+ namespace Content {
26194
+ interface ApplicationJson {
26195
+ [k: string]: unknown;
26196
+ }
26197
+ }
26198
+ }
26242
26199
  namespace $429 {
26243
26200
  namespace Content {
26244
26201
  interface ApplicationJson {
@@ -26255,25 +26212,32 @@ export declare namespace MittwaldAPIV2 {
26255
26212
  }
26256
26213
  }
26257
26214
  }
26258
- }
26259
- namespace V2UsersSelfSshKeysSshKeyId {
26260
- namespace Get {
26215
+ namespace Post {
26261
26216
  namespace Parameters {
26262
26217
  type Path = {
26263
- sshKeyId: string;
26218
+ userId: string;
26264
26219
  };
26265
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26220
+ interface RequestBody {
26221
+ status: "completed" | "muted" | "ignored";
26222
+ userId: string;
26223
+ }
26224
+ type Header = {};
26266
26225
  type Query = {};
26267
26226
  }
26268
26227
  namespace Responses {
26269
26228
  namespace $200 {
26229
+ namespace Content {
26230
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26231
+ }
26232
+ }
26233
+ namespace $400 {
26270
26234
  namespace Content {
26271
26235
  interface ApplicationJson {
26272
- sshKey: MittwaldAPIV2.Components.Schemas.SignupSshKey;
26236
+ [k: string]: unknown;
26273
26237
  }
26274
26238
  }
26275
26239
  }
26276
- namespace $404 {
26240
+ namespace $403 {
26277
26241
  namespace Content {
26278
26242
  interface ApplicationJson {
26279
26243
  [k: string]: unknown;
@@ -26296,25 +26260,23 @@ export declare namespace MittwaldAPIV2 {
26296
26260
  }
26297
26261
  }
26298
26262
  }
26299
- namespace Put {
26263
+ }
26264
+ namespace V2UsersSelfSessionsTokenId {
26265
+ namespace Get {
26300
26266
  namespace Parameters {
26301
26267
  type Path = {
26302
- sshKeyId: string;
26268
+ tokenId: string;
26303
26269
  };
26304
- interface RequestBody {
26305
- comment: string;
26306
- expiresAt?: string;
26307
- }
26308
26270
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26309
26271
  type Query = {};
26310
26272
  }
26311
26273
  namespace Responses {
26312
- namespace $204 {
26274
+ namespace $200 {
26313
26275
  namespace Content {
26314
- type Empty = unknown;
26276
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession;
26315
26277
  }
26316
26278
  }
26317
- namespace $400 {
26279
+ namespace $404 {
26318
26280
  namespace Content {
26319
26281
  interface ApplicationJson {
26320
26282
  [k: string]: unknown;
@@ -26340,7 +26302,7 @@ export declare namespace MittwaldAPIV2 {
26340
26302
  namespace Delete {
26341
26303
  namespace Parameters {
26342
26304
  type Path = {
26343
- sshKeyId: string;
26305
+ tokenId: string;
26344
26306
  };
26345
26307
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26346
26308
  type Query = {};
@@ -26351,6 +26313,13 @@ export declare namespace MittwaldAPIV2 {
26351
26313
  type Empty = unknown;
26352
26314
  }
26353
26315
  }
26316
+ namespace $404 {
26317
+ namespace Content {
26318
+ interface ApplicationJson {
26319
+ [k: string]: unknown;
26320
+ }
26321
+ }
26322
+ }
26354
26323
  namespace $429 {
26355
26324
  namespace Content {
26356
26325
  interface ApplicationJson {
@@ -26368,46 +26337,36 @@ export declare namespace MittwaldAPIV2 {
26368
26337
  }
26369
26338
  }
26370
26339
  }
26371
- namespace V2UsersSelf {
26372
- namespace Delete {
26340
+ namespace V2UsersUserId {
26341
+ namespace Get {
26373
26342
  namespace Parameters {
26374
- type Path = {};
26375
- interface RequestBody {
26376
- /**
26377
- * Multi Factor Code to authorize your request.
26378
- */
26379
- multiFactorCode?: string;
26380
- password: string;
26381
- }
26343
+ type Path = {
26344
+ userId: string;
26345
+ };
26382
26346
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26383
26347
  type Query = {};
26384
26348
  }
26385
26349
  namespace Responses {
26386
26350
  namespace $200 {
26387
26351
  namespace Content {
26388
- type Empty = unknown;
26352
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUser;
26389
26353
  }
26390
26354
  }
26391
- namespace $202 {
26355
+ namespace $403 {
26392
26356
  namespace Content {
26393
26357
  interface ApplicationJson {
26394
26358
  [k: string]: unknown;
26395
26359
  }
26396
26360
  }
26397
26361
  }
26398
- namespace $400 {
26399
- namespace Content {
26400
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26401
- }
26402
- }
26403
- namespace $409 {
26362
+ namespace $404 {
26404
26363
  namespace Content {
26405
26364
  interface ApplicationJson {
26406
26365
  [k: string]: unknown;
26407
26366
  }
26408
26367
  }
26409
26368
  }
26410
- namespace $429 {
26369
+ namespace $412 {
26411
26370
  namespace Content {
26412
26371
  interface ApplicationJson {
26413
26372
  [k: string]: unknown;
@@ -26423,21 +26382,27 @@ export declare namespace MittwaldAPIV2 {
26423
26382
  }
26424
26383
  }
26425
26384
  }
26426
- }
26427
- namespace V2UsersSelfCredentialsPasswordUpdatedAt {
26428
- namespace Get {
26385
+ namespace Put {
26429
26386
  namespace Parameters {
26430
- type Path = {};
26387
+ type Path = {
26388
+ userId: string;
26389
+ };
26431
26390
  interface RequestBody {
26391
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
26432
26392
  }
26433
26393
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26434
26394
  type Query = {};
26435
26395
  }
26436
26396
  namespace Responses {
26437
- namespace $200 {
26397
+ namespace $204 {
26398
+ namespace Content {
26399
+ type Empty = unknown;
26400
+ }
26401
+ }
26402
+ namespace $400 {
26438
26403
  namespace Content {
26439
26404
  interface ApplicationJson {
26440
- passwordUpdatedAt: string;
26405
+ [k: string]: unknown;
26441
26406
  }
26442
26407
  }
26443
26408
  }
@@ -26458,12 +26423,12 @@ export declare namespace MittwaldAPIV2 {
26458
26423
  }
26459
26424
  }
26460
26425
  }
26461
- namespace V2UsersUserIdSettings {
26462
- namespace Get {
26426
+ namespace V2UsersSelfCredentialsInitMfa {
26427
+ namespace Post {
26463
26428
  namespace Parameters {
26464
- type Path = {
26465
- userId: string;
26466
- };
26429
+ type Path = {};
26430
+ interface RequestBody {
26431
+ }
26467
26432
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26468
26433
  type Query = {};
26469
26434
  }
@@ -26471,10 +26436,25 @@ export declare namespace MittwaldAPIV2 {
26471
26436
  namespace $200 {
26472
26437
  namespace Content {
26473
26438
  interface ApplicationJson {
26474
- settingsString?: string;
26439
+ /**
26440
+ * base64 encoded barcode content to scan from your mfa app. e.g. `iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAAAAADYoy...`. You
26441
+ * can display it with `<img src="data:image/png;base64,iVBORw0KGgoAAAANSUh.." />`
26442
+ *
26443
+ */
26444
+ barcode: string;
26445
+ /**
26446
+ * Same as barcode, but in URL form.
26447
+ *
26448
+ */
26449
+ url: string;
26475
26450
  }
26476
26451
  }
26477
26452
  }
26453
+ namespace $400 {
26454
+ namespace Content {
26455
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26456
+ }
26457
+ }
26478
26458
  namespace $429 {
26479
26459
  namespace Content {
26480
26460
  interface ApplicationJson {
@@ -26491,28 +26471,30 @@ export declare namespace MittwaldAPIV2 {
26491
26471
  }
26492
26472
  }
26493
26473
  }
26494
- namespace Put {
26474
+ }
26475
+ namespace V2UsersSelfCredentialsActionsInitPasswordReset {
26476
+ namespace Post {
26495
26477
  namespace Parameters {
26496
- type Path = {
26497
- userId: string;
26498
- };
26478
+ type Path = {};
26499
26479
  interface RequestBody {
26500
- settingsString: string;
26480
+ /**
26481
+ * Email address to reset the password for.
26482
+ */
26483
+ email: string;
26501
26484
  }
26502
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26485
+ type Header = {};
26503
26486
  type Query = {};
26504
26487
  }
26505
26488
  namespace Responses {
26506
- namespace $204 {
26489
+ namespace $201 {
26507
26490
  namespace Content {
26508
- type Empty = unknown;
26491
+ interface ApplicationJson {
26492
+ }
26509
26493
  }
26510
26494
  }
26511
26495
  namespace $400 {
26512
26496
  namespace Content {
26513
- interface ApplicationJson {
26514
- [k: string]: unknown;
26515
- }
26497
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26516
26498
  }
26517
26499
  }
26518
26500
  namespace $429 {
@@ -26532,35 +26514,57 @@ export declare namespace MittwaldAPIV2 {
26532
26514
  }
26533
26515
  }
26534
26516
  }
26535
- namespace V2PollSettingsUserId {
26517
+ namespace V2UsersUserIdFeedback {
26536
26518
  namespace Get {
26537
26519
  namespace Parameters {
26538
26520
  type Path = {
26539
26521
  userId: string;
26540
26522
  };
26541
- type Header = {};
26542
- type Query = {};
26523
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26524
+ type Query = {
26525
+ subject?: string;
26526
+ };
26543
26527
  }
26544
26528
  namespace Responses {
26545
26529
  namespace $200 {
26546
26530
  namespace Content {
26547
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26531
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUserFeedback[];
26548
26532
  }
26549
26533
  }
26550
- namespace $400 {
26534
+ namespace $429 {
26551
26535
  namespace Content {
26552
26536
  interface ApplicationJson {
26553
26537
  [k: string]: unknown;
26554
26538
  }
26555
26539
  }
26556
26540
  }
26557
- namespace $404 {
26541
+ namespace Default {
26558
26542
  namespace Content {
26559
26543
  interface ApplicationJson {
26560
26544
  [k: string]: unknown;
26561
26545
  }
26562
26546
  }
26563
26547
  }
26548
+ }
26549
+ }
26550
+ }
26551
+ namespace V2UsersSelfSessions {
26552
+ namespace Get {
26553
+ namespace Parameters {
26554
+ type Path = {};
26555
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26556
+ type Query = {
26557
+ limit?: number;
26558
+ skip?: number;
26559
+ page?: number;
26560
+ };
26561
+ }
26562
+ namespace Responses {
26563
+ namespace $200 {
26564
+ namespace Content {
26565
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession[];
26566
+ }
26567
+ }
26564
26568
  namespace $429 {
26565
26569
  namespace Content {
26566
26570
  interface ApplicationJson {
@@ -26577,32 +26581,35 @@ export declare namespace MittwaldAPIV2 {
26577
26581
  }
26578
26582
  }
26579
26583
  }
26580
- namespace Post {
26584
+ namespace Put {
26581
26585
  namespace Parameters {
26582
- type Path = {
26583
- userId: string;
26584
- };
26586
+ type Path = {};
26585
26587
  interface RequestBody {
26586
- status: "completed" | "muted" | "ignored";
26587
- userId: string;
26588
+ refreshToken: string;
26588
26589
  }
26589
- type Header = {};
26590
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26590
26591
  type Query = {};
26591
26592
  }
26592
26593
  namespace Responses {
26593
26594
  namespace $200 {
26594
- namespace Content {
26595
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26596
- }
26597
- }
26598
- namespace $400 {
26599
26595
  namespace Content {
26600
26596
  interface ApplicationJson {
26601
- [k: string]: unknown;
26597
+ /**
26598
+ * The expiration date of the token.
26599
+ */
26600
+ expiresAt: string;
26601
+ /**
26602
+ * Refresh token to refresh your access token even after it has expired.
26603
+ */
26604
+ refreshToken: string;
26605
+ /**
26606
+ * Public token to identify yourself against the public api.
26607
+ */
26608
+ token: string;
26602
26609
  }
26603
26610
  }
26604
26611
  }
26605
- namespace $403 {
26612
+ namespace $400 {
26606
26613
  namespace Content {
26607
26614
  interface ApplicationJson {
26608
26615
  [k: string]: unknown;
@@ -26625,27 +26632,16 @@ export declare namespace MittwaldAPIV2 {
26625
26632
  }
26626
26633
  }
26627
26634
  }
26628
- }
26629
- namespace V2UsersSelfSessionsTokenId {
26630
- namespace Get {
26635
+ namespace Delete {
26631
26636
  namespace Parameters {
26632
- type Path = {
26633
- tokenId: string;
26634
- };
26637
+ type Path = {};
26635
26638
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26636
26639
  type Query = {};
26637
26640
  }
26638
26641
  namespace Responses {
26639
- namespace $200 {
26640
- namespace Content {
26641
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession;
26642
- }
26643
- }
26644
- namespace $404 {
26642
+ namespace $204 {
26645
26643
  namespace Content {
26646
- interface ApplicationJson {
26647
- [k: string]: unknown;
26648
- }
26644
+ type Empty = unknown;
26649
26645
  }
26650
26646
  }
26651
26647
  namespace $429 {
@@ -26664,11 +26660,13 @@ export declare namespace MittwaldAPIV2 {
26664
26660
  }
26665
26661
  }
26666
26662
  }
26667
- namespace Delete {
26663
+ }
26664
+ namespace V2Logout {
26665
+ namespace Put {
26668
26666
  namespace Parameters {
26669
- type Path = {
26670
- tokenId: string;
26671
- };
26667
+ type Path = {};
26668
+ interface RequestBody {
26669
+ }
26672
26670
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26673
26671
  type Query = {};
26674
26672
  }
@@ -26678,11 +26676,9 @@ export declare namespace MittwaldAPIV2 {
26678
26676
  type Empty = unknown;
26679
26677
  }
26680
26678
  }
26681
- namespace $404 {
26679
+ namespace $400 {
26682
26680
  namespace Content {
26683
- interface ApplicationJson {
26684
- [k: string]: unknown;
26685
- }
26681
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26686
26682
  }
26687
26683
  }
26688
26684
  namespace $429 {
@@ -26702,36 +26698,38 @@ export declare namespace MittwaldAPIV2 {
26702
26698
  }
26703
26699
  }
26704
26700
  }
26705
- namespace V2UsersUserId {
26701
+ namespace V2Oauth2Authorize {
26706
26702
  namespace Get {
26707
26703
  namespace Parameters {
26708
- type Path = {
26709
- userId: string;
26704
+ type Path = {};
26705
+ type Header = {};
26706
+ type Query = {
26707
+ grant_consent?: boolean;
26708
+ grant_type?: "authorization_code";
26709
+ response_type: "code";
26710
+ client_id: string;
26711
+ redirect_uri?: string;
26712
+ scope?: string;
26713
+ state?: string;
26714
+ code_challenge?: string;
26715
+ code_challenge_method?: "S256";
26710
26716
  };
26711
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26712
- type Query = {};
26713
26717
  }
26714
26718
  namespace Responses {
26715
- namespace $200 {
26716
- namespace Content {
26717
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUser;
26718
- }
26719
- }
26720
- namespace $403 {
26719
+ namespace $302 {
26721
26720
  namespace Content {
26722
- interface ApplicationJson {
26723
- [k: string]: unknown;
26724
- }
26721
+ type Empty = unknown;
26725
26722
  }
26726
26723
  }
26727
- namespace $404 {
26724
+ namespace $400 {
26728
26725
  namespace Content {
26729
26726
  interface ApplicationJson {
26730
- [k: string]: unknown;
26727
+ error: "invalid_request";
26728
+ error_description?: string;
26731
26729
  }
26732
26730
  }
26733
26731
  }
26734
- namespace $412 {
26732
+ namespace $429 {
26735
26733
  namespace Content {
26736
26734
  interface ApplicationJson {
26737
26735
  [k: string]: unknown;
@@ -26747,27 +26745,61 @@ export declare namespace MittwaldAPIV2 {
26747
26745
  }
26748
26746
  }
26749
26747
  }
26750
- namespace Put {
26748
+ }
26749
+ namespace V2Oauth2Token {
26750
+ namespace Post {
26751
26751
  namespace Parameters {
26752
- type Path = {
26753
- userId: string;
26754
- };
26752
+ type Path = {};
26755
26753
  interface RequestBody {
26756
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
26754
+ [k: string]: unknown;
26757
26755
  }
26758
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26756
+ type Header = {
26757
+ Authorization?: string;
26758
+ };
26759
26759
  type Query = {};
26760
26760
  }
26761
26761
  namespace Responses {
26762
- namespace $204 {
26762
+ namespace $200 {
26763
26763
  namespace Content {
26764
- type Empty = unknown;
26764
+ interface ApplicationJson {
26765
+ /**
26766
+ * The access token issued by the authorization server.
26767
+ *
26768
+ */
26769
+ access_token: string;
26770
+ /**
26771
+ * The lifetime in seconds of the access token. For
26772
+ * example, the value "3600" denotes that the access
26773
+ * token will expire in one hour from the time the
26774
+ * response was generated.
26775
+ *
26776
+ */
26777
+ expires_in: number;
26778
+ /**
26779
+ * The refresh token issued by the authorization server.
26780
+ *
26781
+ */
26782
+ refresh_token: string;
26783
+ /**
26784
+ * The scope of the access token as described by
26785
+ * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-3.3).
26786
+ *
26787
+ */
26788
+ scope?: string;
26789
+ /**
26790
+ * The type of the token issued as described in
26791
+ * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-7.1).
26792
+ *
26793
+ */
26794
+ token_type: "bearer";
26795
+ }
26765
26796
  }
26766
26797
  }
26767
26798
  namespace $400 {
26768
26799
  namespace Content {
26769
26800
  interface ApplicationJson {
26770
- [k: string]: unknown;
26801
+ error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
26802
+ error_description?: string;
26771
26803
  }
26772
26804
  }
26773
26805
  }
@@ -26788,30 +26820,30 @@ export declare namespace MittwaldAPIV2 {
26788
26820
  }
26789
26821
  }
26790
26822
  }
26791
- namespace V2UsersSelfCredentialsInitMfa {
26823
+ namespace V2SignupRegistration { }
26824
+ namespace V2Register {
26792
26825
  namespace Post {
26793
26826
  namespace Parameters {
26794
26827
  type Path = {};
26795
26828
  interface RequestBody {
26829
+ /**
26830
+ * The users email address
26831
+ */
26832
+ email: string;
26833
+ /**
26834
+ * The users password.
26835
+ */
26836
+ password: string;
26837
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
26796
26838
  }
26797
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26839
+ type Header = {};
26798
26840
  type Query = {};
26799
26841
  }
26800
26842
  namespace Responses {
26801
- namespace $200 {
26843
+ namespace $201 {
26802
26844
  namespace Content {
26803
26845
  interface ApplicationJson {
26804
- /**
26805
- * base64 encoded barcode content to scan from your mfa app. e.g. `iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAAAAADYoy...`. You
26806
- * can display it with `<img src="data:image/png;base64,iVBORw0KGgoAAAANSUh.." />`
26807
- *
26808
- */
26809
- barcode: string;
26810
- /**
26811
- * Same as barcode, but in URL form.
26812
- *
26813
- */
26814
- url: string;
26846
+ userId: string;
26815
26847
  }
26816
26848
  }
26817
26849
  }
@@ -26837,29 +26869,66 @@ export declare namespace MittwaldAPIV2 {
26837
26869
  }
26838
26870
  }
26839
26871
  }
26840
- namespace V2UsersSelfCredentialsActionsInitPasswordReset {
26872
+ namespace V2UsersUserIdAvatar {
26841
26873
  namespace Post {
26842
26874
  namespace Parameters {
26843
- type Path = {};
26875
+ type Path = {
26876
+ userId: string;
26877
+ };
26844
26878
  interface RequestBody {
26845
- /**
26846
- * Email address to reset the password for.
26847
- */
26848
- email: string;
26849
26879
  }
26850
- type Header = {};
26880
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26851
26881
  type Query = {};
26852
26882
  }
26853
26883
  namespace Responses {
26854
- namespace $201 {
26884
+ namespace $200 {
26855
26885
  namespace Content {
26856
26886
  interface ApplicationJson {
26887
+ /**
26888
+ * The `refId` to be used to upload your avatar to the /v2/files/:refId route.
26889
+ */
26890
+ refId: string;
26891
+ /**
26892
+ * Contstraints for the avatar image upload.
26893
+ */
26894
+ rules: {
26895
+ /**
26896
+ * Maximum size in Bytes of the avatar image.
26897
+ */
26898
+ maxSizeInBytes: number;
26899
+ /**
26900
+ * @deprecated
26901
+ * Deprecated. Maximum size in kilobytes of the avatar image.
26902
+ */
26903
+ maxSizeInKB: number;
26904
+ /**
26905
+ * List of supported mime types.
26906
+ */
26907
+ mimeTypes: string[];
26908
+ properties?: {
26909
+ /**
26910
+ * Supported range of dimensions for the avatar image.
26911
+ */
26912
+ imageDimensions?: {
26913
+ max?: {
26914
+ height?: number;
26915
+ width?: number;
26916
+ };
26917
+ min?: {
26918
+ height?: number;
26919
+ width?: number;
26920
+ };
26921
+ };
26922
+ };
26923
+ };
26857
26924
  }
26858
26925
  }
26859
26926
  }
26860
26927
  namespace $400 {
26861
26928
  namespace Content {
26862
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26929
+ interface ApplicationJson {
26930
+ [k: string]: unknown;
26931
+ }
26863
26932
  }
26864
26933
  }
26865
26934
  namespace $429 {
@@ -26878,22 +26947,25 @@ export declare namespace MittwaldAPIV2 {
26878
26947
  }
26879
26948
  }
26880
26949
  }
26881
- }
26882
- namespace V2UsersUserIdFeedback {
26883
- namespace Get {
26950
+ namespace Delete {
26884
26951
  namespace Parameters {
26885
26952
  type Path = {
26886
26953
  userId: string;
26887
26954
  };
26888
26955
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26889
- type Query = {
26890
- subject?: string;
26891
- };
26956
+ type Query = {};
26892
26957
  }
26893
26958
  namespace Responses {
26894
- namespace $200 {
26959
+ namespace $204 {
26895
26960
  namespace Content {
26896
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUserFeedback[];
26961
+ type Empty = unknown;
26962
+ }
26963
+ }
26964
+ namespace $400 {
26965
+ namespace Content {
26966
+ interface ApplicationJson {
26967
+ [k: string]: unknown;
26968
+ }
26897
26969
  }
26898
26970
  }
26899
26971
  namespace $429 {
@@ -26913,21 +26985,26 @@ export declare namespace MittwaldAPIV2 {
26913
26985
  }
26914
26986
  }
26915
26987
  }
26916
- namespace V2UsersSelfSessions {
26917
- namespace Get {
26988
+ namespace V2UsersSelfCredentialsEmailActionsResendEmail {
26989
+ namespace Post {
26918
26990
  namespace Parameters {
26919
26991
  type Path = {};
26920
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26921
- type Query = {
26922
- limit?: number;
26923
- skip?: number;
26924
- page?: number;
26925
- };
26992
+ interface RequestBody {
26993
+ email: string;
26994
+ userId: string;
26995
+ }
26996
+ type Header = {};
26997
+ type Query = {};
26926
26998
  }
26927
26999
  namespace Responses {
26928
- namespace $200 {
27000
+ namespace $204 {
27001
+ namespace Content {
27002
+ type Empty = unknown;
27003
+ }
27004
+ }
27005
+ namespace $400 {
26929
27006
  namespace Content {
26930
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession[];
27007
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26931
27008
  }
26932
27009
  }
26933
27010
  namespace $429 {
@@ -26946,38 +27023,31 @@ export declare namespace MittwaldAPIV2 {
26946
27023
  }
26947
27024
  }
26948
27025
  }
26949
- namespace Put {
27026
+ }
27027
+ namespace V2SignupMfaResetRecoverycodes { }
27028
+ namespace V2SignupSupportcode { }
27029
+ namespace V2SignupSupportcodes { }
27030
+ namespace V2UsersSelfCredentialsSupportCode {
27031
+ namespace Get {
26950
27032
  namespace Parameters {
26951
27033
  type Path = {};
26952
- interface RequestBody {
26953
- refreshToken: string;
26954
- }
26955
27034
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26956
- type Query = {};
27035
+ type Query = {
27036
+ forceRecreate?: boolean;
27037
+ };
26957
27038
  }
26958
27039
  namespace Responses {
26959
27040
  namespace $200 {
26960
27041
  namespace Content {
26961
27042
  interface ApplicationJson {
26962
27043
  /**
26963
- * The expiration date of the token.
27044
+ * Expiration of the support code
26964
27045
  */
26965
27046
  expiresAt: string;
26966
27047
  /**
26967
- * Refresh token to refresh your access token even after it has expired.
26968
- */
26969
- refreshToken: string;
26970
- /**
26971
- * Public token to identify yourself against the public api.
27048
+ * support code to authenticate yourself against the mittwald support via telephone
26972
27049
  */
26973
- token: string;
26974
- }
26975
- }
26976
- }
26977
- namespace $400 {
26978
- namespace Content {
26979
- interface ApplicationJson {
26980
- [k: string]: unknown;
27050
+ supportCode: string;
26981
27051
  }
26982
27052
  }
26983
27053
  }
@@ -26997,9 +27067,21 @@ export declare namespace MittwaldAPIV2 {
26997
27067
  }
26998
27068
  }
26999
27069
  }
27000
- namespace Delete {
27070
+ }
27071
+ namespace V2UsersSelfCredentialsEmailActionsVerifyEmail {
27072
+ namespace Post {
27001
27073
  namespace Parameters {
27002
27074
  type Path = {};
27075
+ interface RequestBody {
27076
+ /**
27077
+ * The Email-Address to verify.
27078
+ */
27079
+ email: string;
27080
+ /**
27081
+ * The token found in the verification email.
27082
+ */
27083
+ token?: string;
27084
+ }
27003
27085
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27004
27086
  type Query = {};
27005
27087
  }
@@ -27009,6 +27091,18 @@ export declare namespace MittwaldAPIV2 {
27009
27091
  type Empty = unknown;
27010
27092
  }
27011
27093
  }
27094
+ namespace $400 {
27095
+ namespace Content {
27096
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27097
+ }
27098
+ }
27099
+ namespace $404 {
27100
+ namespace Content {
27101
+ interface ApplicationJson {
27102
+ [k: string]: unknown;
27103
+ }
27104
+ }
27105
+ }
27012
27106
  namespace $429 {
27013
27107
  namespace Content {
27014
27108
  interface ApplicationJson {
@@ -27026,11 +27120,16 @@ export declare namespace MittwaldAPIV2 {
27026
27120
  }
27027
27121
  }
27028
27122
  }
27029
- namespace V2Logout {
27030
- namespace Put {
27123
+ namespace V2UsersUserIdPhoneVerify { }
27124
+ namespace V2UsersUserIdActionsVerifyPhone {
27125
+ namespace Post {
27031
27126
  namespace Parameters {
27032
- type Path = {};
27127
+ type Path = {
27128
+ userId: string;
27129
+ };
27033
27130
  interface RequestBody {
27131
+ code: string;
27132
+ phoneNumber: string;
27034
27133
  }
27035
27134
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27036
27135
  type Query = {};
@@ -27043,7 +27142,23 @@ export declare namespace MittwaldAPIV2 {
27043
27142
  }
27044
27143
  namespace $400 {
27045
27144
  namespace Content {
27046
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27145
+ interface ApplicationJson {
27146
+ [k: string]: unknown;
27147
+ }
27148
+ }
27149
+ }
27150
+ namespace $404 {
27151
+ namespace Content {
27152
+ interface ApplicationJson {
27153
+ [k: string]: unknown;
27154
+ }
27155
+ }
27156
+ }
27157
+ namespace $409 {
27158
+ namespace Content {
27159
+ interface ApplicationJson {
27160
+ [k: string]: unknown;
27161
+ }
27047
27162
  }
27048
27163
  }
27049
27164
  namespace $429 {
@@ -27063,34 +27178,44 @@ export declare namespace MittwaldAPIV2 {
27063
27178
  }
27064
27179
  }
27065
27180
  }
27066
- namespace V2Oauth2Authorize {
27067
- namespace Get {
27181
+ namespace V2SignupRegistrationVerification { }
27182
+ namespace V2VerifyRegistration {
27183
+ namespace Post {
27068
27184
  namespace Parameters {
27069
27185
  type Path = {};
27186
+ interface RequestBody {
27187
+ /**
27188
+ * The users email address.
27189
+ */
27190
+ email: string;
27191
+ /**
27192
+ * The token that was send to your email address
27193
+ */
27194
+ token: string;
27195
+ /**
27196
+ * UUID of the registered user.
27197
+ */
27198
+ userId: string;
27199
+ }
27070
27200
  type Header = {};
27071
- type Query = {
27072
- grant_consent?: boolean;
27073
- grant_type?: "authorization_code";
27074
- response_type: "code";
27075
- client_id: string;
27076
- redirect_uri?: string;
27077
- scope?: string;
27078
- state?: string;
27079
- code_challenge?: string;
27080
- code_challenge_method?: "S256";
27081
- };
27201
+ type Query = {};
27082
27202
  }
27083
27203
  namespace Responses {
27084
- namespace $302 {
27204
+ namespace $200 {
27085
27205
  namespace Content {
27086
- type Empty = unknown;
27206
+ interface ApplicationJson {
27207
+ }
27087
27208
  }
27088
27209
  }
27089
27210
  namespace $400 {
27211
+ namespace Content {
27212
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27213
+ }
27214
+ }
27215
+ namespace $404 {
27090
27216
  namespace Content {
27091
27217
  interface ApplicationJson {
27092
- error: "invalid_request";
27093
- error_description?: string;
27218
+ [k: string]: unknown;
27094
27219
  }
27095
27220
  }
27096
27221
  }
@@ -27111,60 +27236,26 @@ export declare namespace MittwaldAPIV2 {
27111
27236
  }
27112
27237
  }
27113
27238
  }
27114
- namespace V2Oauth2Token {
27239
+ namespace V2ActionsDetectPhishingEmail {
27115
27240
  namespace Post {
27116
27241
  namespace Parameters {
27117
27242
  type Path = {};
27118
27243
  interface RequestBody {
27119
27244
  [k: string]: unknown;
27120
27245
  }
27121
- type Header = {
27122
- Authorization?: string;
27123
- };
27246
+ type Header = {};
27124
27247
  type Query = {};
27125
27248
  }
27126
27249
  namespace Responses {
27127
27250
  namespace $200 {
27128
27251
  namespace Content {
27129
- interface ApplicationJson {
27130
- /**
27131
- * The access token issued by the authorization server.
27132
- *
27133
- */
27134
- access_token: string;
27135
- /**
27136
- * The lifetime in seconds of the access token. For
27137
- * example, the value "3600" denotes that the access
27138
- * token will expire in one hour from the time the
27139
- * response was generated.
27140
- *
27141
- */
27142
- expires_in: number;
27143
- /**
27144
- * The refresh token issued by the authorization server.
27145
- *
27146
- */
27147
- refresh_token: string;
27148
- /**
27149
- * The scope of the access token as described by
27150
- * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-3.3).
27151
- *
27152
- */
27153
- scope?: string;
27154
- /**
27155
- * The type of the token issued as described in
27156
- * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-7.1).
27157
- *
27158
- */
27159
- token_type: "bearer";
27160
- }
27252
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.VerificationEmailDetectPhishingMailResponse;
27161
27253
  }
27162
27254
  }
27163
27255
  namespace $400 {
27164
27256
  namespace Content {
27165
27257
  interface ApplicationJson {
27166
- error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
27167
- error_description?: string;
27258
+ [k: string]: unknown;
27168
27259
  }
27169
27260
  }
27170
27261
  }
@@ -27185,38 +27276,33 @@ export declare namespace MittwaldAPIV2 {
27185
27276
  }
27186
27277
  }
27187
27278
  }
27188
- namespace V2SignupRegistration { }
27189
- namespace V2Register {
27279
+ namespace V2ActionsVerifyAddress {
27190
27280
  namespace Post {
27191
27281
  namespace Parameters {
27192
27282
  type Path = {};
27193
27283
  interface RequestBody {
27284
+ city: string;
27194
27285
  /**
27195
- * The users email address
27286
+ * Accepts the whole english or german name as well as the ISO 3166-2 country codes.
27196
27287
  */
27197
- email: string;
27288
+ country: string;
27198
27289
  /**
27199
- * The users password.
27290
+ * Includes the house number.
27200
27291
  */
27201
- password: string;
27202
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
27292
+ street: string;
27293
+ zip: string;
27203
27294
  }
27204
27295
  type Header = {};
27205
27296
  type Query = {};
27206
27297
  }
27207
27298
  namespace Responses {
27208
- namespace $201 {
27299
+ namespace $200 {
27209
27300
  namespace Content {
27210
27301
  interface ApplicationJson {
27211
- userId: string;
27302
+ exists: boolean;
27212
27303
  }
27213
27304
  }
27214
27305
  }
27215
- namespace $400 {
27216
- namespace Content {
27217
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27218
- }
27219
- }
27220
27306
  namespace $429 {
27221
27307
  namespace Content {
27222
27308
  interface ApplicationJson {
@@ -27224,6 +27310,11 @@ export declare namespace MittwaldAPIV2 {
27224
27310
  }
27225
27311
  }
27226
27312
  }
27313
+ namespace $500 {
27314
+ namespace Content {
27315
+ type Empty = unknown;
27316
+ }
27317
+ }
27227
27318
  namespace Default {
27228
27319
  namespace Content {
27229
27320
  interface ApplicationJson {
@@ -27234,13 +27325,12 @@ export declare namespace MittwaldAPIV2 {
27234
27325
  }
27235
27326
  }
27236
27327
  }
27237
- namespace V2UsersUserIdAvatar {
27328
+ namespace V2ActionsVerifyCompany {
27238
27329
  namespace Post {
27239
27330
  namespace Parameters {
27240
- type Path = {
27241
- userId: string;
27242
- };
27331
+ type Path = {};
27243
27332
  interface RequestBody {
27333
+ name: string;
27244
27334
  }
27245
27335
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27246
27336
  type Query = {};
@@ -27249,58 +27339,25 @@ export declare namespace MittwaldAPIV2 {
27249
27339
  namespace $200 {
27250
27340
  namespace Content {
27251
27341
  interface ApplicationJson {
27252
- /**
27253
- * The `refId` to be used to upload your avatar to the /v2/files/:refId route.
27254
- */
27255
- refId: string;
27256
- /**
27257
- * Contstraints for the avatar image upload.
27258
- */
27259
- rules: {
27260
- /**
27261
- * Maximum size in Bytes of the avatar image.
27262
- */
27263
- maxSizeInBytes: number;
27264
- /**
27265
- * @deprecated
27266
- * Deprecated. Maximum size in kilobytes of the avatar image.
27267
- */
27268
- maxSizeInKB: number;
27269
- /**
27270
- * List of supported mime types.
27271
- */
27272
- mimeTypes: string[];
27273
- properties?: {
27274
- /**
27275
- * Supported range of dimensions for the avatar image.
27276
- */
27277
- imageDimensions?: {
27278
- max?: {
27279
- height?: number;
27280
- width?: number;
27281
- };
27282
- min?: {
27283
- height?: number;
27284
- width?: number;
27285
- };
27286
- };
27287
- };
27288
- };
27342
+ exists: boolean;
27289
27343
  }
27290
27344
  }
27291
27345
  }
27292
- namespace $400 {
27346
+ namespace $412 {
27347
+ namespace Content {
27348
+ type Empty = unknown;
27349
+ }
27350
+ }
27351
+ namespace $429 {
27293
27352
  namespace Content {
27294
27353
  interface ApplicationJson {
27295
27354
  [k: string]: unknown;
27296
27355
  }
27297
27356
  }
27298
27357
  }
27299
- namespace $429 {
27358
+ namespace $500 {
27300
27359
  namespace Content {
27301
- interface ApplicationJson {
27302
- [k: string]: unknown;
27303
- }
27360
+ type Empty = unknown;
27304
27361
  }
27305
27362
  }
27306
27363
  namespace Default {
@@ -27312,21 +27369,27 @@ export declare namespace MittwaldAPIV2 {
27312
27369
  }
27313
27370
  }
27314
27371
  }
27315
- namespace Delete {
27372
+ }
27373
+ namespace V2CertificatesCertificateIdActionsCheckReplaceCertificate {
27374
+ namespace Post {
27316
27375
  namespace Parameters {
27317
27376
  type Path = {
27318
- userId: string;
27377
+ certificateId: string;
27319
27378
  };
27379
+ interface RequestBody {
27380
+ certificate: string;
27381
+ privateKey?: string;
27382
+ }
27320
27383
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27321
27384
  type Query = {};
27322
27385
  }
27323
27386
  namespace Responses {
27324
- namespace $204 {
27387
+ namespace $200 {
27325
27388
  namespace Content {
27326
- type Empty = unknown;
27389
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCheckReplaceCertificateResponse;
27327
27390
  }
27328
27391
  }
27329
- namespace $400 {
27392
+ namespace $404 {
27330
27393
  namespace Content {
27331
27394
  interface ApplicationJson {
27332
27395
  [k: string]: unknown;
@@ -27350,26 +27413,26 @@ export declare namespace MittwaldAPIV2 {
27350
27413
  }
27351
27414
  }
27352
27415
  }
27353
- namespace V2UsersSelfCredentialsEmailActionsResendEmail {
27354
- namespace Post {
27416
+ namespace V2CertificatesCertificateId {
27417
+ namespace Get {
27355
27418
  namespace Parameters {
27356
- type Path = {};
27357
- interface RequestBody {
27358
- email: string;
27359
- userId: string;
27360
- }
27361
- type Header = {};
27419
+ type Path = {
27420
+ certificateId: string;
27421
+ };
27422
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27362
27423
  type Query = {};
27363
27424
  }
27364
27425
  namespace Responses {
27365
- namespace $204 {
27426
+ namespace $200 {
27366
27427
  namespace Content {
27367
- type Empty = unknown;
27428
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate;
27368
27429
  }
27369
27430
  }
27370
- namespace $400 {
27431
+ namespace $404 {
27371
27432
  namespace Content {
27372
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27433
+ interface ApplicationJson {
27434
+ [k: string]: unknown;
27435
+ }
27373
27436
  }
27374
27437
  }
27375
27438
  namespace $429 {
@@ -27388,31 +27451,35 @@ export declare namespace MittwaldAPIV2 {
27388
27451
  }
27389
27452
  }
27390
27453
  }
27391
- }
27392
- namespace V2SignupMfaResetRecoverycodes { }
27393
- namespace V2SignupSupportcode { }
27394
- namespace V2SignupSupportcodes { }
27395
- namespace V2UsersSelfCredentialsSupportCode {
27396
- namespace Get {
27454
+ namespace Put {
27397
27455
  namespace Parameters {
27398
- type Path = {};
27399
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27400
- type Query = {
27401
- forceRecreate?: boolean;
27456
+ type Path = {
27457
+ certificateId: string;
27402
27458
  };
27459
+ interface RequestBody {
27460
+ certificate: string;
27461
+ privateKey?: string;
27462
+ }
27463
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27464
+ type Query = {};
27403
27465
  }
27404
27466
  namespace Responses {
27405
- namespace $200 {
27467
+ namespace $204 {
27468
+ namespace Content {
27469
+ type Empty = unknown;
27470
+ }
27471
+ }
27472
+ namespace $400 {
27406
27473
  namespace Content {
27407
27474
  interface ApplicationJson {
27408
- /**
27409
- * Expiration of the support code
27410
- */
27411
- expiresAt: string;
27412
- /**
27413
- * support code to authenticate yourself against the mittwald support via telephone
27414
- */
27415
- supportCode: string;
27475
+ [k: string]: unknown;
27476
+ }
27477
+ }
27478
+ }
27479
+ namespace $404 {
27480
+ namespace Content {
27481
+ interface ApplicationJson {
27482
+ [k: string]: unknown;
27416
27483
  }
27417
27484
  }
27418
27485
  }
@@ -27433,32 +27500,20 @@ export declare namespace MittwaldAPIV2 {
27433
27500
  }
27434
27501
  }
27435
27502
  }
27436
- namespace V2UsersSelfCredentialsEmailActionsVerifyEmail {
27437
- namespace Post {
27503
+ namespace V2CertificateRequests {
27504
+ namespace Get {
27438
27505
  namespace Parameters {
27439
27506
  type Path = {};
27440
- interface RequestBody {
27441
- /**
27442
- * The Email-Address to verify.
27443
- */
27444
- email: string;
27445
- /**
27446
- * The token found in the verification email.
27447
- */
27448
- token?: string;
27449
- }
27450
27507
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27451
- type Query = {};
27508
+ type Query = {
27509
+ projectId?: string;
27510
+ ingressId?: string;
27511
+ };
27452
27512
  }
27453
27513
  namespace Responses {
27454
- namespace $204 {
27455
- namespace Content {
27456
- type Empty = unknown;
27457
- }
27458
- }
27459
- namespace $400 {
27514
+ namespace $200 {
27460
27515
  namespace Content {
27461
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27516
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest[];
27462
27517
  }
27463
27518
  }
27464
27519
  namespace $404 {
@@ -27484,25 +27539,17 @@ export declare namespace MittwaldAPIV2 {
27484
27539
  }
27485
27540
  }
27486
27541
  }
27487
- }
27488
- namespace V2UsersUserIdPhoneVerify { }
27489
- namespace V2UsersUserIdActionsVerifyPhone {
27490
27542
  namespace Post {
27491
27543
  namespace Parameters {
27492
- type Path = {
27493
- userId: string;
27494
- };
27495
- interface RequestBody {
27496
- code: string;
27497
- phoneNumber: string;
27498
- }
27544
+ type Path = {};
27545
+ type RequestBody = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateRequest | MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateWithCSRRequest;
27499
27546
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27500
27547
  type Query = {};
27501
27548
  }
27502
27549
  namespace Responses {
27503
- namespace $204 {
27550
+ namespace $201 {
27504
27551
  namespace Content {
27505
- type Empty = unknown;
27552
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateResponse;
27506
27553
  }
27507
27554
  }
27508
27555
  namespace $400 {
@@ -27519,13 +27566,6 @@ export declare namespace MittwaldAPIV2 {
27519
27566
  }
27520
27567
  }
27521
27568
  }
27522
- namespace $409 {
27523
- namespace Content {
27524
- interface ApplicationJson {
27525
- [k: string]: unknown;
27526
- }
27527
- }
27528
- }
27529
27569
  namespace $429 {
27530
27570
  namespace Content {
27531
27571
  interface ApplicationJson {
@@ -27543,38 +27583,19 @@ export declare namespace MittwaldAPIV2 {
27543
27583
  }
27544
27584
  }
27545
27585
  }
27546
- namespace V2SignupRegistrationVerification { }
27547
- namespace V2VerifyRegistration {
27548
- namespace Post {
27586
+ namespace V2CertificateRequestsCertificateRequestId {
27587
+ namespace Get {
27549
27588
  namespace Parameters {
27550
- type Path = {};
27551
- interface RequestBody {
27552
- /**
27553
- * The users email address.
27554
- */
27555
- email: string;
27556
- /**
27557
- * The token that was send to your email address
27558
- */
27559
- token: string;
27560
- /**
27561
- * UUID of the registered user.
27562
- */
27563
- userId: string;
27564
- }
27565
- type Header = {};
27589
+ type Path = {
27590
+ certificateRequestId: string;
27591
+ };
27592
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27566
27593
  type Query = {};
27567
27594
  }
27568
27595
  namespace Responses {
27569
27596
  namespace $200 {
27570
27597
  namespace Content {
27571
- interface ApplicationJson {
27572
- }
27573
- }
27574
- }
27575
- namespace $400 {
27576
- namespace Content {
27577
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27598
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest;
27578
27599
  }
27579
27600
  }
27580
27601
  namespace $404 {
@@ -27601,23 +27622,23 @@ export declare namespace MittwaldAPIV2 {
27601
27622
  }
27602
27623
  }
27603
27624
  }
27604
- namespace V2ActionsDetectPhishingEmail {
27605
- namespace Post {
27625
+ namespace V2Certificates {
27626
+ namespace Get {
27606
27627
  namespace Parameters {
27607
27628
  type Path = {};
27608
- interface RequestBody {
27609
- [k: string]: unknown;
27610
- }
27611
- type Header = {};
27612
- type Query = {};
27629
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27630
+ type Query = {
27631
+ projectId?: string;
27632
+ ingressId?: string;
27633
+ };
27613
27634
  }
27614
27635
  namespace Responses {
27615
27636
  namespace $200 {
27616
27637
  namespace Content {
27617
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.VerificationEmailDetectPhishingMailResponse;
27638
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate[];
27618
27639
  }
27619
27640
  }
27620
- namespace $400 {
27641
+ namespace $404 {
27621
27642
  namespace Content {
27622
27643
  interface ApplicationJson {
27623
27644
  [k: string]: unknown;
@@ -27641,43 +27662,33 @@ export declare namespace MittwaldAPIV2 {
27641
27662
  }
27642
27663
  }
27643
27664
  }
27644
- namespace V2ActionsVerifyAddress {
27645
- namespace Post {
27665
+ namespace V2CertificateRequestCertificateRequestId {
27666
+ namespace Delete {
27646
27667
  namespace Parameters {
27647
- type Path = {};
27648
- interface RequestBody {
27649
- city: string;
27650
- /**
27651
- * Accepts the whole english or german name as well as the ISO 3166-2 country codes.
27652
- */
27653
- country: string;
27654
- /**
27655
- * Includes the house number.
27656
- */
27657
- street: string;
27658
- zip: string;
27659
- }
27660
- type Header = {};
27668
+ type Path = {
27669
+ certificateRequestId: string;
27670
+ };
27671
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27661
27672
  type Query = {};
27662
27673
  }
27663
27674
  namespace Responses {
27664
- namespace $200 {
27675
+ namespace $204 {
27665
27676
  namespace Content {
27666
- interface ApplicationJson {
27667
- exists: boolean;
27668
- }
27677
+ type Empty = unknown;
27669
27678
  }
27670
27679
  }
27671
- namespace $429 {
27680
+ namespace $404 {
27672
27681
  namespace Content {
27673
27682
  interface ApplicationJson {
27674
27683
  [k: string]: unknown;
27675
27684
  }
27676
27685
  }
27677
27686
  }
27678
- namespace $500 {
27687
+ namespace $429 {
27679
27688
  namespace Content {
27680
- type Empty = unknown;
27689
+ interface ApplicationJson {
27690
+ [k: string]: unknown;
27691
+ }
27681
27692
  }
27682
27693
  }
27683
27694
  namespace Default {
@@ -27690,39 +27701,33 @@ export declare namespace MittwaldAPIV2 {
27690
27701
  }
27691
27702
  }
27692
27703
  }
27693
- namespace V2ActionsVerifyCompany {
27694
- namespace Post {
27704
+ namespace V2CertificateCertificateId {
27705
+ namespace Delete {
27695
27706
  namespace Parameters {
27696
- type Path = {};
27697
- interface RequestBody {
27698
- name: string;
27699
- }
27707
+ type Path = {
27708
+ certificateId: string;
27709
+ };
27700
27710
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27701
27711
  type Query = {};
27702
27712
  }
27703
27713
  namespace Responses {
27704
- namespace $200 {
27705
- namespace Content {
27706
- interface ApplicationJson {
27707
- exists: boolean;
27708
- }
27709
- }
27710
- }
27711
- namespace $412 {
27714
+ namespace $204 {
27712
27715
  namespace Content {
27713
27716
  type Empty = unknown;
27714
27717
  }
27715
27718
  }
27716
- namespace $429 {
27719
+ namespace $404 {
27717
27720
  namespace Content {
27718
27721
  interface ApplicationJson {
27719
27722
  [k: string]: unknown;
27720
27723
  }
27721
27724
  }
27722
27725
  }
27723
- namespace $500 {
27726
+ namespace $429 {
27724
27727
  namespace Content {
27725
- type Empty = unknown;
27728
+ interface ApplicationJson {
27729
+ [k: string]: unknown;
27730
+ }
27726
27731
  }
27727
27732
  }
27728
27733
  namespace Default {