@oxy.so/contracts 4.6.0 → 4.7.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.
@@ -652,6 +652,203 @@ export declare const inferenceMessageSchema: z.ZodEffects<z.ZodObject<{
652
652
  * that both metering and provider translation depend on.
653
653
  */
654
654
  export declare const inferenceInputSchema: z.ZodDiscriminatedUnion<"format", [z.ZodObject<{
655
+ format: z.ZodLiteral<"decisions">;
656
+ decisions: z.ZodEffects<z.ZodObject<{
657
+ state: z.ZodString;
658
+ instructions: z.ZodOptional<z.ZodString>;
659
+ questions: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
660
+ kind: z.ZodLiteral<"choice">;
661
+ options: z.ZodArray<z.ZodString, "many">;
662
+ id: z.ZodString;
663
+ question: z.ZodString;
664
+ criteria: z.ZodOptional<z.ZodString>;
665
+ }, "strict", z.ZodTypeAny, {
666
+ options: string[];
667
+ kind: "choice";
668
+ id: string;
669
+ question: string;
670
+ criteria?: string | undefined;
671
+ }, {
672
+ options: string[];
673
+ kind: "choice";
674
+ id: string;
675
+ question: string;
676
+ criteria?: string | undefined;
677
+ }>, z.ZodObject<{
678
+ kind: z.ZodLiteral<"score">;
679
+ levels: z.ZodArray<z.ZodString, "many">;
680
+ id: z.ZodString;
681
+ question: z.ZodString;
682
+ criteria: z.ZodOptional<z.ZodString>;
683
+ }, "strict", z.ZodTypeAny, {
684
+ kind: "score";
685
+ id: string;
686
+ question: string;
687
+ levels: string[];
688
+ criteria?: string | undefined;
689
+ }, {
690
+ kind: "score";
691
+ id: string;
692
+ question: string;
693
+ levels: string[];
694
+ criteria?: string | undefined;
695
+ }>, z.ZodObject<{
696
+ kind: z.ZodLiteral<"noul">;
697
+ id: z.ZodString;
698
+ question: z.ZodString;
699
+ criteria: z.ZodOptional<z.ZodString>;
700
+ }, "strict", z.ZodTypeAny, {
701
+ kind: "noul";
702
+ id: string;
703
+ question: string;
704
+ criteria?: string | undefined;
705
+ }, {
706
+ kind: "noul";
707
+ id: string;
708
+ question: string;
709
+ criteria?: string | undefined;
710
+ }>]>, "many">;
711
+ effort: z.ZodOptional<z.ZodEnum<["instant", "low", "medium", "high", "xhigh"]>>;
712
+ }, "strict", z.ZodTypeAny, {
713
+ state: string;
714
+ questions: ({
715
+ options: string[];
716
+ kind: "choice";
717
+ id: string;
718
+ question: string;
719
+ criteria?: string | undefined;
720
+ } | {
721
+ kind: "score";
722
+ id: string;
723
+ question: string;
724
+ levels: string[];
725
+ criteria?: string | undefined;
726
+ } | {
727
+ kind: "noul";
728
+ id: string;
729
+ question: string;
730
+ criteria?: string | undefined;
731
+ })[];
732
+ instructions?: string | undefined;
733
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
734
+ }, {
735
+ state: string;
736
+ questions: ({
737
+ options: string[];
738
+ kind: "choice";
739
+ id: string;
740
+ question: string;
741
+ criteria?: string | undefined;
742
+ } | {
743
+ kind: "score";
744
+ id: string;
745
+ question: string;
746
+ levels: string[];
747
+ criteria?: string | undefined;
748
+ } | {
749
+ kind: "noul";
750
+ id: string;
751
+ question: string;
752
+ criteria?: string | undefined;
753
+ })[];
754
+ instructions?: string | undefined;
755
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
756
+ }>, {
757
+ state: string;
758
+ questions: ({
759
+ options: string[];
760
+ kind: "choice";
761
+ id: string;
762
+ question: string;
763
+ criteria?: string | undefined;
764
+ } | {
765
+ kind: "score";
766
+ id: string;
767
+ question: string;
768
+ levels: string[];
769
+ criteria?: string | undefined;
770
+ } | {
771
+ kind: "noul";
772
+ id: string;
773
+ question: string;
774
+ criteria?: string | undefined;
775
+ })[];
776
+ instructions?: string | undefined;
777
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
778
+ }, {
779
+ state: string;
780
+ questions: ({
781
+ options: string[];
782
+ kind: "choice";
783
+ id: string;
784
+ question: string;
785
+ criteria?: string | undefined;
786
+ } | {
787
+ kind: "score";
788
+ id: string;
789
+ question: string;
790
+ levels: string[];
791
+ criteria?: string | undefined;
792
+ } | {
793
+ kind: "noul";
794
+ id: string;
795
+ question: string;
796
+ criteria?: string | undefined;
797
+ })[];
798
+ instructions?: string | undefined;
799
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
800
+ }>;
801
+ }, "strict", z.ZodTypeAny, {
802
+ decisions: {
803
+ state: string;
804
+ questions: ({
805
+ options: string[];
806
+ kind: "choice";
807
+ id: string;
808
+ question: string;
809
+ criteria?: string | undefined;
810
+ } | {
811
+ kind: "score";
812
+ id: string;
813
+ question: string;
814
+ levels: string[];
815
+ criteria?: string | undefined;
816
+ } | {
817
+ kind: "noul";
818
+ id: string;
819
+ question: string;
820
+ criteria?: string | undefined;
821
+ })[];
822
+ instructions?: string | undefined;
823
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
824
+ };
825
+ format: "decisions";
826
+ }, {
827
+ decisions: {
828
+ state: string;
829
+ questions: ({
830
+ options: string[];
831
+ kind: "choice";
832
+ id: string;
833
+ question: string;
834
+ criteria?: string | undefined;
835
+ } | {
836
+ kind: "score";
837
+ id: string;
838
+ question: string;
839
+ levels: string[];
840
+ criteria?: string | undefined;
841
+ } | {
842
+ kind: "noul";
843
+ id: string;
844
+ question: string;
845
+ criteria?: string | undefined;
846
+ })[];
847
+ instructions?: string | undefined;
848
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
849
+ };
850
+ format: "decisions";
851
+ }>, z.ZodObject<{
655
852
  format: z.ZodLiteral<"messages">;
656
853
  messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
657
854
  role: z.ZodEnum<["system", "developer", "user", "assistant", "tool"]>;
@@ -1266,7 +1463,7 @@ export declare const inferenceReasoningSchema: z.ZodObject<{
1266
1463
  */
1267
1464
  export declare const clientRequestMetadataSchema: z.ZodObject<{
1268
1465
  /** The public dialect the customer called. The response is rendered in it. */
1269
- apiFormat: z.ZodEnum<["responses", "chat_completions", "embeddings", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>;
1466
+ apiFormat: z.ZodEnum<["responses", "chat_completions", "embeddings", "decisions", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>;
1270
1467
  /** The public path, e.g. `/v1/responses`. */
1271
1468
  endpoint: z.ZodString;
1272
1469
  /** The customer's own correlation id, when they sent one. */
@@ -1275,13 +1472,13 @@ export declare const clientRequestMetadataSchema: z.ZodObject<{
1275
1472
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1276
1473
  }, "strict", z.ZodTypeAny, {
1277
1474
  receivedAt: string;
1278
- apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
1475
+ apiFormat: "embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
1279
1476
  endpoint: string;
1280
1477
  clientRequestId?: string | undefined;
1281
1478
  labels?: Record<string, string> | undefined;
1282
1479
  }, {
1283
1480
  receivedAt: string;
1284
- apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
1481
+ apiFormat: "embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
1285
1482
  endpoint: string;
1286
1483
  clientRequestId?: string | undefined;
1287
1484
  labels?: Record<string, string> | undefined;
@@ -1417,6 +1614,203 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
1417
1614
  }>]>;
1418
1615
  modality: z.ZodEnum<["text", "image", "audio", "video", "embedding"]>;
1419
1616
  input: z.ZodDiscriminatedUnion<"format", [z.ZodObject<{
1617
+ format: z.ZodLiteral<"decisions">;
1618
+ decisions: z.ZodEffects<z.ZodObject<{
1619
+ state: z.ZodString;
1620
+ instructions: z.ZodOptional<z.ZodString>;
1621
+ questions: z.ZodArray<z.ZodDiscriminatedUnion<"kind", [z.ZodObject<{
1622
+ kind: z.ZodLiteral<"choice">;
1623
+ options: z.ZodArray<z.ZodString, "many">;
1624
+ id: z.ZodString;
1625
+ question: z.ZodString;
1626
+ criteria: z.ZodOptional<z.ZodString>;
1627
+ }, "strict", z.ZodTypeAny, {
1628
+ options: string[];
1629
+ kind: "choice";
1630
+ id: string;
1631
+ question: string;
1632
+ criteria?: string | undefined;
1633
+ }, {
1634
+ options: string[];
1635
+ kind: "choice";
1636
+ id: string;
1637
+ question: string;
1638
+ criteria?: string | undefined;
1639
+ }>, z.ZodObject<{
1640
+ kind: z.ZodLiteral<"score">;
1641
+ levels: z.ZodArray<z.ZodString, "many">;
1642
+ id: z.ZodString;
1643
+ question: z.ZodString;
1644
+ criteria: z.ZodOptional<z.ZodString>;
1645
+ }, "strict", z.ZodTypeAny, {
1646
+ kind: "score";
1647
+ id: string;
1648
+ question: string;
1649
+ levels: string[];
1650
+ criteria?: string | undefined;
1651
+ }, {
1652
+ kind: "score";
1653
+ id: string;
1654
+ question: string;
1655
+ levels: string[];
1656
+ criteria?: string | undefined;
1657
+ }>, z.ZodObject<{
1658
+ kind: z.ZodLiteral<"noul">;
1659
+ id: z.ZodString;
1660
+ question: z.ZodString;
1661
+ criteria: z.ZodOptional<z.ZodString>;
1662
+ }, "strict", z.ZodTypeAny, {
1663
+ kind: "noul";
1664
+ id: string;
1665
+ question: string;
1666
+ criteria?: string | undefined;
1667
+ }, {
1668
+ kind: "noul";
1669
+ id: string;
1670
+ question: string;
1671
+ criteria?: string | undefined;
1672
+ }>]>, "many">;
1673
+ effort: z.ZodOptional<z.ZodEnum<["instant", "low", "medium", "high", "xhigh"]>>;
1674
+ }, "strict", z.ZodTypeAny, {
1675
+ state: string;
1676
+ questions: ({
1677
+ options: string[];
1678
+ kind: "choice";
1679
+ id: string;
1680
+ question: string;
1681
+ criteria?: string | undefined;
1682
+ } | {
1683
+ kind: "score";
1684
+ id: string;
1685
+ question: string;
1686
+ levels: string[];
1687
+ criteria?: string | undefined;
1688
+ } | {
1689
+ kind: "noul";
1690
+ id: string;
1691
+ question: string;
1692
+ criteria?: string | undefined;
1693
+ })[];
1694
+ instructions?: string | undefined;
1695
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
1696
+ }, {
1697
+ state: string;
1698
+ questions: ({
1699
+ options: string[];
1700
+ kind: "choice";
1701
+ id: string;
1702
+ question: string;
1703
+ criteria?: string | undefined;
1704
+ } | {
1705
+ kind: "score";
1706
+ id: string;
1707
+ question: string;
1708
+ levels: string[];
1709
+ criteria?: string | undefined;
1710
+ } | {
1711
+ kind: "noul";
1712
+ id: string;
1713
+ question: string;
1714
+ criteria?: string | undefined;
1715
+ })[];
1716
+ instructions?: string | undefined;
1717
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
1718
+ }>, {
1719
+ state: string;
1720
+ questions: ({
1721
+ options: string[];
1722
+ kind: "choice";
1723
+ id: string;
1724
+ question: string;
1725
+ criteria?: string | undefined;
1726
+ } | {
1727
+ kind: "score";
1728
+ id: string;
1729
+ question: string;
1730
+ levels: string[];
1731
+ criteria?: string | undefined;
1732
+ } | {
1733
+ kind: "noul";
1734
+ id: string;
1735
+ question: string;
1736
+ criteria?: string | undefined;
1737
+ })[];
1738
+ instructions?: string | undefined;
1739
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
1740
+ }, {
1741
+ state: string;
1742
+ questions: ({
1743
+ options: string[];
1744
+ kind: "choice";
1745
+ id: string;
1746
+ question: string;
1747
+ criteria?: string | undefined;
1748
+ } | {
1749
+ kind: "score";
1750
+ id: string;
1751
+ question: string;
1752
+ levels: string[];
1753
+ criteria?: string | undefined;
1754
+ } | {
1755
+ kind: "noul";
1756
+ id: string;
1757
+ question: string;
1758
+ criteria?: string | undefined;
1759
+ })[];
1760
+ instructions?: string | undefined;
1761
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
1762
+ }>;
1763
+ }, "strict", z.ZodTypeAny, {
1764
+ decisions: {
1765
+ state: string;
1766
+ questions: ({
1767
+ options: string[];
1768
+ kind: "choice";
1769
+ id: string;
1770
+ question: string;
1771
+ criteria?: string | undefined;
1772
+ } | {
1773
+ kind: "score";
1774
+ id: string;
1775
+ question: string;
1776
+ levels: string[];
1777
+ criteria?: string | undefined;
1778
+ } | {
1779
+ kind: "noul";
1780
+ id: string;
1781
+ question: string;
1782
+ criteria?: string | undefined;
1783
+ })[];
1784
+ instructions?: string | undefined;
1785
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
1786
+ };
1787
+ format: "decisions";
1788
+ }, {
1789
+ decisions: {
1790
+ state: string;
1791
+ questions: ({
1792
+ options: string[];
1793
+ kind: "choice";
1794
+ id: string;
1795
+ question: string;
1796
+ criteria?: string | undefined;
1797
+ } | {
1798
+ kind: "score";
1799
+ id: string;
1800
+ question: string;
1801
+ levels: string[];
1802
+ criteria?: string | undefined;
1803
+ } | {
1804
+ kind: "noul";
1805
+ id: string;
1806
+ question: string;
1807
+ criteria?: string | undefined;
1808
+ })[];
1809
+ instructions?: string | undefined;
1810
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
1811
+ };
1812
+ format: "decisions";
1813
+ }>, z.ZodObject<{
1420
1814
  format: z.ZodLiteral<"messages">;
1421
1815
  messages: z.ZodArray<z.ZodEffects<z.ZodObject<{
1422
1816
  role: z.ZodEnum<["system", "developer", "user", "assistant", "tool"]>;
@@ -2030,7 +2424,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2030
2424
  }>]>>;
2031
2425
  client: z.ZodObject<{
2032
2426
  /** The public dialect the customer called. The response is rendered in it. */
2033
- apiFormat: z.ZodEnum<["responses", "chat_completions", "embeddings", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>;
2427
+ apiFormat: z.ZodEnum<["responses", "chat_completions", "embeddings", "decisions", "images_generations", "audio_transcriptions", "audio_speech", "rerank", "batches"]>;
2034
2428
  /** The public path, e.g. `/v1/responses`. */
2035
2429
  endpoint: z.ZodString;
2036
2430
  /** The customer's own correlation id, when they sent one. */
@@ -2039,13 +2433,13 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2039
2433
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2040
2434
  }, "strict", z.ZodTypeAny, {
2041
2435
  receivedAt: string;
2042
- apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
2436
+ apiFormat: "embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
2043
2437
  endpoint: string;
2044
2438
  clientRequestId?: string | undefined;
2045
2439
  labels?: Record<string, string> | undefined;
2046
2440
  }, {
2047
2441
  receivedAt: string;
2048
- apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
2442
+ apiFormat: "embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
2049
2443
  endpoint: string;
2050
2444
  clientRequestId?: string | undefined;
2051
2445
  labels?: Record<string, string> | undefined;
@@ -2279,11 +2673,15 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2279
2673
  };
2280
2674
  client: {
2281
2675
  receivedAt: string;
2282
- apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
2676
+ apiFormat: "embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
2283
2677
  endpoint: string;
2284
2678
  clientRequestId?: string | undefined;
2285
2679
  labels?: Record<string, string> | undefined;
2286
2680
  };
2681
+ routingPolicy: {
2682
+ routingPolicyId: string;
2683
+ policyVersion: number;
2684
+ };
2287
2685
  target: {
2288
2686
  kind: "model";
2289
2687
  modelReference: string;
@@ -2293,6 +2691,31 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2293
2691
  };
2294
2692
  modality: "image" | "embedding" | "text" | "audio" | "video";
2295
2693
  input: {
2694
+ decisions: {
2695
+ state: string;
2696
+ questions: ({
2697
+ options: string[];
2698
+ kind: "choice";
2699
+ id: string;
2700
+ question: string;
2701
+ criteria?: string | undefined;
2702
+ } | {
2703
+ kind: "score";
2704
+ id: string;
2705
+ question: string;
2706
+ levels: string[];
2707
+ criteria?: string | undefined;
2708
+ } | {
2709
+ kind: "noul";
2710
+ id: string;
2711
+ question: string;
2712
+ criteria?: string | undefined;
2713
+ })[];
2714
+ instructions?: string | undefined;
2715
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
2716
+ };
2717
+ format: "decisions";
2718
+ } | {
2296
2719
  format: "messages";
2297
2720
  messages: {
2298
2721
  content: ({
@@ -2360,10 +2783,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2360
2783
  presencePenalty?: number | undefined;
2361
2784
  stopSequences?: string[] | undefined;
2362
2785
  };
2363
- routingPolicy: {
2364
- routingPolicyId: string;
2365
- policyVersion: number;
2366
- };
2367
2786
  idempotencyKey?: string | undefined;
2368
2787
  reasoning?: {
2369
2788
  effort: "low" | "medium" | "high";
@@ -2438,11 +2857,15 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2438
2857
  };
2439
2858
  client: {
2440
2859
  receivedAt: string;
2441
- apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
2860
+ apiFormat: "embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
2442
2861
  endpoint: string;
2443
2862
  clientRequestId?: string | undefined;
2444
2863
  labels?: Record<string, string> | undefined;
2445
2864
  };
2865
+ routingPolicy: {
2866
+ routingPolicyId: string;
2867
+ policyVersion: number;
2868
+ };
2446
2869
  target: {
2447
2870
  kind: "model";
2448
2871
  modelReference: string;
@@ -2452,6 +2875,31 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2452
2875
  };
2453
2876
  modality: "image" | "embedding" | "text" | "audio" | "video";
2454
2877
  input: {
2878
+ decisions: {
2879
+ state: string;
2880
+ questions: ({
2881
+ options: string[];
2882
+ kind: "choice";
2883
+ id: string;
2884
+ question: string;
2885
+ criteria?: string | undefined;
2886
+ } | {
2887
+ kind: "score";
2888
+ id: string;
2889
+ question: string;
2890
+ levels: string[];
2891
+ criteria?: string | undefined;
2892
+ } | {
2893
+ kind: "noul";
2894
+ id: string;
2895
+ question: string;
2896
+ criteria?: string | undefined;
2897
+ })[];
2898
+ instructions?: string | undefined;
2899
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
2900
+ };
2901
+ format: "decisions";
2902
+ } | {
2455
2903
  format: "messages";
2456
2904
  messages: {
2457
2905
  content: ({
@@ -2519,10 +2967,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2519
2967
  presencePenalty?: number | undefined;
2520
2968
  stopSequences?: string[] | undefined;
2521
2969
  };
2522
- routingPolicy: {
2523
- routingPolicyId: string;
2524
- policyVersion: number;
2525
- };
2526
2970
  tools?: {
2527
2971
  type: "function";
2528
2972
  name: string;
@@ -2611,11 +3055,15 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2611
3055
  };
2612
3056
  client: {
2613
3057
  receivedAt: string;
2614
- apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
3058
+ apiFormat: "embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
2615
3059
  endpoint: string;
2616
3060
  clientRequestId?: string | undefined;
2617
3061
  labels?: Record<string, string> | undefined;
2618
3062
  };
3063
+ routingPolicy: {
3064
+ routingPolicyId: string;
3065
+ policyVersion: number;
3066
+ };
2619
3067
  target: {
2620
3068
  kind: "model";
2621
3069
  modelReference: string;
@@ -2625,6 +3073,31 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2625
3073
  };
2626
3074
  modality: "image" | "embedding" | "text" | "audio" | "video";
2627
3075
  input: {
3076
+ decisions: {
3077
+ state: string;
3078
+ questions: ({
3079
+ options: string[];
3080
+ kind: "choice";
3081
+ id: string;
3082
+ question: string;
3083
+ criteria?: string | undefined;
3084
+ } | {
3085
+ kind: "score";
3086
+ id: string;
3087
+ question: string;
3088
+ levels: string[];
3089
+ criteria?: string | undefined;
3090
+ } | {
3091
+ kind: "noul";
3092
+ id: string;
3093
+ question: string;
3094
+ criteria?: string | undefined;
3095
+ })[];
3096
+ instructions?: string | undefined;
3097
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
3098
+ };
3099
+ format: "decisions";
3100
+ } | {
2628
3101
  format: "messages";
2629
3102
  messages: {
2630
3103
  content: ({
@@ -2692,10 +3165,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2692
3165
  presencePenalty?: number | undefined;
2693
3166
  stopSequences?: string[] | undefined;
2694
3167
  };
2695
- routingPolicy: {
2696
- routingPolicyId: string;
2697
- policyVersion: number;
2698
- };
2699
3168
  idempotencyKey?: string | undefined;
2700
3169
  reasoning?: {
2701
3170
  effort: "low" | "medium" | "high";
@@ -2770,11 +3239,15 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2770
3239
  };
2771
3240
  client: {
2772
3241
  receivedAt: string;
2773
- apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
3242
+ apiFormat: "embeddings" | "responses" | "chat_completions" | "decisions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
2774
3243
  endpoint: string;
2775
3244
  clientRequestId?: string | undefined;
2776
3245
  labels?: Record<string, string> | undefined;
2777
3246
  };
3247
+ routingPolicy: {
3248
+ routingPolicyId: string;
3249
+ policyVersion: number;
3250
+ };
2778
3251
  target: {
2779
3252
  kind: "model";
2780
3253
  modelReference: string;
@@ -2784,6 +3257,31 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2784
3257
  };
2785
3258
  modality: "image" | "embedding" | "text" | "audio" | "video";
2786
3259
  input: {
3260
+ decisions: {
3261
+ state: string;
3262
+ questions: ({
3263
+ options: string[];
3264
+ kind: "choice";
3265
+ id: string;
3266
+ question: string;
3267
+ criteria?: string | undefined;
3268
+ } | {
3269
+ kind: "score";
3270
+ id: string;
3271
+ question: string;
3272
+ levels: string[];
3273
+ criteria?: string | undefined;
3274
+ } | {
3275
+ kind: "noul";
3276
+ id: string;
3277
+ question: string;
3278
+ criteria?: string | undefined;
3279
+ })[];
3280
+ instructions?: string | undefined;
3281
+ effort?: "low" | "medium" | "high" | "instant" | "xhigh" | undefined;
3282
+ };
3283
+ format: "decisions";
3284
+ } | {
2787
3285
  format: "messages";
2788
3286
  messages: {
2789
3287
  content: ({
@@ -2851,10 +3349,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2851
3349
  presencePenalty?: number | undefined;
2852
3350
  stopSequences?: string[] | undefined;
2853
3351
  };
2854
- routingPolicy: {
2855
- routingPolicyId: string;
2856
- policyVersion: number;
2857
- };
2858
3352
  tools?: {
2859
3353
  type: "function";
2860
3354
  name: string;