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