@mittwald/api-client 4.268.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,50 +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
1753
  }
1754
1754
  namespace Components {
1755
1755
  namespace Schemas {
@@ -2105,18 +2105,31 @@ export declare namespace MittwaldAPIV2 {
2105
2105
  * PricePlan with Variants.
2106
2106
  */
2107
2107
  interface ExtensionPricePlan {
2108
+ /**
2109
+ * Indicates whether downgrading between variants is allowed.
2110
+ */
2111
+ isDowngradeAllowed?: boolean;
2112
+ /**
2113
+ * Indicates whether upgrading between variants is allowed.
2114
+ */
2115
+ isUpgradeAllowed?: boolean;
2108
2116
  variants: MittwaldAPIV2.Components.Schemas.ExtensionVariant[];
2109
2117
  }
2110
2118
  /**
2111
2119
  * A strategy for Contracts that will be paid periodically.
2112
2120
  */
2113
2121
  interface ExtensionSubscriptionBasedContract {
2122
+ contractPeriodEndDate?: string;
2114
2123
  /**
2115
2124
  * monthly price in Euro Cent
2116
2125
  */
2117
2126
  currentPrice?: number;
2118
2127
  interactionDeadline?: string;
2119
2128
  interactionRequired: boolean;
2129
+ pendingVariantChange?: {
2130
+ effectiveDate: string;
2131
+ targetVariantKey: string;
2132
+ };
2120
2133
  status: "notStarted" | "pending" | "active" | "terminationPending";
2121
2134
  terminationTargetDate?: string;
2122
2135
  variantDescription?: string;
@@ -5148,6 +5161,101 @@ export declare namespace MittwaldAPIV2 {
5148
5161
  updatedAt?: string;
5149
5162
  userName: string;
5150
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
+ }
5151
5259
  type StoragespaceStatisticsCategoryKind = "webspace" | "projectBackup" | "mailAddress" | "mysqlDatabase" | "redisDatabase" | "containerVolume";
5152
5260
  interface StoragespaceStatisticsCategory {
5153
5261
  kind: MittwaldAPIV2.Components.Schemas.StoragespaceStatisticsCategoryKind;
@@ -5416,140 +5524,45 @@ export declare namespace MittwaldAPIV2 {
5416
5524
  }
5417
5525
  type VerificationEmailOrigin = "IS_MITTWALD" | "IS_NOT_MITTWALD" | "COULD_BE_MITTWALD";
5418
5526
  type ContainerVolumeSortOrder = "nameAsc" | "nameDesc" | "storageAsc" | "storageDesc";
5419
- interface SslCheckReplaceDateChange {
5420
- newValue: string;
5421
- oldValue: string;
5422
- }
5423
- interface SslContact {
5424
- city?: string;
5425
- company?: string;
5527
+ interface CommonsAddress {
5528
+ street: string;
5529
+ houseNumber: string;
5530
+ city: string;
5531
+ zip: string;
5426
5532
  /**
5427
- * Two letter abbreviation - country code (ISO 3166-1 Alpha-2).
5533
+ * ISO 3166-1 alpha-2 country code
5428
5534
  */
5429
- country?: string;
5430
- organizationalUnit?: string;
5431
- state?: string;
5432
- }
5433
- type SslCertificateType = 0 | 1 | 2;
5434
- interface SslCertificateRequestCreateResponse {
5435
- commonName?: string;
5436
- contact: MittwaldAPIV2.Components.Schemas.SslContact;
5437
- dnsNames?: string[];
5438
- id: string;
5439
- issuer?: string;
5440
- signingRequest?: string;
5441
- validFrom?: string;
5442
- validTo?: string;
5443
- }
5444
- interface SslCertificateData {
5445
- caBundle?: string;
5446
- certificate?: string;
5447
- signingRequest?: string;
5448
- }
5449
- interface SslCheckReplaceCertificateResponse {
5450
- changes?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceChanges;
5451
- errors?: MittwaldAPIV2.Components.Schemas.SslCertificateError[];
5452
- isReplaceable: boolean;
5535
+ countryCode: string;
5536
+ addressPrefix?: string;
5453
5537
  }
5454
- interface SslCheckReplaceSliceChange {
5455
- addedValues: string[];
5456
- removedValues: string[];
5457
- values: 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;
5458
5548
  }
5459
- interface SslCheckReplaceChanges {
5460
- commonName?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
5461
- dnsNames?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceSliceChange;
5462
- issuer?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceFieldChange;
5463
- validFrom?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
5464
- validTo?: MittwaldAPIV2.Components.Schemas.SslCheckReplaceDateChange;
5549
+ interface CommonsError {
5550
+ message: string;
5551
+ type: string;
5465
5552
  }
5466
- interface SslCertificateRequestCreateRequest {
5467
- certificate: string;
5468
- privateKey: string;
5469
- projectId: string;
5470
- }
5471
- interface SslCertificateRequest {
5472
- certificateData: MittwaldAPIV2.Components.Schemas.SslCertificateData;
5473
- certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
5474
- commonName?: string;
5475
- contact?: MittwaldAPIV2.Components.Schemas.SslContact;
5476
- createdAt: string;
5477
- dnsNames?: string[];
5478
- id: string;
5479
- isCompleted: boolean;
5480
- issuer?: string;
5481
- projectId: string;
5482
- validFrom?: string;
5483
- validTo?: string;
5484
- }
5485
- interface SslCertificateRequestCreateWithCSRRequest {
5486
- commonName: string;
5487
- contact: MittwaldAPIV2.Components.Schemas.SslContact;
5488
- projectId: string;
5489
- }
5490
- interface SslCheckReplaceFieldChange {
5491
- newValue: string;
5492
- oldValue: string;
5493
- }
5494
- interface SslCertificate {
5495
- caBundle?: string;
5496
- certificate: string;
5497
- certificateOrderId?: string;
5498
- certificateRequestId: string;
5499
- certificateType: MittwaldAPIV2.Components.Schemas.SslCertificateType;
5500
- commonName?: string;
5501
- contact?: MittwaldAPIV2.Components.Schemas.SslContact;
5502
- dnsNames?: string[];
5503
- id: string;
5504
- isExpired: boolean;
5505
- issuer?: string;
5506
- lastExpirationThresholdHit: number;
5507
- projectId: string;
5508
- validFrom: string;
5509
- validTo: string;
5510
- }
5511
- interface SslCertificateError {
5512
- 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";
5513
- }
5514
- interface CommonsAddress {
5515
- street: string;
5516
- houseNumber: string;
5517
- city: string;
5518
- zip: string;
5519
- /**
5520
- * ISO 3166-1 alpha-2 country code
5521
- */
5522
- countryCode: string;
5523
- addressPrefix?: string;
5524
- }
5525
- interface CommonsContact {
5526
- firstName?: string;
5527
- lastName?: string;
5528
- title?: string;
5529
- salutation: MittwaldAPIV2.Components.Schemas.CommonsSalutation;
5530
- company?: string;
5531
- address: MittwaldAPIV2.Components.Schemas.CommonsAddress;
5532
- emailAddress?: string;
5533
- phoneNumbers?: string[];
5534
- useFormalTerm?: boolean;
5535
- }
5536
- interface CommonsError {
5537
- message: string;
5538
- type: string;
5539
- }
5540
- /**
5541
- * The users personal information, e.g. first name.
5542
- */
5543
- interface CommonsPerson {
5544
- /**
5545
- * The users first name
5546
- */
5547
- firstName: string;
5548
- /**
5549
- * The users last name
5550
- */
5551
- lastName: string;
5552
- 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;
5553
5566
  }
5554
5567
  type CommonsSalutation = "mr" | "ms" | "other";
5555
5568
  interface CommonsValidationErrorSchema {
@@ -5632,6 +5645,9 @@ export declare namespace MittwaldAPIV2 {
5632
5645
  interface ApplicationJson {
5633
5646
  }
5634
5647
  }
5648
+ namespace SslValidationError {
5649
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateError;
5650
+ }
5635
5651
  namespace SignupInternalServerError {
5636
5652
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
5637
5653
  name?: "InternalServerError";
@@ -5660,9 +5676,6 @@ export declare namespace MittwaldAPIV2 {
5660
5676
  name: "SecondFactorRequired";
5661
5677
  };
5662
5678
  }
5663
- namespace SslValidationError {
5664
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateError;
5665
- }
5666
5679
  namespace CommonsDefaultError {
5667
5680
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsError;
5668
5681
  }
@@ -16276,6 +16289,115 @@ export declare namespace MittwaldAPIV2 {
16276
16289
  }
16277
16290
  }
16278
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
+ }
16279
16401
  namespace V2ContributorsContributorIdExtensionsExtensionIdContext {
16280
16402
  namespace Put {
16281
16403
  namespace Parameters {
@@ -24626,50 +24748,73 @@ export declare namespace MittwaldAPIV2 {
24626
24748
  }
24627
24749
  }
24628
24750
  namespace V2SshusersSshUserId { }
24629
- namespace V2ProjectsProjectIdStorageSpaceStatistics {
24630
- namespace Get {
24751
+ namespace V2CertificatesCertificateIdActionsCheckReplaceCertificate {
24752
+ namespace Post {
24631
24753
  namespace Parameters {
24632
24754
  type Path = {
24633
- projectId: string;
24755
+ certificateId: string;
24634
24756
  };
24757
+ interface RequestBody {
24758
+ certificate: string;
24759
+ privateKey?: string;
24760
+ }
24635
24761
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24636
24762
  type Query = {};
24637
24763
  }
24638
24764
  namespace Responses {
24639
24765
  namespace $200 {
24640
24766
  namespace Content {
24641
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
24767
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCheckReplaceCertificateResponse;
24642
24768
  }
24643
24769
  }
24644
- namespace $400 {
24770
+ namespace $404 {
24645
24771
  namespace Content {
24646
24772
  interface ApplicationJson {
24647
24773
  [k: string]: unknown;
24648
24774
  }
24649
24775
  }
24650
24776
  }
24651
- namespace $403 {
24777
+ namespace $429 {
24652
24778
  namespace Content {
24653
24779
  interface ApplicationJson {
24654
24780
  [k: string]: unknown;
24655
24781
  }
24656
24782
  }
24657
24783
  }
24658
- namespace $404 {
24784
+ namespace Default {
24659
24785
  namespace Content {
24660
24786
  interface ApplicationJson {
24661
24787
  [k: string]: unknown;
24662
24788
  }
24663
24789
  }
24664
24790
  }
24665
- 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 {
24666
24811
  namespace Content {
24667
24812
  interface ApplicationJson {
24668
24813
  [k: string]: unknown;
24669
24814
  }
24670
24815
  }
24671
24816
  }
24672
- namespace $500 {
24817
+ namespace $429 {
24673
24818
  namespace Content {
24674
24819
  interface ApplicationJson {
24675
24820
  [k: string]: unknown;
@@ -24685,20 +24830,17 @@ export declare namespace MittwaldAPIV2 {
24685
24830
  }
24686
24831
  }
24687
24832
  }
24688
- }
24689
- namespace V2ServersServerIdStorageSpaceStatistics {
24690
- namespace Get {
24833
+ namespace Post {
24691
24834
  namespace Parameters {
24692
- type Path = {
24693
- serverId: string;
24694
- };
24835
+ type Path = {};
24836
+ type RequestBody = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateRequest | MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateWithCSRRequest;
24695
24837
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24696
24838
  type Query = {};
24697
24839
  }
24698
24840
  namespace Responses {
24699
- namespace $200 {
24841
+ namespace $201 {
24700
24842
  namespace Content {
24701
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
24843
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateResponse;
24702
24844
  }
24703
24845
  }
24704
24846
  namespace $400 {
@@ -24708,13 +24850,6 @@ export declare namespace MittwaldAPIV2 {
24708
24850
  }
24709
24851
  }
24710
24852
  }
24711
- namespace $403 {
24712
- namespace Content {
24713
- interface ApplicationJson {
24714
- [k: string]: unknown;
24715
- }
24716
- }
24717
- }
24718
24853
  namespace $404 {
24719
24854
  namespace Content {
24720
24855
  interface ApplicationJson {
@@ -24729,14 +24864,7 @@ export declare namespace MittwaldAPIV2 {
24729
24864
  }
24730
24865
  }
24731
24866
  }
24732
- namespace $500 {
24733
- namespace Content {
24734
- interface ApplicationJson {
24735
- [k: string]: unknown;
24736
- }
24737
- }
24738
- }
24739
- namespace Default {
24867
+ namespace Default {
24740
24868
  namespace Content {
24741
24869
  interface ApplicationJson {
24742
24870
  [k: string]: unknown;
@@ -24746,15 +24874,12 @@ export declare namespace MittwaldAPIV2 {
24746
24874
  }
24747
24875
  }
24748
24876
  }
24749
- namespace V2ProjectsProjectIdStorageSpaceNotificationThreshold {
24750
- namespace Put {
24877
+ namespace V2CertificateRequestCertificateRequestId {
24878
+ namespace Delete {
24751
24879
  namespace Parameters {
24752
24880
  type Path = {
24753
- projectId: string;
24881
+ certificateRequestId: string;
24754
24882
  };
24755
- interface RequestBody {
24756
- notificationThresholdInBytes?: number;
24757
- }
24758
24883
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24759
24884
  type Query = {};
24760
24885
  }
@@ -24764,7 +24889,7 @@ export declare namespace MittwaldAPIV2 {
24764
24889
  type Empty = unknown;
24765
24890
  }
24766
24891
  }
24767
- namespace $403 {
24892
+ namespace $404 {
24768
24893
  namespace Content {
24769
24894
  interface ApplicationJson {
24770
24895
  [k: string]: unknown;
@@ -24778,13 +24903,6 @@ export declare namespace MittwaldAPIV2 {
24778
24903
  }
24779
24904
  }
24780
24905
  }
24781
- namespace $500 {
24782
- namespace Content {
24783
- interface ApplicationJson {
24784
- [k: string]: unknown;
24785
- }
24786
- }
24787
- }
24788
24906
  namespace Default {
24789
24907
  namespace Content {
24790
24908
  interface ApplicationJson {
@@ -24795,15 +24913,12 @@ export declare namespace MittwaldAPIV2 {
24795
24913
  }
24796
24914
  }
24797
24915
  }
24798
- namespace V2ServersServerIdStorageSpaceNotificationThreshold {
24799
- namespace Put {
24916
+ namespace V2CertificateCertificateId {
24917
+ namespace Delete {
24800
24918
  namespace Parameters {
24801
24919
  type Path = {
24802
- serverId: string;
24920
+ certificateId: string;
24803
24921
  };
24804
- interface RequestBody {
24805
- notificationThresholdInBytes?: number;
24806
- }
24807
24922
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24808
24923
  type Query = {};
24809
24924
  }
@@ -24813,7 +24928,7 @@ export declare namespace MittwaldAPIV2 {
24813
24928
  type Empty = unknown;
24814
24929
  }
24815
24930
  }
24816
- namespace $403 {
24931
+ namespace $404 {
24817
24932
  namespace Content {
24818
24933
  interface ApplicationJson {
24819
24934
  [k: string]: unknown;
@@ -24827,13 +24942,6 @@ export declare namespace MittwaldAPIV2 {
24827
24942
  }
24828
24943
  }
24829
24944
  }
24830
- namespace $500 {
24831
- namespace Content {
24832
- interface ApplicationJson {
24833
- [k: string]: unknown;
24834
- }
24835
- }
24836
- }
24837
24945
  namespace Default {
24838
24946
  namespace Content {
24839
24947
  interface ApplicationJson {
@@ -24844,32 +24952,22 @@ export declare namespace MittwaldAPIV2 {
24844
24952
  }
24845
24953
  }
24846
24954
  }
24847
- namespace V2UsersUserIdPhone {
24848
- namespace Post {
24955
+ namespace V2CertificateRequestsCertificateRequestId {
24956
+ namespace Get {
24849
24957
  namespace Parameters {
24850
24958
  type Path = {
24851
- userId: string;
24959
+ certificateRequestId: string;
24852
24960
  };
24853
- interface RequestBody {
24854
- phoneNumber: string;
24855
- }
24856
24961
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24857
24962
  type Query = {};
24858
24963
  }
24859
24964
  namespace Responses {
24860
- namespace $204 {
24861
- namespace Content {
24862
- type Empty = unknown;
24863
- }
24864
- }
24865
- namespace $400 {
24965
+ namespace $200 {
24866
24966
  namespace Content {
24867
- interface ApplicationJson {
24868
- [k: string]: unknown;
24869
- }
24967
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest;
24870
24968
  }
24871
24969
  }
24872
- namespace $409 {
24970
+ namespace $404 {
24873
24971
  namespace Content {
24874
24972
  interface ApplicationJson {
24875
24973
  [k: string]: unknown;
@@ -24892,28 +24990,23 @@ export declare namespace MittwaldAPIV2 {
24892
24990
  }
24893
24991
  }
24894
24992
  }
24895
- namespace Delete {
24993
+ }
24994
+ namespace V2CertificatesCertificateId {
24995
+ namespace Get {
24896
24996
  namespace Parameters {
24897
24997
  type Path = {
24898
- userId: string;
24998
+ certificateId: string;
24899
24999
  };
24900
25000
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24901
25001
  type Query = {};
24902
25002
  }
24903
25003
  namespace Responses {
24904
- namespace $204 {
24905
- namespace Content {
24906
- type Empty = unknown;
24907
- }
24908
- }
24909
- namespace $400 {
25004
+ namespace $200 {
24910
25005
  namespace Content {
24911
- interface ApplicationJson {
24912
- [k: string]: unknown;
24913
- }
25006
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate;
24914
25007
  }
24915
25008
  }
24916
- namespace $412 {
25009
+ namespace $404 {
24917
25010
  namespace Content {
24918
25011
  interface ApplicationJson {
24919
25012
  [k: string]: unknown;
@@ -24936,58 +25029,36 @@ export declare namespace MittwaldAPIV2 {
24936
25029
  }
24937
25030
  }
24938
25031
  }
24939
- }
24940
- namespace V2SignupAuthenticationMfa { }
24941
- namespace V2AuthenticateMfa {
24942
- namespace Post {
25032
+ namespace Put {
24943
25033
  namespace Parameters {
24944
- type Path = {};
25034
+ type Path = {
25035
+ certificateId: string;
25036
+ };
24945
25037
  interface RequestBody {
24946
- /**
24947
- * The email of the user.
24948
- */
24949
- email: string;
24950
- /**
24951
- * The second factor - otp code or recovery code.
24952
- */
24953
- multiFactorCode: string;
24954
- /**
24955
- * The password of the user.
24956
- */
24957
- password: string;
25038
+ certificate: string;
25039
+ privateKey?: string;
24958
25040
  }
24959
- type Header = {};
25041
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
24960
25042
  type Query = {};
24961
25043
  }
24962
25044
  namespace Responses {
24963
- namespace $200 {
25045
+ namespace $204 {
24964
25046
  namespace Content {
24965
- interface ApplicationJson {
24966
- /**
24967
- * The expiration date of the token.
24968
- */
24969
- expires: string;
24970
- /**
24971
- * Refresh token to refresh your access token even after it has expired.
24972
- */
24973
- refreshToken: string;
24974
- /**
24975
- * Public token to identify yourself against the api gateway.
24976
- */
24977
- token: string;
24978
- }
25047
+ type Empty = unknown;
24979
25048
  }
24980
25049
  }
24981
25050
  namespace $400 {
24982
25051
  namespace Content {
24983
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25052
+ interface ApplicationJson {
25053
+ [k: string]: unknown;
25054
+ }
24984
25055
  }
24985
25056
  }
24986
- namespace $408 {
25057
+ namespace $404 {
24987
25058
  namespace Content {
24988
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
24989
- name?: "FirstAuthenticationFactorExpired";
24990
- };
25059
+ interface ApplicationJson {
25060
+ [k: string]: unknown;
25061
+ }
24991
25062
  }
24992
25063
  }
24993
25064
  namespace $429 {
@@ -25007,60 +25078,29 @@ export declare namespace MittwaldAPIV2 {
25007
25078
  }
25008
25079
  }
25009
25080
  }
25010
- namespace V2SignupAuthentication { }
25011
- namespace V2Authenticate {
25012
- namespace Post {
25081
+ namespace V2Certificates {
25082
+ namespace Get {
25013
25083
  namespace Parameters {
25014
25084
  type Path = {};
25015
- interface RequestBody {
25016
- /**
25017
- * The users Email-Address.
25018
- */
25019
- email: string;
25020
- /**
25021
- * Password of the User.
25022
- */
25023
- password: string;
25024
- }
25025
- type Header = {};
25026
- type Query = {};
25085
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25086
+ type Query = {
25087
+ projectId?: string;
25088
+ ingressId?: string;
25089
+ };
25027
25090
  }
25028
25091
  namespace Responses {
25029
25092
  namespace $200 {
25030
25093
  namespace Content {
25031
- interface ApplicationJson {
25032
- /**
25033
- * The expiration date of the token.
25034
- */
25035
- expires: string;
25036
- /**
25037
- * Refresh token to refresh your access token even after it has expired.
25038
- */
25039
- refreshToken: string;
25040
- /**
25041
- * Public token to identify yourself against the api gateway.
25042
- */
25043
- token: string;
25044
- }
25094
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate[];
25045
25095
  }
25046
25096
  }
25047
- namespace $202 {
25097
+ namespace $404 {
25048
25098
  namespace Content {
25049
25099
  interface ApplicationJson {
25050
- name?: "SecondFactorRequired";
25100
+ [k: string]: unknown;
25051
25101
  }
25052
25102
  }
25053
25103
  }
25054
- namespace $400 {
25055
- namespace Content {
25056
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
25057
- }
25058
- }
25059
- namespace $401 {
25060
- namespace Content {
25061
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25062
- }
25063
- }
25064
25104
  namespace $429 {
25065
25105
  namespace Content {
25066
25106
  interface ApplicationJson {
@@ -25078,37 +25118,36 @@ export declare namespace MittwaldAPIV2 {
25078
25118
  }
25079
25119
  }
25080
25120
  }
25081
- namespace V2AuthenticateTokenRetrievalKey {
25082
- namespace Post {
25121
+ namespace V2ProjectsProjectIdStorageSpaceStatistics {
25122
+ namespace Get {
25083
25123
  namespace Parameters {
25084
- type Path = {};
25085
- interface RequestBody {
25086
- accessTokenRetrievalKey: string;
25087
- userId: string;
25088
- }
25089
- type Header = {};
25124
+ type Path = {
25125
+ projectId: string;
25126
+ };
25127
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25090
25128
  type Query = {};
25091
25129
  }
25092
25130
  namespace Responses {
25093
25131
  namespace $200 {
25132
+ namespace Content {
25133
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
25134
+ }
25135
+ }
25136
+ namespace $400 {
25094
25137
  namespace Content {
25095
25138
  interface ApplicationJson {
25096
- /**
25097
- * The expiration date of the token.
25098
- */
25099
- expiresAt: string;
25100
- /**
25101
- * Refresh token to refresh your access token even after it has expired.
25102
- */
25103
- refreshToken: string;
25104
- /**
25105
- * Public token to identify yourself against the public api.
25106
- */
25107
- token: string;
25139
+ [k: string]: unknown;
25108
25140
  }
25109
25141
  }
25110
25142
  }
25111
- namespace $400 {
25143
+ namespace $403 {
25144
+ namespace Content {
25145
+ interface ApplicationJson {
25146
+ [k: string]: unknown;
25147
+ }
25148
+ }
25149
+ }
25150
+ namespace $404 {
25112
25151
  namespace Content {
25113
25152
  interface ApplicationJson {
25114
25153
  [k: string]: unknown;
@@ -25122,6 +25161,13 @@ export declare namespace MittwaldAPIV2 {
25122
25161
  }
25123
25162
  }
25124
25163
  }
25164
+ namespace $500 {
25165
+ namespace Content {
25166
+ interface ApplicationJson {
25167
+ [k: string]: unknown;
25168
+ }
25169
+ }
25170
+ }
25125
25171
  namespace Default {
25126
25172
  namespace Content {
25127
25173
  interface ApplicationJson {
@@ -25132,52 +25178,74 @@ export declare namespace MittwaldAPIV2 {
25132
25178
  }
25133
25179
  }
25134
25180
  }
25135
- namespace V2UsersSelfCredentialsEmail {
25181
+ namespace V2ServersServerIdStorageSpaceStatistics {
25136
25182
  namespace Get {
25137
25183
  namespace Parameters {
25138
- type Path = {};
25184
+ type Path = {
25185
+ serverId: string;
25186
+ };
25139
25187
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25140
25188
  type Query = {};
25141
25189
  }
25142
25190
  namespace Responses {
25143
25191
  namespace $200 {
25192
+ namespace Content {
25193
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.StoragespaceStatistics;
25194
+ }
25195
+ }
25196
+ namespace $400 {
25144
25197
  namespace Content {
25145
25198
  interface ApplicationJson {
25146
- email: string;
25199
+ [k: string]: unknown;
25147
25200
  }
25148
25201
  }
25149
25202
  }
25150
- namespace $404 {
25203
+ namespace $403 {
25151
25204
  namespace Content {
25152
25205
  interface ApplicationJson {
25153
25206
  [k: string]: unknown;
25154
25207
  }
25155
25208
  }
25156
25209
  }
25157
- namespace $429 {
25210
+ namespace $404 {
25158
25211
  namespace Content {
25159
25212
  interface ApplicationJson {
25160
25213
  [k: string]: unknown;
25161
25214
  }
25162
25215
  }
25163
25216
  }
25164
- namespace Default {
25217
+ namespace $429 {
25165
25218
  namespace Content {
25166
25219
  interface ApplicationJson {
25167
25220
  [k: string]: unknown;
25168
25221
  }
25169
25222
  }
25170
25223
  }
25171
- }
25172
- }
25224
+ namespace $500 {
25225
+ namespace Content {
25226
+ interface ApplicationJson {
25227
+ [k: string]: unknown;
25228
+ }
25229
+ }
25230
+ }
25231
+ namespace Default {
25232
+ namespace Content {
25233
+ interface ApplicationJson {
25234
+ [k: string]: unknown;
25235
+ }
25236
+ }
25237
+ }
25238
+ }
25239
+ }
25240
+ }
25241
+ namespace V2ProjectsProjectIdStorageSpaceNotificationThreshold {
25173
25242
  namespace Put {
25174
25243
  namespace Parameters {
25175
- type Path = {};
25244
+ type Path = {
25245
+ projectId: string;
25246
+ };
25176
25247
  interface RequestBody {
25177
- /**
25178
- * The new Email-Address
25179
- */
25180
- email: string;
25248
+ notificationThresholdInBytes?: number;
25181
25249
  }
25182
25250
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25183
25251
  type Query = {};
@@ -25188,9 +25256,11 @@ export declare namespace MittwaldAPIV2 {
25188
25256
  type Empty = unknown;
25189
25257
  }
25190
25258
  }
25191
- namespace $400 {
25259
+ namespace $403 {
25192
25260
  namespace Content {
25193
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25261
+ interface ApplicationJson {
25262
+ [k: string]: unknown;
25263
+ }
25194
25264
  }
25195
25265
  }
25196
25266
  namespace $429 {
@@ -25200,6 +25270,13 @@ export declare namespace MittwaldAPIV2 {
25200
25270
  }
25201
25271
  }
25202
25272
  }
25273
+ namespace $500 {
25274
+ namespace Content {
25275
+ interface ApplicationJson {
25276
+ [k: string]: unknown;
25277
+ }
25278
+ }
25279
+ }
25203
25280
  namespace Default {
25204
25281
  namespace Content {
25205
25282
  interface ApplicationJson {
@@ -25210,58 +25287,39 @@ export declare namespace MittwaldAPIV2 {
25210
25287
  }
25211
25288
  }
25212
25289
  }
25213
- namespace V2SignupPassword { }
25214
- namespace V2UsersSelfCredentialsPassword {
25290
+ namespace V2ServersServerIdStorageSpaceNotificationThreshold {
25215
25291
  namespace Put {
25216
25292
  namespace Parameters {
25217
- type Path = {};
25293
+ type Path = {
25294
+ serverId: string;
25295
+ };
25218
25296
  interface RequestBody {
25219
- /**
25220
- * Multi Factor Code to confirm MFA.
25221
- * This is optional, depending on the MFA activation status of the profile.
25222
- *
25223
- */
25224
- multiFactorCode?: string;
25225
- /**
25226
- * The new password.
25227
- */
25228
- newPassword: string;
25229
- /**
25230
- * The old password.
25231
- */
25232
- oldPassword: string;
25297
+ notificationThresholdInBytes?: number;
25233
25298
  }
25234
25299
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25235
25300
  type Query = {};
25236
25301
  }
25237
25302
  namespace Responses {
25238
- namespace $200 {
25303
+ namespace $204 {
25239
25304
  namespace Content {
25240
- interface ApplicationJson {
25241
- /**
25242
- * The expiration date of the token.
25243
- */
25244
- expires: string;
25245
- /**
25246
- * Public token to identify yourself against the api gateway.
25247
- */
25248
- token: string;
25249
- }
25305
+ type Empty = unknown;
25250
25306
  }
25251
25307
  }
25252
- namespace $202 {
25308
+ namespace $403 {
25253
25309
  namespace Content {
25254
25310
  interface ApplicationJson {
25255
25311
  [k: string]: unknown;
25256
25312
  }
25257
25313
  }
25258
25314
  }
25259
- namespace $400 {
25315
+ namespace $429 {
25260
25316
  namespace Content {
25261
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25317
+ interface ApplicationJson {
25318
+ [k: string]: unknown;
25319
+ }
25262
25320
  }
25263
25321
  }
25264
- namespace $429 {
25322
+ namespace $500 {
25265
25323
  namespace Content {
25266
25324
  interface ApplicationJson {
25267
25325
  [k: string]: unknown;
@@ -25278,22 +25336,35 @@ export declare namespace MittwaldAPIV2 {
25278
25336
  }
25279
25337
  }
25280
25338
  }
25281
- namespace V2SignupTokenCheck { }
25282
- namespace V2UsersSelfCredentialsToken {
25339
+ namespace V2UsersUserIdPhone {
25283
25340
  namespace Post {
25284
25341
  namespace Parameters {
25285
- type Path = {};
25342
+ type Path = {
25343
+ userId: string;
25344
+ };
25286
25345
  interface RequestBody {
25346
+ phoneNumber: string;
25287
25347
  }
25288
25348
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25289
25349
  type Query = {};
25290
25350
  }
25291
25351
  namespace Responses {
25292
- namespace $200 {
25352
+ namespace $204 {
25353
+ namespace Content {
25354
+ type Empty = unknown;
25355
+ }
25356
+ }
25357
+ namespace $400 {
25293
25358
  namespace Content {
25294
25359
  interface ApplicationJson {
25295
- id: string;
25296
- publicToken: string;
25360
+ [k: string]: unknown;
25361
+ }
25362
+ }
25363
+ }
25364
+ namespace $409 {
25365
+ namespace Content {
25366
+ interface ApplicationJson {
25367
+ [k: string]: unknown;
25297
25368
  }
25298
25369
  }
25299
25370
  }
@@ -25313,21 +25384,31 @@ export declare namespace MittwaldAPIV2 {
25313
25384
  }
25314
25385
  }
25315
25386
  }
25316
- }
25317
- namespace V2SignupMfaConfirm { }
25318
- namespace V2UsersSelfCredentialsMfa {
25319
- namespace Get {
25387
+ namespace Delete {
25320
25388
  namespace Parameters {
25321
- type Path = {};
25389
+ type Path = {
25390
+ userId: string;
25391
+ };
25322
25392
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25323
25393
  type Query = {};
25324
25394
  }
25325
25395
  namespace Responses {
25326
- namespace $200 {
25396
+ namespace $204 {
25397
+ namespace Content {
25398
+ type Empty = unknown;
25399
+ }
25400
+ }
25401
+ namespace $400 {
25327
25402
  namespace Content {
25328
25403
  interface ApplicationJson {
25329
- confirmed: boolean;
25330
- initialized: boolean;
25404
+ [k: string]: unknown;
25405
+ }
25406
+ }
25407
+ }
25408
+ namespace $412 {
25409
+ namespace Content {
25410
+ interface ApplicationJson {
25411
+ [k: string]: unknown;
25331
25412
  }
25332
25413
  }
25333
25414
  }
@@ -25347,16 +25428,27 @@ export declare namespace MittwaldAPIV2 {
25347
25428
  }
25348
25429
  }
25349
25430
  }
25350
- namespace Put {
25431
+ }
25432
+ namespace V2SignupAuthenticationMfa { }
25433
+ namespace V2AuthenticateMfa {
25434
+ namespace Post {
25351
25435
  namespace Parameters {
25352
25436
  type Path = {};
25353
25437
  interface RequestBody {
25354
25438
  /**
25355
- * Multi Factor Code to authorize your request.
25439
+ * The email of the user.
25440
+ */
25441
+ email: string;
25442
+ /**
25443
+ * The second factor - otp code or recovery code.
25356
25444
  */
25357
25445
  multiFactorCode: string;
25446
+ /**
25447
+ * The password of the user.
25448
+ */
25449
+ password: string;
25358
25450
  }
25359
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25451
+ type Header = {};
25360
25452
  type Query = {};
25361
25453
  }
25362
25454
  namespace Responses {
@@ -25364,31 +25456,17 @@ export declare namespace MittwaldAPIV2 {
25364
25456
  namespace Content {
25365
25457
  interface ApplicationJson {
25366
25458
  /**
25367
- * @minItems 20
25368
- * @maxItems 20
25459
+ * The expiration date of the token.
25369
25460
  */
25370
- recoveryCodesList: [
25371
- string,
25372
- string,
25373
- string,
25374
- string,
25375
- string,
25376
- string,
25377
- string,
25378
- string,
25379
- string,
25380
- string,
25381
- string,
25382
- string,
25383
- string,
25384
- string,
25385
- string,
25386
- string,
25387
- string,
25388
- string,
25389
- string,
25390
- string
25391
- ];
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;
25392
25470
  }
25393
25471
  }
25394
25472
  }
@@ -25397,6 +25475,13 @@ export declare namespace MittwaldAPIV2 {
25397
25475
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25398
25476
  }
25399
25477
  }
25478
+ namespace $408 {
25479
+ namespace Content {
25480
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
25481
+ name?: "FirstAuthenticationFactorExpired";
25482
+ };
25483
+ }
25484
+ }
25400
25485
  namespace $429 {
25401
25486
  namespace Content {
25402
25487
  interface ApplicationJson {
@@ -25413,16 +25498,23 @@ export declare namespace MittwaldAPIV2 {
25413
25498
  }
25414
25499
  }
25415
25500
  }
25501
+ }
25502
+ namespace V2SignupAuthentication { }
25503
+ namespace V2Authenticate {
25416
25504
  namespace Post {
25417
25505
  namespace Parameters {
25418
25506
  type Path = {};
25419
25507
  interface RequestBody {
25420
25508
  /**
25421
- * Multi Factor Code to confirm MFA.
25509
+ * The users Email-Address.
25422
25510
  */
25423
- multiFactorCode: string;
25511
+ email: string;
25512
+ /**
25513
+ * Password of the User.
25514
+ */
25515
+ password: string;
25424
25516
  }
25425
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25517
+ type Header = {};
25426
25518
  type Query = {};
25427
25519
  }
25428
25520
  namespace Responses {
@@ -25430,35 +25522,33 @@ export declare namespace MittwaldAPIV2 {
25430
25522
  namespace Content {
25431
25523
  interface ApplicationJson {
25432
25524
  /**
25433
- * @minItems 20
25434
- * @maxItems 20
25525
+ * The expiration date of the token.
25435
25526
  */
25436
- recoveryCodesList: [
25437
- string,
25438
- string,
25439
- string,
25440
- string,
25441
- string,
25442
- string,
25443
- string,
25444
- string,
25445
- string,
25446
- string,
25447
- string,
25448
- string,
25449
- string,
25450
- string,
25451
- string,
25452
- string,
25453
- string,
25454
- string,
25455
- string,
25456
- string
25457
- ];
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";
25458
25543
  }
25459
25544
  }
25460
25545
  }
25461
25546
  namespace $400 {
25547
+ namespace Content {
25548
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors | MittwaldAPIV2.Components.Schemas.CommonsError;
25549
+ }
25550
+ }
25551
+ namespace $401 {
25462
25552
  namespace Content {
25463
25553
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25464
25554
  }
@@ -25479,27 +25569,42 @@ export declare namespace MittwaldAPIV2 {
25479
25569
  }
25480
25570
  }
25481
25571
  }
25482
- namespace Delete {
25572
+ }
25573
+ namespace V2AuthenticateTokenRetrievalKey {
25574
+ namespace Post {
25483
25575
  namespace Parameters {
25484
25576
  type Path = {};
25485
25577
  interface RequestBody {
25486
- /**
25487
- * Multi Factor Code to confirm MFA.
25488
- */
25489
- multiFactorCode: string;
25578
+ accessTokenRetrievalKey: string;
25579
+ userId: string;
25490
25580
  }
25491
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25581
+ type Header = {};
25492
25582
  type Query = {};
25493
25583
  }
25494
25584
  namespace Responses {
25495
- namespace $204 {
25585
+ namespace $200 {
25496
25586
  namespace Content {
25497
- 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
+ }
25498
25601
  }
25499
25602
  }
25500
25603
  namespace $400 {
25501
25604
  namespace Content {
25502
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25605
+ interface ApplicationJson {
25606
+ [k: string]: unknown;
25607
+ }
25503
25608
  }
25504
25609
  }
25505
25610
  namespace $429 {
@@ -25519,36 +25624,26 @@ export declare namespace MittwaldAPIV2 {
25519
25624
  }
25520
25625
  }
25521
25626
  }
25522
- namespace V2UsersSelfCredentialsPasswordConfirmReset {
25523
- namespace Post {
25627
+ namespace V2UsersSelfCredentialsEmail {
25628
+ namespace Get {
25524
25629
  namespace Parameters {
25525
25630
  type Path = {};
25526
- interface RequestBody {
25527
- /**
25528
- * The new password.
25529
- */
25530
- password: string;
25531
- /**
25532
- * Password reset token
25533
- */
25534
- token: string;
25535
- /**
25536
- * UserId of the user to reset the password for.
25537
- */
25538
- userId: string;
25539
- }
25540
- type Header = {};
25631
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25541
25632
  type Query = {};
25542
25633
  }
25543
25634
  namespace Responses {
25544
- namespace $204 {
25635
+ namespace $200 {
25545
25636
  namespace Content {
25546
- type Empty = unknown;
25637
+ interface ApplicationJson {
25638
+ email: string;
25639
+ }
25547
25640
  }
25548
25641
  }
25549
- namespace $400 {
25642
+ namespace $404 {
25550
25643
  namespace Content {
25551
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25644
+ interface ApplicationJson {
25645
+ [k: string]: unknown;
25646
+ }
25552
25647
  }
25553
25648
  }
25554
25649
  namespace $429 {
@@ -25567,23 +25662,27 @@ export declare namespace MittwaldAPIV2 {
25567
25662
  }
25568
25663
  }
25569
25664
  }
25570
- }
25571
- namespace V2SignupTokenApi { }
25572
- namespace V2UsersSelfApiTokens {
25573
- namespace Get {
25665
+ namespace Put {
25574
25666
  namespace Parameters {
25575
25667
  type Path = {};
25668
+ interface RequestBody {
25669
+ /**
25670
+ * The new Email-Address
25671
+ */
25672
+ email: string;
25673
+ }
25576
25674
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25577
- type Query = {
25578
- limit?: number;
25579
- skip?: number;
25580
- page?: number;
25581
- };
25675
+ type Query = {};
25582
25676
  }
25583
25677
  namespace Responses {
25584
- namespace $200 {
25678
+ namespace $204 {
25585
25679
  namespace Content {
25586
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken[];
25680
+ type Empty = unknown;
25681
+ }
25682
+ }
25683
+ namespace $400 {
25684
+ namespace Content {
25685
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25587
25686
  }
25588
25687
  }
25589
25688
  namespace $429 {
@@ -25602,40 +25701,58 @@ export declare namespace MittwaldAPIV2 {
25602
25701
  }
25603
25702
  }
25604
25703
  }
25605
- namespace Post {
25704
+ }
25705
+ namespace V2SignupPassword { }
25706
+ namespace V2UsersSelfCredentialsPassword {
25707
+ namespace Put {
25606
25708
  namespace Parameters {
25607
25709
  type Path = {};
25608
25710
  interface RequestBody {
25609
- description: string;
25610
- expiresAt?: string;
25611
25711
  /**
25612
- * Determines the access rights of the ApiToken.
25712
+ * Multi Factor Code to confirm MFA.
25713
+ * This is optional, depending on the MFA activation status of the profile.
25613
25714
  *
25614
- * @minItems 1
25615
25715
  */
25616
- roles: ["api_read" | "api_write", ...("api_read" | "api_write")[]];
25716
+ multiFactorCode?: string;
25717
+ /**
25718
+ * The new password.
25719
+ */
25720
+ newPassword: string;
25721
+ /**
25722
+ * The old password.
25723
+ */
25724
+ oldPassword: string;
25617
25725
  }
25618
25726
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25619
25727
  type Query = {};
25620
25728
  }
25621
25729
  namespace Responses {
25622
- namespace $201 {
25730
+ namespace $200 {
25623
25731
  namespace Content {
25624
25732
  interface ApplicationJson {
25625
25733
  /**
25626
- * The `ApiToken`.
25734
+ * The expiration date of the token.
25735
+ */
25736
+ expires: string;
25737
+ /**
25738
+ * Public token to identify yourself against the api gateway.
25627
25739
  */
25628
25740
  token: string;
25629
25741
  }
25630
25742
  }
25631
25743
  }
25632
- namespace $400 {
25744
+ namespace $202 {
25633
25745
  namespace Content {
25634
25746
  interface ApplicationJson {
25635
25747
  [k: string]: unknown;
25636
25748
  }
25637
25749
  }
25638
25750
  }
25751
+ namespace $400 {
25752
+ namespace Content {
25753
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25754
+ }
25755
+ }
25639
25756
  namespace $429 {
25640
25757
  namespace Content {
25641
25758
  interface ApplicationJson {
@@ -25653,56 +25770,59 @@ export declare namespace MittwaldAPIV2 {
25653
25770
  }
25654
25771
  }
25655
25772
  }
25656
- namespace V2UsersSelfFeedback {
25773
+ namespace V2SignupTokenCheck { }
25774
+ namespace V2UsersSelfCredentialsToken {
25657
25775
  namespace Post {
25658
25776
  namespace Parameters {
25659
25777
  type Path = {};
25660
25778
  interface RequestBody {
25661
- /**
25662
- * Personal feedback message.
25663
- */
25664
- message?: string;
25665
- /**
25666
- * Origin of the feedback.
25667
- */
25668
- origin?: string;
25669
- /**
25670
- * Descriptive subject.
25671
- */
25672
- subject: string;
25673
- /**
25674
- * Type of feedback.
25675
- */
25676
- type?: "feedback" | "bug";
25677
- /**
25678
- * Feedback rating from bad to good. Set to 0 or skip this field to not vote at all.
25679
- */
25680
- vote?: number;
25681
25779
  }
25682
25780
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25683
25781
  type Query = {};
25684
25782
  }
25685
25783
  namespace Responses {
25686
- namespace $201 {
25784
+ namespace $200 {
25687
25785
  namespace Content {
25688
25786
  interface ApplicationJson {
25787
+ id: string;
25788
+ publicToken: string;
25689
25789
  }
25690
25790
  }
25691
25791
  }
25692
- namespace $401 {
25792
+ namespace $429 {
25693
25793
  namespace Content {
25694
25794
  interface ApplicationJson {
25695
25795
  [k: string]: unknown;
25696
25796
  }
25697
25797
  }
25698
25798
  }
25699
- namespace $404 {
25799
+ namespace Default {
25700
25800
  namespace Content {
25701
25801
  interface ApplicationJson {
25702
25802
  [k: string]: unknown;
25703
25803
  }
25704
25804
  }
25705
25805
  }
25806
+ }
25807
+ }
25808
+ }
25809
+ namespace V2SignupMfaConfirm { }
25810
+ namespace V2UsersSelfCredentialsMfa {
25811
+ namespace Get {
25812
+ namespace Parameters {
25813
+ type Path = {};
25814
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25815
+ type Query = {};
25816
+ }
25817
+ namespace Responses {
25818
+ namespace $200 {
25819
+ namespace Content {
25820
+ interface ApplicationJson {
25821
+ confirmed: boolean;
25822
+ initialized: boolean;
25823
+ }
25824
+ }
25825
+ }
25706
25826
  namespace $429 {
25707
25827
  namespace Content {
25708
25828
  interface ApplicationJson {
@@ -25719,27 +25839,56 @@ export declare namespace MittwaldAPIV2 {
25719
25839
  }
25720
25840
  }
25721
25841
  }
25722
- }
25723
- namespace V2SignupSsh { }
25724
- namespace V2UsersSelfSshKeys {
25725
- namespace Get {
25842
+ namespace Put {
25726
25843
  namespace Parameters {
25727
25844
  type Path = {};
25845
+ interface RequestBody {
25846
+ /**
25847
+ * Multi Factor Code to authorize your request.
25848
+ */
25849
+ multiFactorCode: string;
25850
+ }
25728
25851
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25729
- type Query = {
25730
- limit?: number;
25731
- skip?: number;
25732
- page?: number;
25733
- };
25852
+ type Query = {};
25734
25853
  }
25735
25854
  namespace Responses {
25736
25855
  namespace $200 {
25737
25856
  namespace Content {
25738
25857
  interface ApplicationJson {
25739
- sshKeys?: MittwaldAPIV2.Components.Schemas.SignupSshKey[];
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
+ ];
25740
25884
  }
25741
25885
  }
25742
25886
  }
25887
+ namespace $400 {
25888
+ namespace Content {
25889
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25890
+ }
25891
+ }
25743
25892
  namespace $429 {
25744
25893
  namespace Content {
25745
25894
  interface ApplicationJson {
@@ -25760,24 +25909,50 @@ export declare namespace MittwaldAPIV2 {
25760
25909
  namespace Parameters {
25761
25910
  type Path = {};
25762
25911
  interface RequestBody {
25763
- expiresAt?: string;
25764
- publicKey: string;
25912
+ /**
25913
+ * Multi Factor Code to confirm MFA.
25914
+ */
25915
+ multiFactorCode: string;
25765
25916
  }
25766
25917
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25767
25918
  type Query = {};
25768
25919
  }
25769
25920
  namespace Responses {
25770
- namespace $201 {
25921
+ namespace $200 {
25771
25922
  namespace Content {
25772
25923
  interface ApplicationJson {
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
+ ];
25773
25950
  }
25774
25951
  }
25775
25952
  }
25776
25953
  namespace $400 {
25777
25954
  namespace Content {
25778
- interface ApplicationJson {
25779
- [k: string]: unknown;
25780
- }
25955
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25781
25956
  }
25782
25957
  }
25783
25958
  namespace $429 {
@@ -25796,27 +25971,27 @@ export declare namespace MittwaldAPIV2 {
25796
25971
  }
25797
25972
  }
25798
25973
  }
25799
- }
25800
- namespace V2UsersSelfApiTokensApiTokenId {
25801
- namespace Get {
25974
+ namespace Delete {
25802
25975
  namespace Parameters {
25803
- type Path = {
25804
- apiTokenId: string;
25805
- };
25976
+ type Path = {};
25977
+ interface RequestBody {
25978
+ /**
25979
+ * Multi Factor Code to confirm MFA.
25980
+ */
25981
+ multiFactorCode: string;
25982
+ }
25806
25983
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25807
25984
  type Query = {};
25808
25985
  }
25809
25986
  namespace Responses {
25810
- namespace $200 {
25987
+ namespace $204 {
25811
25988
  namespace Content {
25812
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken;
25989
+ type Empty = unknown;
25813
25990
  }
25814
25991
  }
25815
- namespace $404 {
25992
+ namespace $400 {
25816
25993
  namespace Content {
25817
- interface ApplicationJson {
25818
- [k: string]: unknown;
25819
- }
25994
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25820
25995
  }
25821
25996
  }
25822
25997
  namespace $429 {
@@ -25835,16 +26010,26 @@ export declare namespace MittwaldAPIV2 {
25835
26010
  }
25836
26011
  }
25837
26012
  }
25838
- namespace Put {
26013
+ }
26014
+ namespace V2UsersSelfCredentialsPasswordConfirmReset {
26015
+ namespace Post {
25839
26016
  namespace Parameters {
25840
- type Path = {
25841
- apiTokenId: string;
25842
- };
26017
+ type Path = {};
25843
26018
  interface RequestBody {
25844
- description: string;
25845
- expiresAt?: string;
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;
25846
26031
  }
25847
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26032
+ type Header = {};
25848
26033
  type Query = {};
25849
26034
  }
25850
26035
  namespace Responses {
@@ -25855,9 +26040,7 @@ export declare namespace MittwaldAPIV2 {
25855
26040
  }
25856
26041
  namespace $400 {
25857
26042
  namespace Content {
25858
- interface ApplicationJson {
25859
- [k: string]: unknown;
25860
- }
26043
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
25861
26044
  }
25862
26045
  }
25863
26046
  namespace $429 {
@@ -25876,25 +26059,23 @@ export declare namespace MittwaldAPIV2 {
25876
26059
  }
25877
26060
  }
25878
26061
  }
25879
- namespace Delete {
26062
+ }
26063
+ namespace V2SignupTokenApi { }
26064
+ namespace V2UsersSelfApiTokens {
26065
+ namespace Get {
25880
26066
  namespace Parameters {
25881
- type Path = {
25882
- apiTokenId: string;
25883
- };
26067
+ type Path = {};
25884
26068
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25885
- type Query = {};
26069
+ type Query = {
26070
+ limit?: number;
26071
+ skip?: number;
26072
+ page?: number;
26073
+ };
25886
26074
  }
25887
26075
  namespace Responses {
25888
- namespace $204 {
25889
- namespace Content {
25890
- type Empty = unknown;
25891
- }
25892
- }
25893
- namespace $400 {
26076
+ namespace $200 {
25894
26077
  namespace Content {
25895
- interface ApplicationJson {
25896
- [k: string]: unknown;
25897
- }
26078
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken[];
25898
26079
  }
25899
26080
  }
25900
26081
  namespace $429 {
@@ -25913,25 +26094,34 @@ export declare namespace MittwaldAPIV2 {
25913
26094
  }
25914
26095
  }
25915
26096
  }
25916
- }
25917
- namespace V2UsersSelfSshKeysSshKeyId {
25918
- namespace Get {
26097
+ namespace Post {
25919
26098
  namespace Parameters {
25920
- type Path = {
25921
- sshKeyId: string;
25922
- };
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
+ }
25923
26110
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25924
26111
  type Query = {};
25925
26112
  }
25926
26113
  namespace Responses {
25927
- namespace $200 {
26114
+ namespace $201 {
25928
26115
  namespace Content {
25929
26116
  interface ApplicationJson {
25930
- sshKey: MittwaldAPIV2.Components.Schemas.SignupSshKey;
26117
+ /**
26118
+ * The `ApiToken`.
26119
+ */
26120
+ token: string;
25931
26121
  }
25932
26122
  }
25933
26123
  }
25934
- namespace $404 {
26124
+ namespace $400 {
25935
26125
  namespace Content {
25936
26126
  interface ApplicationJson {
25937
26127
  [k: string]: unknown;
@@ -25954,61 +26144,57 @@ export declare namespace MittwaldAPIV2 {
25954
26144
  }
25955
26145
  }
25956
26146
  }
25957
- namespace Put {
26147
+ }
26148
+ namespace V2UsersSelfFeedback {
26149
+ namespace Post {
25958
26150
  namespace Parameters {
25959
- type Path = {
25960
- sshKeyId: string;
25961
- };
26151
+ type Path = {};
25962
26152
  interface RequestBody {
25963
- comment: string;
25964
- expiresAt?: string;
26153
+ /**
26154
+ * Personal feedback message.
26155
+ */
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;
25965
26173
  }
25966
26174
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
25967
26175
  type Query = {};
25968
26176
  }
25969
26177
  namespace Responses {
25970
- namespace $204 {
25971
- namespace Content {
25972
- type Empty = unknown;
25973
- }
25974
- }
25975
- namespace $400 {
26178
+ namespace $201 {
25976
26179
  namespace Content {
25977
26180
  interface ApplicationJson {
25978
- [k: string]: unknown;
25979
26181
  }
25980
26182
  }
25981
26183
  }
25982
- namespace $429 {
26184
+ namespace $401 {
25983
26185
  namespace Content {
25984
26186
  interface ApplicationJson {
25985
26187
  [k: string]: unknown;
25986
26188
  }
25987
26189
  }
25988
26190
  }
25989
- namespace Default {
26191
+ namespace $404 {
25990
26192
  namespace Content {
25991
26193
  interface ApplicationJson {
25992
26194
  [k: string]: unknown;
25993
26195
  }
25994
26196
  }
25995
26197
  }
25996
- }
25997
- }
25998
- namespace Delete {
25999
- namespace Parameters {
26000
- type Path = {
26001
- sshKeyId: string;
26002
- };
26003
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26004
- type Query = {};
26005
- }
26006
- namespace Responses {
26007
- namespace $204 {
26008
- namespace Content {
26009
- type Empty = unknown;
26010
- }
26011
- }
26012
26198
  namespace $429 {
26013
26199
  namespace Content {
26014
26200
  interface ApplicationJson {
@@ -26026,42 +26212,23 @@ export declare namespace MittwaldAPIV2 {
26026
26212
  }
26027
26213
  }
26028
26214
  }
26029
- namespace V2UsersSelf {
26030
- namespace Delete {
26215
+ namespace V2SignupSsh { }
26216
+ namespace V2UsersSelfSshKeys {
26217
+ namespace Get {
26031
26218
  namespace Parameters {
26032
26219
  type Path = {};
26033
- interface RequestBody {
26034
- /**
26035
- * Multi Factor Code to authorize your request.
26036
- */
26037
- multiFactorCode?: string;
26038
- password: string;
26039
- }
26040
26220
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26041
- type Query = {};
26221
+ type Query = {
26222
+ limit?: number;
26223
+ skip?: number;
26224
+ page?: number;
26225
+ };
26042
26226
  }
26043
26227
  namespace Responses {
26044
26228
  namespace $200 {
26045
- namespace Content {
26046
- type Empty = unknown;
26047
- }
26048
- }
26049
- namespace $202 {
26050
- namespace Content {
26051
- interface ApplicationJson {
26052
- [k: string]: unknown;
26053
- }
26054
- }
26055
- }
26056
- namespace $400 {
26057
- namespace Content {
26058
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26059
- }
26060
- }
26061
- namespace $409 {
26062
26229
  namespace Content {
26063
26230
  interface ApplicationJson {
26064
- [k: string]: unknown;
26231
+ sshKeys?: MittwaldAPIV2.Components.Schemas.SignupSshKey[];
26065
26232
  }
26066
26233
  }
26067
26234
  }
@@ -26081,21 +26248,27 @@ export declare namespace MittwaldAPIV2 {
26081
26248
  }
26082
26249
  }
26083
26250
  }
26084
- }
26085
- namespace V2UsersSelfCredentialsPasswordUpdatedAt {
26086
- namespace Get {
26251
+ namespace Post {
26087
26252
  namespace Parameters {
26088
26253
  type Path = {};
26089
26254
  interface RequestBody {
26255
+ expiresAt?: string;
26256
+ publicKey: string;
26090
26257
  }
26091
26258
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26092
26259
  type Query = {};
26093
26260
  }
26094
26261
  namespace Responses {
26095
- namespace $200 {
26262
+ namespace $201 {
26096
26263
  namespace Content {
26097
26264
  interface ApplicationJson {
26098
- passwordUpdatedAt: string;
26265
+ }
26266
+ }
26267
+ }
26268
+ namespace $400 {
26269
+ namespace Content {
26270
+ interface ApplicationJson {
26271
+ [k: string]: unknown;
26099
26272
  }
26100
26273
  }
26101
26274
  }
@@ -26116,20 +26289,25 @@ export declare namespace MittwaldAPIV2 {
26116
26289
  }
26117
26290
  }
26118
26291
  }
26119
- namespace V2UsersUserIdSettings {
26292
+ namespace V2UsersSelfApiTokensApiTokenId {
26120
26293
  namespace Get {
26121
26294
  namespace Parameters {
26122
26295
  type Path = {
26123
- userId: string;
26296
+ apiTokenId: string;
26124
26297
  };
26125
26298
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26126
26299
  type Query = {};
26127
26300
  }
26128
26301
  namespace Responses {
26129
26302
  namespace $200 {
26303
+ namespace Content {
26304
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken;
26305
+ }
26306
+ }
26307
+ namespace $404 {
26130
26308
  namespace Content {
26131
26309
  interface ApplicationJson {
26132
- settingsString?: string;
26310
+ [k: string]: unknown;
26133
26311
  }
26134
26312
  }
26135
26313
  }
@@ -26152,10 +26330,11 @@ export declare namespace MittwaldAPIV2 {
26152
26330
  namespace Put {
26153
26331
  namespace Parameters {
26154
26332
  type Path = {
26155
- userId: string;
26333
+ apiTokenId: string;
26156
26334
  };
26157
26335
  interface RequestBody {
26158
- settingsString: string;
26336
+ description: string;
26337
+ expiresAt?: string;
26159
26338
  }
26160
26339
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26161
26340
  type Query = {};
@@ -26189,20 +26368,18 @@ export declare namespace MittwaldAPIV2 {
26189
26368
  }
26190
26369
  }
26191
26370
  }
26192
- }
26193
- namespace V2PollSettingsUserId {
26194
- namespace Get {
26371
+ namespace Delete {
26195
26372
  namespace Parameters {
26196
26373
  type Path = {
26197
- userId: string;
26374
+ apiTokenId: string;
26198
26375
  };
26199
- type Header = {};
26376
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26200
26377
  type Query = {};
26201
26378
  }
26202
26379
  namespace Responses {
26203
- namespace $200 {
26380
+ namespace $204 {
26204
26381
  namespace Content {
26205
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26382
+ type Empty = unknown;
26206
26383
  }
26207
26384
  }
26208
26385
  namespace $400 {
@@ -26212,13 +26389,6 @@ export declare namespace MittwaldAPIV2 {
26212
26389
  }
26213
26390
  }
26214
26391
  }
26215
- namespace $404 {
26216
- namespace Content {
26217
- interface ApplicationJson {
26218
- [k: string]: unknown;
26219
- }
26220
- }
26221
- }
26222
26392
  namespace $429 {
26223
26393
  namespace Content {
26224
26394
  interface ApplicationJson {
@@ -26235,32 +26405,25 @@ export declare namespace MittwaldAPIV2 {
26235
26405
  }
26236
26406
  }
26237
26407
  }
26238
- namespace Post {
26408
+ }
26409
+ namespace V2UsersSelfSshKeysSshKeyId {
26410
+ namespace Get {
26239
26411
  namespace Parameters {
26240
26412
  type Path = {
26241
- userId: string;
26413
+ sshKeyId: string;
26242
26414
  };
26243
- interface RequestBody {
26244
- status: "completed" | "muted" | "ignored";
26245
- userId: string;
26246
- }
26247
- type Header = {};
26415
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26248
26416
  type Query = {};
26249
26417
  }
26250
26418
  namespace Responses {
26251
26419
  namespace $200 {
26252
- namespace Content {
26253
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26254
- }
26255
- }
26256
- namespace $400 {
26257
26420
  namespace Content {
26258
26421
  interface ApplicationJson {
26259
- [k: string]: unknown;
26422
+ sshKey: MittwaldAPIV2.Components.Schemas.SignupSshKey;
26260
26423
  }
26261
26424
  }
26262
26425
  }
26263
- namespace $403 {
26426
+ namespace $404 {
26264
26427
  namespace Content {
26265
26428
  interface ApplicationJson {
26266
26429
  [k: string]: unknown;
@@ -26283,23 +26446,25 @@ export declare namespace MittwaldAPIV2 {
26283
26446
  }
26284
26447
  }
26285
26448
  }
26286
- }
26287
- namespace V2UsersSelfSessionsTokenId {
26288
- namespace Get {
26449
+ namespace Put {
26289
26450
  namespace Parameters {
26290
26451
  type Path = {
26291
- tokenId: string;
26452
+ sshKeyId: string;
26292
26453
  };
26454
+ interface RequestBody {
26455
+ comment: string;
26456
+ expiresAt?: string;
26457
+ }
26293
26458
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26294
26459
  type Query = {};
26295
26460
  }
26296
26461
  namespace Responses {
26297
- namespace $200 {
26462
+ namespace $204 {
26298
26463
  namespace Content {
26299
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession;
26464
+ type Empty = unknown;
26300
26465
  }
26301
26466
  }
26302
- namespace $404 {
26467
+ namespace $400 {
26303
26468
  namespace Content {
26304
26469
  interface ApplicationJson {
26305
26470
  [k: string]: unknown;
@@ -26325,7 +26490,7 @@ export declare namespace MittwaldAPIV2 {
26325
26490
  namespace Delete {
26326
26491
  namespace Parameters {
26327
26492
  type Path = {
26328
- tokenId: string;
26493
+ sshKeyId: string;
26329
26494
  };
26330
26495
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26331
26496
  type Query = {};
@@ -26336,13 +26501,6 @@ export declare namespace MittwaldAPIV2 {
26336
26501
  type Empty = unknown;
26337
26502
  }
26338
26503
  }
26339
- namespace $404 {
26340
- namespace Content {
26341
- interface ApplicationJson {
26342
- [k: string]: unknown;
26343
- }
26344
- }
26345
- }
26346
26504
  namespace $429 {
26347
26505
  namespace Content {
26348
26506
  interface ApplicationJson {
@@ -26360,36 +26518,46 @@ export declare namespace MittwaldAPIV2 {
26360
26518
  }
26361
26519
  }
26362
26520
  }
26363
- namespace V2UsersUserId {
26364
- namespace Get {
26521
+ namespace V2UsersSelf {
26522
+ namespace Delete {
26365
26523
  namespace Parameters {
26366
- type Path = {
26367
- userId: string;
26368
- };
26524
+ type Path = {};
26525
+ interface RequestBody {
26526
+ /**
26527
+ * Multi Factor Code to authorize your request.
26528
+ */
26529
+ multiFactorCode?: string;
26530
+ password: string;
26531
+ }
26369
26532
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26370
26533
  type Query = {};
26371
26534
  }
26372
26535
  namespace Responses {
26373
26536
  namespace $200 {
26374
26537
  namespace Content {
26375
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUser;
26538
+ type Empty = unknown;
26376
26539
  }
26377
26540
  }
26378
- namespace $403 {
26541
+ namespace $202 {
26379
26542
  namespace Content {
26380
26543
  interface ApplicationJson {
26381
26544
  [k: string]: unknown;
26382
26545
  }
26383
26546
  }
26384
26547
  }
26385
- namespace $404 {
26548
+ namespace $400 {
26549
+ namespace Content {
26550
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26551
+ }
26552
+ }
26553
+ namespace $409 {
26386
26554
  namespace Content {
26387
26555
  interface ApplicationJson {
26388
26556
  [k: string]: unknown;
26389
26557
  }
26390
26558
  }
26391
26559
  }
26392
- namespace $412 {
26560
+ namespace $429 {
26393
26561
  namespace Content {
26394
26562
  interface ApplicationJson {
26395
26563
  [k: string]: unknown;
@@ -26405,27 +26573,21 @@ export declare namespace MittwaldAPIV2 {
26405
26573
  }
26406
26574
  }
26407
26575
  }
26408
- namespace Put {
26576
+ }
26577
+ namespace V2UsersSelfCredentialsPasswordUpdatedAt {
26578
+ namespace Get {
26409
26579
  namespace Parameters {
26410
- type Path = {
26411
- userId: string;
26412
- };
26580
+ type Path = {};
26413
26581
  interface RequestBody {
26414
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
26415
26582
  }
26416
26583
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26417
26584
  type Query = {};
26418
26585
  }
26419
26586
  namespace Responses {
26420
- namespace $204 {
26421
- namespace Content {
26422
- type Empty = unknown;
26423
- }
26424
- }
26425
- namespace $400 {
26587
+ namespace $200 {
26426
26588
  namespace Content {
26427
26589
  interface ApplicationJson {
26428
- [k: string]: unknown;
26590
+ passwordUpdatedAt: string;
26429
26591
  }
26430
26592
  }
26431
26593
  }
@@ -26446,12 +26608,12 @@ export declare namespace MittwaldAPIV2 {
26446
26608
  }
26447
26609
  }
26448
26610
  }
26449
- namespace V2UsersSelfCredentialsInitMfa {
26450
- namespace Post {
26611
+ namespace V2UsersUserIdSettings {
26612
+ namespace Get {
26451
26613
  namespace Parameters {
26452
- type Path = {};
26453
- interface RequestBody {
26454
- }
26614
+ type Path = {
26615
+ userId: string;
26616
+ };
26455
26617
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26456
26618
  type Query = {};
26457
26619
  }
@@ -26459,25 +26621,10 @@ export declare namespace MittwaldAPIV2 {
26459
26621
  namespace $200 {
26460
26622
  namespace Content {
26461
26623
  interface ApplicationJson {
26462
- /**
26463
- * base64 encoded barcode content to scan from your mfa app. e.g. `iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAAAAADYoy...`. You
26464
- * can display it with `<img src="data:image/png;base64,iVBORw0KGgoAAAANSUh.." />`
26465
- *
26466
- */
26467
- barcode: string;
26468
- /**
26469
- * Same as barcode, but in URL form.
26470
- *
26471
- */
26472
- url: string;
26624
+ settingsString?: string;
26473
26625
  }
26474
26626
  }
26475
26627
  }
26476
- namespace $400 {
26477
- namespace Content {
26478
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26479
- }
26480
- }
26481
26628
  namespace $429 {
26482
26629
  namespace Content {
26483
26630
  interface ApplicationJson {
@@ -26494,30 +26641,28 @@ export declare namespace MittwaldAPIV2 {
26494
26641
  }
26495
26642
  }
26496
26643
  }
26497
- }
26498
- namespace V2UsersSelfCredentialsActionsInitPasswordReset {
26499
- namespace Post {
26644
+ namespace Put {
26500
26645
  namespace Parameters {
26501
- type Path = {};
26646
+ type Path = {
26647
+ userId: string;
26648
+ };
26502
26649
  interface RequestBody {
26503
- /**
26504
- * Email address to reset the password for.
26505
- */
26506
- email: string;
26650
+ settingsString: string;
26507
26651
  }
26508
- type Header = {};
26652
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26509
26653
  type Query = {};
26510
26654
  }
26511
26655
  namespace Responses {
26512
- namespace $201 {
26656
+ namespace $204 {
26513
26657
  namespace Content {
26514
- interface ApplicationJson {
26515
- }
26658
+ type Empty = unknown;
26516
26659
  }
26517
26660
  }
26518
26661
  namespace $400 {
26519
26662
  namespace Content {
26520
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26663
+ interface ApplicationJson {
26664
+ [k: string]: unknown;
26665
+ }
26521
26666
  }
26522
26667
  }
26523
26668
  namespace $429 {
@@ -26537,57 +26682,35 @@ export declare namespace MittwaldAPIV2 {
26537
26682
  }
26538
26683
  }
26539
26684
  }
26540
- namespace V2UsersUserIdFeedback {
26685
+ namespace V2PollSettingsUserId {
26541
26686
  namespace Get {
26542
26687
  namespace Parameters {
26543
26688
  type Path = {
26544
26689
  userId: string;
26545
26690
  };
26546
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26547
- type Query = {
26548
- subject?: string;
26549
- };
26691
+ type Header = {};
26692
+ type Query = {};
26550
26693
  }
26551
26694
  namespace Responses {
26552
26695
  namespace $200 {
26553
26696
  namespace Content {
26554
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUserFeedback[];
26697
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26555
26698
  }
26556
26699
  }
26557
- namespace $429 {
26700
+ namespace $400 {
26558
26701
  namespace Content {
26559
26702
  interface ApplicationJson {
26560
26703
  [k: string]: unknown;
26561
26704
  }
26562
26705
  }
26563
26706
  }
26564
- namespace Default {
26707
+ namespace $404 {
26565
26708
  namespace Content {
26566
26709
  interface ApplicationJson {
26567
26710
  [k: string]: unknown;
26568
26711
  }
26569
26712
  }
26570
26713
  }
26571
- }
26572
- }
26573
- }
26574
- namespace V2UsersSelfSessions {
26575
- namespace Get {
26576
- namespace Parameters {
26577
- type Path = {};
26578
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26579
- type Query = {
26580
- limit?: number;
26581
- skip?: number;
26582
- page?: number;
26583
- };
26584
- }
26585
- namespace Responses {
26586
- namespace $200 {
26587
- namespace Content {
26588
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession[];
26589
- }
26590
- }
26591
26714
  namespace $429 {
26592
26715
  namespace Content {
26593
26716
  interface ApplicationJson {
@@ -26604,32 +26727,22 @@ export declare namespace MittwaldAPIV2 {
26604
26727
  }
26605
26728
  }
26606
26729
  }
26607
- namespace Put {
26730
+ namespace Post {
26608
26731
  namespace Parameters {
26609
- type Path = {};
26732
+ type Path = {
26733
+ userId: string;
26734
+ };
26610
26735
  interface RequestBody {
26611
- refreshToken: string;
26736
+ status: "completed" | "muted" | "ignored";
26737
+ userId: string;
26612
26738
  }
26613
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26739
+ type Header = {};
26614
26740
  type Query = {};
26615
26741
  }
26616
26742
  namespace Responses {
26617
26743
  namespace $200 {
26618
26744
  namespace Content {
26619
- interface ApplicationJson {
26620
- /**
26621
- * The expiration date of the token.
26622
- */
26623
- expiresAt: string;
26624
- /**
26625
- * Refresh token to refresh your access token even after it has expired.
26626
- */
26627
- refreshToken: string;
26628
- /**
26629
- * Public token to identify yourself against the public api.
26630
- */
26631
- token: string;
26632
- }
26745
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
26633
26746
  }
26634
26747
  }
26635
26748
  namespace $400 {
@@ -26639,34 +26752,13 @@ export declare namespace MittwaldAPIV2 {
26639
26752
  }
26640
26753
  }
26641
26754
  }
26642
- namespace $429 {
26643
- namespace Content {
26644
- interface ApplicationJson {
26645
- [k: string]: unknown;
26646
- }
26647
- }
26648
- }
26649
- namespace Default {
26755
+ namespace $403 {
26650
26756
  namespace Content {
26651
26757
  interface ApplicationJson {
26652
26758
  [k: string]: unknown;
26653
26759
  }
26654
26760
  }
26655
26761
  }
26656
- }
26657
- }
26658
- namespace Delete {
26659
- namespace Parameters {
26660
- type Path = {};
26661
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26662
- type Query = {};
26663
- }
26664
- namespace Responses {
26665
- namespace $204 {
26666
- namespace Content {
26667
- type Empty = unknown;
26668
- }
26669
- }
26670
26762
  namespace $429 {
26671
26763
  namespace Content {
26672
26764
  interface ApplicationJson {
@@ -26684,24 +26776,26 @@ export declare namespace MittwaldAPIV2 {
26684
26776
  }
26685
26777
  }
26686
26778
  }
26687
- namespace V2Logout {
26688
- namespace Put {
26779
+ namespace V2UsersSelfSessionsTokenId {
26780
+ namespace Get {
26689
26781
  namespace Parameters {
26690
- type Path = {};
26691
- interface RequestBody {
26692
- }
26782
+ type Path = {
26783
+ tokenId: string;
26784
+ };
26693
26785
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26694
26786
  type Query = {};
26695
26787
  }
26696
26788
  namespace Responses {
26697
- namespace $204 {
26789
+ namespace $200 {
26698
26790
  namespace Content {
26699
- type Empty = unknown;
26791
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession;
26700
26792
  }
26701
26793
  }
26702
- namespace $400 {
26794
+ namespace $404 {
26703
26795
  namespace Content {
26704
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26796
+ interface ApplicationJson {
26797
+ [k: string]: unknown;
26798
+ }
26705
26799
  }
26706
26800
  }
26707
26801
  namespace $429 {
@@ -26720,35 +26814,24 @@ export declare namespace MittwaldAPIV2 {
26720
26814
  }
26721
26815
  }
26722
26816
  }
26723
- }
26724
- namespace V2Oauth2Authorize {
26725
- namespace Get {
26817
+ namespace Delete {
26726
26818
  namespace Parameters {
26727
- type Path = {};
26728
- type Header = {};
26729
- type Query = {
26730
- grant_consent?: boolean;
26731
- grant_type?: "authorization_code";
26732
- response_type: "code";
26733
- client_id: string;
26734
- redirect_uri?: string;
26735
- scope?: string;
26736
- state?: string;
26737
- code_challenge?: string;
26738
- code_challenge_method?: "S256";
26819
+ type Path = {
26820
+ tokenId: string;
26739
26821
  };
26822
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26823
+ type Query = {};
26740
26824
  }
26741
26825
  namespace Responses {
26742
- namespace $302 {
26826
+ namespace $204 {
26743
26827
  namespace Content {
26744
26828
  type Empty = unknown;
26745
26829
  }
26746
26830
  }
26747
- namespace $400 {
26831
+ namespace $404 {
26748
26832
  namespace Content {
26749
26833
  interface ApplicationJson {
26750
- error: "invalid_request";
26751
- error_description?: string;
26834
+ [k: string]: unknown;
26752
26835
  }
26753
26836
  }
26754
26837
  }
@@ -26769,64 +26852,36 @@ export declare namespace MittwaldAPIV2 {
26769
26852
  }
26770
26853
  }
26771
26854
  }
26772
- namespace V2Oauth2Token {
26773
- namespace Post {
26855
+ namespace V2UsersUserId {
26856
+ namespace Get {
26774
26857
  namespace Parameters {
26775
- type Path = {};
26776
- interface RequestBody {
26777
- [k: string]: unknown;
26778
- }
26779
- type Header = {
26780
- Authorization?: string;
26858
+ type Path = {
26859
+ userId: string;
26781
26860
  };
26861
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26782
26862
  type Query = {};
26783
26863
  }
26784
26864
  namespace Responses {
26785
26865
  namespace $200 {
26866
+ namespace Content {
26867
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUser;
26868
+ }
26869
+ }
26870
+ namespace $403 {
26786
26871
  namespace Content {
26787
26872
  interface ApplicationJson {
26788
- /**
26789
- * The access token issued by the authorization server.
26790
- *
26791
- */
26792
- access_token: string;
26793
- /**
26794
- * The lifetime in seconds of the access token. For
26795
- * example, the value "3600" denotes that the access
26796
- * token will expire in one hour from the time the
26797
- * response was generated.
26798
- *
26799
- */
26800
- expires_in: number;
26801
- /**
26802
- * The refresh token issued by the authorization server.
26803
- *
26804
- */
26805
- refresh_token: string;
26806
- /**
26807
- * The scope of the access token as described by
26808
- * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-3.3).
26809
- *
26810
- */
26811
- scope?: string;
26812
- /**
26813
- * The type of the token issued as described in
26814
- * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-7.1).
26815
- *
26816
- */
26817
- token_type: "bearer";
26873
+ [k: string]: unknown;
26818
26874
  }
26819
26875
  }
26820
26876
  }
26821
- namespace $400 {
26877
+ namespace $404 {
26822
26878
  namespace Content {
26823
26879
  interface ApplicationJson {
26824
- error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
26825
- error_description?: string;
26880
+ [k: string]: unknown;
26826
26881
  }
26827
26882
  }
26828
26883
  }
26829
- namespace $429 {
26884
+ namespace $412 {
26830
26885
  namespace Content {
26831
26886
  interface ApplicationJson {
26832
26887
  [k: string]: unknown;
@@ -26842,37 +26897,28 @@ export declare namespace MittwaldAPIV2 {
26842
26897
  }
26843
26898
  }
26844
26899
  }
26845
- }
26846
- namespace V2SignupRegistration { }
26847
- namespace V2Register {
26848
- namespace Post {
26900
+ namespace Put {
26849
26901
  namespace Parameters {
26850
- type Path = {};
26902
+ type Path = {
26903
+ userId: string;
26904
+ };
26851
26905
  interface RequestBody {
26852
- /**
26853
- * The users email address
26854
- */
26855
- email: string;
26856
- /**
26857
- * The users password.
26858
- */
26859
- password: string;
26860
26906
  person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
26861
26907
  }
26862
- type Header = {};
26908
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26863
26909
  type Query = {};
26864
26910
  }
26865
26911
  namespace Responses {
26866
- namespace $201 {
26912
+ namespace $204 {
26867
26913
  namespace Content {
26868
- interface ApplicationJson {
26869
- userId: string;
26870
- }
26914
+ type Empty = unknown;
26871
26915
  }
26872
26916
  }
26873
26917
  namespace $400 {
26874
26918
  namespace Content {
26875
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26919
+ interface ApplicationJson {
26920
+ [k: string]: unknown;
26921
+ }
26876
26922
  }
26877
26923
  }
26878
26924
  namespace $429 {
@@ -26892,12 +26938,10 @@ export declare namespace MittwaldAPIV2 {
26892
26938
  }
26893
26939
  }
26894
26940
  }
26895
- namespace V2UsersUserIdAvatar {
26941
+ namespace V2UsersSelfCredentialsInitMfa {
26896
26942
  namespace Post {
26897
26943
  namespace Parameters {
26898
- type Path = {
26899
- userId: string;
26900
- };
26944
+ type Path = {};
26901
26945
  interface RequestBody {
26902
26946
  }
26903
26947
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
@@ -26908,50 +26952,22 @@ export declare namespace MittwaldAPIV2 {
26908
26952
  namespace Content {
26909
26953
  interface ApplicationJson {
26910
26954
  /**
26911
- * The `refId` to be used to upload your avatar to the /v2/files/:refId route.
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.." />`
26957
+ *
26912
26958
  */
26913
- refId: string;
26959
+ barcode: string;
26914
26960
  /**
26915
- * Contstraints for the avatar image upload.
26961
+ * Same as barcode, but in URL form.
26962
+ *
26916
26963
  */
26917
- rules: {
26918
- /**
26919
- * Maximum size in Bytes of the avatar image.
26920
- */
26921
- maxSizeInBytes: number;
26922
- /**
26923
- * @deprecated
26924
- * Deprecated. Maximum size in kilobytes of the avatar image.
26925
- */
26926
- maxSizeInKB: number;
26927
- /**
26928
- * List of supported mime types.
26929
- */
26930
- mimeTypes: string[];
26931
- properties?: {
26932
- /**
26933
- * Supported range of dimensions for the avatar image.
26934
- */
26935
- imageDimensions?: {
26936
- max?: {
26937
- height?: number;
26938
- width?: number;
26939
- };
26940
- min?: {
26941
- height?: number;
26942
- width?: number;
26943
- };
26944
- };
26945
- };
26946
- };
26964
+ url: string;
26947
26965
  }
26948
26966
  }
26949
26967
  }
26950
26968
  namespace $400 {
26951
26969
  namespace Content {
26952
- interface ApplicationJson {
26953
- [k: string]: unknown;
26954
- }
26970
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26955
26971
  }
26956
26972
  }
26957
26973
  namespace $429 {
@@ -26970,25 +26986,30 @@ export declare namespace MittwaldAPIV2 {
26970
26986
  }
26971
26987
  }
26972
26988
  }
26973
- namespace Delete {
26989
+ }
26990
+ namespace V2UsersSelfCredentialsActionsInitPasswordReset {
26991
+ namespace Post {
26974
26992
  namespace Parameters {
26975
- type Path = {
26976
- userId: string;
26977
- };
26978
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
26993
+ type Path = {};
26994
+ interface RequestBody {
26995
+ /**
26996
+ * Email address to reset the password for.
26997
+ */
26998
+ email: string;
26999
+ }
27000
+ type Header = {};
26979
27001
  type Query = {};
26980
27002
  }
26981
27003
  namespace Responses {
26982
- namespace $204 {
27004
+ namespace $201 {
26983
27005
  namespace Content {
26984
- type Empty = unknown;
27006
+ interface ApplicationJson {
27007
+ }
26985
27008
  }
26986
27009
  }
26987
27010
  namespace $400 {
26988
27011
  namespace Content {
26989
- interface ApplicationJson {
26990
- [k: string]: unknown;
26991
- }
27012
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
26992
27013
  }
26993
27014
  }
26994
27015
  namespace $429 {
@@ -27008,26 +27029,21 @@ export declare namespace MittwaldAPIV2 {
27008
27029
  }
27009
27030
  }
27010
27031
  }
27011
- namespace V2UsersSelfCredentialsEmailActionsResendEmail {
27012
- namespace Post {
27032
+ namespace V2UsersUserIdFeedback {
27033
+ namespace Get {
27013
27034
  namespace Parameters {
27014
- type Path = {};
27015
- interface RequestBody {
27016
- email: string;
27035
+ type Path = {
27017
27036
  userId: string;
27018
- }
27019
- type Header = {};
27020
- type Query = {};
27037
+ };
27038
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27039
+ type Query = {
27040
+ subject?: string;
27041
+ };
27021
27042
  }
27022
27043
  namespace Responses {
27023
- namespace $204 {
27024
- namespace Content {
27025
- type Empty = unknown;
27026
- }
27027
- }
27028
- namespace $400 {
27044
+ namespace $200 {
27029
27045
  namespace Content {
27030
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27046
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.UserUserFeedback[];
27031
27047
  }
27032
27048
  }
27033
27049
  namespace $429 {
@@ -27047,31 +27063,21 @@ export declare namespace MittwaldAPIV2 {
27047
27063
  }
27048
27064
  }
27049
27065
  }
27050
- namespace V2SignupMfaResetRecoverycodes { }
27051
- namespace V2SignupSupportcode { }
27052
- namespace V2SignupSupportcodes { }
27053
- namespace V2UsersSelfCredentialsSupportCode {
27066
+ namespace V2UsersSelfSessions {
27054
27067
  namespace Get {
27055
27068
  namespace Parameters {
27056
27069
  type Path = {};
27057
27070
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27058
27071
  type Query = {
27059
- forceRecreate?: boolean;
27072
+ limit?: number;
27073
+ skip?: number;
27074
+ page?: number;
27060
27075
  };
27061
27076
  }
27062
27077
  namespace Responses {
27063
27078
  namespace $200 {
27064
27079
  namespace Content {
27065
- interface ApplicationJson {
27066
- /**
27067
- * Expiration of the support code
27068
- */
27069
- expiresAt: string;
27070
- /**
27071
- * support code to authenticate yourself against the mittwald support via telephone
27072
- */
27073
- supportCode: string;
27074
- }
27080
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupUserSession[];
27075
27081
  }
27076
27082
  }
27077
27083
  namespace $429 {
@@ -27090,36 +27096,35 @@ export declare namespace MittwaldAPIV2 {
27090
27096
  }
27091
27097
  }
27092
27098
  }
27093
- }
27094
- namespace V2UsersSelfCredentialsEmailActionsVerifyEmail {
27095
- namespace Post {
27099
+ namespace Put {
27096
27100
  namespace Parameters {
27097
27101
  type Path = {};
27098
27102
  interface RequestBody {
27099
- /**
27100
- * The Email-Address to verify.
27101
- */
27102
- email: string;
27103
- /**
27104
- * The token found in the verification email.
27105
- */
27106
- token?: string;
27103
+ refreshToken: string;
27107
27104
  }
27108
27105
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27109
27106
  type Query = {};
27110
27107
  }
27111
27108
  namespace Responses {
27112
- namespace $204 {
27109
+ namespace $200 {
27113
27110
  namespace Content {
27114
- type Empty = unknown;
27111
+ interface ApplicationJson {
27112
+ /**
27113
+ * The expiration date of the token.
27114
+ */
27115
+ expiresAt: string;
27116
+ /**
27117
+ * Refresh token to refresh your access token even after it has expired.
27118
+ */
27119
+ refreshToken: string;
27120
+ /**
27121
+ * Public token to identify yourself against the public api.
27122
+ */
27123
+ token: string;
27124
+ }
27115
27125
  }
27116
27126
  }
27117
27127
  namespace $400 {
27118
- namespace Content {
27119
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27120
- }
27121
- }
27122
- namespace $404 {
27123
27128
  namespace Content {
27124
27129
  interface ApplicationJson {
27125
27130
  [k: string]: unknown;
@@ -27142,18 +27147,9 @@ export declare namespace MittwaldAPIV2 {
27142
27147
  }
27143
27148
  }
27144
27149
  }
27145
- }
27146
- namespace V2UsersUserIdPhoneVerify { }
27147
- namespace V2UsersUserIdActionsVerifyPhone {
27148
- namespace Post {
27150
+ namespace Delete {
27149
27151
  namespace Parameters {
27150
- type Path = {
27151
- userId: string;
27152
- };
27153
- interface RequestBody {
27154
- code: string;
27155
- phoneNumber: string;
27156
- }
27152
+ type Path = {};
27157
27153
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27158
27154
  type Query = {};
27159
27155
  }
@@ -27163,27 +27159,6 @@ export declare namespace MittwaldAPIV2 {
27163
27159
  type Empty = unknown;
27164
27160
  }
27165
27161
  }
27166
- namespace $400 {
27167
- namespace Content {
27168
- interface ApplicationJson {
27169
- [k: string]: unknown;
27170
- }
27171
- }
27172
- }
27173
- namespace $404 {
27174
- namespace Content {
27175
- interface ApplicationJson {
27176
- [k: string]: unknown;
27177
- }
27178
- }
27179
- }
27180
- namespace $409 {
27181
- namespace Content {
27182
- interface ApplicationJson {
27183
- [k: string]: unknown;
27184
- }
27185
- }
27186
- }
27187
27162
  namespace $429 {
27188
27163
  namespace Content {
27189
27164
  interface ApplicationJson {
@@ -27201,33 +27176,19 @@ export declare namespace MittwaldAPIV2 {
27201
27176
  }
27202
27177
  }
27203
27178
  }
27204
- namespace V2SignupRegistrationVerification { }
27205
- namespace V2VerifyRegistration {
27206
- namespace Post {
27179
+ namespace V2Logout {
27180
+ namespace Put {
27207
27181
  namespace Parameters {
27208
27182
  type Path = {};
27209
27183
  interface RequestBody {
27210
- /**
27211
- * The users email address.
27212
- */
27213
- email: string;
27214
- /**
27215
- * The token that was send to your email address
27216
- */
27217
- token: string;
27218
- /**
27219
- * UUID of the registered user.
27220
- */
27221
- userId: string;
27222
27184
  }
27223
- type Header = {};
27185
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27224
27186
  type Query = {};
27225
27187
  }
27226
27188
  namespace Responses {
27227
- namespace $200 {
27189
+ namespace $204 {
27228
27190
  namespace Content {
27229
- interface ApplicationJson {
27230
- }
27191
+ type Empty = unknown;
27231
27192
  }
27232
27193
  }
27233
27194
  namespace $400 {
@@ -27235,13 +27196,6 @@ export declare namespace MittwaldAPIV2 {
27235
27196
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27236
27197
  }
27237
27198
  }
27238
- namespace $404 {
27239
- namespace Content {
27240
- interface ApplicationJson {
27241
- [k: string]: unknown;
27242
- }
27243
- }
27244
- }
27245
27199
  namespace $429 {
27246
27200
  namespace Content {
27247
27201
  interface ApplicationJson {
@@ -27259,26 +27213,34 @@ export declare namespace MittwaldAPIV2 {
27259
27213
  }
27260
27214
  }
27261
27215
  }
27262
- namespace V2ActionsDetectPhishingEmail {
27263
- namespace Post {
27216
+ namespace V2Oauth2Authorize {
27217
+ namespace Get {
27264
27218
  namespace Parameters {
27265
27219
  type Path = {};
27266
- interface RequestBody {
27267
- [k: string]: unknown;
27268
- }
27269
27220
  type Header = {};
27270
- type Query = {};
27221
+ type Query = {
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";
27231
+ };
27271
27232
  }
27272
27233
  namespace Responses {
27273
- namespace $200 {
27234
+ namespace $302 {
27274
27235
  namespace Content {
27275
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.VerificationEmailDetectPhishingMailResponse;
27236
+ type Empty = unknown;
27276
27237
  }
27277
27238
  }
27278
27239
  namespace $400 {
27279
27240
  namespace Content {
27280
27241
  interface ApplicationJson {
27281
- [k: string]: unknown;
27242
+ error: "invalid_request";
27243
+ error_description?: string;
27282
27244
  }
27283
27245
  }
27284
27246
  }
@@ -27299,43 +27261,68 @@ export declare namespace MittwaldAPIV2 {
27299
27261
  }
27300
27262
  }
27301
27263
  }
27302
- namespace V2ActionsVerifyAddress {
27264
+ namespace V2Oauth2Token {
27303
27265
  namespace Post {
27304
27266
  namespace Parameters {
27305
27267
  type Path = {};
27306
27268
  interface RequestBody {
27307
- city: string;
27308
- /**
27309
- * Accepts the whole english or german name as well as the ISO 3166-2 country codes.
27310
- */
27311
- country: string;
27312
- /**
27313
- * Includes the house number.
27314
- */
27315
- street: string;
27316
- zip: string;
27269
+ [k: string]: unknown;
27317
27270
  }
27318
- type Header = {};
27271
+ type Header = {
27272
+ Authorization?: string;
27273
+ };
27319
27274
  type Query = {};
27320
27275
  }
27321
27276
  namespace Responses {
27322
27277
  namespace $200 {
27323
27278
  namespace Content {
27324
27279
  interface ApplicationJson {
27325
- exists: boolean;
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";
27326
27310
  }
27327
27311
  }
27328
27312
  }
27329
- namespace $429 {
27313
+ namespace $400 {
27330
27314
  namespace Content {
27331
27315
  interface ApplicationJson {
27332
- [k: string]: unknown;
27316
+ error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
27317
+ error_description?: string;
27333
27318
  }
27334
27319
  }
27335
27320
  }
27336
- namespace $500 {
27321
+ namespace $429 {
27337
27322
  namespace Content {
27338
- type Empty = unknown;
27323
+ interface ApplicationJson {
27324
+ [k: string]: unknown;
27325
+ }
27339
27326
  }
27340
27327
  }
27341
27328
  namespace Default {
@@ -27348,27 +27335,36 @@ export declare namespace MittwaldAPIV2 {
27348
27335
  }
27349
27336
  }
27350
27337
  }
27351
- namespace V2ActionsVerifyCompany {
27338
+ namespace V2SignupRegistration { }
27339
+ namespace V2Register {
27352
27340
  namespace Post {
27353
27341
  namespace Parameters {
27354
27342
  type Path = {};
27355
27343
  interface RequestBody {
27356
- name: string;
27344
+ /**
27345
+ * The users email address
27346
+ */
27347
+ email: string;
27348
+ /**
27349
+ * The users password.
27350
+ */
27351
+ password: string;
27352
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
27357
27353
  }
27358
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27354
+ type Header = {};
27359
27355
  type Query = {};
27360
27356
  }
27361
27357
  namespace Responses {
27362
- namespace $200 {
27358
+ namespace $201 {
27363
27359
  namespace Content {
27364
27360
  interface ApplicationJson {
27365
- exists: boolean;
27361
+ userId: string;
27366
27362
  }
27367
27363
  }
27368
27364
  }
27369
- namespace $412 {
27365
+ namespace $400 {
27370
27366
  namespace Content {
27371
- type Empty = unknown;
27367
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27372
27368
  }
27373
27369
  }
27374
27370
  namespace $429 {
@@ -27378,11 +27374,6 @@ export declare namespace MittwaldAPIV2 {
27378
27374
  }
27379
27375
  }
27380
27376
  }
27381
- namespace $500 {
27382
- namespace Content {
27383
- type Empty = unknown;
27384
- }
27385
- }
27386
27377
  namespace Default {
27387
27378
  namespace Content {
27388
27379
  interface ApplicationJson {
@@ -27393,15 +27384,13 @@ export declare namespace MittwaldAPIV2 {
27393
27384
  }
27394
27385
  }
27395
27386
  }
27396
- namespace V2CertificatesCertificateIdActionsCheckReplaceCertificate {
27387
+ namespace V2UsersUserIdAvatar {
27397
27388
  namespace Post {
27398
27389
  namespace Parameters {
27399
27390
  type Path = {
27400
- certificateId: string;
27391
+ userId: string;
27401
27392
  };
27402
27393
  interface RequestBody {
27403
- certificate: string;
27404
- privateKey?: string;
27405
27394
  }
27406
27395
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27407
27396
  type Query = {};
@@ -27409,10 +27398,48 @@ export declare namespace MittwaldAPIV2 {
27409
27398
  namespace Responses {
27410
27399
  namespace $200 {
27411
27400
  namespace Content {
27412
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCheckReplaceCertificateResponse;
27401
+ interface ApplicationJson {
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
+ };
27439
+ }
27413
27440
  }
27414
27441
  }
27415
- namespace $404 {
27442
+ namespace $400 {
27416
27443
  namespace Content {
27417
27444
  interface ApplicationJson {
27418
27445
  [k: string]: unknown;
@@ -27435,23 +27462,21 @@ export declare namespace MittwaldAPIV2 {
27435
27462
  }
27436
27463
  }
27437
27464
  }
27438
- }
27439
- namespace V2CertificatesCertificateId {
27440
- namespace Get {
27465
+ namespace Delete {
27441
27466
  namespace Parameters {
27442
27467
  type Path = {
27443
- certificateId: string;
27468
+ userId: string;
27444
27469
  };
27445
27470
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27446
27471
  type Query = {};
27447
27472
  }
27448
27473
  namespace Responses {
27449
- namespace $200 {
27474
+ namespace $204 {
27450
27475
  namespace Content {
27451
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate;
27476
+ type Empty = unknown;
27452
27477
  }
27453
27478
  }
27454
- namespace $404 {
27479
+ namespace $400 {
27455
27480
  namespace Content {
27456
27481
  interface ApplicationJson {
27457
27482
  [k: string]: unknown;
@@ -27474,16 +27499,16 @@ export declare namespace MittwaldAPIV2 {
27474
27499
  }
27475
27500
  }
27476
27501
  }
27477
- namespace Put {
27502
+ }
27503
+ namespace V2UsersSelfCredentialsEmailActionsResendEmail {
27504
+ namespace Post {
27478
27505
  namespace Parameters {
27479
- type Path = {
27480
- certificateId: string;
27481
- };
27506
+ type Path = {};
27482
27507
  interface RequestBody {
27483
- certificate: string;
27484
- privateKey?: string;
27508
+ email: string;
27509
+ userId: string;
27485
27510
  }
27486
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27511
+ type Header = {};
27487
27512
  type Query = {};
27488
27513
  }
27489
27514
  namespace Responses {
@@ -27494,16 +27519,7 @@ export declare namespace MittwaldAPIV2 {
27494
27519
  }
27495
27520
  namespace $400 {
27496
27521
  namespace Content {
27497
- interface ApplicationJson {
27498
- [k: string]: unknown;
27499
- }
27500
- }
27501
- }
27502
- namespace $404 {
27503
- namespace Content {
27504
- interface ApplicationJson {
27505
- [k: string]: unknown;
27506
- }
27522
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27507
27523
  }
27508
27524
  }
27509
27525
  namespace $429 {
@@ -27523,26 +27539,30 @@ export declare namespace MittwaldAPIV2 {
27523
27539
  }
27524
27540
  }
27525
27541
  }
27526
- namespace V2CertificateRequests {
27542
+ namespace V2SignupMfaResetRecoverycodes { }
27543
+ namespace V2SignupSupportcode { }
27544
+ namespace V2SignupSupportcodes { }
27545
+ namespace V2UsersSelfCredentialsSupportCode {
27527
27546
  namespace Get {
27528
27547
  namespace Parameters {
27529
27548
  type Path = {};
27530
27549
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27531
27550
  type Query = {
27532
- projectId?: string;
27533
- ingressId?: string;
27551
+ forceRecreate?: boolean;
27534
27552
  };
27535
27553
  }
27536
27554
  namespace Responses {
27537
27555
  namespace $200 {
27538
- namespace Content {
27539
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest[];
27540
- }
27541
- }
27542
- namespace $404 {
27543
27556
  namespace Content {
27544
27557
  interface ApplicationJson {
27545
- [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;
27546
27566
  }
27547
27567
  }
27548
27568
  }
@@ -27562,24 +27582,33 @@ export declare namespace MittwaldAPIV2 {
27562
27582
  }
27563
27583
  }
27564
27584
  }
27585
+ }
27586
+ namespace V2UsersSelfCredentialsEmailActionsVerifyEmail {
27565
27587
  namespace Post {
27566
27588
  namespace Parameters {
27567
27589
  type Path = {};
27568
- type RequestBody = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateRequest | MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateWithCSRRequest;
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
+ }
27569
27600
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27570
27601
  type Query = {};
27571
27602
  }
27572
27603
  namespace Responses {
27573
- namespace $201 {
27604
+ namespace $204 {
27574
27605
  namespace Content {
27575
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequestCreateResponse;
27606
+ type Empty = unknown;
27576
27607
  }
27577
27608
  }
27578
27609
  namespace $400 {
27579
27610
  namespace Content {
27580
- interface ApplicationJson {
27581
- [k: string]: unknown;
27582
- }
27611
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27583
27612
  }
27584
27613
  }
27585
27614
  namespace $404 {
@@ -27606,62 +27635,41 @@ export declare namespace MittwaldAPIV2 {
27606
27635
  }
27607
27636
  }
27608
27637
  }
27609
- namespace V2CertificateRequestsCertificateRequestId {
27610
- namespace Get {
27638
+ namespace V2UsersUserIdPhoneVerify { }
27639
+ namespace V2UsersUserIdActionsVerifyPhone {
27640
+ namespace Post {
27611
27641
  namespace Parameters {
27612
27642
  type Path = {
27613
- certificateRequestId: string;
27643
+ userId: string;
27614
27644
  };
27645
+ interface RequestBody {
27646
+ code: string;
27647
+ phoneNumber: string;
27648
+ }
27615
27649
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27616
27650
  type Query = {};
27617
27651
  }
27618
27652
  namespace Responses {
27619
- namespace $200 {
27620
- namespace Content {
27621
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificateRequest;
27622
- }
27623
- }
27624
- namespace $404 {
27653
+ namespace $204 {
27625
27654
  namespace Content {
27626
- interface ApplicationJson {
27627
- [k: string]: unknown;
27628
- }
27655
+ type Empty = unknown;
27629
27656
  }
27630
27657
  }
27631
- namespace $429 {
27658
+ namespace $400 {
27632
27659
  namespace Content {
27633
27660
  interface ApplicationJson {
27634
27661
  [k: string]: unknown;
27635
27662
  }
27636
27663
  }
27637
27664
  }
27638
- namespace Default {
27665
+ namespace $404 {
27639
27666
  namespace Content {
27640
27667
  interface ApplicationJson {
27641
27668
  [k: string]: unknown;
27642
27669
  }
27643
27670
  }
27644
27671
  }
27645
- }
27646
- }
27647
- }
27648
- namespace V2Certificates {
27649
- namespace Get {
27650
- namespace Parameters {
27651
- type Path = {};
27652
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27653
- type Query = {
27654
- projectId?: string;
27655
- ingressId?: string;
27656
- };
27657
- }
27658
- namespace Responses {
27659
- namespace $200 {
27660
- namespace Content {
27661
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SslCertificate[];
27662
- }
27663
- }
27664
- namespace $404 {
27672
+ namespace $409 {
27665
27673
  namespace Content {
27666
27674
  interface ApplicationJson {
27667
27675
  [k: string]: unknown;
@@ -27685,19 +27693,38 @@ export declare namespace MittwaldAPIV2 {
27685
27693
  }
27686
27694
  }
27687
27695
  }
27688
- namespace V2CertificateRequestCertificateRequestId {
27689
- namespace Delete {
27696
+ namespace V2SignupRegistrationVerification { }
27697
+ namespace V2VerifyRegistration {
27698
+ namespace Post {
27690
27699
  namespace Parameters {
27691
- type Path = {
27692
- certificateRequestId: string;
27693
- };
27694
- 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 = {};
27695
27716
  type Query = {};
27696
27717
  }
27697
27718
  namespace Responses {
27698
- namespace $204 {
27719
+ namespace $200 {
27699
27720
  namespace Content {
27700
- type Empty = unknown;
27721
+ interface ApplicationJson {
27722
+ }
27723
+ }
27724
+ }
27725
+ namespace $400 {
27726
+ namespace Content {
27727
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
27701
27728
  }
27702
27729
  }
27703
27730
  namespace $404 {
@@ -27724,22 +27751,23 @@ export declare namespace MittwaldAPIV2 {
27724
27751
  }
27725
27752
  }
27726
27753
  }
27727
- namespace V2CertificateCertificateId {
27728
- namespace Delete {
27754
+ namespace V2ActionsDetectPhishingEmail {
27755
+ namespace Post {
27729
27756
  namespace Parameters {
27730
- type Path = {
27731
- certificateId: string;
27732
- };
27733
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27757
+ type Path = {};
27758
+ interface RequestBody {
27759
+ [k: string]: unknown;
27760
+ }
27761
+ type Header = {};
27734
27762
  type Query = {};
27735
27763
  }
27736
27764
  namespace Responses {
27737
- namespace $204 {
27765
+ namespace $200 {
27738
27766
  namespace Content {
27739
- type Empty = unknown;
27767
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.VerificationEmailDetectPhishingMailResponse;
27740
27768
  }
27741
27769
  }
27742
- namespace $404 {
27770
+ namespace $400 {
27743
27771
  namespace Content {
27744
27772
  interface ApplicationJson {
27745
27773
  [k: string]: unknown;
@@ -27763,25 +27791,30 @@ export declare namespace MittwaldAPIV2 {
27763
27791
  }
27764
27792
  }
27765
27793
  }
27766
- namespace InternalV2ContributorsContributorIdActionsReject {
27794
+ namespace V2ActionsVerifyAddress {
27767
27795
  namespace Post {
27768
27796
  namespace Parameters {
27769
- type Path = {
27770
- contributorId: string;
27771
- };
27772
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27797
+ type Path = {};
27798
+ interface RequestBody {
27799
+ city: string;
27800
+ /**
27801
+ * Accepts the whole english or german name as well as the ISO 3166-2 country codes.
27802
+ */
27803
+ country: string;
27804
+ /**
27805
+ * Includes the house number.
27806
+ */
27807
+ street: string;
27808
+ zip: string;
27809
+ }
27810
+ type Header = {};
27773
27811
  type Query = {};
27774
27812
  }
27775
27813
  namespace Responses {
27776
- namespace $201 {
27777
- namespace Content {
27778
- type Empty = unknown;
27779
- }
27780
- }
27781
- namespace $400 {
27814
+ namespace $200 {
27782
27815
  namespace Content {
27783
27816
  interface ApplicationJson {
27784
- [k: string]: unknown;
27817
+ exists: boolean;
27785
27818
  }
27786
27819
  }
27787
27820
  }
@@ -27792,6 +27825,11 @@ export declare namespace MittwaldAPIV2 {
27792
27825
  }
27793
27826
  }
27794
27827
  }
27828
+ namespace $500 {
27829
+ namespace Content {
27830
+ type Empty = unknown;
27831
+ }
27832
+ }
27795
27833
  namespace Default {
27796
27834
  namespace Content {
27797
27835
  interface ApplicationJson {
@@ -27802,26 +27840,27 @@ export declare namespace MittwaldAPIV2 {
27802
27840
  }
27803
27841
  }
27804
27842
  }
27805
- namespace InternalV2ContributorsContributorIdActionsVerify {
27843
+ namespace V2ActionsVerifyCompany {
27806
27844
  namespace Post {
27807
27845
  namespace Parameters {
27808
- type Path = {
27809
- contributorId: string;
27810
- };
27846
+ type Path = {};
27847
+ interface RequestBody {
27848
+ name: string;
27849
+ }
27811
27850
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
27812
27851
  type Query = {};
27813
27852
  }
27814
27853
  namespace Responses {
27815
- namespace $201 {
27854
+ namespace $200 {
27816
27855
  namespace Content {
27817
- type Empty = unknown;
27856
+ interface ApplicationJson {
27857
+ exists: boolean;
27858
+ }
27818
27859
  }
27819
27860
  }
27820
- namespace $400 {
27861
+ namespace $412 {
27821
27862
  namespace Content {
27822
- interface ApplicationJson {
27823
- [k: string]: unknown;
27824
- }
27863
+ type Empty = unknown;
27825
27864
  }
27826
27865
  }
27827
27866
  namespace $429 {
@@ -27831,6 +27870,11 @@ export declare namespace MittwaldAPIV2 {
27831
27870
  }
27832
27871
  }
27833
27872
  }
27873
+ namespace $500 {
27874
+ namespace Content {
27875
+ type Empty = unknown;
27876
+ }
27877
+ }
27834
27878
  namespace Default {
27835
27879
  namespace Content {
27836
27880
  interface ApplicationJson {