@myronsi/messenger-api 2.1.0-alpha.49.next.171 → 2.1.0-alpha.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/CHANGELOG.md +14 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/openapi.yaml +489 -4
- package/dist/schema.d.ts +762 -4
- package/dist/ws-docs.json +61 -1
- package/dist/ws-events.d.ts +145 -4
- package/dist/ws-events.schema.json +625 -4
- package/package.json +1 -1
package/dist/schema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Generated from api/openapi.yaml 2.1.0-alpha.
|
|
1
|
+
/* Generated from api/openapi.yaml 2.1.0-alpha.50. Do not edit. */
|
|
2
2
|
export interface paths {
|
|
3
3
|
"/meta": {
|
|
4
4
|
parameters: {
|
|
@@ -415,6 +415,216 @@ export interface paths {
|
|
|
415
415
|
patch?: never;
|
|
416
416
|
trace?: never;
|
|
417
417
|
};
|
|
418
|
+
"/me/client-settings": {
|
|
419
|
+
parameters: {
|
|
420
|
+
query?: never;
|
|
421
|
+
header?: {
|
|
422
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
423
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
424
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
425
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
426
|
+
};
|
|
427
|
+
path?: never;
|
|
428
|
+
cookie?: never;
|
|
429
|
+
};
|
|
430
|
+
/**
|
|
431
|
+
* Appearance and recent emoji shared by all of the caller's devices
|
|
432
|
+
* @description `appearance` is `null` until a device saved it once. Theme and language are not part of it; they stay on each
|
|
433
|
+
* device.
|
|
434
|
+
*/
|
|
435
|
+
get: operations["getClientSettings"];
|
|
436
|
+
put?: never;
|
|
437
|
+
post?: never;
|
|
438
|
+
delete?: never;
|
|
439
|
+
options?: never;
|
|
440
|
+
head?: never;
|
|
441
|
+
/**
|
|
442
|
+
* Change some of the synced settings
|
|
443
|
+
* @description Send only the parts that changed; each part replaces the stored one (last write wins). `version` goes up on
|
|
444
|
+
* every change. Sends `client_settings_updated` with the result to all of the caller's sessions.
|
|
445
|
+
*/
|
|
446
|
+
patch: operations["updateClientSettings"];
|
|
447
|
+
trace?: never;
|
|
448
|
+
};
|
|
449
|
+
"/me/wallpapers": {
|
|
450
|
+
parameters: {
|
|
451
|
+
query?: never;
|
|
452
|
+
header?: {
|
|
453
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
454
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
455
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
456
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
457
|
+
};
|
|
458
|
+
path?: never;
|
|
459
|
+
cookie?: never;
|
|
460
|
+
};
|
|
461
|
+
/**
|
|
462
|
+
* The caller's chat backgrounds
|
|
463
|
+
* @description The default background for all chats (`chat_id: null`) and every chat with its own background. A chat
|
|
464
|
+
* without an entry uses the default; without a default, clients show their built-in plain background.
|
|
465
|
+
*/
|
|
466
|
+
get: operations["listWallpapers"];
|
|
467
|
+
put?: never;
|
|
468
|
+
post?: never;
|
|
469
|
+
delete?: never;
|
|
470
|
+
options?: never;
|
|
471
|
+
head?: never;
|
|
472
|
+
patch?: never;
|
|
473
|
+
trace?: never;
|
|
474
|
+
};
|
|
475
|
+
"/me/wallpapers/default": {
|
|
476
|
+
parameters: {
|
|
477
|
+
query?: never;
|
|
478
|
+
header?: {
|
|
479
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
480
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
481
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
482
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
483
|
+
};
|
|
484
|
+
path?: never;
|
|
485
|
+
cookie?: never;
|
|
486
|
+
};
|
|
487
|
+
get?: never;
|
|
488
|
+
/**
|
|
489
|
+
* Set the background for all chats
|
|
490
|
+
* @description For `media`, upload the image with purpose `chat_wallpaper` first. Sends `wallpaper_updated` to the caller's
|
|
491
|
+
* sessions.
|
|
492
|
+
*/
|
|
493
|
+
put: operations["setDefaultWallpaper"];
|
|
494
|
+
post?: never;
|
|
495
|
+
/**
|
|
496
|
+
* Go back to the built-in background for all chats
|
|
497
|
+
* @description Chats with their own background keep it. Sends `wallpaper_updated` to the caller's sessions.
|
|
498
|
+
*/
|
|
499
|
+
delete: operations["deleteDefaultWallpaper"];
|
|
500
|
+
options?: never;
|
|
501
|
+
head?: never;
|
|
502
|
+
patch?: never;
|
|
503
|
+
trace?: never;
|
|
504
|
+
};
|
|
505
|
+
"/chats/{chat_id}/wallpaper": {
|
|
506
|
+
parameters: {
|
|
507
|
+
query?: never;
|
|
508
|
+
header?: {
|
|
509
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
510
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
511
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
512
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
513
|
+
};
|
|
514
|
+
path: {
|
|
515
|
+
chat_id: components["parameters"]["ChatId"];
|
|
516
|
+
};
|
|
517
|
+
cookie?: never;
|
|
518
|
+
};
|
|
519
|
+
get?: never;
|
|
520
|
+
/**
|
|
521
|
+
* Set the background of one chat
|
|
522
|
+
* @description Only the caller sees it, unless `for_both` is `true`: in a direct chat with another person this stores the
|
|
523
|
+
* same background for both of them (each can change or reset their own copy afterwards), posts the system line
|
|
524
|
+
* `chat_wallpaper_set` and sends `wallpaper_updated` to both. `for_both` is refused with `403` in groups and
|
|
525
|
+
* Saved Messages, and with `403` `blocked_by_user` when either person blocked the other. For `media`, upload
|
|
526
|
+
* the image with purpose `chat_wallpaper` first.
|
|
527
|
+
*/
|
|
528
|
+
put: operations["setChatWallpaper"];
|
|
529
|
+
post?: never;
|
|
530
|
+
/**
|
|
531
|
+
* Use the default background in this chat again
|
|
532
|
+
* @description Only the caller's copy is removed. Sends `wallpaper_updated` to the caller's sessions.
|
|
533
|
+
*/
|
|
534
|
+
delete: operations["deleteChatWallpaper"];
|
|
535
|
+
options?: never;
|
|
536
|
+
head?: never;
|
|
537
|
+
patch?: never;
|
|
538
|
+
trace?: never;
|
|
539
|
+
};
|
|
540
|
+
"/me/playlists": {
|
|
541
|
+
parameters: {
|
|
542
|
+
query?: never;
|
|
543
|
+
header?: {
|
|
544
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
545
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
546
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
547
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
548
|
+
};
|
|
549
|
+
path?: never;
|
|
550
|
+
cookie?: never;
|
|
551
|
+
};
|
|
552
|
+
/** The caller's playlists, newest first, without their tracks */
|
|
553
|
+
get: operations["listPlaylists"];
|
|
554
|
+
put?: never;
|
|
555
|
+
/**
|
|
556
|
+
* Create a playlist
|
|
557
|
+
* @description At most 100 playlists per user (`409` `limit_reached`). Sends `playlists_updated` to the caller's sessions.
|
|
558
|
+
*/
|
|
559
|
+
post: operations["createPlaylist"];
|
|
560
|
+
delete?: never;
|
|
561
|
+
options?: never;
|
|
562
|
+
head?: never;
|
|
563
|
+
patch?: never;
|
|
564
|
+
trace?: never;
|
|
565
|
+
};
|
|
566
|
+
"/me/playlists/{playlist_id}": {
|
|
567
|
+
parameters: {
|
|
568
|
+
query?: never;
|
|
569
|
+
header?: {
|
|
570
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
571
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
572
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
573
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
574
|
+
};
|
|
575
|
+
path: {
|
|
576
|
+
playlist_id: components["parameters"]["PlaylistId"];
|
|
577
|
+
};
|
|
578
|
+
cookie?: never;
|
|
579
|
+
};
|
|
580
|
+
/** A playlist with its tracks */
|
|
581
|
+
get: operations["getPlaylist"];
|
|
582
|
+
put?: never;
|
|
583
|
+
post?: never;
|
|
584
|
+
/**
|
|
585
|
+
* Delete a playlist
|
|
586
|
+
* @description Sends `playlists_updated` to the caller's sessions.
|
|
587
|
+
*/
|
|
588
|
+
delete: operations["deletePlaylist"];
|
|
589
|
+
options?: never;
|
|
590
|
+
head?: never;
|
|
591
|
+
/**
|
|
592
|
+
* Rename a playlist
|
|
593
|
+
* @description Sends `playlists_updated` to the caller's sessions.
|
|
594
|
+
*/
|
|
595
|
+
patch: operations["renamePlaylist"];
|
|
596
|
+
trace?: never;
|
|
597
|
+
};
|
|
598
|
+
"/me/playlists/{playlist_id}/tracks": {
|
|
599
|
+
parameters: {
|
|
600
|
+
query?: never;
|
|
601
|
+
header?: {
|
|
602
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
603
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
604
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
605
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
606
|
+
};
|
|
607
|
+
path: {
|
|
608
|
+
playlist_id: components["parameters"]["PlaylistId"];
|
|
609
|
+
};
|
|
610
|
+
cookie?: never;
|
|
611
|
+
};
|
|
612
|
+
get?: never;
|
|
613
|
+
/**
|
|
614
|
+
* Replace the tracks of a playlist
|
|
615
|
+
* @description The full ordered list, so adding, removing and moving tracks are one call. `version` must be the playlist's
|
|
616
|
+
* current version; otherwise `409` `conflict` and nothing changes (load the playlist again and reapply the
|
|
617
|
+
* change). At most 1000 tracks and each attachment once (`422`). Sends `playlists_updated` to the caller's
|
|
618
|
+
* sessions.
|
|
619
|
+
*/
|
|
620
|
+
put: operations["replacePlaylistTracks"];
|
|
621
|
+
post?: never;
|
|
622
|
+
delete?: never;
|
|
623
|
+
options?: never;
|
|
624
|
+
head?: never;
|
|
625
|
+
patch?: never;
|
|
626
|
+
trace?: never;
|
|
627
|
+
};
|
|
418
628
|
"/me/password": {
|
|
419
629
|
parameters: {
|
|
420
630
|
query?: never;
|
|
@@ -5709,6 +5919,146 @@ export interface components {
|
|
|
5709
5919
|
preset?: components["schemas"]["BackgroundPreset"];
|
|
5710
5920
|
colors?: components["schemas"]["BackgroundColor"][];
|
|
5711
5921
|
};
|
|
5922
|
+
/**
|
|
5923
|
+
* @description The look of the app shared by the user's devices. A device may keep its own value for any field ("only on
|
|
5924
|
+
* this device"); that choice is stored on the device, not here.
|
|
5925
|
+
*/
|
|
5926
|
+
AppearanceSettings: {
|
|
5927
|
+
/** @description Name of a client accent color. Clients use their default for a name they do not know. */
|
|
5928
|
+
accent: string;
|
|
5929
|
+
font_size: number;
|
|
5930
|
+
/** @enum {string} */
|
|
5931
|
+
density: "comfortable" | "compact";
|
|
5932
|
+
/** @enum {string} */
|
|
5933
|
+
corners: "sharp" | "default" | "round";
|
|
5934
|
+
};
|
|
5935
|
+
/** @description A Unicode emoji or a custom emoji token, exactly as the client inserts it. */
|
|
5936
|
+
RecentEmoji: string;
|
|
5937
|
+
ClientSettings: {
|
|
5938
|
+
appearance: components["schemas"]["AppearanceSettings"] | null;
|
|
5939
|
+
/** @description Newest first. */
|
|
5940
|
+
recent_emoji: components["schemas"]["RecentEmoji"][];
|
|
5941
|
+
/** @description Newest first. */
|
|
5942
|
+
recent_reactions: components["schemas"]["RecentEmoji"][];
|
|
5943
|
+
/**
|
|
5944
|
+
* Format: int64
|
|
5945
|
+
* @description Goes up on every change; `0` when nothing was saved yet.
|
|
5946
|
+
*/
|
|
5947
|
+
version: number;
|
|
5948
|
+
updated_at: components["schemas"]["Timestamp"] | null;
|
|
5949
|
+
};
|
|
5950
|
+
/** @description Only the parts to replace. Duplicates in the lists are dropped, keeping the first. */
|
|
5951
|
+
UpdateClientSettingsRequest: {
|
|
5952
|
+
appearance?: components["schemas"]["AppearanceSettings"];
|
|
5953
|
+
recent_emoji?: components["schemas"]["RecentEmoji"][];
|
|
5954
|
+
recent_reactions?: components["schemas"]["RecentEmoji"][];
|
|
5955
|
+
};
|
|
5956
|
+
/**
|
|
5957
|
+
* @description Dots or a grid drawn over a `color` background.
|
|
5958
|
+
* @enum {string}
|
|
5959
|
+
*/
|
|
5960
|
+
WallpaperPattern: "none" | "dots" | "grid";
|
|
5961
|
+
/**
|
|
5962
|
+
* @description `preset` a built-in background of the clients (`preset`), `color` one color or a gradient of two (`colors`,
|
|
5963
|
+
* optional `pattern`), `media` an uploaded photo (`attachment`) with `blur` in px and `dim` in percent. A `media`
|
|
5964
|
+
* background without `dim` is dimmed automatically by the client (20 % in a dark theme, none in a light one).
|
|
5965
|
+
*/
|
|
5966
|
+
Wallpaper: {
|
|
5967
|
+
kind: components["schemas"]["ProfileBackgroundKind"];
|
|
5968
|
+
preset?: components["schemas"]["BackgroundPreset"];
|
|
5969
|
+
colors?: components["schemas"]["BackgroundColor"][];
|
|
5970
|
+
pattern?: components["schemas"]["WallpaperPattern"];
|
|
5971
|
+
attachment?: components["schemas"]["Attachment"];
|
|
5972
|
+
blur?: number;
|
|
5973
|
+
dim?: number;
|
|
5974
|
+
};
|
|
5975
|
+
/**
|
|
5976
|
+
* @description `preset` needs `preset`; `color` needs `colors` and may have `pattern`; `media` needs `attachment_id` (an
|
|
5977
|
+
* upload of the caller with purpose `chat_wallpaper`) and may have `blur` (default `0`) and `dim` (absent:
|
|
5978
|
+
* automatic, see `Wallpaper`). Other fields must be absent (`422` otherwise).
|
|
5979
|
+
*/
|
|
5980
|
+
SetWallpaperRequest: {
|
|
5981
|
+
kind: components["schemas"]["ProfileBackgroundKind"];
|
|
5982
|
+
preset?: components["schemas"]["BackgroundPreset"];
|
|
5983
|
+
colors?: components["schemas"]["BackgroundColor"][];
|
|
5984
|
+
pattern?: components["schemas"]["WallpaperPattern"];
|
|
5985
|
+
attachment_id?: components["schemas"]["AttachmentRef"];
|
|
5986
|
+
blur?: number;
|
|
5987
|
+
dim?: number;
|
|
5988
|
+
};
|
|
5989
|
+
SetChatWallpaperRequest: components["schemas"]["SetWallpaperRequest"] & {
|
|
5990
|
+
/**
|
|
5991
|
+
* @description Direct chats with another person only. Also sets it as the other person's background.
|
|
5992
|
+
* @default false
|
|
5993
|
+
*/
|
|
5994
|
+
for_both: boolean;
|
|
5995
|
+
};
|
|
5996
|
+
WallpaperEntry: {
|
|
5997
|
+
/** @description The chat, or `null` for the default of all chats. */
|
|
5998
|
+
chat_id: components["schemas"]["Id"] | null;
|
|
5999
|
+
wallpaper: components["schemas"]["Wallpaper"];
|
|
6000
|
+
/** @description Who set it; the other person when they used `for_both`. */
|
|
6001
|
+
set_by: components["schemas"]["Id"];
|
|
6002
|
+
updated_at: components["schemas"]["Timestamp"];
|
|
6003
|
+
};
|
|
6004
|
+
WallpaperList: {
|
|
6005
|
+
items: components["schemas"]["WallpaperEntry"][];
|
|
6006
|
+
};
|
|
6007
|
+
/** @description Trimmed by the server; empty after trimming is `422`. */
|
|
6008
|
+
PlaylistName: string;
|
|
6009
|
+
PlaylistSummary: {
|
|
6010
|
+
id: components["schemas"]["Id"];
|
|
6011
|
+
name: string;
|
|
6012
|
+
track_count: number;
|
|
6013
|
+
/**
|
|
6014
|
+
* Format: int64
|
|
6015
|
+
* @description Goes up on every change of the name or the tracks.
|
|
6016
|
+
*/
|
|
6017
|
+
version: number;
|
|
6018
|
+
created_at: components["schemas"]["Timestamp"];
|
|
6019
|
+
updated_at: components["schemas"]["Timestamp"];
|
|
6020
|
+
};
|
|
6021
|
+
PlaylistTrack: {
|
|
6022
|
+
attachment_id: components["schemas"]["AttachmentRef"];
|
|
6023
|
+
/** @description Set only when `available`. */
|
|
6024
|
+
attachment?: components["schemas"]["Attachment"];
|
|
6025
|
+
/**
|
|
6026
|
+
* @description `false` when the caller can no longer open the file (left the chat, the message was deleted). Clients show
|
|
6027
|
+
* the track greyed out; the server does not serve it.
|
|
6028
|
+
*/
|
|
6029
|
+
available: boolean;
|
|
6030
|
+
chat_id?: components["schemas"]["Id"];
|
|
6031
|
+
message_id?: components["schemas"]["Id"];
|
|
6032
|
+
title: string;
|
|
6033
|
+
artist?: string;
|
|
6034
|
+
duration_seconds?: number;
|
|
6035
|
+
};
|
|
6036
|
+
Playlist: components["schemas"]["PlaylistSummary"] & {
|
|
6037
|
+
tracks: components["schemas"]["PlaylistTrack"][];
|
|
6038
|
+
};
|
|
6039
|
+
PlaylistList: {
|
|
6040
|
+
items: components["schemas"]["PlaylistSummary"][];
|
|
6041
|
+
};
|
|
6042
|
+
PlaylistTrackInput: {
|
|
6043
|
+
attachment_id: components["schemas"]["AttachmentRef"];
|
|
6044
|
+
chat_id?: components["schemas"]["Id"];
|
|
6045
|
+
message_id?: components["schemas"]["Id"];
|
|
6046
|
+
title: string;
|
|
6047
|
+
artist?: string;
|
|
6048
|
+
duration_seconds?: number;
|
|
6049
|
+
};
|
|
6050
|
+
CreatePlaylistRequest: {
|
|
6051
|
+
name: components["schemas"]["PlaylistName"];
|
|
6052
|
+
tracks?: components["schemas"]["PlaylistTrackInput"][];
|
|
6053
|
+
};
|
|
6054
|
+
RenamePlaylistRequest: {
|
|
6055
|
+
name: components["schemas"]["PlaylistName"];
|
|
6056
|
+
};
|
|
6057
|
+
ReplacePlaylistTracksRequest: {
|
|
6058
|
+
/** Format: int64 */
|
|
6059
|
+
version: number;
|
|
6060
|
+
tracks: components["schemas"]["PlaylistTrackInput"][];
|
|
6061
|
+
};
|
|
5712
6062
|
/**
|
|
5713
6063
|
* @description `media` needs `attachment_id` (uploaded with purpose `profile_background`), `preset` needs `preset`, `color`
|
|
5714
6064
|
* needs `colors`; other fields must be absent (`422` otherwise).
|
|
@@ -5765,9 +6115,13 @@ export interface components {
|
|
|
5765
6115
|
* `emoji`: a PNG, JPEG, still WebP or GIF of at most 8 MB. The server scales it into 128 x 128 px (a GIF frame
|
|
5766
6116
|
* by frame) and refuses it with `413` when the result is still over 256 KB. Use it with
|
|
5767
6117
|
* `POST /emoji/packs/{pack_id}/emoji`.
|
|
6118
|
+
*
|
|
6119
|
+
* `chat_wallpaper`: a still image (JPEG, PNG, WebP or HEIC) of at most 10 MB; no GIF or video. Use it with
|
|
6120
|
+
* `PUT /me/wallpapers/default` or `PUT /chats/{chat_id}/wallpaper`. Its uploader can load it, and the other
|
|
6121
|
+
* person of a direct chat once it was set there for both.
|
|
5768
6122
|
* @enum {string}
|
|
5769
6123
|
*/
|
|
5770
|
-
UploadPurpose: "message" | "avatar" | "sticker" | "profile_music" | "profile_background" | "emoji";
|
|
6124
|
+
UploadPurpose: "message" | "avatar" | "sticker" | "profile_music" | "profile_background" | "emoji" | "chat_wallpaper";
|
|
5771
6125
|
UploadAttachmentRequest: {
|
|
5772
6126
|
/** Format: binary */
|
|
5773
6127
|
file: string;
|
|
@@ -6272,14 +6626,15 @@ export interface components {
|
|
|
6272
6626
|
height: number | null;
|
|
6273
6627
|
};
|
|
6274
6628
|
/** @enum {string} */
|
|
6275
|
-
SystemEventKind: "group_created" | "member_added" | "member_joined" | "member_removed" | "member_left" | "call" | "message_pinned" | "message_unpinned" | "history_imported" | "history_import_ended" | "imported_note" | "group_renamed" | "group_avatar_changed" | "owner_transferred";
|
|
6629
|
+
SystemEventKind: "group_created" | "member_added" | "member_joined" | "member_removed" | "member_left" | "call" | "message_pinned" | "message_unpinned" | "history_imported" | "history_import_ended" | "imported_note" | "group_renamed" | "group_avatar_changed" | "owner_transferred" | "chat_wallpaper_set";
|
|
6276
6630
|
/**
|
|
6277
6631
|
* @description What a `system` message records; set on system messages only, whose `content` is then `null`. The names
|
|
6278
6632
|
* are the display names at the time of the event. `target` fields are set for `member_added`,
|
|
6279
6633
|
* `member_removed` and `owner_transferred` (the new owner; `actor` is the previous one). `call` is set for
|
|
6280
6634
|
* `call` messages: one per call, posted when the call ends, `actor` is the initiator. `message_id` and
|
|
6281
6635
|
* `snippet` are set for `message_pinned` and `message_unpinned`. `old_name` and `new_name` are set for
|
|
6282
|
-
* `group_renamed`, `avatar_removed` for `group_avatar_changed`.
|
|
6636
|
+
* `group_renamed`, `avatar_removed` for `group_avatar_changed`. `chat_wallpaper_set`: `actor` set a background
|
|
6637
|
+
* for both people of a direct chat.
|
|
6283
6638
|
* `history_imported` opens and `history_import_ended` closes an imported history; both carry `import`, and
|
|
6284
6639
|
* `actor` is the importer. `imported_note` is a line of the export that is not a message; its text is `text`.
|
|
6285
6640
|
*/
|
|
@@ -7220,6 +7575,7 @@ export interface components {
|
|
|
7220
7575
|
/** @description Opaque `next_cursor` of the previous page */
|
|
7221
7576
|
After: components["schemas"]["Cursor"];
|
|
7222
7577
|
ChatId: components["schemas"]["Id"];
|
|
7578
|
+
PlaylistId: components["schemas"]["Id"];
|
|
7223
7579
|
MessageId: components["schemas"]["Id"];
|
|
7224
7580
|
ImportId: components["schemas"]["Id"];
|
|
7225
7581
|
ImportSenderKey: components["schemas"]["ImportSenderKey"];
|
|
@@ -7955,6 +8311,408 @@ export interface operations {
|
|
|
7955
8311
|
426: components["responses"]["ClientOutdated"];
|
|
7956
8312
|
};
|
|
7957
8313
|
};
|
|
8314
|
+
getClientSettings: {
|
|
8315
|
+
parameters: {
|
|
8316
|
+
query?: never;
|
|
8317
|
+
header?: {
|
|
8318
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
8319
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
8320
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
8321
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
8322
|
+
};
|
|
8323
|
+
path?: never;
|
|
8324
|
+
cookie?: never;
|
|
8325
|
+
};
|
|
8326
|
+
requestBody?: never;
|
|
8327
|
+
responses: {
|
|
8328
|
+
/** @description Settings */
|
|
8329
|
+
200: {
|
|
8330
|
+
headers: {
|
|
8331
|
+
[name: string]: unknown;
|
|
8332
|
+
};
|
|
8333
|
+
content: {
|
|
8334
|
+
"application/json": components["schemas"]["ClientSettings"];
|
|
8335
|
+
};
|
|
8336
|
+
};
|
|
8337
|
+
401: components["responses"]["Unauthorized"];
|
|
8338
|
+
426: components["responses"]["ClientOutdated"];
|
|
8339
|
+
};
|
|
8340
|
+
};
|
|
8341
|
+
updateClientSettings: {
|
|
8342
|
+
parameters: {
|
|
8343
|
+
query?: never;
|
|
8344
|
+
header?: {
|
|
8345
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
8346
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
8347
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
8348
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
8349
|
+
};
|
|
8350
|
+
path?: never;
|
|
8351
|
+
cookie?: never;
|
|
8352
|
+
};
|
|
8353
|
+
requestBody: {
|
|
8354
|
+
content: {
|
|
8355
|
+
"application/json": components["schemas"]["UpdateClientSettingsRequest"];
|
|
8356
|
+
};
|
|
8357
|
+
};
|
|
8358
|
+
responses: {
|
|
8359
|
+
/** @description Settings after the change */
|
|
8360
|
+
200: {
|
|
8361
|
+
headers: {
|
|
8362
|
+
[name: string]: unknown;
|
|
8363
|
+
};
|
|
8364
|
+
content: {
|
|
8365
|
+
"application/json": components["schemas"]["ClientSettings"];
|
|
8366
|
+
};
|
|
8367
|
+
};
|
|
8368
|
+
400: components["responses"]["BadRequest"];
|
|
8369
|
+
401: components["responses"]["Unauthorized"];
|
|
8370
|
+
422: components["responses"]["ValidationFailed"];
|
|
8371
|
+
426: components["responses"]["ClientOutdated"];
|
|
8372
|
+
};
|
|
8373
|
+
};
|
|
8374
|
+
listWallpapers: {
|
|
8375
|
+
parameters: {
|
|
8376
|
+
query?: never;
|
|
8377
|
+
header?: {
|
|
8378
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
8379
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
8380
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
8381
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
8382
|
+
};
|
|
8383
|
+
path?: never;
|
|
8384
|
+
cookie?: never;
|
|
8385
|
+
};
|
|
8386
|
+
requestBody?: never;
|
|
8387
|
+
responses: {
|
|
8388
|
+
/** @description Backgrounds */
|
|
8389
|
+
200: {
|
|
8390
|
+
headers: {
|
|
8391
|
+
[name: string]: unknown;
|
|
8392
|
+
};
|
|
8393
|
+
content: {
|
|
8394
|
+
"application/json": components["schemas"]["WallpaperList"];
|
|
8395
|
+
};
|
|
8396
|
+
};
|
|
8397
|
+
401: components["responses"]["Unauthorized"];
|
|
8398
|
+
426: components["responses"]["ClientOutdated"];
|
|
8399
|
+
};
|
|
8400
|
+
};
|
|
8401
|
+
setDefaultWallpaper: {
|
|
8402
|
+
parameters: {
|
|
8403
|
+
query?: never;
|
|
8404
|
+
header?: {
|
|
8405
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
8406
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
8407
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
8408
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
8409
|
+
};
|
|
8410
|
+
path?: never;
|
|
8411
|
+
cookie?: never;
|
|
8412
|
+
};
|
|
8413
|
+
requestBody: {
|
|
8414
|
+
content: {
|
|
8415
|
+
"application/json": components["schemas"]["SetWallpaperRequest"];
|
|
8416
|
+
};
|
|
8417
|
+
};
|
|
8418
|
+
responses: {
|
|
8419
|
+
/** @description The stored background */
|
|
8420
|
+
200: {
|
|
8421
|
+
headers: {
|
|
8422
|
+
[name: string]: unknown;
|
|
8423
|
+
};
|
|
8424
|
+
content: {
|
|
8425
|
+
"application/json": components["schemas"]["WallpaperEntry"];
|
|
8426
|
+
};
|
|
8427
|
+
};
|
|
8428
|
+
400: components["responses"]["BadRequest"];
|
|
8429
|
+
401: components["responses"]["Unauthorized"];
|
|
8430
|
+
422: components["responses"]["ValidationFailed"];
|
|
8431
|
+
426: components["responses"]["ClientOutdated"];
|
|
8432
|
+
};
|
|
8433
|
+
};
|
|
8434
|
+
deleteDefaultWallpaper: {
|
|
8435
|
+
parameters: {
|
|
8436
|
+
query?: never;
|
|
8437
|
+
header?: {
|
|
8438
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
8439
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
8440
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
8441
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
8442
|
+
};
|
|
8443
|
+
path?: never;
|
|
8444
|
+
cookie?: never;
|
|
8445
|
+
};
|
|
8446
|
+
requestBody?: never;
|
|
8447
|
+
responses: {
|
|
8448
|
+
/** @description Removed */
|
|
8449
|
+
204: {
|
|
8450
|
+
headers: {
|
|
8451
|
+
[name: string]: unknown;
|
|
8452
|
+
};
|
|
8453
|
+
content?: never;
|
|
8454
|
+
};
|
|
8455
|
+
401: components["responses"]["Unauthorized"];
|
|
8456
|
+
426: components["responses"]["ClientOutdated"];
|
|
8457
|
+
};
|
|
8458
|
+
};
|
|
8459
|
+
setChatWallpaper: {
|
|
8460
|
+
parameters: {
|
|
8461
|
+
query?: never;
|
|
8462
|
+
header?: {
|
|
8463
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
8464
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
8465
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
8466
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
8467
|
+
};
|
|
8468
|
+
path: {
|
|
8469
|
+
chat_id: components["parameters"]["ChatId"];
|
|
8470
|
+
};
|
|
8471
|
+
cookie?: never;
|
|
8472
|
+
};
|
|
8473
|
+
requestBody: {
|
|
8474
|
+
content: {
|
|
8475
|
+
"application/json": components["schemas"]["SetChatWallpaperRequest"];
|
|
8476
|
+
};
|
|
8477
|
+
};
|
|
8478
|
+
responses: {
|
|
8479
|
+
/** @description The caller's background of this chat */
|
|
8480
|
+
200: {
|
|
8481
|
+
headers: {
|
|
8482
|
+
[name: string]: unknown;
|
|
8483
|
+
};
|
|
8484
|
+
content: {
|
|
8485
|
+
"application/json": components["schemas"]["WallpaperEntry"];
|
|
8486
|
+
};
|
|
8487
|
+
};
|
|
8488
|
+
400: components["responses"]["BadRequest"];
|
|
8489
|
+
401: components["responses"]["Unauthorized"];
|
|
8490
|
+
403: components["responses"]["Forbidden"];
|
|
8491
|
+
404: components["responses"]["NotFound"];
|
|
8492
|
+
422: components["responses"]["ValidationFailed"];
|
|
8493
|
+
426: components["responses"]["ClientOutdated"];
|
|
8494
|
+
};
|
|
8495
|
+
};
|
|
8496
|
+
deleteChatWallpaper: {
|
|
8497
|
+
parameters: {
|
|
8498
|
+
query?: never;
|
|
8499
|
+
header?: {
|
|
8500
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
8501
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
8502
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
8503
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
8504
|
+
};
|
|
8505
|
+
path: {
|
|
8506
|
+
chat_id: components["parameters"]["ChatId"];
|
|
8507
|
+
};
|
|
8508
|
+
cookie?: never;
|
|
8509
|
+
};
|
|
8510
|
+
requestBody?: never;
|
|
8511
|
+
responses: {
|
|
8512
|
+
/** @description Removed */
|
|
8513
|
+
204: {
|
|
8514
|
+
headers: {
|
|
8515
|
+
[name: string]: unknown;
|
|
8516
|
+
};
|
|
8517
|
+
content?: never;
|
|
8518
|
+
};
|
|
8519
|
+
401: components["responses"]["Unauthorized"];
|
|
8520
|
+
404: components["responses"]["NotFound"];
|
|
8521
|
+
426: components["responses"]["ClientOutdated"];
|
|
8522
|
+
};
|
|
8523
|
+
};
|
|
8524
|
+
listPlaylists: {
|
|
8525
|
+
parameters: {
|
|
8526
|
+
query?: never;
|
|
8527
|
+
header?: {
|
|
8528
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
8529
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
8530
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
8531
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
8532
|
+
};
|
|
8533
|
+
path?: never;
|
|
8534
|
+
cookie?: never;
|
|
8535
|
+
};
|
|
8536
|
+
requestBody?: never;
|
|
8537
|
+
responses: {
|
|
8538
|
+
/** @description Playlists */
|
|
8539
|
+
200: {
|
|
8540
|
+
headers: {
|
|
8541
|
+
[name: string]: unknown;
|
|
8542
|
+
};
|
|
8543
|
+
content: {
|
|
8544
|
+
"application/json": components["schemas"]["PlaylistList"];
|
|
8545
|
+
};
|
|
8546
|
+
};
|
|
8547
|
+
401: components["responses"]["Unauthorized"];
|
|
8548
|
+
426: components["responses"]["ClientOutdated"];
|
|
8549
|
+
};
|
|
8550
|
+
};
|
|
8551
|
+
createPlaylist: {
|
|
8552
|
+
parameters: {
|
|
8553
|
+
query?: never;
|
|
8554
|
+
header?: {
|
|
8555
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
8556
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
8557
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
8558
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
8559
|
+
};
|
|
8560
|
+
path?: never;
|
|
8561
|
+
cookie?: never;
|
|
8562
|
+
};
|
|
8563
|
+
requestBody: {
|
|
8564
|
+
content: {
|
|
8565
|
+
"application/json": components["schemas"]["CreatePlaylistRequest"];
|
|
8566
|
+
};
|
|
8567
|
+
};
|
|
8568
|
+
responses: {
|
|
8569
|
+
/** @description Created playlist */
|
|
8570
|
+
201: {
|
|
8571
|
+
headers: {
|
|
8572
|
+
[name: string]: unknown;
|
|
8573
|
+
};
|
|
8574
|
+
content: {
|
|
8575
|
+
"application/json": components["schemas"]["Playlist"];
|
|
8576
|
+
};
|
|
8577
|
+
};
|
|
8578
|
+
400: components["responses"]["BadRequest"];
|
|
8579
|
+
401: components["responses"]["Unauthorized"];
|
|
8580
|
+
409: components["responses"]["Conflict"];
|
|
8581
|
+
422: components["responses"]["ValidationFailed"];
|
|
8582
|
+
426: components["responses"]["ClientOutdated"];
|
|
8583
|
+
};
|
|
8584
|
+
};
|
|
8585
|
+
getPlaylist: {
|
|
8586
|
+
parameters: {
|
|
8587
|
+
query?: never;
|
|
8588
|
+
header?: {
|
|
8589
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
8590
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
8591
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
8592
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
8593
|
+
};
|
|
8594
|
+
path: {
|
|
8595
|
+
playlist_id: components["parameters"]["PlaylistId"];
|
|
8596
|
+
};
|
|
8597
|
+
cookie?: never;
|
|
8598
|
+
};
|
|
8599
|
+
requestBody?: never;
|
|
8600
|
+
responses: {
|
|
8601
|
+
/** @description Playlist */
|
|
8602
|
+
200: {
|
|
8603
|
+
headers: {
|
|
8604
|
+
[name: string]: unknown;
|
|
8605
|
+
};
|
|
8606
|
+
content: {
|
|
8607
|
+
"application/json": components["schemas"]["Playlist"];
|
|
8608
|
+
};
|
|
8609
|
+
};
|
|
8610
|
+
401: components["responses"]["Unauthorized"];
|
|
8611
|
+
404: components["responses"]["NotFound"];
|
|
8612
|
+
426: components["responses"]["ClientOutdated"];
|
|
8613
|
+
};
|
|
8614
|
+
};
|
|
8615
|
+
deletePlaylist: {
|
|
8616
|
+
parameters: {
|
|
8617
|
+
query?: never;
|
|
8618
|
+
header?: {
|
|
8619
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
8620
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
8621
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
8622
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
8623
|
+
};
|
|
8624
|
+
path: {
|
|
8625
|
+
playlist_id: components["parameters"]["PlaylistId"];
|
|
8626
|
+
};
|
|
8627
|
+
cookie?: never;
|
|
8628
|
+
};
|
|
8629
|
+
requestBody?: never;
|
|
8630
|
+
responses: {
|
|
8631
|
+
/** @description Deleted */
|
|
8632
|
+
204: {
|
|
8633
|
+
headers: {
|
|
8634
|
+
[name: string]: unknown;
|
|
8635
|
+
};
|
|
8636
|
+
content?: never;
|
|
8637
|
+
};
|
|
8638
|
+
401: components["responses"]["Unauthorized"];
|
|
8639
|
+
404: components["responses"]["NotFound"];
|
|
8640
|
+
426: components["responses"]["ClientOutdated"];
|
|
8641
|
+
};
|
|
8642
|
+
};
|
|
8643
|
+
renamePlaylist: {
|
|
8644
|
+
parameters: {
|
|
8645
|
+
query?: never;
|
|
8646
|
+
header?: {
|
|
8647
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
8648
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
8649
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
8650
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
8651
|
+
};
|
|
8652
|
+
path: {
|
|
8653
|
+
playlist_id: components["parameters"]["PlaylistId"];
|
|
8654
|
+
};
|
|
8655
|
+
cookie?: never;
|
|
8656
|
+
};
|
|
8657
|
+
requestBody: {
|
|
8658
|
+
content: {
|
|
8659
|
+
"application/json": components["schemas"]["RenamePlaylistRequest"];
|
|
8660
|
+
};
|
|
8661
|
+
};
|
|
8662
|
+
responses: {
|
|
8663
|
+
/** @description Renamed playlist */
|
|
8664
|
+
200: {
|
|
8665
|
+
headers: {
|
|
8666
|
+
[name: string]: unknown;
|
|
8667
|
+
};
|
|
8668
|
+
content: {
|
|
8669
|
+
"application/json": components["schemas"]["PlaylistSummary"];
|
|
8670
|
+
};
|
|
8671
|
+
};
|
|
8672
|
+
400: components["responses"]["BadRequest"];
|
|
8673
|
+
401: components["responses"]["Unauthorized"];
|
|
8674
|
+
404: components["responses"]["NotFound"];
|
|
8675
|
+
422: components["responses"]["ValidationFailed"];
|
|
8676
|
+
426: components["responses"]["ClientOutdated"];
|
|
8677
|
+
};
|
|
8678
|
+
};
|
|
8679
|
+
replacePlaylistTracks: {
|
|
8680
|
+
parameters: {
|
|
8681
|
+
query?: never;
|
|
8682
|
+
header?: {
|
|
8683
|
+
/** @description Version of the client app, for logs and the per-client metric. */
|
|
8684
|
+
"X-Client-Version"?: components["parameters"]["ClientVersion"];
|
|
8685
|
+
/** @description Contract version the client was built with (`API_VERSION` of `@myronsi/messenger-api`). A different MAJOR or a version below `min_client_api_version` is answered with `426`; a malformed value with `400` (`invalid_client_version`). */
|
|
8686
|
+
"X-Client-Api-Version"?: components["parameters"]["ClientApiVersion"];
|
|
8687
|
+
};
|
|
8688
|
+
path: {
|
|
8689
|
+
playlist_id: components["parameters"]["PlaylistId"];
|
|
8690
|
+
};
|
|
8691
|
+
cookie?: never;
|
|
8692
|
+
};
|
|
8693
|
+
requestBody: {
|
|
8694
|
+
content: {
|
|
8695
|
+
"application/json": components["schemas"]["ReplacePlaylistTracksRequest"];
|
|
8696
|
+
};
|
|
8697
|
+
};
|
|
8698
|
+
responses: {
|
|
8699
|
+
/** @description Playlist after the change */
|
|
8700
|
+
200: {
|
|
8701
|
+
headers: {
|
|
8702
|
+
[name: string]: unknown;
|
|
8703
|
+
};
|
|
8704
|
+
content: {
|
|
8705
|
+
"application/json": components["schemas"]["Playlist"];
|
|
8706
|
+
};
|
|
8707
|
+
};
|
|
8708
|
+
400: components["responses"]["BadRequest"];
|
|
8709
|
+
401: components["responses"]["Unauthorized"];
|
|
8710
|
+
404: components["responses"]["NotFound"];
|
|
8711
|
+
409: components["responses"]["Conflict"];
|
|
8712
|
+
422: components["responses"]["ValidationFailed"];
|
|
8713
|
+
426: components["responses"]["ClientOutdated"];
|
|
8714
|
+
};
|
|
8715
|
+
};
|
|
7958
8716
|
changePassword: {
|
|
7959
8717
|
parameters: {
|
|
7960
8718
|
query?: never;
|