@oxy.so/contracts 4.16.0 → 4.17.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 (113) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/accountEmail.js +12 -34
  3. package/dist/cjs/accountGraph.js +22 -320
  4. package/dist/cjs/agentKeys.js +11 -13
  5. package/dist/cjs/client/accountEmail.js +48 -0
  6. package/dist/cjs/client/accountGraph.js +323 -0
  7. package/dist/cjs/client/agentKeys.js +77 -0
  8. package/dist/cjs/client/check.js +466 -0
  9. package/dist/cjs/client/deviceBoot.js +22 -0
  10. package/dist/cjs/client/deviceDirectory.js +51 -0
  11. package/dist/cjs/client/deviceSession.js +63 -0
  12. package/dist/cjs/client/externalIdentity.js +19 -0
  13. package/dist/cjs/client/identity.js +45 -0
  14. package/dist/cjs/client/identityLink.js +55 -0
  15. package/dist/cjs/client/identityProof.js +109 -0
  16. package/dist/cjs/client/index.js +190 -0
  17. package/dist/cjs/client/organizations.js +114 -0
  18. package/dist/cjs/client/products.js +153 -0
  19. package/dist/cjs/client/recommendations.js +33 -0
  20. package/dist/cjs/client/reputation.js +41 -0
  21. package/dist/cjs/client/safety.js +15 -0
  22. package/dist/cjs/client/sessionStatus.js +23 -0
  23. package/dist/cjs/client/signIn.js +157 -0
  24. package/dist/cjs/client/userResponse.js +15 -0
  25. package/dist/cjs/client/username.js +173 -0
  26. package/dist/cjs/deviceSession.js +3 -16
  27. package/dist/cjs/identityLink.js +13 -34
  28. package/dist/cjs/identityProof.js +18 -106
  29. package/dist/cjs/organizations.js +21 -41
  30. package/dist/cjs/reputation.js +3 -34
  31. package/dist/cjs/signIn.js +33 -111
  32. package/dist/cjs/username.js +23 -158
  33. package/dist/esm/.tsbuildinfo +1 -1
  34. package/dist/esm/accountEmail.js +4 -32
  35. package/dist/esm/accountGraph.js +4 -309
  36. package/dist/esm/agentKeys.js +4 -10
  37. package/dist/esm/client/accountEmail.js +45 -0
  38. package/dist/esm/client/accountGraph.js +314 -0
  39. package/dist/esm/client/agentKeys.js +74 -0
  40. package/dist/esm/client/check.js +428 -0
  41. package/dist/esm/client/deviceBoot.js +19 -0
  42. package/dist/esm/client/deviceDirectory.js +48 -0
  43. package/dist/esm/client/deviceSession.js +60 -0
  44. package/dist/esm/client/externalIdentity.js +16 -0
  45. package/dist/esm/client/identity.js +42 -0
  46. package/dist/esm/client/identityLink.js +50 -0
  47. package/dist/esm/client/identityProof.js +104 -0
  48. package/dist/esm/client/index.js +37 -0
  49. package/dist/esm/client/organizations.js +111 -0
  50. package/dist/esm/client/products.js +150 -0
  51. package/dist/esm/client/recommendations.js +30 -0
  52. package/dist/esm/client/reputation.js +37 -0
  53. package/dist/esm/client/safety.js +12 -0
  54. package/dist/esm/client/sessionStatus.js +20 -0
  55. package/dist/esm/client/signIn.js +151 -0
  56. package/dist/esm/client/userResponse.js +12 -0
  57. package/dist/esm/client/username.js +167 -0
  58. package/dist/esm/deviceSession.js +1 -15
  59. package/dist/esm/identityLink.js +4 -27
  60. package/dist/esm/identityProof.js +4 -99
  61. package/dist/esm/organizations.js +4 -31
  62. package/dist/esm/reputation.js +1 -32
  63. package/dist/esm/signIn.js +4 -96
  64. package/dist/esm/username.js +4 -148
  65. package/dist/types/.tsbuildinfo +1 -1
  66. package/dist/types/accountEmail.d.ts +2 -34
  67. package/dist/types/accountGraph.d.ts +12 -208
  68. package/dist/types/agency.d.ts +24 -24
  69. package/dist/types/agentKeys.d.ts +8 -6
  70. package/dist/types/client/accountEmail.d.ts +44 -0
  71. package/dist/types/client/accountGraph.d.ts +203 -0
  72. package/dist/types/client/agentKeys.d.ts +113 -0
  73. package/dist/types/client/check.d.ts +184 -0
  74. package/dist/types/client/deviceBoot.d.ts +6 -0
  75. package/dist/types/client/deviceDirectory.d.ts +134 -0
  76. package/dist/types/client/deviceSession.d.ts +91 -0
  77. package/dist/types/client/externalIdentity.d.ts +14 -0
  78. package/dist/types/client/identity.d.ts +8 -0
  79. package/dist/types/client/identityLink.d.ts +21 -0
  80. package/dist/types/client/identityProof.d.ts +73 -0
  81. package/dist/types/client/index.d.ts +37 -0
  82. package/dist/types/client/organizations.d.ts +167 -0
  83. package/dist/types/client/products.d.ts +145 -0
  84. package/dist/types/client/recommendations.d.ts +27 -0
  85. package/dist/types/client/reputation.d.ts +28 -0
  86. package/dist/types/client/safety.d.ts +13 -0
  87. package/dist/types/client/sessionStatus.d.ts +19 -0
  88. package/dist/types/client/signIn.d.ts +107 -0
  89. package/dist/types/client/userResponse.d.ts +7 -0
  90. package/dist/types/client/username.d.ts +126 -0
  91. package/dist/types/deviceDirectory.d.ts +28 -28
  92. package/dist/types/deviceSession.d.ts +1 -12
  93. package/dist/types/externalIdentity.d.ts +11 -11
  94. package/dist/types/identityLink.d.ts +3 -11
  95. package/dist/types/identityProof.d.ts +2 -65
  96. package/dist/types/inference/decisions.d.ts +10 -10
  97. package/dist/types/inference/embeddings.d.ts +16 -16
  98. package/dist/types/inference/errors.d.ts +8 -8
  99. package/dist/types/inference/inbox.d.ts +8 -8
  100. package/dist/types/inference/privateAutoExecution.d.ts +6 -6
  101. package/dist/types/inference/realtime.d.ts +30 -30
  102. package/dist/types/inference/request.d.ts +28 -28
  103. package/dist/types/inference/streamEvents.d.ts +16 -16
  104. package/dist/types/inference/usage.d.ts +4 -4
  105. package/dist/types/oauth.d.ts +2 -2
  106. package/dist/types/organizations.d.ts +8 -10
  107. package/dist/types/products/billing.d.ts +3 -0
  108. package/dist/types/reputation.d.ts +1 -11
  109. package/dist/types/sessionStatus.d.ts +2 -2
  110. package/dist/types/signIn.d.ts +6 -89
  111. package/dist/types/userResponse.d.ts +20 -20
  112. package/dist/types/username.d.ts +1 -96
  113. package/package.json +20 -1
@@ -128,14 +128,14 @@ export declare const embeddingFailureSchema: z.ZodObject<{
128
128
  message: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
129
129
  }, "strict", z.ZodTypeAny, {
130
130
  provider: string;
131
- status?: number | undefined;
132
131
  code?: string | undefined;
133
132
  message?: string | undefined;
133
+ status?: number | undefined;
134
134
  }, {
135
135
  provider: string;
136
- status?: number | undefined;
137
136
  code?: string | undefined;
138
137
  message?: string | undefined;
138
+ status?: number | undefined;
139
139
  }>>;
140
140
  }, "strip", z.ZodTypeAny, {
141
141
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -148,9 +148,9 @@ export declare const embeddingFailureSchema: z.ZodObject<{
148
148
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
149
149
  providerError?: {
150
150
  provider: string;
151
- status?: number | undefined;
152
151
  code?: string | undefined;
153
152
  message?: string | undefined;
153
+ status?: number | undefined;
154
154
  } | undefined;
155
155
  }, {
156
156
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -163,9 +163,9 @@ export declare const embeddingFailureSchema: z.ZodObject<{
163
163
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
164
164
  providerError?: {
165
165
  provider: string;
166
- status?: number | undefined;
167
166
  code?: string | undefined;
168
167
  message?: string | undefined;
168
+ status?: number | undefined;
169
169
  } | undefined;
170
170
  }>, {
171
171
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -178,9 +178,9 @@ export declare const embeddingFailureSchema: z.ZodObject<{
178
178
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
179
179
  providerError?: {
180
180
  provider: string;
181
- status?: number | undefined;
182
181
  code?: string | undefined;
183
182
  message?: string | undefined;
183
+ status?: number | undefined;
184
184
  } | undefined;
185
185
  }, {
186
186
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -193,9 +193,9 @@ export declare const embeddingFailureSchema: z.ZodObject<{
193
193
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
194
194
  providerError?: {
195
195
  provider: string;
196
- status?: number | undefined;
197
196
  code?: string | undefined;
198
197
  message?: string | undefined;
198
+ status?: number | undefined;
199
199
  } | undefined;
200
200
  }>;
201
201
  }, "strict", z.ZodTypeAny, {
@@ -210,9 +210,9 @@ export declare const embeddingFailureSchema: z.ZodObject<{
210
210
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
211
211
  providerError?: {
212
212
  provider: string;
213
- status?: number | undefined;
214
213
  code?: string | undefined;
215
214
  message?: string | undefined;
215
+ status?: number | undefined;
216
216
  } | undefined;
217
217
  };
218
218
  schemaVersion: 1;
@@ -229,9 +229,9 @@ export declare const embeddingFailureSchema: z.ZodObject<{
229
229
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
230
230
  providerError?: {
231
231
  provider: string;
232
- status?: number | undefined;
233
232
  code?: string | undefined;
234
233
  message?: string | undefined;
234
+ status?: number | undefined;
235
235
  } | undefined;
236
236
  };
237
237
  schemaVersion: 1;
@@ -339,14 +339,14 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
339
339
  message: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
340
340
  }, "strict", z.ZodTypeAny, {
341
341
  provider: string;
342
- status?: number | undefined;
343
342
  code?: string | undefined;
344
343
  message?: string | undefined;
344
+ status?: number | undefined;
345
345
  }, {
346
346
  provider: string;
347
- status?: number | undefined;
348
347
  code?: string | undefined;
349
348
  message?: string | undefined;
349
+ status?: number | undefined;
350
350
  }>>;
351
351
  }, "strip", z.ZodTypeAny, {
352
352
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -359,9 +359,9 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
359
359
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
360
360
  providerError?: {
361
361
  provider: string;
362
- status?: number | undefined;
363
362
  code?: string | undefined;
364
363
  message?: string | undefined;
364
+ status?: number | undefined;
365
365
  } | undefined;
366
366
  }, {
367
367
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -374,9 +374,9 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
374
374
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
375
375
  providerError?: {
376
376
  provider: string;
377
- status?: number | undefined;
378
377
  code?: string | undefined;
379
378
  message?: string | undefined;
379
+ status?: number | undefined;
380
380
  } | undefined;
381
381
  }>, {
382
382
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -389,9 +389,9 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
389
389
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
390
390
  providerError?: {
391
391
  provider: string;
392
- status?: number | undefined;
393
392
  code?: string | undefined;
394
393
  message?: string | undefined;
394
+ status?: number | undefined;
395
395
  } | undefined;
396
396
  }, {
397
397
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -404,9 +404,9 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
404
404
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
405
405
  providerError?: {
406
406
  provider: string;
407
- status?: number | undefined;
408
407
  code?: string | undefined;
409
408
  message?: string | undefined;
409
+ status?: number | undefined;
410
410
  } | undefined;
411
411
  }>;
412
412
  }, "strict", z.ZodTypeAny, {
@@ -421,9 +421,9 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
421
421
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
422
422
  providerError?: {
423
423
  provider: string;
424
- status?: number | undefined;
425
424
  code?: string | undefined;
426
425
  message?: string | undefined;
426
+ status?: number | undefined;
427
427
  } | undefined;
428
428
  };
429
429
  schemaVersion: 1;
@@ -440,9 +440,9 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
440
440
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
441
441
  providerError?: {
442
442
  provider: string;
443
- status?: number | undefined;
444
443
  code?: string | undefined;
445
444
  message?: string | undefined;
445
+ status?: number | undefined;
446
446
  } | undefined;
447
447
  };
448
448
  schemaVersion: 1;
@@ -127,14 +127,14 @@ export declare const providerErrorPassthroughSchema: z.ZodObject<{
127
127
  message: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
128
128
  }, "strict", z.ZodTypeAny, {
129
129
  provider: string;
130
- status?: number | undefined;
131
130
  code?: string | undefined;
132
131
  message?: string | undefined;
132
+ status?: number | undefined;
133
133
  }, {
134
134
  provider: string;
135
- status?: number | undefined;
136
135
  code?: string | undefined;
137
136
  message?: string | undefined;
137
+ status?: number | undefined;
138
138
  }>;
139
139
  /**
140
140
  * The error body every inference surface returns and every stream error event
@@ -166,14 +166,14 @@ export declare const inferenceErrorSchema: z.ZodEffects<z.ZodObject<{
166
166
  message: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
167
167
  }, "strict", z.ZodTypeAny, {
168
168
  provider: string;
169
- status?: number | undefined;
170
169
  code?: string | undefined;
171
170
  message?: string | undefined;
171
+ status?: number | undefined;
172
172
  }, {
173
173
  provider: string;
174
- status?: number | undefined;
175
174
  code?: string | undefined;
176
175
  message?: string | undefined;
176
+ status?: number | undefined;
177
177
  }>>;
178
178
  }, "strip", z.ZodTypeAny, {
179
179
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -186,9 +186,9 @@ export declare const inferenceErrorSchema: z.ZodEffects<z.ZodObject<{
186
186
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
187
187
  providerError?: {
188
188
  provider: string;
189
- status?: number | undefined;
190
189
  code?: string | undefined;
191
190
  message?: string | undefined;
191
+ status?: number | undefined;
192
192
  } | undefined;
193
193
  }, {
194
194
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -201,9 +201,9 @@ export declare const inferenceErrorSchema: z.ZodEffects<z.ZodObject<{
201
201
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
202
202
  providerError?: {
203
203
  provider: string;
204
- status?: number | undefined;
205
204
  code?: string | undefined;
206
205
  message?: string | undefined;
206
+ status?: number | undefined;
207
207
  } | undefined;
208
208
  }>, {
209
209
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -216,9 +216,9 @@ export declare const inferenceErrorSchema: z.ZodEffects<z.ZodObject<{
216
216
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
217
217
  providerError?: {
218
218
  provider: string;
219
- status?: number | undefined;
220
219
  code?: string | undefined;
221
220
  message?: string | undefined;
221
+ status?: number | undefined;
222
222
  } | undefined;
223
223
  }, {
224
224
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -231,9 +231,9 @@ export declare const inferenceErrorSchema: z.ZodEffects<z.ZodObject<{
231
231
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
232
232
  providerError?: {
233
233
  provider: string;
234
- status?: number | undefined;
235
234
  code?: string | undefined;
236
235
  message?: string | undefined;
236
+ status?: number | undefined;
237
237
  } | undefined;
238
238
  }>;
239
239
  export type InferenceErrorCode = z.infer<typeof inferenceErrorCodeSchema>;
@@ -380,14 +380,14 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
380
380
  message: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
381
381
  }, "strict", z.ZodTypeAny, {
382
382
  provider: string;
383
- status?: number | undefined;
384
383
  code?: string | undefined;
385
384
  message?: string | undefined;
385
+ status?: number | undefined;
386
386
  }, {
387
387
  provider: string;
388
- status?: number | undefined;
389
388
  code?: string | undefined;
390
389
  message?: string | undefined;
390
+ status?: number | undefined;
391
391
  }>>;
392
392
  }, "strip", z.ZodTypeAny, {
393
393
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -400,9 +400,9 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
400
400
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
401
401
  providerError?: {
402
402
  provider: string;
403
- status?: number | undefined;
404
403
  code?: string | undefined;
405
404
  message?: string | undefined;
405
+ status?: number | undefined;
406
406
  } | undefined;
407
407
  }, {
408
408
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -415,9 +415,9 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
415
415
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
416
416
  providerError?: {
417
417
  provider: string;
418
- status?: number | undefined;
419
418
  code?: string | undefined;
420
419
  message?: string | undefined;
420
+ status?: number | undefined;
421
421
  } | undefined;
422
422
  }>, {
423
423
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -430,9 +430,9 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
430
430
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
431
431
  providerError?: {
432
432
  provider: string;
433
- status?: number | undefined;
434
433
  code?: string | undefined;
435
434
  message?: string | undefined;
435
+ status?: number | undefined;
436
436
  } | undefined;
437
437
  }, {
438
438
  code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
@@ -445,9 +445,9 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
445
445
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
446
446
  providerError?: {
447
447
  provider: string;
448
- status?: number | undefined;
449
448
  code?: string | undefined;
450
449
  message?: string | undefined;
450
+ status?: number | undefined;
451
451
  } | undefined;
452
452
  }>;
453
453
  }, "strict", z.ZodTypeAny, {
@@ -463,9 +463,9 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
463
463
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
464
464
  providerError?: {
465
465
  provider: string;
466
- status?: number | undefined;
467
466
  code?: string | undefined;
468
467
  message?: string | undefined;
468
+ status?: number | undefined;
469
469
  } | undefined;
470
470
  };
471
471
  }, {
@@ -481,9 +481,9 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
481
481
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
482
482
  providerError?: {
483
483
  provider: string;
484
- status?: number | undefined;
485
484
  code?: string | undefined;
486
485
  message?: string | undefined;
486
+ status?: number | undefined;
487
487
  } | undefined;
488
488
  };
489
489
  }>]>;
@@ -378,8 +378,8 @@ export declare const privateAutoSourceApprovalSchema: z.ZodObject<{
378
378
  maxControlledInputBytes: 8192;
379
379
  }>;
380
380
  }, "strict", z.ZodTypeAny, {
381
- purpose: "private_auto_classifier";
382
381
  expiresAt: string;
382
+ purpose: "private_auto_classifier";
383
383
  limits: {
384
384
  timeoutMs: 1000;
385
385
  maxStateBytes: 8192;
@@ -425,8 +425,8 @@ export declare const privateAutoSourceApprovalSchema: z.ZodObject<{
425
425
  evidenceExpiresAt: string;
426
426
  };
427
427
  }, {
428
- purpose: "private_auto_classifier";
429
428
  expiresAt: string;
429
+ purpose: "private_auto_classifier";
430
430
  limits: {
431
431
  timeoutMs: 1000;
432
432
  maxStateBytes: 8192;
@@ -533,8 +533,8 @@ export declare const privateAutoExecutionSchema: z.ZodEffects<z.ZodObject<{
533
533
  snapshotId: z.ZodString;
534
534
  catalogueEvidenceHash: z.ZodString;
535
535
  }, "strict", z.ZodTypeAny, {
536
- purpose: "private_auto_classifier";
537
536
  expiresAt: string;
537
+ purpose: "private_auto_classifier";
538
538
  requestId: string;
539
539
  keyId: string;
540
540
  principal: {
@@ -572,8 +572,8 @@ export declare const privateAutoExecutionSchema: z.ZodEffects<z.ZodObject<{
572
572
  inputSha256: string;
573
573
  runtimeExpiresAt: string;
574
574
  }, {
575
- purpose: "private_auto_classifier";
576
575
  expiresAt: string;
576
+ purpose: "private_auto_classifier";
577
577
  requestId: string;
578
578
  keyId: string;
579
579
  principal: {
@@ -611,8 +611,8 @@ export declare const privateAutoExecutionSchema: z.ZodEffects<z.ZodObject<{
611
611
  inputSha256: string;
612
612
  runtimeExpiresAt: string;
613
613
  }>, {
614
- purpose: "private_auto_classifier";
615
614
  expiresAt: string;
615
+ purpose: "private_auto_classifier";
616
616
  requestId: string;
617
617
  keyId: string;
618
618
  principal: {
@@ -650,8 +650,8 @@ export declare const privateAutoExecutionSchema: z.ZodEffects<z.ZodObject<{
650
650
  inputSha256: string;
651
651
  runtimeExpiresAt: string;
652
652
  }, {
653
- purpose: "private_auto_classifier";
654
653
  expiresAt: string;
654
+ purpose: "private_auto_classifier";
655
655
  requestId: string;
656
656
  keyId: string;
657
657
  principal: {