@claudexor/schema 4.8.2 → 5.0.1

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 (190) hide show
  1. package/dist/account-resources.d.ts +325 -56
  2. package/dist/account-resources.d.ts.map +1 -1
  3. package/dist/account-resources.js +35 -5
  4. package/dist/account-resources.js.map +1 -1
  5. package/dist/account-routing-evidence.d.ts +253 -45
  6. package/dist/account-routing-evidence.d.ts.map +1 -1
  7. package/dist/account-target.d.ts +19 -5
  8. package/dist/account-target.d.ts.map +1 -1
  9. package/dist/account-target.js +14 -1
  10. package/dist/account-target.js.map +1 -1
  11. package/dist/agent-capabilities.d.ts +183 -0
  12. package/dist/agent-capabilities.d.ts.map +1 -1
  13. package/dist/agent-capabilities.js +2 -0
  14. package/dist/agent-capabilities.js.map +1 -1
  15. package/dist/budget.d.ts +3 -0
  16. package/dist/budget.d.ts.map +1 -1
  17. package/dist/budget.js +5 -1
  18. package/dist/budget.js.map +1 -1
  19. package/dist/capture-inventory.d.ts +60 -0
  20. package/dist/capture-inventory.d.ts.map +1 -0
  21. package/dist/capture-inventory.js +57 -0
  22. package/dist/capture-inventory.js.map +1 -0
  23. package/dist/control-harness-list.d.ts +102 -18
  24. package/dist/control-harness-list.d.ts.map +1 -1
  25. package/dist/control-harness-models.d.ts +299 -6
  26. package/dist/control-harness-models.d.ts.map +1 -1
  27. package/dist/control-harness-models.js +12 -3
  28. package/dist/control-harness-models.js.map +1 -1
  29. package/dist/control-operation-responses.d.ts +606 -23
  30. package/dist/control-operation-responses.d.ts.map +1 -1
  31. package/dist/control-operation-responses.js +3 -0
  32. package/dist/control-operation-responses.js.map +1 -1
  33. package/dist/control-run-detail.d.ts +1178 -72
  34. package/dist/control-run-detail.d.ts.map +1 -1
  35. package/dist/control-run-event-part.d.ts +3 -3
  36. package/dist/control-run-event-part.js +1 -1
  37. package/dist/control-run-event-part.js.map +1 -1
  38. package/dist/control-run-failure.d.ts +276 -12
  39. package/dist/control-run-failure.d.ts.map +1 -1
  40. package/dist/control-run-failure.js +54 -16
  41. package/dist/control-run-failure.js.map +1 -1
  42. package/dist/control-run-message.js +1 -1
  43. package/dist/control-run-message.js.map +1 -1
  44. package/dist/control-thread-apply.d.ts +165 -0
  45. package/dist/control-thread-apply.d.ts.map +1 -1
  46. package/dist/control-timeline.d.ts.map +1 -1
  47. package/dist/control-timeline.js +7 -3
  48. package/dist/control-timeline.js.map +1 -1
  49. package/dist/control.d.ts +383 -42
  50. package/dist/control.d.ts.map +1 -1
  51. package/dist/control.js +9 -5
  52. package/dist/control.js.map +1 -1
  53. package/dist/credential-profile-snapshot.d.ts +506 -90
  54. package/dist/credential-profile-snapshot.d.ts.map +1 -1
  55. package/dist/decision.d.ts +9 -9
  56. package/dist/decision.d.ts.map +1 -1
  57. package/dist/decision.js +4 -0
  58. package/dist/decision.js.map +1 -1
  59. package/dist/delivery.d.ts +162 -0
  60. package/dist/delivery.d.ts.map +1 -1
  61. package/dist/delivery.js +32 -0
  62. package/dist/delivery.js.map +1 -1
  63. package/dist/events.d.ts +7 -6
  64. package/dist/events.d.ts.map +1 -1
  65. package/dist/events.js +10 -8
  66. package/dist/events.js.map +1 -1
  67. package/dist/git-result.d.ts +99 -0
  68. package/dist/git-result.d.ts.map +1 -0
  69. package/dist/git-result.js +80 -0
  70. package/dist/git-result.js.map +1 -0
  71. package/dist/harness-model.d.ts +89 -0
  72. package/dist/harness-model.d.ts.map +1 -1
  73. package/dist/harness-model.js +83 -0
  74. package/dist/harness-model.js.map +1 -1
  75. package/dist/harness.d.ts +353 -35
  76. package/dist/harness.d.ts.map +1 -1
  77. package/dist/harness.js +4 -19
  78. package/dist/harness.js.map +1 -1
  79. package/dist/index.d.ts +4 -0
  80. package/dist/index.d.ts.map +1 -1
  81. package/dist/index.js +4 -0
  82. package/dist/index.js.map +1 -1
  83. package/dist/mcp-run-result.d.ts +620 -51
  84. package/dist/mcp-run-result.d.ts.map +1 -1
  85. package/dist/mcp-run-result.js +45 -5
  86. package/dist/mcp-run-result.js.map +1 -1
  87. package/dist/mcp-run-wait.d.ts +7 -7
  88. package/dist/primitives.d.ts.map +1 -1
  89. package/dist/primitives.js +3 -2
  90. package/dist/primitives.js.map +1 -1
  91. package/dist/project.d.ts +45 -1
  92. package/dist/project.d.ts.map +1 -1
  93. package/dist/project.js +26 -1
  94. package/dist/project.js.map +1 -1
  95. package/dist/quota-read.d.ts +6 -3
  96. package/dist/quota-read.d.ts.map +1 -1
  97. package/dist/quota-read.js +7 -1
  98. package/dist/quota-read.js.map +1 -1
  99. package/dist/quota-scope.d.ts +29 -0
  100. package/dist/quota-scope.d.ts.map +1 -0
  101. package/dist/quota-scope.js +95 -0
  102. package/dist/quota-scope.js.map +1 -0
  103. package/dist/rate-limit.d.ts +3 -0
  104. package/dist/rate-limit.d.ts.map +1 -1
  105. package/dist/rate-limit.js +5 -1
  106. package/dist/rate-limit.js.map +1 -1
  107. package/dist/raw.d.ts +223 -1
  108. package/dist/raw.d.ts.map +1 -1
  109. package/dist/raw.js +86 -0
  110. package/dist/raw.js.map +1 -1
  111. package/dist/readiness.d.ts +87 -18
  112. package/dist/readiness.d.ts.map +1 -1
  113. package/dist/readiness.js +7 -6
  114. package/dist/readiness.js.map +1 -1
  115. package/dist/route-health.d.ts +303 -0
  116. package/dist/route-health.d.ts.map +1 -0
  117. package/dist/route-health.js +71 -0
  118. package/dist/route-health.js.map +1 -0
  119. package/dist/run-continuity.d.ts +3 -0
  120. package/dist/run-continuity.d.ts.map +1 -1
  121. package/dist/run-continuity.js +4 -0
  122. package/dist/run-continuity.js.map +1 -1
  123. package/dist/run-facts.d.ts +5 -5
  124. package/dist/run-facts.d.ts.map +1 -1
  125. package/dist/run-facts.js +1 -0
  126. package/dist/run-facts.js.map +1 -1
  127. package/dist/setup-login.d.ts +1 -1
  128. package/dist/setup-login.js +1 -1
  129. package/dist/setup.d.ts +1 -1
  130. package/dist/setup.js +1 -1
  131. package/dist/status-projection.d.ts.map +1 -1
  132. package/dist/status-projection.js +3 -0
  133. package/dist/status-projection.js.map +1 -1
  134. package/dist/telemetry.d.ts +239 -7
  135. package/dist/telemetry.d.ts.map +1 -1
  136. package/dist/telemetry.js +4 -2
  137. package/dist/telemetry.js.map +1 -1
  138. package/dist/thread-history.d.ts +1109 -161
  139. package/dist/thread-history.d.ts.map +1 -1
  140. package/dist/thread-history.js +1 -1
  141. package/dist/thread-history.js.map +1 -1
  142. package/dist/tool-ref.d.ts +94 -3
  143. package/dist/tool-ref.d.ts.map +1 -1
  144. package/dist/tool-ref.js +98 -6
  145. package/dist/tool-ref.js.map +1 -1
  146. package/generated/AgentCapabilityCatalog.schema.json +54 -0
  147. package/generated/BudgetObservation.schema.json +8 -1
  148. package/generated/ControlAccountResetResponse.schema.json +60 -1
  149. package/generated/ControlAccountResourcesFreshnessResponse.schema.json +46 -2
  150. package/generated/ControlAccountResourcesResponse.schema.json +46 -2
  151. package/generated/ControlApplyCheckResponse.schema.json +47 -0
  152. package/generated/ControlCredentialProfilesQueryResponse.schema.json +105 -4
  153. package/generated/ControlCredentialProfilesResourcesResponse.schema.json +105 -4
  154. package/generated/ControlCredentialProfilesSnapshotResponse.schema.json +59 -2
  155. package/generated/ControlDeliveryResponse.schema.json +154 -0
  156. package/generated/ControlHarnessAccountCatalog.schema.json +13 -0
  157. package/generated/ControlHarnessAccountModelsResponse.schema.json +13 -0
  158. package/generated/ControlHarnessListResponse.schema.json +59 -2
  159. package/generated/ControlHarnessModelsQueryResponse.schema.json +97 -51
  160. package/generated/ControlHarnessModelsResponse.schema.json +96 -0
  161. package/generated/ControlProjectRemoveReceipt.schema.json +36 -0
  162. package/generated/ControlQuotaQueryResponse.schema.json +46 -2
  163. package/generated/ControlQuotaReadRequest.schema.json +4 -0
  164. package/generated/ControlQuotaRefreshRequest.schema.json +12 -3
  165. package/generated/ControlRouteHealth.schema.json +202 -0
  166. package/generated/ControlRunDetail.schema.json +344 -5
  167. package/generated/ControlRunEventPart.schema.json +3 -2
  168. package/generated/ControlRunListResponse.schema.json +341 -2
  169. package/generated/ControlRunMessageRequest.schema.json +1 -1
  170. package/generated/ControlRunSummary.schema.json +341 -2
  171. package/generated/ControlThreadApplyResponse.schema.json +154 -0
  172. package/generated/ControlThreadDetail.schema.json +1 -0
  173. package/generated/DecisionRecord.schema.json +1 -0
  174. package/generated/HarnessEvent.schema.json +189 -5
  175. package/generated/HarnessManifest.schema.json +57 -0
  176. package/generated/HarnessModel.schema.json +13 -0
  177. package/generated/HarnessStatusDto.schema.json +59 -2
  178. package/generated/JournaledRunCreatedPayload.schema.json +2 -2
  179. package/generated/McpAccountsToolResult.schema.json +105 -4
  180. package/generated/McpRunHandleResult.schema.json +279 -2
  181. package/generated/McpRunToolResult.schema.json +269 -0
  182. package/generated/McpRunWaitResult.schema.json +2 -1
  183. package/generated/RawContextPacket.schema.json +98 -0
  184. package/generated/RunContinuityReceipt.schema.json +8 -0
  185. package/generated/RunEvent.schema.json +2 -1
  186. package/generated/RunFacts.schema.json +1 -0
  187. package/generated/RunFailure.schema.json +201 -0
  188. package/generated/RunTelemetry.schema.json +123 -2
  189. package/generated/ThreadHistoryPage.schema.json +203 -1
  190. package/package.json +2 -2
@@ -1,5 +1,5 @@
1
1
  import { z } from "zod/v3";
2
- export { AccountTarget } from "./account-target.js";
2
+ export { AccountResourceTarget, AccountTarget } from "./account-target.js";
3
3
  export declare const resourceFacet: <T extends z.ZodTypeAny>(value: T) => z.ZodObject<{
4
4
  value: z.ZodNullable<T>;
5
5
  source: z.ZodNullable<z.ZodString>;
@@ -101,6 +101,9 @@ export declare const AccountSpending: z.ZodObject<{
101
101
  decimal_places: z.ZodNullable<z.ZodNumber>;
102
102
  resets_at: z.ZodNullable<z.ZodString>;
103
103
  reason: z.ZodNullable<z.ZodString>;
104
+ capped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
105
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodString>>;
106
+ window: z.ZodOptional<z.ZodNullable<z.ZodEnum<["day", "week", "month", "lifetime"]>>>;
104
107
  }, "strict", z.ZodTypeAny, {
105
108
  scope?: "personal" | "team" | undefined;
106
109
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -119,6 +122,9 @@ export declare const AccountSpending: z.ZodObject<{
119
122
  decimal_places: number | null;
120
123
  resets_at: string | null;
121
124
  reason: string | null;
125
+ capped?: boolean | null | undefined;
126
+ remaining?: string | null | undefined;
127
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
122
128
  }, {
123
129
  scope?: "personal" | "team" | undefined;
124
130
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -137,6 +143,9 @@ export declare const AccountSpending: z.ZodObject<{
137
143
  decimal_places: number | null;
138
144
  resets_at: string | null;
139
145
  reason: string | null;
146
+ capped?: boolean | null | undefined;
147
+ remaining?: string | null | undefined;
148
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
140
149
  }>;
141
150
  export type AccountSpending = z.infer<typeof AccountSpending>;
142
151
  export type AccountBalance = z.infer<typeof AccountBalance>;
@@ -262,14 +271,15 @@ export type AccountResetOffer = z.infer<typeof AccountResetOffer>;
262
271
  export declare const AccountResourceSnapshot: z.ZodObject<{
263
272
  target: z.ZodObject<{
264
273
  harness: z.ZodString;
265
- profile_id: z.ZodString;
274
+ profile_id: z.ZodNullable<z.ZodString>;
266
275
  }, "strict", z.ZodTypeAny, {
267
276
  harness: string;
268
- profile_id: string;
277
+ profile_id: string | null;
269
278
  }, {
270
279
  harness: string;
271
- profile_id: string;
280
+ profile_id: string | null;
272
281
  }>;
282
+ credential_fingerprint: z.ZodOptional<z.ZodString>;
273
283
  balances: z.ZodObject<{
274
284
  value: z.ZodNullable<z.ZodArray<z.ZodObject<{
275
285
  scope: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
@@ -403,6 +413,9 @@ export declare const AccountResourceSnapshot: z.ZodObject<{
403
413
  decimal_places: z.ZodNullable<z.ZodNumber>;
404
414
  resets_at: z.ZodNullable<z.ZodString>;
405
415
  reason: z.ZodNullable<z.ZodString>;
416
+ capped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
417
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodString>>;
418
+ window: z.ZodOptional<z.ZodNullable<z.ZodEnum<["day", "week", "month", "lifetime"]>>>;
406
419
  }, "strict", z.ZodTypeAny, {
407
420
  scope?: "personal" | "team" | undefined;
408
421
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -421,6 +434,9 @@ export declare const AccountResourceSnapshot: z.ZodObject<{
421
434
  decimal_places: number | null;
422
435
  resets_at: string | null;
423
436
  reason: string | null;
437
+ capped?: boolean | null | undefined;
438
+ remaining?: string | null | undefined;
439
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
424
440
  }, {
425
441
  scope?: "personal" | "team" | undefined;
426
442
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -439,6 +455,9 @@ export declare const AccountResourceSnapshot: z.ZodObject<{
439
455
  decimal_places: number | null;
440
456
  resets_at: string | null;
441
457
  reason: string | null;
458
+ capped?: boolean | null | undefined;
459
+ remaining?: string | null | undefined;
460
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
442
461
  }>, "many">>;
443
462
  source: z.ZodNullable<z.ZodString>;
444
463
  observed_at: z.ZodNullable<z.ZodString>;
@@ -464,6 +483,9 @@ export declare const AccountResourceSnapshot: z.ZodObject<{
464
483
  decimal_places: number | null;
465
484
  resets_at: string | null;
466
485
  reason: string | null;
486
+ capped?: boolean | null | undefined;
487
+ remaining?: string | null | undefined;
488
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
467
489
  }[] | null;
468
490
  source: string | null;
469
491
  observed_at: string | null;
@@ -489,6 +511,9 @@ export declare const AccountResourceSnapshot: z.ZodObject<{
489
511
  decimal_places: number | null;
490
512
  resets_at: string | null;
491
513
  reason: string | null;
514
+ capped?: boolean | null | undefined;
515
+ remaining?: string | null | undefined;
516
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
492
517
  }[] | null;
493
518
  source: string | null;
494
519
  observed_at: string | null;
@@ -688,8 +713,9 @@ export declare const AccountResourceSnapshot: z.ZodObject<{
688
713
  }, "strict", z.ZodTypeAny, {
689
714
  target: {
690
715
  harness: string;
691
- profile_id: string;
716
+ profile_id: string | null;
692
717
  };
718
+ credential_fingerprint?: string | undefined;
693
719
  balances: {
694
720
  value: {
695
721
  scope?: "personal" | "team" | undefined;
@@ -733,6 +759,9 @@ export declare const AccountResourceSnapshot: z.ZodObject<{
733
759
  decimal_places: number | null;
734
760
  resets_at: string | null;
735
761
  reason: string | null;
762
+ capped?: boolean | null | undefined;
763
+ remaining?: string | null | undefined;
764
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
736
765
  }[] | null;
737
766
  source: string | null;
738
767
  observed_at: string | null;
@@ -784,8 +813,9 @@ export declare const AccountResourceSnapshot: z.ZodObject<{
784
813
  }, {
785
814
  target: {
786
815
  harness: string;
787
- profile_id: string;
816
+ profile_id: string | null;
788
817
  };
818
+ credential_fingerprint?: string | undefined;
789
819
  balances: {
790
820
  value: {
791
821
  scope?: "personal" | "team" | undefined;
@@ -829,6 +859,9 @@ export declare const AccountResourceSnapshot: z.ZodObject<{
829
859
  decimal_places: number | null;
830
860
  resets_at: string | null;
831
861
  reason: string | null;
862
+ capped?: boolean | null | undefined;
863
+ remaining?: string | null | undefined;
864
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
832
865
  }[] | null;
833
866
  source: string | null;
834
867
  observed_at: string | null;
@@ -879,13 +912,25 @@ export declare const AccountResourceSnapshot: z.ZodObject<{
879
912
  };
880
913
  }>;
881
914
  export type AccountResourceSnapshot = z.infer<typeof AccountResourceSnapshot>;
882
- /** Resource-only sources satisfy poll demand, never quota admission. */
915
+ /** Resource-only sources never decide quota admission or routing. An
916
+ * `account` source reads registered login accounts and joins background poll
917
+ * demand; an `api_key` source reads the harness's registered API-key accounts
918
+ * and its default API-key route on explicit refresh only, and its rows reach
919
+ * only clients that negotiated includeApiKeys. */
883
920
  export declare const ACCOUNT_RESOURCE_REFRESH_SOURCES: {
884
921
  readonly cursor_dashboard: {
885
922
  readonly harness: "cursor";
886
923
  readonly facets: readonly ["balances", "spending"];
924
+ readonly credential: "account";
925
+ };
926
+ readonly openrouter_key: {
927
+ readonly harness: "openrouter";
928
+ readonly facets: readonly ["spending"];
929
+ readonly credential: "api_key";
887
930
  };
888
931
  };
932
+ type ResourceSourceCredential = (typeof ACCOUNT_RESOURCE_REFRESH_SOURCES)[keyof typeof ACCOUNT_RESOURCE_REFRESH_SOURCES]["credential"];
933
+ export declare function accountResourceSourceHarnesses(credential: ResourceSourceCredential): Set<string>;
889
934
  export declare const AccountResourceObservation: z.ZodObject<{
890
935
  balances: z.ZodOptional<z.ZodObject<{
891
936
  value: z.ZodNullable<z.ZodArray<z.ZodObject<{
@@ -995,6 +1040,7 @@ export declare const AccountResourceObservation: z.ZodObject<{
995
1040
  last_attempt_at: string | null;
996
1041
  last_error: string | null;
997
1042
  }>>;
1043
+ credential_fingerprint: z.ZodOptional<z.ZodOptional<z.ZodString>>;
998
1044
  diagnostics: z.ZodOptional<z.ZodObject<{
999
1045
  value: z.ZodNullable<z.ZodArray<z.ZodObject<{
1000
1046
  code: z.ZodString;
@@ -1209,6 +1255,9 @@ export declare const AccountResourceObservation: z.ZodObject<{
1209
1255
  decimal_places: z.ZodNullable<z.ZodNumber>;
1210
1256
  resets_at: z.ZodNullable<z.ZodString>;
1211
1257
  reason: z.ZodNullable<z.ZodString>;
1258
+ capped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1259
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1260
+ window: z.ZodOptional<z.ZodNullable<z.ZodEnum<["day", "week", "month", "lifetime"]>>>;
1212
1261
  }, "strict", z.ZodTypeAny, {
1213
1262
  scope?: "personal" | "team" | undefined;
1214
1263
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -1227,6 +1276,9 @@ export declare const AccountResourceObservation: z.ZodObject<{
1227
1276
  decimal_places: number | null;
1228
1277
  resets_at: string | null;
1229
1278
  reason: string | null;
1279
+ capped?: boolean | null | undefined;
1280
+ remaining?: string | null | undefined;
1281
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
1230
1282
  }, {
1231
1283
  scope?: "personal" | "team" | undefined;
1232
1284
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -1245,6 +1297,9 @@ export declare const AccountResourceObservation: z.ZodObject<{
1245
1297
  decimal_places: number | null;
1246
1298
  resets_at: string | null;
1247
1299
  reason: string | null;
1300
+ capped?: boolean | null | undefined;
1301
+ remaining?: string | null | undefined;
1302
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
1248
1303
  }>, "many">>;
1249
1304
  source: z.ZodNullable<z.ZodString>;
1250
1305
  observed_at: z.ZodNullable<z.ZodString>;
@@ -1270,6 +1325,9 @@ export declare const AccountResourceObservation: z.ZodObject<{
1270
1325
  decimal_places: number | null;
1271
1326
  resets_at: string | null;
1272
1327
  reason: string | null;
1328
+ capped?: boolean | null | undefined;
1329
+ remaining?: string | null | undefined;
1330
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
1273
1331
  }[] | null;
1274
1332
  source: string | null;
1275
1333
  observed_at: string | null;
@@ -1295,6 +1353,9 @@ export declare const AccountResourceObservation: z.ZodObject<{
1295
1353
  decimal_places: number | null;
1296
1354
  resets_at: string | null;
1297
1355
  reason: string | null;
1356
+ capped?: boolean | null | undefined;
1357
+ remaining?: string | null | undefined;
1358
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
1298
1359
  }[] | null;
1299
1360
  source: string | null;
1300
1361
  observed_at: string | null;
@@ -1304,13 +1365,13 @@ export declare const AccountResourceObservation: z.ZodObject<{
1304
1365
  }>>;
1305
1366
  target: z.ZodObject<{
1306
1367
  harness: z.ZodString;
1307
- profile_id: z.ZodString;
1368
+ profile_id: z.ZodNullable<z.ZodString>;
1308
1369
  }, "strict", z.ZodTypeAny, {
1309
1370
  harness: string;
1310
- profile_id: string;
1371
+ profile_id: string | null;
1311
1372
  }, {
1312
1373
  harness: string;
1313
- profile_id: string;
1374
+ profile_id: string | null;
1314
1375
  }>;
1315
1376
  } & {
1316
1377
  resets_resolved_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1340,6 +1401,7 @@ export declare const AccountResourceObservation: z.ZodObject<{
1340
1401
  last_attempt_at: string | null;
1341
1402
  last_error: string | null;
1342
1403
  } | undefined;
1404
+ credential_fingerprint?: string | undefined;
1343
1405
  diagnostics?: {
1344
1406
  value: {
1345
1407
  code: string;
@@ -1400,6 +1462,9 @@ export declare const AccountResourceObservation: z.ZodObject<{
1400
1462
  decimal_places: number | null;
1401
1463
  resets_at: string | null;
1402
1464
  reason: string | null;
1465
+ capped?: boolean | null | undefined;
1466
+ remaining?: string | null | undefined;
1467
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
1403
1468
  }[] | null;
1404
1469
  source: string | null;
1405
1470
  observed_at: string | null;
@@ -1409,7 +1474,7 @@ export declare const AccountResourceObservation: z.ZodObject<{
1409
1474
  } | undefined;
1410
1475
  target: {
1411
1476
  harness: string;
1412
- profile_id: string;
1477
+ profile_id: string | null;
1413
1478
  };
1414
1479
  }, {
1415
1480
  resets_resolved_ids?: string[] | undefined;
@@ -1437,6 +1502,7 @@ export declare const AccountResourceObservation: z.ZodObject<{
1437
1502
  last_attempt_at: string | null;
1438
1503
  last_error: string | null;
1439
1504
  } | undefined;
1505
+ credential_fingerprint?: string | undefined;
1440
1506
  diagnostics?: {
1441
1507
  value: {
1442
1508
  code: string;
@@ -1497,6 +1563,9 @@ export declare const AccountResourceObservation: z.ZodObject<{
1497
1563
  decimal_places: number | null;
1498
1564
  resets_at: string | null;
1499
1565
  reason: string | null;
1566
+ capped?: boolean | null | undefined;
1567
+ remaining?: string | null | undefined;
1568
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
1500
1569
  }[] | null;
1501
1570
  source: string | null;
1502
1571
  observed_at: string | null;
@@ -1506,7 +1575,7 @@ export declare const AccountResourceObservation: z.ZodObject<{
1506
1575
  } | undefined;
1507
1576
  target: {
1508
1577
  harness: string;
1509
- profile_id: string;
1578
+ profile_id: string | null;
1510
1579
  };
1511
1580
  }>;
1512
1581
  export type AccountResourceObservation = z.infer<typeof AccountResourceObservation>;
@@ -1649,6 +1718,7 @@ export declare const AccountResourcesObserved: z.ZodObject<{
1649
1718
  last_attempt_at: string | null;
1650
1719
  last_error: string | null;
1651
1720
  }>>;
1721
+ credential_fingerprint: z.ZodOptional<z.ZodOptional<z.ZodString>>;
1652
1722
  diagnostics: z.ZodOptional<z.ZodObject<{
1653
1723
  value: z.ZodNullable<z.ZodArray<z.ZodObject<{
1654
1724
  code: z.ZodString;
@@ -1863,6 +1933,9 @@ export declare const AccountResourcesObserved: z.ZodObject<{
1863
1933
  decimal_places: z.ZodNullable<z.ZodNumber>;
1864
1934
  resets_at: z.ZodNullable<z.ZodString>;
1865
1935
  reason: z.ZodNullable<z.ZodString>;
1936
+ capped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
1937
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1938
+ window: z.ZodOptional<z.ZodNullable<z.ZodEnum<["day", "week", "month", "lifetime"]>>>;
1866
1939
  }, "strict", z.ZodTypeAny, {
1867
1940
  scope?: "personal" | "team" | undefined;
1868
1941
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -1881,6 +1954,9 @@ export declare const AccountResourcesObserved: z.ZodObject<{
1881
1954
  decimal_places: number | null;
1882
1955
  resets_at: string | null;
1883
1956
  reason: string | null;
1957
+ capped?: boolean | null | undefined;
1958
+ remaining?: string | null | undefined;
1959
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
1884
1960
  }, {
1885
1961
  scope?: "personal" | "team" | undefined;
1886
1962
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -1899,6 +1975,9 @@ export declare const AccountResourcesObserved: z.ZodObject<{
1899
1975
  decimal_places: number | null;
1900
1976
  resets_at: string | null;
1901
1977
  reason: string | null;
1978
+ capped?: boolean | null | undefined;
1979
+ remaining?: string | null | undefined;
1980
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
1902
1981
  }>, "many">>;
1903
1982
  source: z.ZodNullable<z.ZodString>;
1904
1983
  observed_at: z.ZodNullable<z.ZodString>;
@@ -1924,6 +2003,9 @@ export declare const AccountResourcesObserved: z.ZodObject<{
1924
2003
  decimal_places: number | null;
1925
2004
  resets_at: string | null;
1926
2005
  reason: string | null;
2006
+ capped?: boolean | null | undefined;
2007
+ remaining?: string | null | undefined;
2008
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
1927
2009
  }[] | null;
1928
2010
  source: string | null;
1929
2011
  observed_at: string | null;
@@ -1949,6 +2031,9 @@ export declare const AccountResourcesObserved: z.ZodObject<{
1949
2031
  decimal_places: number | null;
1950
2032
  resets_at: string | null;
1951
2033
  reason: string | null;
2034
+ capped?: boolean | null | undefined;
2035
+ remaining?: string | null | undefined;
2036
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
1952
2037
  }[] | null;
1953
2038
  source: string | null;
1954
2039
  observed_at: string | null;
@@ -1958,13 +2043,13 @@ export declare const AccountResourcesObserved: z.ZodObject<{
1958
2043
  }>>;
1959
2044
  target: z.ZodObject<{
1960
2045
  harness: z.ZodString;
1961
- profile_id: z.ZodString;
2046
+ profile_id: z.ZodNullable<z.ZodString>;
1962
2047
  }, "strict", z.ZodTypeAny, {
1963
2048
  harness: string;
1964
- profile_id: string;
2049
+ profile_id: string | null;
1965
2050
  }, {
1966
2051
  harness: string;
1967
- profile_id: string;
2052
+ profile_id: string | null;
1968
2053
  }>;
1969
2054
  } & {
1970
2055
  resets_resolved_ids: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
@@ -1994,6 +2079,7 @@ export declare const AccountResourcesObserved: z.ZodObject<{
1994
2079
  last_attempt_at: string | null;
1995
2080
  last_error: string | null;
1996
2081
  } | undefined;
2082
+ credential_fingerprint?: string | undefined;
1997
2083
  diagnostics?: {
1998
2084
  value: {
1999
2085
  code: string;
@@ -2054,6 +2140,9 @@ export declare const AccountResourcesObserved: z.ZodObject<{
2054
2140
  decimal_places: number | null;
2055
2141
  resets_at: string | null;
2056
2142
  reason: string | null;
2143
+ capped?: boolean | null | undefined;
2144
+ remaining?: string | null | undefined;
2145
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
2057
2146
  }[] | null;
2058
2147
  source: string | null;
2059
2148
  observed_at: string | null;
@@ -2063,7 +2152,7 @@ export declare const AccountResourcesObserved: z.ZodObject<{
2063
2152
  } | undefined;
2064
2153
  target: {
2065
2154
  harness: string;
2066
- profile_id: string;
2155
+ profile_id: string | null;
2067
2156
  };
2068
2157
  }, {
2069
2158
  resets_resolved_ids?: string[] | undefined;
@@ -2091,6 +2180,7 @@ export declare const AccountResourcesObserved: z.ZodObject<{
2091
2180
  last_attempt_at: string | null;
2092
2181
  last_error: string | null;
2093
2182
  } | undefined;
2183
+ credential_fingerprint?: string | undefined;
2094
2184
  diagnostics?: {
2095
2185
  value: {
2096
2186
  code: string;
@@ -2151,6 +2241,9 @@ export declare const AccountResourcesObserved: z.ZodObject<{
2151
2241
  decimal_places: number | null;
2152
2242
  resets_at: string | null;
2153
2243
  reason: string | null;
2244
+ capped?: boolean | null | undefined;
2245
+ remaining?: string | null | undefined;
2246
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
2154
2247
  }[] | null;
2155
2248
  source: string | null;
2156
2249
  observed_at: string | null;
@@ -2160,7 +2253,7 @@ export declare const AccountResourcesObserved: z.ZodObject<{
2160
2253
  } | undefined;
2161
2254
  target: {
2162
2255
  harness: string;
2163
- profile_id: string;
2256
+ profile_id: string | null;
2164
2257
  };
2165
2258
  }>;
2166
2259
  }, "strict", z.ZodTypeAny, {
@@ -2191,6 +2284,7 @@ export declare const AccountResourcesObserved: z.ZodObject<{
2191
2284
  last_attempt_at: string | null;
2192
2285
  last_error: string | null;
2193
2286
  } | undefined;
2287
+ credential_fingerprint?: string | undefined;
2194
2288
  diagnostics?: {
2195
2289
  value: {
2196
2290
  code: string;
@@ -2251,6 +2345,9 @@ export declare const AccountResourcesObserved: z.ZodObject<{
2251
2345
  decimal_places: number | null;
2252
2346
  resets_at: string | null;
2253
2347
  reason: string | null;
2348
+ capped?: boolean | null | undefined;
2349
+ remaining?: string | null | undefined;
2350
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
2254
2351
  }[] | null;
2255
2352
  source: string | null;
2256
2353
  observed_at: string | null;
@@ -2260,7 +2357,7 @@ export declare const AccountResourcesObserved: z.ZodObject<{
2260
2357
  } | undefined;
2261
2358
  target: {
2262
2359
  harness: string;
2263
- profile_id: string;
2360
+ profile_id: string | null;
2264
2361
  };
2265
2362
  };
2266
2363
  }, {
@@ -2291,6 +2388,7 @@ export declare const AccountResourcesObserved: z.ZodObject<{
2291
2388
  last_attempt_at: string | null;
2292
2389
  last_error: string | null;
2293
2390
  } | undefined;
2391
+ credential_fingerprint?: string | undefined;
2294
2392
  diagnostics?: {
2295
2393
  value: {
2296
2394
  code: string;
@@ -2351,6 +2449,9 @@ export declare const AccountResourcesObserved: z.ZodObject<{
2351
2449
  decimal_places: number | null;
2352
2450
  resets_at: string | null;
2353
2451
  reason: string | null;
2452
+ capped?: boolean | null | undefined;
2453
+ remaining?: string | null | undefined;
2454
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
2354
2455
  }[] | null;
2355
2456
  source: string | null;
2356
2457
  observed_at: string | null;
@@ -2360,7 +2461,7 @@ export declare const AccountResourcesObserved: z.ZodObject<{
2360
2461
  } | undefined;
2361
2462
  target: {
2362
2463
  harness: string;
2363
- profile_id: string;
2464
+ profile_id: string | null;
2364
2465
  };
2365
2466
  };
2366
2467
  }>;
@@ -2618,14 +2719,15 @@ export declare const ControlAccountResourcesResponse: z.ZodObject<{
2618
2719
  resources: z.ZodArray<z.ZodObject<{
2619
2720
  target: z.ZodObject<{
2620
2721
  harness: z.ZodString;
2621
- profile_id: z.ZodString;
2722
+ profile_id: z.ZodNullable<z.ZodString>;
2622
2723
  }, "strict", z.ZodTypeAny, {
2623
2724
  harness: string;
2624
- profile_id: string;
2725
+ profile_id: string | null;
2625
2726
  }, {
2626
2727
  harness: string;
2627
- profile_id: string;
2728
+ profile_id: string | null;
2628
2729
  }>;
2730
+ credential_fingerprint: z.ZodOptional<z.ZodString>;
2629
2731
  balances: z.ZodObject<{
2630
2732
  value: z.ZodNullable<z.ZodArray<z.ZodObject<{
2631
2733
  scope: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
@@ -2759,6 +2861,9 @@ export declare const ControlAccountResourcesResponse: z.ZodObject<{
2759
2861
  decimal_places: z.ZodNullable<z.ZodNumber>;
2760
2862
  resets_at: z.ZodNullable<z.ZodString>;
2761
2863
  reason: z.ZodNullable<z.ZodString>;
2864
+ capped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
2865
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2866
+ window: z.ZodOptional<z.ZodNullable<z.ZodEnum<["day", "week", "month", "lifetime"]>>>;
2762
2867
  }, "strict", z.ZodTypeAny, {
2763
2868
  scope?: "personal" | "team" | undefined;
2764
2869
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -2777,6 +2882,9 @@ export declare const ControlAccountResourcesResponse: z.ZodObject<{
2777
2882
  decimal_places: number | null;
2778
2883
  resets_at: string | null;
2779
2884
  reason: string | null;
2885
+ capped?: boolean | null | undefined;
2886
+ remaining?: string | null | undefined;
2887
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
2780
2888
  }, {
2781
2889
  scope?: "personal" | "team" | undefined;
2782
2890
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -2795,6 +2903,9 @@ export declare const ControlAccountResourcesResponse: z.ZodObject<{
2795
2903
  decimal_places: number | null;
2796
2904
  resets_at: string | null;
2797
2905
  reason: string | null;
2906
+ capped?: boolean | null | undefined;
2907
+ remaining?: string | null | undefined;
2908
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
2798
2909
  }>, "many">>;
2799
2910
  source: z.ZodNullable<z.ZodString>;
2800
2911
  observed_at: z.ZodNullable<z.ZodString>;
@@ -2820,6 +2931,9 @@ export declare const ControlAccountResourcesResponse: z.ZodObject<{
2820
2931
  decimal_places: number | null;
2821
2932
  resets_at: string | null;
2822
2933
  reason: string | null;
2934
+ capped?: boolean | null | undefined;
2935
+ remaining?: string | null | undefined;
2936
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
2823
2937
  }[] | null;
2824
2938
  source: string | null;
2825
2939
  observed_at: string | null;
@@ -2845,6 +2959,9 @@ export declare const ControlAccountResourcesResponse: z.ZodObject<{
2845
2959
  decimal_places: number | null;
2846
2960
  resets_at: string | null;
2847
2961
  reason: string | null;
2962
+ capped?: boolean | null | undefined;
2963
+ remaining?: string | null | undefined;
2964
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
2848
2965
  }[] | null;
2849
2966
  source: string | null;
2850
2967
  observed_at: string | null;
@@ -3044,8 +3161,9 @@ export declare const ControlAccountResourcesResponse: z.ZodObject<{
3044
3161
  }, "strict", z.ZodTypeAny, {
3045
3162
  target: {
3046
3163
  harness: string;
3047
- profile_id: string;
3164
+ profile_id: string | null;
3048
3165
  };
3166
+ credential_fingerprint?: string | undefined;
3049
3167
  balances: {
3050
3168
  value: {
3051
3169
  scope?: "personal" | "team" | undefined;
@@ -3089,6 +3207,9 @@ export declare const ControlAccountResourcesResponse: z.ZodObject<{
3089
3207
  decimal_places: number | null;
3090
3208
  resets_at: string | null;
3091
3209
  reason: string | null;
3210
+ capped?: boolean | null | undefined;
3211
+ remaining?: string | null | undefined;
3212
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
3092
3213
  }[] | null;
3093
3214
  source: string | null;
3094
3215
  observed_at: string | null;
@@ -3140,8 +3261,9 @@ export declare const ControlAccountResourcesResponse: z.ZodObject<{
3140
3261
  }, {
3141
3262
  target: {
3142
3263
  harness: string;
3143
- profile_id: string;
3264
+ profile_id: string | null;
3144
3265
  };
3266
+ credential_fingerprint?: string | undefined;
3145
3267
  balances: {
3146
3268
  value: {
3147
3269
  scope?: "personal" | "team" | undefined;
@@ -3185,6 +3307,9 @@ export declare const ControlAccountResourcesResponse: z.ZodObject<{
3185
3307
  decimal_places: number | null;
3186
3308
  resets_at: string | null;
3187
3309
  reason: string | null;
3310
+ capped?: boolean | null | undefined;
3311
+ remaining?: string | null | undefined;
3312
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
3188
3313
  }[] | null;
3189
3314
  source: string | null;
3190
3315
  observed_at: string | null;
@@ -3296,8 +3421,9 @@ export declare const ControlAccountResourcesResponse: z.ZodObject<{
3296
3421
  resources: {
3297
3422
  target: {
3298
3423
  harness: string;
3299
- profile_id: string;
3424
+ profile_id: string | null;
3300
3425
  };
3426
+ credential_fingerprint?: string | undefined;
3301
3427
  balances: {
3302
3428
  value: {
3303
3429
  scope?: "personal" | "team" | undefined;
@@ -3341,6 +3467,9 @@ export declare const ControlAccountResourcesResponse: z.ZodObject<{
3341
3467
  decimal_places: number | null;
3342
3468
  resets_at: string | null;
3343
3469
  reason: string | null;
3470
+ capped?: boolean | null | undefined;
3471
+ remaining?: string | null | undefined;
3472
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
3344
3473
  }[] | null;
3345
3474
  source: string | null;
3346
3475
  observed_at: string | null;
@@ -3452,8 +3581,9 @@ export declare const ControlAccountResourcesResponse: z.ZodObject<{
3452
3581
  resources: {
3453
3582
  target: {
3454
3583
  harness: string;
3455
- profile_id: string;
3584
+ profile_id: string | null;
3456
3585
  };
3586
+ credential_fingerprint?: string | undefined;
3457
3587
  balances: {
3458
3588
  value: {
3459
3589
  scope?: "personal" | "team" | undefined;
@@ -3497,6 +3627,9 @@ export declare const ControlAccountResourcesResponse: z.ZodObject<{
3497
3627
  decimal_places: number | null;
3498
3628
  resets_at: string | null;
3499
3629
  reason: string | null;
3630
+ capped?: boolean | null | undefined;
3631
+ remaining?: string | null | undefined;
3632
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
3500
3633
  }[] | null;
3501
3634
  source: string | null;
3502
3635
  observed_at: string | null;
@@ -3811,14 +3944,15 @@ export declare const ControlAccountResourcesFreshnessResponse: z.ZodObject<{
3811
3944
  resources: z.ZodArray<z.ZodObject<{
3812
3945
  target: z.ZodObject<{
3813
3946
  harness: z.ZodString;
3814
- profile_id: z.ZodString;
3947
+ profile_id: z.ZodNullable<z.ZodString>;
3815
3948
  }, "strict", z.ZodTypeAny, {
3816
3949
  harness: string;
3817
- profile_id: string;
3950
+ profile_id: string | null;
3818
3951
  }, {
3819
3952
  harness: string;
3820
- profile_id: string;
3953
+ profile_id: string | null;
3821
3954
  }>;
3955
+ credential_fingerprint: z.ZodOptional<z.ZodString>;
3822
3956
  balances: z.ZodObject<{
3823
3957
  value: z.ZodNullable<z.ZodArray<z.ZodObject<{
3824
3958
  scope: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
@@ -3952,6 +4086,9 @@ export declare const ControlAccountResourcesFreshnessResponse: z.ZodObject<{
3952
4086
  decimal_places: z.ZodNullable<z.ZodNumber>;
3953
4087
  resets_at: z.ZodNullable<z.ZodString>;
3954
4088
  reason: z.ZodNullable<z.ZodString>;
4089
+ capped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
4090
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4091
+ window: z.ZodOptional<z.ZodNullable<z.ZodEnum<["day", "week", "month", "lifetime"]>>>;
3955
4092
  }, "strict", z.ZodTypeAny, {
3956
4093
  scope?: "personal" | "team" | undefined;
3957
4094
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -3970,6 +4107,9 @@ export declare const ControlAccountResourcesFreshnessResponse: z.ZodObject<{
3970
4107
  decimal_places: number | null;
3971
4108
  resets_at: string | null;
3972
4109
  reason: string | null;
4110
+ capped?: boolean | null | undefined;
4111
+ remaining?: string | null | undefined;
4112
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
3973
4113
  }, {
3974
4114
  scope?: "personal" | "team" | undefined;
3975
4115
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -3988,6 +4128,9 @@ export declare const ControlAccountResourcesFreshnessResponse: z.ZodObject<{
3988
4128
  decimal_places: number | null;
3989
4129
  resets_at: string | null;
3990
4130
  reason: string | null;
4131
+ capped?: boolean | null | undefined;
4132
+ remaining?: string | null | undefined;
4133
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
3991
4134
  }>, "many">>;
3992
4135
  source: z.ZodNullable<z.ZodString>;
3993
4136
  observed_at: z.ZodNullable<z.ZodString>;
@@ -4013,6 +4156,9 @@ export declare const ControlAccountResourcesFreshnessResponse: z.ZodObject<{
4013
4156
  decimal_places: number | null;
4014
4157
  resets_at: string | null;
4015
4158
  reason: string | null;
4159
+ capped?: boolean | null | undefined;
4160
+ remaining?: string | null | undefined;
4161
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
4016
4162
  }[] | null;
4017
4163
  source: string | null;
4018
4164
  observed_at: string | null;
@@ -4038,6 +4184,9 @@ export declare const ControlAccountResourcesFreshnessResponse: z.ZodObject<{
4038
4184
  decimal_places: number | null;
4039
4185
  resets_at: string | null;
4040
4186
  reason: string | null;
4187
+ capped?: boolean | null | undefined;
4188
+ remaining?: string | null | undefined;
4189
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
4041
4190
  }[] | null;
4042
4191
  source: string | null;
4043
4192
  observed_at: string | null;
@@ -4237,8 +4386,9 @@ export declare const ControlAccountResourcesFreshnessResponse: z.ZodObject<{
4237
4386
  }, "strict", z.ZodTypeAny, {
4238
4387
  target: {
4239
4388
  harness: string;
4240
- profile_id: string;
4389
+ profile_id: string | null;
4241
4390
  };
4391
+ credential_fingerprint?: string | undefined;
4242
4392
  balances: {
4243
4393
  value: {
4244
4394
  scope?: "personal" | "team" | undefined;
@@ -4282,6 +4432,9 @@ export declare const ControlAccountResourcesFreshnessResponse: z.ZodObject<{
4282
4432
  decimal_places: number | null;
4283
4433
  resets_at: string | null;
4284
4434
  reason: string | null;
4435
+ capped?: boolean | null | undefined;
4436
+ remaining?: string | null | undefined;
4437
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
4285
4438
  }[] | null;
4286
4439
  source: string | null;
4287
4440
  observed_at: string | null;
@@ -4333,8 +4486,9 @@ export declare const ControlAccountResourcesFreshnessResponse: z.ZodObject<{
4333
4486
  }, {
4334
4487
  target: {
4335
4488
  harness: string;
4336
- profile_id: string;
4489
+ profile_id: string | null;
4337
4490
  };
4491
+ credential_fingerprint?: string | undefined;
4338
4492
  balances: {
4339
4493
  value: {
4340
4494
  scope?: "personal" | "team" | undefined;
@@ -4378,6 +4532,9 @@ export declare const ControlAccountResourcesFreshnessResponse: z.ZodObject<{
4378
4532
  decimal_places: number | null;
4379
4533
  resets_at: string | null;
4380
4534
  reason: string | null;
4535
+ capped?: boolean | null | undefined;
4536
+ remaining?: string | null | undefined;
4537
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
4381
4538
  }[] | null;
4382
4539
  source: string | null;
4383
4540
  observed_at: string | null;
@@ -4503,8 +4660,9 @@ export declare const ControlAccountResourcesFreshnessResponse: z.ZodObject<{
4503
4660
  resources: {
4504
4661
  target: {
4505
4662
  harness: string;
4506
- profile_id: string;
4663
+ profile_id: string | null;
4507
4664
  };
4665
+ credential_fingerprint?: string | undefined;
4508
4666
  balances: {
4509
4667
  value: {
4510
4668
  scope?: "personal" | "team" | undefined;
@@ -4548,6 +4706,9 @@ export declare const ControlAccountResourcesFreshnessResponse: z.ZodObject<{
4548
4706
  decimal_places: number | null;
4549
4707
  resets_at: string | null;
4550
4708
  reason: string | null;
4709
+ capped?: boolean | null | undefined;
4710
+ remaining?: string | null | undefined;
4711
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
4551
4712
  }[] | null;
4552
4713
  source: string | null;
4553
4714
  observed_at: string | null;
@@ -4665,8 +4826,9 @@ export declare const ControlAccountResourcesFreshnessResponse: z.ZodObject<{
4665
4826
  resources: {
4666
4827
  target: {
4667
4828
  harness: string;
4668
- profile_id: string;
4829
+ profile_id: string | null;
4669
4830
  };
4831
+ credential_fingerprint?: string | undefined;
4670
4832
  balances: {
4671
4833
  value: {
4672
4834
  scope?: "personal" | "team" | undefined;
@@ -4710,6 +4872,9 @@ export declare const ControlAccountResourcesFreshnessResponse: z.ZodObject<{
4710
4872
  decimal_places: number | null;
4711
4873
  resets_at: string | null;
4712
4874
  reason: string | null;
4875
+ capped?: boolean | null | undefined;
4876
+ remaining?: string | null | undefined;
4877
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
4713
4878
  }[] | null;
4714
4879
  source: string | null;
4715
4880
  observed_at: string | null;
@@ -5390,14 +5555,15 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
5390
5555
  resources: z.ZodArray<z.ZodObject<{
5391
5556
  target: z.ZodObject<{
5392
5557
  harness: z.ZodString;
5393
- profile_id: z.ZodString;
5558
+ profile_id: z.ZodNullable<z.ZodString>;
5394
5559
  }, "strict", z.ZodTypeAny, {
5395
5560
  harness: string;
5396
- profile_id: string;
5561
+ profile_id: string | null;
5397
5562
  }, {
5398
5563
  harness: string;
5399
- profile_id: string;
5564
+ profile_id: string | null;
5400
5565
  }>;
5566
+ credential_fingerprint: z.ZodOptional<z.ZodString>;
5401
5567
  balances: z.ZodObject<{
5402
5568
  value: z.ZodNullable<z.ZodArray<z.ZodObject<{
5403
5569
  scope: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
@@ -5531,6 +5697,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
5531
5697
  decimal_places: z.ZodNullable<z.ZodNumber>;
5532
5698
  resets_at: z.ZodNullable<z.ZodString>;
5533
5699
  reason: z.ZodNullable<z.ZodString>;
5700
+ capped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
5701
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5702
+ window: z.ZodOptional<z.ZodNullable<z.ZodEnum<["day", "week", "month", "lifetime"]>>>;
5534
5703
  }, "strict", z.ZodTypeAny, {
5535
5704
  scope?: "personal" | "team" | undefined;
5536
5705
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -5549,6 +5718,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
5549
5718
  decimal_places: number | null;
5550
5719
  resets_at: string | null;
5551
5720
  reason: string | null;
5721
+ capped?: boolean | null | undefined;
5722
+ remaining?: string | null | undefined;
5723
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
5552
5724
  }, {
5553
5725
  scope?: "personal" | "team" | undefined;
5554
5726
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -5567,6 +5739,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
5567
5739
  decimal_places: number | null;
5568
5740
  resets_at: string | null;
5569
5741
  reason: string | null;
5742
+ capped?: boolean | null | undefined;
5743
+ remaining?: string | null | undefined;
5744
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
5570
5745
  }>, "many">>;
5571
5746
  source: z.ZodNullable<z.ZodString>;
5572
5747
  observed_at: z.ZodNullable<z.ZodString>;
@@ -5592,6 +5767,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
5592
5767
  decimal_places: number | null;
5593
5768
  resets_at: string | null;
5594
5769
  reason: string | null;
5770
+ capped?: boolean | null | undefined;
5771
+ remaining?: string | null | undefined;
5772
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
5595
5773
  }[] | null;
5596
5774
  source: string | null;
5597
5775
  observed_at: string | null;
@@ -5617,6 +5795,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
5617
5795
  decimal_places: number | null;
5618
5796
  resets_at: string | null;
5619
5797
  reason: string | null;
5798
+ capped?: boolean | null | undefined;
5799
+ remaining?: string | null | undefined;
5800
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
5620
5801
  }[] | null;
5621
5802
  source: string | null;
5622
5803
  observed_at: string | null;
@@ -5816,8 +5997,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
5816
5997
  }, "strict", z.ZodTypeAny, {
5817
5998
  target: {
5818
5999
  harness: string;
5819
- profile_id: string;
6000
+ profile_id: string | null;
5820
6001
  };
6002
+ credential_fingerprint?: string | undefined;
5821
6003
  balances: {
5822
6004
  value: {
5823
6005
  scope?: "personal" | "team" | undefined;
@@ -5861,6 +6043,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
5861
6043
  decimal_places: number | null;
5862
6044
  resets_at: string | null;
5863
6045
  reason: string | null;
6046
+ capped?: boolean | null | undefined;
6047
+ remaining?: string | null | undefined;
6048
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
5864
6049
  }[] | null;
5865
6050
  source: string | null;
5866
6051
  observed_at: string | null;
@@ -5912,8 +6097,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
5912
6097
  }, {
5913
6098
  target: {
5914
6099
  harness: string;
5915
- profile_id: string;
6100
+ profile_id: string | null;
5916
6101
  };
6102
+ credential_fingerprint?: string | undefined;
5917
6103
  balances: {
5918
6104
  value: {
5919
6105
  scope?: "personal" | "team" | undefined;
@@ -5957,6 +6143,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
5957
6143
  decimal_places: number | null;
5958
6144
  resets_at: string | null;
5959
6145
  reason: string | null;
6146
+ capped?: boolean | null | undefined;
6147
+ remaining?: string | null | undefined;
6148
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
5960
6149
  }[] | null;
5961
6150
  source: string | null;
5962
6151
  observed_at: string | null;
@@ -6068,8 +6257,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
6068
6257
  resources: {
6069
6258
  target: {
6070
6259
  harness: string;
6071
- profile_id: string;
6260
+ profile_id: string | null;
6072
6261
  };
6262
+ credential_fingerprint?: string | undefined;
6073
6263
  balances: {
6074
6264
  value: {
6075
6265
  scope?: "personal" | "team" | undefined;
@@ -6113,6 +6303,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
6113
6303
  decimal_places: number | null;
6114
6304
  resets_at: string | null;
6115
6305
  reason: string | null;
6306
+ capped?: boolean | null | undefined;
6307
+ remaining?: string | null | undefined;
6308
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
6116
6309
  }[] | null;
6117
6310
  source: string | null;
6118
6311
  observed_at: string | null;
@@ -6224,8 +6417,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
6224
6417
  resources: {
6225
6418
  target: {
6226
6419
  harness: string;
6227
- profile_id: string;
6420
+ profile_id: string | null;
6228
6421
  };
6422
+ credential_fingerprint?: string | undefined;
6229
6423
  balances: {
6230
6424
  value: {
6231
6425
  scope?: "personal" | "team" | undefined;
@@ -6269,6 +6463,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
6269
6463
  decimal_places: number | null;
6270
6464
  resets_at: string | null;
6271
6465
  reason: string | null;
6466
+ capped?: boolean | null | undefined;
6467
+ remaining?: string | null | undefined;
6468
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
6272
6469
  }[] | null;
6273
6470
  source: string | null;
6274
6471
  observed_at: string | null;
@@ -6956,14 +7153,15 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
6956
7153
  resources: z.ZodArray<z.ZodObject<{
6957
7154
  target: z.ZodObject<{
6958
7155
  harness: z.ZodString;
6959
- profile_id: z.ZodString;
7156
+ profile_id: z.ZodNullable<z.ZodString>;
6960
7157
  }, "strict", z.ZodTypeAny, {
6961
7158
  harness: string;
6962
- profile_id: string;
7159
+ profile_id: string | null;
6963
7160
  }, {
6964
7161
  harness: string;
6965
- profile_id: string;
7162
+ profile_id: string | null;
6966
7163
  }>;
7164
+ credential_fingerprint: z.ZodOptional<z.ZodString>;
6967
7165
  balances: z.ZodObject<{
6968
7166
  value: z.ZodNullable<z.ZodArray<z.ZodObject<{
6969
7167
  scope: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
@@ -7097,6 +7295,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
7097
7295
  decimal_places: z.ZodNullable<z.ZodNumber>;
7098
7296
  resets_at: z.ZodNullable<z.ZodString>;
7099
7297
  reason: z.ZodNullable<z.ZodString>;
7298
+ capped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
7299
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodString>>;
7300
+ window: z.ZodOptional<z.ZodNullable<z.ZodEnum<["day", "week", "month", "lifetime"]>>>;
7100
7301
  }, "strict", z.ZodTypeAny, {
7101
7302
  scope?: "personal" | "team" | undefined;
7102
7303
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -7115,6 +7316,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
7115
7316
  decimal_places: number | null;
7116
7317
  resets_at: string | null;
7117
7318
  reason: string | null;
7319
+ capped?: boolean | null | undefined;
7320
+ remaining?: string | null | undefined;
7321
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
7118
7322
  }, {
7119
7323
  scope?: "personal" | "team" | undefined;
7120
7324
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -7133,6 +7337,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
7133
7337
  decimal_places: number | null;
7134
7338
  resets_at: string | null;
7135
7339
  reason: string | null;
7340
+ capped?: boolean | null | undefined;
7341
+ remaining?: string | null | undefined;
7342
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
7136
7343
  }>, "many">>;
7137
7344
  source: z.ZodNullable<z.ZodString>;
7138
7345
  observed_at: z.ZodNullable<z.ZodString>;
@@ -7158,6 +7365,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
7158
7365
  decimal_places: number | null;
7159
7366
  resets_at: string | null;
7160
7367
  reason: string | null;
7368
+ capped?: boolean | null | undefined;
7369
+ remaining?: string | null | undefined;
7370
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
7161
7371
  }[] | null;
7162
7372
  source: string | null;
7163
7373
  observed_at: string | null;
@@ -7183,6 +7393,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
7183
7393
  decimal_places: number | null;
7184
7394
  resets_at: string | null;
7185
7395
  reason: string | null;
7396
+ capped?: boolean | null | undefined;
7397
+ remaining?: string | null | undefined;
7398
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
7186
7399
  }[] | null;
7187
7400
  source: string | null;
7188
7401
  observed_at: string | null;
@@ -7382,8 +7595,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
7382
7595
  }, "strict", z.ZodTypeAny, {
7383
7596
  target: {
7384
7597
  harness: string;
7385
- profile_id: string;
7598
+ profile_id: string | null;
7386
7599
  };
7600
+ credential_fingerprint?: string | undefined;
7387
7601
  balances: {
7388
7602
  value: {
7389
7603
  scope?: "personal" | "team" | undefined;
@@ -7427,6 +7641,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
7427
7641
  decimal_places: number | null;
7428
7642
  resets_at: string | null;
7429
7643
  reason: string | null;
7644
+ capped?: boolean | null | undefined;
7645
+ remaining?: string | null | undefined;
7646
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
7430
7647
  }[] | null;
7431
7648
  source: string | null;
7432
7649
  observed_at: string | null;
@@ -7478,8 +7695,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
7478
7695
  }, {
7479
7696
  target: {
7480
7697
  harness: string;
7481
- profile_id: string;
7698
+ profile_id: string | null;
7482
7699
  };
7700
+ credential_fingerprint?: string | undefined;
7483
7701
  balances: {
7484
7702
  value: {
7485
7703
  scope?: "personal" | "team" | undefined;
@@ -7523,6 +7741,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
7523
7741
  decimal_places: number | null;
7524
7742
  resets_at: string | null;
7525
7743
  reason: string | null;
7744
+ capped?: boolean | null | undefined;
7745
+ remaining?: string | null | undefined;
7746
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
7526
7747
  }[] | null;
7527
7748
  source: string | null;
7528
7749
  observed_at: string | null;
@@ -7648,8 +7869,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
7648
7869
  resources: {
7649
7870
  target: {
7650
7871
  harness: string;
7651
- profile_id: string;
7872
+ profile_id: string | null;
7652
7873
  };
7874
+ credential_fingerprint?: string | undefined;
7653
7875
  balances: {
7654
7876
  value: {
7655
7877
  scope?: "personal" | "team" | undefined;
@@ -7693,6 +7915,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
7693
7915
  decimal_places: number | null;
7694
7916
  resets_at: string | null;
7695
7917
  reason: string | null;
7918
+ capped?: boolean | null | undefined;
7919
+ remaining?: string | null | undefined;
7920
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
7696
7921
  }[] | null;
7697
7922
  source: string | null;
7698
7923
  observed_at: string | null;
@@ -7810,8 +8035,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
7810
8035
  resources: {
7811
8036
  target: {
7812
8037
  harness: string;
7813
- profile_id: string;
8038
+ profile_id: string | null;
7814
8039
  };
8040
+ credential_fingerprint?: string | undefined;
7815
8041
  balances: {
7816
8042
  value: {
7817
8043
  scope?: "personal" | "team" | undefined;
@@ -7855,6 +8081,9 @@ export declare const ControlQuotaQueryResponse: z.ZodUnion<[z.ZodObject<{
7855
8081
  decimal_places: number | null;
7856
8082
  resets_at: string | null;
7857
8083
  reason: string | null;
8084
+ capped?: boolean | null | undefined;
8085
+ remaining?: string | null | undefined;
8086
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
7858
8087
  }[] | null;
7859
8088
  source: string | null;
7860
8089
  observed_at: string | null;
@@ -8241,14 +8470,15 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
8241
8470
  resources: z.ZodArray<z.ZodObject<{
8242
8471
  target: z.ZodObject<{
8243
8472
  harness: z.ZodString;
8244
- profile_id: z.ZodString;
8473
+ profile_id: z.ZodNullable<z.ZodString>;
8245
8474
  }, "strict", z.ZodTypeAny, {
8246
8475
  harness: string;
8247
- profile_id: string;
8476
+ profile_id: string | null;
8248
8477
  }, {
8249
8478
  harness: string;
8250
- profile_id: string;
8479
+ profile_id: string | null;
8251
8480
  }>;
8481
+ credential_fingerprint: z.ZodOptional<z.ZodString>;
8252
8482
  balances: z.ZodObject<{
8253
8483
  value: z.ZodNullable<z.ZodArray<z.ZodObject<{
8254
8484
  scope: z.ZodOptional<z.ZodEnum<["personal", "team"]>>;
@@ -8382,6 +8612,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
8382
8612
  decimal_places: z.ZodNullable<z.ZodNumber>;
8383
8613
  resets_at: z.ZodNullable<z.ZodString>;
8384
8614
  reason: z.ZodNullable<z.ZodString>;
8615
+ capped: z.ZodOptional<z.ZodNullable<z.ZodBoolean>>;
8616
+ remaining: z.ZodOptional<z.ZodNullable<z.ZodString>>;
8617
+ window: z.ZodOptional<z.ZodNullable<z.ZodEnum<["day", "week", "month", "lifetime"]>>>;
8385
8618
  }, "strict", z.ZodTypeAny, {
8386
8619
  scope?: "personal" | "team" | undefined;
8387
8620
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -8400,6 +8633,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
8400
8633
  decimal_places: number | null;
8401
8634
  resets_at: string | null;
8402
8635
  reason: string | null;
8636
+ capped?: boolean | null | undefined;
8637
+ remaining?: string | null | undefined;
8638
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
8403
8639
  }, {
8404
8640
  scope?: "personal" | "team" | undefined;
8405
8641
  usage_kind?: "bonus" | "included" | "on_demand" | "total" | undefined;
@@ -8418,6 +8654,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
8418
8654
  decimal_places: number | null;
8419
8655
  resets_at: string | null;
8420
8656
  reason: string | null;
8657
+ capped?: boolean | null | undefined;
8658
+ remaining?: string | null | undefined;
8659
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
8421
8660
  }>, "many">>;
8422
8661
  source: z.ZodNullable<z.ZodString>;
8423
8662
  observed_at: z.ZodNullable<z.ZodString>;
@@ -8443,6 +8682,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
8443
8682
  decimal_places: number | null;
8444
8683
  resets_at: string | null;
8445
8684
  reason: string | null;
8685
+ capped?: boolean | null | undefined;
8686
+ remaining?: string | null | undefined;
8687
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
8446
8688
  }[] | null;
8447
8689
  source: string | null;
8448
8690
  observed_at: string | null;
@@ -8468,6 +8710,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
8468
8710
  decimal_places: number | null;
8469
8711
  resets_at: string | null;
8470
8712
  reason: string | null;
8713
+ capped?: boolean | null | undefined;
8714
+ remaining?: string | null | undefined;
8715
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
8471
8716
  }[] | null;
8472
8717
  source: string | null;
8473
8718
  observed_at: string | null;
@@ -8667,8 +8912,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
8667
8912
  }, "strict", z.ZodTypeAny, {
8668
8913
  target: {
8669
8914
  harness: string;
8670
- profile_id: string;
8915
+ profile_id: string | null;
8671
8916
  };
8917
+ credential_fingerprint?: string | undefined;
8672
8918
  balances: {
8673
8919
  value: {
8674
8920
  scope?: "personal" | "team" | undefined;
@@ -8712,6 +8958,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
8712
8958
  decimal_places: number | null;
8713
8959
  resets_at: string | null;
8714
8960
  reason: string | null;
8961
+ capped?: boolean | null | undefined;
8962
+ remaining?: string | null | undefined;
8963
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
8715
8964
  }[] | null;
8716
8965
  source: string | null;
8717
8966
  observed_at: string | null;
@@ -8763,8 +9012,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
8763
9012
  }, {
8764
9013
  target: {
8765
9014
  harness: string;
8766
- profile_id: string;
9015
+ profile_id: string | null;
8767
9016
  };
9017
+ credential_fingerprint?: string | undefined;
8768
9018
  balances: {
8769
9019
  value: {
8770
9020
  scope?: "personal" | "team" | undefined;
@@ -8808,6 +9058,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
8808
9058
  decimal_places: number | null;
8809
9059
  resets_at: string | null;
8810
9060
  reason: string | null;
9061
+ capped?: boolean | null | undefined;
9062
+ remaining?: string | null | undefined;
9063
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
8811
9064
  }[] | null;
8812
9065
  source: string | null;
8813
9066
  observed_at: string | null;
@@ -8919,8 +9172,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
8919
9172
  resources: {
8920
9173
  target: {
8921
9174
  harness: string;
8922
- profile_id: string;
9175
+ profile_id: string | null;
8923
9176
  };
9177
+ credential_fingerprint?: string | undefined;
8924
9178
  balances: {
8925
9179
  value: {
8926
9180
  scope?: "personal" | "team" | undefined;
@@ -8964,6 +9218,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
8964
9218
  decimal_places: number | null;
8965
9219
  resets_at: string | null;
8966
9220
  reason: string | null;
9221
+ capped?: boolean | null | undefined;
9222
+ remaining?: string | null | undefined;
9223
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
8967
9224
  }[] | null;
8968
9225
  source: string | null;
8969
9226
  observed_at: string | null;
@@ -9075,8 +9332,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
9075
9332
  resources: {
9076
9333
  target: {
9077
9334
  harness: string;
9078
- profile_id: string;
9335
+ profile_id: string | null;
9079
9336
  };
9337
+ credential_fingerprint?: string | undefined;
9080
9338
  balances: {
9081
9339
  value: {
9082
9340
  scope?: "personal" | "team" | undefined;
@@ -9120,6 +9378,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
9120
9378
  decimal_places: number | null;
9121
9379
  resets_at: string | null;
9122
9380
  reason: string | null;
9381
+ capped?: boolean | null | undefined;
9382
+ remaining?: string | null | undefined;
9383
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
9123
9384
  }[] | null;
9124
9385
  source: string | null;
9125
9386
  observed_at: string | null;
@@ -9252,8 +9513,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
9252
9513
  resources: {
9253
9514
  target: {
9254
9515
  harness: string;
9255
- profile_id: string;
9516
+ profile_id: string | null;
9256
9517
  };
9518
+ credential_fingerprint?: string | undefined;
9257
9519
  balances: {
9258
9520
  value: {
9259
9521
  scope?: "personal" | "team" | undefined;
@@ -9297,6 +9559,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
9297
9559
  decimal_places: number | null;
9298
9560
  resets_at: string | null;
9299
9561
  reason: string | null;
9562
+ capped?: boolean | null | undefined;
9563
+ remaining?: string | null | undefined;
9564
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
9300
9565
  }[] | null;
9301
9566
  source: string | null;
9302
9567
  observed_at: string | null;
@@ -9429,8 +9694,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
9429
9694
  resources: {
9430
9695
  target: {
9431
9696
  harness: string;
9432
- profile_id: string;
9697
+ profile_id: string | null;
9433
9698
  };
9699
+ credential_fingerprint?: string | undefined;
9434
9700
  balances: {
9435
9701
  value: {
9436
9702
  scope?: "personal" | "team" | undefined;
@@ -9474,6 +9740,9 @@ export declare const ControlAccountResetResponse: z.ZodObject<{
9474
9740
  decimal_places: number | null;
9475
9741
  resets_at: string | null;
9476
9742
  reason: string | null;
9743
+ capped?: boolean | null | undefined;
9744
+ remaining?: string | null | undefined;
9745
+ window?: "day" | "lifetime" | "month" | "week" | null | undefined;
9477
9746
  }[] | null;
9478
9747
  source: string | null;
9479
9748
  observed_at: string | null;