@oxy.so/contracts 4.14.0 → 4.16.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 +15 -9
- package/dist/cjs/inference/money.js +10 -0
- package/dist/cjs/inference/version.js +1 -1
- package/dist/cjs/signIn.js +40 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/inference/money.js +10 -0
- package/dist/esm/inference/version.js +1 -1
- package/dist/esm/signIn.js +38 -0
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +22 -22
- package/dist/types/accountSubject.d.ts +4 -4
- package/dist/types/agency.d.ts +86 -86
- package/dist/types/deviceDirectory.d.ts +180 -180
- package/dist/types/email/messages.d.ts +78 -78
- package/dist/types/externalIdentity.d.ts +59 -59
- package/dist/types/index.d.ts +2 -2
- package/dist/types/inference/accountBilling.d.ts +36 -36
- package/dist/types/inference/catalogue.d.ts +19 -19
- package/dist/types/inference/decisions.d.ts +47 -47
- package/dist/types/inference/economics.d.ts +11 -11
- package/dist/types/inference/embeddings.d.ts +18 -18
- package/dist/types/inference/entitlement.d.ts +12 -12
- package/dist/types/inference/errors.d.ts +4 -4
- package/dist/types/inference/inbox.d.ts +17 -17
- package/dist/types/inference/money.d.ts +17 -8
- package/dist/types/inference/priceVersion.d.ts +20 -20
- package/dist/types/inference/privateAutoExecution.d.ts +12 -12
- package/dist/types/inference/providerConnection.d.ts +24 -24
- package/dist/types/inference/realtime.d.ts +50 -50
- package/dist/types/inference/request.d.ts +26 -26
- package/dist/types/inference/routingPolicy.d.ts +11 -11
- package/dist/types/inference/scopedExecution.d.ts +8 -8
- package/dist/types/inference/streamEvents.d.ts +30 -30
- package/dist/types/inference/usage.d.ts +36 -36
- package/dist/types/inference/version.d.ts +1 -1
- package/dist/types/keyRecovery.d.ts +4 -4
- package/dist/types/linkedAccounts.d.ts +16 -16
- package/dist/types/notifications.d.ts +4 -4
- package/dist/types/oauth.d.ts +40 -40
- package/dist/types/products/access.d.ts +18 -18
- package/dist/types/products/billing.d.ts +24 -24
- package/dist/types/products/plans.d.ts +6 -6
- package/dist/types/recommendations.d.ts +30 -30
- package/dist/types/safety.d.ts +2 -2
- package/dist/types/sessionStatus.d.ts +6 -6
- package/dist/types/signIn.d.ts +82 -1
- package/dist/types/stickers.d.ts +32 -32
- package/dist/types/userResponse.d.ts +108 -108
- package/package.json +1 -1
|
@@ -1545,13 +1545,13 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1545
1545
|
credentialId: z.ZodString;
|
|
1546
1546
|
environment: z.ZodEnum<["development", "staging", "production"]>;
|
|
1547
1547
|
}, "strict", z.ZodTypeAny, {
|
|
1548
|
-
environment: "development" | "staging" | "production";
|
|
1549
1548
|
accountId: string;
|
|
1549
|
+
environment: "development" | "staging" | "production";
|
|
1550
1550
|
applicationId: string;
|
|
1551
1551
|
credentialId: string;
|
|
1552
1552
|
}, {
|
|
1553
|
-
environment: "development" | "staging" | "production";
|
|
1554
1553
|
accountId: string;
|
|
1554
|
+
environment: "development" | "staging" | "production";
|
|
1555
1555
|
applicationId: string;
|
|
1556
1556
|
credentialId: string;
|
|
1557
1557
|
}>;
|
|
@@ -1584,8 +1584,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1584
1584
|
keyId: string;
|
|
1585
1585
|
idempotencyKey: string;
|
|
1586
1586
|
principal: {
|
|
1587
|
-
environment: "development" | "staging" | "production";
|
|
1588
1587
|
accountId: string;
|
|
1588
|
+
environment: "development" | "staging" | "production";
|
|
1589
1589
|
applicationId: string;
|
|
1590
1590
|
credentialId: string;
|
|
1591
1591
|
};
|
|
@@ -1611,8 +1611,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1611
1611
|
keyId: string;
|
|
1612
1612
|
idempotencyKey: string;
|
|
1613
1613
|
principal: {
|
|
1614
|
-
environment: "development" | "staging" | "production";
|
|
1615
1614
|
accountId: string;
|
|
1615
|
+
environment: "development" | "staging" | "production";
|
|
1616
1616
|
applicationId: string;
|
|
1617
1617
|
credentialId: string;
|
|
1618
1618
|
};
|
|
@@ -2904,8 +2904,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
2904
2904
|
keyId: string;
|
|
2905
2905
|
idempotencyKey: string;
|
|
2906
2906
|
principal: {
|
|
2907
|
-
environment: "development" | "staging" | "production";
|
|
2908
2907
|
accountId: string;
|
|
2908
|
+
environment: "development" | "staging" | "production";
|
|
2909
2909
|
applicationId: string;
|
|
2910
2910
|
credentialId: string;
|
|
2911
2911
|
};
|
|
@@ -3125,8 +3125,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3125
3125
|
keyId: string;
|
|
3126
3126
|
idempotencyKey: string;
|
|
3127
3127
|
principal: {
|
|
3128
|
-
environment: "development" | "staging" | "production";
|
|
3129
3128
|
accountId: string;
|
|
3129
|
+
environment: "development" | "staging" | "production";
|
|
3130
3130
|
applicationId: string;
|
|
3131
3131
|
credentialId: string;
|
|
3132
3132
|
};
|
|
@@ -3346,8 +3346,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3346
3346
|
keyId: string;
|
|
3347
3347
|
idempotencyKey: string;
|
|
3348
3348
|
principal: {
|
|
3349
|
-
environment: "development" | "staging" | "production";
|
|
3350
3349
|
accountId: string;
|
|
3350
|
+
environment: "development" | "staging" | "production";
|
|
3351
3351
|
applicationId: string;
|
|
3352
3352
|
credentialId: string;
|
|
3353
3353
|
};
|
|
@@ -3567,8 +3567,8 @@ export declare const inferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
3567
3567
|
keyId: string;
|
|
3568
3568
|
idempotencyKey: string;
|
|
3569
3569
|
principal: {
|
|
3570
|
-
environment: "development" | "staging" | "production";
|
|
3571
3570
|
accountId: string;
|
|
3571
|
+
environment: "development" | "staging" | "production";
|
|
3572
3572
|
applicationId: string;
|
|
3573
3573
|
credentialId: string;
|
|
3574
3574
|
};
|
|
@@ -4748,13 +4748,13 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4748
4748
|
credentialId: z.ZodString;
|
|
4749
4749
|
environment: z.ZodEnum<["development", "staging", "production"]>;
|
|
4750
4750
|
}, "strict", z.ZodTypeAny, {
|
|
4751
|
-
environment: "development" | "staging" | "production";
|
|
4752
4751
|
accountId: string;
|
|
4752
|
+
environment: "development" | "staging" | "production";
|
|
4753
4753
|
applicationId: string;
|
|
4754
4754
|
credentialId: string;
|
|
4755
4755
|
}, {
|
|
4756
|
-
environment: "development" | "staging" | "production";
|
|
4757
4756
|
accountId: string;
|
|
4757
|
+
environment: "development" | "staging" | "production";
|
|
4758
4758
|
applicationId: string;
|
|
4759
4759
|
credentialId: string;
|
|
4760
4760
|
}>;
|
|
@@ -4787,8 +4787,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4787
4787
|
keyId: string;
|
|
4788
4788
|
idempotencyKey: string;
|
|
4789
4789
|
principal: {
|
|
4790
|
-
environment: "development" | "staging" | "production";
|
|
4791
4790
|
accountId: string;
|
|
4791
|
+
environment: "development" | "staging" | "production";
|
|
4792
4792
|
applicationId: string;
|
|
4793
4793
|
credentialId: string;
|
|
4794
4794
|
};
|
|
@@ -4814,8 +4814,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4814
4814
|
keyId: string;
|
|
4815
4815
|
idempotencyKey: string;
|
|
4816
4816
|
principal: {
|
|
4817
|
-
environment: "development" | "staging" | "production";
|
|
4818
4817
|
accountId: string;
|
|
4818
|
+
environment: "development" | "staging" | "production";
|
|
4819
4819
|
applicationId: string;
|
|
4820
4820
|
credentialId: string;
|
|
4821
4821
|
};
|
|
@@ -4872,8 +4872,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
4872
4872
|
keyId: string;
|
|
4873
4873
|
idempotencyKey: string;
|
|
4874
4874
|
principal: {
|
|
4875
|
-
environment: "development" | "staging" | "production";
|
|
4876
4875
|
accountId: string;
|
|
4876
|
+
environment: "development" | "staging" | "production";
|
|
4877
4877
|
applicationId: string;
|
|
4878
4878
|
credentialId: string;
|
|
4879
4879
|
};
|
|
@@ -5086,8 +5086,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5086
5086
|
keyId: string;
|
|
5087
5087
|
idempotencyKey: string;
|
|
5088
5088
|
principal: {
|
|
5089
|
-
environment: "development" | "staging" | "production";
|
|
5090
5089
|
accountId: string;
|
|
5090
|
+
environment: "development" | "staging" | "production";
|
|
5091
5091
|
applicationId: string;
|
|
5092
5092
|
credentialId: string;
|
|
5093
5093
|
};
|
|
@@ -5314,8 +5314,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5314
5314
|
keyId: string;
|
|
5315
5315
|
idempotencyKey: string;
|
|
5316
5316
|
principal: {
|
|
5317
|
-
environment: "development" | "staging" | "production";
|
|
5318
5317
|
accountId: string;
|
|
5318
|
+
environment: "development" | "staging" | "production";
|
|
5319
5319
|
applicationId: string;
|
|
5320
5320
|
credentialId: string;
|
|
5321
5321
|
};
|
|
@@ -5528,8 +5528,8 @@ export declare const scopedInferenceRequestSchema: z.ZodEffects<z.ZodObject<{
|
|
|
5528
5528
|
keyId: string;
|
|
5529
5529
|
idempotencyKey: string;
|
|
5530
5530
|
principal: {
|
|
5531
|
-
environment: "development" | "staging" | "production";
|
|
5532
5531
|
accountId: string;
|
|
5532
|
+
environment: "development" | "staging" | "production";
|
|
5533
5533
|
applicationId: string;
|
|
5534
5534
|
credentialId: string;
|
|
5535
5535
|
};
|
|
@@ -6837,14 +6837,14 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
6837
6837
|
environment: z.ZodLiteral<"production">;
|
|
6838
6838
|
lane: z.ZodLiteral<"service_token">;
|
|
6839
6839
|
}, "strict", z.ZodTypeAny, {
|
|
6840
|
-
environment: "production";
|
|
6841
6840
|
accountId: string;
|
|
6841
|
+
environment: "production";
|
|
6842
6842
|
applicationId: string;
|
|
6843
6843
|
credentialId: string;
|
|
6844
6844
|
lane: "service_token";
|
|
6845
6845
|
}, {
|
|
6846
|
-
environment: "production";
|
|
6847
6846
|
accountId: string;
|
|
6847
|
+
environment: "production";
|
|
6848
6848
|
applicationId: string;
|
|
6849
6849
|
credentialId: string;
|
|
6850
6850
|
lane: "service_token";
|
|
@@ -6879,8 +6879,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
6879
6879
|
requestId: string;
|
|
6880
6880
|
keyId: string;
|
|
6881
6881
|
principal: {
|
|
6882
|
-
environment: "production";
|
|
6883
6882
|
accountId: string;
|
|
6883
|
+
environment: "production";
|
|
6884
6884
|
applicationId: string;
|
|
6885
6885
|
credentialId: string;
|
|
6886
6886
|
lane: "service_token";
|
|
@@ -6918,8 +6918,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
6918
6918
|
requestId: string;
|
|
6919
6919
|
keyId: string;
|
|
6920
6920
|
principal: {
|
|
6921
|
-
environment: "production";
|
|
6922
6921
|
accountId: string;
|
|
6922
|
+
environment: "production";
|
|
6923
6923
|
applicationId: string;
|
|
6924
6924
|
credentialId: string;
|
|
6925
6925
|
lane: "service_token";
|
|
@@ -6957,8 +6957,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
6957
6957
|
requestId: string;
|
|
6958
6958
|
keyId: string;
|
|
6959
6959
|
principal: {
|
|
6960
|
-
environment: "production";
|
|
6961
6960
|
accountId: string;
|
|
6961
|
+
environment: "production";
|
|
6962
6962
|
applicationId: string;
|
|
6963
6963
|
credentialId: string;
|
|
6964
6964
|
lane: "service_token";
|
|
@@ -6996,8 +6996,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
6996
6996
|
requestId: string;
|
|
6997
6997
|
keyId: string;
|
|
6998
6998
|
principal: {
|
|
6999
|
-
environment: "production";
|
|
7000
6999
|
accountId: string;
|
|
7000
|
+
environment: "production";
|
|
7001
7001
|
applicationId: string;
|
|
7002
7002
|
credentialId: string;
|
|
7003
7003
|
lane: "service_token";
|
|
@@ -7171,8 +7171,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
7171
7171
|
requestId: string;
|
|
7172
7172
|
keyId: string;
|
|
7173
7173
|
principal: {
|
|
7174
|
-
environment: "production";
|
|
7175
7174
|
accountId: string;
|
|
7175
|
+
environment: "production";
|
|
7176
7176
|
applicationId: string;
|
|
7177
7177
|
credentialId: string;
|
|
7178
7178
|
lane: "service_token";
|
|
@@ -7397,8 +7397,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
7397
7397
|
requestId: string;
|
|
7398
7398
|
keyId: string;
|
|
7399
7399
|
principal: {
|
|
7400
|
-
environment: "production";
|
|
7401
7400
|
accountId: string;
|
|
7401
|
+
environment: "production";
|
|
7402
7402
|
applicationId: string;
|
|
7403
7403
|
credentialId: string;
|
|
7404
7404
|
lane: "service_token";
|
|
@@ -7637,8 +7637,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
7637
7637
|
requestId: string;
|
|
7638
7638
|
keyId: string;
|
|
7639
7639
|
principal: {
|
|
7640
|
-
environment: "production";
|
|
7641
7640
|
accountId: string;
|
|
7641
|
+
environment: "production";
|
|
7642
7642
|
applicationId: string;
|
|
7643
7643
|
credentialId: string;
|
|
7644
7644
|
lane: "service_token";
|
|
@@ -7863,8 +7863,8 @@ export declare const privateAutoInferenceRequestSchema: z.ZodEffects<z.ZodObject
|
|
|
7863
7863
|
requestId: string;
|
|
7864
7864
|
keyId: string;
|
|
7865
7865
|
principal: {
|
|
7866
|
-
environment: "production";
|
|
7867
7866
|
accountId: string;
|
|
7867
|
+
environment: "production";
|
|
7868
7868
|
applicationId: string;
|
|
7869
7869
|
credentialId: string;
|
|
7870
7870
|
lane: "service_token";
|
|
@@ -187,19 +187,19 @@ export declare const routingPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
187
187
|
prohibitTrainingOnCustomerData: z.ZodBoolean;
|
|
188
188
|
/** Ceilings on what a route may cost the customer, quoted like catalogue prices. */
|
|
189
189
|
maxPricePerUnit: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
190
|
-
unit: z.ZodEnum<["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"]>;
|
|
190
|
+
unit: z.ZodEnum<["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", "input_transcription_milliseconds"]>;
|
|
191
191
|
amount: z.ZodBranded<z.ZodString, "ExactDecimal">;
|
|
192
192
|
per: z.ZodNumber;
|
|
193
193
|
currency: z.ZodString;
|
|
194
194
|
}, "strict", z.ZodTypeAny, {
|
|
195
195
|
currency: string;
|
|
196
196
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
197
|
-
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";
|
|
197
|
+
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" | "input_transcription_milliseconds";
|
|
198
198
|
per: number;
|
|
199
199
|
}, {
|
|
200
200
|
currency: string;
|
|
201
201
|
amount: string;
|
|
202
|
-
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";
|
|
202
|
+
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" | "input_transcription_milliseconds";
|
|
203
203
|
per: number;
|
|
204
204
|
}>, "many">>;
|
|
205
205
|
maxPricePerRequest: z.ZodOptional<z.ZodObject<{
|
|
@@ -253,8 +253,8 @@ export declare const routingPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
253
253
|
dedicatedCapacity: z.ZodEnum<["disabled", "prefer", "require"]>;
|
|
254
254
|
updatedAt: z.ZodString;
|
|
255
255
|
}, "strip", z.ZodTypeAny, {
|
|
256
|
-
schemaVersion: 2;
|
|
257
256
|
updatedAt: string;
|
|
257
|
+
schemaVersion: 2;
|
|
258
258
|
scope: {
|
|
259
259
|
kind: "account";
|
|
260
260
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -276,7 +276,7 @@ export declare const routingPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
276
276
|
maxPricePerUnit: {
|
|
277
277
|
currency: string;
|
|
278
278
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
279
|
-
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";
|
|
279
|
+
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" | "input_transcription_milliseconds";
|
|
280
280
|
per: number;
|
|
281
281
|
}[];
|
|
282
282
|
oxyHostedOnly: boolean;
|
|
@@ -301,8 +301,8 @@ export declare const routingPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
301
301
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
302
302
|
} | undefined;
|
|
303
303
|
}, {
|
|
304
|
-
schemaVersion: 2;
|
|
305
304
|
updatedAt: string;
|
|
305
|
+
schemaVersion: 2;
|
|
306
306
|
scope: {
|
|
307
307
|
kind: "account";
|
|
308
308
|
accountId: string;
|
|
@@ -339,7 +339,7 @@ export declare const routingPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
339
339
|
maxPricePerUnit?: {
|
|
340
340
|
currency: string;
|
|
341
341
|
amount: string;
|
|
342
|
-
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";
|
|
342
|
+
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" | "input_transcription_milliseconds";
|
|
343
343
|
per: number;
|
|
344
344
|
}[] | undefined;
|
|
345
345
|
maxPricePerRequest?: {
|
|
@@ -349,8 +349,8 @@ export declare const routingPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
349
349
|
allowedLicenseIds?: string[] | undefined;
|
|
350
350
|
allowedRoutingProfileIds?: string[] | undefined;
|
|
351
351
|
}>, {
|
|
352
|
-
schemaVersion: 2;
|
|
353
352
|
updatedAt: string;
|
|
353
|
+
schemaVersion: 2;
|
|
354
354
|
scope: {
|
|
355
355
|
kind: "account";
|
|
356
356
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
@@ -372,7 +372,7 @@ export declare const routingPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
372
372
|
maxPricePerUnit: {
|
|
373
373
|
currency: string;
|
|
374
374
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
375
|
-
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";
|
|
375
|
+
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" | "input_transcription_milliseconds";
|
|
376
376
|
per: number;
|
|
377
377
|
}[];
|
|
378
378
|
oxyHostedOnly: boolean;
|
|
@@ -397,8 +397,8 @@ export declare const routingPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
397
397
|
amount: string & z.BRAND<"ExactDecimal">;
|
|
398
398
|
} | undefined;
|
|
399
399
|
}, {
|
|
400
|
-
schemaVersion: 2;
|
|
401
400
|
updatedAt: string;
|
|
401
|
+
schemaVersion: 2;
|
|
402
402
|
scope: {
|
|
403
403
|
kind: "account";
|
|
404
404
|
accountId: string;
|
|
@@ -435,7 +435,7 @@ export declare const routingPolicySchema: z.ZodEffects<z.ZodObject<{
|
|
|
435
435
|
maxPricePerUnit?: {
|
|
436
436
|
currency: string;
|
|
437
437
|
amount: string;
|
|
438
|
-
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";
|
|
438
|
+
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" | "input_transcription_milliseconds";
|
|
439
439
|
per: number;
|
|
440
440
|
}[] | undefined;
|
|
441
441
|
maxPricePerRequest?: {
|
|
@@ -15,13 +15,13 @@ export declare const scopedExecutionAudienceSchema: z.ZodObject<{
|
|
|
15
15
|
credentialId: z.ZodString;
|
|
16
16
|
environment: z.ZodEnum<["development", "staging", "production"]>;
|
|
17
17
|
}, "strict", z.ZodTypeAny, {
|
|
18
|
-
environment: "development" | "staging" | "production";
|
|
19
18
|
accountId: string;
|
|
19
|
+
environment: "development" | "staging" | "production";
|
|
20
20
|
applicationId: string;
|
|
21
21
|
credentialId: string;
|
|
22
22
|
}, {
|
|
23
|
-
environment: "development" | "staging" | "production";
|
|
24
23
|
accountId: string;
|
|
24
|
+
environment: "development" | "staging" | "production";
|
|
25
25
|
applicationId: string;
|
|
26
26
|
credentialId: string;
|
|
27
27
|
}>;
|
|
@@ -49,8 +49,8 @@ export declare const scopedExecutionAudienceSchema: z.ZodObject<{
|
|
|
49
49
|
keyId: string;
|
|
50
50
|
idempotencyKey: string;
|
|
51
51
|
principal: {
|
|
52
|
-
environment: "development" | "staging" | "production";
|
|
53
52
|
accountId: string;
|
|
53
|
+
environment: "development" | "staging" | "production";
|
|
54
54
|
applicationId: string;
|
|
55
55
|
credentialId: string;
|
|
56
56
|
};
|
|
@@ -73,8 +73,8 @@ export declare const scopedExecutionAudienceSchema: z.ZodObject<{
|
|
|
73
73
|
keyId: string;
|
|
74
74
|
idempotencyKey: string;
|
|
75
75
|
principal: {
|
|
76
|
-
environment: "development" | "staging" | "production";
|
|
77
76
|
accountId: string;
|
|
77
|
+
environment: "development" | "staging" | "production";
|
|
78
78
|
applicationId: string;
|
|
79
79
|
credentialId: string;
|
|
80
80
|
};
|
|
@@ -104,13 +104,13 @@ export declare const scopedExecutionSchema: z.ZodObject<{
|
|
|
104
104
|
credentialId: z.ZodString;
|
|
105
105
|
environment: z.ZodEnum<["development", "staging", "production"]>;
|
|
106
106
|
}, "strict", z.ZodTypeAny, {
|
|
107
|
-
environment: "development" | "staging" | "production";
|
|
108
107
|
accountId: string;
|
|
108
|
+
environment: "development" | "staging" | "production";
|
|
109
109
|
applicationId: string;
|
|
110
110
|
credentialId: string;
|
|
111
111
|
}, {
|
|
112
|
-
environment: "development" | "staging" | "production";
|
|
113
112
|
accountId: string;
|
|
113
|
+
environment: "development" | "staging" | "production";
|
|
114
114
|
applicationId: string;
|
|
115
115
|
credentialId: string;
|
|
116
116
|
}>;
|
|
@@ -143,8 +143,8 @@ export declare const scopedExecutionSchema: z.ZodObject<{
|
|
|
143
143
|
keyId: string;
|
|
144
144
|
idempotencyKey: string;
|
|
145
145
|
principal: {
|
|
146
|
-
environment: "development" | "staging" | "production";
|
|
147
146
|
accountId: string;
|
|
147
|
+
environment: "development" | "staging" | "production";
|
|
148
148
|
applicationId: string;
|
|
149
149
|
credentialId: string;
|
|
150
150
|
};
|
|
@@ -170,8 +170,8 @@ export declare const scopedExecutionSchema: z.ZodObject<{
|
|
|
170
170
|
keyId: string;
|
|
171
171
|
idempotencyKey: string;
|
|
172
172
|
principal: {
|
|
173
|
-
environment: "development" | "staging" | "production";
|
|
174
173
|
accountId: string;
|
|
174
|
+
environment: "development" | "staging" | "production";
|
|
175
175
|
applicationId: string;
|
|
176
176
|
credentialId: string;
|
|
177
177
|
};
|