@ai-matrx/desktop-protocol 0.21.22 → 0.21.23

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.
@@ -707,7 +707,7 @@ type OpSpec = {
707
707
  readonly params: z.ZodType;
708
708
  readonly result: z.ZodType;
709
709
  readonly kind: "unary" | "stream" | "resource";
710
- readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28";
710
+ readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29";
711
711
  readonly errors: readonly z.infer<typeof ErrorCode>[];
712
712
  };
713
713
  declare const OPS: {
@@ -2456,6 +2456,62 @@ declare const OPS: {
2456
2456
  readonly since: "1.11";
2457
2457
  readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2458
2458
  };
2459
+ readonly "apps.chats.titles_check": {
2460
+ readonly params: z.ZodObject<{
2461
+ app_key: z.ZodString;
2462
+ }, z.core.$strict>;
2463
+ readonly result: z.ZodObject<{
2464
+ app_key: z.ZodString;
2465
+ chats_total: z.ZodInt;
2466
+ chats_in_several_windows: z.ZodInt;
2467
+ chats_with_a_different_name: z.ZodInt;
2468
+ copies_to_write: z.ZodInt;
2469
+ chats: z.ZodArray<z.ZodObject<{
2470
+ chat_id: z.ZodString;
2471
+ title: z.ZodString;
2472
+ title_source: z.ZodEnum<{
2473
+ user: "user";
2474
+ auto: "auto";
2475
+ }>;
2476
+ decided_from: z.ZodString;
2477
+ kind: z.ZodEnum<{
2478
+ user_vs_auto: "user_vs_auto";
2479
+ user_vs_user: "user_vs_user";
2480
+ auto_vs_auto: "auto_vs_auto";
2481
+ source_only: "source_only";
2482
+ }>;
2483
+ windows: z.ZodArray<z.ZodString>;
2484
+ differs_in: z.ZodArray<z.ZodObject<{
2485
+ window: z.ZodString;
2486
+ copies: z.ZodInt;
2487
+ titles: z.ZodArray<z.ZodObject<{
2488
+ title: z.ZodString;
2489
+ source: z.ZodString;
2490
+ }, z.core.$strict>>;
2491
+ }, z.core.$strict>>;
2492
+ }, z.core.$strict>>;
2493
+ }, z.core.$strict>;
2494
+ readonly kind: "unary";
2495
+ readonly since: "1.29";
2496
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2497
+ };
2498
+ readonly "apps.chats.titles_push": {
2499
+ readonly params: z.ZodObject<{
2500
+ app_key: z.ZodString;
2501
+ chat_id: z.ZodOptional<z.ZodString>;
2502
+ dry_run: z.ZodOptional<z.ZodBoolean>;
2503
+ }, z.core.$strict>;
2504
+ readonly result: z.ZodObject<{
2505
+ app_key: z.ZodString;
2506
+ written: z.ZodInt;
2507
+ chats_fixed: z.ZodInt;
2508
+ failed: z.ZodInt;
2509
+ chats_with_a_different_name: z.ZodInt;
2510
+ }, z.core.$strict>;
2511
+ readonly kind: "unary";
2512
+ readonly since: "1.29";
2513
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2514
+ };
2459
2515
  readonly "apps.spend": {
2460
2516
  readonly params: z.ZodObject<{
2461
2517
  app_key: z.ZodString;
@@ -9277,6 +9333,84 @@ declare const NAMED_SCHEMAS: {
9277
9333
  chat_id: z.ZodString;
9278
9334
  window: z.ZodOptional<z.ZodString>;
9279
9335
  }, z.core.$strict>;
9336
+ readonly TitleCopies: z.ZodObject<{
9337
+ window: z.ZodString;
9338
+ copies: z.ZodInt;
9339
+ titles: z.ZodArray<z.ZodObject<{
9340
+ title: z.ZodString;
9341
+ source: z.ZodString;
9342
+ }, z.core.$strict>>;
9343
+ }, z.core.$strict>;
9344
+ readonly TitleMismatch: z.ZodObject<{
9345
+ chat_id: z.ZodString;
9346
+ title: z.ZodString;
9347
+ title_source: z.ZodEnum<{
9348
+ user: "user";
9349
+ auto: "auto";
9350
+ }>;
9351
+ decided_from: z.ZodString;
9352
+ kind: z.ZodEnum<{
9353
+ user_vs_auto: "user_vs_auto";
9354
+ user_vs_user: "user_vs_user";
9355
+ auto_vs_auto: "auto_vs_auto";
9356
+ source_only: "source_only";
9357
+ }>;
9358
+ windows: z.ZodArray<z.ZodString>;
9359
+ differs_in: z.ZodArray<z.ZodObject<{
9360
+ window: z.ZodString;
9361
+ copies: z.ZodInt;
9362
+ titles: z.ZodArray<z.ZodObject<{
9363
+ title: z.ZodString;
9364
+ source: z.ZodString;
9365
+ }, z.core.$strict>>;
9366
+ }, z.core.$strict>>;
9367
+ }, z.core.$strict>;
9368
+ readonly AppsChatsTitlesCheckParams: z.ZodObject<{
9369
+ app_key: z.ZodString;
9370
+ }, z.core.$strict>;
9371
+ readonly AppsChatsTitlesCheckResult: z.ZodObject<{
9372
+ app_key: z.ZodString;
9373
+ chats_total: z.ZodInt;
9374
+ chats_in_several_windows: z.ZodInt;
9375
+ chats_with_a_different_name: z.ZodInt;
9376
+ copies_to_write: z.ZodInt;
9377
+ chats: z.ZodArray<z.ZodObject<{
9378
+ chat_id: z.ZodString;
9379
+ title: z.ZodString;
9380
+ title_source: z.ZodEnum<{
9381
+ user: "user";
9382
+ auto: "auto";
9383
+ }>;
9384
+ decided_from: z.ZodString;
9385
+ kind: z.ZodEnum<{
9386
+ user_vs_auto: "user_vs_auto";
9387
+ user_vs_user: "user_vs_user";
9388
+ auto_vs_auto: "auto_vs_auto";
9389
+ source_only: "source_only";
9390
+ }>;
9391
+ windows: z.ZodArray<z.ZodString>;
9392
+ differs_in: z.ZodArray<z.ZodObject<{
9393
+ window: z.ZodString;
9394
+ copies: z.ZodInt;
9395
+ titles: z.ZodArray<z.ZodObject<{
9396
+ title: z.ZodString;
9397
+ source: z.ZodString;
9398
+ }, z.core.$strict>>;
9399
+ }, z.core.$strict>>;
9400
+ }, z.core.$strict>>;
9401
+ }, z.core.$strict>;
9402
+ readonly AppsChatsTitlesPushParams: z.ZodObject<{
9403
+ app_key: z.ZodString;
9404
+ chat_id: z.ZodOptional<z.ZodString>;
9405
+ dry_run: z.ZodOptional<z.ZodBoolean>;
9406
+ }, z.core.$strict>;
9407
+ readonly AppsChatsTitlesPushResult: z.ZodObject<{
9408
+ app_key: z.ZodString;
9409
+ written: z.ZodInt;
9410
+ chats_fixed: z.ZodInt;
9411
+ failed: z.ZodInt;
9412
+ chats_with_a_different_name: z.ZodInt;
9413
+ }, z.core.$strict>;
9280
9414
  readonly SpendSplit: z.ZodObject<{
9281
9415
  main: z.ZodNumber;
9282
9416
  helpers: z.ZodNumber;
@@ -707,7 +707,7 @@ type OpSpec = {
707
707
  readonly params: z.ZodType;
708
708
  readonly result: z.ZodType;
709
709
  readonly kind: "unary" | "stream" | "resource";
710
- readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28";
710
+ readonly since: "1.0" | "1.2" | "1.3" | "1.4" | "1.5" | "1.6" | "1.8" | "1.9" | "1.10" | "1.11" | "1.16" | "1.17" | "1.19" | "1.20" | "1.21" | "1.22" | "1.23" | "1.24" | "1.26" | "1.28" | "1.29";
711
711
  readonly errors: readonly z.infer<typeof ErrorCode>[];
712
712
  };
713
713
  declare const OPS: {
@@ -2456,6 +2456,62 @@ declare const OPS: {
2456
2456
  readonly since: "1.11";
2457
2457
  readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2458
2458
  };
2459
+ readonly "apps.chats.titles_check": {
2460
+ readonly params: z.ZodObject<{
2461
+ app_key: z.ZodString;
2462
+ }, z.core.$strict>;
2463
+ readonly result: z.ZodObject<{
2464
+ app_key: z.ZodString;
2465
+ chats_total: z.ZodInt;
2466
+ chats_in_several_windows: z.ZodInt;
2467
+ chats_with_a_different_name: z.ZodInt;
2468
+ copies_to_write: z.ZodInt;
2469
+ chats: z.ZodArray<z.ZodObject<{
2470
+ chat_id: z.ZodString;
2471
+ title: z.ZodString;
2472
+ title_source: z.ZodEnum<{
2473
+ user: "user";
2474
+ auto: "auto";
2475
+ }>;
2476
+ decided_from: z.ZodString;
2477
+ kind: z.ZodEnum<{
2478
+ user_vs_auto: "user_vs_auto";
2479
+ user_vs_user: "user_vs_user";
2480
+ auto_vs_auto: "auto_vs_auto";
2481
+ source_only: "source_only";
2482
+ }>;
2483
+ windows: z.ZodArray<z.ZodString>;
2484
+ differs_in: z.ZodArray<z.ZodObject<{
2485
+ window: z.ZodString;
2486
+ copies: z.ZodInt;
2487
+ titles: z.ZodArray<z.ZodObject<{
2488
+ title: z.ZodString;
2489
+ source: z.ZodString;
2490
+ }, z.core.$strict>>;
2491
+ }, z.core.$strict>>;
2492
+ }, z.core.$strict>>;
2493
+ }, z.core.$strict>;
2494
+ readonly kind: "unary";
2495
+ readonly since: "1.29";
2496
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2497
+ };
2498
+ readonly "apps.chats.titles_push": {
2499
+ readonly params: z.ZodObject<{
2500
+ app_key: z.ZodString;
2501
+ chat_id: z.ZodOptional<z.ZodString>;
2502
+ dry_run: z.ZodOptional<z.ZodBoolean>;
2503
+ }, z.core.$strict>;
2504
+ readonly result: z.ZodObject<{
2505
+ app_key: z.ZodString;
2506
+ written: z.ZodInt;
2507
+ chats_fixed: z.ZodInt;
2508
+ failed: z.ZodInt;
2509
+ chats_with_a_different_name: z.ZodInt;
2510
+ }, z.core.$strict>;
2511
+ readonly kind: "unary";
2512
+ readonly since: "1.29";
2513
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
2514
+ };
2459
2515
  readonly "apps.spend": {
2460
2516
  readonly params: z.ZodObject<{
2461
2517
  app_key: z.ZodString;
@@ -9277,6 +9333,84 @@ declare const NAMED_SCHEMAS: {
9277
9333
  chat_id: z.ZodString;
9278
9334
  window: z.ZodOptional<z.ZodString>;
9279
9335
  }, z.core.$strict>;
9336
+ readonly TitleCopies: z.ZodObject<{
9337
+ window: z.ZodString;
9338
+ copies: z.ZodInt;
9339
+ titles: z.ZodArray<z.ZodObject<{
9340
+ title: z.ZodString;
9341
+ source: z.ZodString;
9342
+ }, z.core.$strict>>;
9343
+ }, z.core.$strict>;
9344
+ readonly TitleMismatch: z.ZodObject<{
9345
+ chat_id: z.ZodString;
9346
+ title: z.ZodString;
9347
+ title_source: z.ZodEnum<{
9348
+ user: "user";
9349
+ auto: "auto";
9350
+ }>;
9351
+ decided_from: z.ZodString;
9352
+ kind: z.ZodEnum<{
9353
+ user_vs_auto: "user_vs_auto";
9354
+ user_vs_user: "user_vs_user";
9355
+ auto_vs_auto: "auto_vs_auto";
9356
+ source_only: "source_only";
9357
+ }>;
9358
+ windows: z.ZodArray<z.ZodString>;
9359
+ differs_in: z.ZodArray<z.ZodObject<{
9360
+ window: z.ZodString;
9361
+ copies: z.ZodInt;
9362
+ titles: z.ZodArray<z.ZodObject<{
9363
+ title: z.ZodString;
9364
+ source: z.ZodString;
9365
+ }, z.core.$strict>>;
9366
+ }, z.core.$strict>>;
9367
+ }, z.core.$strict>;
9368
+ readonly AppsChatsTitlesCheckParams: z.ZodObject<{
9369
+ app_key: z.ZodString;
9370
+ }, z.core.$strict>;
9371
+ readonly AppsChatsTitlesCheckResult: z.ZodObject<{
9372
+ app_key: z.ZodString;
9373
+ chats_total: z.ZodInt;
9374
+ chats_in_several_windows: z.ZodInt;
9375
+ chats_with_a_different_name: z.ZodInt;
9376
+ copies_to_write: z.ZodInt;
9377
+ chats: z.ZodArray<z.ZodObject<{
9378
+ chat_id: z.ZodString;
9379
+ title: z.ZodString;
9380
+ title_source: z.ZodEnum<{
9381
+ user: "user";
9382
+ auto: "auto";
9383
+ }>;
9384
+ decided_from: z.ZodString;
9385
+ kind: z.ZodEnum<{
9386
+ user_vs_auto: "user_vs_auto";
9387
+ user_vs_user: "user_vs_user";
9388
+ auto_vs_auto: "auto_vs_auto";
9389
+ source_only: "source_only";
9390
+ }>;
9391
+ windows: z.ZodArray<z.ZodString>;
9392
+ differs_in: z.ZodArray<z.ZodObject<{
9393
+ window: z.ZodString;
9394
+ copies: z.ZodInt;
9395
+ titles: z.ZodArray<z.ZodObject<{
9396
+ title: z.ZodString;
9397
+ source: z.ZodString;
9398
+ }, z.core.$strict>>;
9399
+ }, z.core.$strict>>;
9400
+ }, z.core.$strict>>;
9401
+ }, z.core.$strict>;
9402
+ readonly AppsChatsTitlesPushParams: z.ZodObject<{
9403
+ app_key: z.ZodString;
9404
+ chat_id: z.ZodOptional<z.ZodString>;
9405
+ dry_run: z.ZodOptional<z.ZodBoolean>;
9406
+ }, z.core.$strict>;
9407
+ readonly AppsChatsTitlesPushResult: z.ZodObject<{
9408
+ app_key: z.ZodString;
9409
+ written: z.ZodInt;
9410
+ chats_fixed: z.ZodInt;
9411
+ failed: z.ZodInt;
9412
+ chats_with_a_different_name: z.ZodInt;
9413
+ }, z.core.$strict>;
9280
9414
  readonly SpendSplit: z.ZodObject<{
9281
9415
  main: z.ZodNumber;
9282
9416
  helpers: z.ZodNumber;
package/dist/react.d.cts CHANGED
@@ -1896,6 +1896,62 @@ declare const OPS: {
1896
1896
  readonly since: "1.11";
1897
1897
  readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1898
1898
  };
1899
+ readonly "apps.chats.titles_check": {
1900
+ readonly params: z.ZodObject<{
1901
+ app_key: z.ZodString;
1902
+ }, z.core.$strict>;
1903
+ readonly result: z.ZodObject<{
1904
+ app_key: z.ZodString;
1905
+ chats_total: z.ZodInt;
1906
+ chats_in_several_windows: z.ZodInt;
1907
+ chats_with_a_different_name: z.ZodInt;
1908
+ copies_to_write: z.ZodInt;
1909
+ chats: z.ZodArray<z.ZodObject<{
1910
+ chat_id: z.ZodString;
1911
+ title: z.ZodString;
1912
+ title_source: z.ZodEnum<{
1913
+ user: "user";
1914
+ auto: "auto";
1915
+ }>;
1916
+ decided_from: z.ZodString;
1917
+ kind: z.ZodEnum<{
1918
+ user_vs_auto: "user_vs_auto";
1919
+ user_vs_user: "user_vs_user";
1920
+ auto_vs_auto: "auto_vs_auto";
1921
+ source_only: "source_only";
1922
+ }>;
1923
+ windows: z.ZodArray<z.ZodString>;
1924
+ differs_in: z.ZodArray<z.ZodObject<{
1925
+ window: z.ZodString;
1926
+ copies: z.ZodInt;
1927
+ titles: z.ZodArray<z.ZodObject<{
1928
+ title: z.ZodString;
1929
+ source: z.ZodString;
1930
+ }, z.core.$strict>>;
1931
+ }, z.core.$strict>>;
1932
+ }, z.core.$strict>>;
1933
+ }, z.core.$strict>;
1934
+ readonly kind: "unary";
1935
+ readonly since: "1.29";
1936
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1937
+ };
1938
+ readonly "apps.chats.titles_push": {
1939
+ readonly params: z.ZodObject<{
1940
+ app_key: z.ZodString;
1941
+ chat_id: z.ZodOptional<z.ZodString>;
1942
+ dry_run: z.ZodOptional<z.ZodBoolean>;
1943
+ }, z.core.$strict>;
1944
+ readonly result: z.ZodObject<{
1945
+ app_key: z.ZodString;
1946
+ written: z.ZodInt;
1947
+ chats_fixed: z.ZodInt;
1948
+ failed: z.ZodInt;
1949
+ chats_with_a_different_name: z.ZodInt;
1950
+ }, z.core.$strict>;
1951
+ readonly kind: "unary";
1952
+ readonly since: "1.29";
1953
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1954
+ };
1899
1955
  readonly "apps.spend": {
1900
1956
  readonly params: z.ZodObject<{
1901
1957
  app_key: z.ZodString;
package/dist/react.d.ts CHANGED
@@ -1896,6 +1896,62 @@ declare const OPS: {
1896
1896
  readonly since: "1.11";
1897
1897
  readonly errors: readonly ["NOT_FOUND", "CONFLICT", "TIMEOUT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1898
1898
  };
1899
+ readonly "apps.chats.titles_check": {
1900
+ readonly params: z.ZodObject<{
1901
+ app_key: z.ZodString;
1902
+ }, z.core.$strict>;
1903
+ readonly result: z.ZodObject<{
1904
+ app_key: z.ZodString;
1905
+ chats_total: z.ZodInt;
1906
+ chats_in_several_windows: z.ZodInt;
1907
+ chats_with_a_different_name: z.ZodInt;
1908
+ copies_to_write: z.ZodInt;
1909
+ chats: z.ZodArray<z.ZodObject<{
1910
+ chat_id: z.ZodString;
1911
+ title: z.ZodString;
1912
+ title_source: z.ZodEnum<{
1913
+ user: "user";
1914
+ auto: "auto";
1915
+ }>;
1916
+ decided_from: z.ZodString;
1917
+ kind: z.ZodEnum<{
1918
+ user_vs_auto: "user_vs_auto";
1919
+ user_vs_user: "user_vs_user";
1920
+ auto_vs_auto: "auto_vs_auto";
1921
+ source_only: "source_only";
1922
+ }>;
1923
+ windows: z.ZodArray<z.ZodString>;
1924
+ differs_in: z.ZodArray<z.ZodObject<{
1925
+ window: z.ZodString;
1926
+ copies: z.ZodInt;
1927
+ titles: z.ZodArray<z.ZodObject<{
1928
+ title: z.ZodString;
1929
+ source: z.ZodString;
1930
+ }, z.core.$strict>>;
1931
+ }, z.core.$strict>>;
1932
+ }, z.core.$strict>>;
1933
+ }, z.core.$strict>;
1934
+ readonly kind: "unary";
1935
+ readonly since: "1.29";
1936
+ readonly errors: readonly ["NOT_FOUND", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1937
+ };
1938
+ readonly "apps.chats.titles_push": {
1939
+ readonly params: z.ZodObject<{
1940
+ app_key: z.ZodString;
1941
+ chat_id: z.ZodOptional<z.ZodString>;
1942
+ dry_run: z.ZodOptional<z.ZodBoolean>;
1943
+ }, z.core.$strict>;
1944
+ readonly result: z.ZodObject<{
1945
+ app_key: z.ZodString;
1946
+ written: z.ZodInt;
1947
+ chats_fixed: z.ZodInt;
1948
+ failed: z.ZodInt;
1949
+ chats_with_a_different_name: z.ZodInt;
1950
+ }, z.core.$strict>;
1951
+ readonly kind: "unary";
1952
+ readonly since: "1.29";
1953
+ readonly errors: readonly ["NOT_FOUND", "CONFLICT", "PLATFORM_UNSUPPORTED", "INTERNAL"];
1954
+ };
1899
1955
  readonly "apps.spend": {
1900
1956
  readonly params: z.ZodObject<{
1901
1957
  app_key: z.ZodString;
@@ -9841,6 +9841,213 @@
9841
9841
  ],
9842
9842
  "additionalProperties": false
9843
9843
  },
9844
+ "TitleCopies": {
9845
+ "type": "object",
9846
+ "properties": {
9847
+ "window": {
9848
+ "$ref": "#/$defs/ChatPlace"
9849
+ },
9850
+ "copies": {
9851
+ "type": "integer",
9852
+ "minimum": 0,
9853
+ "maximum": 9007199254740991
9854
+ },
9855
+ "titles": {
9856
+ "maxItems": 50,
9857
+ "type": "array",
9858
+ "items": {
9859
+ "type": "object",
9860
+ "properties": {
9861
+ "title": {
9862
+ "type": "string",
9863
+ "maxLength": 2000
9864
+ },
9865
+ "source": {
9866
+ "type": "string",
9867
+ "maxLength": 32
9868
+ }
9869
+ },
9870
+ "required": [
9871
+ "title",
9872
+ "source"
9873
+ ],
9874
+ "additionalProperties": false
9875
+ }
9876
+ }
9877
+ },
9878
+ "required": [
9879
+ "window",
9880
+ "copies",
9881
+ "titles"
9882
+ ],
9883
+ "additionalProperties": false
9884
+ },
9885
+ "TitleMismatch": {
9886
+ "type": "object",
9887
+ "properties": {
9888
+ "chat_id": {
9889
+ "$ref": "#/$defs/ChatId"
9890
+ },
9891
+ "title": {
9892
+ "type": "string",
9893
+ "maxLength": 2000
9894
+ },
9895
+ "title_source": {
9896
+ "type": "string",
9897
+ "enum": [
9898
+ "user",
9899
+ "auto"
9900
+ ]
9901
+ },
9902
+ "decided_from": {
9903
+ "type": "string",
9904
+ "maxLength": 64
9905
+ },
9906
+ "kind": {
9907
+ "type": "string",
9908
+ "enum": [
9909
+ "user_vs_auto",
9910
+ "user_vs_user",
9911
+ "auto_vs_auto",
9912
+ "source_only"
9913
+ ]
9914
+ },
9915
+ "windows": {
9916
+ "maxItems": 200,
9917
+ "type": "array",
9918
+ "items": {
9919
+ "$ref": "#/$defs/ChatPlace"
9920
+ }
9921
+ },
9922
+ "differs_in": {
9923
+ "maxItems": 200,
9924
+ "type": "array",
9925
+ "items": {
9926
+ "$ref": "#/$defs/TitleCopies"
9927
+ }
9928
+ }
9929
+ },
9930
+ "required": [
9931
+ "chat_id",
9932
+ "title",
9933
+ "title_source",
9934
+ "decided_from",
9935
+ "kind",
9936
+ "windows",
9937
+ "differs_in"
9938
+ ],
9939
+ "additionalProperties": false
9940
+ },
9941
+ "AppsChatsTitlesCheckParams": {
9942
+ "type": "object",
9943
+ "properties": {
9944
+ "app_key": {
9945
+ "$ref": "#/$defs/AppKey"
9946
+ }
9947
+ },
9948
+ "required": [
9949
+ "app_key"
9950
+ ],
9951
+ "additionalProperties": false
9952
+ },
9953
+ "AppsChatsTitlesCheckResult": {
9954
+ "type": "object",
9955
+ "properties": {
9956
+ "app_key": {
9957
+ "$ref": "#/$defs/AppKey"
9958
+ },
9959
+ "chats_total": {
9960
+ "type": "integer",
9961
+ "minimum": 0,
9962
+ "maximum": 9007199254740991
9963
+ },
9964
+ "chats_in_several_windows": {
9965
+ "type": "integer",
9966
+ "minimum": 0,
9967
+ "maximum": 9007199254740991
9968
+ },
9969
+ "chats_with_a_different_name": {
9970
+ "type": "integer",
9971
+ "minimum": 0,
9972
+ "maximum": 9007199254740991
9973
+ },
9974
+ "copies_to_write": {
9975
+ "type": "integer",
9976
+ "minimum": 0,
9977
+ "maximum": 9007199254740991
9978
+ },
9979
+ "chats": {
9980
+ "maxItems": 5000,
9981
+ "type": "array",
9982
+ "items": {
9983
+ "$ref": "#/$defs/TitleMismatch"
9984
+ }
9985
+ }
9986
+ },
9987
+ "required": [
9988
+ "app_key",
9989
+ "chats_total",
9990
+ "chats_in_several_windows",
9991
+ "chats_with_a_different_name",
9992
+ "copies_to_write",
9993
+ "chats"
9994
+ ],
9995
+ "additionalProperties": false
9996
+ },
9997
+ "AppsChatsTitlesPushParams": {
9998
+ "type": "object",
9999
+ "properties": {
10000
+ "app_key": {
10001
+ "$ref": "#/$defs/AppKey"
10002
+ },
10003
+ "chat_id": {
10004
+ "$ref": "#/$defs/ChatId"
10005
+ },
10006
+ "dry_run": {
10007
+ "type": "boolean"
10008
+ }
10009
+ },
10010
+ "required": [
10011
+ "app_key"
10012
+ ],
10013
+ "additionalProperties": false
10014
+ },
10015
+ "AppsChatsTitlesPushResult": {
10016
+ "type": "object",
10017
+ "properties": {
10018
+ "app_key": {
10019
+ "$ref": "#/$defs/AppKey"
10020
+ },
10021
+ "written": {
10022
+ "type": "integer",
10023
+ "minimum": 0,
10024
+ "maximum": 9007199254740991
10025
+ },
10026
+ "chats_fixed": {
10027
+ "type": "integer",
10028
+ "minimum": 0,
10029
+ "maximum": 9007199254740991
10030
+ },
10031
+ "failed": {
10032
+ "type": "integer",
10033
+ "minimum": 0,
10034
+ "maximum": 9007199254740991
10035
+ },
10036
+ "chats_with_a_different_name": {
10037
+ "type": "integer",
10038
+ "minimum": 0,
10039
+ "maximum": 9007199254740991
10040
+ }
10041
+ },
10042
+ "required": [
10043
+ "app_key",
10044
+ "written",
10045
+ "chats_fixed",
10046
+ "failed",
10047
+ "chats_with_a_different_name"
10048
+ ],
10049
+ "additionalProperties": false
10050
+ },
9844
10051
  "SpendSplit": {
9845
10052
  "type": "object",
9846
10053
  "properties": {
@@ -13194,6 +13401,29 @@
13194
13401
  "INTERNAL"
13195
13402
  ]
13196
13403
  },
13404
+ "apps.chats.titles_check": {
13405
+ "params": "AppsChatsTitlesCheckParams",
13406
+ "result": "AppsChatsTitlesCheckResult",
13407
+ "kind": "unary",
13408
+ "since": "1.29",
13409
+ "errors": [
13410
+ "NOT_FOUND",
13411
+ "PLATFORM_UNSUPPORTED",
13412
+ "INTERNAL"
13413
+ ]
13414
+ },
13415
+ "apps.chats.titles_push": {
13416
+ "params": "AppsChatsTitlesPushParams",
13417
+ "result": "AppsChatsTitlesPushResult",
13418
+ "kind": "unary",
13419
+ "since": "1.29",
13420
+ "errors": [
13421
+ "NOT_FOUND",
13422
+ "CONFLICT",
13423
+ "PLATFORM_UNSUPPORTED",
13424
+ "INTERNAL"
13425
+ ]
13426
+ },
13197
13427
  "apps.spend": {
13198
13428
  "params": "AppsSpendParams",
13199
13429
  "result": "AppsSpendResult",
@@ -14306,5 +14536,5 @@
14306
14536
  "olderPeersGet": 0
14307
14537
  }
14308
14538
  },
14309
- "x-protocol-version": "1.28"
14539
+ "x-protocol-version": "1.29"
14310
14540
  }