@oxy.so/contracts 5.8.0 → 6.0.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 (219) hide show
  1. package/dist/cjs/accountAccess.js +6 -5
  2. package/dist/cjs/accountEmail.js +13 -5
  3. package/dist/cjs/accountGraph.js +10 -9
  4. package/dist/cjs/accountName.js +3 -2
  5. package/dist/cjs/agency.js +91 -34
  6. package/dist/cjs/agentKeys.js +21 -17
  7. package/dist/cjs/appAssertions.js +14 -13
  8. package/dist/cjs/applicationRoles.js +19 -12
  9. package/dist/cjs/civic.js +10 -9
  10. package/dist/cjs/client/check.js +61 -53
  11. package/dist/cjs/consoleOnboarding.js +9 -4
  12. package/dist/cjs/contentClaims.js +23 -14
  13. package/dist/cjs/deviceDirectory.js +11 -9
  14. package/dist/cjs/deviceSession.js +27 -25
  15. package/dist/cjs/email/messages.js +20 -18
  16. package/dist/cjs/emailAgentContext.js +11 -9
  17. package/dist/cjs/externalIdentity.js +15 -11
  18. package/dist/cjs/federationInstanceFetch.js +12 -7
  19. package/dist/cjs/identity.js +19 -17
  20. package/dist/cjs/identityLink.js +6 -4
  21. package/dist/cjs/identityProof.js +6 -4
  22. package/dist/cjs/inboxPush.js +5 -4
  23. package/dist/cjs/index.js +15 -6
  24. package/dist/cjs/inference/accountBilling.js +35 -33
  25. package/dist/cjs/inference/aliaModelRelease.js +9 -7
  26. package/dist/cjs/inference/attribution.js +14 -12
  27. package/dist/cjs/inference/catalogue.js +35 -29
  28. package/dist/cjs/inference/economics.js +24 -19
  29. package/dist/cjs/inference/embeddings.js +9 -7
  30. package/dist/cjs/inference/entitlement.js +17 -15
  31. package/dist/cjs/inference/errors.js +15 -8
  32. package/dist/cjs/inference/identifiers.js +33 -21
  33. package/dist/cjs/inference/inbox.js +37 -35
  34. package/dist/cjs/inference/modelDocumentation.js +16 -14
  35. package/dist/cjs/inference/money.js +5 -4
  36. package/dist/cjs/inference/priceVersion.js +10 -5
  37. package/dist/cjs/inference/providerConnection.js +21 -14
  38. package/dist/cjs/inference/realtime.js +88 -47
  39. package/dist/cjs/inference/request.js +27 -25
  40. package/dist/cjs/inference/routingPolicy.js +12 -10
  41. package/dist/cjs/inference/streamEvents.js +22 -16
  42. package/dist/cjs/inference/usage.js +32 -15
  43. package/dist/cjs/keyRecovery.js +8 -6
  44. package/dist/cjs/keyRotation.js +5 -4
  45. package/dist/cjs/linkedAccounts.js +22 -18
  46. package/dist/cjs/moderationReputation.js +29 -27
  47. package/dist/cjs/notifications.js +25 -9
  48. package/dist/cjs/numberChecks.js +45 -0
  49. package/dist/cjs/oauth.js +14 -12
  50. package/dist/cjs/organizations.js +23 -21
  51. package/dist/cjs/products/access.js +10 -8
  52. package/dist/cjs/products/billing.js +10 -8
  53. package/dist/cjs/products/checkout.js +22 -10
  54. package/dist/cjs/products/plans.js +15 -10
  55. package/dist/cjs/protocol.js +6 -5
  56. package/dist/cjs/recommendations.js +27 -19
  57. package/dist/cjs/reputation.js +15 -13
  58. package/dist/cjs/safety.js +43 -27
  59. package/dist/cjs/serviceToken.js +81 -2
  60. package/dist/cjs/sessionRevocation.js +8 -6
  61. package/dist/cjs/signIn.js +42 -24
  62. package/dist/cjs/stickers.js +19 -15
  63. package/dist/cjs/stringChecks.js +70 -0
  64. package/dist/cjs/transparency.js +14 -12
  65. package/dist/cjs/updates.js +24 -22
  66. package/dist/cjs/userInvalidation.js +7 -5
  67. package/dist/cjs/userResponse.js +8 -7
  68. package/dist/cjs/username.js +7 -6
  69. package/dist/esm/accountAccess.js +4 -3
  70. package/dist/esm/accountEmail.js +13 -5
  71. package/dist/esm/accountGraph.js +8 -7
  72. package/dist/esm/accountName.js +3 -2
  73. package/dist/esm/agency.js +90 -33
  74. package/dist/esm/agentKeys.js +21 -17
  75. package/dist/esm/appAssertions.js +11 -10
  76. package/dist/esm/applicationRoles.js +16 -9
  77. package/dist/esm/civic.js +8 -7
  78. package/dist/esm/client/check.js +61 -53
  79. package/dist/esm/consoleOnboarding.js +7 -2
  80. package/dist/esm/contentClaims.js +23 -14
  81. package/dist/esm/deviceDirectory.js +11 -9
  82. package/dist/esm/deviceSession.js +27 -25
  83. package/dist/esm/email/messages.js +18 -16
  84. package/dist/esm/emailAgentContext.js +11 -9
  85. package/dist/esm/externalIdentity.js +15 -11
  86. package/dist/esm/federationInstanceFetch.js +10 -5
  87. package/dist/esm/identity.js +17 -15
  88. package/dist/esm/identityLink.js +6 -4
  89. package/dist/esm/identityProof.js +6 -4
  90. package/dist/esm/inboxPush.js +3 -2
  91. package/dist/esm/index.js +4 -2
  92. package/dist/esm/inference/accountBilling.js +33 -31
  93. package/dist/esm/inference/aliaModelRelease.js +7 -5
  94. package/dist/esm/inference/attribution.js +14 -12
  95. package/dist/esm/inference/catalogue.js +33 -27
  96. package/dist/esm/inference/economics.js +22 -17
  97. package/dist/esm/inference/embeddings.js +9 -7
  98. package/dist/esm/inference/entitlement.js +15 -13
  99. package/dist/esm/inference/errors.js +13 -6
  100. package/dist/esm/inference/identifiers.js +31 -19
  101. package/dist/esm/inference/inbox.js +37 -35
  102. package/dist/esm/inference/modelDocumentation.js +14 -12
  103. package/dist/esm/inference/money.js +3 -2
  104. package/dist/esm/inference/priceVersion.js +8 -3
  105. package/dist/esm/inference/providerConnection.js +19 -12
  106. package/dist/esm/inference/realtime.js +85 -44
  107. package/dist/esm/inference/request.js +25 -23
  108. package/dist/esm/inference/routingPolicy.js +9 -7
  109. package/dist/esm/inference/streamEvents.js +20 -14
  110. package/dist/esm/inference/usage.js +30 -13
  111. package/dist/esm/keyRecovery.js +8 -6
  112. package/dist/esm/keyRotation.js +5 -4
  113. package/dist/esm/linkedAccounts.js +20 -16
  114. package/dist/esm/moderationReputation.js +27 -25
  115. package/dist/esm/notifications.js +23 -7
  116. package/dist/esm/numberChecks.js +41 -0
  117. package/dist/esm/oauth.js +14 -12
  118. package/dist/esm/organizations.js +23 -21
  119. package/dist/esm/products/access.js +10 -8
  120. package/dist/esm/products/billing.js +10 -8
  121. package/dist/esm/products/checkout.js +22 -10
  122. package/dist/esm/products/plans.js +15 -10
  123. package/dist/esm/protocol.js +4 -3
  124. package/dist/esm/recommendations.js +25 -17
  125. package/dist/esm/reputation.js +13 -11
  126. package/dist/esm/safety.js +43 -27
  127. package/dist/esm/serviceToken.js +80 -1
  128. package/dist/esm/sessionRevocation.js +6 -4
  129. package/dist/esm/signIn.js +42 -24
  130. package/dist/esm/stickers.js +17 -13
  131. package/dist/esm/stringChecks.js +63 -0
  132. package/dist/esm/transparency.js +14 -12
  133. package/dist/esm/updates.js +22 -20
  134. package/dist/esm/userInvalidation.js +4 -2
  135. package/dist/esm/userResponse.js +4 -3
  136. package/dist/esm/username.js +3 -2
  137. package/dist/types/accountAccess.d.ts +29 -70
  138. package/dist/types/accountEmail.d.ts +2 -14
  139. package/dist/types/accountGraph.d.ts +179 -171
  140. package/dist/types/accountName.d.ts +1 -1
  141. package/dist/types/accountSubject.d.ts +20 -93
  142. package/dist/types/agency.d.ts +528 -2924
  143. package/dist/types/agentKeys.d.ts +48 -421
  144. package/dist/types/appAssertions.d.ts +56 -210
  145. package/dist/types/applicationRoles.d.ts +30 -276
  146. package/dist/types/avatarCharacter.d.ts +1 -1
  147. package/dist/types/civic.d.ts +1 -13
  148. package/dist/types/client/agentKeys.d.ts +18 -18
  149. package/dist/types/client/appAssertions.d.ts +3 -3
  150. package/dist/types/client/check.d.ts +13 -13
  151. package/dist/types/client/deviceDirectory.d.ts +51 -51
  152. package/dist/types/client/deviceSession.d.ts +14 -14
  153. package/dist/types/client/organizations.d.ts +25 -25
  154. package/dist/types/client/products.d.ts +33 -33
  155. package/dist/types/client/recommendations.d.ts +2 -2
  156. package/dist/types/client/safety.d.ts +45 -45
  157. package/dist/types/client/sessionStatus.d.ts +4 -4
  158. package/dist/types/client/signIn.d.ts +1 -1
  159. package/dist/types/commonsSignIn.d.ts +4 -1
  160. package/dist/types/consoleOnboarding.d.ts +24 -44
  161. package/dist/types/contentClaims.d.ts +24 -180
  162. package/dist/types/deviceDirectory.d.ts +109 -1040
  163. package/dist/types/deviceSession.d.ts +36 -298
  164. package/dist/types/email/messages.d.ts +212 -1793
  165. package/dist/types/emailAgentContext.d.ts +10 -194
  166. package/dist/types/externalIdentity.d.ts +121 -615
  167. package/dist/types/federationInstanceFetch.d.ts +3 -32
  168. package/dist/types/identity.d.ts +15 -92
  169. package/dist/types/identityLink.d.ts +6 -84
  170. package/dist/types/identityProof.d.ts +5 -17
  171. package/dist/types/inboxPush.d.ts +1 -9
  172. package/dist/types/index.d.ts +5 -3
  173. package/dist/types/inference/accountBilling.d.ts +151 -488
  174. package/dist/types/inference/aliaModelRelease.d.ts +42 -439
  175. package/dist/types/inference/attribution.d.ts +75 -104
  176. package/dist/types/inference/catalogue.d.ts +417 -1599
  177. package/dist/types/inference/economics.d.ts +69 -276
  178. package/dist/types/inference/embeddings.d.ts +110 -406
  179. package/dist/types/inference/entitlement.d.ts +80 -335
  180. package/dist/types/inference/errors.d.ts +90 -102
  181. package/dist/types/inference/identifiers.d.ts +12 -4
  182. package/dist/types/inference/inbox.d.ts +105 -420
  183. package/dist/types/inference/modelDocumentation.d.ts +201 -1390
  184. package/dist/types/inference/money.d.ts +65 -32
  185. package/dist/types/inference/priceVersion.d.ts +53 -120
  186. package/dist/types/inference/providerConnection.d.ts +253 -710
  187. package/dist/types/inference/realtime.d.ts +954 -6825
  188. package/dist/types/inference/request.d.ts +300 -2572
  189. package/dist/types/inference/routingPolicy.d.ts +95 -503
  190. package/dist/types/inference/streamEvents.d.ts +253 -721
  191. package/dist/types/inference/usage.d.ts +317 -950
  192. package/dist/types/keyRecovery.d.ts +3 -51
  193. package/dist/types/keyRotation.d.ts +3 -38
  194. package/dist/types/linkedAccounts.d.ts +50 -236
  195. package/dist/types/moderationReputation.d.ts +81 -14
  196. package/dist/types/notifications.d.ts +19 -51
  197. package/dist/types/numberChecks.d.ts +9 -0
  198. package/dist/types/oauth.d.ts +101 -809
  199. package/dist/types/organizations.d.ts +268 -921
  200. package/dist/types/oxyRecordTypes.d.ts +11 -1
  201. package/dist/types/products/access.d.ts +125 -775
  202. package/dist/types/products/billing.d.ts +67 -503
  203. package/dist/types/products/checkout.d.ts +16 -69
  204. package/dist/types/products/plans.d.ts +33 -366
  205. package/dist/types/recommendations.d.ts +76 -389
  206. package/dist/types/reputation.d.ts +37 -5
  207. package/dist/types/safety.d.ts +408 -2048
  208. package/dist/types/serviceToken.d.ts +247 -7
  209. package/dist/types/sessionRevocation.d.ts +2 -17
  210. package/dist/types/sessionStatus.d.ts +27 -115
  211. package/dist/types/signIn.d.ts +53 -553
  212. package/dist/types/stickers.d.ts +67 -819
  213. package/dist/types/stringChecks.d.ts +16 -0
  214. package/dist/types/transparency.d.ts +14 -302
  215. package/dist/types/updates.d.ts +60 -316
  216. package/dist/types/userInvalidation.d.ts +4 -13
  217. package/dist/types/userResponse.d.ts +302 -2400
  218. package/dist/types/username.d.ts +3 -3
  219. package/package.json +2 -2
@@ -20,44 +20,15 @@ import { z } from 'zod';
20
20
  /** The longest URL Oxy will sign (the same cap as its own safe fetch). */
21
21
  export declare const INSTANCE_FETCH_MAX_URL_LENGTH = 2048;
22
22
  export declare const instanceFetchSignRequestSchema: z.ZodObject<{
23
- /** The absolute public `https://` URL the caller is about to GET. */
24
23
  url: z.ZodString;
25
- }, "strict", z.ZodTypeAny, {
26
- url: string;
27
- }, {
28
- url: string;
29
- }>;
24
+ }, z.core.$strict>;
30
25
  export type InstanceFetchSignRequest = z.infer<typeof instanceFetchSignRequestSchema>;
31
26
  export declare const instanceFetchSignResponseSchema: z.ZodObject<{
32
- /** The instance actor's key, e.g. `https://oxy.so/ap/users/instance#main-key`. */
33
27
  keyId: z.ZodString;
34
- /** Send all three on the GET, as they are. */
35
28
  headers: z.ZodObject<{
36
29
  Host: z.ZodString;
37
30
  Date: z.ZodString;
38
31
  Signature: z.ZodString;
39
- }, "strict", z.ZodTypeAny, {
40
- Host: string;
41
- Date: string;
42
- Signature: string;
43
- }, {
44
- Host: string;
45
- Date: string;
46
- Signature: string;
47
- }>;
48
- }, "strict", z.ZodTypeAny, {
49
- keyId: string;
50
- headers: {
51
- Host: string;
52
- Date: string;
53
- Signature: string;
54
- };
55
- }, {
56
- keyId: string;
57
- headers: {
58
- Host: string;
59
- Date: string;
60
- Signature: string;
61
- };
62
- }>;
32
+ }, z.core.$strict>;
33
+ }, z.core.$strict>;
63
34
  export type InstanceFetchSignResponse = z.infer<typeof instanceFetchSignResponseSchema>;
@@ -77,37 +77,17 @@ export interface MultikeyVerificationMethod {
77
77
  * entry carries `publicKeyMultibase`.
78
78
  */
79
79
  export type VerificationMethod = Secp256k1VerificationMethod | MultikeyVerificationMethod;
80
- export declare const verificationMethodSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
80
+ export declare const verificationMethodSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
81
81
  id: z.ZodString;
82
82
  type: z.ZodLiteral<"EcdsaSecp256k1VerificationKey2019">;
83
83
  controller: z.ZodString;
84
84
  publicKeyHex: z.ZodString;
85
- }, "strip", z.ZodTypeAny, {
86
- type: "EcdsaSecp256k1VerificationKey2019";
87
- id: string;
88
- controller: string;
89
- publicKeyHex: string;
90
- }, {
91
- type: "EcdsaSecp256k1VerificationKey2019";
92
- id: string;
93
- controller: string;
94
- publicKeyHex: string;
95
- }>, z.ZodObject<{
85
+ }, z.core.$strip>, z.ZodObject<{
96
86
  id: z.ZodString;
97
87
  type: z.ZodLiteral<"Multikey">;
98
88
  controller: z.ZodString;
99
89
  publicKeyMultibase: z.ZodString;
100
- }, "strip", z.ZodTypeAny, {
101
- type: "Multikey";
102
- id: string;
103
- controller: string;
104
- publicKeyMultibase: string;
105
- }, {
106
- type: "Multikey";
107
- id: string;
108
- controller: string;
109
- publicKeyMultibase: string;
110
- }>]>;
90
+ }, z.core.$strip>], "type">;
111
91
  /**
112
92
  * A DID service entry (the `service[]` array). Oxy publishes its API root and
113
93
  * profile endpoints here so a resolver can discover where to fetch the user's
@@ -215,48 +195,25 @@ export declare const verifiedDomainSchema: z.ZodType<VerifiedDomain>;
215
195
  /** Request body for `POST /identity/domains` — the domain to start verifying. */
216
196
  export declare const domainVerificationRequestSchema: z.ZodObject<{
217
197
  domain: z.ZodString;
218
- }, "strip", z.ZodTypeAny, {
219
- domain: string;
220
- }, {
221
- domain: string;
222
- }>;
198
+ }, z.core.$strip>;
223
199
  export type DomainVerificationRequest = z.infer<typeof domainVerificationRequestSchema>;
224
200
  /** Clarity resource-server request to bind a site to Oxy domain authority. */
225
201
  export declare const resourceDomainOwnershipRequestSchema: z.ZodObject<{
226
202
  accountId: z.ZodString;
227
203
  verifiedDomainId: z.ZodString;
228
- originHost: z.ZodPipeline<z.ZodString, z.ZodString>;
229
- }, "strict", z.ZodTypeAny, {
230
- accountId: string;
231
- verifiedDomainId: string;
232
- originHost: string;
233
- }, {
234
- accountId: string;
235
- verifiedDomainId: string;
236
- originHost: string;
237
- }>;
204
+ originHost: z.ZodPipe<z.ZodString, z.ZodString>;
205
+ }, z.core.$strict>;
238
206
  export declare const resourceDomainOwnershipResponseSchema: z.ZodObject<{
239
207
  verified: z.ZodBoolean;
240
208
  accountId: z.ZodString;
241
209
  verifiedDomainId: z.ZodString;
242
- originHost: z.ZodPipeline<z.ZodString, z.ZodString>;
210
+ originHost: z.ZodPipe<z.ZodString, z.ZodString>;
243
211
  verifiedAt: z.ZodOptional<z.ZodString>;
244
- method: z.ZodOptional<z.ZodEnum<["dns-txt", "well-known"]>>;
245
- }, "strict", z.ZodTypeAny, {
246
- accountId: string;
247
- verifiedDomainId: string;
248
- originHost: string;
249
- verified: boolean;
250
- method?: "dns-txt" | "well-known" | undefined;
251
- verifiedAt?: string | undefined;
252
- }, {
253
- accountId: string;
254
- verifiedDomainId: string;
255
- originHost: string;
256
- verified: boolean;
257
- method?: "dns-txt" | "well-known" | undefined;
258
- verifiedAt?: string | undefined;
259
- }>;
212
+ method: z.ZodOptional<z.ZodEnum<{
213
+ "dns-txt": "dns-txt";
214
+ "well-known": "well-known";
215
+ }>>;
216
+ }, z.core.$strict>;
260
217
  export type ResourceDomainOwnershipRequest = z.infer<typeof resourceDomainOwnershipRequestSchema>;
261
218
  export type ResourceDomainOwnershipResponse = z.infer<typeof resourceDomainOwnershipResponseSchema>;
262
219
  /**
@@ -271,46 +228,12 @@ export declare const domainVerificationInstructionsSchema: z.ZodObject<{
271
228
  dns: z.ZodObject<{
272
229
  name: z.ZodString;
273
230
  value: z.ZodString;
274
- }, "strip", z.ZodTypeAny, {
275
- value: string;
276
- name: string;
277
- }, {
278
- value: string;
279
- name: string;
280
- }>;
231
+ }, z.core.$strip>;
281
232
  wellKnown: z.ZodObject<{
282
233
  url: z.ZodString;
283
234
  body: z.ZodString;
284
- }, "strip", z.ZodTypeAny, {
285
- url: string;
286
- body: string;
287
- }, {
288
- url: string;
289
- body: string;
290
- }>;
291
- }, "strip", z.ZodTypeAny, {
292
- token: string;
293
- domain: string;
294
- dns: {
295
- value: string;
296
- name: string;
297
- };
298
- wellKnown: {
299
- url: string;
300
- body: string;
301
- };
302
- }, {
303
- token: string;
304
- domain: string;
305
- dns: {
306
- value: string;
307
- name: string;
308
- };
309
- wellKnown: {
310
- url: string;
311
- body: string;
312
- };
313
- }>;
235
+ }, z.core.$strip>;
236
+ }, z.core.$strip>;
314
237
  export type DomainVerificationInstructions = z.infer<typeof domainVerificationInstructionsSchema>;
315
238
  /**
316
239
  * One linked authentication method. Mirrors a `User.authMethods[]` entry.
@@ -58,34 +58,8 @@ export declare const identityLinkProofRequestSchema: z.ZodObject<{
58
58
  challenge: z.ZodString;
59
59
  expiresAt: z.ZodNumber;
60
60
  signature: z.ZodString;
61
- }, "strip", z.ZodTypeAny, {
62
- expiresAt: number;
63
- signature: string;
64
- v: 2;
65
- challenge: string;
66
- }, {
67
- expiresAt: number;
68
- signature: string;
69
- v: 2;
70
- challenge: string;
71
- }>;
72
- }, "strict", z.ZodTypeAny, {
73
- publicKey: string;
74
- proof: {
75
- expiresAt: number;
76
- signature: string;
77
- v: 2;
78
- challenge: string;
79
- };
80
- }, {
81
- publicKey: string;
82
- proof: {
83
- expiresAt: number;
84
- signature: string;
85
- v: 2;
86
- challenge: string;
87
- };
88
- }>;
61
+ }, z.core.$strip>;
62
+ }, z.core.$strict>;
89
63
  export type IdentityLinkProofRequest = z.infer<typeof identityLinkProofRequestSchema>;
90
64
  /**
91
65
  * `POST /identity/link/:linkId/complete` — the account's own confirmation: a
@@ -93,65 +67,13 @@ export type IdentityLinkProofRequest = z.infer<typeof identityLinkProofRequestSc
93
67
  * email (`reauth`, plus its authenticator code when it has one).
94
68
  */
95
69
  export declare const identityLinkCompleteRequestSchema: z.ZodObject<{
96
- reauth: z.ZodEffects<z.ZodObject<{
70
+ reauth: z.ZodObject<{
97
71
  password: z.ZodOptional<z.ZodString>;
98
72
  emailCode: z.ZodOptional<z.ZodObject<{
99
73
  verificationId: z.ZodString;
100
74
  code: z.ZodString;
101
- }, "strict", z.ZodTypeAny, {
102
- code: string;
103
- verificationId: string;
104
- }, {
105
- code: string;
106
- verificationId: string;
107
- }>>;
75
+ }, z.core.$strict>>;
108
76
  totpCode: z.ZodOptional<z.ZodString>;
109
- }, "strict", z.ZodTypeAny, {
110
- password?: string | undefined;
111
- emailCode?: {
112
- code: string;
113
- verificationId: string;
114
- } | undefined;
115
- totpCode?: string | undefined;
116
- }, {
117
- password?: string | undefined;
118
- emailCode?: {
119
- code: string;
120
- verificationId: string;
121
- } | undefined;
122
- totpCode?: string | undefined;
123
- }>, {
124
- password?: string | undefined;
125
- emailCode?: {
126
- code: string;
127
- verificationId: string;
128
- } | undefined;
129
- totpCode?: string | undefined;
130
- }, {
131
- password?: string | undefined;
132
- emailCode?: {
133
- code: string;
134
- verificationId: string;
135
- } | undefined;
136
- totpCode?: string | undefined;
137
- }>;
138
- }, "strict", z.ZodTypeAny, {
139
- reauth: {
140
- password?: string | undefined;
141
- emailCode?: {
142
- code: string;
143
- verificationId: string;
144
- } | undefined;
145
- totpCode?: string | undefined;
146
- };
147
- }, {
148
- reauth: {
149
- password?: string | undefined;
150
- emailCode?: {
151
- code: string;
152
- verificationId: string;
153
- } | undefined;
154
- totpCode?: string | undefined;
155
- };
156
- }>;
77
+ }, z.core.$strict>;
78
+ }, z.core.$strict>;
157
79
  export type IdentityLinkCompleteRequest = z.infer<typeof identityLinkCompleteRequestSchema>;
@@ -24,26 +24,14 @@ export declare const identityProofSchema: z.ZodObject<{
24
24
  challenge: z.ZodString;
25
25
  expiresAt: z.ZodNumber;
26
26
  signature: z.ZodString;
27
- }, "strip", z.ZodTypeAny, {
28
- expiresAt: number;
29
- signature: string;
30
- v: 2;
31
- challenge: string;
32
- }, {
33
- expiresAt: number;
34
- signature: string;
35
- v: 2;
36
- challenge: string;
37
- }>;
27
+ }, z.core.$strip>;
38
28
  export type IdentityProof = z.infer<typeof identityProofSchema>;
39
29
  /** `POST /identity/proof-challenge` */
40
30
  export declare const identityProofChallengeRequestSchema: z.ZodObject<{
41
- action: z.ZodEnum<["link_identity", ..."link_identity"[]]>;
42
- }, "strip", z.ZodTypeAny, {
43
- action: "link_identity";
44
- }, {
45
- action: "link_identity";
46
- }>;
31
+ action: z.ZodEnum<{
32
+ link_identity: "link_identity";
33
+ }>;
34
+ }, z.core.$strip>;
47
35
  export type IdentityProofChallengeRequest = z.infer<typeof identityProofChallengeRequestSchema>;
48
36
  export interface IdentityProofChallengeResponse {
49
37
  challenge: string;
@@ -18,13 +18,5 @@ export declare const inboxEmailPushDataSchema: z.ZodObject<{
18
18
  type: z.ZodLiteral<"oxy_inbox_new_message">;
19
19
  messageId: z.ZodString;
20
20
  mailboxId: z.ZodString;
21
- }, "strip", z.ZodTypeAny, {
22
- type: "oxy_inbox_new_message";
23
- mailboxId: string;
24
- messageId: string;
25
- }, {
26
- type: "oxy_inbox_new_message";
27
- mailboxId: string;
28
- messageId: string;
29
- }>;
21
+ }, z.core.$strip>;
30
22
  export type InboxEmailPushData = z.infer<typeof inboxEmailPushDataSchema>;
@@ -106,8 +106,8 @@ export { PRODUCT_PLAN_STATUSES, productPlanStatusSchema, LIVE_PRODUCT_PLAN_STATU
106
106
  export type { ProductPlanStatus, PlanAllowance, ProductPlan, PayAsYouGoEntitlement, CostCenterStatus, CostCenter, CostCenterSpend, ProductEntitlement, } from './inference/entitlement';
107
107
  export { INFERENCE_ECONOMIC_TREATMENTS, inferenceEconomicTreatmentSchema, PROVIDER_COST_SOURCES, providerCostSourceSchema, costCenterUsageSchema, } from './inference/economics';
108
108
  export type { InferenceEconomicTreatment, ProviderCostSource, CostCenterUsage, } from './inference/economics';
109
- export { AUTONOMY_LEVELS, CAPABILITY_PACKAGES, autonomyLevelSchema, capabilityPackageSchema, actorRefSchema, executionActorRefSchema, foregroundExecutionAuthorizationInputSchema, resourceRefSchema, toolGrantOverrideSchema, grantLimitSchema, capabilityCatalogBindingSchema, executionAuthorizationRefSchema, capabilityCoordinatorSchema, capabilityTicketRequestSchema, delegationGrantSchema, AGENT_REQUESTER_CEILING_AUTONOMY, agentRequesterCeilingWriteSchema, agentRequesterCeilingSchema, APPLICATION_AGENT_AVAILABILITIES, applicationAgentAvailabilitySchema, applicationAgentWriteSchema, applicationAgentSchema, agentAvailabilitySchema, automationTriggerSchema, automationActorSelectionSchema, automationDataFlowSchema, automationDefinitionSchema, capabilityTicketClaimsSchema, invocationPrincipalSchema, policyDecisionSchema, auditResultSchema, auditEventSchema, CATALOG_TOOL_ACTOR_TYPES, CATALOG_TOOL_DEFAULT_ACTORS, catalogToolActorTypeSchema, catalogToolActors, catalogToolAllowsActor, catalogToolSchema, catalogEventSchema, catalogFeatureSchema, CATALOG_INTERNAL_TRANSPORTS, appCapabilityCatalogSchema, catalogRegistrationSchema, normalizedAppEventSchema, } from './agency';
110
- export type { AutonomyLevel, CapabilityPackage, ActorRef, ExecutionActorRef, ForegroundExecutionAuthorizationInput, ResourceRef, ToolGrantOverride, GrantLimit, CapabilityCatalogBinding, ExecutionAuthorizationRef, CapabilityCoordinator, CapabilityTicketRequest, DelegationGrant, AutomationTrigger, AutomationActorSelection, AutomationDefinition, CapabilityTicketClaims, InvocationPrincipal, PolicyDecision, AuditEvent, CatalogTool, CatalogToolActorType, CatalogEvent, AppCapabilityCatalog, CatalogFeature, CatalogInternalTransport, AgentRequesterCeilingWrite, AgentRequesterCeiling, AgentRequesterCeilingAutonomy, ApplicationAgentAvailability, ApplicationAgentWrite, ApplicationAgent, AgentAvailability, CatalogRegistration, NormalizedAppEvent, } from './agency';
109
+ export { AUTONOMY_LEVELS, CAPABILITY_PACKAGES, autonomyLevelSchema, capabilityPackageSchema, actorRefSchema, executionActorRefSchema, foregroundExecutionAuthorizationInputSchema, firstPartyExecutionAuthorizationInputSchema, firstPartyTaskInputSchema, resourceRefSchema, toolGrantOverrideSchema, grantLimitSchema, capabilityCatalogBindingSchema, executionAuthorizationRefSchema, capabilityCoordinatorSchema, capabilityTicketRequestSchema, delegationGrantSchema, AGENT_REQUESTER_CEILING_AUTONOMY, agentRequesterCeilingWriteSchema, agentRequesterCeilingSchema, APPLICATION_AGENT_AVAILABILITIES, applicationAgentAvailabilitySchema, applicationAgentWriteSchema, applicationAgentSchema, agentAvailabilitySchema, automationTriggerSchema, automationActorSelectionSchema, automationDataFlowSchema, automationDefinitionSchema, capabilityTicketClaimsSchema, invocationPrincipalSchema, policyDecisionSchema, auditResultSchema, auditEventSchema, CATALOG_TOOL_ACTOR_TYPES, CATALOG_TOOL_DEFAULT_ACTORS, catalogToolActorTypeSchema, catalogToolActors, catalogToolAllowsActor, catalogToolSchema, catalogEventSchema, catalogFeatureSchema, CATALOG_INTERNAL_TRANSPORTS, appCapabilityCatalogSchema, catalogRegistrationSchema, normalizedAppEventSchema, } from './agency';
110
+ export type { AutonomyLevel, CapabilityPackage, ActorRef, ExecutionActorRef, ForegroundExecutionAuthorizationInput, FirstPartyExecutionAuthorizationInput, FirstPartyTaskInput, ResourceRef, ToolGrantOverride, GrantLimit, CapabilityCatalogBinding, ExecutionAuthorizationRef, CapabilityCoordinator, CapabilityTicketRequest, DelegationGrant, AutomationTrigger, AutomationActorSelection, AutomationDefinition, CapabilityTicketClaims, InvocationPrincipal, PolicyDecision, AuditEvent, CatalogTool, CatalogToolActorType, CatalogEvent, AppCapabilityCatalog, CatalogFeature, CatalogInternalTransport, AgentRequesterCeilingWrite, AgentRequesterCeiling, AgentRequesterCeilingAutonomy, ApplicationAgentAvailability, ApplicationAgentWrite, ApplicationAgent, AgentAvailability, CatalogRegistration, NormalizedAppEvent, } from './agency';
111
111
  export { catalogInvocationPathParameters, catalogInvocationsOverlap, catalogInvocationTemplatesEquivalent, findOverlappingCatalogInvocations, matchCatalogInvocation, resolveCatalogInvocation, } from './capabilityInvocation';
112
112
  export type { CatalogInvocationMatch, CatalogInvocationTemplate, ResolvedCatalogInvocation, } from './capabilityInvocation';
113
113
  export { emailContextAddressSchema, emailContextMailboxSchema, emailContextMessageSchema, emailAgentContextSchema, } from './emailAgentContext';
@@ -132,9 +132,11 @@ export { personalPlanDisplayPriceSchema, personalPlanCatalogueSchema, productPla
132
132
  export * from './products/checkout';
133
133
  export * from './organizations';
134
134
  export * from './safety';
135
- export { serviceTokenScopesSchema, serviceTokenOptionsSchema, type ServiceTokenOptions, } from './serviceToken';
135
+ export * from './serviceToken';
136
136
  export * from './applicationRoles';
137
137
  export * from './contentClaims';
138
138
  export * from './appAssertions';
139
139
  export * from './products/one';
140
140
  export { USER_PROFILE_COLORS, USER_PROFILE_COLOR_PRESETS, FREE_USER_PROFILE_COLOR_PRESETS, } from './profileColors.generated';
141
+ export { utf16MinLength, utf16MaxLength, utf16Length, isoDateTime, urlCheck, } from './stringChecks';
142
+ export { integerCheck, safeNumberCheck } from './numberChecks';