@oxy.so/contracts 4.11.0 → 4.12.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/index.js +9 -7
- package/dist/cjs/inference/identifiers.js +14 -1
- package/dist/cjs/inference/routingPolicy.js +17 -0
- package/dist/cjs/inference/usage.js +8 -0
- package/dist/cjs/inference/version.js +1 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/index.js +3 -1
- package/dist/esm/inference/identifiers.js +13 -0
- package/dist/esm/inference/routingPolicy.js +18 -1
- package/dist/esm/inference/usage.js +9 -1
- package/dist/esm/inference/version.js +1 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountSubject.d.ts +4 -4
- package/dist/types/index.d.ts +2 -2
- package/dist/types/inference/accountBilling.d.ts +2 -2
- package/dist/types/inference/decisions.d.ts +20 -0
- package/dist/types/inference/identifiers.d.ts +14 -0
- package/dist/types/inference/realtime.d.ts +18 -0
- package/dist/types/inference/request.d.ts +54 -0
- package/dist/types/inference/routingPolicy.d.ts +10 -0
- package/dist/types/inference/usage.d.ts +12 -0
- package/dist/types/inference/version.d.ts +1 -1
- package/package.json +1 -1
|
@@ -166,7 +166,7 @@ export declare const financialEffectAttributionSchema: z.ZodEffects<z.ZodObject<
|
|
|
166
166
|
}>;
|
|
167
167
|
}, "strict", z.ZodTypeAny, {
|
|
168
168
|
schemaVersion: 1;
|
|
169
|
-
direction: "
|
|
169
|
+
direction: "credit" | "debit";
|
|
170
170
|
subjectAccountId: string & z.BRAND<"OxyAccountId">;
|
|
171
171
|
actor: {
|
|
172
172
|
schemaVersion: 1;
|
|
@@ -176,7 +176,7 @@ export declare const financialEffectAttributionSchema: z.ZodEffects<z.ZodObject<
|
|
|
176
176
|
};
|
|
177
177
|
}, {
|
|
178
178
|
schemaVersion: 1;
|
|
179
|
-
direction: "
|
|
179
|
+
direction: "credit" | "debit";
|
|
180
180
|
subjectAccountId: string;
|
|
181
181
|
actor: {
|
|
182
182
|
schemaVersion: 1;
|
|
@@ -186,7 +186,7 @@ export declare const financialEffectAttributionSchema: z.ZodEffects<z.ZodObject<
|
|
|
186
186
|
};
|
|
187
187
|
}>, {
|
|
188
188
|
schemaVersion: 1;
|
|
189
|
-
direction: "
|
|
189
|
+
direction: "credit" | "debit";
|
|
190
190
|
subjectAccountId: string & z.BRAND<"OxyAccountId">;
|
|
191
191
|
actor: {
|
|
192
192
|
schemaVersion: 1;
|
|
@@ -196,7 +196,7 @@ export declare const financialEffectAttributionSchema: z.ZodEffects<z.ZodObject<
|
|
|
196
196
|
};
|
|
197
197
|
}, {
|
|
198
198
|
schemaVersion: 1;
|
|
199
|
-
direction: "
|
|
199
|
+
direction: "credit" | "debit";
|
|
200
200
|
subjectAccountId: string;
|
|
201
201
|
actor: {
|
|
202
202
|
schemaVersion: 1;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -64,8 +64,8 @@ export type { EmailVerificationPurpose, EmailVerificationStartRequest, EmailVeri
|
|
|
64
64
|
export { transparencyCheckpointSignatureSchema, transparencyAnchorSchema, transparencyCheckpointSchema, transparencyInclusionProofSchema, transparencyCheckpointListSchema, } from './transparency';
|
|
65
65
|
export type { TransparencyCheckpointSignature, TransparencyAnchor, TransparencyCheckpoint, TransparencyInclusionProof, TransparencyCheckpointList, } from './transparency';
|
|
66
66
|
export { INFERENCE_CONTRACT_VERSION, } from './inference/version';
|
|
67
|
-
export { oxyAccountIdSchema, delegatedUserIdSchema, oxyApplicationIdSchema, oxyCredentialIdSchema, requestIdSchema, generationIdSchema, idempotencyKeySchema, inferenceEnvironmentSchema, inferenceTimestampSchema, inferenceDateSchema, inferenceHttpsUrlSchema, sha256DigestSchema, publisherSlugSchema, modelSlugSchema, modelIdSchema, modelRevisionLabelSchema, modelReferenceSchema, routingProfileIdSchema, routingProfileSlugSchema, inferenceProviderSlugSchema, deploymentIdSchema, inferenceRegionSchema, RESERVED_ALIA_PUBLISHER, } from './inference/identifiers';
|
|
68
|
-
export type { OxyAccountId, DelegatedUserId, InferenceEnvironment, ModelReference, ModelId, } from './inference/identifiers';
|
|
67
|
+
export { oxyAccountIdSchema, delegatedUserIdSchema, oxyApplicationIdSchema, oxyCredentialIdSchema, requestIdSchema, generationIdSchema, idempotencyKeySchema, inferenceEnvironmentSchema, inferenceTimestampSchema, inferenceDateSchema, inferenceHttpsUrlSchema, sha256DigestSchema, publisherSlugSchema, modelSlugSchema, modelIdSchema, modelRevisionLabelSchema, modelReferenceSchema, routingProfileIdSchema, routingProfileSlugSchema, inferenceProviderSlugSchema, deploymentIdSchema, inferenceRegionSchema, inferenceFundingTierSchema, RESERVED_ALIA_PUBLISHER, } from './inference/identifiers';
|
|
68
|
+
export type { OxyAccountId, DelegatedUserId, InferenceEnvironment, InferenceFundingTier, ModelReference, ModelId, } from './inference/identifiers';
|
|
69
69
|
export { currencyCodeSchema, INFERENCE_MONEY_SCALE, exactDecimalSchema, moneySchema, USAGE_UNITS, usageUnitSchema, USAGE_SOURCES, usageSourceSchema, usageQuantitySchema, unitPriceSchema, } from './inference/money';
|
|
70
70
|
export type { CurrencyCode, ExactDecimal, Money, UsageUnit, UsageSource, UsageQuantity, UnitPrice, } from './inference/money';
|
|
71
71
|
export { INFERENCE_SCOPES, inferenceScopeSchema, billingPrincipalSchema, authenticatedPrincipalSchema, inferenceAttributionSchema, } from './inference/attribution';
|
|
@@ -322,7 +322,7 @@ export declare const billingInvoiceSchema: z.ZodObject<{
|
|
|
322
322
|
paidAt: z.ZodOptional<z.ZodString>;
|
|
323
323
|
receiptCount: z.ZodNumber;
|
|
324
324
|
}, "strict", z.ZodTypeAny, {
|
|
325
|
-
status: "void" | "
|
|
325
|
+
status: "void" | "paid" | "draft" | "open";
|
|
326
326
|
schemaVersion: 1;
|
|
327
327
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
328
328
|
id: string;
|
|
@@ -337,7 +337,7 @@ export declare const billingInvoiceSchema: z.ZodObject<{
|
|
|
337
337
|
externalInvoiceRef?: string | undefined;
|
|
338
338
|
paidAt?: string | undefined;
|
|
339
339
|
}, {
|
|
340
|
-
status: "void" | "
|
|
340
|
+
status: "void" | "paid" | "draft" | "open";
|
|
341
341
|
schemaVersion: 1;
|
|
342
342
|
accountId: string;
|
|
343
343
|
id: string;
|
|
@@ -531,6 +531,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
531
531
|
servingProvider: z.ZodString;
|
|
532
532
|
deploymentId: z.ZodString;
|
|
533
533
|
routeSwitches: z.ZodNumber;
|
|
534
|
+
fundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
|
|
534
535
|
startedAt: z.ZodString;
|
|
535
536
|
completedAt: z.ZodString;
|
|
536
537
|
timeToFirstTokenMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -564,6 +565,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
564
565
|
routeSwitches: number;
|
|
565
566
|
startedAt: string;
|
|
566
567
|
generationId?: string | undefined;
|
|
568
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
567
569
|
timeToFirstTokenMs?: number | undefined;
|
|
568
570
|
}, {
|
|
569
571
|
schemaVersion: 2;
|
|
@@ -595,6 +597,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
595
597
|
routeSwitches: number;
|
|
596
598
|
startedAt: string;
|
|
597
599
|
generationId?: string | undefined;
|
|
600
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
598
601
|
timeToFirstTokenMs?: number | undefined;
|
|
599
602
|
}>, {
|
|
600
603
|
schemaVersion: 2;
|
|
@@ -626,6 +629,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
626
629
|
routeSwitches: number;
|
|
627
630
|
startedAt: string;
|
|
628
631
|
generationId?: string | undefined;
|
|
632
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
629
633
|
timeToFirstTokenMs?: number | undefined;
|
|
630
634
|
}, {
|
|
631
635
|
schemaVersion: 2;
|
|
@@ -657,6 +661,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
657
661
|
routeSwitches: number;
|
|
658
662
|
startedAt: string;
|
|
659
663
|
generationId?: string | undefined;
|
|
664
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
660
665
|
timeToFirstTokenMs?: number | undefined;
|
|
661
666
|
}>;
|
|
662
667
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -803,6 +808,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
803
808
|
routeSwitches: number;
|
|
804
809
|
startedAt: string;
|
|
805
810
|
generationId?: string | undefined;
|
|
811
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
806
812
|
timeToFirstTokenMs?: number | undefined;
|
|
807
813
|
};
|
|
808
814
|
}, {
|
|
@@ -857,6 +863,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
857
863
|
routeSwitches: number;
|
|
858
864
|
startedAt: string;
|
|
859
865
|
generationId?: string | undefined;
|
|
866
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
860
867
|
timeToFirstTokenMs?: number | undefined;
|
|
861
868
|
};
|
|
862
869
|
}>, {
|
|
@@ -911,6 +918,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
911
918
|
routeSwitches: number;
|
|
912
919
|
startedAt: string;
|
|
913
920
|
generationId?: string | undefined;
|
|
921
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
914
922
|
timeToFirstTokenMs?: number | undefined;
|
|
915
923
|
};
|
|
916
924
|
}, {
|
|
@@ -965,6 +973,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
965
973
|
routeSwitches: number;
|
|
966
974
|
startedAt: string;
|
|
967
975
|
generationId?: string | undefined;
|
|
976
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
968
977
|
timeToFirstTokenMs?: number | undefined;
|
|
969
978
|
};
|
|
970
979
|
}>, {
|
|
@@ -1019,6 +1028,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
1019
1028
|
routeSwitches: number;
|
|
1020
1029
|
startedAt: string;
|
|
1021
1030
|
generationId?: string | undefined;
|
|
1031
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1022
1032
|
timeToFirstTokenMs?: number | undefined;
|
|
1023
1033
|
};
|
|
1024
1034
|
}, {
|
|
@@ -1073,6 +1083,7 @@ export declare const decisionResultSchema: z.ZodEffects<z.ZodEffects<z.ZodObject
|
|
|
1073
1083
|
routeSwitches: number;
|
|
1074
1084
|
startedAt: string;
|
|
1075
1085
|
generationId?: string | undefined;
|
|
1086
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1076
1087
|
timeToFirstTokenMs?: number | undefined;
|
|
1077
1088
|
};
|
|
1078
1089
|
}>;
|
|
@@ -1250,6 +1261,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1250
1261
|
servingProvider: z.ZodString;
|
|
1251
1262
|
deploymentId: z.ZodString;
|
|
1252
1263
|
routeSwitches: z.ZodNumber;
|
|
1264
|
+
fundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
|
|
1253
1265
|
startedAt: z.ZodString;
|
|
1254
1266
|
completedAt: z.ZodString;
|
|
1255
1267
|
timeToFirstTokenMs: z.ZodOptional<z.ZodNumber>;
|
|
@@ -1283,6 +1295,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1283
1295
|
routeSwitches: number;
|
|
1284
1296
|
startedAt: string;
|
|
1285
1297
|
generationId?: string | undefined;
|
|
1298
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1286
1299
|
timeToFirstTokenMs?: number | undefined;
|
|
1287
1300
|
}, {
|
|
1288
1301
|
schemaVersion: 2;
|
|
@@ -1314,6 +1327,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1314
1327
|
routeSwitches: number;
|
|
1315
1328
|
startedAt: string;
|
|
1316
1329
|
generationId?: string | undefined;
|
|
1330
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1317
1331
|
timeToFirstTokenMs?: number | undefined;
|
|
1318
1332
|
}>, {
|
|
1319
1333
|
schemaVersion: 2;
|
|
@@ -1345,6 +1359,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1345
1359
|
routeSwitches: number;
|
|
1346
1360
|
startedAt: string;
|
|
1347
1361
|
generationId?: string | undefined;
|
|
1362
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1348
1363
|
timeToFirstTokenMs?: number | undefined;
|
|
1349
1364
|
}, {
|
|
1350
1365
|
schemaVersion: 2;
|
|
@@ -1376,6 +1391,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1376
1391
|
routeSwitches: number;
|
|
1377
1392
|
startedAt: string;
|
|
1378
1393
|
generationId?: string | undefined;
|
|
1394
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1379
1395
|
timeToFirstTokenMs?: number | undefined;
|
|
1380
1396
|
}>>;
|
|
1381
1397
|
}, "strict", z.ZodTypeAny, {
|
|
@@ -1427,6 +1443,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1427
1443
|
routeSwitches: number;
|
|
1428
1444
|
startedAt: string;
|
|
1429
1445
|
generationId?: string | undefined;
|
|
1446
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1430
1447
|
timeToFirstTokenMs?: number | undefined;
|
|
1431
1448
|
} | undefined;
|
|
1432
1449
|
}, {
|
|
@@ -1478,6 +1495,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1478
1495
|
routeSwitches: number;
|
|
1479
1496
|
startedAt: string;
|
|
1480
1497
|
generationId?: string | undefined;
|
|
1498
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1481
1499
|
timeToFirstTokenMs?: number | undefined;
|
|
1482
1500
|
} | undefined;
|
|
1483
1501
|
}>, {
|
|
@@ -1529,6 +1547,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1529
1547
|
routeSwitches: number;
|
|
1530
1548
|
startedAt: string;
|
|
1531
1549
|
generationId?: string | undefined;
|
|
1550
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1532
1551
|
timeToFirstTokenMs?: number | undefined;
|
|
1533
1552
|
} | undefined;
|
|
1534
1553
|
}, {
|
|
@@ -1580,6 +1599,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1580
1599
|
routeSwitches: number;
|
|
1581
1600
|
startedAt: string;
|
|
1582
1601
|
generationId?: string | undefined;
|
|
1602
|
+
fundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1583
1603
|
timeToFirstTokenMs?: number | undefined;
|
|
1584
1604
|
} | undefined;
|
|
1585
1605
|
}>;
|
|
@@ -182,3 +182,17 @@ export type DelegatedUserId = z.infer<typeof delegatedUserIdSchema>;
|
|
|
182
182
|
export type InferenceEnvironment = z.infer<typeof inferenceEnvironmentSchema>;
|
|
183
183
|
export type ModelReference = z.infer<typeof modelReferenceSchema>;
|
|
184
184
|
export type ModelId = z.infer<typeof modelIdSchema>;
|
|
185
|
+
/**
|
|
186
|
+
* The economic tier of the provider capacity that funds a request, in the
|
|
187
|
+
* order Kaana spends it: `free` (costs nothing), `credit` (a promotional or
|
|
188
|
+
* trial grant, or a prepaid balance), `paid` (ordinary metered spend).
|
|
189
|
+
*
|
|
190
|
+
* Kaana owns provider keys, their economics and which key serves (Oxy ADR
|
|
191
|
+
* 0038, Kaana ADR 0001); Oxy owns what a customer may spend. The tier is the
|
|
192
|
+
* one economic fact the two exchange: Oxy BOUNDS a route by it
|
|
193
|
+
* (`maxFundingTier`), and Kaana REPORTS the tier that served
|
|
194
|
+
* (`normalizedUsageReportSchema.fundingTier`). No key id, label or price
|
|
195
|
+
* travels with it.
|
|
196
|
+
*/
|
|
197
|
+
export declare const inferenceFundingTierSchema: z.ZodEnum<["free", "credit", "paid"]>;
|
|
198
|
+
export type InferenceFundingTier = z.infer<typeof inferenceFundingTierSchema>;
|
|
@@ -970,6 +970,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
970
970
|
modelReference: z.ZodString;
|
|
971
971
|
provider: z.ZodString;
|
|
972
972
|
regions: z.ZodArray<z.ZodString, "many">;
|
|
973
|
+
maxFundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
|
|
973
974
|
customerProviderCredential: z.ZodOptional<z.ZodObject<{
|
|
974
975
|
credentialHandle: z.ZodString;
|
|
975
976
|
credentialRevision: z.ZodNumber;
|
|
@@ -996,6 +997,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
996
997
|
deploymentId: string;
|
|
997
998
|
regions: string[];
|
|
998
999
|
substitution: "same_model";
|
|
1000
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
999
1001
|
customerProviderCredential?: {
|
|
1000
1002
|
environment: "development" | "staging" | "production";
|
|
1001
1003
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1009,6 +1011,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1009
1011
|
deploymentId: string;
|
|
1010
1012
|
regions: string[];
|
|
1011
1013
|
substitution: "same_model";
|
|
1014
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1012
1015
|
customerProviderCredential?: {
|
|
1013
1016
|
environment: "development" | "staging" | "production";
|
|
1014
1017
|
ownerAccountId: string;
|
|
@@ -1022,6 +1025,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1022
1025
|
modelReference: z.ZodString;
|
|
1023
1026
|
provider: z.ZodString;
|
|
1024
1027
|
regions: z.ZodArray<z.ZodString, "many">;
|
|
1028
|
+
maxFundingTier: z.ZodOptional<z.ZodEnum<["free", "credit", "paid"]>>;
|
|
1025
1029
|
customerProviderCredential: z.ZodOptional<z.ZodObject<{
|
|
1026
1030
|
credentialHandle: z.ZodString;
|
|
1027
1031
|
credentialRevision: z.ZodNumber;
|
|
@@ -1049,6 +1053,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1049
1053
|
regions: string[];
|
|
1050
1054
|
substitution: "cross_model";
|
|
1051
1055
|
authorizedByPolicy: true;
|
|
1056
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1052
1057
|
customerProviderCredential?: {
|
|
1053
1058
|
environment: "development" | "staging" | "production";
|
|
1054
1059
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1063,6 +1068,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1063
1068
|
regions: string[];
|
|
1064
1069
|
substitution: "cross_model";
|
|
1065
1070
|
authorizedByPolicy: true;
|
|
1071
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1066
1072
|
customerProviderCredential?: {
|
|
1067
1073
|
environment: "development" | "staging" | "production";
|
|
1068
1074
|
ownerAccountId: string;
|
|
@@ -1076,6 +1082,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1076
1082
|
deploymentId: string;
|
|
1077
1083
|
regions: string[];
|
|
1078
1084
|
substitution: "same_model";
|
|
1085
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1079
1086
|
customerProviderCredential?: {
|
|
1080
1087
|
environment: "development" | "staging" | "production";
|
|
1081
1088
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1090,6 +1097,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1090
1097
|
regions: string[];
|
|
1091
1098
|
substitution: "cross_model";
|
|
1092
1099
|
authorizedByPolicy: true;
|
|
1100
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1093
1101
|
customerProviderCredential?: {
|
|
1094
1102
|
environment: "development" | "staging" | "production";
|
|
1095
1103
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1103,6 +1111,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1103
1111
|
deploymentId: string;
|
|
1104
1112
|
regions: string[];
|
|
1105
1113
|
substitution: "same_model";
|
|
1114
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1106
1115
|
customerProviderCredential?: {
|
|
1107
1116
|
environment: "development" | "staging" | "production";
|
|
1108
1117
|
ownerAccountId: string;
|
|
@@ -1117,6 +1126,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1117
1126
|
regions: string[];
|
|
1118
1127
|
substitution: "cross_model";
|
|
1119
1128
|
authorizedByPolicy: true;
|
|
1129
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1120
1130
|
customerProviderCredential?: {
|
|
1121
1131
|
environment: "development" | "staging" | "production";
|
|
1122
1132
|
ownerAccountId: string;
|
|
@@ -1166,6 +1176,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1166
1176
|
deploymentId: string;
|
|
1167
1177
|
regions: string[];
|
|
1168
1178
|
substitution: "same_model";
|
|
1179
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1169
1180
|
customerProviderCredential?: {
|
|
1170
1181
|
environment: "development" | "staging" | "production";
|
|
1171
1182
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1180,6 +1191,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1180
1191
|
regions: string[];
|
|
1181
1192
|
substitution: "cross_model";
|
|
1182
1193
|
authorizedByPolicy: true;
|
|
1194
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1183
1195
|
customerProviderCredential?: {
|
|
1184
1196
|
environment: "development" | "staging" | "production";
|
|
1185
1197
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1272,6 +1284,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1272
1284
|
deploymentId: string;
|
|
1273
1285
|
regions: string[];
|
|
1274
1286
|
substitution: "same_model";
|
|
1287
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1275
1288
|
customerProviderCredential?: {
|
|
1276
1289
|
environment: "development" | "staging" | "production";
|
|
1277
1290
|
ownerAccountId: string;
|
|
@@ -1286,6 +1299,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1286
1299
|
regions: string[];
|
|
1287
1300
|
substitution: "cross_model";
|
|
1288
1301
|
authorizedByPolicy: true;
|
|
1302
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1289
1303
|
customerProviderCredential?: {
|
|
1290
1304
|
environment: "development" | "staging" | "production";
|
|
1291
1305
|
ownerAccountId: string;
|
|
@@ -1378,6 +1392,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1378
1392
|
deploymentId: string;
|
|
1379
1393
|
regions: string[];
|
|
1380
1394
|
substitution: "same_model";
|
|
1395
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1381
1396
|
customerProviderCredential?: {
|
|
1382
1397
|
environment: "development" | "staging" | "production";
|
|
1383
1398
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1392,6 +1407,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1392
1407
|
regions: string[];
|
|
1393
1408
|
substitution: "cross_model";
|
|
1394
1409
|
authorizedByPolicy: true;
|
|
1410
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1395
1411
|
customerProviderCredential?: {
|
|
1396
1412
|
environment: "development" | "staging" | "production";
|
|
1397
1413
|
ownerAccountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -1484,6 +1500,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1484
1500
|
deploymentId: string;
|
|
1485
1501
|
regions: string[];
|
|
1486
1502
|
substitution: "same_model";
|
|
1503
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1487
1504
|
customerProviderCredential?: {
|
|
1488
1505
|
environment: "development" | "staging" | "production";
|
|
1489
1506
|
ownerAccountId: string;
|
|
@@ -1498,6 +1515,7 @@ export declare const realtimeSessionRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1498
1515
|
regions: string[];
|
|
1499
1516
|
substitution: "cross_model";
|
|
1500
1517
|
authorizedByPolicy: true;
|
|
1518
|
+
maxFundingTier?: "free" | "credit" | "paid" | undefined;
|
|
1501
1519
|
customerProviderCredential?: {
|
|
1502
1520
|
environment: "development" | "staging" | "production";
|
|
1503
1521
|
ownerAccountId: string;
|