@oxy.so/contracts 4.13.0 → 4.15.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 +23 -4
- package/dist/cjs/index.js +19 -15
- package/dist/cjs/organizations.js +210 -0
- package/dist/cjs/products/billing.js +1 -0
- package/dist/cjs/products/checkout.js +14 -1
- package/dist/cjs/products/plans.js +18 -2
- package/dist/cjs/safety.js +15 -0
- package/dist/cjs/userResponse.js +8 -1
- package/dist/esm/.tsbuildinfo +1 -1
- package/dist/esm/accountGraph.js +21 -2
- package/dist/esm/index.js +4 -2
- package/dist/esm/organizations.js +207 -0
- package/dist/esm/products/billing.js +1 -0
- package/dist/esm/products/checkout.js +13 -0
- package/dist/esm/products/plans.js +17 -1
- package/dist/esm/safety.js +12 -0
- package/dist/esm/userResponse.js +8 -1
- package/dist/types/.tsbuildinfo +1 -1
- package/dist/types/accountGraph.d.ts +50 -18
- package/dist/types/agency.d.ts +42 -42
- package/dist/types/deviceDirectory.d.ts +56 -56
- package/dist/types/email/messages.d.ts +56 -56
- package/dist/types/externalIdentity.d.ts +56 -23
- package/dist/types/index.d.ts +4 -2
- package/dist/types/inference/accountBilling.d.ts +36 -36
- package/dist/types/inference/catalogue.d.ts +12 -12
- package/dist/types/inference/decisions.d.ts +16 -16
- package/dist/types/inference/economics.d.ts +6 -6
- 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/priceVersion.d.ts +8 -8
- 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 +26 -26
- package/dist/types/inference/request.d.ts +26 -26
- package/dist/types/inference/routingPolicy.d.ts +4 -4
- package/dist/types/inference/scopedExecution.d.ts +8 -8
- package/dist/types/inference/streamEvents.d.ts +20 -20
- package/dist/types/inference/usage.d.ts +8 -8
- 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/organizations.d.ts +1088 -0
- package/dist/types/products/access.d.ts +18 -18
- package/dist/types/products/billing.d.ts +32 -24
- package/dist/types/products/checkout.d.ts +36 -0
- package/dist/types/products/plans.d.ts +108 -11
- package/dist/types/recommendations.d.ts +2 -2
- package/dist/types/safety.d.ts +24 -0
- package/dist/types/sessionStatus.d.ts +6 -6
- package/dist/types/stickers.d.ts +32 -32
- package/dist/types/userResponse.d.ts +169 -33
- package/package.json +1 -1
|
@@ -414,15 +414,15 @@ export declare const modelPublisherSchema: z.ZodObject<{
|
|
|
414
414
|
schemaVersion: 1;
|
|
415
415
|
publisherId: string;
|
|
416
416
|
slug: string;
|
|
417
|
-
description?: string | undefined;
|
|
418
417
|
websiteUrl?: string | undefined;
|
|
418
|
+
description?: string | undefined;
|
|
419
419
|
}, {
|
|
420
420
|
displayName: string;
|
|
421
421
|
schemaVersion: 1;
|
|
422
422
|
publisherId: string;
|
|
423
423
|
slug: string;
|
|
424
|
-
description?: string | undefined;
|
|
425
424
|
websiteUrl?: string | undefined;
|
|
425
|
+
description?: string | undefined;
|
|
426
426
|
}>;
|
|
427
427
|
/**
|
|
428
428
|
* A model: the long-lived product identity `<publisher>/<model>`.
|
|
@@ -1020,8 +1020,8 @@ export declare const inferenceProviderSchema: z.ZodObject<{
|
|
|
1020
1020
|
policyUrl?: string | undefined;
|
|
1021
1021
|
}>;
|
|
1022
1022
|
}, "strip", z.ZodTypeAny, {
|
|
1023
|
-
displayName: string;
|
|
1024
1023
|
kind: "third_party" | "oxy_hosted" | "customer_byok";
|
|
1024
|
+
displayName: string;
|
|
1025
1025
|
schemaVersion: 1;
|
|
1026
1026
|
slug: string;
|
|
1027
1027
|
providerId: string;
|
|
@@ -1037,8 +1037,8 @@ export declare const inferenceProviderSchema: z.ZodObject<{
|
|
|
1037
1037
|
websiteUrl?: string | undefined;
|
|
1038
1038
|
statusPageUrl?: string | undefined;
|
|
1039
1039
|
}, {
|
|
1040
|
-
displayName: string;
|
|
1041
1040
|
kind: "third_party" | "oxy_hosted" | "customer_byok";
|
|
1041
|
+
displayName: string;
|
|
1042
1042
|
schemaVersion: 1;
|
|
1043
1043
|
slug: string;
|
|
1044
1044
|
providerId: string;
|
|
@@ -1083,13 +1083,13 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1083
1083
|
credentialId: z.ZodString;
|
|
1084
1084
|
environment: z.ZodEnum<["development", "staging", "production"]>;
|
|
1085
1085
|
}, "strict", z.ZodTypeAny, {
|
|
1086
|
-
environment: "development" | "staging" | "production";
|
|
1087
1086
|
accountId: string;
|
|
1087
|
+
environment: "development" | "staging" | "production";
|
|
1088
1088
|
applicationId: string;
|
|
1089
1089
|
credentialId: string;
|
|
1090
1090
|
}, {
|
|
1091
|
-
environment: "development" | "staging" | "production";
|
|
1092
1091
|
accountId: string;
|
|
1092
|
+
environment: "development" | "staging" | "production";
|
|
1093
1093
|
applicationId: string;
|
|
1094
1094
|
credentialId: string;
|
|
1095
1095
|
}>;
|
|
@@ -1117,8 +1117,8 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1117
1117
|
keyId: string;
|
|
1118
1118
|
idempotencyKey: string;
|
|
1119
1119
|
principal: {
|
|
1120
|
-
environment: "development" | "staging" | "production";
|
|
1121
1120
|
accountId: string;
|
|
1121
|
+
environment: "development" | "staging" | "production";
|
|
1122
1122
|
applicationId: string;
|
|
1123
1123
|
credentialId: string;
|
|
1124
1124
|
};
|
|
@@ -1141,8 +1141,8 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1141
1141
|
keyId: string;
|
|
1142
1142
|
idempotencyKey: string;
|
|
1143
1143
|
principal: {
|
|
1144
|
-
environment: "development" | "staging" | "production";
|
|
1145
1144
|
accountId: string;
|
|
1145
|
+
environment: "development" | "staging" | "production";
|
|
1146
1146
|
applicationId: string;
|
|
1147
1147
|
credentialId: string;
|
|
1148
1148
|
};
|
|
@@ -1234,8 +1234,8 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1234
1234
|
keyId: string;
|
|
1235
1235
|
idempotencyKey: string;
|
|
1236
1236
|
principal: {
|
|
1237
|
-
environment: "development" | "staging" | "production";
|
|
1238
1237
|
accountId: string;
|
|
1238
|
+
environment: "development" | "staging" | "production";
|
|
1239
1239
|
applicationId: string;
|
|
1240
1240
|
credentialId: string;
|
|
1241
1241
|
};
|
|
@@ -1278,8 +1278,8 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1278
1278
|
keyId: string;
|
|
1279
1279
|
idempotencyKey: string;
|
|
1280
1280
|
principal: {
|
|
1281
|
-
environment: "development" | "staging" | "production";
|
|
1282
1281
|
accountId: string;
|
|
1282
|
+
environment: "development" | "staging" | "production";
|
|
1283
1283
|
applicationId: string;
|
|
1284
1284
|
credentialId: string;
|
|
1285
1285
|
};
|
|
@@ -1322,8 +1322,8 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1322
1322
|
keyId: string;
|
|
1323
1323
|
idempotencyKey: string;
|
|
1324
1324
|
principal: {
|
|
1325
|
-
environment: "development" | "staging" | "production";
|
|
1326
1325
|
accountId: string;
|
|
1326
|
+
environment: "development" | "staging" | "production";
|
|
1327
1327
|
applicationId: string;
|
|
1328
1328
|
credentialId: string;
|
|
1329
1329
|
};
|
|
@@ -1366,8 +1366,8 @@ export declare const modelDeploymentSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1366
1366
|
keyId: string;
|
|
1367
1367
|
idempotencyKey: string;
|
|
1368
1368
|
principal: {
|
|
1369
|
-
environment: "development" | "staging" | "production";
|
|
1370
1369
|
accountId: string;
|
|
1370
|
+
environment: "development" | "staging" | "production";
|
|
1371
1371
|
applicationId: string;
|
|
1372
1372
|
credentialId: string;
|
|
1373
1373
|
};
|
|
@@ -1121,7 +1121,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1121
1121
|
message?: string | undefined;
|
|
1122
1122
|
}>>;
|
|
1123
1123
|
}, "strip", z.ZodTypeAny, {
|
|
1124
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
1124
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
1125
1125
|
message: string;
|
|
1126
1126
|
schemaVersion: 1;
|
|
1127
1127
|
requestId: string;
|
|
@@ -1136,7 +1136,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1136
1136
|
message?: string | undefined;
|
|
1137
1137
|
} | undefined;
|
|
1138
1138
|
}, {
|
|
1139
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
1139
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
1140
1140
|
message: string;
|
|
1141
1141
|
schemaVersion: 1;
|
|
1142
1142
|
requestId: string;
|
|
@@ -1151,7 +1151,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1151
1151
|
message?: string | undefined;
|
|
1152
1152
|
} | undefined;
|
|
1153
1153
|
}>, {
|
|
1154
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
1154
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
1155
1155
|
message: string;
|
|
1156
1156
|
schemaVersion: 1;
|
|
1157
1157
|
requestId: string;
|
|
@@ -1166,7 +1166,7 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1166
1166
|
message?: string | undefined;
|
|
1167
1167
|
} | undefined;
|
|
1168
1168
|
}, {
|
|
1169
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
1169
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
1170
1170
|
message: string;
|
|
1171
1171
|
schemaVersion: 1;
|
|
1172
1172
|
requestId: string;
|
|
@@ -1395,10 +1395,8 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1395
1395
|
timeToFirstTokenMs?: number | undefined;
|
|
1396
1396
|
}>>;
|
|
1397
1397
|
}, "strict", z.ZodTypeAny, {
|
|
1398
|
-
schemaVersion: 1;
|
|
1399
|
-
requestId: string;
|
|
1400
1398
|
error: {
|
|
1401
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
1399
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
1402
1400
|
message: string;
|
|
1403
1401
|
schemaVersion: 1;
|
|
1404
1402
|
requestId: string;
|
|
@@ -1413,6 +1411,8 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1413
1411
|
message?: string | undefined;
|
|
1414
1412
|
} | undefined;
|
|
1415
1413
|
};
|
|
1414
|
+
schemaVersion: 1;
|
|
1415
|
+
requestId: string;
|
|
1416
1416
|
usage?: {
|
|
1417
1417
|
schemaVersion: 2;
|
|
1418
1418
|
requestId: string;
|
|
@@ -1447,10 +1447,8 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1447
1447
|
timeToFirstTokenMs?: number | undefined;
|
|
1448
1448
|
} | undefined;
|
|
1449
1449
|
}, {
|
|
1450
|
-
schemaVersion: 1;
|
|
1451
|
-
requestId: string;
|
|
1452
1450
|
error: {
|
|
1453
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
1451
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
1454
1452
|
message: string;
|
|
1455
1453
|
schemaVersion: 1;
|
|
1456
1454
|
requestId: string;
|
|
@@ -1465,6 +1463,8 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1465
1463
|
message?: string | undefined;
|
|
1466
1464
|
} | undefined;
|
|
1467
1465
|
};
|
|
1466
|
+
schemaVersion: 1;
|
|
1467
|
+
requestId: string;
|
|
1468
1468
|
usage?: {
|
|
1469
1469
|
schemaVersion: 2;
|
|
1470
1470
|
requestId: string;
|
|
@@ -1499,10 +1499,8 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1499
1499
|
timeToFirstTokenMs?: number | undefined;
|
|
1500
1500
|
} | undefined;
|
|
1501
1501
|
}>, {
|
|
1502
|
-
schemaVersion: 1;
|
|
1503
|
-
requestId: string;
|
|
1504
1502
|
error: {
|
|
1505
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
1503
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
1506
1504
|
message: string;
|
|
1507
1505
|
schemaVersion: 1;
|
|
1508
1506
|
requestId: string;
|
|
@@ -1517,6 +1515,8 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1517
1515
|
message?: string | undefined;
|
|
1518
1516
|
} | undefined;
|
|
1519
1517
|
};
|
|
1518
|
+
schemaVersion: 1;
|
|
1519
|
+
requestId: string;
|
|
1520
1520
|
usage?: {
|
|
1521
1521
|
schemaVersion: 2;
|
|
1522
1522
|
requestId: string;
|
|
@@ -1551,10 +1551,8 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1551
1551
|
timeToFirstTokenMs?: number | undefined;
|
|
1552
1552
|
} | undefined;
|
|
1553
1553
|
}, {
|
|
1554
|
-
schemaVersion: 1;
|
|
1555
|
-
requestId: string;
|
|
1556
1554
|
error: {
|
|
1557
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
1555
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
1558
1556
|
message: string;
|
|
1559
1557
|
schemaVersion: 1;
|
|
1560
1558
|
requestId: string;
|
|
@@ -1569,6 +1567,8 @@ export declare const decisionFailureSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1569
1567
|
message?: string | undefined;
|
|
1570
1568
|
} | undefined;
|
|
1571
1569
|
};
|
|
1570
|
+
schemaVersion: 1;
|
|
1571
|
+
requestId: string;
|
|
1572
1572
|
usage?: {
|
|
1573
1573
|
schemaVersion: 2;
|
|
1574
1574
|
requestId: string;
|
|
@@ -56,18 +56,18 @@ export declare const costCenterUsageSchema: z.ZodObject<{
|
|
|
56
56
|
updatedAt: z.ZodString;
|
|
57
57
|
}, "strict", z.ZodTypeAny, {
|
|
58
58
|
status: "active" | "retired";
|
|
59
|
-
schemaVersion: 1;
|
|
60
59
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
61
60
|
createdAt: string;
|
|
62
61
|
updatedAt: string;
|
|
62
|
+
schemaVersion: 1;
|
|
63
63
|
label: string;
|
|
64
64
|
slug: string;
|
|
65
65
|
}, {
|
|
66
66
|
status: "active" | "retired";
|
|
67
|
-
schemaVersion: 1;
|
|
68
67
|
accountId: string;
|
|
69
68
|
createdAt: string;
|
|
70
69
|
updatedAt: string;
|
|
70
|
+
schemaVersion: 1;
|
|
71
71
|
label: string;
|
|
72
72
|
slug: string;
|
|
73
73
|
}>>;
|
|
@@ -167,10 +167,10 @@ export declare const costCenterUsageSchema: z.ZodObject<{
|
|
|
167
167
|
periodStart: string;
|
|
168
168
|
costCenter: {
|
|
169
169
|
status: "active" | "retired";
|
|
170
|
-
schemaVersion: 1;
|
|
171
170
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
172
171
|
createdAt: string;
|
|
173
172
|
updatedAt: string;
|
|
173
|
+
schemaVersion: 1;
|
|
174
174
|
label: string;
|
|
175
175
|
slug: string;
|
|
176
176
|
} | null;
|
|
@@ -207,10 +207,10 @@ export declare const costCenterUsageSchema: z.ZodObject<{
|
|
|
207
207
|
periodStart: string;
|
|
208
208
|
costCenter: {
|
|
209
209
|
status: "active" | "retired";
|
|
210
|
-
schemaVersion: 1;
|
|
211
210
|
accountId: string;
|
|
212
211
|
createdAt: string;
|
|
213
212
|
updatedAt: string;
|
|
213
|
+
schemaVersion: 1;
|
|
214
214
|
label: string;
|
|
215
215
|
slug: string;
|
|
216
216
|
} | null;
|
|
@@ -305,8 +305,8 @@ export declare const meteredGenerationSchema: z.ZodObject<{
|
|
|
305
305
|
}>;
|
|
306
306
|
settledAt: z.ZodString;
|
|
307
307
|
}, "strict", z.ZodTypeAny, {
|
|
308
|
-
environment: "development" | "staging" | "production";
|
|
309
308
|
kind: "metered_usage";
|
|
309
|
+
environment: "development" | "staging" | "production";
|
|
310
310
|
schemaVersion: 2;
|
|
311
311
|
applicationId: string;
|
|
312
312
|
credentialId: string;
|
|
@@ -339,8 +339,8 @@ export declare const meteredGenerationSchema: z.ZodObject<{
|
|
|
339
339
|
parentRequestId?: string | undefined;
|
|
340
340
|
delegatedUserId?: string | undefined;
|
|
341
341
|
}, {
|
|
342
|
-
environment: "development" | "staging" | "production";
|
|
343
342
|
kind: "metered_usage";
|
|
343
|
+
environment: "development" | "staging" | "production";
|
|
344
344
|
schemaVersion: 2;
|
|
345
345
|
applicationId: string;
|
|
346
346
|
credentialId: string;
|
|
@@ -138,7 +138,7 @@ export declare const embeddingFailureSchema: z.ZodObject<{
|
|
|
138
138
|
message?: string | undefined;
|
|
139
139
|
}>>;
|
|
140
140
|
}, "strip", z.ZodTypeAny, {
|
|
141
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
141
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
142
142
|
message: string;
|
|
143
143
|
schemaVersion: 1;
|
|
144
144
|
requestId: string;
|
|
@@ -153,7 +153,7 @@ export declare const embeddingFailureSchema: z.ZodObject<{
|
|
|
153
153
|
message?: string | undefined;
|
|
154
154
|
} | undefined;
|
|
155
155
|
}, {
|
|
156
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
156
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
157
157
|
message: string;
|
|
158
158
|
schemaVersion: 1;
|
|
159
159
|
requestId: string;
|
|
@@ -168,7 +168,7 @@ export declare const embeddingFailureSchema: z.ZodObject<{
|
|
|
168
168
|
message?: string | undefined;
|
|
169
169
|
} | undefined;
|
|
170
170
|
}>, {
|
|
171
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
171
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
172
172
|
message: string;
|
|
173
173
|
schemaVersion: 1;
|
|
174
174
|
requestId: string;
|
|
@@ -183,7 +183,7 @@ export declare const embeddingFailureSchema: z.ZodObject<{
|
|
|
183
183
|
message?: string | undefined;
|
|
184
184
|
} | undefined;
|
|
185
185
|
}, {
|
|
186
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
186
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
187
187
|
message: string;
|
|
188
188
|
schemaVersion: 1;
|
|
189
189
|
requestId: string;
|
|
@@ -199,10 +199,8 @@ export declare const embeddingFailureSchema: z.ZodObject<{
|
|
|
199
199
|
} | undefined;
|
|
200
200
|
}>;
|
|
201
201
|
}, "strict", z.ZodTypeAny, {
|
|
202
|
-
schemaVersion: 1;
|
|
203
|
-
requestId: string;
|
|
204
202
|
error: {
|
|
205
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
203
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
206
204
|
message: string;
|
|
207
205
|
schemaVersion: 1;
|
|
208
206
|
requestId: string;
|
|
@@ -217,11 +215,11 @@ export declare const embeddingFailureSchema: z.ZodObject<{
|
|
|
217
215
|
message?: string | undefined;
|
|
218
216
|
} | undefined;
|
|
219
217
|
};
|
|
220
|
-
}, {
|
|
221
218
|
schemaVersion: 1;
|
|
222
219
|
requestId: string;
|
|
220
|
+
}, {
|
|
223
221
|
error: {
|
|
224
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
222
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
225
223
|
message: string;
|
|
226
224
|
schemaVersion: 1;
|
|
227
225
|
requestId: string;
|
|
@@ -236,6 +234,8 @@ export declare const embeddingFailureSchema: z.ZodObject<{
|
|
|
236
234
|
message?: string | undefined;
|
|
237
235
|
} | undefined;
|
|
238
236
|
};
|
|
237
|
+
schemaVersion: 1;
|
|
238
|
+
requestId: string;
|
|
239
239
|
}>;
|
|
240
240
|
export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObject<{
|
|
241
241
|
schemaVersion: z.ZodLiteral<1>;
|
|
@@ -349,7 +349,7 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
|
|
|
349
349
|
message?: string | undefined;
|
|
350
350
|
}>>;
|
|
351
351
|
}, "strip", z.ZodTypeAny, {
|
|
352
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
352
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
353
353
|
message: string;
|
|
354
354
|
schemaVersion: 1;
|
|
355
355
|
requestId: string;
|
|
@@ -364,7 +364,7 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
|
|
|
364
364
|
message?: string | undefined;
|
|
365
365
|
} | undefined;
|
|
366
366
|
}, {
|
|
367
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
367
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
368
368
|
message: string;
|
|
369
369
|
schemaVersion: 1;
|
|
370
370
|
requestId: string;
|
|
@@ -379,7 +379,7 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
|
|
|
379
379
|
message?: string | undefined;
|
|
380
380
|
} | undefined;
|
|
381
381
|
}>, {
|
|
382
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
382
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
383
383
|
message: string;
|
|
384
384
|
schemaVersion: 1;
|
|
385
385
|
requestId: string;
|
|
@@ -394,7 +394,7 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
|
|
|
394
394
|
message?: string | undefined;
|
|
395
395
|
} | undefined;
|
|
396
396
|
}, {
|
|
397
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
397
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
398
398
|
message: string;
|
|
399
399
|
schemaVersion: 1;
|
|
400
400
|
requestId: string;
|
|
@@ -410,10 +410,8 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
|
|
|
410
410
|
} | undefined;
|
|
411
411
|
}>;
|
|
412
412
|
}, "strict", z.ZodTypeAny, {
|
|
413
|
-
schemaVersion: 1;
|
|
414
|
-
requestId: string;
|
|
415
413
|
error: {
|
|
416
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
414
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
417
415
|
message: string;
|
|
418
416
|
schemaVersion: 1;
|
|
419
417
|
requestId: string;
|
|
@@ -428,11 +426,11 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
|
|
|
428
426
|
message?: string | undefined;
|
|
429
427
|
} | undefined;
|
|
430
428
|
};
|
|
431
|
-
}, {
|
|
432
429
|
schemaVersion: 1;
|
|
433
430
|
requestId: string;
|
|
431
|
+
}, {
|
|
434
432
|
error: {
|
|
435
|
-
code: "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "
|
|
433
|
+
code: "rate_limited" | "internal_error" | "service_unavailable" | "cancelled" | "invalid_request" | "authentication_failed" | "permission_denied" | "insufficient_scope" | "model_not_found" | "unsupported_modality" | "context_length_exceeded" | "request_too_large" | "output_limit_exceeded" | "idempotency_conflict" | "insufficient_balance" | "spending_limit_exceeded" | "quota_exceeded" | "byok_credential_invalid" | "policy_violation" | "commercial_permission_denied" | "no_route_available" | "upstream_content_filtered" | "deployment_unavailable" | "provider_error" | "provider_timeout" | "provider_overloaded" | "provider_credential_invalid" | "provider_billing_refused";
|
|
436
434
|
message: string;
|
|
437
435
|
schemaVersion: 1;
|
|
438
436
|
requestId: string;
|
|
@@ -447,6 +445,8 @@ export declare const embeddingResponseSchema: z.ZodUnion<[z.ZodEffects<z.ZodObje
|
|
|
447
445
|
message?: string | undefined;
|
|
448
446
|
} | undefined;
|
|
449
447
|
};
|
|
448
|
+
schemaVersion: 1;
|
|
449
|
+
requestId: string;
|
|
450
450
|
}>]>;
|
|
451
451
|
export type EmbeddingVector = z.infer<typeof embeddingVectorSchema>;
|
|
452
452
|
export type EmbeddingUsage = z.infer<typeof embeddingUsageSchema>;
|
|
@@ -198,18 +198,18 @@ export declare const costCenterSchema: z.ZodObject<{
|
|
|
198
198
|
updatedAt: z.ZodString;
|
|
199
199
|
}, "strict", z.ZodTypeAny, {
|
|
200
200
|
status: "active" | "retired";
|
|
201
|
-
schemaVersion: 1;
|
|
202
201
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
203
202
|
createdAt: string;
|
|
204
203
|
updatedAt: string;
|
|
204
|
+
schemaVersion: 1;
|
|
205
205
|
label: string;
|
|
206
206
|
slug: string;
|
|
207
207
|
}, {
|
|
208
208
|
status: "active" | "retired";
|
|
209
|
-
schemaVersion: 1;
|
|
210
209
|
accountId: string;
|
|
211
210
|
createdAt: string;
|
|
212
211
|
updatedAt: string;
|
|
212
|
+
schemaVersion: 1;
|
|
213
213
|
label: string;
|
|
214
214
|
slug: string;
|
|
215
215
|
}>;
|
|
@@ -234,18 +234,18 @@ export declare const costCenterSpendSchema: z.ZodObject<{
|
|
|
234
234
|
updatedAt: z.ZodString;
|
|
235
235
|
}, "strict", z.ZodTypeAny, {
|
|
236
236
|
status: "active" | "retired";
|
|
237
|
-
schemaVersion: 1;
|
|
238
237
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
239
238
|
createdAt: string;
|
|
240
239
|
updatedAt: string;
|
|
240
|
+
schemaVersion: 1;
|
|
241
241
|
label: string;
|
|
242
242
|
slug: string;
|
|
243
243
|
}, {
|
|
244
244
|
status: "active" | "retired";
|
|
245
|
-
schemaVersion: 1;
|
|
246
245
|
accountId: string;
|
|
247
246
|
createdAt: string;
|
|
248
247
|
updatedAt: string;
|
|
248
|
+
schemaVersion: 1;
|
|
249
249
|
label: string;
|
|
250
250
|
slug: string;
|
|
251
251
|
}>;
|
|
@@ -262,10 +262,10 @@ export declare const costCenterSpendSchema: z.ZodObject<{
|
|
|
262
262
|
periodStart: string;
|
|
263
263
|
costCenter: {
|
|
264
264
|
status: "active" | "retired";
|
|
265
|
-
schemaVersion: 1;
|
|
266
265
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
267
266
|
createdAt: string;
|
|
268
267
|
updatedAt: string;
|
|
268
|
+
schemaVersion: 1;
|
|
269
269
|
label: string;
|
|
270
270
|
slug: string;
|
|
271
271
|
};
|
|
@@ -278,10 +278,10 @@ export declare const costCenterSpendSchema: z.ZodObject<{
|
|
|
278
278
|
periodStart: string;
|
|
279
279
|
costCenter: {
|
|
280
280
|
status: "active" | "retired";
|
|
281
|
-
schemaVersion: 1;
|
|
282
281
|
accountId: string;
|
|
283
282
|
createdAt: string;
|
|
284
283
|
updatedAt: string;
|
|
284
|
+
schemaVersion: 1;
|
|
285
285
|
label: string;
|
|
286
286
|
slug: string;
|
|
287
287
|
};
|
|
@@ -409,24 +409,25 @@ export declare const productEntitlementSchema: z.ZodObject<{
|
|
|
409
409
|
updatedAt: z.ZodString;
|
|
410
410
|
}, "strict", z.ZodTypeAny, {
|
|
411
411
|
status: "active" | "retired";
|
|
412
|
-
schemaVersion: 1;
|
|
413
412
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
414
413
|
createdAt: string;
|
|
415
414
|
updatedAt: string;
|
|
415
|
+
schemaVersion: 1;
|
|
416
416
|
label: string;
|
|
417
417
|
slug: string;
|
|
418
418
|
}, {
|
|
419
419
|
status: "active" | "retired";
|
|
420
|
-
schemaVersion: 1;
|
|
421
420
|
accountId: string;
|
|
422
421
|
createdAt: string;
|
|
423
422
|
updatedAt: string;
|
|
423
|
+
schemaVersion: 1;
|
|
424
424
|
label: string;
|
|
425
425
|
slug: string;
|
|
426
426
|
}>>;
|
|
427
427
|
/** When this view was computed. Entitlements are eventually consistent. */
|
|
428
428
|
resolvedAt: z.ZodString;
|
|
429
429
|
}, "strict", z.ZodTypeAny, {
|
|
430
|
+
accountId: string & z.BRAND<"OxyAccountId">;
|
|
430
431
|
plan: {
|
|
431
432
|
status: "active" | "incomplete" | "canceled" | "incomplete_expired" | "past_due" | "paused" | "trialing" | "unpaid";
|
|
432
433
|
name: string;
|
|
@@ -442,7 +443,6 @@ export declare const productEntitlementSchema: z.ZodObject<{
|
|
|
442
443
|
}[];
|
|
443
444
|
} | null;
|
|
444
445
|
schemaVersion: 1;
|
|
445
|
-
accountId: string & z.BRAND<"OxyAccountId">;
|
|
446
446
|
allowances: {
|
|
447
447
|
key: string;
|
|
448
448
|
included: number;
|
|
@@ -450,10 +450,10 @@ export declare const productEntitlementSchema: z.ZodObject<{
|
|
|
450
450
|
}[];
|
|
451
451
|
costCenter: {
|
|
452
452
|
status: "active" | "retired";
|
|
453
|
-
schemaVersion: 1;
|
|
454
453
|
accountId: string & z.BRAND<"OxyAccountId">;
|
|
455
454
|
createdAt: string;
|
|
456
455
|
updatedAt: string;
|
|
456
|
+
schemaVersion: 1;
|
|
457
457
|
label: string;
|
|
458
458
|
slug: string;
|
|
459
459
|
} | null;
|
|
@@ -468,6 +468,7 @@ export declare const productEntitlementSchema: z.ZodObject<{
|
|
|
468
468
|
} | null;
|
|
469
469
|
resolvedAt: string;
|
|
470
470
|
}, {
|
|
471
|
+
accountId: string;
|
|
471
472
|
plan: {
|
|
472
473
|
status: "active" | "incomplete" | "canceled" | "incomplete_expired" | "past_due" | "paused" | "trialing" | "unpaid";
|
|
473
474
|
name: string;
|
|
@@ -483,7 +484,6 @@ export declare const productEntitlementSchema: z.ZodObject<{
|
|
|
483
484
|
}[];
|
|
484
485
|
} | null;
|
|
485
486
|
schemaVersion: 1;
|
|
486
|
-
accountId: string;
|
|
487
487
|
allowances: {
|
|
488
488
|
key: string;
|
|
489
489
|
included: number;
|
|
@@ -491,10 +491,10 @@ export declare const productEntitlementSchema: z.ZodObject<{
|
|
|
491
491
|
}[];
|
|
492
492
|
costCenter: {
|
|
493
493
|
status: "active" | "retired";
|
|
494
|
-
schemaVersion: 1;
|
|
495
494
|
accountId: string;
|
|
496
495
|
createdAt: string;
|
|
497
496
|
updatedAt: string;
|
|
497
|
+
schemaVersion: 1;
|
|
498
498
|
label: string;
|
|
499
499
|
slug: string;
|
|
500
500
|
} | null;
|