@mittwald/api-client 2.0.1 → 2.0.3

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.
@@ -577,6 +577,26 @@ export declare module MittwaldAPIV2 {
577
577
  vatId?: string;
578
578
  vatIdValidationState?: "valid" | "invalid" | "pending" | "unspecified";
579
579
  }
580
+ interface DatabaseCreateMySqlDatabase {
581
+ characterSettings?: MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
582
+ description: string;
583
+ projectId: string;
584
+ version: string;
585
+ }
586
+ interface DatabaseCreateMySqlUser {
587
+ accessIpMask?: string;
588
+ accessLevel: "full" | "readonly";
589
+ databaseId: string;
590
+ description: string;
591
+ externalAccess?: boolean;
592
+ password: string;
593
+ }
594
+ interface DatabaseCreateMySqlUserWithDatabase {
595
+ accessIpMask?: string;
596
+ accessLevel: "full" | "readonly";
597
+ externalAccess?: boolean;
598
+ password: string;
599
+ }
580
600
  interface DatabaseMySqlCharacterSettings {
581
601
  collations: string[];
582
602
  name: string;
@@ -587,18 +607,18 @@ export declare module MittwaldAPIV2 {
587
607
  collation: string;
588
608
  }
589
609
  interface DatabaseMySqlDatabase {
590
- characterSettings?: MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
591
- createdAt?: string;
592
- description?: string;
610
+ characterSettings: MittwaldAPIV2.Components.Schemas.DatabaseCharacterSettings;
611
+ createdAt: string;
612
+ description: string;
593
613
  finalizers?: string[];
594
- hostname?: string;
614
+ hostname: string;
595
615
  id: string;
596
616
  isReady: boolean;
597
617
  isShared: boolean;
598
- name?: string;
618
+ name: string;
599
619
  projectId: string;
600
- size?: number;
601
- updatedAt?: string;
620
+ size: number;
621
+ updatedAt: string;
602
622
  version: string;
603
623
  }
604
624
  interface DatabasePhpMyAdminURL {
@@ -607,17 +627,16 @@ export declare module MittwaldAPIV2 {
607
627
  interface DatabaseMySqlUser {
608
628
  accessIpMask?: string;
609
629
  accessLevel: "full" | "readonly";
610
- createdAt?: string;
630
+ createdAt: string;
611
631
  databaseId: string;
612
632
  description?: string;
613
- disabled?: boolean;
614
- externalAccess?: boolean;
633
+ disabled: boolean;
634
+ externalAccess: boolean;
615
635
  id: string;
616
- mainUser?: boolean;
617
- name?: string;
618
- password: string;
619
- passwordUpdatedAt?: string;
620
- updatedAt?: string;
636
+ mainUser: boolean;
637
+ name: string;
638
+ passwordUpdatedAt: string;
639
+ updatedAt: string;
621
640
  }
622
641
  interface DatabaseMySqlVersion {
623
642
  disabled: boolean;
@@ -1439,6 +1458,7 @@ export declare module MittwaldAPIV2 {
1439
1458
  type ProjectProjectReadinessStatus = "creating" | "ready" | "unready";
1440
1459
  type ProjectServerDisableReason = "nonPayment";
1441
1460
  interface ProjectServer {
1461
+ createdAt: string;
1442
1462
  customerId: string;
1443
1463
  description: string;
1444
1464
  disabledReason?: MittwaldAPIV2.Components.Schemas.ProjectServerDisableReason;
@@ -1531,6 +1551,19 @@ export declare module MittwaldAPIV2 {
1531
1551
  updatedAt?: string;
1532
1552
  userName: string;
1533
1553
  }
1554
+ interface SignupAccount {
1555
+ email?: string;
1556
+ /**
1557
+ * The users mfa details.
1558
+ */
1559
+ mfaDetails?: {
1560
+ mfaConfirmed?: boolean;
1561
+ mfaInitialized?: boolean;
1562
+ };
1563
+ passwordUpdatedAt?: string;
1564
+ person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
1565
+ userId?: string;
1566
+ }
1534
1567
  interface SignupApiToken {
1535
1568
  apiTokenId: string;
1536
1569
  createdAt: string;
@@ -5524,17 +5557,18 @@ export declare module MittwaldAPIV2 {
5524
5557
  projectId: string;
5525
5558
  };
5526
5559
  interface RequestBody {
5527
- database: MittwaldAPIV2.Components.Schemas.DatabaseMySqlDatabase;
5528
- user?: MittwaldAPIV2.Components.Schemas.DatabaseMySqlUser;
5560
+ database: MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlDatabase;
5561
+ user: MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUserWithDatabase;
5529
5562
  }
5530
5563
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
5531
5564
  type Query = {};
5532
5565
  }
5533
5566
  namespace Responses {
5534
- namespace $202 {
5567
+ namespace $201 {
5535
5568
  namespace Content {
5536
5569
  interface ApplicationJson {
5537
5570
  id: string;
5571
+ userId: string;
5538
5572
  }
5539
5573
  }
5540
5574
  }
@@ -5605,7 +5639,7 @@ export declare module MittwaldAPIV2 {
5605
5639
  type Path = {
5606
5640
  databaseId: string;
5607
5641
  };
5608
- type RequestBody = MittwaldAPIV2.Components.Schemas.DatabaseMySqlUser;
5642
+ type RequestBody = MittwaldAPIV2.Components.Schemas.DatabaseCreateMySqlUser;
5609
5643
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
5610
5644
  type Query = {};
5611
5645
  }
@@ -5685,7 +5719,7 @@ export declare module MittwaldAPIV2 {
5685
5719
  projectId: string;
5686
5720
  };
5687
5721
  interface RequestBody {
5688
- configuration: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
5722
+ configuration?: MittwaldAPIV2.Components.Schemas.DatabaseRedisDatabaseConfiguration;
5689
5723
  /**
5690
5724
  * A description for the database.
5691
5725
  */
@@ -6471,6 +6505,11 @@ export declare module MittwaldAPIV2 {
6471
6505
  namespace V2ServersServerIdContracts { }
6472
6506
  namespace V2NewsletterSubscriptionsEmail { }
6473
6507
  namespace V2NewsletterSubscriptions { }
6508
+ namespace V2SignupEmail { }
6509
+ namespace V2SignupTokenApiApiTokenId { }
6510
+ namespace V2SignupSshSshKeyId { }
6511
+ namespace V2SignupLogout { }
6512
+ namespace V2SignupEmailResend { }
6474
6513
  namespace V2UserUserIdAvatar { }
6475
6514
  namespace V2UserFeedback { }
6476
6515
  namespace V2UserIssues { }
@@ -6479,6 +6518,9 @@ export declare module MittwaldAPIV2 {
6479
6518
  namespace V2UserUserIdPhone { }
6480
6519
  namespace V2UserUserIdPhoneVerify { }
6481
6520
  namespace V2User { }
6521
+ namespace V2SignupSessions { }
6522
+ namespace V2SignupSessionsTokenId { }
6523
+ namespace V2SignupEmailVerify { }
6482
6524
  namespace V2DnsZonesZoneIdRecordsetAcombinedCustom {
6483
6525
  namespace Put {
6484
6526
  namespace Parameters {
@@ -11151,19 +11193,24 @@ export declare module MittwaldAPIV2 {
11151
11193
  }
11152
11194
  }
11153
11195
  }
11154
- namespace V2SignupAuthentication {
11196
+ namespace V2SignupAuthenticationMfa { }
11197
+ namespace V2AuthenticateMfa {
11155
11198
  namespace Post {
11156
11199
  namespace Parameters {
11157
11200
  type Path = {};
11158
11201
  interface RequestBody {
11159
11202
  /**
11160
- * The users Email-Address
11203
+ * The email of the user.
11161
11204
  */
11162
- email: string;
11205
+ email?: string;
11163
11206
  /**
11164
- * Password of the User
11207
+ * The second factor - otp code or recovery code.
11165
11208
  */
11166
- password: string;
11209
+ multiFactorCode: string;
11210
+ /**
11211
+ * The password of the user.
11212
+ */
11213
+ password?: string;
11167
11214
  }
11168
11215
  type Header = {};
11169
11216
  type Query = {};
@@ -11183,21 +11230,16 @@ export declare module MittwaldAPIV2 {
11183
11230
  }
11184
11231
  }
11185
11232
  }
11186
- namespace $202 {
11187
- namespace Content {
11188
- interface ApplicationJson {
11189
- name?: "SecondFactorRequired";
11190
- }
11191
- }
11192
- }
11193
11233
  namespace $400 {
11194
11234
  namespace Content {
11195
11235
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11196
11236
  }
11197
11237
  }
11198
- namespace $401 {
11238
+ namespace $408 {
11199
11239
  namespace Content {
11200
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11240
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
11241
+ name?: "FirstAuthenticationFactorExpired";
11242
+ };
11201
11243
  }
11202
11244
  }
11203
11245
  namespace Default {
@@ -11210,23 +11252,20 @@ export declare module MittwaldAPIV2 {
11210
11252
  }
11211
11253
  }
11212
11254
  }
11213
- namespace V2SignupAuthenticationMfa {
11255
+ namespace V2SignupAuthentication { }
11256
+ namespace V2Authenticate {
11214
11257
  namespace Post {
11215
11258
  namespace Parameters {
11216
11259
  type Path = {};
11217
11260
  interface RequestBody {
11218
11261
  /**
11219
- * The email of the user
11220
- */
11221
- email?: string;
11222
- /**
11223
- * The second factor - otp code or recovery code
11262
+ * The users Email-Address.
11224
11263
  */
11225
- multiFactorCode: string;
11264
+ email: string;
11226
11265
  /**
11227
- * The password of the user
11266
+ * Password of the User.
11228
11267
  */
11229
- password?: string;
11268
+ password: string;
11230
11269
  }
11231
11270
  type Header = {};
11232
11271
  type Query = {};
@@ -11246,16 +11285,21 @@ export declare module MittwaldAPIV2 {
11246
11285
  }
11247
11286
  }
11248
11287
  }
11288
+ namespace $202 {
11289
+ namespace Content {
11290
+ interface ApplicationJson {
11291
+ name?: "SecondFactorRequired";
11292
+ }
11293
+ }
11294
+ }
11249
11295
  namespace $400 {
11250
11296
  namespace Content {
11251
11297
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11252
11298
  }
11253
11299
  }
11254
- namespace $408 {
11300
+ namespace $401 {
11255
11301
  namespace Content {
11256
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
11257
- name?: "FirstAuthenticationFactorExpired";
11258
- };
11302
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11259
11303
  }
11260
11304
  }
11261
11305
  namespace Default {
@@ -11268,7 +11312,7 @@ export declare module MittwaldAPIV2 {
11268
11312
  }
11269
11313
  }
11270
11314
  }
11271
- namespace V2SignupEmail {
11315
+ namespace V2UsersSelfCredentialsEmail {
11272
11316
  namespace Get {
11273
11317
  namespace Parameters {
11274
11318
  type Path = {};
@@ -11312,7 +11356,7 @@ export declare module MittwaldAPIV2 {
11312
11356
  type Query = {};
11313
11357
  }
11314
11358
  namespace Responses {
11315
- namespace $200 {
11359
+ namespace $204 {
11316
11360
  namespace Content {
11317
11361
  type Empty = unknown;
11318
11362
  }
@@ -11332,32 +11376,8 @@ export declare module MittwaldAPIV2 {
11332
11376
  }
11333
11377
  }
11334
11378
  }
11335
- namespace V2SignupPassword {
11336
- namespace Get {
11337
- namespace Parameters {
11338
- type Path = {};
11339
- interface RequestBody {
11340
- }
11341
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11342
- type Query = {};
11343
- }
11344
- namespace Responses {
11345
- namespace $200 {
11346
- namespace Content {
11347
- interface ApplicationJson {
11348
- passwordUpdatedAt: string;
11349
- }
11350
- }
11351
- }
11352
- namespace Default {
11353
- namespace Content {
11354
- interface ApplicationJson {
11355
- [k: string]: unknown;
11356
- }
11357
- }
11358
- }
11359
- }
11360
- }
11379
+ namespace V2SignupPassword { }
11380
+ namespace V2UsersSelfCredentialsPassword {
11361
11381
  namespace Put {
11362
11382
  namespace Parameters {
11363
11383
  type Path = {};
@@ -11369,11 +11389,11 @@ export declare module MittwaldAPIV2 {
11369
11389
  */
11370
11390
  multiFactorCode?: string;
11371
11391
  /**
11372
- * The new password
11392
+ * The new password.
11373
11393
  */
11374
11394
  newPassword: string;
11375
11395
  /**
11376
- * The old password
11396
+ * The old password.
11377
11397
  */
11378
11398
  oldPassword: string;
11379
11399
  }
@@ -11385,7 +11405,7 @@ export declare module MittwaldAPIV2 {
11385
11405
  namespace Content {
11386
11406
  interface ApplicationJson {
11387
11407
  /**
11388
- * Expiration unix timestamp
11408
+ * Expiration unix timestamp.
11389
11409
  */
11390
11410
  expires: string;
11391
11411
  /**
@@ -11417,8 +11437,9 @@ export declare module MittwaldAPIV2 {
11417
11437
  }
11418
11438
  }
11419
11439
  }
11420
- namespace V2SignupProfile {
11421
- namespace Get {
11440
+ namespace V2SignupTokenCheck { }
11441
+ namespace V2UsersSelfCredentialsToken {
11442
+ namespace Post {
11422
11443
  namespace Parameters {
11423
11444
  type Path = {};
11424
11445
  interface RequestBody {
@@ -11428,39 +11449,13 @@ export declare module MittwaldAPIV2 {
11428
11449
  }
11429
11450
  namespace Responses {
11430
11451
  namespace $200 {
11431
- namespace Content {
11432
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupProfile;
11433
- }
11434
- }
11435
- namespace Default {
11436
11452
  namespace Content {
11437
11453
  interface ApplicationJson {
11438
- [k: string]: unknown;
11454
+ id: string;
11455
+ publicToken: string;
11439
11456
  }
11440
11457
  }
11441
11458
  }
11442
- }
11443
- }
11444
- namespace Put {
11445
- namespace Parameters {
11446
- type Path = {};
11447
- interface RequestBody {
11448
- person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
11449
- }
11450
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11451
- type Query = {};
11452
- }
11453
- namespace Responses {
11454
- namespace $200 {
11455
- namespace Content {
11456
- type Empty = unknown;
11457
- }
11458
- }
11459
- namespace $400 {
11460
- namespace Content {
11461
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11462
- }
11463
- }
11464
11459
  namespace Default {
11465
11460
  namespace Content {
11466
11461
  interface ApplicationJson {
@@ -11470,41 +11465,21 @@ export declare module MittwaldAPIV2 {
11470
11465
  }
11471
11466
  }
11472
11467
  }
11473
- namespace Delete {
11468
+ }
11469
+ namespace V2SignupMfaConfirm { }
11470
+ namespace V2UsersSelfCredentialsMfa {
11471
+ namespace Get {
11474
11472
  namespace Parameters {
11475
11473
  type Path = {};
11476
- interface RequestBody {
11477
- /**
11478
- * Multi Factor Code to authorize your request
11479
- */
11480
- multiFactorCode?: string;
11481
- password: string;
11482
- }
11483
11474
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11484
11475
  type Query = {};
11485
11476
  }
11486
11477
  namespace Responses {
11487
11478
  namespace $200 {
11488
- namespace Content {
11489
- type Empty = unknown;
11490
- }
11491
- }
11492
- namespace $202 {
11493
11479
  namespace Content {
11494
11480
  interface ApplicationJson {
11495
- [k: string]: unknown;
11496
- }
11497
- }
11498
- }
11499
- namespace $400 {
11500
- namespace Content {
11501
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11502
- }
11503
- }
11504
- namespace $409 {
11505
- namespace Content {
11506
- interface ApplicationJson {
11507
- [k: string]: unknown;
11481
+ confirmed: boolean;
11482
+ initialized: boolean;
11508
11483
  }
11509
11484
  }
11510
11485
  }
@@ -11517,12 +11492,14 @@ export declare module MittwaldAPIV2 {
11517
11492
  }
11518
11493
  }
11519
11494
  }
11520
- }
11521
- namespace V2SignupTokenCheck {
11522
- namespace Post {
11495
+ namespace Put {
11523
11496
  namespace Parameters {
11524
11497
  type Path = {};
11525
11498
  interface RequestBody {
11499
+ /**
11500
+ * Multi Factor Code to authorize your request.
11501
+ */
11502
+ multiFactorCode: string;
11526
11503
  }
11527
11504
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11528
11505
  type Query = {};
@@ -11531,8 +11508,32 @@ export declare module MittwaldAPIV2 {
11531
11508
  namespace $200 {
11532
11509
  namespace Content {
11533
11510
  interface ApplicationJson {
11534
- id: string;
11535
- publicToken: string;
11511
+ /**
11512
+ * @minItems 20
11513
+ * @maxItems 20
11514
+ */
11515
+ recoveryCodesList: [
11516
+ string,
11517
+ string,
11518
+ string,
11519
+ string,
11520
+ string,
11521
+ string,
11522
+ string,
11523
+ string,
11524
+ string,
11525
+ string,
11526
+ string,
11527
+ string,
11528
+ string,
11529
+ string,
11530
+ string,
11531
+ string,
11532
+ string,
11533
+ string,
11534
+ string,
11535
+ string
11536
+ ];
11536
11537
  }
11537
11538
  }
11538
11539
  }
@@ -11550,14 +11551,12 @@ export declare module MittwaldAPIV2 {
11550
11551
  }
11551
11552
  }
11552
11553
  }
11553
- }
11554
- namespace V2SignupMfaConfirm {
11555
11554
  namespace Post {
11556
11555
  namespace Parameters {
11557
11556
  type Path = {};
11558
11557
  interface RequestBody {
11559
11558
  /**
11560
- * Multi Factor Code to confirm MFA
11559
+ * Multi Factor Code to confirm MFA.
11561
11560
  */
11562
11561
  multiFactorCode: string;
11563
11562
  }
@@ -11611,14 +11610,47 @@ export declare module MittwaldAPIV2 {
11611
11610
  }
11612
11611
  }
11613
11612
  }
11613
+ namespace Delete {
11614
+ namespace Parameters {
11615
+ type Path = {};
11616
+ interface RequestBody {
11617
+ /**
11618
+ * Multi Factor Code to confirm MFA.
11619
+ */
11620
+ multiFactorCode: string;
11621
+ }
11622
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11623
+ type Query = {};
11624
+ }
11625
+ namespace Responses {
11626
+ namespace $204 {
11627
+ namespace Content {
11628
+ type Empty = unknown;
11629
+ }
11630
+ }
11631
+ namespace $400 {
11632
+ namespace Content {
11633
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11634
+ }
11635
+ }
11636
+ namespace Default {
11637
+ namespace Content {
11638
+ interface ApplicationJson {
11639
+ [k: string]: unknown;
11640
+ }
11641
+ }
11642
+ }
11643
+ }
11644
+ }
11614
11645
  }
11615
- namespace V2SignupPasswordResetConfirm {
11646
+ namespace V2SignupPasswordResetConfirm { }
11647
+ namespace V2UsersSelfCredentialsPasswordConfirmReset {
11616
11648
  namespace Post {
11617
11649
  namespace Parameters {
11618
11650
  type Path = {};
11619
11651
  interface RequestBody {
11620
11652
  /**
11621
- * The new password
11653
+ * The new password.
11622
11654
  */
11623
11655
  password: string;
11624
11656
  /**
@@ -11626,7 +11658,7 @@ export declare module MittwaldAPIV2 {
11626
11658
  */
11627
11659
  token: string;
11628
11660
  /**
11629
- * userId of the user to reset the password for
11661
+ * UserId of the user to reset the password for.
11630
11662
  */
11631
11663
  userId: string;
11632
11664
  }
@@ -11634,7 +11666,7 @@ export declare module MittwaldAPIV2 {
11634
11666
  type Query = {};
11635
11667
  }
11636
11668
  namespace Responses {
11637
- namespace $200 {
11669
+ namespace $204 {
11638
11670
  namespace Content {
11639
11671
  type Empty = unknown;
11640
11672
  }
@@ -11654,7 +11686,8 @@ export declare module MittwaldAPIV2 {
11654
11686
  }
11655
11687
  }
11656
11688
  }
11657
- namespace V2SignupTokenApi {
11689
+ namespace V2SignupTokenApi { }
11690
+ namespace V2UsersSelfApiTokens {
11658
11691
  namespace Get {
11659
11692
  namespace Parameters {
11660
11693
  type Path = {};
@@ -11683,7 +11716,7 @@ export declare module MittwaldAPIV2 {
11683
11716
  description: string;
11684
11717
  expiresAt?: string;
11685
11718
  /**
11686
- * determines the access rights of the ApiToken
11719
+ * Determines the access rights of the ApiToken.
11687
11720
  *
11688
11721
  * @minItems 1
11689
11722
  */
@@ -11697,7 +11730,7 @@ export declare module MittwaldAPIV2 {
11697
11730
  namespace Content {
11698
11731
  interface ApplicationJson {
11699
11732
  /**
11700
- * The `ApiToken`
11733
+ * The `ApiToken`.
11701
11734
  */
11702
11735
  token: string;
11703
11736
  }
@@ -11705,7 +11738,9 @@ export declare module MittwaldAPIV2 {
11705
11738
  }
11706
11739
  namespace $400 {
11707
11740
  namespace Content {
11708
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11741
+ interface ApplicationJson {
11742
+ [k: string]: unknown;
11743
+ }
11709
11744
  }
11710
11745
  }
11711
11746
  namespace Default {
@@ -11815,7 +11850,8 @@ export declare module MittwaldAPIV2 {
11815
11850
  }
11816
11851
  }
11817
11852
  }
11818
- namespace V2SignupSsh {
11853
+ namespace V2SignupSsh { }
11854
+ namespace V2UsersSelfSshKeys {
11819
11855
  namespace Get {
11820
11856
  namespace Parameters {
11821
11857
  type Path = {};
@@ -11857,7 +11893,9 @@ export declare module MittwaldAPIV2 {
11857
11893
  }
11858
11894
  namespace $400 {
11859
11895
  namespace Content {
11860
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11896
+ interface ApplicationJson {
11897
+ [k: string]: unknown;
11898
+ }
11861
11899
  }
11862
11900
  }
11863
11901
  namespace Default {
@@ -11870,7 +11908,7 @@ export declare module MittwaldAPIV2 {
11870
11908
  }
11871
11909
  }
11872
11910
  }
11873
- namespace V2SignupTokenApiApiTokenId {
11911
+ namespace V2UsersSelfApiTokensApiTokenId {
11874
11912
  namespace Get {
11875
11913
  namespace Parameters {
11876
11914
  type Path = {
@@ -11885,6 +11923,13 @@ export declare module MittwaldAPIV2 {
11885
11923
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken;
11886
11924
  }
11887
11925
  }
11926
+ namespace $404 {
11927
+ namespace Content {
11928
+ interface ApplicationJson {
11929
+ [k: string]: unknown;
11930
+ }
11931
+ }
11932
+ }
11888
11933
  namespace Default {
11889
11934
  namespace Content {
11890
11935
  interface ApplicationJson {
@@ -11907,14 +11952,16 @@ export declare module MittwaldAPIV2 {
11907
11952
  type Query = {};
11908
11953
  }
11909
11954
  namespace Responses {
11910
- namespace $200 {
11955
+ namespace $204 {
11911
11956
  namespace Content {
11912
11957
  type Empty = unknown;
11913
11958
  }
11914
11959
  }
11915
11960
  namespace $400 {
11916
11961
  namespace Content {
11917
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11962
+ interface ApplicationJson {
11963
+ [k: string]: unknown;
11964
+ }
11918
11965
  }
11919
11966
  }
11920
11967
  namespace Default {
@@ -11935,14 +11982,16 @@ export declare module MittwaldAPIV2 {
11935
11982
  type Query = {};
11936
11983
  }
11937
11984
  namespace Responses {
11938
- namespace $200 {
11985
+ namespace $204 {
11939
11986
  namespace Content {
11940
11987
  type Empty = unknown;
11941
11988
  }
11942
11989
  }
11943
11990
  namespace $400 {
11944
11991
  namespace Content {
11945
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11992
+ interface ApplicationJson {
11993
+ [k: string]: unknown;
11994
+ }
11946
11995
  }
11947
11996
  }
11948
11997
  namespace Default {
@@ -11955,7 +12004,7 @@ export declare module MittwaldAPIV2 {
11955
12004
  }
11956
12005
  }
11957
12006
  }
11958
- namespace V2SignupSshSshKeyId {
12007
+ namespace V2UsersSelfSshKeysSshKeyId {
11959
12008
  namespace Get {
11960
12009
  namespace Parameters {
11961
12010
  type Path = {
@@ -12001,14 +12050,16 @@ export declare module MittwaldAPIV2 {
12001
12050
  type Query = {};
12002
12051
  }
12003
12052
  namespace Responses {
12004
- namespace $200 {
12053
+ namespace $204 {
12005
12054
  namespace Content {
12006
12055
  type Empty = unknown;
12007
12056
  }
12008
12057
  }
12009
12058
  namespace $400 {
12010
12059
  namespace Content {
12011
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
12060
+ interface ApplicationJson {
12061
+ [k: string]: unknown;
12062
+ }
12012
12063
  }
12013
12064
  }
12014
12065
  namespace Default {
@@ -12029,7 +12080,7 @@ export declare module MittwaldAPIV2 {
12029
12080
  type Query = {};
12030
12081
  }
12031
12082
  namespace Responses {
12032
- namespace $200 {
12083
+ namespace $204 {
12033
12084
  namespace Content {
12034
12085
  type Empty = unknown;
12035
12086
  }
@@ -12044,19 +12095,43 @@ export declare module MittwaldAPIV2 {
12044
12095
  }
12045
12096
  }
12046
12097
  }
12047
- namespace V2SignupMfa {
12048
- namespace Get {
12098
+ namespace V2SignupProfile { }
12099
+ namespace V2UsersSelf {
12100
+ namespace Delete {
12049
12101
  namespace Parameters {
12050
12102
  type Path = {};
12103
+ interface RequestBody {
12104
+ /**
12105
+ * Multi Factor Code to authorize your request.
12106
+ */
12107
+ multiFactorCode?: string;
12108
+ password: string;
12109
+ }
12051
12110
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
12052
12111
  type Query = {};
12053
12112
  }
12054
12113
  namespace Responses {
12055
12114
  namespace $200 {
12115
+ namespace Content {
12116
+ type Empty = unknown;
12117
+ }
12118
+ }
12119
+ namespace $202 {
12056
12120
  namespace Content {
12057
12121
  interface ApplicationJson {
12058
- confirmed: boolean;
12059
- initialized: boolean;
12122
+ [k: string]: unknown;
12123
+ }
12124
+ }
12125
+ }
12126
+ namespace $400 {
12127
+ namespace Content {
12128
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
12129
+ }
12130
+ }
12131
+ namespace $409 {
12132
+ namespace Content {
12133
+ interface ApplicationJson {
12134
+ [k: string]: unknown;
12060
12135
  }
12061
12136
  }
12062
12137
  }
@@ -12069,7 +12144,10 @@ export declare module MittwaldAPIV2 {
12069
12144
  }
12070
12145
  }
12071
12146
  }
12072
- namespace Post {
12147
+ }
12148
+ namespace V2SignupMfa { }
12149
+ namespace V2UsersSelfPersonalInformation {
12150
+ namespace Get {
12073
12151
  namespace Parameters {
12074
12152
  type Path = {};
12075
12153
  interface RequestBody {
@@ -12079,22 +12157,34 @@ export declare module MittwaldAPIV2 {
12079
12157
  }
12080
12158
  namespace Responses {
12081
12159
  namespace $200 {
12160
+ namespace Content {
12161
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupAccount;
12162
+ }
12163
+ }
12164
+ namespace Default {
12082
12165
  namespace Content {
12083
12166
  interface ApplicationJson {
12084
- /**
12085
- * base64 encoded barcode content to scan from your mfa app. e.g. `iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAAAAADYoy...`. You
12086
- * can display it with `<img src="data:image/png;base64,iVBORw0KGgoAAAANSUh.." />`
12087
- *
12088
- */
12089
- barcode: string;
12090
- /**
12091
- * Same as barcode, but in URL form.
12092
- *
12093
- */
12094
- url: string;
12167
+ [k: string]: unknown;
12095
12168
  }
12096
12169
  }
12097
12170
  }
12171
+ }
12172
+ }
12173
+ namespace Put {
12174
+ namespace Parameters {
12175
+ type Path = {};
12176
+ interface RequestBody {
12177
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
12178
+ }
12179
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
12180
+ type Query = {};
12181
+ }
12182
+ namespace Responses {
12183
+ namespace $204 {
12184
+ namespace Content {
12185
+ type Empty = unknown;
12186
+ }
12187
+ }
12098
12188
  namespace $400 {
12099
12189
  namespace Content {
12100
12190
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
@@ -12109,14 +12199,12 @@ export declare module MittwaldAPIV2 {
12109
12199
  }
12110
12200
  }
12111
12201
  }
12112
- namespace Delete {
12202
+ }
12203
+ namespace V2UsersSelfCredentialsPasswordUpdatedAt {
12204
+ namespace Get {
12113
12205
  namespace Parameters {
12114
12206
  type Path = {};
12115
12207
  interface RequestBody {
12116
- /**
12117
- * Multi Factor Code to confirm MFA
12118
- */
12119
- multiFactorCode: string;
12120
12208
  }
12121
12209
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
12122
12210
  type Query = {};
@@ -12124,12 +12212,9 @@ export declare module MittwaldAPIV2 {
12124
12212
  namespace Responses {
12125
12213
  namespace $200 {
12126
12214
  namespace Content {
12127
- type Empty = unknown;
12128
- }
12129
- }
12130
- namespace $400 {
12131
- namespace Content {
12132
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
12215
+ interface ApplicationJson {
12216
+ passwordUpdatedAt: string;
12217
+ }
12133
12218
  }
12134
12219
  }
12135
12220
  namespace Default {
@@ -12202,7 +12287,7 @@ export declare module MittwaldAPIV2 {
12202
12287
  }
12203
12288
  }
12204
12289
  }
12205
- namespace V2SignupSessionsTokenId {
12290
+ namespace V2UsersSelfSessionsTokenId {
12206
12291
  namespace Get {
12207
12292
  namespace Parameters {
12208
12293
  type Path = {
@@ -12242,7 +12327,7 @@ export declare module MittwaldAPIV2 {
12242
12327
  type Query = {};
12243
12328
  }
12244
12329
  namespace Responses {
12245
- namespace $200 {
12330
+ namespace $204 {
12246
12331
  namespace Content {
12247
12332
  type Empty = unknown;
12248
12333
  }
@@ -12343,13 +12428,56 @@ export declare module MittwaldAPIV2 {
12343
12428
  }
12344
12429
  }
12345
12430
  }
12346
- namespace V2SignupPasswordReset {
12431
+ namespace V2UsersSelfCredentialsInitMfa {
12432
+ namespace Post {
12433
+ namespace Parameters {
12434
+ type Path = {};
12435
+ interface RequestBody {
12436
+ }
12437
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
12438
+ type Query = {};
12439
+ }
12440
+ namespace Responses {
12441
+ namespace $200 {
12442
+ namespace Content {
12443
+ interface ApplicationJson {
12444
+ /**
12445
+ * base64 encoded barcode content to scan from your mfa app. e.g. `iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAAAAADYoy...`. You
12446
+ * can display it with `<img src="data:image/png;base64,iVBORw0KGgoAAAANSUh.." />`
12447
+ *
12448
+ */
12449
+ barcode: string;
12450
+ /**
12451
+ * Same as barcode, but in URL form.
12452
+ *
12453
+ */
12454
+ url: string;
12455
+ }
12456
+ }
12457
+ }
12458
+ namespace $400 {
12459
+ namespace Content {
12460
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
12461
+ }
12462
+ }
12463
+ namespace Default {
12464
+ namespace Content {
12465
+ interface ApplicationJson {
12466
+ [k: string]: unknown;
12467
+ }
12468
+ }
12469
+ }
12470
+ }
12471
+ }
12472
+ }
12473
+ namespace V2SignupPasswordReset { }
12474
+ namespace V2UsersSelfCredentialsActionsInitPasswordReset {
12347
12475
  namespace Post {
12348
12476
  namespace Parameters {
12349
12477
  type Path = {};
12350
12478
  interface RequestBody {
12351
12479
  /**
12352
- * email address to reset the password for
12480
+ * Email address to reset the password for.
12353
12481
  */
12354
12482
  email: string;
12355
12483
  }
@@ -12357,7 +12485,7 @@ export declare module MittwaldAPIV2 {
12357
12485
  type Query = {};
12358
12486
  }
12359
12487
  namespace Responses {
12360
- namespace $200 {
12488
+ namespace $201 {
12361
12489
  namespace Content {
12362
12490
  type Empty = unknown;
12363
12491
  }
@@ -12404,7 +12532,7 @@ export declare module MittwaldAPIV2 {
12404
12532
  }
12405
12533
  }
12406
12534
  }
12407
- namespace V2SignupSessions {
12535
+ namespace V2UsersSelfSessions {
12408
12536
  namespace Get {
12409
12537
  namespace Parameters {
12410
12538
  type Path = {};
@@ -12433,7 +12561,7 @@ export declare module MittwaldAPIV2 {
12433
12561
  type Query = {};
12434
12562
  }
12435
12563
  namespace Responses {
12436
- namespace $200 {
12564
+ namespace $204 {
12437
12565
  namespace Content {
12438
12566
  type Empty = unknown;
12439
12567
  }
@@ -12448,7 +12576,7 @@ export declare module MittwaldAPIV2 {
12448
12576
  }
12449
12577
  }
12450
12578
  }
12451
- namespace V2SignupLogout {
12579
+ namespace V2Logout {
12452
12580
  namespace Put {
12453
12581
  namespace Parameters {
12454
12582
  type Path = {};
@@ -12458,7 +12586,7 @@ export declare module MittwaldAPIV2 {
12458
12586
  type Query = {};
12459
12587
  }
12460
12588
  namespace Responses {
12461
- namespace $200 {
12589
+ namespace $204 {
12462
12590
  namespace Content {
12463
12591
  type Empty = unknown;
12464
12592
  }
@@ -12478,7 +12606,8 @@ export declare module MittwaldAPIV2 {
12478
12606
  }
12479
12607
  }
12480
12608
  }
12481
- namespace V2SignupRegistration {
12609
+ namespace V2SignupRegistration { }
12610
+ namespace V2Register {
12482
12611
  namespace Post {
12483
12612
  namespace Parameters {
12484
12613
  type Path = {};
@@ -12488,7 +12617,7 @@ export declare module MittwaldAPIV2 {
12488
12617
  */
12489
12618
  email: string;
12490
12619
  /**
12491
- * The users password
12620
+ * The users password.
12492
12621
  */
12493
12622
  password: string;
12494
12623
  person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
@@ -12616,13 +12745,13 @@ export declare module MittwaldAPIV2 {
12616
12745
  }
12617
12746
  }
12618
12747
  }
12619
- namespace V2SignupEmailResend {
12748
+ namespace V2UsersSelfCredentialsEmailActionsResendEmail {
12620
12749
  namespace Post {
12621
12750
  namespace Parameters {
12622
12751
  type Path = {};
12623
12752
  interface RequestBody {
12624
- email?: string;
12625
- userId?: string;
12753
+ email: string;
12754
+ userId: string;
12626
12755
  }
12627
12756
  type Header = {};
12628
12757
  type Query = {};
@@ -12648,68 +12777,10 @@ export declare module MittwaldAPIV2 {
12648
12777
  }
12649
12778
  }
12650
12779
  }
12651
- namespace V2SignupMfaResetRecoverycodes {
12652
- namespace Put {
12653
- namespace Parameters {
12654
- type Path = {};
12655
- interface RequestBody {
12656
- /**
12657
- * Multi Factor Code to authorize your request
12658
- */
12659
- multiFactorCode: string;
12660
- }
12661
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
12662
- type Query = {};
12663
- }
12664
- namespace Responses {
12665
- namespace $200 {
12666
- namespace Content {
12667
- interface ApplicationJson {
12668
- /**
12669
- * @minItems 20
12670
- * @maxItems 20
12671
- */
12672
- recoveryCodesList: [
12673
- string,
12674
- string,
12675
- string,
12676
- string,
12677
- string,
12678
- string,
12679
- string,
12680
- string,
12681
- string,
12682
- string,
12683
- string,
12684
- string,
12685
- string,
12686
- string,
12687
- string,
12688
- string,
12689
- string,
12690
- string,
12691
- string,
12692
- string
12693
- ];
12694
- }
12695
- }
12696
- }
12697
- namespace $400 {
12698
- namespace Content {
12699
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
12700
- }
12701
- }
12702
- namespace Default {
12703
- namespace Content {
12704
- interface ApplicationJson {
12705
- [k: string]: unknown;
12706
- }
12707
- }
12708
- }
12709
- }
12710
- }
12711
- }
12712
- namespace V2SignupSupportcode {
12780
+ namespace V2SignupMfaResetRecoverycodes { }
12781
+ namespace V2SignupSupportcode { }
12782
+ namespace V2SignupSupportcodes { }
12783
+ namespace V2UsersSelfCredentialsSupportCode {
12713
12784
  namespace Get {
12714
12785
  namespace Parameters {
12715
12786
  type Path = {};
@@ -12743,17 +12814,17 @@ export declare module MittwaldAPIV2 {
12743
12814
  }
12744
12815
  }
12745
12816
  }
12746
- namespace V2SignupEmailVerify {
12817
+ namespace V2UsersSelfCredentialsEmailActionsVerifyEmail {
12747
12818
  namespace Post {
12748
12819
  namespace Parameters {
12749
12820
  type Path = {};
12750
12821
  interface RequestBody {
12751
12822
  /**
12752
- * The Email-Address to verify
12823
+ * The Email-Address to verify.
12753
12824
  */
12754
12825
  email: string;
12755
12826
  /**
12756
- * The token found in the verification email
12827
+ * The token found in the verification email.
12757
12828
  */
12758
12829
  token?: string;
12759
12830
  }
@@ -12761,7 +12832,7 @@ export declare module MittwaldAPIV2 {
12761
12832
  type Query = {};
12762
12833
  }
12763
12834
  namespace Responses {
12764
- namespace $200 {
12835
+ namespace $204 {
12765
12836
  namespace Content {
12766
12837
  type Empty = unknown;
12767
12838
  }
@@ -12838,13 +12909,14 @@ export declare module MittwaldAPIV2 {
12838
12909
  }
12839
12910
  }
12840
12911
  }
12841
- namespace V2SignupRegistrationVerification {
12912
+ namespace V2SignupRegistrationVerification { }
12913
+ namespace V2VerifyRegistration {
12842
12914
  namespace Post {
12843
12915
  namespace Parameters {
12844
12916
  type Path = {};
12845
12917
  interface RequestBody {
12846
12918
  /**
12847
- * The users email address
12919
+ * The users email address.
12848
12920
  */
12849
12921
  email: string;
12850
12922
  /**
@@ -12852,7 +12924,7 @@ export declare module MittwaldAPIV2 {
12852
12924
  */
12853
12925
  token: string;
12854
12926
  /**
12855
- * UUID of the registered user
12927
+ * UUID of the registered user.
12856
12928
  */
12857
12929
  userId: string;
12858
12930
  }