@oxy.so/contracts 1.1.1 → 1.3.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 (65) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/identity.js +3 -2
  3. package/dist/cjs/identityMove.js +156 -0
  4. package/dist/cjs/identityProof.js +164 -0
  5. package/dist/cjs/identityRecovery.js +51 -0
  6. package/dist/cjs/index.js +75 -19
  7. package/dist/cjs/inference/catalogue.js +7 -6
  8. package/dist/cjs/inference/identifiers.js +3 -1
  9. package/dist/cjs/inference/providerConnection.js +1 -1
  10. package/dist/cjs/inference/request.js +15 -1
  11. package/dist/cjs/inference/streamEvents.js +24 -2
  12. package/dist/cjs/inference/version.js +1 -1
  13. package/dist/cjs/userResponse.js +82 -1
  14. package/dist/cjs/username.js +70 -2
  15. package/dist/cjs/webIdentityCarrier.js +181 -0
  16. package/dist/cjs/webauthn.js +14 -0
  17. package/dist/esm/.tsbuildinfo +1 -1
  18. package/dist/esm/identity.js +3 -2
  19. package/dist/esm/identityMove.js +148 -0
  20. package/dist/esm/identityProof.js +159 -0
  21. package/dist/esm/identityRecovery.js +48 -0
  22. package/dist/esm/index.js +16 -7
  23. package/dist/esm/inference/catalogue.js +7 -6
  24. package/dist/esm/inference/identifiers.js +2 -0
  25. package/dist/esm/inference/providerConnection.js +2 -2
  26. package/dist/esm/inference/request.js +14 -0
  27. package/dist/esm/inference/streamEvents.js +24 -2
  28. package/dist/esm/inference/version.js +1 -1
  29. package/dist/esm/userResponse.js +81 -0
  30. package/dist/esm/username.js +69 -1
  31. package/dist/esm/webIdentityCarrier.js +178 -0
  32. package/dist/esm/webauthn.js +14 -0
  33. package/dist/types/.tsbuildinfo +1 -1
  34. package/dist/types/accountGraph.d.ts +7 -7
  35. package/dist/types/agency.d.ts +24 -24
  36. package/dist/types/browserHub.d.ts +16 -16
  37. package/dist/types/deviceDirectory.d.ts +28 -28
  38. package/dist/types/externalIdentity.d.ts +21 -7
  39. package/dist/types/identity.d.ts +3 -2
  40. package/dist/types/identityMove.d.ts +185 -0
  41. package/dist/types/identityProof.d.ts +156 -0
  42. package/dist/types/identityRecovery.d.ts +246 -0
  43. package/dist/types/index.d.ts +14 -8
  44. package/dist/types/inference/catalogue.d.ts +21 -20
  45. package/dist/types/inference/embeddings.d.ts +12 -12
  46. package/dist/types/inference/errors.d.ts +4 -4
  47. package/dist/types/inference/identifiers.d.ts +2 -0
  48. package/dist/types/inference/inbox.d.ts +6 -6
  49. package/dist/types/inference/providerConnection.d.ts +40 -40
  50. package/dist/types/inference/request.d.ts +84 -36
  51. package/dist/types/inference/streamEvents.d.ts +69 -13
  52. package/dist/types/inference/usage.d.ts +8 -8
  53. package/dist/types/inference/version.d.ts +1 -1
  54. package/dist/types/keyRotation.d.ts +2 -2
  55. package/dist/types/oauth.d.ts +30 -30
  56. package/dist/types/sessionStatus.d.ts +6 -6
  57. package/dist/types/transparency.d.ts +10 -10
  58. package/dist/types/userResponse.d.ts +386 -18
  59. package/dist/types/username.d.ts +25 -2
  60. package/dist/types/webIdentityCarrier.d.ts +1130 -0
  61. package/dist/types/webauthn.d.ts +208 -0
  62. package/package.json +1 -1
  63. package/dist/cjs/devicePairing.js +0 -138
  64. package/dist/esm/devicePairing.js +0 -135
  65. package/dist/types/devicePairing.d.ts +0 -130
@@ -138,7 +138,7 @@ export declare const embeddingFailureSchema: z.ZodObject<{
138
138
  status?: number | undefined;
139
139
  }>>;
140
140
  }, "strip", z.ZodTypeAny, {
141
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
141
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
142
142
  message: string;
143
143
  schemaVersion: 1;
144
144
  requestId: string;
@@ -153,7 +153,7 @@ export declare const embeddingFailureSchema: z.ZodObject<{
153
153
  status?: number | undefined;
154
154
  } | undefined;
155
155
  }, {
156
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
156
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
157
157
  message: string;
158
158
  schemaVersion: 1;
159
159
  requestId: string;
@@ -168,7 +168,7 @@ export declare const embeddingFailureSchema: z.ZodObject<{
168
168
  status?: number | undefined;
169
169
  } | undefined;
170
170
  }>, {
171
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
171
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
172
172
  message: string;
173
173
  schemaVersion: 1;
174
174
  requestId: string;
@@ -183,7 +183,7 @@ export declare const embeddingFailureSchema: z.ZodObject<{
183
183
  status?: number | undefined;
184
184
  } | undefined;
185
185
  }, {
186
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
186
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
187
187
  message: string;
188
188
  schemaVersion: 1;
189
189
  requestId: string;
@@ -202,7 +202,7 @@ export declare const embeddingFailureSchema: z.ZodObject<{
202
202
  schemaVersion: 1;
203
203
  requestId: string;
204
204
  error: {
205
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
205
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
206
206
  message: string;
207
207
  schemaVersion: 1;
208
208
  requestId: string;
@@ -221,7 +221,7 @@ export declare const embeddingFailureSchema: z.ZodObject<{
221
221
  schemaVersion: 1;
222
222
  requestId: string;
223
223
  error: {
224
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
224
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
225
225
  message: string;
226
226
  schemaVersion: 1;
227
227
  requestId: string;
@@ -349,7 +349,7 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
349
349
  status?: number | undefined;
350
350
  }>>;
351
351
  }, "strip", z.ZodTypeAny, {
352
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
352
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
353
353
  message: string;
354
354
  schemaVersion: 1;
355
355
  requestId: string;
@@ -364,7 +364,7 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
364
364
  status?: number | undefined;
365
365
  } | undefined;
366
366
  }, {
367
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
367
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
368
368
  message: string;
369
369
  schemaVersion: 1;
370
370
  requestId: string;
@@ -379,7 +379,7 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
379
379
  status?: number | undefined;
380
380
  } | undefined;
381
381
  }>, {
382
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
382
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
383
383
  message: string;
384
384
  schemaVersion: 1;
385
385
  requestId: string;
@@ -394,7 +394,7 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
394
394
  status?: number | undefined;
395
395
  } | undefined;
396
396
  }, {
397
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
397
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
398
398
  message: string;
399
399
  schemaVersion: 1;
400
400
  requestId: string;
@@ -413,7 +413,7 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
413
413
  schemaVersion: 1;
414
414
  requestId: string;
415
415
  error: {
416
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
416
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
417
417
  message: string;
418
418
  schemaVersion: 1;
419
419
  requestId: string;
@@ -432,7 +432,7 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
432
432
  schemaVersion: 1;
433
433
  requestId: string;
434
434
  error: {
435
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
435
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
436
436
  message: string;
437
437
  schemaVersion: 1;
438
438
  requestId: string;
@@ -176,7 +176,7 @@ export declare const inferenceErrorSchema: z.ZodEffects<z.ZodObject<{
176
176
  status?: number | undefined;
177
177
  }>>;
178
178
  }, "strip", z.ZodTypeAny, {
179
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
179
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
180
180
  message: string;
181
181
  schemaVersion: 1;
182
182
  requestId: string;
@@ -191,7 +191,7 @@ export declare const inferenceErrorSchema: z.ZodEffects<z.ZodObject<{
191
191
  status?: number | undefined;
192
192
  } | undefined;
193
193
  }, {
194
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
194
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
195
195
  message: string;
196
196
  schemaVersion: 1;
197
197
  requestId: string;
@@ -206,7 +206,7 @@ export declare const inferenceErrorSchema: z.ZodEffects<z.ZodObject<{
206
206
  status?: number | undefined;
207
207
  } | undefined;
208
208
  }>, {
209
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
209
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
210
210
  message: string;
211
211
  schemaVersion: 1;
212
212
  requestId: string;
@@ -221,7 +221,7 @@ export declare const inferenceErrorSchema: z.ZodEffects<z.ZodObject<{
221
221
  status?: number | undefined;
222
222
  } | undefined;
223
223
  }, {
224
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
224
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
225
225
  message: string;
226
226
  schemaVersion: 1;
227
227
  requestId: string;
@@ -113,6 +113,8 @@ export declare const inferenceHttpsUrlSchema: z.ZodString;
113
113
  * every artifact registry emits.
114
114
  */
115
115
  export declare const sha256DigestSchema: z.ZodString;
116
+ /** Standard base64 in whole, padded 4-character groups. */
117
+ export declare const PADDED_BASE64_PATTERN: RegExp;
116
118
  /** A publisher slug, e.g. `openai`, `anthropic`, `meta`, `alia`. */
117
119
  export declare const publisherSlugSchema: z.ZodString;
118
120
  /** A model slug within its publisher's namespace, e.g. `gpt-5`, `llama-3.1-70b`. */
@@ -268,7 +268,7 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
268
268
  status?: number | undefined;
269
269
  }>>;
270
270
  }, "strip", z.ZodTypeAny, {
271
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
271
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
272
272
  message: string;
273
273
  schemaVersion: 1;
274
274
  requestId: string;
@@ -283,7 +283,7 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
283
283
  status?: number | undefined;
284
284
  } | undefined;
285
285
  }, {
286
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
286
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
287
287
  message: string;
288
288
  schemaVersion: 1;
289
289
  requestId: string;
@@ -298,7 +298,7 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
298
298
  status?: number | undefined;
299
299
  } | undefined;
300
300
  }>, {
301
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
301
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
302
302
  message: string;
303
303
  schemaVersion: 1;
304
304
  requestId: string;
@@ -313,7 +313,7 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
313
313
  status?: number | undefined;
314
314
  } | undefined;
315
315
  }, {
316
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
316
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
317
317
  message: string;
318
318
  schemaVersion: 1;
319
319
  requestId: string;
@@ -331,7 +331,7 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
331
331
  }, "strict", z.ZodTypeAny, {
332
332
  type: "error";
333
333
  error: {
334
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
334
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
335
335
  message: string;
336
336
  schemaVersion: 1;
337
337
  requestId: string;
@@ -349,7 +349,7 @@ export declare const inboxInferenceStreamEventSchema: z.ZodDiscriminatedUnion<"t
349
349
  }, {
350
350
  type: "error";
351
351
  error: {
352
- code: "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" | "cancelled" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
352
+ code: "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" | "rate_limited" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused" | "service_unavailable" | "internal_error";
353
353
  message: string;
354
354
  schemaVersion: 1;
355
355
  requestId: string;
@@ -102,9 +102,9 @@ export declare const kaanaCredentialCreateMutationSchema: z.ZodObject<{
102
102
  environment: "development" | "staging" | "production";
103
103
  ownerAccountId: string;
104
104
  schemaVersion: 1;
105
+ action: "create";
105
106
  provider: string;
106
107
  connectionId: string;
107
- action: "create";
108
108
  operationId: string;
109
109
  operationActor: string;
110
110
  secretBase64: string;
@@ -112,9 +112,9 @@ export declare const kaanaCredentialCreateMutationSchema: z.ZodObject<{
112
112
  environment: "development" | "staging" | "production";
113
113
  ownerAccountId: string;
114
114
  schemaVersion: 1;
115
+ action: "create";
115
116
  provider: string;
116
117
  connectionId: string;
117
- action: "create";
118
118
  operationId: string;
119
119
  operationActor: string;
120
120
  secretBase64: string;
@@ -136,26 +136,26 @@ export declare const kaanaCredentialRotateMutationSchema: z.ZodObject<{
136
136
  environment: "development" | "staging" | "production";
137
137
  ownerAccountId: string;
138
138
  schemaVersion: 1;
139
+ action: "rotate";
140
+ expectedRevision: number;
139
141
  provider: string;
140
142
  connectionId: string;
141
- action: "rotate";
142
143
  operationId: string;
143
144
  operationActor: string;
144
145
  secretBase64: string;
145
146
  credentialHandle: string;
146
- expectedRevision: number;
147
147
  }, {
148
148
  environment: "development" | "staging" | "production";
149
149
  ownerAccountId: string;
150
150
  schemaVersion: 1;
151
+ action: "rotate";
152
+ expectedRevision: number;
151
153
  provider: string;
152
154
  connectionId: string;
153
- action: "rotate";
154
155
  operationId: string;
155
156
  operationActor: string;
156
157
  secretBase64: string;
157
158
  credentialHandle: string;
158
- expectedRevision: number;
159
159
  }>;
160
160
  export declare const kaanaCredentialRevokeMutationSchema: z.ZodObject<{
161
161
  provider: z.ZodString;
@@ -173,24 +173,24 @@ export declare const kaanaCredentialRevokeMutationSchema: z.ZodObject<{
173
173
  environment: "development" | "staging" | "production";
174
174
  ownerAccountId: string;
175
175
  schemaVersion: 1;
176
+ action: "revoke";
177
+ expectedRevision: number;
176
178
  provider: string;
177
179
  connectionId: string;
178
- action: "revoke";
179
180
  operationId: string;
180
181
  operationActor: string;
181
182
  credentialHandle: string;
182
- expectedRevision: number;
183
183
  }, {
184
184
  environment: "development" | "staging" | "production";
185
185
  ownerAccountId: string;
186
186
  schemaVersion: 1;
187
+ action: "revoke";
188
+ expectedRevision: number;
187
189
  provider: string;
188
190
  connectionId: string;
189
- action: "revoke";
190
191
  operationId: string;
191
192
  operationActor: string;
192
193
  credentialHandle: string;
193
- expectedRevision: number;
194
194
  }>;
195
195
  export declare const kaanaCredentialMutationSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
196
196
  provider: z.ZodString;
@@ -207,9 +207,9 @@ export declare const kaanaCredentialMutationSchema: z.ZodDiscriminatedUnion<"act
207
207
  environment: "development" | "staging" | "production";
208
208
  ownerAccountId: string;
209
209
  schemaVersion: 1;
210
+ action: "create";
210
211
  provider: string;
211
212
  connectionId: string;
212
- action: "create";
213
213
  operationId: string;
214
214
  operationActor: string;
215
215
  secretBase64: string;
@@ -217,9 +217,9 @@ export declare const kaanaCredentialMutationSchema: z.ZodDiscriminatedUnion<"act
217
217
  environment: "development" | "staging" | "production";
218
218
  ownerAccountId: string;
219
219
  schemaVersion: 1;
220
+ action: "create";
220
221
  provider: string;
221
222
  connectionId: string;
222
- action: "create";
223
223
  operationId: string;
224
224
  operationActor: string;
225
225
  secretBase64: string;
@@ -240,26 +240,26 @@ export declare const kaanaCredentialMutationSchema: z.ZodDiscriminatedUnion<"act
240
240
  environment: "development" | "staging" | "production";
241
241
  ownerAccountId: string;
242
242
  schemaVersion: 1;
243
+ action: "rotate";
244
+ expectedRevision: number;
243
245
  provider: string;
244
246
  connectionId: string;
245
- action: "rotate";
246
247
  operationId: string;
247
248
  operationActor: string;
248
249
  secretBase64: string;
249
250
  credentialHandle: string;
250
- expectedRevision: number;
251
251
  }, {
252
252
  environment: "development" | "staging" | "production";
253
253
  ownerAccountId: string;
254
254
  schemaVersion: 1;
255
+ action: "rotate";
256
+ expectedRevision: number;
255
257
  provider: string;
256
258
  connectionId: string;
257
- action: "rotate";
258
259
  operationId: string;
259
260
  operationActor: string;
260
261
  secretBase64: string;
261
262
  credentialHandle: string;
262
- expectedRevision: number;
263
263
  }>, z.ZodObject<{
264
264
  provider: z.ZodString;
265
265
  ownerAccountId: z.ZodString;
@@ -276,24 +276,24 @@ export declare const kaanaCredentialMutationSchema: z.ZodDiscriminatedUnion<"act
276
276
  environment: "development" | "staging" | "production";
277
277
  ownerAccountId: string;
278
278
  schemaVersion: 1;
279
+ action: "revoke";
280
+ expectedRevision: number;
279
281
  provider: string;
280
282
  connectionId: string;
281
- action: "revoke";
282
283
  operationId: string;
283
284
  operationActor: string;
284
285
  credentialHandle: string;
285
- expectedRevision: number;
286
286
  }, {
287
287
  environment: "development" | "staging" | "production";
288
288
  ownerAccountId: string;
289
289
  schemaVersion: 1;
290
+ action: "revoke";
291
+ expectedRevision: number;
290
292
  provider: string;
291
293
  connectionId: string;
292
- action: "revoke";
293
294
  operationId: string;
294
295
  operationActor: string;
295
296
  credentialHandle: string;
296
- expectedRevision: number;
297
297
  }>]>;
298
298
  export declare const kaanaCredentialCreateOutcomeRequestSchema: z.ZodObject<{
299
299
  provider: z.ZodString;
@@ -308,17 +308,17 @@ export declare const kaanaCredentialCreateOutcomeRequestSchema: z.ZodObject<{
308
308
  environment: "development" | "staging" | "production";
309
309
  ownerAccountId: string;
310
310
  schemaVersion: 1;
311
+ action: "create";
311
312
  provider: string;
312
313
  connectionId: string;
313
- action: "create";
314
314
  operationId: string;
315
315
  }, {
316
316
  environment: "development" | "staging" | "production";
317
317
  ownerAccountId: string;
318
318
  schemaVersion: 1;
319
+ action: "create";
319
320
  provider: string;
320
321
  connectionId: string;
321
- action: "create";
322
322
  operationId: string;
323
323
  }>;
324
324
  export declare const kaanaCredentialRotateOutcomeRequestSchema: z.ZodObject<{
@@ -336,22 +336,22 @@ export declare const kaanaCredentialRotateOutcomeRequestSchema: z.ZodObject<{
336
336
  environment: "development" | "staging" | "production";
337
337
  ownerAccountId: string;
338
338
  schemaVersion: 1;
339
+ action: "rotate";
340
+ expectedRevision: number;
339
341
  provider: string;
340
342
  connectionId: string;
341
- action: "rotate";
342
343
  operationId: string;
343
344
  credentialHandle: string;
344
- expectedRevision: number;
345
345
  }, {
346
346
  environment: "development" | "staging" | "production";
347
347
  ownerAccountId: string;
348
348
  schemaVersion: 1;
349
+ action: "rotate";
350
+ expectedRevision: number;
349
351
  provider: string;
350
352
  connectionId: string;
351
- action: "rotate";
352
353
  operationId: string;
353
354
  credentialHandle: string;
354
- expectedRevision: number;
355
355
  }>;
356
356
  export declare const kaanaCredentialRevokeOutcomeRequestSchema: z.ZodObject<{
357
357
  provider: z.ZodString;
@@ -368,22 +368,22 @@ export declare const kaanaCredentialRevokeOutcomeRequestSchema: z.ZodObject<{
368
368
  environment: "development" | "staging" | "production";
369
369
  ownerAccountId: string;
370
370
  schemaVersion: 1;
371
+ action: "revoke";
372
+ expectedRevision: number;
371
373
  provider: string;
372
374
  connectionId: string;
373
- action: "revoke";
374
375
  operationId: string;
375
376
  credentialHandle: string;
376
- expectedRevision: number;
377
377
  }, {
378
378
  environment: "development" | "staging" | "production";
379
379
  ownerAccountId: string;
380
380
  schemaVersion: 1;
381
+ action: "revoke";
382
+ expectedRevision: number;
381
383
  provider: string;
382
384
  connectionId: string;
383
- action: "revoke";
384
385
  operationId: string;
385
386
  credentialHandle: string;
386
- expectedRevision: number;
387
387
  }>;
388
388
  export declare const kaanaCredentialOutcomeRequestSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
389
389
  provider: z.ZodString;
@@ -398,17 +398,17 @@ export declare const kaanaCredentialOutcomeRequestSchema: z.ZodDiscriminatedUnio
398
398
  environment: "development" | "staging" | "production";
399
399
  ownerAccountId: string;
400
400
  schemaVersion: 1;
401
+ action: "create";
401
402
  provider: string;
402
403
  connectionId: string;
403
- action: "create";
404
404
  operationId: string;
405
405
  }, {
406
406
  environment: "development" | "staging" | "production";
407
407
  ownerAccountId: string;
408
408
  schemaVersion: 1;
409
+ action: "create";
409
410
  provider: string;
410
411
  connectionId: string;
411
- action: "create";
412
412
  operationId: string;
413
413
  }>, z.ZodObject<{
414
414
  provider: z.ZodString;
@@ -425,22 +425,22 @@ export declare const kaanaCredentialOutcomeRequestSchema: z.ZodDiscriminatedUnio
425
425
  environment: "development" | "staging" | "production";
426
426
  ownerAccountId: string;
427
427
  schemaVersion: 1;
428
+ action: "rotate";
429
+ expectedRevision: number;
428
430
  provider: string;
429
431
  connectionId: string;
430
- action: "rotate";
431
432
  operationId: string;
432
433
  credentialHandle: string;
433
- expectedRevision: number;
434
434
  }, {
435
435
  environment: "development" | "staging" | "production";
436
436
  ownerAccountId: string;
437
437
  schemaVersion: 1;
438
+ action: "rotate";
439
+ expectedRevision: number;
438
440
  provider: string;
439
441
  connectionId: string;
440
- action: "rotate";
441
442
  operationId: string;
442
443
  credentialHandle: string;
443
- expectedRevision: number;
444
444
  }>, z.ZodObject<{
445
445
  provider: z.ZodString;
446
446
  ownerAccountId: z.ZodString;
@@ -456,22 +456,22 @@ export declare const kaanaCredentialOutcomeRequestSchema: z.ZodDiscriminatedUnio
456
456
  environment: "development" | "staging" | "production";
457
457
  ownerAccountId: string;
458
458
  schemaVersion: 1;
459
+ action: "revoke";
460
+ expectedRevision: number;
459
461
  provider: string;
460
462
  connectionId: string;
461
- action: "revoke";
462
463
  operationId: string;
463
464
  credentialHandle: string;
464
- expectedRevision: number;
465
465
  }, {
466
466
  environment: "development" | "staging" | "production";
467
467
  ownerAccountId: string;
468
468
  schemaVersion: 1;
469
+ action: "revoke";
470
+ expectedRevision: number;
469
471
  provider: string;
470
472
  connectionId: string;
471
- action: "revoke";
472
473
  operationId: string;
473
474
  credentialHandle: string;
474
- expectedRevision: number;
475
475
  }>]>;
476
476
  export declare const kaanaCredentialAppliedOutcomeSchema: z.ZodObject<{
477
477
  schemaVersion: z.ZodLiteral<1>;