@oxy.so/contracts 1.0.1 → 1.1.1
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/.tsbuildinfo +1 -1
- package/dist/cjs/agency.js +7 -1
- package/dist/cjs/externalIdentity.js +52 -0
- package/dist/cjs/identity.js +20 -1
- package/dist/cjs/index.js +32 -15
- package/dist/cjs/oauth.js +50 -1
- package/dist/cjs/webauthn.js +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/agency.js +6 -0
- package/dist/esm/externalIdentity.js +49 -0
- package/dist/esm/identity.js +19 -0
- package/dist/esm/index.js +4 -6
- package/dist/esm/oauth.js +49 -0
- package/dist/esm/webauthn.js +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/agency.d.ts +61 -24
- package/dist/types/externalIdentity.d.ts +536 -0
- package/dist/types/identity.d.ts +38 -0
- package/dist/types/index.d.ts +7 -8
- package/dist/types/inference/request.d.ts +28 -28
- package/dist/types/keyRecovery.d.ts +4 -4
- package/dist/types/oauth.d.ts +891 -0
- package/dist/types/userResponse.d.ts +2 -2
- package/dist/types/webauthn.d.ts +1 -1
- package/package.json +1 -1
- package/dist/cjs/links.js +0 -68
- package/dist/esm/links.js +0 -65
- package/dist/types/links.d.ts +0 -96
|
@@ -2192,6 +2192,13 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2192
2192
|
userId?: (string & z.BRAND<"DelegatedUserId">) | undefined;
|
|
2193
2193
|
generationId?: string | undefined;
|
|
2194
2194
|
};
|
|
2195
|
+
client: {
|
|
2196
|
+
receivedAt: string;
|
|
2197
|
+
apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
|
|
2198
|
+
endpoint: string;
|
|
2199
|
+
clientRequestId?: string | undefined;
|
|
2200
|
+
labels?: Record<string, string> | undefined;
|
|
2201
|
+
};
|
|
2195
2202
|
target: {
|
|
2196
2203
|
kind: "model";
|
|
2197
2204
|
modelReference: string;
|
|
@@ -2268,13 +2275,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2268
2275
|
presencePenalty?: number | undefined;
|
|
2269
2276
|
stopSequences?: string[] | undefined;
|
|
2270
2277
|
};
|
|
2271
|
-
client: {
|
|
2272
|
-
receivedAt: string;
|
|
2273
|
-
apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
|
|
2274
|
-
endpoint: string;
|
|
2275
|
-
clientRequestId?: string | undefined;
|
|
2276
|
-
labels?: Record<string, string> | undefined;
|
|
2277
|
-
};
|
|
2278
2278
|
routingPolicy: {
|
|
2279
2279
|
routingPolicyId: string;
|
|
2280
2280
|
policyVersion: number;
|
|
@@ -2339,6 +2339,13 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2339
2339
|
userId?: string | undefined;
|
|
2340
2340
|
generationId?: string | undefined;
|
|
2341
2341
|
};
|
|
2342
|
+
client: {
|
|
2343
|
+
receivedAt: string;
|
|
2344
|
+
apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
|
|
2345
|
+
endpoint: string;
|
|
2346
|
+
clientRequestId?: string | undefined;
|
|
2347
|
+
labels?: Record<string, string> | undefined;
|
|
2348
|
+
};
|
|
2342
2349
|
target: {
|
|
2343
2350
|
kind: "model";
|
|
2344
2351
|
modelReference: string;
|
|
@@ -2415,13 +2422,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2415
2422
|
presencePenalty?: number | undefined;
|
|
2416
2423
|
stopSequences?: string[] | undefined;
|
|
2417
2424
|
};
|
|
2418
|
-
client: {
|
|
2419
|
-
receivedAt: string;
|
|
2420
|
-
apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
|
|
2421
|
-
endpoint: string;
|
|
2422
|
-
clientRequestId?: string | undefined;
|
|
2423
|
-
labels?: Record<string, string> | undefined;
|
|
2424
|
-
};
|
|
2425
2425
|
routingPolicy: {
|
|
2426
2426
|
routingPolicyId: string;
|
|
2427
2427
|
policyVersion: number;
|
|
@@ -2500,6 +2500,13 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2500
2500
|
userId?: (string & z.BRAND<"DelegatedUserId">) | undefined;
|
|
2501
2501
|
generationId?: string | undefined;
|
|
2502
2502
|
};
|
|
2503
|
+
client: {
|
|
2504
|
+
receivedAt: string;
|
|
2505
|
+
apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
|
|
2506
|
+
endpoint: string;
|
|
2507
|
+
clientRequestId?: string | undefined;
|
|
2508
|
+
labels?: Record<string, string> | undefined;
|
|
2509
|
+
};
|
|
2503
2510
|
target: {
|
|
2504
2511
|
kind: "model";
|
|
2505
2512
|
modelReference: string;
|
|
@@ -2576,13 +2583,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2576
2583
|
presencePenalty?: number | undefined;
|
|
2577
2584
|
stopSequences?: string[] | undefined;
|
|
2578
2585
|
};
|
|
2579
|
-
client: {
|
|
2580
|
-
receivedAt: string;
|
|
2581
|
-
apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
|
|
2582
|
-
endpoint: string;
|
|
2583
|
-
clientRequestId?: string | undefined;
|
|
2584
|
-
labels?: Record<string, string> | undefined;
|
|
2585
|
-
};
|
|
2586
2586
|
routingPolicy: {
|
|
2587
2587
|
routingPolicyId: string;
|
|
2588
2588
|
policyVersion: number;
|
|
@@ -2647,6 +2647,13 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2647
2647
|
userId?: string | undefined;
|
|
2648
2648
|
generationId?: string | undefined;
|
|
2649
2649
|
};
|
|
2650
|
+
client: {
|
|
2651
|
+
receivedAt: string;
|
|
2652
|
+
apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
|
|
2653
|
+
endpoint: string;
|
|
2654
|
+
clientRequestId?: string | undefined;
|
|
2655
|
+
labels?: Record<string, string> | undefined;
|
|
2656
|
+
};
|
|
2650
2657
|
target: {
|
|
2651
2658
|
kind: "model";
|
|
2652
2659
|
modelReference: string;
|
|
@@ -2723,13 +2730,6 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2723
2730
|
presencePenalty?: number | undefined;
|
|
2724
2731
|
stopSequences?: string[] | undefined;
|
|
2725
2732
|
};
|
|
2726
|
-
client: {
|
|
2727
|
-
receivedAt: string;
|
|
2728
|
-
apiFormat: "embeddings" | "responses" | "chat_completions" | "images_generations" | "audio_transcriptions" | "audio_speech" | "rerank" | "batches";
|
|
2729
|
-
endpoint: string;
|
|
2730
|
-
clientRequestId?: string | undefined;
|
|
2731
|
-
labels?: Record<string, string> | undefined;
|
|
2732
|
-
};
|
|
2733
2733
|
routingPolicy: {
|
|
2734
2734
|
routingPolicyId: string;
|
|
2735
2735
|
policyVersion: number;
|
|
@@ -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
|
-
createdAt: string;
|
|
63
62
|
version: number;
|
|
63
|
+
createdAt: string;
|
|
64
64
|
nonce: string;
|
|
65
65
|
ciphertext: string;
|
|
66
66
|
algorithm: "xchacha20poly1305";
|
|
67
67
|
kdfInfo: string;
|
|
68
68
|
publicKeyHint: string;
|
|
69
69
|
}, {
|
|
70
|
-
createdAt: string;
|
|
71
70
|
version: number;
|
|
71
|
+
createdAt: string;
|
|
72
72
|
nonce: string;
|
|
73
73
|
ciphertext: string;
|
|
74
74
|
algorithm: "xchacha20poly1305";
|
|
@@ -98,8 +98,8 @@ export declare const backupUploadRequestSchema: z.ZodObject<{
|
|
|
98
98
|
*/
|
|
99
99
|
lookupId: z.ZodString;
|
|
100
100
|
}, "strip", z.ZodTypeAny, {
|
|
101
|
-
createdAt: string;
|
|
102
101
|
version: number;
|
|
102
|
+
createdAt: string;
|
|
103
103
|
nonce: string;
|
|
104
104
|
ciphertext: string;
|
|
105
105
|
algorithm: "xchacha20poly1305";
|
|
@@ -107,8 +107,8 @@ export declare const backupUploadRequestSchema: z.ZodObject<{
|
|
|
107
107
|
publicKeyHint: string;
|
|
108
108
|
lookupId: string;
|
|
109
109
|
}, {
|
|
110
|
-
createdAt: string;
|
|
111
110
|
version: number;
|
|
111
|
+
createdAt: string;
|
|
112
112
|
nonce: string;
|
|
113
113
|
ciphertext: string;
|
|
114
114
|
algorithm: "xchacha20poly1305";
|