@mittwald/api-client 4.522.0 → 4.524.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -440,6 +440,8 @@ const buildUserApi = (baseClient) => ({
440
440
  getPasswordUpdatedAt: new ApiCallAsyncResourceFactory(descriptors.userGetPasswordUpdatedAt, baseClient.user.getPasswordUpdatedAt).getApiResource,
441
441
  /** Get personalized settings. */
442
442
  getPersonalizedSettings: new ApiCallAsyncResourceFactory(descriptors.userGetPersonalizedSettings, baseClient.user.getPersonalizedSettings).getApiResource,
443
+ /** Get poll settings for the specified user. */
444
+ getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
443
445
  /** Get a specific session. */
444
446
  getSession: new ApiCallAsyncResourceFactory(descriptors.userGetSession, baseClient.user.getSession).getApiResource,
445
447
  /** Submitted feedback of the given user. */
@@ -456,8 +458,6 @@ const buildUserApi = (baseClient) => ({
456
458
  searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
457
459
  /** Request a support code. */
458
460
  supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
459
- /** Get poll settings for the specified user. */
460
- getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
461
461
  });
462
462
  const buildProjectApi = (baseClient) => ({
463
463
  /** List Invites belonging to a Project. */
@@ -826,6 +826,10 @@ export class MittwaldAPIV2Client extends ApiClientBase {
826
826
  getPersonalizedSettings: this.requestFunctionFactory(descriptors.userGetPersonalizedSettings),
827
827
  /** Update personalized GUI settings. */
828
828
  updatePersonalizedSettings: this.requestFunctionFactory(descriptors.userUpdatePersonalizedSettings),
829
+ /** Get poll settings for the specified user. */
830
+ getPollStatus: this.requestFunctionFactory(descriptors.userGetPollStatus),
831
+ /** Store new or update poll settings. */
832
+ postPollStatus: this.requestFunctionFactory(descriptors.userPostPollStatus),
829
833
  /** Get a specific session. */
830
834
  getSession: this.requestFunctionFactory(descriptors.userGetSession),
831
835
  /** Terminate a specific Session. */
@@ -876,10 +880,6 @@ export class MittwaldAPIV2Client extends ApiClientBase {
876
880
  verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
877
881
  /** Verify your registration. */
878
882
  verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
879
- /** Get poll settings for the specified user. */
880
- getPollStatus: this.requestFunctionFactory(descriptors.userGetPollStatus),
881
- /** Store new or update poll settings. */
882
- postPollStatus: this.requestFunctionFactory(descriptors.userPostPollStatus),
883
883
  };
884
884
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
885
885
  file = {
@@ -2824,6 +2824,18 @@ export const userUpdatePersonalizedSettings = {
2824
2824
  method: "PUT",
2825
2825
  operationId: "user-update-personalized-settings",
2826
2826
  };
2827
+ /** Get poll settings for the specified user. */
2828
+ export const userGetPollStatus = {
2829
+ path: "/v2/poll-settings/{userId}",
2830
+ method: "GET",
2831
+ operationId: "user-get-poll-status",
2832
+ };
2833
+ /** Store new or update poll settings. */
2834
+ export const userPostPollStatus = {
2835
+ path: "/v2/poll-settings/{userId}",
2836
+ method: "POST",
2837
+ operationId: "user-post-poll-status",
2838
+ };
2827
2839
  /** Get a specific session. */
2828
2840
  export const userGetSession = {
2829
2841
  path: "/v2/users/self/sessions/{tokenId}",
@@ -2992,15 +3004,3 @@ export const verificationVerifyCompany = {
2992
3004
  method: "POST",
2993
3005
  operationId: "verification-verify-company",
2994
3006
  };
2995
- /** Get poll settings for the specified user. */
2996
- export const userGetPollStatus = {
2997
- path: "/v2/poll-settings/{userId}",
2998
- method: "GET",
2999
- operationId: "user-get-poll-status",
3000
- };
3001
- /** Store new or update poll settings. */
3002
- export const userPostPollStatus = {
3003
- path: "/v2/poll-settings/{userId}",
3004
- method: "POST",
3005
- operationId: "user-post-poll-status",
3006
- };
@@ -440,6 +440,8 @@ const buildUserApi = (baseClient) => ({
440
440
  getPasswordUpdatedAt: new ApiCallAsyncResourceFactory(descriptors.userGetPasswordUpdatedAt, baseClient.user.getPasswordUpdatedAt).getApiResource,
441
441
  /** Get personalized settings. */
442
442
  getPersonalizedSettings: new ApiCallAsyncResourceFactory(descriptors.userGetPersonalizedSettings, baseClient.user.getPersonalizedSettings).getApiResource,
443
+ /** Get poll settings for the specified user. */
444
+ getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
443
445
  /** Get a specific session. */
444
446
  getSession: new ApiCallAsyncResourceFactory(descriptors.userGetSession, baseClient.user.getSession).getApiResource,
445
447
  /** Submitted feedback of the given user. */
@@ -456,8 +458,6 @@ const buildUserApi = (baseClient) => ({
456
458
  searchedLeakedPasswordsByRange: new ApiCallAsyncResourceFactory(descriptors.userSearchedLeakedPasswordsByRange, baseClient.user.searchedLeakedPasswordsByRange).getApiResource,
457
459
  /** Request a support code. */
458
460
  supportCodeRequest: new ApiCallAsyncResourceFactory(descriptors.userSupportCodeRequest, baseClient.user.supportCodeRequest).getApiResource,
459
- /** Get poll settings for the specified user. */
460
- getPollStatus: new ApiCallAsyncResourceFactory(descriptors.userGetPollStatus, baseClient.user.getPollStatus).getApiResource,
461
461
  });
462
462
  const buildProjectApi = (baseClient) => ({
463
463
  /** List Invites belonging to a Project. */
@@ -826,6 +826,10 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
826
826
  getPersonalizedSettings: this.requestFunctionFactory(descriptors.userGetPersonalizedSettings),
827
827
  /** Update personalized GUI settings. */
828
828
  updatePersonalizedSettings: this.requestFunctionFactory(descriptors.userUpdatePersonalizedSettings),
829
+ /** Get poll settings for the specified user. */
830
+ getPollStatus: this.requestFunctionFactory(descriptors.userGetPollStatus),
831
+ /** Store new or update poll settings. */
832
+ postPollStatus: this.requestFunctionFactory(descriptors.userPostPollStatus),
829
833
  /** Get a specific session. */
830
834
  getSession: this.requestFunctionFactory(descriptors.userGetSession),
831
835
  /** Terminate a specific Session. */
@@ -876,10 +880,6 @@ export class MittwaldAPIV3NextClient extends ApiClientBase {
876
880
  verifyPhoneNumber: this.requestFunctionFactory(descriptors.userVerifyPhoneNumber),
877
881
  /** Verify your registration. */
878
882
  verifyRegistration: this.requestFunctionFactory(descriptors.userVerifyRegistration),
879
- /** Get poll settings for the specified user. */
880
- getPollStatus: this.requestFunctionFactory(descriptors.userGetPollStatus),
881
- /** Store new or update poll settings. */
882
- postPollStatus: this.requestFunctionFactory(descriptors.userPostPollStatus),
883
883
  };
884
884
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
885
885
  file = {
@@ -2824,6 +2824,18 @@ export const userUpdatePersonalizedSettings = {
2824
2824
  method: "PUT",
2825
2825
  operationId: "user-update-personalized-settings",
2826
2826
  };
2827
+ /** Get poll settings for the specified user. */
2828
+ export const userGetPollStatus = {
2829
+ path: "/v3-next/poll-settings/{userId}",
2830
+ method: "GET",
2831
+ operationId: "user-get-poll-status",
2832
+ };
2833
+ /** Store new or update poll settings. */
2834
+ export const userPostPollStatus = {
2835
+ path: "/v3-next/poll-settings/{userId}",
2836
+ method: "POST",
2837
+ operationId: "user-post-poll-status",
2838
+ };
2827
2839
  /** Get a specific session. */
2828
2840
  export const userGetSession = {
2829
2841
  path: "/v3-next/users/self/sessions/{tokenId}",
@@ -2992,15 +3004,3 @@ export const verificationVerifyCompany = {
2992
3004
  method: "POST",
2993
3005
  operationId: "verification-verify-company",
2994
3006
  };
2995
- /** Get poll settings for the specified user. */
2996
- export const userGetPollStatus = {
2997
- path: "/v3-next/poll-settings/{userId}",
2998
- method: "GET",
2999
- operationId: "user-get-poll-status",
3000
- };
3001
- /** Store new or update poll settings. */
3002
- export const userPostPollStatus = {
3003
- path: "/v3-next/poll-settings/{userId}",
3004
- method: "POST",
3005
- operationId: "user-post-poll-status",
3006
- };
@@ -1 +1 @@
1
- export const MittwaldAPIClientVersion = '4.522.0';
1
+ export const MittwaldAPIClientVersion = '4.523.0';
@@ -3516,6 +3516,20 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
3516
3516
  }) => import("@mittwald/react-use-promise").AsyncResource<{
3517
3517
  settingsString?: string | undefined;
3518
3518
  }>;
3519
+ /** Get poll settings for the specified user. */
3520
+ getPollStatus: (conf: {
3521
+ userId: string;
3522
+ headers?: {
3523
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3524
+ } | undefined;
3525
+ }) => import("@mittwald/react-use-promise").AsyncResource<{
3526
+ completedAt?: string | undefined;
3527
+ dontShowUntil?: string | undefined;
3528
+ ignoredAt?: string | undefined;
3529
+ shouldShow: boolean;
3530
+ status: "completed" | "muted" | "ignored" | "new";
3531
+ userId: string;
3532
+ }>;
3519
3533
  /** Get a specific session. */
3520
3534
  getSession: (conf: {
3521
3535
  tokenId: string;
@@ -3637,20 +3651,6 @@ declare const buildUserApi: (baseClient: MittwaldAPIV2Client) => {
3637
3651
  expiresAt: string;
3638
3652
  supportCode: string;
3639
3653
  }>;
3640
- /** Get poll settings for the specified user. */
3641
- getPollStatus: (conf: {
3642
- userId: string;
3643
- headers?: {
3644
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
3645
- } | undefined;
3646
- }) => import("@mittwald/react-use-promise").AsyncResource<{
3647
- completedAt?: string | undefined;
3648
- dontShowUntil?: string | undefined;
3649
- ignoredAt?: string | undefined;
3650
- shouldShow: boolean;
3651
- status: "completed" | "muted" | "ignored" | "new";
3652
- userId: string;
3653
- }>;
3654
3654
  };
3655
3655
  declare const buildProjectApi: (baseClient: MittwaldAPIV2Client) => {
3656
3656
  /** List Invites belonging to a Project. */
@@ -26276,6 +26276,114 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
26276
26276
  }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26277
26277
  [x: string]: unknown;
26278
26278
  }, 429, "application/json">>>;
26279
+ /** Get poll settings for the specified user. */
26280
+ getPollStatus: (request: {
26281
+ userId: string;
26282
+ headers?: {
26283
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26284
+ } | undefined;
26285
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26286
+ headers?: Partial<{
26287
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26288
+ }>;
26289
+ } & {
26290
+ pathParameters: {
26291
+ userId: string;
26292
+ };
26293
+ }, import("@mittwald/api-client-commons").Response<{
26294
+ completedAt?: string | undefined;
26295
+ dontShowUntil?: string | undefined;
26296
+ ignoredAt?: string | undefined;
26297
+ shouldShow: boolean;
26298
+ status: "completed" | "muted" | "ignored" | "new";
26299
+ userId: string;
26300
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26301
+ [x: string]: unknown;
26302
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26303
+ [x: string]: unknown;
26304
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26305
+ headers?: Partial<{
26306
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26307
+ }>;
26308
+ } & {
26309
+ pathParameters: {
26310
+ userId: string;
26311
+ };
26312
+ }, import("@mittwald/api-client-commons").Response<{
26313
+ completedAt?: string | undefined;
26314
+ dontShowUntil?: string | undefined;
26315
+ ignoredAt?: string | undefined;
26316
+ shouldShow: boolean;
26317
+ status: "completed" | "muted" | "ignored" | "new";
26318
+ userId: string;
26319
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26320
+ [x: string]: unknown;
26321
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26322
+ [x: string]: unknown;
26323
+ }, 500, "application/json">>>;
26324
+ /** Store new or update poll settings. */
26325
+ postPollStatus: (request: {
26326
+ data: {
26327
+ status: "completed" | "muted" | "ignored";
26328
+ userId: string;
26329
+ };
26330
+ userId: string;
26331
+ headers?: {
26332
+ [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
26333
+ } | undefined;
26334
+ }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
26335
+ data: {
26336
+ status: "completed" | "muted" | "ignored";
26337
+ userId: string;
26338
+ };
26339
+ } & {
26340
+ pathParameters: {
26341
+ userId: string;
26342
+ };
26343
+ } & {
26344
+ headers?: Partial<{
26345
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26346
+ }>;
26347
+ }, import("@mittwald/api-client-commons").Response<{
26348
+ completedAt?: string | undefined;
26349
+ dontShowUntil?: string | undefined;
26350
+ ignoredAt?: string | undefined;
26351
+ shouldShow: boolean;
26352
+ status: "completed" | "muted" | "ignored" | "new";
26353
+ userId: string;
26354
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26355
+ [x: string]: unknown;
26356
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26357
+ [x: string]: unknown;
26358
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26359
+ [x: string]: unknown;
26360
+ }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
26361
+ data: {
26362
+ status: "completed" | "muted" | "ignored";
26363
+ userId: string;
26364
+ };
26365
+ } & {
26366
+ pathParameters: {
26367
+ userId: string;
26368
+ };
26369
+ } & {
26370
+ headers?: Partial<{
26371
+ [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
26372
+ }>;
26373
+ }, import("@mittwald/api-client-commons").Response<{
26374
+ completedAt?: string | undefined;
26375
+ dontShowUntil?: string | undefined;
26376
+ ignoredAt?: string | undefined;
26377
+ shouldShow: boolean;
26378
+ status: "completed" | "muted" | "ignored" | "new";
26379
+ userId: string;
26380
+ }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
26381
+ [x: string]: unknown;
26382
+ }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
26383
+ [x: string]: unknown;
26384
+ }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
26385
+ [x: string]: unknown;
26386
+ }, 500, "application/json">>>;
26279
26387
  /** Get a specific session. */
26280
26388
  getSession: (request: {
26281
26389
  tokenId: string;
@@ -27084,7 +27192,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27084
27192
  /** Register with email and password. */
27085
27193
  register: (request: {
27086
27194
  data: {
27087
- captchaToken: string;
27088
27195
  email: string;
27089
27196
  password: string;
27090
27197
  person: {
@@ -27092,13 +27199,14 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27092
27199
  lastName: string;
27093
27200
  title?: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsSalutation | undefined;
27094
27201
  };
27202
+ captchaToken?: string | undefined;
27095
27203
  };
27096
27204
  headers?: {
27097
27205
  [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27098
27206
  } | undefined;
27099
27207
  }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27100
27208
  data: {
27101
- captchaToken: string;
27209
+ captchaToken?: string | undefined;
27102
27210
  email: string;
27103
27211
  password: string;
27104
27212
  person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
@@ -27123,7 +27231,7 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27123
27231
  [x: string]: unknown;
27124
27232
  }, 429, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27125
27233
  data: {
27126
- captchaToken: string;
27234
+ captchaToken?: string | undefined;
27127
27235
  email: string;
27128
27236
  password: string;
27129
27237
  person: import("./types.js").MittwaldAPIV2.Components.Schemas.CommonsPerson;
@@ -27632,114 +27740,6 @@ export declare class MittwaldAPIV2Client extends ApiClientBase {
27632
27740
  }, 404, "application/json"> | import("@mittwald/api-client-commons").Response<{
27633
27741
  [x: string]: unknown;
27634
27742
  }, 429, "application/json">>>;
27635
- /** Get poll settings for the specified user. */
27636
- getPollStatus: (request: {
27637
- userId: string;
27638
- headers?: {
27639
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27640
- } | undefined;
27641
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27642
- headers?: Partial<{
27643
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27644
- }>;
27645
- } & {
27646
- pathParameters: {
27647
- userId: string;
27648
- };
27649
- }, import("@mittwald/api-client-commons").Response<{
27650
- completedAt?: string | undefined;
27651
- dontShowUntil?: string | undefined;
27652
- ignoredAt?: string | undefined;
27653
- shouldShow: boolean;
27654
- status: "completed" | "muted" | "ignored" | "new";
27655
- userId: string;
27656
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27657
- [x: string]: unknown;
27658
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27659
- [x: string]: unknown;
27660
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27661
- headers?: Partial<{
27662
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27663
- }>;
27664
- } & {
27665
- pathParameters: {
27666
- userId: string;
27667
- };
27668
- }, import("@mittwald/api-client-commons").Response<{
27669
- completedAt?: string | undefined;
27670
- dontShowUntil?: string | undefined;
27671
- ignoredAt?: string | undefined;
27672
- shouldShow: boolean;
27673
- status: "completed" | "muted" | "ignored" | "new";
27674
- userId: string;
27675
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27676
- [x: string]: unknown;
27677
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27678
- [x: string]: unknown;
27679
- }, 500, "application/json">>>;
27680
- /** Store new or update poll settings. */
27681
- postPollStatus: (request: {
27682
- data: {
27683
- status: "completed" | "muted" | "ignored";
27684
- userId: string;
27685
- };
27686
- userId: string;
27687
- headers?: {
27688
- [x: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[] | undefined;
27689
- } | undefined;
27690
- }, opts?: import("@mittwald/api-client-commons").RequestOptions<import("@mittwald/api-client-commons").OpenAPIOperation<{
27691
- data: {
27692
- status: "completed" | "muted" | "ignored";
27693
- userId: string;
27694
- };
27695
- } & {
27696
- pathParameters: {
27697
- userId: string;
27698
- };
27699
- } & {
27700
- headers?: Partial<{
27701
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27702
- }>;
27703
- }, import("@mittwald/api-client-commons").Response<{
27704
- completedAt?: string | undefined;
27705
- dontShowUntil?: string | undefined;
27706
- ignoredAt?: string | undefined;
27707
- shouldShow: boolean;
27708
- status: "completed" | "muted" | "ignored" | "new";
27709
- userId: string;
27710
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27711
- [x: string]: unknown;
27712
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27713
- [x: string]: unknown;
27714
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27715
- [x: string]: unknown;
27716
- }, 500, "application/json">>> | undefined) => import("@mittwald/api-client-commons").ResponsePromise<import("@mittwald/api-client-commons").OpenAPIOperation<{
27717
- data: {
27718
- status: "completed" | "muted" | "ignored";
27719
- userId: string;
27720
- };
27721
- } & {
27722
- pathParameters: {
27723
- userId: string;
27724
- };
27725
- } & {
27726
- headers?: Partial<{
27727
- [TKey: string]: (string | number | boolean | Date) | (string | number | boolean | Date)[];
27728
- }>;
27729
- }, import("@mittwald/api-client-commons").Response<{
27730
- completedAt?: string | undefined;
27731
- dontShowUntil?: string | undefined;
27732
- ignoredAt?: string | undefined;
27733
- shouldShow: boolean;
27734
- status: "completed" | "muted" | "ignored" | "new";
27735
- userId: string;
27736
- }, 200, "application/json"> | import("@mittwald/api-client-commons").Response<{
27737
- [x: string]: unknown;
27738
- }, 400, "application/json"> | import("@mittwald/api-client-commons").Response<{
27739
- [x: string]: unknown;
27740
- }, 429, "application/json"> | import("@mittwald/api-client-commons").Response<{
27741
- [x: string]: unknown;
27742
- }, 500, "application/json">>>;
27743
27743
  };
27744
27744
  /** The file API allows you to manage your files, for example for conversations attachments and avatar uploads. */
27745
27745
  readonly file: {
@@ -945,6 +945,10 @@ export declare const userGetPasswordUpdatedAt: OpenAPIOperation<RequestType<Simp
945
945
  export declare const userGetPersonalizedSettings: OpenAPIOperation<RequestType<Simplify<null>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Get.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Get.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Get.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Get.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Get.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
946
946
  /** Update personalized GUI settings. */
947
947
  export 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.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersUserIdSettings.Put.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
948
+ /** Get poll settings for the specified user. */
949
+ export 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.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
950
+ /** Store new or update poll settings. */
951
+ export 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.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
948
952
  /** Get a specific session. */
949
953
  export 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.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2UsersSelfSessionsTokenId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
950
954
  /** Terminate a specific Session. */
@@ -1001,7 +1005,3 @@ export declare const verificationDetectPhishingEmail: OpenAPIOperation<RequestTy
1001
1005
  export declare const verificationVerifyAddress: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyAddress.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
1002
1006
  /** Check if a company exists. */
1003
1007
  export declare const verificationVerifyCompany: OpenAPIOperation<RequestType<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.RequestBody>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Path>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Query>, Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Parameters.Header>>, Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$200.Content.ApplicationJson>, 200, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$412.Content.Empty>, 412, "empty"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2ActionsVerifyCompany.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
1004
- /** Get poll settings for the specified user. */
1005
- export 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.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Get.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Get.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;
1006
- /** Store new or update poll settings. */
1007
- export 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.$429.Content.ApplicationJson>, 429, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Post.Responses.$500.Content.ApplicationJson>, 500, "application/json"> | Response<Simplify<MittwaldAPIV2.Paths.V2PollSettingsUserId.Post.Responses.Default.Content.ApplicationJson>, "default", "application/json">>;