@mittwald/api-client 2.0.1 → 2.0.2

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.
@@ -1531,6 +1531,19 @@ export declare module MittwaldAPIV2 {
1531
1531
  updatedAt?: string;
1532
1532
  userName: string;
1533
1533
  }
1534
+ interface SignupAccount {
1535
+ email?: string;
1536
+ /**
1537
+ * The users mfa details.
1538
+ */
1539
+ mfaDetails?: {
1540
+ mfaConfirmed?: boolean;
1541
+ mfaInitialized?: boolean;
1542
+ };
1543
+ passwordUpdatedAt?: string;
1544
+ person?: MittwaldAPIV2.Components.Schemas.CommonsPerson;
1545
+ userId?: string;
1546
+ }
1534
1547
  interface SignupApiToken {
1535
1548
  apiTokenId: string;
1536
1549
  createdAt: string;
@@ -6471,6 +6484,11 @@ export declare module MittwaldAPIV2 {
6471
6484
  namespace V2ServersServerIdContracts { }
6472
6485
  namespace V2NewsletterSubscriptionsEmail { }
6473
6486
  namespace V2NewsletterSubscriptions { }
6487
+ namespace V2SignupEmail { }
6488
+ namespace V2SignupTokenApiApiTokenId { }
6489
+ namespace V2SignupSshSshKeyId { }
6490
+ namespace V2SignupLogout { }
6491
+ namespace V2SignupEmailResend { }
6474
6492
  namespace V2UserUserIdAvatar { }
6475
6493
  namespace V2UserFeedback { }
6476
6494
  namespace V2UserIssues { }
@@ -6479,6 +6497,9 @@ export declare module MittwaldAPIV2 {
6479
6497
  namespace V2UserUserIdPhone { }
6480
6498
  namespace V2UserUserIdPhoneVerify { }
6481
6499
  namespace V2User { }
6500
+ namespace V2SignupSessions { }
6501
+ namespace V2SignupSessionsTokenId { }
6502
+ namespace V2SignupEmailVerify { }
6482
6503
  namespace V2DnsZonesZoneIdRecordsetAcombinedCustom {
6483
6504
  namespace Put {
6484
6505
  namespace Parameters {
@@ -11151,19 +11172,24 @@ export declare module MittwaldAPIV2 {
11151
11172
  }
11152
11173
  }
11153
11174
  }
11154
- namespace V2SignupAuthentication {
11175
+ namespace V2SignupAuthenticationMfa { }
11176
+ namespace V2AuthenticateMfa {
11155
11177
  namespace Post {
11156
11178
  namespace Parameters {
11157
11179
  type Path = {};
11158
11180
  interface RequestBody {
11159
11181
  /**
11160
- * The users Email-Address
11182
+ * The email of the user.
11161
11183
  */
11162
- email: string;
11184
+ email?: string;
11163
11185
  /**
11164
- * Password of the User
11186
+ * The second factor - otp code or recovery code.
11165
11187
  */
11166
- password: string;
11188
+ multiFactorCode: string;
11189
+ /**
11190
+ * The password of the user.
11191
+ */
11192
+ password?: string;
11167
11193
  }
11168
11194
  type Header = {};
11169
11195
  type Query = {};
@@ -11183,21 +11209,16 @@ export declare module MittwaldAPIV2 {
11183
11209
  }
11184
11210
  }
11185
11211
  }
11186
- namespace $202 {
11187
- namespace Content {
11188
- interface ApplicationJson {
11189
- name?: "SecondFactorRequired";
11190
- }
11191
- }
11192
- }
11193
11212
  namespace $400 {
11194
11213
  namespace Content {
11195
11214
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11196
11215
  }
11197
11216
  }
11198
- namespace $401 {
11217
+ namespace $408 {
11199
11218
  namespace Content {
11200
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11219
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
11220
+ name?: "FirstAuthenticationFactorExpired";
11221
+ };
11201
11222
  }
11202
11223
  }
11203
11224
  namespace Default {
@@ -11210,23 +11231,20 @@ export declare module MittwaldAPIV2 {
11210
11231
  }
11211
11232
  }
11212
11233
  }
11213
- namespace V2SignupAuthenticationMfa {
11234
+ namespace V2SignupAuthentication { }
11235
+ namespace V2Authenticate {
11214
11236
  namespace Post {
11215
11237
  namespace Parameters {
11216
11238
  type Path = {};
11217
11239
  interface RequestBody {
11218
11240
  /**
11219
- * The email of the user
11241
+ * The users Email-Address.
11220
11242
  */
11221
- email?: string;
11222
- /**
11223
- * The second factor - otp code or recovery code
11224
- */
11225
- multiFactorCode: string;
11243
+ email: string;
11226
11244
  /**
11227
- * The password of the user
11245
+ * Password of the User.
11228
11246
  */
11229
- password?: string;
11247
+ password: string;
11230
11248
  }
11231
11249
  type Header = {};
11232
11250
  type Query = {};
@@ -11246,16 +11264,21 @@ export declare module MittwaldAPIV2 {
11246
11264
  }
11247
11265
  }
11248
11266
  }
11267
+ namespace $202 {
11268
+ namespace Content {
11269
+ interface ApplicationJson {
11270
+ name?: "SecondFactorRequired";
11271
+ }
11272
+ }
11273
+ }
11249
11274
  namespace $400 {
11250
11275
  namespace Content {
11251
11276
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11252
11277
  }
11253
11278
  }
11254
- namespace $408 {
11279
+ namespace $401 {
11255
11280
  namespace Content {
11256
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupDomainError & {
11257
- name?: "FirstAuthenticationFactorExpired";
11258
- };
11281
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11259
11282
  }
11260
11283
  }
11261
11284
  namespace Default {
@@ -11268,7 +11291,7 @@ export declare module MittwaldAPIV2 {
11268
11291
  }
11269
11292
  }
11270
11293
  }
11271
- namespace V2SignupEmail {
11294
+ namespace V2UsersSelfCredentialsEmail {
11272
11295
  namespace Get {
11273
11296
  namespace Parameters {
11274
11297
  type Path = {};
@@ -11312,7 +11335,7 @@ export declare module MittwaldAPIV2 {
11312
11335
  type Query = {};
11313
11336
  }
11314
11337
  namespace Responses {
11315
- namespace $200 {
11338
+ namespace $204 {
11316
11339
  namespace Content {
11317
11340
  type Empty = unknown;
11318
11341
  }
@@ -11332,32 +11355,8 @@ export declare module MittwaldAPIV2 {
11332
11355
  }
11333
11356
  }
11334
11357
  }
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
- }
11358
+ namespace V2SignupPassword { }
11359
+ namespace V2UsersSelfCredentialsPassword {
11361
11360
  namespace Put {
11362
11361
  namespace Parameters {
11363
11362
  type Path = {};
@@ -11369,11 +11368,11 @@ export declare module MittwaldAPIV2 {
11369
11368
  */
11370
11369
  multiFactorCode?: string;
11371
11370
  /**
11372
- * The new password
11371
+ * The new password.
11373
11372
  */
11374
11373
  newPassword: string;
11375
11374
  /**
11376
- * The old password
11375
+ * The old password.
11377
11376
  */
11378
11377
  oldPassword: string;
11379
11378
  }
@@ -11385,7 +11384,7 @@ export declare module MittwaldAPIV2 {
11385
11384
  namespace Content {
11386
11385
  interface ApplicationJson {
11387
11386
  /**
11388
- * Expiration unix timestamp
11387
+ * Expiration unix timestamp.
11389
11388
  */
11390
11389
  expires: string;
11391
11390
  /**
@@ -11417,8 +11416,9 @@ export declare module MittwaldAPIV2 {
11417
11416
  }
11418
11417
  }
11419
11418
  }
11420
- namespace V2SignupProfile {
11421
- namespace Get {
11419
+ namespace V2SignupTokenCheck { }
11420
+ namespace V2UsersSelfCredentialsToken {
11421
+ namespace Post {
11422
11422
  namespace Parameters {
11423
11423
  type Path = {};
11424
11424
  interface RequestBody {
@@ -11428,39 +11428,13 @@ export declare module MittwaldAPIV2 {
11428
11428
  }
11429
11429
  namespace Responses {
11430
11430
  namespace $200 {
11431
- namespace Content {
11432
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupProfile;
11433
- }
11434
- }
11435
- namespace Default {
11436
11431
  namespace Content {
11437
11432
  interface ApplicationJson {
11438
- [k: string]: unknown;
11433
+ id: string;
11434
+ publicToken: string;
11439
11435
  }
11440
11436
  }
11441
11437
  }
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
11438
  namespace Default {
11465
11439
  namespace Content {
11466
11440
  interface ApplicationJson {
@@ -11470,41 +11444,21 @@ export declare module MittwaldAPIV2 {
11470
11444
  }
11471
11445
  }
11472
11446
  }
11473
- namespace Delete {
11447
+ }
11448
+ namespace V2SignupMfaConfirm { }
11449
+ namespace V2UsersSelfCredentialsMfa {
11450
+ namespace Get {
11474
11451
  namespace Parameters {
11475
11452
  type Path = {};
11476
- interface RequestBody {
11477
- /**
11478
- * Multi Factor Code to authorize your request
11479
- */
11480
- multiFactorCode?: string;
11481
- password: string;
11482
- }
11483
11453
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11484
11454
  type Query = {};
11485
11455
  }
11486
11456
  namespace Responses {
11487
11457
  namespace $200 {
11488
- namespace Content {
11489
- type Empty = unknown;
11490
- }
11491
- }
11492
- namespace $202 {
11493
11458
  namespace Content {
11494
11459
  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;
11460
+ confirmed: boolean;
11461
+ initialized: boolean;
11508
11462
  }
11509
11463
  }
11510
11464
  }
@@ -11517,12 +11471,14 @@ export declare module MittwaldAPIV2 {
11517
11471
  }
11518
11472
  }
11519
11473
  }
11520
- }
11521
- namespace V2SignupTokenCheck {
11522
- namespace Post {
11474
+ namespace Put {
11523
11475
  namespace Parameters {
11524
11476
  type Path = {};
11525
11477
  interface RequestBody {
11478
+ /**
11479
+ * Multi Factor Code to authorize your request.
11480
+ */
11481
+ multiFactorCode: string;
11526
11482
  }
11527
11483
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11528
11484
  type Query = {};
@@ -11531,8 +11487,32 @@ export declare module MittwaldAPIV2 {
11531
11487
  namespace $200 {
11532
11488
  namespace Content {
11533
11489
  interface ApplicationJson {
11534
- id: string;
11535
- publicToken: string;
11490
+ /**
11491
+ * @minItems 20
11492
+ * @maxItems 20
11493
+ */
11494
+ recoveryCodesList: [
11495
+ string,
11496
+ string,
11497
+ string,
11498
+ string,
11499
+ string,
11500
+ string,
11501
+ string,
11502
+ string,
11503
+ string,
11504
+ string,
11505
+ string,
11506
+ string,
11507
+ string,
11508
+ string,
11509
+ string,
11510
+ string,
11511
+ string,
11512
+ string,
11513
+ string,
11514
+ string
11515
+ ];
11536
11516
  }
11537
11517
  }
11538
11518
  }
@@ -11550,14 +11530,12 @@ export declare module MittwaldAPIV2 {
11550
11530
  }
11551
11531
  }
11552
11532
  }
11553
- }
11554
- namespace V2SignupMfaConfirm {
11555
11533
  namespace Post {
11556
11534
  namespace Parameters {
11557
11535
  type Path = {};
11558
11536
  interface RequestBody {
11559
11537
  /**
11560
- * Multi Factor Code to confirm MFA
11538
+ * Multi Factor Code to confirm MFA.
11561
11539
  */
11562
11540
  multiFactorCode: string;
11563
11541
  }
@@ -11611,14 +11589,47 @@ export declare module MittwaldAPIV2 {
11611
11589
  }
11612
11590
  }
11613
11591
  }
11592
+ namespace Delete {
11593
+ namespace Parameters {
11594
+ type Path = {};
11595
+ interface RequestBody {
11596
+ /**
11597
+ * Multi Factor Code to confirm MFA.
11598
+ */
11599
+ multiFactorCode: string;
11600
+ }
11601
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
11602
+ type Query = {};
11603
+ }
11604
+ namespace Responses {
11605
+ namespace $204 {
11606
+ namespace Content {
11607
+ type Empty = unknown;
11608
+ }
11609
+ }
11610
+ namespace $400 {
11611
+ namespace Content {
11612
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11613
+ }
11614
+ }
11615
+ namespace Default {
11616
+ namespace Content {
11617
+ interface ApplicationJson {
11618
+ [k: string]: unknown;
11619
+ }
11620
+ }
11621
+ }
11622
+ }
11623
+ }
11614
11624
  }
11615
- namespace V2SignupPasswordResetConfirm {
11625
+ namespace V2SignupPasswordResetConfirm { }
11626
+ namespace V2UsersSelfCredentialsPasswordConfirmReset {
11616
11627
  namespace Post {
11617
11628
  namespace Parameters {
11618
11629
  type Path = {};
11619
11630
  interface RequestBody {
11620
11631
  /**
11621
- * The new password
11632
+ * The new password.
11622
11633
  */
11623
11634
  password: string;
11624
11635
  /**
@@ -11626,7 +11637,7 @@ export declare module MittwaldAPIV2 {
11626
11637
  */
11627
11638
  token: string;
11628
11639
  /**
11629
- * userId of the user to reset the password for
11640
+ * UserId of the user to reset the password for.
11630
11641
  */
11631
11642
  userId: string;
11632
11643
  }
@@ -11634,7 +11645,7 @@ export declare module MittwaldAPIV2 {
11634
11645
  type Query = {};
11635
11646
  }
11636
11647
  namespace Responses {
11637
- namespace $200 {
11648
+ namespace $204 {
11638
11649
  namespace Content {
11639
11650
  type Empty = unknown;
11640
11651
  }
@@ -11654,7 +11665,8 @@ export declare module MittwaldAPIV2 {
11654
11665
  }
11655
11666
  }
11656
11667
  }
11657
- namespace V2SignupTokenApi {
11668
+ namespace V2SignupTokenApi { }
11669
+ namespace V2UsersSelfApiTokens {
11658
11670
  namespace Get {
11659
11671
  namespace Parameters {
11660
11672
  type Path = {};
@@ -11683,7 +11695,7 @@ export declare module MittwaldAPIV2 {
11683
11695
  description: string;
11684
11696
  expiresAt?: string;
11685
11697
  /**
11686
- * determines the access rights of the ApiToken
11698
+ * Determines the access rights of the ApiToken.
11687
11699
  *
11688
11700
  * @minItems 1
11689
11701
  */
@@ -11697,7 +11709,7 @@ export declare module MittwaldAPIV2 {
11697
11709
  namespace Content {
11698
11710
  interface ApplicationJson {
11699
11711
  /**
11700
- * The `ApiToken`
11712
+ * The `ApiToken`.
11701
11713
  */
11702
11714
  token: string;
11703
11715
  }
@@ -11705,7 +11717,9 @@ export declare module MittwaldAPIV2 {
11705
11717
  }
11706
11718
  namespace $400 {
11707
11719
  namespace Content {
11708
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11720
+ interface ApplicationJson {
11721
+ [k: string]: unknown;
11722
+ }
11709
11723
  }
11710
11724
  }
11711
11725
  namespace Default {
@@ -11815,7 +11829,8 @@ export declare module MittwaldAPIV2 {
11815
11829
  }
11816
11830
  }
11817
11831
  }
11818
- namespace V2SignupSsh {
11832
+ namespace V2SignupSsh { }
11833
+ namespace V2UsersSelfSshKeys {
11819
11834
  namespace Get {
11820
11835
  namespace Parameters {
11821
11836
  type Path = {};
@@ -11857,7 +11872,9 @@ export declare module MittwaldAPIV2 {
11857
11872
  }
11858
11873
  namespace $400 {
11859
11874
  namespace Content {
11860
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11875
+ interface ApplicationJson {
11876
+ [k: string]: unknown;
11877
+ }
11861
11878
  }
11862
11879
  }
11863
11880
  namespace Default {
@@ -11870,7 +11887,7 @@ export declare module MittwaldAPIV2 {
11870
11887
  }
11871
11888
  }
11872
11889
  }
11873
- namespace V2SignupTokenApiApiTokenId {
11890
+ namespace V2UsersSelfApiTokensApiTokenId {
11874
11891
  namespace Get {
11875
11892
  namespace Parameters {
11876
11893
  type Path = {
@@ -11885,6 +11902,13 @@ export declare module MittwaldAPIV2 {
11885
11902
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupApiToken;
11886
11903
  }
11887
11904
  }
11905
+ namespace $404 {
11906
+ namespace Content {
11907
+ interface ApplicationJson {
11908
+ [k: string]: unknown;
11909
+ }
11910
+ }
11911
+ }
11888
11912
  namespace Default {
11889
11913
  namespace Content {
11890
11914
  interface ApplicationJson {
@@ -11907,14 +11931,16 @@ export declare module MittwaldAPIV2 {
11907
11931
  type Query = {};
11908
11932
  }
11909
11933
  namespace Responses {
11910
- namespace $200 {
11934
+ namespace $204 {
11911
11935
  namespace Content {
11912
11936
  type Empty = unknown;
11913
11937
  }
11914
11938
  }
11915
11939
  namespace $400 {
11916
11940
  namespace Content {
11917
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11941
+ interface ApplicationJson {
11942
+ [k: string]: unknown;
11943
+ }
11918
11944
  }
11919
11945
  }
11920
11946
  namespace Default {
@@ -11935,14 +11961,16 @@ export declare module MittwaldAPIV2 {
11935
11961
  type Query = {};
11936
11962
  }
11937
11963
  namespace Responses {
11938
- namespace $200 {
11964
+ namespace $204 {
11939
11965
  namespace Content {
11940
11966
  type Empty = unknown;
11941
11967
  }
11942
11968
  }
11943
11969
  namespace $400 {
11944
11970
  namespace Content {
11945
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
11971
+ interface ApplicationJson {
11972
+ [k: string]: unknown;
11973
+ }
11946
11974
  }
11947
11975
  }
11948
11976
  namespace Default {
@@ -11955,7 +11983,7 @@ export declare module MittwaldAPIV2 {
11955
11983
  }
11956
11984
  }
11957
11985
  }
11958
- namespace V2SignupSshSshKeyId {
11986
+ namespace V2UsersSelfSshKeysSshKeyId {
11959
11987
  namespace Get {
11960
11988
  namespace Parameters {
11961
11989
  type Path = {
@@ -12001,14 +12029,16 @@ export declare module MittwaldAPIV2 {
12001
12029
  type Query = {};
12002
12030
  }
12003
12031
  namespace Responses {
12004
- namespace $200 {
12032
+ namespace $204 {
12005
12033
  namespace Content {
12006
12034
  type Empty = unknown;
12007
12035
  }
12008
12036
  }
12009
12037
  namespace $400 {
12010
12038
  namespace Content {
12011
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
12039
+ interface ApplicationJson {
12040
+ [k: string]: unknown;
12041
+ }
12012
12042
  }
12013
12043
  }
12014
12044
  namespace Default {
@@ -12029,7 +12059,7 @@ export declare module MittwaldAPIV2 {
12029
12059
  type Query = {};
12030
12060
  }
12031
12061
  namespace Responses {
12032
- namespace $200 {
12062
+ namespace $204 {
12033
12063
  namespace Content {
12034
12064
  type Empty = unknown;
12035
12065
  }
@@ -12044,19 +12074,43 @@ export declare module MittwaldAPIV2 {
12044
12074
  }
12045
12075
  }
12046
12076
  }
12047
- namespace V2SignupMfa {
12048
- namespace Get {
12077
+ namespace V2SignupProfile { }
12078
+ namespace V2UsersSelf {
12079
+ namespace Delete {
12049
12080
  namespace Parameters {
12050
12081
  type Path = {};
12082
+ interface RequestBody {
12083
+ /**
12084
+ * Multi Factor Code to authorize your request.
12085
+ */
12086
+ multiFactorCode?: string;
12087
+ password: string;
12088
+ }
12051
12089
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
12052
12090
  type Query = {};
12053
12091
  }
12054
12092
  namespace Responses {
12055
12093
  namespace $200 {
12094
+ namespace Content {
12095
+ type Empty = unknown;
12096
+ }
12097
+ }
12098
+ namespace $202 {
12056
12099
  namespace Content {
12057
12100
  interface ApplicationJson {
12058
- confirmed: boolean;
12059
- initialized: boolean;
12101
+ [k: string]: unknown;
12102
+ }
12103
+ }
12104
+ }
12105
+ namespace $400 {
12106
+ namespace Content {
12107
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
12108
+ }
12109
+ }
12110
+ namespace $409 {
12111
+ namespace Content {
12112
+ interface ApplicationJson {
12113
+ [k: string]: unknown;
12060
12114
  }
12061
12115
  }
12062
12116
  }
@@ -12069,7 +12123,10 @@ export declare module MittwaldAPIV2 {
12069
12123
  }
12070
12124
  }
12071
12125
  }
12072
- namespace Post {
12126
+ }
12127
+ namespace V2SignupMfa { }
12128
+ namespace V2UsersSelfPersonalInformation {
12129
+ namespace Get {
12073
12130
  namespace Parameters {
12074
12131
  type Path = {};
12075
12132
  interface RequestBody {
@@ -12079,22 +12136,34 @@ export declare module MittwaldAPIV2 {
12079
12136
  }
12080
12137
  namespace Responses {
12081
12138
  namespace $200 {
12139
+ namespace Content {
12140
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.SignupAccount;
12141
+ }
12142
+ }
12143
+ namespace Default {
12082
12144
  namespace Content {
12083
12145
  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;
12146
+ [k: string]: unknown;
12095
12147
  }
12096
12148
  }
12097
12149
  }
12150
+ }
12151
+ }
12152
+ namespace Put {
12153
+ namespace Parameters {
12154
+ type Path = {};
12155
+ interface RequestBody {
12156
+ person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
12157
+ }
12158
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
12159
+ type Query = {};
12160
+ }
12161
+ namespace Responses {
12162
+ namespace $204 {
12163
+ namespace Content {
12164
+ type Empty = unknown;
12165
+ }
12166
+ }
12098
12167
  namespace $400 {
12099
12168
  namespace Content {
12100
12169
  type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
@@ -12109,14 +12178,12 @@ export declare module MittwaldAPIV2 {
12109
12178
  }
12110
12179
  }
12111
12180
  }
12112
- namespace Delete {
12181
+ }
12182
+ namespace V2UsersSelfCredentialsPasswordUpdatedAt {
12183
+ namespace Get {
12113
12184
  namespace Parameters {
12114
12185
  type Path = {};
12115
12186
  interface RequestBody {
12116
- /**
12117
- * Multi Factor Code to confirm MFA
12118
- */
12119
- multiFactorCode: string;
12120
12187
  }
12121
12188
  type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
12122
12189
  type Query = {};
@@ -12124,12 +12191,9 @@ export declare module MittwaldAPIV2 {
12124
12191
  namespace Responses {
12125
12192
  namespace $200 {
12126
12193
  namespace Content {
12127
- type Empty = unknown;
12128
- }
12129
- }
12130
- namespace $400 {
12131
- namespace Content {
12132
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
12194
+ interface ApplicationJson {
12195
+ passwordUpdatedAt: string;
12196
+ }
12133
12197
  }
12134
12198
  }
12135
12199
  namespace Default {
@@ -12202,7 +12266,7 @@ export declare module MittwaldAPIV2 {
12202
12266
  }
12203
12267
  }
12204
12268
  }
12205
- namespace V2SignupSessionsTokenId {
12269
+ namespace V2UsersSelfSessionsTokenId {
12206
12270
  namespace Get {
12207
12271
  namespace Parameters {
12208
12272
  type Path = {
@@ -12242,7 +12306,7 @@ export declare module MittwaldAPIV2 {
12242
12306
  type Query = {};
12243
12307
  }
12244
12308
  namespace Responses {
12245
- namespace $200 {
12309
+ namespace $204 {
12246
12310
  namespace Content {
12247
12311
  type Empty = unknown;
12248
12312
  }
@@ -12343,13 +12407,56 @@ export declare module MittwaldAPIV2 {
12343
12407
  }
12344
12408
  }
12345
12409
  }
12346
- namespace V2SignupPasswordReset {
12410
+ namespace V2UsersSelfCredentialsInitMfa {
12411
+ namespace Post {
12412
+ namespace Parameters {
12413
+ type Path = {};
12414
+ interface RequestBody {
12415
+ }
12416
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
12417
+ type Query = {};
12418
+ }
12419
+ namespace Responses {
12420
+ namespace $200 {
12421
+ namespace Content {
12422
+ interface ApplicationJson {
12423
+ /**
12424
+ * base64 encoded barcode content to scan from your mfa app. e.g. `iVBORw0KGgoAAAANSUhEUgAAAMgAAADIEAAAAADYoy...`. You
12425
+ * can display it with `<img src="data:image/png;base64,iVBORw0KGgoAAAANSUh.." />`
12426
+ *
12427
+ */
12428
+ barcode: string;
12429
+ /**
12430
+ * Same as barcode, but in URL form.
12431
+ *
12432
+ */
12433
+ url: string;
12434
+ }
12435
+ }
12436
+ }
12437
+ namespace $400 {
12438
+ namespace Content {
12439
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
12440
+ }
12441
+ }
12442
+ namespace Default {
12443
+ namespace Content {
12444
+ interface ApplicationJson {
12445
+ [k: string]: unknown;
12446
+ }
12447
+ }
12448
+ }
12449
+ }
12450
+ }
12451
+ }
12452
+ namespace V2SignupPasswordReset { }
12453
+ namespace V2UsersSelfCredentialsActionsInitPasswordReset {
12347
12454
  namespace Post {
12348
12455
  namespace Parameters {
12349
12456
  type Path = {};
12350
12457
  interface RequestBody {
12351
12458
  /**
12352
- * email address to reset the password for
12459
+ * Email address to reset the password for.
12353
12460
  */
12354
12461
  email: string;
12355
12462
  }
@@ -12357,7 +12464,7 @@ export declare module MittwaldAPIV2 {
12357
12464
  type Query = {};
12358
12465
  }
12359
12466
  namespace Responses {
12360
- namespace $200 {
12467
+ namespace $201 {
12361
12468
  namespace Content {
12362
12469
  type Empty = unknown;
12363
12470
  }
@@ -12404,7 +12511,7 @@ export declare module MittwaldAPIV2 {
12404
12511
  }
12405
12512
  }
12406
12513
  }
12407
- namespace V2SignupSessions {
12514
+ namespace V2UsersSelfSessions {
12408
12515
  namespace Get {
12409
12516
  namespace Parameters {
12410
12517
  type Path = {};
@@ -12433,7 +12540,7 @@ export declare module MittwaldAPIV2 {
12433
12540
  type Query = {};
12434
12541
  }
12435
12542
  namespace Responses {
12436
- namespace $200 {
12543
+ namespace $204 {
12437
12544
  namespace Content {
12438
12545
  type Empty = unknown;
12439
12546
  }
@@ -12448,7 +12555,7 @@ export declare module MittwaldAPIV2 {
12448
12555
  }
12449
12556
  }
12450
12557
  }
12451
- namespace V2SignupLogout {
12558
+ namespace V2Logout {
12452
12559
  namespace Put {
12453
12560
  namespace Parameters {
12454
12561
  type Path = {};
@@ -12458,7 +12565,7 @@ export declare module MittwaldAPIV2 {
12458
12565
  type Query = {};
12459
12566
  }
12460
12567
  namespace Responses {
12461
- namespace $200 {
12568
+ namespace $204 {
12462
12569
  namespace Content {
12463
12570
  type Empty = unknown;
12464
12571
  }
@@ -12478,7 +12585,8 @@ export declare module MittwaldAPIV2 {
12478
12585
  }
12479
12586
  }
12480
12587
  }
12481
- namespace V2SignupRegistration {
12588
+ namespace V2SignupRegistration { }
12589
+ namespace V2Register {
12482
12590
  namespace Post {
12483
12591
  namespace Parameters {
12484
12592
  type Path = {};
@@ -12488,7 +12596,7 @@ export declare module MittwaldAPIV2 {
12488
12596
  */
12489
12597
  email: string;
12490
12598
  /**
12491
- * The users password
12599
+ * The users password.
12492
12600
  */
12493
12601
  password: string;
12494
12602
  person: MittwaldAPIV2.Components.Schemas.CommonsPerson;
@@ -12616,13 +12724,13 @@ export declare module MittwaldAPIV2 {
12616
12724
  }
12617
12725
  }
12618
12726
  }
12619
- namespace V2SignupEmailResend {
12727
+ namespace V2UsersSelfCredentialsEmailActionsResendEmail {
12620
12728
  namespace Post {
12621
12729
  namespace Parameters {
12622
12730
  type Path = {};
12623
12731
  interface RequestBody {
12624
- email?: string;
12625
- userId?: string;
12732
+ email: string;
12733
+ userId: string;
12626
12734
  }
12627
12735
  type Header = {};
12628
12736
  type Query = {};
@@ -12648,68 +12756,10 @@ export declare module MittwaldAPIV2 {
12648
12756
  }
12649
12757
  }
12650
12758
  }
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 {
12759
+ namespace V2SignupMfaResetRecoverycodes { }
12760
+ namespace V2SignupSupportcode { }
12761
+ namespace V2SignupSupportcodes { }
12762
+ namespace V2UsersSelfCredentialsSupportCode {
12713
12763
  namespace Get {
12714
12764
  namespace Parameters {
12715
12765
  type Path = {};
@@ -12743,17 +12793,17 @@ export declare module MittwaldAPIV2 {
12743
12793
  }
12744
12794
  }
12745
12795
  }
12746
- namespace V2SignupEmailVerify {
12796
+ namespace V2UsersSelfCredentialsEmailActionsVerifyEmail {
12747
12797
  namespace Post {
12748
12798
  namespace Parameters {
12749
12799
  type Path = {};
12750
12800
  interface RequestBody {
12751
12801
  /**
12752
- * The Email-Address to verify
12802
+ * The Email-Address to verify.
12753
12803
  */
12754
12804
  email: string;
12755
12805
  /**
12756
- * The token found in the verification email
12806
+ * The token found in the verification email.
12757
12807
  */
12758
12808
  token?: string;
12759
12809
  }
@@ -12761,7 +12811,7 @@ export declare module MittwaldAPIV2 {
12761
12811
  type Query = {};
12762
12812
  }
12763
12813
  namespace Responses {
12764
- namespace $200 {
12814
+ namespace $204 {
12765
12815
  namespace Content {
12766
12816
  type Empty = unknown;
12767
12817
  }
@@ -12838,13 +12888,14 @@ export declare module MittwaldAPIV2 {
12838
12888
  }
12839
12889
  }
12840
12890
  }
12841
- namespace V2SignupRegistrationVerification {
12891
+ namespace V2SignupRegistrationVerification { }
12892
+ namespace V2VerifyRegistration {
12842
12893
  namespace Post {
12843
12894
  namespace Parameters {
12844
12895
  type Path = {};
12845
12896
  interface RequestBody {
12846
12897
  /**
12847
- * The users email address
12898
+ * The users email address.
12848
12899
  */
12849
12900
  email: string;
12850
12901
  /**
@@ -12852,7 +12903,7 @@ export declare module MittwaldAPIV2 {
12852
12903
  */
12853
12904
  token: string;
12854
12905
  /**
12855
- * UUID of the registered user
12906
+ * UUID of the registered user.
12856
12907
  */
12857
12908
  userId: string;
12858
12909
  }