@veruna/api-contracts 21.6.0 → 21.8.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.
Files changed (51) hide show
  1. package/build/tsconfig.tsbuildinfo +1 -1
  2. package/build/v1/ai/resolved-tool-settings.types.d.ts +7 -2
  3. package/build/v1/ai/resolved-tool-settings.types.js.map +1 -1
  4. package/build/v1/ai-model/schemas/model-settings.schema.d.ts +47 -7
  5. package/build/v1/ai-model/schemas/model-settings.schema.js +18 -7
  6. package/build/v1/ai-model/schemas/model-settings.schema.js.map +1 -1
  7. package/build/v1/ai-model/schemas/setting-key.enum.d.ts +3 -1
  8. package/build/v1/ai-model/schemas/setting-key.enum.js +3 -1
  9. package/build/v1/ai-model/schemas/setting-key.enum.js.map +1 -1
  10. package/build/v1/message/commands/create-message.command.d.ts +0 -2
  11. package/build/v1/message/queries/get-message-stream-reg.query.d.ts +0 -2
  12. package/build/v1/message/queries/get-message-stream-unreg.query.d.ts +0 -2
  13. package/build/v1/message/schemas/message-step-response.schema.js +3 -0
  14. package/build/v1/message/schemas/message-step-response.schema.js.map +1 -1
  15. package/build/v1/message/schemas/message-stream-frame.schema.d.ts +0 -1
  16. package/build/v1/message/schemas/stream-event-type.enum.d.ts +1 -1
  17. package/build/v1/message/schemas/stream-event-type.enum.js +1 -1
  18. package/build/v1/message/schemas/stream-event-type.enum.js.map +1 -1
  19. package/build/v1/message/schemas/stream-events.schema.d.ts +1 -3
  20. package/build/v1/message/schemas/stream-events.schema.js +3 -9
  21. package/build/v1/message/schemas/stream-events.schema.js.map +1 -1
  22. package/build/v1/model-route/admin/commands/create-model-route.command.d.ts +8 -0
  23. package/build/v1/model-route/admin/commands/update-model-route.command.d.ts +8 -0
  24. package/build/v1/model-route/admin/queries/get-model-route.query.d.ts +4 -0
  25. package/build/v1/model-route/admin/queries/list-model-routes-by-model.query.d.ts +4 -0
  26. package/build/v1/model-route/schemas/create-model-route-request.schema.d.ts +4 -0
  27. package/build/v1/model-route/schemas/list-model-routes-response.schema.d.ts +4 -0
  28. package/build/v1/model-route/schemas/model-route-response.schema.d.ts +4 -0
  29. package/build/v1/model-route/schemas/provider-generation-config.schema.d.ts +11 -0
  30. package/build/v1/model-route/schemas/provider-generation-config.schema.js +5 -2
  31. package/build/v1/model-route/schemas/provider-generation-config.schema.js.map +1 -1
  32. package/build/v1/model-route/schemas/update-model-route-request.schema.d.ts +4 -0
  33. package/build/v1/tool/admin/commands/create-model-tool-binding.command.d.ts +84 -0
  34. package/build/v1/tool/admin/commands/update-model-tool-binding.command.d.ts +84 -0
  35. package/build/v1/tool/admin/queries/get-model-tool-bindings.query.d.ts +42 -0
  36. package/build/v1/tool/schemas/tool.schema.d.ts +210 -0
  37. package/build-esm/.tsbuildinfo +1 -1
  38. package/build-esm/v1/ai/resolved-tool-settings.types.js.map +1 -1
  39. package/build-esm/v1/ai-model/schemas/model-settings.schema.js +18 -7
  40. package/build-esm/v1/ai-model/schemas/model-settings.schema.js.map +1 -1
  41. package/build-esm/v1/ai-model/schemas/setting-key.enum.js +3 -1
  42. package/build-esm/v1/ai-model/schemas/setting-key.enum.js.map +1 -1
  43. package/build-esm/v1/message/schemas/message-step-response.schema.js +3 -0
  44. package/build-esm/v1/message/schemas/message-step-response.schema.js.map +1 -1
  45. package/build-esm/v1/message/schemas/stream-event-type.enum.js +1 -1
  46. package/build-esm/v1/message/schemas/stream-event-type.enum.js.map +1 -1
  47. package/build-esm/v1/message/schemas/stream-events.schema.js +3 -9
  48. package/build-esm/v1/message/schemas/stream-events.schema.js.map +1 -1
  49. package/build-esm/v1/model-route/schemas/provider-generation-config.schema.js +5 -2
  50. package/build-esm/v1/model-route/schemas/provider-generation-config.schema.js.map +1 -1
  51. package/package.json +1 -1
@@ -430,6 +430,48 @@ export declare const ModelToolSettingsConfigWriteSchema: z.ZodArray<z.ZodDiscrim
430
430
  promptSuffix: z.ZodOptional<z.ZodString>;
431
431
  providerValue: z.ZodString;
432
432
  }, z.core.$strict>>;
433
+ }, z.core.$strict>, z.ZodObject<{
434
+ options: z.ZodArray<z.ZodObject<{
435
+ id: z.ZodString;
436
+ priceModifier: z.ZodDefault<z.ZodNumber>;
437
+ priceDelta: z.ZodDefault<z.ZodNumber>;
438
+ providerValue: z.ZodOptional<z.ZodString>;
439
+ providerValues: z.ZodOptional<z.ZodObject<{
440
+ OPENROUTER: z.ZodOptional<z.ZodString>;
441
+ KIE: z.ZodOptional<z.ZodString>;
442
+ WELLFLOW: z.ZodOptional<z.ZodString>;
443
+ PERPLEXITY: z.ZodOptional<z.ZodString>;
444
+ YANDEX: z.ZodOptional<z.ZodString>;
445
+ }, z.core.$strict>>;
446
+ promptSuffix: z.ZodOptional<z.ZodString>;
447
+ }, z.core.$strict>>;
448
+ defaultOptionId: z.ZodString;
449
+ autoSchemaConfig: z.ZodObject<{
450
+ paramName: z.ZodString;
451
+ paramDescription: z.ZodString;
452
+ }, z.core.$strict>;
453
+ key: z.ZodLiteral<import("../..").SettingKey.QUALITY>;
454
+ }, z.core.$strict>, z.ZodObject<{
455
+ options: z.ZodArray<z.ZodObject<{
456
+ id: z.ZodString;
457
+ priceModifier: z.ZodDefault<z.ZodNumber>;
458
+ priceDelta: z.ZodDefault<z.ZodNumber>;
459
+ providerValue: z.ZodOptional<z.ZodString>;
460
+ providerValues: z.ZodOptional<z.ZodObject<{
461
+ OPENROUTER: z.ZodOptional<z.ZodString>;
462
+ KIE: z.ZodOptional<z.ZodString>;
463
+ WELLFLOW: z.ZodOptional<z.ZodString>;
464
+ PERPLEXITY: z.ZodOptional<z.ZodString>;
465
+ YANDEX: z.ZodOptional<z.ZodString>;
466
+ }, z.core.$strict>>;
467
+ promptSuffix: z.ZodOptional<z.ZodString>;
468
+ }, z.core.$strict>>;
469
+ defaultOptionId: z.ZodString;
470
+ autoSchemaConfig: z.ZodObject<{
471
+ paramName: z.ZodString;
472
+ paramDescription: z.ZodString;
473
+ }, z.core.$strict>;
474
+ key: z.ZodLiteral<import("../..").SettingKey.BACKGROUND>;
433
475
  }, z.core.$strict>], "key">>;
434
476
  export declare const ModelToolBindingSchema: z.ZodObject<{
435
477
  uuid: z.ZodString;
@@ -522,6 +564,48 @@ export declare const ModelToolBindingSchema: z.ZodObject<{
522
564
  promptSuffix: z.ZodOptional<z.ZodString>;
523
565
  providerValue: z.ZodString;
524
566
  }, z.core.$strict>>;
567
+ }, z.core.$strict>, z.ZodObject<{
568
+ options: z.ZodArray<z.ZodObject<{
569
+ id: z.ZodString;
570
+ priceModifier: z.ZodDefault<z.ZodNumber>;
571
+ priceDelta: z.ZodDefault<z.ZodNumber>;
572
+ providerValue: z.ZodOptional<z.ZodString>;
573
+ providerValues: z.ZodOptional<z.ZodObject<{
574
+ OPENROUTER: z.ZodOptional<z.ZodString>;
575
+ KIE: z.ZodOptional<z.ZodString>;
576
+ WELLFLOW: z.ZodOptional<z.ZodString>;
577
+ PERPLEXITY: z.ZodOptional<z.ZodString>;
578
+ YANDEX: z.ZodOptional<z.ZodString>;
579
+ }, z.core.$strict>>;
580
+ promptSuffix: z.ZodOptional<z.ZodString>;
581
+ }, z.core.$strict>>;
582
+ defaultOptionId: z.ZodString;
583
+ autoSchemaConfig: z.ZodObject<{
584
+ paramName: z.ZodString;
585
+ paramDescription: z.ZodString;
586
+ }, z.core.$strict>;
587
+ key: z.ZodLiteral<import("../..").SettingKey.QUALITY>;
588
+ }, z.core.$strict>, z.ZodObject<{
589
+ options: z.ZodArray<z.ZodObject<{
590
+ id: z.ZodString;
591
+ priceModifier: z.ZodDefault<z.ZodNumber>;
592
+ priceDelta: z.ZodDefault<z.ZodNumber>;
593
+ providerValue: z.ZodOptional<z.ZodString>;
594
+ providerValues: z.ZodOptional<z.ZodObject<{
595
+ OPENROUTER: z.ZodOptional<z.ZodString>;
596
+ KIE: z.ZodOptional<z.ZodString>;
597
+ WELLFLOW: z.ZodOptional<z.ZodString>;
598
+ PERPLEXITY: z.ZodOptional<z.ZodString>;
599
+ YANDEX: z.ZodOptional<z.ZodString>;
600
+ }, z.core.$strict>>;
601
+ promptSuffix: z.ZodOptional<z.ZodString>;
602
+ }, z.core.$strict>>;
603
+ defaultOptionId: z.ZodString;
604
+ autoSchemaConfig: z.ZodObject<{
605
+ paramName: z.ZodString;
606
+ paramDescription: z.ZodString;
607
+ }, z.core.$strict>;
608
+ key: z.ZodLiteral<import("../..").SettingKey.BACKGROUND>;
525
609
  }, z.core.$strict>], "key">>;
526
610
  runtimeOverrides: z.ZodObject<{
527
611
  openrouter: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
@@ -652,6 +736,48 @@ export declare const ModelToolBindingListSchema: z.ZodObject<{
652
736
  promptSuffix: z.ZodOptional<z.ZodString>;
653
737
  providerValue: z.ZodString;
654
738
  }, z.core.$strict>>;
739
+ }, z.core.$strict>, z.ZodObject<{
740
+ options: z.ZodArray<z.ZodObject<{
741
+ id: z.ZodString;
742
+ priceModifier: z.ZodDefault<z.ZodNumber>;
743
+ priceDelta: z.ZodDefault<z.ZodNumber>;
744
+ providerValue: z.ZodOptional<z.ZodString>;
745
+ providerValues: z.ZodOptional<z.ZodObject<{
746
+ OPENROUTER: z.ZodOptional<z.ZodString>;
747
+ KIE: z.ZodOptional<z.ZodString>;
748
+ WELLFLOW: z.ZodOptional<z.ZodString>;
749
+ PERPLEXITY: z.ZodOptional<z.ZodString>;
750
+ YANDEX: z.ZodOptional<z.ZodString>;
751
+ }, z.core.$strict>>;
752
+ promptSuffix: z.ZodOptional<z.ZodString>;
753
+ }, z.core.$strict>>;
754
+ defaultOptionId: z.ZodString;
755
+ autoSchemaConfig: z.ZodObject<{
756
+ paramName: z.ZodString;
757
+ paramDescription: z.ZodString;
758
+ }, z.core.$strict>;
759
+ key: z.ZodLiteral<import("../..").SettingKey.QUALITY>;
760
+ }, z.core.$strict>, z.ZodObject<{
761
+ options: z.ZodArray<z.ZodObject<{
762
+ id: z.ZodString;
763
+ priceModifier: z.ZodDefault<z.ZodNumber>;
764
+ priceDelta: z.ZodDefault<z.ZodNumber>;
765
+ providerValue: z.ZodOptional<z.ZodString>;
766
+ providerValues: z.ZodOptional<z.ZodObject<{
767
+ OPENROUTER: z.ZodOptional<z.ZodString>;
768
+ KIE: z.ZodOptional<z.ZodString>;
769
+ WELLFLOW: z.ZodOptional<z.ZodString>;
770
+ PERPLEXITY: z.ZodOptional<z.ZodString>;
771
+ YANDEX: z.ZodOptional<z.ZodString>;
772
+ }, z.core.$strict>>;
773
+ promptSuffix: z.ZodOptional<z.ZodString>;
774
+ }, z.core.$strict>>;
775
+ defaultOptionId: z.ZodString;
776
+ autoSchemaConfig: z.ZodObject<{
777
+ paramName: z.ZodString;
778
+ paramDescription: z.ZodString;
779
+ }, z.core.$strict>;
780
+ key: z.ZodLiteral<import("../..").SettingKey.BACKGROUND>;
655
781
  }, z.core.$strict>], "key">>;
656
782
  runtimeOverrides: z.ZodObject<{
657
783
  openrouter: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
@@ -780,6 +906,48 @@ export declare const CreateModelToolBindingRequestSchema: z.ZodObject<{
780
906
  promptSuffix: z.ZodOptional<z.ZodString>;
781
907
  providerValue: z.ZodString;
782
908
  }, z.core.$strict>>;
909
+ }, z.core.$strict>, z.ZodObject<{
910
+ options: z.ZodArray<z.ZodObject<{
911
+ id: z.ZodString;
912
+ priceModifier: z.ZodDefault<z.ZodNumber>;
913
+ priceDelta: z.ZodDefault<z.ZodNumber>;
914
+ providerValue: z.ZodOptional<z.ZodString>;
915
+ providerValues: z.ZodOptional<z.ZodObject<{
916
+ OPENROUTER: z.ZodOptional<z.ZodString>;
917
+ KIE: z.ZodOptional<z.ZodString>;
918
+ WELLFLOW: z.ZodOptional<z.ZodString>;
919
+ PERPLEXITY: z.ZodOptional<z.ZodString>;
920
+ YANDEX: z.ZodOptional<z.ZodString>;
921
+ }, z.core.$strict>>;
922
+ promptSuffix: z.ZodOptional<z.ZodString>;
923
+ }, z.core.$strict>>;
924
+ defaultOptionId: z.ZodString;
925
+ autoSchemaConfig: z.ZodObject<{
926
+ paramName: z.ZodString;
927
+ paramDescription: z.ZodString;
928
+ }, z.core.$strict>;
929
+ key: z.ZodLiteral<import("../..").SettingKey.QUALITY>;
930
+ }, z.core.$strict>, z.ZodObject<{
931
+ options: z.ZodArray<z.ZodObject<{
932
+ id: z.ZodString;
933
+ priceModifier: z.ZodDefault<z.ZodNumber>;
934
+ priceDelta: z.ZodDefault<z.ZodNumber>;
935
+ providerValue: z.ZodOptional<z.ZodString>;
936
+ providerValues: z.ZodOptional<z.ZodObject<{
937
+ OPENROUTER: z.ZodOptional<z.ZodString>;
938
+ KIE: z.ZodOptional<z.ZodString>;
939
+ WELLFLOW: z.ZodOptional<z.ZodString>;
940
+ PERPLEXITY: z.ZodOptional<z.ZodString>;
941
+ YANDEX: z.ZodOptional<z.ZodString>;
942
+ }, z.core.$strict>>;
943
+ promptSuffix: z.ZodOptional<z.ZodString>;
944
+ }, z.core.$strict>>;
945
+ defaultOptionId: z.ZodString;
946
+ autoSchemaConfig: z.ZodObject<{
947
+ paramName: z.ZodString;
948
+ paramDescription: z.ZodString;
949
+ }, z.core.$strict>;
950
+ key: z.ZodLiteral<import("../..").SettingKey.BACKGROUND>;
783
951
  }, z.core.$strict>], "key">>>;
784
952
  runtimeOverrides: z.ZodDefault<z.ZodObject<{
785
953
  openrouter: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;
@@ -881,6 +1049,48 @@ export declare const UpdateModelToolBindingRequestSchema: z.ZodObject<{
881
1049
  promptSuffix: z.ZodOptional<z.ZodString>;
882
1050
  providerValue: z.ZodString;
883
1051
  }, z.core.$strict>>;
1052
+ }, z.core.$strict>, z.ZodObject<{
1053
+ options: z.ZodArray<z.ZodObject<{
1054
+ id: z.ZodString;
1055
+ priceModifier: z.ZodDefault<z.ZodNumber>;
1056
+ priceDelta: z.ZodDefault<z.ZodNumber>;
1057
+ providerValue: z.ZodOptional<z.ZodString>;
1058
+ providerValues: z.ZodOptional<z.ZodObject<{
1059
+ OPENROUTER: z.ZodOptional<z.ZodString>;
1060
+ KIE: z.ZodOptional<z.ZodString>;
1061
+ WELLFLOW: z.ZodOptional<z.ZodString>;
1062
+ PERPLEXITY: z.ZodOptional<z.ZodString>;
1063
+ YANDEX: z.ZodOptional<z.ZodString>;
1064
+ }, z.core.$strict>>;
1065
+ promptSuffix: z.ZodOptional<z.ZodString>;
1066
+ }, z.core.$strict>>;
1067
+ defaultOptionId: z.ZodString;
1068
+ autoSchemaConfig: z.ZodObject<{
1069
+ paramName: z.ZodString;
1070
+ paramDescription: z.ZodString;
1071
+ }, z.core.$strict>;
1072
+ key: z.ZodLiteral<import("../..").SettingKey.QUALITY>;
1073
+ }, z.core.$strict>, z.ZodObject<{
1074
+ options: z.ZodArray<z.ZodObject<{
1075
+ id: z.ZodString;
1076
+ priceModifier: z.ZodDefault<z.ZodNumber>;
1077
+ priceDelta: z.ZodDefault<z.ZodNumber>;
1078
+ providerValue: z.ZodOptional<z.ZodString>;
1079
+ providerValues: z.ZodOptional<z.ZodObject<{
1080
+ OPENROUTER: z.ZodOptional<z.ZodString>;
1081
+ KIE: z.ZodOptional<z.ZodString>;
1082
+ WELLFLOW: z.ZodOptional<z.ZodString>;
1083
+ PERPLEXITY: z.ZodOptional<z.ZodString>;
1084
+ YANDEX: z.ZodOptional<z.ZodString>;
1085
+ }, z.core.$strict>>;
1086
+ promptSuffix: z.ZodOptional<z.ZodString>;
1087
+ }, z.core.$strict>>;
1088
+ defaultOptionId: z.ZodString;
1089
+ autoSchemaConfig: z.ZodObject<{
1090
+ paramName: z.ZodString;
1091
+ paramDescription: z.ZodString;
1092
+ }, z.core.$strict>;
1093
+ key: z.ZodLiteral<import("../..").SettingKey.BACKGROUND>;
884
1094
  }, z.core.$strict>], "key">>>;
885
1095
  runtimeOverrides: z.ZodOptional<z.ZodObject<{
886
1096
  openrouter: z.ZodOptional<z.ZodObject<{}, z.core.$strict>>;