@mittwald/api-client 4.261.0 → 4.263.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,67 +5407,155 @@ 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;
5410
+ interface SslCheckReplaceDateChange {
5411
+ newValue: string;
5412
+ oldValue: string;
5504
5413
  }
5505
- interface CommonsAddress {
5506
- street: string;
5507
- houseNumber: string;
5508
- city: string;
5509
- zip: string;
5414
+ interface SslContact {
5415
+ city?: string;
5416
+ company?: string;
5510
5417
  /**
5511
- * ISO 3166-1 alpha-2 country code
5418
+ * Two letter abbreviation - country code (ISO 3166-1 Alpha-2).
5512
5419
  */
5513
- countryCode: string;
5514
- addressPrefix?: string;
5420
+ country?: string;
5421
+ organizationalUnit?: string;
5422
+ state?: string;
5515
5423
  }
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;
5424
+ type SslCertificateType = 0 | 1 | 2;
5425
+ interface SslCertificateRequestCreateResponse {
5426
+ commonName?: string;
5427
+ contact: MittwaldAPIV2.Components.Schemas.SslContact;
5428
+ dnsNames?: string[];
5429
+ id: string;
5430
+ issuer?: string;
5431
+ signingRequest?: string;
5432
+ validFrom?: string;
5433
+ validTo?: string;
5526
5434
  }
5527
- interface CommonsError {
5528
- message: string;
5529
- type: string;
5435
+ interface SslCertificateData {
5436
+ caBundle?: string;
5437
+ certificate?: string;
5438
+ signingRequest?: string;
5530
5439
  }
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;
5440
+ interface SslCheckReplaceCertificateResponse {
5441
+ changes?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceChanges;
5442
+ errors?: MittwaldAPIV2.Components.Schemas.SslCertificateError[];
5443
+ isReplaceable: boolean;
5544
5444
  }
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
- */
5445
+ interface SslCheckReplaceSliceChange {
5446
+ addedValues: string[];
5447
+ removedValues: string[];
5448
+ values: string[];
5449
+ }
5450
+ interface SslCheckReplaceChanges {
5451
+ commonName?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
5452
+ dnsNames?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceSliceChange;
5453
+ issuer?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
5454
+ validFrom?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
5455
+ validTo?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
5456
+ }
5457
+ interface SslCertificateRequestCreateRequest {
5458
+ certificate: string;
5459
+ privateKey: string;
5460
+ projectId: string;
5461
+ }
5462
+ interface SslCertificateRequest {
5463
+ certificateData: MittwaldAPIV2.Components.Schemas.SslCertificateData;
5464
+ certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
5465
+ commonName?: string;
5466
+ contact?: MittwaldAPIV2.Components.Schemas.SslContact;
5467
+ createdAt: string;
5468
+ dnsNames?: string[];
5469
+ id: string;
5470
+ isCompleted: boolean;
5471
+ issuer?: string;
5472
+ projectId: string;
5473
+ validFrom?: string;
5474
+ validTo?: string;
5475
+ }
5476
+ interface SslCertificateRequestCreateWithCSRRequest {
5477
+ commonName: string;
5478
+ contact: MittwaldAPIV2.Components.Schemas.SslContact;
5479
+ projectId: string;
5480
+ }
5481
+ interface SslCheckReplaceFieldChange {
5482
+ newValue: string;
5483
+ oldValue: string;
5484
+ }
5485
+ interface SslCertificate {
5486
+ caBundle?: string;
5487
+ certificate: string;
5488
+ certificateOrderId?: string;
5489
+ certificateRequestId: string;
5490
+ certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
5491
+ commonName?: string;
5492
+ contact?: MittwaldAPIV2.Components.Schemas.SslContact;
5493
+ dnsNames?: string[];
5494
+ id: string;
5495
+ isExpired: boolean;
5496
+ issuer?: string;
5497
+ lastExpirationThresholdHit: number;
5498
+ projectId: string;
5499
+ validFrom: string;
5500
+ validTo: string;
5501
+ }
5502
+ interface SslCertificateError {
5503
+ 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";
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
5559
  type: string;
5560
5560
  /**
5561
5561
  * The object with the additional information about the error that can be used to create custom error messages. Keys depend on the
@@ -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
  }
@@ -19827,6 +19827,13 @@ export declare namespace MittwaldAPIV2 {
19827
19827
  }
19828
19828
  }
19829
19829
  }
19830
+ namespace $400 {
19831
+ namespace Content {
19832
+ interface ApplicationJson {
19833
+ [k: string]: unknown;
19834
+ }
19835
+ }
19836
+ }
19830
19837
  namespace $429 {
19831
19838
  namespace Content {
19832
19839
  interface ApplicationJson {
@@ -19893,6 +19900,13 @@ export declare namespace MittwaldAPIV2 {
19893
19900
  }
19894
19901
  }
19895
19902
  }
19903
+ namespace $400 {
19904
+ namespace Content {
19905
+ interface ApplicationJson {
19906
+ [k: string]: unknown;
19907
+ }
19908
+ }
19909
+ }
19896
19910
  namespace $403 {
19897
19911
  namespace Content {
19898
19912
  interface ApplicationJson {
@@ -24603,73 +24617,50 @@ export declare namespace MittwaldAPIV2 {
24603
24617
  }
24604
24618
  }
24605
24619
  namespace V2SshusersSshUserId { }
24606
- namespace V2CertificatesCertificateIdActionsCheckReplaceCertificate {
24607
- namespace Post {
24620
+ namespace V2ProjectsProjectIdStorageSpaceStatistics {
24621
+ namespace Get {
24608
24622
  namespace Parameters {
24609
24623
  type Path = {
24610
- certificateId: string;
24624
+ projectId: string;
24611
24625
  };
24612
- interface RequestBody {
24613
- certificate: string;
24614
- privateKey?: string;
24615
- }
24616
24626
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24617
24627
  type Query = {};
24618
24628
  }
24619
24629
  namespace Responses {
24620
24630
  namespace $200 {
24621
24631
  namespace Content {
24622
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCheckReplaceCertificateResponse;
24632
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
24623
24633
  }
24624
24634
  }
24625
- namespace $404 {
24635
+ namespace $400 {
24626
24636
  namespace Content {
24627
24637
  interface ApplicationJson {
24628
24638
  [k: string]: unknown;
24629
24639
  }
24630
24640
  }
24631
24641
  }
24632
- namespace $429 {
24642
+ namespace $403 {
24633
24643
  namespace Content {
24634
24644
  interface ApplicationJson {
24635
24645
  [k: string]: unknown;
24636
24646
  }
24637
24647
  }
24638
24648
  }
24639
- namespace Default {
24649
+ namespace $404 {
24640
24650
  namespace Content {
24641
24651
  interface ApplicationJson {
24642
24652
  [k: string]: unknown;
24643
24653
  }
24644
24654
  }
24645
24655
  }
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 {
24656
+ namespace $429 {
24666
24657
  namespace Content {
24667
24658
  interface ApplicationJson {
24668
24659
  [k: string]: unknown;
24669
24660
  }
24670
24661
  }
24671
24662
  }
24672
- namespace $429 {
24663
+ namespace $500 {
24673
24664
  namespace Content {
24674
24665
  interface ApplicationJson {
24675
24666
  [k: string]: unknown;
@@ -24685,17 +24676,20 @@ export declare namespace MittwaldAPIV2 {
24685
24676
  }
24686
24677
  }
24687
24678
  }
24688
- namespace Post {
24679
+ }
24680
+ namespace V2ServersServerIdStorageSpaceStatistics {
24681
+ namespace Get {
24689
24682
  namespace Parameters {
24690
- type Path = {};
24691
- type RequestBody = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateRequest | MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateWithCSRRequest;
24683
+ type Path = {
24684
+ serverId: string;
24685
+ };
24692
24686
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24693
24687
  type Query = {};
24694
24688
  }
24695
24689
  namespace Responses {
24696
- namespace $201 {
24690
+ namespace $200 {
24697
24691
  namespace Content {
24698
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateResponse;
24692
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
24699
24693
  }
24700
24694
  }
24701
24695
  namespace $400 {
@@ -24705,6 +24699,13 @@ export declare namespace MittwaldAPIV2 {
24705
24699
  }
24706
24700
  }
24707
24701
  }
24702
+ namespace $403 {
24703
+ namespace Content {
24704
+ interface ApplicationJson {
24705
+ [k: string]: unknown;
24706
+ }
24707
+ }
24708
+ }
24708
24709
  namespace $404 {
24709
24710
  namespace Content {
24710
24711
  interface ApplicationJson {
@@ -24719,6 +24720,13 @@ export declare namespace MittwaldAPIV2 {
24719
24720
  }
24720
24721
  }
24721
24722
  }
24723
+ namespace $500 {
24724
+ namespace Content {
24725
+ interface ApplicationJson {
24726
+ [k: string]: unknown;
24727
+ }
24728
+ }
24729
+ }
24722
24730
  namespace Default {
24723
24731
  namespace Content {
24724
24732
  interface ApplicationJson {
@@ -24729,12 +24737,15 @@ export declare namespace MittwaldAPIV2 {
24729
24737
  }
24730
24738
  }
24731
24739
  }
24732
- namespace V2CertificateRequestCertificateRequestId {
24733
- namespace Delete {
24740
+ namespace V2ProjectsProjectIdStorageSpaceNotificationThreshold {
24741
+ namespace Put {
24734
24742
  namespace Parameters {
24735
24743
  type Path = {
24736
- certificateRequestId: string;
24744
+ projectId: string;
24737
24745
  };
24746
+ interface RequestBody {
24747
+ notificationThresholdInBytes?: number;
24748
+ }
24738
24749
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24739
24750
  type Query = {};
24740
24751
  }
@@ -24744,7 +24755,7 @@ export declare namespace MittwaldAPIV2 {
24744
24755
  type Empty = unknown;
24745
24756
  }
24746
24757
  }
24747
- namespace $404 {
24758
+ namespace $403 {
24748
24759
  namespace Content {
24749
24760
  interface ApplicationJson {
24750
24761
  [k: string]: unknown;
@@ -24758,6 +24769,13 @@ export declare namespace MittwaldAPIV2 {
24758
24769
  }
24759
24770
  }
24760
24771
  }
24772
+ namespace $500 {
24773
+ namespace Content {
24774
+ interface ApplicationJson {
24775
+ [k: string]: unknown;
24776
+ }
24777
+ }
24778
+ }
24761
24779
  namespace Default {
24762
24780
  namespace Content {
24763
24781
  interface ApplicationJson {
@@ -24768,12 +24786,15 @@ export declare namespace MittwaldAPIV2 {
24768
24786
  }
24769
24787
  }
24770
24788
  }
24771
- namespace V2CertificateCertificateId {
24772
- namespace Delete {
24789
+ namespace V2ServersServerIdStorageSpaceNotificationThreshold {
24790
+ namespace Put {
24773
24791
  namespace Parameters {
24774
24792
  type Path = {
24775
- certificateId: string;
24793
+ serverId: string;
24776
24794
  };
24795
+ interface RequestBody {
24796
+ notificationThresholdInBytes?: number;
24797
+ }
24777
24798
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24778
24799
  type Query = {};
24779
24800
  }
@@ -24783,7 +24804,7 @@ export declare namespace MittwaldAPIV2 {
24783
24804
  type Empty = unknown;
24784
24805
  }
24785
24806
  }
24786
- namespace $404 {
24807
+ namespace $403 {
24787
24808
  namespace Content {
24788
24809
  interface ApplicationJson {
24789
24810
  [k: string]: unknown;
@@ -24797,6 +24818,13 @@ export declare namespace MittwaldAPIV2 {
24797
24818
  }
24798
24819
  }
24799
24820
  }
24821
+ namespace $500 {
24822
+ namespace Content {
24823
+ interface ApplicationJson {
24824
+ [k: string]: unknown;
24825
+ }
24826
+ }
24827
+ }
24800
24828
  namespace Default {
24801
24829
  namespace Content {
24802
24830
  interface ApplicationJson {
@@ -24807,61 +24835,32 @@ export declare namespace MittwaldAPIV2 {
24807
24835
  }
24808
24836
  }
24809
24837
  }
24810
- namespace V2CertificateRequestsCertificateRequestId {
24811
- namespace Get {
24838
+ namespace V2UsersUserIdPhone {
24839
+ namespace Post {
24812
24840
  namespace Parameters {
24813
24841
  type Path = {
24814
- certificateRequestId: string;
24842
+ userId: string;
24815
24843
  };
24844
+ interface RequestBody {
24845
+ phoneNumber: string;
24846
+ }
24816
24847
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24817
24848
  type Query = {};
24818
24849
  }
24819
24850
  namespace Responses {
24820
- namespace $200 {
24851
+ namespace $204 {
24821
24852
  namespace Content {
24822
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest;
24853
+ type Empty = unknown;
24823
24854
  }
24824
24855
  }
24825
- namespace $404 {
24856
+ namespace $400 {
24826
24857
  namespace Content {
24827
24858
  interface ApplicationJson {
24828
24859
  [k: string]: unknown;
24829
24860
  }
24830
24861
  }
24831
24862
  }
24832
- namespace $429 {
24833
- namespace Content {
24834
- interface ApplicationJson {
24835
- [k: string]: unknown;
24836
- }
24837
- }
24838
- }
24839
- namespace Default {
24840
- namespace Content {
24841
- interface ApplicationJson {
24842
- [k: string]: unknown;
24843
- }
24844
- }
24845
- }
24846
- }
24847
- }
24848
- }
24849
- namespace V2CertificatesCertificateId {
24850
- namespace Get {
24851
- namespace Parameters {
24852
- type Path = {
24853
- certificateId: string;
24854
- };
24855
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24856
- type Query = {};
24857
- }
24858
- namespace Responses {
24859
- namespace $200 {
24860
- namespace Content {
24861
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate;
24862
- }
24863
- }
24864
- namespace $404 {
24863
+ namespace $409 {
24865
24864
  namespace Content {
24866
24865
  interface ApplicationJson {
24867
24866
  [k: string]: unknown;
@@ -24884,15 +24883,11 @@ export declare namespace MittwaldAPIV2 {
24884
24883
  }
24885
24884
  }
24886
24885
  }
24887
- namespace Put {
24886
+ namespace Delete {
24888
24887
  namespace Parameters {
24889
24888
  type Path = {
24890
- certificateId: string;
24889
+ userId: string;
24891
24890
  };
24892
- interface RequestBody {
24893
- certificate: string;
24894
- privateKey?: string;
24895
- }
24896
24891
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24897
24892
  type Query = {};
24898
24893
  }
@@ -24909,7 +24904,7 @@ export declare namespace MittwaldAPIV2 {
24909
24904
  }
24910
24905
  }
24911
24906
  }
24912
- namespace $404 {
24907
+ namespace $412 {
24913
24908
  namespace Content {
24914
24909
  interface ApplicationJson {
24915
24910
  [k: string]: unknown;
@@ -24933,27 +24928,57 @@ export declare namespace MittwaldAPIV2 {
24933
24928
  }
24934
24929
  }
24935
24930
  }
24936
- namespace V2Certificates {
24937
- namespace Get {
24931
+ namespace V2SignupAuthenticationMfa { }
24932
+ namespace V2AuthenticateMfa {
24933
+ namespace Post {
24938
24934
  namespace Parameters {
24939
24935
  type Path = {};
24940
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24941
- type Query = {
24942
- projectId?: string;
24943
- ingressId?: string;
24944
- };
24936
+ interface RequestBody {
24937
+ /**
24938
+ * The email of the user.
24939
+ */
24940
+ email: string;
24941
+ /**
24942
+ * The second factor - otp code or recovery code.
24943
+ */
24944
+ multiFactorCode: string;
24945
+ /**
24946
+ * The password of the user.
24947
+ */
24948
+ password: string;
24949
+ }
24950
+ type Header = {};
24951
+ type Query = {};
24945
24952
  }
24946
24953
  namespace Responses {
24947
24954
  namespace $200 {
24948
24955
  namespace Content {
24949
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate[];
24956
+ interface ApplicationJson {
24957
+ /**
24958
+ * The expiration date of the token.
24959
+ */
24960
+ expires: string;
24961
+ /**
24962
+ * Refresh token to refresh your access token even after it has expired.
24963
+ */
24964
+ refreshToken: string;
24965
+ /**
24966
+ * Public token to identify yourself against the api gateway.
24967
+ */
24968
+ token: string;
24969
+ }
24950
24970
  }
24951
24971
  }
24952
- namespace $404 {
24972
+ namespace $400 {
24953
24973
  namespace Content {
24954
- interface ApplicationJson {
24955
- [k: string]: unknown;
24956
- }
24974
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
24975
+ }
24976
+ }
24977
+ namespace $408 {
24978
+ namespace Content {
24979
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
24980
+ name?: "FirstAuthenticationFactorExpired";
24981
+ };
24957
24982
  }
24958
24983
  }
24959
24984
  namespace $429 {
@@ -24973,50 +24998,61 @@ export declare namespace MittwaldAPIV2 {
24973
24998
  }
24974
24999
  }
24975
25000
  }
24976
- namespace V2ProjectsProjectIdStorageSpaceStatistics {
24977
- namespace Get {
25001
+ namespace V2SignupAuthentication { }
25002
+ namespace V2Authenticate {
25003
+ namespace Post {
24978
25004
  namespace Parameters {
24979
- type Path = {
24980
- projectId: string;
24981
- };
24982
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25005
+ type Path = {};
25006
+ interface RequestBody {
25007
+ /**
25008
+ * The users Email-Address.
25009
+ */
25010
+ email: string;
25011
+ /**
25012
+ * Password of the User.
25013
+ */
25014
+ password: string;
25015
+ }
25016
+ type Header = {};
24983
25017
  type Query = {};
24984
25018
  }
24985
25019
  namespace Responses {
24986
25020
  namespace $200 {
24987
- namespace Content {
24988
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
24989
- }
24990
- }
24991
- namespace $400 {
24992
25021
  namespace Content {
24993
25022
  interface ApplicationJson {
24994
- [k: string]: unknown;
25023
+ /**
25024
+ * The expiration date of the token.
25025
+ */
25026
+ expires: string;
25027
+ /**
25028
+ * Refresh token to refresh your access token even after it has expired.
25029
+ */
25030
+ refreshToken: string;
25031
+ /**
25032
+ * Public token to identify yourself against the api gateway.
25033
+ */
25034
+ token: string;
24995
25035
  }
24996
25036
  }
24997
25037
  }
24998
- namespace $403 {
25038
+ namespace $202 {
24999
25039
  namespace Content {
25000
25040
  interface ApplicationJson {
25001
- [k: string]: unknown;
25041
+ name?: "SecondFactorRequired";
25002
25042
  }
25003
25043
  }
25004
25044
  }
25005
- namespace $404 {
25045
+ namespace $400 {
25006
25046
  namespace Content {
25007
- interface ApplicationJson {
25008
- [k: string]: unknown;
25009
- }
25047
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
25010
25048
  }
25011
25049
  }
25012
- namespace $429 {
25050
+ namespace $401 {
25013
25051
  namespace Content {
25014
- interface ApplicationJson {
25015
- [k: string]: unknown;
25016
- }
25052
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25017
25053
  }
25018
25054
  }
25019
- namespace $500 {
25055
+ namespace $429 {
25020
25056
  namespace Content {
25021
25057
  interface ApplicationJson {
25022
25058
  [k: string]: unknown;
@@ -25033,36 +25069,37 @@ export declare namespace MittwaldAPIV2 {
25033
25069
  }
25034
25070
  }
25035
25071
  }
25036
- namespace V2ServersServerIdStorageSpaceStatistics {
25037
- namespace Get {
25072
+ namespace V2AuthenticateTokenRetrievalKey {
25073
+ namespace Post {
25038
25074
  namespace Parameters {
25039
- type Path = {
25040
- serverId: string;
25041
- };
25042
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25075
+ type Path = {};
25076
+ interface RequestBody {
25077
+ accessTokenRetrievalKey: string;
25078
+ userId: string;
25079
+ }
25080
+ type Header = {};
25043
25081
  type Query = {};
25044
25082
  }
25045
25083
  namespace Responses {
25046
25084
  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
25085
  namespace Content {
25060
25086
  interface ApplicationJson {
25061
- [k: string]: unknown;
25087
+ /**
25088
+ * The expiration date of the token.
25089
+ */
25090
+ expiresAt: string;
25091
+ /**
25092
+ * Refresh token to refresh your access token even after it has expired.
25093
+ */
25094
+ refreshToken: string;
25095
+ /**
25096
+ * Public token to identify yourself against the public api.
25097
+ */
25098
+ token: string;
25062
25099
  }
25063
25100
  }
25064
25101
  }
25065
- namespace $404 {
25102
+ namespace $400 {
25066
25103
  namespace Content {
25067
25104
  interface ApplicationJson {
25068
25105
  [k: string]: unknown;
@@ -25076,13 +25113,6 @@ export declare namespace MittwaldAPIV2 {
25076
25113
  }
25077
25114
  }
25078
25115
  }
25079
- namespace $500 {
25080
- namespace Content {
25081
- interface ApplicationJson {
25082
- [k: string]: unknown;
25083
- }
25084
- }
25085
- }
25086
25116
  namespace Default {
25087
25117
  namespace Content {
25088
25118
  interface ApplicationJson {
@@ -25093,39 +25123,29 @@ export declare namespace MittwaldAPIV2 {
25093
25123
  }
25094
25124
  }
25095
25125
  }
25096
- namespace V2ProjectsProjectIdStorageSpaceNotificationThreshold {
25097
- namespace Put {
25126
+ namespace V2UsersSelfCredentialsEmail {
25127
+ namespace Get {
25098
25128
  namespace Parameters {
25099
- type Path = {
25100
- projectId: string;
25101
- };
25102
- interface RequestBody {
25103
- notificationThresholdInBytes?: number;
25104
- }
25129
+ type Path = {};
25105
25130
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25106
25131
  type Query = {};
25107
25132
  }
25108
25133
  namespace Responses {
25109
- namespace $204 {
25110
- namespace Content {
25111
- type Empty = unknown;
25112
- }
25113
- }
25114
- namespace $403 {
25134
+ namespace $200 {
25115
25135
  namespace Content {
25116
25136
  interface ApplicationJson {
25117
- [k: string]: unknown;
25137
+ email: string;
25118
25138
  }
25119
25139
  }
25120
25140
  }
25121
- namespace $429 {
25141
+ namespace $404 {
25122
25142
  namespace Content {
25123
25143
  interface ApplicationJson {
25124
25144
  [k: string]: unknown;
25125
25145
  }
25126
25146
  }
25127
25147
  }
25128
- namespace $500 {
25148
+ namespace $429 {
25129
25149
  namespace Content {
25130
25150
  interface ApplicationJson {
25131
25151
  [k: string]: unknown;
@@ -25141,15 +25161,14 @@ export declare namespace MittwaldAPIV2 {
25141
25161
  }
25142
25162
  }
25143
25163
  }
25144
- }
25145
- namespace V2ServersServerIdStorageSpaceNotificationThreshold {
25146
25164
  namespace Put {
25147
25165
  namespace Parameters {
25148
- type Path = {
25149
- serverId: string;
25150
- };
25166
+ type Path = {};
25151
25167
  interface RequestBody {
25152
- notificationThresholdInBytes?: number;
25168
+ /**
25169
+ * The new Email-Address
25170
+ */
25171
+ email: string;
25153
25172
  }
25154
25173
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25155
25174
  type Query = {};
@@ -25160,11 +25179,9 @@ export declare namespace MittwaldAPIV2 {
25160
25179
  type Empty = unknown;
25161
25180
  }
25162
25181
  }
25163
- namespace $403 {
25182
+ namespace $400 {
25164
25183
  namespace Content {
25165
- interface ApplicationJson {
25166
- [k: string]: unknown;
25167
- }
25184
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25168
25185
  }
25169
25186
  }
25170
25187
  namespace $429 {
@@ -25174,13 +25191,6 @@ export declare namespace MittwaldAPIV2 {
25174
25191
  }
25175
25192
  }
25176
25193
  }
25177
- namespace $500 {
25178
- namespace Content {
25179
- interface ApplicationJson {
25180
- [k: string]: unknown;
25181
- }
25182
- }
25183
- }
25184
25194
  namespace Default {
25185
25195
  namespace Content {
25186
25196
  interface ApplicationJson {
@@ -25191,36 +25201,55 @@ export declare namespace MittwaldAPIV2 {
25191
25201
  }
25192
25202
  }
25193
25203
  }
25194
- namespace V2UsersUserIdPhone {
25195
- namespace Post {
25204
+ namespace V2SignupPassword { }
25205
+ namespace V2UsersSelfCredentialsPassword {
25206
+ namespace Put {
25196
25207
  namespace Parameters {
25197
- type Path = {
25198
- userId: string;
25199
- };
25208
+ type Path = {};
25200
25209
  interface RequestBody {
25201
- phoneNumber: string;
25210
+ /**
25211
+ * Multi Factor Code to confirm MFA.
25212
+ * This is optional, depending on the MFA activation status of the profile.
25213
+ *
25214
+ */
25215
+ multiFactorCode?: string;
25216
+ /**
25217
+ * The new password.
25218
+ */
25219
+ newPassword: string;
25220
+ /**
25221
+ * The old password.
25222
+ */
25223
+ oldPassword: string;
25202
25224
  }
25203
25225
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25204
25226
  type Query = {};
25205
25227
  }
25206
25228
  namespace Responses {
25207
- namespace $204 {
25229
+ namespace $200 {
25208
25230
  namespace Content {
25209
- type Empty = unknown;
25231
+ interface ApplicationJson {
25232
+ /**
25233
+ * The expiration date of the token.
25234
+ */
25235
+ expires: string;
25236
+ /**
25237
+ * Public token to identify yourself against the api gateway.
25238
+ */
25239
+ token: string;
25240
+ }
25210
25241
  }
25211
25242
  }
25212
- namespace $400 {
25243
+ namespace $202 {
25213
25244
  namespace Content {
25214
25245
  interface ApplicationJson {
25215
25246
  [k: string]: unknown;
25216
25247
  }
25217
25248
  }
25218
25249
  }
25219
- namespace $409 {
25250
+ namespace $400 {
25220
25251
  namespace Content {
25221
- interface ApplicationJson {
25222
- [k: string]: unknown;
25223
- }
25252
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25224
25253
  }
25225
25254
  }
25226
25255
  namespace $429 {
@@ -25239,31 +25268,23 @@ export declare namespace MittwaldAPIV2 {
25239
25268
  }
25240
25269
  }
25241
25270
  }
25242
- namespace Delete {
25271
+ }
25272
+ namespace V2SignupTokenCheck { }
25273
+ namespace V2UsersSelfCredentialsToken {
25274
+ namespace Post {
25243
25275
  namespace Parameters {
25244
- type Path = {
25245
- userId: string;
25246
- };
25276
+ type Path = {};
25277
+ interface RequestBody {
25278
+ }
25247
25279
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25248
25280
  type Query = {};
25249
25281
  }
25250
25282
  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 {
25283
+ namespace $200 {
25264
25284
  namespace Content {
25265
25285
  interface ApplicationJson {
25266
- [k: string]: unknown;
25286
+ id: string;
25287
+ publicToken: string;
25267
25288
  }
25268
25289
  }
25269
25290
  }
@@ -25284,59 +25305,23 @@ export declare namespace MittwaldAPIV2 {
25284
25305
  }
25285
25306
  }
25286
25307
  }
25287
- namespace V2SignupAuthenticationMfa { }
25288
- namespace V2AuthenticateMfa {
25289
- namespace Post {
25308
+ namespace V2SignupMfaConfirm { }
25309
+ namespace V2UsersSelfCredentialsMfa {
25310
+ namespace Get {
25290
25311
  namespace Parameters {
25291
25312
  type Path = {};
25292
- interface RequestBody {
25293
- /**
25294
- * The email of the user.
25295
- */
25296
- email: string;
25297
- /**
25298
- * The second factor - otp code or recovery code.
25299
- */
25300
- multiFactorCode: string;
25301
- /**
25302
- * The password of the user.
25303
- */
25304
- password: string;
25305
- }
25306
- type Header = {};
25313
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25307
25314
  type Query = {};
25308
25315
  }
25309
25316
  namespace Responses {
25310
25317
  namespace $200 {
25311
25318
  namespace Content {
25312
25319
  interface ApplicationJson {
25313
- /**
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.
25323
- */
25324
- token: string;
25320
+ confirmed: boolean;
25321
+ initialized: boolean;
25325
25322
  }
25326
25323
  }
25327
25324
  }
25328
- namespace $400 {
25329
- namespace Content {
25330
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25331
- }
25332
- }
25333
- namespace $408 {
25334
- namespace Content {
25335
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
25336
- name?: "FirstAuthenticationFactorExpired";
25337
- };
25338
- }
25339
- }
25340
25325
  namespace $429 {
25341
25326
  namespace Content {
25342
25327
  interface ApplicationJson {
@@ -25353,23 +25338,16 @@ export declare namespace MittwaldAPIV2 {
25353
25338
  }
25354
25339
  }
25355
25340
  }
25356
- }
25357
- namespace V2SignupAuthentication { }
25358
- namespace V2Authenticate {
25359
- namespace Post {
25341
+ namespace Put {
25360
25342
  namespace Parameters {
25361
25343
  type Path = {};
25362
25344
  interface RequestBody {
25363
25345
  /**
25364
- * The users Email-Address.
25365
- */
25366
- email: string;
25367
- /**
25368
- * Password of the User.
25346
+ * Multi Factor Code to authorize your request.
25369
25347
  */
25370
- password: string;
25348
+ multiFactorCode: string;
25371
25349
  }
25372
- type Header = {};
25350
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25373
25351
  type Query = {};
25374
25352
  }
25375
25353
  namespace Responses {
@@ -25377,33 +25355,35 @@ export declare namespace MittwaldAPIV2 {
25377
25355
  namespace Content {
25378
25356
  interface ApplicationJson {
25379
25357
  /**
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.
25358
+ * @minItems 20
25359
+ * @maxItems 20
25389
25360
  */
25390
- token: string;
25391
- }
25392
- }
25393
- }
25394
- namespace $202 {
25395
- namespace Content {
25396
- interface ApplicationJson {
25397
- name?: "SecondFactorRequired";
25361
+ recoveryCodesList: [
25362
+ string,
25363
+ string,
25364
+ string,
25365
+ string,
25366
+ string,
25367
+ string,
25368
+ string,
25369
+ string,
25370
+ string,
25371
+ string,
25372
+ string,
25373
+ string,
25374
+ string,
25375
+ string,
25376
+ string,
25377
+ string,
25378
+ string,
25379
+ string,
25380
+ string,
25381
+ string
25382
+ ];
25398
25383
  }
25399
25384
  }
25400
25385
  }
25401
25386
  namespace $400 {
25402
- namespace Content {
25403
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
25404
- }
25405
- }
25406
- namespace $401 {
25407
25387
  namespace Content {
25408
25388
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25409
25389
  }
@@ -25424,16 +25404,16 @@ export declare namespace MittwaldAPIV2 {
25424
25404
  }
25425
25405
  }
25426
25406
  }
25427
- }
25428
- namespace V2AuthenticateTokenRetrievalKey {
25429
25407
  namespace Post {
25430
25408
  namespace Parameters {
25431
25409
  type Path = {};
25432
25410
  interface RequestBody {
25433
- accessTokenRetrievalKey: string;
25434
- userId: string;
25411
+ /**
25412
+ * Multi Factor Code to confirm MFA.
25413
+ */
25414
+ multiFactorCode: string;
25435
25415
  }
25436
- type Header = {};
25416
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25437
25417
  type Query = {};
25438
25418
  }
25439
25419
  namespace Responses {
@@ -25441,25 +25421,37 @@ export declare namespace MittwaldAPIV2 {
25441
25421
  namespace Content {
25442
25422
  interface ApplicationJson {
25443
25423
  /**
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.
25424
+ * @minItems 20
25425
+ * @maxItems 20
25453
25426
  */
25454
- token: string;
25427
+ recoveryCodesList: [
25428
+ string,
25429
+ string,
25430
+ string,
25431
+ string,
25432
+ string,
25433
+ string,
25434
+ string,
25435
+ string,
25436
+ string,
25437
+ string,
25438
+ string,
25439
+ string,
25440
+ string,
25441
+ string,
25442
+ string,
25443
+ string,
25444
+ string,
25445
+ string,
25446
+ string,
25447
+ string
25448
+ ];
25455
25449
  }
25456
25450
  }
25457
25451
  }
25458
25452
  namespace $400 {
25459
25453
  namespace Content {
25460
- interface ApplicationJson {
25461
- [k: string]: unknown;
25462
- }
25454
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25463
25455
  }
25464
25456
  }
25465
25457
  namespace $429 {
@@ -25478,27 +25470,27 @@ export declare namespace MittwaldAPIV2 {
25478
25470
  }
25479
25471
  }
25480
25472
  }
25481
- }
25482
- namespace V2UsersSelfCredentialsEmail {
25483
- namespace Get {
25473
+ namespace Delete {
25484
25474
  namespace Parameters {
25485
25475
  type Path = {};
25476
+ interface RequestBody {
25477
+ /**
25478
+ * Multi Factor Code to confirm MFA.
25479
+ */
25480
+ multiFactorCode: string;
25481
+ }
25486
25482
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25487
25483
  type Query = {};
25488
25484
  }
25489
25485
  namespace Responses {
25490
- namespace $200 {
25486
+ namespace $204 {
25491
25487
  namespace Content {
25492
- interface ApplicationJson {
25493
- email: string;
25494
- }
25488
+ type Empty = unknown;
25495
25489
  }
25496
25490
  }
25497
- namespace $404 {
25491
+ namespace $400 {
25498
25492
  namespace Content {
25499
- interface ApplicationJson {
25500
- [k: string]: unknown;
25501
- }
25493
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25502
25494
  }
25503
25495
  }
25504
25496
  namespace $429 {
@@ -25517,16 +25509,26 @@ export declare namespace MittwaldAPIV2 {
25517
25509
  }
25518
25510
  }
25519
25511
  }
25520
- namespace Put {
25512
+ }
25513
+ namespace V2UsersSelfCredentialsPasswordConfirmReset {
25514
+ namespace Post {
25521
25515
  namespace Parameters {
25522
25516
  type Path = {};
25523
25517
  interface RequestBody {
25524
25518
  /**
25525
- * The new Email-Address
25519
+ * The new password.
25526
25520
  */
25527
- email: string;
25521
+ password: string;
25522
+ /**
25523
+ * Password reset token
25524
+ */
25525
+ token: string;
25526
+ /**
25527
+ * UserId of the user to reset the password for.
25528
+ */
25529
+ userId: string;
25528
25530
  }
25529
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25531
+ type Header = {};
25530
25532
  type Query = {};
25531
25533
  }
25532
25534
  namespace Responses {
@@ -25557,55 +25559,22 @@ export declare namespace MittwaldAPIV2 {
25557
25559
  }
25558
25560
  }
25559
25561
  }
25560
- namespace V2SignupPassword { }
25561
- namespace V2UsersSelfCredentialsPassword {
25562
- namespace Put {
25562
+ namespace V2SignupTokenApi { }
25563
+ namespace V2UsersSelfApiTokens {
25564
+ namespace Get {
25563
25565
  namespace Parameters {
25564
25566
  type Path = {};
25565
- interface RequestBody {
25566
- /**
25567
- * Multi Factor Code to confirm MFA.
25568
- * This is optional, depending on the MFA activation status of the profile.
25569
- *
25570
- */
25571
- multiFactorCode?: string;
25572
- /**
25573
- * The new password.
25574
- */
25575
- newPassword: string;
25576
- /**
25577
- * The old password.
25578
- */
25579
- oldPassword: string;
25580
- }
25581
25567
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25582
- type Query = {};
25568
+ type Query = {
25569
+ limit?: number;
25570
+ skip?: number;
25571
+ page?: number;
25572
+ };
25583
25573
  }
25584
25574
  namespace Responses {
25585
25575
  namespace $200 {
25586
25576
  namespace Content {
25587
- interface ApplicationJson {
25588
- /**
25589
- * The expiration date of the token.
25590
- */
25591
- expires: string;
25592
- /**
25593
- * Public token to identify yourself against the api gateway.
25594
- */
25595
- token: string;
25596
- }
25597
- }
25598
- }
25599
- namespace $202 {
25600
- namespace Content {
25601
- interface ApplicationJson {
25602
- [k: string]: unknown;
25603
- }
25604
- }
25605
- }
25606
- namespace $400 {
25607
- namespace Content {
25608
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25577
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken[];
25609
25578
  }
25610
25579
  }
25611
25580
  namespace $429 {
@@ -25624,23 +25593,37 @@ export declare namespace MittwaldAPIV2 {
25624
25593
  }
25625
25594
  }
25626
25595
  }
25627
- }
25628
- namespace V2SignupTokenCheck { }
25629
- namespace V2UsersSelfCredentialsToken {
25630
25596
  namespace Post {
25631
25597
  namespace Parameters {
25632
25598
  type Path = {};
25633
25599
  interface RequestBody {
25600
+ description: string;
25601
+ expiresAt?: string;
25602
+ /**
25603
+ * Determines the access rights of the ApiToken.
25604
+ *
25605
+ * @minItems 1
25606
+ */
25607
+ roles: ["api_read" | "api_write", ...("api_read" | "api_write")[]];
25634
25608
  }
25635
25609
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25636
25610
  type Query = {};
25637
25611
  }
25638
25612
  namespace Responses {
25639
- namespace $200 {
25613
+ namespace $201 {
25640
25614
  namespace Content {
25641
25615
  interface ApplicationJson {
25642
- id: string;
25643
- publicToken: string;
25616
+ /**
25617
+ * The `ApiToken`.
25618
+ */
25619
+ token: string;
25620
+ }
25621
+ }
25622
+ }
25623
+ namespace $400 {
25624
+ namespace Content {
25625
+ interface ApplicationJson {
25626
+ [k: string]: unknown;
25644
25627
  }
25645
25628
  }
25646
25629
  }
@@ -25661,87 +25644,91 @@ export declare namespace MittwaldAPIV2 {
25661
25644
  }
25662
25645
  }
25663
25646
  }
25664
- namespace V2SignupMfaConfirm { }
25665
- namespace V2UsersSelfCredentialsMfa {
25666
- namespace Get {
25647
+ namespace V2UsersSelfFeedback {
25648
+ namespace Post {
25667
25649
  namespace Parameters {
25668
25650
  type Path = {};
25651
+ interface RequestBody {
25652
+ /**
25653
+ * Personal feedback message.
25654
+ */
25655
+ message?: string;
25656
+ /**
25657
+ * Origin of the feedback.
25658
+ */
25659
+ origin?: string;
25660
+ /**
25661
+ * Descriptive subject.
25662
+ */
25663
+ subject: string;
25664
+ /**
25665
+ * Type of feedback.
25666
+ */
25667
+ type?: "feedback" | "bug";
25668
+ /**
25669
+ * Feedback rating from bad to good. Set to 0 or skip this field to not vote at all.
25670
+ */
25671
+ vote?: number;
25672
+ }
25669
25673
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25670
25674
  type Query = {};
25671
25675
  }
25672
25676
  namespace Responses {
25673
- namespace $200 {
25677
+ namespace $201 {
25674
25678
  namespace Content {
25675
25679
  interface ApplicationJson {
25676
- confirmed: boolean;
25677
- initialized: boolean;
25678
25680
  }
25679
25681
  }
25680
25682
  }
25681
- namespace $429 {
25683
+ namespace $401 {
25682
25684
  namespace Content {
25683
25685
  interface ApplicationJson {
25684
25686
  [k: string]: unknown;
25685
25687
  }
25686
25688
  }
25687
25689
  }
25688
- namespace Default {
25690
+ namespace $404 {
25689
25691
  namespace Content {
25690
25692
  interface ApplicationJson {
25691
25693
  [k: string]: unknown;
25692
25694
  }
25693
25695
  }
25694
25696
  }
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 {
25697
+ namespace $429 {
25711
25698
  namespace Content {
25712
25699
  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
- ];
25700
+ [k: string]: unknown;
25701
+ }
25702
+ }
25703
+ }
25704
+ namespace Default {
25705
+ namespace Content {
25706
+ interface ApplicationJson {
25707
+ [k: string]: unknown;
25739
25708
  }
25740
25709
  }
25741
25710
  }
25742
- namespace $400 {
25711
+ }
25712
+ }
25713
+ }
25714
+ namespace V2SignupSsh { }
25715
+ namespace V2UsersSelfSshKeys {
25716
+ namespace Get {
25717
+ namespace Parameters {
25718
+ type Path = {};
25719
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25720
+ type Query = {
25721
+ limit?: number;
25722
+ skip?: number;
25723
+ page?: number;
25724
+ };
25725
+ }
25726
+ namespace Responses {
25727
+ namespace $200 {
25743
25728
  namespace Content {
25744
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25729
+ interface ApplicationJson {
25730
+ sshKeys?: MittwaldAPIV2.Components.Schemas.SignupSshKey[];
25731
+ }
25745
25732
  }
25746
25733
  }
25747
25734
  namespace $429 {
@@ -25764,50 +25751,24 @@ export declare namespace MittwaldAPIV2 {
25764
25751
  namespace Parameters {
25765
25752
  type Path = {};
25766
25753
  interface RequestBody {
25767
- /**
25768
- * Multi Factor Code to confirm MFA.
25769
- */
25770
- multiFactorCode: string;
25754
+ expiresAt?: string;
25755
+ publicKey: string;
25771
25756
  }
25772
25757
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25773
25758
  type Query = {};
25774
25759
  }
25775
25760
  namespace Responses {
25776
- namespace $200 {
25761
+ namespace $201 {
25777
25762
  namespace Content {
25778
25763
  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
25764
  }
25806
25765
  }
25807
25766
  }
25808
25767
  namespace $400 {
25809
25768
  namespace Content {
25810
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25769
+ interface ApplicationJson {
25770
+ [k: string]: unknown;
25771
+ }
25811
25772
  }
25812
25773
  }
25813
25774
  namespace $429 {
@@ -25826,27 +25787,27 @@ export declare namespace MittwaldAPIV2 {
25826
25787
  }
25827
25788
  }
25828
25789
  }
25829
- namespace Delete {
25790
+ }
25791
+ namespace V2UsersSelfApiTokensApiTokenId {
25792
+ namespace Get {
25830
25793
  namespace Parameters {
25831
- type Path = {};
25832
- interface RequestBody {
25833
- /**
25834
- * Multi Factor Code to confirm MFA.
25835
- */
25836
- multiFactorCode: string;
25837
- }
25794
+ type Path = {
25795
+ apiTokenId: string;
25796
+ };
25838
25797
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25839
25798
  type Query = {};
25840
25799
  }
25841
25800
  namespace Responses {
25842
- namespace $204 {
25801
+ namespace $200 {
25843
25802
  namespace Content {
25844
- type Empty = unknown;
25803
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken;
25845
25804
  }
25846
25805
  }
25847
- namespace $400 {
25806
+ namespace $404 {
25848
25807
  namespace Content {
25849
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25808
+ interface ApplicationJson {
25809
+ [k: string]: unknown;
25810
+ }
25850
25811
  }
25851
25812
  }
25852
25813
  namespace $429 {
@@ -25865,26 +25826,16 @@ export declare namespace MittwaldAPIV2 {
25865
25826
  }
25866
25827
  }
25867
25828
  }
25868
- }
25869
- namespace V2UsersSelfCredentialsPasswordConfirmReset {
25870
- namespace Post {
25829
+ namespace Put {
25871
25830
  namespace Parameters {
25872
- type Path = {};
25831
+ type Path = {
25832
+ apiTokenId: string;
25833
+ };
25873
25834
  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;
25835
+ description: string;
25836
+ expiresAt?: string;
25886
25837
  }
25887
- type Header = {};
25838
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25888
25839
  type Query = {};
25889
25840
  }
25890
25841
  namespace Responses {
@@ -25895,7 +25846,9 @@ export declare namespace MittwaldAPIV2 {
25895
25846
  }
25896
25847
  namespace $400 {
25897
25848
  namespace Content {
25898
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25849
+ interface ApplicationJson {
25850
+ [k: string]: unknown;
25851
+ }
25899
25852
  }
25900
25853
  }
25901
25854
  namespace $429 {
@@ -25914,23 +25867,25 @@ export declare namespace MittwaldAPIV2 {
25914
25867
  }
25915
25868
  }
25916
25869
  }
25917
- }
25918
- namespace V2SignupTokenApi { }
25919
- namespace V2UsersSelfApiTokens {
25920
- namespace Get {
25870
+ namespace Delete {
25921
25871
  namespace Parameters {
25922
- type Path = {};
25923
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25924
- type Query = {
25925
- limit?: number;
25926
- skip?: number;
25927
- page?: number;
25872
+ type Path = {
25873
+ apiTokenId: string;
25928
25874
  };
25875
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25876
+ type Query = {};
25929
25877
  }
25930
25878
  namespace Responses {
25931
- namespace $200 {
25879
+ namespace $204 {
25932
25880
  namespace Content {
25933
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken[];
25881
+ type Empty = unknown;
25882
+ }
25883
+ }
25884
+ namespace $400 {
25885
+ namespace Content {
25886
+ interface ApplicationJson {
25887
+ [k: string]: unknown;
25888
+ }
25934
25889
  }
25935
25890
  }
25936
25891
  namespace $429 {
@@ -25949,34 +25904,25 @@ export declare namespace MittwaldAPIV2 {
25949
25904
  }
25950
25905
  }
25951
25906
  }
25952
- namespace Post {
25907
+ }
25908
+ namespace V2UsersSelfSshKeysSshKeyId {
25909
+ namespace Get {
25953
25910
  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
- }
25911
+ type Path = {
25912
+ sshKeyId: string;
25913
+ };
25965
25914
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25966
25915
  type Query = {};
25967
25916
  }
25968
25917
  namespace Responses {
25969
- namespace $201 {
25918
+ namespace $200 {
25970
25919
  namespace Content {
25971
25920
  interface ApplicationJson {
25972
- /**
25973
- * The `ApiToken`.
25974
- */
25975
- token: string;
25921
+ sshKey: MittwaldAPIV2.Components.Schemas.SignupSshKey;
25976
25922
  }
25977
25923
  }
25978
25924
  }
25979
- namespace $400 {
25925
+ namespace $404 {
25980
25926
  namespace Content {
25981
25927
  interface ApplicationJson {
25982
25928
  [k: string]: unknown;
@@ -25999,57 +25945,61 @@ export declare namespace MittwaldAPIV2 {
25999
25945
  }
26000
25946
  }
26001
25947
  }
26002
- }
26003
- namespace V2UsersSelfFeedback {
26004
- namespace Post {
25948
+ namespace Put {
26005
25949
  namespace Parameters {
26006
- type Path = {};
25950
+ type Path = {
25951
+ sshKeyId: string;
25952
+ };
26007
25953
  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;
25954
+ comment: string;
25955
+ expiresAt?: string;
26028
25956
  }
26029
25957
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26030
25958
  type Query = {};
26031
25959
  }
26032
25960
  namespace Responses {
26033
- namespace $201 {
25961
+ namespace $204 {
25962
+ namespace Content {
25963
+ type Empty = unknown;
25964
+ }
25965
+ }
25966
+ namespace $400 {
26034
25967
  namespace Content {
26035
25968
  interface ApplicationJson {
25969
+ [k: string]: unknown;
26036
25970
  }
26037
25971
  }
26038
25972
  }
26039
- namespace $401 {
25973
+ namespace $429 {
26040
25974
  namespace Content {
26041
25975
  interface ApplicationJson {
26042
25976
  [k: string]: unknown;
26043
25977
  }
26044
25978
  }
26045
25979
  }
26046
- namespace $404 {
25980
+ namespace Default {
26047
25981
  namespace Content {
26048
25982
  interface ApplicationJson {
26049
25983
  [k: string]: unknown;
26050
25984
  }
26051
25985
  }
26052
25986
  }
25987
+ }
25988
+ }
25989
+ namespace Delete {
25990
+ namespace Parameters {
25991
+ type Path = {
25992
+ sshKeyId: string;
25993
+ };
25994
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25995
+ type Query = {};
25996
+ }
25997
+ namespace Responses {
25998
+ namespace $204 {
25999
+ namespace Content {
26000
+ type Empty = unknown;
26001
+ }
26002
+ }
26053
26003
  namespace $429 {
26054
26004
  namespace Content {
26055
26005
  interface ApplicationJson {
@@ -26067,23 +26017,42 @@ export declare namespace MittwaldAPIV2 {
26067
26017
  }
26068
26018
  }
26069
26019
  }
26070
- namespace V2SignupSsh { }
26071
- namespace V2UsersSelfSshKeys {
26072
- namespace Get {
26020
+ namespace V2UsersSelf {
26021
+ namespace Delete {
26073
26022
  namespace Parameters {
26074
26023
  type Path = {};
26024
+ interface RequestBody {
26025
+ /**
26026
+ * Multi Factor Code to authorize your request.
26027
+ */
26028
+ multiFactorCode?: string;
26029
+ password: string;
26030
+ }
26075
26031
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26076
- type Query = {
26077
- limit?: number;
26078
- skip?: number;
26079
- page?: number;
26080
- };
26032
+ type Query = {};
26081
26033
  }
26082
26034
  namespace Responses {
26083
26035
  namespace $200 {
26036
+ namespace Content {
26037
+ type Empty = unknown;
26038
+ }
26039
+ }
26040
+ namespace $202 {
26041
+ namespace Content {
26042
+ interface ApplicationJson {
26043
+ [k: string]: unknown;
26044
+ }
26045
+ }
26046
+ }
26047
+ namespace $400 {
26048
+ namespace Content {
26049
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26050
+ }
26051
+ }
26052
+ namespace $409 {
26084
26053
  namespace Content {
26085
26054
  interface ApplicationJson {
26086
- sshKeys?: MittwaldAPIV2.Components.Schemas.SignupSshKey[];
26055
+ [k: string]: unknown;
26087
26056
  }
26088
26057
  }
26089
26058
  }
@@ -26103,27 +26072,21 @@ export declare namespace MittwaldAPIV2 {
26103
26072
  }
26104
26073
  }
26105
26074
  }
26106
- namespace Post {
26075
+ }
26076
+ namespace V2UsersSelfCredentialsPasswordUpdatedAt {
26077
+ namespace Get {
26107
26078
  namespace Parameters {
26108
26079
  type Path = {};
26109
26080
  interface RequestBody {
26110
- expiresAt?: string;
26111
- publicKey: string;
26112
26081
  }
26113
26082
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26114
26083
  type Query = {};
26115
26084
  }
26116
26085
  namespace Responses {
26117
- namespace $201 {
26118
- namespace Content {
26119
- interface ApplicationJson {
26120
- }
26121
- }
26122
- }
26123
- namespace $400 {
26086
+ namespace $200 {
26124
26087
  namespace Content {
26125
26088
  interface ApplicationJson {
26126
- [k: string]: unknown;
26089
+ passwordUpdatedAt: string;
26127
26090
  }
26128
26091
  }
26129
26092
  }
@@ -26144,25 +26107,20 @@ export declare namespace MittwaldAPIV2 {
26144
26107
  }
26145
26108
  }
26146
26109
  }
26147
- namespace V2UsersSelfApiTokensApiTokenId {
26110
+ namespace V2UsersUserIdSettings {
26148
26111
  namespace Get {
26149
26112
  namespace Parameters {
26150
26113
  type Path = {
26151
- apiTokenId: string;
26114
+ userId: string;
26152
26115
  };
26153
26116
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26154
26117
  type Query = {};
26155
26118
  }
26156
26119
  namespace Responses {
26157
26120
  namespace $200 {
26158
- namespace Content {
26159
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken;
26160
- }
26161
- }
26162
- namespace $404 {
26163
26121
  namespace Content {
26164
26122
  interface ApplicationJson {
26165
- [k: string]: unknown;
26123
+ settingsString?: string;
26166
26124
  }
26167
26125
  }
26168
26126
  }
@@ -26185,11 +26143,10 @@ export declare namespace MittwaldAPIV2 {
26185
26143
  namespace Put {
26186
26144
  namespace Parameters {
26187
26145
  type Path = {
26188
- apiTokenId: string;
26146
+ userId: string;
26189
26147
  };
26190
26148
  interface RequestBody {
26191
- description: string;
26192
- expiresAt?: string;
26149
+ settingsString: string;
26193
26150
  }
26194
26151
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26195
26152
  type Query = {};
@@ -26223,18 +26180,20 @@ export declare namespace MittwaldAPIV2 {
26223
26180
  }
26224
26181
  }
26225
26182
  }
26226
- namespace Delete {
26183
+ }
26184
+ namespace V2PollSettingsUserId {
26185
+ namespace Get {
26227
26186
  namespace Parameters {
26228
26187
  type Path = {
26229
- apiTokenId: string;
26188
+ userId: string;
26230
26189
  };
26231
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26190
+ type Header = {};
26232
26191
  type Query = {};
26233
26192
  }
26234
26193
  namespace Responses {
26235
- namespace $204 {
26194
+ namespace $200 {
26236
26195
  namespace Content {
26237
- type Empty = unknown;
26196
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26238
26197
  }
26239
26198
  }
26240
26199
  namespace $400 {
@@ -26244,6 +26203,13 @@ export declare namespace MittwaldAPIV2 {
26244
26203
  }
26245
26204
  }
26246
26205
  }
26206
+ namespace $404 {
26207
+ namespace Content {
26208
+ interface ApplicationJson {
26209
+ [k: string]: unknown;
26210
+ }
26211
+ }
26212
+ }
26247
26213
  namespace $429 {
26248
26214
  namespace Content {
26249
26215
  interface ApplicationJson {
@@ -26260,25 +26226,32 @@ export declare namespace MittwaldAPIV2 {
26260
26226
  }
26261
26227
  }
26262
26228
  }
26263
- }
26264
- namespace V2UsersSelfSshKeysSshKeyId {
26265
- namespace Get {
26229
+ namespace Post {
26266
26230
  namespace Parameters {
26267
26231
  type Path = {
26268
- sshKeyId: string;
26232
+ userId: string;
26269
26233
  };
26270
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26234
+ interface RequestBody {
26235
+ status: "completed" | "muted" | "ignored";
26236
+ userId: string;
26237
+ }
26238
+ type Header = {};
26271
26239
  type Query = {};
26272
26240
  }
26273
26241
  namespace Responses {
26274
26242
  namespace $200 {
26243
+ namespace Content {
26244
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26245
+ }
26246
+ }
26247
+ namespace $400 {
26275
26248
  namespace Content {
26276
26249
  interface ApplicationJson {
26277
- sshKey: MittwaldAPIV2.Components.Schemas.SignupSshKey;
26250
+ [k: string]: unknown;
26278
26251
  }
26279
26252
  }
26280
26253
  }
26281
- namespace $404 {
26254
+ namespace $403 {
26282
26255
  namespace Content {
26283
26256
  interface ApplicationJson {
26284
26257
  [k: string]: unknown;
@@ -26301,25 +26274,23 @@ export declare namespace MittwaldAPIV2 {
26301
26274
  }
26302
26275
  }
26303
26276
  }
26304
- namespace Put {
26277
+ }
26278
+ namespace V2UsersSelfSessionsTokenId {
26279
+ namespace Get {
26305
26280
  namespace Parameters {
26306
26281
  type Path = {
26307
- sshKeyId: string;
26282
+ tokenId: string;
26308
26283
  };
26309
- interface RequestBody {
26310
- comment: string;
26311
- expiresAt?: string;
26312
- }
26313
26284
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26314
26285
  type Query = {};
26315
26286
  }
26316
26287
  namespace Responses {
26317
- namespace $204 {
26288
+ namespace $200 {
26318
26289
  namespace Content {
26319
- type Empty = unknown;
26290
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession;
26320
26291
  }
26321
26292
  }
26322
- namespace $400 {
26293
+ namespace $404 {
26323
26294
  namespace Content {
26324
26295
  interface ApplicationJson {
26325
26296
  [k: string]: unknown;
@@ -26345,7 +26316,7 @@ export declare namespace MittwaldAPIV2 {
26345
26316
  namespace Delete {
26346
26317
  namespace Parameters {
26347
26318
  type Path = {
26348
- sshKeyId: string;
26319
+ tokenId: string;
26349
26320
  };
26350
26321
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26351
26322
  type Query = {};
@@ -26356,6 +26327,13 @@ export declare namespace MittwaldAPIV2 {
26356
26327
  type Empty = unknown;
26357
26328
  }
26358
26329
  }
26330
+ namespace $404 {
26331
+ namespace Content {
26332
+ interface ApplicationJson {
26333
+ [k: string]: unknown;
26334
+ }
26335
+ }
26336
+ }
26359
26337
  namespace $429 {
26360
26338
  namespace Content {
26361
26339
  interface ApplicationJson {
@@ -26373,46 +26351,36 @@ export declare namespace MittwaldAPIV2 {
26373
26351
  }
26374
26352
  }
26375
26353
  }
26376
- namespace V2UsersSelf {
26377
- namespace Delete {
26354
+ namespace V2UsersUserId {
26355
+ namespace Get {
26378
26356
  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
- }
26357
+ type Path = {
26358
+ userId: string;
26359
+ };
26387
26360
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26388
26361
  type Query = {};
26389
26362
  }
26390
26363
  namespace Responses {
26391
26364
  namespace $200 {
26392
26365
  namespace Content {
26393
- type Empty = unknown;
26366
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUser;
26394
26367
  }
26395
26368
  }
26396
- namespace $202 {
26369
+ namespace $403 {
26397
26370
  namespace Content {
26398
26371
  interface ApplicationJson {
26399
26372
  [k: string]: unknown;
26400
26373
  }
26401
26374
  }
26402
26375
  }
26403
- namespace $400 {
26404
- namespace Content {
26405
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26406
- }
26407
- }
26408
- namespace $409 {
26376
+ namespace $404 {
26409
26377
  namespace Content {
26410
26378
  interface ApplicationJson {
26411
26379
  [k: string]: unknown;
26412
26380
  }
26413
26381
  }
26414
26382
  }
26415
- namespace $429 {
26383
+ namespace $412 {
26416
26384
  namespace Content {
26417
26385
  interface ApplicationJson {
26418
26386
  [k: string]: unknown;
@@ -26428,21 +26396,27 @@ export declare namespace MittwaldAPIV2 {
26428
26396
  }
26429
26397
  }
26430
26398
  }
26431
- }
26432
- namespace V2UsersSelfCredentialsPasswordUpdatedAt {
26433
- namespace Get {
26399
+ namespace Put {
26434
26400
  namespace Parameters {
26435
- type Path = {};
26401
+ type Path = {
26402
+ userId: string;
26403
+ };
26436
26404
  interface RequestBody {
26405
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
26437
26406
  }
26438
26407
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26439
26408
  type Query = {};
26440
26409
  }
26441
26410
  namespace Responses {
26442
- namespace $200 {
26411
+ namespace $204 {
26412
+ namespace Content {
26413
+ type Empty = unknown;
26414
+ }
26415
+ }
26416
+ namespace $400 {
26443
26417
  namespace Content {
26444
26418
  interface ApplicationJson {
26445
- passwordUpdatedAt: string;
26419
+ [k: string]: unknown;
26446
26420
  }
26447
26421
  }
26448
26422
  }
@@ -26463,12 +26437,12 @@ export declare namespace MittwaldAPIV2 {
26463
26437
  }
26464
26438
  }
26465
26439
  }
26466
- namespace V2UsersUserIdSettings {
26467
- namespace Get {
26440
+ namespace V2UsersSelfCredentialsInitMfa {
26441
+ namespace Post {
26468
26442
  namespace Parameters {
26469
- type Path = {
26470
- userId: string;
26471
- };
26443
+ type Path = {};
26444
+ interface RequestBody {
26445
+ }
26472
26446
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26473
26447
  type Query = {};
26474
26448
  }
@@ -26476,10 +26450,25 @@ export declare namespace MittwaldAPIV2 {
26476
26450
  namespace $200 {
26477
26451
  namespace Content {
26478
26452
  interface ApplicationJson {
26479
- settingsString?: string;
26453
+ /**
26454
+ * base64 encoded barcode content to scan from your mfa app. e.g. `iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAAAAADYoy...`. You
26455
+ * can display it with `<img src="data:image/png;base64,iVBORw0KGgoAAAANSUh.." />`
26456
+ *
26457
+ */
26458
+ barcode: string;
26459
+ /**
26460
+ * Same as barcode, but in URL form.
26461
+ *
26462
+ */
26463
+ url: string;
26480
26464
  }
26481
26465
  }
26482
26466
  }
26467
+ namespace $400 {
26468
+ namespace Content {
26469
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26470
+ }
26471
+ }
26483
26472
  namespace $429 {
26484
26473
  namespace Content {
26485
26474
  interface ApplicationJson {
@@ -26496,28 +26485,30 @@ export declare namespace MittwaldAPIV2 {
26496
26485
  }
26497
26486
  }
26498
26487
  }
26499
- namespace Put {
26488
+ }
26489
+ namespace V2UsersSelfCredentialsActionsInitPasswordReset {
26490
+ namespace Post {
26500
26491
  namespace Parameters {
26501
- type Path = {
26502
- userId: string;
26503
- };
26492
+ type Path = {};
26504
26493
  interface RequestBody {
26505
- settingsString: string;
26494
+ /**
26495
+ * Email address to reset the password for.
26496
+ */
26497
+ email: string;
26506
26498
  }
26507
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26499
+ type Header = {};
26508
26500
  type Query = {};
26509
26501
  }
26510
26502
  namespace Responses {
26511
- namespace $204 {
26503
+ namespace $201 {
26512
26504
  namespace Content {
26513
- type Empty = unknown;
26505
+ interface ApplicationJson {
26506
+ }
26514
26507
  }
26515
26508
  }
26516
26509
  namespace $400 {
26517
26510
  namespace Content {
26518
- interface ApplicationJson {
26519
- [k: string]: unknown;
26520
- }
26511
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26521
26512
  }
26522
26513
  }
26523
26514
  namespace $429 {
@@ -26537,35 +26528,57 @@ export declare namespace MittwaldAPIV2 {
26537
26528
  }
26538
26529
  }
26539
26530
  }
26540
- namespace V2PollSettingsUserId {
26531
+ namespace V2UsersUserIdFeedback {
26541
26532
  namespace Get {
26542
26533
  namespace Parameters {
26543
26534
  type Path = {
26544
26535
  userId: string;
26545
26536
  };
26546
- type Header = {};
26547
- type Query = {};
26537
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26538
+ type Query = {
26539
+ subject?: string;
26540
+ };
26548
26541
  }
26549
26542
  namespace Responses {
26550
26543
  namespace $200 {
26551
26544
  namespace Content {
26552
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26545
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUserFeedback[];
26553
26546
  }
26554
26547
  }
26555
- namespace $400 {
26548
+ namespace $429 {
26556
26549
  namespace Content {
26557
26550
  interface ApplicationJson {
26558
26551
  [k: string]: unknown;
26559
26552
  }
26560
26553
  }
26561
26554
  }
26562
- namespace $404 {
26555
+ namespace Default {
26563
26556
  namespace Content {
26564
26557
  interface ApplicationJson {
26565
26558
  [k: string]: unknown;
26566
26559
  }
26567
26560
  }
26568
26561
  }
26562
+ }
26563
+ }
26564
+ }
26565
+ namespace V2UsersSelfSessions {
26566
+ namespace Get {
26567
+ namespace Parameters {
26568
+ type Path = {};
26569
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26570
+ type Query = {
26571
+ limit?: number;
26572
+ skip?: number;
26573
+ page?: number;
26574
+ };
26575
+ }
26576
+ namespace Responses {
26577
+ namespace $200 {
26578
+ namespace Content {
26579
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession[];
26580
+ }
26581
+ }
26569
26582
  namespace $429 {
26570
26583
  namespace Content {
26571
26584
  interface ApplicationJson {
@@ -26582,32 +26595,35 @@ export declare namespace MittwaldAPIV2 {
26582
26595
  }
26583
26596
  }
26584
26597
  }
26585
- namespace Post {
26598
+ namespace Put {
26586
26599
  namespace Parameters {
26587
- type Path = {
26588
- userId: string;
26589
- };
26600
+ type Path = {};
26590
26601
  interface RequestBody {
26591
- status: "completed" | "muted" | "ignored";
26592
- userId: string;
26602
+ refreshToken: string;
26593
26603
  }
26594
- type Header = {};
26604
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26595
26605
  type Query = {};
26596
26606
  }
26597
26607
  namespace Responses {
26598
26608
  namespace $200 {
26599
- namespace Content {
26600
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26601
- }
26602
- }
26603
- namespace $400 {
26604
26609
  namespace Content {
26605
26610
  interface ApplicationJson {
26606
- [k: string]: unknown;
26611
+ /**
26612
+ * The expiration date of the token.
26613
+ */
26614
+ expiresAt: string;
26615
+ /**
26616
+ * Refresh token to refresh your access token even after it has expired.
26617
+ */
26618
+ refreshToken: string;
26619
+ /**
26620
+ * Public token to identify yourself against the public api.
26621
+ */
26622
+ token: string;
26607
26623
  }
26608
26624
  }
26609
26625
  }
26610
- namespace $403 {
26626
+ namespace $400 {
26611
26627
  namespace Content {
26612
26628
  interface ApplicationJson {
26613
26629
  [k: string]: unknown;
@@ -26630,27 +26646,16 @@ export declare namespace MittwaldAPIV2 {
26630
26646
  }
26631
26647
  }
26632
26648
  }
26633
- }
26634
- namespace V2UsersSelfSessionsTokenId {
26635
- namespace Get {
26649
+ namespace Delete {
26636
26650
  namespace Parameters {
26637
- type Path = {
26638
- tokenId: string;
26639
- };
26651
+ type Path = {};
26640
26652
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26641
26653
  type Query = {};
26642
26654
  }
26643
26655
  namespace Responses {
26644
- namespace $200 {
26645
- namespace Content {
26646
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession;
26647
- }
26648
- }
26649
- namespace $404 {
26656
+ namespace $204 {
26650
26657
  namespace Content {
26651
- interface ApplicationJson {
26652
- [k: string]: unknown;
26653
- }
26658
+ type Empty = unknown;
26654
26659
  }
26655
26660
  }
26656
26661
  namespace $429 {
@@ -26669,11 +26674,13 @@ export declare namespace MittwaldAPIV2 {
26669
26674
  }
26670
26675
  }
26671
26676
  }
26672
- namespace Delete {
26677
+ }
26678
+ namespace V2Logout {
26679
+ namespace Put {
26673
26680
  namespace Parameters {
26674
- type Path = {
26675
- tokenId: string;
26676
- };
26681
+ type Path = {};
26682
+ interface RequestBody {
26683
+ }
26677
26684
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26678
26685
  type Query = {};
26679
26686
  }
@@ -26683,11 +26690,9 @@ export declare namespace MittwaldAPIV2 {
26683
26690
  type Empty = unknown;
26684
26691
  }
26685
26692
  }
26686
- namespace $404 {
26693
+ namespace $400 {
26687
26694
  namespace Content {
26688
- interface ApplicationJson {
26689
- [k: string]: unknown;
26690
- }
26695
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26691
26696
  }
26692
26697
  }
26693
26698
  namespace $429 {
@@ -26707,36 +26712,38 @@ export declare namespace MittwaldAPIV2 {
26707
26712
  }
26708
26713
  }
26709
26714
  }
26710
- namespace V2UsersUserId {
26715
+ namespace V2Oauth2Authorize {
26711
26716
  namespace Get {
26712
26717
  namespace Parameters {
26713
- type Path = {
26714
- userId: string;
26718
+ type Path = {};
26719
+ type Header = {};
26720
+ type Query = {
26721
+ grant_consent?: boolean;
26722
+ grant_type?: "authorization_code";
26723
+ response_type: "code";
26724
+ client_id: string;
26725
+ redirect_uri?: string;
26726
+ scope?: string;
26727
+ state?: string;
26728
+ code_challenge?: string;
26729
+ code_challenge_method?: "S256";
26715
26730
  };
26716
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26717
- type Query = {};
26718
26731
  }
26719
26732
  namespace Responses {
26720
- namespace $200 {
26721
- namespace Content {
26722
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUser;
26723
- }
26724
- }
26725
- namespace $403 {
26733
+ namespace $302 {
26726
26734
  namespace Content {
26727
- interface ApplicationJson {
26728
- [k: string]: unknown;
26729
- }
26735
+ type Empty = unknown;
26730
26736
  }
26731
26737
  }
26732
- namespace $404 {
26738
+ namespace $400 {
26733
26739
  namespace Content {
26734
26740
  interface ApplicationJson {
26735
- [k: string]: unknown;
26741
+ error: "invalid_request";
26742
+ error_description?: string;
26736
26743
  }
26737
26744
  }
26738
26745
  }
26739
- namespace $412 {
26746
+ namespace $429 {
26740
26747
  namespace Content {
26741
26748
  interface ApplicationJson {
26742
26749
  [k: string]: unknown;
@@ -26752,27 +26759,61 @@ export declare namespace MittwaldAPIV2 {
26752
26759
  }
26753
26760
  }
26754
26761
  }
26755
- namespace Put {
26762
+ }
26763
+ namespace V2Oauth2Token {
26764
+ namespace Post {
26756
26765
  namespace Parameters {
26757
- type Path = {
26758
- userId: string;
26759
- };
26766
+ type Path = {};
26760
26767
  interface RequestBody {
26761
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
26768
+ [k: string]: unknown;
26762
26769
  }
26763
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26770
+ type Header = {
26771
+ Authorization?: string;
26772
+ };
26764
26773
  type Query = {};
26765
26774
  }
26766
26775
  namespace Responses {
26767
- namespace $204 {
26776
+ namespace $200 {
26768
26777
  namespace Content {
26769
- type Empty = unknown;
26778
+ interface ApplicationJson {
26779
+ /**
26780
+ * The access token issued by the authorization server.
26781
+ *
26782
+ */
26783
+ access_token: string;
26784
+ /**
26785
+ * The lifetime in seconds of the access token. For
26786
+ * example, the value "3600" denotes that the access
26787
+ * token will expire in one hour from the time the
26788
+ * response was generated.
26789
+ *
26790
+ */
26791
+ expires_in: number;
26792
+ /**
26793
+ * The refresh token issued by the authorization server.
26794
+ *
26795
+ */
26796
+ refresh_token: string;
26797
+ /**
26798
+ * The scope of the access token as described by
26799
+ * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-3.3).
26800
+ *
26801
+ */
26802
+ scope?: string;
26803
+ /**
26804
+ * The type of the token issued as described in
26805
+ * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-7.1).
26806
+ *
26807
+ */
26808
+ token_type: "bearer";
26809
+ }
26770
26810
  }
26771
26811
  }
26772
26812
  namespace $400 {
26773
26813
  namespace Content {
26774
26814
  interface ApplicationJson {
26775
- [k: string]: unknown;
26815
+ error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
26816
+ error_description?: string;
26776
26817
  }
26777
26818
  }
26778
26819
  }
@@ -26793,30 +26834,30 @@ export declare namespace MittwaldAPIV2 {
26793
26834
  }
26794
26835
  }
26795
26836
  }
26796
- namespace V2UsersSelfCredentialsInitMfa {
26837
+ namespace V2SignupRegistration { }
26838
+ namespace V2Register {
26797
26839
  namespace Post {
26798
26840
  namespace Parameters {
26799
26841
  type Path = {};
26800
26842
  interface RequestBody {
26843
+ /**
26844
+ * The users email address
26845
+ */
26846
+ email: string;
26847
+ /**
26848
+ * The users password.
26849
+ */
26850
+ password: string;
26851
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
26801
26852
  }
26802
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26853
+ type Header = {};
26803
26854
  type Query = {};
26804
26855
  }
26805
26856
  namespace Responses {
26806
- namespace $200 {
26857
+ namespace $201 {
26807
26858
  namespace Content {
26808
26859
  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;
26860
+ userId: string;
26820
26861
  }
26821
26862
  }
26822
26863
  }
@@ -26842,29 +26883,66 @@ export declare namespace MittwaldAPIV2 {
26842
26883
  }
26843
26884
  }
26844
26885
  }
26845
- namespace V2UsersSelfCredentialsActionsInitPasswordReset {
26886
+ namespace V2UsersUserIdAvatar {
26846
26887
  namespace Post {
26847
26888
  namespace Parameters {
26848
- type Path = {};
26889
+ type Path = {
26890
+ userId: string;
26891
+ };
26849
26892
  interface RequestBody {
26850
- /**
26851
- * Email address to reset the password for.
26852
- */
26853
- email: string;
26854
26893
  }
26855
- type Header = {};
26894
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26856
26895
  type Query = {};
26857
26896
  }
26858
26897
  namespace Responses {
26859
- namespace $201 {
26898
+ namespace $200 {
26860
26899
  namespace Content {
26861
26900
  interface ApplicationJson {
26901
+ /**
26902
+ * The `refId` to be used to upload your avatar to the /v2/files/:refId route.
26903
+ */
26904
+ refId: string;
26905
+ /**
26906
+ * Contstraints for the avatar image upload.
26907
+ */
26908
+ rules: {
26909
+ /**
26910
+ * Maximum size in Bytes of the avatar image.
26911
+ */
26912
+ maxSizeInBytes: number;
26913
+ /**
26914
+ * @deprecated
26915
+ * Deprecated. Maximum size in kilobytes of the avatar image.
26916
+ */
26917
+ maxSizeInKB: number;
26918
+ /**
26919
+ * List of supported mime types.
26920
+ */
26921
+ mimeTypes: string[];
26922
+ properties?: {
26923
+ /**
26924
+ * Supported range of dimensions for the avatar image.
26925
+ */
26926
+ imageDimensions?: {
26927
+ max?: {
26928
+ height?: number;
26929
+ width?: number;
26930
+ };
26931
+ min?: {
26932
+ height?: number;
26933
+ width?: number;
26934
+ };
26935
+ };
26936
+ };
26937
+ };
26862
26938
  }
26863
26939
  }
26864
26940
  }
26865
26941
  namespace $400 {
26866
26942
  namespace Content {
26867
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26943
+ interface ApplicationJson {
26944
+ [k: string]: unknown;
26945
+ }
26868
26946
  }
26869
26947
  }
26870
26948
  namespace $429 {
@@ -26883,22 +26961,25 @@ export declare namespace MittwaldAPIV2 {
26883
26961
  }
26884
26962
  }
26885
26963
  }
26886
- }
26887
- namespace V2UsersUserIdFeedback {
26888
- namespace Get {
26964
+ namespace Delete {
26889
26965
  namespace Parameters {
26890
26966
  type Path = {
26891
26967
  userId: string;
26892
26968
  };
26893
26969
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26894
- type Query = {
26895
- subject?: string;
26896
- };
26970
+ type Query = {};
26897
26971
  }
26898
26972
  namespace Responses {
26899
- namespace $200 {
26973
+ namespace $204 {
26900
26974
  namespace Content {
26901
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUserFeedback[];
26975
+ type Empty = unknown;
26976
+ }
26977
+ }
26978
+ namespace $400 {
26979
+ namespace Content {
26980
+ interface ApplicationJson {
26981
+ [k: string]: unknown;
26982
+ }
26902
26983
  }
26903
26984
  }
26904
26985
  namespace $429 {
@@ -26918,21 +26999,26 @@ export declare namespace MittwaldAPIV2 {
26918
26999
  }
26919
27000
  }
26920
27001
  }
26921
- namespace V2UsersSelfSessions {
26922
- namespace Get {
27002
+ namespace V2UsersSelfCredentialsEmailActionsResendEmail {
27003
+ namespace Post {
26923
27004
  namespace Parameters {
26924
27005
  type Path = {};
26925
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26926
- type Query = {
26927
- limit?: number;
26928
- skip?: number;
26929
- page?: number;
26930
- };
27006
+ interface RequestBody {
27007
+ email: string;
27008
+ userId: string;
27009
+ }
27010
+ type Header = {};
27011
+ type Query = {};
26931
27012
  }
26932
27013
  namespace Responses {
26933
- namespace $200 {
27014
+ namespace $204 {
27015
+ namespace Content {
27016
+ type Empty = unknown;
27017
+ }
27018
+ }
27019
+ namespace $400 {
26934
27020
  namespace Content {
26935
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession[];
27021
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26936
27022
  }
26937
27023
  }
26938
27024
  namespace $429 {
@@ -26951,38 +27037,31 @@ export declare namespace MittwaldAPIV2 {
26951
27037
  }
26952
27038
  }
26953
27039
  }
26954
- namespace Put {
27040
+ }
27041
+ namespace V2SignupMfaResetRecoverycodes { }
27042
+ namespace V2SignupSupportcode { }
27043
+ namespace V2SignupSupportcodes { }
27044
+ namespace V2UsersSelfCredentialsSupportCode {
27045
+ namespace Get {
26955
27046
  namespace Parameters {
26956
27047
  type Path = {};
26957
- interface RequestBody {
26958
- refreshToken: string;
26959
- }
26960
27048
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26961
- type Query = {};
27049
+ type Query = {
27050
+ forceRecreate?: boolean;
27051
+ };
26962
27052
  }
26963
27053
  namespace Responses {
26964
27054
  namespace $200 {
26965
27055
  namespace Content {
26966
27056
  interface ApplicationJson {
26967
27057
  /**
26968
- * The expiration date of the token.
27058
+ * Expiration of the support code
26969
27059
  */
26970
27060
  expiresAt: string;
26971
27061
  /**
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.
27062
+ * support code to authenticate yourself against the mittwald support via telephone
26977
27063
  */
26978
- token: string;
26979
- }
26980
- }
26981
- }
26982
- namespace $400 {
26983
- namespace Content {
26984
- interface ApplicationJson {
26985
- [k: string]: unknown;
27064
+ supportCode: string;
26986
27065
  }
26987
27066
  }
26988
27067
  }
@@ -27002,9 +27081,21 @@ export declare namespace MittwaldAPIV2 {
27002
27081
  }
27003
27082
  }
27004
27083
  }
27005
- namespace Delete {
27084
+ }
27085
+ namespace V2UsersSelfCredentialsEmailActionsVerifyEmail {
27086
+ namespace Post {
27006
27087
  namespace Parameters {
27007
27088
  type Path = {};
27089
+ interface RequestBody {
27090
+ /**
27091
+ * The Email-Address to verify.
27092
+ */
27093
+ email: string;
27094
+ /**
27095
+ * The token found in the verification email.
27096
+ */
27097
+ token?: string;
27098
+ }
27008
27099
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27009
27100
  type Query = {};
27010
27101
  }
@@ -27014,6 +27105,18 @@ export declare namespace MittwaldAPIV2 {
27014
27105
  type Empty = unknown;
27015
27106
  }
27016
27107
  }
27108
+ namespace $400 {
27109
+ namespace Content {
27110
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27111
+ }
27112
+ }
27113
+ namespace $404 {
27114
+ namespace Content {
27115
+ interface ApplicationJson {
27116
+ [k: string]: unknown;
27117
+ }
27118
+ }
27119
+ }
27017
27120
  namespace $429 {
27018
27121
  namespace Content {
27019
27122
  interface ApplicationJson {
@@ -27031,11 +27134,16 @@ export declare namespace MittwaldAPIV2 {
27031
27134
  }
27032
27135
  }
27033
27136
  }
27034
- namespace V2Logout {
27035
- namespace Put {
27137
+ namespace V2UsersUserIdPhoneVerify { }
27138
+ namespace V2UsersUserIdActionsVerifyPhone {
27139
+ namespace Post {
27036
27140
  namespace Parameters {
27037
- type Path = {};
27141
+ type Path = {
27142
+ userId: string;
27143
+ };
27038
27144
  interface RequestBody {
27145
+ code: string;
27146
+ phoneNumber: string;
27039
27147
  }
27040
27148
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27041
27149
  type Query = {};
@@ -27048,7 +27156,23 @@ export declare namespace MittwaldAPIV2 {
27048
27156
  }
27049
27157
  namespace $400 {
27050
27158
  namespace Content {
27051
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27159
+ interface ApplicationJson {
27160
+ [k: string]: unknown;
27161
+ }
27162
+ }
27163
+ }
27164
+ namespace $404 {
27165
+ namespace Content {
27166
+ interface ApplicationJson {
27167
+ [k: string]: unknown;
27168
+ }
27169
+ }
27170
+ }
27171
+ namespace $409 {
27172
+ namespace Content {
27173
+ interface ApplicationJson {
27174
+ [k: string]: unknown;
27175
+ }
27052
27176
  }
27053
27177
  }
27054
27178
  namespace $429 {
@@ -27068,34 +27192,44 @@ export declare namespace MittwaldAPIV2 {
27068
27192
  }
27069
27193
  }
27070
27194
  }
27071
- namespace V2Oauth2Authorize {
27072
- namespace Get {
27195
+ namespace V2SignupRegistrationVerification { }
27196
+ namespace V2VerifyRegistration {
27197
+ namespace Post {
27073
27198
  namespace Parameters {
27074
27199
  type Path = {};
27200
+ interface RequestBody {
27201
+ /**
27202
+ * The users email address.
27203
+ */
27204
+ email: string;
27205
+ /**
27206
+ * The token that was send to your email address
27207
+ */
27208
+ token: string;
27209
+ /**
27210
+ * UUID of the registered user.
27211
+ */
27212
+ userId: string;
27213
+ }
27075
27214
  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
- };
27215
+ type Query = {};
27087
27216
  }
27088
27217
  namespace Responses {
27089
- namespace $302 {
27218
+ namespace $200 {
27090
27219
  namespace Content {
27091
- type Empty = unknown;
27220
+ interface ApplicationJson {
27221
+ }
27092
27222
  }
27093
27223
  }
27094
27224
  namespace $400 {
27225
+ namespace Content {
27226
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27227
+ }
27228
+ }
27229
+ namespace $404 {
27095
27230
  namespace Content {
27096
27231
  interface ApplicationJson {
27097
- error: "invalid_request";
27098
- error_description?: string;
27232
+ [k: string]: unknown;
27099
27233
  }
27100
27234
  }
27101
27235
  }
@@ -27116,60 +27250,26 @@ export declare namespace MittwaldAPIV2 {
27116
27250
  }
27117
27251
  }
27118
27252
  }
27119
- namespace V2Oauth2Token {
27253
+ namespace V2ActionsDetectPhishingEmail {
27120
27254
  namespace Post {
27121
27255
  namespace Parameters {
27122
27256
  type Path = {};
27123
27257
  interface RequestBody {
27124
27258
  [k: string]: unknown;
27125
27259
  }
27126
- type Header = {
27127
- Authorization?: string;
27128
- };
27260
+ type Header = {};
27129
27261
  type Query = {};
27130
27262
  }
27131
27263
  namespace Responses {
27132
27264
  namespace $200 {
27133
27265
  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
- }
27266
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.VerificationEmailDetectPhishingMailResponse;
27166
27267
  }
27167
27268
  }
27168
27269
  namespace $400 {
27169
27270
  namespace Content {
27170
27271
  interface ApplicationJson {
27171
- error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
27172
- error_description?: string;
27272
+ [k: string]: unknown;
27173
27273
  }
27174
27274
  }
27175
27275
  }
@@ -27190,38 +27290,33 @@ export declare namespace MittwaldAPIV2 {
27190
27290
  }
27191
27291
  }
27192
27292
  }
27193
- namespace V2SignupRegistration { }
27194
- namespace V2Register {
27293
+ namespace V2ActionsVerifyAddress {
27195
27294
  namespace Post {
27196
27295
  namespace Parameters {
27197
27296
  type Path = {};
27198
27297
  interface RequestBody {
27298
+ city: string;
27199
27299
  /**
27200
- * The users email address
27300
+ * Accepts the whole english or german name as well as the ISO 3166-2 country codes.
27201
27301
  */
27202
- email: string;
27302
+ country: string;
27203
27303
  /**
27204
- * The users password.
27304
+ * Includes the house number.
27205
27305
  */
27206
- password: string;
27207
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
27306
+ street: string;
27307
+ zip: string;
27208
27308
  }
27209
27309
  type Header = {};
27210
27310
  type Query = {};
27211
27311
  }
27212
27312
  namespace Responses {
27213
- namespace $201 {
27313
+ namespace $200 {
27214
27314
  namespace Content {
27215
27315
  interface ApplicationJson {
27216
- userId: string;
27316
+ exists: boolean;
27217
27317
  }
27218
27318
  }
27219
27319
  }
27220
- namespace $400 {
27221
- namespace Content {
27222
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27223
- }
27224
- }
27225
27320
  namespace $429 {
27226
27321
  namespace Content {
27227
27322
  interface ApplicationJson {
@@ -27229,6 +27324,11 @@ export declare namespace MittwaldAPIV2 {
27229
27324
  }
27230
27325
  }
27231
27326
  }
27327
+ namespace $500 {
27328
+ namespace Content {
27329
+ type Empty = unknown;
27330
+ }
27331
+ }
27232
27332
  namespace Default {
27233
27333
  namespace Content {
27234
27334
  interface ApplicationJson {
@@ -27239,13 +27339,12 @@ export declare namespace MittwaldAPIV2 {
27239
27339
  }
27240
27340
  }
27241
27341
  }
27242
- namespace V2UsersUserIdAvatar {
27342
+ namespace V2ActionsVerifyCompany {
27243
27343
  namespace Post {
27244
27344
  namespace Parameters {
27245
- type Path = {
27246
- userId: string;
27247
- };
27345
+ type Path = {};
27248
27346
  interface RequestBody {
27347
+ name: string;
27249
27348
  }
27250
27349
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27251
27350
  type Query = {};
@@ -27254,58 +27353,25 @@ export declare namespace MittwaldAPIV2 {
27254
27353
  namespace $200 {
27255
27354
  namespace Content {
27256
27355
  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
- };
27356
+ exists: boolean;
27294
27357
  }
27295
27358
  }
27296
27359
  }
27297
- namespace $400 {
27360
+ namespace $412 {
27361
+ namespace Content {
27362
+ type Empty = unknown;
27363
+ }
27364
+ }
27365
+ namespace $429 {
27298
27366
  namespace Content {
27299
27367
  interface ApplicationJson {
27300
27368
  [k: string]: unknown;
27301
27369
  }
27302
27370
  }
27303
27371
  }
27304
- namespace $429 {
27372
+ namespace $500 {
27305
27373
  namespace Content {
27306
- interface ApplicationJson {
27307
- [k: string]: unknown;
27308
- }
27374
+ type Empty = unknown;
27309
27375
  }
27310
27376
  }
27311
27377
  namespace Default {
@@ -27317,21 +27383,27 @@ export declare namespace MittwaldAPIV2 {
27317
27383
  }
27318
27384
  }
27319
27385
  }
27320
- namespace Delete {
27386
+ }
27387
+ namespace V2CertificatesCertificateIdActionsCheckReplaceCertificate {
27388
+ namespace Post {
27321
27389
  namespace Parameters {
27322
27390
  type Path = {
27323
- userId: string;
27391
+ certificateId: string;
27324
27392
  };
27393
+ interface RequestBody {
27394
+ certificate: string;
27395
+ privateKey?: string;
27396
+ }
27325
27397
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27326
27398
  type Query = {};
27327
27399
  }
27328
27400
  namespace Responses {
27329
- namespace $204 {
27401
+ namespace $200 {
27330
27402
  namespace Content {
27331
- type Empty = unknown;
27403
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCheckReplaceCertificateResponse;
27332
27404
  }
27333
27405
  }
27334
- namespace $400 {
27406
+ namespace $404 {
27335
27407
  namespace Content {
27336
27408
  interface ApplicationJson {
27337
27409
  [k: string]: unknown;
@@ -27355,26 +27427,26 @@ export declare namespace MittwaldAPIV2 {
27355
27427
  }
27356
27428
  }
27357
27429
  }
27358
- namespace V2UsersSelfCredentialsEmailActionsResendEmail {
27359
- namespace Post {
27430
+ namespace V2CertificatesCertificateId {
27431
+ namespace Get {
27360
27432
  namespace Parameters {
27361
- type Path = {};
27362
- interface RequestBody {
27363
- email: string;
27364
- userId: string;
27365
- }
27366
- type Header = {};
27433
+ type Path = {
27434
+ certificateId: string;
27435
+ };
27436
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27367
27437
  type Query = {};
27368
27438
  }
27369
27439
  namespace Responses {
27370
- namespace $204 {
27440
+ namespace $200 {
27371
27441
  namespace Content {
27372
- type Empty = unknown;
27442
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate;
27373
27443
  }
27374
27444
  }
27375
- namespace $400 {
27445
+ namespace $404 {
27376
27446
  namespace Content {
27377
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27447
+ interface ApplicationJson {
27448
+ [k: string]: unknown;
27449
+ }
27378
27450
  }
27379
27451
  }
27380
27452
  namespace $429 {
@@ -27393,31 +27465,35 @@ export declare namespace MittwaldAPIV2 {
27393
27465
  }
27394
27466
  }
27395
27467
  }
27396
- }
27397
- namespace V2SignupMfaResetRecoverycodes { }
27398
- namespace V2SignupSupportcode { }
27399
- namespace V2SignupSupportcodes { }
27400
- namespace V2UsersSelfCredentialsSupportCode {
27401
- namespace Get {
27468
+ namespace Put {
27402
27469
  namespace Parameters {
27403
- type Path = {};
27404
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27405
- type Query = {
27406
- forceRecreate?: boolean;
27470
+ type Path = {
27471
+ certificateId: string;
27407
27472
  };
27473
+ interface RequestBody {
27474
+ certificate: string;
27475
+ privateKey?: string;
27476
+ }
27477
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27478
+ type Query = {};
27408
27479
  }
27409
27480
  namespace Responses {
27410
- namespace $200 {
27481
+ namespace $204 {
27482
+ namespace Content {
27483
+ type Empty = unknown;
27484
+ }
27485
+ }
27486
+ namespace $400 {
27411
27487
  namespace Content {
27412
27488
  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;
27489
+ [k: string]: unknown;
27490
+ }
27491
+ }
27492
+ }
27493
+ namespace $404 {
27494
+ namespace Content {
27495
+ interface ApplicationJson {
27496
+ [k: string]: unknown;
27421
27497
  }
27422
27498
  }
27423
27499
  }
@@ -27438,32 +27514,20 @@ export declare namespace MittwaldAPIV2 {
27438
27514
  }
27439
27515
  }
27440
27516
  }
27441
- namespace V2UsersSelfCredentialsEmailActionsVerifyEmail {
27442
- namespace Post {
27517
+ namespace V2CertificateRequests {
27518
+ namespace Get {
27443
27519
  namespace Parameters {
27444
27520
  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
27521
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27456
- type Query = {};
27522
+ type Query = {
27523
+ projectId?: string;
27524
+ ingressId?: string;
27525
+ };
27457
27526
  }
27458
27527
  namespace Responses {
27459
- namespace $204 {
27460
- namespace Content {
27461
- type Empty = unknown;
27462
- }
27463
- }
27464
- namespace $400 {
27528
+ namespace $200 {
27465
27529
  namespace Content {
27466
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27530
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest[];
27467
27531
  }
27468
27532
  }
27469
27533
  namespace $404 {
@@ -27489,25 +27553,17 @@ export declare namespace MittwaldAPIV2 {
27489
27553
  }
27490
27554
  }
27491
27555
  }
27492
- }
27493
- namespace V2UsersUserIdPhoneVerify { }
27494
- namespace V2UsersUserIdActionsVerifyPhone {
27495
27556
  namespace Post {
27496
27557
  namespace Parameters {
27497
- type Path = {
27498
- userId: string;
27499
- };
27500
- interface RequestBody {
27501
- code: string;
27502
- phoneNumber: string;
27503
- }
27558
+ type Path = {};
27559
+ type RequestBody = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateRequest | MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateWithCSRRequest;
27504
27560
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27505
27561
  type Query = {};
27506
27562
  }
27507
27563
  namespace Responses {
27508
- namespace $204 {
27564
+ namespace $201 {
27509
27565
  namespace Content {
27510
- type Empty = unknown;
27566
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateResponse;
27511
27567
  }
27512
27568
  }
27513
27569
  namespace $400 {
@@ -27524,13 +27580,6 @@ export declare namespace MittwaldAPIV2 {
27524
27580
  }
27525
27581
  }
27526
27582
  }
27527
- namespace $409 {
27528
- namespace Content {
27529
- interface ApplicationJson {
27530
- [k: string]: unknown;
27531
- }
27532
- }
27533
- }
27534
27583
  namespace $429 {
27535
27584
  namespace Content {
27536
27585
  interface ApplicationJson {
@@ -27548,38 +27597,19 @@ export declare namespace MittwaldAPIV2 {
27548
27597
  }
27549
27598
  }
27550
27599
  }
27551
- namespace V2SignupRegistrationVerification { }
27552
- namespace V2VerifyRegistration {
27553
- namespace Post {
27600
+ namespace V2CertificateRequestsCertificateRequestId {
27601
+ namespace Get {
27554
27602
  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 = {};
27603
+ type Path = {
27604
+ certificateRequestId: string;
27605
+ };
27606
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27571
27607
  type Query = {};
27572
27608
  }
27573
27609
  namespace Responses {
27574
27610
  namespace $200 {
27575
27611
  namespace Content {
27576
- interface ApplicationJson {
27577
- }
27578
- }
27579
- }
27580
- namespace $400 {
27581
- namespace Content {
27582
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27612
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest;
27583
27613
  }
27584
27614
  }
27585
27615
  namespace $404 {
@@ -27606,23 +27636,23 @@ export declare namespace MittwaldAPIV2 {
27606
27636
  }
27607
27637
  }
27608
27638
  }
27609
- namespace V2ActionsDetectPhishingEmail {
27610
- namespace Post {
27639
+ namespace V2Certificates {
27640
+ namespace Get {
27611
27641
  namespace Parameters {
27612
27642
  type Path = {};
27613
- interface RequestBody {
27614
- [k: string]: unknown;
27615
- }
27616
- type Header = {};
27617
- type Query = {};
27643
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27644
+ type Query = {
27645
+ projectId?: string;
27646
+ ingressId?: string;
27647
+ };
27618
27648
  }
27619
27649
  namespace Responses {
27620
27650
  namespace $200 {
27621
27651
  namespace Content {
27622
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.VerificationEmailDetectPhishingMailResponse;
27652
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate[];
27623
27653
  }
27624
27654
  }
27625
- namespace $400 {
27655
+ namespace $404 {
27626
27656
  namespace Content {
27627
27657
  interface ApplicationJson {
27628
27658
  [k: string]: unknown;
@@ -27646,43 +27676,33 @@ export declare namespace MittwaldAPIV2 {
27646
27676
  }
27647
27677
  }
27648
27678
  }
27649
- namespace V2ActionsVerifyAddress {
27650
- namespace Post {
27679
+ namespace V2CertificateRequestCertificateRequestId {
27680
+ namespace Delete {
27651
27681
  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 = {};
27682
+ type Path = {
27683
+ certificateRequestId: string;
27684
+ };
27685
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27666
27686
  type Query = {};
27667
27687
  }
27668
27688
  namespace Responses {
27669
- namespace $200 {
27689
+ namespace $204 {
27670
27690
  namespace Content {
27671
- interface ApplicationJson {
27672
- exists: boolean;
27673
- }
27691
+ type Empty = unknown;
27674
27692
  }
27675
27693
  }
27676
- namespace $429 {
27694
+ namespace $404 {
27677
27695
  namespace Content {
27678
27696
  interface ApplicationJson {
27679
27697
  [k: string]: unknown;
27680
27698
  }
27681
27699
  }
27682
27700
  }
27683
- namespace $500 {
27701
+ namespace $429 {
27684
27702
  namespace Content {
27685
- type Empty = unknown;
27703
+ interface ApplicationJson {
27704
+ [k: string]: unknown;
27705
+ }
27686
27706
  }
27687
27707
  }
27688
27708
  namespace Default {
@@ -27695,39 +27715,33 @@ export declare namespace MittwaldAPIV2 {
27695
27715
  }
27696
27716
  }
27697
27717
  }
27698
- namespace V2ActionsVerifyCompany {
27699
- namespace Post {
27718
+ namespace V2CertificateCertificateId {
27719
+ namespace Delete {
27700
27720
  namespace Parameters {
27701
- type Path = {};
27702
- interface RequestBody {
27703
- name: string;
27704
- }
27721
+ type Path = {
27722
+ certificateId: string;
27723
+ };
27705
27724
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27706
27725
  type Query = {};
27707
27726
  }
27708
27727
  namespace Responses {
27709
- namespace $200 {
27710
- namespace Content {
27711
- interface ApplicationJson {
27712
- exists: boolean;
27713
- }
27714
- }
27715
- }
27716
- namespace $412 {
27728
+ namespace $204 {
27717
27729
  namespace Content {
27718
27730
  type Empty = unknown;
27719
27731
  }
27720
27732
  }
27721
- namespace $429 {
27733
+ namespace $404 {
27722
27734
  namespace Content {
27723
27735
  interface ApplicationJson {
27724
27736
  [k: string]: unknown;
27725
27737
  }
27726
27738
  }
27727
27739
  }
27728
- namespace $500 {
27740
+ namespace $429 {
27729
27741
  namespace Content {
27730
- type Empty = unknown;
27742
+ interface ApplicationJson {
27743
+ [k: string]: unknown;
27744
+ }
27731
27745
  }
27732
27746
  }
27733
27747
  namespace Default {