@mittwald/api-client 3.1.49 → 3.1.50

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.
package/dist/index.d.mts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { assertStatus } from '@mittwald/api-client-commons';
2
- import { M as MittwaldAPIV2Client } from './shared/api-client.e76f0af5.mjs';
3
- export { a as MittwaldAPIV2 } from './shared/api-client.e76f0af5.mjs';
2
+ import { M as MittwaldAPIV2Client } from './shared/api-client.d6a88a7b.mjs';
3
+ export { a as MittwaldAPIV2 } from './shared/api-client.d6a88a7b.mjs';
4
4
  import 'axios';
5
5
 
6
6
  declare class MittwaldAPIClient extends MittwaldAPIV2Client {
package/dist/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  export { assertStatus } from '@mittwald/api-client-commons';
2
- import { M as MittwaldAPIV2Client } from './shared/api-client.e76f0af5.js';
3
- export { a as MittwaldAPIV2 } from './shared/api-client.e76f0af5.js';
2
+ import { M as MittwaldAPIV2Client } from './shared/api-client.d6a88a7b.js';
3
+ export { a as MittwaldAPIV2 } from './shared/api-client.d6a88a7b.js';
4
4
  import 'axios';
5
5
 
6
6
  declare class MittwaldAPIClient extends MittwaldAPIV2Client {
package/dist/react.d.mts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _mittwald_react_use_promise from '@mittwald/react-use-promise';
2
- import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.e76f0af5.mjs';
2
+ import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.d6a88a7b.mjs';
3
3
  import '@mittwald/api-client-commons';
4
4
  import 'axios';
5
5
 
@@ -1196,6 +1196,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1196
1196
  }) => _mittwald_react_use_promise.AsyncResource<{
1197
1197
  friendlyURL: string;
1198
1198
  id: string;
1199
+ mimeType: string;
1199
1200
  name: string;
1200
1201
  sizeInBytes: number;
1201
1202
  type: string;
@@ -1207,6 +1208,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1207
1208
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1208
1209
  } | undefined;
1209
1210
  }) => _mittwald_react_use_promise.AsyncResource<{
1211
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
1210
1212
  maxSizeInKB: number;
1211
1213
  mimeTypes: string[];
1212
1214
  properties?: {
@@ -1229,6 +1231,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1229
1231
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1230
1232
  } | undefined;
1231
1233
  }) => _mittwald_react_use_promise.AsyncResource<{
1234
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
1232
1235
  maxSizeInKB: number;
1233
1236
  mimeTypes: string[];
1234
1237
  properties?: {
@@ -1614,6 +1617,7 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1614
1617
  queryParameters: {
1615
1618
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1616
1619
  grant_consent?: boolean | undefined;
1620
+ grant_type?: "authorization_code" | undefined;
1617
1621
  redirect_uri?: string | undefined;
1618
1622
  scope?: string | undefined;
1619
1623
  state?: string | undefined;
@@ -1635,8 +1639,8 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1635
1639
  forceRecreate?: boolean | undefined;
1636
1640
  } | undefined;
1637
1641
  } | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
1638
- expiresAt?: string | undefined;
1639
- supportCode?: string | undefined;
1642
+ expiresAt: string;
1643
+ supportCode: string;
1640
1644
  }>;
1641
1645
  };
1642
1646
  declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
package/dist/react.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as _mittwald_react_use_promise from '@mittwald/react-use-promise';
2
- import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.e76f0af5.js';
2
+ import { M as MittwaldAPIV2Client, a as MittwaldAPIV2 } from './shared/api-client.d6a88a7b.js';
3
3
  import '@mittwald/api-client-commons';
4
4
  import 'axios';
5
5
 
@@ -1196,6 +1196,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1196
1196
  }) => _mittwald_react_use_promise.AsyncResource<{
1197
1197
  friendlyURL: string;
1198
1198
  id: string;
1199
+ mimeType: string;
1199
1200
  name: string;
1200
1201
  sizeInBytes: number;
1201
1202
  type: string;
@@ -1207,6 +1208,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1207
1208
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1208
1209
  } | undefined;
1209
1210
  }) => _mittwald_react_use_promise.AsyncResource<{
1211
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
1210
1212
  maxSizeInKB: number;
1211
1213
  mimeTypes: string[];
1212
1214
  properties?: {
@@ -1229,6 +1231,7 @@ declare const buildFileApi: (baseClient: MittwaldAPIV2Client) => {
1229
1231
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1230
1232
  } | undefined;
1231
1233
  }) => _mittwald_react_use_promise.AsyncResource<{
1234
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
1232
1235
  maxSizeInKB: number;
1233
1236
  mimeTypes: string[];
1234
1237
  properties?: {
@@ -1614,6 +1617,7 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1614
1617
  queryParameters: {
1615
1618
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
1616
1619
  grant_consent?: boolean | undefined;
1620
+ grant_type?: "authorization_code" | undefined;
1617
1621
  redirect_uri?: string | undefined;
1618
1622
  scope?: string | undefined;
1619
1623
  state?: string | undefined;
@@ -1635,8 +1639,8 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
1635
1639
  forceRecreate?: boolean | undefined;
1636
1640
  } | undefined;
1637
1641
  } | null | undefined) => _mittwald_react_use_promise.AsyncResource<{
1638
- expiresAt?: string | undefined;
1639
- supportCode?: string | undefined;
1642
+ expiresAt: string;
1643
+ supportCode: string;
1640
1644
  }>;
1641
1645
  };
1642
1646
  declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
@@ -580,7 +580,7 @@ declare const userCreateFeedback: OpenAPIOperation$1<RequestType$1<Simplify<Mitt
580
580
  /** Get your stored ssh-keys. */
581
581
  declare const userListSshKeys: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
582
582
  /** Store a new ssh-key. */
583
- declare const userCreateSshKey: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Responses.$201.Content.Empty>, 201, "empty"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
583
+ declare const userCreateSshKey: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
584
584
  /** Get a specific ApiToken. */
585
585
  declare const userGetApiToken: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokensApiTokenId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokensApiTokenId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokensApiTokenId.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokensApiTokenId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokensApiTokenId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokensApiTokenId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
586
586
  /** Update an existing `ApiToken`. */
@@ -620,7 +620,7 @@ declare const userUpdatePersonalInformation: OpenAPIOperation$1<RequestType$1<Si
620
620
  /** Initialize Multi Factor Authentication. If successful, it needs to be confirmed, before usage of mfa. */
621
621
  declare const userInitMfa: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsInitMfa.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsInitMfa.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsInitMfa.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsInitMfa.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsInitMfa.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsInitMfa.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsInitMfa.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
622
622
  /** Initialize password reset process. */
623
- declare const userInitPasswordReset: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Responses.$201.Content.Empty>, 201, "empty"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
623
+ declare const userInitPasswordReset: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
624
624
  /** Submitted feedback of the given user. */
625
625
  declare const userListFeedback: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdFeedback.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdFeedback.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdFeedback.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdFeedback.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdFeedback.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
626
626
  /** List all sessions. */
@@ -648,7 +648,7 @@ declare const userVerifyEmail: OpenAPIOperation$1<RequestType$1<Simplify<Mittwal
648
648
  /** Verify phone number. */
649
649
  declare const userVerifyPhoneNumber: OpenAPIOperation$1<RequestType$1<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$1<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
650
650
  /** Verify your registration. */
651
- declare const userVerifyRegistration: OpenAPIOperation$1<RequestType$1<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$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$200.Content.Empty>, 200, "empty"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
651
+ declare const userVerifyRegistration: OpenAPIOperation$1<RequestType$1<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$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
652
652
 
653
653
  declare namespace MittwaldAPIV2 {
654
654
  namespace Operations {
@@ -2213,7 +2213,7 @@ declare namespace MittwaldAPIV2 {
2213
2213
  interface ContractArticle {
2214
2214
  amount: number;
2215
2215
  articleTemplateId: string;
2216
- description: string;
2216
+ description?: string;
2217
2217
  id: string;
2218
2218
  name: string;
2219
2219
  unitPrice: MittwaldAPIV2.Components.Schemas.ContractPrice;
@@ -2827,11 +2827,17 @@ declare namespace MittwaldAPIV2 {
2827
2827
  interface FileFileMeta {
2828
2828
  friendlyURL: string;
2829
2829
  id: string;
2830
+ mimeType: string;
2830
2831
  name: string;
2831
2832
  sizeInBytes: number;
2833
+ /**
2834
+ * @deprecated
2835
+ * deprecated, see mimeType
2836
+ */
2832
2837
  type: string;
2833
2838
  }
2834
2839
  interface FileFileUploadRules {
2840
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
2835
2841
  maxSizeInKB: number;
2836
2842
  mimeTypes: string[];
2837
2843
  properties?: {
@@ -3747,6 +3753,10 @@ declare namespace MittwaldAPIV2 {
3747
3753
  location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
3748
3754
  tokenId: string;
3749
3755
  }
3756
+ interface FileFileType {
3757
+ extensions: string[];
3758
+ mimeType: string;
3759
+ }
3750
3760
  interface CommonsAddress {
3751
3761
  street: string;
3752
3762
  houseNumber: string;
@@ -14064,7 +14074,7 @@ declare namespace MittwaldAPIV2 {
14064
14074
  /**
14065
14075
  * Expiration unix timestamp
14066
14076
  */
14067
- expires: string;
14077
+ expires?: string;
14068
14078
  /**
14069
14079
  * Public token to identify yourself against the api gateway.
14070
14080
  */
@@ -14119,7 +14129,7 @@ declare namespace MittwaldAPIV2 {
14119
14129
  /**
14120
14130
  * Expiration unix timestamp
14121
14131
  */
14122
- expires: string;
14132
+ expires?: string;
14123
14133
  /**
14124
14134
  * Public token to identify yourself against the api gateway.
14125
14135
  */
@@ -14136,7 +14146,9 @@ declare namespace MittwaldAPIV2 {
14136
14146
  }
14137
14147
  namespace $400 {
14138
14148
  namespace Content {
14139
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
14149
+ interface ApplicationJson {
14150
+ [k: string]: unknown;
14151
+ }
14140
14152
  }
14141
14153
  }
14142
14154
  namespace $401 {
@@ -14179,7 +14191,9 @@ declare namespace MittwaldAPIV2 {
14179
14191
  }
14180
14192
  namespace $400 {
14181
14193
  namespace Content {
14182
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
14194
+ interface ApplicationJson {
14195
+ [k: string]: unknown;
14196
+ }
14183
14197
  }
14184
14198
  }
14185
14199
  namespace Default {
@@ -14287,7 +14301,7 @@ declare namespace MittwaldAPIV2 {
14287
14301
  /**
14288
14302
  * Expiration unix timestamp.
14289
14303
  */
14290
- expires: string;
14304
+ expires?: string;
14291
14305
  /**
14292
14306
  * Public token to identify yourself against the api gateway.
14293
14307
  */
@@ -14572,7 +14586,7 @@ declare namespace MittwaldAPIV2 {
14572
14586
  interface RequestBody {
14573
14587
  [k: string]: unknown;
14574
14588
  }
14575
- type Header = {};
14589
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14576
14590
  type Query = {};
14577
14591
  }
14578
14592
  namespace Responses {
@@ -14762,7 +14776,8 @@ declare namespace MittwaldAPIV2 {
14762
14776
  namespace Responses {
14763
14777
  namespace $201 {
14764
14778
  namespace Content {
14765
- type Empty = unknown;
14779
+ interface ApplicationJson {
14780
+ }
14766
14781
  }
14767
14782
  }
14768
14783
  namespace $400 {
@@ -15438,7 +15453,8 @@ declare namespace MittwaldAPIV2 {
15438
15453
  namespace Responses {
15439
15454
  namespace $201 {
15440
15455
  namespace Content {
15441
- type Empty = unknown;
15456
+ interface ApplicationJson {
15457
+ }
15442
15458
  }
15443
15459
  }
15444
15460
  namespace $400 {
@@ -15564,6 +15580,7 @@ declare namespace MittwaldAPIV2 {
15564
15580
  type Header = {};
15565
15581
  type Query = {
15566
15582
  grant_consent?: boolean;
15583
+ grant_type?: "authorization_code";
15567
15584
  response_type: "code";
15568
15585
  client_id: string;
15569
15586
  redirect_uri?: string;
@@ -15856,11 +15873,11 @@ declare namespace MittwaldAPIV2 {
15856
15873
  /**
15857
15874
  * Expiration of the support code
15858
15875
  */
15859
- expiresAt?: string;
15876
+ expiresAt: string;
15860
15877
  /**
15861
15878
  * support code to authenticate yourself against the mittwald support via telephone
15862
15879
  */
15863
- supportCode?: string;
15880
+ supportCode: string;
15864
15881
  }
15865
15882
  }
15866
15883
  }
@@ -15995,7 +16012,8 @@ declare namespace MittwaldAPIV2 {
15995
16012
  namespace Responses {
15996
16013
  namespace $200 {
15997
16014
  namespace Content {
15998
- type Empty = unknown;
16015
+ interface ApplicationJson {
16016
+ }
15999
16017
  }
16000
16018
  }
16001
16019
  namespace $400 {
@@ -21928,6 +21946,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
21928
21946
  }, Response<{
21929
21947
  friendlyURL: string;
21930
21948
  id: string;
21949
+ mimeType: string;
21931
21950
  name: string;
21932
21951
  sizeInBytes: number;
21933
21952
  type: string;
@@ -21959,6 +21978,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
21959
21978
  }, Response<{
21960
21979
  friendlyURL: string;
21961
21980
  id: string;
21981
+ mimeType: string;
21962
21982
  name: string;
21963
21983
  sizeInBytes: number;
21964
21984
  type: string;
@@ -21990,6 +22010,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
21990
22010
  fileUploadToken: string;
21991
22011
  };
21992
22012
  }, Response<{
22013
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
21993
22014
  maxSizeInKB: number;
21994
22015
  mimeTypes: string[];
21995
22016
  properties?: {
@@ -22026,6 +22047,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
22026
22047
  fileUploadType: "avatar" | "conversation";
22027
22048
  };
22028
22049
  }, Response<{
22050
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
22029
22051
  maxSizeInKB: number;
22030
22052
  mimeTypes: string[];
22031
22053
  properties?: {
@@ -23156,7 +23178,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23156
23178
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23157
23179
  }> | undefined;
23158
23180
  }, Response<{
23159
- expires: string;
23181
+ expires?: string | undefined;
23160
23182
  token: string;
23161
23183
  }, 200, "application/json"> | Response<{
23162
23184
  type: "ValidationError";
@@ -23186,15 +23208,13 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23186
23208
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23187
23209
  }> | undefined;
23188
23210
  }, Response<{
23189
- type: "ValidationError";
23190
- message?: string | undefined;
23191
- validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
23192
- }, 400, "application/json"> | Response<{
23193
- expires: string;
23211
+ expires?: string | undefined;
23194
23212
  token: string;
23195
23213
  }, 200, "application/json"> | Response<{
23196
23214
  name?: "SecondFactorRequired" | undefined;
23197
23215
  }, 202, "application/json"> | Response<{
23216
+ [x: string]: unknown;
23217
+ }, 400, "application/json"> | Response<{
23198
23218
  type: "ValidationError";
23199
23219
  message?: string | undefined;
23200
23220
  validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
@@ -23218,13 +23238,11 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23218
23238
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23219
23239
  }> | undefined;
23220
23240
  }, Response<{
23221
- type: "ValidationError";
23222
- message?: string | undefined;
23223
- validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
23224
- }, 400, "application/json"> | Response<{
23225
23241
  expiresAt?: string | undefined;
23226
23242
  token: string;
23227
- }, 200, "application/json">>>;
23243
+ }, 200, "application/json"> | Response<{
23244
+ [x: string]: unknown;
23245
+ }, 400, "application/json">>>;
23228
23246
  /** Get your verified Email-Address. */
23229
23247
  getOwnEmail: (request?: {
23230
23248
  headers?: {
@@ -23306,7 +23324,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23306
23324
  message?: string | undefined;
23307
23325
  validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
23308
23326
  }, 400, "application/json"> | Response<{
23309
- expires: string;
23327
+ expires?: string | undefined;
23310
23328
  token: string;
23311
23329
  }, 200, "application/json"> | Response<{
23312
23330
  [x: string]: unknown;
@@ -23471,6 +23489,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23471
23489
  } | undefined;
23472
23490
  headers?: {
23473
23491
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
23492
+ "x-access-token"?: string | undefined;
23474
23493
  } | undefined;
23475
23494
  } | null | undefined) => ResponsePromise<OpenAPIOperation<{
23476
23495
  data: {
@@ -23480,6 +23499,12 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23480
23499
  headers?: Partial<{
23481
23500
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23482
23501
  }> | undefined;
23502
+ } & {
23503
+ headers: {
23504
+ "x-access-token"?: string | undefined;
23505
+ } & Partial<{
23506
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23507
+ }>;
23483
23508
  }, Response<{
23484
23509
  accessTokenRetrievalKey: string;
23485
23510
  userId: string;
@@ -23613,7 +23638,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23613
23638
  } & Partial<{
23614
23639
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23615
23640
  }>;
23616
- }, Response<{}, 201, "empty"> | Response<{
23641
+ }, Response<{}, 201, "application/json"> | Response<{
23617
23642
  [x: string]: unknown;
23618
23643
  }, 400, "application/json">>>;
23619
23644
  /** Get a specific ApiToken. */
@@ -24182,7 +24207,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24182
24207
  type: "ValidationError";
24183
24208
  message?: string | undefined;
24184
24209
  validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
24185
- }, 400, "application/json"> | Response<{}, 201, "empty">>>;
24210
+ }, 400, "application/json"> | Response<{}, 201, "application/json">>>;
24186
24211
  /** Submitted feedback of the given user. */
24187
24212
  listFeedback: (request: {
24188
24213
  userId: string;
@@ -24275,6 +24300,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24275
24300
  queryParameters: {
24276
24301
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
24277
24302
  grant_consent?: boolean | undefined;
24303
+ grant_type?: "authorization_code" | undefined;
24278
24304
  redirect_uri?: string | undefined;
24279
24305
  scope?: string | undefined;
24280
24306
  state?: string | undefined;
@@ -24291,6 +24317,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24291
24317
  } & {
24292
24318
  queryParameters: {
24293
24319
  grant_consent?: boolean | undefined;
24320
+ grant_type?: "authorization_code" | undefined;
24294
24321
  response_type: "code";
24295
24322
  client_id: string;
24296
24323
  redirect_uri?: string | undefined;
@@ -24486,8 +24513,8 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24486
24513
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24487
24514
  }>;
24488
24515
  }, Response<{
24489
- expiresAt?: string | undefined;
24490
- supportCode?: string | undefined;
24516
+ expiresAt: string;
24517
+ supportCode: string;
24491
24518
  }, 200, "application/json">>>;
24492
24519
  /** Verify an added Email-Address. */
24493
24520
  verifyEmail: (request: {
@@ -24578,11 +24605,11 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24578
24605
  headers?: Partial<{
24579
24606
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24580
24607
  }> | undefined;
24581
- }, Response<{}, 200, "empty"> | Response<{
24608
+ }, Response<{
24582
24609
  type: "ValidationError";
24583
24610
  message?: string | undefined;
24584
24611
  validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
24585
- }, 400, "application/json"> | Response<{
24612
+ }, 400, "application/json"> | Response<{}, 200, "application/json"> | Response<{
24586
24613
  [x: string]: unknown;
24587
24614
  }, 404, "application/json">>>;
24588
24615
  };
@@ -580,7 +580,7 @@ declare const userCreateFeedback: OpenAPIOperation$1<RequestType$1<Simplify<Mitt
580
580
  /** Get your stored ssh-keys. */
581
581
  declare const userListSshKeys: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
582
582
  /** Store a new ssh-key. */
583
- declare const userCreateSshKey: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Responses.$201.Content.Empty>, 201, "empty"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
583
+ declare const userCreateSshKey: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSshKeys.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
584
584
  /** Get a specific ApiToken. */
585
585
  declare const userGetApiToken: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokensApiTokenId.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokensApiTokenId.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokensApiTokenId.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokensApiTokenId.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokensApiTokenId.Get.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfApiTokensApiTokenId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
586
586
  /** Update an existing `ApiToken`. */
@@ -620,7 +620,7 @@ declare const userUpdatePersonalInformation: OpenAPIOperation$1<RequestType$1<Si
620
620
  /** Initialize Multi Factor Authentication. If successful, it needs to be confirmed, before usage of mfa. */
621
621
  declare const userInitMfa: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsInitMfa.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsInitMfa.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsInitMfa.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsInitMfa.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsInitMfa.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsInitMfa.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsInitMfa.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
622
622
  /** Initialize password reset process. */
623
- declare const userInitPasswordReset: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Responses.$201.Content.Empty>, 201, "empty"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
623
+ declare const userInitPasswordReset: OpenAPIOperation$1<RequestType$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Responses.$201.Content.ApplicationJson>, 201, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersSelfCredentialsActionsInitPasswordReset.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
624
624
  /** Submitted feedback of the given user. */
625
625
  declare const userListFeedback: OpenAPIOperation$1<RequestType$1<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdFeedback.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdFeedback.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdFeedback.Get.Parameters.Header>>, Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdFeedback.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdFeedback.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
626
626
  /** List all sessions. */
@@ -648,7 +648,7 @@ declare const userVerifyEmail: OpenAPIOperation$1<RequestType$1<Simplify<Mittwal
648
648
  /** Verify phone number. */
649
649
  declare const userVerifyPhoneNumber: OpenAPIOperation$1<RequestType$1<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$1<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$204.Content.Empty>, 204, "empty"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.$409.Content.ApplicationJson>, 409, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdActionsVerifyPhone.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
650
650
  /** Verify your registration. */
651
- declare const userVerifyRegistration: OpenAPIOperation$1<RequestType$1<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$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$200.Content.Empty>, 200, "empty"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
651
+ declare const userVerifyRegistration: OpenAPIOperation$1<RequestType$1<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$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$400.Content.ApplicationJson>, 400, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.$404.Content.ApplicationJson>, 404, "application/json"> | Response$1<Simplify<MittwaldAPIV2.Paths.V2VerifyRegistration.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
652
652
 
653
653
  declare namespace MittwaldAPIV2 {
654
654
  namespace Operations {
@@ -2213,7 +2213,7 @@ declare namespace MittwaldAPIV2 {
2213
2213
  interface ContractArticle {
2214
2214
  amount: number;
2215
2215
  articleTemplateId: string;
2216
- description: string;
2216
+ description?: string;
2217
2217
  id: string;
2218
2218
  name: string;
2219
2219
  unitPrice: MittwaldAPIV2.Components.Schemas.ContractPrice;
@@ -2827,11 +2827,17 @@ declare namespace MittwaldAPIV2 {
2827
2827
  interface FileFileMeta {
2828
2828
  friendlyURL: string;
2829
2829
  id: string;
2830
+ mimeType: string;
2830
2831
  name: string;
2831
2832
  sizeInBytes: number;
2833
+ /**
2834
+ * @deprecated
2835
+ * deprecated, see mimeType
2836
+ */
2832
2837
  type: string;
2833
2838
  }
2834
2839
  interface FileFileUploadRules {
2840
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
2835
2841
  maxSizeInKB: number;
2836
2842
  mimeTypes: string[];
2837
2843
  properties?: {
@@ -3747,6 +3753,10 @@ declare namespace MittwaldAPIV2 {
3747
3753
  location?: MittwaldAPIV2.Components.Schemas.SignupLocation;
3748
3754
  tokenId: string;
3749
3755
  }
3756
+ interface FileFileType {
3757
+ extensions: string[];
3758
+ mimeType: string;
3759
+ }
3750
3760
  interface CommonsAddress {
3751
3761
  street: string;
3752
3762
  houseNumber: string;
@@ -14064,7 +14074,7 @@ declare namespace MittwaldAPIV2 {
14064
14074
  /**
14065
14075
  * Expiration unix timestamp
14066
14076
  */
14067
- expires: string;
14077
+ expires?: string;
14068
14078
  /**
14069
14079
  * Public token to identify yourself against the api gateway.
14070
14080
  */
@@ -14119,7 +14129,7 @@ declare namespace MittwaldAPIV2 {
14119
14129
  /**
14120
14130
  * Expiration unix timestamp
14121
14131
  */
14122
- expires: string;
14132
+ expires?: string;
14123
14133
  /**
14124
14134
  * Public token to identify yourself against the api gateway.
14125
14135
  */
@@ -14136,7 +14146,9 @@ declare namespace MittwaldAPIV2 {
14136
14146
  }
14137
14147
  namespace $400 {
14138
14148
  namespace Content {
14139
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
14149
+ interface ApplicationJson {
14150
+ [k: string]: unknown;
14151
+ }
14140
14152
  }
14141
14153
  }
14142
14154
  namespace $401 {
@@ -14179,7 +14191,9 @@ declare namespace MittwaldAPIV2 {
14179
14191
  }
14180
14192
  namespace $400 {
14181
14193
  namespace Content {
14182
- type ApplicationJson = MittwaldAPIV2.Components.Schemas.CommonsValidationErrors;
14194
+ interface ApplicationJson {
14195
+ [k: string]: unknown;
14196
+ }
14183
14197
  }
14184
14198
  }
14185
14199
  namespace Default {
@@ -14287,7 +14301,7 @@ declare namespace MittwaldAPIV2 {
14287
14301
  /**
14288
14302
  * Expiration unix timestamp.
14289
14303
  */
14290
- expires: string;
14304
+ expires?: string;
14291
14305
  /**
14292
14306
  * Public token to identify yourself against the api gateway.
14293
14307
  */
@@ -14572,7 +14586,7 @@ declare namespace MittwaldAPIV2 {
14572
14586
  interface RequestBody {
14573
14587
  [k: string]: unknown;
14574
14588
  }
14575
- type Header = {};
14589
+ type Header = {} & MittwaldAPIV2.Components.SecuritySchemes.CommonsAccessToken;
14576
14590
  type Query = {};
14577
14591
  }
14578
14592
  namespace Responses {
@@ -14762,7 +14776,8 @@ declare namespace MittwaldAPIV2 {
14762
14776
  namespace Responses {
14763
14777
  namespace $201 {
14764
14778
  namespace Content {
14765
- type Empty = unknown;
14779
+ interface ApplicationJson {
14780
+ }
14766
14781
  }
14767
14782
  }
14768
14783
  namespace $400 {
@@ -15438,7 +15453,8 @@ declare namespace MittwaldAPIV2 {
15438
15453
  namespace Responses {
15439
15454
  namespace $201 {
15440
15455
  namespace Content {
15441
- type Empty = unknown;
15456
+ interface ApplicationJson {
15457
+ }
15442
15458
  }
15443
15459
  }
15444
15460
  namespace $400 {
@@ -15564,6 +15580,7 @@ declare namespace MittwaldAPIV2 {
15564
15580
  type Header = {};
15565
15581
  type Query = {
15566
15582
  grant_consent?: boolean;
15583
+ grant_type?: "authorization_code";
15567
15584
  response_type: "code";
15568
15585
  client_id: string;
15569
15586
  redirect_uri?: string;
@@ -15856,11 +15873,11 @@ declare namespace MittwaldAPIV2 {
15856
15873
  /**
15857
15874
  * Expiration of the support code
15858
15875
  */
15859
- expiresAt?: string;
15876
+ expiresAt: string;
15860
15877
  /**
15861
15878
  * support code to authenticate yourself against the mittwald support via telephone
15862
15879
  */
15863
- supportCode?: string;
15880
+ supportCode: string;
15864
15881
  }
15865
15882
  }
15866
15883
  }
@@ -15995,7 +16012,8 @@ declare namespace MittwaldAPIV2 {
15995
16012
  namespace Responses {
15996
16013
  namespace $200 {
15997
16014
  namespace Content {
15998
- type Empty = unknown;
16015
+ interface ApplicationJson {
16016
+ }
15999
16017
  }
16000
16018
  }
16001
16019
  namespace $400 {
@@ -21928,6 +21946,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
21928
21946
  }, Response<{
21929
21947
  friendlyURL: string;
21930
21948
  id: string;
21949
+ mimeType: string;
21931
21950
  name: string;
21932
21951
  sizeInBytes: number;
21933
21952
  type: string;
@@ -21959,6 +21978,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
21959
21978
  }, Response<{
21960
21979
  friendlyURL: string;
21961
21980
  id: string;
21981
+ mimeType: string;
21962
21982
  name: string;
21963
21983
  sizeInBytes: number;
21964
21984
  type: string;
@@ -21990,6 +22010,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
21990
22010
  fileUploadToken: string;
21991
22011
  };
21992
22012
  }, Response<{
22013
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
21993
22014
  maxSizeInKB: number;
21994
22015
  mimeTypes: string[];
21995
22016
  properties?: {
@@ -22026,6 +22047,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
22026
22047
  fileUploadType: "avatar" | "conversation";
22027
22048
  };
22028
22049
  }, Response<{
22050
+ fileTypes: MittwaldAPIV2.Components.Schemas.FileFileType[];
22029
22051
  maxSizeInKB: number;
22030
22052
  mimeTypes: string[];
22031
22053
  properties?: {
@@ -23156,7 +23178,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23156
23178
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23157
23179
  }> | undefined;
23158
23180
  }, Response<{
23159
- expires: string;
23181
+ expires?: string | undefined;
23160
23182
  token: string;
23161
23183
  }, 200, "application/json"> | Response<{
23162
23184
  type: "ValidationError";
@@ -23186,15 +23208,13 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23186
23208
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23187
23209
  }> | undefined;
23188
23210
  }, Response<{
23189
- type: "ValidationError";
23190
- message?: string | undefined;
23191
- validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
23192
- }, 400, "application/json"> | Response<{
23193
- expires: string;
23211
+ expires?: string | undefined;
23194
23212
  token: string;
23195
23213
  }, 200, "application/json"> | Response<{
23196
23214
  name?: "SecondFactorRequired" | undefined;
23197
23215
  }, 202, "application/json"> | Response<{
23216
+ [x: string]: unknown;
23217
+ }, 400, "application/json"> | Response<{
23198
23218
  type: "ValidationError";
23199
23219
  message?: string | undefined;
23200
23220
  validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
@@ -23218,13 +23238,11 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23218
23238
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23219
23239
  }> | undefined;
23220
23240
  }, Response<{
23221
- type: "ValidationError";
23222
- message?: string | undefined;
23223
- validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
23224
- }, 400, "application/json"> | Response<{
23225
23241
  expiresAt?: string | undefined;
23226
23242
  token: string;
23227
- }, 200, "application/json">>>;
23243
+ }, 200, "application/json"> | Response<{
23244
+ [x: string]: unknown;
23245
+ }, 400, "application/json">>>;
23228
23246
  /** Get your verified Email-Address. */
23229
23247
  getOwnEmail: (request?: {
23230
23248
  headers?: {
@@ -23306,7 +23324,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23306
23324
  message?: string | undefined;
23307
23325
  validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
23308
23326
  }, 400, "application/json"> | Response<{
23309
- expires: string;
23327
+ expires?: string | undefined;
23310
23328
  token: string;
23311
23329
  }, 200, "application/json"> | Response<{
23312
23330
  [x: string]: unknown;
@@ -23471,6 +23489,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23471
23489
  } | undefined;
23472
23490
  headers?: {
23473
23491
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
23492
+ "x-access-token"?: string | undefined;
23474
23493
  } | undefined;
23475
23494
  } | null | undefined) => ResponsePromise<OpenAPIOperation<{
23476
23495
  data: {
@@ -23480,6 +23499,12 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23480
23499
  headers?: Partial<{
23481
23500
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23482
23501
  }> | undefined;
23502
+ } & {
23503
+ headers: {
23504
+ "x-access-token"?: string | undefined;
23505
+ } & Partial<{
23506
+ [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23507
+ }>;
23483
23508
  }, Response<{
23484
23509
  accessTokenRetrievalKey: string;
23485
23510
  userId: string;
@@ -23613,7 +23638,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
23613
23638
  } & Partial<{
23614
23639
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
23615
23640
  }>;
23616
- }, Response<{}, 201, "empty"> | Response<{
23641
+ }, Response<{}, 201, "application/json"> | Response<{
23617
23642
  [x: string]: unknown;
23618
23643
  }, 400, "application/json">>>;
23619
23644
  /** Get a specific ApiToken. */
@@ -24182,7 +24207,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24182
24207
  type: "ValidationError";
24183
24208
  message?: string | undefined;
24184
24209
  validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
24185
- }, 400, "application/json"> | Response<{}, 201, "empty">>>;
24210
+ }, 400, "application/json"> | Response<{}, 201, "application/json">>>;
24186
24211
  /** Submitted feedback of the given user. */
24187
24212
  listFeedback: (request: {
24188
24213
  userId: string;
@@ -24275,6 +24300,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24275
24300
  queryParameters: {
24276
24301
  [x: string]: (string | number | boolean) | (string | number | boolean)[] | undefined;
24277
24302
  grant_consent?: boolean | undefined;
24303
+ grant_type?: "authorization_code" | undefined;
24278
24304
  redirect_uri?: string | undefined;
24279
24305
  scope?: string | undefined;
24280
24306
  state?: string | undefined;
@@ -24291,6 +24317,7 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24291
24317
  } & {
24292
24318
  queryParameters: {
24293
24319
  grant_consent?: boolean | undefined;
24320
+ grant_type?: "authorization_code" | undefined;
24294
24321
  response_type: "code";
24295
24322
  client_id: string;
24296
24323
  redirect_uri?: string | undefined;
@@ -24486,8 +24513,8 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24486
24513
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24487
24514
  }>;
24488
24515
  }, Response<{
24489
- expiresAt?: string | undefined;
24490
- supportCode?: string | undefined;
24516
+ expiresAt: string;
24517
+ supportCode: string;
24491
24518
  }, 200, "application/json">>>;
24492
24519
  /** Verify an added Email-Address. */
24493
24520
  verifyEmail: (request: {
@@ -24578,11 +24605,11 @@ declare class MittwaldAPIV2Client extends ApiClientBase {
24578
24605
  headers?: Partial<{
24579
24606
  [TKey: string]: (string | number | boolean) | (string | number | boolean)[];
24580
24607
  }> | undefined;
24581
- }, Response<{}, 200, "empty"> | Response<{
24608
+ }, Response<{
24582
24609
  type: "ValidationError";
24583
24610
  message?: string | undefined;
24584
24611
  validationErrors: MittwaldAPIV2.Components.Schemas.CommonsValidationErrorSchema[];
24585
- }, 400, "application/json"> | Response<{
24612
+ }, 400, "application/json"> | Response<{}, 200, "application/json"> | Response<{
24586
24613
  [x: string]: unknown;
24587
24614
  }, 404, "application/json">>>;
24588
24615
  };
package/dist/version.d.ts CHANGED
@@ -1 +1 @@
1
- export declare const MittwaldAPIClientVersion = '3.1.49';
1
+ export declare const MittwaldAPIClientVersion = '3.1.50';
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '3.1.49';
1
+ export const MittwaldAPIClientVersion = '3.1.50';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mittwald/api-client",
3
- "version": "3.1.49",
3
+ "version": "3.1.50",
4
4
  "author": "Mittwald CM Service GmbH & Co. KG <opensource@mittwald.de>",
5
5
  "type": "module",
6
6
  "description": "Auto-generated client for the mittwald API",