@oxy.so/contracts 5.8.0 → 6.1.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.
- package/dist/cjs/accountAccess.js +6 -5
- package/dist/cjs/accountEmail.js +13 -5
- package/dist/cjs/accountGraph.js +10 -9
- package/dist/cjs/accountName.js +3 -2
- package/dist/cjs/agency.js +91 -34
- package/dist/cjs/agentKeys.js +21 -17
- package/dist/cjs/appAssertions.js +14 -13
- package/dist/cjs/applicationRoles.js +19 -12
- package/dist/cjs/campaignAttribution.js +28 -0
- package/dist/cjs/civic.js +10 -9
- package/dist/cjs/client/campaignAttribution.js +14 -0
- package/dist/cjs/client/check.js +61 -53
- package/dist/cjs/client/index.js +7 -1
- package/dist/cjs/client/language.js +7 -0
- package/dist/cjs/consoleOnboarding.js +9 -4
- package/dist/cjs/contentClaims.js +23 -14
- package/dist/cjs/deviceDirectory.js +11 -9
- package/dist/cjs/deviceSession.js +27 -25
- package/dist/cjs/email/messages.js +20 -18
- package/dist/cjs/emailAgentContext.js +11 -9
- package/dist/cjs/externalIdentity.js +15 -11
- package/dist/cjs/federationInstanceFetch.js +12 -7
- package/dist/cjs/identity.js +19 -17
- package/dist/cjs/identityLink.js +6 -4
- package/dist/cjs/identityProof.js +6 -4
- package/dist/cjs/inboxPush.js +5 -4
- package/dist/cjs/index.js +17 -6
- package/dist/cjs/inference/accountBilling.js +35 -33
- package/dist/cjs/inference/aliaModelRelease.js +9 -7
- package/dist/cjs/inference/attribution.js +14 -12
- package/dist/cjs/inference/catalogue.js +35 -29
- package/dist/cjs/inference/economics.js +24 -19
- package/dist/cjs/inference/embeddings.js +9 -7
- package/dist/cjs/inference/entitlement.js +17 -15
- package/dist/cjs/inference/errors.js +15 -8
- package/dist/cjs/inference/identifiers.js +33 -21
- package/dist/cjs/inference/inbox.js +37 -35
- package/dist/cjs/inference/modelDocumentation.js +16 -14
- package/dist/cjs/inference/money.js +5 -4
- package/dist/cjs/inference/priceVersion.js +10 -5
- package/dist/cjs/inference/providerConnection.js +21 -14
- package/dist/cjs/inference/realtime.js +88 -47
- package/dist/cjs/inference/request.js +27 -25
- package/dist/cjs/inference/routingPolicy.js +12 -10
- package/dist/cjs/inference/streamEvents.js +22 -16
- package/dist/cjs/inference/usage.js +32 -15
- package/dist/cjs/keyRecovery.js +8 -6
- package/dist/cjs/keyRotation.js +5 -4
- package/dist/cjs/linkedAccounts.js +22 -18
- package/dist/cjs/moderationReputation.js +29 -27
- package/dist/cjs/notifications.js +25 -9
- package/dist/cjs/numberChecks.js +45 -0
- package/dist/cjs/oauth.js +14 -12
- package/dist/cjs/organizations.js +23 -21
- package/dist/cjs/products/access.js +10 -8
- package/dist/cjs/products/billing.js +10 -8
- package/dist/cjs/products/checkout.js +22 -10
- package/dist/cjs/products/plans.js +15 -10
- package/dist/cjs/protocol.js +6 -5
- package/dist/cjs/recommendations.js +27 -19
- package/dist/cjs/reputation.js +15 -13
- package/dist/cjs/safety.js +43 -27
- package/dist/cjs/serviceToken.js +81 -2
- package/dist/cjs/sessionRevocation.js +8 -6
- package/dist/cjs/signIn.js +50 -24
- package/dist/cjs/stickers.js +19 -15
- package/dist/cjs/stringChecks.js +70 -0
- package/dist/cjs/transparency.js +14 -12
- package/dist/cjs/updates.js +24 -22
- package/dist/cjs/userInvalidation.js +7 -5
- package/dist/cjs/userResponse.js +8 -7
- package/dist/cjs/username.js +7 -6
- package/dist/esm/accountAccess.js +4 -3
- package/dist/esm/accountEmail.js +13 -5
- package/dist/esm/accountGraph.js +8 -7
- package/dist/esm/accountName.js +3 -2
- package/dist/esm/agency.js +90 -33
- package/dist/esm/agentKeys.js +21 -17
- package/dist/esm/appAssertions.js +11 -10
- package/dist/esm/applicationRoles.js +16 -9
- package/dist/esm/campaignAttribution.js +25 -0
- package/dist/esm/civic.js +8 -7
- package/dist/esm/client/campaignAttribution.js +10 -0
- package/dist/esm/client/check.js +61 -53
- package/dist/esm/client/index.js +2 -0
- package/dist/esm/client/language.js +4 -0
- package/dist/esm/consoleOnboarding.js +7 -2
- package/dist/esm/contentClaims.js +23 -14
- package/dist/esm/deviceDirectory.js +11 -9
- package/dist/esm/deviceSession.js +27 -25
- package/dist/esm/email/messages.js +18 -16
- package/dist/esm/emailAgentContext.js +11 -9
- package/dist/esm/externalIdentity.js +15 -11
- package/dist/esm/federationInstanceFetch.js +10 -5
- package/dist/esm/identity.js +17 -15
- package/dist/esm/identityLink.js +6 -4
- package/dist/esm/identityProof.js +6 -4
- package/dist/esm/inboxPush.js +3 -2
- package/dist/esm/index.js +5 -2
- package/dist/esm/inference/accountBilling.js +33 -31
- package/dist/esm/inference/aliaModelRelease.js +7 -5
- package/dist/esm/inference/attribution.js +14 -12
- package/dist/esm/inference/catalogue.js +33 -27
- package/dist/esm/inference/economics.js +22 -17
- package/dist/esm/inference/embeddings.js +9 -7
- package/dist/esm/inference/entitlement.js +15 -13
- package/dist/esm/inference/errors.js +13 -6
- package/dist/esm/inference/identifiers.js +31 -19
- package/dist/esm/inference/inbox.js +37 -35
- package/dist/esm/inference/modelDocumentation.js +14 -12
- package/dist/esm/inference/money.js +3 -2
- package/dist/esm/inference/priceVersion.js +8 -3
- package/dist/esm/inference/providerConnection.js +19 -12
- package/dist/esm/inference/realtime.js +85 -44
- package/dist/esm/inference/request.js +25 -23
- package/dist/esm/inference/routingPolicy.js +9 -7
- package/dist/esm/inference/streamEvents.js +20 -14
- package/dist/esm/inference/usage.js +30 -13
- package/dist/esm/keyRecovery.js +8 -6
- package/dist/esm/keyRotation.js +5 -4
- package/dist/esm/linkedAccounts.js +20 -16
- package/dist/esm/moderationReputation.js +27 -25
- package/dist/esm/notifications.js +23 -7
- package/dist/esm/numberChecks.js +41 -0
- package/dist/esm/oauth.js +14 -12
- package/dist/esm/organizations.js +23 -21
- package/dist/esm/products/access.js +10 -8
- package/dist/esm/products/billing.js +10 -8
- package/dist/esm/products/checkout.js +22 -10
- package/dist/esm/products/plans.js +15 -10
- package/dist/esm/protocol.js +4 -3
- package/dist/esm/recommendations.js +25 -17
- package/dist/esm/reputation.js +13 -11
- package/dist/esm/safety.js +43 -27
- package/dist/esm/serviceToken.js +80 -1
- package/dist/esm/sessionRevocation.js +6 -4
- package/dist/esm/signIn.js +50 -24
- package/dist/esm/stickers.js +17 -13
- package/dist/esm/stringChecks.js +63 -0
- package/dist/esm/transparency.js +14 -12
- package/dist/esm/updates.js +22 -20
- package/dist/esm/userInvalidation.js +4 -2
- package/dist/esm/userResponse.js +4 -3
- package/dist/esm/username.js +3 -2
- package/dist/types/accountAccess.d.ts +29 -70
- package/dist/types/accountEmail.d.ts +2 -14
- package/dist/types/accountGraph.d.ts +179 -171
- package/dist/types/accountName.d.ts +1 -1
- package/dist/types/accountSubject.d.ts +20 -93
- package/dist/types/agency.d.ts +528 -2924
- package/dist/types/agentKeys.d.ts +48 -421
- package/dist/types/appAssertions.d.ts +56 -210
- package/dist/types/applicationRoles.d.ts +30 -276
- package/dist/types/avatarCharacter.d.ts +1 -1
- package/dist/types/campaignAttribution.d.ts +10 -0
- package/dist/types/civic.d.ts +1 -13
- package/dist/types/client/agentKeys.d.ts +18 -18
- package/dist/types/client/appAssertions.d.ts +3 -3
- package/dist/types/client/campaignAttribution.d.ts +12 -0
- package/dist/types/client/check.d.ts +13 -13
- package/dist/types/client/deviceDirectory.d.ts +51 -51
- package/dist/types/client/deviceSession.d.ts +14 -14
- package/dist/types/client/index.d.ts +3 -0
- package/dist/types/client/language.d.ts +2 -0
- package/dist/types/client/organizations.d.ts +25 -25
- package/dist/types/client/products.d.ts +33 -33
- package/dist/types/client/recommendations.d.ts +2 -2
- package/dist/types/client/safety.d.ts +45 -45
- package/dist/types/client/sessionStatus.d.ts +4 -4
- package/dist/types/client/signIn.d.ts +1 -1
- package/dist/types/commonsSignIn.d.ts +4 -1
- package/dist/types/consoleOnboarding.d.ts +24 -44
- package/dist/types/contentClaims.d.ts +24 -180
- package/dist/types/deviceDirectory.d.ts +109 -1040
- package/dist/types/deviceSession.d.ts +36 -298
- package/dist/types/email/messages.d.ts +212 -1793
- package/dist/types/emailAgentContext.d.ts +10 -194
- package/dist/types/externalIdentity.d.ts +121 -615
- package/dist/types/federationInstanceFetch.d.ts +3 -32
- package/dist/types/identity.d.ts +15 -92
- package/dist/types/identityLink.d.ts +6 -84
- package/dist/types/identityProof.d.ts +5 -17
- package/dist/types/inboxPush.d.ts +1 -9
- package/dist/types/index.d.ts +7 -3
- package/dist/types/inference/accountBilling.d.ts +151 -488
- package/dist/types/inference/aliaModelRelease.d.ts +42 -439
- package/dist/types/inference/attribution.d.ts +75 -104
- package/dist/types/inference/catalogue.d.ts +417 -1599
- package/dist/types/inference/economics.d.ts +69 -276
- package/dist/types/inference/embeddings.d.ts +110 -406
- package/dist/types/inference/entitlement.d.ts +80 -335
- package/dist/types/inference/errors.d.ts +90 -102
- package/dist/types/inference/identifiers.d.ts +12 -4
- package/dist/types/inference/inbox.d.ts +105 -420
- package/dist/types/inference/modelDocumentation.d.ts +201 -1390
- package/dist/types/inference/money.d.ts +65 -32
- package/dist/types/inference/priceVersion.d.ts +53 -120
- package/dist/types/inference/providerConnection.d.ts +253 -710
- package/dist/types/inference/realtime.d.ts +954 -6825
- package/dist/types/inference/request.d.ts +300 -2572
- package/dist/types/inference/routingPolicy.d.ts +95 -503
- package/dist/types/inference/streamEvents.d.ts +253 -721
- package/dist/types/inference/usage.d.ts +317 -950
- package/dist/types/keyRecovery.d.ts +3 -51
- package/dist/types/keyRotation.d.ts +3 -38
- package/dist/types/linkedAccounts.d.ts +50 -236
- package/dist/types/moderationReputation.d.ts +81 -14
- package/dist/types/notifications.d.ts +19 -51
- package/dist/types/numberChecks.d.ts +9 -0
- package/dist/types/oauth.d.ts +101 -809
- package/dist/types/organizations.d.ts +268 -921
- package/dist/types/oxyRecordTypes.d.ts +11 -1
- package/dist/types/products/access.d.ts +125 -775
- package/dist/types/products/billing.d.ts +67 -503
- package/dist/types/products/checkout.d.ts +16 -69
- package/dist/types/products/plans.d.ts +33 -366
- package/dist/types/recommendations.d.ts +76 -389
- package/dist/types/reputation.d.ts +37 -5
- package/dist/types/safety.d.ts +408 -2048
- package/dist/types/serviceToken.d.ts +247 -7
- package/dist/types/sessionRevocation.d.ts +2 -17
- package/dist/types/sessionStatus.d.ts +27 -115
- package/dist/types/signIn.d.ts +62 -553
- package/dist/types/stickers.d.ts +67 -819
- package/dist/types/stringChecks.d.ts +16 -0
- package/dist/types/transparency.d.ts +14 -302
- package/dist/types/updates.d.ts +60 -316
- package/dist/types/userInvalidation.d.ts +4 -13
- package/dist/types/userResponse.d.ts +302 -2400
- package/dist/types/username.d.ts +3 -3
- package/package.json +6 -4
|
@@ -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
|
-
},
|
|
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
|
-
},
|
|
40
|
-
|
|
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>;
|
package/dist/types/identity.d.ts
CHANGED
|
@@ -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<
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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.
|
|
229
|
-
},
|
|
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.
|
|
210
|
+
originHost: z.ZodPipe<z.ZodString, z.ZodString>;
|
|
243
211
|
verifiedAt: z.ZodOptional<z.ZodString>;
|
|
244
|
-
method: z.ZodOptional<z.ZodEnum<
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
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
|
-
},
|
|
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
|
-
},
|
|
285
|
-
|
|
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
|
-
},
|
|
62
|
-
|
|
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.
|
|
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
|
-
},
|
|
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
|
-
},
|
|
110
|
-
|
|
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
|
-
},
|
|
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<
|
|
42
|
-
|
|
43
|
-
|
|
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
|
-
},
|
|
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>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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,13 @@ export { personalPlanDisplayPriceSchema, personalPlanCatalogueSchema, productPla
|
|
|
132
132
|
export * from './products/checkout';
|
|
133
133
|
export * from './organizations';
|
|
134
134
|
export * from './safety';
|
|
135
|
-
export
|
|
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';
|
|
143
|
+
export { campaignAttributionSchema } from './campaignAttribution';
|
|
144
|
+
export type { CampaignAttribution } from './client/campaignAttribution';
|