@oxy.so/contracts 4.7.0 → 4.9.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/accountGraph.js +13 -5
- package/dist/cjs/accountSubject.js +189 -0
- package/dist/cjs/agency.js +56 -4
- package/dist/cjs/agentKeys.js +67 -0
- package/dist/cjs/capabilityBindings.js +72 -0
- package/dist/cjs/index.js +68 -13
- package/dist/cjs/inference/catalogue.js +5 -2
- package/dist/cjs/inference/economics.js +135 -0
- package/dist/cjs/inference/request.js +33 -1
- package/dist/cjs/inference/scopedExecution.js +87 -0
- package/dist/cjs/products/access.js +60 -0
- package/dist/cjs/products/billing.js +32 -0
- package/dist/cjs/signIn.js +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/accountGraph.js +13 -5
- package/dist/esm/accountSubject.js +182 -0
- package/dist/esm/agency.js +55 -3
- package/dist/esm/agentKeys.js +63 -0
- package/dist/esm/capabilityBindings.js +67 -0
- package/dist/esm/index.js +12 -1
- package/dist/esm/inference/catalogue.js +3 -0
- package/dist/esm/inference/economics.js +132 -0
- package/dist/esm/inference/request.js +32 -0
- package/dist/esm/inference/scopedExecution.js +83 -0
- package/dist/esm/products/access.js +57 -0
- package/dist/esm/products/billing.js +29 -0
- package/dist/esm/signIn.js +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +23 -8
- package/dist/types/accountSubject.d.ts +210 -0
- package/dist/types/agency.d.ts +956 -190
- package/dist/types/agentKeys.d.ts +525 -0
- package/dist/types/capabilityBindings.d.ts +6 -0
- package/dist/types/deviceDirectory.d.ts +50 -50
- package/dist/types/deviceSession.d.ts +14 -14
- package/dist/types/externalIdentity.d.ts +4 -4
- package/dist/types/identity.d.ts +2 -2
- package/dist/types/index.d.ts +16 -2
- package/dist/types/inference/accountBilling.d.ts +30 -30
- package/dist/types/inference/aliaModelRelease.d.ts +4 -4
- package/dist/types/inference/catalogue.d.ts +200 -10
- package/dist/types/inference/economics.d.ts +376 -0
- package/dist/types/inference/entitlement.d.ts +47 -47
- package/dist/types/inference/inbox.d.ts +12 -12
- package/dist/types/inference/modelDocumentation.d.ts +8 -8
- package/dist/types/inference/priceVersion.d.ts +4 -4
- package/dist/types/inference/providerConnection.d.ts +38 -38
- package/dist/types/inference/realtime.d.ts +32 -32
- package/dist/types/inference/request.d.ts +2289 -16
- package/dist/types/inference/routingPolicy.d.ts +20 -20
- package/dist/types/inference/scopedExecution.d.ts +202 -0
- package/dist/types/inference/streamEvents.d.ts +4 -4
- package/dist/types/inference/usage.d.ts +12 -12
- package/dist/types/keyRotation.d.ts +2 -2
- package/dist/types/notifications.d.ts +4 -4
- package/dist/types/oauth.d.ts +30 -30
- package/dist/types/products/access.d.ts +487 -0
- package/dist/types/products/billing.d.ts +563 -0
- package/dist/types/recommendations.d.ts +2 -2
- package/dist/types/sessionStatus.d.ts +10 -10
- package/dist/types/signIn.d.ts +6 -6
- package/dist/types/transparency.d.ts +2 -2
- package/package.json +1 -1
|
@@ -993,8 +993,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
993
993
|
}, "strict", z.ZodTypeAny, {
|
|
994
994
|
provider: string;
|
|
995
995
|
modelReference: string;
|
|
996
|
-
regions: string[];
|
|
997
996
|
deploymentId: string;
|
|
997
|
+
regions: string[];
|
|
998
998
|
substitution: "same_model";
|
|
999
999
|
customerProviderCredential?: {
|
|
1000
1000
|
environment: "development" | "staging" | "production";
|
|
@@ -1006,8 +1006,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1006
1006
|
}, {
|
|
1007
1007
|
provider: string;
|
|
1008
1008
|
modelReference: string;
|
|
1009
|
-
regions: string[];
|
|
1010
1009
|
deploymentId: string;
|
|
1010
|
+
regions: string[];
|
|
1011
1011
|
substitution: "same_model";
|
|
1012
1012
|
customerProviderCredential?: {
|
|
1013
1013
|
environment: "development" | "staging" | "production";
|
|
@@ -1045,8 +1045,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1045
1045
|
}, "strict", z.ZodTypeAny, {
|
|
1046
1046
|
provider: string;
|
|
1047
1047
|
modelReference: string;
|
|
1048
|
-
regions: string[];
|
|
1049
1048
|
deploymentId: string;
|
|
1049
|
+
regions: string[];
|
|
1050
1050
|
substitution: "cross_model";
|
|
1051
1051
|
authorizedByPolicy: true;
|
|
1052
1052
|
customerProviderCredential?: {
|
|
@@ -1059,8 +1059,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1059
1059
|
}, {
|
|
1060
1060
|
provider: string;
|
|
1061
1061
|
modelReference: string;
|
|
1062
|
-
regions: string[];
|
|
1063
1062
|
deploymentId: string;
|
|
1063
|
+
regions: string[];
|
|
1064
1064
|
substitution: "cross_model";
|
|
1065
1065
|
authorizedByPolicy: true;
|
|
1066
1066
|
customerProviderCredential?: {
|
|
@@ -1073,8 +1073,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1073
1073
|
}>]>, {
|
|
1074
1074
|
provider: string;
|
|
1075
1075
|
modelReference: string;
|
|
1076
|
-
regions: string[];
|
|
1077
1076
|
deploymentId: string;
|
|
1077
|
+
regions: string[];
|
|
1078
1078
|
substitution: "same_model";
|
|
1079
1079
|
customerProviderCredential?: {
|
|
1080
1080
|
environment: "development" | "staging" | "production";
|
|
@@ -1086,8 +1086,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1086
1086
|
} | {
|
|
1087
1087
|
provider: string;
|
|
1088
1088
|
modelReference: string;
|
|
1089
|
-
regions: string[];
|
|
1090
1089
|
deploymentId: string;
|
|
1090
|
+
regions: string[];
|
|
1091
1091
|
substitution: "cross_model";
|
|
1092
1092
|
authorizedByPolicy: true;
|
|
1093
1093
|
customerProviderCredential?: {
|
|
@@ -1100,8 +1100,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1100
1100
|
}, {
|
|
1101
1101
|
provider: string;
|
|
1102
1102
|
modelReference: string;
|
|
1103
|
-
regions: string[];
|
|
1104
1103
|
deploymentId: string;
|
|
1104
|
+
regions: string[];
|
|
1105
1105
|
substitution: "same_model";
|
|
1106
1106
|
customerProviderCredential?: {
|
|
1107
1107
|
environment: "development" | "staging" | "production";
|
|
@@ -1113,8 +1113,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1113
1113
|
} | {
|
|
1114
1114
|
provider: string;
|
|
1115
1115
|
modelReference: string;
|
|
1116
|
-
regions: string[];
|
|
1117
1116
|
deploymentId: string;
|
|
1117
|
+
regions: string[];
|
|
1118
1118
|
substitution: "cross_model";
|
|
1119
1119
|
authorizedByPolicy: true;
|
|
1120
1120
|
customerProviderCredential?: {
|
|
@@ -1127,6 +1127,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1127
1127
|
}>, "many">;
|
|
1128
1128
|
}, "strip", z.ZodTypeAny, {
|
|
1129
1129
|
kind: "conversation" | "transcription" | "translation";
|
|
1130
|
+
schemaVersion: 1;
|
|
1130
1131
|
limits: {
|
|
1131
1132
|
maxDurationMs: number;
|
|
1132
1133
|
idleTimeoutMs: number;
|
|
@@ -1134,7 +1135,6 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1134
1135
|
maxOutputAudioBytes: number;
|
|
1135
1136
|
maxResponses: number;
|
|
1136
1137
|
};
|
|
1137
|
-
schemaVersion: 1;
|
|
1138
1138
|
attribution: {
|
|
1139
1139
|
requestId: string;
|
|
1140
1140
|
principal: {
|
|
@@ -1163,8 +1163,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1163
1163
|
authorizedRoutes: ({
|
|
1164
1164
|
provider: string;
|
|
1165
1165
|
modelReference: string;
|
|
1166
|
-
regions: string[];
|
|
1167
1166
|
deploymentId: string;
|
|
1167
|
+
regions: string[];
|
|
1168
1168
|
substitution: "same_model";
|
|
1169
1169
|
customerProviderCredential?: {
|
|
1170
1170
|
environment: "development" | "staging" | "production";
|
|
@@ -1176,8 +1176,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1176
1176
|
} | {
|
|
1177
1177
|
provider: string;
|
|
1178
1178
|
modelReference: string;
|
|
1179
|
-
regions: string[];
|
|
1180
1179
|
deploymentId: string;
|
|
1180
|
+
regions: string[];
|
|
1181
1181
|
substitution: "cross_model";
|
|
1182
1182
|
authorizedByPolicy: true;
|
|
1183
1183
|
customerProviderCredential?: {
|
|
@@ -1233,6 +1233,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1233
1233
|
};
|
|
1234
1234
|
}, {
|
|
1235
1235
|
kind: "conversation" | "transcription" | "translation";
|
|
1236
|
+
schemaVersion: 1;
|
|
1236
1237
|
limits: {
|
|
1237
1238
|
maxDurationMs: number;
|
|
1238
1239
|
idleTimeoutMs: number;
|
|
@@ -1240,7 +1241,6 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1240
1241
|
maxOutputAudioBytes: number;
|
|
1241
1242
|
maxResponses: number;
|
|
1242
1243
|
};
|
|
1243
|
-
schemaVersion: 1;
|
|
1244
1244
|
attribution: {
|
|
1245
1245
|
requestId: string;
|
|
1246
1246
|
principal: {
|
|
@@ -1269,8 +1269,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1269
1269
|
authorizedRoutes: ({
|
|
1270
1270
|
provider: string;
|
|
1271
1271
|
modelReference: string;
|
|
1272
|
-
regions: string[];
|
|
1273
1272
|
deploymentId: string;
|
|
1273
|
+
regions: string[];
|
|
1274
1274
|
substitution: "same_model";
|
|
1275
1275
|
customerProviderCredential?: {
|
|
1276
1276
|
environment: "development" | "staging" | "production";
|
|
@@ -1282,8 +1282,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1282
1282
|
} | {
|
|
1283
1283
|
provider: string;
|
|
1284
1284
|
modelReference: string;
|
|
1285
|
-
regions: string[];
|
|
1286
1285
|
deploymentId: string;
|
|
1286
|
+
regions: string[];
|
|
1287
1287
|
substitution: "cross_model";
|
|
1288
1288
|
authorizedByPolicy: true;
|
|
1289
1289
|
customerProviderCredential?: {
|
|
@@ -1339,6 +1339,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1339
1339
|
};
|
|
1340
1340
|
}>, {
|
|
1341
1341
|
kind: "conversation" | "transcription" | "translation";
|
|
1342
|
+
schemaVersion: 1;
|
|
1342
1343
|
limits: {
|
|
1343
1344
|
maxDurationMs: number;
|
|
1344
1345
|
idleTimeoutMs: number;
|
|
@@ -1346,7 +1347,6 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1346
1347
|
maxOutputAudioBytes: number;
|
|
1347
1348
|
maxResponses: number;
|
|
1348
1349
|
};
|
|
1349
|
-
schemaVersion: 1;
|
|
1350
1350
|
attribution: {
|
|
1351
1351
|
requestId: string;
|
|
1352
1352
|
principal: {
|
|
@@ -1375,8 +1375,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1375
1375
|
authorizedRoutes: ({
|
|
1376
1376
|
provider: string;
|
|
1377
1377
|
modelReference: string;
|
|
1378
|
-
regions: string[];
|
|
1379
1378
|
deploymentId: string;
|
|
1379
|
+
regions: string[];
|
|
1380
1380
|
substitution: "same_model";
|
|
1381
1381
|
customerProviderCredential?: {
|
|
1382
1382
|
environment: "development" | "staging" | "production";
|
|
@@ -1388,8 +1388,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1388
1388
|
} | {
|
|
1389
1389
|
provider: string;
|
|
1390
1390
|
modelReference: string;
|
|
1391
|
-
regions: string[];
|
|
1392
1391
|
deploymentId: string;
|
|
1392
|
+
regions: string[];
|
|
1393
1393
|
substitution: "cross_model";
|
|
1394
1394
|
authorizedByPolicy: true;
|
|
1395
1395
|
customerProviderCredential?: {
|
|
@@ -1445,6 +1445,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1445
1445
|
};
|
|
1446
1446
|
}, {
|
|
1447
1447
|
kind: "conversation" | "transcription" | "translation";
|
|
1448
|
+
schemaVersion: 1;
|
|
1448
1449
|
limits: {
|
|
1449
1450
|
maxDurationMs: number;
|
|
1450
1451
|
idleTimeoutMs: number;
|
|
@@ -1452,7 +1453,6 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1452
1453
|
maxOutputAudioBytes: number;
|
|
1453
1454
|
maxResponses: number;
|
|
1454
1455
|
};
|
|
1455
|
-
schemaVersion: 1;
|
|
1456
1456
|
attribution: {
|
|
1457
1457
|
requestId: string;
|
|
1458
1458
|
principal: {
|
|
@@ -1481,8 +1481,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1481
1481
|
authorizedRoutes: ({
|
|
1482
1482
|
provider: string;
|
|
1483
1483
|
modelReference: string;
|
|
1484
|
-
regions: string[];
|
|
1485
1484
|
deploymentId: string;
|
|
1485
|
+
regions: string[];
|
|
1486
1486
|
substitution: "same_model";
|
|
1487
1487
|
customerProviderCredential?: {
|
|
1488
1488
|
environment: "development" | "staging" | "production";
|
|
@@ -1494,8 +1494,8 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1494
1494
|
} | {
|
|
1495
1495
|
provider: string;
|
|
1496
1496
|
modelReference: string;
|
|
1497
|
-
regions: string[];
|
|
1498
1497
|
deploymentId: string;
|
|
1498
|
+
regions: string[];
|
|
1499
1499
|
substitution: "cross_model";
|
|
1500
1500
|
authorizedByPolicy: true;
|
|
1501
1501
|
customerProviderCredential?: {
|
|
@@ -3683,6 +3683,7 @@ export declare const realtimeSessionCreatedEventSchema: z.ZodObject<{
|
|
|
3683
3683
|
type: "session.created";
|
|
3684
3684
|
expiresAt: string;
|
|
3685
3685
|
kind: "conversation" | "transcription" | "translation";
|
|
3686
|
+
schemaVersion: 1;
|
|
3686
3687
|
limits: {
|
|
3687
3688
|
maxDurationMs: number;
|
|
3688
3689
|
idleTimeoutMs: number;
|
|
@@ -3690,7 +3691,6 @@ export declare const realtimeSessionCreatedEventSchema: z.ZodObject<{
|
|
|
3690
3691
|
maxOutputAudioBytes: number;
|
|
3691
3692
|
maxResponses: number;
|
|
3692
3693
|
};
|
|
3693
|
-
schemaVersion: 1;
|
|
3694
3694
|
requestId: string;
|
|
3695
3695
|
resolvedModelReference: string;
|
|
3696
3696
|
servingProvider: string;
|
|
@@ -3745,6 +3745,7 @@ export declare const realtimeSessionCreatedEventSchema: z.ZodObject<{
|
|
|
3745
3745
|
type: "session.created";
|
|
3746
3746
|
expiresAt: string;
|
|
3747
3747
|
kind: "conversation" | "transcription" | "translation";
|
|
3748
|
+
schemaVersion: 1;
|
|
3748
3749
|
limits: {
|
|
3749
3750
|
maxDurationMs: number;
|
|
3750
3751
|
idleTimeoutMs: number;
|
|
@@ -3752,7 +3753,6 @@ export declare const realtimeSessionCreatedEventSchema: z.ZodObject<{
|
|
|
3752
3753
|
maxOutputAudioBytes: number;
|
|
3753
3754
|
maxResponses: number;
|
|
3754
3755
|
};
|
|
3755
|
-
schemaVersion: 1;
|
|
3756
3756
|
requestId: string;
|
|
3757
3757
|
resolvedModelReference: string;
|
|
3758
3758
|
servingProvider: string;
|
|
@@ -5353,8 +5353,8 @@ export declare const realtimeSessionClosedEventSchema: z.ZodObject<{
|
|
|
5353
5353
|
commandId: z.ZodOptional<z.ZodString>;
|
|
5354
5354
|
}, "strip", z.ZodTypeAny, {
|
|
5355
5355
|
type: "session.closed";
|
|
5356
|
-
reason: "no_route_available" | "client_closed" | "max_duration" | "idle_timeout" | "limit_exceeded" | "resume_expired" | "upstream_closed" | "upstream_error" | "server_shutdown";
|
|
5357
5356
|
schemaVersion: 1;
|
|
5357
|
+
reason: "no_route_available" | "client_closed" | "max_duration" | "idle_timeout" | "limit_exceeded" | "resume_expired" | "upstream_closed" | "upstream_error" | "server_shutdown";
|
|
5358
5358
|
requestId: string;
|
|
5359
5359
|
units: {
|
|
5360
5360
|
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
@@ -5367,8 +5367,8 @@ export declare const realtimeSessionClosedEventSchema: z.ZodObject<{
|
|
|
5367
5367
|
commandId?: string | undefined;
|
|
5368
5368
|
}, {
|
|
5369
5369
|
type: "session.closed";
|
|
5370
|
-
reason: "no_route_available" | "client_closed" | "max_duration" | "idle_timeout" | "limit_exceeded" | "resume_expired" | "upstream_closed" | "upstream_error" | "server_shutdown";
|
|
5371
5370
|
schemaVersion: 1;
|
|
5371
|
+
reason: "no_route_available" | "client_closed" | "max_duration" | "idle_timeout" | "limit_exceeded" | "resume_expired" | "upstream_closed" | "upstream_error" | "server_shutdown";
|
|
5372
5372
|
requestId: string;
|
|
5373
5373
|
units: {
|
|
5374
5374
|
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
@@ -5603,6 +5603,7 @@ export declare const realtimeServerEventSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
5603
5603
|
type: "session.created";
|
|
5604
5604
|
expiresAt: string;
|
|
5605
5605
|
kind: "conversation" | "transcription" | "translation";
|
|
5606
|
+
schemaVersion: 1;
|
|
5606
5607
|
limits: {
|
|
5607
5608
|
maxDurationMs: number;
|
|
5608
5609
|
idleTimeoutMs: number;
|
|
@@ -5610,7 +5611,6 @@ export declare const realtimeServerEventSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
5610
5611
|
maxOutputAudioBytes: number;
|
|
5611
5612
|
maxResponses: number;
|
|
5612
5613
|
};
|
|
5613
|
-
schemaVersion: 1;
|
|
5614
5614
|
requestId: string;
|
|
5615
5615
|
resolvedModelReference: string;
|
|
5616
5616
|
servingProvider: string;
|
|
@@ -5665,6 +5665,7 @@ export declare const realtimeServerEventSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
5665
5665
|
type: "session.created";
|
|
5666
5666
|
expiresAt: string;
|
|
5667
5667
|
kind: "conversation" | "transcription" | "translation";
|
|
5668
|
+
schemaVersion: 1;
|
|
5668
5669
|
limits: {
|
|
5669
5670
|
maxDurationMs: number;
|
|
5670
5671
|
idleTimeoutMs: number;
|
|
@@ -5672,7 +5673,6 @@ export declare const realtimeServerEventSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
5672
5673
|
maxOutputAudioBytes: number;
|
|
5673
5674
|
maxResponses: number;
|
|
5674
5675
|
};
|
|
5675
|
-
schemaVersion: 1;
|
|
5676
5676
|
requestId: string;
|
|
5677
5677
|
resolvedModelReference: string;
|
|
5678
5678
|
servingProvider: string;
|
|
@@ -7221,8 +7221,8 @@ export declare const realtimeServerEventSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
7221
7221
|
commandId: z.ZodOptional<z.ZodString>;
|
|
7222
7222
|
}, "strip", z.ZodTypeAny, {
|
|
7223
7223
|
type: "session.closed";
|
|
7224
|
-
reason: "no_route_available" | "client_closed" | "max_duration" | "idle_timeout" | "limit_exceeded" | "resume_expired" | "upstream_closed" | "upstream_error" | "server_shutdown";
|
|
7225
7224
|
schemaVersion: 1;
|
|
7225
|
+
reason: "no_route_available" | "client_closed" | "max_duration" | "idle_timeout" | "limit_exceeded" | "resume_expired" | "upstream_closed" | "upstream_error" | "server_shutdown";
|
|
7226
7226
|
requestId: string;
|
|
7227
7227
|
units: {
|
|
7228
7228
|
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
@@ -7235,8 +7235,8 @@ export declare const realtimeServerEventSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
7235
7235
|
commandId?: string | undefined;
|
|
7236
7236
|
}, {
|
|
7237
7237
|
type: "session.closed";
|
|
7238
|
-
reason: "no_route_available" | "client_closed" | "max_duration" | "idle_timeout" | "limit_exceeded" | "resume_expired" | "upstream_closed" | "upstream_error" | "server_shutdown";
|
|
7239
7238
|
schemaVersion: 1;
|
|
7239
|
+
reason: "no_route_available" | "client_closed" | "max_duration" | "idle_timeout" | "limit_exceeded" | "resume_expired" | "upstream_closed" | "upstream_error" | "server_shutdown";
|
|
7240
7240
|
requestId: string;
|
|
7241
7241
|
units: {
|
|
7242
7242
|
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
@@ -7251,6 +7251,7 @@ export declare const realtimeServerEventSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
7251
7251
|
type: "session.created";
|
|
7252
7252
|
expiresAt: string;
|
|
7253
7253
|
kind: "conversation" | "transcription" | "translation";
|
|
7254
|
+
schemaVersion: 1;
|
|
7254
7255
|
limits: {
|
|
7255
7256
|
maxDurationMs: number;
|
|
7256
7257
|
idleTimeoutMs: number;
|
|
@@ -7258,7 +7259,6 @@ export declare const realtimeServerEventSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
7258
7259
|
maxOutputAudioBytes: number;
|
|
7259
7260
|
maxResponses: number;
|
|
7260
7261
|
};
|
|
7261
|
-
schemaVersion: 1;
|
|
7262
7262
|
requestId: string;
|
|
7263
7263
|
resolvedModelReference: string;
|
|
7264
7264
|
servingProvider: string;
|
|
@@ -7607,8 +7607,8 @@ export declare const realtimeServerEventSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
7607
7607
|
commandId?: string | undefined;
|
|
7608
7608
|
} | {
|
|
7609
7609
|
type: "session.closed";
|
|
7610
|
-
reason: "no_route_available" | "client_closed" | "max_duration" | "idle_timeout" | "limit_exceeded" | "resume_expired" | "upstream_closed" | "upstream_error" | "server_shutdown";
|
|
7611
7610
|
schemaVersion: 1;
|
|
7611
|
+
reason: "no_route_available" | "client_closed" | "max_duration" | "idle_timeout" | "limit_exceeded" | "resume_expired" | "upstream_closed" | "upstream_error" | "server_shutdown";
|
|
7612
7612
|
requestId: string;
|
|
7613
7613
|
units: {
|
|
7614
7614
|
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|
|
@@ -7623,6 +7623,7 @@ export declare const realtimeServerEventSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
7623
7623
|
type: "session.created";
|
|
7624
7624
|
expiresAt: string;
|
|
7625
7625
|
kind: "conversation" | "transcription" | "translation";
|
|
7626
|
+
schemaVersion: 1;
|
|
7626
7627
|
limits: {
|
|
7627
7628
|
maxDurationMs: number;
|
|
7628
7629
|
idleTimeoutMs: number;
|
|
@@ -7630,7 +7631,6 @@ export declare const realtimeServerEventSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
7630
7631
|
maxOutputAudioBytes: number;
|
|
7631
7632
|
maxResponses: number;
|
|
7632
7633
|
};
|
|
7633
|
-
schemaVersion: 1;
|
|
7634
7634
|
requestId: string;
|
|
7635
7635
|
resolvedModelReference: string;
|
|
7636
7636
|
servingProvider: string;
|
|
@@ -7979,8 +7979,8 @@ export declare const realtimeServerEventSchema: z.ZodEffects<z.ZodDiscriminatedU
|
|
|
7979
7979
|
commandId?: string | undefined;
|
|
7980
7980
|
} | {
|
|
7981
7981
|
type: "session.closed";
|
|
7982
|
-
reason: "no_route_available" | "client_closed" | "max_duration" | "idle_timeout" | "limit_exceeded" | "resume_expired" | "upstream_closed" | "upstream_error" | "server_shutdown";
|
|
7983
7982
|
schemaVersion: 1;
|
|
7983
|
+
reason: "no_route_available" | "client_closed" | "max_duration" | "idle_timeout" | "limit_exceeded" | "resume_expired" | "upstream_closed" | "upstream_error" | "server_shutdown";
|
|
7984
7984
|
requestId: string;
|
|
7985
7985
|
units: {
|
|
7986
7986
|
unit: "input_tokens" | "cached_input_tokens" | "output_tokens" | "reasoning_tokens" | "requests" | "images" | "audio_input_milliseconds" | "audio_output_milliseconds" | "video_milliseconds" | "characters" | "embeddings" | "audio_input_tokens" | "cached_audio_input_tokens" | "audio_output_tokens" | "session_milliseconds";
|