@mittwald/api-client 4.269.0 → 4.270.0

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