@oxy.so/contracts 2.0.0 → 2.2.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/.tsbuildinfo +1 -1
- package/dist/cjs/accountEmail.js +83 -0
- package/dist/cjs/federationInstanceFetch.js +44 -0
- package/dist/cjs/identityLink.js +89 -0
- package/dist/cjs/identityProof.js +6 -29
- package/dist/cjs/index.js +36 -49
- package/dist/cjs/linkedAccounts.js +34 -1
- package/dist/cjs/notifications.js +20 -1
- package/dist/cjs/webauthn.js +50 -21
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/accountEmail.js +80 -0
- package/dist/esm/federationInstanceFetch.js +41 -0
- package/dist/esm/identityLink.js +84 -0
- package/dist/esm/identityProof.js +6 -29
- package/dist/esm/index.js +8 -10
- package/dist/esm/linkedAccounts.js +33 -0
- package/dist/esm/notifications.js +19 -0
- package/dist/esm/webauthn.js +49 -20
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountEmail.d.ts +98 -0
- package/dist/types/accountGraph.d.ts +4 -4
- package/dist/types/agency.d.ts +2 -2
- package/dist/types/deviceSession.d.ts +4 -4
- package/dist/types/externalIdentity.d.ts +8 -8
- package/dist/types/federationInstanceFetch.d.ts +63 -0
- package/dist/types/identityLink.d.ts +210 -0
- package/dist/types/identityProof.d.ts +15 -42
- package/dist/types/index.d.ts +7 -8
- package/dist/types/inference/accountBilling.d.ts +2 -2
- package/dist/types/inference/aliaModelRelease.d.ts +8 -8
- package/dist/types/inference/embeddings.d.ts +16 -16
- package/dist/types/inference/errors.d.ts +8 -8
- package/dist/types/inference/inbox.d.ts +8 -8
- package/dist/types/inference/modelDocumentation.d.ts +8 -8
- package/dist/types/inference/providerConnection.d.ts +20 -20
- package/dist/types/inference/request.d.ts +16 -16
- package/dist/types/inference/streamEvents.d.ts +20 -20
- package/dist/types/keyRecovery.d.ts +4 -4
- package/dist/types/linkedAccounts.d.ts +33 -0
- package/dist/types/notifications.d.ts +26 -0
- package/dist/types/sessionStatus.d.ts +2 -2
- package/dist/types/userResponse.d.ts +4 -4
- package/dist/types/webauthn.d.ts +102 -214
- package/package.json +1 -1
- package/dist/cjs/identityMove.js +0 -156
- package/dist/cjs/identityRecovery.js +0 -51
- package/dist/cjs/webIdentityCarrier.js +0 -181
- package/dist/esm/identityMove.js +0 -148
- package/dist/esm/identityRecovery.js +0 -48
- package/dist/esm/webIdentityCarrier.js +0 -178
- package/dist/types/identityMove.d.ts +0 -185
- package/dist/types/identityRecovery.d.ts +0 -246
- package/dist/types/webIdentityCarrier.d.ts +0 -1130
|
@@ -626,15 +626,15 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
626
626
|
}, "strict", z.ZodTypeAny, {
|
|
627
627
|
signature: string;
|
|
628
628
|
signedAt: string;
|
|
629
|
+
keyId: string;
|
|
629
630
|
algorithm: "ed25519";
|
|
630
631
|
canonicalization: "jcs";
|
|
631
|
-
keyId: string;
|
|
632
632
|
}, {
|
|
633
633
|
signature: string;
|
|
634
634
|
signedAt: string;
|
|
635
|
+
keyId: string;
|
|
635
636
|
algorithm: "ed25519";
|
|
636
637
|
canonicalization: "jcs";
|
|
637
|
-
keyId: string;
|
|
638
638
|
}>, "many">;
|
|
639
639
|
}, "strict", z.ZodTypeAny, {
|
|
640
640
|
schemaVersion: 1;
|
|
@@ -666,9 +666,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
666
666
|
signatures: {
|
|
667
667
|
signature: string;
|
|
668
668
|
signedAt: string;
|
|
669
|
+
keyId: string;
|
|
669
670
|
algorithm: "ed25519";
|
|
670
671
|
canonicalization: "jcs";
|
|
671
|
-
keyId: string;
|
|
672
672
|
}[];
|
|
673
673
|
license: {
|
|
674
674
|
displayName: string;
|
|
@@ -720,9 +720,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
720
720
|
signatures: {
|
|
721
721
|
signature: string;
|
|
722
722
|
signedAt: string;
|
|
723
|
+
keyId: string;
|
|
723
724
|
algorithm: "ed25519";
|
|
724
725
|
canonicalization: "jcs";
|
|
725
|
-
keyId: string;
|
|
726
726
|
}[];
|
|
727
727
|
license: {
|
|
728
728
|
displayName: string;
|
|
@@ -774,9 +774,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
774
774
|
signatures: {
|
|
775
775
|
signature: string;
|
|
776
776
|
signedAt: string;
|
|
777
|
+
keyId: string;
|
|
777
778
|
algorithm: "ed25519";
|
|
778
779
|
canonicalization: "jcs";
|
|
779
|
-
keyId: string;
|
|
780
780
|
}[];
|
|
781
781
|
license: {
|
|
782
782
|
displayName: string;
|
|
@@ -828,9 +828,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
828
828
|
signatures: {
|
|
829
829
|
signature: string;
|
|
830
830
|
signedAt: string;
|
|
831
|
+
keyId: string;
|
|
831
832
|
algorithm: "ed25519";
|
|
832
833
|
canonicalization: "jcs";
|
|
833
|
-
keyId: string;
|
|
834
834
|
}[];
|
|
835
835
|
license: {
|
|
836
836
|
displayName: string;
|
|
@@ -1087,9 +1087,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1087
1087
|
signatures: {
|
|
1088
1088
|
signature: string;
|
|
1089
1089
|
signedAt: string;
|
|
1090
|
+
keyId: string;
|
|
1090
1091
|
algorithm: "ed25519";
|
|
1091
1092
|
canonicalization: "jcs";
|
|
1092
|
-
keyId: string;
|
|
1093
1093
|
}[];
|
|
1094
1094
|
license: {
|
|
1095
1095
|
displayName: string;
|
|
@@ -1178,9 +1178,9 @@ export declare const modelReleaseIngestionRequestSchema: z.ZodObject<{
|
|
|
1178
1178
|
signatures: {
|
|
1179
1179
|
signature: string;
|
|
1180
1180
|
signedAt: string;
|
|
1181
|
+
keyId: string;
|
|
1181
1182
|
algorithm: "ed25519";
|
|
1182
1183
|
canonicalization: "jcs";
|
|
1183
|
-
keyId: string;
|
|
1184
1184
|
}[];
|
|
1185
1185
|
license: {
|
|
1186
1186
|
displayName: string;
|
|
@@ -137,25 +137,25 @@ export declare const kaanaCredentialRotateMutationSchema: z.ZodObject<{
|
|
|
137
137
|
ownerAccountId: string;
|
|
138
138
|
schemaVersion: 1;
|
|
139
139
|
action: "rotate";
|
|
140
|
-
expectedRevision: number;
|
|
141
140
|
provider: string;
|
|
142
141
|
connectionId: string;
|
|
143
142
|
operationId: string;
|
|
144
143
|
operationActor: string;
|
|
145
144
|
secretBase64: string;
|
|
146
145
|
credentialHandle: string;
|
|
146
|
+
expectedRevision: number;
|
|
147
147
|
}, {
|
|
148
148
|
environment: "development" | "staging" | "production";
|
|
149
149
|
ownerAccountId: string;
|
|
150
150
|
schemaVersion: 1;
|
|
151
151
|
action: "rotate";
|
|
152
|
-
expectedRevision: number;
|
|
153
152
|
provider: string;
|
|
154
153
|
connectionId: string;
|
|
155
154
|
operationId: string;
|
|
156
155
|
operationActor: string;
|
|
157
156
|
secretBase64: string;
|
|
158
157
|
credentialHandle: string;
|
|
158
|
+
expectedRevision: number;
|
|
159
159
|
}>;
|
|
160
160
|
export declare const kaanaCredentialRevokeMutationSchema: z.ZodObject<{
|
|
161
161
|
provider: z.ZodString;
|
|
@@ -174,23 +174,23 @@ export declare const kaanaCredentialRevokeMutationSchema: z.ZodObject<{
|
|
|
174
174
|
ownerAccountId: string;
|
|
175
175
|
schemaVersion: 1;
|
|
176
176
|
action: "revoke";
|
|
177
|
-
expectedRevision: number;
|
|
178
177
|
provider: string;
|
|
179
178
|
connectionId: string;
|
|
180
179
|
operationId: string;
|
|
181
180
|
operationActor: string;
|
|
182
181
|
credentialHandle: string;
|
|
182
|
+
expectedRevision: number;
|
|
183
183
|
}, {
|
|
184
184
|
environment: "development" | "staging" | "production";
|
|
185
185
|
ownerAccountId: string;
|
|
186
186
|
schemaVersion: 1;
|
|
187
187
|
action: "revoke";
|
|
188
|
-
expectedRevision: number;
|
|
189
188
|
provider: string;
|
|
190
189
|
connectionId: string;
|
|
191
190
|
operationId: string;
|
|
192
191
|
operationActor: string;
|
|
193
192
|
credentialHandle: string;
|
|
193
|
+
expectedRevision: number;
|
|
194
194
|
}>;
|
|
195
195
|
export declare const kaanaCredentialMutationSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
|
|
196
196
|
provider: z.ZodString;
|
|
@@ -241,25 +241,25 @@ export declare const kaanaCredentialMutationSchema: z.ZodDiscriminatedUnion<"act
|
|
|
241
241
|
ownerAccountId: string;
|
|
242
242
|
schemaVersion: 1;
|
|
243
243
|
action: "rotate";
|
|
244
|
-
expectedRevision: number;
|
|
245
244
|
provider: string;
|
|
246
245
|
connectionId: string;
|
|
247
246
|
operationId: string;
|
|
248
247
|
operationActor: string;
|
|
249
248
|
secretBase64: string;
|
|
250
249
|
credentialHandle: string;
|
|
250
|
+
expectedRevision: number;
|
|
251
251
|
}, {
|
|
252
252
|
environment: "development" | "staging" | "production";
|
|
253
253
|
ownerAccountId: string;
|
|
254
254
|
schemaVersion: 1;
|
|
255
255
|
action: "rotate";
|
|
256
|
-
expectedRevision: number;
|
|
257
256
|
provider: string;
|
|
258
257
|
connectionId: string;
|
|
259
258
|
operationId: string;
|
|
260
259
|
operationActor: string;
|
|
261
260
|
secretBase64: string;
|
|
262
261
|
credentialHandle: string;
|
|
262
|
+
expectedRevision: number;
|
|
263
263
|
}>, z.ZodObject<{
|
|
264
264
|
provider: z.ZodString;
|
|
265
265
|
ownerAccountId: z.ZodString;
|
|
@@ -277,23 +277,23 @@ export declare const kaanaCredentialMutationSchema: z.ZodDiscriminatedUnion<"act
|
|
|
277
277
|
ownerAccountId: string;
|
|
278
278
|
schemaVersion: 1;
|
|
279
279
|
action: "revoke";
|
|
280
|
-
expectedRevision: number;
|
|
281
280
|
provider: string;
|
|
282
281
|
connectionId: string;
|
|
283
282
|
operationId: string;
|
|
284
283
|
operationActor: string;
|
|
285
284
|
credentialHandle: string;
|
|
285
|
+
expectedRevision: number;
|
|
286
286
|
}, {
|
|
287
287
|
environment: "development" | "staging" | "production";
|
|
288
288
|
ownerAccountId: string;
|
|
289
289
|
schemaVersion: 1;
|
|
290
290
|
action: "revoke";
|
|
291
|
-
expectedRevision: number;
|
|
292
291
|
provider: string;
|
|
293
292
|
connectionId: string;
|
|
294
293
|
operationId: string;
|
|
295
294
|
operationActor: string;
|
|
296
295
|
credentialHandle: string;
|
|
296
|
+
expectedRevision: number;
|
|
297
297
|
}>]>;
|
|
298
298
|
export declare const kaanaCredentialCreateOutcomeRequestSchema: z.ZodObject<{
|
|
299
299
|
provider: z.ZodString;
|
|
@@ -337,21 +337,21 @@ export declare const kaanaCredentialRotateOutcomeRequestSchema: z.ZodObject<{
|
|
|
337
337
|
ownerAccountId: string;
|
|
338
338
|
schemaVersion: 1;
|
|
339
339
|
action: "rotate";
|
|
340
|
-
expectedRevision: number;
|
|
341
340
|
provider: string;
|
|
342
341
|
connectionId: string;
|
|
343
342
|
operationId: string;
|
|
344
343
|
credentialHandle: string;
|
|
344
|
+
expectedRevision: number;
|
|
345
345
|
}, {
|
|
346
346
|
environment: "development" | "staging" | "production";
|
|
347
347
|
ownerAccountId: string;
|
|
348
348
|
schemaVersion: 1;
|
|
349
349
|
action: "rotate";
|
|
350
|
-
expectedRevision: number;
|
|
351
350
|
provider: string;
|
|
352
351
|
connectionId: string;
|
|
353
352
|
operationId: string;
|
|
354
353
|
credentialHandle: string;
|
|
354
|
+
expectedRevision: number;
|
|
355
355
|
}>;
|
|
356
356
|
export declare const kaanaCredentialRevokeOutcomeRequestSchema: z.ZodObject<{
|
|
357
357
|
provider: z.ZodString;
|
|
@@ -369,21 +369,21 @@ export declare const kaanaCredentialRevokeOutcomeRequestSchema: z.ZodObject<{
|
|
|
369
369
|
ownerAccountId: string;
|
|
370
370
|
schemaVersion: 1;
|
|
371
371
|
action: "revoke";
|
|
372
|
-
expectedRevision: number;
|
|
373
372
|
provider: string;
|
|
374
373
|
connectionId: string;
|
|
375
374
|
operationId: string;
|
|
376
375
|
credentialHandle: string;
|
|
376
|
+
expectedRevision: number;
|
|
377
377
|
}, {
|
|
378
378
|
environment: "development" | "staging" | "production";
|
|
379
379
|
ownerAccountId: string;
|
|
380
380
|
schemaVersion: 1;
|
|
381
381
|
action: "revoke";
|
|
382
|
-
expectedRevision: number;
|
|
383
382
|
provider: string;
|
|
384
383
|
connectionId: string;
|
|
385
384
|
operationId: string;
|
|
386
385
|
credentialHandle: string;
|
|
386
|
+
expectedRevision: number;
|
|
387
387
|
}>;
|
|
388
388
|
export declare const kaanaCredentialOutcomeRequestSchema: z.ZodDiscriminatedUnion<"action", [z.ZodObject<{
|
|
389
389
|
provider: z.ZodString;
|
|
@@ -426,21 +426,21 @@ export declare const kaanaCredentialOutcomeRequestSchema: z.ZodDiscriminatedUnio
|
|
|
426
426
|
ownerAccountId: string;
|
|
427
427
|
schemaVersion: 1;
|
|
428
428
|
action: "rotate";
|
|
429
|
-
expectedRevision: number;
|
|
430
429
|
provider: string;
|
|
431
430
|
connectionId: string;
|
|
432
431
|
operationId: string;
|
|
433
432
|
credentialHandle: string;
|
|
433
|
+
expectedRevision: number;
|
|
434
434
|
}, {
|
|
435
435
|
environment: "development" | "staging" | "production";
|
|
436
436
|
ownerAccountId: string;
|
|
437
437
|
schemaVersion: 1;
|
|
438
438
|
action: "rotate";
|
|
439
|
-
expectedRevision: number;
|
|
440
439
|
provider: string;
|
|
441
440
|
connectionId: string;
|
|
442
441
|
operationId: string;
|
|
443
442
|
credentialHandle: string;
|
|
443
|
+
expectedRevision: number;
|
|
444
444
|
}>, z.ZodObject<{
|
|
445
445
|
provider: z.ZodString;
|
|
446
446
|
ownerAccountId: z.ZodString;
|
|
@@ -457,21 +457,21 @@ export declare const kaanaCredentialOutcomeRequestSchema: z.ZodDiscriminatedUnio
|
|
|
457
457
|
ownerAccountId: string;
|
|
458
458
|
schemaVersion: 1;
|
|
459
459
|
action: "revoke";
|
|
460
|
-
expectedRevision: number;
|
|
461
460
|
provider: string;
|
|
462
461
|
connectionId: string;
|
|
463
462
|
operationId: string;
|
|
464
463
|
credentialHandle: string;
|
|
464
|
+
expectedRevision: number;
|
|
465
465
|
}, {
|
|
466
466
|
environment: "development" | "staging" | "production";
|
|
467
467
|
ownerAccountId: string;
|
|
468
468
|
schemaVersion: 1;
|
|
469
469
|
action: "revoke";
|
|
470
|
-
expectedRevision: number;
|
|
471
470
|
provider: string;
|
|
472
471
|
connectionId: string;
|
|
473
472
|
operationId: string;
|
|
474
473
|
credentialHandle: string;
|
|
474
|
+
expectedRevision: number;
|
|
475
475
|
}>]>;
|
|
476
476
|
export declare const kaanaCredentialAppliedOutcomeSchema: z.ZodObject<{
|
|
477
477
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -832,12 +832,12 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
832
832
|
createdAt: z.ZodString;
|
|
833
833
|
rotatedAt: z.ZodOptional<z.ZodString>;
|
|
834
834
|
}, "strict", z.ZodTypeAny, {
|
|
835
|
+
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
835
836
|
validation: {
|
|
836
837
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
837
838
|
failureCode?: "unknown" | "network" | "rate_limited" | "unauthorized" | "forbidden" | "not_found" | undefined;
|
|
838
839
|
lastValidatedAt?: string | undefined;
|
|
839
840
|
};
|
|
840
|
-
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
841
841
|
environment: "development" | "staging" | "production";
|
|
842
842
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
843
843
|
createdAt: string;
|
|
@@ -862,12 +862,12 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
862
862
|
termsAcknowledgedAt?: string | undefined;
|
|
863
863
|
rotatedAt?: string | undefined;
|
|
864
864
|
}, {
|
|
865
|
+
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
865
866
|
validation: {
|
|
866
867
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
867
868
|
failureCode?: "unknown" | "network" | "rate_limited" | "unauthorized" | "forbidden" | "not_found" | undefined;
|
|
868
869
|
lastValidatedAt?: string | undefined;
|
|
869
870
|
};
|
|
870
|
-
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
871
871
|
environment: "development" | "staging" | "production";
|
|
872
872
|
ownerAccountId: string;
|
|
873
873
|
createdAt: string;
|
|
@@ -892,12 +892,12 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
892
892
|
termsAcknowledgedAt?: string | undefined;
|
|
893
893
|
rotatedAt?: string | undefined;
|
|
894
894
|
}>, {
|
|
895
|
+
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
895
896
|
validation: {
|
|
896
897
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
897
898
|
failureCode?: "unknown" | "network" | "rate_limited" | "unauthorized" | "forbidden" | "not_found" | undefined;
|
|
898
899
|
lastValidatedAt?: string | undefined;
|
|
899
900
|
};
|
|
900
|
-
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
901
901
|
environment: "development" | "staging" | "production";
|
|
902
902
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
903
903
|
createdAt: string;
|
|
@@ -922,12 +922,12 @@ export declare const providerConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
922
922
|
termsAcknowledgedAt?: string | undefined;
|
|
923
923
|
rotatedAt?: string | undefined;
|
|
924
924
|
}, {
|
|
925
|
+
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
925
926
|
validation: {
|
|
926
927
|
state: "valid" | "invalid" | "expired" | "unvalidated";
|
|
927
928
|
failureCode?: "unknown" | "network" | "rate_limited" | "unauthorized" | "forbidden" | "not_found" | undefined;
|
|
928
929
|
lastValidatedAt?: string | undefined;
|
|
929
930
|
};
|
|
930
|
-
status: "active" | "revoked" | "disabled" | "pending_validation";
|
|
931
931
|
environment: "development" | "staging" | "production";
|
|
932
932
|
ownerAccountId: string;
|
|
933
933
|
createdAt: string;
|
|
@@ -1188,14 +1188,14 @@ export declare const toolDefinitionSchema: z.ZodObject<{
|
|
|
1188
1188
|
type: "function";
|
|
1189
1189
|
name: string;
|
|
1190
1190
|
parameters: Record<string, unknown>;
|
|
1191
|
-
description?: string | undefined;
|
|
1192
1191
|
strict?: boolean | undefined;
|
|
1192
|
+
description?: string | undefined;
|
|
1193
1193
|
}, {
|
|
1194
1194
|
type: "function";
|
|
1195
1195
|
name: string;
|
|
1196
1196
|
parameters: Record<string, unknown>;
|
|
1197
|
-
description?: string | undefined;
|
|
1198
1197
|
strict?: boolean | undefined;
|
|
1198
|
+
description?: string | undefined;
|
|
1199
1199
|
}>;
|
|
1200
1200
|
/** Whether, and which, tool the model must call. */
|
|
1201
1201
|
export declare const toolChoiceSchema: z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
@@ -1228,14 +1228,14 @@ export declare const responseFormatSchema: z.ZodDiscriminatedUnion<"type", [z.Zo
|
|
|
1228
1228
|
strict: z.ZodBoolean;
|
|
1229
1229
|
}, "strict", z.ZodTypeAny, {
|
|
1230
1230
|
type: "json_schema";
|
|
1231
|
+
strict: boolean;
|
|
1231
1232
|
schema: Record<string, unknown>;
|
|
1232
1233
|
name: string;
|
|
1233
|
-
strict: boolean;
|
|
1234
1234
|
}, {
|
|
1235
1235
|
type: "json_schema";
|
|
1236
|
+
strict: boolean;
|
|
1236
1237
|
schema: Record<string, unknown>;
|
|
1237
1238
|
name: string;
|
|
1238
|
-
strict: boolean;
|
|
1239
1239
|
}>]>;
|
|
1240
1240
|
/**
|
|
1241
1241
|
* The caller's reasoning control. Strict, like every leaf: a provider-specific
|
|
@@ -1946,14 +1946,14 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1946
1946
|
type: "function";
|
|
1947
1947
|
name: string;
|
|
1948
1948
|
parameters: Record<string, unknown>;
|
|
1949
|
-
description?: string | undefined;
|
|
1950
1949
|
strict?: boolean | undefined;
|
|
1950
|
+
description?: string | undefined;
|
|
1951
1951
|
}, {
|
|
1952
1952
|
type: "function";
|
|
1953
1953
|
name: string;
|
|
1954
1954
|
parameters: Record<string, unknown>;
|
|
1955
|
-
description?: string | undefined;
|
|
1956
1955
|
strict?: boolean | undefined;
|
|
1956
|
+
description?: string | undefined;
|
|
1957
1957
|
}>, "many">>;
|
|
1958
1958
|
toolChoice: z.ZodOptional<z.ZodUnion<[z.ZodEnum<["auto", "none", "required"]>, z.ZodObject<{
|
|
1959
1959
|
type: z.ZodLiteral<"function">;
|
|
@@ -1984,14 +1984,14 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1984
1984
|
strict: z.ZodBoolean;
|
|
1985
1985
|
}, "strict", z.ZodTypeAny, {
|
|
1986
1986
|
type: "json_schema";
|
|
1987
|
+
strict: boolean;
|
|
1987
1988
|
schema: Record<string, unknown>;
|
|
1988
1989
|
name: string;
|
|
1989
|
-
strict: boolean;
|
|
1990
1990
|
}, {
|
|
1991
1991
|
type: "json_schema";
|
|
1992
|
+
strict: boolean;
|
|
1992
1993
|
schema: Record<string, unknown>;
|
|
1993
1994
|
name: string;
|
|
1994
|
-
strict: boolean;
|
|
1995
1995
|
}>]>>;
|
|
1996
1996
|
client: z.ZodObject<{
|
|
1997
1997
|
/** The public dialect the customer called. The response is rendered in it. */
|
|
@@ -2225,8 +2225,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2225
2225
|
type: "function";
|
|
2226
2226
|
name: string;
|
|
2227
2227
|
parameters: Record<string, unknown>;
|
|
2228
|
-
description?: string | undefined;
|
|
2229
2228
|
strict?: boolean | undefined;
|
|
2229
|
+
description?: string | undefined;
|
|
2230
2230
|
}[];
|
|
2231
2231
|
attribution: {
|
|
2232
2232
|
requestId: string;
|
|
@@ -2340,9 +2340,9 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2340
2340
|
type: "json_object";
|
|
2341
2341
|
} | {
|
|
2342
2342
|
type: "json_schema";
|
|
2343
|
+
strict: boolean;
|
|
2343
2344
|
schema: Record<string, unknown>;
|
|
2344
2345
|
name: string;
|
|
2345
|
-
strict: boolean;
|
|
2346
2346
|
} | undefined;
|
|
2347
2347
|
speech?: {
|
|
2348
2348
|
voice: string;
|
|
@@ -2488,8 +2488,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2488
2488
|
type: "function";
|
|
2489
2489
|
name: string;
|
|
2490
2490
|
parameters: Record<string, unknown>;
|
|
2491
|
-
description?: string | undefined;
|
|
2492
2491
|
strict?: boolean | undefined;
|
|
2492
|
+
description?: string | undefined;
|
|
2493
2493
|
}[] | undefined;
|
|
2494
2494
|
idempotencyKey?: string | undefined;
|
|
2495
2495
|
reasoning?: {
|
|
@@ -2502,9 +2502,9 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2502
2502
|
type: "json_object";
|
|
2503
2503
|
} | {
|
|
2504
2504
|
type: "json_schema";
|
|
2505
|
+
strict: boolean;
|
|
2505
2506
|
schema: Record<string, unknown>;
|
|
2506
2507
|
name: string;
|
|
2507
|
-
strict: boolean;
|
|
2508
2508
|
} | undefined;
|
|
2509
2509
|
speech?: {
|
|
2510
2510
|
voice: string;
|
|
@@ -2549,8 +2549,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2549
2549
|
type: "function";
|
|
2550
2550
|
name: string;
|
|
2551
2551
|
parameters: Record<string, unknown>;
|
|
2552
|
-
description?: string | undefined;
|
|
2553
2552
|
strict?: boolean | undefined;
|
|
2553
|
+
description?: string | undefined;
|
|
2554
2554
|
}[];
|
|
2555
2555
|
attribution: {
|
|
2556
2556
|
requestId: string;
|
|
@@ -2664,9 +2664,9 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2664
2664
|
type: "json_object";
|
|
2665
2665
|
} | {
|
|
2666
2666
|
type: "json_schema";
|
|
2667
|
+
strict: boolean;
|
|
2667
2668
|
schema: Record<string, unknown>;
|
|
2668
2669
|
name: string;
|
|
2669
|
-
strict: boolean;
|
|
2670
2670
|
} | undefined;
|
|
2671
2671
|
speech?: {
|
|
2672
2672
|
voice: string;
|
|
@@ -2812,8 +2812,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2812
2812
|
type: "function";
|
|
2813
2813
|
name: string;
|
|
2814
2814
|
parameters: Record<string, unknown>;
|
|
2815
|
-
description?: string | undefined;
|
|
2816
2815
|
strict?: boolean | undefined;
|
|
2816
|
+
description?: string | undefined;
|
|
2817
2817
|
}[] | undefined;
|
|
2818
2818
|
idempotencyKey?: string | undefined;
|
|
2819
2819
|
reasoning?: {
|
|
@@ -2826,9 +2826,9 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2826
2826
|
type: "json_object";
|
|
2827
2827
|
} | {
|
|
2828
2828
|
type: "json_schema";
|
|
2829
|
+
strict: boolean;
|
|
2829
2830
|
schema: Record<string, unknown>;
|
|
2830
2831
|
name: string;
|
|
2831
|
-
strict: boolean;
|
|
2832
2832
|
} | undefined;
|
|
2833
2833
|
speech?: {
|
|
2834
2834
|
voice: string;
|