@oxy.so/contracts 4.11.0 → 4.13.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 (40) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/accountGraph.js +15 -0
  3. package/dist/cjs/avatarCharacter.js +120 -0
  4. package/dist/cjs/index.js +24 -14
  5. package/dist/cjs/inference/identifiers.js +14 -1
  6. package/dist/cjs/inference/routingPolicy.js +17 -0
  7. package/dist/cjs/inference/usage.js +8 -0
  8. package/dist/cjs/inference/version.js +1 -1
  9. package/dist/cjs/recommendations.js +3 -0
  10. package/dist/cjs/userResponse.js +7 -0
  11. package/dist/esm/.tsbuildinfo +1 -1
  12. package/dist/esm/accountGraph.js +15 -0
  13. package/dist/esm/avatarCharacter.js +115 -0
  14. package/dist/esm/index.js +4 -1
  15. package/dist/esm/inference/identifiers.js +13 -0
  16. package/dist/esm/inference/routingPolicy.js +18 -1
  17. package/dist/esm/inference/usage.js +9 -1
  18. package/dist/esm/inference/version.js +1 -1
  19. package/dist/esm/recommendations.js +3 -0
  20. package/dist/esm/userResponse.js +7 -0
  21. package/dist/types/.tsbuildinfo +1 -1
  22. package/dist/types/accountGraph.d.ts +15 -4
  23. package/dist/types/accountSubject.d.ts +4 -4
  24. package/dist/types/agency.d.ts +44 -44
  25. package/dist/types/avatarCharacter.d.ts +57 -0
  26. package/dist/types/deviceDirectory.d.ts +66 -66
  27. package/dist/types/email/messages.d.ts +22 -22
  28. package/dist/types/externalIdentity.d.ts +11 -4
  29. package/dist/types/index.d.ts +4 -2
  30. package/dist/types/inference/accountBilling.d.ts +2 -2
  31. package/dist/types/inference/decisions.d.ts +20 -0
  32. package/dist/types/inference/identifiers.d.ts +14 -0
  33. package/dist/types/inference/realtime.d.ts +18 -0
  34. package/dist/types/inference/request.d.ts +54 -0
  35. package/dist/types/inference/routingPolicy.d.ts +10 -0
  36. package/dist/types/inference/usage.d.ts +12 -0
  37. package/dist/types/inference/version.d.ts +1 -1
  38. package/dist/types/recommendations.d.ts +12 -0
  39. package/dist/types/userResponse.d.ts +100 -2
  40. package/package.json +1 -1
@@ -2593,6 +2593,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2593
2593
  modelReference: z.ZodString;
2594
2594
  provider: z.ZodString;
2595
2595
  regions: z.ZodArray<z.ZodString, "many">;
2596
+ maxFundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
2596
2597
  customerProviderCredential: z.ZodOptional<z.ZodObject<{
2597
2598
  credentialHandle: z.ZodString;
2598
2599
  credentialRevision: z.ZodNumber;
@@ -2619,6 +2620,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2619
2620
  deploymentId: string;
2620
2621
  regions: string[];
2621
2622
  substitution: "same_model";
2623
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
2622
2624
  customerProviderCredential?: {
2623
2625
  environment: "development" | "staging" | "production";
2624
2626
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -2632,6 +2634,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2632
2634
  deploymentId: string;
2633
2635
  regions: string[];
2634
2636
  substitution: "same_model";
2637
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
2635
2638
  customerProviderCredential?: {
2636
2639
  environment: "development" | "staging" | "production";
2637
2640
  ownerAccountId: string;
@@ -2645,6 +2648,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2645
2648
  modelReference: z.ZodString;
2646
2649
  provider: z.ZodString;
2647
2650
  regions: z.ZodArray<z.ZodString, "many">;
2651
+ maxFundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
2648
2652
  customerProviderCredential: z.ZodOptional<z.ZodObject<{
2649
2653
  credentialHandle: z.ZodString;
2650
2654
  credentialRevision: z.ZodNumber;
@@ -2672,6 +2676,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2672
2676
  regions: string[];
2673
2677
  substitution: "cross_model";
2674
2678
  authorizedByPolicy: true;
2679
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
2675
2680
  customerProviderCredential?: {
2676
2681
  environment: "development" | "staging" | "production";
2677
2682
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -2686,6 +2691,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2686
2691
  regions: string[];
2687
2692
  substitution: "cross_model";
2688
2693
  authorizedByPolicy: true;
2694
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
2689
2695
  customerProviderCredential?: {
2690
2696
  environment: "development" | "staging" | "production";
2691
2697
  ownerAccountId: string;
@@ -2699,6 +2705,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2699
2705
  deploymentId: string;
2700
2706
  regions: string[];
2701
2707
  substitution: "same_model";
2708
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
2702
2709
  customerProviderCredential?: {
2703
2710
  environment: "development" | "staging" | "production";
2704
2711
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -2713,6 +2720,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2713
2720
  regions: string[];
2714
2721
  substitution: "cross_model";
2715
2722
  authorizedByPolicy: true;
2723
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
2716
2724
  customerProviderCredential?: {
2717
2725
  environment: "development" | "staging" | "production";
2718
2726
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -2726,6 +2734,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2726
2734
  deploymentId: string;
2727
2735
  regions: string[];
2728
2736
  substitution: "same_model";
2737
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
2729
2738
  customerProviderCredential?: {
2730
2739
  environment: "development" | "staging" | "production";
2731
2740
  ownerAccountId: string;
@@ -2740,6 +2749,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2740
2749
  regions: string[];
2741
2750
  substitution: "cross_model";
2742
2751
  authorizedByPolicy: true;
2752
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
2743
2753
  customerProviderCredential?: {
2744
2754
  environment: "development" | "staging" | "production";
2745
2755
  ownerAccountId: string;
@@ -2945,6 +2955,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2945
2955
  deploymentId: string;
2946
2956
  regions: string[];
2947
2957
  substitution: "same_model";
2958
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
2948
2959
  customerProviderCredential?: {
2949
2960
  environment: "development" | "staging" | "production";
2950
2961
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -2959,6 +2970,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
2959
2970
  regions: string[];
2960
2971
  substitution: "cross_model";
2961
2972
  authorizedByPolicy: true;
2973
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
2962
2974
  customerProviderCredential?: {
2963
2975
  environment: "development" | "staging" | "production";
2964
2976
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -3164,6 +3176,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
3164
3176
  deploymentId: string;
3165
3177
  regions: string[];
3166
3178
  substitution: "same_model";
3179
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
3167
3180
  customerProviderCredential?: {
3168
3181
  environment: "development" | "staging" | "production";
3169
3182
  ownerAccountId: string;
@@ -3178,6 +3191,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
3178
3191
  regions: string[];
3179
3192
  substitution: "cross_model";
3180
3193
  authorizedByPolicy: true;
3194
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
3181
3195
  customerProviderCredential?: {
3182
3196
  environment: "development" | "staging" | "production";
3183
3197
  ownerAccountId: string;
@@ -3383,6 +3397,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
3383
3397
  deploymentId: string;
3384
3398
  regions: string[];
3385
3399
  substitution: "same_model";
3400
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
3386
3401
  customerProviderCredential?: {
3387
3402
  environment: "development" | "staging" | "production";
3388
3403
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -3397,6 +3412,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
3397
3412
  regions: string[];
3398
3413
  substitution: "cross_model";
3399
3414
  authorizedByPolicy: true;
3415
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
3400
3416
  customerProviderCredential?: {
3401
3417
  environment: "development" | "staging" | "production";
3402
3418
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -3602,6 +3618,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
3602
3618
  deploymentId: string;
3603
3619
  regions: string[];
3604
3620
  substitution: "same_model";
3621
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
3605
3622
  customerProviderCredential?: {
3606
3623
  environment: "development" | "staging" | "production";
3607
3624
  ownerAccountId: string;
@@ -3616,6 +3633,7 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
3616
3633
  regions: string[];
3617
3634
  substitution: "cross_model";
3618
3635
  authorizedByPolicy: true;
3636
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
3619
3637
  customerProviderCredential?: {
3620
3638
  environment: "development" | "staging" | "production";
3621
3639
  ownerAccountId: string;
@@ -4552,6 +4570,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4552
4570
  modelReference: z.ZodString;
4553
4571
  provider: z.ZodString;
4554
4572
  regions: z.ZodArray<z.ZodString, "many">;
4573
+ maxFundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
4555
4574
  customerProviderCredential: z.ZodOptional<z.ZodObject<{
4556
4575
  credentialHandle: z.ZodString;
4557
4576
  credentialRevision: z.ZodNumber;
@@ -4578,6 +4597,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4578
4597
  deploymentId: string;
4579
4598
  regions: string[];
4580
4599
  substitution: "same_model";
4600
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
4581
4601
  customerProviderCredential?: {
4582
4602
  environment: "development" | "staging" | "production";
4583
4603
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -4591,6 +4611,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4591
4611
  deploymentId: string;
4592
4612
  regions: string[];
4593
4613
  substitution: "same_model";
4614
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
4594
4615
  customerProviderCredential?: {
4595
4616
  environment: "development" | "staging" | "production";
4596
4617
  ownerAccountId: string;
@@ -4604,6 +4625,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4604
4625
  modelReference: z.ZodString;
4605
4626
  provider: z.ZodString;
4606
4627
  regions: z.ZodArray<z.ZodString, "many">;
4628
+ maxFundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
4607
4629
  customerProviderCredential: z.ZodOptional<z.ZodObject<{
4608
4630
  credentialHandle: z.ZodString;
4609
4631
  credentialRevision: z.ZodNumber;
@@ -4631,6 +4653,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4631
4653
  regions: string[];
4632
4654
  substitution: "cross_model";
4633
4655
  authorizedByPolicy: true;
4656
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
4634
4657
  customerProviderCredential?: {
4635
4658
  environment: "development" | "staging" | "production";
4636
4659
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -4645,6 +4668,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4645
4668
  regions: string[];
4646
4669
  substitution: "cross_model";
4647
4670
  authorizedByPolicy: true;
4671
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
4648
4672
  customerProviderCredential?: {
4649
4673
  environment: "development" | "staging" | "production";
4650
4674
  ownerAccountId: string;
@@ -4658,6 +4682,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4658
4682
  deploymentId: string;
4659
4683
  regions: string[];
4660
4684
  substitution: "same_model";
4685
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
4661
4686
  customerProviderCredential?: {
4662
4687
  environment: "development" | "staging" | "production";
4663
4688
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -4672,6 +4697,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4672
4697
  regions: string[];
4673
4698
  substitution: "cross_model";
4674
4699
  authorizedByPolicy: true;
4700
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
4675
4701
  customerProviderCredential?: {
4676
4702
  environment: "development" | "staging" | "production";
4677
4703
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -4685,6 +4711,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4685
4711
  deploymentId: string;
4686
4712
  regions: string[];
4687
4713
  substitution: "same_model";
4714
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
4688
4715
  customerProviderCredential?: {
4689
4716
  environment: "development" | "staging" | "production";
4690
4717
  ownerAccountId: string;
@@ -4699,6 +4726,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
4699
4726
  regions: string[];
4700
4727
  substitution: "cross_model";
4701
4728
  authorizedByPolicy: true;
4729
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
4702
4730
  customerProviderCredential?: {
4703
4731
  environment: "development" | "staging" | "production";
4704
4732
  ownerAccountId: string;
@@ -5005,6 +5033,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5005
5033
  deploymentId: string;
5006
5034
  regions: string[];
5007
5035
  substitution: "same_model";
5036
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
5008
5037
  customerProviderCredential?: {
5009
5038
  environment: "development" | "staging" | "production";
5010
5039
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -5019,6 +5048,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5019
5048
  regions: string[];
5020
5049
  substitution: "cross_model";
5021
5050
  authorizedByPolicy: true;
5051
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
5022
5052
  customerProviderCredential?: {
5023
5053
  environment: "development" | "staging" | "production";
5024
5054
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -5224,6 +5254,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5224
5254
  deploymentId: string;
5225
5255
  regions: string[];
5226
5256
  substitution: "same_model";
5257
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
5227
5258
  customerProviderCredential?: {
5228
5259
  environment: "development" | "staging" | "production";
5229
5260
  ownerAccountId: string;
@@ -5238,6 +5269,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5238
5269
  regions: string[];
5239
5270
  substitution: "cross_model";
5240
5271
  authorizedByPolicy: true;
5272
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
5241
5273
  customerProviderCredential?: {
5242
5274
  environment: "development" | "staging" | "production";
5243
5275
  ownerAccountId: string;
@@ -5443,6 +5475,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5443
5475
  deploymentId: string;
5444
5476
  regions: string[];
5445
5477
  substitution: "same_model";
5478
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
5446
5479
  customerProviderCredential?: {
5447
5480
  environment: "development" | "staging" | "production";
5448
5481
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -5457,6 +5490,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5457
5490
  regions: string[];
5458
5491
  substitution: "cross_model";
5459
5492
  authorizedByPolicy: true;
5493
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
5460
5494
  customerProviderCredential?: {
5461
5495
  environment: "development" | "staging" | "production";
5462
5496
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -5662,6 +5696,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5662
5696
  deploymentId: string;
5663
5697
  regions: string[];
5664
5698
  substitution: "same_model";
5699
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
5665
5700
  customerProviderCredential?: {
5666
5701
  environment: "development" | "staging" | "production";
5667
5702
  ownerAccountId: string;
@@ -5676,6 +5711,7 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
5676
5711
  regions: string[];
5677
5712
  substitution: "cross_model";
5678
5713
  authorizedByPolicy: true;
5714
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
5679
5715
  customerProviderCredential?: {
5680
5716
  environment: "development" | "staging" | "production";
5681
5717
  ownerAccountId: string;
@@ -6613,6 +6649,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6613
6649
  modelReference: z.ZodString;
6614
6650
  provider: z.ZodString;
6615
6651
  regions: z.ZodArray<z.ZodString, "many">;
6652
+ maxFundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
6616
6653
  customerProviderCredential: z.ZodOptional<z.ZodObject<{
6617
6654
  credentialHandle: z.ZodString;
6618
6655
  credentialRevision: z.ZodNumber;
@@ -6639,6 +6676,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6639
6676
  deploymentId: string;
6640
6677
  regions: string[];
6641
6678
  substitution: "same_model";
6679
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
6642
6680
  customerProviderCredential?: {
6643
6681
  environment: "development" | "staging" | "production";
6644
6682
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -6652,6 +6690,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6652
6690
  deploymentId: string;
6653
6691
  regions: string[];
6654
6692
  substitution: "same_model";
6693
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
6655
6694
  customerProviderCredential?: {
6656
6695
  environment: "development" | "staging" | "production";
6657
6696
  ownerAccountId: string;
@@ -6665,6 +6704,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6665
6704
  modelReference: z.ZodString;
6666
6705
  provider: z.ZodString;
6667
6706
  regions: z.ZodArray<z.ZodString, "many">;
6707
+ maxFundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
6668
6708
  customerProviderCredential: z.ZodOptional<z.ZodObject<{
6669
6709
  credentialHandle: z.ZodString;
6670
6710
  credentialRevision: z.ZodNumber;
@@ -6692,6 +6732,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6692
6732
  regions: string[];
6693
6733
  substitution: "cross_model";
6694
6734
  authorizedByPolicy: true;
6735
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
6695
6736
  customerProviderCredential?: {
6696
6737
  environment: "development" | "staging" | "production";
6697
6738
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -6706,6 +6747,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6706
6747
  regions: string[];
6707
6748
  substitution: "cross_model";
6708
6749
  authorizedByPolicy: true;
6750
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
6709
6751
  customerProviderCredential?: {
6710
6752
  environment: "development" | "staging" | "production";
6711
6753
  ownerAccountId: string;
@@ -6719,6 +6761,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6719
6761
  deploymentId: string;
6720
6762
  regions: string[];
6721
6763
  substitution: "same_model";
6764
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
6722
6765
  customerProviderCredential?: {
6723
6766
  environment: "development" | "staging" | "production";
6724
6767
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -6733,6 +6776,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6733
6776
  regions: string[];
6734
6777
  substitution: "cross_model";
6735
6778
  authorizedByPolicy: true;
6779
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
6736
6780
  customerProviderCredential?: {
6737
6781
  environment: "development" | "staging" | "production";
6738
6782
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -6746,6 +6790,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6746
6790
  deploymentId: string;
6747
6791
  regions: string[];
6748
6792
  substitution: "same_model";
6793
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
6749
6794
  customerProviderCredential?: {
6750
6795
  environment: "development" | "staging" | "production";
6751
6796
  ownerAccountId: string;
@@ -6760,6 +6805,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
6760
6805
  regions: string[];
6761
6806
  substitution: "cross_model";
6762
6807
  authorizedByPolicy: true;
6808
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
6763
6809
  customerProviderCredential?: {
6764
6810
  environment: "development" | "staging" | "production";
6765
6811
  ownerAccountId: string;
@@ -7193,6 +7239,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7193
7239
  deploymentId: string;
7194
7240
  regions: string[];
7195
7241
  substitution: "same_model";
7242
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
7196
7243
  customerProviderCredential?: {
7197
7244
  environment: "development" | "staging" | "production";
7198
7245
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -7207,6 +7254,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7207
7254
  regions: string[];
7208
7255
  substitution: "cross_model";
7209
7256
  authorizedByPolicy: true;
7257
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
7210
7258
  customerProviderCredential?: {
7211
7259
  environment: "development" | "staging" | "production";
7212
7260
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -7424,6 +7472,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7424
7472
  deploymentId: string;
7425
7473
  regions: string[];
7426
7474
  substitution: "same_model";
7475
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
7427
7476
  customerProviderCredential?: {
7428
7477
  environment: "development" | "staging" | "production";
7429
7478
  ownerAccountId: string;
@@ -7438,6 +7487,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7438
7487
  regions: string[];
7439
7488
  substitution: "cross_model";
7440
7489
  authorizedByPolicy: true;
7490
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
7441
7491
  customerProviderCredential?: {
7442
7492
  environment: "development" | "staging" | "production";
7443
7493
  ownerAccountId: string;
@@ -7655,6 +7705,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7655
7705
  deploymentId: string;
7656
7706
  regions: string[];
7657
7707
  substitution: "same_model";
7708
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
7658
7709
  customerProviderCredential?: {
7659
7710
  environment: "development" | "staging" | "production";
7660
7711
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -7669,6 +7720,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7669
7720
  regions: string[];
7670
7721
  substitution: "cross_model";
7671
7722
  authorizedByPolicy: true;
7723
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
7672
7724
  customerProviderCredential?: {
7673
7725
  environment: "development" | "staging" | "production";
7674
7726
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -7886,6 +7938,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7886
7938
  deploymentId: string;
7887
7939
  regions: string[];
7888
7940
  substitution: "same_model";
7941
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
7889
7942
  customerProviderCredential?: {
7890
7943
  environment: "development" | "staging" | "production";
7891
7944
  ownerAccountId: string;
@@ -7900,6 +7953,7 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
7900
7953
  regions: string[];
7901
7954
  substitution: "cross_model";
7902
7955
  authorizedByPolicy: true;
7956
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
7903
7957
  customerProviderCredential?: {
7904
7958
  environment: "development" | "staging" | "production";
7905
7959
  ownerAccountId: string;
@@ -486,6 +486,7 @@ export declare const authorizedRouteSchema: z.ZodEffects<z.ZodDiscriminatedUnion
486
486
  modelReference: z.ZodString;
487
487
  provider: z.ZodString;
488
488
  regions: z.ZodArray<z.ZodString, "many">;
489
+ maxFundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
489
490
  customerProviderCredential: z.ZodOptional<z.ZodObject<{
490
491
  credentialHandle: z.ZodString;
491
492
  credentialRevision: z.ZodNumber;
@@ -512,6 +513,7 @@ export declare const authorizedRouteSchema: z.ZodEffects<z.ZodDiscriminatedUnion
512
513
  deploymentId: string;
513
514
  regions: string[];
514
515
  substitution: "same_model";
516
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
515
517
  customerProviderCredential?: {
516
518
  environment: "development" | "staging" | "production";
517
519
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -525,6 +527,7 @@ export declare const authorizedRouteSchema: z.ZodEffects<z.ZodDiscriminatedUnion
525
527
  deploymentId: string;
526
528
  regions: string[];
527
529
  substitution: "same_model";
530
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
528
531
  customerProviderCredential?: {
529
532
  environment: "development" | "staging" | "production";
530
533
  ownerAccountId: string;
@@ -539,6 +542,7 @@ export declare const authorizedRouteSchema: z.ZodEffects<z.ZodDiscriminatedUnion
539
542
  modelReference: z.ZodString;
540
543
  provider: z.ZodString;
541
544
  regions: z.ZodArray<z.ZodString, "many">;
545
+ maxFundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
542
546
  customerProviderCredential: z.ZodOptional<z.ZodObject<{
543
547
  credentialHandle: z.ZodString;
544
548
  credentialRevision: z.ZodNumber;
@@ -566,6 +570,7 @@ export declare const authorizedRouteSchema: z.ZodEffects<z.ZodDiscriminatedUnion
566
570
  regions: string[];
567
571
  substitution: "cross_model";
568
572
  authorizedByPolicy: true;
573
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
569
574
  customerProviderCredential?: {
570
575
  environment: "development" | "staging" | "production";
571
576
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -580,6 +585,7 @@ export declare const authorizedRouteSchema: z.ZodEffects<z.ZodDiscriminatedUnion
580
585
  regions: string[];
581
586
  substitution: "cross_model";
582
587
  authorizedByPolicy: true;
588
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
583
589
  customerProviderCredential?: {
584
590
  environment: "development" | "staging" | "production";
585
591
  ownerAccountId: string;
@@ -593,6 +599,7 @@ export declare const authorizedRouteSchema: z.ZodEffects<z.ZodDiscriminatedUnion
593
599
  deploymentId: string;
594
600
  regions: string[];
595
601
  substitution: "same_model";
602
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
596
603
  customerProviderCredential?: {
597
604
  environment: "development" | "staging" | "production";
598
605
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -607,6 +614,7 @@ export declare const authorizedRouteSchema: z.ZodEffects<z.ZodDiscriminatedUnion
607
614
  regions: string[];
608
615
  substitution: "cross_model";
609
616
  authorizedByPolicy: true;
617
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
610
618
  customerProviderCredential?: {
611
619
  environment: "development" | "staging" | "production";
612
620
  ownerAccountId: string & z.BRAND<"OxyAccountId">;
@@ -620,6 +628,7 @@ export declare const authorizedRouteSchema: z.ZodEffects<z.ZodDiscriminatedUnion
620
628
  deploymentId: string;
621
629
  regions: string[];
622
630
  substitution: "same_model";
631
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
623
632
  customerProviderCredential?: {
624
633
  environment: "development" | "staging" | "production";
625
634
  ownerAccountId: string;
@@ -634,6 +643,7 @@ export declare const authorizedRouteSchema: z.ZodEffects<z.ZodDiscriminatedUnion
634
643
  regions: string[];
635
644
  substitution: "cross_model";
636
645
  authorizedByPolicy: true;
646
+ maxFundingTier?: "free" | "credit" | "paid" | undefined;
637
647
  customerProviderCredential?: {
638
648
  environment: "development" | "staging" | "production";
639
649
  ownerAccountId: string;
@@ -484,6 +484,14 @@ export declare const normalizedUsageReportSchema: z.ZodEffects<z.ZodObject<{
484
484
  deploymentId: z.ZodString;
485
485
  /** How many allowed route switches occurred while serving this request. */
486
486
  routeSwitches: z.ZodNumber;
487
+ /**
488
+ * The funding tier of the platform key that served the final attempt, as
489
+ * the data plane states it (ADR 0038). Absent when the key's economics
490
+ * were never stated, when a customer credential served, or when nothing
491
+ * was served. Oxy reads it to account for what the request cost the
492
+ * platform; it is never a key identity and never reaches a customer.
493
+ */
494
+ fundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
487
495
  startedAt: z.ZodString;
488
496
  completedAt: z.ZodString;
489
497
  timeToFirstTokenMs: z.ZodOptional<z.ZodNumber>;
@@ -517,6 +525,7 @@ export declare const normalizedUsageReportSchema: z.ZodEffects<z.ZodObject<{
517
525
  routeSwitches: number;
518
526
  startedAt: string;
519
527
  generationId?: string | undefined;
528
+ fundingTier?: "free" | "credit" | "paid" | undefined;
520
529
  timeToFirstTokenMs?: number | undefined;
521
530
  }, {
522
531
  schemaVersion: 2;
@@ -548,6 +557,7 @@ export declare const normalizedUsageReportSchema: z.ZodEffects<z.ZodObject<{
548
557
  routeSwitches: number;
549
558
  startedAt: string;
550
559
  generationId?: string | undefined;
560
+ fundingTier?: "free" | "credit" | "paid" | undefined;
551
561
  timeToFirstTokenMs?: number | undefined;
552
562
  }>, {
553
563
  schemaVersion: 2;
@@ -579,6 +589,7 @@ export declare const normalizedUsageReportSchema: z.ZodEffects<z.ZodObject<{
579
589
  routeSwitches: number;
580
590
  startedAt: string;
581
591
  generationId?: string | undefined;
592
+ fundingTier?: "free" | "credit" | "paid" | undefined;
582
593
  timeToFirstTokenMs?: number | undefined;
583
594
  }, {
584
595
  schemaVersion: 2;
@@ -610,6 +621,7 @@ export declare const normalizedUsageReportSchema: z.ZodEffects<z.ZodObject<{
610
621
  routeSwitches: number;
611
622
  startedAt: string;
612
623
  generationId?: string | undefined;
624
+ fundingTier?: "free" | "credit" | "paid" | undefined;
613
625
  timeToFirstTokenMs?: number | undefined;
614
626
  }>;
615
627
  /**
@@ -99,4 +99,4 @@
99
99
  * change to, say, the catalogue reject every in-flight inference request; the
100
100
  * per-shape `schemaVersion` is what a message is validated against.
101
101
  */
102
- export declare const INFERENCE_CONTRACT_VERSION = "3.5.0";
102
+ export declare const INFERENCE_CONTRACT_VERSION = "3.8.0";
@@ -191,6 +191,8 @@ export declare const recommendationItemSchema: z.ZodObject<{
191
191
  username: z.ZodOptional<z.ZodString>;
192
192
  name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
193
193
  avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
194
+ /** A bot's 3D avatar character; absent for every other kind. */
195
+ character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
194
196
  /** The account's accent colour, as on every profile; absent when unset. */
195
197
  color: z.ZodOptional<z.ZodString>;
196
198
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -218,6 +220,8 @@ export declare const recommendationItemSchema: z.ZodObject<{
218
220
  username: z.ZodOptional<z.ZodString>;
219
221
  name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
220
222
  avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
223
+ /** A bot's 3D avatar character; absent for every other kind. */
224
+ character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
221
225
  /** The account's accent colour, as on every profile; absent when unset. */
222
226
  color: z.ZodOptional<z.ZodString>;
223
227
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -245,6 +249,8 @@ export declare const recommendationItemSchema: z.ZodObject<{
245
249
  username: z.ZodOptional<z.ZodString>;
246
250
  name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
247
251
  avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
252
+ /** A bot's 3D avatar character; absent for every other kind. */
253
+ character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
248
254
  /** The account's accent colour, as on every profile; absent when unset. */
249
255
  color: z.ZodOptional<z.ZodString>;
250
256
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -275,6 +281,8 @@ export declare const recommendationResponseSchema: z.ZodArray<z.ZodObject<{
275
281
  username: z.ZodOptional<z.ZodString>;
276
282
  name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
277
283
  avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
284
+ /** A bot's 3D avatar character; absent for every other kind. */
285
+ character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
278
286
  /** The account's accent colour, as on every profile; absent when unset. */
279
287
  color: z.ZodOptional<z.ZodString>;
280
288
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -302,6 +310,8 @@ export declare const recommendationResponseSchema: z.ZodArray<z.ZodObject<{
302
310
  username: z.ZodOptional<z.ZodString>;
303
311
  name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
304
312
  avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
313
+ /** A bot's 3D avatar character; absent for every other kind. */
314
+ character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
305
315
  /** The account's accent colour, as on every profile; absent when unset. */
306
316
  color: z.ZodOptional<z.ZodString>;
307
317
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -329,6 +339,8 @@ export declare const recommendationResponseSchema: z.ZodArray<z.ZodObject<{
329
339
  username: z.ZodOptional<z.ZodString>;
330
340
  name: z.ZodType<import("./userResponse").UserNameResponse, z.ZodTypeDef, import("./userResponse").UserNameResponse>;
331
341
  avatar: z.ZodOptional<z.ZodNullable<z.ZodString>>;
342
+ /** A bot's 3D avatar character; absent for every other kind. */
343
+ character: z.ZodOptional<z.ZodType<import("./avatarCharacter").AvatarCharacter, z.ZodTypeDef, unknown>>;
332
344
  /** The account's accent colour, as on every profile; absent when unset. */
333
345
  color: z.ZodOptional<z.ZodString>;
334
346
  description: z.ZodOptional<z.ZodNullable<z.ZodString>>;