@oxy.so/contracts 4.13.0 → 4.15.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 (57) hide show
  1. package/dist/cjs/.tsbuildinfo +1 -1
  2. package/dist/cjs/accountGraph.js +23 -4
  3. package/dist/cjs/index.js +19 -15
  4. package/dist/cjs/organizations.js +210 -0
  5. package/dist/cjs/products/billing.js +1 -0
  6. package/dist/cjs/products/checkout.js +14 -1
  7. package/dist/cjs/products/plans.js +18 -2
  8. package/dist/cjs/safety.js +15 -0
  9. package/dist/cjs/userResponse.js +8 -1
  10. package/dist/esm/.tsbuildinfo +1 -1
  11. package/dist/esm/accountGraph.js +21 -2
  12. package/dist/esm/index.js +4 -2
  13. package/dist/esm/organizations.js +207 -0
  14. package/dist/esm/products/billing.js +1 -0
  15. package/dist/esm/products/checkout.js +13 -0
  16. package/dist/esm/products/plans.js +17 -1
  17. package/dist/esm/safety.js +12 -0
  18. package/dist/esm/userResponse.js +8 -1
  19. package/dist/types/.tsbuildinfo +1 -1
  20. package/dist/types/accountGraph.d.ts +50 -18
  21. package/dist/types/agency.d.ts +42 -42
  22. package/dist/types/deviceDirectory.d.ts +56 -56
  23. package/dist/types/email/messages.d.ts +56 -56
  24. package/dist/types/externalIdentity.d.ts +56 -23
  25. package/dist/types/index.d.ts +4 -2
  26. package/dist/types/inference/accountBilling.d.ts +36 -36
  27. package/dist/types/inference/catalogue.d.ts +12 -12
  28. package/dist/types/inference/decisions.d.ts +16 -16
  29. package/dist/types/inference/economics.d.ts +6 -6
  30. package/dist/types/inference/embeddings.d.ts +18 -18
  31. package/dist/types/inference/entitlement.d.ts +12 -12
  32. package/dist/types/inference/errors.d.ts +4 -4
  33. package/dist/types/inference/inbox.d.ts +17 -17
  34. package/dist/types/inference/priceVersion.d.ts +8 -8
  35. package/dist/types/inference/privateAutoExecution.d.ts +12 -12
  36. package/dist/types/inference/providerConnection.d.ts +24 -24
  37. package/dist/types/inference/realtime.d.ts +26 -26
  38. package/dist/types/inference/request.d.ts +26 -26
  39. package/dist/types/inference/routingPolicy.d.ts +4 -4
  40. package/dist/types/inference/scopedExecution.d.ts +8 -8
  41. package/dist/types/inference/streamEvents.d.ts +20 -20
  42. package/dist/types/inference/usage.d.ts +8 -8
  43. package/dist/types/keyRecovery.d.ts +4 -4
  44. package/dist/types/linkedAccounts.d.ts +16 -16
  45. package/dist/types/notifications.d.ts +4 -4
  46. package/dist/types/oauth.d.ts +40 -40
  47. package/dist/types/organizations.d.ts +1088 -0
  48. package/dist/types/products/access.d.ts +18 -18
  49. package/dist/types/products/billing.d.ts +32 -24
  50. package/dist/types/products/checkout.d.ts +36 -0
  51. package/dist/types/products/plans.d.ts +108 -11
  52. package/dist/types/recommendations.d.ts +2 -2
  53. package/dist/types/safety.d.ts +24 -0
  54. package/dist/types/sessionStatus.d.ts +6 -6
  55. package/dist/types/stickers.d.ts +32 -32
  56. package/dist/types/userResponse.d.ts +169 -33
  57. package/package.json +1 -1
@@ -437,7 +437,7 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
437
437
  message?: string | undefined;
438
438
  }>>;
439
439
  }, "strip", z.ZodTypeAny, {
440
- 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";
440
+ 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";
441
441
  message: string;
442
442
  schemaVersion: 1;
443
443
  requestId: string;
@@ -452,7 +452,7 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
452
452
  message?: string | undefined;
453
453
  } | undefined;
454
454
  }, {
455
- 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";
455
+ 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";
456
456
  message: string;
457
457
  schemaVersion: 1;
458
458
  requestId: string;
@@ -467,7 +467,7 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
467
467
  message?: string | undefined;
468
468
  } | undefined;
469
469
  }>, {
470
- 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";
470
+ 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";
471
471
  message: string;
472
472
  schemaVersion: 1;
473
473
  requestId: string;
@@ -482,7 +482,7 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
482
482
  message?: string | undefined;
483
483
  } | undefined;
484
484
  }, {
485
- 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";
485
+ 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";
486
486
  message: string;
487
487
  schemaVersion: 1;
488
488
  requestId: string;
@@ -499,10 +499,8 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
499
499
  }>;
500
500
  }, "strip", z.ZodTypeAny, {
501
501
  type: "error";
502
- schemaVersion: 1;
503
- requestId: string;
504
502
  error: {
505
- 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";
503
+ 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";
506
504
  message: string;
507
505
  schemaVersion: 1;
508
506
  requestId: string;
@@ -517,13 +515,13 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
517
515
  message?: string | undefined;
518
516
  } | undefined;
519
517
  };
518
+ schemaVersion: 1;
519
+ requestId: string;
520
520
  sequence: number;
521
521
  }, {
522
522
  type: "error";
523
- schemaVersion: 1;
524
- requestId: string;
525
523
  error: {
526
- 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";
524
+ 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";
527
525
  message: string;
528
526
  schemaVersion: 1;
529
527
  requestId: string;
@@ -538,6 +536,8 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
538
536
  message?: string | undefined;
539
537
  } | undefined;
540
538
  };
539
+ schemaVersion: 1;
540
+ requestId: string;
541
541
  sequence: number;
542
542
  }>;
543
543
  /**
@@ -873,7 +873,7 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
873
873
  message?: string | undefined;
874
874
  }>>;
875
875
  }, "strip", z.ZodTypeAny, {
876
- 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";
876
+ 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";
877
877
  message: string;
878
878
  schemaVersion: 1;
879
879
  requestId: string;
@@ -888,7 +888,7 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
888
888
  message?: string | undefined;
889
889
  } | undefined;
890
890
  }, {
891
- 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";
891
+ 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";
892
892
  message: string;
893
893
  schemaVersion: 1;
894
894
  requestId: string;
@@ -903,7 +903,7 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
903
903
  message?: string | undefined;
904
904
  } | undefined;
905
905
  }>, {
906
- 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";
906
+ 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";
907
907
  message: string;
908
908
  schemaVersion: 1;
909
909
  requestId: string;
@@ -918,7 +918,7 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
918
918
  message?: string | undefined;
919
919
  } | undefined;
920
920
  }, {
921
- 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";
921
+ 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";
922
922
  message: string;
923
923
  schemaVersion: 1;
924
924
  requestId: string;
@@ -935,10 +935,8 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
935
935
  }>;
936
936
  }, "strip", z.ZodTypeAny, {
937
937
  type: "error";
938
- schemaVersion: 1;
939
- requestId: string;
940
938
  error: {
941
- 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";
939
+ 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";
942
940
  message: string;
943
941
  schemaVersion: 1;
944
942
  requestId: string;
@@ -953,13 +951,13 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
953
951
  message?: string | undefined;
954
952
  } | undefined;
955
953
  };
954
+ schemaVersion: 1;
955
+ requestId: string;
956
956
  sequence: number;
957
957
  }, {
958
958
  type: "error";
959
- schemaVersion: 1;
960
- requestId: string;
961
959
  error: {
962
- 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";
960
+ 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";
963
961
  message: string;
964
962
  schemaVersion: 1;
965
963
  requestId: string;
@@ -974,6 +972,8 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
974
972
  message?: string | undefined;
975
973
  } | undefined;
976
974
  };
975
+ schemaVersion: 1;
976
+ requestId: string;
977
977
  sequence: number;
978
978
  }>, z.ZodObject<{
979
979
  /** See `version.ts`: each stream event is a whole message on the wire. */
@@ -259,8 +259,8 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
259
259
  }, "strip", z.ZodTypeAny, {
260
260
  status: "expired" | "held" | "settled" | "released";
261
261
  expiresAt: string;
262
- schemaVersion: 1;
263
262
  createdAt: string;
263
+ schemaVersion: 1;
264
264
  currency: string;
265
265
  reservationId: string;
266
266
  reservedAmount: string & z.BRAND<"ExactDecimal">;
@@ -284,8 +284,8 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
284
284
  }, {
285
285
  status: "expired" | "held" | "settled" | "released";
286
286
  expiresAt: string;
287
- schemaVersion: 1;
288
287
  createdAt: string;
288
+ schemaVersion: 1;
289
289
  currency: string;
290
290
  reservationId: string;
291
291
  reservedAmount: string;
@@ -309,8 +309,8 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
309
309
  }>, {
310
310
  status: "expired" | "held" | "settled" | "released";
311
311
  expiresAt: string;
312
- schemaVersion: 1;
313
312
  createdAt: string;
313
+ schemaVersion: 1;
314
314
  currency: string;
315
315
  reservationId: string;
316
316
  reservedAmount: string & z.BRAND<"ExactDecimal">;
@@ -334,8 +334,8 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
334
334
  }, {
335
335
  status: "expired" | "held" | "settled" | "released";
336
336
  expiresAt: string;
337
- schemaVersion: 1;
338
337
  createdAt: string;
338
+ schemaVersion: 1;
339
339
  currency: string;
340
340
  reservationId: string;
341
341
  reservedAmount: string;
@@ -1049,8 +1049,8 @@ export declare const usageRefundSchema: z.ZodEffects<z.ZodObject<{
1049
1049
  currency: z.ZodString;
1050
1050
  createdAt: z.ZodString;
1051
1051
  }, "strip", z.ZodTypeAny, {
1052
- schemaVersion: 1;
1053
1052
  createdAt: string;
1053
+ schemaVersion: 1;
1054
1054
  subject: {
1055
1055
  kind: "reservation";
1056
1056
  reservationId: string;
@@ -1078,8 +1078,8 @@ export declare const usageRefundSchema: z.ZodEffects<z.ZodObject<{
1078
1078
  amount: string & z.BRAND<"ExactDecimal">;
1079
1079
  refundId: string;
1080
1080
  }, {
1081
- schemaVersion: 1;
1082
1081
  createdAt: string;
1082
+ schemaVersion: 1;
1083
1083
  subject: {
1084
1084
  kind: "reservation";
1085
1085
  reservationId: string;
@@ -1107,8 +1107,8 @@ export declare const usageRefundSchema: z.ZodEffects<z.ZodObject<{
1107
1107
  amount: string;
1108
1108
  refundId: string;
1109
1109
  }>, {
1110
- schemaVersion: 1;
1111
1110
  createdAt: string;
1111
+ schemaVersion: 1;
1112
1112
  subject: {
1113
1113
  kind: "reservation";
1114
1114
  reservationId: string;
@@ -1136,8 +1136,8 @@ export declare const usageRefundSchema: z.ZodEffects<z.ZodObject<{
1136
1136
  amount: string & z.BRAND<"ExactDecimal">;
1137
1137
  refundId: string;
1138
1138
  }, {
1139
- schemaVersion: 1;
1140
1139
  createdAt: string;
1140
+ schemaVersion: 1;
1141
1141
  subject: {
1142
1142
  kind: "reservation";
1143
1143
  reservationId: string;
@@ -59,16 +59,16 @@ export declare const encryptedBackupEnvelopeSchema: z.ZodObject<{
59
59
  publicKeyHint: z.ZodString;
60
60
  createdAt: z.ZodString;
61
61
  }, "strip", z.ZodTypeAny, {
62
- version: number;
63
62
  createdAt: string;
63
+ version: number;
64
64
  nonce: string;
65
65
  algorithm: "xchacha20poly1305";
66
66
  kdfInfo: string;
67
67
  ciphertext: string;
68
68
  publicKeyHint: string;
69
69
  }, {
70
- version: number;
71
70
  createdAt: string;
71
+ version: number;
72
72
  nonce: string;
73
73
  algorithm: "xchacha20poly1305";
74
74
  kdfInfo: string;
@@ -98,8 +98,8 @@ export declare const backupUploadRequestSchema: z.ZodObject<{
98
98
  */
99
99
  lookupId: z.ZodString;
100
100
  }, "strip", z.ZodTypeAny, {
101
- version: number;
102
101
  createdAt: string;
102
+ version: number;
103
103
  nonce: string;
104
104
  algorithm: "xchacha20poly1305";
105
105
  kdfInfo: string;
@@ -107,8 +107,8 @@ export declare const backupUploadRequestSchema: z.ZodObject<{
107
107
  publicKeyHint: string;
108
108
  lookupId: string;
109
109
  }, {
110
- version: number;
111
110
  createdAt: string;
111
+ version: number;
112
112
  nonce: string;
113
113
  algorithm: "xchacha20poly1305";
114
114
  kdfInfo: string;
@@ -79,8 +79,8 @@ export declare const linkedAccountSchema: z.ZodObject<{
79
79
  verifiedAt: z.ZodString;
80
80
  createdAt: z.ZodString;
81
81
  }, "strict", z.ZodTypeAny, {
82
- id: string;
83
82
  createdAt: string;
83
+ id: string;
84
84
  verifiedAt: string;
85
85
  network: "activitypub" | "atproto";
86
86
  actorUri: string;
@@ -89,8 +89,8 @@ export declare const linkedAccountSchema: z.ZodObject<{
89
89
  host: string;
90
90
  proofMethod: "oauth";
91
91
  }, {
92
- id: string;
93
92
  createdAt: string;
93
+ id: string;
94
94
  verifiedAt: string;
95
95
  network: "activitypub" | "atproto";
96
96
  actorUri: string;
@@ -114,8 +114,8 @@ export declare const completeLinkedAccountResponseSchema: z.ZodObject<{
114
114
  verifiedAt: z.ZodString;
115
115
  createdAt: z.ZodString;
116
116
  }, "strict", z.ZodTypeAny, {
117
- id: string;
118
117
  createdAt: string;
118
+ id: string;
119
119
  verifiedAt: string;
120
120
  network: "activitypub" | "atproto";
121
121
  actorUri: string;
@@ -124,8 +124,8 @@ export declare const completeLinkedAccountResponseSchema: z.ZodObject<{
124
124
  host: string;
125
125
  proofMethod: "oauth";
126
126
  }, {
127
- id: string;
128
127
  createdAt: string;
128
+ id: string;
129
129
  verifiedAt: string;
130
130
  network: "activitypub" | "atproto";
131
131
  actorUri: string;
@@ -136,8 +136,8 @@ export declare const completeLinkedAccountResponseSchema: z.ZodObject<{
136
136
  }>;
137
137
  }, "strict", z.ZodTypeAny, {
138
138
  linkedAccount: {
139
- id: string;
140
139
  createdAt: string;
140
+ id: string;
141
141
  verifiedAt: string;
142
142
  network: "activitypub" | "atproto";
143
143
  actorUri: string;
@@ -148,8 +148,8 @@ export declare const completeLinkedAccountResponseSchema: z.ZodObject<{
148
148
  };
149
149
  }, {
150
150
  linkedAccount: {
151
- id: string;
152
151
  createdAt: string;
152
+ id: string;
153
153
  verifiedAt: string;
154
154
  network: "activitypub" | "atproto";
155
155
  actorUri: string;
@@ -174,8 +174,8 @@ export declare const linkedAccountListResponseSchema: z.ZodObject<{
174
174
  verifiedAt: z.ZodString;
175
175
  createdAt: z.ZodString;
176
176
  }, "strict", z.ZodTypeAny, {
177
- id: string;
178
177
  createdAt: string;
178
+ id: string;
179
179
  verifiedAt: string;
180
180
  network: "activitypub" | "atproto";
181
181
  actorUri: string;
@@ -184,8 +184,8 @@ export declare const linkedAccountListResponseSchema: z.ZodObject<{
184
184
  host: string;
185
185
  proofMethod: "oauth";
186
186
  }, {
187
- id: string;
188
187
  createdAt: string;
188
+ id: string;
189
189
  verifiedAt: string;
190
190
  network: "activitypub" | "atproto";
191
191
  actorUri: string;
@@ -196,8 +196,8 @@ export declare const linkedAccountListResponseSchema: z.ZodObject<{
196
196
  }>, "many">;
197
197
  }, "strict", z.ZodTypeAny, {
198
198
  linkedAccounts: {
199
- id: string;
200
199
  createdAt: string;
200
+ id: string;
201
201
  verifiedAt: string;
202
202
  network: "activitypub" | "atproto";
203
203
  actorUri: string;
@@ -208,8 +208,8 @@ export declare const linkedAccountListResponseSchema: z.ZodObject<{
208
208
  }[];
209
209
  }, {
210
210
  linkedAccounts: {
211
- id: string;
212
211
  createdAt: string;
212
+ id: string;
213
213
  verifiedAt: string;
214
214
  network: "activitypub" | "atproto";
215
215
  actorUri: string;
@@ -241,8 +241,8 @@ export declare const serviceLinkedAccountSchema: z.ZodObject<{
241
241
  } & {
242
242
  federatedUserId: z.ZodNullable<z.ZodString>;
243
243
  }, "strict", z.ZodTypeAny, {
244
- id: string;
245
244
  createdAt: string;
245
+ id: string;
246
246
  verifiedAt: string;
247
247
  network: "activitypub" | "atproto";
248
248
  actorUri: string;
@@ -252,8 +252,8 @@ export declare const serviceLinkedAccountSchema: z.ZodObject<{
252
252
  proofMethod: "oauth";
253
253
  federatedUserId: string | null;
254
254
  }, {
255
- id: string;
256
255
  createdAt: string;
256
+ id: string;
257
257
  verifiedAt: string;
258
258
  network: "activitypub" | "atproto";
259
259
  actorUri: string;
@@ -281,8 +281,8 @@ export declare const serviceLinkedAccountListResponseSchema: z.ZodObject<{
281
281
  } & {
282
282
  federatedUserId: z.ZodNullable<z.ZodString>;
283
283
  }, "strict", z.ZodTypeAny, {
284
- id: string;
285
284
  createdAt: string;
285
+ id: string;
286
286
  verifiedAt: string;
287
287
  network: "activitypub" | "atproto";
288
288
  actorUri: string;
@@ -292,8 +292,8 @@ export declare const serviceLinkedAccountListResponseSchema: z.ZodObject<{
292
292
  proofMethod: "oauth";
293
293
  federatedUserId: string | null;
294
294
  }, {
295
- id: string;
296
295
  createdAt: string;
296
+ id: string;
297
297
  verifiedAt: string;
298
298
  network: "activitypub" | "atproto";
299
299
  actorUri: string;
@@ -306,8 +306,8 @@ export declare const serviceLinkedAccountListResponseSchema: z.ZodObject<{
306
306
  }, "strict", z.ZodTypeAny, {
307
307
  userId: string;
308
308
  linkedAccounts: {
309
- id: string;
310
309
  createdAt: string;
310
+ id: string;
311
311
  verifiedAt: string;
312
312
  network: "activitypub" | "atproto";
313
313
  actorUri: string;
@@ -320,8 +320,8 @@ export declare const serviceLinkedAccountListResponseSchema: z.ZodObject<{
320
320
  }, {
321
321
  userId: string;
322
322
  linkedAccounts: {
323
- id: string;
324
323
  createdAt: string;
324
+ id: string;
325
325
  verifiedAt: string;
326
326
  network: "activitypub" | "atproto";
327
327
  actorUri: string;
@@ -56,8 +56,8 @@ export declare const createOxyNotificationRequestSchema: z.ZodEffects<z.ZodObjec
56
56
  entityId: string;
57
57
  entityType: "profile" | "reply" | "post" | "app";
58
58
  message?: string | undefined;
59
- data?: Record<string, unknown> | undefined;
60
59
  url?: string | undefined;
60
+ data?: Record<string, unknown> | undefined;
61
61
  title?: string | undefined;
62
62
  }, {
63
63
  type: "system" | "like" | "reply" | "follow" | "mention" | "quote" | "repost" | "welcome";
@@ -66,8 +66,8 @@ export declare const createOxyNotificationRequestSchema: z.ZodEffects<z.ZodObjec
66
66
  entityId: string;
67
67
  entityType: "profile" | "reply" | "post" | "app";
68
68
  message?: string | undefined;
69
- data?: Record<string, unknown> | undefined;
70
69
  url?: string | undefined;
70
+ data?: Record<string, unknown> | undefined;
71
71
  title?: string | undefined;
72
72
  }>, {
73
73
  type: "system" | "like" | "reply" | "follow" | "mention" | "quote" | "repost" | "welcome";
@@ -76,8 +76,8 @@ export declare const createOxyNotificationRequestSchema: z.ZodEffects<z.ZodObjec
76
76
  entityId: string;
77
77
  entityType: "profile" | "reply" | "post" | "app";
78
78
  message?: string | undefined;
79
- data?: Record<string, unknown> | undefined;
80
79
  url?: string | undefined;
80
+ data?: Record<string, unknown> | undefined;
81
81
  title?: string | undefined;
82
82
  }, {
83
83
  type: "system" | "like" | "reply" | "follow" | "mention" | "quote" | "repost" | "welcome";
@@ -86,8 +86,8 @@ export declare const createOxyNotificationRequestSchema: z.ZodEffects<z.ZodObjec
86
86
  entityId: string;
87
87
  entityType: "profile" | "reply" | "post" | "app";
88
88
  message?: string | undefined;
89
- data?: Record<string, unknown> | undefined;
90
89
  url?: string | undefined;
90
+ data?: Record<string, unknown> | undefined;
91
91
  title?: string | undefined;
92
92
  }>;
93
93
  export type CreateOxyNotificationRequest = z.infer<typeof createOxyNotificationRequestSchema>;