@mittwald/api-client 3.1.32 → 3.1.34

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.
@@ -268,8 +268,6 @@ declare const domainAbortDomainDeclaration: OpenAPIOperation<RequestType<Simplif
268
268
  declare const domainCheckDomainRegistrability: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainRegistrable.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
269
269
  /** List Domains */
270
270
  declare const domainListDomains: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Domains.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
271
- /** Create an auth code 2. */
272
- declare const domainCreateDomainAuthCode2: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode2.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode2.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode2.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode2.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode2.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode2.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode2.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode2.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
273
271
  /** Create an auth code for a Domains transfer-out process. */
274
272
  declare const domainCreateDomainAuthCode: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2DomainsDomainIdActionsAuthCode.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
275
273
  /** Update the nameservers of a Domain. */
@@ -559,9 +557,9 @@ declare const userGetPersonalizedSettings: OpenAPIOperation<RequestType<Simplify
559
557
  /** Update personalized GUI settings. */
560
558
  declare const userUpdatePersonalizedSettings: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Put.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Put.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Put.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Put.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Put.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Put.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
561
559
  /** Get poll settings for the specified user. */
562
- declare const userGetPollStatus: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
560
+ declare const userGetPollStatus: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
563
561
  /** Store new or update poll settings. */
564
- declare const userPostPollStatus: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsId.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
562
+ declare const userPostPollStatus: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Post.Responses.$403.Content.ApplicationJson>, 403, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
565
563
  /** Get a specific session. */
566
564
  declare const userGetSession: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsTokenId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsTokenId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsTokenId.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsTokenId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsTokenId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsTokenId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
567
565
  /** Terminate a specific Session. */
@@ -598,6 +596,14 @@ declare const userVerifyEmail: OpenAPIOperation<RequestType<Simplify<MittwaldAPI
598
596
  declare const userVerifyPhoneNumber: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
599
597
  /** Verify your registration. */
600
598
  declare const userVerifyRegistration: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$200.Content.Empty>, 200, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
599
+ /** Authenticate an user with an access token retrieval key. */
600
+ declare const userAuthenticateWithAccessTokenRetrievalKey: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2AuthenticateTokenRetrievalKey.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
601
+ /** Create an access token retrieval key to acquire an access token for your user. */
602
+ declare const userCreateAccessTokenRetrievalKey: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2UsersSelfTokenRetrievalKey.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfTokenRetrievalKey.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfTokenRetrievalKey.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfTokenRetrievalKey.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfTokenRetrievalKey.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfTokenRetrievalKey.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
603
+ /** Obtain authorization from the resource owner. */
604
+ declare const userOauthGetAuthorization: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2Oauth2Authorize.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Oauth2Authorize.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Oauth2Authorize.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2Authorize.Get.Responses.$302.Content.Empty>, 302, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2Authorize.Get.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2Authorize.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
605
+ /** Retrieve Access Token from Authorization Code. */
606
+ declare const userOauthRetrieveAccessToken: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2Oauth2Token.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2Oauth2Token.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2Oauth2Token.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2Oauth2Token.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2Token.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2Token.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2Oauth2Token.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
601
607
 
602
608
  declare namespace MittwaldAPIV2 {
603
609
  namespace Operations {
@@ -1133,10 +1139,6 @@ declare namespace MittwaldAPIV2 {
1133
1139
  type RequestData = RequestData<typeof domainListDomains>;
1134
1140
  type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof domainListDomains, TStatus>;
1135
1141
  }
1136
- namespace DomainCreateDomainAuthCode2 {
1137
- type RequestData = RequestData<typeof domainCreateDomainAuthCode2>;
1138
- type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof domainCreateDomainAuthCode2, TStatus>;
1139
- }
1140
1142
  namespace DomainCreateDomainAuthCode {
1141
1143
  type RequestData = RequestData<typeof domainCreateDomainAuthCode>;
1142
1144
  type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof domainCreateDomainAuthCode, TStatus>;
@@ -1793,6 +1795,22 @@ declare namespace MittwaldAPIV2 {
1793
1795
  type RequestData = RequestData<typeof userVerifyRegistration>;
1794
1796
  type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof userVerifyRegistration, TStatus>;
1795
1797
  }
1798
+ namespace UserAuthenticateWithAccessTokenRetrievalKey {
1799
+ type RequestData = RequestData<typeof userAuthenticateWithAccessTokenRetrievalKey>;
1800
+ type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof userAuthenticateWithAccessTokenRetrievalKey, TStatus>;
1801
+ }
1802
+ namespace UserCreateAccessTokenRetrievalKey {
1803
+ type RequestData = RequestData<typeof userCreateAccessTokenRetrievalKey>;
1804
+ type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof userCreateAccessTokenRetrievalKey, TStatus>;
1805
+ }
1806
+ namespace UserOauthGetAuthorization {
1807
+ type RequestData = RequestData<typeof userOauthGetAuthorization>;
1808
+ type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof userOauthGetAuthorization, TStatus>;
1809
+ }
1810
+ namespace UserOauthRetrieveAccessToken {
1811
+ type RequestData = RequestData<typeof userOauthRetrieveAccessToken>;
1812
+ type ResponseData<TStatus extends HttpStatus = 200> = ResponseData<typeof userOauthRetrieveAccessToken, TStatus>;
1813
+ }
1796
1814
  }
1797
1815
  namespace Components {
1798
1816
  namespace Schemas {
@@ -8975,49 +8993,6 @@ declare namespace MittwaldAPIV2 {
8975
8993
  }
8976
8994
  }
8977
8995
  }
8978
- namespace V2DomainsDomainIdActionsCreateAuthcode2 { }
8979
- namespace V2DomainsDomainIdActionsAuthCode2 {
8980
- namespace Post {
8981
- namespace Parameters {
8982
- type Path = {
8983
- domainId: string;
8984
- };
8985
- interface RequestBody {
8986
- [k: string]: unknown;
8987
- }
8988
- type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
8989
- type Query = {};
8990
- }
8991
- namespace Responses {
8992
- namespace $204 {
8993
- namespace Content {
8994
- type Empty = unknown;
8995
- }
8996
- }
8997
- namespace $400 {
8998
- namespace Content {
8999
- interface ApplicationJson {
9000
- [k: string]: unknown;
9001
- }
9002
- }
9003
- }
9004
- namespace $404 {
9005
- namespace Content {
9006
- interface ApplicationJson {
9007
- [k: string]: unknown;
9008
- }
9009
- }
9010
- }
9011
- namespace Default {
9012
- namespace Content {
9013
- interface ApplicationJson {
9014
- [k: string]: unknown;
9015
- }
9016
- }
9017
- }
9018
- }
9019
- }
9020
- }
9021
8996
  namespace V2DomainsDomainIdActionsCreateAuthcode { }
9022
8997
  namespace V2DomainsDomainIdActionsAuthCode {
9023
8998
  namespace Post {
@@ -15092,11 +15067,11 @@ declare namespace MittwaldAPIV2 {
15092
15067
  }
15093
15068
  }
15094
15069
  }
15095
- namespace V2PollSettingsId {
15070
+ namespace V2PollSettingsUserId {
15096
15071
  namespace Get {
15097
15072
  namespace Parameters {
15098
15073
  type Path = {
15099
- id: string;
15074
+ userId: string;
15100
15075
  };
15101
15076
  type Header = {};
15102
15077
  type Query = {};
@@ -15104,9 +15079,7 @@ declare namespace MittwaldAPIV2 {
15104
15079
  namespace Responses {
15105
15080
  namespace $200 {
15106
15081
  namespace Content {
15107
- type ApplicationJson = {
15108
- id: string;
15109
- } & MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
15082
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
15110
15083
  }
15111
15084
  }
15112
15085
  namespace $400 {
@@ -15135,7 +15108,7 @@ declare namespace MittwaldAPIV2 {
15135
15108
  namespace Post {
15136
15109
  namespace Parameters {
15137
15110
  type Path = {
15138
- id: string;
15111
+ userId: string;
15139
15112
  };
15140
15113
  interface RequestBody {
15141
15114
  status: "completed" | "muted" | "ignored";
@@ -15147,9 +15120,7 @@ declare namespace MittwaldAPIV2 {
15147
15120
  namespace Responses {
15148
15121
  namespace $200 {
15149
15122
  namespace Content {
15150
- type ApplicationJson = {
15151
- id: string;
15152
- } & MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
15123
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.PollUserPollSettings;
15153
15124
  }
15154
15125
  }
15155
15126
  namespace $400 {
@@ -15855,6 +15826,178 @@ declare namespace MittwaldAPIV2 {
15855
15826
  }
15856
15827
  }
15857
15828
  }
15829
+ namespace V2AuthenticateTokenRetrievalKey {
15830
+ namespace Post {
15831
+ namespace Parameters {
15832
+ type Path = {};
15833
+ interface RequestBody {
15834
+ accessTokenRetrievalKey: string;
15835
+ userId: string;
15836
+ }
15837
+ type Header = {};
15838
+ type Query = {};
15839
+ }
15840
+ namespace Responses {
15841
+ namespace $200 {
15842
+ namespace Content {
15843
+ interface ApplicationJson {
15844
+ expiresAt?: string;
15845
+ /**
15846
+ * Public token to identify yourself against the public api.
15847
+ */
15848
+ token: string;
15849
+ }
15850
+ }
15851
+ }
15852
+ namespace $400 {
15853
+ namespace Content {
15854
+ type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
15855
+ }
15856
+ }
15857
+ namespace Default {
15858
+ namespace Content {
15859
+ interface ApplicationJson {
15860
+ [k: string]: unknown;
15861
+ }
15862
+ }
15863
+ }
15864
+ }
15865
+ }
15866
+ }
15867
+ namespace V2UsersSelfTokenRetrievalKey {
15868
+ namespace Post {
15869
+ namespace Parameters {
15870
+ type Path = {};
15871
+ interface RequestBody {
15872
+ [k: string]: unknown;
15873
+ }
15874
+ type Header = {};
15875
+ type Query = {};
15876
+ }
15877
+ namespace Responses {
15878
+ namespace $201 {
15879
+ namespace Content {
15880
+ interface ApplicationJson {
15881
+ /**
15882
+ * This retrieval can be used as a one time password. It is only valid once and for a short time.
15883
+ */
15884
+ accessTokenRetrievalKey: string;
15885
+ userId: string;
15886
+ }
15887
+ }
15888
+ }
15889
+ namespace Default {
15890
+ namespace Content {
15891
+ interface ApplicationJson {
15892
+ [k: string]: unknown;
15893
+ }
15894
+ }
15895
+ }
15896
+ }
15897
+ }
15898
+ }
15899
+ namespace V2Oauth2Authorize {
15900
+ namespace Get {
15901
+ namespace Parameters {
15902
+ type Path = {};
15903
+ type Header = {};
15904
+ type Query = {
15905
+ grant_consent?: boolean;
15906
+ response_type: "code";
15907
+ client_id: string;
15908
+ redirect_uri?: string;
15909
+ scope?: string;
15910
+ state?: string;
15911
+ code_challenge?: string;
15912
+ code_challenge_method?: "S256";
15913
+ };
15914
+ }
15915
+ namespace Responses {
15916
+ namespace $302 {
15917
+ namespace Content {
15918
+ type Empty = unknown;
15919
+ }
15920
+ }
15921
+ namespace $400 {
15922
+ namespace Content {
15923
+ interface ApplicationJson {
15924
+ error: "invalid_request";
15925
+ error_description?: string;
15926
+ }
15927
+ }
15928
+ }
15929
+ namespace Default {
15930
+ namespace Content {
15931
+ interface ApplicationJson {
15932
+ [k: string]: unknown;
15933
+ }
15934
+ }
15935
+ }
15936
+ }
15937
+ }
15938
+ }
15939
+ namespace V2Oauth2Token {
15940
+ namespace Post {
15941
+ namespace Parameters {
15942
+ type Path = {};
15943
+ interface RequestBody {
15944
+ [k: string]: unknown;
15945
+ }
15946
+ type Header = {
15947
+ Authorization?: string;
15948
+ };
15949
+ type Query = {};
15950
+ }
15951
+ namespace Responses {
15952
+ namespace $200 {
15953
+ namespace Content {
15954
+ interface ApplicationJson {
15955
+ /**
15956
+ * The access token issued by the authorization server.
15957
+ *
15958
+ */
15959
+ access_token: string;
15960
+ /**
15961
+ * The lifetime in seconds of the access token. For
15962
+ * example, the value "3600" denotes that the access
15963
+ * token will expire in one hour from the time the
15964
+ * response was generated.
15965
+ *
15966
+ */
15967
+ expires_in: number;
15968
+ /**
15969
+ * The scope of the access token as described by
15970
+ * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-3.3).
15971
+ *
15972
+ */
15973
+ scope?: string;
15974
+ /**
15975
+ * The type of the token issued as described in
15976
+ * [RFC6749](https://datatracker.ietf.org/doc/html/rfc6749#section-7.1).
15977
+ *
15978
+ */
15979
+ token_type: "bearer";
15980
+ }
15981
+ }
15982
+ }
15983
+ namespace $400 {
15984
+ namespace Content {
15985
+ interface ApplicationJson {
15986
+ error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
15987
+ error_description?: string;
15988
+ }
15989
+ }
15990
+ }
15991
+ namespace Default {
15992
+ namespace Content {
15993
+ interface ApplicationJson {
15994
+ [k: string]: unknown;
15995
+ }
15996
+ }
15997
+ }
15998
+ }
15999
+ }
16000
+ }
15858
16001
  }
15859
16002
  }
15860
16003
 
@@ -21114,39 +21257,6 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
21114
21257
  }, _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<MittwaldAPIV2.Components.Schemas.DomainDomain[], 200, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
21115
21258
  [x: string]: unknown;
21116
21259
  }, 400, "application/json">>>;
21117
- /** Create an auth code 2. */
21118
- createDomainAuthCode2: (request: {
21119
- domainId: string;
21120
- data?: {
21121
- [x: string]: unknown;
21122
- } | undefined;
21123
- headers?: {
21124
- [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
21125
- "x-access-token"?: string | undefined;
21126
- } | undefined;
21127
- }) => _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.c<_yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.O<{
21128
- data: {
21129
- [x: string]: unknown;
21130
- };
21131
- } & {
21132
- pathParameters: {
21133
- domainId: string;
21134
- };
21135
- } & {
21136
- headers?: Partial<{
21137
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21138
- }> | undefined;
21139
- } & {
21140
- headers: {
21141
- "x-access-token"?: string | undefined;
21142
- } & Partial<{
21143
- [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
21144
- }>; /** Get a specific `AppVersion`. */
21145
- }, _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{}, 204, "empty"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
21146
- [x: string]: unknown;
21147
- }, 400, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
21148
- [x: string]: unknown;
21149
- }, 404, "application/json">>>;
21150
21260
  /** Create an auth code for a Domains transfer-out process. */
21151
21261
  createDomainAuthCode: (request: {
21152
21262
  domainId: string;
@@ -23793,7 +23903,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23793
23903
  }, 400, "application/json">>>;
23794
23904
  /** Get poll settings for the specified user. */
23795
23905
  getPollStatus: (request: {
23796
- id: string;
23906
+ userId: string;
23797
23907
  headers?: {
23798
23908
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
23799
23909
  } | undefined;
@@ -23803,10 +23913,9 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23803
23913
  }> | undefined;
23804
23914
  } & {
23805
23915
  pathParameters: {
23806
- id: string;
23916
+ userId: string;
23807
23917
  };
23808
23918
  }, _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
23809
- id: string;
23810
23919
  completedAt?: string | undefined;
23811
23920
  dontShowUntil?: string | undefined;
23812
23921
  ignoredAt?: string | undefined;
@@ -23824,7 +23933,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23824
23933
  status: "completed" | "muted" | "ignored";
23825
23934
  userId: string;
23826
23935
  };
23827
- id: string;
23936
+ userId: string;
23828
23937
  headers?: {
23829
23938
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
23830
23939
  } | undefined;
@@ -23835,14 +23944,13 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23835
23944
  };
23836
23945
  } & {
23837
23946
  pathParameters: {
23838
- id: string;
23947
+ userId: string;
23839
23948
  };
23840
23949
  } & {
23841
23950
  headers?: Partial<{
23842
23951
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23843
23952
  }> | undefined;
23844
23953
  }, _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
23845
- id: string;
23846
23954
  completedAt?: string | undefined;
23847
23955
  dontShowUntil?: string | undefined;
23848
23956
  ignoredAt?: string | undefined;
@@ -24361,6 +24469,119 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24361
24469
  }, 400, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
24362
24470
  [x: string]: unknown;
24363
24471
  }, 404, "application/json">>>;
24472
+ /** Authenticate an user with an access token retrieval key. */
24473
+ authenticateWithAccessTokenRetrievalKey: (request: {
24474
+ data: {
24475
+ accessTokenRetrievalKey: string;
24476
+ userId: string;
24477
+ };
24478
+ headers?: {
24479
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
24480
+ } | undefined;
24481
+ }) => _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.c<_yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.O<{
24482
+ data: {
24483
+ accessTokenRetrievalKey: string;
24484
+ userId: string;
24485
+ };
24486
+ } & {
24487
+ headers?: Partial<{
24488
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24489
+ }> | undefined;
24490
+ }, _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
24491
+ type: "ValidationError";
24492
+ message?: string | undefined;
24493
+ validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
24494
+ }, 400, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
24495
+ expiresAt?: string | undefined;
24496
+ token: string;
24497
+ }, 200, "application/json">>>;
24498
+ /** Create an access token retrieval key to acquire an access token for your user. */
24499
+ createAccessTokenRetrievalKey: (request?: {
24500
+ data?: {
24501
+ [x: string]: unknown;
24502
+ } | undefined;
24503
+ headers?: {
24504
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
24505
+ } | undefined;
24506
+ } | null | undefined) => _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.c<_yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.O<{
24507
+ data: {
24508
+ [x: string]: unknown;
24509
+ };
24510
+ } & {
24511
+ headers?: Partial<{
24512
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24513
+ }> | undefined;
24514
+ }, _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
24515
+ accessTokenRetrievalKey: string;
24516
+ userId: string;
24517
+ }, 201, "application/json">>>;
24518
+ /** Obtain authorization from the resource owner. */
24519
+ oauthGetAuthorization: (request: {
24520
+ queryParameters: {
24521
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
24522
+ grant_consent?: boolean | undefined;
24523
+ redirect_uri?: string | undefined;
24524
+ scope?: string | undefined;
24525
+ state?: string | undefined;
24526
+ code_challenge?: string | undefined;
24527
+ code_challenge_method?: "S256" | undefined;
24528
+ };
24529
+ headers?: {
24530
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
24531
+ } | undefined;
24532
+ }) => _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.c<_yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.O<{
24533
+ headers?: Partial<{
24534
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24535
+ }> | undefined;
24536
+ } & {
24537
+ queryParameters: {
24538
+ grant_consent?: boolean | undefined;
24539
+ response_type: "code";
24540
+ client_id: string;
24541
+ redirect_uri?: string | undefined;
24542
+ scope?: string | undefined;
24543
+ state?: string | undefined;
24544
+ code_challenge?: string | undefined;
24545
+ code_challenge_method?: "S256" | undefined;
24546
+ } & Partial<{
24547
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24548
+ }>;
24549
+ }, _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{}, 302, "empty"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
24550
+ error: "invalid_request";
24551
+ error_description?: string | undefined;
24552
+ }, 400, "application/json">>>;
24553
+ /** Retrieve Access Token from Authorization Code. */
24554
+ oauthRetrieveAccessToken: (request?: {
24555
+ data?: {
24556
+ [x: string]: unknown;
24557
+ } | undefined;
24558
+ headers?: {
24559
+ [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
24560
+ Authorization?: string | undefined;
24561
+ } | undefined;
24562
+ } | null | undefined) => _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.c<_yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.O<{
24563
+ data: {
24564
+ [x: string]: unknown;
24565
+ };
24566
+ } & {
24567
+ headers?: Partial<{
24568
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24569
+ }> | undefined;
24570
+ } & {
24571
+ headers: {
24572
+ Authorization?: string | undefined;
24573
+ } & Partial<{
24574
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24575
+ }>; /** Get a specific `AppVersion`. */
24576
+ }, _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
24577
+ access_token: string;
24578
+ expires_in: number;
24579
+ scope?: string | undefined;
24580
+ token_type: "bearer";
24581
+ }, 200, "application/json"> | _yarn___virtual____mittwald_api_client_commons_virtual_7b98ca03c4_1_packages_commons_dist_shared_api_client_commons_5e434015_mjs.R<{
24582
+ error: "invalid_request" | "invalid_client" | "invalid_grant" | "unauthorized_client" | "unsupported_grant_type" | "invalid_scope";
24583
+ error_description?: string | undefined;
24584
+ }, 400, "application/json">>>;
24364
24585
  };
24365
24586
  /** The project API allows you to manage your projects, and also any kinds of user memberships concerning these projects. */
24366
24587
  readonly project: {