@oxy.so/contracts 4.16.0 → 4.21.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 (135) hide show
  1. package/dist/cjs/accountAccess.js +72 -0
  2. package/dist/cjs/accountEmail.js +12 -34
  3. package/dist/cjs/accountGraph.js +22 -320
  4. package/dist/cjs/agency.js +112 -1
  5. package/dist/cjs/agentKeys.js +11 -13
  6. package/dist/cjs/applicationRoles.js +211 -0
  7. package/dist/cjs/client/accountEmail.js +48 -0
  8. package/dist/cjs/client/accountGraph.js +323 -0
  9. package/dist/cjs/client/agentKeys.js +77 -0
  10. package/dist/cjs/client/check.js +475 -0
  11. package/dist/cjs/client/deviceBoot.js +22 -0
  12. package/dist/cjs/client/deviceDirectory.js +51 -0
  13. package/dist/cjs/client/deviceSession.js +63 -0
  14. package/dist/cjs/client/externalIdentity.js +19 -0
  15. package/dist/cjs/client/identity.js +45 -0
  16. package/dist/cjs/client/identityLink.js +55 -0
  17. package/dist/cjs/client/identityProof.js +109 -0
  18. package/dist/cjs/client/index.js +211 -0
  19. package/dist/cjs/client/organizations.js +114 -0
  20. package/dist/cjs/client/products.js +153 -0
  21. package/dist/cjs/client/recommendations.js +33 -0
  22. package/dist/cjs/client/reputation.js +41 -0
  23. package/dist/cjs/client/safety.js +196 -0
  24. package/dist/cjs/client/sessionStatus.js +23 -0
  25. package/dist/cjs/client/signIn.js +159 -0
  26. package/dist/cjs/client/userResponse.js +15 -0
  27. package/dist/cjs/client/username.js +173 -0
  28. package/dist/cjs/deviceSession.js +3 -16
  29. package/dist/cjs/identityLink.js +13 -34
  30. package/dist/cjs/identityProof.js +18 -106
  31. package/dist/cjs/index.js +13 -3
  32. package/dist/cjs/organizations.js +21 -41
  33. package/dist/cjs/reputation.js +3 -34
  34. package/dist/cjs/safety.js +430 -1
  35. package/dist/cjs/serviceToken.js +14 -0
  36. package/dist/cjs/signIn.js +33 -111
  37. package/dist/cjs/username.js +23 -158
  38. package/dist/esm/accountAccess.js +69 -0
  39. package/dist/esm/accountEmail.js +4 -32
  40. package/dist/esm/accountGraph.js +4 -309
  41. package/dist/esm/agency.js +111 -0
  42. package/dist/esm/agentKeys.js +4 -10
  43. package/dist/esm/applicationRoles.js +207 -0
  44. package/dist/esm/client/accountEmail.js +45 -0
  45. package/dist/esm/client/accountGraph.js +314 -0
  46. package/dist/esm/client/agentKeys.js +74 -0
  47. package/dist/esm/client/check.js +436 -0
  48. package/dist/esm/client/deviceBoot.js +19 -0
  49. package/dist/esm/client/deviceDirectory.js +48 -0
  50. package/dist/esm/client/deviceSession.js +60 -0
  51. package/dist/esm/client/externalIdentity.js +16 -0
  52. package/dist/esm/client/identity.js +42 -0
  53. package/dist/esm/client/identityLink.js +50 -0
  54. package/dist/esm/client/identityProof.js +104 -0
  55. package/dist/esm/client/index.js +37 -0
  56. package/dist/esm/client/organizations.js +111 -0
  57. package/dist/esm/client/products.js +150 -0
  58. package/dist/esm/client/recommendations.js +30 -0
  59. package/dist/esm/client/reputation.js +37 -0
  60. package/dist/esm/client/safety.js +193 -0
  61. package/dist/esm/client/sessionStatus.js +20 -0
  62. package/dist/esm/client/signIn.js +153 -0
  63. package/dist/esm/client/userResponse.js +12 -0
  64. package/dist/esm/client/username.js +167 -0
  65. package/dist/esm/deviceSession.js +1 -15
  66. package/dist/esm/identityLink.js +4 -27
  67. package/dist/esm/identityProof.js +4 -99
  68. package/dist/esm/index.js +4 -1
  69. package/dist/esm/organizations.js +4 -31
  70. package/dist/esm/reputation.js +1 -32
  71. package/dist/esm/safety.js +423 -0
  72. package/dist/esm/serviceToken.js +11 -0
  73. package/dist/esm/signIn.js +4 -96
  74. package/dist/esm/username.js +4 -148
  75. package/dist/types/accountAccess.d.ts +128 -0
  76. package/dist/types/accountEmail.d.ts +4 -36
  77. package/dist/types/accountGraph.d.ts +12 -208
  78. package/dist/types/agency.d.ts +351 -26
  79. package/dist/types/agentKeys.d.ts +14 -12
  80. package/dist/types/applicationRoles.d.ts +438 -0
  81. package/dist/types/client/accountEmail.d.ts +44 -0
  82. package/dist/types/client/accountGraph.d.ts +203 -0
  83. package/dist/types/client/agentKeys.d.ts +113 -0
  84. package/dist/types/client/check.d.ts +187 -0
  85. package/dist/types/client/deviceBoot.d.ts +6 -0
  86. package/dist/types/client/deviceDirectory.d.ts +134 -0
  87. package/dist/types/client/deviceSession.d.ts +91 -0
  88. package/dist/types/client/externalIdentity.d.ts +14 -0
  89. package/dist/types/client/identity.d.ts +8 -0
  90. package/dist/types/client/identityLink.d.ts +21 -0
  91. package/dist/types/client/identityProof.d.ts +73 -0
  92. package/dist/types/client/index.d.ts +37 -0
  93. package/dist/types/client/organizations.d.ts +167 -0
  94. package/dist/types/client/products.d.ts +145 -0
  95. package/dist/types/client/recommendations.d.ts +27 -0
  96. package/dist/types/client/reputation.d.ts +28 -0
  97. package/dist/types/client/safety.d.ts +213 -0
  98. package/dist/types/client/sessionStatus.d.ts +19 -0
  99. package/dist/types/client/signIn.d.ts +107 -0
  100. package/dist/types/client/userResponse.d.ts +7 -0
  101. package/dist/types/client/username.d.ts +126 -0
  102. package/dist/types/deviceDirectory.d.ts +28 -28
  103. package/dist/types/deviceSession.d.ts +5 -16
  104. package/dist/types/email/messages.d.ts +2 -2
  105. package/dist/types/externalIdentity.d.ts +15 -15
  106. package/dist/types/identityLink.d.ts +3 -11
  107. package/dist/types/identityProof.d.ts +2 -65
  108. package/dist/types/index.d.ts +5 -2
  109. package/dist/types/inference/accountBilling.d.ts +2 -2
  110. package/dist/types/inference/catalogue.d.ts +22 -22
  111. package/dist/types/inference/decisions.d.ts +10 -10
  112. package/dist/types/inference/embeddings.d.ts +16 -16
  113. package/dist/types/inference/errors.d.ts +8 -8
  114. package/dist/types/inference/inbox.d.ts +8 -8
  115. package/dist/types/inference/privateAutoExecution.d.ts +6 -6
  116. package/dist/types/inference/providerConnection.d.ts +4 -4
  117. package/dist/types/inference/realtime.d.ts +92 -92
  118. package/dist/types/inference/request.d.ts +48 -48
  119. package/dist/types/inference/streamEvents.d.ts +16 -16
  120. package/dist/types/inference/usage.d.ts +4 -4
  121. package/dist/types/oauth.d.ts +2 -2
  122. package/dist/types/organizations.d.ts +8 -10
  123. package/dist/types/products/access.d.ts +4 -4
  124. package/dist/types/products/billing.d.ts +3 -0
  125. package/dist/types/reputation.d.ts +1 -11
  126. package/dist/types/safety.d.ts +2374 -2
  127. package/dist/types/serviceToken.d.ts +11 -0
  128. package/dist/types/sessionStatus.d.ts +2 -2
  129. package/dist/types/signIn.d.ts +11 -94
  130. package/dist/types/userResponse.d.ts +22 -22
  131. package/dist/types/username.d.ts +1 -96
  132. package/package.json +24 -20
  133. package/dist/cjs/.tsbuildinfo +0 -1
  134. package/dist/esm/.tsbuildinfo +0 -1
  135. package/dist/types/.tsbuildinfo +0 -1
@@ -427,14 +427,14 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
427
427
  message: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
428
428
  }, "strict", z.ZodTypeAny, {
429
429
  provider: string;
430
- status?: number | undefined;
431
430
  code?: string | undefined;
432
431
  message?: string | undefined;
432
+ status?: number | undefined;
433
433
  }, {
434
434
  provider: string;
435
- status?: number | undefined;
436
435
  code?: string | undefined;
437
436
  message?: string | undefined;
437
+ status?: number | undefined;
438
438
  }>>;
439
439
  }, "strip", z.ZodTypeAny, {
440
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";
@@ -447,9 +447,9 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
447
447
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
448
448
  providerError?: {
449
449
  provider: string;
450
- status?: number | undefined;
451
450
  code?: string | undefined;
452
451
  message?: string | undefined;
452
+ status?: number | undefined;
453
453
  } | undefined;
454
454
  }, {
455
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";
@@ -462,9 +462,9 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
462
462
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
463
463
  providerError?: {
464
464
  provider: string;
465
- status?: number | undefined;
466
465
  code?: string | undefined;
467
466
  message?: string | undefined;
467
+ status?: number | undefined;
468
468
  } | undefined;
469
469
  }>, {
470
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";
@@ -477,9 +477,9 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
477
477
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
478
478
  providerError?: {
479
479
  provider: string;
480
- status?: number | undefined;
481
480
  code?: string | undefined;
482
481
  message?: string | undefined;
482
+ status?: number | undefined;
483
483
  } | undefined;
484
484
  }, {
485
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";
@@ -492,9 +492,9 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
492
492
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
493
493
  providerError?: {
494
494
  provider: string;
495
- status?: number | undefined;
496
495
  code?: string | undefined;
497
496
  message?: string | undefined;
497
+ status?: number | undefined;
498
498
  } | undefined;
499
499
  }>;
500
500
  }, "strip", z.ZodTypeAny, {
@@ -510,9 +510,9 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
510
510
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
511
511
  providerError?: {
512
512
  provider: string;
513
- status?: number | undefined;
514
513
  code?: string | undefined;
515
514
  message?: string | undefined;
515
+ status?: number | undefined;
516
516
  } | undefined;
517
517
  };
518
518
  schemaVersion: 1;
@@ -531,9 +531,9 @@ export declare const inferenceStreamErrorEventSchema: z.ZodObject<{
531
531
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
532
532
  providerError?: {
533
533
  provider: string;
534
- status?: number | undefined;
535
534
  code?: string | undefined;
536
535
  message?: string | undefined;
536
+ status?: number | undefined;
537
537
  } | undefined;
538
538
  };
539
539
  schemaVersion: 1;
@@ -863,14 +863,14 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
863
863
  message: z.ZodOptional<z.ZodEffects<z.ZodString, string, string>>;
864
864
  }, "strict", z.ZodTypeAny, {
865
865
  provider: string;
866
- status?: number | undefined;
867
866
  code?: string | undefined;
868
867
  message?: string | undefined;
868
+ status?: number | undefined;
869
869
  }, {
870
870
  provider: string;
871
- status?: number | undefined;
872
871
  code?: string | undefined;
873
872
  message?: string | undefined;
873
+ status?: number | undefined;
874
874
  }>>;
875
875
  }, "strip", z.ZodTypeAny, {
876
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";
@@ -883,9 +883,9 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
883
883
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
884
884
  providerError?: {
885
885
  provider: string;
886
- status?: number | undefined;
887
886
  code?: string | undefined;
888
887
  message?: string | undefined;
888
+ status?: number | undefined;
889
889
  } | undefined;
890
890
  }, {
891
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";
@@ -898,9 +898,9 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
898
898
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
899
899
  providerError?: {
900
900
  provider: string;
901
- status?: number | undefined;
902
901
  code?: string | undefined;
903
902
  message?: string | undefined;
903
+ status?: number | undefined;
904
904
  } | undefined;
905
905
  }>, {
906
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";
@@ -913,9 +913,9 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
913
913
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
914
914
  providerError?: {
915
915
  provider: string;
916
- status?: number | undefined;
917
916
  code?: string | undefined;
918
917
  message?: string | undefined;
918
+ status?: number | undefined;
919
919
  } | undefined;
920
920
  }, {
921
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";
@@ -928,9 +928,9 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
928
928
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
929
929
  providerError?: {
930
930
  provider: string;
931
- status?: number | undefined;
932
931
  code?: string | undefined;
933
932
  message?: string | undefined;
933
+ status?: number | undefined;
934
934
  } | undefined;
935
935
  }>;
936
936
  }, "strip", z.ZodTypeAny, {
@@ -946,9 +946,9 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
946
946
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
947
947
  providerError?: {
948
948
  provider: string;
949
- status?: number | undefined;
950
949
  code?: string | undefined;
951
950
  message?: string | undefined;
951
+ status?: number | undefined;
952
952
  } | undefined;
953
953
  };
954
954
  schemaVersion: 1;
@@ -967,9 +967,9 @@ export declare const inferenceStreamEventSchema: z.ZodDiscriminatedUnion<"type",
967
967
  upstreamCategory?: "unknown" | "authentication" | "invalid_request" | "rate_limit" | "quota" | "timeout" | "overloaded" | "server_error" | "content_filter" | undefined;
968
968
  providerError?: {
969
969
  provider: string;
970
- status?: number | undefined;
971
970
  code?: string | undefined;
972
971
  message?: string | undefined;
972
+ status?: number | undefined;
973
973
  } | undefined;
974
974
  };
975
975
  schemaVersion: 1;
@@ -258,8 +258,8 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
258
258
  settledReceiptId: z.ZodOptional<z.ZodString>;
259
259
  }, "strip", z.ZodTypeAny, {
260
260
  status: "expired" | "held" | "settled" | "released";
261
- expiresAt: string;
262
261
  createdAt: string;
262
+ expiresAt: string;
263
263
  schemaVersion: 1;
264
264
  currency: string;
265
265
  reservationId: string;
@@ -283,8 +283,8 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
283
283
  settledReceiptId?: string | undefined;
284
284
  }, {
285
285
  status: "expired" | "held" | "settled" | "released";
286
- expiresAt: string;
287
286
  createdAt: string;
287
+ expiresAt: string;
288
288
  schemaVersion: 1;
289
289
  currency: string;
290
290
  reservationId: string;
@@ -308,8 +308,8 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
308
308
  settledReceiptId?: string | undefined;
309
309
  }>, {
310
310
  status: "expired" | "held" | "settled" | "released";
311
- expiresAt: string;
312
311
  createdAt: string;
312
+ expiresAt: string;
313
313
  schemaVersion: 1;
314
314
  currency: string;
315
315
  reservationId: string;
@@ -333,8 +333,8 @@ export declare const usageReservationSchema: z.ZodEffects<z.ZodObject<{
333
333
  settledReceiptId?: string | undefined;
334
334
  }, {
335
335
  status: "expired" | "held" | "settled" | "released";
336
- expiresAt: string;
337
336
  createdAt: string;
337
+ expiresAt: string;
338
338
  schemaVersion: 1;
339
339
  currency: string;
340
340
  reservationId: string;
@@ -74,13 +74,13 @@ export declare const oauthAuthorizeCodeResponseSchema: z.ZodObject<{
74
74
  }, "strip", z.ZodTypeAny, {
75
75
  code: string;
76
76
  state: string | null;
77
- redirectUri: string;
78
77
  expiresIn: number;
78
+ redirectUri: string;
79
79
  }, {
80
80
  code: string;
81
81
  state: string | null;
82
- redirectUri: string;
83
82
  expiresIn: number;
83
+ redirectUri: string;
84
84
  }>;
85
85
  /**
86
86
  * Display-safe identity of a dynamically registered external MCP client.
@@ -1,10 +1,5 @@
1
1
  import { z } from 'zod';
2
- /** Real-world identity classification, independent of account topics and permissions. */
3
- export declare const ORGANIZATION_TYPES: readonly ["business", "nonprofit", "public_body", "community", "other"];
4
- export declare const ORGANIZATION_STATUSES: readonly ["active", "inactive", "merged", "suppressed"];
5
- export declare const ORGANIZATION_CLAIM_STATUSES: readonly ["unclaimed", "claimed"];
6
- export declare const ORGANIZATION_ALIAS_KINDS: readonly ["name_variant", "former_name", "localized_name", "marketing_name", "misspelling"];
7
- export declare const ORGANIZATION_CLAIM_DECISIONS: readonly ["pending", "approved", "rejected"];
2
+ export { ORGANIZATION_TYPES, ORGANIZATION_STATUSES, ORGANIZATION_CLAIM_STATUSES, ORGANIZATION_ALIAS_KINDS, ORGANIZATION_CLAIM_DECISIONS, ORGANIZATION_NAME_MAX_LENGTH, ORGANIZATION_ERROR_CODES, } from './client/organizations';
8
3
  export declare const organizationAliasSchema: z.ZodObject<{
9
4
  alias: z.ZodString;
10
5
  kind: z.ZodEnum<["name_variant", "former_name", "localized_name", "marketing_name", "misspelling"]>;
@@ -18,7 +13,6 @@ export declare const organizationAliasSchema: z.ZodObject<{
18
13
  kind: "name_variant" | "former_name" | "localized_name" | "marketing_name" | "misspelling";
19
14
  language?: string | undefined;
20
15
  }>;
21
- export declare const ORGANIZATION_NAME_MAX_LENGTH = 300;
22
16
  export declare const organizationNameSchema: z.ZodEffects<z.ZodString, string, string>;
23
17
  export declare const createOrganizationSchema: z.ZodObject<{
24
18
  name: z.ZodEffects<z.ZodString, string, string>;
@@ -686,8 +680,8 @@ export declare const organizationExternalInputSchema: z.ZodObject<{
686
680
  }[] | undefined;
687
681
  };
688
682
  evidenceReference: string;
689
- namespace: string;
690
683
  externalId: string;
684
+ namespace: string;
691
685
  accountId?: string | undefined;
692
686
  avatarFileId?: string | undefined;
693
687
  }, {
@@ -704,8 +698,8 @@ export declare const organizationExternalInputSchema: z.ZodObject<{
704
698
  }[] | undefined;
705
699
  };
706
700
  evidenceReference: string;
707
- namespace: string;
708
701
  externalId: string;
702
+ namespace: string;
709
703
  accountId?: string | undefined;
710
704
  avatarFileId?: string | undefined;
711
705
  }>;
@@ -925,7 +919,6 @@ export declare const organizationMergeSchema: z.ZodObject<{
925
919
  evidenceReference: string;
926
920
  targetAccountId: string;
927
921
  }>;
928
- export declare const ORGANIZATION_ERROR_CODES: readonly ["bad_request", "unauthorized", "forbidden", "not_found", "unknown_route", "conflict", "validation_failed", "rate_limited", "internal_error", "service_unavailable"];
929
922
  export declare const organizationErrorSchema: z.ZodObject<{
930
923
  error: z.ZodObject<{
931
924
  code: z.ZodEnum<["bad_request", "unauthorized", "forbidden", "not_found", "unknown_route", "conflict", "validation_failed", "rate_limited", "internal_error", "service_unavailable"]>;
@@ -1086,3 +1079,8 @@ export declare const organizationCurationResultSchema: z.ZodObject<{
1086
1079
  accountId: string;
1087
1080
  }>;
1088
1081
  export type OrganizationCuration = z.infer<typeof organizationCurationSchema>;
1082
+ export type OrganizationClaimList = z.infer<typeof organizationClaimListSchema>;
1083
+ export type OrganizationImportBatchResult = z.infer<typeof organizationImportBatchResultSchema>;
1084
+ export type OrganizationExternal = z.infer<typeof organizationExternalSchema>;
1085
+ export type OrganizationExternalResolution = z.infer<typeof organizationExternalResolutionSchema>;
1086
+ export type OrganizationCurationResult = z.infer<typeof organizationCurationResultSchema>;
@@ -689,7 +689,6 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
689
689
  };
690
690
  }>, "many">;
691
691
  }, "strict", z.ZodTypeAny, {
692
- schemaVersion: 1;
693
692
  access: {
694
693
  schemaVersion: 1;
695
694
  subjectAccountId: string & z.BRAND<"OxyAccountId">;
@@ -712,6 +711,7 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
712
711
  grantIds: string[];
713
712
  }[];
714
713
  };
714
+ schemaVersion: 1;
715
715
  grants: {
716
716
  id: string;
717
717
  schemaVersion: 1;
@@ -739,7 +739,6 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
739
739
  };
740
740
  }[];
741
741
  }, {
742
- schemaVersion: 1;
743
742
  access: {
744
743
  schemaVersion: 1;
745
744
  subjectAccountId: string;
@@ -762,6 +761,7 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
762
761
  grantIds: string[];
763
762
  }[];
764
763
  };
764
+ schemaVersion: 1;
765
765
  grants: {
766
766
  id: string;
767
767
  schemaVersion: 1;
@@ -789,7 +789,6 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
789
789
  };
790
790
  }[];
791
791
  }>, {
792
- schemaVersion: 1;
793
792
  access: {
794
793
  schemaVersion: 1;
795
794
  subjectAccountId: string & z.BRAND<"OxyAccountId">;
@@ -812,6 +811,7 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
812
811
  grantIds: string[];
813
812
  }[];
814
813
  };
814
+ schemaVersion: 1;
815
815
  grants: {
816
816
  id: string;
817
817
  schemaVersion: 1;
@@ -839,7 +839,6 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
839
839
  };
840
840
  }[];
841
841
  }, {
842
- schemaVersion: 1;
843
842
  access: {
844
843
  schemaVersion: 1;
845
844
  subjectAccountId: string;
@@ -862,6 +861,7 @@ export declare const subjectProductGrantSnapshotSchema: z.ZodEffects<z.ZodObject
862
861
  grantIds: string[];
863
862
  }[];
864
863
  };
864
+ schemaVersion: 1;
865
865
  grants: {
866
866
  id: string;
867
867
  schemaVersion: 1;
@@ -564,3 +564,6 @@ export declare const productSubscriptionCancellationResultSchema: z.ZodUnion<[z.
564
564
  reconciliationPending: true;
565
565
  }>]>;
566
566
  export type ProductSubscriptionCancellationResult = z.infer<typeof productSubscriptionCancellationResultSchema>;
567
+ export type ProductSubscriptionsResponse = z.infer<typeof productSubscriptionsResponseSchema>;
568
+ export type SubscriptionCreditGrantsResponse = z.infer<typeof subscriptionCreditGrantsResponseSchema>;
569
+ export type CancelProductSubscription = z.infer<typeof cancelProductSubscriptionSchema>;
@@ -41,6 +41,7 @@
41
41
  import { z } from 'zod';
42
42
  import { type UserNameResponse } from './userResponse';
43
43
  import { type ReputationConduct, type ReputationContextualInfluence, type ReputationContribution, type ReputationPersonhood, type ReputationReporting, type ReputationReviewing } from './moderationReputation';
44
+ export { isFullReputationBalance } from './client/reputation';
44
45
  /**
45
46
  * Category bucket a reputation transaction falls into. Drives the per-category
46
47
  * balance breakdown; every rule and transaction carries exactly one.
@@ -255,17 +256,6 @@ export declare const reputationBalanceSchema: z.ZodType<ReputationBalance>;
255
256
  * requires narrowing with {@link isFullReputationBalance}.
256
257
  */
257
258
  export type ReputationBalanceView = ReputationBalance | ReputationBalanceSummary;
258
- /**
259
- * Whether a balance came back as the SUBJECT view, and so carries the
260
- * breakdown / influence / reliability blocks.
261
- *
262
- * Checks every extra field rather than one representative: the point of the
263
- * guard is that the caller then dereferences those blocks, so a partial payload
264
- * must not narrow.
265
- *
266
- * @param balance - A balance from `getReputationBalance`.
267
- */
268
- export declare function isFullReputationBalance(balance: ReputationBalanceView): balance is ReputationBalance;
269
259
  /**
270
260
  * A reputation award/penalty rule, keyed by `actionType`. Rules are defined in
271
261
  * Oxy's code and versioned; no endpoint edits them.