@claudexor/schema 3.10.4 → 3.11.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 (157) hide show
  1. package/dist/agent-capabilities.d.ts +24 -0
  2. package/dist/agent-capabilities.d.ts.map +1 -1
  3. package/dist/agent-capabilities.js +5 -0
  4. package/dist/agent-capabilities.js.map +1 -1
  5. package/dist/attempt-execution.d.ts +112 -0
  6. package/dist/attempt-execution.d.ts.map +1 -0
  7. package/dist/attempt-execution.js +15 -0
  8. package/dist/attempt-execution.js.map +1 -0
  9. package/dist/budget.d.ts +76 -0
  10. package/dist/budget.d.ts.map +1 -1
  11. package/dist/budget.js +12 -0
  12. package/dist/budget.js.map +1 -1
  13. package/dist/control-harness-list.d.ts +18 -0
  14. package/dist/control-harness-list.d.ts.map +1 -1
  15. package/dist/control-harness-models.d.ts +1042 -0
  16. package/dist/control-harness-models.d.ts.map +1 -0
  17. package/dist/control-harness-models.js +47 -0
  18. package/dist/control-harness-models.js.map +1 -0
  19. package/dist/control-operation-responses.d.ts +73 -21
  20. package/dist/control-operation-responses.d.ts.map +1 -1
  21. package/dist/control-operation-responses.js +6 -0
  22. package/dist/control-operation-responses.js.map +1 -1
  23. package/dist/control-run-detail.d.ts +270 -85
  24. package/dist/control-run-detail.d.ts.map +1 -1
  25. package/dist/control-run-detail.js +12 -1
  26. package/dist/control-run-detail.js.map +1 -1
  27. package/dist/control-run-execution.d.ts +6 -0
  28. package/dist/control-run-execution.d.ts.map +1 -1
  29. package/dist/control-run-execution.js +6 -0
  30. package/dist/control-run-execution.js.map +1 -1
  31. package/dist/control-thread-apply.d.ts +12 -0
  32. package/dist/control-thread-apply.d.ts.map +1 -1
  33. package/dist/control.d.ts +181 -146
  34. package/dist/control.d.ts.map +1 -1
  35. package/dist/control.js +25 -33
  36. package/dist/control.js.map +1 -1
  37. package/dist/credential-profile-snapshot.d.ts +36 -0
  38. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  39. package/dist/decision.d.ts +16 -8
  40. package/dist/decision.d.ts.map +1 -1
  41. package/dist/decision.js +5 -0
  42. package/dist/decision.js.map +1 -1
  43. package/dist/delivery.d.ts +8 -0
  44. package/dist/delivery.d.ts.map +1 -1
  45. package/dist/delivery.js +1 -0
  46. package/dist/delivery.js.map +1 -1
  47. package/dist/files-manifest.d.ts +501 -0
  48. package/dist/files-manifest.d.ts.map +1 -0
  49. package/dist/files-manifest.js +77 -0
  50. package/dist/files-manifest.js.map +1 -0
  51. package/dist/harness-model.d.ts +86 -0
  52. package/dist/harness-model.d.ts.map +1 -0
  53. package/dist/harness-model.js +34 -0
  54. package/dist/harness-model.js.map +1 -0
  55. package/dist/harness.d.ts +183 -27
  56. package/dist/harness.d.ts.map +1 -1
  57. package/dist/harness.js +19 -31
  58. package/dist/harness.js.map +1 -1
  59. package/dist/index.d.ts +3 -0
  60. package/dist/index.d.ts.map +1 -1
  61. package/dist/index.js +3 -0
  62. package/dist/index.js.map +1 -1
  63. package/dist/mcp-run-result.d.ts +379 -56
  64. package/dist/mcp-run-result.d.ts.map +1 -1
  65. package/dist/mcp-run-result.js +3 -0
  66. package/dist/mcp-run-result.js.map +1 -1
  67. package/dist/model-operation.d.ts +1371 -0
  68. package/dist/model-operation.d.ts.map +1 -1
  69. package/dist/model-operation.js +36 -0
  70. package/dist/model-operation.js.map +1 -1
  71. package/dist/processing.d.ts +94 -0
  72. package/dist/processing.d.ts.map +1 -0
  73. package/dist/processing.js +45 -0
  74. package/dist/processing.js.map +1 -0
  75. package/dist/readiness.d.ts +14 -0
  76. package/dist/readiness.d.ts.map +1 -1
  77. package/dist/run-facts.d.ts +28 -28
  78. package/dist/run-facts.js +4 -4
  79. package/dist/run-facts.js.map +1 -1
  80. package/dist/run-strategy.d.ts +1 -0
  81. package/dist/run-strategy.d.ts.map +1 -1
  82. package/dist/run-strategy.js +2 -0
  83. package/dist/run-strategy.js.map +1 -1
  84. package/dist/status-projection.d.ts.map +1 -1
  85. package/dist/status-projection.js +3 -1
  86. package/dist/status-projection.js.map +1 -1
  87. package/dist/surface-run-controls.d.ts.map +1 -1
  88. package/dist/surface-run-controls.js +22 -1
  89. package/dist/surface-run-controls.js.map +1 -1
  90. package/dist/task.d.ts +9 -0
  91. package/dist/task.d.ts.map +1 -1
  92. package/dist/task.js +2 -0
  93. package/dist/task.js.map +1 -1
  94. package/dist/telemetry.d.ts +263 -41
  95. package/dist/telemetry.d.ts.map +1 -1
  96. package/dist/telemetry.js +5 -8
  97. package/dist/telemetry.js.map +1 -1
  98. package/dist/workproduct.d.ts +4 -4
  99. package/dist/workproduct.d.ts.map +1 -1
  100. package/dist/workproduct.js +4 -4
  101. package/dist/workproduct.js.map +1 -1
  102. package/dist/workspace.d.ts +14 -11
  103. package/dist/workspace.d.ts.map +1 -1
  104. package/dist/workspace.js +14 -9
  105. package/dist/workspace.js.map +1 -1
  106. package/generated/AgentCapabilityCatalog.schema.json +25 -0
  107. package/generated/AttemptExecutionEvidence.schema.json +187 -0
  108. package/generated/BudgetLease.schema.json +39 -0
  109. package/generated/ControlApplyCheckRequest.schema.json +7 -0
  110. package/generated/ControlApplyRequest.schema.json +7 -0
  111. package/generated/ControlCredentialProfilesQueryResponse.schema.json +25 -0
  112. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +25 -0
  113. package/generated/ControlDeliveryResponse.schema.json +10 -0
  114. package/generated/ControlHarnessAccountCatalog.schema.json +208 -0
  115. package/generated/ControlHarnessAccountModelsResponse.schema.json +320 -0
  116. package/generated/ControlHarnessListResponse.schema.json +25 -0
  117. package/generated/ControlHarnessModelsQueryResponse.schema.json +347 -0
  118. package/generated/ControlHarnessModelsResponse.schema.json +89 -0
  119. package/generated/ControlModelAccountCatalogResponse.schema.json +339 -0
  120. package/generated/ControlModelCatalogQueryResponse.schema.json +346 -0
  121. package/generated/ControlModelCatalogResponse.schema.json +86 -0
  122. package/generated/ControlModelOperationDetail.schema.json +39 -0
  123. package/generated/ControlModelSourcesAccountsResponse.schema.json +61 -0
  124. package/generated/ControlModelSourcesQueryResponse.schema.json +98 -0
  125. package/generated/ControlRunAgainDraft.schema.json +29 -0
  126. package/generated/ControlRunDecisionRequest.schema.json +4 -3
  127. package/generated/ControlRunDecisionResponse.schema.json +2 -1
  128. package/generated/ControlRunDetail.schema.json +234 -28
  129. package/generated/ControlRunListResponse.schema.json +18 -4
  130. package/generated/ControlRunStartRequest.schema.json +29 -0
  131. package/generated/ControlRunSummary.schema.json +18 -4
  132. package/generated/ControlThreadApplyResponse.schema.json +10 -0
  133. package/generated/ControlThreadDetail.schema.json +9 -4
  134. package/generated/ControlThreadTurnRequest.schema.json +45 -0
  135. package/generated/DecisionRecord.schema.json +8 -1
  136. package/generated/HarnessEvent.schema.json +146 -0
  137. package/generated/HarnessManifest.schema.json +25 -0
  138. package/generated/HarnessModel.schema.json +89 -0
  139. package/generated/HarnessStatusDto.schema.json +25 -0
  140. package/generated/McpRunHandleResult.schema.json +205 -9
  141. package/generated/McpRunToolResult.schema.json +196 -9
  142. package/generated/ModelCallRequest.schema.json +9 -0
  143. package/generated/ModelCallResult.schema.json +124 -0
  144. package/generated/ProcessingCapability.schema.json +95 -0
  145. package/generated/ProcessingCostBasis.schema.json +45 -0
  146. package/generated/ProcessingPreference.schema.json +15 -0
  147. package/generated/ProcessingReceipt.schema.json +94 -0
  148. package/generated/RunFacts.schema.json +6 -1
  149. package/generated/RunTelemetry.schema.json +168 -1
  150. package/generated/TaskContract.schema.json +9 -0
  151. package/generated/UsageCostBasis.schema.json +31 -0
  152. package/generated/UsageCostSummary.schema.json +44 -0
  153. package/generated/WorkProduct.schema.json +4 -3
  154. package/generated/WorkspaceEnvelope.schema.json +25 -5
  155. package/generated/WorkspaceFilesManifest.schema.json +160 -0
  156. package/generated/WorkspaceKind.schema.json +13 -0
  157. package/package.json +2 -2
@@ -297,6 +297,7 @@ export type ModelToolChoice = z.infer<typeof ModelToolChoice>;
297
297
  export declare const ModelCallOptions: z.ZodObject<{
298
298
  reasoningEffort: z.ZodOptional<z.ZodString>;
299
299
  serviceTier: z.ZodOptional<z.ZodString>;
300
+ processingPreference: z.ZodOptional<z.ZodEnum<["standard", "fast", "economy"]>>;
300
301
  parallelToolCalls: z.ZodOptional<z.ZodBoolean>;
301
302
  cacheKey: z.ZodOptional<z.ZodString>;
302
303
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
@@ -304,6 +305,7 @@ export declare const ModelCallOptions: z.ZodObject<{
304
305
  }, "strict", z.ZodTypeAny, {
305
306
  reasoningEffort?: string | undefined;
306
307
  serviceTier?: string | undefined;
308
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
307
309
  parallelToolCalls?: boolean | undefined;
308
310
  cacheKey?: string | undefined;
309
311
  maxOutputTokens?: number | undefined;
@@ -311,6 +313,7 @@ export declare const ModelCallOptions: z.ZodObject<{
311
313
  }, {
312
314
  reasoningEffort?: string | undefined;
313
315
  serviceTier?: string | undefined;
316
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
314
317
  parallelToolCalls?: boolean | undefined;
315
318
  cacheKey?: string | undefined;
316
319
  maxOutputTokens?: number | undefined;
@@ -515,6 +518,7 @@ export declare const ModelCallRequest: z.ZodObject<{
515
518
  options: z.ZodDefault<z.ZodObject<{
516
519
  reasoningEffort: z.ZodOptional<z.ZodString>;
517
520
  serviceTier: z.ZodOptional<z.ZodString>;
521
+ processingPreference: z.ZodOptional<z.ZodEnum<["standard", "fast", "economy"]>>;
518
522
  parallelToolCalls: z.ZodOptional<z.ZodBoolean>;
519
523
  cacheKey: z.ZodOptional<z.ZodString>;
520
524
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
@@ -522,6 +526,7 @@ export declare const ModelCallRequest: z.ZodObject<{
522
526
  }, "strict", z.ZodTypeAny, {
523
527
  reasoningEffort?: string | undefined;
524
528
  serviceTier?: string | undefined;
529
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
525
530
  parallelToolCalls?: boolean | undefined;
526
531
  cacheKey?: string | undefined;
527
532
  maxOutputTokens?: number | undefined;
@@ -529,6 +534,7 @@ export declare const ModelCallRequest: z.ZodObject<{
529
534
  }, {
530
535
  reasoningEffort?: string | undefined;
531
536
  serviceTier?: string | undefined;
537
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
532
538
  parallelToolCalls?: boolean | undefined;
533
539
  cacheKey?: string | undefined;
534
540
  maxOutputTokens?: number | undefined;
@@ -624,6 +630,7 @@ export declare const ModelCallRequest: z.ZodObject<{
624
630
  options: {
625
631
  reasoningEffort?: string | undefined;
626
632
  serviceTier?: string | undefined;
633
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
627
634
  parallelToolCalls?: boolean | undefined;
628
635
  cacheKey?: string | undefined;
629
636
  maxOutputTokens?: number | undefined;
@@ -691,6 +698,7 @@ export declare const ModelCallRequest: z.ZodObject<{
691
698
  options?: {
692
699
  reasoningEffort?: string | undefined;
693
700
  serviceTier?: string | undefined;
701
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
694
702
  parallelToolCalls?: boolean | undefined;
695
703
  cacheKey?: string | undefined;
696
704
  maxOutputTokens?: number | undefined;
@@ -730,6 +738,19 @@ export declare const ModelUsage: z.ZodObject<{
730
738
  }>;
731
739
  export type ModelUsage = z.infer<typeof ModelUsage>;
732
740
  export declare const ModelCostEvidence: z.ZodObject<{
741
+ processing: z.ZodOptional<z.ZodObject<{
742
+ nativeMode: z.ZodNullable<z.ZodString>;
743
+ kind: z.ZodEnum<["included", "paid_credits", "cash", "valuation", "unknown"]>;
744
+ source: z.ZodString;
745
+ }, "strict", z.ZodTypeAny, {
746
+ nativeMode: string | null;
747
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
748
+ source: string;
749
+ }, {
750
+ nativeMode: string | null;
751
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
752
+ source: string;
753
+ }>>;
733
754
  knowledge: z.ZodEnum<["exact", "estimated", "unknown"]>;
734
755
  billing: z.ZodEnum<["proven_zero", "subscription_entitlement", "metered", "unknown"]>;
735
756
  source: z.ZodString;
@@ -740,6 +761,11 @@ export declare const ModelCostEvidence: z.ZodObject<{
740
761
  valuationUsd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
741
762
  valuationKnowledge: z.ZodDefault<z.ZodEnum<["exact", "estimated", "unknown"]>>;
742
763
  }, "strict", z.ZodTypeAny, {
764
+ processing?: {
765
+ nativeMode: string | null;
766
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
767
+ source: string;
768
+ } | undefined;
743
769
  knowledge: "estimated" | "exact" | "unknown";
744
770
  billing: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
745
771
  source: string;
@@ -749,6 +775,11 @@ export declare const ModelCostEvidence: z.ZodObject<{
749
775
  valuationUsd: number | null;
750
776
  valuationKnowledge: "estimated" | "exact" | "unknown";
751
777
  }, {
778
+ processing?: {
779
+ nativeMode: string | null;
780
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
781
+ source: string;
782
+ } | undefined;
752
783
  knowledge: "estimated" | "exact" | "unknown";
753
784
  billing: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
754
785
  source: string;
@@ -916,6 +947,19 @@ export declare const ModelCallResult: z.ZodObject<{
916
947
  reasoning_tokens?: number | null | undefined;
917
948
  }>;
918
949
  cost: z.ZodObject<{
950
+ processing: z.ZodOptional<z.ZodObject<{
951
+ nativeMode: z.ZodNullable<z.ZodString>;
952
+ kind: z.ZodEnum<["included", "paid_credits", "cash", "valuation", "unknown"]>;
953
+ source: z.ZodString;
954
+ }, "strict", z.ZodTypeAny, {
955
+ nativeMode: string | null;
956
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
957
+ source: string;
958
+ }, {
959
+ nativeMode: string | null;
960
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
961
+ source: string;
962
+ }>>;
919
963
  knowledge: z.ZodEnum<["exact", "estimated", "unknown"]>;
920
964
  billing: z.ZodEnum<["proven_zero", "subscription_entitlement", "metered", "unknown"]>;
921
965
  source: z.ZodString;
@@ -926,6 +970,11 @@ export declare const ModelCallResult: z.ZodObject<{
926
970
  valuationUsd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
927
971
  valuationKnowledge: z.ZodDefault<z.ZodEnum<["exact", "estimated", "unknown"]>>;
928
972
  }, "strict", z.ZodTypeAny, {
973
+ processing?: {
974
+ nativeMode: string | null;
975
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
976
+ source: string;
977
+ } | undefined;
929
978
  knowledge: "estimated" | "exact" | "unknown";
930
979
  billing: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
931
980
  source: string;
@@ -935,6 +984,11 @@ export declare const ModelCallResult: z.ZodObject<{
935
984
  valuationUsd: number | null;
936
985
  valuationKnowledge: "estimated" | "exact" | "unknown";
937
986
  }, {
987
+ processing?: {
988
+ nativeMode: string | null;
989
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
990
+ source: string;
991
+ } | undefined;
938
992
  knowledge: "estimated" | "exact" | "unknown";
939
993
  billing: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
940
994
  source: string;
@@ -947,6 +1001,7 @@ export declare const ModelCallResult: z.ZodObject<{
947
1001
  appliedOptions: z.ZodObject<{
948
1002
  reasoningEffort: z.ZodOptional<z.ZodString>;
949
1003
  serviceTier: z.ZodOptional<z.ZodString>;
1004
+ processingPreference: z.ZodOptional<z.ZodEnum<["standard", "fast", "economy"]>>;
950
1005
  parallelToolCalls: z.ZodOptional<z.ZodBoolean>;
951
1006
  cacheKey: z.ZodOptional<z.ZodString>;
952
1007
  maxOutputTokens: z.ZodOptional<z.ZodNumber>;
@@ -954,6 +1009,7 @@ export declare const ModelCallResult: z.ZodObject<{
954
1009
  }, "strict", z.ZodTypeAny, {
955
1010
  reasoningEffort?: string | undefined;
956
1011
  serviceTier?: string | undefined;
1012
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
957
1013
  parallelToolCalls?: boolean | undefined;
958
1014
  cacheKey?: string | undefined;
959
1015
  maxOutputTokens?: number | undefined;
@@ -961,11 +1017,37 @@ export declare const ModelCallResult: z.ZodObject<{
961
1017
  }, {
962
1018
  reasoningEffort?: string | undefined;
963
1019
  serviceTier?: string | undefined;
1020
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
964
1021
  parallelToolCalls?: boolean | undefined;
965
1022
  cacheKey?: string | undefined;
966
1023
  maxOutputTokens?: number | undefined;
967
1024
  temperature?: number | undefined;
968
1025
  }>;
1026
+ processing: z.ZodOptional<z.ZodObject<{
1027
+ requested: z.ZodNullable<z.ZodEnum<["standard", "fast", "economy"]>>;
1028
+ submitted: z.ZodNullable<z.ZodEnum<["standard", "fast", "economy"]>>;
1029
+ submittedNative: z.ZodNullable<z.ZodString>;
1030
+ observed: z.ZodEnum<["standard", "fast", "economy", "mixed", "unknown"]>;
1031
+ observedNative: z.ZodArray<z.ZodString, "many">;
1032
+ reason: z.ZodNullable<z.ZodString>;
1033
+ source: z.ZodString;
1034
+ }, "strict", z.ZodTypeAny, {
1035
+ requested: "economy" | "fast" | "standard" | null;
1036
+ submitted: "economy" | "fast" | "standard" | null;
1037
+ submittedNative: string | null;
1038
+ observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
1039
+ observedNative: string[];
1040
+ reason: string | null;
1041
+ source: string;
1042
+ }, {
1043
+ requested: "economy" | "fast" | "standard" | null;
1044
+ submitted: "economy" | "fast" | "standard" | null;
1045
+ submittedNative: string | null;
1046
+ observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
1047
+ observedNative: string[];
1048
+ reason: string | null;
1049
+ source: string;
1050
+ }>>;
969
1051
  problem: z.ZodNullable<z.ZodObject<{
970
1052
  code: z.ZodString;
971
1053
  message: z.ZodString;
@@ -1069,6 +1151,11 @@ export declare const ModelCallResult: z.ZodObject<{
1069
1151
  reasoning_tokens: number | null;
1070
1152
  };
1071
1153
  cost: {
1154
+ processing?: {
1155
+ nativeMode: string | null;
1156
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
1157
+ source: string;
1158
+ } | undefined;
1072
1159
  knowledge: "estimated" | "exact" | "unknown";
1073
1160
  billing: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
1074
1161
  source: string;
@@ -1081,11 +1168,21 @@ export declare const ModelCallResult: z.ZodObject<{
1081
1168
  appliedOptions: {
1082
1169
  reasoningEffort?: string | undefined;
1083
1170
  serviceTier?: string | undefined;
1171
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
1084
1172
  parallelToolCalls?: boolean | undefined;
1085
1173
  cacheKey?: string | undefined;
1086
1174
  maxOutputTokens?: number | undefined;
1087
1175
  temperature?: number | undefined;
1088
1176
  };
1177
+ processing?: {
1178
+ requested: "economy" | "fast" | "standard" | null;
1179
+ submitted: "economy" | "fast" | "standard" | null;
1180
+ submittedNative: string | null;
1181
+ observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
1182
+ observedNative: string[];
1183
+ reason: string | null;
1184
+ source: string;
1185
+ } | undefined;
1089
1186
  problem: {
1090
1187
  code: string;
1091
1188
  message: string;
@@ -1145,6 +1242,11 @@ export declare const ModelCallResult: z.ZodObject<{
1145
1242
  reasoning_tokens?: number | null | undefined;
1146
1243
  };
1147
1244
  cost: {
1245
+ processing?: {
1246
+ nativeMode: string | null;
1247
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
1248
+ source: string;
1249
+ } | undefined;
1148
1250
  knowledge: "estimated" | "exact" | "unknown";
1149
1251
  billing: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
1150
1252
  source: string;
@@ -1157,11 +1259,21 @@ export declare const ModelCallResult: z.ZodObject<{
1157
1259
  appliedOptions: {
1158
1260
  reasoningEffort?: string | undefined;
1159
1261
  serviceTier?: string | undefined;
1262
+ processingPreference?: "economy" | "fast" | "standard" | undefined;
1160
1263
  parallelToolCalls?: boolean | undefined;
1161
1264
  cacheKey?: string | undefined;
1162
1265
  maxOutputTokens?: number | undefined;
1163
1266
  temperature?: number | undefined;
1164
1267
  };
1268
+ processing?: {
1269
+ requested: "economy" | "fast" | "standard" | null;
1270
+ submitted: "economy" | "fast" | "standard" | null;
1271
+ submittedNative: string | null;
1272
+ observed: "economy" | "fast" | "mixed" | "standard" | "unknown";
1273
+ observedNative: string[];
1274
+ reason: string | null;
1275
+ source: string;
1276
+ } | undefined;
1165
1277
  problem: {
1166
1278
  code: string;
1167
1279
  message: string;
@@ -1194,6 +1306,43 @@ export declare const ModelCatalogEntry: z.ZodObject<{
1194
1306
  reasoningEfforts: z.ZodArray<z.ZodString, "many">;
1195
1307
  defaultReasoningEffort: z.ZodNullable<z.ZodString>;
1196
1308
  supportedOptions: z.ZodArray<z.ZodString, "many">;
1309
+ processing: z.ZodOptional<z.ZodObject<{
1310
+ modes: z.ZodNullable<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
1311
+ nativeModes: z.ZodArray<z.ZodObject<{
1312
+ mode: z.ZodEnum<["standard", "fast", "economy"]>;
1313
+ id: z.ZodString;
1314
+ }, "strict", z.ZodTypeAny, {
1315
+ mode: "economy" | "fast" | "standard";
1316
+ id: string;
1317
+ }, {
1318
+ mode: "economy" | "fast" | "standard";
1319
+ id: string;
1320
+ }>, "many">;
1321
+ defaultNativeMode: z.ZodNullable<z.ZodString>;
1322
+ eligible: z.ZodNullable<z.ZodBoolean>;
1323
+ source: z.ZodString;
1324
+ observedAt: z.ZodNullable<z.ZodString>;
1325
+ }, "strict", z.ZodTypeAny, {
1326
+ modes: ("economy" | "fast" | "standard")[] | null;
1327
+ nativeModes: {
1328
+ mode: "economy" | "fast" | "standard";
1329
+ id: string;
1330
+ }[];
1331
+ defaultNativeMode: string | null;
1332
+ eligible: boolean | null;
1333
+ source: string;
1334
+ observedAt: string | null;
1335
+ }, {
1336
+ modes: ("economy" | "fast" | "standard")[] | null;
1337
+ nativeModes: {
1338
+ mode: "economy" | "fast" | "standard";
1339
+ id: string;
1340
+ }[];
1341
+ defaultNativeMode: string | null;
1342
+ eligible: boolean | null;
1343
+ source: string;
1344
+ observedAt: string | null;
1345
+ }>>;
1197
1346
  }, "strict", z.ZodTypeAny, {
1198
1347
  id: string;
1199
1348
  label: string | null;
@@ -1205,6 +1354,17 @@ export declare const ModelCatalogEntry: z.ZodObject<{
1205
1354
  reasoningEfforts: string[];
1206
1355
  defaultReasoningEffort: string | null;
1207
1356
  supportedOptions: string[];
1357
+ processing?: {
1358
+ modes: ("economy" | "fast" | "standard")[] | null;
1359
+ nativeModes: {
1360
+ mode: "economy" | "fast" | "standard";
1361
+ id: string;
1362
+ }[];
1363
+ defaultNativeMode: string | null;
1364
+ eligible: boolean | null;
1365
+ source: string;
1366
+ observedAt: string | null;
1367
+ } | undefined;
1208
1368
  }, {
1209
1369
  id: string;
1210
1370
  label: string | null;
@@ -1216,6 +1376,17 @@ export declare const ModelCatalogEntry: z.ZodObject<{
1216
1376
  reasoningEfforts: string[];
1217
1377
  defaultReasoningEffort: string | null;
1218
1378
  supportedOptions: string[];
1379
+ processing?: {
1380
+ modes: ("economy" | "fast" | "standard")[] | null;
1381
+ nativeModes: {
1382
+ mode: "economy" | "fast" | "standard";
1383
+ id: string;
1384
+ }[];
1385
+ defaultNativeMode: string | null;
1386
+ eligible: boolean | null;
1387
+ source: string;
1388
+ observedAt: string | null;
1389
+ } | undefined;
1219
1390
  }>;
1220
1391
  export type ModelCatalogEntry = z.infer<typeof ModelCatalogEntry>;
1221
1392
  export declare const ControlModelSourcesResponse: z.ZodObject<{
@@ -1246,6 +1417,110 @@ export declare const ControlModelSourcesResponse: z.ZodObject<{
1246
1417
  }[];
1247
1418
  }>;
1248
1419
  export type ControlModelSourcesResponse = z.infer<typeof ControlModelSourcesResponse>;
1420
+ export declare const ControlModelSourcesAccountsResponse: z.ZodObject<{
1421
+ sources: z.ZodArray<z.ZodObject<{
1422
+ id: z.ZodString;
1423
+ label: z.ZodString;
1424
+ credentialHarness: z.ZodString;
1425
+ } & {
1426
+ processingPreferences: z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">;
1427
+ accountCatalog: z.ZodLiteral<true>;
1428
+ }, "strict", z.ZodTypeAny, {
1429
+ id: string;
1430
+ label: string;
1431
+ credentialHarness: string;
1432
+ processingPreferences: ("economy" | "fast" | "standard")[];
1433
+ accountCatalog: true;
1434
+ }, {
1435
+ id: string;
1436
+ label: string;
1437
+ credentialHarness: string;
1438
+ processingPreferences: ("economy" | "fast" | "standard")[];
1439
+ accountCatalog: true;
1440
+ }>, "many">;
1441
+ }, "strict", z.ZodTypeAny, {
1442
+ sources: {
1443
+ id: string;
1444
+ label: string;
1445
+ credentialHarness: string;
1446
+ processingPreferences: ("economy" | "fast" | "standard")[];
1447
+ accountCatalog: true;
1448
+ }[];
1449
+ }, {
1450
+ sources: {
1451
+ id: string;
1452
+ label: string;
1453
+ credentialHarness: string;
1454
+ processingPreferences: ("economy" | "fast" | "standard")[];
1455
+ accountCatalog: true;
1456
+ }[];
1457
+ }>;
1458
+ export type ControlModelSourcesAccountsResponse = z.infer<typeof ControlModelSourcesAccountsResponse>;
1459
+ export declare const ControlModelSourcesQueryResponse: z.ZodUnion<[z.ZodObject<{
1460
+ sources: z.ZodArray<z.ZodObject<{
1461
+ id: z.ZodString;
1462
+ label: z.ZodString;
1463
+ credentialHarness: z.ZodString;
1464
+ }, "strict", z.ZodTypeAny, {
1465
+ id: string;
1466
+ label: string;
1467
+ credentialHarness: string;
1468
+ }, {
1469
+ id: string;
1470
+ label: string;
1471
+ credentialHarness: string;
1472
+ }>, "many">;
1473
+ }, "strict", z.ZodTypeAny, {
1474
+ sources: {
1475
+ id: string;
1476
+ label: string;
1477
+ credentialHarness: string;
1478
+ }[];
1479
+ }, {
1480
+ sources: {
1481
+ id: string;
1482
+ label: string;
1483
+ credentialHarness: string;
1484
+ }[];
1485
+ }>, z.ZodObject<{
1486
+ sources: z.ZodArray<z.ZodObject<{
1487
+ id: z.ZodString;
1488
+ label: z.ZodString;
1489
+ credentialHarness: z.ZodString;
1490
+ } & {
1491
+ processingPreferences: z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">;
1492
+ accountCatalog: z.ZodLiteral<true>;
1493
+ }, "strict", z.ZodTypeAny, {
1494
+ id: string;
1495
+ label: string;
1496
+ credentialHarness: string;
1497
+ processingPreferences: ("economy" | "fast" | "standard")[];
1498
+ accountCatalog: true;
1499
+ }, {
1500
+ id: string;
1501
+ label: string;
1502
+ credentialHarness: string;
1503
+ processingPreferences: ("economy" | "fast" | "standard")[];
1504
+ accountCatalog: true;
1505
+ }>, "many">;
1506
+ }, "strict", z.ZodTypeAny, {
1507
+ sources: {
1508
+ id: string;
1509
+ label: string;
1510
+ credentialHarness: string;
1511
+ processingPreferences: ("economy" | "fast" | "standard")[];
1512
+ accountCatalog: true;
1513
+ }[];
1514
+ }, {
1515
+ sources: {
1516
+ id: string;
1517
+ label: string;
1518
+ credentialHarness: string;
1519
+ processingPreferences: ("economy" | "fast" | "standard")[];
1520
+ accountCatalog: true;
1521
+ }[];
1522
+ }>]>;
1523
+ export type ControlModelSourcesQueryResponse = z.infer<typeof ControlModelSourcesQueryResponse>;
1249
1524
  export declare const ControlModelCatalogResponse: z.ZodObject<{
1250
1525
  source: z.ZodString;
1251
1526
  credentialProfileId: z.ZodString;
@@ -1263,6 +1538,43 @@ export declare const ControlModelCatalogResponse: z.ZodObject<{
1263
1538
  reasoningEfforts: z.ZodArray<z.ZodString, "many">;
1264
1539
  defaultReasoningEffort: z.ZodNullable<z.ZodString>;
1265
1540
  supportedOptions: z.ZodArray<z.ZodString, "many">;
1541
+ processing: z.ZodOptional<z.ZodObject<{
1542
+ modes: z.ZodNullable<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
1543
+ nativeModes: z.ZodArray<z.ZodObject<{
1544
+ mode: z.ZodEnum<["standard", "fast", "economy"]>;
1545
+ id: z.ZodString;
1546
+ }, "strict", z.ZodTypeAny, {
1547
+ mode: "economy" | "fast" | "standard";
1548
+ id: string;
1549
+ }, {
1550
+ mode: "economy" | "fast" | "standard";
1551
+ id: string;
1552
+ }>, "many">;
1553
+ defaultNativeMode: z.ZodNullable<z.ZodString>;
1554
+ eligible: z.ZodNullable<z.ZodBoolean>;
1555
+ source: z.ZodString;
1556
+ observedAt: z.ZodNullable<z.ZodString>;
1557
+ }, "strict", z.ZodTypeAny, {
1558
+ modes: ("economy" | "fast" | "standard")[] | null;
1559
+ nativeModes: {
1560
+ mode: "economy" | "fast" | "standard";
1561
+ id: string;
1562
+ }[];
1563
+ defaultNativeMode: string | null;
1564
+ eligible: boolean | null;
1565
+ source: string;
1566
+ observedAt: string | null;
1567
+ }, {
1568
+ modes: ("economy" | "fast" | "standard")[] | null;
1569
+ nativeModes: {
1570
+ mode: "economy" | "fast" | "standard";
1571
+ id: string;
1572
+ }[];
1573
+ defaultNativeMode: string | null;
1574
+ eligible: boolean | null;
1575
+ source: string;
1576
+ observedAt: string | null;
1577
+ }>>;
1266
1578
  }, "strict", z.ZodTypeAny, {
1267
1579
  id: string;
1268
1580
  label: string | null;
@@ -1274,6 +1586,17 @@ export declare const ControlModelCatalogResponse: z.ZodObject<{
1274
1586
  reasoningEfforts: string[];
1275
1587
  defaultReasoningEffort: string | null;
1276
1588
  supportedOptions: string[];
1589
+ processing?: {
1590
+ modes: ("economy" | "fast" | "standard")[] | null;
1591
+ nativeModes: {
1592
+ mode: "economy" | "fast" | "standard";
1593
+ id: string;
1594
+ }[];
1595
+ defaultNativeMode: string | null;
1596
+ eligible: boolean | null;
1597
+ source: string;
1598
+ observedAt: string | null;
1599
+ } | undefined;
1277
1600
  }, {
1278
1601
  id: string;
1279
1602
  label: string | null;
@@ -1285,6 +1608,17 @@ export declare const ControlModelCatalogResponse: z.ZodObject<{
1285
1608
  reasoningEfforts: string[];
1286
1609
  defaultReasoningEffort: string | null;
1287
1610
  supportedOptions: string[];
1611
+ processing?: {
1612
+ modes: ("economy" | "fast" | "standard")[] | null;
1613
+ nativeModes: {
1614
+ mode: "economy" | "fast" | "standard";
1615
+ id: string;
1616
+ }[];
1617
+ defaultNativeMode: string | null;
1618
+ eligible: boolean | null;
1619
+ source: string;
1620
+ observedAt: string | null;
1621
+ } | undefined;
1288
1622
  }>, "many">;
1289
1623
  }, "strict", z.ZodTypeAny, {
1290
1624
  source: string;
@@ -1303,6 +1637,17 @@ export declare const ControlModelCatalogResponse: z.ZodObject<{
1303
1637
  reasoningEfforts: string[];
1304
1638
  defaultReasoningEffort: string | null;
1305
1639
  supportedOptions: string[];
1640
+ processing?: {
1641
+ modes: ("economy" | "fast" | "standard")[] | null;
1642
+ nativeModes: {
1643
+ mode: "economy" | "fast" | "standard";
1644
+ id: string;
1645
+ }[];
1646
+ defaultNativeMode: string | null;
1647
+ eligible: boolean | null;
1648
+ source: string;
1649
+ observedAt: string | null;
1650
+ } | undefined;
1306
1651
  }[];
1307
1652
  }, {
1308
1653
  source: string;
@@ -1321,9 +1666,969 @@ export declare const ControlModelCatalogResponse: z.ZodObject<{
1321
1666
  reasoningEfforts: string[];
1322
1667
  defaultReasoningEffort: string | null;
1323
1668
  supportedOptions: string[];
1669
+ processing?: {
1670
+ modes: ("economy" | "fast" | "standard")[] | null;
1671
+ nativeModes: {
1672
+ mode: "economy" | "fast" | "standard";
1673
+ id: string;
1674
+ }[];
1675
+ defaultNativeMode: string | null;
1676
+ eligible: boolean | null;
1677
+ source: string;
1678
+ observedAt: string | null;
1679
+ } | undefined;
1324
1680
  }[];
1325
1681
  }>;
1326
1682
  export type ControlModelCatalogResponse = z.infer<typeof ControlModelCatalogResponse>;
1683
+ export declare const AccountCatalogAvailability: z.ZodObject<{
1684
+ credentialProfileId: z.ZodString;
1685
+ availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
1686
+ problem: z.ZodNullable<z.ZodObject<{
1687
+ code: z.ZodString;
1688
+ message: z.ZodString;
1689
+ retryable: z.ZodBoolean;
1690
+ fieldErrors: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1691
+ requiredActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1692
+ evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1693
+ context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1694
+ }, "strict", z.ZodTypeAny, {
1695
+ code: string;
1696
+ message: string;
1697
+ retryable: boolean;
1698
+ fieldErrors: Record<string, string[]>;
1699
+ requiredActions: string[];
1700
+ evidenceRefs: string[];
1701
+ context: Record<string, unknown>;
1702
+ }, {
1703
+ code: string;
1704
+ message: string;
1705
+ retryable: boolean;
1706
+ fieldErrors?: Record<string, string[]> | undefined;
1707
+ requiredActions?: string[] | undefined;
1708
+ evidenceRefs?: string[] | undefined;
1709
+ context?: Record<string, unknown> | undefined;
1710
+ }>>;
1711
+ }, "strict", z.ZodTypeAny, {
1712
+ credentialProfileId: string;
1713
+ availability: "available" | "unavailable" | "unknown";
1714
+ problem: {
1715
+ code: string;
1716
+ message: string;
1717
+ retryable: boolean;
1718
+ fieldErrors: Record<string, string[]>;
1719
+ requiredActions: string[];
1720
+ evidenceRefs: string[];
1721
+ context: Record<string, unknown>;
1722
+ } | null;
1723
+ }, {
1724
+ credentialProfileId: string;
1725
+ availability: "available" | "unavailable" | "unknown";
1726
+ problem: {
1727
+ code: string;
1728
+ message: string;
1729
+ retryable: boolean;
1730
+ fieldErrors?: Record<string, string[]> | undefined;
1731
+ requiredActions?: string[] | undefined;
1732
+ evidenceRefs?: string[] | undefined;
1733
+ context?: Record<string, unknown> | undefined;
1734
+ } | null;
1735
+ }>;
1736
+ export type AccountCatalogAvailability = z.infer<typeof AccountCatalogAvailability>;
1737
+ export declare const ControlModelAccountCatalogResponse: z.ZodObject<{
1738
+ source: z.ZodString;
1739
+ accounts: z.ZodArray<z.ZodObject<{
1740
+ credentialProfileId: z.ZodString;
1741
+ availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
1742
+ problem: z.ZodNullable<z.ZodObject<{
1743
+ code: z.ZodString;
1744
+ message: z.ZodString;
1745
+ retryable: z.ZodBoolean;
1746
+ fieldErrors: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
1747
+ requiredActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1748
+ evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
1749
+ context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
1750
+ }, "strict", z.ZodTypeAny, {
1751
+ code: string;
1752
+ message: string;
1753
+ retryable: boolean;
1754
+ fieldErrors: Record<string, string[]>;
1755
+ requiredActions: string[];
1756
+ evidenceRefs: string[];
1757
+ context: Record<string, unknown>;
1758
+ }, {
1759
+ code: string;
1760
+ message: string;
1761
+ retryable: boolean;
1762
+ fieldErrors?: Record<string, string[]> | undefined;
1763
+ requiredActions?: string[] | undefined;
1764
+ evidenceRefs?: string[] | undefined;
1765
+ context?: Record<string, unknown> | undefined;
1766
+ }>>;
1767
+ } & {
1768
+ catalog: z.ZodNullable<z.ZodObject<{
1769
+ source: z.ZodString;
1770
+ credentialProfileId: z.ZodString;
1771
+ accountFingerprint: z.ZodNullable<z.ZodString>;
1772
+ observedAt: z.ZodString;
1773
+ provenance: z.ZodString;
1774
+ models: z.ZodArray<z.ZodObject<{
1775
+ id: z.ZodString;
1776
+ label: z.ZodNullable<z.ZodString>;
1777
+ isDefault: z.ZodBoolean;
1778
+ contextWindow: z.ZodNullable<z.ZodNumber>;
1779
+ maxContextWindow: z.ZodNullable<z.ZodNumber>;
1780
+ maxOutputTokens: z.ZodNullable<z.ZodNumber>;
1781
+ inputModalities: z.ZodArray<z.ZodString, "many">;
1782
+ reasoningEfforts: z.ZodArray<z.ZodString, "many">;
1783
+ defaultReasoningEffort: z.ZodNullable<z.ZodString>;
1784
+ supportedOptions: z.ZodArray<z.ZodString, "many">;
1785
+ processing: z.ZodOptional<z.ZodObject<{
1786
+ modes: z.ZodNullable<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
1787
+ nativeModes: z.ZodArray<z.ZodObject<{
1788
+ mode: z.ZodEnum<["standard", "fast", "economy"]>;
1789
+ id: z.ZodString;
1790
+ }, "strict", z.ZodTypeAny, {
1791
+ mode: "economy" | "fast" | "standard";
1792
+ id: string;
1793
+ }, {
1794
+ mode: "economy" | "fast" | "standard";
1795
+ id: string;
1796
+ }>, "many">;
1797
+ defaultNativeMode: z.ZodNullable<z.ZodString>;
1798
+ eligible: z.ZodNullable<z.ZodBoolean>;
1799
+ source: z.ZodString;
1800
+ observedAt: z.ZodNullable<z.ZodString>;
1801
+ }, "strict", z.ZodTypeAny, {
1802
+ modes: ("economy" | "fast" | "standard")[] | null;
1803
+ nativeModes: {
1804
+ mode: "economy" | "fast" | "standard";
1805
+ id: string;
1806
+ }[];
1807
+ defaultNativeMode: string | null;
1808
+ eligible: boolean | null;
1809
+ source: string;
1810
+ observedAt: string | null;
1811
+ }, {
1812
+ modes: ("economy" | "fast" | "standard")[] | null;
1813
+ nativeModes: {
1814
+ mode: "economy" | "fast" | "standard";
1815
+ id: string;
1816
+ }[];
1817
+ defaultNativeMode: string | null;
1818
+ eligible: boolean | null;
1819
+ source: string;
1820
+ observedAt: string | null;
1821
+ }>>;
1822
+ }, "strict", z.ZodTypeAny, {
1823
+ id: string;
1824
+ label: string | null;
1825
+ isDefault: boolean;
1826
+ contextWindow: number | null;
1827
+ maxContextWindow: number | null;
1828
+ maxOutputTokens: number | null;
1829
+ inputModalities: string[];
1830
+ reasoningEfforts: string[];
1831
+ defaultReasoningEffort: string | null;
1832
+ supportedOptions: string[];
1833
+ processing?: {
1834
+ modes: ("economy" | "fast" | "standard")[] | null;
1835
+ nativeModes: {
1836
+ mode: "economy" | "fast" | "standard";
1837
+ id: string;
1838
+ }[];
1839
+ defaultNativeMode: string | null;
1840
+ eligible: boolean | null;
1841
+ source: string;
1842
+ observedAt: string | null;
1843
+ } | undefined;
1844
+ }, {
1845
+ id: string;
1846
+ label: string | null;
1847
+ isDefault: boolean;
1848
+ contextWindow: number | null;
1849
+ maxContextWindow: number | null;
1850
+ maxOutputTokens: number | null;
1851
+ inputModalities: string[];
1852
+ reasoningEfforts: string[];
1853
+ defaultReasoningEffort: string | null;
1854
+ supportedOptions: string[];
1855
+ processing?: {
1856
+ modes: ("economy" | "fast" | "standard")[] | null;
1857
+ nativeModes: {
1858
+ mode: "economy" | "fast" | "standard";
1859
+ id: string;
1860
+ }[];
1861
+ defaultNativeMode: string | null;
1862
+ eligible: boolean | null;
1863
+ source: string;
1864
+ observedAt: string | null;
1865
+ } | undefined;
1866
+ }>, "many">;
1867
+ }, "strict", z.ZodTypeAny, {
1868
+ source: string;
1869
+ credentialProfileId: string;
1870
+ accountFingerprint: string | null;
1871
+ observedAt: string;
1872
+ provenance: string;
1873
+ models: {
1874
+ id: string;
1875
+ label: string | null;
1876
+ isDefault: boolean;
1877
+ contextWindow: number | null;
1878
+ maxContextWindow: number | null;
1879
+ maxOutputTokens: number | null;
1880
+ inputModalities: string[];
1881
+ reasoningEfforts: string[];
1882
+ defaultReasoningEffort: string | null;
1883
+ supportedOptions: string[];
1884
+ processing?: {
1885
+ modes: ("economy" | "fast" | "standard")[] | null;
1886
+ nativeModes: {
1887
+ mode: "economy" | "fast" | "standard";
1888
+ id: string;
1889
+ }[];
1890
+ defaultNativeMode: string | null;
1891
+ eligible: boolean | null;
1892
+ source: string;
1893
+ observedAt: string | null;
1894
+ } | undefined;
1895
+ }[];
1896
+ }, {
1897
+ source: string;
1898
+ credentialProfileId: string;
1899
+ accountFingerprint: string | null;
1900
+ observedAt: string;
1901
+ provenance: string;
1902
+ models: {
1903
+ id: string;
1904
+ label: string | null;
1905
+ isDefault: boolean;
1906
+ contextWindow: number | null;
1907
+ maxContextWindow: number | null;
1908
+ maxOutputTokens: number | null;
1909
+ inputModalities: string[];
1910
+ reasoningEfforts: string[];
1911
+ defaultReasoningEffort: string | null;
1912
+ supportedOptions: string[];
1913
+ processing?: {
1914
+ modes: ("economy" | "fast" | "standard")[] | null;
1915
+ nativeModes: {
1916
+ mode: "economy" | "fast" | "standard";
1917
+ id: string;
1918
+ }[];
1919
+ defaultNativeMode: string | null;
1920
+ eligible: boolean | null;
1921
+ source: string;
1922
+ observedAt: string | null;
1923
+ } | undefined;
1924
+ }[];
1925
+ }>>;
1926
+ }, "strict", z.ZodTypeAny, {
1927
+ credentialProfileId: string;
1928
+ availability: "available" | "unavailable" | "unknown";
1929
+ problem: {
1930
+ code: string;
1931
+ message: string;
1932
+ retryable: boolean;
1933
+ fieldErrors: Record<string, string[]>;
1934
+ requiredActions: string[];
1935
+ evidenceRefs: string[];
1936
+ context: Record<string, unknown>;
1937
+ } | null;
1938
+ catalog: {
1939
+ source: string;
1940
+ credentialProfileId: string;
1941
+ accountFingerprint: string | null;
1942
+ observedAt: string;
1943
+ provenance: string;
1944
+ models: {
1945
+ id: string;
1946
+ label: string | null;
1947
+ isDefault: boolean;
1948
+ contextWindow: number | null;
1949
+ maxContextWindow: number | null;
1950
+ maxOutputTokens: number | null;
1951
+ inputModalities: string[];
1952
+ reasoningEfforts: string[];
1953
+ defaultReasoningEffort: string | null;
1954
+ supportedOptions: string[];
1955
+ processing?: {
1956
+ modes: ("economy" | "fast" | "standard")[] | null;
1957
+ nativeModes: {
1958
+ mode: "economy" | "fast" | "standard";
1959
+ id: string;
1960
+ }[];
1961
+ defaultNativeMode: string | null;
1962
+ eligible: boolean | null;
1963
+ source: string;
1964
+ observedAt: string | null;
1965
+ } | undefined;
1966
+ }[];
1967
+ } | null;
1968
+ }, {
1969
+ credentialProfileId: string;
1970
+ availability: "available" | "unavailable" | "unknown";
1971
+ problem: {
1972
+ code: string;
1973
+ message: string;
1974
+ retryable: boolean;
1975
+ fieldErrors?: Record<string, string[]> | undefined;
1976
+ requiredActions?: string[] | undefined;
1977
+ evidenceRefs?: string[] | undefined;
1978
+ context?: Record<string, unknown> | undefined;
1979
+ } | null;
1980
+ catalog: {
1981
+ source: string;
1982
+ credentialProfileId: string;
1983
+ accountFingerprint: string | null;
1984
+ observedAt: string;
1985
+ provenance: string;
1986
+ models: {
1987
+ id: string;
1988
+ label: string | null;
1989
+ isDefault: boolean;
1990
+ contextWindow: number | null;
1991
+ maxContextWindow: number | null;
1992
+ maxOutputTokens: number | null;
1993
+ inputModalities: string[];
1994
+ reasoningEfforts: string[];
1995
+ defaultReasoningEffort: string | null;
1996
+ supportedOptions: string[];
1997
+ processing?: {
1998
+ modes: ("economy" | "fast" | "standard")[] | null;
1999
+ nativeModes: {
2000
+ mode: "economy" | "fast" | "standard";
2001
+ id: string;
2002
+ }[];
2003
+ defaultNativeMode: string | null;
2004
+ eligible: boolean | null;
2005
+ source: string;
2006
+ observedAt: string | null;
2007
+ } | undefined;
2008
+ }[];
2009
+ } | null;
2010
+ }>, "many">;
2011
+ partial: z.ZodBoolean;
2012
+ }, "strict", z.ZodTypeAny, {
2013
+ source: string;
2014
+ accounts: {
2015
+ credentialProfileId: string;
2016
+ availability: "available" | "unavailable" | "unknown";
2017
+ problem: {
2018
+ code: string;
2019
+ message: string;
2020
+ retryable: boolean;
2021
+ fieldErrors: Record<string, string[]>;
2022
+ requiredActions: string[];
2023
+ evidenceRefs: string[];
2024
+ context: Record<string, unknown>;
2025
+ } | null;
2026
+ catalog: {
2027
+ source: string;
2028
+ credentialProfileId: string;
2029
+ accountFingerprint: string | null;
2030
+ observedAt: string;
2031
+ provenance: string;
2032
+ models: {
2033
+ id: string;
2034
+ label: string | null;
2035
+ isDefault: boolean;
2036
+ contextWindow: number | null;
2037
+ maxContextWindow: number | null;
2038
+ maxOutputTokens: number | null;
2039
+ inputModalities: string[];
2040
+ reasoningEfforts: string[];
2041
+ defaultReasoningEffort: string | null;
2042
+ supportedOptions: string[];
2043
+ processing?: {
2044
+ modes: ("economy" | "fast" | "standard")[] | null;
2045
+ nativeModes: {
2046
+ mode: "economy" | "fast" | "standard";
2047
+ id: string;
2048
+ }[];
2049
+ defaultNativeMode: string | null;
2050
+ eligible: boolean | null;
2051
+ source: string;
2052
+ observedAt: string | null;
2053
+ } | undefined;
2054
+ }[];
2055
+ } | null;
2056
+ }[];
2057
+ partial: boolean;
2058
+ }, {
2059
+ source: string;
2060
+ accounts: {
2061
+ credentialProfileId: string;
2062
+ availability: "available" | "unavailable" | "unknown";
2063
+ problem: {
2064
+ code: string;
2065
+ message: string;
2066
+ retryable: boolean;
2067
+ fieldErrors?: Record<string, string[]> | undefined;
2068
+ requiredActions?: string[] | undefined;
2069
+ evidenceRefs?: string[] | undefined;
2070
+ context?: Record<string, unknown> | undefined;
2071
+ } | null;
2072
+ catalog: {
2073
+ source: string;
2074
+ credentialProfileId: string;
2075
+ accountFingerprint: string | null;
2076
+ observedAt: string;
2077
+ provenance: string;
2078
+ models: {
2079
+ id: string;
2080
+ label: string | null;
2081
+ isDefault: boolean;
2082
+ contextWindow: number | null;
2083
+ maxContextWindow: number | null;
2084
+ maxOutputTokens: number | null;
2085
+ inputModalities: string[];
2086
+ reasoningEfforts: string[];
2087
+ defaultReasoningEffort: string | null;
2088
+ supportedOptions: string[];
2089
+ processing?: {
2090
+ modes: ("economy" | "fast" | "standard")[] | null;
2091
+ nativeModes: {
2092
+ mode: "economy" | "fast" | "standard";
2093
+ id: string;
2094
+ }[];
2095
+ defaultNativeMode: string | null;
2096
+ eligible: boolean | null;
2097
+ source: string;
2098
+ observedAt: string | null;
2099
+ } | undefined;
2100
+ }[];
2101
+ } | null;
2102
+ }[];
2103
+ partial: boolean;
2104
+ }>;
2105
+ export type ControlModelAccountCatalogResponse = z.infer<typeof ControlModelAccountCatalogResponse>;
2106
+ export declare const ControlModelCatalogQueryResponse: z.ZodUnion<[z.ZodObject<{
2107
+ source: z.ZodString;
2108
+ credentialProfileId: z.ZodString;
2109
+ accountFingerprint: z.ZodNullable<z.ZodString>;
2110
+ observedAt: z.ZodString;
2111
+ provenance: z.ZodString;
2112
+ models: z.ZodArray<z.ZodObject<{
2113
+ id: z.ZodString;
2114
+ label: z.ZodNullable<z.ZodString>;
2115
+ isDefault: z.ZodBoolean;
2116
+ contextWindow: z.ZodNullable<z.ZodNumber>;
2117
+ maxContextWindow: z.ZodNullable<z.ZodNumber>;
2118
+ maxOutputTokens: z.ZodNullable<z.ZodNumber>;
2119
+ inputModalities: z.ZodArray<z.ZodString, "many">;
2120
+ reasoningEfforts: z.ZodArray<z.ZodString, "many">;
2121
+ defaultReasoningEffort: z.ZodNullable<z.ZodString>;
2122
+ supportedOptions: z.ZodArray<z.ZodString, "many">;
2123
+ processing: z.ZodOptional<z.ZodObject<{
2124
+ modes: z.ZodNullable<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
2125
+ nativeModes: z.ZodArray<z.ZodObject<{
2126
+ mode: z.ZodEnum<["standard", "fast", "economy"]>;
2127
+ id: z.ZodString;
2128
+ }, "strict", z.ZodTypeAny, {
2129
+ mode: "economy" | "fast" | "standard";
2130
+ id: string;
2131
+ }, {
2132
+ mode: "economy" | "fast" | "standard";
2133
+ id: string;
2134
+ }>, "many">;
2135
+ defaultNativeMode: z.ZodNullable<z.ZodString>;
2136
+ eligible: z.ZodNullable<z.ZodBoolean>;
2137
+ source: z.ZodString;
2138
+ observedAt: z.ZodNullable<z.ZodString>;
2139
+ }, "strict", z.ZodTypeAny, {
2140
+ modes: ("economy" | "fast" | "standard")[] | null;
2141
+ nativeModes: {
2142
+ mode: "economy" | "fast" | "standard";
2143
+ id: string;
2144
+ }[];
2145
+ defaultNativeMode: string | null;
2146
+ eligible: boolean | null;
2147
+ source: string;
2148
+ observedAt: string | null;
2149
+ }, {
2150
+ modes: ("economy" | "fast" | "standard")[] | null;
2151
+ nativeModes: {
2152
+ mode: "economy" | "fast" | "standard";
2153
+ id: string;
2154
+ }[];
2155
+ defaultNativeMode: string | null;
2156
+ eligible: boolean | null;
2157
+ source: string;
2158
+ observedAt: string | null;
2159
+ }>>;
2160
+ }, "strict", z.ZodTypeAny, {
2161
+ id: string;
2162
+ label: string | null;
2163
+ isDefault: boolean;
2164
+ contextWindow: number | null;
2165
+ maxContextWindow: number | null;
2166
+ maxOutputTokens: number | null;
2167
+ inputModalities: string[];
2168
+ reasoningEfforts: string[];
2169
+ defaultReasoningEffort: string | null;
2170
+ supportedOptions: string[];
2171
+ processing?: {
2172
+ modes: ("economy" | "fast" | "standard")[] | null;
2173
+ nativeModes: {
2174
+ mode: "economy" | "fast" | "standard";
2175
+ id: string;
2176
+ }[];
2177
+ defaultNativeMode: string | null;
2178
+ eligible: boolean | null;
2179
+ source: string;
2180
+ observedAt: string | null;
2181
+ } | undefined;
2182
+ }, {
2183
+ id: string;
2184
+ label: string | null;
2185
+ isDefault: boolean;
2186
+ contextWindow: number | null;
2187
+ maxContextWindow: number | null;
2188
+ maxOutputTokens: number | null;
2189
+ inputModalities: string[];
2190
+ reasoningEfforts: string[];
2191
+ defaultReasoningEffort: string | null;
2192
+ supportedOptions: string[];
2193
+ processing?: {
2194
+ modes: ("economy" | "fast" | "standard")[] | null;
2195
+ nativeModes: {
2196
+ mode: "economy" | "fast" | "standard";
2197
+ id: string;
2198
+ }[];
2199
+ defaultNativeMode: string | null;
2200
+ eligible: boolean | null;
2201
+ source: string;
2202
+ observedAt: string | null;
2203
+ } | undefined;
2204
+ }>, "many">;
2205
+ }, "strict", z.ZodTypeAny, {
2206
+ source: string;
2207
+ credentialProfileId: string;
2208
+ accountFingerprint: string | null;
2209
+ observedAt: string;
2210
+ provenance: string;
2211
+ models: {
2212
+ id: string;
2213
+ label: string | null;
2214
+ isDefault: boolean;
2215
+ contextWindow: number | null;
2216
+ maxContextWindow: number | null;
2217
+ maxOutputTokens: number | null;
2218
+ inputModalities: string[];
2219
+ reasoningEfforts: string[];
2220
+ defaultReasoningEffort: string | null;
2221
+ supportedOptions: string[];
2222
+ processing?: {
2223
+ modes: ("economy" | "fast" | "standard")[] | null;
2224
+ nativeModes: {
2225
+ mode: "economy" | "fast" | "standard";
2226
+ id: string;
2227
+ }[];
2228
+ defaultNativeMode: string | null;
2229
+ eligible: boolean | null;
2230
+ source: string;
2231
+ observedAt: string | null;
2232
+ } | undefined;
2233
+ }[];
2234
+ }, {
2235
+ source: string;
2236
+ credentialProfileId: string;
2237
+ accountFingerprint: string | null;
2238
+ observedAt: string;
2239
+ provenance: string;
2240
+ models: {
2241
+ id: string;
2242
+ label: string | null;
2243
+ isDefault: boolean;
2244
+ contextWindow: number | null;
2245
+ maxContextWindow: number | null;
2246
+ maxOutputTokens: number | null;
2247
+ inputModalities: string[];
2248
+ reasoningEfforts: string[];
2249
+ defaultReasoningEffort: string | null;
2250
+ supportedOptions: string[];
2251
+ processing?: {
2252
+ modes: ("economy" | "fast" | "standard")[] | null;
2253
+ nativeModes: {
2254
+ mode: "economy" | "fast" | "standard";
2255
+ id: string;
2256
+ }[];
2257
+ defaultNativeMode: string | null;
2258
+ eligible: boolean | null;
2259
+ source: string;
2260
+ observedAt: string | null;
2261
+ } | undefined;
2262
+ }[];
2263
+ }>, z.ZodObject<{
2264
+ source: z.ZodString;
2265
+ accounts: z.ZodArray<z.ZodObject<{
2266
+ credentialProfileId: z.ZodString;
2267
+ availability: z.ZodEnum<["available", "unavailable", "unknown"]>;
2268
+ problem: z.ZodNullable<z.ZodObject<{
2269
+ code: z.ZodString;
2270
+ message: z.ZodString;
2271
+ retryable: z.ZodBoolean;
2272
+ fieldErrors: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString, "many">>>;
2273
+ requiredActions: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2274
+ evidenceRefs: z.ZodDefault<z.ZodArray<z.ZodString, "many">>;
2275
+ context: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
2276
+ }, "strict", z.ZodTypeAny, {
2277
+ code: string;
2278
+ message: string;
2279
+ retryable: boolean;
2280
+ fieldErrors: Record<string, string[]>;
2281
+ requiredActions: string[];
2282
+ evidenceRefs: string[];
2283
+ context: Record<string, unknown>;
2284
+ }, {
2285
+ code: string;
2286
+ message: string;
2287
+ retryable: boolean;
2288
+ fieldErrors?: Record<string, string[]> | undefined;
2289
+ requiredActions?: string[] | undefined;
2290
+ evidenceRefs?: string[] | undefined;
2291
+ context?: Record<string, unknown> | undefined;
2292
+ }>>;
2293
+ } & {
2294
+ catalog: z.ZodNullable<z.ZodObject<{
2295
+ source: z.ZodString;
2296
+ credentialProfileId: z.ZodString;
2297
+ accountFingerprint: z.ZodNullable<z.ZodString>;
2298
+ observedAt: z.ZodString;
2299
+ provenance: z.ZodString;
2300
+ models: z.ZodArray<z.ZodObject<{
2301
+ id: z.ZodString;
2302
+ label: z.ZodNullable<z.ZodString>;
2303
+ isDefault: z.ZodBoolean;
2304
+ contextWindow: z.ZodNullable<z.ZodNumber>;
2305
+ maxContextWindow: z.ZodNullable<z.ZodNumber>;
2306
+ maxOutputTokens: z.ZodNullable<z.ZodNumber>;
2307
+ inputModalities: z.ZodArray<z.ZodString, "many">;
2308
+ reasoningEfforts: z.ZodArray<z.ZodString, "many">;
2309
+ defaultReasoningEffort: z.ZodNullable<z.ZodString>;
2310
+ supportedOptions: z.ZodArray<z.ZodString, "many">;
2311
+ processing: z.ZodOptional<z.ZodObject<{
2312
+ modes: z.ZodNullable<z.ZodArray<z.ZodEnum<["standard", "fast", "economy"]>, "many">>;
2313
+ nativeModes: z.ZodArray<z.ZodObject<{
2314
+ mode: z.ZodEnum<["standard", "fast", "economy"]>;
2315
+ id: z.ZodString;
2316
+ }, "strict", z.ZodTypeAny, {
2317
+ mode: "economy" | "fast" | "standard";
2318
+ id: string;
2319
+ }, {
2320
+ mode: "economy" | "fast" | "standard";
2321
+ id: string;
2322
+ }>, "many">;
2323
+ defaultNativeMode: z.ZodNullable<z.ZodString>;
2324
+ eligible: z.ZodNullable<z.ZodBoolean>;
2325
+ source: z.ZodString;
2326
+ observedAt: z.ZodNullable<z.ZodString>;
2327
+ }, "strict", z.ZodTypeAny, {
2328
+ modes: ("economy" | "fast" | "standard")[] | null;
2329
+ nativeModes: {
2330
+ mode: "economy" | "fast" | "standard";
2331
+ id: string;
2332
+ }[];
2333
+ defaultNativeMode: string | null;
2334
+ eligible: boolean | null;
2335
+ source: string;
2336
+ observedAt: string | null;
2337
+ }, {
2338
+ modes: ("economy" | "fast" | "standard")[] | null;
2339
+ nativeModes: {
2340
+ mode: "economy" | "fast" | "standard";
2341
+ id: string;
2342
+ }[];
2343
+ defaultNativeMode: string | null;
2344
+ eligible: boolean | null;
2345
+ source: string;
2346
+ observedAt: string | null;
2347
+ }>>;
2348
+ }, "strict", z.ZodTypeAny, {
2349
+ id: string;
2350
+ label: string | null;
2351
+ isDefault: boolean;
2352
+ contextWindow: number | null;
2353
+ maxContextWindow: number | null;
2354
+ maxOutputTokens: number | null;
2355
+ inputModalities: string[];
2356
+ reasoningEfforts: string[];
2357
+ defaultReasoningEffort: string | null;
2358
+ supportedOptions: string[];
2359
+ processing?: {
2360
+ modes: ("economy" | "fast" | "standard")[] | null;
2361
+ nativeModes: {
2362
+ mode: "economy" | "fast" | "standard";
2363
+ id: string;
2364
+ }[];
2365
+ defaultNativeMode: string | null;
2366
+ eligible: boolean | null;
2367
+ source: string;
2368
+ observedAt: string | null;
2369
+ } | undefined;
2370
+ }, {
2371
+ id: string;
2372
+ label: string | null;
2373
+ isDefault: boolean;
2374
+ contextWindow: number | null;
2375
+ maxContextWindow: number | null;
2376
+ maxOutputTokens: number | null;
2377
+ inputModalities: string[];
2378
+ reasoningEfforts: string[];
2379
+ defaultReasoningEffort: string | null;
2380
+ supportedOptions: string[];
2381
+ processing?: {
2382
+ modes: ("economy" | "fast" | "standard")[] | null;
2383
+ nativeModes: {
2384
+ mode: "economy" | "fast" | "standard";
2385
+ id: string;
2386
+ }[];
2387
+ defaultNativeMode: string | null;
2388
+ eligible: boolean | null;
2389
+ source: string;
2390
+ observedAt: string | null;
2391
+ } | undefined;
2392
+ }>, "many">;
2393
+ }, "strict", z.ZodTypeAny, {
2394
+ source: string;
2395
+ credentialProfileId: string;
2396
+ accountFingerprint: string | null;
2397
+ observedAt: string;
2398
+ provenance: string;
2399
+ models: {
2400
+ id: string;
2401
+ label: string | null;
2402
+ isDefault: boolean;
2403
+ contextWindow: number | null;
2404
+ maxContextWindow: number | null;
2405
+ maxOutputTokens: number | null;
2406
+ inputModalities: string[];
2407
+ reasoningEfforts: string[];
2408
+ defaultReasoningEffort: string | null;
2409
+ supportedOptions: string[];
2410
+ processing?: {
2411
+ modes: ("economy" | "fast" | "standard")[] | null;
2412
+ nativeModes: {
2413
+ mode: "economy" | "fast" | "standard";
2414
+ id: string;
2415
+ }[];
2416
+ defaultNativeMode: string | null;
2417
+ eligible: boolean | null;
2418
+ source: string;
2419
+ observedAt: string | null;
2420
+ } | undefined;
2421
+ }[];
2422
+ }, {
2423
+ source: string;
2424
+ credentialProfileId: string;
2425
+ accountFingerprint: string | null;
2426
+ observedAt: string;
2427
+ provenance: string;
2428
+ models: {
2429
+ id: string;
2430
+ label: string | null;
2431
+ isDefault: boolean;
2432
+ contextWindow: number | null;
2433
+ maxContextWindow: number | null;
2434
+ maxOutputTokens: number | null;
2435
+ inputModalities: string[];
2436
+ reasoningEfforts: string[];
2437
+ defaultReasoningEffort: string | null;
2438
+ supportedOptions: string[];
2439
+ processing?: {
2440
+ modes: ("economy" | "fast" | "standard")[] | null;
2441
+ nativeModes: {
2442
+ mode: "economy" | "fast" | "standard";
2443
+ id: string;
2444
+ }[];
2445
+ defaultNativeMode: string | null;
2446
+ eligible: boolean | null;
2447
+ source: string;
2448
+ observedAt: string | null;
2449
+ } | undefined;
2450
+ }[];
2451
+ }>>;
2452
+ }, "strict", z.ZodTypeAny, {
2453
+ credentialProfileId: string;
2454
+ availability: "available" | "unavailable" | "unknown";
2455
+ problem: {
2456
+ code: string;
2457
+ message: string;
2458
+ retryable: boolean;
2459
+ fieldErrors: Record<string, string[]>;
2460
+ requiredActions: string[];
2461
+ evidenceRefs: string[];
2462
+ context: Record<string, unknown>;
2463
+ } | null;
2464
+ catalog: {
2465
+ source: string;
2466
+ credentialProfileId: string;
2467
+ accountFingerprint: string | null;
2468
+ observedAt: string;
2469
+ provenance: string;
2470
+ models: {
2471
+ id: string;
2472
+ label: string | null;
2473
+ isDefault: boolean;
2474
+ contextWindow: number | null;
2475
+ maxContextWindow: number | null;
2476
+ maxOutputTokens: number | null;
2477
+ inputModalities: string[];
2478
+ reasoningEfforts: string[];
2479
+ defaultReasoningEffort: string | null;
2480
+ supportedOptions: string[];
2481
+ processing?: {
2482
+ modes: ("economy" | "fast" | "standard")[] | null;
2483
+ nativeModes: {
2484
+ mode: "economy" | "fast" | "standard";
2485
+ id: string;
2486
+ }[];
2487
+ defaultNativeMode: string | null;
2488
+ eligible: boolean | null;
2489
+ source: string;
2490
+ observedAt: string | null;
2491
+ } | undefined;
2492
+ }[];
2493
+ } | null;
2494
+ }, {
2495
+ credentialProfileId: string;
2496
+ availability: "available" | "unavailable" | "unknown";
2497
+ problem: {
2498
+ code: string;
2499
+ message: string;
2500
+ retryable: boolean;
2501
+ fieldErrors?: Record<string, string[]> | undefined;
2502
+ requiredActions?: string[] | undefined;
2503
+ evidenceRefs?: string[] | undefined;
2504
+ context?: Record<string, unknown> | undefined;
2505
+ } | null;
2506
+ catalog: {
2507
+ source: string;
2508
+ credentialProfileId: string;
2509
+ accountFingerprint: string | null;
2510
+ observedAt: string;
2511
+ provenance: string;
2512
+ models: {
2513
+ id: string;
2514
+ label: string | null;
2515
+ isDefault: boolean;
2516
+ contextWindow: number | null;
2517
+ maxContextWindow: number | null;
2518
+ maxOutputTokens: number | null;
2519
+ inputModalities: string[];
2520
+ reasoningEfforts: string[];
2521
+ defaultReasoningEffort: string | null;
2522
+ supportedOptions: string[];
2523
+ processing?: {
2524
+ modes: ("economy" | "fast" | "standard")[] | null;
2525
+ nativeModes: {
2526
+ mode: "economy" | "fast" | "standard";
2527
+ id: string;
2528
+ }[];
2529
+ defaultNativeMode: string | null;
2530
+ eligible: boolean | null;
2531
+ source: string;
2532
+ observedAt: string | null;
2533
+ } | undefined;
2534
+ }[];
2535
+ } | null;
2536
+ }>, "many">;
2537
+ partial: z.ZodBoolean;
2538
+ }, "strict", z.ZodTypeAny, {
2539
+ source: string;
2540
+ accounts: {
2541
+ credentialProfileId: string;
2542
+ availability: "available" | "unavailable" | "unknown";
2543
+ problem: {
2544
+ code: string;
2545
+ message: string;
2546
+ retryable: boolean;
2547
+ fieldErrors: Record<string, string[]>;
2548
+ requiredActions: string[];
2549
+ evidenceRefs: string[];
2550
+ context: Record<string, unknown>;
2551
+ } | null;
2552
+ catalog: {
2553
+ source: string;
2554
+ credentialProfileId: string;
2555
+ accountFingerprint: string | null;
2556
+ observedAt: string;
2557
+ provenance: string;
2558
+ models: {
2559
+ id: string;
2560
+ label: string | null;
2561
+ isDefault: boolean;
2562
+ contextWindow: number | null;
2563
+ maxContextWindow: number | null;
2564
+ maxOutputTokens: number | null;
2565
+ inputModalities: string[];
2566
+ reasoningEfforts: string[];
2567
+ defaultReasoningEffort: string | null;
2568
+ supportedOptions: string[];
2569
+ processing?: {
2570
+ modes: ("economy" | "fast" | "standard")[] | null;
2571
+ nativeModes: {
2572
+ mode: "economy" | "fast" | "standard";
2573
+ id: string;
2574
+ }[];
2575
+ defaultNativeMode: string | null;
2576
+ eligible: boolean | null;
2577
+ source: string;
2578
+ observedAt: string | null;
2579
+ } | undefined;
2580
+ }[];
2581
+ } | null;
2582
+ }[];
2583
+ partial: boolean;
2584
+ }, {
2585
+ source: string;
2586
+ accounts: {
2587
+ credentialProfileId: string;
2588
+ availability: "available" | "unavailable" | "unknown";
2589
+ problem: {
2590
+ code: string;
2591
+ message: string;
2592
+ retryable: boolean;
2593
+ fieldErrors?: Record<string, string[]> | undefined;
2594
+ requiredActions?: string[] | undefined;
2595
+ evidenceRefs?: string[] | undefined;
2596
+ context?: Record<string, unknown> | undefined;
2597
+ } | null;
2598
+ catalog: {
2599
+ source: string;
2600
+ credentialProfileId: string;
2601
+ accountFingerprint: string | null;
2602
+ observedAt: string;
2603
+ provenance: string;
2604
+ models: {
2605
+ id: string;
2606
+ label: string | null;
2607
+ isDefault: boolean;
2608
+ contextWindow: number | null;
2609
+ maxContextWindow: number | null;
2610
+ maxOutputTokens: number | null;
2611
+ inputModalities: string[];
2612
+ reasoningEfforts: string[];
2613
+ defaultReasoningEffort: string | null;
2614
+ supportedOptions: string[];
2615
+ processing?: {
2616
+ modes: ("economy" | "fast" | "standard")[] | null;
2617
+ nativeModes: {
2618
+ mode: "economy" | "fast" | "standard";
2619
+ id: string;
2620
+ }[];
2621
+ defaultNativeMode: string | null;
2622
+ eligible: boolean | null;
2623
+ source: string;
2624
+ observedAt: string | null;
2625
+ } | undefined;
2626
+ }[];
2627
+ } | null;
2628
+ }[];
2629
+ partial: boolean;
2630
+ }>]>;
2631
+ export type ControlModelCatalogQueryResponse = z.infer<typeof ControlModelCatalogQueryResponse>;
1327
2632
  export declare const ModelDispatch: z.ZodObject<{
1328
2633
  state: z.ZodEnum<["not_started", "started", "response_received", "unknown"]>;
1329
2634
  startedAt: z.ZodNullable<z.ZodString>;
@@ -1671,6 +2976,19 @@ export declare const ModelOperationReceipt: z.ZodObject<{
1671
2976
  reasoning_tokens?: number | null | undefined;
1672
2977
  }>;
1673
2978
  cost: z.ZodNullable<z.ZodObject<{
2979
+ processing: z.ZodOptional<z.ZodObject<{
2980
+ nativeMode: z.ZodNullable<z.ZodString>;
2981
+ kind: z.ZodEnum<["included", "paid_credits", "cash", "valuation", "unknown"]>;
2982
+ source: z.ZodString;
2983
+ }, "strict", z.ZodTypeAny, {
2984
+ nativeMode: string | null;
2985
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
2986
+ source: string;
2987
+ }, {
2988
+ nativeMode: string | null;
2989
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
2990
+ source: string;
2991
+ }>>;
1674
2992
  knowledge: z.ZodEnum<["exact", "estimated", "unknown"]>;
1675
2993
  billing: z.ZodEnum<["proven_zero", "subscription_entitlement", "metered", "unknown"]>;
1676
2994
  source: z.ZodString;
@@ -1681,6 +2999,11 @@ export declare const ModelOperationReceipt: z.ZodObject<{
1681
2999
  valuationUsd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
1682
3000
  valuationKnowledge: z.ZodDefault<z.ZodEnum<["exact", "estimated", "unknown"]>>;
1683
3001
  }, "strict", z.ZodTypeAny, {
3002
+ processing?: {
3003
+ nativeMode: string | null;
3004
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
3005
+ source: string;
3006
+ } | undefined;
1684
3007
  knowledge: "estimated" | "exact" | "unknown";
1685
3008
  billing: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
1686
3009
  source: string;
@@ -1690,6 +3013,11 @@ export declare const ModelOperationReceipt: z.ZodObject<{
1690
3013
  valuationUsd: number | null;
1691
3014
  valuationKnowledge: "estimated" | "exact" | "unknown";
1692
3015
  }, {
3016
+ processing?: {
3017
+ nativeMode: string | null;
3018
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
3019
+ source: string;
3020
+ } | undefined;
1693
3021
  knowledge: "estimated" | "exact" | "unknown";
1694
3022
  billing: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
1695
3023
  source: string;
@@ -1772,6 +3100,11 @@ export declare const ModelOperationReceipt: z.ZodObject<{
1772
3100
  reasoning_tokens: number | null;
1773
3101
  };
1774
3102
  cost: {
3103
+ processing?: {
3104
+ nativeMode: string | null;
3105
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
3106
+ source: string;
3107
+ } | undefined;
1775
3108
  knowledge: "estimated" | "exact" | "unknown";
1776
3109
  billing: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
1777
3110
  source: string;
@@ -1838,6 +3171,11 @@ export declare const ModelOperationReceipt: z.ZodObject<{
1838
3171
  reasoning_tokens?: number | null | undefined;
1839
3172
  };
1840
3173
  cost: {
3174
+ processing?: {
3175
+ nativeMode: string | null;
3176
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
3177
+ source: string;
3178
+ } | undefined;
1841
3179
  knowledge: "estimated" | "exact" | "unknown";
1842
3180
  billing: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
1843
3181
  source: string;
@@ -2076,6 +3414,19 @@ export declare const ControlModelOperationDetail: z.ZodObject<{
2076
3414
  reasoning_tokens?: number | null | undefined;
2077
3415
  }>;
2078
3416
  cost: z.ZodNullable<z.ZodObject<{
3417
+ processing: z.ZodOptional<z.ZodObject<{
3418
+ nativeMode: z.ZodNullable<z.ZodString>;
3419
+ kind: z.ZodEnum<["included", "paid_credits", "cash", "valuation", "unknown"]>;
3420
+ source: z.ZodString;
3421
+ }, "strict", z.ZodTypeAny, {
3422
+ nativeMode: string | null;
3423
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
3424
+ source: string;
3425
+ }, {
3426
+ nativeMode: string | null;
3427
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
3428
+ source: string;
3429
+ }>>;
2079
3430
  knowledge: z.ZodEnum<["exact", "estimated", "unknown"]>;
2080
3431
  billing: z.ZodEnum<["proven_zero", "subscription_entitlement", "metered", "unknown"]>;
2081
3432
  source: z.ZodString;
@@ -2086,6 +3437,11 @@ export declare const ControlModelOperationDetail: z.ZodObject<{
2086
3437
  valuationUsd: z.ZodDefault<z.ZodNullable<z.ZodNumber>>;
2087
3438
  valuationKnowledge: z.ZodDefault<z.ZodEnum<["exact", "estimated", "unknown"]>>;
2088
3439
  }, "strict", z.ZodTypeAny, {
3440
+ processing?: {
3441
+ nativeMode: string | null;
3442
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
3443
+ source: string;
3444
+ } | undefined;
2089
3445
  knowledge: "estimated" | "exact" | "unknown";
2090
3446
  billing: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
2091
3447
  source: string;
@@ -2095,6 +3451,11 @@ export declare const ControlModelOperationDetail: z.ZodObject<{
2095
3451
  valuationUsd: number | null;
2096
3452
  valuationKnowledge: "estimated" | "exact" | "unknown";
2097
3453
  }, {
3454
+ processing?: {
3455
+ nativeMode: string | null;
3456
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
3457
+ source: string;
3458
+ } | undefined;
2098
3459
  knowledge: "estimated" | "exact" | "unknown";
2099
3460
  billing: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
2100
3461
  source: string;
@@ -2181,6 +3542,11 @@ export declare const ControlModelOperationDetail: z.ZodObject<{
2181
3542
  reasoning_tokens: number | null;
2182
3543
  };
2183
3544
  cost: {
3545
+ processing?: {
3546
+ nativeMode: string | null;
3547
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
3548
+ source: string;
3549
+ } | undefined;
2184
3550
  knowledge: "estimated" | "exact" | "unknown";
2185
3551
  billing: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
2186
3552
  source: string;
@@ -2251,6 +3617,11 @@ export declare const ControlModelOperationDetail: z.ZodObject<{
2251
3617
  reasoning_tokens?: number | null | undefined;
2252
3618
  };
2253
3619
  cost: {
3620
+ processing?: {
3621
+ nativeMode: string | null;
3622
+ kind: "cash" | "included" | "paid_credits" | "unknown" | "valuation";
3623
+ source: string;
3624
+ } | undefined;
2254
3625
  knowledge: "estimated" | "exact" | "unknown";
2255
3626
  billing: "metered" | "proven_zero" | "subscription_entitlement" | "unknown";
2256
3627
  source: string;